diff --git a/docs/ast/source/demo/App.js.json b/docs/ast/source/demo/App.js.json index 87c5c87c..7eecb90a 100644 --- a/docs/ast/source/demo/App.js.json +++ b/docs/ast/source/demo/App.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1921, + "end": 2019, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 85, + "line": 89, "column": 19 } }, "program": { "type": "Program", "start": 0, - "end": 1921, + "end": 2019, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 85, + "line": 89, "column": 19 } }, @@ -154,14 +154,14 @@ { "type": "Identifier", "start": 94, - "end": 1898, + "end": 1996, "loc": { "start": { "line": 7, "column": 0 }, "end": { - "line": 83, + "line": 87, "column": 1 } }, @@ -187,14 +187,14 @@ "body": { "type": "ClassBody", "start": 104, - "end": 1898, + "end": 1996, "loc": { "start": { "line": 7, "column": 10 }, "end": { - "line": 83, + "line": 87, "column": 1 } }, @@ -586,14 +586,14 @@ { "type": "ClassProperty", "start": 407, - "end": 1162, + "end": 1260, "loc": { "start": { "line": 24, "column": 2 }, "end": { - "line": 49, + "line": 53, "column": 3 } }, @@ -620,14 +620,14 @@ "value": { "type": "ArrowFunctionExpression", "start": 421, - "end": 1162, + "end": 1260, "loc": { "start": { "line": 24, "column": 16 }, "end": { - "line": 49, + "line": 53, "column": 3 } }, @@ -639,14 +639,14 @@ "body": { "type": "BlockStatement", "start": 427, - "end": 1162, + "end": 1260, "loc": { "start": { "line": 24, "column": 22 }, "end": { - "line": 49, + "line": 53, "column": 3 } }, @@ -654,28 +654,28 @@ { "type": "ExpressionStatement", "start": 499, - "end": 767, + "end": 850, "loc": { "start": { "line": 28, "column": 4 }, "end": { - "line": 35, + "line": 39, "column": 7 } }, "expression": { "type": "AssignmentExpression", "start": 499, - "end": 766, + "end": 849, "loc": { "start": { "line": 28, "column": 4 }, "end": { - "line": 35, + "line": 39, "column": 6 } }, @@ -733,14 +733,14 @@ "right": { "type": "NewExpression", "start": 515, - "end": 766, + "end": 849, "loc": { "start": { "line": 28, "column": 20 }, "end": { - "line": 35, + "line": 39, "column": 6 } }, @@ -765,22 +765,73 @@ { "type": "ObjectExpression", "start": 528, - "end": 765, + "end": 848, "loc": { "start": { "line": 28, "column": 33 }, "end": { - "line": 35, + "line": 39, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 559, - "end": 586, + "start": 537, + "end": 548, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 537, + "end": 542, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 11 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "value": { + "type": "BooleanLiteral", + "start": 544, + "end": 548, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "value": true + } + }, + { + "type": "ObjectProperty", + "start": 557, + "end": 584, "loc": { "start": { "line": 30, @@ -796,8 +847,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 559, - "end": 569, + "start": 557, + "end": 567, "loc": { "start": { "line": 30, @@ -809,13 +860,12 @@ }, "identifierName": "layoutName" }, - "name": "layoutName", - "leadingComments": null + "name": "layoutName" }, "value": { "type": "MemberExpression", - "start": 571, - "end": 586, + "start": 569, + "end": 584, "loc": { "start": { "line": 30, @@ -828,8 +878,8 @@ }, "object": { "type": "ThisExpression", - "start": 571, - "end": 575, + "start": 569, + "end": 573, "loc": { "start": { "line": 30, @@ -843,8 +893,8 @@ }, "property": { "type": "Identifier", - "start": 576, - "end": 586, + "start": 574, + "end": 584, "loc": { "start": { "line": 30, @@ -859,30 +909,12 @@ "name": "layoutName" }, "computed": false - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "debug: true,", - "start": 537, - "end": 551, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 20 - } - } - } - ] + } }, { "type": "ObjectProperty", - "start": 595, - "end": 634, + "start": 593, + "end": 632, "loc": { "start": { "line": 31, @@ -898,8 +930,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 595, - "end": 603, + "start": 593, + "end": 601, "loc": { "start": { "line": 31, @@ -915,8 +947,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 605, - "end": 634, + "start": 603, + "end": 632, "loc": { "start": { "line": 31, @@ -934,8 +966,8 @@ "params": [ { "type": "Identifier", - "start": 605, - "end": 610, + "start": 603, + "end": 608, "loc": { "start": { "line": 31, @@ -952,8 +984,8 @@ ], "body": { "type": "CallExpression", - "start": 614, - "end": 634, + "start": 612, + "end": 632, "loc": { "start": { "line": 31, @@ -966,8 +998,8 @@ }, "callee": { "type": "MemberExpression", - "start": 614, - "end": 627, + "start": 612, + "end": 625, "loc": { "start": { "line": 31, @@ -980,8 +1012,8 @@ }, "object": { "type": "ThisExpression", - "start": 614, - "end": 618, + "start": 612, + "end": 616, "loc": { "start": { "line": 31, @@ -995,8 +1027,8 @@ }, "property": { "type": "Identifier", - "start": 619, - "end": 627, + "start": 617, + "end": 625, "loc": { "start": { "line": 31, @@ -1015,8 +1047,8 @@ "arguments": [ { "type": "Identifier", - "start": 628, - "end": 633, + "start": 626, + "end": 631, "loc": { "start": { "line": 31, @@ -1036,8 +1068,8 @@ }, { "type": "ObjectProperty", - "start": 643, - "end": 688, + "start": 641, + "end": 686, "loc": { "start": { "line": 32, @@ -1053,8 +1085,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 643, - "end": 653, + "start": 641, + "end": 651, "loc": { "start": { "line": 32, @@ -1070,8 +1102,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 655, - "end": 688, + "start": 653, + "end": 686, "loc": { "start": { "line": 32, @@ -1089,8 +1121,8 @@ "params": [ { "type": "Identifier", - "start": 655, - "end": 661, + "start": 653, + "end": 659, "loc": { "start": { "line": 32, @@ -1107,8 +1139,8 @@ ], "body": { "type": "CallExpression", - "start": 665, - "end": 688, + "start": 663, + "end": 686, "loc": { "start": { "line": 32, @@ -1121,8 +1153,8 @@ }, "callee": { "type": "MemberExpression", - "start": 665, - "end": 680, + "start": 663, + "end": 678, "loc": { "start": { "line": 32, @@ -1135,8 +1167,8 @@ }, "object": { "type": "ThisExpression", - "start": 665, - "end": 669, + "start": 663, + "end": 667, "loc": { "start": { "line": 32, @@ -1150,8 +1182,8 @@ }, "property": { "type": "Identifier", - "start": 670, - "end": 680, + "start": 668, + "end": 678, "loc": { "start": { "line": 32, @@ -1170,8 +1202,8 @@ "arguments": [ { "type": "Identifier", - "start": 681, - "end": 687, + "start": 679, + "end": 685, "loc": { "start": { "line": 32, @@ -1191,8 +1223,8 @@ }, { "type": "ObjectProperty", - "start": 697, - "end": 717, + "start": 695, + "end": 715, "loc": { "start": { "line": 33, @@ -1208,8 +1240,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 697, - "end": 711, + "start": 695, + "end": 709, "loc": { "start": { "line": 33, @@ -1225,8 +1257,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 713, - "end": 717, + "start": 711, + "end": 715, "loc": { "start": { "line": 33, @@ -1242,8 +1274,8 @@ }, { "type": "ObjectProperty", - "start": 726, - "end": 757, + "start": 724, + "end": 755, "loc": { "start": { "line": 34, @@ -1259,8 +1291,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 726, - "end": 751, + "start": 724, + "end": 749, "loc": { "start": { "line": 34, @@ -1276,8 +1308,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 753, - "end": 757, + "start": 751, + "end": 755, "loc": { "start": { "line": 34, @@ -1290,6 +1322,168 @@ }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 764, + "end": 787, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 764, + "end": 773, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 15 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "value": { + "type": "StringLiteral", + "start": 775, + "end": 787, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "extra": { + "rawValue": "inputPhone", + "raw": "\"inputPhone\"" + }, + "value": "inputPhone" + } + }, + { + "type": "ObjectProperty", + "start": 796, + "end": 841, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 38, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 796, + "end": 805, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 15 + }, + "identifierName": "maxLength" + }, + "name": "maxLength" + }, + "value": { + "type": "ObjectExpression", + "start": 807, + "end": 841, + "loc": { + "start": { + "line": 36, + "column": 17 + }, + "end": { + "line": 38, + "column": 7 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 818, + "end": 832, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 818, + "end": 828, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 18 + }, + "identifierName": "inputPhone" + }, + "name": "inputPhone" + }, + "value": { + "type": "NumericLiteral", + "start": 830, + "end": 832, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 22 + } + }, + "extra": { + "rawValue": 11, + "raw": "11" + }, + "value": 11 + } + } + ] + } } ] } @@ -1319,15 +1513,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 777, - "end": 824, + "start": 860, + "end": 907, "loc": { "start": { - "line": 37, + "line": 41, "column": 4 }, "end": { - "line": 39, + "line": 43, "column": 7 } } @@ -1336,85 +1530,85 @@ }, { "type": "ExpressionStatement", - "start": 830, - "end": 1015, + "start": 913, + "end": 1113, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 44, + "line": 48, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 830, - "end": 1014, + "start": 913, + "end": 1112, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 44, + "line": 48, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 830, - "end": 891, + "start": 913, + "end": 974, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 65 } }, "object": { "type": "CallExpression", - "start": 830, - "end": 872, + "start": 913, + "end": 955, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 830, - "end": 852, + "start": 913, + "end": 935, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 26 } }, "object": { "type": "Identifier", - "start": 830, - "end": 838, + "start": 913, + "end": 921, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 12 }, "identifierName": "document" @@ -1424,15 +1618,15 @@ }, "property": { "type": "Identifier", - "start": 839, - "end": 852, + "start": 922, + "end": 935, "loc": { "start": { - "line": 40, + "line": 44, "column": 13 }, "end": { - "line": 40, + "line": 44, "column": 26 }, "identifierName": "querySelector" @@ -1445,15 +1639,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 853, - "end": 871, + "start": 936, + "end": 954, "loc": { "start": { - "line": 40, + "line": 44, "column": 27 }, "end": { - "line": 40, + "line": 44, "column": 45 } }, @@ -1468,15 +1662,15 @@ }, "property": { "type": "Identifier", - "start": 873, - "end": 891, + "start": 956, + "end": 974, "loc": { "start": { - "line": 40, + "line": 44, "column": 47 }, "end": { - "line": 40, + "line": 44, "column": 65 }, "identifierName": "insertAdjacentHTML" @@ -1489,15 +1683,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 892, - "end": 905, + "start": 975, + "end": 988, "loc": { "start": { - "line": 40, + "line": 44, "column": 66 }, "end": { - "line": 40, + "line": 44, "column": 79 } }, @@ -1509,15 +1703,15 @@ }, { "type": "TemplateLiteral", - "start": 907, - "end": 1013, + "start": 990, + "end": 1111, "loc": { "start": { - "line": 40, + "line": 44, "column": 81 }, "end": { - "line": 44, + "line": 48, "column": 5 } }, @@ -1525,21 +1719,21 @@ "quasis": [ { "type": "TemplateElement", - "start": 908, - "end": 1012, + "start": 991, + "end": 1110, "loc": { "start": { - "line": 40, + "line": 44, "column": 82 }, "end": { - "line": 44, + "line": 48, "column": 4 } }, "value": { - "raw": "\n
\n \n
\n ", - "cooked": "\n
\n \n
\n " + "raw": "\n
\n \n
\n ", + "cooked": "\n
\n \n
\n " }, "tail": true } @@ -1552,15 +1746,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 777, - "end": 824, + "start": 860, + "end": 907, "loc": { "start": { - "line": 37, + "line": 41, "column": 4 }, "end": { - "line": 39, + "line": 43, "column": 7 } } @@ -1569,85 +1763,85 @@ }, { "type": "ExpressionStatement", - "start": 1025, - "end": 1157, + "start": 1123, + "end": 1255, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 48, + "line": 52, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 1025, - "end": 1156, + "start": 1123, + "end": 1254, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 48, + "line": 52, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1025, - "end": 1074, + "start": 1123, + "end": 1172, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 53 } }, "object": { "type": "CallExpression", - "start": 1025, - "end": 1057, + "start": 1123, + "end": 1155, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 1025, - "end": 1047, + "start": 1123, + "end": 1145, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 26 } }, "object": { "type": "Identifier", - "start": 1025, - "end": 1033, + "start": 1123, + "end": 1131, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 12 }, "identifierName": "document" @@ -1656,15 +1850,15 @@ }, "property": { "type": "Identifier", - "start": 1034, - "end": 1047, + "start": 1132, + "end": 1145, "loc": { "start": { - "line": 46, + "line": 50, "column": 13 }, "end": { - "line": 46, + "line": 50, "column": 26 }, "identifierName": "querySelector" @@ -1676,15 +1870,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1048, - "end": 1056, + "start": 1146, + "end": 1154, "loc": { "start": { - "line": 46, + "line": 50, "column": 27 }, "end": { - "line": 46, + "line": 50, "column": 35 } }, @@ -1698,15 +1892,15 @@ }, "property": { "type": "Identifier", - "start": 1058, - "end": 1074, + "start": 1156, + "end": 1172, "loc": { "start": { - "line": 46, + "line": 50, "column": 37 }, "end": { - "line": 46, + "line": 50, "column": 53 }, "identifierName": "addEventListener" @@ -1718,15 +1912,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1075, - "end": 1083, + "start": 1173, + "end": 1181, "loc": { "start": { - "line": 46, + "line": 50, "column": 54 }, "end": { - "line": 46, + "line": 50, "column": 62 } }, @@ -1738,15 +1932,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 1085, - "end": 1155, + "start": 1183, + "end": 1253, "loc": { "start": { - "line": 46, + "line": 50, "column": 64 }, "end": { - "line": 48, + "line": 52, "column": 5 } }, @@ -1757,15 +1951,15 @@ "params": [ { "type": "Identifier", - "start": 1086, - "end": 1091, + "start": 1184, + "end": 1189, "loc": { "start": { - "line": 46, + "line": 50, "column": 65 }, "end": { - "line": 46, + "line": 50, "column": 70 }, "identifierName": "event" @@ -1775,101 +1969,101 @@ ], "body": { "type": "BlockStatement", - "start": 1096, - "end": 1155, + "start": 1194, + "end": 1253, "loc": { "start": { - "line": 46, + "line": 50, "column": 75 }, "end": { - "line": 48, + "line": 52, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1105, - "end": 1148, + "start": 1203, + "end": 1246, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 1105, - "end": 1147, + "start": 1203, + "end": 1245, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 1105, - "end": 1127, + "start": 1203, + "end": 1225, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 1105, - "end": 1118, + "start": 1203, + "end": 1216, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1105, - "end": 1109, + "start": 1203, + "end": 1207, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 10 } } }, "property": { "type": "Identifier", - "start": 1110, - "end": 1118, + "start": 1208, + "end": 1216, "loc": { "start": { - "line": 47, + "line": 51, "column": 11 }, "end": { - "line": 47, + "line": 51, "column": 19 }, "identifierName": "keyboard" @@ -1880,15 +2074,15 @@ }, "property": { "type": "Identifier", - "start": 1119, - "end": 1127, + "start": 1217, + "end": 1225, "loc": { "start": { - "line": 47, + "line": 51, "column": 20 }, "end": { - "line": 47, + "line": 51, "column": 28 }, "identifierName": "setInput" @@ -1900,43 +2094,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 1128, - "end": 1146, + "start": 1226, + "end": 1244, "loc": { "start": { - "line": 47, + "line": 51, "column": 29 }, "end": { - "line": 47, + "line": 51, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 1128, - "end": 1140, + "start": 1226, + "end": 1238, "loc": { "start": { - "line": 47, + "line": 51, "column": 29 }, "end": { - "line": 47, + "line": 51, "column": 41 } }, "object": { "type": "Identifier", - "start": 1128, - "end": 1133, + "start": 1226, + "end": 1231, "loc": { "start": { - "line": 47, + "line": 51, "column": 29 }, "end": { - "line": 47, + "line": 51, "column": 34 }, "identifierName": "event" @@ -1945,15 +2139,15 @@ }, "property": { "type": "Identifier", - "start": 1134, - "end": 1140, + "start": 1232, + "end": 1238, "loc": { "start": { - "line": 47, + "line": 51, "column": 35 }, "end": { - "line": 47, + "line": 51, "column": 41 }, "identifierName": "target" @@ -1964,15 +2158,15 @@ }, "property": { "type": "Identifier", - "start": 1141, - "end": 1146, + "start": 1239, + "end": 1244, "loc": { "start": { - "line": 47, + "line": 51, "column": 42 }, "end": { - "line": 47, + "line": 51, "column": 47 }, "identifierName": "value" @@ -2019,15 +2213,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1168, - "end": 1212, + "start": 1266, + "end": 1310, "loc": { "start": { - "line": 51, + "line": 55, "column": 2 }, "end": { - "line": 53, + "line": 57, "column": 5 } } @@ -2036,15 +2230,15 @@ }, { "type": "ClassProperty", - "start": 1216, - "end": 1452, + "start": 1314, + "end": 1550, "loc": { "start": { - "line": 54, + "line": 58, "column": 2 }, "end": { - "line": 61, + "line": 65, "column": 3 } }, @@ -2052,15 +2246,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1216, - "end": 1233, + "start": 1314, + "end": 1331, "loc": { "start": { - "line": 54, + "line": 58, "column": 2 }, "end": { - "line": 54, + "line": 58, "column": 19 }, "identifierName": "handleShiftButton" @@ -2070,15 +2264,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1236, - "end": 1452, + "start": 1334, + "end": 1550, "loc": { "start": { - "line": 54, + "line": 58, "column": 22 }, "end": { - "line": 61, + "line": 65, "column": 3 } }, @@ -2089,59 +2283,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1242, - "end": 1452, + "start": 1340, + "end": 1550, "loc": { "start": { - "line": 54, + "line": 58, "column": 28 }, "end": { - "line": 61, + "line": 65, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1249, - "end": 1282, + "start": 1347, + "end": 1380, "loc": { "start": { - "line": 55, + "line": 59, "column": 4 }, "end": { - "line": 55, + "line": 59, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1253, - "end": 1281, + "start": 1351, + "end": 1379, "loc": { "start": { - "line": 55, + "line": 59, "column": 8 }, "end": { - "line": 55, + "line": 59, "column": 36 } }, "id": { "type": "Identifier", - "start": 1253, - "end": 1263, + "start": 1351, + "end": 1361, "loc": { "start": { - "line": 55, + "line": 59, "column": 8 }, "end": { - "line": 55, + "line": 59, "column": 18 }, "identifierName": "layoutName" @@ -2150,44 +2344,44 @@ }, "init": { "type": "MemberExpression", - "start": 1266, - "end": 1281, + "start": 1364, + "end": 1379, "loc": { "start": { - "line": 55, + "line": 59, "column": 21 }, "end": { - "line": 55, + "line": 59, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 1266, - "end": 1270, + "start": 1364, + "end": 1368, "loc": { "start": { - "line": 55, + "line": 59, "column": 21 }, "end": { - "line": 55, + "line": 59, "column": 25 } } }, "property": { "type": "Identifier", - "start": 1271, - "end": 1281, + "start": 1369, + "end": 1379, "loc": { "start": { - "line": 55, + "line": 59, "column": 26 }, "end": { - "line": 55, + "line": 59, "column": 36 }, "identifierName": "layoutName" @@ -2202,44 +2396,44 @@ }, { "type": "VariableDeclaration", - "start": 1288, - "end": 1371, + "start": 1386, + "end": 1469, "loc": { "start": { - "line": 56, + "line": 60, "column": 4 }, "end": { - "line": 56, + "line": 60, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1292, - "end": 1370, + "start": 1390, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 8 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, "id": { "type": "Identifier", - "start": 1292, - "end": 1303, + "start": 1390, + "end": 1401, "loc": { "start": { - "line": 56, + "line": 60, "column": 8 }, "end": { - "line": 56, + "line": 60, "column": 19 }, "identifierName": "shiftToggle" @@ -2248,59 +2442,59 @@ }, "init": { "type": "AssignmentExpression", - "start": 1306, - "end": 1370, + "start": 1404, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 22 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1306, - "end": 1321, + "start": 1404, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 60, "column": 22 }, "end": { - "line": 56, + "line": 60, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 1306, - "end": 1310, + "start": 1404, + "end": 1408, "loc": { "start": { - "line": 56, + "line": 60, "column": 22 }, "end": { - "line": 56, + "line": 60, "column": 26 } } }, "property": { "type": "Identifier", - "start": 1311, - "end": 1321, + "start": 1409, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 60, "column": 27 }, "end": { - "line": 56, + "line": 60, "column": 37 }, "identifierName": "layoutName" @@ -2311,43 +2505,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 1324, - "end": 1370, + "start": 1422, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 40 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, "test": { "type": "BinaryExpression", - "start": 1324, - "end": 1348, + "start": 1422, + "end": 1446, "loc": { "start": { - "line": 56, + "line": 60, "column": 40 }, "end": { - "line": 56, + "line": 60, "column": 64 } }, "left": { "type": "Identifier", - "start": 1324, - "end": 1334, + "start": 1422, + "end": 1432, "loc": { "start": { - "line": 56, + "line": 60, "column": 40 }, "end": { - "line": 56, + "line": 60, "column": 50 }, "identifierName": "layoutName" @@ -2357,15 +2551,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1339, - "end": 1348, + "start": 1437, + "end": 1446, "loc": { "start": { - "line": 56, + "line": 60, "column": 55 }, "end": { - "line": 56, + "line": 60, "column": 64 } }, @@ -2378,15 +2572,15 @@ }, "consequent": { "type": "StringLiteral", - "start": 1351, - "end": 1358, + "start": 1449, + "end": 1456, "loc": { "start": { - "line": 56, + "line": 60, "column": 67 }, "end": { - "line": 56, + "line": 60, "column": 74 } }, @@ -2398,15 +2592,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 1361, - "end": 1370, + "start": 1459, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 77 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, @@ -2424,86 +2618,86 @@ }, { "type": "ExpressionStatement", - "start": 1381, - "end": 1447, + "start": 1479, + "end": 1545, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 60, + "line": 64, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 1381, - "end": 1446, + "start": 1479, + "end": 1544, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 60, + "line": 64, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1381, - "end": 1405, + "start": 1479, + "end": 1503, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 58, + "line": 62, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 1381, - "end": 1394, + "start": 1479, + "end": 1492, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 58, + "line": 62, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1381, - "end": 1385, + "start": 1479, + "end": 1483, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 58, + "line": 62, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1386, - "end": 1394, + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 58, + "line": 62, "column": 9 }, "end": { - "line": 58, + "line": 62, "column": 17 }, "identifierName": "keyboard" @@ -2514,15 +2708,15 @@ }, "property": { "type": "Identifier", - "start": 1395, - "end": 1405, + "start": 1493, + "end": 1503, "loc": { "start": { - "line": 58, + "line": 62, "column": 18 }, "end": { - "line": 58, + "line": 62, "column": 28 }, "identifierName": "setOptions" @@ -2534,30 +2728,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 1406, - "end": 1445, + "start": 1504, + "end": 1543, "loc": { "start": { - "line": 58, + "line": 62, "column": 29 }, "end": { - "line": 60, + "line": 64, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1415, - "end": 1438, + "start": 1513, + "end": 1536, "loc": { "start": { - "line": 59, + "line": 63, "column": 6 }, "end": { - "line": 59, + "line": 63, "column": 29 } }, @@ -2566,15 +2760,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1415, - "end": 1425, + "start": 1513, + "end": 1523, "loc": { "start": { - "line": 59, + "line": 63, "column": 6 }, "end": { - "line": 59, + "line": 63, "column": 16 }, "identifierName": "layoutName" @@ -2583,15 +2777,15 @@ }, "value": { "type": "Identifier", - "start": 1427, - "end": 1438, + "start": 1525, + "end": 1536, "loc": { "start": { - "line": 59, + "line": 63, "column": 18 }, "end": { - "line": 59, + "line": 63, "column": 29 }, "identifierName": "shiftToggle" @@ -2614,15 +2808,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1168, - "end": 1212, + "start": 1266, + "end": 1310, "loc": { "start": { - "line": 51, + "line": 55, "column": 2 }, "end": { - "line": 53, + "line": 57, "column": 5 } } @@ -2632,15 +2826,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1458, - "end": 1520, + "start": 1556, + "end": 1618, "loc": { "start": { - "line": 63, + "line": 67, "column": 2 }, "end": { - "line": 65, + "line": 69, "column": 5 } } @@ -2649,15 +2843,15 @@ }, { "type": "ClassProperty", - "start": 1524, - "end": 1603, + "start": 1622, + "end": 1701, "loc": { "start": { - "line": 66, + "line": 70, "column": 2 }, "end": { - "line": 68, + "line": 72, "column": 3 } }, @@ -2665,15 +2859,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1524, - "end": 1532, + "start": 1622, + "end": 1630, "loc": { "start": { - "line": 66, + "line": 70, "column": 2 }, "end": { - "line": 66, + "line": 70, "column": 10 }, "identifierName": "onChange" @@ -2683,15 +2877,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1535, - "end": 1603, + "start": 1633, + "end": 1701, "loc": { "start": { - "line": 66, + "line": 70, "column": 13 }, "end": { - "line": 68, + "line": 72, "column": 3 } }, @@ -2702,15 +2896,15 @@ "params": [ { "type": "Identifier", - "start": 1535, - "end": 1540, + "start": 1633, + "end": 1638, "loc": { "start": { - "line": 66, + "line": 70, "column": 13 }, "end": { - "line": 66, + "line": 70, "column": 18 }, "identifierName": "input" @@ -2720,101 +2914,101 @@ ], "body": { "type": "BlockStatement", - "start": 1544, - "end": 1603, + "start": 1642, + "end": 1701, "loc": { "start": { - "line": 66, + "line": 70, "column": 22 }, "end": { - "line": 68, + "line": 72, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1551, - "end": 1598, + "start": 1649, + "end": 1696, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 1551, - "end": 1597, + "start": 1649, + "end": 1695, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1551, - "end": 1589, + "start": 1649, + "end": 1687, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 42 } }, "object": { "type": "CallExpression", - "start": 1551, - "end": 1583, + "start": 1649, + "end": 1681, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 1551, - "end": 1573, + "start": 1649, + "end": 1671, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 26 } }, "object": { "type": "Identifier", - "start": 1551, - "end": 1559, + "start": 1649, + "end": 1657, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 12 }, "identifierName": "document" @@ -2823,15 +3017,15 @@ }, "property": { "type": "Identifier", - "start": 1560, - "end": 1573, + "start": 1658, + "end": 1671, "loc": { "start": { - "line": 67, + "line": 71, "column": 13 }, "end": { - "line": 67, + "line": 71, "column": 26 }, "identifierName": "querySelector" @@ -2843,15 +3037,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1574, - "end": 1582, + "start": 1672, + "end": 1680, "loc": { "start": { - "line": 67, + "line": 71, "column": 27 }, "end": { - "line": 67, + "line": 71, "column": 35 } }, @@ -2865,15 +3059,15 @@ }, "property": { "type": "Identifier", - "start": 1584, - "end": 1589, + "start": 1682, + "end": 1687, "loc": { "start": { - "line": 67, + "line": 71, "column": 37 }, "end": { - "line": 67, + "line": 71, "column": 42 }, "identifierName": "value" @@ -2884,15 +3078,15 @@ }, "right": { "type": "Identifier", - "start": 1592, - "end": 1597, + "start": 1690, + "end": 1695, "loc": { "start": { - "line": 67, + "line": 71, "column": 45 }, "end": { - "line": 67, + "line": 71, "column": 50 }, "identifierName": "input" @@ -2911,15 +3105,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1458, - "end": 1520, + "start": 1556, + "end": 1618, "loc": { "start": { - "line": 63, + "line": 67, "column": 2 }, "end": { - "line": 65, + "line": 69, "column": 5 } } @@ -2929,15 +3123,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1609, - "end": 1670, + "start": 1707, + "end": 1768, "loc": { "start": { - "line": 70, + "line": 74, "column": 2 }, "end": { - "line": 72, + "line": 76, "column": 5 } } @@ -2946,15 +3140,15 @@ }, { "type": "ClassProperty", - "start": 1674, - "end": 1893, + "start": 1772, + "end": 1991, "loc": { "start": { - "line": 73, + "line": 77, "column": 2 }, "end": { - "line": 81, + "line": 85, "column": 3 } }, @@ -2962,15 +3156,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1674, - "end": 1684, + "start": 1772, + "end": 1782, "loc": { "start": { - "line": 73, + "line": 77, "column": 2 }, "end": { - "line": 73, + "line": 77, "column": 12 }, "identifierName": "onKeyPress" @@ -2980,15 +3174,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1687, - "end": 1893, + "start": 1785, + "end": 1991, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 3 } }, @@ -2999,15 +3193,15 @@ "params": [ { "type": "Identifier", - "start": 1687, - "end": 1693, + "start": 1785, + "end": 1791, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 21 }, "identifierName": "button" @@ -3017,72 +3211,72 @@ ], "body": { "type": "BlockStatement", - "start": 1697, - "end": 1893, + "start": 1795, + "end": 1991, "loc": { "start": { - "line": 73, + "line": 77, "column": 25 }, "end": { - "line": 81, + "line": 85, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1704, - "end": 1742, + "start": 1802, + "end": 1840, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 1704, - "end": 1741, + "start": 1802, + "end": 1839, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 1704, - "end": 1715, + "start": 1802, + "end": 1813, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 15 } }, "object": { "type": "Identifier", - "start": 1704, - "end": 1711, + "start": 1802, + "end": 1809, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 11 }, "identifierName": "console" @@ -3091,15 +3285,15 @@ }, "property": { "type": "Identifier", - "start": 1712, - "end": 1715, + "start": 1810, + "end": 1813, "loc": { "start": { - "line": 74, + "line": 78, "column": 12 }, "end": { - "line": 74, + "line": 78, "column": 15 }, "identifierName": "log" @@ -3111,15 +3305,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1716, - "end": 1732, + "start": 1814, + "end": 1830, "loc": { "start": { - "line": 74, + "line": 78, "column": 16 }, "end": { - "line": 74, + "line": 78, "column": 32 } }, @@ -3131,15 +3325,15 @@ }, { "type": "Identifier", - "start": 1734, - "end": 1740, + "start": 1832, + "end": 1838, "loc": { "start": { - "line": 74, + "line": 78, "column": 34 }, "end": { - "line": 74, + "line": 78, "column": 40 }, "identifierName": "button" @@ -3152,15 +3346,15 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1754, - "end": 1798, + "start": 1852, + "end": 1896, "loc": { "start": { - "line": 76, + "line": 80, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 9 } } @@ -3169,57 +3363,57 @@ }, { "type": "IfStatement", - "start": 1806, - "end": 1888, + "start": 1904, + "end": 1986, "loc": { "start": { - "line": 79, + "line": 83, "column": 6 }, "end": { - "line": 80, + "line": 84, "column": 33 } }, "test": { "type": "LogicalExpression", - "start": 1809, - "end": 1852, + "start": 1907, + "end": 1950, "loc": { "start": { - "line": 79, + "line": 83, "column": 9 }, "end": { - "line": 79, + "line": 83, "column": 52 } }, "left": { "type": "BinaryExpression", - "start": 1809, - "end": 1828, + "start": 1907, + "end": 1926, "loc": { "start": { - "line": 79, + "line": 83, "column": 9 }, "end": { - "line": 79, + "line": 83, "column": 28 } }, "left": { "type": "Identifier", - "start": 1809, - "end": 1815, + "start": 1907, + "end": 1913, "loc": { "start": { - "line": 79, + "line": 83, "column": 9 }, "end": { - "line": 79, + "line": 83, "column": 15 }, "identifierName": "button" @@ -3230,15 +3424,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1820, - "end": 1828, + "start": 1918, + "end": 1926, "loc": { "start": { - "line": 79, + "line": 83, "column": 20 }, "end": { - "line": 79, + "line": 83, "column": 28 } }, @@ -3253,29 +3447,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 1832, - "end": 1852, + "start": 1930, + "end": 1950, "loc": { "start": { - "line": 79, + "line": 83, "column": 32 }, "end": { - "line": 79, + "line": 83, "column": 52 } }, "left": { "type": "Identifier", - "start": 1832, - "end": 1838, + "start": 1930, + "end": 1936, "loc": { "start": { - "line": 79, + "line": 83, "column": 32 }, "end": { - "line": 79, + "line": 83, "column": 38 }, "identifierName": "button" @@ -3285,15 +3479,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1843, - "end": 1852, + "start": 1941, + "end": 1950, "loc": { "start": { - "line": 79, + "line": 83, "column": 43 }, "end": { - "line": 79, + "line": 83, "column": 52 } }, @@ -3308,72 +3502,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1863, - "end": 1888, + "start": 1961, + "end": 1986, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 1863, - "end": 1887, + "start": 1961, + "end": 1985, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 1863, - "end": 1885, + "start": 1961, + "end": 1983, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 1863, - "end": 1867, + "start": 1961, + "end": 1965, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1868, - "end": 1885, + "start": 1966, + "end": 1983, "loc": { "start": { - "line": 80, + "line": 84, "column": 13 }, "end": { - "line": 80, + "line": 84, "column": 30 }, "identifierName": "handleShiftButton" @@ -3390,15 +3584,15 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1754, - "end": 1798, + "start": 1852, + "end": 1896, "loc": { "start": { - "line": 76, + "line": 80, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 9 } } @@ -3413,15 +3607,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1609, - "end": 1670, + "start": 1707, + "end": 1768, "loc": { "start": { - "line": 70, + "line": 74, "column": 2 }, "end": { - "line": 72, + "line": 76, "column": 5 } } @@ -3436,29 +3630,29 @@ }, { "type": "Identifier", - "start": 1902, - "end": 1921, + "start": 2000, + "end": 2019, "loc": { "start": { - "line": 85, + "line": 89, "column": 0 }, "end": { - "line": 85, + "line": 89, "column": 19 } }, "declaration": { "type": "Identifier", - "start": 1917, - "end": 1920, + "start": 2015, + "end": 2018, "loc": { "start": { - "line": 85, + "line": 89, "column": 15 }, "end": { - "line": 85, + "line": 89, "column": 18 }, "identifierName": "App" @@ -3471,29 +3665,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 1902, - "end": 1921, + "start": 2000, + "end": 2019, "loc": { "start": { - "line": 85, + "line": 89, "column": 0 }, "end": { - "line": 85, + "line": 89, "column": 19 } }, "declaration": { "type": "ClassDeclaration", "start": 94, - "end": 1898, + "end": 1996, "loc": { "start": { "line": 7, "column": 0 }, "end": { - "line": 83, + "line": 87, "column": 1 } }, @@ -3519,14 +3713,14 @@ "body": { "type": "ClassBody", "start": 104, - "end": 1898, + "end": 1996, "loc": { "start": { "line": 7, "column": 10 }, "end": { - "line": 83, + "line": 87, "column": 1 } }, @@ -3918,14 +4112,14 @@ { "type": "ClassProperty", "start": 407, - "end": 1162, + "end": 1260, "loc": { "start": { "line": 24, "column": 2 }, "end": { - "line": 49, + "line": 53, "column": 3 } }, @@ -3952,14 +4146,14 @@ "value": { "type": "ArrowFunctionExpression", "start": 421, - "end": 1162, + "end": 1260, "loc": { "start": { "line": 24, "column": 16 }, "end": { - "line": 49, + "line": 53, "column": 3 } }, @@ -3971,14 +4165,14 @@ "body": { "type": "BlockStatement", "start": 427, - "end": 1162, + "end": 1260, "loc": { "start": { "line": 24, "column": 22 }, "end": { - "line": 49, + "line": 53, "column": 3 } }, @@ -3986,28 +4180,28 @@ { "type": "ExpressionStatement", "start": 499, - "end": 767, + "end": 850, "loc": { "start": { "line": 28, "column": 4 }, "end": { - "line": 35, + "line": 39, "column": 7 } }, "expression": { "type": "AssignmentExpression", "start": 499, - "end": 766, + "end": 849, "loc": { "start": { "line": 28, "column": 4 }, "end": { - "line": 35, + "line": 39, "column": 6 } }, @@ -4065,14 +4259,14 @@ "right": { "type": "NewExpression", "start": 515, - "end": 766, + "end": 849, "loc": { "start": { "line": 28, "column": 20 }, "end": { - "line": 35, + "line": 39, "column": 6 } }, @@ -4097,22 +4291,73 @@ { "type": "ObjectExpression", "start": 528, - "end": 765, + "end": 848, "loc": { "start": { "line": 28, "column": 33 }, "end": { - "line": 35, + "line": 39, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 559, - "end": 586, + "start": 537, + "end": 548, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 537, + "end": 542, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 11 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "value": { + "type": "BooleanLiteral", + "start": 544, + "end": 548, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "value": true + } + }, + { + "type": "ObjectProperty", + "start": 557, + "end": 584, "loc": { "start": { "line": 30, @@ -4128,8 +4373,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 559, - "end": 569, + "start": 557, + "end": 567, "loc": { "start": { "line": 30, @@ -4141,13 +4386,12 @@ }, "identifierName": "layoutName" }, - "name": "layoutName", - "leadingComments": null + "name": "layoutName" }, "value": { "type": "MemberExpression", - "start": 571, - "end": 586, + "start": 569, + "end": 584, "loc": { "start": { "line": 30, @@ -4160,8 +4404,8 @@ }, "object": { "type": "ThisExpression", - "start": 571, - "end": 575, + "start": 569, + "end": 573, "loc": { "start": { "line": 30, @@ -4175,8 +4419,8 @@ }, "property": { "type": "Identifier", - "start": 576, - "end": 586, + "start": 574, + "end": 584, "loc": { "start": { "line": 30, @@ -4191,30 +4435,12 @@ "name": "layoutName" }, "computed": false - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "debug: true,", - "start": 537, - "end": 551, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 20 - } - } - } - ] + } }, { "type": "ObjectProperty", - "start": 595, - "end": 634, + "start": 593, + "end": 632, "loc": { "start": { "line": 31, @@ -4230,8 +4456,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 595, - "end": 603, + "start": 593, + "end": 601, "loc": { "start": { "line": 31, @@ -4247,8 +4473,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 605, - "end": 634, + "start": 603, + "end": 632, "loc": { "start": { "line": 31, @@ -4266,8 +4492,8 @@ "params": [ { "type": "Identifier", - "start": 605, - "end": 610, + "start": 603, + "end": 608, "loc": { "start": { "line": 31, @@ -4284,8 +4510,8 @@ ], "body": { "type": "CallExpression", - "start": 614, - "end": 634, + "start": 612, + "end": 632, "loc": { "start": { "line": 31, @@ -4298,8 +4524,8 @@ }, "callee": { "type": "MemberExpression", - "start": 614, - "end": 627, + "start": 612, + "end": 625, "loc": { "start": { "line": 31, @@ -4312,8 +4538,8 @@ }, "object": { "type": "ThisExpression", - "start": 614, - "end": 618, + "start": 612, + "end": 616, "loc": { "start": { "line": 31, @@ -4327,8 +4553,8 @@ }, "property": { "type": "Identifier", - "start": 619, - "end": 627, + "start": 617, + "end": 625, "loc": { "start": { "line": 31, @@ -4347,8 +4573,8 @@ "arguments": [ { "type": "Identifier", - "start": 628, - "end": 633, + "start": 626, + "end": 631, "loc": { "start": { "line": 31, @@ -4368,8 +4594,8 @@ }, { "type": "ObjectProperty", - "start": 643, - "end": 688, + "start": 641, + "end": 686, "loc": { "start": { "line": 32, @@ -4385,8 +4611,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 643, - "end": 653, + "start": 641, + "end": 651, "loc": { "start": { "line": 32, @@ -4402,8 +4628,8 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 655, - "end": 688, + "start": 653, + "end": 686, "loc": { "start": { "line": 32, @@ -4421,8 +4647,8 @@ "params": [ { "type": "Identifier", - "start": 655, - "end": 661, + "start": 653, + "end": 659, "loc": { "start": { "line": 32, @@ -4439,8 +4665,8 @@ ], "body": { "type": "CallExpression", - "start": 665, - "end": 688, + "start": 663, + "end": 686, "loc": { "start": { "line": 32, @@ -4453,8 +4679,8 @@ }, "callee": { "type": "MemberExpression", - "start": 665, - "end": 680, + "start": 663, + "end": 678, "loc": { "start": { "line": 32, @@ -4467,8 +4693,8 @@ }, "object": { "type": "ThisExpression", - "start": 665, - "end": 669, + "start": 663, + "end": 667, "loc": { "start": { "line": 32, @@ -4482,8 +4708,8 @@ }, "property": { "type": "Identifier", - "start": 670, - "end": 680, + "start": 668, + "end": 678, "loc": { "start": { "line": 32, @@ -4502,8 +4728,8 @@ "arguments": [ { "type": "Identifier", - "start": 681, - "end": 687, + "start": 679, + "end": 685, "loc": { "start": { "line": 32, @@ -4523,8 +4749,8 @@ }, { "type": "ObjectProperty", - "start": 697, - "end": 717, + "start": 695, + "end": 715, "loc": { "start": { "line": 33, @@ -4540,8 +4766,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 697, - "end": 711, + "start": 695, + "end": 709, "loc": { "start": { "line": 33, @@ -4557,8 +4783,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 713, - "end": 717, + "start": 711, + "end": 715, "loc": { "start": { "line": 33, @@ -4574,8 +4800,8 @@ }, { "type": "ObjectProperty", - "start": 726, - "end": 757, + "start": 724, + "end": 755, "loc": { "start": { "line": 34, @@ -4591,8 +4817,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 726, - "end": 751, + "start": 724, + "end": 749, "loc": { "start": { "line": 34, @@ -4608,8 +4834,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 753, - "end": 757, + "start": 751, + "end": 755, "loc": { "start": { "line": 34, @@ -4622,6 +4848,168 @@ }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 764, + "end": 787, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 764, + "end": 773, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 15 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "value": { + "type": "StringLiteral", + "start": 775, + "end": 787, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "extra": { + "rawValue": "inputPhone", + "raw": "\"inputPhone\"" + }, + "value": "inputPhone" + } + }, + { + "type": "ObjectProperty", + "start": 796, + "end": 841, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 38, + "column": 7 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 796, + "end": 805, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 15 + }, + "identifierName": "maxLength" + }, + "name": "maxLength" + }, + "value": { + "type": "ObjectExpression", + "start": 807, + "end": 841, + "loc": { + "start": { + "line": 36, + "column": 17 + }, + "end": { + "line": 38, + "column": 7 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 818, + "end": 832, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 818, + "end": 828, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 18 + }, + "identifierName": "inputPhone" + }, + "name": "inputPhone" + }, + "value": { + "type": "NumericLiteral", + "start": 830, + "end": 832, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 22 + } + }, + "extra": { + "rawValue": 11, + "raw": "11" + }, + "value": 11 + } + } + ] + } } ] } @@ -4651,15 +5039,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 777, - "end": 824, + "start": 860, + "end": 907, "loc": { "start": { - "line": 37, + "line": 41, "column": 4 }, "end": { - "line": 39, + "line": 43, "column": 7 } } @@ -4668,85 +5056,85 @@ }, { "type": "ExpressionStatement", - "start": 830, - "end": 1015, + "start": 913, + "end": 1113, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 44, + "line": 48, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 830, - "end": 1014, + "start": 913, + "end": 1112, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 44, + "line": 48, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 830, - "end": 891, + "start": 913, + "end": 974, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 65 } }, "object": { "type": "CallExpression", - "start": 830, - "end": 872, + "start": 913, + "end": 955, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 830, - "end": 852, + "start": 913, + "end": 935, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 26 } }, "object": { "type": "Identifier", - "start": 830, - "end": 838, + "start": 913, + "end": 921, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 12 }, "identifierName": "document" @@ -4756,15 +5144,15 @@ }, "property": { "type": "Identifier", - "start": 839, - "end": 852, + "start": 922, + "end": 935, "loc": { "start": { - "line": 40, + "line": 44, "column": 13 }, "end": { - "line": 40, + "line": 44, "column": 26 }, "identifierName": "querySelector" @@ -4777,15 +5165,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 853, - "end": 871, + "start": 936, + "end": 954, "loc": { "start": { - "line": 40, + "line": 44, "column": 27 }, "end": { - "line": 40, + "line": 44, "column": 45 } }, @@ -4800,15 +5188,15 @@ }, "property": { "type": "Identifier", - "start": 873, - "end": 891, + "start": 956, + "end": 974, "loc": { "start": { - "line": 40, + "line": 44, "column": 47 }, "end": { - "line": 40, + "line": 44, "column": 65 }, "identifierName": "insertAdjacentHTML" @@ -4821,15 +5209,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 892, - "end": 905, + "start": 975, + "end": 988, "loc": { "start": { - "line": 40, + "line": 44, "column": 66 }, "end": { - "line": 40, + "line": 44, "column": 79 } }, @@ -4841,15 +5229,15 @@ }, { "type": "TemplateLiteral", - "start": 907, - "end": 1013, + "start": 990, + "end": 1111, "loc": { "start": { - "line": 40, + "line": 44, "column": 81 }, "end": { - "line": 44, + "line": 48, "column": 5 } }, @@ -4857,21 +5245,21 @@ "quasis": [ { "type": "TemplateElement", - "start": 908, - "end": 1012, + "start": 991, + "end": 1110, "loc": { "start": { - "line": 40, + "line": 44, "column": 82 }, "end": { - "line": 44, + "line": 48, "column": 4 } }, "value": { - "raw": "\n
\n \n
\n ", - "cooked": "\n
\n \n
\n " + "raw": "\n
\n \n
\n ", + "cooked": "\n
\n \n
\n " }, "tail": true } @@ -4884,15 +5272,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 777, - "end": 824, + "start": 860, + "end": 907, "loc": { "start": { - "line": 37, + "line": 41, "column": 4 }, "end": { - "line": 39, + "line": 43, "column": 7 } } @@ -4901,85 +5289,85 @@ }, { "type": "ExpressionStatement", - "start": 1025, - "end": 1157, + "start": 1123, + "end": 1255, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 48, + "line": 52, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 1025, - "end": 1156, + "start": 1123, + "end": 1254, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 48, + "line": 52, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1025, - "end": 1074, + "start": 1123, + "end": 1172, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 53 } }, "object": { "type": "CallExpression", - "start": 1025, - "end": 1057, + "start": 1123, + "end": 1155, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 1025, - "end": 1047, + "start": 1123, + "end": 1145, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 26 } }, "object": { "type": "Identifier", - "start": 1025, - "end": 1033, + "start": 1123, + "end": 1131, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 12 }, "identifierName": "document" @@ -4988,15 +5376,15 @@ }, "property": { "type": "Identifier", - "start": 1034, - "end": 1047, + "start": 1132, + "end": 1145, "loc": { "start": { - "line": 46, + "line": 50, "column": 13 }, "end": { - "line": 46, + "line": 50, "column": 26 }, "identifierName": "querySelector" @@ -5008,15 +5396,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1048, - "end": 1056, + "start": 1146, + "end": 1154, "loc": { "start": { - "line": 46, + "line": 50, "column": 27 }, "end": { - "line": 46, + "line": 50, "column": 35 } }, @@ -5030,15 +5418,15 @@ }, "property": { "type": "Identifier", - "start": 1058, - "end": 1074, + "start": 1156, + "end": 1172, "loc": { "start": { - "line": 46, + "line": 50, "column": 37 }, "end": { - "line": 46, + "line": 50, "column": 53 }, "identifierName": "addEventListener" @@ -5050,15 +5438,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1075, - "end": 1083, + "start": 1173, + "end": 1181, "loc": { "start": { - "line": 46, + "line": 50, "column": 54 }, "end": { - "line": 46, + "line": 50, "column": 62 } }, @@ -5070,15 +5458,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 1085, - "end": 1155, + "start": 1183, + "end": 1253, "loc": { "start": { - "line": 46, + "line": 50, "column": 64 }, "end": { - "line": 48, + "line": 52, "column": 5 } }, @@ -5089,15 +5477,15 @@ "params": [ { "type": "Identifier", - "start": 1086, - "end": 1091, + "start": 1184, + "end": 1189, "loc": { "start": { - "line": 46, + "line": 50, "column": 65 }, "end": { - "line": 46, + "line": 50, "column": 70 }, "identifierName": "event" @@ -5107,101 +5495,101 @@ ], "body": { "type": "BlockStatement", - "start": 1096, - "end": 1155, + "start": 1194, + "end": 1253, "loc": { "start": { - "line": 46, + "line": 50, "column": 75 }, "end": { - "line": 48, + "line": 52, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1105, - "end": 1148, + "start": 1203, + "end": 1246, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 1105, - "end": 1147, + "start": 1203, + "end": 1245, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 1105, - "end": 1127, + "start": 1203, + "end": 1225, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 1105, - "end": 1118, + "start": 1203, + "end": 1216, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1105, - "end": 1109, + "start": 1203, + "end": 1207, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 10 } } }, "property": { "type": "Identifier", - "start": 1110, - "end": 1118, + "start": 1208, + "end": 1216, "loc": { "start": { - "line": 47, + "line": 51, "column": 11 }, "end": { - "line": 47, + "line": 51, "column": 19 }, "identifierName": "keyboard" @@ -5212,15 +5600,15 @@ }, "property": { "type": "Identifier", - "start": 1119, - "end": 1127, + "start": 1217, + "end": 1225, "loc": { "start": { - "line": 47, + "line": 51, "column": 20 }, "end": { - "line": 47, + "line": 51, "column": 28 }, "identifierName": "setInput" @@ -5232,43 +5620,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 1128, - "end": 1146, + "start": 1226, + "end": 1244, "loc": { "start": { - "line": 47, + "line": 51, "column": 29 }, "end": { - "line": 47, + "line": 51, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 1128, - "end": 1140, + "start": 1226, + "end": 1238, "loc": { "start": { - "line": 47, + "line": 51, "column": 29 }, "end": { - "line": 47, + "line": 51, "column": 41 } }, "object": { "type": "Identifier", - "start": 1128, - "end": 1133, + "start": 1226, + "end": 1231, "loc": { "start": { - "line": 47, + "line": 51, "column": 29 }, "end": { - "line": 47, + "line": 51, "column": 34 }, "identifierName": "event" @@ -5277,15 +5665,15 @@ }, "property": { "type": "Identifier", - "start": 1134, - "end": 1140, + "start": 1232, + "end": 1238, "loc": { "start": { - "line": 47, + "line": 51, "column": 35 }, "end": { - "line": 47, + "line": 51, "column": 41 }, "identifierName": "target" @@ -5296,15 +5684,15 @@ }, "property": { "type": "Identifier", - "start": 1141, - "end": 1146, + "start": 1239, + "end": 1244, "loc": { "start": { - "line": 47, + "line": 51, "column": 42 }, "end": { - "line": 47, + "line": 51, "column": 47 }, "identifierName": "value" @@ -5351,15 +5739,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1168, - "end": 1212, + "start": 1266, + "end": 1310, "loc": { "start": { - "line": 51, + "line": 55, "column": 2 }, "end": { - "line": 53, + "line": 57, "column": 5 } } @@ -5368,15 +5756,15 @@ }, { "type": "ClassProperty", - "start": 1216, - "end": 1452, + "start": 1314, + "end": 1550, "loc": { "start": { - "line": 54, + "line": 58, "column": 2 }, "end": { - "line": 61, + "line": 65, "column": 3 } }, @@ -5384,15 +5772,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1216, - "end": 1233, + "start": 1314, + "end": 1331, "loc": { "start": { - "line": 54, + "line": 58, "column": 2 }, "end": { - "line": 54, + "line": 58, "column": 19 }, "identifierName": "handleShiftButton" @@ -5402,15 +5790,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1236, - "end": 1452, + "start": 1334, + "end": 1550, "loc": { "start": { - "line": 54, + "line": 58, "column": 22 }, "end": { - "line": 61, + "line": 65, "column": 3 } }, @@ -5421,59 +5809,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1242, - "end": 1452, + "start": 1340, + "end": 1550, "loc": { "start": { - "line": 54, + "line": 58, "column": 28 }, "end": { - "line": 61, + "line": 65, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1249, - "end": 1282, + "start": 1347, + "end": 1380, "loc": { "start": { - "line": 55, + "line": 59, "column": 4 }, "end": { - "line": 55, + "line": 59, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1253, - "end": 1281, + "start": 1351, + "end": 1379, "loc": { "start": { - "line": 55, + "line": 59, "column": 8 }, "end": { - "line": 55, + "line": 59, "column": 36 } }, "id": { "type": "Identifier", - "start": 1253, - "end": 1263, + "start": 1351, + "end": 1361, "loc": { "start": { - "line": 55, + "line": 59, "column": 8 }, "end": { - "line": 55, + "line": 59, "column": 18 }, "identifierName": "layoutName" @@ -5482,44 +5870,44 @@ }, "init": { "type": "MemberExpression", - "start": 1266, - "end": 1281, + "start": 1364, + "end": 1379, "loc": { "start": { - "line": 55, + "line": 59, "column": 21 }, "end": { - "line": 55, + "line": 59, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 1266, - "end": 1270, + "start": 1364, + "end": 1368, "loc": { "start": { - "line": 55, + "line": 59, "column": 21 }, "end": { - "line": 55, + "line": 59, "column": 25 } } }, "property": { "type": "Identifier", - "start": 1271, - "end": 1281, + "start": 1369, + "end": 1379, "loc": { "start": { - "line": 55, + "line": 59, "column": 26 }, "end": { - "line": 55, + "line": 59, "column": 36 }, "identifierName": "layoutName" @@ -5534,44 +5922,44 @@ }, { "type": "VariableDeclaration", - "start": 1288, - "end": 1371, + "start": 1386, + "end": 1469, "loc": { "start": { - "line": 56, + "line": 60, "column": 4 }, "end": { - "line": 56, + "line": 60, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1292, - "end": 1370, + "start": 1390, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 8 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, "id": { "type": "Identifier", - "start": 1292, - "end": 1303, + "start": 1390, + "end": 1401, "loc": { "start": { - "line": 56, + "line": 60, "column": 8 }, "end": { - "line": 56, + "line": 60, "column": 19 }, "identifierName": "shiftToggle" @@ -5580,59 +5968,59 @@ }, "init": { "type": "AssignmentExpression", - "start": 1306, - "end": 1370, + "start": 1404, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 22 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1306, - "end": 1321, + "start": 1404, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 60, "column": 22 }, "end": { - "line": 56, + "line": 60, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 1306, - "end": 1310, + "start": 1404, + "end": 1408, "loc": { "start": { - "line": 56, + "line": 60, "column": 22 }, "end": { - "line": 56, + "line": 60, "column": 26 } } }, "property": { "type": "Identifier", - "start": 1311, - "end": 1321, + "start": 1409, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 60, "column": 27 }, "end": { - "line": 56, + "line": 60, "column": 37 }, "identifierName": "layoutName" @@ -5643,43 +6031,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 1324, - "end": 1370, + "start": 1422, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 40 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, "test": { "type": "BinaryExpression", - "start": 1324, - "end": 1348, + "start": 1422, + "end": 1446, "loc": { "start": { - "line": 56, + "line": 60, "column": 40 }, "end": { - "line": 56, + "line": 60, "column": 64 } }, "left": { "type": "Identifier", - "start": 1324, - "end": 1334, + "start": 1422, + "end": 1432, "loc": { "start": { - "line": 56, + "line": 60, "column": 40 }, "end": { - "line": 56, + "line": 60, "column": 50 }, "identifierName": "layoutName" @@ -5689,15 +6077,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1339, - "end": 1348, + "start": 1437, + "end": 1446, "loc": { "start": { - "line": 56, + "line": 60, "column": 55 }, "end": { - "line": 56, + "line": 60, "column": 64 } }, @@ -5710,15 +6098,15 @@ }, "consequent": { "type": "StringLiteral", - "start": 1351, - "end": 1358, + "start": 1449, + "end": 1456, "loc": { "start": { - "line": 56, + "line": 60, "column": 67 }, "end": { - "line": 56, + "line": 60, "column": 74 } }, @@ -5730,15 +6118,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 1361, - "end": 1370, + "start": 1459, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 77 }, "end": { - "line": 56, + "line": 60, "column": 86 } }, @@ -5756,86 +6144,86 @@ }, { "type": "ExpressionStatement", - "start": 1381, - "end": 1447, + "start": 1479, + "end": 1545, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 60, + "line": 64, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 1381, - "end": 1446, + "start": 1479, + "end": 1544, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 60, + "line": 64, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 1381, - "end": 1405, + "start": 1479, + "end": 1503, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 58, + "line": 62, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 1381, - "end": 1394, + "start": 1479, + "end": 1492, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 58, + "line": 62, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1381, - "end": 1385, + "start": 1479, + "end": 1483, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 58, + "line": 62, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1386, - "end": 1394, + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 58, + "line": 62, "column": 9 }, "end": { - "line": 58, + "line": 62, "column": 17 }, "identifierName": "keyboard" @@ -5846,15 +6234,15 @@ }, "property": { "type": "Identifier", - "start": 1395, - "end": 1405, + "start": 1493, + "end": 1503, "loc": { "start": { - "line": 58, + "line": 62, "column": 18 }, "end": { - "line": 58, + "line": 62, "column": 28 }, "identifierName": "setOptions" @@ -5866,30 +6254,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 1406, - "end": 1445, + "start": 1504, + "end": 1543, "loc": { "start": { - "line": 58, + "line": 62, "column": 29 }, "end": { - "line": 60, + "line": 64, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 1415, - "end": 1438, + "start": 1513, + "end": 1536, "loc": { "start": { - "line": 59, + "line": 63, "column": 6 }, "end": { - "line": 59, + "line": 63, "column": 29 } }, @@ -5898,15 +6286,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1415, - "end": 1425, + "start": 1513, + "end": 1523, "loc": { "start": { - "line": 59, + "line": 63, "column": 6 }, "end": { - "line": 59, + "line": 63, "column": 16 }, "identifierName": "layoutName" @@ -5915,15 +6303,15 @@ }, "value": { "type": "Identifier", - "start": 1427, - "end": 1438, + "start": 1525, + "end": 1536, "loc": { "start": { - "line": 59, + "line": 63, "column": 18 }, "end": { - "line": 59, + "line": 63, "column": 29 }, "identifierName": "shiftToggle" @@ -5946,15 +6334,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1168, - "end": 1212, + "start": 1266, + "end": 1310, "loc": { "start": { - "line": 51, + "line": 55, "column": 2 }, "end": { - "line": 53, + "line": 57, "column": 5 } } @@ -5964,15 +6352,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1458, - "end": 1520, + "start": 1556, + "end": 1618, "loc": { "start": { - "line": 63, + "line": 67, "column": 2 }, "end": { - "line": 65, + "line": 69, "column": 5 } } @@ -5981,15 +6369,15 @@ }, { "type": "ClassProperty", - "start": 1524, - "end": 1603, + "start": 1622, + "end": 1701, "loc": { "start": { - "line": 66, + "line": 70, "column": 2 }, "end": { - "line": 68, + "line": 72, "column": 3 } }, @@ -5997,15 +6385,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1524, - "end": 1532, + "start": 1622, + "end": 1630, "loc": { "start": { - "line": 66, + "line": 70, "column": 2 }, "end": { - "line": 66, + "line": 70, "column": 10 }, "identifierName": "onChange" @@ -6015,15 +6403,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1535, - "end": 1603, + "start": 1633, + "end": 1701, "loc": { "start": { - "line": 66, + "line": 70, "column": 13 }, "end": { - "line": 68, + "line": 72, "column": 3 } }, @@ -6034,15 +6422,15 @@ "params": [ { "type": "Identifier", - "start": 1535, - "end": 1540, + "start": 1633, + "end": 1638, "loc": { "start": { - "line": 66, + "line": 70, "column": 13 }, "end": { - "line": 66, + "line": 70, "column": 18 }, "identifierName": "input" @@ -6052,101 +6440,101 @@ ], "body": { "type": "BlockStatement", - "start": 1544, - "end": 1603, + "start": 1642, + "end": 1701, "loc": { "start": { - "line": 66, + "line": 70, "column": 22 }, "end": { - "line": 68, + "line": 72, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1551, - "end": 1598, + "start": 1649, + "end": 1696, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 1551, - "end": 1597, + "start": 1649, + "end": 1695, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1551, - "end": 1589, + "start": 1649, + "end": 1687, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 42 } }, "object": { "type": "CallExpression", - "start": 1551, - "end": 1583, + "start": 1649, + "end": 1681, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 1551, - "end": 1573, + "start": 1649, + "end": 1671, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 26 } }, "object": { "type": "Identifier", - "start": 1551, - "end": 1559, + "start": 1649, + "end": 1657, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 12 }, "identifierName": "document" @@ -6155,15 +6543,15 @@ }, "property": { "type": "Identifier", - "start": 1560, - "end": 1573, + "start": 1658, + "end": 1671, "loc": { "start": { - "line": 67, + "line": 71, "column": 13 }, "end": { - "line": 67, + "line": 71, "column": 26 }, "identifierName": "querySelector" @@ -6175,15 +6563,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1574, - "end": 1582, + "start": 1672, + "end": 1680, "loc": { "start": { - "line": 67, + "line": 71, "column": 27 }, "end": { - "line": 67, + "line": 71, "column": 35 } }, @@ -6197,15 +6585,15 @@ }, "property": { "type": "Identifier", - "start": 1584, - "end": 1589, + "start": 1682, + "end": 1687, "loc": { "start": { - "line": 67, + "line": 71, "column": 37 }, "end": { - "line": 67, + "line": 71, "column": 42 }, "identifierName": "value" @@ -6216,15 +6604,15 @@ }, "right": { "type": "Identifier", - "start": 1592, - "end": 1597, + "start": 1690, + "end": 1695, "loc": { "start": { - "line": 67, + "line": 71, "column": 45 }, "end": { - "line": 67, + "line": 71, "column": 50 }, "identifierName": "input" @@ -6243,15 +6631,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1458, - "end": 1520, + "start": 1556, + "end": 1618, "loc": { "start": { - "line": 63, + "line": 67, "column": 2 }, "end": { - "line": 65, + "line": 69, "column": 5 } } @@ -6261,15 +6649,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1609, - "end": 1670, + "start": 1707, + "end": 1768, "loc": { "start": { - "line": 70, + "line": 74, "column": 2 }, "end": { - "line": 72, + "line": 76, "column": 5 } } @@ -6278,15 +6666,15 @@ }, { "type": "ClassProperty", - "start": 1674, - "end": 1893, + "start": 1772, + "end": 1991, "loc": { "start": { - "line": 73, + "line": 77, "column": 2 }, "end": { - "line": 81, + "line": 85, "column": 3 } }, @@ -6294,15 +6682,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1674, - "end": 1684, + "start": 1772, + "end": 1782, "loc": { "start": { - "line": 73, + "line": 77, "column": 2 }, "end": { - "line": 73, + "line": 77, "column": 12 }, "identifierName": "onKeyPress" @@ -6312,15 +6700,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 1687, - "end": 1893, + "start": 1785, + "end": 1991, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 81, + "line": 85, "column": 3 } }, @@ -6331,15 +6719,15 @@ "params": [ { "type": "Identifier", - "start": 1687, - "end": 1693, + "start": 1785, + "end": 1791, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 21 }, "identifierName": "button" @@ -6349,72 +6737,72 @@ ], "body": { "type": "BlockStatement", - "start": 1697, - "end": 1893, + "start": 1795, + "end": 1991, "loc": { "start": { - "line": 73, + "line": 77, "column": 25 }, "end": { - "line": 81, + "line": 85, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1704, - "end": 1742, + "start": 1802, + "end": 1840, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 1704, - "end": 1741, + "start": 1802, + "end": 1839, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 1704, - "end": 1715, + "start": 1802, + "end": 1813, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 15 } }, "object": { "type": "Identifier", - "start": 1704, - "end": 1711, + "start": 1802, + "end": 1809, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 11 }, "identifierName": "console" @@ -6423,15 +6811,15 @@ }, "property": { "type": "Identifier", - "start": 1712, - "end": 1715, + "start": 1810, + "end": 1813, "loc": { "start": { - "line": 74, + "line": 78, "column": 12 }, "end": { - "line": 74, + "line": 78, "column": 15 }, "identifierName": "log" @@ -6443,15 +6831,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1716, - "end": 1732, + "start": 1814, + "end": 1830, "loc": { "start": { - "line": 74, + "line": 78, "column": 16 }, "end": { - "line": 74, + "line": 78, "column": 32 } }, @@ -6463,15 +6851,15 @@ }, { "type": "Identifier", - "start": 1734, - "end": 1740, + "start": 1832, + "end": 1838, "loc": { "start": { - "line": 74, + "line": 78, "column": 34 }, "end": { - "line": 74, + "line": 78, "column": 40 }, "identifierName": "button" @@ -6484,15 +6872,15 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1754, - "end": 1798, + "start": 1852, + "end": 1896, "loc": { "start": { - "line": 76, + "line": 80, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 9 } } @@ -6501,57 +6889,57 @@ }, { "type": "IfStatement", - "start": 1806, - "end": 1888, + "start": 1904, + "end": 1986, "loc": { "start": { - "line": 79, + "line": 83, "column": 6 }, "end": { - "line": 80, + "line": 84, "column": 33 } }, "test": { "type": "LogicalExpression", - "start": 1809, - "end": 1852, + "start": 1907, + "end": 1950, "loc": { "start": { - "line": 79, + "line": 83, "column": 9 }, "end": { - "line": 79, + "line": 83, "column": 52 } }, "left": { "type": "BinaryExpression", - "start": 1809, - "end": 1828, + "start": 1907, + "end": 1926, "loc": { "start": { - "line": 79, + "line": 83, "column": 9 }, "end": { - "line": 79, + "line": 83, "column": 28 } }, "left": { "type": "Identifier", - "start": 1809, - "end": 1815, + "start": 1907, + "end": 1913, "loc": { "start": { - "line": 79, + "line": 83, "column": 9 }, "end": { - "line": 79, + "line": 83, "column": 15 }, "identifierName": "button" @@ -6562,15 +6950,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1820, - "end": 1828, + "start": 1918, + "end": 1926, "loc": { "start": { - "line": 79, + "line": 83, "column": 20 }, "end": { - "line": 79, + "line": 83, "column": 28 } }, @@ -6585,29 +6973,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 1832, - "end": 1852, + "start": 1930, + "end": 1950, "loc": { "start": { - "line": 79, + "line": 83, "column": 32 }, "end": { - "line": 79, + "line": 83, "column": 52 } }, "left": { "type": "Identifier", - "start": 1832, - "end": 1838, + "start": 1930, + "end": 1936, "loc": { "start": { - "line": 79, + "line": 83, "column": 32 }, "end": { - "line": 79, + "line": 83, "column": 38 }, "identifierName": "button" @@ -6617,15 +7005,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1843, - "end": 1852, + "start": 1941, + "end": 1950, "loc": { "start": { - "line": 79, + "line": 83, "column": 43 }, "end": { - "line": 79, + "line": 83, "column": 52 } }, @@ -6640,72 +7028,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1863, - "end": 1888, + "start": 1961, + "end": 1986, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 1863, - "end": 1887, + "start": 1961, + "end": 1985, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 1863, - "end": 1885, + "start": 1961, + "end": 1983, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 1863, - "end": 1867, + "start": 1961, + "end": 1965, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1868, - "end": 1885, + "start": 1966, + "end": 1983, "loc": { "start": { - "line": 80, + "line": 84, "column": 13 }, "end": { - "line": 80, + "line": 84, "column": 30 }, "identifierName": "handleShiftButton" @@ -6722,15 +7110,15 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1754, - "end": 1798, + "start": 1852, + "end": 1896, "loc": { "start": { - "line": 76, + "line": 80, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 9 } } @@ -6745,15 +7133,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1609, - "end": 1670, + "start": 1707, + "end": 1768, "loc": { "start": { - "line": 70, + "line": 74, "column": 2 }, "end": { - "line": 72, + "line": 76, "column": 5 } } @@ -6869,34 +7257,18 @@ } } }, - { - "type": "CommentLine", - "value": "debug: true,", - "start": 537, - "end": 551, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 777, - "end": 824, + "start": 860, + "end": 907, "loc": { "start": { - "line": 37, + "line": 41, "column": 4 }, "end": { - "line": 39, + "line": 43, "column": 7 } } @@ -6904,15 +7276,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1168, - "end": 1212, + "start": 1266, + "end": 1310, "loc": { "start": { - "line": 51, + "line": 55, "column": 2 }, "end": { - "line": 53, + "line": 57, "column": 5 } } @@ -6920,15 +7292,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1458, - "end": 1520, + "start": 1556, + "end": 1618, "loc": { "start": { - "line": 63, + "line": 67, "column": 2 }, "end": { - "line": 65, + "line": 69, "column": 5 } } @@ -6936,15 +7308,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1609, - "end": 1670, + "start": 1707, + "end": 1768, "loc": { "start": { - "line": 70, + "line": 74, "column": 2 }, "end": { - "line": 72, + "line": 76, "column": 5 } } @@ -6952,15 +7324,15 @@ { "type": "CommentBlock", "value": "*\r\n * Shift functionality\r\n ", - "start": 1754, - "end": 1798, + "start": 1852, + "end": 1896, "loc": { "start": { - "line": 76, + "line": 80, "column": 6 }, "end": { - "line": 78, + "line": 82, "column": 9 } } @@ -8279,10 +8651,20 @@ } }, { - "type": "CommentLine", - "value": "debug: true,", + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", "start": 537, - "end": 551, + "end": 542, "loc": { "start": { "line": 29, @@ -8290,7 +8672,87 @@ }, "end": { "line": 29, - "column": 20 + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 542, + "end": 543, + "loc": { + "start": { + "line": 29, + "column": 11 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 544, + "end": 548, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 548, + "end": 549, + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 18 } } }, @@ -8307,8 +8769,8 @@ "binop": null }, "value": "layoutName", - "start": 559, - "end": 569, + "start": 557, + "end": 567, "loc": { "start": { "line": 30, @@ -8333,8 +8795,8 @@ "binop": null, "updateContext": null }, - "start": 569, - "end": 570, + "start": 567, + "end": 568, "loc": { "start": { "line": 30, @@ -8361,8 +8823,8 @@ "updateContext": null }, "value": "this", - "start": 571, - "end": 575, + "start": 569, + "end": 573, "loc": { "start": { "line": 30, @@ -8387,8 +8849,8 @@ "binop": null, "updateContext": null }, - "start": 575, - "end": 576, + "start": 573, + "end": 574, "loc": { "start": { "line": 30, @@ -8413,8 +8875,8 @@ "binop": null }, "value": "layoutName", - "start": 576, - "end": 586, + "start": 574, + "end": 584, "loc": { "start": { "line": 30, @@ -8439,8 +8901,8 @@ "binop": null, "updateContext": null }, - "start": 586, - "end": 587, + "start": 584, + "end": 585, "loc": { "start": { "line": 30, @@ -8465,8 +8927,8 @@ "binop": null }, "value": "onChange", - "start": 595, - "end": 603, + "start": 593, + "end": 601, "loc": { "start": { "line": 31, @@ -8491,8 +8953,8 @@ "binop": null, "updateContext": null }, - "start": 603, - "end": 604, + "start": 601, + "end": 602, "loc": { "start": { "line": 31, @@ -8517,8 +8979,8 @@ "binop": null }, "value": "input", - "start": 605, - "end": 610, + "start": 603, + "end": 608, "loc": { "start": { "line": 31, @@ -8543,8 +9005,8 @@ "binop": null, "updateContext": null }, - "start": 611, - "end": 613, + "start": 609, + "end": 611, "loc": { "start": { "line": 31, @@ -8571,8 +9033,8 @@ "updateContext": null }, "value": "this", - "start": 614, - "end": 618, + "start": 612, + "end": 616, "loc": { "start": { "line": 31, @@ -8597,8 +9059,8 @@ "binop": null, "updateContext": null }, - "start": 618, - "end": 619, + "start": 616, + "end": 617, "loc": { "start": { "line": 31, @@ -8623,8 +9085,8 @@ "binop": null }, "value": "onChange", - "start": 619, - "end": 627, + "start": 617, + "end": 625, "loc": { "start": { "line": 31, @@ -8648,8 +9110,8 @@ "postfix": false, "binop": null }, - "start": 627, - "end": 628, + "start": 625, + "end": 626, "loc": { "start": { "line": 31, @@ -8674,8 +9136,8 @@ "binop": null }, "value": "input", - "start": 628, - "end": 633, + "start": 626, + "end": 631, "loc": { "start": { "line": 31, @@ -8699,8 +9161,8 @@ "postfix": false, "binop": null }, - "start": 633, - "end": 634, + "start": 631, + "end": 632, "loc": { "start": { "line": 31, @@ -8725,8 +9187,8 @@ "binop": null, "updateContext": null }, - "start": 634, - "end": 635, + "start": 632, + "end": 633, "loc": { "start": { "line": 31, @@ -8751,8 +9213,8 @@ "binop": null }, "value": "onKeyPress", - "start": 643, - "end": 653, + "start": 641, + "end": 651, "loc": { "start": { "line": 32, @@ -8777,8 +9239,8 @@ "binop": null, "updateContext": null }, - "start": 653, - "end": 654, + "start": 651, + "end": 652, "loc": { "start": { "line": 32, @@ -8803,8 +9265,8 @@ "binop": null }, "value": "button", - "start": 655, - "end": 661, + "start": 653, + "end": 659, "loc": { "start": { "line": 32, @@ -8829,8 +9291,8 @@ "binop": null, "updateContext": null }, - "start": 662, - "end": 664, + "start": 660, + "end": 662, "loc": { "start": { "line": 32, @@ -8857,8 +9319,8 @@ "updateContext": null }, "value": "this", - "start": 665, - "end": 669, + "start": 663, + "end": 667, "loc": { "start": { "line": 32, @@ -8883,8 +9345,8 @@ "binop": null, "updateContext": null }, - "start": 669, - "end": 670, + "start": 667, + "end": 668, "loc": { "start": { "line": 32, @@ -8909,8 +9371,8 @@ "binop": null }, "value": "onKeyPress", - "start": 670, - "end": 680, + "start": 668, + "end": 678, "loc": { "start": { "line": 32, @@ -8934,8 +9396,8 @@ "postfix": false, "binop": null }, - "start": 680, - "end": 681, + "start": 678, + "end": 679, "loc": { "start": { "line": 32, @@ -8960,8 +9422,8 @@ "binop": null }, "value": "button", - "start": 681, - "end": 687, + "start": 679, + "end": 685, "loc": { "start": { "line": 32, @@ -8985,8 +9447,8 @@ "postfix": false, "binop": null }, - "start": 687, - "end": 688, + "start": 685, + "end": 686, "loc": { "start": { "line": 32, @@ -9011,8 +9473,8 @@ "binop": null, "updateContext": null }, - "start": 688, - "end": 689, + "start": 686, + "end": 687, "loc": { "start": { "line": 32, @@ -9037,8 +9499,8 @@ "binop": null }, "value": "newLineOnEnter", - "start": 697, - "end": 711, + "start": 695, + "end": 709, "loc": { "start": { "line": 33, @@ -9063,8 +9525,8 @@ "binop": null, "updateContext": null }, - "start": 711, - "end": 712, + "start": 709, + "end": 710, "loc": { "start": { "line": 33, @@ -9091,8 +9553,8 @@ "updateContext": null }, "value": "true", - "start": 713, - "end": 717, + "start": 711, + "end": 715, "loc": { "start": { "line": 33, @@ -9117,8 +9579,8 @@ "binop": null, "updateContext": null }, - "start": 717, - "end": 718, + "start": 715, + "end": 716, "loc": { "start": { "line": 33, @@ -9143,8 +9605,8 @@ "binop": null }, "value": "physicalKeyboardHighlight", - "start": 726, - "end": 751, + "start": 724, + "end": 749, "loc": { "start": { "line": 34, @@ -9169,8 +9631,8 @@ "binop": null, "updateContext": null }, - "start": 751, - "end": 752, + "start": 749, + "end": 750, "loc": { "start": { "line": 34, @@ -9197,8 +9659,8 @@ "updateContext": null }, "value": "true", - "start": 753, - "end": 757, + "start": 751, + "end": 755, "loc": { "start": { "line": 34, @@ -9223,8 +9685,8 @@ "binop": null, "updateContext": null }, - "start": 757, - "end": 758, + "start": 755, + "end": 756, "loc": { "start": { "line": 34, @@ -9236,6 +9698,267 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 764, + "end": 773, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 773, + "end": 774, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "inputPhone", + "start": 775, + "end": 787, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 787, + "end": 788, + "loc": { + "start": { + "line": 35, + "column": 29 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "maxLength", + "start": 796, + "end": 805, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 805, + "end": 806, + "loc": { + "start": { + "line": 36, + "column": 15 + }, + "end": { + "line": 36, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 807, + "end": 808, + "loc": { + "start": { + "line": 36, + "column": 17 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputPhone", + "start": 818, + "end": 828, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 828, + "end": 829, + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 11, + "start": 830, + "end": 832, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, { "type": { "label": "}", @@ -9248,15 +9971,40 @@ "postfix": false, "binop": null }, - "start": 764, - "end": 765, + "start": 840, + "end": 841, "loc": { "start": { - "line": 35, + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 847, + "end": 848, + "loc": { + "start": { + "line": 39, "column": 4 }, "end": { - "line": 35, + "line": 39, "column": 5 } } @@ -9273,15 +10021,15 @@ "postfix": false, "binop": null }, - "start": 765, - "end": 766, + "start": 848, + "end": 849, "loc": { "start": { - "line": 35, + "line": 39, "column": 5 }, "end": { - "line": 35, + "line": 39, "column": 6 } } @@ -9299,15 +10047,15 @@ "binop": null, "updateContext": null }, - "start": 766, - "end": 767, + "start": 849, + "end": 850, "loc": { "start": { - "line": 35, + "line": 39, "column": 6 }, "end": { - "line": 35, + "line": 39, "column": 7 } } @@ -9315,15 +10063,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding preview (demo only)\r\n ", - "start": 777, - "end": 824, + "start": 860, + "end": 907, "loc": { "start": { - "line": 37, + "line": 41, "column": 4 }, "end": { - "line": 39, + "line": 43, "column": 7 } } @@ -9341,15 +10089,15 @@ "binop": null }, "value": "document", - "start": 830, - "end": 838, + "start": 913, + "end": 921, "loc": { "start": { - "line": 40, + "line": 44, "column": 4 }, "end": { - "line": 40, + "line": 44, "column": 12 } } @@ -9367,15 +10115,15 @@ "binop": null, "updateContext": null }, - "start": 838, - "end": 839, + "start": 921, + "end": 922, "loc": { "start": { - "line": 40, + "line": 44, "column": 12 }, "end": { - "line": 40, + "line": 44, "column": 13 } } @@ -9393,15 +10141,15 @@ "binop": null }, "value": "querySelector", - "start": 839, - "end": 852, + "start": 922, + "end": 935, "loc": { "start": { - "line": 40, + "line": 44, "column": 13 }, "end": { - "line": 40, + "line": 44, "column": 26 } } @@ -9418,15 +10166,15 @@ "postfix": false, "binop": null }, - "start": 852, - "end": 853, + "start": 935, + "end": 936, "loc": { "start": { - "line": 40, + "line": 44, "column": 26 }, "end": { - "line": 40, + "line": 44, "column": 27 } } @@ -9445,15 +10193,15 @@ "updateContext": null }, "value": ".simple-keyboard", - "start": 853, - "end": 871, + "start": 936, + "end": 954, "loc": { "start": { - "line": 40, + "line": 44, "column": 27 }, "end": { - "line": 40, + "line": 44, "column": 45 } } @@ -9470,15 +10218,15 @@ "postfix": false, "binop": null }, - "start": 871, - "end": 872, + "start": 954, + "end": 955, "loc": { "start": { - "line": 40, + "line": 44, "column": 45 }, "end": { - "line": 40, + "line": 44, "column": 46 } } @@ -9496,15 +10244,15 @@ "binop": null, "updateContext": null }, - "start": 872, - "end": 873, + "start": 955, + "end": 956, "loc": { "start": { - "line": 40, + "line": 44, "column": 46 }, "end": { - "line": 40, + "line": 44, "column": 47 } } @@ -9522,15 +10270,15 @@ "binop": null }, "value": "insertAdjacentHTML", - "start": 873, - "end": 891, + "start": 956, + "end": 974, "loc": { "start": { - "line": 40, + "line": 44, "column": 47 }, "end": { - "line": 40, + "line": 44, "column": 65 } } @@ -9547,15 +10295,15 @@ "postfix": false, "binop": null }, - "start": 891, - "end": 892, + "start": 974, + "end": 975, "loc": { "start": { - "line": 40, + "line": 44, "column": 65 }, "end": { - "line": 40, + "line": 44, "column": 66 } } @@ -9574,15 +10322,15 @@ "updateContext": null }, "value": "beforebegin", - "start": 892, - "end": 905, + "start": 975, + "end": 988, "loc": { "start": { - "line": 40, + "line": 44, "column": 66 }, "end": { - "line": 40, + "line": 44, "column": 79 } } @@ -9600,15 +10348,15 @@ "binop": null, "updateContext": null }, - "start": 905, - "end": 906, + "start": 988, + "end": 989, "loc": { "start": { - "line": 40, + "line": 44, "column": 79 }, "end": { - "line": 40, + "line": 44, "column": 80 } } @@ -9625,15 +10373,15 @@ "postfix": false, "binop": null }, - "start": 907, - "end": 908, + "start": 990, + "end": 991, "loc": { "start": { - "line": 40, + "line": 44, "column": 81 }, "end": { - "line": 40, + "line": 44, "column": 82 } } @@ -9651,16 +10399,16 @@ "binop": null, "updateContext": null }, - "value": "\n
\n \n
\n ", - "start": 908, - "end": 1012, + "value": "\n
\n \n
\n ", + "start": 991, + "end": 1110, "loc": { "start": { - "line": 40, + "line": 44, "column": 82 }, "end": { - "line": 44, + "line": 48, "column": 4 } } @@ -9677,15 +10425,15 @@ "postfix": false, "binop": null }, - "start": 1012, - "end": 1013, + "start": 1110, + "end": 1111, "loc": { "start": { - "line": 44, + "line": 48, "column": 4 }, "end": { - "line": 44, + "line": 48, "column": 5 } } @@ -9702,15 +10450,15 @@ "postfix": false, "binop": null }, - "start": 1013, - "end": 1014, + "start": 1111, + "end": 1112, "loc": { "start": { - "line": 44, + "line": 48, "column": 5 }, "end": { - "line": 44, + "line": 48, "column": 6 } } @@ -9728,15 +10476,15 @@ "binop": null, "updateContext": null }, - "start": 1014, - "end": 1015, + "start": 1112, + "end": 1113, "loc": { "start": { - "line": 44, + "line": 48, "column": 6 }, "end": { - "line": 44, + "line": 48, "column": 7 } } @@ -9754,15 +10502,15 @@ "binop": null }, "value": "document", - "start": 1025, - "end": 1033, + "start": 1123, + "end": 1131, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 12 } } @@ -9780,15 +10528,15 @@ "binop": null, "updateContext": null }, - "start": 1033, - "end": 1034, + "start": 1131, + "end": 1132, "loc": { "start": { - "line": 46, + "line": 50, "column": 12 }, "end": { - "line": 46, + "line": 50, "column": 13 } } @@ -9806,15 +10554,15 @@ "binop": null }, "value": "querySelector", - "start": 1034, - "end": 1047, + "start": 1132, + "end": 1145, "loc": { "start": { - "line": 46, + "line": 50, "column": 13 }, "end": { - "line": 46, + "line": 50, "column": 26 } } @@ -9831,15 +10579,15 @@ "postfix": false, "binop": null }, - "start": 1047, - "end": 1048, + "start": 1145, + "end": 1146, "loc": { "start": { - "line": 46, + "line": 50, "column": 26 }, "end": { - "line": 46, + "line": 50, "column": 27 } } @@ -9858,15 +10606,15 @@ "updateContext": null }, "value": ".input", - "start": 1048, - "end": 1056, + "start": 1146, + "end": 1154, "loc": { "start": { - "line": 46, + "line": 50, "column": 27 }, "end": { - "line": 46, + "line": 50, "column": 35 } } @@ -9883,15 +10631,15 @@ "postfix": false, "binop": null }, - "start": 1056, - "end": 1057, + "start": 1154, + "end": 1155, "loc": { "start": { - "line": 46, + "line": 50, "column": 35 }, "end": { - "line": 46, + "line": 50, "column": 36 } } @@ -9909,15 +10657,15 @@ "binop": null, "updateContext": null }, - "start": 1057, - "end": 1058, + "start": 1155, + "end": 1156, "loc": { "start": { - "line": 46, + "line": 50, "column": 36 }, "end": { - "line": 46, + "line": 50, "column": 37 } } @@ -9935,15 +10683,15 @@ "binop": null }, "value": "addEventListener", - "start": 1058, - "end": 1074, + "start": 1156, + "end": 1172, "loc": { "start": { - "line": 46, + "line": 50, "column": 37 }, "end": { - "line": 46, + "line": 50, "column": 53 } } @@ -9960,15 +10708,15 @@ "postfix": false, "binop": null }, - "start": 1074, - "end": 1075, + "start": 1172, + "end": 1173, "loc": { "start": { - "line": 46, + "line": 50, "column": 53 }, "end": { - "line": 46, + "line": 50, "column": 54 } } @@ -9987,15 +10735,15 @@ "updateContext": null }, "value": "change", - "start": 1075, - "end": 1083, + "start": 1173, + "end": 1181, "loc": { "start": { - "line": 46, + "line": 50, "column": 54 }, "end": { - "line": 46, + "line": 50, "column": 62 } } @@ -10013,15 +10761,15 @@ "binop": null, "updateContext": null }, - "start": 1083, - "end": 1084, + "start": 1181, + "end": 1182, "loc": { "start": { - "line": 46, + "line": 50, "column": 62 }, "end": { - "line": 46, + "line": 50, "column": 63 } } @@ -10038,15 +10786,15 @@ "postfix": false, "binop": null }, - "start": 1085, - "end": 1086, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 46, + "line": 50, "column": 64 }, "end": { - "line": 46, + "line": 50, "column": 65 } } @@ -10064,15 +10812,15 @@ "binop": null }, "value": "event", - "start": 1086, - "end": 1091, + "start": 1184, + "end": 1189, "loc": { "start": { - "line": 46, + "line": 50, "column": 65 }, "end": { - "line": 46, + "line": 50, "column": 70 } } @@ -10089,15 +10837,15 @@ "postfix": false, "binop": null }, - "start": 1091, - "end": 1092, + "start": 1189, + "end": 1190, "loc": { "start": { - "line": 46, + "line": 50, "column": 70 }, "end": { - "line": 46, + "line": 50, "column": 71 } } @@ -10115,15 +10863,15 @@ "binop": null, "updateContext": null }, - "start": 1093, - "end": 1095, + "start": 1191, + "end": 1193, "loc": { "start": { - "line": 46, + "line": 50, "column": 72 }, "end": { - "line": 46, + "line": 50, "column": 74 } } @@ -10140,15 +10888,15 @@ "postfix": false, "binop": null }, - "start": 1096, - "end": 1097, + "start": 1194, + "end": 1195, "loc": { "start": { - "line": 46, + "line": 50, "column": 75 }, "end": { - "line": 46, + "line": 50, "column": 76 } } @@ -10168,15 +10916,15 @@ "updateContext": null }, "value": "this", - "start": 1105, - "end": 1109, + "start": 1203, + "end": 1207, "loc": { "start": { - "line": 47, + "line": 51, "column": 6 }, "end": { - "line": 47, + "line": 51, "column": 10 } } @@ -10194,15 +10942,15 @@ "binop": null, "updateContext": null }, - "start": 1109, - "end": 1110, + "start": 1207, + "end": 1208, "loc": { "start": { - "line": 47, + "line": 51, "column": 10 }, "end": { - "line": 47, + "line": 51, "column": 11 } } @@ -10220,15 +10968,15 @@ "binop": null }, "value": "keyboard", - "start": 1110, - "end": 1118, + "start": 1208, + "end": 1216, "loc": { "start": { - "line": 47, + "line": 51, "column": 11 }, "end": { - "line": 47, + "line": 51, "column": 19 } } @@ -10246,15 +10994,15 @@ "binop": null, "updateContext": null }, - "start": 1118, - "end": 1119, + "start": 1216, + "end": 1217, "loc": { "start": { - "line": 47, + "line": 51, "column": 19 }, "end": { - "line": 47, + "line": 51, "column": 20 } } @@ -10272,15 +11020,15 @@ "binop": null }, "value": "setInput", - "start": 1119, - "end": 1127, + "start": 1217, + "end": 1225, "loc": { "start": { - "line": 47, + "line": 51, "column": 20 }, "end": { - "line": 47, + "line": 51, "column": 28 } } @@ -10297,15 +11045,15 @@ "postfix": false, "binop": null }, - "start": 1127, - "end": 1128, + "start": 1225, + "end": 1226, "loc": { "start": { - "line": 47, + "line": 51, "column": 28 }, "end": { - "line": 47, + "line": 51, "column": 29 } } @@ -10323,15 +11071,15 @@ "binop": null }, "value": "event", - "start": 1128, - "end": 1133, + "start": 1226, + "end": 1231, "loc": { "start": { - "line": 47, + "line": 51, "column": 29 }, "end": { - "line": 47, + "line": 51, "column": 34 } } @@ -10349,15 +11097,15 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "start": 1231, + "end": 1232, "loc": { "start": { - "line": 47, + "line": 51, "column": 34 }, "end": { - "line": 47, + "line": 51, "column": 35 } } @@ -10375,15 +11123,15 @@ "binop": null }, "value": "target", - "start": 1134, - "end": 1140, + "start": 1232, + "end": 1238, "loc": { "start": { - "line": 47, + "line": 51, "column": 35 }, "end": { - "line": 47, + "line": 51, "column": 41 } } @@ -10401,15 +11149,15 @@ "binop": null, "updateContext": null }, - "start": 1140, - "end": 1141, + "start": 1238, + "end": 1239, "loc": { "start": { - "line": 47, + "line": 51, "column": 41 }, "end": { - "line": 47, + "line": 51, "column": 42 } } @@ -10427,15 +11175,15 @@ "binop": null }, "value": "value", - "start": 1141, - "end": 1146, + "start": 1239, + "end": 1244, "loc": { "start": { - "line": 47, + "line": 51, "column": 42 }, "end": { - "line": 47, + "line": 51, "column": 47 } } @@ -10452,15 +11200,15 @@ "postfix": false, "binop": null }, - "start": 1146, - "end": 1147, + "start": 1244, + "end": 1245, "loc": { "start": { - "line": 47, + "line": 51, "column": 47 }, "end": { - "line": 47, + "line": 51, "column": 48 } } @@ -10478,15 +11226,15 @@ "binop": null, "updateContext": null }, - "start": 1147, - "end": 1148, + "start": 1245, + "end": 1246, "loc": { "start": { - "line": 47, + "line": 51, "column": 48 }, "end": { - "line": 47, + "line": 51, "column": 49 } } @@ -10503,15 +11251,15 @@ "postfix": false, "binop": null }, - "start": 1154, - "end": 1155, + "start": 1252, + "end": 1253, "loc": { "start": { - "line": 48, + "line": 52, "column": 4 }, "end": { - "line": 48, + "line": 52, "column": 5 } } @@ -10528,15 +11276,15 @@ "postfix": false, "binop": null }, - "start": 1155, - "end": 1156, + "start": 1253, + "end": 1254, "loc": { "start": { - "line": 48, + "line": 52, "column": 5 }, "end": { - "line": 48, + "line": 52, "column": 6 } } @@ -10554,15 +11302,15 @@ "binop": null, "updateContext": null }, - "start": 1156, - "end": 1157, + "start": 1254, + "end": 1255, "loc": { "start": { - "line": 48, + "line": 52, "column": 6 }, "end": { - "line": 48, + "line": 52, "column": 7 } } @@ -10579,15 +11327,15 @@ "postfix": false, "binop": null }, - "start": 1161, - "end": 1162, + "start": 1259, + "end": 1260, "loc": { "start": { - "line": 49, + "line": 53, "column": 2 }, "end": { - "line": 49, + "line": 53, "column": 3 } } @@ -10595,15 +11343,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles shift functionality\r\n ", - "start": 1168, - "end": 1212, + "start": 1266, + "end": 1310, "loc": { "start": { - "line": 51, + "line": 55, "column": 2 }, "end": { - "line": 53, + "line": 57, "column": 5 } } @@ -10621,15 +11369,15 @@ "binop": null }, "value": "handleShiftButton", - "start": 1216, - "end": 1233, + "start": 1314, + "end": 1331, "loc": { "start": { - "line": 54, + "line": 58, "column": 2 }, "end": { - "line": 54, + "line": 58, "column": 19 } } @@ -10648,15 +11396,15 @@ "updateContext": null }, "value": "=", - "start": 1234, - "end": 1235, + "start": 1332, + "end": 1333, "loc": { "start": { - "line": 54, + "line": 58, "column": 20 }, "end": { - "line": 54, + "line": 58, "column": 21 } } @@ -10673,15 +11421,15 @@ "postfix": false, "binop": null }, - "start": 1236, - "end": 1237, + "start": 1334, + "end": 1335, "loc": { "start": { - "line": 54, + "line": 58, "column": 22 }, "end": { - "line": 54, + "line": 58, "column": 23 } } @@ -10698,15 +11446,15 @@ "postfix": false, "binop": null }, - "start": 1237, - "end": 1238, + "start": 1335, + "end": 1336, "loc": { "start": { - "line": 54, + "line": 58, "column": 23 }, "end": { - "line": 54, + "line": 58, "column": 24 } } @@ -10724,15 +11472,15 @@ "binop": null, "updateContext": null }, - "start": 1239, - "end": 1241, + "start": 1337, + "end": 1339, "loc": { "start": { - "line": 54, + "line": 58, "column": 25 }, "end": { - "line": 54, + "line": 58, "column": 27 } } @@ -10749,15 +11497,15 @@ "postfix": false, "binop": null }, - "start": 1242, - "end": 1243, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 54, + "line": 58, "column": 28 }, "end": { - "line": 54, + "line": 58, "column": 29 } } @@ -10777,15 +11525,15 @@ "updateContext": null }, "value": "let", - "start": 1249, - "end": 1252, + "start": 1347, + "end": 1350, "loc": { "start": { - "line": 55, + "line": 59, "column": 4 }, "end": { - "line": 55, + "line": 59, "column": 7 } } @@ -10803,15 +11551,15 @@ "binop": null }, "value": "layoutName", - "start": 1253, - "end": 1263, + "start": 1351, + "end": 1361, "loc": { "start": { - "line": 55, + "line": 59, "column": 8 }, "end": { - "line": 55, + "line": 59, "column": 18 } } @@ -10830,15 +11578,15 @@ "updateContext": null }, "value": "=", - "start": 1264, - "end": 1265, + "start": 1362, + "end": 1363, "loc": { "start": { - "line": 55, + "line": 59, "column": 19 }, "end": { - "line": 55, + "line": 59, "column": 20 } } @@ -10858,15 +11606,15 @@ "updateContext": null }, "value": "this", - "start": 1266, - "end": 1270, + "start": 1364, + "end": 1368, "loc": { "start": { - "line": 55, + "line": 59, "column": 21 }, "end": { - "line": 55, + "line": 59, "column": 25 } } @@ -10884,15 +11632,15 @@ "binop": null, "updateContext": null }, - "start": 1270, - "end": 1271, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 55, + "line": 59, "column": 25 }, "end": { - "line": 55, + "line": 59, "column": 26 } } @@ -10910,15 +11658,15 @@ "binop": null }, "value": "layoutName", - "start": 1271, - "end": 1281, + "start": 1369, + "end": 1379, "loc": { "start": { - "line": 55, + "line": 59, "column": 26 }, "end": { - "line": 55, + "line": 59, "column": 36 } } @@ -10936,15 +11684,15 @@ "binop": null, "updateContext": null }, - "start": 1281, - "end": 1282, + "start": 1379, + "end": 1380, "loc": { "start": { - "line": 55, + "line": 59, "column": 36 }, "end": { - "line": 55, + "line": 59, "column": 37 } } @@ -10964,15 +11712,15 @@ "updateContext": null }, "value": "let", - "start": 1288, - "end": 1291, + "start": 1386, + "end": 1389, "loc": { "start": { - "line": 56, + "line": 60, "column": 4 }, "end": { - "line": 56, + "line": 60, "column": 7 } } @@ -10990,15 +11738,15 @@ "binop": null }, "value": "shiftToggle", - "start": 1292, - "end": 1303, + "start": 1390, + "end": 1401, "loc": { "start": { - "line": 56, + "line": 60, "column": 8 }, "end": { - "line": 56, + "line": 60, "column": 19 } } @@ -11017,15 +11765,15 @@ "updateContext": null }, "value": "=", - "start": 1304, - "end": 1305, + "start": 1402, + "end": 1403, "loc": { "start": { - "line": 56, + "line": 60, "column": 20 }, "end": { - "line": 56, + "line": 60, "column": 21 } } @@ -11045,15 +11793,15 @@ "updateContext": null }, "value": "this", - "start": 1306, - "end": 1310, + "start": 1404, + "end": 1408, "loc": { "start": { - "line": 56, + "line": 60, "column": 22 }, "end": { - "line": 56, + "line": 60, "column": 26 } } @@ -11071,15 +11819,15 @@ "binop": null, "updateContext": null }, - "start": 1310, - "end": 1311, + "start": 1408, + "end": 1409, "loc": { "start": { - "line": 56, + "line": 60, "column": 26 }, "end": { - "line": 56, + "line": 60, "column": 27 } } @@ -11097,15 +11845,15 @@ "binop": null }, "value": "layoutName", - "start": 1311, - "end": 1321, + "start": 1409, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 60, "column": 27 }, "end": { - "line": 56, + "line": 60, "column": 37 } } @@ -11124,15 +11872,15 @@ "updateContext": null }, "value": "=", - "start": 1322, - "end": 1323, + "start": 1420, + "end": 1421, "loc": { "start": { - "line": 56, + "line": 60, "column": 38 }, "end": { - "line": 56, + "line": 60, "column": 39 } } @@ -11150,15 +11898,15 @@ "binop": null }, "value": "layoutName", - "start": 1324, - "end": 1334, + "start": 1422, + "end": 1432, "loc": { "start": { - "line": 56, + "line": 60, "column": 40 }, "end": { - "line": 56, + "line": 60, "column": 50 } } @@ -11177,15 +11925,15 @@ "updateContext": null }, "value": "===", - "start": 1335, - "end": 1338, + "start": 1433, + "end": 1436, "loc": { "start": { - "line": 56, + "line": 60, "column": 51 }, "end": { - "line": 56, + "line": 60, "column": 54 } } @@ -11204,15 +11952,15 @@ "updateContext": null }, "value": "default", - "start": 1339, - "end": 1348, + "start": 1437, + "end": 1446, "loc": { "start": { - "line": 56, + "line": 60, "column": 55 }, "end": { - "line": 56, + "line": 60, "column": 64 } } @@ -11230,15 +11978,15 @@ "binop": null, "updateContext": null }, - "start": 1349, - "end": 1350, + "start": 1447, + "end": 1448, "loc": { "start": { - "line": 56, + "line": 60, "column": 65 }, "end": { - "line": 56, + "line": 60, "column": 66 } } @@ -11257,15 +12005,15 @@ "updateContext": null }, "value": "shift", - "start": 1351, - "end": 1358, + "start": 1449, + "end": 1456, "loc": { "start": { - "line": 56, + "line": 60, "column": 67 }, "end": { - "line": 56, + "line": 60, "column": 74 } } @@ -11283,15 +12031,15 @@ "binop": null, "updateContext": null }, - "start": 1359, - "end": 1360, + "start": 1457, + "end": 1458, "loc": { "start": { - "line": 56, + "line": 60, "column": 75 }, "end": { - "line": 56, + "line": 60, "column": 76 } } @@ -11310,15 +12058,15 @@ "updateContext": null }, "value": "default", - "start": 1361, - "end": 1370, + "start": 1459, + "end": 1468, "loc": { "start": { - "line": 56, + "line": 60, "column": 77 }, "end": { - "line": 56, + "line": 60, "column": 86 } } @@ -11336,15 +12084,15 @@ "binop": null, "updateContext": null }, - "start": 1370, - "end": 1371, + "start": 1468, + "end": 1469, "loc": { "start": { - "line": 56, + "line": 60, "column": 86 }, "end": { - "line": 56, + "line": 60, "column": 87 } } @@ -11364,15 +12112,15 @@ "updateContext": null }, "value": "this", - "start": 1381, - "end": 1385, + "start": 1479, + "end": 1483, "loc": { "start": { - "line": 58, + "line": 62, "column": 4 }, "end": { - "line": 58, + "line": 62, "column": 8 } } @@ -11390,15 +12138,15 @@ "binop": null, "updateContext": null }, - "start": 1385, - "end": 1386, + "start": 1483, + "end": 1484, "loc": { "start": { - "line": 58, + "line": 62, "column": 8 }, "end": { - "line": 58, + "line": 62, "column": 9 } } @@ -11416,15 +12164,15 @@ "binop": null }, "value": "keyboard", - "start": 1386, - "end": 1394, + "start": 1484, + "end": 1492, "loc": { "start": { - "line": 58, + "line": 62, "column": 9 }, "end": { - "line": 58, + "line": 62, "column": 17 } } @@ -11442,15 +12190,15 @@ "binop": null, "updateContext": null }, - "start": 1394, - "end": 1395, + "start": 1492, + "end": 1493, "loc": { "start": { - "line": 58, + "line": 62, "column": 17 }, "end": { - "line": 58, + "line": 62, "column": 18 } } @@ -11468,15 +12216,15 @@ "binop": null }, "value": "setOptions", - "start": 1395, - "end": 1405, + "start": 1493, + "end": 1503, "loc": { "start": { - "line": 58, + "line": 62, "column": 18 }, "end": { - "line": 58, + "line": 62, "column": 28 } } @@ -11493,15 +12241,15 @@ "postfix": false, "binop": null }, - "start": 1405, - "end": 1406, + "start": 1503, + "end": 1504, "loc": { "start": { - "line": 58, + "line": 62, "column": 28 }, "end": { - "line": 58, + "line": 62, "column": 29 } } @@ -11518,15 +12266,15 @@ "postfix": false, "binop": null }, - "start": 1406, - "end": 1407, + "start": 1504, + "end": 1505, "loc": { "start": { - "line": 58, + "line": 62, "column": 29 }, "end": { - "line": 58, + "line": 62, "column": 30 } } @@ -11544,15 +12292,15 @@ "binop": null }, "value": "layoutName", - "start": 1415, - "end": 1425, + "start": 1513, + "end": 1523, "loc": { "start": { - "line": 59, + "line": 63, "column": 6 }, "end": { - "line": 59, + "line": 63, "column": 16 } } @@ -11570,15 +12318,15 @@ "binop": null, "updateContext": null }, - "start": 1425, - "end": 1426, + "start": 1523, + "end": 1524, "loc": { "start": { - "line": 59, + "line": 63, "column": 16 }, "end": { - "line": 59, + "line": 63, "column": 17 } } @@ -11596,15 +12344,15 @@ "binop": null }, "value": "shiftToggle", - "start": 1427, - "end": 1438, + "start": 1525, + "end": 1536, "loc": { "start": { - "line": 59, + "line": 63, "column": 18 }, "end": { - "line": 59, + "line": 63, "column": 29 } } @@ -11621,15 +12369,15 @@ "postfix": false, "binop": null }, - "start": 1444, - "end": 1445, + "start": 1542, + "end": 1543, "loc": { "start": { - "line": 60, + "line": 64, "column": 4 }, "end": { - "line": 60, + "line": 64, "column": 5 } } @@ -11646,15 +12394,15 @@ "postfix": false, "binop": null }, - "start": 1445, - "end": 1446, + "start": 1543, + "end": 1544, "loc": { "start": { - "line": 60, + "line": 64, "column": 5 }, "end": { - "line": 60, + "line": 64, "column": 6 } } @@ -11672,15 +12420,15 @@ "binop": null, "updateContext": null }, - "start": 1446, - "end": 1447, + "start": 1544, + "end": 1545, "loc": { "start": { - "line": 60, + "line": 64, "column": 6 }, "end": { - "line": 60, + "line": 64, "column": 7 } } @@ -11697,15 +12445,15 @@ "postfix": false, "binop": null }, - "start": 1451, - "end": 1452, + "start": 1549, + "end": 1550, "loc": { "start": { - "line": 61, + "line": 65, "column": 2 }, "end": { - "line": 61, + "line": 65, "column": 3 } } @@ -11713,15 +12461,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when simple-keyboard input has changed\r\n ", - "start": 1458, - "end": 1520, + "start": 1556, + "end": 1618, "loc": { "start": { - "line": 63, + "line": 67, "column": 2 }, "end": { - "line": 65, + "line": 69, "column": 5 } } @@ -11739,15 +12487,15 @@ "binop": null }, "value": "onChange", - "start": 1524, - "end": 1532, + "start": 1622, + "end": 1630, "loc": { "start": { - "line": 66, + "line": 70, "column": 2 }, "end": { - "line": 66, + "line": 70, "column": 10 } } @@ -11766,15 +12514,15 @@ "updateContext": null }, "value": "=", - "start": 1533, - "end": 1534, + "start": 1631, + "end": 1632, "loc": { "start": { - "line": 66, + "line": 70, "column": 11 }, "end": { - "line": 66, + "line": 70, "column": 12 } } @@ -11792,15 +12540,15 @@ "binop": null }, "value": "input", - "start": 1535, - "end": 1540, + "start": 1633, + "end": 1638, "loc": { "start": { - "line": 66, + "line": 70, "column": 13 }, "end": { - "line": 66, + "line": 70, "column": 18 } } @@ -11818,15 +12566,15 @@ "binop": null, "updateContext": null }, - "start": 1541, - "end": 1543, + "start": 1639, + "end": 1641, "loc": { "start": { - "line": 66, + "line": 70, "column": 19 }, "end": { - "line": 66, + "line": 70, "column": 21 } } @@ -11843,15 +12591,15 @@ "postfix": false, "binop": null }, - "start": 1544, - "end": 1545, + "start": 1642, + "end": 1643, "loc": { "start": { - "line": 66, + "line": 70, "column": 22 }, "end": { - "line": 66, + "line": 70, "column": 23 } } @@ -11869,15 +12617,15 @@ "binop": null }, "value": "document", - "start": 1551, - "end": 1559, + "start": 1649, + "end": 1657, "loc": { "start": { - "line": 67, + "line": 71, "column": 4 }, "end": { - "line": 67, + "line": 71, "column": 12 } } @@ -11895,15 +12643,15 @@ "binop": null, "updateContext": null }, - "start": 1559, - "end": 1560, + "start": 1657, + "end": 1658, "loc": { "start": { - "line": 67, + "line": 71, "column": 12 }, "end": { - "line": 67, + "line": 71, "column": 13 } } @@ -11921,15 +12669,15 @@ "binop": null }, "value": "querySelector", - "start": 1560, - "end": 1573, + "start": 1658, + "end": 1671, "loc": { "start": { - "line": 67, + "line": 71, "column": 13 }, "end": { - "line": 67, + "line": 71, "column": 26 } } @@ -11946,15 +12694,15 @@ "postfix": false, "binop": null }, - "start": 1573, - "end": 1574, + "start": 1671, + "end": 1672, "loc": { "start": { - "line": 67, + "line": 71, "column": 26 }, "end": { - "line": 67, + "line": 71, "column": 27 } } @@ -11973,15 +12721,15 @@ "updateContext": null }, "value": ".input", - "start": 1574, - "end": 1582, + "start": 1672, + "end": 1680, "loc": { "start": { - "line": 67, + "line": 71, "column": 27 }, "end": { - "line": 67, + "line": 71, "column": 35 } } @@ -11998,15 +12746,15 @@ "postfix": false, "binop": null }, - "start": 1582, - "end": 1583, + "start": 1680, + "end": 1681, "loc": { "start": { - "line": 67, + "line": 71, "column": 35 }, "end": { - "line": 67, + "line": 71, "column": 36 } } @@ -12024,15 +12772,15 @@ "binop": null, "updateContext": null }, - "start": 1583, - "end": 1584, + "start": 1681, + "end": 1682, "loc": { "start": { - "line": 67, + "line": 71, "column": 36 }, "end": { - "line": 67, + "line": 71, "column": 37 } } @@ -12050,15 +12798,15 @@ "binop": null }, "value": "value", - "start": 1584, - "end": 1589, + "start": 1682, + "end": 1687, "loc": { "start": { - "line": 67, + "line": 71, "column": 37 }, "end": { - "line": 67, + "line": 71, "column": 42 } } @@ -12077,15 +12825,15 @@ "updateContext": null }, "value": "=", - "start": 1590, - "end": 1591, + "start": 1688, + "end": 1689, "loc": { "start": { - "line": 67, + "line": 71, "column": 43 }, "end": { - "line": 67, + "line": 71, "column": 44 } } @@ -12103,15 +12851,15 @@ "binop": null }, "value": "input", - "start": 1592, - "end": 1597, + "start": 1690, + "end": 1695, "loc": { "start": { - "line": 67, + "line": 71, "column": 45 }, "end": { - "line": 67, + "line": 71, "column": 50 } } @@ -12129,15 +12877,15 @@ "binop": null, "updateContext": null }, - "start": 1597, - "end": 1598, + "start": 1695, + "end": 1696, "loc": { "start": { - "line": 67, + "line": 71, "column": 50 }, "end": { - "line": 67, + "line": 71, "column": 51 } } @@ -12154,15 +12902,15 @@ "postfix": false, "binop": null }, - "start": 1602, - "end": 1603, + "start": 1700, + "end": 1701, "loc": { "start": { - "line": 68, + "line": 72, "column": 2 }, "end": { - "line": 68, + "line": 72, "column": 3 } } @@ -12170,15 +12918,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called when a simple-keyboard key is pressed\r\n ", - "start": 1609, - "end": 1670, + "start": 1707, + "end": 1768, "loc": { "start": { - "line": 70, + "line": 74, "column": 2 }, "end": { - "line": 72, + "line": 76, "column": 5 } } @@ -12196,15 +12944,15 @@ "binop": null }, "value": "onKeyPress", - "start": 1674, - "end": 1684, + "start": 1772, + "end": 1782, "loc": { "start": { - "line": 73, + "line": 77, "column": 2 }, "end": { - "line": 73, + "line": 77, "column": 12 } } @@ -12223,15 +12971,15 @@ "updateContext": null }, "value": "=", - "start": 1685, - "end": 1686, + "start": 1783, + "end": 1784, "loc": { "start": { - "line": 73, + "line": 77, "column": 13 }, "end": { - "line": 73, + "line": 77, "column": 14 } } @@ -12249,15 +12997,15 @@ "binop": null }, "value": "button", - "start": 1687, - "end": 1693, + "start": 1785, + "end": 1791, "loc": { "start": { - "line": 73, + "line": 77, "column": 15 }, "end": { - "line": 73, + "line": 77, "column": 21 } } @@ -12275,15 +13023,15 @@ "binop": null, "updateContext": null }, - "start": 1694, - "end": 1696, + "start": 1792, + "end": 1794, "loc": { "start": { - "line": 73, + "line": 77, "column": 22 }, "end": { - "line": 73, + "line": 77, "column": 24 } } @@ -12300,15 +13048,15 @@ "postfix": false, "binop": null }, - "start": 1697, - "end": 1698, + "start": 1795, + "end": 1796, "loc": { "start": { - "line": 73, + "line": 77, "column": 25 }, "end": { - "line": 73, + "line": 77, "column": 26 } } @@ -12326,15 +13074,15 @@ "binop": null }, "value": "console", - "start": 1704, - "end": 1711, + "start": 1802, + "end": 1809, "loc": { "start": { - "line": 74, + "line": 78, "column": 4 }, "end": { - "line": 74, + "line": 78, "column": 11 } } @@ -12352,15 +13100,15 @@ "binop": null, "updateContext": null }, - "start": 1711, - "end": 1712, + "start": 1809, + "end": 1810, "loc": { "start": { - "line": 74, + "line": 78, "column": 11 }, "end": { - "line": 74, + "line": 78, "column": 12 } } @@ -12378,15 +13126,15 @@ "binop": null }, "value": "log", - "start": 1712, - "end": 1715, + "start": 1810, + "end": 1813, "loc": { "start": { - "line": 74, + "line": 78, "column": 12 }, "end": { - "line": 74, + "line": 78, "column": 15 } } @@ -12403,15 +13151,15 @@ "postfix": false, "binop": null }, - "start": 1715, - "end": 1716, + "start": 1813, + "end": 1814, "loc": { "start": { - "line": 74, + "line": 78, "column": 15 }, "end": { - "line": 74, + "line": 78, "column": 16 } } @@ -12430,15 +13178,15 @@ "updateContext": null }, "value": "Button pressed", - "start": 1716, - "end": 1732, + "start": 1814, + "end": 1830, "loc": { "start": { - "line": 74, + "line": 78, "column": 16 }, "end": { - "line": 74, + "line": 78, "column": 32 } } @@ -12456,269 +13204,16 @@ "binop": null, "updateContext": null }, - "start": 1732, - "end": 1733, - "loc": { - "start": { - "line": 74, - "column": 32 - }, - "end": { - "line": 74, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 1734, - "end": 1740, - "loc": { - "start": { - "line": 74, - "column": 34 - }, - "end": { - "line": 74, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1740, - "end": 1741, - "loc": { - "start": { - "line": 74, - "column": 40 - }, - "end": { - "line": 74, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1741, - "end": 1742, - "loc": { - "start": { - "line": 74, - "column": 41 - }, - "end": { - "line": 74, - "column": 42 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Shift functionality\r\n ", - "start": 1754, - "end": 1798, - "loc": { - "start": { - "line": 76, - "column": 6 - }, - "end": { - "line": 78, - "column": 9 - } - } - }, - { - "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": 1806, - "end": 1808, - "loc": { - "start": { - "line": 79, - "column": 6 - }, - "end": { - "line": 79, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1808, - "end": 1809, - "loc": { - "start": { - "line": 79, - "column": 8 - }, - "end": { - "line": 79, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 1809, - "end": 1815, - "loc": { - "start": { - "line": 79, - "column": 9 - }, - "end": { - "line": 79, - "column": 15 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 1816, - "end": 1819, - "loc": { - "start": { - "line": 79, - "column": 16 - }, - "end": { - "line": 79, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "{lock}", - "start": 1820, - "end": 1828, - "loc": { - "start": { - "line": 79, - "column": 20 - }, - "end": { - "line": 79, - "column": 28 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 1829, + "start": 1830, "end": 1831, "loc": { "start": { - "line": 79, - "column": 29 + "line": 78, + "column": 32 }, "end": { - "line": 79, - "column": 31 + "line": 78, + "column": 33 } } }, @@ -12739,11 +13234,264 @@ "end": 1838, "loc": { "start": { - "line": 79, + "line": 78, + "column": 34 + }, + "end": { + "line": 78, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1838, + "end": 1839, + "loc": { + "start": { + "line": 78, + "column": 40 + }, + "end": { + "line": 78, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1839, + "end": 1840, + "loc": { + "start": { + "line": 78, + "column": 41 + }, + "end": { + "line": 78, + "column": 42 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Shift functionality\r\n ", + "start": 1852, + "end": 1896, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "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": 1904, + "end": 1906, + "loc": { + "start": { + "line": 83, + "column": 6 + }, + "end": { + "line": 83, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1906, + "end": 1907, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 1907, + "end": 1913, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 15 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1914, + "end": 1917, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{lock}", + "start": 1918, + "end": 1926, + "loc": { + "start": { + "line": 83, + "column": 20 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1927, + "end": 1929, + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 1930, + "end": 1936, + "loc": { + "start": { + "line": 83, "column": 32 }, "end": { - "line": 79, + "line": 83, "column": 38 } } @@ -12762,15 +13510,15 @@ "updateContext": null }, "value": "===", - "start": 1839, - "end": 1842, + "start": 1937, + "end": 1940, "loc": { "start": { - "line": 79, + "line": 83, "column": 39 }, "end": { - "line": 79, + "line": 83, "column": 42 } } @@ -12789,15 +13537,15 @@ "updateContext": null }, "value": "{shift}", - "start": 1843, - "end": 1852, + "start": 1941, + "end": 1950, "loc": { "start": { - "line": 79, + "line": 83, "column": 43 }, "end": { - "line": 79, + "line": 83, "column": 52 } } @@ -12814,15 +13562,15 @@ "postfix": false, "binop": null }, - "start": 1852, - "end": 1853, + "start": 1950, + "end": 1951, "loc": { "start": { - "line": 79, + "line": 83, "column": 52 }, "end": { - "line": 79, + "line": 83, "column": 53 } } @@ -12842,15 +13590,15 @@ "updateContext": null }, "value": "this", - "start": 1863, - "end": 1867, + "start": 1961, + "end": 1965, "loc": { "start": { - "line": 80, + "line": 84, "column": 8 }, "end": { - "line": 80, + "line": 84, "column": 12 } } @@ -12868,15 +13616,15 @@ "binop": null, "updateContext": null }, - "start": 1867, - "end": 1868, + "start": 1965, + "end": 1966, "loc": { "start": { - "line": 80, + "line": 84, "column": 12 }, "end": { - "line": 80, + "line": 84, "column": 13 } } @@ -12894,15 +13642,15 @@ "binop": null }, "value": "handleShiftButton", - "start": 1868, - "end": 1885, + "start": 1966, + "end": 1983, "loc": { "start": { - "line": 80, + "line": 84, "column": 13 }, "end": { - "line": 80, + "line": 84, "column": 30 } } @@ -12919,15 +13667,15 @@ "postfix": false, "binop": null }, - "start": 1885, - "end": 1886, + "start": 1983, + "end": 1984, "loc": { "start": { - "line": 80, + "line": 84, "column": 30 }, "end": { - "line": 80, + "line": 84, "column": 31 } } @@ -12944,15 +13692,15 @@ "postfix": false, "binop": null }, - "start": 1886, - "end": 1887, + "start": 1984, + "end": 1985, "loc": { "start": { - "line": 80, + "line": 84, "column": 31 }, "end": { - "line": 80, + "line": 84, "column": 32 } } @@ -12970,15 +13718,15 @@ "binop": null, "updateContext": null }, - "start": 1887, - "end": 1888, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 80, + "line": 84, "column": 32 }, "end": { - "line": 80, + "line": 84, "column": 33 } } @@ -12995,15 +13743,15 @@ "postfix": false, "binop": null }, - "start": 1892, - "end": 1893, + "start": 1990, + "end": 1991, "loc": { "start": { - "line": 81, + "line": 85, "column": 2 }, "end": { - "line": 81, + "line": 85, "column": 3 } } @@ -13020,15 +13768,15 @@ "postfix": false, "binop": null }, - "start": 1897, - "end": 1898, + "start": 1995, + "end": 1996, "loc": { "start": { - "line": 83, + "line": 87, "column": 0 }, "end": { - "line": 83, + "line": 87, "column": 1 } } @@ -13048,15 +13796,15 @@ "updateContext": null }, "value": "export", - "start": 1902, - "end": 1908, + "start": 2000, + "end": 2006, "loc": { "start": { - "line": 85, + "line": 89, "column": 0 }, "end": { - "line": 85, + "line": 89, "column": 6 } } @@ -13076,15 +13824,15 @@ "updateContext": null }, "value": "default", - "start": 1909, - "end": 1916, + "start": 2007, + "end": 2014, "loc": { "start": { - "line": 85, + "line": 89, "column": 7 }, "end": { - "line": 85, + "line": 89, "column": 14 } } @@ -13102,15 +13850,15 @@ "binop": null }, "value": "App", - "start": 1917, - "end": 1920, + "start": 2015, + "end": 2018, "loc": { "start": { - "line": 85, + "line": 89, "column": 15 }, "end": { - "line": 85, + "line": 89, "column": 18 } } @@ -13128,15 +13876,15 @@ "binop": null, "updateContext": null }, - "start": 1920, - "end": 1921, + "start": 2018, + "end": 2019, "loc": { "start": { - "line": 85, + "line": 89, "column": 18 }, "end": { - "line": 85, + "line": 89, "column": 19 } } @@ -13154,15 +13902,15 @@ "binop": null, "updateContext": null }, - "start": 1921, - "end": 1921, + "start": 2019, + "end": 2019, "loc": { "start": { - "line": 85, + "line": 89, "column": 19 }, "end": { - "line": 85, + "line": 89, "column": 19 } } diff --git a/docs/ast/source/lib/components/Keyboard.js.json b/docs/ast/source/lib/components/Keyboard.js.json index 084e63b5..663f7da9 100644 --- a/docs/ast/source/lib/components/Keyboard.js.json +++ b/docs/ast/source/lib/components/Keyboard.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 24413, + "end": 24850, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 760, + "line": 775, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 24413, + "end": 24850, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 760, + "line": 775, "column": 0 } }, @@ -330,14 +330,14 @@ { "type": "Identifier", "start": 367, - "end": 24377, + "end": 24814, "loc": { "start": { "line": 15, "column": 0 }, "end": { - "line": 757, + "line": 772, "column": 1 } }, @@ -363,14 +363,14 @@ "body": { "type": "ClassBody", "start": 388, - "end": 24377, + "end": 24814, "loc": { "start": { "line": 15, "column": 21 }, "end": { - "line": 757, + "line": 772, "column": 1 } }, @@ -8586,14 +8586,14 @@ { "type": "ClassMethod", "start": 7493, - "end": 8880, + "end": 9015, "loc": { "start": { "line": 158, "column": 2 }, "end": { - "line": 208, + "line": 212, "column": 3 } }, @@ -8644,14 +8644,14 @@ "body": { "type": "BlockStatement", "start": 7520, - "end": 8880, + "end": 9015, "loc": { "start": { "line": 158, "column": 29 }, "end": { - "line": 208, + "line": 212, "column": 3 } }, @@ -9630,30 +9630,30 @@ { "type": "VariableDeclaration", "start": 7912, - "end": 8040, + "end": 8054, "loc": { "start": { "line": 176, "column": 4 }, "end": { - "line": 176, - "column": 132 + "line": 178, + "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7916, - "end": 8039, + "end": 8053, "loc": { "start": { "line": 176, "column": 8 }, "end": { - "line": 176, - "column": 131 + "line": 178, + "column": 5 } }, "id": { @@ -9676,15 +9676,15 @@ "init": { "type": "CallExpression", "start": 7931, - "end": 8039, + "end": 8053, "loc": { "start": { "line": 176, "column": 23 }, "end": { - "line": 176, - "column": 131 + "line": 178, + "column": 5 } }, "callee": { @@ -9771,16 +9771,16 @@ "arguments": [ { "type": "Identifier", - "start": 7962, - "end": 7968, + "start": 7970, + "end": 7976, "loc": { "start": { - "line": 176, - "column": 54 + "line": 177, + "column": 6 }, "end": { - "line": 176, - "column": 60 + "line": 177, + "column": 12 }, "identifierName": "button" }, @@ -9788,59 +9788,59 @@ }, { "type": "MemberExpression", - "start": 7970, - "end": 8004, + "start": 7978, + "end": 8012, "loc": { "start": { - "line": 176, - "column": 62 + "line": 177, + "column": 14 }, "end": { - "line": 176, - "column": 96 + "line": 177, + "column": 48 } }, "object": { "type": "MemberExpression", - "start": 7970, - "end": 7980, + "start": 7978, + "end": 7988, "loc": { "start": { - "line": 176, - "column": 62 + "line": 177, + "column": 14 }, "end": { - "line": 176, - "column": 72 + "line": 177, + "column": 24 } }, "object": { "type": "ThisExpression", - "start": 7970, - "end": 7974, + "start": 7978, + "end": 7982, "loc": { "start": { - "line": 176, - "column": 62 + "line": 177, + "column": 14 }, "end": { - "line": 176, - "column": 66 + "line": 177, + "column": 18 } } }, "property": { "type": "Identifier", - "start": 7975, - "end": 7980, + "start": 7983, + "end": 7988, "loc": { "start": { - "line": 176, - "column": 67 + "line": 177, + "column": 19 }, "end": { - "line": 176, - "column": 72 + "line": 177, + "column": 24 }, "identifierName": "input" }, @@ -9850,59 +9850,59 @@ }, "property": { "type": "MemberExpression", - "start": 7981, - "end": 8003, + "start": 7989, + "end": 8011, "loc": { "start": { - "line": 176, - "column": 73 + "line": 177, + "column": 25 }, "end": { - "line": 176, - "column": 95 + "line": 177, + "column": 47 } }, "object": { "type": "MemberExpression", - "start": 7981, - "end": 7993, + "start": 7989, + "end": 8001, "loc": { "start": { - "line": 176, - "column": 73 + "line": 177, + "column": 25 }, "end": { - "line": 176, - "column": 85 + "line": 177, + "column": 37 } }, "object": { "type": "ThisExpression", - "start": 7981, - "end": 7985, + "start": 7989, + "end": 7993, "loc": { "start": { - "line": 176, - "column": 73 + "line": 177, + "column": 25 }, "end": { - "line": 176, - "column": 77 + "line": 177, + "column": 29 } } }, "property": { "type": "Identifier", - "start": 7986, - "end": 7993, + "start": 7994, + "end": 8001, "loc": { "start": { - "line": 176, - "column": 78 + "line": 177, + "column": 30 }, "end": { - "line": 176, - "column": 85 + "line": 177, + "column": 37 }, "identifierName": "options" }, @@ -9912,16 +9912,16 @@ }, "property": { "type": "Identifier", - "start": 7994, - "end": 8003, + "start": 8002, + "end": 8011, "loc": { "start": { - "line": 176, - "column": 86 + "line": 177, + "column": 38 }, "end": { - "line": 176, - "column": 95 + "line": 177, + "column": 47 }, "identifierName": "inputName" }, @@ -9933,45 +9933,45 @@ }, { "type": "MemberExpression", - "start": 8006, - "end": 8018, + "start": 8014, + "end": 8026, "loc": { "start": { - "line": 176, - "column": 98 + "line": 177, + "column": 50 }, "end": { - "line": 176, - "column": 110 + "line": 177, + "column": 62 } }, "object": { "type": "ThisExpression", - "start": 8006, - "end": 8010, + "start": 8014, + "end": 8018, "loc": { "start": { - "line": 176, - "column": 98 + "line": 177, + "column": 50 }, "end": { - "line": 176, - "column": 102 + "line": 177, + "column": 54 } } }, "property": { "type": "Identifier", - "start": 8011, - "end": 8018, + "start": 8019, + "end": 8026, "loc": { "start": { - "line": 176, - "column": 103 + "line": 177, + "column": 55 }, "end": { - "line": 176, - "column": 110 + "line": 177, + "column": 62 }, "identifierName": "options" }, @@ -9981,45 +9981,45 @@ }, { "type": "MemberExpression", - "start": 8020, - "end": 8038, + "start": 8028, + "end": 8046, "loc": { "start": { - "line": 176, - "column": 112 + "line": 177, + "column": 64 }, "end": { - "line": 176, - "column": 130 + "line": 177, + "column": 82 } }, "object": { "type": "ThisExpression", - "start": 8020, - "end": 8024, + "start": 8028, + "end": 8032, "loc": { "start": { - "line": 176, - "column": 112 + "line": 177, + "column": 64 }, "end": { - "line": 176, - "column": 116 + "line": 177, + "column": 68 } } }, "property": { "type": "Identifier", - "start": 8025, - "end": 8038, + "start": 8033, + "end": 8046, "loc": { "start": { - "line": 176, - "column": 117 + "line": 177, + "column": 69 }, "end": { - "line": 176, - "column": 130 + "line": 177, + "column": 82 }, "identifierName": "caretPosition" }, @@ -10035,86 +10035,86 @@ }, { "type": "IfStatement", - "start": 8048, - "end": 8802, + "start": 8062, + "end": 8937, "loc": { "start": { - "line": 178, + "line": 180, "column": 4 }, "end": { - "line": 203, + "line": 207, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8051, - "end": 8102, + "start": 8065, + "end": 8116, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 58 } }, "left": { "type": "MemberExpression", - "start": 8051, - "end": 8085, + "start": 8065, + "end": 8099, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 8051, - "end": 8061, + "start": 8065, + "end": 8075, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 8051, - "end": 8055, + "start": 8065, + "end": 8069, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 11 } } }, "property": { "type": "Identifier", - "start": 8056, - "end": 8061, + "start": 8070, + "end": 8075, "loc": { "start": { - "line": 178, + "line": 180, "column": 12 }, "end": { - "line": 178, + "line": 180, "column": 17 }, "identifierName": "input" @@ -10125,58 +10125,58 @@ }, "property": { "type": "MemberExpression", - "start": 8062, - "end": 8084, + "start": 8076, + "end": 8098, "loc": { "start": { - "line": 178, + "line": 180, "column": 18 }, "end": { - "line": 178, + "line": 180, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8062, - "end": 8074, + "start": 8076, + "end": 8088, "loc": { "start": { - "line": 178, + "line": 180, "column": 18 }, "end": { - "line": 178, + "line": 180, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 8062, - "end": 8066, + "start": 8076, + "end": 8080, "loc": { "start": { - "line": 178, + "line": 180, "column": 18 }, "end": { - "line": 178, + "line": 180, "column": 22 } } }, "property": { "type": "Identifier", - "start": 8067, - "end": 8074, + "start": 8081, + "end": 8088, "loc": { "start": { - "line": 178, + "line": 180, "column": 23 }, "end": { - "line": 178, + "line": 180, "column": 30 }, "identifierName": "options" @@ -10187,15 +10187,15 @@ }, "property": { "type": "Identifier", - "start": 8075, - "end": 8084, + "start": 8089, + "end": 8098, "loc": { "start": { - "line": 178, + "line": 180, "column": 31 }, "end": { - "line": 178, + "line": 180, "column": 40 }, "identifierName": "inputName" @@ -10209,15 +10209,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 8090, - "end": 8102, + "start": 8104, + "end": 8116, "loc": { "start": { - "line": 178, + "line": 180, "column": 46 }, "end": { - "line": 178, + "line": 180, "column": 58 }, "identifierName": "updatedInput" @@ -10227,86 +10227,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 8103, - "end": 8802, + "start": 8117, + "end": 8937, "loc": { "start": { - "line": 178, + "line": 180, "column": 59 }, "end": { - "line": 203, + "line": 207, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 8199, - "end": 8332, + "start": 8213, + "end": 8346, "loc": { "start": { - "line": 183, + "line": 185, "column": 6 }, "end": { - "line": 185, + "line": 187, "column": 7 } }, "test": { "type": "LogicalExpression", - "start": 8202, - "end": 8298, + "start": 8216, + "end": 8312, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 105 } }, "left": { "type": "MemberExpression", - "start": 8202, - "end": 8224, + "start": 8216, + "end": 8238, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 8202, - "end": 8214, + "start": 8216, + "end": 8228, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8202, - "end": 8206, + "start": 8216, + "end": 8220, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 13 } }, @@ -10314,15 +10314,15 @@ }, "property": { "type": "Identifier", - "start": 8207, - "end": 8214, + "start": 8221, + "end": 8228, "loc": { "start": { - "line": 183, + "line": 185, "column": 14 }, "end": { - "line": 183, + "line": 185, "column": 21 }, "identifierName": "options" @@ -10334,15 +10334,15 @@ }, "property": { "type": "Identifier", - "start": 8215, - "end": 8224, + "start": 8229, + "end": 8238, "loc": { "start": { - "line": 183, + "line": 185, "column": 22 }, "end": { - "line": 183, + "line": 185, "column": 31 }, "identifierName": "maxLength" @@ -10355,72 +10355,72 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 8228, - "end": 8298, + "start": 8242, + "end": 8312, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 8228, - "end": 8258, + "start": 8242, + "end": 8272, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 8228, - "end": 8242, + "start": 8242, + "end": 8256, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 8228, - "end": 8232, + "start": 8242, + "end": 8246, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8233, - "end": 8242, + "start": 8247, + "end": 8256, "loc": { "start": { - "line": 183, + "line": 185, "column": 40 }, "end": { - "line": 183, + "line": 185, "column": 49 }, "identifierName": "utilities" @@ -10431,15 +10431,15 @@ }, "property": { "type": "Identifier", - "start": 8243, - "end": 8258, + "start": 8257, + "end": 8272, "loc": { "start": { - "line": 183, + "line": 185, "column": 50 }, "end": { - "line": 183, + "line": 185, "column": 65 }, "identifierName": "handleMaxLength" @@ -10451,44 +10451,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8259, - "end": 8269, + "start": 8273, + "end": 8283, "loc": { "start": { - "line": 183, + "line": 185, "column": 66 }, "end": { - "line": 183, + "line": 185, "column": 76 } }, "object": { "type": "ThisExpression", - "start": 8259, - "end": 8263, + "start": 8273, + "end": 8277, "loc": { "start": { - "line": 183, + "line": 185, "column": 66 }, "end": { - "line": 183, + "line": 185, "column": 70 } } }, "property": { "type": "Identifier", - "start": 8264, - "end": 8269, + "start": 8278, + "end": 8283, "loc": { "start": { - "line": 183, + "line": 185, "column": 71 }, "end": { - "line": 183, + "line": 185, "column": 76 }, "identifierName": "input" @@ -10499,44 +10499,44 @@ }, { "type": "MemberExpression", - "start": 8271, - "end": 8283, + "start": 8285, + "end": 8297, "loc": { "start": { - "line": 183, + "line": 185, "column": 78 }, "end": { - "line": 183, + "line": 185, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 8271, - "end": 8275, + "start": 8285, + "end": 8289, "loc": { "start": { - "line": 183, + "line": 185, "column": 78 }, "end": { - "line": 183, + "line": 185, "column": 82 } } }, "property": { "type": "Identifier", - "start": 8276, - "end": 8283, + "start": 8290, + "end": 8297, "loc": { "start": { - "line": 183, + "line": 185, "column": 83 }, "end": { - "line": 183, + "line": 185, "column": 90 }, "identifierName": "options" @@ -10547,15 +10547,15 @@ }, { "type": "Identifier", - "start": 8285, - "end": 8297, + "start": 8299, + "end": 8311, "loc": { "start": { - "line": 183, + "line": 185, "column": 92 }, "end": { - "line": 183, + "line": 185, "column": 104 }, "identifierName": "updatedInput" @@ -10568,44 +10568,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8299, - "end": 8332, + "start": 8313, + "end": 8346, "loc": { "start": { - "line": 183, + "line": 185, "column": 106 }, "end": { - "line": 185, + "line": 187, "column": 7 } }, "body": [ { "type": "ReturnStatement", - "start": 8310, - "end": 8323, + "start": 8324, + "end": 8337, "loc": { "start": { - "line": 184, + "line": 186, "column": 8 }, "end": { - "line": 184, + "line": 186, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 8317, - "end": 8322, + "start": 8331, + "end": 8336, "loc": { "start": { - "line": 184, + "line": 186, "column": 15 }, "end": { - "line": 184, + "line": 186, "column": 20 } }, @@ -10620,15 +10620,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 8114, - "end": 8191, + "start": 8128, + "end": 8205, "loc": { "start": { - "line": 180, + "line": 182, "column": 6 }, "end": { - "line": 182, + "line": 184, "column": 9 } } @@ -10637,87 +10637,87 @@ }, { "type": "ExpressionStatement", - "start": 8342, - "end": 8392, + "start": 8356, + "end": 8527, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, - "column": 56 + "line": 191, + "column": 8 } }, "expression": { "type": "AssignmentExpression", - "start": 8342, - "end": 8391, + "start": 8356, + "end": 8526, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, - "column": 55 + "line": 191, + "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8342, - "end": 8376, + "start": 8356, + "end": 8390, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, + "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8342, - "end": 8352, + "start": 8356, + "end": 8366, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, + "line": 189, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 8342, - "end": 8346, + "start": 8356, + "end": 8360, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, + "line": 189, "column": 10 } } }, "property": { "type": "Identifier", - "start": 8347, - "end": 8352, + "start": 8361, + "end": 8366, "loc": { "start": { - "line": 187, + "line": 189, "column": 11 }, "end": { - "line": 187, + "line": 189, "column": 16 }, "identifierName": "input" @@ -10728,58 +10728,58 @@ }, "property": { "type": "MemberExpression", - "start": 8353, - "end": 8375, + "start": 8367, + "end": 8389, "loc": { "start": { - "line": 187, + "line": 189, "column": 17 }, "end": { - "line": 187, + "line": 189, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 8353, - "end": 8365, + "start": 8367, + "end": 8379, "loc": { "start": { - "line": 187, + "line": 189, "column": 17 }, "end": { - "line": 187, + "line": 189, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 8353, - "end": 8357, + "start": 8367, + "end": 8371, "loc": { "start": { - "line": 187, + "line": 189, "column": 17 }, "end": { - "line": 187, + "line": 189, "column": 21 } } }, "property": { "type": "Identifier", - "start": 8358, - "end": 8365, + "start": 8372, + "end": 8379, "loc": { "start": { - "line": 187, + "line": 189, "column": 22 }, "end": { - "line": 187, + "line": 189, "column": 29 }, "identifierName": "options" @@ -10790,15 +10790,15 @@ }, "property": { "type": "Identifier", - "start": 8366, - "end": 8375, + "start": 8380, + "end": 8389, "loc": { "start": { - "line": 187, + "line": 189, "column": 30 }, "end": { - "line": 187, + "line": 189, "column": 39 }, "identifierName": "inputName" @@ -10810,49 +10810,404 @@ "computed": true }, "right": { - "type": "Identifier", - "start": 8379, - "end": 8391, + "type": "CallExpression", + "start": 8394, + "end": 8526, "loc": { "start": { - "line": 187, - "column": 43 + "line": 189, + "column": 44 }, "end": { - "line": 187, - "column": 55 - }, - "identifierName": "updatedInput" + "line": 191, + "column": 7 + } }, - "name": "updatedInput" + "callee": { + "type": "MemberExpression", + "start": 8394, + "end": 8424, + "loc": { + "start": { + "line": 189, + "column": 44 + }, + "end": { + "line": 189, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 8394, + "end": 8408, + "loc": { + "start": { + "line": 189, + "column": 44 + }, + "end": { + "line": 189, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 8394, + "end": 8398, + "loc": { + "start": { + "line": 189, + "column": 44 + }, + "end": { + "line": 189, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "start": 8399, + "end": 8408, + "loc": { + "start": { + "line": 189, + "column": 49 + }, + "end": { + "line": 189, + "column": 58 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8409, + "end": 8424, + "loc": { + "start": { + "line": 189, + "column": 59 + }, + "end": { + "line": 189, + "column": 74 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8435, + "end": 8441, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 14 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "MemberExpression", + "start": 8443, + "end": 8477, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 8443, + "end": 8453, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 8443, + "end": 8447, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 8448, + "end": 8453, + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 26 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 8454, + "end": 8476, + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 8454, + "end": 8466, + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 8454, + "end": 8458, + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 8459, + "end": 8466, + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 39 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8467, + "end": 8476, + "loc": { + "start": { + "line": 190, + "column": 40 + }, + "end": { + "line": 190, + "column": 49 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + { + "type": "MemberExpression", + "start": 8479, + "end": 8491, + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 64 + } + }, + "object": { + "type": "ThisExpression", + "start": 8479, + "end": 8483, + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "start": 8484, + "end": 8491, + "loc": { + "start": { + "line": 190, + "column": 57 + }, + "end": { + "line": 190, + "column": 64 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 8493, + "end": 8511, + "loc": { + "start": { + "line": 190, + "column": 66 + }, + "end": { + "line": 190, + "column": 84 + } + }, + "object": { + "type": "ThisExpression", + "start": 8493, + "end": 8497, + "loc": { + "start": { + "line": 190, + "column": 66 + }, + "end": { + "line": 190, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "start": 8498, + "end": 8511, + "loc": { + "start": { + "line": 190, + "column": 71 + }, + "end": { + "line": 190, + "column": 84 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + }, + { + "type": "BooleanLiteral", + "start": 8513, + "end": 8517, + "loc": { + "start": { + "line": 190, + "column": 86 + }, + "end": { + "line": 190, + "column": 90 + } + }, + "value": true + } + ] } } }, { "type": "IfStatement", - "start": 8402, - "end": 8463, + "start": 8537, + "end": 8598, "loc": { "start": { - "line": 189, + "line": 193, "column": 6 }, "end": { - "line": 190, + "line": 194, "column": 50 } }, "test": { "type": "Identifier", - "start": 8405, - "end": 8410, + "start": 8540, + "end": 8545, "loc": { "start": { - "line": 189, + "line": 193, "column": 9 }, "end": { - "line": 189, + "line": 193, "column": 14 }, "identifierName": "debug" @@ -10861,57 +11216,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8421, - "end": 8463, + "start": 8556, + "end": 8598, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 8421, - "end": 8462, + "start": 8556, + "end": 8597, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 8421, - "end": 8432, + "start": 8556, + "end": 8567, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 19 } }, "object": { "type": "Identifier", - "start": 8421, - "end": 8428, + "start": 8556, + "end": 8563, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 15 }, "identifierName": "console" @@ -10920,15 +11275,15 @@ }, "property": { "type": "Identifier", - "start": 8429, - "end": 8432, + "start": 8564, + "end": 8567, "loc": { "start": { - "line": 190, + "line": 194, "column": 16 }, "end": { - "line": 190, + "line": 194, "column": 19 }, "identifierName": "log" @@ -10940,15 +11295,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8433, - "end": 8449, + "start": 8568, + "end": 8584, "loc": { "start": { - "line": 190, + "line": 194, "column": 20 }, "end": { - "line": 190, + "line": 194, "column": 36 } }, @@ -10960,44 +11315,44 @@ }, { "type": "MemberExpression", - "start": 8451, - "end": 8461, + "start": 8586, + "end": 8596, "loc": { "start": { - "line": 190, + "line": 194, "column": 38 }, "end": { - "line": 190, + "line": 194, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 8451, - "end": 8455, + "start": 8586, + "end": 8590, "loc": { "start": { - "line": 190, + "line": 194, "column": 38 }, "end": { - "line": 190, + "line": 194, "column": 42 } } }, "property": { "type": "Identifier", - "start": 8456, - "end": 8461, + "start": 8591, + "end": 8596, "loc": { "start": { - "line": 190, + "line": 194, "column": 43 }, "end": { - "line": 190, + "line": 194, "column": 48 }, "identifierName": "input" @@ -11015,15 +11370,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8473, - "end": 8532, + "start": 8608, + "end": 8667, "loc": { "start": { - "line": 192, + "line": 196, "column": 6 }, "end": { - "line": 194, + "line": 198, "column": 9 } } @@ -11032,57 +11387,57 @@ }, { "type": "IfStatement", - "start": 8540, - "end": 8621, + "start": 8675, + "end": 8756, "loc": { "start": { - "line": 195, + "line": 199, "column": 6 }, "end": { - "line": 196, + "line": 200, "column": 44 } }, "test": { "type": "MemberExpression", - "start": 8543, - "end": 8574, + "start": 8678, + "end": 8709, "loc": { "start": { - "line": 195, + "line": 199, "column": 9 }, "end": { - "line": 195, + "line": 199, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8543, - "end": 8555, + "start": 8678, + "end": 8690, "loc": { "start": { - "line": 195, + "line": 199, "column": 9 }, "end": { - "line": 195, + "line": 199, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8543, - "end": 8547, + "start": 8678, + "end": 8682, "loc": { "start": { - "line": 195, + "line": 199, "column": 9 }, "end": { - "line": 195, + "line": 199, "column": 13 } }, @@ -11090,15 +11445,15 @@ }, "property": { "type": "Identifier", - "start": 8548, - "end": 8555, + "start": 8683, + "end": 8690, "loc": { "start": { - "line": 195, + "line": 199, "column": 14 }, "end": { - "line": 195, + "line": 199, "column": 21 }, "identifierName": "options" @@ -11110,15 +11465,15 @@ }, "property": { "type": "Identifier", - "start": 8556, - "end": 8574, + "start": 8691, + "end": 8709, "loc": { "start": { - "line": 195, + "line": 199, "column": 22 }, "end": { - "line": 195, + "line": 199, "column": 40 }, "identifierName": "syncInstanceInputs" @@ -11130,72 +11485,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8585, - "end": 8621, + "start": 8720, + "end": 8756, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 8585, - "end": 8620, + "start": 8720, + "end": 8755, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 8585, - "end": 8608, + "start": 8720, + "end": 8743, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 8585, - "end": 8589, + "start": 8720, + "end": 8724, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8590, - "end": 8608, + "start": 8725, + "end": 8743, "loc": { "start": { - "line": 196, + "line": 200, "column": 13 }, "end": { - "line": 196, + "line": 200, "column": 31 }, "identifierName": "syncInstanceInputs" @@ -11207,44 +11562,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8609, - "end": 8619, + "start": 8744, + "end": 8754, "loc": { "start": { - "line": 196, + "line": 200, "column": 32 }, "end": { - "line": 196, + "line": 200, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 8609, - "end": 8613, + "start": 8744, + "end": 8748, "loc": { "start": { - "line": 196, + "line": 200, "column": 32 }, "end": { - "line": 196, + "line": 200, "column": 36 } } }, "property": { "type": "Identifier", - "start": 8614, - "end": 8619, + "start": 8749, + "end": 8754, "loc": { "start": { - "line": 196, + "line": 200, "column": 37 }, "end": { - "line": 196, + "line": 200, "column": 42 }, "identifierName": "input" @@ -11262,15 +11617,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8473, - "end": 8532, + "start": 8608, + "end": 8667, "loc": { "start": { - "line": 192, + "line": 196, "column": 6 }, "end": { - "line": 194, + "line": 198, "column": 9 } } @@ -11280,15 +11635,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8631, - "end": 8672, + "start": 8766, + "end": 8807, "loc": { "start": { - "line": 198, + "line": 202, "column": 6 }, "end": { - "line": 200, + "line": 204, "column": 9 } } @@ -11297,43 +11652,43 @@ }, { "type": "IfStatement", - "start": 8680, - "end": 8795, + "start": 8815, + "end": 8930, "loc": { "start": { - "line": 201, + "line": 205, "column": 6 }, "end": { - "line": 202, + "line": 206, "column": 66 } }, "test": { "type": "BinaryExpression", - "start": 8683, - "end": 8726, + "start": 8818, + "end": 8861, "loc": { "start": { - "line": 201, + "line": 205, "column": 9 }, "end": { - "line": 201, + "line": 205, "column": 52 } }, "left": { "type": "UnaryExpression", - "start": 8683, - "end": 8711, + "start": 8818, + "end": 8846, "loc": { "start": { - "line": 201, + "line": 205, "column": 9 }, "end": { - "line": 201, + "line": 205, "column": 37 } }, @@ -11341,43 +11696,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 8690, - "end": 8711, + "start": 8825, + "end": 8846, "loc": { "start": { - "line": 201, + "line": 205, "column": 16 }, "end": { - "line": 201, + "line": 205, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 8690, - "end": 8702, + "start": 8825, + "end": 8837, "loc": { "start": { - "line": 201, + "line": 205, "column": 16 }, "end": { - "line": 201, + "line": 205, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 8690, - "end": 8694, + "start": 8825, + "end": 8829, "loc": { "start": { - "line": 201, + "line": 205, "column": 16 }, "end": { - "line": 201, + "line": 205, "column": 20 } }, @@ -11385,15 +11740,15 @@ }, "property": { "type": "Identifier", - "start": 8695, - "end": 8702, + "start": 8830, + "end": 8837, "loc": { "start": { - "line": 201, + "line": 205, "column": 21 }, "end": { - "line": 201, + "line": 205, "column": 28 }, "identifierName": "options" @@ -11405,15 +11760,15 @@ }, "property": { "type": "Identifier", - "start": 8703, - "end": 8711, + "start": 8838, + "end": 8846, "loc": { "start": { - "line": 201, + "line": 205, "column": 29 }, "end": { - "line": 201, + "line": 205, "column": 37 }, "identifierName": "onChange" @@ -11431,15 +11786,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8716, - "end": 8726, + "start": 8851, + "end": 8861, "loc": { "start": { - "line": 201, + "line": 205, "column": 42 }, "end": { - "line": 201, + "line": 205, "column": 52 } }, @@ -11453,86 +11808,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8737, - "end": 8795, + "start": 8872, + "end": 8930, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 8737, - "end": 8794, + "start": 8872, + "end": 8929, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 8737, - "end": 8758, + "start": 8872, + "end": 8893, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 8737, - "end": 8749, + "start": 8872, + "end": 8884, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 8737, - "end": 8741, + "start": 8872, + "end": 8876, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8742, - "end": 8749, + "start": 8877, + "end": 8884, "loc": { "start": { - "line": 202, + "line": 206, "column": 13 }, "end": { - "line": 202, + "line": 206, "column": 20 }, "identifierName": "options" @@ -11543,15 +11898,15 @@ }, "property": { "type": "Identifier", - "start": 8750, - "end": 8758, + "start": 8885, + "end": 8893, "loc": { "start": { - "line": 202, + "line": 206, "column": 21 }, "end": { - "line": 202, + "line": 206, "column": 29 }, "identifierName": "onChange" @@ -11563,58 +11918,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 8759, - "end": 8793, + "start": 8894, + "end": 8928, "loc": { "start": { - "line": 202, + "line": 206, "column": 30 }, "end": { - "line": 202, + "line": 206, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 8759, - "end": 8769, + "start": 8894, + "end": 8904, "loc": { "start": { - "line": 202, + "line": 206, "column": 30 }, "end": { - "line": 202, + "line": 206, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 8759, - "end": 8763, + "start": 8894, + "end": 8898, "loc": { "start": { - "line": 202, + "line": 206, "column": 30 }, "end": { - "line": 202, + "line": 206, "column": 34 } } }, "property": { "type": "Identifier", - "start": 8764, - "end": 8769, + "start": 8899, + "end": 8904, "loc": { "start": { - "line": 202, + "line": 206, "column": 35 }, "end": { - "line": 202, + "line": 206, "column": 40 }, "identifierName": "input" @@ -11625,58 +11980,58 @@ }, "property": { "type": "MemberExpression", - "start": 8770, - "end": 8792, + "start": 8905, + "end": 8927, "loc": { "start": { - "line": 202, + "line": 206, "column": 41 }, "end": { - "line": 202, + "line": 206, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 8770, - "end": 8782, + "start": 8905, + "end": 8917, "loc": { "start": { - "line": 202, + "line": 206, "column": 41 }, "end": { - "line": 202, + "line": 206, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 8770, - "end": 8774, + "start": 8905, + "end": 8909, "loc": { "start": { - "line": 202, + "line": 206, "column": 41 }, "end": { - "line": 202, + "line": 206, "column": 45 } } }, "property": { "type": "Identifier", - "start": 8775, - "end": 8782, + "start": 8910, + "end": 8917, "loc": { "start": { - "line": 202, + "line": 206, "column": 46 }, "end": { - "line": 202, + "line": 206, "column": 53 }, "identifierName": "options" @@ -11687,15 +12042,15 @@ }, "property": { "type": "Identifier", - "start": 8783, - "end": 8792, + "start": 8918, + "end": 8927, "loc": { "start": { - "line": 202, + "line": 206, "column": 54 }, "end": { - "line": 202, + "line": 206, "column": 63 }, "identifierName": "inputName" @@ -11714,15 +12069,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8631, - "end": 8672, + "start": 8766, + "end": 8807, "loc": { "start": { - "line": 198, + "line": 202, "column": 6 }, "end": { - "line": 200, + "line": 204, "column": 9 } } @@ -11736,29 +12091,29 @@ }, { "type": "IfStatement", - "start": 8814, - "end": 8875, + "start": 8949, + "end": 9010, "loc": { "start": { - "line": 205, + "line": 209, "column": 4 }, "end": { - "line": 207, + "line": 211, "column": 5 } }, "test": { "type": "Identifier", - "start": 8817, - "end": 8822, + "start": 8952, + "end": 8957, "loc": { "start": { - "line": 205, + "line": 209, "column": 7 }, "end": { - "line": 205, + "line": 209, "column": 12 }, "identifierName": "debug" @@ -11767,72 +12122,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 8823, - "end": 8875, + "start": 8958, + "end": 9010, "loc": { "start": { - "line": 205, + "line": 209, "column": 13 }, "end": { - "line": 207, + "line": 211, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 8832, - "end": 8868, + "start": 8967, + "end": 9003, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 8832, - "end": 8867, + "start": 8967, + "end": 9002, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 8832, - "end": 8843, + "start": 8967, + "end": 8978, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 17 } }, "object": { "type": "Identifier", - "start": 8832, - "end": 8839, + "start": 8967, + "end": 8974, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 13 }, "identifierName": "console" @@ -11841,15 +12196,15 @@ }, "property": { "type": "Identifier", - "start": 8840, - "end": 8843, + "start": 8975, + "end": 8978, "loc": { "start": { - "line": 206, + "line": 210, "column": 14 }, "end": { - "line": 206, + "line": 210, "column": 17 }, "identifierName": "log" @@ -11861,15 +12216,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8844, - "end": 8858, + "start": 8979, + "end": 8993, "loc": { "start": { - "line": 206, + "line": 210, "column": 18 }, "end": { - "line": 206, + "line": 210, "column": 32 } }, @@ -11881,15 +12236,15 @@ }, { "type": "Identifier", - "start": 8860, - "end": 8866, + "start": 8995, + "end": 9001, "loc": { "start": { - "line": 206, + "line": 210, "column": 34 }, "end": { - "line": 206, + "line": 210, "column": 40 }, "identifierName": "button" @@ -11930,15 +12285,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", - "start": 8886, - "end": 8927, + "start": 9021, + "end": 9062, "loc": { "start": { - "line": 210, + "line": 214, "column": 2 }, "end": { - "line": 212, + "line": 216, "column": 5 } } @@ -11946,15 +12301,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 8931, - "end": 8957, + "start": 9066, + "end": 9092, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 213, + "line": 217, "column": 28 } } @@ -11963,15 +12318,15 @@ }, { "type": "ClassMethod", - "start": 8961, - "end": 9820, + "start": 9096, + "end": 9955, "loc": { "start": { - "line": 214, + "line": 218, "column": 2 }, "end": { - "line": 246, + "line": 250, "column": 3 } }, @@ -11979,15 +12334,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8961, - "end": 8982, + "start": 9096, + "end": 9117, "loc": { "start": { - "line": 214, + "line": 218, "column": 2 }, "end": { - "line": 214, + "line": 218, "column": 23 }, "identifierName": "handleButtonMouseDown" @@ -12003,15 +12358,15 @@ "params": [ { "type": "Identifier", - "start": 8983, - "end": 8989, + "start": 9118, + "end": 9124, "loc": { "start": { - "line": 214, + "line": 218, "column": 24 }, "end": { - "line": 214, + "line": 218, "column": 30 }, "identifierName": "button" @@ -12020,15 +12375,15 @@ }, { "type": "Identifier", - "start": 8991, - "end": 8992, + "start": 9126, + "end": 9127, "loc": { "start": { - "line": 214, + "line": 218, "column": 32 }, "end": { - "line": 214, + "line": 218, "column": 33 }, "identifierName": "e" @@ -12038,73 +12393,73 @@ ], "body": { "type": "BlockStatement", - "start": 8993, - "end": 9820, + "start": 9128, + "end": 9955, "loc": { "start": { - "line": 214, + "line": 218, "column": 34 }, "end": { - "line": 246, + "line": 250, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9085, - "end": 9109, + "start": 9220, + "end": 9244, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 9085, - "end": 9108, + "start": 9220, + "end": 9243, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9085, - "end": 9101, + "start": 9220, + "end": 9236, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 9085, - "end": 9089, + "start": 9220, + "end": 9224, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 8 } }, @@ -12112,15 +12467,15 @@ }, "property": { "type": "Identifier", - "start": 9090, - "end": 9101, + "start": 9225, + "end": 9236, "loc": { "start": { - "line": 218, + "line": 222, "column": 9 }, "end": { - "line": 218, + "line": 222, "column": 20 }, "identifierName": "isMouseHold" @@ -12132,15 +12487,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9104, - "end": 9108, + "start": 9239, + "end": 9243, "loc": { "start": { - "line": 218, + "line": 222, "column": 23 }, "end": { - "line": 218, + "line": 222, "column": 27 } }, @@ -12152,15 +12507,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", - "start": 9000, - "end": 9079, + "start": 9135, + "end": 9214, "loc": { "start": { - "line": 215, + "line": 219, "column": 4 }, "end": { - "line": 217, + "line": 221, "column": 7 } } @@ -12169,58 +12524,58 @@ }, { "type": "IfStatement", - "start": 9117, - "end": 9198, + "start": 9252, + "end": 9333, "loc": { "start": { - "line": 220, + "line": 224, "column": 4 }, "end": { - "line": 221, + "line": 225, "column": 48 } }, "test": { "type": "MemberExpression", - "start": 9120, - "end": 9147, + "start": 9255, + "end": 9282, "loc": { "start": { - "line": 220, + "line": 224, "column": 7 }, "end": { - "line": 220, + "line": 224, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 9120, - "end": 9124, + "start": 9255, + "end": 9259, "loc": { "start": { - "line": 220, + "line": 224, "column": 7 }, "end": { - "line": 220, + "line": 224, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9125, - "end": 9147, + "start": 9260, + "end": 9282, "loc": { "start": { - "line": 220, + "line": 224, "column": 12 }, "end": { - "line": 220, + "line": 224, "column": 34 }, "identifierName": "holdInteractionTimeout" @@ -12231,43 +12586,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9156, - "end": 9198, + "start": 9291, + "end": 9333, "loc": { "start": { - "line": 221, + "line": 225, "column": 6 }, "end": { - "line": 221, + "line": 225, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 9156, - "end": 9197, + "start": 9291, + "end": 9332, "loc": { "start": { - "line": 221, + "line": 225, "column": 6 }, "end": { - "line": 221, + "line": 225, "column": 47 } }, "callee": { "type": "Identifier", - "start": 9156, - "end": 9168, + "start": 9291, + "end": 9303, "loc": { "start": { - "line": 221, + "line": 225, "column": 6 }, "end": { - "line": 221, + "line": 225, "column": 18 }, "identifierName": "clearTimeout" @@ -12277,44 +12632,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9169, - "end": 9196, + "start": 9304, + "end": 9331, "loc": { "start": { - "line": 221, + "line": 225, "column": 19 }, "end": { - "line": 221, + "line": 225, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 9169, - "end": 9173, + "start": 9304, + "end": 9308, "loc": { "start": { - "line": 221, + "line": 225, "column": 19 }, "end": { - "line": 221, + "line": 225, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9174, - "end": 9196, + "start": 9309, + "end": 9331, "loc": { "start": { - "line": 221, + "line": 225, "column": 24 }, "end": { - "line": 221, + "line": 225, "column": 46 }, "identifierName": "holdInteractionTimeout" @@ -12330,58 +12685,58 @@ }, { "type": "IfStatement", - "start": 9206, - "end": 9265, + "start": 9341, + "end": 9400, "loc": { "start": { - "line": 223, + "line": 227, "column": 4 }, "end": { - "line": 224, + "line": 228, "column": 37 } }, "test": { "type": "MemberExpression", - "start": 9209, - "end": 9225, + "start": 9344, + "end": 9360, "loc": { "start": { - "line": 223, + "line": 227, "column": 7 }, "end": { - "line": 223, + "line": 227, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9209, - "end": 9213, + "start": 9344, + "end": 9348, "loc": { "start": { - "line": 223, + "line": 227, "column": 7 }, "end": { - "line": 223, + "line": 227, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9214, - "end": 9225, + "start": 9349, + "end": 9360, "loc": { "start": { - "line": 223, + "line": 227, "column": 12 }, "end": { - "line": 223, + "line": 227, "column": 23 }, "identifierName": "holdTimeout" @@ -12392,43 +12747,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9234, - "end": 9265, + "start": 9369, + "end": 9400, "loc": { "start": { - "line": 224, + "line": 228, "column": 6 }, "end": { - "line": 224, + "line": 228, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 9234, - "end": 9264, + "start": 9369, + "end": 9399, "loc": { "start": { - "line": 224, + "line": 228, "column": 6 }, "end": { - "line": 224, + "line": 228, "column": 36 } }, "callee": { "type": "Identifier", - "start": 9234, - "end": 9246, + "start": 9369, + "end": 9381, "loc": { "start": { - "line": 224, + "line": 228, "column": 6 }, "end": { - "line": 224, + "line": 228, "column": 18 }, "identifierName": "clearTimeout" @@ -12438,44 +12793,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9247, - "end": 9263, + "start": 9382, + "end": 9398, "loc": { "start": { - "line": 224, + "line": 228, "column": 19 }, "end": { - "line": 224, + "line": 228, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 9247, - "end": 9251, + "start": 9382, + "end": 9386, "loc": { "start": { - "line": 224, + "line": 228, "column": 19 }, "end": { - "line": 224, + "line": 228, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9252, - "end": 9263, + "start": 9387, + "end": 9398, "loc": { "start": { - "line": 224, + "line": 228, "column": 24 }, "end": { - "line": 224, + "line": 228, "column": 35 }, "identifierName": "holdTimeout" @@ -12493,15 +12848,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", - "start": 9273, - "end": 9350, + "start": 9408, + "end": 9485, "loc": { "start": { - "line": 226, + "line": 230, "column": 4 }, "end": { - "line": 228, + "line": 232, "column": 7 } } @@ -12510,58 +12865,58 @@ }, { "type": "ExpressionStatement", - "start": 9356, - "end": 9815, + "start": 9491, + "end": 9950, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 245, + "line": 249, "column": 12 } }, "expression": { "type": "AssignmentExpression", - "start": 9356, - "end": 9814, + "start": 9491, + "end": 9949, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 245, + "line": 249, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9356, - "end": 9372, + "start": 9491, + "end": 9507, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 229, + "line": 233, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 9356, - "end": 9360, + "start": 9491, + "end": 9495, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 229, + "line": 233, "column": 8 } }, @@ -12569,15 +12924,15 @@ }, "property": { "type": "Identifier", - "start": 9361, - "end": 9372, + "start": 9496, + "end": 9507, "loc": { "start": { - "line": 229, + "line": 233, "column": 9 }, "end": { - "line": 229, + "line": 233, "column": 20 }, "identifierName": "holdTimeout" @@ -12589,29 +12944,29 @@ }, "right": { "type": "CallExpression", - "start": 9375, - "end": 9814, + "start": 9510, + "end": 9949, "loc": { "start": { - "line": 229, + "line": 233, "column": 23 }, "end": { - "line": 245, + "line": 249, "column": 11 } }, "callee": { "type": "Identifier", - "start": 9375, - "end": 9385, + "start": 9510, + "end": 9520, "loc": { "start": { - "line": 229, + "line": 233, "column": 23 }, "end": { - "line": 229, + "line": 233, "column": 33 }, "identifierName": "setTimeout" @@ -12621,15 +12976,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 9386, - "end": 9808, + "start": 9521, + "end": 9943, "loc": { "start": { - "line": 229, + "line": 233, "column": 34 }, "end": { - "line": 245, + "line": 249, "column": 5 } }, @@ -12640,87 +12995,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9392, - "end": 9808, + "start": 9527, + "end": 9943, "loc": { "start": { - "line": 229, + "line": 233, "column": 40 }, "end": { - "line": 245, + "line": 249, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9401, - "end": 9762, + "start": 9536, + "end": 9897, "loc": { "start": { - "line": 230, + "line": 234, "column": 6 }, "end": { - "line": 243, + "line": 247, "column": 7 } }, "test": { "type": "LogicalExpression", - "start": 9414, - "end": 9618, + "start": 9549, + "end": 9753, "loc": { "start": { - "line": 231, + "line": 235, "column": 8 }, "end": { - "line": 237, + "line": 241, "column": 9 } }, "left": { "type": "MemberExpression", - "start": 9414, - "end": 9430, + "start": 9549, + "end": 9565, "loc": { "start": { - "line": 231, + "line": 235, "column": 8 }, "end": { - "line": 231, + "line": 235, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 9414, - "end": 9418, + "start": 9549, + "end": 9553, "loc": { "start": { - "line": 231, + "line": 235, "column": 8 }, "end": { - "line": 231, + "line": 235, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9419, - "end": 9430, + "start": 9554, + "end": 9565, "loc": { "start": { - "line": 231, + "line": 235, "column": 13 }, "end": { - "line": 231, + "line": 235, "column": 24 }, "identifierName": "isMouseHold" @@ -12732,71 +13087,71 @@ "operator": "&&", "right": { "type": "LogicalExpression", - "start": 9457, - "end": 9607, + "start": 9592, + "end": 9742, "loc": { "start": { - "line": 233, + "line": 237, "column": 10 }, "end": { - "line": 236, + "line": 240, "column": 28 } }, "left": { "type": "LogicalExpression", - "start": 9457, - "end": 9574, + "start": 9592, + "end": 9709, "loc": { "start": { - "line": 233, + "line": 237, "column": 10 }, "end": { - "line": 235, + "line": 239, "column": 30 } }, "left": { "type": "LogicalExpression", - "start": 9457, - "end": 9539, + "start": 9592, + "end": 9674, "loc": { "start": { - "line": 233, + "line": 237, "column": 10 }, "end": { - "line": 234, + "line": 238, "column": 29 } }, "left": { "type": "LogicalExpression", - "start": 9458, - "end": 9504, + "start": 9593, + "end": 9639, "loc": { "start": { - "line": 233, + "line": 237, "column": 11 }, "end": { - "line": 233, + "line": 237, "column": 57 } }, "left": { "type": "UnaryExpression", - "start": 9458, - "end": 9479, + "start": 9593, + "end": 9614, "loc": { "start": { - "line": 233, + "line": 237, "column": 11 }, "end": { - "line": 233, + "line": 237, "column": 32 } }, @@ -12804,43 +13159,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 9459, - "end": 9479, + "start": 9594, + "end": 9614, "loc": { "start": { - "line": 233, + "line": 237, "column": 12 }, "end": { - "line": 233, + "line": 237, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 9459, - "end": 9474, + "start": 9594, + "end": 9609, "loc": { "start": { - "line": 233, + "line": 237, "column": 12 }, "end": { - "line": 233, + "line": 237, "column": 27 } }, "object": { "type": "Identifier", - "start": 9459, - "end": 9465, + "start": 9594, + "end": 9600, "loc": { "start": { - "line": 233, + "line": 237, "column": 12 }, "end": { - "line": 233, + "line": 237, "column": 18 }, "identifierName": "button" @@ -12849,15 +13204,15 @@ }, "property": { "type": "Identifier", - "start": 9466, - "end": 9474, + "start": 9601, + "end": 9609, "loc": { "start": { - "line": 233, + "line": 237, "column": 19 }, "end": { - "line": 233, + "line": 237, "column": 27 }, "identifierName": "includes" @@ -12869,15 +13224,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9475, - "end": 9478, + "start": 9610, + "end": 9613, "loc": { "start": { - "line": 233, + "line": 237, "column": 28 }, "end": { - "line": 233, + "line": 237, "column": 31 } }, @@ -12896,15 +13251,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 9483, - "end": 9504, + "start": 9618, + "end": 9639, "loc": { "start": { - "line": 233, + "line": 237, "column": 36 }, "end": { - "line": 233, + "line": 237, "column": 57 } }, @@ -12912,43 +13267,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 9484, - "end": 9504, + "start": 9619, + "end": 9639, "loc": { "start": { - "line": 233, + "line": 237, "column": 37 }, "end": { - "line": 233, + "line": 237, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9484, - "end": 9499, + "start": 9619, + "end": 9634, "loc": { "start": { - "line": 233, + "line": 237, "column": 37 }, "end": { - "line": 233, + "line": 237, "column": 52 } }, "object": { "type": "Identifier", - "start": 9484, - "end": 9490, + "start": 9619, + "end": 9625, "loc": { "start": { - "line": 233, + "line": 237, "column": 37 }, "end": { - "line": 233, + "line": 237, "column": 43 }, "identifierName": "button" @@ -12957,15 +13312,15 @@ }, "property": { "type": "Identifier", - "start": 9491, - "end": 9499, + "start": 9626, + "end": 9634, "loc": { "start": { - "line": 233, + "line": 237, "column": 44 }, "end": { - "line": 233, + "line": 237, "column": 52 }, "identifierName": "includes" @@ -12977,15 +13332,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9500, - "end": 9503, + "start": 9635, + "end": 9638, "loc": { "start": { - "line": 233, + "line": 237, "column": 53 }, "end": { - "line": 233, + "line": 237, "column": 56 } }, @@ -13003,35 +13358,35 @@ }, "extra": { "parenthesized": true, - "parenStart": 9457 + "parenStart": 9592 } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 9520, - "end": 9539, + "start": 9655, + "end": 9674, "loc": { "start": { - "line": 234, + "line": 238, "column": 10 }, "end": { - "line": 234, + "line": 238, "column": 29 } }, "left": { "type": "Identifier", - "start": 9520, - "end": 9526, + "start": 9655, + "end": 9661, "loc": { "start": { - "line": 234, + "line": 238, "column": 10 }, "end": { - "line": 234, + "line": 238, "column": 16 }, "identifierName": "button" @@ -13041,15 +13396,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9531, - "end": 9539, + "start": 9666, + "end": 9674, "loc": { "start": { - "line": 234, + "line": 238, "column": 21 }, "end": { - "line": 234, + "line": 238, "column": 29 } }, @@ -13064,29 +13419,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 9554, - "end": 9574, + "start": 9689, + "end": 9709, "loc": { "start": { - "line": 235, + "line": 239, "column": 10 }, "end": { - "line": 235, + "line": 239, "column": 30 } }, "left": { "type": "Identifier", - "start": 9554, - "end": 9560, + "start": 9689, + "end": 9695, "loc": { "start": { - "line": 235, + "line": 239, "column": 10 }, "end": { - "line": 235, + "line": 239, "column": 16 }, "identifierName": "button" @@ -13096,15 +13451,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9565, - "end": 9574, + "start": 9700, + "end": 9709, "loc": { "start": { - "line": 235, + "line": 239, "column": 21 }, "end": { - "line": 235, + "line": 239, "column": 30 } }, @@ -13119,29 +13474,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 9589, - "end": 9607, + "start": 9724, + "end": 9742, "loc": { "start": { - "line": 236, + "line": 240, "column": 10 }, "end": { - "line": 236, + "line": 240, "column": 28 } }, "left": { "type": "Identifier", - "start": 9589, - "end": 9595, + "start": 9724, + "end": 9730, "loc": { "start": { - "line": 236, + "line": 240, "column": 10 }, "end": { - "line": 236, + "line": 240, "column": 16 }, "identifierName": "button" @@ -13151,15 +13506,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9600, - "end": 9607, + "start": 9735, + "end": 9742, "loc": { "start": { - "line": 236, + "line": 240, "column": 21 }, "end": { - "line": 236, + "line": 240, "column": 28 } }, @@ -13172,93 +13527,93 @@ }, "extra": { "parenthesized": true, - "parenStart": 9444 + "parenStart": 9579 } } }, "consequent": { "type": "BlockStatement", - "start": 9627, - "end": 9762, + "start": 9762, + "end": 9897, "loc": { "start": { - "line": 238, + "line": 242, "column": 7 }, "end": { - "line": 243, + "line": 247, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 9638, - "end": 9708, + "start": 9773, + "end": 9843, "loc": { "start": { - "line": 239, + "line": 243, "column": 8 }, "end": { - "line": 240, + "line": 244, "column": 46 } }, "test": { "type": "MemberExpression", - "start": 9641, - "end": 9659, + "start": 9776, + "end": 9794, "loc": { "start": { - "line": 239, + "line": 243, "column": 11 }, "end": { - "line": 239, + "line": 243, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 9641, - "end": 9653, + "start": 9776, + "end": 9788, "loc": { "start": { - "line": 239, + "line": 243, "column": 11 }, "end": { - "line": 239, + "line": 243, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9641, - "end": 9645, + "start": 9776, + "end": 9780, "loc": { "start": { - "line": 239, + "line": 243, "column": 11 }, "end": { - "line": 239, + "line": 243, "column": 15 } } }, "property": { "type": "Identifier", - "start": 9646, - "end": 9653, + "start": 9781, + "end": 9788, "loc": { "start": { - "line": 239, + "line": 243, "column": 16 }, "end": { - "line": 239, + "line": 243, "column": 23 }, "identifierName": "options" @@ -13269,15 +13624,15 @@ }, "property": { "type": "Identifier", - "start": 9654, - "end": 9659, + "start": 9789, + "end": 9794, "loc": { "start": { - "line": 239, + "line": 243, "column": 24 }, "end": { - "line": 239, + "line": 243, "column": 29 }, "identifierName": "debug" @@ -13288,57 +13643,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9672, - "end": 9708, + "start": 9807, + "end": 9843, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 9672, - "end": 9707, + "start": 9807, + "end": 9842, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 9672, - "end": 9683, + "start": 9807, + "end": 9818, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 21 } }, "object": { "type": "Identifier", - "start": 9672, - "end": 9679, + "start": 9807, + "end": 9814, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 17 }, "identifierName": "console" @@ -13347,15 +13702,15 @@ }, "property": { "type": "Identifier", - "start": 9680, - "end": 9683, + "start": 9815, + "end": 9818, "loc": { "start": { - "line": 240, + "line": 244, "column": 18 }, "end": { - "line": 240, + "line": 244, "column": 21 }, "identifierName": "log" @@ -13367,15 +13722,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9684, - "end": 9698, + "start": 9819, + "end": 9833, "loc": { "start": { - "line": 240, + "line": 244, "column": 22 }, "end": { - "line": 240, + "line": 244, "column": 36 } }, @@ -13387,15 +13742,15 @@ }, { "type": "Identifier", - "start": 9700, - "end": 9706, + "start": 9835, + "end": 9841, "loc": { "start": { - "line": 240, + "line": 244, "column": 38 }, "end": { - "line": 240, + "line": 244, "column": 44 }, "identifierName": "button" @@ -13409,72 +13764,72 @@ }, { "type": "ExpressionStatement", - "start": 9720, - "end": 9753, + "start": 9855, + "end": 9888, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 9720, - "end": 9752, + "start": 9855, + "end": 9887, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 9720, - "end": 9741, + "start": 9855, + "end": 9876, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9720, - "end": 9724, + "start": 9855, + "end": 9859, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9725, - "end": 9741, + "start": 9860, + "end": 9876, "loc": { "start": { - "line": 242, + "line": 246, "column": 13 }, "end": { - "line": 242, + "line": 246, "column": 29 }, "identifierName": "handleButtonHold" @@ -13486,15 +13841,15 @@ "arguments": [ { "type": "Identifier", - "start": 9742, - "end": 9748, + "start": 9877, + "end": 9883, "loc": { "start": { - "line": 242, + "line": 246, "column": 30 }, "end": { - "line": 242, + "line": 246, "column": 36 }, "identifierName": "button" @@ -13503,15 +13858,15 @@ }, { "type": "Identifier", - "start": 9750, - "end": 9751, + "start": 9885, + "end": 9886, "loc": { "start": { - "line": 242, + "line": 246, "column": 38 }, "end": { - "line": 242, + "line": 246, "column": 39 }, "identifierName": "e" @@ -13528,43 +13883,43 @@ }, { "type": "ExpressionStatement", - "start": 9770, - "end": 9801, + "start": 9905, + "end": 9936, "loc": { "start": { - "line": 244, + "line": 248, "column": 6 }, "end": { - "line": 244, + "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 9770, - "end": 9800, + "start": 9905, + "end": 9935, "loc": { "start": { - "line": 244, + "line": 248, "column": 6 }, "end": { - "line": 244, + "line": 248, "column": 36 } }, "callee": { "type": "Identifier", - "start": 9770, - "end": 9782, + "start": 9905, + "end": 9917, "loc": { "start": { - "line": 244, + "line": 248, "column": 6 }, "end": { - "line": 244, + "line": 248, "column": 18 }, "identifierName": "clearTimeout" @@ -13574,44 +13929,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9783, - "end": 9799, + "start": 9918, + "end": 9934, "loc": { "start": { - "line": 244, + "line": 248, "column": 19 }, "end": { - "line": 244, + "line": 248, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 9783, - "end": 9787, + "start": 9918, + "end": 9922, "loc": { "start": { - "line": 244, + "line": 248, "column": 19 }, "end": { - "line": 244, + "line": 248, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9788, - "end": 9799, + "start": 9923, + "end": 9934, "loc": { "start": { - "line": 244, + "line": 248, "column": 24 }, "end": { - "line": 244, + "line": 248, "column": 35 }, "identifierName": "holdTimeout" @@ -13629,15 +13984,15 @@ }, { "type": "NumericLiteral", - "start": 9810, - "end": 9813, + "start": 9945, + "end": 9948, "loc": { "start": { - "line": 245, + "line": 249, "column": 7 }, "end": { - "line": 245, + "line": 249, "column": 10 } }, @@ -13655,15 +14010,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", - "start": 9273, - "end": 9350, + "start": 9408, + "end": 9485, "loc": { "start": { - "line": 226, + "line": 230, "column": 4 }, "end": { - "line": 228, + "line": 232, "column": 7 } } @@ -13678,15 +14033,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", - "start": 8886, - "end": 8927, + "start": 9021, + "end": 9062, "loc": { "start": { - "line": 210, + "line": 214, "column": 2 }, "end": { - "line": 212, + "line": 216, "column": 5 } } @@ -13694,15 +14049,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 8931, - "end": 8957, + "start": 9066, + "end": 9092, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 213, + "line": 217, "column": 28 } } @@ -13712,15 +14067,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", - "start": 9826, - "end": 9865, + "start": 9961, + "end": 10000, "loc": { "start": { - "line": 248, + "line": 252, "column": 2 }, "end": { - "line": 250, + "line": 254, "column": 5 } } @@ -13729,15 +14084,15 @@ }, { "type": "ClassMethod", - "start": 9869, - "end": 10014, + "start": 10004, + "end": 10149, "loc": { "start": { - "line": 251, + "line": 255, "column": 2 }, "end": { - "line": 255, + "line": 259, "column": 3 } }, @@ -13745,15 +14100,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9869, - "end": 9888, + "start": 10004, + "end": 10023, "loc": { "start": { - "line": 251, + "line": 255, "column": 2 }, "end": { - "line": 251, + "line": 255, "column": 21 }, "identifierName": "handleButtonMouseUp" @@ -13769,88 +14124,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9890, - "end": 10014, + "start": 10025, + "end": 10149, "loc": { "start": { - "line": 251, + "line": 255, "column": 23 }, "end": { - "line": 255, + "line": 259, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9897, - "end": 9922, + "start": 10032, + "end": 10057, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 9897, - "end": 9921, + "start": 10032, + "end": 10056, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9897, - "end": 9913, + "start": 10032, + "end": 10048, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 9897, - "end": 9901, + "start": 10032, + "end": 10036, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9902, - "end": 9913, + "start": 10037, + "end": 10048, "loc": { "start": { - "line": 252, + "line": 256, "column": 9 }, "end": { - "line": 252, + "line": 256, "column": 20 }, "identifierName": "isMouseHold" @@ -13861,15 +14216,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9916, - "end": 9921, + "start": 10051, + "end": 10056, "loc": { "start": { - "line": 252, + "line": 256, "column": 23 }, "end": { - "line": 252, + "line": 256, "column": 28 } }, @@ -13879,58 +14234,58 @@ }, { "type": "IfStatement", - "start": 9928, - "end": 10009, + "start": 10063, + "end": 10144, "loc": { "start": { - "line": 253, + "line": 257, "column": 4 }, "end": { - "line": 254, + "line": 258, "column": 48 } }, "test": { "type": "MemberExpression", - "start": 9931, - "end": 9958, + "start": 10066, + "end": 10093, "loc": { "start": { - "line": 253, + "line": 257, "column": 7 }, "end": { - "line": 253, + "line": 257, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 9931, - "end": 9935, + "start": 10066, + "end": 10070, "loc": { "start": { - "line": 253, + "line": 257, "column": 7 }, "end": { - "line": 253, + "line": 257, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9936, - "end": 9958, + "start": 10071, + "end": 10093, "loc": { "start": { - "line": 253, + "line": 257, "column": 12 }, "end": { - "line": 253, + "line": 257, "column": 34 }, "identifierName": "holdInteractionTimeout" @@ -13941,43 +14296,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9967, - "end": 10009, + "start": 10102, + "end": 10144, "loc": { "start": { - "line": 254, + "line": 258, "column": 6 }, "end": { - "line": 254, + "line": 258, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 9967, - "end": 10008, + "start": 10102, + "end": 10143, "loc": { "start": { - "line": 254, + "line": 258, "column": 6 }, "end": { - "line": 254, + "line": 258, "column": 47 } }, "callee": { "type": "Identifier", - "start": 9967, - "end": 9979, + "start": 10102, + "end": 10114, "loc": { "start": { - "line": 254, + "line": 258, "column": 6 }, "end": { - "line": 254, + "line": 258, "column": 18 }, "identifierName": "clearTimeout" @@ -13987,44 +14342,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9980, - "end": 10007, + "start": 10115, + "end": 10142, "loc": { "start": { - "line": 254, + "line": 258, "column": 19 }, "end": { - "line": 254, + "line": 258, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 9980, - "end": 9984, + "start": 10115, + "end": 10119, "loc": { "start": { - "line": 254, + "line": 258, "column": 19 }, "end": { - "line": 254, + "line": 258, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9985, - "end": 10007, + "start": 10120, + "end": 10142, "loc": { "start": { - "line": 254, + "line": 258, "column": 24 }, "end": { - "line": 254, + "line": 258, "column": 46 }, "identifierName": "holdInteractionTimeout" @@ -14046,15 +14401,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", - "start": 9826, - "end": 9865, + "start": 9961, + "end": 10000, "loc": { "start": { - "line": 248, + "line": 252, "column": 2 }, "end": { - "line": 250, + "line": 254, "column": 5 } } @@ -14064,15 +14419,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", - "start": 10020, - "end": 10056, + "start": 10155, + "end": 10191, "loc": { "start": { - "line": 257, + "line": 261, "column": 2 }, "end": { - "line": 259, + "line": 263, "column": 5 } } @@ -14080,15 +14435,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 10060, - "end": 10086, + "start": 10195, + "end": 10221, "loc": { "start": { - "line": 260, + "line": 264, "column": 2 }, "end": { - "line": 260, + "line": 264, "column": 28 } } @@ -14097,15 +14452,15 @@ }, { "type": "ClassMethod", - "start": 10090, - "end": 10359, + "start": 10225, + "end": 10693, "loc": { "start": { - "line": 261, + "line": 265, "column": 2 }, "end": { - "line": 269, + "line": 280, "column": 3 } }, @@ -14113,15 +14468,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10090, - "end": 10106, + "start": 10225, + "end": 10241, "loc": { "start": { - "line": 261, + "line": 265, "column": 2 }, "end": { - "line": 261, + "line": 265, "column": 18 }, "identifierName": "handleButtonHold" @@ -14137,15 +14492,15 @@ "params": [ { "type": "Identifier", - "start": 10107, - "end": 10113, + "start": 10242, + "end": 10248, "loc": { "start": { - "line": 261, + "line": 265, "column": 19 }, "end": { - "line": 261, + "line": 265, "column": 25 }, "identifierName": "button" @@ -14155,73 +14510,253 @@ ], "body": { "type": "BlockStatement", - "start": 10114, - "end": 10359, + "start": 10249, + "end": 10693, "loc": { "start": { - "line": 261, + "line": 265, "column": 26 }, "end": { - "line": 269, + "line": 280, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 10213, - "end": 10354, + "type": "IfStatement", + "start": 10256, + "end": 10337, "loc": { "start": { - "line": 265, + "line": 266, "column": 4 }, "end": { - "line": 268, + "line": 267, + "column": 48 + } + }, + "test": { + "type": "MemberExpression", + "start": 10259, + "end": 10286, + "loc": { + "start": { + "line": 266, + "column": 7 + }, + "end": { + "line": 266, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 10259, + "end": 10263, + "loc": { + "start": { + "line": 266, + "column": 7 + }, + "end": { + "line": 266, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 10264, + "end": 10286, + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 34 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + }, + "consequent": { + "type": "ExpressionStatement", + "start": 10295, + "end": 10337, + "loc": { + "start": { + "line": 267, + "column": 6 + }, + "end": { + "line": 267, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 10295, + "end": 10336, + "loc": { + "start": { + "line": 267, + "column": 6 + }, + "end": { + "line": 267, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 10295, + "end": 10307, + "loc": { + "start": { + "line": 267, + "column": 6 + }, + "end": { + "line": 267, + "column": 18 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10308, + "end": 10335, + "loc": { + "start": { + "line": 267, + "column": 19 + }, + "end": { + "line": 267, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 10308, + "end": 10312, + "loc": { + "start": { + "line": 267, + "column": 19 + }, + "end": { + "line": 267, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 10313, + "end": 10335, + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 46 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + } + ] + }, + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", + "start": 10345, + "end": 10431, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 271, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 10437, + "end": 10688, + "loc": { + "start": { + "line": 272, + "column": 4 + }, + "end": { + "line": 279, "column": 12 } }, "expression": { "type": "AssignmentExpression", - "start": 10213, - "end": 10353, + "start": 10437, + "end": 10687, "loc": { "start": { - "line": 265, + "line": 272, "column": 4 }, "end": { - "line": 268, + "line": 279, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10213, - "end": 10240, + "start": 10437, + "end": 10464, "loc": { "start": { - "line": 265, + "line": 272, "column": 4 }, "end": { - "line": 265, + "line": 272, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 10213, - "end": 10217, + "start": 10437, + "end": 10441, "loc": { "start": { - "line": 265, + "line": 272, "column": 4 }, "end": { - "line": 265, + "line": 272, "column": 8 } }, @@ -14229,15 +14764,15 @@ }, "property": { "type": "Identifier", - "start": 10218, - "end": 10240, + "start": 10442, + "end": 10464, "loc": { "start": { - "line": 265, + "line": 272, "column": 9 }, "end": { - "line": 265, + "line": 272, "column": 31 }, "identifierName": "holdInteractionTimeout" @@ -14249,29 +14784,29 @@ }, "right": { "type": "CallExpression", - "start": 10243, - "end": 10353, + "start": 10467, + "end": 10687, "loc": { "start": { - "line": 265, + "line": 272, "column": 34 }, "end": { - "line": 268, + "line": 279, "column": 11 } }, "callee": { "type": "Identifier", - "start": 10243, - "end": 10253, + "start": 10467, + "end": 10477, "loc": { "start": { - "line": 265, + "line": 272, "column": 34 }, "end": { - "line": 265, + "line": 272, "column": 44 }, "identifierName": "setTimeout" @@ -14281,15 +14816,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10254, - "end": 10347, + "start": 10478, + "end": 10681, "loc": { "start": { - "line": 265, + "line": 272, "column": 45 }, "end": { - "line": 268, + "line": 279, "column": 5 } }, @@ -14300,211 +14835,407 @@ "params": [], "body": { "type": "BlockStatement", - "start": 10260, - "end": 10347, + "start": 10484, + "end": 10681, "loc": { "start": { - "line": 265, + "line": 272, "column": 51 }, "end": { - "line": 268, + "line": 279, "column": 5 } }, "body": [ { - "type": "ExpressionStatement", - "start": 10269, - "end": 10302, + "type": "IfStatement", + "start": 10493, + "end": 10674, "loc": { "start": { - "line": 266, + "line": 273, "column": 6 }, "end": { - "line": 266, - "column": 39 + "line": 278, + "column": 7 } }, - "expression": { - "type": "CallExpression", - "start": 10269, - "end": 10301, + "test": { + "type": "MemberExpression", + "start": 10496, + "end": 10512, "loc": { "start": { - "line": 266, - "column": 6 + "line": 273, + "column": 9 }, "end": { - "line": 266, - "column": 38 + "line": 273, + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 10269, - "end": 10293, + "object": { + "type": "ThisExpression", + "start": 10496, + "end": 10500, "loc": { "start": { - "line": 266, - "column": 6 + "line": 273, + "column": 9 }, "end": { - "line": 266, - "column": 30 + "line": 273, + "column": 13 } - }, - "object": { - "type": "ThisExpression", - "start": 10269, - "end": 10273, - "loc": { - "start": { - "line": 266, - "column": 6 - }, - "end": { - "line": 266, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 10274, - "end": 10293, - "loc": { - "start": { - "line": 266, - "column": 11 - }, - "end": { - "line": 266, - "column": 30 - }, - "identifierName": "handleButtonClicked" - }, - "name": "handleButtonClicked" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 10294, - "end": 10300, - "loc": { - "start": { - "line": 266, - "column": 31 - }, - "end": { - "line": 266, - "column": 37 - }, - "identifierName": "button" - }, - "name": "button" } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 10310, - "end": 10340, - "loc": { - "start": { - "line": 267, - "column": 6 }, - "end": { - "line": 267, - "column": 36 - } + "property": { + "type": "Identifier", + "start": 10501, + "end": 10512, + "loc": { + "start": { + "line": 273, + "column": 14 + }, + "end": { + "line": 273, + "column": 25 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false }, - "expression": { - "type": "CallExpression", - "start": 10310, - "end": 10339, + "consequent": { + "type": "BlockStatement", + "start": 10513, + "end": 10606, "loc": { "start": { - "line": 267, - "column": 6 + "line": 273, + "column": 26 }, "end": { - "line": 267, - "column": 35 + "line": 276, + "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 10310, - "end": 10331, - "loc": { - "start": { - "line": 267, - "column": 6 - }, - "end": { - "line": 267, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 10310, - "end": 10314, - "loc": { - "start": { - "line": 267, - "column": 6 - }, - "end": { - "line": 267, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 10315, - "end": 10331, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 27 - }, - "identifierName": "handleButtonHold" - }, - "name": "handleButtonHold" - }, - "computed": false - }, - "arguments": [ + "body": [ { - "type": "Identifier", - "start": 10332, - "end": 10338, + "type": "ExpressionStatement", + "start": 10524, + "end": 10557, "loc": { "start": { - "line": 267, - "column": 28 + "line": 274, + "column": 8 }, "end": { - "line": 267, - "column": 34 - }, - "identifierName": "button" + "line": 274, + "column": 41 + } }, - "name": "button" + "expression": { + "type": "CallExpression", + "start": 10524, + "end": 10556, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10524, + "end": 10548, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 32 + } + }, + "object": { + "type": "ThisExpression", + "start": 10524, + "end": 10528, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 10529, + "end": 10548, + "loc": { + "start": { + "line": 274, + "column": 13 + }, + "end": { + "line": 274, + "column": 32 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10549, + "end": 10555, + "loc": { + "start": { + "line": 274, + "column": 33 + }, + "end": { + "line": 274, + "column": 39 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10567, + "end": 10597, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 10567, + "end": 10596, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10567, + "end": 10588, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 10567, + "end": 10571, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 10572, + "end": 10588, + "loc": { + "start": { + "line": 275, + "column": 13 + }, + "end": { + "line": 275, + "column": 29 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10589, + "end": 10595, + "loc": { + "start": { + "line": 275, + "column": 30 + }, + "end": { + "line": 275, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } } - ] + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 10612, + "end": 10674, + "loc": { + "start": { + "line": 276, + "column": 13 + }, + "end": { + "line": 278, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10623, + "end": 10665, + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 10623, + "end": 10664, + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 10623, + "end": 10635, + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 20 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10636, + "end": 10663, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 10636, + "end": 10640, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 10641, + "end": 10663, + "loc": { + "start": { + "line": 277, + "column": 26 + }, + "end": { + "line": 277, + "column": 48 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + } + ] + } + } + ], + "directives": [] } } ], @@ -14513,15 +15244,15 @@ }, { "type": "NumericLiteral", - "start": 10349, - "end": 10352, + "start": 10683, + "end": 10686, "loc": { "start": { - "line": 268, + "line": 279, "column": 7 }, "end": { - "line": 268, + "line": 279, "column": 10 } }, @@ -14539,15 +15270,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", - "start": 10121, - "end": 10207, + "start": 10345, + "end": 10431, "loc": { "start": { - "line": 262, + "line": 269, "column": 4 }, "end": { - "line": 264, + "line": 271, "column": 7 } } @@ -14562,15 +15293,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", - "start": 10020, - "end": 10056, + "start": 10155, + "end": 10191, "loc": { "start": { - "line": 257, + "line": 261, "column": 2 }, "end": { - "line": 259, + "line": 263, "column": 5 } } @@ -14578,15 +15309,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 10060, - "end": 10086, + "start": 10195, + "end": 10221, "loc": { "start": { - "line": 260, + "line": 264, "column": 2 }, "end": { - "line": 260, + "line": 264, "column": 28 } } @@ -14596,15 +15327,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 10365, - "end": 10462, + "start": 10699, + "end": 10796, "loc": { "start": { - "line": 271, + "line": 282, "column": 2 }, "end": { - "line": 273, + "line": 284, "column": 5 } } @@ -14613,15 +15344,15 @@ }, { "type": "ClassMethod", - "start": 10466, - "end": 10578, + "start": 10800, + "end": 10912, "loc": { "start": { - "line": 274, + "line": 285, "column": 2 }, "end": { - "line": 278, + "line": 289, "column": 3 } }, @@ -14629,15 +15360,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10466, - "end": 10484, + "start": 10800, + "end": 10818, "loc": { "start": { - "line": 274, + "line": 285, "column": 2 }, "end": { - "line": 274, + "line": 285, "column": 20 }, "identifierName": "syncInstanceInputs" @@ -14653,87 +15384,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 10486, - "end": 10578, + "start": 10820, + "end": 10912, "loc": { "start": { - "line": 274, + "line": 285, "column": 22 }, "end": { - "line": 278, + "line": 289, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10493, - "end": 10573, + "start": 10827, + "end": 10907, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 277, + "line": 288, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 10493, - "end": 10572, + "start": 10827, + "end": 10906, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 277, + "line": 288, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 10493, - "end": 10506, + "start": 10827, + "end": 10840, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 275, + "line": 286, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10493, - "end": 10497, + "start": 10827, + "end": 10831, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 275, + "line": 286, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10498, - "end": 10506, + "start": 10832, + "end": 10840, "loc": { "start": { - "line": 275, + "line": 286, "column": 9 }, "end": { - "line": 275, + "line": 286, "column": 17 }, "identifierName": "dispatch" @@ -14745,15 +15476,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10507, - "end": 10571, + "start": 10841, + "end": 10905, "loc": { "start": { - "line": 275, + "line": 286, "column": 18 }, "end": { - "line": 277, + "line": 288, "column": 5 } }, @@ -14764,15 +15495,15 @@ "params": [ { "type": "Identifier", - "start": 10508, - "end": 10516, + "start": 10842, + "end": 10850, "loc": { "start": { - "line": 275, + "line": 286, "column": 19 }, "end": { - "line": 275, + "line": 286, "column": 27 }, "identifierName": "instance" @@ -14782,72 +15513,72 @@ ], "body": { "type": "BlockStatement", - "start": 10521, - "end": 10571, + "start": 10855, + "end": 10905, "loc": { "start": { - "line": 275, + "line": 286, "column": 32 }, "end": { - "line": 277, + "line": 288, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 10530, - "end": 10564, + "start": 10864, + "end": 10898, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 10530, - "end": 10563, + "start": 10864, + "end": 10897, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 10530, - "end": 10551, + "start": 10864, + "end": 10885, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 27 } }, "object": { "type": "Identifier", - "start": 10530, - "end": 10538, + "start": 10864, + "end": 10872, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 14 }, "identifierName": "instance" @@ -14856,15 +15587,15 @@ }, "property": { "type": "Identifier", - "start": 10539, - "end": 10551, + "start": 10873, + "end": 10885, "loc": { "start": { - "line": 276, + "line": 287, "column": 15 }, "end": { - "line": 276, + "line": 287, "column": 27 }, "identifierName": "replaceInput" @@ -14876,44 +15607,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 10552, - "end": 10562, + "start": 10886, + "end": 10896, "loc": { "start": { - "line": 276, + "line": 287, "column": 28 }, "end": { - "line": 276, + "line": 287, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 10552, - "end": 10556, + "start": 10886, + "end": 10890, "loc": { "start": { - "line": 276, + "line": 287, "column": 28 }, "end": { - "line": 276, + "line": 287, "column": 32 } } }, "property": { "type": "Identifier", - "start": 10557, - "end": 10562, + "start": 10891, + "end": 10896, "loc": { "start": { - "line": 276, + "line": 287, "column": 33 }, "end": { - "line": 276, + "line": 287, "column": 38 }, "identifierName": "input" @@ -14940,15 +15671,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 10365, - "end": 10462, + "start": 10699, + "end": 10796, "loc": { "start": { - "line": 271, + "line": 282, "column": 2 }, "end": { - "line": 273, + "line": 284, "column": 5 } } @@ -14958,15 +15689,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10586, - "end": 10704, + "start": 10920, + "end": 11038, "loc": { "start": { - "line": 280, + "line": 291, "column": 2 }, "end": { - "line": 283, + "line": 294, "column": 5 } } @@ -14975,15 +15706,15 @@ }, { "type": "ClassMethod", - "start": 10708, - "end": 10983, + "start": 11042, + "end": 11317, "loc": { "start": { - "line": 284, + "line": 295, "column": 2 }, "end": { - "line": 293, + "line": 304, "column": 3 } }, @@ -14991,15 +15722,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10708, - "end": 10718, + "start": 11042, + "end": 11052, "loc": { "start": { - "line": 284, + "line": 295, "column": 2 }, "end": { - "line": 284, + "line": 295, "column": 12 }, "identifierName": "clearInput" @@ -15015,15 +15746,15 @@ "params": [ { "type": "Identifier", - "start": 10719, - "end": 10728, + "start": 11053, + "end": 11062, "loc": { "start": { - "line": 284, + "line": 295, "column": 13 }, "end": { - "line": 284, + "line": 295, "column": 22 }, "identifierName": "inputName" @@ -15033,59 +15764,59 @@ ], "body": { "type": "BlockStatement", - "start": 10729, - "end": 10983, + "start": 11063, + "end": 11317, "loc": { "start": { - "line": 284, + "line": 295, "column": 23 }, "end": { - "line": 293, + "line": 304, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10736, - "end": 10784, + "start": 11070, + "end": 11118, "loc": { "start": { - "line": 285, + "line": 296, "column": 4 }, "end": { - "line": 285, + "line": 296, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 10736, - "end": 10783, + "start": 11070, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 4 }, "end": { - "line": 285, + "line": 296, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10736, - "end": 10745, + "start": 11070, + "end": 11079, "loc": { "start": { - "line": 285, + "line": 296, "column": 4 }, "end": { - "line": 285, + "line": 296, "column": 13 }, "identifierName": "inputName" @@ -15094,29 +15825,29 @@ }, "right": { "type": "LogicalExpression", - "start": 10748, - "end": 10783, + "start": 11082, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 16 }, "end": { - "line": 285, + "line": 296, "column": 51 } }, "left": { "type": "Identifier", - "start": 10748, - "end": 10757, + "start": 11082, + "end": 11091, "loc": { "start": { - "line": 285, + "line": 296, "column": 16 }, "end": { - "line": 285, + "line": 296, "column": 25 }, "identifierName": "inputName" @@ -15126,58 +15857,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 10761, - "end": 10783, + "start": 11095, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 29 }, "end": { - "line": 285, + "line": 296, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 10761, - "end": 10773, + "start": 11095, + "end": 11107, "loc": { "start": { - "line": 285, + "line": 296, "column": 29 }, "end": { - "line": 285, + "line": 296, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 10761, - "end": 10765, + "start": 11095, + "end": 11099, "loc": { "start": { - "line": 285, + "line": 296, "column": 29 }, "end": { - "line": 285, + "line": 296, "column": 33 } } }, "property": { "type": "Identifier", - "start": 10766, - "end": 10773, + "start": 11100, + "end": 11107, "loc": { "start": { - "line": 285, + "line": 296, "column": 34 }, "end": { - "line": 285, + "line": 296, "column": 41 }, "identifierName": "options" @@ -15188,15 +15919,15 @@ }, "property": { "type": "Identifier", - "start": 10774, - "end": 10783, + "start": 11108, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 42 }, "end": { - "line": 285, + "line": 296, "column": 51 }, "identifierName": "inputName" @@ -15210,87 +15941,87 @@ }, { "type": "ExpressionStatement", - "start": 10790, - "end": 10830, + "start": 11124, + "end": 11164, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 10790, - "end": 10829, + "start": 11124, + "end": 11163, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10790, - "end": 10824, + "start": 11124, + "end": 11158, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 10790, - "end": 10800, + "start": 11124, + "end": 11134, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 10790, - "end": 10794, + "start": 11124, + "end": 11128, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10795, - "end": 10800, + "start": 11129, + "end": 11134, "loc": { "start": { - "line": 286, + "line": 297, "column": 9 }, "end": { - "line": 286, + "line": 297, "column": 14 }, "identifierName": "input" @@ -15301,58 +16032,58 @@ }, "property": { "type": "MemberExpression", - "start": 10801, - "end": 10823, + "start": 11135, + "end": 11157, "loc": { "start": { - "line": 286, + "line": 297, "column": 15 }, "end": { - "line": 286, + "line": 297, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 10801, - "end": 10813, + "start": 11135, + "end": 11147, "loc": { "start": { - "line": 286, + "line": 297, "column": 15 }, "end": { - "line": 286, + "line": 297, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10801, - "end": 10805, + "start": 11135, + "end": 11139, "loc": { "start": { - "line": 286, + "line": 297, "column": 15 }, "end": { - "line": 286, + "line": 297, "column": 19 } } }, "property": { "type": "Identifier", - "start": 10806, - "end": 10813, + "start": 11140, + "end": 11147, "loc": { "start": { - "line": 286, + "line": 297, "column": 20 }, "end": { - "line": 286, + "line": 297, "column": 27 }, "identifierName": "options" @@ -15363,15 +16094,15 @@ }, "property": { "type": "Identifier", - "start": 10814, - "end": 10823, + "start": 11148, + "end": 11157, "loc": { "start": { - "line": 286, + "line": 297, "column": 28 }, "end": { - "line": 286, + "line": 297, "column": 37 }, "identifierName": "inputName" @@ -15384,15 +16115,15 @@ }, "right": { "type": "StringLiteral", - "start": 10827, - "end": 10829, + "start": 11161, + "end": 11163, "loc": { "start": { - "line": 286, + "line": 297, "column": 41 }, "end": { - "line": 286, + "line": 297, "column": 43 } }, @@ -15407,15 +16138,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 10838, - "end": 10893, + "start": 11172, + "end": 11227, "loc": { "start": { - "line": 288, + "line": 299, "column": 4 }, "end": { - "line": 290, + "line": 301, "column": 7 } } @@ -15424,57 +16155,57 @@ }, { "type": "IfStatement", - "start": 10899, - "end": 10978, + "start": 11233, + "end": 11312, "loc": { "start": { - "line": 291, + "line": 302, "column": 4 }, "end": { - "line": 292, + "line": 303, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 10902, - "end": 10933, + "start": 11236, + "end": 11267, "loc": { "start": { - "line": 291, + "line": 302, "column": 7 }, "end": { - "line": 291, + "line": 302, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 10902, - "end": 10914, + "start": 11236, + "end": 11248, "loc": { "start": { - "line": 291, + "line": 302, "column": 7 }, "end": { - "line": 291, + "line": 302, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 10902, - "end": 10906, + "start": 11236, + "end": 11240, "loc": { "start": { - "line": 291, + "line": 302, "column": 7 }, "end": { - "line": 291, + "line": 302, "column": 11 } }, @@ -15482,15 +16213,15 @@ }, "property": { "type": "Identifier", - "start": 10907, - "end": 10914, + "start": 11241, + "end": 11248, "loc": { "start": { - "line": 291, + "line": 302, "column": 12 }, "end": { - "line": 291, + "line": 302, "column": 19 }, "identifierName": "options" @@ -15502,15 +16233,15 @@ }, "property": { "type": "Identifier", - "start": 10915, - "end": 10933, + "start": 11249, + "end": 11267, "loc": { "start": { - "line": 291, + "line": 302, "column": 20 }, "end": { - "line": 291, + "line": 302, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -15522,72 +16253,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 10942, - "end": 10978, + "start": 11276, + "end": 11312, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 10942, - "end": 10977, + "start": 11276, + "end": 11311, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 10942, - "end": 10965, + "start": 11276, + "end": 11299, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 10942, - "end": 10946, + "start": 11276, + "end": 11280, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 10 } } }, "property": { "type": "Identifier", - "start": 10947, - "end": 10965, + "start": 11281, + "end": 11299, "loc": { "start": { - "line": 292, + "line": 303, "column": 11 }, "end": { - "line": 292, + "line": 303, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -15599,44 +16330,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 10966, - "end": 10976, + "start": 11300, + "end": 11310, "loc": { "start": { - "line": 292, + "line": 303, "column": 30 }, "end": { - "line": 292, + "line": 303, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 10966, - "end": 10970, + "start": 11300, + "end": 11304, "loc": { "start": { - "line": 292, + "line": 303, "column": 30 }, "end": { - "line": 292, + "line": 303, "column": 34 } } }, "property": { "type": "Identifier", - "start": 10971, - "end": 10976, + "start": 11305, + "end": 11310, "loc": { "start": { - "line": 292, + "line": 303, "column": 35 }, "end": { - "line": 292, + "line": 303, "column": 40 }, "identifierName": "input" @@ -15653,15 +16384,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 10838, - "end": 10893, + "start": 11172, + "end": 11227, "loc": { "start": { - "line": 288, + "line": 299, "column": 4 }, "end": { - "line": 290, + "line": 301, "column": 7 } } @@ -15676,15 +16407,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10586, - "end": 10704, + "start": 10920, + "end": 11038, "loc": { "start": { - "line": 280, + "line": 291, "column": 2 }, "end": { - "line": 283, + "line": 294, "column": 5 } } @@ -15694,15 +16425,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10989, - "end": 11151, + "start": 11323, + "end": 11485, "loc": { "start": { - "line": 295, + "line": 306, "column": 2 }, "end": { - "line": 298, + "line": 309, "column": 5 } } @@ -15711,15 +16442,15 @@ }, { "type": "ClassMethod", - "start": 11155, - "end": 11432, + "start": 11489, + "end": 11766, "loc": { "start": { - "line": 299, + "line": 310, "column": 2 }, "end": { - "line": 309, + "line": 320, "column": 3 } }, @@ -15727,15 +16458,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11155, - "end": 11163, + "start": 11489, + "end": 11497, "loc": { "start": { - "line": 299, + "line": 310, "column": 2 }, "end": { - "line": 299, + "line": 310, "column": 10 }, "identifierName": "getInput" @@ -15751,15 +16482,15 @@ "params": [ { "type": "Identifier", - "start": 11164, - "end": 11173, + "start": 11498, + "end": 11507, "loc": { "start": { - "line": 299, + "line": 310, "column": 11 }, "end": { - "line": 299, + "line": 310, "column": 20 }, "identifierName": "inputName" @@ -15769,59 +16500,59 @@ ], "body": { "type": "BlockStatement", - "start": 11174, - "end": 11432, + "start": 11508, + "end": 11766, "loc": { "start": { - "line": 299, + "line": 310, "column": 21 }, "end": { - "line": 309, + "line": 320, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 11181, - "end": 11229, + "start": 11515, + "end": 11563, "loc": { "start": { - "line": 300, + "line": 311, "column": 4 }, "end": { - "line": 300, + "line": 311, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 11181, - "end": 11228, + "start": 11515, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 4 }, "end": { - "line": 300, + "line": 311, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 11181, - "end": 11190, + "start": 11515, + "end": 11524, "loc": { "start": { - "line": 300, + "line": 311, "column": 4 }, "end": { - "line": 300, + "line": 311, "column": 13 }, "identifierName": "inputName" @@ -15830,29 +16561,29 @@ }, "right": { "type": "LogicalExpression", - "start": 11193, - "end": 11228, + "start": 11527, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 16 }, "end": { - "line": 300, + "line": 311, "column": 51 } }, "left": { "type": "Identifier", - "start": 11193, - "end": 11202, + "start": 11527, + "end": 11536, "loc": { "start": { - "line": 300, + "line": 311, "column": 16 }, "end": { - "line": 300, + "line": 311, "column": 25 }, "identifierName": "inputName" @@ -15862,58 +16593,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 11206, - "end": 11228, + "start": 11540, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 29 }, "end": { - "line": 300, + "line": 311, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11206, - "end": 11218, + "start": 11540, + "end": 11552, "loc": { "start": { - "line": 300, + "line": 311, "column": 29 }, "end": { - "line": 300, + "line": 311, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 11206, - "end": 11210, + "start": 11540, + "end": 11544, "loc": { "start": { - "line": 300, + "line": 311, "column": 29 }, "end": { - "line": 300, + "line": 311, "column": 33 } } }, "property": { "type": "Identifier", - "start": 11211, - "end": 11218, + "start": 11545, + "end": 11552, "loc": { "start": { - "line": 300, + "line": 311, "column": 34 }, "end": { - "line": 300, + "line": 311, "column": 41 }, "identifierName": "options" @@ -15924,15 +16655,15 @@ }, "property": { "type": "Identifier", - "start": 11219, - "end": 11228, + "start": 11553, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 42 }, "end": { - "line": 300, + "line": 311, "column": 51 }, "identifierName": "inputName" @@ -15947,15 +16678,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11237, - "end": 11292, + "start": 11571, + "end": 11626, "loc": { "start": { - "line": 302, + "line": 313, "column": 4 }, "end": { - "line": 304, + "line": 315, "column": 7 } } @@ -15964,57 +16695,57 @@ }, { "type": "IfStatement", - "start": 11298, - "end": 11377, + "start": 11632, + "end": 11711, "loc": { "start": { - "line": 305, + "line": 316, "column": 4 }, "end": { - "line": 306, + "line": 317, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 11301, - "end": 11332, + "start": 11635, + "end": 11666, "loc": { "start": { - "line": 305, + "line": 316, "column": 7 }, "end": { - "line": 305, + "line": 316, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 11301, - "end": 11313, + "start": 11635, + "end": 11647, "loc": { "start": { - "line": 305, + "line": 316, "column": 7 }, "end": { - "line": 305, + "line": 316, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 11301, - "end": 11305, + "start": 11635, + "end": 11639, "loc": { "start": { - "line": 305, + "line": 316, "column": 7 }, "end": { - "line": 305, + "line": 316, "column": 11 } }, @@ -16022,15 +16753,15 @@ }, "property": { "type": "Identifier", - "start": 11306, - "end": 11313, + "start": 11640, + "end": 11647, "loc": { "start": { - "line": 305, + "line": 316, "column": 12 }, "end": { - "line": 305, + "line": 316, "column": 19 }, "identifierName": "options" @@ -16042,15 +16773,15 @@ }, "property": { "type": "Identifier", - "start": 11314, - "end": 11332, + "start": 11648, + "end": 11666, "loc": { "start": { - "line": 305, + "line": 316, "column": 20 }, "end": { - "line": 305, + "line": 316, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -16062,72 +16793,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 11341, - "end": 11377, + "start": 11675, + "end": 11711, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 11341, - "end": 11376, + "start": 11675, + "end": 11710, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 11341, - "end": 11364, + "start": 11675, + "end": 11698, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 11341, - "end": 11345, + "start": 11675, + "end": 11679, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 10 } } }, "property": { "type": "Identifier", - "start": 11346, - "end": 11364, + "start": 11680, + "end": 11698, "loc": { "start": { - "line": 306, + "line": 317, "column": 11 }, "end": { - "line": 306, + "line": 317, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -16139,44 +16870,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 11365, - "end": 11375, + "start": 11699, + "end": 11709, "loc": { "start": { - "line": 306, + "line": 317, "column": 30 }, "end": { - "line": 306, + "line": 317, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 11365, - "end": 11369, + "start": 11699, + "end": 11703, "loc": { "start": { - "line": 306, + "line": 317, "column": 30 }, "end": { - "line": 306, + "line": 317, "column": 34 } } }, "property": { "type": "Identifier", - "start": 11370, - "end": 11375, + "start": 11704, + "end": 11709, "loc": { "start": { - "line": 306, + "line": 317, "column": 35 }, "end": { - "line": 306, + "line": 317, "column": 40 }, "identifierName": "input" @@ -16193,15 +16924,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11237, - "end": 11292, + "start": 11571, + "end": 11626, "loc": { "start": { - "line": 302, + "line": 313, "column": 4 }, "end": { - "line": 304, + "line": 315, "column": 7 } } @@ -16210,72 +16941,72 @@ }, { "type": "ReturnStatement", - "start": 11385, - "end": 11427, + "start": 11719, + "end": 11761, "loc": { "start": { - "line": 308, + "line": 319, "column": 4 }, "end": { - "line": 308, + "line": 319, "column": 46 } }, "argument": { "type": "MemberExpression", - "start": 11392, - "end": 11426, + "start": 11726, + "end": 11760, "loc": { "start": { - "line": 308, + "line": 319, "column": 11 }, "end": { - "line": 308, + "line": 319, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 11392, - "end": 11402, + "start": 11726, + "end": 11736, "loc": { "start": { - "line": 308, + "line": 319, "column": 11 }, "end": { - "line": 308, + "line": 319, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 11392, - "end": 11396, + "start": 11726, + "end": 11730, "loc": { "start": { - "line": 308, + "line": 319, "column": 11 }, "end": { - "line": 308, + "line": 319, "column": 15 } } }, "property": { "type": "Identifier", - "start": 11397, - "end": 11402, + "start": 11731, + "end": 11736, "loc": { "start": { - "line": 308, + "line": 319, "column": 16 }, "end": { - "line": 308, + "line": 319, "column": 21 }, "identifierName": "input" @@ -16286,58 +17017,58 @@ }, "property": { "type": "MemberExpression", - "start": 11403, - "end": 11425, + "start": 11737, + "end": 11759, "loc": { "start": { - "line": 308, + "line": 319, "column": 22 }, "end": { - "line": 308, + "line": 319, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11403, - "end": 11415, + "start": 11737, + "end": 11749, "loc": { "start": { - "line": 308, + "line": 319, "column": 22 }, "end": { - "line": 308, + "line": 319, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 11403, - "end": 11407, + "start": 11737, + "end": 11741, "loc": { "start": { - "line": 308, + "line": 319, "column": 22 }, "end": { - "line": 308, + "line": 319, "column": 26 } } }, "property": { "type": "Identifier", - "start": 11408, - "end": 11415, + "start": 11742, + "end": 11749, "loc": { "start": { - "line": 308, + "line": 319, "column": 27 }, "end": { - "line": 308, + "line": 319, "column": 34 }, "identifierName": "options" @@ -16348,15 +17079,15 @@ }, "property": { "type": "Identifier", - "start": 11416, - "end": 11425, + "start": 11750, + "end": 11759, "loc": { "start": { - "line": 308, + "line": 319, "column": 35 }, "end": { - "line": 308, + "line": 319, "column": 44 }, "identifierName": "inputName" @@ -16376,15 +17107,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10989, - "end": 11151, + "start": 11323, + "end": 11485, "loc": { "start": { - "line": 295, + "line": 306, "column": 2 }, "end": { - "line": 298, + "line": 309, "column": 5 } } @@ -16394,15 +17125,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 11438, - "end": 11598, + "start": 11772, + "end": 11932, "loc": { "start": { - "line": 311, + "line": 322, "column": 2 }, "end": { - "line": 315, + "line": 326, "column": 5 } } @@ -16411,15 +17142,15 @@ }, { "type": "ClassMethod", - "start": 11602, - "end": 11872, + "start": 11936, + "end": 12206, "loc": { "start": { - "line": 316, + "line": 327, "column": 2 }, "end": { - "line": 325, + "line": 336, "column": 3 } }, @@ -16427,15 +17158,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11602, - "end": 11610, + "start": 11936, + "end": 11944, "loc": { "start": { - "line": 316, + "line": 327, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 10 }, "identifierName": "setInput" @@ -16451,15 +17182,15 @@ "params": [ { "type": "Identifier", - "start": 11611, - "end": 11616, + "start": 11945, + "end": 11950, "loc": { "start": { - "line": 316, + "line": 327, "column": 11 }, "end": { - "line": 316, + "line": 327, "column": 16 }, "identifierName": "input" @@ -16468,15 +17199,15 @@ }, { "type": "Identifier", - "start": 11618, - "end": 11627, + "start": 11952, + "end": 11961, "loc": { "start": { - "line": 316, + "line": 327, "column": 18 }, "end": { - "line": 316, + "line": 327, "column": 27 }, "identifierName": "inputName" @@ -16486,59 +17217,59 @@ ], "body": { "type": "BlockStatement", - "start": 11628, - "end": 11872, + "start": 11962, + "end": 12206, "loc": { "start": { - "line": 316, + "line": 327, "column": 28 }, "end": { - "line": 325, + "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 11635, - "end": 11683, + "start": 11969, + "end": 12017, "loc": { "start": { - "line": 317, + "line": 328, "column": 4 }, "end": { - "line": 317, + "line": 328, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 11635, - "end": 11682, + "start": 11969, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 4 }, "end": { - "line": 317, + "line": 328, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 11635, - "end": 11644, + "start": 11969, + "end": 11978, "loc": { "start": { - "line": 317, + "line": 328, "column": 4 }, "end": { - "line": 317, + "line": 328, "column": 13 }, "identifierName": "inputName" @@ -16547,29 +17278,29 @@ }, "right": { "type": "LogicalExpression", - "start": 11647, - "end": 11682, + "start": 11981, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 16 }, "end": { - "line": 317, + "line": 328, "column": 51 } }, "left": { "type": "Identifier", - "start": 11647, - "end": 11656, + "start": 11981, + "end": 11990, "loc": { "start": { - "line": 317, + "line": 328, "column": 16 }, "end": { - "line": 317, + "line": 328, "column": 25 }, "identifierName": "inputName" @@ -16579,58 +17310,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 11660, - "end": 11682, + "start": 11994, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 29 }, "end": { - "line": 317, + "line": 328, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11660, - "end": 11672, + "start": 11994, + "end": 12006, "loc": { "start": { - "line": 317, + "line": 328, "column": 29 }, "end": { - "line": 317, + "line": 328, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 11660, - "end": 11664, + "start": 11994, + "end": 11998, "loc": { "start": { - "line": 317, + "line": 328, "column": 29 }, "end": { - "line": 317, + "line": 328, "column": 33 } } }, "property": { "type": "Identifier", - "start": 11665, - "end": 11672, + "start": 11999, + "end": 12006, "loc": { "start": { - "line": 317, + "line": 328, "column": 34 }, "end": { - "line": 317, + "line": 328, "column": 41 }, "identifierName": "options" @@ -16641,15 +17372,15 @@ }, "property": { "type": "Identifier", - "start": 11673, - "end": 11682, + "start": 12007, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 42 }, "end": { - "line": 317, + "line": 328, "column": 51 }, "identifierName": "inputName" @@ -16663,87 +17394,87 @@ }, { "type": "ExpressionStatement", - "start": 11689, - "end": 11719, + "start": 12023, + "end": 12053, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 11689, - "end": 11718, + "start": 12023, + "end": 12052, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11689, - "end": 11710, + "start": 12023, + "end": 12044, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 11689, - "end": 11699, + "start": 12023, + "end": 12033, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 11689, - "end": 11693, + "start": 12023, + "end": 12027, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 8 } } }, "property": { "type": "Identifier", - "start": 11694, - "end": 11699, + "start": 12028, + "end": 12033, "loc": { "start": { - "line": 318, + "line": 329, "column": 9 }, "end": { - "line": 318, + "line": 329, "column": 14 }, "identifierName": "input" @@ -16754,15 +17485,15 @@ }, "property": { "type": "Identifier", - "start": 11700, - "end": 11709, + "start": 12034, + "end": 12043, "loc": { "start": { - "line": 318, + "line": 329, "column": 15 }, "end": { - "line": 318, + "line": 329, "column": 24 }, "identifierName": "inputName" @@ -16773,15 +17504,15 @@ }, "right": { "type": "Identifier", - "start": 11713, - "end": 11718, + "start": 12047, + "end": 12052, "loc": { "start": { - "line": 318, + "line": 329, "column": 28 }, "end": { - "line": 318, + "line": 329, "column": 33 }, "identifierName": "input" @@ -16793,15 +17524,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11727, - "end": 11782, + "start": 12061, + "end": 12116, "loc": { "start": { - "line": 320, + "line": 331, "column": 4 }, "end": { - "line": 322, + "line": 333, "column": 7 } } @@ -16810,57 +17541,57 @@ }, { "type": "IfStatement", - "start": 11788, - "end": 11867, + "start": 12122, + "end": 12201, "loc": { "start": { - "line": 323, + "line": 334, "column": 4 }, "end": { - "line": 324, + "line": 335, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 11791, - "end": 11822, + "start": 12125, + "end": 12156, "loc": { "start": { - "line": 323, + "line": 334, "column": 7 }, "end": { - "line": 323, + "line": 334, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 11791, - "end": 11803, + "start": 12125, + "end": 12137, "loc": { "start": { - "line": 323, + "line": 334, "column": 7 }, "end": { - "line": 323, + "line": 334, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 11791, - "end": 11795, + "start": 12125, + "end": 12129, "loc": { "start": { - "line": 323, + "line": 334, "column": 7 }, "end": { - "line": 323, + "line": 334, "column": 11 } }, @@ -16868,15 +17599,15 @@ }, "property": { "type": "Identifier", - "start": 11796, - "end": 11803, + "start": 12130, + "end": 12137, "loc": { "start": { - "line": 323, + "line": 334, "column": 12 }, "end": { - "line": 323, + "line": 334, "column": 19 }, "identifierName": "options" @@ -16888,15 +17619,15 @@ }, "property": { "type": "Identifier", - "start": 11804, - "end": 11822, + "start": 12138, + "end": 12156, "loc": { "start": { - "line": 323, + "line": 334, "column": 20 }, "end": { - "line": 323, + "line": 334, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -16908,72 +17639,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 11831, - "end": 11867, + "start": 12165, + "end": 12201, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 11831, - "end": 11866, + "start": 12165, + "end": 12200, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 11831, - "end": 11854, + "start": 12165, + "end": 12188, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 11831, - "end": 11835, + "start": 12165, + "end": 12169, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 10 } } }, "property": { "type": "Identifier", - "start": 11836, - "end": 11854, + "start": 12170, + "end": 12188, "loc": { "start": { - "line": 324, + "line": 335, "column": 11 }, "end": { - "line": 324, + "line": 335, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -16985,44 +17716,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 11855, - "end": 11865, + "start": 12189, + "end": 12199, "loc": { "start": { - "line": 324, + "line": 335, "column": 30 }, "end": { - "line": 324, + "line": 335, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 11855, - "end": 11859, + "start": 12189, + "end": 12193, "loc": { "start": { - "line": 324, + "line": 335, "column": 30 }, "end": { - "line": 324, + "line": 335, "column": 34 } } }, "property": { "type": "Identifier", - "start": 11860, - "end": 11865, + "start": 12194, + "end": 12199, "loc": { "start": { - "line": 324, + "line": 335, "column": 35 }, "end": { - "line": 324, + "line": 335, "column": 40 }, "identifierName": "input" @@ -17039,15 +17770,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11727, - "end": 11782, + "start": 12061, + "end": 12116, "loc": { "start": { - "line": 320, + "line": 331, "column": 4 }, "end": { - "line": 322, + "line": 333, "column": 7 } } @@ -17062,15 +17793,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 11438, - "end": 11598, + "start": 11772, + "end": 11932, "loc": { "start": { - "line": 311, + "line": 322, "column": 2 }, "end": { - "line": 315, + "line": 326, "column": 5 } } @@ -17080,15 +17811,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 11880, - "end": 11989, + "start": 12214, + "end": 12323, "loc": { "start": { - "line": 327, + "line": 338, "column": 2 }, "end": { - "line": 330, + "line": 341, "column": 5 } } @@ -17097,15 +17828,15 @@ }, { "type": "ClassMethod", - "start": 11993, - "end": 12049, + "start": 12327, + "end": 12383, "loc": { "start": { - "line": 331, + "line": 342, "column": 2 }, "end": { - "line": 333, + "line": 344, "column": 3 } }, @@ -17113,15 +17844,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11993, - "end": 12005, + "start": 12327, + "end": 12339, "loc": { "start": { - "line": 331, + "line": 342, "column": 2 }, "end": { - "line": 331, + "line": 342, "column": 14 }, "identifierName": "replaceInput" @@ -17137,15 +17868,15 @@ "params": [ { "type": "Identifier", - "start": 12006, - "end": 12014, + "start": 12340, + "end": 12348, "loc": { "start": { - "line": 331, + "line": 342, "column": 15 }, "end": { - "line": 331, + "line": 342, "column": 23 }, "identifierName": "inputObj" @@ -17155,88 +17886,88 @@ ], "body": { "type": "BlockStatement", - "start": 12015, - "end": 12049, + "start": 12349, + "end": 12383, "loc": { "start": { - "line": 331, + "line": 342, "column": 24 }, "end": { - "line": 333, + "line": 344, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 12022, - "end": 12044, + "start": 12356, + "end": 12378, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 12022, - "end": 12043, + "start": 12356, + "end": 12377, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12022, - "end": 12032, + "start": 12356, + "end": 12366, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 12022, - "end": 12026, + "start": 12356, + "end": 12360, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12027, - "end": 12032, + "start": 12361, + "end": 12366, "loc": { "start": { - "line": 332, + "line": 343, "column": 9 }, "end": { - "line": 332, + "line": 343, "column": 14 }, "identifierName": "input" @@ -17247,15 +17978,15 @@ }, "right": { "type": "Identifier", - "start": 12035, - "end": 12043, + "start": 12369, + "end": 12377, "loc": { "start": { - "line": 332, + "line": 343, "column": 17 }, "end": { - "line": 332, + "line": 343, "column": 25 }, "identifierName": "inputObj" @@ -17272,15 +18003,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 11880, - "end": 11989, + "start": 12214, + "end": 12323, "loc": { "start": { - "line": 327, + "line": 338, "column": 2 }, "end": { - "line": 330, + "line": 341, "column": 5 } } @@ -17290,15 +18021,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 12055, - "end": 12181, + "start": 12389, + "end": 12515, "loc": { "start": { - "line": 335, + "line": 346, "column": 2 }, "end": { - "line": 338, + "line": 349, "column": 5 } } @@ -17307,15 +18038,15 @@ }, { "type": "ClassProperty", - "start": 12185, - "end": 12319, + "start": 12519, + "end": 12653, "loc": { "start": { - "line": 339, + "line": 350, "column": 2 }, "end": { - "line": 343, + "line": 354, "column": 3 } }, @@ -17323,15 +18054,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12185, - "end": 12195, + "start": 12519, + "end": 12529, "loc": { "start": { - "line": 339, + "line": 350, "column": 2 }, "end": { - "line": 339, + "line": 350, "column": 12 }, "identifierName": "setOptions" @@ -17341,15 +18072,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 12198, - "end": 12319, + "start": 12532, + "end": 12653, "loc": { "start": { - "line": 339, + "line": 350, "column": 15 }, "end": { - "line": 343, + "line": 354, "column": 3 } }, @@ -17360,15 +18091,15 @@ "params": [ { "type": "Identifier", - "start": 12198, - "end": 12204, + "start": 12532, + "end": 12538, "loc": { "start": { - "line": 339, + "line": 350, "column": 15 }, "end": { - "line": 339, + "line": 350, "column": 21 }, "identifierName": "option" @@ -17378,59 +18109,59 @@ ], "body": { "type": "BlockStatement", - "start": 12208, - "end": 12319, + "start": 12542, + "end": 12653, "loc": { "start": { - "line": 339, + "line": 350, "column": 25 }, "end": { - "line": 343, + "line": 354, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 12215, - "end": 12237, + "start": 12549, + "end": 12571, "loc": { "start": { - "line": 340, + "line": 351, "column": 4 }, "end": { - "line": 340, + "line": 351, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 12215, - "end": 12236, + "start": 12549, + "end": 12570, "loc": { "start": { - "line": 340, + "line": 351, "column": 4 }, "end": { - "line": 340, + "line": 351, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12215, - "end": 12221, + "start": 12549, + "end": 12555, "loc": { "start": { - "line": 340, + "line": 351, "column": 4 }, "end": { - "line": 340, + "line": 351, "column": 10 }, "identifierName": "option" @@ -17439,29 +18170,29 @@ }, "right": { "type": "LogicalExpression", - "start": 12224, - "end": 12236, + "start": 12558, + "end": 12570, "loc": { "start": { - "line": 340, + "line": 351, "column": 13 }, "end": { - "line": 340, + "line": 351, "column": 25 } }, "left": { "type": "Identifier", - "start": 12224, - "end": 12230, + "start": 12558, + "end": 12564, "loc": { "start": { - "line": 340, + "line": 351, "column": 13 }, "end": { - "line": 340, + "line": 351, "column": 19 }, "identifierName": "option" @@ -17471,15 +18202,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 12234, - "end": 12236, + "start": 12568, + "end": 12570, "loc": { "start": { - "line": 340, + "line": 351, "column": 23 }, "end": { - "line": 340, + "line": 351, "column": 25 } }, @@ -17490,73 +18221,73 @@ }, { "type": "ExpressionStatement", - "start": 12243, - "end": 12294, + "start": 12577, + "end": 12628, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 12243, - "end": 12293, + "start": 12577, + "end": 12627, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12243, - "end": 12255, + "start": 12577, + "end": 12589, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 12243, - "end": 12247, + "start": 12577, + "end": 12581, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12248, - "end": 12255, + "start": 12582, + "end": 12589, "loc": { "start": { - "line": 341, + "line": 352, "column": 9 }, "end": { - "line": 341, + "line": 352, "column": 16 }, "identifierName": "options" @@ -17567,43 +18298,43 @@ }, "right": { "type": "CallExpression", - "start": 12258, - "end": 12293, + "start": 12592, + "end": 12627, "loc": { "start": { - "line": 341, + "line": 352, "column": 19 }, "end": { - "line": 341, + "line": 352, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 12258, - "end": 12271, + "start": 12592, + "end": 12605, "loc": { "start": { - "line": 341, + "line": 352, "column": 19 }, "end": { - "line": 341, + "line": 352, "column": 32 } }, "object": { "type": "Identifier", - "start": 12258, - "end": 12264, + "start": 12592, + "end": 12598, "loc": { "start": { - "line": 341, + "line": 352, "column": 19 }, "end": { - "line": 341, + "line": 352, "column": 25 }, "identifierName": "Object" @@ -17612,15 +18343,15 @@ }, "property": { "type": "Identifier", - "start": 12265, - "end": 12271, + "start": 12599, + "end": 12605, "loc": { "start": { - "line": 341, + "line": 352, "column": 26 }, "end": { - "line": 341, + "line": 352, "column": 32 }, "identifierName": "assign" @@ -17632,44 +18363,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 12272, - "end": 12284, + "start": 12606, + "end": 12618, "loc": { "start": { - "line": 341, + "line": 352, "column": 33 }, "end": { - "line": 341, + "line": 352, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 12272, - "end": 12276, + "start": 12606, + "end": 12610, "loc": { "start": { - "line": 341, + "line": 352, "column": 33 }, "end": { - "line": 341, + "line": 352, "column": 37 } } }, "property": { "type": "Identifier", - "start": 12277, - "end": 12284, + "start": 12611, + "end": 12618, "loc": { "start": { - "line": 341, + "line": 352, "column": 38 }, "end": { - "line": 341, + "line": 352, "column": 45 }, "identifierName": "options" @@ -17680,15 +18411,15 @@ }, { "type": "Identifier", - "start": 12286, - "end": 12292, + "start": 12620, + "end": 12626, "loc": { "start": { - "line": 341, + "line": 352, "column": 47 }, "end": { - "line": 341, + "line": 352, "column": 53 }, "identifierName": "option" @@ -17701,72 +18432,72 @@ }, { "type": "ExpressionStatement", - "start": 12300, - "end": 12314, + "start": 12634, + "end": 12648, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 12300, - "end": 12313, + "start": 12634, + "end": 12647, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 12300, - "end": 12311, + "start": 12634, + "end": 12645, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 12300, - "end": 12304, + "start": 12634, + "end": 12638, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12305, - "end": 12311, + "start": 12639, + "end": 12645, "loc": { "start": { - "line": 342, + "line": 353, "column": 9 }, "end": { - "line": 342, + "line": 353, "column": 15 }, "identifierName": "render" @@ -17788,15 +18519,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 12055, - "end": 12181, + "start": 12389, + "end": 12515, "loc": { "start": { - "line": 335, + "line": 346, "column": 2 }, "end": { - "line": 338, + "line": 349, "column": 5 } } @@ -17806,15 +18537,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 12325, - "end": 12434, + "start": 12659, + "end": 12768, "loc": { "start": { - "line": 345, + "line": 356, "column": 2 }, "end": { - "line": 348, + "line": 359, "column": 5 } } @@ -17823,15 +18554,15 @@ }, { "type": "ClassMethod", - "start": 12438, - "end": 12577, + "start": 12772, + "end": 12911, "loc": { "start": { - "line": 349, + "line": 360, "column": 2 }, "end": { - "line": 353, + "line": 364, "column": 3 } }, @@ -17839,15 +18570,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12438, - "end": 12443, + "start": 12772, + "end": 12777, "loc": { "start": { - "line": 349, + "line": 360, "column": 2 }, "end": { - "line": 349, + "line": 360, "column": 7 }, "identifierName": "clear" @@ -17863,102 +18594,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12445, - "end": 12577, + "start": 12779, + "end": 12911, "loc": { "start": { - "line": 349, + "line": 360, "column": 9 }, "end": { - "line": 353, + "line": 364, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 12452, - "end": 12484, + "start": 12786, + "end": 12818, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 12452, - "end": 12483, + "start": 12786, + "end": 12817, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12452, - "end": 12478, + "start": 12786, + "end": 12812, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 12452, - "end": 12468, + "start": 12786, + "end": 12802, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 12452, - "end": 12456, + "start": 12786, + "end": 12790, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12457, - "end": 12468, + "start": 12791, + "end": 12802, "loc": { "start": { - "line": 350, + "line": 361, "column": 9 }, "end": { - "line": 350, + "line": 361, "column": 20 }, "identifierName": "keyboardDOM" @@ -17969,15 +18700,15 @@ }, "property": { "type": "Identifier", - "start": 12469, - "end": 12478, + "start": 12803, + "end": 12812, "loc": { "start": { - "line": 350, + "line": 361, "column": 21 }, "end": { - "line": 350, + "line": 361, "column": 30 }, "identifierName": "innerHTML" @@ -17988,15 +18719,15 @@ }, "right": { "type": "StringLiteral", - "start": 12481, - "end": 12483, + "start": 12815, + "end": 12817, "loc": { "start": { - "line": 350, + "line": 361, "column": 33 }, "end": { - "line": 350, + "line": 361, "column": 35 } }, @@ -18010,87 +18741,87 @@ }, { "type": "ExpressionStatement", - "start": 12490, - "end": 12541, + "start": 12824, + "end": 12875, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 12490, - "end": 12540, + "start": 12824, + "end": 12874, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12490, - "end": 12516, + "start": 12824, + "end": 12850, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 12490, - "end": 12506, + "start": 12824, + "end": 12840, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 12490, - "end": 12494, + "start": 12824, + "end": 12828, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12495, - "end": 12506, + "start": 12829, + "end": 12840, "loc": { "start": { - "line": 351, + "line": 362, "column": 9 }, "end": { - "line": 351, + "line": 362, "column": 20 }, "identifierName": "keyboardDOM" @@ -18101,15 +18832,15 @@ }, "property": { "type": "Identifier", - "start": 12507, - "end": 12516, + "start": 12841, + "end": 12850, "loc": { "start": { - "line": 351, + "line": 362, "column": 21 }, "end": { - "line": 351, + "line": 362, "column": 30 }, "identifierName": "className" @@ -18120,44 +18851,44 @@ }, "right": { "type": "MemberExpression", - "start": 12519, - "end": 12540, + "start": 12853, + "end": 12874, "loc": { "start": { - "line": 351, + "line": 362, "column": 33 }, "end": { - "line": 351, + "line": 362, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 12519, - "end": 12523, + "start": 12853, + "end": 12857, "loc": { "start": { - "line": 351, + "line": 362, "column": 33 }, "end": { - "line": 351, + "line": 362, "column": 37 } } }, "property": { "type": "Identifier", - "start": 12524, - "end": 12540, + "start": 12858, + "end": 12874, "loc": { "start": { - "line": 351, + "line": 362, "column": 38 }, "end": { - "line": 351, + "line": 362, "column": 54 }, "identifierName": "keyboardDOMClass" @@ -18170,73 +18901,73 @@ }, { "type": "ExpressionStatement", - "start": 12547, - "end": 12572, + "start": 12881, + "end": 12906, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 12547, - "end": 12571, + "start": 12881, + "end": 12905, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12547, - "end": 12566, + "start": 12881, + "end": 12900, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12547, - "end": 12551, + "start": 12881, + "end": 12885, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12552, - "end": 12566, + "start": 12886, + "end": 12900, "loc": { "start": { - "line": 352, + "line": 363, "column": 9 }, "end": { - "line": 352, + "line": 363, "column": 23 }, "identifierName": "buttonElements" @@ -18247,15 +18978,15 @@ }, "right": { "type": "ObjectExpression", - "start": 12569, - "end": 12571, + "start": 12903, + "end": 12905, "loc": { "start": { - "line": 352, + "line": 363, "column": 26 }, "end": { - "line": 352, + "line": 363, "column": 28 } }, @@ -18271,15 +19002,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 12325, - "end": 12434, + "start": 12659, + "end": 12768, "loc": { "start": { - "line": 345, + "line": 356, "column": 2 }, "end": { - "line": 348, + "line": 359, "column": 5 } } @@ -18289,15 +19020,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 12583, - "end": 12788, + "start": 12917, + "end": 13122, "loc": { "start": { - "line": 355, + "line": 366, "column": 2 }, "end": { - "line": 358, + "line": 369, "column": 5 } } @@ -18306,15 +19037,15 @@ }, { "type": "ClassMethod", - "start": 12792, - "end": 13160, + "start": 13126, + "end": 13494, "loc": { "start": { - "line": 359, + "line": 370, "column": 2 }, "end": { - "line": 368, + "line": 379, "column": 3 } }, @@ -18322,15 +19053,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12792, - "end": 12800, + "start": 13126, + "end": 13134, "loc": { "start": { - "line": 359, + "line": 370, "column": 2 }, "end": { - "line": 359, + "line": 370, "column": 10 }, "identifierName": "dispatch" @@ -18346,15 +19077,15 @@ "params": [ { "type": "Identifier", - "start": 12801, - "end": 12809, + "start": 13135, + "end": 13143, "loc": { "start": { - "line": 359, + "line": 370, "column": 11 }, "end": { - "line": 359, + "line": 370, "column": 19 }, "identifierName": "callback" @@ -18364,44 +19095,44 @@ ], "body": { "type": "BlockStatement", - "start": 12810, - "end": 13160, + "start": 13144, + "end": 13494, "loc": { "start": { - "line": 359, + "line": 370, "column": 20 }, "end": { - "line": 368, + "line": 379, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 12817, - "end": 13001, + "start": 13151, + "end": 13335, "loc": { "start": { - "line": 360, + "line": 371, "column": 4 }, "end": { - "line": 363, + "line": 374, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 12820, - "end": 12854, + "start": 13154, + "end": 13188, "loc": { "start": { - "line": 360, + "line": 371, "column": 7 }, "end": { - "line": 360, + "line": 371, "column": 41 } }, @@ -18409,29 +19140,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 12821, - "end": 12854, + "start": 13155, + "end": 13188, "loc": { "start": { - "line": 360, + "line": 371, "column": 8 }, "end": { - "line": 360, + "line": 371, "column": 41 } }, "object": { "type": "Identifier", - "start": 12821, - "end": 12827, + "start": 13155, + "end": 13161, "loc": { "start": { - "line": 360, + "line": 371, "column": 8 }, "end": { - "line": 360, + "line": 371, "column": 14 }, "identifierName": "window" @@ -18440,15 +19171,15 @@ }, "property": { "type": "StringLiteral", - "start": 12828, - "end": 12853, + "start": 13162, + "end": 13187, "loc": { "start": { - "line": 360, + "line": 371, "column": 15 }, "end": { - "line": 360, + "line": 371, "column": 40 } }, @@ -18466,72 +19197,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 12855, - "end": 13001, + "start": 13189, + "end": 13335, "loc": { "start": { - "line": 360, + "line": 371, "column": 42 }, "end": { - "line": 363, + "line": 374, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 12864, - "end": 12947, + "start": 13198, + "end": 13281, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 89 } }, "expression": { "type": "CallExpression", - "start": 12864, - "end": 12946, + "start": 13198, + "end": 13280, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 88 } }, "callee": { "type": "MemberExpression", - "start": 12864, - "end": 12876, + "start": 13198, + "end": 13210, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 18 } }, "object": { "type": "Identifier", - "start": 12864, - "end": 12871, + "start": 13198, + "end": 13205, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 13 }, "identifierName": "console" @@ -18540,15 +19271,15 @@ }, "property": { "type": "Identifier", - "start": 12872, - "end": 12876, + "start": 13206, + "end": 13210, "loc": { "start": { - "line": 361, + "line": 372, "column": 14 }, "end": { - "line": 361, + "line": 372, "column": 18 }, "identifierName": "warn" @@ -18560,15 +19291,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 12877, - "end": 12945, + "start": 13211, + "end": 13279, "loc": { "start": { - "line": 361, + "line": 372, "column": 19 }, "end": { - "line": 361, + "line": 372, "column": 87 } }, @@ -18576,15 +19307,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 12878, - "end": 12944, + "start": 13212, + "end": 13278, "loc": { "start": { - "line": 361, + "line": 372, "column": 20 }, "end": { - "line": 361, + "line": 372, "column": 86 } }, @@ -18601,43 +19332,43 @@ }, { "type": "ThrowStatement", - "start": 12955, - "end": 12994, + "start": 13289, + "end": 13328, "loc": { "start": { - "line": 362, + "line": 373, "column": 6 }, "end": { - "line": 362, + "line": 373, "column": 45 } }, "argument": { "type": "NewExpression", - "start": 12961, - "end": 12993, + "start": 13295, + "end": 13327, "loc": { "start": { - "line": 362, + "line": 373, "column": 12 }, "end": { - "line": 362, + "line": 373, "column": 44 } }, "callee": { "type": "Identifier", - "start": 12965, - "end": 12970, + "start": 13299, + "end": 13304, "loc": { "start": { - "line": 362, + "line": 373, "column": 16 }, "end": { - "line": 362, + "line": 373, "column": 21 }, "identifierName": "Error" @@ -18647,15 +19378,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12971, - "end": 12992, + "start": 13305, + "end": 13326, "loc": { "start": { - "line": 362, + "line": 373, "column": 22 }, "end": { - "line": 362, + "line": 373, "column": 43 } }, @@ -18675,85 +19406,85 @@ }, { "type": "ReturnStatement", - "start": 13013, - "end": 13155, + "start": 13347, + "end": 13489, "loc": { "start": { - "line": 365, + "line": 376, "column": 4 }, "end": { - "line": 367, + "line": 378, "column": 6 } }, "argument": { "type": "CallExpression", - "start": 13020, - "end": 13155, + "start": 13354, + "end": 13489, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 367, + "line": 378, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 13020, - "end": 13074, + "start": 13354, + "end": 13408, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 65 } }, "object": { "type": "CallExpression", - "start": 13020, - "end": 13066, + "start": 13354, + "end": 13400, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13020, - "end": 13031, + "start": 13354, + "end": 13365, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 22 } }, "object": { "type": "Identifier", - "start": 13020, - "end": 13026, + "start": 13354, + "end": 13360, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 17 }, "identifierName": "Object" @@ -18762,15 +19493,15 @@ }, "property": { "type": "Identifier", - "start": 13027, - "end": 13031, + "start": 13361, + "end": 13365, "loc": { "start": { - "line": 365, + "line": 376, "column": 18 }, "end": { - "line": 365, + "line": 376, "column": 22 }, "identifierName": "keys" @@ -18782,29 +19513,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13032, - "end": 13065, + "start": 13366, + "end": 13399, "loc": { "start": { - "line": 365, + "line": 376, "column": 23 }, "end": { - "line": 365, + "line": 376, "column": 56 } }, "object": { "type": "Identifier", - "start": 13032, - "end": 13038, + "start": 13366, + "end": 13372, "loc": { "start": { - "line": 365, + "line": 376, "column": 23 }, "end": { - "line": 365, + "line": 376, "column": 29 }, "identifierName": "window" @@ -18813,15 +19544,15 @@ }, "property": { "type": "StringLiteral", - "start": 13039, - "end": 13064, + "start": 13373, + "end": 13398, "loc": { "start": { - "line": 365, + "line": 376, "column": 30 }, "end": { - "line": 365, + "line": 376, "column": 55 } }, @@ -18837,15 +19568,15 @@ }, "property": { "type": "Identifier", - "start": 13067, - "end": 13074, + "start": 13401, + "end": 13408, "loc": { "start": { - "line": 365, + "line": 376, "column": 58 }, "end": { - "line": 365, + "line": 376, "column": 65 }, "identifierName": "forEach" @@ -18857,15 +19588,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13075, - "end": 13154, + "start": 13409, + "end": 13488, "loc": { "start": { - "line": 365, + "line": 376, "column": 66 }, "end": { - "line": 367, + "line": 378, "column": 5 } }, @@ -18876,15 +19607,15 @@ "params": [ { "type": "Identifier", - "start": 13076, - "end": 13079, + "start": 13410, + "end": 13413, "loc": { "start": { - "line": 365, + "line": 376, "column": 67 }, "end": { - "line": 365, + "line": 376, "column": 70 }, "identifierName": "key" @@ -18894,58 +19625,58 @@ ], "body": { "type": "BlockStatement", - "start": 13084, - "end": 13154, + "start": 13418, + "end": 13488, "loc": { "start": { - "line": 365, + "line": 376, "column": 75 }, "end": { - "line": 367, + "line": 378, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 13093, - "end": 13147, + "start": 13427, + "end": 13481, "loc": { "start": { - "line": 366, + "line": 377, "column": 6 }, "end": { - "line": 366, + "line": 377, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 13093, - "end": 13146, + "start": 13427, + "end": 13480, "loc": { "start": { - "line": 366, + "line": 377, "column": 6 }, "end": { - "line": 366, + "line": 377, "column": 59 } }, "callee": { "type": "Identifier", - "start": 13093, - "end": 13101, + "start": 13427, + "end": 13435, "loc": { "start": { - "line": 366, + "line": 377, "column": 6 }, "end": { - "line": 366, + "line": 377, "column": 14 }, "identifierName": "callback" @@ -18955,43 +19686,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 13102, - "end": 13140, + "start": 13436, + "end": 13474, "loc": { "start": { - "line": 366, + "line": 377, "column": 15 }, "end": { - "line": 366, + "line": 377, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 13102, - "end": 13135, + "start": 13436, + "end": 13469, "loc": { "start": { - "line": 366, + "line": 377, "column": 15 }, "end": { - "line": 366, + "line": 377, "column": 48 } }, "object": { "type": "Identifier", - "start": 13102, - "end": 13108, + "start": 13436, + "end": 13442, "loc": { "start": { - "line": 366, + "line": 377, "column": 15 }, "end": { - "line": 366, + "line": 377, "column": 21 }, "identifierName": "window" @@ -19000,15 +19731,15 @@ }, "property": { "type": "StringLiteral", - "start": 13109, - "end": 13134, + "start": 13443, + "end": 13468, "loc": { "start": { - "line": 366, + "line": 377, "column": 22 }, "end": { - "line": 366, + "line": 377, "column": 47 } }, @@ -19022,15 +19753,15 @@ }, "property": { "type": "Identifier", - "start": 13136, - "end": 13139, + "start": 13470, + "end": 13473, "loc": { "start": { - "line": 366, + "line": 377, "column": 49 }, "end": { - "line": 366, + "line": 377, "column": 52 }, "identifierName": "key" @@ -19041,15 +19772,15 @@ }, { "type": "Identifier", - "start": 13142, - "end": 13145, + "start": 13476, + "end": 13479, "loc": { "start": { - "line": 366, + "line": 377, "column": 55 }, "end": { - "line": 366, + "line": 377, "column": 58 }, "identifierName": "key" @@ -19074,15 +19805,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 12583, - "end": 12788, + "start": 12917, + "end": 13122, "loc": { "start": { - "line": 355, + "line": 366, "column": 2 }, "end": { - "line": 358, + "line": 369, "column": 5 } } @@ -19092,15 +19823,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 13166, - "end": 13447, + "start": 13500, + "end": 13781, "loc": { "start": { - "line": 370, + "line": 381, "column": 2 }, "end": { - "line": 374, + "line": 385, "column": 5 } } @@ -19109,15 +19840,15 @@ }, { "type": "ClassMethod", - "start": 13451, - "end": 14683, + "start": 13785, + "end": 15017, "loc": { "start": { - "line": 375, + "line": 386, "column": 2 }, "end": { - "line": 418, + "line": 429, "column": 3 } }, @@ -19125,15 +19856,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13451, - "end": 13465, + "start": 13785, + "end": 13799, "loc": { "start": { - "line": 375, + "line": 386, "column": 2 }, "end": { - "line": 375, + "line": 386, "column": 16 }, "identifierName": "addButtonTheme" @@ -19149,15 +19880,15 @@ "params": [ { "type": "Identifier", - "start": 13466, - "end": 13473, + "start": 13800, + "end": 13807, "loc": { "start": { - "line": 375, + "line": 386, "column": 17 }, "end": { - "line": 375, + "line": 386, "column": 24 }, "identifierName": "buttons" @@ -19166,15 +19897,15 @@ }, { "type": "Identifier", - "start": 13475, - "end": 13484, + "start": 13809, + "end": 13818, "loc": { "start": { - "line": 375, + "line": 386, "column": 26 }, "end": { - "line": 375, + "line": 386, "column": 35 }, "identifierName": "className" @@ -19184,58 +19915,58 @@ ], "body": { "type": "BlockStatement", - "start": 13485, - "end": 14683, + "start": 13819, + "end": 15017, "loc": { "start": { - "line": 375, + "line": 386, "column": 36 }, "end": { - "line": 418, + "line": 429, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 13492, - "end": 13539, + "start": 13826, + "end": 13873, "loc": { "start": { - "line": 376, + "line": 387, "column": 4 }, "end": { - "line": 377, + "line": 388, "column": 19 } }, "test": { "type": "LogicalExpression", - "start": 13495, - "end": 13517, + "start": 13829, + "end": 13851, "loc": { "start": { - "line": 376, + "line": 387, "column": 7 }, "end": { - "line": 376, + "line": 387, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 13495, - "end": 13505, + "start": 13829, + "end": 13839, "loc": { "start": { - "line": 376, + "line": 387, "column": 7 }, "end": { - "line": 376, + "line": 387, "column": 17 } }, @@ -19243,15 +19974,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13496, - "end": 13505, + "start": 13830, + "end": 13839, "loc": { "start": { - "line": 376, + "line": 387, "column": 8 }, "end": { - "line": 376, + "line": 387, "column": 17 }, "identifierName": "className" @@ -19265,15 +19996,15 @@ "operator": "||", "right": { "type": "UnaryExpression", - "start": 13509, - "end": 13517, + "start": 13843, + "end": 13851, "loc": { "start": { - "line": 376, + "line": 387, "column": 21 }, "end": { - "line": 376, + "line": 387, "column": 29 } }, @@ -19281,15 +20012,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13510, - "end": 13517, + "start": 13844, + "end": 13851, "loc": { "start": { - "line": 376, + "line": 387, "column": 22 }, "end": { - "line": 376, + "line": 387, "column": 29 }, "identifierName": "buttons" @@ -19303,29 +20034,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 13526, - "end": 13539, + "start": 13860, + "end": 13873, "loc": { "start": { - "line": 377, + "line": 388, "column": 6 }, "end": { - "line": 377, + "line": 388, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 13533, - "end": 13538, + "start": 13867, + "end": 13872, "loc": { "start": { - "line": 377, + "line": 388, "column": 13 }, "end": { - "line": 377, + "line": 388, "column": 18 } }, @@ -19336,85 +20067,85 @@ }, { "type": "ExpressionStatement", - "start": 13547, - "end": 14656, + "start": 13881, + "end": 14990, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 415, + "line": 426, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 13547, - "end": 14655, + "start": 13881, + "end": 14989, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 415, + "line": 426, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 13547, - "end": 13573, + "start": 13881, + "end": 13907, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 30 } }, "object": { "type": "CallExpression", - "start": 13547, - "end": 13565, + "start": 13881, + "end": 13899, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 13547, - "end": 13560, + "start": 13881, + "end": 13894, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 17 } }, "object": { "type": "Identifier", - "start": 13547, - "end": 13554, + "start": 13881, + "end": 13888, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 11 }, "identifierName": "buttons" @@ -19423,15 +20154,15 @@ }, "property": { "type": "Identifier", - "start": 13555, - "end": 13560, + "start": 13889, + "end": 13894, "loc": { "start": { - "line": 379, + "line": 390, "column": 12 }, "end": { - "line": 379, + "line": 390, "column": 17 }, "identifierName": "split" @@ -19443,15 +20174,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13561, - "end": 13564, + "start": 13895, + "end": 13898, "loc": { "start": { - "line": 379, + "line": 390, "column": 18 }, "end": { - "line": 379, + "line": 390, "column": 21 } }, @@ -19465,15 +20196,15 @@ }, "property": { "type": "Identifier", - "start": 13566, - "end": 13573, + "start": 13900, + "end": 13907, "loc": { "start": { - "line": 379, + "line": 390, "column": 23 }, "end": { - "line": 379, + "line": 390, "column": 30 }, "identifierName": "forEach" @@ -19485,15 +20216,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13574, - "end": 14654, + "start": 13908, + "end": 14988, "loc": { "start": { - "line": 379, + "line": 390, "column": 31 }, "end": { - "line": 415, + "line": 426, "column": 5 } }, @@ -19504,15 +20235,15 @@ "params": [ { "type": "Identifier", - "start": 13574, - "end": 13580, + "start": 13908, + "end": 13914, "loc": { "start": { - "line": 379, + "line": 390, "column": 31 }, "end": { - "line": 379, + "line": 390, "column": 37 }, "identifierName": "button" @@ -19522,100 +20253,100 @@ ], "body": { "type": "BlockStatement", - "start": 13584, - "end": 14654, + "start": 13918, + "end": 14988, "loc": { "start": { - "line": 379, + "line": 390, "column": 41 }, "end": { - "line": 415, + "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 13593, - "end": 14647, + "start": 13927, + "end": 14981, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 414, + "line": 425, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 13593, - "end": 14646, + "start": 13927, + "end": 14980, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 414, + "line": 425, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 13593, - "end": 13621, + "start": 13927, + "end": 13955, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 34 } }, "object": { "type": "CallExpression", - "start": 13593, - "end": 13613, + "start": 13927, + "end": 13947, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 13593, - "end": 13608, + "start": 13927, + "end": 13942, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 21 } }, "object": { "type": "Identifier", - "start": 13593, - "end": 13602, + "start": 13927, + "end": 13936, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 15 }, "identifierName": "className" @@ -19624,15 +20355,15 @@ }, "property": { "type": "Identifier", - "start": 13603, - "end": 13608, + "start": 13937, + "end": 13942, "loc": { "start": { - "line": 380, + "line": 391, "column": 16 }, "end": { - "line": 380, + "line": 391, "column": 21 }, "identifierName": "split" @@ -19644,15 +20375,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13609, - "end": 13612, + "start": 13943, + "end": 13946, "loc": { "start": { - "line": 380, + "line": 391, "column": 22 }, "end": { - "line": 380, + "line": 391, "column": 25 } }, @@ -19666,15 +20397,15 @@ }, "property": { "type": "Identifier", - "start": 13614, - "end": 13621, + "start": 13948, + "end": 13955, "loc": { "start": { - "line": 380, + "line": 391, "column": 27 }, "end": { - "line": 380, + "line": 391, "column": 34 }, "identifierName": "forEach" @@ -19686,15 +20417,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13622, - "end": 14645, + "start": 13956, + "end": 14979, "loc": { "start": { - "line": 380, + "line": 391, "column": 35 }, "end": { - "line": 414, + "line": 425, "column": 7 } }, @@ -19705,15 +20436,15 @@ "params": [ { "type": "Identifier", - "start": 13622, - "end": 13635, + "start": 13956, + "end": 13969, "loc": { "start": { - "line": 380, + "line": 391, "column": 35 }, "end": { - "line": 380, + "line": 391, "column": 48 }, "identifierName": "classNameItem" @@ -19723,44 +20454,44 @@ ], "body": { "type": "BlockStatement", - "start": 13639, - "end": 14645, + "start": 13973, + "end": 14979, "loc": { "start": { - "line": 380, + "line": 391, "column": 52 }, "end": { - "line": 414, + "line": 425, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 13650, - "end": 13721, + "start": 13984, + "end": 14055, "loc": { "start": { - "line": 381, + "line": 392, "column": 8 }, "end": { - "line": 382, + "line": 393, "column": 40 } }, "test": { "type": "UnaryExpression", - "start": 13653, - "end": 13678, + "start": 13987, + "end": 14012, "loc": { "start": { - "line": 381, + "line": 392, "column": 11 }, "end": { - "line": 381, + "line": 392, "column": 36 } }, @@ -19768,58 +20499,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13654, - "end": 13678, + "start": 13988, + "end": 14012, "loc": { "start": { - "line": 381, + "line": 392, "column": 12 }, "end": { - "line": 381, + "line": 392, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13654, - "end": 13666, + "start": 13988, + "end": 14000, "loc": { "start": { - "line": 381, + "line": 392, "column": 12 }, "end": { - "line": 381, + "line": 392, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 13654, - "end": 13658, + "start": 13988, + "end": 13992, "loc": { "start": { - "line": 381, + "line": 392, "column": 12 }, "end": { - "line": 381, + "line": 392, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13659, - "end": 13666, + "start": 13993, + "end": 14000, "loc": { "start": { - "line": 381, + "line": 392, "column": 17 }, "end": { - "line": 381, + "line": 392, "column": 24 }, "identifierName": "options" @@ -19830,15 +20561,15 @@ }, "property": { "type": "Identifier", - "start": 13667, - "end": 13678, + "start": 14001, + "end": 14012, "loc": { "start": { - "line": 381, + "line": 392, "column": 25 }, "end": { - "line": 381, + "line": 392, "column": 36 }, "identifierName": "buttonTheme" @@ -19853,87 +20584,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 13691, - "end": 13721, + "start": 14025, + "end": 14055, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 13691, - "end": 13720, + "start": 14025, + "end": 14054, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13691, - "end": 13715, + "start": 14025, + "end": 14049, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13691, - "end": 13703, + "start": 14025, + "end": 14037, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 13691, - "end": 13695, + "start": 14025, + "end": 14029, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 14 } } }, "property": { "type": "Identifier", - "start": 13696, - "end": 13703, + "start": 14030, + "end": 14037, "loc": { "start": { - "line": 382, + "line": 393, "column": 15 }, "end": { - "line": 382, + "line": 393, "column": 22 }, "identifierName": "options" @@ -19944,15 +20675,15 @@ }, "property": { "type": "Identifier", - "start": 13704, - "end": 13715, + "start": 14038, + "end": 14049, "loc": { "start": { - "line": 382, + "line": 393, "column": 23 }, "end": { - "line": 382, + "line": 393, "column": 34 }, "identifierName": "buttonTheme" @@ -19963,15 +20694,15 @@ }, "right": { "type": "ArrayExpression", - "start": 13718, - "end": 13720, + "start": 14052, + "end": 14054, "loc": { "start": { - "line": 382, + "line": 393, "column": 37 }, "end": { - "line": 382, + "line": 393, "column": 39 } }, @@ -19983,44 +20714,44 @@ }, { "type": "VariableDeclaration", - "start": 13733, - "end": 13760, + "start": 14067, + "end": 14094, "loc": { "start": { - "line": 384, + "line": 395, "column": 8 }, "end": { - "line": 384, + "line": 395, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13737, - "end": 13759, + "start": 14071, + "end": 14093, "loc": { "start": { - "line": 384, + "line": 395, "column": 12 }, "end": { - "line": 384, + "line": 395, "column": 34 } }, "id": { "type": "Identifier", - "start": 13737, - "end": 13751, + "start": 14071, + "end": 14085, "loc": { "start": { - "line": 384, + "line": 395, "column": 12 }, "end": { - "line": 384, + "line": 395, "column": 26 }, "identifierName": "classNameFound" @@ -20029,15 +20760,15 @@ }, "init": { "type": "BooleanLiteral", - "start": 13754, - "end": 13759, + "start": 14088, + "end": 14093, "loc": { "start": { - "line": 384, + "line": 395, "column": 29 }, "end": { - "line": 384, + "line": 395, "column": 34 } }, @@ -20050,15 +20781,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 13774, - "end": 13865, + "start": 14108, + "end": 14199, "loc": { "start": { - "line": 386, + "line": 397, "column": 8 }, "end": { - "line": 388, + "line": 399, "column": 11 } } @@ -20067,85 +20798,85 @@ }, { "type": "ExpressionStatement", - "start": 13875, - "end": 14383, + "start": 14209, + "end": 14717, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 402, + "line": 413, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 13875, - "end": 14382, + "start": 14209, + "end": 14716, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 402, + "line": 413, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 13875, - "end": 13903, + "start": 14209, + "end": 14237, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13899, + "start": 14209, + "end": 14233, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13887, + "start": 14209, + "end": 14221, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13875, - "end": 13879, + "start": 14209, + "end": 14213, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 12 } }, @@ -20153,15 +20884,15 @@ }, "property": { "type": "Identifier", - "start": 13880, - "end": 13887, + "start": 14214, + "end": 14221, "loc": { "start": { - "line": 389, + "line": 400, "column": 13 }, "end": { - "line": 389, + "line": 400, "column": 20 }, "identifierName": "options" @@ -20173,15 +20904,15 @@ }, "property": { "type": "Identifier", - "start": 13888, - "end": 13899, + "start": 14222, + "end": 14233, "loc": { "start": { - "line": 389, + "line": 400, "column": 21 }, "end": { - "line": 389, + "line": 400, "column": 32 }, "identifierName": "buttonTheme" @@ -20193,15 +20924,15 @@ }, "property": { "type": "Identifier", - "start": 13900, - "end": 13903, + "start": 14234, + "end": 14237, "loc": { "start": { - "line": 389, + "line": 400, "column": 33 }, "end": { - "line": 389, + "line": 400, "column": 36 }, "identifierName": "map" @@ -20214,15 +20945,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13904, - "end": 14381, + "start": 14238, + "end": 14715, "loc": { "start": { - "line": 389, + "line": 400, "column": 37 }, "end": { - "line": 402, + "line": 413, "column": 9 } }, @@ -20233,15 +20964,15 @@ "params": [ { "type": "Identifier", - "start": 13904, - "end": 13915, + "start": 14238, + "end": 14249, "loc": { "start": { - "line": 389, + "line": 400, "column": 37 }, "end": { - "line": 389, + "line": 400, "column": 48 }, "identifierName": "buttonTheme" @@ -20251,114 +20982,114 @@ ], "body": { "type": "BlockStatement", - "start": 13919, - "end": 14381, + "start": 14253, + "end": 14715, "loc": { "start": { - "line": 389, + "line": 400, "column": 52 }, "end": { - "line": 402, + "line": 413, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13934, - "end": 14339, + "start": 14268, + "end": 14673, "loc": { "start": { - "line": 391, + "line": 402, "column": 10 }, "end": { - "line": 400, + "line": 411, "column": 11 } }, "test": { "type": "CallExpression", - "start": 13937, - "end": 13989, + "start": 14271, + "end": 14323, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 13937, - "end": 13974, + "start": 14271, + "end": 14308, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 50 } }, "object": { "type": "CallExpression", - "start": 13937, - "end": 13965, + "start": 14271, + "end": 14299, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 13937, - "end": 13960, + "start": 14271, + "end": 14294, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13937, - "end": 13954, + "start": 14271, + "end": 14288, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 30 } }, "object": { "type": "Identifier", - "start": 13937, - "end": 13948, + "start": 14271, + "end": 14282, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 24 }, "identifierName": "buttonTheme" @@ -20367,15 +21098,15 @@ }, "property": { "type": "Identifier", - "start": 13949, - "end": 13954, + "start": 14283, + "end": 14288, "loc": { "start": { - "line": 391, + "line": 402, "column": 25 }, "end": { - "line": 391, + "line": 402, "column": 30 }, "identifierName": "class" @@ -20386,15 +21117,15 @@ }, "property": { "type": "Identifier", - "start": 13955, - "end": 13960, + "start": 14289, + "end": 14294, "loc": { "start": { - "line": 391, + "line": 402, "column": 31 }, "end": { - "line": 391, + "line": 402, "column": 36 }, "identifierName": "split" @@ -20406,15 +21137,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13961, - "end": 13964, + "start": 14295, + "end": 14298, "loc": { "start": { - "line": 391, + "line": 402, "column": 37 }, "end": { - "line": 391, + "line": 402, "column": 40 } }, @@ -20428,15 +21159,15 @@ }, "property": { "type": "Identifier", - "start": 13966, - "end": 13974, + "start": 14300, + "end": 14308, "loc": { "start": { - "line": 391, + "line": 402, "column": 42 }, "end": { - "line": 391, + "line": 402, "column": 50 }, "identifierName": "includes" @@ -20448,15 +21179,15 @@ "arguments": [ { "type": "Identifier", - "start": 13975, - "end": 13988, + "start": 14309, + "end": 14322, "loc": { "start": { - "line": 391, + "line": 402, "column": 51 }, "end": { - "line": 391, + "line": 402, "column": 64 }, "identifierName": "classNameItem" @@ -20467,59 +21198,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 13990, - "end": 14339, + "start": 14324, + "end": 14673, "loc": { "start": { - "line": 391, + "line": 402, "column": 66 }, "end": { - "line": 400, + "line": 411, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 14005, - "end": 14027, + "start": 14339, + "end": 14361, "loc": { "start": { - "line": 392, + "line": 403, "column": 12 }, "end": { - "line": 392, + "line": 403, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 14005, - "end": 14026, + "start": 14339, + "end": 14360, "loc": { "start": { - "line": 392, + "line": 403, "column": 12 }, "end": { - "line": 392, + "line": 403, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14005, - "end": 14019, + "start": 14339, + "end": 14353, "loc": { "start": { - "line": 392, + "line": 403, "column": 12 }, "end": { - "line": 392, + "line": 403, "column": 26 }, "identifierName": "classNameFound" @@ -20528,15 +21259,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14022, - "end": 14026, + "start": 14356, + "end": 14360, "loc": { "start": { - "line": 392, + "line": 403, "column": 29 }, "end": { - "line": 392, + "line": 403, "column": 33 } }, @@ -20546,44 +21277,44 @@ }, { "type": "VariableDeclaration", - "start": 14055, - "end": 14109, + "start": 14389, + "end": 14443, "loc": { "start": { - "line": 394, + "line": 405, "column": 12 }, "end": { - "line": 394, + "line": 405, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14059, - "end": 14108, + "start": 14393, + "end": 14442, "loc": { "start": { - "line": 394, + "line": 405, "column": 16 }, "end": { - "line": 394, + "line": 405, "column": 65 } }, "id": { "type": "Identifier", - "start": 14059, - "end": 14075, + "start": 14393, + "end": 14409, "loc": { "start": { - "line": 394, + "line": 405, "column": 16 }, "end": { - "line": 394, + "line": 405, "column": 32 }, "identifierName": "buttonThemeArray" @@ -20592,57 +21323,57 @@ }, "init": { "type": "CallExpression", - "start": 14078, - "end": 14108, + "start": 14412, + "end": 14442, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 14078, - "end": 14103, + "start": 14412, + "end": 14437, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 14078, - "end": 14097, + "start": 14412, + "end": 14431, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 54 } }, "object": { "type": "Identifier", - "start": 14078, - "end": 14089, + "start": 14412, + "end": 14423, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 46 }, "identifierName": "buttonTheme" @@ -20651,15 +21382,15 @@ }, "property": { "type": "Identifier", - "start": 14090, - "end": 14097, + "start": 14424, + "end": 14431, "loc": { "start": { - "line": 394, + "line": 405, "column": 47 }, "end": { - "line": 394, + "line": 405, "column": 54 }, "identifierName": "buttons" @@ -20670,15 +21401,15 @@ }, "property": { "type": "Identifier", - "start": 14098, - "end": 14103, + "start": 14432, + "end": 14437, "loc": { "start": { - "line": 394, + "line": 405, "column": 55 }, "end": { - "line": 394, + "line": 405, "column": 60 }, "identifierName": "split" @@ -20690,15 +21421,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14104, - "end": 14107, + "start": 14438, + "end": 14441, "loc": { "start": { - "line": 394, + "line": 405, "column": 61 }, "end": { - "line": 394, + "line": 405, "column": 64 } }, @@ -20716,29 +21447,29 @@ }, { "type": "IfStatement", - "start": 14123, - "end": 14326, + "start": 14457, + "end": 14660, "loc": { "start": { - "line": 395, + "line": 406, "column": 12 }, "end": { - "line": 399, + "line": 410, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14126, - "end": 14160, + "start": 14460, + "end": 14494, "loc": { "start": { - "line": 395, + "line": 406, "column": 15 }, "end": { - "line": 395, + "line": 406, "column": 49 } }, @@ -20746,43 +21477,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 14127, - "end": 14160, + "start": 14461, + "end": 14494, "loc": { "start": { - "line": 395, + "line": 406, "column": 16 }, "end": { - "line": 395, + "line": 406, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 14127, - "end": 14152, + "start": 14461, + "end": 14486, "loc": { "start": { - "line": 395, + "line": 406, "column": 16 }, "end": { - "line": 395, + "line": 406, "column": 41 } }, "object": { "type": "Identifier", - "start": 14127, - "end": 14143, + "start": 14461, + "end": 14477, "loc": { "start": { - "line": 395, + "line": 406, "column": 16 }, "end": { - "line": 395, + "line": 406, "column": 32 }, "identifierName": "buttonThemeArray" @@ -20791,15 +21522,15 @@ }, "property": { "type": "Identifier", - "start": 14144, - "end": 14152, + "start": 14478, + "end": 14486, "loc": { "start": { - "line": 395, + "line": 406, "column": 33 }, "end": { - "line": 395, + "line": 406, "column": 41 }, "identifierName": "includes" @@ -20811,15 +21542,15 @@ "arguments": [ { "type": "Identifier", - "start": 14153, - "end": 14159, + "start": 14487, + "end": 14493, "loc": { "start": { - "line": 395, + "line": 406, "column": 42 }, "end": { - "line": 395, + "line": 406, "column": 48 }, "identifierName": "button" @@ -20834,59 +21565,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 14161, - "end": 14326, + "start": 14495, + "end": 14660, "loc": { "start": { - "line": 395, + "line": 406, "column": 50 }, "end": { - "line": 399, + "line": 410, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14178, - "end": 14200, + "start": 14512, + "end": 14534, "loc": { "start": { - "line": 396, + "line": 407, "column": 14 }, "end": { - "line": 396, + "line": 407, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 14178, - "end": 14199, + "start": 14512, + "end": 14533, "loc": { "start": { - "line": 396, + "line": 407, "column": 14 }, "end": { - "line": 396, + "line": 407, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14178, - "end": 14192, + "start": 14512, + "end": 14526, "loc": { "start": { - "line": 396, + "line": 407, "column": 14 }, "end": { - "line": 396, + "line": 407, "column": 28 }, "identifierName": "classNameFound" @@ -20895,15 +21626,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14195, - "end": 14199, + "start": 14529, + "end": 14533, "loc": { "start": { - "line": 396, + "line": 407, "column": 31 }, "end": { - "line": 396, + "line": 407, "column": 35 } }, @@ -20913,57 +21644,57 @@ }, { "type": "ExpressionStatement", - "start": 14216, - "end": 14246, + "start": 14550, + "end": 14580, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 14216, - "end": 14245, + "start": 14550, + "end": 14579, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 14216, - "end": 14237, + "start": 14550, + "end": 14571, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 35 } }, "object": { "type": "Identifier", - "start": 14216, - "end": 14232, + "start": 14550, + "end": 14566, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 30 }, "identifierName": "buttonThemeArray" @@ -20972,15 +21703,15 @@ }, "property": { "type": "Identifier", - "start": 14233, - "end": 14237, + "start": 14567, + "end": 14571, "loc": { "start": { - "line": 397, + "line": 408, "column": 31 }, "end": { - "line": 397, + "line": 408, "column": 35 }, "identifierName": "push" @@ -20992,15 +21723,15 @@ "arguments": [ { "type": "Identifier", - "start": 14238, - "end": 14244, + "start": 14572, + "end": 14578, "loc": { "start": { - "line": 397, + "line": 408, "column": 36 }, "end": { - "line": 397, + "line": 408, "column": 42 }, "identifierName": "button" @@ -21012,58 +21743,58 @@ }, { "type": "ExpressionStatement", - "start": 14262, - "end": 14311, + "start": 14596, + "end": 14645, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 14262, - "end": 14310, + "start": 14596, + "end": 14644, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14262, - "end": 14281, + "start": 14596, + "end": 14615, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 33 } }, "object": { "type": "Identifier", - "start": 14262, - "end": 14273, + "start": 14596, + "end": 14607, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 25 }, "identifierName": "buttonTheme" @@ -21072,15 +21803,15 @@ }, "property": { "type": "Identifier", - "start": 14274, - "end": 14281, + "start": 14608, + "end": 14615, "loc": { "start": { - "line": 398, + "line": 409, "column": 26 }, "end": { - "line": 398, + "line": 409, "column": 33 }, "identifierName": "buttons" @@ -21091,43 +21822,43 @@ }, "right": { "type": "CallExpression", - "start": 14284, - "end": 14310, + "start": 14618, + "end": 14644, "loc": { "start": { - "line": 398, + "line": 409, "column": 36 }, "end": { - "line": 398, + "line": 409, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 14284, - "end": 14305, + "start": 14618, + "end": 14639, "loc": { "start": { - "line": 398, + "line": 409, "column": 36 }, "end": { - "line": 398, + "line": 409, "column": 57 } }, "object": { "type": "Identifier", - "start": 14284, - "end": 14300, + "start": 14618, + "end": 14634, "loc": { "start": { - "line": 398, + "line": 409, "column": 36 }, "end": { - "line": 398, + "line": 409, "column": 52 }, "identifierName": "buttonThemeArray" @@ -21136,15 +21867,15 @@ }, "property": { "type": "Identifier", - "start": 14301, - "end": 14305, + "start": 14635, + "end": 14639, "loc": { "start": { - "line": 398, + "line": 409, "column": 53 }, "end": { - "line": 398, + "line": 409, "column": 57 }, "identifierName": "join" @@ -21156,15 +21887,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14306, - "end": 14309, + "start": 14640, + "end": 14643, "loc": { "start": { - "line": 398, + "line": 409, "column": 58 }, "end": { - "line": 398, + "line": 409, "column": 61 } }, @@ -21190,29 +21921,29 @@ }, { "type": "ReturnStatement", - "start": 14351, - "end": 14370, + "start": 14685, + "end": 14704, "loc": { "start": { - "line": 401, + "line": 412, "column": 10 }, "end": { - "line": 401, + "line": 412, "column": 29 } }, "argument": { "type": "Identifier", - "start": 14358, - "end": 14369, + "start": 14692, + "end": 14703, "loc": { "start": { - "line": 401, + "line": 412, "column": 17 }, "end": { - "line": 401, + "line": 412, "column": 28 }, "identifierName": "buttonTheme" @@ -21231,15 +21962,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 13774, - "end": 13865, + "start": 14108, + "end": 14199, "loc": { "start": { - "line": 386, + "line": 397, "column": 8 }, "end": { - "line": 388, + "line": 399, "column": 11 } } @@ -21249,15 +21980,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 14395, - "end": 14470, + "start": 14729, + "end": 14804, "loc": { "start": { - "line": 404, + "line": 415, "column": 8 }, "end": { - "line": 406, + "line": 417, "column": 11 } } @@ -21266,29 +21997,29 @@ }, { "type": "IfStatement", - "start": 14480, - "end": 14634, + "start": 14814, + "end": 14968, "loc": { "start": { - "line": 407, + "line": 418, "column": 8 }, "end": { - "line": 412, + "line": 423, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 14483, - "end": 14498, + "start": 14817, + "end": 14832, "loc": { "start": { - "line": 407, + "line": 418, "column": 11 }, "end": { - "line": 407, + "line": 418, "column": 26 } }, @@ -21296,15 +22027,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14484, - "end": 14498, + "start": 14818, + "end": 14832, "loc": { "start": { - "line": 407, + "line": 418, "column": 12 }, "end": { - "line": 407, + "line": 418, "column": 26 }, "identifierName": "classNameFound" @@ -21319,115 +22050,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 14499, - "end": 14634, + "start": 14833, + "end": 14968, "loc": { "start": { - "line": 407, + "line": 418, "column": 27 }, "end": { - "line": 412, + "line": 423, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14512, - "end": 14623, + "start": 14846, + "end": 14957, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 411, + "line": 422, "column": 13 } }, "expression": { "type": "CallExpression", - "start": 14512, - "end": 14622, + "start": 14846, + "end": 14956, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 411, + "line": 422, "column": 12 } }, "callee": { "type": "MemberExpression", - "start": 14512, - "end": 14541, + "start": 14846, + "end": 14875, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 14512, - "end": 14536, + "start": 14846, + "end": 14870, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14512, - "end": 14524, + "start": 14846, + "end": 14858, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 14512, - "end": 14516, + "start": 14846, + "end": 14850, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 14 } } }, "property": { "type": "Identifier", - "start": 14517, - "end": 14524, + "start": 14851, + "end": 14858, "loc": { "start": { - "line": 408, + "line": 419, "column": 15 }, "end": { - "line": 408, + "line": 419, "column": 22 }, "identifierName": "options" @@ -21438,15 +22169,15 @@ }, "property": { "type": "Identifier", - "start": 14525, - "end": 14536, + "start": 14859, + "end": 14870, "loc": { "start": { - "line": 408, + "line": 419, "column": 23 }, "end": { - "line": 408, + "line": 419, "column": 34 }, "identifierName": "buttonTheme" @@ -21457,15 +22188,15 @@ }, "property": { "type": "Identifier", - "start": 14537, - "end": 14541, + "start": 14871, + "end": 14875, "loc": { "start": { - "line": 408, + "line": 419, "column": 35 }, "end": { - "line": 408, + "line": 419, "column": 39 }, "identifierName": "push" @@ -21477,30 +22208,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 14542, - "end": 14621, + "start": 14876, + "end": 14955, "loc": { "start": { - "line": 408, + "line": 419, "column": 40 }, "end": { - "line": 411, + "line": 422, "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 14557, - "end": 14577, + "start": 14891, + "end": 14911, "loc": { "start": { - "line": 409, + "line": 420, "column": 12 }, "end": { - "line": 409, + "line": 420, "column": 32 } }, @@ -21509,15 +22240,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14557, - "end": 14562, + "start": 14891, + "end": 14896, "loc": { "start": { - "line": 409, + "line": 420, "column": 12 }, "end": { - "line": 409, + "line": 420, "column": 17 }, "identifierName": "class" @@ -21526,15 +22257,15 @@ }, "value": { "type": "Identifier", - "start": 14564, - "end": 14577, + "start": 14898, + "end": 14911, "loc": { "start": { - "line": 409, + "line": 420, "column": 19 }, "end": { - "line": 409, + "line": 420, "column": 32 }, "identifierName": "classNameItem" @@ -21544,15 +22275,15 @@ }, { "type": "ObjectProperty", - "start": 14592, - "end": 14608, + "start": 14926, + "end": 14942, "loc": { "start": { - "line": 410, + "line": 421, "column": 12 }, "end": { - "line": 410, + "line": 421, "column": 28 } }, @@ -21561,15 +22292,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14592, - "end": 14599, + "start": 14926, + "end": 14933, "loc": { "start": { - "line": 410, + "line": 421, "column": 12 }, "end": { - "line": 410, + "line": 421, "column": 19 }, "identifierName": "buttons" @@ -21578,15 +22309,15 @@ }, "value": { "type": "Identifier", - "start": 14601, - "end": 14608, + "start": 14935, + "end": 14942, "loc": { "start": { - "line": 410, + "line": 421, "column": 21 }, "end": { - "line": 410, + "line": 421, "column": 28 }, "identifierName": "buttons" @@ -21607,15 +22338,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 14395, - "end": 14470, + "start": 14729, + "end": 14804, "loc": { "start": { - "line": 404, + "line": 415, "column": 8 }, "end": { - "line": 406, + "line": 417, "column": 11 } } @@ -21638,72 +22369,72 @@ }, { "type": "ExpressionStatement", - "start": 14664, - "end": 14678, + "start": 14998, + "end": 15012, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 14664, - "end": 14677, + "start": 14998, + "end": 15011, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 14664, - "end": 14675, + "start": 14998, + "end": 15009, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 14664, - "end": 14668, + "start": 14998, + "end": 15002, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 8 } } }, "property": { "type": "Identifier", - "start": 14669, - "end": 14675, + "start": 15003, + "end": 15009, "loc": { "start": { - "line": 417, + "line": 428, "column": 9 }, "end": { - "line": 417, + "line": 428, "column": 15 }, "identifierName": "render" @@ -21723,15 +22454,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 13166, - "end": 13447, + "start": 13500, + "end": 13781, "loc": { "start": { - "line": 370, + "line": 381, "column": 2 }, "end": { - "line": 374, + "line": 385, "column": 5 } } @@ -21741,15 +22472,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 14689, - "end": 15029, + "start": 15023, + "end": 15363, "loc": { "start": { - "line": 420, + "line": 431, "column": 2 }, "end": { - "line": 424, + "line": 435, "column": 5 } } @@ -21758,15 +22489,15 @@ }, { "type": "ClassMethod", - "start": 15033, - "end": 16450, + "start": 15367, + "end": 16784, "loc": { "start": { - "line": 425, + "line": 436, "column": 2 }, "end": { - "line": 471, + "line": 482, "column": 3 } }, @@ -21774,15 +22505,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15033, - "end": 15050, + "start": 15367, + "end": 15384, "loc": { "start": { - "line": 425, + "line": 436, "column": 2 }, "end": { - "line": 425, + "line": 436, "column": 19 }, "identifierName": "removeButtonTheme" @@ -21798,15 +22529,15 @@ "params": [ { "type": "Identifier", - "start": 15051, - "end": 15058, + "start": 15385, + "end": 15392, "loc": { "start": { - "line": 425, + "line": 436, "column": 20 }, "end": { - "line": 425, + "line": 436, "column": 27 }, "identifierName": "buttons" @@ -21815,15 +22546,15 @@ }, { "type": "Identifier", - "start": 15060, - "end": 15069, + "start": 15394, + "end": 15403, "loc": { "start": { - "line": 425, + "line": 436, "column": 29 }, "end": { - "line": 425, + "line": 436, "column": 38 }, "identifierName": "className" @@ -21833,58 +22564,58 @@ ], "body": { "type": "BlockStatement", - "start": 15070, - "end": 16450, + "start": 15404, + "end": 16784, "loc": { "start": { - "line": 425, + "line": 436, "column": 39 }, "end": { - "line": 471, + "line": 482, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 15163, - "end": 15278, + "start": 15497, + "end": 15612, "loc": { "start": { - "line": 429, + "line": 440, "column": 4 }, "end": { - "line": 433, + "line": 444, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 15166, - "end": 15188, + "start": 15500, + "end": 15522, "loc": { "start": { - "line": 429, + "line": 440, "column": 7 }, "end": { - "line": 429, + "line": 440, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 15166, - "end": 15174, + "start": 15500, + "end": 15508, "loc": { "start": { - "line": 429, + "line": 440, "column": 7 }, "end": { - "line": 429, + "line": 440, "column": 15 } }, @@ -21892,15 +22623,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15167, - "end": 15174, + "start": 15501, + "end": 15508, "loc": { "start": { - "line": 429, + "line": 440, "column": 8 }, "end": { - "line": 429, + "line": 440, "column": 15 }, "identifierName": "buttons" @@ -21916,15 +22647,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 15178, - "end": 15188, + "start": 15512, + "end": 15522, "loc": { "start": { - "line": 429, + "line": 440, "column": 19 }, "end": { - "line": 429, + "line": 440, "column": 29 } }, @@ -21932,15 +22663,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15179, - "end": 15188, + "start": 15513, + "end": 15522, "loc": { "start": { - "line": 429, + "line": 440, "column": 20 }, "end": { - "line": 429, + "line": 440, "column": 29 }, "identifierName": "className" @@ -21955,102 +22686,102 @@ }, "consequent": { "type": "BlockStatement", - "start": 15189, - "end": 15278, + "start": 15523, + "end": 15612, "loc": { "start": { - "line": 429, + "line": 440, "column": 30 }, "end": { - "line": 433, + "line": 444, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15198, - "end": 15228, + "start": 15532, + "end": 15562, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 15198, - "end": 15227, + "start": 15532, + "end": 15561, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15198, - "end": 15222, + "start": 15532, + "end": 15556, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15198, - "end": 15210, + "start": 15532, + "end": 15544, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 15198, - "end": 15202, + "start": 15532, + "end": 15536, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 10 } } }, "property": { "type": "Identifier", - "start": 15203, - "end": 15210, + "start": 15537, + "end": 15544, "loc": { "start": { - "line": 430, + "line": 441, "column": 11 }, "end": { - "line": 430, + "line": 441, "column": 18 }, "identifierName": "options" @@ -22061,15 +22792,15 @@ }, "property": { "type": "Identifier", - "start": 15211, - "end": 15222, + "start": 15545, + "end": 15556, "loc": { "start": { - "line": 430, + "line": 441, "column": 19 }, "end": { - "line": 430, + "line": 441, "column": 30 }, "identifierName": "buttonTheme" @@ -22080,15 +22811,15 @@ }, "right": { "type": "ArrayExpression", - "start": 15225, - "end": 15227, + "start": 15559, + "end": 15561, "loc": { "start": { - "line": 430, + "line": 441, "column": 33 }, "end": { - "line": 430, + "line": 441, "column": 35 } }, @@ -22098,72 +22829,72 @@ }, { "type": "ExpressionStatement", - "start": 15236, - "end": 15250, + "start": 15570, + "end": 15584, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 15236, - "end": 15249, + "start": 15570, + "end": 15583, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 15236, - "end": 15247, + "start": 15570, + "end": 15581, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 15236, - "end": 15240, + "start": 15570, + "end": 15574, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 10 } } }, "property": { "type": "Identifier", - "start": 15241, - "end": 15247, + "start": 15575, + "end": 15581, "loc": { "start": { - "line": 431, + "line": 442, "column": 11 }, "end": { - "line": 431, + "line": 442, "column": 17 }, "identifierName": "render" @@ -22177,29 +22908,29 @@ }, { "type": "ReturnStatement", - "start": 15258, - "end": 15271, + "start": 15592, + "end": 15605, "loc": { "start": { - "line": 432, + "line": 443, "column": 6 }, "end": { - "line": 432, + "line": 443, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 15265, - "end": 15270, + "start": 15599, + "end": 15604, "loc": { "start": { - "line": 432, + "line": 443, "column": 13 }, "end": { - "line": 432, + "line": 443, "column": 18 } }, @@ -22215,15 +22946,15 @@ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 15077, - "end": 15157, + "start": 15411, + "end": 15491, "loc": { "start": { - "line": 426, + "line": 437, "column": 4 }, "end": { - "line": 428, + "line": 439, "column": 7 } } @@ -22233,15 +22964,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 15286, - "end": 15354, + "start": 15620, + "end": 15688, "loc": { "start": { - "line": 435, + "line": 446, "column": 4 }, "end": { - "line": 437, + "line": 448, "column": 7 } } @@ -22250,57 +22981,57 @@ }, { "type": "IfStatement", - "start": 15360, - "end": 16445, + "start": 15694, + "end": 16779, "loc": { "start": { - "line": 438, + "line": 449, "column": 4 }, "end": { - "line": 470, + "line": 481, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 15363, - "end": 15448, + "start": 15697, + "end": 15782, "loc": { "start": { - "line": 438, + "line": 449, "column": 7 }, "end": { - "line": 438, + "line": 449, "column": 92 } }, "left": { "type": "LogicalExpression", - "start": 15363, - "end": 15413, + "start": 15697, + "end": 15747, "loc": { "start": { - "line": 438, + "line": 449, "column": 7 }, "end": { - "line": 438, + "line": 449, "column": 57 } }, "left": { "type": "Identifier", - "start": 15363, - "end": 15370, + "start": 15697, + "end": 15704, "loc": { "start": { - "line": 438, + "line": 449, "column": 7 }, "end": { - "line": 438, + "line": 449, "column": 14 }, "identifierName": "buttons" @@ -22311,43 +23042,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 15374, - "end": 15413, + "start": 15708, + "end": 15747, "loc": { "start": { - "line": 438, + "line": 449, "column": 18 }, "end": { - "line": 438, + "line": 449, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 15374, - "end": 15387, + "start": 15708, + "end": 15721, "loc": { "start": { - "line": 438, + "line": 449, "column": 18 }, "end": { - "line": 438, + "line": 449, "column": 31 } }, "object": { "type": "Identifier", - "start": 15374, - "end": 15379, + "start": 15708, + "end": 15713, "loc": { "start": { - "line": 438, + "line": 449, "column": 18 }, "end": { - "line": 438, + "line": 449, "column": 23 }, "identifierName": "Array" @@ -22356,15 +23087,15 @@ }, "property": { "type": "Identifier", - "start": 15380, - "end": 15387, + "start": 15714, + "end": 15721, "loc": { "start": { - "line": 438, + "line": 449, "column": 24 }, "end": { - "line": 438, + "line": 449, "column": 31 }, "identifierName": "isArray" @@ -22376,58 +23107,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 15388, - "end": 15412, + "start": 15722, + "end": 15746, "loc": { "start": { - "line": 438, + "line": 449, "column": 32 }, "end": { - "line": 438, + "line": 449, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 15388, - "end": 15400, + "start": 15722, + "end": 15734, "loc": { "start": { - "line": 438, + "line": 449, "column": 32 }, "end": { - "line": 438, + "line": 449, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 15388, - "end": 15392, + "start": 15722, + "end": 15726, "loc": { "start": { - "line": 438, + "line": 449, "column": 32 }, "end": { - "line": 438, + "line": 449, "column": 36 } } }, "property": { "type": "Identifier", - "start": 15393, - "end": 15400, + "start": 15727, + "end": 15734, "loc": { "start": { - "line": 438, + "line": 449, "column": 37 }, "end": { - "line": 438, + "line": 449, "column": 44 }, "identifierName": "options" @@ -22438,15 +23169,15 @@ }, "property": { "type": "Identifier", - "start": 15401, - "end": 15412, + "start": 15735, + "end": 15746, "loc": { "start": { - "line": 438, + "line": 449, "column": 45 }, "end": { - "line": 438, + "line": 449, "column": 56 }, "identifierName": "buttonTheme" @@ -22462,72 +23193,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 15417, - "end": 15448, + "start": 15751, + "end": 15782, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 92 } }, "object": { "type": "MemberExpression", - "start": 15417, - "end": 15441, + "start": 15751, + "end": 15775, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 15417, - "end": 15429, + "start": 15751, + "end": 15763, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 73 } }, "object": { "type": "ThisExpression", - "start": 15417, - "end": 15421, + "start": 15751, + "end": 15755, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 65 } } }, "property": { "type": "Identifier", - "start": 15422, - "end": 15429, + "start": 15756, + "end": 15763, "loc": { "start": { - "line": 438, + "line": 449, "column": 66 }, "end": { - "line": 438, + "line": 449, "column": 73 }, "identifierName": "options" @@ -22538,15 +23269,15 @@ }, "property": { "type": "Identifier", - "start": 15430, - "end": 15441, + "start": 15764, + "end": 15775, "loc": { "start": { - "line": 438, + "line": 449, "column": 74 }, "end": { - "line": 438, + "line": 449, "column": 85 }, "identifierName": "buttonTheme" @@ -22557,15 +23288,15 @@ }, "property": { "type": "Identifier", - "start": 15442, - "end": 15448, + "start": 15776, + "end": 15782, "loc": { "start": { - "line": 438, + "line": 449, "column": 86 }, "end": { - "line": 438, + "line": 449, "column": 92 }, "identifierName": "length" @@ -22578,59 +23309,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 15449, - "end": 16445, + "start": 15783, + "end": 16779, "loc": { "start": { - "line": 438, + "line": 449, "column": 93 }, "end": { - "line": 470, + "line": 481, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 15458, - "end": 15495, + "start": 15792, + "end": 15829, "loc": { "start": { - "line": 439, + "line": 450, "column": 6 }, "end": { - "line": 439, + "line": 450, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15462, - "end": 15494, + "start": 15796, + "end": 15828, "loc": { "start": { - "line": 439, + "line": 450, "column": 10 }, "end": { - "line": 439, + "line": 450, "column": 42 } }, "id": { "type": "Identifier", - "start": 15462, - "end": 15473, + "start": 15796, + "end": 15807, "loc": { "start": { - "line": 439, + "line": 450, "column": 10 }, "end": { - "line": 439, + "line": 450, "column": 21 }, "identifierName": "buttonArray" @@ -22639,43 +23370,43 @@ }, "init": { "type": "CallExpression", - "start": 15476, - "end": 15494, + "start": 15810, + "end": 15828, "loc": { "start": { - "line": 439, + "line": 450, "column": 24 }, "end": { - "line": 439, + "line": 450, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 15476, - "end": 15489, + "start": 15810, + "end": 15823, "loc": { "start": { - "line": 439, + "line": 450, "column": 24 }, "end": { - "line": 439, + "line": 450, "column": 37 } }, "object": { "type": "Identifier", - "start": 15476, - "end": 15483, + "start": 15810, + "end": 15817, "loc": { "start": { - "line": 439, + "line": 450, "column": 24 }, "end": { - "line": 439, + "line": 450, "column": 31 }, "identifierName": "buttons" @@ -22684,15 +23415,15 @@ }, "property": { "type": "Identifier", - "start": 15484, - "end": 15489, + "start": 15818, + "end": 15823, "loc": { "start": { - "line": 439, + "line": 450, "column": 32 }, "end": { - "line": 439, + "line": 450, "column": 37 }, "identifierName": "split" @@ -22704,15 +23435,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15490, - "end": 15493, + "start": 15824, + "end": 15827, "loc": { "start": { - "line": 439, + "line": 450, "column": 38 }, "end": { - "line": 439, + "line": 450, "column": 41 } }, @@ -22730,57 +23461,57 @@ }, { "type": "ExpressionStatement", - "start": 15503, - "end": 16414, + "start": 15837, + "end": 16748, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 467, + "line": 478, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 15503, - "end": 16413, + "start": 15837, + "end": 16747, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 467, + "line": 478, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 15503, - "end": 15522, + "start": 15837, + "end": 15856, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 440, + "line": 451, "column": 25 } }, "object": { "type": "Identifier", - "start": 15503, - "end": 15514, + "start": 15837, + "end": 15848, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 440, + "line": 451, "column": 17 }, "identifierName": "buttonArray" @@ -22789,15 +23520,15 @@ }, "property": { "type": "Identifier", - "start": 15515, - "end": 15522, + "start": 15849, + "end": 15856, "loc": { "start": { - "line": 440, + "line": 451, "column": 18 }, "end": { - "line": 440, + "line": 451, "column": 25 }, "identifierName": "forEach" @@ -22809,15 +23540,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15523, - "end": 16412, + "start": 15857, + "end": 16746, "loc": { "start": { - "line": 440, + "line": 451, "column": 26 }, "end": { - "line": 467, + "line": 478, "column": 7 } }, @@ -22828,15 +23559,15 @@ "params": [ { "type": "Identifier", - "start": 15524, - "end": 15530, + "start": 15858, + "end": 15864, "loc": { "start": { - "line": 440, + "line": 451, "column": 27 }, "end": { - "line": 440, + "line": 451, "column": 33 }, "identifierName": "button" @@ -22845,15 +23576,15 @@ }, { "type": "Identifier", - "start": 15532, - "end": 15535, + "start": 15866, + "end": 15869, "loc": { "start": { - "line": 440, + "line": 451, "column": 35 }, "end": { - "line": 440, + "line": 451, "column": 38 }, "identifierName": "key" @@ -22863,115 +23594,115 @@ ], "body": { "type": "BlockStatement", - "start": 15540, - "end": 16412, + "start": 15874, + "end": 16746, "loc": { "start": { - "line": 440, + "line": 451, "column": 43 }, "end": { - "line": 467, + "line": 478, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 15551, - "end": 16403, + "start": 15885, + "end": 16737, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 466, + "line": 477, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 15551, - "end": 16402, + "start": 15885, + "end": 16736, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 466, + "line": 477, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 15551, - "end": 15579, + "start": 15885, + "end": 15913, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 15551, - "end": 15575, + "start": 15885, + "end": 15909, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 15551, - "end": 15563, + "start": 15885, + "end": 15897, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15551, - "end": 15555, + "start": 15885, + "end": 15889, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15556, - "end": 15563, + "start": 15890, + "end": 15897, "loc": { "start": { - "line": 441, + "line": 452, "column": 13 }, "end": { - "line": 441, + "line": 452, "column": 20 }, "identifierName": "options" @@ -22982,15 +23713,15 @@ }, "property": { "type": "Identifier", - "start": 15564, - "end": 15575, + "start": 15898, + "end": 15909, "loc": { "start": { - "line": 441, + "line": 452, "column": 21 }, "end": { - "line": 441, + "line": 452, "column": 32 }, "identifierName": "buttonTheme" @@ -23001,15 +23732,15 @@ }, "property": { "type": "Identifier", - "start": 15576, - "end": 15579, + "start": 15910, + "end": 15913, "loc": { "start": { - "line": 441, + "line": 452, "column": 33 }, "end": { - "line": 441, + "line": 452, "column": 36 }, "identifierName": "map" @@ -23021,15 +23752,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15580, - "end": 16401, + "start": 15914, + "end": 16735, "loc": { "start": { - "line": 441, + "line": 452, "column": 37 }, "end": { - "line": 466, + "line": 477, "column": 9 } }, @@ -23040,15 +23771,15 @@ "params": [ { "type": "Identifier", - "start": 15581, - "end": 15592, + "start": 15915, + "end": 15926, "loc": { "start": { - "line": 441, + "line": 452, "column": 38 }, "end": { - "line": 441, + "line": 452, "column": 49 }, "identifierName": "buttonTheme" @@ -23057,15 +23788,15 @@ }, { "type": "Identifier", - "start": 15594, - "end": 15599, + "start": 15928, + "end": 15933, "loc": { "start": { - "line": 441, + "line": 452, "column": 51 }, "end": { - "line": 441, + "line": 452, "column": 56 }, "identifierName": "index" @@ -23075,72 +23806,72 @@ ], "body": { "type": "BlockStatement", - "start": 15604, - "end": 16401, + "start": 15938, + "end": 16735, "loc": { "start": { - "line": 441, + "line": 452, "column": 61 }, "end": { - "line": 466, + "line": 477, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 15772, - "end": 16357, + "start": 16106, + "end": 16691, "loc": { "start": { - "line": 447, + "line": 458, "column": 10 }, "end": { - "line": 463, + "line": 474, "column": 11 } }, "test": { "type": "LogicalExpression", - "start": 15789, - "end": 15868, + "start": 16123, + "end": 16202, "loc": { "start": { - "line": 448, + "line": 459, "column": 12 }, "end": { - "line": 449, + "line": 460, "column": 22 } }, "left": { "type": "LogicalExpression", - "start": 15790, - "end": 15840, + "start": 16124, + "end": 16174, "loc": { "start": { - "line": 448, + "line": 459, "column": 13 }, "end": { - "line": 448, + "line": 459, "column": 63 } }, "left": { "type": "Identifier", - "start": 15790, - "end": 15799, + "start": 16124, + "end": 16133, "loc": { "start": { - "line": 448, + "line": 459, "column": 13 }, "end": { - "line": 448, + "line": 459, "column": 22 }, "identifierName": "className" @@ -23151,43 +23882,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 15803, - "end": 15840, + "start": 16137, + "end": 16174, "loc": { "start": { - "line": 448, + "line": 459, "column": 26 }, "end": { - "line": 448, + "line": 459, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 15803, - "end": 15821, + "start": 16137, + "end": 16155, "loc": { "start": { - "line": 448, + "line": 459, "column": 26 }, "end": { - "line": 448, + "line": 459, "column": 44 } }, "object": { "type": "Identifier", - "start": 15803, - "end": 15812, + "start": 16137, + "end": 16146, "loc": { "start": { - "line": 448, + "line": 459, "column": 26 }, "end": { - "line": 448, + "line": 459, "column": 35 }, "identifierName": "className" @@ -23196,15 +23927,15 @@ }, "property": { "type": "Identifier", - "start": 15813, - "end": 15821, + "start": 16147, + "end": 16155, "loc": { "start": { - "line": 448, + "line": 459, "column": 36 }, "end": { - "line": 448, + "line": 459, "column": 44 }, "identifierName": "includes" @@ -23216,29 +23947,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 15822, - "end": 15839, + "start": 16156, + "end": 16173, "loc": { "start": { - "line": 448, + "line": 459, "column": 45 }, "end": { - "line": 448, + "line": 459, "column": 62 } }, "object": { "type": "Identifier", - "start": 15822, - "end": 15833, + "start": 16156, + "end": 16167, "loc": { "start": { - "line": 448, + "line": 459, "column": 45 }, "end": { - "line": 448, + "line": 459, "column": 56 }, "identifierName": "buttonTheme" @@ -23247,15 +23978,15 @@ }, "property": { "type": "Identifier", - "start": 15834, - "end": 15839, + "start": 16168, + "end": 16173, "loc": { "start": { - "line": 448, + "line": 459, "column": 57 }, "end": { - "line": 448, + "line": 459, "column": 62 }, "identifierName": "class" @@ -23269,21 +24000,21 @@ "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 15789 + "parenStart": 16123 } }, "operator": "||", "right": { "type": "UnaryExpression", - "start": 15858, - "end": 15868, + "start": 16192, + "end": 16202, "loc": { "start": { - "line": 449, + "line": 460, "column": 12 }, "end": { - "line": 449, + "line": 460, "column": 22 } }, @@ -23291,15 +24022,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15859, - "end": 15868, + "start": 16193, + "end": 16202, "loc": { "start": { - "line": 449, + "line": 460, "column": 13 }, "end": { - "line": 449, + "line": 460, "column": 22 }, "identifierName": "className" @@ -23314,59 +24045,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 15881, - "end": 16357, + "start": 16215, + "end": 16691, "loc": { "start": { - "line": 450, + "line": 461, "column": 11 }, "end": { - "line": 463, + "line": 474, "column": 11 } }, "body": [ { "type": "VariableDeclaration", - "start": 15896, - "end": 15985, + "start": 16230, + "end": 16319, "loc": { "start": { - "line": 451, + "line": 462, "column": 12 }, "end": { - "line": 451, + "line": 462, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15900, - "end": 15984, + "start": 16234, + "end": 16318, "loc": { "start": { - "line": 451, + "line": 462, "column": 16 }, "end": { - "line": 451, + "line": 462, "column": 100 } }, "id": { "type": "Identifier", - "start": 15900, - "end": 15919, + "start": 16234, + "end": 16253, "loc": { "start": { - "line": 451, + "line": 462, "column": 16 }, "end": { - "line": 451, + "line": 462, "column": 35 }, "identifierName": "filteredButtonArray" @@ -23375,85 +24106,85 @@ }, "init": { "type": "CallExpression", - "start": 15922, - "end": 15984, + "start": 16256, + "end": 16318, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 100 } }, "callee": { "type": "MemberExpression", - "start": 15922, - "end": 15959, + "start": 16256, + "end": 16293, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 75 } }, "object": { "type": "CallExpression", - "start": 15922, - "end": 15952, + "start": 16256, + "end": 16286, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 15922, - "end": 15947, + "start": 16256, + "end": 16281, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 15922, - "end": 15941, + "start": 16256, + "end": 16275, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 57 } }, "object": { "type": "Identifier", - "start": 15922, - "end": 15933, + "start": 16256, + "end": 16267, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 49 }, "identifierName": "buttonTheme" @@ -23462,15 +24193,15 @@ }, "property": { "type": "Identifier", - "start": 15934, - "end": 15941, + "start": 16268, + "end": 16275, "loc": { "start": { - "line": 451, + "line": 462, "column": 50 }, "end": { - "line": 451, + "line": 462, "column": 57 }, "identifierName": "buttons" @@ -23481,15 +24212,15 @@ }, "property": { "type": "Identifier", - "start": 15942, - "end": 15947, + "start": 16276, + "end": 16281, "loc": { "start": { - "line": 451, + "line": 462, "column": 58 }, "end": { - "line": 451, + "line": 462, "column": 63 }, "identifierName": "split" @@ -23501,15 +24232,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15948, - "end": 15951, + "start": 16282, + "end": 16285, "loc": { "start": { - "line": 451, + "line": 462, "column": 64 }, "end": { - "line": 451, + "line": 462, "column": 67 } }, @@ -23523,15 +24254,15 @@ }, "property": { "type": "Identifier", - "start": 15953, - "end": 15959, + "start": 16287, + "end": 16293, "loc": { "start": { - "line": 451, + "line": 462, "column": 69 }, "end": { - "line": 451, + "line": 462, "column": 75 }, "identifierName": "filter" @@ -23543,15 +24274,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15960, - "end": 15983, + "start": 16294, + "end": 16317, "loc": { "start": { - "line": 451, + "line": 462, "column": 76 }, "end": { - "line": 451, + "line": 462, "column": 99 } }, @@ -23562,15 +24293,15 @@ "params": [ { "type": "Identifier", - "start": 15960, - "end": 15964, + "start": 16294, + "end": 16298, "loc": { "start": { - "line": 451, + "line": 462, "column": 76 }, "end": { - "line": 451, + "line": 462, "column": 80 }, "identifierName": "item" @@ -23580,29 +24311,29 @@ ], "body": { "type": "BinaryExpression", - "start": 15968, - "end": 15983, + "start": 16302, + "end": 16317, "loc": { "start": { - "line": 451, + "line": 462, "column": 84 }, "end": { - "line": 451, + "line": 462, "column": 99 } }, "left": { "type": "Identifier", - "start": 15968, - "end": 15972, + "start": 16302, + "end": 16306, "loc": { "start": { - "line": 451, + "line": 462, "column": 84 }, "end": { - "line": 451, + "line": 462, "column": 88 }, "identifierName": "item" @@ -23612,15 +24343,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15977, - "end": 15983, + "start": 16311, + "end": 16317, "loc": { "start": { - "line": 451, + "line": 462, "column": 93 }, "end": { - "line": 451, + "line": 462, "column": 99 }, "identifierName": "button" @@ -23638,15 +24369,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 16001, - "end": 16098, + "start": 16335, + "end": 16432, "loc": { "start": { - "line": 453, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 466, "column": 15 } } @@ -23655,43 +24386,43 @@ }, { "type": "IfStatement", - "start": 16112, - "end": 16341, + "start": 16446, + "end": 16675, "loc": { "start": { - "line": 456, + "line": 467, "column": 12 }, "end": { - "line": 461, + "line": 472, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 16115, - "end": 16141, + "start": 16449, + "end": 16475, "loc": { "start": { - "line": 456, + "line": 467, "column": 15 }, "end": { - "line": 456, + "line": 467, "column": 41 } }, "object": { "type": "Identifier", - "start": 16115, - "end": 16134, + "start": 16449, + "end": 16468, "loc": { "start": { - "line": 456, + "line": 467, "column": 15 }, "end": { - "line": 456, + "line": 467, "column": 34 }, "identifierName": "filteredButtonArray" @@ -23701,15 +24432,15 @@ }, "property": { "type": "Identifier", - "start": 16135, - "end": 16141, + "start": 16469, + "end": 16475, "loc": { "start": { - "line": 456, + "line": 467, "column": 35 }, "end": { - "line": 456, + "line": 467, "column": 41 }, "identifierName": "length" @@ -23721,73 +24452,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 16142, - "end": 16226, + "start": 16476, + "end": 16560, "loc": { "start": { - "line": 456, + "line": 467, "column": 42 }, "end": { - "line": 458, + "line": 469, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16159, - "end": 16211, + "start": 16493, + "end": 16545, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 16159, - "end": 16210, + "start": 16493, + "end": 16544, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16159, - "end": 16178, + "start": 16493, + "end": 16512, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 33 } }, "object": { "type": "Identifier", - "start": 16159, - "end": 16170, + "start": 16493, + "end": 16504, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 25 }, "identifierName": "buttonTheme" @@ -23796,15 +24527,15 @@ }, "property": { "type": "Identifier", - "start": 16171, - "end": 16178, + "start": 16505, + "end": 16512, "loc": { "start": { - "line": 457, + "line": 468, "column": 26 }, "end": { - "line": 457, + "line": 468, "column": 33 }, "identifierName": "buttons" @@ -23815,43 +24546,43 @@ }, "right": { "type": "CallExpression", - "start": 16181, - "end": 16210, + "start": 16515, + "end": 16544, "loc": { "start": { - "line": 457, + "line": 468, "column": 36 }, "end": { - "line": 457, + "line": 468, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 16181, - "end": 16205, + "start": 16515, + "end": 16539, "loc": { "start": { - "line": 457, + "line": 468, "column": 36 }, "end": { - "line": 457, + "line": 468, "column": 60 } }, "object": { "type": "Identifier", - "start": 16181, - "end": 16200, + "start": 16515, + "end": 16534, "loc": { "start": { - "line": 457, + "line": 468, "column": 36 }, "end": { - "line": 457, + "line": 468, "column": 55 }, "identifierName": "filteredButtonArray" @@ -23860,15 +24591,15 @@ }, "property": { "type": "Identifier", - "start": 16201, - "end": 16205, + "start": 16535, + "end": 16539, "loc": { "start": { - "line": 457, + "line": 468, "column": 56 }, "end": { - "line": 457, + "line": 468, "column": 60 }, "identifierName": "join" @@ -23880,15 +24611,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 16206, - "end": 16209, + "start": 16540, + "end": 16543, "loc": { "start": { - "line": 457, + "line": 468, "column": 61 }, "end": { - "line": 457, + "line": 468, "column": 64 } }, @@ -23907,115 +24638,115 @@ }, "alternate": { "type": "BlockStatement", - "start": 16232, - "end": 16341, + "start": 16566, + "end": 16675, "loc": { "start": { - "line": 458, + "line": 469, "column": 19 }, "end": { - "line": 461, + "line": 472, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16249, - "end": 16291, + "start": 16583, + "end": 16625, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 16249, - "end": 16290, + "start": 16583, + "end": 16624, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 16249, - "end": 16280, + "start": 16583, + "end": 16614, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 16249, - "end": 16273, + "start": 16583, + "end": 16607, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 16249, - "end": 16261, + "start": 16583, + "end": 16595, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16249, - "end": 16253, + "start": 16583, + "end": 16587, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 18 } } }, "property": { "type": "Identifier", - "start": 16254, - "end": 16261, + "start": 16588, + "end": 16595, "loc": { "start": { - "line": 459, + "line": 470, "column": 19 }, "end": { - "line": 459, + "line": 470, "column": 26 }, "identifierName": "options" @@ -24026,15 +24757,15 @@ }, "property": { "type": "Identifier", - "start": 16262, - "end": 16273, + "start": 16596, + "end": 16607, "loc": { "start": { - "line": 459, + "line": 470, "column": 27 }, "end": { - "line": 459, + "line": 470, "column": 38 }, "identifierName": "buttonTheme" @@ -24045,15 +24776,15 @@ }, "property": { "type": "Identifier", - "start": 16274, - "end": 16280, + "start": 16608, + "end": 16614, "loc": { "start": { - "line": 459, + "line": 470, "column": 39 }, "end": { - "line": 459, + "line": 470, "column": 45 }, "identifierName": "splice" @@ -24065,15 +24796,15 @@ "arguments": [ { "type": "Identifier", - "start": 16281, - "end": 16286, + "start": 16615, + "end": 16620, "loc": { "start": { - "line": 459, + "line": 470, "column": 46 }, "end": { - "line": 459, + "line": 470, "column": 51 }, "identifierName": "index" @@ -24082,15 +24813,15 @@ }, { "type": "NumericLiteral", - "start": 16288, - "end": 16289, + "start": 16622, + "end": 16623, "loc": { "start": { - "line": 459, + "line": 470, "column": 53 }, "end": { - "line": 459, + "line": 470, "column": 54 } }, @@ -24105,44 +24836,44 @@ }, { "type": "ExpressionStatement", - "start": 16307, - "end": 16326, + "start": 16641, + "end": 16660, "loc": { "start": { - "line": 460, + "line": 471, "column": 14 }, "end": { - "line": 460, + "line": 471, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 16307, - "end": 16325, + "start": 16641, + "end": 16659, "loc": { "start": { - "line": 460, + "line": 471, "column": 14 }, "end": { - "line": 460, + "line": 471, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 16307, - "end": 16318, + "start": 16641, + "end": 16652, "loc": { "start": { - "line": 460, + "line": 471, "column": 14 }, "end": { - "line": 460, + "line": 471, "column": 25 }, "identifierName": "buttonTheme" @@ -24151,15 +24882,15 @@ }, "right": { "type": "NullLiteral", - "start": 16321, - "end": 16325, + "start": 16655, + "end": 16659, "loc": { "start": { - "line": 460, + "line": 471, "column": 28 }, "end": { - "line": 460, + "line": 471, "column": 32 } } @@ -24173,15 +24904,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 16001, - "end": 16098, + "start": 16335, + "end": 16432, "loc": { "start": { - "line": 453, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 466, "column": 15 } } @@ -24196,15 +24927,15 @@ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 15619, - "end": 15760, + "start": 15953, + "end": 16094, "loc": { "start": { - "line": 443, + "line": 454, "column": 10 }, "end": { - "line": 446, + "line": 457, "column": 13 } } @@ -24213,29 +24944,29 @@ }, { "type": "ReturnStatement", - "start": 16371, - "end": 16390, + "start": 16705, + "end": 16724, "loc": { "start": { - "line": 465, + "line": 476, "column": 10 }, "end": { - "line": 465, + "line": 476, "column": 29 } }, "argument": { "type": "Identifier", - "start": 16378, - "end": 16389, + "start": 16712, + "end": 16723, "loc": { "start": { - "line": 465, + "line": 476, "column": 17 }, "end": { - "line": 465, + "line": 476, "column": 28 }, "identifierName": "buttonTheme" @@ -24259,72 +24990,72 @@ }, { "type": "ExpressionStatement", - "start": 16424, - "end": 16438, + "start": 16758, + "end": 16772, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 16424, - "end": 16437, + "start": 16758, + "end": 16771, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 16424, - "end": 16435, + "start": 16758, + "end": 16769, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 16424, - "end": 16428, + "start": 16758, + "end": 16762, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 10 } } }, "property": { "type": "Identifier", - "start": 16429, - "end": 16435, + "start": 16763, + "end": 16769, "loc": { "start": { - "line": 469, + "line": 480, "column": 11 }, "end": { - "line": 469, + "line": 480, "column": 17 }, "identifierName": "render" @@ -24344,15 +25075,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 15286, - "end": 15354, + "start": 15620, + "end": 15688, "loc": { "start": { - "line": 435, + "line": 446, "column": 4 }, "end": { - "line": 437, + "line": 448, "column": 7 } } @@ -24367,15 +25098,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 14689, - "end": 15029, + "start": 15023, + "end": 15363, "loc": { "start": { - "line": 420, + "line": 431, "column": 2 }, "end": { - "line": 424, + "line": 435, "column": 5 } } @@ -24385,15 +25116,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 16456, - "end": 16659, + "start": 16790, + "end": 16993, "loc": { "start": { - "line": 473, + "line": 484, "column": 2 }, "end": { - "line": 476, + "line": 487, "column": 5 } } @@ -24402,15 +25133,15 @@ }, { "type": "ClassMethod", - "start": 16663, - "end": 16930, + "start": 16997, + "end": 17264, "loc": { "start": { - "line": 477, + "line": 488, "column": 2 }, "end": { - "line": 490, + "line": 501, "column": 3 } }, @@ -24418,15 +25149,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16663, - "end": 16679, + "start": 16997, + "end": 17013, "loc": { "start": { - "line": 477, + "line": 488, "column": 2 }, "end": { - "line": 477, + "line": 488, "column": 18 }, "identifierName": "getButtonElement" @@ -24442,15 +25173,15 @@ "params": [ { "type": "Identifier", - "start": 16680, - "end": 16686, + "start": 17014, + "end": 17020, "loc": { "start": { - "line": 477, + "line": 488, "column": 19 }, "end": { - "line": 477, + "line": 488, "column": 25 }, "identifierName": "button" @@ -24460,59 +25191,59 @@ ], "body": { "type": "BlockStatement", - "start": 16687, - "end": 16930, + "start": 17021, + "end": 17264, "loc": { "start": { - "line": 477, + "line": 488, "column": 26 }, "end": { - "line": 490, + "line": 501, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 16694, - "end": 16705, + "start": 17028, + "end": 17039, "loc": { "start": { - "line": 478, + "line": 489, "column": 4 }, "end": { - "line": 478, + "line": 489, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16698, - "end": 16704, + "start": 17032, + "end": 17038, "loc": { "start": { - "line": 478, + "line": 489, "column": 8 }, "end": { - "line": 478, + "line": 489, "column": 14 } }, "id": { "type": "Identifier", - "start": 16698, - "end": 16704, + "start": 17032, + "end": 17038, "loc": { "start": { - "line": 478, + "line": 489, "column": 8 }, "end": { - "line": 478, + "line": 489, "column": 14 }, "identifierName": "output" @@ -24526,44 +25257,44 @@ }, { "type": "VariableDeclaration", - "start": 16713, - "end": 16757, + "start": 17047, + "end": 17091, "loc": { "start": { - "line": 480, + "line": 491, "column": 4 }, "end": { - "line": 480, + "line": 491, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16717, - "end": 16756, + "start": 17051, + "end": 17090, "loc": { "start": { - "line": 480, + "line": 491, "column": 8 }, "end": { - "line": 480, + "line": 491, "column": 47 } }, "id": { "type": "Identifier", - "start": 16717, - "end": 16726, + "start": 17051, + "end": 17060, "loc": { "start": { - "line": 480, + "line": 491, "column": 8 }, "end": { - "line": 480, + "line": 491, "column": 17 }, "identifierName": "buttonArr" @@ -24572,58 +25303,58 @@ }, "init": { "type": "MemberExpression", - "start": 16729, - "end": 16756, + "start": 17063, + "end": 17090, "loc": { "start": { - "line": 480, + "line": 491, "column": 20 }, "end": { - "line": 480, + "line": 491, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 16729, - "end": 16748, + "start": 17063, + "end": 17082, "loc": { "start": { - "line": 480, + "line": 491, "column": 20 }, "end": { - "line": 480, + "line": 491, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 16729, - "end": 16733, + "start": 17063, + "end": 17067, "loc": { "start": { - "line": 480, + "line": 491, "column": 20 }, "end": { - "line": 480, + "line": 491, "column": 24 } } }, "property": { "type": "Identifier", - "start": 16734, - "end": 16748, + "start": 17068, + "end": 17082, "loc": { "start": { - "line": 480, + "line": 491, "column": 25 }, "end": { - "line": 480, + "line": 491, "column": 39 }, "identifierName": "buttonElements" @@ -24634,15 +25365,15 @@ }, "property": { "type": "Identifier", - "start": 16749, - "end": 16755, + "start": 17083, + "end": 17089, "loc": { "start": { - "line": 480, + "line": 491, "column": 40 }, "end": { - "line": 480, + "line": 491, "column": 46 }, "identifierName": "button" @@ -24657,29 +25388,29 @@ }, { "type": "IfStatement", - "start": 16763, - "end": 16903, + "start": 17097, + "end": 17237, "loc": { "start": { - "line": 481, + "line": 492, "column": 4 }, "end": { - "line": 487, + "line": 498, "column": 5 } }, "test": { "type": "Identifier", - "start": 16766, - "end": 16775, + "start": 17100, + "end": 17109, "loc": { "start": { - "line": 481, + "line": 492, "column": 7 }, "end": { - "line": 481, + "line": 492, "column": 16 }, "identifierName": "buttonArr" @@ -24688,72 +25419,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 16776, - "end": 16903, + "start": 17110, + "end": 17237, "loc": { "start": { - "line": 481, + "line": 492, "column": 17 }, "end": { - "line": 487, + "line": 498, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16785, - "end": 16896, + "start": 17119, + "end": 17230, "loc": { "start": { - "line": 482, + "line": 493, "column": 6 }, "end": { - "line": 486, + "line": 497, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 16788, - "end": 16808, + "start": 17122, + "end": 17142, "loc": { "start": { - "line": 482, + "line": 493, "column": 9 }, "end": { - "line": 482, + "line": 493, "column": 29 } }, "left": { "type": "MemberExpression", - "start": 16788, - "end": 16804, + "start": 17122, + "end": 17138, "loc": { "start": { - "line": 482, + "line": 493, "column": 9 }, "end": { - "line": 482, + "line": 493, "column": 25 } }, "object": { "type": "Identifier", - "start": 16788, - "end": 16797, + "start": 17122, + "end": 17131, "loc": { "start": { - "line": 482, + "line": 493, "column": 9 }, "end": { - "line": 482, + "line": 493, "column": 18 }, "identifierName": "buttonArr" @@ -24762,15 +25493,15 @@ }, "property": { "type": "Identifier", - "start": 16798, - "end": 16804, + "start": 17132, + "end": 17138, "loc": { "start": { - "line": 482, + "line": 493, "column": 19 }, "end": { - "line": 482, + "line": 493, "column": 25 }, "identifierName": "length" @@ -24782,15 +25513,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 16807, - "end": 16808, + "start": 17141, + "end": 17142, "loc": { "start": { - "line": 482, + "line": 493, "column": 28 }, "end": { - "line": 482, + "line": 493, "column": 29 } }, @@ -24803,59 +25534,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 16809, - "end": 16848, + "start": 17143, + "end": 17182, "loc": { "start": { - "line": 482, + "line": 493, "column": 30 }, "end": { - "line": 484, + "line": 495, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 16820, - "end": 16839, + "start": 17154, + "end": 17173, "loc": { "start": { - "line": 483, + "line": 494, "column": 8 }, "end": { - "line": 483, + "line": 494, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 16820, - "end": 16838, + "start": 17154, + "end": 17172, "loc": { "start": { - "line": 483, + "line": 494, "column": 8 }, "end": { - "line": 483, + "line": 494, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", - "start": 16820, - "end": 16826, + "start": 17154, + "end": 17160, "loc": { "start": { - "line": 483, + "line": 494, "column": 8 }, "end": { - "line": 483, + "line": 494, "column": 14 }, "identifierName": "output" @@ -24864,15 +25595,15 @@ }, "right": { "type": "Identifier", - "start": 16829, - "end": 16838, + "start": 17163, + "end": 17172, "loc": { "start": { - "line": 483, + "line": 494, "column": 17 }, "end": { - "line": 483, + "line": 494, "column": 26 }, "identifierName": "buttonArr" @@ -24886,59 +25617,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 16854, - "end": 16896, + "start": 17188, + "end": 17230, "loc": { "start": { - "line": 484, + "line": 495, "column": 13 }, "end": { - "line": 486, + "line": 497, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 16865, - "end": 16887, + "start": 17199, + "end": 17221, "loc": { "start": { - "line": 485, + "line": 496, "column": 8 }, "end": { - "line": 485, + "line": 496, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 16865, - "end": 16886, + "start": 17199, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 496, "column": 8 }, "end": { - "line": 485, + "line": 496, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", - "start": 16865, - "end": 16871, + "start": 17199, + "end": 17205, "loc": { "start": { - "line": 485, + "line": 496, "column": 8 }, "end": { - "line": 485, + "line": 496, "column": 14 }, "identifierName": "output" @@ -24947,29 +25678,29 @@ }, "right": { "type": "MemberExpression", - "start": 16874, - "end": 16886, + "start": 17208, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 496, "column": 17 }, "end": { - "line": 485, + "line": 496, "column": 29 } }, "object": { "type": "Identifier", - "start": 16874, - "end": 16883, + "start": 17208, + "end": 17217, "loc": { "start": { - "line": 485, + "line": 496, "column": 17 }, "end": { - "line": 485, + "line": 496, "column": 26 }, "identifierName": "buttonArr" @@ -24978,15 +25709,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16884, - "end": 16885, + "start": 17218, + "end": 17219, "loc": { "start": { - "line": 485, + "line": 496, "column": 27 }, "end": { - "line": 485, + "line": 496, "column": 28 } }, @@ -25011,29 +25742,29 @@ }, { "type": "ReturnStatement", - "start": 16911, - "end": 16925, + "start": 17245, + "end": 17259, "loc": { "start": { - "line": 489, + "line": 500, "column": 4 }, "end": { - "line": 489, + "line": 500, "column": 18 } }, "argument": { "type": "Identifier", - "start": 16918, - "end": 16924, + "start": 17252, + "end": 17258, "loc": { "start": { - "line": 489, + "line": 500, "column": 11 }, "end": { - "line": 489, + "line": 500, "column": 17 }, "identifierName": "output" @@ -25049,15 +25780,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 16456, - "end": 16659, + "start": 16790, + "end": 16993, "loc": { "start": { - "line": 473, + "line": 484, "column": 2 }, "end": { - "line": 476, + "line": 487, "column": 5 } } @@ -25067,15 +25798,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 16936, - "end": 17026, + "start": 17270, + "end": 17360, "loc": { "start": { - "line": 492, + "line": 503, "column": 2 }, "end": { - "line": 494, + "line": 505, "column": 5 } } @@ -25084,15 +25815,15 @@ }, { "type": "ClassMethod", - "start": 17030, - "end": 17333, + "start": 17364, + "end": 17667, "loc": { "start": { - "line": 495, + "line": 506, "column": 2 }, "end": { - "line": 503, + "line": 514, "column": 3 } }, @@ -25100,15 +25831,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17030, - "end": 17041, + "start": 17364, + "end": 17375, "loc": { "start": { - "line": 495, + "line": 506, "column": 2 }, "end": { - "line": 495, + "line": 506, "column": 13 }, "identifierName": "handleCaret" @@ -25124,87 +25855,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17043, - "end": 17333, + "start": 17377, + "end": 17667, "loc": { "start": { - "line": 495, + "line": 506, "column": 15 }, "end": { - "line": 503, + "line": 514, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 17050, - "end": 17126, + "start": 17384, + "end": 17460, "loc": { "start": { - "line": 496, + "line": 507, "column": 4 }, "end": { - "line": 498, + "line": 509, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 17053, - "end": 17071, + "start": 17387, + "end": 17405, "loc": { "start": { - "line": 496, + "line": 507, "column": 7 }, "end": { - "line": 496, + "line": 507, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 17053, - "end": 17065, + "start": 17387, + "end": 17399, "loc": { "start": { - "line": 496, + "line": 507, "column": 7 }, "end": { - "line": 496, + "line": 507, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 17053, - "end": 17057, + "start": 17387, + "end": 17391, "loc": { "start": { - "line": 496, + "line": 507, "column": 7 }, "end": { - "line": 496, + "line": 507, "column": 11 } } }, "property": { "type": "Identifier", - "start": 17058, - "end": 17065, + "start": 17392, + "end": 17399, "loc": { "start": { - "line": 496, + "line": 507, "column": 12 }, "end": { - "line": 496, + "line": 507, "column": 19 }, "identifierName": "options" @@ -25215,15 +25946,15 @@ }, "property": { "type": "Identifier", - "start": 17066, - "end": 17071, + "start": 17400, + "end": 17405, "loc": { "start": { - "line": 496, + "line": 507, "column": 20 }, "end": { - "line": 496, + "line": 507, "column": 25 }, "identifierName": "debug" @@ -25234,72 +25965,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17072, - "end": 17126, + "start": 17406, + "end": 17460, "loc": { "start": { - "line": 496, + "line": 507, "column": 26 }, "end": { - "line": 498, + "line": 509, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 17081, - "end": 17119, + "start": 17415, + "end": 17453, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 17081, - "end": 17118, + "start": 17415, + "end": 17452, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 17081, - "end": 17092, + "start": 17415, + "end": 17426, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 17 } }, "object": { "type": "Identifier", - "start": 17081, - "end": 17088, + "start": 17415, + "end": 17422, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 13 }, "identifierName": "console" @@ -25308,15 +26039,15 @@ }, "property": { "type": "Identifier", - "start": 17089, - "end": 17092, + "start": 17423, + "end": 17426, "loc": { "start": { - "line": 497, + "line": 508, "column": 14 }, "end": { - "line": 497, + "line": 508, "column": 17 }, "identifierName": "log" @@ -25328,15 +26059,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17093, - "end": 17117, + "start": 17427, + "end": 17451, "loc": { "start": { - "line": 497, + "line": 508, "column": 18 }, "end": { - "line": 497, + "line": 508, "column": 42 } }, @@ -25356,57 +26087,57 @@ }, { "type": "ExpressionStatement", - "start": 17134, - "end": 17193, + "start": 17468, + "end": 17527, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 17134, - "end": 17192, + "start": 17468, + "end": 17526, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 17134, - "end": 17159, + "start": 17468, + "end": 17493, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 29 } }, "object": { "type": "Identifier", - "start": 17134, - "end": 17142, + "start": 17468, + "end": 17476, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 12 }, "identifierName": "document" @@ -25415,15 +26146,15 @@ }, "property": { "type": "Identifier", - "start": 17143, - "end": 17159, + "start": 17477, + "end": 17493, "loc": { "start": { - "line": 500, + "line": 511, "column": 13 }, "end": { - "line": 500, + "line": 511, "column": 29 }, "identifierName": "addEventListener" @@ -25435,15 +26166,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17160, - "end": 17167, + "start": 17494, + "end": 17501, "loc": { "start": { - "line": 500, + "line": 511, "column": 30 }, "end": { - "line": 500, + "line": 511, "column": 37 } }, @@ -25455,44 +26186,44 @@ }, { "type": "MemberExpression", - "start": 17169, - "end": 17191, + "start": 17503, + "end": 17525, "loc": { "start": { - "line": 500, + "line": 511, "column": 39 }, "end": { - "line": 500, + "line": 511, "column": 61 } }, "object": { "type": "ThisExpression", - "start": 17169, - "end": 17173, + "start": 17503, + "end": 17507, "loc": { "start": { - "line": 500, + "line": 511, "column": 39 }, "end": { - "line": 500, + "line": 511, "column": 43 } } }, "property": { "type": "Identifier", - "start": 17174, - "end": 17191, + "start": 17508, + "end": 17525, "loc": { "start": { - "line": 500, + "line": 511, "column": 44 }, "end": { - "line": 500, + "line": 511, "column": 61 }, "identifierName": "caretEventHandler" @@ -25506,57 +26237,57 @@ }, { "type": "ExpressionStatement", - "start": 17199, - "end": 17260, + "start": 17533, + "end": 17594, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 17199, - "end": 17259, + "start": 17533, + "end": 17593, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 17199, - "end": 17224, + "start": 17533, + "end": 17558, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 29 } }, "object": { "type": "Identifier", - "start": 17199, - "end": 17207, + "start": 17533, + "end": 17541, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 12 }, "identifierName": "document" @@ -25565,15 +26296,15 @@ }, "property": { "type": "Identifier", - "start": 17208, - "end": 17224, + "start": 17542, + "end": 17558, "loc": { "start": { - "line": 501, + "line": 512, "column": 13 }, "end": { - "line": 501, + "line": 512, "column": 29 }, "identifierName": "addEventListener" @@ -25585,15 +26316,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17225, - "end": 17234, + "start": 17559, + "end": 17568, "loc": { "start": { - "line": 501, + "line": 512, "column": 30 }, "end": { - "line": 501, + "line": 512, "column": 39 } }, @@ -25605,44 +26336,44 @@ }, { "type": "MemberExpression", - "start": 17236, - "end": 17258, + "start": 17570, + "end": 17592, "loc": { "start": { - "line": 501, + "line": 512, "column": 41 }, "end": { - "line": 501, + "line": 512, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 17236, - "end": 17240, + "start": 17570, + "end": 17574, "loc": { "start": { - "line": 501, + "line": 512, "column": 41 }, "end": { - "line": 501, + "line": 512, "column": 45 } } }, "property": { "type": "Identifier", - "start": 17241, - "end": 17258, + "start": 17575, + "end": 17592, "loc": { "start": { - "line": 501, + "line": 512, "column": 46 }, "end": { - "line": 501, + "line": 512, "column": 63 }, "identifierName": "caretEventHandler" @@ -25656,57 +26387,57 @@ }, { "type": "ExpressionStatement", - "start": 17266, - "end": 17328, + "start": 17600, + "end": 17662, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 17266, - "end": 17327, + "start": 17600, + "end": 17661, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 17266, - "end": 17291, + "start": 17600, + "end": 17625, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 29 } }, "object": { "type": "Identifier", - "start": 17266, - "end": 17274, + "start": 17600, + "end": 17608, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 12 }, "identifierName": "document" @@ -25715,15 +26446,15 @@ }, "property": { "type": "Identifier", - "start": 17275, - "end": 17291, + "start": 17609, + "end": 17625, "loc": { "start": { - "line": 502, + "line": 513, "column": 13 }, "end": { - "line": 502, + "line": 513, "column": 29 }, "identifierName": "addEventListener" @@ -25735,15 +26466,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17292, - "end": 17302, + "start": 17626, + "end": 17636, "loc": { "start": { - "line": 502, + "line": 513, "column": 30 }, "end": { - "line": 502, + "line": 513, "column": 40 } }, @@ -25755,44 +26486,44 @@ }, { "type": "MemberExpression", - "start": 17304, - "end": 17326, + "start": 17638, + "end": 17660, "loc": { "start": { - "line": 502, + "line": 513, "column": 42 }, "end": { - "line": 502, + "line": 513, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 17304, - "end": 17308, + "start": 17638, + "end": 17642, "loc": { "start": { - "line": 502, + "line": 513, "column": 42 }, "end": { - "line": 502, + "line": 513, "column": 46 } } }, "property": { "type": "Identifier", - "start": 17309, - "end": 17326, + "start": 17643, + "end": 17660, "loc": { "start": { - "line": 502, + "line": 513, "column": 47 }, "end": { - "line": 502, + "line": 513, "column": 64 }, "identifierName": "caretEventHandler" @@ -25812,15 +26543,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 16936, - "end": 17026, + "start": 17270, + "end": 17360, "loc": { "start": { - "line": 492, + "line": 503, "column": 2 }, "end": { - "line": 494, + "line": 505, "column": 5 } } @@ -25830,15 +26561,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 17339, - "end": 17451, + "start": 17673, + "end": 17785, "loc": { "start": { - "line": 505, + "line": 516, "column": 2 }, "end": { - "line": 507, + "line": 518, "column": 5 } } @@ -25847,15 +26578,15 @@ }, { "type": "ClassMethod", - "start": 17455, - "end": 18005, + "start": 17789, + "end": 18389, "loc": { "start": { - "line": 508, + "line": 519, "column": 2 }, "end": { - "line": 525, + "line": 537, "column": 3 } }, @@ -25863,15 +26594,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17455, - "end": 17472, + "start": 17789, + "end": 17806, "loc": { "start": { - "line": 508, + "line": 519, "column": 2 }, "end": { - "line": 508, + "line": 519, "column": 19 }, "identifierName": "caretEventHandler" @@ -25887,15 +26618,15 @@ "params": [ { "type": "Identifier", - "start": 17473, - "end": 17478, + "start": 17807, + "end": 17812, "loc": { "start": { - "line": 508, + "line": 519, "column": 20 }, "end": { - "line": 508, + "line": 519, "column": 25 }, "identifierName": "event" @@ -25905,59 +26636,59 @@ ], "body": { "type": "BlockStatement", - "start": 17479, - "end": 18005, + "start": 17813, + "end": 18389, "loc": { "start": { - "line": 508, + "line": 519, "column": 26 }, "end": { - "line": 525, + "line": 537, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 17486, - "end": 17541, + "start": 17820, + "end": 17875, "loc": { "start": { - "line": 509, + "line": 520, "column": 4 }, "end": { - "line": 509, + "line": 520, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17490, - "end": 17540, + "start": 17824, + "end": 17874, "loc": { "start": { - "line": 509, + "line": 520, "column": 8 }, "end": { - "line": 509, + "line": 520, "column": 58 } }, "id": { "type": "Identifier", - "start": 17490, - "end": 17503, + "start": 17824, + "end": 17837, "loc": { "start": { - "line": 509, + "line": 520, "column": 8 }, "end": { - "line": 509, + "line": 520, "column": 21 }, "identifierName": "targetTagName" @@ -25966,71 +26697,71 @@ }, "init": { "type": "CallExpression", - "start": 17506, - "end": 17540, + "start": 17840, + "end": 17874, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 17506, - "end": 17538, + "start": 17840, + "end": 17872, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 17506, - "end": 17526, + "start": 17840, + "end": 17860, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 17506, - "end": 17518, + "start": 17840, + "end": 17852, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 36 } }, "object": { "type": "Identifier", - "start": 17506, - "end": 17511, + "start": 17840, + "end": 17845, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 29 }, "identifierName": "event" @@ -26039,15 +26770,15 @@ }, "property": { "type": "Identifier", - "start": 17512, - "end": 17518, + "start": 17846, + "end": 17852, "loc": { "start": { - "line": 509, + "line": 520, "column": 30 }, "end": { - "line": 509, + "line": 520, "column": 36 }, "identifierName": "target" @@ -26058,15 +26789,15 @@ }, "property": { "type": "Identifier", - "start": 17519, - "end": 17526, + "start": 17853, + "end": 17860, "loc": { "start": { - "line": 509, + "line": 520, "column": 37 }, "end": { - "line": 509, + "line": 520, "column": 44 }, "identifierName": "tagName" @@ -26077,15 +26808,15 @@ }, "property": { "type": "Identifier", - "start": 17527, - "end": 17538, + "start": 17861, + "end": 17872, "loc": { "start": { - "line": 509, + "line": 520, "column": 45 }, "end": { - "line": 509, + "line": 520, "column": 56 }, "identifierName": "toLowerCase" @@ -26102,209 +26833,330 @@ }, { "type": "IfStatement", - "start": 17549, - "end": 18000, + "start": 17883, + "end": 18384, "loc": { "start": { - "line": 511, + "line": 522, "column": 4 }, "end": { - "line": 524, + "line": 536, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 17560, - "end": 17624, + "start": 17894, + "end": 18008, "loc": { "start": { - "line": 512, + "line": 523, "column": 6 }, "end": { - "line": 513, - "column": 31 + "line": 525, + "column": 43 } }, "left": { - "type": "BinaryExpression", - "start": 17560, - "end": 17588, + "type": "LogicalExpression", + "start": 17895, + "end": 17959, "loc": { "start": { - "line": 512, - "column": 6 + "line": 523, + "column": 7 }, "end": { - "line": 512, - "column": 34 - } - }, - "left": { - "type": "Identifier", - "start": 17560, - "end": 17573, - "loc": { - "start": { - "line": 512, - "column": 6 - }, - "end": { - "line": 512, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 17578, - "end": 17588, - "loc": { - "start": { - "line": 512, - "column": 24 - }, - "end": { - "line": 512, - "column": 34 - } - }, - "extra": { - "rawValue": "textarea", - "raw": "\"textarea\"" - }, - "value": "textarea" - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 17599, - "end": 17624, - "loc": { - "start": { - "line": 513, - "column": 6 - }, - "end": { - "line": 513, + "line": 524, "column": 31 } }, "left": { - "type": "Identifier", - "start": 17599, - "end": 17612, + "type": "BinaryExpression", + "start": 17895, + "end": 17923, "loc": { "start": { - "line": 513, + "line": 523, + "column": 7 + }, + "end": { + "line": 523, + "column": 35 + } + }, + "left": { + "type": "Identifier", + "start": 17895, + "end": 17908, + "loc": { + "start": { + "line": 523, + "column": 7 + }, + "end": { + "line": 523, + "column": 20 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 17913, + "end": 17923, + "loc": { + "start": { + "line": 523, + "column": 25 + }, + "end": { + "line": 523, + "column": 35 + } + }, + "extra": { + "rawValue": "textarea", + "raw": "\"textarea\"" + }, + "value": "textarea" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 17934, + "end": 17959, + "loc": { + "start": { + "line": 524, "column": 6 }, "end": { - "line": 513, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 17617, - "end": 17624, - "loc": { - "start": { - "line": 513, - "column": 24 - }, - "end": { - "line": 513, + "line": 524, "column": 31 } }, - "extra": { - "rawValue": "input", - "raw": "\"input\"" + "left": { + "type": "Identifier", + "start": 17934, + "end": 17947, + "loc": { + "start": { + "line": 524, + "column": 6 + }, + "end": { + "line": 524, + "column": 19 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" }, - "value": "input" + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 17952, + "end": 17959, + "loc": { + "start": { + "line": 524, + "column": 24 + }, + "end": { + "line": 524, + "column": 31 + } + }, + "extra": { + "rawValue": "input", + "raw": "\"input\"" + }, + "value": "input" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 17894 + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 17971, + "end": 18008, + "loc": { + "start": { + "line": 525, + "column": 6 + }, + "end": { + "line": 525, + "column": 43 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 17972, + "end": 18008, + "loc": { + "start": { + "line": 525, + "column": 7 + }, + "end": { + "line": 525, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 17972, + "end": 17984, + "loc": { + "start": { + "line": 525, + "column": 7 + }, + "end": { + "line": 525, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 17972, + "end": 17976, + "loc": { + "start": { + "line": 525, + "column": 7 + }, + "end": { + "line": 525, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 17977, + "end": 17984, + "loc": { + "start": { + "line": 525, + "column": 12 + }, + "end": { + "line": 525, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17985, + "end": 18008, + "loc": { + "start": { + "line": 525, + "column": 20 + }, + "end": { + "line": 525, + "column": 43 + }, + "identifierName": "disableCaretPositioning" + }, + "name": "disableCaretPositioning" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", - "start": 17631, - "end": 18000, + "start": 18015, + "end": 18384, "loc": { "start": { - "line": 514, + "line": 526, "column": 5 }, "end": { - "line": 524, + "line": 536, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 17796, - "end": 17845, + "start": 18180, + "end": 18229, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17796, - "end": 17844, + "start": 18180, + "end": 18228, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17796, - "end": 17814, + "start": 18180, + "end": 18198, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 17796, - "end": 17800, + "start": 18180, + "end": 18184, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 10 } }, @@ -26312,15 +27164,15 @@ }, "property": { "type": "Identifier", - "start": 17801, - "end": 17814, + "start": 18185, + "end": 18198, "loc": { "start": { - "line": 519, + "line": 531, "column": 11 }, "end": { - "line": 519, + "line": 531, "column": 24 }, "identifierName": "caretPosition" @@ -26332,43 +27184,43 @@ }, "right": { "type": "MemberExpression", - "start": 17817, - "end": 17844, + "start": 18201, + "end": 18228, "loc": { "start": { - "line": 519, + "line": 531, "column": 27 }, "end": { - "line": 519, + "line": 531, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 17817, - "end": 17829, + "start": 18201, + "end": 18213, "loc": { "start": { - "line": 519, + "line": 531, "column": 27 }, "end": { - "line": 519, + "line": 531, "column": 39 } }, "object": { "type": "Identifier", - "start": 17817, - "end": 17822, + "start": 18201, + "end": 18206, "loc": { "start": { - "line": 519, + "line": 531, "column": 27 }, "end": { - "line": 519, + "line": 531, "column": 32 }, "identifierName": "event" @@ -26377,15 +27229,15 @@ }, "property": { "type": "Identifier", - "start": 17823, - "end": 17829, + "start": 18207, + "end": 18213, "loc": { "start": { - "line": 519, + "line": 531, "column": 33 }, "end": { - "line": 519, + "line": 531, "column": 39 }, "identifierName": "target" @@ -26396,15 +27248,15 @@ }, "property": { "type": "Identifier", - "start": 17830, - "end": 17844, + "start": 18214, + "end": 18228, "loc": { "start": { - "line": 519, + "line": 531, "column": 40 }, "end": { - "line": 519, + "line": 531, "column": 54 }, "identifierName": "selectionStart" @@ -26419,15 +27271,15 @@ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 17640, - "end": 17788, + "start": 18024, + "end": 18172, "loc": { "start": { - "line": 515, + "line": 527, "column": 6 }, "end": { - "line": 518, + "line": 530, "column": 9 } } @@ -26436,72 +27288,72 @@ }, { "type": "IfStatement", - "start": 17855, - "end": 17988, + "start": 18239, + "end": 18372, "loc": { "start": { - "line": 521, + "line": 533, "column": 6 }, "end": { - "line": 523, + "line": 535, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 17858, - "end": 17876, + "start": 18242, + "end": 18260, "loc": { "start": { - "line": 521, + "line": 533, "column": 9 }, "end": { - "line": 521, + "line": 533, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 17858, - "end": 17870, + "start": 18242, + "end": 18254, "loc": { "start": { - "line": 521, + "line": 533, "column": 9 }, "end": { - "line": 521, + "line": 533, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 17858, - "end": 17862, + "start": 18242, + "end": 18246, "loc": { "start": { - "line": 521, + "line": 533, "column": 9 }, "end": { - "line": 521, + "line": 533, "column": 13 } } }, "property": { "type": "Identifier", - "start": 17863, - "end": 17870, + "start": 18247, + "end": 18254, "loc": { "start": { - "line": 521, + "line": 533, "column": 14 }, "end": { - "line": 521, + "line": 533, "column": 21 }, "identifierName": "options" @@ -26512,15 +27364,15 @@ }, "property": { "type": "Identifier", - "start": 17871, - "end": 17876, + "start": 18255, + "end": 18260, "loc": { "start": { - "line": 521, + "line": 533, "column": 22 }, "end": { - "line": 521, + "line": 533, "column": 27 }, "identifierName": "debug" @@ -26531,72 +27383,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17877, - "end": 17988, + "start": 18261, + "end": 18372, "loc": { "start": { - "line": 521, + "line": 533, "column": 28 }, "end": { - "line": 523, + "line": 535, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 17888, - "end": 17979, + "start": 18272, + "end": 18363, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 99 } }, "expression": { "type": "CallExpression", - "start": 17888, - "end": 17978, + "start": 18272, + "end": 18362, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 17888, - "end": 17899, + "start": 18272, + "end": 18283, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 19 } }, "object": { "type": "Identifier", - "start": 17888, - "end": 17895, + "start": 18272, + "end": 18279, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 15 }, "identifierName": "console" @@ -26605,15 +27457,15 @@ }, "property": { "type": "Identifier", - "start": 17896, - "end": 17899, + "start": 18280, + "end": 18283, "loc": { "start": { - "line": 522, + "line": 534, "column": 16 }, "end": { - "line": 522, + "line": 534, "column": 19 }, "identifierName": "log" @@ -26625,15 +27477,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17900, - "end": 17912, + "start": 18284, + "end": 18296, "loc": { "start": { - "line": 522, + "line": 534, "column": 20 }, "end": { - "line": 522, + "line": 534, "column": 32 } }, @@ -26645,43 +27497,43 @@ }, { "type": "MemberExpression", - "start": 17914, - "end": 17941, + "start": 18298, + "end": 18325, "loc": { "start": { - "line": 522, + "line": 534, "column": 34 }, "end": { - "line": 522, + "line": 534, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 17914, - "end": 17926, + "start": 18298, + "end": 18310, "loc": { "start": { - "line": 522, + "line": 534, "column": 34 }, "end": { - "line": 522, + "line": 534, "column": 46 } }, "object": { "type": "Identifier", - "start": 17914, - "end": 17919, + "start": 18298, + "end": 18303, "loc": { "start": { - "line": 522, + "line": 534, "column": 34 }, "end": { - "line": 522, + "line": 534, "column": 39 }, "identifierName": "event" @@ -26690,15 +27542,15 @@ }, "property": { "type": "Identifier", - "start": 17920, - "end": 17926, + "start": 18304, + "end": 18310, "loc": { "start": { - "line": 522, + "line": 534, "column": 40 }, "end": { - "line": 522, + "line": 534, "column": 46 }, "identifierName": "target" @@ -26709,15 +27561,15 @@ }, "property": { "type": "Identifier", - "start": 17927, - "end": 17941, + "start": 18311, + "end": 18325, "loc": { "start": { - "line": 522, + "line": 534, "column": 47 }, "end": { - "line": 522, + "line": 534, "column": 61 }, "identifierName": "selectionStart" @@ -26728,71 +27580,71 @@ }, { "type": "CallExpression", - "start": 17943, - "end": 17977, + "start": 18327, + "end": 18361, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 17943, - "end": 17975, + "start": 18327, + "end": 18359, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 95 } }, "object": { "type": "MemberExpression", - "start": 17943, - "end": 17963, + "start": 18327, + "end": 18347, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 83 } }, "object": { "type": "MemberExpression", - "start": 17943, - "end": 17955, + "start": 18327, + "end": 18339, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 75 } }, "object": { "type": "Identifier", - "start": 17943, - "end": 17948, + "start": 18327, + "end": 18332, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 68 }, "identifierName": "event" @@ -26801,15 +27653,15 @@ }, "property": { "type": "Identifier", - "start": 17949, - "end": 17955, + "start": 18333, + "end": 18339, "loc": { "start": { - "line": 522, + "line": 534, "column": 69 }, "end": { - "line": 522, + "line": 534, "column": 75 }, "identifierName": "target" @@ -26820,15 +27672,15 @@ }, "property": { "type": "Identifier", - "start": 17956, - "end": 17963, + "start": 18340, + "end": 18347, "loc": { "start": { - "line": 522, + "line": 534, "column": 76 }, "end": { - "line": 522, + "line": 534, "column": 83 }, "identifierName": "tagName" @@ -26839,15 +27691,15 @@ }, "property": { "type": "Identifier", - "start": 17964, - "end": 17975, + "start": 18348, + "end": 18359, "loc": { "start": { - "line": 522, + "line": 534, "column": 84 }, "end": { - "line": 522, + "line": 534, "column": 95 }, "identifierName": "toLowerCase" @@ -26879,15 +27731,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 17339, - "end": 17451, + "start": 17673, + "end": 17785, "loc": { "start": { - "line": 505, + "line": 516, "column": 2 }, "end": { - "line": 507, + "line": 518, "column": 5 } } @@ -26897,15 +27749,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 18011, - "end": 18131, + "start": 18395, + "end": 18515, "loc": { "start": { - "line": 527, + "line": 539, "column": 2 }, "end": { - "line": 529, + "line": 541, "column": 5 } } @@ -26914,15 +27766,15 @@ }, { "type": "ClassMethod", - "start": 18135, - "end": 18371, + "start": 18519, + "end": 18755, "loc": { "start": { - "line": 530, + "line": 542, "column": 2 }, "end": { - "line": 542, + "line": 554, "column": 3 } }, @@ -26930,15 +27782,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18135, - "end": 18141, + "start": 18519, + "end": 18525, "loc": { "start": { - "line": 530, + "line": 542, "column": 2 }, "end": { - "line": 530, + "line": 542, "column": 8 }, "identifierName": "onInit" @@ -26954,87 +27806,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18143, - "end": 18371, + "start": 18527, + "end": 18755, "loc": { "start": { - "line": 530, + "line": 542, "column": 10 }, "end": { - "line": 542, + "line": 554, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18150, - "end": 18215, + "start": 18534, + "end": 18599, "loc": { "start": { - "line": 531, + "line": 543, "column": 4 }, "end": { - "line": 533, + "line": 545, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 18153, - "end": 18171, + "start": 18537, + "end": 18555, "loc": { "start": { - "line": 531, + "line": 543, "column": 7 }, "end": { - "line": 531, + "line": 543, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 18153, - "end": 18165, + "start": 18537, + "end": 18549, "loc": { "start": { - "line": 531, + "line": 543, "column": 7 }, "end": { - "line": 531, + "line": 543, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 18153, - "end": 18157, + "start": 18537, + "end": 18541, "loc": { "start": { - "line": 531, + "line": 543, "column": 7 }, "end": { - "line": 531, + "line": 543, "column": 11 } } }, "property": { "type": "Identifier", - "start": 18158, - "end": 18165, + "start": 18542, + "end": 18549, "loc": { "start": { - "line": 531, + "line": 543, "column": 12 }, "end": { - "line": 531, + "line": 543, "column": 19 }, "identifierName": "options" @@ -27045,15 +27897,15 @@ }, "property": { "type": "Identifier", - "start": 18166, - "end": 18171, + "start": 18550, + "end": 18555, "loc": { "start": { - "line": 531, + "line": 543, "column": 20 }, "end": { - "line": 531, + "line": 543, "column": 25 }, "identifierName": "debug" @@ -27064,72 +27916,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 18172, - "end": 18215, + "start": 18556, + "end": 18599, "loc": { "start": { - "line": 531, + "line": 543, "column": 26 }, "end": { - "line": 533, + "line": 545, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 18181, - "end": 18208, + "start": 18565, + "end": 18592, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 18181, - "end": 18207, + "start": 18565, + "end": 18591, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 18181, - "end": 18192, + "start": 18565, + "end": 18576, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 17 } }, "object": { "type": "Identifier", - "start": 18181, - "end": 18188, + "start": 18565, + "end": 18572, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 13 }, "identifierName": "console" @@ -27138,15 +27990,15 @@ }, "property": { "type": "Identifier", - "start": 18189, - "end": 18192, + "start": 18573, + "end": 18576, "loc": { "start": { - "line": 532, + "line": 544, "column": 14 }, "end": { - "line": 532, + "line": 544, "column": 17 }, "identifierName": "log" @@ -27158,15 +28010,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 18193, - "end": 18206, + "start": 18577, + "end": 18590, "loc": { "start": { - "line": 532, + "line": 544, "column": 18 }, "end": { - "line": 532, + "line": 544, "column": 31 } }, @@ -27188,15 +28040,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 18223, - "end": 18258, + "start": 18607, + "end": 18642, "loc": { "start": { - "line": 535, + "line": 547, "column": 4 }, "end": { - "line": 537, + "line": 549, "column": 7 } } @@ -27205,57 +28057,57 @@ }, { "type": "ExpressionStatement", - "start": 18264, - "end": 18283, + "start": 18648, + "end": 18667, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 18264, - "end": 18282, + "start": 18648, + "end": 18666, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 18264, - "end": 18280, + "start": 18648, + "end": 18664, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 18264, - "end": 18268, + "start": 18648, + "end": 18652, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 8 } }, @@ -27263,15 +28115,15 @@ }, "property": { "type": "Identifier", - "start": 18269, - "end": 18280, + "start": 18653, + "end": 18664, "loc": { "start": { - "line": 538, + "line": 550, "column": 9 }, "end": { - "line": 538, + "line": 550, "column": 20 }, "identifierName": "handleCaret" @@ -27288,15 +28140,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 18223, - "end": 18258, + "start": 18607, + "end": 18642, "loc": { "start": { - "line": 535, + "line": 547, "column": 4 }, "end": { - "line": 537, + "line": 549, "column": 7 } } @@ -27305,43 +28157,43 @@ }, { "type": "IfStatement", - "start": 18291, - "end": 18366, + "start": 18675, + "end": 18750, "loc": { "start": { - "line": 540, + "line": 552, "column": 4 }, "end": { - "line": 541, + "line": 553, "column": 28 } }, "test": { "type": "BinaryExpression", - "start": 18294, - "end": 18335, + "start": 18678, + "end": 18719, "loc": { "start": { - "line": 540, + "line": 552, "column": 7 }, "end": { - "line": 540, + "line": 552, "column": 48 } }, "left": { "type": "UnaryExpression", - "start": 18294, - "end": 18320, + "start": 18678, + "end": 18704, "loc": { "start": { - "line": 540, + "line": 552, "column": 7 }, "end": { - "line": 540, + "line": 552, "column": 33 } }, @@ -27349,58 +28201,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18301, - "end": 18320, + "start": 18685, + "end": 18704, "loc": { "start": { - "line": 540, + "line": 552, "column": 14 }, "end": { - "line": 540, + "line": 552, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 18301, - "end": 18313, + "start": 18685, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 552, "column": 14 }, "end": { - "line": 540, + "line": 552, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 18301, - "end": 18305, + "start": 18685, + "end": 18689, "loc": { "start": { - "line": 540, + "line": 552, "column": 14 }, "end": { - "line": 540, + "line": 552, "column": 18 } } }, "property": { "type": "Identifier", - "start": 18306, - "end": 18313, + "start": 18690, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 552, "column": 19 }, "end": { - "line": 540, + "line": 552, "column": 26 }, "identifierName": "options" @@ -27411,15 +28263,15 @@ }, "property": { "type": "Identifier", - "start": 18314, - "end": 18320, + "start": 18698, + "end": 18704, "loc": { "start": { - "line": 540, + "line": 552, "column": 27 }, "end": { - "line": 540, + "line": 552, "column": 33 }, "identifierName": "onInit" @@ -27435,15 +28287,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 18325, - "end": 18335, + "start": 18709, + "end": 18719, "loc": { "start": { - "line": 540, + "line": 552, "column": 38 }, "end": { - "line": 540, + "line": 552, "column": 48 } }, @@ -27456,86 +28308,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18344, - "end": 18366, + "start": 18728, + "end": 18750, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 18344, - "end": 18365, + "start": 18728, + "end": 18749, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 18344, - "end": 18363, + "start": 18728, + "end": 18747, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 18344, - "end": 18356, + "start": 18728, + "end": 18740, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18344, - "end": 18348, + "start": 18728, + "end": 18732, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18349, - "end": 18356, + "start": 18733, + "end": 18740, "loc": { "start": { - "line": 541, + "line": 553, "column": 11 }, "end": { - "line": 541, + "line": 553, "column": 18 }, "identifierName": "options" @@ -27546,15 +28398,15 @@ }, "property": { "type": "Identifier", - "start": 18357, - "end": 18363, + "start": 18741, + "end": 18747, "loc": { "start": { - "line": 541, + "line": 553, "column": 19 }, "end": { - "line": 541, + "line": 553, "column": 25 }, "identifierName": "onInit" @@ -27576,15 +28428,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 18011, - "end": 18131, + "start": 18395, + "end": 18515, "loc": { "start": { - "line": 527, + "line": 539, "column": 2 }, "end": { - "line": 529, + "line": 541, "column": 5 } } @@ -27594,15 +28446,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 18377, - "end": 18495, + "start": 18761, + "end": 18879, "loc": { "start": { - "line": 544, + "line": 556, "column": 2 }, "end": { - "line": 546, + "line": 558, "column": 5 } } @@ -27611,15 +28463,15 @@ }, { "type": "ClassMethod", - "start": 18499, - "end": 18600, + "start": 18883, + "end": 18984, "loc": { "start": { - "line": 547, + "line": 559, "column": 2 }, "end": { - "line": 550, + "line": 562, "column": 3 } }, @@ -27627,15 +28479,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18499, - "end": 18507, + "start": 18883, + "end": 18891, "loc": { "start": { - "line": 547, + "line": 559, "column": 2 }, "end": { - "line": 547, + "line": 559, "column": 10 }, "identifierName": "onRender" @@ -27651,58 +28503,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18509, - "end": 18600, + "start": 18893, + "end": 18984, "loc": { "start": { - "line": 547, + "line": 559, "column": 12 }, "end": { - "line": 550, + "line": 562, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18516, - "end": 18595, + "start": 18900, + "end": 18979, "loc": { "start": { - "line": 548, + "line": 560, "column": 4 }, "end": { - "line": 549, + "line": 561, "column": 30 } }, "test": { "type": "BinaryExpression", - "start": 18519, - "end": 18562, + "start": 18903, + "end": 18946, "loc": { "start": { - "line": 548, + "line": 560, "column": 7 }, "end": { - "line": 548, + "line": 560, "column": 50 } }, "left": { "type": "UnaryExpression", - "start": 18519, - "end": 18547, + "start": 18903, + "end": 18931, "loc": { "start": { - "line": 548, + "line": 560, "column": 7 }, "end": { - "line": 548, + "line": 560, "column": 35 } }, @@ -27710,58 +28562,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18526, - "end": 18547, + "start": 18910, + "end": 18931, "loc": { "start": { - "line": 548, + "line": 560, "column": 14 }, "end": { - "line": 548, + "line": 560, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 18526, - "end": 18538, + "start": 18910, + "end": 18922, "loc": { "start": { - "line": 548, + "line": 560, "column": 14 }, "end": { - "line": 548, + "line": 560, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 18526, - "end": 18530, + "start": 18910, + "end": 18914, "loc": { "start": { - "line": 548, + "line": 560, "column": 14 }, "end": { - "line": 548, + "line": 560, "column": 18 } } }, "property": { "type": "Identifier", - "start": 18531, - "end": 18538, + "start": 18915, + "end": 18922, "loc": { "start": { - "line": 548, + "line": 560, "column": 19 }, "end": { - "line": 548, + "line": 560, "column": 26 }, "identifierName": "options" @@ -27772,15 +28624,15 @@ }, "property": { "type": "Identifier", - "start": 18539, - "end": 18547, + "start": 18923, + "end": 18931, "loc": { "start": { - "line": 548, + "line": 560, "column": 27 }, "end": { - "line": 548, + "line": 560, "column": 35 }, "identifierName": "onRender" @@ -27796,15 +28648,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 18552, - "end": 18562, + "start": 18936, + "end": 18946, "loc": { "start": { - "line": 548, + "line": 560, "column": 40 }, "end": { - "line": 548, + "line": 560, "column": 50 } }, @@ -27817,86 +28669,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18571, - "end": 18595, + "start": 18955, + "end": 18979, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 18571, - "end": 18594, + "start": 18955, + "end": 18978, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 18571, - "end": 18592, + "start": 18955, + "end": 18976, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 18571, - "end": 18583, + "start": 18955, + "end": 18967, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18571, - "end": 18575, + "start": 18955, + "end": 18959, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18576, - "end": 18583, + "start": 18960, + "end": 18967, "loc": { "start": { - "line": 549, + "line": 561, "column": 11 }, "end": { - "line": 549, + "line": 561, "column": 18 }, "identifierName": "options" @@ -27907,15 +28759,15 @@ }, "property": { "type": "Identifier", - "start": 18584, - "end": 18592, + "start": 18968, + "end": 18976, "loc": { "start": { - "line": 549, + "line": 561, "column": 19 }, "end": { - "line": 549, + "line": 561, "column": 27 }, "identifierName": "onRender" @@ -27937,15 +28789,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 18377, - "end": 18495, + "start": 18761, + "end": 18879, "loc": { "start": { - "line": 544, + "line": 556, "column": 2 }, "end": { - "line": 546, + "line": 558, "column": 5 } } @@ -27955,15 +28807,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", - "start": 18605, - "end": 18684, + "start": 18989, + "end": 19068, "loc": { "start": { - "line": 552, + "line": 564, "column": 1 }, "end": { - "line": 554, + "line": 566, "column": 4 } } @@ -27972,15 +28824,15 @@ }, { "type": "ClassMethod", - "start": 18688, - "end": 18810, + "start": 19072, + "end": 19194, "loc": { "start": { - "line": 555, + "line": 567, "column": 2 }, "end": { - "line": 558, + "line": 570, "column": 3 } }, @@ -27988,15 +28840,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18688, - "end": 18703, + "start": 19072, + "end": 19087, "loc": { "start": { - "line": 555, + "line": 567, "column": 2 }, "end": { - "line": 555, + "line": 567, "column": 17 }, "identifierName": "onModulesLoaded" @@ -28012,58 +28864,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18705, - "end": 18810, + "start": 19089, + "end": 19194, "loc": { "start": { - "line": 555, + "line": 567, "column": 19 }, "end": { - "line": 558, + "line": 570, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18712, - "end": 18805, + "start": 19096, + "end": 19189, "loc": { "start": { - "line": 556, + "line": 568, "column": 4 }, "end": { - "line": 557, + "line": 569, "column": 37 } }, "test": { "type": "BinaryExpression", - "start": 18715, - "end": 18765, + "start": 19099, + "end": 19149, "loc": { "start": { - "line": 556, + "line": 568, "column": 7 }, "end": { - "line": 556, + "line": 568, "column": 57 } }, "left": { "type": "UnaryExpression", - "start": 18715, - "end": 18750, + "start": 19099, + "end": 19134, "loc": { "start": { - "line": 556, + "line": 568, "column": 7 }, "end": { - "line": 556, + "line": 568, "column": 42 } }, @@ -28071,58 +28923,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18722, - "end": 18750, + "start": 19106, + "end": 19134, "loc": { "start": { - "line": 556, + "line": 568, "column": 14 }, "end": { - "line": 556, + "line": 568, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 18722, - "end": 18734, + "start": 19106, + "end": 19118, "loc": { "start": { - "line": 556, + "line": 568, "column": 14 }, "end": { - "line": 556, + "line": 568, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 18722, - "end": 18726, + "start": 19106, + "end": 19110, "loc": { "start": { - "line": 556, + "line": 568, "column": 14 }, "end": { - "line": 556, + "line": 568, "column": 18 } } }, "property": { "type": "Identifier", - "start": 18727, - "end": 18734, + "start": 19111, + "end": 19118, "loc": { "start": { - "line": 556, + "line": 568, "column": 19 }, "end": { - "line": 556, + "line": 568, "column": 26 }, "identifierName": "options" @@ -28133,15 +28985,15 @@ }, "property": { "type": "Identifier", - "start": 18735, - "end": 18750, + "start": 19119, + "end": 19134, "loc": { "start": { - "line": 556, + "line": 568, "column": 27 }, "end": { - "line": 556, + "line": 568, "column": 42 }, "identifierName": "onModulesLoaded" @@ -28157,15 +29009,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 18755, - "end": 18765, + "start": 19139, + "end": 19149, "loc": { "start": { - "line": 556, + "line": 568, "column": 47 }, "end": { - "line": 556, + "line": 568, "column": 57 } }, @@ -28178,86 +29030,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18774, - "end": 18805, + "start": 19158, + "end": 19189, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 18774, - "end": 18804, + "start": 19158, + "end": 19188, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 18774, - "end": 18802, + "start": 19158, + "end": 19186, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18774, - "end": 18786, + "start": 19158, + "end": 19170, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18774, - "end": 18778, + "start": 19158, + "end": 19162, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18779, - "end": 18786, + "start": 19163, + "end": 19170, "loc": { "start": { - "line": 557, + "line": 569, "column": 11 }, "end": { - "line": 557, + "line": 569, "column": 18 }, "identifierName": "options" @@ -28268,15 +29120,15 @@ }, "property": { "type": "Identifier", - "start": 18787, - "end": 18802, + "start": 19171, + "end": 19186, "loc": { "start": { - "line": 557, + "line": 569, "column": 19 }, "end": { - "line": 557, + "line": 569, "column": 34 }, "identifierName": "onModulesLoaded" @@ -28298,15 +29150,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", - "start": 18605, - "end": 18684, + "start": 18989, + "end": 19068, "loc": { "start": { - "line": 552, + "line": 564, "column": 1 }, "end": { - "line": 554, + "line": 566, "column": 4 } } @@ -28316,15 +29168,15 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 18816, - "end": 18848, + "start": 19200, + "end": 19232, "loc": { "start": { - "line": 560, + "line": 572, "column": 2 }, "end": { - "line": 562, + "line": 574, "column": 5 } } @@ -28333,15 +29185,15 @@ }, { "type": "ClassProperty", - "start": 18852, - "end": 19001, + "start": 19236, + "end": 19385, "loc": { "start": { - "line": 563, + "line": 575, "column": 2 }, "end": { - "line": 568, + "line": 580, "column": 3 } }, @@ -28349,15 +29201,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18852, - "end": 18866, + "start": 19236, + "end": 19250, "loc": { "start": { - "line": 563, + "line": 575, "column": 2 }, "end": { - "line": 563, + "line": 575, "column": 16 }, "identifierName": "registerModule" @@ -28367,15 +29219,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 18869, - "end": 19001, + "start": 19253, + "end": 19385, "loc": { "start": { - "line": 563, + "line": 575, "column": 19 }, "end": { - "line": 568, + "line": 580, "column": 3 } }, @@ -28386,15 +29238,15 @@ "params": [ { "type": "Identifier", - "start": 18870, - "end": 18874, + "start": 19254, + "end": 19258, "loc": { "start": { - "line": 563, + "line": 575, "column": 20 }, "end": { - "line": 563, + "line": 575, "column": 24 }, "identifierName": "name" @@ -28403,15 +29255,15 @@ }, { "type": "Identifier", - "start": 18876, - "end": 18888, + "start": 19260, + "end": 19272, "loc": { "start": { - "line": 563, + "line": 575, "column": 26 }, "end": { - "line": 563, + "line": 575, "column": 38 }, "identifierName": "initCallback" @@ -28421,44 +29273,44 @@ ], "body": { "type": "BlockStatement", - "start": 18893, - "end": 19001, + "start": 19277, + "end": 19385, "loc": { "start": { - "line": 563, + "line": 575, "column": 43 }, "end": { - "line": 568, + "line": 580, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18900, - "end": 18955, + "start": 19284, + "end": 19339, "loc": { "start": { - "line": 564, + "line": 576, "column": 4 }, "end": { - "line": 565, + "line": 577, "column": 30 } }, "test": { "type": "UnaryExpression", - "start": 18903, - "end": 18922, + "start": 19287, + "end": 19306, "loc": { "start": { - "line": 564, + "line": 576, "column": 7 }, "end": { - "line": 564, + "line": 576, "column": 26 } }, @@ -28466,58 +29318,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18904, - "end": 18922, + "start": 19288, + "end": 19306, "loc": { "start": { - "line": 564, + "line": 576, "column": 8 }, "end": { - "line": 564, + "line": 576, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 18904, - "end": 18916, + "start": 19288, + "end": 19300, "loc": { "start": { - "line": 564, + "line": 576, "column": 8 }, "end": { - "line": 564, + "line": 576, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 18904, - "end": 18908, + "start": 19288, + "end": 19292, "loc": { "start": { - "line": 564, + "line": 576, "column": 8 }, "end": { - "line": 564, + "line": 576, "column": 12 } } }, "property": { "type": "Identifier", - "start": 18909, - "end": 18916, + "start": 19293, + "end": 19300, "loc": { "start": { - "line": 564, + "line": 576, "column": 13 }, "end": { - "line": 564, + "line": 576, "column": 20 }, "identifierName": "modules" @@ -28528,15 +29380,15 @@ }, "property": { "type": "Identifier", - "start": 18917, - "end": 18921, + "start": 19301, + "end": 19305, "loc": { "start": { - "line": 564, + "line": 576, "column": 21 }, "end": { - "line": 564, + "line": 576, "column": 25 }, "identifierName": "name" @@ -28551,87 +29403,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18931, - "end": 18955, + "start": 19315, + "end": 19339, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 18931, - "end": 18954, + "start": 19315, + "end": 19338, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18931, - "end": 18949, + "start": 19315, + "end": 19333, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 24 } }, "object": { "type": "MemberExpression", - "start": 18931, - "end": 18943, + "start": 19315, + "end": 19327, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18931, - "end": 18935, + "start": 19315, + "end": 19319, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18936, - "end": 18943, + "start": 19320, + "end": 19327, "loc": { "start": { - "line": 565, + "line": 577, "column": 11 }, "end": { - "line": 565, + "line": 577, "column": 18 }, "identifierName": "modules" @@ -28642,15 +29494,15 @@ }, "property": { "type": "Identifier", - "start": 18944, - "end": 18948, + "start": 19328, + "end": 19332, "loc": { "start": { - "line": 565, + "line": 577, "column": 19 }, "end": { - "line": 565, + "line": 577, "column": 23 }, "identifierName": "name" @@ -28661,15 +29513,15 @@ }, "right": { "type": "ObjectExpression", - "start": 18952, - "end": 18954, + "start": 19336, + "end": 19338, "loc": { "start": { - "line": 565, + "line": 577, "column": 27 }, "end": { - "line": 565, + "line": 577, "column": 29 } }, @@ -28681,43 +29533,43 @@ }, { "type": "ExpressionStatement", - "start": 18963, - "end": 18996, + "start": 19347, + "end": 19380, "loc": { "start": { - "line": 567, + "line": 579, "column": 4 }, "end": { - "line": 567, + "line": 579, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 18963, - "end": 18995, + "start": 19347, + "end": 19379, "loc": { "start": { - "line": 567, + "line": 579, "column": 4 }, "end": { - "line": 567, + "line": 579, "column": 36 } }, "callee": { "type": "Identifier", - "start": 18963, - "end": 18975, + "start": 19347, + "end": 19359, "loc": { "start": { - "line": 567, + "line": 579, "column": 4 }, "end": { - "line": 567, + "line": 579, "column": 16 }, "identifierName": "initCallback" @@ -28727,58 +29579,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 18976, - "end": 18994, + "start": 19360, + "end": 19378, "loc": { "start": { - "line": 567, + "line": 579, "column": 17 }, "end": { - "line": 567, + "line": 579, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 18976, - "end": 18988, + "start": 19360, + "end": 19372, "loc": { "start": { - "line": 567, + "line": 579, "column": 17 }, "end": { - "line": 567, + "line": 579, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 18976, - "end": 18980, + "start": 19360, + "end": 19364, "loc": { "start": { - "line": 567, + "line": 579, "column": 17 }, "end": { - "line": 567, + "line": 579, "column": 21 } } }, "property": { "type": "Identifier", - "start": 18981, - "end": 18988, + "start": 19365, + "end": 19372, "loc": { "start": { - "line": 567, + "line": 579, "column": 22 }, "end": { - "line": 567, + "line": 579, "column": 29 }, "identifierName": "modules" @@ -28789,15 +29641,15 @@ }, "property": { "type": "Identifier", - "start": 18989, - "end": 18993, + "start": 19373, + "end": 19377, "loc": { "start": { - "line": 567, + "line": 579, "column": 30 }, "end": { - "line": 567, + "line": 579, "column": 34 }, "identifierName": "name" @@ -28819,15 +29671,15 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 18816, - "end": 18848, + "start": 19200, + "end": 19232, "loc": { "start": { - "line": 560, + "line": 572, "column": 2 }, "end": { - "line": 562, + "line": 574, "column": 5 } } @@ -28837,15 +29689,15 @@ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", - "start": 19007, - "end": 19036, + "start": 19391, + "end": 19420, "loc": { "start": { - "line": 570, + "line": 582, "column": 2 }, "end": { - "line": 572, + "line": 584, "column": 5 } } @@ -28854,15 +29706,15 @@ }, { "type": "ClassMethod", - "start": 19040, - "end": 19681, + "start": 19424, + "end": 20065, "loc": { "start": { - "line": 573, + "line": 585, "column": 2 }, "end": { - "line": 592, + "line": 604, "column": 3 } }, @@ -28870,15 +29722,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19040, - "end": 19051, + "start": 19424, + "end": 19435, "loc": { "start": { - "line": 573, + "line": 585, "column": 2 }, "end": { - "line": 573, + "line": 585, "column": 13 }, "identifierName": "loadModules" @@ -28894,72 +29746,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19053, - "end": 19681, + "start": 19437, + "end": 20065, "loc": { "start": { - "line": 573, + "line": 585, "column": 15 }, "end": { - "line": 592, + "line": 604, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 19060, - "end": 19676, + "start": 19444, + "end": 20060, "loc": { "start": { - "line": 574, + "line": 586, "column": 4 }, "end": { - "line": 591, + "line": 603, "column": 5 } }, "test": { "type": "CallExpression", - "start": 19063, - "end": 19098, + "start": 19447, + "end": 19482, "loc": { "start": { - "line": 574, + "line": 586, "column": 7 }, "end": { - "line": 574, + "line": 586, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 19063, - "end": 19076, + "start": 19447, + "end": 19460, "loc": { "start": { - "line": 574, + "line": 586, "column": 7 }, "end": { - "line": 574, + "line": 586, "column": 20 } }, "object": { "type": "Identifier", - "start": 19063, - "end": 19068, + "start": 19447, + "end": 19452, "loc": { "start": { - "line": 574, + "line": 586, "column": 7 }, "end": { - "line": 574, + "line": 586, "column": 12 }, "identifierName": "Array" @@ -28968,15 +29820,15 @@ }, "property": { "type": "Identifier", - "start": 19069, - "end": 19076, + "start": 19453, + "end": 19460, "loc": { "start": { - "line": 574, + "line": 586, "column": 13 }, "end": { - "line": 574, + "line": 586, "column": 20 }, "identifierName": "isArray" @@ -28988,58 +29840,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 19077, - "end": 19097, + "start": 19461, + "end": 19481, "loc": { "start": { - "line": 574, + "line": 586, "column": 21 }, "end": { - "line": 574, + "line": 586, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 19077, - "end": 19089, + "start": 19461, + "end": 19473, "loc": { "start": { - "line": 574, + "line": 586, "column": 21 }, "end": { - "line": 574, + "line": 586, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 19077, - "end": 19081, + "start": 19461, + "end": 19465, "loc": { "start": { - "line": 574, + "line": 586, "column": 21 }, "end": { - "line": 574, + "line": 586, "column": 25 } } }, "property": { "type": "Identifier", - "start": 19082, - "end": 19089, + "start": 19466, + "end": 19473, "loc": { "start": { - "line": 574, + "line": 586, "column": 26 }, "end": { - "line": 574, + "line": 586, "column": 33 }, "identifierName": "options" @@ -29050,15 +29902,15 @@ }, "property": { "type": "Identifier", - "start": 19090, - "end": 19097, + "start": 19474, + "end": 19481, "loc": { "start": { - "line": 574, + "line": 586, "column": 34 }, "end": { - "line": 574, + "line": 586, "column": 41 }, "identifierName": "modules" @@ -29071,115 +29923,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 19099, - "end": 19676, + "start": 19483, + "end": 20060, "loc": { "start": { - "line": 574, + "line": 586, "column": 43 }, "end": { - "line": 591, + "line": 603, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 19108, - "end": 19528, + "start": 19492, + "end": 19912, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 585, + "line": 597, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 19108, - "end": 19527, + "start": 19492, + "end": 19911, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 585, + "line": 597, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 19108, - "end": 19136, + "start": 19492, + "end": 19520, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19108, - "end": 19128, + "start": 19492, + "end": 19512, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 19108, - "end": 19120, + "start": 19492, + "end": 19504, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 19108, - "end": 19112, + "start": 19492, + "end": 19496, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19113, - "end": 19120, + "start": 19497, + "end": 19504, "loc": { "start": { - "line": 575, + "line": 587, "column": 11 }, "end": { - "line": 575, + "line": 587, "column": 18 }, "identifierName": "options" @@ -29190,15 +30042,15 @@ }, "property": { "type": "Identifier", - "start": 19121, - "end": 19128, + "start": 19505, + "end": 19512, "loc": { "start": { - "line": 575, + "line": 587, "column": 19 }, "end": { - "line": 575, + "line": 587, "column": 26 }, "identifierName": "modules" @@ -29209,15 +30061,15 @@ }, "property": { "type": "Identifier", - "start": 19129, - "end": 19136, + "start": 19513, + "end": 19520, "loc": { "start": { - "line": 575, + "line": 587, "column": 27 }, "end": { - "line": 575, + "line": 587, "column": 34 }, "identifierName": "forEach" @@ -29229,15 +30081,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 19137, - "end": 19526, + "start": 19521, + "end": 19910, "loc": { "start": { - "line": 575, + "line": 587, "column": 35 }, "end": { - "line": 585, + "line": 597, "column": 7 } }, @@ -29248,15 +30100,15 @@ "params": [ { "type": "Identifier", - "start": 19137, - "end": 19143, + "start": 19521, + "end": 19527, "loc": { "start": { - "line": 575, + "line": 587, "column": 35 }, "end": { - "line": 575, + "line": 587, "column": 41 }, "identifierName": "Module" @@ -29266,59 +30118,59 @@ ], "body": { "type": "BlockStatement", - "start": 19147, - "end": 19526, + "start": 19531, + "end": 19910, "loc": { "start": { - "line": 575, + "line": 587, "column": 45 }, "end": { - "line": 585, + "line": 597, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 19158, - "end": 19184, + "start": 19542, + "end": 19568, "loc": { "start": { - "line": 576, + "line": 588, "column": 8 }, "end": { - "line": 576, + "line": 588, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19162, - "end": 19183, + "start": 19546, + "end": 19567, "loc": { "start": { - "line": 576, + "line": 588, "column": 12 }, "end": { - "line": 576, + "line": 588, "column": 33 } }, "id": { "type": "Identifier", - "start": 19162, - "end": 19168, + "start": 19546, + "end": 19552, "loc": { "start": { - "line": 576, + "line": 588, "column": 12 }, "end": { - "line": 576, + "line": 588, "column": 18 }, "identifierName": "module" @@ -29327,29 +30179,29 @@ }, "init": { "type": "NewExpression", - "start": 19171, - "end": 19183, + "start": 19555, + "end": 19567, "loc": { "start": { - "line": 576, + "line": 588, "column": 21 }, "end": { - "line": 576, + "line": 588, "column": 33 } }, "callee": { "type": "Identifier", - "start": 19175, - "end": 19181, + "start": 19559, + "end": 19565, "loc": { "start": { - "line": 576, + "line": 588, "column": 25 }, "end": { - "line": 576, + "line": 588, "column": 31 }, "identifierName": "Module" @@ -29365,15 +30217,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 19196, - "end": 19222, + "start": 19580, + "end": 19606, "loc": { "start": { - "line": 578, + "line": 590, "column": 8 }, "end": { - "line": 578, + "line": 590, "column": 34 } } @@ -29382,71 +30234,71 @@ }, { "type": "IfStatement", - "start": 19232, - "end": 19487, + "start": 19616, + "end": 19871, "loc": { "start": { - "line": 579, + "line": 591, "column": 8 }, "end": { - "line": 582, + "line": 594, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19235, - "end": 19300, + "start": 19619, + "end": 19684, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 76 } }, "left": { "type": "MemberExpression", - "start": 19235, - "end": 19258, + "start": 19619, + "end": 19642, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19235, - "end": 19253, + "start": 19619, + "end": 19637, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 29 } }, "object": { "type": "Identifier", - "start": 19235, - "end": 19241, + "start": 19619, + "end": 19625, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 17 }, "identifierName": "module" @@ -29456,15 +30308,15 @@ }, "property": { "type": "Identifier", - "start": 19242, - "end": 19253, + "start": 19626, + "end": 19637, "loc": { "start": { - "line": 579, + "line": 591, "column": 18 }, "end": { - "line": 579, + "line": 591, "column": 29 }, "identifierName": "constructor" @@ -29476,15 +30328,15 @@ }, "property": { "type": "Identifier", - "start": 19254, - "end": 19258, + "start": 19638, + "end": 19642, "loc": { "start": { - "line": 579, + "line": 591, "column": 30 }, "end": { - "line": 579, + "line": 591, "column": 34 }, "identifierName": "name" @@ -29497,57 +30349,57 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 19262, - "end": 19300, + "start": 19646, + "end": 19684, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 76 } }, "left": { "type": "MemberExpression", - "start": 19262, - "end": 19285, + "start": 19646, + "end": 19669, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 19262, - "end": 19280, + "start": 19646, + "end": 19664, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 56 } }, "object": { "type": "Identifier", - "start": 19262, - "end": 19268, + "start": 19646, + "end": 19652, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 44 }, "identifierName": "module" @@ -29556,15 +30408,15 @@ }, "property": { "type": "Identifier", - "start": 19269, - "end": 19280, + "start": 19653, + "end": 19664, "loc": { "start": { - "line": 579, + "line": 591, "column": 45 }, "end": { - "line": 579, + "line": 591, "column": 56 }, "identifierName": "constructor" @@ -29575,15 +30427,15 @@ }, "property": { "type": "Identifier", - "start": 19281, - "end": 19285, + "start": 19665, + "end": 19669, "loc": { "start": { - "line": 579, + "line": 591, "column": 57 }, "end": { - "line": 579, + "line": 591, "column": 61 }, "identifierName": "name" @@ -29595,15 +30447,15 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19290, - "end": 19300, + "start": 19674, + "end": 19684, "loc": { "start": { - "line": 579, + "line": 591, "column": 66 }, "end": { - "line": 579, + "line": 591, "column": 76 } }, @@ -29618,59 +30470,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19301, - "end": 19487, + "start": 19685, + "end": 19871, "loc": { "start": { - "line": 579, + "line": 591, "column": 77 }, "end": { - "line": 582, + "line": 594, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 19314, - "end": 19391, + "start": 19698, + "end": 19775, "loc": { "start": { - "line": 580, + "line": 592, "column": 10 }, "end": { - "line": 580, + "line": 592, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19318, - "end": 19390, + "start": 19702, + "end": 19774, "loc": { "start": { - "line": 580, + "line": 592, "column": 14 }, "end": { - "line": 580, + "line": 592, "column": 86 } }, "id": { "type": "Identifier", - "start": 19318, - "end": 19326, + "start": 19702, + "end": 19710, "loc": { "start": { - "line": 580, + "line": 592, "column": 14 }, "end": { - "line": 580, + "line": 592, "column": 22 }, "identifierName": "classStr" @@ -29679,87 +30531,87 @@ }, "init": { "type": "TemplateLiteral", - "start": 19329, - "end": 19390, + "start": 19713, + "end": 19774, "loc": { "start": { - "line": 580, + "line": 592, "column": 25 }, "end": { - "line": 580, + "line": 592, "column": 86 } }, "expressions": [ { "type": "CallExpression", - "start": 19339, - "end": 19388, + "start": 19723, + "end": 19772, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 84 } }, "callee": { "type": "MemberExpression", - "start": 19339, - "end": 19363, + "start": 19723, + "end": 19747, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 19339, - "end": 19353, + "start": 19723, + "end": 19737, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 19339, - "end": 19343, + "start": 19723, + "end": 19727, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 39 } } }, "property": { "type": "Identifier", - "start": 19344, - "end": 19353, + "start": 19728, + "end": 19737, "loc": { "start": { - "line": 580, + "line": 592, "column": 40 }, "end": { - "line": 580, + "line": 592, "column": 49 }, "identifierName": "utilities" @@ -29770,15 +30622,15 @@ }, "property": { "type": "Identifier", - "start": 19354, - "end": 19363, + "start": 19738, + "end": 19747, "loc": { "start": { - "line": 580, + "line": 592, "column": 50 }, "end": { - "line": 580, + "line": 592, "column": 59 }, "identifierName": "camelCase" @@ -29790,43 +30642,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 19364, - "end": 19387, + "start": 19748, + "end": 19771, "loc": { "start": { - "line": 580, + "line": 592, "column": 60 }, "end": { - "line": 580, + "line": 592, "column": 83 } }, "object": { "type": "MemberExpression", - "start": 19364, - "end": 19382, + "start": 19748, + "end": 19766, "loc": { "start": { - "line": 580, + "line": 592, "column": 60 }, "end": { - "line": 580, + "line": 592, "column": 78 } }, "object": { "type": "Identifier", - "start": 19364, - "end": 19370, + "start": 19748, + "end": 19754, "loc": { "start": { - "line": 580, + "line": 592, "column": 60 }, "end": { - "line": 580, + "line": 592, "column": 66 }, "identifierName": "module" @@ -29835,15 +30687,15 @@ }, "property": { "type": "Identifier", - "start": 19371, - "end": 19382, + "start": 19755, + "end": 19766, "loc": { "start": { - "line": 580, + "line": 592, "column": 67 }, "end": { - "line": 580, + "line": 592, "column": 78 }, "identifierName": "constructor" @@ -29854,15 +30706,15 @@ }, "property": { "type": "Identifier", - "start": 19383, - "end": 19387, + "start": 19767, + "end": 19771, "loc": { "start": { - "line": 580, + "line": 592, "column": 79 }, "end": { - "line": 580, + "line": 592, "column": 83 }, "identifierName": "name" @@ -29877,15 +30729,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 19330, - "end": 19337, + "start": 19714, + "end": 19721, "loc": { "start": { - "line": 580, + "line": 592, "column": 26 }, "end": { - "line": 580, + "line": 592, "column": 33 } }, @@ -29897,15 +30749,15 @@ }, { "type": "TemplateElement", - "start": 19389, - "end": 19389, + "start": 19773, + "end": 19773, "loc": { "start": { - "line": 580, + "line": 592, "column": 85 }, "end": { - "line": 580, + "line": 592, "column": 85 } }, @@ -29923,73 +30775,73 @@ }, { "type": "ExpressionStatement", - "start": 19403, - "end": 19476, + "start": 19787, + "end": 19860, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 83 } }, "expression": { "type": "AssignmentExpression", - "start": 19403, - "end": 19475, + "start": 19787, + "end": 19859, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19403, - "end": 19429, + "start": 19787, + "end": 19813, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 19403, - "end": 19407, + "start": 19787, + "end": 19791, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 14 } } }, "property": { "type": "Identifier", - "start": 19408, - "end": 19429, + "start": 19792, + "end": 19813, "loc": { "start": { - "line": 581, + "line": 593, "column": 15 }, "end": { - "line": 581, + "line": 593, "column": 36 }, "identifierName": "keyboardPluginClasses" @@ -30000,58 +30852,58 @@ }, "right": { "type": "BinaryExpression", - "start": 19432, - "end": 19475, + "start": 19816, + "end": 19859, "loc": { "start": { - "line": 581, + "line": 593, "column": 39 }, "end": { - "line": 581, + "line": 593, "column": 82 } }, "left": { "type": "MemberExpression", - "start": 19432, - "end": 19458, + "start": 19816, + "end": 19842, "loc": { "start": { - "line": 581, + "line": 593, "column": 39 }, "end": { - "line": 581, + "line": 593, "column": 65 } }, "object": { "type": "ThisExpression", - "start": 19432, - "end": 19436, + "start": 19816, + "end": 19820, "loc": { "start": { - "line": 581, + "line": 593, "column": 39 }, "end": { - "line": 581, + "line": 593, "column": 43 } } }, "property": { "type": "Identifier", - "start": 19437, - "end": 19458, + "start": 19821, + "end": 19842, "loc": { "start": { - "line": 581, + "line": 593, "column": 44 }, "end": { - "line": 581, + "line": 593, "column": 65 }, "identifierName": "keyboardPluginClasses" @@ -30063,30 +30915,30 @@ "operator": "+", "right": { "type": "TemplateLiteral", - "start": 19461, - "end": 19475, + "start": 19845, + "end": 19859, "loc": { "start": { - "line": 581, + "line": 593, "column": 68 }, "end": { - "line": 581, + "line": 593, "column": 82 } }, "expressions": [ { "type": "Identifier", - "start": 19465, - "end": 19473, + "start": 19849, + "end": 19857, "loc": { "start": { - "line": 581, + "line": 593, "column": 72 }, "end": { - "line": 581, + "line": 593, "column": 80 }, "identifierName": "classStr" @@ -30097,15 +30949,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 19462, - "end": 19463, + "start": 19846, + "end": 19847, "loc": { "start": { - "line": 581, + "line": 593, "column": 69 }, "end": { - "line": 581, + "line": 593, "column": 70 } }, @@ -30117,15 +30969,15 @@ }, { "type": "TemplateElement", - "start": 19474, - "end": 19474, + "start": 19858, + "end": 19858, "loc": { "start": { - "line": 581, + "line": 593, "column": 81 }, "end": { - "line": 581, + "line": 593, "column": 81 } }, @@ -30148,15 +31000,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 19196, - "end": 19222, + "start": 19580, + "end": 19606, "loc": { "start": { - "line": 578, + "line": 590, "column": 8 }, "end": { - "line": 578, + "line": 590, "column": 34 } } @@ -30165,57 +31017,57 @@ }, { "type": "ExpressionStatement", - "start": 19499, - "end": 19517, + "start": 19883, + "end": 19901, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 26 } }, "expression": { "type": "CallExpression", - "start": 19499, - "end": 19516, + "start": 19883, + "end": 19900, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 19499, - "end": 19510, + "start": 19883, + "end": 19894, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 19 } }, "object": { "type": "Identifier", - "start": 19499, - "end": 19505, + "start": 19883, + "end": 19889, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 14 }, "identifierName": "module" @@ -30224,15 +31076,15 @@ }, "property": { "type": "Identifier", - "start": 19506, - "end": 19510, + "start": 19890, + "end": 19894, "loc": { "start": { - "line": 584, + "line": 596, "column": 15 }, "end": { - "line": 584, + "line": 596, "column": 19 }, "identifierName": "init" @@ -30244,15 +31096,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 19511, - "end": 19515, + "start": 19895, + "end": 19899, "loc": { "start": { - "line": 584, + "line": 596, "column": 20 }, "end": { - "line": 584, + "line": 596, "column": 24 } } @@ -30269,73 +31121,73 @@ }, { "type": "ExpressionStatement", - "start": 19538, - "end": 19614, + "start": 19922, + "end": 19998, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 82 } }, "expression": { "type": "AssignmentExpression", - "start": 19538, - "end": 19613, + "start": 19922, + "end": 19997, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19538, - "end": 19564, + "start": 19922, + "end": 19948, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 19538, - "end": 19542, + "start": 19922, + "end": 19926, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19543, - "end": 19564, + "start": 19927, + "end": 19948, "loc": { "start": { - "line": 587, + "line": 599, "column": 11 }, "end": { - "line": 587, + "line": 599, "column": 32 }, "identifierName": "keyboardPluginClasses" @@ -30346,58 +31198,58 @@ }, "right": { "type": "BinaryExpression", - "start": 19567, - "end": 19613, + "start": 19951, + "end": 19997, "loc": { "start": { - "line": 587, + "line": 599, "column": 35 }, "end": { - "line": 587, + "line": 599, "column": 81 } }, "left": { "type": "MemberExpression", - "start": 19567, - "end": 19593, + "start": 19951, + "end": 19977, "loc": { "start": { - "line": 587, + "line": 599, "column": 35 }, "end": { - "line": 587, + "line": 599, "column": 61 } }, "object": { "type": "ThisExpression", - "start": 19567, - "end": 19571, + "start": 19951, + "end": 19955, "loc": { "start": { - "line": 587, + "line": 599, "column": 35 }, "end": { - "line": 587, + "line": 599, "column": 39 } } }, "property": { "type": "Identifier", - "start": 19572, - "end": 19593, + "start": 19956, + "end": 19977, "loc": { "start": { - "line": 587, + "line": 599, "column": 40 }, "end": { - "line": 587, + "line": 599, "column": 61 }, "identifierName": "keyboardPluginClasses" @@ -30409,15 +31261,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 19596, - "end": 19613, + "start": 19980, + "end": 19997, "loc": { "start": { - "line": 587, + "line": 599, "column": 64 }, "end": { - "line": 587, + "line": 599, "column": 81 } }, @@ -30432,72 +31284,72 @@ }, { "type": "ExpressionStatement", - "start": 19624, - "end": 19638, + "start": 20008, + "end": 20022, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 19624, - "end": 19637, + "start": 20008, + "end": 20021, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 19624, - "end": 19635, + "start": 20008, + "end": 20019, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 19624, - "end": 19628, + "start": 20008, + "end": 20012, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19629, - "end": 19635, + "start": 20013, + "end": 20019, "loc": { "start": { - "line": 589, + "line": 601, "column": 11 }, "end": { - "line": 589, + "line": 601, "column": 17 }, "identifierName": "render" @@ -30511,72 +31363,72 @@ }, { "type": "ExpressionStatement", - "start": 19646, - "end": 19669, + "start": 20030, + "end": 20053, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 19646, - "end": 19668, + "start": 20030, + "end": 20052, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 19646, - "end": 19666, + "start": 20030, + "end": 20050, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 19646, - "end": 19650, + "start": 20030, + "end": 20034, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19651, - "end": 19666, + "start": 20035, + "end": 20050, "loc": { "start": { - "line": 590, + "line": 602, "column": 11 }, "end": { - "line": 590, + "line": 602, "column": 26 }, "identifierName": "onModulesLoaded" @@ -30601,15 +31453,15 @@ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", - "start": 19007, - "end": 19036, + "start": 19391, + "end": 19420, "loc": { "start": { - "line": 570, + "line": 582, "column": 2 }, "end": { - "line": 572, + "line": 584, "column": 5 } } @@ -30619,15 +31471,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 19687, - "end": 19719, + "start": 20071, + "end": 20103, "loc": { "start": { - "line": 594, + "line": 606, "column": 2 }, "end": { - "line": 596, + "line": 608, "column": 5 } } @@ -30636,15 +31488,15 @@ }, { "type": "ClassProperty", - "start": 19723, - "end": 19855, + "start": 20107, + "end": 20239, "loc": { "start": { - "line": 597, + "line": 609, "column": 2 }, "end": { - "line": 602, + "line": 614, "column": 3 } }, @@ -30652,15 +31504,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19723, - "end": 19736, + "start": 20107, + "end": 20120, "loc": { "start": { - "line": 597, + "line": 609, "column": 2 }, "end": { - "line": 597, + "line": 609, "column": 15 }, "identifierName": "getModuleProp" @@ -30670,15 +31522,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 19739, - "end": 19855, + "start": 20123, + "end": 20239, "loc": { "start": { - "line": 597, + "line": 609, "column": 18 }, "end": { - "line": 602, + "line": 614, "column": 3 } }, @@ -30689,15 +31541,15 @@ "params": [ { "type": "Identifier", - "start": 19740, - "end": 19744, + "start": 20124, + "end": 20128, "loc": { "start": { - "line": 597, + "line": 609, "column": 19 }, "end": { - "line": 597, + "line": 609, "column": 23 }, "identifierName": "name" @@ -30706,15 +31558,15 @@ }, { "type": "Identifier", - "start": 19746, - "end": 19750, + "start": 20130, + "end": 20134, "loc": { "start": { - "line": 597, + "line": 609, "column": 25 }, "end": { - "line": 597, + "line": 609, "column": 29 }, "identifierName": "prop" @@ -30724,44 +31576,44 @@ ], "body": { "type": "BlockStatement", - "start": 19755, - "end": 19855, + "start": 20139, + "end": 20239, "loc": { "start": { - "line": 597, + "line": 609, "column": 34 }, "end": { - "line": 602, + "line": 614, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 19762, - "end": 19806, + "start": 20146, + "end": 20190, "loc": { "start": { - "line": 598, + "line": 610, "column": 4 }, "end": { - "line": 599, + "line": 611, "column": 19 } }, "test": { "type": "UnaryExpression", - "start": 19765, - "end": 19784, + "start": 20149, + "end": 20168, "loc": { "start": { - "line": 598, + "line": 610, "column": 7 }, "end": { - "line": 598, + "line": 610, "column": 26 } }, @@ -30769,58 +31621,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 19766, - "end": 19784, + "start": 20150, + "end": 20168, "loc": { "start": { - "line": 598, + "line": 610, "column": 8 }, "end": { - "line": 598, + "line": 610, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 19766, - "end": 19778, + "start": 20150, + "end": 20162, "loc": { "start": { - "line": 598, + "line": 610, "column": 8 }, "end": { - "line": 598, + "line": 610, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 19766, - "end": 19770, + "start": 20150, + "end": 20154, "loc": { "start": { - "line": 598, + "line": 610, "column": 8 }, "end": { - "line": 598, + "line": 610, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19771, - "end": 19778, + "start": 20155, + "end": 20162, "loc": { "start": { - "line": 598, + "line": 610, "column": 13 }, "end": { - "line": 598, + "line": 610, "column": 20 }, "identifierName": "modules" @@ -30831,15 +31683,15 @@ }, "property": { "type": "Identifier", - "start": 19779, - "end": 19783, + "start": 20163, + "end": 20167, "loc": { "start": { - "line": 598, + "line": 610, "column": 21 }, "end": { - "line": 598, + "line": 610, "column": 25 }, "identifierName": "name" @@ -30854,29 +31706,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 19793, - "end": 19806, + "start": 20177, + "end": 20190, "loc": { "start": { - "line": 599, + "line": 611, "column": 6 }, "end": { - "line": 599, + "line": 611, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 19800, - "end": 19805, + "start": 20184, + "end": 20189, "loc": { "start": { - "line": 599, + "line": 611, "column": 13 }, "end": { - "line": 599, + "line": 611, "column": 18 } }, @@ -30887,86 +31739,86 @@ }, { "type": "ReturnStatement", - "start": 19818, - "end": 19850, + "start": 20202, + "end": 20234, "loc": { "start": { - "line": 601, + "line": 613, "column": 4 }, "end": { - "line": 601, + "line": 613, "column": 36 } }, "argument": { "type": "MemberExpression", - "start": 19825, - "end": 19849, + "start": 20209, + "end": 20233, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 19825, - "end": 19843, + "start": 20209, + "end": 20227, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 19825, - "end": 19837, + "start": 20209, + "end": 20221, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19825, - "end": 19829, + "start": 20209, + "end": 20213, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 15 } } }, "property": { "type": "Identifier", - "start": 19830, - "end": 19837, + "start": 20214, + "end": 20221, "loc": { "start": { - "line": 601, + "line": 613, "column": 16 }, "end": { - "line": 601, + "line": 613, "column": 23 }, "identifierName": "modules" @@ -30977,15 +31829,15 @@ }, "property": { "type": "Identifier", - "start": 19838, - "end": 19842, + "start": 20222, + "end": 20226, "loc": { "start": { - "line": 601, + "line": 613, "column": 24 }, "end": { - "line": 601, + "line": 613, "column": 28 }, "identifierName": "name" @@ -30996,15 +31848,15 @@ }, "property": { "type": "Identifier", - "start": 19844, - "end": 19848, + "start": 20228, + "end": 20232, "loc": { "start": { - "line": 601, + "line": 613, "column": 30 }, "end": { - "line": 601, + "line": 613, "column": 34 }, "identifierName": "prop" @@ -31024,15 +31876,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 19687, - "end": 19719, + "start": 20071, + "end": 20103, "loc": { "start": { - "line": 594, + "line": 606, "column": 2 }, "end": { - "line": 596, + "line": 608, "column": 5 } } @@ -31042,15 +31894,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 19861, - "end": 19892, + "start": 20245, + "end": 20276, "loc": { "start": { - "line": 604, + "line": 616, "column": 2 }, "end": { - "line": 606, + "line": 618, "column": 5 } } @@ -31059,15 +31911,15 @@ }, { "type": "ClassProperty", - "start": 19896, - "end": 19964, + "start": 20280, + "end": 20348, "loc": { "start": { - "line": 607, + "line": 619, "column": 2 }, "end": { - "line": 609, + "line": 621, "column": 3 } }, @@ -31075,15 +31927,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19896, - "end": 19910, + "start": 20280, + "end": 20294, "loc": { "start": { - "line": 607, + "line": 619, "column": 2 }, "end": { - "line": 607, + "line": 619, "column": 16 }, "identifierName": "getModulesList" @@ -31093,15 +31945,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 19913, - "end": 19964, + "start": 20297, + "end": 20348, "loc": { "start": { - "line": 607, + "line": 619, "column": 19 }, "end": { - "line": 609, + "line": 621, "column": 3 } }, @@ -31112,72 +31964,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19919, - "end": 19964, + "start": 20303, + "end": 20348, "loc": { "start": { - "line": 607, + "line": 619, "column": 25 }, "end": { - "line": 609, + "line": 621, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 19926, - "end": 19959, + "start": 20310, + "end": 20343, "loc": { "start": { - "line": 608, + "line": 620, "column": 4 }, "end": { - "line": 608, + "line": 620, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 19933, - "end": 19958, + "start": 20317, + "end": 20342, "loc": { "start": { - "line": 608, + "line": 620, "column": 11 }, "end": { - "line": 608, + "line": 620, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 19933, - "end": 19944, + "start": 20317, + "end": 20328, "loc": { "start": { - "line": 608, + "line": 620, "column": 11 }, "end": { - "line": 608, + "line": 620, "column": 22 } }, "object": { "type": "Identifier", - "start": 19933, - "end": 19939, + "start": 20317, + "end": 20323, "loc": { "start": { - "line": 608, + "line": 620, "column": 11 }, "end": { - "line": 608, + "line": 620, "column": 17 }, "identifierName": "Object" @@ -31186,15 +32038,15 @@ }, "property": { "type": "Identifier", - "start": 19940, - "end": 19944, + "start": 20324, + "end": 20328, "loc": { "start": { - "line": 608, + "line": 620, "column": 18 }, "end": { - "line": 608, + "line": 620, "column": 22 }, "identifierName": "keys" @@ -31206,44 +32058,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 19945, - "end": 19957, + "start": 20329, + "end": 20341, "loc": { "start": { - "line": 608, + "line": 620, "column": 23 }, "end": { - "line": 608, + "line": 620, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 19945, - "end": 19949, + "start": 20329, + "end": 20333, "loc": { "start": { - "line": 608, + "line": 620, "column": 23 }, "end": { - "line": 608, + "line": 620, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19950, - "end": 19957, + "start": 20334, + "end": 20341, "loc": { "start": { - "line": 608, + "line": 620, "column": 28 }, "end": { - "line": 608, + "line": 620, "column": 35 }, "identifierName": "modules" @@ -31265,15 +32117,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 19861, - "end": 19892, + "start": 20245, + "end": 20276, "loc": { "start": { - "line": 604, + "line": 616, "column": 2 }, "end": { - "line": 606, + "line": 618, "column": 5 } } @@ -31283,15 +32135,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 19970, - "end": 20026, + "start": 20354, + "end": 20410, "loc": { "start": { - "line": 611, + "line": 623, "column": 2 }, "end": { - "line": 613, + "line": 625, "column": 5 } } @@ -31300,15 +32152,15 @@ }, { "type": "ClassMethod", - "start": 20030, - "end": 24374, + "start": 20414, + "end": 24811, "loc": { "start": { - "line": 614, + "line": 626, "column": 2 }, "end": { - "line": 756, + "line": 771, "column": 3 } }, @@ -31316,15 +32168,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 20030, - "end": 20036, + "start": 20414, + "end": 20420, "loc": { "start": { - "line": 614, + "line": 626, "column": 2 }, "end": { - "line": 614, + "line": 626, "column": 8 }, "identifierName": "render" @@ -31340,72 +32192,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 20038, - "end": 24374, + "start": 20422, + "end": 24811, "loc": { "start": { - "line": 614, + "line": 626, "column": 10 }, "end": { - "line": 756, + "line": 771, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 20086, - "end": 20099, + "start": 20470, + "end": 20483, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 17 } }, "expression": { "type": "CallExpression", - "start": 20086, - "end": 20098, + "start": 20470, + "end": 20482, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 20086, - "end": 20096, + "start": 20470, + "end": 20480, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 20086, - "end": 20090, + "start": 20470, + "end": 20474, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 8 } }, @@ -31413,15 +32265,15 @@ }, "property": { "type": "Identifier", - "start": 20091, - "end": 20096, + "start": 20475, + "end": 20480, "loc": { "start": { - "line": 618, + "line": 630, "column": 9 }, "end": { - "line": 618, + "line": 630, "column": 14 }, "identifierName": "clear" @@ -31438,15 +32290,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", - "start": 20045, - "end": 20080, + "start": 20429, + "end": 20464, "loc": { "start": { - "line": 615, + "line": 627, "column": 4 }, "end": { - "line": 617, + "line": 629, "column": 7 } } @@ -31455,44 +32307,44 @@ }, { "type": "VariableDeclaration", - "start": 20107, - "end": 20207, + "start": 20491, + "end": 20591, "loc": { "start": { - "line": 620, + "line": 632, "column": 4 }, "end": { - "line": 620, + "line": 632, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20111, - "end": 20206, + "start": 20495, + "end": 20590, "loc": { "start": { - "line": 620, + "line": 632, "column": 8 }, "end": { - "line": 620, + "line": 632, "column": 103 } }, "id": { "type": "Identifier", - "start": 20111, - "end": 20122, + "start": 20495, + "end": 20506, "loc": { "start": { - "line": 620, + "line": 632, "column": 8 }, "end": { - "line": 620, + "line": 632, "column": 19 }, "identifierName": "layoutClass" @@ -31501,72 +32353,72 @@ }, "init": { "type": "ConditionalExpression", - "start": 20125, - "end": 20206, + "start": 20509, + "end": 20590, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 103 } }, "test": { "type": "MemberExpression", - "start": 20125, - "end": 20144, + "start": 20509, + "end": 20528, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 20125, - "end": 20137, + "start": 20509, + "end": 20521, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 20125, - "end": 20129, + "start": 20509, + "end": 20513, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 26 } } }, "property": { "type": "Identifier", - "start": 20130, - "end": 20137, + "start": 20514, + "end": 20521, "loc": { "start": { - "line": 620, + "line": 632, "column": 27 }, "end": { - "line": 620, + "line": 632, "column": 34 }, "identifierName": "options" @@ -31577,15 +32429,15 @@ }, "property": { "type": "Identifier", - "start": 20138, - "end": 20144, + "start": 20522, + "end": 20528, "loc": { "start": { - "line": 620, + "line": 632, "column": 35 }, "end": { - "line": 620, + "line": 632, "column": 41 }, "identifierName": "layout" @@ -31596,15 +32448,15 @@ }, "consequent": { "type": "StringLiteral", - "start": 20147, - "end": 20165, + "start": 20531, + "end": 20549, "loc": { "start": { - "line": 620, + "line": 632, "column": 44 }, "end": { - "line": 620, + "line": 632, "column": 62 } }, @@ -31616,73 +32468,73 @@ }, "alternate": { "type": "TemplateLiteral", - "start": 20168, - "end": 20206, + "start": 20552, + "end": 20590, "loc": { "start": { - "line": 620, + "line": 632, "column": 65 }, "end": { - "line": 620, + "line": 632, "column": 103 } }, "expressions": [ { "type": "MemberExpression", - "start": 20181, - "end": 20204, + "start": 20565, + "end": 20588, "loc": { "start": { - "line": 620, + "line": 632, "column": 78 }, "end": { - "line": 620, + "line": 632, "column": 101 } }, "object": { "type": "MemberExpression", - "start": 20181, - "end": 20193, + "start": 20565, + "end": 20577, "loc": { "start": { - "line": 620, + "line": 632, "column": 78 }, "end": { - "line": 620, + "line": 632, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 20181, - "end": 20185, + "start": 20565, + "end": 20569, "loc": { "start": { - "line": 620, + "line": 632, "column": 78 }, "end": { - "line": 620, + "line": 632, "column": 82 } } }, "property": { "type": "Identifier", - "start": 20186, - "end": 20193, + "start": 20570, + "end": 20577, "loc": { "start": { - "line": 620, + "line": 632, "column": 83 }, "end": { - "line": 620, + "line": 632, "column": 90 }, "identifierName": "options" @@ -31693,15 +32545,15 @@ }, "property": { "type": "Identifier", - "start": 20194, - "end": 20204, + "start": 20578, + "end": 20588, "loc": { "start": { - "line": 620, + "line": 632, "column": 91 }, "end": { - "line": 620, + "line": 632, "column": 101 }, "identifierName": "layoutName" @@ -31714,15 +32566,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 20169, - "end": 20179, + "start": 20553, + "end": 20563, "loc": { "start": { - "line": 620, + "line": 632, "column": 66 }, "end": { - "line": 620, + "line": 632, "column": 76 } }, @@ -31734,15 +32586,15 @@ }, { "type": "TemplateElement", - "start": 20205, - "end": 20205, + "start": 20589, + "end": 20589, "loc": { "start": { - "line": 620, + "line": 632, "column": 102 }, "end": { - "line": 620, + "line": 632, "column": 102 } }, @@ -31761,44 +32613,44 @@ }, { "type": "VariableDeclaration", - "start": 20213, - "end": 20283, + "start": 20597, + "end": 20667, "loc": { "start": { - "line": 621, + "line": 633, "column": 4 }, "end": { - "line": 621, + "line": 633, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20217, - "end": 20282, + "start": 20601, + "end": 20666, "loc": { "start": { - "line": 621, + "line": 633, "column": 8 }, "end": { - "line": 621, + "line": 633, "column": 73 } }, "id": { "type": "Identifier", - "start": 20217, - "end": 20223, + "start": 20601, + "end": 20607, "loc": { "start": { - "line": 621, + "line": 633, "column": 8 }, "end": { - "line": 621, + "line": 633, "column": 14 }, "identifierName": "layout" @@ -31807,72 +32659,72 @@ }, "init": { "type": "LogicalExpression", - "start": 20226, - "end": 20282, + "start": 20610, + "end": 20666, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 20226, - "end": 20245, + "start": 20610, + "end": 20629, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20238, + "start": 20610, + "end": 20622, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 20226, - "end": 20230, + "start": 20610, + "end": 20614, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 21 } } }, "property": { "type": "Identifier", - "start": 20231, - "end": 20238, + "start": 20615, + "end": 20622, "loc": { "start": { - "line": 621, + "line": 633, "column": 22 }, "end": { - "line": 621, + "line": 633, "column": 29 }, "identifierName": "options" @@ -31883,15 +32735,15 @@ }, "property": { "type": "Identifier", - "start": 20239, - "end": 20245, + "start": 20623, + "end": 20629, "loc": { "start": { - "line": 621, + "line": 633, "column": 30 }, "end": { - "line": 621, + "line": 633, "column": 36 }, "identifierName": "layout" @@ -31903,43 +32755,43 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 20249, - "end": 20282, + "start": 20633, + "end": 20666, "loc": { "start": { - "line": 621, + "line": 633, "column": 40 }, "end": { - "line": 621, + "line": 633, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 20249, - "end": 20280, + "start": 20633, + "end": 20664, "loc": { "start": { - "line": 621, + "line": 633, "column": 40 }, "end": { - "line": 621, + "line": 633, "column": 71 } }, "object": { "type": "Identifier", - "start": 20249, - "end": 20263, + "start": 20633, + "end": 20647, "loc": { "start": { - "line": 621, + "line": 633, "column": 40 }, "end": { - "line": 621, + "line": 633, "column": 54 }, "identifierName": "KeyboardLayout" @@ -31948,15 +32800,15 @@ }, "property": { "type": "Identifier", - "start": 20264, - "end": 20280, + "start": 20648, + "end": 20664, "loc": { "start": { - "line": 621, + "line": 633, "column": 55 }, "end": { - "line": 621, + "line": 633, "column": 71 }, "identifierName": "getDefaultLayout" @@ -31975,15 +32827,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 20291, - "end": 20343, + "start": 20675, + "end": 20727, "loc": { "start": { - "line": 623, + "line": 635, "column": 4 }, "end": { - "line": 625, + "line": 637, "column": 7 } } @@ -31992,44 +32844,44 @@ }, { "type": "VariableDeclaration", - "start": 20349, - "end": 20377, + "start": 20733, + "end": 20761, "loc": { "start": { - "line": 626, + "line": 638, "column": 4 }, "end": { - "line": 626, + "line": 638, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20353, - "end": 20376, + "start": 20737, + "end": 20760, "loc": { "start": { - "line": 626, + "line": 638, "column": 8 }, "end": { - "line": 626, + "line": 638, "column": 31 } }, "id": { "type": "Identifier", - "start": 20353, - "end": 20371, + "start": 20737, + "end": 20755, "loc": { "start": { - "line": 626, + "line": 638, "column": 8 }, "end": { - "line": 626, + "line": 638, "column": 26 }, "identifierName": "buttonThemesParsed" @@ -32039,15 +32891,15 @@ }, "init": { "type": "ObjectExpression", - "start": 20374, - "end": 20376, + "start": 20758, + "end": 20760, "loc": { "start": { - "line": 626, + "line": 638, "column": 29 }, "end": { - "line": 626, + "line": 638, "column": 31 } }, @@ -32061,15 +32913,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 20291, - "end": 20343, + "start": 20675, + "end": 20727, "loc": { "start": { - "line": 623, + "line": 635, "column": 4 }, "end": { - "line": 625, + "line": 637, "column": 7 } } @@ -32078,57 +32930,57 @@ }, { "type": "IfStatement", - "start": 20383, - "end": 21522, + "start": 20767, + "end": 21906, "loc": { "start": { - "line": 627, + "line": 639, "column": 4 }, "end": { - "line": 655, + "line": 667, "column": 5 } }, "test": { "type": "CallExpression", - "start": 20386, - "end": 20425, + "start": 20770, + "end": 20809, "loc": { "start": { - "line": 627, + "line": 639, "column": 7 }, "end": { - "line": 627, + "line": 639, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 20386, - "end": 20399, + "start": 20770, + "end": 20783, "loc": { "start": { - "line": 627, + "line": 639, "column": 7 }, "end": { - "line": 627, + "line": 639, "column": 20 } }, "object": { "type": "Identifier", - "start": 20386, - "end": 20391, + "start": 20770, + "end": 20775, "loc": { "start": { - "line": 627, + "line": 639, "column": 7 }, "end": { - "line": 627, + "line": 639, "column": 12 }, "identifierName": "Array" @@ -32137,15 +32989,15 @@ }, "property": { "type": "Identifier", - "start": 20392, - "end": 20399, + "start": 20776, + "end": 20783, "loc": { "start": { - "line": 627, + "line": 639, "column": 13 }, "end": { - "line": 627, + "line": 639, "column": 20 }, "identifierName": "isArray" @@ -32157,58 +33009,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 20400, - "end": 20424, + "start": 20784, + "end": 20808, "loc": { "start": { - "line": 627, + "line": 639, "column": 21 }, "end": { - "line": 627, + "line": 639, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 20400, - "end": 20412, + "start": 20784, + "end": 20796, "loc": { "start": { - "line": 627, + "line": 639, "column": 21 }, "end": { - "line": 627, + "line": 639, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 20400, - "end": 20404, + "start": 20784, + "end": 20788, "loc": { "start": { - "line": 627, + "line": 639, "column": 21 }, "end": { - "line": 627, + "line": 639, "column": 25 } } }, "property": { "type": "Identifier", - "start": 20405, - "end": 20412, + "start": 20789, + "end": 20796, "loc": { "start": { - "line": 627, + "line": 639, "column": 26 }, "end": { - "line": 627, + "line": 639, "column": 33 }, "identifierName": "options" @@ -32219,15 +33071,15 @@ }, "property": { "type": "Identifier", - "start": 20413, - "end": 20424, + "start": 20797, + "end": 20808, "loc": { "start": { - "line": 627, + "line": 639, "column": 34 }, "end": { - "line": 627, + "line": 639, "column": 45 }, "identifierName": "buttonTheme" @@ -32240,115 +33092,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 20426, - "end": 21522, + "start": 20810, + "end": 21906, "loc": { "start": { - "line": 627, + "line": 639, "column": 47 }, "end": { - "line": 655, + "line": 667, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 20435, - "end": 21515, + "start": 20819, + "end": 21899, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 654, + "line": 666, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 20435, - "end": 21514, + "start": 20819, + "end": 21898, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 654, + "line": 666, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 20435, - "end": 20467, + "start": 20819, + "end": 20851, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20435, - "end": 20459, + "start": 20819, + "end": 20843, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 20435, - "end": 20447, + "start": 20819, + "end": 20831, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 20435, - "end": 20439, + "start": 20819, + "end": 20823, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 10 } } }, "property": { "type": "Identifier", - "start": 20440, - "end": 20447, + "start": 20824, + "end": 20831, "loc": { "start": { - "line": 628, + "line": 640, "column": 11 }, "end": { - "line": 628, + "line": 640, "column": 18 }, "identifierName": "options" @@ -32359,15 +33211,15 @@ }, "property": { "type": "Identifier", - "start": 20448, - "end": 20459, + "start": 20832, + "end": 20843, "loc": { "start": { - "line": 628, + "line": 640, "column": 19 }, "end": { - "line": 628, + "line": 640, "column": 30 }, "identifierName": "buttonTheme" @@ -32378,15 +33230,15 @@ }, "property": { "type": "Identifier", - "start": 20460, - "end": 20467, + "start": 20844, + "end": 20851, "loc": { "start": { - "line": 628, + "line": 640, "column": 31 }, "end": { - "line": 628, + "line": 640, "column": 38 }, "identifierName": "forEach" @@ -32398,15 +33250,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 20468, - "end": 21513, + "start": 20852, + "end": 21897, "loc": { "start": { - "line": 628, + "line": 640, "column": 39 }, "end": { - "line": 654, + "line": 666, "column": 7 } }, @@ -32417,15 +33269,15 @@ "params": [ { "type": "Identifier", - "start": 20468, - "end": 20476, + "start": 20852, + "end": 20860, "loc": { "start": { - "line": 628, + "line": 640, "column": 39 }, "end": { - "line": 628, + "line": 640, "column": 47 }, "identifierName": "themeObj" @@ -32435,72 +33287,72 @@ ], "body": { "type": "BlockStatement", - "start": 20480, - "end": 21513, + "start": 20864, + "end": 21897, "loc": { "start": { - "line": 628, + "line": 640, "column": 51 }, "end": { - "line": 654, + "line": 666, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 20491, - "end": 21504, + "start": 20875, + "end": 21888, "loc": { "start": { - "line": 629, + "line": 641, "column": 8 }, "end": { - "line": 653, + "line": 665, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 20494, - "end": 20528, + "start": 20878, + "end": 20912, "loc": { "start": { - "line": 629, + "line": 641, "column": 11 }, "end": { - "line": 629, + "line": 641, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 20494, - "end": 20510, + "start": 20878, + "end": 20894, "loc": { "start": { - "line": 629, + "line": 641, "column": 11 }, "end": { - "line": 629, + "line": 641, "column": 27 } }, "object": { "type": "Identifier", - "start": 20494, - "end": 20502, + "start": 20878, + "end": 20886, "loc": { "start": { - "line": 629, + "line": 641, "column": 11 }, "end": { - "line": 629, + "line": 641, "column": 19 }, "identifierName": "themeObj" @@ -32509,15 +33361,15 @@ }, "property": { "type": "Identifier", - "start": 20503, - "end": 20510, + "start": 20887, + "end": 20894, "loc": { "start": { - "line": 629, + "line": 641, "column": 20 }, "end": { - "line": 629, + "line": 641, "column": 27 }, "identifierName": "buttons" @@ -32529,29 +33381,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 20514, - "end": 20528, + "start": 20898, + "end": 20912, "loc": { "start": { - "line": 629, + "line": 641, "column": 31 }, "end": { - "line": 629, + "line": 641, "column": 45 } }, "object": { "type": "Identifier", - "start": 20514, - "end": 20522, + "start": 20898, + "end": 20906, "loc": { "start": { - "line": 629, + "line": 641, "column": 31 }, "end": { - "line": 629, + "line": 641, "column": 39 }, "identifierName": "themeObj" @@ -32560,15 +33412,15 @@ }, "property": { "type": "Identifier", - "start": 20523, - "end": 20528, + "start": 20907, + "end": 20912, "loc": { "start": { - "line": 629, + "line": 641, "column": 40 }, "end": { - "line": 629, + "line": 641, "column": 45 }, "identifierName": "class" @@ -32580,59 +33432,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 20529, - "end": 21370, + "start": 20913, + "end": 21754, "loc": { "start": { - "line": 629, + "line": 641, "column": 46 }, "end": { - "line": 651, + "line": 663, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 20542, - "end": 20559, + "start": 20926, + "end": 20943, "loc": { "start": { - "line": 630, + "line": 642, "column": 10 }, "end": { - "line": 630, + "line": 642, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20546, - "end": 20558, + "start": 20930, + "end": 20942, "loc": { "start": { - "line": 630, + "line": 642, "column": 14 }, "end": { - "line": 630, + "line": 642, "column": 26 } }, "id": { "type": "Identifier", - "start": 20546, - "end": 20558, + "start": 20930, + "end": 20942, "loc": { "start": { - "line": 630, + "line": 642, "column": 14 }, "end": { - "line": 630, + "line": 642, "column": 26 }, "identifierName": "themeButtons" @@ -32646,43 +33498,43 @@ }, { "type": "IfStatement", - "start": 20573, - "end": 20684, + "start": 20957, + "end": 21068, "loc": { "start": { - "line": 632, + "line": 644, "column": 10 }, "end": { - "line": 634, + "line": 646, "column": 11 } }, "test": { "type": "BinaryExpression", - "start": 20576, - "end": 20612, + "start": 20960, + "end": 20996, "loc": { "start": { - "line": 632, + "line": 644, "column": 13 }, "end": { - "line": 632, + "line": 644, "column": 49 } }, "left": { "type": "UnaryExpression", - "start": 20576, - "end": 20599, + "start": 20960, + "end": 20983, "loc": { "start": { - "line": 632, + "line": 644, "column": 13 }, "end": { - "line": 632, + "line": 644, "column": 36 } }, @@ -32690,29 +33542,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 20583, - "end": 20599, + "start": 20967, + "end": 20983, "loc": { "start": { - "line": 632, + "line": 644, "column": 20 }, "end": { - "line": 632, + "line": 644, "column": 36 } }, "object": { "type": "Identifier", - "start": 20583, - "end": 20591, + "start": 20967, + "end": 20975, "loc": { "start": { - "line": 632, + "line": 644, "column": 20 }, "end": { - "line": 632, + "line": 644, "column": 28 }, "identifierName": "themeObj" @@ -32721,15 +33573,15 @@ }, "property": { "type": "Identifier", - "start": 20592, - "end": 20599, + "start": 20976, + "end": 20983, "loc": { "start": { - "line": 632, + "line": 644, "column": 29 }, "end": { - "line": 632, + "line": 644, "column": 36 }, "identifierName": "buttons" @@ -32745,15 +33597,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 20604, - "end": 20612, + "start": 20988, + "end": 20996, "loc": { "start": { - "line": 632, + "line": 644, "column": 41 }, "end": { - "line": 632, + "line": 644, "column": 49 } }, @@ -32766,59 +33618,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 20613, - "end": 20684, + "start": 20997, + "end": 21068, "loc": { "start": { - "line": 632, + "line": 644, "column": 50 }, "end": { - "line": 634, + "line": 646, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 20628, - "end": 20671, + "start": 21012, + "end": 21055, "loc": { "start": { - "line": 633, + "line": 645, "column": 12 }, "end": { - "line": 633, + "line": 645, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 20628, - "end": 20670, + "start": 21012, + "end": 21054, "loc": { "start": { - "line": 633, + "line": 645, "column": 12 }, "end": { - "line": 633, + "line": 645, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 20628, - "end": 20640, + "start": 21012, + "end": 21024, "loc": { "start": { - "line": 633, + "line": 645, "column": 12 }, "end": { - "line": 633, + "line": 645, "column": 24 }, "identifierName": "themeButtons" @@ -32827,57 +33679,57 @@ }, "right": { "type": "CallExpression", - "start": 20643, - "end": 20670, + "start": 21027, + "end": 21054, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 20643, - "end": 20665, + "start": 21027, + "end": 21049, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20643, - "end": 20659, + "start": 21027, + "end": 21043, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 43 } }, "object": { "type": "Identifier", - "start": 20643, - "end": 20651, + "start": 21027, + "end": 21035, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 35 }, "identifierName": "themeObj" @@ -32886,15 +33738,15 @@ }, "property": { "type": "Identifier", - "start": 20652, - "end": 20659, + "start": 21036, + "end": 21043, "loc": { "start": { - "line": 633, + "line": 645, "column": 36 }, "end": { - "line": 633, + "line": 645, "column": 43 }, "identifierName": "buttons" @@ -32905,15 +33757,15 @@ }, "property": { "type": "Identifier", - "start": 20660, - "end": 20665, + "start": 21044, + "end": 21049, "loc": { "start": { - "line": 633, + "line": 645, "column": 44 }, "end": { - "line": 633, + "line": 645, "column": 49 }, "identifierName": "split" @@ -32925,15 +33777,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20666, - "end": 20669, + "start": 21050, + "end": 21053, "loc": { "start": { - "line": 633, + "line": 645, "column": 50 }, "end": { - "line": 633, + "line": 645, "column": 53 } }, @@ -32954,29 +33806,29 @@ }, { "type": "IfStatement", - "start": 20698, - "end": 21359, + "start": 21082, + "end": 21743, "loc": { "start": { - "line": 636, + "line": 648, "column": 10 }, "end": { - "line": 650, + "line": 662, "column": 11 } }, "test": { "type": "Identifier", - "start": 20701, - "end": 20713, + "start": 21085, + "end": 21097, "loc": { "start": { - "line": 636, + "line": 648, "column": 13 }, "end": { - "line": 636, + "line": 648, "column": 25 }, "identifierName": "themeButtons" @@ -32985,72 +33837,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20714, - "end": 21359, + "start": 21098, + "end": 21743, "loc": { "start": { - "line": 636, + "line": 648, "column": 26 }, "end": { - "line": 650, + "line": 662, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 20729, - "end": 21346, + "start": 21113, + "end": 21730, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 649, + "line": 661, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 20729, - "end": 21345, + "start": 21113, + "end": 21729, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 649, + "line": 661, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 20729, - "end": 20749, + "start": 21113, + "end": 21133, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 637, + "line": 649, "column": 32 } }, "object": { "type": "Identifier", - "start": 20729, - "end": 20741, + "start": 21113, + "end": 21125, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 637, + "line": 649, "column": 24 }, "identifierName": "themeButtons" @@ -33059,15 +33911,15 @@ }, "property": { "type": "Identifier", - "start": 20742, - "end": 20749, + "start": 21126, + "end": 21133, "loc": { "start": { - "line": 637, + "line": 649, "column": 25 }, "end": { - "line": 637, + "line": 649, "column": 32 }, "identifierName": "forEach" @@ -33079,15 +33931,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 20750, - "end": 21344, + "start": 21134, + "end": 21728, "loc": { "start": { - "line": 637, + "line": 649, "column": 33 }, "end": { - "line": 649, + "line": 661, "column": 13 } }, @@ -33098,15 +33950,15 @@ "params": [ { "type": "Identifier", - "start": 20750, - "end": 20761, + "start": 21134, + "end": 21145, "loc": { "start": { - "line": 637, + "line": 649, "column": 33 }, "end": { - "line": 637, + "line": 649, "column": 44 }, "identifierName": "themeButton" @@ -33116,59 +33968,59 @@ ], "body": { "type": "BlockStatement", - "start": 20765, - "end": 21344, + "start": 21149, + "end": 21728, "loc": { "start": { - "line": 637, + "line": 649, "column": 48 }, "end": { - "line": 649, + "line": 661, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 20782, - "end": 20832, + "start": 21166, + "end": 21216, "loc": { "start": { - "line": 638, + "line": 650, "column": 14 }, "end": { - "line": 638, + "line": 650, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20786, - "end": 20831, + "start": 21170, + "end": 21215, "loc": { "start": { - "line": 638, + "line": 650, "column": 18 }, "end": { - "line": 638, + "line": 650, "column": 63 } }, "id": { "type": "Identifier", - "start": 20786, - "end": 20797, + "start": 21170, + "end": 21181, "loc": { "start": { - "line": 638, + "line": 650, "column": 18 }, "end": { - "line": 638, + "line": 650, "column": 29 }, "identifierName": "themeParsed" @@ -33177,29 +34029,29 @@ }, "init": { "type": "MemberExpression", - "start": 20800, - "end": 20831, + "start": 21184, + "end": 21215, "loc": { "start": { - "line": 638, + "line": 650, "column": 32 }, "end": { - "line": 638, + "line": 650, "column": 63 } }, "object": { "type": "Identifier", - "start": 20800, - "end": 20818, + "start": 21184, + "end": 21202, "loc": { "start": { - "line": 638, + "line": 650, "column": 32 }, "end": { - "line": 638, + "line": 650, "column": 50 }, "identifierName": "buttonThemesParsed" @@ -33208,15 +34060,15 @@ }, "property": { "type": "Identifier", - "start": 20819, - "end": 20830, + "start": 21203, + "end": 21214, "loc": { "start": { - "line": 638, + "line": 650, "column": 51 }, "end": { - "line": 638, + "line": 650, "column": 62 }, "identifierName": "themeButton" @@ -33232,15 +34084,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 20850, - "end": 20889, + "start": 21234, + "end": 21273, "loc": { "start": { - "line": 640, + "line": 652, "column": 14 }, "end": { - "line": 640, + "line": 652, "column": 53 } } @@ -33249,29 +34101,29 @@ }, { "type": "IfStatement", - "start": 20905, - "end": 21329, + "start": 21289, + "end": 21713, "loc": { "start": { - "line": 641, + "line": 653, "column": 14 }, "end": { - "line": 648, + "line": 660, "column": 15 } }, "test": { "type": "Identifier", - "start": 20908, - "end": 20919, + "start": 21292, + "end": 21303, "loc": { "start": { - "line": 641, + "line": 653, "column": 17 }, "end": { - "line": 641, + "line": 653, "column": 28 }, "identifierName": "themeParsed" @@ -33281,44 +34133,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 20920, - "end": 21238, + "start": 21304, + "end": 21622, "loc": { "start": { - "line": 641, + "line": 653, "column": 29 }, "end": { - "line": 646, + "line": 658, "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 21040, - "end": 21221, + "start": 21424, + "end": 21605, "loc": { "start": { - "line": 643, + "line": 655, "column": 16 }, "end": { - "line": 645, + "line": 657, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 21043, - "end": 21111, + "start": 21427, + "end": 21495, "loc": { "start": { - "line": 643, + "line": 655, "column": 19 }, "end": { - "line": 643, + "line": 655, "column": 87 } }, @@ -33326,57 +34178,57 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 21044, - "end": 21111, + "start": 21428, + "end": 21495, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 87 } }, "callee": { "type": "MemberExpression", - "start": 21044, - "end": 21071, + "start": 21428, + "end": 21455, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 21044, - "end": 21058, + "start": 21428, + "end": 21442, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 21044, - "end": 21048, + "start": 21428, + "end": 21432, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 24 } }, @@ -33384,15 +34236,15 @@ }, "property": { "type": "Identifier", - "start": 21049, - "end": 21058, + "start": 21433, + "end": 21442, "loc": { "start": { - "line": 643, + "line": 655, "column": 25 }, "end": { - "line": 643, + "line": 655, "column": 34 }, "identifierName": "utilities" @@ -33404,15 +34256,15 @@ }, "property": { "type": "Identifier", - "start": 21059, - "end": 21071, + "start": 21443, + "end": 21455, "loc": { "start": { - "line": 643, + "line": 655, "column": 35 }, "end": { - "line": 643, + "line": 655, "column": 47 }, "identifierName": "countInArray" @@ -33425,43 +34277,43 @@ "arguments": [ { "type": "CallExpression", - "start": 21072, - "end": 21094, + "start": 21456, + "end": 21478, "loc": { "start": { - "line": 643, + "line": 655, "column": 48 }, "end": { - "line": 643, + "line": 655, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 21072, - "end": 21089, + "start": 21456, + "end": 21473, "loc": { "start": { - "line": 643, + "line": 655, "column": 48 }, "end": { - "line": 643, + "line": 655, "column": 65 } }, "object": { "type": "Identifier", - "start": 21072, - "end": 21083, + "start": 21456, + "end": 21467, "loc": { "start": { - "line": 643, + "line": 655, "column": 48 }, "end": { - "line": 643, + "line": 655, "column": 59 }, "identifierName": "themeParsed" @@ -33470,15 +34322,15 @@ }, "property": { "type": "Identifier", - "start": 21084, - "end": 21089, + "start": 21468, + "end": 21473, "loc": { "start": { - "line": 643, + "line": 655, "column": 60 }, "end": { - "line": 643, + "line": 655, "column": 65 }, "identifierName": "split" @@ -33490,15 +34342,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21090, - "end": 21093, + "start": 21474, + "end": 21477, "loc": { "start": { - "line": 643, + "line": 655, "column": 66 }, "end": { - "line": 643, + "line": 655, "column": 69 } }, @@ -33512,29 +34364,29 @@ }, { "type": "MemberExpression", - "start": 21096, - "end": 21110, + "start": 21480, + "end": 21494, "loc": { "start": { - "line": 643, + "line": 655, "column": 72 }, "end": { - "line": 643, + "line": 655, "column": 86 } }, "object": { "type": "Identifier", - "start": 21096, - "end": 21104, + "start": 21480, + "end": 21488, "loc": { "start": { - "line": 643, + "line": 655, "column": 72 }, "end": { - "line": 643, + "line": 655, "column": 80 }, "identifierName": "themeObj" @@ -33543,15 +34395,15 @@ }, "property": { "type": "Identifier", - "start": 21105, - "end": 21110, + "start": 21489, + "end": 21494, "loc": { "start": { - "line": 643, + "line": 655, "column": 81 }, "end": { - "line": 643, + "line": 655, "column": 86 }, "identifierName": "class" @@ -33570,73 +34422,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 21112, - "end": 21221, + "start": 21496, + "end": 21605, "loc": { "start": { - "line": 643, + "line": 655, "column": 88 }, "end": { - "line": 645, + "line": 657, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 21133, - "end": 21202, + "start": 21517, + "end": 21586, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 87 } }, "expression": { "type": "AssignmentExpression", - "start": 21133, - "end": 21201, + "start": 21517, + "end": 21585, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21133, - "end": 21164, + "start": 21517, + "end": 21548, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 49 } }, "object": { "type": "Identifier", - "start": 21133, - "end": 21151, + "start": 21517, + "end": 21535, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 36 }, "identifierName": "buttonThemesParsed" @@ -33645,15 +34497,15 @@ }, "property": { "type": "Identifier", - "start": 21152, - "end": 21163, + "start": 21536, + "end": 21547, "loc": { "start": { - "line": 644, + "line": 656, "column": 37 }, "end": { - "line": 644, + "line": 656, "column": 48 }, "identifierName": "themeButton" @@ -33664,30 +34516,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 21167, - "end": 21201, + "start": 21551, + "end": 21585, "loc": { "start": { - "line": 644, + "line": 656, "column": 52 }, "end": { - "line": 644, + "line": 656, "column": 86 } }, "expressions": [ { "type": "Identifier", - "start": 21170, - "end": 21181, + "start": 21554, + "end": 21565, "loc": { "start": { - "line": 644, + "line": 656, "column": 55 }, "end": { - "line": 644, + "line": 656, "column": 66 }, "identifierName": "themeParsed" @@ -33696,29 +34548,29 @@ }, { "type": "MemberExpression", - "start": 21185, - "end": 21199, + "start": 21569, + "end": 21583, "loc": { "start": { - "line": 644, + "line": 656, "column": 70 }, "end": { - "line": 644, + "line": 656, "column": 84 } }, "object": { "type": "Identifier", - "start": 21185, - "end": 21193, + "start": 21569, + "end": 21577, "loc": { "start": { - "line": 644, + "line": 656, "column": 70 }, "end": { - "line": 644, + "line": 656, "column": 78 }, "identifierName": "themeObj" @@ -33727,15 +34579,15 @@ }, "property": { "type": "Identifier", - "start": 21194, - "end": 21199, + "start": 21578, + "end": 21583, "loc": { "start": { - "line": 644, + "line": 656, "column": 79 }, "end": { - "line": 644, + "line": 656, "column": 84 }, "identifierName": "class" @@ -33748,15 +34600,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 21168, - "end": 21168, + "start": 21552, + "end": 21552, "loc": { "start": { - "line": 644, + "line": 656, "column": 53 }, "end": { - "line": 644, + "line": 656, "column": 53 } }, @@ -33768,15 +34620,15 @@ }, { "type": "TemplateElement", - "start": 21182, - "end": 21183, + "start": 21566, + "end": 21567, "loc": { "start": { - "line": 644, + "line": 656, "column": 67 }, "end": { - "line": 644, + "line": 656, "column": 68 } }, @@ -33788,15 +34640,15 @@ }, { "type": "TemplateElement", - "start": 21200, - "end": 21200, + "start": 21584, + "end": 21584, "loc": { "start": { - "line": 644, + "line": 656, "column": 85 }, "end": { - "line": 644, + "line": 656, "column": 85 } }, @@ -33818,15 +34670,15 @@ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 20939, - "end": 21022, + "start": 21323, + "end": 21406, "loc": { "start": { - "line": 642, + "line": 654, "column": 16 }, "end": { - "line": 642, + "line": 654, "column": 99 } } @@ -33838,73 +34690,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 21244, - "end": 21329, + "start": 21628, + "end": 21713, "loc": { "start": { - "line": 646, + "line": 658, "column": 21 }, "end": { - "line": 648, + "line": 660, "column": 15 } }, "body": [ { "type": "ExpressionStatement", - "start": 21263, - "end": 21312, + "start": 21647, + "end": 21696, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 21263, - "end": 21311, + "start": 21647, + "end": 21695, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21263, - "end": 21294, + "start": 21647, + "end": 21678, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 47 } }, "object": { "type": "Identifier", - "start": 21263, - "end": 21281, + "start": 21647, + "end": 21665, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 34 }, "identifierName": "buttonThemesParsed" @@ -33913,15 +34765,15 @@ }, "property": { "type": "Identifier", - "start": 21282, - "end": 21293, + "start": 21666, + "end": 21677, "loc": { "start": { - "line": 647, + "line": 659, "column": 35 }, "end": { - "line": 647, + "line": 659, "column": 46 }, "identifierName": "themeButton" @@ -33932,29 +34784,29 @@ }, "right": { "type": "MemberExpression", - "start": 21297, - "end": 21311, + "start": 21681, + "end": 21695, "loc": { "start": { - "line": 647, + "line": 659, "column": 50 }, "end": { - "line": 647, + "line": 659, "column": 64 } }, "object": { "type": "Identifier", - "start": 21297, - "end": 21305, + "start": 21681, + "end": 21689, "loc": { "start": { - "line": 647, + "line": 659, "column": 50 }, "end": { - "line": 647, + "line": 659, "column": 58 }, "identifierName": "themeObj" @@ -33963,15 +34815,15 @@ }, "property": { "type": "Identifier", - "start": 21306, - "end": 21311, + "start": 21690, + "end": 21695, "loc": { "start": { - "line": 647, + "line": 659, "column": 59 }, "end": { - "line": 647, + "line": 659, "column": 64 }, "identifierName": "class" @@ -33989,15 +34841,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 20850, - "end": 20889, + "start": 21234, + "end": 21273, "loc": { "start": { - "line": 640, + "line": 652, "column": 14 }, "end": { - "line": 640, + "line": 652, "column": 53 } } @@ -34021,72 +34873,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 21376, - "end": 21504, + "start": 21760, + "end": 21888, "loc": { "start": { - "line": 651, + "line": 663, "column": 15 }, "end": { - "line": 653, + "line": 665, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21389, - "end": 21493, + "start": 21773, + "end": 21877, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 114 } }, "expression": { "type": "CallExpression", - "start": 21389, - "end": 21493, + "start": 21773, + "end": 21877, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 114 } }, "callee": { "type": "MemberExpression", - "start": 21389, - "end": 21401, + "start": 21773, + "end": 21785, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 22 } }, "object": { "type": "Identifier", - "start": 21389, - "end": 21396, + "start": 21773, + "end": 21780, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 17 }, "identifierName": "console" @@ -34095,15 +34947,15 @@ }, "property": { "type": "Identifier", - "start": 21397, - "end": 21401, + "start": 21781, + "end": 21785, "loc": { "start": { - "line": 652, + "line": 664, "column": 18 }, "end": { - "line": 652, + "line": 664, "column": 22 }, "identifierName": "warn" @@ -34115,15 +34967,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 21402, - "end": 21492, + "start": 21786, + "end": 21876, "loc": { "start": { - "line": 652, + "line": 664, "column": 23 }, "end": { - "line": 652, + "line": 664, "column": 113 } }, @@ -34131,15 +34983,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 21403, - "end": 21491, + "start": 21787, + "end": 21875, "loc": { "start": { - "line": 652, + "line": 664, "column": 24 }, "end": { - "line": 652, + "line": 664, "column": 112 } }, @@ -34174,15 +35026,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 21530, - "end": 21596, + "start": 21914, + "end": 21980, "loc": { "start": { - "line": 657, + "line": 669, "column": 4 }, "end": { - "line": 659, + "line": 671, "column": 7 } } @@ -34191,72 +35043,72 @@ }, { "type": "ExpressionStatement", - "start": 21602, - "end": 21702, + "start": 21986, + "end": 22086, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 104 } }, "expression": { "type": "AssignmentExpression", - "start": 21602, - "end": 21701, + "start": 21986, + "end": 22085, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 21602, - "end": 21628, + "start": 21986, + "end": 22012, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 21602, - "end": 21618, + "start": 21986, + "end": 22002, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 21602, - "end": 21606, + "start": 21986, + "end": 21990, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 8 } }, @@ -34264,15 +35116,15 @@ }, "property": { "type": "Identifier", - "start": 21607, - "end": 21618, + "start": 21991, + "end": 22002, "loc": { "start": { - "line": 660, + "line": 672, "column": 9 }, "end": { - "line": 660, + "line": 672, "column": 20 }, "identifierName": "keyboardDOM" @@ -34284,15 +35136,15 @@ }, "property": { "type": "Identifier", - "start": 21619, - "end": 21628, + "start": 22003, + "end": 22012, "loc": { "start": { - "line": 660, + "line": 672, "column": 21 }, "end": { - "line": 660, + "line": 672, "column": 30 }, "identifierName": "className" @@ -34304,73 +35156,73 @@ }, "right": { "type": "TemplateLiteral", - "start": 21632, - "end": 21701, + "start": 22016, + "end": 22085, "loc": { "start": { - "line": 660, + "line": 672, "column": 34 }, "end": { - "line": 660, + "line": 672, "column": 103 } }, "expressions": [ { "type": "MemberExpression", - "start": 21636, - "end": 21654, + "start": 22020, + "end": 22038, "loc": { "start": { - "line": 660, + "line": 672, "column": 38 }, "end": { - "line": 660, + "line": 672, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 21636, - "end": 21648, + "start": 22020, + "end": 22032, "loc": { "start": { - "line": 660, + "line": 672, "column": 38 }, "end": { - "line": 660, + "line": 672, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 21636, - "end": 21640, + "start": 22020, + "end": 22024, "loc": { "start": { - "line": 660, + "line": 672, "column": 38 }, "end": { - "line": 660, + "line": 672, "column": 42 } } }, "property": { "type": "Identifier", - "start": 21641, - "end": 21648, + "start": 22025, + "end": 22032, "loc": { "start": { - "line": 660, + "line": 672, "column": 43 }, "end": { - "line": 660, + "line": 672, "column": 50 }, "identifierName": "options" @@ -34381,15 +35233,15 @@ }, "property": { "type": "Identifier", - "start": 21649, - "end": 21654, + "start": 22033, + "end": 22038, "loc": { "start": { - "line": 660, + "line": 672, "column": 51 }, "end": { - "line": 660, + "line": 672, "column": 56 }, "identifierName": "theme" @@ -34400,15 +35252,15 @@ }, { "type": "Identifier", - "start": 21658, - "end": 21669, + "start": 22042, + "end": 22053, "loc": { "start": { - "line": 660, + "line": 672, "column": 60 }, "end": { - "line": 660, + "line": 672, "column": 71 }, "identifierName": "layoutClass" @@ -34417,44 +35269,44 @@ }, { "type": "MemberExpression", - "start": 21673, - "end": 21699, + "start": 22057, + "end": 22083, "loc": { "start": { - "line": 660, + "line": 672, "column": 75 }, "end": { - "line": 660, + "line": 672, "column": 101 } }, "object": { "type": "ThisExpression", - "start": 21673, - "end": 21677, + "start": 22057, + "end": 22061, "loc": { "start": { - "line": 660, + "line": 672, "column": 75 }, "end": { - "line": 660, + "line": 672, "column": 79 } } }, "property": { "type": "Identifier", - "start": 21678, - "end": 21699, + "start": 22062, + "end": 22083, "loc": { "start": { - "line": 660, + "line": 672, "column": 80 }, "end": { - "line": 660, + "line": 672, "column": 101 }, "identifierName": "keyboardPluginClasses" @@ -34467,15 +35319,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 21633, - "end": 21634, + "start": 22017, + "end": 22018, "loc": { "start": { - "line": 660, + "line": 672, "column": 35 }, "end": { - "line": 660, + "line": 672, "column": 36 } }, @@ -34487,15 +35339,15 @@ }, { "type": "TemplateElement", - "start": 21655, - "end": 21656, + "start": 22039, + "end": 22040, "loc": { "start": { - "line": 660, + "line": 672, "column": 57 }, "end": { - "line": 660, + "line": 672, "column": 58 } }, @@ -34507,15 +35359,15 @@ }, { "type": "TemplateElement", - "start": 21670, - "end": 21671, + "start": 22054, + "end": 22055, "loc": { "start": { - "line": 660, + "line": 672, "column": 72 }, "end": { - "line": 660, + "line": 672, "column": 73 } }, @@ -34527,15 +35379,15 @@ }, { "type": "TemplateElement", - "start": 21700, - "end": 21700, + "start": 22084, + "end": 22084, "loc": { "start": { - "line": 660, + "line": 672, "column": 102 }, "end": { - "line": 660, + "line": 672, "column": 102 } }, @@ -34553,15 +35405,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 21530, - "end": 21596, + "start": 21914, + "end": 21980, "loc": { "start": { - "line": 657, + "line": 669, "column": 4 }, "end": { - "line": 659, + "line": 671, "column": 7 } } @@ -34571,15 +35423,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 21710, - "end": 21757, + "start": 22094, + "end": 22141, "loc": { "start": { - "line": 662, + "line": 674, "column": 4 }, "end": { - "line": 664, + "line": 676, "column": 7 } } @@ -34588,71 +35440,71 @@ }, { "type": "ExpressionStatement", - "start": 21763, - "end": 23959, + "start": 22147, + "end": 24404, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 733, + "line": 748, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 21763, - "end": 23958, + "start": 22147, + "end": 24403, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 733, + "line": 748, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 21763, - "end": 21802, + "start": 22147, + "end": 22186, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 665, + "line": 677, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 21763, - "end": 21794, + "start": 22147, + "end": 22178, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 665, + "line": 677, "column": 35 } }, "object": { "type": "Identifier", - "start": 21763, - "end": 21769, + "start": 22147, + "end": 22153, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 665, + "line": 677, "column": 10 }, "identifierName": "layout" @@ -34662,58 +35514,58 @@ }, "property": { "type": "MemberExpression", - "start": 21770, - "end": 21793, + "start": 22154, + "end": 22177, "loc": { "start": { - "line": 665, + "line": 677, "column": 11 }, "end": { - "line": 665, + "line": 677, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 21770, - "end": 21782, + "start": 22154, + "end": 22166, "loc": { "start": { - "line": 665, + "line": 677, "column": 11 }, "end": { - "line": 665, + "line": 677, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21770, - "end": 21774, + "start": 22154, + "end": 22158, "loc": { "start": { - "line": 665, + "line": 677, "column": 11 }, "end": { - "line": 665, + "line": 677, "column": 15 } } }, "property": { "type": "Identifier", - "start": 21775, - "end": 21782, + "start": 22159, + "end": 22166, "loc": { "start": { - "line": 665, + "line": 677, "column": 16 }, "end": { - "line": 665, + "line": 677, "column": 23 }, "identifierName": "options" @@ -34724,15 +35576,15 @@ }, "property": { "type": "Identifier", - "start": 21783, - "end": 21793, + "start": 22167, + "end": 22177, "loc": { "start": { - "line": 665, + "line": 677, "column": 24 }, "end": { - "line": 665, + "line": 677, "column": 34 }, "identifierName": "layoutName" @@ -34746,15 +35598,15 @@ }, "property": { "type": "Identifier", - "start": 21795, - "end": 21802, + "start": 22179, + "end": 22186, "loc": { "start": { - "line": 665, + "line": 677, "column": 36 }, "end": { - "line": 665, + "line": 677, "column": 43 }, "identifierName": "forEach" @@ -34767,15 +35619,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 21803, - "end": 23957, + "start": 22187, + "end": 24402, "loc": { "start": { - "line": 665, + "line": 677, "column": 44 }, "end": { - "line": 733, + "line": 748, "column": 5 } }, @@ -34786,15 +35638,15 @@ "params": [ { "type": "Identifier", - "start": 21804, - "end": 21807, + "start": 22188, + "end": 22191, "loc": { "start": { - "line": 665, + "line": 677, "column": 45 }, "end": { - "line": 665, + "line": 677, "column": 48 }, "identifierName": "row" @@ -34803,15 +35655,15 @@ }, { "type": "Identifier", - "start": 21809, - "end": 21815, + "start": 22193, + "end": 22199, "loc": { "start": { - "line": 665, + "line": 677, "column": 50 }, "end": { - "line": 665, + "line": 677, "column": 56 }, "identifierName": "rIndex" @@ -34821,59 +35673,59 @@ ], "body": { "type": "BlockStatement", - "start": 21820, - "end": 23957, + "start": 22204, + "end": 24402, "loc": { "start": { - "line": 665, + "line": 677, "column": 61 }, "end": { - "line": 733, + "line": 748, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 21829, - "end": 21859, + "start": 22213, + "end": 22243, "loc": { "start": { - "line": 666, + "line": 678, "column": 6 }, "end": { - "line": 666, + "line": 678, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 21833, - "end": 21858, + "start": 22217, + "end": 22242, "loc": { "start": { - "line": 666, + "line": 678, "column": 10 }, "end": { - "line": 666, + "line": 678, "column": 35 } }, "id": { "type": "Identifier", - "start": 21833, - "end": 21841, + "start": 22217, + "end": 22225, "loc": { "start": { - "line": 666, + "line": 678, "column": 10 }, "end": { - "line": 666, + "line": 678, "column": 18 }, "identifierName": "rowArray" @@ -34882,43 +35734,43 @@ }, "init": { "type": "CallExpression", - "start": 21844, - "end": 21858, + "start": 22228, + "end": 22242, "loc": { "start": { - "line": 666, + "line": 678, "column": 21 }, "end": { - "line": 666, + "line": 678, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 21844, - "end": 21853, + "start": 22228, + "end": 22237, "loc": { "start": { - "line": 666, + "line": 678, "column": 21 }, "end": { - "line": 666, + "line": 678, "column": 30 } }, "object": { "type": "Identifier", - "start": 21844, - "end": 21847, + "start": 22228, + "end": 22231, "loc": { "start": { - "line": 666, + "line": 678, "column": 21 }, "end": { - "line": 666, + "line": 678, "column": 24 }, "identifierName": "row" @@ -34927,15 +35779,15 @@ }, "property": { "type": "Identifier", - "start": 21848, - "end": 21853, + "start": 22232, + "end": 22237, "loc": { "start": { - "line": 666, + "line": 678, "column": 25 }, "end": { - "line": 666, + "line": 678, "column": 30 }, "identifierName": "split" @@ -34947,15 +35799,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21854, - "end": 21857, + "start": 22238, + "end": 22241, "loc": { "start": { - "line": 666, + "line": 678, "column": 31 }, "end": { - "line": 666, + "line": 678, "column": 34 } }, @@ -34974,15 +35826,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 21869, - "end": 21912, + "start": 22253, + "end": 22296, "loc": { "start": { - "line": 668, + "line": 680, "column": 6 }, "end": { - "line": 670, + "line": 682, "column": 9 } } @@ -34991,44 +35843,44 @@ }, { "type": "VariableDeclaration", - "start": 21920, - "end": 21963, + "start": 22304, + "end": 22347, "loc": { "start": { - "line": 671, + "line": 683, "column": 6 }, "end": { - "line": 671, + "line": 683, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 21924, - "end": 21962, + "start": 22308, + "end": 22346, "loc": { "start": { - "line": 671, + "line": 683, "column": 10 }, "end": { - "line": 671, + "line": 683, "column": 48 } }, "id": { "type": "Identifier", - "start": 21924, - "end": 21930, + "start": 22308, + "end": 22314, "loc": { "start": { - "line": 671, + "line": 683, "column": 10 }, "end": { - "line": 671, + "line": 683, "column": 16 }, "identifierName": "rowDOM" @@ -35038,43 +35890,43 @@ }, "init": { "type": "CallExpression", - "start": 21933, - "end": 21962, + "start": 22317, + "end": 22346, "loc": { "start": { - "line": 671, + "line": 683, "column": 19 }, "end": { - "line": 671, + "line": 683, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 21933, - "end": 21955, + "start": 22317, + "end": 22339, "loc": { "start": { - "line": 671, + "line": 683, "column": 19 }, "end": { - "line": 671, + "line": 683, "column": 41 } }, "object": { "type": "Identifier", - "start": 21933, - "end": 21941, + "start": 22317, + "end": 22325, "loc": { "start": { - "line": 671, + "line": 683, "column": 19 }, "end": { - "line": 671, + "line": 683, "column": 27 }, "identifierName": "document" @@ -35083,15 +35935,15 @@ }, "property": { "type": "Identifier", - "start": 21942, - "end": 21955, + "start": 22326, + "end": 22339, "loc": { "start": { - "line": 671, + "line": 683, "column": 28 }, "end": { - "line": 671, + "line": 683, "column": 41 }, "identifierName": "createElement" @@ -35103,15 +35955,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21956, - "end": 21961, + "start": 22340, + "end": 22345, "loc": { "start": { - "line": 671, + "line": 683, "column": 42 }, "end": { - "line": 671, + "line": 683, "column": 47 } }, @@ -35131,15 +35983,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 21869, - "end": 21912, + "start": 22253, + "end": 22296, "loc": { "start": { - "line": 668, + "line": 680, "column": 6 }, "end": { - "line": 670, + "line": 682, "column": 9 } } @@ -35148,58 +36000,58 @@ }, { "type": "ExpressionStatement", - "start": 21971, - "end": 22000, + "start": 22355, + "end": 22384, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 21971, - "end": 21999, + "start": 22355, + "end": 22383, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 21971, - "end": 21987, + "start": 22355, + "end": 22371, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 22 } }, "object": { "type": "Identifier", - "start": 21971, - "end": 21977, + "start": 22355, + "end": 22361, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 12 }, "identifierName": "rowDOM" @@ -35208,15 +36060,15 @@ }, "property": { "type": "Identifier", - "start": 21978, - "end": 21987, + "start": 22362, + "end": 22371, "loc": { "start": { - "line": 672, + "line": 684, "column": 13 }, "end": { - "line": 672, + "line": 684, "column": 22 }, "identifierName": "className" @@ -35227,15 +36079,15 @@ }, "right": { "type": "StringLiteral", - "start": 21991, - "end": 21999, + "start": 22375, + "end": 22383, "loc": { "start": { - "line": 672, + "line": 684, "column": 26 }, "end": { - "line": 672, + "line": 684, "column": 34 } }, @@ -35250,15 +36102,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 22010, - "end": 22071, + "start": 22394, + "end": 22455, "loc": { "start": { - "line": 674, + "line": 686, "column": 6 }, "end": { - "line": 676, + "line": 688, "column": 9 } } @@ -35267,57 +36119,57 @@ }, { "type": "ExpressionStatement", - "start": 22079, - "end": 23845, + "start": 22463, + "end": 24290, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 727, + "line": 742, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 22079, - "end": 23844, + "start": 22463, + "end": 24289, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 727, + "line": 742, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 22079, - "end": 22095, + "start": 22463, + "end": 22479, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 677, + "line": 689, "column": 22 } }, "object": { "type": "Identifier", - "start": 22079, - "end": 22087, + "start": 22463, + "end": 22471, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 677, + "line": 689, "column": 14 }, "identifierName": "rowArray" @@ -35327,15 +36179,15 @@ }, "property": { "type": "Identifier", - "start": 22088, - "end": 22095, + "start": 22472, + "end": 22479, "loc": { "start": { - "line": 677, + "line": 689, "column": 15 }, "end": { - "line": 677, + "line": 689, "column": 22 }, "identifierName": "forEach" @@ -35348,15 +36200,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 22096, - "end": 23843, + "start": 22480, + "end": 24288, "loc": { "start": { - "line": 677, + "line": 689, "column": 23 }, "end": { - "line": 727, + "line": 742, "column": 7 } }, @@ -35367,15 +36219,15 @@ "params": [ { "type": "Identifier", - "start": 22097, - "end": 22103, + "start": 22481, + "end": 22487, "loc": { "start": { - "line": 677, + "line": 689, "column": 24 }, "end": { - "line": 677, + "line": 689, "column": 30 }, "identifierName": "button" @@ -35384,15 +36236,15 @@ }, { "type": "Identifier", - "start": 22105, - "end": 22111, + "start": 22489, + "end": 22495, "loc": { "start": { - "line": 677, + "line": 689, "column": 32 }, "end": { - "line": 677, + "line": 689, "column": 38 }, "identifierName": "bIndex" @@ -35402,59 +36254,59 @@ ], "body": { "type": "BlockStatement", - "start": 22116, - "end": 23843, + "start": 22500, + "end": 24288, "loc": { "start": { - "line": 677, + "line": 689, "column": 43 }, "end": { - "line": 727, + "line": 742, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 22127, - "end": 22183, + "start": 22511, + "end": 22567, "loc": { "start": { - "line": 678, + "line": 690, "column": 8 }, "end": { - "line": 678, + "line": 690, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22131, - "end": 22182, + "start": 22515, + "end": 22566, "loc": { "start": { - "line": 678, + "line": 690, "column": 12 }, "end": { - "line": 678, + "line": 690, "column": 63 } }, "id": { "type": "Identifier", - "start": 22131, - "end": 22142, + "start": 22515, + "end": 22526, "loc": { "start": { - "line": 678, + "line": 690, "column": 12 }, "end": { - "line": 678, + "line": 690, "column": 23 }, "identifierName": "fctBtnClass" @@ -35463,72 +36315,72 @@ }, "init": { "type": "CallExpression", - "start": 22145, - "end": 22182, + "start": 22529, + "end": 22566, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 22145, - "end": 22174, + "start": 22529, + "end": 22558, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 22145, - "end": 22159, + "start": 22529, + "end": 22543, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 22145, - "end": 22149, + "start": 22529, + "end": 22533, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 30 } } }, "property": { "type": "Identifier", - "start": 22150, - "end": 22159, + "start": 22534, + "end": 22543, "loc": { "start": { - "line": 678, + "line": 690, "column": 31 }, "end": { - "line": 678, + "line": 690, "column": 40 }, "identifierName": "utilities" @@ -35539,15 +36391,15 @@ }, "property": { "type": "Identifier", - "start": 22160, - "end": 22174, + "start": 22544, + "end": 22558, "loc": { "start": { - "line": 678, + "line": 690, "column": 41 }, "end": { - "line": 678, + "line": 690, "column": 55 }, "identifierName": "getButtonClass" @@ -35559,15 +36411,15 @@ "arguments": [ { "type": "Identifier", - "start": 22175, - "end": 22181, + "start": 22559, + "end": 22565, "loc": { "start": { - "line": 678, + "line": 690, "column": 56 }, "end": { - "line": 678, + "line": 690, "column": 62 }, "identifierName": "button" @@ -35582,44 +36434,44 @@ }, { "type": "VariableDeclaration", - "start": 22193, - "end": 22243, + "start": 22577, + "end": 22627, "loc": { "start": { - "line": 679, + "line": 691, "column": 8 }, "end": { - "line": 679, + "line": 691, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22197, - "end": 22242, + "start": 22581, + "end": 22626, "loc": { "start": { - "line": 679, + "line": 691, "column": 12 }, "end": { - "line": 679, + "line": 691, "column": 57 } }, "id": { "type": "Identifier", - "start": 22197, - "end": 22213, + "start": 22581, + "end": 22597, "loc": { "start": { - "line": 679, + "line": 691, "column": 12 }, "end": { - "line": 679, + "line": 691, "column": 28 }, "identifierName": "buttonThemeClass" @@ -35628,29 +36480,29 @@ }, "init": { "type": "MemberExpression", - "start": 22216, - "end": 22242, + "start": 22600, + "end": 22626, "loc": { "start": { - "line": 679, + "line": 691, "column": 31 }, "end": { - "line": 679, + "line": 691, "column": 57 } }, "object": { "type": "Identifier", - "start": 22216, - "end": 22234, + "start": 22600, + "end": 22618, "loc": { "start": { - "line": 679, + "line": 691, "column": 31 }, "end": { - "line": 679, + "line": 691, "column": 49 }, "identifierName": "buttonThemesParsed" @@ -35659,15 +36511,15 @@ }, "property": { "type": "Identifier", - "start": 22235, - "end": 22241, + "start": 22619, + "end": 22625, "loc": { "start": { - "line": 679, + "line": 691, "column": 50 }, "end": { - "line": 679, + "line": 691, "column": 56 }, "identifierName": "button" @@ -35682,44 +36534,44 @@ }, { "type": "VariableDeclaration", - "start": 22253, - "end": 22370, + "start": 22637, + "end": 22754, "loc": { "start": { - "line": 680, + "line": 692, "column": 8 }, "end": { - "line": 680, + "line": 692, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22257, - "end": 22369, + "start": 22641, + "end": 22753, "loc": { "start": { - "line": 680, + "line": 692, "column": 12 }, "end": { - "line": 680, + "line": 692, "column": 124 } }, "id": { "type": "Identifier", - "start": 22257, - "end": 22274, + "start": 22641, + "end": 22658, "loc": { "start": { - "line": 680, + "line": 692, "column": 12 }, "end": { - "line": 680, + "line": 692, "column": 29 }, "identifierName": "buttonDisplayName" @@ -35728,72 +36580,72 @@ }, "init": { "type": "CallExpression", - "start": 22277, - "end": 22369, + "start": 22661, + "end": 22753, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 124 } }, "callee": { "type": "MemberExpression", - "start": 22277, - "end": 22312, + "start": 22661, + "end": 22696, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 22277, - "end": 22291, + "start": 22661, + "end": 22675, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 22277, - "end": 22281, + "start": 22661, + "end": 22665, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 36 } } }, "property": { "type": "Identifier", - "start": 22282, - "end": 22291, + "start": 22666, + "end": 22675, "loc": { "start": { - "line": 680, + "line": 692, "column": 37 }, "end": { - "line": 680, + "line": 692, "column": 46 }, "identifierName": "utilities" @@ -35804,15 +36656,15 @@ }, "property": { "type": "Identifier", - "start": 22292, - "end": 22312, + "start": 22676, + "end": 22696, "loc": { "start": { - "line": 680, + "line": 692, "column": 47 }, "end": { - "line": 680, + "line": 692, "column": 67 }, "identifierName": "getButtonDisplayName" @@ -35824,15 +36676,15 @@ "arguments": [ { "type": "Identifier", - "start": 22313, - "end": 22319, + "start": 22697, + "end": 22703, "loc": { "start": { - "line": 680, + "line": 692, "column": 68 }, "end": { - "line": 680, + "line": 692, "column": 74 }, "identifierName": "button" @@ -35841,58 +36693,58 @@ }, { "type": "MemberExpression", - "start": 22321, - "end": 22341, + "start": 22705, + "end": 22725, "loc": { "start": { - "line": 680, + "line": 692, "column": 76 }, "end": { - "line": 680, + "line": 692, "column": 96 } }, "object": { "type": "MemberExpression", - "start": 22321, - "end": 22333, + "start": 22705, + "end": 22717, "loc": { "start": { - "line": 680, + "line": 692, "column": 76 }, "end": { - "line": 680, + "line": 692, "column": 88 } }, "object": { "type": "ThisExpression", - "start": 22321, - "end": 22325, + "start": 22705, + "end": 22709, "loc": { "start": { - "line": 680, + "line": 692, "column": 76 }, "end": { - "line": 680, + "line": 692, "column": 80 } } }, "property": { "type": "Identifier", - "start": 22326, - "end": 22333, + "start": 22710, + "end": 22717, "loc": { "start": { - "line": 680, + "line": 692, "column": 81 }, "end": { - "line": 680, + "line": 692, "column": 88 }, "identifierName": "options" @@ -35903,15 +36755,15 @@ }, "property": { "type": "Identifier", - "start": 22334, - "end": 22341, + "start": 22718, + "end": 22725, "loc": { "start": { - "line": 680, + "line": 692, "column": 89 }, "end": { - "line": 680, + "line": 692, "column": 96 }, "identifierName": "display" @@ -35922,58 +36774,58 @@ }, { "type": "MemberExpression", - "start": 22343, - "end": 22368, + "start": 22727, + "end": 22752, "loc": { "start": { - "line": 680, + "line": 692, "column": 98 }, "end": { - "line": 680, + "line": 692, "column": 123 } }, "object": { "type": "MemberExpression", - "start": 22343, - "end": 22355, + "start": 22727, + "end": 22739, "loc": { "start": { - "line": 680, + "line": 692, "column": 98 }, "end": { - "line": 680, + "line": 692, "column": 110 } }, "object": { "type": "ThisExpression", - "start": 22343, - "end": 22347, + "start": 22727, + "end": 22731, "loc": { "start": { - "line": 680, + "line": 692, "column": 98 }, "end": { - "line": 680, + "line": 692, "column": 102 } } }, "property": { "type": "Identifier", - "start": 22348, - "end": 22355, + "start": 22732, + "end": 22739, "loc": { "start": { - "line": 680, + "line": 692, "column": 103 }, "end": { - "line": 680, + "line": 692, "column": 110 }, "identifierName": "options" @@ -35984,15 +36836,15 @@ }, "property": { "type": "Identifier", - "start": 22356, - "end": 22368, + "start": 22740, + "end": 22752, "loc": { "start": { - "line": 680, + "line": 692, "column": 111 }, "end": { - "line": 680, + "line": 692, "column": 123 }, "identifierName": "mergeDisplay" @@ -36010,15 +36862,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 22382, - "end": 22426, + "start": 22766, + "end": 22810, "loc": { "start": { - "line": 682, + "line": 694, "column": 8 }, "end": { - "line": 684, + "line": 696, "column": 11 } } @@ -36027,44 +36879,44 @@ }, { "type": "VariableDeclaration", - "start": 22436, - "end": 22482, + "start": 22820, + "end": 22866, "loc": { "start": { - "line": 685, + "line": 697, "column": 8 }, "end": { - "line": 685, + "line": 697, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22440, - "end": 22481, + "start": 22824, + "end": 22865, "loc": { "start": { - "line": 685, + "line": 697, "column": 12 }, "end": { - "line": 685, + "line": 697, "column": 53 } }, "id": { "type": "Identifier", - "start": 22440, - "end": 22449, + "start": 22824, + "end": 22833, "loc": { "start": { - "line": 685, + "line": 697, "column": 12 }, "end": { - "line": 685, + "line": 697, "column": 21 }, "identifierName": "buttonDOM" @@ -36074,43 +36926,43 @@ }, "init": { "type": "CallExpression", - "start": 22452, - "end": 22481, + "start": 22836, + "end": 22865, "loc": { "start": { - "line": 685, + "line": 697, "column": 24 }, "end": { - "line": 685, + "line": 697, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 22452, - "end": 22474, + "start": 22836, + "end": 22858, "loc": { "start": { - "line": 685, + "line": 697, "column": 24 }, "end": { - "line": 685, + "line": 697, "column": 46 } }, "object": { "type": "Identifier", - "start": 22452, - "end": 22460, + "start": 22836, + "end": 22844, "loc": { "start": { - "line": 685, + "line": 697, "column": 24 }, "end": { - "line": 685, + "line": 697, "column": 32 }, "identifierName": "document" @@ -36119,15 +36971,15 @@ }, "property": { "type": "Identifier", - "start": 22461, - "end": 22474, + "start": 22845, + "end": 22858, "loc": { "start": { - "line": 685, + "line": 697, "column": 33 }, "end": { - "line": 685, + "line": 697, "column": 46 }, "identifierName": "createElement" @@ -36139,15 +36991,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22475, - "end": 22480, + "start": 22859, + "end": 22864, "loc": { "start": { - "line": 685, + "line": 697, "column": 47 }, "end": { - "line": 685, + "line": 697, "column": 52 } }, @@ -36167,15 +37019,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 22382, - "end": 22426, + "start": 22766, + "end": 22810, "loc": { "start": { - "line": 682, + "line": 694, "column": 8 }, "end": { - "line": 684, + "line": 696, "column": 11 } } @@ -36184,58 +37036,58 @@ }, { "type": "ExpressionStatement", - "start": 22492, - "end": 22589, + "start": 22876, + "end": 22973, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 105 } }, "expression": { "type": "AssignmentExpression", - "start": 22492, - "end": 22588, + "start": 22876, + "end": 22972, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 22492, - "end": 22511, + "start": 22876, + "end": 22895, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 27 } }, "object": { "type": "Identifier", - "start": 22492, - "end": 22501, + "start": 22876, + "end": 22885, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 17 }, "identifierName": "buttonDOM" @@ -36244,15 +37096,15 @@ }, "property": { "type": "Identifier", - "start": 22502, - "end": 22511, + "start": 22886, + "end": 22895, "loc": { "start": { - "line": 686, + "line": 698, "column": 18 }, "end": { - "line": 686, + "line": 698, "column": 27 }, "identifierName": "className" @@ -36263,30 +37115,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 22515, - "end": 22588, + "start": 22899, + "end": 22972, "loc": { "start": { - "line": 686, + "line": 698, "column": 31 }, "end": { - "line": 686, + "line": 698, "column": 104 } }, "expressions": [ { "type": "Identifier", - "start": 22528, - "end": 22539, + "start": 22912, + "end": 22923, "loc": { "start": { - "line": 686, + "line": 698, "column": 44 }, "end": { - "line": 686, + "line": 698, "column": 55 }, "identifierName": "fctBtnClass" @@ -36295,29 +37147,29 @@ }, { "type": "ConditionalExpression", - "start": 22542, - "end": 22586, + "start": 22926, + "end": 22970, "loc": { "start": { - "line": 686, + "line": 698, "column": 58 }, "end": { - "line": 686, + "line": 698, "column": 102 } }, "test": { "type": "Identifier", - "start": 22542, - "end": 22558, + "start": 22926, + "end": 22942, "loc": { "start": { - "line": 686, + "line": 698, "column": 58 }, "end": { - "line": 686, + "line": 698, "column": 74 }, "identifierName": "buttonThemeClass" @@ -36326,29 +37178,29 @@ }, "consequent": { "type": "BinaryExpression", - "start": 22561, - "end": 22581, + "start": 22945, + "end": 22965, "loc": { "start": { - "line": 686, + "line": 698, "column": 77 }, "end": { - "line": 686, + "line": 698, "column": 97 } }, "left": { "type": "StringLiteral", - "start": 22561, - "end": 22564, + "start": 22945, + "end": 22948, "loc": { "start": { - "line": 686, + "line": 698, "column": 77 }, "end": { - "line": 686, + "line": 698, "column": 80 } }, @@ -36361,15 +37213,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 22565, - "end": 22581, + "start": 22949, + "end": 22965, "loc": { "start": { - "line": 686, + "line": 698, "column": 81 }, "end": { - "line": 686, + "line": 698, "column": 97 }, "identifierName": "buttonThemeClass" @@ -36379,15 +37231,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 22584, - "end": 22586, + "start": 22968, + "end": 22970, "loc": { "start": { - "line": 686, + "line": 698, "column": 100 }, "end": { - "line": 686, + "line": 698, "column": 102 } }, @@ -36402,15 +37254,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 22516, - "end": 22526, + "start": 22900, + "end": 22910, "loc": { "start": { - "line": 686, + "line": 698, "column": 32 }, "end": { - "line": 686, + "line": 698, "column": 42 } }, @@ -36422,15 +37274,15 @@ }, { "type": "TemplateElement", - "start": 22540, - "end": 22540, + "start": 22924, + "end": 22924, "loc": { "start": { - "line": 686, + "line": 698, "column": 56 }, "end": { - "line": 686, + "line": 698, "column": 56 } }, @@ -36442,15 +37294,15 @@ }, { "type": "TemplateElement", - "start": 22587, - "end": 22587, + "start": 22971, + "end": 22971, "loc": { "start": { - "line": 686, + "line": 698, "column": 103 }, "end": { - "line": 686, + "line": 698, "column": 103 } }, @@ -36466,58 +37318,58 @@ }, { "type": "ExpressionStatement", - "start": 22599, - "end": 22658, + "start": 22983, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, - "column": 67 + "line": 702, + "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 22599, - "end": 22657, + "start": 22983, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, - "column": 66 + "line": 702, + "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 22599, - "end": 22616, + "start": 22983, + "end": 23000, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, + "line": 699, "column": 25 } }, "object": { "type": "Identifier", - "start": 22599, - "end": 22608, + "start": 22983, + "end": 22992, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, + "line": 699, "column": 17 }, "identifierName": "buttonDOM" @@ -36526,15 +37378,15 @@ }, "property": { "type": "Identifier", - "start": 22609, - "end": 22616, + "start": 22993, + "end": 23000, "loc": { "start": { - "line": 687, + "line": 699, "column": 18 }, "end": { - "line": 687, + "line": 699, "column": 25 }, "identifierName": "onclick" @@ -36545,162 +37397,290 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 22619, - "end": 22657, + "start": 23003, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 28 }, "end": { - "line": 687, - "column": 66 + "line": 702, + "column": 9 } }, "id": null, "generator": false, - "expression": true, + "expression": false, "async": false, "params": [], "body": { - "type": "CallExpression", - "start": 22625, - "end": 22657, + "type": "BlockStatement", + "start": 23009, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 34 }, "end": { - "line": 687, - "column": 66 + "line": 702, + "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 22625, - "end": 22649, - "loc": { - "start": { - "line": 687, - "column": 34 - }, - "end": { - "line": 687, - "column": 58 - } - }, - "object": { - "type": "ThisExpression", - "start": 22625, - "end": 22629, + "body": [ + { + "type": "ExpressionStatement", + "start": 23022, + "end": 23047, "loc": { "start": { - "line": 687, - "column": 34 + "line": 700, + "column": 10 }, "end": { - "line": 687, - "column": 38 + "line": 700, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23022, + "end": 23046, + "loc": { + "start": { + "line": 700, + "column": 10 + }, + "end": { + "line": 700, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23022, + "end": 23038, + "loc": { + "start": { + "line": 700, + "column": 10 + }, + "end": { + "line": 700, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 23022, + "end": 23026, + "loc": { + "start": { + "line": 700, + "column": 10 + }, + "end": { + "line": 700, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 23027, + "end": 23038, + "loc": { + "start": { + "line": 700, + "column": 15 + }, + "end": { + "line": 700, + "column": 26 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 23041, + "end": 23046, + "loc": { + "start": { + "line": 700, + "column": 29 + }, + "end": { + "line": 700, + "column": 34 + } + }, + "value": false } } }, - "property": { - "type": "Identifier", - "start": 22630, - "end": 22649, - "loc": { - "start": { - "line": 687, - "column": 39 - }, - "end": { - "line": 687, - "column": 58 - }, - "identifierName": "handleButtonClicked" - }, - "name": "handleButtonClicked" - }, - "computed": false - }, - "arguments": [ { - "type": "Identifier", - "start": 22650, - "end": 22656, + "type": "ExpressionStatement", + "start": 23059, + "end": 23092, "loc": { "start": { - "line": 687, - "column": 59 + "line": 701, + "column": 10 }, "end": { - "line": 687, - "column": 65 - }, - "identifierName": "button" + "line": 701, + "column": 43 + } }, - "name": "button" + "expression": { + "type": "CallExpression", + "start": 23059, + "end": 23091, + "loc": { + "start": { + "line": 701, + "column": 10 + }, + "end": { + "line": 701, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23059, + "end": 23083, + "loc": { + "start": { + "line": 701, + "column": 10 + }, + "end": { + "line": 701, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 23059, + "end": 23063, + "loc": { + "start": { + "line": 701, + "column": 10 + }, + "end": { + "line": 701, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 23064, + "end": 23083, + "loc": { + "start": { + "line": 701, + "column": 15 + }, + "end": { + "line": 701, + "column": 34 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 23084, + "end": 23090, + "loc": { + "start": { + "line": 701, + "column": 35 + }, + "end": { + "line": 701, + "column": 41 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } } - ] + ], + "directives": [] } } } }, { "type": "ExpressionStatement", - "start": 22668, - "end": 22737, + "start": 23113, + "end": 23182, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 22668, - "end": 22736, + "start": 23113, + "end": 23181, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 22668, - "end": 22689, + "start": 23113, + "end": 23134, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 29 } }, "object": { "type": "Identifier", - "start": 22668, - "end": 22677, + "start": 23113, + "end": 23122, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 17 }, "identifierName": "buttonDOM" @@ -36709,15 +37689,15 @@ }, "property": { "type": "Identifier", - "start": 22678, - "end": 22689, + "start": 23123, + "end": 23134, "loc": { "start": { - "line": 688, + "line": 703, "column": 18 }, "end": { - "line": 688, + "line": 703, "column": 29 }, "identifierName": "onmousedown" @@ -36728,15 +37708,15 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 22692, - "end": 22736, + "start": 23137, + "end": 23181, "loc": { "start": { - "line": 688, + "line": 703, "column": 32 }, "end": { - "line": 688, + "line": 703, "column": 76 } }, @@ -36747,15 +37727,15 @@ "params": [ { "type": "Identifier", - "start": 22693, - "end": 22694, + "start": 23138, + "end": 23139, "loc": { "start": { - "line": 688, + "line": 703, "column": 33 }, "end": { - "line": 688, + "line": 703, "column": 34 }, "identifierName": "e" @@ -36765,58 +37745,58 @@ ], "body": { "type": "CallExpression", - "start": 22699, - "end": 22736, + "start": 23144, + "end": 23181, "loc": { "start": { - "line": 688, + "line": 703, "column": 39 }, "end": { - "line": 688, + "line": 703, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 22699, - "end": 22725, + "start": 23144, + "end": 23170, "loc": { "start": { - "line": 688, + "line": 703, "column": 39 }, "end": { - "line": 688, + "line": 703, "column": 65 } }, "object": { "type": "ThisExpression", - "start": 22699, - "end": 22703, + "start": 23144, + "end": 23148, "loc": { "start": { - "line": 688, + "line": 703, "column": 39 }, "end": { - "line": 688, + "line": 703, "column": 43 } } }, "property": { "type": "Identifier", - "start": 22704, - "end": 22725, + "start": 23149, + "end": 23170, "loc": { "start": { - "line": 688, + "line": 703, "column": 44 }, "end": { - "line": 688, + "line": 703, "column": 65 }, "identifierName": "handleButtonMouseDown" @@ -36828,15 +37808,15 @@ "arguments": [ { "type": "Identifier", - "start": 22726, - "end": 22732, + "start": 23171, + "end": 23177, "loc": { "start": { - "line": 688, + "line": 703, "column": 66 }, "end": { - "line": 688, + "line": 703, "column": 72 }, "identifierName": "button" @@ -36845,15 +37825,15 @@ }, { "type": "Identifier", - "start": 22734, - "end": 22735, + "start": 23179, + "end": 23180, "loc": { "start": { - "line": 688, + "line": 703, "column": 74 }, "end": { - "line": 688, + "line": 703, "column": 75 }, "identifierName": "e" @@ -36868,15 +37848,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 22749, - "end": 22795, + "start": 23194, + "end": 23240, "loc": { "start": { - "line": 690, + "line": 705, "column": 8 }, "end": { - "line": 692, + "line": 707, "column": 11 } } @@ -36885,57 +37865,57 @@ }, { "type": "ExpressionStatement", - "start": 22805, - "end": 22850, + "start": 23250, + "end": 23295, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22805, - "end": 22849, + "start": 23250, + "end": 23294, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22805, - "end": 22827, + "start": 23250, + "end": 23272, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 30 } }, "object": { "type": "Identifier", - "start": 22805, - "end": 22814, + "start": 23250, + "end": 23259, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 17 }, "identifierName": "buttonDOM" @@ -36945,15 +37925,15 @@ }, "property": { "type": "Identifier", - "start": 22815, - "end": 22827, + "start": 23260, + "end": 23272, "loc": { "start": { - "line": 693, + "line": 708, "column": 18 }, "end": { - "line": 693, + "line": 708, "column": 30 }, "identifierName": "setAttribute" @@ -36966,15 +37946,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22828, - "end": 22840, + "start": 23273, + "end": 23285, "loc": { "start": { - "line": 693, + "line": 708, "column": 31 }, "end": { - "line": 693, + "line": 708, "column": 43 } }, @@ -36986,15 +37966,15 @@ }, { "type": "Identifier", - "start": 22842, - "end": 22848, + "start": 23287, + "end": 23293, "loc": { "start": { - "line": 693, + "line": 708, "column": 45 }, "end": { - "line": 693, + "line": 708, "column": 51 }, "identifierName": "button" @@ -37008,15 +37988,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 22749, - "end": 22795, + "start": 23194, + "end": 23240, "loc": { "start": { - "line": 690, + "line": 705, "column": 8 }, "end": { - "line": 692, + "line": 707, "column": 11 } } @@ -37026,15 +38006,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 22862, - "end": 23017, + "start": 23307, + "end": 23462, "loc": { "start": { - "line": 695, + "line": 710, "column": 8 }, "end": { - "line": 698, + "line": 713, "column": 11 } } @@ -37043,44 +38023,44 @@ }, { "type": "VariableDeclaration", - "start": 23027, - "end": 23093, + "start": 23472, + "end": 23538, "loc": { "start": { - "line": 699, + "line": 714, "column": 8 }, "end": { - "line": 699, + "line": 714, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 23031, - "end": 23092, + "start": 23476, + "end": 23537, "loc": { "start": { - "line": 699, + "line": 714, "column": 12 }, "end": { - "line": 699, + "line": 714, "column": 73 } }, "id": { "type": "Identifier", - "start": 23031, - "end": 23040, + "start": 23476, + "end": 23485, "loc": { "start": { - "line": 699, + "line": 714, "column": 12 }, "end": { - "line": 699, + "line": 714, "column": 21 }, "identifierName": "buttonUID" @@ -37090,73 +38070,73 @@ }, "init": { "type": "TemplateLiteral", - "start": 23043, - "end": 23092, + "start": 23488, + "end": 23537, "loc": { "start": { - "line": 699, + "line": 714, "column": 24 }, "end": { - "line": 699, + "line": 714, "column": 73 } }, "expressions": [ { "type": "MemberExpression", - "start": 23046, - "end": 23069, + "start": 23491, + "end": 23514, "loc": { "start": { - "line": 699, + "line": 714, "column": 27 }, "end": { - "line": 699, + "line": 714, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 23046, - "end": 23058, + "start": 23491, + "end": 23503, "loc": { "start": { - "line": 699, + "line": 714, "column": 27 }, "end": { - "line": 699, + "line": 714, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 23046, - "end": 23050, + "start": 23491, + "end": 23495, "loc": { "start": { - "line": 699, + "line": 714, "column": 27 }, "end": { - "line": 699, + "line": 714, "column": 31 } } }, "property": { "type": "Identifier", - "start": 23051, - "end": 23058, + "start": 23496, + "end": 23503, "loc": { "start": { - "line": 699, + "line": 714, "column": 32 }, "end": { - "line": 699, + "line": 714, "column": 39 }, "identifierName": "options" @@ -37167,15 +38147,15 @@ }, "property": { "type": "Identifier", - "start": 23059, - "end": 23069, + "start": 23504, + "end": 23514, "loc": { "start": { - "line": 699, + "line": 714, "column": 40 }, "end": { - "line": 699, + "line": 714, "column": 50 }, "identifierName": "layoutName" @@ -37186,15 +38166,15 @@ }, { "type": "Identifier", - "start": 23074, - "end": 23080, + "start": 23519, + "end": 23525, "loc": { "start": { - "line": 699, + "line": 714, "column": 55 }, "end": { - "line": 699, + "line": 714, "column": 61 }, "identifierName": "rIndex" @@ -37203,15 +38183,15 @@ }, { "type": "Identifier", - "start": 23084, - "end": 23090, + "start": 23529, + "end": 23535, "loc": { "start": { - "line": 699, + "line": 714, "column": 65 }, "end": { - "line": 699, + "line": 714, "column": 71 }, "identifierName": "bIndex" @@ -37222,15 +38202,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 23044, - "end": 23044, + "start": 23489, + "end": 23489, "loc": { "start": { - "line": 699, + "line": 714, "column": 25 }, "end": { - "line": 699, + "line": 714, "column": 25 } }, @@ -37242,15 +38222,15 @@ }, { "type": "TemplateElement", - "start": 23070, - "end": 23072, + "start": 23515, + "end": 23517, "loc": { "start": { - "line": 699, + "line": 714, "column": 51 }, "end": { - "line": 699, + "line": 714, "column": 53 } }, @@ -37262,15 +38242,15 @@ }, { "type": "TemplateElement", - "start": 23081, - "end": 23082, + "start": 23526, + "end": 23527, "loc": { "start": { - "line": 699, + "line": 714, "column": 62 }, "end": { - "line": 699, + "line": 714, "column": 63 } }, @@ -37282,15 +38262,15 @@ }, { "type": "TemplateElement", - "start": 23091, - "end": 23091, + "start": 23536, + "end": 23536, "loc": { "start": { - "line": 699, + "line": 714, "column": 72 }, "end": { - "line": 699, + "line": 714, "column": 72 } }, @@ -37310,15 +38290,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 22862, - "end": 23017, + "start": 23307, + "end": 23462, "loc": { "start": { - "line": 695, + "line": 710, "column": 8 }, "end": { - "line": 698, + "line": 713, "column": 11 } } @@ -37327,57 +38307,57 @@ }, { "type": "ExpressionStatement", - "start": 23103, - "end": 23154, + "start": 23548, + "end": 23599, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 23103, - "end": 23153, + "start": 23548, + "end": 23598, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 23103, - "end": 23125, + "start": 23548, + "end": 23570, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 30 } }, "object": { "type": "Identifier", - "start": 23103, - "end": 23112, + "start": 23548, + "end": 23557, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 17 }, "identifierName": "buttonDOM" @@ -37386,15 +38366,15 @@ }, "property": { "type": "Identifier", - "start": 23113, - "end": 23125, + "start": 23558, + "end": 23570, "loc": { "start": { - "line": 700, + "line": 715, "column": 18 }, "end": { - "line": 700, + "line": 715, "column": 30 }, "identifierName": "setAttribute" @@ -37406,15 +38386,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23126, - "end": 23141, + "start": 23571, + "end": 23586, "loc": { "start": { - "line": 700, + "line": 715, "column": 31 }, "end": { - "line": 700, + "line": 715, "column": 46 } }, @@ -37426,15 +38406,15 @@ }, { "type": "Identifier", - "start": 23143, - "end": 23152, + "start": 23588, + "end": 23597, "loc": { "start": { - "line": 700, + "line": 715, "column": 48 }, "end": { - "line": 700, + "line": 715, "column": 57 }, "identifierName": "buttonUID" @@ -37447,15 +38427,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 23166, - "end": 23215, + "start": 23611, + "end": 23660, "loc": { "start": { - "line": 702, + "line": 717, "column": 8 }, "end": { - "line": 704, + "line": 719, "column": 11 } } @@ -37464,57 +38444,57 @@ }, { "type": "ExpressionStatement", - "start": 23225, - "end": 23288, + "start": 23670, + "end": 23733, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 23225, - "end": 23287, + "start": 23670, + "end": 23732, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 23225, - "end": 23247, + "start": 23670, + "end": 23692, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 30 } }, "object": { "type": "Identifier", - "start": 23225, - "end": 23234, + "start": 23670, + "end": 23679, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 17 }, "identifierName": "buttonDOM" @@ -37524,15 +38504,15 @@ }, "property": { "type": "Identifier", - "start": 23235, - "end": 23247, + "start": 23680, + "end": 23692, "loc": { "start": { - "line": 705, + "line": 720, "column": 18 }, "end": { - "line": 705, + "line": 720, "column": 30 }, "identifierName": "setAttribute" @@ -37545,15 +38525,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23248, - "end": 23267, + "start": 23693, + "end": 23712, "loc": { "start": { - "line": 705, + "line": 720, "column": 31 }, "end": { - "line": 705, + "line": 720, "column": 50 } }, @@ -37565,15 +38545,15 @@ }, { "type": "Identifier", - "start": 23269, - "end": 23286, + "start": 23714, + "end": 23731, "loc": { "start": { - "line": 705, + "line": 720, "column": 52 }, "end": { - "line": 705, + "line": 720, "column": 69 }, "identifierName": "buttonDisplayName" @@ -37587,15 +38567,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 23166, - "end": 23215, + "start": 23611, + "end": 23660, "loc": { "start": { - "line": 702, + "line": 717, "column": 8 }, "end": { - "line": 704, + "line": 719, "column": 11 } } @@ -37605,15 +38585,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 23300, - "end": 23358, + "start": 23745, + "end": 23803, "loc": { "start": { - "line": 707, + "line": 722, "column": 8 }, "end": { - "line": 709, + "line": 724, "column": 11 } } @@ -37622,44 +38602,44 @@ }, { "type": "VariableDeclaration", - "start": 23368, - "end": 23419, + "start": 23813, + "end": 23864, "loc": { "start": { - "line": 710, + "line": 725, "column": 8 }, "end": { - "line": 710, + "line": 725, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 23372, - "end": 23418, + "start": 23817, + "end": 23863, "loc": { "start": { - "line": 710, + "line": 725, "column": 12 }, "end": { - "line": 710, + "line": 725, "column": 58 } }, "id": { "type": "Identifier", - "start": 23372, - "end": 23385, + "start": 23817, + "end": 23830, "loc": { "start": { - "line": 710, + "line": 725, "column": 12 }, "end": { - "line": 710, + "line": 725, "column": 25 }, "identifierName": "buttonSpanDOM" @@ -37669,43 +38649,43 @@ }, "init": { "type": "CallExpression", - "start": 23388, - "end": 23418, + "start": 23833, + "end": 23863, "loc": { "start": { - "line": 710, + "line": 725, "column": 28 }, "end": { - "line": 710, + "line": 725, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 23388, - "end": 23410, + "start": 23833, + "end": 23855, "loc": { "start": { - "line": 710, + "line": 725, "column": 28 }, "end": { - "line": 710, + "line": 725, "column": 50 } }, "object": { "type": "Identifier", - "start": 23388, - "end": 23396, + "start": 23833, + "end": 23841, "loc": { "start": { - "line": 710, + "line": 725, "column": 28 }, "end": { - "line": 710, + "line": 725, "column": 36 }, "identifierName": "document" @@ -37714,15 +38694,15 @@ }, "property": { "type": "Identifier", - "start": 23397, - "end": 23410, + "start": 23842, + "end": 23855, "loc": { "start": { - "line": 710, + "line": 725, "column": 37 }, "end": { - "line": 710, + "line": 725, "column": 50 }, "identifierName": "createElement" @@ -37734,15 +38714,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23411, - "end": 23417, + "start": 23856, + "end": 23862, "loc": { "start": { - "line": 710, + "line": 725, "column": 51 }, "end": { - "line": 710, + "line": 725, "column": 57 } }, @@ -37762,15 +38742,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 23300, - "end": 23358, + "start": 23745, + "end": 23803, "loc": { "start": { - "line": 707, + "line": 722, "column": 8 }, "end": { - "line": 709, + "line": 724, "column": 11 } } @@ -37779,58 +38759,58 @@ }, { "type": "ExpressionStatement", - "start": 23429, - "end": 23473, + "start": 23874, + "end": 23918, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 23429, - "end": 23472, + "start": 23874, + "end": 23917, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 23429, - "end": 23452, + "start": 23874, + "end": 23897, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 31 } }, "object": { "type": "Identifier", - "start": 23429, - "end": 23442, + "start": 23874, + "end": 23887, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 21 }, "identifierName": "buttonSpanDOM" @@ -37839,15 +38819,15 @@ }, "property": { "type": "Identifier", - "start": 23443, - "end": 23452, + "start": 23888, + "end": 23897, "loc": { "start": { - "line": 711, + "line": 726, "column": 22 }, "end": { - "line": 711, + "line": 726, "column": 31 }, "identifierName": "innerHTML" @@ -37858,15 +38838,15 @@ }, "right": { "type": "Identifier", - "start": 23455, - "end": 23472, + "start": 23900, + "end": 23917, "loc": { "start": { - "line": 711, + "line": 726, "column": 34 }, "end": { - "line": 711, + "line": 726, "column": 51 }, "identifierName": "buttonDisplayName" @@ -37877,57 +38857,57 @@ }, { "type": "ExpressionStatement", - "start": 23483, - "end": 23520, + "start": 23928, + "end": 23965, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 23483, - "end": 23519, + "start": 23928, + "end": 23964, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 23483, - "end": 23504, + "start": 23928, + "end": 23949, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 29 } }, "object": { "type": "Identifier", - "start": 23483, - "end": 23492, + "start": 23928, + "end": 23937, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 17 }, "identifierName": "buttonDOM" @@ -37936,15 +38916,15 @@ }, "property": { "type": "Identifier", - "start": 23493, - "end": 23504, + "start": 23938, + "end": 23949, "loc": { "start": { - "line": 712, + "line": 727, "column": 18 }, "end": { - "line": 712, + "line": 727, "column": 29 }, "identifierName": "appendChild" @@ -37956,15 +38936,15 @@ "arguments": [ { "type": "Identifier", - "start": 23505, - "end": 23518, + "start": 23950, + "end": 23963, "loc": { "start": { - "line": 712, + "line": 727, "column": 30 }, "end": { - "line": 712, + "line": 727, "column": 43 }, "identifierName": "buttonSpanDOM" @@ -37977,15 +38957,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 23532, - "end": 23585, + "start": 23977, + "end": 24030, "loc": { "start": { - "line": 714, + "line": 729, "column": 8 }, "end": { - "line": 716, + "line": 731, "column": 11 } } @@ -37994,29 +38974,29 @@ }, { "type": "IfStatement", - "start": 23595, - "end": 23672, + "start": 24040, + "end": 24117, "loc": { "start": { - "line": 717, + "line": 732, "column": 8 }, "end": { - "line": 718, + "line": 733, "column": 43 } }, "test": { "type": "UnaryExpression", - "start": 23598, - "end": 23626, + "start": 24043, + "end": 24071, "loc": { "start": { - "line": 717, + "line": 732, "column": 11 }, "end": { - "line": 717, + "line": 732, "column": 39 } }, @@ -38024,43 +39004,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 23599, - "end": 23626, + "start": 24044, + "end": 24071, "loc": { "start": { - "line": 717, + "line": 732, "column": 12 }, "end": { - "line": 717, + "line": 732, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 23599, - "end": 23618, + "start": 24044, + "end": 24063, "loc": { "start": { - "line": 717, + "line": 732, "column": 12 }, "end": { - "line": 717, + "line": 732, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 23599, - "end": 23603, + "start": 24044, + "end": 24048, "loc": { "start": { - "line": 717, + "line": 732, "column": 12 }, "end": { - "line": 717, + "line": 732, "column": 16 } }, @@ -38068,15 +39048,15 @@ }, "property": { "type": "Identifier", - "start": 23604, - "end": 23618, + "start": 24049, + "end": 24063, "loc": { "start": { - "line": 717, + "line": 732, "column": 17 }, "end": { - "line": 717, + "line": 732, "column": 31 }, "identifierName": "buttonElements" @@ -38088,15 +39068,15 @@ }, "property": { "type": "Identifier", - "start": 23619, - "end": 23625, + "start": 24064, + "end": 24070, "loc": { "start": { - "line": 717, + "line": 732, "column": 32 }, "end": { - "line": 717, + "line": 732, "column": 38 }, "identifierName": "button" @@ -38113,87 +39093,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 23639, - "end": 23672, + "start": 24084, + "end": 24117, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 23639, - "end": 23671, + "start": 24084, + "end": 24116, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 23639, - "end": 23666, + "start": 24084, + "end": 24111, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 23639, - "end": 23658, + "start": 24084, + "end": 24103, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 23639, - "end": 23643, + "start": 24084, + "end": 24088, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 14 } } }, "property": { "type": "Identifier", - "start": 23644, - "end": 23658, + "start": 24089, + "end": 24103, "loc": { "start": { - "line": 718, + "line": 733, "column": 15 }, "end": { - "line": 718, + "line": 733, "column": 29 }, "identifierName": "buttonElements" @@ -38204,15 +39184,15 @@ }, "property": { "type": "Identifier", - "start": 23659, - "end": 23665, + "start": 24104, + "end": 24110, "loc": { "start": { - "line": 718, + "line": 733, "column": 30 }, "end": { - "line": 718, + "line": 733, "column": 36 }, "identifierName": "button" @@ -38223,15 +39203,15 @@ }, "right": { "type": "ArrayExpression", - "start": 23669, - "end": 23671, + "start": 24114, + "end": 24116, "loc": { "start": { - "line": 718, + "line": 733, "column": 40 }, "end": { - "line": 718, + "line": 733, "column": 42 } }, @@ -38244,15 +39224,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 23532, - "end": 23585, + "start": 23977, + "end": 24030, "loc": { "start": { - "line": 714, + "line": 729, "column": 8 }, "end": { - "line": 716, + "line": 731, "column": 11 } } @@ -38261,100 +39241,100 @@ }, { "type": "ExpressionStatement", - "start": 23684, - "end": 23728, + "start": 24129, + "end": 24173, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23684, - "end": 23727, + "start": 24129, + "end": 24172, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23684, - "end": 23716, + "start": 24129, + "end": 24161, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 23684, - "end": 23711, + "start": 24129, + "end": 24156, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 23684, - "end": 23703, + "start": 24129, + "end": 24148, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23684, - "end": 23688, + "start": 24129, + "end": 24133, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23689, - "end": 23703, + "start": 24134, + "end": 24148, "loc": { "start": { - "line": 720, + "line": 735, "column": 13 }, "end": { - "line": 720, + "line": 735, "column": 27 }, "identifierName": "buttonElements" @@ -38365,15 +39345,15 @@ }, "property": { "type": "Identifier", - "start": 23704, - "end": 23710, + "start": 24149, + "end": 24155, "loc": { "start": { - "line": 720, + "line": 735, "column": 28 }, "end": { - "line": 720, + "line": 735, "column": 34 }, "identifierName": "button" @@ -38384,15 +39364,15 @@ }, "property": { "type": "Identifier", - "start": 23712, - "end": 23716, + "start": 24157, + "end": 24161, "loc": { "start": { - "line": 720, + "line": 735, "column": 36 }, "end": { - "line": 720, + "line": 735, "column": 40 }, "identifierName": "push" @@ -38404,15 +39384,15 @@ "arguments": [ { "type": "Identifier", - "start": 23717, - "end": 23726, + "start": 24162, + "end": 24171, "loc": { "start": { - "line": 720, + "line": 735, "column": 41 }, "end": { - "line": 720, + "line": 735, "column": 50 }, "identifierName": "buttonDOM" @@ -38425,15 +39405,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 23740, - "end": 23792, + "start": 24185, + "end": 24237, "loc": { "start": { - "line": 722, + "line": 737, "column": 8 }, "end": { - "line": 724, + "line": 739, "column": 11 } } @@ -38442,57 +39422,57 @@ }, { "type": "ExpressionStatement", - "start": 23802, - "end": 23832, + "start": 24247, + "end": 24277, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 23802, - "end": 23831, + "start": 24247, + "end": 24276, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 23802, - "end": 23820, + "start": 24247, + "end": 24265, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 26 } }, "object": { "type": "Identifier", - "start": 23802, - "end": 23808, + "start": 24247, + "end": 24253, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 14 }, "identifierName": "rowDOM" @@ -38502,15 +39482,15 @@ }, "property": { "type": "Identifier", - "start": 23809, - "end": 23820, + "start": 24254, + "end": 24265, "loc": { "start": { - "line": 725, + "line": 740, "column": 15 }, "end": { - "line": 725, + "line": 740, "column": 26 }, "identifierName": "appendChild" @@ -38523,15 +39503,15 @@ "arguments": [ { "type": "Identifier", - "start": 23821, - "end": 23830, + "start": 24266, + "end": 24275, "loc": { "start": { - "line": 725, + "line": 740, "column": 27 }, "end": { - "line": 725, + "line": 740, "column": 36 }, "identifierName": "buttonDOM" @@ -38545,15 +39525,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 23740, - "end": 23792, + "start": 24185, + "end": 24237, "loc": { "start": { - "line": 722, + "line": 737, "column": 8 }, "end": { - "line": 724, + "line": 739, "column": 11 } } @@ -38571,15 +39551,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 22010, - "end": 22071, + "start": 22394, + "end": 22455, "loc": { "start": { - "line": 674, + "line": 686, "column": 6 }, "end": { - "line": 676, + "line": 688, "column": 9 } } @@ -38589,15 +39569,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 23855, - "end": 23905, + "start": 24300, + "end": 24350, "loc": { "start": { - "line": 729, + "line": 744, "column": 6 }, "end": { - "line": 731, + "line": 746, "column": 9 } } @@ -38606,71 +39586,71 @@ }, { "type": "ExpressionStatement", - "start": 23913, - "end": 23950, + "start": 24358, + "end": 24395, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 23913, - "end": 23949, + "start": 24358, + "end": 24394, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 23913, - "end": 23941, + "start": 24358, + "end": 24386, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23913, - "end": 23929, + "start": 24358, + "end": 24374, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 23913, - "end": 23917, + "start": 24358, + "end": 24362, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 10 } }, @@ -38678,15 +39658,15 @@ }, "property": { "type": "Identifier", - "start": 23918, - "end": 23929, + "start": 24363, + "end": 24374, "loc": { "start": { - "line": 732, + "line": 747, "column": 11 }, "end": { - "line": 732, + "line": 747, "column": 22 }, "identifierName": "keyboardDOM" @@ -38698,15 +39678,15 @@ }, "property": { "type": "Identifier", - "start": 23930, - "end": 23941, + "start": 24375, + "end": 24386, "loc": { "start": { - "line": 732, + "line": 747, "column": 23 }, "end": { - "line": 732, + "line": 747, "column": 34 }, "identifierName": "appendChild" @@ -38719,15 +39699,15 @@ "arguments": [ { "type": "Identifier", - "start": 23942, - "end": 23948, + "start": 24387, + "end": 24393, "loc": { "start": { - "line": 732, + "line": 747, "column": 35 }, "end": { - "line": 732, + "line": 747, "column": 41 }, "identifierName": "rowDOM" @@ -38741,15 +39721,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 23855, - "end": 23905, + "start": 24300, + "end": 24350, "loc": { "start": { - "line": 729, + "line": 744, "column": 6 }, "end": { - "line": 731, + "line": 746, "column": 9 } } @@ -38767,15 +39747,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 21710, - "end": 21757, + "start": 22094, + "end": 22141, "loc": { "start": { - "line": 662, + "line": 674, "column": 4 }, "end": { - "line": 664, + "line": 676, "column": 7 } } @@ -38785,15 +39765,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 23967, - "end": 24004, + "start": 24412, + "end": 24449, "loc": { "start": { - "line": 735, + "line": 750, "column": 4 }, "end": { - "line": 737, + "line": 752, "column": 7 } } @@ -38802,57 +39782,57 @@ }, { "type": "ExpressionStatement", - "start": 24010, - "end": 24026, + "start": 24455, + "end": 24471, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 24010, - "end": 24025, + "start": 24455, + "end": 24470, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 24010, - "end": 24023, + "start": 24455, + "end": 24468, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 24010, - "end": 24014, + "start": 24455, + "end": 24459, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 8 } }, @@ -38860,15 +39840,15 @@ }, "property": { "type": "Identifier", - "start": 24015, - "end": 24023, + "start": 24460, + "end": 24468, "loc": { "start": { - "line": 738, + "line": 753, "column": 9 }, "end": { - "line": 738, + "line": 753, "column": 17 }, "identifierName": "onRender" @@ -38885,15 +39865,219 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 23967, - "end": 24004, + "start": 24412, + "end": 24449, "loc": { "start": { - "line": 735, + "line": 750, "column": 4 }, "end": { - "line": 737, + "line": 752, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 24479, + "end": 24516, + "loc": { + "start": { + "line": 755, + "column": 4 + }, + "end": { + "line": 757, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 24522, + "end": 24576, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 58 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 24522, + "end": 24575, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 57 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24522, + "end": 24540, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 24522, + "end": 24530, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 24531, + "end": 24540, + "loc": { + "start": { + "line": 758, + "column": 13 + }, + "end": { + "line": 758, + "column": 22 + }, + "identifierName": "onmouseup" + }, + "name": "onmouseup" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 24543, + "end": 24575, + "loc": { + "start": { + "line": 758, + "column": 25 + }, + "end": { + "line": 758, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 24549, + "end": 24575, + "loc": { + "start": { + "line": 758, + "column": 31 + }, + "end": { + "line": 758, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24549, + "end": 24573, + "loc": { + "start": { + "line": 758, + "column": 31 + }, + "end": { + "line": 758, + "column": 55 + } + }, + "object": { + "type": "ThisExpression", + "start": 24549, + "end": 24553, + "loc": { + "start": { + "line": 758, + "column": 31 + }, + "end": { + "line": 758, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 24554, + "end": 24573, + "loc": { + "start": { + "line": 758, + "column": 36 + }, + "end": { + "line": 758, + "column": 55 + }, + "identifierName": "handleButtonMouseUp" + }, + "name": "handleButtonMouseUp" + }, + "computed": false + }, + "arguments": [] + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 24479, + "end": 24516, + "loc": { + "start": { + "line": 755, + "column": 4 + }, + "end": { + "line": 757, "column": 7 } } @@ -38902,29 +40086,29 @@ }, { "type": "IfStatement", - "start": 24034, - "end": 24369, + "start": 24584, + "end": 24806, "loc": { "start": { - "line": 740, + "line": 760, "column": 4 }, "end": { - "line": 755, + "line": 770, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 24037, - "end": 24054, + "start": 24587, + "end": 24604, "loc": { "start": { - "line": 740, + "line": 760, "column": 7 }, "end": { - "line": 740, + "line": 760, "column": 24 } }, @@ -38932,44 +40116,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 24038, - "end": 24054, + "start": 24588, + "end": 24604, "loc": { "start": { - "line": 740, + "line": 760, "column": 8 }, "end": { - "line": 740, + "line": 760, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 24038, - "end": 24042, + "start": 24588, + "end": 24592, "loc": { "start": { - "line": 740, + "line": 760, "column": 8 }, "end": { - "line": 740, + "line": 760, "column": 12 } } }, "property": { "type": "Identifier", - "start": 24043, - "end": 24054, + "start": 24593, + "end": 24604, "loc": { "start": { - "line": 740, + "line": 760, "column": 13 }, "end": { - "line": 740, + "line": 760, "column": 24 }, "identifierName": "initialized" @@ -38984,73 +40168,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 24055, - "end": 24369, + "start": 24605, + "end": 24806, "loc": { "start": { - "line": 740, + "line": 760, "column": 25 }, "end": { - "line": 755, + "line": 770, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 24154, - "end": 24178, + "start": 24704, + "end": 24728, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 24154, - "end": 24177, + "start": 24704, + "end": 24727, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 24154, - "end": 24170, + "start": 24704, + "end": 24720, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 24154, - "end": 24158, + "start": 24704, + "end": 24708, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 10 } }, @@ -39058,15 +40242,15 @@ }, "property": { "type": "Identifier", - "start": 24159, - "end": 24170, + "start": 24709, + "end": 24720, "loc": { "start": { - "line": 744, + "line": 764, "column": 11 }, "end": { - "line": 744, + "line": 764, "column": 22 }, "identifierName": "initialized" @@ -39078,15 +40262,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 24173, - "end": 24177, + "start": 24723, + "end": 24727, "loc": { "start": { - "line": 744, + "line": 764, "column": 25 }, "end": { - "line": 744, + "line": 764, "column": 29 } }, @@ -39098,219 +40282,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 24064, - "end": 24146, + "start": 24614, + "end": 24696, "loc": { "start": { - "line": 741, + "line": 761, "column": 6 }, "end": { - "line": 743, - "column": 9 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Handling mouseup\r\n ", - "start": 24188, - "end": 24229, - "loc": { - "start": { - "line": 746, - "column": 6 - }, - "end": { - "line": 748, - "column": 9 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 24237, - "end": 24291, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 60 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 24237, - "end": 24290, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 59 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 24237, - "end": 24255, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 24237, - "end": 24245, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 14 - }, - "identifierName": "document" - }, - "name": "document", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 24246, - "end": 24255, - "loc": { - "start": { - "line": 749, - "column": 15 - }, - "end": { - "line": 749, - "column": 24 - }, - "identifierName": "onmouseup" - }, - "name": "onmouseup" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "ArrowFunctionExpression", - "start": 24258, - "end": 24290, - "loc": { - "start": { - "line": 749, - "column": 27 - }, - "end": { - "line": 749, - "column": 59 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "CallExpression", - "start": 24264, - "end": 24290, - "loc": { - "start": { - "line": 749, - "column": 33 - }, - "end": { - "line": 749, - "column": 59 - } - }, - "callee": { - "type": "MemberExpression", - "start": 24264, - "end": 24288, - "loc": { - "start": { - "line": 749, - "column": 33 - }, - "end": { - "line": 749, - "column": 57 - } - }, - "object": { - "type": "ThisExpression", - "start": 24264, - "end": 24268, - "loc": { - "start": { - "line": 749, - "column": 33 - }, - "end": { - "line": 749, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 24269, - "end": 24288, - "loc": { - "start": { - "line": 749, - "column": 38 - }, - "end": { - "line": 749, - "column": 57 - }, - "identifierName": "handleButtonMouseUp" - }, - "name": "handleButtonMouseUp" - }, - "computed": false - }, - "arguments": [] - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Handling mouseup\r\n ", - "start": 24188, - "end": 24229, - "loc": { - "start": { - "line": 746, - "column": 6 - }, - "end": { - "line": 748, + "line": 763, "column": 9 } } @@ -39320,15 +40300,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 24301, - "end": 24340, + "start": 24738, + "end": 24777, "loc": { "start": { - "line": 751, + "line": 766, "column": 6 }, "end": { - "line": 753, + "line": 768, "column": 9 } } @@ -39337,57 +40317,57 @@ }, { "type": "ExpressionStatement", - "start": 24348, - "end": 24362, + "start": 24785, + "end": 24799, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 24348, - "end": 24361, + "start": 24785, + "end": 24798, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 24348, - "end": 24359, + "start": 24785, + "end": 24796, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 24348, - "end": 24352, + "start": 24785, + "end": 24789, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 10 } }, @@ -39395,15 +40375,15 @@ }, "property": { "type": "Identifier", - "start": 24353, - "end": 24359, + "start": 24790, + "end": 24796, "loc": { "start": { - "line": 754, + "line": 769, "column": 11 }, "end": { - "line": 754, + "line": 769, "column": 17 }, "identifierName": "onInit" @@ -39420,15 +40400,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 24301, - "end": 24340, + "start": 24738, + "end": 24777, "loc": { "start": { - "line": 751, + "line": 766, "column": 6 }, "end": { - "line": 753, + "line": 768, "column": 9 } } @@ -39447,15 +40427,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 19970, - "end": 20026, + "start": 20354, + "end": 20410, "loc": { "start": { - "line": 611, + "line": 623, "column": 2 }, "end": { - "line": 613, + "line": 625, "column": 5 } } @@ -39470,29 +40450,29 @@ }, { "type": "Identifier", - "start": 24381, - "end": 24411, + "start": 24818, + "end": 24848, "loc": { "start": { - "line": 759, + "line": 774, "column": 0 }, "end": { - "line": 759, + "line": 774, "column": 30 } }, "declaration": { "type": "Identifier", - "start": 24396, - "end": 24410, + "start": 24833, + "end": 24847, "loc": { "start": { - "line": 759, + "line": 774, "column": 15 }, "end": { - "line": 759, + "line": 774, "column": 29 }, "identifierName": "SimpleKeyboard" @@ -39505,29 +40485,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 24381, - "end": 24411, + "start": 24818, + "end": 24848, "loc": { "start": { - "line": 759, + "line": 774, "column": 0 }, "end": { - "line": 759, + "line": 774, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, - "end": 24377, + "end": 24814, "loc": { "start": { "line": 15, "column": 0 }, "end": { - "line": 757, + "line": 772, "column": 1 } }, @@ -39553,14 +40533,14 @@ "body": { "type": "ClassBody", "start": 388, - "end": 24377, + "end": 24814, "loc": { "start": { "line": 15, "column": 21 }, "end": { - "line": 757, + "line": 772, "column": 1 } }, @@ -47776,14 +48756,14 @@ { "type": "ClassMethod", "start": 7493, - "end": 8880, + "end": 9015, "loc": { "start": { "line": 158, "column": 2 }, "end": { - "line": 208, + "line": 212, "column": 3 } }, @@ -47834,14 +48814,14 @@ "body": { "type": "BlockStatement", "start": 7520, - "end": 8880, + "end": 9015, "loc": { "start": { "line": 158, "column": 29 }, "end": { - "line": 208, + "line": 212, "column": 3 } }, @@ -48820,30 +49800,30 @@ { "type": "VariableDeclaration", "start": 7912, - "end": 8040, + "end": 8054, "loc": { "start": { "line": 176, "column": 4 }, "end": { - "line": 176, - "column": 132 + "line": 178, + "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7916, - "end": 8039, + "end": 8053, "loc": { "start": { "line": 176, "column": 8 }, "end": { - "line": 176, - "column": 131 + "line": 178, + "column": 5 } }, "id": { @@ -48866,15 +49846,15 @@ "init": { "type": "CallExpression", "start": 7931, - "end": 8039, + "end": 8053, "loc": { "start": { "line": 176, "column": 23 }, "end": { - "line": 176, - "column": 131 + "line": 178, + "column": 5 } }, "callee": { @@ -48961,16 +49941,16 @@ "arguments": [ { "type": "Identifier", - "start": 7962, - "end": 7968, + "start": 7970, + "end": 7976, "loc": { "start": { - "line": 176, - "column": 54 + "line": 177, + "column": 6 }, "end": { - "line": 176, - "column": 60 + "line": 177, + "column": 12 }, "identifierName": "button" }, @@ -48978,59 +49958,59 @@ }, { "type": "MemberExpression", - "start": 7970, - "end": 8004, + "start": 7978, + "end": 8012, "loc": { "start": { - "line": 176, - "column": 62 + "line": 177, + "column": 14 }, "end": { - "line": 176, - "column": 96 + "line": 177, + "column": 48 } }, "object": { "type": "MemberExpression", - "start": 7970, - "end": 7980, + "start": 7978, + "end": 7988, "loc": { "start": { - "line": 176, - "column": 62 + "line": 177, + "column": 14 }, "end": { - "line": 176, - "column": 72 + "line": 177, + "column": 24 } }, "object": { "type": "ThisExpression", - "start": 7970, - "end": 7974, + "start": 7978, + "end": 7982, "loc": { "start": { - "line": 176, - "column": 62 + "line": 177, + "column": 14 }, "end": { - "line": 176, - "column": 66 + "line": 177, + "column": 18 } } }, "property": { "type": "Identifier", - "start": 7975, - "end": 7980, + "start": 7983, + "end": 7988, "loc": { "start": { - "line": 176, - "column": 67 + "line": 177, + "column": 19 }, "end": { - "line": 176, - "column": 72 + "line": 177, + "column": 24 }, "identifierName": "input" }, @@ -49040,59 +50020,59 @@ }, "property": { "type": "MemberExpression", - "start": 7981, - "end": 8003, + "start": 7989, + "end": 8011, "loc": { "start": { - "line": 176, - "column": 73 + "line": 177, + "column": 25 }, "end": { - "line": 176, - "column": 95 + "line": 177, + "column": 47 } }, "object": { "type": "MemberExpression", - "start": 7981, - "end": 7993, + "start": 7989, + "end": 8001, "loc": { "start": { - "line": 176, - "column": 73 + "line": 177, + "column": 25 }, "end": { - "line": 176, - "column": 85 + "line": 177, + "column": 37 } }, "object": { "type": "ThisExpression", - "start": 7981, - "end": 7985, + "start": 7989, + "end": 7993, "loc": { "start": { - "line": 176, - "column": 73 + "line": 177, + "column": 25 }, "end": { - "line": 176, - "column": 77 + "line": 177, + "column": 29 } } }, "property": { "type": "Identifier", - "start": 7986, - "end": 7993, + "start": 7994, + "end": 8001, "loc": { "start": { - "line": 176, - "column": 78 + "line": 177, + "column": 30 }, "end": { - "line": 176, - "column": 85 + "line": 177, + "column": 37 }, "identifierName": "options" }, @@ -49102,16 +50082,16 @@ }, "property": { "type": "Identifier", - "start": 7994, - "end": 8003, + "start": 8002, + "end": 8011, "loc": { "start": { - "line": 176, - "column": 86 + "line": 177, + "column": 38 }, "end": { - "line": 176, - "column": 95 + "line": 177, + "column": 47 }, "identifierName": "inputName" }, @@ -49123,45 +50103,45 @@ }, { "type": "MemberExpression", - "start": 8006, - "end": 8018, + "start": 8014, + "end": 8026, "loc": { "start": { - "line": 176, - "column": 98 + "line": 177, + "column": 50 }, "end": { - "line": 176, - "column": 110 + "line": 177, + "column": 62 } }, "object": { "type": "ThisExpression", - "start": 8006, - "end": 8010, + "start": 8014, + "end": 8018, "loc": { "start": { - "line": 176, - "column": 98 + "line": 177, + "column": 50 }, "end": { - "line": 176, - "column": 102 + "line": 177, + "column": 54 } } }, "property": { "type": "Identifier", - "start": 8011, - "end": 8018, + "start": 8019, + "end": 8026, "loc": { "start": { - "line": 176, - "column": 103 + "line": 177, + "column": 55 }, "end": { - "line": 176, - "column": 110 + "line": 177, + "column": 62 }, "identifierName": "options" }, @@ -49171,45 +50151,45 @@ }, { "type": "MemberExpression", - "start": 8020, - "end": 8038, + "start": 8028, + "end": 8046, "loc": { "start": { - "line": 176, - "column": 112 + "line": 177, + "column": 64 }, "end": { - "line": 176, - "column": 130 + "line": 177, + "column": 82 } }, "object": { "type": "ThisExpression", - "start": 8020, - "end": 8024, + "start": 8028, + "end": 8032, "loc": { "start": { - "line": 176, - "column": 112 + "line": 177, + "column": 64 }, "end": { - "line": 176, - "column": 116 + "line": 177, + "column": 68 } } }, "property": { "type": "Identifier", - "start": 8025, - "end": 8038, + "start": 8033, + "end": 8046, "loc": { "start": { - "line": 176, - "column": 117 + "line": 177, + "column": 69 }, "end": { - "line": 176, - "column": 130 + "line": 177, + "column": 82 }, "identifierName": "caretPosition" }, @@ -49225,86 +50205,86 @@ }, { "type": "IfStatement", - "start": 8048, - "end": 8802, + "start": 8062, + "end": 8937, "loc": { "start": { - "line": 178, + "line": 180, "column": 4 }, "end": { - "line": 203, + "line": 207, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8051, - "end": 8102, + "start": 8065, + "end": 8116, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 58 } }, "left": { "type": "MemberExpression", - "start": 8051, - "end": 8085, + "start": 8065, + "end": 8099, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 8051, - "end": 8061, + "start": 8065, + "end": 8075, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 8051, - "end": 8055, + "start": 8065, + "end": 8069, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 11 } } }, "property": { "type": "Identifier", - "start": 8056, - "end": 8061, + "start": 8070, + "end": 8075, "loc": { "start": { - "line": 178, + "line": 180, "column": 12 }, "end": { - "line": 178, + "line": 180, "column": 17 }, "identifierName": "input" @@ -49315,58 +50295,58 @@ }, "property": { "type": "MemberExpression", - "start": 8062, - "end": 8084, + "start": 8076, + "end": 8098, "loc": { "start": { - "line": 178, + "line": 180, "column": 18 }, "end": { - "line": 178, + "line": 180, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8062, - "end": 8074, + "start": 8076, + "end": 8088, "loc": { "start": { - "line": 178, + "line": 180, "column": 18 }, "end": { - "line": 178, + "line": 180, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 8062, - "end": 8066, + "start": 8076, + "end": 8080, "loc": { "start": { - "line": 178, + "line": 180, "column": 18 }, "end": { - "line": 178, + "line": 180, "column": 22 } } }, "property": { "type": "Identifier", - "start": 8067, - "end": 8074, + "start": 8081, + "end": 8088, "loc": { "start": { - "line": 178, + "line": 180, "column": 23 }, "end": { - "line": 178, + "line": 180, "column": 30 }, "identifierName": "options" @@ -49377,15 +50357,15 @@ }, "property": { "type": "Identifier", - "start": 8075, - "end": 8084, + "start": 8089, + "end": 8098, "loc": { "start": { - "line": 178, + "line": 180, "column": 31 }, "end": { - "line": 178, + "line": 180, "column": 40 }, "identifierName": "inputName" @@ -49399,15 +50379,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 8090, - "end": 8102, + "start": 8104, + "end": 8116, "loc": { "start": { - "line": 178, + "line": 180, "column": 46 }, "end": { - "line": 178, + "line": 180, "column": 58 }, "identifierName": "updatedInput" @@ -49417,86 +50397,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 8103, - "end": 8802, + "start": 8117, + "end": 8937, "loc": { "start": { - "line": 178, + "line": 180, "column": 59 }, "end": { - "line": 203, + "line": 207, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 8199, - "end": 8332, + "start": 8213, + "end": 8346, "loc": { "start": { - "line": 183, + "line": 185, "column": 6 }, "end": { - "line": 185, + "line": 187, "column": 7 } }, "test": { "type": "LogicalExpression", - "start": 8202, - "end": 8298, + "start": 8216, + "end": 8312, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 105 } }, "left": { "type": "MemberExpression", - "start": 8202, - "end": 8224, + "start": 8216, + "end": 8238, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 8202, - "end": 8214, + "start": 8216, + "end": 8228, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8202, - "end": 8206, + "start": 8216, + "end": 8220, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 13 } }, @@ -49504,15 +50484,15 @@ }, "property": { "type": "Identifier", - "start": 8207, - "end": 8214, + "start": 8221, + "end": 8228, "loc": { "start": { - "line": 183, + "line": 185, "column": 14 }, "end": { - "line": 183, + "line": 185, "column": 21 }, "identifierName": "options" @@ -49524,15 +50504,15 @@ }, "property": { "type": "Identifier", - "start": 8215, - "end": 8224, + "start": 8229, + "end": 8238, "loc": { "start": { - "line": 183, + "line": 185, "column": 22 }, "end": { - "line": 183, + "line": 185, "column": 31 }, "identifierName": "maxLength" @@ -49545,72 +50525,72 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 8228, - "end": 8298, + "start": 8242, + "end": 8312, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 8228, - "end": 8258, + "start": 8242, + "end": 8272, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 65 } }, "object": { "type": "MemberExpression", - "start": 8228, - "end": 8242, + "start": 8242, + "end": 8256, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 8228, - "end": 8232, + "start": 8242, + "end": 8246, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 39 } } }, "property": { "type": "Identifier", - "start": 8233, - "end": 8242, + "start": 8247, + "end": 8256, "loc": { "start": { - "line": 183, + "line": 185, "column": 40 }, "end": { - "line": 183, + "line": 185, "column": 49 }, "identifierName": "utilities" @@ -49621,15 +50601,15 @@ }, "property": { "type": "Identifier", - "start": 8243, - "end": 8258, + "start": 8257, + "end": 8272, "loc": { "start": { - "line": 183, + "line": 185, "column": 50 }, "end": { - "line": 183, + "line": 185, "column": 65 }, "identifierName": "handleMaxLength" @@ -49641,44 +50621,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8259, - "end": 8269, + "start": 8273, + "end": 8283, "loc": { "start": { - "line": 183, + "line": 185, "column": 66 }, "end": { - "line": 183, + "line": 185, "column": 76 } }, "object": { "type": "ThisExpression", - "start": 8259, - "end": 8263, + "start": 8273, + "end": 8277, "loc": { "start": { - "line": 183, + "line": 185, "column": 66 }, "end": { - "line": 183, + "line": 185, "column": 70 } } }, "property": { "type": "Identifier", - "start": 8264, - "end": 8269, + "start": 8278, + "end": 8283, "loc": { "start": { - "line": 183, + "line": 185, "column": 71 }, "end": { - "line": 183, + "line": 185, "column": 76 }, "identifierName": "input" @@ -49689,44 +50669,44 @@ }, { "type": "MemberExpression", - "start": 8271, - "end": 8283, + "start": 8285, + "end": 8297, "loc": { "start": { - "line": 183, + "line": 185, "column": 78 }, "end": { - "line": 183, + "line": 185, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 8271, - "end": 8275, + "start": 8285, + "end": 8289, "loc": { "start": { - "line": 183, + "line": 185, "column": 78 }, "end": { - "line": 183, + "line": 185, "column": 82 } } }, "property": { "type": "Identifier", - "start": 8276, - "end": 8283, + "start": 8290, + "end": 8297, "loc": { "start": { - "line": 183, + "line": 185, "column": 83 }, "end": { - "line": 183, + "line": 185, "column": 90 }, "identifierName": "options" @@ -49737,15 +50717,15 @@ }, { "type": "Identifier", - "start": 8285, - "end": 8297, + "start": 8299, + "end": 8311, "loc": { "start": { - "line": 183, + "line": 185, "column": 92 }, "end": { - "line": 183, + "line": 185, "column": 104 }, "identifierName": "updatedInput" @@ -49758,44 +50738,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8299, - "end": 8332, + "start": 8313, + "end": 8346, "loc": { "start": { - "line": 183, + "line": 185, "column": 106 }, "end": { - "line": 185, + "line": 187, "column": 7 } }, "body": [ { "type": "ReturnStatement", - "start": 8310, - "end": 8323, + "start": 8324, + "end": 8337, "loc": { "start": { - "line": 184, + "line": 186, "column": 8 }, "end": { - "line": 184, + "line": 186, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 8317, - "end": 8322, + "start": 8331, + "end": 8336, "loc": { "start": { - "line": 184, + "line": 186, "column": 15 }, "end": { - "line": 184, + "line": 186, "column": 20 } }, @@ -49810,15 +50790,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 8114, - "end": 8191, + "start": 8128, + "end": 8205, "loc": { "start": { - "line": 180, + "line": 182, "column": 6 }, "end": { - "line": 182, + "line": 184, "column": 9 } } @@ -49827,87 +50807,87 @@ }, { "type": "ExpressionStatement", - "start": 8342, - "end": 8392, + "start": 8356, + "end": 8527, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, - "column": 56 + "line": 191, + "column": 8 } }, "expression": { "type": "AssignmentExpression", - "start": 8342, - "end": 8391, + "start": 8356, + "end": 8526, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, - "column": 55 + "line": 191, + "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 8342, - "end": 8376, + "start": 8356, + "end": 8390, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, + "line": 189, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8342, - "end": 8352, + "start": 8356, + "end": 8366, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, + "line": 189, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 8342, - "end": 8346, + "start": 8356, + "end": 8360, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, + "line": 189, "column": 10 } } }, "property": { "type": "Identifier", - "start": 8347, - "end": 8352, + "start": 8361, + "end": 8366, "loc": { "start": { - "line": 187, + "line": 189, "column": 11 }, "end": { - "line": 187, + "line": 189, "column": 16 }, "identifierName": "input" @@ -49918,58 +50898,58 @@ }, "property": { "type": "MemberExpression", - "start": 8353, - "end": 8375, + "start": 8367, + "end": 8389, "loc": { "start": { - "line": 187, + "line": 189, "column": 17 }, "end": { - "line": 187, + "line": 189, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 8353, - "end": 8365, + "start": 8367, + "end": 8379, "loc": { "start": { - "line": 187, + "line": 189, "column": 17 }, "end": { - "line": 187, + "line": 189, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 8353, - "end": 8357, + "start": 8367, + "end": 8371, "loc": { "start": { - "line": 187, + "line": 189, "column": 17 }, "end": { - "line": 187, + "line": 189, "column": 21 } } }, "property": { "type": "Identifier", - "start": 8358, - "end": 8365, + "start": 8372, + "end": 8379, "loc": { "start": { - "line": 187, + "line": 189, "column": 22 }, "end": { - "line": 187, + "line": 189, "column": 29 }, "identifierName": "options" @@ -49980,15 +50960,15 @@ }, "property": { "type": "Identifier", - "start": 8366, - "end": 8375, + "start": 8380, + "end": 8389, "loc": { "start": { - "line": 187, + "line": 189, "column": 30 }, "end": { - "line": 187, + "line": 189, "column": 39 }, "identifierName": "inputName" @@ -50000,49 +50980,404 @@ "computed": true }, "right": { - "type": "Identifier", - "start": 8379, - "end": 8391, + "type": "CallExpression", + "start": 8394, + "end": 8526, "loc": { "start": { - "line": 187, - "column": 43 + "line": 189, + "column": 44 }, "end": { - "line": 187, - "column": 55 - }, - "identifierName": "updatedInput" + "line": 191, + "column": 7 + } }, - "name": "updatedInput" + "callee": { + "type": "MemberExpression", + "start": 8394, + "end": 8424, + "loc": { + "start": { + "line": 189, + "column": 44 + }, + "end": { + "line": 189, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 8394, + "end": 8408, + "loc": { + "start": { + "line": 189, + "column": 44 + }, + "end": { + "line": 189, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 8394, + "end": 8398, + "loc": { + "start": { + "line": 189, + "column": 44 + }, + "end": { + "line": 189, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "start": 8399, + "end": 8408, + "loc": { + "start": { + "line": 189, + "column": 49 + }, + "end": { + "line": 189, + "column": 58 + }, + "identifierName": "utilities" + }, + "name": "utilities" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8409, + "end": 8424, + "loc": { + "start": { + "line": 189, + "column": 59 + }, + "end": { + "line": 189, + "column": 74 + }, + "identifierName": "getUpdatedInput" + }, + "name": "getUpdatedInput" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 8435, + "end": 8441, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 14 + }, + "identifierName": "button" + }, + "name": "button" + }, + { + "type": "MemberExpression", + "start": 8443, + "end": 8477, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 8443, + "end": 8453, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 8443, + "end": 8447, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 8448, + "end": 8453, + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 26 + }, + "identifierName": "input" + }, + "name": "input" + }, + "computed": false + }, + "property": { + "type": "MemberExpression", + "start": 8454, + "end": 8476, + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 8454, + "end": 8466, + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 8454, + "end": 8458, + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 8459, + "end": 8466, + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 39 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8467, + "end": 8476, + "loc": { + "start": { + "line": 190, + "column": 40 + }, + "end": { + "line": 190, + "column": 49 + }, + "identifierName": "inputName" + }, + "name": "inputName" + }, + "computed": false + }, + "computed": true + }, + { + "type": "MemberExpression", + "start": 8479, + "end": 8491, + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 64 + } + }, + "object": { + "type": "ThisExpression", + "start": 8479, + "end": 8483, + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "start": 8484, + "end": 8491, + "loc": { + "start": { + "line": 190, + "column": 57 + }, + "end": { + "line": 190, + "column": 64 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 8493, + "end": 8511, + "loc": { + "start": { + "line": 190, + "column": 66 + }, + "end": { + "line": 190, + "column": 84 + } + }, + "object": { + "type": "ThisExpression", + "start": 8493, + "end": 8497, + "loc": { + "start": { + "line": 190, + "column": 66 + }, + "end": { + "line": 190, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "start": 8498, + "end": 8511, + "loc": { + "start": { + "line": 190, + "column": 71 + }, + "end": { + "line": 190, + "column": 84 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + }, + { + "type": "BooleanLiteral", + "start": 8513, + "end": 8517, + "loc": { + "start": { + "line": 190, + "column": 86 + }, + "end": { + "line": 190, + "column": 90 + } + }, + "value": true + } + ] } } }, { "type": "IfStatement", - "start": 8402, - "end": 8463, + "start": 8537, + "end": 8598, "loc": { "start": { - "line": 189, + "line": 193, "column": 6 }, "end": { - "line": 190, + "line": 194, "column": 50 } }, "test": { "type": "Identifier", - "start": 8405, - "end": 8410, + "start": 8540, + "end": 8545, "loc": { "start": { - "line": 189, + "line": 193, "column": 9 }, "end": { - "line": 189, + "line": 193, "column": 14 }, "identifierName": "debug" @@ -50051,57 +51386,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8421, - "end": 8463, + "start": 8556, + "end": 8598, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 8421, - "end": 8462, + "start": 8556, + "end": 8597, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 8421, - "end": 8432, + "start": 8556, + "end": 8567, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 19 } }, "object": { "type": "Identifier", - "start": 8421, - "end": 8428, + "start": 8556, + "end": 8563, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 15 }, "identifierName": "console" @@ -50110,15 +51445,15 @@ }, "property": { "type": "Identifier", - "start": 8429, - "end": 8432, + "start": 8564, + "end": 8567, "loc": { "start": { - "line": 190, + "line": 194, "column": 16 }, "end": { - "line": 190, + "line": 194, "column": 19 }, "identifierName": "log" @@ -50130,15 +51465,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8433, - "end": 8449, + "start": 8568, + "end": 8584, "loc": { "start": { - "line": 190, + "line": 194, "column": 20 }, "end": { - "line": 190, + "line": 194, "column": 36 } }, @@ -50150,44 +51485,44 @@ }, { "type": "MemberExpression", - "start": 8451, - "end": 8461, + "start": 8586, + "end": 8596, "loc": { "start": { - "line": 190, + "line": 194, "column": 38 }, "end": { - "line": 190, + "line": 194, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 8451, - "end": 8455, + "start": 8586, + "end": 8590, "loc": { "start": { - "line": 190, + "line": 194, "column": 38 }, "end": { - "line": 190, + "line": 194, "column": 42 } } }, "property": { "type": "Identifier", - "start": 8456, - "end": 8461, + "start": 8591, + "end": 8596, "loc": { "start": { - "line": 190, + "line": 194, "column": 43 }, "end": { - "line": 190, + "line": 194, "column": 48 }, "identifierName": "input" @@ -50205,15 +51540,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8473, - "end": 8532, + "start": 8608, + "end": 8667, "loc": { "start": { - "line": 192, + "line": 196, "column": 6 }, "end": { - "line": 194, + "line": 198, "column": 9 } } @@ -50222,57 +51557,57 @@ }, { "type": "IfStatement", - "start": 8540, - "end": 8621, + "start": 8675, + "end": 8756, "loc": { "start": { - "line": 195, + "line": 199, "column": 6 }, "end": { - "line": 196, + "line": 200, "column": 44 } }, "test": { "type": "MemberExpression", - "start": 8543, - "end": 8574, + "start": 8678, + "end": 8709, "loc": { "start": { - "line": 195, + "line": 199, "column": 9 }, "end": { - "line": 195, + "line": 199, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 8543, - "end": 8555, + "start": 8678, + "end": 8690, "loc": { "start": { - "line": 195, + "line": 199, "column": 9 }, "end": { - "line": 195, + "line": 199, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 8543, - "end": 8547, + "start": 8678, + "end": 8682, "loc": { "start": { - "line": 195, + "line": 199, "column": 9 }, "end": { - "line": 195, + "line": 199, "column": 13 } }, @@ -50280,15 +51615,15 @@ }, "property": { "type": "Identifier", - "start": 8548, - "end": 8555, + "start": 8683, + "end": 8690, "loc": { "start": { - "line": 195, + "line": 199, "column": 14 }, "end": { - "line": 195, + "line": 199, "column": 21 }, "identifierName": "options" @@ -50300,15 +51635,15 @@ }, "property": { "type": "Identifier", - "start": 8556, - "end": 8574, + "start": 8691, + "end": 8709, "loc": { "start": { - "line": 195, + "line": 199, "column": 22 }, "end": { - "line": 195, + "line": 199, "column": 40 }, "identifierName": "syncInstanceInputs" @@ -50320,72 +51655,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8585, - "end": 8621, + "start": 8720, + "end": 8756, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 8585, - "end": 8620, + "start": 8720, + "end": 8755, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 8585, - "end": 8608, + "start": 8720, + "end": 8743, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 8585, - "end": 8589, + "start": 8720, + "end": 8724, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8590, - "end": 8608, + "start": 8725, + "end": 8743, "loc": { "start": { - "line": 196, + "line": 200, "column": 13 }, "end": { - "line": 196, + "line": 200, "column": 31 }, "identifierName": "syncInstanceInputs" @@ -50397,44 +51732,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 8609, - "end": 8619, + "start": 8744, + "end": 8754, "loc": { "start": { - "line": 196, + "line": 200, "column": 32 }, "end": { - "line": 196, + "line": 200, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 8609, - "end": 8613, + "start": 8744, + "end": 8748, "loc": { "start": { - "line": 196, + "line": 200, "column": 32 }, "end": { - "line": 196, + "line": 200, "column": 36 } } }, "property": { "type": "Identifier", - "start": 8614, - "end": 8619, + "start": 8749, + "end": 8754, "loc": { "start": { - "line": 196, + "line": 200, "column": 37 }, "end": { - "line": 196, + "line": 200, "column": 42 }, "identifierName": "input" @@ -50452,15 +51787,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8473, - "end": 8532, + "start": 8608, + "end": 8667, "loc": { "start": { - "line": 192, + "line": 196, "column": 6 }, "end": { - "line": 194, + "line": 198, "column": 9 } } @@ -50470,15 +51805,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8631, - "end": 8672, + "start": 8766, + "end": 8807, "loc": { "start": { - "line": 198, + "line": 202, "column": 6 }, "end": { - "line": 200, + "line": 204, "column": 9 } } @@ -50487,43 +51822,43 @@ }, { "type": "IfStatement", - "start": 8680, - "end": 8795, + "start": 8815, + "end": 8930, "loc": { "start": { - "line": 201, + "line": 205, "column": 6 }, "end": { - "line": 202, + "line": 206, "column": 66 } }, "test": { "type": "BinaryExpression", - "start": 8683, - "end": 8726, + "start": 8818, + "end": 8861, "loc": { "start": { - "line": 201, + "line": 205, "column": 9 }, "end": { - "line": 201, + "line": 205, "column": 52 } }, "left": { "type": "UnaryExpression", - "start": 8683, - "end": 8711, + "start": 8818, + "end": 8846, "loc": { "start": { - "line": 201, + "line": 205, "column": 9 }, "end": { - "line": 201, + "line": 205, "column": 37 } }, @@ -50531,43 +51866,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 8690, - "end": 8711, + "start": 8825, + "end": 8846, "loc": { "start": { - "line": 201, + "line": 205, "column": 16 }, "end": { - "line": 201, + "line": 205, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 8690, - "end": 8702, + "start": 8825, + "end": 8837, "loc": { "start": { - "line": 201, + "line": 205, "column": 16 }, "end": { - "line": 201, + "line": 205, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 8690, - "end": 8694, + "start": 8825, + "end": 8829, "loc": { "start": { - "line": 201, + "line": 205, "column": 16 }, "end": { - "line": 201, + "line": 205, "column": 20 } }, @@ -50575,15 +51910,15 @@ }, "property": { "type": "Identifier", - "start": 8695, - "end": 8702, + "start": 8830, + "end": 8837, "loc": { "start": { - "line": 201, + "line": 205, "column": 21 }, "end": { - "line": 201, + "line": 205, "column": 28 }, "identifierName": "options" @@ -50595,15 +51930,15 @@ }, "property": { "type": "Identifier", - "start": 8703, - "end": 8711, + "start": 8838, + "end": 8846, "loc": { "start": { - "line": 201, + "line": 205, "column": 29 }, "end": { - "line": 201, + "line": 205, "column": 37 }, "identifierName": "onChange" @@ -50621,15 +51956,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8716, - "end": 8726, + "start": 8851, + "end": 8861, "loc": { "start": { - "line": 201, + "line": 205, "column": 42 }, "end": { - "line": 201, + "line": 205, "column": 52 } }, @@ -50643,86 +51978,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8737, - "end": 8795, + "start": 8872, + "end": 8930, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 8737, - "end": 8794, + "start": 8872, + "end": 8929, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 8737, - "end": 8758, + "start": 8872, + "end": 8893, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 8737, - "end": 8749, + "start": 8872, + "end": 8884, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 8737, - "end": 8741, + "start": 8872, + "end": 8876, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 12 } } }, "property": { "type": "Identifier", - "start": 8742, - "end": 8749, + "start": 8877, + "end": 8884, "loc": { "start": { - "line": 202, + "line": 206, "column": 13 }, "end": { - "line": 202, + "line": 206, "column": 20 }, "identifierName": "options" @@ -50733,15 +52068,15 @@ }, "property": { "type": "Identifier", - "start": 8750, - "end": 8758, + "start": 8885, + "end": 8893, "loc": { "start": { - "line": 202, + "line": 206, "column": 21 }, "end": { - "line": 202, + "line": 206, "column": 29 }, "identifierName": "onChange" @@ -50753,58 +52088,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 8759, - "end": 8793, + "start": 8894, + "end": 8928, "loc": { "start": { - "line": 202, + "line": 206, "column": 30 }, "end": { - "line": 202, + "line": 206, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 8759, - "end": 8769, + "start": 8894, + "end": 8904, "loc": { "start": { - "line": 202, + "line": 206, "column": 30 }, "end": { - "line": 202, + "line": 206, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 8759, - "end": 8763, + "start": 8894, + "end": 8898, "loc": { "start": { - "line": 202, + "line": 206, "column": 30 }, "end": { - "line": 202, + "line": 206, "column": 34 } } }, "property": { "type": "Identifier", - "start": 8764, - "end": 8769, + "start": 8899, + "end": 8904, "loc": { "start": { - "line": 202, + "line": 206, "column": 35 }, "end": { - "line": 202, + "line": 206, "column": 40 }, "identifierName": "input" @@ -50815,58 +52150,58 @@ }, "property": { "type": "MemberExpression", - "start": 8770, - "end": 8792, + "start": 8905, + "end": 8927, "loc": { "start": { - "line": 202, + "line": 206, "column": 41 }, "end": { - "line": 202, + "line": 206, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 8770, - "end": 8782, + "start": 8905, + "end": 8917, "loc": { "start": { - "line": 202, + "line": 206, "column": 41 }, "end": { - "line": 202, + "line": 206, "column": 53 } }, "object": { "type": "ThisExpression", - "start": 8770, - "end": 8774, + "start": 8905, + "end": 8909, "loc": { "start": { - "line": 202, + "line": 206, "column": 41 }, "end": { - "line": 202, + "line": 206, "column": 45 } } }, "property": { "type": "Identifier", - "start": 8775, - "end": 8782, + "start": 8910, + "end": 8917, "loc": { "start": { - "line": 202, + "line": 206, "column": 46 }, "end": { - "line": 202, + "line": 206, "column": 53 }, "identifierName": "options" @@ -50877,15 +52212,15 @@ }, "property": { "type": "Identifier", - "start": 8783, - "end": 8792, + "start": 8918, + "end": 8927, "loc": { "start": { - "line": 202, + "line": 206, "column": 54 }, "end": { - "line": 202, + "line": 206, "column": 63 }, "identifierName": "inputName" @@ -50904,15 +52239,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8631, - "end": 8672, + "start": 8766, + "end": 8807, "loc": { "start": { - "line": 198, + "line": 202, "column": 6 }, "end": { - "line": 200, + "line": 204, "column": 9 } } @@ -50926,29 +52261,29 @@ }, { "type": "IfStatement", - "start": 8814, - "end": 8875, + "start": 8949, + "end": 9010, "loc": { "start": { - "line": 205, + "line": 209, "column": 4 }, "end": { - "line": 207, + "line": 211, "column": 5 } }, "test": { "type": "Identifier", - "start": 8817, - "end": 8822, + "start": 8952, + "end": 8957, "loc": { "start": { - "line": 205, + "line": 209, "column": 7 }, "end": { - "line": 205, + "line": 209, "column": 12 }, "identifierName": "debug" @@ -50957,72 +52292,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 8823, - "end": 8875, + "start": 8958, + "end": 9010, "loc": { "start": { - "line": 205, + "line": 209, "column": 13 }, "end": { - "line": 207, + "line": 211, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 8832, - "end": 8868, + "start": 8967, + "end": 9003, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 8832, - "end": 8867, + "start": 8967, + "end": 9002, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 8832, - "end": 8843, + "start": 8967, + "end": 8978, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 17 } }, "object": { "type": "Identifier", - "start": 8832, - "end": 8839, + "start": 8967, + "end": 8974, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 13 }, "identifierName": "console" @@ -51031,15 +52366,15 @@ }, "property": { "type": "Identifier", - "start": 8840, - "end": 8843, + "start": 8975, + "end": 8978, "loc": { "start": { - "line": 206, + "line": 210, "column": 14 }, "end": { - "line": 206, + "line": 210, "column": 17 }, "identifierName": "log" @@ -51051,15 +52386,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8844, - "end": 8858, + "start": 8979, + "end": 8993, "loc": { "start": { - "line": 206, + "line": 210, "column": 18 }, "end": { - "line": 206, + "line": 210, "column": 32 } }, @@ -51071,15 +52406,15 @@ }, { "type": "Identifier", - "start": 8860, - "end": 8866, + "start": 8995, + "end": 9001, "loc": { "start": { - "line": 206, + "line": 210, "column": 34 }, "end": { - "line": 206, + "line": 210, "column": 40 }, "identifierName": "button" @@ -51120,15 +52455,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", - "start": 8886, - "end": 8927, + "start": 9021, + "end": 9062, "loc": { "start": { - "line": 210, + "line": 214, "column": 2 }, "end": { - "line": 212, + "line": 216, "column": 5 } } @@ -51136,15 +52471,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 8931, - "end": 8957, + "start": 9066, + "end": 9092, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 213, + "line": 217, "column": 28 } } @@ -51153,15 +52488,15 @@ }, { "type": "ClassMethod", - "start": 8961, - "end": 9820, + "start": 9096, + "end": 9955, "loc": { "start": { - "line": 214, + "line": 218, "column": 2 }, "end": { - "line": 246, + "line": 250, "column": 3 } }, @@ -51169,15 +52504,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8961, - "end": 8982, + "start": 9096, + "end": 9117, "loc": { "start": { - "line": 214, + "line": 218, "column": 2 }, "end": { - "line": 214, + "line": 218, "column": 23 }, "identifierName": "handleButtonMouseDown" @@ -51193,15 +52528,15 @@ "params": [ { "type": "Identifier", - "start": 8983, - "end": 8989, + "start": 9118, + "end": 9124, "loc": { "start": { - "line": 214, + "line": 218, "column": 24 }, "end": { - "line": 214, + "line": 218, "column": 30 }, "identifierName": "button" @@ -51210,15 +52545,15 @@ }, { "type": "Identifier", - "start": 8991, - "end": 8992, + "start": 9126, + "end": 9127, "loc": { "start": { - "line": 214, + "line": 218, "column": 32 }, "end": { - "line": 214, + "line": 218, "column": 33 }, "identifierName": "e" @@ -51228,73 +52563,73 @@ ], "body": { "type": "BlockStatement", - "start": 8993, - "end": 9820, + "start": 9128, + "end": 9955, "loc": { "start": { - "line": 214, + "line": 218, "column": 34 }, "end": { - "line": 246, + "line": 250, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9085, - "end": 9109, + "start": 9220, + "end": 9244, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 9085, - "end": 9108, + "start": 9220, + "end": 9243, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9085, - "end": 9101, + "start": 9220, + "end": 9236, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 9085, - "end": 9089, + "start": 9220, + "end": 9224, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 8 } }, @@ -51302,15 +52637,15 @@ }, "property": { "type": "Identifier", - "start": 9090, - "end": 9101, + "start": 9225, + "end": 9236, "loc": { "start": { - "line": 218, + "line": 222, "column": 9 }, "end": { - "line": 218, + "line": 222, "column": 20 }, "identifierName": "isMouseHold" @@ -51322,15 +52657,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9104, - "end": 9108, + "start": 9239, + "end": 9243, "loc": { "start": { - "line": 218, + "line": 222, "column": 23 }, "end": { - "line": 218, + "line": 222, "column": 27 } }, @@ -51342,15 +52677,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", - "start": 9000, - "end": 9079, + "start": 9135, + "end": 9214, "loc": { "start": { - "line": 215, + "line": 219, "column": 4 }, "end": { - "line": 217, + "line": 221, "column": 7 } } @@ -51359,58 +52694,58 @@ }, { "type": "IfStatement", - "start": 9117, - "end": 9198, + "start": 9252, + "end": 9333, "loc": { "start": { - "line": 220, + "line": 224, "column": 4 }, "end": { - "line": 221, + "line": 225, "column": 48 } }, "test": { "type": "MemberExpression", - "start": 9120, - "end": 9147, + "start": 9255, + "end": 9282, "loc": { "start": { - "line": 220, + "line": 224, "column": 7 }, "end": { - "line": 220, + "line": 224, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 9120, - "end": 9124, + "start": 9255, + "end": 9259, "loc": { "start": { - "line": 220, + "line": 224, "column": 7 }, "end": { - "line": 220, + "line": 224, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9125, - "end": 9147, + "start": 9260, + "end": 9282, "loc": { "start": { - "line": 220, + "line": 224, "column": 12 }, "end": { - "line": 220, + "line": 224, "column": 34 }, "identifierName": "holdInteractionTimeout" @@ -51421,43 +52756,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9156, - "end": 9198, + "start": 9291, + "end": 9333, "loc": { "start": { - "line": 221, + "line": 225, "column": 6 }, "end": { - "line": 221, + "line": 225, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 9156, - "end": 9197, + "start": 9291, + "end": 9332, "loc": { "start": { - "line": 221, + "line": 225, "column": 6 }, "end": { - "line": 221, + "line": 225, "column": 47 } }, "callee": { "type": "Identifier", - "start": 9156, - "end": 9168, + "start": 9291, + "end": 9303, "loc": { "start": { - "line": 221, + "line": 225, "column": 6 }, "end": { - "line": 221, + "line": 225, "column": 18 }, "identifierName": "clearTimeout" @@ -51467,44 +52802,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9169, - "end": 9196, + "start": 9304, + "end": 9331, "loc": { "start": { - "line": 221, + "line": 225, "column": 19 }, "end": { - "line": 221, + "line": 225, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 9169, - "end": 9173, + "start": 9304, + "end": 9308, "loc": { "start": { - "line": 221, + "line": 225, "column": 19 }, "end": { - "line": 221, + "line": 225, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9174, - "end": 9196, + "start": 9309, + "end": 9331, "loc": { "start": { - "line": 221, + "line": 225, "column": 24 }, "end": { - "line": 221, + "line": 225, "column": 46 }, "identifierName": "holdInteractionTimeout" @@ -51520,58 +52855,58 @@ }, { "type": "IfStatement", - "start": 9206, - "end": 9265, + "start": 9341, + "end": 9400, "loc": { "start": { - "line": 223, + "line": 227, "column": 4 }, "end": { - "line": 224, + "line": 228, "column": 37 } }, "test": { "type": "MemberExpression", - "start": 9209, - "end": 9225, + "start": 9344, + "end": 9360, "loc": { "start": { - "line": 223, + "line": 227, "column": 7 }, "end": { - "line": 223, + "line": 227, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9209, - "end": 9213, + "start": 9344, + "end": 9348, "loc": { "start": { - "line": 223, + "line": 227, "column": 7 }, "end": { - "line": 223, + "line": 227, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9214, - "end": 9225, + "start": 9349, + "end": 9360, "loc": { "start": { - "line": 223, + "line": 227, "column": 12 }, "end": { - "line": 223, + "line": 227, "column": 23 }, "identifierName": "holdTimeout" @@ -51582,43 +52917,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9234, - "end": 9265, + "start": 9369, + "end": 9400, "loc": { "start": { - "line": 224, + "line": 228, "column": 6 }, "end": { - "line": 224, + "line": 228, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 9234, - "end": 9264, + "start": 9369, + "end": 9399, "loc": { "start": { - "line": 224, + "line": 228, "column": 6 }, "end": { - "line": 224, + "line": 228, "column": 36 } }, "callee": { "type": "Identifier", - "start": 9234, - "end": 9246, + "start": 9369, + "end": 9381, "loc": { "start": { - "line": 224, + "line": 228, "column": 6 }, "end": { - "line": 224, + "line": 228, "column": 18 }, "identifierName": "clearTimeout" @@ -51628,44 +52963,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9247, - "end": 9263, + "start": 9382, + "end": 9398, "loc": { "start": { - "line": 224, + "line": 228, "column": 19 }, "end": { - "line": 224, + "line": 228, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 9247, - "end": 9251, + "start": 9382, + "end": 9386, "loc": { "start": { - "line": 224, + "line": 228, "column": 19 }, "end": { - "line": 224, + "line": 228, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9252, - "end": 9263, + "start": 9387, + "end": 9398, "loc": { "start": { - "line": 224, + "line": 228, "column": 24 }, "end": { - "line": 224, + "line": 228, "column": 35 }, "identifierName": "holdTimeout" @@ -51683,15 +53018,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", - "start": 9273, - "end": 9350, + "start": 9408, + "end": 9485, "loc": { "start": { - "line": 226, + "line": 230, "column": 4 }, "end": { - "line": 228, + "line": 232, "column": 7 } } @@ -51700,58 +53035,58 @@ }, { "type": "ExpressionStatement", - "start": 9356, - "end": 9815, + "start": 9491, + "end": 9950, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 245, + "line": 249, "column": 12 } }, "expression": { "type": "AssignmentExpression", - "start": 9356, - "end": 9814, + "start": 9491, + "end": 9949, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 245, + "line": 249, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9356, - "end": 9372, + "start": 9491, + "end": 9507, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 229, + "line": 233, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 9356, - "end": 9360, + "start": 9491, + "end": 9495, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 229, + "line": 233, "column": 8 } }, @@ -51759,15 +53094,15 @@ }, "property": { "type": "Identifier", - "start": 9361, - "end": 9372, + "start": 9496, + "end": 9507, "loc": { "start": { - "line": 229, + "line": 233, "column": 9 }, "end": { - "line": 229, + "line": 233, "column": 20 }, "identifierName": "holdTimeout" @@ -51779,29 +53114,29 @@ }, "right": { "type": "CallExpression", - "start": 9375, - "end": 9814, + "start": 9510, + "end": 9949, "loc": { "start": { - "line": 229, + "line": 233, "column": 23 }, "end": { - "line": 245, + "line": 249, "column": 11 } }, "callee": { "type": "Identifier", - "start": 9375, - "end": 9385, + "start": 9510, + "end": 9520, "loc": { "start": { - "line": 229, + "line": 233, "column": 23 }, "end": { - "line": 229, + "line": 233, "column": 33 }, "identifierName": "setTimeout" @@ -51811,15 +53146,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 9386, - "end": 9808, + "start": 9521, + "end": 9943, "loc": { "start": { - "line": 229, + "line": 233, "column": 34 }, "end": { - "line": 245, + "line": 249, "column": 5 } }, @@ -51830,87 +53165,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9392, - "end": 9808, + "start": 9527, + "end": 9943, "loc": { "start": { - "line": 229, + "line": 233, "column": 40 }, "end": { - "line": 245, + "line": 249, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9401, - "end": 9762, + "start": 9536, + "end": 9897, "loc": { "start": { - "line": 230, + "line": 234, "column": 6 }, "end": { - "line": 243, + "line": 247, "column": 7 } }, "test": { "type": "LogicalExpression", - "start": 9414, - "end": 9618, + "start": 9549, + "end": 9753, "loc": { "start": { - "line": 231, + "line": 235, "column": 8 }, "end": { - "line": 237, + "line": 241, "column": 9 } }, "left": { "type": "MemberExpression", - "start": 9414, - "end": 9430, + "start": 9549, + "end": 9565, "loc": { "start": { - "line": 231, + "line": 235, "column": 8 }, "end": { - "line": 231, + "line": 235, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 9414, - "end": 9418, + "start": 9549, + "end": 9553, "loc": { "start": { - "line": 231, + "line": 235, "column": 8 }, "end": { - "line": 231, + "line": 235, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9419, - "end": 9430, + "start": 9554, + "end": 9565, "loc": { "start": { - "line": 231, + "line": 235, "column": 13 }, "end": { - "line": 231, + "line": 235, "column": 24 }, "identifierName": "isMouseHold" @@ -51922,71 +53257,71 @@ "operator": "&&", "right": { "type": "LogicalExpression", - "start": 9457, - "end": 9607, + "start": 9592, + "end": 9742, "loc": { "start": { - "line": 233, + "line": 237, "column": 10 }, "end": { - "line": 236, + "line": 240, "column": 28 } }, "left": { "type": "LogicalExpression", - "start": 9457, - "end": 9574, + "start": 9592, + "end": 9709, "loc": { "start": { - "line": 233, + "line": 237, "column": 10 }, "end": { - "line": 235, + "line": 239, "column": 30 } }, "left": { "type": "LogicalExpression", - "start": 9457, - "end": 9539, + "start": 9592, + "end": 9674, "loc": { "start": { - "line": 233, + "line": 237, "column": 10 }, "end": { - "line": 234, + "line": 238, "column": 29 } }, "left": { "type": "LogicalExpression", - "start": 9458, - "end": 9504, + "start": 9593, + "end": 9639, "loc": { "start": { - "line": 233, + "line": 237, "column": 11 }, "end": { - "line": 233, + "line": 237, "column": 57 } }, "left": { "type": "UnaryExpression", - "start": 9458, - "end": 9479, + "start": 9593, + "end": 9614, "loc": { "start": { - "line": 233, + "line": 237, "column": 11 }, "end": { - "line": 233, + "line": 237, "column": 32 } }, @@ -51994,43 +53329,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 9459, - "end": 9479, + "start": 9594, + "end": 9614, "loc": { "start": { - "line": 233, + "line": 237, "column": 12 }, "end": { - "line": 233, + "line": 237, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 9459, - "end": 9474, + "start": 9594, + "end": 9609, "loc": { "start": { - "line": 233, + "line": 237, "column": 12 }, "end": { - "line": 233, + "line": 237, "column": 27 } }, "object": { "type": "Identifier", - "start": 9459, - "end": 9465, + "start": 9594, + "end": 9600, "loc": { "start": { - "line": 233, + "line": 237, "column": 12 }, "end": { - "line": 233, + "line": 237, "column": 18 }, "identifierName": "button" @@ -52039,15 +53374,15 @@ }, "property": { "type": "Identifier", - "start": 9466, - "end": 9474, + "start": 9601, + "end": 9609, "loc": { "start": { - "line": 233, + "line": 237, "column": 19 }, "end": { - "line": 233, + "line": 237, "column": 27 }, "identifierName": "includes" @@ -52059,15 +53394,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9475, - "end": 9478, + "start": 9610, + "end": 9613, "loc": { "start": { - "line": 233, + "line": 237, "column": 28 }, "end": { - "line": 233, + "line": 237, "column": 31 } }, @@ -52086,15 +53421,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 9483, - "end": 9504, + "start": 9618, + "end": 9639, "loc": { "start": { - "line": 233, + "line": 237, "column": 36 }, "end": { - "line": 233, + "line": 237, "column": 57 } }, @@ -52102,43 +53437,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 9484, - "end": 9504, + "start": 9619, + "end": 9639, "loc": { "start": { - "line": 233, + "line": 237, "column": 37 }, "end": { - "line": 233, + "line": 237, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 9484, - "end": 9499, + "start": 9619, + "end": 9634, "loc": { "start": { - "line": 233, + "line": 237, "column": 37 }, "end": { - "line": 233, + "line": 237, "column": 52 } }, "object": { "type": "Identifier", - "start": 9484, - "end": 9490, + "start": 9619, + "end": 9625, "loc": { "start": { - "line": 233, + "line": 237, "column": 37 }, "end": { - "line": 233, + "line": 237, "column": 43 }, "identifierName": "button" @@ -52147,15 +53482,15 @@ }, "property": { "type": "Identifier", - "start": 9491, - "end": 9499, + "start": 9626, + "end": 9634, "loc": { "start": { - "line": 233, + "line": 237, "column": 44 }, "end": { - "line": 233, + "line": 237, "column": 52 }, "identifierName": "includes" @@ -52167,15 +53502,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9500, - "end": 9503, + "start": 9635, + "end": 9638, "loc": { "start": { - "line": 233, + "line": 237, "column": 53 }, "end": { - "line": 233, + "line": 237, "column": 56 } }, @@ -52193,35 +53528,35 @@ }, "extra": { "parenthesized": true, - "parenStart": 9457 + "parenStart": 9592 } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 9520, - "end": 9539, + "start": 9655, + "end": 9674, "loc": { "start": { - "line": 234, + "line": 238, "column": 10 }, "end": { - "line": 234, + "line": 238, "column": 29 } }, "left": { "type": "Identifier", - "start": 9520, - "end": 9526, + "start": 9655, + "end": 9661, "loc": { "start": { - "line": 234, + "line": 238, "column": 10 }, "end": { - "line": 234, + "line": 238, "column": 16 }, "identifierName": "button" @@ -52231,15 +53566,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9531, - "end": 9539, + "start": 9666, + "end": 9674, "loc": { "start": { - "line": 234, + "line": 238, "column": 21 }, "end": { - "line": 234, + "line": 238, "column": 29 } }, @@ -52254,29 +53589,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 9554, - "end": 9574, + "start": 9689, + "end": 9709, "loc": { "start": { - "line": 235, + "line": 239, "column": 10 }, "end": { - "line": 235, + "line": 239, "column": 30 } }, "left": { "type": "Identifier", - "start": 9554, - "end": 9560, + "start": 9689, + "end": 9695, "loc": { "start": { - "line": 235, + "line": 239, "column": 10 }, "end": { - "line": 235, + "line": 239, "column": 16 }, "identifierName": "button" @@ -52286,15 +53621,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9565, - "end": 9574, + "start": 9700, + "end": 9709, "loc": { "start": { - "line": 235, + "line": 239, "column": 21 }, "end": { - "line": 235, + "line": 239, "column": 30 } }, @@ -52309,29 +53644,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 9589, - "end": 9607, + "start": 9724, + "end": 9742, "loc": { "start": { - "line": 236, + "line": 240, "column": 10 }, "end": { - "line": 236, + "line": 240, "column": 28 } }, "left": { "type": "Identifier", - "start": 9589, - "end": 9595, + "start": 9724, + "end": 9730, "loc": { "start": { - "line": 236, + "line": 240, "column": 10 }, "end": { - "line": 236, + "line": 240, "column": 16 }, "identifierName": "button" @@ -52341,15 +53676,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9600, - "end": 9607, + "start": 9735, + "end": 9742, "loc": { "start": { - "line": 236, + "line": 240, "column": 21 }, "end": { - "line": 236, + "line": 240, "column": 28 } }, @@ -52362,93 +53697,93 @@ }, "extra": { "parenthesized": true, - "parenStart": 9444 + "parenStart": 9579 } } }, "consequent": { "type": "BlockStatement", - "start": 9627, - "end": 9762, + "start": 9762, + "end": 9897, "loc": { "start": { - "line": 238, + "line": 242, "column": 7 }, "end": { - "line": 243, + "line": 247, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 9638, - "end": 9708, + "start": 9773, + "end": 9843, "loc": { "start": { - "line": 239, + "line": 243, "column": 8 }, "end": { - "line": 240, + "line": 244, "column": 46 } }, "test": { "type": "MemberExpression", - "start": 9641, - "end": 9659, + "start": 9776, + "end": 9794, "loc": { "start": { - "line": 239, + "line": 243, "column": 11 }, "end": { - "line": 239, + "line": 243, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 9641, - "end": 9653, + "start": 9776, + "end": 9788, "loc": { "start": { - "line": 239, + "line": 243, "column": 11 }, "end": { - "line": 239, + "line": 243, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 9641, - "end": 9645, + "start": 9776, + "end": 9780, "loc": { "start": { - "line": 239, + "line": 243, "column": 11 }, "end": { - "line": 239, + "line": 243, "column": 15 } } }, "property": { "type": "Identifier", - "start": 9646, - "end": 9653, + "start": 9781, + "end": 9788, "loc": { "start": { - "line": 239, + "line": 243, "column": 16 }, "end": { - "line": 239, + "line": 243, "column": 23 }, "identifierName": "options" @@ -52459,15 +53794,15 @@ }, "property": { "type": "Identifier", - "start": 9654, - "end": 9659, + "start": 9789, + "end": 9794, "loc": { "start": { - "line": 239, + "line": 243, "column": 24 }, "end": { - "line": 239, + "line": 243, "column": 29 }, "identifierName": "debug" @@ -52478,57 +53813,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9672, - "end": 9708, + "start": 9807, + "end": 9843, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 9672, - "end": 9707, + "start": 9807, + "end": 9842, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 9672, - "end": 9683, + "start": 9807, + "end": 9818, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 21 } }, "object": { "type": "Identifier", - "start": 9672, - "end": 9679, + "start": 9807, + "end": 9814, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 17 }, "identifierName": "console" @@ -52537,15 +53872,15 @@ }, "property": { "type": "Identifier", - "start": 9680, - "end": 9683, + "start": 9815, + "end": 9818, "loc": { "start": { - "line": 240, + "line": 244, "column": 18 }, "end": { - "line": 240, + "line": 244, "column": 21 }, "identifierName": "log" @@ -52557,15 +53892,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9684, - "end": 9698, + "start": 9819, + "end": 9833, "loc": { "start": { - "line": 240, + "line": 244, "column": 22 }, "end": { - "line": 240, + "line": 244, "column": 36 } }, @@ -52577,15 +53912,15 @@ }, { "type": "Identifier", - "start": 9700, - "end": 9706, + "start": 9835, + "end": 9841, "loc": { "start": { - "line": 240, + "line": 244, "column": 38 }, "end": { - "line": 240, + "line": 244, "column": 44 }, "identifierName": "button" @@ -52599,72 +53934,72 @@ }, { "type": "ExpressionStatement", - "start": 9720, - "end": 9753, + "start": 9855, + "end": 9888, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 9720, - "end": 9752, + "start": 9855, + "end": 9887, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 9720, - "end": 9741, + "start": 9855, + "end": 9876, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9720, - "end": 9724, + "start": 9855, + "end": 9859, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9725, - "end": 9741, + "start": 9860, + "end": 9876, "loc": { "start": { - "line": 242, + "line": 246, "column": 13 }, "end": { - "line": 242, + "line": 246, "column": 29 }, "identifierName": "handleButtonHold" @@ -52676,15 +54011,15 @@ "arguments": [ { "type": "Identifier", - "start": 9742, - "end": 9748, + "start": 9877, + "end": 9883, "loc": { "start": { - "line": 242, + "line": 246, "column": 30 }, "end": { - "line": 242, + "line": 246, "column": 36 }, "identifierName": "button" @@ -52693,15 +54028,15 @@ }, { "type": "Identifier", - "start": 9750, - "end": 9751, + "start": 9885, + "end": 9886, "loc": { "start": { - "line": 242, + "line": 246, "column": 38 }, "end": { - "line": 242, + "line": 246, "column": 39 }, "identifierName": "e" @@ -52718,43 +54053,43 @@ }, { "type": "ExpressionStatement", - "start": 9770, - "end": 9801, + "start": 9905, + "end": 9936, "loc": { "start": { - "line": 244, + "line": 248, "column": 6 }, "end": { - "line": 244, + "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 9770, - "end": 9800, + "start": 9905, + "end": 9935, "loc": { "start": { - "line": 244, + "line": 248, "column": 6 }, "end": { - "line": 244, + "line": 248, "column": 36 } }, "callee": { "type": "Identifier", - "start": 9770, - "end": 9782, + "start": 9905, + "end": 9917, "loc": { "start": { - "line": 244, + "line": 248, "column": 6 }, "end": { - "line": 244, + "line": 248, "column": 18 }, "identifierName": "clearTimeout" @@ -52764,44 +54099,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9783, - "end": 9799, + "start": 9918, + "end": 9934, "loc": { "start": { - "line": 244, + "line": 248, "column": 19 }, "end": { - "line": 244, + "line": 248, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 9783, - "end": 9787, + "start": 9918, + "end": 9922, "loc": { "start": { - "line": 244, + "line": 248, "column": 19 }, "end": { - "line": 244, + "line": 248, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9788, - "end": 9799, + "start": 9923, + "end": 9934, "loc": { "start": { - "line": 244, + "line": 248, "column": 24 }, "end": { - "line": 244, + "line": 248, "column": 35 }, "identifierName": "holdTimeout" @@ -52819,15 +54154,15 @@ }, { "type": "NumericLiteral", - "start": 9810, - "end": 9813, + "start": 9945, + "end": 9948, "loc": { "start": { - "line": 245, + "line": 249, "column": 7 }, "end": { - "line": 245, + "line": 249, "column": 10 } }, @@ -52845,15 +54180,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", - "start": 9273, - "end": 9350, + "start": 9408, + "end": 9485, "loc": { "start": { - "line": 226, + "line": 230, "column": 4 }, "end": { - "line": 228, + "line": 232, "column": 7 } } @@ -52868,15 +54203,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", - "start": 8886, - "end": 8927, + "start": 9021, + "end": 9062, "loc": { "start": { - "line": 210, + "line": 214, "column": 2 }, "end": { - "line": 212, + "line": 216, "column": 5 } } @@ -52884,15 +54219,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 8931, - "end": 8957, + "start": 9066, + "end": 9092, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 213, + "line": 217, "column": 28 } } @@ -52902,15 +54237,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", - "start": 9826, - "end": 9865, + "start": 9961, + "end": 10000, "loc": { "start": { - "line": 248, + "line": 252, "column": 2 }, "end": { - "line": 250, + "line": 254, "column": 5 } } @@ -52919,15 +54254,15 @@ }, { "type": "ClassMethod", - "start": 9869, - "end": 10014, + "start": 10004, + "end": 10149, "loc": { "start": { - "line": 251, + "line": 255, "column": 2 }, "end": { - "line": 255, + "line": 259, "column": 3 } }, @@ -52935,15 +54270,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9869, - "end": 9888, + "start": 10004, + "end": 10023, "loc": { "start": { - "line": 251, + "line": 255, "column": 2 }, "end": { - "line": 251, + "line": 255, "column": 21 }, "identifierName": "handleButtonMouseUp" @@ -52959,88 +54294,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9890, - "end": 10014, + "start": 10025, + "end": 10149, "loc": { "start": { - "line": 251, + "line": 255, "column": 23 }, "end": { - "line": 255, + "line": 259, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 9897, - "end": 9922, + "start": 10032, + "end": 10057, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 9897, - "end": 9921, + "start": 10032, + "end": 10056, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9897, - "end": 9913, + "start": 10032, + "end": 10048, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 9897, - "end": 9901, + "start": 10032, + "end": 10036, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 8 } } }, "property": { "type": "Identifier", - "start": 9902, - "end": 9913, + "start": 10037, + "end": 10048, "loc": { "start": { - "line": 252, + "line": 256, "column": 9 }, "end": { - "line": 252, + "line": 256, "column": 20 }, "identifierName": "isMouseHold" @@ -53051,15 +54386,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9916, - "end": 9921, + "start": 10051, + "end": 10056, "loc": { "start": { - "line": 252, + "line": 256, "column": 23 }, "end": { - "line": 252, + "line": 256, "column": 28 } }, @@ -53069,58 +54404,58 @@ }, { "type": "IfStatement", - "start": 9928, - "end": 10009, + "start": 10063, + "end": 10144, "loc": { "start": { - "line": 253, + "line": 257, "column": 4 }, "end": { - "line": 254, + "line": 258, "column": 48 } }, "test": { "type": "MemberExpression", - "start": 9931, - "end": 9958, + "start": 10066, + "end": 10093, "loc": { "start": { - "line": 253, + "line": 257, "column": 7 }, "end": { - "line": 253, + "line": 257, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 9931, - "end": 9935, + "start": 10066, + "end": 10070, "loc": { "start": { - "line": 253, + "line": 257, "column": 7 }, "end": { - "line": 253, + "line": 257, "column": 11 } } }, "property": { "type": "Identifier", - "start": 9936, - "end": 9958, + "start": 10071, + "end": 10093, "loc": { "start": { - "line": 253, + "line": 257, "column": 12 }, "end": { - "line": 253, + "line": 257, "column": 34 }, "identifierName": "holdInteractionTimeout" @@ -53131,43 +54466,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9967, - "end": 10009, + "start": 10102, + "end": 10144, "loc": { "start": { - "line": 254, + "line": 258, "column": 6 }, "end": { - "line": 254, + "line": 258, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 9967, - "end": 10008, + "start": 10102, + "end": 10143, "loc": { "start": { - "line": 254, + "line": 258, "column": 6 }, "end": { - "line": 254, + "line": 258, "column": 47 } }, "callee": { "type": "Identifier", - "start": 9967, - "end": 9979, + "start": 10102, + "end": 10114, "loc": { "start": { - "line": 254, + "line": 258, "column": 6 }, "end": { - "line": 254, + "line": 258, "column": 18 }, "identifierName": "clearTimeout" @@ -53177,44 +54512,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9980, - "end": 10007, + "start": 10115, + "end": 10142, "loc": { "start": { - "line": 254, + "line": 258, "column": 19 }, "end": { - "line": 254, + "line": 258, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 9980, - "end": 9984, + "start": 10115, + "end": 10119, "loc": { "start": { - "line": 254, + "line": 258, "column": 19 }, "end": { - "line": 254, + "line": 258, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9985, - "end": 10007, + "start": 10120, + "end": 10142, "loc": { "start": { - "line": 254, + "line": 258, "column": 24 }, "end": { - "line": 254, + "line": 258, "column": 46 }, "identifierName": "holdInteractionTimeout" @@ -53236,15 +54571,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", - "start": 9826, - "end": 9865, + "start": 9961, + "end": 10000, "loc": { "start": { - "line": 248, + "line": 252, "column": 2 }, "end": { - "line": 250, + "line": 254, "column": 5 } } @@ -53254,15 +54589,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", - "start": 10020, - "end": 10056, + "start": 10155, + "end": 10191, "loc": { "start": { - "line": 257, + "line": 261, "column": 2 }, "end": { - "line": 259, + "line": 263, "column": 5 } } @@ -53270,15 +54605,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 10060, - "end": 10086, + "start": 10195, + "end": 10221, "loc": { "start": { - "line": 260, + "line": 264, "column": 2 }, "end": { - "line": 260, + "line": 264, "column": 28 } } @@ -53287,15 +54622,15 @@ }, { "type": "ClassMethod", - "start": 10090, - "end": 10359, + "start": 10225, + "end": 10693, "loc": { "start": { - "line": 261, + "line": 265, "column": 2 }, "end": { - "line": 269, + "line": 280, "column": 3 } }, @@ -53303,15 +54638,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10090, - "end": 10106, + "start": 10225, + "end": 10241, "loc": { "start": { - "line": 261, + "line": 265, "column": 2 }, "end": { - "line": 261, + "line": 265, "column": 18 }, "identifierName": "handleButtonHold" @@ -53327,15 +54662,15 @@ "params": [ { "type": "Identifier", - "start": 10107, - "end": 10113, + "start": 10242, + "end": 10248, "loc": { "start": { - "line": 261, + "line": 265, "column": 19 }, "end": { - "line": 261, + "line": 265, "column": 25 }, "identifierName": "button" @@ -53345,73 +54680,253 @@ ], "body": { "type": "BlockStatement", - "start": 10114, - "end": 10359, + "start": 10249, + "end": 10693, "loc": { "start": { - "line": 261, + "line": 265, "column": 26 }, "end": { - "line": 269, + "line": 280, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", - "start": 10213, - "end": 10354, + "type": "IfStatement", + "start": 10256, + "end": 10337, "loc": { "start": { - "line": 265, + "line": 266, "column": 4 }, "end": { - "line": 268, + "line": 267, + "column": 48 + } + }, + "test": { + "type": "MemberExpression", + "start": 10259, + "end": 10286, + "loc": { + "start": { + "line": 266, + "column": 7 + }, + "end": { + "line": 266, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 10259, + "end": 10263, + "loc": { + "start": { + "line": 266, + "column": 7 + }, + "end": { + "line": 266, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 10264, + "end": 10286, + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 34 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + }, + "consequent": { + "type": "ExpressionStatement", + "start": 10295, + "end": 10337, + "loc": { + "start": { + "line": 267, + "column": 6 + }, + "end": { + "line": 267, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 10295, + "end": 10336, + "loc": { + "start": { + "line": 267, + "column": 6 + }, + "end": { + "line": 267, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 10295, + "end": 10307, + "loc": { + "start": { + "line": 267, + "column": 6 + }, + "end": { + "line": 267, + "column": 18 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10308, + "end": 10335, + "loc": { + "start": { + "line": 267, + "column": 19 + }, + "end": { + "line": 267, + "column": 46 + } + }, + "object": { + "type": "ThisExpression", + "start": 10308, + "end": 10312, + "loc": { + "start": { + "line": 267, + "column": 19 + }, + "end": { + "line": 267, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 10313, + "end": 10335, + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 46 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + } + ] + }, + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", + "start": 10345, + "end": 10431, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 271, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 10437, + "end": 10688, + "loc": { + "start": { + "line": 272, + "column": 4 + }, + "end": { + "line": 279, "column": 12 } }, "expression": { "type": "AssignmentExpression", - "start": 10213, - "end": 10353, + "start": 10437, + "end": 10687, "loc": { "start": { - "line": 265, + "line": 272, "column": 4 }, "end": { - "line": 268, + "line": 279, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10213, - "end": 10240, + "start": 10437, + "end": 10464, "loc": { "start": { - "line": 265, + "line": 272, "column": 4 }, "end": { - "line": 265, + "line": 272, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 10213, - "end": 10217, + "start": 10437, + "end": 10441, "loc": { "start": { - "line": 265, + "line": 272, "column": 4 }, "end": { - "line": 265, + "line": 272, "column": 8 } }, @@ -53419,15 +54934,15 @@ }, "property": { "type": "Identifier", - "start": 10218, - "end": 10240, + "start": 10442, + "end": 10464, "loc": { "start": { - "line": 265, + "line": 272, "column": 9 }, "end": { - "line": 265, + "line": 272, "column": 31 }, "identifierName": "holdInteractionTimeout" @@ -53439,29 +54954,29 @@ }, "right": { "type": "CallExpression", - "start": 10243, - "end": 10353, + "start": 10467, + "end": 10687, "loc": { "start": { - "line": 265, + "line": 272, "column": 34 }, "end": { - "line": 268, + "line": 279, "column": 11 } }, "callee": { "type": "Identifier", - "start": 10243, - "end": 10253, + "start": 10467, + "end": 10477, "loc": { "start": { - "line": 265, + "line": 272, "column": 34 }, "end": { - "line": 265, + "line": 272, "column": 44 }, "identifierName": "setTimeout" @@ -53471,15 +54986,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10254, - "end": 10347, + "start": 10478, + "end": 10681, "loc": { "start": { - "line": 265, + "line": 272, "column": 45 }, "end": { - "line": 268, + "line": 279, "column": 5 } }, @@ -53490,211 +55005,407 @@ "params": [], "body": { "type": "BlockStatement", - "start": 10260, - "end": 10347, + "start": 10484, + "end": 10681, "loc": { "start": { - "line": 265, + "line": 272, "column": 51 }, "end": { - "line": 268, + "line": 279, "column": 5 } }, "body": [ { - "type": "ExpressionStatement", - "start": 10269, - "end": 10302, + "type": "IfStatement", + "start": 10493, + "end": 10674, "loc": { "start": { - "line": 266, + "line": 273, "column": 6 }, "end": { - "line": 266, - "column": 39 + "line": 278, + "column": 7 } }, - "expression": { - "type": "CallExpression", - "start": 10269, - "end": 10301, + "test": { + "type": "MemberExpression", + "start": 10496, + "end": 10512, "loc": { "start": { - "line": 266, - "column": 6 + "line": 273, + "column": 9 }, "end": { - "line": 266, - "column": 38 + "line": 273, + "column": 25 } }, - "callee": { - "type": "MemberExpression", - "start": 10269, - "end": 10293, + "object": { + "type": "ThisExpression", + "start": 10496, + "end": 10500, "loc": { "start": { - "line": 266, - "column": 6 + "line": 273, + "column": 9 }, "end": { - "line": 266, - "column": 30 + "line": 273, + "column": 13 } - }, - "object": { - "type": "ThisExpression", - "start": 10269, - "end": 10273, - "loc": { - "start": { - "line": 266, - "column": 6 - }, - "end": { - "line": 266, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 10274, - "end": 10293, - "loc": { - "start": { - "line": 266, - "column": 11 - }, - "end": { - "line": 266, - "column": 30 - }, - "identifierName": "handleButtonClicked" - }, - "name": "handleButtonClicked" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 10294, - "end": 10300, - "loc": { - "start": { - "line": 266, - "column": 31 - }, - "end": { - "line": 266, - "column": 37 - }, - "identifierName": "button" - }, - "name": "button" } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 10310, - "end": 10340, - "loc": { - "start": { - "line": 267, - "column": 6 }, - "end": { - "line": 267, - "column": 36 - } + "property": { + "type": "Identifier", + "start": 10501, + "end": 10512, + "loc": { + "start": { + "line": 273, + "column": 14 + }, + "end": { + "line": 273, + "column": 25 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false }, - "expression": { - "type": "CallExpression", - "start": 10310, - "end": 10339, + "consequent": { + "type": "BlockStatement", + "start": 10513, + "end": 10606, "loc": { "start": { - "line": 267, - "column": 6 + "line": 273, + "column": 26 }, "end": { - "line": 267, - "column": 35 + "line": 276, + "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 10310, - "end": 10331, - "loc": { - "start": { - "line": 267, - "column": 6 - }, - "end": { - "line": 267, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 10310, - "end": 10314, - "loc": { - "start": { - "line": 267, - "column": 6 - }, - "end": { - "line": 267, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 10315, - "end": 10331, - "loc": { - "start": { - "line": 267, - "column": 11 - }, - "end": { - "line": 267, - "column": 27 - }, - "identifierName": "handleButtonHold" - }, - "name": "handleButtonHold" - }, - "computed": false - }, - "arguments": [ + "body": [ { - "type": "Identifier", - "start": 10332, - "end": 10338, + "type": "ExpressionStatement", + "start": 10524, + "end": 10557, "loc": { "start": { - "line": 267, - "column": 28 + "line": 274, + "column": 8 }, "end": { - "line": 267, - "column": 34 - }, - "identifierName": "button" + "line": 274, + "column": 41 + } }, - "name": "button" + "expression": { + "type": "CallExpression", + "start": 10524, + "end": 10556, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10524, + "end": 10548, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 32 + } + }, + "object": { + "type": "ThisExpression", + "start": 10524, + "end": 10528, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 10529, + "end": 10548, + "loc": { + "start": { + "line": 274, + "column": 13 + }, + "end": { + "line": 274, + "column": 32 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10549, + "end": 10555, + "loc": { + "start": { + "line": 274, + "column": 33 + }, + "end": { + "line": 274, + "column": 39 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10567, + "end": 10597, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 10567, + "end": 10596, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10567, + "end": 10588, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 10567, + "end": 10571, + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 10572, + "end": 10588, + "loc": { + "start": { + "line": 275, + "column": 13 + }, + "end": { + "line": 275, + "column": 29 + }, + "identifierName": "handleButtonHold" + }, + "name": "handleButtonHold" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10589, + "end": 10595, + "loc": { + "start": { + "line": 275, + "column": 30 + }, + "end": { + "line": 275, + "column": 36 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } } - ] + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 10612, + "end": 10674, + "loc": { + "start": { + "line": 276, + "column": 13 + }, + "end": { + "line": 278, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10623, + "end": 10665, + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 50 + } + }, + "expression": { + "type": "CallExpression", + "start": 10623, + "end": 10664, + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 10623, + "end": 10635, + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 20 + }, + "identifierName": "clearTimeout" + }, + "name": "clearTimeout" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 10636, + "end": 10663, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 10636, + "end": 10640, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 10641, + "end": 10663, + "loc": { + "start": { + "line": 277, + "column": 26 + }, + "end": { + "line": 277, + "column": 48 + }, + "identifierName": "holdInteractionTimeout" + }, + "name": "holdInteractionTimeout" + }, + "computed": false + } + ] + } + } + ], + "directives": [] } } ], @@ -53703,15 +55414,15 @@ }, { "type": "NumericLiteral", - "start": 10349, - "end": 10352, + "start": 10683, + "end": 10686, "loc": { "start": { - "line": 268, + "line": 279, "column": 7 }, "end": { - "line": 268, + "line": 279, "column": 10 } }, @@ -53729,15 +55440,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", - "start": 10121, - "end": 10207, + "start": 10345, + "end": 10431, "loc": { "start": { - "line": 262, + "line": 269, "column": 4 }, "end": { - "line": 264, + "line": 271, "column": 7 } } @@ -53752,15 +55463,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", - "start": 10020, - "end": 10056, + "start": 10155, + "end": 10191, "loc": { "start": { - "line": 257, + "line": 261, "column": 2 }, "end": { - "line": 259, + "line": 263, "column": 5 } } @@ -53768,15 +55479,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 10060, - "end": 10086, + "start": 10195, + "end": 10221, "loc": { "start": { - "line": 260, + "line": 264, "column": 2 }, "end": { - "line": 260, + "line": 264, "column": 28 } } @@ -53786,15 +55497,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 10365, - "end": 10462, + "start": 10699, + "end": 10796, "loc": { "start": { - "line": 271, + "line": 282, "column": 2 }, "end": { - "line": 273, + "line": 284, "column": 5 } } @@ -53803,15 +55514,15 @@ }, { "type": "ClassMethod", - "start": 10466, - "end": 10578, + "start": 10800, + "end": 10912, "loc": { "start": { - "line": 274, + "line": 285, "column": 2 }, "end": { - "line": 278, + "line": 289, "column": 3 } }, @@ -53819,15 +55530,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10466, - "end": 10484, + "start": 10800, + "end": 10818, "loc": { "start": { - "line": 274, + "line": 285, "column": 2 }, "end": { - "line": 274, + "line": 285, "column": 20 }, "identifierName": "syncInstanceInputs" @@ -53843,87 +55554,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 10486, - "end": 10578, + "start": 10820, + "end": 10912, "loc": { "start": { - "line": 274, + "line": 285, "column": 22 }, "end": { - "line": 278, + "line": 289, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10493, - "end": 10573, + "start": 10827, + "end": 10907, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 277, + "line": 288, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 10493, - "end": 10572, + "start": 10827, + "end": 10906, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 277, + "line": 288, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 10493, - "end": 10506, + "start": 10827, + "end": 10840, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 275, + "line": 286, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 10493, - "end": 10497, + "start": 10827, + "end": 10831, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 275, + "line": 286, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10498, - "end": 10506, + "start": 10832, + "end": 10840, "loc": { "start": { - "line": 275, + "line": 286, "column": 9 }, "end": { - "line": 275, + "line": 286, "column": 17 }, "identifierName": "dispatch" @@ -53935,15 +55646,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10507, - "end": 10571, + "start": 10841, + "end": 10905, "loc": { "start": { - "line": 275, + "line": 286, "column": 18 }, "end": { - "line": 277, + "line": 288, "column": 5 } }, @@ -53954,15 +55665,15 @@ "params": [ { "type": "Identifier", - "start": 10508, - "end": 10516, + "start": 10842, + "end": 10850, "loc": { "start": { - "line": 275, + "line": 286, "column": 19 }, "end": { - "line": 275, + "line": 286, "column": 27 }, "identifierName": "instance" @@ -53972,72 +55683,72 @@ ], "body": { "type": "BlockStatement", - "start": 10521, - "end": 10571, + "start": 10855, + "end": 10905, "loc": { "start": { - "line": 275, + "line": 286, "column": 32 }, "end": { - "line": 277, + "line": 288, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 10530, - "end": 10564, + "start": 10864, + "end": 10898, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 10530, - "end": 10563, + "start": 10864, + "end": 10897, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 10530, - "end": 10551, + "start": 10864, + "end": 10885, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 27 } }, "object": { "type": "Identifier", - "start": 10530, - "end": 10538, + "start": 10864, + "end": 10872, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 14 }, "identifierName": "instance" @@ -54046,15 +55757,15 @@ }, "property": { "type": "Identifier", - "start": 10539, - "end": 10551, + "start": 10873, + "end": 10885, "loc": { "start": { - "line": 276, + "line": 287, "column": 15 }, "end": { - "line": 276, + "line": 287, "column": 27 }, "identifierName": "replaceInput" @@ -54066,44 +55777,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 10552, - "end": 10562, + "start": 10886, + "end": 10896, "loc": { "start": { - "line": 276, + "line": 287, "column": 28 }, "end": { - "line": 276, + "line": 287, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 10552, - "end": 10556, + "start": 10886, + "end": 10890, "loc": { "start": { - "line": 276, + "line": 287, "column": 28 }, "end": { - "line": 276, + "line": 287, "column": 32 } } }, "property": { "type": "Identifier", - "start": 10557, - "end": 10562, + "start": 10891, + "end": 10896, "loc": { "start": { - "line": 276, + "line": 287, "column": 33 }, "end": { - "line": 276, + "line": 287, "column": 38 }, "identifierName": "input" @@ -54130,15 +55841,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 10365, - "end": 10462, + "start": 10699, + "end": 10796, "loc": { "start": { - "line": 271, + "line": 282, "column": 2 }, "end": { - "line": 273, + "line": 284, "column": 5 } } @@ -54148,15 +55859,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10586, - "end": 10704, + "start": 10920, + "end": 11038, "loc": { "start": { - "line": 280, + "line": 291, "column": 2 }, "end": { - "line": 283, + "line": 294, "column": 5 } } @@ -54165,15 +55876,15 @@ }, { "type": "ClassMethod", - "start": 10708, - "end": 10983, + "start": 11042, + "end": 11317, "loc": { "start": { - "line": 284, + "line": 295, "column": 2 }, "end": { - "line": 293, + "line": 304, "column": 3 } }, @@ -54181,15 +55892,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10708, - "end": 10718, + "start": 11042, + "end": 11052, "loc": { "start": { - "line": 284, + "line": 295, "column": 2 }, "end": { - "line": 284, + "line": 295, "column": 12 }, "identifierName": "clearInput" @@ -54205,15 +55916,15 @@ "params": [ { "type": "Identifier", - "start": 10719, - "end": 10728, + "start": 11053, + "end": 11062, "loc": { "start": { - "line": 284, + "line": 295, "column": 13 }, "end": { - "line": 284, + "line": 295, "column": 22 }, "identifierName": "inputName" @@ -54223,59 +55934,59 @@ ], "body": { "type": "BlockStatement", - "start": 10729, - "end": 10983, + "start": 11063, + "end": 11317, "loc": { "start": { - "line": 284, + "line": 295, "column": 23 }, "end": { - "line": 293, + "line": 304, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 10736, - "end": 10784, + "start": 11070, + "end": 11118, "loc": { "start": { - "line": 285, + "line": 296, "column": 4 }, "end": { - "line": 285, + "line": 296, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 10736, - "end": 10783, + "start": 11070, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 4 }, "end": { - "line": 285, + "line": 296, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10736, - "end": 10745, + "start": 11070, + "end": 11079, "loc": { "start": { - "line": 285, + "line": 296, "column": 4 }, "end": { - "line": 285, + "line": 296, "column": 13 }, "identifierName": "inputName" @@ -54284,29 +55995,29 @@ }, "right": { "type": "LogicalExpression", - "start": 10748, - "end": 10783, + "start": 11082, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 16 }, "end": { - "line": 285, + "line": 296, "column": 51 } }, "left": { "type": "Identifier", - "start": 10748, - "end": 10757, + "start": 11082, + "end": 11091, "loc": { "start": { - "line": 285, + "line": 296, "column": 16 }, "end": { - "line": 285, + "line": 296, "column": 25 }, "identifierName": "inputName" @@ -54316,58 +56027,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 10761, - "end": 10783, + "start": 11095, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 29 }, "end": { - "line": 285, + "line": 296, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 10761, - "end": 10773, + "start": 11095, + "end": 11107, "loc": { "start": { - "line": 285, + "line": 296, "column": 29 }, "end": { - "line": 285, + "line": 296, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 10761, - "end": 10765, + "start": 11095, + "end": 11099, "loc": { "start": { - "line": 285, + "line": 296, "column": 29 }, "end": { - "line": 285, + "line": 296, "column": 33 } } }, "property": { "type": "Identifier", - "start": 10766, - "end": 10773, + "start": 11100, + "end": 11107, "loc": { "start": { - "line": 285, + "line": 296, "column": 34 }, "end": { - "line": 285, + "line": 296, "column": 41 }, "identifierName": "options" @@ -54378,15 +56089,15 @@ }, "property": { "type": "Identifier", - "start": 10774, - "end": 10783, + "start": 11108, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 42 }, "end": { - "line": 285, + "line": 296, "column": 51 }, "identifierName": "inputName" @@ -54400,87 +56111,87 @@ }, { "type": "ExpressionStatement", - "start": 10790, - "end": 10830, + "start": 11124, + "end": 11164, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 10790, - "end": 10829, + "start": 11124, + "end": 11163, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10790, - "end": 10824, + "start": 11124, + "end": 11158, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 10790, - "end": 10800, + "start": 11124, + "end": 11134, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 10790, - "end": 10794, + "start": 11124, + "end": 11128, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 8 } } }, "property": { "type": "Identifier", - "start": 10795, - "end": 10800, + "start": 11129, + "end": 11134, "loc": { "start": { - "line": 286, + "line": 297, "column": 9 }, "end": { - "line": 286, + "line": 297, "column": 14 }, "identifierName": "input" @@ -54491,58 +56202,58 @@ }, "property": { "type": "MemberExpression", - "start": 10801, - "end": 10823, + "start": 11135, + "end": 11157, "loc": { "start": { - "line": 286, + "line": 297, "column": 15 }, "end": { - "line": 286, + "line": 297, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 10801, - "end": 10813, + "start": 11135, + "end": 11147, "loc": { "start": { - "line": 286, + "line": 297, "column": 15 }, "end": { - "line": 286, + "line": 297, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 10801, - "end": 10805, + "start": 11135, + "end": 11139, "loc": { "start": { - "line": 286, + "line": 297, "column": 15 }, "end": { - "line": 286, + "line": 297, "column": 19 } } }, "property": { "type": "Identifier", - "start": 10806, - "end": 10813, + "start": 11140, + "end": 11147, "loc": { "start": { - "line": 286, + "line": 297, "column": 20 }, "end": { - "line": 286, + "line": 297, "column": 27 }, "identifierName": "options" @@ -54553,15 +56264,15 @@ }, "property": { "type": "Identifier", - "start": 10814, - "end": 10823, + "start": 11148, + "end": 11157, "loc": { "start": { - "line": 286, + "line": 297, "column": 28 }, "end": { - "line": 286, + "line": 297, "column": 37 }, "identifierName": "inputName" @@ -54574,15 +56285,15 @@ }, "right": { "type": "StringLiteral", - "start": 10827, - "end": 10829, + "start": 11161, + "end": 11163, "loc": { "start": { - "line": 286, + "line": 297, "column": 41 }, "end": { - "line": 286, + "line": 297, "column": 43 } }, @@ -54597,15 +56308,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 10838, - "end": 10893, + "start": 11172, + "end": 11227, "loc": { "start": { - "line": 288, + "line": 299, "column": 4 }, "end": { - "line": 290, + "line": 301, "column": 7 } } @@ -54614,57 +56325,57 @@ }, { "type": "IfStatement", - "start": 10899, - "end": 10978, + "start": 11233, + "end": 11312, "loc": { "start": { - "line": 291, + "line": 302, "column": 4 }, "end": { - "line": 292, + "line": 303, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 10902, - "end": 10933, + "start": 11236, + "end": 11267, "loc": { "start": { - "line": 291, + "line": 302, "column": 7 }, "end": { - "line": 291, + "line": 302, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 10902, - "end": 10914, + "start": 11236, + "end": 11248, "loc": { "start": { - "line": 291, + "line": 302, "column": 7 }, "end": { - "line": 291, + "line": 302, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 10902, - "end": 10906, + "start": 11236, + "end": 11240, "loc": { "start": { - "line": 291, + "line": 302, "column": 7 }, "end": { - "line": 291, + "line": 302, "column": 11 } }, @@ -54672,15 +56383,15 @@ }, "property": { "type": "Identifier", - "start": 10907, - "end": 10914, + "start": 11241, + "end": 11248, "loc": { "start": { - "line": 291, + "line": 302, "column": 12 }, "end": { - "line": 291, + "line": 302, "column": 19 }, "identifierName": "options" @@ -54692,15 +56403,15 @@ }, "property": { "type": "Identifier", - "start": 10915, - "end": 10933, + "start": 11249, + "end": 11267, "loc": { "start": { - "line": 291, + "line": 302, "column": 20 }, "end": { - "line": 291, + "line": 302, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -54712,72 +56423,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 10942, - "end": 10978, + "start": 11276, + "end": 11312, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 10942, - "end": 10977, + "start": 11276, + "end": 11311, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 10942, - "end": 10965, + "start": 11276, + "end": 11299, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 10942, - "end": 10946, + "start": 11276, + "end": 11280, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 10 } } }, "property": { "type": "Identifier", - "start": 10947, - "end": 10965, + "start": 11281, + "end": 11299, "loc": { "start": { - "line": 292, + "line": 303, "column": 11 }, "end": { - "line": 292, + "line": 303, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -54789,44 +56500,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 10966, - "end": 10976, + "start": 11300, + "end": 11310, "loc": { "start": { - "line": 292, + "line": 303, "column": 30 }, "end": { - "line": 292, + "line": 303, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 10966, - "end": 10970, + "start": 11300, + "end": 11304, "loc": { "start": { - "line": 292, + "line": 303, "column": 30 }, "end": { - "line": 292, + "line": 303, "column": 34 } } }, "property": { "type": "Identifier", - "start": 10971, - "end": 10976, + "start": 11305, + "end": 11310, "loc": { "start": { - "line": 292, + "line": 303, "column": 35 }, "end": { - "line": 292, + "line": 303, "column": 40 }, "identifierName": "input" @@ -54843,15 +56554,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 10838, - "end": 10893, + "start": 11172, + "end": 11227, "loc": { "start": { - "line": 288, + "line": 299, "column": 4 }, "end": { - "line": 290, + "line": 301, "column": 7 } } @@ -54866,15 +56577,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10586, - "end": 10704, + "start": 10920, + "end": 11038, "loc": { "start": { - "line": 280, + "line": 291, "column": 2 }, "end": { - "line": 283, + "line": 294, "column": 5 } } @@ -54884,15 +56595,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10989, - "end": 11151, + "start": 11323, + "end": 11485, "loc": { "start": { - "line": 295, + "line": 306, "column": 2 }, "end": { - "line": 298, + "line": 309, "column": 5 } } @@ -54901,15 +56612,15 @@ }, { "type": "ClassMethod", - "start": 11155, - "end": 11432, + "start": 11489, + "end": 11766, "loc": { "start": { - "line": 299, + "line": 310, "column": 2 }, "end": { - "line": 309, + "line": 320, "column": 3 } }, @@ -54917,15 +56628,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11155, - "end": 11163, + "start": 11489, + "end": 11497, "loc": { "start": { - "line": 299, + "line": 310, "column": 2 }, "end": { - "line": 299, + "line": 310, "column": 10 }, "identifierName": "getInput" @@ -54941,15 +56652,15 @@ "params": [ { "type": "Identifier", - "start": 11164, - "end": 11173, + "start": 11498, + "end": 11507, "loc": { "start": { - "line": 299, + "line": 310, "column": 11 }, "end": { - "line": 299, + "line": 310, "column": 20 }, "identifierName": "inputName" @@ -54959,59 +56670,59 @@ ], "body": { "type": "BlockStatement", - "start": 11174, - "end": 11432, + "start": 11508, + "end": 11766, "loc": { "start": { - "line": 299, + "line": 310, "column": 21 }, "end": { - "line": 309, + "line": 320, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 11181, - "end": 11229, + "start": 11515, + "end": 11563, "loc": { "start": { - "line": 300, + "line": 311, "column": 4 }, "end": { - "line": 300, + "line": 311, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 11181, - "end": 11228, + "start": 11515, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 4 }, "end": { - "line": 300, + "line": 311, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 11181, - "end": 11190, + "start": 11515, + "end": 11524, "loc": { "start": { - "line": 300, + "line": 311, "column": 4 }, "end": { - "line": 300, + "line": 311, "column": 13 }, "identifierName": "inputName" @@ -55020,29 +56731,29 @@ }, "right": { "type": "LogicalExpression", - "start": 11193, - "end": 11228, + "start": 11527, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 16 }, "end": { - "line": 300, + "line": 311, "column": 51 } }, "left": { "type": "Identifier", - "start": 11193, - "end": 11202, + "start": 11527, + "end": 11536, "loc": { "start": { - "line": 300, + "line": 311, "column": 16 }, "end": { - "line": 300, + "line": 311, "column": 25 }, "identifierName": "inputName" @@ -55052,58 +56763,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 11206, - "end": 11228, + "start": 11540, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 29 }, "end": { - "line": 300, + "line": 311, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11206, - "end": 11218, + "start": 11540, + "end": 11552, "loc": { "start": { - "line": 300, + "line": 311, "column": 29 }, "end": { - "line": 300, + "line": 311, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 11206, - "end": 11210, + "start": 11540, + "end": 11544, "loc": { "start": { - "line": 300, + "line": 311, "column": 29 }, "end": { - "line": 300, + "line": 311, "column": 33 } } }, "property": { "type": "Identifier", - "start": 11211, - "end": 11218, + "start": 11545, + "end": 11552, "loc": { "start": { - "line": 300, + "line": 311, "column": 34 }, "end": { - "line": 300, + "line": 311, "column": 41 }, "identifierName": "options" @@ -55114,15 +56825,15 @@ }, "property": { "type": "Identifier", - "start": 11219, - "end": 11228, + "start": 11553, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 42 }, "end": { - "line": 300, + "line": 311, "column": 51 }, "identifierName": "inputName" @@ -55137,15 +56848,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11237, - "end": 11292, + "start": 11571, + "end": 11626, "loc": { "start": { - "line": 302, + "line": 313, "column": 4 }, "end": { - "line": 304, + "line": 315, "column": 7 } } @@ -55154,57 +56865,57 @@ }, { "type": "IfStatement", - "start": 11298, - "end": 11377, + "start": 11632, + "end": 11711, "loc": { "start": { - "line": 305, + "line": 316, "column": 4 }, "end": { - "line": 306, + "line": 317, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 11301, - "end": 11332, + "start": 11635, + "end": 11666, "loc": { "start": { - "line": 305, + "line": 316, "column": 7 }, "end": { - "line": 305, + "line": 316, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 11301, - "end": 11313, + "start": 11635, + "end": 11647, "loc": { "start": { - "line": 305, + "line": 316, "column": 7 }, "end": { - "line": 305, + "line": 316, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 11301, - "end": 11305, + "start": 11635, + "end": 11639, "loc": { "start": { - "line": 305, + "line": 316, "column": 7 }, "end": { - "line": 305, + "line": 316, "column": 11 } }, @@ -55212,15 +56923,15 @@ }, "property": { "type": "Identifier", - "start": 11306, - "end": 11313, + "start": 11640, + "end": 11647, "loc": { "start": { - "line": 305, + "line": 316, "column": 12 }, "end": { - "line": 305, + "line": 316, "column": 19 }, "identifierName": "options" @@ -55232,15 +56943,15 @@ }, "property": { "type": "Identifier", - "start": 11314, - "end": 11332, + "start": 11648, + "end": 11666, "loc": { "start": { - "line": 305, + "line": 316, "column": 20 }, "end": { - "line": 305, + "line": 316, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -55252,72 +56963,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 11341, - "end": 11377, + "start": 11675, + "end": 11711, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 11341, - "end": 11376, + "start": 11675, + "end": 11710, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 11341, - "end": 11364, + "start": 11675, + "end": 11698, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 11341, - "end": 11345, + "start": 11675, + "end": 11679, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 10 } } }, "property": { "type": "Identifier", - "start": 11346, - "end": 11364, + "start": 11680, + "end": 11698, "loc": { "start": { - "line": 306, + "line": 317, "column": 11 }, "end": { - "line": 306, + "line": 317, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -55329,44 +57040,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 11365, - "end": 11375, + "start": 11699, + "end": 11709, "loc": { "start": { - "line": 306, + "line": 317, "column": 30 }, "end": { - "line": 306, + "line": 317, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 11365, - "end": 11369, + "start": 11699, + "end": 11703, "loc": { "start": { - "line": 306, + "line": 317, "column": 30 }, "end": { - "line": 306, + "line": 317, "column": 34 } } }, "property": { "type": "Identifier", - "start": 11370, - "end": 11375, + "start": 11704, + "end": 11709, "loc": { "start": { - "line": 306, + "line": 317, "column": 35 }, "end": { - "line": 306, + "line": 317, "column": 40 }, "identifierName": "input" @@ -55383,15 +57094,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11237, - "end": 11292, + "start": 11571, + "end": 11626, "loc": { "start": { - "line": 302, + "line": 313, "column": 4 }, "end": { - "line": 304, + "line": 315, "column": 7 } } @@ -55400,72 +57111,72 @@ }, { "type": "ReturnStatement", - "start": 11385, - "end": 11427, + "start": 11719, + "end": 11761, "loc": { "start": { - "line": 308, + "line": 319, "column": 4 }, "end": { - "line": 308, + "line": 319, "column": 46 } }, "argument": { "type": "MemberExpression", - "start": 11392, - "end": 11426, + "start": 11726, + "end": 11760, "loc": { "start": { - "line": 308, + "line": 319, "column": 11 }, "end": { - "line": 308, + "line": 319, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 11392, - "end": 11402, + "start": 11726, + "end": 11736, "loc": { "start": { - "line": 308, + "line": 319, "column": 11 }, "end": { - "line": 308, + "line": 319, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 11392, - "end": 11396, + "start": 11726, + "end": 11730, "loc": { "start": { - "line": 308, + "line": 319, "column": 11 }, "end": { - "line": 308, + "line": 319, "column": 15 } } }, "property": { "type": "Identifier", - "start": 11397, - "end": 11402, + "start": 11731, + "end": 11736, "loc": { "start": { - "line": 308, + "line": 319, "column": 16 }, "end": { - "line": 308, + "line": 319, "column": 21 }, "identifierName": "input" @@ -55476,58 +57187,58 @@ }, "property": { "type": "MemberExpression", - "start": 11403, - "end": 11425, + "start": 11737, + "end": 11759, "loc": { "start": { - "line": 308, + "line": 319, "column": 22 }, "end": { - "line": 308, + "line": 319, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11403, - "end": 11415, + "start": 11737, + "end": 11749, "loc": { "start": { - "line": 308, + "line": 319, "column": 22 }, "end": { - "line": 308, + "line": 319, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 11403, - "end": 11407, + "start": 11737, + "end": 11741, "loc": { "start": { - "line": 308, + "line": 319, "column": 22 }, "end": { - "line": 308, + "line": 319, "column": 26 } } }, "property": { "type": "Identifier", - "start": 11408, - "end": 11415, + "start": 11742, + "end": 11749, "loc": { "start": { - "line": 308, + "line": 319, "column": 27 }, "end": { - "line": 308, + "line": 319, "column": 34 }, "identifierName": "options" @@ -55538,15 +57249,15 @@ }, "property": { "type": "Identifier", - "start": 11416, - "end": 11425, + "start": 11750, + "end": 11759, "loc": { "start": { - "line": 308, + "line": 319, "column": 35 }, "end": { - "line": 308, + "line": 319, "column": 44 }, "identifierName": "inputName" @@ -55566,15 +57277,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10989, - "end": 11151, + "start": 11323, + "end": 11485, "loc": { "start": { - "line": 295, + "line": 306, "column": 2 }, "end": { - "line": 298, + "line": 309, "column": 5 } } @@ -55584,15 +57295,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 11438, - "end": 11598, + "start": 11772, + "end": 11932, "loc": { "start": { - "line": 311, + "line": 322, "column": 2 }, "end": { - "line": 315, + "line": 326, "column": 5 } } @@ -55601,15 +57312,15 @@ }, { "type": "ClassMethod", - "start": 11602, - "end": 11872, + "start": 11936, + "end": 12206, "loc": { "start": { - "line": 316, + "line": 327, "column": 2 }, "end": { - "line": 325, + "line": 336, "column": 3 } }, @@ -55617,15 +57328,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11602, - "end": 11610, + "start": 11936, + "end": 11944, "loc": { "start": { - "line": 316, + "line": 327, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 10 }, "identifierName": "setInput" @@ -55641,15 +57352,15 @@ "params": [ { "type": "Identifier", - "start": 11611, - "end": 11616, + "start": 11945, + "end": 11950, "loc": { "start": { - "line": 316, + "line": 327, "column": 11 }, "end": { - "line": 316, + "line": 327, "column": 16 }, "identifierName": "input" @@ -55658,15 +57369,15 @@ }, { "type": "Identifier", - "start": 11618, - "end": 11627, + "start": 11952, + "end": 11961, "loc": { "start": { - "line": 316, + "line": 327, "column": 18 }, "end": { - "line": 316, + "line": 327, "column": 27 }, "identifierName": "inputName" @@ -55676,59 +57387,59 @@ ], "body": { "type": "BlockStatement", - "start": 11628, - "end": 11872, + "start": 11962, + "end": 12206, "loc": { "start": { - "line": 316, + "line": 327, "column": 28 }, "end": { - "line": 325, + "line": 336, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 11635, - "end": 11683, + "start": 11969, + "end": 12017, "loc": { "start": { - "line": 317, + "line": 328, "column": 4 }, "end": { - "line": 317, + "line": 328, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 11635, - "end": 11682, + "start": 11969, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 4 }, "end": { - "line": 317, + "line": 328, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", - "start": 11635, - "end": 11644, + "start": 11969, + "end": 11978, "loc": { "start": { - "line": 317, + "line": 328, "column": 4 }, "end": { - "line": 317, + "line": 328, "column": 13 }, "identifierName": "inputName" @@ -55737,29 +57448,29 @@ }, "right": { "type": "LogicalExpression", - "start": 11647, - "end": 11682, + "start": 11981, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 16 }, "end": { - "line": 317, + "line": 328, "column": 51 } }, "left": { "type": "Identifier", - "start": 11647, - "end": 11656, + "start": 11981, + "end": 11990, "loc": { "start": { - "line": 317, + "line": 328, "column": 16 }, "end": { - "line": 317, + "line": 328, "column": 25 }, "identifierName": "inputName" @@ -55769,58 +57480,58 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 11660, - "end": 11682, + "start": 11994, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 29 }, "end": { - "line": 317, + "line": 328, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 11660, - "end": 11672, + "start": 11994, + "end": 12006, "loc": { "start": { - "line": 317, + "line": 328, "column": 29 }, "end": { - "line": 317, + "line": 328, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 11660, - "end": 11664, + "start": 11994, + "end": 11998, "loc": { "start": { - "line": 317, + "line": 328, "column": 29 }, "end": { - "line": 317, + "line": 328, "column": 33 } } }, "property": { "type": "Identifier", - "start": 11665, - "end": 11672, + "start": 11999, + "end": 12006, "loc": { "start": { - "line": 317, + "line": 328, "column": 34 }, "end": { - "line": 317, + "line": 328, "column": 41 }, "identifierName": "options" @@ -55831,15 +57542,15 @@ }, "property": { "type": "Identifier", - "start": 11673, - "end": 11682, + "start": 12007, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 42 }, "end": { - "line": 317, + "line": 328, "column": 51 }, "identifierName": "inputName" @@ -55853,87 +57564,87 @@ }, { "type": "ExpressionStatement", - "start": 11689, - "end": 11719, + "start": 12023, + "end": 12053, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 11689, - "end": 11718, + "start": 12023, + "end": 12052, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11689, - "end": 11710, + "start": 12023, + "end": 12044, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 11689, - "end": 11699, + "start": 12023, + "end": 12033, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 11689, - "end": 11693, + "start": 12023, + "end": 12027, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 8 } } }, "property": { "type": "Identifier", - "start": 11694, - "end": 11699, + "start": 12028, + "end": 12033, "loc": { "start": { - "line": 318, + "line": 329, "column": 9 }, "end": { - "line": 318, + "line": 329, "column": 14 }, "identifierName": "input" @@ -55944,15 +57655,15 @@ }, "property": { "type": "Identifier", - "start": 11700, - "end": 11709, + "start": 12034, + "end": 12043, "loc": { "start": { - "line": 318, + "line": 329, "column": 15 }, "end": { - "line": 318, + "line": 329, "column": 24 }, "identifierName": "inputName" @@ -55963,15 +57674,15 @@ }, "right": { "type": "Identifier", - "start": 11713, - "end": 11718, + "start": 12047, + "end": 12052, "loc": { "start": { - "line": 318, + "line": 329, "column": 28 }, "end": { - "line": 318, + "line": 329, "column": 33 }, "identifierName": "input" @@ -55983,15 +57694,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11727, - "end": 11782, + "start": 12061, + "end": 12116, "loc": { "start": { - "line": 320, + "line": 331, "column": 4 }, "end": { - "line": 322, + "line": 333, "column": 7 } } @@ -56000,57 +57711,57 @@ }, { "type": "IfStatement", - "start": 11788, - "end": 11867, + "start": 12122, + "end": 12201, "loc": { "start": { - "line": 323, + "line": 334, "column": 4 }, "end": { - "line": 324, + "line": 335, "column": 42 } }, "test": { "type": "MemberExpression", - "start": 11791, - "end": 11822, + "start": 12125, + "end": 12156, "loc": { "start": { - "line": 323, + "line": 334, "column": 7 }, "end": { - "line": 323, + "line": 334, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 11791, - "end": 11803, + "start": 12125, + "end": 12137, "loc": { "start": { - "line": 323, + "line": 334, "column": 7 }, "end": { - "line": 323, + "line": 334, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 11791, - "end": 11795, + "start": 12125, + "end": 12129, "loc": { "start": { - "line": 323, + "line": 334, "column": 7 }, "end": { - "line": 323, + "line": 334, "column": 11 } }, @@ -56058,15 +57769,15 @@ }, "property": { "type": "Identifier", - "start": 11796, - "end": 11803, + "start": 12130, + "end": 12137, "loc": { "start": { - "line": 323, + "line": 334, "column": 12 }, "end": { - "line": 323, + "line": 334, "column": 19 }, "identifierName": "options" @@ -56078,15 +57789,15 @@ }, "property": { "type": "Identifier", - "start": 11804, - "end": 11822, + "start": 12138, + "end": 12156, "loc": { "start": { - "line": 323, + "line": 334, "column": 20 }, "end": { - "line": 323, + "line": 334, "column": 38 }, "identifierName": "syncInstanceInputs" @@ -56098,72 +57809,72 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 11831, - "end": 11867, + "start": 12165, + "end": 12201, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 11831, - "end": 11866, + "start": 12165, + "end": 12200, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 11831, - "end": 11854, + "start": 12165, + "end": 12188, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 11831, - "end": 11835, + "start": 12165, + "end": 12169, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 10 } } }, "property": { "type": "Identifier", - "start": 11836, - "end": 11854, + "start": 12170, + "end": 12188, "loc": { "start": { - "line": 324, + "line": 335, "column": 11 }, "end": { - "line": 324, + "line": 335, "column": 29 }, "identifierName": "syncInstanceInputs" @@ -56175,44 +57886,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 11855, - "end": 11865, + "start": 12189, + "end": 12199, "loc": { "start": { - "line": 324, + "line": 335, "column": 30 }, "end": { - "line": 324, + "line": 335, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 11855, - "end": 11859, + "start": 12189, + "end": 12193, "loc": { "start": { - "line": 324, + "line": 335, "column": 30 }, "end": { - "line": 324, + "line": 335, "column": 34 } } }, "property": { "type": "Identifier", - "start": 11860, - "end": 11865, + "start": 12194, + "end": 12199, "loc": { "start": { - "line": 324, + "line": 335, "column": 35 }, "end": { - "line": 324, + "line": 335, "column": 40 }, "identifierName": "input" @@ -56229,15 +57940,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11727, - "end": 11782, + "start": 12061, + "end": 12116, "loc": { "start": { - "line": 320, + "line": 331, "column": 4 }, "end": { - "line": 322, + "line": 333, "column": 7 } } @@ -56252,15 +57963,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 11438, - "end": 11598, + "start": 11772, + "end": 11932, "loc": { "start": { - "line": 311, + "line": 322, "column": 2 }, "end": { - "line": 315, + "line": 326, "column": 5 } } @@ -56270,15 +57981,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 11880, - "end": 11989, + "start": 12214, + "end": 12323, "loc": { "start": { - "line": 327, + "line": 338, "column": 2 }, "end": { - "line": 330, + "line": 341, "column": 5 } } @@ -56287,15 +57998,15 @@ }, { "type": "ClassMethod", - "start": 11993, - "end": 12049, + "start": 12327, + "end": 12383, "loc": { "start": { - "line": 331, + "line": 342, "column": 2 }, "end": { - "line": 333, + "line": 344, "column": 3 } }, @@ -56303,15 +58014,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11993, - "end": 12005, + "start": 12327, + "end": 12339, "loc": { "start": { - "line": 331, + "line": 342, "column": 2 }, "end": { - "line": 331, + "line": 342, "column": 14 }, "identifierName": "replaceInput" @@ -56327,15 +58038,15 @@ "params": [ { "type": "Identifier", - "start": 12006, - "end": 12014, + "start": 12340, + "end": 12348, "loc": { "start": { - "line": 331, + "line": 342, "column": 15 }, "end": { - "line": 331, + "line": 342, "column": 23 }, "identifierName": "inputObj" @@ -56345,88 +58056,88 @@ ], "body": { "type": "BlockStatement", - "start": 12015, - "end": 12049, + "start": 12349, + "end": 12383, "loc": { "start": { - "line": 331, + "line": 342, "column": 24 }, "end": { - "line": 333, + "line": 344, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 12022, - "end": 12044, + "start": 12356, + "end": 12378, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 12022, - "end": 12043, + "start": 12356, + "end": 12377, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12022, - "end": 12032, + "start": 12356, + "end": 12366, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 12022, - "end": 12026, + "start": 12356, + "end": 12360, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12027, - "end": 12032, + "start": 12361, + "end": 12366, "loc": { "start": { - "line": 332, + "line": 343, "column": 9 }, "end": { - "line": 332, + "line": 343, "column": 14 }, "identifierName": "input" @@ -56437,15 +58148,15 @@ }, "right": { "type": "Identifier", - "start": 12035, - "end": 12043, + "start": 12369, + "end": 12377, "loc": { "start": { - "line": 332, + "line": 343, "column": 17 }, "end": { - "line": 332, + "line": 343, "column": 25 }, "identifierName": "inputObj" @@ -56462,15 +58173,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 11880, - "end": 11989, + "start": 12214, + "end": 12323, "loc": { "start": { - "line": 327, + "line": 338, "column": 2 }, "end": { - "line": 330, + "line": 341, "column": 5 } } @@ -56480,15 +58191,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 12055, - "end": 12181, + "start": 12389, + "end": 12515, "loc": { "start": { - "line": 335, + "line": 346, "column": 2 }, "end": { - "line": 338, + "line": 349, "column": 5 } } @@ -56497,15 +58208,15 @@ }, { "type": "ClassProperty", - "start": 12185, - "end": 12319, + "start": 12519, + "end": 12653, "loc": { "start": { - "line": 339, + "line": 350, "column": 2 }, "end": { - "line": 343, + "line": 354, "column": 3 } }, @@ -56513,15 +58224,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12185, - "end": 12195, + "start": 12519, + "end": 12529, "loc": { "start": { - "line": 339, + "line": 350, "column": 2 }, "end": { - "line": 339, + "line": 350, "column": 12 }, "identifierName": "setOptions" @@ -56531,15 +58242,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 12198, - "end": 12319, + "start": 12532, + "end": 12653, "loc": { "start": { - "line": 339, + "line": 350, "column": 15 }, "end": { - "line": 343, + "line": 354, "column": 3 } }, @@ -56550,15 +58261,15 @@ "params": [ { "type": "Identifier", - "start": 12198, - "end": 12204, + "start": 12532, + "end": 12538, "loc": { "start": { - "line": 339, + "line": 350, "column": 15 }, "end": { - "line": 339, + "line": 350, "column": 21 }, "identifierName": "option" @@ -56568,59 +58279,59 @@ ], "body": { "type": "BlockStatement", - "start": 12208, - "end": 12319, + "start": 12542, + "end": 12653, "loc": { "start": { - "line": 339, + "line": 350, "column": 25 }, "end": { - "line": 343, + "line": 354, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 12215, - "end": 12237, + "start": 12549, + "end": 12571, "loc": { "start": { - "line": 340, + "line": 351, "column": 4 }, "end": { - "line": 340, + "line": 351, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 12215, - "end": 12236, + "start": 12549, + "end": 12570, "loc": { "start": { - "line": 340, + "line": 351, "column": 4 }, "end": { - "line": 340, + "line": 351, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12215, - "end": 12221, + "start": 12549, + "end": 12555, "loc": { "start": { - "line": 340, + "line": 351, "column": 4 }, "end": { - "line": 340, + "line": 351, "column": 10 }, "identifierName": "option" @@ -56629,29 +58340,29 @@ }, "right": { "type": "LogicalExpression", - "start": 12224, - "end": 12236, + "start": 12558, + "end": 12570, "loc": { "start": { - "line": 340, + "line": 351, "column": 13 }, "end": { - "line": 340, + "line": 351, "column": 25 } }, "left": { "type": "Identifier", - "start": 12224, - "end": 12230, + "start": 12558, + "end": 12564, "loc": { "start": { - "line": 340, + "line": 351, "column": 13 }, "end": { - "line": 340, + "line": 351, "column": 19 }, "identifierName": "option" @@ -56661,15 +58372,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 12234, - "end": 12236, + "start": 12568, + "end": 12570, "loc": { "start": { - "line": 340, + "line": 351, "column": 23 }, "end": { - "line": 340, + "line": 351, "column": 25 } }, @@ -56680,73 +58391,73 @@ }, { "type": "ExpressionStatement", - "start": 12243, - "end": 12294, + "start": 12577, + "end": 12628, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 12243, - "end": 12293, + "start": 12577, + "end": 12627, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12243, - "end": 12255, + "start": 12577, + "end": 12589, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 12243, - "end": 12247, + "start": 12577, + "end": 12581, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12248, - "end": 12255, + "start": 12582, + "end": 12589, "loc": { "start": { - "line": 341, + "line": 352, "column": 9 }, "end": { - "line": 341, + "line": 352, "column": 16 }, "identifierName": "options" @@ -56757,43 +58468,43 @@ }, "right": { "type": "CallExpression", - "start": 12258, - "end": 12293, + "start": 12592, + "end": 12627, "loc": { "start": { - "line": 341, + "line": 352, "column": 19 }, "end": { - "line": 341, + "line": 352, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 12258, - "end": 12271, + "start": 12592, + "end": 12605, "loc": { "start": { - "line": 341, + "line": 352, "column": 19 }, "end": { - "line": 341, + "line": 352, "column": 32 } }, "object": { "type": "Identifier", - "start": 12258, - "end": 12264, + "start": 12592, + "end": 12598, "loc": { "start": { - "line": 341, + "line": 352, "column": 19 }, "end": { - "line": 341, + "line": 352, "column": 25 }, "identifierName": "Object" @@ -56802,15 +58513,15 @@ }, "property": { "type": "Identifier", - "start": 12265, - "end": 12271, + "start": 12599, + "end": 12605, "loc": { "start": { - "line": 341, + "line": 352, "column": 26 }, "end": { - "line": 341, + "line": 352, "column": 32 }, "identifierName": "assign" @@ -56822,44 +58533,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 12272, - "end": 12284, + "start": 12606, + "end": 12618, "loc": { "start": { - "line": 341, + "line": 352, "column": 33 }, "end": { - "line": 341, + "line": 352, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 12272, - "end": 12276, + "start": 12606, + "end": 12610, "loc": { "start": { - "line": 341, + "line": 352, "column": 33 }, "end": { - "line": 341, + "line": 352, "column": 37 } } }, "property": { "type": "Identifier", - "start": 12277, - "end": 12284, + "start": 12611, + "end": 12618, "loc": { "start": { - "line": 341, + "line": 352, "column": 38 }, "end": { - "line": 341, + "line": 352, "column": 45 }, "identifierName": "options" @@ -56870,15 +58581,15 @@ }, { "type": "Identifier", - "start": 12286, - "end": 12292, + "start": 12620, + "end": 12626, "loc": { "start": { - "line": 341, + "line": 352, "column": 47 }, "end": { - "line": 341, + "line": 352, "column": 53 }, "identifierName": "option" @@ -56891,72 +58602,72 @@ }, { "type": "ExpressionStatement", - "start": 12300, - "end": 12314, + "start": 12634, + "end": 12648, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 12300, - "end": 12313, + "start": 12634, + "end": 12647, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 12300, - "end": 12311, + "start": 12634, + "end": 12645, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 12300, - "end": 12304, + "start": 12634, + "end": 12638, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12305, - "end": 12311, + "start": 12639, + "end": 12645, "loc": { "start": { - "line": 342, + "line": 353, "column": 9 }, "end": { - "line": 342, + "line": 353, "column": 15 }, "identifierName": "render" @@ -56978,15 +58689,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 12055, - "end": 12181, + "start": 12389, + "end": 12515, "loc": { "start": { - "line": 335, + "line": 346, "column": 2 }, "end": { - "line": 338, + "line": 349, "column": 5 } } @@ -56996,15 +58707,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 12325, - "end": 12434, + "start": 12659, + "end": 12768, "loc": { "start": { - "line": 345, + "line": 356, "column": 2 }, "end": { - "line": 348, + "line": 359, "column": 5 } } @@ -57013,15 +58724,15 @@ }, { "type": "ClassMethod", - "start": 12438, - "end": 12577, + "start": 12772, + "end": 12911, "loc": { "start": { - "line": 349, + "line": 360, "column": 2 }, "end": { - "line": 353, + "line": 364, "column": 3 } }, @@ -57029,15 +58740,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12438, - "end": 12443, + "start": 12772, + "end": 12777, "loc": { "start": { - "line": 349, + "line": 360, "column": 2 }, "end": { - "line": 349, + "line": 360, "column": 7 }, "identifierName": "clear" @@ -57053,102 +58764,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 12445, - "end": 12577, + "start": 12779, + "end": 12911, "loc": { "start": { - "line": 349, + "line": 360, "column": 9 }, "end": { - "line": 353, + "line": 364, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 12452, - "end": 12484, + "start": 12786, + "end": 12818, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 12452, - "end": 12483, + "start": 12786, + "end": 12817, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12452, - "end": 12478, + "start": 12786, + "end": 12812, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 12452, - "end": 12468, + "start": 12786, + "end": 12802, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 12452, - "end": 12456, + "start": 12786, + "end": 12790, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12457, - "end": 12468, + "start": 12791, + "end": 12802, "loc": { "start": { - "line": 350, + "line": 361, "column": 9 }, "end": { - "line": 350, + "line": 361, "column": 20 }, "identifierName": "keyboardDOM" @@ -57159,15 +58870,15 @@ }, "property": { "type": "Identifier", - "start": 12469, - "end": 12478, + "start": 12803, + "end": 12812, "loc": { "start": { - "line": 350, + "line": 361, "column": 21 }, "end": { - "line": 350, + "line": 361, "column": 30 }, "identifierName": "innerHTML" @@ -57178,15 +58889,15 @@ }, "right": { "type": "StringLiteral", - "start": 12481, - "end": 12483, + "start": 12815, + "end": 12817, "loc": { "start": { - "line": 350, + "line": 361, "column": 33 }, "end": { - "line": 350, + "line": 361, "column": 35 } }, @@ -57200,87 +58911,87 @@ }, { "type": "ExpressionStatement", - "start": 12490, - "end": 12541, + "start": 12824, + "end": 12875, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 12490, - "end": 12540, + "start": 12824, + "end": 12874, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12490, - "end": 12516, + "start": 12824, + "end": 12850, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 12490, - "end": 12506, + "start": 12824, + "end": 12840, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 12490, - "end": 12494, + "start": 12824, + "end": 12828, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12495, - "end": 12506, + "start": 12829, + "end": 12840, "loc": { "start": { - "line": 351, + "line": 362, "column": 9 }, "end": { - "line": 351, + "line": 362, "column": 20 }, "identifierName": "keyboardDOM" @@ -57291,15 +59002,15 @@ }, "property": { "type": "Identifier", - "start": 12507, - "end": 12516, + "start": 12841, + "end": 12850, "loc": { "start": { - "line": 351, + "line": 362, "column": 21 }, "end": { - "line": 351, + "line": 362, "column": 30 }, "identifierName": "className" @@ -57310,44 +59021,44 @@ }, "right": { "type": "MemberExpression", - "start": 12519, - "end": 12540, + "start": 12853, + "end": 12874, "loc": { "start": { - "line": 351, + "line": 362, "column": 33 }, "end": { - "line": 351, + "line": 362, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 12519, - "end": 12523, + "start": 12853, + "end": 12857, "loc": { "start": { - "line": 351, + "line": 362, "column": 33 }, "end": { - "line": 351, + "line": 362, "column": 37 } } }, "property": { "type": "Identifier", - "start": 12524, - "end": 12540, + "start": 12858, + "end": 12874, "loc": { "start": { - "line": 351, + "line": 362, "column": 38 }, "end": { - "line": 351, + "line": 362, "column": 54 }, "identifierName": "keyboardDOMClass" @@ -57360,73 +59071,73 @@ }, { "type": "ExpressionStatement", - "start": 12547, - "end": 12572, + "start": 12881, + "end": 12906, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 12547, - "end": 12571, + "start": 12881, + "end": 12905, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12547, - "end": 12566, + "start": 12881, + "end": 12900, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 12547, - "end": 12551, + "start": 12881, + "end": 12885, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 8 } } }, "property": { "type": "Identifier", - "start": 12552, - "end": 12566, + "start": 12886, + "end": 12900, "loc": { "start": { - "line": 352, + "line": 363, "column": 9 }, "end": { - "line": 352, + "line": 363, "column": 23 }, "identifierName": "buttonElements" @@ -57437,15 +59148,15 @@ }, "right": { "type": "ObjectExpression", - "start": 12569, - "end": 12571, + "start": 12903, + "end": 12905, "loc": { "start": { - "line": 352, + "line": 363, "column": 26 }, "end": { - "line": 352, + "line": 363, "column": 28 } }, @@ -57461,15 +59172,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 12325, - "end": 12434, + "start": 12659, + "end": 12768, "loc": { "start": { - "line": 345, + "line": 356, "column": 2 }, "end": { - "line": 348, + "line": 359, "column": 5 } } @@ -57479,15 +59190,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 12583, - "end": 12788, + "start": 12917, + "end": 13122, "loc": { "start": { - "line": 355, + "line": 366, "column": 2 }, "end": { - "line": 358, + "line": 369, "column": 5 } } @@ -57496,15 +59207,15 @@ }, { "type": "ClassMethod", - "start": 12792, - "end": 13160, + "start": 13126, + "end": 13494, "loc": { "start": { - "line": 359, + "line": 370, "column": 2 }, "end": { - "line": 368, + "line": 379, "column": 3 } }, @@ -57512,15 +59223,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12792, - "end": 12800, + "start": 13126, + "end": 13134, "loc": { "start": { - "line": 359, + "line": 370, "column": 2 }, "end": { - "line": 359, + "line": 370, "column": 10 }, "identifierName": "dispatch" @@ -57536,15 +59247,15 @@ "params": [ { "type": "Identifier", - "start": 12801, - "end": 12809, + "start": 13135, + "end": 13143, "loc": { "start": { - "line": 359, + "line": 370, "column": 11 }, "end": { - "line": 359, + "line": 370, "column": 19 }, "identifierName": "callback" @@ -57554,44 +59265,44 @@ ], "body": { "type": "BlockStatement", - "start": 12810, - "end": 13160, + "start": 13144, + "end": 13494, "loc": { "start": { - "line": 359, + "line": 370, "column": 20 }, "end": { - "line": 368, + "line": 379, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 12817, - "end": 13001, + "start": 13151, + "end": 13335, "loc": { "start": { - "line": 360, + "line": 371, "column": 4 }, "end": { - "line": 363, + "line": 374, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 12820, - "end": 12854, + "start": 13154, + "end": 13188, "loc": { "start": { - "line": 360, + "line": 371, "column": 7 }, "end": { - "line": 360, + "line": 371, "column": 41 } }, @@ -57599,29 +59310,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 12821, - "end": 12854, + "start": 13155, + "end": 13188, "loc": { "start": { - "line": 360, + "line": 371, "column": 8 }, "end": { - "line": 360, + "line": 371, "column": 41 } }, "object": { "type": "Identifier", - "start": 12821, - "end": 12827, + "start": 13155, + "end": 13161, "loc": { "start": { - "line": 360, + "line": 371, "column": 8 }, "end": { - "line": 360, + "line": 371, "column": 14 }, "identifierName": "window" @@ -57630,15 +59341,15 @@ }, "property": { "type": "StringLiteral", - "start": 12828, - "end": 12853, + "start": 13162, + "end": 13187, "loc": { "start": { - "line": 360, + "line": 371, "column": 15 }, "end": { - "line": 360, + "line": 371, "column": 40 } }, @@ -57656,72 +59367,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 12855, - "end": 13001, + "start": 13189, + "end": 13335, "loc": { "start": { - "line": 360, + "line": 371, "column": 42 }, "end": { - "line": 363, + "line": 374, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 12864, - "end": 12947, + "start": 13198, + "end": 13281, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 89 } }, "expression": { "type": "CallExpression", - "start": 12864, - "end": 12946, + "start": 13198, + "end": 13280, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 88 } }, "callee": { "type": "MemberExpression", - "start": 12864, - "end": 12876, + "start": 13198, + "end": 13210, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 18 } }, "object": { "type": "Identifier", - "start": 12864, - "end": 12871, + "start": 13198, + "end": 13205, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 13 }, "identifierName": "console" @@ -57730,15 +59441,15 @@ }, "property": { "type": "Identifier", - "start": 12872, - "end": 12876, + "start": 13206, + "end": 13210, "loc": { "start": { - "line": 361, + "line": 372, "column": 14 }, "end": { - "line": 361, + "line": 372, "column": 18 }, "identifierName": "warn" @@ -57750,15 +59461,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 12877, - "end": 12945, + "start": 13211, + "end": 13279, "loc": { "start": { - "line": 361, + "line": 372, "column": 19 }, "end": { - "line": 361, + "line": 372, "column": 87 } }, @@ -57766,15 +59477,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 12878, - "end": 12944, + "start": 13212, + "end": 13278, "loc": { "start": { - "line": 361, + "line": 372, "column": 20 }, "end": { - "line": 361, + "line": 372, "column": 86 } }, @@ -57791,43 +59502,43 @@ }, { "type": "ThrowStatement", - "start": 12955, - "end": 12994, + "start": 13289, + "end": 13328, "loc": { "start": { - "line": 362, + "line": 373, "column": 6 }, "end": { - "line": 362, + "line": 373, "column": 45 } }, "argument": { "type": "NewExpression", - "start": 12961, - "end": 12993, + "start": 13295, + "end": 13327, "loc": { "start": { - "line": 362, + "line": 373, "column": 12 }, "end": { - "line": 362, + "line": 373, "column": 44 } }, "callee": { "type": "Identifier", - "start": 12965, - "end": 12970, + "start": 13299, + "end": 13304, "loc": { "start": { - "line": 362, + "line": 373, "column": 16 }, "end": { - "line": 362, + "line": 373, "column": 21 }, "identifierName": "Error" @@ -57837,15 +59548,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 12971, - "end": 12992, + "start": 13305, + "end": 13326, "loc": { "start": { - "line": 362, + "line": 373, "column": 22 }, "end": { - "line": 362, + "line": 373, "column": 43 } }, @@ -57865,85 +59576,85 @@ }, { "type": "ReturnStatement", - "start": 13013, - "end": 13155, + "start": 13347, + "end": 13489, "loc": { "start": { - "line": 365, + "line": 376, "column": 4 }, "end": { - "line": 367, + "line": 378, "column": 6 } }, "argument": { "type": "CallExpression", - "start": 13020, - "end": 13155, + "start": 13354, + "end": 13489, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 367, + "line": 378, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 13020, - "end": 13074, + "start": 13354, + "end": 13408, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 65 } }, "object": { "type": "CallExpression", - "start": 13020, - "end": 13066, + "start": 13354, + "end": 13400, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 13020, - "end": 13031, + "start": 13354, + "end": 13365, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 22 } }, "object": { "type": "Identifier", - "start": 13020, - "end": 13026, + "start": 13354, + "end": 13360, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 17 }, "identifierName": "Object" @@ -57952,15 +59663,15 @@ }, "property": { "type": "Identifier", - "start": 13027, - "end": 13031, + "start": 13361, + "end": 13365, "loc": { "start": { - "line": 365, + "line": 376, "column": 18 }, "end": { - "line": 365, + "line": 376, "column": 22 }, "identifierName": "keys" @@ -57972,29 +59683,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13032, - "end": 13065, + "start": 13366, + "end": 13399, "loc": { "start": { - "line": 365, + "line": 376, "column": 23 }, "end": { - "line": 365, + "line": 376, "column": 56 } }, "object": { "type": "Identifier", - "start": 13032, - "end": 13038, + "start": 13366, + "end": 13372, "loc": { "start": { - "line": 365, + "line": 376, "column": 23 }, "end": { - "line": 365, + "line": 376, "column": 29 }, "identifierName": "window" @@ -58003,15 +59714,15 @@ }, "property": { "type": "StringLiteral", - "start": 13039, - "end": 13064, + "start": 13373, + "end": 13398, "loc": { "start": { - "line": 365, + "line": 376, "column": 30 }, "end": { - "line": 365, + "line": 376, "column": 55 } }, @@ -58027,15 +59738,15 @@ }, "property": { "type": "Identifier", - "start": 13067, - "end": 13074, + "start": 13401, + "end": 13408, "loc": { "start": { - "line": 365, + "line": 376, "column": 58 }, "end": { - "line": 365, + "line": 376, "column": 65 }, "identifierName": "forEach" @@ -58047,15 +59758,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13075, - "end": 13154, + "start": 13409, + "end": 13488, "loc": { "start": { - "line": 365, + "line": 376, "column": 66 }, "end": { - "line": 367, + "line": 378, "column": 5 } }, @@ -58066,15 +59777,15 @@ "params": [ { "type": "Identifier", - "start": 13076, - "end": 13079, + "start": 13410, + "end": 13413, "loc": { "start": { - "line": 365, + "line": 376, "column": 67 }, "end": { - "line": 365, + "line": 376, "column": 70 }, "identifierName": "key" @@ -58084,58 +59795,58 @@ ], "body": { "type": "BlockStatement", - "start": 13084, - "end": 13154, + "start": 13418, + "end": 13488, "loc": { "start": { - "line": 365, + "line": 376, "column": 75 }, "end": { - "line": 367, + "line": 378, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 13093, - "end": 13147, + "start": 13427, + "end": 13481, "loc": { "start": { - "line": 366, + "line": 377, "column": 6 }, "end": { - "line": 366, + "line": 377, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 13093, - "end": 13146, + "start": 13427, + "end": 13480, "loc": { "start": { - "line": 366, + "line": 377, "column": 6 }, "end": { - "line": 366, + "line": 377, "column": 59 } }, "callee": { "type": "Identifier", - "start": 13093, - "end": 13101, + "start": 13427, + "end": 13435, "loc": { "start": { - "line": 366, + "line": 377, "column": 6 }, "end": { - "line": 366, + "line": 377, "column": 14 }, "identifierName": "callback" @@ -58145,43 +59856,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 13102, - "end": 13140, + "start": 13436, + "end": 13474, "loc": { "start": { - "line": 366, + "line": 377, "column": 15 }, "end": { - "line": 366, + "line": 377, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 13102, - "end": 13135, + "start": 13436, + "end": 13469, "loc": { "start": { - "line": 366, + "line": 377, "column": 15 }, "end": { - "line": 366, + "line": 377, "column": 48 } }, "object": { "type": "Identifier", - "start": 13102, - "end": 13108, + "start": 13436, + "end": 13442, "loc": { "start": { - "line": 366, + "line": 377, "column": 15 }, "end": { - "line": 366, + "line": 377, "column": 21 }, "identifierName": "window" @@ -58190,15 +59901,15 @@ }, "property": { "type": "StringLiteral", - "start": 13109, - "end": 13134, + "start": 13443, + "end": 13468, "loc": { "start": { - "line": 366, + "line": 377, "column": 22 }, "end": { - "line": 366, + "line": 377, "column": 47 } }, @@ -58212,15 +59923,15 @@ }, "property": { "type": "Identifier", - "start": 13136, - "end": 13139, + "start": 13470, + "end": 13473, "loc": { "start": { - "line": 366, + "line": 377, "column": 49 }, "end": { - "line": 366, + "line": 377, "column": 52 }, "identifierName": "key" @@ -58231,15 +59942,15 @@ }, { "type": "Identifier", - "start": 13142, - "end": 13145, + "start": 13476, + "end": 13479, "loc": { "start": { - "line": 366, + "line": 377, "column": 55 }, "end": { - "line": 366, + "line": 377, "column": 58 }, "identifierName": "key" @@ -58264,15 +59975,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 12583, - "end": 12788, + "start": 12917, + "end": 13122, "loc": { "start": { - "line": 355, + "line": 366, "column": 2 }, "end": { - "line": 358, + "line": 369, "column": 5 } } @@ -58282,15 +59993,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 13166, - "end": 13447, + "start": 13500, + "end": 13781, "loc": { "start": { - "line": 370, + "line": 381, "column": 2 }, "end": { - "line": 374, + "line": 385, "column": 5 } } @@ -58299,15 +60010,15 @@ }, { "type": "ClassMethod", - "start": 13451, - "end": 14683, + "start": 13785, + "end": 15017, "loc": { "start": { - "line": 375, + "line": 386, "column": 2 }, "end": { - "line": 418, + "line": 429, "column": 3 } }, @@ -58315,15 +60026,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13451, - "end": 13465, + "start": 13785, + "end": 13799, "loc": { "start": { - "line": 375, + "line": 386, "column": 2 }, "end": { - "line": 375, + "line": 386, "column": 16 }, "identifierName": "addButtonTheme" @@ -58339,15 +60050,15 @@ "params": [ { "type": "Identifier", - "start": 13466, - "end": 13473, + "start": 13800, + "end": 13807, "loc": { "start": { - "line": 375, + "line": 386, "column": 17 }, "end": { - "line": 375, + "line": 386, "column": 24 }, "identifierName": "buttons" @@ -58356,15 +60067,15 @@ }, { "type": "Identifier", - "start": 13475, - "end": 13484, + "start": 13809, + "end": 13818, "loc": { "start": { - "line": 375, + "line": 386, "column": 26 }, "end": { - "line": 375, + "line": 386, "column": 35 }, "identifierName": "className" @@ -58374,58 +60085,58 @@ ], "body": { "type": "BlockStatement", - "start": 13485, - "end": 14683, + "start": 13819, + "end": 15017, "loc": { "start": { - "line": 375, + "line": 386, "column": 36 }, "end": { - "line": 418, + "line": 429, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 13492, - "end": 13539, + "start": 13826, + "end": 13873, "loc": { "start": { - "line": 376, + "line": 387, "column": 4 }, "end": { - "line": 377, + "line": 388, "column": 19 } }, "test": { "type": "LogicalExpression", - "start": 13495, - "end": 13517, + "start": 13829, + "end": 13851, "loc": { "start": { - "line": 376, + "line": 387, "column": 7 }, "end": { - "line": 376, + "line": 387, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 13495, - "end": 13505, + "start": 13829, + "end": 13839, "loc": { "start": { - "line": 376, + "line": 387, "column": 7 }, "end": { - "line": 376, + "line": 387, "column": 17 } }, @@ -58433,15 +60144,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13496, - "end": 13505, + "start": 13830, + "end": 13839, "loc": { "start": { - "line": 376, + "line": 387, "column": 8 }, "end": { - "line": 376, + "line": 387, "column": 17 }, "identifierName": "className" @@ -58455,15 +60166,15 @@ "operator": "||", "right": { "type": "UnaryExpression", - "start": 13509, - "end": 13517, + "start": 13843, + "end": 13851, "loc": { "start": { - "line": 376, + "line": 387, "column": 21 }, "end": { - "line": 376, + "line": 387, "column": 29 } }, @@ -58471,15 +60182,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13510, - "end": 13517, + "start": 13844, + "end": 13851, "loc": { "start": { - "line": 376, + "line": 387, "column": 22 }, "end": { - "line": 376, + "line": 387, "column": 29 }, "identifierName": "buttons" @@ -58493,29 +60204,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 13526, - "end": 13539, + "start": 13860, + "end": 13873, "loc": { "start": { - "line": 377, + "line": 388, "column": 6 }, "end": { - "line": 377, + "line": 388, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 13533, - "end": 13538, + "start": 13867, + "end": 13872, "loc": { "start": { - "line": 377, + "line": 388, "column": 13 }, "end": { - "line": 377, + "line": 388, "column": 18 } }, @@ -58526,85 +60237,85 @@ }, { "type": "ExpressionStatement", - "start": 13547, - "end": 14656, + "start": 13881, + "end": 14990, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 415, + "line": 426, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 13547, - "end": 14655, + "start": 13881, + "end": 14989, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 415, + "line": 426, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 13547, - "end": 13573, + "start": 13881, + "end": 13907, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 30 } }, "object": { "type": "CallExpression", - "start": 13547, - "end": 13565, + "start": 13881, + "end": 13899, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 13547, - "end": 13560, + "start": 13881, + "end": 13894, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 17 } }, "object": { "type": "Identifier", - "start": 13547, - "end": 13554, + "start": 13881, + "end": 13888, "loc": { "start": { - "line": 379, + "line": 390, "column": 4 }, "end": { - "line": 379, + "line": 390, "column": 11 }, "identifierName": "buttons" @@ -58613,15 +60324,15 @@ }, "property": { "type": "Identifier", - "start": 13555, - "end": 13560, + "start": 13889, + "end": 13894, "loc": { "start": { - "line": 379, + "line": 390, "column": 12 }, "end": { - "line": 379, + "line": 390, "column": 17 }, "identifierName": "split" @@ -58633,15 +60344,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13561, - "end": 13564, + "start": 13895, + "end": 13898, "loc": { "start": { - "line": 379, + "line": 390, "column": 18 }, "end": { - "line": 379, + "line": 390, "column": 21 } }, @@ -58655,15 +60366,15 @@ }, "property": { "type": "Identifier", - "start": 13566, - "end": 13573, + "start": 13900, + "end": 13907, "loc": { "start": { - "line": 379, + "line": 390, "column": 23 }, "end": { - "line": 379, + "line": 390, "column": 30 }, "identifierName": "forEach" @@ -58675,15 +60386,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13574, - "end": 14654, + "start": 13908, + "end": 14988, "loc": { "start": { - "line": 379, + "line": 390, "column": 31 }, "end": { - "line": 415, + "line": 426, "column": 5 } }, @@ -58694,15 +60405,15 @@ "params": [ { "type": "Identifier", - "start": 13574, - "end": 13580, + "start": 13908, + "end": 13914, "loc": { "start": { - "line": 379, + "line": 390, "column": 31 }, "end": { - "line": 379, + "line": 390, "column": 37 }, "identifierName": "button" @@ -58712,100 +60423,100 @@ ], "body": { "type": "BlockStatement", - "start": 13584, - "end": 14654, + "start": 13918, + "end": 14988, "loc": { "start": { - "line": 379, + "line": 390, "column": 41 }, "end": { - "line": 415, + "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 13593, - "end": 14647, + "start": 13927, + "end": 14981, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 414, + "line": 425, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 13593, - "end": 14646, + "start": 13927, + "end": 14980, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 414, + "line": 425, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 13593, - "end": 13621, + "start": 13927, + "end": 13955, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 34 } }, "object": { "type": "CallExpression", - "start": 13593, - "end": 13613, + "start": 13927, + "end": 13947, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 13593, - "end": 13608, + "start": 13927, + "end": 13942, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 21 } }, "object": { "type": "Identifier", - "start": 13593, - "end": 13602, + "start": 13927, + "end": 13936, "loc": { "start": { - "line": 380, + "line": 391, "column": 6 }, "end": { - "line": 380, + "line": 391, "column": 15 }, "identifierName": "className" @@ -58814,15 +60525,15 @@ }, "property": { "type": "Identifier", - "start": 13603, - "end": 13608, + "start": 13937, + "end": 13942, "loc": { "start": { - "line": 380, + "line": 391, "column": 16 }, "end": { - "line": 380, + "line": 391, "column": 21 }, "identifierName": "split" @@ -58834,15 +60545,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13609, - "end": 13612, + "start": 13943, + "end": 13946, "loc": { "start": { - "line": 380, + "line": 391, "column": 22 }, "end": { - "line": 380, + "line": 391, "column": 25 } }, @@ -58856,15 +60567,15 @@ }, "property": { "type": "Identifier", - "start": 13614, - "end": 13621, + "start": 13948, + "end": 13955, "loc": { "start": { - "line": 380, + "line": 391, "column": 27 }, "end": { - "line": 380, + "line": 391, "column": 34 }, "identifierName": "forEach" @@ -58876,15 +60587,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13622, - "end": 14645, + "start": 13956, + "end": 14979, "loc": { "start": { - "line": 380, + "line": 391, "column": 35 }, "end": { - "line": 414, + "line": 425, "column": 7 } }, @@ -58895,15 +60606,15 @@ "params": [ { "type": "Identifier", - "start": 13622, - "end": 13635, + "start": 13956, + "end": 13969, "loc": { "start": { - "line": 380, + "line": 391, "column": 35 }, "end": { - "line": 380, + "line": 391, "column": 48 }, "identifierName": "classNameItem" @@ -58913,44 +60624,44 @@ ], "body": { "type": "BlockStatement", - "start": 13639, - "end": 14645, + "start": 13973, + "end": 14979, "loc": { "start": { - "line": 380, + "line": 391, "column": 52 }, "end": { - "line": 414, + "line": 425, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 13650, - "end": 13721, + "start": 13984, + "end": 14055, "loc": { "start": { - "line": 381, + "line": 392, "column": 8 }, "end": { - "line": 382, + "line": 393, "column": 40 } }, "test": { "type": "UnaryExpression", - "start": 13653, - "end": 13678, + "start": 13987, + "end": 14012, "loc": { "start": { - "line": 381, + "line": 392, "column": 11 }, "end": { - "line": 381, + "line": 392, "column": 36 } }, @@ -58958,58 +60669,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 13654, - "end": 13678, + "start": 13988, + "end": 14012, "loc": { "start": { - "line": 381, + "line": 392, "column": 12 }, "end": { - "line": 381, + "line": 392, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13654, - "end": 13666, + "start": 13988, + "end": 14000, "loc": { "start": { - "line": 381, + "line": 392, "column": 12 }, "end": { - "line": 381, + "line": 392, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 13654, - "end": 13658, + "start": 13988, + "end": 13992, "loc": { "start": { - "line": 381, + "line": 392, "column": 12 }, "end": { - "line": 381, + "line": 392, "column": 16 } } }, "property": { "type": "Identifier", - "start": 13659, - "end": 13666, + "start": 13993, + "end": 14000, "loc": { "start": { - "line": 381, + "line": 392, "column": 17 }, "end": { - "line": 381, + "line": 392, "column": 24 }, "identifierName": "options" @@ -59020,15 +60731,15 @@ }, "property": { "type": "Identifier", - "start": 13667, - "end": 13678, + "start": 14001, + "end": 14012, "loc": { "start": { - "line": 381, + "line": 392, "column": 25 }, "end": { - "line": 381, + "line": 392, "column": 36 }, "identifierName": "buttonTheme" @@ -59043,87 +60754,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 13691, - "end": 13721, + "start": 14025, + "end": 14055, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 13691, - "end": 13720, + "start": 14025, + "end": 14054, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13691, - "end": 13715, + "start": 14025, + "end": 14049, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 13691, - "end": 13703, + "start": 14025, + "end": 14037, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 13691, - "end": 13695, + "start": 14025, + "end": 14029, "loc": { "start": { - "line": 382, + "line": 393, "column": 10 }, "end": { - "line": 382, + "line": 393, "column": 14 } } }, "property": { "type": "Identifier", - "start": 13696, - "end": 13703, + "start": 14030, + "end": 14037, "loc": { "start": { - "line": 382, + "line": 393, "column": 15 }, "end": { - "line": 382, + "line": 393, "column": 22 }, "identifierName": "options" @@ -59134,15 +60845,15 @@ }, "property": { "type": "Identifier", - "start": 13704, - "end": 13715, + "start": 14038, + "end": 14049, "loc": { "start": { - "line": 382, + "line": 393, "column": 23 }, "end": { - "line": 382, + "line": 393, "column": 34 }, "identifierName": "buttonTheme" @@ -59153,15 +60864,15 @@ }, "right": { "type": "ArrayExpression", - "start": 13718, - "end": 13720, + "start": 14052, + "end": 14054, "loc": { "start": { - "line": 382, + "line": 393, "column": 37 }, "end": { - "line": 382, + "line": 393, "column": 39 } }, @@ -59173,44 +60884,44 @@ }, { "type": "VariableDeclaration", - "start": 13733, - "end": 13760, + "start": 14067, + "end": 14094, "loc": { "start": { - "line": 384, + "line": 395, "column": 8 }, "end": { - "line": 384, + "line": 395, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13737, - "end": 13759, + "start": 14071, + "end": 14093, "loc": { "start": { - "line": 384, + "line": 395, "column": 12 }, "end": { - "line": 384, + "line": 395, "column": 34 } }, "id": { "type": "Identifier", - "start": 13737, - "end": 13751, + "start": 14071, + "end": 14085, "loc": { "start": { - "line": 384, + "line": 395, "column": 12 }, "end": { - "line": 384, + "line": 395, "column": 26 }, "identifierName": "classNameFound" @@ -59219,15 +60930,15 @@ }, "init": { "type": "BooleanLiteral", - "start": 13754, - "end": 13759, + "start": 14088, + "end": 14093, "loc": { "start": { - "line": 384, + "line": 395, "column": 29 }, "end": { - "line": 384, + "line": 395, "column": 34 } }, @@ -59240,15 +60951,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 13774, - "end": 13865, + "start": 14108, + "end": 14199, "loc": { "start": { - "line": 386, + "line": 397, "column": 8 }, "end": { - "line": 388, + "line": 399, "column": 11 } } @@ -59257,85 +60968,85 @@ }, { "type": "ExpressionStatement", - "start": 13875, - "end": 14383, + "start": 14209, + "end": 14717, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 402, + "line": 413, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 13875, - "end": 14382, + "start": 14209, + "end": 14716, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 402, + "line": 413, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 13875, - "end": 13903, + "start": 14209, + "end": 14237, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13899, + "start": 14209, + "end": 14233, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 13875, - "end": 13887, + "start": 14209, + "end": 14221, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 13875, - "end": 13879, + "start": 14209, + "end": 14213, "loc": { "start": { - "line": 389, + "line": 400, "column": 8 }, "end": { - "line": 389, + "line": 400, "column": 12 } }, @@ -59343,15 +61054,15 @@ }, "property": { "type": "Identifier", - "start": 13880, - "end": 13887, + "start": 14214, + "end": 14221, "loc": { "start": { - "line": 389, + "line": 400, "column": 13 }, "end": { - "line": 389, + "line": 400, "column": 20 }, "identifierName": "options" @@ -59363,15 +61074,15 @@ }, "property": { "type": "Identifier", - "start": 13888, - "end": 13899, + "start": 14222, + "end": 14233, "loc": { "start": { - "line": 389, + "line": 400, "column": 21 }, "end": { - "line": 389, + "line": 400, "column": 32 }, "identifierName": "buttonTheme" @@ -59383,15 +61094,15 @@ }, "property": { "type": "Identifier", - "start": 13900, - "end": 13903, + "start": 14234, + "end": 14237, "loc": { "start": { - "line": 389, + "line": 400, "column": 33 }, "end": { - "line": 389, + "line": 400, "column": 36 }, "identifierName": "map" @@ -59404,15 +61115,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 13904, - "end": 14381, + "start": 14238, + "end": 14715, "loc": { "start": { - "line": 389, + "line": 400, "column": 37 }, "end": { - "line": 402, + "line": 413, "column": 9 } }, @@ -59423,15 +61134,15 @@ "params": [ { "type": "Identifier", - "start": 13904, - "end": 13915, + "start": 14238, + "end": 14249, "loc": { "start": { - "line": 389, + "line": 400, "column": 37 }, "end": { - "line": 389, + "line": 400, "column": 48 }, "identifierName": "buttonTheme" @@ -59441,114 +61152,114 @@ ], "body": { "type": "BlockStatement", - "start": 13919, - "end": 14381, + "start": 14253, + "end": 14715, "loc": { "start": { - "line": 389, + "line": 400, "column": 52 }, "end": { - "line": 402, + "line": 413, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 13934, - "end": 14339, + "start": 14268, + "end": 14673, "loc": { "start": { - "line": 391, + "line": 402, "column": 10 }, "end": { - "line": 400, + "line": 411, "column": 11 } }, "test": { "type": "CallExpression", - "start": 13937, - "end": 13989, + "start": 14271, + "end": 14323, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 13937, - "end": 13974, + "start": 14271, + "end": 14308, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 50 } }, "object": { "type": "CallExpression", - "start": 13937, - "end": 13965, + "start": 14271, + "end": 14299, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 13937, - "end": 13960, + "start": 14271, + "end": 14294, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 13937, - "end": 13954, + "start": 14271, + "end": 14288, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 30 } }, "object": { "type": "Identifier", - "start": 13937, - "end": 13948, + "start": 14271, + "end": 14282, "loc": { "start": { - "line": 391, + "line": 402, "column": 13 }, "end": { - "line": 391, + "line": 402, "column": 24 }, "identifierName": "buttonTheme" @@ -59557,15 +61268,15 @@ }, "property": { "type": "Identifier", - "start": 13949, - "end": 13954, + "start": 14283, + "end": 14288, "loc": { "start": { - "line": 391, + "line": 402, "column": 25 }, "end": { - "line": 391, + "line": 402, "column": 30 }, "identifierName": "class" @@ -59576,15 +61287,15 @@ }, "property": { "type": "Identifier", - "start": 13955, - "end": 13960, + "start": 14289, + "end": 14294, "loc": { "start": { - "line": 391, + "line": 402, "column": 31 }, "end": { - "line": 391, + "line": 402, "column": 36 }, "identifierName": "split" @@ -59596,15 +61307,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13961, - "end": 13964, + "start": 14295, + "end": 14298, "loc": { "start": { - "line": 391, + "line": 402, "column": 37 }, "end": { - "line": 391, + "line": 402, "column": 40 } }, @@ -59618,15 +61329,15 @@ }, "property": { "type": "Identifier", - "start": 13966, - "end": 13974, + "start": 14300, + "end": 14308, "loc": { "start": { - "line": 391, + "line": 402, "column": 42 }, "end": { - "line": 391, + "line": 402, "column": 50 }, "identifierName": "includes" @@ -59638,15 +61349,15 @@ "arguments": [ { "type": "Identifier", - "start": 13975, - "end": 13988, + "start": 14309, + "end": 14322, "loc": { "start": { - "line": 391, + "line": 402, "column": 51 }, "end": { - "line": 391, + "line": 402, "column": 64 }, "identifierName": "classNameItem" @@ -59657,59 +61368,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 13990, - "end": 14339, + "start": 14324, + "end": 14673, "loc": { "start": { - "line": 391, + "line": 402, "column": 66 }, "end": { - "line": 400, + "line": 411, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 14005, - "end": 14027, + "start": 14339, + "end": 14361, "loc": { "start": { - "line": 392, + "line": 403, "column": 12 }, "end": { - "line": 392, + "line": 403, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 14005, - "end": 14026, + "start": 14339, + "end": 14360, "loc": { "start": { - "line": 392, + "line": 403, "column": 12 }, "end": { - "line": 392, + "line": 403, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14005, - "end": 14019, + "start": 14339, + "end": 14353, "loc": { "start": { - "line": 392, + "line": 403, "column": 12 }, "end": { - "line": 392, + "line": 403, "column": 26 }, "identifierName": "classNameFound" @@ -59718,15 +61429,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14022, - "end": 14026, + "start": 14356, + "end": 14360, "loc": { "start": { - "line": 392, + "line": 403, "column": 29 }, "end": { - "line": 392, + "line": 403, "column": 33 } }, @@ -59736,44 +61447,44 @@ }, { "type": "VariableDeclaration", - "start": 14055, - "end": 14109, + "start": 14389, + "end": 14443, "loc": { "start": { - "line": 394, + "line": 405, "column": 12 }, "end": { - "line": 394, + "line": 405, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14059, - "end": 14108, + "start": 14393, + "end": 14442, "loc": { "start": { - "line": 394, + "line": 405, "column": 16 }, "end": { - "line": 394, + "line": 405, "column": 65 } }, "id": { "type": "Identifier", - "start": 14059, - "end": 14075, + "start": 14393, + "end": 14409, "loc": { "start": { - "line": 394, + "line": 405, "column": 16 }, "end": { - "line": 394, + "line": 405, "column": 32 }, "identifierName": "buttonThemeArray" @@ -59782,57 +61493,57 @@ }, "init": { "type": "CallExpression", - "start": 14078, - "end": 14108, + "start": 14412, + "end": 14442, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 14078, - "end": 14103, + "start": 14412, + "end": 14437, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 60 } }, "object": { "type": "MemberExpression", - "start": 14078, - "end": 14097, + "start": 14412, + "end": 14431, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 54 } }, "object": { "type": "Identifier", - "start": 14078, - "end": 14089, + "start": 14412, + "end": 14423, "loc": { "start": { - "line": 394, + "line": 405, "column": 35 }, "end": { - "line": 394, + "line": 405, "column": 46 }, "identifierName": "buttonTheme" @@ -59841,15 +61552,15 @@ }, "property": { "type": "Identifier", - "start": 14090, - "end": 14097, + "start": 14424, + "end": 14431, "loc": { "start": { - "line": 394, + "line": 405, "column": 47 }, "end": { - "line": 394, + "line": 405, "column": 54 }, "identifierName": "buttons" @@ -59860,15 +61571,15 @@ }, "property": { "type": "Identifier", - "start": 14098, - "end": 14103, + "start": 14432, + "end": 14437, "loc": { "start": { - "line": 394, + "line": 405, "column": 55 }, "end": { - "line": 394, + "line": 405, "column": 60 }, "identifierName": "split" @@ -59880,15 +61591,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14104, - "end": 14107, + "start": 14438, + "end": 14441, "loc": { "start": { - "line": 394, + "line": 405, "column": 61 }, "end": { - "line": 394, + "line": 405, "column": 64 } }, @@ -59906,29 +61617,29 @@ }, { "type": "IfStatement", - "start": 14123, - "end": 14326, + "start": 14457, + "end": 14660, "loc": { "start": { - "line": 395, + "line": 406, "column": 12 }, "end": { - "line": 399, + "line": 410, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 14126, - "end": 14160, + "start": 14460, + "end": 14494, "loc": { "start": { - "line": 395, + "line": 406, "column": 15 }, "end": { - "line": 395, + "line": 406, "column": 49 } }, @@ -59936,43 +61647,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 14127, - "end": 14160, + "start": 14461, + "end": 14494, "loc": { "start": { - "line": 395, + "line": 406, "column": 16 }, "end": { - "line": 395, + "line": 406, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 14127, - "end": 14152, + "start": 14461, + "end": 14486, "loc": { "start": { - "line": 395, + "line": 406, "column": 16 }, "end": { - "line": 395, + "line": 406, "column": 41 } }, "object": { "type": "Identifier", - "start": 14127, - "end": 14143, + "start": 14461, + "end": 14477, "loc": { "start": { - "line": 395, + "line": 406, "column": 16 }, "end": { - "line": 395, + "line": 406, "column": 32 }, "identifierName": "buttonThemeArray" @@ -59981,15 +61692,15 @@ }, "property": { "type": "Identifier", - "start": 14144, - "end": 14152, + "start": 14478, + "end": 14486, "loc": { "start": { - "line": 395, + "line": 406, "column": 33 }, "end": { - "line": 395, + "line": 406, "column": 41 }, "identifierName": "includes" @@ -60001,15 +61712,15 @@ "arguments": [ { "type": "Identifier", - "start": 14153, - "end": 14159, + "start": 14487, + "end": 14493, "loc": { "start": { - "line": 395, + "line": 406, "column": 42 }, "end": { - "line": 395, + "line": 406, "column": 48 }, "identifierName": "button" @@ -60024,59 +61735,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 14161, - "end": 14326, + "start": 14495, + "end": 14660, "loc": { "start": { - "line": 395, + "line": 406, "column": 50 }, "end": { - "line": 399, + "line": 410, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 14178, - "end": 14200, + "start": 14512, + "end": 14534, "loc": { "start": { - "line": 396, + "line": 407, "column": 14 }, "end": { - "line": 396, + "line": 407, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 14178, - "end": 14199, + "start": 14512, + "end": 14533, "loc": { "start": { - "line": 396, + "line": 407, "column": 14 }, "end": { - "line": 396, + "line": 407, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", - "start": 14178, - "end": 14192, + "start": 14512, + "end": 14526, "loc": { "start": { - "line": 396, + "line": 407, "column": 14 }, "end": { - "line": 396, + "line": 407, "column": 28 }, "identifierName": "classNameFound" @@ -60085,15 +61796,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 14195, - "end": 14199, + "start": 14529, + "end": 14533, "loc": { "start": { - "line": 396, + "line": 407, "column": 31 }, "end": { - "line": 396, + "line": 407, "column": 35 } }, @@ -60103,57 +61814,57 @@ }, { "type": "ExpressionStatement", - "start": 14216, - "end": 14246, + "start": 14550, + "end": 14580, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 14216, - "end": 14245, + "start": 14550, + "end": 14579, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 14216, - "end": 14237, + "start": 14550, + "end": 14571, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 35 } }, "object": { "type": "Identifier", - "start": 14216, - "end": 14232, + "start": 14550, + "end": 14566, "loc": { "start": { - "line": 397, + "line": 408, "column": 14 }, "end": { - "line": 397, + "line": 408, "column": 30 }, "identifierName": "buttonThemeArray" @@ -60162,15 +61873,15 @@ }, "property": { "type": "Identifier", - "start": 14233, - "end": 14237, + "start": 14567, + "end": 14571, "loc": { "start": { - "line": 397, + "line": 408, "column": 31 }, "end": { - "line": 397, + "line": 408, "column": 35 }, "identifierName": "push" @@ -60182,15 +61893,15 @@ "arguments": [ { "type": "Identifier", - "start": 14238, - "end": 14244, + "start": 14572, + "end": 14578, "loc": { "start": { - "line": 397, + "line": 408, "column": 36 }, "end": { - "line": 397, + "line": 408, "column": 42 }, "identifierName": "button" @@ -60202,58 +61913,58 @@ }, { "type": "ExpressionStatement", - "start": 14262, - "end": 14311, + "start": 14596, + "end": 14645, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 14262, - "end": 14310, + "start": 14596, + "end": 14644, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14262, - "end": 14281, + "start": 14596, + "end": 14615, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 33 } }, "object": { "type": "Identifier", - "start": 14262, - "end": 14273, + "start": 14596, + "end": 14607, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 25 }, "identifierName": "buttonTheme" @@ -60262,15 +61973,15 @@ }, "property": { "type": "Identifier", - "start": 14274, - "end": 14281, + "start": 14608, + "end": 14615, "loc": { "start": { - "line": 398, + "line": 409, "column": 26 }, "end": { - "line": 398, + "line": 409, "column": 33 }, "identifierName": "buttons" @@ -60281,43 +61992,43 @@ }, "right": { "type": "CallExpression", - "start": 14284, - "end": 14310, + "start": 14618, + "end": 14644, "loc": { "start": { - "line": 398, + "line": 409, "column": 36 }, "end": { - "line": 398, + "line": 409, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 14284, - "end": 14305, + "start": 14618, + "end": 14639, "loc": { "start": { - "line": 398, + "line": 409, "column": 36 }, "end": { - "line": 398, + "line": 409, "column": 57 } }, "object": { "type": "Identifier", - "start": 14284, - "end": 14300, + "start": 14618, + "end": 14634, "loc": { "start": { - "line": 398, + "line": 409, "column": 36 }, "end": { - "line": 398, + "line": 409, "column": 52 }, "identifierName": "buttonThemeArray" @@ -60326,15 +62037,15 @@ }, "property": { "type": "Identifier", - "start": 14301, - "end": 14305, + "start": 14635, + "end": 14639, "loc": { "start": { - "line": 398, + "line": 409, "column": 53 }, "end": { - "line": 398, + "line": 409, "column": 57 }, "identifierName": "join" @@ -60346,15 +62057,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14306, - "end": 14309, + "start": 14640, + "end": 14643, "loc": { "start": { - "line": 398, + "line": 409, "column": 58 }, "end": { - "line": 398, + "line": 409, "column": 61 } }, @@ -60380,29 +62091,29 @@ }, { "type": "ReturnStatement", - "start": 14351, - "end": 14370, + "start": 14685, + "end": 14704, "loc": { "start": { - "line": 401, + "line": 412, "column": 10 }, "end": { - "line": 401, + "line": 412, "column": 29 } }, "argument": { "type": "Identifier", - "start": 14358, - "end": 14369, + "start": 14692, + "end": 14703, "loc": { "start": { - "line": 401, + "line": 412, "column": 17 }, "end": { - "line": 401, + "line": 412, "column": 28 }, "identifierName": "buttonTheme" @@ -60421,15 +62132,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 13774, - "end": 13865, + "start": 14108, + "end": 14199, "loc": { "start": { - "line": 386, + "line": 397, "column": 8 }, "end": { - "line": 388, + "line": 399, "column": 11 } } @@ -60439,15 +62150,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 14395, - "end": 14470, + "start": 14729, + "end": 14804, "loc": { "start": { - "line": 404, + "line": 415, "column": 8 }, "end": { - "line": 406, + "line": 417, "column": 11 } } @@ -60456,29 +62167,29 @@ }, { "type": "IfStatement", - "start": 14480, - "end": 14634, + "start": 14814, + "end": 14968, "loc": { "start": { - "line": 407, + "line": 418, "column": 8 }, "end": { - "line": 412, + "line": 423, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 14483, - "end": 14498, + "start": 14817, + "end": 14832, "loc": { "start": { - "line": 407, + "line": 418, "column": 11 }, "end": { - "line": 407, + "line": 418, "column": 26 } }, @@ -60486,15 +62197,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14484, - "end": 14498, + "start": 14818, + "end": 14832, "loc": { "start": { - "line": 407, + "line": 418, "column": 12 }, "end": { - "line": 407, + "line": 418, "column": 26 }, "identifierName": "classNameFound" @@ -60509,115 +62220,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 14499, - "end": 14634, + "start": 14833, + "end": 14968, "loc": { "start": { - "line": 407, + "line": 418, "column": 27 }, "end": { - "line": 412, + "line": 423, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14512, - "end": 14623, + "start": 14846, + "end": 14957, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 411, + "line": 422, "column": 13 } }, "expression": { "type": "CallExpression", - "start": 14512, - "end": 14622, + "start": 14846, + "end": 14956, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 411, + "line": 422, "column": 12 } }, "callee": { "type": "MemberExpression", - "start": 14512, - "end": 14541, + "start": 14846, + "end": 14875, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 14512, - "end": 14536, + "start": 14846, + "end": 14870, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 14512, - "end": 14524, + "start": 14846, + "end": 14858, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 14512, - "end": 14516, + "start": 14846, + "end": 14850, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 14 } } }, "property": { "type": "Identifier", - "start": 14517, - "end": 14524, + "start": 14851, + "end": 14858, "loc": { "start": { - "line": 408, + "line": 419, "column": 15 }, "end": { - "line": 408, + "line": 419, "column": 22 }, "identifierName": "options" @@ -60628,15 +62339,15 @@ }, "property": { "type": "Identifier", - "start": 14525, - "end": 14536, + "start": 14859, + "end": 14870, "loc": { "start": { - "line": 408, + "line": 419, "column": 23 }, "end": { - "line": 408, + "line": 419, "column": 34 }, "identifierName": "buttonTheme" @@ -60647,15 +62358,15 @@ }, "property": { "type": "Identifier", - "start": 14537, - "end": 14541, + "start": 14871, + "end": 14875, "loc": { "start": { - "line": 408, + "line": 419, "column": 35 }, "end": { - "line": 408, + "line": 419, "column": 39 }, "identifierName": "push" @@ -60667,30 +62378,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 14542, - "end": 14621, + "start": 14876, + "end": 14955, "loc": { "start": { - "line": 408, + "line": 419, "column": 40 }, "end": { - "line": 411, + "line": 422, "column": 11 } }, "properties": [ { "type": "ObjectProperty", - "start": 14557, - "end": 14577, + "start": 14891, + "end": 14911, "loc": { "start": { - "line": 409, + "line": 420, "column": 12 }, "end": { - "line": 409, + "line": 420, "column": 32 } }, @@ -60699,15 +62410,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14557, - "end": 14562, + "start": 14891, + "end": 14896, "loc": { "start": { - "line": 409, + "line": 420, "column": 12 }, "end": { - "line": 409, + "line": 420, "column": 17 }, "identifierName": "class" @@ -60716,15 +62427,15 @@ }, "value": { "type": "Identifier", - "start": 14564, - "end": 14577, + "start": 14898, + "end": 14911, "loc": { "start": { - "line": 409, + "line": 420, "column": 19 }, "end": { - "line": 409, + "line": 420, "column": 32 }, "identifierName": "classNameItem" @@ -60734,15 +62445,15 @@ }, { "type": "ObjectProperty", - "start": 14592, - "end": 14608, + "start": 14926, + "end": 14942, "loc": { "start": { - "line": 410, + "line": 421, "column": 12 }, "end": { - "line": 410, + "line": 421, "column": 28 } }, @@ -60751,15 +62462,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14592, - "end": 14599, + "start": 14926, + "end": 14933, "loc": { "start": { - "line": 410, + "line": 421, "column": 12 }, "end": { - "line": 410, + "line": 421, "column": 19 }, "identifierName": "buttons" @@ -60768,15 +62479,15 @@ }, "value": { "type": "Identifier", - "start": 14601, - "end": 14608, + "start": 14935, + "end": 14942, "loc": { "start": { - "line": 410, + "line": 421, "column": 21 }, "end": { - "line": 410, + "line": 421, "column": 28 }, "identifierName": "buttons" @@ -60797,15 +62508,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 14395, - "end": 14470, + "start": 14729, + "end": 14804, "loc": { "start": { - "line": 404, + "line": 415, "column": 8 }, "end": { - "line": 406, + "line": 417, "column": 11 } } @@ -60828,72 +62539,72 @@ }, { "type": "ExpressionStatement", - "start": 14664, - "end": 14678, + "start": 14998, + "end": 15012, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 18 } }, "expression": { "type": "CallExpression", - "start": 14664, - "end": 14677, + "start": 14998, + "end": 15011, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 17 } }, "callee": { "type": "MemberExpression", - "start": 14664, - "end": 14675, + "start": 14998, + "end": 15009, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 14664, - "end": 14668, + "start": 14998, + "end": 15002, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 8 } } }, "property": { "type": "Identifier", - "start": 14669, - "end": 14675, + "start": 15003, + "end": 15009, "loc": { "start": { - "line": 417, + "line": 428, "column": 9 }, "end": { - "line": 417, + "line": 428, "column": 15 }, "identifierName": "render" @@ -60913,15 +62624,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 13166, - "end": 13447, + "start": 13500, + "end": 13781, "loc": { "start": { - "line": 370, + "line": 381, "column": 2 }, "end": { - "line": 374, + "line": 385, "column": 5 } } @@ -60931,15 +62642,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 14689, - "end": 15029, + "start": 15023, + "end": 15363, "loc": { "start": { - "line": 420, + "line": 431, "column": 2 }, "end": { - "line": 424, + "line": 435, "column": 5 } } @@ -60948,15 +62659,15 @@ }, { "type": "ClassMethod", - "start": 15033, - "end": 16450, + "start": 15367, + "end": 16784, "loc": { "start": { - "line": 425, + "line": 436, "column": 2 }, "end": { - "line": 471, + "line": 482, "column": 3 } }, @@ -60964,15 +62675,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15033, - "end": 15050, + "start": 15367, + "end": 15384, "loc": { "start": { - "line": 425, + "line": 436, "column": 2 }, "end": { - "line": 425, + "line": 436, "column": 19 }, "identifierName": "removeButtonTheme" @@ -60988,15 +62699,15 @@ "params": [ { "type": "Identifier", - "start": 15051, - "end": 15058, + "start": 15385, + "end": 15392, "loc": { "start": { - "line": 425, + "line": 436, "column": 20 }, "end": { - "line": 425, + "line": 436, "column": 27 }, "identifierName": "buttons" @@ -61005,15 +62716,15 @@ }, { "type": "Identifier", - "start": 15060, - "end": 15069, + "start": 15394, + "end": 15403, "loc": { "start": { - "line": 425, + "line": 436, "column": 29 }, "end": { - "line": 425, + "line": 436, "column": 38 }, "identifierName": "className" @@ -61023,58 +62734,58 @@ ], "body": { "type": "BlockStatement", - "start": 15070, - "end": 16450, + "start": 15404, + "end": 16784, "loc": { "start": { - "line": 425, + "line": 436, "column": 39 }, "end": { - "line": 471, + "line": 482, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 15163, - "end": 15278, + "start": 15497, + "end": 15612, "loc": { "start": { - "line": 429, + "line": 440, "column": 4 }, "end": { - "line": 433, + "line": 444, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 15166, - "end": 15188, + "start": 15500, + "end": 15522, "loc": { "start": { - "line": 429, + "line": 440, "column": 7 }, "end": { - "line": 429, + "line": 440, "column": 29 } }, "left": { "type": "UnaryExpression", - "start": 15166, - "end": 15174, + "start": 15500, + "end": 15508, "loc": { "start": { - "line": 429, + "line": 440, "column": 7 }, "end": { - "line": 429, + "line": 440, "column": 15 } }, @@ -61082,15 +62793,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15167, - "end": 15174, + "start": 15501, + "end": 15508, "loc": { "start": { - "line": 429, + "line": 440, "column": 8 }, "end": { - "line": 429, + "line": 440, "column": 15 }, "identifierName": "buttons" @@ -61106,15 +62817,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 15178, - "end": 15188, + "start": 15512, + "end": 15522, "loc": { "start": { - "line": 429, + "line": 440, "column": 19 }, "end": { - "line": 429, + "line": 440, "column": 29 } }, @@ -61122,15 +62833,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15179, - "end": 15188, + "start": 15513, + "end": 15522, "loc": { "start": { - "line": 429, + "line": 440, "column": 20 }, "end": { - "line": 429, + "line": 440, "column": 29 }, "identifierName": "className" @@ -61145,102 +62856,102 @@ }, "consequent": { "type": "BlockStatement", - "start": 15189, - "end": 15278, + "start": 15523, + "end": 15612, "loc": { "start": { - "line": 429, + "line": 440, "column": 30 }, "end": { - "line": 433, + "line": 444, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 15198, - "end": 15228, + "start": 15532, + "end": 15562, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 15198, - "end": 15227, + "start": 15532, + "end": 15561, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15198, - "end": 15222, + "start": 15532, + "end": 15556, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 15198, - "end": 15210, + "start": 15532, + "end": 15544, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 15198, - "end": 15202, + "start": 15532, + "end": 15536, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 10 } } }, "property": { "type": "Identifier", - "start": 15203, - "end": 15210, + "start": 15537, + "end": 15544, "loc": { "start": { - "line": 430, + "line": 441, "column": 11 }, "end": { - "line": 430, + "line": 441, "column": 18 }, "identifierName": "options" @@ -61251,15 +62962,15 @@ }, "property": { "type": "Identifier", - "start": 15211, - "end": 15222, + "start": 15545, + "end": 15556, "loc": { "start": { - "line": 430, + "line": 441, "column": 19 }, "end": { - "line": 430, + "line": 441, "column": 30 }, "identifierName": "buttonTheme" @@ -61270,15 +62981,15 @@ }, "right": { "type": "ArrayExpression", - "start": 15225, - "end": 15227, + "start": 15559, + "end": 15561, "loc": { "start": { - "line": 430, + "line": 441, "column": 33 }, "end": { - "line": 430, + "line": 441, "column": 35 } }, @@ -61288,72 +62999,72 @@ }, { "type": "ExpressionStatement", - "start": 15236, - "end": 15250, + "start": 15570, + "end": 15584, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 15236, - "end": 15249, + "start": 15570, + "end": 15583, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 15236, - "end": 15247, + "start": 15570, + "end": 15581, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 15236, - "end": 15240, + "start": 15570, + "end": 15574, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 10 } } }, "property": { "type": "Identifier", - "start": 15241, - "end": 15247, + "start": 15575, + "end": 15581, "loc": { "start": { - "line": 431, + "line": 442, "column": 11 }, "end": { - "line": 431, + "line": 442, "column": 17 }, "identifierName": "render" @@ -61367,29 +63078,29 @@ }, { "type": "ReturnStatement", - "start": 15258, - "end": 15271, + "start": 15592, + "end": 15605, "loc": { "start": { - "line": 432, + "line": 443, "column": 6 }, "end": { - "line": 432, + "line": 443, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 15265, - "end": 15270, + "start": 15599, + "end": 15604, "loc": { "start": { - "line": 432, + "line": 443, "column": 13 }, "end": { - "line": 432, + "line": 443, "column": 18 } }, @@ -61405,15 +63116,15 @@ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 15077, - "end": 15157, + "start": 15411, + "end": 15491, "loc": { "start": { - "line": 426, + "line": 437, "column": 4 }, "end": { - "line": 428, + "line": 439, "column": 7 } } @@ -61423,15 +63134,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 15286, - "end": 15354, + "start": 15620, + "end": 15688, "loc": { "start": { - "line": 435, + "line": 446, "column": 4 }, "end": { - "line": 437, + "line": 448, "column": 7 } } @@ -61440,57 +63151,57 @@ }, { "type": "IfStatement", - "start": 15360, - "end": 16445, + "start": 15694, + "end": 16779, "loc": { "start": { - "line": 438, + "line": 449, "column": 4 }, "end": { - "line": 470, + "line": 481, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 15363, - "end": 15448, + "start": 15697, + "end": 15782, "loc": { "start": { - "line": 438, + "line": 449, "column": 7 }, "end": { - "line": 438, + "line": 449, "column": 92 } }, "left": { "type": "LogicalExpression", - "start": 15363, - "end": 15413, + "start": 15697, + "end": 15747, "loc": { "start": { - "line": 438, + "line": 449, "column": 7 }, "end": { - "line": 438, + "line": 449, "column": 57 } }, "left": { "type": "Identifier", - "start": 15363, - "end": 15370, + "start": 15697, + "end": 15704, "loc": { "start": { - "line": 438, + "line": 449, "column": 7 }, "end": { - "line": 438, + "line": 449, "column": 14 }, "identifierName": "buttons" @@ -61501,43 +63212,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 15374, - "end": 15413, + "start": 15708, + "end": 15747, "loc": { "start": { - "line": 438, + "line": 449, "column": 18 }, "end": { - "line": 438, + "line": 449, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 15374, - "end": 15387, + "start": 15708, + "end": 15721, "loc": { "start": { - "line": 438, + "line": 449, "column": 18 }, "end": { - "line": 438, + "line": 449, "column": 31 } }, "object": { "type": "Identifier", - "start": 15374, - "end": 15379, + "start": 15708, + "end": 15713, "loc": { "start": { - "line": 438, + "line": 449, "column": 18 }, "end": { - "line": 438, + "line": 449, "column": 23 }, "identifierName": "Array" @@ -61546,15 +63257,15 @@ }, "property": { "type": "Identifier", - "start": 15380, - "end": 15387, + "start": 15714, + "end": 15721, "loc": { "start": { - "line": 438, + "line": 449, "column": 24 }, "end": { - "line": 438, + "line": 449, "column": 31 }, "identifierName": "isArray" @@ -61566,58 +63277,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 15388, - "end": 15412, + "start": 15722, + "end": 15746, "loc": { "start": { - "line": 438, + "line": 449, "column": 32 }, "end": { - "line": 438, + "line": 449, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 15388, - "end": 15400, + "start": 15722, + "end": 15734, "loc": { "start": { - "line": 438, + "line": 449, "column": 32 }, "end": { - "line": 438, + "line": 449, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 15388, - "end": 15392, + "start": 15722, + "end": 15726, "loc": { "start": { - "line": 438, + "line": 449, "column": 32 }, "end": { - "line": 438, + "line": 449, "column": 36 } } }, "property": { "type": "Identifier", - "start": 15393, - "end": 15400, + "start": 15727, + "end": 15734, "loc": { "start": { - "line": 438, + "line": 449, "column": 37 }, "end": { - "line": 438, + "line": 449, "column": 44 }, "identifierName": "options" @@ -61628,15 +63339,15 @@ }, "property": { "type": "Identifier", - "start": 15401, - "end": 15412, + "start": 15735, + "end": 15746, "loc": { "start": { - "line": 438, + "line": 449, "column": 45 }, "end": { - "line": 438, + "line": 449, "column": 56 }, "identifierName": "buttonTheme" @@ -61652,72 +63363,72 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 15417, - "end": 15448, + "start": 15751, + "end": 15782, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 92 } }, "object": { "type": "MemberExpression", - "start": 15417, - "end": 15441, + "start": 15751, + "end": 15775, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 85 } }, "object": { "type": "MemberExpression", - "start": 15417, - "end": 15429, + "start": 15751, + "end": 15763, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 73 } }, "object": { "type": "ThisExpression", - "start": 15417, - "end": 15421, + "start": 15751, + "end": 15755, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 65 } } }, "property": { "type": "Identifier", - "start": 15422, - "end": 15429, + "start": 15756, + "end": 15763, "loc": { "start": { - "line": 438, + "line": 449, "column": 66 }, "end": { - "line": 438, + "line": 449, "column": 73 }, "identifierName": "options" @@ -61728,15 +63439,15 @@ }, "property": { "type": "Identifier", - "start": 15430, - "end": 15441, + "start": 15764, + "end": 15775, "loc": { "start": { - "line": 438, + "line": 449, "column": 74 }, "end": { - "line": 438, + "line": 449, "column": 85 }, "identifierName": "buttonTheme" @@ -61747,15 +63458,15 @@ }, "property": { "type": "Identifier", - "start": 15442, - "end": 15448, + "start": 15776, + "end": 15782, "loc": { "start": { - "line": 438, + "line": 449, "column": 86 }, "end": { - "line": 438, + "line": 449, "column": 92 }, "identifierName": "length" @@ -61768,59 +63479,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 15449, - "end": 16445, + "start": 15783, + "end": 16779, "loc": { "start": { - "line": 438, + "line": 449, "column": 93 }, "end": { - "line": 470, + "line": 481, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 15458, - "end": 15495, + "start": 15792, + "end": 15829, "loc": { "start": { - "line": 439, + "line": 450, "column": 6 }, "end": { - "line": 439, + "line": 450, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15462, - "end": 15494, + "start": 15796, + "end": 15828, "loc": { "start": { - "line": 439, + "line": 450, "column": 10 }, "end": { - "line": 439, + "line": 450, "column": 42 } }, "id": { "type": "Identifier", - "start": 15462, - "end": 15473, + "start": 15796, + "end": 15807, "loc": { "start": { - "line": 439, + "line": 450, "column": 10 }, "end": { - "line": 439, + "line": 450, "column": 21 }, "identifierName": "buttonArray" @@ -61829,43 +63540,43 @@ }, "init": { "type": "CallExpression", - "start": 15476, - "end": 15494, + "start": 15810, + "end": 15828, "loc": { "start": { - "line": 439, + "line": 450, "column": 24 }, "end": { - "line": 439, + "line": 450, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 15476, - "end": 15489, + "start": 15810, + "end": 15823, "loc": { "start": { - "line": 439, + "line": 450, "column": 24 }, "end": { - "line": 439, + "line": 450, "column": 37 } }, "object": { "type": "Identifier", - "start": 15476, - "end": 15483, + "start": 15810, + "end": 15817, "loc": { "start": { - "line": 439, + "line": 450, "column": 24 }, "end": { - "line": 439, + "line": 450, "column": 31 }, "identifierName": "buttons" @@ -61874,15 +63585,15 @@ }, "property": { "type": "Identifier", - "start": 15484, - "end": 15489, + "start": 15818, + "end": 15823, "loc": { "start": { - "line": 439, + "line": 450, "column": 32 }, "end": { - "line": 439, + "line": 450, "column": 37 }, "identifierName": "split" @@ -61894,15 +63605,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15490, - "end": 15493, + "start": 15824, + "end": 15827, "loc": { "start": { - "line": 439, + "line": 450, "column": 38 }, "end": { - "line": 439, + "line": 450, "column": 41 } }, @@ -61920,57 +63631,57 @@ }, { "type": "ExpressionStatement", - "start": 15503, - "end": 16414, + "start": 15837, + "end": 16748, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 467, + "line": 478, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 15503, - "end": 16413, + "start": 15837, + "end": 16747, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 467, + "line": 478, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 15503, - "end": 15522, + "start": 15837, + "end": 15856, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 440, + "line": 451, "column": 25 } }, "object": { "type": "Identifier", - "start": 15503, - "end": 15514, + "start": 15837, + "end": 15848, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 440, + "line": 451, "column": 17 }, "identifierName": "buttonArray" @@ -61979,15 +63690,15 @@ }, "property": { "type": "Identifier", - "start": 15515, - "end": 15522, + "start": 15849, + "end": 15856, "loc": { "start": { - "line": 440, + "line": 451, "column": 18 }, "end": { - "line": 440, + "line": 451, "column": 25 }, "identifierName": "forEach" @@ -61999,15 +63710,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15523, - "end": 16412, + "start": 15857, + "end": 16746, "loc": { "start": { - "line": 440, + "line": 451, "column": 26 }, "end": { - "line": 467, + "line": 478, "column": 7 } }, @@ -62018,15 +63729,15 @@ "params": [ { "type": "Identifier", - "start": 15524, - "end": 15530, + "start": 15858, + "end": 15864, "loc": { "start": { - "line": 440, + "line": 451, "column": 27 }, "end": { - "line": 440, + "line": 451, "column": 33 }, "identifierName": "button" @@ -62035,15 +63746,15 @@ }, { "type": "Identifier", - "start": 15532, - "end": 15535, + "start": 15866, + "end": 15869, "loc": { "start": { - "line": 440, + "line": 451, "column": 35 }, "end": { - "line": 440, + "line": 451, "column": 38 }, "identifierName": "key" @@ -62053,115 +63764,115 @@ ], "body": { "type": "BlockStatement", - "start": 15540, - "end": 16412, + "start": 15874, + "end": 16746, "loc": { "start": { - "line": 440, + "line": 451, "column": 43 }, "end": { - "line": 467, + "line": 478, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 15551, - "end": 16403, + "start": 15885, + "end": 16737, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 466, + "line": 477, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 15551, - "end": 16402, + "start": 15885, + "end": 16736, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 466, + "line": 477, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 15551, - "end": 15579, + "start": 15885, + "end": 15913, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 15551, - "end": 15575, + "start": 15885, + "end": 15909, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 15551, - "end": 15563, + "start": 15885, + "end": 15897, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 15551, - "end": 15555, + "start": 15885, + "end": 15889, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 12 } } }, "property": { "type": "Identifier", - "start": 15556, - "end": 15563, + "start": 15890, + "end": 15897, "loc": { "start": { - "line": 441, + "line": 452, "column": 13 }, "end": { - "line": 441, + "line": 452, "column": 20 }, "identifierName": "options" @@ -62172,15 +63883,15 @@ }, "property": { "type": "Identifier", - "start": 15564, - "end": 15575, + "start": 15898, + "end": 15909, "loc": { "start": { - "line": 441, + "line": 452, "column": 21 }, "end": { - "line": 441, + "line": 452, "column": 32 }, "identifierName": "buttonTheme" @@ -62191,15 +63902,15 @@ }, "property": { "type": "Identifier", - "start": 15576, - "end": 15579, + "start": 15910, + "end": 15913, "loc": { "start": { - "line": 441, + "line": 452, "column": 33 }, "end": { - "line": 441, + "line": 452, "column": 36 }, "identifierName": "map" @@ -62211,15 +63922,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15580, - "end": 16401, + "start": 15914, + "end": 16735, "loc": { "start": { - "line": 441, + "line": 452, "column": 37 }, "end": { - "line": 466, + "line": 477, "column": 9 } }, @@ -62230,15 +63941,15 @@ "params": [ { "type": "Identifier", - "start": 15581, - "end": 15592, + "start": 15915, + "end": 15926, "loc": { "start": { - "line": 441, + "line": 452, "column": 38 }, "end": { - "line": 441, + "line": 452, "column": 49 }, "identifierName": "buttonTheme" @@ -62247,15 +63958,15 @@ }, { "type": "Identifier", - "start": 15594, - "end": 15599, + "start": 15928, + "end": 15933, "loc": { "start": { - "line": 441, + "line": 452, "column": 51 }, "end": { - "line": 441, + "line": 452, "column": 56 }, "identifierName": "index" @@ -62265,72 +63976,72 @@ ], "body": { "type": "BlockStatement", - "start": 15604, - "end": 16401, + "start": 15938, + "end": 16735, "loc": { "start": { - "line": 441, + "line": 452, "column": 61 }, "end": { - "line": 466, + "line": 477, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 15772, - "end": 16357, + "start": 16106, + "end": 16691, "loc": { "start": { - "line": 447, + "line": 458, "column": 10 }, "end": { - "line": 463, + "line": 474, "column": 11 } }, "test": { "type": "LogicalExpression", - "start": 15789, - "end": 15868, + "start": 16123, + "end": 16202, "loc": { "start": { - "line": 448, + "line": 459, "column": 12 }, "end": { - "line": 449, + "line": 460, "column": 22 } }, "left": { "type": "LogicalExpression", - "start": 15790, - "end": 15840, + "start": 16124, + "end": 16174, "loc": { "start": { - "line": 448, + "line": 459, "column": 13 }, "end": { - "line": 448, + "line": 459, "column": 63 } }, "left": { "type": "Identifier", - "start": 15790, - "end": 15799, + "start": 16124, + "end": 16133, "loc": { "start": { - "line": 448, + "line": 459, "column": 13 }, "end": { - "line": 448, + "line": 459, "column": 22 }, "identifierName": "className" @@ -62341,43 +64052,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 15803, - "end": 15840, + "start": 16137, + "end": 16174, "loc": { "start": { - "line": 448, + "line": 459, "column": 26 }, "end": { - "line": 448, + "line": 459, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 15803, - "end": 15821, + "start": 16137, + "end": 16155, "loc": { "start": { - "line": 448, + "line": 459, "column": 26 }, "end": { - "line": 448, + "line": 459, "column": 44 } }, "object": { "type": "Identifier", - "start": 15803, - "end": 15812, + "start": 16137, + "end": 16146, "loc": { "start": { - "line": 448, + "line": 459, "column": 26 }, "end": { - "line": 448, + "line": 459, "column": 35 }, "identifierName": "className" @@ -62386,15 +64097,15 @@ }, "property": { "type": "Identifier", - "start": 15813, - "end": 15821, + "start": 16147, + "end": 16155, "loc": { "start": { - "line": 448, + "line": 459, "column": 36 }, "end": { - "line": 448, + "line": 459, "column": 44 }, "identifierName": "includes" @@ -62406,29 +64117,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 15822, - "end": 15839, + "start": 16156, + "end": 16173, "loc": { "start": { - "line": 448, + "line": 459, "column": 45 }, "end": { - "line": 448, + "line": 459, "column": 62 } }, "object": { "type": "Identifier", - "start": 15822, - "end": 15833, + "start": 16156, + "end": 16167, "loc": { "start": { - "line": 448, + "line": 459, "column": 45 }, "end": { - "line": 448, + "line": 459, "column": 56 }, "identifierName": "buttonTheme" @@ -62437,15 +64148,15 @@ }, "property": { "type": "Identifier", - "start": 15834, - "end": 15839, + "start": 16168, + "end": 16173, "loc": { "start": { - "line": 448, + "line": 459, "column": 57 }, "end": { - "line": 448, + "line": 459, "column": 62 }, "identifierName": "class" @@ -62459,21 +64170,21 @@ "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 15789 + "parenStart": 16123 } }, "operator": "||", "right": { "type": "UnaryExpression", - "start": 15858, - "end": 15868, + "start": 16192, + "end": 16202, "loc": { "start": { - "line": 449, + "line": 460, "column": 12 }, "end": { - "line": 449, + "line": 460, "column": 22 } }, @@ -62481,15 +64192,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15859, - "end": 15868, + "start": 16193, + "end": 16202, "loc": { "start": { - "line": 449, + "line": 460, "column": 13 }, "end": { - "line": 449, + "line": 460, "column": 22 }, "identifierName": "className" @@ -62504,59 +64215,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 15881, - "end": 16357, + "start": 16215, + "end": 16691, "loc": { "start": { - "line": 450, + "line": 461, "column": 11 }, "end": { - "line": 463, + "line": 474, "column": 11 } }, "body": [ { "type": "VariableDeclaration", - "start": 15896, - "end": 15985, + "start": 16230, + "end": 16319, "loc": { "start": { - "line": 451, + "line": 462, "column": 12 }, "end": { - "line": 451, + "line": 462, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15900, - "end": 15984, + "start": 16234, + "end": 16318, "loc": { "start": { - "line": 451, + "line": 462, "column": 16 }, "end": { - "line": 451, + "line": 462, "column": 100 } }, "id": { "type": "Identifier", - "start": 15900, - "end": 15919, + "start": 16234, + "end": 16253, "loc": { "start": { - "line": 451, + "line": 462, "column": 16 }, "end": { - "line": 451, + "line": 462, "column": 35 }, "identifierName": "filteredButtonArray" @@ -62565,85 +64276,85 @@ }, "init": { "type": "CallExpression", - "start": 15922, - "end": 15984, + "start": 16256, + "end": 16318, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 100 } }, "callee": { "type": "MemberExpression", - "start": 15922, - "end": 15959, + "start": 16256, + "end": 16293, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 75 } }, "object": { "type": "CallExpression", - "start": 15922, - "end": 15952, + "start": 16256, + "end": 16286, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 15922, - "end": 15947, + "start": 16256, + "end": 16281, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 63 } }, "object": { "type": "MemberExpression", - "start": 15922, - "end": 15941, + "start": 16256, + "end": 16275, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 57 } }, "object": { "type": "Identifier", - "start": 15922, - "end": 15933, + "start": 16256, + "end": 16267, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 49 }, "identifierName": "buttonTheme" @@ -62652,15 +64363,15 @@ }, "property": { "type": "Identifier", - "start": 15934, - "end": 15941, + "start": 16268, + "end": 16275, "loc": { "start": { - "line": 451, + "line": 462, "column": 50 }, "end": { - "line": 451, + "line": 462, "column": 57 }, "identifierName": "buttons" @@ -62671,15 +64382,15 @@ }, "property": { "type": "Identifier", - "start": 15942, - "end": 15947, + "start": 16276, + "end": 16281, "loc": { "start": { - "line": 451, + "line": 462, "column": 58 }, "end": { - "line": 451, + "line": 462, "column": 63 }, "identifierName": "split" @@ -62691,15 +64402,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15948, - "end": 15951, + "start": 16282, + "end": 16285, "loc": { "start": { - "line": 451, + "line": 462, "column": 64 }, "end": { - "line": 451, + "line": 462, "column": 67 } }, @@ -62713,15 +64424,15 @@ }, "property": { "type": "Identifier", - "start": 15953, - "end": 15959, + "start": 16287, + "end": 16293, "loc": { "start": { - "line": 451, + "line": 462, "column": 69 }, "end": { - "line": 451, + "line": 462, "column": 75 }, "identifierName": "filter" @@ -62733,15 +64444,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15960, - "end": 15983, + "start": 16294, + "end": 16317, "loc": { "start": { - "line": 451, + "line": 462, "column": 76 }, "end": { - "line": 451, + "line": 462, "column": 99 } }, @@ -62752,15 +64463,15 @@ "params": [ { "type": "Identifier", - "start": 15960, - "end": 15964, + "start": 16294, + "end": 16298, "loc": { "start": { - "line": 451, + "line": 462, "column": 76 }, "end": { - "line": 451, + "line": 462, "column": 80 }, "identifierName": "item" @@ -62770,29 +64481,29 @@ ], "body": { "type": "BinaryExpression", - "start": 15968, - "end": 15983, + "start": 16302, + "end": 16317, "loc": { "start": { - "line": 451, + "line": 462, "column": 84 }, "end": { - "line": 451, + "line": 462, "column": 99 } }, "left": { "type": "Identifier", - "start": 15968, - "end": 15972, + "start": 16302, + "end": 16306, "loc": { "start": { - "line": 451, + "line": 462, "column": 84 }, "end": { - "line": 451, + "line": 462, "column": 88 }, "identifierName": "item" @@ -62802,15 +64513,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 15977, - "end": 15983, + "start": 16311, + "end": 16317, "loc": { "start": { - "line": 451, + "line": 462, "column": 93 }, "end": { - "line": 451, + "line": 462, "column": 99 }, "identifierName": "button" @@ -62828,15 +64539,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 16001, - "end": 16098, + "start": 16335, + "end": 16432, "loc": { "start": { - "line": 453, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 466, "column": 15 } } @@ -62845,43 +64556,43 @@ }, { "type": "IfStatement", - "start": 16112, - "end": 16341, + "start": 16446, + "end": 16675, "loc": { "start": { - "line": 456, + "line": 467, "column": 12 }, "end": { - "line": 461, + "line": 472, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 16115, - "end": 16141, + "start": 16449, + "end": 16475, "loc": { "start": { - "line": 456, + "line": 467, "column": 15 }, "end": { - "line": 456, + "line": 467, "column": 41 } }, "object": { "type": "Identifier", - "start": 16115, - "end": 16134, + "start": 16449, + "end": 16468, "loc": { "start": { - "line": 456, + "line": 467, "column": 15 }, "end": { - "line": 456, + "line": 467, "column": 34 }, "identifierName": "filteredButtonArray" @@ -62891,15 +64602,15 @@ }, "property": { "type": "Identifier", - "start": 16135, - "end": 16141, + "start": 16469, + "end": 16475, "loc": { "start": { - "line": 456, + "line": 467, "column": 35 }, "end": { - "line": 456, + "line": 467, "column": 41 }, "identifierName": "length" @@ -62911,73 +64622,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 16142, - "end": 16226, + "start": 16476, + "end": 16560, "loc": { "start": { - "line": 456, + "line": 467, "column": 42 }, "end": { - "line": 458, + "line": 469, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16159, - "end": 16211, + "start": 16493, + "end": 16545, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 16159, - "end": 16210, + "start": 16493, + "end": 16544, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16159, - "end": 16178, + "start": 16493, + "end": 16512, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 33 } }, "object": { "type": "Identifier", - "start": 16159, - "end": 16170, + "start": 16493, + "end": 16504, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 25 }, "identifierName": "buttonTheme" @@ -62986,15 +64697,15 @@ }, "property": { "type": "Identifier", - "start": 16171, - "end": 16178, + "start": 16505, + "end": 16512, "loc": { "start": { - "line": 457, + "line": 468, "column": 26 }, "end": { - "line": 457, + "line": 468, "column": 33 }, "identifierName": "buttons" @@ -63005,43 +64716,43 @@ }, "right": { "type": "CallExpression", - "start": 16181, - "end": 16210, + "start": 16515, + "end": 16544, "loc": { "start": { - "line": 457, + "line": 468, "column": 36 }, "end": { - "line": 457, + "line": 468, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 16181, - "end": 16205, + "start": 16515, + "end": 16539, "loc": { "start": { - "line": 457, + "line": 468, "column": 36 }, "end": { - "line": 457, + "line": 468, "column": 60 } }, "object": { "type": "Identifier", - "start": 16181, - "end": 16200, + "start": 16515, + "end": 16534, "loc": { "start": { - "line": 457, + "line": 468, "column": 36 }, "end": { - "line": 457, + "line": 468, "column": 55 }, "identifierName": "filteredButtonArray" @@ -63050,15 +64761,15 @@ }, "property": { "type": "Identifier", - "start": 16201, - "end": 16205, + "start": 16535, + "end": 16539, "loc": { "start": { - "line": 457, + "line": 468, "column": 56 }, "end": { - "line": 457, + "line": 468, "column": 60 }, "identifierName": "join" @@ -63070,15 +64781,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 16206, - "end": 16209, + "start": 16540, + "end": 16543, "loc": { "start": { - "line": 457, + "line": 468, "column": 61 }, "end": { - "line": 457, + "line": 468, "column": 64 } }, @@ -63097,115 +64808,115 @@ }, "alternate": { "type": "BlockStatement", - "start": 16232, - "end": 16341, + "start": 16566, + "end": 16675, "loc": { "start": { - "line": 458, + "line": 469, "column": 19 }, "end": { - "line": 461, + "line": 472, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 16249, - "end": 16291, + "start": 16583, + "end": 16625, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 16249, - "end": 16290, + "start": 16583, + "end": 16624, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 16249, - "end": 16280, + "start": 16583, + "end": 16614, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 16249, - "end": 16273, + "start": 16583, + "end": 16607, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 16249, - "end": 16261, + "start": 16583, + "end": 16595, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 16249, - "end": 16253, + "start": 16583, + "end": 16587, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 18 } } }, "property": { "type": "Identifier", - "start": 16254, - "end": 16261, + "start": 16588, + "end": 16595, "loc": { "start": { - "line": 459, + "line": 470, "column": 19 }, "end": { - "line": 459, + "line": 470, "column": 26 }, "identifierName": "options" @@ -63216,15 +64927,15 @@ }, "property": { "type": "Identifier", - "start": 16262, - "end": 16273, + "start": 16596, + "end": 16607, "loc": { "start": { - "line": 459, + "line": 470, "column": 27 }, "end": { - "line": 459, + "line": 470, "column": 38 }, "identifierName": "buttonTheme" @@ -63235,15 +64946,15 @@ }, "property": { "type": "Identifier", - "start": 16274, - "end": 16280, + "start": 16608, + "end": 16614, "loc": { "start": { - "line": 459, + "line": 470, "column": 39 }, "end": { - "line": 459, + "line": 470, "column": 45 }, "identifierName": "splice" @@ -63255,15 +64966,15 @@ "arguments": [ { "type": "Identifier", - "start": 16281, - "end": 16286, + "start": 16615, + "end": 16620, "loc": { "start": { - "line": 459, + "line": 470, "column": 46 }, "end": { - "line": 459, + "line": 470, "column": 51 }, "identifierName": "index" @@ -63272,15 +64983,15 @@ }, { "type": "NumericLiteral", - "start": 16288, - "end": 16289, + "start": 16622, + "end": 16623, "loc": { "start": { - "line": 459, + "line": 470, "column": 53 }, "end": { - "line": 459, + "line": 470, "column": 54 } }, @@ -63295,44 +65006,44 @@ }, { "type": "ExpressionStatement", - "start": 16307, - "end": 16326, + "start": 16641, + "end": 16660, "loc": { "start": { - "line": 460, + "line": 471, "column": 14 }, "end": { - "line": 460, + "line": 471, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 16307, - "end": 16325, + "start": 16641, + "end": 16659, "loc": { "start": { - "line": 460, + "line": 471, "column": 14 }, "end": { - "line": 460, + "line": 471, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 16307, - "end": 16318, + "start": 16641, + "end": 16652, "loc": { "start": { - "line": 460, + "line": 471, "column": 14 }, "end": { - "line": 460, + "line": 471, "column": 25 }, "identifierName": "buttonTheme" @@ -63341,15 +65052,15 @@ }, "right": { "type": "NullLiteral", - "start": 16321, - "end": 16325, + "start": 16655, + "end": 16659, "loc": { "start": { - "line": 460, + "line": 471, "column": 28 }, "end": { - "line": 460, + "line": 471, "column": 32 } } @@ -63363,15 +65074,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 16001, - "end": 16098, + "start": 16335, + "end": 16432, "loc": { "start": { - "line": 453, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 466, "column": 15 } } @@ -63386,15 +65097,15 @@ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 15619, - "end": 15760, + "start": 15953, + "end": 16094, "loc": { "start": { - "line": 443, + "line": 454, "column": 10 }, "end": { - "line": 446, + "line": 457, "column": 13 } } @@ -63403,29 +65114,29 @@ }, { "type": "ReturnStatement", - "start": 16371, - "end": 16390, + "start": 16705, + "end": 16724, "loc": { "start": { - "line": 465, + "line": 476, "column": 10 }, "end": { - "line": 465, + "line": 476, "column": 29 } }, "argument": { "type": "Identifier", - "start": 16378, - "end": 16389, + "start": 16712, + "end": 16723, "loc": { "start": { - "line": 465, + "line": 476, "column": 17 }, "end": { - "line": 465, + "line": 476, "column": 28 }, "identifierName": "buttonTheme" @@ -63449,72 +65160,72 @@ }, { "type": "ExpressionStatement", - "start": 16424, - "end": 16438, + "start": 16758, + "end": 16772, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 16424, - "end": 16437, + "start": 16758, + "end": 16771, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 16424, - "end": 16435, + "start": 16758, + "end": 16769, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 16424, - "end": 16428, + "start": 16758, + "end": 16762, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 10 } } }, "property": { "type": "Identifier", - "start": 16429, - "end": 16435, + "start": 16763, + "end": 16769, "loc": { "start": { - "line": 469, + "line": 480, "column": 11 }, "end": { - "line": 469, + "line": 480, "column": 17 }, "identifierName": "render" @@ -63534,15 +65245,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 15286, - "end": 15354, + "start": 15620, + "end": 15688, "loc": { "start": { - "line": 435, + "line": 446, "column": 4 }, "end": { - "line": 437, + "line": 448, "column": 7 } } @@ -63557,15 +65268,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 14689, - "end": 15029, + "start": 15023, + "end": 15363, "loc": { "start": { - "line": 420, + "line": 431, "column": 2 }, "end": { - "line": 424, + "line": 435, "column": 5 } } @@ -63575,15 +65286,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 16456, - "end": 16659, + "start": 16790, + "end": 16993, "loc": { "start": { - "line": 473, + "line": 484, "column": 2 }, "end": { - "line": 476, + "line": 487, "column": 5 } } @@ -63592,15 +65303,15 @@ }, { "type": "ClassMethod", - "start": 16663, - "end": 16930, + "start": 16997, + "end": 17264, "loc": { "start": { - "line": 477, + "line": 488, "column": 2 }, "end": { - "line": 490, + "line": 501, "column": 3 } }, @@ -63608,15 +65319,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16663, - "end": 16679, + "start": 16997, + "end": 17013, "loc": { "start": { - "line": 477, + "line": 488, "column": 2 }, "end": { - "line": 477, + "line": 488, "column": 18 }, "identifierName": "getButtonElement" @@ -63632,15 +65343,15 @@ "params": [ { "type": "Identifier", - "start": 16680, - "end": 16686, + "start": 17014, + "end": 17020, "loc": { "start": { - "line": 477, + "line": 488, "column": 19 }, "end": { - "line": 477, + "line": 488, "column": 25 }, "identifierName": "button" @@ -63650,59 +65361,59 @@ ], "body": { "type": "BlockStatement", - "start": 16687, - "end": 16930, + "start": 17021, + "end": 17264, "loc": { "start": { - "line": 477, + "line": 488, "column": 26 }, "end": { - "line": 490, + "line": 501, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 16694, - "end": 16705, + "start": 17028, + "end": 17039, "loc": { "start": { - "line": 478, + "line": 489, "column": 4 }, "end": { - "line": 478, + "line": 489, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16698, - "end": 16704, + "start": 17032, + "end": 17038, "loc": { "start": { - "line": 478, + "line": 489, "column": 8 }, "end": { - "line": 478, + "line": 489, "column": 14 } }, "id": { "type": "Identifier", - "start": 16698, - "end": 16704, + "start": 17032, + "end": 17038, "loc": { "start": { - "line": 478, + "line": 489, "column": 8 }, "end": { - "line": 478, + "line": 489, "column": 14 }, "identifierName": "output" @@ -63716,44 +65427,44 @@ }, { "type": "VariableDeclaration", - "start": 16713, - "end": 16757, + "start": 17047, + "end": 17091, "loc": { "start": { - "line": 480, + "line": 491, "column": 4 }, "end": { - "line": 480, + "line": 491, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16717, - "end": 16756, + "start": 17051, + "end": 17090, "loc": { "start": { - "line": 480, + "line": 491, "column": 8 }, "end": { - "line": 480, + "line": 491, "column": 47 } }, "id": { "type": "Identifier", - "start": 16717, - "end": 16726, + "start": 17051, + "end": 17060, "loc": { "start": { - "line": 480, + "line": 491, "column": 8 }, "end": { - "line": 480, + "line": 491, "column": 17 }, "identifierName": "buttonArr" @@ -63762,58 +65473,58 @@ }, "init": { "type": "MemberExpression", - "start": 16729, - "end": 16756, + "start": 17063, + "end": 17090, "loc": { "start": { - "line": 480, + "line": 491, "column": 20 }, "end": { - "line": 480, + "line": 491, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 16729, - "end": 16748, + "start": 17063, + "end": 17082, "loc": { "start": { - "line": 480, + "line": 491, "column": 20 }, "end": { - "line": 480, + "line": 491, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 16729, - "end": 16733, + "start": 17063, + "end": 17067, "loc": { "start": { - "line": 480, + "line": 491, "column": 20 }, "end": { - "line": 480, + "line": 491, "column": 24 } } }, "property": { "type": "Identifier", - "start": 16734, - "end": 16748, + "start": 17068, + "end": 17082, "loc": { "start": { - "line": 480, + "line": 491, "column": 25 }, "end": { - "line": 480, + "line": 491, "column": 39 }, "identifierName": "buttonElements" @@ -63824,15 +65535,15 @@ }, "property": { "type": "Identifier", - "start": 16749, - "end": 16755, + "start": 17083, + "end": 17089, "loc": { "start": { - "line": 480, + "line": 491, "column": 40 }, "end": { - "line": 480, + "line": 491, "column": 46 }, "identifierName": "button" @@ -63847,29 +65558,29 @@ }, { "type": "IfStatement", - "start": 16763, - "end": 16903, + "start": 17097, + "end": 17237, "loc": { "start": { - "line": 481, + "line": 492, "column": 4 }, "end": { - "line": 487, + "line": 498, "column": 5 } }, "test": { "type": "Identifier", - "start": 16766, - "end": 16775, + "start": 17100, + "end": 17109, "loc": { "start": { - "line": 481, + "line": 492, "column": 7 }, "end": { - "line": 481, + "line": 492, "column": 16 }, "identifierName": "buttonArr" @@ -63878,72 +65589,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 16776, - "end": 16903, + "start": 17110, + "end": 17237, "loc": { "start": { - "line": 481, + "line": 492, "column": 17 }, "end": { - "line": 487, + "line": 498, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 16785, - "end": 16896, + "start": 17119, + "end": 17230, "loc": { "start": { - "line": 482, + "line": 493, "column": 6 }, "end": { - "line": 486, + "line": 497, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 16788, - "end": 16808, + "start": 17122, + "end": 17142, "loc": { "start": { - "line": 482, + "line": 493, "column": 9 }, "end": { - "line": 482, + "line": 493, "column": 29 } }, "left": { "type": "MemberExpression", - "start": 16788, - "end": 16804, + "start": 17122, + "end": 17138, "loc": { "start": { - "line": 482, + "line": 493, "column": 9 }, "end": { - "line": 482, + "line": 493, "column": 25 } }, "object": { "type": "Identifier", - "start": 16788, - "end": 16797, + "start": 17122, + "end": 17131, "loc": { "start": { - "line": 482, + "line": 493, "column": 9 }, "end": { - "line": 482, + "line": 493, "column": 18 }, "identifierName": "buttonArr" @@ -63952,15 +65663,15 @@ }, "property": { "type": "Identifier", - "start": 16798, - "end": 16804, + "start": 17132, + "end": 17138, "loc": { "start": { - "line": 482, + "line": 493, "column": 19 }, "end": { - "line": 482, + "line": 493, "column": 25 }, "identifierName": "length" @@ -63972,15 +65683,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 16807, - "end": 16808, + "start": 17141, + "end": 17142, "loc": { "start": { - "line": 482, + "line": 493, "column": 28 }, "end": { - "line": 482, + "line": 493, "column": 29 } }, @@ -63993,59 +65704,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 16809, - "end": 16848, + "start": 17143, + "end": 17182, "loc": { "start": { - "line": 482, + "line": 493, "column": 30 }, "end": { - "line": 484, + "line": 495, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 16820, - "end": 16839, + "start": 17154, + "end": 17173, "loc": { "start": { - "line": 483, + "line": 494, "column": 8 }, "end": { - "line": 483, + "line": 494, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 16820, - "end": 16838, + "start": 17154, + "end": 17172, "loc": { "start": { - "line": 483, + "line": 494, "column": 8 }, "end": { - "line": 483, + "line": 494, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", - "start": 16820, - "end": 16826, + "start": 17154, + "end": 17160, "loc": { "start": { - "line": 483, + "line": 494, "column": 8 }, "end": { - "line": 483, + "line": 494, "column": 14 }, "identifierName": "output" @@ -64054,15 +65765,15 @@ }, "right": { "type": "Identifier", - "start": 16829, - "end": 16838, + "start": 17163, + "end": 17172, "loc": { "start": { - "line": 483, + "line": 494, "column": 17 }, "end": { - "line": 483, + "line": 494, "column": 26 }, "identifierName": "buttonArr" @@ -64076,59 +65787,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 16854, - "end": 16896, + "start": 17188, + "end": 17230, "loc": { "start": { - "line": 484, + "line": 495, "column": 13 }, "end": { - "line": 486, + "line": 497, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 16865, - "end": 16887, + "start": 17199, + "end": 17221, "loc": { "start": { - "line": 485, + "line": 496, "column": 8 }, "end": { - "line": 485, + "line": 496, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 16865, - "end": 16886, + "start": 17199, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 496, "column": 8 }, "end": { - "line": 485, + "line": 496, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", - "start": 16865, - "end": 16871, + "start": 17199, + "end": 17205, "loc": { "start": { - "line": 485, + "line": 496, "column": 8 }, "end": { - "line": 485, + "line": 496, "column": 14 }, "identifierName": "output" @@ -64137,29 +65848,29 @@ }, "right": { "type": "MemberExpression", - "start": 16874, - "end": 16886, + "start": 17208, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 496, "column": 17 }, "end": { - "line": 485, + "line": 496, "column": 29 } }, "object": { "type": "Identifier", - "start": 16874, - "end": 16883, + "start": 17208, + "end": 17217, "loc": { "start": { - "line": 485, + "line": 496, "column": 17 }, "end": { - "line": 485, + "line": 496, "column": 26 }, "identifierName": "buttonArr" @@ -64168,15 +65879,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16884, - "end": 16885, + "start": 17218, + "end": 17219, "loc": { "start": { - "line": 485, + "line": 496, "column": 27 }, "end": { - "line": 485, + "line": 496, "column": 28 } }, @@ -64201,29 +65912,29 @@ }, { "type": "ReturnStatement", - "start": 16911, - "end": 16925, + "start": 17245, + "end": 17259, "loc": { "start": { - "line": 489, + "line": 500, "column": 4 }, "end": { - "line": 489, + "line": 500, "column": 18 } }, "argument": { "type": "Identifier", - "start": 16918, - "end": 16924, + "start": 17252, + "end": 17258, "loc": { "start": { - "line": 489, + "line": 500, "column": 11 }, "end": { - "line": 489, + "line": 500, "column": 17 }, "identifierName": "output" @@ -64239,15 +65950,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 16456, - "end": 16659, + "start": 16790, + "end": 16993, "loc": { "start": { - "line": 473, + "line": 484, "column": 2 }, "end": { - "line": 476, + "line": 487, "column": 5 } } @@ -64257,15 +65968,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 16936, - "end": 17026, + "start": 17270, + "end": 17360, "loc": { "start": { - "line": 492, + "line": 503, "column": 2 }, "end": { - "line": 494, + "line": 505, "column": 5 } } @@ -64274,15 +65985,15 @@ }, { "type": "ClassMethod", - "start": 17030, - "end": 17333, + "start": 17364, + "end": 17667, "loc": { "start": { - "line": 495, + "line": 506, "column": 2 }, "end": { - "line": 503, + "line": 514, "column": 3 } }, @@ -64290,15 +66001,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17030, - "end": 17041, + "start": 17364, + "end": 17375, "loc": { "start": { - "line": 495, + "line": 506, "column": 2 }, "end": { - "line": 495, + "line": 506, "column": 13 }, "identifierName": "handleCaret" @@ -64314,87 +66025,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17043, - "end": 17333, + "start": 17377, + "end": 17667, "loc": { "start": { - "line": 495, + "line": 506, "column": 15 }, "end": { - "line": 503, + "line": 514, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 17050, - "end": 17126, + "start": 17384, + "end": 17460, "loc": { "start": { - "line": 496, + "line": 507, "column": 4 }, "end": { - "line": 498, + "line": 509, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 17053, - "end": 17071, + "start": 17387, + "end": 17405, "loc": { "start": { - "line": 496, + "line": 507, "column": 7 }, "end": { - "line": 496, + "line": 507, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 17053, - "end": 17065, + "start": 17387, + "end": 17399, "loc": { "start": { - "line": 496, + "line": 507, "column": 7 }, "end": { - "line": 496, + "line": 507, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 17053, - "end": 17057, + "start": 17387, + "end": 17391, "loc": { "start": { - "line": 496, + "line": 507, "column": 7 }, "end": { - "line": 496, + "line": 507, "column": 11 } } }, "property": { "type": "Identifier", - "start": 17058, - "end": 17065, + "start": 17392, + "end": 17399, "loc": { "start": { - "line": 496, + "line": 507, "column": 12 }, "end": { - "line": 496, + "line": 507, "column": 19 }, "identifierName": "options" @@ -64405,15 +66116,15 @@ }, "property": { "type": "Identifier", - "start": 17066, - "end": 17071, + "start": 17400, + "end": 17405, "loc": { "start": { - "line": 496, + "line": 507, "column": 20 }, "end": { - "line": 496, + "line": 507, "column": 25 }, "identifierName": "debug" @@ -64424,72 +66135,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17072, - "end": 17126, + "start": 17406, + "end": 17460, "loc": { "start": { - "line": 496, + "line": 507, "column": 26 }, "end": { - "line": 498, + "line": 509, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 17081, - "end": 17119, + "start": 17415, + "end": 17453, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 17081, - "end": 17118, + "start": 17415, + "end": 17452, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 17081, - "end": 17092, + "start": 17415, + "end": 17426, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 17 } }, "object": { "type": "Identifier", - "start": 17081, - "end": 17088, + "start": 17415, + "end": 17422, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 13 }, "identifierName": "console" @@ -64498,15 +66209,15 @@ }, "property": { "type": "Identifier", - "start": 17089, - "end": 17092, + "start": 17423, + "end": 17426, "loc": { "start": { - "line": 497, + "line": 508, "column": 14 }, "end": { - "line": 497, + "line": 508, "column": 17 }, "identifierName": "log" @@ -64518,15 +66229,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17093, - "end": 17117, + "start": 17427, + "end": 17451, "loc": { "start": { - "line": 497, + "line": 508, "column": 18 }, "end": { - "line": 497, + "line": 508, "column": 42 } }, @@ -64546,57 +66257,57 @@ }, { "type": "ExpressionStatement", - "start": 17134, - "end": 17193, + "start": 17468, + "end": 17527, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 17134, - "end": 17192, + "start": 17468, + "end": 17526, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 17134, - "end": 17159, + "start": 17468, + "end": 17493, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 29 } }, "object": { "type": "Identifier", - "start": 17134, - "end": 17142, + "start": 17468, + "end": 17476, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 12 }, "identifierName": "document" @@ -64605,15 +66316,15 @@ }, "property": { "type": "Identifier", - "start": 17143, - "end": 17159, + "start": 17477, + "end": 17493, "loc": { "start": { - "line": 500, + "line": 511, "column": 13 }, "end": { - "line": 500, + "line": 511, "column": 29 }, "identifierName": "addEventListener" @@ -64625,15 +66336,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17160, - "end": 17167, + "start": 17494, + "end": 17501, "loc": { "start": { - "line": 500, + "line": 511, "column": 30 }, "end": { - "line": 500, + "line": 511, "column": 37 } }, @@ -64645,44 +66356,44 @@ }, { "type": "MemberExpression", - "start": 17169, - "end": 17191, + "start": 17503, + "end": 17525, "loc": { "start": { - "line": 500, + "line": 511, "column": 39 }, "end": { - "line": 500, + "line": 511, "column": 61 } }, "object": { "type": "ThisExpression", - "start": 17169, - "end": 17173, + "start": 17503, + "end": 17507, "loc": { "start": { - "line": 500, + "line": 511, "column": 39 }, "end": { - "line": 500, + "line": 511, "column": 43 } } }, "property": { "type": "Identifier", - "start": 17174, - "end": 17191, + "start": 17508, + "end": 17525, "loc": { "start": { - "line": 500, + "line": 511, "column": 44 }, "end": { - "line": 500, + "line": 511, "column": 61 }, "identifierName": "caretEventHandler" @@ -64696,57 +66407,57 @@ }, { "type": "ExpressionStatement", - "start": 17199, - "end": 17260, + "start": 17533, + "end": 17594, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 17199, - "end": 17259, + "start": 17533, + "end": 17593, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 17199, - "end": 17224, + "start": 17533, + "end": 17558, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 29 } }, "object": { "type": "Identifier", - "start": 17199, - "end": 17207, + "start": 17533, + "end": 17541, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 12 }, "identifierName": "document" @@ -64755,15 +66466,15 @@ }, "property": { "type": "Identifier", - "start": 17208, - "end": 17224, + "start": 17542, + "end": 17558, "loc": { "start": { - "line": 501, + "line": 512, "column": 13 }, "end": { - "line": 501, + "line": 512, "column": 29 }, "identifierName": "addEventListener" @@ -64775,15 +66486,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17225, - "end": 17234, + "start": 17559, + "end": 17568, "loc": { "start": { - "line": 501, + "line": 512, "column": 30 }, "end": { - "line": 501, + "line": 512, "column": 39 } }, @@ -64795,44 +66506,44 @@ }, { "type": "MemberExpression", - "start": 17236, - "end": 17258, + "start": 17570, + "end": 17592, "loc": { "start": { - "line": 501, + "line": 512, "column": 41 }, "end": { - "line": 501, + "line": 512, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 17236, - "end": 17240, + "start": 17570, + "end": 17574, "loc": { "start": { - "line": 501, + "line": 512, "column": 41 }, "end": { - "line": 501, + "line": 512, "column": 45 } } }, "property": { "type": "Identifier", - "start": 17241, - "end": 17258, + "start": 17575, + "end": 17592, "loc": { "start": { - "line": 501, + "line": 512, "column": 46 }, "end": { - "line": 501, + "line": 512, "column": 63 }, "identifierName": "caretEventHandler" @@ -64846,57 +66557,57 @@ }, { "type": "ExpressionStatement", - "start": 17266, - "end": 17328, + "start": 17600, + "end": 17662, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 17266, - "end": 17327, + "start": 17600, + "end": 17661, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 17266, - "end": 17291, + "start": 17600, + "end": 17625, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 29 } }, "object": { "type": "Identifier", - "start": 17266, - "end": 17274, + "start": 17600, + "end": 17608, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 12 }, "identifierName": "document" @@ -64905,15 +66616,15 @@ }, "property": { "type": "Identifier", - "start": 17275, - "end": 17291, + "start": 17609, + "end": 17625, "loc": { "start": { - "line": 502, + "line": 513, "column": 13 }, "end": { - "line": 502, + "line": 513, "column": 29 }, "identifierName": "addEventListener" @@ -64925,15 +66636,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17292, - "end": 17302, + "start": 17626, + "end": 17636, "loc": { "start": { - "line": 502, + "line": 513, "column": 30 }, "end": { - "line": 502, + "line": 513, "column": 40 } }, @@ -64945,44 +66656,44 @@ }, { "type": "MemberExpression", - "start": 17304, - "end": 17326, + "start": 17638, + "end": 17660, "loc": { "start": { - "line": 502, + "line": 513, "column": 42 }, "end": { - "line": 502, + "line": 513, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 17304, - "end": 17308, + "start": 17638, + "end": 17642, "loc": { "start": { - "line": 502, + "line": 513, "column": 42 }, "end": { - "line": 502, + "line": 513, "column": 46 } } }, "property": { "type": "Identifier", - "start": 17309, - "end": 17326, + "start": 17643, + "end": 17660, "loc": { "start": { - "line": 502, + "line": 513, "column": 47 }, "end": { - "line": 502, + "line": 513, "column": 64 }, "identifierName": "caretEventHandler" @@ -65002,15 +66713,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 16936, - "end": 17026, + "start": 17270, + "end": 17360, "loc": { "start": { - "line": 492, + "line": 503, "column": 2 }, "end": { - "line": 494, + "line": 505, "column": 5 } } @@ -65020,15 +66731,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 17339, - "end": 17451, + "start": 17673, + "end": 17785, "loc": { "start": { - "line": 505, + "line": 516, "column": 2 }, "end": { - "line": 507, + "line": 518, "column": 5 } } @@ -65037,15 +66748,15 @@ }, { "type": "ClassMethod", - "start": 17455, - "end": 18005, + "start": 17789, + "end": 18389, "loc": { "start": { - "line": 508, + "line": 519, "column": 2 }, "end": { - "line": 525, + "line": 537, "column": 3 } }, @@ -65053,15 +66764,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17455, - "end": 17472, + "start": 17789, + "end": 17806, "loc": { "start": { - "line": 508, + "line": 519, "column": 2 }, "end": { - "line": 508, + "line": 519, "column": 19 }, "identifierName": "caretEventHandler" @@ -65077,15 +66788,15 @@ "params": [ { "type": "Identifier", - "start": 17473, - "end": 17478, + "start": 17807, + "end": 17812, "loc": { "start": { - "line": 508, + "line": 519, "column": 20 }, "end": { - "line": 508, + "line": 519, "column": 25 }, "identifierName": "event" @@ -65095,59 +66806,59 @@ ], "body": { "type": "BlockStatement", - "start": 17479, - "end": 18005, + "start": 17813, + "end": 18389, "loc": { "start": { - "line": 508, + "line": 519, "column": 26 }, "end": { - "line": 525, + "line": 537, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 17486, - "end": 17541, + "start": 17820, + "end": 17875, "loc": { "start": { - "line": 509, + "line": 520, "column": 4 }, "end": { - "line": 509, + "line": 520, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17490, - "end": 17540, + "start": 17824, + "end": 17874, "loc": { "start": { - "line": 509, + "line": 520, "column": 8 }, "end": { - "line": 509, + "line": 520, "column": 58 } }, "id": { "type": "Identifier", - "start": 17490, - "end": 17503, + "start": 17824, + "end": 17837, "loc": { "start": { - "line": 509, + "line": 520, "column": 8 }, "end": { - "line": 509, + "line": 520, "column": 21 }, "identifierName": "targetTagName" @@ -65156,71 +66867,71 @@ }, "init": { "type": "CallExpression", - "start": 17506, - "end": 17540, + "start": 17840, + "end": 17874, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 17506, - "end": 17538, + "start": 17840, + "end": 17872, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 17506, - "end": 17526, + "start": 17840, + "end": 17860, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 17506, - "end": 17518, + "start": 17840, + "end": 17852, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 36 } }, "object": { "type": "Identifier", - "start": 17506, - "end": 17511, + "start": 17840, + "end": 17845, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 29 }, "identifierName": "event" @@ -65229,15 +66940,15 @@ }, "property": { "type": "Identifier", - "start": 17512, - "end": 17518, + "start": 17846, + "end": 17852, "loc": { "start": { - "line": 509, + "line": 520, "column": 30 }, "end": { - "line": 509, + "line": 520, "column": 36 }, "identifierName": "target" @@ -65248,15 +66959,15 @@ }, "property": { "type": "Identifier", - "start": 17519, - "end": 17526, + "start": 17853, + "end": 17860, "loc": { "start": { - "line": 509, + "line": 520, "column": 37 }, "end": { - "line": 509, + "line": 520, "column": 44 }, "identifierName": "tagName" @@ -65267,15 +66978,15 @@ }, "property": { "type": "Identifier", - "start": 17527, - "end": 17538, + "start": 17861, + "end": 17872, "loc": { "start": { - "line": 509, + "line": 520, "column": 45 }, "end": { - "line": 509, + "line": 520, "column": 56 }, "identifierName": "toLowerCase" @@ -65292,209 +67003,330 @@ }, { "type": "IfStatement", - "start": 17549, - "end": 18000, + "start": 17883, + "end": 18384, "loc": { "start": { - "line": 511, + "line": 522, "column": 4 }, "end": { - "line": 524, + "line": 536, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 17560, - "end": 17624, + "start": 17894, + "end": 18008, "loc": { "start": { - "line": 512, + "line": 523, "column": 6 }, "end": { - "line": 513, - "column": 31 + "line": 525, + "column": 43 } }, "left": { - "type": "BinaryExpression", - "start": 17560, - "end": 17588, + "type": "LogicalExpression", + "start": 17895, + "end": 17959, "loc": { "start": { - "line": 512, - "column": 6 + "line": 523, + "column": 7 }, "end": { - "line": 512, - "column": 34 - } - }, - "left": { - "type": "Identifier", - "start": 17560, - "end": 17573, - "loc": { - "start": { - "line": 512, - "column": 6 - }, - "end": { - "line": 512, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 17578, - "end": 17588, - "loc": { - "start": { - "line": 512, - "column": 24 - }, - "end": { - "line": 512, - "column": 34 - } - }, - "extra": { - "rawValue": "textarea", - "raw": "\"textarea\"" - }, - "value": "textarea" - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 17599, - "end": 17624, - "loc": { - "start": { - "line": 513, - "column": 6 - }, - "end": { - "line": 513, + "line": 524, "column": 31 } }, "left": { - "type": "Identifier", - "start": 17599, - "end": 17612, + "type": "BinaryExpression", + "start": 17895, + "end": 17923, "loc": { "start": { - "line": 513, + "line": 523, + "column": 7 + }, + "end": { + "line": 523, + "column": 35 + } + }, + "left": { + "type": "Identifier", + "start": 17895, + "end": 17908, + "loc": { + "start": { + "line": 523, + "column": 7 + }, + "end": { + "line": 523, + "column": 20 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 17913, + "end": 17923, + "loc": { + "start": { + "line": 523, + "column": 25 + }, + "end": { + "line": 523, + "column": 35 + } + }, + "extra": { + "rawValue": "textarea", + "raw": "\"textarea\"" + }, + "value": "textarea" + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 17934, + "end": 17959, + "loc": { + "start": { + "line": 524, "column": 6 }, "end": { - "line": 513, - "column": 19 - }, - "identifierName": "targetTagName" - }, - "name": "targetTagName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 17617, - "end": 17624, - "loc": { - "start": { - "line": 513, - "column": 24 - }, - "end": { - "line": 513, + "line": 524, "column": 31 } }, - "extra": { - "rawValue": "input", - "raw": "\"input\"" + "left": { + "type": "Identifier", + "start": 17934, + "end": 17947, + "loc": { + "start": { + "line": 524, + "column": 6 + }, + "end": { + "line": 524, + "column": 19 + }, + "identifierName": "targetTagName" + }, + "name": "targetTagName" }, - "value": "input" + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 17952, + "end": 17959, + "loc": { + "start": { + "line": 524, + "column": 24 + }, + "end": { + "line": 524, + "column": 31 + } + }, + "extra": { + "rawValue": "input", + "raw": "\"input\"" + }, + "value": "input" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 17894 + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 17971, + "end": 18008, + "loc": { + "start": { + "line": 525, + "column": 6 + }, + "end": { + "line": 525, + "column": 43 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 17972, + "end": 18008, + "loc": { + "start": { + "line": 525, + "column": 7 + }, + "end": { + "line": 525, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 17972, + "end": 17984, + "loc": { + "start": { + "line": 525, + "column": 7 + }, + "end": { + "line": 525, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 17972, + "end": 17976, + "loc": { + "start": { + "line": 525, + "column": 7 + }, + "end": { + "line": 525, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 17977, + "end": 17984, + "loc": { + "start": { + "line": 525, + "column": 12 + }, + "end": { + "line": 525, + "column": 19 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17985, + "end": 18008, + "loc": { + "start": { + "line": 525, + "column": 20 + }, + "end": { + "line": 525, + "column": 43 + }, + "identifierName": "disableCaretPositioning" + }, + "name": "disableCaretPositioning" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", - "start": 17631, - "end": 18000, + "start": 18015, + "end": 18384, "loc": { "start": { - "line": 514, + "line": 526, "column": 5 }, "end": { - "line": 524, + "line": 536, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 17796, - "end": 17845, + "start": 18180, + "end": 18229, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 17796, - "end": 17844, + "start": 18180, + "end": 18228, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17796, - "end": 17814, + "start": 18180, + "end": 18198, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 17796, - "end": 17800, + "start": 18180, + "end": 18184, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 10 } }, @@ -65502,15 +67334,15 @@ }, "property": { "type": "Identifier", - "start": 17801, - "end": 17814, + "start": 18185, + "end": 18198, "loc": { "start": { - "line": 519, + "line": 531, "column": 11 }, "end": { - "line": 519, + "line": 531, "column": 24 }, "identifierName": "caretPosition" @@ -65522,43 +67354,43 @@ }, "right": { "type": "MemberExpression", - "start": 17817, - "end": 17844, + "start": 18201, + "end": 18228, "loc": { "start": { - "line": 519, + "line": 531, "column": 27 }, "end": { - "line": 519, + "line": 531, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 17817, - "end": 17829, + "start": 18201, + "end": 18213, "loc": { "start": { - "line": 519, + "line": 531, "column": 27 }, "end": { - "line": 519, + "line": 531, "column": 39 } }, "object": { "type": "Identifier", - "start": 17817, - "end": 17822, + "start": 18201, + "end": 18206, "loc": { "start": { - "line": 519, + "line": 531, "column": 27 }, "end": { - "line": 519, + "line": 531, "column": 32 }, "identifierName": "event" @@ -65567,15 +67399,15 @@ }, "property": { "type": "Identifier", - "start": 17823, - "end": 17829, + "start": 18207, + "end": 18213, "loc": { "start": { - "line": 519, + "line": 531, "column": 33 }, "end": { - "line": 519, + "line": 531, "column": 39 }, "identifierName": "target" @@ -65586,15 +67418,15 @@ }, "property": { "type": "Identifier", - "start": 17830, - "end": 17844, + "start": 18214, + "end": 18228, "loc": { "start": { - "line": 519, + "line": 531, "column": 40 }, "end": { - "line": 519, + "line": 531, "column": 54 }, "identifierName": "selectionStart" @@ -65609,15 +67441,15 @@ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 17640, - "end": 17788, + "start": 18024, + "end": 18172, "loc": { "start": { - "line": 515, + "line": 527, "column": 6 }, "end": { - "line": 518, + "line": 530, "column": 9 } } @@ -65626,72 +67458,72 @@ }, { "type": "IfStatement", - "start": 17855, - "end": 17988, + "start": 18239, + "end": 18372, "loc": { "start": { - "line": 521, + "line": 533, "column": 6 }, "end": { - "line": 523, + "line": 535, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 17858, - "end": 17876, + "start": 18242, + "end": 18260, "loc": { "start": { - "line": 521, + "line": 533, "column": 9 }, "end": { - "line": 521, + "line": 533, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 17858, - "end": 17870, + "start": 18242, + "end": 18254, "loc": { "start": { - "line": 521, + "line": 533, "column": 9 }, "end": { - "line": 521, + "line": 533, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 17858, - "end": 17862, + "start": 18242, + "end": 18246, "loc": { "start": { - "line": 521, + "line": 533, "column": 9 }, "end": { - "line": 521, + "line": 533, "column": 13 } } }, "property": { "type": "Identifier", - "start": 17863, - "end": 17870, + "start": 18247, + "end": 18254, "loc": { "start": { - "line": 521, + "line": 533, "column": 14 }, "end": { - "line": 521, + "line": 533, "column": 21 }, "identifierName": "options" @@ -65702,15 +67534,15 @@ }, "property": { "type": "Identifier", - "start": 17871, - "end": 17876, + "start": 18255, + "end": 18260, "loc": { "start": { - "line": 521, + "line": 533, "column": 22 }, "end": { - "line": 521, + "line": 533, "column": 27 }, "identifierName": "debug" @@ -65721,72 +67553,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17877, - "end": 17988, + "start": 18261, + "end": 18372, "loc": { "start": { - "line": 521, + "line": 533, "column": 28 }, "end": { - "line": 523, + "line": 535, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 17888, - "end": 17979, + "start": 18272, + "end": 18363, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 99 } }, "expression": { "type": "CallExpression", - "start": 17888, - "end": 17978, + "start": 18272, + "end": 18362, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 17888, - "end": 17899, + "start": 18272, + "end": 18283, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 19 } }, "object": { "type": "Identifier", - "start": 17888, - "end": 17895, + "start": 18272, + "end": 18279, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 15 }, "identifierName": "console" @@ -65795,15 +67627,15 @@ }, "property": { "type": "Identifier", - "start": 17896, - "end": 17899, + "start": 18280, + "end": 18283, "loc": { "start": { - "line": 522, + "line": 534, "column": 16 }, "end": { - "line": 522, + "line": 534, "column": 19 }, "identifierName": "log" @@ -65815,15 +67647,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 17900, - "end": 17912, + "start": 18284, + "end": 18296, "loc": { "start": { - "line": 522, + "line": 534, "column": 20 }, "end": { - "line": 522, + "line": 534, "column": 32 } }, @@ -65835,43 +67667,43 @@ }, { "type": "MemberExpression", - "start": 17914, - "end": 17941, + "start": 18298, + "end": 18325, "loc": { "start": { - "line": 522, + "line": 534, "column": 34 }, "end": { - "line": 522, + "line": 534, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 17914, - "end": 17926, + "start": 18298, + "end": 18310, "loc": { "start": { - "line": 522, + "line": 534, "column": 34 }, "end": { - "line": 522, + "line": 534, "column": 46 } }, "object": { "type": "Identifier", - "start": 17914, - "end": 17919, + "start": 18298, + "end": 18303, "loc": { "start": { - "line": 522, + "line": 534, "column": 34 }, "end": { - "line": 522, + "line": 534, "column": 39 }, "identifierName": "event" @@ -65880,15 +67712,15 @@ }, "property": { "type": "Identifier", - "start": 17920, - "end": 17926, + "start": 18304, + "end": 18310, "loc": { "start": { - "line": 522, + "line": 534, "column": 40 }, "end": { - "line": 522, + "line": 534, "column": 46 }, "identifierName": "target" @@ -65899,15 +67731,15 @@ }, "property": { "type": "Identifier", - "start": 17927, - "end": 17941, + "start": 18311, + "end": 18325, "loc": { "start": { - "line": 522, + "line": 534, "column": 47 }, "end": { - "line": 522, + "line": 534, "column": 61 }, "identifierName": "selectionStart" @@ -65918,71 +67750,71 @@ }, { "type": "CallExpression", - "start": 17943, - "end": 17977, + "start": 18327, + "end": 18361, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 17943, - "end": 17975, + "start": 18327, + "end": 18359, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 95 } }, "object": { "type": "MemberExpression", - "start": 17943, - "end": 17963, + "start": 18327, + "end": 18347, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 83 } }, "object": { "type": "MemberExpression", - "start": 17943, - "end": 17955, + "start": 18327, + "end": 18339, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 75 } }, "object": { "type": "Identifier", - "start": 17943, - "end": 17948, + "start": 18327, + "end": 18332, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 68 }, "identifierName": "event" @@ -65991,15 +67823,15 @@ }, "property": { "type": "Identifier", - "start": 17949, - "end": 17955, + "start": 18333, + "end": 18339, "loc": { "start": { - "line": 522, + "line": 534, "column": 69 }, "end": { - "line": 522, + "line": 534, "column": 75 }, "identifierName": "target" @@ -66010,15 +67842,15 @@ }, "property": { "type": "Identifier", - "start": 17956, - "end": 17963, + "start": 18340, + "end": 18347, "loc": { "start": { - "line": 522, + "line": 534, "column": 76 }, "end": { - "line": 522, + "line": 534, "column": 83 }, "identifierName": "tagName" @@ -66029,15 +67861,15 @@ }, "property": { "type": "Identifier", - "start": 17964, - "end": 17975, + "start": 18348, + "end": 18359, "loc": { "start": { - "line": 522, + "line": 534, "column": 84 }, "end": { - "line": 522, + "line": 534, "column": 95 }, "identifierName": "toLowerCase" @@ -66069,15 +67901,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 17339, - "end": 17451, + "start": 17673, + "end": 17785, "loc": { "start": { - "line": 505, + "line": 516, "column": 2 }, "end": { - "line": 507, + "line": 518, "column": 5 } } @@ -66087,15 +67919,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 18011, - "end": 18131, + "start": 18395, + "end": 18515, "loc": { "start": { - "line": 527, + "line": 539, "column": 2 }, "end": { - "line": 529, + "line": 541, "column": 5 } } @@ -66104,15 +67936,15 @@ }, { "type": "ClassMethod", - "start": 18135, - "end": 18371, + "start": 18519, + "end": 18755, "loc": { "start": { - "line": 530, + "line": 542, "column": 2 }, "end": { - "line": 542, + "line": 554, "column": 3 } }, @@ -66120,15 +67952,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18135, - "end": 18141, + "start": 18519, + "end": 18525, "loc": { "start": { - "line": 530, + "line": 542, "column": 2 }, "end": { - "line": 530, + "line": 542, "column": 8 }, "identifierName": "onInit" @@ -66144,87 +67976,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18143, - "end": 18371, + "start": 18527, + "end": 18755, "loc": { "start": { - "line": 530, + "line": 542, "column": 10 }, "end": { - "line": 542, + "line": 554, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18150, - "end": 18215, + "start": 18534, + "end": 18599, "loc": { "start": { - "line": 531, + "line": 543, "column": 4 }, "end": { - "line": 533, + "line": 545, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 18153, - "end": 18171, + "start": 18537, + "end": 18555, "loc": { "start": { - "line": 531, + "line": 543, "column": 7 }, "end": { - "line": 531, + "line": 543, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 18153, - "end": 18165, + "start": 18537, + "end": 18549, "loc": { "start": { - "line": 531, + "line": 543, "column": 7 }, "end": { - "line": 531, + "line": 543, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 18153, - "end": 18157, + "start": 18537, + "end": 18541, "loc": { "start": { - "line": 531, + "line": 543, "column": 7 }, "end": { - "line": 531, + "line": 543, "column": 11 } } }, "property": { "type": "Identifier", - "start": 18158, - "end": 18165, + "start": 18542, + "end": 18549, "loc": { "start": { - "line": 531, + "line": 543, "column": 12 }, "end": { - "line": 531, + "line": 543, "column": 19 }, "identifierName": "options" @@ -66235,15 +68067,15 @@ }, "property": { "type": "Identifier", - "start": 18166, - "end": 18171, + "start": 18550, + "end": 18555, "loc": { "start": { - "line": 531, + "line": 543, "column": 20 }, "end": { - "line": 531, + "line": 543, "column": 25 }, "identifierName": "debug" @@ -66254,72 +68086,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 18172, - "end": 18215, + "start": 18556, + "end": 18599, "loc": { "start": { - "line": 531, + "line": 543, "column": 26 }, "end": { - "line": 533, + "line": 545, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 18181, - "end": 18208, + "start": 18565, + "end": 18592, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 18181, - "end": 18207, + "start": 18565, + "end": 18591, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 18181, - "end": 18192, + "start": 18565, + "end": 18576, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 17 } }, "object": { "type": "Identifier", - "start": 18181, - "end": 18188, + "start": 18565, + "end": 18572, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 13 }, "identifierName": "console" @@ -66328,15 +68160,15 @@ }, "property": { "type": "Identifier", - "start": 18189, - "end": 18192, + "start": 18573, + "end": 18576, "loc": { "start": { - "line": 532, + "line": 544, "column": 14 }, "end": { - "line": 532, + "line": 544, "column": 17 }, "identifierName": "log" @@ -66348,15 +68180,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 18193, - "end": 18206, + "start": 18577, + "end": 18590, "loc": { "start": { - "line": 532, + "line": 544, "column": 18 }, "end": { - "line": 532, + "line": 544, "column": 31 } }, @@ -66378,15 +68210,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 18223, - "end": 18258, + "start": 18607, + "end": 18642, "loc": { "start": { - "line": 535, + "line": 547, "column": 4 }, "end": { - "line": 537, + "line": 549, "column": 7 } } @@ -66395,57 +68227,57 @@ }, { "type": "ExpressionStatement", - "start": 18264, - "end": 18283, + "start": 18648, + "end": 18667, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 18264, - "end": 18282, + "start": 18648, + "end": 18666, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 18264, - "end": 18280, + "start": 18648, + "end": 18664, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 18264, - "end": 18268, + "start": 18648, + "end": 18652, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 8 } }, @@ -66453,15 +68285,15 @@ }, "property": { "type": "Identifier", - "start": 18269, - "end": 18280, + "start": 18653, + "end": 18664, "loc": { "start": { - "line": 538, + "line": 550, "column": 9 }, "end": { - "line": 538, + "line": 550, "column": 20 }, "identifierName": "handleCaret" @@ -66478,15 +68310,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 18223, - "end": 18258, + "start": 18607, + "end": 18642, "loc": { "start": { - "line": 535, + "line": 547, "column": 4 }, "end": { - "line": 537, + "line": 549, "column": 7 } } @@ -66495,43 +68327,43 @@ }, { "type": "IfStatement", - "start": 18291, - "end": 18366, + "start": 18675, + "end": 18750, "loc": { "start": { - "line": 540, + "line": 552, "column": 4 }, "end": { - "line": 541, + "line": 553, "column": 28 } }, "test": { "type": "BinaryExpression", - "start": 18294, - "end": 18335, + "start": 18678, + "end": 18719, "loc": { "start": { - "line": 540, + "line": 552, "column": 7 }, "end": { - "line": 540, + "line": 552, "column": 48 } }, "left": { "type": "UnaryExpression", - "start": 18294, - "end": 18320, + "start": 18678, + "end": 18704, "loc": { "start": { - "line": 540, + "line": 552, "column": 7 }, "end": { - "line": 540, + "line": 552, "column": 33 } }, @@ -66539,58 +68371,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18301, - "end": 18320, + "start": 18685, + "end": 18704, "loc": { "start": { - "line": 540, + "line": 552, "column": 14 }, "end": { - "line": 540, + "line": 552, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 18301, - "end": 18313, + "start": 18685, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 552, "column": 14 }, "end": { - "line": 540, + "line": 552, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 18301, - "end": 18305, + "start": 18685, + "end": 18689, "loc": { "start": { - "line": 540, + "line": 552, "column": 14 }, "end": { - "line": 540, + "line": 552, "column": 18 } } }, "property": { "type": "Identifier", - "start": 18306, - "end": 18313, + "start": 18690, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 552, "column": 19 }, "end": { - "line": 540, + "line": 552, "column": 26 }, "identifierName": "options" @@ -66601,15 +68433,15 @@ }, "property": { "type": "Identifier", - "start": 18314, - "end": 18320, + "start": 18698, + "end": 18704, "loc": { "start": { - "line": 540, + "line": 552, "column": 27 }, "end": { - "line": 540, + "line": 552, "column": 33 }, "identifierName": "onInit" @@ -66625,15 +68457,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 18325, - "end": 18335, + "start": 18709, + "end": 18719, "loc": { "start": { - "line": 540, + "line": 552, "column": 38 }, "end": { - "line": 540, + "line": 552, "column": 48 } }, @@ -66646,86 +68478,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18344, - "end": 18366, + "start": 18728, + "end": 18750, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 18344, - "end": 18365, + "start": 18728, + "end": 18749, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 18344, - "end": 18363, + "start": 18728, + "end": 18747, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 18344, - "end": 18356, + "start": 18728, + "end": 18740, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18344, - "end": 18348, + "start": 18728, + "end": 18732, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18349, - "end": 18356, + "start": 18733, + "end": 18740, "loc": { "start": { - "line": 541, + "line": 553, "column": 11 }, "end": { - "line": 541, + "line": 553, "column": 18 }, "identifierName": "options" @@ -66736,15 +68568,15 @@ }, "property": { "type": "Identifier", - "start": 18357, - "end": 18363, + "start": 18741, + "end": 18747, "loc": { "start": { - "line": 541, + "line": 553, "column": 19 }, "end": { - "line": 541, + "line": 553, "column": 25 }, "identifierName": "onInit" @@ -66766,15 +68598,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 18011, - "end": 18131, + "start": 18395, + "end": 18515, "loc": { "start": { - "line": 527, + "line": 539, "column": 2 }, "end": { - "line": 529, + "line": 541, "column": 5 } } @@ -66784,15 +68616,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 18377, - "end": 18495, + "start": 18761, + "end": 18879, "loc": { "start": { - "line": 544, + "line": 556, "column": 2 }, "end": { - "line": 546, + "line": 558, "column": 5 } } @@ -66801,15 +68633,15 @@ }, { "type": "ClassMethod", - "start": 18499, - "end": 18600, + "start": 18883, + "end": 18984, "loc": { "start": { - "line": 547, + "line": 559, "column": 2 }, "end": { - "line": 550, + "line": 562, "column": 3 } }, @@ -66817,15 +68649,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18499, - "end": 18507, + "start": 18883, + "end": 18891, "loc": { "start": { - "line": 547, + "line": 559, "column": 2 }, "end": { - "line": 547, + "line": 559, "column": 10 }, "identifierName": "onRender" @@ -66841,58 +68673,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18509, - "end": 18600, + "start": 18893, + "end": 18984, "loc": { "start": { - "line": 547, + "line": 559, "column": 12 }, "end": { - "line": 550, + "line": 562, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18516, - "end": 18595, + "start": 18900, + "end": 18979, "loc": { "start": { - "line": 548, + "line": 560, "column": 4 }, "end": { - "line": 549, + "line": 561, "column": 30 } }, "test": { "type": "BinaryExpression", - "start": 18519, - "end": 18562, + "start": 18903, + "end": 18946, "loc": { "start": { - "line": 548, + "line": 560, "column": 7 }, "end": { - "line": 548, + "line": 560, "column": 50 } }, "left": { "type": "UnaryExpression", - "start": 18519, - "end": 18547, + "start": 18903, + "end": 18931, "loc": { "start": { - "line": 548, + "line": 560, "column": 7 }, "end": { - "line": 548, + "line": 560, "column": 35 } }, @@ -66900,58 +68732,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18526, - "end": 18547, + "start": 18910, + "end": 18931, "loc": { "start": { - "line": 548, + "line": 560, "column": 14 }, "end": { - "line": 548, + "line": 560, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 18526, - "end": 18538, + "start": 18910, + "end": 18922, "loc": { "start": { - "line": 548, + "line": 560, "column": 14 }, "end": { - "line": 548, + "line": 560, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 18526, - "end": 18530, + "start": 18910, + "end": 18914, "loc": { "start": { - "line": 548, + "line": 560, "column": 14 }, "end": { - "line": 548, + "line": 560, "column": 18 } } }, "property": { "type": "Identifier", - "start": 18531, - "end": 18538, + "start": 18915, + "end": 18922, "loc": { "start": { - "line": 548, + "line": 560, "column": 19 }, "end": { - "line": 548, + "line": 560, "column": 26 }, "identifierName": "options" @@ -66962,15 +68794,15 @@ }, "property": { "type": "Identifier", - "start": 18539, - "end": 18547, + "start": 18923, + "end": 18931, "loc": { "start": { - "line": 548, + "line": 560, "column": 27 }, "end": { - "line": 548, + "line": 560, "column": 35 }, "identifierName": "onRender" @@ -66986,15 +68818,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 18552, - "end": 18562, + "start": 18936, + "end": 18946, "loc": { "start": { - "line": 548, + "line": 560, "column": 40 }, "end": { - "line": 548, + "line": 560, "column": 50 } }, @@ -67007,86 +68839,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18571, - "end": 18595, + "start": 18955, + "end": 18979, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 18571, - "end": 18594, + "start": 18955, + "end": 18978, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 18571, - "end": 18592, + "start": 18955, + "end": 18976, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 18571, - "end": 18583, + "start": 18955, + "end": 18967, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18571, - "end": 18575, + "start": 18955, + "end": 18959, "loc": { "start": { - "line": 549, + "line": 561, "column": 6 }, "end": { - "line": 549, + "line": 561, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18576, - "end": 18583, + "start": 18960, + "end": 18967, "loc": { "start": { - "line": 549, + "line": 561, "column": 11 }, "end": { - "line": 549, + "line": 561, "column": 18 }, "identifierName": "options" @@ -67097,15 +68929,15 @@ }, "property": { "type": "Identifier", - "start": 18584, - "end": 18592, + "start": 18968, + "end": 18976, "loc": { "start": { - "line": 549, + "line": 561, "column": 19 }, "end": { - "line": 549, + "line": 561, "column": 27 }, "identifierName": "onRender" @@ -67127,15 +68959,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 18377, - "end": 18495, + "start": 18761, + "end": 18879, "loc": { "start": { - "line": 544, + "line": 556, "column": 2 }, "end": { - "line": 546, + "line": 558, "column": 5 } } @@ -67145,15 +68977,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", - "start": 18605, - "end": 18684, + "start": 18989, + "end": 19068, "loc": { "start": { - "line": 552, + "line": 564, "column": 1 }, "end": { - "line": 554, + "line": 566, "column": 4 } } @@ -67162,15 +68994,15 @@ }, { "type": "ClassMethod", - "start": 18688, - "end": 18810, + "start": 19072, + "end": 19194, "loc": { "start": { - "line": 555, + "line": 567, "column": 2 }, "end": { - "line": 558, + "line": 570, "column": 3 } }, @@ -67178,15 +69010,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18688, - "end": 18703, + "start": 19072, + "end": 19087, "loc": { "start": { - "line": 555, + "line": 567, "column": 2 }, "end": { - "line": 555, + "line": 567, "column": 17 }, "identifierName": "onModulesLoaded" @@ -67202,58 +69034,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 18705, - "end": 18810, + "start": 19089, + "end": 19194, "loc": { "start": { - "line": 555, + "line": 567, "column": 19 }, "end": { - "line": 558, + "line": 570, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18712, - "end": 18805, + "start": 19096, + "end": 19189, "loc": { "start": { - "line": 556, + "line": 568, "column": 4 }, "end": { - "line": 557, + "line": 569, "column": 37 } }, "test": { "type": "BinaryExpression", - "start": 18715, - "end": 18765, + "start": 19099, + "end": 19149, "loc": { "start": { - "line": 556, + "line": 568, "column": 7 }, "end": { - "line": 556, + "line": 568, "column": 57 } }, "left": { "type": "UnaryExpression", - "start": 18715, - "end": 18750, + "start": 19099, + "end": 19134, "loc": { "start": { - "line": 556, + "line": 568, "column": 7 }, "end": { - "line": 556, + "line": 568, "column": 42 } }, @@ -67261,58 +69093,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18722, - "end": 18750, + "start": 19106, + "end": 19134, "loc": { "start": { - "line": 556, + "line": 568, "column": 14 }, "end": { - "line": 556, + "line": 568, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 18722, - "end": 18734, + "start": 19106, + "end": 19118, "loc": { "start": { - "line": 556, + "line": 568, "column": 14 }, "end": { - "line": 556, + "line": 568, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 18722, - "end": 18726, + "start": 19106, + "end": 19110, "loc": { "start": { - "line": 556, + "line": 568, "column": 14 }, "end": { - "line": 556, + "line": 568, "column": 18 } } }, "property": { "type": "Identifier", - "start": 18727, - "end": 18734, + "start": 19111, + "end": 19118, "loc": { "start": { - "line": 556, + "line": 568, "column": 19 }, "end": { - "line": 556, + "line": 568, "column": 26 }, "identifierName": "options" @@ -67323,15 +69155,15 @@ }, "property": { "type": "Identifier", - "start": 18735, - "end": 18750, + "start": 19119, + "end": 19134, "loc": { "start": { - "line": 556, + "line": 568, "column": 27 }, "end": { - "line": 556, + "line": 568, "column": 42 }, "identifierName": "onModulesLoaded" @@ -67347,15 +69179,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 18755, - "end": 18765, + "start": 19139, + "end": 19149, "loc": { "start": { - "line": 556, + "line": 568, "column": 47 }, "end": { - "line": 556, + "line": 568, "column": 57 } }, @@ -67368,86 +69200,86 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18774, - "end": 18805, + "start": 19158, + "end": 19189, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 18774, - "end": 18804, + "start": 19158, + "end": 19188, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 18774, - "end": 18802, + "start": 19158, + "end": 19186, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 18774, - "end": 18786, + "start": 19158, + "end": 19170, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18774, - "end": 18778, + "start": 19158, + "end": 19162, "loc": { "start": { - "line": 557, + "line": 569, "column": 6 }, "end": { - "line": 557, + "line": 569, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18779, - "end": 18786, + "start": 19163, + "end": 19170, "loc": { "start": { - "line": 557, + "line": 569, "column": 11 }, "end": { - "line": 557, + "line": 569, "column": 18 }, "identifierName": "options" @@ -67458,15 +69290,15 @@ }, "property": { "type": "Identifier", - "start": 18787, - "end": 18802, + "start": 19171, + "end": 19186, "loc": { "start": { - "line": 557, + "line": 569, "column": 19 }, "end": { - "line": 557, + "line": 569, "column": 34 }, "identifierName": "onModulesLoaded" @@ -67488,15 +69320,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", - "start": 18605, - "end": 18684, + "start": 18989, + "end": 19068, "loc": { "start": { - "line": 552, + "line": 564, "column": 1 }, "end": { - "line": 554, + "line": 566, "column": 4 } } @@ -67506,15 +69338,15 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 18816, - "end": 18848, + "start": 19200, + "end": 19232, "loc": { "start": { - "line": 560, + "line": 572, "column": 2 }, "end": { - "line": 562, + "line": 574, "column": 5 } } @@ -67523,15 +69355,15 @@ }, { "type": "ClassProperty", - "start": 18852, - "end": 19001, + "start": 19236, + "end": 19385, "loc": { "start": { - "line": 563, + "line": 575, "column": 2 }, "end": { - "line": 568, + "line": 580, "column": 3 } }, @@ -67539,15 +69371,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 18852, - "end": 18866, + "start": 19236, + "end": 19250, "loc": { "start": { - "line": 563, + "line": 575, "column": 2 }, "end": { - "line": 563, + "line": 575, "column": 16 }, "identifierName": "registerModule" @@ -67557,15 +69389,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 18869, - "end": 19001, + "start": 19253, + "end": 19385, "loc": { "start": { - "line": 563, + "line": 575, "column": 19 }, "end": { - "line": 568, + "line": 580, "column": 3 } }, @@ -67576,15 +69408,15 @@ "params": [ { "type": "Identifier", - "start": 18870, - "end": 18874, + "start": 19254, + "end": 19258, "loc": { "start": { - "line": 563, + "line": 575, "column": 20 }, "end": { - "line": 563, + "line": 575, "column": 24 }, "identifierName": "name" @@ -67593,15 +69425,15 @@ }, { "type": "Identifier", - "start": 18876, - "end": 18888, + "start": 19260, + "end": 19272, "loc": { "start": { - "line": 563, + "line": 575, "column": 26 }, "end": { - "line": 563, + "line": 575, "column": 38 }, "identifierName": "initCallback" @@ -67611,44 +69443,44 @@ ], "body": { "type": "BlockStatement", - "start": 18893, - "end": 19001, + "start": 19277, + "end": 19385, "loc": { "start": { - "line": 563, + "line": 575, "column": 43 }, "end": { - "line": 568, + "line": 580, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 18900, - "end": 18955, + "start": 19284, + "end": 19339, "loc": { "start": { - "line": 564, + "line": 576, "column": 4 }, "end": { - "line": 565, + "line": 577, "column": 30 } }, "test": { "type": "UnaryExpression", - "start": 18903, - "end": 18922, + "start": 19287, + "end": 19306, "loc": { "start": { - "line": 564, + "line": 576, "column": 7 }, "end": { - "line": 564, + "line": 576, "column": 26 } }, @@ -67656,58 +69488,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18904, - "end": 18922, + "start": 19288, + "end": 19306, "loc": { "start": { - "line": 564, + "line": 576, "column": 8 }, "end": { - "line": 564, + "line": 576, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 18904, - "end": 18916, + "start": 19288, + "end": 19300, "loc": { "start": { - "line": 564, + "line": 576, "column": 8 }, "end": { - "line": 564, + "line": 576, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 18904, - "end": 18908, + "start": 19288, + "end": 19292, "loc": { "start": { - "line": 564, + "line": 576, "column": 8 }, "end": { - "line": 564, + "line": 576, "column": 12 } } }, "property": { "type": "Identifier", - "start": 18909, - "end": 18916, + "start": 19293, + "end": 19300, "loc": { "start": { - "line": 564, + "line": 576, "column": 13 }, "end": { - "line": 564, + "line": 576, "column": 20 }, "identifierName": "modules" @@ -67718,15 +69550,15 @@ }, "property": { "type": "Identifier", - "start": 18917, - "end": 18921, + "start": 19301, + "end": 19305, "loc": { "start": { - "line": 564, + "line": 576, "column": 21 }, "end": { - "line": 564, + "line": 576, "column": 25 }, "identifierName": "name" @@ -67741,87 +69573,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 18931, - "end": 18955, + "start": 19315, + "end": 19339, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 18931, - "end": 18954, + "start": 19315, + "end": 19338, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 18931, - "end": 18949, + "start": 19315, + "end": 19333, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 24 } }, "object": { "type": "MemberExpression", - "start": 18931, - "end": 18943, + "start": 19315, + "end": 19327, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 18931, - "end": 18935, + "start": 19315, + "end": 19319, "loc": { "start": { - "line": 565, + "line": 577, "column": 6 }, "end": { - "line": 565, + "line": 577, "column": 10 } } }, "property": { "type": "Identifier", - "start": 18936, - "end": 18943, + "start": 19320, + "end": 19327, "loc": { "start": { - "line": 565, + "line": 577, "column": 11 }, "end": { - "line": 565, + "line": 577, "column": 18 }, "identifierName": "modules" @@ -67832,15 +69664,15 @@ }, "property": { "type": "Identifier", - "start": 18944, - "end": 18948, + "start": 19328, + "end": 19332, "loc": { "start": { - "line": 565, + "line": 577, "column": 19 }, "end": { - "line": 565, + "line": 577, "column": 23 }, "identifierName": "name" @@ -67851,15 +69683,15 @@ }, "right": { "type": "ObjectExpression", - "start": 18952, - "end": 18954, + "start": 19336, + "end": 19338, "loc": { "start": { - "line": 565, + "line": 577, "column": 27 }, "end": { - "line": 565, + "line": 577, "column": 29 } }, @@ -67871,43 +69703,43 @@ }, { "type": "ExpressionStatement", - "start": 18963, - "end": 18996, + "start": 19347, + "end": 19380, "loc": { "start": { - "line": 567, + "line": 579, "column": 4 }, "end": { - "line": 567, + "line": 579, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 18963, - "end": 18995, + "start": 19347, + "end": 19379, "loc": { "start": { - "line": 567, + "line": 579, "column": 4 }, "end": { - "line": 567, + "line": 579, "column": 36 } }, "callee": { "type": "Identifier", - "start": 18963, - "end": 18975, + "start": 19347, + "end": 19359, "loc": { "start": { - "line": 567, + "line": 579, "column": 4 }, "end": { - "line": 567, + "line": 579, "column": 16 }, "identifierName": "initCallback" @@ -67917,58 +69749,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 18976, - "end": 18994, + "start": 19360, + "end": 19378, "loc": { "start": { - "line": 567, + "line": 579, "column": 17 }, "end": { - "line": 567, + "line": 579, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 18976, - "end": 18988, + "start": 19360, + "end": 19372, "loc": { "start": { - "line": 567, + "line": 579, "column": 17 }, "end": { - "line": 567, + "line": 579, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 18976, - "end": 18980, + "start": 19360, + "end": 19364, "loc": { "start": { - "line": 567, + "line": 579, "column": 17 }, "end": { - "line": 567, + "line": 579, "column": 21 } } }, "property": { "type": "Identifier", - "start": 18981, - "end": 18988, + "start": 19365, + "end": 19372, "loc": { "start": { - "line": 567, + "line": 579, "column": 22 }, "end": { - "line": 567, + "line": 579, "column": 29 }, "identifierName": "modules" @@ -67979,15 +69811,15 @@ }, "property": { "type": "Identifier", - "start": 18989, - "end": 18993, + "start": 19373, + "end": 19377, "loc": { "start": { - "line": 567, + "line": 579, "column": 30 }, "end": { - "line": 567, + "line": 579, "column": 34 }, "identifierName": "name" @@ -68009,15 +69841,15 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 18816, - "end": 18848, + "start": 19200, + "end": 19232, "loc": { "start": { - "line": 560, + "line": 572, "column": 2 }, "end": { - "line": 562, + "line": 574, "column": 5 } } @@ -68027,15 +69859,15 @@ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", - "start": 19007, - "end": 19036, + "start": 19391, + "end": 19420, "loc": { "start": { - "line": 570, + "line": 582, "column": 2 }, "end": { - "line": 572, + "line": 584, "column": 5 } } @@ -68044,15 +69876,15 @@ }, { "type": "ClassMethod", - "start": 19040, - "end": 19681, + "start": 19424, + "end": 20065, "loc": { "start": { - "line": 573, + "line": 585, "column": 2 }, "end": { - "line": 592, + "line": 604, "column": 3 } }, @@ -68060,15 +69892,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19040, - "end": 19051, + "start": 19424, + "end": 19435, "loc": { "start": { - "line": 573, + "line": 585, "column": 2 }, "end": { - "line": 573, + "line": 585, "column": 13 }, "identifierName": "loadModules" @@ -68084,72 +69916,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19053, - "end": 19681, + "start": 19437, + "end": 20065, "loc": { "start": { - "line": 573, + "line": 585, "column": 15 }, "end": { - "line": 592, + "line": 604, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 19060, - "end": 19676, + "start": 19444, + "end": 20060, "loc": { "start": { - "line": 574, + "line": 586, "column": 4 }, "end": { - "line": 591, + "line": 603, "column": 5 } }, "test": { "type": "CallExpression", - "start": 19063, - "end": 19098, + "start": 19447, + "end": 19482, "loc": { "start": { - "line": 574, + "line": 586, "column": 7 }, "end": { - "line": 574, + "line": 586, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 19063, - "end": 19076, + "start": 19447, + "end": 19460, "loc": { "start": { - "line": 574, + "line": 586, "column": 7 }, "end": { - "line": 574, + "line": 586, "column": 20 } }, "object": { "type": "Identifier", - "start": 19063, - "end": 19068, + "start": 19447, + "end": 19452, "loc": { "start": { - "line": 574, + "line": 586, "column": 7 }, "end": { - "line": 574, + "line": 586, "column": 12 }, "identifierName": "Array" @@ -68158,15 +69990,15 @@ }, "property": { "type": "Identifier", - "start": 19069, - "end": 19076, + "start": 19453, + "end": 19460, "loc": { "start": { - "line": 574, + "line": 586, "column": 13 }, "end": { - "line": 574, + "line": 586, "column": 20 }, "identifierName": "isArray" @@ -68178,58 +70010,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 19077, - "end": 19097, + "start": 19461, + "end": 19481, "loc": { "start": { - "line": 574, + "line": 586, "column": 21 }, "end": { - "line": 574, + "line": 586, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 19077, - "end": 19089, + "start": 19461, + "end": 19473, "loc": { "start": { - "line": 574, + "line": 586, "column": 21 }, "end": { - "line": 574, + "line": 586, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 19077, - "end": 19081, + "start": 19461, + "end": 19465, "loc": { "start": { - "line": 574, + "line": 586, "column": 21 }, "end": { - "line": 574, + "line": 586, "column": 25 } } }, "property": { "type": "Identifier", - "start": 19082, - "end": 19089, + "start": 19466, + "end": 19473, "loc": { "start": { - "line": 574, + "line": 586, "column": 26 }, "end": { - "line": 574, + "line": 586, "column": 33 }, "identifierName": "options" @@ -68240,15 +70072,15 @@ }, "property": { "type": "Identifier", - "start": 19090, - "end": 19097, + "start": 19474, + "end": 19481, "loc": { "start": { - "line": 574, + "line": 586, "column": 34 }, "end": { - "line": 574, + "line": 586, "column": 41 }, "identifierName": "modules" @@ -68261,115 +70093,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 19099, - "end": 19676, + "start": 19483, + "end": 20060, "loc": { "start": { - "line": 574, + "line": 586, "column": 43 }, "end": { - "line": 591, + "line": 603, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 19108, - "end": 19528, + "start": 19492, + "end": 19912, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 585, + "line": 597, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 19108, - "end": 19527, + "start": 19492, + "end": 19911, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 585, + "line": 597, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 19108, - "end": 19136, + "start": 19492, + "end": 19520, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19108, - "end": 19128, + "start": 19492, + "end": 19512, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 19108, - "end": 19120, + "start": 19492, + "end": 19504, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 19108, - "end": 19112, + "start": 19492, + "end": 19496, "loc": { "start": { - "line": 575, + "line": 587, "column": 6 }, "end": { - "line": 575, + "line": 587, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19113, - "end": 19120, + "start": 19497, + "end": 19504, "loc": { "start": { - "line": 575, + "line": 587, "column": 11 }, "end": { - "line": 575, + "line": 587, "column": 18 }, "identifierName": "options" @@ -68380,15 +70212,15 @@ }, "property": { "type": "Identifier", - "start": 19121, - "end": 19128, + "start": 19505, + "end": 19512, "loc": { "start": { - "line": 575, + "line": 587, "column": 19 }, "end": { - "line": 575, + "line": 587, "column": 26 }, "identifierName": "modules" @@ -68399,15 +70231,15 @@ }, "property": { "type": "Identifier", - "start": 19129, - "end": 19136, + "start": 19513, + "end": 19520, "loc": { "start": { - "line": 575, + "line": 587, "column": 27 }, "end": { - "line": 575, + "line": 587, "column": 34 }, "identifierName": "forEach" @@ -68419,15 +70251,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 19137, - "end": 19526, + "start": 19521, + "end": 19910, "loc": { "start": { - "line": 575, + "line": 587, "column": 35 }, "end": { - "line": 585, + "line": 597, "column": 7 } }, @@ -68438,15 +70270,15 @@ "params": [ { "type": "Identifier", - "start": 19137, - "end": 19143, + "start": 19521, + "end": 19527, "loc": { "start": { - "line": 575, + "line": 587, "column": 35 }, "end": { - "line": 575, + "line": 587, "column": 41 }, "identifierName": "Module" @@ -68456,59 +70288,59 @@ ], "body": { "type": "BlockStatement", - "start": 19147, - "end": 19526, + "start": 19531, + "end": 19910, "loc": { "start": { - "line": 575, + "line": 587, "column": 45 }, "end": { - "line": 585, + "line": 597, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 19158, - "end": 19184, + "start": 19542, + "end": 19568, "loc": { "start": { - "line": 576, + "line": 588, "column": 8 }, "end": { - "line": 576, + "line": 588, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19162, - "end": 19183, + "start": 19546, + "end": 19567, "loc": { "start": { - "line": 576, + "line": 588, "column": 12 }, "end": { - "line": 576, + "line": 588, "column": 33 } }, "id": { "type": "Identifier", - "start": 19162, - "end": 19168, + "start": 19546, + "end": 19552, "loc": { "start": { - "line": 576, + "line": 588, "column": 12 }, "end": { - "line": 576, + "line": 588, "column": 18 }, "identifierName": "module" @@ -68517,29 +70349,29 @@ }, "init": { "type": "NewExpression", - "start": 19171, - "end": 19183, + "start": 19555, + "end": 19567, "loc": { "start": { - "line": 576, + "line": 588, "column": 21 }, "end": { - "line": 576, + "line": 588, "column": 33 } }, "callee": { "type": "Identifier", - "start": 19175, - "end": 19181, + "start": 19559, + "end": 19565, "loc": { "start": { - "line": 576, + "line": 588, "column": 25 }, "end": { - "line": 576, + "line": 588, "column": 31 }, "identifierName": "Module" @@ -68555,15 +70387,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 19196, - "end": 19222, + "start": 19580, + "end": 19606, "loc": { "start": { - "line": 578, + "line": 590, "column": 8 }, "end": { - "line": 578, + "line": 590, "column": 34 } } @@ -68572,71 +70404,71 @@ }, { "type": "IfStatement", - "start": 19232, - "end": 19487, + "start": 19616, + "end": 19871, "loc": { "start": { - "line": 579, + "line": 591, "column": 8 }, "end": { - "line": 582, + "line": 594, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 19235, - "end": 19300, + "start": 19619, + "end": 19684, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 76 } }, "left": { "type": "MemberExpression", - "start": 19235, - "end": 19258, + "start": 19619, + "end": 19642, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 19235, - "end": 19253, + "start": 19619, + "end": 19637, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 29 } }, "object": { "type": "Identifier", - "start": 19235, - "end": 19241, + "start": 19619, + "end": 19625, "loc": { "start": { - "line": 579, + "line": 591, "column": 11 }, "end": { - "line": 579, + "line": 591, "column": 17 }, "identifierName": "module" @@ -68646,15 +70478,15 @@ }, "property": { "type": "Identifier", - "start": 19242, - "end": 19253, + "start": 19626, + "end": 19637, "loc": { "start": { - "line": 579, + "line": 591, "column": 18 }, "end": { - "line": 579, + "line": 591, "column": 29 }, "identifierName": "constructor" @@ -68666,15 +70498,15 @@ }, "property": { "type": "Identifier", - "start": 19254, - "end": 19258, + "start": 19638, + "end": 19642, "loc": { "start": { - "line": 579, + "line": 591, "column": 30 }, "end": { - "line": 579, + "line": 591, "column": 34 }, "identifierName": "name" @@ -68687,57 +70519,57 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 19262, - "end": 19300, + "start": 19646, + "end": 19684, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 76 } }, "left": { "type": "MemberExpression", - "start": 19262, - "end": 19285, + "start": 19646, + "end": 19669, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 19262, - "end": 19280, + "start": 19646, + "end": 19664, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 56 } }, "object": { "type": "Identifier", - "start": 19262, - "end": 19268, + "start": 19646, + "end": 19652, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 44 }, "identifierName": "module" @@ -68746,15 +70578,15 @@ }, "property": { "type": "Identifier", - "start": 19269, - "end": 19280, + "start": 19653, + "end": 19664, "loc": { "start": { - "line": 579, + "line": 591, "column": 45 }, "end": { - "line": 579, + "line": 591, "column": 56 }, "identifierName": "constructor" @@ -68765,15 +70597,15 @@ }, "property": { "type": "Identifier", - "start": 19281, - "end": 19285, + "start": 19665, + "end": 19669, "loc": { "start": { - "line": 579, + "line": 591, "column": 57 }, "end": { - "line": 579, + "line": 591, "column": 61 }, "identifierName": "name" @@ -68785,15 +70617,15 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19290, - "end": 19300, + "start": 19674, + "end": 19684, "loc": { "start": { - "line": 579, + "line": 591, "column": 66 }, "end": { - "line": 579, + "line": 591, "column": 76 } }, @@ -68808,59 +70640,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 19301, - "end": 19487, + "start": 19685, + "end": 19871, "loc": { "start": { - "line": 579, + "line": 591, "column": 77 }, "end": { - "line": 582, + "line": 594, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 19314, - "end": 19391, + "start": 19698, + "end": 19775, "loc": { "start": { - "line": 580, + "line": 592, "column": 10 }, "end": { - "line": 580, + "line": 592, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 19318, - "end": 19390, + "start": 19702, + "end": 19774, "loc": { "start": { - "line": 580, + "line": 592, "column": 14 }, "end": { - "line": 580, + "line": 592, "column": 86 } }, "id": { "type": "Identifier", - "start": 19318, - "end": 19326, + "start": 19702, + "end": 19710, "loc": { "start": { - "line": 580, + "line": 592, "column": 14 }, "end": { - "line": 580, + "line": 592, "column": 22 }, "identifierName": "classStr" @@ -68869,87 +70701,87 @@ }, "init": { "type": "TemplateLiteral", - "start": 19329, - "end": 19390, + "start": 19713, + "end": 19774, "loc": { "start": { - "line": 580, + "line": 592, "column": 25 }, "end": { - "line": 580, + "line": 592, "column": 86 } }, "expressions": [ { "type": "CallExpression", - "start": 19339, - "end": 19388, + "start": 19723, + "end": 19772, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 84 } }, "callee": { "type": "MemberExpression", - "start": 19339, - "end": 19363, + "start": 19723, + "end": 19747, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 19339, - "end": 19353, + "start": 19723, + "end": 19737, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 19339, - "end": 19343, + "start": 19723, + "end": 19727, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 39 } } }, "property": { "type": "Identifier", - "start": 19344, - "end": 19353, + "start": 19728, + "end": 19737, "loc": { "start": { - "line": 580, + "line": 592, "column": 40 }, "end": { - "line": 580, + "line": 592, "column": 49 }, "identifierName": "utilities" @@ -68960,15 +70792,15 @@ }, "property": { "type": "Identifier", - "start": 19354, - "end": 19363, + "start": 19738, + "end": 19747, "loc": { "start": { - "line": 580, + "line": 592, "column": 50 }, "end": { - "line": 580, + "line": 592, "column": 59 }, "identifierName": "camelCase" @@ -68980,43 +70812,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 19364, - "end": 19387, + "start": 19748, + "end": 19771, "loc": { "start": { - "line": 580, + "line": 592, "column": 60 }, "end": { - "line": 580, + "line": 592, "column": 83 } }, "object": { "type": "MemberExpression", - "start": 19364, - "end": 19382, + "start": 19748, + "end": 19766, "loc": { "start": { - "line": 580, + "line": 592, "column": 60 }, "end": { - "line": 580, + "line": 592, "column": 78 } }, "object": { "type": "Identifier", - "start": 19364, - "end": 19370, + "start": 19748, + "end": 19754, "loc": { "start": { - "line": 580, + "line": 592, "column": 60 }, "end": { - "line": 580, + "line": 592, "column": 66 }, "identifierName": "module" @@ -69025,15 +70857,15 @@ }, "property": { "type": "Identifier", - "start": 19371, - "end": 19382, + "start": 19755, + "end": 19766, "loc": { "start": { - "line": 580, + "line": 592, "column": 67 }, "end": { - "line": 580, + "line": 592, "column": 78 }, "identifierName": "constructor" @@ -69044,15 +70876,15 @@ }, "property": { "type": "Identifier", - "start": 19383, - "end": 19387, + "start": 19767, + "end": 19771, "loc": { "start": { - "line": 580, + "line": 592, "column": 79 }, "end": { - "line": 580, + "line": 592, "column": 83 }, "identifierName": "name" @@ -69067,15 +70899,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 19330, - "end": 19337, + "start": 19714, + "end": 19721, "loc": { "start": { - "line": 580, + "line": 592, "column": 26 }, "end": { - "line": 580, + "line": 592, "column": 33 } }, @@ -69087,15 +70919,15 @@ }, { "type": "TemplateElement", - "start": 19389, - "end": 19389, + "start": 19773, + "end": 19773, "loc": { "start": { - "line": 580, + "line": 592, "column": 85 }, "end": { - "line": 580, + "line": 592, "column": 85 } }, @@ -69113,73 +70945,73 @@ }, { "type": "ExpressionStatement", - "start": 19403, - "end": 19476, + "start": 19787, + "end": 19860, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 83 } }, "expression": { "type": "AssignmentExpression", - "start": 19403, - "end": 19475, + "start": 19787, + "end": 19859, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19403, - "end": 19429, + "start": 19787, + "end": 19813, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 19403, - "end": 19407, + "start": 19787, + "end": 19791, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 14 } } }, "property": { "type": "Identifier", - "start": 19408, - "end": 19429, + "start": 19792, + "end": 19813, "loc": { "start": { - "line": 581, + "line": 593, "column": 15 }, "end": { - "line": 581, + "line": 593, "column": 36 }, "identifierName": "keyboardPluginClasses" @@ -69190,58 +71022,58 @@ }, "right": { "type": "BinaryExpression", - "start": 19432, - "end": 19475, + "start": 19816, + "end": 19859, "loc": { "start": { - "line": 581, + "line": 593, "column": 39 }, "end": { - "line": 581, + "line": 593, "column": 82 } }, "left": { "type": "MemberExpression", - "start": 19432, - "end": 19458, + "start": 19816, + "end": 19842, "loc": { "start": { - "line": 581, + "line": 593, "column": 39 }, "end": { - "line": 581, + "line": 593, "column": 65 } }, "object": { "type": "ThisExpression", - "start": 19432, - "end": 19436, + "start": 19816, + "end": 19820, "loc": { "start": { - "line": 581, + "line": 593, "column": 39 }, "end": { - "line": 581, + "line": 593, "column": 43 } } }, "property": { "type": "Identifier", - "start": 19437, - "end": 19458, + "start": 19821, + "end": 19842, "loc": { "start": { - "line": 581, + "line": 593, "column": 44 }, "end": { - "line": 581, + "line": 593, "column": 65 }, "identifierName": "keyboardPluginClasses" @@ -69253,30 +71085,30 @@ "operator": "+", "right": { "type": "TemplateLiteral", - "start": 19461, - "end": 19475, + "start": 19845, + "end": 19859, "loc": { "start": { - "line": 581, + "line": 593, "column": 68 }, "end": { - "line": 581, + "line": 593, "column": 82 } }, "expressions": [ { "type": "Identifier", - "start": 19465, - "end": 19473, + "start": 19849, + "end": 19857, "loc": { "start": { - "line": 581, + "line": 593, "column": 72 }, "end": { - "line": 581, + "line": 593, "column": 80 }, "identifierName": "classStr" @@ -69287,15 +71119,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 19462, - "end": 19463, + "start": 19846, + "end": 19847, "loc": { "start": { - "line": 581, + "line": 593, "column": 69 }, "end": { - "line": 581, + "line": 593, "column": 70 } }, @@ -69307,15 +71139,15 @@ }, { "type": "TemplateElement", - "start": 19474, - "end": 19474, + "start": 19858, + "end": 19858, "loc": { "start": { - "line": 581, + "line": 593, "column": 81 }, "end": { - "line": 581, + "line": 593, "column": 81 } }, @@ -69338,15 +71170,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 19196, - "end": 19222, + "start": 19580, + "end": 19606, "loc": { "start": { - "line": 578, + "line": 590, "column": 8 }, "end": { - "line": 578, + "line": 590, "column": 34 } } @@ -69355,57 +71187,57 @@ }, { "type": "ExpressionStatement", - "start": 19499, - "end": 19517, + "start": 19883, + "end": 19901, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 26 } }, "expression": { "type": "CallExpression", - "start": 19499, - "end": 19516, + "start": 19883, + "end": 19900, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 19499, - "end": 19510, + "start": 19883, + "end": 19894, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 19 } }, "object": { "type": "Identifier", - "start": 19499, - "end": 19505, + "start": 19883, + "end": 19889, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 14 }, "identifierName": "module" @@ -69414,15 +71246,15 @@ }, "property": { "type": "Identifier", - "start": 19506, - "end": 19510, + "start": 19890, + "end": 19894, "loc": { "start": { - "line": 584, + "line": 596, "column": 15 }, "end": { - "line": 584, + "line": 596, "column": 19 }, "identifierName": "init" @@ -69434,15 +71266,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 19511, - "end": 19515, + "start": 19895, + "end": 19899, "loc": { "start": { - "line": 584, + "line": 596, "column": 20 }, "end": { - "line": 584, + "line": 596, "column": 24 } } @@ -69459,73 +71291,73 @@ }, { "type": "ExpressionStatement", - "start": 19538, - "end": 19614, + "start": 19922, + "end": 19998, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 82 } }, "expression": { "type": "AssignmentExpression", - "start": 19538, - "end": 19613, + "start": 19922, + "end": 19997, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 19538, - "end": 19564, + "start": 19922, + "end": 19948, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 19538, - "end": 19542, + "start": 19922, + "end": 19926, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19543, - "end": 19564, + "start": 19927, + "end": 19948, "loc": { "start": { - "line": 587, + "line": 599, "column": 11 }, "end": { - "line": 587, + "line": 599, "column": 32 }, "identifierName": "keyboardPluginClasses" @@ -69536,58 +71368,58 @@ }, "right": { "type": "BinaryExpression", - "start": 19567, - "end": 19613, + "start": 19951, + "end": 19997, "loc": { "start": { - "line": 587, + "line": 599, "column": 35 }, "end": { - "line": 587, + "line": 599, "column": 81 } }, "left": { "type": "MemberExpression", - "start": 19567, - "end": 19593, + "start": 19951, + "end": 19977, "loc": { "start": { - "line": 587, + "line": 599, "column": 35 }, "end": { - "line": 587, + "line": 599, "column": 61 } }, "object": { "type": "ThisExpression", - "start": 19567, - "end": 19571, + "start": 19951, + "end": 19955, "loc": { "start": { - "line": 587, + "line": 599, "column": 35 }, "end": { - "line": 587, + "line": 599, "column": 39 } } }, "property": { "type": "Identifier", - "start": 19572, - "end": 19593, + "start": 19956, + "end": 19977, "loc": { "start": { - "line": 587, + "line": 599, "column": 40 }, "end": { - "line": 587, + "line": 599, "column": 61 }, "identifierName": "keyboardPluginClasses" @@ -69599,15 +71431,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 19596, - "end": 19613, + "start": 19980, + "end": 19997, "loc": { "start": { - "line": 587, + "line": 599, "column": 64 }, "end": { - "line": 587, + "line": 599, "column": 81 } }, @@ -69622,72 +71454,72 @@ }, { "type": "ExpressionStatement", - "start": 19624, - "end": 19638, + "start": 20008, + "end": 20022, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 19624, - "end": 19637, + "start": 20008, + "end": 20021, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 19624, - "end": 19635, + "start": 20008, + "end": 20019, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 19624, - "end": 19628, + "start": 20008, + "end": 20012, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19629, - "end": 19635, + "start": 20013, + "end": 20019, "loc": { "start": { - "line": 589, + "line": 601, "column": 11 }, "end": { - "line": 589, + "line": 601, "column": 17 }, "identifierName": "render" @@ -69701,72 +71533,72 @@ }, { "type": "ExpressionStatement", - "start": 19646, - "end": 19669, + "start": 20030, + "end": 20053, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 19646, - "end": 19668, + "start": 20030, + "end": 20052, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 19646, - "end": 19666, + "start": 20030, + "end": 20050, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 19646, - "end": 19650, + "start": 20030, + "end": 20034, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 10 } } }, "property": { "type": "Identifier", - "start": 19651, - "end": 19666, + "start": 20035, + "end": 20050, "loc": { "start": { - "line": 590, + "line": 602, "column": 11 }, "end": { - "line": 590, + "line": 602, "column": 26 }, "identifierName": "onModulesLoaded" @@ -69791,15 +71623,15 @@ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", - "start": 19007, - "end": 19036, + "start": 19391, + "end": 19420, "loc": { "start": { - "line": 570, + "line": 582, "column": 2 }, "end": { - "line": 572, + "line": 584, "column": 5 } } @@ -69809,15 +71641,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 19687, - "end": 19719, + "start": 20071, + "end": 20103, "loc": { "start": { - "line": 594, + "line": 606, "column": 2 }, "end": { - "line": 596, + "line": 608, "column": 5 } } @@ -69826,15 +71658,15 @@ }, { "type": "ClassProperty", - "start": 19723, - "end": 19855, + "start": 20107, + "end": 20239, "loc": { "start": { - "line": 597, + "line": 609, "column": 2 }, "end": { - "line": 602, + "line": 614, "column": 3 } }, @@ -69842,15 +71674,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19723, - "end": 19736, + "start": 20107, + "end": 20120, "loc": { "start": { - "line": 597, + "line": 609, "column": 2 }, "end": { - "line": 597, + "line": 609, "column": 15 }, "identifierName": "getModuleProp" @@ -69860,15 +71692,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 19739, - "end": 19855, + "start": 20123, + "end": 20239, "loc": { "start": { - "line": 597, + "line": 609, "column": 18 }, "end": { - "line": 602, + "line": 614, "column": 3 } }, @@ -69879,15 +71711,15 @@ "params": [ { "type": "Identifier", - "start": 19740, - "end": 19744, + "start": 20124, + "end": 20128, "loc": { "start": { - "line": 597, + "line": 609, "column": 19 }, "end": { - "line": 597, + "line": 609, "column": 23 }, "identifierName": "name" @@ -69896,15 +71728,15 @@ }, { "type": "Identifier", - "start": 19746, - "end": 19750, + "start": 20130, + "end": 20134, "loc": { "start": { - "line": 597, + "line": 609, "column": 25 }, "end": { - "line": 597, + "line": 609, "column": 29 }, "identifierName": "prop" @@ -69914,44 +71746,44 @@ ], "body": { "type": "BlockStatement", - "start": 19755, - "end": 19855, + "start": 20139, + "end": 20239, "loc": { "start": { - "line": 597, + "line": 609, "column": 34 }, "end": { - "line": 602, + "line": 614, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 19762, - "end": 19806, + "start": 20146, + "end": 20190, "loc": { "start": { - "line": 598, + "line": 610, "column": 4 }, "end": { - "line": 599, + "line": 611, "column": 19 } }, "test": { "type": "UnaryExpression", - "start": 19765, - "end": 19784, + "start": 20149, + "end": 20168, "loc": { "start": { - "line": 598, + "line": 610, "column": 7 }, "end": { - "line": 598, + "line": 610, "column": 26 } }, @@ -69959,58 +71791,58 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 19766, - "end": 19784, + "start": 20150, + "end": 20168, "loc": { "start": { - "line": 598, + "line": 610, "column": 8 }, "end": { - "line": 598, + "line": 610, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 19766, - "end": 19778, + "start": 20150, + "end": 20162, "loc": { "start": { - "line": 598, + "line": 610, "column": 8 }, "end": { - "line": 598, + "line": 610, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 19766, - "end": 19770, + "start": 20150, + "end": 20154, "loc": { "start": { - "line": 598, + "line": 610, "column": 8 }, "end": { - "line": 598, + "line": 610, "column": 12 } } }, "property": { "type": "Identifier", - "start": 19771, - "end": 19778, + "start": 20155, + "end": 20162, "loc": { "start": { - "line": 598, + "line": 610, "column": 13 }, "end": { - "line": 598, + "line": 610, "column": 20 }, "identifierName": "modules" @@ -70021,15 +71853,15 @@ }, "property": { "type": "Identifier", - "start": 19779, - "end": 19783, + "start": 20163, + "end": 20167, "loc": { "start": { - "line": 598, + "line": 610, "column": 21 }, "end": { - "line": 598, + "line": 610, "column": 25 }, "identifierName": "name" @@ -70044,29 +71876,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 19793, - "end": 19806, + "start": 20177, + "end": 20190, "loc": { "start": { - "line": 599, + "line": 611, "column": 6 }, "end": { - "line": 599, + "line": 611, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 19800, - "end": 19805, + "start": 20184, + "end": 20189, "loc": { "start": { - "line": 599, + "line": 611, "column": 13 }, "end": { - "line": 599, + "line": 611, "column": 18 } }, @@ -70077,86 +71909,86 @@ }, { "type": "ReturnStatement", - "start": 19818, - "end": 19850, + "start": 20202, + "end": 20234, "loc": { "start": { - "line": 601, + "line": 613, "column": 4 }, "end": { - "line": 601, + "line": 613, "column": 36 } }, "argument": { "type": "MemberExpression", - "start": 19825, - "end": 19849, + "start": 20209, + "end": 20233, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 19825, - "end": 19843, + "start": 20209, + "end": 20227, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 19825, - "end": 19837, + "start": 20209, + "end": 20221, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 19825, - "end": 19829, + "start": 20209, + "end": 20213, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 15 } } }, "property": { "type": "Identifier", - "start": 19830, - "end": 19837, + "start": 20214, + "end": 20221, "loc": { "start": { - "line": 601, + "line": 613, "column": 16 }, "end": { - "line": 601, + "line": 613, "column": 23 }, "identifierName": "modules" @@ -70167,15 +71999,15 @@ }, "property": { "type": "Identifier", - "start": 19838, - "end": 19842, + "start": 20222, + "end": 20226, "loc": { "start": { - "line": 601, + "line": 613, "column": 24 }, "end": { - "line": 601, + "line": 613, "column": 28 }, "identifierName": "name" @@ -70186,15 +72018,15 @@ }, "property": { "type": "Identifier", - "start": 19844, - "end": 19848, + "start": 20228, + "end": 20232, "loc": { "start": { - "line": 601, + "line": 613, "column": 30 }, "end": { - "line": 601, + "line": 613, "column": 34 }, "identifierName": "prop" @@ -70214,15 +72046,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 19687, - "end": 19719, + "start": 20071, + "end": 20103, "loc": { "start": { - "line": 594, + "line": 606, "column": 2 }, "end": { - "line": 596, + "line": 608, "column": 5 } } @@ -70232,15 +72064,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 19861, - "end": 19892, + "start": 20245, + "end": 20276, "loc": { "start": { - "line": 604, + "line": 616, "column": 2 }, "end": { - "line": 606, + "line": 618, "column": 5 } } @@ -70249,15 +72081,15 @@ }, { "type": "ClassProperty", - "start": 19896, - "end": 19964, + "start": 20280, + "end": 20348, "loc": { "start": { - "line": 607, + "line": 619, "column": 2 }, "end": { - "line": 609, + "line": 621, "column": 3 } }, @@ -70265,15 +72097,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 19896, - "end": 19910, + "start": 20280, + "end": 20294, "loc": { "start": { - "line": 607, + "line": 619, "column": 2 }, "end": { - "line": 607, + "line": 619, "column": 16 }, "identifierName": "getModulesList" @@ -70283,15 +72115,15 @@ }, "value": { "type": "ArrowFunctionExpression", - "start": 19913, - "end": 19964, + "start": 20297, + "end": 20348, "loc": { "start": { - "line": 607, + "line": 619, "column": 19 }, "end": { - "line": 609, + "line": 621, "column": 3 } }, @@ -70302,72 +72134,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 19919, - "end": 19964, + "start": 20303, + "end": 20348, "loc": { "start": { - "line": 607, + "line": 619, "column": 25 }, "end": { - "line": 609, + "line": 621, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 19926, - "end": 19959, + "start": 20310, + "end": 20343, "loc": { "start": { - "line": 608, + "line": 620, "column": 4 }, "end": { - "line": 608, + "line": 620, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 19933, - "end": 19958, + "start": 20317, + "end": 20342, "loc": { "start": { - "line": 608, + "line": 620, "column": 11 }, "end": { - "line": 608, + "line": 620, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 19933, - "end": 19944, + "start": 20317, + "end": 20328, "loc": { "start": { - "line": 608, + "line": 620, "column": 11 }, "end": { - "line": 608, + "line": 620, "column": 22 } }, "object": { "type": "Identifier", - "start": 19933, - "end": 19939, + "start": 20317, + "end": 20323, "loc": { "start": { - "line": 608, + "line": 620, "column": 11 }, "end": { - "line": 608, + "line": 620, "column": 17 }, "identifierName": "Object" @@ -70376,15 +72208,15 @@ }, "property": { "type": "Identifier", - "start": 19940, - "end": 19944, + "start": 20324, + "end": 20328, "loc": { "start": { - "line": 608, + "line": 620, "column": 18 }, "end": { - "line": 608, + "line": 620, "column": 22 }, "identifierName": "keys" @@ -70396,44 +72228,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 19945, - "end": 19957, + "start": 20329, + "end": 20341, "loc": { "start": { - "line": 608, + "line": 620, "column": 23 }, "end": { - "line": 608, + "line": 620, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 19945, - "end": 19949, + "start": 20329, + "end": 20333, "loc": { "start": { - "line": 608, + "line": 620, "column": 23 }, "end": { - "line": 608, + "line": 620, "column": 27 } } }, "property": { "type": "Identifier", - "start": 19950, - "end": 19957, + "start": 20334, + "end": 20341, "loc": { "start": { - "line": 608, + "line": 620, "column": 28 }, "end": { - "line": 608, + "line": 620, "column": 35 }, "identifierName": "modules" @@ -70455,15 +72287,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 19861, - "end": 19892, + "start": 20245, + "end": 20276, "loc": { "start": { - "line": 604, + "line": 616, "column": 2 }, "end": { - "line": 606, + "line": 618, "column": 5 } } @@ -70473,15 +72305,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 19970, - "end": 20026, + "start": 20354, + "end": 20410, "loc": { "start": { - "line": 611, + "line": 623, "column": 2 }, "end": { - "line": 613, + "line": 625, "column": 5 } } @@ -70490,15 +72322,15 @@ }, { "type": "ClassMethod", - "start": 20030, - "end": 24374, + "start": 20414, + "end": 24811, "loc": { "start": { - "line": 614, + "line": 626, "column": 2 }, "end": { - "line": 756, + "line": 771, "column": 3 } }, @@ -70506,15 +72338,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 20030, - "end": 20036, + "start": 20414, + "end": 20420, "loc": { "start": { - "line": 614, + "line": 626, "column": 2 }, "end": { - "line": 614, + "line": 626, "column": 8 }, "identifierName": "render" @@ -70530,72 +72362,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 20038, - "end": 24374, + "start": 20422, + "end": 24811, "loc": { "start": { - "line": 614, + "line": 626, "column": 10 }, "end": { - "line": 756, + "line": 771, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 20086, - "end": 20099, + "start": 20470, + "end": 20483, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 17 } }, "expression": { "type": "CallExpression", - "start": 20086, - "end": 20098, + "start": 20470, + "end": 20482, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 16 } }, "callee": { "type": "MemberExpression", - "start": 20086, - "end": 20096, + "start": 20470, + "end": 20480, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 20086, - "end": 20090, + "start": 20470, + "end": 20474, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 8 } }, @@ -70603,15 +72435,15 @@ }, "property": { "type": "Identifier", - "start": 20091, - "end": 20096, + "start": 20475, + "end": 20480, "loc": { "start": { - "line": 618, + "line": 630, "column": 9 }, "end": { - "line": 618, + "line": 630, "column": 14 }, "identifierName": "clear" @@ -70628,15 +72460,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", - "start": 20045, - "end": 20080, + "start": 20429, + "end": 20464, "loc": { "start": { - "line": 615, + "line": 627, "column": 4 }, "end": { - "line": 617, + "line": 629, "column": 7 } } @@ -70645,44 +72477,44 @@ }, { "type": "VariableDeclaration", - "start": 20107, - "end": 20207, + "start": 20491, + "end": 20591, "loc": { "start": { - "line": 620, + "line": 632, "column": 4 }, "end": { - "line": 620, + "line": 632, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20111, - "end": 20206, + "start": 20495, + "end": 20590, "loc": { "start": { - "line": 620, + "line": 632, "column": 8 }, "end": { - "line": 620, + "line": 632, "column": 103 } }, "id": { "type": "Identifier", - "start": 20111, - "end": 20122, + "start": 20495, + "end": 20506, "loc": { "start": { - "line": 620, + "line": 632, "column": 8 }, "end": { - "line": 620, + "line": 632, "column": 19 }, "identifierName": "layoutClass" @@ -70691,72 +72523,72 @@ }, "init": { "type": "ConditionalExpression", - "start": 20125, - "end": 20206, + "start": 20509, + "end": 20590, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 103 } }, "test": { "type": "MemberExpression", - "start": 20125, - "end": 20144, + "start": 20509, + "end": 20528, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 20125, - "end": 20137, + "start": 20509, + "end": 20521, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 20125, - "end": 20129, + "start": 20509, + "end": 20513, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 26 } } }, "property": { "type": "Identifier", - "start": 20130, - "end": 20137, + "start": 20514, + "end": 20521, "loc": { "start": { - "line": 620, + "line": 632, "column": 27 }, "end": { - "line": 620, + "line": 632, "column": 34 }, "identifierName": "options" @@ -70767,15 +72599,15 @@ }, "property": { "type": "Identifier", - "start": 20138, - "end": 20144, + "start": 20522, + "end": 20528, "loc": { "start": { - "line": 620, + "line": 632, "column": 35 }, "end": { - "line": 620, + "line": 632, "column": 41 }, "identifierName": "layout" @@ -70786,15 +72618,15 @@ }, "consequent": { "type": "StringLiteral", - "start": 20147, - "end": 20165, + "start": 20531, + "end": 20549, "loc": { "start": { - "line": 620, + "line": 632, "column": 44 }, "end": { - "line": 620, + "line": 632, "column": 62 } }, @@ -70806,73 +72638,73 @@ }, "alternate": { "type": "TemplateLiteral", - "start": 20168, - "end": 20206, + "start": 20552, + "end": 20590, "loc": { "start": { - "line": 620, + "line": 632, "column": 65 }, "end": { - "line": 620, + "line": 632, "column": 103 } }, "expressions": [ { "type": "MemberExpression", - "start": 20181, - "end": 20204, + "start": 20565, + "end": 20588, "loc": { "start": { - "line": 620, + "line": 632, "column": 78 }, "end": { - "line": 620, + "line": 632, "column": 101 } }, "object": { "type": "MemberExpression", - "start": 20181, - "end": 20193, + "start": 20565, + "end": 20577, "loc": { "start": { - "line": 620, + "line": 632, "column": 78 }, "end": { - "line": 620, + "line": 632, "column": 90 } }, "object": { "type": "ThisExpression", - "start": 20181, - "end": 20185, + "start": 20565, + "end": 20569, "loc": { "start": { - "line": 620, + "line": 632, "column": 78 }, "end": { - "line": 620, + "line": 632, "column": 82 } } }, "property": { "type": "Identifier", - "start": 20186, - "end": 20193, + "start": 20570, + "end": 20577, "loc": { "start": { - "line": 620, + "line": 632, "column": 83 }, "end": { - "line": 620, + "line": 632, "column": 90 }, "identifierName": "options" @@ -70883,15 +72715,15 @@ }, "property": { "type": "Identifier", - "start": 20194, - "end": 20204, + "start": 20578, + "end": 20588, "loc": { "start": { - "line": 620, + "line": 632, "column": 91 }, "end": { - "line": 620, + "line": 632, "column": 101 }, "identifierName": "layoutName" @@ -70904,15 +72736,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 20169, - "end": 20179, + "start": 20553, + "end": 20563, "loc": { "start": { - "line": 620, + "line": 632, "column": 66 }, "end": { - "line": 620, + "line": 632, "column": 76 } }, @@ -70924,15 +72756,15 @@ }, { "type": "TemplateElement", - "start": 20205, - "end": 20205, + "start": 20589, + "end": 20589, "loc": { "start": { - "line": 620, + "line": 632, "column": 102 }, "end": { - "line": 620, + "line": 632, "column": 102 } }, @@ -70951,44 +72783,44 @@ }, { "type": "VariableDeclaration", - "start": 20213, - "end": 20283, + "start": 20597, + "end": 20667, "loc": { "start": { - "line": 621, + "line": 633, "column": 4 }, "end": { - "line": 621, + "line": 633, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20217, - "end": 20282, + "start": 20601, + "end": 20666, "loc": { "start": { - "line": 621, + "line": 633, "column": 8 }, "end": { - "line": 621, + "line": 633, "column": 73 } }, "id": { "type": "Identifier", - "start": 20217, - "end": 20223, + "start": 20601, + "end": 20607, "loc": { "start": { - "line": 621, + "line": 633, "column": 8 }, "end": { - "line": 621, + "line": 633, "column": 14 }, "identifierName": "layout" @@ -70997,72 +72829,72 @@ }, "init": { "type": "LogicalExpression", - "start": 20226, - "end": 20282, + "start": 20610, + "end": 20666, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 20226, - "end": 20245, + "start": 20610, + "end": 20629, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 20226, - "end": 20238, + "start": 20610, + "end": 20622, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 20226, - "end": 20230, + "start": 20610, + "end": 20614, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 21 } } }, "property": { "type": "Identifier", - "start": 20231, - "end": 20238, + "start": 20615, + "end": 20622, "loc": { "start": { - "line": 621, + "line": 633, "column": 22 }, "end": { - "line": 621, + "line": 633, "column": 29 }, "identifierName": "options" @@ -71073,15 +72905,15 @@ }, "property": { "type": "Identifier", - "start": 20239, - "end": 20245, + "start": 20623, + "end": 20629, "loc": { "start": { - "line": 621, + "line": 633, "column": 30 }, "end": { - "line": 621, + "line": 633, "column": 36 }, "identifierName": "layout" @@ -71093,43 +72925,43 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 20249, - "end": 20282, + "start": 20633, + "end": 20666, "loc": { "start": { - "line": 621, + "line": 633, "column": 40 }, "end": { - "line": 621, + "line": 633, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 20249, - "end": 20280, + "start": 20633, + "end": 20664, "loc": { "start": { - "line": 621, + "line": 633, "column": 40 }, "end": { - "line": 621, + "line": 633, "column": 71 } }, "object": { "type": "Identifier", - "start": 20249, - "end": 20263, + "start": 20633, + "end": 20647, "loc": { "start": { - "line": 621, + "line": 633, "column": 40 }, "end": { - "line": 621, + "line": 633, "column": 54 }, "identifierName": "KeyboardLayout" @@ -71138,15 +72970,15 @@ }, "property": { "type": "Identifier", - "start": 20264, - "end": 20280, + "start": 20648, + "end": 20664, "loc": { "start": { - "line": 621, + "line": 633, "column": 55 }, "end": { - "line": 621, + "line": 633, "column": 71 }, "identifierName": "getDefaultLayout" @@ -71165,15 +72997,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 20291, - "end": 20343, + "start": 20675, + "end": 20727, "loc": { "start": { - "line": 623, + "line": 635, "column": 4 }, "end": { - "line": 625, + "line": 637, "column": 7 } } @@ -71182,44 +73014,44 @@ }, { "type": "VariableDeclaration", - "start": 20349, - "end": 20377, + "start": 20733, + "end": 20761, "loc": { "start": { - "line": 626, + "line": 638, "column": 4 }, "end": { - "line": 626, + "line": 638, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20353, - "end": 20376, + "start": 20737, + "end": 20760, "loc": { "start": { - "line": 626, + "line": 638, "column": 8 }, "end": { - "line": 626, + "line": 638, "column": 31 } }, "id": { "type": "Identifier", - "start": 20353, - "end": 20371, + "start": 20737, + "end": 20755, "loc": { "start": { - "line": 626, + "line": 638, "column": 8 }, "end": { - "line": 626, + "line": 638, "column": 26 }, "identifierName": "buttonThemesParsed" @@ -71229,15 +73061,15 @@ }, "init": { "type": "ObjectExpression", - "start": 20374, - "end": 20376, + "start": 20758, + "end": 20760, "loc": { "start": { - "line": 626, + "line": 638, "column": 29 }, "end": { - "line": 626, + "line": 638, "column": 31 } }, @@ -71251,15 +73083,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 20291, - "end": 20343, + "start": 20675, + "end": 20727, "loc": { "start": { - "line": 623, + "line": 635, "column": 4 }, "end": { - "line": 625, + "line": 637, "column": 7 } } @@ -71268,57 +73100,57 @@ }, { "type": "IfStatement", - "start": 20383, - "end": 21522, + "start": 20767, + "end": 21906, "loc": { "start": { - "line": 627, + "line": 639, "column": 4 }, "end": { - "line": 655, + "line": 667, "column": 5 } }, "test": { "type": "CallExpression", - "start": 20386, - "end": 20425, + "start": 20770, + "end": 20809, "loc": { "start": { - "line": 627, + "line": 639, "column": 7 }, "end": { - "line": 627, + "line": 639, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 20386, - "end": 20399, + "start": 20770, + "end": 20783, "loc": { "start": { - "line": 627, + "line": 639, "column": 7 }, "end": { - "line": 627, + "line": 639, "column": 20 } }, "object": { "type": "Identifier", - "start": 20386, - "end": 20391, + "start": 20770, + "end": 20775, "loc": { "start": { - "line": 627, + "line": 639, "column": 7 }, "end": { - "line": 627, + "line": 639, "column": 12 }, "identifierName": "Array" @@ -71327,15 +73159,15 @@ }, "property": { "type": "Identifier", - "start": 20392, - "end": 20399, + "start": 20776, + "end": 20783, "loc": { "start": { - "line": 627, + "line": 639, "column": 13 }, "end": { - "line": 627, + "line": 639, "column": 20 }, "identifierName": "isArray" @@ -71347,58 +73179,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 20400, - "end": 20424, + "start": 20784, + "end": 20808, "loc": { "start": { - "line": 627, + "line": 639, "column": 21 }, "end": { - "line": 627, + "line": 639, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 20400, - "end": 20412, + "start": 20784, + "end": 20796, "loc": { "start": { - "line": 627, + "line": 639, "column": 21 }, "end": { - "line": 627, + "line": 639, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 20400, - "end": 20404, + "start": 20784, + "end": 20788, "loc": { "start": { - "line": 627, + "line": 639, "column": 21 }, "end": { - "line": 627, + "line": 639, "column": 25 } } }, "property": { "type": "Identifier", - "start": 20405, - "end": 20412, + "start": 20789, + "end": 20796, "loc": { "start": { - "line": 627, + "line": 639, "column": 26 }, "end": { - "line": 627, + "line": 639, "column": 33 }, "identifierName": "options" @@ -71409,15 +73241,15 @@ }, "property": { "type": "Identifier", - "start": 20413, - "end": 20424, + "start": 20797, + "end": 20808, "loc": { "start": { - "line": 627, + "line": 639, "column": 34 }, "end": { - "line": 627, + "line": 639, "column": 45 }, "identifierName": "buttonTheme" @@ -71430,115 +73262,115 @@ }, "consequent": { "type": "BlockStatement", - "start": 20426, - "end": 21522, + "start": 20810, + "end": 21906, "loc": { "start": { - "line": 627, + "line": 639, "column": 47 }, "end": { - "line": 655, + "line": 667, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 20435, - "end": 21515, + "start": 20819, + "end": 21899, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 654, + "line": 666, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 20435, - "end": 21514, + "start": 20819, + "end": 21898, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 654, + "line": 666, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 20435, - "end": 20467, + "start": 20819, + "end": 20851, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 20435, - "end": 20459, + "start": 20819, + "end": 20843, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 20435, - "end": 20447, + "start": 20819, + "end": 20831, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 20435, - "end": 20439, + "start": 20819, + "end": 20823, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 10 } } }, "property": { "type": "Identifier", - "start": 20440, - "end": 20447, + "start": 20824, + "end": 20831, "loc": { "start": { - "line": 628, + "line": 640, "column": 11 }, "end": { - "line": 628, + "line": 640, "column": 18 }, "identifierName": "options" @@ -71549,15 +73381,15 @@ }, "property": { "type": "Identifier", - "start": 20448, - "end": 20459, + "start": 20832, + "end": 20843, "loc": { "start": { - "line": 628, + "line": 640, "column": 19 }, "end": { - "line": 628, + "line": 640, "column": 30 }, "identifierName": "buttonTheme" @@ -71568,15 +73400,15 @@ }, "property": { "type": "Identifier", - "start": 20460, - "end": 20467, + "start": 20844, + "end": 20851, "loc": { "start": { - "line": 628, + "line": 640, "column": 31 }, "end": { - "line": 628, + "line": 640, "column": 38 }, "identifierName": "forEach" @@ -71588,15 +73420,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 20468, - "end": 21513, + "start": 20852, + "end": 21897, "loc": { "start": { - "line": 628, + "line": 640, "column": 39 }, "end": { - "line": 654, + "line": 666, "column": 7 } }, @@ -71607,15 +73439,15 @@ "params": [ { "type": "Identifier", - "start": 20468, - "end": 20476, + "start": 20852, + "end": 20860, "loc": { "start": { - "line": 628, + "line": 640, "column": 39 }, "end": { - "line": 628, + "line": 640, "column": 47 }, "identifierName": "themeObj" @@ -71625,72 +73457,72 @@ ], "body": { "type": "BlockStatement", - "start": 20480, - "end": 21513, + "start": 20864, + "end": 21897, "loc": { "start": { - "line": 628, + "line": 640, "column": 51 }, "end": { - "line": 654, + "line": 666, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 20491, - "end": 21504, + "start": 20875, + "end": 21888, "loc": { "start": { - "line": 629, + "line": 641, "column": 8 }, "end": { - "line": 653, + "line": 665, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 20494, - "end": 20528, + "start": 20878, + "end": 20912, "loc": { "start": { - "line": 629, + "line": 641, "column": 11 }, "end": { - "line": 629, + "line": 641, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 20494, - "end": 20510, + "start": 20878, + "end": 20894, "loc": { "start": { - "line": 629, + "line": 641, "column": 11 }, "end": { - "line": 629, + "line": 641, "column": 27 } }, "object": { "type": "Identifier", - "start": 20494, - "end": 20502, + "start": 20878, + "end": 20886, "loc": { "start": { - "line": 629, + "line": 641, "column": 11 }, "end": { - "line": 629, + "line": 641, "column": 19 }, "identifierName": "themeObj" @@ -71699,15 +73531,15 @@ }, "property": { "type": "Identifier", - "start": 20503, - "end": 20510, + "start": 20887, + "end": 20894, "loc": { "start": { - "line": 629, + "line": 641, "column": 20 }, "end": { - "line": 629, + "line": 641, "column": 27 }, "identifierName": "buttons" @@ -71719,29 +73551,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 20514, - "end": 20528, + "start": 20898, + "end": 20912, "loc": { "start": { - "line": 629, + "line": 641, "column": 31 }, "end": { - "line": 629, + "line": 641, "column": 45 } }, "object": { "type": "Identifier", - "start": 20514, - "end": 20522, + "start": 20898, + "end": 20906, "loc": { "start": { - "line": 629, + "line": 641, "column": 31 }, "end": { - "line": 629, + "line": 641, "column": 39 }, "identifierName": "themeObj" @@ -71750,15 +73582,15 @@ }, "property": { "type": "Identifier", - "start": 20523, - "end": 20528, + "start": 20907, + "end": 20912, "loc": { "start": { - "line": 629, + "line": 641, "column": 40 }, "end": { - "line": 629, + "line": 641, "column": 45 }, "identifierName": "class" @@ -71770,59 +73602,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 20529, - "end": 21370, + "start": 20913, + "end": 21754, "loc": { "start": { - "line": 629, + "line": 641, "column": 46 }, "end": { - "line": 651, + "line": 663, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 20542, - "end": 20559, + "start": 20926, + "end": 20943, "loc": { "start": { - "line": 630, + "line": 642, "column": 10 }, "end": { - "line": 630, + "line": 642, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20546, - "end": 20558, + "start": 20930, + "end": 20942, "loc": { "start": { - "line": 630, + "line": 642, "column": 14 }, "end": { - "line": 630, + "line": 642, "column": 26 } }, "id": { "type": "Identifier", - "start": 20546, - "end": 20558, + "start": 20930, + "end": 20942, "loc": { "start": { - "line": 630, + "line": 642, "column": 14 }, "end": { - "line": 630, + "line": 642, "column": 26 }, "identifierName": "themeButtons" @@ -71836,43 +73668,43 @@ }, { "type": "IfStatement", - "start": 20573, - "end": 20684, + "start": 20957, + "end": 21068, "loc": { "start": { - "line": 632, + "line": 644, "column": 10 }, "end": { - "line": 634, + "line": 646, "column": 11 } }, "test": { "type": "BinaryExpression", - "start": 20576, - "end": 20612, + "start": 20960, + "end": 20996, "loc": { "start": { - "line": 632, + "line": 644, "column": 13 }, "end": { - "line": 632, + "line": 644, "column": 49 } }, "left": { "type": "UnaryExpression", - "start": 20576, - "end": 20599, + "start": 20960, + "end": 20983, "loc": { "start": { - "line": 632, + "line": 644, "column": 13 }, "end": { - "line": 632, + "line": 644, "column": 36 } }, @@ -71880,29 +73712,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 20583, - "end": 20599, + "start": 20967, + "end": 20983, "loc": { "start": { - "line": 632, + "line": 644, "column": 20 }, "end": { - "line": 632, + "line": 644, "column": 36 } }, "object": { "type": "Identifier", - "start": 20583, - "end": 20591, + "start": 20967, + "end": 20975, "loc": { "start": { - "line": 632, + "line": 644, "column": 20 }, "end": { - "line": 632, + "line": 644, "column": 28 }, "identifierName": "themeObj" @@ -71911,15 +73743,15 @@ }, "property": { "type": "Identifier", - "start": 20592, - "end": 20599, + "start": 20976, + "end": 20983, "loc": { "start": { - "line": 632, + "line": 644, "column": 29 }, "end": { - "line": 632, + "line": 644, "column": 36 }, "identifierName": "buttons" @@ -71935,15 +73767,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 20604, - "end": 20612, + "start": 20988, + "end": 20996, "loc": { "start": { - "line": 632, + "line": 644, "column": 41 }, "end": { - "line": 632, + "line": 644, "column": 49 } }, @@ -71956,59 +73788,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 20613, - "end": 20684, + "start": 20997, + "end": 21068, "loc": { "start": { - "line": 632, + "line": 644, "column": 50 }, "end": { - "line": 634, + "line": 646, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 20628, - "end": 20671, + "start": 21012, + "end": 21055, "loc": { "start": { - "line": 633, + "line": 645, "column": 12 }, "end": { - "line": 633, + "line": 645, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 20628, - "end": 20670, + "start": 21012, + "end": 21054, "loc": { "start": { - "line": 633, + "line": 645, "column": 12 }, "end": { - "line": 633, + "line": 645, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 20628, - "end": 20640, + "start": 21012, + "end": 21024, "loc": { "start": { - "line": 633, + "line": 645, "column": 12 }, "end": { - "line": 633, + "line": 645, "column": 24 }, "identifierName": "themeButtons" @@ -72017,57 +73849,57 @@ }, "right": { "type": "CallExpression", - "start": 20643, - "end": 20670, + "start": 21027, + "end": 21054, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 20643, - "end": 20665, + "start": 21027, + "end": 21049, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 20643, - "end": 20659, + "start": 21027, + "end": 21043, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 43 } }, "object": { "type": "Identifier", - "start": 20643, - "end": 20651, + "start": 21027, + "end": 21035, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 35 }, "identifierName": "themeObj" @@ -72076,15 +73908,15 @@ }, "property": { "type": "Identifier", - "start": 20652, - "end": 20659, + "start": 21036, + "end": 21043, "loc": { "start": { - "line": 633, + "line": 645, "column": 36 }, "end": { - "line": 633, + "line": 645, "column": 43 }, "identifierName": "buttons" @@ -72095,15 +73927,15 @@ }, "property": { "type": "Identifier", - "start": 20660, - "end": 20665, + "start": 21044, + "end": 21049, "loc": { "start": { - "line": 633, + "line": 645, "column": 44 }, "end": { - "line": 633, + "line": 645, "column": 49 }, "identifierName": "split" @@ -72115,15 +73947,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 20666, - "end": 20669, + "start": 21050, + "end": 21053, "loc": { "start": { - "line": 633, + "line": 645, "column": 50 }, "end": { - "line": 633, + "line": 645, "column": 53 } }, @@ -72144,29 +73976,29 @@ }, { "type": "IfStatement", - "start": 20698, - "end": 21359, + "start": 21082, + "end": 21743, "loc": { "start": { - "line": 636, + "line": 648, "column": 10 }, "end": { - "line": 650, + "line": 662, "column": 11 } }, "test": { "type": "Identifier", - "start": 20701, - "end": 20713, + "start": 21085, + "end": 21097, "loc": { "start": { - "line": 636, + "line": 648, "column": 13 }, "end": { - "line": 636, + "line": 648, "column": 25 }, "identifierName": "themeButtons" @@ -72175,72 +74007,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 20714, - "end": 21359, + "start": 21098, + "end": 21743, "loc": { "start": { - "line": 636, + "line": 648, "column": 26 }, "end": { - "line": 650, + "line": 662, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 20729, - "end": 21346, + "start": 21113, + "end": 21730, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 649, + "line": 661, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 20729, - "end": 21345, + "start": 21113, + "end": 21729, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 649, + "line": 661, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 20729, - "end": 20749, + "start": 21113, + "end": 21133, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 637, + "line": 649, "column": 32 } }, "object": { "type": "Identifier", - "start": 20729, - "end": 20741, + "start": 21113, + "end": 21125, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 637, + "line": 649, "column": 24 }, "identifierName": "themeButtons" @@ -72249,15 +74081,15 @@ }, "property": { "type": "Identifier", - "start": 20742, - "end": 20749, + "start": 21126, + "end": 21133, "loc": { "start": { - "line": 637, + "line": 649, "column": 25 }, "end": { - "line": 637, + "line": 649, "column": 32 }, "identifierName": "forEach" @@ -72269,15 +74101,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 20750, - "end": 21344, + "start": 21134, + "end": 21728, "loc": { "start": { - "line": 637, + "line": 649, "column": 33 }, "end": { - "line": 649, + "line": 661, "column": 13 } }, @@ -72288,15 +74120,15 @@ "params": [ { "type": "Identifier", - "start": 20750, - "end": 20761, + "start": 21134, + "end": 21145, "loc": { "start": { - "line": 637, + "line": 649, "column": 33 }, "end": { - "line": 637, + "line": 649, "column": 44 }, "identifierName": "themeButton" @@ -72306,59 +74138,59 @@ ], "body": { "type": "BlockStatement", - "start": 20765, - "end": 21344, + "start": 21149, + "end": 21728, "loc": { "start": { - "line": 637, + "line": 649, "column": 48 }, "end": { - "line": 649, + "line": 661, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 20782, - "end": 20832, + "start": 21166, + "end": 21216, "loc": { "start": { - "line": 638, + "line": 650, "column": 14 }, "end": { - "line": 638, + "line": 650, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20786, - "end": 20831, + "start": 21170, + "end": 21215, "loc": { "start": { - "line": 638, + "line": 650, "column": 18 }, "end": { - "line": 638, + "line": 650, "column": 63 } }, "id": { "type": "Identifier", - "start": 20786, - "end": 20797, + "start": 21170, + "end": 21181, "loc": { "start": { - "line": 638, + "line": 650, "column": 18 }, "end": { - "line": 638, + "line": 650, "column": 29 }, "identifierName": "themeParsed" @@ -72367,29 +74199,29 @@ }, "init": { "type": "MemberExpression", - "start": 20800, - "end": 20831, + "start": 21184, + "end": 21215, "loc": { "start": { - "line": 638, + "line": 650, "column": 32 }, "end": { - "line": 638, + "line": 650, "column": 63 } }, "object": { "type": "Identifier", - "start": 20800, - "end": 20818, + "start": 21184, + "end": 21202, "loc": { "start": { - "line": 638, + "line": 650, "column": 32 }, "end": { - "line": 638, + "line": 650, "column": 50 }, "identifierName": "buttonThemesParsed" @@ -72398,15 +74230,15 @@ }, "property": { "type": "Identifier", - "start": 20819, - "end": 20830, + "start": 21203, + "end": 21214, "loc": { "start": { - "line": 638, + "line": 650, "column": 51 }, "end": { - "line": 638, + "line": 650, "column": 62 }, "identifierName": "themeButton" @@ -72422,15 +74254,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 20850, - "end": 20889, + "start": 21234, + "end": 21273, "loc": { "start": { - "line": 640, + "line": 652, "column": 14 }, "end": { - "line": 640, + "line": 652, "column": 53 } } @@ -72439,29 +74271,29 @@ }, { "type": "IfStatement", - "start": 20905, - "end": 21329, + "start": 21289, + "end": 21713, "loc": { "start": { - "line": 641, + "line": 653, "column": 14 }, "end": { - "line": 648, + "line": 660, "column": 15 } }, "test": { "type": "Identifier", - "start": 20908, - "end": 20919, + "start": 21292, + "end": 21303, "loc": { "start": { - "line": 641, + "line": 653, "column": 17 }, "end": { - "line": 641, + "line": 653, "column": 28 }, "identifierName": "themeParsed" @@ -72471,44 +74303,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 20920, - "end": 21238, + "start": 21304, + "end": 21622, "loc": { "start": { - "line": 641, + "line": 653, "column": 29 }, "end": { - "line": 646, + "line": 658, "column": 15 } }, "body": [ { "type": "IfStatement", - "start": 21040, - "end": 21221, + "start": 21424, + "end": 21605, "loc": { "start": { - "line": 643, + "line": 655, "column": 16 }, "end": { - "line": 645, + "line": 657, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 21043, - "end": 21111, + "start": 21427, + "end": 21495, "loc": { "start": { - "line": 643, + "line": 655, "column": 19 }, "end": { - "line": 643, + "line": 655, "column": 87 } }, @@ -72516,57 +74348,57 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 21044, - "end": 21111, + "start": 21428, + "end": 21495, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 87 } }, "callee": { "type": "MemberExpression", - "start": 21044, - "end": 21071, + "start": 21428, + "end": 21455, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 21044, - "end": 21058, + "start": 21428, + "end": 21442, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 21044, - "end": 21048, + "start": 21428, + "end": 21432, "loc": { "start": { - "line": 643, + "line": 655, "column": 20 }, "end": { - "line": 643, + "line": 655, "column": 24 } }, @@ -72574,15 +74406,15 @@ }, "property": { "type": "Identifier", - "start": 21049, - "end": 21058, + "start": 21433, + "end": 21442, "loc": { "start": { - "line": 643, + "line": 655, "column": 25 }, "end": { - "line": 643, + "line": 655, "column": 34 }, "identifierName": "utilities" @@ -72594,15 +74426,15 @@ }, "property": { "type": "Identifier", - "start": 21059, - "end": 21071, + "start": 21443, + "end": 21455, "loc": { "start": { - "line": 643, + "line": 655, "column": 35 }, "end": { - "line": 643, + "line": 655, "column": 47 }, "identifierName": "countInArray" @@ -72615,43 +74447,43 @@ "arguments": [ { "type": "CallExpression", - "start": 21072, - "end": 21094, + "start": 21456, + "end": 21478, "loc": { "start": { - "line": 643, + "line": 655, "column": 48 }, "end": { - "line": 643, + "line": 655, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 21072, - "end": 21089, + "start": 21456, + "end": 21473, "loc": { "start": { - "line": 643, + "line": 655, "column": 48 }, "end": { - "line": 643, + "line": 655, "column": 65 } }, "object": { "type": "Identifier", - "start": 21072, - "end": 21083, + "start": 21456, + "end": 21467, "loc": { "start": { - "line": 643, + "line": 655, "column": 48 }, "end": { - "line": 643, + "line": 655, "column": 59 }, "identifierName": "themeParsed" @@ -72660,15 +74492,15 @@ }, "property": { "type": "Identifier", - "start": 21084, - "end": 21089, + "start": 21468, + "end": 21473, "loc": { "start": { - "line": 643, + "line": 655, "column": 60 }, "end": { - "line": 643, + "line": 655, "column": 65 }, "identifierName": "split" @@ -72680,15 +74512,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21090, - "end": 21093, + "start": 21474, + "end": 21477, "loc": { "start": { - "line": 643, + "line": 655, "column": 66 }, "end": { - "line": 643, + "line": 655, "column": 69 } }, @@ -72702,29 +74534,29 @@ }, { "type": "MemberExpression", - "start": 21096, - "end": 21110, + "start": 21480, + "end": 21494, "loc": { "start": { - "line": 643, + "line": 655, "column": 72 }, "end": { - "line": 643, + "line": 655, "column": 86 } }, "object": { "type": "Identifier", - "start": 21096, - "end": 21104, + "start": 21480, + "end": 21488, "loc": { "start": { - "line": 643, + "line": 655, "column": 72 }, "end": { - "line": 643, + "line": 655, "column": 80 }, "identifierName": "themeObj" @@ -72733,15 +74565,15 @@ }, "property": { "type": "Identifier", - "start": 21105, - "end": 21110, + "start": 21489, + "end": 21494, "loc": { "start": { - "line": 643, + "line": 655, "column": 81 }, "end": { - "line": 643, + "line": 655, "column": 86 }, "identifierName": "class" @@ -72760,73 +74592,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 21112, - "end": 21221, + "start": 21496, + "end": 21605, "loc": { "start": { - "line": 643, + "line": 655, "column": 88 }, "end": { - "line": 645, + "line": 657, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 21133, - "end": 21202, + "start": 21517, + "end": 21586, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 87 } }, "expression": { "type": "AssignmentExpression", - "start": 21133, - "end": 21201, + "start": 21517, + "end": 21585, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21133, - "end": 21164, + "start": 21517, + "end": 21548, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 49 } }, "object": { "type": "Identifier", - "start": 21133, - "end": 21151, + "start": 21517, + "end": 21535, "loc": { "start": { - "line": 644, + "line": 656, "column": 18 }, "end": { - "line": 644, + "line": 656, "column": 36 }, "identifierName": "buttonThemesParsed" @@ -72835,15 +74667,15 @@ }, "property": { "type": "Identifier", - "start": 21152, - "end": 21163, + "start": 21536, + "end": 21547, "loc": { "start": { - "line": 644, + "line": 656, "column": 37 }, "end": { - "line": 644, + "line": 656, "column": 48 }, "identifierName": "themeButton" @@ -72854,30 +74686,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 21167, - "end": 21201, + "start": 21551, + "end": 21585, "loc": { "start": { - "line": 644, + "line": 656, "column": 52 }, "end": { - "line": 644, + "line": 656, "column": 86 } }, "expressions": [ { "type": "Identifier", - "start": 21170, - "end": 21181, + "start": 21554, + "end": 21565, "loc": { "start": { - "line": 644, + "line": 656, "column": 55 }, "end": { - "line": 644, + "line": 656, "column": 66 }, "identifierName": "themeParsed" @@ -72886,29 +74718,29 @@ }, { "type": "MemberExpression", - "start": 21185, - "end": 21199, + "start": 21569, + "end": 21583, "loc": { "start": { - "line": 644, + "line": 656, "column": 70 }, "end": { - "line": 644, + "line": 656, "column": 84 } }, "object": { "type": "Identifier", - "start": 21185, - "end": 21193, + "start": 21569, + "end": 21577, "loc": { "start": { - "line": 644, + "line": 656, "column": 70 }, "end": { - "line": 644, + "line": 656, "column": 78 }, "identifierName": "themeObj" @@ -72917,15 +74749,15 @@ }, "property": { "type": "Identifier", - "start": 21194, - "end": 21199, + "start": 21578, + "end": 21583, "loc": { "start": { - "line": 644, + "line": 656, "column": 79 }, "end": { - "line": 644, + "line": 656, "column": 84 }, "identifierName": "class" @@ -72938,15 +74770,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 21168, - "end": 21168, + "start": 21552, + "end": 21552, "loc": { "start": { - "line": 644, + "line": 656, "column": 53 }, "end": { - "line": 644, + "line": 656, "column": 53 } }, @@ -72958,15 +74790,15 @@ }, { "type": "TemplateElement", - "start": 21182, - "end": 21183, + "start": 21566, + "end": 21567, "loc": { "start": { - "line": 644, + "line": 656, "column": 67 }, "end": { - "line": 644, + "line": 656, "column": 68 } }, @@ -72978,15 +74810,15 @@ }, { "type": "TemplateElement", - "start": 21200, - "end": 21200, + "start": 21584, + "end": 21584, "loc": { "start": { - "line": 644, + "line": 656, "column": 85 }, "end": { - "line": 644, + "line": 656, "column": 85 } }, @@ -73008,15 +74840,15 @@ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 20939, - "end": 21022, + "start": 21323, + "end": 21406, "loc": { "start": { - "line": 642, + "line": 654, "column": 16 }, "end": { - "line": 642, + "line": 654, "column": 99 } } @@ -73028,73 +74860,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 21244, - "end": 21329, + "start": 21628, + "end": 21713, "loc": { "start": { - "line": 646, + "line": 658, "column": 21 }, "end": { - "line": 648, + "line": 660, "column": 15 } }, "body": [ { "type": "ExpressionStatement", - "start": 21263, - "end": 21312, + "start": 21647, + "end": 21696, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 21263, - "end": 21311, + "start": 21647, + "end": 21695, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21263, - "end": 21294, + "start": 21647, + "end": 21678, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 47 } }, "object": { "type": "Identifier", - "start": 21263, - "end": 21281, + "start": 21647, + "end": 21665, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 34 }, "identifierName": "buttonThemesParsed" @@ -73103,15 +74935,15 @@ }, "property": { "type": "Identifier", - "start": 21282, - "end": 21293, + "start": 21666, + "end": 21677, "loc": { "start": { - "line": 647, + "line": 659, "column": 35 }, "end": { - "line": 647, + "line": 659, "column": 46 }, "identifierName": "themeButton" @@ -73122,29 +74954,29 @@ }, "right": { "type": "MemberExpression", - "start": 21297, - "end": 21311, + "start": 21681, + "end": 21695, "loc": { "start": { - "line": 647, + "line": 659, "column": 50 }, "end": { - "line": 647, + "line": 659, "column": 64 } }, "object": { "type": "Identifier", - "start": 21297, - "end": 21305, + "start": 21681, + "end": 21689, "loc": { "start": { - "line": 647, + "line": 659, "column": 50 }, "end": { - "line": 647, + "line": 659, "column": 58 }, "identifierName": "themeObj" @@ -73153,15 +74985,15 @@ }, "property": { "type": "Identifier", - "start": 21306, - "end": 21311, + "start": 21690, + "end": 21695, "loc": { "start": { - "line": 647, + "line": 659, "column": 59 }, "end": { - "line": 647, + "line": 659, "column": 64 }, "identifierName": "class" @@ -73179,15 +75011,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 20850, - "end": 20889, + "start": 21234, + "end": 21273, "loc": { "start": { - "line": 640, + "line": 652, "column": 14 }, "end": { - "line": 640, + "line": 652, "column": 53 } } @@ -73211,72 +75043,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 21376, - "end": 21504, + "start": 21760, + "end": 21888, "loc": { "start": { - "line": 651, + "line": 663, "column": 15 }, "end": { - "line": 653, + "line": 665, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 21389, - "end": 21493, + "start": 21773, + "end": 21877, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 114 } }, "expression": { "type": "CallExpression", - "start": 21389, - "end": 21493, + "start": 21773, + "end": 21877, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 114 } }, "callee": { "type": "MemberExpression", - "start": 21389, - "end": 21401, + "start": 21773, + "end": 21785, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 22 } }, "object": { "type": "Identifier", - "start": 21389, - "end": 21396, + "start": 21773, + "end": 21780, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 17 }, "identifierName": "console" @@ -73285,15 +75117,15 @@ }, "property": { "type": "Identifier", - "start": 21397, - "end": 21401, + "start": 21781, + "end": 21785, "loc": { "start": { - "line": 652, + "line": 664, "column": 18 }, "end": { - "line": 652, + "line": 664, "column": 22 }, "identifierName": "warn" @@ -73305,15 +75137,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 21402, - "end": 21492, + "start": 21786, + "end": 21876, "loc": { "start": { - "line": 652, + "line": 664, "column": 23 }, "end": { - "line": 652, + "line": 664, "column": 113 } }, @@ -73321,15 +75153,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 21403, - "end": 21491, + "start": 21787, + "end": 21875, "loc": { "start": { - "line": 652, + "line": 664, "column": 24 }, "end": { - "line": 652, + "line": 664, "column": 112 } }, @@ -73364,15 +75196,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 21530, - "end": 21596, + "start": 21914, + "end": 21980, "loc": { "start": { - "line": 657, + "line": 669, "column": 4 }, "end": { - "line": 659, + "line": 671, "column": 7 } } @@ -73381,72 +75213,72 @@ }, { "type": "ExpressionStatement", - "start": 21602, - "end": 21702, + "start": 21986, + "end": 22086, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 104 } }, "expression": { "type": "AssignmentExpression", - "start": 21602, - "end": 21701, + "start": 21986, + "end": 22085, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 21602, - "end": 21628, + "start": 21986, + "end": 22012, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 21602, - "end": 21618, + "start": 21986, + "end": 22002, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 21602, - "end": 21606, + "start": 21986, + "end": 21990, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 8 } }, @@ -73454,15 +75286,15 @@ }, "property": { "type": "Identifier", - "start": 21607, - "end": 21618, + "start": 21991, + "end": 22002, "loc": { "start": { - "line": 660, + "line": 672, "column": 9 }, "end": { - "line": 660, + "line": 672, "column": 20 }, "identifierName": "keyboardDOM" @@ -73474,15 +75306,15 @@ }, "property": { "type": "Identifier", - "start": 21619, - "end": 21628, + "start": 22003, + "end": 22012, "loc": { "start": { - "line": 660, + "line": 672, "column": 21 }, "end": { - "line": 660, + "line": 672, "column": 30 }, "identifierName": "className" @@ -73494,73 +75326,73 @@ }, "right": { "type": "TemplateLiteral", - "start": 21632, - "end": 21701, + "start": 22016, + "end": 22085, "loc": { "start": { - "line": 660, + "line": 672, "column": 34 }, "end": { - "line": 660, + "line": 672, "column": 103 } }, "expressions": [ { "type": "MemberExpression", - "start": 21636, - "end": 21654, + "start": 22020, + "end": 22038, "loc": { "start": { - "line": 660, + "line": 672, "column": 38 }, "end": { - "line": 660, + "line": 672, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 21636, - "end": 21648, + "start": 22020, + "end": 22032, "loc": { "start": { - "line": 660, + "line": 672, "column": 38 }, "end": { - "line": 660, + "line": 672, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 21636, - "end": 21640, + "start": 22020, + "end": 22024, "loc": { "start": { - "line": 660, + "line": 672, "column": 38 }, "end": { - "line": 660, + "line": 672, "column": 42 } } }, "property": { "type": "Identifier", - "start": 21641, - "end": 21648, + "start": 22025, + "end": 22032, "loc": { "start": { - "line": 660, + "line": 672, "column": 43 }, "end": { - "line": 660, + "line": 672, "column": 50 }, "identifierName": "options" @@ -73571,15 +75403,15 @@ }, "property": { "type": "Identifier", - "start": 21649, - "end": 21654, + "start": 22033, + "end": 22038, "loc": { "start": { - "line": 660, + "line": 672, "column": 51 }, "end": { - "line": 660, + "line": 672, "column": 56 }, "identifierName": "theme" @@ -73590,15 +75422,15 @@ }, { "type": "Identifier", - "start": 21658, - "end": 21669, + "start": 22042, + "end": 22053, "loc": { "start": { - "line": 660, + "line": 672, "column": 60 }, "end": { - "line": 660, + "line": 672, "column": 71 }, "identifierName": "layoutClass" @@ -73607,44 +75439,44 @@ }, { "type": "MemberExpression", - "start": 21673, - "end": 21699, + "start": 22057, + "end": 22083, "loc": { "start": { - "line": 660, + "line": 672, "column": 75 }, "end": { - "line": 660, + "line": 672, "column": 101 } }, "object": { "type": "ThisExpression", - "start": 21673, - "end": 21677, + "start": 22057, + "end": 22061, "loc": { "start": { - "line": 660, + "line": 672, "column": 75 }, "end": { - "line": 660, + "line": 672, "column": 79 } } }, "property": { "type": "Identifier", - "start": 21678, - "end": 21699, + "start": 22062, + "end": 22083, "loc": { "start": { - "line": 660, + "line": 672, "column": 80 }, "end": { - "line": 660, + "line": 672, "column": 101 }, "identifierName": "keyboardPluginClasses" @@ -73657,15 +75489,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 21633, - "end": 21634, + "start": 22017, + "end": 22018, "loc": { "start": { - "line": 660, + "line": 672, "column": 35 }, "end": { - "line": 660, + "line": 672, "column": 36 } }, @@ -73677,15 +75509,15 @@ }, { "type": "TemplateElement", - "start": 21655, - "end": 21656, + "start": 22039, + "end": 22040, "loc": { "start": { - "line": 660, + "line": 672, "column": 57 }, "end": { - "line": 660, + "line": 672, "column": 58 } }, @@ -73697,15 +75529,15 @@ }, { "type": "TemplateElement", - "start": 21670, - "end": 21671, + "start": 22054, + "end": 22055, "loc": { "start": { - "line": 660, + "line": 672, "column": 72 }, "end": { - "line": 660, + "line": 672, "column": 73 } }, @@ -73717,15 +75549,15 @@ }, { "type": "TemplateElement", - "start": 21700, - "end": 21700, + "start": 22084, + "end": 22084, "loc": { "start": { - "line": 660, + "line": 672, "column": 102 }, "end": { - "line": 660, + "line": 672, "column": 102 } }, @@ -73743,15 +75575,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 21530, - "end": 21596, + "start": 21914, + "end": 21980, "loc": { "start": { - "line": 657, + "line": 669, "column": 4 }, "end": { - "line": 659, + "line": 671, "column": 7 } } @@ -73761,15 +75593,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 21710, - "end": 21757, + "start": 22094, + "end": 22141, "loc": { "start": { - "line": 662, + "line": 674, "column": 4 }, "end": { - "line": 664, + "line": 676, "column": 7 } } @@ -73778,71 +75610,71 @@ }, { "type": "ExpressionStatement", - "start": 21763, - "end": 23959, + "start": 22147, + "end": 24404, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 733, + "line": 748, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 21763, - "end": 23958, + "start": 22147, + "end": 24403, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 733, + "line": 748, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 21763, - "end": 21802, + "start": 22147, + "end": 22186, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 665, + "line": 677, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 21763, - "end": 21794, + "start": 22147, + "end": 22178, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 665, + "line": 677, "column": 35 } }, "object": { "type": "Identifier", - "start": 21763, - "end": 21769, + "start": 22147, + "end": 22153, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 665, + "line": 677, "column": 10 }, "identifierName": "layout" @@ -73852,58 +75684,58 @@ }, "property": { "type": "MemberExpression", - "start": 21770, - "end": 21793, + "start": 22154, + "end": 22177, "loc": { "start": { - "line": 665, + "line": 677, "column": 11 }, "end": { - "line": 665, + "line": 677, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 21770, - "end": 21782, + "start": 22154, + "end": 22166, "loc": { "start": { - "line": 665, + "line": 677, "column": 11 }, "end": { - "line": 665, + "line": 677, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 21770, - "end": 21774, + "start": 22154, + "end": 22158, "loc": { "start": { - "line": 665, + "line": 677, "column": 11 }, "end": { - "line": 665, + "line": 677, "column": 15 } } }, "property": { "type": "Identifier", - "start": 21775, - "end": 21782, + "start": 22159, + "end": 22166, "loc": { "start": { - "line": 665, + "line": 677, "column": 16 }, "end": { - "line": 665, + "line": 677, "column": 23 }, "identifierName": "options" @@ -73914,15 +75746,15 @@ }, "property": { "type": "Identifier", - "start": 21783, - "end": 21793, + "start": 22167, + "end": 22177, "loc": { "start": { - "line": 665, + "line": 677, "column": 24 }, "end": { - "line": 665, + "line": 677, "column": 34 }, "identifierName": "layoutName" @@ -73936,15 +75768,15 @@ }, "property": { "type": "Identifier", - "start": 21795, - "end": 21802, + "start": 22179, + "end": 22186, "loc": { "start": { - "line": 665, + "line": 677, "column": 36 }, "end": { - "line": 665, + "line": 677, "column": 43 }, "identifierName": "forEach" @@ -73957,15 +75789,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 21803, - "end": 23957, + "start": 22187, + "end": 24402, "loc": { "start": { - "line": 665, + "line": 677, "column": 44 }, "end": { - "line": 733, + "line": 748, "column": 5 } }, @@ -73976,15 +75808,15 @@ "params": [ { "type": "Identifier", - "start": 21804, - "end": 21807, + "start": 22188, + "end": 22191, "loc": { "start": { - "line": 665, + "line": 677, "column": 45 }, "end": { - "line": 665, + "line": 677, "column": 48 }, "identifierName": "row" @@ -73993,15 +75825,15 @@ }, { "type": "Identifier", - "start": 21809, - "end": 21815, + "start": 22193, + "end": 22199, "loc": { "start": { - "line": 665, + "line": 677, "column": 50 }, "end": { - "line": 665, + "line": 677, "column": 56 }, "identifierName": "rIndex" @@ -74011,59 +75843,59 @@ ], "body": { "type": "BlockStatement", - "start": 21820, - "end": 23957, + "start": 22204, + "end": 24402, "loc": { "start": { - "line": 665, + "line": 677, "column": 61 }, "end": { - "line": 733, + "line": 748, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 21829, - "end": 21859, + "start": 22213, + "end": 22243, "loc": { "start": { - "line": 666, + "line": 678, "column": 6 }, "end": { - "line": 666, + "line": 678, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 21833, - "end": 21858, + "start": 22217, + "end": 22242, "loc": { "start": { - "line": 666, + "line": 678, "column": 10 }, "end": { - "line": 666, + "line": 678, "column": 35 } }, "id": { "type": "Identifier", - "start": 21833, - "end": 21841, + "start": 22217, + "end": 22225, "loc": { "start": { - "line": 666, + "line": 678, "column": 10 }, "end": { - "line": 666, + "line": 678, "column": 18 }, "identifierName": "rowArray" @@ -74072,43 +75904,43 @@ }, "init": { "type": "CallExpression", - "start": 21844, - "end": 21858, + "start": 22228, + "end": 22242, "loc": { "start": { - "line": 666, + "line": 678, "column": 21 }, "end": { - "line": 666, + "line": 678, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 21844, - "end": 21853, + "start": 22228, + "end": 22237, "loc": { "start": { - "line": 666, + "line": 678, "column": 21 }, "end": { - "line": 666, + "line": 678, "column": 30 } }, "object": { "type": "Identifier", - "start": 21844, - "end": 21847, + "start": 22228, + "end": 22231, "loc": { "start": { - "line": 666, + "line": 678, "column": 21 }, "end": { - "line": 666, + "line": 678, "column": 24 }, "identifierName": "row" @@ -74117,15 +75949,15 @@ }, "property": { "type": "Identifier", - "start": 21848, - "end": 21853, + "start": 22232, + "end": 22237, "loc": { "start": { - "line": 666, + "line": 678, "column": 25 }, "end": { - "line": 666, + "line": 678, "column": 30 }, "identifierName": "split" @@ -74137,15 +75969,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21854, - "end": 21857, + "start": 22238, + "end": 22241, "loc": { "start": { - "line": 666, + "line": 678, "column": 31 }, "end": { - "line": 666, + "line": 678, "column": 34 } }, @@ -74164,15 +75996,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 21869, - "end": 21912, + "start": 22253, + "end": 22296, "loc": { "start": { - "line": 668, + "line": 680, "column": 6 }, "end": { - "line": 670, + "line": 682, "column": 9 } } @@ -74181,44 +76013,44 @@ }, { "type": "VariableDeclaration", - "start": 21920, - "end": 21963, + "start": 22304, + "end": 22347, "loc": { "start": { - "line": 671, + "line": 683, "column": 6 }, "end": { - "line": 671, + "line": 683, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 21924, - "end": 21962, + "start": 22308, + "end": 22346, "loc": { "start": { - "line": 671, + "line": 683, "column": 10 }, "end": { - "line": 671, + "line": 683, "column": 48 } }, "id": { "type": "Identifier", - "start": 21924, - "end": 21930, + "start": 22308, + "end": 22314, "loc": { "start": { - "line": 671, + "line": 683, "column": 10 }, "end": { - "line": 671, + "line": 683, "column": 16 }, "identifierName": "rowDOM" @@ -74228,43 +76060,43 @@ }, "init": { "type": "CallExpression", - "start": 21933, - "end": 21962, + "start": 22317, + "end": 22346, "loc": { "start": { - "line": 671, + "line": 683, "column": 19 }, "end": { - "line": 671, + "line": 683, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 21933, - "end": 21955, + "start": 22317, + "end": 22339, "loc": { "start": { - "line": 671, + "line": 683, "column": 19 }, "end": { - "line": 671, + "line": 683, "column": 41 } }, "object": { "type": "Identifier", - "start": 21933, - "end": 21941, + "start": 22317, + "end": 22325, "loc": { "start": { - "line": 671, + "line": 683, "column": 19 }, "end": { - "line": 671, + "line": 683, "column": 27 }, "identifierName": "document" @@ -74273,15 +76105,15 @@ }, "property": { "type": "Identifier", - "start": 21942, - "end": 21955, + "start": 22326, + "end": 22339, "loc": { "start": { - "line": 671, + "line": 683, "column": 28 }, "end": { - "line": 671, + "line": 683, "column": 41 }, "identifierName": "createElement" @@ -74293,15 +76125,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 21956, - "end": 21961, + "start": 22340, + "end": 22345, "loc": { "start": { - "line": 671, + "line": 683, "column": 42 }, "end": { - "line": 671, + "line": 683, "column": 47 } }, @@ -74321,15 +76153,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 21869, - "end": 21912, + "start": 22253, + "end": 22296, "loc": { "start": { - "line": 668, + "line": 680, "column": 6 }, "end": { - "line": 670, + "line": 682, "column": 9 } } @@ -74338,58 +76170,58 @@ }, { "type": "ExpressionStatement", - "start": 21971, - "end": 22000, + "start": 22355, + "end": 22384, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 21971, - "end": 21999, + "start": 22355, + "end": 22383, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 21971, - "end": 21987, + "start": 22355, + "end": 22371, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 22 } }, "object": { "type": "Identifier", - "start": 21971, - "end": 21977, + "start": 22355, + "end": 22361, "loc": { "start": { - "line": 672, + "line": 684, "column": 6 }, "end": { - "line": 672, + "line": 684, "column": 12 }, "identifierName": "rowDOM" @@ -74398,15 +76230,15 @@ }, "property": { "type": "Identifier", - "start": 21978, - "end": 21987, + "start": 22362, + "end": 22371, "loc": { "start": { - "line": 672, + "line": 684, "column": 13 }, "end": { - "line": 672, + "line": 684, "column": 22 }, "identifierName": "className" @@ -74417,15 +76249,15 @@ }, "right": { "type": "StringLiteral", - "start": 21991, - "end": 21999, + "start": 22375, + "end": 22383, "loc": { "start": { - "line": 672, + "line": 684, "column": 26 }, "end": { - "line": 672, + "line": 684, "column": 34 } }, @@ -74440,15 +76272,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 22010, - "end": 22071, + "start": 22394, + "end": 22455, "loc": { "start": { - "line": 674, + "line": 686, "column": 6 }, "end": { - "line": 676, + "line": 688, "column": 9 } } @@ -74457,57 +76289,57 @@ }, { "type": "ExpressionStatement", - "start": 22079, - "end": 23845, + "start": 22463, + "end": 24290, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 727, + "line": 742, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 22079, - "end": 23844, + "start": 22463, + "end": 24289, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 727, + "line": 742, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 22079, - "end": 22095, + "start": 22463, + "end": 22479, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 677, + "line": 689, "column": 22 } }, "object": { "type": "Identifier", - "start": 22079, - "end": 22087, + "start": 22463, + "end": 22471, "loc": { "start": { - "line": 677, + "line": 689, "column": 6 }, "end": { - "line": 677, + "line": 689, "column": 14 }, "identifierName": "rowArray" @@ -74517,15 +76349,15 @@ }, "property": { "type": "Identifier", - "start": 22088, - "end": 22095, + "start": 22472, + "end": 22479, "loc": { "start": { - "line": 677, + "line": 689, "column": 15 }, "end": { - "line": 677, + "line": 689, "column": 22 }, "identifierName": "forEach" @@ -74538,15 +76370,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 22096, - "end": 23843, + "start": 22480, + "end": 24288, "loc": { "start": { - "line": 677, + "line": 689, "column": 23 }, "end": { - "line": 727, + "line": 742, "column": 7 } }, @@ -74557,15 +76389,15 @@ "params": [ { "type": "Identifier", - "start": 22097, - "end": 22103, + "start": 22481, + "end": 22487, "loc": { "start": { - "line": 677, + "line": 689, "column": 24 }, "end": { - "line": 677, + "line": 689, "column": 30 }, "identifierName": "button" @@ -74574,15 +76406,15 @@ }, { "type": "Identifier", - "start": 22105, - "end": 22111, + "start": 22489, + "end": 22495, "loc": { "start": { - "line": 677, + "line": 689, "column": 32 }, "end": { - "line": 677, + "line": 689, "column": 38 }, "identifierName": "bIndex" @@ -74592,59 +76424,59 @@ ], "body": { "type": "BlockStatement", - "start": 22116, - "end": 23843, + "start": 22500, + "end": 24288, "loc": { "start": { - "line": 677, + "line": 689, "column": 43 }, "end": { - "line": 727, + "line": 742, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 22127, - "end": 22183, + "start": 22511, + "end": 22567, "loc": { "start": { - "line": 678, + "line": 690, "column": 8 }, "end": { - "line": 678, + "line": 690, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22131, - "end": 22182, + "start": 22515, + "end": 22566, "loc": { "start": { - "line": 678, + "line": 690, "column": 12 }, "end": { - "line": 678, + "line": 690, "column": 63 } }, "id": { "type": "Identifier", - "start": 22131, - "end": 22142, + "start": 22515, + "end": 22526, "loc": { "start": { - "line": 678, + "line": 690, "column": 12 }, "end": { - "line": 678, + "line": 690, "column": 23 }, "identifierName": "fctBtnClass" @@ -74653,72 +76485,72 @@ }, "init": { "type": "CallExpression", - "start": 22145, - "end": 22182, + "start": 22529, + "end": 22566, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 22145, - "end": 22174, + "start": 22529, + "end": 22558, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 22145, - "end": 22159, + "start": 22529, + "end": 22543, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 22145, - "end": 22149, + "start": 22529, + "end": 22533, "loc": { "start": { - "line": 678, + "line": 690, "column": 26 }, "end": { - "line": 678, + "line": 690, "column": 30 } } }, "property": { "type": "Identifier", - "start": 22150, - "end": 22159, + "start": 22534, + "end": 22543, "loc": { "start": { - "line": 678, + "line": 690, "column": 31 }, "end": { - "line": 678, + "line": 690, "column": 40 }, "identifierName": "utilities" @@ -74729,15 +76561,15 @@ }, "property": { "type": "Identifier", - "start": 22160, - "end": 22174, + "start": 22544, + "end": 22558, "loc": { "start": { - "line": 678, + "line": 690, "column": 41 }, "end": { - "line": 678, + "line": 690, "column": 55 }, "identifierName": "getButtonClass" @@ -74749,15 +76581,15 @@ "arguments": [ { "type": "Identifier", - "start": 22175, - "end": 22181, + "start": 22559, + "end": 22565, "loc": { "start": { - "line": 678, + "line": 690, "column": 56 }, "end": { - "line": 678, + "line": 690, "column": 62 }, "identifierName": "button" @@ -74772,44 +76604,44 @@ }, { "type": "VariableDeclaration", - "start": 22193, - "end": 22243, + "start": 22577, + "end": 22627, "loc": { "start": { - "line": 679, + "line": 691, "column": 8 }, "end": { - "line": 679, + "line": 691, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22197, - "end": 22242, + "start": 22581, + "end": 22626, "loc": { "start": { - "line": 679, + "line": 691, "column": 12 }, "end": { - "line": 679, + "line": 691, "column": 57 } }, "id": { "type": "Identifier", - "start": 22197, - "end": 22213, + "start": 22581, + "end": 22597, "loc": { "start": { - "line": 679, + "line": 691, "column": 12 }, "end": { - "line": 679, + "line": 691, "column": 28 }, "identifierName": "buttonThemeClass" @@ -74818,29 +76650,29 @@ }, "init": { "type": "MemberExpression", - "start": 22216, - "end": 22242, + "start": 22600, + "end": 22626, "loc": { "start": { - "line": 679, + "line": 691, "column": 31 }, "end": { - "line": 679, + "line": 691, "column": 57 } }, "object": { "type": "Identifier", - "start": 22216, - "end": 22234, + "start": 22600, + "end": 22618, "loc": { "start": { - "line": 679, + "line": 691, "column": 31 }, "end": { - "line": 679, + "line": 691, "column": 49 }, "identifierName": "buttonThemesParsed" @@ -74849,15 +76681,15 @@ }, "property": { "type": "Identifier", - "start": 22235, - "end": 22241, + "start": 22619, + "end": 22625, "loc": { "start": { - "line": 679, + "line": 691, "column": 50 }, "end": { - "line": 679, + "line": 691, "column": 56 }, "identifierName": "button" @@ -74872,44 +76704,44 @@ }, { "type": "VariableDeclaration", - "start": 22253, - "end": 22370, + "start": 22637, + "end": 22754, "loc": { "start": { - "line": 680, + "line": 692, "column": 8 }, "end": { - "line": 680, + "line": 692, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22257, - "end": 22369, + "start": 22641, + "end": 22753, "loc": { "start": { - "line": 680, + "line": 692, "column": 12 }, "end": { - "line": 680, + "line": 692, "column": 124 } }, "id": { "type": "Identifier", - "start": 22257, - "end": 22274, + "start": 22641, + "end": 22658, "loc": { "start": { - "line": 680, + "line": 692, "column": 12 }, "end": { - "line": 680, + "line": 692, "column": 29 }, "identifierName": "buttonDisplayName" @@ -74918,72 +76750,72 @@ }, "init": { "type": "CallExpression", - "start": 22277, - "end": 22369, + "start": 22661, + "end": 22753, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 124 } }, "callee": { "type": "MemberExpression", - "start": 22277, - "end": 22312, + "start": 22661, + "end": 22696, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 67 } }, "object": { "type": "MemberExpression", - "start": 22277, - "end": 22291, + "start": 22661, + "end": 22675, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 22277, - "end": 22281, + "start": 22661, + "end": 22665, "loc": { "start": { - "line": 680, + "line": 692, "column": 32 }, "end": { - "line": 680, + "line": 692, "column": 36 } } }, "property": { "type": "Identifier", - "start": 22282, - "end": 22291, + "start": 22666, + "end": 22675, "loc": { "start": { - "line": 680, + "line": 692, "column": 37 }, "end": { - "line": 680, + "line": 692, "column": 46 }, "identifierName": "utilities" @@ -74994,15 +76826,15 @@ }, "property": { "type": "Identifier", - "start": 22292, - "end": 22312, + "start": 22676, + "end": 22696, "loc": { "start": { - "line": 680, + "line": 692, "column": 47 }, "end": { - "line": 680, + "line": 692, "column": 67 }, "identifierName": "getButtonDisplayName" @@ -75014,15 +76846,15 @@ "arguments": [ { "type": "Identifier", - "start": 22313, - "end": 22319, + "start": 22697, + "end": 22703, "loc": { "start": { - "line": 680, + "line": 692, "column": 68 }, "end": { - "line": 680, + "line": 692, "column": 74 }, "identifierName": "button" @@ -75031,58 +76863,58 @@ }, { "type": "MemberExpression", - "start": 22321, - "end": 22341, + "start": 22705, + "end": 22725, "loc": { "start": { - "line": 680, + "line": 692, "column": 76 }, "end": { - "line": 680, + "line": 692, "column": 96 } }, "object": { "type": "MemberExpression", - "start": 22321, - "end": 22333, + "start": 22705, + "end": 22717, "loc": { "start": { - "line": 680, + "line": 692, "column": 76 }, "end": { - "line": 680, + "line": 692, "column": 88 } }, "object": { "type": "ThisExpression", - "start": 22321, - "end": 22325, + "start": 22705, + "end": 22709, "loc": { "start": { - "line": 680, + "line": 692, "column": 76 }, "end": { - "line": 680, + "line": 692, "column": 80 } } }, "property": { "type": "Identifier", - "start": 22326, - "end": 22333, + "start": 22710, + "end": 22717, "loc": { "start": { - "line": 680, + "line": 692, "column": 81 }, "end": { - "line": 680, + "line": 692, "column": 88 }, "identifierName": "options" @@ -75093,15 +76925,15 @@ }, "property": { "type": "Identifier", - "start": 22334, - "end": 22341, + "start": 22718, + "end": 22725, "loc": { "start": { - "line": 680, + "line": 692, "column": 89 }, "end": { - "line": 680, + "line": 692, "column": 96 }, "identifierName": "display" @@ -75112,58 +76944,58 @@ }, { "type": "MemberExpression", - "start": 22343, - "end": 22368, + "start": 22727, + "end": 22752, "loc": { "start": { - "line": 680, + "line": 692, "column": 98 }, "end": { - "line": 680, + "line": 692, "column": 123 } }, "object": { "type": "MemberExpression", - "start": 22343, - "end": 22355, + "start": 22727, + "end": 22739, "loc": { "start": { - "line": 680, + "line": 692, "column": 98 }, "end": { - "line": 680, + "line": 692, "column": 110 } }, "object": { "type": "ThisExpression", - "start": 22343, - "end": 22347, + "start": 22727, + "end": 22731, "loc": { "start": { - "line": 680, + "line": 692, "column": 98 }, "end": { - "line": 680, + "line": 692, "column": 102 } } }, "property": { "type": "Identifier", - "start": 22348, - "end": 22355, + "start": 22732, + "end": 22739, "loc": { "start": { - "line": 680, + "line": 692, "column": 103 }, "end": { - "line": 680, + "line": 692, "column": 110 }, "identifierName": "options" @@ -75174,15 +77006,15 @@ }, "property": { "type": "Identifier", - "start": 22356, - "end": 22368, + "start": 22740, + "end": 22752, "loc": { "start": { - "line": 680, + "line": 692, "column": 111 }, "end": { - "line": 680, + "line": 692, "column": 123 }, "identifierName": "mergeDisplay" @@ -75200,15 +77032,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 22382, - "end": 22426, + "start": 22766, + "end": 22810, "loc": { "start": { - "line": 682, + "line": 694, "column": 8 }, "end": { - "line": 684, + "line": 696, "column": 11 } } @@ -75217,44 +77049,44 @@ }, { "type": "VariableDeclaration", - "start": 22436, - "end": 22482, + "start": 22820, + "end": 22866, "loc": { "start": { - "line": 685, + "line": 697, "column": 8 }, "end": { - "line": 685, + "line": 697, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22440, - "end": 22481, + "start": 22824, + "end": 22865, "loc": { "start": { - "line": 685, + "line": 697, "column": 12 }, "end": { - "line": 685, + "line": 697, "column": 53 } }, "id": { "type": "Identifier", - "start": 22440, - "end": 22449, + "start": 22824, + "end": 22833, "loc": { "start": { - "line": 685, + "line": 697, "column": 12 }, "end": { - "line": 685, + "line": 697, "column": 21 }, "identifierName": "buttonDOM" @@ -75264,43 +77096,43 @@ }, "init": { "type": "CallExpression", - "start": 22452, - "end": 22481, + "start": 22836, + "end": 22865, "loc": { "start": { - "line": 685, + "line": 697, "column": 24 }, "end": { - "line": 685, + "line": 697, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 22452, - "end": 22474, + "start": 22836, + "end": 22858, "loc": { "start": { - "line": 685, + "line": 697, "column": 24 }, "end": { - "line": 685, + "line": 697, "column": 46 } }, "object": { "type": "Identifier", - "start": 22452, - "end": 22460, + "start": 22836, + "end": 22844, "loc": { "start": { - "line": 685, + "line": 697, "column": 24 }, "end": { - "line": 685, + "line": 697, "column": 32 }, "identifierName": "document" @@ -75309,15 +77141,15 @@ }, "property": { "type": "Identifier", - "start": 22461, - "end": 22474, + "start": 22845, + "end": 22858, "loc": { "start": { - "line": 685, + "line": 697, "column": 33 }, "end": { - "line": 685, + "line": 697, "column": 46 }, "identifierName": "createElement" @@ -75329,15 +77161,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22475, - "end": 22480, + "start": 22859, + "end": 22864, "loc": { "start": { - "line": 685, + "line": 697, "column": 47 }, "end": { - "line": 685, + "line": 697, "column": 52 } }, @@ -75357,15 +77189,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 22382, - "end": 22426, + "start": 22766, + "end": 22810, "loc": { "start": { - "line": 682, + "line": 694, "column": 8 }, "end": { - "line": 684, + "line": 696, "column": 11 } } @@ -75374,58 +77206,58 @@ }, { "type": "ExpressionStatement", - "start": 22492, - "end": 22589, + "start": 22876, + "end": 22973, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 105 } }, "expression": { "type": "AssignmentExpression", - "start": 22492, - "end": 22588, + "start": 22876, + "end": 22972, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 22492, - "end": 22511, + "start": 22876, + "end": 22895, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 27 } }, "object": { "type": "Identifier", - "start": 22492, - "end": 22501, + "start": 22876, + "end": 22885, "loc": { "start": { - "line": 686, + "line": 698, "column": 8 }, "end": { - "line": 686, + "line": 698, "column": 17 }, "identifierName": "buttonDOM" @@ -75434,15 +77266,15 @@ }, "property": { "type": "Identifier", - "start": 22502, - "end": 22511, + "start": 22886, + "end": 22895, "loc": { "start": { - "line": 686, + "line": 698, "column": 18 }, "end": { - "line": 686, + "line": 698, "column": 27 }, "identifierName": "className" @@ -75453,30 +77285,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 22515, - "end": 22588, + "start": 22899, + "end": 22972, "loc": { "start": { - "line": 686, + "line": 698, "column": 31 }, "end": { - "line": 686, + "line": 698, "column": 104 } }, "expressions": [ { "type": "Identifier", - "start": 22528, - "end": 22539, + "start": 22912, + "end": 22923, "loc": { "start": { - "line": 686, + "line": 698, "column": 44 }, "end": { - "line": 686, + "line": 698, "column": 55 }, "identifierName": "fctBtnClass" @@ -75485,29 +77317,29 @@ }, { "type": "ConditionalExpression", - "start": 22542, - "end": 22586, + "start": 22926, + "end": 22970, "loc": { "start": { - "line": 686, + "line": 698, "column": 58 }, "end": { - "line": 686, + "line": 698, "column": 102 } }, "test": { "type": "Identifier", - "start": 22542, - "end": 22558, + "start": 22926, + "end": 22942, "loc": { "start": { - "line": 686, + "line": 698, "column": 58 }, "end": { - "line": 686, + "line": 698, "column": 74 }, "identifierName": "buttonThemeClass" @@ -75516,29 +77348,29 @@ }, "consequent": { "type": "BinaryExpression", - "start": 22561, - "end": 22581, + "start": 22945, + "end": 22965, "loc": { "start": { - "line": 686, + "line": 698, "column": 77 }, "end": { - "line": 686, + "line": 698, "column": 97 } }, "left": { "type": "StringLiteral", - "start": 22561, - "end": 22564, + "start": 22945, + "end": 22948, "loc": { "start": { - "line": 686, + "line": 698, "column": 77 }, "end": { - "line": 686, + "line": 698, "column": 80 } }, @@ -75551,15 +77383,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 22565, - "end": 22581, + "start": 22949, + "end": 22965, "loc": { "start": { - "line": 686, + "line": 698, "column": 81 }, "end": { - "line": 686, + "line": 698, "column": 97 }, "identifierName": "buttonThemeClass" @@ -75569,15 +77401,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 22584, - "end": 22586, + "start": 22968, + "end": 22970, "loc": { "start": { - "line": 686, + "line": 698, "column": 100 }, "end": { - "line": 686, + "line": 698, "column": 102 } }, @@ -75592,15 +77424,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 22516, - "end": 22526, + "start": 22900, + "end": 22910, "loc": { "start": { - "line": 686, + "line": 698, "column": 32 }, "end": { - "line": 686, + "line": 698, "column": 42 } }, @@ -75612,15 +77444,15 @@ }, { "type": "TemplateElement", - "start": 22540, - "end": 22540, + "start": 22924, + "end": 22924, "loc": { "start": { - "line": 686, + "line": 698, "column": 56 }, "end": { - "line": 686, + "line": 698, "column": 56 } }, @@ -75632,15 +77464,15 @@ }, { "type": "TemplateElement", - "start": 22587, - "end": 22587, + "start": 22971, + "end": 22971, "loc": { "start": { - "line": 686, + "line": 698, "column": 103 }, "end": { - "line": 686, + "line": 698, "column": 103 } }, @@ -75656,58 +77488,58 @@ }, { "type": "ExpressionStatement", - "start": 22599, - "end": 22658, + "start": 22983, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, - "column": 67 + "line": 702, + "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 22599, - "end": 22657, + "start": 22983, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, - "column": 66 + "line": 702, + "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 22599, - "end": 22616, + "start": 22983, + "end": 23000, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, + "line": 699, "column": 25 } }, "object": { "type": "Identifier", - "start": 22599, - "end": 22608, + "start": 22983, + "end": 22992, "loc": { "start": { - "line": 687, + "line": 699, "column": 8 }, "end": { - "line": 687, + "line": 699, "column": 17 }, "identifierName": "buttonDOM" @@ -75716,15 +77548,15 @@ }, "property": { "type": "Identifier", - "start": 22609, - "end": 22616, + "start": 22993, + "end": 23000, "loc": { "start": { - "line": 687, + "line": 699, "column": 18 }, "end": { - "line": 687, + "line": 699, "column": 25 }, "identifierName": "onclick" @@ -75735,162 +77567,290 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 22619, - "end": 22657, + "start": 23003, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 28 }, "end": { - "line": 687, - "column": 66 + "line": 702, + "column": 9 } }, "id": null, "generator": false, - "expression": true, + "expression": false, "async": false, "params": [], "body": { - "type": "CallExpression", - "start": 22625, - "end": 22657, + "type": "BlockStatement", + "start": 23009, + "end": 23103, "loc": { "start": { - "line": 687, + "line": 699, "column": 34 }, "end": { - "line": 687, - "column": 66 + "line": 702, + "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 22625, - "end": 22649, - "loc": { - "start": { - "line": 687, - "column": 34 - }, - "end": { - "line": 687, - "column": 58 - } - }, - "object": { - "type": "ThisExpression", - "start": 22625, - "end": 22629, + "body": [ + { + "type": "ExpressionStatement", + "start": 23022, + "end": 23047, "loc": { "start": { - "line": 687, - "column": 34 + "line": 700, + "column": 10 }, "end": { - "line": 687, - "column": 38 + "line": 700, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23022, + "end": 23046, + "loc": { + "start": { + "line": 700, + "column": 10 + }, + "end": { + "line": 700, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23022, + "end": 23038, + "loc": { + "start": { + "line": 700, + "column": 10 + }, + "end": { + "line": 700, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 23022, + "end": 23026, + "loc": { + "start": { + "line": 700, + "column": 10 + }, + "end": { + "line": 700, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 23027, + "end": 23038, + "loc": { + "start": { + "line": 700, + "column": 15 + }, + "end": { + "line": 700, + "column": 26 + }, + "identifierName": "isMouseHold" + }, + "name": "isMouseHold" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 23041, + "end": 23046, + "loc": { + "start": { + "line": 700, + "column": 29 + }, + "end": { + "line": 700, + "column": 34 + } + }, + "value": false } } }, - "property": { - "type": "Identifier", - "start": 22630, - "end": 22649, - "loc": { - "start": { - "line": 687, - "column": 39 - }, - "end": { - "line": 687, - "column": 58 - }, - "identifierName": "handleButtonClicked" - }, - "name": "handleButtonClicked" - }, - "computed": false - }, - "arguments": [ { - "type": "Identifier", - "start": 22650, - "end": 22656, + "type": "ExpressionStatement", + "start": 23059, + "end": 23092, "loc": { "start": { - "line": 687, - "column": 59 + "line": 701, + "column": 10 }, "end": { - "line": 687, - "column": 65 - }, - "identifierName": "button" + "line": 701, + "column": 43 + } }, - "name": "button" + "expression": { + "type": "CallExpression", + "start": 23059, + "end": 23091, + "loc": { + "start": { + "line": 701, + "column": 10 + }, + "end": { + "line": 701, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23059, + "end": 23083, + "loc": { + "start": { + "line": 701, + "column": 10 + }, + "end": { + "line": 701, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 23059, + "end": 23063, + "loc": { + "start": { + "line": 701, + "column": 10 + }, + "end": { + "line": 701, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 23064, + "end": 23083, + "loc": { + "start": { + "line": 701, + "column": 15 + }, + "end": { + "line": 701, + "column": 34 + }, + "identifierName": "handleButtonClicked" + }, + "name": "handleButtonClicked" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 23084, + "end": 23090, + "loc": { + "start": { + "line": 701, + "column": 35 + }, + "end": { + "line": 701, + "column": 41 + }, + "identifierName": "button" + }, + "name": "button" + } + ] + } } - ] + ], + "directives": [] } } } }, { "type": "ExpressionStatement", - "start": 22668, - "end": 22737, + "start": 23113, + "end": 23182, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 22668, - "end": 22736, + "start": 23113, + "end": 23181, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 22668, - "end": 22689, + "start": 23113, + "end": 23134, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 29 } }, "object": { "type": "Identifier", - "start": 22668, - "end": 22677, + "start": 23113, + "end": 23122, "loc": { "start": { - "line": 688, + "line": 703, "column": 8 }, "end": { - "line": 688, + "line": 703, "column": 17 }, "identifierName": "buttonDOM" @@ -75899,15 +77859,15 @@ }, "property": { "type": "Identifier", - "start": 22678, - "end": 22689, + "start": 23123, + "end": 23134, "loc": { "start": { - "line": 688, + "line": 703, "column": 18 }, "end": { - "line": 688, + "line": 703, "column": 29 }, "identifierName": "onmousedown" @@ -75918,15 +77878,15 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 22692, - "end": 22736, + "start": 23137, + "end": 23181, "loc": { "start": { - "line": 688, + "line": 703, "column": 32 }, "end": { - "line": 688, + "line": 703, "column": 76 } }, @@ -75937,15 +77897,15 @@ "params": [ { "type": "Identifier", - "start": 22693, - "end": 22694, + "start": 23138, + "end": 23139, "loc": { "start": { - "line": 688, + "line": 703, "column": 33 }, "end": { - "line": 688, + "line": 703, "column": 34 }, "identifierName": "e" @@ -75955,58 +77915,58 @@ ], "body": { "type": "CallExpression", - "start": 22699, - "end": 22736, + "start": 23144, + "end": 23181, "loc": { "start": { - "line": 688, + "line": 703, "column": 39 }, "end": { - "line": 688, + "line": 703, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 22699, - "end": 22725, + "start": 23144, + "end": 23170, "loc": { "start": { - "line": 688, + "line": 703, "column": 39 }, "end": { - "line": 688, + "line": 703, "column": 65 } }, "object": { "type": "ThisExpression", - "start": 22699, - "end": 22703, + "start": 23144, + "end": 23148, "loc": { "start": { - "line": 688, + "line": 703, "column": 39 }, "end": { - "line": 688, + "line": 703, "column": 43 } } }, "property": { "type": "Identifier", - "start": 22704, - "end": 22725, + "start": 23149, + "end": 23170, "loc": { "start": { - "line": 688, + "line": 703, "column": 44 }, "end": { - "line": 688, + "line": 703, "column": 65 }, "identifierName": "handleButtonMouseDown" @@ -76018,15 +77978,15 @@ "arguments": [ { "type": "Identifier", - "start": 22726, - "end": 22732, + "start": 23171, + "end": 23177, "loc": { "start": { - "line": 688, + "line": 703, "column": 66 }, "end": { - "line": 688, + "line": 703, "column": 72 }, "identifierName": "button" @@ -76035,15 +77995,15 @@ }, { "type": "Identifier", - "start": 22734, - "end": 22735, + "start": 23179, + "end": 23180, "loc": { "start": { - "line": 688, + "line": 703, "column": 74 }, "end": { - "line": 688, + "line": 703, "column": 75 }, "identifierName": "e" @@ -76058,15 +78018,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 22749, - "end": 22795, + "start": 23194, + "end": 23240, "loc": { "start": { - "line": 690, + "line": 705, "column": 8 }, "end": { - "line": 692, + "line": 707, "column": 11 } } @@ -76075,57 +78035,57 @@ }, { "type": "ExpressionStatement", - "start": 22805, - "end": 22850, + "start": 23250, + "end": 23295, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 22805, - "end": 22849, + "start": 23250, + "end": 23294, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 22805, - "end": 22827, + "start": 23250, + "end": 23272, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 30 } }, "object": { "type": "Identifier", - "start": 22805, - "end": 22814, + "start": 23250, + "end": 23259, "loc": { "start": { - "line": 693, + "line": 708, "column": 8 }, "end": { - "line": 693, + "line": 708, "column": 17 }, "identifierName": "buttonDOM" @@ -76135,15 +78095,15 @@ }, "property": { "type": "Identifier", - "start": 22815, - "end": 22827, + "start": 23260, + "end": 23272, "loc": { "start": { - "line": 693, + "line": 708, "column": 18 }, "end": { - "line": 693, + "line": 708, "column": 30 }, "identifierName": "setAttribute" @@ -76156,15 +78116,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 22828, - "end": 22840, + "start": 23273, + "end": 23285, "loc": { "start": { - "line": 693, + "line": 708, "column": 31 }, "end": { - "line": 693, + "line": 708, "column": 43 } }, @@ -76176,15 +78136,15 @@ }, { "type": "Identifier", - "start": 22842, - "end": 22848, + "start": 23287, + "end": 23293, "loc": { "start": { - "line": 693, + "line": 708, "column": 45 }, "end": { - "line": 693, + "line": 708, "column": 51 }, "identifierName": "button" @@ -76198,15 +78158,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 22749, - "end": 22795, + "start": 23194, + "end": 23240, "loc": { "start": { - "line": 690, + "line": 705, "column": 8 }, "end": { - "line": 692, + "line": 707, "column": 11 } } @@ -76216,15 +78176,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 22862, - "end": 23017, + "start": 23307, + "end": 23462, "loc": { "start": { - "line": 695, + "line": 710, "column": 8 }, "end": { - "line": 698, + "line": 713, "column": 11 } } @@ -76233,44 +78193,44 @@ }, { "type": "VariableDeclaration", - "start": 23027, - "end": 23093, + "start": 23472, + "end": 23538, "loc": { "start": { - "line": 699, + "line": 714, "column": 8 }, "end": { - "line": 699, + "line": 714, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 23031, - "end": 23092, + "start": 23476, + "end": 23537, "loc": { "start": { - "line": 699, + "line": 714, "column": 12 }, "end": { - "line": 699, + "line": 714, "column": 73 } }, "id": { "type": "Identifier", - "start": 23031, - "end": 23040, + "start": 23476, + "end": 23485, "loc": { "start": { - "line": 699, + "line": 714, "column": 12 }, "end": { - "line": 699, + "line": 714, "column": 21 }, "identifierName": "buttonUID" @@ -76280,73 +78240,73 @@ }, "init": { "type": "TemplateLiteral", - "start": 23043, - "end": 23092, + "start": 23488, + "end": 23537, "loc": { "start": { - "line": 699, + "line": 714, "column": 24 }, "end": { - "line": 699, + "line": 714, "column": 73 } }, "expressions": [ { "type": "MemberExpression", - "start": 23046, - "end": 23069, + "start": 23491, + "end": 23514, "loc": { "start": { - "line": 699, + "line": 714, "column": 27 }, "end": { - "line": 699, + "line": 714, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 23046, - "end": 23058, + "start": 23491, + "end": 23503, "loc": { "start": { - "line": 699, + "line": 714, "column": 27 }, "end": { - "line": 699, + "line": 714, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 23046, - "end": 23050, + "start": 23491, + "end": 23495, "loc": { "start": { - "line": 699, + "line": 714, "column": 27 }, "end": { - "line": 699, + "line": 714, "column": 31 } } }, "property": { "type": "Identifier", - "start": 23051, - "end": 23058, + "start": 23496, + "end": 23503, "loc": { "start": { - "line": 699, + "line": 714, "column": 32 }, "end": { - "line": 699, + "line": 714, "column": 39 }, "identifierName": "options" @@ -76357,15 +78317,15 @@ }, "property": { "type": "Identifier", - "start": 23059, - "end": 23069, + "start": 23504, + "end": 23514, "loc": { "start": { - "line": 699, + "line": 714, "column": 40 }, "end": { - "line": 699, + "line": 714, "column": 50 }, "identifierName": "layoutName" @@ -76376,15 +78336,15 @@ }, { "type": "Identifier", - "start": 23074, - "end": 23080, + "start": 23519, + "end": 23525, "loc": { "start": { - "line": 699, + "line": 714, "column": 55 }, "end": { - "line": 699, + "line": 714, "column": 61 }, "identifierName": "rIndex" @@ -76393,15 +78353,15 @@ }, { "type": "Identifier", - "start": 23084, - "end": 23090, + "start": 23529, + "end": 23535, "loc": { "start": { - "line": 699, + "line": 714, "column": 65 }, "end": { - "line": 699, + "line": 714, "column": 71 }, "identifierName": "bIndex" @@ -76412,15 +78372,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 23044, - "end": 23044, + "start": 23489, + "end": 23489, "loc": { "start": { - "line": 699, + "line": 714, "column": 25 }, "end": { - "line": 699, + "line": 714, "column": 25 } }, @@ -76432,15 +78392,15 @@ }, { "type": "TemplateElement", - "start": 23070, - "end": 23072, + "start": 23515, + "end": 23517, "loc": { "start": { - "line": 699, + "line": 714, "column": 51 }, "end": { - "line": 699, + "line": 714, "column": 53 } }, @@ -76452,15 +78412,15 @@ }, { "type": "TemplateElement", - "start": 23081, - "end": 23082, + "start": 23526, + "end": 23527, "loc": { "start": { - "line": 699, + "line": 714, "column": 62 }, "end": { - "line": 699, + "line": 714, "column": 63 } }, @@ -76472,15 +78432,15 @@ }, { "type": "TemplateElement", - "start": 23091, - "end": 23091, + "start": 23536, + "end": 23536, "loc": { "start": { - "line": 699, + "line": 714, "column": 72 }, "end": { - "line": 699, + "line": 714, "column": 72 } }, @@ -76500,15 +78460,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 22862, - "end": 23017, + "start": 23307, + "end": 23462, "loc": { "start": { - "line": 695, + "line": 710, "column": 8 }, "end": { - "line": 698, + "line": 713, "column": 11 } } @@ -76517,57 +78477,57 @@ }, { "type": "ExpressionStatement", - "start": 23103, - "end": 23154, + "start": 23548, + "end": 23599, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 23103, - "end": 23153, + "start": 23548, + "end": 23598, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 23103, - "end": 23125, + "start": 23548, + "end": 23570, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 30 } }, "object": { "type": "Identifier", - "start": 23103, - "end": 23112, + "start": 23548, + "end": 23557, "loc": { "start": { - "line": 700, + "line": 715, "column": 8 }, "end": { - "line": 700, + "line": 715, "column": 17 }, "identifierName": "buttonDOM" @@ -76576,15 +78536,15 @@ }, "property": { "type": "Identifier", - "start": 23113, - "end": 23125, + "start": 23558, + "end": 23570, "loc": { "start": { - "line": 700, + "line": 715, "column": 18 }, "end": { - "line": 700, + "line": 715, "column": 30 }, "identifierName": "setAttribute" @@ -76596,15 +78556,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23126, - "end": 23141, + "start": 23571, + "end": 23586, "loc": { "start": { - "line": 700, + "line": 715, "column": 31 }, "end": { - "line": 700, + "line": 715, "column": 46 } }, @@ -76616,15 +78576,15 @@ }, { "type": "Identifier", - "start": 23143, - "end": 23152, + "start": 23588, + "end": 23597, "loc": { "start": { - "line": 700, + "line": 715, "column": 48 }, "end": { - "line": 700, + "line": 715, "column": 57 }, "identifierName": "buttonUID" @@ -76637,15 +78597,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 23166, - "end": 23215, + "start": 23611, + "end": 23660, "loc": { "start": { - "line": 702, + "line": 717, "column": 8 }, "end": { - "line": 704, + "line": 719, "column": 11 } } @@ -76654,57 +78614,57 @@ }, { "type": "ExpressionStatement", - "start": 23225, - "end": 23288, + "start": 23670, + "end": 23733, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 23225, - "end": 23287, + "start": 23670, + "end": 23732, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 23225, - "end": 23247, + "start": 23670, + "end": 23692, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 30 } }, "object": { "type": "Identifier", - "start": 23225, - "end": 23234, + "start": 23670, + "end": 23679, "loc": { "start": { - "line": 705, + "line": 720, "column": 8 }, "end": { - "line": 705, + "line": 720, "column": 17 }, "identifierName": "buttonDOM" @@ -76714,15 +78674,15 @@ }, "property": { "type": "Identifier", - "start": 23235, - "end": 23247, + "start": 23680, + "end": 23692, "loc": { "start": { - "line": 705, + "line": 720, "column": 18 }, "end": { - "line": 705, + "line": 720, "column": 30 }, "identifierName": "setAttribute" @@ -76735,15 +78695,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23248, - "end": 23267, + "start": 23693, + "end": 23712, "loc": { "start": { - "line": 705, + "line": 720, "column": 31 }, "end": { - "line": 705, + "line": 720, "column": 50 } }, @@ -76755,15 +78715,15 @@ }, { "type": "Identifier", - "start": 23269, - "end": 23286, + "start": 23714, + "end": 23731, "loc": { "start": { - "line": 705, + "line": 720, "column": 52 }, "end": { - "line": 705, + "line": 720, "column": 69 }, "identifierName": "buttonDisplayName" @@ -76777,15 +78737,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 23166, - "end": 23215, + "start": 23611, + "end": 23660, "loc": { "start": { - "line": 702, + "line": 717, "column": 8 }, "end": { - "line": 704, + "line": 719, "column": 11 } } @@ -76795,15 +78755,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 23300, - "end": 23358, + "start": 23745, + "end": 23803, "loc": { "start": { - "line": 707, + "line": 722, "column": 8 }, "end": { - "line": 709, + "line": 724, "column": 11 } } @@ -76812,44 +78772,44 @@ }, { "type": "VariableDeclaration", - "start": 23368, - "end": 23419, + "start": 23813, + "end": 23864, "loc": { "start": { - "line": 710, + "line": 725, "column": 8 }, "end": { - "line": 710, + "line": 725, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 23372, - "end": 23418, + "start": 23817, + "end": 23863, "loc": { "start": { - "line": 710, + "line": 725, "column": 12 }, "end": { - "line": 710, + "line": 725, "column": 58 } }, "id": { "type": "Identifier", - "start": 23372, - "end": 23385, + "start": 23817, + "end": 23830, "loc": { "start": { - "line": 710, + "line": 725, "column": 12 }, "end": { - "line": 710, + "line": 725, "column": 25 }, "identifierName": "buttonSpanDOM" @@ -76859,43 +78819,43 @@ }, "init": { "type": "CallExpression", - "start": 23388, - "end": 23418, + "start": 23833, + "end": 23863, "loc": { "start": { - "line": 710, + "line": 725, "column": 28 }, "end": { - "line": 710, + "line": 725, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 23388, - "end": 23410, + "start": 23833, + "end": 23855, "loc": { "start": { - "line": 710, + "line": 725, "column": 28 }, "end": { - "line": 710, + "line": 725, "column": 50 } }, "object": { "type": "Identifier", - "start": 23388, - "end": 23396, + "start": 23833, + "end": 23841, "loc": { "start": { - "line": 710, + "line": 725, "column": 28 }, "end": { - "line": 710, + "line": 725, "column": 36 }, "identifierName": "document" @@ -76904,15 +78864,15 @@ }, "property": { "type": "Identifier", - "start": 23397, - "end": 23410, + "start": 23842, + "end": 23855, "loc": { "start": { - "line": 710, + "line": 725, "column": 37 }, "end": { - "line": 710, + "line": 725, "column": 50 }, "identifierName": "createElement" @@ -76924,15 +78884,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 23411, - "end": 23417, + "start": 23856, + "end": 23862, "loc": { "start": { - "line": 710, + "line": 725, "column": 51 }, "end": { - "line": 710, + "line": 725, "column": 57 } }, @@ -76952,15 +78912,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 23300, - "end": 23358, + "start": 23745, + "end": 23803, "loc": { "start": { - "line": 707, + "line": 722, "column": 8 }, "end": { - "line": 709, + "line": 724, "column": 11 } } @@ -76969,58 +78929,58 @@ }, { "type": "ExpressionStatement", - "start": 23429, - "end": 23473, + "start": 23874, + "end": 23918, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 23429, - "end": 23472, + "start": 23874, + "end": 23917, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 23429, - "end": 23452, + "start": 23874, + "end": 23897, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 31 } }, "object": { "type": "Identifier", - "start": 23429, - "end": 23442, + "start": 23874, + "end": 23887, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 21 }, "identifierName": "buttonSpanDOM" @@ -77029,15 +78989,15 @@ }, "property": { "type": "Identifier", - "start": 23443, - "end": 23452, + "start": 23888, + "end": 23897, "loc": { "start": { - "line": 711, + "line": 726, "column": 22 }, "end": { - "line": 711, + "line": 726, "column": 31 }, "identifierName": "innerHTML" @@ -77048,15 +79008,15 @@ }, "right": { "type": "Identifier", - "start": 23455, - "end": 23472, + "start": 23900, + "end": 23917, "loc": { "start": { - "line": 711, + "line": 726, "column": 34 }, "end": { - "line": 711, + "line": 726, "column": 51 }, "identifierName": "buttonDisplayName" @@ -77067,57 +79027,57 @@ }, { "type": "ExpressionStatement", - "start": 23483, - "end": 23520, + "start": 23928, + "end": 23965, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 23483, - "end": 23519, + "start": 23928, + "end": 23964, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 23483, - "end": 23504, + "start": 23928, + "end": 23949, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 29 } }, "object": { "type": "Identifier", - "start": 23483, - "end": 23492, + "start": 23928, + "end": 23937, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 17 }, "identifierName": "buttonDOM" @@ -77126,15 +79086,15 @@ }, "property": { "type": "Identifier", - "start": 23493, - "end": 23504, + "start": 23938, + "end": 23949, "loc": { "start": { - "line": 712, + "line": 727, "column": 18 }, "end": { - "line": 712, + "line": 727, "column": 29 }, "identifierName": "appendChild" @@ -77146,15 +79106,15 @@ "arguments": [ { "type": "Identifier", - "start": 23505, - "end": 23518, + "start": 23950, + "end": 23963, "loc": { "start": { - "line": 712, + "line": 727, "column": 30 }, "end": { - "line": 712, + "line": 727, "column": 43 }, "identifierName": "buttonSpanDOM" @@ -77167,15 +79127,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 23532, - "end": 23585, + "start": 23977, + "end": 24030, "loc": { "start": { - "line": 714, + "line": 729, "column": 8 }, "end": { - "line": 716, + "line": 731, "column": 11 } } @@ -77184,29 +79144,29 @@ }, { "type": "IfStatement", - "start": 23595, - "end": 23672, + "start": 24040, + "end": 24117, "loc": { "start": { - "line": 717, + "line": 732, "column": 8 }, "end": { - "line": 718, + "line": 733, "column": 43 } }, "test": { "type": "UnaryExpression", - "start": 23598, - "end": 23626, + "start": 24043, + "end": 24071, "loc": { "start": { - "line": 717, + "line": 732, "column": 11 }, "end": { - "line": 717, + "line": 732, "column": 39 } }, @@ -77214,43 +79174,43 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 23599, - "end": 23626, + "start": 24044, + "end": 24071, "loc": { "start": { - "line": 717, + "line": 732, "column": 12 }, "end": { - "line": 717, + "line": 732, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 23599, - "end": 23618, + "start": 24044, + "end": 24063, "loc": { "start": { - "line": 717, + "line": 732, "column": 12 }, "end": { - "line": 717, + "line": 732, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 23599, - "end": 23603, + "start": 24044, + "end": 24048, "loc": { "start": { - "line": 717, + "line": 732, "column": 12 }, "end": { - "line": 717, + "line": 732, "column": 16 } }, @@ -77258,15 +79218,15 @@ }, "property": { "type": "Identifier", - "start": 23604, - "end": 23618, + "start": 24049, + "end": 24063, "loc": { "start": { - "line": 717, + "line": 732, "column": 17 }, "end": { - "line": 717, + "line": 732, "column": 31 }, "identifierName": "buttonElements" @@ -77278,15 +79238,15 @@ }, "property": { "type": "Identifier", - "start": 23619, - "end": 23625, + "start": 24064, + "end": 24070, "loc": { "start": { - "line": 717, + "line": 732, "column": 32 }, "end": { - "line": 717, + "line": 732, "column": 38 }, "identifierName": "button" @@ -77303,87 +79263,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 23639, - "end": 23672, + "start": 24084, + "end": 24117, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 23639, - "end": 23671, + "start": 24084, + "end": 24116, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 23639, - "end": 23666, + "start": 24084, + "end": 24111, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 23639, - "end": 23658, + "start": 24084, + "end": 24103, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 23639, - "end": 23643, + "start": 24084, + "end": 24088, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 14 } } }, "property": { "type": "Identifier", - "start": 23644, - "end": 23658, + "start": 24089, + "end": 24103, "loc": { "start": { - "line": 718, + "line": 733, "column": 15 }, "end": { - "line": 718, + "line": 733, "column": 29 }, "identifierName": "buttonElements" @@ -77394,15 +79354,15 @@ }, "property": { "type": "Identifier", - "start": 23659, - "end": 23665, + "start": 24104, + "end": 24110, "loc": { "start": { - "line": 718, + "line": 733, "column": 30 }, "end": { - "line": 718, + "line": 733, "column": 36 }, "identifierName": "button" @@ -77413,15 +79373,15 @@ }, "right": { "type": "ArrayExpression", - "start": 23669, - "end": 23671, + "start": 24114, + "end": 24116, "loc": { "start": { - "line": 718, + "line": 733, "column": 40 }, "end": { - "line": 718, + "line": 733, "column": 42 } }, @@ -77434,15 +79394,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 23532, - "end": 23585, + "start": 23977, + "end": 24030, "loc": { "start": { - "line": 714, + "line": 729, "column": 8 }, "end": { - "line": 716, + "line": 731, "column": 11 } } @@ -77451,100 +79411,100 @@ }, { "type": "ExpressionStatement", - "start": 23684, - "end": 23728, + "start": 24129, + "end": 24173, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 23684, - "end": 23727, + "start": 24129, + "end": 24172, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 23684, - "end": 23716, + "start": 24129, + "end": 24161, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 23684, - "end": 23711, + "start": 24129, + "end": 24156, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 23684, - "end": 23703, + "start": 24129, + "end": 24148, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 23684, - "end": 23688, + "start": 24129, + "end": 24133, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 12 } } }, "property": { "type": "Identifier", - "start": 23689, - "end": 23703, + "start": 24134, + "end": 24148, "loc": { "start": { - "line": 720, + "line": 735, "column": 13 }, "end": { - "line": 720, + "line": 735, "column": 27 }, "identifierName": "buttonElements" @@ -77555,15 +79515,15 @@ }, "property": { "type": "Identifier", - "start": 23704, - "end": 23710, + "start": 24149, + "end": 24155, "loc": { "start": { - "line": 720, + "line": 735, "column": 28 }, "end": { - "line": 720, + "line": 735, "column": 34 }, "identifierName": "button" @@ -77574,15 +79534,15 @@ }, "property": { "type": "Identifier", - "start": 23712, - "end": 23716, + "start": 24157, + "end": 24161, "loc": { "start": { - "line": 720, + "line": 735, "column": 36 }, "end": { - "line": 720, + "line": 735, "column": 40 }, "identifierName": "push" @@ -77594,15 +79554,15 @@ "arguments": [ { "type": "Identifier", - "start": 23717, - "end": 23726, + "start": 24162, + "end": 24171, "loc": { "start": { - "line": 720, + "line": 735, "column": 41 }, "end": { - "line": 720, + "line": 735, "column": 50 }, "identifierName": "buttonDOM" @@ -77615,15 +79575,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 23740, - "end": 23792, + "start": 24185, + "end": 24237, "loc": { "start": { - "line": 722, + "line": 737, "column": 8 }, "end": { - "line": 724, + "line": 739, "column": 11 } } @@ -77632,57 +79592,57 @@ }, { "type": "ExpressionStatement", - "start": 23802, - "end": 23832, + "start": 24247, + "end": 24277, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 23802, - "end": 23831, + "start": 24247, + "end": 24276, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 23802, - "end": 23820, + "start": 24247, + "end": 24265, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 26 } }, "object": { "type": "Identifier", - "start": 23802, - "end": 23808, + "start": 24247, + "end": 24253, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 14 }, "identifierName": "rowDOM" @@ -77692,15 +79652,15 @@ }, "property": { "type": "Identifier", - "start": 23809, - "end": 23820, + "start": 24254, + "end": 24265, "loc": { "start": { - "line": 725, + "line": 740, "column": 15 }, "end": { - "line": 725, + "line": 740, "column": 26 }, "identifierName": "appendChild" @@ -77713,15 +79673,15 @@ "arguments": [ { "type": "Identifier", - "start": 23821, - "end": 23830, + "start": 24266, + "end": 24275, "loc": { "start": { - "line": 725, + "line": 740, "column": 27 }, "end": { - "line": 725, + "line": 740, "column": 36 }, "identifierName": "buttonDOM" @@ -77735,15 +79695,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 23740, - "end": 23792, + "start": 24185, + "end": 24237, "loc": { "start": { - "line": 722, + "line": 737, "column": 8 }, "end": { - "line": 724, + "line": 739, "column": 11 } } @@ -77761,15 +79721,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 22010, - "end": 22071, + "start": 22394, + "end": 22455, "loc": { "start": { - "line": 674, + "line": 686, "column": 6 }, "end": { - "line": 676, + "line": 688, "column": 9 } } @@ -77779,15 +79739,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 23855, - "end": 23905, + "start": 24300, + "end": 24350, "loc": { "start": { - "line": 729, + "line": 744, "column": 6 }, "end": { - "line": 731, + "line": 746, "column": 9 } } @@ -77796,71 +79756,71 @@ }, { "type": "ExpressionStatement", - "start": 23913, - "end": 23950, + "start": 24358, + "end": 24395, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 23913, - "end": 23949, + "start": 24358, + "end": 24394, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 23913, - "end": 23941, + "start": 24358, + "end": 24386, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 23913, - "end": 23929, + "start": 24358, + "end": 24374, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 23913, - "end": 23917, + "start": 24358, + "end": 24362, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 10 } }, @@ -77868,15 +79828,15 @@ }, "property": { "type": "Identifier", - "start": 23918, - "end": 23929, + "start": 24363, + "end": 24374, "loc": { "start": { - "line": 732, + "line": 747, "column": 11 }, "end": { - "line": 732, + "line": 747, "column": 22 }, "identifierName": "keyboardDOM" @@ -77888,15 +79848,15 @@ }, "property": { "type": "Identifier", - "start": 23930, - "end": 23941, + "start": 24375, + "end": 24386, "loc": { "start": { - "line": 732, + "line": 747, "column": 23 }, "end": { - "line": 732, + "line": 747, "column": 34 }, "identifierName": "appendChild" @@ -77909,15 +79869,15 @@ "arguments": [ { "type": "Identifier", - "start": 23942, - "end": 23948, + "start": 24387, + "end": 24393, "loc": { "start": { - "line": 732, + "line": 747, "column": 35 }, "end": { - "line": 732, + "line": 747, "column": 41 }, "identifierName": "rowDOM" @@ -77931,15 +79891,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 23855, - "end": 23905, + "start": 24300, + "end": 24350, "loc": { "start": { - "line": 729, + "line": 744, "column": 6 }, "end": { - "line": 731, + "line": 746, "column": 9 } } @@ -77957,15 +79917,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 21710, - "end": 21757, + "start": 22094, + "end": 22141, "loc": { "start": { - "line": 662, + "line": 674, "column": 4 }, "end": { - "line": 664, + "line": 676, "column": 7 } } @@ -77975,15 +79935,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 23967, - "end": 24004, + "start": 24412, + "end": 24449, "loc": { "start": { - "line": 735, + "line": 750, "column": 4 }, "end": { - "line": 737, + "line": 752, "column": 7 } } @@ -77992,57 +79952,57 @@ }, { "type": "ExpressionStatement", - "start": 24010, - "end": 24026, + "start": 24455, + "end": 24471, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 24010, - "end": 24025, + "start": 24455, + "end": 24470, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 24010, - "end": 24023, + "start": 24455, + "end": 24468, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 24010, - "end": 24014, + "start": 24455, + "end": 24459, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 8 } }, @@ -78050,15 +80010,15 @@ }, "property": { "type": "Identifier", - "start": 24015, - "end": 24023, + "start": 24460, + "end": 24468, "loc": { "start": { - "line": 738, + "line": 753, "column": 9 }, "end": { - "line": 738, + "line": 753, "column": 17 }, "identifierName": "onRender" @@ -78075,15 +80035,219 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 23967, - "end": 24004, + "start": 24412, + "end": 24449, "loc": { "start": { - "line": 735, + "line": 750, "column": 4 }, "end": { - "line": 737, + "line": 752, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 24479, + "end": 24516, + "loc": { + "start": { + "line": 755, + "column": 4 + }, + "end": { + "line": 757, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 24522, + "end": 24576, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 58 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 24522, + "end": 24575, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 57 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24522, + "end": 24540, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 24522, + "end": 24530, + "loc": { + "start": { + "line": 758, + "column": 4 + }, + "end": { + "line": 758, + "column": 12 + }, + "identifierName": "document" + }, + "name": "document", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 24531, + "end": 24540, + "loc": { + "start": { + "line": 758, + "column": 13 + }, + "end": { + "line": 758, + "column": 22 + }, + "identifierName": "onmouseup" + }, + "name": "onmouseup" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrowFunctionExpression", + "start": 24543, + "end": 24575, + "loc": { + "start": { + "line": 758, + "column": 25 + }, + "end": { + "line": 758, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 24549, + "end": 24575, + "loc": { + "start": { + "line": 758, + "column": 31 + }, + "end": { + "line": 758, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24549, + "end": 24573, + "loc": { + "start": { + "line": 758, + "column": 31 + }, + "end": { + "line": 758, + "column": 55 + } + }, + "object": { + "type": "ThisExpression", + "start": 24549, + "end": 24553, + "loc": { + "start": { + "line": 758, + "column": 31 + }, + "end": { + "line": 758, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 24554, + "end": 24573, + "loc": { + "start": { + "line": 758, + "column": 36 + }, + "end": { + "line": 758, + "column": 55 + }, + "identifierName": "handleButtonMouseUp" + }, + "name": "handleButtonMouseUp" + }, + "computed": false + }, + "arguments": [] + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 24479, + "end": 24516, + "loc": { + "start": { + "line": 755, + "column": 4 + }, + "end": { + "line": 757, "column": 7 } } @@ -78092,29 +80256,29 @@ }, { "type": "IfStatement", - "start": 24034, - "end": 24369, + "start": 24584, + "end": 24806, "loc": { "start": { - "line": 740, + "line": 760, "column": 4 }, "end": { - "line": 755, + "line": 770, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 24037, - "end": 24054, + "start": 24587, + "end": 24604, "loc": { "start": { - "line": 740, + "line": 760, "column": 7 }, "end": { - "line": 740, + "line": 760, "column": 24 } }, @@ -78122,44 +80286,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 24038, - "end": 24054, + "start": 24588, + "end": 24604, "loc": { "start": { - "line": 740, + "line": 760, "column": 8 }, "end": { - "line": 740, + "line": 760, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 24038, - "end": 24042, + "start": 24588, + "end": 24592, "loc": { "start": { - "line": 740, + "line": 760, "column": 8 }, "end": { - "line": 740, + "line": 760, "column": 12 } } }, "property": { "type": "Identifier", - "start": 24043, - "end": 24054, + "start": 24593, + "end": 24604, "loc": { "start": { - "line": 740, + "line": 760, "column": 13 }, "end": { - "line": 740, + "line": 760, "column": 24 }, "identifierName": "initialized" @@ -78174,73 +80338,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 24055, - "end": 24369, + "start": 24605, + "end": 24806, "loc": { "start": { - "line": 740, + "line": 760, "column": 25 }, "end": { - "line": 755, + "line": 770, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 24154, - "end": 24178, + "start": 24704, + "end": 24728, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 24154, - "end": 24177, + "start": 24704, + "end": 24727, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 24154, - "end": 24170, + "start": 24704, + "end": 24720, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 24154, - "end": 24158, + "start": 24704, + "end": 24708, "loc": { "start": { - "line": 744, + "line": 764, "column": 6 }, "end": { - "line": 744, + "line": 764, "column": 10 } }, @@ -78248,15 +80412,15 @@ }, "property": { "type": "Identifier", - "start": 24159, - "end": 24170, + "start": 24709, + "end": 24720, "loc": { "start": { - "line": 744, + "line": 764, "column": 11 }, "end": { - "line": 744, + "line": 764, "column": 22 }, "identifierName": "initialized" @@ -78268,15 +80432,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 24173, - "end": 24177, + "start": 24723, + "end": 24727, "loc": { "start": { - "line": 744, + "line": 764, "column": 25 }, "end": { - "line": 744, + "line": 764, "column": 29 } }, @@ -78288,219 +80452,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 24064, - "end": 24146, + "start": 24614, + "end": 24696, "loc": { "start": { - "line": 741, + "line": 761, "column": 6 }, "end": { - "line": 743, - "column": 9 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Handling mouseup\r\n ", - "start": 24188, - "end": 24229, - "loc": { - "start": { - "line": 746, - "column": 6 - }, - "end": { - "line": 748, - "column": 9 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 24237, - "end": 24291, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 60 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 24237, - "end": 24290, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 59 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 24237, - "end": 24255, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 24237, - "end": 24245, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 14 - }, - "identifierName": "document" - }, - "name": "document", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 24246, - "end": 24255, - "loc": { - "start": { - "line": 749, - "column": 15 - }, - "end": { - "line": 749, - "column": 24 - }, - "identifierName": "onmouseup" - }, - "name": "onmouseup" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "ArrowFunctionExpression", - "start": 24258, - "end": 24290, - "loc": { - "start": { - "line": 749, - "column": 27 - }, - "end": { - "line": 749, - "column": 59 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "CallExpression", - "start": 24264, - "end": 24290, - "loc": { - "start": { - "line": 749, - "column": 33 - }, - "end": { - "line": 749, - "column": 59 - } - }, - "callee": { - "type": "MemberExpression", - "start": 24264, - "end": 24288, - "loc": { - "start": { - "line": 749, - "column": 33 - }, - "end": { - "line": 749, - "column": 57 - } - }, - "object": { - "type": "ThisExpression", - "start": 24264, - "end": 24268, - "loc": { - "start": { - "line": 749, - "column": 33 - }, - "end": { - "line": 749, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 24269, - "end": 24288, - "loc": { - "start": { - "line": 749, - "column": 38 - }, - "end": { - "line": 749, - "column": 57 - }, - "identifierName": "handleButtonMouseUp" - }, - "name": "handleButtonMouseUp" - }, - "computed": false - }, - "arguments": [] - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Handling mouseup\r\n ", - "start": 24188, - "end": 24229, - "loc": { - "start": { - "line": 746, - "column": 6 - }, - "end": { - "line": 748, + "line": 763, "column": 9 } } @@ -78510,15 +80470,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 24301, - "end": 24340, + "start": 24738, + "end": 24777, "loc": { "start": { - "line": 751, + "line": 766, "column": 6 }, "end": { - "line": 753, + "line": 768, "column": 9 } } @@ -78527,57 +80487,57 @@ }, { "type": "ExpressionStatement", - "start": 24348, - "end": 24362, + "start": 24785, + "end": 24799, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 24348, - "end": 24361, + "start": 24785, + "end": 24798, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 24348, - "end": 24359, + "start": 24785, + "end": 24796, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 24348, - "end": 24352, + "start": 24785, + "end": 24789, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 10 } }, @@ -78585,15 +80545,15 @@ }, "property": { "type": "Identifier", - "start": 24353, - "end": 24359, + "start": 24790, + "end": 24796, "loc": { "start": { - "line": 754, + "line": 769, "column": 11 }, "end": { - "line": 754, + "line": 769, "column": 17 }, "identifierName": "onInit" @@ -78610,15 +80570,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 24301, - "end": 24340, + "start": 24738, + "end": 24777, "loc": { "start": { - "line": 751, + "line": 766, "column": 6 }, "end": { - "line": 753, + "line": 768, "column": 9 } } @@ -78637,15 +80597,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 19970, - "end": 20026, + "start": 20354, + "end": 20410, "loc": { "start": { - "line": 611, + "line": 623, "column": 2 }, "end": { - "line": 613, + "line": 625, "column": 5 } } @@ -78972,15 +80932,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 8114, - "end": 8191, + "start": 8128, + "end": 8205, "loc": { "start": { - "line": 180, + "line": 182, "column": 6 }, "end": { - "line": 182, + "line": 184, "column": 9 } } @@ -78988,15 +80948,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8473, - "end": 8532, + "start": 8608, + "end": 8667, "loc": { "start": { - "line": 192, + "line": 196, "column": 6 }, "end": { - "line": 194, + "line": 198, "column": 9 } } @@ -79004,15 +80964,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8631, - "end": 8672, + "start": 8766, + "end": 8807, "loc": { "start": { - "line": 198, + "line": 202, "column": 6 }, "end": { - "line": 200, + "line": 204, "column": 9 } } @@ -79020,15 +80980,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", - "start": 8886, - "end": 8927, + "start": 9021, + "end": 9062, "loc": { "start": { - "line": 210, + "line": 214, "column": 2 }, "end": { - "line": 212, + "line": 216, "column": 5 } } @@ -79036,15 +80996,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 8931, - "end": 8957, + "start": 9066, + "end": 9092, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 213, + "line": 217, "column": 28 } } @@ -79052,15 +81012,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", - "start": 9000, - "end": 9079, + "start": 9135, + "end": 9214, "loc": { "start": { - "line": 215, + "line": 219, "column": 4 }, "end": { - "line": 217, + "line": 221, "column": 7 } } @@ -79068,15 +81028,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", - "start": 9273, - "end": 9350, + "start": 9408, + "end": 9485, "loc": { "start": { - "line": 226, + "line": 230, "column": 4 }, "end": { - "line": 228, + "line": 232, "column": 7 } } @@ -79084,15 +81044,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", - "start": 9826, - "end": 9865, + "start": 9961, + "end": 10000, "loc": { "start": { - "line": 248, + "line": 252, "column": 2 }, "end": { - "line": 250, + "line": 254, "column": 5 } } @@ -79100,15 +81060,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", - "start": 10020, - "end": 10056, + "start": 10155, + "end": 10191, "loc": { "start": { - "line": 257, + "line": 261, "column": 2 }, "end": { - "line": 259, + "line": 263, "column": 5 } } @@ -79116,15 +81076,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 10060, - "end": 10086, + "start": 10195, + "end": 10221, "loc": { "start": { - "line": 260, + "line": 264, "column": 2 }, "end": { - "line": 260, + "line": 264, "column": 28 } } @@ -79132,15 +81092,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", - "start": 10121, - "end": 10207, + "start": 10345, + "end": 10431, "loc": { "start": { - "line": 262, + "line": 269, "column": 4 }, "end": { - "line": 264, + "line": 271, "column": 7 } } @@ -79148,15 +81108,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 10365, - "end": 10462, + "start": 10699, + "end": 10796, "loc": { "start": { - "line": 271, + "line": 282, "column": 2 }, "end": { - "line": 273, + "line": 284, "column": 5 } } @@ -79164,15 +81124,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10586, - "end": 10704, + "start": 10920, + "end": 11038, "loc": { "start": { - "line": 280, + "line": 291, "column": 2 }, "end": { - "line": 283, + "line": 294, "column": 5 } } @@ -79180,15 +81140,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 10838, - "end": 10893, + "start": 11172, + "end": 11227, "loc": { "start": { - "line": 288, + "line": 299, "column": 4 }, "end": { - "line": 290, + "line": 301, "column": 7 } } @@ -79196,15 +81156,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10989, - "end": 11151, + "start": 11323, + "end": 11485, "loc": { "start": { - "line": 295, + "line": 306, "column": 2 }, "end": { - "line": 298, + "line": 309, "column": 5 } } @@ -79212,15 +81172,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11237, - "end": 11292, + "start": 11571, + "end": 11626, "loc": { "start": { - "line": 302, + "line": 313, "column": 4 }, "end": { - "line": 304, + "line": 315, "column": 7 } } @@ -79228,15 +81188,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 11438, - "end": 11598, + "start": 11772, + "end": 11932, "loc": { "start": { - "line": 311, + "line": 322, "column": 2 }, "end": { - "line": 315, + "line": 326, "column": 5 } } @@ -79244,15 +81204,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11727, - "end": 11782, + "start": 12061, + "end": 12116, "loc": { "start": { - "line": 320, + "line": 331, "column": 4 }, "end": { - "line": 322, + "line": 333, "column": 7 } } @@ -79260,15 +81220,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 11880, - "end": 11989, + "start": 12214, + "end": 12323, "loc": { "start": { - "line": 327, + "line": 338, "column": 2 }, "end": { - "line": 330, + "line": 341, "column": 5 } } @@ -79276,15 +81236,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 12055, - "end": 12181, + "start": 12389, + "end": 12515, "loc": { "start": { - "line": 335, + "line": 346, "column": 2 }, "end": { - "line": 338, + "line": 349, "column": 5 } } @@ -79292,15 +81252,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 12325, - "end": 12434, + "start": 12659, + "end": 12768, "loc": { "start": { - "line": 345, + "line": 356, "column": 2 }, "end": { - "line": 348, + "line": 359, "column": 5 } } @@ -79308,15 +81268,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 12583, - "end": 12788, + "start": 12917, + "end": 13122, "loc": { "start": { - "line": 355, + "line": 366, "column": 2 }, "end": { - "line": 358, + "line": 369, "column": 5 } } @@ -79324,15 +81284,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 13166, - "end": 13447, + "start": 13500, + "end": 13781, "loc": { "start": { - "line": 370, + "line": 381, "column": 2 }, "end": { - "line": 374, + "line": 385, "column": 5 } } @@ -79340,15 +81300,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 13774, - "end": 13865, + "start": 14108, + "end": 14199, "loc": { "start": { - "line": 386, + "line": 397, "column": 8 }, "end": { - "line": 388, + "line": 399, "column": 11 } } @@ -79356,15 +81316,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 14395, - "end": 14470, + "start": 14729, + "end": 14804, "loc": { "start": { - "line": 404, + "line": 415, "column": 8 }, "end": { - "line": 406, + "line": 417, "column": 11 } } @@ -79372,15 +81332,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 14689, - "end": 15029, + "start": 15023, + "end": 15363, "loc": { "start": { - "line": 420, + "line": 431, "column": 2 }, "end": { - "line": 424, + "line": 435, "column": 5 } } @@ -79388,15 +81348,15 @@ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 15077, - "end": 15157, + "start": 15411, + "end": 15491, "loc": { "start": { - "line": 426, + "line": 437, "column": 4 }, "end": { - "line": 428, + "line": 439, "column": 7 } } @@ -79404,15 +81364,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 15286, - "end": 15354, + "start": 15620, + "end": 15688, "loc": { "start": { - "line": 435, + "line": 446, "column": 4 }, "end": { - "line": 437, + "line": 448, "column": 7 } } @@ -79420,15 +81380,15 @@ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 15619, - "end": 15760, + "start": 15953, + "end": 16094, "loc": { "start": { - "line": 443, + "line": 454, "column": 10 }, "end": { - "line": 446, + "line": 457, "column": 13 } } @@ -79436,15 +81396,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 16001, - "end": 16098, + "start": 16335, + "end": 16432, "loc": { "start": { - "line": 453, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 466, "column": 15 } } @@ -79452,15 +81412,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 16456, - "end": 16659, + "start": 16790, + "end": 16993, "loc": { "start": { - "line": 473, + "line": 484, "column": 2 }, "end": { - "line": 476, + "line": 487, "column": 5 } } @@ -79468,15 +81428,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 16936, - "end": 17026, + "start": 17270, + "end": 17360, "loc": { "start": { - "line": 492, + "line": 503, "column": 2 }, "end": { - "line": 494, + "line": 505, "column": 5 } } @@ -79484,15 +81444,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 17339, - "end": 17451, + "start": 17673, + "end": 17785, "loc": { "start": { - "line": 505, + "line": 516, "column": 2 }, "end": { - "line": 507, + "line": 518, "column": 5 } } @@ -79500,15 +81460,15 @@ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 17640, - "end": 17788, + "start": 18024, + "end": 18172, "loc": { "start": { - "line": 515, + "line": 527, "column": 6 }, "end": { - "line": 518, + "line": 530, "column": 9 } } @@ -79516,15 +81476,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 18011, - "end": 18131, + "start": 18395, + "end": 18515, "loc": { "start": { - "line": 527, + "line": 539, "column": 2 }, "end": { - "line": 529, + "line": 541, "column": 5 } } @@ -79532,15 +81492,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 18223, - "end": 18258, + "start": 18607, + "end": 18642, "loc": { "start": { - "line": 535, + "line": 547, "column": 4 }, "end": { - "line": 537, + "line": 549, "column": 7 } } @@ -79548,15 +81508,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 18377, - "end": 18495, + "start": 18761, + "end": 18879, "loc": { "start": { - "line": 544, + "line": 556, "column": 2 }, "end": { - "line": 546, + "line": 558, "column": 5 } } @@ -79564,15 +81524,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", - "start": 18605, - "end": 18684, + "start": 18989, + "end": 19068, "loc": { "start": { - "line": 552, + "line": 564, "column": 1 }, "end": { - "line": 554, + "line": 566, "column": 4 } } @@ -79580,15 +81540,15 @@ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", - "start": 18816, - "end": 18848, + "start": 19200, + "end": 19232, "loc": { "start": { - "line": 560, + "line": 572, "column": 2 }, "end": { - "line": 562, + "line": 574, "column": 5 } } @@ -79596,15 +81556,15 @@ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", - "start": 19007, - "end": 19036, + "start": 19391, + "end": 19420, "loc": { "start": { - "line": 570, + "line": 582, "column": 2 }, "end": { - "line": 572, + "line": 584, "column": 5 } } @@ -79612,15 +81572,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 19196, - "end": 19222, + "start": 19580, + "end": 19606, "loc": { "start": { - "line": 578, + "line": 590, "column": 8 }, "end": { - "line": 578, + "line": 590, "column": 34 } } @@ -79628,15 +81588,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 19687, - "end": 19719, + "start": 20071, + "end": 20103, "loc": { "start": { - "line": 594, + "line": 606, "column": 2 }, "end": { - "line": 596, + "line": 608, "column": 5 } } @@ -79644,15 +81604,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 19861, - "end": 19892, + "start": 20245, + "end": 20276, "loc": { "start": { - "line": 604, + "line": 616, "column": 2 }, "end": { - "line": 606, + "line": 618, "column": 5 } } @@ -79660,15 +81620,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 19970, - "end": 20026, + "start": 20354, + "end": 20410, "loc": { "start": { - "line": 611, + "line": 623, "column": 2 }, "end": { - "line": 613, + "line": 625, "column": 5 } } @@ -79676,15 +81636,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", - "start": 20045, - "end": 20080, + "start": 20429, + "end": 20464, "loc": { "start": { - "line": 615, + "line": 627, "column": 4 }, "end": { - "line": 617, + "line": 629, "column": 7 } } @@ -79692,15 +81652,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 20291, - "end": 20343, + "start": 20675, + "end": 20727, "loc": { "start": { - "line": 623, + "line": 635, "column": 4 }, "end": { - "line": 625, + "line": 637, "column": 7 } } @@ -79708,15 +81668,15 @@ { "type": "CommentLine", "value": " If the button has already been added", - "start": 20850, - "end": 20889, + "start": 21234, + "end": 21273, "loc": { "start": { - "line": 640, + "line": 652, "column": 14 }, "end": { - "line": 640, + "line": 652, "column": 53 } } @@ -79724,15 +81684,15 @@ { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 20939, - "end": 21022, + "start": 21323, + "end": 21406, "loc": { "start": { - "line": 642, + "line": 654, "column": 16 }, "end": { - "line": 642, + "line": 654, "column": 99 } } @@ -79740,15 +81700,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 21530, - "end": 21596, + "start": 21914, + "end": 21980, "loc": { "start": { - "line": 657, + "line": 669, "column": 4 }, "end": { - "line": 659, + "line": 671, "column": 7 } } @@ -79756,15 +81716,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 21710, - "end": 21757, + "start": 22094, + "end": 22141, "loc": { "start": { - "line": 662, + "line": 674, "column": 4 }, "end": { - "line": 664, + "line": 676, "column": 7 } } @@ -79772,15 +81732,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", - "start": 21869, - "end": 21912, + "start": 22253, + "end": 22296, "loc": { "start": { - "line": 668, + "line": 680, "column": 6 }, "end": { - "line": 670, + "line": 682, "column": 9 } } @@ -79788,15 +81748,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 22010, - "end": 22071, + "start": 22394, + "end": 22455, "loc": { "start": { - "line": 674, + "line": 686, "column": 6 }, "end": { - "line": 676, + "line": 688, "column": 9 } } @@ -79804,15 +81764,15 @@ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", - "start": 22382, - "end": 22426, + "start": 22766, + "end": 22810, "loc": { "start": { - "line": 682, + "line": 694, "column": 8 }, "end": { - "line": 684, + "line": 696, "column": 11 } } @@ -79820,15 +81780,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", - "start": 22749, - "end": 22795, + "start": 23194, + "end": 23240, "loc": { "start": { - "line": 690, + "line": 705, "column": 8 }, "end": { - "line": 692, + "line": 707, "column": 11 } } @@ -79836,15 +81796,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 22862, - "end": 23017, + "start": 23307, + "end": 23462, "loc": { "start": { - "line": 695, + "line": 710, "column": 8 }, "end": { - "line": 698, + "line": 713, "column": 11 } } @@ -79852,15 +81812,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", - "start": 23166, - "end": 23215, + "start": 23611, + "end": 23660, "loc": { "start": { - "line": 702, + "line": 717, "column": 8 }, "end": { - "line": 704, + "line": 719, "column": 11 } } @@ -79868,40 +81828,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", - "start": 23300, - "end": 23358, - "loc": { - "start": { - "line": 707, - "column": 8 - }, - "end": { - "line": 709, - "column": 11 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 23532, - "end": 23585, - "loc": { - "start": { - "line": 714, - "column": 8 - }, - "end": { - "line": 716, - "column": 11 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Appending button to row\r\n ", - "start": 23740, - "end": 23792, + "start": 23745, + "end": 23803, "loc": { "start": { "line": 722, @@ -79915,16 +81843,48 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 23855, - "end": 23905, + "value": "*\r\n * Adding to buttonElements\r\n ", + "start": 23977, + "end": 24030, "loc": { "start": { "line": 729, - "column": 6 + "column": 8 }, "end": { "line": 731, + "column": 11 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Appending button to row\r\n ", + "start": 24185, + "end": 24237, + "loc": { + "start": { + "line": 737, + "column": 8 + }, + "end": { + "line": 739, + "column": 11 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Appending row to keyboard\r\n ", + "start": 24300, + "end": 24350, + "loc": { + "start": { + "line": 744, + "column": 6 + }, + "end": { + "line": 746, "column": 9 } } @@ -79932,15 +81892,31 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 23967, - "end": 24004, + "start": 24412, + "end": 24449, "loc": { "start": { - "line": 735, + "line": 750, "column": 4 }, "end": { - "line": 737, + "line": 752, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 24479, + "end": 24516, + "loc": { + "start": { + "line": 755, + "column": 4 + }, + "end": { + "line": 757, "column": 7 } } @@ -79948,31 +81924,15 @@ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 24064, - "end": 24146, + "start": 24614, + "end": 24696, "loc": { "start": { - "line": 741, + "line": 761, "column": 6 }, "end": { - "line": 743, - "column": 9 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Handling mouseup\r\n ", - "start": 24188, - "end": 24229, - "loc": { - "start": { - "line": 746, - "column": 6 - }, - "end": { - "line": 748, + "line": 763, "column": 9 } } @@ -79980,15 +81940,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 24301, - "end": 24340, + "start": 24738, + "end": 24777, "loc": { "start": { - "line": 751, + "line": 766, "column": 6 }, "end": { - "line": 753, + "line": 768, "column": 9 } } @@ -97157,16 +99117,16 @@ "binop": null }, "value": "button", - "start": 7962, - "end": 7968, + "start": 7970, + "end": 7976, "loc": { "start": { - "line": 176, - "column": 54 + "line": 177, + "column": 6 }, "end": { - "line": 176, - "column": 60 + "line": 177, + "column": 12 } } }, @@ -97183,16 +99143,16 @@ "binop": null, "updateContext": null }, - "start": 7968, - "end": 7969, + "start": 7976, + "end": 7977, "loc": { "start": { - "line": 176, - "column": 60 + "line": 177, + "column": 12 }, "end": { - "line": 176, - "column": 61 + "line": 177, + "column": 13 } } }, @@ -97211,16 +99171,16 @@ "updateContext": null }, "value": "this", - "start": 7970, - "end": 7974, + "start": 7978, + "end": 7982, "loc": { "start": { - "line": 176, - "column": 62 + "line": 177, + "column": 14 }, "end": { - "line": 176, - "column": 66 + "line": 177, + "column": 18 } } }, @@ -97237,16 +99197,16 @@ "binop": null, "updateContext": null }, - "start": 7974, - "end": 7975, + "start": 7982, + "end": 7983, "loc": { "start": { - "line": 176, - "column": 66 + "line": 177, + "column": 18 }, "end": { - "line": 176, - "column": 67 + "line": 177, + "column": 19 } } }, @@ -97263,16 +99223,16 @@ "binop": null }, "value": "input", - "start": 7975, - "end": 7980, + "start": 7983, + "end": 7988, "loc": { "start": { - "line": 176, - "column": 67 + "line": 177, + "column": 19 }, "end": { - "line": 176, - "column": 72 + "line": 177, + "column": 24 } } }, @@ -97289,16 +99249,16 @@ "binop": null, "updateContext": null }, - "start": 7980, - "end": 7981, + "start": 7988, + "end": 7989, "loc": { "start": { - "line": 176, - "column": 72 + "line": 177, + "column": 24 }, "end": { - "line": 176, - "column": 73 + "line": 177, + "column": 25 } } }, @@ -97317,68 +99277,16 @@ "updateContext": null }, "value": "this", - "start": 7981, - "end": 7985, - "loc": { - "start": { - "line": 176, - "column": 73 - }, - "end": { - "line": 176, - "column": 77 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7985, - "end": 7986, - "loc": { - "start": { - "line": 176, - "column": 77 - }, - "end": { - "line": 176, - "column": 78 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 7986, + "start": 7989, "end": 7993, "loc": { "start": { - "line": 176, - "column": 78 + "line": 177, + "column": 25 }, "end": { - "line": 176, - "column": 85 + "line": 177, + "column": 29 } } }, @@ -97399,144 +99307,12 @@ "end": 7994, "loc": { "start": { - "line": 176, - "column": 85 + "line": 177, + "column": 29 }, "end": { - "line": 176, - "column": 86 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "inputName", - "start": 7994, - "end": 8003, - "loc": { - "start": { - "line": 176, - "column": 86 - }, - "end": { - "line": 176, - "column": 95 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8003, - "end": 8004, - "loc": { - "start": { - "line": 176, - "column": 95 - }, - "end": { - "line": 176, - "column": 96 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8004, - "end": 8005, - "loc": { - "start": { - "line": 176, - "column": 96 - }, - "end": { - "line": 176, - "column": 97 - } - } - }, - { - "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": 8006, - "end": 8010, - "loc": { - "start": { - "line": 176, - "column": 98 - }, - "end": { - "line": 176, - "column": 102 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8010, - "end": 8011, - "loc": { - "start": { - "line": 176, - "column": 102 - }, - "end": { - "line": 176, - "column": 103 + "line": 177, + "column": 30 } } }, @@ -97553,16 +99329,94 @@ "binop": null }, "value": "options", - "start": 8011, - "end": 8018, + "start": 7994, + "end": 8001, "loc": { "start": { - "line": 176, - "column": 103 + "line": 177, + "column": 30 }, "end": { - "line": 176, - "column": 110 + "line": 177, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8001, + "end": 8002, + "loc": { + "start": { + "line": 177, + "column": 37 + }, + "end": { + "line": 177, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8002, + "end": 8011, + "loc": { + "start": { + "line": 177, + "column": 38 + }, + "end": { + "line": 177, + "column": 47 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8011, + "end": 8012, + "loc": { + "start": { + "line": 177, + "column": 47 + }, + "end": { + "line": 177, + "column": 48 } } }, @@ -97579,16 +99433,16 @@ "binop": null, "updateContext": null }, - "start": 8018, - "end": 8019, + "start": 8012, + "end": 8013, "loc": { "start": { - "line": 176, - "column": 110 + "line": 177, + "column": 48 }, "end": { - "line": 176, - "column": 111 + "line": 177, + "column": 49 } } }, @@ -97607,16 +99461,16 @@ "updateContext": null }, "value": "this", - "start": 8020, - "end": 8024, + "start": 8014, + "end": 8018, "loc": { "start": { - "line": 176, - "column": 112 + "line": 177, + "column": 50 }, "end": { - "line": 176, - "column": 116 + "line": 177, + "column": 54 } } }, @@ -97633,16 +99487,122 @@ "binop": null, "updateContext": null }, - "start": 8024, - "end": 8025, + "start": 8018, + "end": 8019, "loc": { "start": { - "line": 176, - "column": 116 + "line": 177, + "column": 54 }, "end": { - "line": 176, - "column": 117 + "line": 177, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8019, + "end": 8026, + "loc": { + "start": { + "line": 177, + "column": 55 + }, + "end": { + "line": 177, + "column": 62 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8026, + "end": 8027, + "loc": { + "start": { + "line": 177, + "column": 62 + }, + "end": { + "line": 177, + "column": 63 + } + } + }, + { + "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": 8028, + "end": 8032, + "loc": { + "start": { + "line": 177, + "column": 64 + }, + "end": { + "line": 177, + "column": 68 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8032, + "end": 8033, + "loc": { + "start": { + "line": 177, + "column": 68 + }, + "end": { + "line": 177, + "column": 69 } } }, @@ -97659,16 +99619,16 @@ "binop": null }, "value": "caretPosition", - "start": 8025, - "end": 8038, + "start": 8033, + "end": 8046, "loc": { "start": { - "line": 176, - "column": 117 + "line": 177, + "column": 69 }, "end": { - "line": 176, - "column": 130 + "line": 177, + "column": 82 } } }, @@ -97684,16 +99644,16 @@ "postfix": false, "binop": null }, - "start": 8038, - "end": 8039, + "start": 8052, + "end": 8053, "loc": { "start": { - "line": 176, - "column": 130 + "line": 178, + "column": 4 }, "end": { - "line": 176, - "column": 131 + "line": 178, + "column": 5 } } }, @@ -97710,16 +99670,16 @@ "binop": null, "updateContext": null }, - "start": 8039, - "end": 8040, + "start": 8053, + "end": 8054, "loc": { "start": { - "line": 176, - "column": 131 + "line": 178, + "column": 5 }, "end": { - "line": 176, - "column": 132 + "line": 178, + "column": 6 } } }, @@ -97738,15 +99698,15 @@ "updateContext": null }, "value": "if", - "start": 8048, - "end": 8050, + "start": 8062, + "end": 8064, "loc": { "start": { - "line": 178, + "line": 180, "column": 4 }, "end": { - "line": 178, + "line": 180, "column": 6 } } @@ -97763,15 +99723,15 @@ "postfix": false, "binop": null }, - "start": 8050, - "end": 8051, + "start": 8064, + "end": 8065, "loc": { "start": { - "line": 178, + "line": 180, "column": 6 }, "end": { - "line": 178, + "line": 180, "column": 7 } } @@ -97791,15 +99751,15 @@ "updateContext": null }, "value": "this", - "start": 8051, - "end": 8055, + "start": 8065, + "end": 8069, "loc": { "start": { - "line": 178, + "line": 180, "column": 7 }, "end": { - "line": 178, + "line": 180, "column": 11 } } @@ -97817,15 +99777,15 @@ "binop": null, "updateContext": null }, - "start": 8055, - "end": 8056, + "start": 8069, + "end": 8070, "loc": { "start": { - "line": 178, + "line": 180, "column": 11 }, "end": { - "line": 178, + "line": 180, "column": 12 } } @@ -97843,15 +99803,15 @@ "binop": null }, "value": "input", - "start": 8056, - "end": 8061, + "start": 8070, + "end": 8075, "loc": { "start": { - "line": 178, + "line": 180, "column": 12 }, "end": { - "line": 178, + "line": 180, "column": 17 } } @@ -97869,15 +99829,15 @@ "binop": null, "updateContext": null }, - "start": 8061, - "end": 8062, + "start": 8075, + "end": 8076, "loc": { "start": { - "line": 178, + "line": 180, "column": 17 }, "end": { - "line": 178, + "line": 180, "column": 18 } } @@ -97897,15 +99857,15 @@ "updateContext": null }, "value": "this", - "start": 8062, - "end": 8066, + "start": 8076, + "end": 8080, "loc": { "start": { - "line": 178, + "line": 180, "column": 18 }, "end": { - "line": 178, + "line": 180, "column": 22 } } @@ -97923,15 +99883,15 @@ "binop": null, "updateContext": null }, - "start": 8066, - "end": 8067, + "start": 8080, + "end": 8081, "loc": { "start": { - "line": 178, + "line": 180, "column": 22 }, "end": { - "line": 178, + "line": 180, "column": 23 } } @@ -97949,15 +99909,15 @@ "binop": null }, "value": "options", - "start": 8067, - "end": 8074, + "start": 8081, + "end": 8088, "loc": { "start": { - "line": 178, + "line": 180, "column": 23 }, "end": { - "line": 178, + "line": 180, "column": 30 } } @@ -97975,15 +99935,15 @@ "binop": null, "updateContext": null }, - "start": 8074, - "end": 8075, + "start": 8088, + "end": 8089, "loc": { "start": { - "line": 178, + "line": 180, "column": 30 }, "end": { - "line": 178, + "line": 180, "column": 31 } } @@ -98001,15 +99961,15 @@ "binop": null }, "value": "inputName", - "start": 8075, - "end": 8084, + "start": 8089, + "end": 8098, "loc": { "start": { - "line": 178, + "line": 180, "column": 31 }, "end": { - "line": 178, + "line": 180, "column": 40 } } @@ -98027,15 +99987,15 @@ "binop": null, "updateContext": null }, - "start": 8084, - "end": 8085, + "start": 8098, + "end": 8099, "loc": { "start": { - "line": 178, + "line": 180, "column": 40 }, "end": { - "line": 178, + "line": 180, "column": 41 } } @@ -98054,15 +100014,15 @@ "updateContext": null }, "value": "!==", - "start": 8086, - "end": 8089, + "start": 8100, + "end": 8103, "loc": { "start": { - "line": 178, + "line": 180, "column": 42 }, "end": { - "line": 178, + "line": 180, "column": 45 } } @@ -98080,15 +100040,15 @@ "binop": null }, "value": "updatedInput", - "start": 8090, - "end": 8102, + "start": 8104, + "end": 8116, "loc": { "start": { - "line": 178, + "line": 180, "column": 46 }, "end": { - "line": 178, + "line": 180, "column": 58 } } @@ -98105,15 +100065,15 @@ "postfix": false, "binop": null }, - "start": 8102, - "end": 8103, + "start": 8116, + "end": 8117, "loc": { "start": { - "line": 178, + "line": 180, "column": 58 }, "end": { - "line": 178, + "line": 180, "column": 59 } } @@ -98130,15 +100090,15 @@ "postfix": false, "binop": null }, - "start": 8103, - "end": 8104, + "start": 8117, + "end": 8118, "loc": { "start": { - "line": 178, + "line": 180, "column": 59 }, "end": { - "line": 178, + "line": 180, "column": 60 } } @@ -98146,15 +100106,15 @@ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", - "start": 8114, - "end": 8191, + "start": 8128, + "end": 8205, "loc": { "start": { - "line": 180, + "line": 182, "column": 6 }, "end": { - "line": 182, + "line": 184, "column": 9 } } @@ -98174,15 +100134,15 @@ "updateContext": null }, "value": "if", - "start": 8199, - "end": 8201, + "start": 8213, + "end": 8215, "loc": { "start": { - "line": 183, + "line": 185, "column": 6 }, "end": { - "line": 183, + "line": 185, "column": 8 } } @@ -98199,15 +100159,15 @@ "postfix": false, "binop": null }, - "start": 8201, - "end": 8202, + "start": 8215, + "end": 8216, "loc": { "start": { - "line": 183, + "line": 185, "column": 8 }, "end": { - "line": 183, + "line": 185, "column": 9 } } @@ -98227,15 +100187,15 @@ "updateContext": null }, "value": "this", - "start": 8202, - "end": 8206, + "start": 8216, + "end": 8220, "loc": { "start": { - "line": 183, + "line": 185, "column": 9 }, "end": { - "line": 183, + "line": 185, "column": 13 } } @@ -98253,15 +100213,15 @@ "binop": null, "updateContext": null }, - "start": 8206, - "end": 8207, + "start": 8220, + "end": 8221, "loc": { "start": { - "line": 183, + "line": 185, "column": 13 }, "end": { - "line": 183, + "line": 185, "column": 14 } } @@ -98279,15 +100239,15 @@ "binop": null }, "value": "options", - "start": 8207, - "end": 8214, + "start": 8221, + "end": 8228, "loc": { "start": { - "line": 183, + "line": 185, "column": 14 }, "end": { - "line": 183, + "line": 185, "column": 21 } } @@ -98305,15 +100265,15 @@ "binop": null, "updateContext": null }, - "start": 8214, - "end": 8215, + "start": 8228, + "end": 8229, "loc": { "start": { - "line": 183, + "line": 185, "column": 21 }, "end": { - "line": 183, + "line": 185, "column": 22 } } @@ -98331,15 +100291,15 @@ "binop": null }, "value": "maxLength", - "start": 8215, - "end": 8224, + "start": 8229, + "end": 8238, "loc": { "start": { - "line": 183, + "line": 185, "column": 22 }, "end": { - "line": 183, + "line": 185, "column": 31 } } @@ -98358,15 +100318,15 @@ "updateContext": null }, "value": "&&", - "start": 8225, - "end": 8227, + "start": 8239, + "end": 8241, "loc": { "start": { - "line": 183, + "line": 185, "column": 32 }, "end": { - "line": 183, + "line": 185, "column": 34 } } @@ -98386,15 +100346,15 @@ "updateContext": null }, "value": "this", - "start": 8228, - "end": 8232, + "start": 8242, + "end": 8246, "loc": { "start": { - "line": 183, + "line": 185, "column": 35 }, "end": { - "line": 183, + "line": 185, "column": 39 } } @@ -98412,15 +100372,15 @@ "binop": null, "updateContext": null }, - "start": 8232, - "end": 8233, + "start": 8246, + "end": 8247, "loc": { "start": { - "line": 183, + "line": 185, "column": 39 }, "end": { - "line": 183, + "line": 185, "column": 40 } } @@ -98438,15 +100398,15 @@ "binop": null }, "value": "utilities", - "start": 8233, - "end": 8242, + "start": 8247, + "end": 8256, "loc": { "start": { - "line": 183, + "line": 185, "column": 40 }, "end": { - "line": 183, + "line": 185, "column": 49 } } @@ -98464,15 +100424,15 @@ "binop": null, "updateContext": null }, - "start": 8242, - "end": 8243, + "start": 8256, + "end": 8257, "loc": { "start": { - "line": 183, + "line": 185, "column": 49 }, "end": { - "line": 183, + "line": 185, "column": 50 } } @@ -98490,15 +100450,15 @@ "binop": null }, "value": "handleMaxLength", - "start": 8243, - "end": 8258, + "start": 8257, + "end": 8272, "loc": { "start": { - "line": 183, + "line": 185, "column": 50 }, "end": { - "line": 183, + "line": 185, "column": 65 } } @@ -98515,15 +100475,15 @@ "postfix": false, "binop": null }, - "start": 8258, - "end": 8259, + "start": 8272, + "end": 8273, "loc": { "start": { - "line": 183, + "line": 185, "column": 65 }, "end": { - "line": 183, + "line": 185, "column": 66 } } @@ -98543,15 +100503,15 @@ "updateContext": null }, "value": "this", - "start": 8259, - "end": 8263, + "start": 8273, + "end": 8277, "loc": { "start": { - "line": 183, + "line": 185, "column": 66 }, "end": { - "line": 183, + "line": 185, "column": 70 } } @@ -98569,15 +100529,15 @@ "binop": null, "updateContext": null }, - "start": 8263, - "end": 8264, + "start": 8277, + "end": 8278, "loc": { "start": { - "line": 183, + "line": 185, "column": 70 }, "end": { - "line": 183, + "line": 185, "column": 71 } } @@ -98595,122 +100555,16 @@ "binop": null }, "value": "input", - "start": 8264, - "end": 8269, - "loc": { - "start": { - "line": 183, - "column": 71 - }, - "end": { - "line": 183, - "column": 76 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8269, - "end": 8270, - "loc": { - "start": { - "line": 183, - "column": 76 - }, - "end": { - "line": 183, - "column": 77 - } - } - }, - { - "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": 8271, - "end": 8275, - "loc": { - "start": { - "line": 183, - "column": 78 - }, - "end": { - "line": 183, - "column": 82 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8275, - "end": 8276, - "loc": { - "start": { - "line": 183, - "column": 82 - }, - "end": { - "line": 183, - "column": 83 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 8276, + "start": 8278, "end": 8283, "loc": { "start": { - "line": 183, - "column": 83 + "line": 185, + "column": 71 }, "end": { - "line": 183, - "column": 90 + "line": 185, + "column": 76 } } }, @@ -98731,11 +100585,117 @@ "end": 8284, "loc": { "start": { - "line": 183, + "line": 185, + "column": 76 + }, + "end": { + "line": 185, + "column": 77 + } + } + }, + { + "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": 8285, + "end": 8289, + "loc": { + "start": { + "line": 185, + "column": 78 + }, + "end": { + "line": 185, + "column": 82 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8289, + "end": 8290, + "loc": { + "start": { + "line": 185, + "column": 82 + }, + "end": { + "line": 185, + "column": 83 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8290, + "end": 8297, + "loc": { + "start": { + "line": 185, + "column": 83 + }, + "end": { + "line": 185, + "column": 90 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8297, + "end": 8298, + "loc": { + "start": { + "line": 185, "column": 90 }, "end": { - "line": 183, + "line": 185, "column": 91 } } @@ -98753,15 +100713,15 @@ "binop": null }, "value": "updatedInput", - "start": 8285, - "end": 8297, + "start": 8299, + "end": 8311, "loc": { "start": { - "line": 183, + "line": 185, "column": 92 }, "end": { - "line": 183, + "line": 185, "column": 104 } } @@ -98778,15 +100738,15 @@ "postfix": false, "binop": null }, - "start": 8297, - "end": 8298, + "start": 8311, + "end": 8312, "loc": { "start": { - "line": 183, + "line": 185, "column": 104 }, "end": { - "line": 183, + "line": 185, "column": 105 } } @@ -98803,15 +100763,15 @@ "postfix": false, "binop": null }, - "start": 8298, - "end": 8299, + "start": 8312, + "end": 8313, "loc": { "start": { - "line": 183, + "line": 185, "column": 105 }, "end": { - "line": 183, + "line": 185, "column": 106 } } @@ -98828,15 +100788,15 @@ "postfix": false, "binop": null }, - "start": 8299, - "end": 8300, + "start": 8313, + "end": 8314, "loc": { "start": { - "line": 183, + "line": 185, "column": 106 }, "end": { - "line": 183, + "line": 185, "column": 107 } } @@ -98856,15 +100816,15 @@ "updateContext": null }, "value": "return", - "start": 8310, - "end": 8316, + "start": 8324, + "end": 8330, "loc": { "start": { - "line": 184, + "line": 186, "column": 8 }, "end": { - "line": 184, + "line": 186, "column": 14 } } @@ -98884,15 +100844,15 @@ "updateContext": null }, "value": "false", - "start": 8317, - "end": 8322, + "start": 8331, + "end": 8336, "loc": { "start": { - "line": 184, + "line": 186, "column": 15 }, "end": { - "line": 184, + "line": 186, "column": 20 } } @@ -98910,15 +100870,15 @@ "binop": null, "updateContext": null }, - "start": 8322, - "end": 8323, + "start": 8336, + "end": 8337, "loc": { "start": { - "line": 184, + "line": 186, "column": 20 }, "end": { - "line": 184, + "line": 186, "column": 21 } } @@ -98935,15 +100895,15 @@ "postfix": false, "binop": null }, - "start": 8331, - "end": 8332, + "start": 8345, + "end": 8346, "loc": { "start": { - "line": 185, + "line": 187, "column": 6 }, "end": { - "line": 185, + "line": 187, "column": 7 } } @@ -98963,15 +100923,15 @@ "updateContext": null }, "value": "this", - "start": 8342, - "end": 8346, + "start": 8356, + "end": 8360, "loc": { "start": { - "line": 187, + "line": 189, "column": 6 }, "end": { - "line": 187, + "line": 189, "column": 10 } } @@ -98989,15 +100949,15 @@ "binop": null, "updateContext": null }, - "start": 8346, - "end": 8347, + "start": 8360, + "end": 8361, "loc": { "start": { - "line": 187, + "line": 189, "column": 10 }, "end": { - "line": 187, + "line": 189, "column": 11 } } @@ -99015,15 +100975,15 @@ "binop": null }, "value": "input", - "start": 8347, - "end": 8352, + "start": 8361, + "end": 8366, "loc": { "start": { - "line": 187, + "line": 189, "column": 11 }, "end": { - "line": 187, + "line": 189, "column": 16 } } @@ -99041,15 +101001,15 @@ "binop": null, "updateContext": null }, - "start": 8352, - "end": 8353, + "start": 8366, + "end": 8367, "loc": { "start": { - "line": 187, + "line": 189, "column": 16 }, "end": { - "line": 187, + "line": 189, "column": 17 } } @@ -99069,15 +101029,15 @@ "updateContext": null }, "value": "this", - "start": 8353, - "end": 8357, + "start": 8367, + "end": 8371, "loc": { "start": { - "line": 187, + "line": 189, "column": 17 }, "end": { - "line": 187, + "line": 189, "column": 21 } } @@ -99095,15 +101055,15 @@ "binop": null, "updateContext": null }, - "start": 8357, - "end": 8358, + "start": 8371, + "end": 8372, "loc": { "start": { - "line": 187, + "line": 189, "column": 21 }, "end": { - "line": 187, + "line": 189, "column": 22 } } @@ -99121,15 +101081,15 @@ "binop": null }, "value": "options", - "start": 8358, - "end": 8365, + "start": 8372, + "end": 8379, "loc": { "start": { - "line": 187, + "line": 189, "column": 22 }, "end": { - "line": 187, + "line": 189, "column": 29 } } @@ -99147,15 +101107,15 @@ "binop": null, "updateContext": null }, - "start": 8365, - "end": 8366, + "start": 8379, + "end": 8380, "loc": { "start": { - "line": 187, + "line": 189, "column": 29 }, "end": { - "line": 187, + "line": 189, "column": 30 } } @@ -99173,15 +101133,15 @@ "binop": null }, "value": "inputName", - "start": 8366, - "end": 8375, + "start": 8380, + "end": 8389, "loc": { "start": { - "line": 187, + "line": 189, "column": 30 }, "end": { - "line": 187, + "line": 189, "column": 39 } } @@ -99199,15 +101159,15 @@ "binop": null, "updateContext": null }, - "start": 8375, - "end": 8376, + "start": 8389, + "end": 8390, "loc": { "start": { - "line": 187, + "line": 189, "column": 39 }, "end": { - "line": 187, + "line": 189, "column": 40 } } @@ -99226,16 +101186,70 @@ "updateContext": null }, "value": "=", - "start": 8377, - "end": 8378, + "start": 8392, + "end": 8393, "loc": { "start": { - "line": 187, - "column": 41 + "line": 189, + "column": 42 }, "end": { - "line": 187, - "column": 42 + "line": 189, + "column": 43 + } + } + }, + { + "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": 8394, + "end": 8398, + "loc": { + "start": { + "line": 189, + "column": 44 + }, + "end": { + "line": 189, + "column": 48 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8398, + "end": 8399, + "loc": { + "start": { + "line": 189, + "column": 48 + }, + "end": { + "line": 189, + "column": 49 } } }, @@ -99251,17 +101265,701 @@ "postfix": false, "binop": null }, - "value": "updatedInput", - "start": 8379, - "end": 8391, + "value": "utilities", + "start": 8399, + "end": 8408, "loc": { "start": { - "line": 187, - "column": 43 + "line": 189, + "column": 49 }, "end": { - "line": 187, - "column": 55 + "line": 189, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8408, + "end": 8409, + "loc": { + "start": { + "line": 189, + "column": 58 + }, + "end": { + "line": 189, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getUpdatedInput", + "start": 8409, + "end": 8424, + "loc": { + "start": { + "line": 189, + "column": 59 + }, + "end": { + "line": 189, + "column": 74 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8424, + "end": 8425, + "loc": { + "start": { + "line": 189, + "column": 74 + }, + "end": { + "line": 189, + "column": 75 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 8435, + "end": 8441, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8441, + "end": 8442, + "loc": { + "start": { + "line": 190, + "column": 14 + }, + "end": { + "line": 190, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8443, + "end": 8447, + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8447, + "end": 8448, + "loc": { + "start": { + "line": 190, + "column": 20 + }, + "end": { + "line": 190, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "input", + "start": 8448, + "end": 8453, + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 26 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8453, + "end": 8454, + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8454, + "end": 8458, + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8458, + "end": 8459, + "loc": { + "start": { + "line": 190, + "column": 31 + }, + "end": { + "line": 190, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8459, + "end": 8466, + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8466, + "end": 8467, + "loc": { + "start": { + "line": 190, + "column": 39 + }, + "end": { + "line": 190, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputName", + "start": 8467, + "end": 8476, + "loc": { + "start": { + "line": 190, + "column": 40 + }, + "end": { + "line": 190, + "column": 49 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8476, + "end": 8477, + "loc": { + "start": { + "line": 190, + "column": 49 + }, + "end": { + "line": 190, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8477, + "end": 8478, + "loc": { + "start": { + "line": 190, + "column": 50 + }, + "end": { + "line": 190, + "column": 51 + } + } + }, + { + "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": 8479, + "end": 8483, + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8483, + "end": 8484, + "loc": { + "start": { + "line": 190, + "column": 56 + }, + "end": { + "line": 190, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8484, + "end": 8491, + "loc": { + "start": { + "line": 190, + "column": 57 + }, + "end": { + "line": 190, + "column": 64 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8491, + "end": 8492, + "loc": { + "start": { + "line": 190, + "column": 64 + }, + "end": { + "line": 190, + "column": 65 + } + } + }, + { + "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": 8493, + "end": 8497, + "loc": { + "start": { + "line": 190, + "column": 66 + }, + "end": { + "line": 190, + "column": 70 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8497, + "end": 8498, + "loc": { + "start": { + "line": 190, + "column": 70 + }, + "end": { + "line": 190, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretPosition", + "start": 8498, + "end": 8511, + "loc": { + "start": { + "line": 190, + "column": 71 + }, + "end": { + "line": 190, + "column": 84 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8511, + "end": 8512, + "loc": { + "start": { + "line": 190, + "column": 84 + }, + "end": { + "line": 190, + "column": 85 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 8513, + "end": 8517, + "loc": { + "start": { + "line": 190, + "column": 86 + }, + "end": { + "line": 190, + "column": 90 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8525, + "end": 8526, + "loc": { + "start": { + "line": 191, + "column": 6 + }, + "end": { + "line": 191, + "column": 7 } } }, @@ -99278,16 +101976,16 @@ "binop": null, "updateContext": null }, - "start": 8391, - "end": 8392, + "start": 8526, + "end": 8527, "loc": { "start": { - "line": 187, - "column": 55 + "line": 191, + "column": 7 }, "end": { - "line": 187, - "column": 56 + "line": 191, + "column": 8 } } }, @@ -99306,15 +102004,15 @@ "updateContext": null }, "value": "if", - "start": 8402, - "end": 8404, + "start": 8537, + "end": 8539, "loc": { "start": { - "line": 189, + "line": 193, "column": 6 }, "end": { - "line": 189, + "line": 193, "column": 8 } } @@ -99331,15 +102029,15 @@ "postfix": false, "binop": null }, - "start": 8404, - "end": 8405, + "start": 8539, + "end": 8540, "loc": { "start": { - "line": 189, + "line": 193, "column": 8 }, "end": { - "line": 189, + "line": 193, "column": 9 } } @@ -99357,15 +102055,15 @@ "binop": null }, "value": "debug", - "start": 8405, - "end": 8410, + "start": 8540, + "end": 8545, "loc": { "start": { - "line": 189, + "line": 193, "column": 9 }, "end": { - "line": 189, + "line": 193, "column": 14 } } @@ -99382,15 +102080,15 @@ "postfix": false, "binop": null }, - "start": 8410, - "end": 8411, + "start": 8545, + "end": 8546, "loc": { "start": { - "line": 189, + "line": 193, "column": 14 }, "end": { - "line": 189, + "line": 193, "column": 15 } } @@ -99408,15 +102106,15 @@ "binop": null }, "value": "console", - "start": 8421, - "end": 8428, + "start": 8556, + "end": 8563, "loc": { "start": { - "line": 190, + "line": 194, "column": 8 }, "end": { - "line": 190, + "line": 194, "column": 15 } } @@ -99434,15 +102132,15 @@ "binop": null, "updateContext": null }, - "start": 8428, - "end": 8429, + "start": 8563, + "end": 8564, "loc": { "start": { - "line": 190, + "line": 194, "column": 15 }, "end": { - "line": 190, + "line": 194, "column": 16 } } @@ -99460,15 +102158,15 @@ "binop": null }, "value": "log", - "start": 8429, - "end": 8432, + "start": 8564, + "end": 8567, "loc": { "start": { - "line": 190, + "line": 194, "column": 16 }, "end": { - "line": 190, + "line": 194, "column": 19 } } @@ -99485,15 +102183,15 @@ "postfix": false, "binop": null }, - "start": 8432, - "end": 8433, + "start": 8567, + "end": 8568, "loc": { "start": { - "line": 190, + "line": 194, "column": 19 }, "end": { - "line": 190, + "line": 194, "column": 20 } } @@ -99512,15 +102210,15 @@ "updateContext": null }, "value": "Input changed:", - "start": 8433, - "end": 8449, + "start": 8568, + "end": 8584, "loc": { "start": { - "line": 190, + "line": 194, "column": 20 }, "end": { - "line": 190, + "line": 194, "column": 36 } } @@ -99538,15 +102236,15 @@ "binop": null, "updateContext": null }, - "start": 8449, - "end": 8450, + "start": 8584, + "end": 8585, "loc": { "start": { - "line": 190, + "line": 194, "column": 36 }, "end": { - "line": 190, + "line": 194, "column": 37 } } @@ -99566,15 +102264,15 @@ "updateContext": null }, "value": "this", - "start": 8451, - "end": 8455, + "start": 8586, + "end": 8590, "loc": { "start": { - "line": 190, + "line": 194, "column": 38 }, "end": { - "line": 190, + "line": 194, "column": 42 } } @@ -99592,15 +102290,15 @@ "binop": null, "updateContext": null }, - "start": 8455, - "end": 8456, + "start": 8590, + "end": 8591, "loc": { "start": { - "line": 190, + "line": 194, "column": 42 }, "end": { - "line": 190, + "line": 194, "column": 43 } } @@ -99618,15 +102316,15 @@ "binop": null }, "value": "input", - "start": 8456, - "end": 8461, + "start": 8591, + "end": 8596, "loc": { "start": { - "line": 190, + "line": 194, "column": 43 }, "end": { - "line": 190, + "line": 194, "column": 48 } } @@ -99643,15 +102341,15 @@ "postfix": false, "binop": null }, - "start": 8461, - "end": 8462, + "start": 8596, + "end": 8597, "loc": { "start": { - "line": 190, + "line": 194, "column": 48 }, "end": { - "line": 190, + "line": 194, "column": 49 } } @@ -99669,15 +102367,15 @@ "binop": null, "updateContext": null }, - "start": 8462, - "end": 8463, + "start": 8597, + "end": 8598, "loc": { "start": { - "line": 190, + "line": 194, "column": 49 }, "end": { - "line": 190, + "line": 194, "column": 50 } } @@ -99685,15 +102383,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 8473, - "end": 8532, + "start": 8608, + "end": 8667, "loc": { "start": { - "line": 192, + "line": 196, "column": 6 }, "end": { - "line": 194, + "line": 198, "column": 9 } } @@ -99713,15 +102411,15 @@ "updateContext": null }, "value": "if", - "start": 8540, - "end": 8542, + "start": 8675, + "end": 8677, "loc": { "start": { - "line": 195, + "line": 199, "column": 6 }, "end": { - "line": 195, + "line": 199, "column": 8 } } @@ -99738,15 +102436,15 @@ "postfix": false, "binop": null }, - "start": 8542, - "end": 8543, + "start": 8677, + "end": 8678, "loc": { "start": { - "line": 195, + "line": 199, "column": 8 }, "end": { - "line": 195, + "line": 199, "column": 9 } } @@ -99766,15 +102464,15 @@ "updateContext": null }, "value": "this", - "start": 8543, - "end": 8547, + "start": 8678, + "end": 8682, "loc": { "start": { - "line": 195, + "line": 199, "column": 9 }, "end": { - "line": 195, + "line": 199, "column": 13 } } @@ -99792,15 +102490,15 @@ "binop": null, "updateContext": null }, - "start": 8547, - "end": 8548, + "start": 8682, + "end": 8683, "loc": { "start": { - "line": 195, + "line": 199, "column": 13 }, "end": { - "line": 195, + "line": 199, "column": 14 } } @@ -99818,15 +102516,15 @@ "binop": null }, "value": "options", - "start": 8548, - "end": 8555, + "start": 8683, + "end": 8690, "loc": { "start": { - "line": 195, + "line": 199, "column": 14 }, "end": { - "line": 195, + "line": 199, "column": 21 } } @@ -99844,15 +102542,15 @@ "binop": null, "updateContext": null }, - "start": 8555, - "end": 8556, + "start": 8690, + "end": 8691, "loc": { "start": { - "line": 195, + "line": 199, "column": 21 }, "end": { - "line": 195, + "line": 199, "column": 22 } } @@ -99870,15 +102568,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8556, - "end": 8574, + "start": 8691, + "end": 8709, "loc": { "start": { - "line": 195, + "line": 199, "column": 22 }, "end": { - "line": 195, + "line": 199, "column": 40 } } @@ -99895,15 +102593,15 @@ "postfix": false, "binop": null }, - "start": 8574, - "end": 8575, + "start": 8709, + "end": 8710, "loc": { "start": { - "line": 195, + "line": 199, "column": 40 }, "end": { - "line": 195, + "line": 199, "column": 41 } } @@ -99923,15 +102621,15 @@ "updateContext": null }, "value": "this", - "start": 8585, - "end": 8589, + "start": 8720, + "end": 8724, "loc": { "start": { - "line": 196, + "line": 200, "column": 8 }, "end": { - "line": 196, + "line": 200, "column": 12 } } @@ -99949,15 +102647,15 @@ "binop": null, "updateContext": null }, - "start": 8589, - "end": 8590, + "start": 8724, + "end": 8725, "loc": { "start": { - "line": 196, + "line": 200, "column": 12 }, "end": { - "line": 196, + "line": 200, "column": 13 } } @@ -99975,15 +102673,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 8590, - "end": 8608, + "start": 8725, + "end": 8743, "loc": { "start": { - "line": 196, + "line": 200, "column": 13 }, "end": { - "line": 196, + "line": 200, "column": 31 } } @@ -100000,15 +102698,15 @@ "postfix": false, "binop": null }, - "start": 8608, - "end": 8609, + "start": 8743, + "end": 8744, "loc": { "start": { - "line": 196, + "line": 200, "column": 31 }, "end": { - "line": 196, + "line": 200, "column": 32 } } @@ -100028,15 +102726,15 @@ "updateContext": null }, "value": "this", - "start": 8609, - "end": 8613, + "start": 8744, + "end": 8748, "loc": { "start": { - "line": 196, + "line": 200, "column": 32 }, "end": { - "line": 196, + "line": 200, "column": 36 } } @@ -100054,15 +102752,15 @@ "binop": null, "updateContext": null }, - "start": 8613, - "end": 8614, + "start": 8748, + "end": 8749, "loc": { "start": { - "line": 196, + "line": 200, "column": 36 }, "end": { - "line": 196, + "line": 200, "column": 37 } } @@ -100080,15 +102778,15 @@ "binop": null }, "value": "input", - "start": 8614, - "end": 8619, + "start": 8749, + "end": 8754, "loc": { "start": { - "line": 196, + "line": 200, "column": 37 }, "end": { - "line": 196, + "line": 200, "column": 42 } } @@ -100105,15 +102803,15 @@ "postfix": false, "binop": null }, - "start": 8619, - "end": 8620, + "start": 8754, + "end": 8755, "loc": { "start": { - "line": 196, + "line": 200, "column": 42 }, "end": { - "line": 196, + "line": 200, "column": 43 } } @@ -100131,15 +102829,15 @@ "binop": null, "updateContext": null }, - "start": 8620, - "end": 8621, + "start": 8755, + "end": 8756, "loc": { "start": { - "line": 196, + "line": 200, "column": 43 }, "end": { - "line": 196, + "line": 200, "column": 44 } } @@ -100147,15 +102845,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", - "start": 8631, - "end": 8672, + "start": 8766, + "end": 8807, "loc": { "start": { - "line": 198, + "line": 202, "column": 6 }, "end": { - "line": 200, + "line": 204, "column": 9 } } @@ -100175,15 +102873,15 @@ "updateContext": null }, "value": "if", - "start": 8680, - "end": 8682, + "start": 8815, + "end": 8817, "loc": { "start": { - "line": 201, + "line": 205, "column": 6 }, "end": { - "line": 201, + "line": 205, "column": 8 } } @@ -100200,15 +102898,15 @@ "postfix": false, "binop": null }, - "start": 8682, - "end": 8683, + "start": 8817, + "end": 8818, "loc": { "start": { - "line": 201, + "line": 205, "column": 8 }, "end": { - "line": 201, + "line": 205, "column": 9 } } @@ -100228,15 +102926,15 @@ "updateContext": null }, "value": "typeof", - "start": 8683, - "end": 8689, + "start": 8818, + "end": 8824, "loc": { "start": { - "line": 201, + "line": 205, "column": 9 }, "end": { - "line": 201, + "line": 205, "column": 15 } } @@ -100256,15 +102954,15 @@ "updateContext": null }, "value": "this", - "start": 8690, - "end": 8694, + "start": 8825, + "end": 8829, "loc": { "start": { - "line": 201, + "line": 205, "column": 16 }, "end": { - "line": 201, + "line": 205, "column": 20 } } @@ -100282,15 +102980,15 @@ "binop": null, "updateContext": null }, - "start": 8694, - "end": 8695, + "start": 8829, + "end": 8830, "loc": { "start": { - "line": 201, + "line": 205, "column": 20 }, "end": { - "line": 201, + "line": 205, "column": 21 } } @@ -100308,15 +103006,15 @@ "binop": null }, "value": "options", - "start": 8695, - "end": 8702, + "start": 8830, + "end": 8837, "loc": { "start": { - "line": 201, + "line": 205, "column": 21 }, "end": { - "line": 201, + "line": 205, "column": 28 } } @@ -100334,15 +103032,15 @@ "binop": null, "updateContext": null }, - "start": 8702, - "end": 8703, + "start": 8837, + "end": 8838, "loc": { "start": { - "line": 201, + "line": 205, "column": 28 }, "end": { - "line": 201, + "line": 205, "column": 29 } } @@ -100360,15 +103058,15 @@ "binop": null }, "value": "onChange", - "start": 8703, - "end": 8711, + "start": 8838, + "end": 8846, "loc": { "start": { - "line": 201, + "line": 205, "column": 29 }, "end": { - "line": 201, + "line": 205, "column": 37 } } @@ -100387,15 +103085,15 @@ "updateContext": null }, "value": "===", - "start": 8712, - "end": 8715, + "start": 8847, + "end": 8850, "loc": { "start": { - "line": 201, + "line": 205, "column": 38 }, "end": { - "line": 201, + "line": 205, "column": 41 } } @@ -100414,15 +103112,15 @@ "updateContext": null }, "value": "function", - "start": 8716, - "end": 8726, + "start": 8851, + "end": 8861, "loc": { "start": { - "line": 201, + "line": 205, "column": 42 }, "end": { - "line": 201, + "line": 205, "column": 52 } } @@ -100439,15 +103137,15 @@ "postfix": false, "binop": null }, - "start": 8726, - "end": 8727, + "start": 8861, + "end": 8862, "loc": { "start": { - "line": 201, + "line": 205, "column": 52 }, "end": { - "line": 201, + "line": 205, "column": 53 } } @@ -100467,15 +103165,15 @@ "updateContext": null }, "value": "this", - "start": 8737, - "end": 8741, + "start": 8872, + "end": 8876, "loc": { "start": { - "line": 202, + "line": 206, "column": 8 }, "end": { - "line": 202, + "line": 206, "column": 12 } } @@ -100493,15 +103191,15 @@ "binop": null, "updateContext": null }, - "start": 8741, - "end": 8742, + "start": 8876, + "end": 8877, "loc": { "start": { - "line": 202, + "line": 206, "column": 12 }, "end": { - "line": 202, + "line": 206, "column": 13 } } @@ -100519,15 +103217,15 @@ "binop": null }, "value": "options", - "start": 8742, - "end": 8749, + "start": 8877, + "end": 8884, "loc": { "start": { - "line": 202, + "line": 206, "column": 13 }, "end": { - "line": 202, + "line": 206, "column": 20 } } @@ -100545,15 +103243,15 @@ "binop": null, "updateContext": null }, - "start": 8749, - "end": 8750, + "start": 8884, + "end": 8885, "loc": { "start": { - "line": 202, + "line": 206, "column": 20 }, "end": { - "line": 202, + "line": 206, "column": 21 } } @@ -100571,15 +103269,15 @@ "binop": null }, "value": "onChange", - "start": 8750, - "end": 8758, + "start": 8885, + "end": 8893, "loc": { "start": { - "line": 202, + "line": 206, "column": 21 }, "end": { - "line": 202, + "line": 206, "column": 29 } } @@ -100596,15 +103294,15 @@ "postfix": false, "binop": null }, - "start": 8758, - "end": 8759, + "start": 8893, + "end": 8894, "loc": { "start": { - "line": 202, + "line": 206, "column": 29 }, "end": { - "line": 202, + "line": 206, "column": 30 } } @@ -100624,15 +103322,15 @@ "updateContext": null }, "value": "this", - "start": 8759, - "end": 8763, + "start": 8894, + "end": 8898, "loc": { "start": { - "line": 202, + "line": 206, "column": 30 }, "end": { - "line": 202, + "line": 206, "column": 34 } } @@ -100650,15 +103348,15 @@ "binop": null, "updateContext": null }, - "start": 8763, - "end": 8764, + "start": 8898, + "end": 8899, "loc": { "start": { - "line": 202, + "line": 206, "column": 34 }, "end": { - "line": 202, + "line": 206, "column": 35 } } @@ -100676,15 +103374,15 @@ "binop": null }, "value": "input", - "start": 8764, - "end": 8769, + "start": 8899, + "end": 8904, "loc": { "start": { - "line": 202, + "line": 206, "column": 35 }, "end": { - "line": 202, + "line": 206, "column": 40 } } @@ -100702,15 +103400,15 @@ "binop": null, "updateContext": null }, - "start": 8769, - "end": 8770, + "start": 8904, + "end": 8905, "loc": { "start": { - "line": 202, + "line": 206, "column": 40 }, "end": { - "line": 202, + "line": 206, "column": 41 } } @@ -100730,15 +103428,15 @@ "updateContext": null }, "value": "this", - "start": 8770, - "end": 8774, + "start": 8905, + "end": 8909, "loc": { "start": { - "line": 202, + "line": 206, "column": 41 }, "end": { - "line": 202, + "line": 206, "column": 45 } } @@ -100756,15 +103454,15 @@ "binop": null, "updateContext": null }, - "start": 8774, - "end": 8775, + "start": 8909, + "end": 8910, "loc": { "start": { - "line": 202, + "line": 206, "column": 45 }, "end": { - "line": 202, + "line": 206, "column": 46 } } @@ -100782,15 +103480,15 @@ "binop": null }, "value": "options", - "start": 8775, - "end": 8782, + "start": 8910, + "end": 8917, "loc": { "start": { - "line": 202, + "line": 206, "column": 46 }, "end": { - "line": 202, + "line": 206, "column": 53 } } @@ -100808,15 +103506,15 @@ "binop": null, "updateContext": null }, - "start": 8782, - "end": 8783, + "start": 8917, + "end": 8918, "loc": { "start": { - "line": 202, + "line": 206, "column": 53 }, "end": { - "line": 202, + "line": 206, "column": 54 } } @@ -100834,15 +103532,15 @@ "binop": null }, "value": "inputName", - "start": 8783, - "end": 8792, + "start": 8918, + "end": 8927, "loc": { "start": { - "line": 202, + "line": 206, "column": 54 }, "end": { - "line": 202, + "line": 206, "column": 63 } } @@ -100860,15 +103558,15 @@ "binop": null, "updateContext": null }, - "start": 8792, - "end": 8793, + "start": 8927, + "end": 8928, "loc": { "start": { - "line": 202, + "line": 206, "column": 63 }, "end": { - "line": 202, + "line": 206, "column": 64 } } @@ -100885,15 +103583,15 @@ "postfix": false, "binop": null }, - "start": 8793, - "end": 8794, + "start": 8928, + "end": 8929, "loc": { "start": { - "line": 202, + "line": 206, "column": 64 }, "end": { - "line": 202, + "line": 206, "column": 65 } } @@ -100911,15 +103609,15 @@ "binop": null, "updateContext": null }, - "start": 8794, - "end": 8795, + "start": 8929, + "end": 8930, "loc": { "start": { - "line": 202, + "line": 206, "column": 65 }, "end": { - "line": 202, + "line": 206, "column": 66 } } @@ -100936,15 +103634,15 @@ "postfix": false, "binop": null }, - "start": 8801, - "end": 8802, + "start": 8936, + "end": 8937, "loc": { "start": { - "line": 203, + "line": 207, "column": 4 }, "end": { - "line": 203, + "line": 207, "column": 5 } } @@ -100964,15 +103662,15 @@ "updateContext": null }, "value": "if", - "start": 8814, - "end": 8816, + "start": 8949, + "end": 8951, "loc": { "start": { - "line": 205, + "line": 209, "column": 4 }, "end": { - "line": 205, + "line": 209, "column": 6 } } @@ -100989,15 +103687,15 @@ "postfix": false, "binop": null }, - "start": 8816, - "end": 8817, + "start": 8951, + "end": 8952, "loc": { "start": { - "line": 205, + "line": 209, "column": 6 }, "end": { - "line": 205, + "line": 209, "column": 7 } } @@ -101015,15 +103713,15 @@ "binop": null }, "value": "debug", - "start": 8817, - "end": 8822, + "start": 8952, + "end": 8957, "loc": { "start": { - "line": 205, + "line": 209, "column": 7 }, "end": { - "line": 205, + "line": 209, "column": 12 } } @@ -101040,15 +103738,15 @@ "postfix": false, "binop": null }, - "start": 8822, - "end": 8823, + "start": 8957, + "end": 8958, "loc": { "start": { - "line": 205, + "line": 209, "column": 12 }, "end": { - "line": 205, + "line": 209, "column": 13 } } @@ -101065,15 +103763,15 @@ "postfix": false, "binop": null }, - "start": 8823, - "end": 8824, + "start": 8958, + "end": 8959, "loc": { "start": { - "line": 205, + "line": 209, "column": 13 }, "end": { - "line": 205, + "line": 209, "column": 14 } } @@ -101091,15 +103789,15 @@ "binop": null }, "value": "console", - "start": 8832, - "end": 8839, + "start": 8967, + "end": 8974, "loc": { "start": { - "line": 206, + "line": 210, "column": 6 }, "end": { - "line": 206, + "line": 210, "column": 13 } } @@ -101117,15 +103815,15 @@ "binop": null, "updateContext": null }, - "start": 8839, - "end": 8840, + "start": 8974, + "end": 8975, "loc": { "start": { - "line": 206, + "line": 210, "column": 13 }, "end": { - "line": 206, + "line": 210, "column": 14 } } @@ -101143,15 +103841,15 @@ "binop": null }, "value": "log", - "start": 8840, - "end": 8843, + "start": 8975, + "end": 8978, "loc": { "start": { - "line": 206, + "line": 210, "column": 14 }, "end": { - "line": 206, + "line": 210, "column": 17 } } @@ -101168,15 +103866,15 @@ "postfix": false, "binop": null }, - "start": 8843, - "end": 8844, + "start": 8978, + "end": 8979, "loc": { "start": { - "line": 206, + "line": 210, "column": 17 }, "end": { - "line": 206, + "line": 210, "column": 18 } } @@ -101195,15 +103893,15 @@ "updateContext": null }, "value": "Key pressed:", - "start": 8844, - "end": 8858, + "start": 8979, + "end": 8993, "loc": { "start": { - "line": 206, + "line": 210, "column": 18 }, "end": { - "line": 206, + "line": 210, "column": 32 } } @@ -101221,15 +103919,15 @@ "binop": null, "updateContext": null }, - "start": 8858, - "end": 8859, + "start": 8993, + "end": 8994, "loc": { "start": { - "line": 206, + "line": 210, "column": 32 }, "end": { - "line": 206, + "line": 210, "column": 33 } } @@ -101247,15 +103945,15 @@ "binop": null }, "value": "button", - "start": 8860, - "end": 8866, + "start": 8995, + "end": 9001, "loc": { "start": { - "line": 206, + "line": 210, "column": 34 }, "end": { - "line": 206, + "line": 210, "column": 40 } } @@ -101272,15 +103970,15 @@ "postfix": false, "binop": null }, - "start": 8866, - "end": 8867, + "start": 9001, + "end": 9002, "loc": { "start": { - "line": 206, + "line": 210, "column": 40 }, "end": { - "line": 206, + "line": 210, "column": 41 } } @@ -101298,15 +103996,15 @@ "binop": null, "updateContext": null }, - "start": 8867, - "end": 8868, + "start": 9002, + "end": 9003, "loc": { "start": { - "line": 206, + "line": 210, "column": 41 }, "end": { - "line": 206, + "line": 210, "column": 42 } } @@ -101323,15 +104021,15 @@ "postfix": false, "binop": null }, - "start": 8874, - "end": 8875, + "start": 9009, + "end": 9010, "loc": { "start": { - "line": 207, + "line": 211, "column": 4 }, "end": { - "line": 207, + "line": 211, "column": 5 } } @@ -101348,15 +104046,15 @@ "postfix": false, "binop": null }, - "start": 8879, - "end": 8880, + "start": 9014, + "end": 9015, "loc": { "start": { - "line": 208, + "line": 212, "column": 2 }, "end": { - "line": 208, + "line": 212, "column": 3 } } @@ -101364,15 +104062,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", - "start": 8886, - "end": 8927, + "start": 9021, + "end": 9062, "loc": { "start": { - "line": 210, + "line": 214, "column": 2 }, "end": { - "line": 212, + "line": 216, "column": 5 } } @@ -101380,15 +104078,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 8931, - "end": 8957, + "start": 9066, + "end": 9092, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 213, + "line": 217, "column": 28 } } @@ -101406,15 +104104,15 @@ "binop": null }, "value": "handleButtonMouseDown", - "start": 8961, - "end": 8982, + "start": 9096, + "end": 9117, "loc": { "start": { - "line": 214, + "line": 218, "column": 2 }, "end": { - "line": 214, + "line": 218, "column": 23 } } @@ -101431,15 +104129,15 @@ "postfix": false, "binop": null }, - "start": 8982, - "end": 8983, + "start": 9117, + "end": 9118, "loc": { "start": { - "line": 214, + "line": 218, "column": 23 }, "end": { - "line": 214, + "line": 218, "column": 24 } } @@ -101457,15 +104155,15 @@ "binop": null }, "value": "button", - "start": 8983, - "end": 8989, + "start": 9118, + "end": 9124, "loc": { "start": { - "line": 214, + "line": 218, "column": 24 }, "end": { - "line": 214, + "line": 218, "column": 30 } } @@ -101483,15 +104181,15 @@ "binop": null, "updateContext": null }, - "start": 8989, - "end": 8990, + "start": 9124, + "end": 9125, "loc": { "start": { - "line": 214, + "line": 218, "column": 30 }, "end": { - "line": 214, + "line": 218, "column": 31 } } @@ -101509,15 +104207,15 @@ "binop": null }, "value": "e", - "start": 8991, - "end": 8992, + "start": 9126, + "end": 9127, "loc": { "start": { - "line": 214, + "line": 218, "column": 32 }, "end": { - "line": 214, + "line": 218, "column": 33 } } @@ -101534,15 +104232,15 @@ "postfix": false, "binop": null }, - "start": 8992, - "end": 8993, + "start": 9127, + "end": 9128, "loc": { "start": { - "line": 214, + "line": 218, "column": 33 }, "end": { - "line": 214, + "line": 218, "column": 34 } } @@ -101559,15 +104257,15 @@ "postfix": false, "binop": null }, - "start": 8993, - "end": 8994, + "start": 9128, + "end": 9129, "loc": { "start": { - "line": 214, + "line": 218, "column": 34 }, "end": { - "line": 214, + "line": 218, "column": 35 } } @@ -101575,15 +104273,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", - "start": 9000, - "end": 9079, + "start": 9135, + "end": 9214, "loc": { "start": { - "line": 215, + "line": 219, "column": 4 }, "end": { - "line": 217, + "line": 221, "column": 7 } } @@ -101603,15 +104301,15 @@ "updateContext": null }, "value": "this", - "start": 9085, - "end": 9089, + "start": 9220, + "end": 9224, "loc": { "start": { - "line": 218, + "line": 222, "column": 4 }, "end": { - "line": 218, + "line": 222, "column": 8 } } @@ -101629,15 +104327,15 @@ "binop": null, "updateContext": null }, - "start": 9089, - "end": 9090, + "start": 9224, + "end": 9225, "loc": { "start": { - "line": 218, + "line": 222, "column": 8 }, "end": { - "line": 218, + "line": 222, "column": 9 } } @@ -101655,15 +104353,15 @@ "binop": null }, "value": "isMouseHold", - "start": 9090, - "end": 9101, + "start": 9225, + "end": 9236, "loc": { "start": { - "line": 218, + "line": 222, "column": 9 }, "end": { - "line": 218, + "line": 222, "column": 20 } } @@ -101682,15 +104380,15 @@ "updateContext": null }, "value": "=", - "start": 9102, - "end": 9103, + "start": 9237, + "end": 9238, "loc": { "start": { - "line": 218, + "line": 222, "column": 21 }, "end": { - "line": 218, + "line": 222, "column": 22 } } @@ -101710,15 +104408,15 @@ "updateContext": null }, "value": "true", - "start": 9104, - "end": 9108, + "start": 9239, + "end": 9243, "loc": { "start": { - "line": 218, + "line": 222, "column": 23 }, "end": { - "line": 218, + "line": 222, "column": 27 } } @@ -101736,15 +104434,15 @@ "binop": null, "updateContext": null }, - "start": 9108, - "end": 9109, + "start": 9243, + "end": 9244, "loc": { "start": { - "line": 218, + "line": 222, "column": 27 }, "end": { - "line": 218, + "line": 222, "column": 28 } } @@ -101764,15 +104462,15 @@ "updateContext": null }, "value": "if", - "start": 9117, - "end": 9119, + "start": 9252, + "end": 9254, "loc": { "start": { - "line": 220, + "line": 224, "column": 4 }, "end": { - "line": 220, + "line": 224, "column": 6 } } @@ -101789,15 +104487,15 @@ "postfix": false, "binop": null }, - "start": 9119, - "end": 9120, + "start": 9254, + "end": 9255, "loc": { "start": { - "line": 220, + "line": 224, "column": 6 }, "end": { - "line": 220, + "line": 224, "column": 7 } } @@ -101817,15 +104515,15 @@ "updateContext": null }, "value": "this", - "start": 9120, - "end": 9124, + "start": 9255, + "end": 9259, "loc": { "start": { - "line": 220, + "line": 224, "column": 7 }, "end": { - "line": 220, + "line": 224, "column": 11 } } @@ -101843,15 +104541,15 @@ "binop": null, "updateContext": null }, - "start": 9124, - "end": 9125, + "start": 9259, + "end": 9260, "loc": { "start": { - "line": 220, + "line": 224, "column": 11 }, "end": { - "line": 220, + "line": 224, "column": 12 } } @@ -101869,15 +104567,15 @@ "binop": null }, "value": "holdInteractionTimeout", - "start": 9125, - "end": 9147, + "start": 9260, + "end": 9282, "loc": { "start": { - "line": 220, + "line": 224, "column": 12 }, "end": { - "line": 220, + "line": 224, "column": 34 } } @@ -101894,15 +104592,15 @@ "postfix": false, "binop": null }, - "start": 9147, - "end": 9148, + "start": 9282, + "end": 9283, "loc": { "start": { - "line": 220, + "line": 224, "column": 34 }, "end": { - "line": 220, + "line": 224, "column": 35 } } @@ -101920,15 +104618,15 @@ "binop": null }, "value": "clearTimeout", - "start": 9156, - "end": 9168, + "start": 9291, + "end": 9303, "loc": { "start": { - "line": 221, + "line": 225, "column": 6 }, "end": { - "line": 221, + "line": 225, "column": 18 } } @@ -101945,15 +104643,15 @@ "postfix": false, "binop": null }, - "start": 9168, - "end": 9169, + "start": 9303, + "end": 9304, "loc": { "start": { - "line": 221, + "line": 225, "column": 18 }, "end": { - "line": 221, + "line": 225, "column": 19 } } @@ -101973,15 +104671,15 @@ "updateContext": null }, "value": "this", - "start": 9169, - "end": 9173, + "start": 9304, + "end": 9308, "loc": { "start": { - "line": 221, + "line": 225, "column": 19 }, "end": { - "line": 221, + "line": 225, "column": 23 } } @@ -101999,15 +104697,15 @@ "binop": null, "updateContext": null }, - "start": 9173, - "end": 9174, + "start": 9308, + "end": 9309, "loc": { "start": { - "line": 221, + "line": 225, "column": 23 }, "end": { - "line": 221, + "line": 225, "column": 24 } } @@ -102025,15 +104723,15 @@ "binop": null }, "value": "holdInteractionTimeout", - "start": 9174, - "end": 9196, + "start": 9309, + "end": 9331, "loc": { "start": { - "line": 221, + "line": 225, "column": 24 }, "end": { - "line": 221, + "line": 225, "column": 46 } } @@ -102050,15 +104748,15 @@ "postfix": false, "binop": null }, - "start": 9196, - "end": 9197, + "start": 9331, + "end": 9332, "loc": { "start": { - "line": 221, + "line": 225, "column": 46 }, "end": { - "line": 221, + "line": 225, "column": 47 } } @@ -102076,15 +104774,15 @@ "binop": null, "updateContext": null }, - "start": 9197, - "end": 9198, + "start": 9332, + "end": 9333, "loc": { "start": { - "line": 221, + "line": 225, "column": 47 }, "end": { - "line": 221, + "line": 225, "column": 48 } } @@ -102104,15 +104802,15 @@ "updateContext": null }, "value": "if", - "start": 9206, - "end": 9208, + "start": 9341, + "end": 9343, "loc": { "start": { - "line": 223, + "line": 227, "column": 4 }, "end": { - "line": 223, + "line": 227, "column": 6 } } @@ -102129,15 +104827,15 @@ "postfix": false, "binop": null }, - "start": 9208, - "end": 9209, + "start": 9343, + "end": 9344, "loc": { "start": { - "line": 223, + "line": 227, "column": 6 }, "end": { - "line": 223, + "line": 227, "column": 7 } } @@ -102157,15 +104855,15 @@ "updateContext": null }, "value": "this", - "start": 9209, - "end": 9213, + "start": 9344, + "end": 9348, "loc": { "start": { - "line": 223, + "line": 227, "column": 7 }, "end": { - "line": 223, + "line": 227, "column": 11 } } @@ -102183,15 +104881,15 @@ "binop": null, "updateContext": null }, - "start": 9213, - "end": 9214, + "start": 9348, + "end": 9349, "loc": { "start": { - "line": 223, + "line": 227, "column": 11 }, "end": { - "line": 223, + "line": 227, "column": 12 } } @@ -102209,15 +104907,15 @@ "binop": null }, "value": "holdTimeout", - "start": 9214, - "end": 9225, + "start": 9349, + "end": 9360, "loc": { "start": { - "line": 223, + "line": 227, "column": 12 }, "end": { - "line": 223, + "line": 227, "column": 23 } } @@ -102234,15 +104932,15 @@ "postfix": false, "binop": null }, - "start": 9225, - "end": 9226, + "start": 9360, + "end": 9361, "loc": { "start": { - "line": 223, + "line": 227, "column": 23 }, "end": { - "line": 223, + "line": 227, "column": 24 } } @@ -102260,15 +104958,15 @@ "binop": null }, "value": "clearTimeout", - "start": 9234, - "end": 9246, + "start": 9369, + "end": 9381, "loc": { "start": { - "line": 224, + "line": 228, "column": 6 }, "end": { - "line": 224, + "line": 228, "column": 18 } } @@ -102285,15 +104983,15 @@ "postfix": false, "binop": null }, - "start": 9246, - "end": 9247, + "start": 9381, + "end": 9382, "loc": { "start": { - "line": 224, + "line": 228, "column": 18 }, "end": { - "line": 224, + "line": 228, "column": 19 } } @@ -102313,15 +105011,15 @@ "updateContext": null }, "value": "this", - "start": 9247, - "end": 9251, + "start": 9382, + "end": 9386, "loc": { "start": { - "line": 224, + "line": 228, "column": 19 }, "end": { - "line": 224, + "line": 228, "column": 23 } } @@ -102339,15 +105037,15 @@ "binop": null, "updateContext": null }, - "start": 9251, - "end": 9252, + "start": 9386, + "end": 9387, "loc": { "start": { - "line": 224, + "line": 228, "column": 23 }, "end": { - "line": 224, + "line": 228, "column": 24 } } @@ -102365,15 +105063,15 @@ "binop": null }, "value": "holdTimeout", - "start": 9252, - "end": 9263, + "start": 9387, + "end": 9398, "loc": { "start": { - "line": 224, + "line": 228, "column": 24 }, "end": { - "line": 224, + "line": 228, "column": 35 } } @@ -102390,15 +105088,15 @@ "postfix": false, "binop": null }, - "start": 9263, - "end": 9264, + "start": 9398, + "end": 9399, "loc": { "start": { - "line": 224, + "line": 228, "column": 35 }, "end": { - "line": 224, + "line": 228, "column": 36 } } @@ -102416,15 +105114,15 @@ "binop": null, "updateContext": null }, - "start": 9264, - "end": 9265, + "start": 9399, + "end": 9400, "loc": { "start": { - "line": 224, + "line": 228, "column": 36 }, "end": { - "line": 224, + "line": 228, "column": 37 } } @@ -102432,15 +105130,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", - "start": 9273, - "end": 9350, + "start": 9408, + "end": 9485, "loc": { "start": { - "line": 226, + "line": 230, "column": 4 }, "end": { - "line": 228, + "line": 232, "column": 7 } } @@ -102460,15 +105158,15 @@ "updateContext": null }, "value": "this", - "start": 9356, - "end": 9360, + "start": 9491, + "end": 9495, "loc": { "start": { - "line": 229, + "line": 233, "column": 4 }, "end": { - "line": 229, + "line": 233, "column": 8 } } @@ -102486,15 +105184,15 @@ "binop": null, "updateContext": null }, - "start": 9360, - "end": 9361, + "start": 9495, + "end": 9496, "loc": { "start": { - "line": 229, + "line": 233, "column": 8 }, "end": { - "line": 229, + "line": 233, "column": 9 } } @@ -102512,15 +105210,15 @@ "binop": null }, "value": "holdTimeout", - "start": 9361, - "end": 9372, + "start": 9496, + "end": 9507, "loc": { "start": { - "line": 229, + "line": 233, "column": 9 }, "end": { - "line": 229, + "line": 233, "column": 20 } } @@ -102539,15 +105237,15 @@ "updateContext": null }, "value": "=", - "start": 9373, - "end": 9374, + "start": 9508, + "end": 9509, "loc": { "start": { - "line": 229, + "line": 233, "column": 21 }, "end": { - "line": 229, + "line": 233, "column": 22 } } @@ -102565,15 +105263,15 @@ "binop": null }, "value": "setTimeout", - "start": 9375, - "end": 9385, + "start": 9510, + "end": 9520, "loc": { "start": { - "line": 229, + "line": 233, "column": 23 }, "end": { - "line": 229, + "line": 233, "column": 33 } } @@ -102590,15 +105288,15 @@ "postfix": false, "binop": null }, - "start": 9385, - "end": 9386, + "start": 9520, + "end": 9521, "loc": { "start": { - "line": 229, + "line": 233, "column": 33 }, "end": { - "line": 229, + "line": 233, "column": 34 } } @@ -102615,15 +105313,15 @@ "postfix": false, "binop": null }, - "start": 9386, - "end": 9387, + "start": 9521, + "end": 9522, "loc": { "start": { - "line": 229, + "line": 233, "column": 34 }, "end": { - "line": 229, + "line": 233, "column": 35 } } @@ -102640,15 +105338,15 @@ "postfix": false, "binop": null }, - "start": 9387, - "end": 9388, + "start": 9522, + "end": 9523, "loc": { "start": { - "line": 229, + "line": 233, "column": 35 }, "end": { - "line": 229, + "line": 233, "column": 36 } } @@ -102666,15 +105364,15 @@ "binop": null, "updateContext": null }, - "start": 9389, - "end": 9391, + "start": 9524, + "end": 9526, "loc": { "start": { - "line": 229, + "line": 233, "column": 37 }, "end": { - "line": 229, + "line": 233, "column": 39 } } @@ -102691,15 +105389,15 @@ "postfix": false, "binop": null }, - "start": 9392, - "end": 9393, + "start": 9527, + "end": 9528, "loc": { "start": { - "line": 229, + "line": 233, "column": 40 }, "end": { - "line": 229, + "line": 233, "column": 41 } } @@ -102719,15 +105417,15 @@ "updateContext": null }, "value": "if", - "start": 9401, - "end": 9403, + "start": 9536, + "end": 9538, "loc": { "start": { - "line": 230, + "line": 234, "column": 6 }, "end": { - "line": 230, + "line": 234, "column": 8 } } @@ -102744,15 +105442,15 @@ "postfix": false, "binop": null }, - "start": 9403, - "end": 9404, + "start": 9538, + "end": 9539, "loc": { "start": { - "line": 230, + "line": 234, "column": 8 }, "end": { - "line": 230, + "line": 234, "column": 9 } } @@ -102772,15 +105470,15 @@ "updateContext": null }, "value": "this", - "start": 9414, - "end": 9418, + "start": 9549, + "end": 9553, "loc": { "start": { - "line": 231, + "line": 235, "column": 8 }, "end": { - "line": 231, + "line": 235, "column": 12 } } @@ -102798,15 +105496,15 @@ "binop": null, "updateContext": null }, - "start": 9418, - "end": 9419, + "start": 9553, + "end": 9554, "loc": { "start": { - "line": 231, + "line": 235, "column": 12 }, "end": { - "line": 231, + "line": 235, "column": 13 } } @@ -102824,15 +105522,15 @@ "binop": null }, "value": "isMouseHold", - "start": 9419, - "end": 9430, + "start": 9554, + "end": 9565, "loc": { "start": { - "line": 231, + "line": 235, "column": 13 }, "end": { - "line": 231, + "line": 235, "column": 24 } } @@ -102851,15 +105549,15 @@ "updateContext": null }, "value": "&&", - "start": 9432, - "end": 9434, + "start": 9567, + "end": 9569, "loc": { "start": { - "line": 231, + "line": 235, "column": 26 }, "end": { - "line": 231, + "line": 235, "column": 28 } } @@ -102876,15 +105574,15 @@ "postfix": false, "binop": null }, - "start": 9444, - "end": 9445, + "start": 9579, + "end": 9580, "loc": { "start": { - "line": 232, + "line": 236, "column": 8 }, "end": { - "line": 232, + "line": 236, "column": 9 } } @@ -102901,15 +105599,15 @@ "postfix": false, "binop": null }, - "start": 9457, - "end": 9458, + "start": 9592, + "end": 9593, "loc": { "start": { - "line": 233, + "line": 237, "column": 10 }, "end": { - "line": 233, + "line": 237, "column": 11 } } @@ -102928,15 +105626,15 @@ "updateContext": null }, "value": "!", - "start": 9458, - "end": 9459, + "start": 9593, + "end": 9594, "loc": { "start": { - "line": 233, + "line": 237, "column": 11 }, "end": { - "line": 233, + "line": 237, "column": 12 } } @@ -102954,15 +105652,15 @@ "binop": null }, "value": "button", - "start": 9459, - "end": 9465, + "start": 9594, + "end": 9600, "loc": { "start": { - "line": 233, + "line": 237, "column": 12 }, "end": { - "line": 233, + "line": 237, "column": 18 } } @@ -102980,15 +105678,15 @@ "binop": null, "updateContext": null }, - "start": 9465, - "end": 9466, + "start": 9600, + "end": 9601, "loc": { "start": { - "line": 233, + "line": 237, "column": 18 }, "end": { - "line": 233, + "line": 237, "column": 19 } } @@ -103006,15 +105704,15 @@ "binop": null }, "value": "includes", - "start": 9466, - "end": 9474, + "start": 9601, + "end": 9609, "loc": { "start": { - "line": 233, + "line": 237, "column": 19 }, "end": { - "line": 233, + "line": 237, "column": 27 } } @@ -103031,15 +105729,15 @@ "postfix": false, "binop": null }, - "start": 9474, - "end": 9475, + "start": 9609, + "end": 9610, "loc": { "start": { - "line": 233, + "line": 237, "column": 27 }, "end": { - "line": 233, + "line": 237, "column": 28 } } @@ -103058,15 +105756,15 @@ "updateContext": null }, "value": "{", - "start": 9475, - "end": 9478, + "start": 9610, + "end": 9613, "loc": { "start": { - "line": 233, + "line": 237, "column": 28 }, "end": { - "line": 233, + "line": 237, "column": 31 } } @@ -103083,15 +105781,15 @@ "postfix": false, "binop": null }, - "start": 9478, - "end": 9479, + "start": 9613, + "end": 9614, "loc": { "start": { - "line": 233, + "line": 237, "column": 31 }, "end": { - "line": 233, + "line": 237, "column": 32 } } @@ -103110,15 +105808,15 @@ "updateContext": null }, "value": "&&", - "start": 9480, - "end": 9482, + "start": 9615, + "end": 9617, "loc": { "start": { - "line": 233, + "line": 237, "column": 33 }, "end": { - "line": 233, + "line": 237, "column": 35 } } @@ -103137,15 +105835,15 @@ "updateContext": null }, "value": "!", - "start": 9483, - "end": 9484, + "start": 9618, + "end": 9619, "loc": { "start": { - "line": 233, + "line": 237, "column": 36 }, "end": { - "line": 233, + "line": 237, "column": 37 } } @@ -103163,15 +105861,15 @@ "binop": null }, "value": "button", - "start": 9484, - "end": 9490, + "start": 9619, + "end": 9625, "loc": { "start": { - "line": 233, + "line": 237, "column": 37 }, "end": { - "line": 233, + "line": 237, "column": 43 } } @@ -103189,15 +105887,15 @@ "binop": null, "updateContext": null }, - "start": 9490, - "end": 9491, + "start": 9625, + "end": 9626, "loc": { "start": { - "line": 233, + "line": 237, "column": 43 }, "end": { - "line": 233, + "line": 237, "column": 44 } } @@ -103215,15 +105913,15 @@ "binop": null }, "value": "includes", - "start": 9491, - "end": 9499, + "start": 9626, + "end": 9634, "loc": { "start": { - "line": 233, + "line": 237, "column": 44 }, "end": { - "line": 233, + "line": 237, "column": 52 } } @@ -103240,15 +105938,15 @@ "postfix": false, "binop": null }, - "start": 9499, - "end": 9500, + "start": 9634, + "end": 9635, "loc": { "start": { - "line": 233, + "line": 237, "column": 52 }, "end": { - "line": 233, + "line": 237, "column": 53 } } @@ -103267,15 +105965,15 @@ "updateContext": null }, "value": "}", - "start": 9500, - "end": 9503, + "start": 9635, + "end": 9638, "loc": { "start": { - "line": 233, + "line": 237, "column": 53 }, "end": { - "line": 233, + "line": 237, "column": 56 } } @@ -103292,15 +105990,15 @@ "postfix": false, "binop": null }, - "start": 9503, - "end": 9504, + "start": 9638, + "end": 9639, "loc": { "start": { - "line": 233, + "line": 237, "column": 56 }, "end": { - "line": 233, + "line": 237, "column": 57 } } @@ -103317,15 +106015,15 @@ "postfix": false, "binop": null }, - "start": 9504, - "end": 9505, + "start": 9639, + "end": 9640, "loc": { "start": { - "line": 233, + "line": 237, "column": 57 }, "end": { - "line": 233, + "line": 237, "column": 58 } } @@ -103344,15 +106042,15 @@ "updateContext": null }, "value": "||", - "start": 9506, - "end": 9508, + "start": 9641, + "end": 9643, "loc": { "start": { - "line": 233, + "line": 237, "column": 59 }, "end": { - "line": 233, + "line": 237, "column": 61 } } @@ -103370,15 +106068,15 @@ "binop": null }, "value": "button", - "start": 9520, - "end": 9526, + "start": 9655, + "end": 9661, "loc": { "start": { - "line": 234, + "line": 238, "column": 10 }, "end": { - "line": 234, + "line": 238, "column": 16 } } @@ -103397,15 +106095,15 @@ "updateContext": null }, "value": "===", - "start": 9527, - "end": 9530, + "start": 9662, + "end": 9665, "loc": { "start": { - "line": 234, + "line": 238, "column": 17 }, "end": { - "line": 234, + "line": 238, "column": 20 } } @@ -103424,15 +106122,15 @@ "updateContext": null }, "value": "{bksp}", - "start": 9531, - "end": 9539, + "start": 9666, + "end": 9674, "loc": { "start": { - "line": 234, + "line": 238, "column": 21 }, "end": { - "line": 234, + "line": 238, "column": 29 } } @@ -103451,15 +106149,15 @@ "updateContext": null }, "value": "||", - "start": 9540, - "end": 9542, + "start": 9675, + "end": 9677, "loc": { "start": { - "line": 234, + "line": 238, "column": 30 }, "end": { - "line": 234, + "line": 238, "column": 32 } } @@ -103477,15 +106175,15 @@ "binop": null }, "value": "button", - "start": 9554, - "end": 9560, + "start": 9689, + "end": 9695, "loc": { "start": { - "line": 235, + "line": 239, "column": 10 }, "end": { - "line": 235, + "line": 239, "column": 16 } } @@ -103504,15 +106202,15 @@ "updateContext": null }, "value": "===", - "start": 9561, - "end": 9564, + "start": 9696, + "end": 9699, "loc": { "start": { - "line": 235, + "line": 239, "column": 17 }, "end": { - "line": 235, + "line": 239, "column": 20 } } @@ -103531,15 +106229,15 @@ "updateContext": null }, "value": "{space}", - "start": 9565, - "end": 9574, + "start": 9700, + "end": 9709, "loc": { "start": { - "line": 235, + "line": 239, "column": 21 }, "end": { - "line": 235, + "line": 239, "column": 30 } } @@ -103558,15 +106256,15 @@ "updateContext": null }, "value": "||", - "start": 9575, - "end": 9577, + "start": 9710, + "end": 9712, "loc": { "start": { - "line": 235, + "line": 239, "column": 31 }, "end": { - "line": 235, + "line": 239, "column": 33 } } @@ -103584,15 +106282,15 @@ "binop": null }, "value": "button", - "start": 9589, - "end": 9595, + "start": 9724, + "end": 9730, "loc": { "start": { - "line": 236, + "line": 240, "column": 10 }, "end": { - "line": 236, + "line": 240, "column": 16 } } @@ -103611,15 +106309,15 @@ "updateContext": null }, "value": "===", - "start": 9596, - "end": 9599, + "start": 9731, + "end": 9734, "loc": { "start": { - "line": 236, + "line": 240, "column": 17 }, "end": { - "line": 236, + "line": 240, "column": 20 } } @@ -103638,15 +106336,15 @@ "updateContext": null }, "value": "{tab}", - "start": 9600, - "end": 9607, + "start": 9735, + "end": 9742, "loc": { "start": { - "line": 236, + "line": 240, "column": 21 }, "end": { - "line": 236, + "line": 240, "column": 28 } } @@ -103663,15 +106361,15 @@ "postfix": false, "binop": null }, - "start": 9617, - "end": 9618, + "start": 9752, + "end": 9753, "loc": { "start": { - "line": 237, + "line": 241, "column": 8 }, "end": { - "line": 237, + "line": 241, "column": 9 } } @@ -103688,15 +106386,15 @@ "postfix": false, "binop": null }, - "start": 9626, - "end": 9627, + "start": 9761, + "end": 9762, "loc": { "start": { - "line": 238, + "line": 242, "column": 6 }, "end": { - "line": 238, + "line": 242, "column": 7 } } @@ -103713,15 +106411,15 @@ "postfix": false, "binop": null }, - "start": 9627, - "end": 9628, + "start": 9762, + "end": 9763, "loc": { "start": { - "line": 238, + "line": 242, "column": 7 }, "end": { - "line": 238, + "line": 242, "column": 8 } } @@ -103741,15 +106439,15 @@ "updateContext": null }, "value": "if", - "start": 9638, - "end": 9640, + "start": 9773, + "end": 9775, "loc": { "start": { - "line": 239, + "line": 243, "column": 8 }, "end": { - "line": 239, + "line": 243, "column": 10 } } @@ -103766,15 +106464,15 @@ "postfix": false, "binop": null }, - "start": 9640, - "end": 9641, + "start": 9775, + "end": 9776, "loc": { "start": { - "line": 239, + "line": 243, "column": 10 }, "end": { - "line": 239, + "line": 243, "column": 11 } } @@ -103794,15 +106492,15 @@ "updateContext": null }, "value": "this", - "start": 9641, - "end": 9645, + "start": 9776, + "end": 9780, "loc": { "start": { - "line": 239, + "line": 243, "column": 11 }, "end": { - "line": 239, + "line": 243, "column": 15 } } @@ -103820,15 +106518,15 @@ "binop": null, "updateContext": null }, - "start": 9645, - "end": 9646, + "start": 9780, + "end": 9781, "loc": { "start": { - "line": 239, + "line": 243, "column": 15 }, "end": { - "line": 239, + "line": 243, "column": 16 } } @@ -103846,15 +106544,15 @@ "binop": null }, "value": "options", - "start": 9646, - "end": 9653, + "start": 9781, + "end": 9788, "loc": { "start": { - "line": 239, + "line": 243, "column": 16 }, "end": { - "line": 239, + "line": 243, "column": 23 } } @@ -103872,15 +106570,15 @@ "binop": null, "updateContext": null }, - "start": 9653, - "end": 9654, + "start": 9788, + "end": 9789, "loc": { "start": { - "line": 239, + "line": 243, "column": 23 }, "end": { - "line": 239, + "line": 243, "column": 24 } } @@ -103898,15 +106596,15 @@ "binop": null }, "value": "debug", - "start": 9654, - "end": 9659, + "start": 9789, + "end": 9794, "loc": { "start": { - "line": 239, + "line": 243, "column": 24 }, "end": { - "line": 239, + "line": 243, "column": 29 } } @@ -103923,15 +106621,15 @@ "postfix": false, "binop": null }, - "start": 9659, - "end": 9660, + "start": 9794, + "end": 9795, "loc": { "start": { - "line": 239, + "line": 243, "column": 29 }, "end": { - "line": 239, + "line": 243, "column": 30 } } @@ -103949,15 +106647,15 @@ "binop": null }, "value": "console", - "start": 9672, - "end": 9679, + "start": 9807, + "end": 9814, "loc": { "start": { - "line": 240, + "line": 244, "column": 10 }, "end": { - "line": 240, + "line": 244, "column": 17 } } @@ -103975,15 +106673,15 @@ "binop": null, "updateContext": null }, - "start": 9679, - "end": 9680, + "start": 9814, + "end": 9815, "loc": { "start": { - "line": 240, + "line": 244, "column": 17 }, "end": { - "line": 240, + "line": 244, "column": 18 } } @@ -104001,15 +106699,15 @@ "binop": null }, "value": "log", - "start": 9680, - "end": 9683, + "start": 9815, + "end": 9818, "loc": { "start": { - "line": 240, + "line": 244, "column": 18 }, "end": { - "line": 240, + "line": 244, "column": 21 } } @@ -104026,15 +106724,15 @@ "postfix": false, "binop": null }, - "start": 9683, - "end": 9684, + "start": 9818, + "end": 9819, "loc": { "start": { - "line": 240, + "line": 244, "column": 21 }, "end": { - "line": 240, + "line": 244, "column": 22 } } @@ -104053,15 +106751,15 @@ "updateContext": null }, "value": "Button held:", - "start": 9684, - "end": 9698, + "start": 9819, + "end": 9833, "loc": { "start": { - "line": 240, + "line": 244, "column": 22 }, "end": { - "line": 240, + "line": 244, "column": 36 } } @@ -104079,15 +106777,15 @@ "binop": null, "updateContext": null }, - "start": 9698, - "end": 9699, + "start": 9833, + "end": 9834, "loc": { "start": { - "line": 240, + "line": 244, "column": 36 }, "end": { - "line": 240, + "line": 244, "column": 37 } } @@ -104105,15 +106803,15 @@ "binop": null }, "value": "button", - "start": 9700, - "end": 9706, + "start": 9835, + "end": 9841, "loc": { "start": { - "line": 240, + "line": 244, "column": 38 }, "end": { - "line": 240, + "line": 244, "column": 44 } } @@ -104130,15 +106828,15 @@ "postfix": false, "binop": null }, - "start": 9706, - "end": 9707, + "start": 9841, + "end": 9842, "loc": { "start": { - "line": 240, + "line": 244, "column": 44 }, "end": { - "line": 240, + "line": 244, "column": 45 } } @@ -104156,15 +106854,15 @@ "binop": null, "updateContext": null }, - "start": 9707, - "end": 9708, + "start": 9842, + "end": 9843, "loc": { "start": { - "line": 240, + "line": 244, "column": 45 }, "end": { - "line": 240, + "line": 244, "column": 46 } } @@ -104184,15 +106882,15 @@ "updateContext": null }, "value": "this", - "start": 9720, - "end": 9724, + "start": 9855, + "end": 9859, "loc": { "start": { - "line": 242, + "line": 246, "column": 8 }, "end": { - "line": 242, + "line": 246, "column": 12 } } @@ -104210,15 +106908,15 @@ "binop": null, "updateContext": null }, - "start": 9724, - "end": 9725, + "start": 9859, + "end": 9860, "loc": { "start": { - "line": 242, + "line": 246, "column": 12 }, "end": { - "line": 242, + "line": 246, "column": 13 } } @@ -104236,15 +106934,15 @@ "binop": null }, "value": "handleButtonHold", - "start": 9725, - "end": 9741, + "start": 9860, + "end": 9876, "loc": { "start": { - "line": 242, + "line": 246, "column": 13 }, "end": { - "line": 242, + "line": 246, "column": 29 } } @@ -104261,15 +106959,15 @@ "postfix": false, "binop": null }, - "start": 9741, - "end": 9742, + "start": 9876, + "end": 9877, "loc": { "start": { - "line": 242, + "line": 246, "column": 29 }, "end": { - "line": 242, + "line": 246, "column": 30 } } @@ -104287,15 +106985,15 @@ "binop": null }, "value": "button", - "start": 9742, - "end": 9748, + "start": 9877, + "end": 9883, "loc": { "start": { - "line": 242, + "line": 246, "column": 30 }, "end": { - "line": 242, + "line": 246, "column": 36 } } @@ -104313,15 +107011,15 @@ "binop": null, "updateContext": null }, - "start": 9748, - "end": 9749, + "start": 9883, + "end": 9884, "loc": { "start": { - "line": 242, + "line": 246, "column": 36 }, "end": { - "line": 242, + "line": 246, "column": 37 } } @@ -104339,15 +107037,15 @@ "binop": null }, "value": "e", - "start": 9750, - "end": 9751, + "start": 9885, + "end": 9886, "loc": { "start": { - "line": 242, + "line": 246, "column": 38 }, "end": { - "line": 242, + "line": 246, "column": 39 } } @@ -104364,15 +107062,15 @@ "postfix": false, "binop": null }, - "start": 9751, - "end": 9752, + "start": 9886, + "end": 9887, "loc": { "start": { - "line": 242, + "line": 246, "column": 39 }, "end": { - "line": 242, + "line": 246, "column": 40 } } @@ -104390,15 +107088,15 @@ "binop": null, "updateContext": null }, - "start": 9752, - "end": 9753, + "start": 9887, + "end": 9888, "loc": { "start": { - "line": 242, + "line": 246, "column": 40 }, "end": { - "line": 242, + "line": 246, "column": 41 } } @@ -104415,15 +107113,15 @@ "postfix": false, "binop": null }, - "start": 9761, - "end": 9762, + "start": 9896, + "end": 9897, "loc": { "start": { - "line": 243, + "line": 247, "column": 6 }, "end": { - "line": 243, + "line": 247, "column": 7 } } @@ -104441,15 +107139,15 @@ "binop": null }, "value": "clearTimeout", - "start": 9770, - "end": 9782, + "start": 9905, + "end": 9917, "loc": { "start": { - "line": 244, + "line": 248, "column": 6 }, "end": { - "line": 244, + "line": 248, "column": 18 } } @@ -104466,15 +107164,15 @@ "postfix": false, "binop": null }, - "start": 9782, - "end": 9783, + "start": 9917, + "end": 9918, "loc": { "start": { - "line": 244, + "line": 248, "column": 18 }, "end": { - "line": 244, + "line": 248, "column": 19 } } @@ -104494,15 +107192,15 @@ "updateContext": null }, "value": "this", - "start": 9783, - "end": 9787, + "start": 9918, + "end": 9922, "loc": { "start": { - "line": 244, + "line": 248, "column": 19 }, "end": { - "line": 244, + "line": 248, "column": 23 } } @@ -104520,15 +107218,15 @@ "binop": null, "updateContext": null }, - "start": 9787, - "end": 9788, + "start": 9922, + "end": 9923, "loc": { "start": { - "line": 244, + "line": 248, "column": 23 }, "end": { - "line": 244, + "line": 248, "column": 24 } } @@ -104546,15 +107244,15 @@ "binop": null }, "value": "holdTimeout", - "start": 9788, - "end": 9799, + "start": 9923, + "end": 9934, "loc": { "start": { - "line": 244, + "line": 248, "column": 24 }, "end": { - "line": 244, + "line": 248, "column": 35 } } @@ -104571,15 +107269,15 @@ "postfix": false, "binop": null }, - "start": 9799, - "end": 9800, + "start": 9934, + "end": 9935, "loc": { "start": { - "line": 244, + "line": 248, "column": 35 }, "end": { - "line": 244, + "line": 248, "column": 36 } } @@ -104597,15 +107295,15 @@ "binop": null, "updateContext": null }, - "start": 9800, - "end": 9801, + "start": 9935, + "end": 9936, "loc": { "start": { - "line": 244, + "line": 248, "column": 36 }, "end": { - "line": 244, + "line": 248, "column": 37 } } @@ -104622,15 +107320,15 @@ "postfix": false, "binop": null }, - "start": 9807, - "end": 9808, + "start": 9942, + "end": 9943, "loc": { "start": { - "line": 245, + "line": 249, "column": 4 }, "end": { - "line": 245, + "line": 249, "column": 5 } } @@ -104648,15 +107346,15 @@ "binop": null, "updateContext": null }, - "start": 9808, - "end": 9809, + "start": 9943, + "end": 9944, "loc": { "start": { - "line": 245, + "line": 249, "column": 5 }, "end": { - "line": 245, + "line": 249, "column": 6 } } @@ -104675,15 +107373,15 @@ "updateContext": null }, "value": 500, - "start": 9810, - "end": 9813, + "start": 9945, + "end": 9948, "loc": { "start": { - "line": 245, + "line": 249, "column": 7 }, "end": { - "line": 245, + "line": 249, "column": 10 } } @@ -104700,15 +107398,15 @@ "postfix": false, "binop": null }, - "start": 9813, - "end": 9814, + "start": 9948, + "end": 9949, "loc": { "start": { - "line": 245, + "line": 249, "column": 10 }, "end": { - "line": 245, + "line": 249, "column": 11 } } @@ -104726,15 +107424,15 @@ "binop": null, "updateContext": null }, - "start": 9814, - "end": 9815, + "start": 9949, + "end": 9950, "loc": { "start": { - "line": 245, + "line": 249, "column": 11 }, "end": { - "line": 245, + "line": 249, "column": 12 } } @@ -104751,15 +107449,15 @@ "postfix": false, "binop": null }, - "start": 9819, - "end": 9820, + "start": 9954, + "end": 9955, "loc": { "start": { - "line": 246, + "line": 250, "column": 2 }, "end": { - "line": 246, + "line": 250, "column": 3 } } @@ -104767,15 +107465,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", - "start": 9826, - "end": 9865, + "start": 9961, + "end": 10000, "loc": { "start": { - "line": 248, + "line": 252, "column": 2 }, "end": { - "line": 250, + "line": 254, "column": 5 } } @@ -104793,15 +107491,15 @@ "binop": null }, "value": "handleButtonMouseUp", - "start": 9869, - "end": 9888, + "start": 10004, + "end": 10023, "loc": { "start": { - "line": 251, + "line": 255, "column": 2 }, "end": { - "line": 251, + "line": 255, "column": 21 } } @@ -104818,15 +107516,15 @@ "postfix": false, "binop": null }, - "start": 9888, - "end": 9889, + "start": 10023, + "end": 10024, "loc": { "start": { - "line": 251, + "line": 255, "column": 21 }, "end": { - "line": 251, + "line": 255, "column": 22 } } @@ -104843,15 +107541,15 @@ "postfix": false, "binop": null }, - "start": 9889, - "end": 9890, + "start": 10024, + "end": 10025, "loc": { "start": { - "line": 251, + "line": 255, "column": 22 }, "end": { - "line": 251, + "line": 255, "column": 23 } } @@ -104868,15 +107566,15 @@ "postfix": false, "binop": null }, - "start": 9890, - "end": 9891, + "start": 10025, + "end": 10026, "loc": { "start": { - "line": 251, + "line": 255, "column": 23 }, "end": { - "line": 251, + "line": 255, "column": 24 } } @@ -104896,15 +107594,15 @@ "updateContext": null }, "value": "this", - "start": 9897, - "end": 9901, + "start": 10032, + "end": 10036, "loc": { "start": { - "line": 252, + "line": 256, "column": 4 }, "end": { - "line": 252, + "line": 256, "column": 8 } } @@ -104922,15 +107620,15 @@ "binop": null, "updateContext": null }, - "start": 9901, - "end": 9902, + "start": 10036, + "end": 10037, "loc": { "start": { - "line": 252, + "line": 256, "column": 8 }, "end": { - "line": 252, + "line": 256, "column": 9 } } @@ -104948,15 +107646,15 @@ "binop": null }, "value": "isMouseHold", - "start": 9902, - "end": 9913, + "start": 10037, + "end": 10048, "loc": { "start": { - "line": 252, + "line": 256, "column": 9 }, "end": { - "line": 252, + "line": 256, "column": 20 } } @@ -104975,15 +107673,15 @@ "updateContext": null }, "value": "=", - "start": 9914, - "end": 9915, + "start": 10049, + "end": 10050, "loc": { "start": { - "line": 252, + "line": 256, "column": 21 }, "end": { - "line": 252, + "line": 256, "column": 22 } } @@ -105003,15 +107701,15 @@ "updateContext": null }, "value": "false", - "start": 9916, - "end": 9921, + "start": 10051, + "end": 10056, "loc": { "start": { - "line": 252, + "line": 256, "column": 23 }, "end": { - "line": 252, + "line": 256, "column": 28 } } @@ -105029,15 +107727,15 @@ "binop": null, "updateContext": null }, - "start": 9921, - "end": 9922, + "start": 10056, + "end": 10057, "loc": { "start": { - "line": 252, + "line": 256, "column": 28 }, "end": { - "line": 252, + "line": 256, "column": 29 } } @@ -105057,15 +107755,15 @@ "updateContext": null }, "value": "if", - "start": 9928, - "end": 9930, + "start": 10063, + "end": 10065, "loc": { "start": { - "line": 253, + "line": 257, "column": 4 }, "end": { - "line": 253, + "line": 257, "column": 6 } } @@ -105082,15 +107780,15 @@ "postfix": false, "binop": null }, - "start": 9930, - "end": 9931, + "start": 10065, + "end": 10066, "loc": { "start": { - "line": 253, + "line": 257, "column": 6 }, "end": { - "line": 253, + "line": 257, "column": 7 } } @@ -105110,15 +107808,15 @@ "updateContext": null }, "value": "this", - "start": 9931, - "end": 9935, + "start": 10066, + "end": 10070, "loc": { "start": { - "line": 253, + "line": 257, "column": 7 }, "end": { - "line": 253, + "line": 257, "column": 11 } } @@ -105136,15 +107834,15 @@ "binop": null, "updateContext": null }, - "start": 9935, - "end": 9936, + "start": 10070, + "end": 10071, "loc": { "start": { - "line": 253, + "line": 257, "column": 11 }, "end": { - "line": 253, + "line": 257, "column": 12 } } @@ -105162,15 +107860,15 @@ "binop": null }, "value": "holdInteractionTimeout", - "start": 9936, - "end": 9958, + "start": 10071, + "end": 10093, "loc": { "start": { - "line": 253, + "line": 257, "column": 12 }, "end": { - "line": 253, + "line": 257, "column": 34 } } @@ -105187,15 +107885,15 @@ "postfix": false, "binop": null }, - "start": 9958, - "end": 9959, + "start": 10093, + "end": 10094, "loc": { "start": { - "line": 253, + "line": 257, "column": 34 }, "end": { - "line": 253, + "line": 257, "column": 35 } } @@ -105213,15 +107911,15 @@ "binop": null }, "value": "clearTimeout", - "start": 9967, - "end": 9979, + "start": 10102, + "end": 10114, "loc": { "start": { - "line": 254, + "line": 258, "column": 6 }, "end": { - "line": 254, + "line": 258, "column": 18 } } @@ -105238,15 +107936,15 @@ "postfix": false, "binop": null }, - "start": 9979, - "end": 9980, + "start": 10114, + "end": 10115, "loc": { "start": { - "line": 254, + "line": 258, "column": 18 }, "end": { - "line": 254, + "line": 258, "column": 19 } } @@ -105266,15 +107964,15 @@ "updateContext": null }, "value": "this", - "start": 9980, - "end": 9984, + "start": 10115, + "end": 10119, "loc": { "start": { - "line": 254, + "line": 258, "column": 19 }, "end": { - "line": 254, + "line": 258, "column": 23 } } @@ -105292,15 +107990,15 @@ "binop": null, "updateContext": null }, - "start": 9984, - "end": 9985, + "start": 10119, + "end": 10120, "loc": { "start": { - "line": 254, + "line": 258, "column": 23 }, "end": { - "line": 254, + "line": 258, "column": 24 } } @@ -105318,15 +108016,15 @@ "binop": null }, "value": "holdInteractionTimeout", - "start": 9985, - "end": 10007, + "start": 10120, + "end": 10142, "loc": { "start": { - "line": 254, + "line": 258, "column": 24 }, "end": { - "line": 254, + "line": 258, "column": 46 } } @@ -105343,15 +108041,15 @@ "postfix": false, "binop": null }, - "start": 10007, - "end": 10008, + "start": 10142, + "end": 10143, "loc": { "start": { - "line": 254, + "line": 258, "column": 46 }, "end": { - "line": 254, + "line": 258, "column": 47 } } @@ -105369,15 +108067,15 @@ "binop": null, "updateContext": null }, - "start": 10008, - "end": 10009, + "start": 10143, + "end": 10144, "loc": { "start": { - "line": 254, + "line": 258, "column": 47 }, "end": { - "line": 254, + "line": 258, "column": 48 } } @@ -105394,15 +108092,15 @@ "postfix": false, "binop": null }, - "start": 10013, - "end": 10014, + "start": 10148, + "end": 10149, "loc": { "start": { - "line": 255, + "line": 259, "column": 2 }, "end": { - "line": 255, + "line": 259, "column": 3 } } @@ -105410,15 +108108,15 @@ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", - "start": 10020, - "end": 10056, + "start": 10155, + "end": 10191, "loc": { "start": { - "line": 257, + "line": 261, "column": 2 }, "end": { - "line": 259, + "line": 263, "column": 5 } } @@ -105426,15 +108124,15 @@ { "type": "CommentBlock", "value": " istanbul ignore next ", - "start": 10060, - "end": 10086, + "start": 10195, + "end": 10221, "loc": { "start": { - "line": 260, + "line": 264, "column": 2 }, "end": { - "line": 260, + "line": 264, "column": 28 } } @@ -105452,15 +108150,15 @@ "binop": null }, "value": "handleButtonHold", - "start": 10090, - "end": 10106, + "start": 10225, + "end": 10241, "loc": { "start": { - "line": 261, + "line": 265, "column": 2 }, "end": { - "line": 261, + "line": 265, "column": 18 } } @@ -105477,15 +108175,15 @@ "postfix": false, "binop": null }, - "start": 10106, - "end": 10107, + "start": 10241, + "end": 10242, "loc": { "start": { - "line": 261, + "line": 265, "column": 18 }, "end": { - "line": 261, + "line": 265, "column": 19 } } @@ -105503,15 +108201,15 @@ "binop": null }, "value": "button", - "start": 10107, - "end": 10113, + "start": 10242, + "end": 10248, "loc": { "start": { - "line": 261, + "line": 265, "column": 19 }, "end": { - "line": 261, + "line": 265, "column": 25 } } @@ -105528,15 +108226,15 @@ "postfix": false, "binop": null }, - "start": 10113, - "end": 10114, + "start": 10248, + "end": 10249, "loc": { "start": { - "line": 261, + "line": 265, "column": 25 }, "end": { - "line": 261, + "line": 265, "column": 26 } } @@ -105553,31 +108251,68 @@ "postfix": false, "binop": null }, - "start": 10114, - "end": 10115, + "start": 10249, + "end": 10250, "loc": { "start": { - "line": 261, + "line": 265, "column": 26 }, "end": { - "line": 261, + "line": 265, "column": 27 } } }, { - "type": "CommentBlock", - "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", - "start": 10121, - "end": 10207, + "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": 10256, + "end": 10258, "loc": { "start": { - "line": 262, + "line": 266, "column": 4 }, "end": { - "line": 264, + "line": 266, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10258, + "end": 10259, + "loc": { + "start": { + "line": 266, + "column": 6 + }, + "end": { + "line": 266, "column": 7 } } @@ -105597,15 +108332,318 @@ "updateContext": null }, "value": "this", - "start": 10213, - "end": 10217, + "start": 10259, + "end": 10263, "loc": { "start": { - "line": 265, + "line": 266, + "column": 7 + }, + "end": { + "line": 266, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10263, + "end": 10264, + "loc": { + "start": { + "line": 266, + "column": 11 + }, + "end": { + "line": 266, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdInteractionTimeout", + "start": 10264, + "end": 10286, + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10286, + "end": 10287, + "loc": { + "start": { + "line": 266, + "column": 34 + }, + "end": { + "line": 266, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearTimeout", + "start": 10295, + "end": 10307, + "loc": { + "start": { + "line": 267, + "column": 6 + }, + "end": { + "line": 267, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10307, + "end": 10308, + "loc": { + "start": { + "line": 267, + "column": 18 + }, + "end": { + "line": 267, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10308, + "end": 10312, + "loc": { + "start": { + "line": 267, + "column": 19 + }, + "end": { + "line": 267, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10312, + "end": 10313, + "loc": { + "start": { + "line": 267, + "column": 23 + }, + "end": { + "line": 267, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdInteractionTimeout", + "start": 10313, + "end": 10335, + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10335, + "end": 10336, + "loc": { + "start": { + "line": 267, + "column": 46 + }, + "end": { + "line": 267, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10336, + "end": 10337, + "loc": { + "start": { + "line": 267, + "column": 47 + }, + "end": { + "line": 267, + "column": 48 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", + "start": 10345, + "end": 10431, + "loc": { + "start": { + "line": 269, "column": 4 }, "end": { - "line": 265, + "line": 271, + "column": 7 + } + } + }, + { + "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": 10437, + "end": 10441, + "loc": { + "start": { + "line": 272, + "column": 4 + }, + "end": { + "line": 272, "column": 8 } } @@ -105623,15 +108661,15 @@ "binop": null, "updateContext": null }, - "start": 10217, - "end": 10218, + "start": 10441, + "end": 10442, "loc": { "start": { - "line": 265, + "line": 272, "column": 8 }, "end": { - "line": 265, + "line": 272, "column": 9 } } @@ -105649,15 +108687,15 @@ "binop": null }, "value": "holdInteractionTimeout", - "start": 10218, - "end": 10240, + "start": 10442, + "end": 10464, "loc": { "start": { - "line": 265, + "line": 272, "column": 9 }, "end": { - "line": 265, + "line": 272, "column": 31 } } @@ -105676,15 +108714,15 @@ "updateContext": null }, "value": "=", - "start": 10241, - "end": 10242, + "start": 10465, + "end": 10466, "loc": { "start": { - "line": 265, + "line": 272, "column": 32 }, "end": { - "line": 265, + "line": 272, "column": 33 } } @@ -105702,15 +108740,15 @@ "binop": null }, "value": "setTimeout", - "start": 10243, - "end": 10253, + "start": 10467, + "end": 10477, "loc": { "start": { - "line": 265, + "line": 272, "column": 34 }, "end": { - "line": 265, + "line": 272, "column": 44 } } @@ -105727,15 +108765,15 @@ "postfix": false, "binop": null }, - "start": 10253, - "end": 10254, + "start": 10477, + "end": 10478, "loc": { "start": { - "line": 265, + "line": 272, "column": 44 }, "end": { - "line": 265, + "line": 272, "column": 45 } } @@ -105752,15 +108790,15 @@ "postfix": false, "binop": null }, - "start": 10254, - "end": 10255, + "start": 10478, + "end": 10479, "loc": { "start": { - "line": 265, + "line": 272, "column": 45 }, "end": { - "line": 265, + "line": 272, "column": 46 } } @@ -105777,15 +108815,15 @@ "postfix": false, "binop": null }, - "start": 10255, - "end": 10256, + "start": 10479, + "end": 10480, "loc": { "start": { - "line": 265, + "line": 272, "column": 46 }, "end": { - "line": 265, + "line": 272, "column": 47 } } @@ -105803,15 +108841,15 @@ "binop": null, "updateContext": null }, - "start": 10257, - "end": 10259, + "start": 10481, + "end": 10483, "loc": { "start": { - "line": 265, + "line": 272, "column": 48 }, "end": { - "line": 265, + "line": 272, "column": 50 } } @@ -105828,19 +108866,72 @@ "postfix": false, "binop": null }, - "start": 10260, - "end": 10261, + "start": 10484, + "end": 10485, "loc": { "start": { - "line": 265, + "line": 272, "column": 51 }, "end": { - "line": 265, + "line": 272, "column": 52 } } }, + { + "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": 10493, + "end": 10495, + "loc": { + "start": { + "line": 273, + "column": 6 + }, + "end": { + "line": 273, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10495, + "end": 10496, + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 273, + "column": 9 + } + } + }, { "type": { "label": "this", @@ -105856,16 +108947,16 @@ "updateContext": null }, "value": "this", - "start": 10269, - "end": 10273, + "start": 10496, + "end": 10500, "loc": { "start": { - "line": 266, - "column": 6 + "line": 273, + "column": 9 }, "end": { - "line": 266, - "column": 10 + "line": 273, + "column": 13 } } }, @@ -105882,16 +108973,146 @@ "binop": null, "updateContext": null }, - "start": 10273, - "end": 10274, + "start": 10500, + "end": 10501, "loc": { "start": { - "line": 266, - "column": 10 + "line": 273, + "column": 13 }, "end": { - "line": 266, - "column": 11 + "line": 273, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMouseHold", + "start": 10501, + "end": 10512, + "loc": { + "start": { + "line": 273, + "column": 14 + }, + "end": { + "line": 273, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10512, + "end": 10513, + "loc": { + "start": { + "line": 273, + "column": 25 + }, + "end": { + "line": 273, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10513, + "end": 10514, + "loc": { + "start": { + "line": 273, + "column": 26 + }, + "end": { + "line": 273, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10524, + "end": 10528, + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10528, + "end": 10529, + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 13 } } }, @@ -105908,16 +109129,16 @@ "binop": null }, "value": "handleButtonClicked", - "start": 10274, - "end": 10293, + "start": 10529, + "end": 10548, "loc": { "start": { - "line": 266, - "column": 11 + "line": 274, + "column": 13 }, "end": { - "line": 266, - "column": 30 + "line": 274, + "column": 32 } } }, @@ -105933,16 +109154,16 @@ "postfix": false, "binop": null }, - "start": 10293, - "end": 10294, + "start": 10548, + "end": 10549, "loc": { "start": { - "line": 266, - "column": 30 + "line": 274, + "column": 32 }, "end": { - "line": 266, - "column": 31 + "line": 274, + "column": 33 } } }, @@ -105959,16 +109180,16 @@ "binop": null }, "value": "button", - "start": 10294, - "end": 10300, + "start": 10549, + "end": 10555, "loc": { "start": { - "line": 266, - "column": 31 + "line": 274, + "column": 33 }, "end": { - "line": 266, - "column": 37 + "line": 274, + "column": 39 } } }, @@ -105984,16 +109205,16 @@ "postfix": false, "binop": null }, - "start": 10300, - "end": 10301, + "start": 10555, + "end": 10556, "loc": { "start": { - "line": 266, - "column": 37 + "line": 274, + "column": 39 }, "end": { - "line": 266, - "column": 38 + "line": 274, + "column": 40 } } }, @@ -106010,16 +109231,16 @@ "binop": null, "updateContext": null }, - "start": 10301, - "end": 10302, + "start": 10556, + "end": 10557, "loc": { "start": { - "line": 266, - "column": 38 + "line": 274, + "column": 40 }, "end": { - "line": 266, - "column": 39 + "line": 274, + "column": 41 } } }, @@ -106038,16 +109259,16 @@ "updateContext": null }, "value": "this", - "start": 10310, - "end": 10314, + "start": 10567, + "end": 10571, "loc": { "start": { - "line": 267, - "column": 6 + "line": 275, + "column": 8 }, "end": { - "line": 267, - "column": 10 + "line": 275, + "column": 12 } } }, @@ -106064,16 +109285,16 @@ "binop": null, "updateContext": null }, - "start": 10314, - "end": 10315, + "start": 10571, + "end": 10572, "loc": { "start": { - "line": 267, - "column": 10 + "line": 275, + "column": 12 }, "end": { - "line": 267, - "column": 11 + "line": 275, + "column": 13 } } }, @@ -106090,16 +109311,16 @@ "binop": null }, "value": "handleButtonHold", - "start": 10315, - "end": 10331, + "start": 10572, + "end": 10588, "loc": { "start": { - "line": 267, - "column": 11 + "line": 275, + "column": 13 }, "end": { - "line": 267, - "column": 27 + "line": 275, + "column": 29 } } }, @@ -106115,16 +109336,16 @@ "postfix": false, "binop": null }, - "start": 10331, - "end": 10332, + "start": 10588, + "end": 10589, "loc": { "start": { - "line": 267, - "column": 27 + "line": 275, + "column": 29 }, "end": { - "line": 267, - "column": 28 + "line": 275, + "column": 30 } } }, @@ -106141,16 +109362,16 @@ "binop": null }, "value": "button", - "start": 10332, - "end": 10338, + "start": 10589, + "end": 10595, "loc": { "start": { - "line": 267, - "column": 28 + "line": 275, + "column": 30 }, "end": { - "line": 267, - "column": 34 + "line": 275, + "column": 36 } } }, @@ -106166,16 +109387,16 @@ "postfix": false, "binop": null }, - "start": 10338, - "end": 10339, + "start": 10595, + "end": 10596, "loc": { "start": { - "line": 267, - "column": 34 + "line": 275, + "column": 36 }, "end": { - "line": 267, - "column": 35 + "line": 275, + "column": 37 } } }, @@ -106192,16 +109413,16 @@ "binop": null, "updateContext": null }, - "start": 10339, - "end": 10340, + "start": 10596, + "end": 10597, "loc": { "start": { - "line": 267, - "column": 35 + "line": 275, + "column": 37 }, "end": { - "line": 267, - "column": 36 + "line": 275, + "column": 38 } } }, @@ -106217,15 +109438,300 @@ "postfix": false, "binop": null }, - "start": 10346, - "end": 10347, + "start": 10605, + "end": 10606, "loc": { "start": { - "line": 268, + "line": 276, + "column": 6 + }, + "end": { + "line": 276, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 10607, + "end": 10611, + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10612, + "end": 10613, + "loc": { + "start": { + "line": 276, + "column": 13 + }, + "end": { + "line": 276, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "clearTimeout", + "start": 10623, + "end": 10635, + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10635, + "end": 10636, + "loc": { + "start": { + "line": 277, + "column": 20 + }, + "end": { + "line": 277, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 10636, + "end": 10640, + "loc": { + "start": { + "line": 277, + "column": 21 + }, + "end": { + "line": 277, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10640, + "end": 10641, + "loc": { + "start": { + "line": 277, + "column": 25 + }, + "end": { + "line": 277, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "holdInteractionTimeout", + "start": 10641, + "end": 10663, + "loc": { + "start": { + "line": 277, + "column": 26 + }, + "end": { + "line": 277, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10663, + "end": 10664, + "loc": { + "start": { + "line": 277, + "column": 48 + }, + "end": { + "line": 277, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10664, + "end": 10665, + "loc": { + "start": { + "line": 277, + "column": 49 + }, + "end": { + "line": 277, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10673, + "end": 10674, + "loc": { + "start": { + "line": 278, + "column": 6 + }, + "end": { + "line": 278, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10680, + "end": 10681, + "loc": { + "start": { + "line": 279, "column": 4 }, "end": { - "line": 268, + "line": 279, "column": 5 } } @@ -106243,15 +109749,15 @@ "binop": null, "updateContext": null }, - "start": 10347, - "end": 10348, + "start": 10681, + "end": 10682, "loc": { "start": { - "line": 268, + "line": 279, "column": 5 }, "end": { - "line": 268, + "line": 279, "column": 6 } } @@ -106270,15 +109776,15 @@ "updateContext": null }, "value": 100, - "start": 10349, - "end": 10352, + "start": 10683, + "end": 10686, "loc": { "start": { - "line": 268, + "line": 279, "column": 7 }, "end": { - "line": 268, + "line": 279, "column": 10 } } @@ -106295,15 +109801,15 @@ "postfix": false, "binop": null }, - "start": 10352, - "end": 10353, + "start": 10686, + "end": 10687, "loc": { "start": { - "line": 268, + "line": 279, "column": 10 }, "end": { - "line": 268, + "line": 279, "column": 11 } } @@ -106321,15 +109827,15 @@ "binop": null, "updateContext": null }, - "start": 10353, - "end": 10354, + "start": 10687, + "end": 10688, "loc": { "start": { - "line": 268, + "line": 279, "column": 11 }, "end": { - "line": 268, + "line": 279, "column": 12 } } @@ -106346,15 +109852,15 @@ "postfix": false, "binop": null }, - "start": 10358, - "end": 10359, + "start": 10692, + "end": 10693, "loc": { "start": { - "line": 269, + "line": 280, "column": 2 }, "end": { - "line": 269, + "line": 280, "column": 3 } } @@ -106362,15 +109868,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", - "start": 10365, - "end": 10462, + "start": 10699, + "end": 10796, "loc": { "start": { - "line": 271, + "line": 282, "column": 2 }, "end": { - "line": 273, + "line": 284, "column": 5 } } @@ -106388,15 +109894,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 10466, - "end": 10484, + "start": 10800, + "end": 10818, "loc": { "start": { - "line": 274, + "line": 285, "column": 2 }, "end": { - "line": 274, + "line": 285, "column": 20 } } @@ -106413,15 +109919,15 @@ "postfix": false, "binop": null }, - "start": 10484, - "end": 10485, + "start": 10818, + "end": 10819, "loc": { "start": { - "line": 274, + "line": 285, "column": 20 }, "end": { - "line": 274, + "line": 285, "column": 21 } } @@ -106438,15 +109944,15 @@ "postfix": false, "binop": null }, - "start": 10485, - "end": 10486, + "start": 10819, + "end": 10820, "loc": { "start": { - "line": 274, + "line": 285, "column": 21 }, "end": { - "line": 274, + "line": 285, "column": 22 } } @@ -106463,15 +109969,15 @@ "postfix": false, "binop": null }, - "start": 10486, - "end": 10487, + "start": 10820, + "end": 10821, "loc": { "start": { - "line": 274, + "line": 285, "column": 22 }, "end": { - "line": 274, + "line": 285, "column": 23 } } @@ -106491,15 +109997,15 @@ "updateContext": null }, "value": "this", - "start": 10493, - "end": 10497, + "start": 10827, + "end": 10831, "loc": { "start": { - "line": 275, + "line": 286, "column": 4 }, "end": { - "line": 275, + "line": 286, "column": 8 } } @@ -106517,15 +110023,15 @@ "binop": null, "updateContext": null }, - "start": 10497, - "end": 10498, + "start": 10831, + "end": 10832, "loc": { "start": { - "line": 275, + "line": 286, "column": 8 }, "end": { - "line": 275, + "line": 286, "column": 9 } } @@ -106543,15 +110049,15 @@ "binop": null }, "value": "dispatch", - "start": 10498, - "end": 10506, + "start": 10832, + "end": 10840, "loc": { "start": { - "line": 275, + "line": 286, "column": 9 }, "end": { - "line": 275, + "line": 286, "column": 17 } } @@ -106568,15 +110074,15 @@ "postfix": false, "binop": null }, - "start": 10506, - "end": 10507, + "start": 10840, + "end": 10841, "loc": { "start": { - "line": 275, + "line": 286, "column": 17 }, "end": { - "line": 275, + "line": 286, "column": 18 } } @@ -106593,15 +110099,15 @@ "postfix": false, "binop": null }, - "start": 10507, - "end": 10508, + "start": 10841, + "end": 10842, "loc": { "start": { - "line": 275, + "line": 286, "column": 18 }, "end": { - "line": 275, + "line": 286, "column": 19 } } @@ -106619,15 +110125,15 @@ "binop": null }, "value": "instance", - "start": 10508, - "end": 10516, + "start": 10842, + "end": 10850, "loc": { "start": { - "line": 275, + "line": 286, "column": 19 }, "end": { - "line": 275, + "line": 286, "column": 27 } } @@ -106644,15 +110150,15 @@ "postfix": false, "binop": null }, - "start": 10516, - "end": 10517, + "start": 10850, + "end": 10851, "loc": { "start": { - "line": 275, + "line": 286, "column": 27 }, "end": { - "line": 275, + "line": 286, "column": 28 } } @@ -106670,15 +110176,15 @@ "binop": null, "updateContext": null }, - "start": 10518, - "end": 10520, + "start": 10852, + "end": 10854, "loc": { "start": { - "line": 275, + "line": 286, "column": 29 }, "end": { - "line": 275, + "line": 286, "column": 31 } } @@ -106695,15 +110201,15 @@ "postfix": false, "binop": null }, - "start": 10521, - "end": 10522, + "start": 10855, + "end": 10856, "loc": { "start": { - "line": 275, + "line": 286, "column": 32 }, "end": { - "line": 275, + "line": 286, "column": 33 } } @@ -106721,15 +110227,15 @@ "binop": null }, "value": "instance", - "start": 10530, - "end": 10538, + "start": 10864, + "end": 10872, "loc": { "start": { - "line": 276, + "line": 287, "column": 6 }, "end": { - "line": 276, + "line": 287, "column": 14 } } @@ -106747,15 +110253,15 @@ "binop": null, "updateContext": null }, - "start": 10538, - "end": 10539, + "start": 10872, + "end": 10873, "loc": { "start": { - "line": 276, + "line": 287, "column": 14 }, "end": { - "line": 276, + "line": 287, "column": 15 } } @@ -106773,15 +110279,15 @@ "binop": null }, "value": "replaceInput", - "start": 10539, - "end": 10551, + "start": 10873, + "end": 10885, "loc": { "start": { - "line": 276, + "line": 287, "column": 15 }, "end": { - "line": 276, + "line": 287, "column": 27 } } @@ -106798,15 +110304,15 @@ "postfix": false, "binop": null }, - "start": 10551, - "end": 10552, + "start": 10885, + "end": 10886, "loc": { "start": { - "line": 276, + "line": 287, "column": 27 }, "end": { - "line": 276, + "line": 287, "column": 28 } } @@ -106826,15 +110332,15 @@ "updateContext": null }, "value": "this", - "start": 10552, - "end": 10556, + "start": 10886, + "end": 10890, "loc": { "start": { - "line": 276, + "line": 287, "column": 28 }, "end": { - "line": 276, + "line": 287, "column": 32 } } @@ -106852,15 +110358,15 @@ "binop": null, "updateContext": null }, - "start": 10556, - "end": 10557, + "start": 10890, + "end": 10891, "loc": { "start": { - "line": 276, + "line": 287, "column": 32 }, "end": { - "line": 276, + "line": 287, "column": 33 } } @@ -106878,15 +110384,15 @@ "binop": null }, "value": "input", - "start": 10557, - "end": 10562, + "start": 10891, + "end": 10896, "loc": { "start": { - "line": 276, + "line": 287, "column": 33 }, "end": { - "line": 276, + "line": 287, "column": 38 } } @@ -106903,15 +110409,15 @@ "postfix": false, "binop": null }, - "start": 10562, - "end": 10563, + "start": 10896, + "end": 10897, "loc": { "start": { - "line": 276, + "line": 287, "column": 38 }, "end": { - "line": 276, + "line": 287, "column": 39 } } @@ -106929,15 +110435,15 @@ "binop": null, "updateContext": null }, - "start": 10563, - "end": 10564, + "start": 10897, + "end": 10898, "loc": { "start": { - "line": 276, + "line": 287, "column": 39 }, "end": { - "line": 276, + "line": 287, "column": 40 } } @@ -106954,15 +110460,15 @@ "postfix": false, "binop": null }, - "start": 10570, - "end": 10571, + "start": 10904, + "end": 10905, "loc": { "start": { - "line": 277, + "line": 288, "column": 4 }, "end": { - "line": 277, + "line": 288, "column": 5 } } @@ -106979,15 +110485,15 @@ "postfix": false, "binop": null }, - "start": 10571, - "end": 10572, + "start": 10905, + "end": 10906, "loc": { "start": { - "line": 277, + "line": 288, "column": 5 }, "end": { - "line": 277, + "line": 288, "column": 6 } } @@ -107005,15 +110511,15 @@ "binop": null, "updateContext": null }, - "start": 10572, - "end": 10573, + "start": 10906, + "end": 10907, "loc": { "start": { - "line": 277, + "line": 288, "column": 6 }, "end": { - "line": 277, + "line": 288, "column": 7 } } @@ -107030,15 +110536,15 @@ "postfix": false, "binop": null }, - "start": 10577, - "end": 10578, + "start": 10911, + "end": 10912, "loc": { "start": { - "line": 278, + "line": 289, "column": 2 }, "end": { - "line": 278, + "line": 289, "column": 3 } } @@ -107046,15 +110552,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10586, - "end": 10704, + "start": 10920, + "end": 11038, "loc": { "start": { - "line": 280, + "line": 291, "column": 2 }, "end": { - "line": 283, + "line": 294, "column": 5 } } @@ -107072,15 +110578,15 @@ "binop": null }, "value": "clearInput", - "start": 10708, - "end": 10718, + "start": 11042, + "end": 11052, "loc": { "start": { - "line": 284, + "line": 295, "column": 2 }, "end": { - "line": 284, + "line": 295, "column": 12 } } @@ -107097,15 +110603,15 @@ "postfix": false, "binop": null }, - "start": 10718, - "end": 10719, + "start": 11052, + "end": 11053, "loc": { "start": { - "line": 284, + "line": 295, "column": 12 }, "end": { - "line": 284, + "line": 295, "column": 13 } } @@ -107123,15 +110629,15 @@ "binop": null }, "value": "inputName", - "start": 10719, - "end": 10728, + "start": 11053, + "end": 11062, "loc": { "start": { - "line": 284, + "line": 295, "column": 13 }, "end": { - "line": 284, + "line": 295, "column": 22 } } @@ -107148,15 +110654,15 @@ "postfix": false, "binop": null }, - "start": 10728, - "end": 10729, + "start": 11062, + "end": 11063, "loc": { "start": { - "line": 284, + "line": 295, "column": 22 }, "end": { - "line": 284, + "line": 295, "column": 23 } } @@ -107173,15 +110679,15 @@ "postfix": false, "binop": null }, - "start": 10729, - "end": 10730, + "start": 11063, + "end": 11064, "loc": { "start": { - "line": 284, + "line": 295, "column": 23 }, "end": { - "line": 284, + "line": 295, "column": 24 } } @@ -107199,15 +110705,15 @@ "binop": null }, "value": "inputName", - "start": 10736, - "end": 10745, + "start": 11070, + "end": 11079, "loc": { "start": { - "line": 285, + "line": 296, "column": 4 }, "end": { - "line": 285, + "line": 296, "column": 13 } } @@ -107226,15 +110732,15 @@ "updateContext": null }, "value": "=", - "start": 10746, - "end": 10747, + "start": 11080, + "end": 11081, "loc": { "start": { - "line": 285, + "line": 296, "column": 14 }, "end": { - "line": 285, + "line": 296, "column": 15 } } @@ -107252,15 +110758,15 @@ "binop": null }, "value": "inputName", - "start": 10748, - "end": 10757, + "start": 11082, + "end": 11091, "loc": { "start": { - "line": 285, + "line": 296, "column": 16 }, "end": { - "line": 285, + "line": 296, "column": 25 } } @@ -107279,15 +110785,15 @@ "updateContext": null }, "value": "||", - "start": 10758, - "end": 10760, + "start": 11092, + "end": 11094, "loc": { "start": { - "line": 285, + "line": 296, "column": 26 }, "end": { - "line": 285, + "line": 296, "column": 28 } } @@ -107307,15 +110813,15 @@ "updateContext": null }, "value": "this", - "start": 10761, - "end": 10765, + "start": 11095, + "end": 11099, "loc": { "start": { - "line": 285, + "line": 296, "column": 29 }, "end": { - "line": 285, + "line": 296, "column": 33 } } @@ -107333,15 +110839,15 @@ "binop": null, "updateContext": null }, - "start": 10765, - "end": 10766, + "start": 11099, + "end": 11100, "loc": { "start": { - "line": 285, + "line": 296, "column": 33 }, "end": { - "line": 285, + "line": 296, "column": 34 } } @@ -107359,15 +110865,15 @@ "binop": null }, "value": "options", - "start": 10766, - "end": 10773, + "start": 11100, + "end": 11107, "loc": { "start": { - "line": 285, + "line": 296, "column": 34 }, "end": { - "line": 285, + "line": 296, "column": 41 } } @@ -107385,15 +110891,15 @@ "binop": null, "updateContext": null }, - "start": 10773, - "end": 10774, + "start": 11107, + "end": 11108, "loc": { "start": { - "line": 285, + "line": 296, "column": 41 }, "end": { - "line": 285, + "line": 296, "column": 42 } } @@ -107411,15 +110917,15 @@ "binop": null }, "value": "inputName", - "start": 10774, - "end": 10783, + "start": 11108, + "end": 11117, "loc": { "start": { - "line": 285, + "line": 296, "column": 42 }, "end": { - "line": 285, + "line": 296, "column": 51 } } @@ -107437,15 +110943,15 @@ "binop": null, "updateContext": null }, - "start": 10783, - "end": 10784, + "start": 11117, + "end": 11118, "loc": { "start": { - "line": 285, + "line": 296, "column": 51 }, "end": { - "line": 285, + "line": 296, "column": 52 } } @@ -107465,15 +110971,15 @@ "updateContext": null }, "value": "this", - "start": 10790, - "end": 10794, + "start": 11124, + "end": 11128, "loc": { "start": { - "line": 286, + "line": 297, "column": 4 }, "end": { - "line": 286, + "line": 297, "column": 8 } } @@ -107491,15 +110997,15 @@ "binop": null, "updateContext": null }, - "start": 10794, - "end": 10795, + "start": 11128, + "end": 11129, "loc": { "start": { - "line": 286, + "line": 297, "column": 8 }, "end": { - "line": 286, + "line": 297, "column": 9 } } @@ -107517,15 +111023,15 @@ "binop": null }, "value": "input", - "start": 10795, - "end": 10800, + "start": 11129, + "end": 11134, "loc": { "start": { - "line": 286, + "line": 297, "column": 9 }, "end": { - "line": 286, + "line": 297, "column": 14 } } @@ -107543,15 +111049,15 @@ "binop": null, "updateContext": null }, - "start": 10800, - "end": 10801, + "start": 11134, + "end": 11135, "loc": { "start": { - "line": 286, + "line": 297, "column": 14 }, "end": { - "line": 286, + "line": 297, "column": 15 } } @@ -107571,15 +111077,15 @@ "updateContext": null }, "value": "this", - "start": 10801, - "end": 10805, + "start": 11135, + "end": 11139, "loc": { "start": { - "line": 286, + "line": 297, "column": 15 }, "end": { - "line": 286, + "line": 297, "column": 19 } } @@ -107597,15 +111103,15 @@ "binop": null, "updateContext": null }, - "start": 10805, - "end": 10806, + "start": 11139, + "end": 11140, "loc": { "start": { - "line": 286, + "line": 297, "column": 19 }, "end": { - "line": 286, + "line": 297, "column": 20 } } @@ -107623,15 +111129,15 @@ "binop": null }, "value": "options", - "start": 10806, - "end": 10813, + "start": 11140, + "end": 11147, "loc": { "start": { - "line": 286, + "line": 297, "column": 20 }, "end": { - "line": 286, + "line": 297, "column": 27 } } @@ -107649,15 +111155,15 @@ "binop": null, "updateContext": null }, - "start": 10813, - "end": 10814, + "start": 11147, + "end": 11148, "loc": { "start": { - "line": 286, + "line": 297, "column": 27 }, "end": { - "line": 286, + "line": 297, "column": 28 } } @@ -107675,15 +111181,15 @@ "binop": null }, "value": "inputName", - "start": 10814, - "end": 10823, + "start": 11148, + "end": 11157, "loc": { "start": { - "line": 286, + "line": 297, "column": 28 }, "end": { - "line": 286, + "line": 297, "column": 37 } } @@ -107701,15 +111207,15 @@ "binop": null, "updateContext": null }, - "start": 10823, - "end": 10824, + "start": 11157, + "end": 11158, "loc": { "start": { - "line": 286, + "line": 297, "column": 37 }, "end": { - "line": 286, + "line": 297, "column": 38 } } @@ -107728,15 +111234,15 @@ "updateContext": null }, "value": "=", - "start": 10825, - "end": 10826, + "start": 11159, + "end": 11160, "loc": { "start": { - "line": 286, + "line": 297, "column": 39 }, "end": { - "line": 286, + "line": 297, "column": 40 } } @@ -107755,15 +111261,15 @@ "updateContext": null }, "value": "", - "start": 10827, - "end": 10829, + "start": 11161, + "end": 11163, "loc": { "start": { - "line": 286, + "line": 297, "column": 41 }, "end": { - "line": 286, + "line": 297, "column": 43 } } @@ -107781,15 +111287,15 @@ "binop": null, "updateContext": null }, - "start": 10829, - "end": 10830, + "start": 11163, + "end": 11164, "loc": { "start": { - "line": 286, + "line": 297, "column": 43 }, "end": { - "line": 286, + "line": 297, "column": 44 } } @@ -107797,15 +111303,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 10838, - "end": 10893, + "start": 11172, + "end": 11227, "loc": { "start": { - "line": 288, + "line": 299, "column": 4 }, "end": { - "line": 290, + "line": 301, "column": 7 } } @@ -107825,15 +111331,15 @@ "updateContext": null }, "value": "if", - "start": 10899, - "end": 10901, + "start": 11233, + "end": 11235, "loc": { "start": { - "line": 291, + "line": 302, "column": 4 }, "end": { - "line": 291, + "line": 302, "column": 6 } } @@ -107850,15 +111356,15 @@ "postfix": false, "binop": null }, - "start": 10901, - "end": 10902, + "start": 11235, + "end": 11236, "loc": { "start": { - "line": 291, + "line": 302, "column": 6 }, "end": { - "line": 291, + "line": 302, "column": 7 } } @@ -107878,15 +111384,15 @@ "updateContext": null }, "value": "this", - "start": 10902, - "end": 10906, + "start": 11236, + "end": 11240, "loc": { "start": { - "line": 291, + "line": 302, "column": 7 }, "end": { - "line": 291, + "line": 302, "column": 11 } } @@ -107904,15 +111410,15 @@ "binop": null, "updateContext": null }, - "start": 10906, - "end": 10907, + "start": 11240, + "end": 11241, "loc": { "start": { - "line": 291, + "line": 302, "column": 11 }, "end": { - "line": 291, + "line": 302, "column": 12 } } @@ -107930,15 +111436,15 @@ "binop": null }, "value": "options", - "start": 10907, - "end": 10914, + "start": 11241, + "end": 11248, "loc": { "start": { - "line": 291, + "line": 302, "column": 12 }, "end": { - "line": 291, + "line": 302, "column": 19 } } @@ -107956,15 +111462,15 @@ "binop": null, "updateContext": null }, - "start": 10914, - "end": 10915, + "start": 11248, + "end": 11249, "loc": { "start": { - "line": 291, + "line": 302, "column": 19 }, "end": { - "line": 291, + "line": 302, "column": 20 } } @@ -107982,15 +111488,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 10915, - "end": 10933, + "start": 11249, + "end": 11267, "loc": { "start": { - "line": 291, + "line": 302, "column": 20 }, "end": { - "line": 291, + "line": 302, "column": 38 } } @@ -108007,15 +111513,15 @@ "postfix": false, "binop": null }, - "start": 10933, - "end": 10934, + "start": 11267, + "end": 11268, "loc": { "start": { - "line": 291, + "line": 302, "column": 38 }, "end": { - "line": 291, + "line": 302, "column": 39 } } @@ -108035,15 +111541,15 @@ "updateContext": null }, "value": "this", - "start": 10942, - "end": 10946, + "start": 11276, + "end": 11280, "loc": { "start": { - "line": 292, + "line": 303, "column": 6 }, "end": { - "line": 292, + "line": 303, "column": 10 } } @@ -108061,15 +111567,15 @@ "binop": null, "updateContext": null }, - "start": 10946, - "end": 10947, + "start": 11280, + "end": 11281, "loc": { "start": { - "line": 292, + "line": 303, "column": 10 }, "end": { - "line": 292, + "line": 303, "column": 11 } } @@ -108087,15 +111593,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 10947, - "end": 10965, + "start": 11281, + "end": 11299, "loc": { "start": { - "line": 292, + "line": 303, "column": 11 }, "end": { - "line": 292, + "line": 303, "column": 29 } } @@ -108112,15 +111618,15 @@ "postfix": false, "binop": null }, - "start": 10965, - "end": 10966, + "start": 11299, + "end": 11300, "loc": { "start": { - "line": 292, + "line": 303, "column": 29 }, "end": { - "line": 292, + "line": 303, "column": 30 } } @@ -108140,15 +111646,15 @@ "updateContext": null }, "value": "this", - "start": 10966, - "end": 10970, + "start": 11300, + "end": 11304, "loc": { "start": { - "line": 292, + "line": 303, "column": 30 }, "end": { - "line": 292, + "line": 303, "column": 34 } } @@ -108166,15 +111672,15 @@ "binop": null, "updateContext": null }, - "start": 10970, - "end": 10971, + "start": 11304, + "end": 11305, "loc": { "start": { - "line": 292, + "line": 303, "column": 34 }, "end": { - "line": 292, + "line": 303, "column": 35 } } @@ -108192,15 +111698,15 @@ "binop": null }, "value": "input", - "start": 10971, - "end": 10976, + "start": 11305, + "end": 11310, "loc": { "start": { - "line": 292, + "line": 303, "column": 35 }, "end": { - "line": 292, + "line": 303, "column": 40 } } @@ -108217,15 +111723,15 @@ "postfix": false, "binop": null }, - "start": 10976, - "end": 10977, + "start": 11310, + "end": 11311, "loc": { "start": { - "line": 292, + "line": 303, "column": 40 }, "end": { - "line": 292, + "line": 303, "column": 41 } } @@ -108243,15 +111749,15 @@ "binop": null, "updateContext": null }, - "start": 10977, - "end": 10978, + "start": 11311, + "end": 11312, "loc": { "start": { - "line": 292, + "line": 303, "column": 41 }, "end": { - "line": 292, + "line": 303, "column": 42 } } @@ -108268,15 +111774,15 @@ "postfix": false, "binop": null }, - "start": 10982, - "end": 10983, + "start": 11316, + "end": 11317, "loc": { "start": { - "line": 293, + "line": 304, "column": 2 }, "end": { - "line": 293, + "line": 304, "column": 3 } } @@ -108284,15 +111790,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", - "start": 10989, - "end": 11151, + "start": 11323, + "end": 11485, "loc": { "start": { - "line": 295, + "line": 306, "column": 2 }, "end": { - "line": 298, + "line": 309, "column": 5 } } @@ -108310,15 +111816,15 @@ "binop": null }, "value": "getInput", - "start": 11155, - "end": 11163, + "start": 11489, + "end": 11497, "loc": { "start": { - "line": 299, + "line": 310, "column": 2 }, "end": { - "line": 299, + "line": 310, "column": 10 } } @@ -108335,15 +111841,15 @@ "postfix": false, "binop": null }, - "start": 11163, - "end": 11164, + "start": 11497, + "end": 11498, "loc": { "start": { - "line": 299, + "line": 310, "column": 10 }, "end": { - "line": 299, + "line": 310, "column": 11 } } @@ -108361,15 +111867,15 @@ "binop": null }, "value": "inputName", - "start": 11164, - "end": 11173, + "start": 11498, + "end": 11507, "loc": { "start": { - "line": 299, + "line": 310, "column": 11 }, "end": { - "line": 299, + "line": 310, "column": 20 } } @@ -108386,15 +111892,15 @@ "postfix": false, "binop": null }, - "start": 11173, - "end": 11174, + "start": 11507, + "end": 11508, "loc": { "start": { - "line": 299, + "line": 310, "column": 20 }, "end": { - "line": 299, + "line": 310, "column": 21 } } @@ -108411,15 +111917,15 @@ "postfix": false, "binop": null }, - "start": 11174, - "end": 11175, + "start": 11508, + "end": 11509, "loc": { "start": { - "line": 299, + "line": 310, "column": 21 }, "end": { - "line": 299, + "line": 310, "column": 22 } } @@ -108437,15 +111943,15 @@ "binop": null }, "value": "inputName", - "start": 11181, - "end": 11190, + "start": 11515, + "end": 11524, "loc": { "start": { - "line": 300, + "line": 311, "column": 4 }, "end": { - "line": 300, + "line": 311, "column": 13 } } @@ -108464,15 +111970,15 @@ "updateContext": null }, "value": "=", - "start": 11191, - "end": 11192, + "start": 11525, + "end": 11526, "loc": { "start": { - "line": 300, + "line": 311, "column": 14 }, "end": { - "line": 300, + "line": 311, "column": 15 } } @@ -108490,15 +111996,15 @@ "binop": null }, "value": "inputName", - "start": 11193, - "end": 11202, + "start": 11527, + "end": 11536, "loc": { "start": { - "line": 300, + "line": 311, "column": 16 }, "end": { - "line": 300, + "line": 311, "column": 25 } } @@ -108517,15 +112023,15 @@ "updateContext": null }, "value": "||", - "start": 11203, - "end": 11205, + "start": 11537, + "end": 11539, "loc": { "start": { - "line": 300, + "line": 311, "column": 26 }, "end": { - "line": 300, + "line": 311, "column": 28 } } @@ -108545,15 +112051,15 @@ "updateContext": null }, "value": "this", - "start": 11206, - "end": 11210, + "start": 11540, + "end": 11544, "loc": { "start": { - "line": 300, + "line": 311, "column": 29 }, "end": { - "line": 300, + "line": 311, "column": 33 } } @@ -108571,15 +112077,15 @@ "binop": null, "updateContext": null }, - "start": 11210, - "end": 11211, + "start": 11544, + "end": 11545, "loc": { "start": { - "line": 300, + "line": 311, "column": 33 }, "end": { - "line": 300, + "line": 311, "column": 34 } } @@ -108597,15 +112103,15 @@ "binop": null }, "value": "options", - "start": 11211, - "end": 11218, + "start": 11545, + "end": 11552, "loc": { "start": { - "line": 300, + "line": 311, "column": 34 }, "end": { - "line": 300, + "line": 311, "column": 41 } } @@ -108623,15 +112129,15 @@ "binop": null, "updateContext": null }, - "start": 11218, - "end": 11219, + "start": 11552, + "end": 11553, "loc": { "start": { - "line": 300, + "line": 311, "column": 41 }, "end": { - "line": 300, + "line": 311, "column": 42 } } @@ -108649,15 +112155,15 @@ "binop": null }, "value": "inputName", - "start": 11219, - "end": 11228, + "start": 11553, + "end": 11562, "loc": { "start": { - "line": 300, + "line": 311, "column": 42 }, "end": { - "line": 300, + "line": 311, "column": 51 } } @@ -108675,15 +112181,15 @@ "binop": null, "updateContext": null }, - "start": 11228, - "end": 11229, + "start": 11562, + "end": 11563, "loc": { "start": { - "line": 300, + "line": 311, "column": 51 }, "end": { - "line": 300, + "line": 311, "column": 52 } } @@ -108691,15 +112197,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11237, - "end": 11292, + "start": 11571, + "end": 11626, "loc": { "start": { - "line": 302, + "line": 313, "column": 4 }, "end": { - "line": 304, + "line": 315, "column": 7 } } @@ -108719,15 +112225,15 @@ "updateContext": null }, "value": "if", - "start": 11298, - "end": 11300, + "start": 11632, + "end": 11634, "loc": { "start": { - "line": 305, + "line": 316, "column": 4 }, "end": { - "line": 305, + "line": 316, "column": 6 } } @@ -108744,15 +112250,15 @@ "postfix": false, "binop": null }, - "start": 11300, - "end": 11301, + "start": 11634, + "end": 11635, "loc": { "start": { - "line": 305, + "line": 316, "column": 6 }, "end": { - "line": 305, + "line": 316, "column": 7 } } @@ -108772,15 +112278,15 @@ "updateContext": null }, "value": "this", - "start": 11301, - "end": 11305, + "start": 11635, + "end": 11639, "loc": { "start": { - "line": 305, + "line": 316, "column": 7 }, "end": { - "line": 305, + "line": 316, "column": 11 } } @@ -108798,15 +112304,15 @@ "binop": null, "updateContext": null }, - "start": 11305, - "end": 11306, + "start": 11639, + "end": 11640, "loc": { "start": { - "line": 305, + "line": 316, "column": 11 }, "end": { - "line": 305, + "line": 316, "column": 12 } } @@ -108824,15 +112330,15 @@ "binop": null }, "value": "options", - "start": 11306, - "end": 11313, + "start": 11640, + "end": 11647, "loc": { "start": { - "line": 305, + "line": 316, "column": 12 }, "end": { - "line": 305, + "line": 316, "column": 19 } } @@ -108850,15 +112356,15 @@ "binop": null, "updateContext": null }, - "start": 11313, - "end": 11314, + "start": 11647, + "end": 11648, "loc": { "start": { - "line": 305, + "line": 316, "column": 19 }, "end": { - "line": 305, + "line": 316, "column": 20 } } @@ -108876,15 +112382,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 11314, - "end": 11332, + "start": 11648, + "end": 11666, "loc": { "start": { - "line": 305, + "line": 316, "column": 20 }, "end": { - "line": 305, + "line": 316, "column": 38 } } @@ -108901,15 +112407,15 @@ "postfix": false, "binop": null }, - "start": 11332, - "end": 11333, + "start": 11666, + "end": 11667, "loc": { "start": { - "line": 305, + "line": 316, "column": 38 }, "end": { - "line": 305, + "line": 316, "column": 39 } } @@ -108929,15 +112435,15 @@ "updateContext": null }, "value": "this", - "start": 11341, - "end": 11345, + "start": 11675, + "end": 11679, "loc": { "start": { - "line": 306, + "line": 317, "column": 6 }, "end": { - "line": 306, + "line": 317, "column": 10 } } @@ -108955,15 +112461,15 @@ "binop": null, "updateContext": null }, - "start": 11345, - "end": 11346, + "start": 11679, + "end": 11680, "loc": { "start": { - "line": 306, + "line": 317, "column": 10 }, "end": { - "line": 306, + "line": 317, "column": 11 } } @@ -108981,15 +112487,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 11346, - "end": 11364, + "start": 11680, + "end": 11698, "loc": { "start": { - "line": 306, + "line": 317, "column": 11 }, "end": { - "line": 306, + "line": 317, "column": 29 } } @@ -109006,15 +112512,15 @@ "postfix": false, "binop": null }, - "start": 11364, - "end": 11365, + "start": 11698, + "end": 11699, "loc": { "start": { - "line": 306, + "line": 317, "column": 29 }, "end": { - "line": 306, + "line": 317, "column": 30 } } @@ -109034,15 +112540,15 @@ "updateContext": null }, "value": "this", - "start": 11365, - "end": 11369, + "start": 11699, + "end": 11703, "loc": { "start": { - "line": 306, + "line": 317, "column": 30 }, "end": { - "line": 306, + "line": 317, "column": 34 } } @@ -109060,15 +112566,15 @@ "binop": null, "updateContext": null }, - "start": 11369, - "end": 11370, + "start": 11703, + "end": 11704, "loc": { "start": { - "line": 306, + "line": 317, "column": 34 }, "end": { - "line": 306, + "line": 317, "column": 35 } } @@ -109086,15 +112592,15 @@ "binop": null }, "value": "input", - "start": 11370, - "end": 11375, + "start": 11704, + "end": 11709, "loc": { "start": { - "line": 306, + "line": 317, "column": 35 }, "end": { - "line": 306, + "line": 317, "column": 40 } } @@ -109111,15 +112617,15 @@ "postfix": false, "binop": null }, - "start": 11375, - "end": 11376, + "start": 11709, + "end": 11710, "loc": { "start": { - "line": 306, + "line": 317, "column": 40 }, "end": { - "line": 306, + "line": 317, "column": 41 } } @@ -109137,15 +112643,15 @@ "binop": null, "updateContext": null }, - "start": 11376, - "end": 11377, + "start": 11710, + "end": 11711, "loc": { "start": { - "line": 306, + "line": 317, "column": 41 }, "end": { - "line": 306, + "line": 317, "column": 42 } } @@ -109165,15 +112671,15 @@ "updateContext": null }, "value": "return", - "start": 11385, - "end": 11391, + "start": 11719, + "end": 11725, "loc": { "start": { - "line": 308, + "line": 319, "column": 4 }, "end": { - "line": 308, + "line": 319, "column": 10 } } @@ -109193,15 +112699,15 @@ "updateContext": null }, "value": "this", - "start": 11392, - "end": 11396, + "start": 11726, + "end": 11730, "loc": { "start": { - "line": 308, + "line": 319, "column": 11 }, "end": { - "line": 308, + "line": 319, "column": 15 } } @@ -109219,15 +112725,15 @@ "binop": null, "updateContext": null }, - "start": 11396, - "end": 11397, + "start": 11730, + "end": 11731, "loc": { "start": { - "line": 308, + "line": 319, "column": 15 }, "end": { - "line": 308, + "line": 319, "column": 16 } } @@ -109245,15 +112751,15 @@ "binop": null }, "value": "input", - "start": 11397, - "end": 11402, + "start": 11731, + "end": 11736, "loc": { "start": { - "line": 308, + "line": 319, "column": 16 }, "end": { - "line": 308, + "line": 319, "column": 21 } } @@ -109271,15 +112777,15 @@ "binop": null, "updateContext": null }, - "start": 11402, - "end": 11403, + "start": 11736, + "end": 11737, "loc": { "start": { - "line": 308, + "line": 319, "column": 21 }, "end": { - "line": 308, + "line": 319, "column": 22 } } @@ -109299,15 +112805,15 @@ "updateContext": null }, "value": "this", - "start": 11403, - "end": 11407, + "start": 11737, + "end": 11741, "loc": { "start": { - "line": 308, + "line": 319, "column": 22 }, "end": { - "line": 308, + "line": 319, "column": 26 } } @@ -109325,15 +112831,15 @@ "binop": null, "updateContext": null }, - "start": 11407, - "end": 11408, + "start": 11741, + "end": 11742, "loc": { "start": { - "line": 308, + "line": 319, "column": 26 }, "end": { - "line": 308, + "line": 319, "column": 27 } } @@ -109351,15 +112857,15 @@ "binop": null }, "value": "options", - "start": 11408, - "end": 11415, + "start": 11742, + "end": 11749, "loc": { "start": { - "line": 308, + "line": 319, "column": 27 }, "end": { - "line": 308, + "line": 319, "column": 34 } } @@ -109377,15 +112883,15 @@ "binop": null, "updateContext": null }, - "start": 11415, - "end": 11416, + "start": 11749, + "end": 11750, "loc": { "start": { - "line": 308, + "line": 319, "column": 34 }, "end": { - "line": 308, + "line": 319, "column": 35 } } @@ -109403,15 +112909,15 @@ "binop": null }, "value": "inputName", - "start": 11416, - "end": 11425, + "start": 11750, + "end": 11759, "loc": { "start": { - "line": 308, + "line": 319, "column": 35 }, "end": { - "line": 308, + "line": 319, "column": 44 } } @@ -109429,15 +112935,15 @@ "binop": null, "updateContext": null }, - "start": 11425, - "end": 11426, + "start": 11759, + "end": 11760, "loc": { "start": { - "line": 308, + "line": 319, "column": 44 }, "end": { - "line": 308, + "line": 319, "column": 45 } } @@ -109455,15 +112961,15 @@ "binop": null, "updateContext": null }, - "start": 11426, - "end": 11427, + "start": 11760, + "end": 11761, "loc": { "start": { - "line": 308, + "line": 319, "column": 45 }, "end": { - "line": 308, + "line": 319, "column": 46 } } @@ -109480,15 +112986,15 @@ "postfix": false, "binop": null }, - "start": 11431, - "end": 11432, + "start": 11765, + "end": 11766, "loc": { "start": { - "line": 309, + "line": 320, "column": 2 }, "end": { - "line": 309, + "line": 320, "column": 3 } } @@ -109496,15 +113002,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", - "start": 11438, - "end": 11598, + "start": 11772, + "end": 11932, "loc": { "start": { - "line": 311, + "line": 322, "column": 2 }, "end": { - "line": 315, + "line": 326, "column": 5 } } @@ -109522,15 +113028,15 @@ "binop": null }, "value": "setInput", - "start": 11602, - "end": 11610, + "start": 11936, + "end": 11944, "loc": { "start": { - "line": 316, + "line": 327, "column": 2 }, "end": { - "line": 316, + "line": 327, "column": 10 } } @@ -109547,15 +113053,15 @@ "postfix": false, "binop": null }, - "start": 11610, - "end": 11611, + "start": 11944, + "end": 11945, "loc": { "start": { - "line": 316, + "line": 327, "column": 10 }, "end": { - "line": 316, + "line": 327, "column": 11 } } @@ -109573,15 +113079,15 @@ "binop": null }, "value": "input", - "start": 11611, - "end": 11616, + "start": 11945, + "end": 11950, "loc": { "start": { - "line": 316, + "line": 327, "column": 11 }, "end": { - "line": 316, + "line": 327, "column": 16 } } @@ -109599,15 +113105,15 @@ "binop": null, "updateContext": null }, - "start": 11616, - "end": 11617, + "start": 11950, + "end": 11951, "loc": { "start": { - "line": 316, + "line": 327, "column": 16 }, "end": { - "line": 316, + "line": 327, "column": 17 } } @@ -109625,15 +113131,15 @@ "binop": null }, "value": "inputName", - "start": 11618, - "end": 11627, + "start": 11952, + "end": 11961, "loc": { "start": { - "line": 316, + "line": 327, "column": 18 }, "end": { - "line": 316, + "line": 327, "column": 27 } } @@ -109650,15 +113156,15 @@ "postfix": false, "binop": null }, - "start": 11627, - "end": 11628, + "start": 11961, + "end": 11962, "loc": { "start": { - "line": 316, + "line": 327, "column": 27 }, "end": { - "line": 316, + "line": 327, "column": 28 } } @@ -109675,15 +113181,15 @@ "postfix": false, "binop": null }, - "start": 11628, - "end": 11629, + "start": 11962, + "end": 11963, "loc": { "start": { - "line": 316, + "line": 327, "column": 28 }, "end": { - "line": 316, + "line": 327, "column": 29 } } @@ -109701,15 +113207,15 @@ "binop": null }, "value": "inputName", - "start": 11635, - "end": 11644, + "start": 11969, + "end": 11978, "loc": { "start": { - "line": 317, + "line": 328, "column": 4 }, "end": { - "line": 317, + "line": 328, "column": 13 } } @@ -109728,15 +113234,15 @@ "updateContext": null }, "value": "=", - "start": 11645, - "end": 11646, + "start": 11979, + "end": 11980, "loc": { "start": { - "line": 317, + "line": 328, "column": 14 }, "end": { - "line": 317, + "line": 328, "column": 15 } } @@ -109754,15 +113260,15 @@ "binop": null }, "value": "inputName", - "start": 11647, - "end": 11656, + "start": 11981, + "end": 11990, "loc": { "start": { - "line": 317, + "line": 328, "column": 16 }, "end": { - "line": 317, + "line": 328, "column": 25 } } @@ -109781,15 +113287,15 @@ "updateContext": null }, "value": "||", - "start": 11657, - "end": 11659, + "start": 11991, + "end": 11993, "loc": { "start": { - "line": 317, + "line": 328, "column": 26 }, "end": { - "line": 317, + "line": 328, "column": 28 } } @@ -109809,15 +113315,15 @@ "updateContext": null }, "value": "this", - "start": 11660, - "end": 11664, + "start": 11994, + "end": 11998, "loc": { "start": { - "line": 317, + "line": 328, "column": 29 }, "end": { - "line": 317, + "line": 328, "column": 33 } } @@ -109835,15 +113341,15 @@ "binop": null, "updateContext": null }, - "start": 11664, - "end": 11665, + "start": 11998, + "end": 11999, "loc": { "start": { - "line": 317, + "line": 328, "column": 33 }, "end": { - "line": 317, + "line": 328, "column": 34 } } @@ -109861,15 +113367,15 @@ "binop": null }, "value": "options", - "start": 11665, - "end": 11672, + "start": 11999, + "end": 12006, "loc": { "start": { - "line": 317, + "line": 328, "column": 34 }, "end": { - "line": 317, + "line": 328, "column": 41 } } @@ -109887,15 +113393,15 @@ "binop": null, "updateContext": null }, - "start": 11672, - "end": 11673, + "start": 12006, + "end": 12007, "loc": { "start": { - "line": 317, + "line": 328, "column": 41 }, "end": { - "line": 317, + "line": 328, "column": 42 } } @@ -109913,15 +113419,15 @@ "binop": null }, "value": "inputName", - "start": 11673, - "end": 11682, + "start": 12007, + "end": 12016, "loc": { "start": { - "line": 317, + "line": 328, "column": 42 }, "end": { - "line": 317, + "line": 328, "column": 51 } } @@ -109939,15 +113445,15 @@ "binop": null, "updateContext": null }, - "start": 11682, - "end": 11683, + "start": 12016, + "end": 12017, "loc": { "start": { - "line": 317, + "line": 328, "column": 51 }, "end": { - "line": 317, + "line": 328, "column": 52 } } @@ -109967,15 +113473,15 @@ "updateContext": null }, "value": "this", - "start": 11689, - "end": 11693, + "start": 12023, + "end": 12027, "loc": { "start": { - "line": 318, + "line": 329, "column": 4 }, "end": { - "line": 318, + "line": 329, "column": 8 } } @@ -109993,15 +113499,15 @@ "binop": null, "updateContext": null }, - "start": 11693, - "end": 11694, + "start": 12027, + "end": 12028, "loc": { "start": { - "line": 318, + "line": 329, "column": 8 }, "end": { - "line": 318, + "line": 329, "column": 9 } } @@ -110019,15 +113525,15 @@ "binop": null }, "value": "input", - "start": 11694, - "end": 11699, + "start": 12028, + "end": 12033, "loc": { "start": { - "line": 318, + "line": 329, "column": 9 }, "end": { - "line": 318, + "line": 329, "column": 14 } } @@ -110045,15 +113551,15 @@ "binop": null, "updateContext": null }, - "start": 11699, - "end": 11700, + "start": 12033, + "end": 12034, "loc": { "start": { - "line": 318, + "line": 329, "column": 14 }, "end": { - "line": 318, + "line": 329, "column": 15 } } @@ -110071,15 +113577,15 @@ "binop": null }, "value": "inputName", - "start": 11700, - "end": 11709, + "start": 12034, + "end": 12043, "loc": { "start": { - "line": 318, + "line": 329, "column": 15 }, "end": { - "line": 318, + "line": 329, "column": 24 } } @@ -110097,15 +113603,15 @@ "binop": null, "updateContext": null }, - "start": 11709, - "end": 11710, + "start": 12043, + "end": 12044, "loc": { "start": { - "line": 318, + "line": 329, "column": 24 }, "end": { - "line": 318, + "line": 329, "column": 25 } } @@ -110124,15 +113630,15 @@ "updateContext": null }, "value": "=", - "start": 11711, - "end": 11712, + "start": 12045, + "end": 12046, "loc": { "start": { - "line": 318, + "line": 329, "column": 26 }, "end": { - "line": 318, + "line": 329, "column": 27 } } @@ -110150,15 +113656,15 @@ "binop": null }, "value": "input", - "start": 11713, - "end": 11718, + "start": 12047, + "end": 12052, "loc": { "start": { - "line": 318, + "line": 329, "column": 28 }, "end": { - "line": 318, + "line": 329, "column": 33 } } @@ -110176,15 +113682,15 @@ "binop": null, "updateContext": null }, - "start": 11718, - "end": 11719, + "start": 12052, + "end": 12053, "loc": { "start": { - "line": 318, + "line": 329, "column": 33 }, "end": { - "line": 318, + "line": 329, "column": 34 } } @@ -110192,15 +113698,15 @@ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", - "start": 11727, - "end": 11782, + "start": 12061, + "end": 12116, "loc": { "start": { - "line": 320, + "line": 331, "column": 4 }, "end": { - "line": 322, + "line": 333, "column": 7 } } @@ -110220,15 +113726,15 @@ "updateContext": null }, "value": "if", - "start": 11788, - "end": 11790, + "start": 12122, + "end": 12124, "loc": { "start": { - "line": 323, + "line": 334, "column": 4 }, "end": { - "line": 323, + "line": 334, "column": 6 } } @@ -110245,15 +113751,15 @@ "postfix": false, "binop": null }, - "start": 11790, - "end": 11791, + "start": 12124, + "end": 12125, "loc": { "start": { - "line": 323, + "line": 334, "column": 6 }, "end": { - "line": 323, + "line": 334, "column": 7 } } @@ -110273,15 +113779,15 @@ "updateContext": null }, "value": "this", - "start": 11791, - "end": 11795, + "start": 12125, + "end": 12129, "loc": { "start": { - "line": 323, + "line": 334, "column": 7 }, "end": { - "line": 323, + "line": 334, "column": 11 } } @@ -110299,15 +113805,15 @@ "binop": null, "updateContext": null }, - "start": 11795, - "end": 11796, + "start": 12129, + "end": 12130, "loc": { "start": { - "line": 323, + "line": 334, "column": 11 }, "end": { - "line": 323, + "line": 334, "column": 12 } } @@ -110325,15 +113831,15 @@ "binop": null }, "value": "options", - "start": 11796, - "end": 11803, + "start": 12130, + "end": 12137, "loc": { "start": { - "line": 323, + "line": 334, "column": 12 }, "end": { - "line": 323, + "line": 334, "column": 19 } } @@ -110351,15 +113857,15 @@ "binop": null, "updateContext": null }, - "start": 11803, - "end": 11804, + "start": 12137, + "end": 12138, "loc": { "start": { - "line": 323, + "line": 334, "column": 19 }, "end": { - "line": 323, + "line": 334, "column": 20 } } @@ -110377,15 +113883,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 11804, - "end": 11822, + "start": 12138, + "end": 12156, "loc": { "start": { - "line": 323, + "line": 334, "column": 20 }, "end": { - "line": 323, + "line": 334, "column": 38 } } @@ -110402,15 +113908,15 @@ "postfix": false, "binop": null }, - "start": 11822, - "end": 11823, + "start": 12156, + "end": 12157, "loc": { "start": { - "line": 323, + "line": 334, "column": 38 }, "end": { - "line": 323, + "line": 334, "column": 39 } } @@ -110430,15 +113936,15 @@ "updateContext": null }, "value": "this", - "start": 11831, - "end": 11835, + "start": 12165, + "end": 12169, "loc": { "start": { - "line": 324, + "line": 335, "column": 6 }, "end": { - "line": 324, + "line": 335, "column": 10 } } @@ -110456,15 +113962,15 @@ "binop": null, "updateContext": null }, - "start": 11835, - "end": 11836, + "start": 12169, + "end": 12170, "loc": { "start": { - "line": 324, + "line": 335, "column": 10 }, "end": { - "line": 324, + "line": 335, "column": 11 } } @@ -110482,15 +113988,15 @@ "binop": null }, "value": "syncInstanceInputs", - "start": 11836, - "end": 11854, + "start": 12170, + "end": 12188, "loc": { "start": { - "line": 324, + "line": 335, "column": 11 }, "end": { - "line": 324, + "line": 335, "column": 29 } } @@ -110507,15 +114013,15 @@ "postfix": false, "binop": null }, - "start": 11854, - "end": 11855, + "start": 12188, + "end": 12189, "loc": { "start": { - "line": 324, + "line": 335, "column": 29 }, "end": { - "line": 324, + "line": 335, "column": 30 } } @@ -110535,15 +114041,15 @@ "updateContext": null }, "value": "this", - "start": 11855, - "end": 11859, + "start": 12189, + "end": 12193, "loc": { "start": { - "line": 324, + "line": 335, "column": 30 }, "end": { - "line": 324, + "line": 335, "column": 34 } } @@ -110561,15 +114067,15 @@ "binop": null, "updateContext": null }, - "start": 11859, - "end": 11860, + "start": 12193, + "end": 12194, "loc": { "start": { - "line": 324, + "line": 335, "column": 34 }, "end": { - "line": 324, + "line": 335, "column": 35 } } @@ -110587,15 +114093,15 @@ "binop": null }, "value": "input", - "start": 11860, - "end": 11865, + "start": 12194, + "end": 12199, "loc": { "start": { - "line": 324, + "line": 335, "column": 35 }, "end": { - "line": 324, + "line": 335, "column": 40 } } @@ -110612,15 +114118,15 @@ "postfix": false, "binop": null }, - "start": 11865, - "end": 11866, + "start": 12199, + "end": 12200, "loc": { "start": { - "line": 324, + "line": 335, "column": 40 }, "end": { - "line": 324, + "line": 335, "column": 41 } } @@ -110638,15 +114144,15 @@ "binop": null, "updateContext": null }, - "start": 11866, - "end": 11867, + "start": 12200, + "end": 12201, "loc": { "start": { - "line": 324, + "line": 335, "column": 41 }, "end": { - "line": 324, + "line": 335, "column": 42 } } @@ -110663,15 +114169,15 @@ "postfix": false, "binop": null }, - "start": 11871, - "end": 11872, + "start": 12205, + "end": 12206, "loc": { "start": { - "line": 325, + "line": 336, "column": 2 }, "end": { - "line": 325, + "line": 336, "column": 3 } } @@ -110679,15 +114185,15 @@ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", - "start": 11880, - "end": 11989, + "start": 12214, + "end": 12323, "loc": { "start": { - "line": 327, + "line": 338, "column": 2 }, "end": { - "line": 330, + "line": 341, "column": 5 } } @@ -110705,15 +114211,15 @@ "binop": null }, "value": "replaceInput", - "start": 11993, - "end": 12005, + "start": 12327, + "end": 12339, "loc": { "start": { - "line": 331, + "line": 342, "column": 2 }, "end": { - "line": 331, + "line": 342, "column": 14 } } @@ -110730,15 +114236,15 @@ "postfix": false, "binop": null }, - "start": 12005, - "end": 12006, + "start": 12339, + "end": 12340, "loc": { "start": { - "line": 331, + "line": 342, "column": 14 }, "end": { - "line": 331, + "line": 342, "column": 15 } } @@ -110756,15 +114262,15 @@ "binop": null }, "value": "inputObj", - "start": 12006, - "end": 12014, + "start": 12340, + "end": 12348, "loc": { "start": { - "line": 331, + "line": 342, "column": 15 }, "end": { - "line": 331, + "line": 342, "column": 23 } } @@ -110781,15 +114287,15 @@ "postfix": false, "binop": null }, - "start": 12014, - "end": 12015, + "start": 12348, + "end": 12349, "loc": { "start": { - "line": 331, + "line": 342, "column": 23 }, "end": { - "line": 331, + "line": 342, "column": 24 } } @@ -110806,15 +114312,15 @@ "postfix": false, "binop": null }, - "start": 12015, - "end": 12016, + "start": 12349, + "end": 12350, "loc": { "start": { - "line": 331, + "line": 342, "column": 24 }, "end": { - "line": 331, + "line": 342, "column": 25 } } @@ -110834,15 +114340,15 @@ "updateContext": null }, "value": "this", - "start": 12022, - "end": 12026, + "start": 12356, + "end": 12360, "loc": { "start": { - "line": 332, + "line": 343, "column": 4 }, "end": { - "line": 332, + "line": 343, "column": 8 } } @@ -110860,15 +114366,15 @@ "binop": null, "updateContext": null }, - "start": 12026, - "end": 12027, + "start": 12360, + "end": 12361, "loc": { "start": { - "line": 332, + "line": 343, "column": 8 }, "end": { - "line": 332, + "line": 343, "column": 9 } } @@ -110886,15 +114392,15 @@ "binop": null }, "value": "input", - "start": 12027, - "end": 12032, + "start": 12361, + "end": 12366, "loc": { "start": { - "line": 332, + "line": 343, "column": 9 }, "end": { - "line": 332, + "line": 343, "column": 14 } } @@ -110913,15 +114419,15 @@ "updateContext": null }, "value": "=", - "start": 12033, - "end": 12034, + "start": 12367, + "end": 12368, "loc": { "start": { - "line": 332, + "line": 343, "column": 15 }, "end": { - "line": 332, + "line": 343, "column": 16 } } @@ -110939,15 +114445,15 @@ "binop": null }, "value": "inputObj", - "start": 12035, - "end": 12043, + "start": 12369, + "end": 12377, "loc": { "start": { - "line": 332, + "line": 343, "column": 17 }, "end": { - "line": 332, + "line": 343, "column": 25 } } @@ -110965,15 +114471,15 @@ "binop": null, "updateContext": null }, - "start": 12043, - "end": 12044, + "start": 12377, + "end": 12378, "loc": { "start": { - "line": 332, + "line": 343, "column": 25 }, "end": { - "line": 332, + "line": 343, "column": 26 } } @@ -110990,15 +114496,15 @@ "postfix": false, "binop": null }, - "start": 12048, - "end": 12049, + "start": 12382, + "end": 12383, "loc": { "start": { - "line": 333, + "line": 344, "column": 2 }, "end": { - "line": 333, + "line": 344, "column": 3 } } @@ -111006,15 +114512,15 @@ { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", - "start": 12055, - "end": 12181, + "start": 12389, + "end": 12515, "loc": { "start": { - "line": 335, + "line": 346, "column": 2 }, "end": { - "line": 338, + "line": 349, "column": 5 } } @@ -111032,15 +114538,15 @@ "binop": null }, "value": "setOptions", - "start": 12185, - "end": 12195, + "start": 12519, + "end": 12529, "loc": { "start": { - "line": 339, + "line": 350, "column": 2 }, "end": { - "line": 339, + "line": 350, "column": 12 } } @@ -111059,15 +114565,15 @@ "updateContext": null }, "value": "=", - "start": 12196, - "end": 12197, + "start": 12530, + "end": 12531, "loc": { "start": { - "line": 339, + "line": 350, "column": 13 }, "end": { - "line": 339, + "line": 350, "column": 14 } } @@ -111085,15 +114591,15 @@ "binop": null }, "value": "option", - "start": 12198, - "end": 12204, + "start": 12532, + "end": 12538, "loc": { "start": { - "line": 339, + "line": 350, "column": 15 }, "end": { - "line": 339, + "line": 350, "column": 21 } } @@ -111111,15 +114617,15 @@ "binop": null, "updateContext": null }, - "start": 12205, - "end": 12207, + "start": 12539, + "end": 12541, "loc": { "start": { - "line": 339, + "line": 350, "column": 22 }, "end": { - "line": 339, + "line": 350, "column": 24 } } @@ -111136,15 +114642,15 @@ "postfix": false, "binop": null }, - "start": 12208, - "end": 12209, + "start": 12542, + "end": 12543, "loc": { "start": { - "line": 339, + "line": 350, "column": 25 }, "end": { - "line": 339, + "line": 350, "column": 26 } } @@ -111162,15 +114668,15 @@ "binop": null }, "value": "option", - "start": 12215, - "end": 12221, + "start": 12549, + "end": 12555, "loc": { "start": { - "line": 340, + "line": 351, "column": 4 }, "end": { - "line": 340, + "line": 351, "column": 10 } } @@ -111189,15 +114695,15 @@ "updateContext": null }, "value": "=", - "start": 12222, - "end": 12223, + "start": 12556, + "end": 12557, "loc": { "start": { - "line": 340, + "line": 351, "column": 11 }, "end": { - "line": 340, + "line": 351, "column": 12 } } @@ -111215,15 +114721,15 @@ "binop": null }, "value": "option", - "start": 12224, - "end": 12230, + "start": 12558, + "end": 12564, "loc": { "start": { - "line": 340, + "line": 351, "column": 13 }, "end": { - "line": 340, + "line": 351, "column": 19 } } @@ -111242,15 +114748,15 @@ "updateContext": null }, "value": "||", - "start": 12231, - "end": 12233, + "start": 12565, + "end": 12567, "loc": { "start": { - "line": 340, + "line": 351, "column": 20 }, "end": { - "line": 340, + "line": 351, "column": 22 } } @@ -111267,15 +114773,15 @@ "postfix": false, "binop": null }, - "start": 12234, - "end": 12235, + "start": 12568, + "end": 12569, "loc": { "start": { - "line": 340, + "line": 351, "column": 23 }, "end": { - "line": 340, + "line": 351, "column": 24 } } @@ -111292,15 +114798,15 @@ "postfix": false, "binop": null }, - "start": 12235, - "end": 12236, + "start": 12569, + "end": 12570, "loc": { "start": { - "line": 340, + "line": 351, "column": 24 }, "end": { - "line": 340, + "line": 351, "column": 25 } } @@ -111318,15 +114824,15 @@ "binop": null, "updateContext": null }, - "start": 12236, - "end": 12237, + "start": 12570, + "end": 12571, "loc": { "start": { - "line": 340, + "line": 351, "column": 25 }, "end": { - "line": 340, + "line": 351, "column": 26 } } @@ -111346,15 +114852,15 @@ "updateContext": null }, "value": "this", - "start": 12243, - "end": 12247, + "start": 12577, + "end": 12581, "loc": { "start": { - "line": 341, + "line": 352, "column": 4 }, "end": { - "line": 341, + "line": 352, "column": 8 } } @@ -111372,15 +114878,15 @@ "binop": null, "updateContext": null }, - "start": 12247, - "end": 12248, + "start": 12581, + "end": 12582, "loc": { "start": { - "line": 341, + "line": 352, "column": 8 }, "end": { - "line": 341, + "line": 352, "column": 9 } } @@ -111398,15 +114904,15 @@ "binop": null }, "value": "options", - "start": 12248, - "end": 12255, + "start": 12582, + "end": 12589, "loc": { "start": { - "line": 341, + "line": 352, "column": 9 }, "end": { - "line": 341, + "line": 352, "column": 16 } } @@ -111425,15 +114931,15 @@ "updateContext": null }, "value": "=", - "start": 12256, - "end": 12257, + "start": 12590, + "end": 12591, "loc": { "start": { - "line": 341, + "line": 352, "column": 17 }, "end": { - "line": 341, + "line": 352, "column": 18 } } @@ -111451,15 +114957,15 @@ "binop": null }, "value": "Object", - "start": 12258, - "end": 12264, + "start": 12592, + "end": 12598, "loc": { "start": { - "line": 341, + "line": 352, "column": 19 }, "end": { - "line": 341, + "line": 352, "column": 25 } } @@ -111477,15 +114983,15 @@ "binop": null, "updateContext": null }, - "start": 12264, - "end": 12265, + "start": 12598, + "end": 12599, "loc": { "start": { - "line": 341, + "line": 352, "column": 25 }, "end": { - "line": 341, + "line": 352, "column": 26 } } @@ -111503,15 +115009,15 @@ "binop": null }, "value": "assign", - "start": 12265, - "end": 12271, + "start": 12599, + "end": 12605, "loc": { "start": { - "line": 341, + "line": 352, "column": 26 }, "end": { - "line": 341, + "line": 352, "column": 32 } } @@ -111528,15 +115034,15 @@ "postfix": false, "binop": null }, - "start": 12271, - "end": 12272, + "start": 12605, + "end": 12606, "loc": { "start": { - "line": 341, + "line": 352, "column": 32 }, "end": { - "line": 341, + "line": 352, "column": 33 } } @@ -111556,15 +115062,15 @@ "updateContext": null }, "value": "this", - "start": 12272, - "end": 12276, + "start": 12606, + "end": 12610, "loc": { "start": { - "line": 341, + "line": 352, "column": 33 }, "end": { - "line": 341, + "line": 352, "column": 37 } } @@ -111582,15 +115088,15 @@ "binop": null, "updateContext": null }, - "start": 12276, - "end": 12277, + "start": 12610, + "end": 12611, "loc": { "start": { - "line": 341, + "line": 352, "column": 37 }, "end": { - "line": 341, + "line": 352, "column": 38 } } @@ -111608,15 +115114,15 @@ "binop": null }, "value": "options", - "start": 12277, - "end": 12284, + "start": 12611, + "end": 12618, "loc": { "start": { - "line": 341, + "line": 352, "column": 38 }, "end": { - "line": 341, + "line": 352, "column": 45 } } @@ -111634,15 +115140,15 @@ "binop": null, "updateContext": null }, - "start": 12284, - "end": 12285, + "start": 12618, + "end": 12619, "loc": { "start": { - "line": 341, + "line": 352, "column": 45 }, "end": { - "line": 341, + "line": 352, "column": 46 } } @@ -111660,15 +115166,15 @@ "binop": null }, "value": "option", - "start": 12286, - "end": 12292, + "start": 12620, + "end": 12626, "loc": { "start": { - "line": 341, + "line": 352, "column": 47 }, "end": { - "line": 341, + "line": 352, "column": 53 } } @@ -111685,15 +115191,15 @@ "postfix": false, "binop": null }, - "start": 12292, - "end": 12293, + "start": 12626, + "end": 12627, "loc": { "start": { - "line": 341, + "line": 352, "column": 53 }, "end": { - "line": 341, + "line": 352, "column": 54 } } @@ -111711,15 +115217,15 @@ "binop": null, "updateContext": null }, - "start": 12293, - "end": 12294, + "start": 12627, + "end": 12628, "loc": { "start": { - "line": 341, + "line": 352, "column": 54 }, "end": { - "line": 341, + "line": 352, "column": 55 } } @@ -111739,15 +115245,15 @@ "updateContext": null }, "value": "this", - "start": 12300, - "end": 12304, + "start": 12634, + "end": 12638, "loc": { "start": { - "line": 342, + "line": 353, "column": 4 }, "end": { - "line": 342, + "line": 353, "column": 8 } } @@ -111765,15 +115271,15 @@ "binop": null, "updateContext": null }, - "start": 12304, - "end": 12305, + "start": 12638, + "end": 12639, "loc": { "start": { - "line": 342, + "line": 353, "column": 8 }, "end": { - "line": 342, + "line": 353, "column": 9 } } @@ -111791,15 +115297,15 @@ "binop": null }, "value": "render", - "start": 12305, - "end": 12311, + "start": 12639, + "end": 12645, "loc": { "start": { - "line": 342, + "line": 353, "column": 9 }, "end": { - "line": 342, + "line": 353, "column": 15 } } @@ -111816,15 +115322,15 @@ "postfix": false, "binop": null }, - "start": 12311, - "end": 12312, + "start": 12645, + "end": 12646, "loc": { "start": { - "line": 342, + "line": 353, "column": 15 }, "end": { - "line": 342, + "line": 353, "column": 16 } } @@ -111841,15 +115347,15 @@ "postfix": false, "binop": null }, - "start": 12312, - "end": 12313, + "start": 12646, + "end": 12647, "loc": { "start": { - "line": 342, + "line": 353, "column": 16 }, "end": { - "line": 342, + "line": 353, "column": 17 } } @@ -111867,15 +115373,15 @@ "binop": null, "updateContext": null }, - "start": 12313, - "end": 12314, + "start": 12647, + "end": 12648, "loc": { "start": { - "line": 342, + "line": 353, "column": 17 }, "end": { - "line": 342, + "line": 353, "column": 18 } } @@ -111892,15 +115398,15 @@ "postfix": false, "binop": null }, - "start": 12318, - "end": 12319, + "start": 12652, + "end": 12653, "loc": { "start": { - "line": 343, + "line": 354, "column": 2 }, "end": { - "line": 343, + "line": 354, "column": 3 } } @@ -111908,15 +115414,15 @@ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", - "start": 12325, - "end": 12434, + "start": 12659, + "end": 12768, "loc": { "start": { - "line": 345, + "line": 356, "column": 2 }, "end": { - "line": 348, + "line": 359, "column": 5 } } @@ -111934,15 +115440,15 @@ "binop": null }, "value": "clear", - "start": 12438, - "end": 12443, + "start": 12772, + "end": 12777, "loc": { "start": { - "line": 349, + "line": 360, "column": 2 }, "end": { - "line": 349, + "line": 360, "column": 7 } } @@ -111959,15 +115465,15 @@ "postfix": false, "binop": null }, - "start": 12443, - "end": 12444, + "start": 12777, + "end": 12778, "loc": { "start": { - "line": 349, + "line": 360, "column": 7 }, "end": { - "line": 349, + "line": 360, "column": 8 } } @@ -111984,15 +115490,15 @@ "postfix": false, "binop": null }, - "start": 12444, - "end": 12445, + "start": 12778, + "end": 12779, "loc": { "start": { - "line": 349, + "line": 360, "column": 8 }, "end": { - "line": 349, + "line": 360, "column": 9 } } @@ -112009,15 +115515,15 @@ "postfix": false, "binop": null }, - "start": 12445, - "end": 12446, + "start": 12779, + "end": 12780, "loc": { "start": { - "line": 349, + "line": 360, "column": 9 }, "end": { - "line": 349, + "line": 360, "column": 10 } } @@ -112037,15 +115543,15 @@ "updateContext": null }, "value": "this", - "start": 12452, - "end": 12456, + "start": 12786, + "end": 12790, "loc": { "start": { - "line": 350, + "line": 361, "column": 4 }, "end": { - "line": 350, + "line": 361, "column": 8 } } @@ -112063,15 +115569,15 @@ "binop": null, "updateContext": null }, - "start": 12456, - "end": 12457, + "start": 12790, + "end": 12791, "loc": { "start": { - "line": 350, + "line": 361, "column": 8 }, "end": { - "line": 350, + "line": 361, "column": 9 } } @@ -112089,15 +115595,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 12457, - "end": 12468, + "start": 12791, + "end": 12802, "loc": { "start": { - "line": 350, + "line": 361, "column": 9 }, "end": { - "line": 350, + "line": 361, "column": 20 } } @@ -112115,15 +115621,15 @@ "binop": null, "updateContext": null }, - "start": 12468, - "end": 12469, + "start": 12802, + "end": 12803, "loc": { "start": { - "line": 350, + "line": 361, "column": 20 }, "end": { - "line": 350, + "line": 361, "column": 21 } } @@ -112141,15 +115647,15 @@ "binop": null }, "value": "innerHTML", - "start": 12469, - "end": 12478, + "start": 12803, + "end": 12812, "loc": { "start": { - "line": 350, + "line": 361, "column": 21 }, "end": { - "line": 350, + "line": 361, "column": 30 } } @@ -112168,15 +115674,15 @@ "updateContext": null }, "value": "=", - "start": 12479, - "end": 12480, + "start": 12813, + "end": 12814, "loc": { "start": { - "line": 350, + "line": 361, "column": 31 }, "end": { - "line": 350, + "line": 361, "column": 32 } } @@ -112195,15 +115701,15 @@ "updateContext": null }, "value": "", - "start": 12481, - "end": 12483, + "start": 12815, + "end": 12817, "loc": { "start": { - "line": 350, + "line": 361, "column": 33 }, "end": { - "line": 350, + "line": 361, "column": 35 } } @@ -112221,15 +115727,15 @@ "binop": null, "updateContext": null }, - "start": 12483, - "end": 12484, + "start": 12817, + "end": 12818, "loc": { "start": { - "line": 350, + "line": 361, "column": 35 }, "end": { - "line": 350, + "line": 361, "column": 36 } } @@ -112249,15 +115755,15 @@ "updateContext": null }, "value": "this", - "start": 12490, - "end": 12494, + "start": 12824, + "end": 12828, "loc": { "start": { - "line": 351, + "line": 362, "column": 4 }, "end": { - "line": 351, + "line": 362, "column": 8 } } @@ -112275,15 +115781,15 @@ "binop": null, "updateContext": null }, - "start": 12494, - "end": 12495, + "start": 12828, + "end": 12829, "loc": { "start": { - "line": 351, + "line": 362, "column": 8 }, "end": { - "line": 351, + "line": 362, "column": 9 } } @@ -112301,15 +115807,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 12495, - "end": 12506, + "start": 12829, + "end": 12840, "loc": { "start": { - "line": 351, + "line": 362, "column": 9 }, "end": { - "line": 351, + "line": 362, "column": 20 } } @@ -112327,15 +115833,15 @@ "binop": null, "updateContext": null }, - "start": 12506, - "end": 12507, + "start": 12840, + "end": 12841, "loc": { "start": { - "line": 351, + "line": 362, "column": 20 }, "end": { - "line": 351, + "line": 362, "column": 21 } } @@ -112353,15 +115859,15 @@ "binop": null }, "value": "className", - "start": 12507, - "end": 12516, + "start": 12841, + "end": 12850, "loc": { "start": { - "line": 351, + "line": 362, "column": 21 }, "end": { - "line": 351, + "line": 362, "column": 30 } } @@ -112380,15 +115886,15 @@ "updateContext": null }, "value": "=", - "start": 12517, - "end": 12518, + "start": 12851, + "end": 12852, "loc": { "start": { - "line": 351, + "line": 362, "column": 31 }, "end": { - "line": 351, + "line": 362, "column": 32 } } @@ -112408,15 +115914,15 @@ "updateContext": null }, "value": "this", - "start": 12519, - "end": 12523, + "start": 12853, + "end": 12857, "loc": { "start": { - "line": 351, + "line": 362, "column": 33 }, "end": { - "line": 351, + "line": 362, "column": 37 } } @@ -112434,15 +115940,15 @@ "binop": null, "updateContext": null }, - "start": 12523, - "end": 12524, + "start": 12857, + "end": 12858, "loc": { "start": { - "line": 351, + "line": 362, "column": 37 }, "end": { - "line": 351, + "line": 362, "column": 38 } } @@ -112460,15 +115966,15 @@ "binop": null }, "value": "keyboardDOMClass", - "start": 12524, - "end": 12540, + "start": 12858, + "end": 12874, "loc": { "start": { - "line": 351, + "line": 362, "column": 38 }, "end": { - "line": 351, + "line": 362, "column": 54 } } @@ -112486,15 +115992,15 @@ "binop": null, "updateContext": null }, - "start": 12540, - "end": 12541, + "start": 12874, + "end": 12875, "loc": { "start": { - "line": 351, + "line": 362, "column": 54 }, "end": { - "line": 351, + "line": 362, "column": 55 } } @@ -112514,15 +116020,15 @@ "updateContext": null }, "value": "this", - "start": 12547, - "end": 12551, + "start": 12881, + "end": 12885, "loc": { "start": { - "line": 352, + "line": 363, "column": 4 }, "end": { - "line": 352, + "line": 363, "column": 8 } } @@ -112540,15 +116046,15 @@ "binop": null, "updateContext": null }, - "start": 12551, - "end": 12552, + "start": 12885, + "end": 12886, "loc": { "start": { - "line": 352, + "line": 363, "column": 8 }, "end": { - "line": 352, + "line": 363, "column": 9 } } @@ -112566,15 +116072,15 @@ "binop": null }, "value": "buttonElements", - "start": 12552, - "end": 12566, + "start": 12886, + "end": 12900, "loc": { "start": { - "line": 352, + "line": 363, "column": 9 }, "end": { - "line": 352, + "line": 363, "column": 23 } } @@ -112593,15 +116099,15 @@ "updateContext": null }, "value": "=", - "start": 12567, - "end": 12568, + "start": 12901, + "end": 12902, "loc": { "start": { - "line": 352, + "line": 363, "column": 24 }, "end": { - "line": 352, + "line": 363, "column": 25 } } @@ -112618,15 +116124,15 @@ "postfix": false, "binop": null }, - "start": 12569, - "end": 12570, + "start": 12903, + "end": 12904, "loc": { "start": { - "line": 352, + "line": 363, "column": 26 }, "end": { - "line": 352, + "line": 363, "column": 27 } } @@ -112643,15 +116149,15 @@ "postfix": false, "binop": null }, - "start": 12570, - "end": 12571, + "start": 12904, + "end": 12905, "loc": { "start": { - "line": 352, + "line": 363, "column": 27 }, "end": { - "line": 352, + "line": 363, "column": 28 } } @@ -112669,15 +116175,15 @@ "binop": null, "updateContext": null }, - "start": 12571, - "end": 12572, + "start": 12905, + "end": 12906, "loc": { "start": { - "line": 352, + "line": 363, "column": 28 }, "end": { - "line": 352, + "line": 363, "column": 29 } } @@ -112694,15 +116200,15 @@ "postfix": false, "binop": null }, - "start": 12576, - "end": 12577, + "start": 12910, + "end": 12911, "loc": { "start": { - "line": 353, + "line": 364, "column": 2 }, "end": { - "line": 353, + "line": 364, "column": 3 } } @@ -112710,15 +116216,15 @@ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", - "start": 12583, - "end": 12788, + "start": 12917, + "end": 13122, "loc": { "start": { - "line": 355, + "line": 366, "column": 2 }, "end": { - "line": 358, + "line": 369, "column": 5 } } @@ -112736,15 +116242,15 @@ "binop": null }, "value": "dispatch", - "start": 12792, - "end": 12800, + "start": 13126, + "end": 13134, "loc": { "start": { - "line": 359, + "line": 370, "column": 2 }, "end": { - "line": 359, + "line": 370, "column": 10 } } @@ -112761,15 +116267,15 @@ "postfix": false, "binop": null }, - "start": 12800, - "end": 12801, + "start": 13134, + "end": 13135, "loc": { "start": { - "line": 359, + "line": 370, "column": 10 }, "end": { - "line": 359, + "line": 370, "column": 11 } } @@ -112787,15 +116293,15 @@ "binop": null }, "value": "callback", - "start": 12801, - "end": 12809, + "start": 13135, + "end": 13143, "loc": { "start": { - "line": 359, + "line": 370, "column": 11 }, "end": { - "line": 359, + "line": 370, "column": 19 } } @@ -112812,15 +116318,15 @@ "postfix": false, "binop": null }, - "start": 12809, - "end": 12810, + "start": 13143, + "end": 13144, "loc": { "start": { - "line": 359, + "line": 370, "column": 19 }, "end": { - "line": 359, + "line": 370, "column": 20 } } @@ -112837,15 +116343,15 @@ "postfix": false, "binop": null }, - "start": 12810, - "end": 12811, + "start": 13144, + "end": 13145, "loc": { "start": { - "line": 359, + "line": 370, "column": 20 }, "end": { - "line": 359, + "line": 370, "column": 21 } } @@ -112865,15 +116371,15 @@ "updateContext": null }, "value": "if", - "start": 12817, - "end": 12819, + "start": 13151, + "end": 13153, "loc": { "start": { - "line": 360, + "line": 371, "column": 4 }, "end": { - "line": 360, + "line": 371, "column": 6 } } @@ -112890,15 +116396,15 @@ "postfix": false, "binop": null }, - "start": 12819, - "end": 12820, + "start": 13153, + "end": 13154, "loc": { "start": { - "line": 360, + "line": 371, "column": 6 }, "end": { - "line": 360, + "line": 371, "column": 7 } } @@ -112917,15 +116423,15 @@ "updateContext": null }, "value": "!", - "start": 12820, - "end": 12821, + "start": 13154, + "end": 13155, "loc": { "start": { - "line": 360, + "line": 371, "column": 7 }, "end": { - "line": 360, + "line": 371, "column": 8 } } @@ -112943,15 +116449,15 @@ "binop": null }, "value": "window", - "start": 12821, - "end": 12827, + "start": 13155, + "end": 13161, "loc": { "start": { - "line": 360, + "line": 371, "column": 8 }, "end": { - "line": 360, + "line": 371, "column": 14 } } @@ -112969,15 +116475,15 @@ "binop": null, "updateContext": null }, - "start": 12827, - "end": 12828, + "start": 13161, + "end": 13162, "loc": { "start": { - "line": 360, + "line": 371, "column": 14 }, "end": { - "line": 360, + "line": 371, "column": 15 } } @@ -112996,15 +116502,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 12828, - "end": 12853, + "start": 13162, + "end": 13187, "loc": { "start": { - "line": 360, + "line": 371, "column": 15 }, "end": { - "line": 360, + "line": 371, "column": 40 } } @@ -113022,15 +116528,15 @@ "binop": null, "updateContext": null }, - "start": 12853, - "end": 12854, + "start": 13187, + "end": 13188, "loc": { "start": { - "line": 360, + "line": 371, "column": 40 }, "end": { - "line": 360, + "line": 371, "column": 41 } } @@ -113047,15 +116553,15 @@ "postfix": false, "binop": null }, - "start": 12854, - "end": 12855, + "start": 13188, + "end": 13189, "loc": { "start": { - "line": 360, + "line": 371, "column": 41 }, "end": { - "line": 360, + "line": 371, "column": 42 } } @@ -113072,15 +116578,15 @@ "postfix": false, "binop": null }, - "start": 12855, - "end": 12856, + "start": 13189, + "end": 13190, "loc": { "start": { - "line": 360, + "line": 371, "column": 42 }, "end": { - "line": 360, + "line": 371, "column": 43 } } @@ -113098,15 +116604,15 @@ "binop": null }, "value": "console", - "start": 12864, - "end": 12871, + "start": 13198, + "end": 13205, "loc": { "start": { - "line": 361, + "line": 372, "column": 6 }, "end": { - "line": 361, + "line": 372, "column": 13 } } @@ -113124,15 +116630,15 @@ "binop": null, "updateContext": null }, - "start": 12871, - "end": 12872, + "start": 13205, + "end": 13206, "loc": { "start": { - "line": 361, + "line": 372, "column": 13 }, "end": { - "line": 361, + "line": 372, "column": 14 } } @@ -113150,15 +116656,15 @@ "binop": null }, "value": "warn", - "start": 12872, - "end": 12876, + "start": 13206, + "end": 13210, "loc": { "start": { - "line": 361, + "line": 372, "column": 14 }, "end": { - "line": 361, + "line": 372, "column": 18 } } @@ -113175,15 +116681,15 @@ "postfix": false, "binop": null }, - "start": 12876, - "end": 12877, + "start": 13210, + "end": 13211, "loc": { "start": { - "line": 361, + "line": 372, "column": 18 }, "end": { - "line": 361, + "line": 372, "column": 19 } } @@ -113200,15 +116706,15 @@ "postfix": false, "binop": null }, - "start": 12877, - "end": 12878, + "start": 13211, + "end": 13212, "loc": { "start": { - "line": 361, + "line": 372, "column": 19 }, "end": { - "line": 361, + "line": 372, "column": 20 } } @@ -113227,15 +116733,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", - "start": 12878, - "end": 12944, + "start": 13212, + "end": 13278, "loc": { "start": { - "line": 361, + "line": 372, "column": 20 }, "end": { - "line": 361, + "line": 372, "column": 86 } } @@ -113252,15 +116758,15 @@ "postfix": false, "binop": null }, - "start": 12944, - "end": 12945, + "start": 13278, + "end": 13279, "loc": { "start": { - "line": 361, + "line": 372, "column": 86 }, "end": { - "line": 361, + "line": 372, "column": 87 } } @@ -113277,15 +116783,15 @@ "postfix": false, "binop": null }, - "start": 12945, - "end": 12946, + "start": 13279, + "end": 13280, "loc": { "start": { - "line": 361, + "line": 372, "column": 87 }, "end": { - "line": 361, + "line": 372, "column": 88 } } @@ -113303,15 +116809,15 @@ "binop": null, "updateContext": null }, - "start": 12946, - "end": 12947, + "start": 13280, + "end": 13281, "loc": { "start": { - "line": 361, + "line": 372, "column": 88 }, "end": { - "line": 361, + "line": 372, "column": 89 } } @@ -113331,15 +116837,15 @@ "updateContext": null }, "value": "throw", - "start": 12955, - "end": 12960, + "start": 13289, + "end": 13294, "loc": { "start": { - "line": 362, + "line": 373, "column": 6 }, "end": { - "line": 362, + "line": 373, "column": 11 } } @@ -113359,15 +116865,15 @@ "updateContext": null }, "value": "new", - "start": 12961, - "end": 12964, + "start": 13295, + "end": 13298, "loc": { "start": { - "line": 362, + "line": 373, "column": 12 }, "end": { - "line": 362, + "line": 373, "column": 15 } } @@ -113385,15 +116891,15 @@ "binop": null }, "value": "Error", - "start": 12965, - "end": 12970, + "start": 13299, + "end": 13304, "loc": { "start": { - "line": 362, + "line": 373, "column": 16 }, "end": { - "line": 362, + "line": 373, "column": 21 } } @@ -113410,15 +116916,15 @@ "postfix": false, "binop": null }, - "start": 12970, - "end": 12971, + "start": 13304, + "end": 13305, "loc": { "start": { - "line": 362, + "line": 373, "column": 21 }, "end": { - "line": 362, + "line": 373, "column": 22 } } @@ -113437,15 +116943,15 @@ "updateContext": null }, "value": "INSTANCES_VAR_ERROR", - "start": 12971, - "end": 12992, + "start": 13305, + "end": 13326, "loc": { "start": { - "line": 362, + "line": 373, "column": 22 }, "end": { - "line": 362, + "line": 373, "column": 43 } } @@ -113462,15 +116968,15 @@ "postfix": false, "binop": null }, - "start": 12992, - "end": 12993, + "start": 13326, + "end": 13327, "loc": { "start": { - "line": 362, + "line": 373, "column": 43 }, "end": { - "line": 362, + "line": 373, "column": 44 } } @@ -113488,15 +116994,15 @@ "binop": null, "updateContext": null }, - "start": 12993, - "end": 12994, + "start": 13327, + "end": 13328, "loc": { "start": { - "line": 362, + "line": 373, "column": 44 }, "end": { - "line": 362, + "line": 373, "column": 45 } } @@ -113513,15 +117019,15 @@ "postfix": false, "binop": null }, - "start": 13000, - "end": 13001, + "start": 13334, + "end": 13335, "loc": { "start": { - "line": 363, + "line": 374, "column": 4 }, "end": { - "line": 363, + "line": 374, "column": 5 } } @@ -113541,15 +117047,15 @@ "updateContext": null }, "value": "return", - "start": 13013, - "end": 13019, + "start": 13347, + "end": 13353, "loc": { "start": { - "line": 365, + "line": 376, "column": 4 }, "end": { - "line": 365, + "line": 376, "column": 10 } } @@ -113567,15 +117073,15 @@ "binop": null }, "value": "Object", - "start": 13020, - "end": 13026, + "start": 13354, + "end": 13360, "loc": { "start": { - "line": 365, + "line": 376, "column": 11 }, "end": { - "line": 365, + "line": 376, "column": 17 } } @@ -113593,15 +117099,15 @@ "binop": null, "updateContext": null }, - "start": 13026, - "end": 13027, + "start": 13360, + "end": 13361, "loc": { "start": { - "line": 365, + "line": 376, "column": 17 }, "end": { - "line": 365, + "line": 376, "column": 18 } } @@ -113619,15 +117125,15 @@ "binop": null }, "value": "keys", - "start": 13027, - "end": 13031, + "start": 13361, + "end": 13365, "loc": { "start": { - "line": 365, + "line": 376, "column": 18 }, "end": { - "line": 365, + "line": 376, "column": 22 } } @@ -113644,15 +117150,15 @@ "postfix": false, "binop": null }, - "start": 13031, - "end": 13032, + "start": 13365, + "end": 13366, "loc": { "start": { - "line": 365, + "line": 376, "column": 22 }, "end": { - "line": 365, + "line": 376, "column": 23 } } @@ -113670,15 +117176,15 @@ "binop": null }, "value": "window", - "start": 13032, - "end": 13038, + "start": 13366, + "end": 13372, "loc": { "start": { - "line": 365, + "line": 376, "column": 23 }, "end": { - "line": 365, + "line": 376, "column": 29 } } @@ -113696,15 +117202,15 @@ "binop": null, "updateContext": null }, - "start": 13038, - "end": 13039, + "start": 13372, + "end": 13373, "loc": { "start": { - "line": 365, + "line": 376, "column": 29 }, "end": { - "line": 365, + "line": 376, "column": 30 } } @@ -113723,15 +117229,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 13039, - "end": 13064, + "start": 13373, + "end": 13398, "loc": { "start": { - "line": 365, + "line": 376, "column": 30 }, "end": { - "line": 365, + "line": 376, "column": 55 } } @@ -113749,15 +117255,15 @@ "binop": null, "updateContext": null }, - "start": 13064, - "end": 13065, + "start": 13398, + "end": 13399, "loc": { "start": { - "line": 365, + "line": 376, "column": 55 }, "end": { - "line": 365, + "line": 376, "column": 56 } } @@ -113774,15 +117280,15 @@ "postfix": false, "binop": null }, - "start": 13065, - "end": 13066, + "start": 13399, + "end": 13400, "loc": { "start": { - "line": 365, + "line": 376, "column": 56 }, "end": { - "line": 365, + "line": 376, "column": 57 } } @@ -113800,15 +117306,15 @@ "binop": null, "updateContext": null }, - "start": 13066, - "end": 13067, + "start": 13400, + "end": 13401, "loc": { "start": { - "line": 365, + "line": 376, "column": 57 }, "end": { - "line": 365, + "line": 376, "column": 58 } } @@ -113826,15 +117332,15 @@ "binop": null }, "value": "forEach", - "start": 13067, - "end": 13074, + "start": 13401, + "end": 13408, "loc": { "start": { - "line": 365, + "line": 376, "column": 58 }, "end": { - "line": 365, + "line": 376, "column": 65 } } @@ -113851,15 +117357,15 @@ "postfix": false, "binop": null }, - "start": 13074, - "end": 13075, + "start": 13408, + "end": 13409, "loc": { "start": { - "line": 365, + "line": 376, "column": 65 }, "end": { - "line": 365, + "line": 376, "column": 66 } } @@ -113876,15 +117382,15 @@ "postfix": false, "binop": null }, - "start": 13075, - "end": 13076, + "start": 13409, + "end": 13410, "loc": { "start": { - "line": 365, + "line": 376, "column": 66 }, "end": { - "line": 365, + "line": 376, "column": 67 } } @@ -113902,15 +117408,15 @@ "binop": null }, "value": "key", - "start": 13076, - "end": 13079, + "start": 13410, + "end": 13413, "loc": { "start": { - "line": 365, + "line": 376, "column": 67 }, "end": { - "line": 365, + "line": 376, "column": 70 } } @@ -113927,15 +117433,15 @@ "postfix": false, "binop": null }, - "start": 13079, - "end": 13080, + "start": 13413, + "end": 13414, "loc": { "start": { - "line": 365, + "line": 376, "column": 70 }, "end": { - "line": 365, + "line": 376, "column": 71 } } @@ -113953,15 +117459,15 @@ "binop": null, "updateContext": null }, - "start": 13081, - "end": 13083, + "start": 13415, + "end": 13417, "loc": { "start": { - "line": 365, + "line": 376, "column": 72 }, "end": { - "line": 365, + "line": 376, "column": 74 } } @@ -113978,15 +117484,15 @@ "postfix": false, "binop": null }, - "start": 13084, - "end": 13085, + "start": 13418, + "end": 13419, "loc": { "start": { - "line": 365, + "line": 376, "column": 75 }, "end": { - "line": 365, + "line": 376, "column": 76 } } @@ -114004,15 +117510,15 @@ "binop": null }, "value": "callback", - "start": 13093, - "end": 13101, + "start": 13427, + "end": 13435, "loc": { "start": { - "line": 366, + "line": 377, "column": 6 }, "end": { - "line": 366, + "line": 377, "column": 14 } } @@ -114029,15 +117535,15 @@ "postfix": false, "binop": null }, - "start": 13101, - "end": 13102, + "start": 13435, + "end": 13436, "loc": { "start": { - "line": 366, + "line": 377, "column": 14 }, "end": { - "line": 366, + "line": 377, "column": 15 } } @@ -114055,15 +117561,15 @@ "binop": null }, "value": "window", - "start": 13102, - "end": 13108, + "start": 13436, + "end": 13442, "loc": { "start": { - "line": 366, + "line": 377, "column": 15 }, "end": { - "line": 366, + "line": 377, "column": 21 } } @@ -114081,15 +117587,15 @@ "binop": null, "updateContext": null }, - "start": 13108, - "end": 13109, + "start": 13442, + "end": 13443, "loc": { "start": { - "line": 366, + "line": 377, "column": 21 }, "end": { - "line": 366, + "line": 377, "column": 22 } } @@ -114108,15 +117614,15 @@ "updateContext": null }, "value": "SimpleKeyboardInstances", - "start": 13109, - "end": 13134, + "start": 13443, + "end": 13468, "loc": { "start": { - "line": 366, + "line": 377, "column": 22 }, "end": { - "line": 366, + "line": 377, "column": 47 } } @@ -114134,15 +117640,15 @@ "binop": null, "updateContext": null }, - "start": 13134, - "end": 13135, + "start": 13468, + "end": 13469, "loc": { "start": { - "line": 366, + "line": 377, "column": 47 }, "end": { - "line": 366, + "line": 377, "column": 48 } } @@ -114160,15 +117666,15 @@ "binop": null, "updateContext": null }, - "start": 13135, - "end": 13136, + "start": 13469, + "end": 13470, "loc": { "start": { - "line": 366, + "line": 377, "column": 48 }, "end": { - "line": 366, + "line": 377, "column": 49 } } @@ -114186,15 +117692,15 @@ "binop": null }, "value": "key", - "start": 13136, - "end": 13139, + "start": 13470, + "end": 13473, "loc": { "start": { - "line": 366, + "line": 377, "column": 49 }, "end": { - "line": 366, + "line": 377, "column": 52 } } @@ -114212,15 +117718,15 @@ "binop": null, "updateContext": null }, - "start": 13139, - "end": 13140, + "start": 13473, + "end": 13474, "loc": { "start": { - "line": 366, + "line": 377, "column": 52 }, "end": { - "line": 366, + "line": 377, "column": 53 } } @@ -114238,15 +117744,15 @@ "binop": null, "updateContext": null }, - "start": 13140, - "end": 13141, + "start": 13474, + "end": 13475, "loc": { "start": { - "line": 366, + "line": 377, "column": 53 }, "end": { - "line": 366, + "line": 377, "column": 54 } } @@ -114264,15 +117770,15 @@ "binop": null }, "value": "key", - "start": 13142, - "end": 13145, + "start": 13476, + "end": 13479, "loc": { "start": { - "line": 366, + "line": 377, "column": 55 }, "end": { - "line": 366, + "line": 377, "column": 58 } } @@ -114289,15 +117795,15 @@ "postfix": false, "binop": null }, - "start": 13145, - "end": 13146, + "start": 13479, + "end": 13480, "loc": { "start": { - "line": 366, + "line": 377, "column": 58 }, "end": { - "line": 366, + "line": 377, "column": 59 } } @@ -114315,15 +117821,15 @@ "binop": null, "updateContext": null }, - "start": 13146, - "end": 13147, + "start": 13480, + "end": 13481, "loc": { "start": { - "line": 366, + "line": 377, "column": 59 }, "end": { - "line": 366, + "line": 377, "column": 60 } } @@ -114340,15 +117846,15 @@ "postfix": false, "binop": null }, - "start": 13153, - "end": 13154, + "start": 13487, + "end": 13488, "loc": { "start": { - "line": 367, + "line": 378, "column": 4 }, "end": { - "line": 367, + "line": 378, "column": 5 } } @@ -114365,15 +117871,15 @@ "postfix": false, "binop": null }, - "start": 13154, - "end": 13155, + "start": 13488, + "end": 13489, "loc": { "start": { - "line": 367, + "line": 378, "column": 5 }, "end": { - "line": 367, + "line": 378, "column": 6 } } @@ -114390,15 +117896,15 @@ "postfix": false, "binop": null }, - "start": 13159, - "end": 13160, + "start": 13493, + "end": 13494, "loc": { "start": { - "line": 368, + "line": 379, "column": 2 }, "end": { - "line": 368, + "line": 379, "column": 3 } } @@ -114406,15 +117912,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 13166, - "end": 13447, + "start": 13500, + "end": 13781, "loc": { "start": { - "line": 370, + "line": 381, "column": 2 }, "end": { - "line": 374, + "line": 385, "column": 5 } } @@ -114432,15 +117938,15 @@ "binop": null }, "value": "addButtonTheme", - "start": 13451, - "end": 13465, + "start": 13785, + "end": 13799, "loc": { "start": { - "line": 375, + "line": 386, "column": 2 }, "end": { - "line": 375, + "line": 386, "column": 16 } } @@ -114457,15 +117963,15 @@ "postfix": false, "binop": null }, - "start": 13465, - "end": 13466, + "start": 13799, + "end": 13800, "loc": { "start": { - "line": 375, + "line": 386, "column": 16 }, "end": { - "line": 375, + "line": 386, "column": 17 } } @@ -114483,15 +117989,15 @@ "binop": null }, "value": "buttons", - "start": 13466, - "end": 13473, + "start": 13800, + "end": 13807, "loc": { "start": { - "line": 375, + "line": 386, "column": 17 }, "end": { - "line": 375, + "line": 386, "column": 24 } } @@ -114509,15 +118015,15 @@ "binop": null, "updateContext": null }, - "start": 13473, - "end": 13474, + "start": 13807, + "end": 13808, "loc": { "start": { - "line": 375, + "line": 386, "column": 24 }, "end": { - "line": 375, + "line": 386, "column": 25 } } @@ -114535,15 +118041,15 @@ "binop": null }, "value": "className", - "start": 13475, - "end": 13484, + "start": 13809, + "end": 13818, "loc": { "start": { - "line": 375, + "line": 386, "column": 26 }, "end": { - "line": 375, + "line": 386, "column": 35 } } @@ -114560,15 +118066,15 @@ "postfix": false, "binop": null }, - "start": 13484, - "end": 13485, + "start": 13818, + "end": 13819, "loc": { "start": { - "line": 375, + "line": 386, "column": 35 }, "end": { - "line": 375, + "line": 386, "column": 36 } } @@ -114585,15 +118091,15 @@ "postfix": false, "binop": null }, - "start": 13485, - "end": 13486, + "start": 13819, + "end": 13820, "loc": { "start": { - "line": 375, + "line": 386, "column": 36 }, "end": { - "line": 375, + "line": 386, "column": 37 } } @@ -114613,15 +118119,15 @@ "updateContext": null }, "value": "if", - "start": 13492, - "end": 13494, + "start": 13826, + "end": 13828, "loc": { "start": { - "line": 376, + "line": 387, "column": 4 }, "end": { - "line": 376, + "line": 387, "column": 6 } } @@ -114638,15 +118144,15 @@ "postfix": false, "binop": null }, - "start": 13494, - "end": 13495, + "start": 13828, + "end": 13829, "loc": { "start": { - "line": 376, + "line": 387, "column": 6 }, "end": { - "line": 376, + "line": 387, "column": 7 } } @@ -114665,15 +118171,15 @@ "updateContext": null }, "value": "!", - "start": 13495, - "end": 13496, + "start": 13829, + "end": 13830, "loc": { "start": { - "line": 376, + "line": 387, "column": 7 }, "end": { - "line": 376, + "line": 387, "column": 8 } } @@ -114691,15 +118197,15 @@ "binop": null }, "value": "className", - "start": 13496, - "end": 13505, + "start": 13830, + "end": 13839, "loc": { "start": { - "line": 376, + "line": 387, "column": 8 }, "end": { - "line": 376, + "line": 387, "column": 17 } } @@ -114718,15 +118224,15 @@ "updateContext": null }, "value": "||", - "start": 13506, - "end": 13508, + "start": 13840, + "end": 13842, "loc": { "start": { - "line": 376, + "line": 387, "column": 18 }, "end": { - "line": 376, + "line": 387, "column": 20 } } @@ -114745,15 +118251,15 @@ "updateContext": null }, "value": "!", - "start": 13509, - "end": 13510, + "start": 13843, + "end": 13844, "loc": { "start": { - "line": 376, + "line": 387, "column": 21 }, "end": { - "line": 376, + "line": 387, "column": 22 } } @@ -114771,15 +118277,15 @@ "binop": null }, "value": "buttons", - "start": 13510, - "end": 13517, + "start": 13844, + "end": 13851, "loc": { "start": { - "line": 376, + "line": 387, "column": 22 }, "end": { - "line": 376, + "line": 387, "column": 29 } } @@ -114796,15 +118302,15 @@ "postfix": false, "binop": null }, - "start": 13517, - "end": 13518, + "start": 13851, + "end": 13852, "loc": { "start": { - "line": 376, + "line": 387, "column": 29 }, "end": { - "line": 376, + "line": 387, "column": 30 } } @@ -114824,15 +118330,15 @@ "updateContext": null }, "value": "return", - "start": 13526, - "end": 13532, + "start": 13860, + "end": 13866, "loc": { "start": { - "line": 377, + "line": 388, "column": 6 }, "end": { - "line": 377, + "line": 388, "column": 12 } } @@ -114852,15 +118358,15 @@ "updateContext": null }, "value": "false", - "start": 13533, - "end": 13538, + "start": 13867, + "end": 13872, "loc": { "start": { - "line": 377, + "line": 388, "column": 13 }, "end": { - "line": 377, + "line": 388, "column": 18 } } @@ -114878,15 +118384,15 @@ "binop": null, "updateContext": null }, - "start": 13538, - "end": 13539, + "start": 13872, + "end": 13873, "loc": { "start": { - "line": 377, + "line": 388, "column": 18 }, "end": { - "line": 377, + "line": 388, "column": 19 } } @@ -114904,1339 +118410,42 @@ "binop": null }, "value": "buttons", - "start": 13547, - "end": 13554, - "loc": { - "start": { - "line": 379, - "column": 4 - }, - "end": { - "line": 379, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13554, - "end": 13555, - "loc": { - "start": { - "line": 379, - "column": 11 - }, - "end": { - "line": 379, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 13555, - "end": 13560, - "loc": { - "start": { - "line": 379, - "column": 12 - }, - "end": { - "line": 379, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13560, - "end": 13561, - "loc": { - "start": { - "line": 379, - "column": 17 - }, - "end": { - "line": 379, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 13561, - "end": 13564, - "loc": { - "start": { - "line": 379, - "column": 18 - }, - "end": { - "line": 379, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13564, - "end": 13565, - "loc": { - "start": { - "line": 379, - "column": 21 - }, - "end": { - "line": 379, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13565, - "end": 13566, - "loc": { - "start": { - "line": 379, - "column": 22 - }, - "end": { - "line": 379, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 13566, - "end": 13573, - "loc": { - "start": { - "line": 379, - "column": 23 - }, - "end": { - "line": 379, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13573, - "end": 13574, - "loc": { - "start": { - "line": 379, - "column": 30 - }, - "end": { - "line": 379, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 13574, - "end": 13580, - "loc": { - "start": { - "line": 379, - "column": 31 - }, - "end": { - "line": 379, - "column": 37 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13581, - "end": 13583, - "loc": { - "start": { - "line": 379, - "column": 38 - }, - "end": { - "line": 379, - "column": 40 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13584, - "end": 13585, - "loc": { - "start": { - "line": 379, - "column": 41 - }, - "end": { - "line": 379, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 13593, - "end": 13602, - "loc": { - "start": { - "line": 380, - "column": 6 - }, - "end": { - "line": 380, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13602, - "end": 13603, - "loc": { - "start": { - "line": 380, - "column": 15 - }, - "end": { - "line": 380, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 13603, - "end": 13608, - "loc": { - "start": { - "line": 380, - "column": 16 - }, - "end": { - "line": 380, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13608, - "end": 13609, - "loc": { - "start": { - "line": 380, - "column": 21 - }, - "end": { - "line": 380, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 13609, - "end": 13612, - "loc": { - "start": { - "line": 380, - "column": 22 - }, - "end": { - "line": 380, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13612, - "end": 13613, - "loc": { - "start": { - "line": 380, - "column": 25 - }, - "end": { - "line": 380, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13613, - "end": 13614, - "loc": { - "start": { - "line": 380, - "column": 26 - }, - "end": { - "line": 380, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 13614, - "end": 13621, - "loc": { - "start": { - "line": 380, - "column": 27 - }, - "end": { - "line": 380, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13621, - "end": 13622, - "loc": { - "start": { - "line": 380, - "column": 34 - }, - "end": { - "line": 380, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameItem", - "start": 13622, - "end": 13635, - "loc": { - "start": { - "line": 380, - "column": 35 - }, - "end": { - "line": 380, - "column": 48 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13636, - "end": 13638, - "loc": { - "start": { - "line": 380, - "column": 49 - }, - "end": { - "line": 380, - "column": 51 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13639, - "end": 13640, - "loc": { - "start": { - "line": 380, - "column": 52 - }, - "end": { - "line": 380, - "column": 53 - } - } - }, - { - "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": 13650, - "end": 13652, - "loc": { - "start": { - "line": 381, - "column": 8 - }, - "end": { - "line": 381, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13652, - "end": 13653, - "loc": { - "start": { - "line": 381, - "column": 10 - }, - "end": { - "line": 381, - "column": 11 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 13653, - "end": 13654, - "loc": { - "start": { - "line": 381, - "column": 11 - }, - "end": { - "line": 381, - "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": 13654, - "end": 13658, - "loc": { - "start": { - "line": 381, - "column": 12 - }, - "end": { - "line": 381, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13658, - "end": 13659, - "loc": { - "start": { - "line": 381, - "column": 16 - }, - "end": { - "line": 381, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 13659, - "end": 13666, - "loc": { - "start": { - "line": 381, - "column": 17 - }, - "end": { - "line": 381, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13666, - "end": 13667, - "loc": { - "start": { - "line": 381, - "column": 24 - }, - "end": { - "line": 381, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 13667, - "end": 13678, - "loc": { - "start": { - "line": 381, - "column": 25 - }, - "end": { - "line": 381, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13678, - "end": 13679, - "loc": { - "start": { - "line": 381, - "column": 36 - }, - "end": { - "line": 381, - "column": 37 - } - } - }, - { - "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": 13691, - "end": 13695, - "loc": { - "start": { - "line": 382, - "column": 10 - }, - "end": { - "line": 382, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13695, - "end": 13696, - "loc": { - "start": { - "line": 382, - "column": 14 - }, - "end": { - "line": 382, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 13696, - "end": 13703, - "loc": { - "start": { - "line": 382, - "column": 15 - }, - "end": { - "line": 382, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13703, - "end": 13704, - "loc": { - "start": { - "line": 382, - "column": 22 - }, - "end": { - "line": 382, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 13704, - "end": 13715, - "loc": { - "start": { - "line": 382, - "column": 23 - }, - "end": { - "line": 382, - "column": 34 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 13716, - "end": 13717, - "loc": { - "start": { - "line": 382, - "column": 35 - }, - "end": { - "line": 382, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13718, - "end": 13719, - "loc": { - "start": { - "line": 382, - "column": 37 - }, - "end": { - "line": 382, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13719, - "end": 13720, - "loc": { - "start": { - "line": 382, - "column": 38 - }, - "end": { - "line": 382, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13720, - "end": 13721, - "loc": { - "start": { - "line": 382, - "column": 39 - }, - "end": { - "line": 382, - "column": 40 - } - } - }, - { - "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": 13733, - "end": 13736, - "loc": { - "start": { - "line": 384, - "column": 8 - }, - "end": { - "line": 384, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameFound", - "start": 13737, - "end": 13751, - "loc": { - "start": { - "line": 384, - "column": 12 - }, - "end": { - "line": 384, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 13752, - "end": 13753, - "loc": { - "start": { - "line": 384, - "column": 27 - }, - "end": { - "line": 384, - "column": 28 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 13754, - "end": 13759, - "loc": { - "start": { - "line": 384, - "column": 29 - }, - "end": { - "line": 384, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13759, - "end": 13760, - "loc": { - "start": { - "line": 384, - "column": 34 - }, - "end": { - "line": 384, - "column": 35 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", - "start": 13774, - "end": 13865, - "loc": { - "start": { - "line": 386, - "column": 8 - }, - "end": { - "line": 388, - "column": 11 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 13875, - "end": 13879, - "loc": { - "start": { - "line": 389, - "column": 8 - }, - "end": { - "line": 389, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13879, - "end": 13880, - "loc": { - "start": { - "line": 389, - "column": 12 - }, - "end": { - "line": 389, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 13880, - "end": 13887, - "loc": { - "start": { - "line": 389, - "column": 13 - }, - "end": { - "line": 389, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13887, + "start": 13881, "end": 13888, "loc": { "start": { - "line": 389, - "column": 20 + "line": 390, + "column": 4 }, "end": { - "line": 389, - "column": 21 + "line": 390, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13888, + "end": 13889, + "loc": { + "start": { + "line": 390, + "column": 11 + }, + "end": { + "line": 390, + "column": 12 } } }, @@ -116252,17 +118461,94 @@ "postfix": false, "binop": null }, - "value": "buttonTheme", - "start": 13888, + "value": "split", + "start": 13889, + "end": 13894, + "loc": { + "start": { + "line": 390, + "column": 12 + }, + "end": { + "line": 390, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13894, + "end": 13895, + "loc": { + "start": { + "line": 390, + "column": 17 + }, + "end": { + "line": 390, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 13895, + "end": 13898, + "loc": { + "start": { + "line": 390, + "column": 18 + }, + "end": { + "line": 390, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13898, "end": 13899, "loc": { "start": { - "line": 389, + "line": 390, "column": 21 }, "end": { - "line": 389, - "column": 32 + "line": 390, + "column": 22 } } }, @@ -116283,12 +118569,12 @@ "end": 13900, "loc": { "start": { - "line": 389, - "column": 32 + "line": 390, + "column": 22 }, "end": { - "line": 389, - "column": 33 + "line": 390, + "column": 23 } } }, @@ -116304,17 +118590,17 @@ "postfix": false, "binop": null }, - "value": "map", + "value": "forEach", "start": 13900, - "end": 13903, + "end": 13907, "loc": { "start": { - "line": 389, - "column": 33 + "line": 390, + "column": 23 }, "end": { - "line": 389, - "column": 36 + "line": 390, + "column": 30 } } }, @@ -116330,16 +118616,16 @@ "postfix": false, "binop": null }, - "start": 13903, - "end": 13904, + "start": 13907, + "end": 13908, "loc": { "start": { - "line": 389, - "column": 36 + "line": 390, + "column": 30 }, "end": { - "line": 389, - "column": 37 + "line": 390, + "column": 31 } } }, @@ -116355,16 +118641,325 @@ "postfix": false, "binop": null }, - "value": "buttonTheme", - "start": 13904, - "end": 13915, + "value": "button", + "start": 13908, + "end": 13914, "loc": { "start": { - "line": 389, - "column": 37 + "line": 390, + "column": 31 }, "end": { - "line": 389, + "line": 390, + "column": 37 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13915, + "end": 13917, + "loc": { + "start": { + "line": 390, + "column": 38 + }, + "end": { + "line": 390, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13918, + "end": 13919, + "loc": { + "start": { + "line": 390, + "column": 41 + }, + "end": { + "line": 390, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 13927, + "end": 13936, + "loc": { + "start": { + "line": 391, + "column": 6 + }, + "end": { + "line": 391, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13936, + "end": 13937, + "loc": { + "start": { + "line": 391, + "column": 15 + }, + "end": { + "line": 391, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 13937, + "end": 13942, + "loc": { + "start": { + "line": 391, + "column": 16 + }, + "end": { + "line": 391, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13942, + "end": 13943, + "loc": { + "start": { + "line": 391, + "column": 21 + }, + "end": { + "line": 391, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 13943, + "end": 13946, + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13946, + "end": 13947, + "loc": { + "start": { + "line": 391, + "column": 25 + }, + "end": { + "line": 391, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13947, + "end": 13948, + "loc": { + "start": { + "line": 391, + "column": 26 + }, + "end": { + "line": 391, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 13948, + "end": 13955, + "loc": { + "start": { + "line": 391, + "column": 27 + }, + "end": { + "line": 391, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13955, + "end": 13956, + "loc": { + "start": { + "line": 391, + "column": 34 + }, + "end": { + "line": 391, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 13956, + "end": 13969, + "loc": { + "start": { + "line": 391, + "column": 35 + }, + "end": { + "line": 391, "column": 48 } } @@ -116382,15 +118977,15 @@ "binop": null, "updateContext": null }, - "start": 13916, - "end": 13918, + "start": 13970, + "end": 13972, "loc": { "start": { - "line": 389, + "line": 391, "column": 49 }, "end": { - "line": 389, + "line": 391, "column": 51 } } @@ -116407,15 +119002,15 @@ "postfix": false, "binop": null }, - "start": 13919, - "end": 13920, + "start": 13973, + "end": 13974, "loc": { "start": { - "line": 389, + "line": 391, "column": 52 }, "end": { - "line": 389, + "line": 391, "column": 53 } } @@ -116435,16 +119030,16 @@ "updateContext": null }, "value": "if", - "start": 13934, - "end": 13936, + "start": 13984, + "end": 13986, "loc": { "start": { - "line": 391, - "column": 10 + "line": 392, + "column": 8 }, "end": { - "line": 391, - "column": 12 + "line": 392, + "column": 10 } } }, @@ -116460,16 +119055,149 @@ "postfix": false, "binop": null }, - "start": 13936, - "end": 13937, + "start": 13986, + "end": 13987, "loc": { "start": { - "line": 391, + "line": 392, + "column": 10 + }, + "end": { + "line": 392, + "column": 11 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 13987, + "end": 13988, + "loc": { + "start": { + "line": 392, + "column": 11 + }, + "end": { + "line": 392, + "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": 13988, + "end": 13992, + "loc": { + "start": { + "line": 392, "column": 12 }, "end": { - "line": 391, - "column": 13 + "line": 392, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13992, + "end": 13993, + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 13993, + "end": 14000, + "loc": { + "start": { + "line": 392, + "column": 17 + }, + "end": { + "line": 392, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14000, + "end": 14001, + "loc": { + "start": { + "line": 392, + "column": 24 + }, + "end": { + "line": 392, + "column": 25 } } }, @@ -116486,177 +119214,19 @@ "binop": null }, "value": "buttonTheme", - "start": 13937, - "end": 13948, + "start": 14001, + "end": 14012, "loc": { "start": { - "line": 391, - "column": 13 - }, - "end": { - "line": 391, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13948, - "end": 13949, - "loc": { - "start": { - "line": 391, - "column": 24 - }, - "end": { - "line": 391, - "column": 25 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 13949, - "end": 13954, - "loc": { - "start": { - "line": 391, + "line": 392, "column": 25 }, "end": { - "line": 391, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13954, - "end": 13955, - "loc": { - "start": { - "line": 391, - "column": 30 - }, - "end": { - "line": 391, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 13955, - "end": 13960, - "loc": { - "start": { - "line": 391, - "column": 31 - }, - "end": { - "line": 391, + "line": 392, "column": 36 } } }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13960, - "end": 13961, - "loc": { - "start": { - "line": 391, - "column": 36 - }, - "end": { - "line": 391, - "column": 37 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 13961, - "end": 13964, - "loc": { - "start": { - "line": 391, - "column": 37 - }, - "end": { - "line": 391, - "column": 40 - } - } - }, { "type": { "label": ")", @@ -116669,16 +119239,44 @@ "postfix": false, "binop": null }, - "start": 13964, - "end": 13965, + "start": 14012, + "end": 14013, "loc": { "start": { - "line": 391, - "column": 40 + "line": 392, + "column": 36 }, "end": { - "line": 391, - "column": 41 + "line": 392, + "column": 37 + } + } + }, + { + "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": 14025, + "end": 14029, + "loc": { + "start": { + "line": 393, + "column": 10 + }, + "end": { + "line": 393, + "column": 14 } } }, @@ -116695,16 +119293,16 @@ "binop": null, "updateContext": null }, - "start": 13965, - "end": 13966, + "start": 14029, + "end": 14030, "loc": { "start": { - "line": 391, - "column": 41 + "line": 393, + "column": 14 }, "end": { - "line": 391, - "column": 42 + "line": 393, + "column": 15 } } }, @@ -116720,74 +119318,23 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 13966, - "end": 13974, + "value": "options", + "start": 14030, + "end": 14037, "loc": { "start": { - "line": 391, - "column": 42 + "line": 393, + "column": 15 }, "end": { - "line": 391, - "column": 50 + "line": 393, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13974, - "end": 13975, - "loc": { - "start": { - "line": 391, - "column": 50 - }, - "end": { - "line": 391, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "classNameItem", - "start": 13975, - "end": 13988, - "loc": { - "start": { - "line": 391, - "column": 51 - }, - "end": { - "line": 391, - "column": 64 - } - } - }, - { - "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -116795,68 +119342,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13988, - "end": 13989, + "start": 14037, + "end": 14038, "loc": { "start": { - "line": 391, - "column": 64 + "line": 393, + "column": 22 }, "end": { - "line": 391, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13989, - "end": 13990, - "loc": { - "start": { - "line": 391, - "column": 65 - }, - "end": { - "line": 391, - "column": 66 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13990, - "end": 13991, - "loc": { - "start": { - "line": 391, - "column": 66 - }, - "end": { - "line": 391, - "column": 67 + "line": 393, + "column": 23 } } }, @@ -116872,17 +119370,17 @@ "postfix": false, "binop": null }, - "value": "classNameFound", - "start": 14005, - "end": 14019, + "value": "buttonTheme", + "start": 14038, + "end": 14049, "loc": { "start": { - "line": 392, - "column": 12 + "line": 393, + "column": 23 }, "end": { - "line": 392, - "column": 26 + "line": 393, + "column": 34 } } }, @@ -116900,24 +119398,23 @@ "updateContext": null }, "value": "=", - "start": 14020, - "end": 14021, + "start": 14050, + "end": 14051, "loc": { "start": { - "line": 392, - "column": 27 + "line": 393, + "column": 35 }, "end": { - "line": 392, - "column": 28 + "line": 393, + "column": 36 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -116927,17 +119424,42 @@ "binop": null, "updateContext": null }, - "value": "true", - "start": 14022, - "end": 14026, + "start": 14052, + "end": 14053, "loc": { "start": { - "line": 392, - "column": 29 + "line": 393, + "column": 37 }, "end": { - "line": 392, - "column": 33 + "line": 393, + "column": 38 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14053, + "end": 14054, + "loc": { + "start": { + "line": 393, + "column": 38 + }, + "end": { + "line": 393, + "column": 39 } } }, @@ -116954,16 +119476,16 @@ "binop": null, "updateContext": null }, - "start": 14026, - "end": 14027, + "start": 14054, + "end": 14055, "loc": { "start": { - "line": 392, - "column": 33 + "line": 393, + "column": 39 }, "end": { - "line": 392, - "column": 34 + "line": 393, + "column": 40 } } }, @@ -116982,586 +119504,16 @@ "updateContext": null }, "value": "let", - "start": 14055, - "end": 14058, - "loc": { - "start": { - "line": 394, - "column": 12 - }, - "end": { - "line": 394, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeArray", - "start": 14059, - "end": 14075, - "loc": { - "start": { - "line": 394, - "column": 16 - }, - "end": { - "line": 394, - "column": 32 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14076, - "end": 14077, - "loc": { - "start": { - "line": 394, - "column": 33 - }, - "end": { - "line": 394, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonTheme", - "start": 14078, - "end": 14089, - "loc": { - "start": { - "line": 394, - "column": 35 - }, - "end": { - "line": 394, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14089, - "end": 14090, - "loc": { - "start": { - "line": 394, - "column": 46 - }, - "end": { - "line": 394, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttons", - "start": 14090, - "end": 14097, - "loc": { - "start": { - "line": 394, - "column": 47 - }, - "end": { - "line": 394, - "column": 54 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14097, - "end": 14098, - "loc": { - "start": { - "line": 394, - "column": 54 - }, - "end": { - "line": 394, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 14098, - "end": 14103, - "loc": { - "start": { - "line": 394, - "column": 55 - }, - "end": { - "line": 394, - "column": 60 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14103, - "end": 14104, - "loc": { - "start": { - "line": 394, - "column": 60 - }, - "end": { - "line": 394, - "column": 61 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 14104, - "end": 14107, - "loc": { - "start": { - "line": 394, - "column": 61 - }, - "end": { - "line": 394, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14107, - "end": 14108, - "loc": { - "start": { - "line": 394, - "column": 64 - }, - "end": { - "line": 394, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14108, - "end": 14109, - "loc": { - "start": { - "line": 394, - "column": 65 - }, - "end": { - "line": 394, - "column": 66 - } - } - }, - { - "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": 14123, - "end": 14125, + "start": 14067, + "end": 14070, "loc": { "start": { "line": 395, - "column": 12 + "column": 8 }, "end": { "line": 395, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14125, - "end": 14126, - "loc": { - "start": { - "line": 395, - "column": 14 - }, - "end": { - "line": 395, - "column": 15 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 14126, - "end": 14127, - "loc": { - "start": { - "line": 395, - "column": 15 - }, - "end": { - "line": 395, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeArray", - "start": 14127, - "end": 14143, - "loc": { - "start": { - "line": 395, - "column": 16 - }, - "end": { - "line": 395, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14143, - "end": 14144, - "loc": { - "start": { - "line": 395, - "column": 32 - }, - "end": { - "line": 395, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 14144, - "end": 14152, - "loc": { - "start": { - "line": 395, - "column": 33 - }, - "end": { - "line": 395, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14152, - "end": 14153, - "loc": { - "start": { - "line": 395, - "column": 41 - }, - "end": { - "line": 395, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 14153, - "end": 14159, - "loc": { - "start": { - "line": 395, - "column": 42 - }, - "end": { - "line": 395, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14159, - "end": 14160, - "loc": { - "start": { - "line": 395, - "column": 48 - }, - "end": { - "line": 395, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14160, - "end": 14161, - "loc": { - "start": { - "line": 395, - "column": 49 - }, - "end": { - "line": 395, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14161, - "end": 14162, - "loc": { - "start": { - "line": 395, - "column": 50 - }, - "end": { - "line": 395, - "column": 51 + "column": 11 } } }, @@ -117578,16 +119530,16 @@ "binop": null }, "value": "classNameFound", - "start": 14178, - "end": 14192, + "start": 14071, + "end": 14085, "loc": { "start": { - "line": 396, - "column": 14 + "line": 395, + "column": 12 }, "end": { - "line": 396, - "column": 28 + "line": 395, + "column": 26 } } }, @@ -117605,23 +119557,23 @@ "updateContext": null }, "value": "=", - "start": 14193, - "end": 14194, + "start": 14086, + "end": 14087, "loc": { "start": { - "line": 396, - "column": 29 + "line": 395, + "column": 27 }, "end": { - "line": 396, - "column": 30 + "line": 395, + "column": 28 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -117632,17 +119584,17 @@ "binop": null, "updateContext": null }, - "value": "true", - "start": 14195, - "end": 14199, + "value": "false", + "start": 14088, + "end": 14093, "loc": { "start": { - "line": 396, - "column": 31 + "line": 395, + "column": 29 }, "end": { - "line": 396, - "column": 35 + "line": 395, + "column": 34 } } }, @@ -117659,22 +119611,39 @@ "binop": null, "updateContext": null }, - "start": 14199, - "end": 14200, + "start": 14093, + "end": 14094, "loc": { "start": { - "line": 396, - "column": 35 + "line": 395, + "column": 34 }, "end": { - "line": 396, - "column": 36 + "line": 395, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", + "start": 14108, + "end": 14199, + "loc": { + "start": { + "line": 397, + "column": 8 + }, + "end": { + "line": 399, + "column": 11 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -117682,19 +119651,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "buttonThemeArray", - "start": 14216, - "end": 14232, + "value": "this", + "start": 14209, + "end": 14213, "loc": { "start": { - "line": 397, - "column": 14 + "line": 400, + "column": 8 }, "end": { - "line": 397, - "column": 30 + "line": 400, + "column": 12 } } }, @@ -117711,16 +119681,16 @@ "binop": null, "updateContext": null }, - "start": 14232, - "end": 14233, + "start": 14213, + "end": 14214, "loc": { "start": { - "line": 397, - "column": 30 + "line": 400, + "column": 12 }, "end": { - "line": 397, - "column": 31 + "line": 400, + "column": 13 } } }, @@ -117736,17 +119706,121 @@ "postfix": false, "binop": null }, - "value": "push", + "value": "options", + "start": 14214, + "end": 14221, + "loc": { + "start": { + "line": 400, + "column": 13 + }, + "end": { + "line": 400, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14221, + "end": 14222, + "loc": { + "start": { + "line": 400, + "column": 20 + }, + "end": { + "line": 400, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 14222, + "end": 14233, + "loc": { + "start": { + "line": 400, + "column": 21 + }, + "end": { + "line": 400, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, "start": 14233, + "end": 14234, + "loc": { + "start": { + "line": 400, + "column": 32 + }, + "end": { + "line": 400, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 14234, "end": 14237, "loc": { "start": { - "line": 397, - "column": 31 + "line": 400, + "column": 33 }, "end": { - "line": 397, - "column": 35 + "line": 400, + "column": 36 } } }, @@ -117766,11 +119840,1443 @@ "end": 14238, "loc": { "start": { - "line": 397, + "line": 400, + "column": 36 + }, + "end": { + "line": 400, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 14238, + "end": 14249, + "loc": { + "start": { + "line": 400, + "column": 37 + }, + "end": { + "line": 400, + "column": 48 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14250, + "end": 14252, + "loc": { + "start": { + "line": 400, + "column": 49 + }, + "end": { + "line": 400, + "column": 51 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14253, + "end": 14254, + "loc": { + "start": { + "line": 400, + "column": 52 + }, + "end": { + "line": 400, + "column": 53 + } + } + }, + { + "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": 14268, + "end": 14270, + "loc": { + "start": { + "line": 402, + "column": 10 + }, + "end": { + "line": 402, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14270, + "end": 14271, + "loc": { + "start": { + "line": 402, + "column": 12 + }, + "end": { + "line": 402, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 14271, + "end": 14282, + "loc": { + "start": { + "line": 402, + "column": 13 + }, + "end": { + "line": 402, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14282, + "end": 14283, + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 25 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 14283, + "end": 14288, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 402, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14288, + "end": 14289, + "loc": { + "start": { + "line": 402, + "column": 30 + }, + "end": { + "line": 402, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 14289, + "end": 14294, + "loc": { + "start": { + "line": 402, + "column": 31 + }, + "end": { + "line": 402, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14294, + "end": 14295, + "loc": { + "start": { + "line": 402, + "column": 36 + }, + "end": { + "line": 402, + "column": 37 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 14295, + "end": 14298, + "loc": { + "start": { + "line": 402, + "column": 37 + }, + "end": { + "line": 402, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14298, + "end": 14299, + "loc": { + "start": { + "line": 402, + "column": 40 + }, + "end": { + "line": 402, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14299, + "end": 14300, + "loc": { + "start": { + "line": 402, + "column": 41 + }, + "end": { + "line": 402, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 14300, + "end": 14308, + "loc": { + "start": { + "line": 402, + "column": 42 + }, + "end": { + "line": 402, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14308, + "end": 14309, + "loc": { + "start": { + "line": 402, + "column": 50 + }, + "end": { + "line": 402, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameItem", + "start": 14309, + "end": 14322, + "loc": { + "start": { + "line": 402, + "column": 51 + }, + "end": { + "line": 402, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14322, + "end": 14323, + "loc": { + "start": { + "line": 402, + "column": 64 + }, + "end": { + "line": 402, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14323, + "end": 14324, + "loc": { + "start": { + "line": 402, + "column": 65 + }, + "end": { + "line": 402, + "column": 66 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14324, + "end": 14325, + "loc": { + "start": { + "line": 402, + "column": 66 + }, + "end": { + "line": 402, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 14339, + "end": 14353, + "loc": { + "start": { + "line": 403, + "column": 12 + }, + "end": { + "line": 403, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 14354, + "end": 14355, + "loc": { + "start": { + "line": 403, + "column": 27 + }, + "end": { + "line": 403, + "column": 28 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 14356, + "end": 14360, + "loc": { + "start": { + "line": 403, + "column": 29 + }, + "end": { + "line": 403, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14360, + "end": 14361, + "loc": { + "start": { + "line": 403, + "column": 33 + }, + "end": { + "line": 403, + "column": 34 + } + } + }, + { + "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": 14389, + "end": 14392, + "loc": { + "start": { + "line": 405, + "column": 12 + }, + "end": { + "line": 405, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 14393, + "end": 14409, + "loc": { + "start": { + "line": 405, + "column": 16 + }, + "end": { + "line": 405, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 14410, + "end": 14411, + "loc": { + "start": { + "line": 405, + "column": 33 + }, + "end": { + "line": 405, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonTheme", + "start": 14412, + "end": 14423, + "loc": { + "start": { + "line": 405, "column": 35 }, "end": { - "line": 397, + "line": 405, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14423, + "end": 14424, + "loc": { + "start": { + "line": 405, + "column": 46 + }, + "end": { + "line": 405, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttons", + "start": 14424, + "end": 14431, + "loc": { + "start": { + "line": 405, + "column": 47 + }, + "end": { + "line": 405, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14431, + "end": 14432, + "loc": { + "start": { + "line": 405, + "column": 54 + }, + "end": { + "line": 405, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 14432, + "end": 14437, + "loc": { + "start": { + "line": 405, + "column": 55 + }, + "end": { + "line": 405, + "column": 60 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14437, + "end": 14438, + "loc": { + "start": { + "line": 405, + "column": 60 + }, + "end": { + "line": 405, + "column": 61 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 14438, + "end": 14441, + "loc": { + "start": { + "line": 405, + "column": 61 + }, + "end": { + "line": 405, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14441, + "end": 14442, + "loc": { + "start": { + "line": 405, + "column": 64 + }, + "end": { + "line": 405, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14442, + "end": 14443, + "loc": { + "start": { + "line": 405, + "column": 65 + }, + "end": { + "line": 405, + "column": 66 + } + } + }, + { + "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": 14457, + "end": 14459, + "loc": { + "start": { + "line": 406, + "column": 12 + }, + "end": { + "line": 406, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14459, + "end": 14460, + "loc": { + "start": { + "line": 406, + "column": 14 + }, + "end": { + "line": 406, + "column": 15 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 14460, + "end": 14461, + "loc": { + "start": { + "line": 406, + "column": 15 + }, + "end": { + "line": 406, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 14461, + "end": 14477, + "loc": { + "start": { + "line": 406, + "column": 16 + }, + "end": { + "line": 406, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14477, + "end": 14478, + "loc": { + "start": { + "line": 406, + "column": 32 + }, + "end": { + "line": 406, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 14478, + "end": 14486, + "loc": { + "start": { + "line": 406, + "column": 33 + }, + "end": { + "line": 406, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14486, + "end": 14487, + "loc": { + "start": { + "line": 406, + "column": 41 + }, + "end": { + "line": 406, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 14487, + "end": 14493, + "loc": { + "start": { + "line": 406, + "column": 42 + }, + "end": { + "line": 406, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14493, + "end": 14494, + "loc": { + "start": { + "line": 406, + "column": 48 + }, + "end": { + "line": 406, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14494, + "end": 14495, + "loc": { + "start": { + "line": 406, + "column": 49 + }, + "end": { + "line": 406, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14495, + "end": 14496, + "loc": { + "start": { + "line": 406, + "column": 50 + }, + "end": { + "line": 406, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNameFound", + "start": 14512, + "end": 14526, + "loc": { + "start": { + "line": 407, + "column": 14 + }, + "end": { + "line": 407, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 14527, + "end": 14528, + "loc": { + "start": { + "line": 407, + "column": 29 + }, + "end": { + "line": 407, + "column": 30 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 14529, + "end": 14533, + "loc": { + "start": { + "line": 407, + "column": 31 + }, + "end": { + "line": 407, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14533, + "end": 14534, + "loc": { + "start": { + "line": 407, + "column": 35 + }, + "end": { + "line": 407, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeArray", + "start": 14550, + "end": 14566, + "loc": { + "start": { + "line": 408, + "column": 14 + }, + "end": { + "line": 408, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14566, + "end": 14567, + "loc": { + "start": { + "line": 408, + "column": 30 + }, + "end": { + "line": 408, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 14567, + "end": 14571, + "loc": { + "start": { + "line": 408, + "column": 31 + }, + "end": { + "line": 408, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14571, + "end": 14572, + "loc": { + "start": { + "line": 408, + "column": 35 + }, + "end": { + "line": 408, "column": 36 } } @@ -117788,15 +121294,15 @@ "binop": null }, "value": "button", - "start": 14238, - "end": 14244, + "start": 14572, + "end": 14578, "loc": { "start": { - "line": 397, + "line": 408, "column": 36 }, "end": { - "line": 397, + "line": 408, "column": 42 } } @@ -117813,15 +121319,15 @@ "postfix": false, "binop": null }, - "start": 14244, - "end": 14245, + "start": 14578, + "end": 14579, "loc": { "start": { - "line": 397, + "line": 408, "column": 42 }, "end": { - "line": 397, + "line": 408, "column": 43 } } @@ -117839,15 +121345,15 @@ "binop": null, "updateContext": null }, - "start": 14245, - "end": 14246, + "start": 14579, + "end": 14580, "loc": { "start": { - "line": 397, + "line": 408, "column": 43 }, "end": { - "line": 397, + "line": 408, "column": 44 } } @@ -117865,15 +121371,15 @@ "binop": null }, "value": "buttonTheme", - "start": 14262, - "end": 14273, + "start": 14596, + "end": 14607, "loc": { "start": { - "line": 398, + "line": 409, "column": 14 }, "end": { - "line": 398, + "line": 409, "column": 25 } } @@ -117891,15 +121397,15 @@ "binop": null, "updateContext": null }, - "start": 14273, - "end": 14274, + "start": 14607, + "end": 14608, "loc": { "start": { - "line": 398, + "line": 409, "column": 25 }, "end": { - "line": 398, + "line": 409, "column": 26 } } @@ -117917,15 +121423,15 @@ "binop": null }, "value": "buttons", - "start": 14274, - "end": 14281, + "start": 14608, + "end": 14615, "loc": { "start": { - "line": 398, + "line": 409, "column": 26 }, "end": { - "line": 398, + "line": 409, "column": 33 } } @@ -117944,15 +121450,15 @@ "updateContext": null }, "value": "=", - "start": 14282, - "end": 14283, + "start": 14616, + "end": 14617, "loc": { "start": { - "line": 398, + "line": 409, "column": 34 }, "end": { - "line": 398, + "line": 409, "column": 35 } } @@ -117970,15 +121476,15 @@ "binop": null }, "value": "buttonThemeArray", - "start": 14284, - "end": 14300, + "start": 14618, + "end": 14634, "loc": { "start": { - "line": 398, + "line": 409, "column": 36 }, "end": { - "line": 398, + "line": 409, "column": 52 } } @@ -117996,15 +121502,15 @@ "binop": null, "updateContext": null }, - "start": 14300, - "end": 14301, + "start": 14634, + "end": 14635, "loc": { "start": { - "line": 398, + "line": 409, "column": 52 }, "end": { - "line": 398, + "line": 409, "column": 53 } } @@ -118022,15 +121528,15 @@ "binop": null }, "value": "join", - "start": 14301, - "end": 14305, + "start": 14635, + "end": 14639, "loc": { "start": { - "line": 398, + "line": 409, "column": 53 }, "end": { - "line": 398, + "line": 409, "column": 57 } } @@ -118047,15 +121553,15 @@ "postfix": false, "binop": null }, - "start": 14305, - "end": 14306, + "start": 14639, + "end": 14640, "loc": { "start": { - "line": 398, + "line": 409, "column": 57 }, "end": { - "line": 398, + "line": 409, "column": 58 } } @@ -118074,15 +121580,15 @@ "updateContext": null }, "value": " ", - "start": 14306, - "end": 14309, + "start": 14640, + "end": 14643, "loc": { "start": { - "line": 398, + "line": 409, "column": 58 }, "end": { - "line": 398, + "line": 409, "column": 61 } } @@ -118099,15 +121605,15 @@ "postfix": false, "binop": null }, - "start": 14309, - "end": 14310, + "start": 14643, + "end": 14644, "loc": { "start": { - "line": 398, + "line": 409, "column": 61 }, "end": { - "line": 398, + "line": 409, "column": 62 } } @@ -118125,15 +121631,15 @@ "binop": null, "updateContext": null }, - "start": 14310, - "end": 14311, + "start": 14644, + "end": 14645, "loc": { "start": { - "line": 398, + "line": 409, "column": 62 }, "end": { - "line": 398, + "line": 409, "column": 63 } } @@ -118150,15 +121656,15 @@ "postfix": false, "binop": null }, - "start": 14325, - "end": 14326, + "start": 14659, + "end": 14660, "loc": { "start": { - "line": 399, + "line": 410, "column": 12 }, "end": { - "line": 399, + "line": 410, "column": 13 } } @@ -118175,15 +121681,15 @@ "postfix": false, "binop": null }, - "start": 14338, - "end": 14339, + "start": 14672, + "end": 14673, "loc": { "start": { - "line": 400, + "line": 411, "column": 10 }, "end": { - "line": 400, + "line": 411, "column": 11 } } @@ -118203,15 +121709,15 @@ "updateContext": null }, "value": "return", - "start": 14351, - "end": 14357, + "start": 14685, + "end": 14691, "loc": { "start": { - "line": 401, + "line": 412, "column": 10 }, "end": { - "line": 401, + "line": 412, "column": 16 } } @@ -118229,15 +121735,15 @@ "binop": null }, "value": "buttonTheme", - "start": 14358, - "end": 14369, + "start": 14692, + "end": 14703, "loc": { "start": { - "line": 401, + "line": 412, "column": 17 }, "end": { - "line": 401, + "line": 412, "column": 28 } } @@ -118255,15 +121761,15 @@ "binop": null, "updateContext": null }, - "start": 14369, - "end": 14370, + "start": 14703, + "end": 14704, "loc": { "start": { - "line": 401, + "line": 412, "column": 28 }, "end": { - "line": 401, + "line": 412, "column": 29 } } @@ -118280,15 +121786,15 @@ "postfix": false, "binop": null }, - "start": 14380, - "end": 14381, + "start": 14714, + "end": 14715, "loc": { "start": { - "line": 402, + "line": 413, "column": 8 }, "end": { - "line": 402, + "line": 413, "column": 9 } } @@ -118305,15 +121811,15 @@ "postfix": false, "binop": null }, - "start": 14381, - "end": 14382, + "start": 14715, + "end": 14716, "loc": { "start": { - "line": 402, + "line": 413, "column": 9 }, "end": { - "line": 402, + "line": 413, "column": 10 } } @@ -118331,15 +121837,15 @@ "binop": null, "updateContext": null }, - "start": 14382, - "end": 14383, + "start": 14716, + "end": 14717, "loc": { "start": { - "line": 402, + "line": 413, "column": 10 }, "end": { - "line": 402, + "line": 413, "column": 11 } } @@ -118347,15 +121853,15 @@ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", - "start": 14395, - "end": 14470, + "start": 14729, + "end": 14804, "loc": { "start": { - "line": 404, + "line": 415, "column": 8 }, "end": { - "line": 406, + "line": 417, "column": 11 } } @@ -118375,15 +121881,15 @@ "updateContext": null }, "value": "if", - "start": 14480, - "end": 14482, + "start": 14814, + "end": 14816, "loc": { "start": { - "line": 407, + "line": 418, "column": 8 }, "end": { - "line": 407, + "line": 418, "column": 10 } } @@ -118400,15 +121906,15 @@ "postfix": false, "binop": null }, - "start": 14482, - "end": 14483, + "start": 14816, + "end": 14817, "loc": { "start": { - "line": 407, + "line": 418, "column": 10 }, "end": { - "line": 407, + "line": 418, "column": 11 } } @@ -118427,15 +121933,15 @@ "updateContext": null }, "value": "!", - "start": 14483, - "end": 14484, + "start": 14817, + "end": 14818, "loc": { "start": { - "line": 407, + "line": 418, "column": 11 }, "end": { - "line": 407, + "line": 418, "column": 12 } } @@ -118453,15 +121959,15 @@ "binop": null }, "value": "classNameFound", - "start": 14484, - "end": 14498, + "start": 14818, + "end": 14832, "loc": { "start": { - "line": 407, + "line": 418, "column": 12 }, "end": { - "line": 407, + "line": 418, "column": 26 } } @@ -118478,15 +121984,15 @@ "postfix": false, "binop": null }, - "start": 14498, - "end": 14499, + "start": 14832, + "end": 14833, "loc": { "start": { - "line": 407, + "line": 418, "column": 26 }, "end": { - "line": 407, + "line": 418, "column": 27 } } @@ -118503,15 +122009,15 @@ "postfix": false, "binop": null }, - "start": 14499, - "end": 14500, + "start": 14833, + "end": 14834, "loc": { "start": { - "line": 407, + "line": 418, "column": 27 }, "end": { - "line": 407, + "line": 418, "column": 28 } } @@ -118531,15 +122037,15 @@ "updateContext": null }, "value": "this", - "start": 14512, - "end": 14516, + "start": 14846, + "end": 14850, "loc": { "start": { - "line": 408, + "line": 419, "column": 10 }, "end": { - "line": 408, + "line": 419, "column": 14 } } @@ -118557,15 +122063,15 @@ "binop": null, "updateContext": null }, - "start": 14516, - "end": 14517, + "start": 14850, + "end": 14851, "loc": { "start": { - "line": 408, + "line": 419, "column": 14 }, "end": { - "line": 408, + "line": 419, "column": 15 } } @@ -118583,15 +122089,15 @@ "binop": null }, "value": "options", - "start": 14517, - "end": 14524, + "start": 14851, + "end": 14858, "loc": { "start": { - "line": 408, + "line": 419, "column": 15 }, "end": { - "line": 408, + "line": 419, "column": 22 } } @@ -118609,15 +122115,15 @@ "binop": null, "updateContext": null }, - "start": 14524, - "end": 14525, + "start": 14858, + "end": 14859, "loc": { "start": { - "line": 408, + "line": 419, "column": 22 }, "end": { - "line": 408, + "line": 419, "column": 23 } } @@ -118635,15 +122141,15 @@ "binop": null }, "value": "buttonTheme", - "start": 14525, - "end": 14536, + "start": 14859, + "end": 14870, "loc": { "start": { - "line": 408, + "line": 419, "column": 23 }, "end": { - "line": 408, + "line": 419, "column": 34 } } @@ -118661,15 +122167,15 @@ "binop": null, "updateContext": null }, - "start": 14536, - "end": 14537, + "start": 14870, + "end": 14871, "loc": { "start": { - "line": 408, + "line": 419, "column": 34 }, "end": { - "line": 408, + "line": 419, "column": 35 } } @@ -118687,15 +122193,15 @@ "binop": null }, "value": "push", - "start": 14537, - "end": 14541, + "start": 14871, + "end": 14875, "loc": { "start": { - "line": 408, + "line": 419, "column": 35 }, "end": { - "line": 408, + "line": 419, "column": 39 } } @@ -118712,15 +122218,15 @@ "postfix": false, "binop": null }, - "start": 14541, - "end": 14542, + "start": 14875, + "end": 14876, "loc": { "start": { - "line": 408, + "line": 419, "column": 39 }, "end": { - "line": 408, + "line": 419, "column": 40 } } @@ -118737,15 +122243,15 @@ "postfix": false, "binop": null }, - "start": 14542, - "end": 14543, + "start": 14876, + "end": 14877, "loc": { "start": { - "line": 408, + "line": 419, "column": 40 }, "end": { - "line": 408, + "line": 419, "column": 41 } } @@ -118765,15 +122271,15 @@ "updateContext": null }, "value": "class", - "start": 14557, - "end": 14562, + "start": 14891, + "end": 14896, "loc": { "start": { - "line": 409, + "line": 420, "column": 12 }, "end": { - "line": 409, + "line": 420, "column": 17 } } @@ -118791,15 +122297,15 @@ "binop": null, "updateContext": null }, - "start": 14562, - "end": 14563, + "start": 14896, + "end": 14897, "loc": { "start": { - "line": 409, + "line": 420, "column": 17 }, "end": { - "line": 409, + "line": 420, "column": 18 } } @@ -118817,15 +122323,15 @@ "binop": null }, "value": "classNameItem", - "start": 14564, - "end": 14577, + "start": 14898, + "end": 14911, "loc": { "start": { - "line": 409, + "line": 420, "column": 19 }, "end": { - "line": 409, + "line": 420, "column": 32 } } @@ -118843,15 +122349,15 @@ "binop": null, "updateContext": null }, - "start": 14577, - "end": 14578, + "start": 14911, + "end": 14912, "loc": { "start": { - "line": 409, + "line": 420, "column": 32 }, "end": { - "line": 409, + "line": 420, "column": 33 } } @@ -118869,15 +122375,15 @@ "binop": null }, "value": "buttons", - "start": 14592, - "end": 14599, + "start": 14926, + "end": 14933, "loc": { "start": { - "line": 410, + "line": 421, "column": 12 }, "end": { - "line": 410, + "line": 421, "column": 19 } } @@ -118895,15 +122401,15 @@ "binop": null, "updateContext": null }, - "start": 14599, - "end": 14600, + "start": 14933, + "end": 14934, "loc": { "start": { - "line": 410, + "line": 421, "column": 19 }, "end": { - "line": 410, + "line": 421, "column": 20 } } @@ -118921,15 +122427,15 @@ "binop": null }, "value": "buttons", - "start": 14601, - "end": 14608, + "start": 14935, + "end": 14942, "loc": { "start": { - "line": 410, + "line": 421, "column": 21 }, "end": { - "line": 410, + "line": 421, "column": 28 } } @@ -118946,15 +122452,15 @@ "postfix": false, "binop": null }, - "start": 14620, - "end": 14621, + "start": 14954, + "end": 14955, "loc": { "start": { - "line": 411, + "line": 422, "column": 10 }, "end": { - "line": 411, + "line": 422, "column": 11 } } @@ -118971,15 +122477,15 @@ "postfix": false, "binop": null }, - "start": 14621, - "end": 14622, + "start": 14955, + "end": 14956, "loc": { "start": { - "line": 411, + "line": 422, "column": 11 }, "end": { - "line": 411, + "line": 422, "column": 12 } } @@ -118997,15 +122503,15 @@ "binop": null, "updateContext": null }, - "start": 14622, - "end": 14623, + "start": 14956, + "end": 14957, "loc": { "start": { - "line": 411, + "line": 422, "column": 12 }, "end": { - "line": 411, + "line": 422, "column": 13 } } @@ -119022,15 +122528,15 @@ "postfix": false, "binop": null }, - "start": 14633, - "end": 14634, + "start": 14967, + "end": 14968, "loc": { "start": { - "line": 412, + "line": 423, "column": 8 }, "end": { - "line": 412, + "line": 423, "column": 9 } } @@ -119047,15 +122553,15 @@ "postfix": false, "binop": null }, - "start": 14644, - "end": 14645, + "start": 14978, + "end": 14979, "loc": { "start": { - "line": 414, + "line": 425, "column": 6 }, "end": { - "line": 414, + "line": 425, "column": 7 } } @@ -119072,15 +122578,15 @@ "postfix": false, "binop": null }, - "start": 14645, - "end": 14646, + "start": 14979, + "end": 14980, "loc": { "start": { - "line": 414, + "line": 425, "column": 7 }, "end": { - "line": 414, + "line": 425, "column": 8 } } @@ -119098,15 +122604,15 @@ "binop": null, "updateContext": null }, - "start": 14646, - "end": 14647, + "start": 14980, + "end": 14981, "loc": { "start": { - "line": 414, + "line": 425, "column": 8 }, "end": { - "line": 414, + "line": 425, "column": 9 } } @@ -119123,15 +122629,15 @@ "postfix": false, "binop": null }, - "start": 14653, - "end": 14654, + "start": 14987, + "end": 14988, "loc": { "start": { - "line": 415, + "line": 426, "column": 4 }, "end": { - "line": 415, + "line": 426, "column": 5 } } @@ -119148,15 +122654,15 @@ "postfix": false, "binop": null }, - "start": 14654, - "end": 14655, + "start": 14988, + "end": 14989, "loc": { "start": { - "line": 415, + "line": 426, "column": 5 }, "end": { - "line": 415, + "line": 426, "column": 6 } } @@ -119174,15 +122680,15 @@ "binop": null, "updateContext": null }, - "start": 14655, - "end": 14656, + "start": 14989, + "end": 14990, "loc": { "start": { - "line": 415, + "line": 426, "column": 6 }, "end": { - "line": 415, + "line": 426, "column": 7 } } @@ -119202,15 +122708,15 @@ "updateContext": null }, "value": "this", - "start": 14664, - "end": 14668, + "start": 14998, + "end": 15002, "loc": { "start": { - "line": 417, + "line": 428, "column": 4 }, "end": { - "line": 417, + "line": 428, "column": 8 } } @@ -119228,15 +122734,15 @@ "binop": null, "updateContext": null }, - "start": 14668, - "end": 14669, + "start": 15002, + "end": 15003, "loc": { "start": { - "line": 417, + "line": 428, "column": 8 }, "end": { - "line": 417, + "line": 428, "column": 9 } } @@ -119254,15 +122760,15 @@ "binop": null }, "value": "render", - "start": 14669, - "end": 14675, + "start": 15003, + "end": 15009, "loc": { "start": { - "line": 417, + "line": 428, "column": 9 }, "end": { - "line": 417, + "line": 428, "column": 15 } } @@ -119279,15 +122785,15 @@ "postfix": false, "binop": null }, - "start": 14675, - "end": 14676, + "start": 15009, + "end": 15010, "loc": { "start": { - "line": 417, + "line": 428, "column": 15 }, "end": { - "line": 417, + "line": 428, "column": 16 } } @@ -119304,15 +122810,15 @@ "postfix": false, "binop": null }, - "start": 14676, - "end": 14677, + "start": 15010, + "end": 15011, "loc": { "start": { - "line": 417, + "line": 428, "column": 16 }, "end": { - "line": 417, + "line": 428, "column": 17 } } @@ -119330,15 +122836,15 @@ "binop": null, "updateContext": null }, - "start": 14677, - "end": 14678, + "start": 15011, + "end": 15012, "loc": { "start": { - "line": 417, + "line": 428, "column": 17 }, "end": { - "line": 417, + "line": 428, "column": 18 } } @@ -119355,15 +122861,15 @@ "postfix": false, "binop": null }, - "start": 14682, - "end": 14683, + "start": 15016, + "end": 15017, "loc": { "start": { - "line": 418, + "line": 429, "column": 2 }, "end": { - "line": 418, + "line": 429, "column": 3 } } @@ -119371,15 +122877,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", - "start": 14689, - "end": 15029, + "start": 15023, + "end": 15363, "loc": { "start": { - "line": 420, + "line": 431, "column": 2 }, "end": { - "line": 424, + "line": 435, "column": 5 } } @@ -119397,15 +122903,15 @@ "binop": null }, "value": "removeButtonTheme", - "start": 15033, - "end": 15050, + "start": 15367, + "end": 15384, "loc": { "start": { - "line": 425, + "line": 436, "column": 2 }, "end": { - "line": 425, + "line": 436, "column": 19 } } @@ -119422,15 +122928,15 @@ "postfix": false, "binop": null }, - "start": 15050, - "end": 15051, + "start": 15384, + "end": 15385, "loc": { "start": { - "line": 425, + "line": 436, "column": 19 }, "end": { - "line": 425, + "line": 436, "column": 20 } } @@ -119448,15 +122954,15 @@ "binop": null }, "value": "buttons", - "start": 15051, - "end": 15058, + "start": 15385, + "end": 15392, "loc": { "start": { - "line": 425, + "line": 436, "column": 20 }, "end": { - "line": 425, + "line": 436, "column": 27 } } @@ -119474,15 +122980,15 @@ "binop": null, "updateContext": null }, - "start": 15058, - "end": 15059, + "start": 15392, + "end": 15393, "loc": { "start": { - "line": 425, + "line": 436, "column": 27 }, "end": { - "line": 425, + "line": 436, "column": 28 } } @@ -119500,15 +123006,15 @@ "binop": null }, "value": "className", - "start": 15060, - "end": 15069, + "start": 15394, + "end": 15403, "loc": { "start": { - "line": 425, + "line": 436, "column": 29 }, "end": { - "line": 425, + "line": 436, "column": 38 } } @@ -119525,15 +123031,15 @@ "postfix": false, "binop": null }, - "start": 15069, - "end": 15070, + "start": 15403, + "end": 15404, "loc": { "start": { - "line": 425, + "line": 436, "column": 38 }, "end": { - "line": 425, + "line": 436, "column": 39 } } @@ -119550,15 +123056,15 @@ "postfix": false, "binop": null }, - "start": 15070, - "end": 15071, + "start": 15404, + "end": 15405, "loc": { "start": { - "line": 425, + "line": 436, "column": 39 }, "end": { - "line": 425, + "line": 436, "column": 40 } } @@ -119566,15 +123072,15 @@ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", - "start": 15077, - "end": 15157, + "start": 15411, + "end": 15491, "loc": { "start": { - "line": 426, + "line": 437, "column": 4 }, "end": { - "line": 428, + "line": 439, "column": 7 } } @@ -119594,15 +123100,15 @@ "updateContext": null }, "value": "if", - "start": 15163, - "end": 15165, + "start": 15497, + "end": 15499, "loc": { "start": { - "line": 429, + "line": 440, "column": 4 }, "end": { - "line": 429, + "line": 440, "column": 6 } } @@ -119619,15 +123125,15 @@ "postfix": false, "binop": null }, - "start": 15165, - "end": 15166, + "start": 15499, + "end": 15500, "loc": { "start": { - "line": 429, + "line": 440, "column": 6 }, "end": { - "line": 429, + "line": 440, "column": 7 } } @@ -119646,15 +123152,15 @@ "updateContext": null }, "value": "!", - "start": 15166, - "end": 15167, + "start": 15500, + "end": 15501, "loc": { "start": { - "line": 429, + "line": 440, "column": 7 }, "end": { - "line": 429, + "line": 440, "column": 8 } } @@ -119672,15 +123178,15 @@ "binop": null }, "value": "buttons", - "start": 15167, - "end": 15174, + "start": 15501, + "end": 15508, "loc": { "start": { - "line": 429, + "line": 440, "column": 8 }, "end": { - "line": 429, + "line": 440, "column": 15 } } @@ -119699,15 +123205,15 @@ "updateContext": null }, "value": "&&", - "start": 15175, - "end": 15177, + "start": 15509, + "end": 15511, "loc": { "start": { - "line": 429, + "line": 440, "column": 16 }, "end": { - "line": 429, + "line": 440, "column": 18 } } @@ -119726,15 +123232,15 @@ "updateContext": null }, "value": "!", - "start": 15178, - "end": 15179, + "start": 15512, + "end": 15513, "loc": { "start": { - "line": 429, + "line": 440, "column": 19 }, "end": { - "line": 429, + "line": 440, "column": 20 } } @@ -119752,15 +123258,15 @@ "binop": null }, "value": "className", - "start": 15179, - "end": 15188, + "start": 15513, + "end": 15522, "loc": { "start": { - "line": 429, + "line": 440, "column": 20 }, "end": { - "line": 429, + "line": 440, "column": 29 } } @@ -119777,15 +123283,15 @@ "postfix": false, "binop": null }, - "start": 15188, - "end": 15189, + "start": 15522, + "end": 15523, "loc": { "start": { - "line": 429, + "line": 440, "column": 29 }, "end": { - "line": 429, + "line": 440, "column": 30 } } @@ -119802,15 +123308,15 @@ "postfix": false, "binop": null }, - "start": 15189, - "end": 15190, + "start": 15523, + "end": 15524, "loc": { "start": { - "line": 429, + "line": 440, "column": 30 }, "end": { - "line": 429, + "line": 440, "column": 31 } } @@ -119830,15 +123336,15 @@ "updateContext": null }, "value": "this", - "start": 15198, - "end": 15202, + "start": 15532, + "end": 15536, "loc": { "start": { - "line": 430, + "line": 441, "column": 6 }, "end": { - "line": 430, + "line": 441, "column": 10 } } @@ -119856,15 +123362,15 @@ "binop": null, "updateContext": null }, - "start": 15202, - "end": 15203, + "start": 15536, + "end": 15537, "loc": { "start": { - "line": 430, + "line": 441, "column": 10 }, "end": { - "line": 430, + "line": 441, "column": 11 } } @@ -119882,15 +123388,15 @@ "binop": null }, "value": "options", - "start": 15203, - "end": 15210, + "start": 15537, + "end": 15544, "loc": { "start": { - "line": 430, + "line": 441, "column": 11 }, "end": { - "line": 430, + "line": 441, "column": 18 } } @@ -119908,15 +123414,15 @@ "binop": null, "updateContext": null }, - "start": 15210, - "end": 15211, + "start": 15544, + "end": 15545, "loc": { "start": { - "line": 430, + "line": 441, "column": 18 }, "end": { - "line": 430, + "line": 441, "column": 19 } } @@ -119934,15 +123440,15 @@ "binop": null }, "value": "buttonTheme", - "start": 15211, - "end": 15222, + "start": 15545, + "end": 15556, "loc": { "start": { - "line": 430, + "line": 441, "column": 19 }, "end": { - "line": 430, + "line": 441, "column": 30 } } @@ -119961,15 +123467,15 @@ "updateContext": null }, "value": "=", - "start": 15223, - "end": 15224, + "start": 15557, + "end": 15558, "loc": { "start": { - "line": 430, + "line": 441, "column": 31 }, "end": { - "line": 430, + "line": 441, "column": 32 } } @@ -119987,15 +123493,15 @@ "binop": null, "updateContext": null }, - "start": 15225, - "end": 15226, + "start": 15559, + "end": 15560, "loc": { "start": { - "line": 430, + "line": 441, "column": 33 }, "end": { - "line": 430, + "line": 441, "column": 34 } } @@ -120013,15 +123519,15 @@ "binop": null, "updateContext": null }, - "start": 15226, - "end": 15227, + "start": 15560, + "end": 15561, "loc": { "start": { - "line": 430, + "line": 441, "column": 34 }, "end": { - "line": 430, + "line": 441, "column": 35 } } @@ -120039,15 +123545,15 @@ "binop": null, "updateContext": null }, - "start": 15227, - "end": 15228, + "start": 15561, + "end": 15562, "loc": { "start": { - "line": 430, + "line": 441, "column": 35 }, "end": { - "line": 430, + "line": 441, "column": 36 } } @@ -120067,15 +123573,15 @@ "updateContext": null }, "value": "this", - "start": 15236, - "end": 15240, + "start": 15570, + "end": 15574, "loc": { "start": { - "line": 431, + "line": 442, "column": 6 }, "end": { - "line": 431, + "line": 442, "column": 10 } } @@ -120093,15 +123599,15 @@ "binop": null, "updateContext": null }, - "start": 15240, - "end": 15241, + "start": 15574, + "end": 15575, "loc": { "start": { - "line": 431, + "line": 442, "column": 10 }, "end": { - "line": 431, + "line": 442, "column": 11 } } @@ -120119,15 +123625,15 @@ "binop": null }, "value": "render", - "start": 15241, - "end": 15247, + "start": 15575, + "end": 15581, "loc": { "start": { - "line": 431, + "line": 442, "column": 11 }, "end": { - "line": 431, + "line": 442, "column": 17 } } @@ -120144,15 +123650,15 @@ "postfix": false, "binop": null }, - "start": 15247, - "end": 15248, + "start": 15581, + "end": 15582, "loc": { "start": { - "line": 431, + "line": 442, "column": 17 }, "end": { - "line": 431, + "line": 442, "column": 18 } } @@ -120169,15 +123675,15 @@ "postfix": false, "binop": null }, - "start": 15248, - "end": 15249, + "start": 15582, + "end": 15583, "loc": { "start": { - "line": 431, + "line": 442, "column": 18 }, "end": { - "line": 431, + "line": 442, "column": 19 } } @@ -120195,15 +123701,15 @@ "binop": null, "updateContext": null }, - "start": 15249, - "end": 15250, + "start": 15583, + "end": 15584, "loc": { "start": { - "line": 431, + "line": 442, "column": 19 }, "end": { - "line": 431, + "line": 442, "column": 20 } } @@ -120223,15 +123729,15 @@ "updateContext": null }, "value": "return", - "start": 15258, - "end": 15264, + "start": 15592, + "end": 15598, "loc": { "start": { - "line": 432, + "line": 443, "column": 6 }, "end": { - "line": 432, + "line": 443, "column": 12 } } @@ -120251,15 +123757,15 @@ "updateContext": null }, "value": "false", - "start": 15265, - "end": 15270, + "start": 15599, + "end": 15604, "loc": { "start": { - "line": 432, + "line": 443, "column": 13 }, "end": { - "line": 432, + "line": 443, "column": 18 } } @@ -120277,15 +123783,15 @@ "binop": null, "updateContext": null }, - "start": 15270, - "end": 15271, + "start": 15604, + "end": 15605, "loc": { "start": { - "line": 432, + "line": 443, "column": 18 }, "end": { - "line": 432, + "line": 443, "column": 19 } } @@ -120302,15 +123808,15 @@ "postfix": false, "binop": null }, - "start": 15277, - "end": 15278, + "start": 15611, + "end": 15612, "loc": { "start": { - "line": 433, + "line": 444, "column": 4 }, "end": { - "line": 433, + "line": 444, "column": 5 } } @@ -120318,15 +123824,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", - "start": 15286, - "end": 15354, + "start": 15620, + "end": 15688, "loc": { "start": { - "line": 435, + "line": 446, "column": 4 }, "end": { - "line": 437, + "line": 448, "column": 7 } } @@ -120346,15 +123852,15 @@ "updateContext": null }, "value": "if", - "start": 15360, - "end": 15362, + "start": 15694, + "end": 15696, "loc": { "start": { - "line": 438, + "line": 449, "column": 4 }, "end": { - "line": 438, + "line": 449, "column": 6 } } @@ -120371,15 +123877,15 @@ "postfix": false, "binop": null }, - "start": 15362, - "end": 15363, + "start": 15696, + "end": 15697, "loc": { "start": { - "line": 438, + "line": 449, "column": 6 }, "end": { - "line": 438, + "line": 449, "column": 7 } } @@ -120397,15 +123903,15 @@ "binop": null }, "value": "buttons", - "start": 15363, - "end": 15370, + "start": 15697, + "end": 15704, "loc": { "start": { - "line": 438, + "line": 449, "column": 7 }, "end": { - "line": 438, + "line": 449, "column": 14 } } @@ -120424,15 +123930,15 @@ "updateContext": null }, "value": "&&", - "start": 15371, - "end": 15373, + "start": 15705, + "end": 15707, "loc": { "start": { - "line": 438, + "line": 449, "column": 15 }, "end": { - "line": 438, + "line": 449, "column": 17 } } @@ -120450,15 +123956,15 @@ "binop": null }, "value": "Array", - "start": 15374, - "end": 15379, + "start": 15708, + "end": 15713, "loc": { "start": { - "line": 438, + "line": 449, "column": 18 }, "end": { - "line": 438, + "line": 449, "column": 23 } } @@ -120476,15 +123982,15 @@ "binop": null, "updateContext": null }, - "start": 15379, - "end": 15380, + "start": 15713, + "end": 15714, "loc": { "start": { - "line": 438, + "line": 449, "column": 23 }, "end": { - "line": 438, + "line": 449, "column": 24 } } @@ -120502,15 +124008,15 @@ "binop": null }, "value": "isArray", - "start": 15380, - "end": 15387, + "start": 15714, + "end": 15721, "loc": { "start": { - "line": 438, + "line": 449, "column": 24 }, "end": { - "line": 438, + "line": 449, "column": 31 } } @@ -120527,15 +124033,15 @@ "postfix": false, "binop": null }, - "start": 15387, - "end": 15388, + "start": 15721, + "end": 15722, "loc": { "start": { - "line": 438, + "line": 449, "column": 31 }, "end": { - "line": 438, + "line": 449, "column": 32 } } @@ -120555,15 +124061,15 @@ "updateContext": null }, "value": "this", - "start": 15388, - "end": 15392, + "start": 15722, + "end": 15726, "loc": { "start": { - "line": 438, + "line": 449, "column": 32 }, "end": { - "line": 438, + "line": 449, "column": 36 } } @@ -120581,15 +124087,15 @@ "binop": null, "updateContext": null }, - "start": 15392, - "end": 15393, + "start": 15726, + "end": 15727, "loc": { "start": { - "line": 438, + "line": 449, "column": 36 }, "end": { - "line": 438, + "line": 449, "column": 37 } } @@ -120607,15 +124113,15 @@ "binop": null }, "value": "options", - "start": 15393, - "end": 15400, + "start": 15727, + "end": 15734, "loc": { "start": { - "line": 438, + "line": 449, "column": 37 }, "end": { - "line": 438, + "line": 449, "column": 44 } } @@ -120633,15 +124139,15 @@ "binop": null, "updateContext": null }, - "start": 15400, - "end": 15401, + "start": 15734, + "end": 15735, "loc": { "start": { - "line": 438, + "line": 449, "column": 44 }, "end": { - "line": 438, + "line": 449, "column": 45 } } @@ -120659,15 +124165,15 @@ "binop": null }, "value": "buttonTheme", - "start": 15401, - "end": 15412, + "start": 15735, + "end": 15746, "loc": { "start": { - "line": 438, + "line": 449, "column": 45 }, "end": { - "line": 438, + "line": 449, "column": 56 } } @@ -120684,15 +124190,15 @@ "postfix": false, "binop": null }, - "start": 15412, - "end": 15413, + "start": 15746, + "end": 15747, "loc": { "start": { - "line": 438, + "line": 449, "column": 56 }, "end": { - "line": 438, + "line": 449, "column": 57 } } @@ -120711,15 +124217,15 @@ "updateContext": null }, "value": "&&", - "start": 15414, - "end": 15416, + "start": 15748, + "end": 15750, "loc": { "start": { - "line": 438, + "line": 449, "column": 58 }, "end": { - "line": 438, + "line": 449, "column": 60 } } @@ -120739,15 +124245,15 @@ "updateContext": null }, "value": "this", - "start": 15417, - "end": 15421, + "start": 15751, + "end": 15755, "loc": { "start": { - "line": 438, + "line": 449, "column": 61 }, "end": { - "line": 438, + "line": 449, "column": 65 } } @@ -120765,15 +124271,15 @@ "binop": null, "updateContext": null }, - "start": 15421, - "end": 15422, + "start": 15755, + "end": 15756, "loc": { "start": { - "line": 438, + "line": 449, "column": 65 }, "end": { - "line": 438, + "line": 449, "column": 66 } } @@ -120791,15 +124297,15 @@ "binop": null }, "value": "options", - "start": 15422, - "end": 15429, + "start": 15756, + "end": 15763, "loc": { "start": { - "line": 438, + "line": 449, "column": 66 }, "end": { - "line": 438, + "line": 449, "column": 73 } } @@ -120817,15 +124323,15 @@ "binop": null, "updateContext": null }, - "start": 15429, - "end": 15430, + "start": 15763, + "end": 15764, "loc": { "start": { - "line": 438, + "line": 449, "column": 73 }, "end": { - "line": 438, + "line": 449, "column": 74 } } @@ -120843,15 +124349,15 @@ "binop": null }, "value": "buttonTheme", - "start": 15430, - "end": 15441, + "start": 15764, + "end": 15775, "loc": { "start": { - "line": 438, + "line": 449, "column": 74 }, "end": { - "line": 438, + "line": 449, "column": 85 } } @@ -120869,15 +124375,15 @@ "binop": null, "updateContext": null }, - "start": 15441, - "end": 15442, + "start": 15775, + "end": 15776, "loc": { "start": { - "line": 438, + "line": 449, "column": 85 }, "end": { - "line": 438, + "line": 449, "column": 86 } } @@ -120895,15 +124401,15 @@ "binop": null }, "value": "length", - "start": 15442, - "end": 15448, + "start": 15776, + "end": 15782, "loc": { "start": { - "line": 438, + "line": 449, "column": 86 }, "end": { - "line": 438, + "line": 449, "column": 92 } } @@ -120920,15 +124426,15 @@ "postfix": false, "binop": null }, - "start": 15448, - "end": 15449, + "start": 15782, + "end": 15783, "loc": { "start": { - "line": 438, + "line": 449, "column": 92 }, "end": { - "line": 438, + "line": 449, "column": 93 } } @@ -120945,15 +124451,15 @@ "postfix": false, "binop": null }, - "start": 15449, - "end": 15450, + "start": 15783, + "end": 15784, "loc": { "start": { - "line": 438, + "line": 449, "column": 93 }, "end": { - "line": 438, + "line": 449, "column": 94 } } @@ -120973,15 +124479,15 @@ "updateContext": null }, "value": "let", - "start": 15458, - "end": 15461, + "start": 15792, + "end": 15795, "loc": { "start": { - "line": 439, + "line": 450, "column": 6 }, "end": { - "line": 439, + "line": 450, "column": 9 } } @@ -120999,15 +124505,15 @@ "binop": null }, "value": "buttonArray", - "start": 15462, - "end": 15473, + "start": 15796, + "end": 15807, "loc": { "start": { - "line": 439, + "line": 450, "column": 10 }, "end": { - "line": 439, + "line": 450, "column": 21 } } @@ -121026,15 +124532,15 @@ "updateContext": null }, "value": "=", - "start": 15474, - "end": 15475, + "start": 15808, + "end": 15809, "loc": { "start": { - "line": 439, + "line": 450, "column": 22 }, "end": { - "line": 439, + "line": 450, "column": 23 } } @@ -121052,15 +124558,15 @@ "binop": null }, "value": "buttons", - "start": 15476, - "end": 15483, + "start": 15810, + "end": 15817, "loc": { "start": { - "line": 439, + "line": 450, "column": 24 }, "end": { - "line": 439, + "line": 450, "column": 31 } } @@ -121078,15 +124584,15 @@ "binop": null, "updateContext": null }, - "start": 15483, - "end": 15484, + "start": 15817, + "end": 15818, "loc": { "start": { - "line": 439, + "line": 450, "column": 31 }, "end": { - "line": 439, + "line": 450, "column": 32 } } @@ -121104,15 +124610,15 @@ "binop": null }, "value": "split", - "start": 15484, - "end": 15489, + "start": 15818, + "end": 15823, "loc": { "start": { - "line": 439, + "line": 450, "column": 32 }, "end": { - "line": 439, + "line": 450, "column": 37 } } @@ -121129,15 +124635,15 @@ "postfix": false, "binop": null }, - "start": 15489, - "end": 15490, + "start": 15823, + "end": 15824, "loc": { "start": { - "line": 439, + "line": 450, "column": 37 }, "end": { - "line": 439, + "line": 450, "column": 38 } } @@ -121156,15 +124662,15 @@ "updateContext": null }, "value": " ", - "start": 15490, - "end": 15493, + "start": 15824, + "end": 15827, "loc": { "start": { - "line": 439, + "line": 450, "column": 38 }, "end": { - "line": 439, + "line": 450, "column": 41 } } @@ -121181,15 +124687,15 @@ "postfix": false, "binop": null }, - "start": 15493, - "end": 15494, + "start": 15827, + "end": 15828, "loc": { "start": { - "line": 439, + "line": 450, "column": 41 }, "end": { - "line": 439, + "line": 450, "column": 42 } } @@ -121207,15 +124713,15 @@ "binop": null, "updateContext": null }, - "start": 15494, - "end": 15495, + "start": 15828, + "end": 15829, "loc": { "start": { - "line": 439, + "line": 450, "column": 42 }, "end": { - "line": 439, + "line": 450, "column": 43 } } @@ -121233,15 +124739,15 @@ "binop": null }, "value": "buttonArray", - "start": 15503, - "end": 15514, + "start": 15837, + "end": 15848, "loc": { "start": { - "line": 440, + "line": 451, "column": 6 }, "end": { - "line": 440, + "line": 451, "column": 17 } } @@ -121259,15 +124765,15 @@ "binop": null, "updateContext": null }, - "start": 15514, - "end": 15515, + "start": 15848, + "end": 15849, "loc": { "start": { - "line": 440, + "line": 451, "column": 17 }, "end": { - "line": 440, + "line": 451, "column": 18 } } @@ -121285,15 +124791,15 @@ "binop": null }, "value": "forEach", - "start": 15515, - "end": 15522, + "start": 15849, + "end": 15856, "loc": { "start": { - "line": 440, + "line": 451, "column": 18 }, "end": { - "line": 440, + "line": 451, "column": 25 } } @@ -121310,15 +124816,15 @@ "postfix": false, "binop": null }, - "start": 15522, - "end": 15523, + "start": 15856, + "end": 15857, "loc": { "start": { - "line": 440, + "line": 451, "column": 25 }, "end": { - "line": 440, + "line": 451, "column": 26 } } @@ -121335,15 +124841,15 @@ "postfix": false, "binop": null }, - "start": 15523, - "end": 15524, + "start": 15857, + "end": 15858, "loc": { "start": { - "line": 440, + "line": 451, "column": 26 }, "end": { - "line": 440, + "line": 451, "column": 27 } } @@ -121361,15 +124867,15 @@ "binop": null }, "value": "button", - "start": 15524, - "end": 15530, + "start": 15858, + "end": 15864, "loc": { "start": { - "line": 440, + "line": 451, "column": 27 }, "end": { - "line": 440, + "line": 451, "column": 33 } } @@ -121387,15 +124893,15 @@ "binop": null, "updateContext": null }, - "start": 15530, - "end": 15531, + "start": 15864, + "end": 15865, "loc": { "start": { - "line": 440, + "line": 451, "column": 33 }, "end": { - "line": 440, + "line": 451, "column": 34 } } @@ -121413,15 +124919,15 @@ "binop": null }, "value": "key", - "start": 15532, - "end": 15535, + "start": 15866, + "end": 15869, "loc": { "start": { - "line": 440, + "line": 451, "column": 35 }, "end": { - "line": 440, + "line": 451, "column": 38 } } @@ -121438,15 +124944,15 @@ "postfix": false, "binop": null }, - "start": 15535, - "end": 15536, + "start": 15869, + "end": 15870, "loc": { "start": { - "line": 440, + "line": 451, "column": 38 }, "end": { - "line": 440, + "line": 451, "column": 39 } } @@ -121464,15 +124970,15 @@ "binop": null, "updateContext": null }, - "start": 15537, - "end": 15539, + "start": 15871, + "end": 15873, "loc": { "start": { - "line": 440, + "line": 451, "column": 40 }, "end": { - "line": 440, + "line": 451, "column": 42 } } @@ -121489,15 +124995,15 @@ "postfix": false, "binop": null }, - "start": 15540, - "end": 15541, + "start": 15874, + "end": 15875, "loc": { "start": { - "line": 440, + "line": 451, "column": 43 }, "end": { - "line": 440, + "line": 451, "column": 44 } } @@ -121517,15 +125023,15 @@ "updateContext": null }, "value": "this", - "start": 15551, - "end": 15555, + "start": 15885, + "end": 15889, "loc": { "start": { - "line": 441, + "line": 452, "column": 8 }, "end": { - "line": 441, + "line": 452, "column": 12 } } @@ -121543,15 +125049,15 @@ "binop": null, "updateContext": null }, - "start": 15555, - "end": 15556, + "start": 15889, + "end": 15890, "loc": { "start": { - "line": 441, + "line": 452, "column": 12 }, "end": { - "line": 441, + "line": 452, "column": 13 } } @@ -121569,15 +125075,15 @@ "binop": null }, "value": "options", - "start": 15556, - "end": 15563, + "start": 15890, + "end": 15897, "loc": { "start": { - "line": 441, + "line": 452, "column": 13 }, "end": { - "line": 441, + "line": 452, "column": 20 } } @@ -121595,15 +125101,15 @@ "binop": null, "updateContext": null }, - "start": 15563, - "end": 15564, + "start": 15897, + "end": 15898, "loc": { "start": { - "line": 441, + "line": 452, "column": 20 }, "end": { - "line": 441, + "line": 452, "column": 21 } } @@ -121621,15 +125127,15 @@ "binop": null }, "value": "buttonTheme", - "start": 15564, - "end": 15575, + "start": 15898, + "end": 15909, "loc": { "start": { - "line": 441, + "line": 452, "column": 21 }, "end": { - "line": 441, + "line": 452, "column": 32 } } @@ -121647,15 +125153,15 @@ "binop": null, "updateContext": null }, - "start": 15575, - "end": 15576, + "start": 15909, + "end": 15910, "loc": { "start": { - "line": 441, + "line": 452, "column": 32 }, "end": { - "line": 441, + "line": 452, "column": 33 } } @@ -121673,15 +125179,15 @@ "binop": null }, "value": "map", - "start": 15576, - "end": 15579, + "start": 15910, + "end": 15913, "loc": { "start": { - "line": 441, + "line": 452, "column": 33 }, "end": { - "line": 441, + "line": 452, "column": 36 } } @@ -121698,15 +125204,15 @@ "postfix": false, "binop": null }, - "start": 15579, - "end": 15580, + "start": 15913, + "end": 15914, "loc": { "start": { - "line": 441, + "line": 452, "column": 36 }, "end": { - "line": 441, + "line": 452, "column": 37 } } @@ -121723,15 +125229,15 @@ "postfix": false, "binop": null }, - "start": 15580, - "end": 15581, + "start": 15914, + "end": 15915, "loc": { "start": { - "line": 441, + "line": 452, "column": 37 }, "end": { - "line": 441, + "line": 452, "column": 38 } } @@ -121749,15 +125255,15 @@ "binop": null }, "value": "buttonTheme", - "start": 15581, - "end": 15592, + "start": 15915, + "end": 15926, "loc": { "start": { - "line": 441, + "line": 452, "column": 38 }, "end": { - "line": 441, + "line": 452, "column": 49 } } @@ -121775,15 +125281,15 @@ "binop": null, "updateContext": null }, - "start": 15592, - "end": 15593, + "start": 15926, + "end": 15927, "loc": { "start": { - "line": 441, + "line": 452, "column": 49 }, "end": { - "line": 441, + "line": 452, "column": 50 } } @@ -121801,15 +125307,15 @@ "binop": null }, "value": "index", - "start": 15594, - "end": 15599, + "start": 15928, + "end": 15933, "loc": { "start": { - "line": 441, + "line": 452, "column": 51 }, "end": { - "line": 441, + "line": 452, "column": 56 } } @@ -121826,15 +125332,15 @@ "postfix": false, "binop": null }, - "start": 15599, - "end": 15600, + "start": 15933, + "end": 15934, "loc": { "start": { - "line": 441, + "line": 452, "column": 56 }, "end": { - "line": 441, + "line": 452, "column": 57 } } @@ -121852,15 +125358,15 @@ "binop": null, "updateContext": null }, - "start": 15601, - "end": 15603, + "start": 15935, + "end": 15937, "loc": { "start": { - "line": 441, + "line": 452, "column": 58 }, "end": { - "line": 441, + "line": 452, "column": 60 } } @@ -121877,15 +125383,15 @@ "postfix": false, "binop": null }, - "start": 15604, - "end": 15605, + "start": 15938, + "end": 15939, "loc": { "start": { - "line": 441, + "line": 452, "column": 61 }, "end": { - "line": 441, + "line": 452, "column": 62 } } @@ -121893,15 +125399,15 @@ { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", - "start": 15619, - "end": 15760, + "start": 15953, + "end": 16094, "loc": { "start": { - "line": 443, + "line": 454, "column": 10 }, "end": { - "line": 446, + "line": 457, "column": 13 } } @@ -121921,15 +125427,15 @@ "updateContext": null }, "value": "if", - "start": 15772, - "end": 15774, + "start": 16106, + "end": 16108, "loc": { "start": { - "line": 447, + "line": 458, "column": 10 }, "end": { - "line": 447, + "line": 458, "column": 12 } } @@ -121946,15 +125452,15 @@ "postfix": false, "binop": null }, - "start": 15774, - "end": 15775, + "start": 16108, + "end": 16109, "loc": { "start": { - "line": 447, + "line": 458, "column": 12 }, "end": { - "line": 447, + "line": 458, "column": 13 } } @@ -121971,15 +125477,15 @@ "postfix": false, "binop": null }, - "start": 15789, - "end": 15790, + "start": 16123, + "end": 16124, "loc": { "start": { - "line": 448, + "line": 459, "column": 12 }, "end": { - "line": 448, + "line": 459, "column": 13 } } @@ -121997,15 +125503,15 @@ "binop": null }, "value": "className", - "start": 15790, - "end": 15799, + "start": 16124, + "end": 16133, "loc": { "start": { - "line": 448, + "line": 459, "column": 13 }, "end": { - "line": 448, + "line": 459, "column": 22 } } @@ -122024,15 +125530,15 @@ "updateContext": null }, "value": "&&", - "start": 15800, - "end": 15802, + "start": 16134, + "end": 16136, "loc": { "start": { - "line": 448, + "line": 459, "column": 23 }, "end": { - "line": 448, + "line": 459, "column": 25 } } @@ -122050,15 +125556,15 @@ "binop": null }, "value": "className", - "start": 15803, - "end": 15812, + "start": 16137, + "end": 16146, "loc": { "start": { - "line": 448, + "line": 459, "column": 26 }, "end": { - "line": 448, + "line": 459, "column": 35 } } @@ -122076,15 +125582,15 @@ "binop": null, "updateContext": null }, - "start": 15812, - "end": 15813, + "start": 16146, + "end": 16147, "loc": { "start": { - "line": 448, + "line": 459, "column": 35 }, "end": { - "line": 448, + "line": 459, "column": 36 } } @@ -122102,15 +125608,15 @@ "binop": null }, "value": "includes", - "start": 15813, - "end": 15821, + "start": 16147, + "end": 16155, "loc": { "start": { - "line": 448, + "line": 459, "column": 36 }, "end": { - "line": 448, + "line": 459, "column": 44 } } @@ -122127,15 +125633,15 @@ "postfix": false, "binop": null }, - "start": 15821, - "end": 15822, + "start": 16155, + "end": 16156, "loc": { "start": { - "line": 448, + "line": 459, "column": 44 }, "end": { - "line": 448, + "line": 459, "column": 45 } } @@ -122153,15 +125659,15 @@ "binop": null }, "value": "buttonTheme", - "start": 15822, - "end": 15833, + "start": 16156, + "end": 16167, "loc": { "start": { - "line": 448, + "line": 459, "column": 45 }, "end": { - "line": 448, + "line": 459, "column": 56 } } @@ -122179,15 +125685,15 @@ "binop": null, "updateContext": null }, - "start": 15833, - "end": 15834, + "start": 16167, + "end": 16168, "loc": { "start": { - "line": 448, + "line": 459, "column": 56 }, "end": { - "line": 448, + "line": 459, "column": 57 } } @@ -122207,15 +125713,15 @@ "updateContext": null }, "value": "class", - "start": 15834, - "end": 15839, + "start": 16168, + "end": 16173, "loc": { "start": { - "line": 448, + "line": 459, "column": 57 }, "end": { - "line": 448, + "line": 459, "column": 62 } } @@ -122232,15 +125738,15 @@ "postfix": false, "binop": null }, - "start": 15839, - "end": 15840, + "start": 16173, + "end": 16174, "loc": { "start": { - "line": 448, + "line": 459, "column": 62 }, "end": { - "line": 448, + "line": 459, "column": 63 } } @@ -122257,15 +125763,15 @@ "postfix": false, "binop": null }, - "start": 15840, - "end": 15841, + "start": 16174, + "end": 16175, "loc": { "start": { - "line": 448, + "line": 459, "column": 63 }, "end": { - "line": 448, + "line": 459, "column": 64 } } @@ -122284,15 +125790,15 @@ "updateContext": null }, "value": "||", - "start": 15842, - "end": 15844, + "start": 16176, + "end": 16178, "loc": { "start": { - "line": 448, + "line": 459, "column": 65 }, "end": { - "line": 448, + "line": 459, "column": 67 } } @@ -122311,15 +125817,15 @@ "updateContext": null }, "value": "!", - "start": 15858, - "end": 15859, + "start": 16192, + "end": 16193, "loc": { "start": { - "line": 449, + "line": 460, "column": 12 }, "end": { - "line": 449, + "line": 460, "column": 13 } } @@ -122337,15 +125843,15 @@ "binop": null }, "value": "className", - "start": 15859, - "end": 15868, + "start": 16193, + "end": 16202, "loc": { "start": { - "line": 449, + "line": 460, "column": 13 }, "end": { - "line": 449, + "line": 460, "column": 22 } } @@ -122362,15 +125868,15 @@ "postfix": false, "binop": null }, - "start": 15880, - "end": 15881, + "start": 16214, + "end": 16215, "loc": { "start": { - "line": 450, + "line": 461, "column": 10 }, "end": { - "line": 450, + "line": 461, "column": 11 } } @@ -122387,15 +125893,15 @@ "postfix": false, "binop": null }, - "start": 15881, - "end": 15882, + "start": 16215, + "end": 16216, "loc": { "start": { - "line": 450, + "line": 461, "column": 11 }, "end": { - "line": 450, + "line": 461, "column": 12 } } @@ -122415,15 +125921,15 @@ "updateContext": null }, "value": "let", - "start": 15896, - "end": 15899, + "start": 16230, + "end": 16233, "loc": { "start": { - "line": 451, + "line": 462, "column": 12 }, "end": { - "line": 451, + "line": 462, "column": 15 } } @@ -122441,15 +125947,15 @@ "binop": null }, "value": "filteredButtonArray", - "start": 15900, - "end": 15919, + "start": 16234, + "end": 16253, "loc": { "start": { - "line": 451, + "line": 462, "column": 16 }, "end": { - "line": 451, + "line": 462, "column": 35 } } @@ -122468,15 +125974,15 @@ "updateContext": null }, "value": "=", - "start": 15920, - "end": 15921, + "start": 16254, + "end": 16255, "loc": { "start": { - "line": 451, + "line": 462, "column": 36 }, "end": { - "line": 451, + "line": 462, "column": 37 } } @@ -122494,15 +126000,15 @@ "binop": null }, "value": "buttonTheme", - "start": 15922, - "end": 15933, + "start": 16256, + "end": 16267, "loc": { "start": { - "line": 451, + "line": 462, "column": 38 }, "end": { - "line": 451, + "line": 462, "column": 49 } } @@ -122520,15 +126026,15 @@ "binop": null, "updateContext": null }, - "start": 15933, - "end": 15934, + "start": 16267, + "end": 16268, "loc": { "start": { - "line": 451, + "line": 462, "column": 49 }, "end": { - "line": 451, + "line": 462, "column": 50 } } @@ -122546,15 +126052,15 @@ "binop": null }, "value": "buttons", - "start": 15934, - "end": 15941, + "start": 16268, + "end": 16275, "loc": { "start": { - "line": 451, + "line": 462, "column": 50 }, "end": { - "line": 451, + "line": 462, "column": 57 } } @@ -122572,15 +126078,15 @@ "binop": null, "updateContext": null }, - "start": 15941, - "end": 15942, + "start": 16275, + "end": 16276, "loc": { "start": { - "line": 451, + "line": 462, "column": 57 }, "end": { - "line": 451, + "line": 462, "column": 58 } } @@ -122598,15 +126104,15 @@ "binop": null }, "value": "split", - "start": 15942, - "end": 15947, + "start": 16276, + "end": 16281, "loc": { "start": { - "line": 451, + "line": 462, "column": 58 }, "end": { - "line": 451, + "line": 462, "column": 63 } } @@ -122623,15 +126129,15 @@ "postfix": false, "binop": null }, - "start": 15947, - "end": 15948, + "start": 16281, + "end": 16282, "loc": { "start": { - "line": 451, + "line": 462, "column": 63 }, "end": { - "line": 451, + "line": 462, "column": 64 } } @@ -122650,15 +126156,15 @@ "updateContext": null }, "value": " ", - "start": 15948, - "end": 15951, + "start": 16282, + "end": 16285, "loc": { "start": { - "line": 451, + "line": 462, "column": 64 }, "end": { - "line": 451, + "line": 462, "column": 67 } } @@ -122675,15 +126181,15 @@ "postfix": false, "binop": null }, - "start": 15951, - "end": 15952, + "start": 16285, + "end": 16286, "loc": { "start": { - "line": 451, + "line": 462, "column": 67 }, "end": { - "line": 451, + "line": 462, "column": 68 } } @@ -122701,15 +126207,15 @@ "binop": null, "updateContext": null }, - "start": 15952, - "end": 15953, + "start": 16286, + "end": 16287, "loc": { "start": { - "line": 451, + "line": 462, "column": 68 }, "end": { - "line": 451, + "line": 462, "column": 69 } } @@ -122727,15 +126233,15 @@ "binop": null }, "value": "filter", - "start": 15953, - "end": 15959, + "start": 16287, + "end": 16293, "loc": { "start": { - "line": 451, + "line": 462, "column": 69 }, "end": { - "line": 451, + "line": 462, "column": 75 } } @@ -122752,15 +126258,15 @@ "postfix": false, "binop": null }, - "start": 15959, - "end": 15960, + "start": 16293, + "end": 16294, "loc": { "start": { - "line": 451, + "line": 462, "column": 75 }, "end": { - "line": 451, + "line": 462, "column": 76 } } @@ -122778,15 +126284,15 @@ "binop": null }, "value": "item", - "start": 15960, - "end": 15964, + "start": 16294, + "end": 16298, "loc": { "start": { - "line": 451, + "line": 462, "column": 76 }, "end": { - "line": 451, + "line": 462, "column": 80 } } @@ -122804,15 +126310,15 @@ "binop": null, "updateContext": null }, - "start": 15965, - "end": 15967, + "start": 16299, + "end": 16301, "loc": { "start": { - "line": 451, + "line": 462, "column": 81 }, "end": { - "line": 451, + "line": 462, "column": 83 } } @@ -122830,15 +126336,15 @@ "binop": null }, "value": "item", - "start": 15968, - "end": 15972, + "start": 16302, + "end": 16306, "loc": { "start": { - "line": 451, + "line": 462, "column": 84 }, "end": { - "line": 451, + "line": 462, "column": 88 } } @@ -122857,15 +126363,15 @@ "updateContext": null }, "value": "!==", - "start": 15973, - "end": 15976, + "start": 16307, + "end": 16310, "loc": { "start": { - "line": 451, + "line": 462, "column": 89 }, "end": { - "line": 451, + "line": 462, "column": 92 } } @@ -122883,15 +126389,15 @@ "binop": null }, "value": "button", - "start": 15977, - "end": 15983, + "start": 16311, + "end": 16317, "loc": { "start": { - "line": 451, + "line": 462, "column": 93 }, "end": { - "line": 451, + "line": 462, "column": 99 } } @@ -122908,15 +126414,15 @@ "postfix": false, "binop": null }, - "start": 15983, - "end": 15984, + "start": 16317, + "end": 16318, "loc": { "start": { - "line": 451, + "line": 462, "column": 99 }, "end": { - "line": 451, + "line": 462, "column": 100 } } @@ -122934,15 +126440,15 @@ "binop": null, "updateContext": null }, - "start": 15984, - "end": 15985, + "start": 16318, + "end": 16319, "loc": { "start": { - "line": 451, + "line": 462, "column": 100 }, "end": { - "line": 451, + "line": 462, "column": 101 } } @@ -122950,15 +126456,15 @@ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", - "start": 16001, - "end": 16098, + "start": 16335, + "end": 16432, "loc": { "start": { - "line": 453, + "line": 464, "column": 12 }, "end": { - "line": 455, + "line": 466, "column": 15 } } @@ -122978,15 +126484,15 @@ "updateContext": null }, "value": "if", - "start": 16112, - "end": 16114, + "start": 16446, + "end": 16448, "loc": { "start": { - "line": 456, + "line": 467, "column": 12 }, "end": { - "line": 456, + "line": 467, "column": 14 } } @@ -123003,15 +126509,15 @@ "postfix": false, "binop": null }, - "start": 16114, - "end": 16115, + "start": 16448, + "end": 16449, "loc": { "start": { - "line": 456, + "line": 467, "column": 14 }, "end": { - "line": 456, + "line": 467, "column": 15 } } @@ -123029,15 +126535,15 @@ "binop": null }, "value": "filteredButtonArray", - "start": 16115, - "end": 16134, + "start": 16449, + "end": 16468, "loc": { "start": { - "line": 456, + "line": 467, "column": 15 }, "end": { - "line": 456, + "line": 467, "column": 34 } } @@ -123055,15 +126561,15 @@ "binop": null, "updateContext": null }, - "start": 16134, - "end": 16135, + "start": 16468, + "end": 16469, "loc": { "start": { - "line": 456, + "line": 467, "column": 34 }, "end": { - "line": 456, + "line": 467, "column": 35 } } @@ -123081,15 +126587,15 @@ "binop": null }, "value": "length", - "start": 16135, - "end": 16141, + "start": 16469, + "end": 16475, "loc": { "start": { - "line": 456, + "line": 467, "column": 35 }, "end": { - "line": 456, + "line": 467, "column": 41 } } @@ -123106,15 +126612,15 @@ "postfix": false, "binop": null }, - "start": 16141, - "end": 16142, + "start": 16475, + "end": 16476, "loc": { "start": { - "line": 456, + "line": 467, "column": 41 }, "end": { - "line": 456, + "line": 467, "column": 42 } } @@ -123131,15 +126637,15 @@ "postfix": false, "binop": null }, - "start": 16142, - "end": 16143, + "start": 16476, + "end": 16477, "loc": { "start": { - "line": 456, + "line": 467, "column": 42 }, "end": { - "line": 456, + "line": 467, "column": 43 } } @@ -123157,15 +126663,15 @@ "binop": null }, "value": "buttonTheme", - "start": 16159, - "end": 16170, + "start": 16493, + "end": 16504, "loc": { "start": { - "line": 457, + "line": 468, "column": 14 }, "end": { - "line": 457, + "line": 468, "column": 25 } } @@ -123183,15 +126689,15 @@ "binop": null, "updateContext": null }, - "start": 16170, - "end": 16171, + "start": 16504, + "end": 16505, "loc": { "start": { - "line": 457, + "line": 468, "column": 25 }, "end": { - "line": 457, + "line": 468, "column": 26 } } @@ -123209,15 +126715,15 @@ "binop": null }, "value": "buttons", - "start": 16171, - "end": 16178, + "start": 16505, + "end": 16512, "loc": { "start": { - "line": 457, + "line": 468, "column": 26 }, "end": { - "line": 457, + "line": 468, "column": 33 } } @@ -123236,15 +126742,15 @@ "updateContext": null }, "value": "=", - "start": 16179, - "end": 16180, + "start": 16513, + "end": 16514, "loc": { "start": { - "line": 457, + "line": 468, "column": 34 }, "end": { - "line": 457, + "line": 468, "column": 35 } } @@ -123262,15 +126768,15 @@ "binop": null }, "value": "filteredButtonArray", - "start": 16181, - "end": 16200, + "start": 16515, + "end": 16534, "loc": { "start": { - "line": 457, + "line": 468, "column": 36 }, "end": { - "line": 457, + "line": 468, "column": 55 } } @@ -123288,15 +126794,15 @@ "binop": null, "updateContext": null }, - "start": 16200, - "end": 16201, + "start": 16534, + "end": 16535, "loc": { "start": { - "line": 457, + "line": 468, "column": 55 }, "end": { - "line": 457, + "line": 468, "column": 56 } } @@ -123314,15 +126820,15 @@ "binop": null }, "value": "join", - "start": 16201, - "end": 16205, + "start": 16535, + "end": 16539, "loc": { "start": { - "line": 457, + "line": 468, "column": 56 }, "end": { - "line": 457, + "line": 468, "column": 60 } } @@ -123339,15 +126845,15 @@ "postfix": false, "binop": null }, - "start": 16205, - "end": 16206, + "start": 16539, + "end": 16540, "loc": { "start": { - "line": 457, + "line": 468, "column": 60 }, "end": { - "line": 457, + "line": 468, "column": 61 } } @@ -123366,15 +126872,15 @@ "updateContext": null }, "value": " ", - "start": 16206, - "end": 16209, + "start": 16540, + "end": 16543, "loc": { "start": { - "line": 457, + "line": 468, "column": 61 }, "end": { - "line": 457, + "line": 468, "column": 64 } } @@ -123391,15 +126897,15 @@ "postfix": false, "binop": null }, - "start": 16209, - "end": 16210, + "start": 16543, + "end": 16544, "loc": { "start": { - "line": 457, + "line": 468, "column": 64 }, "end": { - "line": 457, + "line": 468, "column": 65 } } @@ -123417,15 +126923,15 @@ "binop": null, "updateContext": null }, - "start": 16210, - "end": 16211, + "start": 16544, + "end": 16545, "loc": { "start": { - "line": 457, + "line": 468, "column": 65 }, "end": { - "line": 457, + "line": 468, "column": 66 } } @@ -123442,15 +126948,15 @@ "postfix": false, "binop": null }, - "start": 16225, - "end": 16226, + "start": 16559, + "end": 16560, "loc": { "start": { - "line": 458, + "line": 469, "column": 12 }, "end": { - "line": 458, + "line": 469, "column": 13 } } @@ -123470,15 +126976,15 @@ "updateContext": null }, "value": "else", - "start": 16227, - "end": 16231, + "start": 16561, + "end": 16565, "loc": { "start": { - "line": 458, + "line": 469, "column": 14 }, "end": { - "line": 458, + "line": 469, "column": 18 } } @@ -123495,15 +127001,15 @@ "postfix": false, "binop": null }, - "start": 16232, - "end": 16233, + "start": 16566, + "end": 16567, "loc": { "start": { - "line": 458, + "line": 469, "column": 19 }, "end": { - "line": 458, + "line": 469, "column": 20 } } @@ -123523,15 +127029,15 @@ "updateContext": null }, "value": "this", - "start": 16249, - "end": 16253, + "start": 16583, + "end": 16587, "loc": { "start": { - "line": 459, + "line": 470, "column": 14 }, "end": { - "line": 459, + "line": 470, "column": 18 } } @@ -123549,15 +127055,15 @@ "binop": null, "updateContext": null }, - "start": 16253, - "end": 16254, + "start": 16587, + "end": 16588, "loc": { "start": { - "line": 459, + "line": 470, "column": 18 }, "end": { - "line": 459, + "line": 470, "column": 19 } } @@ -123575,15 +127081,15 @@ "binop": null }, "value": "options", - "start": 16254, - "end": 16261, + "start": 16588, + "end": 16595, "loc": { "start": { - "line": 459, + "line": 470, "column": 19 }, "end": { - "line": 459, + "line": 470, "column": 26 } } @@ -123601,15 +127107,15 @@ "binop": null, "updateContext": null }, - "start": 16261, - "end": 16262, + "start": 16595, + "end": 16596, "loc": { "start": { - "line": 459, + "line": 470, "column": 26 }, "end": { - "line": 459, + "line": 470, "column": 27 } } @@ -123627,15 +127133,15 @@ "binop": null }, "value": "buttonTheme", - "start": 16262, - "end": 16273, + "start": 16596, + "end": 16607, "loc": { "start": { - "line": 459, + "line": 470, "column": 27 }, "end": { - "line": 459, + "line": 470, "column": 38 } } @@ -123653,15 +127159,15 @@ "binop": null, "updateContext": null }, - "start": 16273, - "end": 16274, + "start": 16607, + "end": 16608, "loc": { "start": { - "line": 459, + "line": 470, "column": 38 }, "end": { - "line": 459, + "line": 470, "column": 39 } } @@ -123679,15 +127185,15 @@ "binop": null }, "value": "splice", - "start": 16274, - "end": 16280, + "start": 16608, + "end": 16614, "loc": { "start": { - "line": 459, + "line": 470, "column": 39 }, "end": { - "line": 459, + "line": 470, "column": 45 } } @@ -123704,15 +127210,15 @@ "postfix": false, "binop": null }, - "start": 16280, - "end": 16281, + "start": 16614, + "end": 16615, "loc": { "start": { - "line": 459, + "line": 470, "column": 45 }, "end": { - "line": 459, + "line": 470, "column": 46 } } @@ -123730,15 +127236,15 @@ "binop": null }, "value": "index", - "start": 16281, - "end": 16286, + "start": 16615, + "end": 16620, "loc": { "start": { - "line": 459, + "line": 470, "column": 46 }, "end": { - "line": 459, + "line": 470, "column": 51 } } @@ -123756,15 +127262,15 @@ "binop": null, "updateContext": null }, - "start": 16286, - "end": 16287, + "start": 16620, + "end": 16621, "loc": { "start": { - "line": 459, + "line": 470, "column": 51 }, "end": { - "line": 459, + "line": 470, "column": 52 } } @@ -123783,15 +127289,15 @@ "updateContext": null }, "value": 1, - "start": 16288, - "end": 16289, + "start": 16622, + "end": 16623, "loc": { "start": { - "line": 459, + "line": 470, "column": 53 }, "end": { - "line": 459, + "line": 470, "column": 54 } } @@ -123808,15 +127314,15 @@ "postfix": false, "binop": null }, - "start": 16289, - "end": 16290, + "start": 16623, + "end": 16624, "loc": { "start": { - "line": 459, + "line": 470, "column": 54 }, "end": { - "line": 459, + "line": 470, "column": 55 } } @@ -123834,15 +127340,15 @@ "binop": null, "updateContext": null }, - "start": 16290, - "end": 16291, + "start": 16624, + "end": 16625, "loc": { "start": { - "line": 459, + "line": 470, "column": 55 }, "end": { - "line": 459, + "line": 470, "column": 56 } } @@ -123860,15 +127366,15 @@ "binop": null }, "value": "buttonTheme", - "start": 16307, - "end": 16318, + "start": 16641, + "end": 16652, "loc": { "start": { - "line": 460, + "line": 471, "column": 14 }, "end": { - "line": 460, + "line": 471, "column": 25 } } @@ -123887,15 +127393,15 @@ "updateContext": null }, "value": "=", - "start": 16319, - "end": 16320, + "start": 16653, + "end": 16654, "loc": { "start": { - "line": 460, + "line": 471, "column": 26 }, "end": { - "line": 460, + "line": 471, "column": 27 } } @@ -123915,15 +127421,15 @@ "updateContext": null }, "value": "null", - "start": 16321, - "end": 16325, + "start": 16655, + "end": 16659, "loc": { "start": { - "line": 460, + "line": 471, "column": 28 }, "end": { - "line": 460, + "line": 471, "column": 32 } } @@ -123941,15 +127447,15 @@ "binop": null, "updateContext": null }, - "start": 16325, - "end": 16326, + "start": 16659, + "end": 16660, "loc": { "start": { - "line": 460, + "line": 471, "column": 32 }, "end": { - "line": 460, + "line": 471, "column": 33 } } @@ -123966,15 +127472,15 @@ "postfix": false, "binop": null }, - "start": 16340, - "end": 16341, + "start": 16674, + "end": 16675, "loc": { "start": { - "line": 461, + "line": 472, "column": 12 }, "end": { - "line": 461, + "line": 472, "column": 13 } } @@ -123991,15 +127497,15 @@ "postfix": false, "binop": null }, - "start": 16356, - "end": 16357, + "start": 16690, + "end": 16691, "loc": { "start": { - "line": 463, + "line": 474, "column": 10 }, "end": { - "line": 463, + "line": 474, "column": 11 } } @@ -124019,15 +127525,15 @@ "updateContext": null }, "value": "return", - "start": 16371, - "end": 16377, + "start": 16705, + "end": 16711, "loc": { "start": { - "line": 465, + "line": 476, "column": 10 }, "end": { - "line": 465, + "line": 476, "column": 16 } } @@ -124045,15 +127551,15 @@ "binop": null }, "value": "buttonTheme", - "start": 16378, - "end": 16389, + "start": 16712, + "end": 16723, "loc": { "start": { - "line": 465, + "line": 476, "column": 17 }, "end": { - "line": 465, + "line": 476, "column": 28 } } @@ -124071,15 +127577,15 @@ "binop": null, "updateContext": null }, - "start": 16389, - "end": 16390, + "start": 16723, + "end": 16724, "loc": { "start": { - "line": 465, + "line": 476, "column": 28 }, "end": { - "line": 465, + "line": 476, "column": 29 } } @@ -124096,15 +127602,15 @@ "postfix": false, "binop": null }, - "start": 16400, - "end": 16401, + "start": 16734, + "end": 16735, "loc": { "start": { - "line": 466, + "line": 477, "column": 8 }, "end": { - "line": 466, + "line": 477, "column": 9 } } @@ -124121,15 +127627,15 @@ "postfix": false, "binop": null }, - "start": 16401, - "end": 16402, + "start": 16735, + "end": 16736, "loc": { "start": { - "line": 466, + "line": 477, "column": 9 }, "end": { - "line": 466, + "line": 477, "column": 10 } } @@ -124147,15 +127653,15 @@ "binop": null, "updateContext": null }, - "start": 16402, - "end": 16403, + "start": 16736, + "end": 16737, "loc": { "start": { - "line": 466, + "line": 477, "column": 10 }, "end": { - "line": 466, + "line": 477, "column": 11 } } @@ -124172,15 +127678,15 @@ "postfix": false, "binop": null }, - "start": 16411, - "end": 16412, + "start": 16745, + "end": 16746, "loc": { "start": { - "line": 467, + "line": 478, "column": 6 }, "end": { - "line": 467, + "line": 478, "column": 7 } } @@ -124197,15 +127703,15 @@ "postfix": false, "binop": null }, - "start": 16412, - "end": 16413, + "start": 16746, + "end": 16747, "loc": { "start": { - "line": 467, + "line": 478, "column": 7 }, "end": { - "line": 467, + "line": 478, "column": 8 } } @@ -124223,15 +127729,15 @@ "binop": null, "updateContext": null }, - "start": 16413, - "end": 16414, + "start": 16747, + "end": 16748, "loc": { "start": { - "line": 467, + "line": 478, "column": 8 }, "end": { - "line": 467, + "line": 478, "column": 9 } } @@ -124251,15 +127757,15 @@ "updateContext": null }, "value": "this", - "start": 16424, - "end": 16428, + "start": 16758, + "end": 16762, "loc": { "start": { - "line": 469, + "line": 480, "column": 6 }, "end": { - "line": 469, + "line": 480, "column": 10 } } @@ -124277,15 +127783,15 @@ "binop": null, "updateContext": null }, - "start": 16428, - "end": 16429, + "start": 16762, + "end": 16763, "loc": { "start": { - "line": 469, + "line": 480, "column": 10 }, "end": { - "line": 469, + "line": 480, "column": 11 } } @@ -124303,15 +127809,15 @@ "binop": null }, "value": "render", - "start": 16429, - "end": 16435, + "start": 16763, + "end": 16769, "loc": { "start": { - "line": 469, + "line": 480, "column": 11 }, "end": { - "line": 469, + "line": 480, "column": 17 } } @@ -124328,15 +127834,15 @@ "postfix": false, "binop": null }, - "start": 16435, - "end": 16436, + "start": 16769, + "end": 16770, "loc": { "start": { - "line": 469, + "line": 480, "column": 17 }, "end": { - "line": 469, + "line": 480, "column": 18 } } @@ -124353,15 +127859,15 @@ "postfix": false, "binop": null }, - "start": 16436, - "end": 16437, + "start": 16770, + "end": 16771, "loc": { "start": { - "line": 469, + "line": 480, "column": 18 }, "end": { - "line": 469, + "line": 480, "column": 19 } } @@ -124379,15 +127885,15 @@ "binop": null, "updateContext": null }, - "start": 16437, - "end": 16438, + "start": 16771, + "end": 16772, "loc": { "start": { - "line": 469, + "line": 480, "column": 19 }, "end": { - "line": 469, + "line": 480, "column": 20 } } @@ -124404,15 +127910,15 @@ "postfix": false, "binop": null }, - "start": 16444, - "end": 16445, + "start": 16778, + "end": 16779, "loc": { "start": { - "line": 470, + "line": 481, "column": 4 }, "end": { - "line": 470, + "line": 481, "column": 5 } } @@ -124429,15 +127935,15 @@ "postfix": false, "binop": null }, - "start": 16449, - "end": 16450, + "start": 16783, + "end": 16784, "loc": { "start": { - "line": 471, + "line": 482, "column": 2 }, "end": { - "line": 471, + "line": 482, "column": 3 } } @@ -124445,15 +127951,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", - "start": 16456, - "end": 16659, + "start": 16790, + "end": 16993, "loc": { "start": { - "line": 473, + "line": 484, "column": 2 }, "end": { - "line": 476, + "line": 487, "column": 5 } } @@ -124471,15 +127977,15 @@ "binop": null }, "value": "getButtonElement", - "start": 16663, - "end": 16679, + "start": 16997, + "end": 17013, "loc": { "start": { - "line": 477, + "line": 488, "column": 2 }, "end": { - "line": 477, + "line": 488, "column": 18 } } @@ -124496,15 +128002,15 @@ "postfix": false, "binop": null }, - "start": 16679, - "end": 16680, + "start": 17013, + "end": 17014, "loc": { "start": { - "line": 477, + "line": 488, "column": 18 }, "end": { - "line": 477, + "line": 488, "column": 19 } } @@ -124522,15 +128028,15 @@ "binop": null }, "value": "button", - "start": 16680, - "end": 16686, + "start": 17014, + "end": 17020, "loc": { "start": { - "line": 477, + "line": 488, "column": 19 }, "end": { - "line": 477, + "line": 488, "column": 25 } } @@ -124547,15 +128053,15 @@ "postfix": false, "binop": null }, - "start": 16686, - "end": 16687, + "start": 17020, + "end": 17021, "loc": { "start": { - "line": 477, + "line": 488, "column": 25 }, "end": { - "line": 477, + "line": 488, "column": 26 } } @@ -124572,15 +128078,15 @@ "postfix": false, "binop": null }, - "start": 16687, - "end": 16688, + "start": 17021, + "end": 17022, "loc": { "start": { - "line": 477, + "line": 488, "column": 26 }, "end": { - "line": 477, + "line": 488, "column": 27 } } @@ -124600,15 +128106,15 @@ "updateContext": null }, "value": "let", - "start": 16694, - "end": 16697, + "start": 17028, + "end": 17031, "loc": { "start": { - "line": 478, + "line": 489, "column": 4 }, "end": { - "line": 478, + "line": 489, "column": 7 } } @@ -124626,15 +128132,15 @@ "binop": null }, "value": "output", - "start": 16698, - "end": 16704, + "start": 17032, + "end": 17038, "loc": { "start": { - "line": 478, + "line": 489, "column": 8 }, "end": { - "line": 478, + "line": 489, "column": 14 } } @@ -124652,15 +128158,15 @@ "binop": null, "updateContext": null }, - "start": 16704, - "end": 16705, + "start": 17038, + "end": 17039, "loc": { "start": { - "line": 478, + "line": 489, "column": 14 }, "end": { - "line": 478, + "line": 489, "column": 15 } } @@ -124680,15 +128186,15 @@ "updateContext": null }, "value": "let", - "start": 16713, - "end": 16716, + "start": 17047, + "end": 17050, "loc": { "start": { - "line": 480, + "line": 491, "column": 4 }, "end": { - "line": 480, + "line": 491, "column": 7 } } @@ -124706,15 +128212,15 @@ "binop": null }, "value": "buttonArr", - "start": 16717, - "end": 16726, + "start": 17051, + "end": 17060, "loc": { "start": { - "line": 480, + "line": 491, "column": 8 }, "end": { - "line": 480, + "line": 491, "column": 17 } } @@ -124733,15 +128239,15 @@ "updateContext": null }, "value": "=", - "start": 16727, - "end": 16728, + "start": 17061, + "end": 17062, "loc": { "start": { - "line": 480, + "line": 491, "column": 18 }, "end": { - "line": 480, + "line": 491, "column": 19 } } @@ -124761,15 +128267,15 @@ "updateContext": null }, "value": "this", - "start": 16729, - "end": 16733, + "start": 17063, + "end": 17067, "loc": { "start": { - "line": 480, + "line": 491, "column": 20 }, "end": { - "line": 480, + "line": 491, "column": 24 } } @@ -124787,15 +128293,15 @@ "binop": null, "updateContext": null }, - "start": 16733, - "end": 16734, + "start": 17067, + "end": 17068, "loc": { "start": { - "line": 480, + "line": 491, "column": 24 }, "end": { - "line": 480, + "line": 491, "column": 25 } } @@ -124813,15 +128319,15 @@ "binop": null }, "value": "buttonElements", - "start": 16734, - "end": 16748, + "start": 17068, + "end": 17082, "loc": { "start": { - "line": 480, + "line": 491, "column": 25 }, "end": { - "line": 480, + "line": 491, "column": 39 } } @@ -124839,15 +128345,15 @@ "binop": null, "updateContext": null }, - "start": 16748, - "end": 16749, + "start": 17082, + "end": 17083, "loc": { "start": { - "line": 480, + "line": 491, "column": 39 }, "end": { - "line": 480, + "line": 491, "column": 40 } } @@ -124865,15 +128371,15 @@ "binop": null }, "value": "button", - "start": 16749, - "end": 16755, + "start": 17083, + "end": 17089, "loc": { "start": { - "line": 480, + "line": 491, "column": 40 }, "end": { - "line": 480, + "line": 491, "column": 46 } } @@ -124891,15 +128397,15 @@ "binop": null, "updateContext": null }, - "start": 16755, - "end": 16756, + "start": 17089, + "end": 17090, "loc": { "start": { - "line": 480, + "line": 491, "column": 46 }, "end": { - "line": 480, + "line": 491, "column": 47 } } @@ -124917,15 +128423,15 @@ "binop": null, "updateContext": null }, - "start": 16756, - "end": 16757, + "start": 17090, + "end": 17091, "loc": { "start": { - "line": 480, + "line": 491, "column": 47 }, "end": { - "line": 480, + "line": 491, "column": 48 } } @@ -124945,15 +128451,15 @@ "updateContext": null }, "value": "if", - "start": 16763, - "end": 16765, + "start": 17097, + "end": 17099, "loc": { "start": { - "line": 481, + "line": 492, "column": 4 }, "end": { - "line": 481, + "line": 492, "column": 6 } } @@ -124970,15 +128476,15 @@ "postfix": false, "binop": null }, - "start": 16765, - "end": 16766, + "start": 17099, + "end": 17100, "loc": { "start": { - "line": 481, + "line": 492, "column": 6 }, "end": { - "line": 481, + "line": 492, "column": 7 } } @@ -124996,15 +128502,15 @@ "binop": null }, "value": "buttonArr", - "start": 16766, - "end": 16775, + "start": 17100, + "end": 17109, "loc": { "start": { - "line": 481, + "line": 492, "column": 7 }, "end": { - "line": 481, + "line": 492, "column": 16 } } @@ -125021,15 +128527,15 @@ "postfix": false, "binop": null }, - "start": 16775, - "end": 16776, + "start": 17109, + "end": 17110, "loc": { "start": { - "line": 481, + "line": 492, "column": 16 }, "end": { - "line": 481, + "line": 492, "column": 17 } } @@ -125046,15 +128552,15 @@ "postfix": false, "binop": null }, - "start": 16776, - "end": 16777, + "start": 17110, + "end": 17111, "loc": { "start": { - "line": 481, + "line": 492, "column": 17 }, "end": { - "line": 481, + "line": 492, "column": 18 } } @@ -125074,15 +128580,15 @@ "updateContext": null }, "value": "if", - "start": 16785, - "end": 16787, + "start": 17119, + "end": 17121, "loc": { "start": { - "line": 482, + "line": 493, "column": 6 }, "end": { - "line": 482, + "line": 493, "column": 8 } } @@ -125099,15 +128605,15 @@ "postfix": false, "binop": null }, - "start": 16787, - "end": 16788, + "start": 17121, + "end": 17122, "loc": { "start": { - "line": 482, + "line": 493, "column": 8 }, "end": { - "line": 482, + "line": 493, "column": 9 } } @@ -125125,15 +128631,15 @@ "binop": null }, "value": "buttonArr", - "start": 16788, - "end": 16797, + "start": 17122, + "end": 17131, "loc": { "start": { - "line": 482, + "line": 493, "column": 9 }, "end": { - "line": 482, + "line": 493, "column": 18 } } @@ -125151,15 +128657,15 @@ "binop": null, "updateContext": null }, - "start": 16797, - "end": 16798, + "start": 17131, + "end": 17132, "loc": { "start": { - "line": 482, + "line": 493, "column": 18 }, "end": { - "line": 482, + "line": 493, "column": 19 } } @@ -125177,15 +128683,15 @@ "binop": null }, "value": "length", - "start": 16798, - "end": 16804, + "start": 17132, + "end": 17138, "loc": { "start": { - "line": 482, + "line": 493, "column": 19 }, "end": { - "line": 482, + "line": 493, "column": 25 } } @@ -125204,15 +128710,15 @@ "updateContext": null }, "value": ">", - "start": 16805, - "end": 16806, + "start": 17139, + "end": 17140, "loc": { "start": { - "line": 482, + "line": 493, "column": 26 }, "end": { - "line": 482, + "line": 493, "column": 27 } } @@ -125231,15 +128737,15 @@ "updateContext": null }, "value": 1, - "start": 16807, - "end": 16808, + "start": 17141, + "end": 17142, "loc": { "start": { - "line": 482, + "line": 493, "column": 28 }, "end": { - "line": 482, + "line": 493, "column": 29 } } @@ -125256,15 +128762,15 @@ "postfix": false, "binop": null }, - "start": 16808, - "end": 16809, + "start": 17142, + "end": 17143, "loc": { "start": { - "line": 482, + "line": 493, "column": 29 }, "end": { - "line": 482, + "line": 493, "column": 30 } } @@ -125281,15 +128787,15 @@ "postfix": false, "binop": null }, - "start": 16809, - "end": 16810, + "start": 17143, + "end": 17144, "loc": { "start": { - "line": 482, + "line": 493, "column": 30 }, "end": { - "line": 482, + "line": 493, "column": 31 } } @@ -125307,15 +128813,15 @@ "binop": null }, "value": "output", - "start": 16820, - "end": 16826, + "start": 17154, + "end": 17160, "loc": { "start": { - "line": 483, + "line": 494, "column": 8 }, "end": { - "line": 483, + "line": 494, "column": 14 } } @@ -125334,15 +128840,15 @@ "updateContext": null }, "value": "=", - "start": 16827, - "end": 16828, + "start": 17161, + "end": 17162, "loc": { "start": { - "line": 483, + "line": 494, "column": 15 }, "end": { - "line": 483, + "line": 494, "column": 16 } } @@ -125360,15 +128866,15 @@ "binop": null }, "value": "buttonArr", - "start": 16829, - "end": 16838, + "start": 17163, + "end": 17172, "loc": { "start": { - "line": 483, + "line": 494, "column": 17 }, "end": { - "line": 483, + "line": 494, "column": 26 } } @@ -125386,15 +128892,15 @@ "binop": null, "updateContext": null }, - "start": 16838, - "end": 16839, + "start": 17172, + "end": 17173, "loc": { "start": { - "line": 483, + "line": 494, "column": 26 }, "end": { - "line": 483, + "line": 494, "column": 27 } } @@ -125411,15 +128917,15 @@ "postfix": false, "binop": null }, - "start": 16847, - "end": 16848, + "start": 17181, + "end": 17182, "loc": { "start": { - "line": 484, + "line": 495, "column": 6 }, "end": { - "line": 484, + "line": 495, "column": 7 } } @@ -125439,15 +128945,15 @@ "updateContext": null }, "value": "else", - "start": 16849, - "end": 16853, + "start": 17183, + "end": 17187, "loc": { "start": { - "line": 484, + "line": 495, "column": 8 }, "end": { - "line": 484, + "line": 495, "column": 12 } } @@ -125464,15 +128970,15 @@ "postfix": false, "binop": null }, - "start": 16854, - "end": 16855, + "start": 17188, + "end": 17189, "loc": { "start": { - "line": 484, + "line": 495, "column": 13 }, "end": { - "line": 484, + "line": 495, "column": 14 } } @@ -125490,15 +128996,15 @@ "binop": null }, "value": "output", - "start": 16865, - "end": 16871, + "start": 17199, + "end": 17205, "loc": { "start": { - "line": 485, + "line": 496, "column": 8 }, "end": { - "line": 485, + "line": 496, "column": 14 } } @@ -125517,15 +129023,15 @@ "updateContext": null }, "value": "=", - "start": 16872, - "end": 16873, + "start": 17206, + "end": 17207, "loc": { "start": { - "line": 485, + "line": 496, "column": 15 }, "end": { - "line": 485, + "line": 496, "column": 16 } } @@ -125543,15 +129049,15 @@ "binop": null }, "value": "buttonArr", - "start": 16874, - "end": 16883, + "start": 17208, + "end": 17217, "loc": { "start": { - "line": 485, + "line": 496, "column": 17 }, "end": { - "line": 485, + "line": 496, "column": 26 } } @@ -125569,15 +129075,15 @@ "binop": null, "updateContext": null }, - "start": 16883, - "end": 16884, + "start": 17217, + "end": 17218, "loc": { "start": { - "line": 485, + "line": 496, "column": 26 }, "end": { - "line": 485, + "line": 496, "column": 27 } } @@ -125596,15 +129102,15 @@ "updateContext": null }, "value": 0, - "start": 16884, - "end": 16885, + "start": 17218, + "end": 17219, "loc": { "start": { - "line": 485, + "line": 496, "column": 27 }, "end": { - "line": 485, + "line": 496, "column": 28 } } @@ -125622,15 +129128,15 @@ "binop": null, "updateContext": null }, - "start": 16885, - "end": 16886, + "start": 17219, + "end": 17220, "loc": { "start": { - "line": 485, + "line": 496, "column": 28 }, "end": { - "line": 485, + "line": 496, "column": 29 } } @@ -125648,15 +129154,15 @@ "binop": null, "updateContext": null }, - "start": 16886, - "end": 16887, + "start": 17220, + "end": 17221, "loc": { "start": { - "line": 485, + "line": 496, "column": 29 }, "end": { - "line": 485, + "line": 496, "column": 30 } } @@ -125673,15 +129179,15 @@ "postfix": false, "binop": null }, - "start": 16895, - "end": 16896, + "start": 17229, + "end": 17230, "loc": { "start": { - "line": 486, + "line": 497, "column": 6 }, "end": { - "line": 486, + "line": 497, "column": 7 } } @@ -125698,15 +129204,15 @@ "postfix": false, "binop": null }, - "start": 16902, - "end": 16903, + "start": 17236, + "end": 17237, "loc": { "start": { - "line": 487, + "line": 498, "column": 4 }, "end": { - "line": 487, + "line": 498, "column": 5 } } @@ -125726,15 +129232,15 @@ "updateContext": null }, "value": "return", - "start": 16911, - "end": 16917, + "start": 17245, + "end": 17251, "loc": { "start": { - "line": 489, + "line": 500, "column": 4 }, "end": { - "line": 489, + "line": 500, "column": 10 } } @@ -125752,15 +129258,15 @@ "binop": null }, "value": "output", - "start": 16918, - "end": 16924, + "start": 17252, + "end": 17258, "loc": { "start": { - "line": 489, + "line": 500, "column": 11 }, "end": { - "line": 489, + "line": 500, "column": 17 } } @@ -125778,15 +129284,15 @@ "binop": null, "updateContext": null }, - "start": 16924, - "end": 16925, + "start": 17258, + "end": 17259, "loc": { "start": { - "line": 489, + "line": 500, "column": 17 }, "end": { - "line": 489, + "line": 500, "column": 18 } } @@ -125803,15 +129309,15 @@ "postfix": false, "binop": null }, - "start": 16929, - "end": 16930, + "start": 17263, + "end": 17264, "loc": { "start": { - "line": 490, + "line": 501, "column": 2 }, "end": { - "line": 490, + "line": 501, "column": 3 } } @@ -125819,15 +129325,15 @@ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", - "start": 16936, - "end": 17026, + "start": 17270, + "end": 17360, "loc": { "start": { - "line": 492, + "line": 503, "column": 2 }, "end": { - "line": 494, + "line": 505, "column": 5 } } @@ -125845,15 +129351,15 @@ "binop": null }, "value": "handleCaret", - "start": 17030, - "end": 17041, + "start": 17364, + "end": 17375, "loc": { "start": { - "line": 495, + "line": 506, "column": 2 }, "end": { - "line": 495, + "line": 506, "column": 13 } } @@ -125870,15 +129376,15 @@ "postfix": false, "binop": null }, - "start": 17041, - "end": 17042, + "start": 17375, + "end": 17376, "loc": { "start": { - "line": 495, + "line": 506, "column": 13 }, "end": { - "line": 495, + "line": 506, "column": 14 } } @@ -125895,15 +129401,15 @@ "postfix": false, "binop": null }, - "start": 17042, - "end": 17043, + "start": 17376, + "end": 17377, "loc": { "start": { - "line": 495, + "line": 506, "column": 14 }, "end": { - "line": 495, + "line": 506, "column": 15 } } @@ -125920,15 +129426,15 @@ "postfix": false, "binop": null }, - "start": 17043, - "end": 17044, + "start": 17377, + "end": 17378, "loc": { "start": { - "line": 495, + "line": 506, "column": 15 }, "end": { - "line": 495, + "line": 506, "column": 16 } } @@ -125948,15 +129454,15 @@ "updateContext": null }, "value": "if", - "start": 17050, - "end": 17052, + "start": 17384, + "end": 17386, "loc": { "start": { - "line": 496, + "line": 507, "column": 4 }, "end": { - "line": 496, + "line": 507, "column": 6 } } @@ -125973,15 +129479,15 @@ "postfix": false, "binop": null }, - "start": 17052, - "end": 17053, + "start": 17386, + "end": 17387, "loc": { "start": { - "line": 496, + "line": 507, "column": 6 }, "end": { - "line": 496, + "line": 507, "column": 7 } } @@ -126001,15 +129507,15 @@ "updateContext": null }, "value": "this", - "start": 17053, - "end": 17057, + "start": 17387, + "end": 17391, "loc": { "start": { - "line": 496, + "line": 507, "column": 7 }, "end": { - "line": 496, + "line": 507, "column": 11 } } @@ -126027,15 +129533,15 @@ "binop": null, "updateContext": null }, - "start": 17057, - "end": 17058, + "start": 17391, + "end": 17392, "loc": { "start": { - "line": 496, + "line": 507, "column": 11 }, "end": { - "line": 496, + "line": 507, "column": 12 } } @@ -126053,15 +129559,15 @@ "binop": null }, "value": "options", - "start": 17058, - "end": 17065, + "start": 17392, + "end": 17399, "loc": { "start": { - "line": 496, + "line": 507, "column": 12 }, "end": { - "line": 496, + "line": 507, "column": 19 } } @@ -126079,15 +129585,15 @@ "binop": null, "updateContext": null }, - "start": 17065, - "end": 17066, + "start": 17399, + "end": 17400, "loc": { "start": { - "line": 496, + "line": 507, "column": 19 }, "end": { - "line": 496, + "line": 507, "column": 20 } } @@ -126105,15 +129611,15 @@ "binop": null }, "value": "debug", - "start": 17066, - "end": 17071, + "start": 17400, + "end": 17405, "loc": { "start": { - "line": 496, + "line": 507, "column": 20 }, "end": { - "line": 496, + "line": 507, "column": 25 } } @@ -126130,15 +129636,15 @@ "postfix": false, "binop": null }, - "start": 17071, - "end": 17072, + "start": 17405, + "end": 17406, "loc": { "start": { - "line": 496, + "line": 507, "column": 25 }, "end": { - "line": 496, + "line": 507, "column": 26 } } @@ -126155,15 +129661,15 @@ "postfix": false, "binop": null }, - "start": 17072, - "end": 17073, + "start": 17406, + "end": 17407, "loc": { "start": { - "line": 496, + "line": 507, "column": 26 }, "end": { - "line": 496, + "line": 507, "column": 27 } } @@ -126181,15 +129687,15 @@ "binop": null }, "value": "console", - "start": 17081, - "end": 17088, + "start": 17415, + "end": 17422, "loc": { "start": { - "line": 497, + "line": 508, "column": 6 }, "end": { - "line": 497, + "line": 508, "column": 13 } } @@ -126207,15 +129713,15 @@ "binop": null, "updateContext": null }, - "start": 17088, - "end": 17089, + "start": 17422, + "end": 17423, "loc": { "start": { - "line": 497, + "line": 508, "column": 13 }, "end": { - "line": 497, + "line": 508, "column": 14 } } @@ -126233,15 +129739,15 @@ "binop": null }, "value": "log", - "start": 17089, - "end": 17092, + "start": 17423, + "end": 17426, "loc": { "start": { - "line": 497, + "line": 508, "column": 14 }, "end": { - "line": 497, + "line": 508, "column": 17 } } @@ -126258,15 +129764,15 @@ "postfix": false, "binop": null }, - "start": 17092, - "end": 17093, + "start": 17426, + "end": 17427, "loc": { "start": { - "line": 497, + "line": 508, "column": 17 }, "end": { - "line": 497, + "line": 508, "column": 18 } } @@ -126285,15 +129791,15 @@ "updateContext": null }, "value": "Caret handling started", - "start": 17093, - "end": 17117, + "start": 17427, + "end": 17451, "loc": { "start": { - "line": 497, + "line": 508, "column": 18 }, "end": { - "line": 497, + "line": 508, "column": 42 } } @@ -126310,15 +129816,15 @@ "postfix": false, "binop": null }, - "start": 17117, - "end": 17118, + "start": 17451, + "end": 17452, "loc": { "start": { - "line": 497, + "line": 508, "column": 42 }, "end": { - "line": 497, + "line": 508, "column": 43 } } @@ -126336,15 +129842,15 @@ "binop": null, "updateContext": null }, - "start": 17118, - "end": 17119, + "start": 17452, + "end": 17453, "loc": { "start": { - "line": 497, + "line": 508, "column": 43 }, "end": { - "line": 497, + "line": 508, "column": 44 } } @@ -126361,15 +129867,15 @@ "postfix": false, "binop": null }, - "start": 17125, - "end": 17126, + "start": 17459, + "end": 17460, "loc": { "start": { - "line": 498, + "line": 509, "column": 4 }, "end": { - "line": 498, + "line": 509, "column": 5 } } @@ -126387,15 +129893,15 @@ "binop": null }, "value": "document", - "start": 17134, - "end": 17142, + "start": 17468, + "end": 17476, "loc": { "start": { - "line": 500, + "line": 511, "column": 4 }, "end": { - "line": 500, + "line": 511, "column": 12 } } @@ -126413,15 +129919,15 @@ "binop": null, "updateContext": null }, - "start": 17142, - "end": 17143, + "start": 17476, + "end": 17477, "loc": { "start": { - "line": 500, + "line": 511, "column": 12 }, "end": { - "line": 500, + "line": 511, "column": 13 } } @@ -126439,15 +129945,15 @@ "binop": null }, "value": "addEventListener", - "start": 17143, - "end": 17159, + "start": 17477, + "end": 17493, "loc": { "start": { - "line": 500, + "line": 511, "column": 13 }, "end": { - "line": 500, + "line": 511, "column": 29 } } @@ -126464,15 +129970,15 @@ "postfix": false, "binop": null }, - "start": 17159, - "end": 17160, + "start": 17493, + "end": 17494, "loc": { "start": { - "line": 500, + "line": 511, "column": 29 }, "end": { - "line": 500, + "line": 511, "column": 30 } } @@ -126491,15 +129997,15 @@ "updateContext": null }, "value": "keyup", - "start": 17160, - "end": 17167, + "start": 17494, + "end": 17501, "loc": { "start": { - "line": 500, + "line": 511, "column": 30 }, "end": { - "line": 500, + "line": 511, "column": 37 } } @@ -126517,15 +130023,15 @@ "binop": null, "updateContext": null }, - "start": 17167, - "end": 17168, + "start": 17501, + "end": 17502, "loc": { "start": { - "line": 500, + "line": 511, "column": 37 }, "end": { - "line": 500, + "line": 511, "column": 38 } } @@ -126545,15 +130051,15 @@ "updateContext": null }, "value": "this", - "start": 17169, - "end": 17173, + "start": 17503, + "end": 17507, "loc": { "start": { - "line": 500, + "line": 511, "column": 39 }, "end": { - "line": 500, + "line": 511, "column": 43 } } @@ -126571,15 +130077,15 @@ "binop": null, "updateContext": null }, - "start": 17173, - "end": 17174, + "start": 17507, + "end": 17508, "loc": { "start": { - "line": 500, + "line": 511, "column": 43 }, "end": { - "line": 500, + "line": 511, "column": 44 } } @@ -126597,15 +130103,15 @@ "binop": null }, "value": "caretEventHandler", - "start": 17174, - "end": 17191, + "start": 17508, + "end": 17525, "loc": { "start": { - "line": 500, + "line": 511, "column": 44 }, "end": { - "line": 500, + "line": 511, "column": 61 } } @@ -126622,15 +130128,15 @@ "postfix": false, "binop": null }, - "start": 17191, - "end": 17192, + "start": 17525, + "end": 17526, "loc": { "start": { - "line": 500, + "line": 511, "column": 61 }, "end": { - "line": 500, + "line": 511, "column": 62 } } @@ -126648,15 +130154,15 @@ "binop": null, "updateContext": null }, - "start": 17192, - "end": 17193, + "start": 17526, + "end": 17527, "loc": { "start": { - "line": 500, + "line": 511, "column": 62 }, "end": { - "line": 500, + "line": 511, "column": 63 } } @@ -126674,15 +130180,15 @@ "binop": null }, "value": "document", - "start": 17199, - "end": 17207, + "start": 17533, + "end": 17541, "loc": { "start": { - "line": 501, + "line": 512, "column": 4 }, "end": { - "line": 501, + "line": 512, "column": 12 } } @@ -126700,15 +130206,15 @@ "binop": null, "updateContext": null }, - "start": 17207, - "end": 17208, + "start": 17541, + "end": 17542, "loc": { "start": { - "line": 501, + "line": 512, "column": 12 }, "end": { - "line": 501, + "line": 512, "column": 13 } } @@ -126726,15 +130232,15 @@ "binop": null }, "value": "addEventListener", - "start": 17208, - "end": 17224, + "start": 17542, + "end": 17558, "loc": { "start": { - "line": 501, + "line": 512, "column": 13 }, "end": { - "line": 501, + "line": 512, "column": 29 } } @@ -126751,15 +130257,15 @@ "postfix": false, "binop": null }, - "start": 17224, - "end": 17225, + "start": 17558, + "end": 17559, "loc": { "start": { - "line": 501, + "line": 512, "column": 29 }, "end": { - "line": 501, + "line": 512, "column": 30 } } @@ -126778,15 +130284,15 @@ "updateContext": null }, "value": "mouseup", - "start": 17225, - "end": 17234, + "start": 17559, + "end": 17568, "loc": { "start": { - "line": 501, + "line": 512, "column": 30 }, "end": { - "line": 501, + "line": 512, "column": 39 } } @@ -126804,15 +130310,15 @@ "binop": null, "updateContext": null }, - "start": 17234, - "end": 17235, + "start": 17568, + "end": 17569, "loc": { "start": { - "line": 501, + "line": 512, "column": 39 }, "end": { - "line": 501, + "line": 512, "column": 40 } } @@ -126832,15 +130338,15 @@ "updateContext": null }, "value": "this", - "start": 17236, - "end": 17240, + "start": 17570, + "end": 17574, "loc": { "start": { - "line": 501, + "line": 512, "column": 41 }, "end": { - "line": 501, + "line": 512, "column": 45 } } @@ -126858,15 +130364,15 @@ "binop": null, "updateContext": null }, - "start": 17240, - "end": 17241, + "start": 17574, + "end": 17575, "loc": { "start": { - "line": 501, + "line": 512, "column": 45 }, "end": { - "line": 501, + "line": 512, "column": 46 } } @@ -126884,15 +130390,15 @@ "binop": null }, "value": "caretEventHandler", - "start": 17241, - "end": 17258, + "start": 17575, + "end": 17592, "loc": { "start": { - "line": 501, + "line": 512, "column": 46 }, "end": { - "line": 501, + "line": 512, "column": 63 } } @@ -126909,15 +130415,15 @@ "postfix": false, "binop": null }, - "start": 17258, - "end": 17259, + "start": 17592, + "end": 17593, "loc": { "start": { - "line": 501, + "line": 512, "column": 63 }, "end": { - "line": 501, + "line": 512, "column": 64 } } @@ -126935,15 +130441,15 @@ "binop": null, "updateContext": null }, - "start": 17259, - "end": 17260, + "start": 17593, + "end": 17594, "loc": { "start": { - "line": 501, + "line": 512, "column": 64 }, "end": { - "line": 501, + "line": 512, "column": 65 } } @@ -126961,15 +130467,15 @@ "binop": null }, "value": "document", - "start": 17266, - "end": 17274, + "start": 17600, + "end": 17608, "loc": { "start": { - "line": 502, + "line": 513, "column": 4 }, "end": { - "line": 502, + "line": 513, "column": 12 } } @@ -126987,15 +130493,15 @@ "binop": null, "updateContext": null }, - "start": 17274, - "end": 17275, + "start": 17608, + "end": 17609, "loc": { "start": { - "line": 502, + "line": 513, "column": 12 }, "end": { - "line": 502, + "line": 513, "column": 13 } } @@ -127013,15 +130519,15 @@ "binop": null }, "value": "addEventListener", - "start": 17275, - "end": 17291, + "start": 17609, + "end": 17625, "loc": { "start": { - "line": 502, + "line": 513, "column": 13 }, "end": { - "line": 502, + "line": 513, "column": 29 } } @@ -127038,15 +130544,15 @@ "postfix": false, "binop": null }, - "start": 17291, - "end": 17292, + "start": 17625, + "end": 17626, "loc": { "start": { - "line": 502, + "line": 513, "column": 29 }, "end": { - "line": 502, + "line": 513, "column": 30 } } @@ -127065,15 +130571,15 @@ "updateContext": null }, "value": "touchend", - "start": 17292, - "end": 17302, + "start": 17626, + "end": 17636, "loc": { "start": { - "line": 502, + "line": 513, "column": 30 }, "end": { - "line": 502, + "line": 513, "column": 40 } } @@ -127091,15 +130597,15 @@ "binop": null, "updateContext": null }, - "start": 17302, - "end": 17303, + "start": 17636, + "end": 17637, "loc": { "start": { - "line": 502, + "line": 513, "column": 40 }, "end": { - "line": 502, + "line": 513, "column": 41 } } @@ -127119,15 +130625,15 @@ "updateContext": null }, "value": "this", - "start": 17304, - "end": 17308, + "start": 17638, + "end": 17642, "loc": { "start": { - "line": 502, + "line": 513, "column": 42 }, "end": { - "line": 502, + "line": 513, "column": 46 } } @@ -127145,15 +130651,15 @@ "binop": null, "updateContext": null }, - "start": 17308, - "end": 17309, + "start": 17642, + "end": 17643, "loc": { "start": { - "line": 502, + "line": 513, "column": 46 }, "end": { - "line": 502, + "line": 513, "column": 47 } } @@ -127171,15 +130677,15 @@ "binop": null }, "value": "caretEventHandler", - "start": 17309, - "end": 17326, + "start": 17643, + "end": 17660, "loc": { "start": { - "line": 502, + "line": 513, "column": 47 }, "end": { - "line": 502, + "line": 513, "column": 64 } } @@ -127196,15 +130702,15 @@ "postfix": false, "binop": null }, - "start": 17326, - "end": 17327, + "start": 17660, + "end": 17661, "loc": { "start": { - "line": 502, + "line": 513, "column": 64 }, "end": { - "line": 502, + "line": 513, "column": 65 } } @@ -127222,15 +130728,15 @@ "binop": null, "updateContext": null }, - "start": 17327, - "end": 17328, + "start": 17661, + "end": 17662, "loc": { "start": { - "line": 502, + "line": 513, "column": 65 }, "end": { - "line": 502, + "line": 513, "column": 66 } } @@ -127247,15 +130753,15 @@ "postfix": false, "binop": null }, - "start": 17332, - "end": 17333, + "start": 17666, + "end": 17667, "loc": { "start": { - "line": 503, + "line": 514, "column": 2 }, "end": { - "line": 503, + "line": 514, "column": 3 } } @@ -127263,15 +130769,15 @@ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", - "start": 17339, - "end": 17451, + "start": 17673, + "end": 17785, "loc": { "start": { - "line": 505, + "line": 516, "column": 2 }, "end": { - "line": 507, + "line": 518, "column": 5 } } @@ -127289,15 +130795,15 @@ "binop": null }, "value": "caretEventHandler", - "start": 17455, - "end": 17472, + "start": 17789, + "end": 17806, "loc": { "start": { - "line": 508, + "line": 519, "column": 2 }, "end": { - "line": 508, + "line": 519, "column": 19 } } @@ -127314,15 +130820,15 @@ "postfix": false, "binop": null }, - "start": 17472, - "end": 17473, + "start": 17806, + "end": 17807, "loc": { "start": { - "line": 508, + "line": 519, "column": 19 }, "end": { - "line": 508, + "line": 519, "column": 20 } } @@ -127340,15 +130846,15 @@ "binop": null }, "value": "event", - "start": 17473, - "end": 17478, + "start": 17807, + "end": 17812, "loc": { "start": { - "line": 508, + "line": 519, "column": 20 }, "end": { - "line": 508, + "line": 519, "column": 25 } } @@ -127365,15 +130871,15 @@ "postfix": false, "binop": null }, - "start": 17478, - "end": 17479, + "start": 17812, + "end": 17813, "loc": { "start": { - "line": 508, + "line": 519, "column": 25 }, "end": { - "line": 508, + "line": 519, "column": 26 } } @@ -127390,15 +130896,15 @@ "postfix": false, "binop": null }, - "start": 17479, - "end": 17480, + "start": 17813, + "end": 17814, "loc": { "start": { - "line": 508, + "line": 519, "column": 26 }, "end": { - "line": 508, + "line": 519, "column": 27 } } @@ -127418,15 +130924,15 @@ "updateContext": null }, "value": "let", - "start": 17486, - "end": 17489, + "start": 17820, + "end": 17823, "loc": { "start": { - "line": 509, + "line": 520, "column": 4 }, "end": { - "line": 509, + "line": 520, "column": 7 } } @@ -127444,15 +130950,15 @@ "binop": null }, "value": "targetTagName", - "start": 17490, - "end": 17503, + "start": 17824, + "end": 17837, "loc": { "start": { - "line": 509, + "line": 520, "column": 8 }, "end": { - "line": 509, + "line": 520, "column": 21 } } @@ -127471,15 +130977,15 @@ "updateContext": null }, "value": "=", - "start": 17504, - "end": 17505, + "start": 17838, + "end": 17839, "loc": { "start": { - "line": 509, + "line": 520, "column": 22 }, "end": { - "line": 509, + "line": 520, "column": 23 } } @@ -127497,15 +131003,15 @@ "binop": null }, "value": "event", - "start": 17506, - "end": 17511, + "start": 17840, + "end": 17845, "loc": { "start": { - "line": 509, + "line": 520, "column": 24 }, "end": { - "line": 509, + "line": 520, "column": 29 } } @@ -127523,15 +131029,15 @@ "binop": null, "updateContext": null }, - "start": 17511, - "end": 17512, + "start": 17845, + "end": 17846, "loc": { "start": { - "line": 509, + "line": 520, "column": 29 }, "end": { - "line": 509, + "line": 520, "column": 30 } } @@ -127549,15 +131055,15 @@ "binop": null }, "value": "target", - "start": 17512, - "end": 17518, + "start": 17846, + "end": 17852, "loc": { "start": { - "line": 509, + "line": 520, "column": 30 }, "end": { - "line": 509, + "line": 520, "column": 36 } } @@ -127575,15 +131081,15 @@ "binop": null, "updateContext": null }, - "start": 17518, - "end": 17519, + "start": 17852, + "end": 17853, "loc": { "start": { - "line": 509, + "line": 520, "column": 36 }, "end": { - "line": 509, + "line": 520, "column": 37 } } @@ -127601,15 +131107,15 @@ "binop": null }, "value": "tagName", - "start": 17519, - "end": 17526, + "start": 17853, + "end": 17860, "loc": { "start": { - "line": 509, + "line": 520, "column": 37 }, "end": { - "line": 509, + "line": 520, "column": 44 } } @@ -127627,15 +131133,15 @@ "binop": null, "updateContext": null }, - "start": 17526, - "end": 17527, + "start": 17860, + "end": 17861, "loc": { "start": { - "line": 509, + "line": 520, "column": 44 }, "end": { - "line": 509, + "line": 520, "column": 45 } } @@ -127653,15 +131159,15 @@ "binop": null }, "value": "toLowerCase", - "start": 17527, - "end": 17538, + "start": 17861, + "end": 17872, "loc": { "start": { - "line": 509, + "line": 520, "column": 45 }, "end": { - "line": 509, + "line": 520, "column": 56 } } @@ -127678,15 +131184,15 @@ "postfix": false, "binop": null }, - "start": 17538, - "end": 17539, + "start": 17872, + "end": 17873, "loc": { "start": { - "line": 509, + "line": 520, "column": 56 }, "end": { - "line": 509, + "line": 520, "column": 57 } } @@ -127703,15 +131209,15 @@ "postfix": false, "binop": null }, - "start": 17539, - "end": 17540, + "start": 17873, + "end": 17874, "loc": { "start": { - "line": 509, + "line": 520, "column": 57 }, "end": { - "line": 509, + "line": 520, "column": 58 } } @@ -127729,15 +131235,15 @@ "binop": null, "updateContext": null }, - "start": 17540, - "end": 17541, + "start": 17874, + "end": 17875, "loc": { "start": { - "line": 509, + "line": 520, "column": 58 }, "end": { - "line": 509, + "line": 520, "column": 59 } } @@ -127757,15 +131263,15 @@ "updateContext": null }, "value": "if", - "start": 17549, - "end": 17551, + "start": 17883, + "end": 17885, "loc": { "start": { - "line": 511, + "line": 522, "column": 4 }, "end": { - "line": 511, + "line": 522, "column": 6 } } @@ -127782,15 +131288,40 @@ "postfix": false, "binop": null }, - "start": 17551, - "end": 17552, + "start": 17885, + "end": 17886, "loc": { "start": { - "line": 511, + "line": 522, "column": 6 }, "end": { - "line": 511, + "line": 522, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17894, + "end": 17895, + "loc": { + "start": { + "line": 523, + "column": 6 + }, + "end": { + "line": 523, "column": 7 } } @@ -127808,16 +131339,16 @@ "binop": null }, "value": "targetTagName", - "start": 17560, - "end": 17573, + "start": 17895, + "end": 17908, "loc": { "start": { - "line": 512, - "column": 6 + "line": 523, + "column": 7 }, "end": { - "line": 512, - "column": 19 + "line": 523, + "column": 20 } } }, @@ -127835,16 +131366,16 @@ "updateContext": null }, "value": "===", - "start": 17574, - "end": 17577, + "start": 17909, + "end": 17912, "loc": { "start": { - "line": 512, - "column": 20 + "line": 523, + "column": 21 }, "end": { - "line": 512, - "column": 23 + "line": 523, + "column": 24 } } }, @@ -127862,16 +131393,16 @@ "updateContext": null }, "value": "textarea", - "start": 17578, - "end": 17588, + "start": 17913, + "end": 17923, "loc": { "start": { - "line": 512, - "column": 24 + "line": 523, + "column": 25 }, "end": { - "line": 512, - "column": 34 + "line": 523, + "column": 35 } } }, @@ -127889,16 +131420,16 @@ "updateContext": null }, "value": "||", - "start": 17589, - "end": 17591, + "start": 17924, + "end": 17926, "loc": { "start": { - "line": 512, - "column": 35 + "line": 523, + "column": 36 }, "end": { - "line": 512, - "column": 37 + "line": 523, + "column": 38 } } }, @@ -127915,15 +131446,15 @@ "binop": null }, "value": "targetTagName", - "start": 17599, - "end": 17612, + "start": 17934, + "end": 17947, "loc": { "start": { - "line": 513, + "line": 524, "column": 6 }, "end": { - "line": 513, + "line": 524, "column": 19 } } @@ -127942,15 +131473,15 @@ "updateContext": null }, "value": "===", - "start": 17613, - "end": 17616, + "start": 17948, + "end": 17951, "loc": { "start": { - "line": 513, + "line": 524, "column": 20 }, "end": { - "line": 513, + "line": 524, "column": 23 } } @@ -127969,15 +131500,15 @@ "updateContext": null }, "value": "input", - "start": 17617, - "end": 17624, + "start": 17952, + "end": 17959, "loc": { "start": { - "line": 513, + "line": 524, "column": 24 }, "end": { - "line": 513, + "line": 524, "column": 31 } } @@ -127994,15 +131525,226 @@ "postfix": false, "binop": null }, - "start": 17630, - "end": 17631, + "start": 17959, + "end": 17960, "loc": { "start": { - "line": 514, + "line": 524, + "column": 31 + }, + "end": { + "line": 524, + "column": 32 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 17961, + "end": 17963, + "loc": { + "start": { + "line": 524, + "column": 33 + }, + "end": { + "line": 524, + "column": 35 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 17971, + "end": 17972, + "loc": { + "start": { + "line": 525, + "column": 6 + }, + "end": { + "line": 525, + "column": 7 + } + } + }, + { + "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": 17972, + "end": 17976, + "loc": { + "start": { + "line": 525, + "column": 7 + }, + "end": { + "line": 525, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17976, + "end": 17977, + "loc": { + "start": { + "line": 525, + "column": 11 + }, + "end": { + "line": 525, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 17977, + "end": 17984, + "loc": { + "start": { + "line": 525, + "column": 12 + }, + "end": { + "line": 525, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17984, + "end": 17985, + "loc": { + "start": { + "line": 525, + "column": 19 + }, + "end": { + "line": 525, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "disableCaretPositioning", + "start": 17985, + "end": 18008, + "loc": { + "start": { + "line": 525, + "column": 20 + }, + "end": { + "line": 525, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18014, + "end": 18015, + "loc": { + "start": { + "line": 526, "column": 4 }, "end": { - "line": 514, + "line": 526, "column": 5 } } @@ -128019,15 +131761,15 @@ "postfix": false, "binop": null }, - "start": 17631, - "end": 17632, + "start": 18015, + "end": 18016, "loc": { "start": { - "line": 514, + "line": 526, "column": 5 }, "end": { - "line": 514, + "line": 526, "column": 6 } } @@ -128035,15 +131777,15 @@ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", - "start": 17640, - "end": 17788, + "start": 18024, + "end": 18172, "loc": { "start": { - "line": 515, + "line": 527, "column": 6 }, "end": { - "line": 518, + "line": 530, "column": 9 } } @@ -128063,15 +131805,15 @@ "updateContext": null }, "value": "this", - "start": 17796, - "end": 17800, + "start": 18180, + "end": 18184, "loc": { "start": { - "line": 519, + "line": 531, "column": 6 }, "end": { - "line": 519, + "line": 531, "column": 10 } } @@ -128089,15 +131831,15 @@ "binop": null, "updateContext": null }, - "start": 17800, - "end": 17801, + "start": 18184, + "end": 18185, "loc": { "start": { - "line": 519, + "line": 531, "column": 10 }, "end": { - "line": 519, + "line": 531, "column": 11 } } @@ -128115,15 +131857,15 @@ "binop": null }, "value": "caretPosition", - "start": 17801, - "end": 17814, + "start": 18185, + "end": 18198, "loc": { "start": { - "line": 519, + "line": 531, "column": 11 }, "end": { - "line": 519, + "line": 531, "column": 24 } } @@ -128142,15 +131884,15 @@ "updateContext": null }, "value": "=", - "start": 17815, - "end": 17816, + "start": 18199, + "end": 18200, "loc": { "start": { - "line": 519, + "line": 531, "column": 25 }, "end": { - "line": 519, + "line": 531, "column": 26 } } @@ -128168,15 +131910,15 @@ "binop": null }, "value": "event", - "start": 17817, - "end": 17822, + "start": 18201, + "end": 18206, "loc": { "start": { - "line": 519, + "line": 531, "column": 27 }, "end": { - "line": 519, + "line": 531, "column": 32 } } @@ -128194,15 +131936,15 @@ "binop": null, "updateContext": null }, - "start": 17822, - "end": 17823, + "start": 18206, + "end": 18207, "loc": { "start": { - "line": 519, + "line": 531, "column": 32 }, "end": { - "line": 519, + "line": 531, "column": 33 } } @@ -128220,15 +131962,15 @@ "binop": null }, "value": "target", - "start": 17823, - "end": 17829, + "start": 18207, + "end": 18213, "loc": { "start": { - "line": 519, + "line": 531, "column": 33 }, "end": { - "line": 519, + "line": 531, "column": 39 } } @@ -128246,15 +131988,15 @@ "binop": null, "updateContext": null }, - "start": 17829, - "end": 17830, + "start": 18213, + "end": 18214, "loc": { "start": { - "line": 519, + "line": 531, "column": 39 }, "end": { - "line": 519, + "line": 531, "column": 40 } } @@ -128272,15 +132014,15 @@ "binop": null }, "value": "selectionStart", - "start": 17830, - "end": 17844, + "start": 18214, + "end": 18228, "loc": { "start": { - "line": 519, + "line": 531, "column": 40 }, "end": { - "line": 519, + "line": 531, "column": 54 } } @@ -128298,15 +132040,15 @@ "binop": null, "updateContext": null }, - "start": 17844, - "end": 17845, + "start": 18228, + "end": 18229, "loc": { "start": { - "line": 519, + "line": 531, "column": 54 }, "end": { - "line": 519, + "line": 531, "column": 55 } } @@ -128326,15 +132068,15 @@ "updateContext": null }, "value": "if", - "start": 17855, - "end": 17857, + "start": 18239, + "end": 18241, "loc": { "start": { - "line": 521, + "line": 533, "column": 6 }, "end": { - "line": 521, + "line": 533, "column": 8 } } @@ -128351,15 +132093,15 @@ "postfix": false, "binop": null }, - "start": 17857, - "end": 17858, + "start": 18241, + "end": 18242, "loc": { "start": { - "line": 521, + "line": 533, "column": 8 }, "end": { - "line": 521, + "line": 533, "column": 9 } } @@ -128379,15 +132121,15 @@ "updateContext": null }, "value": "this", - "start": 17858, - "end": 17862, + "start": 18242, + "end": 18246, "loc": { "start": { - "line": 521, + "line": 533, "column": 9 }, "end": { - "line": 521, + "line": 533, "column": 13 } } @@ -128405,15 +132147,15 @@ "binop": null, "updateContext": null }, - "start": 17862, - "end": 17863, + "start": 18246, + "end": 18247, "loc": { "start": { - "line": 521, + "line": 533, "column": 13 }, "end": { - "line": 521, + "line": 533, "column": 14 } } @@ -128431,15 +132173,15 @@ "binop": null }, "value": "options", - "start": 17863, - "end": 17870, + "start": 18247, + "end": 18254, "loc": { "start": { - "line": 521, + "line": 533, "column": 14 }, "end": { - "line": 521, + "line": 533, "column": 21 } } @@ -128457,15 +132199,15 @@ "binop": null, "updateContext": null }, - "start": 17870, - "end": 17871, + "start": 18254, + "end": 18255, "loc": { "start": { - "line": 521, + "line": 533, "column": 21 }, "end": { - "line": 521, + "line": 533, "column": 22 } } @@ -128483,15 +132225,15 @@ "binop": null }, "value": "debug", - "start": 17871, - "end": 17876, + "start": 18255, + "end": 18260, "loc": { "start": { - "line": 521, + "line": 533, "column": 22 }, "end": { - "line": 521, + "line": 533, "column": 27 } } @@ -128508,15 +132250,15 @@ "postfix": false, "binop": null }, - "start": 17876, - "end": 17877, + "start": 18260, + "end": 18261, "loc": { "start": { - "line": 521, + "line": 533, "column": 27 }, "end": { - "line": 521, + "line": 533, "column": 28 } } @@ -128533,15 +132275,15 @@ "postfix": false, "binop": null }, - "start": 17877, - "end": 17878, + "start": 18261, + "end": 18262, "loc": { "start": { - "line": 521, + "line": 533, "column": 28 }, "end": { - "line": 521, + "line": 533, "column": 29 } } @@ -128559,15 +132301,15 @@ "binop": null }, "value": "console", - "start": 17888, - "end": 17895, + "start": 18272, + "end": 18279, "loc": { "start": { - "line": 522, + "line": 534, "column": 8 }, "end": { - "line": 522, + "line": 534, "column": 15 } } @@ -128585,15 +132327,15 @@ "binop": null, "updateContext": null }, - "start": 17895, - "end": 17896, + "start": 18279, + "end": 18280, "loc": { "start": { - "line": 522, + "line": 534, "column": 15 }, "end": { - "line": 522, + "line": 534, "column": 16 } } @@ -128611,15 +132353,15 @@ "binop": null }, "value": "log", - "start": 17896, - "end": 17899, + "start": 18280, + "end": 18283, "loc": { "start": { - "line": 522, + "line": 534, "column": 16 }, "end": { - "line": 522, + "line": 534, "column": 19 } } @@ -128636,15 +132378,15 @@ "postfix": false, "binop": null }, - "start": 17899, - "end": 17900, + "start": 18283, + "end": 18284, "loc": { "start": { - "line": 522, + "line": 534, "column": 19 }, "end": { - "line": 522, + "line": 534, "column": 20 } } @@ -128663,15 +132405,15 @@ "updateContext": null }, "value": "Caret at: ", - "start": 17900, - "end": 17912, + "start": 18284, + "end": 18296, "loc": { "start": { - "line": 522, + "line": 534, "column": 20 }, "end": { - "line": 522, + "line": 534, "column": 32 } } @@ -128689,15 +132431,15 @@ "binop": null, "updateContext": null }, - "start": 17912, - "end": 17913, + "start": 18296, + "end": 18297, "loc": { "start": { - "line": 522, + "line": 534, "column": 32 }, "end": { - "line": 522, + "line": 534, "column": 33 } } @@ -128715,15 +132457,15 @@ "binop": null }, "value": "event", - "start": 17914, - "end": 17919, + "start": 18298, + "end": 18303, "loc": { "start": { - "line": 522, + "line": 534, "column": 34 }, "end": { - "line": 522, + "line": 534, "column": 39 } } @@ -128741,15 +132483,15 @@ "binop": null, "updateContext": null }, - "start": 17919, - "end": 17920, + "start": 18303, + "end": 18304, "loc": { "start": { - "line": 522, + "line": 534, "column": 39 }, "end": { - "line": 522, + "line": 534, "column": 40 } } @@ -128767,15 +132509,15 @@ "binop": null }, "value": "target", - "start": 17920, - "end": 17926, + "start": 18304, + "end": 18310, "loc": { "start": { - "line": 522, + "line": 534, "column": 40 }, "end": { - "line": 522, + "line": 534, "column": 46 } } @@ -128793,15 +132535,15 @@ "binop": null, "updateContext": null }, - "start": 17926, - "end": 17927, + "start": 18310, + "end": 18311, "loc": { "start": { - "line": 522, + "line": 534, "column": 46 }, "end": { - "line": 522, + "line": 534, "column": 47 } } @@ -128819,15 +132561,15 @@ "binop": null }, "value": "selectionStart", - "start": 17927, - "end": 17941, + "start": 18311, + "end": 18325, "loc": { "start": { - "line": 522, + "line": 534, "column": 47 }, "end": { - "line": 522, + "line": 534, "column": 61 } } @@ -128845,15 +132587,15 @@ "binop": null, "updateContext": null }, - "start": 17941, - "end": 17942, + "start": 18325, + "end": 18326, "loc": { "start": { - "line": 522, + "line": 534, "column": 61 }, "end": { - "line": 522, + "line": 534, "column": 62 } } @@ -128871,15 +132613,15 @@ "binop": null }, "value": "event", - "start": 17943, - "end": 17948, + "start": 18327, + "end": 18332, "loc": { "start": { - "line": 522, + "line": 534, "column": 63 }, "end": { - "line": 522, + "line": 534, "column": 68 } } @@ -128897,15 +132639,15 @@ "binop": null, "updateContext": null }, - "start": 17948, - "end": 17949, + "start": 18332, + "end": 18333, "loc": { "start": { - "line": 522, + "line": 534, "column": 68 }, "end": { - "line": 522, + "line": 534, "column": 69 } } @@ -128923,15 +132665,15 @@ "binop": null }, "value": "target", - "start": 17949, - "end": 17955, + "start": 18333, + "end": 18339, "loc": { "start": { - "line": 522, + "line": 534, "column": 69 }, "end": { - "line": 522, + "line": 534, "column": 75 } } @@ -128949,15 +132691,15 @@ "binop": null, "updateContext": null }, - "start": 17955, - "end": 17956, + "start": 18339, + "end": 18340, "loc": { "start": { - "line": 522, + "line": 534, "column": 75 }, "end": { - "line": 522, + "line": 534, "column": 76 } } @@ -128975,15 +132717,15 @@ "binop": null }, "value": "tagName", - "start": 17956, - "end": 17963, + "start": 18340, + "end": 18347, "loc": { "start": { - "line": 522, + "line": 534, "column": 76 }, "end": { - "line": 522, + "line": 534, "column": 83 } } @@ -129001,15 +132743,15 @@ "binop": null, "updateContext": null }, - "start": 17963, - "end": 17964, + "start": 18347, + "end": 18348, "loc": { "start": { - "line": 522, + "line": 534, "column": 83 }, "end": { - "line": 522, + "line": 534, "column": 84 } } @@ -129027,15 +132769,15 @@ "binop": null }, "value": "toLowerCase", - "start": 17964, - "end": 17975, + "start": 18348, + "end": 18359, "loc": { "start": { - "line": 522, + "line": 534, "column": 84 }, "end": { - "line": 522, + "line": 534, "column": 95 } } @@ -129052,15 +132794,15 @@ "postfix": false, "binop": null }, - "start": 17975, - "end": 17976, + "start": 18359, + "end": 18360, "loc": { "start": { - "line": 522, + "line": 534, "column": 95 }, "end": { - "line": 522, + "line": 534, "column": 96 } } @@ -129077,15 +132819,15 @@ "postfix": false, "binop": null }, - "start": 17976, - "end": 17977, + "start": 18360, + "end": 18361, "loc": { "start": { - "line": 522, + "line": 534, "column": 96 }, "end": { - "line": 522, + "line": 534, "column": 97 } } @@ -129102,15 +132844,15 @@ "postfix": false, "binop": null }, - "start": 17977, - "end": 17978, + "start": 18361, + "end": 18362, "loc": { "start": { - "line": 522, + "line": 534, "column": 97 }, "end": { - "line": 522, + "line": 534, "column": 98 } } @@ -129128,15 +132870,15 @@ "binop": null, "updateContext": null }, - "start": 17978, - "end": 17979, + "start": 18362, + "end": 18363, "loc": { "start": { - "line": 522, + "line": 534, "column": 98 }, "end": { - "line": 522, + "line": 534, "column": 99 } } @@ -129153,15 +132895,15 @@ "postfix": false, "binop": null }, - "start": 17987, - "end": 17988, + "start": 18371, + "end": 18372, "loc": { "start": { - "line": 523, + "line": 535, "column": 6 }, "end": { - "line": 523, + "line": 535, "column": 7 } } @@ -129178,15 +132920,15 @@ "postfix": false, "binop": null }, - "start": 17999, - "end": 18000, + "start": 18383, + "end": 18384, "loc": { "start": { - "line": 524, + "line": 536, "column": 4 }, "end": { - "line": 524, + "line": 536, "column": 5 } } @@ -129203,15 +132945,15 @@ "postfix": false, "binop": null }, - "start": 18004, - "end": 18005, + "start": 18388, + "end": 18389, "loc": { "start": { - "line": 525, + "line": 537, "column": 2 }, "end": { - "line": 525, + "line": 537, "column": 3 } } @@ -129219,15 +132961,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", - "start": 18011, - "end": 18131, + "start": 18395, + "end": 18515, "loc": { "start": { - "line": 527, + "line": 539, "column": 2 }, "end": { - "line": 529, + "line": 541, "column": 5 } } @@ -129245,15 +132987,15 @@ "binop": null }, "value": "onInit", - "start": 18135, - "end": 18141, + "start": 18519, + "end": 18525, "loc": { "start": { - "line": 530, + "line": 542, "column": 2 }, "end": { - "line": 530, + "line": 542, "column": 8 } } @@ -129270,15 +133012,15 @@ "postfix": false, "binop": null }, - "start": 18141, - "end": 18142, + "start": 18525, + "end": 18526, "loc": { "start": { - "line": 530, + "line": 542, "column": 8 }, "end": { - "line": 530, + "line": 542, "column": 9 } } @@ -129295,15 +133037,15 @@ "postfix": false, "binop": null }, - "start": 18142, - "end": 18143, + "start": 18526, + "end": 18527, "loc": { "start": { - "line": 530, + "line": 542, "column": 9 }, "end": { - "line": 530, + "line": 542, "column": 10 } } @@ -129320,15 +133062,15 @@ "postfix": false, "binop": null }, - "start": 18143, - "end": 18144, + "start": 18527, + "end": 18528, "loc": { "start": { - "line": 530, + "line": 542, "column": 10 }, "end": { - "line": 530, + "line": 542, "column": 11 } } @@ -129348,15 +133090,15 @@ "updateContext": null }, "value": "if", - "start": 18150, - "end": 18152, + "start": 18534, + "end": 18536, "loc": { "start": { - "line": 531, + "line": 543, "column": 4 }, "end": { - "line": 531, + "line": 543, "column": 6 } } @@ -129373,15 +133115,15 @@ "postfix": false, "binop": null }, - "start": 18152, - "end": 18153, + "start": 18536, + "end": 18537, "loc": { "start": { - "line": 531, + "line": 543, "column": 6 }, "end": { - "line": 531, + "line": 543, "column": 7 } } @@ -129401,15 +133143,15 @@ "updateContext": null }, "value": "this", - "start": 18153, - "end": 18157, + "start": 18537, + "end": 18541, "loc": { "start": { - "line": 531, + "line": 543, "column": 7 }, "end": { - "line": 531, + "line": 543, "column": 11 } } @@ -129427,15 +133169,15 @@ "binop": null, "updateContext": null }, - "start": 18157, - "end": 18158, + "start": 18541, + "end": 18542, "loc": { "start": { - "line": 531, + "line": 543, "column": 11 }, "end": { - "line": 531, + "line": 543, "column": 12 } } @@ -129453,15 +133195,15 @@ "binop": null }, "value": "options", - "start": 18158, - "end": 18165, + "start": 18542, + "end": 18549, "loc": { "start": { - "line": 531, + "line": 543, "column": 12 }, "end": { - "line": 531, + "line": 543, "column": 19 } } @@ -129479,15 +133221,15 @@ "binop": null, "updateContext": null }, - "start": 18165, - "end": 18166, + "start": 18549, + "end": 18550, "loc": { "start": { - "line": 531, + "line": 543, "column": 19 }, "end": { - "line": 531, + "line": 543, "column": 20 } } @@ -129505,15 +133247,15 @@ "binop": null }, "value": "debug", - "start": 18166, - "end": 18171, + "start": 18550, + "end": 18555, "loc": { "start": { - "line": 531, + "line": 543, "column": 20 }, "end": { - "line": 531, + "line": 543, "column": 25 } } @@ -129530,15 +133272,15 @@ "postfix": false, "binop": null }, - "start": 18171, - "end": 18172, + "start": 18555, + "end": 18556, "loc": { "start": { - "line": 531, + "line": 543, "column": 25 }, "end": { - "line": 531, + "line": 543, "column": 26 } } @@ -129555,15 +133297,15 @@ "postfix": false, "binop": null }, - "start": 18172, - "end": 18173, + "start": 18556, + "end": 18557, "loc": { "start": { - "line": 531, + "line": 543, "column": 26 }, "end": { - "line": 531, + "line": 543, "column": 27 } } @@ -129581,15 +133323,15 @@ "binop": null }, "value": "console", - "start": 18181, - "end": 18188, + "start": 18565, + "end": 18572, "loc": { "start": { - "line": 532, + "line": 544, "column": 6 }, "end": { - "line": 532, + "line": 544, "column": 13 } } @@ -129607,15 +133349,15 @@ "binop": null, "updateContext": null }, - "start": 18188, - "end": 18189, + "start": 18572, + "end": 18573, "loc": { "start": { - "line": 532, + "line": 544, "column": 13 }, "end": { - "line": 532, + "line": 544, "column": 14 } } @@ -129633,15 +133375,15 @@ "binop": null }, "value": "log", - "start": 18189, - "end": 18192, + "start": 18573, + "end": 18576, "loc": { "start": { - "line": 532, + "line": 544, "column": 14 }, "end": { - "line": 532, + "line": 544, "column": 17 } } @@ -129658,15 +133400,15 @@ "postfix": false, "binop": null }, - "start": 18192, - "end": 18193, + "start": 18576, + "end": 18577, "loc": { "start": { - "line": 532, + "line": 544, "column": 17 }, "end": { - "line": 532, + "line": 544, "column": 18 } } @@ -129685,15 +133427,15 @@ "updateContext": null }, "value": "Initialized", - "start": 18193, - "end": 18206, + "start": 18577, + "end": 18590, "loc": { "start": { - "line": 532, + "line": 544, "column": 18 }, "end": { - "line": 532, + "line": 544, "column": 31 } } @@ -129710,15 +133452,15 @@ "postfix": false, "binop": null }, - "start": 18206, - "end": 18207, + "start": 18590, + "end": 18591, "loc": { "start": { - "line": 532, + "line": 544, "column": 31 }, "end": { - "line": 532, + "line": 544, "column": 32 } } @@ -129736,15 +133478,15 @@ "binop": null, "updateContext": null }, - "start": 18207, - "end": 18208, + "start": 18591, + "end": 18592, "loc": { "start": { - "line": 532, + "line": 544, "column": 32 }, "end": { - "line": 532, + "line": 544, "column": 33 } } @@ -129761,15 +133503,15 @@ "postfix": false, "binop": null }, - "start": 18214, - "end": 18215, + "start": 18598, + "end": 18599, "loc": { "start": { - "line": 533, + "line": 545, "column": 4 }, "end": { - "line": 533, + "line": 545, "column": 5 } } @@ -129777,15 +133519,15 @@ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", - "start": 18223, - "end": 18258, + "start": 18607, + "end": 18642, "loc": { "start": { - "line": 535, + "line": 547, "column": 4 }, "end": { - "line": 537, + "line": 549, "column": 7 } } @@ -129805,15 +133547,15 @@ "updateContext": null }, "value": "this", - "start": 18264, - "end": 18268, + "start": 18648, + "end": 18652, "loc": { "start": { - "line": 538, + "line": 550, "column": 4 }, "end": { - "line": 538, + "line": 550, "column": 8 } } @@ -129831,15 +133573,15 @@ "binop": null, "updateContext": null }, - "start": 18268, - "end": 18269, + "start": 18652, + "end": 18653, "loc": { "start": { - "line": 538, + "line": 550, "column": 8 }, "end": { - "line": 538, + "line": 550, "column": 9 } } @@ -129857,15 +133599,15 @@ "binop": null }, "value": "handleCaret", - "start": 18269, - "end": 18280, + "start": 18653, + "end": 18664, "loc": { "start": { - "line": 538, + "line": 550, "column": 9 }, "end": { - "line": 538, + "line": 550, "column": 20 } } @@ -129882,15 +133624,15 @@ "postfix": false, "binop": null }, - "start": 18280, - "end": 18281, + "start": 18664, + "end": 18665, "loc": { "start": { - "line": 538, + "line": 550, "column": 20 }, "end": { - "line": 538, + "line": 550, "column": 21 } } @@ -129907,15 +133649,15 @@ "postfix": false, "binop": null }, - "start": 18281, - "end": 18282, + "start": 18665, + "end": 18666, "loc": { "start": { - "line": 538, + "line": 550, "column": 21 }, "end": { - "line": 538, + "line": 550, "column": 22 } } @@ -129933,15 +133675,15 @@ "binop": null, "updateContext": null }, - "start": 18282, - "end": 18283, + "start": 18666, + "end": 18667, "loc": { "start": { - "line": 538, + "line": 550, "column": 22 }, "end": { - "line": 538, + "line": 550, "column": 23 } } @@ -129961,15 +133703,15 @@ "updateContext": null }, "value": "if", - "start": 18291, - "end": 18293, + "start": 18675, + "end": 18677, "loc": { "start": { - "line": 540, + "line": 552, "column": 4 }, "end": { - "line": 540, + "line": 552, "column": 6 } } @@ -129986,15 +133728,15 @@ "postfix": false, "binop": null }, - "start": 18293, - "end": 18294, + "start": 18677, + "end": 18678, "loc": { "start": { - "line": 540, + "line": 552, "column": 6 }, "end": { - "line": 540, + "line": 552, "column": 7 } } @@ -130014,15 +133756,15 @@ "updateContext": null }, "value": "typeof", - "start": 18294, - "end": 18300, + "start": 18678, + "end": 18684, "loc": { "start": { - "line": 540, + "line": 552, "column": 7 }, "end": { - "line": 540, + "line": 552, "column": 13 } } @@ -130042,15 +133784,15 @@ "updateContext": null }, "value": "this", - "start": 18301, - "end": 18305, + "start": 18685, + "end": 18689, "loc": { "start": { - "line": 540, + "line": 552, "column": 14 }, "end": { - "line": 540, + "line": 552, "column": 18 } } @@ -130068,15 +133810,15 @@ "binop": null, "updateContext": null }, - "start": 18305, - "end": 18306, + "start": 18689, + "end": 18690, "loc": { "start": { - "line": 540, + "line": 552, "column": 18 }, "end": { - "line": 540, + "line": 552, "column": 19 } } @@ -130094,15 +133836,15 @@ "binop": null }, "value": "options", - "start": 18306, - "end": 18313, + "start": 18690, + "end": 18697, "loc": { "start": { - "line": 540, + "line": 552, "column": 19 }, "end": { - "line": 540, + "line": 552, "column": 26 } } @@ -130120,15 +133862,15 @@ "binop": null, "updateContext": null }, - "start": 18313, - "end": 18314, + "start": 18697, + "end": 18698, "loc": { "start": { - "line": 540, + "line": 552, "column": 26 }, "end": { - "line": 540, + "line": 552, "column": 27 } } @@ -130146,15 +133888,15 @@ "binop": null }, "value": "onInit", - "start": 18314, - "end": 18320, + "start": 18698, + "end": 18704, "loc": { "start": { - "line": 540, + "line": 552, "column": 27 }, "end": { - "line": 540, + "line": 552, "column": 33 } } @@ -130173,15 +133915,15 @@ "updateContext": null }, "value": "===", - "start": 18321, - "end": 18324, + "start": 18705, + "end": 18708, "loc": { "start": { - "line": 540, + "line": 552, "column": 34 }, "end": { - "line": 540, + "line": 552, "column": 37 } } @@ -130200,15 +133942,15 @@ "updateContext": null }, "value": "function", - "start": 18325, - "end": 18335, + "start": 18709, + "end": 18719, "loc": { "start": { - "line": 540, + "line": 552, "column": 38 }, "end": { - "line": 540, + "line": 552, "column": 48 } } @@ -130225,15 +133967,15 @@ "postfix": false, "binop": null }, - "start": 18335, - "end": 18336, + "start": 18719, + "end": 18720, "loc": { "start": { - "line": 540, + "line": 552, "column": 48 }, "end": { - "line": 540, + "line": 552, "column": 49 } } @@ -130253,15 +133995,15 @@ "updateContext": null }, "value": "this", - "start": 18344, - "end": 18348, + "start": 18728, + "end": 18732, "loc": { "start": { - "line": 541, + "line": 553, "column": 6 }, "end": { - "line": 541, + "line": 553, "column": 10 } } @@ -130279,15 +134021,15 @@ "binop": null, "updateContext": null }, - "start": 18348, - "end": 18349, + "start": 18732, + "end": 18733, "loc": { "start": { - "line": 541, + "line": 553, "column": 10 }, "end": { - "line": 541, + "line": 553, "column": 11 } } @@ -130305,15 +134047,15 @@ "binop": null }, "value": "options", - "start": 18349, - "end": 18356, + "start": 18733, + "end": 18740, "loc": { "start": { - "line": 541, + "line": 553, "column": 11 }, "end": { - "line": 541, + "line": 553, "column": 18 } } @@ -130331,15 +134073,15 @@ "binop": null, "updateContext": null }, - "start": 18356, - "end": 18357, + "start": 18740, + "end": 18741, "loc": { "start": { - "line": 541, + "line": 553, "column": 18 }, "end": { - "line": 541, + "line": 553, "column": 19 } } @@ -130357,15 +134099,15 @@ "binop": null }, "value": "onInit", - "start": 18357, - "end": 18363, + "start": 18741, + "end": 18747, "loc": { "start": { - "line": 541, + "line": 553, "column": 19 }, "end": { - "line": 541, + "line": 553, "column": 25 } } @@ -130382,15 +134124,15 @@ "postfix": false, "binop": null }, - "start": 18363, - "end": 18364, + "start": 18747, + "end": 18748, "loc": { "start": { - "line": 541, + "line": 553, "column": 25 }, "end": { - "line": 541, + "line": 553, "column": 26 } } @@ -130407,15 +134149,15 @@ "postfix": false, "binop": null }, - "start": 18364, - "end": 18365, + "start": 18748, + "end": 18749, "loc": { "start": { - "line": 541, + "line": 553, "column": 26 }, "end": { - "line": 541, + "line": 553, "column": 27 } } @@ -130433,15 +134175,15 @@ "binop": null, "updateContext": null }, - "start": 18365, - "end": 18366, + "start": 18749, + "end": 18750, "loc": { "start": { - "line": 541, + "line": 553, "column": 27 }, "end": { - "line": 541, + "line": 553, "column": 28 } } @@ -130458,15 +134200,15 @@ "postfix": false, "binop": null }, - "start": 18370, - "end": 18371, + "start": 18754, + "end": 18755, "loc": { "start": { - "line": 542, + "line": 554, "column": 2 }, "end": { - "line": 542, + "line": 554, "column": 3 } } @@ -130474,15 +134216,15 @@ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", - "start": 18377, - "end": 18495, + "start": 18761, + "end": 18879, "loc": { "start": { - "line": 544, + "line": 556, "column": 2 }, "end": { - "line": 546, + "line": 558, "column": 5 } } @@ -130500,15 +134242,15 @@ "binop": null }, "value": "onRender", - "start": 18499, - "end": 18507, + "start": 18883, + "end": 18891, "loc": { "start": { - "line": 547, + "line": 559, "column": 2 }, "end": { - "line": 547, + "line": 559, "column": 10 } } @@ -130525,1456 +134267,41 @@ "postfix": false, "binop": null }, - "start": 18507, - "end": 18508, - "loc": { - "start": { - "line": 547, - "column": 10 - }, - "end": { - "line": 547, - "column": 11 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18508, - "end": 18509, - "loc": { - "start": { - "line": 547, - "column": 11 - }, - "end": { - "line": 547, - "column": 12 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18509, - "end": 18510, - "loc": { - "start": { - "line": 547, - "column": 12 - }, - "end": { - "line": 547, - "column": 13 - } - } - }, - { - "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": 18516, - "end": 18518, - "loc": { - "start": { - "line": 548, - "column": 4 - }, - "end": { - "line": 548, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18518, - "end": 18519, - "loc": { - "start": { - "line": 548, - "column": 6 - }, - "end": { - "line": 548, - "column": 7 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 18519, - "end": 18525, - "loc": { - "start": { - "line": 548, - "column": 7 - }, - "end": { - "line": 548, - "column": 13 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 18526, - "end": 18530, - "loc": { - "start": { - "line": 548, - "column": 14 - }, - "end": { - "line": 548, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18530, - "end": 18531, - "loc": { - "start": { - "line": 548, - "column": 18 - }, - "end": { - "line": 548, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 18531, - "end": 18538, - "loc": { - "start": { - "line": 548, - "column": 19 - }, - "end": { - "line": 548, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18538, - "end": 18539, - "loc": { - "start": { - "line": 548, - "column": 26 - }, - "end": { - "line": 548, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onRender", - "start": 18539, - "end": 18547, - "loc": { - "start": { - "line": 548, - "column": 27 - }, - "end": { - "line": 548, - "column": 35 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 18548, - "end": 18551, - "loc": { - "start": { - "line": 548, - "column": 36 - }, - "end": { - "line": 548, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 18552, - "end": 18562, - "loc": { - "start": { - "line": 548, - "column": 40 - }, - "end": { - "line": 548, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18562, - "end": 18563, - "loc": { - "start": { - "line": 548, - "column": 50 - }, - "end": { - "line": 548, - "column": 51 - } - } - }, - { - "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": 18571, - "end": 18575, - "loc": { - "start": { - "line": 549, - "column": 6 - }, - "end": { - "line": 549, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18575, - "end": 18576, - "loc": { - "start": { - "line": 549, - "column": 10 - }, - "end": { - "line": 549, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 18576, - "end": 18583, - "loc": { - "start": { - "line": 549, - "column": 11 - }, - "end": { - "line": 549, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18583, - "end": 18584, - "loc": { - "start": { - "line": 549, - "column": 18 - }, - "end": { - "line": 549, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onRender", - "start": 18584, - "end": 18592, - "loc": { - "start": { - "line": 549, - "column": 19 - }, - "end": { - "line": 549, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18592, - "end": 18593, - "loc": { - "start": { - "line": 549, - "column": 27 - }, - "end": { - "line": 549, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18593, - "end": 18594, - "loc": { - "start": { - "line": 549, - "column": 28 - }, - "end": { - "line": 549, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18594, - "end": 18595, - "loc": { - "start": { - "line": 549, - "column": 29 - }, - "end": { - "line": 549, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18599, - "end": 18600, - "loc": { - "start": { - "line": 550, - "column": 2 - }, - "end": { - "line": 550, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", - "start": 18605, - "end": 18684, - "loc": { - "start": { - "line": 552, - "column": 1 - }, - "end": { - "line": 554, - "column": 4 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onModulesLoaded", - "start": 18688, - "end": 18703, - "loc": { - "start": { - "line": 555, - "column": 2 - }, - "end": { - "line": 555, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18703, - "end": 18704, - "loc": { - "start": { - "line": 555, - "column": 17 - }, - "end": { - "line": 555, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18704, - "end": 18705, - "loc": { - "start": { - "line": 555, - "column": 18 - }, - "end": { - "line": 555, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18705, - "end": 18706, - "loc": { - "start": { - "line": 555, - "column": 19 - }, - "end": { - "line": 555, - "column": 20 - } - } - }, - { - "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": 18712, - "end": 18714, - "loc": { - "start": { - "line": 556, - "column": 4 - }, - "end": { - "line": 556, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18714, - "end": 18715, - "loc": { - "start": { - "line": 556, - "column": 6 - }, - "end": { - "line": 556, - "column": 7 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 18715, - "end": 18721, - "loc": { - "start": { - "line": 556, - "column": 7 - }, - "end": { - "line": 556, - "column": 13 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 18722, - "end": 18726, - "loc": { - "start": { - "line": 556, - "column": 14 - }, - "end": { - "line": 556, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18726, - "end": 18727, - "loc": { - "start": { - "line": 556, - "column": 18 - }, - "end": { - "line": 556, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 18727, - "end": 18734, - "loc": { - "start": { - "line": 556, - "column": 19 - }, - "end": { - "line": 556, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18734, - "end": 18735, - "loc": { - "start": { - "line": 556, - "column": 26 - }, - "end": { - "line": 556, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onModulesLoaded", - "start": 18735, - "end": 18750, - "loc": { - "start": { - "line": 556, - "column": 27 - }, - "end": { - "line": 556, - "column": 42 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 18751, - "end": 18754, - "loc": { - "start": { - "line": 556, - "column": 43 - }, - "end": { - "line": 556, - "column": 46 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 18755, - "end": 18765, - "loc": { - "start": { - "line": 556, - "column": 47 - }, - "end": { - "line": 556, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18765, - "end": 18766, - "loc": { - "start": { - "line": 556, - "column": 57 - }, - "end": { - "line": 556, - "column": 58 - } - } - }, - { - "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": 18774, - "end": 18778, - "loc": { - "start": { - "line": 557, - "column": 6 - }, - "end": { - "line": 557, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18778, - "end": 18779, - "loc": { - "start": { - "line": 557, - "column": 10 - }, - "end": { - "line": 557, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 18779, - "end": 18786, - "loc": { - "start": { - "line": 557, - "column": 11 - }, - "end": { - "line": 557, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18786, - "end": 18787, - "loc": { - "start": { - "line": 557, - "column": 18 - }, - "end": { - "line": 557, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onModulesLoaded", - "start": 18787, - "end": 18802, - "loc": { - "start": { - "line": 557, - "column": 19 - }, - "end": { - "line": 557, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18802, - "end": 18803, - "loc": { - "start": { - "line": 557, - "column": 34 - }, - "end": { - "line": 557, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18803, - "end": 18804, - "loc": { - "start": { - "line": 557, - "column": 35 - }, - "end": { - "line": 557, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18804, - "end": 18805, - "loc": { - "start": { - "line": 557, - "column": 36 - }, - "end": { - "line": 557, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18809, - "end": 18810, - "loc": { - "start": { - "line": 558, - "column": 2 - }, - "end": { - "line": 558, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Register module\r\n ", - "start": 18816, - "end": 18848, - "loc": { - "start": { - "line": 560, - "column": 2 - }, - "end": { - "line": 562, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "registerModule", - "start": 18852, - "end": 18866, - "loc": { - "start": { - "line": 563, - "column": 2 - }, - "end": { - "line": 563, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18867, - "end": 18868, - "loc": { - "start": { - "line": 563, - "column": 17 - }, - "end": { - "line": 563, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18869, - "end": 18870, - "loc": { - "start": { - "line": 563, - "column": 19 - }, - "end": { - "line": 563, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 18870, - "end": 18874, - "loc": { - "start": { - "line": 563, - "column": 20 - }, - "end": { - "line": 563, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18874, - "end": 18875, - "loc": { - "start": { - "line": 563, - "column": 24 - }, - "end": { - "line": 563, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initCallback", - "start": 18876, - "end": 18888, - "loc": { - "start": { - "line": 563, - "column": 26 - }, - "end": { - "line": 563, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18888, - "end": 18889, - "loc": { - "start": { - "line": 563, - "column": 38 - }, - "end": { - "line": 563, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18890, + "start": 18891, "end": 18892, "loc": { "start": { - "line": 563, - "column": 40 + "line": 559, + "column": 10 }, "end": { - "line": 563, - "column": 42 + "line": 559, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18892, + "end": 18893, + "loc": { + "start": { + "line": 559, + "column": 11 + }, + "end": { + "line": 559, + "column": 12 } } }, @@ -131994,12 +134321,12 @@ "end": 18894, "loc": { "start": { - "line": 563, - "column": 43 + "line": 559, + "column": 12 }, "end": { - "line": 563, - "column": 44 + "line": 559, + "column": 13 } } }, @@ -132022,11 +134349,11 @@ "end": 18902, "loc": { "start": { - "line": 564, + "line": 560, "column": 4 }, "end": { - "line": 564, + "line": 560, "column": 6 } } @@ -132047,18 +134374,19 @@ "end": 18903, "loc": { "start": { - "line": 564, + "line": 560, "column": 6 }, "end": { - "line": 564, + "line": 560, "column": 7 } } }, { "type": { - "label": "prefix", + "label": "typeof", + "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -132069,17 +134397,17 @@ "binop": null, "updateContext": null }, - "value": "!", + "value": "typeof", "start": 18903, - "end": 18904, + "end": 18909, "loc": { "start": { - "line": 564, + "line": 560, "column": 7 }, "end": { - "line": 564, - "column": 8 + "line": 560, + "column": 13 } } }, @@ -132098,16 +134426,16 @@ "updateContext": null }, "value": "this", - "start": 18904, - "end": 18908, + "start": 18910, + "end": 18914, "loc": { "start": { - "line": 564, - "column": 8 + "line": 560, + "column": 14 }, "end": { - "line": 564, - "column": 12 + "line": 560, + "column": 18 } } }, @@ -132124,16 +134452,16 @@ "binop": null, "updateContext": null }, - "start": 18908, - "end": 18909, + "start": 18914, + "end": 18915, "loc": { "start": { - "line": 564, - "column": 12 + "line": 560, + "column": 18 }, "end": { - "line": 564, - "column": 13 + "line": 560, + "column": 19 } } }, @@ -132149,75 +134477,23 @@ "postfix": false, "binop": null }, - "value": "modules", - "start": 18909, - "end": 18916, + "value": "options", + "start": 18915, + "end": 18922, "loc": { "start": { - "line": 564, - "column": 13 + "line": 560, + "column": 19 }, "end": { - "line": 564, - "column": 20 + "line": 560, + "column": 26 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18916, - "end": 18917, - "loc": { - "start": { - "line": 564, - "column": 20 - }, - "end": { - "line": 564, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 18917, - "end": 18921, - "loc": { - "start": { - "line": 564, - "column": 21 - }, - "end": { - "line": 564, - "column": 25 - } - } - }, - { - "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -132228,16 +134504,96 @@ "binop": null, "updateContext": null }, - "start": 18921, - "end": 18922, + "start": 18922, + "end": 18923, "loc": { "start": { - "line": 564, - "column": 25 + "line": 560, + "column": 26 }, "end": { - "line": 564, - "column": 26 + "line": 560, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onRender", + "start": 18923, + "end": 18931, + "loc": { + "start": { + "line": 560, + "column": 27 + }, + "end": { + "line": 560, + "column": 35 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 18932, + "end": 18935, + "loc": { + "start": { + "line": 560, + "column": 36 + }, + "end": { + "line": 560, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 18936, + "end": 18946, + "loc": { + "start": { + "line": 560, + "column": 40 + }, + "end": { + "line": 560, + "column": 50 } } }, @@ -132253,16 +134609,16 @@ "postfix": false, "binop": null }, - "start": 18922, - "end": 18923, + "start": 18946, + "end": 18947, "loc": { "start": { - "line": 564, - "column": 26 + "line": 560, + "column": 50 }, "end": { - "line": 564, - "column": 27 + "line": 560, + "column": 51 } } }, @@ -132281,15 +134637,15 @@ "updateContext": null }, "value": "this", - "start": 18931, - "end": 18935, + "start": 18955, + "end": 18959, "loc": { "start": { - "line": 565, + "line": 561, "column": 6 }, "end": { - "line": 565, + "line": 561, "column": 10 } } @@ -132307,15 +134663,15 @@ "binop": null, "updateContext": null }, - "start": 18935, - "end": 18936, + "start": 18959, + "end": 18960, "loc": { "start": { - "line": 565, + "line": 561, "column": 10 }, "end": { - "line": 565, + "line": 561, "column": 11 } } @@ -132332,25 +134688,25 @@ "postfix": false, "binop": null }, - "value": "modules", - "start": 18936, - "end": 18943, + "value": "options", + "start": 18960, + "end": 18967, "loc": { "start": { - "line": 565, + "line": 561, "column": 11 }, "end": { - "line": 565, + "line": 561, "column": 18 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -132359,15 +134715,15 @@ "binop": null, "updateContext": null }, - "start": 18943, - "end": 18944, + "start": 18967, + "end": 18968, "loc": { "start": { - "line": 565, + "line": 561, "column": 18 }, "end": { - "line": 565, + "line": 561, "column": 19 } } @@ -132384,172 +134740,17 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 18944, - "end": 18948, + "value": "onRender", + "start": 18968, + "end": 18976, "loc": { "start": { - "line": 565, + "line": 561, "column": 19 }, "end": { - "line": 565, - "column": 23 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18948, - "end": 18949, - "loc": { - "start": { - "line": 565, - "column": 23 - }, - "end": { - "line": 565, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18950, - "end": 18951, - "loc": { - "start": { - "line": 565, - "column": 25 - }, - "end": { - "line": 565, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18952, - "end": 18953, - "loc": { - "start": { - "line": 565, + "line": 561, "column": 27 - }, - "end": { - "line": 565, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18953, - "end": 18954, - "loc": { - "start": { - "line": 565, - "column": 28 - }, - "end": { - "line": 565, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18954, - "end": 18955, - "loc": { - "start": { - "line": 565, - "column": 29 - }, - "end": { - "line": 565, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initCallback", - "start": 18963, - "end": 18975, - "loc": { - "start": { - "line": 567, - "column": 4 - }, - "end": { - "line": 567, - "column": 16 } } }, @@ -132565,12 +134766,130 @@ "postfix": false, "binop": null }, - "start": 18975, - "end": 18976, + "start": 18976, + "end": 18977, + "loc": { + "start": { + "line": 561, + "column": 27 + }, + "end": { + "line": 561, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18977, + "end": 18978, + "loc": { + "start": { + "line": 561, + "column": 28 + }, + "end": { + "line": 561, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18978, + "end": 18979, + "loc": { + "start": { + "line": 561, + "column": 29 + }, + "end": { + "line": 561, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18983, + "end": 18984, + "loc": { + "start": { + "line": 562, + "column": 2 + }, + "end": { + "line": 562, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", + "start": 18989, + "end": 19068, + "loc": { + "start": { + "line": 564, + "column": 1 + }, + "end": { + "line": 566, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onModulesLoaded", + "start": 19072, + "end": 19087, "loc": { "start": { "line": 567, - "column": 16 + "column": 2 }, "end": { "line": 567, @@ -132578,6 +134897,162 @@ } } }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19087, + "end": 19088, + "loc": { + "start": { + "line": 567, + "column": 17 + }, + "end": { + "line": 567, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19088, + "end": 19089, + "loc": { + "start": { + "line": 567, + "column": 18 + }, + "end": { + "line": 567, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19089, + "end": 19090, + "loc": { + "start": { + "line": 567, + "column": 19 + }, + "end": { + "line": 567, + "column": 20 + } + } + }, + { + "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": 19096, + "end": 19098, + "loc": { + "start": { + "line": 568, + "column": 4 + }, + "end": { + "line": 568, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19098, + "end": 19099, + "loc": { + "start": { + "line": 568, + "column": 6 + }, + "end": { + "line": 568, + "column": 7 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 19099, + "end": 19105, + "loc": { + "start": { + "line": 568, + "column": 7 + }, + "end": { + "line": 568, + "column": 13 + } + } + }, { "type": { "label": "this", @@ -132593,16 +135068,16 @@ "updateContext": null }, "value": "this", - "start": 18976, - "end": 18980, + "start": 19106, + "end": 19110, "loc": { "start": { - "line": 567, - "column": 17 + "line": 568, + "column": 14 }, "end": { - "line": 567, - "column": 21 + "line": 568, + "column": 18 } } }, @@ -132619,16 +135094,16 @@ "binop": null, "updateContext": null }, - "start": 18980, - "end": 18981, + "start": 19110, + "end": 19111, "loc": { "start": { - "line": 567, - "column": 21 + "line": 568, + "column": 18 }, "end": { - "line": 567, - "column": 22 + "line": 568, + "column": 19 } } }, @@ -132644,75 +135119,23 @@ "postfix": false, "binop": null }, - "value": "modules", - "start": 18981, - "end": 18988, + "value": "options", + "start": 19111, + "end": 19118, "loc": { "start": { - "line": 567, - "column": 22 + "line": 568, + "column": 19 }, "end": { - "line": 567, - "column": 29 + "line": 568, + "column": 26 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18988, - "end": 18989, - "loc": { - "start": { - "line": 567, - "column": 29 - }, - "end": { - "line": 567, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 18989, - "end": 18993, - "loc": { - "start": { - "line": 567, - "column": 30 - }, - "end": { - "line": 567, - "column": 34 - } - } - }, - { - "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -132723,15 +135146,277 @@ "binop": null, "updateContext": null }, - "start": 18993, - "end": 18994, + "start": 19118, + "end": 19119, "loc": { "start": { - "line": 567, + "line": 568, + "column": 26 + }, + "end": { + "line": 568, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onModulesLoaded", + "start": 19119, + "end": 19134, + "loc": { + "start": { + "line": 568, + "column": 27 + }, + "end": { + "line": 568, + "column": 42 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 19135, + "end": 19138, + "loc": { + "start": { + "line": 568, + "column": 43 + }, + "end": { + "line": 568, + "column": 46 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 19139, + "end": 19149, + "loc": { + "start": { + "line": 568, + "column": 47 + }, + "end": { + "line": 568, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19149, + "end": 19150, + "loc": { + "start": { + "line": 568, + "column": 57 + }, + "end": { + "line": 568, + "column": 58 + } + } + }, + { + "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": 19158, + "end": 19162, + "loc": { + "start": { + "line": 569, + "column": 6 + }, + "end": { + "line": 569, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19162, + "end": 19163, + "loc": { + "start": { + "line": 569, + "column": 10 + }, + "end": { + "line": 569, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19163, + "end": 19170, + "loc": { + "start": { + "line": 569, + "column": 11 + }, + "end": { + "line": 569, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19170, + "end": 19171, + "loc": { + "start": { + "line": 569, + "column": 18 + }, + "end": { + "line": 569, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onModulesLoaded", + "start": 19171, + "end": 19186, + "loc": { + "start": { + "line": 569, + "column": 19 + }, + "end": { + "line": 569, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19186, + "end": 19187, + "loc": { + "start": { + "line": 569, "column": 34 }, "end": { - "line": 567, + "line": 569, "column": 35 } } @@ -132748,15 +135433,15 @@ "postfix": false, "binop": null }, - "start": 18994, - "end": 18995, + "start": 19187, + "end": 19188, "loc": { "start": { - "line": 567, + "line": 569, "column": 35 }, "end": { - "line": 567, + "line": 569, "column": 36 } } @@ -132774,15 +135459,15 @@ "binop": null, "updateContext": null }, - "start": 18995, - "end": 18996, + "start": 19188, + "end": 19189, "loc": { "start": { - "line": 567, + "line": 569, "column": 36 }, "end": { - "line": 567, + "line": 569, "column": 37 } } @@ -132799,31 +135484,31 @@ "postfix": false, "binop": null }, - "start": 19000, - "end": 19001, - "loc": { - "start": { - "line": 568, - "column": 2 - }, - "end": { - "line": 568, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Load modules\r\n ", - "start": 19007, - "end": 19036, + "start": 19193, + "end": 19194, "loc": { "start": { "line": 570, "column": 2 }, "end": { + "line": 570, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Register module\r\n ", + "start": 19200, + "end": 19232, + "loc": { + "start": { "line": 572, + "column": 2 + }, + "end": { + "line": 574, "column": 5 } } @@ -132840,798 +135525,20 @@ "postfix": false, "binop": null }, - "value": "loadModules", - "start": 19040, - "end": 19051, + "value": "registerModule", + "start": 19236, + "end": 19250, "loc": { "start": { - "line": 573, + "line": 575, "column": 2 }, "end": { - "line": 573, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19051, - "end": 19052, - "loc": { - "start": { - "line": 573, - "column": 13 - }, - "end": { - "line": 573, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19052, - "end": 19053, - "loc": { - "start": { - "line": 573, - "column": 14 - }, - "end": { - "line": 573, - "column": 15 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19053, - "end": 19054, - "loc": { - "start": { - "line": 573, - "column": 15 - }, - "end": { - "line": 573, + "line": 575, "column": 16 } } }, - { - "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": 19060, - "end": 19062, - "loc": { - "start": { - "line": 574, - "column": 4 - }, - "end": { - "line": 574, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19062, - "end": 19063, - "loc": { - "start": { - "line": 574, - "column": 6 - }, - "end": { - "line": 574, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Array", - "start": 19063, - "end": 19068, - "loc": { - "start": { - "line": 574, - "column": 7 - }, - "end": { - "line": 574, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19068, - "end": 19069, - "loc": { - "start": { - "line": 574, - "column": 12 - }, - "end": { - "line": 574, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isArray", - "start": 19069, - "end": 19076, - "loc": { - "start": { - "line": 574, - "column": 13 - }, - "end": { - "line": 574, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19076, - "end": 19077, - "loc": { - "start": { - "line": 574, - "column": 20 - }, - "end": { - "line": 574, - "column": 21 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 19077, - "end": 19081, - "loc": { - "start": { - "line": 574, - "column": 21 - }, - "end": { - "line": 574, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19081, - "end": 19082, - "loc": { - "start": { - "line": 574, - "column": 25 - }, - "end": { - "line": 574, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 19082, - "end": 19089, - "loc": { - "start": { - "line": 574, - "column": 26 - }, - "end": { - "line": 574, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19089, - "end": 19090, - "loc": { - "start": { - "line": 574, - "column": 33 - }, - "end": { - "line": 574, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "modules", - "start": 19090, - "end": 19097, - "loc": { - "start": { - "line": 574, - "column": 34 - }, - "end": { - "line": 574, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19097, - "end": 19098, - "loc": { - "start": { - "line": 574, - "column": 41 - }, - "end": { - "line": 574, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19098, - "end": 19099, - "loc": { - "start": { - "line": 574, - "column": 42 - }, - "end": { - "line": 574, - "column": 43 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19099, - "end": 19100, - "loc": { - "start": { - "line": 574, - "column": 43 - }, - "end": { - "line": 574, - "column": 44 - } - } - }, - { - "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": 19108, - "end": 19112, - "loc": { - "start": { - "line": 575, - "column": 6 - }, - "end": { - "line": 575, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19112, - "end": 19113, - "loc": { - "start": { - "line": 575, - "column": 10 - }, - "end": { - "line": 575, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 19113, - "end": 19120, - "loc": { - "start": { - "line": 575, - "column": 11 - }, - "end": { - "line": 575, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19120, - "end": 19121, - "loc": { - "start": { - "line": 575, - "column": 18 - }, - "end": { - "line": 575, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "modules", - "start": 19121, - "end": 19128, - "loc": { - "start": { - "line": 575, - "column": 19 - }, - "end": { - "line": 575, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19128, - "end": 19129, - "loc": { - "start": { - "line": 575, - "column": 26 - }, - "end": { - "line": 575, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 19129, - "end": 19136, - "loc": { - "start": { - "line": 575, - "column": 27 - }, - "end": { - "line": 575, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19136, - "end": 19137, - "loc": { - "start": { - "line": 575, - "column": 34 - }, - "end": { - "line": 575, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Module", - "start": 19137, - "end": 19143, - "loc": { - "start": { - "line": 575, - "column": 35 - }, - "end": { - "line": 575, - "column": 41 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19144, - "end": 19146, - "loc": { - "start": { - "line": 575, - "column": 42 - }, - "end": { - "line": 575, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19147, - "end": 19148, - "loc": { - "start": { - "line": 575, - "column": 45 - }, - "end": { - "line": 575, - "column": 46 - } - } - }, - { - "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": 19158, - "end": 19161, - "loc": { - "start": { - "line": 576, - "column": 8 - }, - "end": { - "line": 576, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 19162, - "end": 19168, - "loc": { - "start": { - "line": 576, - "column": 12 - }, - "end": { - "line": 576, - "column": 18 - } - } - }, { "type": { "label": "=", @@ -133646,70 +135553,16 @@ "updateContext": null }, "value": "=", - "start": 19169, - "end": 19170, + "start": 19251, + "end": 19252, "loc": { "start": { - "line": 576, - "column": 19 + "line": 575, + "column": 17 }, "end": { - "line": 576, - "column": 20 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 19171, - "end": 19174, - "loc": { - "start": { - "line": 576, - "column": 21 - }, - "end": { - "line": 576, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Module", - "start": 19175, - "end": 19181, - "loc": { - "start": { - "line": 576, - "column": 25 - }, - "end": { - "line": 576, - "column": 31 + "line": 575, + "column": 18 } } }, @@ -133725,240 +135578,16 @@ "postfix": false, "binop": null }, - "start": 19181, - "end": 19182, - "loc": { - "start": { - "line": 576, - "column": 31 - }, - "end": { - "line": 576, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19182, - "end": 19183, - "loc": { - "start": { - "line": 576, - "column": 32 - }, - "end": { - "line": 576, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19183, - "end": 19184, - "loc": { - "start": { - "line": 576, - "column": 33 - }, - "end": { - "line": 576, - "column": 34 - } - } - }, - { - "type": "CommentBlock", - "value": " istanbul ignore next ", - "start": 19196, - "end": 19222, - "loc": { - "start": { - "line": 578, - "column": 8 - }, - "end": { - "line": 578, - "column": 34 - } - } - }, - { - "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": 19232, - "end": 19234, - "loc": { - "start": { - "line": 579, - "column": 8 - }, - "end": { - "line": 579, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19234, - "end": 19235, - "loc": { - "start": { - "line": 579, - "column": 10 - }, - "end": { - "line": 579, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 19235, - "end": 19241, - "loc": { - "start": { - "line": 579, - "column": 11 - }, - "end": { - "line": 579, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19241, - "end": 19242, - "loc": { - "start": { - "line": 579, - "column": 17 - }, - "end": { - "line": 579, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 19242, - "end": 19253, - "loc": { - "start": { - "line": 579, - "column": 18 - }, - "end": { - "line": 579, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, "start": 19253, "end": 19254, "loc": { "start": { - "line": 579, - "column": 29 + "line": 575, + "column": 19 }, "end": { - "line": 579, - "column": 30 + "line": 575, + "column": 20 } } }, @@ -133977,6 +135606,841 @@ "value": "name", "start": 19254, "end": 19258, + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19258, + "end": 19259, + "loc": { + "start": { + "line": 575, + "column": 24 + }, + "end": { + "line": 575, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initCallback", + "start": 19260, + "end": 19272, + "loc": { + "start": { + "line": 575, + "column": 26 + }, + "end": { + "line": 575, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19272, + "end": 19273, + "loc": { + "start": { + "line": 575, + "column": 38 + }, + "end": { + "line": 575, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19274, + "end": 19276, + "loc": { + "start": { + "line": 575, + "column": 40 + }, + "end": { + "line": 575, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19277, + "end": 19278, + "loc": { + "start": { + "line": 575, + "column": 43 + }, + "end": { + "line": 575, + "column": 44 + } + } + }, + { + "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": 19284, + "end": 19286, + "loc": { + "start": { + "line": 576, + "column": 4 + }, + "end": { + "line": 576, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19286, + "end": 19287, + "loc": { + "start": { + "line": 576, + "column": 6 + }, + "end": { + "line": 576, + "column": 7 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 19287, + "end": 19288, + "loc": { + "start": { + "line": 576, + "column": 7 + }, + "end": { + "line": 576, + "column": 8 + } + } + }, + { + "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": 19288, + "end": 19292, + "loc": { + "start": { + "line": 576, + "column": 8 + }, + "end": { + "line": 576, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19292, + "end": 19293, + "loc": { + "start": { + "line": 576, + "column": 12 + }, + "end": { + "line": 576, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 19293, + "end": 19300, + "loc": { + "start": { + "line": 576, + "column": 13 + }, + "end": { + "line": 576, + "column": 20 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19300, + "end": 19301, + "loc": { + "start": { + "line": 576, + "column": 20 + }, + "end": { + "line": 576, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 19301, + "end": 19305, + "loc": { + "start": { + "line": 576, + "column": 21 + }, + "end": { + "line": 576, + "column": 25 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19305, + "end": 19306, + "loc": { + "start": { + "line": 576, + "column": 25 + }, + "end": { + "line": 576, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19306, + "end": 19307, + "loc": { + "start": { + "line": 576, + "column": 26 + }, + "end": { + "line": 576, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 19315, + "end": 19319, + "loc": { + "start": { + "line": 577, + "column": 6 + }, + "end": { + "line": 577, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19319, + "end": 19320, + "loc": { + "start": { + "line": 577, + "column": 10 + }, + "end": { + "line": 577, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 19320, + "end": 19327, + "loc": { + "start": { + "line": 577, + "column": 11 + }, + "end": { + "line": 577, + "column": 18 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19327, + "end": 19328, + "loc": { + "start": { + "line": 577, + "column": 18 + }, + "end": { + "line": 577, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 19328, + "end": 19332, + "loc": { + "start": { + "line": 577, + "column": 19 + }, + "end": { + "line": 577, + "column": 23 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19332, + "end": 19333, + "loc": { + "start": { + "line": 577, + "column": 23 + }, + "end": { + "line": 577, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19334, + "end": 19335, + "loc": { + "start": { + "line": 577, + "column": 25 + }, + "end": { + "line": 577, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19336, + "end": 19337, + "loc": { + "start": { + "line": 577, + "column": 27 + }, + "end": { + "line": 577, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19337, + "end": 19338, + "loc": { + "start": { + "line": 577, + "column": 28 + }, + "end": { + "line": 577, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19338, + "end": 19339, + "loc": { + "start": { + "line": 577, + "column": 29 + }, + "end": { + "line": 577, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initCallback", + "start": 19347, + "end": 19359, + "loc": { + "start": { + "line": 579, + "column": 4 + }, + "end": { + "line": 579, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19359, + "end": 19360, + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 17 + } + } + }, + { + "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": 19360, + "end": 19364, + "loc": { + "start": { + "line": 579, + "column": 17 + }, + "end": { + "line": 579, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19364, + "end": 19365, + "loc": { + "start": { + "line": 579, + "column": 21 + }, + "end": { + "line": 579, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 19365, + "end": 19372, + "loc": { + "start": { + "line": 579, + "column": 22 + }, + "end": { + "line": 579, + "column": 29 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19372, + "end": 19373, + "loc": { + "start": { + "line": 579, + "column": 29 + }, + "end": { + "line": 579, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 19373, + "end": 19377, "loc": { "start": { "line": 579, @@ -133988,6 +136452,1284 @@ } } }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19377, + "end": 19378, + "loc": { + "start": { + "line": 579, + "column": 34 + }, + "end": { + "line": 579, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19378, + "end": 19379, + "loc": { + "start": { + "line": 579, + "column": 35 + }, + "end": { + "line": 579, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19379, + "end": 19380, + "loc": { + "start": { + "line": 579, + "column": 36 + }, + "end": { + "line": 579, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19384, + "end": 19385, + "loc": { + "start": { + "line": 580, + "column": 2 + }, + "end": { + "line": 580, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Load modules\r\n ", + "start": 19391, + "end": 19420, + "loc": { + "start": { + "line": 582, + "column": 2 + }, + "end": { + "line": 584, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "loadModules", + "start": 19424, + "end": 19435, + "loc": { + "start": { + "line": 585, + "column": 2 + }, + "end": { + "line": 585, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19435, + "end": 19436, + "loc": { + "start": { + "line": 585, + "column": 13 + }, + "end": { + "line": 585, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19436, + "end": 19437, + "loc": { + "start": { + "line": 585, + "column": 14 + }, + "end": { + "line": 585, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19437, + "end": 19438, + "loc": { + "start": { + "line": 585, + "column": 15 + }, + "end": { + "line": 585, + "column": 16 + } + } + }, + { + "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": 19444, + "end": 19446, + "loc": { + "start": { + "line": 586, + "column": 4 + }, + "end": { + "line": 586, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19446, + "end": 19447, + "loc": { + "start": { + "line": 586, + "column": 6 + }, + "end": { + "line": 586, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 19447, + "end": 19452, + "loc": { + "start": { + "line": 586, + "column": 7 + }, + "end": { + "line": 586, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19452, + "end": 19453, + "loc": { + "start": { + "line": 586, + "column": 12 + }, + "end": { + "line": 586, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isArray", + "start": 19453, + "end": 19460, + "loc": { + "start": { + "line": 586, + "column": 13 + }, + "end": { + "line": 586, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19460, + "end": 19461, + "loc": { + "start": { + "line": 586, + "column": 20 + }, + "end": { + "line": 586, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 19461, + "end": 19465, + "loc": { + "start": { + "line": 586, + "column": 21 + }, + "end": { + "line": 586, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19465, + "end": 19466, + "loc": { + "start": { + "line": 586, + "column": 25 + }, + "end": { + "line": 586, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19466, + "end": 19473, + "loc": { + "start": { + "line": 586, + "column": 26 + }, + "end": { + "line": 586, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19473, + "end": 19474, + "loc": { + "start": { + "line": 586, + "column": 33 + }, + "end": { + "line": 586, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 19474, + "end": 19481, + "loc": { + "start": { + "line": 586, + "column": 34 + }, + "end": { + "line": 586, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19481, + "end": 19482, + "loc": { + "start": { + "line": 586, + "column": 41 + }, + "end": { + "line": 586, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19482, + "end": 19483, + "loc": { + "start": { + "line": 586, + "column": 42 + }, + "end": { + "line": 586, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19483, + "end": 19484, + "loc": { + "start": { + "line": 586, + "column": 43 + }, + "end": { + "line": 586, + "column": 44 + } + } + }, + { + "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": 19492, + "end": 19496, + "loc": { + "start": { + "line": 587, + "column": 6 + }, + "end": { + "line": 587, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19496, + "end": 19497, + "loc": { + "start": { + "line": 587, + "column": 10 + }, + "end": { + "line": 587, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 19497, + "end": 19504, + "loc": { + "start": { + "line": 587, + "column": 11 + }, + "end": { + "line": 587, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19504, + "end": 19505, + "loc": { + "start": { + "line": 587, + "column": 18 + }, + "end": { + "line": 587, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "modules", + "start": 19505, + "end": 19512, + "loc": { + "start": { + "line": 587, + "column": 19 + }, + "end": { + "line": 587, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19512, + "end": 19513, + "loc": { + "start": { + "line": 587, + "column": 26 + }, + "end": { + "line": 587, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 19513, + "end": 19520, + "loc": { + "start": { + "line": 587, + "column": 27 + }, + "end": { + "line": 587, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19520, + "end": 19521, + "loc": { + "start": { + "line": 587, + "column": 34 + }, + "end": { + "line": 587, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Module", + "start": 19521, + "end": 19527, + "loc": { + "start": { + "line": 587, + "column": 35 + }, + "end": { + "line": 587, + "column": 41 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19528, + "end": 19530, + "loc": { + "start": { + "line": 587, + "column": 42 + }, + "end": { + "line": 587, + "column": 44 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19531, + "end": 19532, + "loc": { + "start": { + "line": 587, + "column": 45 + }, + "end": { + "line": 587, + "column": 46 + } + } + }, + { + "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": 19542, + "end": 19545, + "loc": { + "start": { + "line": 588, + "column": 8 + }, + "end": { + "line": 588, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 19546, + "end": 19552, + "loc": { + "start": { + "line": 588, + "column": 12 + }, + "end": { + "line": 588, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 19553, + "end": 19554, + "loc": { + "start": { + "line": 588, + "column": 19 + }, + "end": { + "line": 588, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 19555, + "end": 19558, + "loc": { + "start": { + "line": 588, + "column": 21 + }, + "end": { + "line": 588, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Module", + "start": 19559, + "end": 19565, + "loc": { + "start": { + "line": 588, + "column": 25 + }, + "end": { + "line": 588, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19565, + "end": 19566, + "loc": { + "start": { + "line": 588, + "column": 31 + }, + "end": { + "line": 588, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19566, + "end": 19567, + "loc": { + "start": { + "line": 588, + "column": 32 + }, + "end": { + "line": 588, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19567, + "end": 19568, + "loc": { + "start": { + "line": 588, + "column": 33 + }, + "end": { + "line": 588, + "column": 34 + } + } + }, + { + "type": "CommentBlock", + "value": " istanbul ignore next ", + "start": 19580, + "end": 19606, + "loc": { + "start": { + "line": 590, + "column": 8 + }, + "end": { + "line": 590, + "column": 34 + } + } + }, + { + "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": 19616, + "end": 19618, + "loc": { + "start": { + "line": 591, + "column": 8 + }, + "end": { + "line": 591, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19618, + "end": 19619, + "loc": { + "start": { + "line": 591, + "column": 10 + }, + "end": { + "line": 591, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 19619, + "end": 19625, + "loc": { + "start": { + "line": 591, + "column": 11 + }, + "end": { + "line": 591, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19625, + "end": 19626, + "loc": { + "start": { + "line": 591, + "column": 17 + }, + "end": { + "line": 591, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 19626, + "end": 19637, + "loc": { + "start": { + "line": 591, + "column": 18 + }, + "end": { + "line": 591, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 19637, + "end": 19638, + "loc": { + "start": { + "line": 591, + "column": 29 + }, + "end": { + "line": 591, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 19638, + "end": 19642, + "loc": { + "start": { + "line": 591, + "column": 30 + }, + "end": { + "line": 591, + "column": 34 + } + } + }, { "type": { "label": "&&", @@ -134002,15 +137744,15 @@ "updateContext": null }, "value": "&&", - "start": 19259, - "end": 19261, + "start": 19643, + "end": 19645, "loc": { "start": { - "line": 579, + "line": 591, "column": 35 }, "end": { - "line": 579, + "line": 591, "column": 37 } } @@ -134028,15 +137770,15 @@ "binop": null }, "value": "module", - "start": 19262, - "end": 19268, + "start": 19646, + "end": 19652, "loc": { "start": { - "line": 579, + "line": 591, "column": 38 }, "end": { - "line": 579, + "line": 591, "column": 44 } } @@ -134054,15 +137796,15 @@ "binop": null, "updateContext": null }, - "start": 19268, - "end": 19269, + "start": 19652, + "end": 19653, "loc": { "start": { - "line": 579, + "line": 591, "column": 44 }, "end": { - "line": 579, + "line": 591, "column": 45 } } @@ -134080,15 +137822,15 @@ "binop": null }, "value": "constructor", - "start": 19269, - "end": 19280, + "start": 19653, + "end": 19664, "loc": { "start": { - "line": 579, + "line": 591, "column": 45 }, "end": { - "line": 579, + "line": 591, "column": 56 } } @@ -134106,15 +137848,15 @@ "binop": null, "updateContext": null }, - "start": 19280, - "end": 19281, + "start": 19664, + "end": 19665, "loc": { "start": { - "line": 579, + "line": 591, "column": 56 }, "end": { - "line": 579, + "line": 591, "column": 57 } } @@ -134132,15 +137874,15 @@ "binop": null }, "value": "name", - "start": 19281, - "end": 19285, + "start": 19665, + "end": 19669, "loc": { "start": { - "line": 579, + "line": 591, "column": 57 }, "end": { - "line": 579, + "line": 591, "column": 61 } } @@ -134159,15 +137901,15 @@ "updateContext": null }, "value": "!==", - "start": 19286, - "end": 19289, + "start": 19670, + "end": 19673, "loc": { "start": { - "line": 579, + "line": 591, "column": 62 }, "end": { - "line": 579, + "line": 591, "column": 65 } } @@ -134186,15 +137928,15 @@ "updateContext": null }, "value": "Function", - "start": 19290, - "end": 19300, + "start": 19674, + "end": 19684, "loc": { "start": { - "line": 579, + "line": 591, "column": 66 }, "end": { - "line": 579, + "line": 591, "column": 76 } } @@ -134211,15 +137953,15 @@ "postfix": false, "binop": null }, - "start": 19300, - "end": 19301, + "start": 19684, + "end": 19685, "loc": { "start": { - "line": 579, + "line": 591, "column": 76 }, "end": { - "line": 579, + "line": 591, "column": 77 } } @@ -134236,15 +137978,15 @@ "postfix": false, "binop": null }, - "start": 19301, - "end": 19302, + "start": 19685, + "end": 19686, "loc": { "start": { - "line": 579, + "line": 591, "column": 77 }, "end": { - "line": 579, + "line": 591, "column": 78 } } @@ -134264,15 +138006,15 @@ "updateContext": null }, "value": "let", - "start": 19314, - "end": 19317, + "start": 19698, + "end": 19701, "loc": { "start": { - "line": 580, + "line": 592, "column": 10 }, "end": { - "line": 580, + "line": 592, "column": 13 } } @@ -134290,15 +138032,15 @@ "binop": null }, "value": "classStr", - "start": 19318, - "end": 19326, + "start": 19702, + "end": 19710, "loc": { "start": { - "line": 580, + "line": 592, "column": 14 }, "end": { - "line": 580, + "line": 592, "column": 22 } } @@ -134317,15 +138059,15 @@ "updateContext": null }, "value": "=", - "start": 19327, - "end": 19328, + "start": 19711, + "end": 19712, "loc": { "start": { - "line": 580, + "line": 592, "column": 23 }, "end": { - "line": 580, + "line": 592, "column": 24 } } @@ -134342,15 +138084,15 @@ "postfix": false, "binop": null }, - "start": 19329, - "end": 19330, + "start": 19713, + "end": 19714, "loc": { "start": { - "line": 580, + "line": 592, "column": 25 }, "end": { - "line": 580, + "line": 592, "column": 26 } } @@ -134369,15 +138111,15 @@ "updateContext": null }, "value": "module-", - "start": 19330, - "end": 19337, + "start": 19714, + "end": 19721, "loc": { "start": { - "line": 580, + "line": 592, "column": 26 }, "end": { - "line": 580, + "line": 592, "column": 33 } } @@ -134394,15 +138136,15 @@ "postfix": false, "binop": null }, - "start": 19337, - "end": 19339, + "start": 19721, + "end": 19723, "loc": { "start": { - "line": 580, + "line": 592, "column": 33 }, "end": { - "line": 580, + "line": 592, "column": 35 } } @@ -134422,15 +138164,15 @@ "updateContext": null }, "value": "this", - "start": 19339, - "end": 19343, + "start": 19723, + "end": 19727, "loc": { "start": { - "line": 580, + "line": 592, "column": 35 }, "end": { - "line": 580, + "line": 592, "column": 39 } } @@ -134448,15 +138190,15 @@ "binop": null, "updateContext": null }, - "start": 19343, - "end": 19344, + "start": 19727, + "end": 19728, "loc": { "start": { - "line": 580, + "line": 592, "column": 39 }, "end": { - "line": 580, + "line": 592, "column": 40 } } @@ -134474,15 +138216,15 @@ "binop": null }, "value": "utilities", - "start": 19344, - "end": 19353, + "start": 19728, + "end": 19737, "loc": { "start": { - "line": 580, + "line": 592, "column": 40 }, "end": { - "line": 580, + "line": 592, "column": 49 } } @@ -134500,15 +138242,15 @@ "binop": null, "updateContext": null }, - "start": 19353, - "end": 19354, + "start": 19737, + "end": 19738, "loc": { "start": { - "line": 580, + "line": 592, "column": 49 }, "end": { - "line": 580, + "line": 592, "column": 50 } } @@ -134526,15 +138268,15 @@ "binop": null }, "value": "camelCase", - "start": 19354, - "end": 19363, + "start": 19738, + "end": 19747, "loc": { "start": { - "line": 580, + "line": 592, "column": 50 }, "end": { - "line": 580, + "line": 592, "column": 59 } } @@ -134551,15 +138293,15 @@ "postfix": false, "binop": null }, - "start": 19363, - "end": 19364, + "start": 19747, + "end": 19748, "loc": { "start": { - "line": 580, + "line": 592, "column": 59 }, "end": { - "line": 580, + "line": 592, "column": 60 } } @@ -134577,15 +138319,15 @@ "binop": null }, "value": "module", - "start": 19364, - "end": 19370, + "start": 19748, + "end": 19754, "loc": { "start": { - "line": 580, + "line": 592, "column": 60 }, "end": { - "line": 580, + "line": 592, "column": 66 } } @@ -134603,15 +138345,15 @@ "binop": null, "updateContext": null }, - "start": 19370, - "end": 19371, + "start": 19754, + "end": 19755, "loc": { "start": { - "line": 580, + "line": 592, "column": 66 }, "end": { - "line": 580, + "line": 592, "column": 67 } } @@ -134629,15 +138371,15 @@ "binop": null }, "value": "constructor", - "start": 19371, - "end": 19382, + "start": 19755, + "end": 19766, "loc": { "start": { - "line": 580, + "line": 592, "column": 67 }, "end": { - "line": 580, + "line": 592, "column": 78 } } @@ -134655,15 +138397,15 @@ "binop": null, "updateContext": null }, - "start": 19382, - "end": 19383, + "start": 19766, + "end": 19767, "loc": { "start": { - "line": 580, + "line": 592, "column": 78 }, "end": { - "line": 580, + "line": 592, "column": 79 } } @@ -134681,15 +138423,15 @@ "binop": null }, "value": "name", - "start": 19383, - "end": 19387, + "start": 19767, + "end": 19771, "loc": { "start": { - "line": 580, + "line": 592, "column": 79 }, "end": { - "line": 580, + "line": 592, "column": 83 } } @@ -134706,15 +138448,15 @@ "postfix": false, "binop": null }, - "start": 19387, - "end": 19388, + "start": 19771, + "end": 19772, "loc": { "start": { - "line": 580, + "line": 592, "column": 83 }, "end": { - "line": 580, + "line": 592, "column": 84 } } @@ -134731,15 +138473,15 @@ "postfix": false, "binop": null }, - "start": 19388, - "end": 19389, + "start": 19772, + "end": 19773, "loc": { "start": { - "line": 580, + "line": 592, "column": 84 }, "end": { - "line": 580, + "line": 592, "column": 85 } } @@ -134758,15 +138500,15 @@ "updateContext": null }, "value": "", - "start": 19389, - "end": 19389, + "start": 19773, + "end": 19773, "loc": { "start": { - "line": 580, + "line": 592, "column": 85 }, "end": { - "line": 580, + "line": 592, "column": 85 } } @@ -134783,15 +138525,15 @@ "postfix": false, "binop": null }, - "start": 19389, - "end": 19390, + "start": 19773, + "end": 19774, "loc": { "start": { - "line": 580, + "line": 592, "column": 85 }, "end": { - "line": 580, + "line": 592, "column": 86 } } @@ -134809,15 +138551,15 @@ "binop": null, "updateContext": null }, - "start": 19390, - "end": 19391, + "start": 19774, + "end": 19775, "loc": { "start": { - "line": 580, + "line": 592, "column": 86 }, "end": { - "line": 580, + "line": 592, "column": 87 } } @@ -134837,15 +138579,15 @@ "updateContext": null }, "value": "this", - "start": 19403, - "end": 19407, + "start": 19787, + "end": 19791, "loc": { "start": { - "line": 581, + "line": 593, "column": 10 }, "end": { - "line": 581, + "line": 593, "column": 14 } } @@ -134863,15 +138605,15 @@ "binop": null, "updateContext": null }, - "start": 19407, - "end": 19408, + "start": 19791, + "end": 19792, "loc": { "start": { - "line": 581, + "line": 593, "column": 14 }, "end": { - "line": 581, + "line": 593, "column": 15 } } @@ -134889,15 +138631,15 @@ "binop": null }, "value": "keyboardPluginClasses", - "start": 19408, - "end": 19429, + "start": 19792, + "end": 19813, "loc": { "start": { - "line": 581, + "line": 593, "column": 15 }, "end": { - "line": 581, + "line": 593, "column": 36 } } @@ -134916,15 +138658,15 @@ "updateContext": null }, "value": "=", - "start": 19430, - "end": 19431, + "start": 19814, + "end": 19815, "loc": { "start": { - "line": 581, + "line": 593, "column": 37 }, "end": { - "line": 581, + "line": 593, "column": 38 } } @@ -134944,15 +138686,15 @@ "updateContext": null }, "value": "this", - "start": 19432, - "end": 19436, + "start": 19816, + "end": 19820, "loc": { "start": { - "line": 581, + "line": 593, "column": 39 }, "end": { - "line": 581, + "line": 593, "column": 43 } } @@ -134970,15 +138712,15 @@ "binop": null, "updateContext": null }, - "start": 19436, - "end": 19437, + "start": 19820, + "end": 19821, "loc": { "start": { - "line": 581, + "line": 593, "column": 43 }, "end": { - "line": 581, + "line": 593, "column": 44 } } @@ -134996,15 +138738,15 @@ "binop": null }, "value": "keyboardPluginClasses", - "start": 19437, - "end": 19458, + "start": 19821, + "end": 19842, "loc": { "start": { - "line": 581, + "line": 593, "column": 44 }, "end": { - "line": 581, + "line": 593, "column": 65 } } @@ -135023,15 +138765,15 @@ "updateContext": null }, "value": "+", - "start": 19459, - "end": 19460, + "start": 19843, + "end": 19844, "loc": { "start": { - "line": 581, + "line": 593, "column": 66 }, "end": { - "line": 581, + "line": 593, "column": 67 } } @@ -135048,15 +138790,15 @@ "postfix": false, "binop": null }, - "start": 19461, - "end": 19462, + "start": 19845, + "end": 19846, "loc": { "start": { - "line": 581, + "line": 593, "column": 68 }, "end": { - "line": 581, + "line": 593, "column": 69 } } @@ -135075,15 +138817,15 @@ "updateContext": null }, "value": " ", - "start": 19462, - "end": 19463, + "start": 19846, + "end": 19847, "loc": { "start": { - "line": 581, + "line": 593, "column": 69 }, "end": { - "line": 581, + "line": 593, "column": 70 } } @@ -135100,15 +138842,15 @@ "postfix": false, "binop": null }, - "start": 19463, - "end": 19465, + "start": 19847, + "end": 19849, "loc": { "start": { - "line": 581, + "line": 593, "column": 70 }, "end": { - "line": 581, + "line": 593, "column": 72 } } @@ -135126,15 +138868,15 @@ "binop": null }, "value": "classStr", - "start": 19465, - "end": 19473, + "start": 19849, + "end": 19857, "loc": { "start": { - "line": 581, + "line": 593, "column": 72 }, "end": { - "line": 581, + "line": 593, "column": 80 } } @@ -135151,15 +138893,15 @@ "postfix": false, "binop": null }, - "start": 19473, - "end": 19474, + "start": 19857, + "end": 19858, "loc": { "start": { - "line": 581, + "line": 593, "column": 80 }, "end": { - "line": 581, + "line": 593, "column": 81 } } @@ -135178,15 +138920,15 @@ "updateContext": null }, "value": "", - "start": 19474, - "end": 19474, + "start": 19858, + "end": 19858, "loc": { "start": { - "line": 581, + "line": 593, "column": 81 }, "end": { - "line": 581, + "line": 593, "column": 81 } } @@ -135203,15 +138945,15 @@ "postfix": false, "binop": null }, - "start": 19474, - "end": 19475, + "start": 19858, + "end": 19859, "loc": { "start": { - "line": 581, + "line": 593, "column": 81 }, "end": { - "line": 581, + "line": 593, "column": 82 } } @@ -135229,15 +138971,15 @@ "binop": null, "updateContext": null }, - "start": 19475, - "end": 19476, + "start": 19859, + "end": 19860, "loc": { "start": { - "line": 581, + "line": 593, "column": 82 }, "end": { - "line": 581, + "line": 593, "column": 83 } } @@ -135254,15 +138996,15 @@ "postfix": false, "binop": null }, - "start": 19486, - "end": 19487, + "start": 19870, + "end": 19871, "loc": { "start": { - "line": 582, + "line": 594, "column": 8 }, "end": { - "line": 582, + "line": 594, "column": 9 } } @@ -135280,15 +139022,15 @@ "binop": null }, "value": "module", - "start": 19499, - "end": 19505, + "start": 19883, + "end": 19889, "loc": { "start": { - "line": 584, + "line": 596, "column": 8 }, "end": { - "line": 584, + "line": 596, "column": 14 } } @@ -135306,15 +139048,15 @@ "binop": null, "updateContext": null }, - "start": 19505, - "end": 19506, + "start": 19889, + "end": 19890, "loc": { "start": { - "line": 584, + "line": 596, "column": 14 }, "end": { - "line": 584, + "line": 596, "column": 15 } } @@ -135332,15 +139074,15 @@ "binop": null }, "value": "init", - "start": 19506, - "end": 19510, + "start": 19890, + "end": 19894, "loc": { "start": { - "line": 584, + "line": 596, "column": 15 }, "end": { - "line": 584, + "line": 596, "column": 19 } } @@ -135357,15 +139099,15 @@ "postfix": false, "binop": null }, - "start": 19510, - "end": 19511, + "start": 19894, + "end": 19895, "loc": { "start": { - "line": 584, + "line": 596, "column": 19 }, "end": { - "line": 584, + "line": 596, "column": 20 } } @@ -135385,15 +139127,15 @@ "updateContext": null }, "value": "this", - "start": 19511, - "end": 19515, + "start": 19895, + "end": 19899, "loc": { "start": { - "line": 584, + "line": 596, "column": 20 }, "end": { - "line": 584, + "line": 596, "column": 24 } } @@ -135410,15 +139152,15 @@ "postfix": false, "binop": null }, - "start": 19515, - "end": 19516, + "start": 19899, + "end": 19900, "loc": { "start": { - "line": 584, + "line": 596, "column": 24 }, "end": { - "line": 584, + "line": 596, "column": 25 } } @@ -135436,15 +139178,15 @@ "binop": null, "updateContext": null }, - "start": 19516, - "end": 19517, + "start": 19900, + "end": 19901, "loc": { "start": { - "line": 584, + "line": 596, "column": 25 }, "end": { - "line": 584, + "line": 596, "column": 26 } } @@ -135461,15 +139203,15 @@ "postfix": false, "binop": null }, - "start": 19525, - "end": 19526, + "start": 19909, + "end": 19910, "loc": { "start": { - "line": 585, + "line": 597, "column": 6 }, "end": { - "line": 585, + "line": 597, "column": 7 } } @@ -135486,15 +139228,15 @@ "postfix": false, "binop": null }, - "start": 19526, - "end": 19527, + "start": 19910, + "end": 19911, "loc": { "start": { - "line": 585, + "line": 597, "column": 7 }, "end": { - "line": 585, + "line": 597, "column": 8 } } @@ -135512,15 +139254,15 @@ "binop": null, "updateContext": null }, - "start": 19527, - "end": 19528, + "start": 19911, + "end": 19912, "loc": { "start": { - "line": 585, + "line": 597, "column": 8 }, "end": { - "line": 585, + "line": 597, "column": 9 } } @@ -135540,15 +139282,15 @@ "updateContext": null }, "value": "this", - "start": 19538, - "end": 19542, + "start": 19922, + "end": 19926, "loc": { "start": { - "line": 587, + "line": 599, "column": 6 }, "end": { - "line": 587, + "line": 599, "column": 10 } } @@ -135566,15 +139308,15 @@ "binop": null, "updateContext": null }, - "start": 19542, - "end": 19543, + "start": 19926, + "end": 19927, "loc": { "start": { - "line": 587, + "line": 599, "column": 10 }, "end": { - "line": 587, + "line": 599, "column": 11 } } @@ -135592,15 +139334,15 @@ "binop": null }, "value": "keyboardPluginClasses", - "start": 19543, - "end": 19564, + "start": 19927, + "end": 19948, "loc": { "start": { - "line": 587, + "line": 599, "column": 11 }, "end": { - "line": 587, + "line": 599, "column": 32 } } @@ -135619,15 +139361,15 @@ "updateContext": null }, "value": "=", - "start": 19565, - "end": 19566, + "start": 19949, + "end": 19950, "loc": { "start": { - "line": 587, + "line": 599, "column": 33 }, "end": { - "line": 587, + "line": 599, "column": 34 } } @@ -135647,15 +139389,15 @@ "updateContext": null }, "value": "this", - "start": 19567, - "end": 19571, + "start": 19951, + "end": 19955, "loc": { "start": { - "line": 587, + "line": 599, "column": 35 }, "end": { - "line": 587, + "line": 599, "column": 39 } } @@ -135673,15 +139415,15 @@ "binop": null, "updateContext": null }, - "start": 19571, - "end": 19572, + "start": 19955, + "end": 19956, "loc": { "start": { - "line": 587, + "line": 599, "column": 39 }, "end": { - "line": 587, + "line": 599, "column": 40 } } @@ -135699,15 +139441,15 @@ "binop": null }, "value": "keyboardPluginClasses", - "start": 19572, - "end": 19593, + "start": 19956, + "end": 19977, "loc": { "start": { - "line": 587, + "line": 599, "column": 40 }, "end": { - "line": 587, + "line": 599, "column": 61 } } @@ -135726,15 +139468,15 @@ "updateContext": null }, "value": "+", - "start": 19594, - "end": 19595, + "start": 19978, + "end": 19979, "loc": { "start": { - "line": 587, + "line": 599, "column": 62 }, "end": { - "line": 587, + "line": 599, "column": 63 } } @@ -135753,15 +139495,15 @@ "updateContext": null }, "value": " modules-loaded", - "start": 19596, - "end": 19613, + "start": 19980, + "end": 19997, "loc": { "start": { - "line": 587, + "line": 599, "column": 64 }, "end": { - "line": 587, + "line": 599, "column": 81 } } @@ -135779,15 +139521,15 @@ "binop": null, "updateContext": null }, - "start": 19613, - "end": 19614, + "start": 19997, + "end": 19998, "loc": { "start": { - "line": 587, + "line": 599, "column": 81 }, "end": { - "line": 587, + "line": 599, "column": 82 } } @@ -135807,15 +139549,15 @@ "updateContext": null }, "value": "this", - "start": 19624, - "end": 19628, + "start": 20008, + "end": 20012, "loc": { "start": { - "line": 589, + "line": 601, "column": 6 }, "end": { - "line": 589, + "line": 601, "column": 10 } } @@ -135833,15 +139575,15 @@ "binop": null, "updateContext": null }, - "start": 19628, - "end": 19629, + "start": 20012, + "end": 20013, "loc": { "start": { - "line": 589, + "line": 601, "column": 10 }, "end": { - "line": 589, + "line": 601, "column": 11 } } @@ -135859,15 +139601,15 @@ "binop": null }, "value": "render", - "start": 19629, - "end": 19635, + "start": 20013, + "end": 20019, "loc": { "start": { - "line": 589, + "line": 601, "column": 11 }, "end": { - "line": 589, + "line": 601, "column": 17 } } @@ -135884,15 +139626,15 @@ "postfix": false, "binop": null }, - "start": 19635, - "end": 19636, + "start": 20019, + "end": 20020, "loc": { "start": { - "line": 589, + "line": 601, "column": 17 }, "end": { - "line": 589, + "line": 601, "column": 18 } } @@ -135909,15 +139651,15 @@ "postfix": false, "binop": null }, - "start": 19636, - "end": 19637, + "start": 20020, + "end": 20021, "loc": { "start": { - "line": 589, + "line": 601, "column": 18 }, "end": { - "line": 589, + "line": 601, "column": 19 } } @@ -135935,15 +139677,15 @@ "binop": null, "updateContext": null }, - "start": 19637, - "end": 19638, + "start": 20021, + "end": 20022, "loc": { "start": { - "line": 589, + "line": 601, "column": 19 }, "end": { - "line": 589, + "line": 601, "column": 20 } } @@ -135963,15 +139705,15 @@ "updateContext": null }, "value": "this", - "start": 19646, - "end": 19650, + "start": 20030, + "end": 20034, "loc": { "start": { - "line": 590, + "line": 602, "column": 6 }, "end": { - "line": 590, + "line": 602, "column": 10 } } @@ -135989,15 +139731,15 @@ "binop": null, "updateContext": null }, - "start": 19650, - "end": 19651, + "start": 20034, + "end": 20035, "loc": { "start": { - "line": 590, + "line": 602, "column": 10 }, "end": { - "line": 590, + "line": 602, "column": 11 } } @@ -136015,15 +139757,15 @@ "binop": null }, "value": "onModulesLoaded", - "start": 19651, - "end": 19666, + "start": 20035, + "end": 20050, "loc": { "start": { - "line": 590, + "line": 602, "column": 11 }, "end": { - "line": 590, + "line": 602, "column": 26 } } @@ -136040,15 +139782,15 @@ "postfix": false, "binop": null }, - "start": 19666, - "end": 19667, + "start": 20050, + "end": 20051, "loc": { "start": { - "line": 590, + "line": 602, "column": 26 }, "end": { - "line": 590, + "line": 602, "column": 27 } } @@ -136065,15 +139807,15 @@ "postfix": false, "binop": null }, - "start": 19667, - "end": 19668, + "start": 20051, + "end": 20052, "loc": { "start": { - "line": 590, + "line": 602, "column": 27 }, "end": { - "line": 590, + "line": 602, "column": 28 } } @@ -136091,15 +139833,15 @@ "binop": null, "updateContext": null }, - "start": 19668, - "end": 19669, + "start": 20052, + "end": 20053, "loc": { "start": { - "line": 590, + "line": 602, "column": 28 }, "end": { - "line": 590, + "line": 602, "column": 29 } } @@ -136116,15 +139858,15 @@ "postfix": false, "binop": null }, - "start": 19675, - "end": 19676, + "start": 20059, + "end": 20060, "loc": { "start": { - "line": 591, + "line": 603, "column": 4 }, "end": { - "line": 591, + "line": 603, "column": 5 } } @@ -136141,15 +139883,15 @@ "postfix": false, "binop": null }, - "start": 19680, - "end": 19681, + "start": 20064, + "end": 20065, "loc": { "start": { - "line": 592, + "line": 604, "column": 2 }, "end": { - "line": 592, + "line": 604, "column": 3 } } @@ -136157,15 +139899,15 @@ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", - "start": 19687, - "end": 19719, + "start": 20071, + "end": 20103, "loc": { "start": { - "line": 594, + "line": 606, "column": 2 }, "end": { - "line": 596, + "line": 608, "column": 5 } } @@ -136183,15 +139925,15 @@ "binop": null }, "value": "getModuleProp", - "start": 19723, - "end": 19736, + "start": 20107, + "end": 20120, "loc": { "start": { - "line": 597, + "line": 609, "column": 2 }, "end": { - "line": 597, + "line": 609, "column": 15 } } @@ -136210,15 +139952,15 @@ "updateContext": null }, "value": "=", - "start": 19737, - "end": 19738, + "start": 20121, + "end": 20122, "loc": { "start": { - "line": 597, + "line": 609, "column": 16 }, "end": { - "line": 597, + "line": 609, "column": 17 } } @@ -136235,15 +139977,15 @@ "postfix": false, "binop": null }, - "start": 19739, - "end": 19740, + "start": 20123, + "end": 20124, "loc": { "start": { - "line": 597, + "line": 609, "column": 18 }, "end": { - "line": 597, + "line": 609, "column": 19 } } @@ -136261,15 +140003,15 @@ "binop": null }, "value": "name", - "start": 19740, - "end": 19744, + "start": 20124, + "end": 20128, "loc": { "start": { - "line": 597, + "line": 609, "column": 19 }, "end": { - "line": 597, + "line": 609, "column": 23 } } @@ -136287,15 +140029,15 @@ "binop": null, "updateContext": null }, - "start": 19744, - "end": 19745, + "start": 20128, + "end": 20129, "loc": { "start": { - "line": 597, + "line": 609, "column": 23 }, "end": { - "line": 597, + "line": 609, "column": 24 } } @@ -136313,15 +140055,15 @@ "binop": null }, "value": "prop", - "start": 19746, - "end": 19750, + "start": 20130, + "end": 20134, "loc": { "start": { - "line": 597, + "line": 609, "column": 25 }, "end": { - "line": 597, + "line": 609, "column": 29 } } @@ -136338,15 +140080,15 @@ "postfix": false, "binop": null }, - "start": 19750, - "end": 19751, + "start": 20134, + "end": 20135, "loc": { "start": { - "line": 597, + "line": 609, "column": 29 }, "end": { - "line": 597, + "line": 609, "column": 30 } } @@ -136364,15 +140106,15 @@ "binop": null, "updateContext": null }, - "start": 19752, - "end": 19754, + "start": 20136, + "end": 20138, "loc": { "start": { - "line": 597, + "line": 609, "column": 31 }, "end": { - "line": 597, + "line": 609, "column": 33 } } @@ -136389,15 +140131,15 @@ "postfix": false, "binop": null }, - "start": 19755, - "end": 19756, + "start": 20139, + "end": 20140, "loc": { "start": { - "line": 597, + "line": 609, "column": 34 }, "end": { - "line": 597, + "line": 609, "column": 35 } } @@ -136417,15 +140159,15 @@ "updateContext": null }, "value": "if", - "start": 19762, - "end": 19764, + "start": 20146, + "end": 20148, "loc": { "start": { - "line": 598, + "line": 610, "column": 4 }, "end": { - "line": 598, + "line": 610, "column": 6 } } @@ -136442,15 +140184,15 @@ "postfix": false, "binop": null }, - "start": 19764, - "end": 19765, + "start": 20148, + "end": 20149, "loc": { "start": { - "line": 598, + "line": 610, "column": 6 }, "end": { - "line": 598, + "line": 610, "column": 7 } } @@ -136469,15 +140211,15 @@ "updateContext": null }, "value": "!", - "start": 19765, - "end": 19766, + "start": 20149, + "end": 20150, "loc": { "start": { - "line": 598, + "line": 610, "column": 7 }, "end": { - "line": 598, + "line": 610, "column": 8 } } @@ -136497,15 +140239,15 @@ "updateContext": null }, "value": "this", - "start": 19766, - "end": 19770, + "start": 20150, + "end": 20154, "loc": { "start": { - "line": 598, + "line": 610, "column": 8 }, "end": { - "line": 598, + "line": 610, "column": 12 } } @@ -136523,15 +140265,15 @@ "binop": null, "updateContext": null }, - "start": 19770, - "end": 19771, + "start": 20154, + "end": 20155, "loc": { "start": { - "line": 598, + "line": 610, "column": 12 }, "end": { - "line": 598, + "line": 610, "column": 13 } } @@ -136549,15 +140291,15 @@ "binop": null }, "value": "modules", - "start": 19771, - "end": 19778, + "start": 20155, + "end": 20162, "loc": { "start": { - "line": 598, + "line": 610, "column": 13 }, "end": { - "line": 598, + "line": 610, "column": 20 } } @@ -136575,15 +140317,15 @@ "binop": null, "updateContext": null }, - "start": 19778, - "end": 19779, + "start": 20162, + "end": 20163, "loc": { "start": { - "line": 598, + "line": 610, "column": 20 }, "end": { - "line": 598, + "line": 610, "column": 21 } } @@ -136601,15 +140343,15 @@ "binop": null }, "value": "name", - "start": 19779, - "end": 19783, + "start": 20163, + "end": 20167, "loc": { "start": { - "line": 598, + "line": 610, "column": 21 }, "end": { - "line": 598, + "line": 610, "column": 25 } } @@ -136627,15 +140369,15 @@ "binop": null, "updateContext": null }, - "start": 19783, - "end": 19784, + "start": 20167, + "end": 20168, "loc": { "start": { - "line": 598, + "line": 610, "column": 25 }, "end": { - "line": 598, + "line": 610, "column": 26 } } @@ -136652,15 +140394,15 @@ "postfix": false, "binop": null }, - "start": 19784, - "end": 19785, + "start": 20168, + "end": 20169, "loc": { "start": { - "line": 598, + "line": 610, "column": 26 }, "end": { - "line": 598, + "line": 610, "column": 27 } } @@ -136680,15 +140422,15 @@ "updateContext": null }, "value": "return", - "start": 19793, - "end": 19799, + "start": 20177, + "end": 20183, "loc": { "start": { - "line": 599, + "line": 611, "column": 6 }, "end": { - "line": 599, + "line": 611, "column": 12 } } @@ -136708,15 +140450,15 @@ "updateContext": null }, "value": "false", - "start": 19800, - "end": 19805, + "start": 20184, + "end": 20189, "loc": { "start": { - "line": 599, + "line": 611, "column": 13 }, "end": { - "line": 599, + "line": 611, "column": 18 } } @@ -136734,15 +140476,15 @@ "binop": null, "updateContext": null }, - "start": 19805, - "end": 19806, + "start": 20189, + "end": 20190, "loc": { "start": { - "line": 599, + "line": 611, "column": 18 }, "end": { - "line": 599, + "line": 611, "column": 19 } } @@ -136762,15 +140504,15 @@ "updateContext": null }, "value": "return", - "start": 19818, - "end": 19824, + "start": 20202, + "end": 20208, "loc": { "start": { - "line": 601, + "line": 613, "column": 4 }, "end": { - "line": 601, + "line": 613, "column": 10 } } @@ -136790,15 +140532,15 @@ "updateContext": null }, "value": "this", - "start": 19825, - "end": 19829, + "start": 20209, + "end": 20213, "loc": { "start": { - "line": 601, + "line": 613, "column": 11 }, "end": { - "line": 601, + "line": 613, "column": 15 } } @@ -136816,15 +140558,15 @@ "binop": null, "updateContext": null }, - "start": 19829, - "end": 19830, + "start": 20213, + "end": 20214, "loc": { "start": { - "line": 601, + "line": 613, "column": 15 }, "end": { - "line": 601, + "line": 613, "column": 16 } } @@ -136842,15 +140584,15 @@ "binop": null }, "value": "modules", - "start": 19830, - "end": 19837, + "start": 20214, + "end": 20221, "loc": { "start": { - "line": 601, + "line": 613, "column": 16 }, "end": { - "line": 601, + "line": 613, "column": 23 } } @@ -136868,15 +140610,15 @@ "binop": null, "updateContext": null }, - "start": 19837, - "end": 19838, + "start": 20221, + "end": 20222, "loc": { "start": { - "line": 601, + "line": 613, "column": 23 }, "end": { - "line": 601, + "line": 613, "column": 24 } } @@ -136894,15 +140636,15 @@ "binop": null }, "value": "name", - "start": 19838, - "end": 19842, + "start": 20222, + "end": 20226, "loc": { "start": { - "line": 601, + "line": 613, "column": 24 }, "end": { - "line": 601, + "line": 613, "column": 28 } } @@ -136920,15 +140662,15 @@ "binop": null, "updateContext": null }, - "start": 19842, - "end": 19843, + "start": 20226, + "end": 20227, "loc": { "start": { - "line": 601, + "line": 613, "column": 28 }, "end": { - "line": 601, + "line": 613, "column": 29 } } @@ -136946,15 +140688,15 @@ "binop": null, "updateContext": null }, - "start": 19843, - "end": 19844, + "start": 20227, + "end": 20228, "loc": { "start": { - "line": 601, + "line": 613, "column": 29 }, "end": { - "line": 601, + "line": 613, "column": 30 } } @@ -136972,15 +140714,15 @@ "binop": null }, "value": "prop", - "start": 19844, - "end": 19848, + "start": 20228, + "end": 20232, "loc": { "start": { - "line": 601, + "line": 613, "column": 30 }, "end": { - "line": 601, + "line": 613, "column": 34 } } @@ -136998,15 +140740,15 @@ "binop": null, "updateContext": null }, - "start": 19848, - "end": 19849, + "start": 20232, + "end": 20233, "loc": { "start": { - "line": 601, + "line": 613, "column": 34 }, "end": { - "line": 601, + "line": 613, "column": 35 } } @@ -137024,15 +140766,15 @@ "binop": null, "updateContext": null }, - "start": 19849, - "end": 19850, + "start": 20233, + "end": 20234, "loc": { "start": { - "line": 601, + "line": 613, "column": 35 }, "end": { - "line": 601, + "line": 613, "column": 36 } } @@ -137049,15 +140791,15 @@ "postfix": false, "binop": null }, - "start": 19854, - "end": 19855, + "start": 20238, + "end": 20239, "loc": { "start": { - "line": 602, + "line": 614, "column": 2 }, "end": { - "line": 602, + "line": 614, "column": 3 } } @@ -137065,15 +140807,15 @@ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", - "start": 19861, - "end": 19892, + "start": 20245, + "end": 20276, "loc": { "start": { - "line": 604, + "line": 616, "column": 2 }, "end": { - "line": 606, + "line": 618, "column": 5 } } @@ -137091,15 +140833,15 @@ "binop": null }, "value": "getModulesList", - "start": 19896, - "end": 19910, + "start": 20280, + "end": 20294, "loc": { "start": { - "line": 607, + "line": 619, "column": 2 }, "end": { - "line": 607, + "line": 619, "column": 16 } } @@ -137118,15 +140860,15 @@ "updateContext": null }, "value": "=", - "start": 19911, - "end": 19912, + "start": 20295, + "end": 20296, "loc": { "start": { - "line": 607, + "line": 619, "column": 17 }, "end": { - "line": 607, + "line": 619, "column": 18 } } @@ -137143,15 +140885,15 @@ "postfix": false, "binop": null }, - "start": 19913, - "end": 19914, + "start": 20297, + "end": 20298, "loc": { "start": { - "line": 607, + "line": 619, "column": 19 }, "end": { - "line": 607, + "line": 619, "column": 20 } } @@ -137168,15 +140910,15 @@ "postfix": false, "binop": null }, - "start": 19914, - "end": 19915, + "start": 20298, + "end": 20299, "loc": { "start": { - "line": 607, + "line": 619, "column": 20 }, "end": { - "line": 607, + "line": 619, "column": 21 } } @@ -137194,15 +140936,15 @@ "binop": null, "updateContext": null }, - "start": 19916, - "end": 19918, + "start": 20300, + "end": 20302, "loc": { "start": { - "line": 607, + "line": 619, "column": 22 }, "end": { - "line": 607, + "line": 619, "column": 24 } } @@ -137219,15 +140961,15 @@ "postfix": false, "binop": null }, - "start": 19919, - "end": 19920, + "start": 20303, + "end": 20304, "loc": { "start": { - "line": 607, + "line": 619, "column": 25 }, "end": { - "line": 607, + "line": 619, "column": 26 } } @@ -137247,15 +140989,15 @@ "updateContext": null }, "value": "return", - "start": 19926, - "end": 19932, + "start": 20310, + "end": 20316, "loc": { "start": { - "line": 608, + "line": 620, "column": 4 }, "end": { - "line": 608, + "line": 620, "column": 10 } } @@ -137273,15 +141015,15 @@ "binop": null }, "value": "Object", - "start": 19933, - "end": 19939, + "start": 20317, + "end": 20323, "loc": { "start": { - "line": 608, + "line": 620, "column": 11 }, "end": { - "line": 608, + "line": 620, "column": 17 } } @@ -137299,15 +141041,15 @@ "binop": null, "updateContext": null }, - "start": 19939, - "end": 19940, + "start": 20323, + "end": 20324, "loc": { "start": { - "line": 608, + "line": 620, "column": 17 }, "end": { - "line": 608, + "line": 620, "column": 18 } } @@ -137325,15 +141067,15 @@ "binop": null }, "value": "keys", - "start": 19940, - "end": 19944, + "start": 20324, + "end": 20328, "loc": { "start": { - "line": 608, + "line": 620, "column": 18 }, "end": { - "line": 608, + "line": 620, "column": 22 } } @@ -137350,15 +141092,15 @@ "postfix": false, "binop": null }, - "start": 19944, - "end": 19945, + "start": 20328, + "end": 20329, "loc": { "start": { - "line": 608, + "line": 620, "column": 22 }, "end": { - "line": 608, + "line": 620, "column": 23 } } @@ -137378,15 +141120,15 @@ "updateContext": null }, "value": "this", - "start": 19945, - "end": 19949, + "start": 20329, + "end": 20333, "loc": { "start": { - "line": 608, + "line": 620, "column": 23 }, "end": { - "line": 608, + "line": 620, "column": 27 } } @@ -137404,15 +141146,15 @@ "binop": null, "updateContext": null }, - "start": 19949, - "end": 19950, + "start": 20333, + "end": 20334, "loc": { "start": { - "line": 608, + "line": 620, "column": 27 }, "end": { - "line": 608, + "line": 620, "column": 28 } } @@ -137430,15 +141172,15 @@ "binop": null }, "value": "modules", - "start": 19950, - "end": 19957, + "start": 20334, + "end": 20341, "loc": { "start": { - "line": 608, + "line": 620, "column": 28 }, "end": { - "line": 608, + "line": 620, "column": 35 } } @@ -137455,15 +141197,15 @@ "postfix": false, "binop": null }, - "start": 19957, - "end": 19958, + "start": 20341, + "end": 20342, "loc": { "start": { - "line": 608, + "line": 620, "column": 35 }, "end": { - "line": 608, + "line": 620, "column": 36 } } @@ -137481,15 +141223,15 @@ "binop": null, "updateContext": null }, - "start": 19958, - "end": 19959, + "start": 20342, + "end": 20343, "loc": { "start": { - "line": 608, + "line": 620, "column": 36 }, "end": { - "line": 608, + "line": 620, "column": 37 } } @@ -137506,15 +141248,15 @@ "postfix": false, "binop": null }, - "start": 19963, - "end": 19964, + "start": 20347, + "end": 20348, "loc": { "start": { - "line": 609, + "line": 621, "column": 2 }, "end": { - "line": 609, + "line": 621, "column": 3 } } @@ -137522,15 +141264,15 @@ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", - "start": 19970, - "end": 20026, + "start": 20354, + "end": 20410, "loc": { "start": { - "line": 611, + "line": 623, "column": 2 }, "end": { - "line": 613, + "line": 625, "column": 5 } } @@ -137548,15 +141290,15 @@ "binop": null }, "value": "render", - "start": 20030, - "end": 20036, + "start": 20414, + "end": 20420, "loc": { "start": { - "line": 614, + "line": 626, "column": 2 }, "end": { - "line": 614, + "line": 626, "column": 8 } } @@ -137573,15 +141315,15 @@ "postfix": false, "binop": null }, - "start": 20036, - "end": 20037, + "start": 20420, + "end": 20421, "loc": { "start": { - "line": 614, + "line": 626, "column": 8 }, "end": { - "line": 614, + "line": 626, "column": 9 } } @@ -137598,15 +141340,15 @@ "postfix": false, "binop": null }, - "start": 20037, - "end": 20038, + "start": 20421, + "end": 20422, "loc": { "start": { - "line": 614, + "line": 626, "column": 9 }, "end": { - "line": 614, + "line": 626, "column": 10 } } @@ -137623,15 +141365,15 @@ "postfix": false, "binop": null }, - "start": 20038, - "end": 20039, + "start": 20422, + "end": 20423, "loc": { "start": { - "line": 614, + "line": 626, "column": 10 }, "end": { - "line": 614, + "line": 626, "column": 11 } } @@ -137639,15 +141381,15 @@ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", - "start": 20045, - "end": 20080, + "start": 20429, + "end": 20464, "loc": { "start": { - "line": 615, + "line": 627, "column": 4 }, "end": { - "line": 617, + "line": 629, "column": 7 } } @@ -137667,15 +141409,15 @@ "updateContext": null }, "value": "this", - "start": 20086, - "end": 20090, + "start": 20470, + "end": 20474, "loc": { "start": { - "line": 618, + "line": 630, "column": 4 }, "end": { - "line": 618, + "line": 630, "column": 8 } } @@ -137693,15 +141435,15 @@ "binop": null, "updateContext": null }, - "start": 20090, - "end": 20091, + "start": 20474, + "end": 20475, "loc": { "start": { - "line": 618, + "line": 630, "column": 8 }, "end": { - "line": 618, + "line": 630, "column": 9 } } @@ -137719,15 +141461,15 @@ "binop": null }, "value": "clear", - "start": 20091, - "end": 20096, + "start": 20475, + "end": 20480, "loc": { "start": { - "line": 618, + "line": 630, "column": 9 }, "end": { - "line": 618, + "line": 630, "column": 14 } } @@ -137744,15 +141486,15 @@ "postfix": false, "binop": null }, - "start": 20096, - "end": 20097, + "start": 20480, + "end": 20481, "loc": { "start": { - "line": 618, + "line": 630, "column": 14 }, "end": { - "line": 618, + "line": 630, "column": 15 } } @@ -137769,15 +141511,15 @@ "postfix": false, "binop": null }, - "start": 20097, - "end": 20098, + "start": 20481, + "end": 20482, "loc": { "start": { - "line": 618, + "line": 630, "column": 15 }, "end": { - "line": 618, + "line": 630, "column": 16 } } @@ -137795,15 +141537,15 @@ "binop": null, "updateContext": null }, - "start": 20098, - "end": 20099, + "start": 20482, + "end": 20483, "loc": { "start": { - "line": 618, + "line": 630, "column": 16 }, "end": { - "line": 618, + "line": 630, "column": 17 } } @@ -137823,15 +141565,15 @@ "updateContext": null }, "value": "let", - "start": 20107, - "end": 20110, + "start": 20491, + "end": 20494, "loc": { "start": { - "line": 620, + "line": 632, "column": 4 }, "end": { - "line": 620, + "line": 632, "column": 7 } } @@ -137849,15 +141591,15 @@ "binop": null }, "value": "layoutClass", - "start": 20111, - "end": 20122, + "start": 20495, + "end": 20506, "loc": { "start": { - "line": 620, + "line": 632, "column": 8 }, "end": { - "line": 620, + "line": 632, "column": 19 } } @@ -137876,15 +141618,15 @@ "updateContext": null }, "value": "=", - "start": 20123, - "end": 20124, + "start": 20507, + "end": 20508, "loc": { "start": { - "line": 620, + "line": 632, "column": 20 }, "end": { - "line": 620, + "line": 632, "column": 21 } } @@ -137904,15 +141646,15 @@ "updateContext": null }, "value": "this", - "start": 20125, - "end": 20129, + "start": 20509, + "end": 20513, "loc": { "start": { - "line": 620, + "line": 632, "column": 22 }, "end": { - "line": 620, + "line": 632, "column": 26 } } @@ -137930,15 +141672,15 @@ "binop": null, "updateContext": null }, - "start": 20129, - "end": 20130, + "start": 20513, + "end": 20514, "loc": { "start": { - "line": 620, + "line": 632, "column": 26 }, "end": { - "line": 620, + "line": 632, "column": 27 } } @@ -137956,15 +141698,15 @@ "binop": null }, "value": "options", - "start": 20130, - "end": 20137, + "start": 20514, + "end": 20521, "loc": { "start": { - "line": 620, + "line": 632, "column": 27 }, "end": { - "line": 620, + "line": 632, "column": 34 } } @@ -137982,15 +141724,15 @@ "binop": null, "updateContext": null }, - "start": 20137, - "end": 20138, + "start": 20521, + "end": 20522, "loc": { "start": { - "line": 620, + "line": 632, "column": 34 }, "end": { - "line": 620, + "line": 632, "column": 35 } } @@ -138008,15 +141750,15 @@ "binop": null }, "value": "layout", - "start": 20138, - "end": 20144, + "start": 20522, + "end": 20528, "loc": { "start": { - "line": 620, + "line": 632, "column": 35 }, "end": { - "line": 620, + "line": 632, "column": 41 } } @@ -138034,15 +141776,15 @@ "binop": null, "updateContext": null }, - "start": 20145, - "end": 20146, + "start": 20529, + "end": 20530, "loc": { "start": { - "line": 620, + "line": 632, "column": 42 }, "end": { - "line": 620, + "line": 632, "column": 43 } } @@ -138061,15 +141803,15 @@ "updateContext": null }, "value": "hg-layout-custom", - "start": 20147, - "end": 20165, + "start": 20531, + "end": 20549, "loc": { "start": { - "line": 620, + "line": 632, "column": 44 }, "end": { - "line": 620, + "line": 632, "column": 62 } } @@ -138087,15 +141829,15 @@ "binop": null, "updateContext": null }, - "start": 20166, - "end": 20167, + "start": 20550, + "end": 20551, "loc": { "start": { - "line": 620, + "line": 632, "column": 63 }, "end": { - "line": 620, + "line": 632, "column": 64 } } @@ -138112,15 +141854,15 @@ "postfix": false, "binop": null }, - "start": 20168, - "end": 20169, + "start": 20552, + "end": 20553, "loc": { "start": { - "line": 620, + "line": 632, "column": 65 }, "end": { - "line": 620, + "line": 632, "column": 66 } } @@ -138139,15 +141881,15 @@ "updateContext": null }, "value": "hg-layout-", - "start": 20169, - "end": 20179, + "start": 20553, + "end": 20563, "loc": { "start": { - "line": 620, + "line": 632, "column": 66 }, "end": { - "line": 620, + "line": 632, "column": 76 } } @@ -138164,15 +141906,15 @@ "postfix": false, "binop": null }, - "start": 20179, - "end": 20181, + "start": 20563, + "end": 20565, "loc": { "start": { - "line": 620, + "line": 632, "column": 76 }, "end": { - "line": 620, + "line": 632, "column": 78 } } @@ -138192,15 +141934,15 @@ "updateContext": null }, "value": "this", - "start": 20181, - "end": 20185, + "start": 20565, + "end": 20569, "loc": { "start": { - "line": 620, + "line": 632, "column": 78 }, "end": { - "line": 620, + "line": 632, "column": 82 } } @@ -138218,15 +141960,15 @@ "binop": null, "updateContext": null }, - "start": 20185, - "end": 20186, + "start": 20569, + "end": 20570, "loc": { "start": { - "line": 620, + "line": 632, "column": 82 }, "end": { - "line": 620, + "line": 632, "column": 83 } } @@ -138244,15 +141986,15 @@ "binop": null }, "value": "options", - "start": 20186, - "end": 20193, + "start": 20570, + "end": 20577, "loc": { "start": { - "line": 620, + "line": 632, "column": 83 }, "end": { - "line": 620, + "line": 632, "column": 90 } } @@ -138270,15 +142012,15 @@ "binop": null, "updateContext": null }, - "start": 20193, - "end": 20194, + "start": 20577, + "end": 20578, "loc": { "start": { - "line": 620, + "line": 632, "column": 90 }, "end": { - "line": 620, + "line": 632, "column": 91 } } @@ -138296,15 +142038,15 @@ "binop": null }, "value": "layoutName", - "start": 20194, - "end": 20204, + "start": 20578, + "end": 20588, "loc": { "start": { - "line": 620, + "line": 632, "column": 91 }, "end": { - "line": 620, + "line": 632, "column": 101 } } @@ -138321,15 +142063,15 @@ "postfix": false, "binop": null }, - "start": 20204, - "end": 20205, + "start": 20588, + "end": 20589, "loc": { "start": { - "line": 620, + "line": 632, "column": 101 }, "end": { - "line": 620, + "line": 632, "column": 102 } } @@ -138348,15 +142090,15 @@ "updateContext": null }, "value": "", - "start": 20205, - "end": 20205, + "start": 20589, + "end": 20589, "loc": { "start": { - "line": 620, + "line": 632, "column": 102 }, "end": { - "line": 620, + "line": 632, "column": 102 } } @@ -138373,15 +142115,15 @@ "postfix": false, "binop": null }, - "start": 20205, - "end": 20206, + "start": 20589, + "end": 20590, "loc": { "start": { - "line": 620, + "line": 632, "column": 102 }, "end": { - "line": 620, + "line": 632, "column": 103 } } @@ -138399,15 +142141,15 @@ "binop": null, "updateContext": null }, - "start": 20206, - "end": 20207, + "start": 20590, + "end": 20591, "loc": { "start": { - "line": 620, + "line": 632, "column": 103 }, "end": { - "line": 620, + "line": 632, "column": 104 } } @@ -138427,15 +142169,15 @@ "updateContext": null }, "value": "let", - "start": 20213, - "end": 20216, + "start": 20597, + "end": 20600, "loc": { "start": { - "line": 621, + "line": 633, "column": 4 }, "end": { - "line": 621, + "line": 633, "column": 7 } } @@ -138453,15 +142195,15 @@ "binop": null }, "value": "layout", - "start": 20217, - "end": 20223, + "start": 20601, + "end": 20607, "loc": { "start": { - "line": 621, + "line": 633, "column": 8 }, "end": { - "line": 621, + "line": 633, "column": 14 } } @@ -138480,15 +142222,15 @@ "updateContext": null }, "value": "=", - "start": 20224, - "end": 20225, + "start": 20608, + "end": 20609, "loc": { "start": { - "line": 621, + "line": 633, "column": 15 }, "end": { - "line": 621, + "line": 633, "column": 16 } } @@ -138508,15 +142250,15 @@ "updateContext": null }, "value": "this", - "start": 20226, - "end": 20230, + "start": 20610, + "end": 20614, "loc": { "start": { - "line": 621, + "line": 633, "column": 17 }, "end": { - "line": 621, + "line": 633, "column": 21 } } @@ -138534,15 +142276,15 @@ "binop": null, "updateContext": null }, - "start": 20230, - "end": 20231, + "start": 20614, + "end": 20615, "loc": { "start": { - "line": 621, + "line": 633, "column": 21 }, "end": { - "line": 621, + "line": 633, "column": 22 } } @@ -138560,15 +142302,15 @@ "binop": null }, "value": "options", - "start": 20231, - "end": 20238, + "start": 20615, + "end": 20622, "loc": { "start": { - "line": 621, + "line": 633, "column": 22 }, "end": { - "line": 621, + "line": 633, "column": 29 } } @@ -138586,15 +142328,15 @@ "binop": null, "updateContext": null }, - "start": 20238, - "end": 20239, + "start": 20622, + "end": 20623, "loc": { "start": { - "line": 621, + "line": 633, "column": 29 }, "end": { - "line": 621, + "line": 633, "column": 30 } } @@ -138612,15 +142354,15 @@ "binop": null }, "value": "layout", - "start": 20239, - "end": 20245, + "start": 20623, + "end": 20629, "loc": { "start": { - "line": 621, + "line": 633, "column": 30 }, "end": { - "line": 621, + "line": 633, "column": 36 } } @@ -138639,15 +142381,15 @@ "updateContext": null }, "value": "||", - "start": 20246, - "end": 20248, + "start": 20630, + "end": 20632, "loc": { "start": { - "line": 621, + "line": 633, "column": 37 }, "end": { - "line": 621, + "line": 633, "column": 39 } } @@ -138665,15 +142407,15 @@ "binop": null }, "value": "KeyboardLayout", - "start": 20249, - "end": 20263, + "start": 20633, + "end": 20647, "loc": { "start": { - "line": 621, + "line": 633, "column": 40 }, "end": { - "line": 621, + "line": 633, "column": 54 } } @@ -138691,15 +142433,15 @@ "binop": null, "updateContext": null }, - "start": 20263, - "end": 20264, + "start": 20647, + "end": 20648, "loc": { "start": { - "line": 621, + "line": 633, "column": 54 }, "end": { - "line": 621, + "line": 633, "column": 55 } } @@ -138717,15 +142459,15 @@ "binop": null }, "value": "getDefaultLayout", - "start": 20264, - "end": 20280, + "start": 20648, + "end": 20664, "loc": { "start": { - "line": 621, + "line": 633, "column": 55 }, "end": { - "line": 621, + "line": 633, "column": 71 } } @@ -138742,15 +142484,15 @@ "postfix": false, "binop": null }, - "start": 20280, - "end": 20281, + "start": 20664, + "end": 20665, "loc": { "start": { - "line": 621, + "line": 633, "column": 71 }, "end": { - "line": 621, + "line": 633, "column": 72 } } @@ -138767,15 +142509,15 @@ "postfix": false, "binop": null }, - "start": 20281, - "end": 20282, + "start": 20665, + "end": 20666, "loc": { "start": { - "line": 621, + "line": 633, "column": 72 }, "end": { - "line": 621, + "line": 633, "column": 73 } } @@ -138793,15 +142535,15 @@ "binop": null, "updateContext": null }, - "start": 20282, - "end": 20283, + "start": 20666, + "end": 20667, "loc": { "start": { - "line": 621, + "line": 633, "column": 73 }, "end": { - "line": 621, + "line": 633, "column": 74 } } @@ -138809,15 +142551,15 @@ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", - "start": 20291, - "end": 20343, + "start": 20675, + "end": 20727, "loc": { "start": { - "line": 623, + "line": 635, "column": 4 }, "end": { - "line": 625, + "line": 637, "column": 7 } } @@ -138837,15 +142579,15 @@ "updateContext": null }, "value": "let", - "start": 20349, - "end": 20352, + "start": 20733, + "end": 20736, "loc": { "start": { - "line": 626, + "line": 638, "column": 4 }, "end": { - "line": 626, + "line": 638, "column": 7 } } @@ -138863,15 +142605,15 @@ "binop": null }, "value": "buttonThemesParsed", - "start": 20353, - "end": 20371, + "start": 20737, + "end": 20755, "loc": { "start": { - "line": 626, + "line": 638, "column": 8 }, "end": { - "line": 626, + "line": 638, "column": 26 } } @@ -138890,15 +142632,15 @@ "updateContext": null }, "value": "=", - "start": 20372, - "end": 20373, + "start": 20756, + "end": 20757, "loc": { "start": { - "line": 626, + "line": 638, "column": 27 }, "end": { - "line": 626, + "line": 638, "column": 28 } } @@ -138915,15 +142657,15 @@ "postfix": false, "binop": null }, - "start": 20374, - "end": 20375, + "start": 20758, + "end": 20759, "loc": { "start": { - "line": 626, + "line": 638, "column": 29 }, "end": { - "line": 626, + "line": 638, "column": 30 } } @@ -138940,15 +142682,15 @@ "postfix": false, "binop": null }, - "start": 20375, - "end": 20376, + "start": 20759, + "end": 20760, "loc": { "start": { - "line": 626, + "line": 638, "column": 30 }, "end": { - "line": 626, + "line": 638, "column": 31 } } @@ -138966,15 +142708,15 @@ "binop": null, "updateContext": null }, - "start": 20376, - "end": 20377, + "start": 20760, + "end": 20761, "loc": { "start": { - "line": 626, + "line": 638, "column": 31 }, "end": { - "line": 626, + "line": 638, "column": 32 } } @@ -138994,15 +142736,15 @@ "updateContext": null }, "value": "if", - "start": 20383, - "end": 20385, + "start": 20767, + "end": 20769, "loc": { "start": { - "line": 627, + "line": 639, "column": 4 }, "end": { - "line": 627, + "line": 639, "column": 6 } } @@ -139019,15 +142761,15 @@ "postfix": false, "binop": null }, - "start": 20385, - "end": 20386, + "start": 20769, + "end": 20770, "loc": { "start": { - "line": 627, + "line": 639, "column": 6 }, "end": { - "line": 627, + "line": 639, "column": 7 } } @@ -139045,15 +142787,15 @@ "binop": null }, "value": "Array", - "start": 20386, - "end": 20391, + "start": 20770, + "end": 20775, "loc": { "start": { - "line": 627, + "line": 639, "column": 7 }, "end": { - "line": 627, + "line": 639, "column": 12 } } @@ -139071,15 +142813,15 @@ "binop": null, "updateContext": null }, - "start": 20391, - "end": 20392, + "start": 20775, + "end": 20776, "loc": { "start": { - "line": 627, + "line": 639, "column": 12 }, "end": { - "line": 627, + "line": 639, "column": 13 } } @@ -139097,15 +142839,15 @@ "binop": null }, "value": "isArray", - "start": 20392, - "end": 20399, + "start": 20776, + "end": 20783, "loc": { "start": { - "line": 627, + "line": 639, "column": 13 }, "end": { - "line": 627, + "line": 639, "column": 20 } } @@ -139122,15 +142864,15 @@ "postfix": false, "binop": null }, - "start": 20399, - "end": 20400, + "start": 20783, + "end": 20784, "loc": { "start": { - "line": 627, + "line": 639, "column": 20 }, "end": { - "line": 627, + "line": 639, "column": 21 } } @@ -139150,15 +142892,15 @@ "updateContext": null }, "value": "this", - "start": 20400, - "end": 20404, + "start": 20784, + "end": 20788, "loc": { "start": { - "line": 627, + "line": 639, "column": 21 }, "end": { - "line": 627, + "line": 639, "column": 25 } } @@ -139176,15 +142918,15 @@ "binop": null, "updateContext": null }, - "start": 20404, - "end": 20405, + "start": 20788, + "end": 20789, "loc": { "start": { - "line": 627, + "line": 639, "column": 25 }, "end": { - "line": 627, + "line": 639, "column": 26 } } @@ -139202,15 +142944,15 @@ "binop": null }, "value": "options", - "start": 20405, - "end": 20412, + "start": 20789, + "end": 20796, "loc": { "start": { - "line": 627, + "line": 639, "column": 26 }, "end": { - "line": 627, + "line": 639, "column": 33 } } @@ -139228,15 +142970,15 @@ "binop": null, "updateContext": null }, - "start": 20412, - "end": 20413, + "start": 20796, + "end": 20797, "loc": { "start": { - "line": 627, + "line": 639, "column": 33 }, "end": { - "line": 627, + "line": 639, "column": 34 } } @@ -139254,15 +142996,15 @@ "binop": null }, "value": "buttonTheme", - "start": 20413, - "end": 20424, + "start": 20797, + "end": 20808, "loc": { "start": { - "line": 627, + "line": 639, "column": 34 }, "end": { - "line": 627, + "line": 639, "column": 45 } } @@ -139279,15 +143021,15 @@ "postfix": false, "binop": null }, - "start": 20424, - "end": 20425, + "start": 20808, + "end": 20809, "loc": { "start": { - "line": 627, + "line": 639, "column": 45 }, "end": { - "line": 627, + "line": 639, "column": 46 } } @@ -139304,15 +143046,15 @@ "postfix": false, "binop": null }, - "start": 20425, - "end": 20426, + "start": 20809, + "end": 20810, "loc": { "start": { - "line": 627, + "line": 639, "column": 46 }, "end": { - "line": 627, + "line": 639, "column": 47 } } @@ -139329,15 +143071,15 @@ "postfix": false, "binop": null }, - "start": 20426, - "end": 20427, + "start": 20810, + "end": 20811, "loc": { "start": { - "line": 627, + "line": 639, "column": 47 }, "end": { - "line": 627, + "line": 639, "column": 48 } } @@ -139357,15 +143099,15 @@ "updateContext": null }, "value": "this", - "start": 20435, - "end": 20439, + "start": 20819, + "end": 20823, "loc": { "start": { - "line": 628, + "line": 640, "column": 6 }, "end": { - "line": 628, + "line": 640, "column": 10 } } @@ -139383,15 +143125,15 @@ "binop": null, "updateContext": null }, - "start": 20439, - "end": 20440, + "start": 20823, + "end": 20824, "loc": { "start": { - "line": 628, + "line": 640, "column": 10 }, "end": { - "line": 628, + "line": 640, "column": 11 } } @@ -139409,15 +143151,15 @@ "binop": null }, "value": "options", - "start": 20440, - "end": 20447, + "start": 20824, + "end": 20831, "loc": { "start": { - "line": 628, + "line": 640, "column": 11 }, "end": { - "line": 628, + "line": 640, "column": 18 } } @@ -139435,15 +143177,15 @@ "binop": null, "updateContext": null }, - "start": 20447, - "end": 20448, + "start": 20831, + "end": 20832, "loc": { "start": { - "line": 628, + "line": 640, "column": 18 }, "end": { - "line": 628, + "line": 640, "column": 19 } } @@ -139461,15 +143203,15 @@ "binop": null }, "value": "buttonTheme", - "start": 20448, - "end": 20459, + "start": 20832, + "end": 20843, "loc": { "start": { - "line": 628, + "line": 640, "column": 19 }, "end": { - "line": 628, + "line": 640, "column": 30 } } @@ -139487,15 +143229,15 @@ "binop": null, "updateContext": null }, - "start": 20459, - "end": 20460, + "start": 20843, + "end": 20844, "loc": { "start": { - "line": 628, + "line": 640, "column": 30 }, "end": { - "line": 628, + "line": 640, "column": 31 } } @@ -139513,15 +143255,15 @@ "binop": null }, "value": "forEach", - "start": 20460, - "end": 20467, + "start": 20844, + "end": 20851, "loc": { "start": { - "line": 628, + "line": 640, "column": 31 }, "end": { - "line": 628, + "line": 640, "column": 38 } } @@ -139538,15 +143280,15 @@ "postfix": false, "binop": null }, - "start": 20467, - "end": 20468, + "start": 20851, + "end": 20852, "loc": { "start": { - "line": 628, + "line": 640, "column": 38 }, "end": { - "line": 628, + "line": 640, "column": 39 } } @@ -139564,15 +143306,15 @@ "binop": null }, "value": "themeObj", - "start": 20468, - "end": 20476, + "start": 20852, + "end": 20860, "loc": { "start": { - "line": 628, + "line": 640, "column": 39 }, "end": { - "line": 628, + "line": 640, "column": 47 } } @@ -139590,15 +143332,15 @@ "binop": null, "updateContext": null }, - "start": 20477, - "end": 20479, + "start": 20861, + "end": 20863, "loc": { "start": { - "line": 628, + "line": 640, "column": 48 }, "end": { - "line": 628, + "line": 640, "column": 50 } } @@ -139615,15 +143357,15 @@ "postfix": false, "binop": null }, - "start": 20480, - "end": 20481, + "start": 20864, + "end": 20865, "loc": { "start": { - "line": 628, + "line": 640, "column": 51 }, "end": { - "line": 628, + "line": 640, "column": 52 } } @@ -139643,15 +143385,15 @@ "updateContext": null }, "value": "if", - "start": 20491, - "end": 20493, + "start": 20875, + "end": 20877, "loc": { "start": { - "line": 629, + "line": 641, "column": 8 }, "end": { - "line": 629, + "line": 641, "column": 10 } } @@ -139668,15 +143410,15 @@ "postfix": false, "binop": null }, - "start": 20493, - "end": 20494, + "start": 20877, + "end": 20878, "loc": { "start": { - "line": 629, + "line": 641, "column": 10 }, "end": { - "line": 629, + "line": 641, "column": 11 } } @@ -139694,15 +143436,15 @@ "binop": null }, "value": "themeObj", - "start": 20494, - "end": 20502, + "start": 20878, + "end": 20886, "loc": { "start": { - "line": 629, + "line": 641, "column": 11 }, "end": { - "line": 629, + "line": 641, "column": 19 } } @@ -139720,15 +143462,15 @@ "binop": null, "updateContext": null }, - "start": 20502, - "end": 20503, + "start": 20886, + "end": 20887, "loc": { "start": { - "line": 629, + "line": 641, "column": 19 }, "end": { - "line": 629, + "line": 641, "column": 20 } } @@ -139746,15 +143488,15 @@ "binop": null }, "value": "buttons", - "start": 20503, - "end": 20510, + "start": 20887, + "end": 20894, "loc": { "start": { - "line": 629, + "line": 641, "column": 20 }, "end": { - "line": 629, + "line": 641, "column": 27 } } @@ -139773,15 +143515,15 @@ "updateContext": null }, "value": "&&", - "start": 20511, - "end": 20513, + "start": 20895, + "end": 20897, "loc": { "start": { - "line": 629, + "line": 641, "column": 28 }, "end": { - "line": 629, + "line": 641, "column": 30 } } @@ -139799,15 +143541,15 @@ "binop": null }, "value": "themeObj", - "start": 20514, - "end": 20522, + "start": 20898, + "end": 20906, "loc": { "start": { - "line": 629, + "line": 641, "column": 31 }, "end": { - "line": 629, + "line": 641, "column": 39 } } @@ -139825,15 +143567,15 @@ "binop": null, "updateContext": null }, - "start": 20522, - "end": 20523, + "start": 20906, + "end": 20907, "loc": { "start": { - "line": 629, + "line": 641, "column": 39 }, "end": { - "line": 629, + "line": 641, "column": 40 } } @@ -139853,15 +143595,15 @@ "updateContext": null }, "value": "class", - "start": 20523, - "end": 20528, + "start": 20907, + "end": 20912, "loc": { "start": { - "line": 629, + "line": 641, "column": 40 }, "end": { - "line": 629, + "line": 641, "column": 45 } } @@ -139878,15 +143620,15 @@ "postfix": false, "binop": null }, - "start": 20528, - "end": 20529, + "start": 20912, + "end": 20913, "loc": { "start": { - "line": 629, + "line": 641, "column": 45 }, "end": { - "line": 629, + "line": 641, "column": 46 } } @@ -139903,15 +143645,15 @@ "postfix": false, "binop": null }, - "start": 20529, - "end": 20530, + "start": 20913, + "end": 20914, "loc": { "start": { - "line": 629, + "line": 641, "column": 46 }, "end": { - "line": 629, + "line": 641, "column": 47 } } @@ -139931,15 +143673,15 @@ "updateContext": null }, "value": "let", - "start": 20542, - "end": 20545, + "start": 20926, + "end": 20929, "loc": { "start": { - "line": 630, + "line": 642, "column": 10 }, "end": { - "line": 630, + "line": 642, "column": 13 } } @@ -139957,15 +143699,15 @@ "binop": null }, "value": "themeButtons", - "start": 20546, - "end": 20558, + "start": 20930, + "end": 20942, "loc": { "start": { - "line": 630, + "line": 642, "column": 14 }, "end": { - "line": 630, + "line": 642, "column": 26 } } @@ -139983,15 +143725,15 @@ "binop": null, "updateContext": null }, - "start": 20558, - "end": 20559, + "start": 20942, + "end": 20943, "loc": { "start": { - "line": 630, + "line": 642, "column": 26 }, "end": { - "line": 630, + "line": 642, "column": 27 } } @@ -140011,15 +143753,15 @@ "updateContext": null }, "value": "if", - "start": 20573, - "end": 20575, + "start": 20957, + "end": 20959, "loc": { "start": { - "line": 632, + "line": 644, "column": 10 }, "end": { - "line": 632, + "line": 644, "column": 12 } } @@ -140036,15 +143778,15 @@ "postfix": false, "binop": null }, - "start": 20575, - "end": 20576, + "start": 20959, + "end": 20960, "loc": { "start": { - "line": 632, + "line": 644, "column": 12 }, "end": { - "line": 632, + "line": 644, "column": 13 } } @@ -140064,15 +143806,15 @@ "updateContext": null }, "value": "typeof", - "start": 20576, - "end": 20582, + "start": 20960, + "end": 20966, "loc": { "start": { - "line": 632, + "line": 644, "column": 13 }, "end": { - "line": 632, + "line": 644, "column": 19 } } @@ -140090,15 +143832,15 @@ "binop": null }, "value": "themeObj", - "start": 20583, - "end": 20591, + "start": 20967, + "end": 20975, "loc": { "start": { - "line": 632, + "line": 644, "column": 20 }, "end": { - "line": 632, + "line": 644, "column": 28 } } @@ -140116,15 +143858,15 @@ "binop": null, "updateContext": null }, - "start": 20591, - "end": 20592, + "start": 20975, + "end": 20976, "loc": { "start": { - "line": 632, + "line": 644, "column": 28 }, "end": { - "line": 632, + "line": 644, "column": 29 } } @@ -140142,15 +143884,15 @@ "binop": null }, "value": "buttons", - "start": 20592, - "end": 20599, + "start": 20976, + "end": 20983, "loc": { "start": { - "line": 632, + "line": 644, "column": 29 }, "end": { - "line": 632, + "line": 644, "column": 36 } } @@ -140169,15 +143911,15 @@ "updateContext": null }, "value": "===", - "start": 20600, - "end": 20603, + "start": 20984, + "end": 20987, "loc": { "start": { - "line": 632, + "line": 644, "column": 37 }, "end": { - "line": 632, + "line": 644, "column": 40 } } @@ -140196,15 +143938,15 @@ "updateContext": null }, "value": "string", - "start": 20604, - "end": 20612, + "start": 20988, + "end": 20996, "loc": { "start": { - "line": 632, + "line": 644, "column": 41 }, "end": { - "line": 632, + "line": 644, "column": 49 } } @@ -140221,15 +143963,15 @@ "postfix": false, "binop": null }, - "start": 20612, - "end": 20613, + "start": 20996, + "end": 20997, "loc": { "start": { - "line": 632, + "line": 644, "column": 49 }, "end": { - "line": 632, + "line": 644, "column": 50 } } @@ -140246,15 +143988,15 @@ "postfix": false, "binop": null }, - "start": 20613, - "end": 20614, + "start": 20997, + "end": 20998, "loc": { "start": { - "line": 632, + "line": 644, "column": 50 }, "end": { - "line": 632, + "line": 644, "column": 51 } } @@ -140272,15 +144014,15 @@ "binop": null }, "value": "themeButtons", - "start": 20628, - "end": 20640, + "start": 21012, + "end": 21024, "loc": { "start": { - "line": 633, + "line": 645, "column": 12 }, "end": { - "line": 633, + "line": 645, "column": 24 } } @@ -140299,15 +144041,15 @@ "updateContext": null }, "value": "=", - "start": 20641, - "end": 20642, + "start": 21025, + "end": 21026, "loc": { "start": { - "line": 633, + "line": 645, "column": 25 }, "end": { - "line": 633, + "line": 645, "column": 26 } } @@ -140325,15 +144067,15 @@ "binop": null }, "value": "themeObj", - "start": 20643, - "end": 20651, + "start": 21027, + "end": 21035, "loc": { "start": { - "line": 633, + "line": 645, "column": 27 }, "end": { - "line": 633, + "line": 645, "column": 35 } } @@ -140351,15 +144093,15 @@ "binop": null, "updateContext": null }, - "start": 20651, - "end": 20652, + "start": 21035, + "end": 21036, "loc": { "start": { - "line": 633, + "line": 645, "column": 35 }, "end": { - "line": 633, + "line": 645, "column": 36 } } @@ -140377,15 +144119,15 @@ "binop": null }, "value": "buttons", - "start": 20652, - "end": 20659, + "start": 21036, + "end": 21043, "loc": { "start": { - "line": 633, + "line": 645, "column": 36 }, "end": { - "line": 633, + "line": 645, "column": 43 } } @@ -140403,15 +144145,15 @@ "binop": null, "updateContext": null }, - "start": 20659, - "end": 20660, + "start": 21043, + "end": 21044, "loc": { "start": { - "line": 633, + "line": 645, "column": 43 }, "end": { - "line": 633, + "line": 645, "column": 44 } } @@ -140429,15 +144171,15 @@ "binop": null }, "value": "split", - "start": 20660, - "end": 20665, + "start": 21044, + "end": 21049, "loc": { "start": { - "line": 633, + "line": 645, "column": 44 }, "end": { - "line": 633, + "line": 645, "column": 49 } } @@ -140454,15 +144196,15 @@ "postfix": false, "binop": null }, - "start": 20665, - "end": 20666, + "start": 21049, + "end": 21050, "loc": { "start": { - "line": 633, + "line": 645, "column": 49 }, "end": { - "line": 633, + "line": 645, "column": 50 } } @@ -140481,15 +144223,15 @@ "updateContext": null }, "value": " ", - "start": 20666, - "end": 20669, + "start": 21050, + "end": 21053, "loc": { "start": { - "line": 633, + "line": 645, "column": 50 }, "end": { - "line": 633, + "line": 645, "column": 53 } } @@ -140506,15 +144248,15 @@ "postfix": false, "binop": null }, - "start": 20669, - "end": 20670, + "start": 21053, + "end": 21054, "loc": { "start": { - "line": 633, + "line": 645, "column": 53 }, "end": { - "line": 633, + "line": 645, "column": 54 } } @@ -140532,15 +144274,15 @@ "binop": null, "updateContext": null }, - "start": 20670, - "end": 20671, + "start": 21054, + "end": 21055, "loc": { "start": { - "line": 633, + "line": 645, "column": 54 }, "end": { - "line": 633, + "line": 645, "column": 55 } } @@ -140557,15 +144299,15 @@ "postfix": false, "binop": null }, - "start": 20683, - "end": 20684, + "start": 21067, + "end": 21068, "loc": { "start": { - "line": 634, + "line": 646, "column": 10 }, "end": { - "line": 634, + "line": 646, "column": 11 } } @@ -140585,15 +144327,15 @@ "updateContext": null }, "value": "if", - "start": 20698, - "end": 20700, + "start": 21082, + "end": 21084, "loc": { "start": { - "line": 636, + "line": 648, "column": 10 }, "end": { - "line": 636, + "line": 648, "column": 12 } } @@ -140610,15 +144352,15 @@ "postfix": false, "binop": null }, - "start": 20700, - "end": 20701, + "start": 21084, + "end": 21085, "loc": { "start": { - "line": 636, + "line": 648, "column": 12 }, "end": { - "line": 636, + "line": 648, "column": 13 } } @@ -140636,15 +144378,15 @@ "binop": null }, "value": "themeButtons", - "start": 20701, - "end": 20713, + "start": 21085, + "end": 21097, "loc": { "start": { - "line": 636, + "line": 648, "column": 13 }, "end": { - "line": 636, + "line": 648, "column": 25 } } @@ -140661,15 +144403,15 @@ "postfix": false, "binop": null }, - "start": 20713, - "end": 20714, + "start": 21097, + "end": 21098, "loc": { "start": { - "line": 636, + "line": 648, "column": 25 }, "end": { - "line": 636, + "line": 648, "column": 26 } } @@ -140686,15 +144428,15 @@ "postfix": false, "binop": null }, - "start": 20714, - "end": 20715, + "start": 21098, + "end": 21099, "loc": { "start": { - "line": 636, + "line": 648, "column": 26 }, "end": { - "line": 636, + "line": 648, "column": 27 } } @@ -140712,15 +144454,15 @@ "binop": null }, "value": "themeButtons", - "start": 20729, - "end": 20741, + "start": 21113, + "end": 21125, "loc": { "start": { - "line": 637, + "line": 649, "column": 12 }, "end": { - "line": 637, + "line": 649, "column": 24 } } @@ -140738,15 +144480,15 @@ "binop": null, "updateContext": null }, - "start": 20741, - "end": 20742, + "start": 21125, + "end": 21126, "loc": { "start": { - "line": 637, + "line": 649, "column": 24 }, "end": { - "line": 637, + "line": 649, "column": 25 } } @@ -140764,15 +144506,15 @@ "binop": null }, "value": "forEach", - "start": 20742, - "end": 20749, + "start": 21126, + "end": 21133, "loc": { "start": { - "line": 637, + "line": 649, "column": 25 }, "end": { - "line": 637, + "line": 649, "column": 32 } } @@ -140789,15 +144531,15 @@ "postfix": false, "binop": null }, - "start": 20749, - "end": 20750, + "start": 21133, + "end": 21134, "loc": { "start": { - "line": 637, + "line": 649, "column": 32 }, "end": { - "line": 637, + "line": 649, "column": 33 } } @@ -140815,15 +144557,15 @@ "binop": null }, "value": "themeButton", - "start": 20750, - "end": 20761, + "start": 21134, + "end": 21145, "loc": { "start": { - "line": 637, + "line": 649, "column": 33 }, "end": { - "line": 637, + "line": 649, "column": 44 } } @@ -140841,15 +144583,15 @@ "binop": null, "updateContext": null }, - "start": 20762, - "end": 20764, + "start": 21146, + "end": 21148, "loc": { "start": { - "line": 637, + "line": 649, "column": 45 }, "end": { - "line": 637, + "line": 649, "column": 47 } } @@ -140866,15 +144608,15 @@ "postfix": false, "binop": null }, - "start": 20765, - "end": 20766, + "start": 21149, + "end": 21150, "loc": { "start": { - "line": 637, + "line": 649, "column": 48 }, "end": { - "line": 637, + "line": 649, "column": 49 } } @@ -140894,1144 +144636,19 @@ "updateContext": null }, "value": "let", - "start": 20782, - "end": 20785, + "start": 21166, + "end": 21169, "loc": { "start": { - "line": 638, + "line": 650, "column": 14 }, "end": { - "line": 638, + "line": 650, "column": 17 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeParsed", - "start": 20786, - "end": 20797, - "loc": { - "start": { - "line": 638, - "column": 18 - }, - "end": { - "line": 638, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 20798, - "end": 20799, - "loc": { - "start": { - "line": 638, - "column": 30 - }, - "end": { - "line": 638, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemesParsed", - "start": 20800, - "end": 20818, - "loc": { - "start": { - "line": 638, - "column": 32 - }, - "end": { - "line": 638, - "column": 50 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 20818, - "end": 20819, - "loc": { - "start": { - "line": 638, - "column": 50 - }, - "end": { - "line": 638, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButton", - "start": 20819, - "end": 20830, - "loc": { - "start": { - "line": 638, - "column": 51 - }, - "end": { - "line": 638, - "column": 62 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 20830, - "end": 20831, - "loc": { - "start": { - "line": 638, - "column": 62 - }, - "end": { - "line": 638, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 20831, - "end": 20832, - "loc": { - "start": { - "line": 638, - "column": 63 - }, - "end": { - "line": 638, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " If the button has already been added", - "start": 20850, - "end": 20889, - "loc": { - "start": { - "line": 640, - "column": 14 - }, - "end": { - "line": 640, - "column": 53 - } - } - }, - { - "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": 20905, - "end": 20907, - "loc": { - "start": { - "line": 641, - "column": 14 - }, - "end": { - "line": 641, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20907, - "end": 20908, - "loc": { - "start": { - "line": 641, - "column": 16 - }, - "end": { - "line": 641, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeParsed", - "start": 20908, - "end": 20919, - "loc": { - "start": { - "line": 641, - "column": 17 - }, - "end": { - "line": 641, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20919, - "end": 20920, - "loc": { - "start": { - "line": 641, - "column": 28 - }, - "end": { - "line": 641, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20920, - "end": 20921, - "loc": { - "start": { - "line": 641, - "column": 29 - }, - "end": { - "line": 641, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", - "start": 20939, - "end": 21022, - "loc": { - "start": { - "line": 642, - "column": 16 - }, - "end": { - "line": 642, - "column": 99 - } - } - }, - { - "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": 21040, - "end": 21042, - "loc": { - "start": { - "line": 643, - "column": 16 - }, - "end": { - "line": 643, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21042, - "end": 21043, - "loc": { - "start": { - "line": 643, - "column": 18 - }, - "end": { - "line": 643, - "column": 19 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 21043, - "end": 21044, - "loc": { - "start": { - "line": 643, - "column": 19 - }, - "end": { - "line": 643, - "column": 20 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 21044, - "end": 21048, - "loc": { - "start": { - "line": 643, - "column": 20 - }, - "end": { - "line": 643, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21048, - "end": 21049, - "loc": { - "start": { - "line": 643, - "column": 24 - }, - "end": { - "line": 643, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "utilities", - "start": 21049, - "end": 21058, - "loc": { - "start": { - "line": 643, - "column": 25 - }, - "end": { - "line": 643, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21058, - "end": 21059, - "loc": { - "start": { - "line": 643, - "column": 34 - }, - "end": { - "line": 643, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "countInArray", - "start": 21059, - "end": 21071, - "loc": { - "start": { - "line": 643, - "column": 35 - }, - "end": { - "line": 643, - "column": 47 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21071, - "end": 21072, - "loc": { - "start": { - "line": 643, - "column": 47 - }, - "end": { - "line": 643, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeParsed", - "start": 21072, - "end": 21083, - "loc": { - "start": { - "line": 643, - "column": 48 - }, - "end": { - "line": 643, - "column": 59 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21083, - "end": 21084, - "loc": { - "start": { - "line": 643, - "column": 59 - }, - "end": { - "line": 643, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "split", - "start": 21084, - "end": 21089, - "loc": { - "start": { - "line": 643, - "column": 60 - }, - "end": { - "line": 643, - "column": 65 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21089, - "end": 21090, - "loc": { - "start": { - "line": 643, - "column": 65 - }, - "end": { - "line": 643, - "column": 66 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 21090, - "end": 21093, - "loc": { - "start": { - "line": 643, - "column": 66 - }, - "end": { - "line": 643, - "column": 69 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21093, - "end": 21094, - "loc": { - "start": { - "line": 643, - "column": 69 - }, - "end": { - "line": 643, - "column": 70 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21094, - "end": 21095, - "loc": { - "start": { - "line": 643, - "column": 70 - }, - "end": { - "line": 643, - "column": 71 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeObj", - "start": 21096, - "end": 21104, - "loc": { - "start": { - "line": 643, - "column": 72 - }, - "end": { - "line": 643, - "column": 80 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21104, - "end": 21105, - "loc": { - "start": { - "line": 643, - "column": 80 - }, - "end": { - "line": 643, - "column": 81 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 21105, - "end": 21110, - "loc": { - "start": { - "line": 643, - "column": 81 - }, - "end": { - "line": 643, - "column": 86 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21110, - "end": 21111, - "loc": { - "start": { - "line": 643, - "column": 86 - }, - "end": { - "line": 643, - "column": 87 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21111, - "end": 21112, - "loc": { - "start": { - "line": 643, - "column": 87 - }, - "end": { - "line": 643, - "column": 88 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21112, - "end": 21113, - "loc": { - "start": { - "line": 643, - "column": 88 - }, - "end": { - "line": 643, - "column": 89 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemesParsed", - "start": 21133, - "end": 21151, - "loc": { - "start": { - "line": 644, - "column": 18 - }, - "end": { - "line": 644, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21151, - "end": 21152, - "loc": { - "start": { - "line": 644, - "column": 36 - }, - "end": { - "line": 644, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "themeButton", - "start": 21152, - "end": 21163, - "loc": { - "start": { - "line": 644, - "column": 37 - }, - "end": { - "line": 644, - "column": 48 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21163, - "end": 21164, - "loc": { - "start": { - "line": 644, - "column": 48 - }, - "end": { - "line": 644, - "column": 49 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 21165, - "end": 21166, - "loc": { - "start": { - "line": 644, - "column": 50 - }, - "end": { - "line": 644, - "column": 51 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21167, - "end": 21168, - "loc": { - "start": { - "line": 644, - "column": 52 - }, - "end": { - "line": 644, - "column": 53 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 21168, - "end": 21168, - "loc": { - "start": { - "line": 644, - "column": 53 - }, - "end": { - "line": 644, - "column": 53 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21168, - "end": 21170, - "loc": { - "start": { - "line": 644, - "column": 53 - }, - "end": { - "line": 644, - "column": 55 - } - } - }, { "type": { "label": "name", @@ -142049,11 +144666,1136 @@ "end": 21181, "loc": { "start": { - "line": 644, + "line": 650, + "column": 18 + }, + "end": { + "line": 650, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 21182, + "end": 21183, + "loc": { + "start": { + "line": 650, + "column": 30 + }, + "end": { + "line": 650, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 21184, + "end": 21202, + "loc": { + "start": { + "line": 650, + "column": 32 + }, + "end": { + "line": 650, + "column": 50 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21202, + "end": 21203, + "loc": { + "start": { + "line": 650, + "column": 50 + }, + "end": { + "line": 650, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 21203, + "end": 21214, + "loc": { + "start": { + "line": 650, + "column": 51 + }, + "end": { + "line": 650, + "column": 62 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21214, + "end": 21215, + "loc": { + "start": { + "line": 650, + "column": 62 + }, + "end": { + "line": 650, + "column": 63 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21215, + "end": 21216, + "loc": { + "start": { + "line": 650, + "column": 63 + }, + "end": { + "line": 650, + "column": 64 + } + } + }, + { + "type": "CommentLine", + "value": " If the button has already been added", + "start": 21234, + "end": 21273, + "loc": { + "start": { + "line": 652, + "column": 14 + }, + "end": { + "line": 652, + "column": 53 + } + } + }, + { + "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": 21289, + "end": 21291, + "loc": { + "start": { + "line": 653, + "column": 14 + }, + "end": { + "line": 653, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21291, + "end": 21292, + "loc": { + "start": { + "line": 653, + "column": 16 + }, + "end": { + "line": 653, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 21292, + "end": 21303, + "loc": { + "start": { + "line": 653, + "column": 17 + }, + "end": { + "line": 653, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21303, + "end": 21304, + "loc": { + "start": { + "line": 653, + "column": 28 + }, + "end": { + "line": 653, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21304, + "end": 21305, + "loc": { + "start": { + "line": 653, + "column": 29 + }, + "end": { + "line": 653, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", + "start": 21323, + "end": 21406, + "loc": { + "start": { + "line": 654, + "column": 16 + }, + "end": { + "line": 654, + "column": 99 + } + } + }, + { + "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": 21424, + "end": 21426, + "loc": { + "start": { + "line": 655, + "column": 16 + }, + "end": { + "line": 655, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21426, + "end": 21427, + "loc": { + "start": { + "line": 655, + "column": 18 + }, + "end": { + "line": 655, + "column": 19 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 21427, + "end": 21428, + "loc": { + "start": { + "line": 655, + "column": 19 + }, + "end": { + "line": 655, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 21428, + "end": 21432, + "loc": { + "start": { + "line": 655, + "column": 20 + }, + "end": { + "line": 655, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21432, + "end": 21433, + "loc": { + "start": { + "line": 655, + "column": 24 + }, + "end": { + "line": 655, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utilities", + "start": 21433, + "end": 21442, + "loc": { + "start": { + "line": 655, + "column": 25 + }, + "end": { + "line": 655, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21442, + "end": 21443, + "loc": { + "start": { + "line": 655, + "column": 34 + }, + "end": { + "line": 655, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "countInArray", + "start": 21443, + "end": 21455, + "loc": { + "start": { + "line": 655, + "column": 35 + }, + "end": { + "line": 655, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21455, + "end": 21456, + "loc": { + "start": { + "line": 655, + "column": 47 + }, + "end": { + "line": 655, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 21456, + "end": 21467, + "loc": { + "start": { + "line": 655, + "column": 48 + }, + "end": { + "line": 655, + "column": 59 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21467, + "end": 21468, + "loc": { + "start": { + "line": 655, + "column": 59 + }, + "end": { + "line": 655, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "split", + "start": 21468, + "end": 21473, + "loc": { + "start": { + "line": 655, + "column": 60 + }, + "end": { + "line": 655, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21473, + "end": 21474, + "loc": { + "start": { + "line": 655, + "column": 65 + }, + "end": { + "line": 655, + "column": 66 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 21474, + "end": 21477, + "loc": { + "start": { + "line": 655, + "column": 66 + }, + "end": { + "line": 655, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21477, + "end": 21478, + "loc": { + "start": { + "line": 655, + "column": 69 + }, + "end": { + "line": 655, + "column": 70 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21478, + "end": 21479, + "loc": { + "start": { + "line": 655, + "column": 70 + }, + "end": { + "line": 655, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeObj", + "start": 21480, + "end": 21488, + "loc": { + "start": { + "line": 655, + "column": 72 + }, + "end": { + "line": 655, + "column": 80 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21488, + "end": 21489, + "loc": { + "start": { + "line": 655, + "column": 80 + }, + "end": { + "line": 655, + "column": 81 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 21489, + "end": 21494, + "loc": { + "start": { + "line": 655, + "column": 81 + }, + "end": { + "line": 655, + "column": 86 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21494, + "end": 21495, + "loc": { + "start": { + "line": 655, + "column": 86 + }, + "end": { + "line": 655, + "column": 87 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21495, + "end": 21496, + "loc": { + "start": { + "line": 655, + "column": 87 + }, + "end": { + "line": 655, + "column": 88 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21496, + "end": 21497, + "loc": { + "start": { + "line": 655, + "column": 88 + }, + "end": { + "line": 655, + "column": 89 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 21517, + "end": 21535, + "loc": { + "start": { + "line": 656, + "column": 18 + }, + "end": { + "line": 656, + "column": 36 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21535, + "end": 21536, + "loc": { + "start": { + "line": 656, + "column": 36 + }, + "end": { + "line": 656, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeButton", + "start": 21536, + "end": 21547, + "loc": { + "start": { + "line": 656, + "column": 37 + }, + "end": { + "line": 656, + "column": 48 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21547, + "end": 21548, + "loc": { + "start": { + "line": 656, + "column": 48 + }, + "end": { + "line": 656, + "column": 49 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 21549, + "end": 21550, + "loc": { + "start": { + "line": 656, + "column": 50 + }, + "end": { + "line": 656, + "column": 51 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21551, + "end": 21552, + "loc": { + "start": { + "line": 656, + "column": 52 + }, + "end": { + "line": 656, + "column": 53 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 21552, + "end": 21552, + "loc": { + "start": { + "line": 656, + "column": 53 + }, + "end": { + "line": 656, + "column": 53 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 21552, + "end": 21554, + "loc": { + "start": { + "line": 656, + "column": 53 + }, + "end": { + "line": 656, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "themeParsed", + "start": 21554, + "end": 21565, + "loc": { + "start": { + "line": 656, "column": 55 }, "end": { - "line": 644, + "line": 656, "column": 66 } } @@ -142070,15 +145812,15 @@ "postfix": false, "binop": null }, - "start": 21181, - "end": 21182, + "start": 21565, + "end": 21566, "loc": { "start": { - "line": 644, + "line": 656, "column": 66 }, "end": { - "line": 644, + "line": 656, "column": 67 } } @@ -142097,15 +145839,15 @@ "updateContext": null }, "value": " ", - "start": 21182, - "end": 21183, + "start": 21566, + "end": 21567, "loc": { "start": { - "line": 644, + "line": 656, "column": 67 }, "end": { - "line": 644, + "line": 656, "column": 68 } } @@ -142122,15 +145864,15 @@ "postfix": false, "binop": null }, - "start": 21183, - "end": 21185, + "start": 21567, + "end": 21569, "loc": { "start": { - "line": 644, + "line": 656, "column": 68 }, "end": { - "line": 644, + "line": 656, "column": 70 } } @@ -142148,15 +145890,15 @@ "binop": null }, "value": "themeObj", - "start": 21185, - "end": 21193, + "start": 21569, + "end": 21577, "loc": { "start": { - "line": 644, + "line": 656, "column": 70 }, "end": { - "line": 644, + "line": 656, "column": 78 } } @@ -142174,15 +145916,15 @@ "binop": null, "updateContext": null }, - "start": 21193, - "end": 21194, + "start": 21577, + "end": 21578, "loc": { "start": { - "line": 644, + "line": 656, "column": 78 }, "end": { - "line": 644, + "line": 656, "column": 79 } } @@ -142202,15 +145944,15 @@ "updateContext": null }, "value": "class", - "start": 21194, - "end": 21199, + "start": 21578, + "end": 21583, "loc": { "start": { - "line": 644, + "line": 656, "column": 79 }, "end": { - "line": 644, + "line": 656, "column": 84 } } @@ -142227,15 +145969,15 @@ "postfix": false, "binop": null }, - "start": 21199, - "end": 21200, + "start": 21583, + "end": 21584, "loc": { "start": { - "line": 644, + "line": 656, "column": 84 }, "end": { - "line": 644, + "line": 656, "column": 85 } } @@ -142254,15 +145996,15 @@ "updateContext": null }, "value": "", - "start": 21200, - "end": 21200, + "start": 21584, + "end": 21584, "loc": { "start": { - "line": 644, + "line": 656, "column": 85 }, "end": { - "line": 644, + "line": 656, "column": 85 } } @@ -142279,15 +146021,15 @@ "postfix": false, "binop": null }, - "start": 21200, - "end": 21201, + "start": 21584, + "end": 21585, "loc": { "start": { - "line": 644, + "line": 656, "column": 85 }, "end": { - "line": 644, + "line": 656, "column": 86 } } @@ -142305,15 +146047,15 @@ "binop": null, "updateContext": null }, - "start": 21201, - "end": 21202, + "start": 21585, + "end": 21586, "loc": { "start": { - "line": 644, + "line": 656, "column": 86 }, "end": { - "line": 644, + "line": 656, "column": 87 } } @@ -142330,15 +146072,15 @@ "postfix": false, "binop": null }, - "start": 21220, - "end": 21221, + "start": 21604, + "end": 21605, "loc": { "start": { - "line": 645, + "line": 657, "column": 16 }, "end": { - "line": 645, + "line": 657, "column": 17 } } @@ -142355,15 +146097,15 @@ "postfix": false, "binop": null }, - "start": 21237, - "end": 21238, + "start": 21621, + "end": 21622, "loc": { "start": { - "line": 646, + "line": 658, "column": 14 }, "end": { - "line": 646, + "line": 658, "column": 15 } } @@ -142383,15 +146125,15 @@ "updateContext": null }, "value": "else", - "start": 21239, - "end": 21243, + "start": 21623, + "end": 21627, "loc": { "start": { - "line": 646, + "line": 658, "column": 16 }, "end": { - "line": 646, + "line": 658, "column": 20 } } @@ -142408,15 +146150,15 @@ "postfix": false, "binop": null }, - "start": 21244, - "end": 21245, + "start": 21628, + "end": 21629, "loc": { "start": { - "line": 646, + "line": 658, "column": 21 }, "end": { - "line": 646, + "line": 658, "column": 22 } } @@ -142434,15 +146176,15 @@ "binop": null }, "value": "buttonThemesParsed", - "start": 21263, - "end": 21281, + "start": 21647, + "end": 21665, "loc": { "start": { - "line": 647, + "line": 659, "column": 16 }, "end": { - "line": 647, + "line": 659, "column": 34 } } @@ -142460,15 +146202,15 @@ "binop": null, "updateContext": null }, - "start": 21281, - "end": 21282, + "start": 21665, + "end": 21666, "loc": { "start": { - "line": 647, + "line": 659, "column": 34 }, "end": { - "line": 647, + "line": 659, "column": 35 } } @@ -142486,15 +146228,15 @@ "binop": null }, "value": "themeButton", - "start": 21282, - "end": 21293, + "start": 21666, + "end": 21677, "loc": { "start": { - "line": 647, + "line": 659, "column": 35 }, "end": { - "line": 647, + "line": 659, "column": 46 } } @@ -142512,15 +146254,15 @@ "binop": null, "updateContext": null }, - "start": 21293, - "end": 21294, + "start": 21677, + "end": 21678, "loc": { "start": { - "line": 647, + "line": 659, "column": 46 }, "end": { - "line": 647, + "line": 659, "column": 47 } } @@ -142539,15 +146281,15 @@ "updateContext": null }, "value": "=", - "start": 21295, - "end": 21296, + "start": 21679, + "end": 21680, "loc": { "start": { - "line": 647, + "line": 659, "column": 48 }, "end": { - "line": 647, + "line": 659, "column": 49 } } @@ -142565,15 +146307,15 @@ "binop": null }, "value": "themeObj", - "start": 21297, - "end": 21305, + "start": 21681, + "end": 21689, "loc": { "start": { - "line": 647, + "line": 659, "column": 50 }, "end": { - "line": 647, + "line": 659, "column": 58 } } @@ -142591,15 +146333,15 @@ "binop": null, "updateContext": null }, - "start": 21305, - "end": 21306, + "start": 21689, + "end": 21690, "loc": { "start": { - "line": 647, + "line": 659, "column": 58 }, "end": { - "line": 647, + "line": 659, "column": 59 } } @@ -142619,15 +146361,15 @@ "updateContext": null }, "value": "class", - "start": 21306, - "end": 21311, + "start": 21690, + "end": 21695, "loc": { "start": { - "line": 647, + "line": 659, "column": 59 }, "end": { - "line": 647, + "line": 659, "column": 64 } } @@ -142645,15 +146387,15 @@ "binop": null, "updateContext": null }, - "start": 21311, - "end": 21312, + "start": 21695, + "end": 21696, "loc": { "start": { - "line": 647, + "line": 659, "column": 64 }, "end": { - "line": 647, + "line": 659, "column": 65 } } @@ -142670,15 +146412,15 @@ "postfix": false, "binop": null }, - "start": 21328, - "end": 21329, + "start": 21712, + "end": 21713, "loc": { "start": { - "line": 648, + "line": 660, "column": 14 }, "end": { - "line": 648, + "line": 660, "column": 15 } } @@ -142695,15 +146437,15 @@ "postfix": false, "binop": null }, - "start": 21343, - "end": 21344, + "start": 21727, + "end": 21728, "loc": { "start": { - "line": 649, + "line": 661, "column": 12 }, "end": { - "line": 649, + "line": 661, "column": 13 } } @@ -142720,15 +146462,15 @@ "postfix": false, "binop": null }, - "start": 21344, - "end": 21345, + "start": 21728, + "end": 21729, "loc": { "start": { - "line": 649, + "line": 661, "column": 13 }, "end": { - "line": 649, + "line": 661, "column": 14 } } @@ -142746,15 +146488,15 @@ "binop": null, "updateContext": null }, - "start": 21345, - "end": 21346, + "start": 21729, + "end": 21730, "loc": { "start": { - "line": 649, + "line": 661, "column": 14 }, "end": { - "line": 649, + "line": 661, "column": 15 } } @@ -142771,15 +146513,15 @@ "postfix": false, "binop": null }, - "start": 21358, - "end": 21359, + "start": 21742, + "end": 21743, "loc": { "start": { - "line": 650, + "line": 662, "column": 10 }, "end": { - "line": 650, + "line": 662, "column": 11 } } @@ -142796,15 +146538,15 @@ "postfix": false, "binop": null }, - "start": 21369, - "end": 21370, + "start": 21753, + "end": 21754, "loc": { "start": { - "line": 651, + "line": 663, "column": 8 }, "end": { - "line": 651, + "line": 663, "column": 9 } } @@ -142824,15 +146566,15 @@ "updateContext": null }, "value": "else", - "start": 21371, - "end": 21375, + "start": 21755, + "end": 21759, "loc": { "start": { - "line": 651, + "line": 663, "column": 10 }, "end": { - "line": 651, + "line": 663, "column": 14 } } @@ -142849,15 +146591,15 @@ "postfix": false, "binop": null }, - "start": 21376, - "end": 21377, + "start": 21760, + "end": 21761, "loc": { "start": { - "line": 651, + "line": 663, "column": 15 }, "end": { - "line": 651, + "line": 663, "column": 16 } } @@ -142875,15 +146617,15 @@ "binop": null }, "value": "console", - "start": 21389, - "end": 21396, + "start": 21773, + "end": 21780, "loc": { "start": { - "line": 652, + "line": 664, "column": 10 }, "end": { - "line": 652, + "line": 664, "column": 17 } } @@ -142901,15 +146643,15 @@ "binop": null, "updateContext": null }, - "start": 21396, - "end": 21397, + "start": 21780, + "end": 21781, "loc": { "start": { - "line": 652, + "line": 664, "column": 17 }, "end": { - "line": 652, + "line": 664, "column": 18 } } @@ -142927,15 +146669,15 @@ "binop": null }, "value": "warn", - "start": 21397, - "end": 21401, + "start": 21781, + "end": 21785, "loc": { "start": { - "line": 652, + "line": 664, "column": 18 }, "end": { - "line": 652, + "line": 664, "column": 22 } } @@ -142952,15 +146694,15 @@ "postfix": false, "binop": null }, - "start": 21401, - "end": 21402, + "start": 21785, + "end": 21786, "loc": { "start": { - "line": 652, + "line": 664, "column": 22 }, "end": { - "line": 652, + "line": 664, "column": 23 } } @@ -142977,15 +146719,15 @@ "postfix": false, "binop": null }, - "start": 21402, - "end": 21403, + "start": 21786, + "end": 21787, "loc": { "start": { - "line": 652, + "line": 664, "column": 23 }, "end": { - "line": 652, + "line": 664, "column": 24 } } @@ -143004,15 +146746,15 @@ "updateContext": null }, "value": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", - "start": 21403, - "end": 21491, + "start": 21787, + "end": 21875, "loc": { "start": { - "line": 652, + "line": 664, "column": 24 }, "end": { - "line": 652, + "line": 664, "column": 112 } } @@ -143029,15 +146771,15 @@ "postfix": false, "binop": null }, - "start": 21491, - "end": 21492, + "start": 21875, + "end": 21876, "loc": { "start": { - "line": 652, + "line": 664, "column": 112 }, "end": { - "line": 652, + "line": 664, "column": 113 } } @@ -143054,15 +146796,15 @@ "postfix": false, "binop": null }, - "start": 21492, - "end": 21493, + "start": 21876, + "end": 21877, "loc": { "start": { - "line": 652, + "line": 664, "column": 113 }, "end": { - "line": 652, + "line": 664, "column": 114 } } @@ -143079,15 +146821,15 @@ "postfix": false, "binop": null }, - "start": 21503, - "end": 21504, + "start": 21887, + "end": 21888, "loc": { "start": { - "line": 653, + "line": 665, "column": 8 }, "end": { - "line": 653, + "line": 665, "column": 9 } } @@ -143104,15 +146846,15 @@ "postfix": false, "binop": null }, - "start": 21512, - "end": 21513, + "start": 21896, + "end": 21897, "loc": { "start": { - "line": 654, + "line": 666, "column": 6 }, "end": { - "line": 654, + "line": 666, "column": 7 } } @@ -143129,15 +146871,15 @@ "postfix": false, "binop": null }, - "start": 21513, - "end": 21514, + "start": 21897, + "end": 21898, "loc": { "start": { - "line": 654, + "line": 666, "column": 7 }, "end": { - "line": 654, + "line": 666, "column": 8 } } @@ -143155,15 +146897,15 @@ "binop": null, "updateContext": null }, - "start": 21514, - "end": 21515, + "start": 21898, + "end": 21899, "loc": { "start": { - "line": 654, + "line": 666, "column": 8 }, "end": { - "line": 654, + "line": 666, "column": 9 } } @@ -143180,15 +146922,15 @@ "postfix": false, "binop": null }, - "start": 21521, - "end": 21522, + "start": 21905, + "end": 21906, "loc": { "start": { - "line": 655, + "line": 667, "column": 4 }, "end": { - "line": 655, + "line": 667, "column": 5 } } @@ -143196,15 +146938,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", - "start": 21530, - "end": 21596, + "start": 21914, + "end": 21980, "loc": { "start": { - "line": 657, + "line": 669, "column": 4 }, "end": { - "line": 659, + "line": 671, "column": 7 } } @@ -143224,15 +146966,15 @@ "updateContext": null }, "value": "this", - "start": 21602, - "end": 21606, + "start": 21986, + "end": 21990, "loc": { "start": { - "line": 660, + "line": 672, "column": 4 }, "end": { - "line": 660, + "line": 672, "column": 8 } } @@ -143250,15 +146992,15 @@ "binop": null, "updateContext": null }, - "start": 21606, - "end": 21607, + "start": 21990, + "end": 21991, "loc": { "start": { - "line": 660, + "line": 672, "column": 8 }, "end": { - "line": 660, + "line": 672, "column": 9 } } @@ -143276,15 +147018,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 21607, - "end": 21618, + "start": 21991, + "end": 22002, "loc": { "start": { - "line": 660, + "line": 672, "column": 9 }, "end": { - "line": 660, + "line": 672, "column": 20 } } @@ -143302,15 +147044,15 @@ "binop": null, "updateContext": null }, - "start": 21618, - "end": 21619, + "start": 22002, + "end": 22003, "loc": { "start": { - "line": 660, + "line": 672, "column": 20 }, "end": { - "line": 660, + "line": 672, "column": 21 } } @@ -143328,15 +147070,15 @@ "binop": null }, "value": "className", - "start": 21619, - "end": 21628, + "start": 22003, + "end": 22012, "loc": { "start": { - "line": 660, + "line": 672, "column": 21 }, "end": { - "line": 660, + "line": 672, "column": 30 } } @@ -143355,15 +147097,15 @@ "updateContext": null }, "value": "+=", - "start": 21629, - "end": 21631, + "start": 22013, + "end": 22015, "loc": { "start": { - "line": 660, + "line": 672, "column": 31 }, "end": { - "line": 660, + "line": 672, "column": 33 } } @@ -143380,15 +147122,15 @@ "postfix": false, "binop": null }, - "start": 21632, - "end": 21633, + "start": 22016, + "end": 22017, "loc": { "start": { - "line": 660, + "line": 672, "column": 34 }, "end": { - "line": 660, + "line": 672, "column": 35 } } @@ -143407,15 +147149,15 @@ "updateContext": null }, "value": " ", - "start": 21633, - "end": 21634, + "start": 22017, + "end": 22018, "loc": { "start": { - "line": 660, + "line": 672, "column": 35 }, "end": { - "line": 660, + "line": 672, "column": 36 } } @@ -143432,15 +147174,15 @@ "postfix": false, "binop": null }, - "start": 21634, - "end": 21636, + "start": 22018, + "end": 22020, "loc": { "start": { - "line": 660, + "line": 672, "column": 36 }, "end": { - "line": 660, + "line": 672, "column": 38 } } @@ -143460,15 +147202,15 @@ "updateContext": null }, "value": "this", - "start": 21636, - "end": 21640, + "start": 22020, + "end": 22024, "loc": { "start": { - "line": 660, + "line": 672, "column": 38 }, "end": { - "line": 660, + "line": 672, "column": 42 } } @@ -143486,15 +147228,15 @@ "binop": null, "updateContext": null }, - "start": 21640, - "end": 21641, + "start": 22024, + "end": 22025, "loc": { "start": { - "line": 660, + "line": 672, "column": 42 }, "end": { - "line": 660, + "line": 672, "column": 43 } } @@ -143512,15 +147254,15 @@ "binop": null }, "value": "options", - "start": 21641, - "end": 21648, + "start": 22025, + "end": 22032, "loc": { "start": { - "line": 660, + "line": 672, "column": 43 }, "end": { - "line": 660, + "line": 672, "column": 50 } } @@ -143538,15 +147280,15 @@ "binop": null, "updateContext": null }, - "start": 21648, - "end": 21649, + "start": 22032, + "end": 22033, "loc": { "start": { - "line": 660, + "line": 672, "column": 50 }, "end": { - "line": 660, + "line": 672, "column": 51 } } @@ -143564,15 +147306,15 @@ "binop": null }, "value": "theme", - "start": 21649, - "end": 21654, + "start": 22033, + "end": 22038, "loc": { "start": { - "line": 660, + "line": 672, "column": 51 }, "end": { - "line": 660, + "line": 672, "column": 56 } } @@ -143589,15 +147331,15 @@ "postfix": false, "binop": null }, - "start": 21654, - "end": 21655, + "start": 22038, + "end": 22039, "loc": { "start": { - "line": 660, + "line": 672, "column": 56 }, "end": { - "line": 660, + "line": 672, "column": 57 } } @@ -143616,15 +147358,15 @@ "updateContext": null }, "value": " ", - "start": 21655, - "end": 21656, + "start": 22039, + "end": 22040, "loc": { "start": { - "line": 660, + "line": 672, "column": 57 }, "end": { - "line": 660, + "line": 672, "column": 58 } } @@ -143641,15 +147383,15 @@ "postfix": false, "binop": null }, - "start": 21656, - "end": 21658, + "start": 22040, + "end": 22042, "loc": { "start": { - "line": 660, + "line": 672, "column": 58 }, "end": { - "line": 660, + "line": 672, "column": 60 } } @@ -143667,15 +147409,15 @@ "binop": null }, "value": "layoutClass", - "start": 21658, - "end": 21669, + "start": 22042, + "end": 22053, "loc": { "start": { - "line": 660, + "line": 672, "column": 60 }, "end": { - "line": 660, + "line": 672, "column": 71 } } @@ -143692,15 +147434,15 @@ "postfix": false, "binop": null }, - "start": 21669, - "end": 21670, + "start": 22053, + "end": 22054, "loc": { "start": { - "line": 660, + "line": 672, "column": 71 }, "end": { - "line": 660, + "line": 672, "column": 72 } } @@ -143719,15 +147461,15 @@ "updateContext": null }, "value": " ", - "start": 21670, - "end": 21671, + "start": 22054, + "end": 22055, "loc": { "start": { - "line": 660, + "line": 672, "column": 72 }, "end": { - "line": 660, + "line": 672, "column": 73 } } @@ -143744,15 +147486,15 @@ "postfix": false, "binop": null }, - "start": 21671, - "end": 21673, + "start": 22055, + "end": 22057, "loc": { "start": { - "line": 660, + "line": 672, "column": 73 }, "end": { - "line": 660, + "line": 672, "column": 75 } } @@ -143772,15 +147514,15 @@ "updateContext": null }, "value": "this", - "start": 21673, - "end": 21677, + "start": 22057, + "end": 22061, "loc": { "start": { - "line": 660, + "line": 672, "column": 75 }, "end": { - "line": 660, + "line": 672, "column": 79 } } @@ -143798,15 +147540,15 @@ "binop": null, "updateContext": null }, - "start": 21677, - "end": 21678, + "start": 22061, + "end": 22062, "loc": { "start": { - "line": 660, + "line": 672, "column": 79 }, "end": { - "line": 660, + "line": 672, "column": 80 } } @@ -143824,15 +147566,15 @@ "binop": null }, "value": "keyboardPluginClasses", - "start": 21678, - "end": 21699, + "start": 22062, + "end": 22083, "loc": { "start": { - "line": 660, + "line": 672, "column": 80 }, "end": { - "line": 660, + "line": 672, "column": 101 } } @@ -143849,15 +147591,15 @@ "postfix": false, "binop": null }, - "start": 21699, - "end": 21700, + "start": 22083, + "end": 22084, "loc": { "start": { - "line": 660, + "line": 672, "column": 101 }, "end": { - "line": 660, + "line": 672, "column": 102 } } @@ -143876,15 +147618,15 @@ "updateContext": null }, "value": "", - "start": 21700, - "end": 21700, + "start": 22084, + "end": 22084, "loc": { "start": { - "line": 660, + "line": 672, "column": 102 }, "end": { - "line": 660, + "line": 672, "column": 102 } } @@ -143901,15 +147643,15 @@ "postfix": false, "binop": null }, - "start": 21700, - "end": 21701, + "start": 22084, + "end": 22085, "loc": { "start": { - "line": 660, + "line": 672, "column": 102 }, "end": { - "line": 660, + "line": 672, "column": 103 } } @@ -143927,15 +147669,15 @@ "binop": null, "updateContext": null }, - "start": 21701, - "end": 21702, + "start": 22085, + "end": 22086, "loc": { "start": { - "line": 660, + "line": 672, "column": 103 }, "end": { - "line": 660, + "line": 672, "column": 104 } } @@ -143943,15 +147685,15 @@ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", - "start": 21710, - "end": 21757, + "start": 22094, + "end": 22141, "loc": { "start": { - "line": 662, + "line": 674, "column": 4 }, "end": { - "line": 664, + "line": 676, "column": 7 } } @@ -143969,15 +147711,15 @@ "binop": null }, "value": "layout", - "start": 21763, - "end": 21769, + "start": 22147, + "end": 22153, "loc": { "start": { - "line": 665, + "line": 677, "column": 4 }, "end": { - "line": 665, + "line": 677, "column": 10 } } @@ -143995,15 +147737,15 @@ "binop": null, "updateContext": null }, - "start": 21769, - "end": 21770, + "start": 22153, + "end": 22154, "loc": { "start": { - "line": 665, + "line": 677, "column": 10 }, "end": { - "line": 665, + "line": 677, "column": 11 } } @@ -144023,15 +147765,15 @@ "updateContext": null }, "value": "this", - "start": 21770, - "end": 21774, + "start": 22154, + "end": 22158, "loc": { "start": { - "line": 665, + "line": 677, "column": 11 }, "end": { - "line": 665, + "line": 677, "column": 15 } } @@ -144049,15 +147791,15 @@ "binop": null, "updateContext": null }, - "start": 21774, - "end": 21775, + "start": 22158, + "end": 22159, "loc": { "start": { - "line": 665, + "line": 677, "column": 15 }, "end": { - "line": 665, + "line": 677, "column": 16 } } @@ -144075,15 +147817,15 @@ "binop": null }, "value": "options", - "start": 21775, - "end": 21782, + "start": 22159, + "end": 22166, "loc": { "start": { - "line": 665, + "line": 677, "column": 16 }, "end": { - "line": 665, + "line": 677, "column": 23 } } @@ -144101,15 +147843,15 @@ "binop": null, "updateContext": null }, - "start": 21782, - "end": 21783, + "start": 22166, + "end": 22167, "loc": { "start": { - "line": 665, + "line": 677, "column": 23 }, "end": { - "line": 665, + "line": 677, "column": 24 } } @@ -144127,15 +147869,15 @@ "binop": null }, "value": "layoutName", - "start": 21783, - "end": 21793, + "start": 22167, + "end": 22177, "loc": { "start": { - "line": 665, + "line": 677, "column": 24 }, "end": { - "line": 665, + "line": 677, "column": 34 } } @@ -144153,15 +147895,15 @@ "binop": null, "updateContext": null }, - "start": 21793, - "end": 21794, + "start": 22177, + "end": 22178, "loc": { "start": { - "line": 665, + "line": 677, "column": 34 }, "end": { - "line": 665, + "line": 677, "column": 35 } } @@ -144179,15 +147921,15 @@ "binop": null, "updateContext": null }, - "start": 21794, - "end": 21795, + "start": 22178, + "end": 22179, "loc": { "start": { - "line": 665, + "line": 677, "column": 35 }, "end": { - "line": 665, + "line": 677, "column": 36 } } @@ -144205,15 +147947,15 @@ "binop": null }, "value": "forEach", - "start": 21795, - "end": 21802, + "start": 22179, + "end": 22186, "loc": { "start": { - "line": 665, + "line": 677, "column": 36 }, "end": { - "line": 665, + "line": 677, "column": 43 } } @@ -144230,15 +147972,15 @@ "postfix": false, "binop": null }, - "start": 21802, - "end": 21803, + "start": 22186, + "end": 22187, "loc": { "start": { - "line": 665, + "line": 677, "column": 43 }, "end": { - "line": 665, + "line": 677, "column": 44 } } @@ -144255,15 +147997,15 @@ "postfix": false, "binop": null }, - "start": 21803, - "end": 21804, + "start": 22187, + "end": 22188, "loc": { "start": { - "line": 665, + "line": 677, "column": 44 }, "end": { - "line": 665, + "line": 677, "column": 45 } } @@ -144281,15 +148023,15 @@ "binop": null }, "value": "row", - "start": 21804, - "end": 21807, + "start": 22188, + "end": 22191, "loc": { "start": { - "line": 665, + "line": 677, "column": 45 }, "end": { - "line": 665, + "line": 677, "column": 48 } } @@ -144307,15 +148049,15 @@ "binop": null, "updateContext": null }, - "start": 21807, - "end": 21808, + "start": 22191, + "end": 22192, "loc": { "start": { - "line": 665, + "line": 677, "column": 48 }, "end": { - "line": 665, + "line": 677, "column": 49 } } @@ -144333,15 +148075,15 @@ "binop": null }, "value": "rIndex", - "start": 21809, - "end": 21815, + "start": 22193, + "end": 22199, "loc": { "start": { - "line": 665, + "line": 677, "column": 50 }, "end": { - "line": 665, + "line": 677, "column": 56 } } @@ -144358,15 +148100,15 @@ "postfix": false, "binop": null }, - "start": 21815, - "end": 21816, + "start": 22199, + "end": 22200, "loc": { "start": { - "line": 665, + "line": 677, "column": 56 }, "end": { - "line": 665, + "line": 677, "column": 57 } } @@ -144384,15 +148126,15 @@ "binop": null, "updateContext": null }, - "start": 21817, - "end": 21819, + "start": 22201, + "end": 22203, "loc": { "start": { - "line": 665, + "line": 677, "column": 58 }, "end": { - "line": 665, + "line": 677, "column": 60 } } @@ -144409,15 +148151,15 @@ "postfix": false, "binop": null }, - "start": 21820, - "end": 21821, + "start": 22204, + "end": 22205, "loc": { "start": { - "line": 665, + "line": 677, "column": 61 }, "end": { - "line": 665, + "line": 677, "column": 62 } } @@ -144437,15 +148179,15 @@ "updateContext": null }, "value": "let", - "start": 21829, - "end": 21832, + "start": 22213, + "end": 22216, "loc": { "start": { - "line": 666, + "line": 678, "column": 6 }, "end": { - "line": 666, + "line": 678, "column": 9 } } @@ -144463,15 +148205,15 @@ "binop": null }, "value": "rowArray", - "start": 21833, - "end": 21841, + "start": 22217, + "end": 22225, "loc": { "start": { - "line": 666, + "line": 678, "column": 10 }, "end": { - "line": 666, + "line": 678, "column": 18 } } @@ -144490,15 +148232,15 @@ "updateContext": null }, "value": "=", - "start": 21842, - "end": 21843, + "start": 22226, + "end": 22227, "loc": { "start": { - "line": 666, + "line": 678, "column": 19 }, "end": { - "line": 666, + "line": 678, "column": 20 } } @@ -144516,15 +148258,15 @@ "binop": null }, "value": "row", - "start": 21844, - "end": 21847, + "start": 22228, + "end": 22231, "loc": { "start": { - "line": 666, + "line": 678, "column": 21 }, "end": { - "line": 666, + "line": 678, "column": 24 } } @@ -144542,15 +148284,15 @@ "binop": null, "updateContext": null }, - "start": 21847, - "end": 21848, + "start": 22231, + "end": 22232, "loc": { "start": { - "line": 666, + "line": 678, "column": 24 }, "end": { - "line": 666, + "line": 678, "column": 25 } } @@ -144568,15 +148310,15 @@ "binop": null }, "value": "split", - "start": 21848, - "end": 21853, + "start": 22232, + "end": 22237, "loc": { "start": { - "line": 666, + "line": 678, "column": 25 }, "end": { - "line": 666, + "line": 678, "column": 30 } } @@ -144593,15 +148335,15 @@ "postfix": false, "binop": null }, - "start": 21853, - "end": 21854, + "start": 22237, + "end": 22238, "loc": { "start": { - "line": 666, + "line": 678, "column": 30 }, "end": { - "line": 666, + "line": 678, "column": 31 } } @@ -144620,1281 +148362,22 @@ "updateContext": null }, "value": " ", - "start": 21854, - "end": 21857, - "loc": { - "start": { - "line": 666, - "column": 31 - }, - "end": { - "line": 666, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21857, - "end": 21858, - "loc": { - "start": { - "line": 666, - "column": 34 - }, - "end": { - "line": 666, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21858, - "end": 21859, - "loc": { - "start": { - "line": 666, - "column": 35 - }, - "end": { - "line": 666, - "column": 36 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Creating empty row\r\n ", - "start": 21869, - "end": 21912, - "loc": { - "start": { - "line": 668, - "column": 6 - }, - "end": { - "line": 670, - "column": 9 - } - } - }, - { - "type": { - "label": "var", - "keyword": "var", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "var", - "start": 21920, - "end": 21923, - "loc": { - "start": { - "line": 671, - "column": 6 - }, - "end": { - "line": 671, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rowDOM", - "start": 21924, - "end": 21930, - "loc": { - "start": { - "line": 671, - "column": 10 - }, - "end": { - "line": 671, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 21931, - "end": 21932, - "loc": { - "start": { - "line": 671, - "column": 17 - }, - "end": { - "line": 671, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 21933, - "end": 21941, - "loc": { - "start": { - "line": 671, - "column": 19 - }, - "end": { - "line": 671, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21941, - "end": 21942, - "loc": { - "start": { - "line": 671, - "column": 27 - }, - "end": { - "line": 671, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createElement", - "start": 21942, - "end": 21955, - "loc": { - "start": { - "line": 671, - "column": 28 - }, - "end": { - "line": 671, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21955, - "end": 21956, - "loc": { - "start": { - "line": 671, - "column": 41 - }, - "end": { - "line": 671, - "column": 42 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "div", - "start": 21956, - "end": 21961, - "loc": { - "start": { - "line": 671, - "column": 42 - }, - "end": { - "line": 671, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21961, - "end": 21962, - "loc": { - "start": { - "line": 671, - "column": 47 - }, - "end": { - "line": 671, - "column": 48 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21962, - "end": 21963, - "loc": { - "start": { - "line": 671, - "column": 48 - }, - "end": { - "line": 671, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rowDOM", - "start": 21971, - "end": 21977, - "loc": { - "start": { - "line": 672, - "column": 6 - }, - "end": { - "line": 672, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21977, - "end": 21978, - "loc": { - "start": { - "line": 672, - "column": 12 - }, - "end": { - "line": 672, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "className", - "start": 21978, - "end": 21987, - "loc": { - "start": { - "line": 672, - "column": 13 - }, - "end": { - "line": 672, - "column": 22 - } - } - }, - { - "type": { - "label": "_=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "+=", - "start": 21988, - "end": 21990, - "loc": { - "start": { - "line": 672, - "column": 23 - }, - "end": { - "line": 672, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "hg-row", - "start": 21991, - "end": 21999, - "loc": { - "start": { - "line": 672, - "column": 26 - }, - "end": { - "line": 672, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21999, - "end": 22000, - "loc": { - "start": { - "line": 672, - "column": 34 - }, - "end": { - "line": 672, - "column": 35 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Iterating through each button in row\r\n ", - "start": 22010, - "end": 22071, - "loc": { - "start": { - "line": 674, - "column": 6 - }, - "end": { - "line": 676, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rowArray", - "start": 22079, - "end": 22087, - "loc": { - "start": { - "line": 677, - "column": 6 - }, - "end": { - "line": 677, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22087, - "end": 22088, - "loc": { - "start": { - "line": 677, - "column": 14 - }, - "end": { - "line": 677, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 22088, - "end": 22095, - "loc": { - "start": { - "line": 677, - "column": 15 - }, - "end": { - "line": 677, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22095, - "end": 22096, - "loc": { - "start": { - "line": 677, - "column": 22 - }, - "end": { - "line": 677, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22096, - "end": 22097, - "loc": { - "start": { - "line": 677, - "column": 23 - }, - "end": { - "line": 677, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 22097, - "end": 22103, - "loc": { - "start": { - "line": 677, - "column": 24 - }, - "end": { - "line": 677, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22103, - "end": 22104, - "loc": { - "start": { - "line": 677, - "column": 30 - }, - "end": { - "line": 677, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bIndex", - "start": 22105, - "end": 22111, - "loc": { - "start": { - "line": 677, - "column": 32 - }, - "end": { - "line": 677, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22111, - "end": 22112, - "loc": { - "start": { - "line": 677, - "column": 38 - }, - "end": { - "line": 677, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22113, - "end": 22115, - "loc": { - "start": { - "line": 677, - "column": 40 - }, - "end": { - "line": 677, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22116, - "end": 22117, - "loc": { - "start": { - "line": 677, - "column": 43 - }, - "end": { - "line": 677, - "column": 44 - } - } - }, - { - "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": 22127, - "end": 22130, - "loc": { - "start": { - "line": 678, - "column": 8 - }, - "end": { - "line": 678, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fctBtnClass", - "start": 22131, - "end": 22142, - "loc": { - "start": { - "line": 678, - "column": 12 - }, - "end": { - "line": 678, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 22143, - "end": 22144, - "loc": { - "start": { - "line": 678, - "column": 24 - }, - "end": { - "line": 678, - "column": 25 - } - } - }, - { - "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": 22145, - "end": 22149, - "loc": { - "start": { - "line": 678, - "column": 26 - }, - "end": { - "line": 678, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22149, - "end": 22150, - "loc": { - "start": { - "line": 678, - "column": 30 - }, - "end": { - "line": 678, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "utilities", - "start": 22150, - "end": 22159, - "loc": { - "start": { - "line": 678, - "column": 31 - }, - "end": { - "line": 678, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22159, - "end": 22160, - "loc": { - "start": { - "line": 678, - "column": 40 - }, - "end": { - "line": 678, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getButtonClass", - "start": 22160, - "end": 22174, - "loc": { - "start": { - "line": 678, - "column": 41 - }, - "end": { - "line": 678, - "column": 55 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22174, - "end": 22175, - "loc": { - "start": { - "line": 678, - "column": 55 - }, - "end": { - "line": 678, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 22175, - "end": 22181, - "loc": { - "start": { - "line": 678, - "column": 56 - }, - "end": { - "line": 678, - "column": 62 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22181, - "end": 22182, - "loc": { - "start": { - "line": 678, - "column": 62 - }, - "end": { - "line": 678, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22182, - "end": 22183, - "loc": { - "start": { - "line": 678, - "column": 63 - }, - "end": { - "line": 678, - "column": 64 - } - } - }, - { - "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": 22193, - "end": 22196, - "loc": { - "start": { - "line": 679, - "column": 8 - }, - "end": { - "line": 679, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeClass", - "start": 22197, - "end": 22213, - "loc": { - "start": { - "line": 679, - "column": 12 - }, - "end": { - "line": 679, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 22214, - "end": 22215, - "loc": { - "start": { - "line": 679, - "column": 29 - }, - "end": { - "line": 679, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemesParsed", - "start": 22216, - "end": 22234, - "loc": { - "start": { - "line": 679, - "column": 31 - }, - "end": { - "line": 679, - "column": 49 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22234, - "end": 22235, - "loc": { - "start": { - "line": 679, - "column": 49 - }, - "end": { - "line": 679, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 22235, + "start": 22238, "end": 22241, "loc": { "start": { - "line": 679, - "column": 50 + "line": 678, + "column": 31 }, "end": { - "line": 679, - "column": 56 + "line": 678, + "column": 34 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -145902,19 +148385,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, "start": 22241, "end": 22242, "loc": { "start": { - "line": 679, - "column": 56 + "line": 678, + "column": 34 }, "end": { - "line": 679, - "column": 57 + "line": 678, + "column": 35 } } }, @@ -145935,19 +148417,35 @@ "end": 22243, "loc": { "start": { - "line": 679, - "column": 57 + "line": 678, + "column": 35 }, "end": { - "line": 679, - "column": 58 + "line": 678, + "column": 36 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Creating empty row\r\n ", + "start": 22253, + "end": 22296, + "loc": { + "start": { + "line": 680, + "column": 6 + }, + "end": { + "line": 682, + "column": 9 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "var", + "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -145958,17 +148456,17 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 22253, - "end": 22256, + "value": "var", + "start": 22304, + "end": 22307, "loc": { "start": { - "line": 680, - "column": 8 + "line": 683, + "column": 6 }, "end": { - "line": 680, - "column": 11 + "line": 683, + "column": 9 } } }, @@ -145984,17 +148482,17 @@ "postfix": false, "binop": null }, - "value": "buttonDisplayName", - "start": 22257, - "end": 22274, + "value": "rowDOM", + "start": 22308, + "end": 22314, "loc": { "start": { - "line": 680, - "column": 12 + "line": 683, + "column": 10 }, "end": { - "line": 680, - "column": 29 + "line": 683, + "column": 16 } } }, @@ -146012,70 +148510,16 @@ "updateContext": null }, "value": "=", - "start": 22275, - "end": 22276, + "start": 22315, + "end": 22316, "loc": { "start": { - "line": 680, - "column": 30 + "line": 683, + "column": 17 }, "end": { - "line": 680, - "column": 31 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 22277, - "end": 22281, - "loc": { - "start": { - "line": 680, - "column": 32 - }, - "end": { - "line": 680, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22281, - "end": 22282, - "loc": { - "start": { - "line": 680, - "column": 36 - }, - "end": { - "line": 680, - "column": 37 + "line": 683, + "column": 18 } } }, @@ -146091,174 +148535,17 @@ "postfix": false, "binop": null }, - "value": "utilities", - "start": 22282, - "end": 22291, - "loc": { - "start": { - "line": 680, - "column": 37 - }, - "end": { - "line": 680, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22291, - "end": 22292, - "loc": { - "start": { - "line": 680, - "column": 46 - }, - "end": { - "line": 680, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getButtonDisplayName", - "start": 22292, - "end": 22312, - "loc": { - "start": { - "line": 680, - "column": 47 - }, - "end": { - "line": 680, - "column": 67 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22312, - "end": 22313, - "loc": { - "start": { - "line": 680, - "column": 67 - }, - "end": { - "line": 680, - "column": 68 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 22313, - "end": 22319, - "loc": { - "start": { - "line": 680, - "column": 68 - }, - "end": { - "line": 680, - "column": 74 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22319, - "end": 22320, - "loc": { - "start": { - "line": 680, - "column": 74 - }, - "end": { - "line": 680, - "column": 75 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 22321, + "value": "document", + "start": 22317, "end": 22325, "loc": { "start": { - "line": 680, - "column": 76 + "line": 683, + "column": 19 }, "end": { - "line": 680, - "column": 80 + "line": 683, + "column": 27 } } }, @@ -146279,448 +148566,12 @@ "end": 22326, "loc": { "start": { - "line": 680, - "column": 80 + "line": 683, + "column": 27 }, "end": { - "line": 680, - "column": 81 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 22326, - "end": 22333, - "loc": { - "start": { - "line": 680, - "column": 81 - }, - "end": { - "line": 680, - "column": 88 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22333, - "end": 22334, - "loc": { - "start": { - "line": 680, - "column": 88 - }, - "end": { - "line": 680, - "column": 89 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "display", - "start": 22334, - "end": 22341, - "loc": { - "start": { - "line": 680, - "column": 89 - }, - "end": { - "line": 680, - "column": 96 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22341, - "end": 22342, - "loc": { - "start": { - "line": 680, - "column": 96 - }, - "end": { - "line": 680, - "column": 97 - } - } - }, - { - "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": 22343, - "end": 22347, - "loc": { - "start": { - "line": 680, - "column": 98 - }, - "end": { - "line": 680, - "column": 102 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22347, - "end": 22348, - "loc": { - "start": { - "line": 680, - "column": 102 - }, - "end": { - "line": 680, - "column": 103 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 22348, - "end": 22355, - "loc": { - "start": { - "line": 680, - "column": 103 - }, - "end": { - "line": 680, - "column": 110 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22355, - "end": 22356, - "loc": { - "start": { - "line": 680, - "column": 110 - }, - "end": { - "line": 680, - "column": 111 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "mergeDisplay", - "start": 22356, - "end": 22368, - "loc": { - "start": { - "line": 680, - "column": 111 - }, - "end": { - "line": 680, - "column": 123 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22368, - "end": 22369, - "loc": { - "start": { - "line": 680, - "column": 123 - }, - "end": { - "line": 680, - "column": 124 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22369, - "end": 22370, - "loc": { - "start": { - "line": 680, - "column": 124 - }, - "end": { - "line": 680, - "column": 125 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Creating button\r\n ", - "start": 22382, - "end": 22426, - "loc": { - "start": { - "line": 682, - "column": 8 - }, - "end": { - "line": 684, - "column": 11 - } - } - }, - { - "type": { - "label": "var", - "keyword": "var", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "var", - "start": 22436, - "end": 22439, - "loc": { - "start": { - "line": 685, - "column": 8 - }, - "end": { - "line": 685, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 22440, - "end": 22449, - "loc": { - "start": { - "line": 685, - "column": 12 - }, - "end": { - "line": 685, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 22450, - "end": 22451, - "loc": { - "start": { - "line": 685, - "column": 22 - }, - "end": { - "line": 685, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 22452, - "end": 22460, - "loc": { - "start": { - "line": 685, - "column": 24 - }, - "end": { - "line": 685, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22460, - "end": 22461, - "loc": { - "start": { - "line": 685, - "column": 32 - }, - "end": { - "line": 685, - "column": 33 + "line": 683, + "column": 28 } } }, @@ -146737,16 +148588,16 @@ "binop": null }, "value": "createElement", - "start": 22461, - "end": 22474, + "start": 22326, + "end": 22339, "loc": { "start": { - "line": 685, - "column": 33 + "line": 683, + "column": 28 }, "end": { - "line": 685, - "column": 46 + "line": 683, + "column": 41 } } }, @@ -146762,16 +148613,16 @@ "postfix": false, "binop": null }, - "start": 22474, - "end": 22475, + "start": 22339, + "end": 22340, "loc": { "start": { - "line": 685, - "column": 46 + "line": 683, + "column": 41 }, "end": { - "line": 685, - "column": 47 + "line": 683, + "column": 42 } } }, @@ -146789,16 +148640,16 @@ "updateContext": null }, "value": "div", - "start": 22475, - "end": 22480, + "start": 22340, + "end": 22345, "loc": { "start": { - "line": 685, - "column": 47 + "line": 683, + "column": 42 }, "end": { - "line": 685, - "column": 52 + "line": 683, + "column": 47 } } }, @@ -146814,16 +148665,16 @@ "postfix": false, "binop": null }, - "start": 22480, - "end": 22481, + "start": 22345, + "end": 22346, "loc": { "start": { - "line": 685, - "column": 52 + "line": 683, + "column": 47 }, "end": { - "line": 685, - "column": 53 + "line": 683, + "column": 48 } } }, @@ -146840,16 +148691,16 @@ "binop": null, "updateContext": null }, - "start": 22481, - "end": 22482, + "start": 22346, + "end": 22347, "loc": { "start": { - "line": 685, - "column": 53 + "line": 683, + "column": 48 }, "end": { - "line": 685, - "column": 54 + "line": 683, + "column": 49 } } }, @@ -146865,17 +148716,17 @@ "postfix": false, "binop": null }, - "value": "buttonDOM", - "start": 22492, - "end": 22501, + "value": "rowDOM", + "start": 22355, + "end": 22361, "loc": { "start": { - "line": 686, - "column": 8 + "line": 684, + "column": 6 }, "end": { - "line": 686, - "column": 17 + "line": 684, + "column": 12 } } }, @@ -146892,16 +148743,16 @@ "binop": null, "updateContext": null }, - "start": 22501, - "end": 22502, + "start": 22361, + "end": 22362, "loc": { "start": { - "line": 686, - "column": 17 + "line": 684, + "column": 12 }, "end": { - "line": 686, - "column": 18 + "line": 684, + "column": 13 } } }, @@ -146918,16 +148769,16 @@ "binop": null }, "value": "className", - "start": 22502, - "end": 22511, + "start": 22362, + "end": 22371, "loc": { "start": { - "line": 686, - "column": 18 + "line": 684, + "column": 13 }, "end": { - "line": 686, - "column": 27 + "line": 684, + "column": 22 } } }, @@ -146945,821 +148796,43 @@ "updateContext": null }, "value": "+=", - "start": 22512, - "end": 22514, + "start": 22372, + "end": 22374, "loc": { "start": { - "line": 686, - "column": 28 + "line": 684, + "column": 23 }, "end": { - "line": 686, - "column": 30 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22515, - "end": 22516, - "loc": { - "start": { - "line": 686, - "column": 31 - }, - "end": { - "line": 686, - "column": 32 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "hg-button ", - "start": 22516, - "end": 22526, - "loc": { - "start": { - "line": 686, - "column": 32 - }, - "end": { - "line": 686, - "column": 42 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22526, - "end": 22528, - "loc": { - "start": { - "line": 686, - "column": 42 - }, - "end": { - "line": 686, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fctBtnClass", - "start": 22528, - "end": 22539, - "loc": { - "start": { - "line": 686, - "column": 44 - }, - "end": { - "line": 686, - "column": 55 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22539, - "end": 22540, - "loc": { - "start": { - "line": 686, - "column": 55 - }, - "end": { - "line": 686, - "column": 56 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 22540, - "end": 22540, - "loc": { - "start": { - "line": 686, - "column": 56 - }, - "end": { - "line": 686, - "column": 56 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22540, - "end": 22542, - "loc": { - "start": { - "line": 686, - "column": 56 - }, - "end": { - "line": 686, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeClass", - "start": 22542, - "end": 22558, - "loc": { - "start": { - "line": 686, - "column": 58 - }, - "end": { - "line": 686, - "column": 74 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22559, - "end": 22560, - "loc": { - "start": { - "line": 686, - "column": 75 - }, - "end": { - "line": 686, - "column": 76 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 22561, - "end": 22564, - "loc": { - "start": { - "line": 686, - "column": 77 - }, - "end": { - "line": 686, - "column": 80 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 22564, - "end": 22565, - "loc": { - "start": { - "line": 686, - "column": 80 - }, - "end": { - "line": 686, - "column": 81 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonThemeClass", - "start": 22565, - "end": 22581, - "loc": { - "start": { - "line": 686, - "column": 81 - }, - "end": { - "line": 686, - "column": 97 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22582, - "end": 22583, - "loc": { - "start": { - "line": 686, - "column": 98 - }, - "end": { - "line": 686, - "column": 99 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 22584, - "end": 22586, - "loc": { - "start": { - "line": 686, - "column": 100 - }, - "end": { - "line": 686, - "column": 102 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22586, - "end": 22587, - "loc": { - "start": { - "line": 686, - "column": 102 - }, - "end": { - "line": 686, - "column": 103 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 22587, - "end": 22587, - "loc": { - "start": { - "line": 686, - "column": 103 - }, - "end": { - "line": 686, - "column": 103 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22587, - "end": 22588, - "loc": { - "start": { - "line": 686, - "column": 103 - }, - "end": { - "line": 686, - "column": 104 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22588, - "end": 22589, - "loc": { - "start": { - "line": 686, - "column": 104 - }, - "end": { - "line": 686, - "column": 105 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 22599, - "end": 22608, - "loc": { - "start": { - "line": 687, - "column": 8 - }, - "end": { - "line": 687, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22608, - "end": 22609, - "loc": { - "start": { - "line": 687, - "column": 17 - }, - "end": { - "line": 687, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onclick", - "start": 22609, - "end": 22616, - "loc": { - "start": { - "line": 687, - "column": 18 - }, - "end": { - "line": 687, + "line": 684, "column": 25 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 22617, - "end": 22618, + "value": "hg-row", + "start": 22375, + "end": 22383, "loc": { "start": { - "line": 687, + "line": 684, "column": 26 }, "end": { - "line": 687, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22619, - "end": 22620, - "loc": { - "start": { - "line": 687, - "column": 28 - }, - "end": { - "line": 687, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22620, - "end": 22621, - "loc": { - "start": { - "line": 687, - "column": 29 - }, - "end": { - "line": 687, - "column": 30 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22622, - "end": 22624, - "loc": { - "start": { - "line": 687, - "column": 31 - }, - "end": { - "line": 687, - "column": 33 - } - } - }, - { - "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": 22625, - "end": 22629, - "loc": { - "start": { - "line": 687, + "line": 684, "column": 34 - }, - "end": { - "line": 687, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22629, - "end": 22630, - "loc": { - "start": { - "line": 687, - "column": 38 - }, - "end": { - "line": 687, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "handleButtonClicked", - "start": 22630, - "end": 22649, - "loc": { - "start": { - "line": 687, - "column": 39 - }, - "end": { - "line": 687, - "column": 58 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22649, - "end": 22650, - "loc": { - "start": { - "line": 687, - "column": 58 - }, - "end": { - "line": 687, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 22650, - "end": 22656, - "loc": { - "start": { - "line": 687, - "column": 59 - }, - "end": { - "line": 687, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22656, - "end": 22657, - "loc": { - "start": { - "line": 687, - "column": 65 - }, - "end": { - "line": 687, - "column": 66 } } }, @@ -147776,230 +148849,38 @@ "binop": null, "updateContext": null }, - "start": 22657, - "end": 22658, + "start": 22383, + "end": 22384, "loc": { "start": { - "line": 687, - "column": 66 - }, - "end": { - "line": 687, - "column": 67 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 22668, - "end": 22677, - "loc": { - "start": { - "line": 688, - "column": 8 - }, - "end": { - "line": 688, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22677, - "end": 22678, - "loc": { - "start": { - "line": 688, - "column": 17 - }, - "end": { - "line": 688, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onmousedown", - "start": 22678, - "end": 22689, - "loc": { - "start": { - "line": 688, - "column": 18 - }, - "end": { - "line": 688, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 22690, - "end": 22691, - "loc": { - "start": { - "line": 688, - "column": 30 - }, - "end": { - "line": 688, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22692, - "end": 22693, - "loc": { - "start": { - "line": 688, - "column": 32 - }, - "end": { - "line": 688, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "e", - "start": 22693, - "end": 22694, - "loc": { - "start": { - "line": 688, - "column": 33 - }, - "end": { - "line": 688, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22694, - "end": 22695, - "loc": { - "start": { - "line": 688, + "line": 684, "column": 34 }, "end": { - "line": 688, + "line": 684, "column": 35 } } }, { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22696, - "end": 22698, + "type": "CommentBlock", + "value": "*\r\n * Iterating through each button in row\r\n ", + "start": 22394, + "end": 22455, "loc": { "start": { - "line": 688, - "column": 36 + "line": 686, + "column": 6 }, "end": { "line": 688, - "column": 38 + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -148007,20 +148888,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 22699, - "end": 22703, + "value": "rowArray", + "start": 22463, + "end": 22471, "loc": { "start": { - "line": 688, - "column": 39 + "line": 689, + "column": 6 }, "end": { - "line": 688, - "column": 43 + "line": 689, + "column": 14 } } }, @@ -148037,16 +148917,16 @@ "binop": null, "updateContext": null }, - "start": 22703, - "end": 22704, + "start": 22471, + "end": 22472, "loc": { "start": { - "line": 688, - "column": 43 + "line": 689, + "column": 14 }, "end": { - "line": 688, - "column": 44 + "line": 689, + "column": 15 } } }, @@ -148062,17 +148942,17 @@ "postfix": false, "binop": null }, - "value": "handleButtonMouseDown", - "start": 22704, - "end": 22725, + "value": "forEach", + "start": 22472, + "end": 22479, "loc": { "start": { - "line": 688, - "column": 44 + "line": 689, + "column": 15 }, "end": { - "line": 688, - "column": 65 + "line": 689, + "column": 22 } } }, @@ -148088,16 +148968,41 @@ "postfix": false, "binop": null }, - "start": 22725, - "end": 22726, + "start": 22479, + "end": 22480, "loc": { "start": { - "line": 688, - "column": 65 + "line": 689, + "column": 22 }, "end": { - "line": 688, - "column": 66 + "line": 689, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22480, + "end": 22481, + "loc": { + "start": { + "line": 689, + "column": 23 + }, + "end": { + "line": 689, + "column": 24 } } }, @@ -148114,16 +149019,16 @@ "binop": null }, "value": "button", - "start": 22726, - "end": 22732, + "start": 22481, + "end": 22487, "loc": { "start": { - "line": 688, - "column": 66 + "line": 689, + "column": 24 }, "end": { - "line": 688, - "column": 72 + "line": 689, + "column": 30 } } }, @@ -148140,16 +149045,16 @@ "binop": null, "updateContext": null }, - "start": 22732, - "end": 22733, + "start": 22487, + "end": 22488, "loc": { "start": { - "line": 688, - "column": 72 + "line": 689, + "column": 30 }, "end": { - "line": 688, - "column": 73 + "line": 689, + "column": 31 } } }, @@ -148165,17 +149070,17 @@ "postfix": false, "binop": null }, - "value": "e", - "start": 22734, - "end": 22735, + "value": "bIndex", + "start": 22489, + "end": 22495, "loc": { "start": { - "line": 688, - "column": 74 + "line": 689, + "column": 32 }, "end": { - "line": 688, - "column": 75 + "line": 689, + "column": 38 } } }, @@ -148191,16 +149096,356 @@ "postfix": false, "binop": null }, - "start": 22735, - "end": 22736, + "start": 22495, + "end": 22496, "loc": { "start": { - "line": 688, - "column": 75 + "line": 689, + "column": 38 }, "end": { - "line": 688, - "column": 76 + "line": 689, + "column": 39 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22497, + "end": 22499, + "loc": { + "start": { + "line": 689, + "column": 40 + }, + "end": { + "line": 689, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22500, + "end": 22501, + "loc": { + "start": { + "line": 689, + "column": 43 + }, + "end": { + "line": 689, + "column": 44 + } + } + }, + { + "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": 22511, + "end": 22514, + "loc": { + "start": { + "line": 690, + "column": 8 + }, + "end": { + "line": 690, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fctBtnClass", + "start": 22515, + "end": 22526, + "loc": { + "start": { + "line": 690, + "column": 12 + }, + "end": { + "line": 690, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 22527, + "end": 22528, + "loc": { + "start": { + "line": 690, + "column": 24 + }, + "end": { + "line": 690, + "column": 25 + } + } + }, + { + "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": 22529, + "end": 22533, + "loc": { + "start": { + "line": 690, + "column": 26 + }, + "end": { + "line": 690, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22533, + "end": 22534, + "loc": { + "start": { + "line": 690, + "column": 30 + }, + "end": { + "line": 690, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utilities", + "start": 22534, + "end": 22543, + "loc": { + "start": { + "line": 690, + "column": 31 + }, + "end": { + "line": 690, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22543, + "end": 22544, + "loc": { + "start": { + "line": 690, + "column": 40 + }, + "end": { + "line": 690, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getButtonClass", + "start": 22544, + "end": 22558, + "loc": { + "start": { + "line": 690, + "column": 41 + }, + "end": { + "line": 690, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22558, + "end": 22559, + "loc": { + "start": { + "line": 690, + "column": 55 + }, + "end": { + "line": 690, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 22559, + "end": 22565, + "loc": { + "start": { + "line": 690, + "column": 56 + }, + "end": { + "line": 690, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22565, + "end": 22566, + "loc": { + "start": { + "line": 690, + "column": 62 + }, + "end": { + "line": 690, + "column": 63 } } }, @@ -148217,27 +149462,250 @@ "binop": null, "updateContext": null }, - "start": 22736, - "end": 22737, + "start": 22566, + "end": 22567, "loc": { "start": { - "line": 688, - "column": 76 + "line": 690, + "column": 63 }, "end": { - "line": 688, - "column": 77 + "line": 690, + "column": 64 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Adding identifier\r\n ", - "start": 22749, - "end": 22795, + "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": 22577, + "end": 22580, "loc": { "start": { - "line": 690, + "line": 691, + "column": 8 + }, + "end": { + "line": 691, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeClass", + "start": 22581, + "end": 22597, + "loc": { + "start": { + "line": 691, + "column": 12 + }, + "end": { + "line": 691, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 22598, + "end": 22599, + "loc": { + "start": { + "line": 691, + "column": 29 + }, + "end": { + "line": 691, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemesParsed", + "start": 22600, + "end": 22618, + "loc": { + "start": { + "line": 691, + "column": 31 + }, + "end": { + "line": 691, + "column": 49 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22618, + "end": 22619, + "loc": { + "start": { + "line": 691, + "column": 49 + }, + "end": { + "line": 691, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 22619, + "end": 22625, + "loc": { + "start": { + "line": 691, + "column": 50 + }, + "end": { + "line": 691, + "column": 56 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22625, + "end": 22626, + "loc": { + "start": { + "line": 691, + "column": 56 + }, + "end": { + "line": 691, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22626, + "end": 22627, + "loc": { + "start": { + "line": 691, + "column": 57 + }, + "end": { + "line": 691, + "column": 58 + } + } + }, + { + "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": 22637, + "end": 22640, + "loc": { + "start": { + "line": 692, "column": 8 }, "end": { @@ -148258,294 +149726,17 @@ "postfix": false, "binop": null }, - "value": "buttonDOM", - "start": 22805, - "end": 22814, + "value": "buttonDisplayName", + "start": 22641, + "end": 22658, "loc": { "start": { - "line": 693, - "column": 8 - }, - "end": { - "line": 693, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22814, - "end": 22815, - "loc": { - "start": { - "line": 693, - "column": 17 - }, - "end": { - "line": 693, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setAttribute", - "start": 22815, - "end": 22827, - "loc": { - "start": { - "line": 693, - "column": 18 - }, - "end": { - "line": 693, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22827, - "end": 22828, - "loc": { - "start": { - "line": 693, - "column": 30 - }, - "end": { - "line": 693, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "data-skBtn", - "start": 22828, - "end": 22840, - "loc": { - "start": { - "line": 693, - "column": 31 - }, - "end": { - "line": 693, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22840, - "end": 22841, - "loc": { - "start": { - "line": 693, - "column": 43 - }, - "end": { - "line": 693, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 22842, - "end": 22848, - "loc": { - "start": { - "line": 693, - "column": 45 - }, - "end": { - "line": 693, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22848, - "end": 22849, - "loc": { - "start": { - "line": 693, - "column": 51 - }, - "end": { - "line": 693, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 22849, - "end": 22850, - "loc": { - "start": { - "line": 693, - "column": 52 - }, - "end": { - "line": 693, - "column": 53 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", - "start": 22862, - "end": 23017, - "loc": { - "start": { - "line": 695, - "column": 8 - }, - "end": { - "line": 698, - "column": 11 - } - } - }, - { - "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": 23027, - "end": 23030, - "loc": { - "start": { - "line": 699, - "column": 8 - }, - "end": { - "line": 699, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonUID", - "start": 23031, - "end": 23040, - "loc": { - "start": { - "line": 699, + "line": 692, "column": 12 }, "end": { - "line": 699, - "column": 21 + "line": 692, + "column": 29 } } }, @@ -148563,93 +149754,16 @@ "updateContext": null }, "value": "=", - "start": 23041, - "end": 23042, + "start": 22659, + "end": 22660, "loc": { "start": { - "line": 699, - "column": 22 + "line": 692, + "column": 30 }, "end": { - "line": 699, - "column": 23 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23043, - "end": 23044, - "loc": { - "start": { - "line": 699, - "column": 24 - }, - "end": { - "line": 699, - "column": 25 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 23044, - "end": 23044, - "loc": { - "start": { - "line": 699, - "column": 25 - }, - "end": { - "line": 699, - "column": 25 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23044, - "end": 23046, - "loc": { - "start": { - "line": 699, - "column": 25 - }, - "end": { - "line": 699, - "column": 27 + "line": 692, + "column": 31 } } }, @@ -148668,68 +149782,16 @@ "updateContext": null }, "value": "this", - "start": 23046, - "end": 23050, + "start": 22661, + "end": 22665, "loc": { "start": { - "line": 699, - "column": 27 - }, - "end": { - "line": 699, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 23050, - "end": 23051, - "loc": { - "start": { - "line": 699, - "column": 31 - }, - "end": { - "line": 699, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 23051, - "end": 23058, - "loc": { - "start": { - "line": 699, + "line": 692, "column": 32 }, "end": { - "line": 699, - "column": 39 + "line": 692, + "column": 36 } } }, @@ -148746,16 +149808,16 @@ "binop": null, "updateContext": null }, - "start": 23058, - "end": 23059, + "start": 22665, + "end": 22666, "loc": { "start": { - "line": 699, - "column": 39 + "line": 692, + "column": 36 }, "end": { - "line": 699, - "column": 40 + "line": 692, + "column": 37 } } }, @@ -148771,463 +149833,24 @@ "postfix": false, "binop": null }, - "value": "layoutName", - "start": 23059, - "end": 23069, + "value": "utilities", + "start": 22666, + "end": 22675, "loc": { "start": { - "line": 699, - "column": 40 + "line": 692, + "column": 37 }, "end": { - "line": 699, - "column": 50 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23069, - "end": 23070, - "loc": { - "start": { - "line": 699, - "column": 50 - }, - "end": { - "line": 699, - "column": 51 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "-r", - "start": 23070, - "end": 23072, - "loc": { - "start": { - "line": 699, - "column": 51 - }, - "end": { - "line": 699, - "column": 53 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23072, - "end": 23074, - "loc": { - "start": { - "line": 699, - "column": 53 - }, - "end": { - "line": 699, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rIndex", - "start": 23074, - "end": 23080, - "loc": { - "start": { - "line": 699, - "column": 55 - }, - "end": { - "line": 699, - "column": 61 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23080, - "end": 23081, - "loc": { - "start": { - "line": 699, - "column": 61 - }, - "end": { - "line": 699, - "column": 62 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "b", - "start": 23081, - "end": 23082, - "loc": { - "start": { - "line": 699, - "column": 62 - }, - "end": { - "line": 699, - "column": 63 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23082, - "end": 23084, - "loc": { - "start": { - "line": 699, - "column": 63 - }, - "end": { - "line": 699, - "column": 65 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bIndex", - "start": 23084, - "end": 23090, - "loc": { - "start": { - "line": 699, - "column": 65 - }, - "end": { - "line": 699, - "column": 71 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23090, - "end": 23091, - "loc": { - "start": { - "line": 699, - "column": 71 - }, - "end": { - "line": 699, - "column": 72 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 23091, - "end": 23091, - "loc": { - "start": { - "line": 699, - "column": 72 - }, - "end": { - "line": 699, - "column": 72 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23091, - "end": 23092, - "loc": { - "start": { - "line": 699, - "column": 72 - }, - "end": { - "line": 699, - "column": 73 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 23092, - "end": 23093, - "loc": { - "start": { - "line": 699, - "column": 73 - }, - "end": { - "line": 699, - "column": 74 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 23103, - "end": 23112, - "loc": { - "start": { - "line": 700, - "column": 8 - }, - "end": { - "line": 700, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 23112, - "end": 23113, - "loc": { - "start": { - "line": 700, - "column": 17 - }, - "end": { - "line": 700, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setAttribute", - "start": 23113, - "end": 23125, - "loc": { - "start": { - "line": 700, - "column": 18 - }, - "end": { - "line": 700, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23125, - "end": 23126, - "loc": { - "start": { - "line": 700, - "column": 30 - }, - "end": { - "line": 700, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "data-skBtnUID", - "start": 23126, - "end": 23141, - "loc": { - "start": { - "line": 700, - "column": 31 - }, - "end": { - "line": 700, + "line": 692, "column": 46 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -149237,15 +149860,15 @@ "binop": null, "updateContext": null }, - "start": 23141, - "end": 23142, + "start": 22675, + "end": 22676, "loc": { "start": { - "line": 700, + "line": 692, "column": 46 }, "end": { - "line": 700, + "line": 692, "column": 47 } } @@ -149262,162 +149885,17 @@ "postfix": false, "binop": null }, - "value": "buttonUID", - "start": 23143, - "end": 23152, + "value": "getButtonDisplayName", + "start": 22676, + "end": 22696, "loc": { "start": { - "line": 700, - "column": 48 + "line": 692, + "column": 47 }, "end": { - "line": 700, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 23152, - "end": 23153, - "loc": { - "start": { - "line": 700, - "column": 57 - }, - "end": { - "line": 700, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 23153, - "end": 23154, - "loc": { - "start": { - "line": 700, - "column": 58 - }, - "end": { - "line": 700, - "column": 59 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adding display label\r\n ", - "start": 23166, - "end": 23215, - "loc": { - "start": { - "line": 702, - "column": 8 - }, - "end": { - "line": 704, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buttonDOM", - "start": 23225, - "end": 23234, - "loc": { - "start": { - "line": 705, - "column": 8 - }, - "end": { - "line": 705, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 23234, - "end": 23235, - "loc": { - "start": { - "line": 705, - "column": 17 - }, - "end": { - "line": 705, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setAttribute", - "start": 23235, - "end": 23247, - "loc": { - "start": { - "line": 705, - "column": 18 - }, - "end": { - "line": 705, - "column": 30 + "line": 692, + "column": 67 } } }, @@ -149433,22 +149911,22 @@ "postfix": false, "binop": null }, - "start": 23247, - "end": 23248, + "start": 22696, + "end": 22697, "loc": { "start": { - "line": 705, - "column": 30 + "line": 692, + "column": 67 }, "end": { - "line": 705, - "column": 31 + "line": 692, + "column": 68 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -149456,20 +149934,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "data-displayLabel", - "start": 23248, - "end": 23267, + "value": "button", + "start": 22697, + "end": 22703, "loc": { "start": { - "line": 705, - "column": 31 + "line": 692, + "column": 68 }, "end": { - "line": 705, - "column": 50 + "line": 692, + "column": 74 } } }, @@ -149486,16 +149963,70 @@ "binop": null, "updateContext": null }, - "start": 23267, - "end": 23268, + "start": 22703, + "end": 22704, "loc": { "start": { - "line": 705, - "column": 50 + "line": 692, + "column": 74 }, "end": { - "line": 705, - "column": 51 + "line": 692, + "column": 75 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 22705, + "end": 22709, + "loc": { + "start": { + "line": 692, + "column": 76 + }, + "end": { + "line": 692, + "column": 80 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22709, + "end": 22710, + "loc": { + "start": { + "line": 692, + "column": 80 + }, + "end": { + "line": 692, + "column": 81 } } }, @@ -149511,17 +150042,227 @@ "postfix": false, "binop": null }, - "value": "buttonDisplayName", - "start": 23269, - "end": 23286, + "value": "options", + "start": 22710, + "end": 22717, "loc": { "start": { - "line": 705, - "column": 52 + "line": 692, + "column": 81 }, "end": { - "line": 705, - "column": 69 + "line": 692, + "column": 88 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22717, + "end": 22718, + "loc": { + "start": { + "line": 692, + "column": 88 + }, + "end": { + "line": 692, + "column": 89 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "display", + "start": 22718, + "end": 22725, + "loc": { + "start": { + "line": 692, + "column": 89 + }, + "end": { + "line": 692, + "column": 96 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22725, + "end": 22726, + "loc": { + "start": { + "line": 692, + "column": 96 + }, + "end": { + "line": 692, + "column": 97 + } + } + }, + { + "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": 22727, + "end": 22731, + "loc": { + "start": { + "line": 692, + "column": 98 + }, + "end": { + "line": 692, + "column": 102 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22731, + "end": 22732, + "loc": { + "start": { + "line": 692, + "column": 102 + }, + "end": { + "line": 692, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 22732, + "end": 22739, + "loc": { + "start": { + "line": 692, + "column": 103 + }, + "end": { + "line": 692, + "column": 110 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22739, + "end": 22740, + "loc": { + "start": { + "line": 692, + "column": 110 + }, + "end": { + "line": 692, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mergeDisplay", + "start": 22740, + "end": 22752, + "loc": { + "start": { + "line": 692, + "column": 111 + }, + "end": { + "line": 692, + "column": 123 } } }, @@ -149537,16 +150278,16 @@ "postfix": false, "binop": null }, - "start": 23286, - "end": 23287, + "start": 22752, + "end": 22753, "loc": { "start": { - "line": 705, - "column": 69 + "line": 692, + "column": 123 }, "end": { - "line": 705, - "column": 70 + "line": 692, + "column": 124 } } }, @@ -149563,31 +150304,31 @@ "binop": null, "updateContext": null }, - "start": 23287, - "end": 23288, + "start": 22753, + "end": 22754, "loc": { "start": { - "line": 705, - "column": 70 + "line": 692, + "column": 124 }, "end": { - "line": 705, - "column": 71 + "line": 692, + "column": 125 } } }, { "type": "CommentBlock", - "value": "*\r\n * Adding button label to button\r\n ", - "start": 23300, - "end": 23358, + "value": "*\r\n * Creating button\r\n ", + "start": 22766, + "end": 22810, "loc": { "start": { - "line": 707, + "line": 694, "column": 8 }, "end": { - "line": 709, + "line": 696, "column": 11 } } @@ -149607,15 +150348,15 @@ "updateContext": null }, "value": "var", - "start": 23368, - "end": 23371, + "start": 22820, + "end": 22823, "loc": { "start": { - "line": 710, + "line": 697, "column": 8 }, "end": { - "line": 710, + "line": 697, "column": 11 } } @@ -149632,16 +150373,875 @@ "postfix": false, "binop": null }, - "value": "buttonSpanDOM", - "start": 23372, - "end": 23385, + "value": "buttonDOM", + "start": 22824, + "end": 22833, "loc": { "start": { - "line": 710, + "line": 697, "column": 12 }, "end": { - "line": 710, + "line": 697, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 22834, + "end": 22835, + "loc": { + "start": { + "line": 697, + "column": 22 + }, + "end": { + "line": 697, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "document", + "start": 22836, + "end": 22844, + "loc": { + "start": { + "line": 697, + "column": 24 + }, + "end": { + "line": 697, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22844, + "end": 22845, + "loc": { + "start": { + "line": 697, + "column": 32 + }, + "end": { + "line": 697, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 22845, + "end": 22858, + "loc": { + "start": { + "line": 697, + "column": 33 + }, + "end": { + "line": 697, + "column": 46 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22858, + "end": 22859, + "loc": { + "start": { + "line": 697, + "column": 46 + }, + "end": { + "line": 697, + "column": 47 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 22859, + "end": 22864, + "loc": { + "start": { + "line": 697, + "column": 47 + }, + "end": { + "line": 697, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22864, + "end": 22865, + "loc": { + "start": { + "line": 697, + "column": 52 + }, + "end": { + "line": 697, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22865, + "end": 22866, + "loc": { + "start": { + "line": 697, + "column": 53 + }, + "end": { + "line": 697, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 22876, + "end": 22885, + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22885, + "end": 22886, + "loc": { + "start": { + "line": 698, + "column": 17 + }, + "end": { + "line": 698, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 22886, + "end": 22895, + "loc": { + "start": { + "line": 698, + "column": 18 + }, + "end": { + "line": 698, + "column": 27 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 22896, + "end": 22898, + "loc": { + "start": { + "line": 698, + "column": 28 + }, + "end": { + "line": 698, + "column": 30 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22899, + "end": 22900, + "loc": { + "start": { + "line": 698, + "column": 31 + }, + "end": { + "line": 698, + "column": 32 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "hg-button ", + "start": 22900, + "end": 22910, + "loc": { + "start": { + "line": 698, + "column": 32 + }, + "end": { + "line": 698, + "column": 42 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22910, + "end": 22912, + "loc": { + "start": { + "line": 698, + "column": 42 + }, + "end": { + "line": 698, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fctBtnClass", + "start": 22912, + "end": 22923, + "loc": { + "start": { + "line": 698, + "column": 44 + }, + "end": { + "line": 698, + "column": 55 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22923, + "end": 22924, + "loc": { + "start": { + "line": 698, + "column": 55 + }, + "end": { + "line": 698, + "column": 56 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 22924, + "end": 22924, + "loc": { + "start": { + "line": 698, + "column": 56 + }, + "end": { + "line": 698, + "column": 56 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22924, + "end": 22926, + "loc": { + "start": { + "line": 698, + "column": 56 + }, + "end": { + "line": 698, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeClass", + "start": 22926, + "end": 22942, + "loc": { + "start": { + "line": 698, + "column": 58 + }, + "end": { + "line": 698, + "column": 74 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22943, + "end": 22944, + "loc": { + "start": { + "line": 698, + "column": 75 + }, + "end": { + "line": 698, + "column": 76 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 22945, + "end": 22948, + "loc": { + "start": { + "line": 698, + "column": 77 + }, + "end": { + "line": 698, + "column": 80 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 22948, + "end": 22949, + "loc": { + "start": { + "line": 698, + "column": 80 + }, + "end": { + "line": 698, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonThemeClass", + "start": 22949, + "end": 22965, + "loc": { + "start": { + "line": 698, + "column": 81 + }, + "end": { + "line": 698, + "column": 97 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22966, + "end": 22967, + "loc": { + "start": { + "line": 698, + "column": 98 + }, + "end": { + "line": 698, + "column": 99 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 22968, + "end": 22970, + "loc": { + "start": { + "line": 698, + "column": 100 + }, + "end": { + "line": 698, + "column": 102 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22970, + "end": 22971, + "loc": { + "start": { + "line": 698, + "column": 102 + }, + "end": { + "line": 698, + "column": 103 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 22971, + "end": 22971, + "loc": { + "start": { + "line": 698, + "column": 103 + }, + "end": { + "line": 698, + "column": 103 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22971, + "end": 22972, + "loc": { + "start": { + "line": 698, + "column": 103 + }, + "end": { + "line": 698, + "column": 104 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22972, + "end": 22973, + "loc": { + "start": { + "line": 698, + "column": 104 + }, + "end": { + "line": 698, + "column": 105 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 22983, + "end": 22992, + "loc": { + "start": { + "line": 699, + "column": 8 + }, + "end": { + "line": 699, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 22992, + "end": 22993, + "loc": { + "start": { + "line": 699, + "column": 17 + }, + "end": { + "line": 699, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onclick", + "start": 22993, + "end": 23000, + "loc": { + "start": { + "line": 699, + "column": 18 + }, + "end": { + "line": 699, "column": 25 } } @@ -149660,15 +151260,2368 @@ "updateContext": null }, "value": "=", - "start": 23386, - "end": 23387, + "start": 23001, + "end": 23002, "loc": { "start": { - "line": 710, + "line": 699, "column": 26 }, "end": { + "line": 699, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23003, + "end": 23004, + "loc": { + "start": { + "line": 699, + "column": 28 + }, + "end": { + "line": 699, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23004, + "end": 23005, + "loc": { + "start": { + "line": 699, + "column": 29 + }, + "end": { + "line": 699, + "column": 30 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23006, + "end": 23008, + "loc": { + "start": { + "line": 699, + "column": 31 + }, + "end": { + "line": 699, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23009, + "end": 23010, + "loc": { + "start": { + "line": 699, + "column": 34 + }, + "end": { + "line": 699, + "column": 35 + } + } + }, + { + "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": 23022, + "end": 23026, + "loc": { + "start": { + "line": 700, + "column": 10 + }, + "end": { + "line": 700, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23026, + "end": 23027, + "loc": { + "start": { + "line": 700, + "column": 14 + }, + "end": { + "line": 700, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMouseHold", + "start": 23027, + "end": 23038, + "loc": { + "start": { + "line": 700, + "column": 15 + }, + "end": { + "line": 700, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23039, + "end": 23040, + "loc": { + "start": { + "line": 700, + "column": 27 + }, + "end": { + "line": 700, + "column": 28 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 23041, + "end": 23046, + "loc": { + "start": { + "line": 700, + "column": 29 + }, + "end": { + "line": 700, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23046, + "end": 23047, + "loc": { + "start": { + "line": 700, + "column": 34 + }, + "end": { + "line": 700, + "column": 35 + } + } + }, + { + "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": 23059, + "end": 23063, + "loc": { + "start": { + "line": 701, + "column": 10 + }, + "end": { + "line": 701, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23063, + "end": 23064, + "loc": { + "start": { + "line": 701, + "column": 14 + }, + "end": { + "line": 701, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonClicked", + "start": 23064, + "end": 23083, + "loc": { + "start": { + "line": 701, + "column": 15 + }, + "end": { + "line": 701, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23083, + "end": 23084, + "loc": { + "start": { + "line": 701, + "column": 34 + }, + "end": { + "line": 701, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 23084, + "end": 23090, + "loc": { + "start": { + "line": 701, + "column": 35 + }, + "end": { + "line": 701, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23090, + "end": 23091, + "loc": { + "start": { + "line": 701, + "column": 41 + }, + "end": { + "line": 701, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23091, + "end": 23092, + "loc": { + "start": { + "line": 701, + "column": 42 + }, + "end": { + "line": 701, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23102, + "end": 23103, + "loc": { + "start": { + "line": 702, + "column": 8 + }, + "end": { + "line": 702, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 23113, + "end": 23122, + "loc": { + "start": { + "line": 703, + "column": 8 + }, + "end": { + "line": 703, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23122, + "end": 23123, + "loc": { + "start": { + "line": 703, + "column": 17 + }, + "end": { + "line": 703, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onmousedown", + "start": 23123, + "end": 23134, + "loc": { + "start": { + "line": 703, + "column": 18 + }, + "end": { + "line": 703, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23135, + "end": 23136, + "loc": { + "start": { + "line": 703, + "column": 30 + }, + "end": { + "line": 703, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23137, + "end": 23138, + "loc": { + "start": { + "line": 703, + "column": 32 + }, + "end": { + "line": 703, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 23138, + "end": 23139, + "loc": { + "start": { + "line": 703, + "column": 33 + }, + "end": { + "line": 703, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23139, + "end": 23140, + "loc": { + "start": { + "line": 703, + "column": 34 + }, + "end": { + "line": 703, + "column": 35 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23141, + "end": 23143, + "loc": { + "start": { + "line": 703, + "column": 36 + }, + "end": { + "line": 703, + "column": 38 + } + } + }, + { + "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": 23144, + "end": 23148, + "loc": { + "start": { + "line": 703, + "column": 39 + }, + "end": { + "line": 703, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23148, + "end": 23149, + "loc": { + "start": { + "line": 703, + "column": 43 + }, + "end": { + "line": 703, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonMouseDown", + "start": 23149, + "end": 23170, + "loc": { + "start": { + "line": 703, + "column": 44 + }, + "end": { + "line": 703, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23170, + "end": 23171, + "loc": { + "start": { + "line": 703, + "column": 65 + }, + "end": { + "line": 703, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 23171, + "end": 23177, + "loc": { + "start": { + "line": 703, + "column": 66 + }, + "end": { + "line": 703, + "column": 72 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23177, + "end": 23178, + "loc": { + "start": { + "line": 703, + "column": 72 + }, + "end": { + "line": 703, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "e", + "start": 23179, + "end": 23180, + "loc": { + "start": { + "line": 703, + "column": 74 + }, + "end": { + "line": 703, + "column": 75 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23180, + "end": 23181, + "loc": { + "start": { + "line": 703, + "column": 75 + }, + "end": { + "line": 703, + "column": 76 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23181, + "end": 23182, + "loc": { + "start": { + "line": 703, + "column": 76 + }, + "end": { + "line": 703, + "column": 77 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding identifier\r\n ", + "start": 23194, + "end": 23240, + "loc": { + "start": { + "line": 705, + "column": 8 + }, + "end": { + "line": 707, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 23250, + "end": 23259, + "loc": { + "start": { + "line": 708, + "column": 8 + }, + "end": { + "line": 708, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23259, + "end": 23260, + "loc": { + "start": { + "line": 708, + "column": 17 + }, + "end": { + "line": 708, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAttribute", + "start": 23260, + "end": 23272, + "loc": { + "start": { + "line": 708, + "column": 18 + }, + "end": { + "line": 708, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23272, + "end": 23273, + "loc": { + "start": { + "line": 708, + "column": 30 + }, + "end": { + "line": 708, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "data-skBtn", + "start": 23273, + "end": 23285, + "loc": { + "start": { + "line": 708, + "column": 31 + }, + "end": { + "line": 708, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23285, + "end": 23286, + "loc": { + "start": { + "line": 708, + "column": 43 + }, + "end": { + "line": 708, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 23287, + "end": 23293, + "loc": { + "start": { + "line": 708, + "column": 45 + }, + "end": { + "line": 708, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23293, + "end": 23294, + "loc": { + "start": { + "line": 708, + "column": 51 + }, + "end": { + "line": 708, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23294, + "end": 23295, + "loc": { + "start": { + "line": 708, + "column": 52 + }, + "end": { + "line": 708, + "column": 53 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", + "start": 23307, + "end": 23462, + "loc": { + "start": { "line": 710, + "column": 8 + }, + "end": { + "line": 713, + "column": 11 + } + } + }, + { + "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": 23472, + "end": 23475, + "loc": { + "start": { + "line": 714, + "column": 8 + }, + "end": { + "line": 714, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonUID", + "start": 23476, + "end": 23485, + "loc": { + "start": { + "line": 714, + "column": 12 + }, + "end": { + "line": 714, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23486, + "end": 23487, + "loc": { + "start": { + "line": 714, + "column": 22 + }, + "end": { + "line": 714, + "column": 23 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23488, + "end": 23489, + "loc": { + "start": { + "line": 714, + "column": 24 + }, + "end": { + "line": 714, + "column": 25 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 23489, + "end": 23489, + "loc": { + "start": { + "line": 714, + "column": 25 + }, + "end": { + "line": 714, + "column": 25 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23489, + "end": 23491, + "loc": { + "start": { + "line": 714, + "column": 25 + }, + "end": { + "line": 714, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 23491, + "end": 23495, + "loc": { + "start": { + "line": 714, + "column": 27 + }, + "end": { + "line": 714, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23495, + "end": 23496, + "loc": { + "start": { + "line": 714, + "column": 31 + }, + "end": { + "line": 714, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 23496, + "end": 23503, + "loc": { + "start": { + "line": 714, + "column": 32 + }, + "end": { + "line": 714, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23503, + "end": 23504, + "loc": { + "start": { + "line": 714, + "column": 39 + }, + "end": { + "line": 714, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "layoutName", + "start": 23504, + "end": 23514, + "loc": { + "start": { + "line": 714, + "column": 40 + }, + "end": { + "line": 714, + "column": 50 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23514, + "end": 23515, + "loc": { + "start": { + "line": 714, + "column": 50 + }, + "end": { + "line": 714, + "column": 51 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-r", + "start": 23515, + "end": 23517, + "loc": { + "start": { + "line": 714, + "column": 51 + }, + "end": { + "line": 714, + "column": 53 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23517, + "end": 23519, + "loc": { + "start": { + "line": 714, + "column": 53 + }, + "end": { + "line": 714, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rIndex", + "start": 23519, + "end": 23525, + "loc": { + "start": { + "line": 714, + "column": 55 + }, + "end": { + "line": 714, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23525, + "end": 23526, + "loc": { + "start": { + "line": 714, + "column": 61 + }, + "end": { + "line": 714, + "column": 62 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "b", + "start": 23526, + "end": 23527, + "loc": { + "start": { + "line": 714, + "column": 62 + }, + "end": { + "line": 714, + "column": 63 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23527, + "end": 23529, + "loc": { + "start": { + "line": 714, + "column": 63 + }, + "end": { + "line": 714, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bIndex", + "start": 23529, + "end": 23535, + "loc": { + "start": { + "line": 714, + "column": 65 + }, + "end": { + "line": 714, + "column": 71 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23535, + "end": 23536, + "loc": { + "start": { + "line": 714, + "column": 71 + }, + "end": { + "line": 714, + "column": 72 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 23536, + "end": 23536, + "loc": { + "start": { + "line": 714, + "column": 72 + }, + "end": { + "line": 714, + "column": 72 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23536, + "end": 23537, + "loc": { + "start": { + "line": 714, + "column": 72 + }, + "end": { + "line": 714, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23537, + "end": 23538, + "loc": { + "start": { + "line": 714, + "column": 73 + }, + "end": { + "line": 714, + "column": 74 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 23548, + "end": 23557, + "loc": { + "start": { + "line": 715, + "column": 8 + }, + "end": { + "line": 715, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23557, + "end": 23558, + "loc": { + "start": { + "line": 715, + "column": 17 + }, + "end": { + "line": 715, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAttribute", + "start": 23558, + "end": 23570, + "loc": { + "start": { + "line": 715, + "column": 18 + }, + "end": { + "line": 715, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23570, + "end": 23571, + "loc": { + "start": { + "line": 715, + "column": 30 + }, + "end": { + "line": 715, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "data-skBtnUID", + "start": 23571, + "end": 23586, + "loc": { + "start": { + "line": 715, + "column": 31 + }, + "end": { + "line": 715, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23586, + "end": 23587, + "loc": { + "start": { + "line": 715, + "column": 46 + }, + "end": { + "line": 715, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonUID", + "start": 23588, + "end": 23597, + "loc": { + "start": { + "line": 715, + "column": 48 + }, + "end": { + "line": 715, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23597, + "end": 23598, + "loc": { + "start": { + "line": 715, + "column": 57 + }, + "end": { + "line": 715, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23598, + "end": 23599, + "loc": { + "start": { + "line": 715, + "column": 58 + }, + "end": { + "line": 715, + "column": 59 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding display label\r\n ", + "start": 23611, + "end": 23660, + "loc": { + "start": { + "line": 717, + "column": 8 + }, + "end": { + "line": 719, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDOM", + "start": 23670, + "end": 23679, + "loc": { + "start": { + "line": 720, + "column": 8 + }, + "end": { + "line": 720, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23679, + "end": 23680, + "loc": { + "start": { + "line": 720, + "column": 17 + }, + "end": { + "line": 720, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setAttribute", + "start": 23680, + "end": 23692, + "loc": { + "start": { + "line": 720, + "column": 18 + }, + "end": { + "line": 720, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23692, + "end": 23693, + "loc": { + "start": { + "line": 720, + "column": 30 + }, + "end": { + "line": 720, + "column": 31 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "data-displayLabel", + "start": 23693, + "end": 23712, + "loc": { + "start": { + "line": 720, + "column": 31 + }, + "end": { + "line": 720, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23712, + "end": 23713, + "loc": { + "start": { + "line": 720, + "column": 50 + }, + "end": { + "line": 720, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonDisplayName", + "start": 23714, + "end": 23731, + "loc": { + "start": { + "line": 720, + "column": 52 + }, + "end": { + "line": 720, + "column": 69 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23731, + "end": 23732, + "loc": { + "start": { + "line": 720, + "column": 69 + }, + "end": { + "line": 720, + "column": 70 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 23732, + "end": 23733, + "loc": { + "start": { + "line": 720, + "column": 70 + }, + "end": { + "line": 720, + "column": 71 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adding button label to button\r\n ", + "start": 23745, + "end": 23803, + "loc": { + "start": { + "line": 722, + "column": 8 + }, + "end": { + "line": 724, + "column": 11 + } + } + }, + { + "type": { + "label": "var", + "keyword": "var", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "var", + "start": 23813, + "end": 23816, + "loc": { + "start": { + "line": 725, + "column": 8 + }, + "end": { + "line": 725, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buttonSpanDOM", + "start": 23817, + "end": 23830, + "loc": { + "start": { + "line": 725, + "column": 12 + }, + "end": { + "line": 725, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23831, + "end": 23832, + "loc": { + "start": { + "line": 725, + "column": 26 + }, + "end": { + "line": 725, "column": 27 } } @@ -149686,15 +153639,15 @@ "binop": null }, "value": "document", - "start": 23388, - "end": 23396, + "start": 23833, + "end": 23841, "loc": { "start": { - "line": 710, + "line": 725, "column": 28 }, "end": { - "line": 710, + "line": 725, "column": 36 } } @@ -149712,15 +153665,15 @@ "binop": null, "updateContext": null }, - "start": 23396, - "end": 23397, + "start": 23841, + "end": 23842, "loc": { "start": { - "line": 710, + "line": 725, "column": 36 }, "end": { - "line": 710, + "line": 725, "column": 37 } } @@ -149738,15 +153691,15 @@ "binop": null }, "value": "createElement", - "start": 23397, - "end": 23410, + "start": 23842, + "end": 23855, "loc": { "start": { - "line": 710, + "line": 725, "column": 37 }, "end": { - "line": 710, + "line": 725, "column": 50 } } @@ -149763,15 +153716,15 @@ "postfix": false, "binop": null }, - "start": 23410, - "end": 23411, + "start": 23855, + "end": 23856, "loc": { "start": { - "line": 710, + "line": 725, "column": 50 }, "end": { - "line": 710, + "line": 725, "column": 51 } } @@ -149790,15 +153743,15 @@ "updateContext": null }, "value": "span", - "start": 23411, - "end": 23417, + "start": 23856, + "end": 23862, "loc": { "start": { - "line": 710, + "line": 725, "column": 51 }, "end": { - "line": 710, + "line": 725, "column": 57 } } @@ -149815,15 +153768,15 @@ "postfix": false, "binop": null }, - "start": 23417, - "end": 23418, + "start": 23862, + "end": 23863, "loc": { "start": { - "line": 710, + "line": 725, "column": 57 }, "end": { - "line": 710, + "line": 725, "column": 58 } } @@ -149841,15 +153794,15 @@ "binop": null, "updateContext": null }, - "start": 23418, - "end": 23419, + "start": 23863, + "end": 23864, "loc": { "start": { - "line": 710, + "line": 725, "column": 58 }, "end": { - "line": 710, + "line": 725, "column": 59 } } @@ -149867,15 +153820,15 @@ "binop": null }, "value": "buttonSpanDOM", - "start": 23429, - "end": 23442, + "start": 23874, + "end": 23887, "loc": { "start": { - "line": 711, + "line": 726, "column": 8 }, "end": { - "line": 711, + "line": 726, "column": 21 } } @@ -149893,15 +153846,15 @@ "binop": null, "updateContext": null }, - "start": 23442, - "end": 23443, + "start": 23887, + "end": 23888, "loc": { "start": { - "line": 711, + "line": 726, "column": 21 }, "end": { - "line": 711, + "line": 726, "column": 22 } } @@ -149919,15 +153872,15 @@ "binop": null }, "value": "innerHTML", - "start": 23443, - "end": 23452, + "start": 23888, + "end": 23897, "loc": { "start": { - "line": 711, + "line": 726, "column": 22 }, "end": { - "line": 711, + "line": 726, "column": 31 } } @@ -149946,15 +153899,15 @@ "updateContext": null }, "value": "=", - "start": 23453, - "end": 23454, + "start": 23898, + "end": 23899, "loc": { "start": { - "line": 711, + "line": 726, "column": 32 }, "end": { - "line": 711, + "line": 726, "column": 33 } } @@ -149972,15 +153925,15 @@ "binop": null }, "value": "buttonDisplayName", - "start": 23455, - "end": 23472, + "start": 23900, + "end": 23917, "loc": { "start": { - "line": 711, + "line": 726, "column": 34 }, "end": { - "line": 711, + "line": 726, "column": 51 } } @@ -149998,15 +153951,15 @@ "binop": null, "updateContext": null }, - "start": 23472, - "end": 23473, + "start": 23917, + "end": 23918, "loc": { "start": { - "line": 711, + "line": 726, "column": 51 }, "end": { - "line": 711, + "line": 726, "column": 52 } } @@ -150024,15 +153977,15 @@ "binop": null }, "value": "buttonDOM", - "start": 23483, - "end": 23492, + "start": 23928, + "end": 23937, "loc": { "start": { - "line": 712, + "line": 727, "column": 8 }, "end": { - "line": 712, + "line": 727, "column": 17 } } @@ -150050,15 +154003,15 @@ "binop": null, "updateContext": null }, - "start": 23492, - "end": 23493, + "start": 23937, + "end": 23938, "loc": { "start": { - "line": 712, + "line": 727, "column": 17 }, "end": { - "line": 712, + "line": 727, "column": 18 } } @@ -150076,15 +154029,15 @@ "binop": null }, "value": "appendChild", - "start": 23493, - "end": 23504, + "start": 23938, + "end": 23949, "loc": { "start": { - "line": 712, + "line": 727, "column": 18 }, "end": { - "line": 712, + "line": 727, "column": 29 } } @@ -150101,15 +154054,15 @@ "postfix": false, "binop": null }, - "start": 23504, - "end": 23505, + "start": 23949, + "end": 23950, "loc": { "start": { - "line": 712, + "line": 727, "column": 29 }, "end": { - "line": 712, + "line": 727, "column": 30 } } @@ -150127,15 +154080,15 @@ "binop": null }, "value": "buttonSpanDOM", - "start": 23505, - "end": 23518, + "start": 23950, + "end": 23963, "loc": { "start": { - "line": 712, + "line": 727, "column": 30 }, "end": { - "line": 712, + "line": 727, "column": 43 } } @@ -150152,15 +154105,15 @@ "postfix": false, "binop": null }, - "start": 23518, - "end": 23519, + "start": 23963, + "end": 23964, "loc": { "start": { - "line": 712, + "line": 727, "column": 43 }, "end": { - "line": 712, + "line": 727, "column": 44 } } @@ -150178,15 +154131,15 @@ "binop": null, "updateContext": null }, - "start": 23519, - "end": 23520, + "start": 23964, + "end": 23965, "loc": { "start": { - "line": 712, + "line": 727, "column": 44 }, "end": { - "line": 712, + "line": 727, "column": 45 } } @@ -150194,15 +154147,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", - "start": 23532, - "end": 23585, + "start": 23977, + "end": 24030, "loc": { "start": { - "line": 714, + "line": 729, "column": 8 }, "end": { - "line": 716, + "line": 731, "column": 11 } } @@ -150222,15 +154175,15 @@ "updateContext": null }, "value": "if", - "start": 23595, - "end": 23597, + "start": 24040, + "end": 24042, "loc": { "start": { - "line": 717, + "line": 732, "column": 8 }, "end": { - "line": 717, + "line": 732, "column": 10 } } @@ -150247,15 +154200,15 @@ "postfix": false, "binop": null }, - "start": 23597, - "end": 23598, + "start": 24042, + "end": 24043, "loc": { "start": { - "line": 717, + "line": 732, "column": 10 }, "end": { - "line": 717, + "line": 732, "column": 11 } } @@ -150274,15 +154227,15 @@ "updateContext": null }, "value": "!", - "start": 23598, - "end": 23599, + "start": 24043, + "end": 24044, "loc": { "start": { - "line": 717, + "line": 732, "column": 11 }, "end": { - "line": 717, + "line": 732, "column": 12 } } @@ -150302,15 +154255,15 @@ "updateContext": null }, "value": "this", - "start": 23599, - "end": 23603, + "start": 24044, + "end": 24048, "loc": { "start": { - "line": 717, + "line": 732, "column": 12 }, "end": { - "line": 717, + "line": 732, "column": 16 } } @@ -150328,15 +154281,15 @@ "binop": null, "updateContext": null }, - "start": 23603, - "end": 23604, + "start": 24048, + "end": 24049, "loc": { "start": { - "line": 717, + "line": 732, "column": 16 }, "end": { - "line": 717, + "line": 732, "column": 17 } } @@ -150354,15 +154307,15 @@ "binop": null }, "value": "buttonElements", - "start": 23604, - "end": 23618, + "start": 24049, + "end": 24063, "loc": { "start": { - "line": 717, + "line": 732, "column": 17 }, "end": { - "line": 717, + "line": 732, "column": 31 } } @@ -150380,15 +154333,15 @@ "binop": null, "updateContext": null }, - "start": 23618, - "end": 23619, + "start": 24063, + "end": 24064, "loc": { "start": { - "line": 717, + "line": 732, "column": 31 }, "end": { - "line": 717, + "line": 732, "column": 32 } } @@ -150406,15 +154359,15 @@ "binop": null }, "value": "button", - "start": 23619, - "end": 23625, + "start": 24064, + "end": 24070, "loc": { "start": { - "line": 717, + "line": 732, "column": 32 }, "end": { - "line": 717, + "line": 732, "column": 38 } } @@ -150432,15 +154385,15 @@ "binop": null, "updateContext": null }, - "start": 23625, - "end": 23626, + "start": 24070, + "end": 24071, "loc": { "start": { - "line": 717, + "line": 732, "column": 38 }, "end": { - "line": 717, + "line": 732, "column": 39 } } @@ -150457,15 +154410,15 @@ "postfix": false, "binop": null }, - "start": 23626, - "end": 23627, + "start": 24071, + "end": 24072, "loc": { "start": { - "line": 717, + "line": 732, "column": 39 }, "end": { - "line": 717, + "line": 732, "column": 40 } } @@ -150485,15 +154438,15 @@ "updateContext": null }, "value": "this", - "start": 23639, - "end": 23643, + "start": 24084, + "end": 24088, "loc": { "start": { - "line": 718, + "line": 733, "column": 10 }, "end": { - "line": 718, + "line": 733, "column": 14 } } @@ -150511,15 +154464,15 @@ "binop": null, "updateContext": null }, - "start": 23643, - "end": 23644, + "start": 24088, + "end": 24089, "loc": { "start": { - "line": 718, + "line": 733, "column": 14 }, "end": { - "line": 718, + "line": 733, "column": 15 } } @@ -150537,15 +154490,15 @@ "binop": null }, "value": "buttonElements", - "start": 23644, - "end": 23658, + "start": 24089, + "end": 24103, "loc": { "start": { - "line": 718, + "line": 733, "column": 15 }, "end": { - "line": 718, + "line": 733, "column": 29 } } @@ -150563,15 +154516,15 @@ "binop": null, "updateContext": null }, - "start": 23658, - "end": 23659, + "start": 24103, + "end": 24104, "loc": { "start": { - "line": 718, + "line": 733, "column": 29 }, "end": { - "line": 718, + "line": 733, "column": 30 } } @@ -150589,15 +154542,15 @@ "binop": null }, "value": "button", - "start": 23659, - "end": 23665, + "start": 24104, + "end": 24110, "loc": { "start": { - "line": 718, + "line": 733, "column": 30 }, "end": { - "line": 718, + "line": 733, "column": 36 } } @@ -150615,15 +154568,15 @@ "binop": null, "updateContext": null }, - "start": 23665, - "end": 23666, + "start": 24110, + "end": 24111, "loc": { "start": { - "line": 718, + "line": 733, "column": 36 }, "end": { - "line": 718, + "line": 733, "column": 37 } } @@ -150642,15 +154595,15 @@ "updateContext": null }, "value": "=", - "start": 23667, - "end": 23668, + "start": 24112, + "end": 24113, "loc": { "start": { - "line": 718, + "line": 733, "column": 38 }, "end": { - "line": 718, + "line": 733, "column": 39 } } @@ -150668,15 +154621,15 @@ "binop": null, "updateContext": null }, - "start": 23669, - "end": 23670, + "start": 24114, + "end": 24115, "loc": { "start": { - "line": 718, + "line": 733, "column": 40 }, "end": { - "line": 718, + "line": 733, "column": 41 } } @@ -150694,15 +154647,15 @@ "binop": null, "updateContext": null }, - "start": 23670, - "end": 23671, + "start": 24115, + "end": 24116, "loc": { "start": { - "line": 718, + "line": 733, "column": 41 }, "end": { - "line": 718, + "line": 733, "column": 42 } } @@ -150720,15 +154673,15 @@ "binop": null, "updateContext": null }, - "start": 23671, - "end": 23672, + "start": 24116, + "end": 24117, "loc": { "start": { - "line": 718, + "line": 733, "column": 42 }, "end": { - "line": 718, + "line": 733, "column": 43 } } @@ -150748,15 +154701,15 @@ "updateContext": null }, "value": "this", - "start": 23684, - "end": 23688, + "start": 24129, + "end": 24133, "loc": { "start": { - "line": 720, + "line": 735, "column": 8 }, "end": { - "line": 720, + "line": 735, "column": 12 } } @@ -150774,15 +154727,15 @@ "binop": null, "updateContext": null }, - "start": 23688, - "end": 23689, + "start": 24133, + "end": 24134, "loc": { "start": { - "line": 720, + "line": 735, "column": 12 }, "end": { - "line": 720, + "line": 735, "column": 13 } } @@ -150800,15 +154753,15 @@ "binop": null }, "value": "buttonElements", - "start": 23689, - "end": 23703, + "start": 24134, + "end": 24148, "loc": { "start": { - "line": 720, + "line": 735, "column": 13 }, "end": { - "line": 720, + "line": 735, "column": 27 } } @@ -150826,15 +154779,15 @@ "binop": null, "updateContext": null }, - "start": 23703, - "end": 23704, + "start": 24148, + "end": 24149, "loc": { "start": { - "line": 720, + "line": 735, "column": 27 }, "end": { - "line": 720, + "line": 735, "column": 28 } } @@ -150852,15 +154805,15 @@ "binop": null }, "value": "button", - "start": 23704, - "end": 23710, + "start": 24149, + "end": 24155, "loc": { "start": { - "line": 720, + "line": 735, "column": 28 }, "end": { - "line": 720, + "line": 735, "column": 34 } } @@ -150878,15 +154831,15 @@ "binop": null, "updateContext": null }, - "start": 23710, - "end": 23711, + "start": 24155, + "end": 24156, "loc": { "start": { - "line": 720, + "line": 735, "column": 34 }, "end": { - "line": 720, + "line": 735, "column": 35 } } @@ -150904,15 +154857,15 @@ "binop": null, "updateContext": null }, - "start": 23711, - "end": 23712, + "start": 24156, + "end": 24157, "loc": { "start": { - "line": 720, + "line": 735, "column": 35 }, "end": { - "line": 720, + "line": 735, "column": 36 } } @@ -150930,15 +154883,15 @@ "binop": null }, "value": "push", - "start": 23712, - "end": 23716, + "start": 24157, + "end": 24161, "loc": { "start": { - "line": 720, + "line": 735, "column": 36 }, "end": { - "line": 720, + "line": 735, "column": 40 } } @@ -150955,15 +154908,15 @@ "postfix": false, "binop": null }, - "start": 23716, - "end": 23717, + "start": 24161, + "end": 24162, "loc": { "start": { - "line": 720, + "line": 735, "column": 40 }, "end": { - "line": 720, + "line": 735, "column": 41 } } @@ -150981,15 +154934,15 @@ "binop": null }, "value": "buttonDOM", - "start": 23717, - "end": 23726, + "start": 24162, + "end": 24171, "loc": { "start": { - "line": 720, + "line": 735, "column": 41 }, "end": { - "line": 720, + "line": 735, "column": 50 } } @@ -151006,15 +154959,15 @@ "postfix": false, "binop": null }, - "start": 23726, - "end": 23727, + "start": 24171, + "end": 24172, "loc": { "start": { - "line": 720, + "line": 735, "column": 50 }, "end": { - "line": 720, + "line": 735, "column": 51 } } @@ -151032,15 +154985,15 @@ "binop": null, "updateContext": null }, - "start": 23727, - "end": 23728, + "start": 24172, + "end": 24173, "loc": { "start": { - "line": 720, + "line": 735, "column": 51 }, "end": { - "line": 720, + "line": 735, "column": 52 } } @@ -151048,15 +155001,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", - "start": 23740, - "end": 23792, + "start": 24185, + "end": 24237, "loc": { "start": { - "line": 722, + "line": 737, "column": 8 }, "end": { - "line": 724, + "line": 739, "column": 11 } } @@ -151074,15 +155027,15 @@ "binop": null }, "value": "rowDOM", - "start": 23802, - "end": 23808, + "start": 24247, + "end": 24253, "loc": { "start": { - "line": 725, + "line": 740, "column": 8 }, "end": { - "line": 725, + "line": 740, "column": 14 } } @@ -151100,15 +155053,15 @@ "binop": null, "updateContext": null }, - "start": 23808, - "end": 23809, + "start": 24253, + "end": 24254, "loc": { "start": { - "line": 725, + "line": 740, "column": 14 }, "end": { - "line": 725, + "line": 740, "column": 15 } } @@ -151126,15 +155079,15 @@ "binop": null }, "value": "appendChild", - "start": 23809, - "end": 23820, + "start": 24254, + "end": 24265, "loc": { "start": { - "line": 725, + "line": 740, "column": 15 }, "end": { - "line": 725, + "line": 740, "column": 26 } } @@ -151151,15 +155104,15 @@ "postfix": false, "binop": null }, - "start": 23820, - "end": 23821, + "start": 24265, + "end": 24266, "loc": { "start": { - "line": 725, + "line": 740, "column": 26 }, "end": { - "line": 725, + "line": 740, "column": 27 } } @@ -151177,15 +155130,15 @@ "binop": null }, "value": "buttonDOM", - "start": 23821, - "end": 23830, + "start": 24266, + "end": 24275, "loc": { "start": { - "line": 725, + "line": 740, "column": 27 }, "end": { - "line": 725, + "line": 740, "column": 36 } } @@ -151202,15 +155155,15 @@ "postfix": false, "binop": null }, - "start": 23830, - "end": 23831, + "start": 24275, + "end": 24276, "loc": { "start": { - "line": 725, + "line": 740, "column": 36 }, "end": { - "line": 725, + "line": 740, "column": 37 } } @@ -151228,15 +155181,15 @@ "binop": null, "updateContext": null }, - "start": 23831, - "end": 23832, + "start": 24276, + "end": 24277, "loc": { "start": { - "line": 725, + "line": 740, "column": 37 }, "end": { - "line": 725, + "line": 740, "column": 38 } } @@ -151253,15 +155206,15 @@ "postfix": false, "binop": null }, - "start": 23842, - "end": 23843, + "start": 24287, + "end": 24288, "loc": { "start": { - "line": 727, + "line": 742, "column": 6 }, "end": { - "line": 727, + "line": 742, "column": 7 } } @@ -151278,15 +155231,15 @@ "postfix": false, "binop": null }, - "start": 23843, - "end": 23844, + "start": 24288, + "end": 24289, "loc": { "start": { - "line": 727, + "line": 742, "column": 7 }, "end": { - "line": 727, + "line": 742, "column": 8 } } @@ -151304,15 +155257,15 @@ "binop": null, "updateContext": null }, - "start": 23844, - "end": 23845, + "start": 24289, + "end": 24290, "loc": { "start": { - "line": 727, + "line": 742, "column": 8 }, "end": { - "line": 727, + "line": 742, "column": 9 } } @@ -151320,15 +155273,15 @@ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", - "start": 23855, - "end": 23905, + "start": 24300, + "end": 24350, "loc": { "start": { - "line": 729, + "line": 744, "column": 6 }, "end": { - "line": 731, + "line": 746, "column": 9 } } @@ -151348,15 +155301,15 @@ "updateContext": null }, "value": "this", - "start": 23913, - "end": 23917, + "start": 24358, + "end": 24362, "loc": { "start": { - "line": 732, + "line": 747, "column": 6 }, "end": { - "line": 732, + "line": 747, "column": 10 } } @@ -151374,15 +155327,15 @@ "binop": null, "updateContext": null }, - "start": 23917, - "end": 23918, + "start": 24362, + "end": 24363, "loc": { "start": { - "line": 732, + "line": 747, "column": 10 }, "end": { - "line": 732, + "line": 747, "column": 11 } } @@ -151400,15 +155353,15 @@ "binop": null }, "value": "keyboardDOM", - "start": 23918, - "end": 23929, + "start": 24363, + "end": 24374, "loc": { "start": { - "line": 732, + "line": 747, "column": 11 }, "end": { - "line": 732, + "line": 747, "column": 22 } } @@ -151426,15 +155379,15 @@ "binop": null, "updateContext": null }, - "start": 23929, - "end": 23930, + "start": 24374, + "end": 24375, "loc": { "start": { - "line": 732, + "line": 747, "column": 22 }, "end": { - "line": 732, + "line": 747, "column": 23 } } @@ -151452,15 +155405,15 @@ "binop": null }, "value": "appendChild", - "start": 23930, - "end": 23941, + "start": 24375, + "end": 24386, "loc": { "start": { - "line": 732, + "line": 747, "column": 23 }, "end": { - "line": 732, + "line": 747, "column": 34 } } @@ -151477,15 +155430,15 @@ "postfix": false, "binop": null }, - "start": 23941, - "end": 23942, + "start": 24386, + "end": 24387, "loc": { "start": { - "line": 732, + "line": 747, "column": 34 }, "end": { - "line": 732, + "line": 747, "column": 35 } } @@ -151503,15 +155456,15 @@ "binop": null }, "value": "rowDOM", - "start": 23942, - "end": 23948, + "start": 24387, + "end": 24393, "loc": { "start": { - "line": 732, + "line": 747, "column": 35 }, "end": { - "line": 732, + "line": 747, "column": 41 } } @@ -151528,15 +155481,15 @@ "postfix": false, "binop": null }, - "start": 23948, - "end": 23949, + "start": 24393, + "end": 24394, "loc": { "start": { - "line": 732, + "line": 747, "column": 41 }, "end": { - "line": 732, + "line": 747, "column": 42 } } @@ -151554,15 +155507,15 @@ "binop": null, "updateContext": null }, - "start": 23949, - "end": 23950, + "start": 24394, + "end": 24395, "loc": { "start": { - "line": 732, + "line": 747, "column": 42 }, "end": { - "line": 732, + "line": 747, "column": 43 } } @@ -151579,15 +155532,15 @@ "postfix": false, "binop": null }, - "start": 23956, - "end": 23957, + "start": 24401, + "end": 24402, "loc": { "start": { - "line": 733, + "line": 748, "column": 4 }, "end": { - "line": 733, + "line": 748, "column": 5 } } @@ -151604,15 +155557,15 @@ "postfix": false, "binop": null }, - "start": 23957, - "end": 23958, + "start": 24402, + "end": 24403, "loc": { "start": { - "line": 733, + "line": 748, "column": 5 }, "end": { - "line": 733, + "line": 748, "column": 6 } } @@ -151630,15 +155583,15 @@ "binop": null, "updateContext": null }, - "start": 23958, - "end": 23959, + "start": 24403, + "end": 24404, "loc": { "start": { - "line": 733, + "line": 748, "column": 6 }, "end": { - "line": 733, + "line": 748, "column": 7 } } @@ -151646,15 +155599,15 @@ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", - "start": 23967, - "end": 24004, + "start": 24412, + "end": 24449, "loc": { "start": { - "line": 735, + "line": 750, "column": 4 }, "end": { - "line": 737, + "line": 752, "column": 7 } } @@ -151674,15 +155627,15 @@ "updateContext": null }, "value": "this", - "start": 24010, - "end": 24014, + "start": 24455, + "end": 24459, "loc": { "start": { - "line": 738, + "line": 753, "column": 4 }, "end": { - "line": 738, + "line": 753, "column": 8 } } @@ -151700,15 +155653,15 @@ "binop": null, "updateContext": null }, - "start": 24014, - "end": 24015, + "start": 24459, + "end": 24460, "loc": { "start": { - "line": 738, + "line": 753, "column": 8 }, "end": { - "line": 738, + "line": 753, "column": 9 } } @@ -151726,15 +155679,15 @@ "binop": null }, "value": "onRender", - "start": 24015, - "end": 24023, + "start": 24460, + "end": 24468, "loc": { "start": { - "line": 738, + "line": 753, "column": 9 }, "end": { - "line": 738, + "line": 753, "column": 17 } } @@ -151751,15 +155704,15 @@ "postfix": false, "binop": null }, - "start": 24023, - "end": 24024, + "start": 24468, + "end": 24469, "loc": { "start": { - "line": 738, + "line": 753, "column": 17 }, "end": { - "line": 738, + "line": 753, "column": 18 } } @@ -151776,15 +155729,15 @@ "postfix": false, "binop": null }, - "start": 24024, - "end": 24025, + "start": 24469, + "end": 24470, "loc": { "start": { - "line": 738, + "line": 753, "column": 18 }, "end": { - "line": 738, + "line": 753, "column": 19 } } @@ -151802,51 +155755,39 @@ "binop": null, "updateContext": null }, - "start": 24025, - "end": 24026, + "start": 24470, + "end": 24471, "loc": { "start": { - "line": 738, + "line": 753, "column": 19 }, "end": { - "line": 738, + "line": 753, "column": 20 } } }, { - "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": 24034, - "end": 24036, + "type": "CommentBlock", + "value": "*\r\n * Handling mouseup\r\n ", + "start": 24479, + "end": 24516, "loc": { "start": { - "line": 740, + "line": 755, "column": 4 }, "end": { - "line": 740, - "column": 6 + "line": 757, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -151855,70 +155796,16 @@ "postfix": false, "binop": null }, - "start": 24036, - "end": 24037, + "value": "document", + "start": 24522, + "end": 24530, "loc": { "start": { - "line": 740, - "column": 6 + "line": 758, + "column": 4 }, "end": { - "line": 740, - "column": 7 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 24037, - "end": 24038, - "loc": { - "start": { - "line": 740, - "column": 7 - }, - "end": { - "line": 740, - "column": 8 - } - } - }, - { - "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": 24038, - "end": 24042, - "loc": { - "start": { - "line": 740, - "column": 8 - }, - "end": { - "line": 740, + "line": 758, "column": 12 } } @@ -151936,15 +155823,15 @@ "binop": null, "updateContext": null }, - "start": 24042, - "end": 24043, + "start": 24530, + "end": 24531, "loc": { "start": { - "line": 740, + "line": 758, "column": 12 }, "end": { - "line": 740, + "line": 758, "column": 13 } } @@ -151961,162 +155848,16 @@ "postfix": false, "binop": null }, - "value": "initialized", - "start": 24043, - "end": 24054, + "value": "onmouseup", + "start": 24531, + "end": 24540, "loc": { "start": { - "line": 740, + "line": 758, "column": 13 }, "end": { - "line": 740, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 24054, - "end": 24055, - "loc": { - "start": { - "line": 740, - "column": 24 - }, - "end": { - "line": 740, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 24055, - "end": 24056, - "loc": { - "start": { - "line": 740, - "column": 25 - }, - "end": { - "line": 740, - "column": 26 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", - "start": 24064, - "end": 24146, - "loc": { - "start": { - "line": 741, - "column": 6 - }, - "end": { - "line": 743, - "column": 9 - } - } - }, - { - "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": 24154, - "end": 24158, - "loc": { - "start": { - "line": 744, - "column": 6 - }, - "end": { - "line": 744, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 24158, - "end": 24159, - "loc": { - "start": { - "line": 744, - "column": 10 - }, - "end": { - "line": 744, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initialized", - "start": 24159, - "end": 24170, - "loc": { - "start": { - "line": 744, - "column": 11 - }, - "end": { - "line": 744, + "line": 758, "column": 22 } } @@ -152135,15 +155876,580 @@ "updateContext": null }, "value": "=", - "start": 24171, - "end": 24172, + "start": 24541, + "end": 24542, "loc": { "start": { - "line": 744, + "line": 758, "column": 23 }, "end": { - "line": 744, + "line": 758, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24543, + "end": 24544, + "loc": { + "start": { + "line": 758, + "column": 25 + }, + "end": { + "line": 758, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24544, + "end": 24545, + "loc": { + "start": { + "line": 758, + "column": 26 + }, + "end": { + "line": 758, + "column": 27 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24546, + "end": 24548, + "loc": { + "start": { + "line": 758, + "column": 28 + }, + "end": { + "line": 758, + "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": 24549, + "end": 24553, + "loc": { + "start": { + "line": 758, + "column": 31 + }, + "end": { + "line": 758, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24553, + "end": 24554, + "loc": { + "start": { + "line": 758, + "column": 35 + }, + "end": { + "line": 758, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleButtonMouseUp", + "start": 24554, + "end": 24573, + "loc": { + "start": { + "line": 758, + "column": 36 + }, + "end": { + "line": 758, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24573, + "end": 24574, + "loc": { + "start": { + "line": 758, + "column": 55 + }, + "end": { + "line": 758, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24574, + "end": 24575, + "loc": { + "start": { + "line": 758, + "column": 56 + }, + "end": { + "line": 758, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24575, + "end": 24576, + "loc": { + "start": { + "line": 758, + "column": 57 + }, + "end": { + "line": 758, + "column": 58 + } + } + }, + { + "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": 24584, + "end": 24586, + "loc": { + "start": { + "line": 760, + "column": 4 + }, + "end": { + "line": 760, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24586, + "end": 24587, + "loc": { + "start": { + "line": 760, + "column": 6 + }, + "end": { + "line": 760, + "column": 7 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 24587, + "end": 24588, + "loc": { + "start": { + "line": 760, + "column": 7 + }, + "end": { + "line": 760, + "column": 8 + } + } + }, + { + "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": 24588, + "end": 24592, + "loc": { + "start": { + "line": 760, + "column": 8 + }, + "end": { + "line": 760, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24592, + "end": 24593, + "loc": { + "start": { + "line": 760, + "column": 12 + }, + "end": { + "line": 760, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initialized", + "start": 24593, + "end": 24604, + "loc": { + "start": { + "line": 760, + "column": 13 + }, + "end": { + "line": 760, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24604, + "end": 24605, + "loc": { + "start": { + "line": 760, + "column": 24 + }, + "end": { + "line": 760, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24605, + "end": 24606, + "loc": { + "start": { + "line": 760, + "column": 25 + }, + "end": { + "line": 760, + "column": 26 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", + "start": 24614, + "end": 24696, + "loc": { + "start": { + "line": 761, + "column": 6 + }, + "end": { + "line": 763, + "column": 9 + } + } + }, + { + "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": 24704, + "end": 24708, + "loc": { + "start": { + "line": 764, + "column": 6 + }, + "end": { + "line": 764, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24708, + "end": 24709, + "loc": { + "start": { + "line": 764, + "column": 10 + }, + "end": { + "line": 764, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "initialized", + "start": 24709, + "end": 24720, + "loc": { + "start": { + "line": 764, + "column": 11 + }, + "end": { + "line": 764, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 24721, + "end": 24722, + "loc": { + "start": { + "line": 764, + "column": 23 + }, + "end": { + "line": 764, "column": 24 } } @@ -152163,15 +156469,15 @@ "updateContext": null }, "value": "true", - "start": 24173, - "end": 24177, + "start": 24723, + "end": 24727, "loc": { "start": { - "line": 744, + "line": 764, "column": 25 }, "end": { - "line": 744, + "line": 764, "column": 29 } } @@ -152189,384 +156495,31 @@ "binop": null, "updateContext": null }, - "start": 24177, - "end": 24178, + "start": 24727, + "end": 24728, "loc": { "start": { - "line": 744, + "line": 764, "column": 29 }, "end": { - "line": 744, + "line": 764, "column": 30 } } }, - { - "type": "CommentBlock", - "value": "*\r\n * Handling mouseup\r\n ", - "start": 24188, - "end": 24229, - "loc": { - "start": { - "line": 746, - "column": 6 - }, - "end": { - "line": 748, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 24237, - "end": 24245, - "loc": { - "start": { - "line": 749, - "column": 6 - }, - "end": { - "line": 749, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 24245, - "end": 24246, - "loc": { - "start": { - "line": 749, - "column": 14 - }, - "end": { - "line": 749, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onmouseup", - "start": 24246, - "end": 24255, - "loc": { - "start": { - "line": 749, - "column": 15 - }, - "end": { - "line": 749, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 24256, - "end": 24257, - "loc": { - "start": { - "line": 749, - "column": 25 - }, - "end": { - "line": 749, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 24258, - "end": 24259, - "loc": { - "start": { - "line": 749, - "column": 27 - }, - "end": { - "line": 749, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 24259, - "end": 24260, - "loc": { - "start": { - "line": 749, - "column": 28 - }, - "end": { - "line": 749, - "column": 29 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 24261, - "end": 24263, - "loc": { - "start": { - "line": 749, - "column": 30 - }, - "end": { - "line": 749, - "column": 32 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 24264, - "end": 24268, - "loc": { - "start": { - "line": 749, - "column": 33 - }, - "end": { - "line": 749, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 24268, - "end": 24269, - "loc": { - "start": { - "line": 749, - "column": 37 - }, - "end": { - "line": 749, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "handleButtonMouseUp", - "start": 24269, - "end": 24288, - "loc": { - "start": { - "line": 749, - "column": 38 - }, - "end": { - "line": 749, - "column": 57 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 24288, - "end": 24289, - "loc": { - "start": { - "line": 749, - "column": 57 - }, - "end": { - "line": 749, - "column": 58 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 24289, - "end": 24290, - "loc": { - "start": { - "line": 749, - "column": 58 - }, - "end": { - "line": 749, - "column": 59 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 24290, - "end": 24291, - "loc": { - "start": { - "line": 749, - "column": 59 - }, - "end": { - "line": 749, - "column": 60 - } - } - }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", - "start": 24301, - "end": 24340, + "start": 24738, + "end": 24777, "loc": { "start": { - "line": 751, + "line": 766, "column": 6 }, "end": { - "line": 753, + "line": 768, "column": 9 } } @@ -152586,15 +156539,15 @@ "updateContext": null }, "value": "this", - "start": 24348, - "end": 24352, + "start": 24785, + "end": 24789, "loc": { "start": { - "line": 754, + "line": 769, "column": 6 }, "end": { - "line": 754, + "line": 769, "column": 10 } } @@ -152612,15 +156565,15 @@ "binop": null, "updateContext": null }, - "start": 24352, - "end": 24353, + "start": 24789, + "end": 24790, "loc": { "start": { - "line": 754, + "line": 769, "column": 10 }, "end": { - "line": 754, + "line": 769, "column": 11 } } @@ -152638,15 +156591,15 @@ "binop": null }, "value": "onInit", - "start": 24353, - "end": 24359, + "start": 24790, + "end": 24796, "loc": { "start": { - "line": 754, + "line": 769, "column": 11 }, "end": { - "line": 754, + "line": 769, "column": 17 } } @@ -152663,15 +156616,15 @@ "postfix": false, "binop": null }, - "start": 24359, - "end": 24360, + "start": 24796, + "end": 24797, "loc": { "start": { - "line": 754, + "line": 769, "column": 17 }, "end": { - "line": 754, + "line": 769, "column": 18 } } @@ -152688,15 +156641,15 @@ "postfix": false, "binop": null }, - "start": 24360, - "end": 24361, + "start": 24797, + "end": 24798, "loc": { "start": { - "line": 754, + "line": 769, "column": 18 }, "end": { - "line": 754, + "line": 769, "column": 19 } } @@ -152714,15 +156667,15 @@ "binop": null, "updateContext": null }, - "start": 24361, - "end": 24362, + "start": 24798, + "end": 24799, "loc": { "start": { - "line": 754, + "line": 769, "column": 19 }, "end": { - "line": 754, + "line": 769, "column": 20 } } @@ -152739,15 +156692,15 @@ "postfix": false, "binop": null }, - "start": 24368, - "end": 24369, + "start": 24805, + "end": 24806, "loc": { "start": { - "line": 755, + "line": 770, "column": 4 }, "end": { - "line": 755, + "line": 770, "column": 5 } } @@ -152764,15 +156717,15 @@ "postfix": false, "binop": null }, - "start": 24373, - "end": 24374, + "start": 24810, + "end": 24811, "loc": { "start": { - "line": 756, + "line": 771, "column": 2 }, "end": { - "line": 756, + "line": 771, "column": 3 } } @@ -152789,15 +156742,15 @@ "postfix": false, "binop": null }, - "start": 24376, - "end": 24377, + "start": 24813, + "end": 24814, "loc": { "start": { - "line": 757, + "line": 772, "column": 0 }, "end": { - "line": 757, + "line": 772, "column": 1 } } @@ -152817,15 +156770,15 @@ "updateContext": null }, "value": "export", - "start": 24381, - "end": 24387, + "start": 24818, + "end": 24824, "loc": { "start": { - "line": 759, + "line": 774, "column": 0 }, "end": { - "line": 759, + "line": 774, "column": 6 } } @@ -152845,15 +156798,15 @@ "updateContext": null }, "value": "default", - "start": 24388, - "end": 24395, + "start": 24825, + "end": 24832, "loc": { "start": { - "line": 759, + "line": 774, "column": 7 }, "end": { - "line": 759, + "line": 774, "column": 14 } } @@ -152871,15 +156824,15 @@ "binop": null }, "value": "SimpleKeyboard", - "start": 24396, - "end": 24410, + "start": 24833, + "end": 24847, "loc": { "start": { - "line": 759, + "line": 774, "column": 15 }, "end": { - "line": 759, + "line": 774, "column": 29 } } @@ -152897,15 +156850,15 @@ "binop": null, "updateContext": null }, - "start": 24410, - "end": 24411, + "start": 24847, + "end": 24848, "loc": { "start": { - "line": 759, + "line": 774, "column": 29 }, "end": { - "line": 759, + "line": 774, "column": 30 } } @@ -152923,15 +156876,15 @@ "binop": null, "updateContext": null }, - "start": 24413, - "end": 24413, + "start": 24850, + "end": 24850, "loc": { "start": { - "line": 760, + "line": 775, "column": 0 }, "end": { - "line": 760, + "line": 775, "column": 0 } } diff --git a/docs/ast/source/lib/services/Utilities.js.json b/docs/ast/source/lib/services/Utilities.js.json index 1dd4b1b3..a2115551 100644 --- a/docs/ast/source/lib/services/Utilities.js.json +++ b/docs/ast/source/lib/services/Utilities.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 10559, + "end": 11180, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 353, + "line": 361, "column": 25 } }, "program": { "type": "Program", "start": 0, - "end": 10559, + "end": 11180, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 353, + "line": 361, "column": 25 } }, @@ -31,14 +31,14 @@ { "type": "Identifier", "start": 30, - "end": 10530, + "end": 11151, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 351, + "line": 359, "column": 1 } }, @@ -64,14 +64,14 @@ "body": { "type": "ClassBody", "start": 46, - "end": 10530, + "end": 11151, "loc": { "start": { "line": 4, "column": 16 }, "end": { - "line": 351, + "line": 359, "column": 1 } }, @@ -7015,16 +7015,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", + "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", "start": 3560, - "end": 3877, + "end": 3954, "loc": { "start": { "line": 127, "column": 2 }, "end": { - "line": 134, + "line": 135, "column": 5 } } @@ -7033,15 +7033,15 @@ }, { "type": "ClassMethod", - "start": 3881, - "end": 5467, + "start": 3958, + "end": 5678, "loc": { "start": { - "line": 135, + "line": 136, "column": 2 }, "end": { - "line": 175, + "line": 177, "column": 3 } }, @@ -7049,15 +7049,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3881, - "end": 3896, + "start": 3958, + "end": 3973, "loc": { "start": { - "line": 135, + "line": 136, "column": 2 }, "end": { - "line": 135, + "line": 136, "column": 17 }, "identifierName": "getUpdatedInput" @@ -7073,15 +7073,15 @@ "params": [ { "type": "Identifier", - "start": 3897, - "end": 3903, + "start": 3974, + "end": 3980, "loc": { "start": { - "line": 135, + "line": 136, "column": 18 }, "end": { - "line": 135, + "line": 136, "column": 24 }, "identifierName": "button" @@ -7090,15 +7090,15 @@ }, { "type": "Identifier", - "start": 3905, - "end": 3910, + "start": 3982, + "end": 3987, "loc": { "start": { - "line": 135, + "line": 136, "column": 26 }, "end": { - "line": 135, + "line": 136, "column": 31 }, "identifierName": "input" @@ -7107,15 +7107,15 @@ }, { "type": "Identifier", - "start": 3912, - "end": 3919, + "start": 3989, + "end": 3996, "loc": { "start": { - "line": 135, + "line": 136, "column": 33 }, "end": { - "line": 135, + "line": 136, "column": 40 }, "identifierName": "options" @@ -7124,77 +7124,94 @@ }, { "type": "Identifier", - "start": 3921, - "end": 3929, + "start": 3998, + "end": 4006, "loc": { "start": { - "line": 135, + "line": 136, "column": 42 }, "end": { - "line": 135, + "line": 136, "column": 50 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4008, + "end": 4017, + "loc": { + "start": { + "line": 136, + "column": 52 + }, + "end": { + "line": 136, + "column": 61 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ], "body": { "type": "BlockStatement", - "start": 3930, - "end": 5467, + "start": 4018, + "end": 5678, "loc": { "start": { - "line": 135, - "column": 51 + "line": 136, + "column": 62 }, "end": { - "line": 175, + "line": 177, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 3943, - "end": 3962, + "start": 4031, + "end": 4050, "loc": { "start": { - "line": 137, + "line": 138, "column": 4 }, "end": { - "line": 137, + "line": 138, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3947, - "end": 3961, + "start": 4035, + "end": 4049, "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 22 } }, "id": { "type": "Identifier", - "start": 3947, - "end": 3953, + "start": 4035, + "end": 4041, "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 14 }, "identifierName": "output" @@ -7203,15 +7220,15 @@ }, "init": { "type": "Identifier", - "start": 3956, - "end": 3961, + "start": 4044, + "end": 4049, "loc": { "start": { - "line": 137, + "line": 138, "column": 17 }, "end": { - "line": 137, + "line": 138, "column": 22 }, "identifierName": "input" @@ -7224,71 +7241,71 @@ }, { "type": "IfStatement", - "start": 3970, - "end": 5440, + "start": 4058, + "end": 5651, "loc": { "start": { - "line": 139, + "line": 140, "column": 4 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 3973, - "end": 4043, + "start": 4061, + "end": 4131, "loc": { "start": { - "line": 139, + "line": 140, "column": 7 }, "end": { - "line": 139, + "line": 140, "column": 77 } }, "left": { "type": "LogicalExpression", - "start": 3974, - "end": 4021, + "start": 4062, + "end": 4109, "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 139, + "line": 140, "column": 55 } }, "left": { "type": "BinaryExpression", - "start": 3974, - "end": 3993, + "start": 4062, + "end": 4081, "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 139, + "line": 140, "column": 27 } }, "left": { "type": "Identifier", - "start": 3974, - "end": 3980, + "start": 4062, + "end": 4068, "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 139, + "line": 140, "column": 14 }, "identifierName": "button" @@ -7298,15 +7315,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 3985, - "end": 3993, + "start": 4073, + "end": 4081, "loc": { "start": { - "line": 139, + "line": 140, "column": 19 }, "end": { - "line": 139, + "line": 140, "column": 27 } }, @@ -7320,29 +7337,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 3997, - "end": 4021, + "start": 4085, + "end": 4109, "loc": { "start": { - "line": 139, + "line": 140, "column": 31 }, "end": { - "line": 139, + "line": 140, "column": 55 } }, "left": { "type": "Identifier", - "start": 3997, - "end": 4003, + "start": 4085, + "end": 4091, "loc": { "start": { - "line": 139, + "line": 140, "column": 31 }, "end": { - "line": 139, + "line": 140, "column": 37 }, "identifierName": "button" @@ -7352,15 +7369,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4008, - "end": 4021, + "start": 4096, + "end": 4109, "loc": { "start": { - "line": 139, + "line": 140, "column": 42 }, "end": { - "line": 139, + "line": 140, "column": 55 } }, @@ -7373,49 +7390,49 @@ }, "extra": { "parenthesized": true, - "parenStart": 3973 + "parenStart": 4061 } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4026, - "end": 4043, + "start": 4114, + "end": 4131, "loc": { "start": { - "line": 139, + "line": 140, "column": 60 }, "end": { - "line": 139, + "line": 140, "column": 77 } }, "left": { "type": "MemberExpression", - "start": 4026, - "end": 4039, + "start": 4114, + "end": 4127, "loc": { "start": { - "line": 139, + "line": 140, "column": 60 }, "end": { - "line": 139, + "line": 140, "column": 73 } }, "object": { "type": "Identifier", - "start": 4026, - "end": 4032, + "start": 4114, + "end": 4120, "loc": { "start": { - "line": 139, + "line": 140, "column": 60 }, "end": { - "line": 139, + "line": 140, "column": 66 }, "identifierName": "output" @@ -7424,15 +7441,15 @@ }, "property": { "type": "Identifier", - "start": 4033, - "end": 4039, + "start": 4121, + "end": 4127, "loc": { "start": { - "line": 139, + "line": 140, "column": 67 }, "end": { - "line": 139, + "line": 140, "column": 73 }, "identifierName": "length" @@ -7444,15 +7461,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 4042, - "end": 4043, + "start": 4130, + "end": 4131, "loc": { "start": { - "line": 139, + "line": 140, "column": 76 }, "end": { - "line": 139, + "line": 140, "column": 77 } }, @@ -7466,59 +7483,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 4044, - "end": 4103, + "start": 4132, + "end": 4202, "loc": { "start": { - "line": 139, + "line": 140, "column": 78 }, "end": { - "line": 142, + "line": 143, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 4053, - "end": 4094, + "start": 4141, + "end": 4193, "loc": { "start": { - "line": 140, + "line": 141, "column": 6 }, "end": { - "line": 140, - "column": 47 + "line": 141, + "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 4053, - "end": 4093, + "start": 4141, + "end": 4192, "loc": { "start": { - "line": 140, + "line": 141, "column": 6 }, "end": { - "line": 140, - "column": 46 + "line": 141, + "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4053, - "end": 4059, + "start": 4141, + "end": 4147, "loc": { "start": { - "line": 140, + "line": 141, "column": 6 }, "end": { - "line": 140, + "line": 141, "column": 12 }, "identifierName": "output" @@ -7527,58 +7544,58 @@ }, "right": { "type": "CallExpression", - "start": 4062, - "end": 4093, + "start": 4150, + "end": 4192, "loc": { "start": { - "line": 140, + "line": 141, "column": 15 }, "end": { - "line": 140, - "column": 46 + "line": 141, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 4062, - "end": 4075, + "start": 4150, + "end": 4163, "loc": { "start": { - "line": 140, + "line": 141, "column": 15 }, "end": { - "line": 140, + "line": 141, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4062, - "end": 4066, + "start": 4150, + "end": 4154, "loc": { "start": { - "line": 140, + "line": 141, "column": 15 }, "end": { - "line": 140, + "line": 141, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4067, - "end": 4075, + "start": 4155, + "end": 4163, "loc": { "start": { - "line": 140, + "line": 141, "column": 20 }, "end": { - "line": 140, + "line": 141, "column": 28 }, "identifierName": "removeAt" @@ -7590,15 +7607,15 @@ "arguments": [ { "type": "Identifier", - "start": 4076, - "end": 4082, + "start": 4164, + "end": 4170, "loc": { "start": { - "line": 140, + "line": 141, "column": 29 }, "end": { - "line": 140, + "line": 141, "column": 35 }, "identifierName": "output" @@ -7607,20 +7624,37 @@ }, { "type": "Identifier", - "start": 4084, - "end": 4092, + "start": 4172, + "end": 4180, "loc": { "start": { - "line": 140, + "line": 141, "column": 37 }, "end": { - "line": 140, + "line": 141, "column": 45 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4182, + "end": 4191, + "loc": { + "start": { + "line": 141, + "column": 47 + }, + "end": { + "line": 141, + "column": 56 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -7631,43 +7665,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4109, - "end": 5440, + "start": 4208, + "end": 5651, "loc": { "start": { - "line": 142, + "line": 143, "column": 11 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4112, - "end": 4132, + "start": 4211, + "end": 4231, "loc": { "start": { - "line": 142, + "line": 143, "column": 14 }, "end": { - "line": 142, + "line": 143, "column": 34 } }, "left": { "type": "Identifier", - "start": 4112, - "end": 4118, + "start": 4211, + "end": 4217, "loc": { "start": { - "line": 142, + "line": 143, "column": 14 }, "end": { - "line": 142, + "line": 143, "column": 20 }, "identifierName": "button" @@ -7677,15 +7711,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4123, - "end": 4132, + "start": 4222, + "end": 4231, "loc": { "start": { - "line": 142, + "line": 143, "column": 25 }, "end": { - "line": 142, + "line": 143, "column": 34 } }, @@ -7698,44 +7732,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4141, - "end": 4190, + "start": 4240, + "end": 4300, "loc": { "start": { - "line": 143, + "line": 144, "column": 6 }, "end": { - "line": 143, - "column": 55 + "line": 144, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4141, - "end": 4189, + "start": 4240, + "end": 4299, "loc": { "start": { - "line": 143, + "line": 144, "column": 6 }, "end": { - "line": 143, - "column": 54 + "line": 144, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4141, - "end": 4147, + "start": 4240, + "end": 4246, "loc": { "start": { - "line": 143, + "line": 144, "column": 6 }, "end": { - "line": 143, + "line": 144, "column": 12 }, "identifierName": "output" @@ -7744,58 +7778,58 @@ }, "right": { "type": "CallExpression", - "start": 4150, - "end": 4189, + "start": 4249, + "end": 4299, "loc": { "start": { - "line": 143, + "line": 144, "column": 15 }, "end": { - "line": 143, - "column": 54 + "line": 144, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4150, - "end": 4166, + "start": 4249, + "end": 4265, "loc": { "start": { - "line": 143, + "line": 144, "column": 15 }, "end": { - "line": 143, + "line": 144, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4150, - "end": 4154, + "start": 4249, + "end": 4253, "loc": { "start": { - "line": 143, + "line": 144, "column": 15 }, "end": { - "line": 143, + "line": 144, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4155, - "end": 4166, + "start": 4254, + "end": 4265, "loc": { "start": { - "line": 143, + "line": 144, "column": 20 }, "end": { - "line": 143, + "line": 144, "column": 31 }, "identifierName": "addStringAt" @@ -7807,15 +7841,15 @@ "arguments": [ { "type": "Identifier", - "start": 4167, - "end": 4173, + "start": 4266, + "end": 4272, "loc": { "start": { - "line": 143, + "line": 144, "column": 32 }, "end": { - "line": 143, + "line": 144, "column": 38 }, "identifierName": "output" @@ -7824,15 +7858,15 @@ }, { "type": "StringLiteral", - "start": 4175, - "end": 4178, + "start": 4274, + "end": 4277, "loc": { "start": { - "line": 143, + "line": 144, "column": 40 }, "end": { - "line": 143, + "line": 144, "column": 43 } }, @@ -7844,20 +7878,37 @@ }, { "type": "Identifier", - "start": 4180, - "end": 4188, + "start": 4279, + "end": 4287, "loc": { "start": { - "line": 143, + "line": 144, "column": 45 }, "end": { - "line": 143, + "line": 144, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4289, + "end": 4298, + "loc": { + "start": { + "line": 144, + "column": 55 + }, + "end": { + "line": 144, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -7865,57 +7916,57 @@ }, "alternate": { "type": "IfStatement", - "start": 4203, - "end": 5440, + "start": 4313, + "end": 5651, "loc": { "start": { - "line": 145, + "line": 146, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 4206, - "end": 4306, + "start": 4316, + "end": 4416, "loc": { "start": { - "line": 145, + "line": 146, "column": 12 }, "end": { - "line": 145, + "line": 146, "column": 112 } }, "left": { "type": "BinaryExpression", - "start": 4206, - "end": 4224, + "start": 4316, + "end": 4334, "loc": { "start": { - "line": 145, + "line": 146, "column": 12 }, "end": { - "line": 145, + "line": 146, "column": 30 } }, "left": { "type": "Identifier", - "start": 4206, - "end": 4212, + "start": 4316, + "end": 4322, "loc": { "start": { - "line": 145, + "line": 146, "column": 12 }, "end": { - "line": 145, + "line": 146, "column": 18 }, "identifierName": "button" @@ -7925,15 +7976,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4217, - "end": 4224, + "start": 4327, + "end": 4334, "loc": { "start": { - "line": 145, + "line": 146, "column": 23 }, "end": { - "line": 145, + "line": 146, "column": 30 } }, @@ -7947,15 +7998,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 4228, - "end": 4306, + "start": 4338, + "end": 4416, "loc": { "start": { - "line": 145, + "line": 146, "column": 34 }, "end": { - "line": 145, + "line": 146, "column": 112 } }, @@ -7963,43 +8014,43 @@ "prefix": true, "argument": { "type": "LogicalExpression", - "start": 4230, - "end": 4305, + "start": 4340, + "end": 4415, "loc": { "start": { - "line": 145, + "line": 146, "column": 36 }, "end": { - "line": 145, + "line": 146, "column": 111 } }, "left": { "type": "BinaryExpression", - "start": 4230, - "end": 4271, + "start": 4340, + "end": 4381, "loc": { "start": { - "line": 145, + "line": 146, "column": 36 }, "end": { - "line": 145, + "line": 146, "column": 77 } }, "left": { "type": "UnaryExpression", - "start": 4230, - "end": 4257, + "start": 4340, + "end": 4367, "loc": { "start": { - "line": 145, + "line": 146, "column": 36 }, "end": { - "line": 145, + "line": 146, "column": 63 } }, @@ -8007,29 +8058,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 4237, - "end": 4257, + "start": 4347, + "end": 4367, "loc": { "start": { - "line": 145, + "line": 146, "column": 43 }, "end": { - "line": 145, + "line": 146, "column": 63 } }, "object": { "type": "Identifier", - "start": 4237, - "end": 4244, + "start": 4347, + "end": 4354, "loc": { "start": { - "line": 145, + "line": 146, "column": 43 }, "end": { - "line": 145, + "line": 146, "column": 50 }, "identifierName": "options" @@ -8038,15 +8089,15 @@ }, "property": { "type": "Identifier", - "start": 4245, - "end": 4257, + "start": 4355, + "end": 4367, "loc": { "start": { - "line": 145, + "line": 146, "column": 51 }, "end": { - "line": 145, + "line": 146, "column": 63 }, "identifierName": "tabCharOnTab" @@ -8062,15 +8113,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4262, - "end": 4271, + "start": 4372, + "end": 4381, "loc": { "start": { - "line": 145, + "line": 146, "column": 68 }, "end": { - "line": 145, + "line": 146, "column": 77 } }, @@ -8084,43 +8135,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4275, - "end": 4305, + "start": 4385, + "end": 4415, "loc": { "start": { - "line": 145, + "line": 146, "column": 81 }, "end": { - "line": 145, + "line": 146, "column": 111 } }, "left": { "type": "MemberExpression", - "start": 4275, - "end": 4295, + "start": 4385, + "end": 4405, "loc": { "start": { - "line": 145, + "line": 146, "column": 81 }, "end": { - "line": 145, + "line": 146, "column": 101 } }, "object": { "type": "Identifier", - "start": 4275, - "end": 4282, + "start": 4385, + "end": 4392, "loc": { "start": { - "line": 145, + "line": 146, "column": 81 }, "end": { - "line": 145, + "line": 146, "column": 88 }, "identifierName": "options" @@ -8129,15 +8180,15 @@ }, "property": { "type": "Identifier", - "start": 4283, - "end": 4295, + "start": 4393, + "end": 4405, "loc": { "start": { - "line": 145, + "line": 146, "column": 89 }, "end": { - "line": 145, + "line": 146, "column": 101 }, "identifierName": "tabCharOnTab" @@ -8149,15 +8200,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 4300, - "end": 4305, + "start": 4410, + "end": 4415, "loc": { "start": { - "line": 145, + "line": 146, "column": 106 }, "end": { - "line": 145, + "line": 146, "column": 111 } }, @@ -8166,7 +8217,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 4229 + "parenStart": 4339 } }, "extra": { @@ -8176,59 +8227,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 4307, - "end": 4375, + "start": 4417, + "end": 4496, "loc": { "start": { - "line": 145, + "line": 146, "column": 113 }, "end": { - "line": 148, + "line": 149, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 4316, - "end": 4366, + "start": 4426, + "end": 4487, "loc": { "start": { - "line": 146, + "line": 147, "column": 6 }, "end": { - "line": 146, - "column": 56 + "line": 147, + "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4316, - "end": 4365, + "start": 4426, + "end": 4486, "loc": { "start": { - "line": 146, + "line": 147, "column": 6 }, "end": { - "line": 146, - "column": 55 + "line": 147, + "column": 66 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4316, - "end": 4322, + "start": 4426, + "end": 4432, "loc": { "start": { - "line": 146, + "line": 147, "column": 6 }, "end": { - "line": 146, + "line": 147, "column": 12 }, "identifierName": "output" @@ -8237,58 +8288,58 @@ }, "right": { "type": "CallExpression", - "start": 4325, - "end": 4365, + "start": 4435, + "end": 4486, "loc": { "start": { - "line": 146, + "line": 147, "column": 15 }, "end": { - "line": 146, - "column": 55 + "line": 147, + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4325, - "end": 4341, + "start": 4435, + "end": 4451, "loc": { "start": { - "line": 146, + "line": 147, "column": 15 }, "end": { - "line": 146, + "line": 147, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4325, - "end": 4329, + "start": 4435, + "end": 4439, "loc": { "start": { - "line": 146, + "line": 147, "column": 15 }, "end": { - "line": 146, + "line": 147, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4330, - "end": 4341, + "start": 4440, + "end": 4451, "loc": { "start": { - "line": 146, + "line": 147, "column": 20 }, "end": { - "line": 146, + "line": 147, "column": 31 }, "identifierName": "addStringAt" @@ -8300,15 +8351,15 @@ "arguments": [ { "type": "Identifier", - "start": 4342, - "end": 4348, + "start": 4452, + "end": 4458, "loc": { "start": { - "line": 146, + "line": 147, "column": 32 }, "end": { - "line": 146, + "line": 147, "column": 38 }, "identifierName": "output" @@ -8317,15 +8368,15 @@ }, { "type": "StringLiteral", - "start": 4350, - "end": 4354, + "start": 4460, + "end": 4464, "loc": { "start": { - "line": 146, + "line": 147, "column": 40 }, "end": { - "line": 146, + "line": 147, "column": 44 } }, @@ -8337,20 +8388,37 @@ }, { "type": "Identifier", - "start": 4356, - "end": 4364, + "start": 4466, + "end": 4474, "loc": { "start": { - "line": 146, + "line": 147, "column": 46 }, "end": { - "line": 146, + "line": 147, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4476, + "end": 4485, + "loc": { + "start": { + "line": 147, + "column": 56 + }, + "end": { + "line": 147, + "column": 65 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -8361,71 +8429,71 @@ }, "alternate": { "type": "IfStatement", - "start": 4381, - "end": 5440, + "start": 4502, + "end": 5651, "loc": { "start": { - "line": 148, + "line": 149, "column": 11 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 4384, - "end": 4462, + "start": 4505, + "end": 4583, "loc": { "start": { - "line": 148, + "line": 149, "column": 14 }, "end": { - "line": 148, + "line": 149, "column": 92 } }, "left": { "type": "LogicalExpression", - "start": 4385, - "end": 4435, + "start": 4506, + "end": 4556, "loc": { "start": { - "line": 148, + "line": 149, "column": 15 }, "end": { - "line": 148, + "line": 149, "column": 65 } }, "left": { "type": "BinaryExpression", - "start": 4385, - "end": 4405, + "start": 4506, + "end": 4526, "loc": { "start": { - "line": 148, + "line": 149, "column": 15 }, "end": { - "line": 148, + "line": 149, "column": 35 } }, "left": { "type": "Identifier", - "start": 4385, - "end": 4391, + "start": 4506, + "end": 4512, "loc": { "start": { - "line": 148, + "line": 149, "column": 15 }, "end": { - "line": 148, + "line": 149, "column": 21 }, "identifierName": "button" @@ -8435,15 +8503,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4396, - "end": 4405, + "start": 4517, + "end": 4526, "loc": { "start": { - "line": 148, + "line": 149, "column": 26 }, "end": { - "line": 148, + "line": 149, "column": 35 } }, @@ -8457,29 +8525,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 4409, - "end": 4435, + "start": 4530, + "end": 4556, "loc": { "start": { - "line": 148, + "line": 149, "column": 39 }, "end": { - "line": 148, + "line": 149, "column": 65 } }, "left": { "type": "Identifier", - "start": 4409, - "end": 4415, + "start": 4530, + "end": 4536, "loc": { "start": { - "line": 148, + "line": 149, "column": 39 }, "end": { - "line": 148, + "line": 149, "column": 45 }, "identifierName": "button" @@ -8489,15 +8557,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4420, - "end": 4435, + "start": 4541, + "end": 4556, "loc": { "start": { - "line": 148, + "line": 149, "column": 50 }, "end": { - "line": 148, + "line": 149, "column": 65 } }, @@ -8510,35 +8578,35 @@ }, "extra": { "parenthesized": true, - "parenStart": 4384 + "parenStart": 4505 } }, "operator": "&&", "right": { "type": "MemberExpression", - "start": 4440, - "end": 4462, + "start": 4561, + "end": 4583, "loc": { "start": { - "line": 148, + "line": 149, "column": 70 }, "end": { - "line": 148, + "line": 149, "column": 92 } }, "object": { "type": "Identifier", - "start": 4440, - "end": 4447, + "start": 4561, + "end": 4568, "loc": { "start": { - "line": 148, + "line": 149, "column": 70 }, "end": { - "line": 148, + "line": 149, "column": 77 }, "identifierName": "options" @@ -8547,15 +8615,15 @@ }, "property": { "type": "Identifier", - "start": 4448, - "end": 4462, + "start": 4569, + "end": 4583, "loc": { "start": { - "line": 148, + "line": 149, "column": 78 }, "end": { - "line": 148, + "line": 149, "column": 92 }, "identifierName": "newLineOnEnter" @@ -8567,44 +8635,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4471, - "end": 4521, + "start": 4592, + "end": 4653, "loc": { "start": { - "line": 149, + "line": 150, "column": 6 }, "end": { - "line": 149, - "column": 56 + "line": 150, + "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4471, - "end": 4520, + "start": 4592, + "end": 4652, "loc": { "start": { - "line": 149, + "line": 150, "column": 6 }, "end": { - "line": 149, - "column": 55 + "line": 150, + "column": 66 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4471, - "end": 4477, + "start": 4592, + "end": 4598, "loc": { "start": { - "line": 149, + "line": 150, "column": 6 }, "end": { - "line": 149, + "line": 150, "column": 12 }, "identifierName": "output" @@ -8613,58 +8681,58 @@ }, "right": { "type": "CallExpression", - "start": 4480, - "end": 4520, + "start": 4601, + "end": 4652, "loc": { "start": { - "line": 149, + "line": 150, "column": 15 }, "end": { - "line": 149, - "column": 55 + "line": 150, + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4480, - "end": 4496, + "start": 4601, + "end": 4617, "loc": { "start": { - "line": 149, + "line": 150, "column": 15 }, "end": { - "line": 149, + "line": 150, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4480, - "end": 4484, + "start": 4601, + "end": 4605, "loc": { "start": { - "line": 149, + "line": 150, "column": 15 }, "end": { - "line": 149, + "line": 150, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4485, - "end": 4496, + "start": 4606, + "end": 4617, "loc": { "start": { - "line": 149, + "line": 150, "column": 20 }, "end": { - "line": 149, + "line": 150, "column": 31 }, "identifierName": "addStringAt" @@ -8676,15 +8744,15 @@ "arguments": [ { "type": "Identifier", - "start": 4497, - "end": 4503, + "start": 4618, + "end": 4624, "loc": { "start": { - "line": 149, + "line": 150, "column": 32 }, "end": { - "line": 149, + "line": 150, "column": 38 }, "identifierName": "output" @@ -8693,15 +8761,15 @@ }, { "type": "StringLiteral", - "start": 4505, - "end": 4509, + "start": 4626, + "end": 4630, "loc": { "start": { - "line": 149, + "line": 150, "column": 40 }, "end": { - "line": 149, + "line": 150, "column": 44 } }, @@ -8713,20 +8781,37 @@ }, { "type": "Identifier", - "start": 4511, - "end": 4519, + "start": 4632, + "end": 4640, "loc": { "start": { - "line": 149, + "line": 150, "column": 46 }, "end": { - "line": 149, + "line": 150, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4642, + "end": 4651, + "loc": { + "start": { + "line": 150, + "column": 56 + }, + "end": { + "line": 150, + "column": 65 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -8734,71 +8819,71 @@ }, "alternate": { "type": "IfStatement", - "start": 4534, - "end": 5440, + "start": 4666, + "end": 5651, "loc": { "start": { - "line": 151, + "line": 152, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 4537, - "end": 4617, + "start": 4669, + "end": 4749, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 92 } }, "left": { "type": "CallExpression", - "start": 4537, - "end": 4562, + "start": 4669, + "end": 4694, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 4537, - "end": 4552, + "start": 4669, + "end": 4684, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 27 } }, "object": { "type": "Identifier", - "start": 4537, - "end": 4543, + "start": 4669, + "end": 4675, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 18 }, "identifierName": "button" @@ -8807,15 +8892,15 @@ }, "property": { "type": "Identifier", - "start": 4544, - "end": 4552, + "start": 4676, + "end": 4684, "loc": { "start": { - "line": 151, + "line": 152, "column": 19 }, "end": { - "line": 151, + "line": 152, "column": 27 }, "identifierName": "includes" @@ -8827,15 +8912,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 4553, - "end": 4561, + "start": 4685, + "end": 4693, "loc": { "start": { - "line": 151, + "line": 152, "column": 28 }, "end": { - "line": 151, + "line": 152, "column": 36 } }, @@ -8850,43 +8935,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 4566, - "end": 4617, + "start": 4698, + "end": 4749, "loc": { "start": { - "line": 151, + "line": 152, "column": 41 }, "end": { - "line": 151, + "line": 152, "column": 92 } }, "callee": { "type": "MemberExpression", - "start": 4566, - "end": 4582, + "start": 4698, + "end": 4714, "loc": { "start": { - "line": 151, + "line": 152, "column": 41 }, "end": { - "line": 151, + "line": 152, "column": 57 } }, "object": { "type": "Identifier", - "start": 4566, - "end": 4572, + "start": 4698, + "end": 4704, "loc": { "start": { - "line": 151, + "line": 152, "column": 41 }, "end": { - "line": 151, + "line": 152, "column": 47 }, "identifierName": "Number" @@ -8895,15 +8980,15 @@ }, "property": { "type": "Identifier", - "start": 4573, - "end": 4582, + "start": 4705, + "end": 4714, "loc": { "start": { - "line": 151, + "line": 152, "column": 48 }, "end": { - "line": 151, + "line": 152, "column": 57 }, "identifierName": "isInteger" @@ -8915,29 +9000,29 @@ "arguments": [ { "type": "CallExpression", - "start": 4583, - "end": 4616, + "start": 4715, + "end": 4748, "loc": { "start": { - "line": 151, + "line": 152, "column": 58 }, "end": { - "line": 151, + "line": 152, "column": 91 } }, "callee": { "type": "Identifier", - "start": 4583, - "end": 4589, + "start": 4715, + "end": 4721, "loc": { "start": { - "line": 151, + "line": 152, "column": 58 }, "end": { - "line": 151, + "line": 152, "column": 64 }, "identifierName": "Number" @@ -8947,29 +9032,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4590, - "end": 4615, + "start": 4722, + "end": 4747, "loc": { "start": { - "line": 151, + "line": 152, "column": 65 }, "end": { - "line": 151, + "line": 152, "column": 90 } }, "object": { "type": "Identifier", - "start": 4590, - "end": 4596, + "start": 4722, + "end": 4728, "loc": { "start": { - "line": 151, + "line": 152, "column": 65 }, "end": { - "line": 151, + "line": 152, "column": 71 }, "identifierName": "button" @@ -8978,43 +9063,43 @@ }, "property": { "type": "BinaryExpression", - "start": 4597, - "end": 4614, + "start": 4729, + "end": 4746, "loc": { "start": { - "line": 151, + "line": 152, "column": 72 }, "end": { - "line": 151, + "line": 152, "column": 89 } }, "left": { "type": "MemberExpression", - "start": 4597, - "end": 4610, + "start": 4729, + "end": 4742, "loc": { "start": { - "line": 151, + "line": 152, "column": 72 }, "end": { - "line": 151, + "line": 152, "column": 85 } }, "object": { "type": "Identifier", - "start": 4597, - "end": 4603, + "start": 4729, + "end": 4735, "loc": { "start": { - "line": 151, + "line": 152, "column": 72 }, "end": { - "line": 151, + "line": 152, "column": 78 }, "identifierName": "button" @@ -9023,15 +9108,15 @@ }, "property": { "type": "Identifier", - "start": 4604, - "end": 4610, + "start": 4736, + "end": 4742, "loc": { "start": { - "line": 151, + "line": 152, "column": 79 }, "end": { - "line": 151, + "line": 152, "column": 85 }, "identifierName": "length" @@ -9043,15 +9128,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4613, - "end": 4614, + "start": 4745, + "end": 4746, "loc": { "start": { - "line": 151, + "line": 152, "column": 88 }, "end": { - "line": 151, + "line": 152, "column": 89 } }, @@ -9071,59 +9156,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 4618, - "end": 4705, + "start": 4750, + "end": 4837, "loc": { "start": { - "line": 151, + "line": 152, "column": 93 }, "end": { - "line": 153, + "line": 154, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 4627, - "end": 4698, + "start": 4759, + "end": 4830, "loc": { "start": { - "line": 152, + "line": 153, "column": 6 }, "end": { - "line": 152, + "line": 153, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 4627, - "end": 4697, + "start": 4759, + "end": 4829, "loc": { "start": { - "line": 152, + "line": 153, "column": 6 }, "end": { - "line": 152, + "line": 153, "column": 76 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4627, - "end": 4633, + "start": 4759, + "end": 4765, "loc": { "start": { - "line": 152, + "line": 153, "column": 6 }, "end": { - "line": 152, + "line": 153, "column": 12 }, "identifierName": "output" @@ -9132,58 +9217,58 @@ }, "right": { "type": "CallExpression", - "start": 4636, - "end": 4697, + "start": 4768, + "end": 4829, "loc": { "start": { - "line": 152, + "line": 153, "column": 15 }, "end": { - "line": 152, + "line": 153, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 4636, - "end": 4652, + "start": 4768, + "end": 4784, "loc": { "start": { - "line": 152, + "line": 153, "column": 15 }, "end": { - "line": 152, + "line": 153, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4636, - "end": 4640, + "start": 4768, + "end": 4772, "loc": { "start": { - "line": 152, + "line": 153, "column": 15 }, "end": { - "line": 152, + "line": 153, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4641, - "end": 4652, + "start": 4773, + "end": 4784, "loc": { "start": { - "line": 152, + "line": 153, "column": 20 }, "end": { - "line": 152, + "line": 153, "column": 31 }, "identifierName": "addStringAt" @@ -9195,15 +9280,15 @@ "arguments": [ { "type": "Identifier", - "start": 4653, - "end": 4659, + "start": 4785, + "end": 4791, "loc": { "start": { - "line": 152, + "line": 153, "column": 32 }, "end": { - "line": 152, + "line": 153, "column": 38 }, "identifierName": "output" @@ -9212,29 +9297,29 @@ }, { "type": "MemberExpression", - "start": 4661, - "end": 4686, + "start": 4793, + "end": 4818, "loc": { "start": { - "line": 152, + "line": 153, "column": 40 }, "end": { - "line": 152, + "line": 153, "column": 65 } }, "object": { "type": "Identifier", - "start": 4661, - "end": 4667, + "start": 4793, + "end": 4799, "loc": { "start": { - "line": 152, + "line": 153, "column": 40 }, "end": { - "line": 152, + "line": 153, "column": 46 }, "identifierName": "button" @@ -9243,43 +9328,43 @@ }, "property": { "type": "BinaryExpression", - "start": 4668, - "end": 4685, + "start": 4800, + "end": 4817, "loc": { "start": { - "line": 152, + "line": 153, "column": 47 }, "end": { - "line": 152, + "line": 153, "column": 64 } }, "left": { "type": "MemberExpression", - "start": 4668, - "end": 4681, + "start": 4800, + "end": 4813, "loc": { "start": { - "line": 152, + "line": 153, "column": 47 }, "end": { - "line": 152, + "line": 153, "column": 60 } }, "object": { "type": "Identifier", - "start": 4668, - "end": 4674, + "start": 4800, + "end": 4806, "loc": { "start": { - "line": 152, + "line": 153, "column": 47 }, "end": { - "line": 152, + "line": 153, "column": 53 }, "identifierName": "button" @@ -9288,15 +9373,15 @@ }, "property": { "type": "Identifier", - "start": 4675, - "end": 4681, + "start": 4807, + "end": 4813, "loc": { "start": { - "line": 152, + "line": 153, "column": 54 }, "end": { - "line": 152, + "line": 153, "column": 60 }, "identifierName": "length" @@ -9308,15 +9393,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4684, - "end": 4685, + "start": 4816, + "end": 4817, "loc": { "start": { - "line": 152, + "line": 153, "column": 63 }, "end": { - "line": 152, + "line": 153, "column": 64 } }, @@ -9331,15 +9416,15 @@ }, { "type": "Identifier", - "start": 4688, - "end": 4696, + "start": 4820, + "end": 4828, "loc": { "start": { - "line": 152, + "line": 153, "column": 67 }, "end": { - "line": 152, + "line": 153, "column": 75 }, "identifierName": "caretPos" @@ -9355,43 +9440,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4716, - "end": 5440, + "start": 4848, + "end": 5651, "loc": { "start": { - "line": 154, + "line": 155, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4719, - "end": 4746, + "start": 4851, + "end": 4878, "loc": { "start": { - "line": 154, + "line": 155, "column": 12 }, "end": { - "line": 154, + "line": 155, "column": 39 } }, "left": { "type": "Identifier", - "start": 4719, - "end": 4725, + "start": 4851, + "end": 4857, "loc": { "start": { - "line": 154, + "line": 155, "column": 12 }, "end": { - "line": 154, + "line": 155, "column": 18 }, "identifierName": "button" @@ -9401,15 +9486,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4730, - "end": 4746, + "start": 4862, + "end": 4878, "loc": { "start": { - "line": 154, + "line": 155, "column": 23 }, "end": { - "line": 154, + "line": 155, "column": 39 } }, @@ -9422,44 +9507,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4755, - "end": 4804, + "start": 4887, + "end": 4947, "loc": { "start": { - "line": 155, + "line": 156, "column": 6 }, "end": { - "line": 155, - "column": 55 + "line": 156, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4755, - "end": 4803, + "start": 4887, + "end": 4946, "loc": { "start": { - "line": 155, + "line": 156, "column": 6 }, "end": { - "line": 155, - "column": 54 + "line": 156, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4755, - "end": 4761, + "start": 4887, + "end": 4893, "loc": { "start": { - "line": 155, + "line": 156, "column": 6 }, "end": { - "line": 155, + "line": 156, "column": 12 }, "identifierName": "output" @@ -9468,58 +9553,58 @@ }, "right": { "type": "CallExpression", - "start": 4764, - "end": 4803, + "start": 4896, + "end": 4946, "loc": { "start": { - "line": 155, + "line": 156, "column": 15 }, "end": { - "line": 155, - "column": 54 + "line": 156, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4764, - "end": 4780, + "start": 4896, + "end": 4912, "loc": { "start": { - "line": 155, + "line": 156, "column": 15 }, "end": { - "line": 155, + "line": 156, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4764, - "end": 4768, + "start": 4896, + "end": 4900, "loc": { "start": { - "line": 155, + "line": 156, "column": 15 }, "end": { - "line": 155, + "line": 156, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4769, - "end": 4780, + "start": 4901, + "end": 4912, "loc": { "start": { - "line": 155, + "line": 156, "column": 20 }, "end": { - "line": 155, + "line": 156, "column": 31 }, "identifierName": "addStringAt" @@ -9531,15 +9616,15 @@ "arguments": [ { "type": "Identifier", - "start": 4781, - "end": 4787, + "start": 4913, + "end": 4919, "loc": { "start": { - "line": 155, + "line": 156, "column": 32 }, "end": { - "line": 155, + "line": 156, "column": 38 }, "identifierName": "output" @@ -9548,15 +9633,15 @@ }, { "type": "StringLiteral", - "start": 4789, - "end": 4792, + "start": 4921, + "end": 4924, "loc": { "start": { - "line": 155, + "line": 156, "column": 40 }, "end": { - "line": 155, + "line": 156, "column": 43 } }, @@ -9568,20 +9653,37 @@ }, { "type": "Identifier", - "start": 4794, - "end": 4802, + "start": 4926, + "end": 4934, "loc": { "start": { - "line": 155, + "line": 156, "column": 45 }, "end": { - "line": 155, + "line": 156, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4936, + "end": 4945, + "loc": { + "start": { + "line": 156, + "column": 55 + }, + "end": { + "line": 156, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -9589,43 +9691,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4817, - "end": 5440, + "start": 4960, + "end": 5651, "loc": { "start": { - "line": 157, + "line": 158, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4820, - "end": 4849, + "start": 4963, + "end": 4992, "loc": { "start": { - "line": 157, + "line": 158, "column": 12 }, "end": { - "line": 157, + "line": 158, "column": 41 } }, "left": { "type": "Identifier", - "start": 4820, - "end": 4826, + "start": 4963, + "end": 4969, "loc": { "start": { - "line": 157, + "line": 158, "column": 12 }, "end": { - "line": 157, + "line": 158, "column": 18 }, "identifierName": "button" @@ -9635,15 +9737,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4831, - "end": 4849, + "start": 4974, + "end": 4992, "loc": { "start": { - "line": 157, + "line": 158, "column": 23 }, "end": { - "line": 157, + "line": 158, "column": 41 } }, @@ -9656,44 +9758,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4858, - "end": 4907, + "start": 5001, + "end": 5061, "loc": { "start": { - "line": 158, + "line": 159, "column": 6 }, "end": { - "line": 158, - "column": 55 + "line": 159, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4858, - "end": 4906, + "start": 5001, + "end": 5060, "loc": { "start": { - "line": 158, + "line": 159, "column": 6 }, "end": { - "line": 158, - "column": 54 + "line": 159, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4858, - "end": 4864, + "start": 5001, + "end": 5007, "loc": { "start": { - "line": 158, + "line": 159, "column": 6 }, "end": { - "line": 158, + "line": 159, "column": 12 }, "identifierName": "output" @@ -9702,58 +9804,58 @@ }, "right": { "type": "CallExpression", - "start": 4867, - "end": 4906, + "start": 5010, + "end": 5060, "loc": { "start": { - "line": 158, + "line": 159, "column": 15 }, "end": { - "line": 158, - "column": 54 + "line": 159, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4867, - "end": 4883, + "start": 5010, + "end": 5026, "loc": { "start": { - "line": 158, + "line": 159, "column": 15 }, "end": { - "line": 158, + "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4867, - "end": 4871, + "start": 5010, + "end": 5014, "loc": { "start": { - "line": 158, + "line": 159, "column": 15 }, "end": { - "line": 158, + "line": 159, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4872, - "end": 4883, + "start": 5015, + "end": 5026, "loc": { "start": { - "line": 158, + "line": 159, "column": 20 }, "end": { - "line": 158, + "line": 159, "column": 31 }, "identifierName": "addStringAt" @@ -9765,15 +9867,15 @@ "arguments": [ { "type": "Identifier", - "start": 4884, - "end": 4890, + "start": 5027, + "end": 5033, "loc": { "start": { - "line": 158, + "line": 159, "column": 32 }, "end": { - "line": 158, + "line": 159, "column": 38 }, "identifierName": "output" @@ -9782,15 +9884,15 @@ }, { "type": "StringLiteral", - "start": 4892, - "end": 4895, + "start": 5035, + "end": 5038, "loc": { "start": { - "line": 158, + "line": 159, "column": 40 }, "end": { - "line": 158, + "line": 159, "column": 43 } }, @@ -9802,20 +9904,37 @@ }, { "type": "Identifier", - "start": 4897, - "end": 4905, + "start": 5040, + "end": 5048, "loc": { "start": { - "line": 158, + "line": 159, "column": 45 }, "end": { - "line": 158, + "line": 159, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5050, + "end": 5059, + "loc": { + "start": { + "line": 159, + "column": 55 + }, + "end": { + "line": 159, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -9823,43 +9942,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4918, - "end": 5440, + "start": 5074, + "end": 5651, "loc": { "start": { - "line": 159, + "line": 161, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4921, - "end": 4950, + "start": 5077, + "end": 5106, "loc": { "start": { - "line": 159, + "line": 161, "column": 12 }, "end": { - "line": 159, + "line": 161, "column": 41 } }, "left": { "type": "Identifier", - "start": 4921, - "end": 4927, + "start": 5077, + "end": 5083, "loc": { "start": { - "line": 159, + "line": 161, "column": 12 }, "end": { - "line": 159, + "line": 161, "column": 18 }, "identifierName": "button" @@ -9869,15 +9988,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4932, - "end": 4950, + "start": 5088, + "end": 5106, "loc": { "start": { - "line": 159, + "line": 161, "column": 23 }, "end": { - "line": 159, + "line": 161, "column": 41 } }, @@ -9890,44 +10009,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4959, - "end": 5008, + "start": 5115, + "end": 5175, "loc": { "start": { - "line": 160, + "line": 162, "column": 6 }, "end": { - "line": 160, - "column": 55 + "line": 162, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4959, - "end": 5007, + "start": 5115, + "end": 5174, "loc": { "start": { - "line": 160, + "line": 162, "column": 6 }, "end": { - "line": 160, - "column": 54 + "line": 162, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4959, - "end": 4965, + "start": 5115, + "end": 5121, "loc": { "start": { - "line": 160, + "line": 162, "column": 6 }, "end": { - "line": 160, + "line": 162, "column": 12 }, "identifierName": "output" @@ -9936,58 +10055,58 @@ }, "right": { "type": "CallExpression", - "start": 4968, - "end": 5007, + "start": 5124, + "end": 5174, "loc": { "start": { - "line": 160, + "line": 162, "column": 15 }, "end": { - "line": 160, - "column": 54 + "line": 162, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4968, - "end": 4984, + "start": 5124, + "end": 5140, "loc": { "start": { - "line": 160, + "line": 162, "column": 15 }, "end": { - "line": 160, + "line": 162, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4968, - "end": 4972, + "start": 5124, + "end": 5128, "loc": { "start": { - "line": 160, + "line": 162, "column": 15 }, "end": { - "line": 160, + "line": 162, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4973, - "end": 4984, + "start": 5129, + "end": 5140, "loc": { "start": { - "line": 160, + "line": 162, "column": 20 }, "end": { - "line": 160, + "line": 162, "column": 31 }, "identifierName": "addStringAt" @@ -9999,15 +10118,15 @@ "arguments": [ { "type": "Identifier", - "start": 4985, - "end": 4991, + "start": 5141, + "end": 5147, "loc": { "start": { - "line": 160, + "line": 162, "column": 32 }, "end": { - "line": 160, + "line": 162, "column": 38 }, "identifierName": "output" @@ -10016,15 +10135,15 @@ }, { "type": "StringLiteral", - "start": 4993, - "end": 4996, + "start": 5149, + "end": 5152, "loc": { "start": { - "line": 160, + "line": 162, "column": 40 }, "end": { - "line": 160, + "line": 162, "column": 43 } }, @@ -10036,20 +10155,37 @@ }, { "type": "Identifier", - "start": 4998, - "end": 5006, + "start": 5154, + "end": 5162, "loc": { "start": { - "line": 160, + "line": 162, "column": 45 }, "end": { - "line": 160, + "line": 162, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5164, + "end": 5173, + "loc": { + "start": { + "line": 162, + "column": 55 + }, + "end": { + "line": 162, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -10057,43 +10193,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5021, - "end": 5440, + "start": 5188, + "end": 5651, "loc": { "start": { - "line": 162, + "line": 164, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 5024, - "end": 5048, + "start": 5191, + "end": 5215, "loc": { "start": { - "line": 162, + "line": 164, "column": 12 }, "end": { - "line": 162, + "line": 164, "column": 36 } }, "left": { "type": "Identifier", - "start": 5024, - "end": 5030, + "start": 5191, + "end": 5197, "loc": { "start": { - "line": 162, + "line": 164, "column": 12 }, "end": { - "line": 162, + "line": 164, "column": 18 }, "identifierName": "button" @@ -10103,15 +10239,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5035, - "end": 5048, + "start": 5202, + "end": 5215, "loc": { "start": { - "line": 162, + "line": 164, "column": 23 }, "end": { - "line": 162, + "line": 164, "column": 36 } }, @@ -10124,44 +10260,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5057, - "end": 5106, + "start": 5224, + "end": 5284, "loc": { "start": { - "line": 163, + "line": 165, "column": 6 }, "end": { - "line": 163, - "column": 55 + "line": 165, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 5057, - "end": 5105, + "start": 5224, + "end": 5283, "loc": { "start": { - "line": 163, + "line": 165, "column": 6 }, "end": { - "line": 163, - "column": 54 + "line": 165, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5057, - "end": 5063, + "start": 5224, + "end": 5230, "loc": { "start": { - "line": 163, + "line": 165, "column": 6 }, "end": { - "line": 163, + "line": 165, "column": 12 }, "identifierName": "output" @@ -10170,58 +10306,58 @@ }, "right": { "type": "CallExpression", - "start": 5066, - "end": 5105, + "start": 5233, + "end": 5283, "loc": { "start": { - "line": 163, + "line": 165, "column": 15 }, "end": { - "line": 163, - "column": 54 + "line": 165, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 5066, - "end": 5082, + "start": 5233, + "end": 5249, "loc": { "start": { - "line": 163, + "line": 165, "column": 15 }, "end": { - "line": 163, + "line": 165, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5066, - "end": 5070, + "start": 5233, + "end": 5237, "loc": { "start": { - "line": 163, + "line": 165, "column": 15 }, "end": { - "line": 163, + "line": 165, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5071, - "end": 5082, + "start": 5238, + "end": 5249, "loc": { "start": { - "line": 163, + "line": 165, "column": 20 }, "end": { - "line": 163, + "line": 165, "column": 31 }, "identifierName": "addStringAt" @@ -10233,15 +10369,15 @@ "arguments": [ { "type": "Identifier", - "start": 5083, - "end": 5089, + "start": 5250, + "end": 5256, "loc": { "start": { - "line": 163, + "line": 165, "column": 32 }, "end": { - "line": 163, + "line": 165, "column": 38 }, "identifierName": "output" @@ -10250,15 +10386,15 @@ }, { "type": "StringLiteral", - "start": 5091, - "end": 5094, + "start": 5258, + "end": 5261, "loc": { "start": { - "line": 163, + "line": 165, "column": 40 }, "end": { - "line": 163, + "line": 165, "column": 43 } }, @@ -10270,20 +10406,37 @@ }, { "type": "Identifier", - "start": 5096, - "end": 5104, + "start": 5263, + "end": 5271, "loc": { "start": { - "line": 163, + "line": 165, "column": 45 }, "end": { - "line": 163, + "line": 165, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5273, + "end": 5282, + "loc": { + "start": { + "line": 165, + "column": 55 + }, + "end": { + "line": 165, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -10291,43 +10444,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5119, - "end": 5440, + "start": 5297, + "end": 5651, "loc": { "start": { - "line": 165, + "line": 167, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 5122, - "end": 5150, + "start": 5300, + "end": 5328, "loc": { "start": { - "line": 165, + "line": 167, "column": 12 }, "end": { - "line": 165, + "line": 167, "column": 40 } }, "left": { "type": "Identifier", - "start": 5122, - "end": 5128, + "start": 5300, + "end": 5306, "loc": { "start": { - "line": 165, + "line": 167, "column": 12 }, "end": { - "line": 165, + "line": 167, "column": 18 }, "identifierName": "button" @@ -10337,15 +10490,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5133, - "end": 5150, + "start": 5311, + "end": 5328, "loc": { "start": { - "line": 165, + "line": 167, "column": 23 }, "end": { - "line": 165, + "line": 167, "column": 40 } }, @@ -10358,44 +10511,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5159, - "end": 5208, + "start": 5337, + "end": 5397, "loc": { "start": { - "line": 166, + "line": 168, "column": 6 }, "end": { - "line": 166, - "column": 55 + "line": 168, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 5159, - "end": 5207, + "start": 5337, + "end": 5396, "loc": { "start": { - "line": 166, + "line": 168, "column": 6 }, "end": { - "line": 166, - "column": 54 + "line": 168, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5159, - "end": 5165, + "start": 5337, + "end": 5343, "loc": { "start": { - "line": 166, + "line": 168, "column": 6 }, "end": { - "line": 166, + "line": 168, "column": 12 }, "identifierName": "output" @@ -10404,58 +10557,58 @@ }, "right": { "type": "CallExpression", - "start": 5168, - "end": 5207, + "start": 5346, + "end": 5396, "loc": { "start": { - "line": 166, + "line": 168, "column": 15 }, "end": { - "line": 166, - "column": 54 + "line": 168, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 5168, - "end": 5184, + "start": 5346, + "end": 5362, "loc": { "start": { - "line": 166, + "line": 168, "column": 15 }, "end": { - "line": 166, + "line": 168, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5168, - "end": 5172, + "start": 5346, + "end": 5350, "loc": { "start": { - "line": 166, + "line": 168, "column": 15 }, "end": { - "line": 166, + "line": 168, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5173, - "end": 5184, + "start": 5351, + "end": 5362, "loc": { "start": { - "line": 166, + "line": 168, "column": 20 }, "end": { - "line": 166, + "line": 168, "column": 31 }, "identifierName": "addStringAt" @@ -10467,15 +10620,15 @@ "arguments": [ { "type": "Identifier", - "start": 5185, - "end": 5191, + "start": 5363, + "end": 5369, "loc": { "start": { - "line": 166, + "line": 168, "column": 32 }, "end": { - "line": 166, + "line": 168, "column": 38 }, "identifierName": "output" @@ -10484,15 +10637,15 @@ }, { "type": "StringLiteral", - "start": 5193, - "end": 5196, + "start": 5371, + "end": 5374, "loc": { "start": { - "line": 166, + "line": 168, "column": 40 }, "end": { - "line": 166, + "line": 168, "column": 43 } }, @@ -10504,20 +10657,37 @@ }, { "type": "Identifier", - "start": 5198, - "end": 5206, + "start": 5376, + "end": 5384, "loc": { "start": { - "line": 166, + "line": 168, "column": 45 }, "end": { - "line": 166, + "line": 168, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5386, + "end": 5395, + "loc": { + "start": { + "line": 168, + "column": 55 + }, + "end": { + "line": 168, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -10525,57 +10695,57 @@ }, "alternate": { "type": "IfStatement", - "start": 5221, - "end": 5440, + "start": 5410, + "end": 5651, "loc": { "start": { - "line": 168, + "line": 170, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 5224, - "end": 5256, + "start": 5413, + "end": 5445, "loc": { "start": { - "line": 168, + "line": 170, "column": 12 }, "end": { - "line": 168, + "line": 170, "column": 44 } }, "left": { "type": "BinaryExpression", - "start": 5224, - "end": 5238, + "start": 5413, + "end": 5427, "loc": { "start": { - "line": 168, + "line": 170, "column": 12 }, "end": { - "line": 168, + "line": 170, "column": 26 } }, "left": { "type": "Identifier", - "start": 5224, - "end": 5230, + "start": 5413, + "end": 5419, "loc": { "start": { - "line": 168, + "line": 170, "column": 12 }, "end": { - "line": 168, + "line": 170, "column": 18 }, "identifierName": "button" @@ -10585,15 +10755,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5235, - "end": 5238, + "start": 5424, + "end": 5427, "loc": { "start": { - "line": 168, + "line": 170, "column": 23 }, "end": { - "line": 168, + "line": 170, "column": 26 } }, @@ -10607,29 +10777,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 5242, - "end": 5256, + "start": 5431, + "end": 5445, "loc": { "start": { - "line": 168, + "line": 170, "column": 30 }, "end": { - "line": 168, + "line": 170, "column": 44 } }, "left": { "type": "Identifier", - "start": 5242, - "end": 5248, + "start": 5431, + "end": 5437, "loc": { "start": { - "line": 168, + "line": 170, "column": 30 }, "end": { - "line": 168, + "line": 170, "column": 36 }, "identifierName": "button" @@ -10639,15 +10809,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5253, - "end": 5256, + "start": 5442, + "end": 5445, "loc": { "start": { - "line": 168, + "line": 170, "column": 41 }, "end": { - "line": 168, + "line": 170, "column": 44 } }, @@ -10661,44 +10831,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5265, - "end": 5317, + "start": 5454, + "end": 5517, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, - "column": 58 + "line": 171, + "column": 69 } }, "expression": { "type": "AssignmentExpression", - "start": 5265, - "end": 5316, + "start": 5454, + "end": 5516, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, - "column": 57 + "line": 171, + "column": 68 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5265, - "end": 5271, + "start": 5454, + "end": 5460, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, + "line": 171, "column": 12 }, "identifierName": "output" @@ -10707,58 +10877,58 @@ }, "right": { "type": "CallExpression", - "start": 5274, - "end": 5316, + "start": 5463, + "end": 5516, "loc": { "start": { - "line": 169, + "line": 171, "column": 15 }, "end": { - "line": 169, - "column": 57 + "line": 171, + "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 5274, - "end": 5290, + "start": 5463, + "end": 5479, "loc": { "start": { - "line": 169, + "line": 171, "column": 15 }, "end": { - "line": 169, + "line": 171, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5274, - "end": 5278, + "start": 5463, + "end": 5467, "loc": { "start": { - "line": 169, + "line": 171, "column": 15 }, "end": { - "line": 169, + "line": 171, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5279, - "end": 5290, + "start": 5468, + "end": 5479, "loc": { "start": { - "line": 169, + "line": 171, "column": 20 }, "end": { - "line": 169, + "line": 171, "column": 31 }, "identifierName": "addStringAt" @@ -10770,15 +10940,15 @@ "arguments": [ { "type": "Identifier", - "start": 5291, - "end": 5297, + "start": 5480, + "end": 5486, "loc": { "start": { - "line": 169, + "line": 171, "column": 32 }, "end": { - "line": 169, + "line": 171, "column": 38 }, "identifierName": "output" @@ -10787,15 +10957,15 @@ }, { "type": "Identifier", - "start": 5299, - "end": 5305, + "start": 5488, + "end": 5494, "loc": { "start": { - "line": 169, + "line": 171, "column": 40 }, "end": { - "line": 169, + "line": 171, "column": 46 }, "identifierName": "button" @@ -10804,20 +10974,37 @@ }, { "type": "Identifier", - "start": 5307, - "end": 5315, + "start": 5496, + "end": 5504, "loc": { "start": { - "line": 169, + "line": 171, "column": 48 }, "end": { - "line": 169, + "line": 171, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5506, + "end": 5515, + "loc": { + "start": { + "line": 171, + "column": 58 + }, + "end": { + "line": 171, + "column": 67 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -10825,43 +11012,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5330, - "end": 5440, + "start": 5530, + "end": 5651, "loc": { "start": { - "line": 171, + "line": 173, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 5333, - "end": 5379, + "start": 5533, + "end": 5579, "loc": { "start": { - "line": 171, + "line": 173, "column": 12 }, "end": { - "line": 171, + "line": 173, "column": 58 } }, "left": { "type": "UnaryExpression", - "start": 5333, - "end": 5354, + "start": 5533, + "end": 5554, "loc": { "start": { - "line": 171, + "line": 173, "column": 12 }, "end": { - "line": 171, + "line": 173, "column": 33 } }, @@ -10869,43 +11056,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 5334, - "end": 5354, + "start": 5534, + "end": 5554, "loc": { "start": { - "line": 171, + "line": 173, "column": 13 }, "end": { - "line": 171, + "line": 173, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 5334, - "end": 5349, + "start": 5534, + "end": 5549, "loc": { "start": { - "line": 171, + "line": 173, "column": 13 }, "end": { - "line": 171, + "line": 173, "column": 28 } }, "object": { "type": "Identifier", - "start": 5334, - "end": 5340, + "start": 5534, + "end": 5540, "loc": { "start": { - "line": 171, + "line": 173, "column": 13 }, "end": { - "line": 171, + "line": 173, "column": 19 }, "identifierName": "button" @@ -10914,15 +11101,15 @@ }, "property": { "type": "Identifier", - "start": 5341, - "end": 5349, + "start": 5541, + "end": 5549, "loc": { "start": { - "line": 171, + "line": 173, "column": 20 }, "end": { - "line": 171, + "line": 173, "column": 28 }, "identifierName": "includes" @@ -10934,15 +11121,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5350, - "end": 5353, + "start": 5550, + "end": 5553, "loc": { "start": { - "line": 171, + "line": 173, "column": 29 }, "end": { - "line": 171, + "line": 173, "column": 32 } }, @@ -10961,15 +11148,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 5358, - "end": 5379, + "start": 5558, + "end": 5579, "loc": { "start": { - "line": 171, + "line": 173, "column": 37 }, "end": { - "line": 171, + "line": 173, "column": 58 } }, @@ -10977,43 +11164,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 5359, - "end": 5379, + "start": 5559, + "end": 5579, "loc": { "start": { - "line": 171, + "line": 173, "column": 38 }, "end": { - "line": 171, + "line": 173, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 5359, - "end": 5374, + "start": 5559, + "end": 5574, "loc": { "start": { - "line": 171, + "line": 173, "column": 38 }, "end": { - "line": 171, + "line": 173, "column": 53 } }, "object": { "type": "Identifier", - "start": 5359, - "end": 5365, + "start": 5559, + "end": 5565, "loc": { "start": { - "line": 171, + "line": 173, "column": 38 }, "end": { - "line": 171, + "line": 173, "column": 44 }, "identifierName": "button" @@ -11022,15 +11209,15 @@ }, "property": { "type": "Identifier", - "start": 5366, - "end": 5374, + "start": 5566, + "end": 5574, "loc": { "start": { - "line": 171, + "line": 173, "column": 45 }, "end": { - "line": 171, + "line": 173, "column": 53 }, "identifierName": "includes" @@ -11042,15 +11229,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5375, - "end": 5378, + "start": 5575, + "end": 5578, "loc": { "start": { - "line": 171, + "line": 173, "column": 54 }, "end": { - "line": 171, + "line": 173, "column": 57 } }, @@ -11069,44 +11256,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5388, - "end": 5440, + "start": 5588, + "end": 5651, "loc": { "start": { - "line": 172, + "line": 174, "column": 6 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "expression": { "type": "AssignmentExpression", - "start": 5388, - "end": 5439, + "start": 5588, + "end": 5650, "loc": { "start": { - "line": 172, + "line": 174, "column": 6 }, "end": { - "line": 172, - "column": 57 + "line": 174, + "column": 68 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5388, - "end": 5394, + "start": 5588, + "end": 5594, "loc": { "start": { - "line": 172, + "line": 174, "column": 6 }, "end": { - "line": 172, + "line": 174, "column": 12 }, "identifierName": "output" @@ -11115,58 +11302,58 @@ }, "right": { "type": "CallExpression", - "start": 5397, - "end": 5439, + "start": 5597, + "end": 5650, "loc": { "start": { - "line": 172, + "line": 174, "column": 15 }, "end": { - "line": 172, - "column": 57 + "line": 174, + "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 5397, - "end": 5413, + "start": 5597, + "end": 5613, "loc": { "start": { - "line": 172, + "line": 174, "column": 15 }, "end": { - "line": 172, + "line": 174, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5397, - "end": 5401, + "start": 5597, + "end": 5601, "loc": { "start": { - "line": 172, + "line": 174, "column": 15 }, "end": { - "line": 172, + "line": 174, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5402, - "end": 5413, + "start": 5602, + "end": 5613, "loc": { "start": { - "line": 172, + "line": 174, "column": 20 }, "end": { - "line": 172, + "line": 174, "column": 31 }, "identifierName": "addStringAt" @@ -11178,15 +11365,15 @@ "arguments": [ { "type": "Identifier", - "start": 5414, - "end": 5420, + "start": 5614, + "end": 5620, "loc": { "start": { - "line": 172, + "line": 174, "column": 32 }, "end": { - "line": 172, + "line": 174, "column": 38 }, "identifierName": "output" @@ -11195,15 +11382,15 @@ }, { "type": "Identifier", - "start": 5422, - "end": 5428, + "start": 5622, + "end": 5628, "loc": { "start": { - "line": 172, + "line": 174, "column": 40 }, "end": { - "line": 172, + "line": 174, "column": 46 }, "identifierName": "button" @@ -11212,20 +11399,37 @@ }, { "type": "Identifier", - "start": 5430, - "end": 5438, + "start": 5630, + "end": 5638, "loc": { "start": { - "line": 172, + "line": 174, "column": 48 }, "end": { - "line": 172, + "line": 174, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5640, + "end": 5649, + "loc": { + "start": { + "line": 174, + "column": 58 + }, + "end": { + "line": 174, + "column": 67 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -11246,29 +11450,29 @@ }, { "type": "ReturnStatement", - "start": 5448, - "end": 5462, + "start": 5659, + "end": 5673, "loc": { "start": { - "line": 174, + "line": 176, "column": 4 }, "end": { - "line": 174, + "line": 176, "column": 18 } }, "argument": { "type": "Identifier", - "start": 5455, - "end": 5461, + "start": 5666, + "end": 5672, "loc": { "start": { - "line": 174, + "line": 176, "column": 11 }, "end": { - "line": 174, + "line": 176, "column": 17 }, "identifierName": "output" @@ -11283,16 +11487,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", + "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", "start": 3560, - "end": 3877, + "end": 3954, "loc": { "start": { "line": 127, "column": 2 }, "end": { - "line": 134, + "line": 135, "column": 5 } } @@ -11302,15 +11506,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5471, - "end": 5713, + "start": 5684, + "end": 5926, "loc": { "start": { - "line": 176, + "line": 179, "column": 2 }, "end": { - "line": 181, + "line": 184, "column": 5 } } @@ -11319,15 +11523,15 @@ }, { "type": "ClassMethod", - "start": 5717, - "end": 6053, + "start": 5930, + "end": 6267, "loc": { "start": { - "line": 182, + "line": 185, "column": 2 }, "end": { - "line": 189, + "line": 192, "column": 3 } }, @@ -11335,15 +11539,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5717, - "end": 5731, + "start": 5930, + "end": 5944, "loc": { "start": { - "line": 182, + "line": 185, "column": 2 }, "end": { - "line": 182, + "line": 185, "column": 16 }, "identifierName": "updateCaretPos" @@ -11359,15 +11563,15 @@ "params": [ { "type": "Identifier", - "start": 5732, - "end": 5738, + "start": 5945, + "end": 5951, "loc": { "start": { - "line": 182, + "line": 185, "column": 17 }, "end": { - "line": 182, + "line": 185, "column": 23 }, "identifierName": "length" @@ -11376,15 +11580,15 @@ }, { "type": "Identifier", - "start": 5740, - "end": 5745, + "start": 5953, + "end": 5958, "loc": { "start": { - "line": 182, + "line": 185, "column": 25 }, "end": { - "line": 182, + "line": 185, "column": 30 }, "identifierName": "minus" @@ -11394,44 +11598,44 @@ ], "body": { "type": "BlockStatement", - "start": 5746, - "end": 6053, + "start": 5959, + "end": 6267, "loc": { "start": { - "line": 182, + "line": 185, "column": 31 }, "end": { - "line": 189, + "line": 192, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 5753, - "end": 6048, + "start": 5966, + "end": 6262, "loc": { "start": { - "line": 183, + "line": 186, "column": 4 }, "end": { - "line": 188, + "line": 191, "column": 5 } }, "test": { "type": "Identifier", - "start": 5756, - "end": 5761, + "start": 5969, + "end": 5974, "loc": { "start": { - "line": 183, + "line": 186, "column": 7 }, "end": { - "line": 183, + "line": 186, "column": 12 }, "identifierName": "minus" @@ -11440,101 +11644,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 5762, - "end": 5931, + "start": 5975, + "end": 6145, "loc": { "start": { - "line": 183, + "line": 186, "column": 13 }, "end": { - "line": 186, + "line": 189, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 5771, - "end": 5924, + "start": 5984, + "end": 6138, "loc": { "start": { - "line": 184, + "line": 187, "column": 6 }, "end": { - "line": 185, - "column": 102 + "line": 188, + "column": 103 } }, "test": { "type": "BinaryExpression", - "start": 5774, - "end": 5819, + "start": 5987, + "end": 6032, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 5774, - "end": 5815, + "start": 5987, + "end": 6028, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5774, - "end": 5801, + "start": 5987, + "end": 6014, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 5774, - "end": 5778, + "start": 5987, + "end": 5991, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5779, - "end": 5801, + "start": 5992, + "end": 6014, "loc": { "start": { - "line": 184, + "line": 187, "column": 14 }, "end": { - "line": 184, + "line": 187, "column": 36 }, "identifierName": "simpleKeyboardInstance" @@ -11545,15 +11749,15 @@ }, "property": { "type": "Identifier", - "start": 5802, - "end": 5815, + "start": 6015, + "end": 6028, "loc": { "start": { - "line": 184, + "line": 187, "column": 37 }, "end": { - "line": 184, + "line": 187, "column": 50 }, "identifierName": "caretPosition" @@ -11565,15 +11769,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 5818, - "end": 5819, + "start": 6031, + "end": 6032, "loc": { "start": { - "line": 184, + "line": 187, "column": 53 }, "end": { - "line": 184, + "line": 187, "column": 54 } }, @@ -11586,87 +11790,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5830, - "end": 5924, + "start": 6043, + "end": 6138, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, - "column": 102 + "line": 188, + "column": 103 } }, "expression": { "type": "AssignmentExpression", - "start": 5830, - "end": 5924, + "start": 6043, + "end": 6137, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5830, - "end": 5871, + "start": 6043, + "end": 6084, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 5830, - "end": 5857, + "start": 6043, + "end": 6070, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 5830, - "end": 5834, + "start": 6043, + "end": 6047, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5835, - "end": 5857, + "start": 6048, + "end": 6070, "loc": { "start": { - "line": 185, + "line": 188, "column": 13 }, "end": { - "line": 185, + "line": 188, "column": 35 }, "identifierName": "simpleKeyboardInstance" @@ -11677,15 +11881,15 @@ }, "property": { "type": "Identifier", - "start": 5858, - "end": 5871, + "start": 6071, + "end": 6084, "loc": { "start": { - "line": 185, + "line": 188, "column": 36 }, "end": { - "line": 185, + "line": 188, "column": 49 }, "identifierName": "caretPosition" @@ -11696,72 +11900,72 @@ }, "right": { "type": "BinaryExpression", - "start": 5874, - "end": 5924, + "start": 6087, + "end": 6137, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 102 } }, "left": { "type": "MemberExpression", - "start": 5874, - "end": 5915, + "start": 6087, + "end": 6128, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 93 } }, "object": { "type": "MemberExpression", - "start": 5874, - "end": 5901, + "start": 6087, + "end": 6114, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 79 } }, "object": { "type": "ThisExpression", - "start": 5874, - "end": 5878, + "start": 6087, + "end": 6091, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 56 } } }, "property": { "type": "Identifier", - "start": 5879, - "end": 5901, + "start": 6092, + "end": 6114, "loc": { "start": { - "line": 185, + "line": 188, "column": 57 }, "end": { - "line": 185, + "line": 188, "column": 79 }, "identifierName": "simpleKeyboardInstance" @@ -11772,15 +11976,15 @@ }, "property": { "type": "Identifier", - "start": 5902, - "end": 5915, + "start": 6115, + "end": 6128, "loc": { "start": { - "line": 185, + "line": 188, "column": 80 }, "end": { - "line": 185, + "line": 188, "column": 93 }, "identifierName": "caretPosition" @@ -11792,15 +11996,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 5918, - "end": 5924, + "start": 6131, + "end": 6137, "loc": { "start": { - "line": 185, + "line": 188, "column": 96 }, "end": { - "line": 185, + "line": 188, "column": 102 }, "identifierName": "length" @@ -11817,102 +12021,102 @@ }, "alternate": { "type": "BlockStatement", - "start": 5937, - "end": 6048, + "start": 6151, + "end": 6262, "loc": { "start": { - "line": 186, + "line": 189, "column": 11 }, "end": { - "line": 188, + "line": 191, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 5946, - "end": 6041, + "start": 6160, + "end": 6255, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 101 } }, "expression": { "type": "AssignmentExpression", - "start": 5946, - "end": 6040, + "start": 6160, + "end": 6254, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 100 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5946, - "end": 5987, + "start": 6160, + "end": 6201, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 5946, - "end": 5973, + "start": 6160, + "end": 6187, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 5946, - "end": 5950, + "start": 6160, + "end": 6164, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5951, - "end": 5973, + "start": 6165, + "end": 6187, "loc": { "start": { - "line": 187, + "line": 190, "column": 11 }, "end": { - "line": 187, + "line": 190, "column": 33 }, "identifierName": "simpleKeyboardInstance" @@ -11923,15 +12127,15 @@ }, "property": { "type": "Identifier", - "start": 5974, - "end": 5987, + "start": 6188, + "end": 6201, "loc": { "start": { - "line": 187, + "line": 190, "column": 34 }, "end": { - "line": 187, + "line": 190, "column": 47 }, "identifierName": "caretPosition" @@ -11942,72 +12146,72 @@ }, "right": { "type": "BinaryExpression", - "start": 5990, - "end": 6040, + "start": 6204, + "end": 6254, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 100 } }, "left": { "type": "MemberExpression", - "start": 5990, - "end": 6031, + "start": 6204, + "end": 6245, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 5990, - "end": 6017, + "start": 6204, + "end": 6231, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 77 } }, "object": { "type": "ThisExpression", - "start": 5990, - "end": 5994, + "start": 6204, + "end": 6208, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 54 } } }, "property": { "type": "Identifier", - "start": 5995, - "end": 6017, + "start": 6209, + "end": 6231, "loc": { "start": { - "line": 187, + "line": 190, "column": 55 }, "end": { - "line": 187, + "line": 190, "column": 77 }, "identifierName": "simpleKeyboardInstance" @@ -12018,15 +12222,15 @@ }, "property": { "type": "Identifier", - "start": 6018, - "end": 6031, + "start": 6232, + "end": 6245, "loc": { "start": { - "line": 187, + "line": 190, "column": 78 }, "end": { - "line": 187, + "line": 190, "column": 91 }, "identifierName": "caretPosition" @@ -12038,15 +12242,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6034, - "end": 6040, + "start": 6248, + "end": 6254, "loc": { "start": { - "line": 187, + "line": 190, "column": 94 }, "end": { - "line": 187, + "line": 190, "column": 100 }, "identifierName": "length" @@ -12068,15 +12272,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5471, - "end": 5713, + "start": 5684, + "end": 5926, "loc": { "start": { - "line": 176, + "line": 179, "column": 2 }, "end": { - "line": 181, + "line": 184, "column": 5 } } @@ -12085,16 +12289,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 6059, - "end": 6311, + "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 6273, + "end": 6602, "loc": { "start": { - "line": 191, + "line": 194, "column": 2 }, "end": { - "line": 197, + "line": 201, "column": 5 } } @@ -12103,15 +12307,15 @@ }, { "type": "ClassMethod", - "start": 6315, - "end": 6860, + "start": 6606, + "end": 7189, "loc": { "start": { - "line": 198, + "line": 202, "column": 2 }, "end": { - "line": 220, + "line": 224, "column": 3 } }, @@ -12119,15 +12323,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6315, - "end": 6326, + "start": 6606, + "end": 6617, "loc": { "start": { - "line": 198, + "line": 202, "column": 2 }, "end": { - "line": 198, + "line": 202, "column": 13 }, "identifierName": "addStringAt" @@ -12143,15 +12347,15 @@ "params": [ { "type": "Identifier", - "start": 6327, - "end": 6333, + "start": 6618, + "end": 6624, "loc": { "start": { - "line": 198, + "line": 202, "column": 14 }, "end": { - "line": 198, + "line": 202, "column": 20 }, "identifierName": "source" @@ -12160,15 +12364,15 @@ }, { "type": "Identifier", - "start": 6335, - "end": 6341, + "start": 6626, + "end": 6632, "loc": { "start": { - "line": 198, + "line": 202, "column": 22 }, "end": { - "line": 198, + "line": 202, "column": 28 }, "identifierName": "string" @@ -12177,77 +12381,94 @@ }, { "type": "Identifier", - "start": 6343, - "end": 6351, + "start": 6634, + "end": 6642, "loc": { "start": { - "line": 198, + "line": 202, "column": 30 }, "end": { - "line": 198, + "line": 202, "column": 38 }, "identifierName": "position" }, "name": "position" + }, + { + "type": "Identifier", + "start": 6644, + "end": 6653, + "loc": { + "start": { + "line": 202, + "column": 40 + }, + "end": { + "line": 202, + "column": 49 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ], "body": { "type": "BlockStatement", - "start": 6352, - "end": 6860, + "start": 6654, + "end": 7189, "loc": { "start": { - "line": 198, - "column": 39 + "line": 202, + "column": 50 }, "end": { - "line": 220, + "line": 224, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 6359, - "end": 6370, + "start": 6661, + "end": 6672, "loc": { "start": { - "line": 199, + "line": 203, "column": 4 }, "end": { - "line": 199, + "line": 203, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6363, - "end": 6369, + "start": 6665, + "end": 6671, "loc": { "start": { - "line": 199, + "line": 203, "column": 8 }, "end": { - "line": 199, + "line": 203, "column": 14 } }, "id": { "type": "Identifier", - "start": 6363, - "end": 6369, + "start": 6665, + "end": 6671, "loc": { "start": { - "line": 199, + "line": 203, "column": 8 }, "end": { - "line": 199, + "line": 203, "column": 14 }, "identifierName": "output" @@ -12261,275 +12482,8 @@ }, { "type": "IfStatement", - "start": 6378, - "end": 6474, - "loc": { - "start": { - "line": 201, - "column": 4 - }, - "end": { - "line": 203, - "column": 5 - } - }, - "test": { - "type": "MemberExpression", - "start": 6381, - "end": 6422, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 6381, - "end": 6416, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 6381, - "end": 6408, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 6381, - "end": 6385, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 6386, - "end": 6408, - "loc": { - "start": { - "line": 201, - "column": 12 - }, - "end": { - "line": 201, - "column": 34 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6409, - "end": 6416, - "loc": { - "start": { - "line": 201, - "column": 35 - }, - "end": { - "line": 201, - "column": 42 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6417, - "end": 6422, - "loc": { - "start": { - "line": 201, - "column": 43 - }, - "end": { - "line": 201, - "column": 48 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 6423, - "end": 6474, - "loc": { - "start": { - "line": 201, - "column": 49 - }, - "end": { - "line": 203, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6432, - "end": 6467, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 6432, - "end": 6466, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6432, - "end": 6443, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 6432, - "end": 6439, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 6440, - "end": 6443, - "loc": { - "start": { - "line": 202, - "column": 14 - }, - "end": { - "line": 202, - "column": 17 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 6444, - "end": 6455, - "loc": { - "start": { - "line": 202, - "column": 18 - }, - "end": { - "line": 202, - "column": 29 - } - }, - "extra": { - "rawValue": "Caret at:", - "raw": "\"Caret at:\"" - }, - "value": "Caret at:" - }, - { - "type": "Identifier", - "start": 6457, - "end": 6465, - "loc": { - "start": { - "line": 202, - "column": 31 - }, - "end": { - "line": 202, - "column": 39 - }, - "identifierName": "position" - }, - "name": "position" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 6482, - "end": 6833, + "start": 6680, + "end": 7045, "loc": { "start": { "line": 205, @@ -12542,8 +12496,8 @@ }, "test": { "type": "LogicalExpression", - "start": 6485, - "end": 6512, + "start": 6683, + "end": 6710, "loc": { "start": { "line": 205, @@ -12556,8 +12510,8 @@ }, "left": { "type": "UnaryExpression", - "start": 6485, - "end": 6494, + "start": 6683, + "end": 6692, "loc": { "start": { "line": 205, @@ -12572,8 +12526,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6486, - "end": 6494, + "start": 6684, + "end": 6692, "loc": { "start": { "line": 205, @@ -12594,8 +12548,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 6498, - "end": 6512, + "start": 6696, + "end": 6710, "loc": { "start": { "line": 205, @@ -12608,8 +12562,8 @@ }, "left": { "type": "Identifier", - "start": 6498, - "end": 6506, + "start": 6696, + "end": 6704, "loc": { "start": { "line": 205, @@ -12626,8 +12580,8 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 6511, - "end": 6512, + "start": 6709, + "end": 6710, "loc": { "start": { "line": 205, @@ -12648,8 +12602,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6513, - "end": 6554, + "start": 6711, + "end": 6752, "loc": { "start": { "line": 205, @@ -12663,8 +12617,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6522, - "end": 6547, + "start": 6720, + "end": 6745, "loc": { "start": { "line": 206, @@ -12677,8 +12631,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6522, - "end": 6546, + "start": 6720, + "end": 6744, "loc": { "start": { "line": 206, @@ -12692,8 +12646,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6522, - "end": 6528, + "start": 6720, + "end": 6726, "loc": { "start": { "line": 206, @@ -12709,8 +12663,8 @@ }, "right": { "type": "BinaryExpression", - "start": 6531, - "end": 6546, + "start": 6729, + "end": 6744, "loc": { "start": { "line": 206, @@ -12723,8 +12677,8 @@ }, "left": { "type": "Identifier", - "start": 6531, - "end": 6537, + "start": 6729, + "end": 6735, "loc": { "start": { "line": 206, @@ -12741,8 +12695,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6540, - "end": 6546, + "start": 6738, + "end": 6744, "loc": { "start": { "line": 206, @@ -12764,8 +12718,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 6560, - "end": 6833, + "start": 6758, + "end": 7045, "loc": { "start": { "line": 207, @@ -12779,8 +12733,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6569, - "end": 6647, + "start": 6767, + "end": 6845, "loc": { "start": { "line": 208, @@ -12793,8 +12747,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6569, - "end": 6646, + "start": 6767, + "end": 6844, "loc": { "start": { "line": 208, @@ -12808,8 +12762,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6569, - "end": 6575, + "start": 6767, + "end": 6773, "loc": { "start": { "line": 208, @@ -12825,8 +12779,8 @@ }, "right": { "type": "CallExpression", - "start": 6578, - "end": 6646, + "start": 6776, + "end": 6844, "loc": { "start": { "line": 208, @@ -12839,8 +12793,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6578, - "end": 6642, + "start": 6776, + "end": 6840, "loc": { "start": { "line": 208, @@ -12853,8 +12807,8 @@ }, "object": { "type": "ArrayExpression", - "start": 6578, - "end": 6637, + "start": 6776, + "end": 6835, "loc": { "start": { "line": 208, @@ -12868,8 +12822,8 @@ "elements": [ { "type": "CallExpression", - "start": 6579, - "end": 6604, + "start": 6777, + "end": 6802, "loc": { "start": { "line": 208, @@ -12882,8 +12836,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6579, - "end": 6591, + "start": 6777, + "end": 6789, "loc": { "start": { "line": 208, @@ -12896,8 +12850,8 @@ }, "object": { "type": "Identifier", - "start": 6579, - "end": 6585, + "start": 6777, + "end": 6783, "loc": { "start": { "line": 208, @@ -12913,8 +12867,8 @@ }, "property": { "type": "Identifier", - "start": 6586, - "end": 6591, + "start": 6784, + "end": 6789, "loc": { "start": { "line": 208, @@ -12933,8 +12887,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6592, - "end": 6593, + "start": 6790, + "end": 6791, "loc": { "start": { "line": 208, @@ -12953,8 +12907,8 @@ }, { "type": "Identifier", - "start": 6595, - "end": 6603, + "start": 6793, + "end": 6801, "loc": { "start": { "line": 208, @@ -12972,8 +12926,8 @@ }, { "type": "Identifier", - "start": 6606, - "end": 6612, + "start": 6804, + "end": 6810, "loc": { "start": { "line": 208, @@ -12989,8 +12943,8 @@ }, { "type": "CallExpression", - "start": 6614, - "end": 6636, + "start": 6812, + "end": 6834, "loc": { "start": { "line": 208, @@ -13003,8 +12957,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6614, - "end": 6626, + "start": 6812, + "end": 6824, "loc": { "start": { "line": 208, @@ -13017,8 +12971,8 @@ }, "object": { "type": "Identifier", - "start": 6614, - "end": 6620, + "start": 6812, + "end": 6818, "loc": { "start": { "line": 208, @@ -13034,8 +12988,8 @@ }, "property": { "type": "Identifier", - "start": 6621, - "end": 6626, + "start": 6819, + "end": 6824, "loc": { "start": { "line": 208, @@ -13054,8 +13008,8 @@ "arguments": [ { "type": "Identifier", - "start": 6627, - "end": 6635, + "start": 6825, + "end": 6833, "loc": { "start": { "line": 208, @@ -13075,8 +13029,8 @@ }, "property": { "type": "Identifier", - "start": 6638, - "end": 6642, + "start": 6836, + "end": 6840, "loc": { "start": { "line": 208, @@ -13095,8 +13049,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 6643, - "end": 6645, + "start": 6841, + "end": 6843, "loc": { "start": { "line": 208, @@ -13120,8 +13074,8 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6657, - "end": 6731, + "start": 6855, + "end": 6929, "loc": { "start": { "line": 210, @@ -13137,8 +13091,8 @@ }, { "type": "IfStatement", - "start": 6739, - "end": 6824, + "start": 6937, + "end": 7036, "loc": { "start": { "line": 213, @@ -13151,8 +13105,8 @@ }, "test": { "type": "UnaryExpression", - "start": 6742, - "end": 6768, + "start": 6940, + "end": 6966, "loc": { "start": { "line": 213, @@ -13167,8 +13121,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 6743, - "end": 6768, + "start": 6941, + "end": 6966, "loc": { "start": { "line": 213, @@ -13181,8 +13135,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6743, - "end": 6766, + "start": 6941, + "end": 6964, "loc": { "start": { "line": 213, @@ -13195,8 +13149,8 @@ }, "object": { "type": "ThisExpression", - "start": 6743, - "end": 6747, + "start": 6941, + "end": 6945, "loc": { "start": { "line": 213, @@ -13211,8 +13165,8 @@ }, "property": { "type": "Identifier", - "start": 6748, - "end": 6766, + "start": 6946, + "end": 6964, "loc": { "start": { "line": 213, @@ -13239,8 +13193,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6769, - "end": 6824, + "start": 6967, + "end": 7036, "loc": { "start": { "line": 213, @@ -13253,9 +13207,9 @@ }, "body": [ { - "type": "ExpressionStatement", - "start": 6780, - "end": 6815, + "type": "IfStatement", + "start": 6978, + "end": 7027, "loc": { "start": { "line": 214, @@ -13263,80 +13217,62 @@ }, "end": { "line": 214, - "column": 43 + "column": 57 } }, - "expression": { - "type": "CallExpression", - "start": 6780, - "end": 6814, + "test": { + "type": "Identifier", + "start": 6981, + "end": 6990, "loc": { "start": { "line": 214, - "column": 8 + "column": 11 }, "end": { "line": 214, - "column": 42 + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 6992, + "end": 7027, + "loc": { + "start": { + "line": 214, + "column": 22 + }, + "end": { + "line": 214, + "column": 57 } }, - "callee": { - "type": "MemberExpression", - "start": 6780, - "end": 6799, + "expression": { + "type": "CallExpression", + "start": 6992, + "end": 7026, "loc": { "start": { "line": 214, - "column": 8 + "column": 22 }, "end": { "line": 214, - "column": 27 + "column": 56 } }, - "object": { - "type": "ThisExpression", - "start": 6780, - "end": 6784, - "loc": { - "start": { - "line": 214, - "column": 8 - }, - "end": { - "line": 214, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 6785, - "end": 6799, - "loc": { - "start": { - "line": 214, - "column": 13 - }, - "end": { - "line": 214, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { + "callee": { "type": "MemberExpression", - "start": 6800, - "end": 6813, + "start": 6992, + "end": 7011, "loc": { "start": { "line": 214, - "column": 28 + "column": 22 }, "end": { "line": 214, @@ -13344,43 +13280,94 @@ } }, "object": { - "type": "Identifier", - "start": 6800, - "end": 6806, + "type": "ThisExpression", + "start": 6992, + "end": 6996, "loc": { "start": { "line": 214, - "column": 28 + "column": 22 }, "end": { "line": 214, - "column": 34 - }, - "identifierName": "string" - }, - "name": "string" + "column": 26 + } + } }, "property": { "type": "Identifier", - "start": 6807, - "end": 6813, + "start": 6997, + "end": 7011, "loc": { "start": { "line": 214, - "column": 35 + "column": 27 }, "end": { "line": 214, "column": 41 }, - "identifierName": "length" + "identifierName": "updateCaretPos" }, - "name": "length" + "name": "updateCaretPos" }, "computed": false - } - ] - } + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 7012, + "end": 7025, + "loc": { + "start": { + "line": 214, + "column": 42 + }, + "end": { + "line": 214, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 7012, + "end": 7018, + "loc": { + "start": { + "line": 214, + "column": 42 + }, + "end": { + "line": 214, + "column": 48 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "Identifier", + "start": 7019, + "end": 7025, + "loc": { + "start": { + "line": 214, + "column": 49 + }, + "end": { + "line": 214, + "column": 55 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + "alternate": null } ], "directives": [] @@ -13390,8 +13377,8 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6657, - "end": 6731, + "start": 6855, + "end": 6929, "loc": { "start": { "line": 210, @@ -13410,30 +13397,330 @@ } }, { - "type": "ReturnStatement", - "start": 6841, - "end": 6855, + "type": "IfStatement", + "start": 7053, + "end": 7162, "loc": { "start": { "line": 219, "column": 4 }, "end": { - "line": 219, + "line": 221, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 7056, + "end": 7110, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 61 + } + }, + "left": { + "type": "MemberExpression", + "start": 7056, + "end": 7097, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 7056, + "end": 7091, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 7056, + "end": 7083, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 7056, + "end": 7060, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 7061, + "end": 7083, + "loc": { + "start": { + "line": 219, + "column": 12 + }, + "end": { + "line": 219, + "column": 34 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7084, + "end": 7091, + "loc": { + "start": { + "line": 219, + "column": 35 + }, + "end": { + "line": 219, + "column": 42 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7092, + "end": 7097, + "loc": { + "start": { + "line": 219, + "column": 43 + }, + "end": { + "line": 219, + "column": 48 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 7101, + "end": 7110, + "loc": { + "start": { + "line": 219, + "column": 52 + }, + "end": { + "line": 219, + "column": 61 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 7111, + "end": 7162, + "loc": { + "start": { + "line": 219, + "column": 62 + }, + "end": { + "line": 221, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7120, + "end": 7155, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 7120, + "end": 7154, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7120, + "end": 7131, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 7120, + "end": 7127, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 7128, + "end": 7131, + "loc": { + "start": { + "line": 220, + "column": 14 + }, + "end": { + "line": 220, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 7132, + "end": 7143, + "loc": { + "start": { + "line": 220, + "column": 18 + }, + "end": { + "line": 220, + "column": 29 + } + }, + "extra": { + "rawValue": "Caret at:", + "raw": "\"Caret at:\"" + }, + "value": "Caret at:" + }, + { + "type": "Identifier", + "start": 7145, + "end": 7153, + "loc": { + "start": { + "line": 220, + "column": 31 + }, + "end": { + "line": 220, + "column": 39 + }, + "identifierName": "position" + }, + "name": "position" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 7170, + "end": 7184, + "loc": { + "start": { + "line": 223, + "column": 4 + }, + "end": { + "line": 223, "column": 18 } }, "argument": { "type": "Identifier", - "start": 6848, - "end": 6854, + "start": 7177, + "end": 7183, "loc": { "start": { - "line": 219, + "line": 223, "column": 11 }, "end": { - "line": 219, + "line": 223, "column": 17 }, "identifierName": "output" @@ -13448,16 +13735,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 6059, - "end": 6311, + "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 6273, + "end": 6602, "loc": { "start": { - "line": 191, + "line": 194, "column": 2 }, "end": { - "line": 197, + "line": 201, "column": 5 } } @@ -13466,16 +13753,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6866, - "end": 7086, + "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 7195, + "end": 7492, "loc": { "start": { - "line": 222, + "line": 226, "column": 2 }, "end": { - "line": 227, + "line": 232, "column": 5 } } @@ -13484,15 +13771,15 @@ }, { "type": "ClassMethod", - "start": 7090, - "end": 8320, + "start": 7496, + "end": 8943, "loc": { "start": { - "line": 228, + "line": 233, "column": 2 }, "end": { - "line": 267, + "line": 276, "column": 3 } }, @@ -13500,15 +13787,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7090, - "end": 7098, + "start": 7496, + "end": 7504, "loc": { "start": { - "line": 228, + "line": 233, "column": 2 }, "end": { - "line": 228, + "line": 233, "column": 10 }, "identifierName": "removeAt" @@ -13524,15 +13811,15 @@ "params": [ { "type": "Identifier", - "start": 7099, - "end": 7105, + "start": 7505, + "end": 7511, "loc": { "start": { - "line": 228, + "line": 233, "column": 11 }, "end": { - "line": 228, + "line": 233, "column": 17 }, "identifierName": "source" @@ -13541,119 +13828,136 @@ }, { "type": "Identifier", - "start": 7107, - "end": 7115, + "start": 7513, + "end": 7521, "loc": { "start": { - "line": 228, + "line": 233, "column": 19 }, "end": { - "line": 228, + "line": 233, "column": 27 }, "identifierName": "position" }, "name": "position" + }, + { + "type": "Identifier", + "start": 7523, + "end": 7532, + "loc": { + "start": { + "line": 233, + "column": 29 + }, + "end": { + "line": 233, + "column": 38 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ], "body": { "type": "BlockStatement", - "start": 7116, - "end": 8320, + "start": 7533, + "end": 8943, "loc": { "start": { - "line": 228, - "column": 28 + "line": 233, + "column": 39 }, "end": { - "line": 267, + "line": 276, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 7123, - "end": 7204, + "start": 7540, + "end": 7621, "loc": { "start": { - "line": 229, + "line": 234, "column": 4 }, "end": { - "line": 231, + "line": 236, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 7126, - "end": 7173, + "start": 7543, + "end": 7590, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 7126, - "end": 7167, + "start": 7543, + "end": 7584, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 7126, - "end": 7153, + "start": 7543, + "end": 7570, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 7126, - "end": 7130, + "start": 7543, + "end": 7547, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 11 } } }, "property": { "type": "Identifier", - "start": 7131, - "end": 7153, + "start": 7548, + "end": 7570, "loc": { "start": { - "line": 229, + "line": 234, "column": 12 }, "end": { - "line": 229, + "line": 234, "column": 34 }, "identifierName": "simpleKeyboardInstance" @@ -13664,15 +13968,15 @@ }, "property": { "type": "Identifier", - "start": 7154, - "end": 7167, + "start": 7571, + "end": 7584, "loc": { "start": { - "line": 229, + "line": 234, "column": 35 }, "end": { - "line": 229, + "line": 234, "column": 48 }, "identifierName": "caretPosition" @@ -13684,15 +13988,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7172, - "end": 7173, + "start": 7589, + "end": 7590, "loc": { "start": { - "line": 229, + "line": 234, "column": 53 }, "end": { - "line": 229, + "line": 234, "column": 54 } }, @@ -13705,44 +14009,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 7174, - "end": 7204, + "start": 7591, + "end": 7621, "loc": { "start": { - "line": 229, + "line": 234, "column": 55 }, "end": { - "line": 231, + "line": 236, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 7183, - "end": 7197, + "start": 7600, + "end": 7614, "loc": { "start": { - "line": 230, + "line": 235, "column": 6 }, "end": { - "line": 230, + "line": 235, "column": 20 } }, "argument": { "type": "Identifier", - "start": 7190, - "end": 7196, + "start": 7607, + "end": 7613, "loc": { "start": { - "line": 230, + "line": 235, "column": 13 }, "end": { - "line": 230, + "line": 235, "column": 19 }, "identifierName": "source" @@ -13757,44 +14061,44 @@ }, { "type": "VariableDeclaration", - "start": 7212, - "end": 7223, + "start": 7629, + "end": 7640, "loc": { "start": { - "line": 233, + "line": 238, "column": 4 }, "end": { - "line": 233, + "line": 238, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7216, - "end": 7222, + "start": 7633, + "end": 7639, "loc": { "start": { - "line": 233, + "line": 238, "column": 8 }, "end": { - "line": 233, + "line": 238, "column": 14 } }, "id": { "type": "Identifier", - "start": 7216, - "end": 7222, + "start": 7633, + "end": 7639, "loc": { "start": { - "line": 233, + "line": 238, "column": 8 }, "end": { - "line": 233, + "line": 238, "column": 14 }, "identifierName": "output" @@ -13808,44 +14112,44 @@ }, { "type": "VariableDeclaration", - "start": 7229, - "end": 7246, + "start": 7646, + "end": 7663, "loc": { "start": { - "line": 234, + "line": 239, "column": 4 }, "end": { - "line": 234, + "line": 239, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7233, - "end": 7245, + "start": 7650, + "end": 7662, "loc": { "start": { - "line": 234, + "line": 239, "column": 8 }, "end": { - "line": 234, + "line": 239, "column": 20 } }, "id": { "type": "Identifier", - "start": 7233, - "end": 7245, + "start": 7650, + "end": 7662, "loc": { "start": { - "line": 234, + "line": 239, "column": 8 }, "end": { - "line": 234, + "line": 239, "column": 20 }, "identifierName": "prevTwoChars" @@ -13859,44 +14163,44 @@ }, { "type": "VariableDeclaration", - "start": 7252, - "end": 7269, + "start": 7669, + "end": 7686, "loc": { "start": { - "line": 235, + "line": 240, "column": 4 }, "end": { - "line": 235, + "line": 240, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7256, - "end": 7268, + "start": 7673, + "end": 7685, "loc": { "start": { - "line": 235, + "line": 240, "column": 8 }, "end": { - "line": 235, + "line": 240, "column": 20 } }, "id": { "type": "Identifier", - "start": 7256, - "end": 7268, + "start": 7673, + "end": 7685, "loc": { "start": { - "line": 235, + "line": 240, "column": 8 }, "end": { - "line": 235, + "line": 240, "column": 20 }, "identifierName": "emojiMatched" @@ -13910,44 +14214,44 @@ }, { "type": "VariableDeclaration", - "start": 7275, - "end": 7333, + "start": 7692, + "end": 7750, "loc": { "start": { - "line": 236, + "line": 241, "column": 4 }, "end": { - "line": 236, + "line": 241, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7279, - "end": 7332, + "start": 7696, + "end": 7749, "loc": { "start": { - "line": 236, + "line": 241, "column": 8 }, "end": { - "line": 236, + "line": 241, "column": 61 } }, "id": { "type": "Identifier", - "start": 7279, - "end": 7294, + "start": 7696, + "end": 7711, "loc": { "start": { - "line": 236, + "line": 241, "column": 8 }, "end": { - "line": 236, + "line": 241, "column": 23 }, "identifierName": "emojiMatchedReg" @@ -13956,15 +14260,15 @@ }, "init": { "type": "RegExpLiteral", - "start": 7297, - "end": 7332, + "start": 7714, + "end": 7749, "loc": { "start": { - "line": 236, + "line": 241, "column": 26 }, "end": { - "line": 236, + "line": 241, "column": 61 } }, @@ -13981,15 +14285,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 7341, - "end": 7521, + "start": 7758, + "end": 7938, "loc": { "start": { - "line": 238, + "line": 243, "column": 4 }, "end": { - "line": 241, + "line": 246, "column": 7 } } @@ -13998,43 +14302,43 @@ }, { "type": "IfStatement", - "start": 7527, - "end": 8293, + "start": 7944, + "end": 8766, "loc": { "start": { - "line": 242, + "line": 247, "column": 4 }, "end": { - "line": 264, + "line": 269, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 7530, - "end": 7555, + "start": 7947, + "end": 7972, "loc": { "start": { - "line": 242, + "line": 247, "column": 7 }, "end": { - "line": 242, + "line": 247, "column": 32 } }, "left": { "type": "Identifier", - "start": 7530, - "end": 7538, + "start": 7947, + "end": 7955, "loc": { "start": { - "line": 242, + "line": 247, "column": 7 }, "end": { - "line": 242, + "line": 247, "column": 15 }, "identifierName": "position" @@ -14045,29 +14349,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7542, - "end": 7555, + "start": 7959, + "end": 7972, "loc": { "start": { - "line": 242, + "line": 247, "column": 19 }, "end": { - "line": 242, + "line": 247, "column": 32 } }, "left": { "type": "Identifier", - "start": 7542, - "end": 7550, + "start": 7959, + "end": 7967, "loc": { "start": { - "line": 242, + "line": 247, "column": 19 }, "end": { - "line": 242, + "line": 247, "column": 27 }, "identifierName": "position" @@ -14077,15 +14381,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 7554, - "end": 7555, + "start": 7971, + "end": 7972, "loc": { "start": { - "line": 242, + "line": 247, "column": 31 }, "end": { - "line": 242, + "line": 247, "column": 32 } }, @@ -14100,59 +14404,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7556, - "end": 7972, + "start": 7973, + "end": 8417, "loc": { "start": { - "line": 242, + "line": 247, "column": 33 }, "end": { - "line": 253, + "line": 258, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7565, - "end": 7620, + "start": 7982, + "end": 8037, "loc": { "start": { - "line": 243, + "line": 248, "column": 6 }, "end": { - "line": 243, + "line": 248, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 7565, - "end": 7620, + "start": 7982, + "end": 8037, "loc": { "start": { - "line": 243, + "line": 248, "column": 6 }, "end": { - "line": 243, + "line": 248, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7565, - "end": 7577, + "start": 7982, + "end": 7994, "loc": { "start": { - "line": 243, + "line": 248, "column": 6 }, "end": { - "line": 243, + "line": 248, "column": 18 }, "identifierName": "prevTwoChars" @@ -14161,43 +14465,43 @@ }, "right": { "type": "CallExpression", - "start": 7580, - "end": 7620, + "start": 7997, + "end": 8037, "loc": { "start": { - "line": 243, + "line": 248, "column": 21 }, "end": { - "line": 243, + "line": 248, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 7580, - "end": 7596, + "start": 7997, + "end": 8013, "loc": { "start": { - "line": 243, + "line": 248, "column": 21 }, "end": { - "line": 243, + "line": 248, "column": 37 } }, "object": { "type": "Identifier", - "start": 7580, - "end": 7586, + "start": 7997, + "end": 8003, "loc": { "start": { - "line": 243, + "line": 248, "column": 21 }, "end": { - "line": 243, + "line": 248, "column": 27 }, "identifierName": "source" @@ -14206,15 +14510,15 @@ }, "property": { "type": "Identifier", - "start": 7587, - "end": 7596, + "start": 8004, + "end": 8013, "loc": { "start": { - "line": 243, + "line": 248, "column": 28 }, "end": { - "line": 243, + "line": 248, "column": 37 }, "identifierName": "substring" @@ -14226,29 +14530,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7597, - "end": 7609, + "start": 8014, + "end": 8026, "loc": { "start": { - "line": 243, + "line": 248, "column": 38 }, "end": { - "line": 243, + "line": 248, "column": 50 } }, "left": { "type": "Identifier", - "start": 7597, - "end": 7605, + "start": 8014, + "end": 8022, "loc": { "start": { - "line": 243, + "line": 248, "column": 38 }, "end": { - "line": 243, + "line": 248, "column": 46 }, "identifierName": "position" @@ -14258,15 +14562,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7608, - "end": 7609, + "start": 8025, + "end": 8026, "loc": { "start": { - "line": 243, + "line": 248, "column": 49 }, "end": { - "line": 243, + "line": 248, "column": 50 } }, @@ -14279,15 +14583,15 @@ }, { "type": "Identifier", - "start": 7611, - "end": 7619, + "start": 8028, + "end": 8036, "loc": { "start": { - "line": 243, + "line": 248, "column": 52 }, "end": { - "line": 243, + "line": 248, "column": 60 }, "identifierName": "position" @@ -14300,44 +14604,44 @@ }, { "type": "ExpressionStatement", - "start": 7628, - "end": 7679, + "start": 8045, + "end": 8096, "loc": { "start": { - "line": 244, + "line": 249, "column": 6 }, "end": { - "line": 244, + "line": 249, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 7628, - "end": 7678, + "start": 8045, + "end": 8095, "loc": { "start": { - "line": 244, + "line": 249, "column": 6 }, "end": { - "line": 244, + "line": 249, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7628, - "end": 7640, + "start": 8045, + "end": 8057, "loc": { "start": { - "line": 244, + "line": 249, "column": 6 }, "end": { - "line": 244, + "line": 249, "column": 18 }, "identifierName": "emojiMatched" @@ -14346,43 +14650,43 @@ }, "right": { "type": "CallExpression", - "start": 7643, - "end": 7678, + "start": 8060, + "end": 8095, "loc": { "start": { - "line": 244, + "line": 249, "column": 21 }, "end": { - "line": 244, + "line": 249, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 7643, - "end": 7661, + "start": 8060, + "end": 8078, "loc": { "start": { - "line": 244, + "line": 249, "column": 21 }, "end": { - "line": 244, + "line": 249, "column": 39 } }, "object": { "type": "Identifier", - "start": 7643, - "end": 7655, + "start": 8060, + "end": 8072, "loc": { "start": { - "line": 244, + "line": 249, "column": 21 }, "end": { - "line": 244, + "line": 249, "column": 33 }, "identifierName": "prevTwoChars" @@ -14391,15 +14695,15 @@ }, "property": { "type": "Identifier", - "start": 7656, - "end": 7661, + "start": 8073, + "end": 8078, "loc": { "start": { - "line": 244, + "line": 249, "column": 34 }, "end": { - "line": 244, + "line": 249, "column": 39 }, "identifierName": "match" @@ -14411,15 +14715,15 @@ "arguments": [ { "type": "Identifier", - "start": 7662, - "end": 7677, + "start": 8079, + "end": 8094, "loc": { "start": { - "line": 244, + "line": 249, "column": 40 }, "end": { - "line": 244, + "line": 249, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -14432,29 +14736,29 @@ }, { "type": "IfStatement", - "start": 7689, - "end": 7965, + "start": 8106, + "end": 8410, "loc": { "start": { - "line": 246, + "line": 251, "column": 6 }, "end": { - "line": 252, + "line": 257, "column": 7 } }, "test": { "type": "Identifier", - "start": 7692, - "end": 7704, + "start": 8109, + "end": 8121, "loc": { "start": { - "line": 246, + "line": 251, "column": 9 }, "end": { - "line": 246, + "line": 251, "column": 21 }, "identifierName": "emojiMatched" @@ -14463,59 +14767,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7705, - "end": 7832, + "start": 8122, + "end": 8263, "loc": { "start": { - "line": 246, + "line": 251, "column": 22 }, "end": { - "line": 249, + "line": 254, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7716, - "end": 7784, + "start": 8133, + "end": 8201, "loc": { "start": { - "line": 247, + "line": 252, "column": 8 }, "end": { - "line": 247, + "line": 252, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7716, - "end": 7783, + "start": 8133, + "end": 8200, "loc": { "start": { - "line": 247, + "line": 252, "column": 8 }, "end": { - "line": 247, + "line": 252, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7716, - "end": 7722, + "start": 8133, + "end": 8139, "loc": { "start": { - "line": 247, + "line": 252, "column": 8 }, "end": { - "line": 247, + "line": 252, "column": 14 }, "identifierName": "output" @@ -14524,57 +14828,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7725, - "end": 7783, + "start": 8142, + "end": 8200, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7725, - "end": 7757, + "start": 8142, + "end": 8174, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7725, - "end": 7738, + "start": 8142, + "end": 8155, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 30 } }, "object": { "type": "Identifier", - "start": 7725, - "end": 7731, + "start": 8142, + "end": 8148, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 23 }, "identifierName": "source" @@ -14583,15 +14887,15 @@ }, "property": { "type": "Identifier", - "start": 7732, - "end": 7738, + "start": 8149, + "end": 8155, "loc": { "start": { - "line": 247, + "line": 252, "column": 24 }, "end": { - "line": 247, + "line": 252, "column": 30 }, "identifierName": "substr" @@ -14603,15 +14907,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7739, - "end": 7740, + "start": 8156, + "end": 8157, "loc": { "start": { - "line": 247, + "line": 252, "column": 31 }, "end": { - "line": 247, + "line": 252, "column": 32 } }, @@ -14623,29 +14927,29 @@ }, { "type": "BinaryExpression", - "start": 7743, - "end": 7755, + "start": 8160, + "end": 8172, "loc": { "start": { - "line": 247, + "line": 252, "column": 35 }, "end": { - "line": 247, + "line": 252, "column": 47 } }, "left": { "type": "Identifier", - "start": 7743, - "end": 7751, + "start": 8160, + "end": 8168, "loc": { "start": { - "line": 247, + "line": 252, "column": 35 }, "end": { - "line": 247, + "line": 252, "column": 43 }, "identifierName": "position" @@ -14655,15 +14959,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7754, - "end": 7755, + "start": 8171, + "end": 8172, "loc": { "start": { - "line": 247, + "line": 252, "column": 46 }, "end": { - "line": 247, + "line": 252, "column": 47 } }, @@ -14675,7 +14979,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7742 + "parenStart": 8159 } } ] @@ -14683,43 +14987,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7760, - "end": 7783, + "start": 8177, + "end": 8200, "loc": { "start": { - "line": 247, + "line": 252, "column": 52 }, "end": { - "line": 247, + "line": 252, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7760, - "end": 7773, + "start": 8177, + "end": 8190, "loc": { "start": { - "line": 247, + "line": 252, "column": 52 }, "end": { - "line": 247, + "line": 252, "column": 65 } }, "object": { "type": "Identifier", - "start": 7760, - "end": 7766, + "start": 8177, + "end": 8183, "loc": { "start": { - "line": 247, + "line": 252, "column": 52 }, "end": { - "line": 247, + "line": 252, "column": 58 }, "identifierName": "source" @@ -14728,15 +15032,15 @@ }, "property": { "type": "Identifier", - "start": 7767, - "end": 7773, + "start": 8184, + "end": 8190, "loc": { "start": { - "line": 247, + "line": 252, "column": 59 }, "end": { - "line": 247, + "line": 252, "column": 65 }, "identifierName": "substr" @@ -14748,15 +15052,15 @@ "arguments": [ { "type": "Identifier", - "start": 7774, - "end": 7782, + "start": 8191, + "end": 8199, "loc": { "start": { - "line": 247, + "line": 252, "column": 66 }, "end": { - "line": 247, + "line": 252, "column": 74 }, "identifierName": "position" @@ -14769,179 +15073,212 @@ } }, { - "type": "ExpressionStatement", - "start": 7794, - "end": 7823, + "type": "IfStatement", + "start": 8211, + "end": 8254, "loc": { "start": { - "line": 248, + "line": 253, "column": 8 }, "end": { - "line": 248, - "column": 37 + "line": 253, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 7794, - "end": 7822, + "test": { + "type": "Identifier", + "start": 8214, + "end": 8223, "loc": { "start": { - "line": 248, - "column": 8 + "line": 253, + "column": 11 }, "end": { - "line": 248, - "column": 36 + "line": 253, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8225, + "end": 8254, + "loc": { + "start": { + "line": 253, + "column": 22 + }, + "end": { + "line": 253, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 7794, - "end": 7813, + "expression": { + "type": "CallExpression", + "start": 8225, + "end": 8253, "loc": { "start": { - "line": 248, - "column": 8 + "line": 253, + "column": 22 }, "end": { - "line": 248, - "column": 27 + "line": 253, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 7794, - "end": 7798, + "callee": { + "type": "MemberExpression", + "start": 8225, + "end": 8244, "loc": { "start": { - "line": 248, - "column": 8 + "line": 253, + "column": 22 }, "end": { - "line": 248, - "column": 12 + "line": 253, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8225, + "end": 8229, + "loc": { + "start": { + "line": 253, + "column": 22 + }, + "end": { + "line": 253, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8230, + "end": 8244, + "loc": { + "start": { + "line": 253, + "column": 27 + }, + "end": { + "line": 253, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8245, + "end": 8246, + "loc": { + "start": { + "line": 253, + "column": 42 + }, + "end": { + "line": 253, + "column": 43 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "BooleanLiteral", + "start": 8248, + "end": 8252, + "loc": { + "start": { + "line": 253, + "column": 45 + }, + "end": { + "line": 253, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 7799, - "end": 7813, - "loc": { - "start": { - "line": 248, - "column": 13 - }, - "end": { - "line": 248, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 7814, - "end": 7815, - "loc": { - "start": { - "line": 248, - "column": 28 - }, - "end": { - "line": 248, - "column": 29 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "BooleanLiteral", - "start": 7817, - "end": 7821, - "loc": { - "start": { - "line": 248, - "column": 31 - }, - "end": { - "line": 248, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", - "start": 7838, - "end": 7965, + "start": 8269, + "end": 8410, "loc": { "start": { - "line": 249, + "line": 254, "column": 13 }, "end": { - "line": 252, + "line": 257, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7849, - "end": 7917, + "start": 8280, + "end": 8348, "loc": { "start": { - "line": 250, + "line": 255, "column": 8 }, "end": { - "line": 250, + "line": 255, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7849, - "end": 7916, + "start": 8280, + "end": 8347, "loc": { "start": { - "line": 250, + "line": 255, "column": 8 }, "end": { - "line": 250, + "line": 255, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7849, - "end": 7855, + "start": 8280, + "end": 8286, "loc": { "start": { - "line": 250, + "line": 255, "column": 8 }, "end": { - "line": 250, + "line": 255, "column": 14 }, "identifierName": "output" @@ -14950,57 +15287,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7858, - "end": 7916, + "start": 8289, + "end": 8347, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7858, - "end": 7890, + "start": 8289, + "end": 8321, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7858, - "end": 7871, + "start": 8289, + "end": 8302, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 30 } }, "object": { "type": "Identifier", - "start": 7858, - "end": 7864, + "start": 8289, + "end": 8295, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 23 }, "identifierName": "source" @@ -15009,15 +15346,15 @@ }, "property": { "type": "Identifier", - "start": 7865, - "end": 7871, + "start": 8296, + "end": 8302, "loc": { "start": { - "line": 250, + "line": 255, "column": 24 }, "end": { - "line": 250, + "line": 255, "column": 30 }, "identifierName": "substr" @@ -15029,15 +15366,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7872, - "end": 7873, + "start": 8303, + "end": 8304, "loc": { "start": { - "line": 250, + "line": 255, "column": 31 }, "end": { - "line": 250, + "line": 255, "column": 32 } }, @@ -15049,29 +15386,29 @@ }, { "type": "BinaryExpression", - "start": 7876, - "end": 7888, + "start": 8307, + "end": 8319, "loc": { "start": { - "line": 250, + "line": 255, "column": 35 }, "end": { - "line": 250, + "line": 255, "column": 47 } }, "left": { "type": "Identifier", - "start": 7876, - "end": 7884, + "start": 8307, + "end": 8315, "loc": { "start": { - "line": 250, + "line": 255, "column": 35 }, "end": { - "line": 250, + "line": 255, "column": 43 }, "identifierName": "position" @@ -15081,15 +15418,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7887, - "end": 7888, + "start": 8318, + "end": 8319, "loc": { "start": { - "line": 250, + "line": 255, "column": 46 }, "end": { - "line": 250, + "line": 255, "column": 47 } }, @@ -15101,7 +15438,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7875 + "parenStart": 8306 } } ] @@ -15109,43 +15446,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7893, - "end": 7916, + "start": 8324, + "end": 8347, "loc": { "start": { - "line": 250, + "line": 255, "column": 52 }, "end": { - "line": 250, + "line": 255, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7893, - "end": 7906, + "start": 8324, + "end": 8337, "loc": { "start": { - "line": 250, + "line": 255, "column": 52 }, "end": { - "line": 250, + "line": 255, "column": 65 } }, "object": { "type": "Identifier", - "start": 7893, - "end": 7899, + "start": 8324, + "end": 8330, "loc": { "start": { - "line": 250, + "line": 255, "column": 52 }, "end": { - "line": 250, + "line": 255, "column": 58 }, "identifierName": "source" @@ -15154,15 +15491,15 @@ }, "property": { "type": "Identifier", - "start": 7900, - "end": 7906, + "start": 8331, + "end": 8337, "loc": { "start": { - "line": 250, + "line": 255, "column": 59 }, "end": { - "line": 250, + "line": 255, "column": 65 }, "identifierName": "substr" @@ -15174,15 +15511,15 @@ "arguments": [ { "type": "Identifier", - "start": 7907, - "end": 7915, + "start": 8338, + "end": 8346, "loc": { "start": { - "line": 250, + "line": 255, "column": 66 }, "end": { - "line": 250, + "line": 255, "column": 74 }, "identifierName": "position" @@ -15195,120 +15532,153 @@ } }, { - "type": "ExpressionStatement", - "start": 7927, - "end": 7956, + "type": "IfStatement", + "start": 8358, + "end": 8401, "loc": { "start": { - "line": 251, + "line": 256, "column": 8 }, "end": { - "line": 251, - "column": 37 + "line": 256, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 7927, - "end": 7955, + "test": { + "type": "Identifier", + "start": 8361, + "end": 8370, "loc": { "start": { - "line": 251, - "column": 8 + "line": 256, + "column": 11 }, "end": { - "line": 251, - "column": 36 + "line": 256, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8372, + "end": 8401, + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 7927, - "end": 7946, + "expression": { + "type": "CallExpression", + "start": 8372, + "end": 8400, "loc": { "start": { - "line": 251, - "column": 8 + "line": 256, + "column": 22 }, "end": { - "line": 251, - "column": 27 + "line": 256, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 7927, - "end": 7931, + "callee": { + "type": "MemberExpression", + "start": 8372, + "end": 8391, "loc": { "start": { - "line": 251, - "column": 8 + "line": 256, + "column": 22 }, "end": { - "line": 251, - "column": 12 + "line": 256, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8372, + "end": 8376, + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8377, + "end": 8391, + "loc": { + "start": { + "line": 256, + "column": 27 + }, + "end": { + "line": 256, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8392, + "end": 8393, + "loc": { + "start": { + "line": 256, + "column": 42 + }, + "end": { + "line": 256, + "column": 43 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + { + "type": "BooleanLiteral", + "start": 8395, + "end": 8399, + "loc": { + "start": { + "line": 256, + "column": 45 + }, + "end": { + "line": 256, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 7932, - "end": 7946, - "loc": { - "start": { - "line": 251, - "column": 13 - }, - "end": { - "line": 251, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 7947, - "end": 7948, - "loc": { - "start": { - "line": 251, - "column": 28 - }, - "end": { - "line": 251, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "BooleanLiteral", - "start": 7950, - "end": 7954, - "loc": { - "start": { - "line": 251, - "column": 31 - }, - "end": { - "line": 251, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] @@ -15319,59 +15689,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7978, - "end": 8293, + "start": 8423, + "end": 8766, "loc": { "start": { - "line": 253, + "line": 258, "column": 11 }, "end": { - "line": 264, + "line": 269, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7987, - "end": 8019, + "start": 8432, + "end": 8464, "loc": { "start": { - "line": 254, + "line": 259, "column": 6 }, "end": { - "line": 254, + "line": 259, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 7987, - "end": 8018, + "start": 8432, + "end": 8463, "loc": { "start": { - "line": 254, + "line": 259, "column": 6 }, "end": { - "line": 254, + "line": 259, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7987, - "end": 7999, + "start": 8432, + "end": 8444, "loc": { "start": { - "line": 254, + "line": 259, "column": 6 }, "end": { - "line": 254, + "line": 259, "column": 18 }, "identifierName": "prevTwoChars" @@ -15380,43 +15750,43 @@ }, "right": { "type": "CallExpression", - "start": 8002, - "end": 8018, + "start": 8447, + "end": 8463, "loc": { "start": { - "line": 254, + "line": 259, "column": 21 }, "end": { - "line": 254, + "line": 259, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 8002, - "end": 8014, + "start": 8447, + "end": 8459, "loc": { "start": { - "line": 254, + "line": 259, "column": 21 }, "end": { - "line": 254, + "line": 259, "column": 33 } }, "object": { "type": "Identifier", - "start": 8002, - "end": 8008, + "start": 8447, + "end": 8453, "loc": { "start": { - "line": 254, + "line": 259, "column": 21 }, "end": { - "line": 254, + "line": 259, "column": 27 }, "identifierName": "source" @@ -15425,15 +15795,15 @@ }, "property": { "type": "Identifier", - "start": 8009, - "end": 8014, + "start": 8454, + "end": 8459, "loc": { "start": { - "line": 254, + "line": 259, "column": 28 }, "end": { - "line": 254, + "line": 259, "column": 33 }, "identifierName": "slice" @@ -15445,15 +15815,15 @@ "arguments": [ { "type": "UnaryExpression", - "start": 8015, - "end": 8017, + "start": 8460, + "end": 8462, "loc": { "start": { - "line": 254, + "line": 259, "column": 34 }, "end": { - "line": 254, + "line": 259, "column": 36 } }, @@ -15461,15 +15831,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 8016, - "end": 8017, + "start": 8461, + "end": 8462, "loc": { "start": { - "line": 254, + "line": 259, "column": 35 }, "end": { - "line": 254, + "line": 259, "column": 36 } }, @@ -15489,44 +15859,44 @@ }, { "type": "ExpressionStatement", - "start": 8027, - "end": 8078, + "start": 8472, + "end": 8523, "loc": { "start": { - "line": 255, + "line": 260, "column": 6 }, "end": { - "line": 255, + "line": 260, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 8027, - "end": 8077, + "start": 8472, + "end": 8522, "loc": { "start": { - "line": 255, + "line": 260, "column": 6 }, "end": { - "line": 255, + "line": 260, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8027, - "end": 8039, + "start": 8472, + "end": 8484, "loc": { "start": { - "line": 255, + "line": 260, "column": 6 }, "end": { - "line": 255, + "line": 260, "column": 18 }, "identifierName": "emojiMatched" @@ -15535,43 +15905,43 @@ }, "right": { "type": "CallExpression", - "start": 8042, - "end": 8077, + "start": 8487, + "end": 8522, "loc": { "start": { - "line": 255, + "line": 260, "column": 21 }, "end": { - "line": 255, + "line": 260, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 8042, - "end": 8060, + "start": 8487, + "end": 8505, "loc": { "start": { - "line": 255, + "line": 260, "column": 21 }, "end": { - "line": 255, + "line": 260, "column": 39 } }, "object": { "type": "Identifier", - "start": 8042, - "end": 8054, + "start": 8487, + "end": 8499, "loc": { "start": { - "line": 255, + "line": 260, "column": 21 }, "end": { - "line": 255, + "line": 260, "column": 33 }, "identifierName": "prevTwoChars" @@ -15580,15 +15950,15 @@ }, "property": { "type": "Identifier", - "start": 8055, - "end": 8060, + "start": 8500, + "end": 8505, "loc": { "start": { - "line": 255, + "line": 260, "column": 34 }, "end": { - "line": 255, + "line": 260, "column": 39 }, "identifierName": "match" @@ -15600,15 +15970,15 @@ "arguments": [ { "type": "Identifier", - "start": 8061, - "end": 8076, + "start": 8506, + "end": 8521, "loc": { "start": { - "line": 255, + "line": 260, "column": 40 }, "end": { - "line": 255, + "line": 260, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -15621,29 +15991,29 @@ }, { "type": "IfStatement", - "start": 8088, - "end": 8286, + "start": 8533, + "end": 8759, "loc": { "start": { - "line": 257, + "line": 262, "column": 6 }, "end": { - "line": 263, + "line": 268, "column": 7 } }, "test": { "type": "Identifier", - "start": 8091, - "end": 8103, + "start": 8536, + "end": 8548, "loc": { "start": { - "line": 257, + "line": 262, "column": 9 }, "end": { - "line": 257, + "line": 262, "column": 21 }, "identifierName": "emojiMatched" @@ -15652,59 +16022,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8104, - "end": 8192, + "start": 8549, + "end": 8651, "loc": { "start": { - "line": 257, + "line": 262, "column": 22 }, "end": { - "line": 260, + "line": 265, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8115, - "end": 8144, + "start": 8560, + "end": 8589, "loc": { "start": { - "line": 258, + "line": 263, "column": 8 }, "end": { - "line": 258, + "line": 263, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 8115, - "end": 8143, + "start": 8560, + "end": 8588, "loc": { "start": { - "line": 258, + "line": 263, "column": 8 }, "end": { - "line": 258, + "line": 263, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8115, - "end": 8121, + "start": 8560, + "end": 8566, "loc": { "start": { - "line": 258, + "line": 263, "column": 8 }, "end": { - "line": 258, + "line": 263, "column": 14 }, "identifierName": "output" @@ -15713,43 +16083,43 @@ }, "right": { "type": "CallExpression", - "start": 8124, - "end": 8143, + "start": 8569, + "end": 8588, "loc": { "start": { - "line": 258, + "line": 263, "column": 17 }, "end": { - "line": 258, + "line": 263, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 8124, - "end": 8136, + "start": 8569, + "end": 8581, "loc": { "start": { - "line": 258, + "line": 263, "column": 17 }, "end": { - "line": 258, + "line": 263, "column": 29 } }, "object": { "type": "Identifier", - "start": 8124, - "end": 8130, + "start": 8569, + "end": 8575, "loc": { "start": { - "line": 258, + "line": 263, "column": 17 }, "end": { - "line": 258, + "line": 263, "column": 23 }, "identifierName": "source" @@ -15758,15 +16128,15 @@ }, "property": { "type": "Identifier", - "start": 8131, - "end": 8136, + "start": 8576, + "end": 8581, "loc": { "start": { - "line": 258, + "line": 263, "column": 24 }, "end": { - "line": 258, + "line": 263, "column": 29 }, "identifierName": "slice" @@ -15778,15 +16148,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8137, - "end": 8138, + "start": 8582, + "end": 8583, "loc": { "start": { - "line": 258, + "line": 263, "column": 30 }, "end": { - "line": 258, + "line": 263, "column": 31 } }, @@ -15798,15 +16168,15 @@ }, { "type": "UnaryExpression", - "start": 8140, - "end": 8142, + "start": 8585, + "end": 8587, "loc": { "start": { - "line": 258, + "line": 263, "column": 33 }, "end": { - "line": 258, + "line": 263, "column": 35 } }, @@ -15814,15 +16184,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 8141, - "end": 8142, + "start": 8586, + "end": 8587, "loc": { "start": { - "line": 258, + "line": 263, "column": 34 }, "end": { - "line": 258, + "line": 263, "column": 35 } }, @@ -15841,179 +16211,212 @@ } }, { - "type": "ExpressionStatement", - "start": 8154, - "end": 8183, + "type": "IfStatement", + "start": 8599, + "end": 8642, "loc": { "start": { - "line": 259, + "line": 264, "column": 8 }, "end": { - "line": 259, - "column": 37 + "line": 264, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 8154, - "end": 8182, + "test": { + "type": "Identifier", + "start": 8602, + "end": 8611, "loc": { "start": { - "line": 259, - "column": 8 + "line": 264, + "column": 11 }, "end": { - "line": 259, - "column": 36 + "line": 264, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8613, + "end": 8642, + "loc": { + "start": { + "line": 264, + "column": 22 + }, + "end": { + "line": 264, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 8154, - "end": 8173, + "expression": { + "type": "CallExpression", + "start": 8613, + "end": 8641, "loc": { "start": { - "line": 259, - "column": 8 + "line": 264, + "column": 22 }, "end": { - "line": 259, - "column": 27 + "line": 264, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 8154, - "end": 8158, + "callee": { + "type": "MemberExpression", + "start": 8613, + "end": 8632, "loc": { "start": { - "line": 259, - "column": 8 + "line": 264, + "column": 22 }, "end": { - "line": 259, - "column": 12 + "line": 264, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8613, + "end": 8617, + "loc": { + "start": { + "line": 264, + "column": 22 + }, + "end": { + "line": 264, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8618, + "end": 8632, + "loc": { + "start": { + "line": 264, + "column": 27 + }, + "end": { + "line": 264, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8633, + "end": 8634, + "loc": { + "start": { + "line": 264, + "column": 42 + }, + "end": { + "line": 264, + "column": 43 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "BooleanLiteral", + "start": 8636, + "end": 8640, + "loc": { + "start": { + "line": 264, + "column": 45 + }, + "end": { + "line": 264, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 8159, - "end": 8173, - "loc": { - "start": { - "line": 259, - "column": 13 - }, - "end": { - "line": 259, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 8174, - "end": 8175, - "loc": { - "start": { - "line": 259, - "column": 28 - }, - "end": { - "line": 259, - "column": 29 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "BooleanLiteral", - "start": 8177, - "end": 8181, - "loc": { - "start": { - "line": 259, - "column": 31 - }, - "end": { - "line": 259, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", - "start": 8198, - "end": 8286, + "start": 8657, + "end": 8759, "loc": { "start": { - "line": 260, + "line": 265, "column": 13 }, "end": { - "line": 263, + "line": 268, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8209, - "end": 8238, + "start": 8668, + "end": 8697, "loc": { "start": { - "line": 261, + "line": 266, "column": 8 }, "end": { - "line": 261, + "line": 266, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 8209, - "end": 8237, + "start": 8668, + "end": 8696, "loc": { "start": { - "line": 261, + "line": 266, "column": 8 }, "end": { - "line": 261, + "line": 266, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8209, - "end": 8215, + "start": 8668, + "end": 8674, "loc": { "start": { - "line": 261, + "line": 266, "column": 8 }, "end": { - "line": 261, + "line": 266, "column": 14 }, "identifierName": "output" @@ -16022,43 +16425,43 @@ }, "right": { "type": "CallExpression", - "start": 8218, - "end": 8237, + "start": 8677, + "end": 8696, "loc": { "start": { - "line": 261, + "line": 266, "column": 17 }, "end": { - "line": 261, + "line": 266, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 8218, - "end": 8230, + "start": 8677, + "end": 8689, "loc": { "start": { - "line": 261, + "line": 266, "column": 17 }, "end": { - "line": 261, + "line": 266, "column": 29 } }, "object": { "type": "Identifier", - "start": 8218, - "end": 8224, + "start": 8677, + "end": 8683, "loc": { "start": { - "line": 261, + "line": 266, "column": 17 }, "end": { - "line": 261, + "line": 266, "column": 23 }, "identifierName": "source" @@ -16067,15 +16470,15 @@ }, "property": { "type": "Identifier", - "start": 8225, - "end": 8230, + "start": 8684, + "end": 8689, "loc": { "start": { - "line": 261, + "line": 266, "column": 24 }, "end": { - "line": 261, + "line": 266, "column": 29 }, "identifierName": "slice" @@ -16087,15 +16490,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8231, - "end": 8232, + "start": 8690, + "end": 8691, "loc": { "start": { - "line": 261, + "line": 266, "column": 30 }, "end": { - "line": 261, + "line": 266, "column": 31 } }, @@ -16107,15 +16510,15 @@ }, { "type": "UnaryExpression", - "start": 8234, - "end": 8236, + "start": 8693, + "end": 8695, "loc": { "start": { - "line": 261, + "line": 266, "column": 33 }, "end": { - "line": 261, + "line": 266, "column": 35 } }, @@ -16123,15 +16526,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 8235, - "end": 8236, + "start": 8694, + "end": 8695, "loc": { "start": { - "line": 261, + "line": 266, "column": 34 }, "end": { - "line": 261, + "line": 266, "column": 35 } }, @@ -16150,120 +16553,153 @@ } }, { - "type": "ExpressionStatement", - "start": 8248, - "end": 8277, + "type": "IfStatement", + "start": 8707, + "end": 8750, "loc": { "start": { - "line": 262, + "line": 267, "column": 8 }, "end": { - "line": 262, - "column": 37 + "line": 267, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 8248, - "end": 8276, + "test": { + "type": "Identifier", + "start": 8710, + "end": 8719, "loc": { "start": { - "line": 262, - "column": 8 + "line": 267, + "column": 11 }, "end": { - "line": 262, - "column": 36 + "line": 267, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8721, + "end": 8750, + "loc": { + "start": { + "line": 267, + "column": 22 + }, + "end": { + "line": 267, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 8248, - "end": 8267, + "expression": { + "type": "CallExpression", + "start": 8721, + "end": 8749, "loc": { "start": { - "line": 262, - "column": 8 + "line": 267, + "column": 22 }, "end": { - "line": 262, - "column": 27 + "line": 267, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 8248, - "end": 8252, + "callee": { + "type": "MemberExpression", + "start": 8721, + "end": 8740, "loc": { "start": { - "line": 262, - "column": 8 + "line": 267, + "column": 22 }, "end": { - "line": 262, - "column": 12 + "line": 267, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8721, + "end": 8725, + "loc": { + "start": { + "line": 267, + "column": 22 + }, + "end": { + "line": 267, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8726, + "end": 8740, + "loc": { + "start": { + "line": 267, + "column": 27 + }, + "end": { + "line": 267, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8741, + "end": 8742, + "loc": { + "start": { + "line": 267, + "column": 42 + }, + "end": { + "line": 267, + "column": 43 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + { + "type": "BooleanLiteral", + "start": 8744, + "end": 8748, + "loc": { + "start": { + "line": 267, + "column": 45 + }, + "end": { + "line": 267, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 8253, - "end": 8267, - "loc": { - "start": { - "line": 262, - "column": 13 - }, - "end": { - "line": 262, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 8268, - "end": 8269, - "loc": { - "start": { - "line": 262, - "column": 28 - }, - "end": { - "line": 262, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "BooleanLiteral", - "start": 8271, - "end": 8275, - "loc": { - "start": { - "line": 262, - "column": 31 - }, - "end": { - "line": 262, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] @@ -16276,15 +16712,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 7341, - "end": 7521, + "start": 7758, + "end": 7938, "loc": { "start": { - "line": 238, + "line": 243, "column": 4 }, "end": { - "line": 241, + "line": 246, "column": 7 } } @@ -16292,30 +16728,394 @@ ] }, { - "type": "ReturnStatement", - "start": 8301, - "end": 8315, + "type": "IfStatement", + "start": 8774, + "end": 8916, "loc": { "start": { - "line": 266, + "line": 271, "column": 4 }, "end": { - "line": 266, + "line": 273, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 8777, + "end": 8831, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 61 + } + }, + "left": { + "type": "MemberExpression", + "start": 8777, + "end": 8818, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 8777, + "end": 8812, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 8777, + "end": 8804, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 8777, + "end": 8781, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 8782, + "end": 8804, + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 34 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8805, + "end": 8812, + "loc": { + "start": { + "line": 271, + "column": 35 + }, + "end": { + "line": 271, + "column": 42 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8813, + "end": 8818, + "loc": { + "start": { + "line": 271, + "column": 43 + }, + "end": { + "line": 271, + "column": 48 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 8822, + "end": 8831, + "loc": { + "start": { + "line": 271, + "column": 52 + }, + "end": { + "line": 271, + "column": 61 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8832, + "end": 8916, + "loc": { + "start": { + "line": 271, + "column": 62 + }, + "end": { + "line": 273, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8841, + "end": 8909, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 74 + } + }, + "expression": { + "type": "CallExpression", + "start": 8841, + "end": 8908, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8841, + "end": 8852, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 8841, + "end": 8848, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 8849, + "end": 8852, + "loc": { + "start": { + "line": 272, + "column": 14 + }, + "end": { + "line": 272, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8853, + "end": 8864, + "loc": { + "start": { + "line": 272, + "column": 18 + }, + "end": { + "line": 272, + "column": 29 + } + }, + "extra": { + "rawValue": "Caret at:", + "raw": "\"Caret at:\"" + }, + "value": "Caret at:" + }, + { + "type": "MemberExpression", + "start": 8866, + "end": 8907, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 72 + } + }, + "object": { + "type": "MemberExpression", + "start": 8866, + "end": 8893, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 8866, + "end": 8870, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 8871, + "end": 8893, + "loc": { + "start": { + "line": 272, + "column": 36 + }, + "end": { + "line": 272, + "column": 58 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8894, + "end": 8907, + "loc": { + "start": { + "line": 272, + "column": 59 + }, + "end": { + "line": 272, + "column": 72 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 8924, + "end": 8938, + "loc": { + "start": { + "line": 275, + "column": 4 + }, + "end": { + "line": 275, "column": 18 } }, "argument": { "type": "Identifier", - "start": 8308, - "end": 8314, + "start": 8931, + "end": 8937, "loc": { "start": { - "line": 266, + "line": 275, "column": 11 }, "end": { - "line": 266, + "line": 275, "column": 17 }, "identifierName": "output" @@ -16330,16 +17130,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6866, - "end": 7086, + "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 7195, + "end": 7492, "loc": { "start": { - "line": 222, + "line": 226, "column": 2 }, "end": { - "line": 227, + "line": 232, "column": 5 } } @@ -16349,15 +17149,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 8324, - "end": 8555, + "start": 8947, + "end": 9178, "loc": { "start": { - "line": 268, + "line": 277, "column": 2 }, "end": { - "line": 274, + "line": 283, "column": 5 } } @@ -16366,15 +17166,15 @@ }, { "type": "ClassMethod", - "start": 8559, - "end": 9817, + "start": 9182, + "end": 10438, "loc": { "start": { - "line": 275, + "line": 284, "column": 2 }, "end": { - "line": 323, + "line": 331, "column": 3 } }, @@ -16382,15 +17182,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8559, - "end": 8574, + "start": 9182, + "end": 9197, "loc": { "start": { - "line": 275, + "line": 284, "column": 2 }, "end": { - "line": 275, + "line": 284, "column": 17 }, "identifierName": "handleMaxLength" @@ -16406,15 +17206,15 @@ "params": [ { "type": "Identifier", - "start": 8575, - "end": 8583, + "start": 9198, + "end": 9206, "loc": { "start": { - "line": 275, + "line": 284, "column": 18 }, "end": { - "line": 275, + "line": 284, "column": 26 }, "identifierName": "inputObj" @@ -16423,15 +17223,15 @@ }, { "type": "Identifier", - "start": 8585, - "end": 8592, + "start": 9208, + "end": 9215, "loc": { "start": { - "line": 275, + "line": 284, "column": 28 }, "end": { - "line": 275, + "line": 284, "column": 35 }, "identifierName": "options" @@ -16440,15 +17240,15 @@ }, { "type": "Identifier", - "start": 8594, - "end": 8606, + "start": 9217, + "end": 9229, "loc": { "start": { - "line": 275, + "line": 284, "column": 37 }, "end": { - "line": 275, + "line": 284, "column": 49 }, "identifierName": "updatedInput" @@ -16458,59 +17258,59 @@ ], "body": { "type": "BlockStatement", - "start": 8607, - "end": 9817, + "start": 9230, + "end": 10438, "loc": { "start": { - "line": 275, + "line": 284, "column": 50 }, "end": { - "line": 323, + "line": 331, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 8614, - "end": 8648, + "start": 9237, + "end": 9271, "loc": { "start": { - "line": 276, + "line": 285, "column": 4 }, "end": { - "line": 276, + "line": 285, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8618, - "end": 8647, + "start": 9241, + "end": 9270, "loc": { "start": { - "line": 276, + "line": 285, "column": 8 }, "end": { - "line": 276, + "line": 285, "column": 37 } }, "id": { "type": "Identifier", - "start": 8618, - "end": 8627, + "start": 9241, + "end": 9250, "loc": { "start": { - "line": 276, + "line": 285, "column": 8 }, "end": { - "line": 276, + "line": 285, "column": 17 }, "identifierName": "maxLength" @@ -16519,29 +17319,29 @@ }, "init": { "type": "MemberExpression", - "start": 8630, - "end": 8647, + "start": 9253, + "end": 9270, "loc": { "start": { - "line": 276, + "line": 285, "column": 20 }, "end": { - "line": 276, + "line": 285, "column": 37 } }, "object": { "type": "Identifier", - "start": 8630, - "end": 8637, + "start": 9253, + "end": 9260, "loc": { "start": { - "line": 276, + "line": 285, "column": 20 }, "end": { - "line": 276, + "line": 285, "column": 27 }, "identifierName": "options" @@ -16550,15 +17350,15 @@ }, "property": { "type": "Identifier", - "start": 8638, - "end": 8647, + "start": 9261, + "end": 9270, "loc": { "start": { - "line": 276, + "line": 285, "column": 28 }, "end": { - "line": 276, + "line": 285, "column": 37 }, "identifierName": "maxLength" @@ -16573,44 +17373,44 @@ }, { "type": "VariableDeclaration", - "start": 8654, - "end": 8701, + "start": 9277, + "end": 9324, "loc": { "start": { - "line": 277, + "line": 286, "column": 4 }, "end": { - "line": 277, + "line": 286, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8658, - "end": 8700, + "start": 9281, + "end": 9323, "loc": { "start": { - "line": 277, + "line": 286, "column": 8 }, "end": { - "line": 277, + "line": 286, "column": 50 } }, "id": { "type": "Identifier", - "start": 8658, - "end": 8670, + "start": 9281, + "end": 9293, "loc": { "start": { - "line": 277, + "line": 286, "column": 8 }, "end": { - "line": 277, + "line": 286, "column": 20 }, "identifierName": "currentInput" @@ -16619,29 +17419,29 @@ }, "init": { "type": "MemberExpression", - "start": 8673, - "end": 8700, + "start": 9296, + "end": 9323, "loc": { "start": { - "line": 277, + "line": 286, "column": 23 }, "end": { - "line": 277, + "line": 286, "column": 50 } }, "object": { "type": "Identifier", - "start": 8673, - "end": 8681, + "start": 9296, + "end": 9304, "loc": { "start": { - "line": 277, + "line": 286, "column": 23 }, "end": { - "line": 277, + "line": 286, "column": 31 }, "identifierName": "inputObj" @@ -16650,29 +17450,29 @@ }, "property": { "type": "MemberExpression", - "start": 8682, - "end": 8699, + "start": 9305, + "end": 9322, "loc": { "start": { - "line": 277, + "line": 286, "column": 32 }, "end": { - "line": 277, + "line": 286, "column": 49 } }, "object": { "type": "Identifier", - "start": 8682, - "end": 8689, + "start": 9305, + "end": 9312, "loc": { "start": { - "line": 277, + "line": 286, "column": 32 }, "end": { - "line": 277, + "line": 286, "column": 39 }, "identifierName": "options" @@ -16681,15 +17481,15 @@ }, "property": { "type": "Identifier", - "start": 8690, - "end": 8699, + "start": 9313, + "end": 9322, "loc": { "start": { - "line": 277, + "line": 286, "column": 40 }, "end": { - "line": 277, + "line": 286, "column": 49 }, "identifierName": "inputName" @@ -16706,44 +17506,44 @@ }, { "type": "VariableDeclaration", - "start": 8707, - "end": 8757, + "start": 9330, + "end": 9380, "loc": { "start": { - "line": 278, + "line": 287, "column": 4 }, "end": { - "line": 278, + "line": 287, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8711, - "end": 8756, + "start": 9334, + "end": 9379, "loc": { "start": { - "line": 278, + "line": 287, "column": 8 }, "end": { - "line": 278, + "line": 287, "column": 53 } }, "id": { "type": "Identifier", - "start": 8711, - "end": 8720, + "start": 9334, + "end": 9343, "loc": { "start": { - "line": 278, + "line": 287, "column": 8 }, "end": { - "line": 278, + "line": 287, "column": 17 }, "identifierName": "condition" @@ -16752,43 +17552,43 @@ }, "init": { "type": "BinaryExpression", - "start": 8723, - "end": 8756, + "start": 9346, + "end": 9379, "loc": { "start": { - "line": 278, + "line": 287, "column": 20 }, "end": { - "line": 278, + "line": 287, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 8723, - "end": 8742, + "start": 9346, + "end": 9365, "loc": { "start": { - "line": 278, + "line": 287, "column": 20 }, "end": { - "line": 278, + "line": 287, "column": 39 } }, "object": { "type": "Identifier", - "start": 8723, - "end": 8735, + "start": 9346, + "end": 9358, "loc": { "start": { - "line": 278, + "line": 287, "column": 20 }, "end": { - "line": 278, + "line": 287, "column": 32 }, "identifierName": "currentInput" @@ -16797,15 +17597,15 @@ }, "property": { "type": "Identifier", - "start": 8736, - "end": 8742, + "start": 9359, + "end": 9365, "loc": { "start": { - "line": 278, + "line": 287, "column": 33 }, "end": { - "line": 278, + "line": 287, "column": 39 }, "identifierName": "length" @@ -16817,15 +17617,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8747, - "end": 8756, + "start": 9370, + "end": 9379, "loc": { "start": { - "line": 278, + "line": 287, "column": 44 }, "end": { - "line": 278, + "line": 287, "column": 53 }, "identifierName": "maxLength" @@ -16839,57 +17639,57 @@ }, { "type": "IfStatement", - "start": 8767, - "end": 8985, + "start": 9388, + "end": 9606, "loc": { "start": { - "line": 281, + "line": 289, "column": 4 }, "end": { - "line": 289, + "line": 297, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8907, - "end": 8949, + "start": 9528, + "end": 9570, "loc": { "start": { - "line": 286, + "line": 294, "column": 6 }, "end": { - "line": 286, + "line": 294, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 8907, - "end": 8926, + "start": 9528, + "end": 9547, "loc": { "start": { - "line": 286, + "line": 294, "column": 6 }, "end": { - "line": 286, + "line": 294, "column": 25 } }, "object": { "type": "Identifier", - "start": 8907, - "end": 8919, + "start": 9528, + "end": 9540, "loc": { "start": { - "line": 286, + "line": 294, "column": 6 }, "end": { - "line": 286, + "line": 294, "column": 18 }, "identifierName": "updatedInput" @@ -16899,15 +17699,15 @@ }, "property": { "type": "Identifier", - "start": 8920, - "end": 8926, + "start": 9541, + "end": 9547, "loc": { "start": { - "line": 286, + "line": 294, "column": 19 }, "end": { - "line": 286, + "line": 294, "column": 25 }, "identifierName": "length" @@ -16920,29 +17720,29 @@ "operator": "<=", "right": { "type": "MemberExpression", - "start": 8930, - "end": 8949, + "start": 9551, + "end": 9570, "loc": { "start": { - "line": 286, + "line": 294, "column": 29 }, "end": { - "line": 286, + "line": 294, "column": 48 } }, "object": { "type": "Identifier", - "start": 8930, - "end": 8942, + "start": 9551, + "end": 9563, "loc": { "start": { - "line": 286, + "line": 294, "column": 29 }, "end": { - "line": 286, + "line": 294, "column": 41 }, "identifierName": "currentInput" @@ -16951,15 +17751,15 @@ }, "property": { "type": "Identifier", - "start": 8943, - "end": 8949, + "start": 9564, + "end": 9570, "loc": { "start": { - "line": 286, + "line": 294, "column": 42 }, "end": { - "line": 286, + "line": 294, "column": 48 }, "identifierName": "length" @@ -16972,15 +17772,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8778, - "end": 8899, + "start": 9399, + "end": 9520, "loc": { "start": { - "line": 282, + "line": 290, "column": 6 }, "end": { - "line": 285, + "line": 293, "column": 9 } } @@ -16989,44 +17789,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8956, - "end": 8985, + "start": 9577, + "end": 9606, "loc": { "start": { - "line": 287, + "line": 295, "column": 5 }, "end": { - "line": 289, + "line": 297, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 8965, - "end": 8978, + "start": 9586, + "end": 9599, "loc": { "start": { - "line": 288, + "line": 296, "column": 6 }, "end": { - "line": 288, + "line": 296, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 8972, - "end": 8977, + "start": 9593, + "end": 9598, "loc": { "start": { - "line": 288, + "line": 296, "column": 13 }, "end": { - "line": 288, + "line": 296, "column": 18 } }, @@ -17040,57 +17840,57 @@ }, { "type": "IfStatement", - "start": 8993, - "end": 9415, + "start": 9614, + "end": 10036, "loc": { "start": { - "line": 291, + "line": 299, "column": 4 }, "end": { - "line": 306, + "line": 314, "column": 5 } }, "test": { "type": "CallExpression", - "start": 8996, - "end": 9023, + "start": 9617, + "end": 9644, "loc": { "start": { - "line": 291, + "line": 299, "column": 7 }, "end": { - "line": 291, + "line": 299, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 8996, - "end": 9012, + "start": 9617, + "end": 9633, "loc": { "start": { - "line": 291, + "line": 299, "column": 7 }, "end": { - "line": 291, + "line": 299, "column": 23 } }, "object": { "type": "Identifier", - "start": 8996, - "end": 9002, + "start": 9617, + "end": 9623, "loc": { "start": { - "line": 291, + "line": 299, "column": 7 }, "end": { - "line": 291, + "line": 299, "column": 13 }, "identifierName": "Number" @@ -17099,15 +17899,15 @@ }, "property": { "type": "Identifier", - "start": 9003, - "end": 9012, + "start": 9624, + "end": 9633, "loc": { "start": { - "line": 291, + "line": 299, "column": 14 }, "end": { - "line": 291, + "line": 299, "column": 23 }, "identifierName": "isInteger" @@ -17119,15 +17919,15 @@ "arguments": [ { "type": "Identifier", - "start": 9013, - "end": 9022, + "start": 9634, + "end": 9643, "loc": { "start": { - "line": 291, + "line": 299, "column": 24 }, "end": { - "line": 291, + "line": 299, "column": 33 }, "identifierName": "maxLength" @@ -17138,58 +17938,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9024, - "end": 9415, + "start": 9645, + "end": 10036, "loc": { "start": { - "line": 291, + "line": 299, "column": 35 }, "end": { - "line": 306, + "line": 314, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9033, - "end": 9121, + "start": 9654, + "end": 9742, "loc": { "start": { - "line": 292, + "line": 300, "column": 6 }, "end": { - "line": 294, + "line": 302, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 9036, - "end": 9049, + "start": 9657, + "end": 9670, "loc": { "start": { - "line": 292, + "line": 300, "column": 9 }, "end": { - "line": 292, + "line": 300, "column": 22 } }, "object": { "type": "Identifier", - "start": 9036, - "end": 9043, + "start": 9657, + "end": 9664, "loc": { "start": { - "line": 292, + "line": 300, "column": 9 }, "end": { - "line": 292, + "line": 300, "column": 16 }, "identifierName": "options" @@ -17198,15 +17998,15 @@ }, "property": { "type": "Identifier", - "start": 9044, - "end": 9049, + "start": 9665, + "end": 9670, "loc": { "start": { - "line": 292, + "line": 300, "column": 17 }, "end": { - "line": 292, + "line": 300, "column": 22 }, "identifierName": "debug" @@ -17217,72 +18017,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9050, - "end": 9121, + "start": 9671, + "end": 9742, "loc": { "start": { - "line": 292, + "line": 300, "column": 23 }, "end": { - "line": 294, + "line": 302, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9061, - "end": 9112, + "start": 9682, + "end": 9733, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 9061, - "end": 9111, + "start": 9682, + "end": 9732, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 9061, - "end": 9072, + "start": 9682, + "end": 9693, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 19 } }, "object": { "type": "Identifier", - "start": 9061, - "end": 9068, + "start": 9682, + "end": 9689, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 15 }, "identifierName": "console" @@ -17291,15 +18091,15 @@ }, "property": { "type": "Identifier", - "start": 9069, - "end": 9072, + "start": 9690, + "end": 9693, "loc": { "start": { - "line": 293, + "line": 301, "column": 16 }, "end": { - "line": 293, + "line": 301, "column": 19 }, "identifierName": "log" @@ -17311,15 +18111,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9073, - "end": 9099, + "start": 9694, + "end": 9720, "loc": { "start": { - "line": 293, + "line": 301, "column": 20 }, "end": { - "line": 293, + "line": 301, "column": 46 } }, @@ -17331,15 +18131,15 @@ }, { "type": "Identifier", - "start": 9101, - "end": 9110, + "start": 9722, + "end": 9731, "loc": { "start": { - "line": 293, + "line": 301, "column": 48 }, "end": { - "line": 293, + "line": 301, "column": 57 }, "identifierName": "condition" @@ -17356,29 +18156,29 @@ }, { "type": "IfStatement", - "start": 9131, - "end": 9408, + "start": 9752, + "end": 10029, "loc": { "start": { - "line": 296, + "line": 304, "column": 6 }, "end": { - "line": 305, + "line": 313, "column": 7 } }, "test": { "type": "Identifier", - "start": 9134, - "end": 9143, + "start": 9755, + "end": 9764, "loc": { "start": { - "line": 296, + "line": 304, "column": 9 }, "end": { - "line": 296, + "line": 304, "column": 18 }, "identifierName": "condition" @@ -17387,73 +18187,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 9144, - "end": 9329, + "start": 9765, + "end": 9950, "loc": { "start": { - "line": 296, + "line": 304, "column": 19 }, "end": { - "line": 302, + "line": 310, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9269, - "end": 9298, + "start": 9890, + "end": 9919, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 9269, - "end": 9297, + "start": 9890, + "end": 9918, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9269, - "end": 9290, + "start": 9890, + "end": 9911, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9269, - "end": 9273, + "start": 9890, + "end": 9894, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 12 } }, @@ -17461,15 +18261,15 @@ }, "property": { "type": "Identifier", - "start": 9274, - "end": 9290, + "start": 9895, + "end": 9911, "loc": { "start": { - "line": 300, + "line": 308, "column": 13 }, "end": { - "line": 300, + "line": 308, "column": 29 }, "identifierName": "maxLengthReached" @@ -17481,15 +18281,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9293, - "end": 9297, + "start": 9914, + "end": 9918, "loc": { "start": { - "line": 300, + "line": 308, "column": 32 }, "end": { - "line": 300, + "line": 308, "column": 36 } }, @@ -17501,15 +18301,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 9155, - "end": 9259, + "start": 9776, + "end": 9880, "loc": { "start": { - "line": 297, + "line": 305, "column": 8 }, "end": { - "line": 299, + "line": 307, "column": 11 } } @@ -17518,29 +18318,29 @@ }, { "type": "ReturnStatement", - "start": 9308, - "end": 9320, + "start": 9929, + "end": 9941, "loc": { "start": { - "line": 301, + "line": 309, "column": 8 }, "end": { - "line": 301, + "line": 309, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 9315, - "end": 9319, + "start": 9936, + "end": 9940, "loc": { "start": { - "line": 301, + "line": 309, "column": 15 }, "end": { - "line": 301, + "line": 309, "column": 19 } }, @@ -17552,88 +18352,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 9335, - "end": 9408, + "start": 9956, + "end": 10029, "loc": { "start": { - "line": 302, + "line": 310, "column": 13 }, "end": { - "line": 305, + "line": 313, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9346, - "end": 9376, + "start": 9967, + "end": 9997, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 9346, - "end": 9375, + "start": 9967, + "end": 9996, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9346, - "end": 9367, + "start": 9967, + "end": 9988, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9346, - "end": 9350, + "start": 9967, + "end": 9971, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9351, - "end": 9367, + "start": 9972, + "end": 9988, "loc": { "start": { - "line": 303, + "line": 311, "column": 13 }, "end": { - "line": 303, + "line": 311, "column": 29 }, "identifierName": "maxLengthReached" @@ -17644,15 +18444,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9370, - "end": 9375, + "start": 9991, + "end": 9996, "loc": { "start": { - "line": 303, + "line": 311, "column": 32 }, "end": { - "line": 303, + "line": 311, "column": 37 } }, @@ -17662,29 +18462,29 @@ }, { "type": "ReturnStatement", - "start": 9386, - "end": 9399, + "start": 10007, + "end": 10020, "loc": { "start": { - "line": 304, + "line": 312, "column": 8 }, "end": { - "line": 304, + "line": 312, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 9393, - "end": 9398, + "start": 10014, + "end": 10019, "loc": { "start": { - "line": 304, + "line": 312, "column": 15 }, "end": { - "line": 304, + "line": 312, "column": 20 } }, @@ -17702,43 +18502,43 @@ }, { "type": "IfStatement", - "start": 9423, - "end": 9812, + "start": 10044, + "end": 10433, "loc": { "start": { - "line": 308, + "line": 316, "column": 4 }, "end": { - "line": 322, + "line": 330, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9426, - "end": 9455, + "start": 10047, + "end": 10076, "loc": { "start": { - "line": 308, + "line": 316, "column": 7 }, "end": { - "line": 308, + "line": 316, "column": 36 } }, "left": { "type": "UnaryExpression", - "start": 9426, - "end": 9442, + "start": 10047, + "end": 10063, "loc": { "start": { - "line": 308, + "line": 316, "column": 7 }, "end": { - "line": 308, + "line": 316, "column": 23 } }, @@ -17746,15 +18546,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 9433, - "end": 9442, + "start": 10054, + "end": 10063, "loc": { "start": { - "line": 308, + "line": 316, "column": 14 }, "end": { - "line": 308, + "line": 316, "column": 23 }, "identifierName": "maxLength" @@ -17768,15 +18568,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9447, - "end": 9455, + "start": 10068, + "end": 10076, "loc": { "start": { - "line": 308, + "line": 316, "column": 28 }, "end": { - "line": 308, + "line": 316, "column": 36 } }, @@ -17789,59 +18589,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 9456, - "end": 9812, + "start": 10077, + "end": 10433, "loc": { "start": { - "line": 308, + "line": 316, "column": 37 }, "end": { - "line": 322, + "line": 330, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 9465, - "end": 9534, + "start": 10086, + "end": 10155, "loc": { "start": { - "line": 309, + "line": 317, "column": 6 }, "end": { - "line": 309, + "line": 317, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9469, - "end": 9533, + "start": 10090, + "end": 10154, "loc": { "start": { - "line": 309, + "line": 317, "column": 10 }, "end": { - "line": 309, + "line": 317, "column": 74 } }, "id": { "type": "Identifier", - "start": 9469, - "end": 9478, + "start": 10090, + "end": 10099, "loc": { "start": { - "line": 309, + "line": 317, "column": 10 }, "end": { - "line": 309, + "line": 317, "column": 19 }, "identifierName": "condition" @@ -17850,43 +18650,43 @@ }, "init": { "type": "BinaryExpression", - "start": 9481, - "end": 9533, + "start": 10102, + "end": 10154, "loc": { "start": { - "line": 309, + "line": 317, "column": 22 }, "end": { - "line": 309, + "line": 317, "column": 74 } }, "left": { "type": "MemberExpression", - "start": 9481, - "end": 9500, + "start": 10102, + "end": 10121, "loc": { "start": { - "line": 309, + "line": 317, "column": 22 }, "end": { - "line": 309, + "line": 317, "column": 41 } }, "object": { "type": "Identifier", - "start": 9481, - "end": 9493, + "start": 10102, + "end": 10114, "loc": { "start": { - "line": 309, + "line": 317, "column": 22 }, "end": { - "line": 309, + "line": 317, "column": 34 }, "identifierName": "currentInput" @@ -17895,15 +18695,15 @@ }, "property": { "type": "Identifier", - "start": 9494, - "end": 9500, + "start": 10115, + "end": 10121, "loc": { "start": { - "line": 309, + "line": 317, "column": 35 }, "end": { - "line": 309, + "line": 317, "column": 41 }, "identifierName": "length" @@ -17915,29 +18715,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 9505, - "end": 9533, + "start": 10126, + "end": 10154, "loc": { "start": { - "line": 309, + "line": 317, "column": 46 }, "end": { - "line": 309, + "line": 317, "column": 74 } }, "object": { "type": "Identifier", - "start": 9505, - "end": 9514, + "start": 10126, + "end": 10135, "loc": { "start": { - "line": 309, + "line": 317, "column": 46 }, "end": { - "line": 309, + "line": 317, "column": 55 }, "identifierName": "maxLength" @@ -17946,29 +18746,29 @@ }, "property": { "type": "MemberExpression", - "start": 9515, - "end": 9532, + "start": 10136, + "end": 10153, "loc": { "start": { - "line": 309, + "line": 317, "column": 56 }, "end": { - "line": 309, + "line": 317, "column": 73 } }, "object": { "type": "Identifier", - "start": 9515, - "end": 9522, + "start": 10136, + "end": 10143, "loc": { "start": { - "line": 309, + "line": 317, "column": 56 }, "end": { - "line": 309, + "line": 317, "column": 63 }, "identifierName": "options" @@ -17977,15 +18777,15 @@ }, "property": { "type": "Identifier", - "start": 9523, - "end": 9532, + "start": 10144, + "end": 10153, "loc": { "start": { - "line": 309, + "line": 317, "column": 64 }, "end": { - "line": 309, + "line": 317, "column": 73 }, "identifierName": "inputName" @@ -18003,43 +18803,43 @@ }, { "type": "IfStatement", - "start": 9544, - "end": 9632, + "start": 10165, + "end": 10253, "loc": { "start": { - "line": 311, + "line": 319, "column": 6 }, "end": { - "line": 313, + "line": 321, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 9547, - "end": 9560, + "start": 10168, + "end": 10181, "loc": { "start": { - "line": 311, + "line": 319, "column": 9 }, "end": { - "line": 311, + "line": 319, "column": 22 } }, "object": { "type": "Identifier", - "start": 9547, - "end": 9554, + "start": 10168, + "end": 10175, "loc": { "start": { - "line": 311, + "line": 319, "column": 9 }, "end": { - "line": 311, + "line": 319, "column": 16 }, "identifierName": "options" @@ -18048,15 +18848,15 @@ }, "property": { "type": "Identifier", - "start": 9555, - "end": 9560, + "start": 10176, + "end": 10181, "loc": { "start": { - "line": 311, + "line": 319, "column": 17 }, "end": { - "line": 311, + "line": 319, "column": 22 }, "identifierName": "debug" @@ -18067,72 +18867,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9561, - "end": 9632, + "start": 10182, + "end": 10253, "loc": { "start": { - "line": 311, + "line": 319, "column": 23 }, "end": { - "line": 313, + "line": 321, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9572, - "end": 9623, + "start": 10193, + "end": 10244, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 9572, - "end": 9622, + "start": 10193, + "end": 10243, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 9572, - "end": 9583, + "start": 10193, + "end": 10204, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 19 } }, "object": { "type": "Identifier", - "start": 9572, - "end": 9579, + "start": 10193, + "end": 10200, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 15 }, "identifierName": "console" @@ -18141,15 +18941,15 @@ }, "property": { "type": "Identifier", - "start": 9580, - "end": 9583, + "start": 10201, + "end": 10204, "loc": { "start": { - "line": 312, + "line": 320, "column": 16 }, "end": { - "line": 312, + "line": 320, "column": 19 }, "identifierName": "log" @@ -18161,15 +18961,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9584, - "end": 9610, + "start": 10205, + "end": 10231, "loc": { "start": { - "line": 312, + "line": 320, "column": 20 }, "end": { - "line": 312, + "line": 320, "column": 46 } }, @@ -18181,15 +18981,15 @@ }, { "type": "Identifier", - "start": 9612, - "end": 9621, + "start": 10233, + "end": 10242, "loc": { "start": { - "line": 312, + "line": 320, "column": 48 }, "end": { - "line": 312, + "line": 320, "column": 57 }, "identifierName": "condition" @@ -18206,29 +19006,29 @@ }, { "type": "IfStatement", - "start": 9642, - "end": 9805, + "start": 10263, + "end": 10426, "loc": { "start": { - "line": 315, + "line": 323, "column": 6 }, "end": { - "line": 321, + "line": 329, "column": 7 } }, "test": { "type": "Identifier", - "start": 9645, - "end": 9654, + "start": 10266, + "end": 10275, "loc": { "start": { - "line": 315, + "line": 323, "column": 9 }, "end": { - "line": 315, + "line": 323, "column": 18 }, "identifierName": "condition" @@ -18237,88 +19037,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 9655, - "end": 9726, + "start": 10276, + "end": 10347, "loc": { "start": { - "line": 315, + "line": 323, "column": 19 }, "end": { - "line": 318, + "line": 326, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9666, - "end": 9695, + "start": 10287, + "end": 10316, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 9666, - "end": 9694, + "start": 10287, + "end": 10315, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9666, - "end": 9687, + "start": 10287, + "end": 10308, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9666, - "end": 9670, + "start": 10287, + "end": 10291, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9671, - "end": 9687, + "start": 10292, + "end": 10308, "loc": { "start": { - "line": 316, + "line": 324, "column": 13 }, "end": { - "line": 316, + "line": 324, "column": 29 }, "identifierName": "maxLengthReached" @@ -18329,15 +19129,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9690, - "end": 9694, + "start": 10311, + "end": 10315, "loc": { "start": { - "line": 316, + "line": 324, "column": 32 }, "end": { - "line": 316, + "line": 324, "column": 36 } }, @@ -18347,29 +19147,29 @@ }, { "type": "ReturnStatement", - "start": 9705, - "end": 9717, + "start": 10326, + "end": 10338, "loc": { "start": { - "line": 317, + "line": 325, "column": 8 }, "end": { - "line": 317, + "line": 325, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 9712, - "end": 9716, + "start": 10333, + "end": 10337, "loc": { "start": { - "line": 317, + "line": 325, "column": 15 }, "end": { - "line": 317, + "line": 325, "column": 19 } }, @@ -18381,88 +19181,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 9732, - "end": 9805, + "start": 10353, + "end": 10426, "loc": { "start": { - "line": 318, + "line": 326, "column": 13 }, "end": { - "line": 321, + "line": 329, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9743, - "end": 9773, + "start": 10364, + "end": 10394, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 9743, - "end": 9772, + "start": 10364, + "end": 10393, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9743, - "end": 9764, + "start": 10364, + "end": 10385, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9743, - "end": 9747, + "start": 10364, + "end": 10368, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9748, - "end": 9764, + "start": 10369, + "end": 10385, "loc": { "start": { - "line": 319, + "line": 327, "column": 13 }, "end": { - "line": 319, + "line": 327, "column": 29 }, "identifierName": "maxLengthReached" @@ -18473,15 +19273,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9767, - "end": 9772, + "start": 10388, + "end": 10393, "loc": { "start": { - "line": 319, + "line": 327, "column": 32 }, "end": { - "line": 319, + "line": 327, "column": 37 } }, @@ -18491,29 +19291,29 @@ }, { "type": "ReturnStatement", - "start": 9783, - "end": 9796, + "start": 10404, + "end": 10417, "loc": { "start": { - "line": 320, + "line": 328, "column": 8 }, "end": { - "line": 320, + "line": 328, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 9790, - "end": 9795, + "start": 10411, + "end": 10416, "loc": { "start": { - "line": 320, + "line": 328, "column": 15 }, "end": { - "line": 320, + "line": 328, "column": 20 } }, @@ -18537,15 +19337,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 8324, - "end": 8555, + "start": 8947, + "end": 9178, "loc": { "start": { - "line": 268, + "line": 277, "column": 2 }, "end": { - "line": 274, + "line": 283, "column": 5 } } @@ -18555,15 +19355,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9823, - "end": 9882, + "start": 10444, + "end": 10503, "loc": { "start": { - "line": 325, + "line": 333, "column": 2 }, "end": { - "line": 327, + "line": 335, "column": 5 } } @@ -18572,15 +19372,15 @@ }, { "type": "ClassMethod", - "start": 9886, - "end": 9956, + "start": 10507, + "end": 10577, "loc": { "start": { - "line": 328, + "line": 336, "column": 2 }, "end": { - "line": 330, + "line": 338, "column": 3 } }, @@ -18588,15 +19388,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9886, - "end": 9904, + "start": 10507, + "end": 10525, "loc": { "start": { - "line": 328, + "line": 336, "column": 2 }, "end": { - "line": 328, + "line": 336, "column": 20 }, "identifierName": "isMaxLengthReached" @@ -18612,58 +19412,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9906, - "end": 9956, + "start": 10527, + "end": 10577, "loc": { "start": { - "line": 328, + "line": 336, "column": 22 }, "end": { - "line": 330, + "line": 338, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 9913, - "end": 9951, + "start": 10534, + "end": 10572, "loc": { "start": { - "line": 329, + "line": 337, "column": 4 }, "end": { - "line": 329, + "line": 337, "column": 42 } }, "argument": { "type": "CallExpression", - "start": 9920, - "end": 9950, + "start": 10541, + "end": 10571, "loc": { "start": { - "line": 329, + "line": 337, "column": 11 }, "end": { - "line": 329, + "line": 337, "column": 41 } }, "callee": { "type": "Identifier", - "start": 9920, - "end": 9927, + "start": 10541, + "end": 10548, "loc": { "start": { - "line": 329, + "line": 337, "column": 11 }, "end": { - "line": 329, + "line": 337, "column": 18 }, "identifierName": "Boolean" @@ -18673,44 +19473,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9928, - "end": 9949, + "start": 10549, + "end": 10570, "loc": { "start": { - "line": 329, + "line": 337, "column": 19 }, "end": { - "line": 329, + "line": 337, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9928, - "end": 9932, + "start": 10549, + "end": 10553, "loc": { "start": { - "line": 329, + "line": 337, "column": 19 }, "end": { - "line": 329, + "line": 337, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9933, - "end": 9949, + "start": 10554, + "end": 10570, "loc": { "start": { - "line": 329, + "line": 337, "column": 24 }, "end": { - "line": 329, + "line": 337, "column": 40 }, "identifierName": "maxLengthReached" @@ -18730,15 +19530,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9823, - "end": 9882, + "start": 10444, + "end": 10503, "loc": { "start": { - "line": 325, + "line": 333, "column": 2 }, "end": { - "line": 327, + "line": 335, "column": 5 } } @@ -18748,15 +19548,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9962, - "end": 10084, + "start": 10583, + "end": 10705, "loc": { "start": { - "line": 332, + "line": 340, "column": 2 }, "end": { - "line": 336, + "line": 344, "column": 5 } } @@ -18765,15 +19565,15 @@ }, { "type": "ClassMethod", - "start": 10088, - "end": 10244, + "start": 10709, + "end": 10865, "loc": { "start": { - "line": 337, + "line": 345, "column": 2 }, "end": { - "line": 339, + "line": 347, "column": 3 } }, @@ -18781,15 +19581,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10088, - "end": 10097, + "start": 10709, + "end": 10718, "loc": { "start": { - "line": 337, + "line": 345, "column": 2 }, "end": { - "line": 337, + "line": 345, "column": 11 }, "identifierName": "camelCase" @@ -18805,15 +19605,15 @@ "params": [ { "type": "Identifier", - "start": 10098, - "end": 10104, + "start": 10719, + "end": 10725, "loc": { "start": { - "line": 337, + "line": 345, "column": 12 }, "end": { - "line": 337, + "line": 345, "column": 18 }, "identifierName": "string" @@ -18823,156 +19623,156 @@ ], "body": { "type": "BlockStatement", - "start": 10105, - "end": 10244, + "start": 10726, + "end": 10865, "loc": { "start": { - "line": 337, + "line": 345, "column": 19 }, "end": { - "line": 339, + "line": 347, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 10112, - "end": 10239, + "start": 10733, + "end": 10860, "loc": { "start": { - "line": 338, + "line": 346, "column": 4 }, "end": { - "line": 338, + "line": 346, "column": 131 } }, "argument": { "type": "CallExpression", - "start": 10119, - "end": 10238, + "start": 10740, + "end": 10859, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 130 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10172, + "start": 10740, + "end": 10793, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 64 } }, "object": { "type": "CallExpression", - "start": 10119, - "end": 10165, + "start": 10740, + "end": 10786, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10152, + "start": 10740, + "end": 10773, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 44 } }, "object": { "type": "CallExpression", - "start": 10119, - "end": 10146, + "start": 10740, + "end": 10767, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10144, + "start": 10740, + "end": 10765, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 36 } }, "object": { "type": "CallExpression", - "start": 10119, - "end": 10139, + "start": 10740, + "end": 10760, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10137, + "start": 10740, + "end": 10758, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 29 } }, "object": { "type": "Identifier", - "start": 10119, - "end": 10125, + "start": 10740, + "end": 10746, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 17 }, "identifierName": "string" @@ -18981,15 +19781,15 @@ }, "property": { "type": "Identifier", - "start": 10126, - "end": 10137, + "start": 10747, + "end": 10758, "loc": { "start": { - "line": 338, + "line": 346, "column": 18 }, "end": { - "line": 338, + "line": 346, "column": 29 }, "identifierName": "toLowerCase" @@ -19002,15 +19802,15 @@ }, "property": { "type": "Identifier", - "start": 10140, - "end": 10144, + "start": 10761, + "end": 10765, "loc": { "start": { - "line": 338, + "line": 346, "column": 32 }, "end": { - "line": 338, + "line": 346, "column": 36 }, "identifierName": "trim" @@ -19023,15 +19823,15 @@ }, "property": { "type": "Identifier", - "start": 10147, - "end": 10152, + "start": 10768, + "end": 10773, "loc": { "start": { - "line": 338, + "line": 346, "column": 39 }, "end": { - "line": 338, + "line": 346, "column": 44 }, "identifierName": "split" @@ -19043,15 +19843,15 @@ "arguments": [ { "type": "RegExpLiteral", - "start": 10153, - "end": 10164, + "start": 10774, + "end": 10785, "loc": { "start": { - "line": 338, + "line": 346, "column": 45 }, "end": { - "line": 338, + "line": 346, "column": 56 } }, @@ -19065,15 +19865,15 @@ }, "property": { "type": "Identifier", - "start": 10166, - "end": 10172, + "start": 10787, + "end": 10793, "loc": { "start": { - "line": 338, + "line": 346, "column": 58 }, "end": { - "line": 338, + "line": 346, "column": 64 }, "identifierName": "reduce" @@ -19085,15 +19885,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10173, - "end": 10237, + "start": 10794, + "end": 10858, "loc": { "start": { - "line": 338, + "line": 346, "column": 65 }, "end": { - "line": 338, + "line": 346, "column": 129 } }, @@ -19104,15 +19904,15 @@ "params": [ { "type": "Identifier", - "start": 10174, - "end": 10180, + "start": 10795, + "end": 10801, "loc": { "start": { - "line": 338, + "line": 346, "column": 66 }, "end": { - "line": 338, + "line": 346, "column": 72 }, "identifierName": "string" @@ -19121,15 +19921,15 @@ }, { "type": "Identifier", - "start": 10182, - "end": 10186, + "start": 10803, + "end": 10807, "loc": { "start": { - "line": 338, + "line": 346, "column": 74 }, "end": { - "line": 338, + "line": 346, "column": 78 }, "identifierName": "word" @@ -19139,43 +19939,43 @@ ], "body": { "type": "BinaryExpression", - "start": 10191, - "end": 10237, + "start": 10812, + "end": 10858, "loc": { "start": { - "line": 338, + "line": 346, "column": 83 }, "end": { - "line": 338, + "line": 346, "column": 129 } }, "left": { "type": "BinaryExpression", - "start": 10191, - "end": 10221, + "start": 10812, + "end": 10842, "loc": { "start": { - "line": 338, + "line": 346, "column": 83 }, "end": { - "line": 338, + "line": 346, "column": 113 } }, "left": { "type": "Identifier", - "start": 10191, - "end": 10197, + "start": 10812, + "end": 10818, "loc": { "start": { - "line": 338, + "line": 346, "column": 83 }, "end": { - "line": 338, + "line": 346, "column": 89 }, "identifierName": "string" @@ -19185,57 +19985,57 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10200, - "end": 10221, + "start": 10821, + "end": 10842, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 113 } }, "callee": { "type": "MemberExpression", - "start": 10200, - "end": 10219, + "start": 10821, + "end": 10840, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 111 } }, "object": { "type": "MemberExpression", - "start": 10200, - "end": 10207, + "start": 10821, + "end": 10828, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 99 } }, "object": { "type": "Identifier", - "start": 10200, - "end": 10204, + "start": 10821, + "end": 10825, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 96 }, "identifierName": "word" @@ -19244,15 +20044,15 @@ }, "property": { "type": "NumericLiteral", - "start": 10205, - "end": 10206, + "start": 10826, + "end": 10827, "loc": { "start": { - "line": 338, + "line": 346, "column": 97 }, "end": { - "line": 338, + "line": 346, "column": 98 } }, @@ -19266,15 +20066,15 @@ }, "property": { "type": "Identifier", - "start": 10208, - "end": 10219, + "start": 10829, + "end": 10840, "loc": { "start": { - "line": 338, + "line": 346, "column": 100 }, "end": { - "line": 338, + "line": 346, "column": 111 }, "identifierName": "toUpperCase" @@ -19289,43 +20089,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10224, - "end": 10237, + "start": 10845, + "end": 10858, "loc": { "start": { - "line": 338, + "line": 346, "column": 116 }, "end": { - "line": 338, + "line": 346, "column": 129 } }, "callee": { "type": "MemberExpression", - "start": 10224, - "end": 10234, + "start": 10845, + "end": 10855, "loc": { "start": { - "line": 338, + "line": 346, "column": 116 }, "end": { - "line": 338, + "line": 346, "column": 126 } }, "object": { "type": "Identifier", - "start": 10224, - "end": 10228, + "start": 10845, + "end": 10849, "loc": { "start": { - "line": 338, + "line": 346, "column": 116 }, "end": { - "line": 338, + "line": 346, "column": 120 }, "identifierName": "word" @@ -19334,15 +20134,15 @@ }, "property": { "type": "Identifier", - "start": 10229, - "end": 10234, + "start": 10850, + "end": 10855, "loc": { "start": { - "line": 338, + "line": 346, "column": 121 }, "end": { - "line": 338, + "line": 346, "column": 126 }, "identifierName": "slice" @@ -19354,15 +20154,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 10235, - "end": 10236, + "start": 10856, + "end": 10857, "loc": { "start": { - "line": 338, + "line": 346, "column": 127 }, "end": { - "line": 338, + "line": 346, "column": 128 } }, @@ -19386,15 +20186,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9962, - "end": 10084, + "start": 10583, + "end": 10705, "loc": { "start": { - "line": 332, + "line": 340, "column": 2 }, "end": { - "line": 336, + "line": 344, "column": 5 } } @@ -19403,15 +20203,15 @@ }, { "type": "ClassMethod", - "start": 10435, - "end": 10525, + "start": 11056, + "end": 11146, "loc": { "start": { - "line": 347, + "line": 355, "column": 2 }, "end": { - "line": 349, + "line": 357, "column": 3 } }, @@ -19419,15 +20219,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10435, - "end": 10447, + "start": 11056, + "end": 11068, "loc": { "start": { - "line": 347, + "line": 355, "column": 2 }, "end": { - "line": 347, + "line": 355, "column": 14 }, "identifierName": "countInArray" @@ -19443,15 +20243,15 @@ "params": [ { "type": "Identifier", - "start": 10448, - "end": 10453, + "start": 11069, + "end": 11074, "loc": { "start": { - "line": 347, + "line": 355, "column": 15 }, "end": { - "line": 347, + "line": 355, "column": 20 }, "identifierName": "array" @@ -19460,15 +20260,15 @@ }, { "type": "Identifier", - "start": 10455, - "end": 10460, + "start": 11076, + "end": 11081, "loc": { "start": { - "line": 347, + "line": 355, "column": 22 }, "end": { - "line": 347, + "line": 355, "column": 27 }, "identifierName": "value" @@ -19478,72 +20278,72 @@ ], "body": { "type": "BlockStatement", - "start": 10461, - "end": 10525, + "start": 11082, + "end": 11146, "loc": { "start": { - "line": 347, + "line": 355, "column": 28 }, "end": { - "line": 349, + "line": 357, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 10468, - "end": 10520, + "start": 11089, + "end": 11141, "loc": { "start": { - "line": 348, + "line": 356, "column": 4 }, "end": { - "line": 348, + "line": 356, "column": 56 } }, "argument": { "type": "CallExpression", - "start": 10475, - "end": 10519, + "start": 11096, + "end": 11140, "loc": { "start": { - "line": 348, + "line": 356, "column": 11 }, "end": { - "line": 348, + "line": 356, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10475, - "end": 10487, + "start": 11096, + "end": 11108, "loc": { "start": { - "line": 348, + "line": 356, "column": 11 }, "end": { - "line": 348, + "line": 356, "column": 23 } }, "object": { "type": "Identifier", - "start": 10475, - "end": 10480, + "start": 11096, + "end": 11101, "loc": { "start": { - "line": 348, + "line": 356, "column": 11 }, "end": { - "line": 348, + "line": 356, "column": 16 }, "identifierName": "array" @@ -19552,15 +20352,15 @@ }, "property": { "type": "Identifier", - "start": 10481, - "end": 10487, + "start": 11102, + "end": 11108, "loc": { "start": { - "line": 348, + "line": 356, "column": 17 }, "end": { - "line": 348, + "line": 356, "column": 23 }, "identifierName": "reduce" @@ -19572,15 +20372,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10488, - "end": 10515, + "start": 11109, + "end": 11136, "loc": { "start": { - "line": 348, + "line": 356, "column": 24 }, "end": { - "line": 348, + "line": 356, "column": 51 } }, @@ -19591,15 +20391,15 @@ "params": [ { "type": "Identifier", - "start": 10489, - "end": 10490, + "start": 11110, + "end": 11111, "loc": { "start": { - "line": 348, + "line": 356, "column": 25 }, "end": { - "line": 348, + "line": 356, "column": 26 }, "identifierName": "n" @@ -19608,15 +20408,15 @@ }, { "type": "Identifier", - "start": 10492, - "end": 10493, + "start": 11113, + "end": 11114, "loc": { "start": { - "line": 348, + "line": 356, "column": 28 }, "end": { - "line": 348, + "line": 356, "column": 29 }, "identifierName": "x" @@ -19626,29 +20426,29 @@ ], "body": { "type": "BinaryExpression", - "start": 10498, - "end": 10515, + "start": 11119, + "end": 11136, "loc": { "start": { - "line": 348, + "line": 356, "column": 34 }, "end": { - "line": 348, + "line": 356, "column": 51 } }, "left": { "type": "Identifier", - "start": 10498, - "end": 10499, + "start": 11119, + "end": 11120, "loc": { "start": { - "line": 348, + "line": 356, "column": 34 }, "end": { - "line": 348, + "line": 356, "column": 35 }, "identifierName": "n" @@ -19658,29 +20458,29 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 10503, - "end": 10514, + "start": 11124, + "end": 11135, "loc": { "start": { - "line": 348, + "line": 356, "column": 39 }, "end": { - "line": 348, + "line": 356, "column": 50 } }, "left": { "type": "Identifier", - "start": 10503, - "end": 10504, + "start": 11124, + "end": 11125, "loc": { "start": { - "line": 348, + "line": 356, "column": 39 }, "end": { - "line": 348, + "line": 356, "column": 40 }, "identifierName": "x" @@ -19690,15 +20490,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 10509, - "end": 10514, + "start": 11130, + "end": 11135, "loc": { "start": { - "line": 348, + "line": 356, "column": 45 }, "end": { - "line": 348, + "line": 356, "column": 50 }, "identifierName": "value" @@ -19707,22 +20507,22 @@ }, "extra": { "parenthesized": true, - "parenStart": 10502 + "parenStart": 11123 } } } }, { "type": "NumericLiteral", - "start": 10517, - "end": 10518, + "start": 11138, + "end": 11139, "loc": { "start": { - "line": 348, + "line": 356, "column": 53 }, "end": { - "line": 348, + "line": 356, "column": 54 } }, @@ -19742,15 +20542,15 @@ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 10251, - "end": 10431, + "start": 10872, + "end": 11052, "loc": { "start": { - "line": 341, + "line": 349, "column": 2 }, "end": { - "line": 346, + "line": 354, "column": 5 } } @@ -19765,29 +20565,29 @@ }, { "type": "Identifier", - "start": 10534, - "end": 10559, + "start": 11155, + "end": 11180, "loc": { "start": { - "line": 353, + "line": 361, "column": 0 }, "end": { - "line": 353, + "line": 361, "column": 25 } }, "declaration": { "type": "Identifier", - "start": 10549, - "end": 10558, + "start": 11170, + "end": 11179, "loc": { "start": { - "line": 353, + "line": 361, "column": 15 }, "end": { - "line": 353, + "line": 361, "column": 24 }, "identifierName": "Utilities" @@ -19800,29 +20600,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 10534, - "end": 10559, + "start": 11155, + "end": 11180, "loc": { "start": { - "line": 353, + "line": 361, "column": 0 }, "end": { - "line": 353, + "line": 361, "column": 25 } }, "declaration": { "type": "ClassDeclaration", "start": 30, - "end": 10530, + "end": 11151, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 351, + "line": 359, "column": 1 } }, @@ -19848,14 +20648,14 @@ "body": { "type": "ClassBody", "start": 46, - "end": 10530, + "end": 11151, "loc": { "start": { "line": 4, "column": 16 }, "end": { - "line": 351, + "line": 359, "column": 1 } }, @@ -26799,16 +27599,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", + "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", "start": 3560, - "end": 3877, + "end": 3954, "loc": { "start": { "line": 127, "column": 2 }, "end": { - "line": 134, + "line": 135, "column": 5 } } @@ -26817,15 +27617,15 @@ }, { "type": "ClassMethod", - "start": 3881, - "end": 5467, + "start": 3958, + "end": 5678, "loc": { "start": { - "line": 135, + "line": 136, "column": 2 }, "end": { - "line": 175, + "line": 177, "column": 3 } }, @@ -26833,15 +27633,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3881, - "end": 3896, + "start": 3958, + "end": 3973, "loc": { "start": { - "line": 135, + "line": 136, "column": 2 }, "end": { - "line": 135, + "line": 136, "column": 17 }, "identifierName": "getUpdatedInput" @@ -26857,15 +27657,15 @@ "params": [ { "type": "Identifier", - "start": 3897, - "end": 3903, + "start": 3974, + "end": 3980, "loc": { "start": { - "line": 135, + "line": 136, "column": 18 }, "end": { - "line": 135, + "line": 136, "column": 24 }, "identifierName": "button" @@ -26874,15 +27674,15 @@ }, { "type": "Identifier", - "start": 3905, - "end": 3910, + "start": 3982, + "end": 3987, "loc": { "start": { - "line": 135, + "line": 136, "column": 26 }, "end": { - "line": 135, + "line": 136, "column": 31 }, "identifierName": "input" @@ -26891,15 +27691,15 @@ }, { "type": "Identifier", - "start": 3912, - "end": 3919, + "start": 3989, + "end": 3996, "loc": { "start": { - "line": 135, + "line": 136, "column": 33 }, "end": { - "line": 135, + "line": 136, "column": 40 }, "identifierName": "options" @@ -26908,77 +27708,94 @@ }, { "type": "Identifier", - "start": 3921, - "end": 3929, + "start": 3998, + "end": 4006, "loc": { "start": { - "line": 135, + "line": 136, "column": 42 }, "end": { - "line": 135, + "line": 136, "column": 50 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4008, + "end": 4017, + "loc": { + "start": { + "line": 136, + "column": 52 + }, + "end": { + "line": 136, + "column": 61 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ], "body": { "type": "BlockStatement", - "start": 3930, - "end": 5467, + "start": 4018, + "end": 5678, "loc": { "start": { - "line": 135, - "column": 51 + "line": 136, + "column": 62 }, "end": { - "line": 175, + "line": 177, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 3943, - "end": 3962, + "start": 4031, + "end": 4050, "loc": { "start": { - "line": 137, + "line": 138, "column": 4 }, "end": { - "line": 137, + "line": 138, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3947, - "end": 3961, + "start": 4035, + "end": 4049, "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 22 } }, "id": { "type": "Identifier", - "start": 3947, - "end": 3953, + "start": 4035, + "end": 4041, "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 14 }, "identifierName": "output" @@ -26987,15 +27804,15 @@ }, "init": { "type": "Identifier", - "start": 3956, - "end": 3961, + "start": 4044, + "end": 4049, "loc": { "start": { - "line": 137, + "line": 138, "column": 17 }, "end": { - "line": 137, + "line": 138, "column": 22 }, "identifierName": "input" @@ -27008,71 +27825,71 @@ }, { "type": "IfStatement", - "start": 3970, - "end": 5440, + "start": 4058, + "end": 5651, "loc": { "start": { - "line": 139, + "line": 140, "column": 4 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 3973, - "end": 4043, + "start": 4061, + "end": 4131, "loc": { "start": { - "line": 139, + "line": 140, "column": 7 }, "end": { - "line": 139, + "line": 140, "column": 77 } }, "left": { "type": "LogicalExpression", - "start": 3974, - "end": 4021, + "start": 4062, + "end": 4109, "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 139, + "line": 140, "column": 55 } }, "left": { "type": "BinaryExpression", - "start": 3974, - "end": 3993, + "start": 4062, + "end": 4081, "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 139, + "line": 140, "column": 27 } }, "left": { "type": "Identifier", - "start": 3974, - "end": 3980, + "start": 4062, + "end": 4068, "loc": { "start": { - "line": 139, + "line": 140, "column": 8 }, "end": { - "line": 139, + "line": 140, "column": 14 }, "identifierName": "button" @@ -27082,15 +27899,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 3985, - "end": 3993, + "start": 4073, + "end": 4081, "loc": { "start": { - "line": 139, + "line": 140, "column": 19 }, "end": { - "line": 139, + "line": 140, "column": 27 } }, @@ -27104,29 +27921,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 3997, - "end": 4021, + "start": 4085, + "end": 4109, "loc": { "start": { - "line": 139, + "line": 140, "column": 31 }, "end": { - "line": 139, + "line": 140, "column": 55 } }, "left": { "type": "Identifier", - "start": 3997, - "end": 4003, + "start": 4085, + "end": 4091, "loc": { "start": { - "line": 139, + "line": 140, "column": 31 }, "end": { - "line": 139, + "line": 140, "column": 37 }, "identifierName": "button" @@ -27136,15 +27953,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4008, - "end": 4021, + "start": 4096, + "end": 4109, "loc": { "start": { - "line": 139, + "line": 140, "column": 42 }, "end": { - "line": 139, + "line": 140, "column": 55 } }, @@ -27157,49 +27974,49 @@ }, "extra": { "parenthesized": true, - "parenStart": 3973 + "parenStart": 4061 } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4026, - "end": 4043, + "start": 4114, + "end": 4131, "loc": { "start": { - "line": 139, + "line": 140, "column": 60 }, "end": { - "line": 139, + "line": 140, "column": 77 } }, "left": { "type": "MemberExpression", - "start": 4026, - "end": 4039, + "start": 4114, + "end": 4127, "loc": { "start": { - "line": 139, + "line": 140, "column": 60 }, "end": { - "line": 139, + "line": 140, "column": 73 } }, "object": { "type": "Identifier", - "start": 4026, - "end": 4032, + "start": 4114, + "end": 4120, "loc": { "start": { - "line": 139, + "line": 140, "column": 60 }, "end": { - "line": 139, + "line": 140, "column": 66 }, "identifierName": "output" @@ -27208,15 +28025,15 @@ }, "property": { "type": "Identifier", - "start": 4033, - "end": 4039, + "start": 4121, + "end": 4127, "loc": { "start": { - "line": 139, + "line": 140, "column": 67 }, "end": { - "line": 139, + "line": 140, "column": 73 }, "identifierName": "length" @@ -27228,15 +28045,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 4042, - "end": 4043, + "start": 4130, + "end": 4131, "loc": { "start": { - "line": 139, + "line": 140, "column": 76 }, "end": { - "line": 139, + "line": 140, "column": 77 } }, @@ -27250,59 +28067,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 4044, - "end": 4103, + "start": 4132, + "end": 4202, "loc": { "start": { - "line": 139, + "line": 140, "column": 78 }, "end": { - "line": 142, + "line": 143, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 4053, - "end": 4094, + "start": 4141, + "end": 4193, "loc": { "start": { - "line": 140, + "line": 141, "column": 6 }, "end": { - "line": 140, - "column": 47 + "line": 141, + "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 4053, - "end": 4093, + "start": 4141, + "end": 4192, "loc": { "start": { - "line": 140, + "line": 141, "column": 6 }, "end": { - "line": 140, - "column": 46 + "line": 141, + "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4053, - "end": 4059, + "start": 4141, + "end": 4147, "loc": { "start": { - "line": 140, + "line": 141, "column": 6 }, "end": { - "line": 140, + "line": 141, "column": 12 }, "identifierName": "output" @@ -27311,58 +28128,58 @@ }, "right": { "type": "CallExpression", - "start": 4062, - "end": 4093, + "start": 4150, + "end": 4192, "loc": { "start": { - "line": 140, + "line": 141, "column": 15 }, "end": { - "line": 140, - "column": 46 + "line": 141, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 4062, - "end": 4075, + "start": 4150, + "end": 4163, "loc": { "start": { - "line": 140, + "line": 141, "column": 15 }, "end": { - "line": 140, + "line": 141, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4062, - "end": 4066, + "start": 4150, + "end": 4154, "loc": { "start": { - "line": 140, + "line": 141, "column": 15 }, "end": { - "line": 140, + "line": 141, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4067, - "end": 4075, + "start": 4155, + "end": 4163, "loc": { "start": { - "line": 140, + "line": 141, "column": 20 }, "end": { - "line": 140, + "line": 141, "column": 28 }, "identifierName": "removeAt" @@ -27374,15 +28191,15 @@ "arguments": [ { "type": "Identifier", - "start": 4076, - "end": 4082, + "start": 4164, + "end": 4170, "loc": { "start": { - "line": 140, + "line": 141, "column": 29 }, "end": { - "line": 140, + "line": 141, "column": 35 }, "identifierName": "output" @@ -27391,20 +28208,37 @@ }, { "type": "Identifier", - "start": 4084, - "end": 4092, + "start": 4172, + "end": 4180, "loc": { "start": { - "line": 140, + "line": 141, "column": 37 }, "end": { - "line": 140, + "line": 141, "column": 45 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4182, + "end": 4191, + "loc": { + "start": { + "line": 141, + "column": 47 + }, + "end": { + "line": 141, + "column": 56 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -27415,43 +28249,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4109, - "end": 5440, + "start": 4208, + "end": 5651, "loc": { "start": { - "line": 142, + "line": 143, "column": 11 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4112, - "end": 4132, + "start": 4211, + "end": 4231, "loc": { "start": { - "line": 142, + "line": 143, "column": 14 }, "end": { - "line": 142, + "line": 143, "column": 34 } }, "left": { "type": "Identifier", - "start": 4112, - "end": 4118, + "start": 4211, + "end": 4217, "loc": { "start": { - "line": 142, + "line": 143, "column": 14 }, "end": { - "line": 142, + "line": 143, "column": 20 }, "identifierName": "button" @@ -27461,15 +28295,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4123, - "end": 4132, + "start": 4222, + "end": 4231, "loc": { "start": { - "line": 142, + "line": 143, "column": 25 }, "end": { - "line": 142, + "line": 143, "column": 34 } }, @@ -27482,44 +28316,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4141, - "end": 4190, + "start": 4240, + "end": 4300, "loc": { "start": { - "line": 143, + "line": 144, "column": 6 }, "end": { - "line": 143, - "column": 55 + "line": 144, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4141, - "end": 4189, + "start": 4240, + "end": 4299, "loc": { "start": { - "line": 143, + "line": 144, "column": 6 }, "end": { - "line": 143, - "column": 54 + "line": 144, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4141, - "end": 4147, + "start": 4240, + "end": 4246, "loc": { "start": { - "line": 143, + "line": 144, "column": 6 }, "end": { - "line": 143, + "line": 144, "column": 12 }, "identifierName": "output" @@ -27528,58 +28362,58 @@ }, "right": { "type": "CallExpression", - "start": 4150, - "end": 4189, + "start": 4249, + "end": 4299, "loc": { "start": { - "line": 143, + "line": 144, "column": 15 }, "end": { - "line": 143, - "column": 54 + "line": 144, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4150, - "end": 4166, + "start": 4249, + "end": 4265, "loc": { "start": { - "line": 143, + "line": 144, "column": 15 }, "end": { - "line": 143, + "line": 144, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4150, - "end": 4154, + "start": 4249, + "end": 4253, "loc": { "start": { - "line": 143, + "line": 144, "column": 15 }, "end": { - "line": 143, + "line": 144, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4155, - "end": 4166, + "start": 4254, + "end": 4265, "loc": { "start": { - "line": 143, + "line": 144, "column": 20 }, "end": { - "line": 143, + "line": 144, "column": 31 }, "identifierName": "addStringAt" @@ -27591,15 +28425,15 @@ "arguments": [ { "type": "Identifier", - "start": 4167, - "end": 4173, + "start": 4266, + "end": 4272, "loc": { "start": { - "line": 143, + "line": 144, "column": 32 }, "end": { - "line": 143, + "line": 144, "column": 38 }, "identifierName": "output" @@ -27608,15 +28442,15 @@ }, { "type": "StringLiteral", - "start": 4175, - "end": 4178, + "start": 4274, + "end": 4277, "loc": { "start": { - "line": 143, + "line": 144, "column": 40 }, "end": { - "line": 143, + "line": 144, "column": 43 } }, @@ -27628,20 +28462,37 @@ }, { "type": "Identifier", - "start": 4180, - "end": 4188, + "start": 4279, + "end": 4287, "loc": { "start": { - "line": 143, + "line": 144, "column": 45 }, "end": { - "line": 143, + "line": 144, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4289, + "end": 4298, + "loc": { + "start": { + "line": 144, + "column": 55 + }, + "end": { + "line": 144, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -27649,57 +28500,57 @@ }, "alternate": { "type": "IfStatement", - "start": 4203, - "end": 5440, + "start": 4313, + "end": 5651, "loc": { "start": { - "line": 145, + "line": 146, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 4206, - "end": 4306, + "start": 4316, + "end": 4416, "loc": { "start": { - "line": 145, + "line": 146, "column": 12 }, "end": { - "line": 145, + "line": 146, "column": 112 } }, "left": { "type": "BinaryExpression", - "start": 4206, - "end": 4224, + "start": 4316, + "end": 4334, "loc": { "start": { - "line": 145, + "line": 146, "column": 12 }, "end": { - "line": 145, + "line": 146, "column": 30 } }, "left": { "type": "Identifier", - "start": 4206, - "end": 4212, + "start": 4316, + "end": 4322, "loc": { "start": { - "line": 145, + "line": 146, "column": 12 }, "end": { - "line": 145, + "line": 146, "column": 18 }, "identifierName": "button" @@ -27709,15 +28560,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4217, - "end": 4224, + "start": 4327, + "end": 4334, "loc": { "start": { - "line": 145, + "line": 146, "column": 23 }, "end": { - "line": 145, + "line": 146, "column": 30 } }, @@ -27731,15 +28582,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 4228, - "end": 4306, + "start": 4338, + "end": 4416, "loc": { "start": { - "line": 145, + "line": 146, "column": 34 }, "end": { - "line": 145, + "line": 146, "column": 112 } }, @@ -27747,43 +28598,43 @@ "prefix": true, "argument": { "type": "LogicalExpression", - "start": 4230, - "end": 4305, + "start": 4340, + "end": 4415, "loc": { "start": { - "line": 145, + "line": 146, "column": 36 }, "end": { - "line": 145, + "line": 146, "column": 111 } }, "left": { "type": "BinaryExpression", - "start": 4230, - "end": 4271, + "start": 4340, + "end": 4381, "loc": { "start": { - "line": 145, + "line": 146, "column": 36 }, "end": { - "line": 145, + "line": 146, "column": 77 } }, "left": { "type": "UnaryExpression", - "start": 4230, - "end": 4257, + "start": 4340, + "end": 4367, "loc": { "start": { - "line": 145, + "line": 146, "column": 36 }, "end": { - "line": 145, + "line": 146, "column": 63 } }, @@ -27791,29 +28642,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 4237, - "end": 4257, + "start": 4347, + "end": 4367, "loc": { "start": { - "line": 145, + "line": 146, "column": 43 }, "end": { - "line": 145, + "line": 146, "column": 63 } }, "object": { "type": "Identifier", - "start": 4237, - "end": 4244, + "start": 4347, + "end": 4354, "loc": { "start": { - "line": 145, + "line": 146, "column": 43 }, "end": { - "line": 145, + "line": 146, "column": 50 }, "identifierName": "options" @@ -27822,15 +28673,15 @@ }, "property": { "type": "Identifier", - "start": 4245, - "end": 4257, + "start": 4355, + "end": 4367, "loc": { "start": { - "line": 145, + "line": 146, "column": 51 }, "end": { - "line": 145, + "line": 146, "column": 63 }, "identifierName": "tabCharOnTab" @@ -27846,15 +28697,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4262, - "end": 4271, + "start": 4372, + "end": 4381, "loc": { "start": { - "line": 145, + "line": 146, "column": 68 }, "end": { - "line": 145, + "line": 146, "column": 77 } }, @@ -27868,43 +28719,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4275, - "end": 4305, + "start": 4385, + "end": 4415, "loc": { "start": { - "line": 145, + "line": 146, "column": 81 }, "end": { - "line": 145, + "line": 146, "column": 111 } }, "left": { "type": "MemberExpression", - "start": 4275, - "end": 4295, + "start": 4385, + "end": 4405, "loc": { "start": { - "line": 145, + "line": 146, "column": 81 }, "end": { - "line": 145, + "line": 146, "column": 101 } }, "object": { "type": "Identifier", - "start": 4275, - "end": 4282, + "start": 4385, + "end": 4392, "loc": { "start": { - "line": 145, + "line": 146, "column": 81 }, "end": { - "line": 145, + "line": 146, "column": 88 }, "identifierName": "options" @@ -27913,15 +28764,15 @@ }, "property": { "type": "Identifier", - "start": 4283, - "end": 4295, + "start": 4393, + "end": 4405, "loc": { "start": { - "line": 145, + "line": 146, "column": 89 }, "end": { - "line": 145, + "line": 146, "column": 101 }, "identifierName": "tabCharOnTab" @@ -27933,15 +28784,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 4300, - "end": 4305, + "start": 4410, + "end": 4415, "loc": { "start": { - "line": 145, + "line": 146, "column": 106 }, "end": { - "line": 145, + "line": 146, "column": 111 } }, @@ -27950,7 +28801,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 4229 + "parenStart": 4339 } }, "extra": { @@ -27960,59 +28811,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 4307, - "end": 4375, + "start": 4417, + "end": 4496, "loc": { "start": { - "line": 145, + "line": 146, "column": 113 }, "end": { - "line": 148, + "line": 149, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 4316, - "end": 4366, + "start": 4426, + "end": 4487, "loc": { "start": { - "line": 146, + "line": 147, "column": 6 }, "end": { - "line": 146, - "column": 56 + "line": 147, + "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4316, - "end": 4365, + "start": 4426, + "end": 4486, "loc": { "start": { - "line": 146, + "line": 147, "column": 6 }, "end": { - "line": 146, - "column": 55 + "line": 147, + "column": 66 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4316, - "end": 4322, + "start": 4426, + "end": 4432, "loc": { "start": { - "line": 146, + "line": 147, "column": 6 }, "end": { - "line": 146, + "line": 147, "column": 12 }, "identifierName": "output" @@ -28021,58 +28872,58 @@ }, "right": { "type": "CallExpression", - "start": 4325, - "end": 4365, + "start": 4435, + "end": 4486, "loc": { "start": { - "line": 146, + "line": 147, "column": 15 }, "end": { - "line": 146, - "column": 55 + "line": 147, + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4325, - "end": 4341, + "start": 4435, + "end": 4451, "loc": { "start": { - "line": 146, + "line": 147, "column": 15 }, "end": { - "line": 146, + "line": 147, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4325, - "end": 4329, + "start": 4435, + "end": 4439, "loc": { "start": { - "line": 146, + "line": 147, "column": 15 }, "end": { - "line": 146, + "line": 147, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4330, - "end": 4341, + "start": 4440, + "end": 4451, "loc": { "start": { - "line": 146, + "line": 147, "column": 20 }, "end": { - "line": 146, + "line": 147, "column": 31 }, "identifierName": "addStringAt" @@ -28084,15 +28935,15 @@ "arguments": [ { "type": "Identifier", - "start": 4342, - "end": 4348, + "start": 4452, + "end": 4458, "loc": { "start": { - "line": 146, + "line": 147, "column": 32 }, "end": { - "line": 146, + "line": 147, "column": 38 }, "identifierName": "output" @@ -28101,15 +28952,15 @@ }, { "type": "StringLiteral", - "start": 4350, - "end": 4354, + "start": 4460, + "end": 4464, "loc": { "start": { - "line": 146, + "line": 147, "column": 40 }, "end": { - "line": 146, + "line": 147, "column": 44 } }, @@ -28121,20 +28972,37 @@ }, { "type": "Identifier", - "start": 4356, - "end": 4364, + "start": 4466, + "end": 4474, "loc": { "start": { - "line": 146, + "line": 147, "column": 46 }, "end": { - "line": 146, + "line": 147, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4476, + "end": 4485, + "loc": { + "start": { + "line": 147, + "column": 56 + }, + "end": { + "line": 147, + "column": 65 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -28145,71 +29013,71 @@ }, "alternate": { "type": "IfStatement", - "start": 4381, - "end": 5440, + "start": 4502, + "end": 5651, "loc": { "start": { - "line": 148, + "line": 149, "column": 11 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 4384, - "end": 4462, + "start": 4505, + "end": 4583, "loc": { "start": { - "line": 148, + "line": 149, "column": 14 }, "end": { - "line": 148, + "line": 149, "column": 92 } }, "left": { "type": "LogicalExpression", - "start": 4385, - "end": 4435, + "start": 4506, + "end": 4556, "loc": { "start": { - "line": 148, + "line": 149, "column": 15 }, "end": { - "line": 148, + "line": 149, "column": 65 } }, "left": { "type": "BinaryExpression", - "start": 4385, - "end": 4405, + "start": 4506, + "end": 4526, "loc": { "start": { - "line": 148, + "line": 149, "column": 15 }, "end": { - "line": 148, + "line": 149, "column": 35 } }, "left": { "type": "Identifier", - "start": 4385, - "end": 4391, + "start": 4506, + "end": 4512, "loc": { "start": { - "line": 148, + "line": 149, "column": 15 }, "end": { - "line": 148, + "line": 149, "column": 21 }, "identifierName": "button" @@ -28219,15 +29087,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4396, - "end": 4405, + "start": 4517, + "end": 4526, "loc": { "start": { - "line": 148, + "line": 149, "column": 26 }, "end": { - "line": 148, + "line": 149, "column": 35 } }, @@ -28241,29 +29109,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 4409, - "end": 4435, + "start": 4530, + "end": 4556, "loc": { "start": { - "line": 148, + "line": 149, "column": 39 }, "end": { - "line": 148, + "line": 149, "column": 65 } }, "left": { "type": "Identifier", - "start": 4409, - "end": 4415, + "start": 4530, + "end": 4536, "loc": { "start": { - "line": 148, + "line": 149, "column": 39 }, "end": { - "line": 148, + "line": 149, "column": 45 }, "identifierName": "button" @@ -28273,15 +29141,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4420, - "end": 4435, + "start": 4541, + "end": 4556, "loc": { "start": { - "line": 148, + "line": 149, "column": 50 }, "end": { - "line": 148, + "line": 149, "column": 65 } }, @@ -28294,35 +29162,35 @@ }, "extra": { "parenthesized": true, - "parenStart": 4384 + "parenStart": 4505 } }, "operator": "&&", "right": { "type": "MemberExpression", - "start": 4440, - "end": 4462, + "start": 4561, + "end": 4583, "loc": { "start": { - "line": 148, + "line": 149, "column": 70 }, "end": { - "line": 148, + "line": 149, "column": 92 } }, "object": { "type": "Identifier", - "start": 4440, - "end": 4447, + "start": 4561, + "end": 4568, "loc": { "start": { - "line": 148, + "line": 149, "column": 70 }, "end": { - "line": 148, + "line": 149, "column": 77 }, "identifierName": "options" @@ -28331,15 +29199,15 @@ }, "property": { "type": "Identifier", - "start": 4448, - "end": 4462, + "start": 4569, + "end": 4583, "loc": { "start": { - "line": 148, + "line": 149, "column": 78 }, "end": { - "line": 148, + "line": 149, "column": 92 }, "identifierName": "newLineOnEnter" @@ -28351,44 +29219,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4471, - "end": 4521, + "start": 4592, + "end": 4653, "loc": { "start": { - "line": 149, + "line": 150, "column": 6 }, "end": { - "line": 149, - "column": 56 + "line": 150, + "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 4471, - "end": 4520, + "start": 4592, + "end": 4652, "loc": { "start": { - "line": 149, + "line": 150, "column": 6 }, "end": { - "line": 149, - "column": 55 + "line": 150, + "column": 66 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4471, - "end": 4477, + "start": 4592, + "end": 4598, "loc": { "start": { - "line": 149, + "line": 150, "column": 6 }, "end": { - "line": 149, + "line": 150, "column": 12 }, "identifierName": "output" @@ -28397,58 +29265,58 @@ }, "right": { "type": "CallExpression", - "start": 4480, - "end": 4520, + "start": 4601, + "end": 4652, "loc": { "start": { - "line": 149, + "line": 150, "column": 15 }, "end": { - "line": 149, - "column": 55 + "line": 150, + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 4480, - "end": 4496, + "start": 4601, + "end": 4617, "loc": { "start": { - "line": 149, + "line": 150, "column": 15 }, "end": { - "line": 149, + "line": 150, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4480, - "end": 4484, + "start": 4601, + "end": 4605, "loc": { "start": { - "line": 149, + "line": 150, "column": 15 }, "end": { - "line": 149, + "line": 150, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4485, - "end": 4496, + "start": 4606, + "end": 4617, "loc": { "start": { - "line": 149, + "line": 150, "column": 20 }, "end": { - "line": 149, + "line": 150, "column": 31 }, "identifierName": "addStringAt" @@ -28460,15 +29328,15 @@ "arguments": [ { "type": "Identifier", - "start": 4497, - "end": 4503, + "start": 4618, + "end": 4624, "loc": { "start": { - "line": 149, + "line": 150, "column": 32 }, "end": { - "line": 149, + "line": 150, "column": 38 }, "identifierName": "output" @@ -28477,15 +29345,15 @@ }, { "type": "StringLiteral", - "start": 4505, - "end": 4509, + "start": 4626, + "end": 4630, "loc": { "start": { - "line": 149, + "line": 150, "column": 40 }, "end": { - "line": 149, + "line": 150, "column": 44 } }, @@ -28497,20 +29365,37 @@ }, { "type": "Identifier", - "start": 4511, - "end": 4519, + "start": 4632, + "end": 4640, "loc": { "start": { - "line": 149, + "line": 150, "column": 46 }, "end": { - "line": 149, + "line": 150, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4642, + "end": 4651, + "loc": { + "start": { + "line": 150, + "column": 56 + }, + "end": { + "line": 150, + "column": 65 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -28518,71 +29403,71 @@ }, "alternate": { "type": "IfStatement", - "start": 4534, - "end": 5440, + "start": 4666, + "end": 5651, "loc": { "start": { - "line": 151, + "line": 152, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 4537, - "end": 4617, + "start": 4669, + "end": 4749, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 92 } }, "left": { "type": "CallExpression", - "start": 4537, - "end": 4562, + "start": 4669, + "end": 4694, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 4537, - "end": 4552, + "start": 4669, + "end": 4684, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 27 } }, "object": { "type": "Identifier", - "start": 4537, - "end": 4543, + "start": 4669, + "end": 4675, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 18 }, "identifierName": "button" @@ -28591,15 +29476,15 @@ }, "property": { "type": "Identifier", - "start": 4544, - "end": 4552, + "start": 4676, + "end": 4684, "loc": { "start": { - "line": 151, + "line": 152, "column": 19 }, "end": { - "line": 151, + "line": 152, "column": 27 }, "identifierName": "includes" @@ -28611,15 +29496,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 4553, - "end": 4561, + "start": 4685, + "end": 4693, "loc": { "start": { - "line": 151, + "line": 152, "column": 28 }, "end": { - "line": 151, + "line": 152, "column": 36 } }, @@ -28634,43 +29519,43 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 4566, - "end": 4617, + "start": 4698, + "end": 4749, "loc": { "start": { - "line": 151, + "line": 152, "column": 41 }, "end": { - "line": 151, + "line": 152, "column": 92 } }, "callee": { "type": "MemberExpression", - "start": 4566, - "end": 4582, + "start": 4698, + "end": 4714, "loc": { "start": { - "line": 151, + "line": 152, "column": 41 }, "end": { - "line": 151, + "line": 152, "column": 57 } }, "object": { "type": "Identifier", - "start": 4566, - "end": 4572, + "start": 4698, + "end": 4704, "loc": { "start": { - "line": 151, + "line": 152, "column": 41 }, "end": { - "line": 151, + "line": 152, "column": 47 }, "identifierName": "Number" @@ -28679,15 +29564,15 @@ }, "property": { "type": "Identifier", - "start": 4573, - "end": 4582, + "start": 4705, + "end": 4714, "loc": { "start": { - "line": 151, + "line": 152, "column": 48 }, "end": { - "line": 151, + "line": 152, "column": 57 }, "identifierName": "isInteger" @@ -28699,29 +29584,29 @@ "arguments": [ { "type": "CallExpression", - "start": 4583, - "end": 4616, + "start": 4715, + "end": 4748, "loc": { "start": { - "line": 151, + "line": 152, "column": 58 }, "end": { - "line": 151, + "line": 152, "column": 91 } }, "callee": { "type": "Identifier", - "start": 4583, - "end": 4589, + "start": 4715, + "end": 4721, "loc": { "start": { - "line": 151, + "line": 152, "column": 58 }, "end": { - "line": 151, + "line": 152, "column": 64 }, "identifierName": "Number" @@ -28731,29 +29616,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4590, - "end": 4615, + "start": 4722, + "end": 4747, "loc": { "start": { - "line": 151, + "line": 152, "column": 65 }, "end": { - "line": 151, + "line": 152, "column": 90 } }, "object": { "type": "Identifier", - "start": 4590, - "end": 4596, + "start": 4722, + "end": 4728, "loc": { "start": { - "line": 151, + "line": 152, "column": 65 }, "end": { - "line": 151, + "line": 152, "column": 71 }, "identifierName": "button" @@ -28762,43 +29647,43 @@ }, "property": { "type": "BinaryExpression", - "start": 4597, - "end": 4614, + "start": 4729, + "end": 4746, "loc": { "start": { - "line": 151, + "line": 152, "column": 72 }, "end": { - "line": 151, + "line": 152, "column": 89 } }, "left": { "type": "MemberExpression", - "start": 4597, - "end": 4610, + "start": 4729, + "end": 4742, "loc": { "start": { - "line": 151, + "line": 152, "column": 72 }, "end": { - "line": 151, + "line": 152, "column": 85 } }, "object": { "type": "Identifier", - "start": 4597, - "end": 4603, + "start": 4729, + "end": 4735, "loc": { "start": { - "line": 151, + "line": 152, "column": 72 }, "end": { - "line": 151, + "line": 152, "column": 78 }, "identifierName": "button" @@ -28807,15 +29692,15 @@ }, "property": { "type": "Identifier", - "start": 4604, - "end": 4610, + "start": 4736, + "end": 4742, "loc": { "start": { - "line": 151, + "line": 152, "column": 79 }, "end": { - "line": 151, + "line": 152, "column": 85 }, "identifierName": "length" @@ -28827,15 +29712,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4613, - "end": 4614, + "start": 4745, + "end": 4746, "loc": { "start": { - "line": 151, + "line": 152, "column": 88 }, "end": { - "line": 151, + "line": 152, "column": 89 } }, @@ -28855,59 +29740,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 4618, - "end": 4705, + "start": 4750, + "end": 4837, "loc": { "start": { - "line": 151, + "line": 152, "column": 93 }, "end": { - "line": 153, + "line": 154, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 4627, - "end": 4698, + "start": 4759, + "end": 4830, "loc": { "start": { - "line": 152, + "line": 153, "column": 6 }, "end": { - "line": 152, + "line": 153, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 4627, - "end": 4697, + "start": 4759, + "end": 4829, "loc": { "start": { - "line": 152, + "line": 153, "column": 6 }, "end": { - "line": 152, + "line": 153, "column": 76 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4627, - "end": 4633, + "start": 4759, + "end": 4765, "loc": { "start": { - "line": 152, + "line": 153, "column": 6 }, "end": { - "line": 152, + "line": 153, "column": 12 }, "identifierName": "output" @@ -28916,58 +29801,58 @@ }, "right": { "type": "CallExpression", - "start": 4636, - "end": 4697, + "start": 4768, + "end": 4829, "loc": { "start": { - "line": 152, + "line": 153, "column": 15 }, "end": { - "line": 152, + "line": 153, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 4636, - "end": 4652, + "start": 4768, + "end": 4784, "loc": { "start": { - "line": 152, + "line": 153, "column": 15 }, "end": { - "line": 152, + "line": 153, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4636, - "end": 4640, + "start": 4768, + "end": 4772, "loc": { "start": { - "line": 152, + "line": 153, "column": 15 }, "end": { - "line": 152, + "line": 153, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4641, - "end": 4652, + "start": 4773, + "end": 4784, "loc": { "start": { - "line": 152, + "line": 153, "column": 20 }, "end": { - "line": 152, + "line": 153, "column": 31 }, "identifierName": "addStringAt" @@ -28979,15 +29864,15 @@ "arguments": [ { "type": "Identifier", - "start": 4653, - "end": 4659, + "start": 4785, + "end": 4791, "loc": { "start": { - "line": 152, + "line": 153, "column": 32 }, "end": { - "line": 152, + "line": 153, "column": 38 }, "identifierName": "output" @@ -28996,29 +29881,29 @@ }, { "type": "MemberExpression", - "start": 4661, - "end": 4686, + "start": 4793, + "end": 4818, "loc": { "start": { - "line": 152, + "line": 153, "column": 40 }, "end": { - "line": 152, + "line": 153, "column": 65 } }, "object": { "type": "Identifier", - "start": 4661, - "end": 4667, + "start": 4793, + "end": 4799, "loc": { "start": { - "line": 152, + "line": 153, "column": 40 }, "end": { - "line": 152, + "line": 153, "column": 46 }, "identifierName": "button" @@ -29027,43 +29912,43 @@ }, "property": { "type": "BinaryExpression", - "start": 4668, - "end": 4685, + "start": 4800, + "end": 4817, "loc": { "start": { - "line": 152, + "line": 153, "column": 47 }, "end": { - "line": 152, + "line": 153, "column": 64 } }, "left": { "type": "MemberExpression", - "start": 4668, - "end": 4681, + "start": 4800, + "end": 4813, "loc": { "start": { - "line": 152, + "line": 153, "column": 47 }, "end": { - "line": 152, + "line": 153, "column": 60 } }, "object": { "type": "Identifier", - "start": 4668, - "end": 4674, + "start": 4800, + "end": 4806, "loc": { "start": { - "line": 152, + "line": 153, "column": 47 }, "end": { - "line": 152, + "line": 153, "column": 53 }, "identifierName": "button" @@ -29072,15 +29957,15 @@ }, "property": { "type": "Identifier", - "start": 4675, - "end": 4681, + "start": 4807, + "end": 4813, "loc": { "start": { - "line": 152, + "line": 153, "column": 54 }, "end": { - "line": 152, + "line": 153, "column": 60 }, "identifierName": "length" @@ -29092,15 +29977,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4684, - "end": 4685, + "start": 4816, + "end": 4817, "loc": { "start": { - "line": 152, + "line": 153, "column": 63 }, "end": { - "line": 152, + "line": 153, "column": 64 } }, @@ -29115,15 +30000,15 @@ }, { "type": "Identifier", - "start": 4688, - "end": 4696, + "start": 4820, + "end": 4828, "loc": { "start": { - "line": 152, + "line": 153, "column": 67 }, "end": { - "line": 152, + "line": 153, "column": 75 }, "identifierName": "caretPos" @@ -29139,43 +30024,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4716, - "end": 5440, + "start": 4848, + "end": 5651, "loc": { "start": { - "line": 154, + "line": 155, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4719, - "end": 4746, + "start": 4851, + "end": 4878, "loc": { "start": { - "line": 154, + "line": 155, "column": 12 }, "end": { - "line": 154, + "line": 155, "column": 39 } }, "left": { "type": "Identifier", - "start": 4719, - "end": 4725, + "start": 4851, + "end": 4857, "loc": { "start": { - "line": 154, + "line": 155, "column": 12 }, "end": { - "line": 154, + "line": 155, "column": 18 }, "identifierName": "button" @@ -29185,15 +30070,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4730, - "end": 4746, + "start": 4862, + "end": 4878, "loc": { "start": { - "line": 154, + "line": 155, "column": 23 }, "end": { - "line": 154, + "line": 155, "column": 39 } }, @@ -29206,44 +30091,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4755, - "end": 4804, + "start": 4887, + "end": 4947, "loc": { "start": { - "line": 155, + "line": 156, "column": 6 }, "end": { - "line": 155, - "column": 55 + "line": 156, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4755, - "end": 4803, + "start": 4887, + "end": 4946, "loc": { "start": { - "line": 155, + "line": 156, "column": 6 }, "end": { - "line": 155, - "column": 54 + "line": 156, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4755, - "end": 4761, + "start": 4887, + "end": 4893, "loc": { "start": { - "line": 155, + "line": 156, "column": 6 }, "end": { - "line": 155, + "line": 156, "column": 12 }, "identifierName": "output" @@ -29252,58 +30137,58 @@ }, "right": { "type": "CallExpression", - "start": 4764, - "end": 4803, + "start": 4896, + "end": 4946, "loc": { "start": { - "line": 155, + "line": 156, "column": 15 }, "end": { - "line": 155, - "column": 54 + "line": 156, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4764, - "end": 4780, + "start": 4896, + "end": 4912, "loc": { "start": { - "line": 155, + "line": 156, "column": 15 }, "end": { - "line": 155, + "line": 156, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4764, - "end": 4768, + "start": 4896, + "end": 4900, "loc": { "start": { - "line": 155, + "line": 156, "column": 15 }, "end": { - "line": 155, + "line": 156, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4769, - "end": 4780, + "start": 4901, + "end": 4912, "loc": { "start": { - "line": 155, + "line": 156, "column": 20 }, "end": { - "line": 155, + "line": 156, "column": 31 }, "identifierName": "addStringAt" @@ -29315,15 +30200,15 @@ "arguments": [ { "type": "Identifier", - "start": 4781, - "end": 4787, + "start": 4913, + "end": 4919, "loc": { "start": { - "line": 155, + "line": 156, "column": 32 }, "end": { - "line": 155, + "line": 156, "column": 38 }, "identifierName": "output" @@ -29332,15 +30217,15 @@ }, { "type": "StringLiteral", - "start": 4789, - "end": 4792, + "start": 4921, + "end": 4924, "loc": { "start": { - "line": 155, + "line": 156, "column": 40 }, "end": { - "line": 155, + "line": 156, "column": 43 } }, @@ -29352,20 +30237,37 @@ }, { "type": "Identifier", - "start": 4794, - "end": 4802, + "start": 4926, + "end": 4934, "loc": { "start": { - "line": 155, + "line": 156, "column": 45 }, "end": { - "line": 155, + "line": 156, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 4936, + "end": 4945, + "loc": { + "start": { + "line": 156, + "column": 55 + }, + "end": { + "line": 156, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -29373,43 +30275,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4817, - "end": 5440, + "start": 4960, + "end": 5651, "loc": { "start": { - "line": 157, + "line": 158, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4820, - "end": 4849, + "start": 4963, + "end": 4992, "loc": { "start": { - "line": 157, + "line": 158, "column": 12 }, "end": { - "line": 157, + "line": 158, "column": 41 } }, "left": { "type": "Identifier", - "start": 4820, - "end": 4826, + "start": 4963, + "end": 4969, "loc": { "start": { - "line": 157, + "line": 158, "column": 12 }, "end": { - "line": 157, + "line": 158, "column": 18 }, "identifierName": "button" @@ -29419,15 +30321,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4831, - "end": 4849, + "start": 4974, + "end": 4992, "loc": { "start": { - "line": 157, + "line": 158, "column": 23 }, "end": { - "line": 157, + "line": 158, "column": 41 } }, @@ -29440,44 +30342,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4858, - "end": 4907, + "start": 5001, + "end": 5061, "loc": { "start": { - "line": 158, + "line": 159, "column": 6 }, "end": { - "line": 158, - "column": 55 + "line": 159, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4858, - "end": 4906, + "start": 5001, + "end": 5060, "loc": { "start": { - "line": 158, + "line": 159, "column": 6 }, "end": { - "line": 158, - "column": 54 + "line": 159, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4858, - "end": 4864, + "start": 5001, + "end": 5007, "loc": { "start": { - "line": 158, + "line": 159, "column": 6 }, "end": { - "line": 158, + "line": 159, "column": 12 }, "identifierName": "output" @@ -29486,58 +30388,58 @@ }, "right": { "type": "CallExpression", - "start": 4867, - "end": 4906, + "start": 5010, + "end": 5060, "loc": { "start": { - "line": 158, + "line": 159, "column": 15 }, "end": { - "line": 158, - "column": 54 + "line": 159, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4867, - "end": 4883, + "start": 5010, + "end": 5026, "loc": { "start": { - "line": 158, + "line": 159, "column": 15 }, "end": { - "line": 158, + "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4867, - "end": 4871, + "start": 5010, + "end": 5014, "loc": { "start": { - "line": 158, + "line": 159, "column": 15 }, "end": { - "line": 158, + "line": 159, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4872, - "end": 4883, + "start": 5015, + "end": 5026, "loc": { "start": { - "line": 158, + "line": 159, "column": 20 }, "end": { - "line": 158, + "line": 159, "column": 31 }, "identifierName": "addStringAt" @@ -29549,15 +30451,15 @@ "arguments": [ { "type": "Identifier", - "start": 4884, - "end": 4890, + "start": 5027, + "end": 5033, "loc": { "start": { - "line": 158, + "line": 159, "column": 32 }, "end": { - "line": 158, + "line": 159, "column": 38 }, "identifierName": "output" @@ -29566,15 +30468,15 @@ }, { "type": "StringLiteral", - "start": 4892, - "end": 4895, + "start": 5035, + "end": 5038, "loc": { "start": { - "line": 158, + "line": 159, "column": 40 }, "end": { - "line": 158, + "line": 159, "column": 43 } }, @@ -29586,20 +30488,37 @@ }, { "type": "Identifier", - "start": 4897, - "end": 4905, + "start": 5040, + "end": 5048, "loc": { "start": { - "line": 158, + "line": 159, "column": 45 }, "end": { - "line": 158, + "line": 159, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5050, + "end": 5059, + "loc": { + "start": { + "line": 159, + "column": 55 + }, + "end": { + "line": 159, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -29607,43 +30526,43 @@ }, "alternate": { "type": "IfStatement", - "start": 4918, - "end": 5440, + "start": 5074, + "end": 5651, "loc": { "start": { - "line": 159, + "line": 161, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 4921, - "end": 4950, + "start": 5077, + "end": 5106, "loc": { "start": { - "line": 159, + "line": 161, "column": 12 }, "end": { - "line": 159, + "line": 161, "column": 41 } }, "left": { "type": "Identifier", - "start": 4921, - "end": 4927, + "start": 5077, + "end": 5083, "loc": { "start": { - "line": 159, + "line": 161, "column": 12 }, "end": { - "line": 159, + "line": 161, "column": 18 }, "identifierName": "button" @@ -29653,15 +30572,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4932, - "end": 4950, + "start": 5088, + "end": 5106, "loc": { "start": { - "line": 159, + "line": 161, "column": 23 }, "end": { - "line": 159, + "line": 161, "column": 41 } }, @@ -29674,44 +30593,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4959, - "end": 5008, + "start": 5115, + "end": 5175, "loc": { "start": { - "line": 160, + "line": 162, "column": 6 }, "end": { - "line": 160, - "column": 55 + "line": 162, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 4959, - "end": 5007, + "start": 5115, + "end": 5174, "loc": { "start": { - "line": 160, + "line": 162, "column": 6 }, "end": { - "line": 160, - "column": 54 + "line": 162, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4959, - "end": 4965, + "start": 5115, + "end": 5121, "loc": { "start": { - "line": 160, + "line": 162, "column": 6 }, "end": { - "line": 160, + "line": 162, "column": 12 }, "identifierName": "output" @@ -29720,58 +30639,58 @@ }, "right": { "type": "CallExpression", - "start": 4968, - "end": 5007, + "start": 5124, + "end": 5174, "loc": { "start": { - "line": 160, + "line": 162, "column": 15 }, "end": { - "line": 160, - "column": 54 + "line": 162, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 4968, - "end": 4984, + "start": 5124, + "end": 5140, "loc": { "start": { - "line": 160, + "line": 162, "column": 15 }, "end": { - "line": 160, + "line": 162, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4968, - "end": 4972, + "start": 5124, + "end": 5128, "loc": { "start": { - "line": 160, + "line": 162, "column": 15 }, "end": { - "line": 160, + "line": 162, "column": 19 } } }, "property": { "type": "Identifier", - "start": 4973, - "end": 4984, + "start": 5129, + "end": 5140, "loc": { "start": { - "line": 160, + "line": 162, "column": 20 }, "end": { - "line": 160, + "line": 162, "column": 31 }, "identifierName": "addStringAt" @@ -29783,15 +30702,15 @@ "arguments": [ { "type": "Identifier", - "start": 4985, - "end": 4991, + "start": 5141, + "end": 5147, "loc": { "start": { - "line": 160, + "line": 162, "column": 32 }, "end": { - "line": 160, + "line": 162, "column": 38 }, "identifierName": "output" @@ -29800,15 +30719,15 @@ }, { "type": "StringLiteral", - "start": 4993, - "end": 4996, + "start": 5149, + "end": 5152, "loc": { "start": { - "line": 160, + "line": 162, "column": 40 }, "end": { - "line": 160, + "line": 162, "column": 43 } }, @@ -29820,20 +30739,37 @@ }, { "type": "Identifier", - "start": 4998, - "end": 5006, + "start": 5154, + "end": 5162, "loc": { "start": { - "line": 160, + "line": 162, "column": 45 }, "end": { - "line": 160, + "line": 162, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5164, + "end": 5173, + "loc": { + "start": { + "line": 162, + "column": 55 + }, + "end": { + "line": 162, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -29841,43 +30777,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5021, - "end": 5440, + "start": 5188, + "end": 5651, "loc": { "start": { - "line": 162, + "line": 164, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 5024, - "end": 5048, + "start": 5191, + "end": 5215, "loc": { "start": { - "line": 162, + "line": 164, "column": 12 }, "end": { - "line": 162, + "line": 164, "column": 36 } }, "left": { "type": "Identifier", - "start": 5024, - "end": 5030, + "start": 5191, + "end": 5197, "loc": { "start": { - "line": 162, + "line": 164, "column": 12 }, "end": { - "line": 162, + "line": 164, "column": 18 }, "identifierName": "button" @@ -29887,15 +30823,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5035, - "end": 5048, + "start": 5202, + "end": 5215, "loc": { "start": { - "line": 162, + "line": 164, "column": 23 }, "end": { - "line": 162, + "line": 164, "column": 36 } }, @@ -29908,44 +30844,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5057, - "end": 5106, + "start": 5224, + "end": 5284, "loc": { "start": { - "line": 163, + "line": 165, "column": 6 }, "end": { - "line": 163, - "column": 55 + "line": 165, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 5057, - "end": 5105, + "start": 5224, + "end": 5283, "loc": { "start": { - "line": 163, + "line": 165, "column": 6 }, "end": { - "line": 163, - "column": 54 + "line": 165, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5057, - "end": 5063, + "start": 5224, + "end": 5230, "loc": { "start": { - "line": 163, + "line": 165, "column": 6 }, "end": { - "line": 163, + "line": 165, "column": 12 }, "identifierName": "output" @@ -29954,58 +30890,58 @@ }, "right": { "type": "CallExpression", - "start": 5066, - "end": 5105, + "start": 5233, + "end": 5283, "loc": { "start": { - "line": 163, + "line": 165, "column": 15 }, "end": { - "line": 163, - "column": 54 + "line": 165, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 5066, - "end": 5082, + "start": 5233, + "end": 5249, "loc": { "start": { - "line": 163, + "line": 165, "column": 15 }, "end": { - "line": 163, + "line": 165, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5066, - "end": 5070, + "start": 5233, + "end": 5237, "loc": { "start": { - "line": 163, + "line": 165, "column": 15 }, "end": { - "line": 163, + "line": 165, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5071, - "end": 5082, + "start": 5238, + "end": 5249, "loc": { "start": { - "line": 163, + "line": 165, "column": 20 }, "end": { - "line": 163, + "line": 165, "column": 31 }, "identifierName": "addStringAt" @@ -30017,15 +30953,15 @@ "arguments": [ { "type": "Identifier", - "start": 5083, - "end": 5089, + "start": 5250, + "end": 5256, "loc": { "start": { - "line": 163, + "line": 165, "column": 32 }, "end": { - "line": 163, + "line": 165, "column": 38 }, "identifierName": "output" @@ -30034,15 +30970,15 @@ }, { "type": "StringLiteral", - "start": 5091, - "end": 5094, + "start": 5258, + "end": 5261, "loc": { "start": { - "line": 163, + "line": 165, "column": 40 }, "end": { - "line": 163, + "line": 165, "column": 43 } }, @@ -30054,20 +30990,37 @@ }, { "type": "Identifier", - "start": 5096, - "end": 5104, + "start": 5263, + "end": 5271, "loc": { "start": { - "line": 163, + "line": 165, "column": 45 }, "end": { - "line": 163, + "line": 165, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5273, + "end": 5282, + "loc": { + "start": { + "line": 165, + "column": 55 + }, + "end": { + "line": 165, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -30075,43 +31028,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5119, - "end": 5440, + "start": 5297, + "end": 5651, "loc": { "start": { - "line": 165, + "line": 167, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "BinaryExpression", - "start": 5122, - "end": 5150, + "start": 5300, + "end": 5328, "loc": { "start": { - "line": 165, + "line": 167, "column": 12 }, "end": { - "line": 165, + "line": 167, "column": 40 } }, "left": { "type": "Identifier", - "start": 5122, - "end": 5128, + "start": 5300, + "end": 5306, "loc": { "start": { - "line": 165, + "line": 167, "column": 12 }, "end": { - "line": 165, + "line": 167, "column": 18 }, "identifierName": "button" @@ -30121,15 +31074,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5133, - "end": 5150, + "start": 5311, + "end": 5328, "loc": { "start": { - "line": 165, + "line": 167, "column": 23 }, "end": { - "line": 165, + "line": 167, "column": 40 } }, @@ -30142,44 +31095,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5159, - "end": 5208, + "start": 5337, + "end": 5397, "loc": { "start": { - "line": 166, + "line": 168, "column": 6 }, "end": { - "line": 166, - "column": 55 + "line": 168, + "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 5159, - "end": 5207, + "start": 5337, + "end": 5396, "loc": { "start": { - "line": 166, + "line": 168, "column": 6 }, "end": { - "line": 166, - "column": 54 + "line": 168, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5159, - "end": 5165, + "start": 5337, + "end": 5343, "loc": { "start": { - "line": 166, + "line": 168, "column": 6 }, "end": { - "line": 166, + "line": 168, "column": 12 }, "identifierName": "output" @@ -30188,58 +31141,58 @@ }, "right": { "type": "CallExpression", - "start": 5168, - "end": 5207, + "start": 5346, + "end": 5396, "loc": { "start": { - "line": 166, + "line": 168, "column": 15 }, "end": { - "line": 166, - "column": 54 + "line": 168, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 5168, - "end": 5184, + "start": 5346, + "end": 5362, "loc": { "start": { - "line": 166, + "line": 168, "column": 15 }, "end": { - "line": 166, + "line": 168, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5168, - "end": 5172, + "start": 5346, + "end": 5350, "loc": { "start": { - "line": 166, + "line": 168, "column": 15 }, "end": { - "line": 166, + "line": 168, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5173, - "end": 5184, + "start": 5351, + "end": 5362, "loc": { "start": { - "line": 166, + "line": 168, "column": 20 }, "end": { - "line": 166, + "line": 168, "column": 31 }, "identifierName": "addStringAt" @@ -30251,15 +31204,15 @@ "arguments": [ { "type": "Identifier", - "start": 5185, - "end": 5191, + "start": 5363, + "end": 5369, "loc": { "start": { - "line": 166, + "line": 168, "column": 32 }, "end": { - "line": 166, + "line": 168, "column": 38 }, "identifierName": "output" @@ -30268,15 +31221,15 @@ }, { "type": "StringLiteral", - "start": 5193, - "end": 5196, + "start": 5371, + "end": 5374, "loc": { "start": { - "line": 166, + "line": 168, "column": 40 }, "end": { - "line": 166, + "line": 168, "column": 43 } }, @@ -30288,20 +31241,37 @@ }, { "type": "Identifier", - "start": 5198, - "end": 5206, + "start": 5376, + "end": 5384, "loc": { "start": { - "line": 166, + "line": 168, "column": 45 }, "end": { - "line": 166, + "line": 168, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5386, + "end": 5395, + "loc": { + "start": { + "line": 168, + "column": 55 + }, + "end": { + "line": 168, + "column": 64 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -30309,57 +31279,57 @@ }, "alternate": { "type": "IfStatement", - "start": 5221, - "end": 5440, + "start": 5410, + "end": 5651, "loc": { "start": { - "line": 168, + "line": 170, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 5224, - "end": 5256, + "start": 5413, + "end": 5445, "loc": { "start": { - "line": 168, + "line": 170, "column": 12 }, "end": { - "line": 168, + "line": 170, "column": 44 } }, "left": { "type": "BinaryExpression", - "start": 5224, - "end": 5238, + "start": 5413, + "end": 5427, "loc": { "start": { - "line": 168, + "line": 170, "column": 12 }, "end": { - "line": 168, + "line": 170, "column": 26 } }, "left": { "type": "Identifier", - "start": 5224, - "end": 5230, + "start": 5413, + "end": 5419, "loc": { "start": { - "line": 168, + "line": 170, "column": 12 }, "end": { - "line": 168, + "line": 170, "column": 18 }, "identifierName": "button" @@ -30369,15 +31339,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5235, - "end": 5238, + "start": 5424, + "end": 5427, "loc": { "start": { - "line": 168, + "line": 170, "column": 23 }, "end": { - "line": 168, + "line": 170, "column": 26 } }, @@ -30391,29 +31361,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 5242, - "end": 5256, + "start": 5431, + "end": 5445, "loc": { "start": { - "line": 168, + "line": 170, "column": 30 }, "end": { - "line": 168, + "line": 170, "column": 44 } }, "left": { "type": "Identifier", - "start": 5242, - "end": 5248, + "start": 5431, + "end": 5437, "loc": { "start": { - "line": 168, + "line": 170, "column": 30 }, "end": { - "line": 168, + "line": 170, "column": 36 }, "identifierName": "button" @@ -30423,15 +31393,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5253, - "end": 5256, + "start": 5442, + "end": 5445, "loc": { "start": { - "line": 168, + "line": 170, "column": 41 }, "end": { - "line": 168, + "line": 170, "column": 44 } }, @@ -30445,44 +31415,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5265, - "end": 5317, + "start": 5454, + "end": 5517, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, - "column": 58 + "line": 171, + "column": 69 } }, "expression": { "type": "AssignmentExpression", - "start": 5265, - "end": 5316, + "start": 5454, + "end": 5516, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, - "column": 57 + "line": 171, + "column": 68 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5265, - "end": 5271, + "start": 5454, + "end": 5460, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, + "line": 171, "column": 12 }, "identifierName": "output" @@ -30491,58 +31461,58 @@ }, "right": { "type": "CallExpression", - "start": 5274, - "end": 5316, + "start": 5463, + "end": 5516, "loc": { "start": { - "line": 169, + "line": 171, "column": 15 }, "end": { - "line": 169, - "column": 57 + "line": 171, + "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 5274, - "end": 5290, + "start": 5463, + "end": 5479, "loc": { "start": { - "line": 169, + "line": 171, "column": 15 }, "end": { - "line": 169, + "line": 171, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5274, - "end": 5278, + "start": 5463, + "end": 5467, "loc": { "start": { - "line": 169, + "line": 171, "column": 15 }, "end": { - "line": 169, + "line": 171, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5279, - "end": 5290, + "start": 5468, + "end": 5479, "loc": { "start": { - "line": 169, + "line": 171, "column": 20 }, "end": { - "line": 169, + "line": 171, "column": 31 }, "identifierName": "addStringAt" @@ -30554,15 +31524,15 @@ "arguments": [ { "type": "Identifier", - "start": 5291, - "end": 5297, + "start": 5480, + "end": 5486, "loc": { "start": { - "line": 169, + "line": 171, "column": 32 }, "end": { - "line": 169, + "line": 171, "column": 38 }, "identifierName": "output" @@ -30571,15 +31541,15 @@ }, { "type": "Identifier", - "start": 5299, - "end": 5305, + "start": 5488, + "end": 5494, "loc": { "start": { - "line": 169, + "line": 171, "column": 40 }, "end": { - "line": 169, + "line": 171, "column": 46 }, "identifierName": "button" @@ -30588,20 +31558,37 @@ }, { "type": "Identifier", - "start": 5307, - "end": 5315, + "start": 5496, + "end": 5504, "loc": { "start": { - "line": 169, + "line": 171, "column": 48 }, "end": { - "line": 169, + "line": 171, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5506, + "end": 5515, + "loc": { + "start": { + "line": 171, + "column": 58 + }, + "end": { + "line": 171, + "column": 67 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -30609,43 +31596,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5330, - "end": 5440, + "start": 5530, + "end": 5651, "loc": { "start": { - "line": 171, + "line": 173, "column": 9 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "test": { "type": "LogicalExpression", - "start": 5333, - "end": 5379, + "start": 5533, + "end": 5579, "loc": { "start": { - "line": 171, + "line": 173, "column": 12 }, "end": { - "line": 171, + "line": 173, "column": 58 } }, "left": { "type": "UnaryExpression", - "start": 5333, - "end": 5354, + "start": 5533, + "end": 5554, "loc": { "start": { - "line": 171, + "line": 173, "column": 12 }, "end": { - "line": 171, + "line": 173, "column": 33 } }, @@ -30653,43 +31640,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 5334, - "end": 5354, + "start": 5534, + "end": 5554, "loc": { "start": { - "line": 171, + "line": 173, "column": 13 }, "end": { - "line": 171, + "line": 173, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 5334, - "end": 5349, + "start": 5534, + "end": 5549, "loc": { "start": { - "line": 171, + "line": 173, "column": 13 }, "end": { - "line": 171, + "line": 173, "column": 28 } }, "object": { "type": "Identifier", - "start": 5334, - "end": 5340, + "start": 5534, + "end": 5540, "loc": { "start": { - "line": 171, + "line": 173, "column": 13 }, "end": { - "line": 171, + "line": 173, "column": 19 }, "identifierName": "button" @@ -30698,15 +31685,15 @@ }, "property": { "type": "Identifier", - "start": 5341, - "end": 5349, + "start": 5541, + "end": 5549, "loc": { "start": { - "line": 171, + "line": 173, "column": 20 }, "end": { - "line": 171, + "line": 173, "column": 28 }, "identifierName": "includes" @@ -30718,15 +31705,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5350, - "end": 5353, + "start": 5550, + "end": 5553, "loc": { "start": { - "line": 171, + "line": 173, "column": 29 }, "end": { - "line": 171, + "line": 173, "column": 32 } }, @@ -30745,15 +31732,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 5358, - "end": 5379, + "start": 5558, + "end": 5579, "loc": { "start": { - "line": 171, + "line": 173, "column": 37 }, "end": { - "line": 171, + "line": 173, "column": 58 } }, @@ -30761,43 +31748,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 5359, - "end": 5379, + "start": 5559, + "end": 5579, "loc": { "start": { - "line": 171, + "line": 173, "column": 38 }, "end": { - "line": 171, + "line": 173, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 5359, - "end": 5374, + "start": 5559, + "end": 5574, "loc": { "start": { - "line": 171, + "line": 173, "column": 38 }, "end": { - "line": 171, + "line": 173, "column": 53 } }, "object": { "type": "Identifier", - "start": 5359, - "end": 5365, + "start": 5559, + "end": 5565, "loc": { "start": { - "line": 171, + "line": 173, "column": 38 }, "end": { - "line": 171, + "line": 173, "column": 44 }, "identifierName": "button" @@ -30806,15 +31793,15 @@ }, "property": { "type": "Identifier", - "start": 5366, - "end": 5374, + "start": 5566, + "end": 5574, "loc": { "start": { - "line": 171, + "line": 173, "column": 45 }, "end": { - "line": 171, + "line": 173, "column": 53 }, "identifierName": "includes" @@ -30826,15 +31813,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5375, - "end": 5378, + "start": 5575, + "end": 5578, "loc": { "start": { - "line": 171, + "line": 173, "column": 54 }, "end": { - "line": 171, + "line": 173, "column": 57 } }, @@ -30853,44 +31840,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5388, - "end": 5440, + "start": 5588, + "end": 5651, "loc": { "start": { - "line": 172, + "line": 174, "column": 6 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } }, "expression": { "type": "AssignmentExpression", - "start": 5388, - "end": 5439, + "start": 5588, + "end": 5650, "loc": { "start": { - "line": 172, + "line": 174, "column": 6 }, "end": { - "line": 172, - "column": 57 + "line": 174, + "column": 68 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5388, - "end": 5394, + "start": 5588, + "end": 5594, "loc": { "start": { - "line": 172, + "line": 174, "column": 6 }, "end": { - "line": 172, + "line": 174, "column": 12 }, "identifierName": "output" @@ -30899,58 +31886,58 @@ }, "right": { "type": "CallExpression", - "start": 5397, - "end": 5439, + "start": 5597, + "end": 5650, "loc": { "start": { - "line": 172, + "line": 174, "column": 15 }, "end": { - "line": 172, - "column": 57 + "line": 174, + "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 5397, - "end": 5413, + "start": 5597, + "end": 5613, "loc": { "start": { - "line": 172, + "line": 174, "column": 15 }, "end": { - "line": 172, + "line": 174, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 5397, - "end": 5401, + "start": 5597, + "end": 5601, "loc": { "start": { - "line": 172, + "line": 174, "column": 15 }, "end": { - "line": 172, + "line": 174, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5402, - "end": 5413, + "start": 5602, + "end": 5613, "loc": { "start": { - "line": 172, + "line": 174, "column": 20 }, "end": { - "line": 172, + "line": 174, "column": 31 }, "identifierName": "addStringAt" @@ -30962,15 +31949,15 @@ "arguments": [ { "type": "Identifier", - "start": 5414, - "end": 5420, + "start": 5614, + "end": 5620, "loc": { "start": { - "line": 172, + "line": 174, "column": 32 }, "end": { - "line": 172, + "line": 174, "column": 38 }, "identifierName": "output" @@ -30979,15 +31966,15 @@ }, { "type": "Identifier", - "start": 5422, - "end": 5428, + "start": 5622, + "end": 5628, "loc": { "start": { - "line": 172, + "line": 174, "column": 40 }, "end": { - "line": 172, + "line": 174, "column": 46 }, "identifierName": "button" @@ -30996,20 +31983,37 @@ }, { "type": "Identifier", - "start": 5430, - "end": 5438, + "start": 5630, + "end": 5638, "loc": { "start": { - "line": 172, + "line": 174, "column": 48 }, "end": { - "line": 172, + "line": 174, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" + }, + { + "type": "Identifier", + "start": 5640, + "end": 5649, + "loc": { + "start": { + "line": 174, + "column": 58 + }, + "end": { + "line": 174, + "column": 67 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ] } @@ -31030,29 +32034,29 @@ }, { "type": "ReturnStatement", - "start": 5448, - "end": 5462, + "start": 5659, + "end": 5673, "loc": { "start": { - "line": 174, + "line": 176, "column": 4 }, "end": { - "line": 174, + "line": 176, "column": 18 } }, "argument": { "type": "Identifier", - "start": 5455, - "end": 5461, + "start": 5666, + "end": 5672, "loc": { "start": { - "line": 174, + "line": 176, "column": 11 }, "end": { - "line": 174, + "line": 176, "column": 17 }, "identifierName": "output" @@ -31067,16 +32071,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", + "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", "start": 3560, - "end": 3877, + "end": 3954, "loc": { "start": { "line": 127, "column": 2 }, "end": { - "line": 134, + "line": 135, "column": 5 } } @@ -31086,15 +32090,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5471, - "end": 5713, + "start": 5684, + "end": 5926, "loc": { "start": { - "line": 176, + "line": 179, "column": 2 }, "end": { - "line": 181, + "line": 184, "column": 5 } } @@ -31103,15 +32107,15 @@ }, { "type": "ClassMethod", - "start": 5717, - "end": 6053, + "start": 5930, + "end": 6267, "loc": { "start": { - "line": 182, + "line": 185, "column": 2 }, "end": { - "line": 189, + "line": 192, "column": 3 } }, @@ -31119,15 +32123,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5717, - "end": 5731, + "start": 5930, + "end": 5944, "loc": { "start": { - "line": 182, + "line": 185, "column": 2 }, "end": { - "line": 182, + "line": 185, "column": 16 }, "identifierName": "updateCaretPos" @@ -31143,15 +32147,15 @@ "params": [ { "type": "Identifier", - "start": 5732, - "end": 5738, + "start": 5945, + "end": 5951, "loc": { "start": { - "line": 182, + "line": 185, "column": 17 }, "end": { - "line": 182, + "line": 185, "column": 23 }, "identifierName": "length" @@ -31160,15 +32164,15 @@ }, { "type": "Identifier", - "start": 5740, - "end": 5745, + "start": 5953, + "end": 5958, "loc": { "start": { - "line": 182, + "line": 185, "column": 25 }, "end": { - "line": 182, + "line": 185, "column": 30 }, "identifierName": "minus" @@ -31178,44 +32182,44 @@ ], "body": { "type": "BlockStatement", - "start": 5746, - "end": 6053, + "start": 5959, + "end": 6267, "loc": { "start": { - "line": 182, + "line": 185, "column": 31 }, "end": { - "line": 189, + "line": 192, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 5753, - "end": 6048, + "start": 5966, + "end": 6262, "loc": { "start": { - "line": 183, + "line": 186, "column": 4 }, "end": { - "line": 188, + "line": 191, "column": 5 } }, "test": { "type": "Identifier", - "start": 5756, - "end": 5761, + "start": 5969, + "end": 5974, "loc": { "start": { - "line": 183, + "line": 186, "column": 7 }, "end": { - "line": 183, + "line": 186, "column": 12 }, "identifierName": "minus" @@ -31224,101 +32228,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 5762, - "end": 5931, + "start": 5975, + "end": 6145, "loc": { "start": { - "line": 183, + "line": 186, "column": 13 }, "end": { - "line": 186, + "line": 189, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 5771, - "end": 5924, + "start": 5984, + "end": 6138, "loc": { "start": { - "line": 184, + "line": 187, "column": 6 }, "end": { - "line": 185, - "column": 102 + "line": 188, + "column": 103 } }, "test": { "type": "BinaryExpression", - "start": 5774, - "end": 5819, + "start": 5987, + "end": 6032, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 5774, - "end": 5815, + "start": 5987, + "end": 6028, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 5774, - "end": 5801, + "start": 5987, + "end": 6014, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 5774, - "end": 5778, + "start": 5987, + "end": 5991, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 13 } } }, "property": { "type": "Identifier", - "start": 5779, - "end": 5801, + "start": 5992, + "end": 6014, "loc": { "start": { - "line": 184, + "line": 187, "column": 14 }, "end": { - "line": 184, + "line": 187, "column": 36 }, "identifierName": "simpleKeyboardInstance" @@ -31329,15 +32333,15 @@ }, "property": { "type": "Identifier", - "start": 5802, - "end": 5815, + "start": 6015, + "end": 6028, "loc": { "start": { - "line": 184, + "line": 187, "column": 37 }, "end": { - "line": 184, + "line": 187, "column": 50 }, "identifierName": "caretPosition" @@ -31349,15 +32353,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 5818, - "end": 5819, + "start": 6031, + "end": 6032, "loc": { "start": { - "line": 184, + "line": 187, "column": 53 }, "end": { - "line": 184, + "line": 187, "column": 54 } }, @@ -31370,87 +32374,87 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5830, - "end": 5924, + "start": 6043, + "end": 6138, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, - "column": 102 + "line": 188, + "column": 103 } }, "expression": { "type": "AssignmentExpression", - "start": 5830, - "end": 5924, + "start": 6043, + "end": 6137, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5830, - "end": 5871, + "start": 6043, + "end": 6084, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 5830, - "end": 5857, + "start": 6043, + "end": 6070, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 5830, - "end": 5834, + "start": 6043, + "end": 6047, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5835, - "end": 5857, + "start": 6048, + "end": 6070, "loc": { "start": { - "line": 185, + "line": 188, "column": 13 }, "end": { - "line": 185, + "line": 188, "column": 35 }, "identifierName": "simpleKeyboardInstance" @@ -31461,15 +32465,15 @@ }, "property": { "type": "Identifier", - "start": 5858, - "end": 5871, + "start": 6071, + "end": 6084, "loc": { "start": { - "line": 185, + "line": 188, "column": 36 }, "end": { - "line": 185, + "line": 188, "column": 49 }, "identifierName": "caretPosition" @@ -31480,72 +32484,72 @@ }, "right": { "type": "BinaryExpression", - "start": 5874, - "end": 5924, + "start": 6087, + "end": 6137, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 102 } }, "left": { "type": "MemberExpression", - "start": 5874, - "end": 5915, + "start": 6087, + "end": 6128, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 93 } }, "object": { "type": "MemberExpression", - "start": 5874, - "end": 5901, + "start": 6087, + "end": 6114, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 79 } }, "object": { "type": "ThisExpression", - "start": 5874, - "end": 5878, + "start": 6087, + "end": 6091, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 56 } } }, "property": { "type": "Identifier", - "start": 5879, - "end": 5901, + "start": 6092, + "end": 6114, "loc": { "start": { - "line": 185, + "line": 188, "column": 57 }, "end": { - "line": 185, + "line": 188, "column": 79 }, "identifierName": "simpleKeyboardInstance" @@ -31556,15 +32560,15 @@ }, "property": { "type": "Identifier", - "start": 5902, - "end": 5915, + "start": 6115, + "end": 6128, "loc": { "start": { - "line": 185, + "line": 188, "column": 80 }, "end": { - "line": 185, + "line": 188, "column": 93 }, "identifierName": "caretPosition" @@ -31576,15 +32580,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 5918, - "end": 5924, + "start": 6131, + "end": 6137, "loc": { "start": { - "line": 185, + "line": 188, "column": 96 }, "end": { - "line": 185, + "line": 188, "column": 102 }, "identifierName": "length" @@ -31601,102 +32605,102 @@ }, "alternate": { "type": "BlockStatement", - "start": 5937, - "end": 6048, + "start": 6151, + "end": 6262, "loc": { "start": { - "line": 186, + "line": 189, "column": 11 }, "end": { - "line": 188, + "line": 191, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 5946, - "end": 6041, + "start": 6160, + "end": 6255, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 101 } }, "expression": { "type": "AssignmentExpression", - "start": 5946, - "end": 6040, + "start": 6160, + "end": 6254, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 100 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5946, - "end": 5987, + "start": 6160, + "end": 6201, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 5946, - "end": 5973, + "start": 6160, + "end": 6187, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 5946, - "end": 5950, + "start": 6160, + "end": 6164, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5951, - "end": 5973, + "start": 6165, + "end": 6187, "loc": { "start": { - "line": 187, + "line": 190, "column": 11 }, "end": { - "line": 187, + "line": 190, "column": 33 }, "identifierName": "simpleKeyboardInstance" @@ -31707,15 +32711,15 @@ }, "property": { "type": "Identifier", - "start": 5974, - "end": 5987, + "start": 6188, + "end": 6201, "loc": { "start": { - "line": 187, + "line": 190, "column": 34 }, "end": { - "line": 187, + "line": 190, "column": 47 }, "identifierName": "caretPosition" @@ -31726,72 +32730,72 @@ }, "right": { "type": "BinaryExpression", - "start": 5990, - "end": 6040, + "start": 6204, + "end": 6254, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 100 } }, "left": { "type": "MemberExpression", - "start": 5990, - "end": 6031, + "start": 6204, + "end": 6245, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 91 } }, "object": { "type": "MemberExpression", - "start": 5990, - "end": 6017, + "start": 6204, + "end": 6231, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 77 } }, "object": { "type": "ThisExpression", - "start": 5990, - "end": 5994, + "start": 6204, + "end": 6208, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 54 } } }, "property": { "type": "Identifier", - "start": 5995, - "end": 6017, + "start": 6209, + "end": 6231, "loc": { "start": { - "line": 187, + "line": 190, "column": 55 }, "end": { - "line": 187, + "line": 190, "column": 77 }, "identifierName": "simpleKeyboardInstance" @@ -31802,15 +32806,15 @@ }, "property": { "type": "Identifier", - "start": 6018, - "end": 6031, + "start": 6232, + "end": 6245, "loc": { "start": { - "line": 187, + "line": 190, "column": 78 }, "end": { - "line": 187, + "line": 190, "column": 91 }, "identifierName": "caretPosition" @@ -31822,15 +32826,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6034, - "end": 6040, + "start": 6248, + "end": 6254, "loc": { "start": { - "line": 187, + "line": 190, "column": 94 }, "end": { - "line": 187, + "line": 190, "column": 100 }, "identifierName": "length" @@ -31852,15 +32856,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5471, - "end": 5713, + "start": 5684, + "end": 5926, "loc": { "start": { - "line": 176, + "line": 179, "column": 2 }, "end": { - "line": 181, + "line": 184, "column": 5 } } @@ -31869,16 +32873,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 6059, - "end": 6311, + "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 6273, + "end": 6602, "loc": { "start": { - "line": 191, + "line": 194, "column": 2 }, "end": { - "line": 197, + "line": 201, "column": 5 } } @@ -31887,15 +32891,15 @@ }, { "type": "ClassMethod", - "start": 6315, - "end": 6860, + "start": 6606, + "end": 7189, "loc": { "start": { - "line": 198, + "line": 202, "column": 2 }, "end": { - "line": 220, + "line": 224, "column": 3 } }, @@ -31903,15 +32907,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6315, - "end": 6326, + "start": 6606, + "end": 6617, "loc": { "start": { - "line": 198, + "line": 202, "column": 2 }, "end": { - "line": 198, + "line": 202, "column": 13 }, "identifierName": "addStringAt" @@ -31927,15 +32931,15 @@ "params": [ { "type": "Identifier", - "start": 6327, - "end": 6333, + "start": 6618, + "end": 6624, "loc": { "start": { - "line": 198, + "line": 202, "column": 14 }, "end": { - "line": 198, + "line": 202, "column": 20 }, "identifierName": "source" @@ -31944,15 +32948,15 @@ }, { "type": "Identifier", - "start": 6335, - "end": 6341, + "start": 6626, + "end": 6632, "loc": { "start": { - "line": 198, + "line": 202, "column": 22 }, "end": { - "line": 198, + "line": 202, "column": 28 }, "identifierName": "string" @@ -31961,77 +32965,94 @@ }, { "type": "Identifier", - "start": 6343, - "end": 6351, + "start": 6634, + "end": 6642, "loc": { "start": { - "line": 198, + "line": 202, "column": 30 }, "end": { - "line": 198, + "line": 202, "column": 38 }, "identifierName": "position" }, "name": "position" + }, + { + "type": "Identifier", + "start": 6644, + "end": 6653, + "loc": { + "start": { + "line": 202, + "column": 40 + }, + "end": { + "line": 202, + "column": 49 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ], "body": { "type": "BlockStatement", - "start": 6352, - "end": 6860, + "start": 6654, + "end": 7189, "loc": { "start": { - "line": 198, - "column": 39 + "line": 202, + "column": 50 }, "end": { - "line": 220, + "line": 224, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 6359, - "end": 6370, + "start": 6661, + "end": 6672, "loc": { "start": { - "line": 199, + "line": 203, "column": 4 }, "end": { - "line": 199, + "line": 203, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6363, - "end": 6369, + "start": 6665, + "end": 6671, "loc": { "start": { - "line": 199, + "line": 203, "column": 8 }, "end": { - "line": 199, + "line": 203, "column": 14 } }, "id": { "type": "Identifier", - "start": 6363, - "end": 6369, + "start": 6665, + "end": 6671, "loc": { "start": { - "line": 199, + "line": 203, "column": 8 }, "end": { - "line": 199, + "line": 203, "column": 14 }, "identifierName": "output" @@ -32045,275 +33066,8 @@ }, { "type": "IfStatement", - "start": 6378, - "end": 6474, - "loc": { - "start": { - "line": 201, - "column": 4 - }, - "end": { - "line": 203, - "column": 5 - } - }, - "test": { - "type": "MemberExpression", - "start": 6381, - "end": 6422, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 6381, - "end": 6416, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 6381, - "end": 6408, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 6381, - "end": 6385, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 6386, - "end": 6408, - "loc": { - "start": { - "line": 201, - "column": 12 - }, - "end": { - "line": 201, - "column": 34 - }, - "identifierName": "simpleKeyboardInstance" - }, - "name": "simpleKeyboardInstance" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6409, - "end": 6416, - "loc": { - "start": { - "line": 201, - "column": 35 - }, - "end": { - "line": 201, - "column": 42 - }, - "identifierName": "options" - }, - "name": "options" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6417, - "end": 6422, - "loc": { - "start": { - "line": 201, - "column": 43 - }, - "end": { - "line": 201, - "column": 48 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 6423, - "end": 6474, - "loc": { - "start": { - "line": 201, - "column": 49 - }, - "end": { - "line": 203, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6432, - "end": 6467, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 6432, - "end": 6466, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6432, - "end": 6443, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 6432, - "end": 6439, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 6440, - "end": 6443, - "loc": { - "start": { - "line": 202, - "column": 14 - }, - "end": { - "line": 202, - "column": 17 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 6444, - "end": 6455, - "loc": { - "start": { - "line": 202, - "column": 18 - }, - "end": { - "line": 202, - "column": 29 - } - }, - "extra": { - "rawValue": "Caret at:", - "raw": "\"Caret at:\"" - }, - "value": "Caret at:" - }, - { - "type": "Identifier", - "start": 6457, - "end": 6465, - "loc": { - "start": { - "line": 202, - "column": 31 - }, - "end": { - "line": 202, - "column": 39 - }, - "identifierName": "position" - }, - "name": "position" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 6482, - "end": 6833, + "start": 6680, + "end": 7045, "loc": { "start": { "line": 205, @@ -32326,8 +33080,8 @@ }, "test": { "type": "LogicalExpression", - "start": 6485, - "end": 6512, + "start": 6683, + "end": 6710, "loc": { "start": { "line": 205, @@ -32340,8 +33094,8 @@ }, "left": { "type": "UnaryExpression", - "start": 6485, - "end": 6494, + "start": 6683, + "end": 6692, "loc": { "start": { "line": 205, @@ -32356,8 +33110,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6486, - "end": 6494, + "start": 6684, + "end": 6692, "loc": { "start": { "line": 205, @@ -32378,8 +33132,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 6498, - "end": 6512, + "start": 6696, + "end": 6710, "loc": { "start": { "line": 205, @@ -32392,8 +33146,8 @@ }, "left": { "type": "Identifier", - "start": 6498, - "end": 6506, + "start": 6696, + "end": 6704, "loc": { "start": { "line": 205, @@ -32410,8 +33164,8 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 6511, - "end": 6512, + "start": 6709, + "end": 6710, "loc": { "start": { "line": 205, @@ -32432,8 +33186,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6513, - "end": 6554, + "start": 6711, + "end": 6752, "loc": { "start": { "line": 205, @@ -32447,8 +33201,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6522, - "end": 6547, + "start": 6720, + "end": 6745, "loc": { "start": { "line": 206, @@ -32461,8 +33215,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6522, - "end": 6546, + "start": 6720, + "end": 6744, "loc": { "start": { "line": 206, @@ -32476,8 +33230,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6522, - "end": 6528, + "start": 6720, + "end": 6726, "loc": { "start": { "line": 206, @@ -32493,8 +33247,8 @@ }, "right": { "type": "BinaryExpression", - "start": 6531, - "end": 6546, + "start": 6729, + "end": 6744, "loc": { "start": { "line": 206, @@ -32507,8 +33261,8 @@ }, "left": { "type": "Identifier", - "start": 6531, - "end": 6537, + "start": 6729, + "end": 6735, "loc": { "start": { "line": 206, @@ -32525,8 +33279,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6540, - "end": 6546, + "start": 6738, + "end": 6744, "loc": { "start": { "line": 206, @@ -32548,8 +33302,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 6560, - "end": 6833, + "start": 6758, + "end": 7045, "loc": { "start": { "line": 207, @@ -32563,8 +33317,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 6569, - "end": 6647, + "start": 6767, + "end": 6845, "loc": { "start": { "line": 208, @@ -32577,8 +33331,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6569, - "end": 6646, + "start": 6767, + "end": 6844, "loc": { "start": { "line": 208, @@ -32592,8 +33346,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6569, - "end": 6575, + "start": 6767, + "end": 6773, "loc": { "start": { "line": 208, @@ -32609,8 +33363,8 @@ }, "right": { "type": "CallExpression", - "start": 6578, - "end": 6646, + "start": 6776, + "end": 6844, "loc": { "start": { "line": 208, @@ -32623,8 +33377,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6578, - "end": 6642, + "start": 6776, + "end": 6840, "loc": { "start": { "line": 208, @@ -32637,8 +33391,8 @@ }, "object": { "type": "ArrayExpression", - "start": 6578, - "end": 6637, + "start": 6776, + "end": 6835, "loc": { "start": { "line": 208, @@ -32652,8 +33406,8 @@ "elements": [ { "type": "CallExpression", - "start": 6579, - "end": 6604, + "start": 6777, + "end": 6802, "loc": { "start": { "line": 208, @@ -32666,8 +33420,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6579, - "end": 6591, + "start": 6777, + "end": 6789, "loc": { "start": { "line": 208, @@ -32680,8 +33434,8 @@ }, "object": { "type": "Identifier", - "start": 6579, - "end": 6585, + "start": 6777, + "end": 6783, "loc": { "start": { "line": 208, @@ -32697,8 +33451,8 @@ }, "property": { "type": "Identifier", - "start": 6586, - "end": 6591, + "start": 6784, + "end": 6789, "loc": { "start": { "line": 208, @@ -32717,8 +33471,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6592, - "end": 6593, + "start": 6790, + "end": 6791, "loc": { "start": { "line": 208, @@ -32737,8 +33491,8 @@ }, { "type": "Identifier", - "start": 6595, - "end": 6603, + "start": 6793, + "end": 6801, "loc": { "start": { "line": 208, @@ -32756,8 +33510,8 @@ }, { "type": "Identifier", - "start": 6606, - "end": 6612, + "start": 6804, + "end": 6810, "loc": { "start": { "line": 208, @@ -32773,8 +33527,8 @@ }, { "type": "CallExpression", - "start": 6614, - "end": 6636, + "start": 6812, + "end": 6834, "loc": { "start": { "line": 208, @@ -32787,8 +33541,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6614, - "end": 6626, + "start": 6812, + "end": 6824, "loc": { "start": { "line": 208, @@ -32801,8 +33555,8 @@ }, "object": { "type": "Identifier", - "start": 6614, - "end": 6620, + "start": 6812, + "end": 6818, "loc": { "start": { "line": 208, @@ -32818,8 +33572,8 @@ }, "property": { "type": "Identifier", - "start": 6621, - "end": 6626, + "start": 6819, + "end": 6824, "loc": { "start": { "line": 208, @@ -32838,8 +33592,8 @@ "arguments": [ { "type": "Identifier", - "start": 6627, - "end": 6635, + "start": 6825, + "end": 6833, "loc": { "start": { "line": 208, @@ -32859,8 +33613,8 @@ }, "property": { "type": "Identifier", - "start": 6638, - "end": 6642, + "start": 6836, + "end": 6840, "loc": { "start": { "line": 208, @@ -32879,8 +33633,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 6643, - "end": 6645, + "start": 6841, + "end": 6843, "loc": { "start": { "line": 208, @@ -32904,8 +33658,8 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6657, - "end": 6731, + "start": 6855, + "end": 6929, "loc": { "start": { "line": 210, @@ -32921,8 +33675,8 @@ }, { "type": "IfStatement", - "start": 6739, - "end": 6824, + "start": 6937, + "end": 7036, "loc": { "start": { "line": 213, @@ -32935,8 +33689,8 @@ }, "test": { "type": "UnaryExpression", - "start": 6742, - "end": 6768, + "start": 6940, + "end": 6966, "loc": { "start": { "line": 213, @@ -32951,8 +33705,8 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 6743, - "end": 6768, + "start": 6941, + "end": 6966, "loc": { "start": { "line": 213, @@ -32965,8 +33719,8 @@ }, "callee": { "type": "MemberExpression", - "start": 6743, - "end": 6766, + "start": 6941, + "end": 6964, "loc": { "start": { "line": 213, @@ -32979,8 +33733,8 @@ }, "object": { "type": "ThisExpression", - "start": 6743, - "end": 6747, + "start": 6941, + "end": 6945, "loc": { "start": { "line": 213, @@ -32995,8 +33749,8 @@ }, "property": { "type": "Identifier", - "start": 6748, - "end": 6766, + "start": 6946, + "end": 6964, "loc": { "start": { "line": 213, @@ -33023,8 +33777,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 6769, - "end": 6824, + "start": 6967, + "end": 7036, "loc": { "start": { "line": 213, @@ -33037,9 +33791,9 @@ }, "body": [ { - "type": "ExpressionStatement", - "start": 6780, - "end": 6815, + "type": "IfStatement", + "start": 6978, + "end": 7027, "loc": { "start": { "line": 214, @@ -33047,80 +33801,62 @@ }, "end": { "line": 214, - "column": 43 + "column": 57 } }, - "expression": { - "type": "CallExpression", - "start": 6780, - "end": 6814, + "test": { + "type": "Identifier", + "start": 6981, + "end": 6990, "loc": { "start": { "line": 214, - "column": 8 + "column": 11 }, "end": { "line": 214, - "column": 42 + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 6992, + "end": 7027, + "loc": { + "start": { + "line": 214, + "column": 22 + }, + "end": { + "line": 214, + "column": 57 } }, - "callee": { - "type": "MemberExpression", - "start": 6780, - "end": 6799, + "expression": { + "type": "CallExpression", + "start": 6992, + "end": 7026, "loc": { "start": { "line": 214, - "column": 8 + "column": 22 }, "end": { "line": 214, - "column": 27 + "column": 56 } }, - "object": { - "type": "ThisExpression", - "start": 6780, - "end": 6784, - "loc": { - "start": { - "line": 214, - "column": 8 - }, - "end": { - "line": 214, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 6785, - "end": 6799, - "loc": { - "start": { - "line": 214, - "column": 13 - }, - "end": { - "line": 214, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { + "callee": { "type": "MemberExpression", - "start": 6800, - "end": 6813, + "start": 6992, + "end": 7011, "loc": { "start": { "line": 214, - "column": 28 + "column": 22 }, "end": { "line": 214, @@ -33128,43 +33864,94 @@ } }, "object": { - "type": "Identifier", - "start": 6800, - "end": 6806, + "type": "ThisExpression", + "start": 6992, + "end": 6996, "loc": { "start": { "line": 214, - "column": 28 + "column": 22 }, "end": { "line": 214, - "column": 34 - }, - "identifierName": "string" - }, - "name": "string" + "column": 26 + } + } }, "property": { "type": "Identifier", - "start": 6807, - "end": 6813, + "start": 6997, + "end": 7011, "loc": { "start": { "line": 214, - "column": 35 + "column": 27 }, "end": { "line": 214, "column": 41 }, - "identifierName": "length" + "identifierName": "updateCaretPos" }, - "name": "length" + "name": "updateCaretPos" }, "computed": false - } - ] - } + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 7012, + "end": 7025, + "loc": { + "start": { + "line": 214, + "column": 42 + }, + "end": { + "line": 214, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 7012, + "end": 7018, + "loc": { + "start": { + "line": 214, + "column": 42 + }, + "end": { + "line": 214, + "column": 48 + }, + "identifierName": "string" + }, + "name": "string" + }, + "property": { + "type": "Identifier", + "start": 7019, + "end": 7025, + "loc": { + "start": { + "line": 214, + "column": 49 + }, + "end": { + "line": 214, + "column": 55 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + ] + } + }, + "alternate": null } ], "directives": [] @@ -33174,8 +33961,8 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6657, - "end": 6731, + "start": 6855, + "end": 6929, "loc": { "start": { "line": 210, @@ -33194,30 +33981,330 @@ } }, { - "type": "ReturnStatement", - "start": 6841, - "end": 6855, + "type": "IfStatement", + "start": 7053, + "end": 7162, "loc": { "start": { "line": 219, "column": 4 }, "end": { - "line": 219, + "line": 221, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 7056, + "end": 7110, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 61 + } + }, + "left": { + "type": "MemberExpression", + "start": 7056, + "end": 7097, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 7056, + "end": 7091, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 7056, + "end": 7083, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 7056, + "end": 7060, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 7061, + "end": 7083, + "loc": { + "start": { + "line": 219, + "column": 12 + }, + "end": { + "line": 219, + "column": 34 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7084, + "end": 7091, + "loc": { + "start": { + "line": 219, + "column": 35 + }, + "end": { + "line": 219, + "column": 42 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7092, + "end": 7097, + "loc": { + "start": { + "line": 219, + "column": 43 + }, + "end": { + "line": 219, + "column": 48 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 7101, + "end": 7110, + "loc": { + "start": { + "line": 219, + "column": 52 + }, + "end": { + "line": 219, + "column": 61 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 7111, + "end": 7162, + "loc": { + "start": { + "line": 219, + "column": 62 + }, + "end": { + "line": 221, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 7120, + "end": 7155, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 41 + } + }, + "expression": { + "type": "CallExpression", + "start": 7120, + "end": 7154, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 7120, + "end": 7131, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 7120, + "end": 7127, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 7128, + "end": 7131, + "loc": { + "start": { + "line": 220, + "column": 14 + }, + "end": { + "line": 220, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 7132, + "end": 7143, + "loc": { + "start": { + "line": 220, + "column": 18 + }, + "end": { + "line": 220, + "column": 29 + } + }, + "extra": { + "rawValue": "Caret at:", + "raw": "\"Caret at:\"" + }, + "value": "Caret at:" + }, + { + "type": "Identifier", + "start": 7145, + "end": 7153, + "loc": { + "start": { + "line": 220, + "column": 31 + }, + "end": { + "line": 220, + "column": 39 + }, + "identifierName": "position" + }, + "name": "position" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 7170, + "end": 7184, + "loc": { + "start": { + "line": 223, + "column": 4 + }, + "end": { + "line": 223, "column": 18 } }, "argument": { "type": "Identifier", - "start": 6848, - "end": 6854, + "start": 7177, + "end": 7183, "loc": { "start": { - "line": 219, + "line": 223, "column": 11 }, "end": { - "line": 219, + "line": 223, "column": 17 }, "identifierName": "output" @@ -33232,16 +34319,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 6059, - "end": 6311, + "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 6273, + "end": 6602, "loc": { "start": { - "line": 191, + "line": 194, "column": 2 }, "end": { - "line": 197, + "line": 201, "column": 5 } } @@ -33250,16 +34337,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6866, - "end": 7086, + "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 7195, + "end": 7492, "loc": { "start": { - "line": 222, + "line": 226, "column": 2 }, "end": { - "line": 227, + "line": 232, "column": 5 } } @@ -33268,15 +34355,15 @@ }, { "type": "ClassMethod", - "start": 7090, - "end": 8320, + "start": 7496, + "end": 8943, "loc": { "start": { - "line": 228, + "line": 233, "column": 2 }, "end": { - "line": 267, + "line": 276, "column": 3 } }, @@ -33284,15 +34371,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7090, - "end": 7098, + "start": 7496, + "end": 7504, "loc": { "start": { - "line": 228, + "line": 233, "column": 2 }, "end": { - "line": 228, + "line": 233, "column": 10 }, "identifierName": "removeAt" @@ -33308,15 +34395,15 @@ "params": [ { "type": "Identifier", - "start": 7099, - "end": 7105, + "start": 7505, + "end": 7511, "loc": { "start": { - "line": 228, + "line": 233, "column": 11 }, "end": { - "line": 228, + "line": 233, "column": 17 }, "identifierName": "source" @@ -33325,119 +34412,136 @@ }, { "type": "Identifier", - "start": 7107, - "end": 7115, + "start": 7513, + "end": 7521, "loc": { "start": { - "line": 228, + "line": 233, "column": 19 }, "end": { - "line": 228, + "line": 233, "column": 27 }, "identifierName": "position" }, "name": "position" + }, + { + "type": "Identifier", + "start": 7523, + "end": 7532, + "loc": { + "start": { + "line": 233, + "column": 29 + }, + "end": { + "line": 233, + "column": 38 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" } ], "body": { "type": "BlockStatement", - "start": 7116, - "end": 8320, + "start": 7533, + "end": 8943, "loc": { "start": { - "line": 228, - "column": 28 + "line": 233, + "column": 39 }, "end": { - "line": 267, + "line": 276, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 7123, - "end": 7204, + "start": 7540, + "end": 7621, "loc": { "start": { - "line": 229, + "line": 234, "column": 4 }, "end": { - "line": 231, + "line": 236, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 7126, - "end": 7173, + "start": 7543, + "end": 7590, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 7126, - "end": 7167, + "start": 7543, + "end": 7584, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 7126, - "end": 7153, + "start": 7543, + "end": 7570, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 7126, - "end": 7130, + "start": 7543, + "end": 7547, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 11 } } }, "property": { "type": "Identifier", - "start": 7131, - "end": 7153, + "start": 7548, + "end": 7570, "loc": { "start": { - "line": 229, + "line": 234, "column": 12 }, "end": { - "line": 229, + "line": 234, "column": 34 }, "identifierName": "simpleKeyboardInstance" @@ -33448,15 +34552,15 @@ }, "property": { "type": "Identifier", - "start": 7154, - "end": 7167, + "start": 7571, + "end": 7584, "loc": { "start": { - "line": 229, + "line": 234, "column": 35 }, "end": { - "line": 229, + "line": 234, "column": 48 }, "identifierName": "caretPosition" @@ -33468,15 +34572,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 7172, - "end": 7173, + "start": 7589, + "end": 7590, "loc": { "start": { - "line": 229, + "line": 234, "column": 53 }, "end": { - "line": 229, + "line": 234, "column": 54 } }, @@ -33489,44 +34593,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 7174, - "end": 7204, + "start": 7591, + "end": 7621, "loc": { "start": { - "line": 229, + "line": 234, "column": 55 }, "end": { - "line": 231, + "line": 236, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 7183, - "end": 7197, + "start": 7600, + "end": 7614, "loc": { "start": { - "line": 230, + "line": 235, "column": 6 }, "end": { - "line": 230, + "line": 235, "column": 20 } }, "argument": { "type": "Identifier", - "start": 7190, - "end": 7196, + "start": 7607, + "end": 7613, "loc": { "start": { - "line": 230, + "line": 235, "column": 13 }, "end": { - "line": 230, + "line": 235, "column": 19 }, "identifierName": "source" @@ -33541,44 +34645,44 @@ }, { "type": "VariableDeclaration", - "start": 7212, - "end": 7223, + "start": 7629, + "end": 7640, "loc": { "start": { - "line": 233, + "line": 238, "column": 4 }, "end": { - "line": 233, + "line": 238, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7216, - "end": 7222, + "start": 7633, + "end": 7639, "loc": { "start": { - "line": 233, + "line": 238, "column": 8 }, "end": { - "line": 233, + "line": 238, "column": 14 } }, "id": { "type": "Identifier", - "start": 7216, - "end": 7222, + "start": 7633, + "end": 7639, "loc": { "start": { - "line": 233, + "line": 238, "column": 8 }, "end": { - "line": 233, + "line": 238, "column": 14 }, "identifierName": "output" @@ -33592,44 +34696,44 @@ }, { "type": "VariableDeclaration", - "start": 7229, - "end": 7246, + "start": 7646, + "end": 7663, "loc": { "start": { - "line": 234, + "line": 239, "column": 4 }, "end": { - "line": 234, + "line": 239, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7233, - "end": 7245, + "start": 7650, + "end": 7662, "loc": { "start": { - "line": 234, + "line": 239, "column": 8 }, "end": { - "line": 234, + "line": 239, "column": 20 } }, "id": { "type": "Identifier", - "start": 7233, - "end": 7245, + "start": 7650, + "end": 7662, "loc": { "start": { - "line": 234, + "line": 239, "column": 8 }, "end": { - "line": 234, + "line": 239, "column": 20 }, "identifierName": "prevTwoChars" @@ -33643,44 +34747,44 @@ }, { "type": "VariableDeclaration", - "start": 7252, - "end": 7269, + "start": 7669, + "end": 7686, "loc": { "start": { - "line": 235, + "line": 240, "column": 4 }, "end": { - "line": 235, + "line": 240, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7256, - "end": 7268, + "start": 7673, + "end": 7685, "loc": { "start": { - "line": 235, + "line": 240, "column": 8 }, "end": { - "line": 235, + "line": 240, "column": 20 } }, "id": { "type": "Identifier", - "start": 7256, - "end": 7268, + "start": 7673, + "end": 7685, "loc": { "start": { - "line": 235, + "line": 240, "column": 8 }, "end": { - "line": 235, + "line": 240, "column": 20 }, "identifierName": "emojiMatched" @@ -33694,44 +34798,44 @@ }, { "type": "VariableDeclaration", - "start": 7275, - "end": 7333, + "start": 7692, + "end": 7750, "loc": { "start": { - "line": 236, + "line": 241, "column": 4 }, "end": { - "line": 236, + "line": 241, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7279, - "end": 7332, + "start": 7696, + "end": 7749, "loc": { "start": { - "line": 236, + "line": 241, "column": 8 }, "end": { - "line": 236, + "line": 241, "column": 61 } }, "id": { "type": "Identifier", - "start": 7279, - "end": 7294, + "start": 7696, + "end": 7711, "loc": { "start": { - "line": 236, + "line": 241, "column": 8 }, "end": { - "line": 236, + "line": 241, "column": 23 }, "identifierName": "emojiMatchedReg" @@ -33740,15 +34844,15 @@ }, "init": { "type": "RegExpLiteral", - "start": 7297, - "end": 7332, + "start": 7714, + "end": 7749, "loc": { "start": { - "line": 236, + "line": 241, "column": 26 }, "end": { - "line": 236, + "line": 241, "column": 61 } }, @@ -33765,15 +34869,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 7341, - "end": 7521, + "start": 7758, + "end": 7938, "loc": { "start": { - "line": 238, + "line": 243, "column": 4 }, "end": { - "line": 241, + "line": 246, "column": 7 } } @@ -33782,43 +34886,43 @@ }, { "type": "IfStatement", - "start": 7527, - "end": 8293, + "start": 7944, + "end": 8766, "loc": { "start": { - "line": 242, + "line": 247, "column": 4 }, "end": { - "line": 264, + "line": 269, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 7530, - "end": 7555, + "start": 7947, + "end": 7972, "loc": { "start": { - "line": 242, + "line": 247, "column": 7 }, "end": { - "line": 242, + "line": 247, "column": 32 } }, "left": { "type": "Identifier", - "start": 7530, - "end": 7538, + "start": 7947, + "end": 7955, "loc": { "start": { - "line": 242, + "line": 247, "column": 7 }, "end": { - "line": 242, + "line": 247, "column": 15 }, "identifierName": "position" @@ -33829,29 +34933,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 7542, - "end": 7555, + "start": 7959, + "end": 7972, "loc": { "start": { - "line": 242, + "line": 247, "column": 19 }, "end": { - "line": 242, + "line": 247, "column": 32 } }, "left": { "type": "Identifier", - "start": 7542, - "end": 7550, + "start": 7959, + "end": 7967, "loc": { "start": { - "line": 242, + "line": 247, "column": 19 }, "end": { - "line": 242, + "line": 247, "column": 27 }, "identifierName": "position" @@ -33861,15 +34965,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 7554, - "end": 7555, + "start": 7971, + "end": 7972, "loc": { "start": { - "line": 242, + "line": 247, "column": 31 }, "end": { - "line": 242, + "line": 247, "column": 32 } }, @@ -33884,59 +34988,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7556, - "end": 7972, + "start": 7973, + "end": 8417, "loc": { "start": { - "line": 242, + "line": 247, "column": 33 }, "end": { - "line": 253, + "line": 258, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7565, - "end": 7620, + "start": 7982, + "end": 8037, "loc": { "start": { - "line": 243, + "line": 248, "column": 6 }, "end": { - "line": 243, + "line": 248, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 7565, - "end": 7620, + "start": 7982, + "end": 8037, "loc": { "start": { - "line": 243, + "line": 248, "column": 6 }, "end": { - "line": 243, + "line": 248, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7565, - "end": 7577, + "start": 7982, + "end": 7994, "loc": { "start": { - "line": 243, + "line": 248, "column": 6 }, "end": { - "line": 243, + "line": 248, "column": 18 }, "identifierName": "prevTwoChars" @@ -33945,43 +35049,43 @@ }, "right": { "type": "CallExpression", - "start": 7580, - "end": 7620, + "start": 7997, + "end": 8037, "loc": { "start": { - "line": 243, + "line": 248, "column": 21 }, "end": { - "line": 243, + "line": 248, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 7580, - "end": 7596, + "start": 7997, + "end": 8013, "loc": { "start": { - "line": 243, + "line": 248, "column": 21 }, "end": { - "line": 243, + "line": 248, "column": 37 } }, "object": { "type": "Identifier", - "start": 7580, - "end": 7586, + "start": 7997, + "end": 8003, "loc": { "start": { - "line": 243, + "line": 248, "column": 21 }, "end": { - "line": 243, + "line": 248, "column": 27 }, "identifierName": "source" @@ -33990,15 +35094,15 @@ }, "property": { "type": "Identifier", - "start": 7587, - "end": 7596, + "start": 8004, + "end": 8013, "loc": { "start": { - "line": 243, + "line": 248, "column": 28 }, "end": { - "line": 243, + "line": 248, "column": 37 }, "identifierName": "substring" @@ -34010,29 +35114,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7597, - "end": 7609, + "start": 8014, + "end": 8026, "loc": { "start": { - "line": 243, + "line": 248, "column": 38 }, "end": { - "line": 243, + "line": 248, "column": 50 } }, "left": { "type": "Identifier", - "start": 7597, - "end": 7605, + "start": 8014, + "end": 8022, "loc": { "start": { - "line": 243, + "line": 248, "column": 38 }, "end": { - "line": 243, + "line": 248, "column": 46 }, "identifierName": "position" @@ -34042,15 +35146,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7608, - "end": 7609, + "start": 8025, + "end": 8026, "loc": { "start": { - "line": 243, + "line": 248, "column": 49 }, "end": { - "line": 243, + "line": 248, "column": 50 } }, @@ -34063,15 +35167,15 @@ }, { "type": "Identifier", - "start": 7611, - "end": 7619, + "start": 8028, + "end": 8036, "loc": { "start": { - "line": 243, + "line": 248, "column": 52 }, "end": { - "line": 243, + "line": 248, "column": 60 }, "identifierName": "position" @@ -34084,44 +35188,44 @@ }, { "type": "ExpressionStatement", - "start": 7628, - "end": 7679, + "start": 8045, + "end": 8096, "loc": { "start": { - "line": 244, + "line": 249, "column": 6 }, "end": { - "line": 244, + "line": 249, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 7628, - "end": 7678, + "start": 8045, + "end": 8095, "loc": { "start": { - "line": 244, + "line": 249, "column": 6 }, "end": { - "line": 244, + "line": 249, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7628, - "end": 7640, + "start": 8045, + "end": 8057, "loc": { "start": { - "line": 244, + "line": 249, "column": 6 }, "end": { - "line": 244, + "line": 249, "column": 18 }, "identifierName": "emojiMatched" @@ -34130,43 +35234,43 @@ }, "right": { "type": "CallExpression", - "start": 7643, - "end": 7678, + "start": 8060, + "end": 8095, "loc": { "start": { - "line": 244, + "line": 249, "column": 21 }, "end": { - "line": 244, + "line": 249, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 7643, - "end": 7661, + "start": 8060, + "end": 8078, "loc": { "start": { - "line": 244, + "line": 249, "column": 21 }, "end": { - "line": 244, + "line": 249, "column": 39 } }, "object": { "type": "Identifier", - "start": 7643, - "end": 7655, + "start": 8060, + "end": 8072, "loc": { "start": { - "line": 244, + "line": 249, "column": 21 }, "end": { - "line": 244, + "line": 249, "column": 33 }, "identifierName": "prevTwoChars" @@ -34175,15 +35279,15 @@ }, "property": { "type": "Identifier", - "start": 7656, - "end": 7661, + "start": 8073, + "end": 8078, "loc": { "start": { - "line": 244, + "line": 249, "column": 34 }, "end": { - "line": 244, + "line": 249, "column": 39 }, "identifierName": "match" @@ -34195,15 +35299,15 @@ "arguments": [ { "type": "Identifier", - "start": 7662, - "end": 7677, + "start": 8079, + "end": 8094, "loc": { "start": { - "line": 244, + "line": 249, "column": 40 }, "end": { - "line": 244, + "line": 249, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -34216,29 +35320,29 @@ }, { "type": "IfStatement", - "start": 7689, - "end": 7965, + "start": 8106, + "end": 8410, "loc": { "start": { - "line": 246, + "line": 251, "column": 6 }, "end": { - "line": 252, + "line": 257, "column": 7 } }, "test": { "type": "Identifier", - "start": 7692, - "end": 7704, + "start": 8109, + "end": 8121, "loc": { "start": { - "line": 246, + "line": 251, "column": 9 }, "end": { - "line": 246, + "line": 251, "column": 21 }, "identifierName": "emojiMatched" @@ -34247,59 +35351,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7705, - "end": 7832, + "start": 8122, + "end": 8263, "loc": { "start": { - "line": 246, + "line": 251, "column": 22 }, "end": { - "line": 249, + "line": 254, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7716, - "end": 7784, + "start": 8133, + "end": 8201, "loc": { "start": { - "line": 247, + "line": 252, "column": 8 }, "end": { - "line": 247, + "line": 252, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7716, - "end": 7783, + "start": 8133, + "end": 8200, "loc": { "start": { - "line": 247, + "line": 252, "column": 8 }, "end": { - "line": 247, + "line": 252, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7716, - "end": 7722, + "start": 8133, + "end": 8139, "loc": { "start": { - "line": 247, + "line": 252, "column": 8 }, "end": { - "line": 247, + "line": 252, "column": 14 }, "identifierName": "output" @@ -34308,57 +35412,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7725, - "end": 7783, + "start": 8142, + "end": 8200, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7725, - "end": 7757, + "start": 8142, + "end": 8174, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7725, - "end": 7738, + "start": 8142, + "end": 8155, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 30 } }, "object": { "type": "Identifier", - "start": 7725, - "end": 7731, + "start": 8142, + "end": 8148, "loc": { "start": { - "line": 247, + "line": 252, "column": 17 }, "end": { - "line": 247, + "line": 252, "column": 23 }, "identifierName": "source" @@ -34367,15 +35471,15 @@ }, "property": { "type": "Identifier", - "start": 7732, - "end": 7738, + "start": 8149, + "end": 8155, "loc": { "start": { - "line": 247, + "line": 252, "column": 24 }, "end": { - "line": 247, + "line": 252, "column": 30 }, "identifierName": "substr" @@ -34387,15 +35491,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7739, - "end": 7740, + "start": 8156, + "end": 8157, "loc": { "start": { - "line": 247, + "line": 252, "column": 31 }, "end": { - "line": 247, + "line": 252, "column": 32 } }, @@ -34407,29 +35511,29 @@ }, { "type": "BinaryExpression", - "start": 7743, - "end": 7755, + "start": 8160, + "end": 8172, "loc": { "start": { - "line": 247, + "line": 252, "column": 35 }, "end": { - "line": 247, + "line": 252, "column": 47 } }, "left": { "type": "Identifier", - "start": 7743, - "end": 7751, + "start": 8160, + "end": 8168, "loc": { "start": { - "line": 247, + "line": 252, "column": 35 }, "end": { - "line": 247, + "line": 252, "column": 43 }, "identifierName": "position" @@ -34439,15 +35543,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7754, - "end": 7755, + "start": 8171, + "end": 8172, "loc": { "start": { - "line": 247, + "line": 252, "column": 46 }, "end": { - "line": 247, + "line": 252, "column": 47 } }, @@ -34459,7 +35563,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7742 + "parenStart": 8159 } } ] @@ -34467,43 +35571,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7760, - "end": 7783, + "start": 8177, + "end": 8200, "loc": { "start": { - "line": 247, + "line": 252, "column": 52 }, "end": { - "line": 247, + "line": 252, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7760, - "end": 7773, + "start": 8177, + "end": 8190, "loc": { "start": { - "line": 247, + "line": 252, "column": 52 }, "end": { - "line": 247, + "line": 252, "column": 65 } }, "object": { "type": "Identifier", - "start": 7760, - "end": 7766, + "start": 8177, + "end": 8183, "loc": { "start": { - "line": 247, + "line": 252, "column": 52 }, "end": { - "line": 247, + "line": 252, "column": 58 }, "identifierName": "source" @@ -34512,15 +35616,15 @@ }, "property": { "type": "Identifier", - "start": 7767, - "end": 7773, + "start": 8184, + "end": 8190, "loc": { "start": { - "line": 247, + "line": 252, "column": 59 }, "end": { - "line": 247, + "line": 252, "column": 65 }, "identifierName": "substr" @@ -34532,15 +35636,15 @@ "arguments": [ { "type": "Identifier", - "start": 7774, - "end": 7782, + "start": 8191, + "end": 8199, "loc": { "start": { - "line": 247, + "line": 252, "column": 66 }, "end": { - "line": 247, + "line": 252, "column": 74 }, "identifierName": "position" @@ -34553,179 +35657,212 @@ } }, { - "type": "ExpressionStatement", - "start": 7794, - "end": 7823, + "type": "IfStatement", + "start": 8211, + "end": 8254, "loc": { "start": { - "line": 248, + "line": 253, "column": 8 }, "end": { - "line": 248, - "column": 37 + "line": 253, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 7794, - "end": 7822, + "test": { + "type": "Identifier", + "start": 8214, + "end": 8223, "loc": { "start": { - "line": 248, - "column": 8 + "line": 253, + "column": 11 }, "end": { - "line": 248, - "column": 36 + "line": 253, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8225, + "end": 8254, + "loc": { + "start": { + "line": 253, + "column": 22 + }, + "end": { + "line": 253, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 7794, - "end": 7813, + "expression": { + "type": "CallExpression", + "start": 8225, + "end": 8253, "loc": { "start": { - "line": 248, - "column": 8 + "line": 253, + "column": 22 }, "end": { - "line": 248, - "column": 27 + "line": 253, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 7794, - "end": 7798, + "callee": { + "type": "MemberExpression", + "start": 8225, + "end": 8244, "loc": { "start": { - "line": 248, - "column": 8 + "line": 253, + "column": 22 }, "end": { - "line": 248, - "column": 12 + "line": 253, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8225, + "end": 8229, + "loc": { + "start": { + "line": 253, + "column": 22 + }, + "end": { + "line": 253, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8230, + "end": 8244, + "loc": { + "start": { + "line": 253, + "column": 27 + }, + "end": { + "line": 253, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8245, + "end": 8246, + "loc": { + "start": { + "line": 253, + "column": 42 + }, + "end": { + "line": 253, + "column": 43 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "BooleanLiteral", + "start": 8248, + "end": 8252, + "loc": { + "start": { + "line": 253, + "column": 45 + }, + "end": { + "line": 253, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 7799, - "end": 7813, - "loc": { - "start": { - "line": 248, - "column": 13 - }, - "end": { - "line": 248, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 7814, - "end": 7815, - "loc": { - "start": { - "line": 248, - "column": 28 - }, - "end": { - "line": 248, - "column": 29 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "BooleanLiteral", - "start": 7817, - "end": 7821, - "loc": { - "start": { - "line": 248, - "column": 31 - }, - "end": { - "line": 248, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", - "start": 7838, - "end": 7965, + "start": 8269, + "end": 8410, "loc": { "start": { - "line": 249, + "line": 254, "column": 13 }, "end": { - "line": 252, + "line": 257, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 7849, - "end": 7917, + "start": 8280, + "end": 8348, "loc": { "start": { - "line": 250, + "line": 255, "column": 8 }, "end": { - "line": 250, + "line": 255, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 7849, - "end": 7916, + "start": 8280, + "end": 8347, "loc": { "start": { - "line": 250, + "line": 255, "column": 8 }, "end": { - "line": 250, + "line": 255, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7849, - "end": 7855, + "start": 8280, + "end": 8286, "loc": { "start": { - "line": 250, + "line": 255, "column": 8 }, "end": { - "line": 250, + "line": 255, "column": 14 }, "identifierName": "output" @@ -34734,57 +35871,57 @@ }, "right": { "type": "BinaryExpression", - "start": 7858, - "end": 7916, + "start": 8289, + "end": 8347, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 75 } }, "left": { "type": "CallExpression", - "start": 7858, - "end": 7890, + "start": 8289, + "end": 8321, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7858, - "end": 7871, + "start": 8289, + "end": 8302, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 30 } }, "object": { "type": "Identifier", - "start": 7858, - "end": 7864, + "start": 8289, + "end": 8295, "loc": { "start": { - "line": 250, + "line": 255, "column": 17 }, "end": { - "line": 250, + "line": 255, "column": 23 }, "identifierName": "source" @@ -34793,15 +35930,15 @@ }, "property": { "type": "Identifier", - "start": 7865, - "end": 7871, + "start": 8296, + "end": 8302, "loc": { "start": { - "line": 250, + "line": 255, "column": 24 }, "end": { - "line": 250, + "line": 255, "column": 30 }, "identifierName": "substr" @@ -34813,15 +35950,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 7872, - "end": 7873, + "start": 8303, + "end": 8304, "loc": { "start": { - "line": 250, + "line": 255, "column": 31 }, "end": { - "line": 250, + "line": 255, "column": 32 } }, @@ -34833,29 +35970,29 @@ }, { "type": "BinaryExpression", - "start": 7876, - "end": 7888, + "start": 8307, + "end": 8319, "loc": { "start": { - "line": 250, + "line": 255, "column": 35 }, "end": { - "line": 250, + "line": 255, "column": 47 } }, "left": { "type": "Identifier", - "start": 7876, - "end": 7884, + "start": 8307, + "end": 8315, "loc": { "start": { - "line": 250, + "line": 255, "column": 35 }, "end": { - "line": 250, + "line": 255, "column": 43 }, "identifierName": "position" @@ -34865,15 +36002,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 7887, - "end": 7888, + "start": 8318, + "end": 8319, "loc": { "start": { - "line": 250, + "line": 255, "column": 46 }, "end": { - "line": 250, + "line": 255, "column": 47 } }, @@ -34885,7 +36022,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 7875 + "parenStart": 8306 } } ] @@ -34893,43 +36030,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 7893, - "end": 7916, + "start": 8324, + "end": 8347, "loc": { "start": { - "line": 250, + "line": 255, "column": 52 }, "end": { - "line": 250, + "line": 255, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 7893, - "end": 7906, + "start": 8324, + "end": 8337, "loc": { "start": { - "line": 250, + "line": 255, "column": 52 }, "end": { - "line": 250, + "line": 255, "column": 65 } }, "object": { "type": "Identifier", - "start": 7893, - "end": 7899, + "start": 8324, + "end": 8330, "loc": { "start": { - "line": 250, + "line": 255, "column": 52 }, "end": { - "line": 250, + "line": 255, "column": 58 }, "identifierName": "source" @@ -34938,15 +36075,15 @@ }, "property": { "type": "Identifier", - "start": 7900, - "end": 7906, + "start": 8331, + "end": 8337, "loc": { "start": { - "line": 250, + "line": 255, "column": 59 }, "end": { - "line": 250, + "line": 255, "column": 65 }, "identifierName": "substr" @@ -34958,15 +36095,15 @@ "arguments": [ { "type": "Identifier", - "start": 7907, - "end": 7915, + "start": 8338, + "end": 8346, "loc": { "start": { - "line": 250, + "line": 255, "column": 66 }, "end": { - "line": 250, + "line": 255, "column": 74 }, "identifierName": "position" @@ -34979,120 +36116,153 @@ } }, { - "type": "ExpressionStatement", - "start": 7927, - "end": 7956, + "type": "IfStatement", + "start": 8358, + "end": 8401, "loc": { "start": { - "line": 251, + "line": 256, "column": 8 }, "end": { - "line": 251, - "column": 37 + "line": 256, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 7927, - "end": 7955, + "test": { + "type": "Identifier", + "start": 8361, + "end": 8370, "loc": { "start": { - "line": 251, - "column": 8 + "line": 256, + "column": 11 }, "end": { - "line": 251, - "column": 36 + "line": 256, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8372, + "end": 8401, + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 7927, - "end": 7946, + "expression": { + "type": "CallExpression", + "start": 8372, + "end": 8400, "loc": { "start": { - "line": 251, - "column": 8 + "line": 256, + "column": 22 }, "end": { - "line": 251, - "column": 27 + "line": 256, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 7927, - "end": 7931, + "callee": { + "type": "MemberExpression", + "start": 8372, + "end": 8391, "loc": { "start": { - "line": 251, - "column": 8 + "line": 256, + "column": 22 }, "end": { - "line": 251, - "column": 12 + "line": 256, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8372, + "end": 8376, + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8377, + "end": 8391, + "loc": { + "start": { + "line": 256, + "column": 27 + }, + "end": { + "line": 256, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8392, + "end": 8393, + "loc": { + "start": { + "line": 256, + "column": 42 + }, + "end": { + "line": 256, + "column": 43 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + { + "type": "BooleanLiteral", + "start": 8395, + "end": 8399, + "loc": { + "start": { + "line": 256, + "column": 45 + }, + "end": { + "line": 256, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 7932, - "end": 7946, - "loc": { - "start": { - "line": 251, - "column": 13 - }, - "end": { - "line": 251, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 7947, - "end": 7948, - "loc": { - "start": { - "line": 251, - "column": 28 - }, - "end": { - "line": 251, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "BooleanLiteral", - "start": 7950, - "end": 7954, - "loc": { - "start": { - "line": 251, - "column": 31 - }, - "end": { - "line": 251, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] @@ -35103,59 +36273,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 7978, - "end": 8293, + "start": 8423, + "end": 8766, "loc": { "start": { - "line": 253, + "line": 258, "column": 11 }, "end": { - "line": 264, + "line": 269, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 7987, - "end": 8019, + "start": 8432, + "end": 8464, "loc": { "start": { - "line": 254, + "line": 259, "column": 6 }, "end": { - "line": 254, + "line": 259, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 7987, - "end": 8018, + "start": 8432, + "end": 8463, "loc": { "start": { - "line": 254, + "line": 259, "column": 6 }, "end": { - "line": 254, + "line": 259, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7987, - "end": 7999, + "start": 8432, + "end": 8444, "loc": { "start": { - "line": 254, + "line": 259, "column": 6 }, "end": { - "line": 254, + "line": 259, "column": 18 }, "identifierName": "prevTwoChars" @@ -35164,43 +36334,43 @@ }, "right": { "type": "CallExpression", - "start": 8002, - "end": 8018, + "start": 8447, + "end": 8463, "loc": { "start": { - "line": 254, + "line": 259, "column": 21 }, "end": { - "line": 254, + "line": 259, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 8002, - "end": 8014, + "start": 8447, + "end": 8459, "loc": { "start": { - "line": 254, + "line": 259, "column": 21 }, "end": { - "line": 254, + "line": 259, "column": 33 } }, "object": { "type": "Identifier", - "start": 8002, - "end": 8008, + "start": 8447, + "end": 8453, "loc": { "start": { - "line": 254, + "line": 259, "column": 21 }, "end": { - "line": 254, + "line": 259, "column": 27 }, "identifierName": "source" @@ -35209,15 +36379,15 @@ }, "property": { "type": "Identifier", - "start": 8009, - "end": 8014, + "start": 8454, + "end": 8459, "loc": { "start": { - "line": 254, + "line": 259, "column": 28 }, "end": { - "line": 254, + "line": 259, "column": 33 }, "identifierName": "slice" @@ -35229,15 +36399,15 @@ "arguments": [ { "type": "UnaryExpression", - "start": 8015, - "end": 8017, + "start": 8460, + "end": 8462, "loc": { "start": { - "line": 254, + "line": 259, "column": 34 }, "end": { - "line": 254, + "line": 259, "column": 36 } }, @@ -35245,15 +36415,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 8016, - "end": 8017, + "start": 8461, + "end": 8462, "loc": { "start": { - "line": 254, + "line": 259, "column": 35 }, "end": { - "line": 254, + "line": 259, "column": 36 } }, @@ -35273,44 +36443,44 @@ }, { "type": "ExpressionStatement", - "start": 8027, - "end": 8078, + "start": 8472, + "end": 8523, "loc": { "start": { - "line": 255, + "line": 260, "column": 6 }, "end": { - "line": 255, + "line": 260, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 8027, - "end": 8077, + "start": 8472, + "end": 8522, "loc": { "start": { - "line": 255, + "line": 260, "column": 6 }, "end": { - "line": 255, + "line": 260, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8027, - "end": 8039, + "start": 8472, + "end": 8484, "loc": { "start": { - "line": 255, + "line": 260, "column": 6 }, "end": { - "line": 255, + "line": 260, "column": 18 }, "identifierName": "emojiMatched" @@ -35319,43 +36489,43 @@ }, "right": { "type": "CallExpression", - "start": 8042, - "end": 8077, + "start": 8487, + "end": 8522, "loc": { "start": { - "line": 255, + "line": 260, "column": 21 }, "end": { - "line": 255, + "line": 260, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 8042, - "end": 8060, + "start": 8487, + "end": 8505, "loc": { "start": { - "line": 255, + "line": 260, "column": 21 }, "end": { - "line": 255, + "line": 260, "column": 39 } }, "object": { "type": "Identifier", - "start": 8042, - "end": 8054, + "start": 8487, + "end": 8499, "loc": { "start": { - "line": 255, + "line": 260, "column": 21 }, "end": { - "line": 255, + "line": 260, "column": 33 }, "identifierName": "prevTwoChars" @@ -35364,15 +36534,15 @@ }, "property": { "type": "Identifier", - "start": 8055, - "end": 8060, + "start": 8500, + "end": 8505, "loc": { "start": { - "line": 255, + "line": 260, "column": 34 }, "end": { - "line": 255, + "line": 260, "column": 39 }, "identifierName": "match" @@ -35384,15 +36554,15 @@ "arguments": [ { "type": "Identifier", - "start": 8061, - "end": 8076, + "start": 8506, + "end": 8521, "loc": { "start": { - "line": 255, + "line": 260, "column": 40 }, "end": { - "line": 255, + "line": 260, "column": 55 }, "identifierName": "emojiMatchedReg" @@ -35405,29 +36575,29 @@ }, { "type": "IfStatement", - "start": 8088, - "end": 8286, + "start": 8533, + "end": 8759, "loc": { "start": { - "line": 257, + "line": 262, "column": 6 }, "end": { - "line": 263, + "line": 268, "column": 7 } }, "test": { "type": "Identifier", - "start": 8091, - "end": 8103, + "start": 8536, + "end": 8548, "loc": { "start": { - "line": 257, + "line": 262, "column": 9 }, "end": { - "line": 257, + "line": 262, "column": 21 }, "identifierName": "emojiMatched" @@ -35436,59 +36606,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8104, - "end": 8192, + "start": 8549, + "end": 8651, "loc": { "start": { - "line": 257, + "line": 262, "column": 22 }, "end": { - "line": 260, + "line": 265, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8115, - "end": 8144, + "start": 8560, + "end": 8589, "loc": { "start": { - "line": 258, + "line": 263, "column": 8 }, "end": { - "line": 258, + "line": 263, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 8115, - "end": 8143, + "start": 8560, + "end": 8588, "loc": { "start": { - "line": 258, + "line": 263, "column": 8 }, "end": { - "line": 258, + "line": 263, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8115, - "end": 8121, + "start": 8560, + "end": 8566, "loc": { "start": { - "line": 258, + "line": 263, "column": 8 }, "end": { - "line": 258, + "line": 263, "column": 14 }, "identifierName": "output" @@ -35497,43 +36667,43 @@ }, "right": { "type": "CallExpression", - "start": 8124, - "end": 8143, + "start": 8569, + "end": 8588, "loc": { "start": { - "line": 258, + "line": 263, "column": 17 }, "end": { - "line": 258, + "line": 263, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 8124, - "end": 8136, + "start": 8569, + "end": 8581, "loc": { "start": { - "line": 258, + "line": 263, "column": 17 }, "end": { - "line": 258, + "line": 263, "column": 29 } }, "object": { "type": "Identifier", - "start": 8124, - "end": 8130, + "start": 8569, + "end": 8575, "loc": { "start": { - "line": 258, + "line": 263, "column": 17 }, "end": { - "line": 258, + "line": 263, "column": 23 }, "identifierName": "source" @@ -35542,15 +36712,15 @@ }, "property": { "type": "Identifier", - "start": 8131, - "end": 8136, + "start": 8576, + "end": 8581, "loc": { "start": { - "line": 258, + "line": 263, "column": 24 }, "end": { - "line": 258, + "line": 263, "column": 29 }, "identifierName": "slice" @@ -35562,15 +36732,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8137, - "end": 8138, + "start": 8582, + "end": 8583, "loc": { "start": { - "line": 258, + "line": 263, "column": 30 }, "end": { - "line": 258, + "line": 263, "column": 31 } }, @@ -35582,15 +36752,15 @@ }, { "type": "UnaryExpression", - "start": 8140, - "end": 8142, + "start": 8585, + "end": 8587, "loc": { "start": { - "line": 258, + "line": 263, "column": 33 }, "end": { - "line": 258, + "line": 263, "column": 35 } }, @@ -35598,15 +36768,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 8141, - "end": 8142, + "start": 8586, + "end": 8587, "loc": { "start": { - "line": 258, + "line": 263, "column": 34 }, "end": { - "line": 258, + "line": 263, "column": 35 } }, @@ -35625,179 +36795,212 @@ } }, { - "type": "ExpressionStatement", - "start": 8154, - "end": 8183, + "type": "IfStatement", + "start": 8599, + "end": 8642, "loc": { "start": { - "line": 259, + "line": 264, "column": 8 }, "end": { - "line": 259, - "column": 37 + "line": 264, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 8154, - "end": 8182, + "test": { + "type": "Identifier", + "start": 8602, + "end": 8611, "loc": { "start": { - "line": 259, - "column": 8 + "line": 264, + "column": 11 }, "end": { - "line": 259, - "column": 36 + "line": 264, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8613, + "end": 8642, + "loc": { + "start": { + "line": 264, + "column": 22 + }, + "end": { + "line": 264, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 8154, - "end": 8173, + "expression": { + "type": "CallExpression", + "start": 8613, + "end": 8641, "loc": { "start": { - "line": 259, - "column": 8 + "line": 264, + "column": 22 }, "end": { - "line": 259, - "column": 27 + "line": 264, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 8154, - "end": 8158, + "callee": { + "type": "MemberExpression", + "start": 8613, + "end": 8632, "loc": { "start": { - "line": 259, - "column": 8 + "line": 264, + "column": 22 }, "end": { - "line": 259, - "column": 12 + "line": 264, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8613, + "end": 8617, + "loc": { + "start": { + "line": 264, + "column": 22 + }, + "end": { + "line": 264, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8618, + "end": 8632, + "loc": { + "start": { + "line": 264, + "column": 27 + }, + "end": { + "line": 264, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8633, + "end": 8634, + "loc": { + "start": { + "line": 264, + "column": 42 + }, + "end": { + "line": 264, + "column": 43 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "BooleanLiteral", + "start": 8636, + "end": 8640, + "loc": { + "start": { + "line": 264, + "column": 45 + }, + "end": { + "line": 264, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 8159, - "end": 8173, - "loc": { - "start": { - "line": 259, - "column": 13 - }, - "end": { - "line": 259, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 8174, - "end": 8175, - "loc": { - "start": { - "line": 259, - "column": 28 - }, - "end": { - "line": 259, - "column": 29 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "BooleanLiteral", - "start": 8177, - "end": 8181, - "loc": { - "start": { - "line": 259, - "column": 31 - }, - "end": { - "line": 259, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", - "start": 8198, - "end": 8286, + "start": 8657, + "end": 8759, "loc": { "start": { - "line": 260, + "line": 265, "column": 13 }, "end": { - "line": 263, + "line": 268, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 8209, - "end": 8238, + "start": 8668, + "end": 8697, "loc": { "start": { - "line": 261, + "line": 266, "column": 8 }, "end": { - "line": 261, + "line": 266, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 8209, - "end": 8237, + "start": 8668, + "end": 8696, "loc": { "start": { - "line": 261, + "line": 266, "column": 8 }, "end": { - "line": 261, + "line": 266, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8209, - "end": 8215, + "start": 8668, + "end": 8674, "loc": { "start": { - "line": 261, + "line": 266, "column": 8 }, "end": { - "line": 261, + "line": 266, "column": 14 }, "identifierName": "output" @@ -35806,43 +37009,43 @@ }, "right": { "type": "CallExpression", - "start": 8218, - "end": 8237, + "start": 8677, + "end": 8696, "loc": { "start": { - "line": 261, + "line": 266, "column": 17 }, "end": { - "line": 261, + "line": 266, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 8218, - "end": 8230, + "start": 8677, + "end": 8689, "loc": { "start": { - "line": 261, + "line": 266, "column": 17 }, "end": { - "line": 261, + "line": 266, "column": 29 } }, "object": { "type": "Identifier", - "start": 8218, - "end": 8224, + "start": 8677, + "end": 8683, "loc": { "start": { - "line": 261, + "line": 266, "column": 17 }, "end": { - "line": 261, + "line": 266, "column": 23 }, "identifierName": "source" @@ -35851,15 +37054,15 @@ }, "property": { "type": "Identifier", - "start": 8225, - "end": 8230, + "start": 8684, + "end": 8689, "loc": { "start": { - "line": 261, + "line": 266, "column": 24 }, "end": { - "line": 261, + "line": 266, "column": 29 }, "identifierName": "slice" @@ -35871,15 +37074,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8231, - "end": 8232, + "start": 8690, + "end": 8691, "loc": { "start": { - "line": 261, + "line": 266, "column": 30 }, "end": { - "line": 261, + "line": 266, "column": 31 } }, @@ -35891,15 +37094,15 @@ }, { "type": "UnaryExpression", - "start": 8234, - "end": 8236, + "start": 8693, + "end": 8695, "loc": { "start": { - "line": 261, + "line": 266, "column": 33 }, "end": { - "line": 261, + "line": 266, "column": 35 } }, @@ -35907,15 +37110,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 8235, - "end": 8236, + "start": 8694, + "end": 8695, "loc": { "start": { - "line": 261, + "line": 266, "column": 34 }, "end": { - "line": 261, + "line": 266, "column": 35 } }, @@ -35934,120 +37137,153 @@ } }, { - "type": "ExpressionStatement", - "start": 8248, - "end": 8277, + "type": "IfStatement", + "start": 8707, + "end": 8750, "loc": { "start": { - "line": 262, + "line": 267, "column": 8 }, "end": { - "line": 262, - "column": 37 + "line": 267, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 8248, - "end": 8276, + "test": { + "type": "Identifier", + "start": 8710, + "end": 8719, "loc": { "start": { - "line": 262, - "column": 8 + "line": 267, + "column": 11 }, "end": { - "line": 262, - "column": 36 + "line": 267, + "column": 20 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + }, + "consequent": { + "type": "ExpressionStatement", + "start": 8721, + "end": 8750, + "loc": { + "start": { + "line": 267, + "column": 22 + }, + "end": { + "line": 267, + "column": 51 } }, - "callee": { - "type": "MemberExpression", - "start": 8248, - "end": 8267, + "expression": { + "type": "CallExpression", + "start": 8721, + "end": 8749, "loc": { "start": { - "line": 262, - "column": 8 + "line": 267, + "column": 22 }, "end": { - "line": 262, - "column": 27 + "line": 267, + "column": 50 } }, - "object": { - "type": "ThisExpression", - "start": 8248, - "end": 8252, + "callee": { + "type": "MemberExpression", + "start": 8721, + "end": 8740, "loc": { "start": { - "line": 262, - "column": 8 + "line": 267, + "column": 22 }, "end": { - "line": 262, - "column": 12 + "line": 267, + "column": 41 } + }, + "object": { + "type": "ThisExpression", + "start": 8721, + "end": 8725, + "loc": { + "start": { + "line": 267, + "column": 22 + }, + "end": { + "line": 267, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 8726, + "end": 8740, + "loc": { + "start": { + "line": 267, + "column": 27 + }, + "end": { + "line": 267, + "column": 41 + }, + "identifierName": "updateCaretPos" + }, + "name": "updateCaretPos" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8741, + "end": 8742, + "loc": { + "start": { + "line": 267, + "column": 42 + }, + "end": { + "line": 267, + "column": 43 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + { + "type": "BooleanLiteral", + "start": 8744, + "end": 8748, + "loc": { + "start": { + "line": 267, + "column": 45 + }, + "end": { + "line": 267, + "column": 49 + } + }, + "value": true } - }, - "property": { - "type": "Identifier", - "start": 8253, - "end": 8267, - "loc": { - "start": { - "line": 262, - "column": 13 - }, - "end": { - "line": 262, - "column": 27 - }, - "identifierName": "updateCaretPos" - }, - "name": "updateCaretPos" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 8268, - "end": 8269, - "loc": { - "start": { - "line": 262, - "column": 28 - }, - "end": { - "line": 262, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "BooleanLiteral", - "start": 8271, - "end": 8275, - "loc": { - "start": { - "line": 262, - "column": 31 - }, - "end": { - "line": 262, - "column": 35 - } - }, - "value": true - } - ] - } + ] + } + }, + "alternate": null } ], "directives": [] @@ -36060,15 +37296,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 7341, - "end": 7521, + "start": 7758, + "end": 7938, "loc": { "start": { - "line": 238, + "line": 243, "column": 4 }, "end": { - "line": 241, + "line": 246, "column": 7 } } @@ -36076,30 +37312,394 @@ ] }, { - "type": "ReturnStatement", - "start": 8301, - "end": 8315, + "type": "IfStatement", + "start": 8774, + "end": 8916, "loc": { "start": { - "line": 266, + "line": 271, "column": 4 }, "end": { - "line": 266, + "line": 273, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 8777, + "end": 8831, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 61 + } + }, + "left": { + "type": "MemberExpression", + "start": 8777, + "end": 8818, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 8777, + "end": 8812, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 8777, + "end": 8804, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 8777, + "end": 8781, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 8782, + "end": 8804, + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 34 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8805, + "end": 8812, + "loc": { + "start": { + "line": 271, + "column": 35 + }, + "end": { + "line": 271, + "column": 42 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8813, + "end": 8818, + "loc": { + "start": { + "line": 271, + "column": 43 + }, + "end": { + "line": 271, + "column": 48 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "Identifier", + "start": 8822, + "end": 8831, + "loc": { + "start": { + "line": 271, + "column": 52 + }, + "end": { + "line": 271, + "column": 61 + }, + "identifierName": "moveCaret" + }, + "name": "moveCaret" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8832, + "end": 8916, + "loc": { + "start": { + "line": 271, + "column": 62 + }, + "end": { + "line": 273, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8841, + "end": 8909, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 74 + } + }, + "expression": { + "type": "CallExpression", + "start": 8841, + "end": 8908, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8841, + "end": 8852, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 8841, + "end": 8848, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 8849, + "end": 8852, + "loc": { + "start": { + "line": 272, + "column": 14 + }, + "end": { + "line": 272, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 8853, + "end": 8864, + "loc": { + "start": { + "line": 272, + "column": 18 + }, + "end": { + "line": 272, + "column": 29 + } + }, + "extra": { + "rawValue": "Caret at:", + "raw": "\"Caret at:\"" + }, + "value": "Caret at:" + }, + { + "type": "MemberExpression", + "start": 8866, + "end": 8907, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 72 + } + }, + "object": { + "type": "MemberExpression", + "start": 8866, + "end": 8893, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 8866, + "end": 8870, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "start": 8871, + "end": 8893, + "loc": { + "start": { + "line": 272, + "column": 36 + }, + "end": { + "line": 272, + "column": 58 + }, + "identifierName": "simpleKeyboardInstance" + }, + "name": "simpleKeyboardInstance" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8894, + "end": 8907, + "loc": { + "start": { + "line": 272, + "column": 59 + }, + "end": { + "line": 272, + "column": 72 + }, + "identifierName": "caretPosition" + }, + "name": "caretPosition" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 8924, + "end": 8938, + "loc": { + "start": { + "line": 275, + "column": 4 + }, + "end": { + "line": 275, "column": 18 } }, "argument": { "type": "Identifier", - "start": 8308, - "end": 8314, + "start": 8931, + "end": 8937, "loc": { "start": { - "line": 266, + "line": 275, "column": 11 }, "end": { - "line": 266, + "line": 275, "column": 17 }, "identifierName": "output" @@ -36114,16 +37714,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6866, - "end": 7086, + "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 7195, + "end": 7492, "loc": { "start": { - "line": 222, + "line": 226, "column": 2 }, "end": { - "line": 227, + "line": 232, "column": 5 } } @@ -36133,15 +37733,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 8324, - "end": 8555, + "start": 8947, + "end": 9178, "loc": { "start": { - "line": 268, + "line": 277, "column": 2 }, "end": { - "line": 274, + "line": 283, "column": 5 } } @@ -36150,15 +37750,15 @@ }, { "type": "ClassMethod", - "start": 8559, - "end": 9817, + "start": 9182, + "end": 10438, "loc": { "start": { - "line": 275, + "line": 284, "column": 2 }, "end": { - "line": 323, + "line": 331, "column": 3 } }, @@ -36166,15 +37766,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8559, - "end": 8574, + "start": 9182, + "end": 9197, "loc": { "start": { - "line": 275, + "line": 284, "column": 2 }, "end": { - "line": 275, + "line": 284, "column": 17 }, "identifierName": "handleMaxLength" @@ -36190,15 +37790,15 @@ "params": [ { "type": "Identifier", - "start": 8575, - "end": 8583, + "start": 9198, + "end": 9206, "loc": { "start": { - "line": 275, + "line": 284, "column": 18 }, "end": { - "line": 275, + "line": 284, "column": 26 }, "identifierName": "inputObj" @@ -36207,15 +37807,15 @@ }, { "type": "Identifier", - "start": 8585, - "end": 8592, + "start": 9208, + "end": 9215, "loc": { "start": { - "line": 275, + "line": 284, "column": 28 }, "end": { - "line": 275, + "line": 284, "column": 35 }, "identifierName": "options" @@ -36224,15 +37824,15 @@ }, { "type": "Identifier", - "start": 8594, - "end": 8606, + "start": 9217, + "end": 9229, "loc": { "start": { - "line": 275, + "line": 284, "column": 37 }, "end": { - "line": 275, + "line": 284, "column": 49 }, "identifierName": "updatedInput" @@ -36242,59 +37842,59 @@ ], "body": { "type": "BlockStatement", - "start": 8607, - "end": 9817, + "start": 9230, + "end": 10438, "loc": { "start": { - "line": 275, + "line": 284, "column": 50 }, "end": { - "line": 323, + "line": 331, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 8614, - "end": 8648, + "start": 9237, + "end": 9271, "loc": { "start": { - "line": 276, + "line": 285, "column": 4 }, "end": { - "line": 276, + "line": 285, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8618, - "end": 8647, + "start": 9241, + "end": 9270, "loc": { "start": { - "line": 276, + "line": 285, "column": 8 }, "end": { - "line": 276, + "line": 285, "column": 37 } }, "id": { "type": "Identifier", - "start": 8618, - "end": 8627, + "start": 9241, + "end": 9250, "loc": { "start": { - "line": 276, + "line": 285, "column": 8 }, "end": { - "line": 276, + "line": 285, "column": 17 }, "identifierName": "maxLength" @@ -36303,29 +37903,29 @@ }, "init": { "type": "MemberExpression", - "start": 8630, - "end": 8647, + "start": 9253, + "end": 9270, "loc": { "start": { - "line": 276, + "line": 285, "column": 20 }, "end": { - "line": 276, + "line": 285, "column": 37 } }, "object": { "type": "Identifier", - "start": 8630, - "end": 8637, + "start": 9253, + "end": 9260, "loc": { "start": { - "line": 276, + "line": 285, "column": 20 }, "end": { - "line": 276, + "line": 285, "column": 27 }, "identifierName": "options" @@ -36334,15 +37934,15 @@ }, "property": { "type": "Identifier", - "start": 8638, - "end": 8647, + "start": 9261, + "end": 9270, "loc": { "start": { - "line": 276, + "line": 285, "column": 28 }, "end": { - "line": 276, + "line": 285, "column": 37 }, "identifierName": "maxLength" @@ -36357,44 +37957,44 @@ }, { "type": "VariableDeclaration", - "start": 8654, - "end": 8701, + "start": 9277, + "end": 9324, "loc": { "start": { - "line": 277, + "line": 286, "column": 4 }, "end": { - "line": 277, + "line": 286, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8658, - "end": 8700, + "start": 9281, + "end": 9323, "loc": { "start": { - "line": 277, + "line": 286, "column": 8 }, "end": { - "line": 277, + "line": 286, "column": 50 } }, "id": { "type": "Identifier", - "start": 8658, - "end": 8670, + "start": 9281, + "end": 9293, "loc": { "start": { - "line": 277, + "line": 286, "column": 8 }, "end": { - "line": 277, + "line": 286, "column": 20 }, "identifierName": "currentInput" @@ -36403,29 +38003,29 @@ }, "init": { "type": "MemberExpression", - "start": 8673, - "end": 8700, + "start": 9296, + "end": 9323, "loc": { "start": { - "line": 277, + "line": 286, "column": 23 }, "end": { - "line": 277, + "line": 286, "column": 50 } }, "object": { "type": "Identifier", - "start": 8673, - "end": 8681, + "start": 9296, + "end": 9304, "loc": { "start": { - "line": 277, + "line": 286, "column": 23 }, "end": { - "line": 277, + "line": 286, "column": 31 }, "identifierName": "inputObj" @@ -36434,29 +38034,29 @@ }, "property": { "type": "MemberExpression", - "start": 8682, - "end": 8699, + "start": 9305, + "end": 9322, "loc": { "start": { - "line": 277, + "line": 286, "column": 32 }, "end": { - "line": 277, + "line": 286, "column": 49 } }, "object": { "type": "Identifier", - "start": 8682, - "end": 8689, + "start": 9305, + "end": 9312, "loc": { "start": { - "line": 277, + "line": 286, "column": 32 }, "end": { - "line": 277, + "line": 286, "column": 39 }, "identifierName": "options" @@ -36465,15 +38065,15 @@ }, "property": { "type": "Identifier", - "start": 8690, - "end": 8699, + "start": 9313, + "end": 9322, "loc": { "start": { - "line": 277, + "line": 286, "column": 40 }, "end": { - "line": 277, + "line": 286, "column": 49 }, "identifierName": "inputName" @@ -36490,44 +38090,44 @@ }, { "type": "VariableDeclaration", - "start": 8707, - "end": 8757, + "start": 9330, + "end": 9380, "loc": { "start": { - "line": 278, + "line": 287, "column": 4 }, "end": { - "line": 278, + "line": 287, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8711, - "end": 8756, + "start": 9334, + "end": 9379, "loc": { "start": { - "line": 278, + "line": 287, "column": 8 }, "end": { - "line": 278, + "line": 287, "column": 53 } }, "id": { "type": "Identifier", - "start": 8711, - "end": 8720, + "start": 9334, + "end": 9343, "loc": { "start": { - "line": 278, + "line": 287, "column": 8 }, "end": { - "line": 278, + "line": 287, "column": 17 }, "identifierName": "condition" @@ -36536,43 +38136,43 @@ }, "init": { "type": "BinaryExpression", - "start": 8723, - "end": 8756, + "start": 9346, + "end": 9379, "loc": { "start": { - "line": 278, + "line": 287, "column": 20 }, "end": { - "line": 278, + "line": 287, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 8723, - "end": 8742, + "start": 9346, + "end": 9365, "loc": { "start": { - "line": 278, + "line": 287, "column": 20 }, "end": { - "line": 278, + "line": 287, "column": 39 } }, "object": { "type": "Identifier", - "start": 8723, - "end": 8735, + "start": 9346, + "end": 9358, "loc": { "start": { - "line": 278, + "line": 287, "column": 20 }, "end": { - "line": 278, + "line": 287, "column": 32 }, "identifierName": "currentInput" @@ -36581,15 +38181,15 @@ }, "property": { "type": "Identifier", - "start": 8736, - "end": 8742, + "start": 9359, + "end": 9365, "loc": { "start": { - "line": 278, + "line": 287, "column": 33 }, "end": { - "line": 278, + "line": 287, "column": 39 }, "identifierName": "length" @@ -36601,15 +38201,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 8747, - "end": 8756, + "start": 9370, + "end": 9379, "loc": { "start": { - "line": 278, + "line": 287, "column": 44 }, "end": { - "line": 278, + "line": 287, "column": 53 }, "identifierName": "maxLength" @@ -36623,57 +38223,57 @@ }, { "type": "IfStatement", - "start": 8767, - "end": 8985, + "start": 9388, + "end": 9606, "loc": { "start": { - "line": 281, + "line": 289, "column": 4 }, "end": { - "line": 289, + "line": 297, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 8907, - "end": 8949, + "start": 9528, + "end": 9570, "loc": { "start": { - "line": 286, + "line": 294, "column": 6 }, "end": { - "line": 286, + "line": 294, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 8907, - "end": 8926, + "start": 9528, + "end": 9547, "loc": { "start": { - "line": 286, + "line": 294, "column": 6 }, "end": { - "line": 286, + "line": 294, "column": 25 } }, "object": { "type": "Identifier", - "start": 8907, - "end": 8919, + "start": 9528, + "end": 9540, "loc": { "start": { - "line": 286, + "line": 294, "column": 6 }, "end": { - "line": 286, + "line": 294, "column": 18 }, "identifierName": "updatedInput" @@ -36683,15 +38283,15 @@ }, "property": { "type": "Identifier", - "start": 8920, - "end": 8926, + "start": 9541, + "end": 9547, "loc": { "start": { - "line": 286, + "line": 294, "column": 19 }, "end": { - "line": 286, + "line": 294, "column": 25 }, "identifierName": "length" @@ -36704,29 +38304,29 @@ "operator": "<=", "right": { "type": "MemberExpression", - "start": 8930, - "end": 8949, + "start": 9551, + "end": 9570, "loc": { "start": { - "line": 286, + "line": 294, "column": 29 }, "end": { - "line": 286, + "line": 294, "column": 48 } }, "object": { "type": "Identifier", - "start": 8930, - "end": 8942, + "start": 9551, + "end": 9563, "loc": { "start": { - "line": 286, + "line": 294, "column": 29 }, "end": { - "line": 286, + "line": 294, "column": 41 }, "identifierName": "currentInput" @@ -36735,15 +38335,15 @@ }, "property": { "type": "Identifier", - "start": 8943, - "end": 8949, + "start": 9564, + "end": 9570, "loc": { "start": { - "line": 286, + "line": 294, "column": 42 }, "end": { - "line": 286, + "line": 294, "column": 48 }, "identifierName": "length" @@ -36756,15 +38356,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8778, - "end": 8899, + "start": 9399, + "end": 9520, "loc": { "start": { - "line": 282, + "line": 290, "column": 6 }, "end": { - "line": 285, + "line": 293, "column": 9 } } @@ -36773,44 +38373,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8956, - "end": 8985, + "start": 9577, + "end": 9606, "loc": { "start": { - "line": 287, + "line": 295, "column": 5 }, "end": { - "line": 289, + "line": 297, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 8965, - "end": 8978, + "start": 9586, + "end": 9599, "loc": { "start": { - "line": 288, + "line": 296, "column": 6 }, "end": { - "line": 288, + "line": 296, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 8972, - "end": 8977, + "start": 9593, + "end": 9598, "loc": { "start": { - "line": 288, + "line": 296, "column": 13 }, "end": { - "line": 288, + "line": 296, "column": 18 } }, @@ -36824,57 +38424,57 @@ }, { "type": "IfStatement", - "start": 8993, - "end": 9415, + "start": 9614, + "end": 10036, "loc": { "start": { - "line": 291, + "line": 299, "column": 4 }, "end": { - "line": 306, + "line": 314, "column": 5 } }, "test": { "type": "CallExpression", - "start": 8996, - "end": 9023, + "start": 9617, + "end": 9644, "loc": { "start": { - "line": 291, + "line": 299, "column": 7 }, "end": { - "line": 291, + "line": 299, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 8996, - "end": 9012, + "start": 9617, + "end": 9633, "loc": { "start": { - "line": 291, + "line": 299, "column": 7 }, "end": { - "line": 291, + "line": 299, "column": 23 } }, "object": { "type": "Identifier", - "start": 8996, - "end": 9002, + "start": 9617, + "end": 9623, "loc": { "start": { - "line": 291, + "line": 299, "column": 7 }, "end": { - "line": 291, + "line": 299, "column": 13 }, "identifierName": "Number" @@ -36883,15 +38483,15 @@ }, "property": { "type": "Identifier", - "start": 9003, - "end": 9012, + "start": 9624, + "end": 9633, "loc": { "start": { - "line": 291, + "line": 299, "column": 14 }, "end": { - "line": 291, + "line": 299, "column": 23 }, "identifierName": "isInteger" @@ -36903,15 +38503,15 @@ "arguments": [ { "type": "Identifier", - "start": 9013, - "end": 9022, + "start": 9634, + "end": 9643, "loc": { "start": { - "line": 291, + "line": 299, "column": 24 }, "end": { - "line": 291, + "line": 299, "column": 33 }, "identifierName": "maxLength" @@ -36922,58 +38522,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9024, - "end": 9415, + "start": 9645, + "end": 10036, "loc": { "start": { - "line": 291, + "line": 299, "column": 35 }, "end": { - "line": 306, + "line": 314, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9033, - "end": 9121, + "start": 9654, + "end": 9742, "loc": { "start": { - "line": 292, + "line": 300, "column": 6 }, "end": { - "line": 294, + "line": 302, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 9036, - "end": 9049, + "start": 9657, + "end": 9670, "loc": { "start": { - "line": 292, + "line": 300, "column": 9 }, "end": { - "line": 292, + "line": 300, "column": 22 } }, "object": { "type": "Identifier", - "start": 9036, - "end": 9043, + "start": 9657, + "end": 9664, "loc": { "start": { - "line": 292, + "line": 300, "column": 9 }, "end": { - "line": 292, + "line": 300, "column": 16 }, "identifierName": "options" @@ -36982,15 +38582,15 @@ }, "property": { "type": "Identifier", - "start": 9044, - "end": 9049, + "start": 9665, + "end": 9670, "loc": { "start": { - "line": 292, + "line": 300, "column": 17 }, "end": { - "line": 292, + "line": 300, "column": 22 }, "identifierName": "debug" @@ -37001,72 +38601,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9050, - "end": 9121, + "start": 9671, + "end": 9742, "loc": { "start": { - "line": 292, + "line": 300, "column": 23 }, "end": { - "line": 294, + "line": 302, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9061, - "end": 9112, + "start": 9682, + "end": 9733, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 9061, - "end": 9111, + "start": 9682, + "end": 9732, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 9061, - "end": 9072, + "start": 9682, + "end": 9693, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 19 } }, "object": { "type": "Identifier", - "start": 9061, - "end": 9068, + "start": 9682, + "end": 9689, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 15 }, "identifierName": "console" @@ -37075,15 +38675,15 @@ }, "property": { "type": "Identifier", - "start": 9069, - "end": 9072, + "start": 9690, + "end": 9693, "loc": { "start": { - "line": 293, + "line": 301, "column": 16 }, "end": { - "line": 293, + "line": 301, "column": 19 }, "identifierName": "log" @@ -37095,15 +38695,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9073, - "end": 9099, + "start": 9694, + "end": 9720, "loc": { "start": { - "line": 293, + "line": 301, "column": 20 }, "end": { - "line": 293, + "line": 301, "column": 46 } }, @@ -37115,15 +38715,15 @@ }, { "type": "Identifier", - "start": 9101, - "end": 9110, + "start": 9722, + "end": 9731, "loc": { "start": { - "line": 293, + "line": 301, "column": 48 }, "end": { - "line": 293, + "line": 301, "column": 57 }, "identifierName": "condition" @@ -37140,29 +38740,29 @@ }, { "type": "IfStatement", - "start": 9131, - "end": 9408, + "start": 9752, + "end": 10029, "loc": { "start": { - "line": 296, + "line": 304, "column": 6 }, "end": { - "line": 305, + "line": 313, "column": 7 } }, "test": { "type": "Identifier", - "start": 9134, - "end": 9143, + "start": 9755, + "end": 9764, "loc": { "start": { - "line": 296, + "line": 304, "column": 9 }, "end": { - "line": 296, + "line": 304, "column": 18 }, "identifierName": "condition" @@ -37171,73 +38771,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 9144, - "end": 9329, + "start": 9765, + "end": 9950, "loc": { "start": { - "line": 296, + "line": 304, "column": 19 }, "end": { - "line": 302, + "line": 310, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9269, - "end": 9298, + "start": 9890, + "end": 9919, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 9269, - "end": 9297, + "start": 9890, + "end": 9918, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9269, - "end": 9290, + "start": 9890, + "end": 9911, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9269, - "end": 9273, + "start": 9890, + "end": 9894, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 12 } }, @@ -37245,15 +38845,15 @@ }, "property": { "type": "Identifier", - "start": 9274, - "end": 9290, + "start": 9895, + "end": 9911, "loc": { "start": { - "line": 300, + "line": 308, "column": 13 }, "end": { - "line": 300, + "line": 308, "column": 29 }, "identifierName": "maxLengthReached" @@ -37265,15 +38865,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9293, - "end": 9297, + "start": 9914, + "end": 9918, "loc": { "start": { - "line": 300, + "line": 308, "column": 32 }, "end": { - "line": 300, + "line": 308, "column": 36 } }, @@ -37285,15 +38885,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 9155, - "end": 9259, + "start": 9776, + "end": 9880, "loc": { "start": { - "line": 297, + "line": 305, "column": 8 }, "end": { - "line": 299, + "line": 307, "column": 11 } } @@ -37302,29 +38902,29 @@ }, { "type": "ReturnStatement", - "start": 9308, - "end": 9320, + "start": 9929, + "end": 9941, "loc": { "start": { - "line": 301, + "line": 309, "column": 8 }, "end": { - "line": 301, + "line": 309, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 9315, - "end": 9319, + "start": 9936, + "end": 9940, "loc": { "start": { - "line": 301, + "line": 309, "column": 15 }, "end": { - "line": 301, + "line": 309, "column": 19 } }, @@ -37336,88 +38936,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 9335, - "end": 9408, + "start": 9956, + "end": 10029, "loc": { "start": { - "line": 302, + "line": 310, "column": 13 }, "end": { - "line": 305, + "line": 313, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9346, - "end": 9376, + "start": 9967, + "end": 9997, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 9346, - "end": 9375, + "start": 9967, + "end": 9996, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9346, - "end": 9367, + "start": 9967, + "end": 9988, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9346, - "end": 9350, + "start": 9967, + "end": 9971, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9351, - "end": 9367, + "start": 9972, + "end": 9988, "loc": { "start": { - "line": 303, + "line": 311, "column": 13 }, "end": { - "line": 303, + "line": 311, "column": 29 }, "identifierName": "maxLengthReached" @@ -37428,15 +39028,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9370, - "end": 9375, + "start": 9991, + "end": 9996, "loc": { "start": { - "line": 303, + "line": 311, "column": 32 }, "end": { - "line": 303, + "line": 311, "column": 37 } }, @@ -37446,29 +39046,29 @@ }, { "type": "ReturnStatement", - "start": 9386, - "end": 9399, + "start": 10007, + "end": 10020, "loc": { "start": { - "line": 304, + "line": 312, "column": 8 }, "end": { - "line": 304, + "line": 312, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 9393, - "end": 9398, + "start": 10014, + "end": 10019, "loc": { "start": { - "line": 304, + "line": 312, "column": 15 }, "end": { - "line": 304, + "line": 312, "column": 20 } }, @@ -37486,43 +39086,43 @@ }, { "type": "IfStatement", - "start": 9423, - "end": 9812, + "start": 10044, + "end": 10433, "loc": { "start": { - "line": 308, + "line": 316, "column": 4 }, "end": { - "line": 322, + "line": 330, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9426, - "end": 9455, + "start": 10047, + "end": 10076, "loc": { "start": { - "line": 308, + "line": 316, "column": 7 }, "end": { - "line": 308, + "line": 316, "column": 36 } }, "left": { "type": "UnaryExpression", - "start": 9426, - "end": 9442, + "start": 10047, + "end": 10063, "loc": { "start": { - "line": 308, + "line": 316, "column": 7 }, "end": { - "line": 308, + "line": 316, "column": 23 } }, @@ -37530,15 +39130,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 9433, - "end": 9442, + "start": 10054, + "end": 10063, "loc": { "start": { - "line": 308, + "line": 316, "column": 14 }, "end": { - "line": 308, + "line": 316, "column": 23 }, "identifierName": "maxLength" @@ -37552,15 +39152,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 9447, - "end": 9455, + "start": 10068, + "end": 10076, "loc": { "start": { - "line": 308, + "line": 316, "column": 28 }, "end": { - "line": 308, + "line": 316, "column": 36 } }, @@ -37573,59 +39173,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 9456, - "end": 9812, + "start": 10077, + "end": 10433, "loc": { "start": { - "line": 308, + "line": 316, "column": 37 }, "end": { - "line": 322, + "line": 330, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 9465, - "end": 9534, + "start": 10086, + "end": 10155, "loc": { "start": { - "line": 309, + "line": 317, "column": 6 }, "end": { - "line": 309, + "line": 317, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9469, - "end": 9533, + "start": 10090, + "end": 10154, "loc": { "start": { - "line": 309, + "line": 317, "column": 10 }, "end": { - "line": 309, + "line": 317, "column": 74 } }, "id": { "type": "Identifier", - "start": 9469, - "end": 9478, + "start": 10090, + "end": 10099, "loc": { "start": { - "line": 309, + "line": 317, "column": 10 }, "end": { - "line": 309, + "line": 317, "column": 19 }, "identifierName": "condition" @@ -37634,43 +39234,43 @@ }, "init": { "type": "BinaryExpression", - "start": 9481, - "end": 9533, + "start": 10102, + "end": 10154, "loc": { "start": { - "line": 309, + "line": 317, "column": 22 }, "end": { - "line": 309, + "line": 317, "column": 74 } }, "left": { "type": "MemberExpression", - "start": 9481, - "end": 9500, + "start": 10102, + "end": 10121, "loc": { "start": { - "line": 309, + "line": 317, "column": 22 }, "end": { - "line": 309, + "line": 317, "column": 41 } }, "object": { "type": "Identifier", - "start": 9481, - "end": 9493, + "start": 10102, + "end": 10114, "loc": { "start": { - "line": 309, + "line": 317, "column": 22 }, "end": { - "line": 309, + "line": 317, "column": 34 }, "identifierName": "currentInput" @@ -37679,15 +39279,15 @@ }, "property": { "type": "Identifier", - "start": 9494, - "end": 9500, + "start": 10115, + "end": 10121, "loc": { "start": { - "line": 309, + "line": 317, "column": 35 }, "end": { - "line": 309, + "line": 317, "column": 41 }, "identifierName": "length" @@ -37699,29 +39299,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 9505, - "end": 9533, + "start": 10126, + "end": 10154, "loc": { "start": { - "line": 309, + "line": 317, "column": 46 }, "end": { - "line": 309, + "line": 317, "column": 74 } }, "object": { "type": "Identifier", - "start": 9505, - "end": 9514, + "start": 10126, + "end": 10135, "loc": { "start": { - "line": 309, + "line": 317, "column": 46 }, "end": { - "line": 309, + "line": 317, "column": 55 }, "identifierName": "maxLength" @@ -37730,29 +39330,29 @@ }, "property": { "type": "MemberExpression", - "start": 9515, - "end": 9532, + "start": 10136, + "end": 10153, "loc": { "start": { - "line": 309, + "line": 317, "column": 56 }, "end": { - "line": 309, + "line": 317, "column": 73 } }, "object": { "type": "Identifier", - "start": 9515, - "end": 9522, + "start": 10136, + "end": 10143, "loc": { "start": { - "line": 309, + "line": 317, "column": 56 }, "end": { - "line": 309, + "line": 317, "column": 63 }, "identifierName": "options" @@ -37761,15 +39361,15 @@ }, "property": { "type": "Identifier", - "start": 9523, - "end": 9532, + "start": 10144, + "end": 10153, "loc": { "start": { - "line": 309, + "line": 317, "column": 64 }, "end": { - "line": 309, + "line": 317, "column": 73 }, "identifierName": "inputName" @@ -37787,43 +39387,43 @@ }, { "type": "IfStatement", - "start": 9544, - "end": 9632, + "start": 10165, + "end": 10253, "loc": { "start": { - "line": 311, + "line": 319, "column": 6 }, "end": { - "line": 313, + "line": 321, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 9547, - "end": 9560, + "start": 10168, + "end": 10181, "loc": { "start": { - "line": 311, + "line": 319, "column": 9 }, "end": { - "line": 311, + "line": 319, "column": 22 } }, "object": { "type": "Identifier", - "start": 9547, - "end": 9554, + "start": 10168, + "end": 10175, "loc": { "start": { - "line": 311, + "line": 319, "column": 9 }, "end": { - "line": 311, + "line": 319, "column": 16 }, "identifierName": "options" @@ -37832,15 +39432,15 @@ }, "property": { "type": "Identifier", - "start": 9555, - "end": 9560, + "start": 10176, + "end": 10181, "loc": { "start": { - "line": 311, + "line": 319, "column": 17 }, "end": { - "line": 311, + "line": 319, "column": 22 }, "identifierName": "debug" @@ -37851,72 +39451,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9561, - "end": 9632, + "start": 10182, + "end": 10253, "loc": { "start": { - "line": 311, + "line": 319, "column": 23 }, "end": { - "line": 313, + "line": 321, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9572, - "end": 9623, + "start": 10193, + "end": 10244, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 9572, - "end": 9622, + "start": 10193, + "end": 10243, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 9572, - "end": 9583, + "start": 10193, + "end": 10204, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 19 } }, "object": { "type": "Identifier", - "start": 9572, - "end": 9579, + "start": 10193, + "end": 10200, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 15 }, "identifierName": "console" @@ -37925,15 +39525,15 @@ }, "property": { "type": "Identifier", - "start": 9580, - "end": 9583, + "start": 10201, + "end": 10204, "loc": { "start": { - "line": 312, + "line": 320, "column": 16 }, "end": { - "line": 312, + "line": 320, "column": 19 }, "identifierName": "log" @@ -37945,15 +39545,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9584, - "end": 9610, + "start": 10205, + "end": 10231, "loc": { "start": { - "line": 312, + "line": 320, "column": 20 }, "end": { - "line": 312, + "line": 320, "column": 46 } }, @@ -37965,15 +39565,15 @@ }, { "type": "Identifier", - "start": 9612, - "end": 9621, + "start": 10233, + "end": 10242, "loc": { "start": { - "line": 312, + "line": 320, "column": 48 }, "end": { - "line": 312, + "line": 320, "column": 57 }, "identifierName": "condition" @@ -37990,29 +39590,29 @@ }, { "type": "IfStatement", - "start": 9642, - "end": 9805, + "start": 10263, + "end": 10426, "loc": { "start": { - "line": 315, + "line": 323, "column": 6 }, "end": { - "line": 321, + "line": 329, "column": 7 } }, "test": { "type": "Identifier", - "start": 9645, - "end": 9654, + "start": 10266, + "end": 10275, "loc": { "start": { - "line": 315, + "line": 323, "column": 9 }, "end": { - "line": 315, + "line": 323, "column": 18 }, "identifierName": "condition" @@ -38021,88 +39621,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 9655, - "end": 9726, + "start": 10276, + "end": 10347, "loc": { "start": { - "line": 315, + "line": 323, "column": 19 }, "end": { - "line": 318, + "line": 326, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9666, - "end": 9695, + "start": 10287, + "end": 10316, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 9666, - "end": 9694, + "start": 10287, + "end": 10315, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9666, - "end": 9687, + "start": 10287, + "end": 10308, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9666, - "end": 9670, + "start": 10287, + "end": 10291, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9671, - "end": 9687, + "start": 10292, + "end": 10308, "loc": { "start": { - "line": 316, + "line": 324, "column": 13 }, "end": { - "line": 316, + "line": 324, "column": 29 }, "identifierName": "maxLengthReached" @@ -38113,15 +39713,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9690, - "end": 9694, + "start": 10311, + "end": 10315, "loc": { "start": { - "line": 316, + "line": 324, "column": 32 }, "end": { - "line": 316, + "line": 324, "column": 36 } }, @@ -38131,29 +39731,29 @@ }, { "type": "ReturnStatement", - "start": 9705, - "end": 9717, + "start": 10326, + "end": 10338, "loc": { "start": { - "line": 317, + "line": 325, "column": 8 }, "end": { - "line": 317, + "line": 325, "column": 20 } }, "argument": { "type": "BooleanLiteral", - "start": 9712, - "end": 9716, + "start": 10333, + "end": 10337, "loc": { "start": { - "line": 317, + "line": 325, "column": 15 }, "end": { - "line": 317, + "line": 325, "column": 19 } }, @@ -38165,88 +39765,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 9732, - "end": 9805, + "start": 10353, + "end": 10426, "loc": { "start": { - "line": 318, + "line": 326, "column": 13 }, "end": { - "line": 321, + "line": 329, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 9743, - "end": 9773, + "start": 10364, + "end": 10394, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 9743, - "end": 9772, + "start": 10364, + "end": 10393, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9743, - "end": 9764, + "start": 10364, + "end": 10385, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 9743, - "end": 9747, + "start": 10364, + "end": 10368, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 12 } } }, "property": { "type": "Identifier", - "start": 9748, - "end": 9764, + "start": 10369, + "end": 10385, "loc": { "start": { - "line": 319, + "line": 327, "column": 13 }, "end": { - "line": 319, + "line": 327, "column": 29 }, "identifierName": "maxLengthReached" @@ -38257,15 +39857,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9767, - "end": 9772, + "start": 10388, + "end": 10393, "loc": { "start": { - "line": 319, + "line": 327, "column": 32 }, "end": { - "line": 319, + "line": 327, "column": 37 } }, @@ -38275,29 +39875,29 @@ }, { "type": "ReturnStatement", - "start": 9783, - "end": 9796, + "start": 10404, + "end": 10417, "loc": { "start": { - "line": 320, + "line": 328, "column": 8 }, "end": { - "line": 320, + "line": 328, "column": 21 } }, "argument": { "type": "BooleanLiteral", - "start": 9790, - "end": 9795, + "start": 10411, + "end": 10416, "loc": { "start": { - "line": 320, + "line": 328, "column": 15 }, "end": { - "line": 320, + "line": 328, "column": 20 } }, @@ -38321,15 +39921,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 8324, - "end": 8555, + "start": 8947, + "end": 9178, "loc": { "start": { - "line": 268, + "line": 277, "column": 2 }, "end": { - "line": 274, + "line": 283, "column": 5 } } @@ -38339,15 +39939,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9823, - "end": 9882, + "start": 10444, + "end": 10503, "loc": { "start": { - "line": 325, + "line": 333, "column": 2 }, "end": { - "line": 327, + "line": 335, "column": 5 } } @@ -38356,15 +39956,15 @@ }, { "type": "ClassMethod", - "start": 9886, - "end": 9956, + "start": 10507, + "end": 10577, "loc": { "start": { - "line": 328, + "line": 336, "column": 2 }, "end": { - "line": 330, + "line": 338, "column": 3 } }, @@ -38372,15 +39972,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9886, - "end": 9904, + "start": 10507, + "end": 10525, "loc": { "start": { - "line": 328, + "line": 336, "column": 2 }, "end": { - "line": 328, + "line": 336, "column": 20 }, "identifierName": "isMaxLengthReached" @@ -38396,58 +39996,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9906, - "end": 9956, + "start": 10527, + "end": 10577, "loc": { "start": { - "line": 328, + "line": 336, "column": 22 }, "end": { - "line": 330, + "line": 338, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 9913, - "end": 9951, + "start": 10534, + "end": 10572, "loc": { "start": { - "line": 329, + "line": 337, "column": 4 }, "end": { - "line": 329, + "line": 337, "column": 42 } }, "argument": { "type": "CallExpression", - "start": 9920, - "end": 9950, + "start": 10541, + "end": 10571, "loc": { "start": { - "line": 329, + "line": 337, "column": 11 }, "end": { - "line": 329, + "line": 337, "column": 41 } }, "callee": { "type": "Identifier", - "start": 9920, - "end": 9927, + "start": 10541, + "end": 10548, "loc": { "start": { - "line": 329, + "line": 337, "column": 11 }, "end": { - "line": 329, + "line": 337, "column": 18 }, "identifierName": "Boolean" @@ -38457,44 +40057,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 9928, - "end": 9949, + "start": 10549, + "end": 10570, "loc": { "start": { - "line": 329, + "line": 337, "column": 19 }, "end": { - "line": 329, + "line": 337, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 9928, - "end": 9932, + "start": 10549, + "end": 10553, "loc": { "start": { - "line": 329, + "line": 337, "column": 19 }, "end": { - "line": 329, + "line": 337, "column": 23 } } }, "property": { "type": "Identifier", - "start": 9933, - "end": 9949, + "start": 10554, + "end": 10570, "loc": { "start": { - "line": 329, + "line": 337, "column": 24 }, "end": { - "line": 329, + "line": 337, "column": 40 }, "identifierName": "maxLengthReached" @@ -38514,15 +40114,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9823, - "end": 9882, + "start": 10444, + "end": 10503, "loc": { "start": { - "line": 325, + "line": 333, "column": 2 }, "end": { - "line": 327, + "line": 335, "column": 5 } } @@ -38532,15 +40132,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9962, - "end": 10084, + "start": 10583, + "end": 10705, "loc": { "start": { - "line": 332, + "line": 340, "column": 2 }, "end": { - "line": 336, + "line": 344, "column": 5 } } @@ -38549,15 +40149,15 @@ }, { "type": "ClassMethod", - "start": 10088, - "end": 10244, + "start": 10709, + "end": 10865, "loc": { "start": { - "line": 337, + "line": 345, "column": 2 }, "end": { - "line": 339, + "line": 347, "column": 3 } }, @@ -38565,15 +40165,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10088, - "end": 10097, + "start": 10709, + "end": 10718, "loc": { "start": { - "line": 337, + "line": 345, "column": 2 }, "end": { - "line": 337, + "line": 345, "column": 11 }, "identifierName": "camelCase" @@ -38589,15 +40189,15 @@ "params": [ { "type": "Identifier", - "start": 10098, - "end": 10104, + "start": 10719, + "end": 10725, "loc": { "start": { - "line": 337, + "line": 345, "column": 12 }, "end": { - "line": 337, + "line": 345, "column": 18 }, "identifierName": "string" @@ -38607,156 +40207,156 @@ ], "body": { "type": "BlockStatement", - "start": 10105, - "end": 10244, + "start": 10726, + "end": 10865, "loc": { "start": { - "line": 337, + "line": 345, "column": 19 }, "end": { - "line": 339, + "line": 347, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 10112, - "end": 10239, + "start": 10733, + "end": 10860, "loc": { "start": { - "line": 338, + "line": 346, "column": 4 }, "end": { - "line": 338, + "line": 346, "column": 131 } }, "argument": { "type": "CallExpression", - "start": 10119, - "end": 10238, + "start": 10740, + "end": 10859, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 130 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10172, + "start": 10740, + "end": 10793, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 64 } }, "object": { "type": "CallExpression", - "start": 10119, - "end": 10165, + "start": 10740, + "end": 10786, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10152, + "start": 10740, + "end": 10773, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 44 } }, "object": { "type": "CallExpression", - "start": 10119, - "end": 10146, + "start": 10740, + "end": 10767, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10144, + "start": 10740, + "end": 10765, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 36 } }, "object": { "type": "CallExpression", - "start": 10119, - "end": 10139, + "start": 10740, + "end": 10760, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 10119, - "end": 10137, + "start": 10740, + "end": 10758, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 29 } }, "object": { "type": "Identifier", - "start": 10119, - "end": 10125, + "start": 10740, + "end": 10746, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 17 }, "identifierName": "string" @@ -38765,15 +40365,15 @@ }, "property": { "type": "Identifier", - "start": 10126, - "end": 10137, + "start": 10747, + "end": 10758, "loc": { "start": { - "line": 338, + "line": 346, "column": 18 }, "end": { - "line": 338, + "line": 346, "column": 29 }, "identifierName": "toLowerCase" @@ -38786,15 +40386,15 @@ }, "property": { "type": "Identifier", - "start": 10140, - "end": 10144, + "start": 10761, + "end": 10765, "loc": { "start": { - "line": 338, + "line": 346, "column": 32 }, "end": { - "line": 338, + "line": 346, "column": 36 }, "identifierName": "trim" @@ -38807,15 +40407,15 @@ }, "property": { "type": "Identifier", - "start": 10147, - "end": 10152, + "start": 10768, + "end": 10773, "loc": { "start": { - "line": 338, + "line": 346, "column": 39 }, "end": { - "line": 338, + "line": 346, "column": 44 }, "identifierName": "split" @@ -38827,15 +40427,15 @@ "arguments": [ { "type": "RegExpLiteral", - "start": 10153, - "end": 10164, + "start": 10774, + "end": 10785, "loc": { "start": { - "line": 338, + "line": 346, "column": 45 }, "end": { - "line": 338, + "line": 346, "column": 56 } }, @@ -38849,15 +40449,15 @@ }, "property": { "type": "Identifier", - "start": 10166, - "end": 10172, + "start": 10787, + "end": 10793, "loc": { "start": { - "line": 338, + "line": 346, "column": 58 }, "end": { - "line": 338, + "line": 346, "column": 64 }, "identifierName": "reduce" @@ -38869,15 +40469,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10173, - "end": 10237, + "start": 10794, + "end": 10858, "loc": { "start": { - "line": 338, + "line": 346, "column": 65 }, "end": { - "line": 338, + "line": 346, "column": 129 } }, @@ -38888,15 +40488,15 @@ "params": [ { "type": "Identifier", - "start": 10174, - "end": 10180, + "start": 10795, + "end": 10801, "loc": { "start": { - "line": 338, + "line": 346, "column": 66 }, "end": { - "line": 338, + "line": 346, "column": 72 }, "identifierName": "string" @@ -38905,15 +40505,15 @@ }, { "type": "Identifier", - "start": 10182, - "end": 10186, + "start": 10803, + "end": 10807, "loc": { "start": { - "line": 338, + "line": 346, "column": 74 }, "end": { - "line": 338, + "line": 346, "column": 78 }, "identifierName": "word" @@ -38923,43 +40523,43 @@ ], "body": { "type": "BinaryExpression", - "start": 10191, - "end": 10237, + "start": 10812, + "end": 10858, "loc": { "start": { - "line": 338, + "line": 346, "column": 83 }, "end": { - "line": 338, + "line": 346, "column": 129 } }, "left": { "type": "BinaryExpression", - "start": 10191, - "end": 10221, + "start": 10812, + "end": 10842, "loc": { "start": { - "line": 338, + "line": 346, "column": 83 }, "end": { - "line": 338, + "line": 346, "column": 113 } }, "left": { "type": "Identifier", - "start": 10191, - "end": 10197, + "start": 10812, + "end": 10818, "loc": { "start": { - "line": 338, + "line": 346, "column": 83 }, "end": { - "line": 338, + "line": 346, "column": 89 }, "identifierName": "string" @@ -38969,57 +40569,57 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10200, - "end": 10221, + "start": 10821, + "end": 10842, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 113 } }, "callee": { "type": "MemberExpression", - "start": 10200, - "end": 10219, + "start": 10821, + "end": 10840, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 111 } }, "object": { "type": "MemberExpression", - "start": 10200, - "end": 10207, + "start": 10821, + "end": 10828, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 99 } }, "object": { "type": "Identifier", - "start": 10200, - "end": 10204, + "start": 10821, + "end": 10825, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 96 }, "identifierName": "word" @@ -39028,15 +40628,15 @@ }, "property": { "type": "NumericLiteral", - "start": 10205, - "end": 10206, + "start": 10826, + "end": 10827, "loc": { "start": { - "line": 338, + "line": 346, "column": 97 }, "end": { - "line": 338, + "line": 346, "column": 98 } }, @@ -39050,15 +40650,15 @@ }, "property": { "type": "Identifier", - "start": 10208, - "end": 10219, + "start": 10829, + "end": 10840, "loc": { "start": { - "line": 338, + "line": 346, "column": 100 }, "end": { - "line": 338, + "line": 346, "column": 111 }, "identifierName": "toUpperCase" @@ -39073,43 +40673,43 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 10224, - "end": 10237, + "start": 10845, + "end": 10858, "loc": { "start": { - "line": 338, + "line": 346, "column": 116 }, "end": { - "line": 338, + "line": 346, "column": 129 } }, "callee": { "type": "MemberExpression", - "start": 10224, - "end": 10234, + "start": 10845, + "end": 10855, "loc": { "start": { - "line": 338, + "line": 346, "column": 116 }, "end": { - "line": 338, + "line": 346, "column": 126 } }, "object": { "type": "Identifier", - "start": 10224, - "end": 10228, + "start": 10845, + "end": 10849, "loc": { "start": { - "line": 338, + "line": 346, "column": 116 }, "end": { - "line": 338, + "line": 346, "column": 120 }, "identifierName": "word" @@ -39118,15 +40718,15 @@ }, "property": { "type": "Identifier", - "start": 10229, - "end": 10234, + "start": 10850, + "end": 10855, "loc": { "start": { - "line": 338, + "line": 346, "column": 121 }, "end": { - "line": 338, + "line": 346, "column": 126 }, "identifierName": "slice" @@ -39138,15 +40738,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 10235, - "end": 10236, + "start": 10856, + "end": 10857, "loc": { "start": { - "line": 338, + "line": 346, "column": 127 }, "end": { - "line": 338, + "line": 346, "column": 128 } }, @@ -39170,15 +40770,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9962, - "end": 10084, + "start": 10583, + "end": 10705, "loc": { "start": { - "line": 332, + "line": 340, "column": 2 }, "end": { - "line": 336, + "line": 344, "column": 5 } } @@ -39187,15 +40787,15 @@ }, { "type": "ClassMethod", - "start": 10435, - "end": 10525, + "start": 11056, + "end": 11146, "loc": { "start": { - "line": 347, + "line": 355, "column": 2 }, "end": { - "line": 349, + "line": 357, "column": 3 } }, @@ -39203,15 +40803,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10435, - "end": 10447, + "start": 11056, + "end": 11068, "loc": { "start": { - "line": 347, + "line": 355, "column": 2 }, "end": { - "line": 347, + "line": 355, "column": 14 }, "identifierName": "countInArray" @@ -39227,15 +40827,15 @@ "params": [ { "type": "Identifier", - "start": 10448, - "end": 10453, + "start": 11069, + "end": 11074, "loc": { "start": { - "line": 347, + "line": 355, "column": 15 }, "end": { - "line": 347, + "line": 355, "column": 20 }, "identifierName": "array" @@ -39244,15 +40844,15 @@ }, { "type": "Identifier", - "start": 10455, - "end": 10460, + "start": 11076, + "end": 11081, "loc": { "start": { - "line": 347, + "line": 355, "column": 22 }, "end": { - "line": 347, + "line": 355, "column": 27 }, "identifierName": "value" @@ -39262,72 +40862,72 @@ ], "body": { "type": "BlockStatement", - "start": 10461, - "end": 10525, + "start": 11082, + "end": 11146, "loc": { "start": { - "line": 347, + "line": 355, "column": 28 }, "end": { - "line": 349, + "line": 357, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 10468, - "end": 10520, + "start": 11089, + "end": 11141, "loc": { "start": { - "line": 348, + "line": 356, "column": 4 }, "end": { - "line": 348, + "line": 356, "column": 56 } }, "argument": { "type": "CallExpression", - "start": 10475, - "end": 10519, + "start": 11096, + "end": 11140, "loc": { "start": { - "line": 348, + "line": 356, "column": 11 }, "end": { - "line": 348, + "line": 356, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 10475, - "end": 10487, + "start": 11096, + "end": 11108, "loc": { "start": { - "line": 348, + "line": 356, "column": 11 }, "end": { - "line": 348, + "line": 356, "column": 23 } }, "object": { "type": "Identifier", - "start": 10475, - "end": 10480, + "start": 11096, + "end": 11101, "loc": { "start": { - "line": 348, + "line": 356, "column": 11 }, "end": { - "line": 348, + "line": 356, "column": 16 }, "identifierName": "array" @@ -39336,15 +40936,15 @@ }, "property": { "type": "Identifier", - "start": 10481, - "end": 10487, + "start": 11102, + "end": 11108, "loc": { "start": { - "line": 348, + "line": 356, "column": 17 }, "end": { - "line": 348, + "line": 356, "column": 23 }, "identifierName": "reduce" @@ -39356,15 +40956,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 10488, - "end": 10515, + "start": 11109, + "end": 11136, "loc": { "start": { - "line": 348, + "line": 356, "column": 24 }, "end": { - "line": 348, + "line": 356, "column": 51 } }, @@ -39375,15 +40975,15 @@ "params": [ { "type": "Identifier", - "start": 10489, - "end": 10490, + "start": 11110, + "end": 11111, "loc": { "start": { - "line": 348, + "line": 356, "column": 25 }, "end": { - "line": 348, + "line": 356, "column": 26 }, "identifierName": "n" @@ -39392,15 +40992,15 @@ }, { "type": "Identifier", - "start": 10492, - "end": 10493, + "start": 11113, + "end": 11114, "loc": { "start": { - "line": 348, + "line": 356, "column": 28 }, "end": { - "line": 348, + "line": 356, "column": 29 }, "identifierName": "x" @@ -39410,29 +41010,29 @@ ], "body": { "type": "BinaryExpression", - "start": 10498, - "end": 10515, + "start": 11119, + "end": 11136, "loc": { "start": { - "line": 348, + "line": 356, "column": 34 }, "end": { - "line": 348, + "line": 356, "column": 51 } }, "left": { "type": "Identifier", - "start": 10498, - "end": 10499, + "start": 11119, + "end": 11120, "loc": { "start": { - "line": 348, + "line": 356, "column": 34 }, "end": { - "line": 348, + "line": 356, "column": 35 }, "identifierName": "n" @@ -39442,29 +41042,29 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 10503, - "end": 10514, + "start": 11124, + "end": 11135, "loc": { "start": { - "line": 348, + "line": 356, "column": 39 }, "end": { - "line": 348, + "line": 356, "column": 50 } }, "left": { "type": "Identifier", - "start": 10503, - "end": 10504, + "start": 11124, + "end": 11125, "loc": { "start": { - "line": 348, + "line": 356, "column": 39 }, "end": { - "line": 348, + "line": 356, "column": 40 }, "identifierName": "x" @@ -39474,15 +41074,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 10509, - "end": 10514, + "start": 11130, + "end": 11135, "loc": { "start": { - "line": 348, + "line": 356, "column": 45 }, "end": { - "line": 348, + "line": 356, "column": 50 }, "identifierName": "value" @@ -39491,22 +41091,22 @@ }, "extra": { "parenthesized": true, - "parenStart": 10502 + "parenStart": 11123 } } } }, { "type": "NumericLiteral", - "start": 10517, - "end": 10518, + "start": 11138, + "end": 11139, "loc": { "start": { - "line": 348, + "line": 356, "column": 53 }, "end": { - "line": 348, + "line": 356, "column": 54 } }, @@ -39526,15 +41126,15 @@ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 10251, - "end": 10431, + "start": 10872, + "end": 11052, "loc": { "start": { - "line": 341, + "line": 349, "column": 2 }, "end": { - "line": 346, + "line": 354, "column": 5 } } @@ -39684,16 +41284,16 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", + "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", "start": 3560, - "end": 3877, + "end": 3954, "loc": { "start": { "line": 127, "column": 2 }, "end": { - "line": 134, + "line": 135, "column": 5 } } @@ -39701,31 +41301,31 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5471, - "end": 5713, + "start": 5684, + "end": 5926, "loc": { "start": { - "line": 176, + "line": 179, "column": 2 }, "end": { - "line": 181, + "line": 184, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 6059, - "end": 6311, + "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 6273, + "end": 6602, "loc": { "start": { - "line": 191, + "line": 194, "column": 2 }, "end": { - "line": 197, + "line": 201, "column": 5 } } @@ -39733,8 +41333,8 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6657, - "end": 6731, + "start": 6855, + "end": 6929, "loc": { "start": { "line": 210, @@ -39748,16 +41348,16 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6866, - "end": 7086, + "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 7195, + "end": 7492, "loc": { "start": { - "line": 222, + "line": 226, "column": 2 }, "end": { - "line": 227, + "line": 232, "column": 5 } } @@ -39765,15 +41365,15 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 7341, - "end": 7521, + "start": 7758, + "end": 7938, "loc": { "start": { - "line": 238, + "line": 243, "column": 4 }, "end": { - "line": 241, + "line": 246, "column": 7 } } @@ -39781,15 +41381,15 @@ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 8324, - "end": 8555, + "start": 8947, + "end": 9178, "loc": { "start": { - "line": 268, + "line": 277, "column": 2 }, "end": { - "line": 274, + "line": 283, "column": 5 } } @@ -39797,15 +41397,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8778, - "end": 8899, + "start": 9399, + "end": 9520, "loc": { "start": { - "line": 282, + "line": 290, "column": 6 }, "end": { - "line": 285, + "line": 293, "column": 9 } } @@ -39813,15 +41413,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 9155, - "end": 9259, + "start": 9776, + "end": 9880, "loc": { "start": { - "line": 297, + "line": 305, "column": 8 }, "end": { - "line": 299, + "line": 307, "column": 11 } } @@ -39829,15 +41429,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9823, - "end": 9882, + "start": 10444, + "end": 10503, "loc": { "start": { - "line": 325, + "line": 333, "column": 2 }, "end": { - "line": 327, + "line": 335, "column": 5 } } @@ -39845,15 +41445,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9962, - "end": 10084, + "start": 10583, + "end": 10705, "loc": { "start": { - "line": 332, + "line": 340, "column": 2 }, "end": { - "line": 336, + "line": 344, "column": 5 } } @@ -39861,15 +41461,15 @@ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 10251, - "end": 10431, + "start": 10872, + "end": 11052, "loc": { "start": { - "line": 341, + "line": 349, "column": 2 }, "end": { - "line": 346, + "line": 354, "column": 5 } } @@ -52935,16 +54535,16 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", + "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", "start": 3560, - "end": 3877, + "end": 3954, "loc": { "start": { "line": 127, "column": 2 }, "end": { - "line": 134, + "line": 135, "column": 5 } } @@ -52962,459 +54562,16 @@ "binop": null }, "value": "getUpdatedInput", - "start": 3881, - "end": 3896, - "loc": { - "start": { - "line": 135, - "column": 2 - }, - "end": { - "line": 135, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3896, - "end": 3897, - "loc": { - "start": { - "line": 135, - "column": 17 - }, - "end": { - "line": 135, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "button", - "start": 3897, - "end": 3903, - "loc": { - "start": { - "line": 135, - "column": 18 - }, - "end": { - "line": 135, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3903, - "end": 3904, - "loc": { - "start": { - "line": 135, - "column": 24 - }, - "end": { - "line": 135, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 3905, - "end": 3910, - "loc": { - "start": { - "line": 135, - "column": 26 - }, - "end": { - "line": 135, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3910, - "end": 3911, - "loc": { - "start": { - "line": 135, - "column": 31 - }, - "end": { - "line": 135, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 3912, - "end": 3919, - "loc": { - "start": { - "line": 135, - "column": 33 - }, - "end": { - "line": 135, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3919, - "end": 3920, - "loc": { - "start": { - "line": 135, - "column": 40 - }, - "end": { - "line": 135, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretPos", - "start": 3921, - "end": 3929, - "loc": { - "start": { - "line": 135, - "column": 42 - }, - "end": { - "line": 135, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3929, - "end": 3930, - "loc": { - "start": { - "line": 135, - "column": 50 - }, - "end": { - "line": 135, - "column": 51 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3930, - "end": 3931, - "loc": { - "start": { - "line": 135, - "column": 51 - }, - "end": { - "line": 135, - "column": 52 - } - } - }, - { - "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": 3943, - "end": 3946, - "loc": { - "start": { - "line": 137, - "column": 4 - }, - "end": { - "line": 137, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 3947, - "end": 3953, - "loc": { - "start": { - "line": 137, - "column": 8 - }, - "end": { - "line": 137, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3954, - "end": 3955, - "loc": { - "start": { - "line": 137, - "column": 15 - }, - "end": { - "line": 137, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "input", - "start": 3956, - "end": 3961, - "loc": { - "start": { - "line": 137, - "column": 17 - }, - "end": { - "line": 137, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3961, - "end": 3962, - "loc": { - "start": { - "line": 137, - "column": 22 - }, - "end": { - "line": 137, - "column": 23 - } - } - }, - { - "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": 3970, - "end": 3972, - "loc": { - "start": { - "line": 139, - "column": 4 - }, - "end": { - "line": 139, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3972, + "start": 3958, "end": 3973, "loc": { "start": { - "line": 139, - "column": 6 + "line": 136, + "column": 2 }, "end": { - "line": 139, - "column": 7 + "line": 136, + "column": 17 } } }, @@ -53434,12 +54591,12 @@ "end": 3974, "loc": { "start": { - "line": 139, - "column": 7 + "line": 136, + "column": 17 }, "end": { - "line": 139, - "column": 8 + "line": 136, + "column": 18 } } }, @@ -53460,18 +54617,18 @@ "end": 3980, "loc": { "start": { - "line": 139, - "column": 8 + "line": 136, + "column": 18 }, "end": { - "line": 139, - "column": 14 + "line": 136, + "column": 24 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53479,74 +54636,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 3981, - "end": 3984, - "loc": { - "start": { - "line": 139, - "column": 15 - }, - "end": { - "line": 139, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "{bksp}", - "start": 3985, - "end": 3993, + "start": 3980, + "end": 3981, "loc": { "start": { - "line": 139, - "column": 19 + "line": 136, + "column": 24 }, "end": { - "line": 139, - "column": 27 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 3994, - "end": 3996, - "loc": { - "start": { - "line": 139, - "column": 28 - }, - "end": { - "line": 139, - "column": 30 + "line": 136, + "column": 25 } } }, @@ -53562,23 +54664,23 @@ "postfix": false, "binop": null }, - "value": "button", - "start": 3997, - "end": 4003, + "value": "input", + "start": 3982, + "end": 3987, "loc": { "start": { - "line": 139, - "column": 31 + "line": 136, + "column": 26 }, "end": { - "line": 139, - "column": 37 + "line": 136, + "column": 31 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53586,26 +54688,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 4004, - "end": 4007, + "start": 3987, + "end": 3988, "loc": { "start": { - "line": 139, - "column": 38 + "line": 136, + "column": 31 }, "end": { - "line": 139, + "line": 136, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 3989, + "end": 3996, + "loc": { + "start": { + "line": 136, + "column": 33 + }, + "end": { + "line": 136, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3996, + "end": 3997, + "loc": { + "start": { + "line": 136, + "column": 40 + }, + "end": { + "line": 136, "column": 41 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53613,51 +54766,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "{backspace}", - "start": 4008, - "end": 4021, + "value": "caretPos", + "start": 3998, + "end": 4006, "loc": { "start": { - "line": 139, + "line": 136, "column": 42 }, "end": { - "line": 139, - "column": 55 + "line": 136, + "column": 50 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4021, - "end": 4022, - "loc": { - "start": { - "line": 139, - "column": 55 - }, - "end": { - "line": 139, - "column": 56 - } - } - }, - { - "type": { - "label": "&&", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53665,20 +54792,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 4023, - "end": 4025, + "start": 4006, + "end": 4007, "loc": { "start": { - "line": 139, - "column": 57 + "line": 136, + "column": 50 }, "end": { - "line": 139, - "column": 59 + "line": 136, + "column": 51 } } }, @@ -53694,123 +54820,17 @@ "postfix": false, "binop": null }, - "value": "output", - "start": 4026, - "end": 4032, + "value": "moveCaret", + "start": 4008, + "end": 4017, "loc": { "start": { - "line": 139, - "column": 60 + "line": 136, + "column": 52 }, "end": { - "line": 139, - "column": 66 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4032, - "end": 4033, - "loc": { - "start": { - "line": 139, - "column": 66 - }, - "end": { - "line": 139, - "column": 67 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 4033, - "end": 4039, - "loc": { - "start": { - "line": 139, - "column": 67 - }, - "end": { - "line": 139, - "column": 73 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">", - "start": 4040, - "end": 4041, - "loc": { - "start": { - "line": 139, - "column": 74 - }, - "end": { - "line": 139, - "column": 75 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 4042, - "end": 4043, - "loc": { - "start": { - "line": 139, - "column": 76 - }, - "end": { - "line": 139, - "column": 77 + "line": 136, + "column": 61 } } }, @@ -53826,16 +54846,16 @@ "postfix": false, "binop": null }, - "start": 4043, - "end": 4044, + "start": 4017, + "end": 4018, "loc": { "start": { - "line": 139, - "column": 77 + "line": 136, + "column": 61 }, "end": { - "line": 139, - "column": 78 + "line": 136, + "column": 62 } } }, @@ -53851,16 +54871,44 @@ "postfix": false, "binop": null }, - "start": 4044, - "end": 4045, + "start": 4018, + "end": 4019, "loc": { "start": { - "line": 139, - "column": 78 + "line": 136, + "column": 62 }, "end": { - "line": 139, - "column": 79 + "line": 136, + "column": 63 + } + } + }, + { + "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": 4031, + "end": 4034, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 7 } } }, @@ -53877,16 +54925,16 @@ "binop": null }, "value": "output", - "start": 4053, - "end": 4059, + "start": 4035, + "end": 4041, "loc": { "start": { - "line": 140, - "column": 6 + "line": 138, + "column": 8 }, "end": { - "line": 140, - "column": 12 + "line": 138, + "column": 14 } } }, @@ -53904,70 +54952,16 @@ "updateContext": null }, "value": "=", - "start": 4060, - "end": 4061, + "start": 4042, + "end": 4043, "loc": { "start": { - "line": 140, - "column": 13 - }, - "end": { - "line": 140, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 4062, - "end": 4066, - "loc": { - "start": { - "line": 140, + "line": 138, "column": 15 }, "end": { - "line": 140, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4066, - "end": 4067, - "loc": { - "start": { - "line": 140, - "column": 19 - }, - "end": { - "line": 140, - "column": 20 + "line": 138, + "column": 16 } } }, @@ -53983,145 +54977,17 @@ "postfix": false, "binop": null }, - "value": "removeAt", - "start": 4067, - "end": 4075, + "value": "input", + "start": 4044, + "end": 4049, "loc": { "start": { - "line": 140, - "column": 20 + "line": 138, + "column": 17 }, "end": { - "line": 140, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4075, - "end": 4076, - "loc": { - "start": { - "line": 140, - "column": 28 - }, - "end": { - "line": 140, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 4076, - "end": 4082, - "loc": { - "start": { - "line": 140, - "column": 29 - }, - "end": { - "line": 140, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4082, - "end": 4083, - "loc": { - "start": { - "line": 140, - "column": 35 - }, - "end": { - "line": 140, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "caretPos", - "start": 4084, - "end": 4092, - "loc": { - "start": { - "line": 140, - "column": 37 - }, - "end": { - "line": 140, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4092, - "end": 4093, - "loc": { - "start": { - "line": 140, - "column": 45 - }, - "end": { - "line": 140, - "column": 46 + "line": 138, + "column": 22 } } }, @@ -54138,69 +55004,16 @@ "binop": null, "updateContext": null }, - "start": 4093, - "end": 4094, + "start": 4049, + "end": 4050, "loc": { "start": { - "line": 140, - "column": 46 + "line": 138, + "column": 22 }, "end": { - "line": 140, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4102, - "end": 4103, - "loc": { - "start": { - "line": 142, - "column": 4 - }, - "end": { - "line": 142, - "column": 5 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 4104, - "end": 4108, - "loc": { - "start": { - "line": 142, - "column": 6 - }, - "end": { - "line": 142, - "column": 10 + "line": 138, + "column": 23 } } }, @@ -54219,16 +55032,16 @@ "updateContext": null }, "value": "if", - "start": 4109, - "end": 4111, + "start": 4058, + "end": 4060, "loc": { "start": { - "line": 142, - "column": 11 + "line": 140, + "column": 4 }, "end": { - "line": 142, - "column": 13 + "line": 140, + "column": 6 } } }, @@ -54244,16 +55057,41 @@ "postfix": false, "binop": null }, - "start": 4111, - "end": 4112, + "start": 4060, + "end": 4061, "loc": { "start": { - "line": 142, - "column": 13 + "line": 140, + "column": 6 }, "end": { - "line": 142, - "column": 14 + "line": 140, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4061, + "end": 4062, + "loc": { + "start": { + "line": 140, + "column": 7 + }, + "end": { + "line": 140, + "column": 8 } } }, @@ -54270,16 +55108,16 @@ "binop": null }, "value": "button", - "start": 4112, - "end": 4118, + "start": 4062, + "end": 4068, "loc": { "start": { - "line": 142, - "column": 14 + "line": 140, + "column": 8 }, "end": { - "line": 142, - "column": 20 + "line": 140, + "column": 14 } } }, @@ -54297,16 +55135,16 @@ "updateContext": null }, "value": "===", - "start": 4119, - "end": 4122, + "start": 4069, + "end": 4072, "loc": { "start": { - "line": 142, - "column": 21 + "line": 140, + "column": 15 }, "end": { - "line": 142, - "column": 24 + "line": 140, + "column": 18 } } }, @@ -54323,17 +55161,124 @@ "binop": null, "updateContext": null }, - "value": "{space}", - "start": 4123, - "end": 4132, + "value": "{bksp}", + "start": 4073, + "end": 4081, "loc": { "start": { - "line": 142, - "column": 25 + "line": 140, + "column": 19 }, "end": { - "line": 142, - "column": 34 + "line": 140, + "column": 27 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 4082, + "end": 4084, + "loc": { + "start": { + "line": 140, + "column": 28 + }, + "end": { + "line": 140, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4085, + "end": 4091, + "loc": { + "start": { + "line": 140, + "column": 31 + }, + "end": { + "line": 140, + "column": 37 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 4092, + "end": 4095, + "loc": { + "start": { + "line": 140, + "column": 38 + }, + "end": { + "line": 140, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{backspace}", + "start": 4096, + "end": 4109, + "loc": { + "start": { + "line": 140, + "column": 42 + }, + "end": { + "line": 140, + "column": 55 } } }, @@ -54349,16 +55294,225 @@ "postfix": false, "binop": null }, + "start": 4109, + "end": 4110, + "loc": { + "start": { + "line": 140, + "column": 55 + }, + "end": { + "line": 140, + "column": 56 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 4111, + "end": 4113, + "loc": { + "start": { + "line": 140, + "column": 57 + }, + "end": { + "line": 140, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4114, + "end": 4120, + "loc": { + "start": { + "line": 140, + "column": 60 + }, + "end": { + "line": 140, + "column": 66 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4120, + "end": 4121, + "loc": { + "start": { + "line": 140, + "column": 66 + }, + "end": { + "line": 140, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 4121, + "end": 4127, + "loc": { + "start": { + "line": 140, + "column": 67 + }, + "end": { + "line": 140, + "column": 73 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 4128, + "end": 4129, + "loc": { + "start": { + "line": 140, + "column": 74 + }, + "end": { + "line": 140, + "column": 75 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 4130, + "end": 4131, + "loc": { + "start": { + "line": 140, + "column": 76 + }, + "end": { + "line": 140, + "column": 77 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4131, + "end": 4132, + "loc": { + "start": { + "line": 140, + "column": 77 + }, + "end": { + "line": 140, + "column": 78 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, "start": 4132, "end": 4133, "loc": { "start": { - "line": 142, - "column": 34 + "line": 140, + "column": 78 }, "end": { - "line": 142, - "column": 35 + "line": 140, + "column": 79 } } }, @@ -54379,11 +55533,11 @@ "end": 4147, "loc": { "start": { - "line": 143, + "line": 141, "column": 6 }, "end": { - "line": 143, + "line": 141, "column": 12 } } @@ -54406,11 +55560,11 @@ "end": 4149, "loc": { "start": { - "line": 143, + "line": 141, "column": 13 }, "end": { - "line": 143, + "line": 141, "column": 14 } } @@ -54434,11 +55588,11 @@ "end": 4154, "loc": { "start": { - "line": 143, + "line": 141, "column": 15 }, "end": { - "line": 143, + "line": 141, "column": 19 } } @@ -54460,11 +55614,11 @@ "end": 4155, "loc": { "start": { - "line": 143, + "line": 141, "column": 19 }, "end": { - "line": 143, + "line": 141, "column": 20 } } @@ -54481,17 +55635,17 @@ "postfix": false, "binop": null }, - "value": "addStringAt", + "value": "removeAt", "start": 4155, - "end": 4166, + "end": 4163, "loc": { "start": { - "line": 143, + "line": 141, "column": 20 }, "end": { - "line": 143, - "column": 31 + "line": 141, + "column": 28 } } }, @@ -54507,16 +55661,16 @@ "postfix": false, "binop": null }, - "start": 4166, - "end": 4167, + "start": 4163, + "end": 4164, "loc": { "start": { - "line": 143, - "column": 31 + "line": 141, + "column": 28 }, "end": { - "line": 143, - "column": 32 + "line": 141, + "column": 29 } } }, @@ -54533,16 +55687,16 @@ "binop": null }, "value": "output", - "start": 4167, - "end": 4173, + "start": 4164, + "end": 4170, "loc": { "start": { - "line": 143, - "column": 32 + "line": 141, + "column": 29 }, "end": { - "line": 143, - "column": 38 + "line": 141, + "column": 35 } } }, @@ -54559,69 +55713,16 @@ "binop": null, "updateContext": null }, - "start": 4173, - "end": 4174, + "start": 4170, + "end": 4171, "loc": { "start": { - "line": 143, - "column": 38 + "line": 141, + "column": 35 }, "end": { - "line": 143, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 4175, - "end": 4178, - "loc": { - "start": { - "line": 143, - "column": 40 - }, - "end": { - "line": 143, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4178, - "end": 4179, - "loc": { - "start": { - "line": 143, - "column": 43 - }, - "end": { - "line": 143, - "column": 44 + "line": 141, + "column": 36 } } }, @@ -54638,16 +55739,68 @@ "binop": null }, "value": "caretPos", - "start": 4180, - "end": 4188, + "start": 4172, + "end": 4180, "loc": { "start": { - "line": 143, + "line": 141, + "column": 37 + }, + "end": { + "line": 141, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4180, + "end": 4181, + "loc": { + "start": { + "line": 141, "column": 45 }, "end": { - "line": 143, - "column": 53 + "line": 141, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 4182, + "end": 4191, + "loc": { + "start": { + "line": 141, + "column": 47 + }, + "end": { + "line": 141, + "column": 56 } } }, @@ -54663,16 +55816,16 @@ "postfix": false, "binop": null }, - "start": 4188, - "end": 4189, + "start": 4191, + "end": 4192, "loc": { "start": { - "line": 143, - "column": 53 + "line": 141, + "column": 56 }, "end": { - "line": 143, - "column": 54 + "line": 141, + "column": 57 } } }, @@ -54689,16 +55842,41 @@ "binop": null, "updateContext": null }, - "start": 4189, - "end": 4190, + "start": 4192, + "end": 4193, + "loc": { + "start": { + "line": 141, + "column": 57 + }, + "end": { + "line": 141, + "column": 58 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4201, + "end": 4202, "loc": { "start": { "line": 143, - "column": 54 + "column": 4 }, "end": { "line": 143, - "column": 55 + "column": 5 } } }, @@ -54717,15 +55895,593 @@ "updateContext": null }, "value": "else", - "start": 4198, - "end": 4202, + "start": 4203, + "end": 4207, "loc": { "start": { - "line": 145, + "line": 143, + "column": 6 + }, + "end": { + "line": 143, + "column": 10 + } + } + }, + { + "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": 4208, + "end": 4210, + "loc": { + "start": { + "line": 143, + "column": 11 + }, + "end": { + "line": 143, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4210, + "end": 4211, + "loc": { + "start": { + "line": 143, + "column": 13 + }, + "end": { + "line": 143, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "button", + "start": 4211, + "end": 4217, + "loc": { + "start": { + "line": 143, + "column": 14 + }, + "end": { + "line": 143, + "column": 20 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 4218, + "end": 4221, + "loc": { + "start": { + "line": 143, + "column": 21 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{space}", + "start": 4222, + "end": 4231, + "loc": { + "start": { + "line": 143, + "column": 25 + }, + "end": { + "line": 143, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4231, + "end": 4232, + "loc": { + "start": { + "line": 143, + "column": 34 + }, + "end": { + "line": 143, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4240, + "end": 4246, + "loc": { + "start": { + "line": 144, + "column": 6 + }, + "end": { + "line": 144, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4247, + "end": 4248, + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 4249, + "end": 4253, + "loc": { + "start": { + "line": 144, + "column": 15 + }, + "end": { + "line": 144, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4253, + "end": 4254, + "loc": { + "start": { + "line": 144, + "column": 19 + }, + "end": { + "line": 144, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "addStringAt", + "start": 4254, + "end": 4265, + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4265, + "end": 4266, + "loc": { + "start": { + "line": 144, + "column": 31 + }, + "end": { + "line": 144, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 4266, + "end": 4272, + "loc": { + "start": { + "line": 144, + "column": 32 + }, + "end": { + "line": 144, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4272, + "end": 4273, + "loc": { + "start": { + "line": 144, + "column": 38 + }, + "end": { + "line": 144, + "column": 39 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 4274, + "end": 4277, + "loc": { + "start": { + "line": 144, + "column": 40 + }, + "end": { + "line": 144, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4277, + "end": 4278, + "loc": { + "start": { + "line": 144, + "column": 43 + }, + "end": { + "line": 144, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretPos", + "start": 4279, + "end": 4287, + "loc": { + "start": { + "line": 144, + "column": 45 + }, + "end": { + "line": 144, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4287, + "end": 4288, + "loc": { + "start": { + "line": 144, + "column": 53 + }, + "end": { + "line": 144, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 4289, + "end": 4298, + "loc": { + "start": { + "line": 144, + "column": 55 + }, + "end": { + "line": 144, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4298, + "end": 4299, + "loc": { + "start": { + "line": 144, + "column": 64 + }, + "end": { + "line": 144, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4299, + "end": 4300, + "loc": { + "start": { + "line": 144, + "column": 65 + }, + "end": { + "line": 144, + "column": 66 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 4308, + "end": 4312, + "loc": { + "start": { + "line": 146, "column": 4 }, "end": { - "line": 145, + "line": 146, "column": 8 } } @@ -54745,15 +56501,15 @@ "updateContext": null }, "value": "if", - "start": 4203, - "end": 4205, + "start": 4313, + "end": 4315, "loc": { "start": { - "line": 145, + "line": 146, "column": 9 }, "end": { - "line": 145, + "line": 146, "column": 11 } } @@ -54770,15 +56526,15 @@ "postfix": false, "binop": null }, - "start": 4205, - "end": 4206, + "start": 4315, + "end": 4316, "loc": { "start": { - "line": 145, + "line": 146, "column": 11 }, "end": { - "line": 145, + "line": 146, "column": 12 } } @@ -54796,15 +56552,15 @@ "binop": null }, "value": "button", - "start": 4206, - "end": 4212, + "start": 4316, + "end": 4322, "loc": { "start": { - "line": 145, + "line": 146, "column": 12 }, "end": { - "line": 145, + "line": 146, "column": 18 } } @@ -54823,15 +56579,15 @@ "updateContext": null }, "value": "===", - "start": 4213, - "end": 4216, + "start": 4323, + "end": 4326, "loc": { "start": { - "line": 145, + "line": 146, "column": 19 }, "end": { - "line": 145, + "line": 146, "column": 22 } } @@ -54850,15 +56606,15 @@ "updateContext": null }, "value": "{tab}", - "start": 4217, - "end": 4224, + "start": 4327, + "end": 4334, "loc": { "start": { - "line": 145, + "line": 146, "column": 23 }, "end": { - "line": 145, + "line": 146, "column": 30 } } @@ -54877,15 +56633,15 @@ "updateContext": null }, "value": "&&", - "start": 4225, - "end": 4227, + "start": 4335, + "end": 4337, "loc": { "start": { - "line": 145, + "line": 146, "column": 31 }, "end": { - "line": 145, + "line": 146, "column": 33 } } @@ -54904,15 +56660,15 @@ "updateContext": null }, "value": "!", - "start": 4228, - "end": 4229, + "start": 4338, + "end": 4339, "loc": { "start": { - "line": 145, + "line": 146, "column": 34 }, "end": { - "line": 145, + "line": 146, "column": 35 } } @@ -54929,15 +56685,15 @@ "postfix": false, "binop": null }, - "start": 4229, - "end": 4230, + "start": 4339, + "end": 4340, "loc": { "start": { - "line": 145, + "line": 146, "column": 35 }, "end": { - "line": 145, + "line": 146, "column": 36 } } @@ -54957,15 +56713,15 @@ "updateContext": null }, "value": "typeof", - "start": 4230, - "end": 4236, + "start": 4340, + "end": 4346, "loc": { "start": { - "line": 145, + "line": 146, "column": 36 }, "end": { - "line": 145, + "line": 146, "column": 42 } } @@ -54983,15 +56739,15 @@ "binop": null }, "value": "options", - "start": 4237, - "end": 4244, + "start": 4347, + "end": 4354, "loc": { "start": { - "line": 145, + "line": 146, "column": 43 }, "end": { - "line": 145, + "line": 146, "column": 50 } } @@ -55009,15 +56765,15 @@ "binop": null, "updateContext": null }, - "start": 4244, - "end": 4245, + "start": 4354, + "end": 4355, "loc": { "start": { - "line": 145, + "line": 146, "column": 50 }, "end": { - "line": 145, + "line": 146, "column": 51 } } @@ -55035,15 +56791,15 @@ "binop": null }, "value": "tabCharOnTab", - "start": 4245, - "end": 4257, + "start": 4355, + "end": 4367, "loc": { "start": { - "line": 145, + "line": 146, "column": 51 }, "end": { - "line": 145, + "line": 146, "column": 63 } } @@ -55062,15 +56818,15 @@ "updateContext": null }, "value": "===", - "start": 4258, - "end": 4261, + "start": 4368, + "end": 4371, "loc": { "start": { - "line": 145, + "line": 146, "column": 64 }, "end": { - "line": 145, + "line": 146, "column": 67 } } @@ -55089,15 +56845,15 @@ "updateContext": null }, "value": "boolean", - "start": 4262, - "end": 4271, + "start": 4372, + "end": 4381, "loc": { "start": { - "line": 145, + "line": 146, "column": 68 }, "end": { - "line": 145, + "line": 146, "column": 77 } } @@ -55116,15 +56872,15 @@ "updateContext": null }, "value": "&&", - "start": 4272, - "end": 4274, + "start": 4382, + "end": 4384, "loc": { "start": { - "line": 145, + "line": 146, "column": 78 }, "end": { - "line": 145, + "line": 146, "column": 80 } } @@ -55142,15 +56898,15 @@ "binop": null }, "value": "options", - "start": 4275, - "end": 4282, + "start": 4385, + "end": 4392, "loc": { "start": { - "line": 145, + "line": 146, "column": 81 }, "end": { - "line": 145, + "line": 146, "column": 88 } } @@ -55168,15 +56924,15 @@ "binop": null, "updateContext": null }, - "start": 4282, - "end": 4283, + "start": 4392, + "end": 4393, "loc": { "start": { - "line": 145, + "line": 146, "column": 88 }, "end": { - "line": 145, + "line": 146, "column": 89 } } @@ -55194,15 +56950,15 @@ "binop": null }, "value": "tabCharOnTab", - "start": 4283, - "end": 4295, + "start": 4393, + "end": 4405, "loc": { "start": { - "line": 145, + "line": 146, "column": 89 }, "end": { - "line": 145, + "line": 146, "column": 101 } } @@ -55221,15 +56977,15 @@ "updateContext": null }, "value": "===", - "start": 4296, - "end": 4299, + "start": 4406, + "end": 4409, "loc": { "start": { - "line": 145, + "line": 146, "column": 102 }, "end": { - "line": 145, + "line": 146, "column": 105 } } @@ -55249,15 +57005,15 @@ "updateContext": null }, "value": "false", - "start": 4300, - "end": 4305, + "start": 4410, + "end": 4415, "loc": { "start": { - "line": 145, + "line": 146, "column": 106 }, "end": { - "line": 145, + "line": 146, "column": 111 } } @@ -55274,15 +57030,15 @@ "postfix": false, "binop": null }, - "start": 4305, - "end": 4306, + "start": 4415, + "end": 4416, "loc": { "start": { - "line": 145, + "line": 146, "column": 111 }, "end": { - "line": 145, + "line": 146, "column": 112 } } @@ -55299,15 +57055,15 @@ "postfix": false, "binop": null }, - "start": 4306, - "end": 4307, + "start": 4416, + "end": 4417, "loc": { "start": { - "line": 145, + "line": 146, "column": 112 }, "end": { - "line": 145, + "line": 146, "column": 113 } } @@ -55324,15 +57080,15 @@ "postfix": false, "binop": null }, - "start": 4307, - "end": 4308, + "start": 4417, + "end": 4418, "loc": { "start": { - "line": 145, + "line": 146, "column": 113 }, "end": { - "line": 145, + "line": 146, "column": 114 } } @@ -55350,15 +57106,15 @@ "binop": null }, "value": "output", - "start": 4316, - "end": 4322, + "start": 4426, + "end": 4432, "loc": { "start": { - "line": 146, + "line": 147, "column": 6 }, "end": { - "line": 146, + "line": 147, "column": 12 } } @@ -55377,15 +57133,15 @@ "updateContext": null }, "value": "=", - "start": 4323, - "end": 4324, + "start": 4433, + "end": 4434, "loc": { "start": { - "line": 146, + "line": 147, "column": 13 }, "end": { - "line": 146, + "line": 147, "column": 14 } } @@ -55405,15 +57161,15 @@ "updateContext": null }, "value": "this", - "start": 4325, - "end": 4329, + "start": 4435, + "end": 4439, "loc": { "start": { - "line": 146, + "line": 147, "column": 15 }, "end": { - "line": 146, + "line": 147, "column": 19 } } @@ -55431,15 +57187,15 @@ "binop": null, "updateContext": null }, - "start": 4329, - "end": 4330, + "start": 4439, + "end": 4440, "loc": { "start": { - "line": 146, + "line": 147, "column": 19 }, "end": { - "line": 146, + "line": 147, "column": 20 } } @@ -55457,15 +57213,15 @@ "binop": null }, "value": "addStringAt", - "start": 4330, - "end": 4341, + "start": 4440, + "end": 4451, "loc": { "start": { - "line": 146, + "line": 147, "column": 20 }, "end": { - "line": 146, + "line": 147, "column": 31 } } @@ -55482,15 +57238,15 @@ "postfix": false, "binop": null }, - "start": 4341, - "end": 4342, + "start": 4451, + "end": 4452, "loc": { "start": { - "line": 146, + "line": 147, "column": 31 }, "end": { - "line": 146, + "line": 147, "column": 32 } } @@ -55508,15 +57264,15 @@ "binop": null }, "value": "output", - "start": 4342, - "end": 4348, + "start": 4452, + "end": 4458, "loc": { "start": { - "line": 146, + "line": 147, "column": 32 }, "end": { - "line": 146, + "line": 147, "column": 38 } } @@ -55534,15 +57290,15 @@ "binop": null, "updateContext": null }, - "start": 4348, - "end": 4349, + "start": 4458, + "end": 4459, "loc": { "start": { - "line": 146, + "line": 147, "column": 38 }, "end": { - "line": 146, + "line": 147, "column": 39 } } @@ -55561,15 +57317,15 @@ "updateContext": null }, "value": "\t", - "start": 4350, - "end": 4354, + "start": 4460, + "end": 4464, "loc": { "start": { - "line": 146, + "line": 147, "column": 40 }, "end": { - "line": 146, + "line": 147, "column": 44 } } @@ -55587,15 +57343,15 @@ "binop": null, "updateContext": null }, - "start": 4354, - "end": 4355, + "start": 4464, + "end": 4465, "loc": { "start": { - "line": 146, + "line": 147, "column": 44 }, "end": { - "line": 146, + "line": 147, "column": 45 } } @@ -55613,19 +57369,71 @@ "binop": null }, "value": "caretPos", - "start": 4356, - "end": 4364, + "start": 4466, + "end": 4474, "loc": { "start": { - "line": 146, + "line": 147, "column": 46 }, "end": { - "line": 146, + "line": 147, "column": 54 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4474, + "end": 4475, + "loc": { + "start": { + "line": 147, + "column": 54 + }, + "end": { + "line": 147, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 4476, + "end": 4485, + "loc": { + "start": { + "line": 147, + "column": 56 + }, + "end": { + "line": 147, + "column": 65 + } + } + }, { "type": { "label": ")", @@ -55638,16 +57446,16 @@ "postfix": false, "binop": null }, - "start": 4364, - "end": 4365, + "start": 4485, + "end": 4486, "loc": { "start": { - "line": 146, - "column": 54 + "line": 147, + "column": 65 }, "end": { - "line": 146, - "column": 55 + "line": 147, + "column": 66 } } }, @@ -55664,16 +57472,16 @@ "binop": null, "updateContext": null }, - "start": 4365, - "end": 4366, + "start": 4486, + "end": 4487, "loc": { "start": { - "line": 146, - "column": 55 + "line": 147, + "column": 66 }, "end": { - "line": 146, - "column": 56 + "line": 147, + "column": 67 } } }, @@ -55689,15 +57497,15 @@ "postfix": false, "binop": null }, - "start": 4374, - "end": 4375, + "start": 4495, + "end": 4496, "loc": { "start": { - "line": 148, + "line": 149, "column": 4 }, "end": { - "line": 148, + "line": 149, "column": 5 } } @@ -55717,15 +57525,15 @@ "updateContext": null }, "value": "else", - "start": 4376, - "end": 4380, + "start": 4497, + "end": 4501, "loc": { "start": { - "line": 148, + "line": 149, "column": 6 }, "end": { - "line": 148, + "line": 149, "column": 10 } } @@ -55745,15 +57553,15 @@ "updateContext": null }, "value": "if", - "start": 4381, - "end": 4383, + "start": 4502, + "end": 4504, "loc": { "start": { - "line": 148, + "line": 149, "column": 11 }, "end": { - "line": 148, + "line": 149, "column": 13 } } @@ -55770,15 +57578,15 @@ "postfix": false, "binop": null }, - "start": 4383, - "end": 4384, + "start": 4504, + "end": 4505, "loc": { "start": { - "line": 148, + "line": 149, "column": 13 }, "end": { - "line": 148, + "line": 149, "column": 14 } } @@ -55795,15 +57603,15 @@ "postfix": false, "binop": null }, - "start": 4384, - "end": 4385, + "start": 4505, + "end": 4506, "loc": { "start": { - "line": 148, + "line": 149, "column": 14 }, "end": { - "line": 148, + "line": 149, "column": 15 } } @@ -55821,15 +57629,15 @@ "binop": null }, "value": "button", - "start": 4385, - "end": 4391, + "start": 4506, + "end": 4512, "loc": { "start": { - "line": 148, + "line": 149, "column": 15 }, "end": { - "line": 148, + "line": 149, "column": 21 } } @@ -55848,15 +57656,15 @@ "updateContext": null }, "value": "===", - "start": 4392, - "end": 4395, + "start": 4513, + "end": 4516, "loc": { "start": { - "line": 148, + "line": 149, "column": 22 }, "end": { - "line": 148, + "line": 149, "column": 25 } } @@ -55875,15 +57683,15 @@ "updateContext": null }, "value": "{enter}", - "start": 4396, - "end": 4405, + "start": 4517, + "end": 4526, "loc": { "start": { - "line": 148, + "line": 149, "column": 26 }, "end": { - "line": 148, + "line": 149, "column": 35 } } @@ -55902,15 +57710,15 @@ "updateContext": null }, "value": "||", - "start": 4406, - "end": 4408, + "start": 4527, + "end": 4529, "loc": { "start": { - "line": 148, + "line": 149, "column": 36 }, "end": { - "line": 148, + "line": 149, "column": 38 } } @@ -55928,15 +57736,15 @@ "binop": null }, "value": "button", - "start": 4409, - "end": 4415, + "start": 4530, + "end": 4536, "loc": { "start": { - "line": 148, + "line": 149, "column": 39 }, "end": { - "line": 148, + "line": 149, "column": 45 } } @@ -55955,15 +57763,15 @@ "updateContext": null }, "value": "===", - "start": 4416, - "end": 4419, + "start": 4537, + "end": 4540, "loc": { "start": { - "line": 148, + "line": 149, "column": 46 }, "end": { - "line": 148, + "line": 149, "column": 49 } } @@ -55982,15 +57790,15 @@ "updateContext": null }, "value": "{numpadenter}", - "start": 4420, - "end": 4435, + "start": 4541, + "end": 4556, "loc": { "start": { - "line": 148, + "line": 149, "column": 50 }, "end": { - "line": 148, + "line": 149, "column": 65 } } @@ -56007,15 +57815,15 @@ "postfix": false, "binop": null }, - "start": 4435, - "end": 4436, + "start": 4556, + "end": 4557, "loc": { "start": { - "line": 148, + "line": 149, "column": 65 }, "end": { - "line": 148, + "line": 149, "column": 66 } } @@ -56034,15 +57842,15 @@ "updateContext": null }, "value": "&&", - "start": 4437, - "end": 4439, + "start": 4558, + "end": 4560, "loc": { "start": { - "line": 148, + "line": 149, "column": 67 }, "end": { - "line": 148, + "line": 149, "column": 69 } } @@ -56060,15 +57868,15 @@ "binop": null }, "value": "options", - "start": 4440, - "end": 4447, + "start": 4561, + "end": 4568, "loc": { "start": { - "line": 148, + "line": 149, "column": 70 }, "end": { - "line": 148, + "line": 149, "column": 77 } } @@ -56086,15 +57894,15 @@ "binop": null, "updateContext": null }, - "start": 4447, - "end": 4448, + "start": 4568, + "end": 4569, "loc": { "start": { - "line": 148, + "line": 149, "column": 77 }, "end": { - "line": 148, + "line": 149, "column": 78 } } @@ -56112,15 +57920,15 @@ "binop": null }, "value": "newLineOnEnter", - "start": 4448, - "end": 4462, + "start": 4569, + "end": 4583, "loc": { "start": { - "line": 148, + "line": 149, "column": 78 }, "end": { - "line": 148, + "line": 149, "column": 92 } } @@ -56137,15 +57945,15 @@ "postfix": false, "binop": null }, - "start": 4462, - "end": 4463, + "start": 4583, + "end": 4584, "loc": { "start": { - "line": 148, + "line": 149, "column": 92 }, "end": { - "line": 148, + "line": 149, "column": 93 } } @@ -56163,15 +57971,15 @@ "binop": null }, "value": "output", - "start": 4471, - "end": 4477, + "start": 4592, + "end": 4598, "loc": { "start": { - "line": 149, + "line": 150, "column": 6 }, "end": { - "line": 149, + "line": 150, "column": 12 } } @@ -56190,15 +57998,15 @@ "updateContext": null }, "value": "=", - "start": 4478, - "end": 4479, + "start": 4599, + "end": 4600, "loc": { "start": { - "line": 149, + "line": 150, "column": 13 }, "end": { - "line": 149, + "line": 150, "column": 14 } } @@ -56218,15 +58026,15 @@ "updateContext": null }, "value": "this", - "start": 4480, - "end": 4484, + "start": 4601, + "end": 4605, "loc": { "start": { - "line": 149, + "line": 150, "column": 15 }, "end": { - "line": 149, + "line": 150, "column": 19 } } @@ -56244,15 +58052,15 @@ "binop": null, "updateContext": null }, - "start": 4484, - "end": 4485, + "start": 4605, + "end": 4606, "loc": { "start": { - "line": 149, + "line": 150, "column": 19 }, "end": { - "line": 149, + "line": 150, "column": 20 } } @@ -56270,15 +58078,15 @@ "binop": null }, "value": "addStringAt", - "start": 4485, - "end": 4496, + "start": 4606, + "end": 4617, "loc": { "start": { - "line": 149, + "line": 150, "column": 20 }, "end": { - "line": 149, + "line": 150, "column": 31 } } @@ -56295,15 +58103,15 @@ "postfix": false, "binop": null }, - "start": 4496, - "end": 4497, + "start": 4617, + "end": 4618, "loc": { "start": { - "line": 149, + "line": 150, "column": 31 }, "end": { - "line": 149, + "line": 150, "column": 32 } } @@ -56321,15 +58129,15 @@ "binop": null }, "value": "output", - "start": 4497, - "end": 4503, + "start": 4618, + "end": 4624, "loc": { "start": { - "line": 149, + "line": 150, "column": 32 }, "end": { - "line": 149, + "line": 150, "column": 38 } } @@ -56347,15 +58155,15 @@ "binop": null, "updateContext": null }, - "start": 4503, - "end": 4504, + "start": 4624, + "end": 4625, "loc": { "start": { - "line": 149, + "line": 150, "column": 38 }, "end": { - "line": 149, + "line": 150, "column": 39 } } @@ -56374,15 +58182,15 @@ "updateContext": null }, "value": "\n", - "start": 4505, - "end": 4509, + "start": 4626, + "end": 4630, "loc": { "start": { - "line": 149, + "line": 150, "column": 40 }, "end": { - "line": 149, + "line": 150, "column": 44 } } @@ -56400,15 +58208,15 @@ "binop": null, "updateContext": null }, - "start": 4509, - "end": 4510, + "start": 4630, + "end": 4631, "loc": { "start": { - "line": 149, + "line": 150, "column": 44 }, "end": { - "line": 149, + "line": 150, "column": 45 } } @@ -56426,19 +58234,71 @@ "binop": null }, "value": "caretPos", - "start": 4511, - "end": 4519, + "start": 4632, + "end": 4640, "loc": { "start": { - "line": 149, + "line": 150, "column": 46 }, "end": { - "line": 149, + "line": 150, "column": 54 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4640, + "end": 4641, + "loc": { + "start": { + "line": 150, + "column": 54 + }, + "end": { + "line": 150, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 4642, + "end": 4651, + "loc": { + "start": { + "line": 150, + "column": 56 + }, + "end": { + "line": 150, + "column": 65 + } + } + }, { "type": { "label": ")", @@ -56451,16 +58311,16 @@ "postfix": false, "binop": null }, - "start": 4519, - "end": 4520, + "start": 4651, + "end": 4652, "loc": { "start": { - "line": 149, - "column": 54 + "line": 150, + "column": 65 }, "end": { - "line": 149, - "column": 55 + "line": 150, + "column": 66 } } }, @@ -56477,16 +58337,16 @@ "binop": null, "updateContext": null }, - "start": 4520, - "end": 4521, + "start": 4652, + "end": 4653, "loc": { "start": { - "line": 149, - "column": 55 + "line": 150, + "column": 66 }, "end": { - "line": 149, - "column": 56 + "line": 150, + "column": 67 } } }, @@ -56505,15 +58365,15 @@ "updateContext": null }, "value": "else", - "start": 4529, - "end": 4533, + "start": 4661, + "end": 4665, "loc": { "start": { - "line": 151, + "line": 152, "column": 4 }, "end": { - "line": 151, + "line": 152, "column": 8 } } @@ -56533,15 +58393,15 @@ "updateContext": null }, "value": "if", - "start": 4534, - "end": 4536, + "start": 4666, + "end": 4668, "loc": { "start": { - "line": 151, + "line": 152, "column": 9 }, "end": { - "line": 151, + "line": 152, "column": 11 } } @@ -56558,15 +58418,15 @@ "postfix": false, "binop": null }, - "start": 4536, - "end": 4537, + "start": 4668, + "end": 4669, "loc": { "start": { - "line": 151, + "line": 152, "column": 11 }, "end": { - "line": 151, + "line": 152, "column": 12 } } @@ -56584,15 +58444,15 @@ "binop": null }, "value": "button", - "start": 4537, - "end": 4543, + "start": 4669, + "end": 4675, "loc": { "start": { - "line": 151, + "line": 152, "column": 12 }, "end": { - "line": 151, + "line": 152, "column": 18 } } @@ -56610,15 +58470,15 @@ "binop": null, "updateContext": null }, - "start": 4543, - "end": 4544, + "start": 4675, + "end": 4676, "loc": { "start": { - "line": 151, + "line": 152, "column": 18 }, "end": { - "line": 151, + "line": 152, "column": 19 } } @@ -56636,15 +58496,15 @@ "binop": null }, "value": "includes", - "start": 4544, - "end": 4552, + "start": 4676, + "end": 4684, "loc": { "start": { - "line": 151, + "line": 152, "column": 19 }, "end": { - "line": 151, + "line": 152, "column": 27 } } @@ -56661,15 +58521,15 @@ "postfix": false, "binop": null }, - "start": 4552, - "end": 4553, + "start": 4684, + "end": 4685, "loc": { "start": { - "line": 151, + "line": 152, "column": 27 }, "end": { - "line": 151, + "line": 152, "column": 28 } } @@ -56688,15 +58548,15 @@ "updateContext": null }, "value": "numpad", - "start": 4553, - "end": 4561, + "start": 4685, + "end": 4693, "loc": { "start": { - "line": 151, + "line": 152, "column": 28 }, "end": { - "line": 151, + "line": 152, "column": 36 } } @@ -56713,15 +58573,15 @@ "postfix": false, "binop": null }, - "start": 4561, - "end": 4562, + "start": 4693, + "end": 4694, "loc": { "start": { - "line": 151, + "line": 152, "column": 36 }, "end": { - "line": 151, + "line": 152, "column": 37 } } @@ -56740,15 +58600,15 @@ "updateContext": null }, "value": "&&", - "start": 4563, - "end": 4565, + "start": 4695, + "end": 4697, "loc": { "start": { - "line": 151, + "line": 152, "column": 38 }, "end": { - "line": 151, + "line": 152, "column": 40 } } @@ -56766,15 +58626,15 @@ "binop": null }, "value": "Number", - "start": 4566, - "end": 4572, + "start": 4698, + "end": 4704, "loc": { "start": { - "line": 151, + "line": 152, "column": 41 }, "end": { - "line": 151, + "line": 152, "column": 47 } } @@ -56792,15 +58652,15 @@ "binop": null, "updateContext": null }, - "start": 4572, - "end": 4573, + "start": 4704, + "end": 4705, "loc": { "start": { - "line": 151, + "line": 152, "column": 47 }, "end": { - "line": 151, + "line": 152, "column": 48 } } @@ -56818,15 +58678,15 @@ "binop": null }, "value": "isInteger", - "start": 4573, - "end": 4582, + "start": 4705, + "end": 4714, "loc": { "start": { - "line": 151, + "line": 152, "column": 48 }, "end": { - "line": 151, + "line": 152, "column": 57 } } @@ -56843,15 +58703,15 @@ "postfix": false, "binop": null }, - "start": 4582, - "end": 4583, + "start": 4714, + "end": 4715, "loc": { "start": { - "line": 151, + "line": 152, "column": 57 }, "end": { - "line": 151, + "line": 152, "column": 58 } } @@ -56869,15 +58729,15 @@ "binop": null }, "value": "Number", - "start": 4583, - "end": 4589, + "start": 4715, + "end": 4721, "loc": { "start": { - "line": 151, + "line": 152, "column": 58 }, "end": { - "line": 151, + "line": 152, "column": 64 } } @@ -56894,15 +58754,15 @@ "postfix": false, "binop": null }, - "start": 4589, - "end": 4590, + "start": 4721, + "end": 4722, "loc": { "start": { - "line": 151, + "line": 152, "column": 64 }, "end": { - "line": 151, + "line": 152, "column": 65 } } @@ -56920,15 +58780,15 @@ "binop": null }, "value": "button", - "start": 4590, - "end": 4596, + "start": 4722, + "end": 4728, "loc": { "start": { - "line": 151, + "line": 152, "column": 65 }, "end": { - "line": 151, + "line": 152, "column": 71 } } @@ -56946,15 +58806,15 @@ "binop": null, "updateContext": null }, - "start": 4596, - "end": 4597, + "start": 4728, + "end": 4729, "loc": { "start": { - "line": 151, + "line": 152, "column": 71 }, "end": { - "line": 151, + "line": 152, "column": 72 } } @@ -56972,15 +58832,15 @@ "binop": null }, "value": "button", - "start": 4597, - "end": 4603, + "start": 4729, + "end": 4735, "loc": { "start": { - "line": 151, + "line": 152, "column": 72 }, "end": { - "line": 151, + "line": 152, "column": 78 } } @@ -56998,15 +58858,15 @@ "binop": null, "updateContext": null }, - "start": 4603, - "end": 4604, + "start": 4735, + "end": 4736, "loc": { "start": { - "line": 151, + "line": 152, "column": 78 }, "end": { - "line": 151, + "line": 152, "column": 79 } } @@ -57024,15 +58884,15 @@ "binop": null }, "value": "length", - "start": 4604, - "end": 4610, + "start": 4736, + "end": 4742, "loc": { "start": { - "line": 151, + "line": 152, "column": 79 }, "end": { - "line": 151, + "line": 152, "column": 85 } } @@ -57051,15 +58911,15 @@ "updateContext": null }, "value": "-", - "start": 4611, - "end": 4612, + "start": 4743, + "end": 4744, "loc": { "start": { - "line": 151, + "line": 152, "column": 86 }, "end": { - "line": 151, + "line": 152, "column": 87 } } @@ -57078,15 +58938,15 @@ "updateContext": null }, "value": 2, - "start": 4613, - "end": 4614, + "start": 4745, + "end": 4746, "loc": { "start": { - "line": 151, + "line": 152, "column": 88 }, "end": { - "line": 151, + "line": 152, "column": 89 } } @@ -57104,15 +58964,15 @@ "binop": null, "updateContext": null }, - "start": 4614, - "end": 4615, + "start": 4746, + "end": 4747, "loc": { "start": { - "line": 151, + "line": 152, "column": 89 }, "end": { - "line": 151, + "line": 152, "column": 90 } } @@ -57129,15 +58989,15 @@ "postfix": false, "binop": null }, - "start": 4615, - "end": 4616, + "start": 4747, + "end": 4748, "loc": { "start": { - "line": 151, + "line": 152, "column": 90 }, "end": { - "line": 151, + "line": 152, "column": 91 } } @@ -57154,15 +59014,15 @@ "postfix": false, "binop": null }, - "start": 4616, - "end": 4617, + "start": 4748, + "end": 4749, "loc": { "start": { - "line": 151, + "line": 152, "column": 91 }, "end": { - "line": 151, + "line": 152, "column": 92 } } @@ -57179,15 +59039,15 @@ "postfix": false, "binop": null }, - "start": 4617, - "end": 4618, + "start": 4749, + "end": 4750, "loc": { "start": { - "line": 151, + "line": 152, "column": 92 }, "end": { - "line": 151, + "line": 152, "column": 93 } } @@ -57204,15 +59064,15 @@ "postfix": false, "binop": null }, - "start": 4618, - "end": 4619, + "start": 4750, + "end": 4751, "loc": { "start": { - "line": 151, + "line": 152, "column": 93 }, "end": { - "line": 151, + "line": 152, "column": 94 } } @@ -57230,15 +59090,15 @@ "binop": null }, "value": "output", - "start": 4627, - "end": 4633, + "start": 4759, + "end": 4765, "loc": { "start": { - "line": 152, + "line": 153, "column": 6 }, "end": { - "line": 152, + "line": 153, "column": 12 } } @@ -57257,15 +59117,15 @@ "updateContext": null }, "value": "=", - "start": 4634, - "end": 4635, + "start": 4766, + "end": 4767, "loc": { "start": { - "line": 152, + "line": 153, "column": 13 }, "end": { - "line": 152, + "line": 153, "column": 14 } } @@ -57285,15 +59145,15 @@ "updateContext": null }, "value": "this", - "start": 4636, - "end": 4640, + "start": 4768, + "end": 4772, "loc": { "start": { - "line": 152, + "line": 153, "column": 15 }, "end": { - "line": 152, + "line": 153, "column": 19 } } @@ -57311,15 +59171,15 @@ "binop": null, "updateContext": null }, - "start": 4640, - "end": 4641, + "start": 4772, + "end": 4773, "loc": { "start": { - "line": 152, + "line": 153, "column": 19 }, "end": { - "line": 152, + "line": 153, "column": 20 } } @@ -57337,15 +59197,15 @@ "binop": null }, "value": "addStringAt", - "start": 4641, - "end": 4652, + "start": 4773, + "end": 4784, "loc": { "start": { - "line": 152, + "line": 153, "column": 20 }, "end": { - "line": 152, + "line": 153, "column": 31 } } @@ -57362,15 +59222,15 @@ "postfix": false, "binop": null }, - "start": 4652, - "end": 4653, + "start": 4784, + "end": 4785, "loc": { "start": { - "line": 152, + "line": 153, "column": 31 }, "end": { - "line": 152, + "line": 153, "column": 32 } } @@ -57388,15 +59248,15 @@ "binop": null }, "value": "output", - "start": 4653, - "end": 4659, + "start": 4785, + "end": 4791, "loc": { "start": { - "line": 152, + "line": 153, "column": 32 }, "end": { - "line": 152, + "line": 153, "column": 38 } } @@ -57414,15 +59274,15 @@ "binop": null, "updateContext": null }, - "start": 4659, - "end": 4660, + "start": 4791, + "end": 4792, "loc": { "start": { - "line": 152, + "line": 153, "column": 38 }, "end": { - "line": 152, + "line": 153, "column": 39 } } @@ -57440,15 +59300,15 @@ "binop": null }, "value": "button", - "start": 4661, - "end": 4667, + "start": 4793, + "end": 4799, "loc": { "start": { - "line": 152, + "line": 153, "column": 40 }, "end": { - "line": 152, + "line": 153, "column": 46 } } @@ -57466,15 +59326,15 @@ "binop": null, "updateContext": null }, - "start": 4667, - "end": 4668, + "start": 4799, + "end": 4800, "loc": { "start": { - "line": 152, + "line": 153, "column": 46 }, "end": { - "line": 152, + "line": 153, "column": 47 } } @@ -57492,15 +59352,15 @@ "binop": null }, "value": "button", - "start": 4668, - "end": 4674, + "start": 4800, + "end": 4806, "loc": { "start": { - "line": 152, + "line": 153, "column": 47 }, "end": { - "line": 152, + "line": 153, "column": 53 } } @@ -57518,15 +59378,15 @@ "binop": null, "updateContext": null }, - "start": 4674, - "end": 4675, + "start": 4806, + "end": 4807, "loc": { "start": { - "line": 152, + "line": 153, "column": 53 }, "end": { - "line": 152, + "line": 153, "column": 54 } } @@ -57544,15 +59404,15 @@ "binop": null }, "value": "length", - "start": 4675, - "end": 4681, + "start": 4807, + "end": 4813, "loc": { "start": { - "line": 152, + "line": 153, "column": 54 }, "end": { - "line": 152, + "line": 153, "column": 60 } } @@ -57571,15 +59431,15 @@ "updateContext": null }, "value": "-", - "start": 4682, - "end": 4683, + "start": 4814, + "end": 4815, "loc": { "start": { - "line": 152, + "line": 153, "column": 61 }, "end": { - "line": 152, + "line": 153, "column": 62 } } @@ -57598,15 +59458,15 @@ "updateContext": null }, "value": 2, - "start": 4684, - "end": 4685, + "start": 4816, + "end": 4817, "loc": { "start": { - "line": 152, + "line": 153, "column": 63 }, "end": { - "line": 152, + "line": 153, "column": 64 } } @@ -57624,15 +59484,15 @@ "binop": null, "updateContext": null }, - "start": 4685, - "end": 4686, + "start": 4817, + "end": 4818, "loc": { "start": { - "line": 152, + "line": 153, "column": 64 }, "end": { - "line": 152, + "line": 153, "column": 65 } } @@ -57650,15 +59510,15 @@ "binop": null, "updateContext": null }, - "start": 4686, - "end": 4687, + "start": 4818, + "end": 4819, "loc": { "start": { - "line": 152, + "line": 153, "column": 65 }, "end": { - "line": 152, + "line": 153, "column": 66 } } @@ -57676,15 +59536,15 @@ "binop": null }, "value": "caretPos", - "start": 4688, - "end": 4696, + "start": 4820, + "end": 4828, "loc": { "start": { - "line": 152, + "line": 153, "column": 67 }, "end": { - "line": 152, + "line": 153, "column": 75 } } @@ -57701,15 +59561,15 @@ "postfix": false, "binop": null }, - "start": 4696, - "end": 4697, + "start": 4828, + "end": 4829, "loc": { "start": { - "line": 152, + "line": 153, "column": 75 }, "end": { - "line": 152, + "line": 153, "column": 76 } } @@ -57727,15 +59587,15 @@ "binop": null, "updateContext": null }, - "start": 4697, - "end": 4698, + "start": 4829, + "end": 4830, "loc": { "start": { - "line": 152, + "line": 153, "column": 76 }, "end": { - "line": 152, + "line": 153, "column": 77 } } @@ -57752,15 +59612,15 @@ "postfix": false, "binop": null }, - "start": 4704, - "end": 4705, + "start": 4836, + "end": 4837, "loc": { "start": { - "line": 153, + "line": 154, "column": 4 }, "end": { - "line": 153, + "line": 154, "column": 5 } } @@ -57780,15 +59640,15 @@ "updateContext": null }, "value": "else", - "start": 4711, - "end": 4715, + "start": 4843, + "end": 4847, "loc": { "start": { - "line": 154, + "line": 155, "column": 4 }, "end": { - "line": 154, + "line": 155, "column": 8 } } @@ -57808,15 +59668,15 @@ "updateContext": null }, "value": "if", - "start": 4716, - "end": 4718, + "start": 4848, + "end": 4850, "loc": { "start": { - "line": 154, + "line": 155, "column": 9 }, "end": { - "line": 154, + "line": 155, "column": 11 } } @@ -57833,15 +59693,15 @@ "postfix": false, "binop": null }, - "start": 4718, - "end": 4719, + "start": 4850, + "end": 4851, "loc": { "start": { - "line": 154, + "line": 155, "column": 11 }, "end": { - "line": 154, + "line": 155, "column": 12 } } @@ -57859,15 +59719,15 @@ "binop": null }, "value": "button", - "start": 4719, - "end": 4725, + "start": 4851, + "end": 4857, "loc": { "start": { - "line": 154, + "line": 155, "column": 12 }, "end": { - "line": 154, + "line": 155, "column": 18 } } @@ -57886,15 +59746,15 @@ "updateContext": null }, "value": "===", - "start": 4726, - "end": 4729, + "start": 4858, + "end": 4861, "loc": { "start": { - "line": 154, + "line": 155, "column": 19 }, "end": { - "line": 154, + "line": 155, "column": 22 } } @@ -57913,15 +59773,15 @@ "updateContext": null }, "value": "{numpaddivide}", - "start": 4730, - "end": 4746, + "start": 4862, + "end": 4878, "loc": { "start": { - "line": 154, + "line": 155, "column": 23 }, "end": { - "line": 154, + "line": 155, "column": 39 } } @@ -57938,15 +59798,15 @@ "postfix": false, "binop": null }, - "start": 4746, - "end": 4747, + "start": 4878, + "end": 4879, "loc": { "start": { - "line": 154, + "line": 155, "column": 39 }, "end": { - "line": 154, + "line": 155, "column": 40 } } @@ -57964,15 +59824,15 @@ "binop": null }, "value": "output", - "start": 4755, - "end": 4761, + "start": 4887, + "end": 4893, "loc": { "start": { - "line": 155, + "line": 156, "column": 6 }, "end": { - "line": 155, + "line": 156, "column": 12 } } @@ -57991,15 +59851,15 @@ "updateContext": null }, "value": "=", - "start": 4762, - "end": 4763, + "start": 4894, + "end": 4895, "loc": { "start": { - "line": 155, + "line": 156, "column": 13 }, "end": { - "line": 155, + "line": 156, "column": 14 } } @@ -58019,15 +59879,15 @@ "updateContext": null }, "value": "this", - "start": 4764, - "end": 4768, + "start": 4896, + "end": 4900, "loc": { "start": { - "line": 155, + "line": 156, "column": 15 }, "end": { - "line": 155, + "line": 156, "column": 19 } } @@ -58045,15 +59905,15 @@ "binop": null, "updateContext": null }, - "start": 4768, - "end": 4769, + "start": 4900, + "end": 4901, "loc": { "start": { - "line": 155, + "line": 156, "column": 19 }, "end": { - "line": 155, + "line": 156, "column": 20 } } @@ -58071,15 +59931,15 @@ "binop": null }, "value": "addStringAt", - "start": 4769, - "end": 4780, + "start": 4901, + "end": 4912, "loc": { "start": { - "line": 155, + "line": 156, "column": 20 }, "end": { - "line": 155, + "line": 156, "column": 31 } } @@ -58096,15 +59956,15 @@ "postfix": false, "binop": null }, - "start": 4780, - "end": 4781, + "start": 4912, + "end": 4913, "loc": { "start": { - "line": 155, + "line": 156, "column": 31 }, "end": { - "line": 155, + "line": 156, "column": 32 } } @@ -58122,15 +59982,15 @@ "binop": null }, "value": "output", - "start": 4781, - "end": 4787, + "start": 4913, + "end": 4919, "loc": { "start": { - "line": 155, + "line": 156, "column": 32 }, "end": { - "line": 155, + "line": 156, "column": 38 } } @@ -58148,15 +60008,15 @@ "binop": null, "updateContext": null }, - "start": 4787, - "end": 4788, + "start": 4919, + "end": 4920, "loc": { "start": { - "line": 155, + "line": 156, "column": 38 }, "end": { - "line": 155, + "line": 156, "column": 39 } } @@ -58175,15 +60035,15 @@ "updateContext": null }, "value": "/", - "start": 4789, - "end": 4792, + "start": 4921, + "end": 4924, "loc": { "start": { - "line": 155, + "line": 156, "column": 40 }, "end": { - "line": 155, + "line": 156, "column": 43 } } @@ -58201,15 +60061,15 @@ "binop": null, "updateContext": null }, - "start": 4792, - "end": 4793, + "start": 4924, + "end": 4925, "loc": { "start": { - "line": 155, + "line": 156, "column": 43 }, "end": { - "line": 155, + "line": 156, "column": 44 } } @@ -58227,19 +60087,71 @@ "binop": null }, "value": "caretPos", - "start": 4794, - "end": 4802, + "start": 4926, + "end": 4934, "loc": { "start": { - "line": 155, + "line": 156, "column": 45 }, "end": { - "line": 155, + "line": 156, "column": 53 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4934, + "end": 4935, + "loc": { + "start": { + "line": 156, + "column": 53 + }, + "end": { + "line": 156, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 4936, + "end": 4945, + "loc": { + "start": { + "line": 156, + "column": 55 + }, + "end": { + "line": 156, + "column": 64 + } + } + }, { "type": { "label": ")", @@ -58252,16 +60164,16 @@ "postfix": false, "binop": null }, - "start": 4802, - "end": 4803, + "start": 4945, + "end": 4946, "loc": { "start": { - "line": 155, - "column": 53 + "line": 156, + "column": 64 }, "end": { - "line": 155, - "column": 54 + "line": 156, + "column": 65 } } }, @@ -58278,16 +60190,16 @@ "binop": null, "updateContext": null }, - "start": 4803, - "end": 4804, + "start": 4946, + "end": 4947, "loc": { "start": { - "line": 155, - "column": 54 + "line": 156, + "column": 65 }, "end": { - "line": 155, - "column": 55 + "line": 156, + "column": 66 } } }, @@ -58306,15 +60218,15 @@ "updateContext": null }, "value": "else", - "start": 4812, - "end": 4816, + "start": 4955, + "end": 4959, "loc": { "start": { - "line": 157, + "line": 158, "column": 4 }, "end": { - "line": 157, + "line": 158, "column": 8 } } @@ -58334,15 +60246,15 @@ "updateContext": null }, "value": "if", - "start": 4817, - "end": 4819, + "start": 4960, + "end": 4962, "loc": { "start": { - "line": 157, + "line": 158, "column": 9 }, "end": { - "line": 157, + "line": 158, "column": 11 } } @@ -58359,15 +60271,15 @@ "postfix": false, "binop": null }, - "start": 4819, - "end": 4820, + "start": 4962, + "end": 4963, "loc": { "start": { - "line": 157, + "line": 158, "column": 11 }, "end": { - "line": 157, + "line": 158, "column": 12 } } @@ -58385,15 +60297,15 @@ "binop": null }, "value": "button", - "start": 4820, - "end": 4826, + "start": 4963, + "end": 4969, "loc": { "start": { - "line": 157, + "line": 158, "column": 12 }, "end": { - "line": 157, + "line": 158, "column": 18 } } @@ -58412,15 +60324,15 @@ "updateContext": null }, "value": "===", - "start": 4827, - "end": 4830, + "start": 4970, + "end": 4973, "loc": { "start": { - "line": 157, + "line": 158, "column": 19 }, "end": { - "line": 157, + "line": 158, "column": 22 } } @@ -58439,15 +60351,15 @@ "updateContext": null }, "value": "{numpadmultiply}", - "start": 4831, - "end": 4849, + "start": 4974, + "end": 4992, "loc": { "start": { - "line": 157, + "line": 158, "column": 23 }, "end": { - "line": 157, + "line": 158, "column": 41 } } @@ -58464,15 +60376,15 @@ "postfix": false, "binop": null }, - "start": 4849, - "end": 4850, + "start": 4992, + "end": 4993, "loc": { "start": { - "line": 157, + "line": 158, "column": 41 }, "end": { - "line": 157, + "line": 158, "column": 42 } } @@ -58490,15 +60402,15 @@ "binop": null }, "value": "output", - "start": 4858, - "end": 4864, + "start": 5001, + "end": 5007, "loc": { "start": { - "line": 158, + "line": 159, "column": 6 }, "end": { - "line": 158, + "line": 159, "column": 12 } } @@ -58517,15 +60429,15 @@ "updateContext": null }, "value": "=", - "start": 4865, - "end": 4866, + "start": 5008, + "end": 5009, "loc": { "start": { - "line": 158, + "line": 159, "column": 13 }, "end": { - "line": 158, + "line": 159, "column": 14 } } @@ -58545,15 +60457,15 @@ "updateContext": null }, "value": "this", - "start": 4867, - "end": 4871, + "start": 5010, + "end": 5014, "loc": { "start": { - "line": 158, + "line": 159, "column": 15 }, "end": { - "line": 158, + "line": 159, "column": 19 } } @@ -58571,15 +60483,15 @@ "binop": null, "updateContext": null }, - "start": 4871, - "end": 4872, + "start": 5014, + "end": 5015, "loc": { "start": { - "line": 158, + "line": 159, "column": 19 }, "end": { - "line": 158, + "line": 159, "column": 20 } } @@ -58597,15 +60509,15 @@ "binop": null }, "value": "addStringAt", - "start": 4872, - "end": 4883, + "start": 5015, + "end": 5026, "loc": { "start": { - "line": 158, + "line": 159, "column": 20 }, "end": { - "line": 158, + "line": 159, "column": 31 } } @@ -58622,15 +60534,15 @@ "postfix": false, "binop": null }, - "start": 4883, - "end": 4884, + "start": 5026, + "end": 5027, "loc": { "start": { - "line": 158, + "line": 159, "column": 31 }, "end": { - "line": 158, + "line": 159, "column": 32 } } @@ -58648,15 +60560,15 @@ "binop": null }, "value": "output", - "start": 4884, - "end": 4890, + "start": 5027, + "end": 5033, "loc": { "start": { - "line": 158, + "line": 159, "column": 32 }, "end": { - "line": 158, + "line": 159, "column": 38 } } @@ -58674,15 +60586,15 @@ "binop": null, "updateContext": null }, - "start": 4890, - "end": 4891, + "start": 5033, + "end": 5034, "loc": { "start": { - "line": 158, + "line": 159, "column": 38 }, "end": { - "line": 158, + "line": 159, "column": 39 } } @@ -58701,15 +60613,15 @@ "updateContext": null }, "value": "*", - "start": 4892, - "end": 4895, + "start": 5035, + "end": 5038, "loc": { "start": { - "line": 158, + "line": 159, "column": 40 }, "end": { - "line": 158, + "line": 159, "column": 43 } } @@ -58727,15 +60639,15 @@ "binop": null, "updateContext": null }, - "start": 4895, - "end": 4896, + "start": 5038, + "end": 5039, "loc": { "start": { - "line": 158, + "line": 159, "column": 43 }, "end": { - "line": 158, + "line": 159, "column": 44 } } @@ -58753,19 +60665,71 @@ "binop": null }, "value": "caretPos", - "start": 4897, - "end": 4905, + "start": 5040, + "end": 5048, "loc": { "start": { - "line": 158, + "line": 159, "column": 45 }, "end": { - "line": 158, + "line": 159, "column": 53 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5048, + "end": 5049, + "loc": { + "start": { + "line": 159, + "column": 53 + }, + "end": { + "line": 159, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 5050, + "end": 5059, + "loc": { + "start": { + "line": 159, + "column": 55 + }, + "end": { + "line": 159, + "column": 64 + } + } + }, { "type": { "label": ")", @@ -58778,16 +60742,16 @@ "postfix": false, "binop": null }, - "start": 4905, - "end": 4906, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 158, - "column": 53 + "line": 159, + "column": 64 }, "end": { - "line": 158, - "column": 54 + "line": 159, + "column": 65 } } }, @@ -58804,16 +60768,16 @@ "binop": null, "updateContext": null }, - "start": 4906, - "end": 4907, + "start": 5060, + "end": 5061, "loc": { "start": { - "line": 158, - "column": 54 + "line": 159, + "column": 65 }, "end": { - "line": 158, - "column": 55 + "line": 159, + "column": 66 } } }, @@ -58832,15 +60796,15 @@ "updateContext": null }, "value": "else", - "start": 4913, - "end": 4917, + "start": 5069, + "end": 5073, "loc": { "start": { - "line": 159, + "line": 161, "column": 4 }, "end": { - "line": 159, + "line": 161, "column": 8 } } @@ -58860,15 +60824,15 @@ "updateContext": null }, "value": "if", - "start": 4918, - "end": 4920, + "start": 5074, + "end": 5076, "loc": { "start": { - "line": 159, + "line": 161, "column": 9 }, "end": { - "line": 159, + "line": 161, "column": 11 } } @@ -58885,15 +60849,15 @@ "postfix": false, "binop": null }, - "start": 4920, - "end": 4921, + "start": 5076, + "end": 5077, "loc": { "start": { - "line": 159, + "line": 161, "column": 11 }, "end": { - "line": 159, + "line": 161, "column": 12 } } @@ -58911,15 +60875,15 @@ "binop": null }, "value": "button", - "start": 4921, - "end": 4927, + "start": 5077, + "end": 5083, "loc": { "start": { - "line": 159, + "line": 161, "column": 12 }, "end": { - "line": 159, + "line": 161, "column": 18 } } @@ -58938,15 +60902,15 @@ "updateContext": null }, "value": "===", - "start": 4928, - "end": 4931, + "start": 5084, + "end": 5087, "loc": { "start": { - "line": 159, + "line": 161, "column": 19 }, "end": { - "line": 159, + "line": 161, "column": 22 } } @@ -58965,15 +60929,15 @@ "updateContext": null }, "value": "{numpadsubtract}", - "start": 4932, - "end": 4950, + "start": 5088, + "end": 5106, "loc": { "start": { - "line": 159, + "line": 161, "column": 23 }, "end": { - "line": 159, + "line": 161, "column": 41 } } @@ -58990,15 +60954,15 @@ "postfix": false, "binop": null }, - "start": 4950, - "end": 4951, + "start": 5106, + "end": 5107, "loc": { "start": { - "line": 159, + "line": 161, "column": 41 }, "end": { - "line": 159, + "line": 161, "column": 42 } } @@ -59016,15 +60980,15 @@ "binop": null }, "value": "output", - "start": 4959, - "end": 4965, + "start": 5115, + "end": 5121, "loc": { "start": { - "line": 160, + "line": 162, "column": 6 }, "end": { - "line": 160, + "line": 162, "column": 12 } } @@ -59043,15 +61007,15 @@ "updateContext": null }, "value": "=", - "start": 4966, - "end": 4967, + "start": 5122, + "end": 5123, "loc": { "start": { - "line": 160, + "line": 162, "column": 13 }, "end": { - "line": 160, + "line": 162, "column": 14 } } @@ -59071,15 +61035,15 @@ "updateContext": null }, "value": "this", - "start": 4968, - "end": 4972, + "start": 5124, + "end": 5128, "loc": { "start": { - "line": 160, + "line": 162, "column": 15 }, "end": { - "line": 160, + "line": 162, "column": 19 } } @@ -59097,15 +61061,15 @@ "binop": null, "updateContext": null }, - "start": 4972, - "end": 4973, + "start": 5128, + "end": 5129, "loc": { "start": { - "line": 160, + "line": 162, "column": 19 }, "end": { - "line": 160, + "line": 162, "column": 20 } } @@ -59123,15 +61087,15 @@ "binop": null }, "value": "addStringAt", - "start": 4973, - "end": 4984, + "start": 5129, + "end": 5140, "loc": { "start": { - "line": 160, + "line": 162, "column": 20 }, "end": { - "line": 160, + "line": 162, "column": 31 } } @@ -59148,15 +61112,15 @@ "postfix": false, "binop": null }, - "start": 4984, - "end": 4985, + "start": 5140, + "end": 5141, "loc": { "start": { - "line": 160, + "line": 162, "column": 31 }, "end": { - "line": 160, + "line": 162, "column": 32 } } @@ -59174,15 +61138,15 @@ "binop": null }, "value": "output", - "start": 4985, - "end": 4991, + "start": 5141, + "end": 5147, "loc": { "start": { - "line": 160, + "line": 162, "column": 32 }, "end": { - "line": 160, + "line": 162, "column": 38 } } @@ -59200,15 +61164,15 @@ "binop": null, "updateContext": null }, - "start": 4991, - "end": 4992, + "start": 5147, + "end": 5148, "loc": { "start": { - "line": 160, + "line": 162, "column": 38 }, "end": { - "line": 160, + "line": 162, "column": 39 } } @@ -59227,15 +61191,15 @@ "updateContext": null }, "value": "-", - "start": 4993, - "end": 4996, + "start": 5149, + "end": 5152, "loc": { "start": { - "line": 160, + "line": 162, "column": 40 }, "end": { - "line": 160, + "line": 162, "column": 43 } } @@ -59253,15 +61217,15 @@ "binop": null, "updateContext": null }, - "start": 4996, - "end": 4997, + "start": 5152, + "end": 5153, "loc": { "start": { - "line": 160, + "line": 162, "column": 43 }, "end": { - "line": 160, + "line": 162, "column": 44 } } @@ -59279,19 +61243,71 @@ "binop": null }, "value": "caretPos", - "start": 4998, - "end": 5006, + "start": 5154, + "end": 5162, "loc": { "start": { - "line": 160, + "line": 162, "column": 45 }, "end": { - "line": 160, + "line": 162, "column": 53 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5162, + "end": 5163, + "loc": { + "start": { + "line": 162, + "column": 53 + }, + "end": { + "line": 162, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 5164, + "end": 5173, + "loc": { + "start": { + "line": 162, + "column": 55 + }, + "end": { + "line": 162, + "column": 64 + } + } + }, { "type": { "label": ")", @@ -59304,16 +61320,16 @@ "postfix": false, "binop": null }, - "start": 5006, - "end": 5007, + "start": 5173, + "end": 5174, "loc": { "start": { - "line": 160, - "column": 53 + "line": 162, + "column": 64 }, "end": { - "line": 160, - "column": 54 + "line": 162, + "column": 65 } } }, @@ -59330,16 +61346,16 @@ "binop": null, "updateContext": null }, - "start": 5007, - "end": 5008, + "start": 5174, + "end": 5175, "loc": { "start": { - "line": 160, - "column": 54 + "line": 162, + "column": 65 }, "end": { - "line": 160, - "column": 55 + "line": 162, + "column": 66 } } }, @@ -59358,15 +61374,15 @@ "updateContext": null }, "value": "else", - "start": 5016, - "end": 5020, + "start": 5183, + "end": 5187, "loc": { "start": { - "line": 162, + "line": 164, "column": 4 }, "end": { - "line": 162, + "line": 164, "column": 8 } } @@ -59386,15 +61402,15 @@ "updateContext": null }, "value": "if", - "start": 5021, - "end": 5023, + "start": 5188, + "end": 5190, "loc": { "start": { - "line": 162, + "line": 164, "column": 9 }, "end": { - "line": 162, + "line": 164, "column": 11 } } @@ -59411,15 +61427,15 @@ "postfix": false, "binop": null }, - "start": 5023, - "end": 5024, + "start": 5190, + "end": 5191, "loc": { "start": { - "line": 162, + "line": 164, "column": 11 }, "end": { - "line": 162, + "line": 164, "column": 12 } } @@ -59437,15 +61453,15 @@ "binop": null }, "value": "button", - "start": 5024, - "end": 5030, + "start": 5191, + "end": 5197, "loc": { "start": { - "line": 162, + "line": 164, "column": 12 }, "end": { - "line": 162, + "line": 164, "column": 18 } } @@ -59464,15 +61480,15 @@ "updateContext": null }, "value": "===", - "start": 5031, - "end": 5034, + "start": 5198, + "end": 5201, "loc": { "start": { - "line": 162, + "line": 164, "column": 19 }, "end": { - "line": 162, + "line": 164, "column": 22 } } @@ -59491,15 +61507,15 @@ "updateContext": null }, "value": "{numpadadd}", - "start": 5035, - "end": 5048, + "start": 5202, + "end": 5215, "loc": { "start": { - "line": 162, + "line": 164, "column": 23 }, "end": { - "line": 162, + "line": 164, "column": 36 } } @@ -59516,15 +61532,15 @@ "postfix": false, "binop": null }, - "start": 5048, - "end": 5049, + "start": 5215, + "end": 5216, "loc": { "start": { - "line": 162, + "line": 164, "column": 36 }, "end": { - "line": 162, + "line": 164, "column": 37 } } @@ -59542,15 +61558,15 @@ "binop": null }, "value": "output", - "start": 5057, - "end": 5063, + "start": 5224, + "end": 5230, "loc": { "start": { - "line": 163, + "line": 165, "column": 6 }, "end": { - "line": 163, + "line": 165, "column": 12 } } @@ -59569,15 +61585,15 @@ "updateContext": null }, "value": "=", - "start": 5064, - "end": 5065, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 163, + "line": 165, "column": 13 }, "end": { - "line": 163, + "line": 165, "column": 14 } } @@ -59597,15 +61613,15 @@ "updateContext": null }, "value": "this", - "start": 5066, - "end": 5070, + "start": 5233, + "end": 5237, "loc": { "start": { - "line": 163, + "line": 165, "column": 15 }, "end": { - "line": 163, + "line": 165, "column": 19 } } @@ -59623,15 +61639,15 @@ "binop": null, "updateContext": null }, - "start": 5070, - "end": 5071, + "start": 5237, + "end": 5238, "loc": { "start": { - "line": 163, + "line": 165, "column": 19 }, "end": { - "line": 163, + "line": 165, "column": 20 } } @@ -59649,15 +61665,15 @@ "binop": null }, "value": "addStringAt", - "start": 5071, - "end": 5082, + "start": 5238, + "end": 5249, "loc": { "start": { - "line": 163, + "line": 165, "column": 20 }, "end": { - "line": 163, + "line": 165, "column": 31 } } @@ -59674,15 +61690,15 @@ "postfix": false, "binop": null }, - "start": 5082, - "end": 5083, + "start": 5249, + "end": 5250, "loc": { "start": { - "line": 163, + "line": 165, "column": 31 }, "end": { - "line": 163, + "line": 165, "column": 32 } } @@ -59700,15 +61716,15 @@ "binop": null }, "value": "output", - "start": 5083, - "end": 5089, + "start": 5250, + "end": 5256, "loc": { "start": { - "line": 163, + "line": 165, "column": 32 }, "end": { - "line": 163, + "line": 165, "column": 38 } } @@ -59726,15 +61742,15 @@ "binop": null, "updateContext": null }, - "start": 5089, - "end": 5090, + "start": 5256, + "end": 5257, "loc": { "start": { - "line": 163, + "line": 165, "column": 38 }, "end": { - "line": 163, + "line": 165, "column": 39 } } @@ -59753,15 +61769,15 @@ "updateContext": null }, "value": "+", - "start": 5091, - "end": 5094, + "start": 5258, + "end": 5261, "loc": { "start": { - "line": 163, + "line": 165, "column": 40 }, "end": { - "line": 163, + "line": 165, "column": 43 } } @@ -59779,15 +61795,15 @@ "binop": null, "updateContext": null }, - "start": 5094, - "end": 5095, + "start": 5261, + "end": 5262, "loc": { "start": { - "line": 163, + "line": 165, "column": 43 }, "end": { - "line": 163, + "line": 165, "column": 44 } } @@ -59805,19 +61821,71 @@ "binop": null }, "value": "caretPos", - "start": 5096, - "end": 5104, + "start": 5263, + "end": 5271, "loc": { "start": { - "line": 163, + "line": 165, "column": 45 }, "end": { - "line": 163, + "line": 165, "column": 53 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5271, + "end": 5272, + "loc": { + "start": { + "line": 165, + "column": 53 + }, + "end": { + "line": 165, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 5273, + "end": 5282, + "loc": { + "start": { + "line": 165, + "column": 55 + }, + "end": { + "line": 165, + "column": 64 + } + } + }, { "type": { "label": ")", @@ -59830,16 +61898,16 @@ "postfix": false, "binop": null }, - "start": 5104, - "end": 5105, + "start": 5282, + "end": 5283, "loc": { "start": { - "line": 163, - "column": 53 + "line": 165, + "column": 64 }, "end": { - "line": 163, - "column": 54 + "line": 165, + "column": 65 } } }, @@ -59856,16 +61924,16 @@ "binop": null, "updateContext": null }, - "start": 5105, - "end": 5106, + "start": 5283, + "end": 5284, "loc": { "start": { - "line": 163, - "column": 54 + "line": 165, + "column": 65 }, "end": { - "line": 163, - "column": 55 + "line": 165, + "column": 66 } } }, @@ -59884,15 +61952,15 @@ "updateContext": null }, "value": "else", - "start": 5114, - "end": 5118, + "start": 5292, + "end": 5296, "loc": { "start": { - "line": 165, + "line": 167, "column": 4 }, "end": { - "line": 165, + "line": 167, "column": 8 } } @@ -59912,15 +61980,15 @@ "updateContext": null }, "value": "if", - "start": 5119, - "end": 5121, + "start": 5297, + "end": 5299, "loc": { "start": { - "line": 165, + "line": 167, "column": 9 }, "end": { - "line": 165, + "line": 167, "column": 11 } } @@ -59937,15 +62005,15 @@ "postfix": false, "binop": null }, - "start": 5121, - "end": 5122, + "start": 5299, + "end": 5300, "loc": { "start": { - "line": 165, + "line": 167, "column": 11 }, "end": { - "line": 165, + "line": 167, "column": 12 } } @@ -59963,15 +62031,15 @@ "binop": null }, "value": "button", - "start": 5122, - "end": 5128, + "start": 5300, + "end": 5306, "loc": { "start": { - "line": 165, + "line": 167, "column": 12 }, "end": { - "line": 165, + "line": 167, "column": 18 } } @@ -59990,15 +62058,15 @@ "updateContext": null }, "value": "===", - "start": 5129, - "end": 5132, + "start": 5307, + "end": 5310, "loc": { "start": { - "line": 165, + "line": 167, "column": 19 }, "end": { - "line": 165, + "line": 167, "column": 22 } } @@ -60017,15 +62085,15 @@ "updateContext": null }, "value": "{numpaddecimal}", - "start": 5133, - "end": 5150, + "start": 5311, + "end": 5328, "loc": { "start": { - "line": 165, + "line": 167, "column": 23 }, "end": { - "line": 165, + "line": 167, "column": 40 } } @@ -60042,15 +62110,15 @@ "postfix": false, "binop": null }, - "start": 5150, - "end": 5151, + "start": 5328, + "end": 5329, "loc": { "start": { - "line": 165, + "line": 167, "column": 40 }, "end": { - "line": 165, + "line": 167, "column": 41 } } @@ -60068,15 +62136,15 @@ "binop": null }, "value": "output", - "start": 5159, - "end": 5165, + "start": 5337, + "end": 5343, "loc": { "start": { - "line": 166, + "line": 168, "column": 6 }, "end": { - "line": 166, + "line": 168, "column": 12 } } @@ -60095,15 +62163,15 @@ "updateContext": null }, "value": "=", - "start": 5166, - "end": 5167, + "start": 5344, + "end": 5345, "loc": { "start": { - "line": 166, + "line": 168, "column": 13 }, "end": { - "line": 166, + "line": 168, "column": 14 } } @@ -60123,15 +62191,15 @@ "updateContext": null }, "value": "this", - "start": 5168, - "end": 5172, + "start": 5346, + "end": 5350, "loc": { "start": { - "line": 166, + "line": 168, "column": 15 }, "end": { - "line": 166, + "line": 168, "column": 19 } } @@ -60149,15 +62217,15 @@ "binop": null, "updateContext": null }, - "start": 5172, - "end": 5173, + "start": 5350, + "end": 5351, "loc": { "start": { - "line": 166, + "line": 168, "column": 19 }, "end": { - "line": 166, + "line": 168, "column": 20 } } @@ -60175,15 +62243,15 @@ "binop": null }, "value": "addStringAt", - "start": 5173, - "end": 5184, + "start": 5351, + "end": 5362, "loc": { "start": { - "line": 166, + "line": 168, "column": 20 }, "end": { - "line": 166, + "line": 168, "column": 31 } } @@ -60200,15 +62268,15 @@ "postfix": false, "binop": null }, - "start": 5184, - "end": 5185, + "start": 5362, + "end": 5363, "loc": { "start": { - "line": 166, + "line": 168, "column": 31 }, "end": { - "line": 166, + "line": 168, "column": 32 } } @@ -60226,15 +62294,15 @@ "binop": null }, "value": "output", - "start": 5185, - "end": 5191, + "start": 5363, + "end": 5369, "loc": { "start": { - "line": 166, + "line": 168, "column": 32 }, "end": { - "line": 166, + "line": 168, "column": 38 } } @@ -60252,15 +62320,15 @@ "binop": null, "updateContext": null }, - "start": 5191, - "end": 5192, + "start": 5369, + "end": 5370, "loc": { "start": { - "line": 166, + "line": 168, "column": 38 }, "end": { - "line": 166, + "line": 168, "column": 39 } } @@ -60279,15 +62347,15 @@ "updateContext": null }, "value": ".", - "start": 5193, - "end": 5196, + "start": 5371, + "end": 5374, "loc": { "start": { - "line": 166, + "line": 168, "column": 40 }, "end": { - "line": 166, + "line": 168, "column": 43 } } @@ -60305,15 +62373,15 @@ "binop": null, "updateContext": null }, - "start": 5196, - "end": 5197, + "start": 5374, + "end": 5375, "loc": { "start": { - "line": 166, + "line": 168, "column": 43 }, "end": { - "line": 166, + "line": 168, "column": 44 } } @@ -60331,19 +62399,71 @@ "binop": null }, "value": "caretPos", - "start": 5198, - "end": 5206, + "start": 5376, + "end": 5384, "loc": { "start": { - "line": 166, + "line": 168, "column": 45 }, "end": { - "line": 166, + "line": 168, "column": 53 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5384, + "end": 5385, + "loc": { + "start": { + "line": 168, + "column": 53 + }, + "end": { + "line": 168, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 5386, + "end": 5395, + "loc": { + "start": { + "line": 168, + "column": 55 + }, + "end": { + "line": 168, + "column": 64 + } + } + }, { "type": { "label": ")", @@ -60356,16 +62476,16 @@ "postfix": false, "binop": null }, - "start": 5206, - "end": 5207, + "start": 5395, + "end": 5396, "loc": { "start": { - "line": 166, - "column": 53 + "line": 168, + "column": 64 }, "end": { - "line": 166, - "column": 54 + "line": 168, + "column": 65 } } }, @@ -60382,16 +62502,16 @@ "binop": null, "updateContext": null }, - "start": 5207, - "end": 5208, + "start": 5396, + "end": 5397, "loc": { "start": { - "line": 166, - "column": 54 + "line": 168, + "column": 65 }, "end": { - "line": 166, - "column": 55 + "line": 168, + "column": 66 } } }, @@ -60410,15 +62530,15 @@ "updateContext": null }, "value": "else", - "start": 5216, - "end": 5220, + "start": 5405, + "end": 5409, "loc": { "start": { - "line": 168, + "line": 170, "column": 4 }, "end": { - "line": 168, + "line": 170, "column": 8 } } @@ -60438,15 +62558,15 @@ "updateContext": null }, "value": "if", - "start": 5221, - "end": 5223, + "start": 5410, + "end": 5412, "loc": { "start": { - "line": 168, + "line": 170, "column": 9 }, "end": { - "line": 168, + "line": 170, "column": 11 } } @@ -60463,15 +62583,15 @@ "postfix": false, "binop": null }, - "start": 5223, - "end": 5224, + "start": 5412, + "end": 5413, "loc": { "start": { - "line": 168, + "line": 170, "column": 11 }, "end": { - "line": 168, + "line": 170, "column": 12 } } @@ -60489,15 +62609,15 @@ "binop": null }, "value": "button", - "start": 5224, - "end": 5230, + "start": 5413, + "end": 5419, "loc": { "start": { - "line": 168, + "line": 170, "column": 12 }, "end": { - "line": 168, + "line": 170, "column": 18 } } @@ -60516,15 +62636,15 @@ "updateContext": null }, "value": "===", - "start": 5231, - "end": 5234, + "start": 5420, + "end": 5423, "loc": { "start": { - "line": 168, + "line": 170, "column": 19 }, "end": { - "line": 168, + "line": 170, "column": 22 } } @@ -60543,15 +62663,15 @@ "updateContext": null }, "value": "{", - "start": 5235, - "end": 5238, + "start": 5424, + "end": 5427, "loc": { "start": { - "line": 168, + "line": 170, "column": 23 }, "end": { - "line": 168, + "line": 170, "column": 26 } } @@ -60570,15 +62690,15 @@ "updateContext": null }, "value": "||", - "start": 5239, - "end": 5241, + "start": 5428, + "end": 5430, "loc": { "start": { - "line": 168, + "line": 170, "column": 27 }, "end": { - "line": 168, + "line": 170, "column": 29 } } @@ -60596,15 +62716,15 @@ "binop": null }, "value": "button", - "start": 5242, - "end": 5248, + "start": 5431, + "end": 5437, "loc": { "start": { - "line": 168, + "line": 170, "column": 30 }, "end": { - "line": 168, + "line": 170, "column": 36 } } @@ -60623,15 +62743,15 @@ "updateContext": null }, "value": "===", - "start": 5249, - "end": 5252, + "start": 5438, + "end": 5441, "loc": { "start": { - "line": 168, + "line": 170, "column": 37 }, "end": { - "line": 168, + "line": 170, "column": 40 } } @@ -60650,15 +62770,15 @@ "updateContext": null }, "value": "}", - "start": 5253, - "end": 5256, + "start": 5442, + "end": 5445, "loc": { "start": { - "line": 168, + "line": 170, "column": 41 }, "end": { - "line": 168, + "line": 170, "column": 44 } } @@ -60675,15 +62795,15 @@ "postfix": false, "binop": null }, - "start": 5256, - "end": 5257, + "start": 5445, + "end": 5446, "loc": { "start": { - "line": 168, + "line": 170, "column": 44 }, "end": { - "line": 168, + "line": 170, "column": 45 } } @@ -60701,15 +62821,15 @@ "binop": null }, "value": "output", - "start": 5265, - "end": 5271, + "start": 5454, + "end": 5460, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, + "line": 171, "column": 12 } } @@ -60728,15 +62848,15 @@ "updateContext": null }, "value": "=", - "start": 5272, - "end": 5273, + "start": 5461, + "end": 5462, "loc": { "start": { - "line": 169, + "line": 171, "column": 13 }, "end": { - "line": 169, + "line": 171, "column": 14 } } @@ -60756,15 +62876,15 @@ "updateContext": null }, "value": "this", - "start": 5274, - "end": 5278, + "start": 5463, + "end": 5467, "loc": { "start": { - "line": 169, + "line": 171, "column": 15 }, "end": { - "line": 169, + "line": 171, "column": 19 } } @@ -60782,15 +62902,15 @@ "binop": null, "updateContext": null }, - "start": 5278, - "end": 5279, + "start": 5467, + "end": 5468, "loc": { "start": { - "line": 169, + "line": 171, "column": 19 }, "end": { - "line": 169, + "line": 171, "column": 20 } } @@ -60808,15 +62928,15 @@ "binop": null }, "value": "addStringAt", - "start": 5279, - "end": 5290, + "start": 5468, + "end": 5479, "loc": { "start": { - "line": 169, + "line": 171, "column": 20 }, "end": { - "line": 169, + "line": 171, "column": 31 } } @@ -60833,15 +62953,15 @@ "postfix": false, "binop": null }, - "start": 5290, - "end": 5291, + "start": 5479, + "end": 5480, "loc": { "start": { - "line": 169, + "line": 171, "column": 31 }, "end": { - "line": 169, + "line": 171, "column": 32 } } @@ -60859,15 +62979,15 @@ "binop": null }, "value": "output", - "start": 5291, - "end": 5297, + "start": 5480, + "end": 5486, "loc": { "start": { - "line": 169, + "line": 171, "column": 32 }, "end": { - "line": 169, + "line": 171, "column": 38 } } @@ -60885,15 +63005,15 @@ "binop": null, "updateContext": null }, - "start": 5297, - "end": 5298, + "start": 5486, + "end": 5487, "loc": { "start": { - "line": 169, + "line": 171, "column": 38 }, "end": { - "line": 169, + "line": 171, "column": 39 } } @@ -60911,15 +63031,15 @@ "binop": null }, "value": "button", - "start": 5299, - "end": 5305, + "start": 5488, + "end": 5494, "loc": { "start": { - "line": 169, + "line": 171, "column": 40 }, "end": { - "line": 169, + "line": 171, "column": 46 } } @@ -60937,15 +63057,15 @@ "binop": null, "updateContext": null }, - "start": 5305, - "end": 5306, + "start": 5494, + "end": 5495, "loc": { "start": { - "line": 169, + "line": 171, "column": 46 }, "end": { - "line": 169, + "line": 171, "column": 47 } } @@ -60963,19 +63083,71 @@ "binop": null }, "value": "caretPos", - "start": 5307, - "end": 5315, + "start": 5496, + "end": 5504, "loc": { "start": { - "line": 169, + "line": 171, "column": 48 }, "end": { - "line": 169, + "line": 171, "column": 56 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5504, + "end": 5505, + "loc": { + "start": { + "line": 171, + "column": 56 + }, + "end": { + "line": 171, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 5506, + "end": 5515, + "loc": { + "start": { + "line": 171, + "column": 58 + }, + "end": { + "line": 171, + "column": 67 + } + } + }, { "type": { "label": ")", @@ -60988,16 +63160,16 @@ "postfix": false, "binop": null }, - "start": 5315, - "end": 5316, + "start": 5515, + "end": 5516, "loc": { "start": { - "line": 169, - "column": 56 + "line": 171, + "column": 67 }, "end": { - "line": 169, - "column": 57 + "line": 171, + "column": 68 } } }, @@ -61014,16 +63186,16 @@ "binop": null, "updateContext": null }, - "start": 5316, - "end": 5317, + "start": 5516, + "end": 5517, "loc": { "start": { - "line": 169, - "column": 57 + "line": 171, + "column": 68 }, "end": { - "line": 169, - "column": 58 + "line": 171, + "column": 69 } } }, @@ -61042,15 +63214,15 @@ "updateContext": null }, "value": "else", - "start": 5325, - "end": 5329, + "start": 5525, + "end": 5529, "loc": { "start": { - "line": 171, + "line": 173, "column": 4 }, "end": { - "line": 171, + "line": 173, "column": 8 } } @@ -61070,15 +63242,15 @@ "updateContext": null }, "value": "if", - "start": 5330, - "end": 5332, + "start": 5530, + "end": 5532, "loc": { "start": { - "line": 171, + "line": 173, "column": 9 }, "end": { - "line": 171, + "line": 173, "column": 11 } } @@ -61095,15 +63267,15 @@ "postfix": false, "binop": null }, - "start": 5332, - "end": 5333, + "start": 5532, + "end": 5533, "loc": { "start": { - "line": 171, + "line": 173, "column": 11 }, "end": { - "line": 171, + "line": 173, "column": 12 } } @@ -61122,15 +63294,15 @@ "updateContext": null }, "value": "!", - "start": 5333, - "end": 5334, + "start": 5533, + "end": 5534, "loc": { "start": { - "line": 171, + "line": 173, "column": 12 }, "end": { - "line": 171, + "line": 173, "column": 13 } } @@ -61148,15 +63320,15 @@ "binop": null }, "value": "button", - "start": 5334, - "end": 5340, + "start": 5534, + "end": 5540, "loc": { "start": { - "line": 171, + "line": 173, "column": 13 }, "end": { - "line": 171, + "line": 173, "column": 19 } } @@ -61174,15 +63346,15 @@ "binop": null, "updateContext": null }, - "start": 5340, - "end": 5341, + "start": 5540, + "end": 5541, "loc": { "start": { - "line": 171, + "line": 173, "column": 19 }, "end": { - "line": 171, + "line": 173, "column": 20 } } @@ -61200,15 +63372,15 @@ "binop": null }, "value": "includes", - "start": 5341, - "end": 5349, + "start": 5541, + "end": 5549, "loc": { "start": { - "line": 171, + "line": 173, "column": 20 }, "end": { - "line": 171, + "line": 173, "column": 28 } } @@ -61225,15 +63397,15 @@ "postfix": false, "binop": null }, - "start": 5349, - "end": 5350, + "start": 5549, + "end": 5550, "loc": { "start": { - "line": 171, + "line": 173, "column": 28 }, "end": { - "line": 171, + "line": 173, "column": 29 } } @@ -61252,15 +63424,15 @@ "updateContext": null }, "value": "{", - "start": 5350, - "end": 5353, + "start": 5550, + "end": 5553, "loc": { "start": { - "line": 171, + "line": 173, "column": 29 }, "end": { - "line": 171, + "line": 173, "column": 32 } } @@ -61277,15 +63449,15 @@ "postfix": false, "binop": null }, - "start": 5353, - "end": 5354, + "start": 5553, + "end": 5554, "loc": { "start": { - "line": 171, + "line": 173, "column": 32 }, "end": { - "line": 171, + "line": 173, "column": 33 } } @@ -61304,15 +63476,15 @@ "updateContext": null }, "value": "&&", - "start": 5355, - "end": 5357, + "start": 5555, + "end": 5557, "loc": { "start": { - "line": 171, + "line": 173, "column": 34 }, "end": { - "line": 171, + "line": 173, "column": 36 } } @@ -61331,15 +63503,15 @@ "updateContext": null }, "value": "!", - "start": 5358, - "end": 5359, + "start": 5558, + "end": 5559, "loc": { "start": { - "line": 171, + "line": 173, "column": 37 }, "end": { - "line": 171, + "line": 173, "column": 38 } } @@ -61357,15 +63529,15 @@ "binop": null }, "value": "button", - "start": 5359, - "end": 5365, + "start": 5559, + "end": 5565, "loc": { "start": { - "line": 171, + "line": 173, "column": 38 }, "end": { - "line": 171, + "line": 173, "column": 44 } } @@ -61383,15 +63555,15 @@ "binop": null, "updateContext": null }, - "start": 5365, - "end": 5366, + "start": 5565, + "end": 5566, "loc": { "start": { - "line": 171, + "line": 173, "column": 44 }, "end": { - "line": 171, + "line": 173, "column": 45 } } @@ -61409,15 +63581,15 @@ "binop": null }, "value": "includes", - "start": 5366, - "end": 5374, + "start": 5566, + "end": 5574, "loc": { "start": { - "line": 171, + "line": 173, "column": 45 }, "end": { - "line": 171, + "line": 173, "column": 53 } } @@ -61434,15 +63606,15 @@ "postfix": false, "binop": null }, - "start": 5374, - "end": 5375, + "start": 5574, + "end": 5575, "loc": { "start": { - "line": 171, + "line": 173, "column": 53 }, "end": { - "line": 171, + "line": 173, "column": 54 } } @@ -61461,15 +63633,15 @@ "updateContext": null }, "value": "}", - "start": 5375, - "end": 5378, + "start": 5575, + "end": 5578, "loc": { "start": { - "line": 171, + "line": 173, "column": 54 }, "end": { - "line": 171, + "line": 173, "column": 57 } } @@ -61486,15 +63658,15 @@ "postfix": false, "binop": null }, - "start": 5378, - "end": 5379, + "start": 5578, + "end": 5579, "loc": { "start": { - "line": 171, + "line": 173, "column": 57 }, "end": { - "line": 171, + "line": 173, "column": 58 } } @@ -61511,15 +63683,15 @@ "postfix": false, "binop": null }, - "start": 5379, - "end": 5380, + "start": 5579, + "end": 5580, "loc": { "start": { - "line": 171, + "line": 173, "column": 58 }, "end": { - "line": 171, + "line": 173, "column": 59 } } @@ -61537,15 +63709,15 @@ "binop": null }, "value": "output", - "start": 5388, - "end": 5394, + "start": 5588, + "end": 5594, "loc": { "start": { - "line": 172, + "line": 174, "column": 6 }, "end": { - "line": 172, + "line": 174, "column": 12 } } @@ -61564,15 +63736,15 @@ "updateContext": null }, "value": "=", - "start": 5395, - "end": 5396, + "start": 5595, + "end": 5596, "loc": { "start": { - "line": 172, + "line": 174, "column": 13 }, "end": { - "line": 172, + "line": 174, "column": 14 } } @@ -61592,15 +63764,15 @@ "updateContext": null }, "value": "this", - "start": 5397, - "end": 5401, + "start": 5597, + "end": 5601, "loc": { "start": { - "line": 172, + "line": 174, "column": 15 }, "end": { - "line": 172, + "line": 174, "column": 19 } } @@ -61618,15 +63790,15 @@ "binop": null, "updateContext": null }, - "start": 5401, - "end": 5402, + "start": 5601, + "end": 5602, "loc": { "start": { - "line": 172, + "line": 174, "column": 19 }, "end": { - "line": 172, + "line": 174, "column": 20 } } @@ -61644,15 +63816,15 @@ "binop": null }, "value": "addStringAt", - "start": 5402, - "end": 5413, + "start": 5602, + "end": 5613, "loc": { "start": { - "line": 172, + "line": 174, "column": 20 }, "end": { - "line": 172, + "line": 174, "column": 31 } } @@ -61669,15 +63841,15 @@ "postfix": false, "binop": null }, - "start": 5413, - "end": 5414, + "start": 5613, + "end": 5614, "loc": { "start": { - "line": 172, + "line": 174, "column": 31 }, "end": { - "line": 172, + "line": 174, "column": 32 } } @@ -61695,15 +63867,15 @@ "binop": null }, "value": "output", - "start": 5414, - "end": 5420, + "start": 5614, + "end": 5620, "loc": { "start": { - "line": 172, + "line": 174, "column": 32 }, "end": { - "line": 172, + "line": 174, "column": 38 } } @@ -61721,15 +63893,15 @@ "binop": null, "updateContext": null }, - "start": 5420, - "end": 5421, + "start": 5620, + "end": 5621, "loc": { "start": { - "line": 172, + "line": 174, "column": 38 }, "end": { - "line": 172, + "line": 174, "column": 39 } } @@ -61747,15 +63919,15 @@ "binop": null }, "value": "button", - "start": 5422, - "end": 5428, + "start": 5622, + "end": 5628, "loc": { "start": { - "line": 172, + "line": 174, "column": 40 }, "end": { - "line": 172, + "line": 174, "column": 46 } } @@ -61773,15 +63945,15 @@ "binop": null, "updateContext": null }, - "start": 5428, - "end": 5429, + "start": 5628, + "end": 5629, "loc": { "start": { - "line": 172, + "line": 174, "column": 46 }, "end": { - "line": 172, + "line": 174, "column": 47 } } @@ -61799,19 +63971,71 @@ "binop": null }, "value": "caretPos", - "start": 5430, - "end": 5438, + "start": 5630, + "end": 5638, "loc": { "start": { - "line": 172, + "line": 174, "column": 48 }, "end": { - "line": 172, + "line": 174, "column": 56 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5638, + "end": 5639, + "loc": { + "start": { + "line": 174, + "column": 56 + }, + "end": { + "line": 174, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 5640, + "end": 5649, + "loc": { + "start": { + "line": 174, + "column": 58 + }, + "end": { + "line": 174, + "column": 67 + } + } + }, { "type": { "label": ")", @@ -61824,16 +64048,16 @@ "postfix": false, "binop": null }, - "start": 5438, - "end": 5439, + "start": 5649, + "end": 5650, "loc": { "start": { - "line": 172, - "column": 56 + "line": 174, + "column": 67 }, "end": { - "line": 172, - "column": 57 + "line": 174, + "column": 68 } } }, @@ -61850,16 +64074,16 @@ "binop": null, "updateContext": null }, - "start": 5439, - "end": 5440, + "start": 5650, + "end": 5651, "loc": { "start": { - "line": 172, - "column": 57 + "line": 174, + "column": 68 }, "end": { - "line": 172, - "column": 58 + "line": 174, + "column": 69 } } }, @@ -61878,15 +64102,15 @@ "updateContext": null }, "value": "return", - "start": 5448, - "end": 5454, + "start": 5659, + "end": 5665, "loc": { "start": { - "line": 174, + "line": 176, "column": 4 }, "end": { - "line": 174, + "line": 176, "column": 10 } } @@ -61904,15 +64128,15 @@ "binop": null }, "value": "output", - "start": 5455, - "end": 5461, + "start": 5666, + "end": 5672, "loc": { "start": { - "line": 174, + "line": 176, "column": 11 }, "end": { - "line": 174, + "line": 176, "column": 17 } } @@ -61930,15 +64154,15 @@ "binop": null, "updateContext": null }, - "start": 5461, - "end": 5462, + "start": 5672, + "end": 5673, "loc": { "start": { - "line": 174, + "line": 176, "column": 17 }, "end": { - "line": 174, + "line": 176, "column": 18 } } @@ -61955,15 +64179,15 @@ "postfix": false, "binop": null }, - "start": 5466, - "end": 5467, + "start": 5677, + "end": 5678, "loc": { "start": { - "line": 175, + "line": 177, "column": 2 }, "end": { - "line": 175, + "line": 177, "column": 3 } } @@ -61971,15 +64195,15 @@ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", - "start": 5471, - "end": 5713, + "start": 5684, + "end": 5926, "loc": { "start": { - "line": 176, + "line": 179, "column": 2 }, "end": { - "line": 181, + "line": 184, "column": 5 } } @@ -61997,15 +64221,15 @@ "binop": null }, "value": "updateCaretPos", - "start": 5717, - "end": 5731, + "start": 5930, + "end": 5944, "loc": { "start": { - "line": 182, + "line": 185, "column": 2 }, "end": { - "line": 182, + "line": 185, "column": 16 } } @@ -62022,15 +64246,15 @@ "postfix": false, "binop": null }, - "start": 5731, - "end": 5732, + "start": 5944, + "end": 5945, "loc": { "start": { - "line": 182, + "line": 185, "column": 16 }, "end": { - "line": 182, + "line": 185, "column": 17 } } @@ -62048,15 +64272,15 @@ "binop": null }, "value": "length", - "start": 5732, - "end": 5738, + "start": 5945, + "end": 5951, "loc": { "start": { - "line": 182, + "line": 185, "column": 17 }, "end": { - "line": 182, + "line": 185, "column": 23 } } @@ -62074,15 +64298,15 @@ "binop": null, "updateContext": null }, - "start": 5738, - "end": 5739, + "start": 5951, + "end": 5952, "loc": { "start": { - "line": 182, + "line": 185, "column": 23 }, "end": { - "line": 182, + "line": 185, "column": 24 } } @@ -62100,15 +64324,15 @@ "binop": null }, "value": "minus", - "start": 5740, - "end": 5745, + "start": 5953, + "end": 5958, "loc": { "start": { - "line": 182, + "line": 185, "column": 25 }, "end": { - "line": 182, + "line": 185, "column": 30 } } @@ -62125,15 +64349,15 @@ "postfix": false, "binop": null }, - "start": 5745, - "end": 5746, + "start": 5958, + "end": 5959, "loc": { "start": { - "line": 182, + "line": 185, "column": 30 }, "end": { - "line": 182, + "line": 185, "column": 31 } } @@ -62150,15 +64374,15 @@ "postfix": false, "binop": null }, - "start": 5746, - "end": 5747, + "start": 5959, + "end": 5960, "loc": { "start": { - "line": 182, + "line": 185, "column": 31 }, "end": { - "line": 182, + "line": 185, "column": 32 } } @@ -62178,15 +64402,15 @@ "updateContext": null }, "value": "if", - "start": 5753, - "end": 5755, + "start": 5966, + "end": 5968, "loc": { "start": { - "line": 183, + "line": 186, "column": 4 }, "end": { - "line": 183, + "line": 186, "column": 6 } } @@ -62203,15 +64427,15 @@ "postfix": false, "binop": null }, - "start": 5755, - "end": 5756, + "start": 5968, + "end": 5969, "loc": { "start": { - "line": 183, + "line": 186, "column": 6 }, "end": { - "line": 183, + "line": 186, "column": 7 } } @@ -62229,15 +64453,15 @@ "binop": null }, "value": "minus", - "start": 5756, - "end": 5761, + "start": 5969, + "end": 5974, "loc": { "start": { - "line": 183, + "line": 186, "column": 7 }, "end": { - "line": 183, + "line": 186, "column": 12 } } @@ -62254,15 +64478,15 @@ "postfix": false, "binop": null }, - "start": 5761, - "end": 5762, + "start": 5974, + "end": 5975, "loc": { "start": { - "line": 183, + "line": 186, "column": 12 }, "end": { - "line": 183, + "line": 186, "column": 13 } } @@ -62279,15 +64503,15 @@ "postfix": false, "binop": null }, - "start": 5762, - "end": 5763, + "start": 5975, + "end": 5976, "loc": { "start": { - "line": 183, + "line": 186, "column": 13 }, "end": { - "line": 183, + "line": 186, "column": 14 } } @@ -62307,15 +64531,15 @@ "updateContext": null }, "value": "if", - "start": 5771, - "end": 5773, + "start": 5984, + "end": 5986, "loc": { "start": { - "line": 184, + "line": 187, "column": 6 }, "end": { - "line": 184, + "line": 187, "column": 8 } } @@ -62332,15 +64556,15 @@ "postfix": false, "binop": null }, - "start": 5773, - "end": 5774, + "start": 5986, + "end": 5987, "loc": { "start": { - "line": 184, + "line": 187, "column": 8 }, "end": { - "line": 184, + "line": 187, "column": 9 } } @@ -62360,15 +64584,15 @@ "updateContext": null }, "value": "this", - "start": 5774, - "end": 5778, + "start": 5987, + "end": 5991, "loc": { "start": { - "line": 184, + "line": 187, "column": 9 }, "end": { - "line": 184, + "line": 187, "column": 13 } } @@ -62386,15 +64610,15 @@ "binop": null, "updateContext": null }, - "start": 5778, - "end": 5779, + "start": 5991, + "end": 5992, "loc": { "start": { - "line": 184, + "line": 187, "column": 13 }, "end": { - "line": 184, + "line": 187, "column": 14 } } @@ -62412,15 +64636,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5779, - "end": 5801, + "start": 5992, + "end": 6014, "loc": { "start": { - "line": 184, + "line": 187, "column": 14 }, "end": { - "line": 184, + "line": 187, "column": 36 } } @@ -62438,15 +64662,15 @@ "binop": null, "updateContext": null }, - "start": 5801, - "end": 5802, + "start": 6014, + "end": 6015, "loc": { "start": { - "line": 184, + "line": 187, "column": 36 }, "end": { - "line": 184, + "line": 187, "column": 37 } } @@ -62464,15 +64688,15 @@ "binop": null }, "value": "caretPosition", - "start": 5802, - "end": 5815, + "start": 6015, + "end": 6028, "loc": { "start": { - "line": 184, + "line": 187, "column": 37 }, "end": { - "line": 184, + "line": 187, "column": 50 } } @@ -62491,15 +64715,15 @@ "updateContext": null }, "value": ">", - "start": 5816, - "end": 5817, + "start": 6029, + "end": 6030, "loc": { "start": { - "line": 184, + "line": 187, "column": 51 }, "end": { - "line": 184, + "line": 187, "column": 52 } } @@ -62518,15 +64742,15 @@ "updateContext": null }, "value": 0, - "start": 5818, - "end": 5819, + "start": 6031, + "end": 6032, "loc": { "start": { - "line": 184, + "line": 187, "column": 53 }, "end": { - "line": 184, + "line": 187, "column": 54 } } @@ -62543,15 +64767,15 @@ "postfix": false, "binop": null }, - "start": 5819, - "end": 5820, + "start": 6032, + "end": 6033, "loc": { "start": { - "line": 184, + "line": 187, "column": 54 }, "end": { - "line": 184, + "line": 187, "column": 55 } } @@ -62571,15 +64795,15 @@ "updateContext": null }, "value": "this", - "start": 5830, - "end": 5834, + "start": 6043, + "end": 6047, "loc": { "start": { - "line": 185, + "line": 188, "column": 8 }, "end": { - "line": 185, + "line": 188, "column": 12 } } @@ -62597,15 +64821,15 @@ "binop": null, "updateContext": null }, - "start": 5834, - "end": 5835, + "start": 6047, + "end": 6048, "loc": { "start": { - "line": 185, + "line": 188, "column": 12 }, "end": { - "line": 185, + "line": 188, "column": 13 } } @@ -62623,15 +64847,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5835, - "end": 5857, + "start": 6048, + "end": 6070, "loc": { "start": { - "line": 185, + "line": 188, "column": 13 }, "end": { - "line": 185, + "line": 188, "column": 35 } } @@ -62649,15 +64873,15 @@ "binop": null, "updateContext": null }, - "start": 5857, - "end": 5858, + "start": 6070, + "end": 6071, "loc": { "start": { - "line": 185, + "line": 188, "column": 35 }, "end": { - "line": 185, + "line": 188, "column": 36 } } @@ -62675,15 +64899,15 @@ "binop": null }, "value": "caretPosition", - "start": 5858, - "end": 5871, + "start": 6071, + "end": 6084, "loc": { "start": { - "line": 185, + "line": 188, "column": 36 }, "end": { - "line": 185, + "line": 188, "column": 49 } } @@ -62702,15 +64926,15 @@ "updateContext": null }, "value": "=", - "start": 5872, - "end": 5873, + "start": 6085, + "end": 6086, "loc": { "start": { - "line": 185, + "line": 188, "column": 50 }, "end": { - "line": 185, + "line": 188, "column": 51 } } @@ -62730,15 +64954,15 @@ "updateContext": null }, "value": "this", - "start": 5874, - "end": 5878, + "start": 6087, + "end": 6091, "loc": { "start": { - "line": 185, + "line": 188, "column": 52 }, "end": { - "line": 185, + "line": 188, "column": 56 } } @@ -62756,15 +64980,15 @@ "binop": null, "updateContext": null }, - "start": 5878, - "end": 5879, + "start": 6091, + "end": 6092, "loc": { "start": { - "line": 185, + "line": 188, "column": 56 }, "end": { - "line": 185, + "line": 188, "column": 57 } } @@ -62782,15 +65006,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5879, - "end": 5901, + "start": 6092, + "end": 6114, "loc": { "start": { - "line": 185, + "line": 188, "column": 57 }, "end": { - "line": 185, + "line": 188, "column": 79 } } @@ -62808,15 +65032,15 @@ "binop": null, "updateContext": null }, - "start": 5901, - "end": 5902, + "start": 6114, + "end": 6115, "loc": { "start": { - "line": 185, + "line": 188, "column": 79 }, "end": { - "line": 185, + "line": 188, "column": 80 } } @@ -62834,15 +65058,15 @@ "binop": null }, "value": "caretPosition", - "start": 5902, - "end": 5915, + "start": 6115, + "end": 6128, "loc": { "start": { - "line": 185, + "line": 188, "column": 80 }, "end": { - "line": 185, + "line": 188, "column": 93 } } @@ -62861,15 +65085,15 @@ "updateContext": null }, "value": "-", - "start": 5916, - "end": 5917, + "start": 6129, + "end": 6130, "loc": { "start": { - "line": 185, + "line": 188, "column": 94 }, "end": { - "line": 185, + "line": 188, "column": 95 } } @@ -62887,19 +65111,45 @@ "binop": null }, "value": "length", - "start": 5918, - "end": 5924, + "start": 6131, + "end": 6137, "loc": { "start": { - "line": 185, + "line": 188, "column": 96 }, "end": { - "line": 185, + "line": 188, "column": 102 } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6137, + "end": 6138, + "loc": { + "start": { + "line": 188, + "column": 102 + }, + "end": { + "line": 188, + "column": 103 + } + } + }, { "type": { "label": "}", @@ -62912,15 +65162,15 @@ "postfix": false, "binop": null }, - "start": 5930, - "end": 5931, + "start": 6144, + "end": 6145, "loc": { "start": { - "line": 186, + "line": 189, "column": 4 }, "end": { - "line": 186, + "line": 189, "column": 5 } } @@ -62940,15 +65190,15 @@ "updateContext": null }, "value": "else", - "start": 5932, - "end": 5936, + "start": 6146, + "end": 6150, "loc": { "start": { - "line": 186, + "line": 189, "column": 6 }, "end": { - "line": 186, + "line": 189, "column": 10 } } @@ -62965,15 +65215,15 @@ "postfix": false, "binop": null }, - "start": 5937, - "end": 5938, + "start": 6151, + "end": 6152, "loc": { "start": { - "line": 186, + "line": 189, "column": 11 }, "end": { - "line": 186, + "line": 189, "column": 12 } } @@ -62993,15 +65243,15 @@ "updateContext": null }, "value": "this", - "start": 5946, - "end": 5950, + "start": 6160, + "end": 6164, "loc": { "start": { - "line": 187, + "line": 190, "column": 6 }, "end": { - "line": 187, + "line": 190, "column": 10 } } @@ -63019,15 +65269,15 @@ "binop": null, "updateContext": null }, - "start": 5950, - "end": 5951, + "start": 6164, + "end": 6165, "loc": { "start": { - "line": 187, + "line": 190, "column": 10 }, "end": { - "line": 187, + "line": 190, "column": 11 } } @@ -63045,15 +65295,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5951, - "end": 5973, + "start": 6165, + "end": 6187, "loc": { "start": { - "line": 187, + "line": 190, "column": 11 }, "end": { - "line": 187, + "line": 190, "column": 33 } } @@ -63071,15 +65321,15 @@ "binop": null, "updateContext": null }, - "start": 5973, - "end": 5974, + "start": 6187, + "end": 6188, "loc": { "start": { - "line": 187, + "line": 190, "column": 33 }, "end": { - "line": 187, + "line": 190, "column": 34 } } @@ -63097,15 +65347,15 @@ "binop": null }, "value": "caretPosition", - "start": 5974, - "end": 5987, + "start": 6188, + "end": 6201, "loc": { "start": { - "line": 187, + "line": 190, "column": 34 }, "end": { - "line": 187, + "line": 190, "column": 47 } } @@ -63124,15 +65374,15 @@ "updateContext": null }, "value": "=", - "start": 5988, - "end": 5989, + "start": 6202, + "end": 6203, "loc": { "start": { - "line": 187, + "line": 190, "column": 48 }, "end": { - "line": 187, + "line": 190, "column": 49 } } @@ -63152,15 +65402,15 @@ "updateContext": null }, "value": "this", - "start": 5990, - "end": 5994, + "start": 6204, + "end": 6208, "loc": { "start": { - "line": 187, + "line": 190, "column": 50 }, "end": { - "line": 187, + "line": 190, "column": 54 } } @@ -63178,15 +65428,15 @@ "binop": null, "updateContext": null }, - "start": 5994, - "end": 5995, + "start": 6208, + "end": 6209, "loc": { "start": { - "line": 187, + "line": 190, "column": 54 }, "end": { - "line": 187, + "line": 190, "column": 55 } } @@ -63204,15 +65454,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 5995, - "end": 6017, + "start": 6209, + "end": 6231, "loc": { "start": { - "line": 187, + "line": 190, "column": 55 }, "end": { - "line": 187, + "line": 190, "column": 77 } } @@ -63230,15 +65480,15 @@ "binop": null, "updateContext": null }, - "start": 6017, - "end": 6018, + "start": 6231, + "end": 6232, "loc": { "start": { - "line": 187, + "line": 190, "column": 77 }, "end": { - "line": 187, + "line": 190, "column": 78 } } @@ -63256,15 +65506,15 @@ "binop": null }, "value": "caretPosition", - "start": 6018, - "end": 6031, + "start": 6232, + "end": 6245, "loc": { "start": { - "line": 187, + "line": 190, "column": 78 }, "end": { - "line": 187, + "line": 190, "column": 91 } } @@ -63283,15 +65533,15 @@ "updateContext": null }, "value": "+", - "start": 6032, - "end": 6033, + "start": 6246, + "end": 6247, "loc": { "start": { - "line": 187, + "line": 190, "column": 92 }, "end": { - "line": 187, + "line": 190, "column": 93 } } @@ -63309,15 +65559,15 @@ "binop": null }, "value": "length", - "start": 6034, - "end": 6040, + "start": 6248, + "end": 6254, "loc": { "start": { - "line": 187, + "line": 190, "column": 94 }, "end": { - "line": 187, + "line": 190, "column": 100 } } @@ -63335,15 +65585,15 @@ "binop": null, "updateContext": null }, - "start": 6040, - "end": 6041, + "start": 6254, + "end": 6255, "loc": { "start": { - "line": 187, + "line": 190, "column": 100 }, "end": { - "line": 187, + "line": 190, "column": 101 } } @@ -63360,15 +65610,15 @@ "postfix": false, "binop": null }, - "start": 6047, - "end": 6048, + "start": 6261, + "end": 6262, "loc": { "start": { - "line": 188, + "line": 191, "column": 4 }, "end": { - "line": 188, + "line": 191, "column": 5 } } @@ -63385,31 +65635,31 @@ "postfix": false, "binop": null }, - "start": 6052, - "end": 6053, + "start": 6266, + "end": 6267, "loc": { "start": { - "line": 189, + "line": 192, "column": 2 }, "end": { - "line": 189, + "line": 192, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", - "start": 6059, - "end": 6311, + "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 6273, + "end": 6602, "loc": { "start": { - "line": 191, + "line": 194, "column": 2 }, "end": { - "line": 197, + "line": 201, "column": 5 } } @@ -63427,15 +65677,15 @@ "binop": null }, "value": "addStringAt", - "start": 6315, - "end": 6326, + "start": 6606, + "end": 6617, "loc": { "start": { - "line": 198, + "line": 202, "column": 2 }, "end": { - "line": 198, + "line": 202, "column": 13 } } @@ -63452,15 +65702,15 @@ "postfix": false, "binop": null }, - "start": 6326, - "end": 6327, + "start": 6617, + "end": 6618, "loc": { "start": { - "line": 198, + "line": 202, "column": 13 }, "end": { - "line": 198, + "line": 202, "column": 14 } } @@ -63478,15 +65728,15 @@ "binop": null }, "value": "source", - "start": 6327, - "end": 6333, + "start": 6618, + "end": 6624, "loc": { "start": { - "line": 198, + "line": 202, "column": 14 }, "end": { - "line": 198, + "line": 202, "column": 20 } } @@ -63504,15 +65754,15 @@ "binop": null, "updateContext": null }, - "start": 6333, - "end": 6334, + "start": 6624, + "end": 6625, "loc": { "start": { - "line": 198, + "line": 202, "column": 20 }, "end": { - "line": 198, + "line": 202, "column": 21 } } @@ -63530,15 +65780,15 @@ "binop": null }, "value": "string", - "start": 6335, - "end": 6341, + "start": 6626, + "end": 6632, "loc": { "start": { - "line": 198, + "line": 202, "column": 22 }, "end": { - "line": 198, + "line": 202, "column": 28 } } @@ -63556,15 +65806,15 @@ "binop": null, "updateContext": null }, - "start": 6341, - "end": 6342, + "start": 6632, + "end": 6633, "loc": { "start": { - "line": 198, + "line": 202, "column": 28 }, "end": { - "line": 198, + "line": 202, "column": 29 } } @@ -63582,19 +65832,71 @@ "binop": null }, "value": "position", - "start": 6343, - "end": 6351, + "start": 6634, + "end": 6642, "loc": { "start": { - "line": 198, + "line": 202, "column": 30 }, "end": { - "line": 198, + "line": 202, "column": 38 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6642, + "end": 6643, + "loc": { + "start": { + "line": 202, + "column": 38 + }, + "end": { + "line": 202, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 6644, + "end": 6653, + "loc": { + "start": { + "line": 202, + "column": 40 + }, + "end": { + "line": 202, + "column": 49 + } + } + }, { "type": { "label": ")", @@ -63607,16 +65909,16 @@ "postfix": false, "binop": null }, - "start": 6351, - "end": 6352, + "start": 6653, + "end": 6654, "loc": { "start": { - "line": 198, - "column": 38 + "line": 202, + "column": 49 }, "end": { - "line": 198, - "column": 39 + "line": 202, + "column": 50 } } }, @@ -63632,16 +65934,16 @@ "postfix": false, "binop": null }, - "start": 6352, - "end": 6353, + "start": 6654, + "end": 6655, "loc": { "start": { - "line": 198, - "column": 39 + "line": 202, + "column": 50 }, "end": { - "line": 198, - "column": 40 + "line": 202, + "column": 51 } } }, @@ -63660,15 +65962,15 @@ "updateContext": null }, "value": "let", - "start": 6359, - "end": 6362, + "start": 6661, + "end": 6664, "loc": { "start": { - "line": 199, + "line": 203, "column": 4 }, "end": { - "line": 199, + "line": 203, "column": 7 } } @@ -63686,15 +65988,15 @@ "binop": null }, "value": "output", - "start": 6363, - "end": 6369, + "start": 6665, + "end": 6671, "loc": { "start": { - "line": 199, + "line": 203, "column": 8 }, "end": { - "line": 199, + "line": 203, "column": 14 } } @@ -63712,15 +66014,15 @@ "binop": null, "updateContext": null }, - "start": 6369, - "end": 6370, + "start": 6671, + "end": 6672, "loc": { "start": { - "line": 199, + "line": 203, "column": 14 }, "end": { - "line": 199, + "line": 203, "column": 15 } } @@ -63740,553 +66042,8 @@ "updateContext": null }, "value": "if", - "start": 6378, - "end": 6380, - "loc": { - "start": { - "line": 201, - "column": 4 - }, - "end": { - "line": 201, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6380, - "end": 6381, - "loc": { - "start": { - "line": 201, - "column": 6 - }, - "end": { - "line": 201, - "column": 7 - } - } - }, - { - "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": 6381, - "end": 6385, - "loc": { - "start": { - "line": 201, - "column": 7 - }, - "end": { - "line": 201, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6385, - "end": 6386, - "loc": { - "start": { - "line": 201, - "column": 11 - }, - "end": { - "line": 201, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "simpleKeyboardInstance", - "start": 6386, - "end": 6408, - "loc": { - "start": { - "line": 201, - "column": 12 - }, - "end": { - "line": 201, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6408, - "end": 6409, - "loc": { - "start": { - "line": 201, - "column": 34 - }, - "end": { - "line": 201, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "options", - "start": 6409, - "end": 6416, - "loc": { - "start": { - "line": 201, - "column": 35 - }, - "end": { - "line": 201, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6416, - "end": 6417, - "loc": { - "start": { - "line": 201, - "column": 42 - }, - "end": { - "line": 201, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debug", - "start": 6417, - "end": 6422, - "loc": { - "start": { - "line": 201, - "column": 43 - }, - "end": { - "line": 201, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6422, - "end": 6423, - "loc": { - "start": { - "line": 201, - "column": 48 - }, - "end": { - "line": 201, - "column": 49 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6423, - "end": 6424, - "loc": { - "start": { - "line": 201, - "column": 49 - }, - "end": { - "line": 201, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 6432, - "end": 6439, - "loc": { - "start": { - "line": 202, - "column": 6 - }, - "end": { - "line": 202, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6439, - "end": 6440, - "loc": { - "start": { - "line": 202, - "column": 13 - }, - "end": { - "line": 202, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 6440, - "end": 6443, - "loc": { - "start": { - "line": 202, - "column": 14 - }, - "end": { - "line": 202, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6443, - "end": 6444, - "loc": { - "start": { - "line": 202, - "column": 17 - }, - "end": { - "line": 202, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Caret at:", - "start": 6444, - "end": 6455, - "loc": { - "start": { - "line": 202, - "column": 18 - }, - "end": { - "line": 202, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6455, - "end": 6456, - "loc": { - "start": { - "line": 202, - "column": 29 - }, - "end": { - "line": 202, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 6457, - "end": 6465, - "loc": { - "start": { - "line": 202, - "column": 31 - }, - "end": { - "line": 202, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6465, - "end": 6466, - "loc": { - "start": { - "line": 202, - "column": 39 - }, - "end": { - "line": 202, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6466, - "end": 6467, - "loc": { - "start": { - "line": 202, - "column": 40 - }, - "end": { - "line": 202, - "column": 41 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6473, - "end": 6474, - "loc": { - "start": { - "line": 203, - "column": 4 - }, - "end": { - "line": 203, - "column": 5 - } - } - }, - { - "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": 6482, - "end": 6484, + "start": 6680, + "end": 6682, "loc": { "start": { "line": 205, @@ -64310,8 +66067,8 @@ "postfix": false, "binop": null }, - "start": 6484, - "end": 6485, + "start": 6682, + "end": 6683, "loc": { "start": { "line": 205, @@ -64337,8 +66094,8 @@ "updateContext": null }, "value": "!", - "start": 6485, - "end": 6486, + "start": 6683, + "end": 6684, "loc": { "start": { "line": 205, @@ -64363,8 +66120,8 @@ "binop": null }, "value": "position", - "start": 6486, - "end": 6494, + "start": 6684, + "end": 6692, "loc": { "start": { "line": 205, @@ -64390,8 +66147,8 @@ "updateContext": null }, "value": "&&", - "start": 6495, - "end": 6497, + "start": 6693, + "end": 6695, "loc": { "start": { "line": 205, @@ -64416,8 +66173,8 @@ "binop": null }, "value": "position", - "start": 6498, - "end": 6506, + "start": 6696, + "end": 6704, "loc": { "start": { "line": 205, @@ -64443,8 +66200,8 @@ "updateContext": null }, "value": "!==", - "start": 6507, - "end": 6510, + "start": 6705, + "end": 6708, "loc": { "start": { "line": 205, @@ -64470,8 +66227,8 @@ "updateContext": null }, "value": 0, - "start": 6511, - "end": 6512, + "start": 6709, + "end": 6710, "loc": { "start": { "line": 205, @@ -64495,8 +66252,8 @@ "postfix": false, "binop": null }, - "start": 6512, - "end": 6513, + "start": 6710, + "end": 6711, "loc": { "start": { "line": 205, @@ -64520,8 +66277,8 @@ "postfix": false, "binop": null }, - "start": 6513, - "end": 6514, + "start": 6711, + "end": 6712, "loc": { "start": { "line": 205, @@ -64546,8 +66303,8 @@ "binop": null }, "value": "output", - "start": 6522, - "end": 6528, + "start": 6720, + "end": 6726, "loc": { "start": { "line": 206, @@ -64573,8 +66330,8 @@ "updateContext": null }, "value": "=", - "start": 6529, - "end": 6530, + "start": 6727, + "end": 6728, "loc": { "start": { "line": 206, @@ -64599,8 +66356,8 @@ "binop": null }, "value": "source", - "start": 6531, - "end": 6537, + "start": 6729, + "end": 6735, "loc": { "start": { "line": 206, @@ -64626,8 +66383,8 @@ "updateContext": null }, "value": "+", - "start": 6538, - "end": 6539, + "start": 6736, + "end": 6737, "loc": { "start": { "line": 206, @@ -64652,8 +66409,8 @@ "binop": null }, "value": "string", - "start": 6540, - "end": 6546, + "start": 6738, + "end": 6744, "loc": { "start": { "line": 206, @@ -64678,8 +66435,8 @@ "binop": null, "updateContext": null }, - "start": 6546, - "end": 6547, + "start": 6744, + "end": 6745, "loc": { "start": { "line": 206, @@ -64703,8 +66460,8 @@ "postfix": false, "binop": null }, - "start": 6553, - "end": 6554, + "start": 6751, + "end": 6752, "loc": { "start": { "line": 207, @@ -64731,8 +66488,8 @@ "updateContext": null }, "value": "else", - "start": 6555, - "end": 6559, + "start": 6753, + "end": 6757, "loc": { "start": { "line": 207, @@ -64756,8 +66513,8 @@ "postfix": false, "binop": null }, - "start": 6560, - "end": 6561, + "start": 6758, + "end": 6759, "loc": { "start": { "line": 207, @@ -64782,8 +66539,8 @@ "binop": null }, "value": "output", - "start": 6569, - "end": 6575, + "start": 6767, + "end": 6773, "loc": { "start": { "line": 208, @@ -64809,8 +66566,8 @@ "updateContext": null }, "value": "=", - "start": 6576, - "end": 6577, + "start": 6774, + "end": 6775, "loc": { "start": { "line": 208, @@ -64835,8 +66592,8 @@ "binop": null, "updateContext": null }, - "start": 6578, - "end": 6579, + "start": 6776, + "end": 6777, "loc": { "start": { "line": 208, @@ -64861,8 +66618,8 @@ "binop": null }, "value": "source", - "start": 6579, - "end": 6585, + "start": 6777, + "end": 6783, "loc": { "start": { "line": 208, @@ -64887,8 +66644,8 @@ "binop": null, "updateContext": null }, - "start": 6585, - "end": 6586, + "start": 6783, + "end": 6784, "loc": { "start": { "line": 208, @@ -64913,8 +66670,8 @@ "binop": null }, "value": "slice", - "start": 6586, - "end": 6591, + "start": 6784, + "end": 6789, "loc": { "start": { "line": 208, @@ -64938,8 +66695,8 @@ "postfix": false, "binop": null }, - "start": 6591, - "end": 6592, + "start": 6789, + "end": 6790, "loc": { "start": { "line": 208, @@ -64965,8 +66722,8 @@ "updateContext": null }, "value": 0, - "start": 6592, - "end": 6593, + "start": 6790, + "end": 6791, "loc": { "start": { "line": 208, @@ -64991,8 +66748,8 @@ "binop": null, "updateContext": null }, - "start": 6593, - "end": 6594, + "start": 6791, + "end": 6792, "loc": { "start": { "line": 208, @@ -65017,8 +66774,8 @@ "binop": null }, "value": "position", - "start": 6595, - "end": 6603, + "start": 6793, + "end": 6801, "loc": { "start": { "line": 208, @@ -65042,8 +66799,8 @@ "postfix": false, "binop": null }, - "start": 6603, - "end": 6604, + "start": 6801, + "end": 6802, "loc": { "start": { "line": 208, @@ -65068,8 +66825,8 @@ "binop": null, "updateContext": null }, - "start": 6604, - "end": 6605, + "start": 6802, + "end": 6803, "loc": { "start": { "line": 208, @@ -65094,8 +66851,8 @@ "binop": null }, "value": "string", - "start": 6606, - "end": 6612, + "start": 6804, + "end": 6810, "loc": { "start": { "line": 208, @@ -65120,8 +66877,8 @@ "binop": null, "updateContext": null }, - "start": 6612, - "end": 6613, + "start": 6810, + "end": 6811, "loc": { "start": { "line": 208, @@ -65146,8 +66903,8 @@ "binop": null }, "value": "source", - "start": 6614, - "end": 6620, + "start": 6812, + "end": 6818, "loc": { "start": { "line": 208, @@ -65172,8 +66929,8 @@ "binop": null, "updateContext": null }, - "start": 6620, - "end": 6621, + "start": 6818, + "end": 6819, "loc": { "start": { "line": 208, @@ -65198,8 +66955,8 @@ "binop": null }, "value": "slice", - "start": 6621, - "end": 6626, + "start": 6819, + "end": 6824, "loc": { "start": { "line": 208, @@ -65223,8 +66980,8 @@ "postfix": false, "binop": null }, - "start": 6626, - "end": 6627, + "start": 6824, + "end": 6825, "loc": { "start": { "line": 208, @@ -65249,8 +67006,8 @@ "binop": null }, "value": "position", - "start": 6627, - "end": 6635, + "start": 6825, + "end": 6833, "loc": { "start": { "line": 208, @@ -65274,8 +67031,8 @@ "postfix": false, "binop": null }, - "start": 6635, - "end": 6636, + "start": 6833, + "end": 6834, "loc": { "start": { "line": 208, @@ -65300,8 +67057,8 @@ "binop": null, "updateContext": null }, - "start": 6636, - "end": 6637, + "start": 6834, + "end": 6835, "loc": { "start": { "line": 208, @@ -65326,8 +67083,8 @@ "binop": null, "updateContext": null }, - "start": 6637, - "end": 6638, + "start": 6835, + "end": 6836, "loc": { "start": { "line": 208, @@ -65352,8 +67109,8 @@ "binop": null }, "value": "join", - "start": 6638, - "end": 6642, + "start": 6836, + "end": 6840, "loc": { "start": { "line": 208, @@ -65377,8 +67134,8 @@ "postfix": false, "binop": null }, - "start": 6642, - "end": 6643, + "start": 6840, + "end": 6841, "loc": { "start": { "line": 208, @@ -65404,8 +67161,8 @@ "updateContext": null }, "value": "", - "start": 6643, - "end": 6645, + "start": 6841, + "end": 6843, "loc": { "start": { "line": 208, @@ -65429,8 +67186,8 @@ "postfix": false, "binop": null }, - "start": 6645, - "end": 6646, + "start": 6843, + "end": 6844, "loc": { "start": { "line": 208, @@ -65455,8 +67212,8 @@ "binop": null, "updateContext": null }, - "start": 6646, - "end": 6647, + "start": 6844, + "end": 6845, "loc": { "start": { "line": 208, @@ -65471,8 +67228,8 @@ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", - "start": 6657, - "end": 6731, + "start": 6855, + "end": 6929, "loc": { "start": { "line": 210, @@ -65499,8 +67256,8 @@ "updateContext": null }, "value": "if", - "start": 6739, - "end": 6741, + "start": 6937, + "end": 6939, "loc": { "start": { "line": 213, @@ -65524,8 +67281,8 @@ "postfix": false, "binop": null }, - "start": 6741, - "end": 6742, + "start": 6939, + "end": 6940, "loc": { "start": { "line": 213, @@ -65551,8 +67308,8 @@ "updateContext": null }, "value": "!", - "start": 6742, - "end": 6743, + "start": 6940, + "end": 6941, "loc": { "start": { "line": 213, @@ -65579,8 +67336,8 @@ "updateContext": null }, "value": "this", - "start": 6743, - "end": 6747, + "start": 6941, + "end": 6945, "loc": { "start": { "line": 213, @@ -65605,8 +67362,8 @@ "binop": null, "updateContext": null }, - "start": 6747, - "end": 6748, + "start": 6945, + "end": 6946, "loc": { "start": { "line": 213, @@ -65631,8 +67388,8 @@ "binop": null }, "value": "isMaxLengthReached", - "start": 6748, - "end": 6766, + "start": 6946, + "end": 6964, "loc": { "start": { "line": 213, @@ -65656,8 +67413,8 @@ "postfix": false, "binop": null }, - "start": 6766, - "end": 6767, + "start": 6964, + "end": 6965, "loc": { "start": { "line": 213, @@ -65681,8 +67438,8 @@ "postfix": false, "binop": null }, - "start": 6767, - "end": 6768, + "start": 6965, + "end": 6966, "loc": { "start": { "line": 213, @@ -65706,8 +67463,8 @@ "postfix": false, "binop": null }, - "start": 6768, - "end": 6769, + "start": 6966, + "end": 6967, "loc": { "start": { "line": 213, @@ -65731,8 +67488,8 @@ "postfix": false, "binop": null }, - "start": 6769, - "end": 6770, + "start": 6967, + "end": 6968, "loc": { "start": { "line": 213, @@ -65744,6 +67501,110 @@ } } }, + { + "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": 6978, + "end": 6980, + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 214, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6980, + "end": 6981, + "loc": { + "start": { + "line": 214, + "column": 10 + }, + "end": { + "line": 214, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 6981, + "end": 6990, + "loc": { + "start": { + "line": 214, + "column": 11 + }, + "end": { + "line": 214, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6990, + "end": 6991, + "loc": { + "start": { + "line": 214, + "column": 20 + }, + "end": { + "line": 214, + "column": 21 + } + } + }, { "type": { "label": "this", @@ -65759,16 +67620,16 @@ "updateContext": null }, "value": "this", - "start": 6780, - "end": 6784, + "start": 6992, + "end": 6996, "loc": { "start": { "line": 214, - "column": 8 + "column": 22 }, "end": { "line": 214, - "column": 12 + "column": 26 } } }, @@ -65785,16 +67646,16 @@ "binop": null, "updateContext": null }, - "start": 6784, - "end": 6785, + "start": 6996, + "end": 6997, "loc": { "start": { "line": 214, - "column": 12 + "column": 26 }, "end": { "line": 214, - "column": 13 + "column": 27 } } }, @@ -65811,16 +67672,16 @@ "binop": null }, "value": "updateCaretPos", - "start": 6785, - "end": 6799, + "start": 6997, + "end": 7011, "loc": { "start": { "line": 214, - "column": 13 + "column": 27 }, "end": { "line": 214, - "column": 27 + "column": 41 } } }, @@ -65836,16 +67697,16 @@ "postfix": false, "binop": null }, - "start": 6799, - "end": 6800, + "start": 7011, + "end": 7012, "loc": { "start": { "line": 214, - "column": 27 + "column": 41 }, "end": { "line": 214, - "column": 28 + "column": 42 } } }, @@ -65862,16 +67723,16 @@ "binop": null }, "value": "string", - "start": 6800, - "end": 6806, + "start": 7012, + "end": 7018, "loc": { "start": { "line": 214, - "column": 28 + "column": 42 }, "end": { "line": 214, - "column": 34 + "column": 48 } } }, @@ -65888,16 +67749,16 @@ "binop": null, "updateContext": null }, - "start": 6806, - "end": 6807, + "start": 7018, + "end": 7019, "loc": { "start": { "line": 214, - "column": 34 + "column": 48 }, "end": { "line": 214, - "column": 35 + "column": 49 } } }, @@ -65914,16 +67775,16 @@ "binop": null }, "value": "length", - "start": 6807, - "end": 6813, + "start": 7019, + "end": 7025, "loc": { "start": { "line": 214, - "column": 35 + "column": 49 }, "end": { "line": 214, - "column": 41 + "column": 55 } } }, @@ -65939,16 +67800,16 @@ "postfix": false, "binop": null }, - "start": 6813, - "end": 6814, + "start": 7025, + "end": 7026, "loc": { "start": { "line": 214, - "column": 41 + "column": 55 }, "end": { "line": 214, - "column": 42 + "column": 56 } } }, @@ -65965,16 +67826,16 @@ "binop": null, "updateContext": null }, - "start": 6814, - "end": 6815, + "start": 7026, + "end": 7027, "loc": { "start": { "line": 214, - "column": 42 + "column": 56 }, "end": { "line": 214, - "column": 43 + "column": 57 } } }, @@ -65990,8 +67851,8 @@ "postfix": false, "binop": null }, - "start": 6823, - "end": 6824, + "start": 7035, + "end": 7036, "loc": { "start": { "line": 215, @@ -66015,8 +67876,8 @@ "postfix": false, "binop": null }, - "start": 6832, - "end": 6833, + "start": 7044, + "end": 7045, "loc": { "start": { "line": 217, @@ -66028,6 +67889,604 @@ } } }, + { + "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": 7053, + "end": 7055, + "loc": { + "start": { + "line": 219, + "column": 4 + }, + "end": { + "line": 219, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7055, + "end": 7056, + "loc": { + "start": { + "line": 219, + "column": 6 + }, + "end": { + "line": 219, + "column": 7 + } + } + }, + { + "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": 7056, + "end": 7060, + "loc": { + "start": { + "line": 219, + "column": 7 + }, + "end": { + "line": 219, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7060, + "end": 7061, + "loc": { + "start": { + "line": 219, + "column": 11 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "simpleKeyboardInstance", + "start": 7061, + "end": 7083, + "loc": { + "start": { + "line": 219, + "column": 12 + }, + "end": { + "line": 219, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7083, + "end": 7084, + "loc": { + "start": { + "line": 219, + "column": 34 + }, + "end": { + "line": 219, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 7084, + "end": 7091, + "loc": { + "start": { + "line": 219, + "column": 35 + }, + "end": { + "line": 219, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7091, + "end": 7092, + "loc": { + "start": { + "line": 219, + "column": 42 + }, + "end": { + "line": 219, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 7092, + "end": 7097, + "loc": { + "start": { + "line": 219, + "column": 43 + }, + "end": { + "line": 219, + "column": 48 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 7098, + "end": 7100, + "loc": { + "start": { + "line": 219, + "column": 49 + }, + "end": { + "line": 219, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 7101, + "end": 7110, + "loc": { + "start": { + "line": 219, + "column": 52 + }, + "end": { + "line": 219, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7110, + "end": 7111, + "loc": { + "start": { + "line": 219, + "column": 61 + }, + "end": { + "line": 219, + "column": 62 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7111, + "end": 7112, + "loc": { + "start": { + "line": 219, + "column": 62 + }, + "end": { + "line": 219, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 7120, + "end": 7127, + "loc": { + "start": { + "line": 220, + "column": 6 + }, + "end": { + "line": 220, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7127, + "end": 7128, + "loc": { + "start": { + "line": 220, + "column": 13 + }, + "end": { + "line": 220, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 7128, + "end": 7131, + "loc": { + "start": { + "line": 220, + "column": 14 + }, + "end": { + "line": 220, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7131, + "end": 7132, + "loc": { + "start": { + "line": 220, + "column": 17 + }, + "end": { + "line": 220, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Caret at:", + "start": 7132, + "end": 7143, + "loc": { + "start": { + "line": 220, + "column": 18 + }, + "end": { + "line": 220, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7143, + "end": 7144, + "loc": { + "start": { + "line": 220, + "column": 29 + }, + "end": { + "line": 220, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 7145, + "end": 7153, + "loc": { + "start": { + "line": 220, + "column": 31 + }, + "end": { + "line": 220, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7153, + "end": 7154, + "loc": { + "start": { + "line": 220, + "column": 39 + }, + "end": { + "line": 220, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7154, + "end": 7155, + "loc": { + "start": { + "line": 220, + "column": 40 + }, + "end": { + "line": 220, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7161, + "end": 7162, + "loc": { + "start": { + "line": 221, + "column": 4 + }, + "end": { + "line": 221, + "column": 5 + } + } + }, { "type": { "label": "return", @@ -66043,15 +68502,15 @@ "updateContext": null }, "value": "return", - "start": 6841, - "end": 6847, + "start": 7170, + "end": 7176, "loc": { "start": { - "line": 219, + "line": 223, "column": 4 }, "end": { - "line": 219, + "line": 223, "column": 10 } } @@ -66069,15 +68528,15 @@ "binop": null }, "value": "output", - "start": 6848, - "end": 6854, + "start": 7177, + "end": 7183, "loc": { "start": { - "line": 219, + "line": 223, "column": 11 }, "end": { - "line": 219, + "line": 223, "column": 17 } } @@ -66095,15 +68554,15 @@ "binop": null, "updateContext": null }, - "start": 6854, - "end": 6855, + "start": 7183, + "end": 7184, "loc": { "start": { - "line": 219, + "line": 223, "column": 17 }, "end": { - "line": 219, + "line": 223, "column": 18 } } @@ -66120,31 +68579,31 @@ "postfix": false, "binop": null }, - "start": 6859, - "end": 6860, + "start": 7188, + "end": 7189, "loc": { "start": { - "line": 220, + "line": 224, "column": 2 }, "end": { - "line": 220, + "line": 224, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", - "start": 6866, - "end": 7086, + "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n ", + "start": 7195, + "end": 7492, "loc": { "start": { - "line": 222, + "line": 226, "column": 2 }, "end": { - "line": 227, + "line": 232, "column": 5 } } @@ -66162,15 +68621,15 @@ "binop": null }, "value": "removeAt", - "start": 7090, - "end": 7098, + "start": 7496, + "end": 7504, "loc": { "start": { - "line": 228, + "line": 233, "column": 2 }, "end": { - "line": 228, + "line": 233, "column": 10 } } @@ -66187,15 +68646,15 @@ "postfix": false, "binop": null }, - "start": 7098, - "end": 7099, + "start": 7504, + "end": 7505, "loc": { "start": { - "line": 228, + "line": 233, "column": 10 }, "end": { - "line": 228, + "line": 233, "column": 11 } } @@ -66213,15 +68672,15 @@ "binop": null }, "value": "source", - "start": 7099, - "end": 7105, + "start": 7505, + "end": 7511, "loc": { "start": { - "line": 228, + "line": 233, "column": 11 }, "end": { - "line": 228, + "line": 233, "column": 17 } } @@ -66239,15 +68698,15 @@ "binop": null, "updateContext": null }, - "start": 7105, - "end": 7106, + "start": 7511, + "end": 7512, "loc": { "start": { - "line": 228, + "line": 233, "column": 17 }, "end": { - "line": 228, + "line": 233, "column": 18 } } @@ -66265,19 +68724,71 @@ "binop": null }, "value": "position", - "start": 7107, - "end": 7115, + "start": 7513, + "end": 7521, "loc": { "start": { - "line": 228, + "line": 233, "column": 19 }, "end": { - "line": 228, + "line": 233, "column": 27 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7521, + "end": 7522, + "loc": { + "start": { + "line": 233, + "column": 27 + }, + "end": { + "line": 233, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 7523, + "end": 7532, + "loc": { + "start": { + "line": 233, + "column": 29 + }, + "end": { + "line": 233, + "column": 38 + } + } + }, { "type": { "label": ")", @@ -66290,16 +68801,16 @@ "postfix": false, "binop": null }, - "start": 7115, - "end": 7116, + "start": 7532, + "end": 7533, "loc": { "start": { - "line": 228, - "column": 27 + "line": 233, + "column": 38 }, "end": { - "line": 228, - "column": 28 + "line": 233, + "column": 39 } } }, @@ -66315,16 +68826,16 @@ "postfix": false, "binop": null }, - "start": 7116, - "end": 7117, + "start": 7533, + "end": 7534, "loc": { "start": { - "line": 228, - "column": 28 + "line": 233, + "column": 39 }, "end": { - "line": 228, - "column": 29 + "line": 233, + "column": 40 } } }, @@ -66343,15 +68854,15 @@ "updateContext": null }, "value": "if", - "start": 7123, - "end": 7125, + "start": 7540, + "end": 7542, "loc": { "start": { - "line": 229, + "line": 234, "column": 4 }, "end": { - "line": 229, + "line": 234, "column": 6 } } @@ -66368,15 +68879,15 @@ "postfix": false, "binop": null }, - "start": 7125, - "end": 7126, + "start": 7542, + "end": 7543, "loc": { "start": { - "line": 229, + "line": 234, "column": 6 }, "end": { - "line": 229, + "line": 234, "column": 7 } } @@ -66396,15 +68907,15 @@ "updateContext": null }, "value": "this", - "start": 7126, - "end": 7130, + "start": 7543, + "end": 7547, "loc": { "start": { - "line": 229, + "line": 234, "column": 7 }, "end": { - "line": 229, + "line": 234, "column": 11 } } @@ -66422,15 +68933,15 @@ "binop": null, "updateContext": null }, - "start": 7130, - "end": 7131, + "start": 7547, + "end": 7548, "loc": { "start": { - "line": 229, + "line": 234, "column": 11 }, "end": { - "line": 229, + "line": 234, "column": 12 } } @@ -66448,15 +68959,15 @@ "binop": null }, "value": "simpleKeyboardInstance", - "start": 7131, - "end": 7153, + "start": 7548, + "end": 7570, "loc": { "start": { - "line": 229, + "line": 234, "column": 12 }, "end": { - "line": 229, + "line": 234, "column": 34 } } @@ -66474,15 +68985,15 @@ "binop": null, "updateContext": null }, - "start": 7153, - "end": 7154, + "start": 7570, + "end": 7571, "loc": { "start": { - "line": 229, + "line": 234, "column": 34 }, "end": { - "line": 229, + "line": 234, "column": 35 } } @@ -66500,15 +69011,15 @@ "binop": null }, "value": "caretPosition", - "start": 7154, - "end": 7167, + "start": 7571, + "end": 7584, "loc": { "start": { - "line": 229, + "line": 234, "column": 35 }, "end": { - "line": 229, + "line": 234, "column": 48 } } @@ -66527,15 +69038,15 @@ "updateContext": null }, "value": "===", - "start": 7168, - "end": 7171, + "start": 7585, + "end": 7588, "loc": { "start": { - "line": 229, + "line": 234, "column": 49 }, "end": { - "line": 229, + "line": 234, "column": 52 } } @@ -66554,15 +69065,15 @@ "updateContext": null }, "value": 0, - "start": 7172, - "end": 7173, + "start": 7589, + "end": 7590, "loc": { "start": { - "line": 229, + "line": 234, "column": 53 }, "end": { - "line": 229, + "line": 234, "column": 54 } } @@ -66579,15 +69090,15 @@ "postfix": false, "binop": null }, - "start": 7173, - "end": 7174, + "start": 7590, + "end": 7591, "loc": { "start": { - "line": 229, + "line": 234, "column": 54 }, "end": { - "line": 229, + "line": 234, "column": 55 } } @@ -66604,15 +69115,15 @@ "postfix": false, "binop": null }, - "start": 7174, - "end": 7175, + "start": 7591, + "end": 7592, "loc": { "start": { - "line": 229, + "line": 234, "column": 55 }, "end": { - "line": 229, + "line": 234, "column": 56 } } @@ -66632,15 +69143,15 @@ "updateContext": null }, "value": "return", - "start": 7183, - "end": 7189, + "start": 7600, + "end": 7606, "loc": { "start": { - "line": 230, + "line": 235, "column": 6 }, "end": { - "line": 230, + "line": 235, "column": 12 } } @@ -66658,15 +69169,15 @@ "binop": null }, "value": "source", - "start": 7190, - "end": 7196, + "start": 7607, + "end": 7613, "loc": { "start": { - "line": 230, + "line": 235, "column": 13 }, "end": { - "line": 230, + "line": 235, "column": 19 } } @@ -66684,15 +69195,15 @@ "binop": null, "updateContext": null }, - "start": 7196, - "end": 7197, + "start": 7613, + "end": 7614, "loc": { "start": { - "line": 230, + "line": 235, "column": 19 }, "end": { - "line": 230, + "line": 235, "column": 20 } } @@ -66709,15 +69220,15 @@ "postfix": false, "binop": null }, - "start": 7203, - "end": 7204, + "start": 7620, + "end": 7621, "loc": { "start": { - "line": 231, + "line": 236, "column": 4 }, "end": { - "line": 231, + "line": 236, "column": 5 } } @@ -66737,15 +69248,15 @@ "updateContext": null }, "value": "let", - "start": 7212, - "end": 7215, + "start": 7629, + "end": 7632, "loc": { "start": { - "line": 233, + "line": 238, "column": 4 }, "end": { - "line": 233, + "line": 238, "column": 7 } } @@ -66763,15 +69274,15 @@ "binop": null }, "value": "output", - "start": 7216, - "end": 7222, + "start": 7633, + "end": 7639, "loc": { "start": { - "line": 233, + "line": 238, "column": 8 }, "end": { - "line": 233, + "line": 238, "column": 14 } } @@ -66789,15 +69300,15 @@ "binop": null, "updateContext": null }, - "start": 7222, - "end": 7223, + "start": 7639, + "end": 7640, "loc": { "start": { - "line": 233, + "line": 238, "column": 14 }, "end": { - "line": 233, + "line": 238, "column": 15 } } @@ -66817,15 +69328,15 @@ "updateContext": null }, "value": "let", - "start": 7229, - "end": 7232, + "start": 7646, + "end": 7649, "loc": { "start": { - "line": 234, + "line": 239, "column": 4 }, "end": { - "line": 234, + "line": 239, "column": 7 } } @@ -66843,15 +69354,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 7233, - "end": 7245, + "start": 7650, + "end": 7662, "loc": { "start": { - "line": 234, + "line": 239, "column": 8 }, "end": { - "line": 234, + "line": 239, "column": 20 } } @@ -66869,15 +69380,15 @@ "binop": null, "updateContext": null }, - "start": 7245, - "end": 7246, + "start": 7662, + "end": 7663, "loc": { "start": { - "line": 234, + "line": 239, "column": 20 }, "end": { - "line": 234, + "line": 239, "column": 21 } } @@ -66897,15 +69408,15 @@ "updateContext": null }, "value": "let", - "start": 7252, - "end": 7255, + "start": 7669, + "end": 7672, "loc": { "start": { - "line": 235, + "line": 240, "column": 4 }, "end": { - "line": 235, + "line": 240, "column": 7 } } @@ -66923,15 +69434,15 @@ "binop": null }, "value": "emojiMatched", - "start": 7256, - "end": 7268, + "start": 7673, + "end": 7685, "loc": { "start": { - "line": 235, + "line": 240, "column": 8 }, "end": { - "line": 235, + "line": 240, "column": 20 } } @@ -66949,15 +69460,15 @@ "binop": null, "updateContext": null }, - "start": 7268, - "end": 7269, + "start": 7685, + "end": 7686, "loc": { "start": { - "line": 235, + "line": 240, "column": 20 }, "end": { - "line": 235, + "line": 240, "column": 21 } } @@ -66977,15 +69488,15 @@ "updateContext": null }, "value": "let", - "start": 7275, - "end": 7278, + "start": 7692, + "end": 7695, "loc": { "start": { - "line": 236, + "line": 241, "column": 4 }, "end": { - "line": 236, + "line": 241, "column": 7 } } @@ -67003,15 +69514,15 @@ "binop": null }, "value": "emojiMatchedReg", - "start": 7279, - "end": 7294, + "start": 7696, + "end": 7711, "loc": { "start": { - "line": 236, + "line": 241, "column": 8 }, "end": { - "line": 236, + "line": 241, "column": 23 } } @@ -67030,15 +69541,15 @@ "updateContext": null }, "value": "=", - "start": 7295, - "end": 7296, + "start": 7712, + "end": 7713, "loc": { "start": { - "line": 236, + "line": 241, "column": 24 }, "end": { - "line": 236, + "line": 241, "column": 25 } } @@ -67060,15 +69571,15 @@ "pattern": "([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])", "flags": "g" }, - "start": 7297, - "end": 7332, + "start": 7714, + "end": 7749, "loc": { "start": { - "line": 236, + "line": 241, "column": 26 }, "end": { - "line": 236, + "line": 241, "column": 61 } } @@ -67086,15 +69597,15 @@ "binop": null, "updateContext": null }, - "start": 7332, - "end": 7333, + "start": 7749, + "end": 7750, "loc": { "start": { - "line": 236, + "line": 241, "column": 61 }, "end": { - "line": 236, + "line": 241, "column": 62 } } @@ -67102,1898 +69613,23 @@ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", - "start": 7341, - "end": 7521, - "loc": { - "start": { - "line": 238, - "column": 4 - }, - "end": { - "line": 241, - "column": 7 - } - } - }, - { - "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": 7527, - "end": 7529, - "loc": { - "start": { - "line": 242, - "column": 4 - }, - "end": { - "line": 242, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7529, - "end": 7530, - "loc": { - "start": { - "line": 242, - "column": 6 - }, - "end": { - "line": 242, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7530, - "end": 7538, - "loc": { - "start": { - "line": 242, - "column": 7 - }, - "end": { - "line": 242, - "column": 15 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 7539, - "end": 7541, - "loc": { - "start": { - "line": 242, - "column": 16 - }, - "end": { - "line": 242, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7542, - "end": 7550, - "loc": { - "start": { - "line": 242, - "column": 19 - }, - "end": { - "line": 242, - "column": 27 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">=", - "start": 7551, - "end": 7553, - "loc": { - "start": { - "line": 242, - "column": 28 - }, - "end": { - "line": 242, - "column": 30 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 7554, - "end": 7555, - "loc": { - "start": { - "line": 242, - "column": 31 - }, - "end": { - "line": 242, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7555, - "end": 7556, - "loc": { - "start": { - "line": 242, - "column": 32 - }, - "end": { - "line": 242, - "column": 33 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7556, - "end": 7557, - "loc": { - "start": { - "line": 242, - "column": 33 - }, - "end": { - "line": 242, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prevTwoChars", - "start": 7565, - "end": 7577, - "loc": { - "start": { - "line": 243, - "column": 6 - }, - "end": { - "line": 243, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7578, - "end": 7579, - "loc": { - "start": { - "line": 243, - "column": 19 - }, - "end": { - "line": 243, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "source", - "start": 7580, - "end": 7586, - "loc": { - "start": { - "line": 243, - "column": 21 - }, - "end": { - "line": 243, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7586, - "end": 7587, - "loc": { - "start": { - "line": 243, - "column": 27 - }, - "end": { - "line": 243, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "substring", - "start": 7587, - "end": 7596, - "loc": { - "start": { - "line": 243, - "column": 28 - }, - "end": { - "line": 243, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7596, - "end": 7597, - "loc": { - "start": { - "line": 243, - "column": 37 - }, - "end": { - "line": 243, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7597, - "end": 7605, - "loc": { - "start": { - "line": 243, - "column": 38 - }, - "end": { - "line": 243, - "column": 46 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 7606, - "end": 7607, - "loc": { - "start": { - "line": 243, - "column": 47 - }, - "end": { - "line": 243, - "column": 48 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 7608, - "end": 7609, - "loc": { - "start": { - "line": 243, - "column": 49 - }, - "end": { - "line": 243, - "column": 50 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7609, - "end": 7610, - "loc": { - "start": { - "line": 243, - "column": 50 - }, - "end": { - "line": 243, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7611, - "end": 7619, - "loc": { - "start": { - "line": 243, - "column": 52 - }, - "end": { - "line": 243, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7619, - "end": 7620, - "loc": { - "start": { - "line": 243, - "column": 60 - }, - "end": { - "line": 243, - "column": 61 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "emojiMatched", - "start": 7628, - "end": 7640, - "loc": { - "start": { - "line": 244, - "column": 6 - }, - "end": { - "line": 244, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7641, - "end": 7642, - "loc": { - "start": { - "line": 244, - "column": 19 - }, - "end": { - "line": 244, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prevTwoChars", - "start": 7643, - "end": 7655, - "loc": { - "start": { - "line": 244, - "column": 21 - }, - "end": { - "line": 244, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7655, - "end": 7656, - "loc": { - "start": { - "line": 244, - "column": 33 - }, - "end": { - "line": 244, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "match", - "start": 7656, - "end": 7661, - "loc": { - "start": { - "line": 244, - "column": 34 - }, - "end": { - "line": 244, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7661, - "end": 7662, - "loc": { - "start": { - "line": 244, - "column": 39 - }, - "end": { - "line": 244, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "emojiMatchedReg", - "start": 7662, - "end": 7677, - "loc": { - "start": { - "line": 244, - "column": 40 - }, - "end": { - "line": 244, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7677, - "end": 7678, - "loc": { - "start": { - "line": 244, - "column": 55 - }, - "end": { - "line": 244, - "column": 56 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7678, - "end": 7679, - "loc": { - "start": { - "line": 244, - "column": 56 - }, - "end": { - "line": 244, - "column": 57 - } - } - }, - { - "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": 7689, - "end": 7691, - "loc": { - "start": { - "line": 246, - "column": 6 - }, - "end": { - "line": 246, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7691, - "end": 7692, - "loc": { - "start": { - "line": 246, - "column": 8 - }, - "end": { - "line": 246, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "emojiMatched", - "start": 7692, - "end": 7704, - "loc": { - "start": { - "line": 246, - "column": 9 - }, - "end": { - "line": 246, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7704, - "end": 7705, - "loc": { - "start": { - "line": 246, - "column": 21 - }, - "end": { - "line": 246, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7705, - "end": 7706, - "loc": { - "start": { - "line": 246, - "column": 22 - }, - "end": { - "line": 246, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 7716, - "end": 7722, - "loc": { - "start": { - "line": 247, - "column": 8 - }, - "end": { - "line": 247, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7723, - "end": 7724, - "loc": { - "start": { - "line": 247, - "column": 15 - }, - "end": { - "line": 247, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "source", - "start": 7725, - "end": 7731, - "loc": { - "start": { - "line": 247, - "column": 17 - }, - "end": { - "line": 247, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7731, - "end": 7732, - "loc": { - "start": { - "line": 247, - "column": 23 - }, - "end": { - "line": 247, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "substr", - "start": 7732, - "end": 7738, - "loc": { - "start": { - "line": 247, - "column": 24 - }, - "end": { - "line": 247, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7738, - "end": 7739, - "loc": { - "start": { - "line": 247, - "column": 30 - }, - "end": { - "line": 247, - "column": 31 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 7739, - "end": 7740, - "loc": { - "start": { - "line": 247, - "column": 31 - }, - "end": { - "line": 247, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7740, - "end": 7741, - "loc": { - "start": { - "line": 247, - "column": 32 - }, - "end": { - "line": 247, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7742, - "end": 7743, - "loc": { - "start": { - "line": 247, - "column": 34 - }, - "end": { - "line": 247, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7743, - "end": 7751, - "loc": { - "start": { - "line": 247, - "column": 35 - }, - "end": { - "line": 247, - "column": 43 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 7752, - "end": 7753, - "loc": { - "start": { - "line": 247, - "column": 44 - }, - "end": { - "line": 247, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 7754, - "end": 7755, - "loc": { - "start": { - "line": 247, - "column": 46 - }, - "end": { - "line": 247, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7755, - "end": 7756, - "loc": { - "start": { - "line": 247, - "column": 47 - }, - "end": { - "line": 247, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7756, - "end": 7757, - "loc": { - "start": { - "line": 247, - "column": 48 - }, - "end": { - "line": 247, - "column": 49 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", "start": 7758, - "end": 7759, + "end": 7938, "loc": { "start": { - "line": 247, - "column": 50 + "line": 243, + "column": 4 }, "end": { - "line": 247, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "source", - "start": 7760, - "end": 7766, - "loc": { - "start": { - "line": 247, - "column": 52 - }, - "end": { - "line": 247, - "column": 58 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7766, - "end": 7767, - "loc": { - "start": { - "line": 247, - "column": 58 - }, - "end": { - "line": 247, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "substr", - "start": 7767, - "end": 7773, - "loc": { - "start": { - "line": 247, - "column": 59 - }, - "end": { - "line": 247, - "column": 65 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7773, - "end": 7774, - "loc": { - "start": { - "line": 247, - "column": 65 - }, - "end": { - "line": 247, - "column": 66 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7774, - "end": 7782, - "loc": { - "start": { - "line": 247, - "column": 66 - }, - "end": { - "line": 247, - "column": 74 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7782, - "end": 7783, - "loc": { - "start": { - "line": 247, - "column": 74 - }, - "end": { - "line": 247, - "column": 75 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7783, - "end": 7784, - "loc": { - "start": { - "line": 247, - "column": 75 - }, - "end": { - "line": 247, - "column": 76 - } - } - }, - { - "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": 7794, - "end": 7798, - "loc": { - "start": { - "line": 248, - "column": 8 - }, - "end": { - "line": 248, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7798, - "end": 7799, - "loc": { - "start": { - "line": 248, - "column": 12 - }, - "end": { - "line": 248, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "updateCaretPos", - "start": 7799, - "end": 7813, - "loc": { - "start": { - "line": 248, - "column": 13 - }, - "end": { - "line": 248, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7813, - "end": 7814, - "loc": { - "start": { - "line": 248, - "column": 27 - }, - "end": { - "line": 248, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 7814, - "end": 7815, - "loc": { - "start": { - "line": 248, - "column": 28 - }, - "end": { - "line": 248, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7815, - "end": 7816, - "loc": { - "start": { - "line": 248, - "column": 29 - }, - "end": { - "line": 248, - "column": 30 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 7817, - "end": 7821, - "loc": { - "start": { - "line": 248, - "column": 31 - }, - "end": { - "line": 248, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7821, - "end": 7822, - "loc": { - "start": { - "line": 248, - "column": 35 - }, - "end": { - "line": 248, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7822, - "end": 7823, - "loc": { - "start": { - "line": 248, - "column": 36 - }, - "end": { - "line": 248, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7831, - "end": 7832, - "loc": { - "start": { - "line": 249, - "column": 6 - }, - "end": { - "line": 249, + "line": 246, "column": 7 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 7833, - "end": 7837, - "loc": { - "start": { - "line": 249, - "column": 8 - }, - "end": { - "line": 249, - "column": 12 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7838, - "end": 7839, - "loc": { - "start": { - "line": 249, - "column": 13 - }, - "end": { - "line": 249, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "output", - "start": 7849, - "end": 7855, - "loc": { - "start": { - "line": 250, - "column": 8 - }, - "end": { - "line": 250, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7856, - "end": 7857, - "loc": { - "start": { - "line": 250, - "column": 15 - }, - "end": { - "line": 250, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "source", - "start": 7858, - "end": 7864, - "loc": { - "start": { - "line": 250, - "column": 17 - }, - "end": { - "line": 250, - "column": 23 - } - } - }, - { - "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -69004,562 +69640,17 @@ "binop": null, "updateContext": null }, - "start": 7864, - "end": 7865, - "loc": { - "start": { - "line": 250, - "column": 23 - }, - "end": { - "line": 250, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "substr", - "start": 7865, - "end": 7871, - "loc": { - "start": { - "line": 250, - "column": 24 - }, - "end": { - "line": 250, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7871, - "end": 7872, - "loc": { - "start": { - "line": 250, - "column": 30 - }, - "end": { - "line": 250, - "column": 31 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 7872, - "end": 7873, - "loc": { - "start": { - "line": 250, - "column": 31 - }, - "end": { - "line": 250, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7873, - "end": 7874, - "loc": { - "start": { - "line": 250, - "column": 32 - }, - "end": { - "line": 250, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7875, - "end": 7876, - "loc": { - "start": { - "line": 250, - "column": 34 - }, - "end": { - "line": 250, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7876, - "end": 7884, - "loc": { - "start": { - "line": 250, - "column": 35 - }, - "end": { - "line": 250, - "column": 43 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 7885, - "end": 7886, - "loc": { - "start": { - "line": 250, - "column": 44 - }, - "end": { - "line": 250, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 7887, - "end": 7888, - "loc": { - "start": { - "line": 250, - "column": 46 - }, - "end": { - "line": 250, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7888, - "end": 7889, - "loc": { - "start": { - "line": 250, - "column": 47 - }, - "end": { - "line": 250, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7889, - "end": 7890, - "loc": { - "start": { - "line": 250, - "column": 48 - }, - "end": { - "line": 250, - "column": 49 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 7891, - "end": 7892, - "loc": { - "start": { - "line": 250, - "column": 50 - }, - "end": { - "line": 250, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "source", - "start": 7893, - "end": 7899, - "loc": { - "start": { - "line": 250, - "column": 52 - }, - "end": { - "line": 250, - "column": 58 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7899, - "end": 7900, - "loc": { - "start": { - "line": 250, - "column": 58 - }, - "end": { - "line": 250, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "substr", - "start": 7900, - "end": 7906, - "loc": { - "start": { - "line": 250, - "column": 59 - }, - "end": { - "line": 250, - "column": 65 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7906, - "end": 7907, - "loc": { - "start": { - "line": 250, - "column": 65 - }, - "end": { - "line": 250, - "column": 66 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 7907, - "end": 7915, - "loc": { - "start": { - "line": 250, - "column": 66 - }, - "end": { - "line": 250, - "column": 74 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7915, - "end": 7916, - "loc": { - "start": { - "line": 250, - "column": 74 - }, - "end": { - "line": 250, - "column": 75 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7916, - "end": 7917, - "loc": { - "start": { - "line": 250, - "column": 75 - }, - "end": { - "line": 250, - "column": 76 - } - } - }, - { - "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": 7927, - "end": 7931, - "loc": { - "start": { - "line": 251, - "column": 8 - }, - "end": { - "line": 251, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7931, - "end": 7932, - "loc": { - "start": { - "line": 251, - "column": 12 - }, - "end": { - "line": 251, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "updateCaretPos", - "start": 7932, + "value": "if", + "start": 7944, "end": 7946, "loc": { "start": { - "line": 251, - "column": 13 + "line": 247, + "column": 4 }, "end": { - "line": 251, - "column": 27 + "line": 247, + "column": 6 } } }, @@ -69579,12 +69670,118 @@ "end": 7947, "loc": { "start": { - "line": 251, - "column": 27 + "line": 247, + "column": 6 }, "end": { - "line": 251, + "line": 247, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 7947, + "end": 7955, + "loc": { + "start": { + "line": 247, + "column": 7 + }, + "end": { + "line": 247, + "column": 15 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 7956, + "end": 7958, + "loc": { + "start": { + "line": 247, + "column": 16 + }, + "end": { + "line": 247, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 7959, + "end": 7967, + "loc": { + "start": { + "line": 247, + "column": 19 + }, + "end": { + "line": 247, + "column": 27 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">=", + "start": 7968, + "end": 7970, + "loc": { + "start": { + "line": 247, "column": 28 + }, + "end": { + "line": 247, + "column": 30 } } }, @@ -69601,71 +69798,17 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 7947, - "end": 7948, + "value": 0, + "start": 7971, + "end": 7972, "loc": { "start": { - "line": 251, - "column": 28 - }, - "end": { - "line": 251, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7948, - "end": 7949, - "loc": { - "start": { - "line": 251, - "column": 29 - }, - "end": { - "line": 251, - "column": 30 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 7950, - "end": 7954, - "loc": { - "start": { - "line": 251, + "line": 247, "column": 31 }, "end": { - "line": 251, - "column": 35 + "line": 247, + "column": 32 } } }, @@ -69681,120 +69824,16 @@ "postfix": false, "binop": null }, - "start": 7954, - "end": 7955, + "start": 7972, + "end": 7973, "loc": { "start": { - "line": 251, - "column": 35 + "line": 247, + "column": 32 }, "end": { - "line": 251, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7955, - "end": 7956, - "loc": { - "start": { - "line": 251, - "column": 36 - }, - "end": { - "line": 251, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7964, - "end": 7965, - "loc": { - "start": { - "line": 252, - "column": 6 - }, - "end": { - "line": 252, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7971, - "end": 7972, - "loc": { - "start": { - "line": 253, - "column": 4 - }, - "end": { - "line": 253, - "column": 5 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 7973, - "end": 7977, - "loc": { - "start": { - "line": 253, - "column": 6 - }, - "end": { - "line": 253, - "column": 10 + "line": 247, + "column": 33 } } }, @@ -69810,16 +69849,16 @@ "postfix": false, "binop": null }, - "start": 7978, - "end": 7979, + "start": 7973, + "end": 7974, "loc": { "start": { - "line": 253, - "column": 11 + "line": 247, + "column": 33 }, "end": { - "line": 253, - "column": 12 + "line": 247, + "column": 34 } } }, @@ -69836,15 +69875,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 7987, - "end": 7999, + "start": 7982, + "end": 7994, "loc": { "start": { - "line": 254, + "line": 248, "column": 6 }, "end": { - "line": 254, + "line": 248, "column": 18 } } @@ -69863,15 +69902,15 @@ "updateContext": null }, "value": "=", - "start": 8000, - "end": 8001, + "start": 7995, + "end": 7996, "loc": { "start": { - "line": 254, + "line": 248, "column": 19 }, "end": { - "line": 254, + "line": 248, "column": 20 } } @@ -69889,15 +69928,15 @@ "binop": null }, "value": "source", - "start": 8002, - "end": 8008, + "start": 7997, + "end": 8003, "loc": { "start": { - "line": 254, + "line": 248, "column": 21 }, "end": { - "line": 254, + "line": 248, "column": 27 } } @@ -69915,15 +69954,15 @@ "binop": null, "updateContext": null }, - "start": 8008, - "end": 8009, + "start": 8003, + "end": 8004, "loc": { "start": { - "line": 254, + "line": 248, "column": 27 }, "end": { - "line": 254, + "line": 248, "column": 28 } } @@ -69940,17 +69979,17 @@ "postfix": false, "binop": null }, - "value": "slice", - "start": 8009, - "end": 8014, + "value": "substring", + "start": 8004, + "end": 8013, "loc": { "start": { - "line": 254, + "line": 248, "column": 28 }, "end": { - "line": 254, - "column": 33 + "line": 248, + "column": 37 } } }, @@ -69966,16 +70005,42 @@ "postfix": false, "binop": null }, - "start": 8014, - "end": 8015, + "start": 8013, + "end": 8014, "loc": { "start": { - "line": 254, - "column": 33 + "line": 248, + "column": 37 }, "end": { - "line": 254, - "column": 34 + "line": 248, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 8014, + "end": 8022, + "loc": { + "start": { + "line": 248, + "column": 38 + }, + "end": { + "line": 248, + "column": 46 } } }, @@ -69993,16 +70058,16 @@ "updateContext": null }, "value": "-", - "start": 8015, - "end": 8016, + "start": 8023, + "end": 8024, "loc": { "start": { - "line": 254, - "column": 34 + "line": 248, + "column": 47 }, "end": { - "line": 254, - "column": 35 + "line": 248, + "column": 48 } } }, @@ -70020,16 +70085,68 @@ "updateContext": null }, "value": 2, - "start": 8016, - "end": 8017, + "start": 8025, + "end": 8026, "loc": { "start": { - "line": 254, - "column": 35 + "line": 248, + "column": 49 }, "end": { - "line": 254, - "column": 36 + "line": 248, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8026, + "end": 8027, + "loc": { + "start": { + "line": 248, + "column": 50 + }, + "end": { + "line": 248, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 8028, + "end": 8036, + "loc": { + "start": { + "line": 248, + "column": 52 + }, + "end": { + "line": 248, + "column": 60 } } }, @@ -70045,42 +70162,16 @@ "postfix": false, "binop": null }, - "start": 8017, - "end": 8018, + "start": 8036, + "end": 8037, "loc": { "start": { - "line": 254, - "column": 36 + "line": 248, + "column": 60 }, "end": { - "line": 254, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8018, - "end": 8019, - "loc": { - "start": { - "line": 254, - "column": 37 - }, - "end": { - "line": 254, - "column": 38 + "line": 248, + "column": 61 } } }, @@ -70097,15 +70188,15 @@ "binop": null }, "value": "emojiMatched", - "start": 8027, - "end": 8039, + "start": 8045, + "end": 8057, "loc": { "start": { - "line": 255, + "line": 249, "column": 6 }, "end": { - "line": 255, + "line": 249, "column": 18 } } @@ -70124,15 +70215,15 @@ "updateContext": null }, "value": "=", - "start": 8040, - "end": 8041, + "start": 8058, + "end": 8059, "loc": { "start": { - "line": 255, + "line": 249, "column": 19 }, "end": { - "line": 255, + "line": 249, "column": 20 } } @@ -70150,15 +70241,15 @@ "binop": null }, "value": "prevTwoChars", - "start": 8042, - "end": 8054, + "start": 8060, + "end": 8072, "loc": { "start": { - "line": 255, + "line": 249, "column": 21 }, "end": { - "line": 255, + "line": 249, "column": 33 } } @@ -70176,15 +70267,15 @@ "binop": null, "updateContext": null }, - "start": 8054, - "end": 8055, + "start": 8072, + "end": 8073, "loc": { "start": { - "line": 255, + "line": 249, "column": 33 }, "end": { - "line": 255, + "line": 249, "column": 34 } } @@ -70202,15 +70293,15 @@ "binop": null }, "value": "match", - "start": 8055, - "end": 8060, + "start": 8073, + "end": 8078, "loc": { "start": { - "line": 255, + "line": 249, "column": 34 }, "end": { - "line": 255, + "line": 249, "column": 39 } } @@ -70227,15 +70318,15 @@ "postfix": false, "binop": null }, - "start": 8060, - "end": 8061, + "start": 8078, + "end": 8079, "loc": { "start": { - "line": 255, + "line": 249, "column": 39 }, "end": { - "line": 255, + "line": 249, "column": 40 } } @@ -70253,15 +70344,15 @@ "binop": null }, "value": "emojiMatchedReg", - "start": 8061, - "end": 8076, + "start": 8079, + "end": 8094, "loc": { "start": { - "line": 255, + "line": 249, "column": 40 }, "end": { - "line": 255, + "line": 249, "column": 55 } } @@ -70278,15 +70369,15 @@ "postfix": false, "binop": null }, - "start": 8076, - "end": 8077, + "start": 8094, + "end": 8095, "loc": { "start": { - "line": 255, + "line": 249, "column": 55 }, "end": { - "line": 255, + "line": 249, "column": 56 } } @@ -70304,15 +70395,15 @@ "binop": null, "updateContext": null }, - "start": 8077, - "end": 8078, + "start": 8095, + "end": 8096, "loc": { "start": { - "line": 255, + "line": 249, "column": 56 }, "end": { - "line": 255, + "line": 249, "column": 57 } } @@ -70332,15 +70423,15 @@ "updateContext": null }, "value": "if", - "start": 8088, - "end": 8090, + "start": 8106, + "end": 8108, "loc": { "start": { - "line": 257, + "line": 251, "column": 6 }, "end": { - "line": 257, + "line": 251, "column": 8 } } @@ -70357,15 +70448,15 @@ "postfix": false, "binop": null }, - "start": 8090, - "end": 8091, + "start": 8108, + "end": 8109, "loc": { "start": { - "line": 257, + "line": 251, "column": 8 }, "end": { - "line": 257, + "line": 251, "column": 9 } } @@ -70383,15 +70474,15 @@ "binop": null }, "value": "emojiMatched", - "start": 8091, - "end": 8103, + "start": 8109, + "end": 8121, "loc": { "start": { - "line": 257, + "line": 251, "column": 9 }, "end": { - "line": 257, + "line": 251, "column": 21 } } @@ -70408,15 +70499,15 @@ "postfix": false, "binop": null }, - "start": 8103, - "end": 8104, + "start": 8121, + "end": 8122, "loc": { "start": { - "line": 257, + "line": 251, "column": 21 }, "end": { - "line": 257, + "line": 251, "column": 22 } } @@ -70433,15 +70524,15 @@ "postfix": false, "binop": null }, - "start": 8104, - "end": 8105, + "start": 8122, + "end": 8123, "loc": { "start": { - "line": 257, + "line": 251, "column": 22 }, "end": { - "line": 257, + "line": 251, "column": 23 } } @@ -70459,15 +70550,15 @@ "binop": null }, "value": "output", - "start": 8115, - "end": 8121, + "start": 8133, + "end": 8139, "loc": { "start": { - "line": 258, + "line": 252, "column": 8 }, "end": { - "line": 258, + "line": 252, "column": 14 } } @@ -70486,15 +70577,15 @@ "updateContext": null }, "value": "=", - "start": 8122, - "end": 8123, + "start": 8140, + "end": 8141, "loc": { "start": { - "line": 258, + "line": 252, "column": 15 }, "end": { - "line": 258, + "line": 252, "column": 16 } } @@ -70512,15 +70603,15 @@ "binop": null }, "value": "source", - "start": 8124, - "end": 8130, + "start": 8142, + "end": 8148, "loc": { "start": { - "line": 258, + "line": 252, "column": 17 }, "end": { - "line": 258, + "line": 252, "column": 23 } } @@ -70538,15 +70629,15 @@ "binop": null, "updateContext": null }, - "start": 8130, - "end": 8131, + "start": 8148, + "end": 8149, "loc": { "start": { - "line": 258, + "line": 252, "column": 23 }, "end": { - "line": 258, + "line": 252, "column": 24 } } @@ -70563,17 +70654,17 @@ "postfix": false, "binop": null }, - "value": "slice", - "start": 8131, - "end": 8136, + "value": "substr", + "start": 8149, + "end": 8155, "loc": { "start": { - "line": 258, + "line": 252, "column": 24 }, "end": { - "line": 258, - "column": 29 + "line": 252, + "column": 30 } } }, @@ -70589,16 +70680,16 @@ "postfix": false, "binop": null }, - "start": 8136, - "end": 8137, + "start": 8155, + "end": 8156, "loc": { "start": { - "line": 258, - "column": 29 + "line": 252, + "column": 30 }, "end": { - "line": 258, - "column": 30 + "line": 252, + "column": 31 } } }, @@ -70616,16 +70707,16 @@ "updateContext": null }, "value": 0, - "start": 8137, - "end": 8138, + "start": 8156, + "end": 8157, "loc": { "start": { - "line": 258, - "column": 30 + "line": 252, + "column": 31 }, "end": { - "line": 258, - "column": 31 + "line": 252, + "column": 32 } } }, @@ -70642,16 +70733,67 @@ "binop": null, "updateContext": null }, - "start": 8138, - "end": 8139, + "start": 8157, + "end": 8158, "loc": { "start": { - "line": 258, - "column": 31 + "line": 252, + "column": 32 }, "end": { - "line": 258, - "column": 32 + "line": 252, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8159, + "end": 8160, + "loc": { + "start": { + "line": 252, + "column": 34 + }, + "end": { + "line": 252, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 8160, + "end": 8168, + "loc": { + "start": { + "line": 252, + "column": 35 + }, + "end": { + "line": 252, + "column": 43 } } }, @@ -70669,16 +70811,16 @@ "updateContext": null }, "value": "-", - "start": 8140, - "end": 8141, + "start": 8169, + "end": 8170, "loc": { "start": { - "line": 258, - "column": 33 + "line": 252, + "column": 44 }, "end": { - "line": 258, - "column": 34 + "line": 252, + "column": 45 } } }, @@ -70696,16 +70838,16 @@ "updateContext": null }, "value": 2, - "start": 8141, - "end": 8142, + "start": 8171, + "end": 8172, "loc": { "start": { - "line": 258, - "column": 34 + "line": 252, + "column": 46 }, "end": { - "line": 258, - "column": 35 + "line": 252, + "column": 47 } } }, @@ -70721,16 +70863,222 @@ "postfix": false, "binop": null }, - "start": 8142, - "end": 8143, + "start": 8172, + "end": 8173, "loc": { "start": { - "line": 258, - "column": 35 + "line": 252, + "column": 47 }, "end": { - "line": 258, - "column": 36 + "line": 252, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8173, + "end": 8174, + "loc": { + "start": { + "line": 252, + "column": 48 + }, + "end": { + "line": 252, + "column": 49 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 8175, + "end": 8176, + "loc": { + "start": { + "line": 252, + "column": 50 + }, + "end": { + "line": 252, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "source", + "start": 8177, + "end": 8183, + "loc": { + "start": { + "line": 252, + "column": 52 + }, + "end": { + "line": 252, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8183, + "end": 8184, + "loc": { + "start": { + "line": 252, + "column": 58 + }, + "end": { + "line": 252, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "substr", + "start": 8184, + "end": 8190, + "loc": { + "start": { + "line": 252, + "column": 59 + }, + "end": { + "line": 252, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8190, + "end": 8191, + "loc": { + "start": { + "line": 252, + "column": 65 + }, + "end": { + "line": 252, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 8191, + "end": 8199, + "loc": { + "start": { + "line": 252, + "column": 66 + }, + "end": { + "line": 252, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8199, + "end": 8200, + "loc": { + "start": { + "line": 252, + "column": 74 + }, + "end": { + "line": 252, + "column": 75 } } }, @@ -70747,16 +71095,120 @@ "binop": null, "updateContext": null }, - "start": 8143, - "end": 8144, + "start": 8200, + "end": 8201, "loc": { "start": { - "line": 258, - "column": 36 + "line": 252, + "column": 75 }, "end": { - "line": 258, - "column": 37 + "line": 252, + "column": 76 + } + } + }, + { + "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": 8211, + "end": 8213, + "loc": { + "start": { + "line": 253, + "column": 8 + }, + "end": { + "line": 253, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8213, + "end": 8214, + "loc": { + "start": { + "line": 253, + "column": 10 + }, + "end": { + "line": 253, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 8214, + "end": 8223, + "loc": { + "start": { + "line": 253, + "column": 11 + }, + "end": { + "line": 253, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8223, + "end": 8224, + "loc": { + "start": { + "line": 253, + "column": 20 + }, + "end": { + "line": 253, + "column": 21 } } }, @@ -70775,16 +71227,16 @@ "updateContext": null }, "value": "this", - "start": 8154, - "end": 8158, + "start": 8225, + "end": 8229, "loc": { "start": { - "line": 259, - "column": 8 + "line": 253, + "column": 22 }, "end": { - "line": 259, - "column": 12 + "line": 253, + "column": 26 } } }, @@ -70801,16 +71253,16 @@ "binop": null, "updateContext": null }, - "start": 8158, - "end": 8159, + "start": 8229, + "end": 8230, "loc": { "start": { - "line": 259, - "column": 12 + "line": 253, + "column": 26 }, "end": { - "line": 259, - "column": 13 + "line": 253, + "column": 27 } } }, @@ -70827,16 +71279,16 @@ "binop": null }, "value": "updateCaretPos", - "start": 8159, - "end": 8173, + "start": 8230, + "end": 8244, "loc": { "start": { - "line": 259, - "column": 13 + "line": 253, + "column": 27 }, "end": { - "line": 259, - "column": 27 + "line": 253, + "column": 41 } } }, @@ -70852,16 +71304,16 @@ "postfix": false, "binop": null }, - "start": 8173, - "end": 8174, + "start": 8244, + "end": 8245, "loc": { "start": { - "line": 259, - "column": 27 + "line": 253, + "column": 41 }, "end": { - "line": 259, - "column": 28 + "line": 253, + "column": 42 } } }, @@ -70879,16 +71331,16 @@ "updateContext": null }, "value": 2, - "start": 8174, - "end": 8175, + "start": 8245, + "end": 8246, "loc": { "start": { - "line": 259, - "column": 28 + "line": 253, + "column": 42 }, "end": { - "line": 259, - "column": 29 + "line": 253, + "column": 43 } } }, @@ -70905,16 +71357,16 @@ "binop": null, "updateContext": null }, - "start": 8175, - "end": 8176, + "start": 8246, + "end": 8247, "loc": { "start": { - "line": 259, - "column": 29 + "line": 253, + "column": 43 }, "end": { - "line": 259, - "column": 30 + "line": 253, + "column": 44 } } }, @@ -70933,16 +71385,16 @@ "updateContext": null }, "value": "true", - "start": 8177, - "end": 8181, + "start": 8248, + "end": 8252, "loc": { "start": { - "line": 259, - "column": 31 + "line": 253, + "column": 45 }, "end": { - "line": 259, - "column": 35 + "line": 253, + "column": 49 } } }, @@ -70958,16 +71410,16 @@ "postfix": false, "binop": null }, - "start": 8181, - "end": 8182, + "start": 8252, + "end": 8253, "loc": { "start": { - "line": 259, - "column": 35 + "line": 253, + "column": 49 }, "end": { - "line": 259, - "column": 36 + "line": 253, + "column": 50 } } }, @@ -70984,16 +71436,16 @@ "binop": null, "updateContext": null }, - "start": 8182, - "end": 8183, + "start": 8253, + "end": 8254, "loc": { "start": { - "line": 259, - "column": 36 + "line": 253, + "column": 50 }, "end": { - "line": 259, - "column": 37 + "line": 253, + "column": 51 } } }, @@ -71009,15 +71461,15 @@ "postfix": false, "binop": null }, - "start": 8191, - "end": 8192, + "start": 8262, + "end": 8263, "loc": { "start": { - "line": 260, + "line": 254, "column": 6 }, "end": { - "line": 260, + "line": 254, "column": 7 } } @@ -71037,15 +71489,15 @@ "updateContext": null }, "value": "else", - "start": 8193, - "end": 8197, + "start": 8264, + "end": 8268, "loc": { "start": { - "line": 260, + "line": 254, "column": 8 }, "end": { - "line": 260, + "line": 254, "column": 12 } } @@ -71062,15 +71514,15 @@ "postfix": false, "binop": null }, - "start": 8198, - "end": 8199, + "start": 8269, + "end": 8270, "loc": { "start": { - "line": 260, + "line": 254, "column": 13 }, "end": { - "line": 260, + "line": 254, "column": 14 } } @@ -71088,15 +71540,15 @@ "binop": null }, "value": "output", - "start": 8209, - "end": 8215, + "start": 8280, + "end": 8286, "loc": { "start": { - "line": 261, + "line": 255, "column": 8 }, "end": { - "line": 261, + "line": 255, "column": 14 } } @@ -71115,15 +71567,15 @@ "updateContext": null }, "value": "=", - "start": 8216, - "end": 8217, + "start": 8287, + "end": 8288, "loc": { "start": { - "line": 261, + "line": 255, "column": 15 }, "end": { - "line": 261, + "line": 255, "column": 16 } } @@ -71141,15 +71593,15 @@ "binop": null }, "value": "source", - "start": 8218, - "end": 8224, + "start": 8289, + "end": 8295, "loc": { "start": { - "line": 261, + "line": 255, "column": 17 }, "end": { - "line": 261, + "line": 255, "column": 23 } } @@ -71167,15 +71619,15 @@ "binop": null, "updateContext": null }, - "start": 8224, - "end": 8225, + "start": 8295, + "end": 8296, "loc": { "start": { - "line": 261, + "line": 255, "column": 23 }, "end": { - "line": 261, + "line": 255, "column": 24 } } @@ -71192,17 +71644,17 @@ "postfix": false, "binop": null }, - "value": "slice", - "start": 8225, - "end": 8230, + "value": "substr", + "start": 8296, + "end": 8302, "loc": { "start": { - "line": 261, + "line": 255, "column": 24 }, "end": { - "line": 261, - "column": 29 + "line": 255, + "column": 30 } } }, @@ -71218,16 +71670,16 @@ "postfix": false, "binop": null }, - "start": 8230, - "end": 8231, + "start": 8302, + "end": 8303, "loc": { "start": { - "line": 261, - "column": 29 + "line": 255, + "column": 30 }, "end": { - "line": 261, - "column": 30 + "line": 255, + "column": 31 } } }, @@ -71245,16 +71697,16 @@ "updateContext": null }, "value": 0, - "start": 8231, - "end": 8232, + "start": 8303, + "end": 8304, "loc": { "start": { - "line": 261, - "column": 30 + "line": 255, + "column": 31 }, "end": { - "line": 261, - "column": 31 + "line": 255, + "column": 32 } } }, @@ -71271,16 +71723,67 @@ "binop": null, "updateContext": null }, - "start": 8232, - "end": 8233, + "start": 8304, + "end": 8305, "loc": { "start": { - "line": 261, - "column": 31 + "line": 255, + "column": 32 }, "end": { - "line": 261, - "column": 32 + "line": 255, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8306, + "end": 8307, + "loc": { + "start": { + "line": 255, + "column": 34 + }, + "end": { + "line": 255, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 8307, + "end": 8315, + "loc": { + "start": { + "line": 255, + "column": 35 + }, + "end": { + "line": 255, + "column": 43 } } }, @@ -71298,16 +71801,16 @@ "updateContext": null }, "value": "-", - "start": 8234, - "end": 8235, + "start": 8316, + "end": 8317, "loc": { "start": { - "line": 261, - "column": 33 + "line": 255, + "column": 44 }, "end": { - "line": 261, - "column": 34 + "line": 255, + "column": 45 } } }, @@ -71325,16 +71828,16 @@ "updateContext": null }, "value": 1, - "start": 8235, - "end": 8236, + "start": 8318, + "end": 8319, "loc": { "start": { - "line": 261, - "column": 34 + "line": 255, + "column": 46 }, "end": { - "line": 261, - "column": 35 + "line": 255, + "column": 47 } } }, @@ -71350,16 +71853,222 @@ "postfix": false, "binop": null }, - "start": 8236, - "end": 8237, + "start": 8319, + "end": 8320, "loc": { "start": { - "line": 261, - "column": 35 + "line": 255, + "column": 47 }, "end": { - "line": 261, - "column": 36 + "line": 255, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8320, + "end": 8321, + "loc": { + "start": { + "line": 255, + "column": 48 + }, + "end": { + "line": 255, + "column": 49 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 8322, + "end": 8323, + "loc": { + "start": { + "line": 255, + "column": 50 + }, + "end": { + "line": 255, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "source", + "start": 8324, + "end": 8330, + "loc": { + "start": { + "line": 255, + "column": 52 + }, + "end": { + "line": 255, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8330, + "end": 8331, + "loc": { + "start": { + "line": 255, + "column": 58 + }, + "end": { + "line": 255, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "substr", + "start": 8331, + "end": 8337, + "loc": { + "start": { + "line": 255, + "column": 59 + }, + "end": { + "line": 255, + "column": 65 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8337, + "end": 8338, + "loc": { + "start": { + "line": 255, + "column": 65 + }, + "end": { + "line": 255, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "position", + "start": 8338, + "end": 8346, + "loc": { + "start": { + "line": 255, + "column": 66 + }, + "end": { + "line": 255, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8346, + "end": 8347, + "loc": { + "start": { + "line": 255, + "column": 74 + }, + "end": { + "line": 255, + "column": 75 } } }, @@ -71376,16 +72085,120 @@ "binop": null, "updateContext": null }, - "start": 8237, - "end": 8238, + "start": 8347, + "end": 8348, "loc": { "start": { - "line": 261, - "column": 36 + "line": 255, + "column": 75 }, "end": { - "line": 261, - "column": 37 + "line": 255, + "column": 76 + } + } + }, + { + "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": 8358, + "end": 8360, + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8360, + "end": 8361, + "loc": { + "start": { + "line": 256, + "column": 10 + }, + "end": { + "line": 256, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 8361, + "end": 8370, + "loc": { + "start": { + "line": 256, + "column": 11 + }, + "end": { + "line": 256, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8370, + "end": 8371, + "loc": { + "start": { + "line": 256, + "column": 20 + }, + "end": { + "line": 256, + "column": 21 } } }, @@ -71404,16 +72217,16 @@ "updateContext": null }, "value": "this", - "start": 8248, - "end": 8252, + "start": 8372, + "end": 8376, "loc": { "start": { - "line": 262, - "column": 8 + "line": 256, + "column": 22 }, "end": { - "line": 262, - "column": 12 + "line": 256, + "column": 26 } } }, @@ -71430,16 +72243,16 @@ "binop": null, "updateContext": null }, - "start": 8252, - "end": 8253, + "start": 8376, + "end": 8377, "loc": { "start": { - "line": 262, - "column": 12 + "line": 256, + "column": 26 }, "end": { - "line": 262, - "column": 13 + "line": 256, + "column": 27 } } }, @@ -71456,16 +72269,16 @@ "binop": null }, "value": "updateCaretPos", - "start": 8253, - "end": 8267, + "start": 8377, + "end": 8391, "loc": { "start": { - "line": 262, - "column": 13 + "line": 256, + "column": 27 }, "end": { - "line": 262, - "column": 27 + "line": 256, + "column": 41 } } }, @@ -71481,16 +72294,16 @@ "postfix": false, "binop": null }, - "start": 8267, - "end": 8268, + "start": 8391, + "end": 8392, "loc": { "start": { - "line": 262, - "column": 27 + "line": 256, + "column": 41 }, "end": { - "line": 262, - "column": 28 + "line": 256, + "column": 42 } } }, @@ -71508,16 +72321,16 @@ "updateContext": null }, "value": 1, - "start": 8268, - "end": 8269, + "start": 8392, + "end": 8393, "loc": { "start": { - "line": 262, - "column": 28 + "line": 256, + "column": 42 }, "end": { - "line": 262, - "column": 29 + "line": 256, + "column": 43 } } }, @@ -71534,16 +72347,16 @@ "binop": null, "updateContext": null }, - "start": 8269, - "end": 8270, + "start": 8393, + "end": 8394, "loc": { "start": { - "line": 262, - "column": 29 + "line": 256, + "column": 43 }, "end": { - "line": 262, - "column": 30 + "line": 256, + "column": 44 } } }, @@ -71562,16 +72375,16 @@ "updateContext": null }, "value": "true", - "start": 8271, - "end": 8275, + "start": 8395, + "end": 8399, "loc": { "start": { - "line": 262, - "column": 31 + "line": 256, + "column": 45 }, "end": { - "line": 262, - "column": 35 + "line": 256, + "column": 49 } } }, @@ -71587,16 +72400,16 @@ "postfix": false, "binop": null }, - "start": 8275, - "end": 8276, + "start": 8399, + "end": 8400, "loc": { "start": { - "line": 262, - "column": 35 + "line": 256, + "column": 49 }, "end": { - "line": 262, - "column": 36 + "line": 256, + "column": 50 } } }, @@ -71613,16 +72426,16 @@ "binop": null, "updateContext": null }, - "start": 8276, - "end": 8277, + "start": 8400, + "end": 8401, "loc": { "start": { - "line": 262, - "column": 36 + "line": 256, + "column": 50 }, "end": { - "line": 262, - "column": 37 + "line": 256, + "column": 51 } } }, @@ -71638,15 +72451,15 @@ "postfix": false, "binop": null }, - "start": 8285, - "end": 8286, + "start": 8409, + "end": 8410, "loc": { "start": { - "line": 263, + "line": 257, "column": 6 }, "end": { - "line": 263, + "line": 257, "column": 7 } } @@ -71663,23 +72476,23 @@ "postfix": false, "binop": null }, - "start": 8292, - "end": 8293, + "start": 8416, + "end": 8417, "loc": { "start": { - "line": 264, + "line": 258, "column": 4 }, "end": { - "line": 264, + "line": 258, "column": 5 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -71690,20 +72503,45 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 8301, - "end": 8307, + "value": "else", + "start": 8418, + "end": 8422, "loc": { "start": { - "line": 266, - "column": 4 + "line": 258, + "column": 6 }, "end": { - "line": 266, + "line": 258, "column": 10 } } }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8423, + "end": 8424, + "loc": { + "start": { + "line": 258, + "column": 11 + }, + "end": { + "line": 258, + "column": 12 + } + } + }, { "type": { "label": "name", @@ -71716,17 +72554,226 @@ "postfix": false, "binop": null }, - "value": "output", - "start": 8308, - "end": 8314, + "value": "prevTwoChars", + "start": 8432, + "end": 8444, "loc": { "start": { - "line": 266, - "column": 11 + "line": 259, + "column": 6 }, "end": { - "line": 266, - "column": 17 + "line": 259, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8445, + "end": 8446, + "loc": { + "start": { + "line": 259, + "column": 19 + }, + "end": { + "line": 259, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "source", + "start": 8447, + "end": 8453, + "loc": { + "start": { + "line": 259, + "column": 21 + }, + "end": { + "line": 259, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8453, + "end": 8454, + "loc": { + "start": { + "line": 259, + "column": 27 + }, + "end": { + "line": 259, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "slice", + "start": 8454, + "end": 8459, + "loc": { + "start": { + "line": 259, + "column": 28 + }, + "end": { + "line": 259, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8459, + "end": 8460, + "loc": { + "start": { + "line": 259, + "column": 33 + }, + "end": { + "line": 259, + "column": 34 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 8460, + "end": 8461, + "loc": { + "start": { + "line": 259, + "column": 34 + }, + "end": { + "line": 259, + "column": 35 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 8461, + "end": 8462, + "loc": { + "start": { + "line": 259, + "column": 35 + }, + "end": { + "line": 259, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8462, + "end": 8463, + "loc": { + "start": { + "line": 259, + "column": 36 + }, + "end": { + "line": 259, + "column": 37 } } }, @@ -71743,57 +72790,16 @@ "binop": null, "updateContext": null }, - "start": 8314, - "end": 8315, + "start": 8463, + "end": 8464, "loc": { "start": { - "line": 266, - "column": 17 + "line": 259, + "column": 37 }, "end": { - "line": 266, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8319, - "end": 8320, - "loc": { - "start": { - "line": 267, - "column": 2 - }, - "end": { - "line": 267, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", - "start": 8324, - "end": 8555, - "loc": { - "start": { - "line": 268, - "column": 2 - }, - "end": { - "line": 274, - "column": 5 + "line": 259, + "column": 38 } } }, @@ -71809,17 +72815,122 @@ "postfix": false, "binop": null }, - "value": "handleMaxLength", - "start": 8559, - "end": 8574, + "value": "emojiMatched", + "start": 8472, + "end": 8484, "loc": { "start": { - "line": 275, - "column": 2 + "line": 260, + "column": 6 }, "end": { - "line": 275, - "column": 17 + "line": 260, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8485, + "end": 8486, + "loc": { + "start": { + "line": 260, + "column": 19 + }, + "end": { + "line": 260, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prevTwoChars", + "start": 8487, + "end": 8499, + "loc": { + "start": { + "line": 260, + "column": 21 + }, + "end": { + "line": 260, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8499, + "end": 8500, + "loc": { + "start": { + "line": 260, + "column": 33 + }, + "end": { + "line": 260, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "match", + "start": 8500, + "end": 8505, + "loc": { + "start": { + "line": 260, + "column": 34 + }, + "end": { + "line": 260, + "column": 39 } } }, @@ -71835,16 +72946,16 @@ "postfix": false, "binop": null }, - "start": 8574, - "end": 8575, + "start": 8505, + "end": 8506, "loc": { "start": { - "line": 275, - "column": 17 + "line": 260, + "column": 39 }, "end": { - "line": 275, - "column": 18 + "line": 260, + "column": 40 } } }, @@ -71860,17 +72971,380 @@ "postfix": false, "binop": null }, - "value": "inputObj", + "value": "emojiMatchedReg", + "start": 8506, + "end": 8521, + "loc": { + "start": { + "line": 260, + "column": 40 + }, + "end": { + "line": 260, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8521, + "end": 8522, + "loc": { + "start": { + "line": 260, + "column": 55 + }, + "end": { + "line": 260, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8522, + "end": 8523, + "loc": { + "start": { + "line": 260, + "column": 56 + }, + "end": { + "line": 260, + "column": 57 + } + } + }, + { + "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": 8533, + "end": 8535, + "loc": { + "start": { + "line": 262, + "column": 6 + }, + "end": { + "line": 262, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8535, + "end": 8536, + "loc": { + "start": { + "line": 262, + "column": 8 + }, + "end": { + "line": 262, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "emojiMatched", + "start": 8536, + "end": 8548, + "loc": { + "start": { + "line": 262, + "column": 9 + }, + "end": { + "line": 262, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8548, + "end": 8549, + "loc": { + "start": { + "line": 262, + "column": 21 + }, + "end": { + "line": 262, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8549, + "end": 8550, + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 8560, + "end": 8566, + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8567, + "end": 8568, + "loc": { + "start": { + "line": 263, + "column": 15 + }, + "end": { + "line": 263, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "source", + "start": 8569, + "end": 8575, + "loc": { + "start": { + "line": 263, + "column": 17 + }, + "end": { + "line": 263, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, "start": 8575, + "end": 8576, + "loc": { + "start": { + "line": 263, + "column": 23 + }, + "end": { + "line": 263, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "slice", + "start": 8576, + "end": 8581, + "loc": { + "start": { + "line": 263, + "column": 24 + }, + "end": { + "line": 263, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8581, + "end": 8582, + "loc": { + "start": { + "line": 263, + "column": 29 + }, + "end": { + "line": 263, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 8582, "end": 8583, "loc": { "start": { - "line": 275, - "column": 18 + "line": 263, + "column": 30 }, "end": { - "line": 275, - "column": 26 + "line": 263, + "column": 31 } } }, @@ -71891,11 +73365,2168 @@ "end": 8584, "loc": { "start": { - "line": 275, + "line": 263, + "column": 31 + }, + "end": { + "line": 263, + "column": 32 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 8585, + "end": 8586, + "loc": { + "start": { + "line": 263, + "column": 33 + }, + "end": { + "line": 263, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 8586, + "end": 8587, + "loc": { + "start": { + "line": 263, + "column": 34 + }, + "end": { + "line": 263, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8587, + "end": 8588, + "loc": { + "start": { + "line": 263, + "column": 35 + }, + "end": { + "line": 263, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8588, + "end": 8589, + "loc": { + "start": { + "line": 263, + "column": 36 + }, + "end": { + "line": 263, + "column": 37 + } + } + }, + { + "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": 8599, + "end": 8601, + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 264, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8601, + "end": 8602, + "loc": { + "start": { + "line": 264, + "column": 10 + }, + "end": { + "line": 264, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 8602, + "end": 8611, + "loc": { + "start": { + "line": 264, + "column": 11 + }, + "end": { + "line": 264, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8611, + "end": 8612, + "loc": { + "start": { + "line": 264, + "column": 20 + }, + "end": { + "line": 264, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8613, + "end": 8617, + "loc": { + "start": { + "line": 264, + "column": 22 + }, + "end": { + "line": 264, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8617, + "end": 8618, + "loc": { + "start": { + "line": 264, "column": 26 }, "end": { + "line": 264, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateCaretPos", + "start": 8618, + "end": 8632, + "loc": { + "start": { + "line": 264, + "column": 27 + }, + "end": { + "line": 264, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8632, + "end": 8633, + "loc": { + "start": { + "line": 264, + "column": 41 + }, + "end": { + "line": 264, + "column": 42 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 8633, + "end": 8634, + "loc": { + "start": { + "line": 264, + "column": 42 + }, + "end": { + "line": 264, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8634, + "end": 8635, + "loc": { + "start": { + "line": 264, + "column": 43 + }, + "end": { + "line": 264, + "column": 44 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 8636, + "end": 8640, + "loc": { + "start": { + "line": 264, + "column": 45 + }, + "end": { + "line": 264, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8640, + "end": 8641, + "loc": { + "start": { + "line": 264, + "column": 49 + }, + "end": { + "line": 264, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8641, + "end": 8642, + "loc": { + "start": { + "line": 264, + "column": 50 + }, + "end": { + "line": 264, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8650, + "end": 8651, + "loc": { + "start": { + "line": 265, + "column": 6 + }, + "end": { + "line": 265, + "column": 7 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 8652, + "end": 8656, + "loc": { + "start": { + "line": 265, + "column": 8 + }, + "end": { + "line": 265, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8657, + "end": 8658, + "loc": { + "start": { + "line": 265, + "column": 13 + }, + "end": { + "line": 265, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 8668, + "end": 8674, + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8675, + "end": 8676, + "loc": { + "start": { + "line": 266, + "column": 15 + }, + "end": { + "line": 266, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "source", + "start": 8677, + "end": 8683, + "loc": { + "start": { + "line": 266, + "column": 17 + }, + "end": { + "line": 266, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8683, + "end": 8684, + "loc": { + "start": { + "line": 266, + "column": 23 + }, + "end": { + "line": 266, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "slice", + "start": 8684, + "end": 8689, + "loc": { + "start": { + "line": 266, + "column": 24 + }, + "end": { + "line": 266, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8689, + "end": 8690, + "loc": { + "start": { + "line": 266, + "column": 29 + }, + "end": { + "line": 266, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 8690, + "end": 8691, + "loc": { + "start": { + "line": 266, + "column": 30 + }, + "end": { + "line": 266, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8691, + "end": 8692, + "loc": { + "start": { + "line": 266, + "column": 31 + }, + "end": { + "line": 266, + "column": 32 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 8693, + "end": 8694, + "loc": { + "start": { + "line": 266, + "column": 33 + }, + "end": { + "line": 266, + "column": 34 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 8694, + "end": 8695, + "loc": { + "start": { + "line": 266, + "column": 34 + }, + "end": { + "line": 266, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8695, + "end": 8696, + "loc": { + "start": { + "line": 266, + "column": 35 + }, + "end": { + "line": 266, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8696, + "end": 8697, + "loc": { + "start": { + "line": 266, + "column": 36 + }, + "end": { + "line": 266, + "column": 37 + } + } + }, + { + "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": 8707, + "end": 8709, + "loc": { + "start": { + "line": 267, + "column": 8 + }, + "end": { + "line": 267, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8709, + "end": 8710, + "loc": { + "start": { + "line": 267, + "column": 10 + }, + "end": { + "line": 267, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 8710, + "end": 8719, + "loc": { + "start": { + "line": 267, + "column": 11 + }, + "end": { + "line": 267, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8719, + "end": 8720, + "loc": { + "start": { + "line": 267, + "column": 20 + }, + "end": { + "line": 267, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 8721, + "end": 8725, + "loc": { + "start": { + "line": 267, + "column": 22 + }, + "end": { + "line": 267, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8725, + "end": 8726, + "loc": { + "start": { + "line": 267, + "column": 26 + }, + "end": { + "line": 267, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "updateCaretPos", + "start": 8726, + "end": 8740, + "loc": { + "start": { + "line": 267, + "column": 27 + }, + "end": { + "line": 267, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8740, + "end": 8741, + "loc": { + "start": { + "line": 267, + "column": 41 + }, + "end": { + "line": 267, + "column": 42 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 8741, + "end": 8742, + "loc": { + "start": { + "line": 267, + "column": 42 + }, + "end": { + "line": 267, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8742, + "end": 8743, + "loc": { + "start": { + "line": 267, + "column": 43 + }, + "end": { + "line": 267, + "column": 44 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 8744, + "end": 8748, + "loc": { + "start": { + "line": 267, + "column": 45 + }, + "end": { + "line": 267, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8748, + "end": 8749, + "loc": { + "start": { + "line": 267, + "column": 49 + }, + "end": { + "line": 267, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8749, + "end": 8750, + "loc": { + "start": { + "line": 267, + "column": 50 + }, + "end": { + "line": 267, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8758, + "end": 8759, + "loc": { + "start": { + "line": 268, + "column": 6 + }, + "end": { + "line": 268, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8765, + "end": 8766, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, + "column": 5 + } + } + }, + { + "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": 8774, + "end": 8776, + "loc": { + "start": { + "line": 271, + "column": 4 + }, + "end": { + "line": 271, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8776, + "end": 8777, + "loc": { + "start": { + "line": 271, + "column": 6 + }, + "end": { + "line": 271, + "column": 7 + } + } + }, + { + "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": 8777, + "end": 8781, + "loc": { + "start": { + "line": 271, + "column": 7 + }, + "end": { + "line": 271, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8781, + "end": 8782, + "loc": { + "start": { + "line": 271, + "column": 11 + }, + "end": { + "line": 271, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "simpleKeyboardInstance", + "start": 8782, + "end": 8804, + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8804, + "end": 8805, + "loc": { + "start": { + "line": 271, + "column": 34 + }, + "end": { + "line": 271, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 8805, + "end": 8812, + "loc": { + "start": { + "line": 271, + "column": 35 + }, + "end": { + "line": 271, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8812, + "end": 8813, + "loc": { + "start": { + "line": 271, + "column": 42 + }, + "end": { + "line": 271, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debug", + "start": 8813, + "end": 8818, + "loc": { + "start": { + "line": 271, + "column": 43 + }, + "end": { + "line": 271, + "column": 48 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 8819, + "end": 8821, + "loc": { + "start": { + "line": 271, + "column": 49 + }, + "end": { + "line": 271, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "moveCaret", + "start": 8822, + "end": 8831, + "loc": { + "start": { + "line": 271, + "column": 52 + }, + "end": { + "line": 271, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8831, + "end": 8832, + "loc": { + "start": { + "line": 271, + "column": 61 + }, + "end": { + "line": 271, + "column": 62 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8832, + "end": 8833, + "loc": { + "start": { + "line": 271, + "column": 62 + }, + "end": { + "line": 271, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 8841, + "end": 8848, + "loc": { + "start": { + "line": 272, + "column": 6 + }, + "end": { + "line": 272, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8848, + "end": 8849, + "loc": { + "start": { + "line": 272, + "column": 13 + }, + "end": { + "line": 272, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 8849, + "end": 8852, + "loc": { + "start": { + "line": 272, + "column": 14 + }, + "end": { + "line": 272, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8852, + "end": 8853, + "loc": { + "start": { + "line": 272, + "column": 17 + }, + "end": { + "line": 272, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Caret at:", + "start": 8853, + "end": 8864, + "loc": { + "start": { + "line": 272, + "column": 18 + }, + "end": { + "line": 272, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8864, + "end": 8865, + "loc": { + "start": { + "line": 272, + "column": 29 + }, + "end": { + "line": 272, + "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": 8866, + "end": 8870, + "loc": { + "start": { + "line": 272, + "column": 31 + }, + "end": { + "line": 272, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8870, + "end": 8871, + "loc": { + "start": { + "line": 272, + "column": 35 + }, + "end": { + "line": 272, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "simpleKeyboardInstance", + "start": 8871, + "end": 8893, + "loc": { + "start": { + "line": 272, + "column": 36 + }, + "end": { + "line": 272, + "column": 58 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8893, + "end": 8894, + "loc": { + "start": { + "line": 272, + "column": 58 + }, + "end": { + "line": 272, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "caretPosition", + "start": 8894, + "end": 8907, + "loc": { + "start": { + "line": 272, + "column": 59 + }, + "end": { + "line": 272, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8907, + "end": 8908, + "loc": { + "start": { + "line": 272, + "column": 72 + }, + "end": { + "line": 272, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8908, + "end": 8909, + "loc": { + "start": { + "line": 272, + "column": 73 + }, + "end": { + "line": 272, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8915, + "end": 8916, + "loc": { + "start": { + "line": 273, + "column": 4 + }, + "end": { + "line": 273, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 8924, + "end": 8930, + "loc": { + "start": { "line": 275, + "column": 4 + }, + "end": { + "line": 275, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "output", + "start": 8931, + "end": 8937, + "loc": { + "start": { + "line": 275, + "column": 11 + }, + "end": { + "line": 275, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8937, + "end": 8938, + "loc": { + "start": { + "line": 275, + "column": 17 + }, + "end": { + "line": 275, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8942, + "end": 8943, + "loc": { + "start": { + "line": 276, + "column": 2 + }, + "end": { + "line": 276, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", + "start": 8947, + "end": 9178, + "loc": { + "start": { + "line": 277, + "column": 2 + }, + "end": { + "line": 283, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "handleMaxLength", + "start": 9182, + "end": 9197, + "loc": { + "start": { + "line": 284, + "column": 2 + }, + "end": { + "line": 284, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 9197, + "end": 9198, + "loc": { + "start": { + "line": 284, + "column": 17 + }, + "end": { + "line": 284, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "inputObj", + "start": 9198, + "end": 9206, + "loc": { + "start": { + "line": 284, + "column": 18 + }, + "end": { + "line": 284, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 9206, + "end": 9207, + "loc": { + "start": { + "line": 284, + "column": 26 + }, + "end": { + "line": 284, "column": 27 } } @@ -71913,15 +75544,15 @@ "binop": null }, "value": "options", - "start": 8585, - "end": 8592, + "start": 9208, + "end": 9215, "loc": { "start": { - "line": 275, + "line": 284, "column": 28 }, "end": { - "line": 275, + "line": 284, "column": 35 } } @@ -71939,15 +75570,15 @@ "binop": null, "updateContext": null }, - "start": 8592, - "end": 8593, + "start": 9215, + "end": 9216, "loc": { "start": { - "line": 275, + "line": 284, "column": 35 }, "end": { - "line": 275, + "line": 284, "column": 36 } } @@ -71965,15 +75596,15 @@ "binop": null }, "value": "updatedInput", - "start": 8594, - "end": 8606, + "start": 9217, + "end": 9229, "loc": { "start": { - "line": 275, + "line": 284, "column": 37 }, "end": { - "line": 275, + "line": 284, "column": 49 } } @@ -71990,15 +75621,15 @@ "postfix": false, "binop": null }, - "start": 8606, - "end": 8607, + "start": 9229, + "end": 9230, "loc": { "start": { - "line": 275, + "line": 284, "column": 49 }, "end": { - "line": 275, + "line": 284, "column": 50 } } @@ -72015,15 +75646,15 @@ "postfix": false, "binop": null }, - "start": 8607, - "end": 8608, + "start": 9230, + "end": 9231, "loc": { "start": { - "line": 275, + "line": 284, "column": 50 }, "end": { - "line": 275, + "line": 284, "column": 51 } } @@ -72043,15 +75674,15 @@ "updateContext": null }, "value": "let", - "start": 8614, - "end": 8617, + "start": 9237, + "end": 9240, "loc": { "start": { - "line": 276, + "line": 285, "column": 4 }, "end": { - "line": 276, + "line": 285, "column": 7 } } @@ -72069,15 +75700,15 @@ "binop": null }, "value": "maxLength", - "start": 8618, - "end": 8627, + "start": 9241, + "end": 9250, "loc": { "start": { - "line": 276, + "line": 285, "column": 8 }, "end": { - "line": 276, + "line": 285, "column": 17 } } @@ -72096,15 +75727,15 @@ "updateContext": null }, "value": "=", - "start": 8628, - "end": 8629, + "start": 9251, + "end": 9252, "loc": { "start": { - "line": 276, + "line": 285, "column": 18 }, "end": { - "line": 276, + "line": 285, "column": 19 } } @@ -72122,15 +75753,15 @@ "binop": null }, "value": "options", - "start": 8630, - "end": 8637, + "start": 9253, + "end": 9260, "loc": { "start": { - "line": 276, + "line": 285, "column": 20 }, "end": { - "line": 276, + "line": 285, "column": 27 } } @@ -72148,15 +75779,15 @@ "binop": null, "updateContext": null }, - "start": 8637, - "end": 8638, + "start": 9260, + "end": 9261, "loc": { "start": { - "line": 276, + "line": 285, "column": 27 }, "end": { - "line": 276, + "line": 285, "column": 28 } } @@ -72174,15 +75805,15 @@ "binop": null }, "value": "maxLength", - "start": 8638, - "end": 8647, + "start": 9261, + "end": 9270, "loc": { "start": { - "line": 276, + "line": 285, "column": 28 }, "end": { - "line": 276, + "line": 285, "column": 37 } } @@ -72200,15 +75831,15 @@ "binop": null, "updateContext": null }, - "start": 8647, - "end": 8648, + "start": 9270, + "end": 9271, "loc": { "start": { - "line": 276, + "line": 285, "column": 37 }, "end": { - "line": 276, + "line": 285, "column": 38 } } @@ -72228,15 +75859,15 @@ "updateContext": null }, "value": "let", - "start": 8654, - "end": 8657, + "start": 9277, + "end": 9280, "loc": { "start": { - "line": 277, + "line": 286, "column": 4 }, "end": { - "line": 277, + "line": 286, "column": 7 } } @@ -72254,15 +75885,15 @@ "binop": null }, "value": "currentInput", - "start": 8658, - "end": 8670, + "start": 9281, + "end": 9293, "loc": { "start": { - "line": 277, + "line": 286, "column": 8 }, "end": { - "line": 277, + "line": 286, "column": 20 } } @@ -72281,15 +75912,15 @@ "updateContext": null }, "value": "=", - "start": 8671, - "end": 8672, + "start": 9294, + "end": 9295, "loc": { "start": { - "line": 277, + "line": 286, "column": 21 }, "end": { - "line": 277, + "line": 286, "column": 22 } } @@ -72307,15 +75938,15 @@ "binop": null }, "value": "inputObj", - "start": 8673, - "end": 8681, + "start": 9296, + "end": 9304, "loc": { "start": { - "line": 277, + "line": 286, "column": 23 }, "end": { - "line": 277, + "line": 286, "column": 31 } } @@ -72333,15 +75964,15 @@ "binop": null, "updateContext": null }, - "start": 8681, - "end": 8682, + "start": 9304, + "end": 9305, "loc": { "start": { - "line": 277, + "line": 286, "column": 31 }, "end": { - "line": 277, + "line": 286, "column": 32 } } @@ -72359,15 +75990,15 @@ "binop": null }, "value": "options", - "start": 8682, - "end": 8689, + "start": 9305, + "end": 9312, "loc": { "start": { - "line": 277, + "line": 286, "column": 32 }, "end": { - "line": 277, + "line": 286, "column": 39 } } @@ -72385,15 +76016,15 @@ "binop": null, "updateContext": null }, - "start": 8689, - "end": 8690, + "start": 9312, + "end": 9313, "loc": { "start": { - "line": 277, + "line": 286, "column": 39 }, "end": { - "line": 277, + "line": 286, "column": 40 } } @@ -72411,15 +76042,15 @@ "binop": null }, "value": "inputName", - "start": 8690, - "end": 8699, + "start": 9313, + "end": 9322, "loc": { "start": { - "line": 277, + "line": 286, "column": 40 }, "end": { - "line": 277, + "line": 286, "column": 49 } } @@ -72437,15 +76068,15 @@ "binop": null, "updateContext": null }, - "start": 8699, - "end": 8700, + "start": 9322, + "end": 9323, "loc": { "start": { - "line": 277, + "line": 286, "column": 49 }, "end": { - "line": 277, + "line": 286, "column": 50 } } @@ -72463,15 +76094,15 @@ "binop": null, "updateContext": null }, - "start": 8700, - "end": 8701, + "start": 9323, + "end": 9324, "loc": { "start": { - "line": 277, + "line": 286, "column": 50 }, "end": { - "line": 277, + "line": 286, "column": 51 } } @@ -72491,15 +76122,15 @@ "updateContext": null }, "value": "let", - "start": 8707, - "end": 8710, + "start": 9330, + "end": 9333, "loc": { "start": { - "line": 278, + "line": 287, "column": 4 }, "end": { - "line": 278, + "line": 287, "column": 7 } } @@ -72517,15 +76148,15 @@ "binop": null }, "value": "condition", - "start": 8711, - "end": 8720, + "start": 9334, + "end": 9343, "loc": { "start": { - "line": 278, + "line": 287, "column": 8 }, "end": { - "line": 278, + "line": 287, "column": 17 } } @@ -72544,15 +76175,15 @@ "updateContext": null }, "value": "=", - "start": 8721, - "end": 8722, + "start": 9344, + "end": 9345, "loc": { "start": { - "line": 278, + "line": 287, "column": 18 }, "end": { - "line": 278, + "line": 287, "column": 19 } } @@ -72570,15 +76201,15 @@ "binop": null }, "value": "currentInput", - "start": 8723, - "end": 8735, + "start": 9346, + "end": 9358, "loc": { "start": { - "line": 278, + "line": 287, "column": 20 }, "end": { - "line": 278, + "line": 287, "column": 32 } } @@ -72596,15 +76227,15 @@ "binop": null, "updateContext": null }, - "start": 8735, - "end": 8736, + "start": 9358, + "end": 9359, "loc": { "start": { - "line": 278, + "line": 287, "column": 32 }, "end": { - "line": 278, + "line": 287, "column": 33 } } @@ -72622,15 +76253,15 @@ "binop": null }, "value": "length", - "start": 8736, - "end": 8742, + "start": 9359, + "end": 9365, "loc": { "start": { - "line": 278, + "line": 287, "column": 33 }, "end": { - "line": 278, + "line": 287, "column": 39 } } @@ -72649,15 +76280,15 @@ "updateContext": null }, "value": "===", - "start": 8743, - "end": 8746, + "start": 9366, + "end": 9369, "loc": { "start": { - "line": 278, + "line": 287, "column": 40 }, "end": { - "line": 278, + "line": 287, "column": 43 } } @@ -72675,15 +76306,15 @@ "binop": null }, "value": "maxLength", - "start": 8747, - "end": 8756, + "start": 9370, + "end": 9379, "loc": { "start": { - "line": 278, + "line": 287, "column": 44 }, "end": { - "line": 278, + "line": 287, "column": 53 } } @@ -72701,15 +76332,15 @@ "binop": null, "updateContext": null }, - "start": 8756, - "end": 8757, + "start": 9379, + "end": 9380, "loc": { "start": { - "line": 278, + "line": 287, "column": 53 }, "end": { - "line": 278, + "line": 287, "column": 54 } } @@ -72729,15 +76360,15 @@ "updateContext": null }, "value": "if", - "start": 8767, - "end": 8769, + "start": 9388, + "end": 9390, "loc": { "start": { - "line": 281, + "line": 289, "column": 4 }, "end": { - "line": 281, + "line": 289, "column": 6 } } @@ -72754,15 +76385,15 @@ "postfix": false, "binop": null }, - "start": 8769, - "end": 8770, + "start": 9390, + "end": 9391, "loc": { "start": { - "line": 281, + "line": 289, "column": 6 }, "end": { - "line": 281, + "line": 289, "column": 7 } } @@ -72770,15 +76401,15 @@ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", - "start": 8778, - "end": 8899, + "start": 9399, + "end": 9520, "loc": { "start": { - "line": 282, + "line": 290, "column": 6 }, "end": { - "line": 285, + "line": 293, "column": 9 } } @@ -72796,15 +76427,15 @@ "binop": null }, "value": "updatedInput", - "start": 8907, - "end": 8919, + "start": 9528, + "end": 9540, "loc": { "start": { - "line": 286, + "line": 294, "column": 6 }, "end": { - "line": 286, + "line": 294, "column": 18 } } @@ -72822,15 +76453,15 @@ "binop": null, "updateContext": null }, - "start": 8919, - "end": 8920, + "start": 9540, + "end": 9541, "loc": { "start": { - "line": 286, + "line": 294, "column": 18 }, "end": { - "line": 286, + "line": 294, "column": 19 } } @@ -72848,15 +76479,15 @@ "binop": null }, "value": "length", - "start": 8920, - "end": 8926, + "start": 9541, + "end": 9547, "loc": { "start": { - "line": 286, + "line": 294, "column": 19 }, "end": { - "line": 286, + "line": 294, "column": 25 } } @@ -72875,15 +76506,15 @@ "updateContext": null }, "value": "<=", - "start": 8927, - "end": 8929, + "start": 9548, + "end": 9550, "loc": { "start": { - "line": 286, + "line": 294, "column": 26 }, "end": { - "line": 286, + "line": 294, "column": 28 } } @@ -72901,15 +76532,15 @@ "binop": null }, "value": "currentInput", - "start": 8930, - "end": 8942, + "start": 9551, + "end": 9563, "loc": { "start": { - "line": 286, + "line": 294, "column": 29 }, "end": { - "line": 286, + "line": 294, "column": 41 } } @@ -72927,15 +76558,15 @@ "binop": null, "updateContext": null }, - "start": 8942, - "end": 8943, + "start": 9563, + "end": 9564, "loc": { "start": { - "line": 286, + "line": 294, "column": 41 }, "end": { - "line": 286, + "line": 294, "column": 42 } } @@ -72953,15 +76584,15 @@ "binop": null }, "value": "length", - "start": 8943, - "end": 8949, + "start": 9564, + "end": 9570, "loc": { "start": { - "line": 286, + "line": 294, "column": 42 }, "end": { - "line": 286, + "line": 294, "column": 48 } } @@ -72978,15 +76609,15 @@ "postfix": false, "binop": null }, - "start": 8955, - "end": 8956, + "start": 9576, + "end": 9577, "loc": { "start": { - "line": 287, + "line": 295, "column": 4 }, "end": { - "line": 287, + "line": 295, "column": 5 } } @@ -73003,15 +76634,15 @@ "postfix": false, "binop": null }, - "start": 8956, - "end": 8957, + "start": 9577, + "end": 9578, "loc": { "start": { - "line": 287, + "line": 295, "column": 5 }, "end": { - "line": 287, + "line": 295, "column": 6 } } @@ -73031,15 +76662,15 @@ "updateContext": null }, "value": "return", - "start": 8965, - "end": 8971, + "start": 9586, + "end": 9592, "loc": { "start": { - "line": 288, + "line": 296, "column": 6 }, "end": { - "line": 288, + "line": 296, "column": 12 } } @@ -73059,15 +76690,15 @@ "updateContext": null }, "value": "false", - "start": 8972, - "end": 8977, + "start": 9593, + "end": 9598, "loc": { "start": { - "line": 288, + "line": 296, "column": 13 }, "end": { - "line": 288, + "line": 296, "column": 18 } } @@ -73085,15 +76716,15 @@ "binop": null, "updateContext": null }, - "start": 8977, - "end": 8978, + "start": 9598, + "end": 9599, "loc": { "start": { - "line": 288, + "line": 296, "column": 18 }, "end": { - "line": 288, + "line": 296, "column": 19 } } @@ -73110,15 +76741,15 @@ "postfix": false, "binop": null }, - "start": 8984, - "end": 8985, + "start": 9605, + "end": 9606, "loc": { "start": { - "line": 289, + "line": 297, "column": 4 }, "end": { - "line": 289, + "line": 297, "column": 5 } } @@ -73138,15 +76769,15 @@ "updateContext": null }, "value": "if", - "start": 8993, - "end": 8995, + "start": 9614, + "end": 9616, "loc": { "start": { - "line": 291, + "line": 299, "column": 4 }, "end": { - "line": 291, + "line": 299, "column": 6 } } @@ -73163,15 +76794,15 @@ "postfix": false, "binop": null }, - "start": 8995, - "end": 8996, + "start": 9616, + "end": 9617, "loc": { "start": { - "line": 291, + "line": 299, "column": 6 }, "end": { - "line": 291, + "line": 299, "column": 7 } } @@ -73189,15 +76820,15 @@ "binop": null }, "value": "Number", - "start": 8996, - "end": 9002, + "start": 9617, + "end": 9623, "loc": { "start": { - "line": 291, + "line": 299, "column": 7 }, "end": { - "line": 291, + "line": 299, "column": 13 } } @@ -73215,15 +76846,15 @@ "binop": null, "updateContext": null }, - "start": 9002, - "end": 9003, + "start": 9623, + "end": 9624, "loc": { "start": { - "line": 291, + "line": 299, "column": 13 }, "end": { - "line": 291, + "line": 299, "column": 14 } } @@ -73241,15 +76872,15 @@ "binop": null }, "value": "isInteger", - "start": 9003, - "end": 9012, + "start": 9624, + "end": 9633, "loc": { "start": { - "line": 291, + "line": 299, "column": 14 }, "end": { - "line": 291, + "line": 299, "column": 23 } } @@ -73266,15 +76897,15 @@ "postfix": false, "binop": null }, - "start": 9012, - "end": 9013, + "start": 9633, + "end": 9634, "loc": { "start": { - "line": 291, + "line": 299, "column": 23 }, "end": { - "line": 291, + "line": 299, "column": 24 } } @@ -73292,15 +76923,15 @@ "binop": null }, "value": "maxLength", - "start": 9013, - "end": 9022, + "start": 9634, + "end": 9643, "loc": { "start": { - "line": 291, + "line": 299, "column": 24 }, "end": { - "line": 291, + "line": 299, "column": 33 } } @@ -73317,15 +76948,15 @@ "postfix": false, "binop": null }, - "start": 9022, - "end": 9023, + "start": 9643, + "end": 9644, "loc": { "start": { - "line": 291, + "line": 299, "column": 33 }, "end": { - "line": 291, + "line": 299, "column": 34 } } @@ -73342,15 +76973,15 @@ "postfix": false, "binop": null }, - "start": 9023, - "end": 9024, + "start": 9644, + "end": 9645, "loc": { "start": { - "line": 291, + "line": 299, "column": 34 }, "end": { - "line": 291, + "line": 299, "column": 35 } } @@ -73367,15 +76998,15 @@ "postfix": false, "binop": null }, - "start": 9024, - "end": 9025, + "start": 9645, + "end": 9646, "loc": { "start": { - "line": 291, + "line": 299, "column": 35 }, "end": { - "line": 291, + "line": 299, "column": 36 } } @@ -73395,15 +77026,15 @@ "updateContext": null }, "value": "if", - "start": 9033, - "end": 9035, + "start": 9654, + "end": 9656, "loc": { "start": { - "line": 292, + "line": 300, "column": 6 }, "end": { - "line": 292, + "line": 300, "column": 8 } } @@ -73420,15 +77051,15 @@ "postfix": false, "binop": null }, - "start": 9035, - "end": 9036, + "start": 9656, + "end": 9657, "loc": { "start": { - "line": 292, + "line": 300, "column": 8 }, "end": { - "line": 292, + "line": 300, "column": 9 } } @@ -73446,15 +77077,15 @@ "binop": null }, "value": "options", - "start": 9036, - "end": 9043, + "start": 9657, + "end": 9664, "loc": { "start": { - "line": 292, + "line": 300, "column": 9 }, "end": { - "line": 292, + "line": 300, "column": 16 } } @@ -73472,15 +77103,15 @@ "binop": null, "updateContext": null }, - "start": 9043, - "end": 9044, + "start": 9664, + "end": 9665, "loc": { "start": { - "line": 292, + "line": 300, "column": 16 }, "end": { - "line": 292, + "line": 300, "column": 17 } } @@ -73498,15 +77129,15 @@ "binop": null }, "value": "debug", - "start": 9044, - "end": 9049, + "start": 9665, + "end": 9670, "loc": { "start": { - "line": 292, + "line": 300, "column": 17 }, "end": { - "line": 292, + "line": 300, "column": 22 } } @@ -73523,15 +77154,15 @@ "postfix": false, "binop": null }, - "start": 9049, - "end": 9050, + "start": 9670, + "end": 9671, "loc": { "start": { - "line": 292, + "line": 300, "column": 22 }, "end": { - "line": 292, + "line": 300, "column": 23 } } @@ -73548,15 +77179,15 @@ "postfix": false, "binop": null }, - "start": 9050, - "end": 9051, + "start": 9671, + "end": 9672, "loc": { "start": { - "line": 292, + "line": 300, "column": 23 }, "end": { - "line": 292, + "line": 300, "column": 24 } } @@ -73574,15 +77205,15 @@ "binop": null }, "value": "console", - "start": 9061, - "end": 9068, + "start": 9682, + "end": 9689, "loc": { "start": { - "line": 293, + "line": 301, "column": 8 }, "end": { - "line": 293, + "line": 301, "column": 15 } } @@ -73600,15 +77231,15 @@ "binop": null, "updateContext": null }, - "start": 9068, - "end": 9069, + "start": 9689, + "end": 9690, "loc": { "start": { - "line": 293, + "line": 301, "column": 15 }, "end": { - "line": 293, + "line": 301, "column": 16 } } @@ -73626,15 +77257,15 @@ "binop": null }, "value": "log", - "start": 9069, - "end": 9072, + "start": 9690, + "end": 9693, "loc": { "start": { - "line": 293, + "line": 301, "column": 16 }, "end": { - "line": 293, + "line": 301, "column": 19 } } @@ -73651,15 +77282,15 @@ "postfix": false, "binop": null }, - "start": 9072, - "end": 9073, + "start": 9693, + "end": 9694, "loc": { "start": { - "line": 293, + "line": 301, "column": 19 }, "end": { - "line": 293, + "line": 301, "column": 20 } } @@ -73678,15 +77309,15 @@ "updateContext": null }, "value": "maxLength (num) reached:", - "start": 9073, - "end": 9099, + "start": 9694, + "end": 9720, "loc": { "start": { - "line": 293, + "line": 301, "column": 20 }, "end": { - "line": 293, + "line": 301, "column": 46 } } @@ -73704,15 +77335,15 @@ "binop": null, "updateContext": null }, - "start": 9099, - "end": 9100, + "start": 9720, + "end": 9721, "loc": { "start": { - "line": 293, + "line": 301, "column": 46 }, "end": { - "line": 293, + "line": 301, "column": 47 } } @@ -73730,15 +77361,15 @@ "binop": null }, "value": "condition", - "start": 9101, - "end": 9110, + "start": 9722, + "end": 9731, "loc": { "start": { - "line": 293, + "line": 301, "column": 48 }, "end": { - "line": 293, + "line": 301, "column": 57 } } @@ -73755,15 +77386,15 @@ "postfix": false, "binop": null }, - "start": 9110, - "end": 9111, + "start": 9731, + "end": 9732, "loc": { "start": { - "line": 293, + "line": 301, "column": 57 }, "end": { - "line": 293, + "line": 301, "column": 58 } } @@ -73781,15 +77412,15 @@ "binop": null, "updateContext": null }, - "start": 9111, - "end": 9112, + "start": 9732, + "end": 9733, "loc": { "start": { - "line": 293, + "line": 301, "column": 58 }, "end": { - "line": 293, + "line": 301, "column": 59 } } @@ -73806,15 +77437,15 @@ "postfix": false, "binop": null }, - "start": 9120, - "end": 9121, + "start": 9741, + "end": 9742, "loc": { "start": { - "line": 294, + "line": 302, "column": 6 }, "end": { - "line": 294, + "line": 302, "column": 7 } } @@ -73834,15 +77465,15 @@ "updateContext": null }, "value": "if", - "start": 9131, - "end": 9133, + "start": 9752, + "end": 9754, "loc": { "start": { - "line": 296, + "line": 304, "column": 6 }, "end": { - "line": 296, + "line": 304, "column": 8 } } @@ -73859,15 +77490,15 @@ "postfix": false, "binop": null }, - "start": 9133, - "end": 9134, + "start": 9754, + "end": 9755, "loc": { "start": { - "line": 296, + "line": 304, "column": 8 }, "end": { - "line": 296, + "line": 304, "column": 9 } } @@ -73885,15 +77516,15 @@ "binop": null }, "value": "condition", - "start": 9134, - "end": 9143, + "start": 9755, + "end": 9764, "loc": { "start": { - "line": 296, + "line": 304, "column": 9 }, "end": { - "line": 296, + "line": 304, "column": 18 } } @@ -73910,15 +77541,15 @@ "postfix": false, "binop": null }, - "start": 9143, - "end": 9144, + "start": 9764, + "end": 9765, "loc": { "start": { - "line": 296, + "line": 304, "column": 18 }, "end": { - "line": 296, + "line": 304, "column": 19 } } @@ -73935,15 +77566,15 @@ "postfix": false, "binop": null }, - "start": 9144, - "end": 9145, + "start": 9765, + "end": 9766, "loc": { "start": { - "line": 296, + "line": 304, "column": 19 }, "end": { - "line": 296, + "line": 304, "column": 20 } } @@ -73951,15 +77582,15 @@ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", - "start": 9155, - "end": 9259, + "start": 9776, + "end": 9880, "loc": { "start": { - "line": 297, + "line": 305, "column": 8 }, "end": { - "line": 299, + "line": 307, "column": 11 } } @@ -73979,15 +77610,15 @@ "updateContext": null }, "value": "this", - "start": 9269, - "end": 9273, + "start": 9890, + "end": 9894, "loc": { "start": { - "line": 300, + "line": 308, "column": 8 }, "end": { - "line": 300, + "line": 308, "column": 12 } } @@ -74005,15 +77636,15 @@ "binop": null, "updateContext": null }, - "start": 9273, - "end": 9274, + "start": 9894, + "end": 9895, "loc": { "start": { - "line": 300, + "line": 308, "column": 12 }, "end": { - "line": 300, + "line": 308, "column": 13 } } @@ -74031,15 +77662,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9274, - "end": 9290, + "start": 9895, + "end": 9911, "loc": { "start": { - "line": 300, + "line": 308, "column": 13 }, "end": { - "line": 300, + "line": 308, "column": 29 } } @@ -74058,15 +77689,15 @@ "updateContext": null }, "value": "=", - "start": 9291, - "end": 9292, + "start": 9912, + "end": 9913, "loc": { "start": { - "line": 300, + "line": 308, "column": 30 }, "end": { - "line": 300, + "line": 308, "column": 31 } } @@ -74086,15 +77717,15 @@ "updateContext": null }, "value": "true", - "start": 9293, - "end": 9297, + "start": 9914, + "end": 9918, "loc": { "start": { - "line": 300, + "line": 308, "column": 32 }, "end": { - "line": 300, + "line": 308, "column": 36 } } @@ -74112,15 +77743,15 @@ "binop": null, "updateContext": null }, - "start": 9297, - "end": 9298, + "start": 9918, + "end": 9919, "loc": { "start": { - "line": 300, + "line": 308, "column": 36 }, "end": { - "line": 300, + "line": 308, "column": 37 } } @@ -74140,15 +77771,15 @@ "updateContext": null }, "value": "return", - "start": 9308, - "end": 9314, + "start": 9929, + "end": 9935, "loc": { "start": { - "line": 301, + "line": 309, "column": 8 }, "end": { - "line": 301, + "line": 309, "column": 14 } } @@ -74168,15 +77799,15 @@ "updateContext": null }, "value": "true", - "start": 9315, - "end": 9319, + "start": 9936, + "end": 9940, "loc": { "start": { - "line": 301, + "line": 309, "column": 15 }, "end": { - "line": 301, + "line": 309, "column": 19 } } @@ -74194,15 +77825,15 @@ "binop": null, "updateContext": null }, - "start": 9319, - "end": 9320, + "start": 9940, + "end": 9941, "loc": { "start": { - "line": 301, + "line": 309, "column": 19 }, "end": { - "line": 301, + "line": 309, "column": 20 } } @@ -74219,15 +77850,15 @@ "postfix": false, "binop": null }, - "start": 9328, - "end": 9329, + "start": 9949, + "end": 9950, "loc": { "start": { - "line": 302, + "line": 310, "column": 6 }, "end": { - "line": 302, + "line": 310, "column": 7 } } @@ -74247,15 +77878,15 @@ "updateContext": null }, "value": "else", - "start": 9330, - "end": 9334, + "start": 9951, + "end": 9955, "loc": { "start": { - "line": 302, + "line": 310, "column": 8 }, "end": { - "line": 302, + "line": 310, "column": 12 } } @@ -74272,15 +77903,15 @@ "postfix": false, "binop": null }, - "start": 9335, - "end": 9336, + "start": 9956, + "end": 9957, "loc": { "start": { - "line": 302, + "line": 310, "column": 13 }, "end": { - "line": 302, + "line": 310, "column": 14 } } @@ -74300,15 +77931,15 @@ "updateContext": null }, "value": "this", - "start": 9346, - "end": 9350, + "start": 9967, + "end": 9971, "loc": { "start": { - "line": 303, + "line": 311, "column": 8 }, "end": { - "line": 303, + "line": 311, "column": 12 } } @@ -74326,15 +77957,15 @@ "binop": null, "updateContext": null }, - "start": 9350, - "end": 9351, + "start": 9971, + "end": 9972, "loc": { "start": { - "line": 303, + "line": 311, "column": 12 }, "end": { - "line": 303, + "line": 311, "column": 13 } } @@ -74352,15 +77983,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9351, - "end": 9367, + "start": 9972, + "end": 9988, "loc": { "start": { - "line": 303, + "line": 311, "column": 13 }, "end": { - "line": 303, + "line": 311, "column": 29 } } @@ -74379,15 +78010,15 @@ "updateContext": null }, "value": "=", - "start": 9368, - "end": 9369, + "start": 9989, + "end": 9990, "loc": { "start": { - "line": 303, + "line": 311, "column": 30 }, "end": { - "line": 303, + "line": 311, "column": 31 } } @@ -74407,15 +78038,15 @@ "updateContext": null }, "value": "false", - "start": 9370, - "end": 9375, + "start": 9991, + "end": 9996, "loc": { "start": { - "line": 303, + "line": 311, "column": 32 }, "end": { - "line": 303, + "line": 311, "column": 37 } } @@ -74433,15 +78064,15 @@ "binop": null, "updateContext": null }, - "start": 9375, - "end": 9376, + "start": 9996, + "end": 9997, "loc": { "start": { - "line": 303, + "line": 311, "column": 37 }, "end": { - "line": 303, + "line": 311, "column": 38 } } @@ -74461,15 +78092,15 @@ "updateContext": null }, "value": "return", - "start": 9386, - "end": 9392, + "start": 10007, + "end": 10013, "loc": { "start": { - "line": 304, + "line": 312, "column": 8 }, "end": { - "line": 304, + "line": 312, "column": 14 } } @@ -74489,15 +78120,15 @@ "updateContext": null }, "value": "false", - "start": 9393, - "end": 9398, + "start": 10014, + "end": 10019, "loc": { "start": { - "line": 304, + "line": 312, "column": 15 }, "end": { - "line": 304, + "line": 312, "column": 20 } } @@ -74515,15 +78146,15 @@ "binop": null, "updateContext": null }, - "start": 9398, - "end": 9399, + "start": 10019, + "end": 10020, "loc": { "start": { - "line": 304, + "line": 312, "column": 20 }, "end": { - "line": 304, + "line": 312, "column": 21 } } @@ -74540,15 +78171,15 @@ "postfix": false, "binop": null }, - "start": 9407, - "end": 9408, + "start": 10028, + "end": 10029, "loc": { "start": { - "line": 305, + "line": 313, "column": 6 }, "end": { - "line": 305, + "line": 313, "column": 7 } } @@ -74565,15 +78196,15 @@ "postfix": false, "binop": null }, - "start": 9414, - "end": 9415, + "start": 10035, + "end": 10036, "loc": { "start": { - "line": 306, + "line": 314, "column": 4 }, "end": { - "line": 306, + "line": 314, "column": 5 } } @@ -74593,15 +78224,15 @@ "updateContext": null }, "value": "if", - "start": 9423, - "end": 9425, + "start": 10044, + "end": 10046, "loc": { "start": { - "line": 308, + "line": 316, "column": 4 }, "end": { - "line": 308, + "line": 316, "column": 6 } } @@ -74618,15 +78249,15 @@ "postfix": false, "binop": null }, - "start": 9425, - "end": 9426, + "start": 10046, + "end": 10047, "loc": { "start": { - "line": 308, + "line": 316, "column": 6 }, "end": { - "line": 308, + "line": 316, "column": 7 } } @@ -74646,15 +78277,15 @@ "updateContext": null }, "value": "typeof", - "start": 9426, - "end": 9432, + "start": 10047, + "end": 10053, "loc": { "start": { - "line": 308, + "line": 316, "column": 7 }, "end": { - "line": 308, + "line": 316, "column": 13 } } @@ -74672,15 +78303,15 @@ "binop": null }, "value": "maxLength", - "start": 9433, - "end": 9442, + "start": 10054, + "end": 10063, "loc": { "start": { - "line": 308, + "line": 316, "column": 14 }, "end": { - "line": 308, + "line": 316, "column": 23 } } @@ -74699,15 +78330,15 @@ "updateContext": null }, "value": "===", - "start": 9443, - "end": 9446, + "start": 10064, + "end": 10067, "loc": { "start": { - "line": 308, + "line": 316, "column": 24 }, "end": { - "line": 308, + "line": 316, "column": 27 } } @@ -74726,15 +78357,15 @@ "updateContext": null }, "value": "object", - "start": 9447, - "end": 9455, + "start": 10068, + "end": 10076, "loc": { "start": { - "line": 308, + "line": 316, "column": 28 }, "end": { - "line": 308, + "line": 316, "column": 36 } } @@ -74751,15 +78382,15 @@ "postfix": false, "binop": null }, - "start": 9455, - "end": 9456, + "start": 10076, + "end": 10077, "loc": { "start": { - "line": 308, + "line": 316, "column": 36 }, "end": { - "line": 308, + "line": 316, "column": 37 } } @@ -74776,15 +78407,15 @@ "postfix": false, "binop": null }, - "start": 9456, - "end": 9457, + "start": 10077, + "end": 10078, "loc": { "start": { - "line": 308, + "line": 316, "column": 37 }, "end": { - "line": 308, + "line": 316, "column": 38 } } @@ -74804,15 +78435,15 @@ "updateContext": null }, "value": "let", - "start": 9465, - "end": 9468, + "start": 10086, + "end": 10089, "loc": { "start": { - "line": 309, + "line": 317, "column": 6 }, "end": { - "line": 309, + "line": 317, "column": 9 } } @@ -74830,15 +78461,15 @@ "binop": null }, "value": "condition", - "start": 9469, - "end": 9478, + "start": 10090, + "end": 10099, "loc": { "start": { - "line": 309, + "line": 317, "column": 10 }, "end": { - "line": 309, + "line": 317, "column": 19 } } @@ -74857,15 +78488,15 @@ "updateContext": null }, "value": "=", - "start": 9479, - "end": 9480, + "start": 10100, + "end": 10101, "loc": { "start": { - "line": 309, + "line": 317, "column": 20 }, "end": { - "line": 309, + "line": 317, "column": 21 } } @@ -74883,15 +78514,15 @@ "binop": null }, "value": "currentInput", - "start": 9481, - "end": 9493, + "start": 10102, + "end": 10114, "loc": { "start": { - "line": 309, + "line": 317, "column": 22 }, "end": { - "line": 309, + "line": 317, "column": 34 } } @@ -74909,15 +78540,15 @@ "binop": null, "updateContext": null }, - "start": 9493, - "end": 9494, + "start": 10114, + "end": 10115, "loc": { "start": { - "line": 309, + "line": 317, "column": 34 }, "end": { - "line": 309, + "line": 317, "column": 35 } } @@ -74935,15 +78566,15 @@ "binop": null }, "value": "length", - "start": 9494, - "end": 9500, + "start": 10115, + "end": 10121, "loc": { "start": { - "line": 309, + "line": 317, "column": 35 }, "end": { - "line": 309, + "line": 317, "column": 41 } } @@ -74962,15 +78593,15 @@ "updateContext": null }, "value": "===", - "start": 9501, - "end": 9504, + "start": 10122, + "end": 10125, "loc": { "start": { - "line": 309, + "line": 317, "column": 42 }, "end": { - "line": 309, + "line": 317, "column": 45 } } @@ -74988,15 +78619,15 @@ "binop": null }, "value": "maxLength", - "start": 9505, - "end": 9514, + "start": 10126, + "end": 10135, "loc": { "start": { - "line": 309, + "line": 317, "column": 46 }, "end": { - "line": 309, + "line": 317, "column": 55 } } @@ -75014,15 +78645,15 @@ "binop": null, "updateContext": null }, - "start": 9514, - "end": 9515, + "start": 10135, + "end": 10136, "loc": { "start": { - "line": 309, + "line": 317, "column": 55 }, "end": { - "line": 309, + "line": 317, "column": 56 } } @@ -75040,15 +78671,15 @@ "binop": null }, "value": "options", - "start": 9515, - "end": 9522, + "start": 10136, + "end": 10143, "loc": { "start": { - "line": 309, + "line": 317, "column": 56 }, "end": { - "line": 309, + "line": 317, "column": 63 } } @@ -75066,15 +78697,15 @@ "binop": null, "updateContext": null }, - "start": 9522, - "end": 9523, + "start": 10143, + "end": 10144, "loc": { "start": { - "line": 309, + "line": 317, "column": 63 }, "end": { - "line": 309, + "line": 317, "column": 64 } } @@ -75092,15 +78723,15 @@ "binop": null }, "value": "inputName", - "start": 9523, - "end": 9532, + "start": 10144, + "end": 10153, "loc": { "start": { - "line": 309, + "line": 317, "column": 64 }, "end": { - "line": 309, + "line": 317, "column": 73 } } @@ -75118,15 +78749,15 @@ "binop": null, "updateContext": null }, - "start": 9532, - "end": 9533, + "start": 10153, + "end": 10154, "loc": { "start": { - "line": 309, + "line": 317, "column": 73 }, "end": { - "line": 309, + "line": 317, "column": 74 } } @@ -75144,15 +78775,15 @@ "binop": null, "updateContext": null }, - "start": 9533, - "end": 9534, + "start": 10154, + "end": 10155, "loc": { "start": { - "line": 309, + "line": 317, "column": 74 }, "end": { - "line": 309, + "line": 317, "column": 75 } } @@ -75172,15 +78803,15 @@ "updateContext": null }, "value": "if", - "start": 9544, - "end": 9546, + "start": 10165, + "end": 10167, "loc": { "start": { - "line": 311, + "line": 319, "column": 6 }, "end": { - "line": 311, + "line": 319, "column": 8 } } @@ -75197,15 +78828,15 @@ "postfix": false, "binop": null }, - "start": 9546, - "end": 9547, + "start": 10167, + "end": 10168, "loc": { "start": { - "line": 311, + "line": 319, "column": 8 }, "end": { - "line": 311, + "line": 319, "column": 9 } } @@ -75223,15 +78854,15 @@ "binop": null }, "value": "options", - "start": 9547, - "end": 9554, + "start": 10168, + "end": 10175, "loc": { "start": { - "line": 311, + "line": 319, "column": 9 }, "end": { - "line": 311, + "line": 319, "column": 16 } } @@ -75249,15 +78880,15 @@ "binop": null, "updateContext": null }, - "start": 9554, - "end": 9555, + "start": 10175, + "end": 10176, "loc": { "start": { - "line": 311, + "line": 319, "column": 16 }, "end": { - "line": 311, + "line": 319, "column": 17 } } @@ -75275,15 +78906,15 @@ "binop": null }, "value": "debug", - "start": 9555, - "end": 9560, + "start": 10176, + "end": 10181, "loc": { "start": { - "line": 311, + "line": 319, "column": 17 }, "end": { - "line": 311, + "line": 319, "column": 22 } } @@ -75300,15 +78931,15 @@ "postfix": false, "binop": null }, - "start": 9560, - "end": 9561, + "start": 10181, + "end": 10182, "loc": { "start": { - "line": 311, + "line": 319, "column": 22 }, "end": { - "line": 311, + "line": 319, "column": 23 } } @@ -75325,15 +78956,15 @@ "postfix": false, "binop": null }, - "start": 9561, - "end": 9562, + "start": 10182, + "end": 10183, "loc": { "start": { - "line": 311, + "line": 319, "column": 23 }, "end": { - "line": 311, + "line": 319, "column": 24 } } @@ -75351,15 +78982,15 @@ "binop": null }, "value": "console", - "start": 9572, - "end": 9579, + "start": 10193, + "end": 10200, "loc": { "start": { - "line": 312, + "line": 320, "column": 8 }, "end": { - "line": 312, + "line": 320, "column": 15 } } @@ -75377,15 +79008,15 @@ "binop": null, "updateContext": null }, - "start": 9579, - "end": 9580, + "start": 10200, + "end": 10201, "loc": { "start": { - "line": 312, + "line": 320, "column": 15 }, "end": { - "line": 312, + "line": 320, "column": 16 } } @@ -75403,15 +79034,15 @@ "binop": null }, "value": "log", - "start": 9580, - "end": 9583, + "start": 10201, + "end": 10204, "loc": { "start": { - "line": 312, + "line": 320, "column": 16 }, "end": { - "line": 312, + "line": 320, "column": 19 } } @@ -75428,15 +79059,15 @@ "postfix": false, "binop": null }, - "start": 9583, - "end": 9584, + "start": 10204, + "end": 10205, "loc": { "start": { - "line": 312, + "line": 320, "column": 19 }, "end": { - "line": 312, + "line": 320, "column": 20 } } @@ -75455,15 +79086,15 @@ "updateContext": null }, "value": "maxLength (obj) reached:", - "start": 9584, - "end": 9610, + "start": 10205, + "end": 10231, "loc": { "start": { - "line": 312, + "line": 320, "column": 20 }, "end": { - "line": 312, + "line": 320, "column": 46 } } @@ -75481,15 +79112,15 @@ "binop": null, "updateContext": null }, - "start": 9610, - "end": 9611, + "start": 10231, + "end": 10232, "loc": { "start": { - "line": 312, + "line": 320, "column": 46 }, "end": { - "line": 312, + "line": 320, "column": 47 } } @@ -75507,15 +79138,15 @@ "binop": null }, "value": "condition", - "start": 9612, - "end": 9621, + "start": 10233, + "end": 10242, "loc": { "start": { - "line": 312, + "line": 320, "column": 48 }, "end": { - "line": 312, + "line": 320, "column": 57 } } @@ -75532,15 +79163,15 @@ "postfix": false, "binop": null }, - "start": 9621, - "end": 9622, + "start": 10242, + "end": 10243, "loc": { "start": { - "line": 312, + "line": 320, "column": 57 }, "end": { - "line": 312, + "line": 320, "column": 58 } } @@ -75558,15 +79189,15 @@ "binop": null, "updateContext": null }, - "start": 9622, - "end": 9623, + "start": 10243, + "end": 10244, "loc": { "start": { - "line": 312, + "line": 320, "column": 58 }, "end": { - "line": 312, + "line": 320, "column": 59 } } @@ -75583,15 +79214,15 @@ "postfix": false, "binop": null }, - "start": 9631, - "end": 9632, + "start": 10252, + "end": 10253, "loc": { "start": { - "line": 313, + "line": 321, "column": 6 }, "end": { - "line": 313, + "line": 321, "column": 7 } } @@ -75611,15 +79242,15 @@ "updateContext": null }, "value": "if", - "start": 9642, - "end": 9644, + "start": 10263, + "end": 10265, "loc": { "start": { - "line": 315, + "line": 323, "column": 6 }, "end": { - "line": 315, + "line": 323, "column": 8 } } @@ -75636,15 +79267,15 @@ "postfix": false, "binop": null }, - "start": 9644, - "end": 9645, + "start": 10265, + "end": 10266, "loc": { "start": { - "line": 315, + "line": 323, "column": 8 }, "end": { - "line": 315, + "line": 323, "column": 9 } } @@ -75662,15 +79293,15 @@ "binop": null }, "value": "condition", - "start": 9645, - "end": 9654, + "start": 10266, + "end": 10275, "loc": { "start": { - "line": 315, + "line": 323, "column": 9 }, "end": { - "line": 315, + "line": 323, "column": 18 } } @@ -75687,15 +79318,15 @@ "postfix": false, "binop": null }, - "start": 9654, - "end": 9655, + "start": 10275, + "end": 10276, "loc": { "start": { - "line": 315, + "line": 323, "column": 18 }, "end": { - "line": 315, + "line": 323, "column": 19 } } @@ -75712,15 +79343,15 @@ "postfix": false, "binop": null }, - "start": 9655, - "end": 9656, + "start": 10276, + "end": 10277, "loc": { "start": { - "line": 315, + "line": 323, "column": 19 }, "end": { - "line": 315, + "line": 323, "column": 20 } } @@ -75740,15 +79371,15 @@ "updateContext": null }, "value": "this", - "start": 9666, - "end": 9670, + "start": 10287, + "end": 10291, "loc": { "start": { - "line": 316, + "line": 324, "column": 8 }, "end": { - "line": 316, + "line": 324, "column": 12 } } @@ -75766,15 +79397,15 @@ "binop": null, "updateContext": null }, - "start": 9670, - "end": 9671, + "start": 10291, + "end": 10292, "loc": { "start": { - "line": 316, + "line": 324, "column": 12 }, "end": { - "line": 316, + "line": 324, "column": 13 } } @@ -75792,15 +79423,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9671, - "end": 9687, + "start": 10292, + "end": 10308, "loc": { "start": { - "line": 316, + "line": 324, "column": 13 }, "end": { - "line": 316, + "line": 324, "column": 29 } } @@ -75819,15 +79450,15 @@ "updateContext": null }, "value": "=", - "start": 9688, - "end": 9689, + "start": 10309, + "end": 10310, "loc": { "start": { - "line": 316, + "line": 324, "column": 30 }, "end": { - "line": 316, + "line": 324, "column": 31 } } @@ -75847,15 +79478,15 @@ "updateContext": null }, "value": "true", - "start": 9690, - "end": 9694, + "start": 10311, + "end": 10315, "loc": { "start": { - "line": 316, + "line": 324, "column": 32 }, "end": { - "line": 316, + "line": 324, "column": 36 } } @@ -75873,15 +79504,15 @@ "binop": null, "updateContext": null }, - "start": 9694, - "end": 9695, + "start": 10315, + "end": 10316, "loc": { "start": { - "line": 316, + "line": 324, "column": 36 }, "end": { - "line": 316, + "line": 324, "column": 37 } } @@ -75901,15 +79532,15 @@ "updateContext": null }, "value": "return", - "start": 9705, - "end": 9711, + "start": 10326, + "end": 10332, "loc": { "start": { - "line": 317, + "line": 325, "column": 8 }, "end": { - "line": 317, + "line": 325, "column": 14 } } @@ -75929,15 +79560,15 @@ "updateContext": null }, "value": "true", - "start": 9712, - "end": 9716, + "start": 10333, + "end": 10337, "loc": { "start": { - "line": 317, + "line": 325, "column": 15 }, "end": { - "line": 317, + "line": 325, "column": 19 } } @@ -75955,15 +79586,15 @@ "binop": null, "updateContext": null }, - "start": 9716, - "end": 9717, + "start": 10337, + "end": 10338, "loc": { "start": { - "line": 317, + "line": 325, "column": 19 }, "end": { - "line": 317, + "line": 325, "column": 20 } } @@ -75980,15 +79611,15 @@ "postfix": false, "binop": null }, - "start": 9725, - "end": 9726, + "start": 10346, + "end": 10347, "loc": { "start": { - "line": 318, + "line": 326, "column": 6 }, "end": { - "line": 318, + "line": 326, "column": 7 } } @@ -76008,15 +79639,15 @@ "updateContext": null }, "value": "else", - "start": 9727, - "end": 9731, + "start": 10348, + "end": 10352, "loc": { "start": { - "line": 318, + "line": 326, "column": 8 }, "end": { - "line": 318, + "line": 326, "column": 12 } } @@ -76033,15 +79664,15 @@ "postfix": false, "binop": null }, - "start": 9732, - "end": 9733, + "start": 10353, + "end": 10354, "loc": { "start": { - "line": 318, + "line": 326, "column": 13 }, "end": { - "line": 318, + "line": 326, "column": 14 } } @@ -76061,15 +79692,15 @@ "updateContext": null }, "value": "this", - "start": 9743, - "end": 9747, + "start": 10364, + "end": 10368, "loc": { "start": { - "line": 319, + "line": 327, "column": 8 }, "end": { - "line": 319, + "line": 327, "column": 12 } } @@ -76087,15 +79718,15 @@ "binop": null, "updateContext": null }, - "start": 9747, - "end": 9748, + "start": 10368, + "end": 10369, "loc": { "start": { - "line": 319, + "line": 327, "column": 12 }, "end": { - "line": 319, + "line": 327, "column": 13 } } @@ -76113,15 +79744,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9748, - "end": 9764, + "start": 10369, + "end": 10385, "loc": { "start": { - "line": 319, + "line": 327, "column": 13 }, "end": { - "line": 319, + "line": 327, "column": 29 } } @@ -76140,15 +79771,15 @@ "updateContext": null }, "value": "=", - "start": 9765, - "end": 9766, + "start": 10386, + "end": 10387, "loc": { "start": { - "line": 319, + "line": 327, "column": 30 }, "end": { - "line": 319, + "line": 327, "column": 31 } } @@ -76168,15 +79799,15 @@ "updateContext": null }, "value": "false", - "start": 9767, - "end": 9772, + "start": 10388, + "end": 10393, "loc": { "start": { - "line": 319, + "line": 327, "column": 32 }, "end": { - "line": 319, + "line": 327, "column": 37 } } @@ -76194,15 +79825,15 @@ "binop": null, "updateContext": null }, - "start": 9772, - "end": 9773, + "start": 10393, + "end": 10394, "loc": { "start": { - "line": 319, + "line": 327, "column": 37 }, "end": { - "line": 319, + "line": 327, "column": 38 } } @@ -76222,15 +79853,15 @@ "updateContext": null }, "value": "return", - "start": 9783, - "end": 9789, + "start": 10404, + "end": 10410, "loc": { "start": { - "line": 320, + "line": 328, "column": 8 }, "end": { - "line": 320, + "line": 328, "column": 14 } } @@ -76250,15 +79881,15 @@ "updateContext": null }, "value": "false", - "start": 9790, - "end": 9795, + "start": 10411, + "end": 10416, "loc": { "start": { - "line": 320, + "line": 328, "column": 15 }, "end": { - "line": 320, + "line": 328, "column": 20 } } @@ -76276,15 +79907,15 @@ "binop": null, "updateContext": null }, - "start": 9795, - "end": 9796, + "start": 10416, + "end": 10417, "loc": { "start": { - "line": 320, + "line": 328, "column": 20 }, "end": { - "line": 320, + "line": 328, "column": 21 } } @@ -76301,15 +79932,15 @@ "postfix": false, "binop": null }, - "start": 9804, - "end": 9805, + "start": 10425, + "end": 10426, "loc": { "start": { - "line": 321, + "line": 329, "column": 6 }, "end": { - "line": 321, + "line": 329, "column": 7 } } @@ -76326,15 +79957,15 @@ "postfix": false, "binop": null }, - "start": 9811, - "end": 9812, + "start": 10432, + "end": 10433, "loc": { "start": { - "line": 322, + "line": 330, "column": 4 }, "end": { - "line": 322, + "line": 330, "column": 5 } } @@ -76351,15 +79982,15 @@ "postfix": false, "binop": null }, - "start": 9816, - "end": 9817, + "start": 10437, + "end": 10438, "loc": { "start": { - "line": 323, + "line": 331, "column": 2 }, "end": { - "line": 323, + "line": 331, "column": 3 } } @@ -76367,15 +79998,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", - "start": 9823, - "end": 9882, + "start": 10444, + "end": 10503, "loc": { "start": { - "line": 325, + "line": 333, "column": 2 }, "end": { - "line": 327, + "line": 335, "column": 5 } } @@ -76393,15 +80024,15 @@ "binop": null }, "value": "isMaxLengthReached", - "start": 9886, - "end": 9904, + "start": 10507, + "end": 10525, "loc": { "start": { - "line": 328, + "line": 336, "column": 2 }, "end": { - "line": 328, + "line": 336, "column": 20 } } @@ -76418,15 +80049,15 @@ "postfix": false, "binop": null }, - "start": 9904, - "end": 9905, + "start": 10525, + "end": 10526, "loc": { "start": { - "line": 328, + "line": 336, "column": 20 }, "end": { - "line": 328, + "line": 336, "column": 21 } } @@ -76443,15 +80074,15 @@ "postfix": false, "binop": null }, - "start": 9905, - "end": 9906, + "start": 10526, + "end": 10527, "loc": { "start": { - "line": 328, + "line": 336, "column": 21 }, "end": { - "line": 328, + "line": 336, "column": 22 } } @@ -76468,15 +80099,15 @@ "postfix": false, "binop": null }, - "start": 9906, - "end": 9907, + "start": 10527, + "end": 10528, "loc": { "start": { - "line": 328, + "line": 336, "column": 22 }, "end": { - "line": 328, + "line": 336, "column": 23 } } @@ -76496,15 +80127,15 @@ "updateContext": null }, "value": "return", - "start": 9913, - "end": 9919, + "start": 10534, + "end": 10540, "loc": { "start": { - "line": 329, + "line": 337, "column": 4 }, "end": { - "line": 329, + "line": 337, "column": 10 } } @@ -76522,15 +80153,15 @@ "binop": null }, "value": "Boolean", - "start": 9920, - "end": 9927, + "start": 10541, + "end": 10548, "loc": { "start": { - "line": 329, + "line": 337, "column": 11 }, "end": { - "line": 329, + "line": 337, "column": 18 } } @@ -76547,15 +80178,15 @@ "postfix": false, "binop": null }, - "start": 9927, - "end": 9928, + "start": 10548, + "end": 10549, "loc": { "start": { - "line": 329, + "line": 337, "column": 18 }, "end": { - "line": 329, + "line": 337, "column": 19 } } @@ -76575,15 +80206,15 @@ "updateContext": null }, "value": "this", - "start": 9928, - "end": 9932, + "start": 10549, + "end": 10553, "loc": { "start": { - "line": 329, + "line": 337, "column": 19 }, "end": { - "line": 329, + "line": 337, "column": 23 } } @@ -76601,15 +80232,15 @@ "binop": null, "updateContext": null }, - "start": 9932, - "end": 9933, + "start": 10553, + "end": 10554, "loc": { "start": { - "line": 329, + "line": 337, "column": 23 }, "end": { - "line": 329, + "line": 337, "column": 24 } } @@ -76627,15 +80258,15 @@ "binop": null }, "value": "maxLengthReached", - "start": 9933, - "end": 9949, + "start": 10554, + "end": 10570, "loc": { "start": { - "line": 329, + "line": 337, "column": 24 }, "end": { - "line": 329, + "line": 337, "column": 40 } } @@ -76652,15 +80283,15 @@ "postfix": false, "binop": null }, - "start": 9949, - "end": 9950, + "start": 10570, + "end": 10571, "loc": { "start": { - "line": 329, + "line": 337, "column": 40 }, "end": { - "line": 329, + "line": 337, "column": 41 } } @@ -76678,15 +80309,15 @@ "binop": null, "updateContext": null }, - "start": 9950, - "end": 9951, + "start": 10571, + "end": 10572, "loc": { "start": { - "line": 329, + "line": 337, "column": 41 }, "end": { - "line": 329, + "line": 337, "column": 42 } } @@ -76703,15 +80334,15 @@ "postfix": false, "binop": null }, - "start": 9955, - "end": 9956, + "start": 10576, + "end": 10577, "loc": { "start": { - "line": 330, + "line": 338, "column": 2 }, "end": { - "line": 330, + "line": 338, "column": 3 } } @@ -76719,15 +80350,15 @@ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", - "start": 9962, - "end": 10084, + "start": 10583, + "end": 10705, "loc": { "start": { - "line": 332, + "line": 340, "column": 2 }, "end": { - "line": 336, + "line": 344, "column": 5 } } @@ -76745,15 +80376,15 @@ "binop": null }, "value": "camelCase", - "start": 10088, - "end": 10097, + "start": 10709, + "end": 10718, "loc": { "start": { - "line": 337, + "line": 345, "column": 2 }, "end": { - "line": 337, + "line": 345, "column": 11 } } @@ -76770,15 +80401,15 @@ "postfix": false, "binop": null }, - "start": 10097, - "end": 10098, + "start": 10718, + "end": 10719, "loc": { "start": { - "line": 337, + "line": 345, "column": 11 }, "end": { - "line": 337, + "line": 345, "column": 12 } } @@ -76796,15 +80427,15 @@ "binop": null }, "value": "string", - "start": 10098, - "end": 10104, + "start": 10719, + "end": 10725, "loc": { "start": { - "line": 337, + "line": 345, "column": 12 }, "end": { - "line": 337, + "line": 345, "column": 18 } } @@ -76821,15 +80452,15 @@ "postfix": false, "binop": null }, - "start": 10104, - "end": 10105, + "start": 10725, + "end": 10726, "loc": { "start": { - "line": 337, + "line": 345, "column": 18 }, "end": { - "line": 337, + "line": 345, "column": 19 } } @@ -76846,15 +80477,15 @@ "postfix": false, "binop": null }, - "start": 10105, - "end": 10106, + "start": 10726, + "end": 10727, "loc": { "start": { - "line": 337, + "line": 345, "column": 19 }, "end": { - "line": 337, + "line": 345, "column": 20 } } @@ -76874,15 +80505,15 @@ "updateContext": null }, "value": "return", - "start": 10112, - "end": 10118, + "start": 10733, + "end": 10739, "loc": { "start": { - "line": 338, + "line": 346, "column": 4 }, "end": { - "line": 338, + "line": 346, "column": 10 } } @@ -76900,15 +80531,15 @@ "binop": null }, "value": "string", - "start": 10119, - "end": 10125, + "start": 10740, + "end": 10746, "loc": { "start": { - "line": 338, + "line": 346, "column": 11 }, "end": { - "line": 338, + "line": 346, "column": 17 } } @@ -76926,15 +80557,15 @@ "binop": null, "updateContext": null }, - "start": 10125, - "end": 10126, + "start": 10746, + "end": 10747, "loc": { "start": { - "line": 338, + "line": 346, "column": 17 }, "end": { - "line": 338, + "line": 346, "column": 18 } } @@ -76952,15 +80583,15 @@ "binop": null }, "value": "toLowerCase", - "start": 10126, - "end": 10137, + "start": 10747, + "end": 10758, "loc": { "start": { - "line": 338, + "line": 346, "column": 18 }, "end": { - "line": 338, + "line": 346, "column": 29 } } @@ -76977,15 +80608,15 @@ "postfix": false, "binop": null }, - "start": 10137, - "end": 10138, + "start": 10758, + "end": 10759, "loc": { "start": { - "line": 338, + "line": 346, "column": 29 }, "end": { - "line": 338, + "line": 346, "column": 30 } } @@ -77002,15 +80633,15 @@ "postfix": false, "binop": null }, - "start": 10138, - "end": 10139, + "start": 10759, + "end": 10760, "loc": { "start": { - "line": 338, + "line": 346, "column": 30 }, "end": { - "line": 338, + "line": 346, "column": 31 } } @@ -77028,15 +80659,15 @@ "binop": null, "updateContext": null }, - "start": 10139, - "end": 10140, + "start": 10760, + "end": 10761, "loc": { "start": { - "line": 338, + "line": 346, "column": 31 }, "end": { - "line": 338, + "line": 346, "column": 32 } } @@ -77054,15 +80685,15 @@ "binop": null }, "value": "trim", - "start": 10140, - "end": 10144, + "start": 10761, + "end": 10765, "loc": { "start": { - "line": 338, + "line": 346, "column": 32 }, "end": { - "line": 338, + "line": 346, "column": 36 } } @@ -77079,15 +80710,15 @@ "postfix": false, "binop": null }, - "start": 10144, - "end": 10145, + "start": 10765, + "end": 10766, "loc": { "start": { - "line": 338, + "line": 346, "column": 36 }, "end": { - "line": 338, + "line": 346, "column": 37 } } @@ -77104,15 +80735,15 @@ "postfix": false, "binop": null }, - "start": 10145, - "end": 10146, + "start": 10766, + "end": 10767, "loc": { "start": { - "line": 338, + "line": 346, "column": 37 }, "end": { - "line": 338, + "line": 346, "column": 38 } } @@ -77130,15 +80761,15 @@ "binop": null, "updateContext": null }, - "start": 10146, - "end": 10147, + "start": 10767, + "end": 10768, "loc": { "start": { - "line": 338, + "line": 346, "column": 38 }, "end": { - "line": 338, + "line": 346, "column": 39 } } @@ -77156,15 +80787,15 @@ "binop": null }, "value": "split", - "start": 10147, - "end": 10152, + "start": 10768, + "end": 10773, "loc": { "start": { - "line": 338, + "line": 346, "column": 39 }, "end": { - "line": 338, + "line": 346, "column": 44 } } @@ -77181,15 +80812,15 @@ "postfix": false, "binop": null }, - "start": 10152, - "end": 10153, + "start": 10773, + "end": 10774, "loc": { "start": { - "line": 338, + "line": 346, "column": 44 }, "end": { - "line": 338, + "line": 346, "column": 45 } } @@ -77211,15 +80842,15 @@ "pattern": "[.\\-_\\s]", "flags": "g" }, - "start": 10153, - "end": 10164, + "start": 10774, + "end": 10785, "loc": { "start": { - "line": 338, + "line": 346, "column": 45 }, "end": { - "line": 338, + "line": 346, "column": 56 } } @@ -77236,15 +80867,15 @@ "postfix": false, "binop": null }, - "start": 10164, - "end": 10165, + "start": 10785, + "end": 10786, "loc": { "start": { - "line": 338, + "line": 346, "column": 56 }, "end": { - "line": 338, + "line": 346, "column": 57 } } @@ -77262,15 +80893,15 @@ "binop": null, "updateContext": null }, - "start": 10165, - "end": 10166, + "start": 10786, + "end": 10787, "loc": { "start": { - "line": 338, + "line": 346, "column": 57 }, "end": { - "line": 338, + "line": 346, "column": 58 } } @@ -77288,15 +80919,15 @@ "binop": null }, "value": "reduce", - "start": 10166, - "end": 10172, + "start": 10787, + "end": 10793, "loc": { "start": { - "line": 338, + "line": 346, "column": 58 }, "end": { - "line": 338, + "line": 346, "column": 64 } } @@ -77313,15 +80944,15 @@ "postfix": false, "binop": null }, - "start": 10172, - "end": 10173, + "start": 10793, + "end": 10794, "loc": { "start": { - "line": 338, + "line": 346, "column": 64 }, "end": { - "line": 338, + "line": 346, "column": 65 } } @@ -77338,15 +80969,15 @@ "postfix": false, "binop": null }, - "start": 10173, - "end": 10174, + "start": 10794, + "end": 10795, "loc": { "start": { - "line": 338, + "line": 346, "column": 65 }, "end": { - "line": 338, + "line": 346, "column": 66 } } @@ -77364,15 +80995,15 @@ "binop": null }, "value": "string", - "start": 10174, - "end": 10180, + "start": 10795, + "end": 10801, "loc": { "start": { - "line": 338, + "line": 346, "column": 66 }, "end": { - "line": 338, + "line": 346, "column": 72 } } @@ -77390,15 +81021,15 @@ "binop": null, "updateContext": null }, - "start": 10180, - "end": 10181, + "start": 10801, + "end": 10802, "loc": { "start": { - "line": 338, + "line": 346, "column": 72 }, "end": { - "line": 338, + "line": 346, "column": 73 } } @@ -77416,15 +81047,15 @@ "binop": null }, "value": "word", - "start": 10182, - "end": 10186, + "start": 10803, + "end": 10807, "loc": { "start": { - "line": 338, + "line": 346, "column": 74 }, "end": { - "line": 338, + "line": 346, "column": 78 } } @@ -77441,15 +81072,15 @@ "postfix": false, "binop": null }, - "start": 10186, - "end": 10187, + "start": 10807, + "end": 10808, "loc": { "start": { - "line": 338, + "line": 346, "column": 78 }, "end": { - "line": 338, + "line": 346, "column": 79 } } @@ -77467,15 +81098,15 @@ "binop": null, "updateContext": null }, - "start": 10188, - "end": 10190, + "start": 10809, + "end": 10811, "loc": { "start": { - "line": 338, + "line": 346, "column": 80 }, "end": { - "line": 338, + "line": 346, "column": 82 } } @@ -77493,15 +81124,15 @@ "binop": null }, "value": "string", - "start": 10191, - "end": 10197, + "start": 10812, + "end": 10818, "loc": { "start": { - "line": 338, + "line": 346, "column": 83 }, "end": { - "line": 338, + "line": 346, "column": 89 } } @@ -77520,15 +81151,15 @@ "updateContext": null }, "value": "+", - "start": 10198, - "end": 10199, + "start": 10819, + "end": 10820, "loc": { "start": { - "line": 338, + "line": 346, "column": 90 }, "end": { - "line": 338, + "line": 346, "column": 91 } } @@ -77546,15 +81177,15 @@ "binop": null }, "value": "word", - "start": 10200, - "end": 10204, + "start": 10821, + "end": 10825, "loc": { "start": { - "line": 338, + "line": 346, "column": 92 }, "end": { - "line": 338, + "line": 346, "column": 96 } } @@ -77572,15 +81203,15 @@ "binop": null, "updateContext": null }, - "start": 10204, - "end": 10205, + "start": 10825, + "end": 10826, "loc": { "start": { - "line": 338, + "line": 346, "column": 96 }, "end": { - "line": 338, + "line": 346, "column": 97 } } @@ -77599,15 +81230,15 @@ "updateContext": null }, "value": 0, - "start": 10205, - "end": 10206, + "start": 10826, + "end": 10827, "loc": { "start": { - "line": 338, + "line": 346, "column": 97 }, "end": { - "line": 338, + "line": 346, "column": 98 } } @@ -77625,15 +81256,15 @@ "binop": null, "updateContext": null }, - "start": 10206, - "end": 10207, + "start": 10827, + "end": 10828, "loc": { "start": { - "line": 338, + "line": 346, "column": 98 }, "end": { - "line": 338, + "line": 346, "column": 99 } } @@ -77651,15 +81282,15 @@ "binop": null, "updateContext": null }, - "start": 10207, - "end": 10208, + "start": 10828, + "end": 10829, "loc": { "start": { - "line": 338, + "line": 346, "column": 99 }, "end": { - "line": 338, + "line": 346, "column": 100 } } @@ -77677,15 +81308,15 @@ "binop": null }, "value": "toUpperCase", - "start": 10208, - "end": 10219, + "start": 10829, + "end": 10840, "loc": { "start": { - "line": 338, + "line": 346, "column": 100 }, "end": { - "line": 338, + "line": 346, "column": 111 } } @@ -77702,15 +81333,15 @@ "postfix": false, "binop": null }, - "start": 10219, - "end": 10220, + "start": 10840, + "end": 10841, "loc": { "start": { - "line": 338, + "line": 346, "column": 111 }, "end": { - "line": 338, + "line": 346, "column": 112 } } @@ -77727,15 +81358,15 @@ "postfix": false, "binop": null }, - "start": 10220, - "end": 10221, + "start": 10841, + "end": 10842, "loc": { "start": { - "line": 338, + "line": 346, "column": 112 }, "end": { - "line": 338, + "line": 346, "column": 113 } } @@ -77754,15 +81385,15 @@ "updateContext": null }, "value": "+", - "start": 10222, - "end": 10223, + "start": 10843, + "end": 10844, "loc": { "start": { - "line": 338, + "line": 346, "column": 114 }, "end": { - "line": 338, + "line": 346, "column": 115 } } @@ -77780,15 +81411,15 @@ "binop": null }, "value": "word", - "start": 10224, - "end": 10228, + "start": 10845, + "end": 10849, "loc": { "start": { - "line": 338, + "line": 346, "column": 116 }, "end": { - "line": 338, + "line": 346, "column": 120 } } @@ -77806,15 +81437,15 @@ "binop": null, "updateContext": null }, - "start": 10228, - "end": 10229, + "start": 10849, + "end": 10850, "loc": { "start": { - "line": 338, + "line": 346, "column": 120 }, "end": { - "line": 338, + "line": 346, "column": 121 } } @@ -77832,15 +81463,15 @@ "binop": null }, "value": "slice", - "start": 10229, - "end": 10234, + "start": 10850, + "end": 10855, "loc": { "start": { - "line": 338, + "line": 346, "column": 121 }, "end": { - "line": 338, + "line": 346, "column": 126 } } @@ -77857,15 +81488,15 @@ "postfix": false, "binop": null }, - "start": 10234, - "end": 10235, + "start": 10855, + "end": 10856, "loc": { "start": { - "line": 338, + "line": 346, "column": 126 }, "end": { - "line": 338, + "line": 346, "column": 127 } } @@ -77884,15 +81515,15 @@ "updateContext": null }, "value": 1, - "start": 10235, - "end": 10236, + "start": 10856, + "end": 10857, "loc": { "start": { - "line": 338, + "line": 346, "column": 127 }, "end": { - "line": 338, + "line": 346, "column": 128 } } @@ -77909,15 +81540,15 @@ "postfix": false, "binop": null }, - "start": 10236, - "end": 10237, + "start": 10857, + "end": 10858, "loc": { "start": { - "line": 338, + "line": 346, "column": 128 }, "end": { - "line": 338, + "line": 346, "column": 129 } } @@ -77934,15 +81565,15 @@ "postfix": false, "binop": null }, - "start": 10237, - "end": 10238, + "start": 10858, + "end": 10859, "loc": { "start": { - "line": 338, + "line": 346, "column": 129 }, "end": { - "line": 338, + "line": 346, "column": 130 } } @@ -77960,15 +81591,15 @@ "binop": null, "updateContext": null }, - "start": 10238, - "end": 10239, + "start": 10859, + "end": 10860, "loc": { "start": { - "line": 338, + "line": 346, "column": 130 }, "end": { - "line": 338, + "line": 346, "column": 131 } } @@ -77985,15 +81616,15 @@ "postfix": false, "binop": null }, - "start": 10243, - "end": 10244, + "start": 10864, + "end": 10865, "loc": { "start": { - "line": 339, + "line": 347, "column": 2 }, "end": { - "line": 339, + "line": 347, "column": 3 } } @@ -78011,15 +81642,15 @@ "binop": null, "updateContext": null }, - "start": 10244, - "end": 10245, + "start": 10865, + "end": 10866, "loc": { "start": { - "line": 339, + "line": 347, "column": 3 }, "end": { - "line": 339, + "line": 347, "column": 4 } } @@ -78027,15 +81658,15 @@ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", - "start": 10251, - "end": 10431, + "start": 10872, + "end": 11052, "loc": { "start": { - "line": 341, + "line": 349, "column": 2 }, "end": { - "line": 346, + "line": 354, "column": 5 } } @@ -78053,15 +81684,15 @@ "binop": null }, "value": "countInArray", - "start": 10435, - "end": 10447, + "start": 11056, + "end": 11068, "loc": { "start": { - "line": 347, + "line": 355, "column": 2 }, "end": { - "line": 347, + "line": 355, "column": 14 } } @@ -78078,15 +81709,15 @@ "postfix": false, "binop": null }, - "start": 10447, - "end": 10448, + "start": 11068, + "end": 11069, "loc": { "start": { - "line": 347, + "line": 355, "column": 14 }, "end": { - "line": 347, + "line": 355, "column": 15 } } @@ -78104,15 +81735,15 @@ "binop": null }, "value": "array", - "start": 10448, - "end": 10453, + "start": 11069, + "end": 11074, "loc": { "start": { - "line": 347, + "line": 355, "column": 15 }, "end": { - "line": 347, + "line": 355, "column": 20 } } @@ -78130,15 +81761,15 @@ "binop": null, "updateContext": null }, - "start": 10453, - "end": 10454, + "start": 11074, + "end": 11075, "loc": { "start": { - "line": 347, + "line": 355, "column": 20 }, "end": { - "line": 347, + "line": 355, "column": 21 } } @@ -78156,15 +81787,15 @@ "binop": null }, "value": "value", - "start": 10455, - "end": 10460, + "start": 11076, + "end": 11081, "loc": { "start": { - "line": 347, + "line": 355, "column": 22 }, "end": { - "line": 347, + "line": 355, "column": 27 } } @@ -78181,15 +81812,15 @@ "postfix": false, "binop": null }, - "start": 10460, - "end": 10461, + "start": 11081, + "end": 11082, "loc": { "start": { - "line": 347, + "line": 355, "column": 27 }, "end": { - "line": 347, + "line": 355, "column": 28 } } @@ -78206,15 +81837,15 @@ "postfix": false, "binop": null }, - "start": 10461, - "end": 10462, + "start": 11082, + "end": 11083, "loc": { "start": { - "line": 347, + "line": 355, "column": 28 }, "end": { - "line": 347, + "line": 355, "column": 29 } } @@ -78234,15 +81865,15 @@ "updateContext": null }, "value": "return", - "start": 10468, - "end": 10474, + "start": 11089, + "end": 11095, "loc": { "start": { - "line": 348, + "line": 356, "column": 4 }, "end": { - "line": 348, + "line": 356, "column": 10 } } @@ -78260,15 +81891,15 @@ "binop": null }, "value": "array", - "start": 10475, - "end": 10480, + "start": 11096, + "end": 11101, "loc": { "start": { - "line": 348, + "line": 356, "column": 11 }, "end": { - "line": 348, + "line": 356, "column": 16 } } @@ -78286,15 +81917,15 @@ "binop": null, "updateContext": null }, - "start": 10480, - "end": 10481, + "start": 11101, + "end": 11102, "loc": { "start": { - "line": 348, + "line": 356, "column": 16 }, "end": { - "line": 348, + "line": 356, "column": 17 } } @@ -78312,15 +81943,15 @@ "binop": null }, "value": "reduce", - "start": 10481, - "end": 10487, + "start": 11102, + "end": 11108, "loc": { "start": { - "line": 348, + "line": 356, "column": 17 }, "end": { - "line": 348, + "line": 356, "column": 23 } } @@ -78337,15 +81968,15 @@ "postfix": false, "binop": null }, - "start": 10487, - "end": 10488, + "start": 11108, + "end": 11109, "loc": { "start": { - "line": 348, + "line": 356, "column": 23 }, "end": { - "line": 348, + "line": 356, "column": 24 } } @@ -78362,15 +81993,15 @@ "postfix": false, "binop": null }, - "start": 10488, - "end": 10489, + "start": 11109, + "end": 11110, "loc": { "start": { - "line": 348, + "line": 356, "column": 24 }, "end": { - "line": 348, + "line": 356, "column": 25 } } @@ -78388,15 +82019,15 @@ "binop": null }, "value": "n", - "start": 10489, - "end": 10490, + "start": 11110, + "end": 11111, "loc": { "start": { - "line": 348, + "line": 356, "column": 25 }, "end": { - "line": 348, + "line": 356, "column": 26 } } @@ -78414,15 +82045,15 @@ "binop": null, "updateContext": null }, - "start": 10490, - "end": 10491, + "start": 11111, + "end": 11112, "loc": { "start": { - "line": 348, + "line": 356, "column": 26 }, "end": { - "line": 348, + "line": 356, "column": 27 } } @@ -78440,15 +82071,15 @@ "binop": null }, "value": "x", - "start": 10492, - "end": 10493, + "start": 11113, + "end": 11114, "loc": { "start": { - "line": 348, + "line": 356, "column": 28 }, "end": { - "line": 348, + "line": 356, "column": 29 } } @@ -78465,15 +82096,15 @@ "postfix": false, "binop": null }, - "start": 10493, - "end": 10494, + "start": 11114, + "end": 11115, "loc": { "start": { - "line": 348, + "line": 356, "column": 29 }, "end": { - "line": 348, + "line": 356, "column": 30 } } @@ -78491,15 +82122,15 @@ "binop": null, "updateContext": null }, - "start": 10495, - "end": 10497, + "start": 11116, + "end": 11118, "loc": { "start": { - "line": 348, + "line": 356, "column": 31 }, "end": { - "line": 348, + "line": 356, "column": 33 } } @@ -78517,15 +82148,15 @@ "binop": null }, "value": "n", - "start": 10498, - "end": 10499, + "start": 11119, + "end": 11120, "loc": { "start": { - "line": 348, + "line": 356, "column": 34 }, "end": { - "line": 348, + "line": 356, "column": 35 } } @@ -78544,15 +82175,15 @@ "updateContext": null }, "value": "+", - "start": 10500, - "end": 10501, + "start": 11121, + "end": 11122, "loc": { "start": { - "line": 348, + "line": 356, "column": 36 }, "end": { - "line": 348, + "line": 356, "column": 37 } } @@ -78569,15 +82200,15 @@ "postfix": false, "binop": null }, - "start": 10502, - "end": 10503, + "start": 11123, + "end": 11124, "loc": { "start": { - "line": 348, + "line": 356, "column": 38 }, "end": { - "line": 348, + "line": 356, "column": 39 } } @@ -78595,15 +82226,15 @@ "binop": null }, "value": "x", - "start": 10503, - "end": 10504, + "start": 11124, + "end": 11125, "loc": { "start": { - "line": 348, + "line": 356, "column": 39 }, "end": { - "line": 348, + "line": 356, "column": 40 } } @@ -78622,15 +82253,15 @@ "updateContext": null }, "value": "===", - "start": 10505, - "end": 10508, + "start": 11126, + "end": 11129, "loc": { "start": { - "line": 348, + "line": 356, "column": 41 }, "end": { - "line": 348, + "line": 356, "column": 44 } } @@ -78648,15 +82279,15 @@ "binop": null }, "value": "value", - "start": 10509, - "end": 10514, + "start": 11130, + "end": 11135, "loc": { "start": { - "line": 348, + "line": 356, "column": 45 }, "end": { - "line": 348, + "line": 356, "column": 50 } } @@ -78673,15 +82304,15 @@ "postfix": false, "binop": null }, - "start": 10514, - "end": 10515, + "start": 11135, + "end": 11136, "loc": { "start": { - "line": 348, + "line": 356, "column": 50 }, "end": { - "line": 348, + "line": 356, "column": 51 } } @@ -78699,15 +82330,15 @@ "binop": null, "updateContext": null }, - "start": 10515, - "end": 10516, + "start": 11136, + "end": 11137, "loc": { "start": { - "line": 348, + "line": 356, "column": 51 }, "end": { - "line": 348, + "line": 356, "column": 52 } } @@ -78726,15 +82357,15 @@ "updateContext": null }, "value": 0, - "start": 10517, - "end": 10518, + "start": 11138, + "end": 11139, "loc": { "start": { - "line": 348, + "line": 356, "column": 53 }, "end": { - "line": 348, + "line": 356, "column": 54 } } @@ -78751,15 +82382,15 @@ "postfix": false, "binop": null }, - "start": 10518, - "end": 10519, + "start": 11139, + "end": 11140, "loc": { "start": { - "line": 348, + "line": 356, "column": 54 }, "end": { - "line": 348, + "line": 356, "column": 55 } } @@ -78777,15 +82408,15 @@ "binop": null, "updateContext": null }, - "start": 10519, - "end": 10520, + "start": 11140, + "end": 11141, "loc": { "start": { - "line": 348, + "line": 356, "column": 55 }, "end": { - "line": 348, + "line": 356, "column": 56 } } @@ -78802,15 +82433,15 @@ "postfix": false, "binop": null }, - "start": 10524, - "end": 10525, + "start": 11145, + "end": 11146, "loc": { "start": { - "line": 349, + "line": 357, "column": 2 }, "end": { - "line": 349, + "line": 357, "column": 3 } } @@ -78827,15 +82458,15 @@ "postfix": false, "binop": null }, - "start": 10529, - "end": 10530, + "start": 11150, + "end": 11151, "loc": { "start": { - "line": 351, + "line": 359, "column": 0 }, "end": { - "line": 351, + "line": 359, "column": 1 } } @@ -78855,15 +82486,15 @@ "updateContext": null }, "value": "export", - "start": 10534, - "end": 10540, + "start": 11155, + "end": 11161, "loc": { "start": { - "line": 353, + "line": 361, "column": 0 }, "end": { - "line": 353, + "line": 361, "column": 6 } } @@ -78883,15 +82514,15 @@ "updateContext": null }, "value": "default", - "start": 10541, - "end": 10548, + "start": 11162, + "end": 11169, "loc": { "start": { - "line": 353, + "line": 361, "column": 7 }, "end": { - "line": 353, + "line": 361, "column": 14 } } @@ -78909,15 +82540,15 @@ "binop": null }, "value": "Utilities", - "start": 10549, - "end": 10558, + "start": 11170, + "end": 11179, "loc": { "start": { - "line": 353, + "line": 361, "column": 15 }, "end": { - "line": 353, + "line": 361, "column": 24 } } @@ -78935,15 +82566,15 @@ "binop": null, "updateContext": null }, - "start": 10558, - "end": 10559, + "start": 11179, + "end": 11180, "loc": { "start": { - "line": 353, + "line": 361, "column": 24 }, "end": { - "line": 353, + "line": 361, "column": 25 } } @@ -78961,15 +82592,15 @@ "binop": null, "updateContext": null }, - "start": 10559, - "end": 10559, + "start": 11180, + "end": 11180, "loc": { "start": { - "line": 353, + "line": 361, "column": 25 }, "end": { - "line": 353, + "line": 361, "column": 25 } } diff --git a/docs/class/src/demo/App.js~App.html b/docs/class/src/demo/App.js~App.html index 99d7e3e2..29af7dd4 100644 --- a/docs/class/src/demo/App.js~App.html +++ b/docs/class/src/demo/App.js~App.html @@ -336,7 +336,7 @@ - source + source @@ -424,7 +424,7 @@ - source + source @@ -512,7 +512,7 @@ - source + source diff --git a/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html b/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html index 7d5edc55..911a7016 100644 --- a/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html +++ b/docs/class/src/lib/components/Keyboard.js~SimpleKeyboard.html @@ -1388,7 +1388,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1433,7 +1433,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1477,7 +1477,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1521,7 +1521,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1564,7 +1564,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1607,7 +1607,7 @@ As keys are pressed, text will be added/removed at that position within the inpu - source + source @@ -1731,7 +1731,7 @@ keyboard.clearInput(); - source + source @@ -2192,7 +2192,7 @@ keyboard.clearInput(); - source + source @@ -2236,7 +2236,7 @@ keyboard.clearInput(); - source + source @@ -2327,7 +2327,7 @@ keyboard.clearInput(); - source + source @@ -2407,7 +2407,7 @@ keyboard.clearInput(); - source + source @@ -2467,7 +2467,7 @@ keyboard.clearInput(); - source + source @@ -2512,7 +2512,7 @@ Used interally between re-renders.

- source + source @@ -2573,7 +2573,7 @@ Used interally between re-renders.

- source + source @@ -2646,7 +2646,7 @@ Used interally between re-renders.

- source + source @@ -2719,7 +2719,7 @@ Used interally between re-renders.

- source + source @@ -2865,7 +2865,7 @@ Used interally between re-renders.

- source + source @@ -2925,7 +2925,7 @@ Used interally between re-renders.

- source + source @@ -2991,7 +2991,7 @@ Used interally between re-renders.

- source + source @@ -3035,7 +3035,7 @@ Used interally between re-renders.

- source + source @@ -3079,7 +3079,7 @@ Used interally between re-renders.

- source + source @@ -3123,7 +3123,7 @@ Used interally between re-renders.

- source + source @@ -3167,7 +3167,7 @@ Used interally between re-renders.

- source + source @@ -3211,7 +3211,7 @@ Used interally between re-renders.

- source + source @@ -3255,7 +3255,7 @@ Used interally between re-renders.

- source + source @@ -3335,7 +3335,7 @@ Used interally between re-renders.

- source + source @@ -3379,7 +3379,7 @@ Used interally between re-renders.

- source + source @@ -3440,7 +3440,7 @@ Used interally between re-renders.

- source + source @@ -3508,7 +3508,7 @@ Used interally between re-renders.

- source + source diff --git a/docs/class/src/lib/services/Utilities.js~Utilities.html b/docs/class/src/lib/services/Utilities.js~Utilities.html index 7f171c5e..d0ff9453 100644 --- a/docs/class/src/lib/services/Utilities.js~Utilities.html +++ b/docs/class/src/lib/services/Utilities.js~Utilities.html @@ -198,7 +198,7 @@ - addStringAt(source: string, string: string, position: number): * + addStringAt(source: string, string: string, position: number, moveCaret: boolean): *

@@ -372,7 +372,7 @@ - getUpdatedInput(button: string, input: string, options: object, caretPos: number): * + getUpdatedInput(button: string, input: string, options: object, caretPos: number, moveCaret: boolean): *

@@ -459,7 +459,7 @@ - removeAt(source: string, position: number): * + removeAt(source: string, position: number, moveCaret: boolean): *

@@ -572,7 +572,7 @@ - source + source @@ -657,11 +657,11 @@ - addStringAt(source: string, string: string, position: number): * + addStringAt(source: string, string: string, position: number, moveCaret: boolean): * - source + source @@ -702,6 +702,13 @@

The (cursor) position where the string should be added

+ + moveCaret + boolean + +

Whether to update simple-keyboard's cursor

+ +
@@ -748,7 +755,7 @@ - source + source @@ -821,7 +828,7 @@ - source + source @@ -1114,11 +1121,11 @@ - getUpdatedInput(button: string, input: string, options: object, caretPos: number): * + getUpdatedInput(button: string, input: string, options: object, caretPos: number, moveCaret: boolean): * - source + source @@ -1166,6 +1173,13 @@

The cursor's current position

+ + moveCaret + boolean + +

Whether to update simple-keyboard's cursor

+ + @@ -1212,7 +1226,7 @@ - source + source @@ -1296,7 +1310,7 @@ - source + source @@ -1348,11 +1362,11 @@ - removeAt(source: string, position: number): * + removeAt(source: string, position: number, moveCaret: boolean): * - source + source @@ -1386,6 +1400,13 @@

The (cursor) position from where the characters should be removed

+ + moveCaret + boolean + +

Whether to update simple-keyboard's cursor

+ + @@ -1432,7 +1453,7 @@ - source + source diff --git a/docs/file/src/demo/App.js.html b/docs/file/src/demo/App.js.html index 45daa30d..16b5c7d4 100644 --- a/docs/file/src/demo/App.js.html +++ b/docs/file/src/demo/App.js.html @@ -68,12 +68,16 @@ class App { * Creates a new simple-keyboard instance */ this.keyboard = new Keyboard({ - //debug: true, + debug: true, layoutName: this.layoutName, onChange: input => this.onChange(input), onKeyPress: button => this.onKeyPress(button), newLineOnEnter: true, physicalKeyboardHighlight: true, + inputName: "inputPhone", + maxLength: { + inputPhone: 11 + } }); /** @@ -81,7 +85,7 @@ class App { */ document.querySelector('.simple-keyboard').insertAdjacentHTML('beforebegin', ` <div class="simple-keyboard-preview"> - <textarea class="input"></textarea> + <textarea class="input" maxlength="11"></textarea> </div> `); diff --git a/docs/file/src/lib/components/Keyboard.js.html b/docs/file/src/lib/components/Keyboard.js.html index d98ecd17..bc314202 100644 --- a/docs/file/src/lib/components/Keyboard.js.html +++ b/docs/file/src/lib/components/Keyboard.js.html @@ -215,7 +215,9 @@ class SimpleKeyboard { if(!this.input[this.options.inputName]) this.input[this.options.inputName] = ''; - let updatedInput = this.utilities.getUpdatedInput(button, this.input[this.options.inputName], this.options, this.caretPosition); + let updatedInput = this.utilities.getUpdatedInput( + button, this.input[this.options.inputName], this.options, this.caretPosition + ); if(this.input[this.options.inputName] !== updatedInput){ @@ -226,7 +228,9 @@ class SimpleKeyboard { return false; } - this.input[this.options.inputName] = updatedInput; + this.input[this.options.inputName] = this.utilities.getUpdatedInput( + button, this.input[this.options.inputName], this.options, this.caretPosition, true + ); if(debug) console.log('Input changed:', this.input); @@ -301,12 +305,19 @@ class SimpleKeyboard { */ /* istanbul ignore next */ handleButtonHold(button){ + if(this.holdInteractionTimeout) + clearTimeout(this.holdInteractionTimeout); + /** * @type {object} Timeout dictating the speed of key hold iterations */ this.holdInteractionTimeout = setTimeout(() => { - this.handleButtonClicked(button); - this.handleButtonHold(button); + if(this.isMouseHold){ + this.handleButtonClicked(button); + this.handleButtonHold(button); + } else { + clearTimeout(this.holdInteractionTimeout); + } }, 100); } @@ -551,8 +562,9 @@ class SimpleKeyboard { let targetTagName = event.target.tagName.toLowerCase(); if( - targetTagName === "textarea" || - targetTagName === "input" + (targetTagName === "textarea" || + targetTagName === "input") && + !this.options.disableCaretPositioning ){ /** * Tracks current cursor position @@ -726,7 +738,10 @@ class SimpleKeyboard { */ var buttonDOM = document.createElement('div'); buttonDOM.className += `hg-button ${fctBtnClass}${buttonThemeClass ? " "+buttonThemeClass : ""}`; - buttonDOM.onclick = () => this.handleButtonClicked(button); + buttonDOM.onclick = () => { + this.isMouseHold = false; + this.handleButtonClicked(button); + } buttonDOM.onmousedown = (e) => this.handleButtonMouseDown(button, e); /** @@ -779,17 +794,17 @@ class SimpleKeyboard { */ this.onRender(); + /** + * Handling mouseup + */ + document.onmouseup = () => this.handleButtonMouseUp(); + if(!this.initialized){ /** * Ensures that onInit is only called once per instantiation */ this.initialized = true; - /** - * Handling mouseup - */ - document.onmouseup = () => this.handleButtonMouseUp(); - /** * Calling onInit */ diff --git a/docs/file/src/lib/services/Utilities.js.html b/docs/file/src/lib/services/Utilities.js.html index 7f4adfe6..554078a9 100644 --- a/docs/file/src/lib/services/Utilities.js.html +++ b/docs/file/src/lib/services/Utilities.js.html @@ -173,48 +173,51 @@ class Utilities { * @param {string} input The input string * @param {object} options The simple-keyboard options object * @param {number} caretPos The cursor's current position + * @param {boolean} moveCaret Whether to update simple-keyboard's cursor */ - getUpdatedInput(button, input, options, caretPos){ + getUpdatedInput(button, input, options, caretPos, moveCaret){ let output = input; if((button === "{bksp}" || button === "{backspace}") && output.length > 0){ - output = this.removeAt(output, caretPos); + output = this.removeAt(output, caretPos, moveCaret); } else if(button === "{space}") - output = this.addStringAt(output, " ", caretPos); + output = this.addStringAt(output, " ", caretPos, moveCaret); else if(button === "{tab}" && !(typeof options.tabCharOnTab === "boolean" && options.tabCharOnTab === false)){ - output = this.addStringAt(output, "\t", caretPos); + output = this.addStringAt(output, "\t", caretPos, moveCaret); } else if((button === "{enter}" || button === "{numpadenter}") && options.newLineOnEnter) - output = this.addStringAt(output, "\n", caretPos); + output = this.addStringAt(output, "\n", caretPos, moveCaret); else if(button.includes("numpad") && Number.isInteger(Number(button[button.length - 2]))){ output = this.addStringAt(output, button[button.length - 2], caretPos); } else if(button === "{numpaddivide}") - output = this.addStringAt(output, '/', caretPos); + output = this.addStringAt(output, '/', caretPos, moveCaret); else if(button === "{numpadmultiply}") - output = this.addStringAt(output, '*', caretPos); + output = this.addStringAt(output, '*', caretPos, moveCaret); + else if(button === "{numpadsubtract}") - output = this.addStringAt(output, '-', caretPos); + output = this.addStringAt(output, '-', caretPos, moveCaret); else if(button === "{numpadadd}") - output = this.addStringAt(output, '+', caretPos); + output = this.addStringAt(output, '+', caretPos, moveCaret); else if(button === "{numpaddecimal}") - output = this.addStringAt(output, '.', caretPos); + output = this.addStringAt(output, '.', caretPos, moveCaret); else if(button === "{" || button === "}") - output = this.addStringAt(output, button, caretPos); + output = this.addStringAt(output, button, caretPos, moveCaret); else if(!button.includes("{") && !button.includes("}")) - output = this.addStringAt(output, button, caretPos); + output = this.addStringAt(output, button, caretPos, moveCaret); return output; } + /** * Moves the cursor position by a given amount * @@ -224,7 +227,7 @@ class Utilities { updateCaretPos(length, minus){ if(minus){ if(this.simpleKeyboardInstance.caretPosition > 0) - this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition - length + this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition - length; } else { this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition + length; } @@ -236,14 +239,11 @@ class Utilities { * @param {string} source The source input * @param {string} string The string to add * @param {number} position The (cursor) position where the string should be added + * @param {boolean} moveCaret Whether to update simple-keyboard's cursor */ - addStringAt(source, string, position){ + addStringAt(source, string, position, moveCaret){ let output; - if(this.simpleKeyboardInstance.options.debug){ - console.log("Caret at:", position); - } - if(!position && position !== 0){ output = source + string; } else { @@ -253,11 +253,15 @@ class Utilities { * Avoid caret position change when maxLength is set */ if(!this.isMaxLengthReached()){ - this.updateCaretPos(string.length); + if(moveCaret) this.updateCaretPos(string.length); } } + if(this.simpleKeyboardInstance.options.debug && moveCaret){ + console.log("Caret at:", position); + } + return output; } @@ -266,8 +270,9 @@ class Utilities { * * @param {string} source The source input * @param {number} position The (cursor) position from where the characters should be removed + * @param {boolean} moveCaret Whether to update simple-keyboard's cursor */ - removeAt(source, position){ + removeAt(source, position, moveCaret){ if(this.simpleKeyboardInstance.caretPosition === 0){ return source; } @@ -287,10 +292,10 @@ class Utilities { if(emojiMatched){ output = source.substr(0, (position - 2)) + source.substr(position); - this.updateCaretPos(2, true); + if(moveCaret) this.updateCaretPos(2, true); } else { output = source.substr(0, (position - 1)) + source.substr(position); - this.updateCaretPos(1, true); + if(moveCaret) this.updateCaretPos(1, true); } } else { prevTwoChars = source.slice(-2); @@ -298,13 +303,17 @@ class Utilities { if(emojiMatched){ output = source.slice(0, -2); - this.updateCaretPos(2, true); + if(moveCaret) this.updateCaretPos(2, true); } else { output = source.slice(0, -1); - this.updateCaretPos(1, true); + if(moveCaret) this.updateCaretPos(1, true); } } + if(this.simpleKeyboardInstance.options.debug && moveCaret){ + console.log("Caret at:", this.simpleKeyboardInstance.caretPosition); + } + return output; } /** @@ -319,7 +328,6 @@ class Utilities { let currentInput = inputObj[options.inputName]; let condition = currentInput.length === maxLength; - if( /** * If pressing this button won't add more characters diff --git a/docs/index.json b/docs/index.json index c0e96dc9..c3040ca7 100644 --- a/docs/index.json +++ b/docs/index.json @@ -567,7 +567,7 @@ "__docId__": 48, "kind": "file", "name": "src/demo/App.js", - "content": "import Keyboard from '../lib';\r\nimport './css/App.css';\r\n\r\n/**\r\n * simple-keyboard demo\r\n */\r\nclass App {\r\n /**\r\n * Instantiates the demo class\r\n */\r\n constructor(){\r\n document.addEventListener('DOMContentLoaded', this.onDOMLoaded);\r\n\r\n /**\r\n * Default input name\r\n * @type {string}\r\n */\r\n this.layoutName = \"default\";\r\n }\r\n\r\n /**\r\n * Executed when the DOM is ready\r\n */\r\n onDOMLoaded = () => {\r\n /**\r\n * Creates a new simple-keyboard instance\r\n */\r\n this.keyboard = new Keyboard({\r\n //debug: true,\r\n layoutName: this.layoutName,\r\n onChange: input => this.onChange(input),\r\n onKeyPress: button => this.onKeyPress(button),\r\n newLineOnEnter: true,\r\n physicalKeyboardHighlight: true,\r\n });\r\n \r\n /**\r\n * Adding preview (demo only)\r\n */\r\n document.querySelector('.simple-keyboard').insertAdjacentHTML('beforebegin', `\r\n
\r\n \r\n
\r\n `);\r\n \r\n document.querySelector('.input').addEventListener('change', (event) => {\r\n this.keyboard.setInput(event.target.value);\r\n });\r\n }\r\n\r\n /**\r\n * Handles shift functionality\r\n */\r\n handleShiftButton = () => {\r\n let layoutName = this.layoutName;\r\n let shiftToggle = this.layoutName = layoutName === \"default\" ? \"shift\" : \"default\";\r\n \r\n this.keyboard.setOptions({\r\n layoutName: shiftToggle\r\n });\r\n }\r\n\r\n /**\r\n * Called when simple-keyboard input has changed\r\n */\r\n onChange = input => {\r\n document.querySelector('.input').value = input;\r\n }\r\n\r\n /**\r\n * Called when a simple-keyboard key is pressed\r\n */\r\n onKeyPress = button => {\r\n console.log(\"Button pressed\", button);\r\n \r\n /**\r\n * Shift functionality\r\n */\r\n if(button === \"{lock}\" || button === \"{shift}\")\r\n this.handleShiftButton();\r\n }\r\n\r\n}\r\n\r\nexport default App;", + "content": "import Keyboard from '../lib';\r\nimport './css/App.css';\r\n\r\n/**\r\n * simple-keyboard demo\r\n */\r\nclass App {\r\n /**\r\n * Instantiates the demo class\r\n */\r\n constructor(){\r\n document.addEventListener('DOMContentLoaded', this.onDOMLoaded);\r\n\r\n /**\r\n * Default input name\r\n * @type {string}\r\n */\r\n this.layoutName = \"default\";\r\n }\r\n\r\n /**\r\n * Executed when the DOM is ready\r\n */\r\n onDOMLoaded = () => {\r\n /**\r\n * Creates a new simple-keyboard instance\r\n */\r\n this.keyboard = new Keyboard({\r\n debug: true,\r\n layoutName: this.layoutName,\r\n onChange: input => this.onChange(input),\r\n onKeyPress: button => this.onKeyPress(button),\r\n newLineOnEnter: true,\r\n physicalKeyboardHighlight: true,\r\n inputName: \"inputPhone\",\r\n maxLength: {\r\n inputPhone: 11\r\n }\r\n });\r\n \r\n /**\r\n * Adding preview (demo only)\r\n */\r\n document.querySelector('.simple-keyboard').insertAdjacentHTML('beforebegin', `\r\n
\r\n \r\n
\r\n `);\r\n \r\n document.querySelector('.input').addEventListener('change', (event) => {\r\n this.keyboard.setInput(event.target.value);\r\n });\r\n }\r\n\r\n /**\r\n * Handles shift functionality\r\n */\r\n handleShiftButton = () => {\r\n let layoutName = this.layoutName;\r\n let shiftToggle = this.layoutName = layoutName === \"default\" ? \"shift\" : \"default\";\r\n \r\n this.keyboard.setOptions({\r\n layoutName: shiftToggle\r\n });\r\n }\r\n\r\n /**\r\n * Called when simple-keyboard input has changed\r\n */\r\n onChange = input => {\r\n document.querySelector('.input').value = input;\r\n }\r\n\r\n /**\r\n * Called when a simple-keyboard key is pressed\r\n */\r\n onKeyPress = button => {\r\n console.log(\"Button pressed\", button);\r\n \r\n /**\r\n * Shift functionality\r\n */\r\n if(button === \"{lock}\" || button === \"{shift}\")\r\n this.handleShiftButton();\r\n }\r\n\r\n}\r\n\r\nexport default App;", "static": true, "longname": "X:/Dev/simple-keyboard/src/demo/App.js", "access": "public", @@ -661,7 +661,7 @@ "longname": "src/demo/App.js~App#handleShiftButton", "access": "public", "description": "Handles shift functionality", - "lineNumber": 54, + "lineNumber": 58, "type": { "types": [ "*" @@ -677,7 +677,7 @@ "longname": "src/demo/App.js~App#onChange", "access": "public", "description": "Called when simple-keyboard input has changed", - "lineNumber": 66, + "lineNumber": 70, "type": { "types": [ "*" @@ -693,7 +693,7 @@ "longname": "src/demo/App.js~App#onKeyPress", "access": "public", "description": "Called when a simple-keyboard key is pressed", - "lineNumber": 73, + "lineNumber": 77, "type": { "types": [ "*" @@ -715,7 +715,7 @@ "__docId__": 58, "kind": "file", "name": "src/lib/components/Keyboard.js", - "content": "import './Keyboard.css';\r\n\r\n// Services\r\nimport PhysicalKeyboard from '../services/PhysicalKeyboard';\r\nimport KeyboardLayout from '../services/KeyboardLayout';\r\nimport Utilities from '../services/Utilities';\r\n\r\n/**\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n */\r\nclass SimpleKeyboard {\r\n /**\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n */\r\n constructor(...params){\r\n let keyboardDOMQuery = typeof params[0] === \"string\" ? params[0] : '.simple-keyboard';\r\n let options = typeof params[0] === \"object\" ? params[0] : params[1];\r\n\r\n if(!options)\r\n options = {};\r\n\r\n /**\r\n * Initializing Utilities\r\n */\r\n this.utilities = new Utilities(this);\r\n\r\n /**\r\n * Processing options\r\n */\r\n this.keyboardDOM = document.querySelector(keyboardDOMQuery);\r\n\r\n /**\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n */\r\n this.options = options;\r\n this.options.layoutName = this.options.layoutName || \"default\";\r\n this.options.theme = this.options.theme || \"hg-theme-default\";\r\n this.options.inputName = this.options.inputName || \"default\";\r\n\r\n /**\r\n * @type {object} Classes identifying loaded plugins\r\n */\r\n this.keyboardPluginClasses = '';\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.handleButtonClicked = this.handleButtonClicked.bind(this);\r\n this.syncInstanceInputs = this.syncInstanceInputs.bind(this);\r\n this.clearInput = this.clearInput.bind(this);\r\n this.getInput = this.getInput.bind(this);\r\n this.setInput = this.setInput.bind(this);\r\n this.replaceInput = this.replaceInput.bind(this);\r\n this.clear = this.clear.bind(this);\r\n this.dispatch = this.dispatch.bind(this);\r\n this.addButtonTheme = this.addButtonTheme.bind(this);\r\n this.removeButtonTheme = this.removeButtonTheme.bind(this);\r\n this.getButtonElement = this.getButtonElement.bind(this);\r\n this.handleCaret = this.handleCaret.bind(this);\r\n this.caretEventHandler = this.caretEventHandler.bind(this);\r\n this.onInit = this.onInit.bind(this);\r\n this.onRender = this.onRender.bind(this);\r\n this.render = this.render.bind(this);\r\n this.loadModules = this.loadModules.bind(this);\r\n this.handleButtonMouseUp = this.handleButtonMouseUp.bind(this);\r\n this.handleButtonMouseDown = this.handleButtonMouseDown.bind(this);\r\n this.handleButtonHold = this.handleButtonHold.bind(this);\r\n this.onModulesLoaded = this.onModulesLoaded.bind(this);\r\n\r\n /**\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n */\r\n this.input = {};\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n */\r\n this.keyboardDOMClass = keyboardDOMQuery.split('.').join(\"\");\r\n\r\n /**\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n */\r\n this.buttonElements = {};\r\n\r\n /**\r\n * Rendering keyboard\r\n */\r\n if(this.keyboardDOM)\r\n this.render();\r\n else {\r\n console.warn(`\"${keyboardDOMQuery}\" was not found in the DOM.`);\r\n throw new Error(\"KEYBOARD_DOM_ERROR\");\r\n }\r\n\r\n /**\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n */\r\n if(!window['SimpleKeyboardInstances'])\r\n window['SimpleKeyboardInstances'] = {};\r\n \r\n window['SimpleKeyboardInstances'][this.utilities.camelCase(this.keyboardDOMClass)] = this;\r\n\r\n /**\r\n * Physical Keyboard support\r\n */\r\n this.physicalKeyboardInterface = new PhysicalKeyboard(this);\r\n\r\n /**\r\n * Modules\r\n */\r\n this.modules = {};\r\n this.loadModules();\r\n }\r\n\r\n /**\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n */\r\n handleButtonClicked(button){\r\n let debug = this.options.debug;\r\n\r\n /**\r\n * Ignoring placeholder buttons\r\n */\r\n if(button === '{//}')\r\n return false;\r\n\r\n /**\r\n * Calling onKeyPress\r\n */\r\n if(typeof this.options.onKeyPress === \"function\")\r\n this.options.onKeyPress(button);\r\n \r\n if(!this.input[this.options.inputName])\r\n this.input[this.options.inputName] = '';\r\n\r\n let updatedInput = this.utilities.getUpdatedInput(button, this.input[this.options.inputName], this.options, this.caretPosition);\r\n\r\n if(this.input[this.options.inputName] !== updatedInput){\r\n\r\n /**\r\n * If maxLength and handleMaxLength yield true, halting\r\n */\r\n if(this.options.maxLength && this.utilities.handleMaxLength(this.input, this.options, updatedInput)){\r\n return false;\r\n }\r\n\r\n this.input[this.options.inputName] = updatedInput;\r\n\r\n if(debug)\r\n console.log('Input changed:', this.input);\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n /**\r\n * Calling onChange\r\n */\r\n if(typeof this.options.onChange === \"function\")\r\n this.options.onChange(this.input[this.options.inputName]);\r\n }\r\n \r\n if(debug){\r\n console.log(\"Key pressed:\", button);\r\n }\r\n }\r\n\r\n /**\r\n * Handles button mousedown\r\n */\r\n /* istanbul ignore next */\r\n handleButtonMouseDown(button, e){\r\n /**\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n */\r\n this.isMouseHold = true;\r\n\r\n if(this.holdInteractionTimeout)\r\n clearTimeout(this.holdInteractionTimeout);\r\n\r\n if(this.holdTimeout)\r\n clearTimeout(this.holdTimeout);\r\n\r\n /**\r\n * @type {object} Time to wait until a key hold is detected\r\n */\r\n this.holdTimeout = setTimeout(() => {\r\n if(\r\n this.isMouseHold &&\r\n (\r\n (!button.includes(\"{\") && !button.includes(\"}\")) ||\r\n button === \"{bksp}\" ||\r\n button === \"{space}\" ||\r\n button === \"{tab}\"\r\n )\r\n ){\r\n if(this.options.debug)\r\n console.log(\"Button held:\", button);\r\n\r\n this.handleButtonHold(button, e);\r\n }\r\n clearTimeout(this.holdTimeout);\r\n }, 500);\r\n }\r\n\r\n /**\r\n * Handles button mouseup\r\n */\r\n handleButtonMouseUp(){\r\n this.isMouseHold = false;\r\n if(this.holdInteractionTimeout)\r\n clearTimeout(this.holdInteractionTimeout);\r\n }\r\n\r\n /**\r\n * Handles button hold\r\n */\r\n /* istanbul ignore next */\r\n handleButtonHold(button){\r\n /**\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n */\r\n this.holdInteractionTimeout = setTimeout(() => {\r\n this.handleButtonClicked(button);\r\n this.handleButtonHold(button);\r\n }, 100);\r\n }\r\n\r\n /**\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n */\r\n syncInstanceInputs(){\r\n this.dispatch((instance) => {\r\n instance.replaceInput(this.input);\r\n });\r\n }\r\n \r\n /**\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n */\r\n clearInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n\r\n /**\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n */\r\n getInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n return this.input[this.options.inputName];\r\n }\r\n\r\n /**\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n */\r\n setInput(input, inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[inputName] = input;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n \r\n /**\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n */\r\n replaceInput(inputObj){\r\n this.input = inputObj;\r\n }\r\n\r\n /**\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n */\r\n setOptions = option => {\r\n option = option || {};\r\n this.options = Object.assign(this.options, option);\r\n this.render();\r\n }\r\n\r\n /**\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n */\r\n clear(){\r\n this.keyboardDOM.innerHTML = '';\r\n this.keyboardDOM.className = this.keyboardDOMClass;\r\n this.buttonElements = {};\r\n }\r\n\r\n /**\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n */\r\n dispatch(callback){\r\n if(!window['SimpleKeyboardInstances']){\r\n console.warn(`SimpleKeyboardInstances is not defined. Dispatch cannot be called.`);\r\n throw new Error(\"INSTANCES_VAR_ERROR\");\r\n }\r\n \r\n return Object.keys(window['SimpleKeyboardInstances']).forEach((key) => {\r\n callback(window['SimpleKeyboardInstances'][key], key);\r\n })\r\n }\r\n\r\n /**\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n */\r\n addButtonTheme(buttons, className){\r\n if(!className || !buttons)\r\n return false;\r\n\r\n buttons.split(\" \").forEach(button => {\r\n className.split(\" \").forEach(classNameItem => {\r\n if(!this.options.buttonTheme)\r\n this.options.buttonTheme = [];\r\n\r\n let classNameFound = false;\r\n \r\n /**\r\n * If class is already defined, we add button to class definition\r\n */\r\n this.options.buttonTheme.map(buttonTheme => {\r\n\r\n if(buttonTheme.class.split(\" \").includes(classNameItem)){\r\n classNameFound = true;\r\n \r\n let buttonThemeArray = buttonTheme.buttons.split(\" \");\r\n if(!buttonThemeArray.includes(button)){\r\n classNameFound = true;\r\n buttonThemeArray.push(button);\r\n buttonTheme.buttons = buttonThemeArray.join(\" \");\r\n }\r\n }\r\n return buttonTheme;\r\n });\r\n\r\n /**\r\n * If class is not defined, we create a new entry\r\n */\r\n if(!classNameFound){\r\n this.options.buttonTheme.push({\r\n class: classNameItem,\r\n buttons: buttons\r\n });\r\n }\r\n\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n\r\n /**\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n */\r\n removeButtonTheme(buttons, className){\r\n /**\r\n * When called with empty parameters, remove all button themes\r\n */\r\n if(!buttons && !className){\r\n this.options.buttonTheme = [];\r\n this.render();\r\n return false;\r\n }\r\n\r\n /**\r\n * If buttons are passed and buttonTheme has items\r\n */\r\n if(buttons && Array.isArray(this.options.buttonTheme) && this.options.buttonTheme.length){\r\n let buttonArray = buttons.split(\" \");\r\n buttonArray.forEach((button, key) => {\r\n this.options.buttonTheme.map((buttonTheme, index) => {\r\n\r\n /**\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n */\r\n if(\r\n (className && className.includes(buttonTheme.class)) ||\r\n !className\r\n ){\r\n let filteredButtonArray = buttonTheme.buttons.split(\" \").filter(item => item !== button);\r\n\r\n /**\r\n * If buttons left, return them, otherwise, remove button Theme\r\n */\r\n if(filteredButtonArray.length){\r\n buttonTheme.buttons = filteredButtonArray.join(\" \");\r\n } else {\r\n this.options.buttonTheme.splice(index, 1);\r\n buttonTheme = null;\r\n }\r\n \r\n }\r\n\r\n return buttonTheme;\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n }\r\n\r\n /**\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n */\r\n getButtonElement(button){\r\n let output;\r\n\r\n let buttonArr = this.buttonElements[button];\r\n if(buttonArr){\r\n if(buttonArr.length > 1){\r\n output = buttonArr;\r\n } else {\r\n output = buttonArr[0];\r\n }\r\n }\r\n\r\n return output;\r\n }\r\n\r\n /**\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n */\r\n handleCaret(){\r\n if(this.options.debug){\r\n console.log(\"Caret handling started\");\r\n }\r\n\r\n document.addEventListener(\"keyup\", this.caretEventHandler);\r\n document.addEventListener(\"mouseup\", this.caretEventHandler);\r\n document.addEventListener(\"touchend\", this.caretEventHandler);\r\n }\r\n\r\n /**\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n */\r\n caretEventHandler(event){\r\n let targetTagName = event.target.tagName.toLowerCase();\r\n\r\n if(\r\n targetTagName === \"textarea\" ||\r\n targetTagName === \"input\"\r\n ){\r\n /**\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n */\r\n this.caretPosition = event.target.selectionStart;\r\n\r\n if(this.options.debug){\r\n console.log('Caret at: ', event.target.selectionStart, event.target.tagName.toLowerCase());\r\n } \r\n }\r\n }\r\n\r\n /**\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n */\r\n onInit(){\r\n if(this.options.debug){\r\n console.log(\"Initialized\");\r\n }\r\n\r\n /**\r\n * Caret handling\r\n */\r\n this.handleCaret();\r\n\r\n if(typeof this.options.onInit === \"function\")\r\n this.options.onInit();\r\n }\r\n\r\n /**\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n */\r\n onRender(){\r\n if(typeof this.options.onRender === \"function\")\r\n this.options.onRender();\r\n }\r\n\r\n /**\r\n * Executes the callback function once all modules have been loaded\r\n */\r\n onModulesLoaded(){\r\n if(typeof this.options.onModulesLoaded === \"function\")\r\n this.options.onModulesLoaded();\r\n }\r\n\r\n /**\r\n * Register module\r\n */\r\n registerModule = (name, initCallback) => {\r\n if(!this.modules[name])\r\n this.modules[name] = {};\r\n\r\n initCallback(this.modules[name]);\r\n }\r\n\r\n /**\r\n * Load modules\r\n */\r\n loadModules(){\r\n if(Array.isArray(this.options.modules)){\r\n this.options.modules.forEach(Module => {\r\n let module = new Module();\r\n\r\n /* istanbul ignore next */\r\n if(module.constructor.name && module.constructor.name !== \"Function\"){\r\n let classStr = `module-${this.utilities.camelCase(module.constructor.name)}`;\r\n this.keyboardPluginClasses = this.keyboardPluginClasses + ` ${classStr}`;\r\n }\r\n\r\n module.init(this);\r\n });\r\n\r\n this.keyboardPluginClasses = this.keyboardPluginClasses + ' modules-loaded';\r\n\r\n this.render();\r\n this.onModulesLoaded();\r\n }\r\n }\r\n\r\n /**\r\n * Get module prop\r\n */\r\n getModuleProp = (name, prop) => {\r\n if(!this.modules[name])\r\n return false;\r\n \r\n return this.modules[name][prop];\r\n }\r\n\r\n /**\r\n * getModulesList\r\n */\r\n getModulesList = () => {\r\n return Object.keys(this.modules);\r\n }\r\n\r\n /**\r\n * Renders rows and buttons as per options\r\n */\r\n render(){\r\n /**\r\n * Clear keyboard\r\n */\r\n this.clear();\r\n\r\n let layoutClass = this.options.layout ? \"hg-layout-custom\" : `hg-layout-${this.options.layoutName}`;\r\n let layout = this.options.layout || KeyboardLayout.getDefaultLayout();\r\n\r\n /**\r\n * Account for buttonTheme, if set\r\n */\r\n let buttonThemesParsed = {};\r\n if(Array.isArray(this.options.buttonTheme)){\r\n this.options.buttonTheme.forEach(themeObj => {\r\n if(themeObj.buttons && themeObj.class){\r\n let themeButtons;\r\n\r\n if(typeof themeObj.buttons === \"string\"){\r\n themeButtons = themeObj.buttons.split(' ');\r\n }\r\n\r\n if(themeButtons){\r\n themeButtons.forEach(themeButton => {\r\n let themeParsed = buttonThemesParsed[themeButton];\r\n\r\n // If the button has already been added\r\n if(themeParsed){\r\n // Making sure we don't add duplicate classes, even when buttonTheme has duplicates\r\n if(!this.utilities.countInArray(themeParsed.split(\" \"), themeObj.class)){\r\n buttonThemesParsed[themeButton] = `${themeParsed} ${themeObj.class}`;\r\n }\r\n } else {\r\n buttonThemesParsed[themeButton] = themeObj.class;\r\n }\r\n });\r\n }\r\n } else {\r\n console.warn(`buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.`)\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n */\r\n this.keyboardDOM.className += ` ${this.options.theme} ${layoutClass} ${this.keyboardPluginClasses}`;\r\n\r\n /**\r\n * Iterating through each row\r\n */\r\n layout[this.options.layoutName].forEach((row, rIndex) => {\r\n let rowArray = row.split(' ');\r\n\r\n /**\r\n * Creating empty row\r\n */\r\n var rowDOM = document.createElement('div');\r\n rowDOM.className += \"hg-row\";\r\n\r\n /**\r\n * Iterating through each button in row\r\n */\r\n rowArray.forEach((button, bIndex) => {\r\n let fctBtnClass = this.utilities.getButtonClass(button);\r\n let buttonThemeClass = buttonThemesParsed[button];\r\n let buttonDisplayName = this.utilities.getButtonDisplayName(button, this.options.display, this.options.mergeDisplay);\r\n\r\n /**\r\n * Creating button\r\n */\r\n var buttonDOM = document.createElement('div');\r\n buttonDOM.className += `hg-button ${fctBtnClass}${buttonThemeClass ? \" \"+buttonThemeClass : \"\"}`;\r\n buttonDOM.onclick = () => this.handleButtonClicked(button);\r\n buttonDOM.onmousedown = (e) => this.handleButtonMouseDown(button, e);\r\n\r\n /**\r\n * Adding identifier\r\n */\r\n buttonDOM.setAttribute(\"data-skBtn\", button);\r\n\r\n /**\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n */\r\n let buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`;\r\n buttonDOM.setAttribute(\"data-skBtnUID\", buttonUID);\r\n\r\n /**\r\n * Adding display label\r\n */\r\n buttonDOM.setAttribute(\"data-displayLabel\", buttonDisplayName);\r\n\r\n /**\r\n * Adding button label to button\r\n */\r\n var buttonSpanDOM = document.createElement('span');\r\n buttonSpanDOM.innerHTML = buttonDisplayName;\r\n buttonDOM.appendChild(buttonSpanDOM);\r\n\r\n /**\r\n * Adding to buttonElements\r\n */\r\n if(!this.buttonElements[button])\r\n this.buttonElements[button] = [];\r\n\r\n this.buttonElements[button].push(buttonDOM);\r\n\r\n /**\r\n * Appending button to row\r\n */\r\n rowDOM.appendChild(buttonDOM);\r\n\r\n });\r\n\r\n /**\r\n * Appending row to keyboard\r\n */\r\n this.keyboardDOM.appendChild(rowDOM);\r\n });\r\n\r\n /**\r\n * Calling onRender\r\n */\r\n this.onRender();\r\n\r\n if(!this.initialized){\r\n /**\r\n * Ensures that onInit is only called once per instantiation\r\n */\r\n this.initialized = true;\r\n\r\n /**\r\n * Handling mouseup\r\n */\r\n document.onmouseup = () => this.handleButtonMouseUp();\r\n\r\n /**\r\n * Calling onInit\r\n */\r\n this.onInit();\r\n }\r\n }\r\n}\r\n\r\nexport default SimpleKeyboard;\r\n", + "content": "import './Keyboard.css';\r\n\r\n// Services\r\nimport PhysicalKeyboard from '../services/PhysicalKeyboard';\r\nimport KeyboardLayout from '../services/KeyboardLayout';\r\nimport Utilities from '../services/Utilities';\r\n\r\n/**\r\n * Root class for simple-keyboard\r\n * This class:\r\n * - Parses the options\r\n * - Renders the rows and buttons\r\n * - Handles button functionality\r\n */\r\nclass SimpleKeyboard {\r\n /**\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n */\r\n constructor(...params){\r\n let keyboardDOMQuery = typeof params[0] === \"string\" ? params[0] : '.simple-keyboard';\r\n let options = typeof params[0] === \"object\" ? params[0] : params[1];\r\n\r\n if(!options)\r\n options = {};\r\n\r\n /**\r\n * Initializing Utilities\r\n */\r\n this.utilities = new Utilities(this);\r\n\r\n /**\r\n * Processing options\r\n */\r\n this.keyboardDOM = document.querySelector(keyboardDOMQuery);\r\n\r\n /**\r\n * @type {object}\r\n * @property {object} layout Modify the keyboard layout.\r\n * @property {string} layoutName Specifies which layout should be used.\r\n * @property {object} display Replaces variable buttons (such as {bksp}) with a human-friendly name (e.g.: “backspace”).\r\n * @property {boolean} mergeDisplay By default, when you set the display property, you replace the default one. This setting merges them instead.\r\n * @property {string} theme A prop to add your own css classes to the keyboard wrapper. You can add multiple classes separated by a space.\r\n * @property {Array} buttonTheme A prop to add your own css classes to one or several buttons.\r\n * @property {boolean} debug Runs a console.log every time a key is pressed. Displays the buttons pressed and the current input.\r\n * @property {boolean} newLineOnEnter Specifies whether clicking the “ENTER” button will input a newline (\\n) or not.\r\n * @property {boolean} tabCharOnTab Specifies whether clicking the “TAB” button will input a tab character (\\t) or not.\r\n * @property {string} inputName Allows you to use a single simple-keyboard instance for several inputs.\r\n * @property {number} maxLength Restrains all of simple-keyboard inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {object} maxLength Restrains simple-keyboard’s individual inputs to a certain length. This should be used in addition to the input element’s maxlengthattribute.\r\n * @property {boolean} syncInstanceInputs When set to true, this option synchronizes the internal input of every simple-keyboard instance.\r\n * @property {boolean} physicalKeyboardHighlight Enable highlighting of keys pressed on physical keyboard.\r\n * @property {string} physicalKeyboardHighlightTextColor Define the text color that the physical keyboard highlighted key should have.\r\n * @property {string} physicalKeyboardHighlightBgColor Define the background color that the physical keyboard highlighted key should have. \r\n * @property {function(button: string):string} onKeyPress Executes the callback function on key press. Returns button layout name (i.e.: “{shift}”).\r\n * @property {function(input: string):string} onChange Executes the callback function on input change. Returns the current input’s string.\r\n * @property {function} onRender Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n * @property {function} onInit Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n * @property {function(inputs: object):object} onChangeAll Executes the callback function on input change. Returns the input object with all defined inputs.\r\n */\r\n this.options = options;\r\n this.options.layoutName = this.options.layoutName || \"default\";\r\n this.options.theme = this.options.theme || \"hg-theme-default\";\r\n this.options.inputName = this.options.inputName || \"default\";\r\n\r\n /**\r\n * @type {object} Classes identifying loaded plugins\r\n */\r\n this.keyboardPluginClasses = '';\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.handleButtonClicked = this.handleButtonClicked.bind(this);\r\n this.syncInstanceInputs = this.syncInstanceInputs.bind(this);\r\n this.clearInput = this.clearInput.bind(this);\r\n this.getInput = this.getInput.bind(this);\r\n this.setInput = this.setInput.bind(this);\r\n this.replaceInput = this.replaceInput.bind(this);\r\n this.clear = this.clear.bind(this);\r\n this.dispatch = this.dispatch.bind(this);\r\n this.addButtonTheme = this.addButtonTheme.bind(this);\r\n this.removeButtonTheme = this.removeButtonTheme.bind(this);\r\n this.getButtonElement = this.getButtonElement.bind(this);\r\n this.handleCaret = this.handleCaret.bind(this);\r\n this.caretEventHandler = this.caretEventHandler.bind(this);\r\n this.onInit = this.onInit.bind(this);\r\n this.onRender = this.onRender.bind(this);\r\n this.render = this.render.bind(this);\r\n this.loadModules = this.loadModules.bind(this);\r\n this.handleButtonMouseUp = this.handleButtonMouseUp.bind(this);\r\n this.handleButtonMouseDown = this.handleButtonMouseDown.bind(this);\r\n this.handleButtonHold = this.handleButtonHold.bind(this);\r\n this.onModulesLoaded = this.onModulesLoaded.bind(this);\r\n\r\n /**\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n */\r\n this.input = {};\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n */\r\n this.keyboardDOMClass = keyboardDOMQuery.split('.').join(\"\");\r\n\r\n /**\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n */\r\n this.buttonElements = {};\r\n\r\n /**\r\n * Rendering keyboard\r\n */\r\n if(this.keyboardDOM)\r\n this.render();\r\n else {\r\n console.warn(`\"${keyboardDOMQuery}\" was not found in the DOM.`);\r\n throw new Error(\"KEYBOARD_DOM_ERROR\");\r\n }\r\n\r\n /**\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n */\r\n if(!window['SimpleKeyboardInstances'])\r\n window['SimpleKeyboardInstances'] = {};\r\n \r\n window['SimpleKeyboardInstances'][this.utilities.camelCase(this.keyboardDOMClass)] = this;\r\n\r\n /**\r\n * Physical Keyboard support\r\n */\r\n this.physicalKeyboardInterface = new PhysicalKeyboard(this);\r\n\r\n /**\r\n * Modules\r\n */\r\n this.modules = {};\r\n this.loadModules();\r\n }\r\n\r\n /**\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n */\r\n handleButtonClicked(button){\r\n let debug = this.options.debug;\r\n\r\n /**\r\n * Ignoring placeholder buttons\r\n */\r\n if(button === '{//}')\r\n return false;\r\n\r\n /**\r\n * Calling onKeyPress\r\n */\r\n if(typeof this.options.onKeyPress === \"function\")\r\n this.options.onKeyPress(button);\r\n \r\n if(!this.input[this.options.inputName])\r\n this.input[this.options.inputName] = '';\r\n\r\n let updatedInput = this.utilities.getUpdatedInput(\r\n button, this.input[this.options.inputName], this.options, this.caretPosition\r\n );\r\n\r\n if(this.input[this.options.inputName] !== updatedInput){\r\n\r\n /**\r\n * If maxLength and handleMaxLength yield true, halting\r\n */\r\n if(this.options.maxLength && this.utilities.handleMaxLength(this.input, this.options, updatedInput)){\r\n return false;\r\n }\r\n\r\n this.input[this.options.inputName] = this.utilities.getUpdatedInput(\r\n button, this.input[this.options.inputName], this.options, this.caretPosition, true\r\n );\r\n\r\n if(debug)\r\n console.log('Input changed:', this.input);\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n /**\r\n * Calling onChange\r\n */\r\n if(typeof this.options.onChange === \"function\")\r\n this.options.onChange(this.input[this.options.inputName]);\r\n }\r\n \r\n if(debug){\r\n console.log(\"Key pressed:\", button);\r\n }\r\n }\r\n\r\n /**\r\n * Handles button mousedown\r\n */\r\n /* istanbul ignore next */\r\n handleButtonMouseDown(button, e){\r\n /**\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n */\r\n this.isMouseHold = true;\r\n\r\n if(this.holdInteractionTimeout)\r\n clearTimeout(this.holdInteractionTimeout);\r\n\r\n if(this.holdTimeout)\r\n clearTimeout(this.holdTimeout);\r\n\r\n /**\r\n * @type {object} Time to wait until a key hold is detected\r\n */\r\n this.holdTimeout = setTimeout(() => {\r\n if(\r\n this.isMouseHold &&\r\n (\r\n (!button.includes(\"{\") && !button.includes(\"}\")) ||\r\n button === \"{bksp}\" ||\r\n button === \"{space}\" ||\r\n button === \"{tab}\"\r\n )\r\n ){\r\n if(this.options.debug)\r\n console.log(\"Button held:\", button);\r\n\r\n this.handleButtonHold(button, e);\r\n }\r\n clearTimeout(this.holdTimeout);\r\n }, 500);\r\n }\r\n\r\n /**\r\n * Handles button mouseup\r\n */\r\n handleButtonMouseUp(){\r\n this.isMouseHold = false;\r\n if(this.holdInteractionTimeout)\r\n clearTimeout(this.holdInteractionTimeout);\r\n }\r\n\r\n /**\r\n * Handles button hold\r\n */\r\n /* istanbul ignore next */\r\n handleButtonHold(button){\r\n if(this.holdInteractionTimeout)\r\n clearTimeout(this.holdInteractionTimeout);\r\n\r\n /**\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n */\r\n this.holdInteractionTimeout = setTimeout(() => {\r\n if(this.isMouseHold){\r\n this.handleButtonClicked(button);\r\n this.handleButtonHold(button);\r\n } else {\r\n clearTimeout(this.holdInteractionTimeout);\r\n }\r\n }, 100);\r\n }\r\n\r\n /**\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n */\r\n syncInstanceInputs(){\r\n this.dispatch((instance) => {\r\n instance.replaceInput(this.input);\r\n });\r\n }\r\n \r\n /**\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n */\r\n clearInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[this.options.inputName] = '';\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n\r\n /**\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n */\r\n getInput(inputName){\r\n inputName = inputName || this.options.inputName;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n\r\n return this.input[this.options.inputName];\r\n }\r\n\r\n /**\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n */\r\n setInput(input, inputName){\r\n inputName = inputName || this.options.inputName;\r\n this.input[inputName] = input;\r\n\r\n /**\r\n * Enforce syncInstanceInputs, if set\r\n */\r\n if(this.options.syncInstanceInputs)\r\n this.syncInstanceInputs(this.input);\r\n }\r\n \r\n /**\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n */\r\n replaceInput(inputObj){\r\n this.input = inputObj;\r\n }\r\n\r\n /**\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n */\r\n setOptions = option => {\r\n option = option || {};\r\n this.options = Object.assign(this.options, option);\r\n this.render();\r\n }\r\n\r\n /**\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n */\r\n clear(){\r\n this.keyboardDOM.innerHTML = '';\r\n this.keyboardDOM.className = this.keyboardDOMClass;\r\n this.buttonElements = {};\r\n }\r\n\r\n /**\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n */\r\n dispatch(callback){\r\n if(!window['SimpleKeyboardInstances']){\r\n console.warn(`SimpleKeyboardInstances is not defined. Dispatch cannot be called.`);\r\n throw new Error(\"INSTANCES_VAR_ERROR\");\r\n }\r\n \r\n return Object.keys(window['SimpleKeyboardInstances']).forEach((key) => {\r\n callback(window['SimpleKeyboardInstances'][key], key);\r\n })\r\n }\r\n\r\n /**\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n */\r\n addButtonTheme(buttons, className){\r\n if(!className || !buttons)\r\n return false;\r\n\r\n buttons.split(\" \").forEach(button => {\r\n className.split(\" \").forEach(classNameItem => {\r\n if(!this.options.buttonTheme)\r\n this.options.buttonTheme = [];\r\n\r\n let classNameFound = false;\r\n \r\n /**\r\n * If class is already defined, we add button to class definition\r\n */\r\n this.options.buttonTheme.map(buttonTheme => {\r\n\r\n if(buttonTheme.class.split(\" \").includes(classNameItem)){\r\n classNameFound = true;\r\n \r\n let buttonThemeArray = buttonTheme.buttons.split(\" \");\r\n if(!buttonThemeArray.includes(button)){\r\n classNameFound = true;\r\n buttonThemeArray.push(button);\r\n buttonTheme.buttons = buttonThemeArray.join(\" \");\r\n }\r\n }\r\n return buttonTheme;\r\n });\r\n\r\n /**\r\n * If class is not defined, we create a new entry\r\n */\r\n if(!classNameFound){\r\n this.options.buttonTheme.push({\r\n class: classNameItem,\r\n buttons: buttons\r\n });\r\n }\r\n\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n\r\n /**\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n */\r\n removeButtonTheme(buttons, className){\r\n /**\r\n * When called with empty parameters, remove all button themes\r\n */\r\n if(!buttons && !className){\r\n this.options.buttonTheme = [];\r\n this.render();\r\n return false;\r\n }\r\n\r\n /**\r\n * If buttons are passed and buttonTheme has items\r\n */\r\n if(buttons && Array.isArray(this.options.buttonTheme) && this.options.buttonTheme.length){\r\n let buttonArray = buttons.split(\" \");\r\n buttonArray.forEach((button, key) => {\r\n this.options.buttonTheme.map((buttonTheme, index) => {\r\n\r\n /**\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n */\r\n if(\r\n (className && className.includes(buttonTheme.class)) ||\r\n !className\r\n ){\r\n let filteredButtonArray = buttonTheme.buttons.split(\" \").filter(item => item !== button);\r\n\r\n /**\r\n * If buttons left, return them, otherwise, remove button Theme\r\n */\r\n if(filteredButtonArray.length){\r\n buttonTheme.buttons = filteredButtonArray.join(\" \");\r\n } else {\r\n this.options.buttonTheme.splice(index, 1);\r\n buttonTheme = null;\r\n }\r\n \r\n }\r\n\r\n return buttonTheme;\r\n });\r\n });\r\n\r\n this.render();\r\n }\r\n }\r\n\r\n /**\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n */\r\n getButtonElement(button){\r\n let output;\r\n\r\n let buttonArr = this.buttonElements[button];\r\n if(buttonArr){\r\n if(buttonArr.length > 1){\r\n output = buttonArr;\r\n } else {\r\n output = buttonArr[0];\r\n }\r\n }\r\n\r\n return output;\r\n }\r\n\r\n /**\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n */\r\n handleCaret(){\r\n if(this.options.debug){\r\n console.log(\"Caret handling started\");\r\n }\r\n\r\n document.addEventListener(\"keyup\", this.caretEventHandler);\r\n document.addEventListener(\"mouseup\", this.caretEventHandler);\r\n document.addEventListener(\"touchend\", this.caretEventHandler);\r\n }\r\n\r\n /**\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n */\r\n caretEventHandler(event){\r\n let targetTagName = event.target.tagName.toLowerCase();\r\n\r\n if(\r\n (targetTagName === \"textarea\" ||\r\n targetTagName === \"input\") &&\r\n !this.options.disableCaretPositioning\r\n ){\r\n /**\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n */\r\n this.caretPosition = event.target.selectionStart;\r\n\r\n if(this.options.debug){\r\n console.log('Caret at: ', event.target.selectionStart, event.target.tagName.toLowerCase());\r\n } \r\n }\r\n }\r\n\r\n /**\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n */\r\n onInit(){\r\n if(this.options.debug){\r\n console.log(\"Initialized\");\r\n }\r\n\r\n /**\r\n * Caret handling\r\n */\r\n this.handleCaret();\r\n\r\n if(typeof this.options.onInit === \"function\")\r\n this.options.onInit();\r\n }\r\n\r\n /**\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n */\r\n onRender(){\r\n if(typeof this.options.onRender === \"function\")\r\n this.options.onRender();\r\n }\r\n\r\n /**\r\n * Executes the callback function once all modules have been loaded\r\n */\r\n onModulesLoaded(){\r\n if(typeof this.options.onModulesLoaded === \"function\")\r\n this.options.onModulesLoaded();\r\n }\r\n\r\n /**\r\n * Register module\r\n */\r\n registerModule = (name, initCallback) => {\r\n if(!this.modules[name])\r\n this.modules[name] = {};\r\n\r\n initCallback(this.modules[name]);\r\n }\r\n\r\n /**\r\n * Load modules\r\n */\r\n loadModules(){\r\n if(Array.isArray(this.options.modules)){\r\n this.options.modules.forEach(Module => {\r\n let module = new Module();\r\n\r\n /* istanbul ignore next */\r\n if(module.constructor.name && module.constructor.name !== \"Function\"){\r\n let classStr = `module-${this.utilities.camelCase(module.constructor.name)}`;\r\n this.keyboardPluginClasses = this.keyboardPluginClasses + ` ${classStr}`;\r\n }\r\n\r\n module.init(this);\r\n });\r\n\r\n this.keyboardPluginClasses = this.keyboardPluginClasses + ' modules-loaded';\r\n\r\n this.render();\r\n this.onModulesLoaded();\r\n }\r\n }\r\n\r\n /**\r\n * Get module prop\r\n */\r\n getModuleProp = (name, prop) => {\r\n if(!this.modules[name])\r\n return false;\r\n \r\n return this.modules[name][prop];\r\n }\r\n\r\n /**\r\n * getModulesList\r\n */\r\n getModulesList = () => {\r\n return Object.keys(this.modules);\r\n }\r\n\r\n /**\r\n * Renders rows and buttons as per options\r\n */\r\n render(){\r\n /**\r\n * Clear keyboard\r\n */\r\n this.clear();\r\n\r\n let layoutClass = this.options.layout ? \"hg-layout-custom\" : `hg-layout-${this.options.layoutName}`;\r\n let layout = this.options.layout || KeyboardLayout.getDefaultLayout();\r\n\r\n /**\r\n * Account for buttonTheme, if set\r\n */\r\n let buttonThemesParsed = {};\r\n if(Array.isArray(this.options.buttonTheme)){\r\n this.options.buttonTheme.forEach(themeObj => {\r\n if(themeObj.buttons && themeObj.class){\r\n let themeButtons;\r\n\r\n if(typeof themeObj.buttons === \"string\"){\r\n themeButtons = themeObj.buttons.split(' ');\r\n }\r\n\r\n if(themeButtons){\r\n themeButtons.forEach(themeButton => {\r\n let themeParsed = buttonThemesParsed[themeButton];\r\n\r\n // If the button has already been added\r\n if(themeParsed){\r\n // Making sure we don't add duplicate classes, even when buttonTheme has duplicates\r\n if(!this.utilities.countInArray(themeParsed.split(\" \"), themeObj.class)){\r\n buttonThemesParsed[themeButton] = `${themeParsed} ${themeObj.class}`;\r\n }\r\n } else {\r\n buttonThemesParsed[themeButton] = themeObj.class;\r\n }\r\n });\r\n }\r\n } else {\r\n console.warn(`buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.`)\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n */\r\n this.keyboardDOM.className += ` ${this.options.theme} ${layoutClass} ${this.keyboardPluginClasses}`;\r\n\r\n /**\r\n * Iterating through each row\r\n */\r\n layout[this.options.layoutName].forEach((row, rIndex) => {\r\n let rowArray = row.split(' ');\r\n\r\n /**\r\n * Creating empty row\r\n */\r\n var rowDOM = document.createElement('div');\r\n rowDOM.className += \"hg-row\";\r\n\r\n /**\r\n * Iterating through each button in row\r\n */\r\n rowArray.forEach((button, bIndex) => {\r\n let fctBtnClass = this.utilities.getButtonClass(button);\r\n let buttonThemeClass = buttonThemesParsed[button];\r\n let buttonDisplayName = this.utilities.getButtonDisplayName(button, this.options.display, this.options.mergeDisplay);\r\n\r\n /**\r\n * Creating button\r\n */\r\n var buttonDOM = document.createElement('div');\r\n buttonDOM.className += `hg-button ${fctBtnClass}${buttonThemeClass ? \" \"+buttonThemeClass : \"\"}`;\r\n buttonDOM.onclick = () => {\r\n this.isMouseHold = false;\r\n this.handleButtonClicked(button);\r\n }\r\n buttonDOM.onmousedown = (e) => this.handleButtonMouseDown(button, e);\r\n\r\n /**\r\n * Adding identifier\r\n */\r\n buttonDOM.setAttribute(\"data-skBtn\", button);\r\n\r\n /**\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n */\r\n let buttonUID = `${this.options.layoutName}-r${rIndex}b${bIndex}`;\r\n buttonDOM.setAttribute(\"data-skBtnUID\", buttonUID);\r\n\r\n /**\r\n * Adding display label\r\n */\r\n buttonDOM.setAttribute(\"data-displayLabel\", buttonDisplayName);\r\n\r\n /**\r\n * Adding button label to button\r\n */\r\n var buttonSpanDOM = document.createElement('span');\r\n buttonSpanDOM.innerHTML = buttonDisplayName;\r\n buttonDOM.appendChild(buttonSpanDOM);\r\n\r\n /**\r\n * Adding to buttonElements\r\n */\r\n if(!this.buttonElements[button])\r\n this.buttonElements[button] = [];\r\n\r\n this.buttonElements[button].push(buttonDOM);\r\n\r\n /**\r\n * Appending button to row\r\n */\r\n rowDOM.appendChild(buttonDOM);\r\n\r\n });\r\n\r\n /**\r\n * Appending row to keyboard\r\n */\r\n this.keyboardDOM.appendChild(rowDOM);\r\n });\r\n\r\n /**\r\n * Calling onRender\r\n */\r\n this.onRender();\r\n\r\n /**\r\n * Handling mouseup\r\n */\r\n document.onmouseup = () => this.handleButtonMouseUp();\r\n\r\n if(!this.initialized){\r\n /**\r\n * Ensures that onInit is only called once per instantiation\r\n */\r\n this.initialized = true;\r\n\r\n /**\r\n * Calling onInit\r\n */\r\n this.onInit();\r\n }\r\n }\r\n}\r\n\r\nexport default SimpleKeyboard;\r\n", "static": true, "longname": "X:/Dev/simple-keyboard/src/lib/components/Keyboard.js", "access": "public", @@ -1199,7 +1199,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonMouseDown", "access": "public", "description": "Handles button mousedown", - "lineNumber": 214, + "lineNumber": 218, "params": [ { "name": "button", @@ -1225,7 +1225,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#isMouseHold", "access": "public", "description": "", - "lineNumber": 218, + "lineNumber": 222, "type": { "nullable": null, "types": [ @@ -1244,7 +1244,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#holdTimeout", "access": "public", "description": "", - "lineNumber": 229, + "lineNumber": 233, "type": { "nullable": null, "types": [ @@ -1265,7 +1265,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonMouseUp", "access": "public", "description": "Handles button mouseup", - "lineNumber": 251, + "lineNumber": 255, "params": [], "return": null }, @@ -1280,7 +1280,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleButtonHold", "access": "public", "description": "Handles button hold", - "lineNumber": 261, + "lineNumber": 265, "params": [ { "name": "button", @@ -1300,7 +1300,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#holdInteractionTimeout", "access": "public", "description": "", - "lineNumber": 265, + "lineNumber": 272, "type": { "nullable": null, "types": [ @@ -1321,7 +1321,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#syncInstanceInputs", "access": "public", "description": "Send a command to all simple-keyboard instances (if you have several instances).", - "lineNumber": 274, + "lineNumber": 285, "params": [], "return": null }, @@ -1336,7 +1336,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#clearInput", "access": "public", "description": "Clear the keyboard’s input.", - "lineNumber": 284, + "lineNumber": 295, "params": [ { "nullable": null, @@ -1362,7 +1362,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getInput", "access": "public", "description": "Get the keyboard’s input (You can also get it from the onChange prop).", - "lineNumber": 299, + "lineNumber": 310, "params": [ { "nullable": null, @@ -1392,7 +1392,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#setInput", "access": "public", "description": "Set the keyboard’s input.", - "lineNumber": 316, + "lineNumber": 327, "params": [ { "nullable": null, @@ -1428,7 +1428,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#replaceInput", "access": "public", "description": "Replace the input object (`keyboard.input`)", - "lineNumber": 331, + "lineNumber": 342, "params": [ { "nullable": null, @@ -1452,7 +1452,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#setOptions", "access": "public", "description": "Set new option or modify existing ones after initialization. ", - "lineNumber": 339, + "lineNumber": 350, "params": [ { "nullable": null, @@ -1482,7 +1482,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#clear", "access": "public", "description": "Remove all keyboard rows and reset keyboard values.\nUsed interally between re-renders.", - "lineNumber": 349, + "lineNumber": 360, "params": [], "return": null }, @@ -1497,7 +1497,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#dispatch", "access": "public", "description": "Send a command to all simple-keyboard instances at once (if you have multiple instances).", - "lineNumber": 359, + "lineNumber": 370, "params": [ { "nullable": null, @@ -1527,7 +1527,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#addButtonTheme", "access": "public", "description": "Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.", - "lineNumber": 375, + "lineNumber": 386, "params": [ { "nullable": null, @@ -1567,7 +1567,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#removeButtonTheme", "access": "public", "description": "Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.", - "lineNumber": 425, + "lineNumber": 436, "params": [ { "nullable": null, @@ -1607,7 +1607,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getButtonElement", "access": "public", "description": "Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.", - "lineNumber": 477, + "lineNumber": 488, "params": [ { "nullable": null, @@ -1637,7 +1637,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#handleCaret", "access": "public", "description": "Retrieves the current cursor position within a input or textarea (if any)", - "lineNumber": 495, + "lineNumber": 506, "params": [], "return": null }, @@ -1652,7 +1652,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#caretEventHandler", "access": "public", "description": "Called by {@link handleCaret} when an event that warrants a cursor position update is triggered", - "lineNumber": 508, + "lineNumber": 519, "params": [ { "name": "event", @@ -1672,7 +1672,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#caretPosition", "access": "public", "description": "Tracks current cursor position\nAs keys are pressed, text will be added/removed at that position within the input.", - "lineNumber": 519, + "lineNumber": 531, "type": { "types": [ "*" @@ -1690,7 +1690,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#onInit", "access": "public", "description": "Executes the callback function once simple-keyboard is rendered for the first time (on initialization).", - "lineNumber": 530, + "lineNumber": 542, "params": [], "return": null }, @@ -1705,7 +1705,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#onRender", "access": "public", "description": "Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).", - "lineNumber": 547, + "lineNumber": 559, "params": [], "return": null }, @@ -1720,7 +1720,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#onModulesLoaded", "access": "public", "description": "Executes the callback function once all modules have been loaded", - "lineNumber": 555, + "lineNumber": 567, "params": [], "return": null }, @@ -1733,7 +1733,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#registerModule", "access": "public", "description": "Register module", - "lineNumber": 563, + "lineNumber": 575, "type": { "types": [ "*" @@ -1751,7 +1751,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#loadModules", "access": "public", "description": "Load modules", - "lineNumber": 573, + "lineNumber": 585, "params": [], "return": null }, @@ -1764,7 +1764,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getModuleProp", "access": "public", "description": "Get module prop", - "lineNumber": 597, + "lineNumber": 609, "type": { "types": [ "*" @@ -1780,7 +1780,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#getModulesList", "access": "public", "description": "getModulesList", - "lineNumber": 607, + "lineNumber": 619, "type": { "types": [ "*" @@ -1798,12 +1798,12 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#render", "access": "public", "description": "Renders rows and buttons as per options", - "lineNumber": 614, + "lineNumber": 626, "params": [], "return": null }, { - "__docId__": 126, + "__docId__": 127, "kind": "member", "name": "initialized", "memberof": "src/lib/components/Keyboard.js~SimpleKeyboard", @@ -1811,7 +1811,7 @@ "longname": "src/lib/components/Keyboard.js~SimpleKeyboard#initialized", "access": "public", "description": "Ensures that onInit is only called once per instantiation", - "lineNumber": 744, + "lineNumber": 764, "type": { "types": [ "boolean" @@ -1819,7 +1819,7 @@ } }, { - "__docId__": 127, + "__docId__": 128, "kind": "file", "name": "src/lib/index.js", "content": "import SimpleKeyboard from './components/Keyboard';\r\nexport default SimpleKeyboard;\r\n", @@ -1830,7 +1830,7 @@ "lineNumber": 1 }, { - "__docId__": 128, + "__docId__": 129, "kind": "file", "name": "src/lib/services/KeyboardLayout.js", "content": "/**\r\n * Keyboard Layout Service\r\n */\r\nclass KeyboardLayout {\r\n /**\r\n * Get default simple-keyboard layout\r\n * @return {object} The default layout (US-QWERTY)\r\n */\r\n static getDefaultLayout(){\r\n return {\r\n 'default': [\r\n '` 1 2 3 4 5 6 7 8 9 0 - = {bksp}',\r\n '{tab} q w e r t y u i o p [ ] \\\\',\r\n '{lock} a s d f g h j k l ; \\' {enter}',\r\n '{shift} z x c v b n m , . / {shift}',\r\n '.com @ {space}'\r\n ],\r\n 'shift': [\r\n '~ ! @ # $ % ^ & * ( ) _ + {bksp}',\r\n '{tab} Q W E R T Y U I O P { } |',\r\n '{lock} A S D F G H J K L : \" {enter}',\r\n '{shift} Z X C V B N M < > ? {shift}',\r\n '.com @ {space}'\r\n ]\r\n } \r\n }\r\n}\r\n\r\nexport default KeyboardLayout;", @@ -1841,7 +1841,7 @@ "lineNumber": 1 }, { - "__docId__": 129, + "__docId__": 130, "kind": "class", "name": "KeyboardLayout", "memberof": "src/lib/services/KeyboardLayout.js", @@ -1856,7 +1856,7 @@ "interface": false }, { - "__docId__": 130, + "__docId__": 131, "kind": "method", "name": "getDefaultLayout", "memberof": "src/lib/services/KeyboardLayout.js~KeyboardLayout", @@ -1878,7 +1878,7 @@ "params": [] }, { - "__docId__": 131, + "__docId__": 132, "kind": "file", "name": "src/lib/services/PhysicalKeyboard.js", "content": "/**\r\n * Physical Keyboard Service\r\n */\r\nclass PhysicalKeyboard {\r\n /**\r\n * Creates an instance of the PhysicalKeyboard service\r\n */\r\n constructor(simpleKeyboardInstance){\r\n /**\r\n * @type {object} A simple-keyboard instance\r\n */\r\n this.simpleKeyboardInstance = simpleKeyboardInstance;\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.initKeyboardListener = this.initKeyboardListener.bind(this);\r\n this.getSimpleKeyboardLayoutKey = this.getSimpleKeyboardLayoutKey.bind(this);\r\n\r\n /**\r\n * Initialize key listeners\r\n */\r\n this.initKeyboardListener();\r\n }\r\n\r\n /**\r\n * Initializes key event listeners\r\n */\r\n initKeyboardListener(){\r\n // Adding button style on keydown\r\n document.addEventListener(\"keydown\", (event) => {\r\n if(this.simpleKeyboardInstance.options.physicalKeyboardHighlight){\r\n let buttonPressed = this.getSimpleKeyboardLayoutKey(event);\r\n\r\n this.simpleKeyboardInstance.dispatch(instance => {\r\n let buttonDOM = instance.getButtonElement(buttonPressed) || instance.getButtonElement(`{${buttonPressed}}`);\r\n\r\n if(buttonDOM){\r\n buttonDOM.style.backgroundColor = this.simpleKeyboardInstance.options.physicalKeyboardHighlightBgColor || \"#9ab4d0\";\r\n buttonDOM.style.color = this.simpleKeyboardInstance.options.physicalKeyboardHighlightTextColor || \"white\";\r\n }\r\n });\r\n }\r\n });\r\n\r\n // Removing button style on keyup\r\n document.addEventListener(\"keyup\", (event) => {\r\n if(this.simpleKeyboardInstance.options.physicalKeyboardHighlight){\r\n let buttonPressed = this.getSimpleKeyboardLayoutKey(event);\r\n\r\n this.simpleKeyboardInstance.dispatch(instance => {\r\n let buttonDOM = instance.getButtonElement(buttonPressed) || instance.getButtonElement(`{${buttonPressed}}`);\r\n\r\n if(buttonDOM){\r\n buttonDOM.removeAttribute(\"style\");\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Transforms a KeyboardEvent's \"key.code\" string into a simple-keyboard layout format\r\n * @param {object} event The KeyboardEvent\r\n */\r\n getSimpleKeyboardLayoutKey(event){\r\n let output;\r\n\r\n if(\r\n event.code.includes(\"Numpad\") ||\r\n event.code.includes(\"Shift\") ||\r\n event.code.includes(\"Space\") ||\r\n event.code.includes(\"Backspace\") ||\r\n event.code.includes(\"Control\") ||\r\n event.code.includes(\"Alt\") ||\r\n event.code.includes(\"Meta\")\r\n ){\r\n output = event.code;\r\n } else {\r\n output = event.key;\r\n }\r\n\r\n /**\r\n * If button is not uppercase, casting to lowercase\r\n */\r\n if (\r\n output !== output.toUpperCase() ||\r\n (event.code[0] === \"F\" && Number.isInteger(Number(event.code[1])) && event.code.length <= 3)\r\n ) {\r\n output = output.toLowerCase();\r\n }\r\n\r\n return output;\r\n }\r\n}\r\n\r\nexport default PhysicalKeyboard;", @@ -1889,7 +1889,7 @@ "lineNumber": 1 }, { - "__docId__": 132, + "__docId__": 133, "kind": "class", "name": "PhysicalKeyboard", "memberof": "src/lib/services/PhysicalKeyboard.js", @@ -1904,7 +1904,7 @@ "interface": false }, { - "__docId__": 133, + "__docId__": 134, "kind": "constructor", "name": "constructor", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1917,7 +1917,7 @@ "lineNumber": 8 }, { - "__docId__": 134, + "__docId__": 135, "kind": "member", "name": "simpleKeyboardInstance", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1936,7 +1936,7 @@ } }, { - "__docId__": 137, + "__docId__": 138, "kind": "method", "name": "initKeyboardListener", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1951,7 +1951,7 @@ "return": null }, { - "__docId__": 138, + "__docId__": 139, "kind": "method", "name": "getSimpleKeyboardLayoutKey", "memberof": "src/lib/services/PhysicalKeyboard.js~PhysicalKeyboard", @@ -1981,10 +1981,10 @@ } }, { - "__docId__": 139, + "__docId__": 140, "kind": "file", "name": "src/lib/services/Utilities.js", - "content": "/**\r\n * Utility Service\r\n */\r\nclass Utilities {\r\n /**\r\n * Creates an instance of the Utility service\r\n */\r\n constructor(simpleKeyboardInstance){\r\n /**\r\n * @type {object} A simple-keyboard instance\r\n */\r\n this.simpleKeyboardInstance = simpleKeyboardInstance;\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.getButtonClass = this.getButtonClass.bind(this);\r\n this.getButtonDisplayName = this.getButtonDisplayName.bind(this);\r\n this.getUpdatedInput = this.getUpdatedInput.bind(this);\r\n this.updateCaretPos = this.updateCaretPos.bind(this);\r\n this.isMaxLengthReached = this.isMaxLengthReached.bind(this);\r\n this.camelCase = this.camelCase.bind(this);\r\n this.countInArray = this.countInArray.bind(this);\r\n }\r\n\r\n /**\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n */\r\n getButtonClass(button){\r\n let buttonTypeClass = (button.includes(\"{\") && button.includes(\"}\") && button !== '{//}') ? \"functionBtn\" : \"standardBtn\";\r\n let buttonWithoutBraces = button.replace(\"{\", \"\").replace(\"}\", \"\");\r\n let buttonNormalized = '';\r\n\r\n if(buttonTypeClass !== \"standardBtn\")\r\n buttonNormalized = ` hg-button-${buttonWithoutBraces}`;\r\n\r\n return `hg-${buttonTypeClass}${buttonNormalized}`;\r\n }\r\n\r\n /**\r\n * Default button display labels\r\n */\r\n getDefaultDiplay(){\r\n return {\r\n '{bksp}': 'backspace',\r\n '{backspace}': 'backspace',\r\n '{enter}': '< enter',\r\n '{shift}': 'shift',\r\n '{shiftleft}': 'shift',\r\n '{shiftright}': 'shift',\r\n '{alt}': 'alt',\r\n '{s}': 'shift',\r\n '{tab}': 'tab',\r\n '{lock}': 'caps',\r\n '{capslock}': 'caps',\r\n '{accept}': 'Submit',\r\n '{space}': ' ',\r\n '{//}': ' ',\r\n \"{esc}\": \"esc\",\r\n \"{escape}\": \"esc\",\r\n \"{f1}\": \"f1\",\r\n \"{f2}\": \"f2\",\r\n \"{f3}\": \"f3\",\r\n \"{f4}\": \"f4\",\r\n \"{f5}\": \"f5\",\r\n \"{f6}\": \"f6\",\r\n \"{f7}\": \"f7\",\r\n \"{f8}\": \"f8\",\r\n \"{f9}\": \"f9\",\r\n \"{f10}\": \"f10\",\r\n \"{f11}\": \"f11\",\r\n \"{f12}\": \"f12\",\r\n '{numpaddivide}': '/',\r\n '{numlock}': 'lock',\r\n \"{arrowup}\": \"↑\",\r\n \"{arrowleft}\": \"←\",\r\n \"{arrowdown}\": \"↓\",\r\n \"{arrowright}\": \"→\",\r\n \"{prtscr}\": \"print\",\r\n \"{scrolllock}\": \"scroll\",\r\n \"{pause}\": \"pause\",\r\n \"{insert}\": \"ins\",\r\n \"{home}\": \"home\",\r\n \"{pageup}\": \"up\",\r\n \"{delete}\": \"del\",\r\n \"{end}\": \"end\",\r\n \"{pagedown}\": \"down\",\r\n \"{numpadmultiply}\": \"*\",\r\n \"{numpadsubtract}\": \"-\",\r\n \"{numpadadd}\": \"+\",\r\n \"{numpadenter}\": \"enter\",\r\n \"{period}\": \".\",\r\n \"{numpaddecimal}\": \".\",\r\n \"{numpad0}\": \"0\",\r\n \"{numpad1}\": \"1\",\r\n \"{numpad2}\": \"2\",\r\n \"{numpad3}\": \"3\",\r\n \"{numpad4}\": \"4\",\r\n \"{numpad5}\": \"5\",\r\n \"{numpad6}\": \"6\",\r\n \"{numpad7}\": \"7\",\r\n \"{numpad8}\": \"8\",\r\n \"{numpad9}\": \"9\",\r\n };\r\n }\r\n /**\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n */\r\n getButtonDisplayName(button, display, mergeDisplay){\r\n if(mergeDisplay){\r\n display = Object.assign({}, this.getDefaultDiplay(), display);\r\n } else {\r\n display = display || this.getDefaultDiplay();\r\n }\r\n\r\n return display[button] || button;\r\n }\r\n\r\n \r\n /**\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n */\r\n getUpdatedInput(button, input, options, caretPos){\r\n \r\n let output = input;\r\n\r\n if((button === \"{bksp}\" || button === \"{backspace}\") && output.length > 0){\r\n output = this.removeAt(output, caretPos);\r\n\r\n } else if(button === \"{space}\")\r\n output = this.addStringAt(output, \" \", caretPos);\r\n\r\n else if(button === \"{tab}\" && !(typeof options.tabCharOnTab === \"boolean\" && options.tabCharOnTab === false)){\r\n output = this.addStringAt(output, \"\\t\", caretPos);\r\n\r\n } else if((button === \"{enter}\" || button === \"{numpadenter}\") && options.newLineOnEnter)\r\n output = this.addStringAt(output, \"\\n\", caretPos);\r\n\r\n else if(button.includes(\"numpad\") && Number.isInteger(Number(button[button.length - 2]))){\r\n output = this.addStringAt(output, button[button.length - 2], caretPos);\r\n }\r\n else if(button === \"{numpaddivide}\")\r\n output = this.addStringAt(output, '/', caretPos);\r\n\r\n else if(button === \"{numpadmultiply}\")\r\n output = this.addStringAt(output, '*', caretPos);\r\n else if(button === \"{numpadsubtract}\")\r\n output = this.addStringAt(output, '-', caretPos);\r\n\r\n else if(button === \"{numpadadd}\")\r\n output = this.addStringAt(output, '+', caretPos);\r\n\r\n else if(button === \"{numpaddecimal}\")\r\n output = this.addStringAt(output, '.', caretPos);\r\n\r\n else if(button === \"{\" || button === \"}\")\r\n output = this.addStringAt(output, button, caretPos);\r\n\r\n else if(!button.includes(\"{\") && !button.includes(\"}\"))\r\n output = this.addStringAt(output, button, caretPos);\r\n\r\n return output;\r\n }\r\n /**\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n */\r\n updateCaretPos(length, minus){\r\n if(minus){\r\n if(this.simpleKeyboardInstance.caretPosition > 0)\r\n this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition - length\r\n } else {\r\n this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition + length;\r\n }\r\n }\r\n\r\n /**\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n */\r\n addStringAt(source, string, position){\r\n let output;\r\n\r\n if(this.simpleKeyboardInstance.options.debug){\r\n console.log(\"Caret at:\", position);\r\n }\r\n\r\n if(!position && position !== 0){\r\n output = source + string;\r\n } else {\r\n output = [source.slice(0, position), string, source.slice(position)].join('');\r\n\r\n /**\r\n * Avoid caret position change when maxLength is set\r\n */\r\n if(!this.isMaxLengthReached()){\r\n this.updateCaretPos(string.length);\r\n }\r\n\r\n }\r\n\r\n return output;\r\n }\r\n\r\n /**\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n */\r\n removeAt(source, position){\r\n if(this.simpleKeyboardInstance.caretPosition === 0){\r\n return source;\r\n }\r\n\r\n let output;\r\n let prevTwoChars;\r\n let emojiMatched;\r\n let emojiMatchedReg = /([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])/g;\r\n\r\n /**\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n */\r\n if(position && position >= 0){\r\n prevTwoChars = source.substring(position - 2, position)\r\n emojiMatched = prevTwoChars.match(emojiMatchedReg);\r\n\r\n if(emojiMatched){\r\n output = source.substr(0, (position - 2)) + source.substr(position);\r\n this.updateCaretPos(2, true);\r\n } else {\r\n output = source.substr(0, (position - 1)) + source.substr(position);\r\n this.updateCaretPos(1, true);\r\n }\r\n } else {\r\n prevTwoChars = source.slice(-2);\r\n emojiMatched = prevTwoChars.match(emojiMatchedReg);\r\n\r\n if(emojiMatched){\r\n output = source.slice(0, -2);\r\n this.updateCaretPos(2, true);\r\n } else {\r\n output = source.slice(0, -1);\r\n this.updateCaretPos(1, true);\r\n }\r\n }\r\n\r\n return output;\r\n }\r\n /**\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n */\r\n handleMaxLength(inputObj, options, updatedInput){\r\n let maxLength = options.maxLength;\r\n let currentInput = inputObj[options.inputName];\r\n let condition = currentInput.length === maxLength;\r\n\r\n\r\n if(\r\n /**\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n */\r\n updatedInput.length <= currentInput.length\r\n ){\r\n return false;\r\n }\r\n\r\n if(Number.isInteger(maxLength)){\r\n if(options.debug){\r\n console.log(\"maxLength (num) reached:\", condition);\r\n }\r\n\r\n if(condition){\r\n /**\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n */\r\n this.maxLengthReached = true;\r\n return true;\r\n } else {\r\n this.maxLengthReached = false;\r\n return false;\r\n }\r\n }\r\n\r\n if(typeof maxLength === \"object\"){\r\n let condition = currentInput.length === maxLength[options.inputName];\r\n\r\n if(options.debug){\r\n console.log(\"maxLength (obj) reached:\", condition);\r\n }\r\n\r\n if(condition){\r\n this.maxLengthReached = true;\r\n return true;\r\n } else {\r\n this.maxLengthReached = false;\r\n return false;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Gets the current value of maxLengthReached\r\n */\r\n isMaxLengthReached(){\r\n return Boolean(this.maxLengthReached);\r\n }\r\n\r\n /**\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n */\r\n camelCase(string){\r\n return string.toLowerCase().trim().split(/[.\\-_\\s]/g).reduce((string, word) => string + word[0].toUpperCase() + word.slice(1));\r\n };\r\n\r\n /**\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n */\r\n countInArray(array, value){\r\n return array.reduce((n, x) => n + (x === value), 0);\r\n }\r\n\r\n}\r\n\r\nexport default Utilities;", + "content": "/**\r\n * Utility Service\r\n */\r\nclass Utilities {\r\n /**\r\n * Creates an instance of the Utility service\r\n */\r\n constructor(simpleKeyboardInstance){\r\n /**\r\n * @type {object} A simple-keyboard instance\r\n */\r\n this.simpleKeyboardInstance = simpleKeyboardInstance;\r\n\r\n /**\r\n * Bindings\r\n */\r\n this.getButtonClass = this.getButtonClass.bind(this);\r\n this.getButtonDisplayName = this.getButtonDisplayName.bind(this);\r\n this.getUpdatedInput = this.getUpdatedInput.bind(this);\r\n this.updateCaretPos = this.updateCaretPos.bind(this);\r\n this.isMaxLengthReached = this.isMaxLengthReached.bind(this);\r\n this.camelCase = this.camelCase.bind(this);\r\n this.countInArray = this.countInArray.bind(this);\r\n }\r\n\r\n /**\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n */\r\n getButtonClass(button){\r\n let buttonTypeClass = (button.includes(\"{\") && button.includes(\"}\") && button !== '{//}') ? \"functionBtn\" : \"standardBtn\";\r\n let buttonWithoutBraces = button.replace(\"{\", \"\").replace(\"}\", \"\");\r\n let buttonNormalized = '';\r\n\r\n if(buttonTypeClass !== \"standardBtn\")\r\n buttonNormalized = ` hg-button-${buttonWithoutBraces}`;\r\n\r\n return `hg-${buttonTypeClass}${buttonNormalized}`;\r\n }\r\n\r\n /**\r\n * Default button display labels\r\n */\r\n getDefaultDiplay(){\r\n return {\r\n '{bksp}': 'backspace',\r\n '{backspace}': 'backspace',\r\n '{enter}': '< enter',\r\n '{shift}': 'shift',\r\n '{shiftleft}': 'shift',\r\n '{shiftright}': 'shift',\r\n '{alt}': 'alt',\r\n '{s}': 'shift',\r\n '{tab}': 'tab',\r\n '{lock}': 'caps',\r\n '{capslock}': 'caps',\r\n '{accept}': 'Submit',\r\n '{space}': ' ',\r\n '{//}': ' ',\r\n \"{esc}\": \"esc\",\r\n \"{escape}\": \"esc\",\r\n \"{f1}\": \"f1\",\r\n \"{f2}\": \"f2\",\r\n \"{f3}\": \"f3\",\r\n \"{f4}\": \"f4\",\r\n \"{f5}\": \"f5\",\r\n \"{f6}\": \"f6\",\r\n \"{f7}\": \"f7\",\r\n \"{f8}\": \"f8\",\r\n \"{f9}\": \"f9\",\r\n \"{f10}\": \"f10\",\r\n \"{f11}\": \"f11\",\r\n \"{f12}\": \"f12\",\r\n '{numpaddivide}': '/',\r\n '{numlock}': 'lock',\r\n \"{arrowup}\": \"↑\",\r\n \"{arrowleft}\": \"←\",\r\n \"{arrowdown}\": \"↓\",\r\n \"{arrowright}\": \"→\",\r\n \"{prtscr}\": \"print\",\r\n \"{scrolllock}\": \"scroll\",\r\n \"{pause}\": \"pause\",\r\n \"{insert}\": \"ins\",\r\n \"{home}\": \"home\",\r\n \"{pageup}\": \"up\",\r\n \"{delete}\": \"del\",\r\n \"{end}\": \"end\",\r\n \"{pagedown}\": \"down\",\r\n \"{numpadmultiply}\": \"*\",\r\n \"{numpadsubtract}\": \"-\",\r\n \"{numpadadd}\": \"+\",\r\n \"{numpadenter}\": \"enter\",\r\n \"{period}\": \".\",\r\n \"{numpaddecimal}\": \".\",\r\n \"{numpad0}\": \"0\",\r\n \"{numpad1}\": \"1\",\r\n \"{numpad2}\": \"2\",\r\n \"{numpad3}\": \"3\",\r\n \"{numpad4}\": \"4\",\r\n \"{numpad5}\": \"5\",\r\n \"{numpad6}\": \"6\",\r\n \"{numpad7}\": \"7\",\r\n \"{numpad8}\": \"8\",\r\n \"{numpad9}\": \"9\",\r\n };\r\n }\r\n /**\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n */\r\n getButtonDisplayName(button, display, mergeDisplay){\r\n if(mergeDisplay){\r\n display = Object.assign({}, this.getDefaultDiplay(), display);\r\n } else {\r\n display = display || this.getDefaultDiplay();\r\n }\r\n\r\n return display[button] || button;\r\n }\r\n\r\n \r\n /**\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n */\r\n getUpdatedInput(button, input, options, caretPos, moveCaret){\r\n \r\n let output = input;\r\n\r\n if((button === \"{bksp}\" || button === \"{backspace}\") && output.length > 0){\r\n output = this.removeAt(output, caretPos, moveCaret);\r\n\r\n } else if(button === \"{space}\")\r\n output = this.addStringAt(output, \" \", caretPos, moveCaret);\r\n\r\n else if(button === \"{tab}\" && !(typeof options.tabCharOnTab === \"boolean\" && options.tabCharOnTab === false)){\r\n output = this.addStringAt(output, \"\\t\", caretPos, moveCaret);\r\n\r\n } else if((button === \"{enter}\" || button === \"{numpadenter}\") && options.newLineOnEnter)\r\n output = this.addStringAt(output, \"\\n\", caretPos, moveCaret);\r\n\r\n else if(button.includes(\"numpad\") && Number.isInteger(Number(button[button.length - 2]))){\r\n output = this.addStringAt(output, button[button.length - 2], caretPos);\r\n }\r\n else if(button === \"{numpaddivide}\")\r\n output = this.addStringAt(output, '/', caretPos, moveCaret);\r\n\r\n else if(button === \"{numpadmultiply}\")\r\n output = this.addStringAt(output, '*', caretPos, moveCaret);\r\n\r\n else if(button === \"{numpadsubtract}\")\r\n output = this.addStringAt(output, '-', caretPos, moveCaret);\r\n\r\n else if(button === \"{numpadadd}\")\r\n output = this.addStringAt(output, '+', caretPos, moveCaret);\r\n\r\n else if(button === \"{numpaddecimal}\")\r\n output = this.addStringAt(output, '.', caretPos, moveCaret);\r\n\r\n else if(button === \"{\" || button === \"}\")\r\n output = this.addStringAt(output, button, caretPos, moveCaret);\r\n\r\n else if(!button.includes(\"{\") && !button.includes(\"}\"))\r\n output = this.addStringAt(output, button, caretPos, moveCaret);\r\n\r\n return output;\r\n }\r\n\r\n /**\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n */\r\n updateCaretPos(length, minus){\r\n if(minus){\r\n if(this.simpleKeyboardInstance.caretPosition > 0)\r\n this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition - length;\r\n } else {\r\n this.simpleKeyboardInstance.caretPosition = this.simpleKeyboardInstance.caretPosition + length;\r\n }\r\n }\r\n\r\n /**\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n */\r\n addStringAt(source, string, position, moveCaret){\r\n let output;\r\n\r\n if(!position && position !== 0){\r\n output = source + string;\r\n } else {\r\n output = [source.slice(0, position), string, source.slice(position)].join('');\r\n\r\n /**\r\n * Avoid caret position change when maxLength is set\r\n */\r\n if(!this.isMaxLengthReached()){\r\n if(moveCaret) this.updateCaretPos(string.length);\r\n }\r\n\r\n }\r\n\r\n if(this.simpleKeyboardInstance.options.debug && moveCaret){\r\n console.log(\"Caret at:\", position);\r\n }\r\n\r\n return output;\r\n }\r\n\r\n /**\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n * @param {boolean} moveCaret Whether to update simple-keyboard's cursor\r\n */\r\n removeAt(source, position, moveCaret){\r\n if(this.simpleKeyboardInstance.caretPosition === 0){\r\n return source;\r\n }\r\n\r\n let output;\r\n let prevTwoChars;\r\n let emojiMatched;\r\n let emojiMatchedReg = /([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])/g;\r\n\r\n /**\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n */\r\n if(position && position >= 0){\r\n prevTwoChars = source.substring(position - 2, position)\r\n emojiMatched = prevTwoChars.match(emojiMatchedReg);\r\n\r\n if(emojiMatched){\r\n output = source.substr(0, (position - 2)) + source.substr(position);\r\n if(moveCaret) this.updateCaretPos(2, true);\r\n } else {\r\n output = source.substr(0, (position - 1)) + source.substr(position);\r\n if(moveCaret) this.updateCaretPos(1, true);\r\n }\r\n } else {\r\n prevTwoChars = source.slice(-2);\r\n emojiMatched = prevTwoChars.match(emojiMatchedReg);\r\n\r\n if(emojiMatched){\r\n output = source.slice(0, -2);\r\n if(moveCaret) this.updateCaretPos(2, true);\r\n } else {\r\n output = source.slice(0, -1);\r\n if(moveCaret) this.updateCaretPos(1, true);\r\n }\r\n }\r\n\r\n if(this.simpleKeyboardInstance.options.debug && moveCaret){\r\n console.log(\"Caret at:\", this.simpleKeyboardInstance.caretPosition);\r\n }\r\n\r\n return output;\r\n }\r\n /**\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n */\r\n handleMaxLength(inputObj, options, updatedInput){\r\n let maxLength = options.maxLength;\r\n let currentInput = inputObj[options.inputName];\r\n let condition = currentInput.length === maxLength;\r\n\r\n if(\r\n /**\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n */\r\n updatedInput.length <= currentInput.length\r\n ){\r\n return false;\r\n }\r\n\r\n if(Number.isInteger(maxLength)){\r\n if(options.debug){\r\n console.log(\"maxLength (num) reached:\", condition);\r\n }\r\n\r\n if(condition){\r\n /**\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n */\r\n this.maxLengthReached = true;\r\n return true;\r\n } else {\r\n this.maxLengthReached = false;\r\n return false;\r\n }\r\n }\r\n\r\n if(typeof maxLength === \"object\"){\r\n let condition = currentInput.length === maxLength[options.inputName];\r\n\r\n if(options.debug){\r\n console.log(\"maxLength (obj) reached:\", condition);\r\n }\r\n\r\n if(condition){\r\n this.maxLengthReached = true;\r\n return true;\r\n } else {\r\n this.maxLengthReached = false;\r\n return false;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Gets the current value of maxLengthReached\r\n */\r\n isMaxLengthReached(){\r\n return Boolean(this.maxLengthReached);\r\n }\r\n\r\n /**\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n */\r\n camelCase(string){\r\n return string.toLowerCase().trim().split(/[.\\-_\\s]/g).reduce((string, word) => string + word[0].toUpperCase() + word.slice(1));\r\n };\r\n\r\n /**\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n */\r\n countInArray(array, value){\r\n return array.reduce((n, x) => n + (x === value), 0);\r\n }\r\n\r\n}\r\n\r\nexport default Utilities;", "static": true, "longname": "X:/Dev/simple-keyboard/src/lib/services/Utilities.js", "access": "public", @@ -1992,7 +1992,7 @@ "lineNumber": 1 }, { - "__docId__": 140, + "__docId__": 141, "kind": "class", "name": "Utilities", "memberof": "src/lib/services/Utilities.js", @@ -2007,7 +2007,7 @@ "interface": false }, { - "__docId__": 141, + "__docId__": 142, "kind": "constructor", "name": "constructor", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2020,7 +2020,7 @@ "lineNumber": 8 }, { - "__docId__": 142, + "__docId__": 143, "kind": "member", "name": "simpleKeyboardInstance", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2039,7 +2039,7 @@ } }, { - "__docId__": 150, + "__docId__": 151, "kind": "method", "name": "getButtonClass", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2072,7 +2072,7 @@ } }, { - "__docId__": 151, + "__docId__": 152, "kind": "method", "name": "getDefaultDiplay", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2091,7 +2091,7 @@ } }, { - "__docId__": 152, + "__docId__": 153, "kind": "method", "name": "getButtonDisplayName", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2141,7 +2141,7 @@ } }, { - "__docId__": 153, + "__docId__": 154, "kind": "method", "name": "getUpdatedInput", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2151,7 +2151,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#getUpdatedInput", "access": "public", "description": "Returns the updated input resulting from clicking a given button", - "lineNumber": 135, + "lineNumber": 136, "params": [ { "nullable": null, @@ -2192,6 +2192,16 @@ "optional": false, "name": "caretPos", "description": "The cursor's current position" + }, + { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "optional": false, + "name": "moveCaret", + "description": "Whether to update simple-keyboard's cursor" } ], "return": { @@ -2201,7 +2211,7 @@ } }, { - "__docId__": 154, + "__docId__": 155, "kind": "method", "name": "updateCaretPos", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2211,7 +2221,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#updateCaretPos", "access": "public", "description": "Moves the cursor position by a given amount", - "lineNumber": 182, + "lineNumber": 185, "params": [ { "nullable": null, @@ -2237,7 +2247,7 @@ "return": null }, { - "__docId__": 155, + "__docId__": 156, "kind": "method", "name": "addStringAt", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2247,7 +2257,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#addStringAt", "access": "public", "description": "Adds a string to the input at a given position", - "lineNumber": 198, + "lineNumber": 202, "params": [ { "nullable": null, @@ -2278,6 +2288,16 @@ "optional": false, "name": "position", "description": "The (cursor) position where the string should be added" + }, + { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "optional": false, + "name": "moveCaret", + "description": "Whether to update simple-keyboard's cursor" } ], "return": { @@ -2287,7 +2307,7 @@ } }, { - "__docId__": 156, + "__docId__": 157, "kind": "method", "name": "removeAt", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2297,7 +2317,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#removeAt", "access": "public", "description": "Removes an amount of characters at a given position", - "lineNumber": 228, + "lineNumber": 233, "params": [ { "nullable": null, @@ -2318,6 +2338,16 @@ "optional": false, "name": "position", "description": "The (cursor) position from where the characters should be removed" + }, + { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "optional": false, + "name": "moveCaret", + "description": "Whether to update simple-keyboard's cursor" } ], "return": { @@ -2327,7 +2357,7 @@ } }, { - "__docId__": 157, + "__docId__": 158, "kind": "method", "name": "handleMaxLength", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2337,7 +2367,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#handleMaxLength", "access": "public", "description": "Determines whether the maxLength has been reached. This function is called when the maxLength option it set.", - "lineNumber": 275, + "lineNumber": 284, "params": [ { "nullable": null, @@ -2377,7 +2407,7 @@ } }, { - "__docId__": 158, + "__docId__": 159, "kind": "member", "name": "maxLengthReached", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2385,7 +2415,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#maxLengthReached", "access": "public", "description": "", - "lineNumber": 300, + "lineNumber": 308, "type": { "nullable": null, "types": [ @@ -2396,7 +2426,7 @@ } }, { - "__docId__": 162, + "__docId__": 163, "kind": "method", "name": "isMaxLengthReached", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2406,7 +2436,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#isMaxLengthReached", "access": "public", "description": "Gets the current value of maxLengthReached", - "lineNumber": 328, + "lineNumber": 336, "params": [], "return": { "types": [ @@ -2415,7 +2445,7 @@ } }, { - "__docId__": 163, + "__docId__": 164, "kind": "method", "name": "camelCase", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2425,7 +2455,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#camelCase", "access": "public", "description": "Transforms an arbitrary string to camelCase", - "lineNumber": 337, + "lineNumber": 345, "params": [ { "nullable": null, @@ -2445,7 +2475,7 @@ } }, { - "__docId__": 164, + "__docId__": 165, "kind": "method", "name": "countInArray", "memberof": "src/lib/services/Utilities.js~Utilities", @@ -2455,7 +2485,7 @@ "longname": "src/lib/services/Utilities.js~Utilities#countInArray", "access": "public", "description": "Counts the number of duplicates in a given array", - "lineNumber": 347, + "lineNumber": 355, "params": [ { "nullable": null, @@ -2485,7 +2515,7 @@ } }, { - "__docId__": 165, + "__docId__": 166, "kind": "file", "name": "src/lib/tests/TestUtility.js", "content": "/**\r\n * Test Utility Functions\r\n */\r\nexport default class TestUtility {\r\n /**\r\n * Set's a basic DOM structure to test in\r\n */\r\n setDOM = (divClass) => {\r\n this.clear();\r\n const div = document.createElement('div');\r\n div.className += divClass || \"simple-keyboard\";\r\n document.body.appendChild(div);\r\n }\r\n\r\n /**\r\n * Clears DOM structure\r\n */\r\n clear = () => {\r\n document.body.innerHTML = \"\";\r\n }\r\n\r\n /**\r\n * Test if standard buttons respect maxLength and do input a value\r\n */\r\n testLayoutStdButtons = (keyboard) => {\r\n let stdBtnCount = 0;\r\n let fullInput = '';\r\n\r\n this.iterateButtons((button) => {\r\n let label = button.getAttribute(\"data-skbtn\");\r\n\r\n if(label.includes(\"{\"))\r\n return false;\r\n\r\n // Click all standard buttons, respects maxLength\r\n button.onclick();\r\n\r\n // Recording fullInput, bypasses maxLength\r\n fullInput = keyboard.utilities.getUpdatedInput(label, fullInput, keyboard.options, null);\r\n\r\n stdBtnCount += label.length;\r\n });\r\n\r\n /**\r\n * Check if maxLength is respected\r\n */\r\n if(\r\n (\r\n typeof keyboard.options.maxLength === \"object\" &&\r\n keyboard.getInput().length !== keyboard.options.maxLength[keyboard.options.layoutName]\r\n ) ||\r\n (\r\n typeof keyboard.options.maxLength !== \"object\" &&\r\n keyboard.getInput().length !== keyboard.options.maxLength\r\n )\r\n )\r\n throw new Error(\"MAX_LENGTH_ISSUE\");\r\n else\r\n console.log(\"MAX_LENGTH PASSED:\", keyboard.options.layoutName, keyboard.getInput().length, keyboard.options.maxLength);\r\n\r\n /**\r\n * Check if all standard buttons are inputting something\r\n * (Regardless of maxLength)\r\n */\r\n if(stdBtnCount !== fullInput.length)\r\n throw new Error(\"STANDARD_BUTTONS_ISSUE\");\r\n else\r\n console.log(\"STANDARD_BUTTONS PASSED:\", keyboard.options.layoutName, stdBtnCount, fullInput.length);\r\n }\r\n\r\n /**\r\n * Test if function buttons are interactive (have an onclick)\r\n */\r\n testLayoutFctButtons = (callback) => {\r\n let fctBtnCount = 0;\r\n let fctBtnHasOnclickCount = 0;\r\n\r\n this.iterateButtons((button) => {\r\n let label = button.getAttribute(\"data-skbtn\");\r\n\r\n if(!label.includes(\"{\") && !label.includes(\"}\"))\r\n return false;\r\n\r\n fctBtnCount++;\r\n\r\n if(button.onclick){\r\n button.onclick();\r\n fctBtnHasOnclickCount++;\r\n }\r\n\r\n callback(fctBtnCount, fctBtnHasOnclickCount);\r\n });\r\n }\r\n\r\n /**\r\n * Iterates on the keyboard buttons\r\n */\r\n iterateButtons = (callback, selector) => {\r\n let rows = document.body.querySelector(selector || '.simple-keyboard').children;\r\n\r\n Array.from(rows).forEach(row => {\r\n Array.from(row.children).forEach((button) => {\r\n callback(button);\r\n });\r\n });\r\n }\r\n}", @@ -2496,7 +2526,7 @@ "lineNumber": 1 }, { - "__docId__": 166, + "__docId__": 167, "kind": "class", "name": "TestUtility", "memberof": "src/lib/tests/TestUtility.js", @@ -2511,7 +2541,7 @@ "interface": false }, { - "__docId__": 167, + "__docId__": 168, "kind": "member", "name": "setDOM", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2527,7 +2557,7 @@ } }, { - "__docId__": 168, + "__docId__": 169, "kind": "member", "name": "clear", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2543,7 +2573,7 @@ } }, { - "__docId__": 169, + "__docId__": 170, "kind": "member", "name": "testLayoutStdButtons", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2559,7 +2589,7 @@ } }, { - "__docId__": 170, + "__docId__": 171, "kind": "member", "name": "testLayoutFctButtons", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2575,7 +2605,7 @@ } }, { - "__docId__": 171, + "__docId__": 172, "kind": "member", "name": "iterateButtons", "memberof": "src/lib/tests/TestUtility.js~TestUtility", @@ -2600,7 +2630,7 @@ }, { "kind": "packageJSON", - "content": "{\r\n \"name\": \"simple-keyboard\",\r\n \"version\": \"2.7.5\",\r\n \"description\": \"On-screen Javascript Virtual Keyboard\",\r\n \"main\": \"build/index.js\",\r\n \"scripts\": {\r\n \"start\": \"node scripts/start.js\",\r\n \"build\": \"node scripts/build.js\",\r\n \"demo\": \"node scripts/demo.js\",\r\n \"test\": \"node scripts/test.js --env=jsdom\",\r\n \"postinstall\": \"node bin/postinstall\",\r\n \"prepublish\": \"npm run build\",\r\n \"docs\": \"esdoc\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/hodgef/simple-keyboard\"\r\n },\r\n \"author\": \"Francisco Hodge (https://github.com/hodgef)\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/hodgef/simple-keyboard/issues\"\r\n },\r\n \"homepage\": \"https://virtual-keyboard.js.org/\",\r\n \"keywords\": [\r\n \"javascript\",\r\n \"es6\",\r\n \"digital\",\r\n \"keyboard\",\r\n \"onscreen\",\r\n \"virtual\",\r\n \"screen-keyboard\",\r\n \"component\",\r\n \"virtual-keyboard\",\r\n \"touchscreen\",\r\n \"touch-screen\",\r\n \"kiosk\",\r\n \"osk\"\r\n ],\r\n \"license\": \"MIT\",\r\n \"dependencies\": {},\r\n \"devDependencies\": {\r\n \"autoprefixer\": \"7.1.6\",\r\n \"babel-core\": \"^6.26.3\",\r\n \"babel-eslint\": \"7.2.3\",\r\n \"babel-jest\": \"20.0.3\",\r\n \"babel-loader\": \"7.1.2\",\r\n \"babel-preset-react-app\": \"^3.1.2\",\r\n \"babel-runtime\": \"6.26.0\",\r\n \"case-sensitive-paths-webpack-plugin\": \"2.1.1\",\r\n \"chalk\": \"1.1.3\",\r\n \"copy-webpack-plugin\": \"^4.3.1\",\r\n \"css-loader\": \"0.28.7\",\r\n \"dotenv\": \"4.0.0\",\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"eslint\": \"4.10.0\",\r\n \"eslint-config-react-app\": \"^2.0.1\",\r\n \"eslint-loader\": \"1.9.0\",\r\n \"eslint-plugin-flowtype\": \"2.39.1\",\r\n \"eslint-plugin-import\": \"2.8.0\",\r\n \"eslint-plugin-jsx-a11y\": \"5.1.1\",\r\n \"eslint-plugin-react\": \"7.4.0\",\r\n \"extract-text-webpack-plugin\": \"3.0.2\",\r\n \"file-loader\": \"1.1.5\",\r\n \"fs-extra\": \"3.0.1\",\r\n \"html-webpack-plugin\": \"2.29.0\",\r\n \"istanbul\": \"^0.4.5\",\r\n \"istanbul-api\": \"^2.0.6\",\r\n \"istanbul-reports\": \"^2.0.1\",\r\n \"jest\": \"20.0.4\",\r\n \"object-assign\": \"4.1.1\",\r\n \"postcss-flexbugs-fixes\": \"3.2.0\",\r\n \"postcss-loader\": \"2.0.8\",\r\n \"promise\": \"8.0.1\",\r\n \"prop-types\": \"^15.6.1\",\r\n \"raf\": \"3.4.0\",\r\n \"react\": \"^16.2.0\",\r\n \"react-dev-utils\": \"^4.2.1\",\r\n \"react-dom\": \"^16.2.0\",\r\n \"style-loader\": \"0.19.0\",\r\n \"sw-precache-webpack-plugin\": \"0.11.4\",\r\n \"url-loader\": \"0.6.2\",\r\n \"webpack\": \"3.8.1\",\r\n \"webpack-dev-server\": \"2.9.4\",\r\n \"webpack-manifest-plugin\": \"1.3.2\",\r\n \"whatwg-fetch\": \"2.0.3\"\r\n },\r\n \"jest\": {\r\n \"collectCoverageFrom\": [\r\n \"src/**/*.{js,jsx,mjs}\",\r\n \"!**/tests/**\"\r\n ],\r\n \"setupFiles\": [\r\n \"/config/polyfills.js\"\r\n ],\r\n \"testMatch\": [\r\n \"/src/**/__tests__/**/*.{js,jsx,mjs}\",\r\n \"/src/**/?(*.)(spec|test).{js,jsx,mjs}\"\r\n ],\r\n \"testEnvironment\": \"node\",\r\n \"testURL\": \"http://localhost\",\r\n \"transform\": {\r\n \"^.+\\\\.(js|jsx|mjs)$\": \"/node_modules/babel-jest\",\r\n \"^.+\\\\.css$\": \"/config/jest/cssTransform.js\",\r\n \"^(?!.*\\\\.(js|jsx|mjs|css|json)$)\": \"/config/jest/fileTransform.js\"\r\n },\r\n \"transformIgnorePatterns\": [\r\n \"[/\\\\\\\\]node_modules[/\\\\\\\\].+\\\\.(js|jsx|mjs)$\"\r\n ],\r\n \"moduleNameMapper\": {\r\n \"^react-native$\": \"react-native-web\"\r\n },\r\n \"moduleFileExtensions\": [\r\n \"web.js\",\r\n \"mjs\",\r\n \"js\",\r\n \"json\",\r\n \"web.jsx\",\r\n \"jsx\",\r\n \"node\"\r\n ]\r\n },\r\n \"babel\": {\r\n \"presets\": [\r\n \"react-app\"\r\n ]\r\n },\r\n \"eslintConfig\": {\r\n \"extends\": \"react-app\"\r\n }\r\n}\r\n", + "content": "{\r\n \"name\": \"simple-keyboard\",\r\n \"version\": \"2.7.11\",\r\n \"description\": \"On-screen Javascript Virtual Keyboard\",\r\n \"main\": \"build/index.js\",\r\n \"scripts\": {\r\n \"start\": \"node scripts/start.js\",\r\n \"build\": \"node scripts/build.js\",\r\n \"demo\": \"node scripts/demo.js\",\r\n \"test\": \"node scripts/test.js --env=jsdom\",\r\n \"postinstall\": \"node bin/postinstall\",\r\n \"prepublish\": \"npm run build\",\r\n \"docs\": \"esdoc\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/hodgef/simple-keyboard\"\r\n },\r\n \"author\": \"Francisco Hodge (https://github.com/hodgef)\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/hodgef/simple-keyboard/issues\"\r\n },\r\n \"homepage\": \"https://virtual-keyboard.js.org/\",\r\n \"keywords\": [\r\n \"javascript\",\r\n \"es6\",\r\n \"digital\",\r\n \"keyboard\",\r\n \"onscreen\",\r\n \"virtual\",\r\n \"screen-keyboard\",\r\n \"component\",\r\n \"virtual-keyboard\",\r\n \"touchscreen\",\r\n \"touch-screen\",\r\n \"kiosk\",\r\n \"osk\"\r\n ],\r\n \"license\": \"MIT\",\r\n \"dependencies\": {},\r\n \"devDependencies\": {\r\n \"autoprefixer\": \"9.3.1\",\r\n \"babel-core\": \"^6.26.3\",\r\n \"babel-eslint\": \"7.2.3\",\r\n \"babel-jest\": \"20.0.3\",\r\n \"babel-loader\": \"7.1.2\",\r\n \"babel-preset-react-app\": \"^3.1.2\",\r\n \"babel-runtime\": \"6.26.0\",\r\n \"case-sensitive-paths-webpack-plugin\": \"2.1.1\",\r\n \"chalk\": \"1.1.3\",\r\n \"copy-webpack-plugin\": \"^4.3.1\",\r\n \"css-loader\": \"0.28.7\",\r\n \"dotenv\": \"4.0.0\",\r\n \"esdoc\": \"^1.1.0\",\r\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\r\n \"esdoc-standard-plugin\": \"^1.0.0\",\r\n \"eslint\": \"4.10.0\",\r\n \"eslint-config-react-app\": \"^2.0.1\",\r\n \"eslint-loader\": \"1.9.0\",\r\n \"eslint-plugin-flowtype\": \"2.39.1\",\r\n \"eslint-plugin-import\": \"2.8.0\",\r\n \"eslint-plugin-jsx-a11y\": \"5.1.1\",\r\n \"eslint-plugin-react\": \"7.4.0\",\r\n \"extract-text-webpack-plugin\": \"3.0.2\",\r\n \"file-loader\": \"1.1.5\",\r\n \"fs-extra\": \"3.0.1\",\r\n \"html-webpack-plugin\": \"2.29.0\",\r\n \"istanbul\": \"^0.4.5\",\r\n \"istanbul-api\": \"^2.0.6\",\r\n \"istanbul-reports\": \"^2.0.1\",\r\n \"jest\": \"20.0.4\",\r\n \"object-assign\": \"4.1.1\",\r\n \"postcss-flexbugs-fixes\": \"3.2.0\",\r\n \"postcss-loader\": \"2.0.8\",\r\n \"promise\": \"8.0.1\",\r\n \"prop-types\": \"^15.6.1\",\r\n \"raf\": \"3.4.0\",\r\n \"react\": \"^16.2.0\",\r\n \"react-dev-utils\": \"^4.2.2\",\r\n \"react-dom\": \"^16.2.0\",\r\n \"style-loader\": \"0.19.0\",\r\n \"sw-precache-webpack-plugin\": \"0.11.5\",\r\n \"url-loader\": \"0.6.2\",\r\n \"webpack\": \"3.8.1\",\r\n \"webpack-dev-server\": \"2.9.4\",\r\n \"webpack-manifest-plugin\": \"1.3.2\",\r\n \"whatwg-fetch\": \"2.0.3\"\r\n },\r\n \"jest\": {\r\n \"collectCoverageFrom\": [\r\n \"src/**/*.{js,jsx,mjs}\",\r\n \"!**/tests/**\"\r\n ],\r\n \"setupFiles\": [\r\n \"/config/polyfills.js\"\r\n ],\r\n \"testMatch\": [\r\n \"/src/**/__tests__/**/*.{js,jsx,mjs}\",\r\n \"/src/**/?(*.)(spec|test).{js,jsx,mjs}\"\r\n ],\r\n \"testEnvironment\": \"node\",\r\n \"testURL\": \"http://localhost\",\r\n \"transform\": {\r\n \"^.+\\\\.(js|jsx|mjs)$\": \"/node_modules/babel-jest\",\r\n \"^.+\\\\.css$\": \"/config/jest/cssTransform.js\",\r\n \"^(?!.*\\\\.(js|jsx|mjs|css|json)$)\": \"/config/jest/fileTransform.js\"\r\n },\r\n \"transformIgnorePatterns\": [\r\n \"[/\\\\\\\\]node_modules[/\\\\\\\\].+\\\\.(js|jsx|mjs)$\"\r\n ],\r\n \"moduleNameMapper\": {\r\n \"^react-native$\": \"react-native-web\"\r\n },\r\n \"moduleFileExtensions\": [\r\n \"web.js\",\r\n \"mjs\",\r\n \"js\",\r\n \"json\",\r\n \"web.jsx\",\r\n \"jsx\",\r\n \"node\"\r\n ]\r\n },\r\n \"babel\": {\r\n \"presets\": [\r\n \"react-app\"\r\n ]\r\n },\r\n \"eslintConfig\": {\r\n \"extends\": \"react-app\"\r\n }\r\n}\r\n", "longname": "X:\\Dev\\simple-keyboard\\package.json", "name": "package.json", "static": true, diff --git a/docs/source.html b/docs/source.html index a7068c7d..97f4ef3b 100644 --- a/docs/source.html +++ b/docs/source.html @@ -58,9 +58,9 @@ src/demo/App.js App 100 %8/8 - 1921 byte - 84 - 2018-11-05 16:32:42 (UTC) + 2019 byte + 88 + 2018-11-02 19:39:25 (UTC) src/demo/index.js @@ -74,9 +74,9 @@ src/lib/components/Keyboard.js SimpleKeyboard 100 %41/41 - 24443 byte - 759 - 2018-11-05 16:42:42 (UTC) + 24880 byte + 774 + 2018-11-02 21:51:35 (UTC) src/lib/index.js @@ -106,9 +106,9 @@ src/lib/services/Utilities.js Utilities 100 %15/15 - 10567 byte - 352 - 2018-10-03 17:11:36 (UTC) + 11188 byte + 360 + 2018-11-02 22:28:58 (UTC) src/lib/tests/TestUtility.js