diff --git a/docs/ast/source/frame.mjs.json b/docs/ast/source/frame.mjs.json index 3db65a4..d48a6b5 100644 --- a/docs/ast/source/frame.mjs.json +++ b/docs/ast/source/frame.mjs.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 3624, + "end": 3622, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 3624, + "end": 3622, "loc": { "start": { "line": 1, @@ -117,7 +117,7 @@ { "type": "ExportNamedDeclaration", "start": 36, - "end": 3624, + "end": 3622, "loc": { "start": { "line": 3, @@ -133,7 +133,7 @@ "declaration": { "type": "ClassDeclaration", "start": 43, - "end": 3624, + "end": 3622, "loc": { "start": { "line": 3, @@ -165,7 +165,7 @@ "body": { "type": "ClassBody", "start": 55, - "end": 3624, + "end": 3622, "loc": { "start": { "line": 3, @@ -645,9 +645,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", + "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", "start": 808, - "end": 1035, + "end": 1034, "loc": { "start": { "line": 41, @@ -663,8 +663,8 @@ }, { "type": "ClassMethod", - "start": 1041, - "end": 1192, + "start": 1040, + "end": 1191, "loc": { "start": { "line": 47, @@ -679,8 +679,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1041, - "end": 1052, + "start": 1040, + "end": 1051, "loc": { "start": { "line": 47, @@ -703,8 +703,8 @@ "params": [ { "type": "Identifier", - "start": 1053, - "end": 1063, + "start": 1052, + "end": 1062, "loc": { "start": { "line": 47, @@ -720,8 +720,8 @@ }, { "type": "Identifier", - "start": 1065, - "end": 1076, + "start": 1064, + "end": 1075, "loc": { "start": { "line": 47, @@ -738,8 +738,8 @@ ], "body": { "type": "BlockStatement", - "start": 1078, - "end": 1192, + "start": 1077, + "end": 1191, "loc": { "start": { "line": 47, @@ -753,8 +753,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1089, - "end": 1116, + "start": 1088, + "end": 1115, "loc": { "start": { "line": 48, @@ -767,8 +767,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1089, - "end": 1115, + "start": 1088, + "end": 1114, "loc": { "start": { "line": 48, @@ -782,8 +782,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1089, - "end": 1097, + "start": 1088, + "end": 1096, "loc": { "start": { "line": 48, @@ -796,8 +796,8 @@ }, "object": { "type": "ThisExpression", - "start": 1089, - "end": 1093, + "start": 1088, + "end": 1092, "loc": { "start": { "line": 48, @@ -811,8 +811,8 @@ }, "property": { "type": "Identifier", - "start": 1094, - "end": 1097, + "start": 1093, + "end": 1096, "loc": { "start": { "line": 48, @@ -830,8 +830,8 @@ }, "right": { "type": "MemberExpression", - "start": 1100, - "end": 1115, + "start": 1099, + "end": 1114, "loc": { "start": { "line": 48, @@ -844,8 +844,8 @@ }, "object": { "type": "Identifier", - "start": 1100, - "end": 1111, + "start": 1099, + "end": 1110, "loc": { "start": { "line": 48, @@ -861,8 +861,8 @@ }, "property": { "type": "Identifier", - "start": 1112, - "end": 1115, + "start": 1111, + "end": 1114, "loc": { "start": { "line": 48, @@ -882,8 +882,8 @@ }, { "type": "ExpressionStatement", - "start": 1126, - "end": 1152, + "start": 1125, + "end": 1151, "loc": { "start": { "line": 49, @@ -896,8 +896,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1126, - "end": 1151, + "start": 1125, + "end": 1150, "loc": { "start": { "line": 49, @@ -911,8 +911,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1126, - "end": 1137, + "start": 1125, + "end": 1136, "loc": { "start": { "line": 49, @@ -925,8 +925,8 @@ }, "object": { "type": "ThisExpression", - "start": 1126, - "end": 1130, + "start": 1125, + "end": 1129, "loc": { "start": { "line": 49, @@ -940,8 +940,8 @@ }, "property": { "type": "Identifier", - "start": 1131, - "end": 1137, + "start": 1130, + "end": 1136, "loc": { "start": { "line": 49, @@ -959,8 +959,8 @@ }, "right": { "type": "Identifier", - "start": 1140, - "end": 1151, + "start": 1139, + "end": 1150, "loc": { "start": { "line": 49, @@ -978,8 +978,8 @@ }, { "type": "ExpressionStatement", - "start": 1162, - "end": 1185, + "start": 1161, + "end": 1184, "loc": { "start": { "line": 50, @@ -992,8 +992,8 @@ }, "expression": { "type": "CallExpression", - "start": 1162, - "end": 1184, + "start": 1161, + "end": 1183, "loc": { "start": { "line": 50, @@ -1006,8 +1006,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1162, - "end": 1172, + "start": 1161, + "end": 1171, "loc": { "start": { "line": 50, @@ -1020,8 +1020,8 @@ }, "object": { "type": "ThisExpression", - "start": 1162, - "end": 1166, + "start": 1161, + "end": 1165, "loc": { "start": { "line": 50, @@ -1035,8 +1035,8 @@ }, "property": { "type": "Identifier", - "start": 1167, - "end": 1172, + "start": 1166, + "end": 1171, "loc": { "start": { "line": 50, @@ -1055,8 +1055,8 @@ "arguments": [ { "type": "Identifier", - "start": 1173, - "end": 1183, + "start": 1172, + "end": 1182, "loc": { "start": { "line": 50, @@ -1080,9 +1080,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", + "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", "start": 808, - "end": 1035, + "end": 1034, "loc": { "start": { "line": 41, @@ -1098,9 +1098,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1198, - "end": 1379, + "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", + "start": 1197, + "end": 1377, "loc": { "start": { "line": 52, @@ -1116,8 +1116,8 @@ }, { "type": "ClassMethod", - "start": 1385, - "end": 1720, + "start": 1383, + "end": 1718, "loc": { "start": { "line": 57, @@ -1132,8 +1132,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1385, - "end": 1390, + "start": 1383, + "end": 1388, "loc": { "start": { "line": 57, @@ -1156,8 +1156,8 @@ "params": [ { "type": "Identifier", - "start": 1391, - "end": 1401, + "start": 1389, + "end": 1399, "loc": { "start": { "line": 57, @@ -1174,8 +1174,8 @@ ], "body": { "type": "BlockStatement", - "start": 1403, - "end": 1720, + "start": 1401, + "end": 1718, "loc": { "start": { "line": 57, @@ -1189,8 +1189,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1467, - "end": 1497, + "start": 1465, + "end": 1495, "loc": { "start": { "line": 59, @@ -1204,8 +1204,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1473, - "end": 1496, + "start": 1471, + "end": 1494, "loc": { "start": { "line": 59, @@ -1218,8 +1218,8 @@ }, "id": { "type": "Identifier", - "start": 1473, - "end": 1480, + "start": 1471, + "end": 1478, "loc": { "start": { "line": 59, @@ -1236,8 +1236,8 @@ }, "init": { "type": "MemberExpression", - "start": 1483, - "end": 1496, + "start": 1481, + "end": 1494, "loc": { "start": { "line": 59, @@ -1250,8 +1250,8 @@ }, "object": { "type": "Identifier", - "start": 1483, - "end": 1493, + "start": 1481, + "end": 1491, "loc": { "start": { "line": 59, @@ -1267,8 +1267,8 @@ }, "property": { "type": "NumericLiteral", - "start": 1494, - "end": 1495, + "start": 1492, + "end": 1493, "loc": { "start": { "line": 59, @@ -1295,8 +1295,8 @@ { "type": "CommentLine", "value": " Loop through frame data and build frame.", - "start": 1414, - "end": 1457, + "start": 1412, + "end": 1455, "loc": { "start": { "line": 58, @@ -1312,8 +1312,8 @@ }, { "type": "VariableDeclaration", - "start": 1507, - "end": 1581, + "start": 1505, + "end": 1579, "loc": { "start": { "line": 60, @@ -1327,8 +1327,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1513, - "end": 1580, + "start": 1511, + "end": 1578, "loc": { "start": { "line": 60, @@ -1341,8 +1341,8 @@ }, "id": { "type": "Identifier", - "start": 1513, - "end": 1523, + "start": 1511, + "end": 1521, "loc": { "start": { "line": 60, @@ -1358,8 +1358,8 @@ }, "init": { "type": "ConditionalExpression", - "start": 1526, - "end": 1580, + "start": 1524, + "end": 1578, "loc": { "start": { "line": 60, @@ -1372,8 +1372,8 @@ }, "test": { "type": "MemberExpression", - "start": 1526, - "end": 1539, + "start": 1524, + "end": 1537, "loc": { "start": { "line": 60, @@ -1386,8 +1386,8 @@ }, "object": { "type": "Identifier", - "start": 1526, - "end": 1536, + "start": 1524, + "end": 1534, "loc": { "start": { "line": 60, @@ -1403,8 +1403,8 @@ }, "property": { "type": "NumericLiteral", - "start": 1537, - "end": 1538, + "start": 1535, + "end": 1536, "loc": { "start": { "line": 60, @@ -1425,8 +1425,8 @@ }, "consequent": { "type": "MemberExpression", - "start": 1542, - "end": 1555, + "start": 1540, + "end": 1553, "loc": { "start": { "line": 60, @@ -1439,8 +1439,8 @@ }, "object": { "type": "Identifier", - "start": 1542, - "end": 1552, + "start": 1540, + "end": 1550, "loc": { "start": { "line": 60, @@ -1456,8 +1456,8 @@ }, "property": { "type": "NumericLiteral", - "start": 1553, - "end": 1554, + "start": 1551, + "end": 1552, "loc": { "start": { "line": 60, @@ -1478,8 +1478,8 @@ }, "alternate": { "type": "CallExpression", - "start": 1558, - "end": 1580, + "start": 1556, + "end": 1578, "loc": { "start": { "line": 60, @@ -1492,8 +1492,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1558, - "end": 1578, + "start": 1556, + "end": 1576, "loc": { "start": { "line": 60, @@ -1506,8 +1506,8 @@ }, "object": { "type": "MemberExpression", - "start": 1558, - "end": 1569, + "start": 1556, + "end": 1567, "loc": { "start": { "line": 60, @@ -1520,8 +1520,8 @@ }, "object": { "type": "ThisExpression", - "start": 1558, - "end": 1562, + "start": 1556, + "end": 1560, "loc": { "start": { "line": 60, @@ -1535,8 +1535,8 @@ }, "property": { "type": "Identifier", - "start": 1563, - "end": 1569, + "start": 1561, + "end": 1567, "loc": { "start": { "line": 60, @@ -1554,8 +1554,8 @@ }, "property": { "type": "Identifier", - "start": 1570, - "end": 1578, + "start": 1568, + "end": 1576, "loc": { "start": { "line": 60, @@ -1581,8 +1581,8 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1591, - "end": 1610, + "start": 1589, + "end": 1608, "loc": { "start": { "line": 61, @@ -1598,8 +1598,8 @@ }, { "type": "ExpressionStatement", - "start": 1620, - "end": 1645, + "start": 1618, + "end": 1643, "loc": { "start": { "line": 62, @@ -1612,8 +1612,8 @@ }, "expression": { "type": "CallExpression", - "start": 1620, - "end": 1644, + "start": 1618, + "end": 1642, "loc": { "start": { "line": 62, @@ -1626,8 +1626,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1620, - "end": 1635, + "start": 1618, + "end": 1633, "loc": { "start": { "line": 62, @@ -1640,8 +1640,8 @@ }, "object": { "type": "ThisExpression", - "start": 1620, - "end": 1624, + "start": 1618, + "end": 1622, "loc": { "start": { "line": 62, @@ -1656,8 +1656,8 @@ }, "property": { "type": "Identifier", - "start": 1625, - "end": 1635, + "start": 1623, + "end": 1633, "loc": { "start": { "line": 62, @@ -1677,8 +1677,8 @@ "arguments": [ { "type": "Identifier", - "start": 1636, - "end": 1643, + "start": 1634, + "end": 1641, "loc": { "start": { "line": 62, @@ -1699,8 +1699,8 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1591, - "end": 1610, + "start": 1589, + "end": 1608, "loc": { "start": { "line": 61, @@ -1717,8 +1717,8 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1655, - "end": 1677, + "start": 1653, + "end": 1675, "loc": { "start": { "line": 63, @@ -1734,8 +1734,8 @@ }, { "type": "ExpressionStatement", - "start": 1687, - "end": 1713, + "start": 1685, + "end": 1711, "loc": { "start": { "line": 64, @@ -1748,8 +1748,8 @@ }, "expression": { "type": "CallExpression", - "start": 1687, - "end": 1712, + "start": 1685, + "end": 1710, "loc": { "start": { "line": 64, @@ -1762,8 +1762,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1687, - "end": 1700, + "start": 1685, + "end": 1698, "loc": { "start": { "line": 64, @@ -1776,8 +1776,8 @@ }, "object": { "type": "ThisExpression", - "start": 1687, - "end": 1691, + "start": 1685, + "end": 1689, "loc": { "start": { "line": 64, @@ -1792,8 +1792,8 @@ }, "property": { "type": "Identifier", - "start": 1692, - "end": 1700, + "start": 1690, + "end": 1698, "loc": { "start": { "line": 64, @@ -1813,8 +1813,8 @@ "arguments": [ { "type": "Identifier", - "start": 1701, - "end": 1711, + "start": 1699, + "end": 1709, "loc": { "start": { "line": 64, @@ -1835,8 +1835,8 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1655, - "end": 1677, + "start": 1653, + "end": 1675, "loc": { "start": { "line": 63, @@ -1857,9 +1857,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1198, - "end": 1379, + "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", + "start": 1197, + "end": 1377, "loc": { "start": { "line": 52, @@ -1876,8 +1876,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1726, - "end": 1898, + "start": 1724, + "end": 1896, "loc": { "start": { "line": 66, @@ -1893,8 +1893,8 @@ }, { "type": "ClassMethod", - "start": 1904, - "end": 2187, + "start": 1902, + "end": 2185, "loc": { "start": { "line": 71, @@ -1909,8 +1909,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1904, - "end": 1912, + "start": 1902, + "end": 1910, "loc": { "start": { "line": 71, @@ -1933,8 +1933,8 @@ "params": [ { "type": "Identifier", - "start": 1913, - "end": 1919, + "start": 1911, + "end": 1917, "loc": { "start": { "line": 71, @@ -1951,8 +1951,8 @@ ], "body": { "type": "BlockStatement", - "start": 1921, - "end": 2187, + "start": 1919, + "end": 2185, "loc": { "start": { "line": 71, @@ -1966,8 +1966,8 @@ "body": [ { "type": "IfStatement", - "start": 1932, - "end": 2158, + "start": 1930, + "end": 2156, "loc": { "start": { "line": 72, @@ -1980,8 +1980,8 @@ }, "test": { "type": "Identifier", - "start": 1936, - "end": 1942, + "start": 1934, + "end": 1940, "loc": { "start": { "line": 72, @@ -1997,8 +1997,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1944, - "end": 2158, + "start": 1942, + "end": 2156, "loc": { "start": { "line": 72, @@ -2012,8 +2012,8 @@ "body": [ { "type": "IfStatement", - "start": 1959, - "end": 2147, + "start": 1957, + "end": 2145, "loc": { "start": { "line": 73, @@ -2026,8 +2026,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1963, - "end": 1990, + "start": 1961, + "end": 1988, "loc": { "start": { "line": 73, @@ -2040,8 +2040,8 @@ }, "left": { "type": "UnaryExpression", - "start": 1963, - "end": 1977, + "start": 1961, + "end": 1975, "loc": { "start": { "line": 73, @@ -2056,8 +2056,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1970, - "end": 1976, + "start": 1968, + "end": 1974, "loc": { "start": { "line": 73, @@ -2072,7 +2072,7 @@ "name": "pDelay", "extra": { "parenthesized": true, - "parenStart": 1969 + "parenStart": 1967 } }, "extra": { @@ -2082,8 +2082,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1982, - "end": 1990, + "start": 1980, + "end": 1988, "loc": { "start": { "line": 73, @@ -2103,8 +2103,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1992, - "end": 2046, + "start": 1990, + "end": 2044, "loc": { "start": { "line": 73, @@ -2118,8 +2118,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2011, - "end": 2031, + "start": 2009, + "end": 2029, "loc": { "start": { "line": 74, @@ -2132,8 +2132,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2011, - "end": 2030, + "start": 2009, + "end": 2028, "loc": { "start": { "line": 74, @@ -2147,8 +2147,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2011, - "end": 2021, + "start": 2009, + "end": 2019, "loc": { "start": { "line": 74, @@ -2161,8 +2161,8 @@ }, "object": { "type": "ThisExpression", - "start": 2011, - "end": 2015, + "start": 2009, + "end": 2013, "loc": { "start": { "line": 74, @@ -2176,8 +2176,8 @@ }, "property": { "type": "Identifier", - "start": 2016, - "end": 2021, + "start": 2014, + "end": 2019, "loc": { "start": { "line": 74, @@ -2195,8 +2195,8 @@ }, "right": { "type": "Identifier", - "start": 2024, - "end": 2030, + "start": 2022, + "end": 2028, "loc": { "start": { "line": 74, @@ -2217,8 +2217,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 2052, - "end": 2147, + "start": 2050, + "end": 2145, "loc": { "start": { "line": 75, @@ -2232,8 +2232,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2071, - "end": 2132, + "start": 2069, + "end": 2130, "loc": { "start": { "line": 76, @@ -2246,8 +2246,8 @@ }, "expression": { "type": "CallExpression", - "start": 2071, - "end": 2131, + "start": 2069, + "end": 2129, "loc": { "start": { "line": 76, @@ -2260,8 +2260,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2071, - "end": 2108, + "start": 2069, + "end": 2106, "loc": { "start": { "line": 76, @@ -2274,8 +2274,8 @@ }, "object": { "type": "CallExpression", - "start": 2071, - "end": 2102, + "start": 2069, + "end": 2100, "loc": { "start": { "line": 76, @@ -2288,8 +2288,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2071, - "end": 2088, + "start": 2069, + "end": 2086, "loc": { "start": { "line": 76, @@ -2302,8 +2302,8 @@ }, "object": { "type": "MemberExpression", - "start": 2071, - "end": 2081, + "start": 2069, + "end": 2079, "loc": { "start": { "line": 76, @@ -2316,8 +2316,8 @@ }, "object": { "type": "Identifier", - "start": 2071, - "end": 2074, + "start": 2069, + "end": 2072, "loc": { "start": { "line": 76, @@ -2333,8 +2333,8 @@ }, "property": { "type": "Identifier", - "start": 2075, - "end": 2081, + "start": 2073, + "end": 2079, "loc": { "start": { "line": 76, @@ -2352,8 +2352,8 @@ }, "property": { "type": "Identifier", - "start": 2082, - "end": 2088, + "start": 2080, + "end": 2086, "loc": { "start": { "line": 76, @@ -2372,8 +2372,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2089, - "end": 2101, + "start": 2087, + "end": 2099, "loc": { "start": { "line": 76, @@ -2394,8 +2394,8 @@ }, "property": { "type": "Identifier", - "start": 2103, - "end": 2108, + "start": 2101, + "end": 2106, "loc": { "start": { "line": 76, @@ -2414,8 +2414,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2109, - "end": 2130, + "start": 2107, + "end": 2128, "loc": { "start": { "line": 76, @@ -2446,8 +2446,8 @@ }, { "type": "ReturnStatement", - "start": 2168, - "end": 2180, + "start": 2166, + "end": 2178, "loc": { "start": { "line": 79, @@ -2460,8 +2460,8 @@ }, "argument": { "type": "ThisExpression", - "start": 2175, - "end": 2179, + "start": 2173, + "end": 2177, "loc": { "start": { "line": 79, @@ -2482,8 +2482,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1726, - "end": 1898, + "start": 1724, + "end": 1896, "loc": { "start": { "line": 66, @@ -2500,8 +2500,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2193, - "end": 2294, + "start": 2191, + "end": 2292, "loc": { "start": { "line": 81, @@ -2517,8 +2517,8 @@ }, { "type": "ClassMethod", - "start": 2300, - "end": 2347, + "start": 2298, + "end": 2345, "loc": { "start": { "line": 85, @@ -2533,8 +2533,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2300, - "end": 2308, + "start": 2298, + "end": 2306, "loc": { "start": { "line": 85, @@ -2557,8 +2557,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2311, - "end": 2347, + "start": 2309, + "end": 2345, "loc": { "start": { "line": 85, @@ -2572,8 +2572,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2322, - "end": 2340, + "start": 2320, + "end": 2338, "loc": { "start": { "line": 86, @@ -2586,8 +2586,8 @@ }, "argument": { "type": "MemberExpression", - "start": 2329, - "end": 2339, + "start": 2327, + "end": 2337, "loc": { "start": { "line": 86, @@ -2600,8 +2600,8 @@ }, "object": { "type": "ThisExpression", - "start": 2329, - "end": 2333, + "start": 2327, + "end": 2331, "loc": { "start": { "line": 86, @@ -2615,8 +2615,8 @@ }, "property": { "type": "Identifier", - "start": 2334, - "end": 2339, + "start": 2332, + "end": 2337, "loc": { "start": { "line": 86, @@ -2641,8 +2641,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2193, - "end": 2294, + "start": 2191, + "end": 2292, "loc": { "start": { "line": 81, @@ -2659,8 +2659,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2353, - "end": 2518, + "start": 2351, + "end": 2516, "loc": { "start": { "line": 88, @@ -2676,8 +2676,8 @@ }, { "type": "ClassMethod", - "start": 2524, - "end": 2822, + "start": 2522, + "end": 2820, "loc": { "start": { "line": 93, @@ -2692,8 +2692,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2524, - "end": 2534, + "start": 2522, + "end": 2532, "loc": { "start": { "line": 93, @@ -2716,8 +2716,8 @@ "params": [ { "type": "Identifier", - "start": 2535, - "end": 2543, + "start": 2533, + "end": 2541, "loc": { "start": { "line": 93, @@ -2734,8 +2734,8 @@ ], "body": { "type": "BlockStatement", - "start": 2545, - "end": 2822, + "start": 2543, + "end": 2820, "loc": { "start": { "line": 93, @@ -2749,8 +2749,8 @@ "body": [ { "type": "IfStatement", - "start": 2556, - "end": 2793, + "start": 2554, + "end": 2791, "loc": { "start": { "line": 94, @@ -2763,8 +2763,8 @@ }, "test": { "type": "Identifier", - "start": 2560, - "end": 2568, + "start": 2558, + "end": 2566, "loc": { "start": { "line": 94, @@ -2780,8 +2780,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2570, - "end": 2793, + "start": 2568, + "end": 2791, "loc": { "start": { "line": 94, @@ -2795,8 +2795,8 @@ "body": [ { "type": "IfStatement", - "start": 2585, - "end": 2782, + "start": 2583, + "end": 2780, "loc": { "start": { "line": 95, @@ -2809,8 +2809,8 @@ }, "test": { "type": "BinaryExpression", - "start": 2589, - "end": 2618, + "start": 2587, + "end": 2616, "loc": { "start": { "line": 95, @@ -2823,8 +2823,8 @@ }, "left": { "type": "UnaryExpression", - "start": 2589, - "end": 2605, + "start": 2587, + "end": 2603, "loc": { "start": { "line": 95, @@ -2839,8 +2839,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 2596, - "end": 2604, + "start": 2594, + "end": 2602, "loc": { "start": { "line": 95, @@ -2855,7 +2855,7 @@ "name": "pDataURL", "extra": { "parenthesized": true, - "parenStart": 2595 + "parenStart": 2593 } }, "extra": { @@ -2865,8 +2865,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 2610, - "end": 2618, + "start": 2608, + "end": 2616, "loc": { "start": { "line": 95, @@ -2886,8 +2886,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 2620, - "end": 2678, + "start": 2618, + "end": 2676, "loc": { "start": { "line": 95, @@ -2901,8 +2901,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2639, - "end": 2663, + "start": 2637, + "end": 2661, "loc": { "start": { "line": 96, @@ -2915,8 +2915,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 2639, - "end": 2662, + "start": 2637, + "end": 2660, "loc": { "start": { "line": 96, @@ -2930,8 +2930,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 2639, - "end": 2651, + "start": 2637, + "end": 2649, "loc": { "start": { "line": 96, @@ -2944,8 +2944,8 @@ }, "object": { "type": "ThisExpression", - "start": 2639, - "end": 2643, + "start": 2637, + "end": 2641, "loc": { "start": { "line": 96, @@ -2959,8 +2959,8 @@ }, "property": { "type": "Identifier", - "start": 2644, - "end": 2651, + "start": 2642, + "end": 2649, "loc": { "start": { "line": 96, @@ -2978,8 +2978,8 @@ }, "right": { "type": "Identifier", - "start": 2654, - "end": 2662, + "start": 2652, + "end": 2660, "loc": { "start": { "line": 96, @@ -3000,8 +3000,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 2684, - "end": 2782, + "start": 2682, + "end": 2780, "loc": { "start": { "line": 97, @@ -3015,8 +3015,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 2703, - "end": 2767, + "start": 2701, + "end": 2765, "loc": { "start": { "line": 98, @@ -3029,8 +3029,8 @@ }, "expression": { "type": "CallExpression", - "start": 2703, - "end": 2766, + "start": 2701, + "end": 2764, "loc": { "start": { "line": 98, @@ -3043,8 +3043,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2703, - "end": 2740, + "start": 2701, + "end": 2738, "loc": { "start": { "line": 98, @@ -3057,8 +3057,8 @@ }, "object": { "type": "CallExpression", - "start": 2703, - "end": 2734, + "start": 2701, + "end": 2732, "loc": { "start": { "line": 98, @@ -3071,8 +3071,8 @@ }, "callee": { "type": "MemberExpression", - "start": 2703, - "end": 2720, + "start": 2701, + "end": 2718, "loc": { "start": { "line": 98, @@ -3085,8 +3085,8 @@ }, "object": { "type": "MemberExpression", - "start": 2703, - "end": 2713, + "start": 2701, + "end": 2711, "loc": { "start": { "line": 98, @@ -3099,8 +3099,8 @@ }, "object": { "type": "Identifier", - "start": 2703, - "end": 2706, + "start": 2701, + "end": 2704, "loc": { "start": { "line": 98, @@ -3116,8 +3116,8 @@ }, "property": { "type": "Identifier", - "start": 2707, - "end": 2713, + "start": 2705, + "end": 2711, "loc": { "start": { "line": 98, @@ -3135,8 +3135,8 @@ }, "property": { "type": "Identifier", - "start": 2714, - "end": 2720, + "start": 2712, + "end": 2718, "loc": { "start": { "line": 98, @@ -3155,8 +3155,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2721, - "end": 2733, + "start": 2719, + "end": 2731, "loc": { "start": { "line": 98, @@ -3177,8 +3177,8 @@ }, "property": { "type": "Identifier", - "start": 2735, - "end": 2740, + "start": 2733, + "end": 2738, "loc": { "start": { "line": 98, @@ -3197,8 +3197,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 2741, - "end": 2765, + "start": 2739, + "end": 2763, "loc": { "start": { "line": 98, @@ -3229,8 +3229,8 @@ }, { "type": "ReturnStatement", - "start": 2803, - "end": 2815, + "start": 2801, + "end": 2813, "loc": { "start": { "line": 101, @@ -3243,8 +3243,8 @@ }, "argument": { "type": "ThisExpression", - "start": 2810, - "end": 2814, + "start": 2808, + "end": 2812, "loc": { "start": { "line": 101, @@ -3265,8 +3265,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2353, - "end": 2518, + "start": 2351, + "end": 2516, "loc": { "start": { "line": 88, @@ -3283,8 +3283,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2828, - "end": 2941, + "start": 2826, + "end": 2939, "loc": { "start": { "line": 103, @@ -3300,8 +3300,8 @@ }, { "type": "ClassMethod", - "start": 2947, - "end": 2998, + "start": 2945, + "end": 2996, "loc": { "start": { "line": 107, @@ -3316,8 +3316,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 2947, - "end": 2957, + "start": 2945, + "end": 2955, "loc": { "start": { "line": 107, @@ -3340,8 +3340,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2960, - "end": 2998, + "start": 2958, + "end": 2996, "loc": { "start": { "line": 107, @@ -3355,8 +3355,8 @@ "body": [ { "type": "ReturnStatement", - "start": 2971, - "end": 2991, + "start": 2969, + "end": 2989, "loc": { "start": { "line": 108, @@ -3369,8 +3369,8 @@ }, "argument": { "type": "MemberExpression", - "start": 2978, - "end": 2990, + "start": 2976, + "end": 2988, "loc": { "start": { "line": 108, @@ -3383,8 +3383,8 @@ }, "object": { "type": "ThisExpression", - "start": 2978, - "end": 2982, + "start": 2976, + "end": 2980, "loc": { "start": { "line": 108, @@ -3398,8 +3398,8 @@ }, "property": { "type": "Identifier", - "start": 2983, - "end": 2990, + "start": 2981, + "end": 2988, "loc": { "start": { "line": 108, @@ -3424,8 +3424,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2828, - "end": 2941, + "start": 2826, + "end": 2939, "loc": { "start": { "line": 103, @@ -3442,8 +3442,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3004, - "end": 3181, + "start": 3002, + "end": 3179, "loc": { "start": { "line": 110, @@ -3459,8 +3459,8 @@ }, { "type": "ClassMethod", - "start": 3187, - "end": 3621, + "start": 3185, + "end": 3619, "loc": { "start": { "line": 115, @@ -3475,8 +3475,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3187, - "end": 3193, + "start": 3185, + "end": 3191, "loc": { "start": { "line": 115, @@ -3499,8 +3499,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3196, - "end": 3621, + "start": 3194, + "end": 3619, "loc": { "start": { "line": 115, @@ -3514,8 +3514,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 3207, - "end": 3228, + "start": 3205, + "end": 3226, "loc": { "start": { "line": 116, @@ -3529,8 +3529,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 3213, - "end": 3227, + "start": 3211, + "end": 3225, "loc": { "start": { "line": 116, @@ -3543,8 +3543,8 @@ }, "id": { "type": "Identifier", - "start": 3213, - "end": 3222, + "start": 3211, + "end": 3220, "loc": { "start": { "line": 116, @@ -3560,8 +3560,8 @@ }, "init": { "type": "ArrayExpression", - "start": 3225, - "end": 3227, + "start": 3223, + "end": 3225, "loc": { "start": { "line": 116, @@ -3581,8 +3581,8 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3238, - "end": 3254, + "start": 3236, + "end": 3252, "loc": { "start": { "line": 117, @@ -3598,8 +3598,8 @@ }, { "type": "ExpressionStatement", - "start": 3264, - "end": 3297, + "start": 3262, + "end": 3295, "loc": { "start": { "line": 118, @@ -3612,8 +3612,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 3264, - "end": 3296, + "start": 3262, + "end": 3294, "loc": { "start": { "line": 118, @@ -3627,8 +3627,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3264, - "end": 3276, + "start": 3262, + "end": 3274, "loc": { "start": { "line": 118, @@ -3641,8 +3641,8 @@ }, "object": { "type": "Identifier", - "start": 3264, - "end": 3273, + "start": 3262, + "end": 3271, "loc": { "start": { "line": 118, @@ -3659,8 +3659,8 @@ }, "property": { "type": "NumericLiteral", - "start": 3274, - "end": 3275, + "start": 3272, + "end": 3273, "loc": { "start": { "line": 118, @@ -3682,8 +3682,8 @@ }, "right": { "type": "CallExpression", - "start": 3279, - "end": 3296, + "start": 3277, + "end": 3294, "loc": { "start": { "line": 118, @@ -3696,8 +3696,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3279, - "end": 3294, + "start": 3277, + "end": 3292, "loc": { "start": { "line": 118, @@ -3710,8 +3710,8 @@ }, "object": { "type": "ThisExpression", - "start": 3279, - "end": 3283, + "start": 3277, + "end": 3281, "loc": { "start": { "line": 118, @@ -3725,8 +3725,8 @@ }, "property": { "type": "Identifier", - "start": 3284, - "end": 3294, + "start": 3282, + "end": 3292, "loc": { "start": { "line": 118, @@ -3750,8 +3750,8 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3238, - "end": 3254, + "start": 3236, + "end": 3252, "loc": { "start": { "line": 117, @@ -3768,8 +3768,8 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3307, - "end": 3399, + "start": 3305, + "end": 3397, "loc": { "start": { "line": 119, @@ -3785,8 +3785,8 @@ }, { "type": "VariableDeclaration", - "start": 3409, - "end": 3471, + "start": 3407, + "end": 3469, "loc": { "start": { "line": 120, @@ -3800,8 +3800,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 3415, - "end": 3470, + "start": 3413, + "end": 3468, "loc": { "start": { "line": 120, @@ -3814,8 +3814,8 @@ }, "id": { "type": "Identifier", - "start": 3415, - "end": 3429, + "start": 3413, + "end": 3427, "loc": { "start": { "line": 120, @@ -3832,8 +3832,8 @@ }, "init": { "type": "BinaryExpression", - "start": 3432, - "end": 3470, + "start": 3430, + "end": 3468, "loc": { "start": { "line": 120, @@ -3846,8 +3846,8 @@ }, "left": { "type": "CallExpression", - "start": 3432, - "end": 3447, + "start": 3430, + "end": 3445, "loc": { "start": { "line": 120, @@ -3860,8 +3860,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3432, - "end": 3445, + "start": 3430, + "end": 3443, "loc": { "start": { "line": 120, @@ -3874,8 +3874,8 @@ }, "object": { "type": "ThisExpression", - "start": 3432, - "end": 3436, + "start": 3430, + "end": 3434, "loc": { "start": { "line": 120, @@ -3889,8 +3889,8 @@ }, "property": { "type": "Identifier", - "start": 3437, - "end": 3445, + "start": 3435, + "end": 3443, "loc": { "start": { "line": 120, @@ -3911,8 +3911,8 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3452, - "end": 3470, + "start": 3450, + "end": 3468, "loc": { "start": { "line": 120, @@ -3925,8 +3925,8 @@ }, "object": { "type": "Identifier", - "start": 3452, - "end": 3457, + "start": 3450, + "end": 3455, "loc": { "start": { "line": 120, @@ -3942,8 +3942,8 @@ }, "property": { "type": "Identifier", - "start": 3458, - "end": 3470, + "start": 3456, + "end": 3468, "loc": { "start": { "line": 120, @@ -3968,8 +3968,8 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3307, - "end": 3399, + "start": 3305, + "end": 3397, "loc": { "start": { "line": 119, @@ -3985,8 +3985,8 @@ }, { "type": "IfStatement", - "start": 3481, - "end": 3587, + "start": 3479, + "end": 3585, "loc": { "start": { "line": 121, @@ -3999,8 +3999,8 @@ }, "test": { "type": "UnaryExpression", - "start": 3485, - "end": 3500, + "start": 3483, + "end": 3498, "loc": { "start": { "line": 121, @@ -4015,8 +4015,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3486, - "end": 3500, + "start": 3484, + "end": 3498, "loc": { "start": { "line": 121, @@ -4036,8 +4036,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 3502, - "end": 3587, + "start": 3500, + "end": 3585, "loc": { "start": { "line": 121, @@ -4051,8 +4051,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3545, - "end": 3576, + "start": 3543, + "end": 3574, "loc": { "start": { "line": 123, @@ -4065,8 +4065,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 3545, - "end": 3575, + "start": 3543, + "end": 3573, "loc": { "start": { "line": 123, @@ -4080,8 +4080,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 3545, - "end": 3557, + "start": 3543, + "end": 3555, "loc": { "start": { "line": 123, @@ -4094,8 +4094,8 @@ }, "object": { "type": "Identifier", - "start": 3545, - "end": 3554, + "start": 3543, + "end": 3552, "loc": { "start": { "line": 123, @@ -4112,8 +4112,8 @@ }, "property": { "type": "NumericLiteral", - "start": 3555, - "end": 3556, + "start": 3553, + "end": 3554, "loc": { "start": { "line": 123, @@ -4135,8 +4135,8 @@ }, "right": { "type": "CallExpression", - "start": 3560, - "end": 3575, + "start": 3558, + "end": 3573, "loc": { "start": { "line": 123, @@ -4149,8 +4149,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3560, - "end": 3573, + "start": 3558, + "end": 3571, "loc": { "start": { "line": 123, @@ -4163,8 +4163,8 @@ }, "object": { "type": "ThisExpression", - "start": 3560, - "end": 3564, + "start": 3558, + "end": 3562, "loc": { "start": { "line": 123, @@ -4178,8 +4178,8 @@ }, "property": { "type": "Identifier", - "start": 3565, - "end": 3573, + "start": 3563, + "end": 3571, "loc": { "start": { "line": 123, @@ -4203,8 +4203,8 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3517, - "end": 3531, + "start": 3515, + "end": 3529, "loc": { "start": { "line": 122, @@ -4225,8 +4225,8 @@ }, { "type": "ReturnStatement", - "start": 3597, - "end": 3614, + "start": 3595, + "end": 3612, "loc": { "start": { "line": 125, @@ -4239,8 +4239,8 @@ }, "argument": { "type": "Identifier", - "start": 3604, - "end": 3613, + "start": 3602, + "end": 3611, "loc": { "start": { "line": 125, @@ -4262,8 +4262,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3004, - "end": 3181, + "start": 3002, + "end": 3179, "loc": { "start": { "line": 110, @@ -4385,9 +4385,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", + "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", "start": 808, - "end": 1035, + "end": 1034, "loc": { "start": { "line": 41, @@ -4401,9 +4401,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1198, - "end": 1379, + "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", + "start": 1197, + "end": 1377, "loc": { "start": { "line": 52, @@ -4418,8 +4418,8 @@ { "type": "CommentLine", "value": " Loop through frame data and build frame.", - "start": 1414, - "end": 1457, + "start": 1412, + "end": 1455, "loc": { "start": { "line": 58, @@ -4434,8 +4434,8 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1591, - "end": 1610, + "start": 1589, + "end": 1608, "loc": { "start": { "line": 61, @@ -4450,8 +4450,8 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1655, - "end": 1677, + "start": 1653, + "end": 1675, "loc": { "start": { "line": 63, @@ -4466,8 +4466,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1726, - "end": 1898, + "start": 1724, + "end": 1896, "loc": { "start": { "line": 66, @@ -4482,8 +4482,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2193, - "end": 2294, + "start": 2191, + "end": 2292, "loc": { "start": { "line": 81, @@ -4498,8 +4498,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2353, - "end": 2518, + "start": 2351, + "end": 2516, "loc": { "start": { "line": 88, @@ -4514,8 +4514,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2828, - "end": 2941, + "start": 2826, + "end": 2939, "loc": { "start": { "line": 103, @@ -4530,8 +4530,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3004, - "end": 3181, + "start": 3002, + "end": 3179, "loc": { "start": { "line": 110, @@ -4546,8 +4546,8 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3238, - "end": 3254, + "start": 3236, + "end": 3252, "loc": { "start": { "line": 117, @@ -4562,8 +4562,8 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3307, - "end": 3399, + "start": 3305, + "end": 3397, "loc": { "start": { "line": 119, @@ -4578,8 +4578,8 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3517, - "end": 3531, + "start": 3515, + "end": 3529, "loc": { "start": { "line": 122, @@ -5481,9 +5481,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", + "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", "start": 808, - "end": 1035, + "end": 1034, "loc": { "start": { "line": 41, @@ -5508,8 +5508,8 @@ "binop": null }, "value": "constructor", - "start": 1041, - "end": 1052, + "start": 1040, + "end": 1051, "loc": { "start": { "line": 47, @@ -5533,8 +5533,8 @@ "postfix": false, "binop": null }, - "start": 1052, - "end": 1053, + "start": 1051, + "end": 1052, "loc": { "start": { "line": 47, @@ -5559,8 +5559,8 @@ "binop": null }, "value": "pFrameData", - "start": 1053, - "end": 1063, + "start": 1052, + "end": 1062, "loc": { "start": { "line": 47, @@ -5585,8 +5585,8 @@ "binop": null, "updateContext": null }, - "start": 1063, - "end": 1064, + "start": 1062, + "end": 1063, "loc": { "start": { "line": 47, @@ -5611,8 +5611,8 @@ "binop": null }, "value": "pParentIcon", - "start": 1065, - "end": 1076, + "start": 1064, + "end": 1075, "loc": { "start": { "line": 47, @@ -5636,8 +5636,8 @@ "postfix": false, "binop": null }, - "start": 1076, - "end": 1077, + "start": 1075, + "end": 1076, "loc": { "start": { "line": 47, @@ -5661,8 +5661,8 @@ "postfix": false, "binop": null }, - "start": 1078, - "end": 1079, + "start": 1077, + "end": 1078, "loc": { "start": { "line": 47, @@ -5689,8 +5689,8 @@ "updateContext": null }, "value": "this", - "start": 1089, - "end": 1093, + "start": 1088, + "end": 1092, "loc": { "start": { "line": 48, @@ -5715,8 +5715,8 @@ "binop": null, "updateContext": null }, - "start": 1093, - "end": 1094, + "start": 1092, + "end": 1093, "loc": { "start": { "line": 48, @@ -5741,8 +5741,8 @@ "binop": null }, "value": "vyi", - "start": 1094, - "end": 1097, + "start": 1093, + "end": 1096, "loc": { "start": { "line": 48, @@ -5768,8 +5768,8 @@ "updateContext": null }, "value": "=", - "start": 1098, - "end": 1099, + "start": 1097, + "end": 1098, "loc": { "start": { "line": 48, @@ -5794,8 +5794,8 @@ "binop": null }, "value": "pParentIcon", - "start": 1100, - "end": 1111, + "start": 1099, + "end": 1110, "loc": { "start": { "line": 48, @@ -5820,8 +5820,8 @@ "binop": null, "updateContext": null }, - "start": 1111, - "end": 1112, + "start": 1110, + "end": 1111, "loc": { "start": { "line": 48, @@ -5846,8 +5846,8 @@ "binop": null }, "value": "vyi", - "start": 1112, - "end": 1115, + "start": 1111, + "end": 1114, "loc": { "start": { "line": 48, @@ -5872,8 +5872,8 @@ "binop": null, "updateContext": null }, - "start": 1115, - "end": 1116, + "start": 1114, + "end": 1115, "loc": { "start": { "line": 48, @@ -5900,8 +5900,8 @@ "updateContext": null }, "value": "this", - "start": 1126, - "end": 1130, + "start": 1125, + "end": 1129, "loc": { "start": { "line": 49, @@ -5926,8 +5926,8 @@ "binop": null, "updateContext": null }, - "start": 1130, - "end": 1131, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 49, @@ -5952,8 +5952,8 @@ "binop": null }, "value": "parent", - "start": 1131, - "end": 1137, + "start": 1130, + "end": 1136, "loc": { "start": { "line": 49, @@ -5979,8 +5979,8 @@ "updateContext": null }, "value": "=", - "start": 1138, - "end": 1139, + "start": 1137, + "end": 1138, "loc": { "start": { "line": 49, @@ -6005,8 +6005,8 @@ "binop": null }, "value": "pParentIcon", - "start": 1140, - "end": 1151, + "start": 1139, + "end": 1150, "loc": { "start": { "line": 49, @@ -6031,8 +6031,8 @@ "binop": null, "updateContext": null }, - "start": 1151, - "end": 1152, + "start": 1150, + "end": 1151, "loc": { "start": { "line": 49, @@ -6059,8 +6059,8 @@ "updateContext": null }, "value": "this", - "start": 1162, - "end": 1166, + "start": 1161, + "end": 1165, "loc": { "start": { "line": 50, @@ -6085,8 +6085,8 @@ "binop": null, "updateContext": null }, - "start": 1166, - "end": 1167, + "start": 1165, + "end": 1166, "loc": { "start": { "line": 50, @@ -6111,8 +6111,8 @@ "binop": null }, "value": "parse", - "start": 1167, - "end": 1172, + "start": 1166, + "end": 1171, "loc": { "start": { "line": 50, @@ -6136,8 +6136,8 @@ "postfix": false, "binop": null }, - "start": 1172, - "end": 1173, + "start": 1171, + "end": 1172, "loc": { "start": { "line": 50, @@ -6162,8 +6162,8 @@ "binop": null }, "value": "pFrameData", - "start": 1173, - "end": 1183, + "start": 1172, + "end": 1182, "loc": { "start": { "line": 50, @@ -6187,8 +6187,8 @@ "postfix": false, "binop": null }, - "start": 1183, - "end": 1184, + "start": 1182, + "end": 1183, "loc": { "start": { "line": 50, @@ -6213,8 +6213,8 @@ "binop": null, "updateContext": null }, - "start": 1184, - "end": 1185, + "start": 1183, + "end": 1184, "loc": { "start": { "line": 50, @@ -6238,8 +6238,8 @@ "postfix": false, "binop": null }, - "start": 1191, - "end": 1192, + "start": 1190, + "end": 1191, "loc": { "start": { "line": 51, @@ -6253,9 +6253,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1198, - "end": 1379, + "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", + "start": 1197, + "end": 1377, "loc": { "start": { "line": 52, @@ -6280,8 +6280,8 @@ "binop": null }, "value": "parse", - "start": 1385, - "end": 1390, + "start": 1383, + "end": 1388, "loc": { "start": { "line": 57, @@ -6305,8 +6305,8 @@ "postfix": false, "binop": null }, - "start": 1390, - "end": 1391, + "start": 1388, + "end": 1389, "loc": { "start": { "line": 57, @@ -6331,8 +6331,8 @@ "binop": null }, "value": "pFrameData", - "start": 1391, - "end": 1401, + "start": 1389, + "end": 1399, "loc": { "start": { "line": 57, @@ -6356,8 +6356,8 @@ "postfix": false, "binop": null }, - "start": 1401, - "end": 1402, + "start": 1399, + "end": 1400, "loc": { "start": { "line": 57, @@ -6381,8 +6381,8 @@ "postfix": false, "binop": null }, - "start": 1403, - "end": 1404, + "start": 1401, + "end": 1402, "loc": { "start": { "line": 57, @@ -6397,8 +6397,8 @@ { "type": "CommentLine", "value": " Loop through frame data and build frame.", - "start": 1414, - "end": 1457, + "start": 1412, + "end": 1455, "loc": { "start": { "line": 58, @@ -6425,8 +6425,8 @@ "updateContext": null }, "value": "const", - "start": 1467, - "end": 1472, + "start": 1465, + "end": 1470, "loc": { "start": { "line": 59, @@ -6451,8 +6451,8 @@ "binop": null }, "value": "dataURL", - "start": 1473, - "end": 1480, + "start": 1471, + "end": 1478, "loc": { "start": { "line": 59, @@ -6478,8 +6478,8 @@ "updateContext": null }, "value": "=", - "start": 1481, - "end": 1482, + "start": 1479, + "end": 1480, "loc": { "start": { "line": 59, @@ -6504,8 +6504,8 @@ "binop": null }, "value": "pFrameData", - "start": 1483, - "end": 1493, + "start": 1481, + "end": 1491, "loc": { "start": { "line": 59, @@ -6530,8 +6530,8 @@ "binop": null, "updateContext": null }, - "start": 1493, - "end": 1494, + "start": 1491, + "end": 1492, "loc": { "start": { "line": 59, @@ -6557,8 +6557,8 @@ "updateContext": null }, "value": 0, - "start": 1494, - "end": 1495, + "start": 1492, + "end": 1493, "loc": { "start": { "line": 59, @@ -6583,8 +6583,8 @@ "binop": null, "updateContext": null }, - "start": 1495, - "end": 1496, + "start": 1493, + "end": 1494, "loc": { "start": { "line": 59, @@ -6609,8 +6609,8 @@ "binop": null, "updateContext": null }, - "start": 1496, - "end": 1497, + "start": 1494, + "end": 1495, "loc": { "start": { "line": 59, @@ -6637,8 +6637,8 @@ "updateContext": null }, "value": "const", - "start": 1507, - "end": 1512, + "start": 1505, + "end": 1510, "loc": { "start": { "line": 60, @@ -6663,8 +6663,8 @@ "binop": null }, "value": "frameDelay", - "start": 1513, - "end": 1523, + "start": 1511, + "end": 1521, "loc": { "start": { "line": 60, @@ -6690,8 +6690,8 @@ "updateContext": null }, "value": "=", - "start": 1524, - "end": 1525, + "start": 1522, + "end": 1523, "loc": { "start": { "line": 60, @@ -6716,8 +6716,8 @@ "binop": null }, "value": "pFrameData", - "start": 1526, - "end": 1536, + "start": 1524, + "end": 1534, "loc": { "start": { "line": 60, @@ -6742,8 +6742,8 @@ "binop": null, "updateContext": null }, - "start": 1536, - "end": 1537, + "start": 1534, + "end": 1535, "loc": { "start": { "line": 60, @@ -6769,8 +6769,8 @@ "updateContext": null }, "value": 1, - "start": 1537, - "end": 1538, + "start": 1535, + "end": 1536, "loc": { "start": { "line": 60, @@ -6795,8 +6795,8 @@ "binop": null, "updateContext": null }, - "start": 1538, - "end": 1539, + "start": 1536, + "end": 1537, "loc": { "start": { "line": 60, @@ -6821,8 +6821,8 @@ "binop": null, "updateContext": null }, - "start": 1540, - "end": 1541, + "start": 1538, + "end": 1539, "loc": { "start": { "line": 60, @@ -6847,8 +6847,8 @@ "binop": null }, "value": "pFrameData", - "start": 1542, - "end": 1552, + "start": 1540, + "end": 1550, "loc": { "start": { "line": 60, @@ -6873,8 +6873,8 @@ "binop": null, "updateContext": null }, - "start": 1552, - "end": 1553, + "start": 1550, + "end": 1551, "loc": { "start": { "line": 60, @@ -6900,8 +6900,8 @@ "updateContext": null }, "value": 1, - "start": 1553, - "end": 1554, + "start": 1551, + "end": 1552, "loc": { "start": { "line": 60, @@ -6926,8 +6926,8 @@ "binop": null, "updateContext": null }, - "start": 1554, - "end": 1555, + "start": 1552, + "end": 1553, "loc": { "start": { "line": 60, @@ -6952,8 +6952,8 @@ "binop": null, "updateContext": null }, - "start": 1556, - "end": 1557, + "start": 1554, + "end": 1555, "loc": { "start": { "line": 60, @@ -6980,8 +6980,8 @@ "updateContext": null }, "value": "this", - "start": 1558, - "end": 1562, + "start": 1556, + "end": 1560, "loc": { "start": { "line": 60, @@ -7006,8 +7006,8 @@ "binop": null, "updateContext": null }, - "start": 1562, - "end": 1563, + "start": 1560, + "end": 1561, "loc": { "start": { "line": 60, @@ -7032,8 +7032,8 @@ "binop": null }, "value": "parent", - "start": 1563, - "end": 1569, + "start": 1561, + "end": 1567, "loc": { "start": { "line": 60, @@ -7058,8 +7058,8 @@ "binop": null, "updateContext": null }, - "start": 1569, - "end": 1570, + "start": 1567, + "end": 1568, "loc": { "start": { "line": 60, @@ -7084,8 +7084,8 @@ "binop": null }, "value": "getDelay", - "start": 1570, - "end": 1578, + "start": 1568, + "end": 1576, "loc": { "start": { "line": 60, @@ -7109,8 +7109,8 @@ "postfix": false, "binop": null }, - "start": 1578, - "end": 1579, + "start": 1576, + "end": 1577, "loc": { "start": { "line": 60, @@ -7134,8 +7134,8 @@ "postfix": false, "binop": null }, - "start": 1579, - "end": 1580, + "start": 1577, + "end": 1578, "loc": { "start": { "line": 60, @@ -7160,8 +7160,8 @@ "binop": null, "updateContext": null }, - "start": 1580, - "end": 1581, + "start": 1578, + "end": 1579, "loc": { "start": { "line": 60, @@ -7176,8 +7176,8 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1591, - "end": 1610, + "start": 1589, + "end": 1608, "loc": { "start": { "line": 61, @@ -7204,8 +7204,8 @@ "updateContext": null }, "value": "this", - "start": 1620, - "end": 1624, + "start": 1618, + "end": 1622, "loc": { "start": { "line": 62, @@ -7230,8 +7230,8 @@ "binop": null, "updateContext": null }, - "start": 1624, - "end": 1625, + "start": 1622, + "end": 1623, "loc": { "start": { "line": 62, @@ -7256,8 +7256,8 @@ "binop": null }, "value": "setDataURL", - "start": 1625, - "end": 1635, + "start": 1623, + "end": 1633, "loc": { "start": { "line": 62, @@ -7281,8 +7281,8 @@ "postfix": false, "binop": null }, - "start": 1635, - "end": 1636, + "start": 1633, + "end": 1634, "loc": { "start": { "line": 62, @@ -7307,8 +7307,8 @@ "binop": null }, "value": "dataURL", - "start": 1636, - "end": 1643, + "start": 1634, + "end": 1641, "loc": { "start": { "line": 62, @@ -7332,8 +7332,8 @@ "postfix": false, "binop": null }, - "start": 1643, - "end": 1644, + "start": 1641, + "end": 1642, "loc": { "start": { "line": 62, @@ -7358,8 +7358,8 @@ "binop": null, "updateContext": null }, - "start": 1644, - "end": 1645, + "start": 1642, + "end": 1643, "loc": { "start": { "line": 62, @@ -7374,8 +7374,8 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1655, - "end": 1677, + "start": 1653, + "end": 1675, "loc": { "start": { "line": 63, @@ -7402,8 +7402,8 @@ "updateContext": null }, "value": "this", - "start": 1687, - "end": 1691, + "start": 1685, + "end": 1689, "loc": { "start": { "line": 64, @@ -7428,8 +7428,8 @@ "binop": null, "updateContext": null }, - "start": 1691, - "end": 1692, + "start": 1689, + "end": 1690, "loc": { "start": { "line": 64, @@ -7454,8 +7454,8 @@ "binop": null }, "value": "setDelay", - "start": 1692, - "end": 1700, + "start": 1690, + "end": 1698, "loc": { "start": { "line": 64, @@ -7479,8 +7479,8 @@ "postfix": false, "binop": null }, - "start": 1700, - "end": 1701, + "start": 1698, + "end": 1699, "loc": { "start": { "line": 64, @@ -7505,8 +7505,8 @@ "binop": null }, "value": "frameDelay", - "start": 1701, - "end": 1711, + "start": 1699, + "end": 1709, "loc": { "start": { "line": 64, @@ -7530,8 +7530,8 @@ "postfix": false, "binop": null }, - "start": 1711, - "end": 1712, + "start": 1709, + "end": 1710, "loc": { "start": { "line": 64, @@ -7556,8 +7556,8 @@ "binop": null, "updateContext": null }, - "start": 1712, - "end": 1713, + "start": 1710, + "end": 1711, "loc": { "start": { "line": 64, @@ -7581,8 +7581,8 @@ "postfix": false, "binop": null }, - "start": 1719, - "end": 1720, + "start": 1717, + "end": 1718, "loc": { "start": { "line": 65, @@ -7597,8 +7597,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1726, - "end": 1898, + "start": 1724, + "end": 1896, "loc": { "start": { "line": 66, @@ -7623,8 +7623,8 @@ "binop": null }, "value": "setDelay", - "start": 1904, - "end": 1912, + "start": 1902, + "end": 1910, "loc": { "start": { "line": 71, @@ -7648,8 +7648,8 @@ "postfix": false, "binop": null }, - "start": 1912, - "end": 1913, + "start": 1910, + "end": 1911, "loc": { "start": { "line": 71, @@ -7674,8 +7674,8 @@ "binop": null }, "value": "pDelay", - "start": 1913, - "end": 1919, + "start": 1911, + "end": 1917, "loc": { "start": { "line": 71, @@ -7699,8 +7699,8 @@ "postfix": false, "binop": null }, - "start": 1919, - "end": 1920, + "start": 1917, + "end": 1918, "loc": { "start": { "line": 71, @@ -7724,8 +7724,8 @@ "postfix": false, "binop": null }, - "start": 1921, - "end": 1922, + "start": 1919, + "end": 1920, "loc": { "start": { "line": 71, @@ -7752,8 +7752,8 @@ "updateContext": null }, "value": "if", - "start": 1932, - "end": 1934, + "start": 1930, + "end": 1932, "loc": { "start": { "line": 72, @@ -7777,8 +7777,8 @@ "postfix": false, "binop": null }, - "start": 1935, - "end": 1936, + "start": 1933, + "end": 1934, "loc": { "start": { "line": 72, @@ -7803,8 +7803,8 @@ "binop": null }, "value": "pDelay", - "start": 1936, - "end": 1942, + "start": 1934, + "end": 1940, "loc": { "start": { "line": 72, @@ -7828,8 +7828,8 @@ "postfix": false, "binop": null }, - "start": 1942, - "end": 1943, + "start": 1940, + "end": 1941, "loc": { "start": { "line": 72, @@ -7853,8 +7853,8 @@ "postfix": false, "binop": null }, - "start": 1944, - "end": 1945, + "start": 1942, + "end": 1943, "loc": { "start": { "line": 72, @@ -7881,8 +7881,8 @@ "updateContext": null }, "value": "if", - "start": 1959, - "end": 1961, + "start": 1957, + "end": 1959, "loc": { "start": { "line": 73, @@ -7906,8 +7906,8 @@ "postfix": false, "binop": null }, - "start": 1962, - "end": 1963, + "start": 1960, + "end": 1961, "loc": { "start": { "line": 73, @@ -7934,8 +7934,8 @@ "updateContext": null }, "value": "typeof", - "start": 1963, - "end": 1969, + "start": 1961, + "end": 1967, "loc": { "start": { "line": 73, @@ -7959,8 +7959,8 @@ "postfix": false, "binop": null }, - "start": 1969, - "end": 1970, + "start": 1967, + "end": 1968, "loc": { "start": { "line": 73, @@ -7985,8 +7985,8 @@ "binop": null }, "value": "pDelay", - "start": 1970, - "end": 1976, + "start": 1968, + "end": 1974, "loc": { "start": { "line": 73, @@ -8010,8 +8010,8 @@ "postfix": false, "binop": null }, - "start": 1976, - "end": 1977, + "start": 1974, + "end": 1975, "loc": { "start": { "line": 73, @@ -8037,8 +8037,8 @@ "updateContext": null }, "value": "===", - "start": 1978, - "end": 1981, + "start": 1976, + "end": 1979, "loc": { "start": { "line": 73, @@ -8064,8 +8064,8 @@ "updateContext": null }, "value": "number", - "start": 1982, - "end": 1990, + "start": 1980, + "end": 1988, "loc": { "start": { "line": 73, @@ -8089,8 +8089,8 @@ "postfix": false, "binop": null }, - "start": 1990, - "end": 1991, + "start": 1988, + "end": 1989, "loc": { "start": { "line": 73, @@ -8114,8 +8114,8 @@ "postfix": false, "binop": null }, - "start": 1992, - "end": 1993, + "start": 1990, + "end": 1991, "loc": { "start": { "line": 73, @@ -8142,8 +8142,8 @@ "updateContext": null }, "value": "this", - "start": 2011, - "end": 2015, + "start": 2009, + "end": 2013, "loc": { "start": { "line": 74, @@ -8168,8 +8168,8 @@ "binop": null, "updateContext": null }, - "start": 2015, - "end": 2016, + "start": 2013, + "end": 2014, "loc": { "start": { "line": 74, @@ -8194,8 +8194,8 @@ "binop": null }, "value": "delay", - "start": 2016, - "end": 2021, + "start": 2014, + "end": 2019, "loc": { "start": { "line": 74, @@ -8221,8 +8221,8 @@ "updateContext": null }, "value": "=", - "start": 2022, - "end": 2023, + "start": 2020, + "end": 2021, "loc": { "start": { "line": 74, @@ -8247,8 +8247,8 @@ "binop": null }, "value": "pDelay", - "start": 2024, - "end": 2030, + "start": 2022, + "end": 2028, "loc": { "start": { "line": 74, @@ -8273,8 +8273,8 @@ "binop": null, "updateContext": null }, - "start": 2030, - "end": 2031, + "start": 2028, + "end": 2029, "loc": { "start": { "line": 74, @@ -8298,8 +8298,8 @@ "postfix": false, "binop": null }, - "start": 2045, - "end": 2046, + "start": 2043, + "end": 2044, "loc": { "start": { "line": 75, @@ -8326,8 +8326,8 @@ "updateContext": null }, "value": "else", - "start": 2047, - "end": 2051, + "start": 2045, + "end": 2049, "loc": { "start": { "line": 75, @@ -8351,8 +8351,8 @@ "postfix": false, "binop": null }, - "start": 2052, - "end": 2053, + "start": 2050, + "end": 2051, "loc": { "start": { "line": 75, @@ -8377,8 +8377,8 @@ "binop": null }, "value": "VYI", - "start": 2071, - "end": 2074, + "start": 2069, + "end": 2072, "loc": { "start": { "line": 76, @@ -8403,8 +8403,8 @@ "binop": null, "updateContext": null }, - "start": 2074, - "end": 2075, + "start": 2072, + "end": 2073, "loc": { "start": { "line": 76, @@ -8429,8 +8429,8 @@ "binop": null }, "value": "logger", - "start": 2075, - "end": 2081, + "start": 2073, + "end": 2079, "loc": { "start": { "line": 76, @@ -8455,8 +8455,8 @@ "binop": null, "updateContext": null }, - "start": 2081, - "end": 2082, + "start": 2079, + "end": 2080, "loc": { "start": { "line": 76, @@ -8481,8 +8481,8 @@ "binop": null }, "value": "prefix", - "start": 2082, - "end": 2088, + "start": 2080, + "end": 2086, "loc": { "start": { "line": 76, @@ -8506,8 +8506,8 @@ "postfix": false, "binop": null }, - "start": 2088, - "end": 2089, + "start": 2086, + "end": 2087, "loc": { "start": { "line": 76, @@ -8533,8 +8533,8 @@ "updateContext": null }, "value": "VYI-module", - "start": 2089, - "end": 2101, + "start": 2087, + "end": 2099, "loc": { "start": { "line": 76, @@ -8558,8 +8558,8 @@ "postfix": false, "binop": null }, - "start": 2101, - "end": 2102, + "start": 2099, + "end": 2100, "loc": { "start": { "line": 76, @@ -8584,8 +8584,8 @@ "binop": null, "updateContext": null }, - "start": 2102, - "end": 2103, + "start": 2100, + "end": 2101, "loc": { "start": { "line": 76, @@ -8610,8 +8610,8 @@ "binop": null }, "value": "error", - "start": 2103, - "end": 2108, + "start": 2101, + "end": 2106, "loc": { "start": { "line": 76, @@ -8635,8 +8635,8 @@ "postfix": false, "binop": null }, - "start": 2108, - "end": 2109, + "start": 2106, + "end": 2107, "loc": { "start": { "line": 76, @@ -8662,8 +8662,8 @@ "updateContext": null }, "value": "Invalid delay type!", - "start": 2109, - "end": 2130, + "start": 2107, + "end": 2128, "loc": { "start": { "line": 76, @@ -8687,8 +8687,8 @@ "postfix": false, "binop": null }, - "start": 2130, - "end": 2131, + "start": 2128, + "end": 2129, "loc": { "start": { "line": 76, @@ -8713,8 +8713,8 @@ "binop": null, "updateContext": null }, - "start": 2131, - "end": 2132, + "start": 2129, + "end": 2130, "loc": { "start": { "line": 76, @@ -8738,8 +8738,8 @@ "postfix": false, "binop": null }, - "start": 2146, - "end": 2147, + "start": 2144, + "end": 2145, "loc": { "start": { "line": 77, @@ -8763,8 +8763,8 @@ "postfix": false, "binop": null }, - "start": 2157, - "end": 2158, + "start": 2155, + "end": 2156, "loc": { "start": { "line": 78, @@ -8791,8 +8791,8 @@ "updateContext": null }, "value": "return", - "start": 2168, - "end": 2174, + "start": 2166, + "end": 2172, "loc": { "start": { "line": 79, @@ -8819,8 +8819,8 @@ "updateContext": null }, "value": "this", - "start": 2175, - "end": 2179, + "start": 2173, + "end": 2177, "loc": { "start": { "line": 79, @@ -8845,8 +8845,8 @@ "binop": null, "updateContext": null }, - "start": 2179, - "end": 2180, + "start": 2177, + "end": 2178, "loc": { "start": { "line": 79, @@ -8870,8 +8870,8 @@ "postfix": false, "binop": null }, - "start": 2186, - "end": 2187, + "start": 2184, + "end": 2185, "loc": { "start": { "line": 80, @@ -8886,8 +8886,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2193, - "end": 2294, + "start": 2191, + "end": 2292, "loc": { "start": { "line": 81, @@ -8912,8 +8912,8 @@ "binop": null }, "value": "getDelay", - "start": 2300, - "end": 2308, + "start": 2298, + "end": 2306, "loc": { "start": { "line": 85, @@ -8937,8 +8937,8 @@ "postfix": false, "binop": null }, - "start": 2308, - "end": 2309, + "start": 2306, + "end": 2307, "loc": { "start": { "line": 85, @@ -8962,8 +8962,8 @@ "postfix": false, "binop": null }, - "start": 2309, - "end": 2310, + "start": 2307, + "end": 2308, "loc": { "start": { "line": 85, @@ -8987,8 +8987,8 @@ "postfix": false, "binop": null }, - "start": 2311, - "end": 2312, + "start": 2309, + "end": 2310, "loc": { "start": { "line": 85, @@ -9015,8 +9015,8 @@ "updateContext": null }, "value": "return", - "start": 2322, - "end": 2328, + "start": 2320, + "end": 2326, "loc": { "start": { "line": 86, @@ -9043,8 +9043,8 @@ "updateContext": null }, "value": "this", - "start": 2329, - "end": 2333, + "start": 2327, + "end": 2331, "loc": { "start": { "line": 86, @@ -9069,8 +9069,8 @@ "binop": null, "updateContext": null }, - "start": 2333, - "end": 2334, + "start": 2331, + "end": 2332, "loc": { "start": { "line": 86, @@ -9095,8 +9095,8 @@ "binop": null }, "value": "delay", - "start": 2334, - "end": 2339, + "start": 2332, + "end": 2337, "loc": { "start": { "line": 86, @@ -9121,8 +9121,8 @@ "binop": null, "updateContext": null }, - "start": 2339, - "end": 2340, + "start": 2337, + "end": 2338, "loc": { "start": { "line": 86, @@ -9146,8 +9146,8 @@ "postfix": false, "binop": null }, - "start": 2346, - "end": 2347, + "start": 2344, + "end": 2345, "loc": { "start": { "line": 87, @@ -9162,8 +9162,8 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2353, - "end": 2518, + "start": 2351, + "end": 2516, "loc": { "start": { "line": 88, @@ -9188,8 +9188,8 @@ "binop": null }, "value": "setDataURL", - "start": 2524, - "end": 2534, + "start": 2522, + "end": 2532, "loc": { "start": { "line": 93, @@ -9213,8 +9213,8 @@ "postfix": false, "binop": null }, - "start": 2534, - "end": 2535, + "start": 2532, + "end": 2533, "loc": { "start": { "line": 93, @@ -9239,8 +9239,8 @@ "binop": null }, "value": "pDataURL", - "start": 2535, - "end": 2543, + "start": 2533, + "end": 2541, "loc": { "start": { "line": 93, @@ -9264,8 +9264,8 @@ "postfix": false, "binop": null }, - "start": 2543, - "end": 2544, + "start": 2541, + "end": 2542, "loc": { "start": { "line": 93, @@ -9289,8 +9289,8 @@ "postfix": false, "binop": null }, - "start": 2545, - "end": 2546, + "start": 2543, + "end": 2544, "loc": { "start": { "line": 93, @@ -9317,8 +9317,8 @@ "updateContext": null }, "value": "if", - "start": 2556, - "end": 2558, + "start": 2554, + "end": 2556, "loc": { "start": { "line": 94, @@ -9342,8 +9342,8 @@ "postfix": false, "binop": null }, - "start": 2559, - "end": 2560, + "start": 2557, + "end": 2558, "loc": { "start": { "line": 94, @@ -9368,8 +9368,8 @@ "binop": null }, "value": "pDataURL", - "start": 2560, - "end": 2568, + "start": 2558, + "end": 2566, "loc": { "start": { "line": 94, @@ -9393,8 +9393,8 @@ "postfix": false, "binop": null }, - "start": 2568, - "end": 2569, + "start": 2566, + "end": 2567, "loc": { "start": { "line": 94, @@ -9418,8 +9418,8 @@ "postfix": false, "binop": null }, - "start": 2570, - "end": 2571, + "start": 2568, + "end": 2569, "loc": { "start": { "line": 94, @@ -9446,8 +9446,8 @@ "updateContext": null }, "value": "if", - "start": 2585, - "end": 2587, + "start": 2583, + "end": 2585, "loc": { "start": { "line": 95, @@ -9471,8 +9471,8 @@ "postfix": false, "binop": null }, - "start": 2588, - "end": 2589, + "start": 2586, + "end": 2587, "loc": { "start": { "line": 95, @@ -9499,8 +9499,8 @@ "updateContext": null }, "value": "typeof", - "start": 2589, - "end": 2595, + "start": 2587, + "end": 2593, "loc": { "start": { "line": 95, @@ -9524,8 +9524,8 @@ "postfix": false, "binop": null }, - "start": 2595, - "end": 2596, + "start": 2593, + "end": 2594, "loc": { "start": { "line": 95, @@ -9550,8 +9550,8 @@ "binop": null }, "value": "pDataURL", - "start": 2596, - "end": 2604, + "start": 2594, + "end": 2602, "loc": { "start": { "line": 95, @@ -9575,8 +9575,8 @@ "postfix": false, "binop": null }, - "start": 2604, - "end": 2605, + "start": 2602, + "end": 2603, "loc": { "start": { "line": 95, @@ -9602,8 +9602,8 @@ "updateContext": null }, "value": "===", - "start": 2606, - "end": 2609, + "start": 2604, + "end": 2607, "loc": { "start": { "line": 95, @@ -9629,8 +9629,8 @@ "updateContext": null }, "value": "string", - "start": 2610, - "end": 2618, + "start": 2608, + "end": 2616, "loc": { "start": { "line": 95, @@ -9654,8 +9654,8 @@ "postfix": false, "binop": null }, - "start": 2618, - "end": 2619, + "start": 2616, + "end": 2617, "loc": { "start": { "line": 95, @@ -9679,8 +9679,8 @@ "postfix": false, "binop": null }, - "start": 2620, - "end": 2621, + "start": 2618, + "end": 2619, "loc": { "start": { "line": 95, @@ -9707,8 +9707,8 @@ "updateContext": null }, "value": "this", - "start": 2639, - "end": 2643, + "start": 2637, + "end": 2641, "loc": { "start": { "line": 96, @@ -9733,8 +9733,8 @@ "binop": null, "updateContext": null }, - "start": 2643, - "end": 2644, + "start": 2641, + "end": 2642, "loc": { "start": { "line": 96, @@ -9759,8 +9759,8 @@ "binop": null }, "value": "dataURL", - "start": 2644, - "end": 2651, + "start": 2642, + "end": 2649, "loc": { "start": { "line": 96, @@ -9786,8 +9786,8 @@ "updateContext": null }, "value": "=", - "start": 2652, - "end": 2653, + "start": 2650, + "end": 2651, "loc": { "start": { "line": 96, @@ -9812,8 +9812,8 @@ "binop": null }, "value": "pDataURL", - "start": 2654, - "end": 2662, + "start": 2652, + "end": 2660, "loc": { "start": { "line": 96, @@ -9838,8 +9838,8 @@ "binop": null, "updateContext": null }, - "start": 2662, - "end": 2663, + "start": 2660, + "end": 2661, "loc": { "start": { "line": 96, @@ -9863,8 +9863,8 @@ "postfix": false, "binop": null }, - "start": 2677, - "end": 2678, + "start": 2675, + "end": 2676, "loc": { "start": { "line": 97, @@ -9891,8 +9891,8 @@ "updateContext": null }, "value": "else", - "start": 2679, - "end": 2683, + "start": 2677, + "end": 2681, "loc": { "start": { "line": 97, @@ -9916,8 +9916,8 @@ "postfix": false, "binop": null }, - "start": 2684, - "end": 2685, + "start": 2682, + "end": 2683, "loc": { "start": { "line": 97, @@ -9942,8 +9942,8 @@ "binop": null }, "value": "VYI", - "start": 2703, - "end": 2706, + "start": 2701, + "end": 2704, "loc": { "start": { "line": 98, @@ -9968,8 +9968,8 @@ "binop": null, "updateContext": null }, - "start": 2706, - "end": 2707, + "start": 2704, + "end": 2705, "loc": { "start": { "line": 98, @@ -9994,8 +9994,8 @@ "binop": null }, "value": "logger", - "start": 2707, - "end": 2713, + "start": 2705, + "end": 2711, "loc": { "start": { "line": 98, @@ -10020,8 +10020,8 @@ "binop": null, "updateContext": null }, - "start": 2713, - "end": 2714, + "start": 2711, + "end": 2712, "loc": { "start": { "line": 98, @@ -10046,8 +10046,8 @@ "binop": null }, "value": "prefix", - "start": 2714, - "end": 2720, + "start": 2712, + "end": 2718, "loc": { "start": { "line": 98, @@ -10071,8 +10071,8 @@ "postfix": false, "binop": null }, - "start": 2720, - "end": 2721, + "start": 2718, + "end": 2719, "loc": { "start": { "line": 98, @@ -10098,8 +10098,8 @@ "updateContext": null }, "value": "VYI-module", - "start": 2721, - "end": 2733, + "start": 2719, + "end": 2731, "loc": { "start": { "line": 98, @@ -10123,8 +10123,8 @@ "postfix": false, "binop": null }, - "start": 2733, - "end": 2734, + "start": 2731, + "end": 2732, "loc": { "start": { "line": 98, @@ -10149,8 +10149,8 @@ "binop": null, "updateContext": null }, - "start": 2734, - "end": 2735, + "start": 2732, + "end": 2733, "loc": { "start": { "line": 98, @@ -10175,8 +10175,8 @@ "binop": null }, "value": "error", - "start": 2735, - "end": 2740, + "start": 2733, + "end": 2738, "loc": { "start": { "line": 98, @@ -10200,8 +10200,8 @@ "postfix": false, "binop": null }, - "start": 2740, - "end": 2741, + "start": 2738, + "end": 2739, "loc": { "start": { "line": 98, @@ -10227,8 +10227,8 @@ "updateContext": null }, "value": "Invalid data url type!", - "start": 2741, - "end": 2765, + "start": 2739, + "end": 2763, "loc": { "start": { "line": 98, @@ -10252,8 +10252,8 @@ "postfix": false, "binop": null }, - "start": 2765, - "end": 2766, + "start": 2763, + "end": 2764, "loc": { "start": { "line": 98, @@ -10278,8 +10278,8 @@ "binop": null, "updateContext": null }, - "start": 2766, - "end": 2767, + "start": 2764, + "end": 2765, "loc": { "start": { "line": 98, @@ -10303,8 +10303,8 @@ "postfix": false, "binop": null }, - "start": 2781, - "end": 2782, + "start": 2779, + "end": 2780, "loc": { "start": { "line": 99, @@ -10328,8 +10328,8 @@ "postfix": false, "binop": null }, - "start": 2792, - "end": 2793, + "start": 2790, + "end": 2791, "loc": { "start": { "line": 100, @@ -10356,8 +10356,8 @@ "updateContext": null }, "value": "return", - "start": 2803, - "end": 2809, + "start": 2801, + "end": 2807, "loc": { "start": { "line": 101, @@ -10384,8 +10384,8 @@ "updateContext": null }, "value": "this", - "start": 2810, - "end": 2814, + "start": 2808, + "end": 2812, "loc": { "start": { "line": 101, @@ -10410,8 +10410,8 @@ "binop": null, "updateContext": null }, - "start": 2814, - "end": 2815, + "start": 2812, + "end": 2813, "loc": { "start": { "line": 101, @@ -10435,8 +10435,8 @@ "postfix": false, "binop": null }, - "start": 2821, - "end": 2822, + "start": 2819, + "end": 2820, "loc": { "start": { "line": 102, @@ -10451,8 +10451,8 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2828, - "end": 2941, + "start": 2826, + "end": 2939, "loc": { "start": { "line": 103, @@ -10477,8 +10477,8 @@ "binop": null }, "value": "getDataURL", - "start": 2947, - "end": 2957, + "start": 2945, + "end": 2955, "loc": { "start": { "line": 107, @@ -10502,8 +10502,8 @@ "postfix": false, "binop": null }, - "start": 2957, - "end": 2958, + "start": 2955, + "end": 2956, "loc": { "start": { "line": 107, @@ -10527,8 +10527,8 @@ "postfix": false, "binop": null }, - "start": 2958, - "end": 2959, + "start": 2956, + "end": 2957, "loc": { "start": { "line": 107, @@ -10552,8 +10552,8 @@ "postfix": false, "binop": null }, - "start": 2960, - "end": 2961, + "start": 2958, + "end": 2959, "loc": { "start": { "line": 107, @@ -10580,8 +10580,8 @@ "updateContext": null }, "value": "return", - "start": 2971, - "end": 2977, + "start": 2969, + "end": 2975, "loc": { "start": { "line": 108, @@ -10608,8 +10608,8 @@ "updateContext": null }, "value": "this", - "start": 2978, - "end": 2982, + "start": 2976, + "end": 2980, "loc": { "start": { "line": 108, @@ -10634,8 +10634,8 @@ "binop": null, "updateContext": null }, - "start": 2982, - "end": 2983, + "start": 2980, + "end": 2981, "loc": { "start": { "line": 108, @@ -10660,8 +10660,8 @@ "binop": null }, "value": "dataURL", - "start": 2983, - "end": 2990, + "start": 2981, + "end": 2988, "loc": { "start": { "line": 108, @@ -10686,8 +10686,8 @@ "binop": null, "updateContext": null }, - "start": 2990, - "end": 2991, + "start": 2988, + "end": 2989, "loc": { "start": { "line": 108, @@ -10711,8 +10711,8 @@ "postfix": false, "binop": null }, - "start": 2997, - "end": 2998, + "start": 2995, + "end": 2996, "loc": { "start": { "line": 109, @@ -10727,8 +10727,8 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3004, - "end": 3181, + "start": 3002, + "end": 3179, "loc": { "start": { "line": 110, @@ -10755,8 +10755,8 @@ "updateContext": null }, "value": "export", - "start": 3187, - "end": 3193, + "start": 3185, + "end": 3191, "loc": { "start": { "line": 115, @@ -10780,8 +10780,8 @@ "postfix": false, "binop": null }, - "start": 3193, - "end": 3194, + "start": 3191, + "end": 3192, "loc": { "start": { "line": 115, @@ -10805,8 +10805,8 @@ "postfix": false, "binop": null }, - "start": 3194, - "end": 3195, + "start": 3192, + "end": 3193, "loc": { "start": { "line": 115, @@ -10830,8 +10830,8 @@ "postfix": false, "binop": null }, - "start": 3196, - "end": 3197, + "start": 3194, + "end": 3195, "loc": { "start": { "line": 115, @@ -10858,8 +10858,8 @@ "updateContext": null }, "value": "const", - "start": 3207, - "end": 3212, + "start": 3205, + "end": 3210, "loc": { "start": { "line": 116, @@ -10884,8 +10884,8 @@ "binop": null }, "value": "frameData", - "start": 3213, - "end": 3222, + "start": 3211, + "end": 3220, "loc": { "start": { "line": 116, @@ -10911,8 +10911,8 @@ "updateContext": null }, "value": "=", - "start": 3223, - "end": 3224, + "start": 3221, + "end": 3222, "loc": { "start": { "line": 116, @@ -10937,8 +10937,8 @@ "binop": null, "updateContext": null }, - "start": 3225, - "end": 3226, + "start": 3223, + "end": 3224, "loc": { "start": { "line": 116, @@ -10963,8 +10963,8 @@ "binop": null, "updateContext": null }, - "start": 3226, - "end": 3227, + "start": 3224, + "end": 3225, "loc": { "start": { "line": 116, @@ -10989,8 +10989,8 @@ "binop": null, "updateContext": null }, - "start": 3227, - "end": 3228, + "start": 3225, + "end": 3226, "loc": { "start": { "line": 116, @@ -11005,8 +11005,8 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3238, - "end": 3254, + "start": 3236, + "end": 3252, "loc": { "start": { "line": 117, @@ -11031,8 +11031,8 @@ "binop": null }, "value": "frameData", - "start": 3264, - "end": 3273, + "start": 3262, + "end": 3271, "loc": { "start": { "line": 118, @@ -11057,8 +11057,8 @@ "binop": null, "updateContext": null }, - "start": 3273, - "end": 3274, + "start": 3271, + "end": 3272, "loc": { "start": { "line": 118, @@ -11084,8 +11084,8 @@ "updateContext": null }, "value": 0, - "start": 3274, - "end": 3275, + "start": 3272, + "end": 3273, "loc": { "start": { "line": 118, @@ -11110,8 +11110,8 @@ "binop": null, "updateContext": null }, - "start": 3275, - "end": 3276, + "start": 3273, + "end": 3274, "loc": { "start": { "line": 118, @@ -11137,8 +11137,8 @@ "updateContext": null }, "value": "=", - "start": 3277, - "end": 3278, + "start": 3275, + "end": 3276, "loc": { "start": { "line": 118, @@ -11165,8 +11165,8 @@ "updateContext": null }, "value": "this", - "start": 3279, - "end": 3283, + "start": 3277, + "end": 3281, "loc": { "start": { "line": 118, @@ -11191,8 +11191,8 @@ "binop": null, "updateContext": null }, - "start": 3283, - "end": 3284, + "start": 3281, + "end": 3282, "loc": { "start": { "line": 118, @@ -11217,8 +11217,8 @@ "binop": null }, "value": "getDataURL", - "start": 3284, - "end": 3294, + "start": 3282, + "end": 3292, "loc": { "start": { "line": 118, @@ -11242,8 +11242,8 @@ "postfix": false, "binop": null }, - "start": 3294, - "end": 3295, + "start": 3292, + "end": 3293, "loc": { "start": { "line": 118, @@ -11267,8 +11267,8 @@ "postfix": false, "binop": null }, - "start": 3295, - "end": 3296, + "start": 3293, + "end": 3294, "loc": { "start": { "line": 118, @@ -11293,8 +11293,8 @@ "binop": null, "updateContext": null }, - "start": 3296, - "end": 3297, + "start": 3294, + "end": 3295, "loc": { "start": { "line": 118, @@ -11309,8 +11309,8 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3307, - "end": 3399, + "start": 3305, + "end": 3397, "loc": { "start": { "line": 119, @@ -11337,8 +11337,8 @@ "updateContext": null }, "value": "const", - "start": 3409, - "end": 3414, + "start": 3407, + "end": 3412, "loc": { "start": { "line": 120, @@ -11363,8 +11363,8 @@ "binop": null }, "value": "delayIsDefault", - "start": 3415, - "end": 3429, + "start": 3413, + "end": 3427, "loc": { "start": { "line": 120, @@ -11390,8 +11390,8 @@ "updateContext": null }, "value": "=", - "start": 3430, - "end": 3431, + "start": 3428, + "end": 3429, "loc": { "start": { "line": 120, @@ -11418,8 +11418,8 @@ "updateContext": null }, "value": "this", - "start": 3432, - "end": 3436, + "start": 3430, + "end": 3434, "loc": { "start": { "line": 120, @@ -11444,8 +11444,8 @@ "binop": null, "updateContext": null }, - "start": 3436, - "end": 3437, + "start": 3434, + "end": 3435, "loc": { "start": { "line": 120, @@ -11470,8 +11470,8 @@ "binop": null }, "value": "getDelay", - "start": 3437, - "end": 3445, + "start": 3435, + "end": 3443, "loc": { "start": { "line": 120, @@ -11495,8 +11495,8 @@ "postfix": false, "binop": null }, - "start": 3445, - "end": 3446, + "start": 3443, + "end": 3444, "loc": { "start": { "line": 120, @@ -11520,8 +11520,8 @@ "postfix": false, "binop": null }, - "start": 3446, - "end": 3447, + "start": 3444, + "end": 3445, "loc": { "start": { "line": 120, @@ -11547,8 +11547,8 @@ "updateContext": null }, "value": "===", - "start": 3448, - "end": 3451, + "start": 3446, + "end": 3449, "loc": { "start": { "line": 120, @@ -11573,8 +11573,8 @@ "binop": null }, "value": "Frame", - "start": 3452, - "end": 3457, + "start": 3450, + "end": 3455, "loc": { "start": { "line": 120, @@ -11599,8 +11599,8 @@ "binop": null, "updateContext": null }, - "start": 3457, - "end": 3458, + "start": 3455, + "end": 3456, "loc": { "start": { "line": 120, @@ -11625,8 +11625,8 @@ "binop": null }, "value": "defaultDelay", - "start": 3458, - "end": 3470, + "start": 3456, + "end": 3468, "loc": { "start": { "line": 120, @@ -11651,8 +11651,8 @@ "binop": null, "updateContext": null }, - "start": 3470, - "end": 3471, + "start": 3468, + "end": 3469, "loc": { "start": { "line": 120, @@ -11679,8 +11679,8 @@ "updateContext": null }, "value": "if", - "start": 3481, - "end": 3483, + "start": 3479, + "end": 3481, "loc": { "start": { "line": 121, @@ -11704,8 +11704,8 @@ "postfix": false, "binop": null }, - "start": 3484, - "end": 3485, + "start": 3482, + "end": 3483, "loc": { "start": { "line": 121, @@ -11731,8 +11731,8 @@ "updateContext": null }, "value": "!", - "start": 3485, - "end": 3486, + "start": 3483, + "end": 3484, "loc": { "start": { "line": 121, @@ -11757,8 +11757,8 @@ "binop": null }, "value": "delayIsDefault", - "start": 3486, - "end": 3500, + "start": 3484, + "end": 3498, "loc": { "start": { "line": 121, @@ -11782,8 +11782,8 @@ "postfix": false, "binop": null }, - "start": 3500, - "end": 3501, + "start": 3498, + "end": 3499, "loc": { "start": { "line": 121, @@ -11807,8 +11807,8 @@ "postfix": false, "binop": null }, - "start": 3502, - "end": 3503, + "start": 3500, + "end": 3501, "loc": { "start": { "line": 121, @@ -11823,8 +11823,8 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3517, - "end": 3531, + "start": 3515, + "end": 3529, "loc": { "start": { "line": 122, @@ -11849,8 +11849,8 @@ "binop": null }, "value": "frameData", - "start": 3545, - "end": 3554, + "start": 3543, + "end": 3552, "loc": { "start": { "line": 123, @@ -11875,8 +11875,8 @@ "binop": null, "updateContext": null }, - "start": 3554, - "end": 3555, + "start": 3552, + "end": 3553, "loc": { "start": { "line": 123, @@ -11902,8 +11902,8 @@ "updateContext": null }, "value": 1, - "start": 3555, - "end": 3556, + "start": 3553, + "end": 3554, "loc": { "start": { "line": 123, @@ -11928,8 +11928,8 @@ "binop": null, "updateContext": null }, - "start": 3556, - "end": 3557, + "start": 3554, + "end": 3555, "loc": { "start": { "line": 123, @@ -11955,8 +11955,8 @@ "updateContext": null }, "value": "=", - "start": 3558, - "end": 3559, + "start": 3556, + "end": 3557, "loc": { "start": { "line": 123, @@ -11983,8 +11983,8 @@ "updateContext": null }, "value": "this", - "start": 3560, - "end": 3564, + "start": 3558, + "end": 3562, "loc": { "start": { "line": 123, @@ -12009,8 +12009,8 @@ "binop": null, "updateContext": null }, - "start": 3564, - "end": 3565, + "start": 3562, + "end": 3563, "loc": { "start": { "line": 123, @@ -12035,8 +12035,8 @@ "binop": null }, "value": "getDelay", - "start": 3565, - "end": 3573, + "start": 3563, + "end": 3571, "loc": { "start": { "line": 123, @@ -12060,8 +12060,8 @@ "postfix": false, "binop": null }, - "start": 3573, - "end": 3574, + "start": 3571, + "end": 3572, "loc": { "start": { "line": 123, @@ -12085,8 +12085,8 @@ "postfix": false, "binop": null }, - "start": 3574, - "end": 3575, + "start": 3572, + "end": 3573, "loc": { "start": { "line": 123, @@ -12111,8 +12111,8 @@ "binop": null, "updateContext": null }, - "start": 3575, - "end": 3576, + "start": 3573, + "end": 3574, "loc": { "start": { "line": 123, @@ -12136,8 +12136,8 @@ "postfix": false, "binop": null }, - "start": 3586, - "end": 3587, + "start": 3584, + "end": 3585, "loc": { "start": { "line": 124, @@ -12164,8 +12164,8 @@ "updateContext": null }, "value": "return", - "start": 3597, - "end": 3603, + "start": 3595, + "end": 3601, "loc": { "start": { "line": 125, @@ -12190,8 +12190,8 @@ "binop": null }, "value": "frameData", - "start": 3604, - "end": 3613, + "start": 3602, + "end": 3611, "loc": { "start": { "line": 125, @@ -12216,8 +12216,8 @@ "binop": null, "updateContext": null }, - "start": 3613, - "end": 3614, + "start": 3611, + "end": 3612, "loc": { "start": { "line": 125, @@ -12241,8 +12241,8 @@ "postfix": false, "binop": null }, - "start": 3620, - "end": 3621, + "start": 3618, + "end": 3619, "loc": { "start": { "line": 126, @@ -12266,8 +12266,8 @@ "postfix": false, "binop": null }, - "start": 3623, - "end": 3624, + "start": 3621, + "end": 3622, "loc": { "start": { "line": 127, @@ -12292,8 +12292,8 @@ "binop": null, "updateContext": null }, - "start": 3624, - "end": 3624, + "start": 3622, + "end": 3622, "loc": { "start": { "line": 127, diff --git a/docs/ast/source/icon.mjs.json b/docs/ast/source/icon.mjs.json index 9e81da3..5cbe529 100644 --- a/docs/ast/source/icon.mjs.json +++ b/docs/ast/source/icon.mjs.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 17999, + "end": 19269, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 510, + "line": 554, "column": 1 } }, "program": { "type": "Program", "start": 0, - "end": 17999, + "end": 19269, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 510, + "line": 554, "column": 1 } }, @@ -203,14 +203,14 @@ { "type": "ExportNamedDeclaration", "start": 74, - "end": 17999, + "end": 19269, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 510, + "line": 554, "column": 1 } }, @@ -219,14 +219,14 @@ "declaration": { "type": "ClassDeclaration", "start": 81, - "end": 17999, + "end": 19269, "loc": { "start": { "line": 4, "column": 7 }, "end": { - "line": 510, + "line": 554, "column": 1 } }, @@ -251,14 +251,14 @@ "body": { "type": "ClassBody", "start": 92, - "end": 17999, + "end": 19269, "loc": { "start": { "line": 4, "column": 18 }, "end": { - "line": 510, + "line": 554, "column": 1 } }, @@ -857,9 +857,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", + "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", "start": 1033, - "end": 1123, + "end": 1153, "loc": { "start": { "line": 47, @@ -875,8 +875,8 @@ }, { "type": "ClassProperty", - "start": 1129, - "end": 1136, + "start": 1159, + "end": 1166, "loc": { "start": { "line": 52, @@ -891,8 +891,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1129, - "end": 1135, + "start": 1159, + "end": 1165, "loc": { "start": { "line": 52, @@ -911,9 +911,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", + "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", "start": 1033, - "end": 1123, + "end": 1153, "loc": { "start": { "line": 47, @@ -930,8 +930,8 @@ { "type": "CommentBlock", "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1142, - "end": 1238, + "start": 1172, + "end": 1268, "loc": { "start": { "line": 53, @@ -947,8 +947,8 @@ }, { "type": "ClassProperty", - "start": 1244, - "end": 1248, + "start": 1274, + "end": 1278, "loc": { "start": { "line": 59, @@ -963,8 +963,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1244, - "end": 1247, + "start": 1274, + "end": 1277, "loc": { "start": { "line": 59, @@ -984,8 +984,8 @@ { "type": "CommentBlock", "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1142, - "end": 1238, + "start": 1172, + "end": 1268, "loc": { "start": { "line": 53, @@ -1001,9 +1001,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 1254, - "end": 1468, + "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", + "start": 1284, + "end": 1474, "loc": { "start": { "line": 60, @@ -1018,25 +1018,25 @@ ] }, { - "type": "ClassMethod", - "start": 1474, - "end": 1569, + "type": "ClassProperty", + "start": 1480, + "end": 1483, "loc": { "start": { "line": 66, "column": 4 }, "end": { - "line": 69, - "column": 5 + "line": 66, + "column": 7 } }, "static": false, "computed": false, "key": { "type": "Identifier", - "start": 1474, - "end": 1485, + "start": 1480, + "end": 1482, "loc": { "start": { "line": 66, @@ -1044,272 +1044,20 @@ }, "end": { "line": 66, - "column": 15 + "column": 6 }, - "identifierName": "constructor" + "identifierName": "id" }, - "name": "constructor", + "name": "id", "leadingComments": null }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1486, - "end": 1495, - "loc": { - "start": { - "line": 66, - "column": 16 - }, - "end": { - "line": 66, - "column": 25 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - { - "type": "Identifier", - "start": 1497, - "end": 1501, - "loc": { - "start": { - "line": 66, - "column": 27 - }, - "end": { - "line": 66, - "column": 31 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - ], - "body": { - "type": "BlockStatement", - "start": 1503, - "end": 1569, - "loc": { - "start": { - "line": 66, - "column": 33 - }, - "end": { - "line": 69, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1514, - "end": 1530, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 24 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1514, - "end": 1529, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 23 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1514, - "end": 1522, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 1514, - "end": 1518, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 1519, - "end": 1522, - "loc": { - "start": { - "line": 67, - "column": 13 - }, - "end": { - "line": 67, - "column": 16 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1525, - "end": 1529, - "loc": { - "start": { - "line": 67, - "column": 19 - }, - "end": { - "line": 67, - "column": 23 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - } - }, - { - "type": "ExpressionStatement", - "start": 1540, - "end": 1562, - "loc": { - "start": { - "line": 68, - "column": 8 - }, - "end": { - "line": 68, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 1540, - "end": 1561, - "loc": { - "start": { - "line": 68, - "column": 8 - }, - "end": { - "line": 68, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1540, - "end": 1550, - "loc": { - "start": { - "line": 68, - "column": 8 - }, - "end": { - "line": 68, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 1540, - "end": 1544, - "loc": { - "start": { - "line": 68, - "column": 8 - }, - "end": { - "line": 68, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 1545, - "end": 1550, - "loc": { - "start": { - "line": 68, - "column": 13 - }, - "end": { - "line": 68, - "column": 18 - }, - "identifierName": "parse" - }, - "name": "parse" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1551, - "end": 1560, - "loc": { - "start": { - "line": 68, - "column": 19 - }, - "end": { - "line": 68, - "column": 28 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, + "value": null, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 1254, - "end": 1468, + "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", + "start": 1284, + "end": 1474, "loc": { "start": { "line": 60, @@ -1325,17 +1073,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 1575, - "end": 1752, + "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", + "start": 1489, + "end": 1698, "loc": { "start": { - "line": 70, + "line": 67, "column": 4 }, "end": { - "line": 74, - "column": 7 + "line": 73, + "column": 6 } } } @@ -1343,37 +1091,36 @@ }, { "type": "ClassMethod", - "start": 1758, - "end": 4070, + "start": 1704, + "end": 2130, "loc": { "start": { - "line": 75, + "line": 74, "column": 4 }, "end": { - "line": 127, - "column": 5 + "line": 85, + "column": 4 } }, - "static": false, + "static": true, "computed": false, "key": { "type": "Identifier", - "start": 1758, - "end": 1763, + "start": 1711, + "end": 1721, "loc": { "start": { - "line": 75, - "column": 4 + "line": 74, + "column": 11 }, "end": { - "line": 75, - "column": 9 + "line": 74, + "column": 21 }, - "identifierName": "parse" + "identifierName": "generateID" }, - "name": "parse", - "leadingComments": null + "name": "generateID" }, "kind": "method", "id": null, @@ -1383,155 +1130,485 @@ "params": [ { "type": "Identifier", - "start": 1764, - "end": 1773, + "start": 1722, + "end": 1726, "loc": { "start": { - "line": 75, - "column": 10 + "line": 74, + "column": 22 }, "end": { - "line": 75, - "column": 19 + "line": 74, + "column": 26 }, - "identifierName": "pIconData" + "identifierName": "pVYI" }, - "name": "pIconData" + "name": "pVYI" } ], "body": { "type": "BlockStatement", - "start": 1775, - "end": 4070, + "start": 1728, + "end": 2130, "loc": { "start": { - "line": 75, - "column": 21 + "line": 74, + "column": 28 }, "end": { - "line": 127, - "column": 5 + "line": 85, + "column": 4 } }, "body": [ { "type": "VariableDeclaration", - "start": 1842, - "end": 1872, + "start": 1738, + "end": 1858, "loc": { "start": { - "line": 77, - "column": 8 + "line": 75, + "column": 7 }, "end": { "line": 77, - "column": 38 + "column": 8 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1848, - "end": 1871, + "start": 1744, + "end": 1858, "loc": { "start": { - "line": 77, - "column": 14 + "line": 75, + "column": 13 }, "end": { "line": 77, - "column": 37 + "column": 8 } }, "id": { "type": "Identifier", - "start": 1848, - "end": 1856, + "start": 1744, + "end": 1749, "loc": { "start": { - "line": 77, - "column": 14 + "line": 75, + "column": 13 }, "end": { - "line": 77, - "column": 22 + "line": 75, + "column": 18 }, - "identifierName": "iconName" + "identifierName": "genID" }, - "name": "iconName", - "leadingComments": null + "name": "genID" }, "init": { - "type": "MemberExpression", - "start": 1859, - "end": 1871, + "type": "ArrowFunctionExpression", + "start": 1752, + "end": 1858, "loc": { "start": { - "line": 77, - "column": 25 + "line": 75, + "column": 21 }, "end": { "line": 77, - "column": 37 + "column": 8 } }, - "object": { - "type": "Identifier", - "start": 1859, - "end": 1868, - "loc": { - "start": { - "line": 77, - "column": 25 - }, - "end": { - "line": 77, - "column": 34 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 1869, - "end": 1870, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1758, + "end": 1858, "loc": { "start": { - "line": 77, - "column": 35 + "line": 75, + "column": 27 }, "end": { "line": 77, - "column": 36 + "column": 8 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "body": [ + { + "type": "ReturnStatement", + "start": 1772, + "end": 1848, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 87 + } + }, + "argument": { + "type": "CallExpression", + "start": 1779, + "end": 1847, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 86 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1779, + "end": 1839, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 78 + } + }, + "object": { + "type": "CallExpression", + "start": 1779, + "end": 1830, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 69 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1779, + "end": 1826, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 65 + } + }, + "object": { + "type": "CallExpression", + "start": 1779, + "end": 1817, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1779, + "end": 1789, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 1779, + "end": 1783, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 22 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 1784, + "end": 1789, + "loc": { + "start": { + "line": 76, + "column": 23 + }, + "end": { + "line": 76, + "column": 28 + }, + "identifierName": "floor" + }, + "name": "floor" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 1790, + "end": 1816, + "loc": { + "start": { + "line": 76, + "column": 29 + }, + "end": { + "line": 76, + "column": 55 + } + }, + "left": { + "type": "CallExpression", + "start": 1790, + "end": 1803, + "loc": { + "start": { + "line": 76, + "column": 29 + }, + "end": { + "line": 76, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1790, + "end": 1801, + "loc": { + "start": { + "line": 76, + "column": 29 + }, + "end": { + "line": 76, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 1790, + "end": 1794, + "loc": { + "start": { + "line": 76, + "column": 29 + }, + "end": { + "line": 76, + "column": 33 + }, + "identifierName": "Math" + }, + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 1795, + "end": 1801, + "loc": { + "start": { + "line": 76, + "column": 34 + }, + "end": { + "line": 76, + "column": 40 + }, + "identifierName": "random" + }, + "name": "random" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 1806, + "end": 1816, + "loc": { + "start": { + "line": 76, + "column": 45 + }, + "end": { + "line": 76, + "column": 55 + } + }, + "extra": { + "rawValue": 4294967295, + "raw": "0xFFFFFFFF" + }, + "value": 4294967295 + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 1818, + "end": 1826, + "loc": { + "start": { + "line": 76, + "column": 57 + }, + "end": { + "line": 76, + "column": 65 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1827, + "end": 1829, + "loc": { + "start": { + "line": 76, + "column": 66 + }, + "end": { + "line": 76, + "column": 68 + } + }, + "extra": { + "rawValue": 16, + "raw": "16" + }, + "value": 16 + } + ] + }, + "property": { + "type": "Identifier", + "start": 1831, + "end": 1839, + "loc": { + "start": { + "line": 76, + "column": 70 + }, + "end": { + "line": 76, + "column": 78 + }, + "identifierName": "padStart" + }, + "name": "padStart" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1840, + "end": 1841, + "loc": { + "start": { + "line": 76, + "column": 79 + }, + "end": { + "line": 76, + "column": 80 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 + }, + { + "type": "StringLiteral", + "start": 1843, + "end": 1846, + "loc": { + "start": { + "line": 76, + "column": 82 + }, + "end": { + "line": 76, + "column": 85 + } + }, + "extra": { + "rawValue": "0", + "raw": "'0'" + }, + "value": "0" + } + ] + } + } + ], + "directives": [], + "trailingComments": null }, - "computed": true + "trailingComments": null }, - "leadingComments": null + "trailingComments": null } ], "kind": "const", - "leadingComments": [ + "trailingComments": [ { "type": "CommentLine", - "value": " Loop through pIconData and create this icon", - "start": 1786, - "end": 1832, + "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", + "start": 1867, + "end": 1960, "loc": { "start": { - "line": 76, - "column": 8 + "line": 78, + "column": 7 }, "end": { - "line": 76, - "column": 54 + "line": 78, + "column": 100 } } } @@ -1539,229 +1616,139 @@ }, { "type": "VariableDeclaration", - "start": 1882, - "end": 1913, + "start": 1969, + "end": 1986, "loc": { "start": { - "line": 78, - "column": 8 + "line": 79, + "column": 7 }, "end": { - "line": 78, - "column": 39 + "line": 79, + "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1888, - "end": 1912, + "start": 1973, + "end": 1985, "loc": { "start": { - "line": 78, - "column": 14 + "line": 79, + "column": 11 }, "end": { - "line": 78, - "column": 38 + "line": 79, + "column": 23 } }, "id": { "type": "Identifier", - "start": 1888, - "end": 1897, + "start": 1973, + "end": 1975, "loc": { "start": { - "line": 78, - "column": 14 + "line": 79, + "column": 11 }, "end": { - "line": 78, - "column": 23 + "line": 79, + "column": 13 }, - "identifierName": "iconWidth" + "identifierName": "id" }, - "name": "iconWidth" + "name": "id", + "leadingComments": null }, "init": { - "type": "MemberExpression", - "start": 1900, - "end": 1912, + "type": "CallExpression", + "start": 1978, + "end": 1985, "loc": { "start": { - "line": 78, - "column": 26 + "line": 79, + "column": 16 }, "end": { - "line": 78, - "column": 38 + "line": 79, + "column": 23 } }, - "object": { + "callee": { "type": "Identifier", - "start": 1900, - "end": 1909, + "start": 1978, + "end": 1983, "loc": { "start": { - "line": 78, - "column": 26 - }, - "end": { - "line": 78, - "column": 35 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 1910, - "end": 1911, - "loc": { - "start": { - "line": 78, - "column": 36 + "line": 79, + "column": 16 }, "end": { - "line": 78, - "column": 37 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "line": 79, + "column": 21 + }, + "identifierName": "genID" }, - "value": 1 + "name": "genID" }, - "computed": true - } + "arguments": [] + }, + "leadingComments": null } ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1923, - "end": 1955, - "loc": { - "start": { - "line": 79, - "column": 8 - }, - "end": { - "line": 79, - "column": 40 - } - }, - "declarations": [ + "kind": "let", + "leadingComments": [ { - "type": "VariableDeclarator", - "start": 1929, - "end": 1954, + "type": "CommentLine", + "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", + "start": 1867, + "end": 1960, "loc": { "start": { - "line": 79, - "column": 14 + "line": 78, + "column": 7 }, "end": { - "line": 79, - "column": 39 + "line": 78, + "column": 100 } - }, - "id": { - "type": "Identifier", - "start": 1929, - "end": 1939, - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 24 - }, - "identifierName": "iconHeight" - }, - "name": "iconHeight" - }, - "init": { - "type": "MemberExpression", - "start": 1942, - "end": 1954, - "loc": { - "start": { - "line": 79, - "column": 27 - }, - "end": { - "line": 79, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 1942, - "end": 1951, - "loc": { - "start": { - "line": 79, - "column": 27 - }, - "end": { - "line": 79, - "column": 36 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 1952, - "end": 1953, - "loc": { - "start": { - "line": 79, - "column": 37 - }, - "end": { - "line": 79, - "column": 38 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true } } - ], - "kind": "const" + ] }, { - "type": "VariableDeclaration", - "start": 1965, - "end": 1996, + "type": "WhileStatement", + "start": 1995, + "end": 2070, "loc": { "start": { "line": 80, - "column": 8 + "column": 7 }, "end": { - "line": 80, - "column": 39 + "line": 82, + "column": 8 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1971, - "end": 1995, + "test": { + "type": "CallExpression", + "start": 2002, + "end": 2031, + "loc": { + "start": { + "line": 80, + "column": 14 + }, + "end": { + "line": 80, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2002, + "end": 2027, "loc": { "start": { "line": 80, @@ -1769,1739 +1756,3421 @@ }, "end": { "line": 80, - "column": 38 + "column": 39 } }, - "id": { - "type": "Identifier", - "start": 1971, - "end": 1980, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "column": 23 - }, - "identifierName": "iconDelay" - }, - "name": "iconDelay" - }, - "init": { + "object": { "type": "MemberExpression", - "start": 1983, - "end": 1995, + "start": 2002, + "end": 2018, "loc": { "start": { "line": 80, - "column": 26 + "column": 14 }, "end": { "line": 80, - "column": 38 + "column": 30 } }, "object": { "type": "Identifier", - "start": 1983, - "end": 1992, + "start": 2002, + "end": 2006, "loc": { "start": { "line": 80, - "column": 26 + "column": 14 }, "end": { "line": 80, - "column": 35 + "column": 18 }, - "identifierName": "pIconData" + "identifierName": "pVYI" }, - "name": "pIconData" + "name": "pVYI" }, "property": { - "type": "NumericLiteral", - "start": 1993, - "end": 1994, + "type": "Identifier", + "start": 2007, + "end": 2018, "loc": { "start": { "line": 80, - "column": 36 + "column": 19 }, "end": { "line": 80, - "column": 37 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" + "column": 30 + }, + "identifierName": "reservedIDs" }, - "value": 3 + "name": "reservedIDs" }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 2006, - "end": 2039, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 41 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2012, - "end": 2038, - "loc": { - "start": { - "line": 81, - "column": 14 + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2019, + "end": 2027, + "loc": { + "start": { + "line": 80, + "column": 31 + }, + "end": { + "line": 80, + "column": 39 + }, + "identifierName": "includes" }, - "end": { - "line": 81, - "column": 40 - } + "name": "includes" }, - "id": { + "computed": false + }, + "arguments": [ + { "type": "Identifier", - "start": 2012, - "end": 2023, + "start": 2028, + "end": 2030, "loc": { "start": { - "line": 81, - "column": 14 + "line": 80, + "column": 40 }, "end": { - "line": 81, - "column": 25 + "line": 80, + "column": 42 }, - "identifierName": "iconDataURL" + "identifierName": "id" }, - "name": "iconDataURL" + "name": "id" + } + ] + }, + "body": { + "type": "BlockStatement", + "start": 2033, + "end": 2070, + "loc": { + "start": { + "line": 80, + "column": 45 }, - "init": { - "type": "MemberExpression", - "start": 2026, - "end": 2038, + "end": { + "line": 82, + "column": 8 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2047, + "end": 2060, "loc": { "start": { "line": 81, - "column": 28 + "column": 11 }, "end": { "line": 81, - "column": 40 + "column": 24 } }, - "object": { - "type": "Identifier", - "start": 2026, - "end": 2035, - "loc": { - "start": { - "line": 81, - "column": 28 - }, - "end": { - "line": 81, - "column": 37 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 2036, - "end": 2037, + "expression": { + "type": "AssignmentExpression", + "start": 2047, + "end": 2059, "loc": { "start": { "line": 81, - "column": 38 + "column": 11 }, "end": { "line": 81, - "column": 39 + "column": 23 } }, - "extra": { - "rawValue": 4, - "raw": "4" + "operator": "=", + "left": { + "type": "Identifier", + "start": 2047, + "end": 2049, + "loc": { + "start": { + "line": 81, + "column": 11 + }, + "end": { + "line": 81, + "column": 13 + }, + "identifierName": "id" + }, + "name": "id" }, - "value": 4 - }, - "computed": true + "right": { + "type": "CallExpression", + "start": 2052, + "end": 2059, + "loc": { + "start": { + "line": 81, + "column": 16 + }, + "end": { + "line": 81, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 2052, + "end": 2057, + "loc": { + "start": { + "line": 81, + "column": 16 + }, + "end": { + "line": 81, + "column": 21 + }, + "identifierName": "genID" + }, + "name": "genID" + }, + "arguments": [] + } + } } - } - ], - "kind": "const" + ], + "directives": [] + } }, { - "type": "VariableDeclaration", - "start": 2049, - "end": 2081, + "type": "ExpressionStatement", + "start": 2079, + "end": 2105, "loc": { "start": { - "line": 82, - "column": 8 + "line": 83, + "column": 7 }, "end": { - "line": 82, - "column": 40 + "line": 83, + "column": 33 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2055, - "end": 2080, + "expression": { + "type": "CallExpression", + "start": 2079, + "end": 2104, + "loc": { + "start": { + "line": 83, + "column": 7 + }, + "end": { + "line": 83, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2079, + "end": 2100, "loc": { "start": { - "line": 82, - "column": 14 + "line": 83, + "column": 7 }, "end": { - "line": 82, - "column": 39 + "line": 83, + "column": 28 } }, - "id": { - "type": "Identifier", - "start": 2055, - "end": 2065, - "loc": { - "start": { - "line": 82, - "column": 14 - }, - "end": { - "line": 82, - "column": 24 - }, - "identifierName": "frameArray" - }, - "name": "frameArray" - }, - "init": { + "object": { "type": "MemberExpression", - "start": 2068, - "end": 2080, + "start": 2079, + "end": 2095, "loc": { "start": { - "line": 82, - "column": 27 + "line": 83, + "column": 7 }, "end": { - "line": 82, - "column": 39 + "line": 83, + "column": 23 } }, "object": { "type": "Identifier", - "start": 2068, - "end": 2077, + "start": 2079, + "end": 2083, "loc": { "start": { - "line": 82, - "column": 27 + "line": 83, + "column": 7 }, "end": { - "line": 82, - "column": 36 + "line": 83, + "column": 11 }, - "identifierName": "pIconData" + "identifierName": "pVYI" }, - "name": "pIconData" + "name": "pVYI" }, "property": { - "type": "NumericLiteral", - "start": 2078, - "end": 2079, + "type": "Identifier", + "start": 2084, + "end": 2095, "loc": { "start": { - "line": 82, - "column": 37 + "line": 83, + "column": 12 }, "end": { - "line": 82, - "column": 38 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" + "line": 83, + "column": 23 + }, + "identifierName": "reservedIDs" }, - "value": 5 - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 2091, - "end": 2123, - "loc": { - "start": { - "line": 83, - "column": 8 - }, - "end": { - "line": 83, - "column": 40 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2097, - "end": 2122, - "loc": { - "start": { - "line": 83, - "column": 14 + "name": "reservedIDs" }, - "end": { - "line": 83, - "column": 39 - } + "computed": false }, - "id": { + "property": { "type": "Identifier", - "start": 2097, - "end": 2107, + "start": 2096, + "end": 2100, "loc": { "start": { "line": 83, - "column": 14 + "column": 24 }, "end": { "line": 83, - "column": 24 + "column": 28 }, - "identifierName": "stateArray" + "identifierName": "push" }, - "name": "stateArray" + "name": "push" }, - "init": { - "type": "MemberExpression", - "start": 2110, - "end": 2122, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2101, + "end": 2103, "loc": { "start": { "line": 83, - "column": 27 + "column": 29 }, "end": { "line": 83, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 2110, - "end": 2119, - "loc": { - "start": { - "line": 83, - "column": 27 - }, - "end": { - "line": 83, - "column": 36 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 2120, - "end": 2121, - "loc": { - "start": { - "line": 83, - "column": 37 - }, - "end": { - "line": 83, - "column": 38 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" + "column": 31 }, - "value": 6 - }, - "computed": true - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set name", - "start": 2135, - "end": 2146, - "loc": { - "start": { - "line": 85, - "column": 8 + "identifierName": "id" }, - "end": { - "line": 85, - "column": 19 - } + "name": "id" } - } - ] + ] + } }, { - "type": "ExpressionStatement", - "start": 2156, - "end": 2178, + "type": "ReturnStatement", + "start": 2114, + "end": 2124, "loc": { "start": { - "line": 86, - "column": 8 + "line": 84, + "column": 7 }, "end": { - "line": 86, - "column": 30 + "line": 84, + "column": 17 } }, - "expression": { - "type": "CallExpression", - "start": 2156, - "end": 2177, + "argument": { + "type": "Identifier", + "start": 2121, + "end": 2123, "loc": { "start": { - "line": 86, - "column": 8 + "line": 84, + "column": 14 }, "end": { - "line": 86, - "column": 29 - } + "line": 84, + "column": 16 + }, + "identifierName": "id" }, - "callee": { - "type": "MemberExpression", - "start": 2156, - "end": 2167, - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 2156, - "end": 2160, - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 2161, - "end": 2167, - "loc": { - "start": { - "line": 86, - "column": 13 - }, - "end": { - "line": 86, - "column": 19 - }, - "identifierName": "rename" - }, - "name": "rename" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 2168, - "end": 2176, - "loc": { - "start": { - "line": 86, - "column": 20 - }, - "end": { - "line": 86, - "column": 28 - }, - "identifierName": "iconName" - }, - "name": "iconName" - } - ], - "leadingComments": null + "name": "id" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", + "start": 1489, + "end": 1698, + "loc": { + "start": { + "line": 67, + "column": 4 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set name", - "start": 2135, - "end": 2146, - "loc": { - "start": { - "line": 85, - "column": 8 - }, - "end": { - "line": 85, - "column": 19 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set size", - "start": 2188, - "end": 2199, - "loc": { - "start": { - "line": 87, - "column": 8 - }, - "end": { - "line": 87, - "column": 19 - } - } - } - ] + "end": { + "line": 73, + "column": 6 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", + "start": 2136, + "end": 2350, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 91, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2356, + "end": 2481, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2356, + "end": 2367, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 15 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2368, + "end": 2377, + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 25 + }, + "identifierName": "pIconData" + }, + "name": "pIconData" + }, + { + "type": "Identifier", + "start": 2379, + "end": 2383, + "loc": { + "start": { + "line": 92, + "column": 27 + }, + "end": { + "line": 92, + "column": 31 + }, + "identifierName": "pVYI" + }, + "name": "pVYI" + } + ], + "body": { + "type": "BlockStatement", + "start": 2385, + "end": 2481, + "loc": { + "start": { + "line": 92, + "column": 33 }, + "end": { + "line": 96, + "column": 5 + } + }, + "body": [ { "type": "ExpressionStatement", - "start": 2209, - "end": 2245, + "start": 2396, + "end": 2412, "loc": { "start": { - "line": 88, + "line": 93, "column": 8 }, "end": { - "line": 88, - "column": 44 + "line": 93, + "column": 24 } }, "expression": { - "type": "CallExpression", - "start": 2209, - "end": 2244, + "type": "AssignmentExpression", + "start": 2396, + "end": 2411, "loc": { "start": { - "line": 88, + "line": 93, "column": 8 }, "end": { - "line": 88, - "column": 43 + "line": 93, + "column": 23 } }, - "callee": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 2209, - "end": 2221, + "start": 2396, + "end": 2404, "loc": { "start": { - "line": 88, + "line": 93, "column": 8 }, "end": { - "line": 88, - "column": 20 + "line": 93, + "column": 16 } }, "object": { "type": "ThisExpression", - "start": 2209, - "end": 2213, + "start": 2396, + "end": 2400, "loc": { "start": { - "line": 88, + "line": 93, "column": 8 }, "end": { - "line": 88, + "line": 93, "column": 12 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 2214, - "end": 2221, + "start": 2401, + "end": 2404, "loc": { "start": { - "line": 88, + "line": 93, "column": 13 }, "end": { - "line": 88, - "column": 20 + "line": 93, + "column": 16 }, - "identifierName": "setSize" + "identifierName": "vyi" }, - "name": "setSize" + "name": "vyi" }, - "computed": false, - "leadingComments": null + "computed": false }, - "arguments": [ - { - "type": "Identifier", - "start": 2222, - "end": 2231, - "loc": { - "start": { - "line": 88, - "column": 21 - }, - "end": { - "line": 88, - "column": 30 - }, - "identifierName": "iconWidth" - }, - "name": "iconWidth" - }, - { - "type": "Identifier", - "start": 2233, - "end": 2243, - "loc": { - "start": { - "line": 88, - "column": 32 - }, - "end": { - "line": 88, - "column": 42 - }, - "identifierName": "iconHeight" - }, - "name": "iconHeight" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set size", - "start": 2188, - "end": 2199, + "right": { + "type": "Identifier", + "start": 2407, + "end": 2411, "loc": { "start": { - "line": 87, - "column": 8 - }, - "end": { - "line": 87, + "line": 93, "column": 19 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set icon delay", - "start": 2255, - "end": 2272, - "loc": { - "start": { - "line": 89, - "column": 8 }, "end": { - "line": 89, - "column": 25 - } - } + "line": 93, + "column": 23 + }, + "identifierName": "pVYI" + }, + "name": "pVYI" } - ] + } }, { "type": "ExpressionStatement", - "start": 2282, - "end": 2307, + "start": 2422, + "end": 2442, "loc": { "start": { - "line": 90, + "line": 94, "column": 8 }, "end": { - "line": 90, - "column": 33 + "line": 94, + "column": 28 } }, "expression": { "type": "CallExpression", - "start": 2282, - "end": 2306, + "start": 2422, + "end": 2441, "loc": { "start": { - "line": 90, + "line": 94, "column": 8 }, "end": { - "line": 90, - "column": 32 + "line": 94, + "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 2282, - "end": 2295, + "start": 2422, + "end": 2435, "loc": { "start": { - "line": 90, + "line": 94, "column": 8 }, "end": { - "line": 90, + "line": 94, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2282, - "end": 2286, + "start": 2422, + "end": 2426, "loc": { "start": { - "line": 90, + "line": 94, "column": 8 }, "end": { - "line": 90, + "line": 94, "column": 12 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 2287, - "end": 2295, + "start": 2427, + "end": 2435, "loc": { "start": { - "line": 90, + "line": 94, "column": 13 }, "end": { - "line": 90, + "line": 94, "column": 21 }, - "identifierName": "setDelay" + "identifierName": "assignID" }, - "name": "setDelay" + "name": "assignID" }, - "computed": false, - "leadingComments": null + "computed": false }, "arguments": [ { "type": "Identifier", - "start": 2296, - "end": 2305, + "start": 2436, + "end": 2440, "loc": { "start": { - "line": 90, + "line": 94, "column": 22 }, "end": { - "line": 90, - "column": 31 + "line": 94, + "column": 26 }, - "identifierName": "iconDelay" - }, - "name": "iconDelay" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set icon delay", - "start": 2255, - "end": 2272, - "loc": { - "start": { - "line": 89, - "column": 8 - }, - "end": { - "line": 89, - "column": 25 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set dataURL", - "start": 2317, - "end": 2331, - "loc": { - "start": { - "line": 91, - "column": 8 + "identifierName": "pVYI" }, - "end": { - "line": 91, - "column": 22 - } + "name": "pVYI" } - } - ] + ] + } }, { "type": "ExpressionStatement", - "start": 2341, - "end": 2370, + "start": 2452, + "end": 2474, "loc": { "start": { - "line": 92, + "line": 95, "column": 8 }, "end": { - "line": 92, - "column": 37 + "line": 95, + "column": 30 } }, "expression": { "type": "CallExpression", - "start": 2341, - "end": 2369, + "start": 2452, + "end": 2473, "loc": { "start": { - "line": 92, + "line": 95, "column": 8 }, "end": { - "line": 92, - "column": 36 + "line": 95, + "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 2341, - "end": 2356, + "start": 2452, + "end": 2462, "loc": { "start": { - "line": 92, + "line": 95, "column": 8 }, "end": { - "line": 92, - "column": 23 + "line": 95, + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2341, - "end": 2345, + "start": 2452, + "end": 2456, "loc": { "start": { - "line": 92, + "line": 95, "column": 8 }, "end": { - "line": 92, + "line": 95, "column": 12 } - }, - "leadingComments": null + } }, "property": { "type": "Identifier", - "start": 2346, - "end": 2356, + "start": 2457, + "end": 2462, "loc": { "start": { - "line": 92, + "line": 95, "column": 13 }, "end": { - "line": 92, - "column": 23 + "line": 95, + "column": 18 }, - "identifierName": "setDataURL" + "identifierName": "parse" }, - "name": "setDataURL" + "name": "parse" }, - "computed": false, - "leadingComments": null + "computed": false }, "arguments": [ { "type": "Identifier", - "start": 2357, - "end": 2368, + "start": 2463, + "end": 2472, "loc": { "start": { - "line": 92, - "column": 24 + "line": 95, + "column": 19 }, "end": { - "line": 92, - "column": 35 + "line": 95, + "column": 28 }, - "identifierName": "iconDataURL" + "identifierName": "pIconData" }, - "name": "iconDataURL" + "name": "pIconData" } - ], - "leadingComments": null + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", + "start": 2136, + "end": 2350, + "loc": { + "start": { + "line": 86, + "column": 4 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set dataURL", - "start": 2317, - "end": 2331, - "loc": { - "start": { - "line": 91, - "column": 8 - }, - "end": { - "line": 91, - "column": 22 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 2380, - "end": 2418, - "loc": { - "start": { - "line": 93, - "column": 8 - }, - "end": { - "line": 93, - "column": 46 - } - } - } - ] + "end": { + "line": 91, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", + "start": 2487, + "end": 2617, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 102, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2623, + "end": 2688, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2623, + "end": 2631, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 12 + }, + "identifierName": "assignID" + }, + "name": "assignID", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2632, + "end": 2636, + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 17 + }, + "identifierName": "pVYI" + }, + "name": "pVYI" + } + ], + "body": { + "type": "BlockStatement", + "start": 2638, + "end": 2688, + "loc": { + "start": { + "line": 103, + "column": 19 }, + "end": { + "line": 105, + "column": 5 + } + }, + "body": [ { - "type": "IfStatement", - "start": 2428, - "end": 2801, + "type": "ExpressionStatement", + "start": 2649, + "end": 2681, "loc": { "start": { - "line": 94, + "line": 104, "column": 8 }, "end": { - "line": 102, - "column": 9 + "line": 104, + "column": 40 } }, - "test": { - "type": "CallExpression", - "start": 2432, - "end": 2457, + "expression": { + "type": "AssignmentExpression", + "start": 2649, + "end": 2680, "loc": { "start": { - "line": 94, - "column": 12 + "line": 104, + "column": 8 }, "end": { - "line": 94, - "column": 37 + "line": 104, + "column": 39 } }, - "callee": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 2432, - "end": 2445, + "start": 2649, + "end": 2656, "loc": { "start": { - "line": 94, - "column": 12 + "line": 104, + "column": 8 }, "end": { - "line": 94, - "column": 25 + "line": 104, + "column": 15 } }, "object": { - "type": "Identifier", - "start": 2432, - "end": 2437, + "type": "ThisExpression", + "start": 2649, + "end": 2653, "loc": { "start": { - "line": 94, - "column": 12 + "line": 104, + "column": 8 }, "end": { - "line": 94, - "column": 17 - }, - "identifierName": "Array" - }, - "name": "Array", - "leadingComments": null + "line": 104, + "column": 12 + } + } }, "property": { "type": "Identifier", - "start": 2438, - "end": 2445, + "start": 2654, + "end": 2656, "loc": { "start": { - "line": 94, - "column": 18 + "line": 104, + "column": 13 }, "end": { - "line": 94, - "column": 25 + "line": 104, + "column": 15 }, - "identifierName": "isArray" + "identifierName": "id" }, - "name": "isArray" + "name": "id" }, - "computed": false, - "leadingComments": null + "computed": false }, - "arguments": [ - { - "type": "Identifier", - "start": 2446, - "end": 2456, - "loc": { - "start": { - "line": 94, - "column": 26 - }, - "end": { - "line": 94, - "column": 36 - }, - "identifierName": "frameArray" + "right": { + "type": "CallExpression", + "start": 2659, + "end": 2680, + "loc": { + "start": { + "line": 104, + "column": 18 }, - "name": "frameArray" - } - ], - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 2459, - "end": 2801, - "loc": { - "start": { - "line": 94, - "column": 39 + "end": { + "line": 104, + "column": 39 + } }, - "end": { - "line": 102, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 2544, - "end": 2790, + "callee": { + "type": "MemberExpression", + "start": 2659, + "end": 2674, "loc": { "start": { - "line": 96, - "column": 12 + "line": 104, + "column": 18 }, "end": { - "line": 101, - "column": 13 + "line": 104, + "column": 33 } }, - "test": { - "type": "MemberExpression", - "start": 2548, - "end": 2565, + "object": { + "type": "Identifier", + "start": 2659, + "end": 2663, "loc": { "start": { - "line": 96, - "column": 16 + "line": 104, + "column": 18 }, "end": { - "line": 96, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 2548, - "end": 2558, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 26 - }, - "identifierName": "frameArray" + "line": 104, + "column": 22 }, - "name": "frameArray", - "leadingComments": null + "identifierName": "Icon" }, - "property": { - "type": "Identifier", - "start": 2559, - "end": 2565, - "loc": { - "start": { - "line": 96, - "column": 27 - }, - "end": { - "line": 96, - "column": 33 - }, - "identifierName": "length" + "name": "Icon" + }, + "property": { + "type": "Identifier", + "start": 2664, + "end": 2674, + "loc": { + "start": { + "line": 104, + "column": 23 }, - "name": "length" + "end": { + "line": 104, + "column": 33 + }, + "identifierName": "generateID" }, - "computed": false, - "leadingComments": null + "name": "generateID" }, - "consequent": { - "type": "BlockStatement", - "start": 2567, - "end": 2790, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2675, + "end": 2679, "loc": { "start": { - "line": 96, - "column": 35 + "line": 104, + "column": 34 }, "end": { - "line": 101, - "column": 13 - } + "line": 104, + "column": 38 + }, + "identifierName": "pVYI" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2586, - "end": 2775, - "loc": { - "start": { - "line": 97, - "column": 16 - }, - "end": { - "line": 100, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 2586, - "end": 2774, - "loc": { - "start": { - "line": 97, - "column": 16 - }, - "end": { - "line": 100, - "column": 18 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2586, - "end": 2604, - "loc": { - "start": { - "line": 97, - "column": 16 - }, - "end": { - "line": 97, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 2586, - "end": 2596, - "loc": { - "start": { - "line": 97, - "column": 16 - }, - "end": { - "line": 97, - "column": 26 - }, - "identifierName": "frameArray" - }, - "name": "frameArray" - }, - "property": { - "type": "Identifier", - "start": 2597, - "end": 2604, - "loc": { - "start": { - "line": 97, - "column": 27 - }, - "end": { - "line": 97, - "column": 34 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 2605, - "end": 2773, - "loc": { - "start": { - "line": 97, - "column": 35 - }, - "end": { - "line": 100, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2606, - "end": 2612, - "loc": { - "start": { - "line": 97, - "column": 36 - }, - "end": { - "line": 97, - "column": 42 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "body": { - "type": "BlockStatement", - "start": 2617, - "end": 2773, - "loc": { - "start": { - "line": 97, - "column": 47 - }, - "end": { - "line": 100, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2732, - "end": 2754, - "loc": { - "start": { - "line": 99, - "column": 20 - }, - "end": { - "line": 99, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 2732, - "end": 2753, - "loc": { - "start": { - "line": 99, - "column": 20 - }, - "end": { - "line": 99, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2732, - "end": 2745, - "loc": { - "start": { - "line": 99, - "column": 20 - }, - "end": { - "line": 99, - "column": 33 - } - }, - "object": { - "type": "ThisExpression", - "start": 2732, - "end": 2736, - "loc": { - "start": { - "line": 99, - "column": 20 - }, - "end": { - "line": 99, - "column": 24 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 2737, - "end": 2745, - "loc": { - "start": { - "line": 99, - "column": 25 - }, - "end": { - "line": 99, - "column": 33 - }, - "identifierName": "addFrame" - }, - "name": "addFrame" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 2746, - "end": 2752, - "loc": { - "start": { - "line": 99, - "column": 34 - }, - "end": { - "line": 99, - "column": 40 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " pFrame is an array holding the datalURL and frameDelay of the frame", - "start": 2640, - "end": 2710, - "loc": { - "start": { - "line": 98, - "column": 20 - }, - "end": { - "line": 98, - "column": 90 - } - } - } - ] - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the frame array has data then we need to store it.", - "start": 2474, - "end": 2530, - "loc": { - "start": { - "line": 95, - "column": 12 - }, - "end": { - "line": 95, - "column": 68 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 2380, - "end": 2418, - "loc": { - "start": { - "line": 93, - "column": 8 - }, - "end": { - "line": 93, - "column": 46 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if the states data is an array", - "start": 2811, - "end": 2850, - "loc": { - "start": { - "line": 103, - "column": 8 - }, - "end": { - "line": 103, - "column": 47 + "name": "pVYI" } - } + ] } - ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", + "start": 2487, + "end": 2617, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 102, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", + "start": 2694, + "end": 2796, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 110, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2802, + "end": 2843, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 113, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2802, + "end": 2807, + "loc": { + "start": { + "line": 111, + "column": 4 + }, + "end": { + "line": 111, + "column": 9 + }, + "identifierName": "getID" + }, + "name": "getID", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2810, + "end": 2843, + "loc": { + "start": { + "line": 111, + "column": 12 }, + "end": { + "line": 113, + "column": 5 + } + }, + "body": [ { - "type": "IfStatement", - "start": 2860, - "end": 4063, + "type": "ReturnStatement", + "start": 2821, + "end": 2836, "loc": { "start": { - "line": 104, + "line": 112, "column": 8 }, "end": { - "line": 126, - "column": 9 + "line": 112, + "column": 23 } }, - "test": { - "type": "CallExpression", - "start": 2864, - "end": 2889, + "argument": { + "type": "MemberExpression", + "start": 2828, + "end": 2835, "loc": { "start": { - "line": 104, - "column": 12 + "line": 112, + "column": 15 }, "end": { - "line": 104, - "column": 37 + "line": 112, + "column": 22 } }, - "callee": { - "type": "MemberExpression", - "start": 2864, - "end": 2877, + "object": { + "type": "ThisExpression", + "start": 2828, + "end": 2832, "loc": { "start": { - "line": 104, - "column": 12 + "line": 112, + "column": 15 }, "end": { - "line": 104, - "column": 25 + "line": 112, + "column": 19 } - }, - "object": { - "type": "Identifier", - "start": 2864, - "end": 2869, - "loc": { - "start": { - "line": 104, - "column": 12 - }, - "end": { - "line": 104, - "column": 17 - }, - "identifierName": "Array" + } + }, + "property": { + "type": "Identifier", + "start": 2833, + "end": 2835, + "loc": { + "start": { + "line": 112, + "column": 20 }, - "name": "Array", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 2870, - "end": 2877, - "loc": { - "start": { - "line": 104, - "column": 18 - }, - "end": { - "line": 104, - "column": 25 - }, - "identifierName": "isArray" + "end": { + "line": 112, + "column": 22 }, - "name": "isArray" + "identifierName": "id" }, - "computed": false, - "leadingComments": null + "name": "id" }, - "arguments": [ - { - "type": "Identifier", - "start": 2878, - "end": 2888, - "loc": { + "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", + "start": 2694, + "end": 2796, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 110, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", + "start": 2849, + "end": 3026, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3032, + "end": 5344, + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 171, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3032, + "end": 3037, + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 119, + "column": 9 + }, + "identifierName": "parse" + }, + "name": "parse", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3038, + "end": 3047, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 119, + "column": 19 + }, + "identifierName": "pIconData" + }, + "name": "pIconData" + } + ], + "body": { + "type": "BlockStatement", + "start": 3049, + "end": 5344, + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 171, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3116, + "end": 3146, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3122, + "end": 3145, + "loc": { + "start": { + "line": 121, + "column": 14 + }, + "end": { + "line": 121, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 3122, + "end": 3130, + "loc": { "start": { - "line": 104, - "column": 26 + "line": 121, + "column": 14 }, "end": { - "line": 104, - "column": 36 + "line": 121, + "column": 22 }, - "identifierName": "stateArray" + "identifierName": "iconName" }, - "name": "stateArray" + "name": "iconName", + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 3133, + "end": 3145, + "loc": { + "start": { + "line": 121, + "column": 25 + }, + "end": { + "line": 121, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 3133, + "end": 3142, + "loc": { + "start": { + "line": 121, + "column": 25 + }, + "end": { + "line": 121, + "column": 34 + }, + "identifierName": "pIconData" + }, + "name": "pIconData" + }, + "property": { + "type": "NumericLiteral", + "start": 3143, + "end": 3144, + "loc": { + "start": { + "line": 121, + "column": 35 + }, + "end": { + "line": 121, + "column": 36 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Loop through pIconData and create this icon", + "start": 3060, + "end": 3106, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 54 + } } - ], - "leadingComments": null + } + ] + }, + { + "type": "VariableDeclaration", + "start": 3156, + "end": 3187, + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 39 + } }, - "consequent": { - "type": "BlockStatement", - "start": 2891, - "end": 4063, - "loc": { - "start": { - "line": 104, - "column": 39 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3162, + "end": 3186, + "loc": { + "start": { + "line": 122, + "column": 14 + }, + "end": { + "line": 122, + "column": 38 + } }, - "end": { - "line": 126, - "column": 9 + "id": { + "type": "Identifier", + "start": 3162, + "end": 3171, + "loc": { + "start": { + "line": 122, + "column": 14 + }, + "end": { + "line": 122, + "column": 23 + }, + "identifierName": "iconWidth" + }, + "name": "iconWidth" + }, + "init": { + "type": "MemberExpression", + "start": 3174, + "end": 3186, + "loc": { + "start": { + "line": 122, + "column": 26 + }, + "end": { + "line": 122, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 3174, + "end": 3183, + "loc": { + "start": { + "line": 122, + "column": 26 + }, + "end": { + "line": 122, + "column": 35 + }, + "identifierName": "pIconData" + }, + "name": "pIconData" + }, + "property": { + "type": "NumericLiteral", + "start": 3184, + "end": 3185, + "loc": { + "start": { + "line": 122, + "column": 36 + }, + "end": { + "line": 122, + "column": 37 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3197, + "end": 3229, + "loc": { + "start": { + "line": 123, + "column": 8 }, - "body": [ - { - "type": "IfStatement", - "start": 2976, - "end": 4052, + "end": { + "line": 123, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3203, + "end": 3228, + "loc": { + "start": { + "line": 123, + "column": 14 + }, + "end": { + "line": 123, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 3203, + "end": 3213, "loc": { "start": { - "line": 106, - "column": 12 + "line": 123, + "column": 14 }, "end": { - "line": 125, - "column": 13 + "line": 123, + "column": 24 + }, + "identifierName": "iconHeight" + }, + "name": "iconHeight" + }, + "init": { + "type": "MemberExpression", + "start": 3216, + "end": 3228, + "loc": { + "start": { + "line": 123, + "column": 27 + }, + "end": { + "line": 123, + "column": 39 } }, - "test": { - "type": "MemberExpression", - "start": 2980, - "end": 2997, + "object": { + "type": "Identifier", + "start": 3216, + "end": 3225, "loc": { "start": { - "line": 106, - "column": 16 + "line": 123, + "column": 27 }, "end": { - "line": 106, - "column": 33 + "line": 123, + "column": 36 + }, + "identifierName": "pIconData" + }, + "name": "pIconData" + }, + "property": { + "type": "NumericLiteral", + "start": 3226, + "end": 3227, + "loc": { + "start": { + "line": 123, + "column": 37 + }, + "end": { + "line": 123, + "column": 38 } }, - "object": { - "type": "Identifier", - "start": 2980, - "end": 2990, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 26 - }, - "identifierName": "stateArray" + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3239, + "end": 3270, + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3245, + "end": 3269, + "loc": { + "start": { + "line": 124, + "column": 14 + }, + "end": { + "line": 124, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 3245, + "end": 3254, + "loc": { + "start": { + "line": 124, + "column": 14 + }, + "end": { + "line": 124, + "column": 23 + }, + "identifierName": "iconDelay" + }, + "name": "iconDelay" + }, + "init": { + "type": "MemberExpression", + "start": 3257, + "end": 3269, + "loc": { + "start": { + "line": 124, + "column": 26 + }, + "end": { + "line": 124, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 3257, + "end": 3266, + "loc": { + "start": { + "line": 124, + "column": 26 }, - "name": "stateArray", - "leadingComments": null + "end": { + "line": 124, + "column": 35 + }, + "identifierName": "pIconData" }, - "property": { - "type": "Identifier", - "start": 2991, - "end": 2997, - "loc": { - "start": { - "line": 106, - "column": 27 - }, - "end": { - "line": 106, - "column": 33 - }, - "identifierName": "length" + "name": "pIconData" + }, + "property": { + "type": "NumericLiteral", + "start": 3267, + "end": 3268, + "loc": { + "start": { + "line": 124, + "column": 36 }, - "name": "length" + "end": { + "line": 124, + "column": 37 + } }, - "computed": false, - "leadingComments": null + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 }, - "consequent": { - "type": "BlockStatement", - "start": 2999, - "end": 4052, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3280, + "end": 3313, + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3286, + "end": 3312, + "loc": { + "start": { + "line": 125, + "column": 14 + }, + "end": { + "line": 125, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 3286, + "end": 3297, + "loc": { + "start": { + "line": 125, + "column": 14 + }, + "end": { + "line": 125, + "column": 25 + }, + "identifierName": "iconDataURL" + }, + "name": "iconDataURL" + }, + "init": { + "type": "MemberExpression", + "start": 3300, + "end": 3312, + "loc": { + "start": { + "line": 125, + "column": 28 + }, + "end": { + "line": 125, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 3300, + "end": 3309, "loc": { "start": { - "line": 106, - "column": 35 + "line": 125, + "column": 28 }, "end": { "line": 125, - "column": 13 - } + "column": 37 + }, + "identifierName": "pIconData" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3018, - "end": 4037, - "loc": { + "name": "pIconData" + }, + "property": { + "type": "NumericLiteral", + "start": 3310, + "end": 3311, + "loc": { + "start": { + "line": 125, + "column": 38 + }, + "end": { + "line": 125, + "column": 39 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3323, + "end": 3355, + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3329, + "end": 3354, + "loc": { + "start": { + "line": 126, + "column": 14 + }, + "end": { + "line": 126, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 3329, + "end": 3339, + "loc": { + "start": { + "line": 126, + "column": 14 + }, + "end": { + "line": 126, + "column": 24 + }, + "identifierName": "frameArray" + }, + "name": "frameArray" + }, + "init": { + "type": "MemberExpression", + "start": 3342, + "end": 3354, + "loc": { + "start": { + "line": 126, + "column": 27 + }, + "end": { + "line": 126, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 3342, + "end": 3351, + "loc": { + "start": { + "line": 126, + "column": 27 + }, + "end": { + "line": 126, + "column": 36 + }, + "identifierName": "pIconData" + }, + "name": "pIconData" + }, + "property": { + "type": "NumericLiteral", + "start": 3352, + "end": 3353, + "loc": { + "start": { + "line": 126, + "column": 37 + }, + "end": { + "line": 126, + "column": 38 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 3365, + "end": 3397, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3371, + "end": 3396, + "loc": { + "start": { + "line": 127, + "column": 14 + }, + "end": { + "line": 127, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 3371, + "end": 3381, + "loc": { + "start": { + "line": 127, + "column": 14 + }, + "end": { + "line": 127, + "column": 24 + }, + "identifierName": "stateArray" + }, + "name": "stateArray" + }, + "init": { + "type": "MemberExpression", + "start": 3384, + "end": 3396, + "loc": { + "start": { + "line": 127, + "column": 27 + }, + "end": { + "line": 127, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 3384, + "end": 3393, + "loc": { + "start": { + "line": 127, + "column": 27 + }, + "end": { + "line": 127, + "column": 36 + }, + "identifierName": "pIconData" + }, + "name": "pIconData" + }, + "property": { + "type": "NumericLiteral", + "start": 3394, + "end": 3395, + "loc": { + "start": { + "line": 127, + "column": 37 + }, + "end": { + "line": 127, + "column": 38 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + }, + "computed": true + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Set name", + "start": 3409, + "end": 3420, + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 19 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3430, + "end": 3452, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 30 + } + }, + "expression": { + "type": "CallExpression", + "start": 3430, + "end": 3451, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3430, + "end": 3441, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 3430, + "end": 3434, + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3435, + "end": 3441, + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 19 + }, + "identifierName": "rename" + }, + "name": "rename" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 3442, + "end": 3450, + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 28 + }, + "identifierName": "iconName" + }, + "name": "iconName" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Set name", + "start": 3409, + "end": 3420, + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 19 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Set size", + "start": 3462, + "end": 3473, + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 19 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3483, + "end": 3519, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 3483, + "end": 3518, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3483, + "end": 3495, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 3483, + "end": 3487, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3488, + "end": 3495, + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 20 + }, + "identifierName": "setSize" + }, + "name": "setSize" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 3496, + "end": 3505, + "loc": { + "start": { + "line": 132, + "column": 21 + }, + "end": { + "line": 132, + "column": 30 + }, + "identifierName": "iconWidth" + }, + "name": "iconWidth" + }, + { + "type": "Identifier", + "start": 3507, + "end": 3517, + "loc": { + "start": { + "line": 132, + "column": 32 + }, + "end": { + "line": 132, + "column": 42 + }, + "identifierName": "iconHeight" + }, + "name": "iconHeight" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Set size", + "start": 3462, + "end": 3473, + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 19 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Set icon delay", + "start": 3529, + "end": 3546, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3556, + "end": 3581, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 3556, + "end": 3580, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3556, + "end": 3569, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 3556, + "end": 3560, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3561, + "end": 3569, + "loc": { + "start": { + "line": 134, + "column": 13 + }, + "end": { + "line": 134, + "column": 21 + }, + "identifierName": "setDelay" + }, + "name": "setDelay" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 3570, + "end": 3579, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 31 + }, + "identifierName": "iconDelay" + }, + "name": "iconDelay" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Set icon delay", + "start": 3529, + "end": 3546, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Set dataURL", + "start": 3591, + "end": 3605, + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 22 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3615, + "end": 3644, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 3615, + "end": 3643, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3615, + "end": 3630, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 3615, + "end": 3619, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 12 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3620, + "end": 3630, + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 23 + }, + "identifierName": "setDataURL" + }, + "name": "setDataURL" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 3631, + "end": 3642, + "loc": { + "start": { + "line": 136, + "column": 24 + }, + "end": { + "line": 136, + "column": 35 + }, + "identifierName": "iconDataURL" + }, + "name": "iconDataURL" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Set dataURL", + "start": 3591, + "end": 3605, + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 22 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Check if the frame data is an array", + "start": 3654, + "end": 3692, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 46 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 3702, + "end": 4075, + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 146, + "column": 9 + } + }, + "test": { + "type": "CallExpression", + "start": 3706, + "end": 3731, + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3706, + "end": 3719, + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 3706, + "end": 3711, + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 17 + }, + "identifierName": "Array" + }, + "name": "Array", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3712, + "end": 3719, + "loc": { + "start": { + "line": 138, + "column": 18 + }, + "end": { + "line": 138, + "column": 25 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 3720, + "end": 3730, + "loc": { + "start": { + "line": 138, + "column": 26 + }, + "end": { + "line": 138, + "column": 36 + }, + "identifierName": "frameArray" + }, + "name": "frameArray" + } + ], + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 3733, + "end": 4075, + "loc": { + "start": { + "line": 138, + "column": 39 + }, + "end": { + "line": 146, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3818, + "end": 4064, + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 145, + "column": 13 + } + }, + "test": { + "type": "MemberExpression", + "start": 3822, + "end": 3839, + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 3822, + "end": 3832, + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 26 + }, + "identifierName": "frameArray" + }, + "name": "frameArray", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3833, + "end": 3839, + "loc": { + "start": { + "line": 140, + "column": 27 + }, + "end": { + "line": 140, + "column": 33 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 3841, + "end": 4064, + "loc": { + "start": { + "line": 140, + "column": 35 + }, + "end": { + "line": 145, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3860, + "end": 4049, + "loc": { + "start": { + "line": 141, + "column": 16 + }, + "end": { + "line": 144, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 3860, + "end": 4048, + "loc": { + "start": { + "line": 141, + "column": 16 + }, + "end": { + "line": 144, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3860, + "end": 3878, + "loc": { + "start": { + "line": 141, + "column": 16 + }, + "end": { + "line": 141, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 3860, + "end": 3870, + "loc": { + "start": { + "line": 141, + "column": 16 + }, + "end": { + "line": 141, + "column": 26 + }, + "identifierName": "frameArray" + }, + "name": "frameArray" + }, + "property": { + "type": "Identifier", + "start": 3871, + "end": 3878, + "loc": { + "start": { + "line": 141, + "column": 27 + }, + "end": { + "line": 141, + "column": 34 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3879, + "end": 4047, + "loc": { + "start": { + "line": 141, + "column": 35 + }, + "end": { + "line": 144, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3880, + "end": 3886, + "loc": { + "start": { + "line": 141, + "column": 36 + }, + "end": { + "line": 141, + "column": 42 + }, + "identifierName": "pFrame" + }, + "name": "pFrame" + } + ], + "body": { + "type": "BlockStatement", + "start": 3891, + "end": 4047, + "loc": { + "start": { + "line": 141, + "column": 47 + }, + "end": { + "line": 144, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4006, + "end": 4028, + "loc": { + "start": { + "line": 143, + "column": 20 + }, + "end": { + "line": 143, + "column": 42 + } + }, + "expression": { + "type": "CallExpression", + "start": 4006, + "end": 4027, + "loc": { + "start": { + "line": 143, + "column": 20 + }, + "end": { + "line": 143, + "column": 41 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4006, + "end": 4019, + "loc": { + "start": { + "line": 143, + "column": 20 + }, + "end": { + "line": 143, + "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 4006, + "end": 4010, + "loc": { + "start": { + "line": 143, + "column": 20 + }, + "end": { + "line": 143, + "column": 24 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4011, + "end": 4019, + "loc": { + "start": { + "line": 143, + "column": 25 + }, + "end": { + "line": 143, + "column": 33 + }, + "identifierName": "addFrame" + }, + "name": "addFrame" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 4020, + "end": 4026, + "loc": { + "start": { + "line": 143, + "column": 34 + }, + "end": { + "line": 143, + "column": 40 + }, + "identifierName": "pFrame" + }, + "name": "pFrame" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " pFrame is an array holding the datalURL and frameDelay of the frame", + "start": 3914, + "end": 3984, + "loc": { + "start": { + "line": 142, + "column": 20 + }, + "end": { + "line": 142, + "column": 90 + } + } + } + ] + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If the frame array has data then we need to store it.", + "start": 3748, + "end": 3804, + "loc": { + "start": { + "line": 139, + "column": 12 + }, + "end": { + "line": 139, + "column": 68 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Check if the frame data is an array", + "start": 3654, + "end": 3692, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 46 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Check if the states data is an array", + "start": 4085, + "end": 4124, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 47 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 4134, + "end": 5337, + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 170, + "column": 9 + } + }, + "test": { + "type": "CallExpression", + "start": 4138, + "end": 4163, + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4138, + "end": 4151, + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 4138, + "end": 4143, + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 17 + }, + "identifierName": "Array" + }, + "name": "Array", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4144, + "end": 4151, + "loc": { + "start": { + "line": 148, + "column": 18 + }, + "end": { + "line": 148, + "column": 25 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "Identifier", + "start": 4152, + "end": 4162, + "loc": { + "start": { + "line": 148, + "column": 26 + }, + "end": { + "line": 148, + "column": 36 + }, + "identifierName": "stateArray" + }, + "name": "stateArray" + } + ], + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 4165, + "end": 5337, + "loc": { + "start": { + "line": 148, + "column": 39 + }, + "end": { + "line": 170, + "column": 9 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4250, + "end": 5326, + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 169, + "column": 13 + } + }, + "test": { + "type": "MemberExpression", + "start": 4254, + "end": 4271, + "loc": { + "start": { + "line": 150, + "column": 16 + }, + "end": { + "line": 150, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 4254, + "end": 4264, + "loc": { + "start": { + "line": 150, + "column": 16 + }, + "end": { + "line": 150, + "column": 26 + }, + "identifierName": "stateArray" + }, + "name": "stateArray", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4265, + "end": 4271, + "loc": { + "start": { + "line": 150, + "column": 27 + }, + "end": { + "line": 150, + "column": 33 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 4273, + "end": 5326, + "loc": { + "start": { + "line": 150, + "column": 35 + }, + "end": { + "line": 169, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4292, + "end": 5311, + "loc": { "start": { - "line": 107, + "line": 151, "column": 16 }, "end": { - "line": 124, + "line": 168, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 3018, - "end": 4036, + "start": 4292, + "end": 5310, "loc": { "start": { - "line": 107, + "line": 151, "column": 16 }, "end": { - "line": 124, + "line": 168, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 3018, - "end": 3036, + "start": 4292, + "end": 4310, "loc": { "start": { - "line": 107, + "line": 151, "column": 16 }, "end": { - "line": 107, + "line": 151, "column": 34 } }, "object": { "type": "Identifier", - "start": 3018, - "end": 3028, + "start": 4292, + "end": 4302, "loc": { "start": { - "line": 107, + "line": 151, "column": 16 }, "end": { - "line": 107, + "line": 151, "column": 26 }, "identifierName": "stateArray" @@ -3510,15 +5179,15 @@ }, "property": { "type": "Identifier", - "start": 3029, - "end": 3036, + "start": 4303, + "end": 4310, "loc": { "start": { - "line": 107, + "line": 151, "column": 27 }, "end": { - "line": 107, + "line": 151, "column": 34 }, "identifierName": "forEach" @@ -3530,15 +5199,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 3037, - "end": 4035, + "start": 4311, + "end": 5309, "loc": { "start": { - "line": 107, + "line": 151, "column": 35 }, "end": { - "line": 124, + "line": 168, "column": 17 } }, @@ -3549,15 +5218,15 @@ "params": [ { "type": "Identifier", - "start": 3038, - "end": 3044, + "start": 4312, + "end": 4318, "loc": { "start": { - "line": 107, + "line": 151, "column": 36 }, "end": { - "line": 107, + "line": 151, "column": 42 }, "identifierName": "pState" @@ -3567,59 +5236,59 @@ ], "body": { "type": "BlockStatement", - "start": 3049, - "end": 4035, + "start": 4323, + "end": 5309, "loc": { "start": { - "line": 107, + "line": 151, "column": 47 }, "end": { - "line": 124, + "line": 168, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 3383, - "end": 3413, + "start": 4657, + "end": 4687, "loc": { "start": { - "line": 110, + "line": 154, "column": 20 }, "end": { - "line": 110, + "line": 154, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3389, - "end": 3412, + "start": 4663, + "end": 4686, "loc": { "start": { - "line": 110, + "line": 154, "column": 26 }, "end": { - "line": 110, + "line": 154, "column": 49 } }, "id": { "type": "Identifier", - "start": 3389, - "end": 3407, + "start": 4663, + "end": 4681, "loc": { "start": { - "line": 110, + "line": 154, "column": 26 }, "end": { - "line": 110, + "line": 154, "column": 44 }, "identifierName": "aggregatedIconData" @@ -3629,15 +5298,15 @@ }, "init": { "type": "ArrayExpression", - "start": 3410, - "end": 3412, + "start": 4684, + "end": 4686, "loc": { "start": { - "line": 110, + "line": 154, "column": 47 }, "end": { - "line": 110, + "line": 154, "column": 49 } }, @@ -3651,15 +5320,15 @@ { "type": "CommentLine", "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", - "start": 3072, - "end": 3174, + "start": 4346, + "end": 4448, "loc": { "start": { - "line": 108, + "line": 152, "column": 20 }, "end": { - "line": 108, + "line": 152, "column": 122 } } @@ -3667,15 +5336,15 @@ { "type": "CommentLine", "value": " We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.", - "start": 3196, - "end": 3361, + "start": 4470, + "end": 4635, "loc": { "start": { - "line": 109, + "line": 153, "column": 20 }, "end": { - "line": 109, + "line": 153, "column": 185 } } @@ -3685,15 +5354,15 @@ { "type": "CommentLine", "value": " iconName", - "start": 3435, - "end": 3446, + "start": 4709, + "end": 4720, "loc": { "start": { - "line": 111, + "line": 155, "column": 20 }, "end": { - "line": 111, + "line": 155, "column": 31 } } @@ -3702,58 +5371,58 @@ }, { "type": "ExpressionStatement", - "start": 3468, - "end": 3502, + "start": 4742, + "end": 4776, "loc": { "start": { - "line": 112, + "line": 156, "column": 20 }, "end": { - "line": 112, + "line": 156, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 3468, - "end": 3501, + "start": 4742, + "end": 4775, "loc": { "start": { - "line": 112, + "line": 156, "column": 20 }, "end": { - "line": 112, + "line": 156, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3468, - "end": 3489, + "start": 4742, + "end": 4763, "loc": { "start": { - "line": 112, + "line": 156, "column": 20 }, "end": { - "line": 112, + "line": 156, "column": 41 } }, "object": { "type": "Identifier", - "start": 3468, - "end": 3486, + "start": 4742, + "end": 4760, "loc": { "start": { - "line": 112, + "line": 156, "column": 20 }, "end": { - "line": 112, + "line": 156, "column": 38 }, "identifierName": "aggregatedIconData" @@ -3763,15 +5432,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3487, - "end": 3488, + "start": 4761, + "end": 4762, "loc": { "start": { - "line": 112, + "line": 156, "column": 39 }, "end": { - "line": 112, + "line": 156, "column": 40 } }, @@ -3786,29 +5455,29 @@ }, "right": { "type": "MemberExpression", - "start": 3492, - "end": 3501, + "start": 4766, + "end": 4775, "loc": { "start": { - "line": 112, + "line": 156, "column": 44 }, "end": { - "line": 112, + "line": 156, "column": 53 } }, "object": { "type": "Identifier", - "start": 3492, - "end": 3498, + "start": 4766, + "end": 4772, "loc": { "start": { - "line": 112, + "line": 156, "column": 44 }, "end": { - "line": 112, + "line": 156, "column": 50 }, "identifierName": "pState" @@ -3817,15 +5486,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3499, - "end": 3500, + "start": 4773, + "end": 4774, "loc": { "start": { - "line": 112, + "line": 156, "column": 51 }, "end": { - "line": 112, + "line": 156, "column": 52 } }, @@ -3843,15 +5512,15 @@ { "type": "CommentLine", "value": " iconName", - "start": 3435, - "end": 3446, + "start": 4709, + "end": 4720, "loc": { "start": { - "line": 111, + "line": 155, "column": 20 }, "end": { - "line": 111, + "line": 155, "column": 31 } } @@ -3861,15 +5530,15 @@ { "type": "CommentLine", "value": " iconWidth", - "start": 3524, - "end": 3536, + "start": 4798, + "end": 4810, "loc": { "start": { - "line": 113, + "line": 157, "column": 20 }, "end": { - "line": 113, + "line": 157, "column": 32 } } @@ -3878,58 +5547,58 @@ }, { "type": "ExpressionStatement", - "start": 3558, - "end": 3592, + "start": 4832, + "end": 4866, "loc": { "start": { - "line": 114, + "line": 158, "column": 20 }, "end": { - "line": 114, + "line": 158, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 3558, - "end": 3591, + "start": 4832, + "end": 4865, "loc": { "start": { - "line": 114, + "line": 158, "column": 20 }, "end": { - "line": 114, + "line": 158, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3558, - "end": 3579, + "start": 4832, + "end": 4853, "loc": { "start": { - "line": 114, + "line": 158, "column": 20 }, "end": { - "line": 114, + "line": 158, "column": 41 } }, "object": { "type": "Identifier", - "start": 3558, - "end": 3576, + "start": 4832, + "end": 4850, "loc": { "start": { - "line": 114, + "line": 158, "column": 20 }, "end": { - "line": 114, + "line": 158, "column": 38 }, "identifierName": "aggregatedIconData" @@ -3939,15 +5608,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3577, - "end": 3578, + "start": 4851, + "end": 4852, "loc": { "start": { - "line": 114, + "line": 158, "column": 39 }, "end": { - "line": 114, + "line": 158, "column": 40 } }, @@ -3962,15 +5631,15 @@ }, "right": { "type": "Identifier", - "start": 3582, - "end": 3591, + "start": 4856, + "end": 4865, "loc": { "start": { - "line": 114, + "line": 158, "column": 44 }, "end": { - "line": 114, + "line": 158, "column": 53 }, "identifierName": "iconWidth" @@ -3983,15 +5652,15 @@ { "type": "CommentLine", "value": " iconWidth", - "start": 3524, - "end": 3536, + "start": 4798, + "end": 4810, "loc": { "start": { - "line": 113, + "line": 157, "column": 20 }, "end": { - "line": 113, + "line": 157, "column": 32 } } @@ -4001,15 +5670,15 @@ { "type": "CommentLine", "value": " iconHeight", - "start": 3614, - "end": 3627, + "start": 4888, + "end": 4901, "loc": { "start": { - "line": 115, + "line": 159, "column": 20 }, "end": { - "line": 115, + "line": 159, "column": 33 } } @@ -4018,58 +5687,58 @@ }, { "type": "ExpressionStatement", - "start": 3649, - "end": 3684, + "start": 4923, + "end": 4958, "loc": { "start": { - "line": 116, + "line": 160, "column": 20 }, "end": { - "line": 116, + "line": 160, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 3649, - "end": 3683, + "start": 4923, + "end": 4957, "loc": { "start": { - "line": 116, + "line": 160, "column": 20 }, "end": { - "line": 116, + "line": 160, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3649, - "end": 3670, + "start": 4923, + "end": 4944, "loc": { "start": { - "line": 116, + "line": 160, "column": 20 }, "end": { - "line": 116, + "line": 160, "column": 41 } }, "object": { "type": "Identifier", - "start": 3649, - "end": 3667, + "start": 4923, + "end": 4941, "loc": { "start": { - "line": 116, + "line": 160, "column": 20 }, "end": { - "line": 116, + "line": 160, "column": 38 }, "identifierName": "aggregatedIconData" @@ -4079,15 +5748,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3668, - "end": 3669, + "start": 4942, + "end": 4943, "loc": { "start": { - "line": 116, + "line": 160, "column": 39 }, "end": { - "line": 116, + "line": 160, "column": 40 } }, @@ -4102,15 +5771,15 @@ }, "right": { "type": "Identifier", - "start": 3673, - "end": 3683, + "start": 4947, + "end": 4957, "loc": { "start": { - "line": 116, + "line": 160, "column": 44 }, "end": { - "line": 116, + "line": 160, "column": 54 }, "identifierName": "iconHeight" @@ -4123,15 +5792,15 @@ { "type": "CommentLine", "value": " iconHeight", - "start": 3614, - "end": 3627, + "start": 4888, + "end": 4901, "loc": { "start": { - "line": 115, + "line": 159, "column": 20 }, "end": { - "line": 115, + "line": 159, "column": 33 } } @@ -4141,15 +5810,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3706, - "end": 3720, + "start": 4980, + "end": 4994, "loc": { "start": { - "line": 117, + "line": 161, "column": 20 }, "end": { - "line": 117, + "line": 161, "column": 34 } } @@ -4158,58 +5827,58 @@ }, { "type": "ExpressionStatement", - "start": 3742, - "end": 3776, + "start": 5016, + "end": 5050, "loc": { "start": { - "line": 118, + "line": 162, "column": 20 }, "end": { - "line": 118, + "line": 162, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 3742, - "end": 3775, + "start": 5016, + "end": 5049, "loc": { "start": { - "line": 118, + "line": 162, "column": 20 }, "end": { - "line": 118, + "line": 162, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3742, - "end": 3763, + "start": 5016, + "end": 5037, "loc": { "start": { - "line": 118, + "line": 162, "column": 20 }, "end": { - "line": 118, + "line": 162, "column": 41 } }, "object": { "type": "Identifier", - "start": 3742, - "end": 3760, + "start": 5016, + "end": 5034, "loc": { "start": { - "line": 118, + "line": 162, "column": 20 }, "end": { - "line": 118, + "line": 162, "column": 38 }, "identifierName": "aggregatedIconData" @@ -4219,15 +5888,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3761, - "end": 3762, + "start": 5035, + "end": 5036, "loc": { "start": { - "line": 118, + "line": 162, "column": 39 }, "end": { - "line": 118, + "line": 162, "column": 40 } }, @@ -4242,29 +5911,29 @@ }, "right": { "type": "MemberExpression", - "start": 3766, - "end": 3775, + "start": 5040, + "end": 5049, "loc": { "start": { - "line": 118, + "line": 162, "column": 44 }, "end": { - "line": 118, + "line": 162, "column": 53 } }, "object": { "type": "Identifier", - "start": 3766, - "end": 3772, + "start": 5040, + "end": 5046, "loc": { "start": { - "line": 118, + "line": 162, "column": 44 }, "end": { - "line": 118, + "line": 162, "column": 50 }, "identifierName": "pState" @@ -4273,15 +5942,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3773, - "end": 3774, + "start": 5047, + "end": 5048, "loc": { "start": { - "line": 118, + "line": 162, "column": 51 }, "end": { - "line": 118, + "line": 162, "column": 52 } }, @@ -4299,15 +5968,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3706, - "end": 3720, + "start": 4980, + "end": 4994, "loc": { "start": { - "line": 117, + "line": 161, "column": 20 }, "end": { - "line": 117, + "line": 161, "column": 34 } } @@ -4317,15 +5986,15 @@ { "type": "CommentLine", "value": " iconDataURL", - "start": 3798, - "end": 3812, + "start": 5072, + "end": 5086, "loc": { "start": { - "line": 119, + "line": 163, "column": 20 }, "end": { - "line": 119, + "line": 163, "column": 34 } } @@ -4334,58 +6003,58 @@ }, { "type": "ExpressionStatement", - "start": 3834, - "end": 3868, + "start": 5108, + "end": 5142, "loc": { "start": { - "line": 120, + "line": 164, "column": 20 }, "end": { - "line": 120, + "line": 164, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 3834, - "end": 3867, + "start": 5108, + "end": 5141, "loc": { "start": { - "line": 120, + "line": 164, "column": 20 }, "end": { - "line": 120, + "line": 164, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3834, - "end": 3855, + "start": 5108, + "end": 5129, "loc": { "start": { - "line": 120, + "line": 164, "column": 20 }, "end": { - "line": 120, + "line": 164, "column": 41 } }, "object": { "type": "Identifier", - "start": 3834, - "end": 3852, + "start": 5108, + "end": 5126, "loc": { "start": { - "line": 120, + "line": 164, "column": 20 }, "end": { - "line": 120, + "line": 164, "column": 38 }, "identifierName": "aggregatedIconData" @@ -4395,15 +6064,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3853, - "end": 3854, + "start": 5127, + "end": 5128, "loc": { "start": { - "line": 120, + "line": 164, "column": 39 }, "end": { - "line": 120, + "line": 164, "column": 40 } }, @@ -4418,29 +6087,29 @@ }, "right": { "type": "MemberExpression", - "start": 3858, - "end": 3867, + "start": 5132, + "end": 5141, "loc": { "start": { - "line": 120, + "line": 164, "column": 44 }, "end": { - "line": 120, + "line": 164, "column": 53 } }, "object": { "type": "Identifier", - "start": 3858, - "end": 3864, + "start": 5132, + "end": 5138, "loc": { "start": { - "line": 120, + "line": 164, "column": 44 }, "end": { - "line": 120, + "line": 164, "column": 50 }, "identifierName": "pState" @@ -4449,15 +6118,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3865, - "end": 3866, + "start": 5139, + "end": 5140, "loc": { "start": { - "line": 120, + "line": 164, "column": 51 }, "end": { - "line": 120, + "line": 164, "column": 52 } }, @@ -4475,15 +6144,15 @@ { "type": "CommentLine", "value": " iconDataURL", - "start": 3798, - "end": 3812, + "start": 5072, + "end": 5086, "loc": { "start": { - "line": 119, + "line": 163, "column": 20 }, "end": { - "line": 119, + "line": 163, "column": 34 } } @@ -4493,15 +6162,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 3890, - "end": 3904, + "start": 5164, + "end": 5178, "loc": { "start": { - "line": 121, + "line": 165, "column": 20 }, "end": { - "line": 121, + "line": 165, "column": 34 } } @@ -4510,58 +6179,58 @@ }, { "type": "ExpressionStatement", - "start": 3926, - "end": 3960, + "start": 5200, + "end": 5234, "loc": { "start": { - "line": 122, + "line": 166, "column": 20 }, "end": { - "line": 122, + "line": 166, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 3926, - "end": 3959, + "start": 5200, + "end": 5233, "loc": { "start": { - "line": 122, + "line": 166, "column": 20 }, "end": { - "line": 122, + "line": 166, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3926, - "end": 3947, + "start": 5200, + "end": 5221, "loc": { "start": { - "line": 122, + "line": 166, "column": 20 }, "end": { - "line": 122, + "line": 166, "column": 41 } }, "object": { "type": "Identifier", - "start": 3926, - "end": 3944, + "start": 5200, + "end": 5218, "loc": { "start": { - "line": 122, + "line": 166, "column": 20 }, "end": { - "line": 122, + "line": 166, "column": 38 }, "identifierName": "aggregatedIconData" @@ -4571,15 +6240,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3945, - "end": 3946, + "start": 5219, + "end": 5220, "loc": { "start": { - "line": 122, + "line": 166, "column": 39 }, "end": { - "line": 122, + "line": 166, "column": 40 } }, @@ -4594,29 +6263,29 @@ }, "right": { "type": "MemberExpression", - "start": 3950, - "end": 3959, + "start": 5224, + "end": 5233, "loc": { "start": { - "line": 122, + "line": 166, "column": 44 }, "end": { - "line": 122, + "line": 166, "column": 53 } }, "object": { "type": "Identifier", - "start": 3950, - "end": 3956, + "start": 5224, + "end": 5230, "loc": { "start": { - "line": 122, + "line": 166, "column": 44 }, "end": { - "line": 122, + "line": 166, "column": 50 }, "identifierName": "pState" @@ -4625,15 +6294,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3957, - "end": 3958, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 122, + "line": 166, "column": 51 }, "end": { - "line": 122, + "line": 166, "column": 52 } }, @@ -4651,15 +6320,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 3890, - "end": 3904, + "start": 5164, + "end": 5178, "loc": { "start": { - "line": 121, + "line": 165, "column": 20 }, "end": { - "line": 121, + "line": 165, "column": 34 } } @@ -4668,72 +6337,72 @@ }, { "type": "ExpressionStatement", - "start": 3982, - "end": 4016, + "start": 5256, + "end": 5290, "loc": { "start": { - "line": 123, + "line": 167, "column": 20 }, "end": { - "line": 123, + "line": 167, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 3982, - "end": 4015, + "start": 5256, + "end": 5289, "loc": { "start": { - "line": 123, + "line": 167, "column": 20 }, "end": { - "line": 123, + "line": 167, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 3982, - "end": 3995, + "start": 5256, + "end": 5269, "loc": { "start": { - "line": 123, + "line": 167, "column": 20 }, "end": { - "line": 123, + "line": 167, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 3982, - "end": 3986, + "start": 5256, + "end": 5260, "loc": { "start": { - "line": 123, + "line": 167, "column": 20 }, "end": { - "line": 123, + "line": 167, "column": 24 } } }, "property": { "type": "Identifier", - "start": 3987, - "end": 3995, + "start": 5261, + "end": 5269, "loc": { "start": { - "line": 123, + "line": 167, "column": 25 }, "end": { - "line": 123, + "line": 167, "column": 33 }, "identifierName": "addState" @@ -4745,15 +6414,15 @@ "arguments": [ { "type": "Identifier", - "start": 3996, - "end": 4014, + "start": 5270, + "end": 5288, "loc": { "start": { - "line": 123, + "line": 167, "column": 34 }, "end": { - "line": 123, + "line": 167, "column": 52 }, "identifierName": "aggregatedIconData" @@ -4778,15 +6447,15 @@ { "type": "CommentLine", "value": " If the state array has data then we need to store it.", - "start": 2906, - "end": 2962, + "start": 4180, + "end": 4236, "loc": { "start": { - "line": 105, + "line": 149, "column": 12 }, "end": { - "line": 105, + "line": 149, "column": 68 } } @@ -4801,15 +6470,15 @@ { "type": "CommentLine", "value": " Check if the states data is an array", - "start": 2811, - "end": 2850, + "start": 4085, + "end": 4124, "loc": { "start": { - "line": 103, + "line": 147, "column": 8 }, "end": { - "line": 103, + "line": 147, "column": 47 } } @@ -4824,15 +6493,15 @@ { "type": "CommentBlock", "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 1575, - "end": 1752, + "start": 2849, + "end": 3026, "loc": { "start": { - "line": 70, + "line": 114, "column": 4 }, "end": { - "line": 74, + "line": 118, "column": 7 } } @@ -4842,15 +6511,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4076, - "end": 4284, + "start": 5350, + "end": 5558, "loc": { "start": { - "line": 128, + "line": 172, "column": 4 }, "end": { - "line": 133, + "line": 177, "column": 7 } } @@ -4859,15 +6528,15 @@ }, { "type": "ClassMethod", - "start": 4290, - "end": 4504, + "start": 5564, + "end": 5778, "loc": { "start": { - "line": 134, + "line": 178, "column": 4 }, "end": { - "line": 141, + "line": 185, "column": 5 } }, @@ -4875,15 +6544,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4290, - "end": 4297, + "start": 5564, + "end": 5571, "loc": { "start": { - "line": 134, + "line": 178, "column": 4 }, "end": { - "line": 134, + "line": 178, "column": 11 }, "identifierName": "setSize" @@ -4899,15 +6568,15 @@ "params": [ { "type": "Identifier", - "start": 4298, - "end": 4304, + "start": 5572, + "end": 5578, "loc": { "start": { - "line": 134, + "line": 178, "column": 12 }, "end": { - "line": 134, + "line": 178, "column": 18 }, "identifierName": "pWidth" @@ -4916,15 +6585,15 @@ }, { "type": "Identifier", - "start": 4306, - "end": 4313, + "start": 5580, + "end": 5587, "loc": { "start": { - "line": 134, + "line": 178, "column": 20 }, "end": { - "line": 134, + "line": 178, "column": 27 }, "identifierName": "pHeight" @@ -4934,58 +6603,58 @@ ], "body": { "type": "BlockStatement", - "start": 4315, - "end": 4504, + "start": 5589, + "end": 5778, "loc": { "start": { - "line": 134, + "line": 178, "column": 29 }, "end": { - "line": 141, + "line": 185, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 4326, - "end": 4405, + "start": 5600, + "end": 5679, "loc": { "start": { - "line": 135, + "line": 179, "column": 8 }, "end": { - "line": 137, + "line": 181, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 4330, - "end": 4357, + "start": 5604, + "end": 5631, "loc": { "start": { - "line": 135, + "line": 179, "column": 12 }, "end": { - "line": 135, + "line": 179, "column": 39 } }, "left": { "type": "UnaryExpression", - "start": 4330, - "end": 4344, + "start": 5604, + "end": 5618, "loc": { "start": { - "line": 135, + "line": 179, "column": 12 }, "end": { - "line": 135, + "line": 179, "column": 26 } }, @@ -4993,15 +6662,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4337, - "end": 4343, + "start": 5611, + "end": 5617, "loc": { "start": { - "line": 135, + "line": 179, "column": 19 }, "end": { - "line": 135, + "line": 179, "column": 25 }, "identifierName": "pWidth" @@ -5009,7 +6678,7 @@ "name": "pWidth", "extra": { "parenthesized": true, - "parenStart": 4336 + "parenStart": 5610 } }, "extra": { @@ -5019,15 +6688,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4349, - "end": 4357, + "start": 5623, + "end": 5631, "loc": { "start": { - "line": 135, + "line": 179, "column": 31 }, "end": { - "line": 135, + "line": 179, "column": 39 } }, @@ -5040,88 +6709,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 4359, - "end": 4405, + "start": 5633, + "end": 5679, "loc": { "start": { - "line": 135, + "line": 179, "column": 41 }, "end": { - "line": 137, + "line": 181, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 4374, - "end": 4394, + "start": 5648, + "end": 5668, "loc": { "start": { - "line": 136, + "line": 180, "column": 12 }, "end": { - "line": 136, + "line": 180, "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 4374, - "end": 4393, + "start": 5648, + "end": 5667, "loc": { "start": { - "line": 136, + "line": 180, "column": 12 }, "end": { - "line": 136, + "line": 180, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4374, - "end": 4384, + "start": 5648, + "end": 5658, "loc": { "start": { - "line": 136, + "line": 180, "column": 12 }, "end": { - "line": 136, + "line": 180, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 4374, - "end": 4378, + "start": 5648, + "end": 5652, "loc": { "start": { - "line": 136, + "line": 180, "column": 12 }, "end": { - "line": 136, + "line": 180, "column": 16 } } }, "property": { "type": "Identifier", - "start": 4379, - "end": 4384, + "start": 5653, + "end": 5658, "loc": { "start": { - "line": 136, + "line": 180, "column": 17 }, "end": { - "line": 136, + "line": 180, "column": 22 }, "identifierName": "width" @@ -5132,15 +6801,15 @@ }, "right": { "type": "Identifier", - "start": 4387, - "end": 4393, + "start": 5661, + "end": 5667, "loc": { "start": { - "line": 136, + "line": 180, "column": 25 }, "end": { - "line": 136, + "line": 180, "column": 31 }, "identifierName": "pWidth" @@ -5156,43 +6825,43 @@ }, { "type": "IfStatement", - "start": 4415, - "end": 4497, + "start": 5689, + "end": 5771, "loc": { "start": { - "line": 138, + "line": 182, "column": 8 }, "end": { - "line": 140, + "line": 184, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 4419, - "end": 4447, + "start": 5693, + "end": 5721, "loc": { "start": { - "line": 138, + "line": 182, "column": 12 }, "end": { - "line": 138, + "line": 182, "column": 40 } }, "left": { "type": "UnaryExpression", - "start": 4419, - "end": 4434, + "start": 5693, + "end": 5708, "loc": { "start": { - "line": 138, + "line": 182, "column": 12 }, "end": { - "line": 138, + "line": 182, "column": 27 } }, @@ -5200,15 +6869,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4426, - "end": 4433, + "start": 5700, + "end": 5707, "loc": { "start": { - "line": 138, + "line": 182, "column": 19 }, "end": { - "line": 138, + "line": 182, "column": 26 }, "identifierName": "pHeight" @@ -5216,7 +6885,7 @@ "name": "pHeight", "extra": { "parenthesized": true, - "parenStart": 4425 + "parenStart": 5699 } }, "extra": { @@ -5226,15 +6895,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 4439, - "end": 4447, + "start": 5713, + "end": 5721, "loc": { "start": { - "line": 138, + "line": 182, "column": 32 }, "end": { - "line": 138, + "line": 182, "column": 40 } }, @@ -5247,88 +6916,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 4449, - "end": 4497, + "start": 5723, + "end": 5771, "loc": { "start": { - "line": 138, + "line": 182, "column": 42 }, "end": { - "line": 140, + "line": 184, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 4464, - "end": 4486, + "start": 5738, + "end": 5760, "loc": { "start": { - "line": 139, + "line": 183, "column": 12 }, "end": { - "line": 139, + "line": 183, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 4464, - "end": 4485, + "start": 5738, + "end": 5759, "loc": { "start": { - "line": 139, + "line": 183, "column": 12 }, "end": { - "line": 139, + "line": 183, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4464, - "end": 4475, + "start": 5738, + "end": 5749, "loc": { "start": { - "line": 139, + "line": 183, "column": 12 }, "end": { - "line": 139, + "line": 183, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 4464, - "end": 4468, + "start": 5738, + "end": 5742, "loc": { "start": { - "line": 139, + "line": 183, "column": 12 }, "end": { - "line": 139, + "line": 183, "column": 16 } } }, "property": { "type": "Identifier", - "start": 4469, - "end": 4475, + "start": 5743, + "end": 5749, "loc": { "start": { - "line": 139, + "line": 183, "column": 17 }, "end": { - "line": 139, + "line": 183, "column": 23 }, "identifierName": "height" @@ -5339,15 +7008,15 @@ }, "right": { "type": "Identifier", - "start": 4478, - "end": 4485, + "start": 5752, + "end": 5759, "loc": { "start": { - "line": 139, + "line": 183, "column": 26 }, "end": { - "line": 139, + "line": 183, "column": 33 }, "identifierName": "pHeight" @@ -5369,15 +7038,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4076, - "end": 4284, + "start": 5350, + "end": 5558, "loc": { "start": { - "line": 128, + "line": 172, "column": 4 }, "end": { - "line": 133, + "line": 177, "column": 7 } } @@ -5387,15 +7056,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 4510, - "end": 4661, + "start": 5784, + "end": 5935, "loc": { "start": { - "line": 142, + "line": 186, "column": 4 }, "end": { - "line": 145, + "line": 189, "column": 7 } } @@ -5404,15 +7073,15 @@ }, { "type": "ClassMethod", - "start": 4667, - "end": 4745, + "start": 5941, + "end": 6019, "loc": { "start": { - "line": 146, + "line": 190, "column": 4 }, "end": { - "line": 148, + "line": 192, "column": 5 } }, @@ -5420,15 +7089,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4667, - "end": 4674, + "start": 5941, + "end": 5948, "loc": { "start": { - "line": 146, + "line": 190, "column": 4 }, "end": { - "line": 146, + "line": 190, "column": 11 }, "identifierName": "getSize" @@ -5444,59 +7113,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4677, - "end": 4745, + "start": 5951, + "end": 6019, "loc": { "start": { - "line": 146, + "line": 190, "column": 14 }, "end": { - "line": 148, + "line": 192, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 4688, - "end": 4738, + "start": 5962, + "end": 6012, "loc": { "start": { - "line": 147, + "line": 191, "column": 8 }, "end": { - "line": 147, + "line": 191, "column": 58 } }, "argument": { "type": "ObjectExpression", - "start": 4695, - "end": 4737, + "start": 5969, + "end": 6011, "loc": { "start": { - "line": 147, + "line": 191, "column": 15 }, "end": { - "line": 147, + "line": 191, "column": 57 } }, "properties": [ { "type": "ObjectProperty", - "start": 4697, - "end": 4714, + "start": 5971, + "end": 5988, "loc": { "start": { - "line": 147, + "line": 191, "column": 17 }, "end": { - "line": 147, + "line": 191, "column": 34 } }, @@ -5505,15 +7174,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4697, - "end": 4702, + "start": 5971, + "end": 5976, "loc": { "start": { - "line": 147, + "line": 191, "column": 17 }, "end": { - "line": 147, + "line": 191, "column": 22 }, "identifierName": "width" @@ -5522,44 +7191,44 @@ }, "value": { "type": "MemberExpression", - "start": 4704, - "end": 4714, + "start": 5978, + "end": 5988, "loc": { "start": { - "line": 147, + "line": 191, "column": 24 }, "end": { - "line": 147, + "line": 191, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 4704, - "end": 4708, + "start": 5978, + "end": 5982, "loc": { "start": { - "line": 147, + "line": 191, "column": 24 }, "end": { - "line": 147, + "line": 191, "column": 28 } } }, "property": { "type": "Identifier", - "start": 4709, - "end": 4714, + "start": 5983, + "end": 5988, "loc": { "start": { - "line": 147, + "line": 191, "column": 29 }, "end": { - "line": 147, + "line": 191, "column": 34 }, "identifierName": "width" @@ -5571,15 +7240,15 @@ }, { "type": "ObjectProperty", - "start": 4716, - "end": 4735, + "start": 5990, + "end": 6009, "loc": { "start": { - "line": 147, + "line": 191, "column": 36 }, "end": { - "line": 147, + "line": 191, "column": 55 } }, @@ -5588,15 +7257,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4716, - "end": 4722, + "start": 5990, + "end": 5996, "loc": { "start": { - "line": 147, + "line": 191, "column": 36 }, "end": { - "line": 147, + "line": 191, "column": 42 }, "identifierName": "height" @@ -5605,44 +7274,44 @@ }, "value": { "type": "MemberExpression", - "start": 4724, - "end": 4735, + "start": 5998, + "end": 6009, "loc": { "start": { - "line": 147, + "line": 191, "column": 44 }, "end": { - "line": 147, + "line": 191, "column": 55 } }, "object": { "type": "ThisExpression", - "start": 4724, - "end": 4728, + "start": 5998, + "end": 6002, "loc": { "start": { - "line": 147, + "line": 191, "column": 44 }, "end": { - "line": 147, + "line": 191, "column": 48 } } }, "property": { "type": "Identifier", - "start": 4729, - "end": 4735, + "start": 6003, + "end": 6009, "loc": { "start": { - "line": 147, + "line": 191, "column": 49 }, "end": { - "line": 147, + "line": 191, "column": 55 }, "identifierName": "height" @@ -5663,15 +7332,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 4510, - "end": 4661, + "start": 5784, + "end": 5935, "loc": { "start": { - "line": 142, + "line": 186, "column": 4 }, "end": { - "line": 145, + "line": 189, "column": 7 } } @@ -5681,15 +7350,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4751, - "end": 4914, + "start": 6025, + "end": 6188, "loc": { "start": { - "line": 149, + "line": 193, "column": 4 }, "end": { - "line": 153, + "line": 197, "column": 7 } } @@ -5698,15 +7367,15 @@ }, { "type": "ClassMethod", - "start": 4920, - "end": 5218, + "start": 6194, + "end": 6492, "loc": { "start": { - "line": 154, + "line": 198, "column": 4 }, "end": { - "line": 163, + "line": 207, "column": 5 } }, @@ -5714,15 +7383,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4920, - "end": 4930, + "start": 6194, + "end": 6204, "loc": { "start": { - "line": 154, + "line": 198, "column": 4 }, "end": { - "line": 154, + "line": 198, "column": 14 }, "identifierName": "setDataURL" @@ -5738,15 +7407,15 @@ "params": [ { "type": "Identifier", - "start": 4931, - "end": 4939, + "start": 6205, + "end": 6213, "loc": { "start": { - "line": 154, + "line": 198, "column": 15 }, "end": { - "line": 154, + "line": 198, "column": 23 }, "identifierName": "pDataURL" @@ -5756,44 +7425,44 @@ ], "body": { "type": "BlockStatement", - "start": 4941, - "end": 5218, + "start": 6215, + "end": 6492, "loc": { "start": { - "line": 154, + "line": 198, "column": 25 }, "end": { - "line": 163, + "line": 207, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 4952, - "end": 5189, + "start": 6226, + "end": 6463, "loc": { "start": { - "line": 155, + "line": 199, "column": 8 }, "end": { - "line": 161, + "line": 205, "column": 9 } }, "test": { "type": "Identifier", - "start": 4956, - "end": 4964, + "start": 6230, + "end": 6238, "loc": { "start": { - "line": 155, + "line": 199, "column": 12 }, "end": { - "line": 155, + "line": 199, "column": 20 }, "identifierName": "pDataURL" @@ -5802,58 +7471,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 4966, - "end": 5189, + "start": 6240, + "end": 6463, "loc": { "start": { - "line": 155, + "line": 199, "column": 22 }, "end": { - "line": 161, + "line": 205, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 4981, - "end": 5178, + "start": 6255, + "end": 6452, "loc": { "start": { - "line": 156, + "line": 200, "column": 12 }, "end": { - "line": 160, + "line": 204, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 4985, - "end": 5014, + "start": 6259, + "end": 6288, "loc": { "start": { - "line": 156, + "line": 200, "column": 16 }, "end": { - "line": 156, + "line": 200, "column": 45 } }, "left": { "type": "UnaryExpression", - "start": 4985, - "end": 5001, + "start": 6259, + "end": 6275, "loc": { "start": { - "line": 156, + "line": 200, "column": 16 }, "end": { - "line": 156, + "line": 200, "column": 32 } }, @@ -5861,15 +7530,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4992, - "end": 5000, + "start": 6266, + "end": 6274, "loc": { "start": { - "line": 156, + "line": 200, "column": 23 }, "end": { - "line": 156, + "line": 200, "column": 31 }, "identifierName": "pDataURL" @@ -5877,7 +7546,7 @@ "name": "pDataURL", "extra": { "parenthesized": true, - "parenStart": 4991 + "parenStart": 6265 } }, "extra": { @@ -5887,15 +7556,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5006, - "end": 5014, + "start": 6280, + "end": 6288, "loc": { "start": { - "line": 156, + "line": 200, "column": 37 }, "end": { - "line": 156, + "line": 200, "column": 45 } }, @@ -5908,88 +7577,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 5016, - "end": 5074, + "start": 6290, + "end": 6348, "loc": { "start": { - "line": 156, + "line": 200, "column": 47 }, "end": { - "line": 158, + "line": 202, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 5035, - "end": 5059, + "start": 6309, + "end": 6333, "loc": { "start": { - "line": 157, + "line": 201, "column": 16 }, "end": { - "line": 157, + "line": 201, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 5035, - "end": 5058, + "start": 6309, + "end": 6332, "loc": { "start": { - "line": 157, + "line": 201, "column": 16 }, "end": { - "line": 157, + "line": 201, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5035, - "end": 5047, + "start": 6309, + "end": 6321, "loc": { "start": { - "line": 157, + "line": 201, "column": 16 }, "end": { - "line": 157, + "line": 201, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 5035, - "end": 5039, + "start": 6309, + "end": 6313, "loc": { "start": { - "line": 157, + "line": 201, "column": 16 }, "end": { - "line": 157, + "line": 201, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5040, - "end": 5047, + "start": 6314, + "end": 6321, "loc": { "start": { - "line": 157, + "line": 201, "column": 21 }, "end": { - "line": 157, + "line": 201, "column": 28 }, "identifierName": "dataURL" @@ -6000,15 +7669,15 @@ }, "right": { "type": "Identifier", - "start": 5050, - "end": 5058, + "start": 6324, + "end": 6332, "loc": { "start": { - "line": 157, + "line": 201, "column": 31 }, "end": { - "line": 157, + "line": 201, "column": 39 }, "identifierName": "pDataURL" @@ -6022,114 +7691,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 5080, - "end": 5178, + "start": 6354, + "end": 6452, "loc": { "start": { - "line": 158, + "line": 202, "column": 19 }, "end": { - "line": 160, + "line": 204, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 5099, - "end": 5163, + "start": 6373, + "end": 6437, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 80 } }, "expression": { "type": "CallExpression", - "start": 5099, - "end": 5162, + "start": 6373, + "end": 6436, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 5099, - "end": 5136, + "start": 6373, + "end": 6410, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 53 } }, "object": { "type": "CallExpression", - "start": 5099, - "end": 5130, + "start": 6373, + "end": 6404, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 5099, - "end": 5116, + "start": 6373, + "end": 6390, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 5099, - "end": 5109, + "start": 6373, + "end": 6383, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 26 } }, "object": { "type": "Identifier", - "start": 5099, - "end": 5102, + "start": 6373, + "end": 6376, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 19 }, "identifierName": "VYI" @@ -6138,15 +7807,15 @@ }, "property": { "type": "Identifier", - "start": 5103, - "end": 5109, + "start": 6377, + "end": 6383, "loc": { "start": { - "line": 159, + "line": 203, "column": 20 }, "end": { - "line": 159, + "line": 203, "column": 26 }, "identifierName": "logger" @@ -6157,15 +7826,15 @@ }, "property": { "type": "Identifier", - "start": 5110, - "end": 5116, + "start": 6384, + "end": 6390, "loc": { "start": { - "line": 159, + "line": 203, "column": 27 }, "end": { - "line": 159, + "line": 203, "column": 33 }, "identifierName": "prefix" @@ -6177,15 +7846,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5117, - "end": 5129, + "start": 6391, + "end": 6403, "loc": { "start": { - "line": 159, + "line": 203, "column": 34 }, "end": { - "line": 159, + "line": 203, "column": 46 } }, @@ -6199,15 +7868,15 @@ }, "property": { "type": "Identifier", - "start": 5131, - "end": 5136, + "start": 6405, + "end": 6410, "loc": { "start": { - "line": 159, + "line": 203, "column": 48 }, "end": { - "line": 159, + "line": 203, "column": 53 }, "identifierName": "error" @@ -6219,15 +7888,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5137, - "end": 5161, + "start": 6411, + "end": 6435, "loc": { "start": { - "line": 159, + "line": 203, "column": 54 }, "end": { - "line": 159, + "line": 203, "column": 78 } }, @@ -6251,29 +7920,29 @@ }, { "type": "ReturnStatement", - "start": 5199, - "end": 5211, + "start": 6473, + "end": 6485, "loc": { "start": { - "line": 162, + "line": 206, "column": 8 }, "end": { - "line": 162, + "line": 206, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 5206, - "end": 5210, + "start": 6480, + "end": 6484, "loc": { "start": { - "line": 162, + "line": 206, "column": 15 }, "end": { - "line": 162, + "line": 206, "column": 19 } } @@ -6287,15 +7956,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4751, - "end": 4914, + "start": 6025, + "end": 6188, "loc": { "start": { - "line": 149, + "line": 193, "column": 4 }, "end": { - "line": 153, + "line": 197, "column": 7 } } @@ -6305,15 +7974,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 5224, - "end": 5336, + "start": 6498, + "end": 6610, "loc": { "start": { - "line": 164, + "line": 208, "column": 4 }, "end": { - "line": 167, + "line": 211, "column": 7 } } @@ -6322,15 +7991,15 @@ }, { "type": "ClassMethod", - "start": 5342, - "end": 5393, + "start": 6616, + "end": 6667, "loc": { "start": { - "line": 168, + "line": 212, "column": 4 }, "end": { - "line": 170, + "line": 214, "column": 5 } }, @@ -6338,15 +8007,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5342, - "end": 5352, + "start": 6616, + "end": 6626, "loc": { "start": { - "line": 168, + "line": 212, "column": 4 }, "end": { - "line": 168, + "line": 212, "column": 14 }, "identifierName": "getDataURL" @@ -6362,73 +8031,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5355, - "end": 5393, + "start": 6629, + "end": 6667, "loc": { "start": { - "line": 168, + "line": 212, "column": 17 }, "end": { - "line": 170, + "line": 214, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 5366, - "end": 5386, + "start": 6640, + "end": 6660, "loc": { "start": { - "line": 169, + "line": 213, "column": 8 }, "end": { - "line": 169, + "line": 213, "column": 28 } }, "argument": { "type": "MemberExpression", - "start": 5373, - "end": 5385, + "start": 6647, + "end": 6659, "loc": { "start": { - "line": 169, + "line": 213, "column": 15 }, "end": { - "line": 169, + "line": 213, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5373, - "end": 5377, + "start": 6647, + "end": 6651, "loc": { "start": { - "line": 169, + "line": 213, "column": 15 }, "end": { - "line": 169, + "line": 213, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5378, - "end": 5385, + "start": 6652, + "end": 6659, "loc": { "start": { - "line": 169, + "line": 213, "column": 20 }, "end": { - "line": 169, + "line": 213, "column": 27 }, "identifierName": "dataURL" @@ -6446,15 +8115,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 5224, - "end": 5336, + "start": 6498, + "end": 6610, "loc": { "start": { - "line": 164, + "line": 208, "column": 4 }, "end": { - "line": 167, + "line": 211, "column": 7 } } @@ -6464,15 +8133,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5399, - "end": 5563, + "start": 6673, + "end": 6837, "loc": { "start": { - "line": 171, + "line": 215, "column": 4 }, "end": { - "line": 175, + "line": 219, "column": 7 } } @@ -6481,15 +8150,15 @@ }, { "type": "ClassMethod", - "start": 5569, - "end": 5852, + "start": 6843, + "end": 7126, "loc": { "start": { - "line": 176, + "line": 220, "column": 4 }, "end": { - "line": 185, + "line": 229, "column": 5 } }, @@ -6497,15 +8166,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5569, - "end": 5577, + "start": 6843, + "end": 6851, "loc": { "start": { - "line": 176, + "line": 220, "column": 4 }, "end": { - "line": 176, + "line": 220, "column": 12 }, "identifierName": "setDelay" @@ -6521,15 +8190,15 @@ "params": [ { "type": "Identifier", - "start": 5578, - "end": 5584, + "start": 6852, + "end": 6858, "loc": { "start": { - "line": 176, + "line": 220, "column": 13 }, "end": { - "line": 176, + "line": 220, "column": 19 }, "identifierName": "pDelay" @@ -6539,44 +8208,44 @@ ], "body": { "type": "BlockStatement", - "start": 5586, - "end": 5852, + "start": 6860, + "end": 7126, "loc": { "start": { - "line": 176, + "line": 220, "column": 21 }, "end": { - "line": 185, + "line": 229, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 5597, - "end": 5823, + "start": 6871, + "end": 7097, "loc": { "start": { - "line": 177, + "line": 221, "column": 8 }, "end": { - "line": 183, + "line": 227, "column": 9 } }, "test": { "type": "Identifier", - "start": 5601, - "end": 5607, + "start": 6875, + "end": 6881, "loc": { "start": { - "line": 177, + "line": 221, "column": 12 }, "end": { - "line": 177, + "line": 221, "column": 18 }, "identifierName": "pDelay" @@ -6585,58 +8254,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 5609, - "end": 5823, + "start": 6883, + "end": 7097, "loc": { "start": { - "line": 177, + "line": 221, "column": 20 }, "end": { - "line": 183, + "line": 227, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 5624, - "end": 5812, + "start": 6898, + "end": 7086, "loc": { "start": { - "line": 178, + "line": 222, "column": 12 }, "end": { - "line": 182, + "line": 226, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 5628, - "end": 5655, + "start": 6902, + "end": 6929, "loc": { "start": { - "line": 178, + "line": 222, "column": 16 }, "end": { - "line": 178, + "line": 222, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 5628, - "end": 5642, + "start": 6902, + "end": 6916, "loc": { "start": { - "line": 178, + "line": 222, "column": 16 }, "end": { - "line": 178, + "line": 222, "column": 30 } }, @@ -6644,15 +8313,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 5635, - "end": 5641, + "start": 6909, + "end": 6915, "loc": { "start": { - "line": 178, + "line": 222, "column": 23 }, "end": { - "line": 178, + "line": 222, "column": 29 }, "identifierName": "pDelay" @@ -6660,7 +8329,7 @@ "name": "pDelay", "extra": { "parenthesized": true, - "parenStart": 5634 + "parenStart": 6908 } }, "extra": { @@ -6670,15 +8339,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5647, - "end": 5655, + "start": 6921, + "end": 6929, "loc": { "start": { - "line": 178, + "line": 222, "column": 35 }, "end": { - "line": 178, + "line": 222, "column": 43 } }, @@ -6691,88 +8360,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 5657, - "end": 5711, + "start": 6931, + "end": 6985, "loc": { "start": { - "line": 178, + "line": 222, "column": 45 }, "end": { - "line": 180, + "line": 224, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 5676, - "end": 5696, + "start": 6950, + "end": 6970, "loc": { "start": { - "line": 179, + "line": 223, "column": 16 }, "end": { - "line": 179, + "line": 223, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 5676, - "end": 5695, + "start": 6950, + "end": 6969, "loc": { "start": { - "line": 179, + "line": 223, "column": 16 }, "end": { - "line": 179, + "line": 223, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5676, - "end": 5686, + "start": 6950, + "end": 6960, "loc": { "start": { - "line": 179, + "line": 223, "column": 16 }, "end": { - "line": 179, + "line": 223, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 5676, - "end": 5680, + "start": 6950, + "end": 6954, "loc": { "start": { - "line": 179, + "line": 223, "column": 16 }, "end": { - "line": 179, + "line": 223, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5681, - "end": 5686, + "start": 6955, + "end": 6960, "loc": { "start": { - "line": 179, + "line": 223, "column": 21 }, "end": { - "line": 179, + "line": 223, "column": 26 }, "identifierName": "delay" @@ -6783,15 +8452,15 @@ }, "right": { "type": "Identifier", - "start": 5689, - "end": 5695, + "start": 6963, + "end": 6969, "loc": { "start": { - "line": 179, + "line": 223, "column": 29 }, "end": { - "line": 179, + "line": 223, "column": 35 }, "identifierName": "pDelay" @@ -6805,114 +8474,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 5717, - "end": 5812, + "start": 6991, + "end": 7086, "loc": { "start": { - "line": 180, + "line": 224, "column": 19 }, "end": { - "line": 182, + "line": 226, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 5736, - "end": 5797, + "start": 7010, + "end": 7071, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 5736, - "end": 5796, + "start": 7010, + "end": 7070, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 5736, - "end": 5773, + "start": 7010, + "end": 7047, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 53 } }, "object": { "type": "CallExpression", - "start": 5736, - "end": 5767, + "start": 7010, + "end": 7041, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 5736, - "end": 5753, + "start": 7010, + "end": 7027, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 5736, - "end": 5746, + "start": 7010, + "end": 7020, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 26 } }, "object": { "type": "Identifier", - "start": 5736, - "end": 5739, + "start": 7010, + "end": 7013, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 19 }, "identifierName": "VYI" @@ -6921,15 +8590,15 @@ }, "property": { "type": "Identifier", - "start": 5740, - "end": 5746, + "start": 7014, + "end": 7020, "loc": { "start": { - "line": 181, + "line": 225, "column": 20 }, "end": { - "line": 181, + "line": 225, "column": 26 }, "identifierName": "logger" @@ -6940,15 +8609,15 @@ }, "property": { "type": "Identifier", - "start": 5747, - "end": 5753, + "start": 7021, + "end": 7027, "loc": { "start": { - "line": 181, + "line": 225, "column": 27 }, "end": { - "line": 181, + "line": 225, "column": 33 }, "identifierName": "prefix" @@ -6960,15 +8629,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5754, - "end": 5766, + "start": 7028, + "end": 7040, "loc": { "start": { - "line": 181, + "line": 225, "column": 34 }, "end": { - "line": 181, + "line": 225, "column": 46 } }, @@ -6982,15 +8651,15 @@ }, "property": { "type": "Identifier", - "start": 5768, - "end": 5773, + "start": 7042, + "end": 7047, "loc": { "start": { - "line": 181, + "line": 225, "column": 48 }, "end": { - "line": 181, + "line": 225, "column": 53 }, "identifierName": "error" @@ -7002,15 +8671,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5774, - "end": 5795, + "start": 7048, + "end": 7069, "loc": { "start": { - "line": 181, + "line": 225, "column": 54 }, "end": { - "line": 181, + "line": 225, "column": 75 } }, @@ -7034,29 +8703,29 @@ }, { "type": "ReturnStatement", - "start": 5833, - "end": 5845, + "start": 7107, + "end": 7119, "loc": { "start": { - "line": 184, + "line": 228, "column": 8 }, "end": { - "line": 184, + "line": 228, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 5840, - "end": 5844, + "start": 7114, + "end": 7118, "loc": { "start": { - "line": 184, + "line": 228, "column": 15 }, "end": { - "line": 184, + "line": 228, "column": 19 } } @@ -7070,15 +8739,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5399, - "end": 5563, + "start": 6673, + "end": 6837, "loc": { "start": { - "line": 171, + "line": 215, "column": 4 }, "end": { - "line": 175, + "line": 219, "column": 7 } } @@ -7088,15 +8757,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 5858, - "end": 5957, + "start": 7132, + "end": 7231, "loc": { "start": { - "line": 186, + "line": 230, "column": 4 }, "end": { - "line": 189, + "line": 233, "column": 7 } } @@ -7105,15 +8774,15 @@ }, { "type": "ClassMethod", - "start": 5963, - "end": 6010, + "start": 7237, + "end": 7284, "loc": { "start": { - "line": 190, + "line": 234, "column": 4 }, "end": { - "line": 192, + "line": 236, "column": 5 } }, @@ -7121,15 +8790,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5963, - "end": 5971, + "start": 7237, + "end": 7245, "loc": { "start": { - "line": 190, + "line": 234, "column": 4 }, "end": { - "line": 190, + "line": 234, "column": 12 }, "identifierName": "getDelay" @@ -7145,73 +8814,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5974, - "end": 6010, + "start": 7248, + "end": 7284, "loc": { "start": { - "line": 190, + "line": 234, "column": 15 }, "end": { - "line": 192, + "line": 236, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 5985, - "end": 6003, + "start": 7259, + "end": 7277, "loc": { "start": { - "line": 191, + "line": 235, "column": 8 }, "end": { - "line": 191, + "line": 235, "column": 26 } }, "argument": { "type": "MemberExpression", - "start": 5992, - "end": 6002, + "start": 7266, + "end": 7276, "loc": { "start": { - "line": 191, + "line": 235, "column": 15 }, "end": { - "line": 191, + "line": 235, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 5992, - "end": 5996, + "start": 7266, + "end": 7270, "loc": { "start": { - "line": 191, + "line": 235, "column": 15 }, "end": { - "line": 191, + "line": 235, "column": 19 } } }, "property": { "type": "Identifier", - "start": 5997, - "end": 6002, + "start": 7271, + "end": 7276, "loc": { "start": { - "line": 191, + "line": 235, "column": 20 }, "end": { - "line": 191, + "line": 235, "column": 25 }, "identifierName": "delay" @@ -7229,15 +8898,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 5858, - "end": 5957, + "start": 7132, + "end": 7231, "loc": { "start": { - "line": 186, + "line": 230, "column": 4 }, "end": { - "line": 189, + "line": 233, "column": 7 } } @@ -7247,15 +8916,15 @@ { "type": "CommentBlock", "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6016, - "end": 6169, + "start": 7290, + "end": 7443, "loc": { "start": { - "line": 193, + "line": 237, "column": 4 }, "end": { - "line": 197, + "line": 241, "column": 7 } } @@ -7264,15 +8933,15 @@ }, { "type": "ClassMethod", - "start": 6175, - "end": 6471, + "start": 7449, + "end": 7745, "loc": { "start": { - "line": 198, + "line": 242, "column": 4 }, "end": { - "line": 207, + "line": 251, "column": 5 } }, @@ -7280,15 +8949,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6175, - "end": 6181, + "start": 7449, + "end": 7455, "loc": { "start": { - "line": 198, + "line": 242, "column": 4 }, "end": { - "line": 198, + "line": 242, "column": 10 }, "identifierName": "rename" @@ -7304,15 +8973,15 @@ "params": [ { "type": "Identifier", - "start": 6182, - "end": 6187, + "start": 7456, + "end": 7461, "loc": { "start": { - "line": 198, + "line": 242, "column": 11 }, "end": { - "line": 198, + "line": 242, "column": 16 }, "identifierName": "pName" @@ -7322,58 +8991,58 @@ ], "body": { "type": "BlockStatement", - "start": 6189, - "end": 6471, + "start": 7463, + "end": 7745, "loc": { "start": { - "line": 198, + "line": 242, "column": 18 }, "end": { - "line": 207, + "line": 251, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 6200, - "end": 6442, + "start": 7474, + "end": 7716, "loc": { "start": { - "line": 199, + "line": 243, "column": 8 }, "end": { - "line": 205, + "line": 249, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 6204, - "end": 6225, + "start": 7478, + "end": 7499, "loc": { "start": { - "line": 199, + "line": 243, "column": 12 }, "end": { - "line": 199, + "line": 243, "column": 33 } }, "left": { "type": "Identifier", - "start": 6204, - "end": 6209, + "start": 7478, + "end": 7483, "loc": { "start": { - "line": 199, + "line": 243, "column": 12 }, "end": { - "line": 199, + "line": 243, "column": 17 }, "identifierName": "pName" @@ -7383,29 +9052,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 6213, - "end": 6225, + "start": 7487, + "end": 7499, "loc": { "start": { - "line": 199, + "line": 243, "column": 21 }, "end": { - "line": 199, + "line": 243, "column": 33 } }, "left": { "type": "Identifier", - "start": 6213, - "end": 6218, + "start": 7487, + "end": 7492, "loc": { "start": { - "line": 199, + "line": 243, "column": 21 }, "end": { - "line": 199, + "line": 243, "column": 26 }, "identifierName": "pName" @@ -7415,15 +9084,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 6223, - "end": 6225, + "start": 7497, + "end": 7499, "loc": { "start": { - "line": 199, + "line": 243, "column": 31 }, "end": { - "line": 199, + "line": 243, "column": 33 } }, @@ -7437,58 +9106,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 6227, - "end": 6442, + "start": 7501, + "end": 7716, "loc": { "start": { - "line": 199, + "line": 243, "column": 35 }, "end": { - "line": 205, + "line": 249, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 6242, - "end": 6431, + "start": 7516, + "end": 7705, "loc": { "start": { - "line": 200, + "line": 244, "column": 12 }, "end": { - "line": 204, + "line": 248, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 6246, - "end": 6272, + "start": 7520, + "end": 7546, "loc": { "start": { - "line": 200, + "line": 244, "column": 16 }, "end": { - "line": 200, + "line": 244, "column": 42 } }, "left": { "type": "UnaryExpression", - "start": 6246, - "end": 6259, + "start": 7520, + "end": 7533, "loc": { "start": { - "line": 200, + "line": 244, "column": 16 }, "end": { - "line": 200, + "line": 244, "column": 29 } }, @@ -7496,15 +9165,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6253, - "end": 6258, + "start": 7527, + "end": 7532, "loc": { "start": { - "line": 200, + "line": 244, "column": 23 }, "end": { - "line": 200, + "line": 244, "column": 28 }, "identifierName": "pName" @@ -7512,7 +9181,7 @@ "name": "pName", "extra": { "parenthesized": true, - "parenStart": 6252 + "parenStart": 7526 } }, "extra": { @@ -7522,15 +9191,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 6264, - "end": 6272, + "start": 7538, + "end": 7546, "loc": { "start": { - "line": 200, + "line": 244, "column": 34 }, "end": { - "line": 200, + "line": 244, "column": 42 } }, @@ -7543,88 +9212,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 6274, - "end": 6326, + "start": 7548, + "end": 7600, "loc": { "start": { - "line": 200, + "line": 244, "column": 44 }, "end": { - "line": 202, + "line": 246, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 6293, - "end": 6311, + "start": 7567, + "end": 7585, "loc": { "start": { - "line": 201, + "line": 245, "column": 16 }, "end": { - "line": 201, + "line": 245, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 6293, - "end": 6310, + "start": 7567, + "end": 7584, "loc": { "start": { - "line": 201, + "line": 245, "column": 16 }, "end": { - "line": 201, + "line": 245, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6293, - "end": 6302, + "start": 7567, + "end": 7576, "loc": { "start": { - "line": 201, + "line": 245, "column": 16 }, "end": { - "line": 201, + "line": 245, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 6293, - "end": 6297, + "start": 7567, + "end": 7571, "loc": { "start": { - "line": 201, + "line": 245, "column": 16 }, "end": { - "line": 201, + "line": 245, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6298, - "end": 6302, + "start": 7572, + "end": 7576, "loc": { "start": { - "line": 201, + "line": 245, "column": 21 }, "end": { - "line": 201, + "line": 245, "column": 25 }, "identifierName": "name" @@ -7635,15 +9304,15 @@ }, "right": { "type": "Identifier", - "start": 6305, - "end": 6310, + "start": 7579, + "end": 7584, "loc": { "start": { - "line": 201, + "line": 245, "column": 28 }, "end": { - "line": 201, + "line": 245, "column": 33 }, "identifierName": "pName" @@ -7657,114 +9326,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 6332, - "end": 6431, + "start": 7606, + "end": 7705, "loc": { "start": { - "line": 202, + "line": 246, "column": 19 }, "end": { - "line": 204, + "line": 248, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 6351, - "end": 6416, + "start": 7625, + "end": 7690, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 6351, - "end": 6415, + "start": 7625, + "end": 7689, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 6351, - "end": 6388, + "start": 7625, + "end": 7662, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 53 } }, "object": { "type": "CallExpression", - "start": 6351, - "end": 6382, + "start": 7625, + "end": 7656, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 6351, - "end": 6368, + "start": 7625, + "end": 7642, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 6351, - "end": 6361, + "start": 7625, + "end": 7635, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 26 } }, "object": { "type": "Identifier", - "start": 6351, - "end": 6354, + "start": 7625, + "end": 7628, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 19 }, "identifierName": "VYI" @@ -7773,15 +9442,15 @@ }, "property": { "type": "Identifier", - "start": 6355, - "end": 6361, + "start": 7629, + "end": 7635, "loc": { "start": { - "line": 203, + "line": 247, "column": 20 }, "end": { - "line": 203, + "line": 247, "column": 26 }, "identifierName": "logger" @@ -7792,15 +9461,15 @@ }, "property": { "type": "Identifier", - "start": 6362, - "end": 6368, + "start": 7636, + "end": 7642, "loc": { "start": { - "line": 203, + "line": 247, "column": 27 }, "end": { - "line": 203, + "line": 247, "column": 33 }, "identifierName": "prefix" @@ -7812,15 +9481,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6369, - "end": 6381, + "start": 7643, + "end": 7655, "loc": { "start": { - "line": 203, + "line": 247, "column": 34 }, "end": { - "line": 203, + "line": 247, "column": 46 } }, @@ -7834,15 +9503,15 @@ }, "property": { "type": "Identifier", - "start": 6383, - "end": 6388, + "start": 7657, + "end": 7662, "loc": { "start": { - "line": 203, + "line": 247, "column": 48 }, "end": { - "line": 203, + "line": 247, "column": 53 }, "identifierName": "error" @@ -7854,15 +9523,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 6389, - "end": 6414, + "start": 7663, + "end": 7688, "loc": { "start": { - "line": 203, + "line": 247, "column": 54 }, "end": { - "line": 203, + "line": 247, "column": 79 } }, @@ -7886,29 +9555,29 @@ }, { "type": "ReturnStatement", - "start": 6452, - "end": 6464, + "start": 7726, + "end": 7738, "loc": { "start": { - "line": 206, + "line": 250, "column": 8 }, "end": { - "line": 206, + "line": 250, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 6459, - "end": 6463, + "start": 7733, + "end": 7737, "loc": { "start": { - "line": 206, + "line": 250, "column": 15 }, "end": { - "line": 206, + "line": 250, "column": 19 } } @@ -7922,15 +9591,15 @@ { "type": "CommentBlock", "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6016, - "end": 6169, + "start": 7290, + "end": 7443, "loc": { "start": { - "line": 193, + "line": 237, "column": 4 }, "end": { - "line": 197, + "line": 241, "column": 7 } } @@ -7940,15 +9609,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 6477, - "end": 6577, + "start": 7751, + "end": 7851, "loc": { "start": { - "line": 208, + "line": 252, "column": 4 }, "end": { - "line": 211, + "line": 255, "column": 7 } } @@ -7957,15 +9626,15 @@ }, { "type": "ClassMethod", - "start": 6583, - "end": 6628, + "start": 7857, + "end": 7902, "loc": { "start": { - "line": 212, + "line": 256, "column": 4 }, "end": { - "line": 214, + "line": 258, "column": 5 } }, @@ -7973,15 +9642,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6583, - "end": 6590, + "start": 7857, + "end": 7864, "loc": { "start": { - "line": 212, + "line": 256, "column": 4 }, "end": { - "line": 212, + "line": 256, "column": 11 }, "identifierName": "getName" @@ -7997,73 +9666,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 6593, - "end": 6628, + "start": 7867, + "end": 7902, "loc": { "start": { - "line": 212, + "line": 256, "column": 14 }, "end": { - "line": 214, + "line": 258, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 6604, - "end": 6621, + "start": 7878, + "end": 7895, "loc": { "start": { - "line": 213, + "line": 257, "column": 8 }, "end": { - "line": 213, + "line": 257, "column": 25 } }, "argument": { "type": "MemberExpression", - "start": 6611, - "end": 6620, + "start": 7885, + "end": 7894, "loc": { "start": { - "line": 213, + "line": 257, "column": 15 }, "end": { - "line": 213, + "line": 257, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 6611, - "end": 6615, + "start": 7885, + "end": 7889, "loc": { "start": { - "line": 213, + "line": 257, "column": 15 }, "end": { - "line": 213, + "line": 257, "column": 19 } } }, "property": { "type": "Identifier", - "start": 6616, - "end": 6620, + "start": 7890, + "end": 7894, "loc": { "start": { - "line": 213, + "line": 257, "column": 20 }, "end": { - "line": 213, + "line": 257, "column": 24 }, "identifierName": "name" @@ -8081,15 +9750,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 6477, - "end": 6577, + "start": 7751, + "end": 7851, "loc": { "start": { - "line": 208, + "line": 252, "column": 4 }, "end": { - "line": 211, + "line": 255, "column": 7 } } @@ -8099,15 +9768,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6634, - "end": 6825, + "start": 7908, + "end": 8099, "loc": { "start": { - "line": 215, + "line": 259, "column": 4 }, "end": { - "line": 219, + "line": 263, "column": 7 } } @@ -8116,15 +9785,15 @@ }, { "type": "ClassMethod", - "start": 6831, - "end": 7248, + "start": 8105, + "end": 8522, "loc": { "start": { - "line": 220, + "line": 264, "column": 4 }, "end": { - "line": 232, + "line": 276, "column": 5 } }, @@ -8132,15 +9801,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6831, - "end": 6848, + "start": 8105, + "end": 8122, "loc": { "start": { - "line": 220, + "line": 264, "column": 4 }, "end": { - "line": 220, + "line": 264, "column": 21 }, "identifierName": "setAllFrameDelays" @@ -8156,15 +9825,15 @@ "params": [ { "type": "Identifier", - "start": 6849, - "end": 6855, + "start": 8123, + "end": 8129, "loc": { "start": { - "line": 220, + "line": 264, "column": 22 }, "end": { - "line": 220, + "line": 264, "column": 28 }, "identifierName": "pDelay" @@ -8174,44 +9843,44 @@ ], "body": { "type": "BlockStatement", - "start": 6857, - "end": 7248, + "start": 8131, + "end": 8522, "loc": { "start": { - "line": 220, + "line": 264, "column": 30 }, "end": { - "line": 232, + "line": 276, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 6868, - "end": 7219, + "start": 8142, + "end": 8493, "loc": { "start": { - "line": 221, + "line": 265, "column": 8 }, "end": { - "line": 230, + "line": 274, "column": 9 } }, "test": { "type": "Identifier", - "start": 6872, - "end": 6878, + "start": 8146, + "end": 8152, "loc": { "start": { - "line": 221, + "line": 265, "column": 12 }, "end": { - "line": 221, + "line": 265, "column": 18 }, "identifierName": "pDelay" @@ -8220,58 +9889,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 6880, - "end": 7219, + "start": 8154, + "end": 8493, "loc": { "start": { - "line": 221, + "line": 265, "column": 20 }, "end": { - "line": 230, + "line": 274, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 6895, - "end": 7208, + "start": 8169, + "end": 8482, "loc": { "start": { - "line": 222, + "line": 266, "column": 12 }, "end": { - "line": 229, + "line": 273, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 6899, - "end": 6926, + "start": 8173, + "end": 8200, "loc": { "start": { - "line": 222, + "line": 266, "column": 16 }, "end": { - "line": 222, + "line": 266, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 6899, - "end": 6913, + "start": 8173, + "end": 8187, "loc": { "start": { - "line": 222, + "line": 266, "column": 16 }, "end": { - "line": 222, + "line": 266, "column": 30 } }, @@ -8279,15 +9948,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6906, - "end": 6912, + "start": 8180, + "end": 8186, "loc": { "start": { - "line": 222, + "line": 266, "column": 23 }, "end": { - "line": 222, + "line": 266, "column": 29 }, "identifierName": "pDelay" @@ -8295,7 +9964,7 @@ "name": "pDelay", "extra": { "parenthesized": true, - "parenStart": 6905 + "parenStart": 8179 } }, "extra": { @@ -8305,15 +9974,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 6918, - "end": 6926, + "start": 8192, + "end": 8200, "loc": { "start": { - "line": 222, + "line": 266, "column": 35 }, "end": { - "line": 222, + "line": 266, "column": 43 } }, @@ -8326,87 +9995,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 6928, - "end": 7102, + "start": 8202, + "end": 8376, "loc": { "start": { - "line": 222, + "line": 266, "column": 45 }, "end": { - "line": 227, + "line": 271, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 6947, - "end": 6969, + "start": 8221, + "end": 8243, "loc": { "start": { - "line": 223, + "line": 267, "column": 16 }, "end": { - "line": 223, + "line": 267, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 6947, - "end": 6968, + "start": 8221, + "end": 8242, "loc": { "start": { - "line": 223, + "line": 267, "column": 16 }, "end": { - "line": 223, + "line": 267, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 6947, - "end": 6960, + "start": 8221, + "end": 8234, "loc": { "start": { - "line": 223, + "line": 267, "column": 16 }, "end": { - "line": 223, + "line": 267, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 6947, - "end": 6951, + "start": 8221, + "end": 8225, "loc": { "start": { - "line": 223, + "line": 267, "column": 16 }, "end": { - "line": 223, + "line": 267, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6952, - "end": 6960, + "start": 8226, + "end": 8234, "loc": { "start": { - "line": 223, + "line": 267, "column": 21 }, "end": { - "line": 223, + "line": 267, "column": 29 }, "identifierName": "setDelay" @@ -8418,15 +10087,15 @@ "arguments": [ { "type": "Identifier", - "start": 6961, - "end": 6967, + "start": 8235, + "end": 8241, "loc": { "start": { - "line": 223, + "line": 267, "column": 30 }, "end": { - "line": 223, + "line": 267, "column": 36 }, "identifierName": "pDelay" @@ -8438,86 +10107,86 @@ }, { "type": "ExpressionStatement", - "start": 6987, - "end": 7087, + "start": 8261, + "end": 8361, "loc": { "start": { - "line": 224, + "line": 268, "column": 16 }, "end": { - "line": 226, + "line": 270, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 6987, - "end": 7086, + "start": 8261, + "end": 8360, "loc": { "start": { - "line": 224, + "line": 268, "column": 16 }, "end": { - "line": 226, + "line": 270, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 6987, - "end": 7006, + "start": 8261, + "end": 8280, "loc": { "start": { - "line": 224, + "line": 268, "column": 16 }, "end": { - "line": 224, + "line": 268, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 6987, - "end": 6998, + "start": 8261, + "end": 8272, "loc": { "start": { - "line": 224, + "line": 268, "column": 16 }, "end": { - "line": 224, + "line": 268, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 6987, - "end": 6991, + "start": 8261, + "end": 8265, "loc": { "start": { - "line": 224, + "line": 268, "column": 16 }, "end": { - "line": 224, + "line": 268, "column": 20 } } }, "property": { "type": "Identifier", - "start": 6992, - "end": 6998, + "start": 8266, + "end": 8272, "loc": { "start": { - "line": 224, + "line": 268, "column": 21 }, "end": { - "line": 224, + "line": 268, "column": 27 }, "identifierName": "frames" @@ -8528,15 +10197,15 @@ }, "property": { "type": "Identifier", - "start": 6999, - "end": 7006, + "start": 8273, + "end": 8280, "loc": { "start": { - "line": 224, + "line": 268, "column": 28 }, "end": { - "line": 224, + "line": 268, "column": 35 }, "identifierName": "forEach" @@ -8548,15 +10217,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 7007, - "end": 7085, + "start": 8281, + "end": 8359, "loc": { "start": { - "line": 224, + "line": 268, "column": 36 }, "end": { - "line": 226, + "line": 270, "column": 17 } }, @@ -8567,15 +10236,15 @@ "params": [ { "type": "Identifier", - "start": 7008, - "end": 7014, + "start": 8282, + "end": 8288, "loc": { "start": { - "line": 224, + "line": 268, "column": 37 }, "end": { - "line": 224, + "line": 268, "column": 43 }, "identifierName": "pFrame" @@ -8585,72 +10254,72 @@ ], "body": { "type": "BlockStatement", - "start": 7019, - "end": 7085, + "start": 8293, + "end": 8359, "loc": { "start": { - "line": 224, + "line": 268, "column": 48 }, "end": { - "line": 226, + "line": 270, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 7042, - "end": 7066, + "start": 8316, + "end": 8340, "loc": { "start": { - "line": 225, + "line": 269, "column": 20 }, "end": { - "line": 225, + "line": 269, "column": 44 } }, "expression": { "type": "CallExpression", - "start": 7042, - "end": 7065, + "start": 8316, + "end": 8339, "loc": { "start": { - "line": 225, + "line": 269, "column": 20 }, "end": { - "line": 225, + "line": 269, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 7042, - "end": 7057, + "start": 8316, + "end": 8331, "loc": { "start": { - "line": 225, + "line": 269, "column": 20 }, "end": { - "line": 225, + "line": 269, "column": 35 } }, "object": { "type": "Identifier", - "start": 7042, - "end": 7048, + "start": 8316, + "end": 8322, "loc": { "start": { - "line": 225, + "line": 269, "column": 20 }, "end": { - "line": 225, + "line": 269, "column": 26 }, "identifierName": "pFrame" @@ -8659,15 +10328,15 @@ }, "property": { "type": "Identifier", - "start": 7049, - "end": 7057, + "start": 8323, + "end": 8331, "loc": { "start": { - "line": 225, + "line": 269, "column": 27 }, "end": { - "line": 225, + "line": 269, "column": 35 }, "identifierName": "setDelay" @@ -8679,15 +10348,15 @@ "arguments": [ { "type": "Identifier", - "start": 7058, - "end": 7064, + "start": 8332, + "end": 8338, "loc": { "start": { - "line": 225, + "line": 269, "column": 36 }, "end": { - "line": 225, + "line": 269, "column": 42 }, "identifierName": "pDelay" @@ -8709,114 +10378,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 7108, - "end": 7208, + "start": 8382, + "end": 8482, "loc": { "start": { - "line": 227, + "line": 271, "column": 19 }, "end": { - "line": 229, + "line": 273, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 7127, - "end": 7193, + "start": 8401, + "end": 8467, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 82 } }, "expression": { "type": "CallExpression", - "start": 7127, - "end": 7192, + "start": 8401, + "end": 8466, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 81 } }, "callee": { "type": "MemberExpression", - "start": 7127, - "end": 7164, + "start": 8401, + "end": 8438, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 53 } }, "object": { "type": "CallExpression", - "start": 7127, - "end": 7158, + "start": 8401, + "end": 8432, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 7127, - "end": 7144, + "start": 8401, + "end": 8418, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 7127, - "end": 7137, + "start": 8401, + "end": 8411, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 26 } }, "object": { "type": "Identifier", - "start": 7127, - "end": 7130, + "start": 8401, + "end": 8404, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 19 }, "identifierName": "VYI" @@ -8825,15 +10494,15 @@ }, "property": { "type": "Identifier", - "start": 7131, - "end": 7137, + "start": 8405, + "end": 8411, "loc": { "start": { - "line": 228, + "line": 272, "column": 20 }, "end": { - "line": 228, + "line": 272, "column": 26 }, "identifierName": "logger" @@ -8844,15 +10513,15 @@ }, "property": { "type": "Identifier", - "start": 7138, - "end": 7144, + "start": 8412, + "end": 8418, "loc": { "start": { - "line": 228, + "line": 272, "column": 27 }, "end": { - "line": 228, + "line": 272, "column": 33 }, "identifierName": "prefix" @@ -8864,15 +10533,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7145, - "end": 7157, + "start": 8419, + "end": 8431, "loc": { "start": { - "line": 228, + "line": 272, "column": 34 }, "end": { - "line": 228, + "line": 272, "column": 46 } }, @@ -8886,15 +10555,15 @@ }, "property": { "type": "Identifier", - "start": 7159, - "end": 7164, + "start": 8433, + "end": 8438, "loc": { "start": { - "line": 228, + "line": 272, "column": 48 }, "end": { - "line": 228, + "line": 272, "column": 53 }, "identifierName": "error" @@ -8906,15 +10575,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7165, - "end": 7191, + "start": 8439, + "end": 8465, "loc": { "start": { - "line": 228, + "line": 272, "column": 54 }, "end": { - "line": 228, + "line": 272, "column": 80 } }, @@ -8938,29 +10607,29 @@ }, { "type": "ReturnStatement", - "start": 7229, - "end": 7241, + "start": 8503, + "end": 8515, "loc": { "start": { - "line": 231, + "line": 275, "column": 8 }, "end": { - "line": 231, + "line": 275, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 7236, - "end": 7240, + "start": 8510, + "end": 8514, "loc": { "start": { - "line": 231, + "line": 275, "column": 15 }, "end": { - "line": 231, + "line": 275, "column": 19 } } @@ -8974,15 +10643,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6634, - "end": 6825, + "start": 7908, + "end": 8099, "loc": { "start": { - "line": 215, + "line": 259, "column": 4 }, "end": { - "line": 219, + "line": 263, "column": 7 } } @@ -8992,15 +10661,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 7254, - "end": 7481, + "start": 8528, + "end": 8755, "loc": { "start": { - "line": 233, + "line": 277, "column": 4 }, "end": { - "line": 237, + "line": 281, "column": 7 } } @@ -9009,15 +10678,15 @@ }, { "type": "ClassMethod", - "start": 7487, - "end": 7727, + "start": 8761, + "end": 9001, "loc": { "start": { - "line": 238, + "line": 282, "column": 4 }, "end": { - "line": 245, + "line": 289, "column": 5 } }, @@ -9025,15 +10694,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7487, - "end": 7495, + "start": 8761, + "end": 8769, "loc": { "start": { - "line": 238, + "line": 282, "column": 4 }, "end": { - "line": 238, + "line": 282, "column": 12 }, "identifierName": "addState" @@ -9049,15 +10718,15 @@ "params": [ { "type": "Identifier", - "start": 7496, - "end": 7505, + "start": 8770, + "end": 8779, "loc": { "start": { - "line": 238, + "line": 282, "column": 13 }, "end": { - "line": 238, + "line": 282, "column": 22 }, "identifierName": "pIconData" @@ -9067,58 +10736,58 @@ ], "body": { "type": "BlockStatement", - "start": 7507, - "end": 7727, + "start": 8781, + "end": 9001, "loc": { "start": { - "line": 238, + "line": 282, "column": 24 }, "end": { - "line": 245, + "line": 289, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 7518, - "end": 7720, + "start": 8792, + "end": 8994, "loc": { "start": { - "line": 239, + "line": 283, "column": 8 }, "end": { - "line": 244, + "line": 288, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 7522, - "end": 7549, + "start": 8796, + "end": 8823, "loc": { "start": { - "line": 239, + "line": 283, "column": 12 }, "end": { - "line": 239, + "line": 283, "column": 39 } }, "left": { "type": "Identifier", - "start": 7522, - "end": 7531, + "start": 8796, + "end": 8805, "loc": { "start": { - "line": 239, + "line": 283, "column": 12 }, "end": { - "line": 239, + "line": 283, "column": 21 }, "identifierName": "pIconData" @@ -9128,15 +10797,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 7543, - "end": 7549, + "start": 8817, + "end": 8823, "loc": { "start": { - "line": 239, + "line": 283, "column": 33 }, "end": { - "line": 239, + "line": 283, "column": 39 }, "identifierName": "Object" @@ -9146,59 +10815,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 7551, - "end": 7720, + "start": 8825, + "end": 8994, "loc": { "start": { - "line": 239, + "line": 283, "column": 41 }, "end": { - "line": 244, + "line": 288, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 7566, - "end": 7610, + "start": 8840, + "end": 8884, "loc": { "start": { - "line": 240, + "line": 284, "column": 12 }, "end": { - "line": 240, + "line": 284, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7572, - "end": 7609, + "start": 8846, + "end": 8883, "loc": { "start": { - "line": 240, + "line": 284, "column": 18 }, "end": { - "line": 240, + "line": 284, "column": 55 } }, "id": { "type": "Identifier", - "start": 7572, - "end": 7577, + "start": 8846, + "end": 8851, "loc": { "start": { - "line": 240, + "line": 284, "column": 18 }, "end": { - "line": 240, + "line": 284, "column": 23 }, "identifierName": "state" @@ -9207,29 +10876,29 @@ }, "init": { "type": "NewExpression", - "start": 7580, - "end": 7609, + "start": 8854, + "end": 8883, "loc": { "start": { - "line": 240, + "line": 284, "column": 26 }, "end": { - "line": 240, + "line": 284, "column": 55 } }, "callee": { "type": "Identifier", - "start": 7584, - "end": 7588, + "start": 8858, + "end": 8862, "loc": { "start": { - "line": 240, + "line": 284, "column": 30 }, "end": { - "line": 240, + "line": 284, "column": 34 }, "identifierName": "Icon" @@ -9239,15 +10908,15 @@ "arguments": [ { "type": "Identifier", - "start": 7589, - "end": 7598, + "start": 8863, + "end": 8872, "loc": { "start": { - "line": 240, + "line": 284, "column": 35 }, "end": { - "line": 240, + "line": 284, "column": 44 }, "identifierName": "pIconData" @@ -9256,44 +10925,44 @@ }, { "type": "MemberExpression", - "start": 7600, - "end": 7608, + "start": 8874, + "end": 8882, "loc": { "start": { - "line": 240, + "line": 284, "column": 46 }, "end": { - "line": 240, + "line": 284, "column": 54 } }, "object": { "type": "ThisExpression", - "start": 7600, - "end": 7604, + "start": 8874, + "end": 8878, "loc": { "start": { - "line": 240, + "line": 284, "column": 46 }, "end": { - "line": 240, + "line": 284, "column": 50 } } }, "property": { "type": "Identifier", - "start": 7605, - "end": 7608, + "start": 8879, + "end": 8882, "loc": { "start": { - "line": 240, + "line": 284, "column": 51 }, "end": { - "line": 240, + "line": 284, "column": 54 }, "identifierName": "vyi" @@ -9310,58 +10979,58 @@ }, { "type": "ExpressionStatement", - "start": 7624, - "end": 7644, + "start": 8898, + "end": 8918, "loc": { "start": { - "line": 241, + "line": 285, "column": 12 }, "end": { - "line": 241, + "line": 285, "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 7624, - "end": 7643, + "start": 8898, + "end": 8917, "loc": { "start": { - "line": 241, + "line": 285, "column": 12 }, "end": { - "line": 241, + "line": 285, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 7624, - "end": 7636, + "start": 8898, + "end": 8910, "loc": { "start": { - "line": 241, + "line": 285, "column": 12 }, "end": { - "line": 241, + "line": 285, "column": 24 } }, "object": { "type": "Identifier", - "start": 7624, - "end": 7629, + "start": 8898, + "end": 8903, "loc": { "start": { - "line": 241, + "line": 285, "column": 12 }, "end": { - "line": 241, + "line": 285, "column": 17 }, "identifierName": "state" @@ -9370,15 +11039,15 @@ }, "property": { "type": "Identifier", - "start": 7630, - "end": 7636, + "start": 8904, + "end": 8910, "loc": { "start": { - "line": 241, + "line": 285, "column": 18 }, "end": { - "line": 241, + "line": 285, "column": 24 }, "identifierName": "parent" @@ -9389,15 +11058,15 @@ }, "right": { "type": "ThisExpression", - "start": 7639, - "end": 7643, + "start": 8913, + "end": 8917, "loc": { "start": { - "line": 241, + "line": 285, "column": 27 }, "end": { - "line": 241, + "line": 285, "column": 31 } } @@ -9406,86 +11075,86 @@ }, { "type": "ExpressionStatement", - "start": 7658, - "end": 7682, + "start": 8932, + "end": 8956, "loc": { "start": { - "line": 242, + "line": 286, "column": 12 }, "end": { - "line": 242, + "line": 286, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 7658, - "end": 7681, + "start": 8932, + "end": 8955, "loc": { "start": { - "line": 242, + "line": 286, "column": 12 }, "end": { - "line": 242, + "line": 286, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 7658, - "end": 7674, + "start": 8932, + "end": 8948, "loc": { "start": { - "line": 242, + "line": 286, "column": 12 }, "end": { - "line": 242, + "line": 286, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 7658, - "end": 7669, + "start": 8932, + "end": 8943, "loc": { "start": { - "line": 242, + "line": 286, "column": 12 }, "end": { - "line": 242, + "line": 286, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 7658, - "end": 7662, + "start": 8932, + "end": 8936, "loc": { "start": { - "line": 242, + "line": 286, "column": 12 }, "end": { - "line": 242, + "line": 286, "column": 16 } } }, "property": { "type": "Identifier", - "start": 7663, - "end": 7669, + "start": 8937, + "end": 8943, "loc": { "start": { - "line": 242, + "line": 286, "column": 17 }, "end": { - "line": 242, + "line": 286, "column": 23 }, "identifierName": "states" @@ -9496,15 +11165,15 @@ }, "property": { "type": "Identifier", - "start": 7670, - "end": 7674, + "start": 8944, + "end": 8948, "loc": { "start": { - "line": 242, + "line": 286, "column": 24 }, "end": { - "line": 242, + "line": 286, "column": 28 }, "identifierName": "push" @@ -9516,15 +11185,15 @@ "arguments": [ { "type": "Identifier", - "start": 7675, - "end": 7680, + "start": 8949, + "end": 8954, "loc": { "start": { - "line": 242, + "line": 286, "column": 29 }, "end": { - "line": 242, + "line": 286, "column": 34 }, "identifierName": "state" @@ -9536,29 +11205,29 @@ }, { "type": "ReturnStatement", - "start": 7696, - "end": 7709, + "start": 8970, + "end": 8983, "loc": { "start": { - "line": 243, + "line": 287, "column": 12 }, "end": { - "line": 243, + "line": 287, "column": 25 } }, "argument": { "type": "Identifier", - "start": 7703, - "end": 7708, + "start": 8977, + "end": 8982, "loc": { "start": { - "line": 243, + "line": 287, "column": 19 }, "end": { - "line": 243, + "line": 287, "column": 24 }, "identifierName": "state" @@ -9579,15 +11248,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 7254, - "end": 7481, + "start": 8528, + "end": 8755, "loc": { "start": { - "line": 233, + "line": 277, "column": 4 }, "end": { - "line": 237, + "line": 281, "column": 7 } } @@ -9597,15 +11266,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7733, - "end": 8114, + "start": 9007, + "end": 9388, "loc": { "start": { - "line": 246, + "line": 290, "column": 4 }, "end": { - "line": 251, + "line": 295, "column": 7 } } @@ -9614,15 +11283,15 @@ }, { "type": "ClassMethod", - "start": 8120, - "end": 8882, + "start": 9394, + "end": 10156, "loc": { "start": { - "line": 252, + "line": 296, "column": 4 }, "end": { - "line": 273, + "line": 317, "column": 5 } }, @@ -9630,15 +11299,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8120, - "end": 8131, + "start": 9394, + "end": 9405, "loc": { "start": { - "line": 252, + "line": 296, "column": 4 }, "end": { - "line": 252, + "line": 296, "column": 15 }, "identifierName": "removeState" @@ -9654,15 +11323,15 @@ "params": [ { "type": "Identifier", - "start": 8132, - "end": 8138, + "start": 9406, + "end": 9412, "loc": { "start": { - "line": 252, + "line": 296, "column": 16 }, "end": { - "line": 252, + "line": 296, "column": 22 }, "identifierName": "pState" @@ -9671,15 +11340,15 @@ }, { "type": "Identifier", - "start": 8140, - "end": 8145, + "start": 9414, + "end": 9419, "loc": { "start": { - "line": 252, + "line": 296, "column": 24 }, "end": { - "line": 252, + "line": 296, "column": 29 }, "identifierName": "pName" @@ -9689,59 +11358,59 @@ ], "body": { "type": "BlockStatement", - "start": 8147, - "end": 8882, + "start": 9421, + "end": 10156, "loc": { "start": { - "line": 252, + "line": 296, "column": 31 }, "end": { - "line": 273, + "line": 317, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 8207, - "end": 8217, + "start": 9481, + "end": 9491, "loc": { "start": { - "line": 254, + "line": 298, "column": 8 }, "end": { - "line": 254, + "line": 298, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8211, - "end": 8216, + "start": 9485, + "end": 9490, "loc": { "start": { - "line": 254, + "line": 298, "column": 12 }, "end": { - "line": 254, + "line": 298, "column": 17 } }, "id": { "type": "Identifier", - "start": 8211, - "end": 8216, + "start": 9485, + "end": 9490, "loc": { "start": { - "line": 254, + "line": 298, "column": 12 }, "end": { - "line": 254, + "line": 298, "column": 17 }, "identifierName": "index" @@ -9758,15 +11427,15 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 8158, - "end": 8197, + "start": 9432, + "end": 9471, "loc": { "start": { - "line": 253, + "line": 297, "column": 8 }, "end": { - "line": 253, + "line": 297, "column": 47 } } @@ -9776,15 +11445,15 @@ { "type": "CommentLine", "value": " Remove via reference to state.", - "start": 8227, - "end": 8260, + "start": 9501, + "end": 9534, "loc": { "start": { - "line": 255, + "line": 299, "column": 8 }, "end": { - "line": 255, + "line": 299, "column": 41 } } @@ -9793,71 +11462,71 @@ }, { "type": "IfStatement", - "start": 8270, - "end": 8723, + "start": 9544, + "end": 9997, "loc": { "start": { - "line": 256, + "line": 300, "column": 8 }, "end": { - "line": 267, + "line": 311, "column": 9 } }, "test": { "type": "CallExpression", - "start": 8274, - "end": 8302, + "start": 9548, + "end": 9576, "loc": { "start": { - "line": 256, + "line": 300, "column": 12 }, "end": { - "line": 256, + "line": 300, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 8274, - "end": 8294, + "start": 9548, + "end": 9568, "loc": { "start": { - "line": 256, + "line": 300, "column": 12 }, "end": { - "line": 256, + "line": 300, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 8274, - "end": 8285, + "start": 9548, + "end": 9559, "loc": { "start": { - "line": 256, + "line": 300, "column": 12 }, "end": { - "line": 256, + "line": 300, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 8274, - "end": 8278, + "start": 9548, + "end": 9552, "loc": { "start": { - "line": 256, + "line": 300, "column": 12 }, "end": { - "line": 256, + "line": 300, "column": 16 } }, @@ -9865,15 +11534,15 @@ }, "property": { "type": "Identifier", - "start": 8279, - "end": 8285, + "start": 9553, + "end": 9559, "loc": { "start": { - "line": 256, + "line": 300, "column": 17 }, "end": { - "line": 256, + "line": 300, "column": 23 }, "identifierName": "states" @@ -9885,15 +11554,15 @@ }, "property": { "type": "Identifier", - "start": 8286, - "end": 8294, + "start": 9560, + "end": 9568, "loc": { "start": { - "line": 256, + "line": 300, "column": 24 }, "end": { - "line": 256, + "line": 300, "column": 32 }, "identifierName": "includes" @@ -9906,15 +11575,15 @@ "arguments": [ { "type": "Identifier", - "start": 8295, - "end": 8301, + "start": 9569, + "end": 9575, "loc": { "start": { - "line": 256, + "line": 300, "column": 33 }, "end": { - "line": 256, + "line": 300, "column": 39 }, "identifierName": "pState" @@ -9926,59 +11595,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8304, - "end": 8407, + "start": 9578, + "end": 9681, "loc": { "start": { - "line": 256, + "line": 300, "column": 42 }, "end": { - "line": 259, + "line": 303, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8319, - "end": 8355, + "start": 9593, + "end": 9629, "loc": { "start": { - "line": 257, + "line": 301, "column": 12 }, "end": { - "line": 257, + "line": 301, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 8319, - "end": 8354, + "start": 9593, + "end": 9628, "loc": { "start": { - "line": 257, + "line": 301, "column": 12 }, "end": { - "line": 257, + "line": 301, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8319, - "end": 8324, + "start": 9593, + "end": 9598, "loc": { "start": { - "line": 257, + "line": 301, "column": 12 }, "end": { - "line": 257, + "line": 301, "column": 17 }, "identifierName": "index" @@ -9987,72 +11656,72 @@ }, "right": { "type": "CallExpression", - "start": 8327, - "end": 8354, + "start": 9601, + "end": 9628, "loc": { "start": { - "line": 257, + "line": 301, "column": 20 }, "end": { - "line": 257, + "line": 301, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 8327, - "end": 8346, + "start": 9601, + "end": 9620, "loc": { "start": { - "line": 257, + "line": 301, "column": 20 }, "end": { - "line": 257, + "line": 301, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 8327, - "end": 8338, + "start": 9601, + "end": 9612, "loc": { "start": { - "line": 257, + "line": 301, "column": 20 }, "end": { - "line": 257, + "line": 301, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 8327, - "end": 8331, + "start": 9601, + "end": 9605, "loc": { "start": { - "line": 257, + "line": 301, "column": 20 }, "end": { - "line": 257, + "line": 301, "column": 24 } } }, "property": { "type": "Identifier", - "start": 8332, - "end": 8338, + "start": 9606, + "end": 9612, "loc": { "start": { - "line": 257, + "line": 301, "column": 25 }, "end": { - "line": 257, + "line": 301, "column": 31 }, "identifierName": "states" @@ -10063,15 +11732,15 @@ }, "property": { "type": "Identifier", - "start": 8339, - "end": 8346, + "start": 9613, + "end": 9620, "loc": { "start": { - "line": 257, + "line": 301, "column": 32 }, "end": { - "line": 257, + "line": 301, "column": 39 }, "identifierName": "indexOf" @@ -10083,15 +11752,15 @@ "arguments": [ { "type": "Identifier", - "start": 8347, - "end": 8353, + "start": 9621, + "end": 9627, "loc": { "start": { - "line": 257, + "line": 301, "column": 40 }, "end": { - "line": 257, + "line": 301, "column": 46 }, "identifierName": "pState" @@ -10105,15 +11774,15 @@ { "type": "CommentLine", "value": " Remove via reference to name", - "start": 8365, - "end": 8396, + "start": 9639, + "end": 9670, "loc": { "start": { - "line": 258, + "line": 302, "column": 8 }, "end": { - "line": 258, + "line": 302, "column": 39 } } @@ -10125,43 +11794,43 @@ }, "alternate": { "type": "IfStatement", - "start": 8413, - "end": 8723, + "start": 9687, + "end": 9997, "loc": { "start": { - "line": 259, + "line": 303, "column": 15 }, "end": { - "line": 267, + "line": 311, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8417, - "end": 8443, + "start": 9691, + "end": 9717, "loc": { "start": { - "line": 259, + "line": 303, "column": 19 }, "end": { - "line": 259, + "line": 303, "column": 45 } }, "left": { "type": "UnaryExpression", - "start": 8417, - "end": 8430, + "start": 9691, + "end": 9704, "loc": { "start": { - "line": 259, + "line": 303, "column": 19 }, "end": { - "line": 259, + "line": 303, "column": 32 } }, @@ -10169,15 +11838,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8424, - "end": 8429, + "start": 9698, + "end": 9703, "loc": { "start": { - "line": 259, + "line": 303, "column": 26 }, "end": { - "line": 259, + "line": 303, "column": 31 }, "identifierName": "pName" @@ -10185,7 +11854,7 @@ "name": "pName", "extra": { "parenthesized": true, - "parenStart": 8423 + "parenStart": 9697 } }, "extra": { @@ -10195,15 +11864,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8435, - "end": 8443, + "start": 9709, + "end": 9717, "loc": { "start": { - "line": 259, + "line": 303, "column": 37 }, "end": { - "line": 259, + "line": 303, "column": 45 } }, @@ -10216,59 +11885,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8445, - "end": 8600, + "start": 9719, + "end": 9874, "loc": { "start": { - "line": 259, + "line": 303, "column": 47 }, "end": { - "line": 264, + "line": 308, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 8460, - "end": 8495, + "start": 9734, + "end": 9769, "loc": { "start": { - "line": 260, + "line": 304, "column": 12 }, "end": { - "line": 260, + "line": 304, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8466, - "end": 8494, + "start": 9740, + "end": 9768, "loc": { "start": { - "line": 260, + "line": 304, "column": 18 }, "end": { - "line": 260, + "line": 304, "column": 46 } }, "id": { "type": "Identifier", - "start": 8466, - "end": 8471, + "start": 9740, + "end": 9745, "loc": { "start": { - "line": 260, + "line": 304, "column": 18 }, "end": { - "line": 260, + "line": 304, "column": 23 }, "identifierName": "state" @@ -10277,58 +11946,58 @@ }, "init": { "type": "CallExpression", - "start": 8474, - "end": 8494, + "start": 9748, + "end": 9768, "loc": { "start": { - "line": 260, + "line": 304, "column": 26 }, "end": { - "line": 260, + "line": 304, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 8474, - "end": 8487, + "start": 9748, + "end": 9761, "loc": { "start": { - "line": 260, + "line": 304, "column": 26 }, "end": { - "line": 260, + "line": 304, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 8474, - "end": 8478, + "start": 9748, + "end": 9752, "loc": { "start": { - "line": 260, + "line": 304, "column": 26 }, "end": { - "line": 260, + "line": 304, "column": 30 } } }, "property": { "type": "Identifier", - "start": 8479, - "end": 8487, + "start": 9753, + "end": 9761, "loc": { "start": { - "line": 260, + "line": 304, "column": 31 }, "end": { - "line": 260, + "line": 304, "column": 39 }, "identifierName": "getState" @@ -10340,15 +12009,15 @@ "arguments": [ { "type": "Identifier", - "start": 8488, - "end": 8493, + "start": 9762, + "end": 9767, "loc": { "start": { - "line": 260, + "line": 304, "column": 40 }, "end": { - "line": 260, + "line": 304, "column": 45 }, "identifierName": "pName" @@ -10363,29 +12032,29 @@ }, { "type": "IfStatement", - "start": 8509, - "end": 8589, + "start": 9783, + "end": 9863, "loc": { "start": { - "line": 261, + "line": 305, "column": 12 }, "end": { - "line": 263, + "line": 307, "column": 13 } }, "test": { "type": "Identifier", - "start": 8513, - "end": 8518, + "start": 9787, + "end": 9792, "loc": { "start": { - "line": 261, + "line": 305, "column": 16 }, "end": { - "line": 261, + "line": 305, "column": 21 }, "identifierName": "state" @@ -10394,59 +12063,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8520, - "end": 8589, + "start": 9794, + "end": 9863, "loc": { "start": { - "line": 261, + "line": 305, "column": 23 }, "end": { - "line": 263, + "line": 307, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8539, - "end": 8574, + "start": 9813, + "end": 9848, "loc": { "start": { - "line": 262, + "line": 306, "column": 16 }, "end": { - "line": 262, + "line": 306, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 8539, - "end": 8573, + "start": 9813, + "end": 9847, "loc": { "start": { - "line": 262, + "line": 306, "column": 16 }, "end": { - "line": 262, + "line": 306, "column": 50 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8539, - "end": 8544, + "start": 9813, + "end": 9818, "loc": { "start": { - "line": 262, + "line": 306, "column": 16 }, "end": { - "line": 262, + "line": 306, "column": 21 }, "identifierName": "index" @@ -10455,72 +12124,72 @@ }, "right": { "type": "CallExpression", - "start": 8547, - "end": 8573, + "start": 9821, + "end": 9847, "loc": { "start": { - "line": 262, + "line": 306, "column": 24 }, "end": { - "line": 262, + "line": 306, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 8547, - "end": 8566, + "start": 9821, + "end": 9840, "loc": { "start": { - "line": 262, + "line": 306, "column": 24 }, "end": { - "line": 262, + "line": 306, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 8547, - "end": 8558, + "start": 9821, + "end": 9832, "loc": { "start": { - "line": 262, + "line": 306, "column": 24 }, "end": { - "line": 262, + "line": 306, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 8547, - "end": 8551, + "start": 9821, + "end": 9825, "loc": { "start": { - "line": 262, + "line": 306, "column": 24 }, "end": { - "line": 262, + "line": 306, "column": 28 } } }, "property": { "type": "Identifier", - "start": 8552, - "end": 8558, + "start": 9826, + "end": 9832, "loc": { "start": { - "line": 262, + "line": 306, "column": 29 }, "end": { - "line": 262, + "line": 306, "column": 35 }, "identifierName": "states" @@ -10531,15 +12200,15 @@ }, "property": { "type": "Identifier", - "start": 8559, - "end": 8566, + "start": 9833, + "end": 9840, "loc": { "start": { - "line": 262, + "line": 306, "column": 36 }, "end": { - "line": 262, + "line": 306, "column": 43 }, "identifierName": "indexOf" @@ -10551,15 +12220,15 @@ "arguments": [ { "type": "Identifier", - "start": 8567, - "end": 8572, + "start": 9841, + "end": 9846, "loc": { "start": { - "line": 262, + "line": 306, "column": 44 }, "end": { - "line": 262, + "line": 306, "column": 49 }, "identifierName": "state" @@ -10580,114 +12249,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 8606, - "end": 8723, + "start": 9880, + "end": 9997, "loc": { "start": { - "line": 264, + "line": 308, "column": 15 }, "end": { - "line": 267, + "line": 311, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8621, - "end": 8686, + "start": 9895, + "end": 9960, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 8621, - "end": 8685, + "start": 9895, + "end": 9959, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 8621, - "end": 8658, + "start": 9895, + "end": 9932, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 49 } }, "object": { "type": "CallExpression", - "start": 8621, - "end": 8652, + "start": 9895, + "end": 9926, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 8621, - "end": 8638, + "start": 9895, + "end": 9912, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 8621, - "end": 8631, + "start": 9895, + "end": 9905, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 22 } }, "object": { "type": "Identifier", - "start": 8621, - "end": 8624, + "start": 9895, + "end": 9898, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 15 }, "identifierName": "VYI" @@ -10696,15 +12365,15 @@ }, "property": { "type": "Identifier", - "start": 8625, - "end": 8631, + "start": 9899, + "end": 9905, "loc": { "start": { - "line": 265, + "line": 309, "column": 16 }, "end": { - "line": 265, + "line": 309, "column": 22 }, "identifierName": "logger" @@ -10715,15 +12384,15 @@ }, "property": { "type": "Identifier", - "start": 8632, - "end": 8638, + "start": 9906, + "end": 9912, "loc": { "start": { - "line": 265, + "line": 309, "column": 23 }, "end": { - "line": 265, + "line": 309, "column": 29 }, "identifierName": "prefix" @@ -10735,15 +12404,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8639, - "end": 8651, + "start": 9913, + "end": 9925, "loc": { "start": { - "line": 265, + "line": 309, "column": 30 }, "end": { - "line": 265, + "line": 309, "column": 42 } }, @@ -10757,15 +12426,15 @@ }, "property": { "type": "Identifier", - "start": 8653, - "end": 8658, + "start": 9927, + "end": 9932, "loc": { "start": { - "line": 265, + "line": 309, "column": 44 }, "end": { - "line": 265, + "line": 309, "column": 49 }, "identifierName": "error" @@ -10777,15 +12446,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 8659, - "end": 8684, + "start": 9933, + "end": 9958, "loc": { "start": { - "line": 265, + "line": 309, "column": 50 }, "end": { - "line": 265, + "line": 309, "column": 75 } }, @@ -10800,29 +12469,29 @@ }, { "type": "ReturnStatement", - "start": 8700, - "end": 8712, + "start": 9974, + "end": 9986, "loc": { "start": { - "line": 266, + "line": 310, "column": 12 }, "end": { - "line": 266, + "line": 310, "column": 24 } }, "argument": { "type": "ThisExpression", - "start": 8707, - "end": 8711, + "start": 9981, + "end": 9985, "loc": { "start": { - "line": 266, + "line": 310, "column": 19 }, "end": { - "line": 266, + "line": 310, "column": 23 } } @@ -10836,15 +12505,15 @@ { "type": "CommentLine", "value": " Remove via reference to state.", - "start": 8227, - "end": 8260, + "start": 9501, + "end": 9534, "loc": { "start": { - "line": 255, + "line": 299, "column": 8 }, "end": { - "line": 255, + "line": 299, "column": 41 } } @@ -10853,43 +12522,43 @@ }, { "type": "IfStatement", - "start": 8733, - "end": 8853, + "start": 10007, + "end": 10127, "loc": { "start": { - "line": 268, + "line": 312, "column": 8 }, "end": { - "line": 271, + "line": 315, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 8737, - "end": 8763, + "start": 10011, + "end": 10037, "loc": { "start": { - "line": 268, + "line": 312, "column": 12 }, "end": { - "line": 268, + "line": 312, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 8737, - "end": 8750, + "start": 10011, + "end": 10024, "loc": { "start": { - "line": 268, + "line": 312, "column": 12 }, "end": { - "line": 268, + "line": 312, "column": 25 } }, @@ -10897,15 +12566,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8744, - "end": 8749, + "start": 10018, + "end": 10023, "loc": { "start": { - "line": 268, + "line": 312, "column": 19 }, "end": { - "line": 268, + "line": 312, "column": 24 }, "identifierName": "index" @@ -10913,7 +12582,7 @@ "name": "index", "extra": { "parenthesized": true, - "parenStart": 8743 + "parenStart": 10017 } }, "extra": { @@ -10923,15 +12592,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8755, - "end": 8763, + "start": 10029, + "end": 10037, "loc": { "start": { - "line": 268, + "line": 312, "column": 30 }, "end": { - "line": 268, + "line": 312, "column": 38 } }, @@ -10944,86 +12613,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 8765, - "end": 8853, + "start": 10039, + "end": 10127, "loc": { "start": { - "line": 268, + "line": 312, "column": 40 }, "end": { - "line": 271, + "line": 315, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8813, - "end": 8842, + "start": 10087, + "end": 10116, "loc": { "start": { - "line": 270, + "line": 314, "column": 12 }, "end": { - "line": 270, + "line": 314, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 8813, - "end": 8841, + "start": 10087, + "end": 10115, "loc": { "start": { - "line": 270, + "line": 314, "column": 12 }, "end": { - "line": 270, + "line": 314, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 8813, - "end": 8831, + "start": 10087, + "end": 10105, "loc": { "start": { - "line": 270, + "line": 314, "column": 12 }, "end": { - "line": 270, + "line": 314, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 8813, - "end": 8824, + "start": 10087, + "end": 10098, "loc": { "start": { - "line": 270, + "line": 314, "column": 12 }, "end": { - "line": 270, + "line": 314, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 8813, - "end": 8817, + "start": 10087, + "end": 10091, "loc": { "start": { - "line": 270, + "line": 314, "column": 12 }, "end": { - "line": 270, + "line": 314, "column": 16 } }, @@ -11031,15 +12700,15 @@ }, "property": { "type": "Identifier", - "start": 8818, - "end": 8824, + "start": 10092, + "end": 10098, "loc": { "start": { - "line": 270, + "line": 314, "column": 17 }, "end": { - "line": 270, + "line": 314, "column": 23 }, "identifierName": "states" @@ -11051,15 +12720,15 @@ }, "property": { "type": "Identifier", - "start": 8825, - "end": 8831, + "start": 10099, + "end": 10105, "loc": { "start": { - "line": 270, + "line": 314, "column": 24 }, "end": { - "line": 270, + "line": 314, "column": 30 }, "identifierName": "splice" @@ -11072,15 +12741,15 @@ "arguments": [ { "type": "Identifier", - "start": 8832, - "end": 8837, + "start": 10106, + "end": 10111, "loc": { "start": { - "line": 270, + "line": 314, "column": 31 }, "end": { - "line": 270, + "line": 314, "column": 36 }, "identifierName": "index" @@ -11089,15 +12758,15 @@ }, { "type": "NumericLiteral", - "start": 8839, - "end": 8840, + "start": 10113, + "end": 10114, "loc": { "start": { - "line": 270, + "line": 314, "column": 38 }, "end": { - "line": 270, + "line": 314, "column": 39 } }, @@ -11114,15 +12783,15 @@ { "type": "CommentLine", "value": " Remove the state", - "start": 8780, - "end": 8799, + "start": 10054, + "end": 10073, "loc": { "start": { - "line": 269, + "line": 313, "column": 12 }, "end": { - "line": 269, + "line": 313, "column": 31 } } @@ -11136,29 +12805,29 @@ }, { "type": "ReturnStatement", - "start": 8863, - "end": 8875, + "start": 10137, + "end": 10149, "loc": { "start": { - "line": 272, + "line": 316, "column": 8 }, "end": { - "line": 272, + "line": 316, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 8870, - "end": 8874, + "start": 10144, + "end": 10148, "loc": { "start": { - "line": 272, + "line": 316, "column": 15 }, "end": { - "line": 272, + "line": 316, "column": 19 } } @@ -11172,15 +12841,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7733, - "end": 8114, + "start": 9007, + "end": 9388, "loc": { "start": { - "line": 246, + "line": 290, "column": 4 }, "end": { - "line": 251, + "line": 295, "column": 7 } } @@ -11189,16 +12858,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8888, - "end": 9085, + "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", + "start": 10162, + "end": 10358, "loc": { "start": { - "line": 274, + "line": 318, "column": 4 }, "end": { - "line": 278, + "line": 322, "column": 7 } } @@ -11207,15 +12876,15 @@ }, { "type": "ClassMethod", - "start": 9091, - "end": 9701, + "start": 10364, + "end": 10971, "loc": { "start": { - "line": 279, + "line": 323, "column": 4 }, "end": { - "line": 294, + "line": 338, "column": 5 } }, @@ -11223,15 +12892,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9091, - "end": 9099, + "start": 10364, + "end": 10372, "loc": { "start": { - "line": 279, + "line": 323, "column": 4 }, "end": { - "line": 279, + "line": 323, "column": 12 }, "identifierName": "addFrame" @@ -11247,15 +12916,15 @@ "params": [ { "type": "Identifier", - "start": 9100, - "end": 9110, + "start": 10373, + "end": 10383, "loc": { "start": { - "line": 279, + "line": 323, "column": 13 }, "end": { - "line": 279, + "line": 323, "column": 23 }, "identifierName": "pFrameData" @@ -11265,44 +12934,44 @@ ], "body": { "type": "BlockStatement", - "start": 9112, - "end": 9701, + "start": 10385, + "end": 10971, "loc": { "start": { - "line": 279, + "line": 323, "column": 25 }, "end": { - "line": 294, + "line": 338, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9123, - "end": 9694, + "start": 10396, + "end": 10964, "loc": { "start": { - "line": 280, + "line": 324, "column": 8 }, "end": { - "line": 293, + "line": 337, "column": 9 } }, "test": { "type": "Identifier", - "start": 9127, - "end": 9137, + "start": 10400, + "end": 10410, "loc": { "start": { - "line": 280, + "line": 324, "column": 12 }, "end": { - "line": 280, + "line": 324, "column": 22 }, "identifierName": "pFrameData" @@ -11311,138 +12980,172 @@ }, "consequent": { "type": "BlockStatement", - "start": 9139, - "end": 9599, + "start": 10412, + "end": 10869, "loc": { "start": { - "line": 280, + "line": 324, "column": 24 }, "end": { - "line": 291, + "line": 335, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 9154, - "end": 9588, + "start": 10427, + "end": 10858, "loc": { "start": { - "line": 281, + "line": 325, "column": 12 }, "end": { - "line": 290, + "line": 334, "column": 13 } }, "test": { - "type": "BinaryExpression", - "start": 9158, - "end": 9186, + "type": "CallExpression", + "start": 10431, + "end": 10456, "loc": { "start": { - "line": 281, + "line": 325, "column": 16 }, "end": { - "line": 281, - "column": 44 + "line": 325, + "column": 41 } }, - "left": { - "type": "Identifier", - "start": 9158, - "end": 9168, + "callee": { + "type": "MemberExpression", + "start": 10431, + "end": 10444, "loc": { "start": { - "line": 281, + "line": 325, "column": 16 }, "end": { - "line": 281, - "column": 26 - }, - "identifierName": "pFrameData" + "line": 325, + "column": 29 + } }, - "name": "pFrameData" - }, - "operator": "instanceof", - "right": { - "type": "Identifier", - "start": 9180, - "end": 9186, - "loc": { - "start": { - "line": 281, - "column": 38 + "object": { + "type": "Identifier", + "start": 10431, + "end": 10436, + "loc": { + "start": { + "line": 325, + "column": 16 + }, + "end": { + "line": 325, + "column": 21 + }, + "identifierName": "Array" }, - "end": { - "line": 281, - "column": 44 + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 10437, + "end": 10444, + "loc": { + "start": { + "line": 325, + "column": 22 + }, + "end": { + "line": 325, + "column": 29 + }, + "identifierName": "isArray" }, - "identifierName": "Object" + "name": "isArray" }, - "name": "Object" - } + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 10445, + "end": 10455, + "loc": { + "start": { + "line": 325, + "column": 30 + }, + "end": { + "line": 325, + "column": 40 + }, + "identifierName": "pFrameData" + }, + "name": "pFrameData" + } + ] }, "consequent": { "type": "BlockStatement", - "start": 9188, - "end": 9480, + "start": 10458, + "end": 10750, "loc": { "start": { - "line": 281, - "column": 46 + "line": 325, + "column": 43 }, "end": { - "line": 288, + "line": 332, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 9207, - "end": 9249, + "start": 10477, + "end": 10519, "loc": { "start": { - "line": 282, + "line": 326, "column": 16 }, "end": { - "line": 282, + "line": 326, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9213, - "end": 9248, + "start": 10483, + "end": 10518, "loc": { "start": { - "line": 282, + "line": 326, "column": 22 }, "end": { - "line": 282, + "line": 326, "column": 57 } }, "id": { "type": "Identifier", - "start": 9213, - "end": 9218, + "start": 10483, + "end": 10488, "loc": { "start": { - "line": 282, + "line": 326, "column": 22 }, "end": { - "line": 282, + "line": 326, "column": 27 }, "identifierName": "frame" @@ -11451,29 +13154,29 @@ }, "init": { "type": "NewExpression", - "start": 9221, - "end": 9248, + "start": 10491, + "end": 10518, "loc": { "start": { - "line": 282, + "line": 326, "column": 30 }, "end": { - "line": 282, + "line": 326, "column": 57 } }, "callee": { "type": "Identifier", - "start": 9225, - "end": 9230, + "start": 10495, + "end": 10500, "loc": { "start": { - "line": 282, + "line": 326, "column": 34 }, "end": { - "line": 282, + "line": 326, "column": 39 }, "identifierName": "Frame" @@ -11483,15 +13186,15 @@ "arguments": [ { "type": "Identifier", - "start": 9231, - "end": 9241, + "start": 10501, + "end": 10511, "loc": { "start": { - "line": 282, + "line": 326, "column": 40 }, "end": { - "line": 282, + "line": 326, "column": 50 }, "identifierName": "pFrameData" @@ -11500,15 +13203,15 @@ }, { "type": "ThisExpression", - "start": 9243, - "end": 9247, + "start": 10513, + "end": 10517, "loc": { "start": { - "line": 282, + "line": 326, "column": 52 }, "end": { - "line": 282, + "line": 326, "column": 56 } } @@ -11522,15 +13225,15 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 9267, - "end": 9304, + "start": 10537, + "end": 10574, "loc": { "start": { - "line": 283, + "line": 327, "column": 16 }, "end": { - "line": 283, + "line": 327, "column": 53 } } @@ -11539,71 +13242,71 @@ }, { "type": "ExpressionStatement", - "start": 9322, - "end": 9346, + "start": 10592, + "end": 10616, "loc": { "start": { - "line": 284, + "line": 328, "column": 16 }, "end": { - "line": 284, + "line": 328, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 9322, - "end": 9345, + "start": 10592, + "end": 10615, "loc": { "start": { - "line": 284, + "line": 328, "column": 16 }, "end": { - "line": 284, + "line": 328, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 9322, - "end": 9338, + "start": 10592, + "end": 10608, "loc": { "start": { - "line": 284, + "line": 328, "column": 16 }, "end": { - "line": 284, + "line": 328, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 9322, - "end": 9333, + "start": 10592, + "end": 10603, "loc": { "start": { - "line": 284, + "line": 328, "column": 16 }, "end": { - "line": 284, + "line": 328, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9322, - "end": 9326, + "start": 10592, + "end": 10596, "loc": { "start": { - "line": 284, + "line": 328, "column": 16 }, "end": { - "line": 284, + "line": 328, "column": 20 } }, @@ -11611,15 +13314,15 @@ }, "property": { "type": "Identifier", - "start": 9327, - "end": 9333, + "start": 10597, + "end": 10603, "loc": { "start": { - "line": 284, + "line": 328, "column": 21 }, "end": { - "line": 284, + "line": 328, "column": 27 }, "identifierName": "frames" @@ -11631,15 +13334,15 @@ }, "property": { "type": "Identifier", - "start": 9334, - "end": 9338, + "start": 10604, + "end": 10608, "loc": { "start": { - "line": 284, + "line": 328, "column": 28 }, "end": { - "line": 284, + "line": 328, "column": 32 }, "identifierName": "push" @@ -11652,15 +13355,15 @@ "arguments": [ { "type": "Identifier", - "start": 9339, - "end": 9344, + "start": 10609, + "end": 10614, "loc": { "start": { - "line": 284, + "line": 328, "column": 33 }, "end": { - "line": 284, + "line": 328, "column": 38 }, "identifierName": "frame" @@ -11674,15 +13377,15 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 9267, - "end": 9304, + "start": 10537, + "end": 10574, "loc": { "start": { - "line": 283, + "line": 327, "column": 16 }, "end": { - "line": 283, + "line": 327, "column": 53 } } @@ -11692,15 +13395,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 9364, - "end": 9397, + "start": 10634, + "end": 10667, "loc": { "start": { - "line": 285, + "line": 329, "column": 16 }, "end": { - "line": 285, + "line": 329, "column": 49 } } @@ -11709,57 +13412,57 @@ }, { "type": "ExpressionStatement", - "start": 9415, - "end": 9434, + "start": 10685, + "end": 10704, "loc": { "start": { - "line": 286, + "line": 330, "column": 16 }, "end": { - "line": 286, + "line": 330, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 9415, - "end": 9433, + "start": 10685, + "end": 10703, "loc": { "start": { - "line": 286, + "line": 330, "column": 16 }, "end": { - "line": 286, + "line": 330, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 9415, - "end": 9431, + "start": 10685, + "end": 10701, "loc": { "start": { - "line": 286, + "line": 330, "column": 16 }, "end": { - "line": 286, + "line": 330, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 9415, - "end": 9419, + "start": 10685, + "end": 10689, "loc": { "start": { - "line": 286, + "line": 330, "column": 16 }, "end": { - "line": 286, + "line": 330, "column": 20 } }, @@ -11767,15 +13470,15 @@ }, "property": { "type": "Identifier", - "start": 9420, - "end": 9431, + "start": 10690, + "end": 10701, "loc": { "start": { - "line": 286, + "line": 330, "column": 21 }, "end": { - "line": 286, + "line": 330, "column": 32 }, "identifierName": "indexFrames" @@ -11792,15 +13495,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 9364, - "end": 9397, + "start": 10634, + "end": 10667, "loc": { "start": { - "line": 285, + "line": 329, "column": 16 }, "end": { - "line": 285, + "line": 329, "column": 49 } } @@ -11809,29 +13512,29 @@ }, { "type": "ReturnStatement", - "start": 9452, - "end": 9465, + "start": 10722, + "end": 10735, "loc": { "start": { - "line": 287, + "line": 331, "column": 16 }, "end": { - "line": 287, + "line": 331, "column": 29 } }, "argument": { "type": "Identifier", - "start": 9459, - "end": 9464, + "start": 10729, + "end": 10734, "loc": { "start": { - "line": 287, + "line": 331, "column": 23 }, "end": { - "line": 287, + "line": 331, "column": 28 }, "identifierName": "frame" @@ -11844,114 +13547,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 9486, - "end": 9588, + "start": 10756, + "end": 10858, "loc": { "start": { - "line": 288, + "line": 332, "column": 19 }, "end": { - "line": 290, + "line": 334, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9505, - "end": 9573, + "start": 10775, + "end": 10843, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 84 } }, "expression": { "type": "CallExpression", - "start": 9505, - "end": 9572, + "start": 10775, + "end": 10842, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 9505, - "end": 9542, + "start": 10775, + "end": 10812, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 53 } }, "object": { "type": "CallExpression", - "start": 9505, - "end": 9536, + "start": 10775, + "end": 10806, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 9505, - "end": 9522, + "start": 10775, + "end": 10792, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 9505, - "end": 9515, + "start": 10775, + "end": 10785, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 26 } }, "object": { "type": "Identifier", - "start": 9505, - "end": 9508, + "start": 10775, + "end": 10778, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 19 }, "identifierName": "VYI" @@ -11960,15 +13663,15 @@ }, "property": { "type": "Identifier", - "start": 9509, - "end": 9515, + "start": 10779, + "end": 10785, "loc": { "start": { - "line": 289, + "line": 333, "column": 20 }, "end": { - "line": 289, + "line": 333, "column": 26 }, "identifierName": "logger" @@ -11979,15 +13682,15 @@ }, "property": { "type": "Identifier", - "start": 9516, - "end": 9522, + "start": 10786, + "end": 10792, "loc": { "start": { - "line": 289, + "line": 333, "column": 27 }, "end": { - "line": 289, + "line": 333, "column": 33 }, "identifierName": "prefix" @@ -11999,15 +13702,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9523, - "end": 9535, + "start": 10793, + "end": 10805, "loc": { "start": { - "line": 289, + "line": 333, "column": 34 }, "end": { - "line": 289, + "line": 333, "column": 46 } }, @@ -12021,15 +13724,15 @@ }, "property": { "type": "Identifier", - "start": 9537, - "end": 9542, + "start": 10807, + "end": 10812, "loc": { "start": { - "line": 289, + "line": 333, "column": 48 }, "end": { - "line": 289, + "line": 333, "column": 53 }, "identifierName": "error" @@ -12041,15 +13744,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9543, - "end": 9571, + "start": 10813, + "end": 10841, "loc": { "start": { - "line": 289, + "line": 333, "column": 54 }, "end": { - "line": 289, + "line": 333, "column": 82 } }, @@ -12071,114 +13774,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 9605, - "end": 9694, + "start": 10875, + "end": 10964, "loc": { "start": { - "line": 291, + "line": 335, "column": 15 }, "end": { - "line": 293, + "line": 337, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9620, - "end": 9683, + "start": 10890, + "end": 10953, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 9620, - "end": 9682, + "start": 10890, + "end": 10952, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 9620, - "end": 9657, + "start": 10890, + "end": 10927, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 49 } }, "object": { "type": "CallExpression", - "start": 9620, - "end": 9651, + "start": 10890, + "end": 10921, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 9620, - "end": 9637, + "start": 10890, + "end": 10907, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 9620, - "end": 9630, + "start": 10890, + "end": 10900, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 22 } }, "object": { "type": "Identifier", - "start": 9620, - "end": 9623, + "start": 10890, + "end": 10893, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 15 }, "identifierName": "VYI" @@ -12187,15 +13890,15 @@ }, "property": { "type": "Identifier", - "start": 9624, - "end": 9630, + "start": 10894, + "end": 10900, "loc": { "start": { - "line": 292, + "line": 336, "column": 16 }, "end": { - "line": 292, + "line": 336, "column": 22 }, "identifierName": "logger" @@ -12206,15 +13909,15 @@ }, "property": { "type": "Identifier", - "start": 9631, - "end": 9637, + "start": 10901, + "end": 10907, "loc": { "start": { - "line": 292, + "line": 336, "column": 23 }, "end": { - "line": 292, + "line": 336, "column": 29 }, "identifierName": "prefix" @@ -12226,15 +13929,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9638, - "end": 9650, + "start": 10908, + "end": 10920, "loc": { "start": { - "line": 292, + "line": 336, "column": 30 }, "end": { - "line": 292, + "line": 336, "column": 42 } }, @@ -12248,15 +13951,15 @@ }, "property": { "type": "Identifier", - "start": 9652, - "end": 9657, + "start": 10922, + "end": 10927, "loc": { "start": { - "line": 292, + "line": 336, "column": 44 }, "end": { - "line": 292, + "line": 336, "column": 49 }, "identifierName": "error" @@ -12268,15 +13971,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9658, - "end": 9681, + "start": 10928, + "end": 10951, "loc": { "start": { - "line": 292, + "line": 336, "column": 50 }, "end": { - "line": 292, + "line": 336, "column": 73 } }, @@ -12300,16 +14003,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8888, - "end": 9085, + "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", + "start": 10162, + "end": 10358, "loc": { "start": { - "line": 274, + "line": 318, "column": 4 }, "end": { - "line": 278, + "line": 322, "column": 7 } } @@ -12319,15 +14022,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9707, - "end": 10094, + "start": 10977, + "end": 11364, "loc": { "start": { - "line": 295, + "line": 339, "column": 4 }, "end": { - "line": 300, + "line": 344, "column": 7 } } @@ -12336,15 +14039,15 @@ }, { "type": "ClassMethod", - "start": 10100, - "end": 11071, + "start": 11370, + "end": 12341, "loc": { "start": { - "line": 301, + "line": 345, "column": 4 }, "end": { - "line": 327, + "line": 371, "column": 5 } }, @@ -12352,15 +14055,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10100, - "end": 10111, + "start": 11370, + "end": 11381, "loc": { "start": { - "line": 301, + "line": 345, "column": 4 }, "end": { - "line": 301, + "line": 345, "column": 15 }, "identifierName": "removeFrame" @@ -12376,15 +14079,15 @@ "params": [ { "type": "Identifier", - "start": 10112, - "end": 10118, + "start": 11382, + "end": 11388, "loc": { "start": { - "line": 301, + "line": 345, "column": 16 }, "end": { - "line": 301, + "line": 345, "column": 22 }, "identifierName": "pFrame" @@ -12393,15 +14096,15 @@ }, { "type": "Identifier", - "start": 10120, - "end": 10126, + "start": 11390, + "end": 11396, "loc": { "start": { - "line": 301, + "line": 345, "column": 24 }, "end": { - "line": 301, + "line": 345, "column": 30 }, "identifierName": "pIndex" @@ -12411,59 +14114,59 @@ ], "body": { "type": "BlockStatement", - "start": 10128, - "end": 11071, + "start": 11398, + "end": 12341, "loc": { "start": { - "line": 301, + "line": 345, "column": 32 }, "end": { - "line": 327, + "line": 371, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 10188, - "end": 10198, + "start": 11458, + "end": 11468, "loc": { "start": { - "line": 303, + "line": 347, "column": 8 }, "end": { - "line": 303, + "line": 347, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10192, - "end": 10197, + "start": 11462, + "end": 11467, "loc": { "start": { - "line": 303, + "line": 347, "column": 12 }, "end": { - "line": 303, + "line": 347, "column": 17 } }, "id": { "type": "Identifier", - "start": 10192, - "end": 10197, + "start": 11462, + "end": 11467, "loc": { "start": { - "line": 303, + "line": 347, "column": 12 }, "end": { - "line": 303, + "line": 347, "column": 17 }, "identifierName": "index" @@ -12480,15 +14183,15 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 10139, - "end": 10178, + "start": 11409, + "end": 11448, "loc": { "start": { - "line": 302, + "line": 346, "column": 8 }, "end": { - "line": 302, + "line": 346, "column": 47 } } @@ -12498,15 +14201,15 @@ { "type": "CommentLine", "value": " Remove via reference to frame.", - "start": 10208, - "end": 10241, + "start": 11478, + "end": 11511, "loc": { "start": { - "line": 304, + "line": 348, "column": 8 }, "end": { - "line": 304, + "line": 348, "column": 41 } } @@ -12515,71 +14218,71 @@ }, { "type": "IfStatement", - "start": 10251, - "end": 10832, + "start": 11521, + "end": 12102, "loc": { "start": { - "line": 305, + "line": 349, "column": 8 }, "end": { - "line": 319, + "line": 363, "column": 9 } }, "test": { "type": "CallExpression", - "start": 10255, - "end": 10283, + "start": 11525, + "end": 11553, "loc": { "start": { - "line": 305, + "line": 349, "column": 12 }, "end": { - "line": 305, + "line": 349, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 10255, - "end": 10275, + "start": 11525, + "end": 11545, "loc": { "start": { - "line": 305, + "line": 349, "column": 12 }, "end": { - "line": 305, + "line": 349, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10255, - "end": 10266, + "start": 11525, + "end": 11536, "loc": { "start": { - "line": 305, + "line": 349, "column": 12 }, "end": { - "line": 305, + "line": 349, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10255, - "end": 10259, + "start": 11525, + "end": 11529, "loc": { "start": { - "line": 305, + "line": 349, "column": 12 }, "end": { - "line": 305, + "line": 349, "column": 16 } }, @@ -12587,15 +14290,15 @@ }, "property": { "type": "Identifier", - "start": 10260, - "end": 10266, + "start": 11530, + "end": 11536, "loc": { "start": { - "line": 305, + "line": 349, "column": 17 }, "end": { - "line": 305, + "line": 349, "column": 23 }, "identifierName": "frames" @@ -12607,15 +14310,15 @@ }, "property": { "type": "Identifier", - "start": 10267, - "end": 10275, + "start": 11537, + "end": 11545, "loc": { "start": { - "line": 305, + "line": 349, "column": 24 }, "end": { - "line": 305, + "line": 349, "column": 32 }, "identifierName": "includes" @@ -12628,15 +14331,15 @@ "arguments": [ { "type": "Identifier", - "start": 10276, - "end": 10282, + "start": 11546, + "end": 11552, "loc": { "start": { - "line": 305, + "line": 349, "column": 33 }, "end": { - "line": 305, + "line": 349, "column": 39 }, "identifierName": "pFrame" @@ -12648,59 +14351,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 10285, - "end": 10384, + "start": 11555, + "end": 11654, "loc": { "start": { - "line": 305, + "line": 349, "column": 42 }, "end": { - "line": 308, + "line": 352, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10300, - "end": 10336, + "start": 11570, + "end": 11606, "loc": { "start": { - "line": 306, + "line": 350, "column": 12 }, "end": { - "line": 306, + "line": 350, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 10300, - "end": 10335, + "start": 11570, + "end": 11605, "loc": { "start": { - "line": 306, + "line": 350, "column": 12 }, "end": { - "line": 306, + "line": 350, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10300, - "end": 10305, + "start": 11570, + "end": 11575, "loc": { "start": { - "line": 306, + "line": 350, "column": 12 }, "end": { - "line": 306, + "line": 350, "column": 17 }, "identifierName": "index" @@ -12709,72 +14412,72 @@ }, "right": { "type": "CallExpression", - "start": 10308, - "end": 10335, + "start": 11578, + "end": 11605, "loc": { "start": { - "line": 306, + "line": 350, "column": 20 }, "end": { - "line": 306, + "line": 350, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 10308, - "end": 10327, + "start": 11578, + "end": 11597, "loc": { "start": { - "line": 306, + "line": 350, "column": 20 }, "end": { - "line": 306, + "line": 350, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 10308, - "end": 10319, + "start": 11578, + "end": 11589, "loc": { "start": { - "line": 306, + "line": 350, "column": 20 }, "end": { - "line": 306, + "line": 350, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 10308, - "end": 10312, + "start": 11578, + "end": 11582, "loc": { "start": { - "line": 306, + "line": 350, "column": 20 }, "end": { - "line": 306, + "line": 350, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10313, - "end": 10319, + "start": 11583, + "end": 11589, "loc": { "start": { - "line": 306, + "line": 350, "column": 25 }, "end": { - "line": 306, + "line": 350, "column": 31 }, "identifierName": "frames" @@ -12785,15 +14488,15 @@ }, "property": { "type": "Identifier", - "start": 10320, - "end": 10327, + "start": 11590, + "end": 11597, "loc": { "start": { - "line": 306, + "line": 350, "column": 32 }, "end": { - "line": 306, + "line": 350, "column": 39 }, "identifierName": "indexOf" @@ -12805,15 +14508,15 @@ "arguments": [ { "type": "Identifier", - "start": 10328, - "end": 10334, + "start": 11598, + "end": 11604, "loc": { "start": { - "line": 306, + "line": 350, "column": 40 }, "end": { - "line": 306, + "line": 350, "column": 46 }, "identifierName": "pFrame" @@ -12827,15 +14530,15 @@ { "type": "CommentLine", "value": " Remove via index passed.", - "start": 10346, - "end": 10373, + "start": 11616, + "end": 11643, "loc": { "start": { - "line": 307, + "line": 351, "column": 8 }, "end": { - "line": 307, + "line": 351, "column": 35 } } @@ -12847,43 +14550,43 @@ }, "alternate": { "type": "IfStatement", - "start": 10390, - "end": 10832, + "start": 11660, + "end": 12102, "loc": { "start": { - "line": 308, + "line": 352, "column": 15 }, "end": { - "line": 319, + "line": 363, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10394, - "end": 10416, + "start": 11664, + "end": 11686, "loc": { "start": { - "line": 308, + "line": 352, "column": 19 }, "end": { - "line": 308, + "line": 352, "column": 41 } }, "left": { "type": "Identifier", - "start": 10394, - "end": 10400, + "start": 11664, + "end": 11670, "loc": { "start": { - "line": 308, + "line": 352, "column": 19 }, "end": { - "line": 308, + "line": 352, "column": 25 }, "identifierName": "pIndex" @@ -12893,29 +14596,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10404, - "end": 10416, + "start": 11674, + "end": 11686, "loc": { "start": { - "line": 308, + "line": 352, "column": 29 }, "end": { - "line": 308, + "line": 352, "column": 41 } }, "left": { "type": "Identifier", - "start": 10404, - "end": 10410, + "start": 11674, + "end": 11680, "loc": { "start": { - "line": 308, + "line": 352, "column": 29 }, "end": { - "line": 308, + "line": 352, "column": 35 }, "identifierName": "pIndex" @@ -12925,15 +14628,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 10415, - "end": 10416, + "start": 11685, + "end": 11686, "loc": { "start": { - "line": 308, + "line": 352, "column": 40 }, "end": { - "line": 308, + "line": 352, "column": 41 } }, @@ -12947,58 +14650,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 10418, - "end": 10735, + "start": 11688, + "end": 12005, "loc": { "start": { - "line": 308, + "line": 352, "column": 43 }, "end": { - "line": 317, + "line": 361, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10433, - "end": 10724, + "start": 11703, + "end": 11994, "loc": { "start": { - "line": 309, + "line": 353, "column": 12 }, "end": { - "line": 316, + "line": 360, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10437, - "end": 10464, + "start": 11707, + "end": 11734, "loc": { "start": { - "line": 309, + "line": 353, "column": 16 }, "end": { - "line": 309, + "line": 353, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10437, - "end": 10451, + "start": 11707, + "end": 11721, "loc": { "start": { - "line": 309, + "line": 353, "column": 16 }, "end": { - "line": 309, + "line": 353, "column": 30 } }, @@ -13006,15 +14709,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10444, - "end": 10450, + "start": 11714, + "end": 11720, "loc": { "start": { - "line": 309, + "line": 353, "column": 23 }, "end": { - "line": 309, + "line": 353, "column": 29 }, "identifierName": "pIndex" @@ -13022,7 +14725,7 @@ "name": "pIndex", "extra": { "parenthesized": true, - "parenStart": 10443 + "parenStart": 11713 } }, "extra": { @@ -13032,15 +14735,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10456, - "end": 10464, + "start": 11726, + "end": 11734, "loc": { "start": { - "line": 309, + "line": 353, "column": 35 }, "end": { - "line": 309, + "line": 353, "column": 43 } }, @@ -13053,59 +14756,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 10466, - "end": 10622, + "start": 11736, + "end": 11892, "loc": { "start": { - "line": 309, + "line": 353, "column": 45 }, "end": { - "line": 314, + "line": 358, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 10485, - "end": 10521, + "start": 11755, + "end": 11791, "loc": { "start": { - "line": 310, + "line": 354, "column": 16 }, "end": { - "line": 310, + "line": 354, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10491, - "end": 10520, + "start": 11761, + "end": 11790, "loc": { "start": { - "line": 310, + "line": 354, "column": 22 }, "end": { - "line": 310, + "line": 354, "column": 51 } }, "id": { "type": "Identifier", - "start": 10491, - "end": 10496, + "start": 11761, + "end": 11766, "loc": { "start": { - "line": 310, + "line": 354, "column": 22 }, "end": { - "line": 310, + "line": 354, "column": 27 }, "identifierName": "frame" @@ -13114,58 +14817,58 @@ }, "init": { "type": "CallExpression", - "start": 10499, - "end": 10520, + "start": 11769, + "end": 11790, "loc": { "start": { - "line": 310, + "line": 354, "column": 30 }, "end": { - "line": 310, + "line": 354, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10499, - "end": 10512, + "start": 11769, + "end": 11782, "loc": { "start": { - "line": 310, + "line": 354, "column": 30 }, "end": { - "line": 310, + "line": 354, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 10499, - "end": 10503, + "start": 11769, + "end": 11773, "loc": { "start": { - "line": 310, + "line": 354, "column": 30 }, "end": { - "line": 310, + "line": 354, "column": 34 } } }, "property": { "type": "Identifier", - "start": 10504, - "end": 10512, + "start": 11774, + "end": 11782, "loc": { "start": { - "line": 310, + "line": 354, "column": 35 }, "end": { - "line": 310, + "line": 354, "column": 43 }, "identifierName": "getFrame" @@ -13177,15 +14880,15 @@ "arguments": [ { "type": "Identifier", - "start": 10513, - "end": 10519, + "start": 11783, + "end": 11789, "loc": { "start": { - "line": 310, + "line": 354, "column": 44 }, "end": { - "line": 310, + "line": 354, "column": 50 }, "identifierName": "pIndex" @@ -13200,29 +14903,29 @@ }, { "type": "IfStatement", - "start": 10539, - "end": 10607, + "start": 11809, + "end": 11877, "loc": { "start": { - "line": 311, + "line": 355, "column": 16 }, "end": { - "line": 313, + "line": 357, "column": 17 } }, "test": { "type": "Identifier", - "start": 10543, - "end": 10548, + "start": 11813, + "end": 11818, "loc": { "start": { - "line": 311, + "line": 355, "column": 20 }, "end": { - "line": 311, + "line": 355, "column": 25 }, "identifierName": "frame" @@ -13231,59 +14934,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 10550, - "end": 10607, + "start": 11820, + "end": 11877, "loc": { "start": { - "line": 311, + "line": 355, "column": 27 }, "end": { - "line": 313, + "line": 357, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10573, - "end": 10588, + "start": 11843, + "end": 11858, "loc": { "start": { - "line": 312, + "line": 356, "column": 20 }, "end": { - "line": 312, + "line": 356, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 10573, - "end": 10587, + "start": 11843, + "end": 11857, "loc": { "start": { - "line": 312, + "line": 356, "column": 20 }, "end": { - "line": 312, + "line": 356, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10573, - "end": 10578, + "start": 11843, + "end": 11848, "loc": { "start": { - "line": 312, + "line": 356, "column": 20 }, "end": { - "line": 312, + "line": 356, "column": 25 }, "identifierName": "index" @@ -13292,15 +14995,15 @@ }, "right": { "type": "Identifier", - "start": 10581, - "end": 10587, + "start": 11851, + "end": 11857, "loc": { "start": { - "line": 312, + "line": 356, "column": 28 }, "end": { - "line": 312, + "line": 356, "column": 34 }, "identifierName": "pIndex" @@ -13319,114 +15022,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 10628, - "end": 10724, + "start": 11898, + "end": 11994, "loc": { "start": { - "line": 314, + "line": 358, "column": 19 }, "end": { - "line": 316, + "line": 360, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10647, - "end": 10709, + "start": 11917, + "end": 11979, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 78 } }, "expression": { "type": "CallExpression", - "start": 10647, - "end": 10708, + "start": 11917, + "end": 11978, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 10647, - "end": 10684, + "start": 11917, + "end": 11954, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 53 } }, "object": { "type": "CallExpression", - "start": 10647, - "end": 10678, + "start": 11917, + "end": 11948, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 10647, - "end": 10664, + "start": 11917, + "end": 11934, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 10647, - "end": 10657, + "start": 11917, + "end": 11927, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 26 } }, "object": { "type": "Identifier", - "start": 10647, - "end": 10650, + "start": 11917, + "end": 11920, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 19 }, "identifierName": "VYI" @@ -13435,15 +15138,15 @@ }, "property": { "type": "Identifier", - "start": 10651, - "end": 10657, + "start": 11921, + "end": 11927, "loc": { "start": { - "line": 315, + "line": 359, "column": 20 }, "end": { - "line": 315, + "line": 359, "column": 26 }, "identifierName": "logger" @@ -13454,15 +15157,15 @@ }, "property": { "type": "Identifier", - "start": 10658, - "end": 10664, + "start": 11928, + "end": 11934, "loc": { "start": { - "line": 315, + "line": 359, "column": 27 }, "end": { - "line": 315, + "line": 359, "column": 33 }, "identifierName": "prefix" @@ -13474,15 +15177,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10665, - "end": 10677, + "start": 11935, + "end": 11947, "loc": { "start": { - "line": 315, + "line": 359, "column": 34 }, "end": { - "line": 315, + "line": 359, "column": 46 } }, @@ -13496,15 +15199,15 @@ }, "property": { "type": "Identifier", - "start": 10679, - "end": 10684, + "start": 11949, + "end": 11954, "loc": { "start": { - "line": 315, + "line": 359, "column": 48 }, "end": { - "line": 315, + "line": 359, "column": 53 }, "identifierName": "error" @@ -13516,15 +15219,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10685, - "end": 10707, + "start": 11955, + "end": 11977, "loc": { "start": { - "line": 315, + "line": 359, "column": 54 }, "end": { - "line": 315, + "line": 359, "column": 76 } }, @@ -13546,114 +15249,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 10741, - "end": 10832, + "start": 12011, + "end": 12102, "loc": { "start": { - "line": 317, + "line": 361, "column": 15 }, "end": { - "line": 319, + "line": 363, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10756, - "end": 10821, + "start": 12026, + "end": 12091, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 10756, - "end": 10820, + "start": 12026, + "end": 12090, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 10756, - "end": 10793, + "start": 12026, + "end": 12063, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 49 } }, "object": { "type": "CallExpression", - "start": 10756, - "end": 10787, + "start": 12026, + "end": 12057, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 10756, - "end": 10773, + "start": 12026, + "end": 12043, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 10756, - "end": 10766, + "start": 12026, + "end": 12036, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 22 } }, "object": { "type": "Identifier", - "start": 10756, - "end": 10759, + "start": 12026, + "end": 12029, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 15 }, "identifierName": "VYI" @@ -13662,15 +15365,15 @@ }, "property": { "type": "Identifier", - "start": 10760, - "end": 10766, + "start": 12030, + "end": 12036, "loc": { "start": { - "line": 318, + "line": 362, "column": 16 }, "end": { - "line": 318, + "line": 362, "column": 22 }, "identifierName": "logger" @@ -13681,15 +15384,15 @@ }, "property": { "type": "Identifier", - "start": 10767, - "end": 10773, + "start": 12037, + "end": 12043, "loc": { "start": { - "line": 318, + "line": 362, "column": 23 }, "end": { - "line": 318, + "line": 362, "column": 29 }, "identifierName": "prefix" @@ -13701,15 +15404,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10774, - "end": 10786, + "start": 12044, + "end": 12056, "loc": { "start": { - "line": 318, + "line": 362, "column": 30 }, "end": { - "line": 318, + "line": 362, "column": 42 } }, @@ -13723,15 +15426,15 @@ }, "property": { "type": "Identifier", - "start": 10788, - "end": 10793, + "start": 12058, + "end": 12063, "loc": { "start": { - "line": 318, + "line": 362, "column": 44 }, "end": { - "line": 318, + "line": 362, "column": 49 }, "identifierName": "error" @@ -13743,15 +15446,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10794, - "end": 10819, + "start": 12064, + "end": 12089, "loc": { "start": { - "line": 318, + "line": 362, "column": 50 }, "end": { - "line": 318, + "line": 362, "column": 75 } }, @@ -13772,15 +15475,15 @@ { "type": "CommentLine", "value": " Remove via reference to frame.", - "start": 10208, - "end": 10241, + "start": 11478, + "end": 11511, "loc": { "start": { - "line": 304, + "line": 348, "column": 8 }, "end": { - "line": 304, + "line": 348, "column": 41 } } @@ -13789,43 +15492,43 @@ }, { "type": "IfStatement", - "start": 10842, - "end": 11042, + "start": 12112, + "end": 12312, "loc": { "start": { - "line": 320, + "line": 364, "column": 8 }, "end": { - "line": 325, + "line": 369, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 10846, - "end": 10872, + "start": 12116, + "end": 12142, "loc": { "start": { - "line": 320, + "line": 364, "column": 12 }, "end": { - "line": 320, + "line": 364, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 10846, - "end": 10859, + "start": 12116, + "end": 12129, "loc": { "start": { - "line": 320, + "line": 364, "column": 12 }, "end": { - "line": 320, + "line": 364, "column": 25 } }, @@ -13833,15 +15536,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10853, - "end": 10858, + "start": 12123, + "end": 12128, "loc": { "start": { - "line": 320, + "line": 364, "column": 19 }, "end": { - "line": 320, + "line": 364, "column": 24 }, "identifierName": "index" @@ -13849,7 +15552,7 @@ "name": "index", "extra": { "parenthesized": true, - "parenStart": 10852 + "parenStart": 12122 } }, "extra": { @@ -13859,15 +15562,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10864, - "end": 10872, + "start": 12134, + "end": 12142, "loc": { "start": { - "line": 320, + "line": 364, "column": 30 }, "end": { - "line": 320, + "line": 364, "column": 38 } }, @@ -13880,86 +15583,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 10874, - "end": 11042, + "start": 12144, + "end": 12312, "loc": { "start": { - "line": 320, + "line": 364, "column": 40 }, "end": { - "line": 325, + "line": 369, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10922, - "end": 10951, + "start": 12192, + "end": 12221, "loc": { "start": { - "line": 322, + "line": 366, "column": 12 }, "end": { - "line": 322, + "line": 366, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 10922, - "end": 10950, + "start": 12192, + "end": 12220, "loc": { "start": { - "line": 322, + "line": 366, "column": 12 }, "end": { - "line": 322, + "line": 366, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 10922, - "end": 10940, + "start": 12192, + "end": 12210, "loc": { "start": { - "line": 322, + "line": 366, "column": 12 }, "end": { - "line": 322, + "line": 366, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10922, - "end": 10933, + "start": 12192, + "end": 12203, "loc": { "start": { - "line": 322, + "line": 366, "column": 12 }, "end": { - "line": 322, + "line": 366, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10922, - "end": 10926, + "start": 12192, + "end": 12196, "loc": { "start": { - "line": 322, + "line": 366, "column": 12 }, "end": { - "line": 322, + "line": 366, "column": 16 } }, @@ -13967,15 +15670,15 @@ }, "property": { "type": "Identifier", - "start": 10927, - "end": 10933, + "start": 12197, + "end": 12203, "loc": { "start": { - "line": 322, + "line": 366, "column": 17 }, "end": { - "line": 322, + "line": 366, "column": 23 }, "identifierName": "frames" @@ -13987,15 +15690,15 @@ }, "property": { "type": "Identifier", - "start": 10934, - "end": 10940, + "start": 12204, + "end": 12210, "loc": { "start": { - "line": 322, + "line": 366, "column": 24 }, "end": { - "line": 322, + "line": 366, "column": 30 }, "identifierName": "splice" @@ -14008,15 +15711,15 @@ "arguments": [ { "type": "Identifier", - "start": 10941, - "end": 10946, + "start": 12211, + "end": 12216, "loc": { "start": { - "line": 322, + "line": 366, "column": 31 }, "end": { - "line": 322, + "line": 366, "column": 36 }, "identifierName": "index" @@ -14025,15 +15728,15 @@ }, { "type": "NumericLiteral", - "start": 10948, - "end": 10949, + "start": 12218, + "end": 12219, "loc": { "start": { - "line": 322, + "line": 366, "column": 38 }, "end": { - "line": 322, + "line": 366, "column": 39 } }, @@ -14050,15 +15753,15 @@ { "type": "CommentLine", "value": " Remove the frame", - "start": 10889, - "end": 10908, + "start": 12159, + "end": 12178, "loc": { "start": { - "line": 321, + "line": 365, "column": 12 }, "end": { - "line": 321, + "line": 365, "column": 31 } } @@ -14068,15 +15771,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 10965, - "end": 10998, + "start": 12235, + "end": 12268, "loc": { "start": { - "line": 323, + "line": 367, "column": 12 }, "end": { - "line": 323, + "line": 367, "column": 45 } } @@ -14085,57 +15788,57 @@ }, { "type": "ExpressionStatement", - "start": 11012, - "end": 11031, + "start": 12282, + "end": 12301, "loc": { "start": { - "line": 324, + "line": 368, "column": 12 }, "end": { - "line": 324, + "line": 368, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 11012, - "end": 11030, + "start": 12282, + "end": 12300, "loc": { "start": { - "line": 324, + "line": 368, "column": 12 }, "end": { - "line": 324, + "line": 368, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 11012, - "end": 11028, + "start": 12282, + "end": 12298, "loc": { "start": { - "line": 324, + "line": 368, "column": 12 }, "end": { - "line": 324, + "line": 368, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 11012, - "end": 11016, + "start": 12282, + "end": 12286, "loc": { "start": { - "line": 324, + "line": 368, "column": 12 }, "end": { - "line": 324, + "line": 368, "column": 16 } }, @@ -14143,15 +15846,15 @@ }, "property": { "type": "Identifier", - "start": 11017, - "end": 11028, + "start": 12287, + "end": 12298, "loc": { "start": { - "line": 324, + "line": 368, "column": 17 }, "end": { - "line": 324, + "line": 368, "column": 28 }, "identifierName": "indexFrames" @@ -14168,15 +15871,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 10965, - "end": 10998, + "start": 12235, + "end": 12268, "loc": { "start": { - "line": 323, + "line": 367, "column": 12 }, "end": { - "line": 323, + "line": 367, "column": 45 } } @@ -14190,29 +15893,29 @@ }, { "type": "ReturnStatement", - "start": 11052, - "end": 11064, + "start": 12322, + "end": 12334, "loc": { "start": { - "line": 326, + "line": 370, "column": 8 }, "end": { - "line": 326, + "line": 370, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 11059, - "end": 11063, + "start": 12329, + "end": 12333, "loc": { "start": { - "line": 326, + "line": 370, "column": 15 }, "end": { - "line": 326, + "line": 370, "column": 19 } } @@ -14226,15 +15929,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9707, - "end": 10094, + "start": 10977, + "end": 11364, "loc": { "start": { - "line": 295, + "line": 339, "column": 4 }, "end": { - "line": 300, + "line": 344, "column": 7 } } @@ -14244,15 +15947,15 @@ { "type": "CommentBlock", "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11077, - "end": 11141, + "start": 12347, + "end": 12411, "loc": { "start": { - "line": 328, + "line": 372, "column": 4 }, "end": { - "line": 331, + "line": 375, "column": 7 } } @@ -14261,15 +15964,15 @@ }, { "type": "ClassMethod", - "start": 11147, - "end": 11316, + "start": 12417, + "end": 12586, "loc": { "start": { - "line": 332, + "line": 376, "column": 4 }, "end": { - "line": 337, + "line": 381, "column": 5 } }, @@ -14277,15 +15980,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11147, - "end": 11158, + "start": 12417, + "end": 12428, "loc": { "start": { - "line": 332, + "line": 376, "column": 4 }, "end": { - "line": 332, + "line": 376, "column": 15 }, "identifierName": "indexFrames" @@ -14301,86 +16004,86 @@ "params": [], "body": { "type": "BlockStatement", - "start": 11161, - "end": 11316, + "start": 12431, + "end": 12586, "loc": { "start": { - "line": 332, + "line": 376, "column": 18 }, "end": { - "line": 337, + "line": 381, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 11219, - "end": 11309, + "start": 12489, + "end": 12579, "loc": { "start": { - "line": 334, + "line": 378, "column": 8 }, "end": { - "line": 336, + "line": 380, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 11219, - "end": 11308, + "start": 12489, + "end": 12578, "loc": { "start": { - "line": 334, + "line": 378, "column": 8 }, "end": { - "line": 336, + "line": 380, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 11219, - "end": 11238, + "start": 12489, + "end": 12508, "loc": { "start": { - "line": 334, + "line": 378, "column": 8 }, "end": { - "line": 334, + "line": 378, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 11219, - "end": 11230, + "start": 12489, + "end": 12500, "loc": { "start": { - "line": 334, + "line": 378, "column": 8 }, "end": { - "line": 334, + "line": 378, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 11219, - "end": 11223, + "start": 12489, + "end": 12493, "loc": { "start": { - "line": 334, + "line": 378, "column": 8 }, "end": { - "line": 334, + "line": 378, "column": 12 } }, @@ -14388,15 +16091,15 @@ }, "property": { "type": "Identifier", - "start": 11224, - "end": 11230, + "start": 12494, + "end": 12500, "loc": { "start": { - "line": 334, + "line": 378, "column": 13 }, "end": { - "line": 334, + "line": 378, "column": 19 }, "identifierName": "frames" @@ -14408,15 +16111,15 @@ }, "property": { "type": "Identifier", - "start": 11231, - "end": 11238, + "start": 12501, + "end": 12508, "loc": { "start": { - "line": 334, + "line": 378, "column": 20 }, "end": { - "line": 334, + "line": 378, "column": 27 }, "identifierName": "forEach" @@ -14429,15 +16132,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11239, - "end": 11307, + "start": 12509, + "end": 12577, "loc": { "start": { - "line": 334, + "line": 378, "column": 28 }, "end": { - "line": 336, + "line": 380, "column": 9 } }, @@ -14448,15 +16151,15 @@ "params": [ { "type": "Identifier", - "start": 11240, - "end": 11246, + "start": 12510, + "end": 12516, "loc": { "start": { - "line": 334, + "line": 378, "column": 29 }, "end": { - "line": 334, + "line": 378, "column": 35 }, "identifierName": "pFrame" @@ -14465,15 +16168,15 @@ }, { "type": "Identifier", - "start": 11248, - "end": 11254, + "start": 12518, + "end": 12524, "loc": { "start": { - "line": 334, + "line": 378, "column": 37 }, "end": { - "line": 334, + "line": 378, "column": 43 }, "identifierName": "pIndex" @@ -14483,73 +16186,73 @@ ], "body": { "type": "BlockStatement", - "start": 11259, - "end": 11307, + "start": 12529, + "end": 12577, "loc": { "start": { - "line": 334, + "line": 378, "column": 48 }, "end": { - "line": 336, + "line": 380, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11274, - "end": 11296, + "start": 12544, + "end": 12566, "loc": { "start": { - "line": 335, + "line": 379, "column": 12 }, "end": { - "line": 335, + "line": 379, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 11274, - "end": 11295, + "start": 12544, + "end": 12565, "loc": { "start": { - "line": 335, + "line": 379, "column": 12 }, "end": { - "line": 335, + "line": 379, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11274, - "end": 11286, + "start": 12544, + "end": 12556, "loc": { "start": { - "line": 335, + "line": 379, "column": 12 }, "end": { - "line": 335, + "line": 379, "column": 24 } }, "object": { "type": "Identifier", - "start": 11274, - "end": 11280, + "start": 12544, + "end": 12550, "loc": { "start": { - "line": 335, + "line": 379, "column": 12 }, "end": { - "line": 335, + "line": 379, "column": 18 }, "identifierName": "pFrame" @@ -14558,15 +16261,15 @@ }, "property": { "type": "Identifier", - "start": 11281, - "end": 11286, + "start": 12551, + "end": 12556, "loc": { "start": { - "line": 335, + "line": 379, "column": 19 }, "end": { - "line": 335, + "line": 379, "column": 24 }, "identifierName": "index" @@ -14577,15 +16280,15 @@ }, "right": { "type": "Identifier", - "start": 11289, - "end": 11295, + "start": 12559, + "end": 12565, "loc": { "start": { - "line": 335, + "line": 379, "column": 27 }, "end": { - "line": 335, + "line": 379, "column": 33 }, "identifierName": "pIndex" @@ -14605,15 +16308,15 @@ { "type": "CommentLine", "value": " Reorder the frames after removing.", - "start": 11172, - "end": 11209, + "start": 12442, + "end": 12479, "loc": { "start": { - "line": 333, + "line": 377, "column": 8 }, "end": { - "line": 333, + "line": 377, "column": 45 } } @@ -14628,15 +16331,15 @@ { "type": "CommentBlock", "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11077, - "end": 11141, + "start": 12347, + "end": 12411, "loc": { "start": { - "line": 328, + "line": 372, "column": 4 }, "end": { - "line": 331, + "line": 375, "column": 7 } } @@ -14646,15 +16349,15 @@ { "type": "CommentBlock", "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11322, - "end": 11861, + "start": 12592, + "end": 13131, "loc": { "start": { - "line": 338, + "line": 382, "column": 4 }, "end": { - "line": 345, + "line": 389, "column": 7 } } @@ -14663,15 +16366,15 @@ }, { "type": "ClassMethod", - "start": 11867, - "end": 13796, + "start": 13137, + "end": 15066, "loc": { "start": { - "line": 346, + "line": 390, "column": 4 }, "end": { - "line": 386, + "line": 430, "column": 5 } }, @@ -14679,15 +16382,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11867, - "end": 11879, + "start": 13137, + "end": 13149, "loc": { "start": { - "line": 346, + "line": 390, "column": 4 }, "end": { - "line": 346, + "line": 390, "column": 16 }, "identifierName": "reorderFrame" @@ -14703,15 +16406,15 @@ "params": [ { "type": "Identifier", - "start": 11880, - "end": 11893, + "start": 13150, + "end": 13163, "loc": { "start": { - "line": 346, + "line": 390, "column": 17 }, "end": { - "line": 346, + "line": 390, "column": 30 }, "identifierName": "pCurrentIndex" @@ -14720,15 +16423,15 @@ }, { "type": "Identifier", - "start": 11895, - "end": 11901, + "start": 13165, + "end": 13171, "loc": { "start": { - "line": 346, + "line": 390, "column": 32 }, "end": { - "line": 346, + "line": 390, "column": 38 }, "identifierName": "pIndex" @@ -14738,72 +16441,72 @@ ], "body": { "type": "BlockStatement", - "start": 11903, - "end": 13796, + "start": 13173, + "end": 15066, "loc": { "start": { - "line": 346, + "line": 390, "column": 40 }, "end": { - "line": 386, + "line": 430, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11914, - "end": 13767, + "start": 13184, + "end": 15037, "loc": { "start": { - "line": 347, + "line": 391, "column": 8 }, "end": { - "line": 384, + "line": 428, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 11918, - "end": 11983, + "start": 13188, + "end": 13253, "loc": { "start": { - "line": 347, + "line": 391, "column": 12 }, "end": { - "line": 347, + "line": 391, "column": 77 } }, "left": { "type": "BinaryExpression", - "start": 11918, - "end": 11952, + "start": 13188, + "end": 13222, "loc": { "start": { - "line": 347, + "line": 391, "column": 12 }, "end": { - "line": 347, + "line": 391, "column": 46 } }, "left": { "type": "UnaryExpression", - "start": 11918, - "end": 11939, + "start": 13188, + "end": 13209, "loc": { "start": { - "line": 347, + "line": 391, "column": 12 }, "end": { - "line": 347, + "line": 391, "column": 33 } }, @@ -14811,15 +16514,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 11925, - "end": 11938, + "start": 13195, + "end": 13208, "loc": { "start": { - "line": 347, + "line": 391, "column": 19 }, "end": { - "line": 347, + "line": 391, "column": 32 }, "identifierName": "pCurrentIndex" @@ -14827,7 +16530,7 @@ "name": "pCurrentIndex", "extra": { "parenthesized": true, - "parenStart": 11924 + "parenStart": 13194 } }, "extra": { @@ -14837,15 +16540,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 11944, - "end": 11952, + "start": 13214, + "end": 13222, "loc": { "start": { - "line": 347, + "line": 391, "column": 38 }, "end": { - "line": 347, + "line": 391, "column": 46 } }, @@ -14859,29 +16562,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 11956, - "end": 11983, + "start": 13226, + "end": 13253, "loc": { "start": { - "line": 347, + "line": 391, "column": 50 }, "end": { - "line": 347, + "line": 391, "column": 77 } }, "left": { "type": "UnaryExpression", - "start": 11956, - "end": 11970, + "start": 13226, + "end": 13240, "loc": { "start": { - "line": 347, + "line": 391, "column": 50 }, "end": { - "line": 347, + "line": 391, "column": 64 } }, @@ -14889,15 +16592,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 11963, - "end": 11969, + "start": 13233, + "end": 13239, "loc": { "start": { - "line": 347, + "line": 391, "column": 57 }, "end": { - "line": 347, + "line": 391, "column": 63 }, "identifierName": "pIndex" @@ -14905,7 +16608,7 @@ "name": "pIndex", "extra": { "parenthesized": true, - "parenStart": 11962 + "parenStart": 13232 } }, "extra": { @@ -14915,15 +16618,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 11975, - "end": 11983, + "start": 13245, + "end": 13253, "loc": { "start": { - "line": 347, + "line": 391, "column": 69 }, "end": { - "line": 347, + "line": 391, "column": 77 } }, @@ -14937,59 +16640,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 11985, - "end": 13675, + "start": 13255, + "end": 14945, "loc": { "start": { - "line": 347, + "line": 391, "column": 79 }, "end": { - "line": 382, + "line": 426, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 12000, - "end": 12017, + "start": 13270, + "end": 13287, "loc": { "start": { - "line": 348, + "line": 392, "column": 12 }, "end": { - "line": 348, + "line": 392, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12004, - "end": 12016, + "start": 13274, + "end": 13286, "loc": { "start": { - "line": 348, + "line": 392, "column": 16 }, "end": { - "line": 348, + "line": 392, "column": 28 } }, "id": { "type": "Identifier", - "start": 12004, - "end": 12016, + "start": 13274, + "end": 13286, "loc": { "start": { - "line": 348, + "line": 392, "column": 16 }, "end": { - "line": 348, + "line": 392, "column": 28 }, "identifierName": "frameAtIndex" @@ -15003,44 +16706,44 @@ }, { "type": "VariableDeclaration", - "start": 12031, - "end": 12048, + "start": 13301, + "end": 13318, "loc": { "start": { - "line": 349, + "line": 393, "column": 12 }, "end": { - "line": 349, + "line": 393, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12035, - "end": 12047, + "start": 13305, + "end": 13317, "loc": { "start": { - "line": 349, + "line": 393, "column": 16 }, "end": { - "line": 349, + "line": 393, "column": 28 } }, "id": { "type": "Identifier", - "start": 12035, - "end": 12047, + "start": 13305, + "end": 13317, "loc": { "start": { - "line": 349, + "line": 393, "column": 16 }, "end": { - "line": 349, + "line": 393, "column": 28 }, "identifierName": "currentFrame" @@ -15055,15 +16758,15 @@ { "type": "CommentLine", "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12062, - "end": 12210, + "start": 13332, + "end": 13480, "loc": { "start": { - "line": 350, + "line": 394, "column": 12 }, "end": { - "line": 350, + "line": 394, "column": 160 } } @@ -15071,15 +16774,15 @@ { "type": "CommentLine", "value": " as the frame 0.", - "start": 12224, - "end": 12242, + "start": 13494, + "end": 13512, "loc": { "start": { - "line": 351, + "line": 395, "column": 12 }, "end": { - "line": 351, + "line": 395, "column": 30 } } @@ -15088,43 +16791,43 @@ }, { "type": "IfStatement", - "start": 12256, - "end": 12554, + "start": 13526, + "end": 13824, "loc": { "start": { - "line": 352, + "line": 396, "column": 12 }, "end": { - "line": 357, + "line": 401, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 12260, - "end": 12280, + "start": 13530, + "end": 13550, "loc": { "start": { - "line": 352, + "line": 396, "column": 16 }, "end": { - "line": 352, + "line": 396, "column": 36 } }, "left": { "type": "Identifier", - "start": 12260, - "end": 12273, + "start": 13530, + "end": 13543, "loc": { "start": { - "line": 352, + "line": 396, "column": 16 }, "end": { - "line": 352, + "line": 396, "column": 29 }, "identifierName": "pCurrentIndex" @@ -15135,15 +16838,15 @@ "operator": "===", "right": { "type": "UnaryExpression", - "start": 12278, - "end": 12280, + "start": 13548, + "end": 13550, "loc": { "start": { - "line": 352, + "line": 396, "column": 34 }, "end": { - "line": 352, + "line": 396, "column": 36 } }, @@ -15151,15 +16854,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 12279, - "end": 12280, + "start": 13549, + "end": 13550, "loc": { "start": { - "line": 352, + "line": 396, "column": 35 }, "end": { - "line": 352, + "line": 396, "column": 36 } }, @@ -15177,59 +16880,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12282, - "end": 12440, + "start": 13552, + "end": 13710, "loc": { "start": { - "line": 352, + "line": 396, "column": 38 }, "end": { - "line": 355, + "line": 399, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12301, - "end": 12321, + "start": 13571, + "end": 13591, "loc": { "start": { - "line": 353, + "line": 397, "column": 16 }, "end": { - "line": 353, + "line": 397, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 12301, - "end": 12320, + "start": 13571, + "end": 13590, "loc": { "start": { - "line": 353, + "line": 397, "column": 16 }, "end": { - "line": 353, + "line": 397, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12301, - "end": 12313, + "start": 13571, + "end": 13583, "loc": { "start": { - "line": 353, + "line": 397, "column": 16 }, "end": { - "line": 353, + "line": 397, "column": 28 }, "identifierName": "currentFrame" @@ -15238,15 +16941,15 @@ }, "right": { "type": "ThisExpression", - "start": 12316, - "end": 12320, + "start": 13586, + "end": 13590, "loc": { "start": { - "line": 353, + "line": 397, "column": 31 }, "end": { - "line": 353, + "line": 397, "column": 35 } } @@ -15256,15 +16959,15 @@ { "type": "CommentLine", "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 12335, - "end": 12425, + "start": 13605, + "end": 13695, "loc": { "start": { - "line": 354, + "line": 398, "column": 12 }, "end": { - "line": 354, + "line": 398, "column": 102 } } @@ -15276,72 +16979,72 @@ }, "alternate": { "type": "IfStatement", - "start": 12446, - "end": 12554, + "start": 13716, + "end": 13824, "loc": { "start": { - "line": 355, + "line": 399, "column": 19 }, "end": { - "line": 357, + "line": 401, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 12450, - "end": 12476, + "start": 13720, + "end": 13746, "loc": { "start": { - "line": 355, + "line": 399, "column": 23 }, "end": { - "line": 355, + "line": 399, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 12450, - "end": 12461, + "start": 13720, + "end": 13731, "loc": { "start": { - "line": 355, + "line": 399, "column": 23 }, "end": { - "line": 355, + "line": 399, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 12450, - "end": 12454, + "start": 13720, + "end": 13724, "loc": { "start": { - "line": 355, + "line": 399, "column": 23 }, "end": { - "line": 355, + "line": 399, "column": 27 } } }, "property": { "type": "Identifier", - "start": 12455, - "end": 12461, + "start": 13725, + "end": 13731, "loc": { "start": { - "line": 355, + "line": 399, "column": 28 }, "end": { - "line": 355, + "line": 399, "column": 34 }, "identifierName": "frames" @@ -15352,15 +17055,15 @@ }, "property": { "type": "Identifier", - "start": 12462, - "end": 12475, + "start": 13732, + "end": 13745, "loc": { "start": { - "line": 355, + "line": 399, "column": 35 }, "end": { - "line": 355, + "line": 399, "column": 48 }, "identifierName": "pCurrentIndex" @@ -15371,59 +17074,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12478, - "end": 12554, + "start": 13748, + "end": 13824, "loc": { "start": { - "line": 355, + "line": 399, "column": 51 }, "end": { - "line": 357, + "line": 401, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12497, - "end": 12539, + "start": 13767, + "end": 13809, "loc": { "start": { - "line": 356, + "line": 400, "column": 16 }, "end": { - "line": 356, + "line": 400, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 12497, - "end": 12538, + "start": 13767, + "end": 13808, "loc": { "start": { - "line": 356, + "line": 400, "column": 16 }, "end": { - "line": 356, + "line": 400, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12497, - "end": 12509, + "start": 13767, + "end": 13779, "loc": { "start": { - "line": 356, + "line": 400, "column": 16 }, "end": { - "line": 356, + "line": 400, "column": 28 }, "identifierName": "currentFrame" @@ -15432,58 +17135,58 @@ }, "right": { "type": "MemberExpression", - "start": 12512, - "end": 12538, + "start": 13782, + "end": 13808, "loc": { "start": { - "line": 356, + "line": 400, "column": 31 }, "end": { - "line": 356, + "line": 400, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 12512, - "end": 12523, + "start": 13782, + "end": 13793, "loc": { "start": { - "line": 356, + "line": 400, "column": 31 }, "end": { - "line": 356, + "line": 400, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 12512, - "end": 12516, + "start": 13782, + "end": 13786, "loc": { "start": { - "line": 356, + "line": 400, "column": 31 }, "end": { - "line": 356, + "line": 400, "column": 35 } } }, "property": { "type": "Identifier", - "start": 12517, - "end": 12523, + "start": 13787, + "end": 13793, "loc": { "start": { - "line": 356, + "line": 400, "column": 36 }, "end": { - "line": 356, + "line": 400, "column": 42 }, "identifierName": "frames" @@ -15494,15 +17197,15 @@ }, "property": { "type": "Identifier", - "start": 12524, - "end": 12537, + "start": 13794, + "end": 13807, "loc": { "start": { - "line": 356, + "line": 400, "column": 43 }, "end": { - "line": 356, + "line": 400, "column": 56 }, "identifierName": "pCurrentIndex" @@ -15524,15 +17227,15 @@ { "type": "CommentLine", "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12062, - "end": 12210, + "start": 13332, + "end": 13480, "loc": { "start": { - "line": 350, + "line": 394, "column": 12 }, "end": { - "line": 350, + "line": 394, "column": 160 } } @@ -15540,15 +17243,15 @@ { "type": "CommentLine", "value": " as the frame 0.", - "start": 12224, - "end": 12242, + "start": 13494, + "end": 13512, "loc": { "start": { - "line": 351, + "line": 395, "column": 12 }, "end": { - "line": 351, + "line": 395, "column": 30 } } @@ -15558,15 +17261,15 @@ { "type": "CommentLine", "value": " We get the frame at the specified index.", - "start": 12570, - "end": 12613, + "start": 13840, + "end": 13883, "loc": { "start": { - "line": 359, + "line": 403, "column": 12 }, "end": { - "line": 359, + "line": 403, "column": 55 } } @@ -15575,57 +17278,57 @@ }, { "type": "IfStatement", - "start": 12627, - "end": 12721, + "start": 13897, + "end": 13991, "loc": { "start": { - "line": 360, + "line": 404, "column": 12 }, "end": { - "line": 362, + "line": 406, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 12631, - "end": 12650, + "start": 13901, + "end": 13920, "loc": { "start": { - "line": 360, + "line": 404, "column": 16 }, "end": { - "line": 360, + "line": 404, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 12631, - "end": 12642, + "start": 13901, + "end": 13912, "loc": { "start": { - "line": 360, + "line": 404, "column": 16 }, "end": { - "line": 360, + "line": 404, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 12631, - "end": 12635, + "start": 13901, + "end": 13905, "loc": { "start": { - "line": 360, + "line": 404, "column": 16 }, "end": { - "line": 360, + "line": 404, "column": 20 } }, @@ -15633,15 +17336,15 @@ }, "property": { "type": "Identifier", - "start": 12636, - "end": 12642, + "start": 13906, + "end": 13912, "loc": { "start": { - "line": 360, + "line": 404, "column": 21 }, "end": { - "line": 360, + "line": 404, "column": 27 }, "identifierName": "frames" @@ -15653,15 +17356,15 @@ }, "property": { "type": "Identifier", - "start": 12643, - "end": 12649, + "start": 13913, + "end": 13919, "loc": { "start": { - "line": 360, + "line": 404, "column": 28 }, "end": { - "line": 360, + "line": 404, "column": 34 }, "identifierName": "pIndex" @@ -15673,59 +17376,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12652, - "end": 12721, + "start": 13922, + "end": 13991, "loc": { "start": { - "line": 360, + "line": 404, "column": 37 }, "end": { - "line": 362, + "line": 406, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12671, - "end": 12706, + "start": 13941, + "end": 13976, "loc": { "start": { - "line": 361, + "line": 405, "column": 16 }, "end": { - "line": 361, + "line": 405, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 12671, - "end": 12705, + "start": 13941, + "end": 13975, "loc": { "start": { - "line": 361, + "line": 405, "column": 16 }, "end": { - "line": 361, + "line": 405, "column": 50 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12671, - "end": 12683, + "start": 13941, + "end": 13953, "loc": { "start": { - "line": 361, + "line": 405, "column": 16 }, "end": { - "line": 361, + "line": 405, "column": 28 }, "identifierName": "frameAtIndex" @@ -15734,58 +17437,58 @@ }, "right": { "type": "MemberExpression", - "start": 12686, - "end": 12705, + "start": 13956, + "end": 13975, "loc": { "start": { - "line": 361, + "line": 405, "column": 31 }, "end": { - "line": 361, + "line": 405, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 12686, - "end": 12697, + "start": 13956, + "end": 13967, "loc": { "start": { - "line": 361, + "line": 405, "column": 31 }, "end": { - "line": 361, + "line": 405, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 12686, - "end": 12690, + "start": 13956, + "end": 13960, "loc": { "start": { - "line": 361, + "line": 405, "column": 31 }, "end": { - "line": 361, + "line": 405, "column": 35 } } }, "property": { "type": "Identifier", - "start": 12691, - "end": 12697, + "start": 13961, + "end": 13967, "loc": { "start": { - "line": 361, + "line": 405, "column": 36 }, "end": { - "line": 361, + "line": 405, "column": 42 }, "identifierName": "frames" @@ -15796,15 +17499,15 @@ }, "property": { "type": "Identifier", - "start": 12698, - "end": 12704, + "start": 13968, + "end": 13974, "loc": { "start": { - "line": 361, + "line": 405, "column": 43 }, "end": { - "line": 361, + "line": 405, "column": 49 }, "identifierName": "pIndex" @@ -15824,15 +17527,15 @@ { "type": "CommentLine", "value": " We get the frame at the specified index.", - "start": 12570, - "end": 12613, + "start": 13840, + "end": 13883, "loc": { "start": { - "line": 359, + "line": 403, "column": 12 }, "end": { - "line": 359, + "line": 403, "column": 55 } } @@ -15842,15 +17545,15 @@ { "type": "CommentLine", "value": " If both frames can be found, we can swap their data.", - "start": 12737, - "end": 12792, + "start": 14007, + "end": 14062, "loc": { "start": { - "line": 364, + "line": 408, "column": 12 }, "end": { - "line": 364, + "line": 408, "column": 67 } } @@ -15859,43 +17562,43 @@ }, { "type": "IfStatement", - "start": 12806, - "end": 13664, + "start": 14076, + "end": 14934, "loc": { "start": { - "line": 365, + "line": 409, "column": 12 }, "end": { - "line": 381, + "line": 425, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 12810, - "end": 12838, + "start": 14080, + "end": 14108, "loc": { "start": { - "line": 365, + "line": 409, "column": 16 }, "end": { - "line": 365, + "line": 409, "column": 44 } }, "left": { "type": "Identifier", - "start": 12810, - "end": 12822, + "start": 14080, + "end": 14092, "loc": { "start": { - "line": 365, + "line": 409, "column": 16 }, "end": { - "line": 365, + "line": 409, "column": 28 }, "identifierName": "currentFrame" @@ -15906,15 +17609,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 12826, - "end": 12838, + "start": 14096, + "end": 14108, "loc": { "start": { - "line": 365, + "line": 409, "column": 32 }, "end": { - "line": 365, + "line": 409, "column": 44 }, "identifierName": "frameAtIndex" @@ -15925,59 +17628,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12840, - "end": 13501, + "start": 14110, + "end": 14771, "loc": { "start": { - "line": 365, + "line": 409, "column": 46 }, "end": { - "line": 379, + "line": 423, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 12896, - "end": 12950, + "start": 14166, + "end": 14220, "loc": { "start": { - "line": 367, + "line": 411, "column": 16 }, "end": { - "line": 367, + "line": 411, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12902, - "end": 12949, + "start": 14172, + "end": 14219, "loc": { "start": { - "line": 367, + "line": 411, "column": 22 }, "end": { - "line": 367, + "line": 411, "column": 69 } }, "id": { "type": "Identifier", - "start": 12902, - "end": 12921, + "start": 14172, + "end": 14191, "loc": { "start": { - "line": 367, + "line": 411, "column": 22 }, "end": { - "line": 367, + "line": 411, "column": 41 }, "identifierName": "currentFrameDataURL" @@ -15987,43 +17690,43 @@ }, "init": { "type": "CallExpression", - "start": 12924, - "end": 12949, + "start": 14194, + "end": 14219, "loc": { "start": { - "line": 367, + "line": 411, "column": 44 }, "end": { - "line": 367, + "line": 411, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 12924, - "end": 12947, + "start": 14194, + "end": 14217, "loc": { "start": { - "line": 367, + "line": 411, "column": 44 }, "end": { - "line": 367, + "line": 411, "column": 67 } }, "object": { "type": "Identifier", - "start": 12924, - "end": 12936, + "start": 14194, + "end": 14206, "loc": { "start": { - "line": 367, + "line": 411, "column": 44 }, "end": { - "line": 367, + "line": 411, "column": 56 }, "identifierName": "currentFrame" @@ -16032,15 +17735,15 @@ }, "property": { "type": "Identifier", - "start": 12937, - "end": 12947, + "start": 14207, + "end": 14217, "loc": { "start": { - "line": 367, + "line": 411, "column": 57 }, "end": { - "line": 367, + "line": 411, "column": 67 }, "identifierName": "getDataURL" @@ -16059,15 +17762,15 @@ { "type": "CommentLine", "value": " Store frame data", - "start": 12859, - "end": 12878, + "start": 14129, + "end": 14148, "loc": { "start": { - "line": 366, + "line": 410, "column": 16 }, "end": { - "line": 366, + "line": 410, "column": 35 } } @@ -16076,44 +17779,44 @@ }, { "type": "VariableDeclaration", - "start": 12968, - "end": 13018, + "start": 14238, + "end": 14288, "loc": { "start": { - "line": 368, + "line": 412, "column": 16 }, "end": { - "line": 368, + "line": 412, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12974, - "end": 13017, + "start": 14244, + "end": 14287, "loc": { "start": { - "line": 368, + "line": 412, "column": 22 }, "end": { - "line": 368, + "line": 412, "column": 65 } }, "id": { "type": "Identifier", - "start": 12974, - "end": 12991, + "start": 14244, + "end": 14261, "loc": { "start": { - "line": 368, + "line": 412, "column": 22 }, "end": { - "line": 368, + "line": 412, "column": 39 }, "identifierName": "currentFrameDelay" @@ -16122,43 +17825,43 @@ }, "init": { "type": "CallExpression", - "start": 12994, - "end": 13017, + "start": 14264, + "end": 14287, "loc": { "start": { - "line": 368, + "line": 412, "column": 42 }, "end": { - "line": 368, + "line": 412, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 12994, - "end": 13015, + "start": 14264, + "end": 14285, "loc": { "start": { - "line": 368, + "line": 412, "column": 42 }, "end": { - "line": 368, + "line": 412, "column": 63 } }, "object": { "type": "Identifier", - "start": 12994, - "end": 13006, + "start": 14264, + "end": 14276, "loc": { "start": { - "line": 368, + "line": 412, "column": 42 }, "end": { - "line": 368, + "line": 412, "column": 54 }, "identifierName": "currentFrame" @@ -16167,15 +17870,15 @@ }, "property": { "type": "Identifier", - "start": 13007, - "end": 13015, + "start": 14277, + "end": 14285, "loc": { "start": { - "line": 368, + "line": 412, "column": 55 }, "end": { - "line": 368, + "line": 412, "column": 63 }, "identifierName": "getDelay" @@ -16192,44 +17895,44 @@ }, { "type": "VariableDeclaration", - "start": 13038, - "end": 13092, + "start": 14308, + "end": 14362, "loc": { "start": { - "line": 370, + "line": 414, "column": 16 }, "end": { - "line": 370, + "line": 414, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13044, - "end": 13091, + "start": 14314, + "end": 14361, "loc": { "start": { - "line": 370, + "line": 414, "column": 22 }, "end": { - "line": 370, + "line": 414, "column": 69 } }, "id": { "type": "Identifier", - "start": 13044, - "end": 13063, + "start": 14314, + "end": 14333, "loc": { "start": { - "line": 370, + "line": 414, "column": 22 }, "end": { - "line": 370, + "line": 414, "column": 41 }, "identifierName": "frameAtIndexDataURL" @@ -16238,43 +17941,43 @@ }, "init": { "type": "CallExpression", - "start": 13066, - "end": 13091, + "start": 14336, + "end": 14361, "loc": { "start": { - "line": 370, + "line": 414, "column": 44 }, "end": { - "line": 370, + "line": 414, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 13066, - "end": 13089, + "start": 14336, + "end": 14359, "loc": { "start": { - "line": 370, + "line": 414, "column": 44 }, "end": { - "line": 370, + "line": 414, "column": 67 } }, "object": { "type": "Identifier", - "start": 13066, - "end": 13078, + "start": 14336, + "end": 14348, "loc": { "start": { - "line": 370, + "line": 414, "column": 44 }, "end": { - "line": 370, + "line": 414, "column": 56 }, "identifierName": "frameAtIndex" @@ -16283,15 +17986,15 @@ }, "property": { "type": "Identifier", - "start": 13079, - "end": 13089, + "start": 14349, + "end": 14359, "loc": { "start": { - "line": 370, + "line": 414, "column": 57 }, "end": { - "line": 370, + "line": 414, "column": 67 }, "identifierName": "getDataURL" @@ -16308,44 +18011,44 @@ }, { "type": "VariableDeclaration", - "start": 13110, - "end": 13160, + "start": 14380, + "end": 14430, "loc": { "start": { - "line": 371, + "line": 415, "column": 16 }, "end": { - "line": 371, + "line": 415, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13116, - "end": 13159, + "start": 14386, + "end": 14429, "loc": { "start": { - "line": 371, + "line": 415, "column": 22 }, "end": { - "line": 371, + "line": 415, "column": 65 } }, "id": { "type": "Identifier", - "start": 13116, - "end": 13133, + "start": 14386, + "end": 14403, "loc": { "start": { - "line": 371, + "line": 415, "column": 22 }, "end": { - "line": 371, + "line": 415, "column": 39 }, "identifierName": "frameAtIndexDelay" @@ -16354,43 +18057,43 @@ }, "init": { "type": "CallExpression", - "start": 13136, - "end": 13159, + "start": 14406, + "end": 14429, "loc": { "start": { - "line": 371, + "line": 415, "column": 42 }, "end": { - "line": 371, + "line": 415, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 13136, - "end": 13157, + "start": 14406, + "end": 14427, "loc": { "start": { - "line": 371, + "line": 415, "column": 42 }, "end": { - "line": 371, + "line": 415, "column": 63 } }, "object": { "type": "Identifier", - "start": 13136, - "end": 13148, + "start": 14406, + "end": 14418, "loc": { "start": { - "line": 371, + "line": 415, "column": 42 }, "end": { - "line": 371, + "line": 415, "column": 54 }, "identifierName": "frameAtIndex" @@ -16399,15 +18102,15 @@ }, "property": { "type": "Identifier", - "start": 13149, - "end": 13157, + "start": 14419, + "end": 14427, "loc": { "start": { - "line": 371, + "line": 415, "column": 55 }, "end": { - "line": 371, + "line": 415, "column": 63 }, "identifierName": "getDelay" @@ -16425,15 +18128,15 @@ { "type": "CommentLine", "value": " Swap data from frame", - "start": 13180, - "end": 13203, + "start": 14450, + "end": 14473, "loc": { "start": { - "line": 373, + "line": 417, "column": 16 }, "end": { - "line": 373, + "line": 417, "column": 39 } } @@ -16442,57 +18145,57 @@ }, { "type": "ExpressionStatement", - "start": 13221, - "end": 13266, + "start": 14491, + "end": 14536, "loc": { "start": { - "line": 374, + "line": 418, "column": 16 }, "end": { - "line": 374, + "line": 418, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 13221, - "end": 13265, + "start": 14491, + "end": 14535, "loc": { "start": { - "line": 374, + "line": 418, "column": 16 }, "end": { - "line": 374, + "line": 418, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 13221, - "end": 13244, + "start": 14491, + "end": 14514, "loc": { "start": { - "line": 374, + "line": 418, "column": 16 }, "end": { - "line": 374, + "line": 418, "column": 39 } }, "object": { "type": "Identifier", - "start": 13221, - "end": 13233, + "start": 14491, + "end": 14503, "loc": { "start": { - "line": 374, + "line": 418, "column": 16 }, "end": { - "line": 374, + "line": 418, "column": 28 }, "identifierName": "currentFrame" @@ -16502,15 +18205,15 @@ }, "property": { "type": "Identifier", - "start": 13234, - "end": 13244, + "start": 14504, + "end": 14514, "loc": { "start": { - "line": 374, + "line": 418, "column": 29 }, "end": { - "line": 374, + "line": 418, "column": 39 }, "identifierName": "setDataURL" @@ -16523,15 +18226,15 @@ "arguments": [ { "type": "Identifier", - "start": 13245, - "end": 13264, + "start": 14515, + "end": 14534, "loc": { "start": { - "line": 374, + "line": 418, "column": 40 }, "end": { - "line": 374, + "line": 418, "column": 59 }, "identifierName": "frameAtIndexDataURL" @@ -16545,15 +18248,15 @@ { "type": "CommentLine", "value": " Swap data from frame", - "start": 13180, - "end": 13203, + "start": 14450, + "end": 14473, "loc": { "start": { - "line": 373, + "line": 417, "column": 16 }, "end": { - "line": 373, + "line": 417, "column": 39 } } @@ -16562,57 +18265,57 @@ }, { "type": "ExpressionStatement", - "start": 13284, - "end": 13325, + "start": 14554, + "end": 14595, "loc": { "start": { - "line": 375, + "line": 419, "column": 16 }, "end": { - "line": 375, + "line": 419, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 13284, - "end": 13324, + "start": 14554, + "end": 14594, "loc": { "start": { - "line": 375, + "line": 419, "column": 16 }, "end": { - "line": 375, + "line": 419, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 13284, - "end": 13305, + "start": 14554, + "end": 14575, "loc": { "start": { - "line": 375, + "line": 419, "column": 16 }, "end": { - "line": 375, + "line": 419, "column": 37 } }, "object": { "type": "Identifier", - "start": 13284, - "end": 13296, + "start": 14554, + "end": 14566, "loc": { "start": { - "line": 375, + "line": 419, "column": 16 }, "end": { - "line": 375, + "line": 419, "column": 28 }, "identifierName": "currentFrame" @@ -16621,15 +18324,15 @@ }, "property": { "type": "Identifier", - "start": 13297, - "end": 13305, + "start": 14567, + "end": 14575, "loc": { "start": { - "line": 375, + "line": 419, "column": 29 }, "end": { - "line": 375, + "line": 419, "column": 37 }, "identifierName": "setDelay" @@ -16641,15 +18344,15 @@ "arguments": [ { "type": "Identifier", - "start": 13306, - "end": 13323, + "start": 14576, + "end": 14593, "loc": { "start": { - "line": 375, + "line": 419, "column": 38 }, "end": { - "line": 375, + "line": 419, "column": 55 }, "identifierName": "frameAtIndexDelay" @@ -16662,15 +18365,15 @@ { "type": "CommentLine", "value": " Swap data to frame", - "start": 13343, - "end": 13364, + "start": 14613, + "end": 14634, "loc": { "start": { - "line": 376, + "line": 420, "column": 16 }, "end": { - "line": 376, + "line": 420, "column": 37 } } @@ -16679,57 +18382,57 @@ }, { "type": "ExpressionStatement", - "start": 13382, - "end": 13427, + "start": 14652, + "end": 14697, "loc": { "start": { - "line": 377, + "line": 421, "column": 16 }, "end": { - "line": 377, + "line": 421, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 13382, - "end": 13426, + "start": 14652, + "end": 14696, "loc": { "start": { - "line": 377, + "line": 421, "column": 16 }, "end": { - "line": 377, + "line": 421, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 13382, - "end": 13405, + "start": 14652, + "end": 14675, "loc": { "start": { - "line": 377, + "line": 421, "column": 16 }, "end": { - "line": 377, + "line": 421, "column": 39 } }, "object": { "type": "Identifier", - "start": 13382, - "end": 13394, + "start": 14652, + "end": 14664, "loc": { "start": { - "line": 377, + "line": 421, "column": 16 }, "end": { - "line": 377, + "line": 421, "column": 28 }, "identifierName": "frameAtIndex" @@ -16739,15 +18442,15 @@ }, "property": { "type": "Identifier", - "start": 13395, - "end": 13405, + "start": 14665, + "end": 14675, "loc": { "start": { - "line": 377, + "line": 421, "column": 29 }, "end": { - "line": 377, + "line": 421, "column": 39 }, "identifierName": "setDataURL" @@ -16760,15 +18463,15 @@ "arguments": [ { "type": "Identifier", - "start": 13406, - "end": 13425, + "start": 14676, + "end": 14695, "loc": { "start": { - "line": 377, + "line": 421, "column": 40 }, "end": { - "line": 377, + "line": 421, "column": 59 }, "identifierName": "currentFrameDataURL" @@ -16782,15 +18485,15 @@ { "type": "CommentLine", "value": " Swap data to frame", - "start": 13343, - "end": 13364, + "start": 14613, + "end": 14634, "loc": { "start": { - "line": 376, + "line": 420, "column": 16 }, "end": { - "line": 376, + "line": 420, "column": 37 } } @@ -16799,57 +18502,57 @@ }, { "type": "ExpressionStatement", - "start": 13445, - "end": 13486, + "start": 14715, + "end": 14756, "loc": { "start": { - "line": 378, + "line": 422, "column": 16 }, "end": { - "line": 378, + "line": 422, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 13445, - "end": 13485, + "start": 14715, + "end": 14755, "loc": { "start": { - "line": 378, + "line": 422, "column": 16 }, "end": { - "line": 378, + "line": 422, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 13445, - "end": 13466, + "start": 14715, + "end": 14736, "loc": { "start": { - "line": 378, + "line": 422, "column": 16 }, "end": { - "line": 378, + "line": 422, "column": 37 } }, "object": { "type": "Identifier", - "start": 13445, - "end": 13457, + "start": 14715, + "end": 14727, "loc": { "start": { - "line": 378, + "line": 422, "column": 16 }, "end": { - "line": 378, + "line": 422, "column": 28 }, "identifierName": "frameAtIndex" @@ -16858,15 +18561,15 @@ }, "property": { "type": "Identifier", - "start": 13458, - "end": 13466, + "start": 14728, + "end": 14736, "loc": { "start": { - "line": 378, + "line": 422, "column": 29 }, "end": { - "line": 378, + "line": 422, "column": 37 }, "identifierName": "setDelay" @@ -16878,15 +18581,15 @@ "arguments": [ { "type": "Identifier", - "start": 13467, - "end": 13484, + "start": 14737, + "end": 14754, "loc": { "start": { - "line": 378, + "line": 422, "column": 38 }, "end": { - "line": 378, + "line": 422, "column": 55 }, "identifierName": "currentFrameDelay" @@ -16901,114 +18604,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 13507, - "end": 13664, + "start": 14777, + "end": 14934, "loc": { "start": { - "line": 379, + "line": 423, "column": 19 }, "end": { - "line": 381, + "line": 425, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 13526, - "end": 13649, + "start": 14796, + "end": 14919, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 139 } }, "expression": { "type": "CallExpression", - "start": 13526, - "end": 13648, + "start": 14796, + "end": 14918, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 138 } }, "callee": { "type": "MemberExpression", - "start": 13526, - "end": 13563, + "start": 14796, + "end": 14833, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 53 } }, "object": { "type": "CallExpression", - "start": 13526, - "end": 13557, + "start": 14796, + "end": 14827, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 13526, - "end": 13543, + "start": 14796, + "end": 14813, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 13526, - "end": 13536, + "start": 14796, + "end": 14806, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 26 } }, "object": { "type": "Identifier", - "start": 13526, - "end": 13529, + "start": 14796, + "end": 14799, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 19 }, "identifierName": "VYI" @@ -17017,15 +18720,15 @@ }, "property": { "type": "Identifier", - "start": 13530, - "end": 13536, + "start": 14800, + "end": 14806, "loc": { "start": { - "line": 380, + "line": 424, "column": 20 }, "end": { - "line": 380, + "line": 424, "column": 26 }, "identifierName": "logger" @@ -17036,15 +18739,15 @@ }, "property": { "type": "Identifier", - "start": 13537, - "end": 13543, + "start": 14807, + "end": 14813, "loc": { "start": { - "line": 380, + "line": 424, "column": 27 }, "end": { - "line": 380, + "line": 424, "column": 33 }, "identifierName": "prefix" @@ -17056,15 +18759,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13544, - "end": 13556, + "start": 14814, + "end": 14826, "loc": { "start": { - "line": 380, + "line": 424, "column": 34 }, "end": { - "line": 380, + "line": 424, "column": 46 } }, @@ -17078,15 +18781,15 @@ }, "property": { "type": "Identifier", - "start": 13558, - "end": 13563, + "start": 14828, + "end": 14833, "loc": { "start": { - "line": 380, + "line": 424, "column": 48 }, "end": { - "line": 380, + "line": 424, "column": 53 }, "identifierName": "error" @@ -17098,15 +18801,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13564, - "end": 13647, + "start": 14834, + "end": 14917, "loc": { "start": { - "line": 380, + "line": 424, "column": 54 }, "end": { - "line": 380, + "line": 424, "column": 137 } }, @@ -17126,15 +18829,15 @@ { "type": "CommentLine", "value": " If both frames can be found, we can swap their data.", - "start": 12737, - "end": 12792, + "start": 14007, + "end": 14062, "loc": { "start": { - "line": 364, + "line": 408, "column": 12 }, "end": { - "line": 364, + "line": 408, "column": 67 } } @@ -17146,114 +18849,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 13681, - "end": 13767, + "start": 14951, + "end": 15037, "loc": { "start": { - "line": 382, + "line": 426, "column": 15 }, "end": { - "line": 384, + "line": 428, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13696, - "end": 13756, + "start": 14966, + "end": 15026, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 13696, - "end": 13755, + "start": 14966, + "end": 15025, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 13696, - "end": 13733, + "start": 14966, + "end": 15003, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 49 } }, "object": { "type": "CallExpression", - "start": 13696, - "end": 13727, + "start": 14966, + "end": 14997, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 13696, - "end": 13713, + "start": 14966, + "end": 14983, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 13696, - "end": 13706, + "start": 14966, + "end": 14976, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 22 } }, "object": { "type": "Identifier", - "start": 13696, - "end": 13699, + "start": 14966, + "end": 14969, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 15 }, "identifierName": "VYI" @@ -17262,15 +18965,15 @@ }, "property": { "type": "Identifier", - "start": 13700, - "end": 13706, + "start": 14970, + "end": 14976, "loc": { "start": { - "line": 383, + "line": 427, "column": 16 }, "end": { - "line": 383, + "line": 427, "column": 22 }, "identifierName": "logger" @@ -17281,15 +18984,15 @@ }, "property": { "type": "Identifier", - "start": 13707, - "end": 13713, + "start": 14977, + "end": 14983, "loc": { "start": { - "line": 383, + "line": 427, "column": 23 }, "end": { - "line": 383, + "line": 427, "column": 29 }, "identifierName": "prefix" @@ -17301,15 +19004,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13714, - "end": 13726, + "start": 14984, + "end": 14996, "loc": { "start": { - "line": 383, + "line": 427, "column": 30 }, "end": { - "line": 383, + "line": 427, "column": 42 } }, @@ -17323,15 +19026,15 @@ }, "property": { "type": "Identifier", - "start": 13728, - "end": 13733, + "start": 14998, + "end": 15003, "loc": { "start": { - "line": 383, + "line": 427, "column": 44 }, "end": { - "line": 383, + "line": 427, "column": 49 }, "identifierName": "error" @@ -17343,15 +19046,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13734, - "end": 13754, + "start": 15004, + "end": 15024, "loc": { "start": { - "line": 383, + "line": 427, "column": 50 }, "end": { - "line": 383, + "line": 427, "column": 70 } }, @@ -17370,29 +19073,29 @@ }, { "type": "ReturnStatement", - "start": 13777, - "end": 13789, + "start": 15047, + "end": 15059, "loc": { "start": { - "line": 385, + "line": 429, "column": 8 }, "end": { - "line": 385, + "line": 429, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 13784, - "end": 13788, + "start": 15054, + "end": 15058, "loc": { "start": { - "line": 385, + "line": 429, "column": 15 }, "end": { - "line": 385, + "line": 429, "column": 19 } } @@ -17406,15 +19109,15 @@ { "type": "CommentBlock", "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11322, - "end": 11861, + "start": 12592, + "end": 13131, "loc": { "start": { - "line": 338, + "line": 382, "column": 4 }, "end": { - "line": 345, + "line": 389, "column": 7 } } @@ -17424,15 +19127,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13802, - "end": 14204, + "start": 15072, + "end": 15474, "loc": { "start": { - "line": 387, + "line": 431, "column": 4 }, "end": { - "line": 393, + "line": 437, "column": 7 } } @@ -17441,15 +19144,15 @@ }, { "type": "ClassMethod", - "start": 14210, - "end": 14423, + "start": 15480, + "end": 15693, "loc": { "start": { - "line": 394, + "line": 438, "column": 4 }, "end": { - "line": 400, + "line": 444, "column": 5 } }, @@ -17457,15 +19160,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14210, - "end": 14218, + "start": 15480, + "end": 15488, "loc": { "start": { - "line": 394, + "line": 438, "column": 4 }, "end": { - "line": 394, + "line": 438, "column": 12 }, "identifierName": "getFrame" @@ -17481,15 +19184,15 @@ "params": [ { "type": "Identifier", - "start": 14219, - "end": 14225, + "start": 15489, + "end": 15495, "loc": { "start": { - "line": 394, + "line": 438, "column": 13 }, "end": { - "line": 394, + "line": 438, "column": 19 }, "identifierName": "pIndex" @@ -17499,58 +19202,58 @@ ], "body": { "type": "BlockStatement", - "start": 14227, - "end": 14423, + "start": 15497, + "end": 15693, "loc": { "start": { - "line": 394, + "line": 438, "column": 21 }, "end": { - "line": 400, + "line": 444, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14238, - "end": 14416, + "start": 15508, + "end": 15686, "loc": { "start": { - "line": 395, + "line": 439, "column": 8 }, "end": { - "line": 399, + "line": 443, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 14242, - "end": 14269, + "start": 15512, + "end": 15539, "loc": { "start": { - "line": 395, + "line": 439, "column": 12 }, "end": { - "line": 395, + "line": 439, "column": 39 } }, "left": { "type": "UnaryExpression", - "start": 14242, - "end": 14256, + "start": 15512, + "end": 15526, "loc": { "start": { - "line": 395, + "line": 439, "column": 12 }, "end": { - "line": 395, + "line": 439, "column": 26 } }, @@ -17558,15 +19261,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14249, - "end": 14255, + "start": 15519, + "end": 15525, "loc": { "start": { - "line": 395, + "line": 439, "column": 19 }, "end": { - "line": 395, + "line": 439, "column": 25 }, "identifierName": "pIndex" @@ -17574,7 +19277,7 @@ "name": "pIndex", "extra": { "parenthesized": true, - "parenStart": 14248 + "parenStart": 15518 } }, "extra": { @@ -17584,15 +19287,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 14261, - "end": 14269, + "start": 15531, + "end": 15539, "loc": { "start": { - "line": 395, + "line": 439, "column": 31 }, "end": { - "line": 395, + "line": 439, "column": 39 } }, @@ -17605,87 +19308,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14271, - "end": 14324, + "start": 15541, + "end": 15594, "loc": { "start": { - "line": 395, + "line": 439, "column": 41 }, "end": { - "line": 397, + "line": 441, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 14286, - "end": 14313, + "start": 15556, + "end": 15583, "loc": { "start": { - "line": 396, + "line": 440, "column": 12 }, "end": { - "line": 396, + "line": 440, "column": 39 } }, "argument": { "type": "MemberExpression", - "start": 14293, - "end": 14312, + "start": 15563, + "end": 15582, "loc": { "start": { - "line": 396, + "line": 440, "column": 19 }, "end": { - "line": 396, + "line": 440, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14293, - "end": 14304, + "start": 15563, + "end": 15574, "loc": { "start": { - "line": 396, + "line": 440, "column": 19 }, "end": { - "line": 396, + "line": 440, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 14293, - "end": 14297, + "start": 15563, + "end": 15567, "loc": { "start": { - "line": 396, + "line": 440, "column": 19 }, "end": { - "line": 396, + "line": 440, "column": 23 } } }, "property": { "type": "Identifier", - "start": 14298, - "end": 14304, + "start": 15568, + "end": 15574, "loc": { "start": { - "line": 396, + "line": 440, "column": 24 }, "end": { - "line": 396, + "line": 440, "column": 30 }, "identifierName": "frames" @@ -17696,15 +19399,15 @@ }, "property": { "type": "Identifier", - "start": 14305, - "end": 14311, + "start": 15575, + "end": 15581, "loc": { "start": { - "line": 396, + "line": 440, "column": 31 }, "end": { - "line": 396, + "line": 440, "column": 37 }, "identifierName": "pIndex" @@ -17719,114 +19422,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 14330, - "end": 14416, + "start": 15600, + "end": 15686, "loc": { "start": { - "line": 397, + "line": 441, "column": 15 }, "end": { - "line": 399, + "line": 443, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14345, - "end": 14405, + "start": 15615, + "end": 15675, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 14345, - "end": 14404, + "start": 15615, + "end": 15674, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 14345, - "end": 14382, + "start": 15615, + "end": 15652, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 49 } }, "object": { "type": "CallExpression", - "start": 14345, - "end": 14376, + "start": 15615, + "end": 15646, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 14345, - "end": 14362, + "start": 15615, + "end": 15632, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 14345, - "end": 14355, + "start": 15615, + "end": 15625, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 22 } }, "object": { "type": "Identifier", - "start": 14345, - "end": 14348, + "start": 15615, + "end": 15618, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 15 }, "identifierName": "VYI" @@ -17835,15 +19538,15 @@ }, "property": { "type": "Identifier", - "start": 14349, - "end": 14355, + "start": 15619, + "end": 15625, "loc": { "start": { - "line": 398, + "line": 442, "column": 16 }, "end": { - "line": 398, + "line": 442, "column": 22 }, "identifierName": "logger" @@ -17854,15 +19557,15 @@ }, "property": { "type": "Identifier", - "start": 14356, - "end": 14362, + "start": 15626, + "end": 15632, "loc": { "start": { - "line": 398, + "line": 442, "column": 23 }, "end": { - "line": 398, + "line": 442, "column": 29 }, "identifierName": "prefix" @@ -17874,15 +19577,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14363, - "end": 14375, + "start": 15633, + "end": 15645, "loc": { "start": { - "line": 398, + "line": 442, "column": 30 }, "end": { - "line": 398, + "line": 442, "column": 42 } }, @@ -17896,15 +19599,15 @@ }, "property": { "type": "Identifier", - "start": 14377, - "end": 14382, + "start": 15647, + "end": 15652, "loc": { "start": { - "line": 398, + "line": 442, "column": 44 }, "end": { - "line": 398, + "line": 442, "column": 49 }, "identifierName": "error" @@ -17916,15 +19619,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14383, - "end": 14403, + "start": 15653, + "end": 15673, "loc": { "start": { - "line": 398, + "line": 442, "column": 50 }, "end": { - "line": 398, + "line": 442, "column": 70 } }, @@ -17949,15 +19652,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13802, - "end": 14204, + "start": 15072, + "end": 15474, "loc": { "start": { - "line": 387, + "line": 431, "column": 4 }, "end": { - "line": 393, + "line": 437, "column": 7 } } @@ -17967,15 +19670,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14429, - "end": 14559, + "start": 15699, + "end": 15829, "loc": { "start": { - "line": 401, + "line": 445, "column": 4 }, "end": { - "line": 404, + "line": 448, "column": 7 } } @@ -17984,15 +19687,15 @@ }, { "type": "ClassMethod", - "start": 14565, - "end": 14621, + "start": 15835, + "end": 15891, "loc": { "start": { - "line": 405, + "line": 449, "column": 4 }, "end": { - "line": 407, + "line": 451, "column": 5 } }, @@ -18000,15 +19703,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14565, - "end": 14574, + "start": 15835, + "end": 15844, "loc": { "start": { - "line": 405, + "line": 449, "column": 4 }, "end": { - "line": 405, + "line": 449, "column": 13 }, "identifierName": "getFrames" @@ -18024,102 +19727,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14577, - "end": 14621, + "start": 15847, + "end": 15891, "loc": { "start": { - "line": 405, + "line": 449, "column": 16 }, "end": { - "line": 407, + "line": 451, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 14588, - "end": 14614, + "start": 15858, + "end": 15884, "loc": { "start": { - "line": 406, + "line": 450, "column": 8 }, "end": { - "line": 406, + "line": 450, "column": 34 } }, "argument": { "type": "ArrayExpression", - "start": 14595, - "end": 14613, + "start": 15865, + "end": 15883, "loc": { "start": { - "line": 406, + "line": 450, "column": 15 }, "end": { - "line": 406, + "line": 450, "column": 33 } }, "elements": [ { "type": "SpreadElement", - "start": 14597, - "end": 14611, + "start": 15867, + "end": 15881, "loc": { "start": { - "line": 406, + "line": 450, "column": 17 }, "end": { - "line": 406, + "line": 450, "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 14600, - "end": 14611, + "start": 15870, + "end": 15881, "loc": { "start": { - "line": 406, + "line": 450, "column": 20 }, "end": { - "line": 406, + "line": 450, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14600, - "end": 14604, + "start": 15870, + "end": 15874, "loc": { "start": { - "line": 406, + "line": 450, "column": 20 }, "end": { - "line": 406, + "line": 450, "column": 24 } } }, "property": { "type": "Identifier", - "start": 14605, - "end": 14611, + "start": 15875, + "end": 15881, "loc": { "start": { - "line": 406, + "line": 450, "column": 25 }, "end": { - "line": 406, + "line": 450, "column": 31 }, "identifierName": "frames" @@ -18140,15 +19843,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14429, - "end": 14559, + "start": 15699, + "end": 15829, "loc": { "start": { - "line": 401, + "line": 445, "column": 4 }, "end": { - "line": 404, + "line": 448, "column": 7 } } @@ -18158,15 +19861,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14627, - "end": 14783, + "start": 15897, + "end": 16053, "loc": { "start": { - "line": 408, + "line": 452, "column": 4 }, "end": { - "line": 412, + "line": 456, "column": 7 } } @@ -18175,15 +19878,15 @@ }, { "type": "ClassMethod", - "start": 14789, - "end": 14988, + "start": 16059, + "end": 16258, "loc": { "start": { - "line": 413, + "line": 457, "column": 4 }, "end": { - "line": 419, + "line": 463, "column": 5 } }, @@ -18191,15 +19894,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14789, - "end": 14802, + "start": 16059, + "end": 16072, "loc": { "start": { - "line": 413, + "line": 457, "column": 4 }, "end": { - "line": 413, + "line": 457, "column": 17 }, "identifierName": "getFramesData" @@ -18215,59 +19918,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14805, - "end": 14988, + "start": 16075, + "end": 16258, "loc": { "start": { - "line": 413, + "line": 457, "column": 20 }, "end": { - "line": 419, + "line": 463, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 14816, - "end": 14842, + "start": 16086, + "end": 16112, "loc": { "start": { - "line": 414, + "line": 458, "column": 8 }, "end": { - "line": 414, + "line": 458, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14822, - "end": 14841, + "start": 16092, + "end": 16111, "loc": { "start": { - "line": 414, + "line": 458, "column": 14 }, "end": { - "line": 414, + "line": 458, "column": 33 } }, "id": { "type": "Identifier", - "start": 14822, - "end": 14836, + "start": 16092, + "end": 16106, "loc": { "start": { - "line": 414, + "line": 458, "column": 14 }, "end": { - "line": 414, + "line": 458, "column": 28 }, "identifierName": "frameDataArray" @@ -18276,15 +19979,15 @@ }, "init": { "type": "ArrayExpression", - "start": 14839, - "end": 14841, + "start": 16109, + "end": 16111, "loc": { "start": { - "line": 414, + "line": 458, "column": 31 }, "end": { - "line": 414, + "line": 458, "column": 33 } }, @@ -18296,86 +19999,86 @@ }, { "type": "ExpressionStatement", - "start": 14852, - "end": 14949, + "start": 16122, + "end": 16219, "loc": { "start": { - "line": 415, + "line": 459, "column": 8 }, "end": { - "line": 417, + "line": 461, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 14852, - "end": 14948, + "start": 16122, + "end": 16218, "loc": { "start": { - "line": 415, + "line": 459, "column": 8 }, "end": { - "line": 417, + "line": 461, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 14852, - "end": 14871, + "start": 16122, + "end": 16141, "loc": { "start": { - "line": 415, + "line": 459, "column": 8 }, "end": { - "line": 415, + "line": 459, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 14852, - "end": 14863, + "start": 16122, + "end": 16133, "loc": { "start": { - "line": 415, + "line": 459, "column": 8 }, "end": { - "line": 415, + "line": 459, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 14852, - "end": 14856, + "start": 16122, + "end": 16126, "loc": { "start": { - "line": 415, + "line": 459, "column": 8 }, "end": { - "line": 415, + "line": 459, "column": 12 } } }, "property": { "type": "Identifier", - "start": 14857, - "end": 14863, + "start": 16127, + "end": 16133, "loc": { "start": { - "line": 415, + "line": 459, "column": 13 }, "end": { - "line": 415, + "line": 459, "column": 19 }, "identifierName": "frames" @@ -18386,15 +20089,15 @@ }, "property": { "type": "Identifier", - "start": 14864, - "end": 14871, + "start": 16134, + "end": 16141, "loc": { "start": { - "line": 415, + "line": 459, "column": 20 }, "end": { - "line": 415, + "line": 459, "column": 27 }, "identifierName": "forEach" @@ -18406,15 +20109,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 14872, - "end": 14947, + "start": 16142, + "end": 16217, "loc": { "start": { - "line": 415, + "line": 459, "column": 28 }, "end": { - "line": 417, + "line": 461, "column": 9 } }, @@ -18425,15 +20128,15 @@ "params": [ { "type": "Identifier", - "start": 14873, - "end": 14879, + "start": 16143, + "end": 16149, "loc": { "start": { - "line": 415, + "line": 459, "column": 29 }, "end": { - "line": 415, + "line": 459, "column": 35 }, "identifierName": "pFrame" @@ -18443,72 +20146,72 @@ ], "body": { "type": "BlockStatement", - "start": 14884, - "end": 14947, + "start": 16154, + "end": 16217, "loc": { "start": { - "line": 415, + "line": 459, "column": 40 }, "end": { - "line": 417, + "line": 461, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14899, - "end": 14936, + "start": 16169, + "end": 16206, "loc": { "start": { - "line": 416, + "line": 460, "column": 12 }, "end": { - "line": 416, + "line": 460, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14899, - "end": 14935, + "start": 16169, + "end": 16205, "loc": { "start": { - "line": 416, + "line": 460, "column": 12 }, "end": { - "line": 416, + "line": 460, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14899, - "end": 14918, + "start": 16169, + "end": 16188, "loc": { "start": { - "line": 416, + "line": 460, "column": 12 }, "end": { - "line": 416, + "line": 460, "column": 31 } }, "object": { "type": "Identifier", - "start": 14899, - "end": 14913, + "start": 16169, + "end": 16183, "loc": { "start": { - "line": 416, + "line": 460, "column": 12 }, "end": { - "line": 416, + "line": 460, "column": 26 }, "identifierName": "frameDataArray" @@ -18517,15 +20220,15 @@ }, "property": { "type": "Identifier", - "start": 14914, - "end": 14918, + "start": 16184, + "end": 16188, "loc": { "start": { - "line": 416, + "line": 460, "column": 27 }, "end": { - "line": 416, + "line": 460, "column": 31 }, "identifierName": "push" @@ -18537,43 +20240,43 @@ "arguments": [ { "type": "CallExpression", - "start": 14919, - "end": 14934, + "start": 16189, + "end": 16204, "loc": { "start": { - "line": 416, + "line": 460, "column": 32 }, "end": { - "line": 416, + "line": 460, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 14919, - "end": 14932, + "start": 16189, + "end": 16202, "loc": { "start": { - "line": 416, + "line": 460, "column": 32 }, "end": { - "line": 416, + "line": 460, "column": 45 } }, "object": { "type": "Identifier", - "start": 14919, - "end": 14925, + "start": 16189, + "end": 16195, "loc": { "start": { - "line": 416, + "line": 460, "column": 32 }, "end": { - "line": 416, + "line": 460, "column": 38 }, "identifierName": "pFrame" @@ -18582,15 +20285,15 @@ }, "property": { "type": "Identifier", - "start": 14926, - "end": 14932, + "start": 16196, + "end": 16202, "loc": { "start": { - "line": 416, + "line": 460, "column": 39 }, "end": { - "line": 416, + "line": 460, "column": 45 }, "identifierName": "export" @@ -18613,29 +20316,29 @@ }, { "type": "ReturnStatement", - "start": 14959, - "end": 14981, + "start": 16229, + "end": 16251, "loc": { "start": { - "line": 418, + "line": 462, "column": 8 }, "end": { - "line": 418, + "line": 462, "column": 30 } }, "argument": { "type": "Identifier", - "start": 14966, - "end": 14980, + "start": 16236, + "end": 16250, "loc": { "start": { - "line": 418, + "line": 462, "column": 15 }, "end": { - "line": 418, + "line": 462, "column": 29 }, "identifierName": "frameDataArray" @@ -18651,15 +20354,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14627, - "end": 14783, + "start": 15897, + "end": 16053, "loc": { "start": { - "line": 408, + "line": 452, "column": 4 }, "end": { - "line": 412, + "line": 456, "column": 7 } } @@ -18669,15 +20372,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 14994, - "end": 15178, + "start": 16264, + "end": 16448, "loc": { "start": { - "line": 420, + "line": 464, "column": 4 }, "end": { - "line": 424, + "line": 468, "column": 7 } } @@ -18686,15 +20389,15 @@ }, { "type": "ClassMethod", - "start": 15184, - "end": 15655, + "start": 16454, + "end": 16925, "loc": { "start": { - "line": 425, + "line": 469, "column": 4 }, "end": { - "line": 437, + "line": 481, "column": 5 } }, @@ -18702,15 +20405,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15184, - "end": 15192, + "start": 16454, + "end": 16462, "loc": { "start": { - "line": 425, + "line": 469, "column": 4 }, "end": { - "line": 425, + "line": 469, "column": 12 }, "identifierName": "getState" @@ -18726,15 +20429,15 @@ "params": [ { "type": "Identifier", - "start": 15193, - "end": 15198, + "start": 16463, + "end": 16468, "loc": { "start": { - "line": 425, + "line": 469, "column": 13 }, "end": { - "line": 425, + "line": 469, "column": 18 }, "identifierName": "pName" @@ -18744,58 +20447,58 @@ ], "body": { "type": "BlockStatement", - "start": 15200, - "end": 15655, + "start": 16470, + "end": 16925, "loc": { "start": { - "line": 425, + "line": 469, "column": 20 }, "end": { - "line": 437, + "line": 481, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15211, - "end": 15648, + "start": 16481, + "end": 16918, "loc": { "start": { - "line": 426, + "line": 470, "column": 8 }, "end": { - "line": 436, + "line": 480, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15215, - "end": 15241, + "start": 16485, + "end": 16511, "loc": { "start": { - "line": 426, + "line": 470, "column": 12 }, "end": { - "line": 426, + "line": 470, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 15215, - "end": 15228, + "start": 16485, + "end": 16498, "loc": { "start": { - "line": 426, + "line": 470, "column": 12 }, "end": { - "line": 426, + "line": 470, "column": 25 } }, @@ -18803,15 +20506,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15222, - "end": 15227, + "start": 16492, + "end": 16497, "loc": { "start": { - "line": 426, + "line": 470, "column": 19 }, "end": { - "line": 426, + "line": 470, "column": 24 }, "identifierName": "pName" @@ -18819,7 +20522,7 @@ "name": "pName", "extra": { "parenthesized": true, - "parenStart": 15221 + "parenStart": 16491 } }, "extra": { @@ -18829,15 +20532,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 15233, - "end": 15241, + "start": 16503, + "end": 16511, "loc": { "start": { - "line": 426, + "line": 470, "column": 30 }, "end": { - "line": 426, + "line": 470, "column": 38 } }, @@ -18850,73 +20553,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 15243, - "end": 15551, + "start": 16513, + "end": 16821, "loc": { "start": { - "line": 426, + "line": 470, "column": 40 }, "end": { - "line": 434, + "line": 478, "column": 9 } }, "body": [ { "type": "ForStatement", - "start": 15258, - "end": 15540, + "start": 16528, + "end": 16810, "loc": { "start": { - "line": 427, + "line": 471, "column": 12 }, "end": { - "line": 433, + "line": 477, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 15263, - "end": 15293, + "start": 16533, + "end": 16563, "loc": { "start": { - "line": 427, + "line": 471, "column": 17 }, "end": { - "line": 427, + "line": 471, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15267, - "end": 15293, + "start": 16537, + "end": 16563, "loc": { "start": { - "line": 427, + "line": 471, "column": 21 }, "end": { - "line": 427, + "line": 471, "column": 47 } }, "id": { "type": "Identifier", - "start": 15267, - "end": 15268, + "start": 16537, + "end": 16538, "loc": { "start": { - "line": 427, + "line": 471, "column": 21 }, "end": { - "line": 427, + "line": 471, "column": 22 }, "identifierName": "i" @@ -18925,72 +20628,72 @@ }, "init": { "type": "BinaryExpression", - "start": 15271, - "end": 15293, + "start": 16541, + "end": 16563, "loc": { "start": { - "line": 427, + "line": 471, "column": 25 }, "end": { - "line": 427, + "line": 471, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 15271, - "end": 15289, + "start": 16541, + "end": 16559, "loc": { "start": { - "line": 427, + "line": 471, "column": 25 }, "end": { - "line": 427, + "line": 471, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 15271, - "end": 15282, + "start": 16541, + "end": 16552, "loc": { "start": { - "line": 427, + "line": 471, "column": 25 }, "end": { - "line": 427, + "line": 471, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 15271, - "end": 15275, + "start": 16541, + "end": 16545, "loc": { "start": { - "line": 427, + "line": 471, "column": 25 }, "end": { - "line": 427, + "line": 471, "column": 29 } } }, "property": { "type": "Identifier", - "start": 15276, - "end": 15282, + "start": 16546, + "end": 16552, "loc": { "start": { - "line": 427, + "line": 471, "column": 30 }, "end": { - "line": 427, + "line": 471, "column": 36 }, "identifierName": "states" @@ -19001,15 +20704,15 @@ }, "property": { "type": "Identifier", - "start": 15283, - "end": 15289, + "start": 16553, + "end": 16559, "loc": { "start": { - "line": 427, + "line": 471, "column": 37 }, "end": { - "line": 427, + "line": 471, "column": 43 }, "identifierName": "length" @@ -19021,15 +20724,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 15292, - "end": 15293, + "start": 16562, + "end": 16563, "loc": { "start": { - "line": 427, + "line": 471, "column": 46 }, "end": { - "line": 427, + "line": 471, "column": 47 } }, @@ -19046,29 +20749,29 @@ }, "test": { "type": "BinaryExpression", - "start": 15295, - "end": 15301, + "start": 16565, + "end": 16571, "loc": { "start": { - "line": 427, + "line": 471, "column": 49 }, "end": { - "line": 427, + "line": 471, "column": 55 } }, "left": { "type": "Identifier", - "start": 15295, - "end": 15296, + "start": 16565, + "end": 16566, "loc": { "start": { - "line": 427, + "line": 471, "column": 49 }, "end": { - "line": 427, + "line": 471, "column": 50 }, "identifierName": "i" @@ -19078,15 +20781,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 15300, - "end": 15301, + "start": 16570, + "end": 16571, "loc": { "start": { - "line": 427, + "line": 471, "column": 54 }, "end": { - "line": 427, + "line": 471, "column": 55 } }, @@ -19099,15 +20802,15 @@ }, "update": { "type": "UpdateExpression", - "start": 15303, - "end": 15306, + "start": 16573, + "end": 16576, "loc": { "start": { - "line": 427, + "line": 471, "column": 57 }, "end": { - "line": 427, + "line": 471, "column": 60 } }, @@ -19115,15 +20818,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 15303, - "end": 15304, + "start": 16573, + "end": 16574, "loc": { "start": { - "line": 427, + "line": 471, "column": 57 }, "end": { - "line": 427, + "line": 471, "column": 58 }, "identifierName": "i" @@ -19133,59 +20836,59 @@ }, "body": { "type": "BlockStatement", - "start": 15308, - "end": 15540, + "start": 16578, + "end": 16810, "loc": { "start": { - "line": 427, + "line": 471, "column": 62 }, "end": { - "line": 433, + "line": 477, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 15327, - "end": 15355, + "start": 16597, + "end": 16625, "loc": { "start": { - "line": 428, + "line": 472, "column": 16 }, "end": { - "line": 428, + "line": 472, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15333, - "end": 15354, + "start": 16603, + "end": 16624, "loc": { "start": { - "line": 428, + "line": 472, "column": 22 }, "end": { - "line": 428, + "line": 472, "column": 43 } }, "id": { "type": "Identifier", - "start": 15333, - "end": 15337, + "start": 16603, + "end": 16607, "loc": { "start": { - "line": 428, + "line": 472, "column": 22 }, "end": { - "line": 428, + "line": 472, "column": 26 }, "identifierName": "icon" @@ -19194,58 +20897,58 @@ }, "init": { "type": "MemberExpression", - "start": 15340, - "end": 15354, + "start": 16610, + "end": 16624, "loc": { "start": { - "line": 428, + "line": 472, "column": 29 }, "end": { - "line": 428, + "line": 472, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 15340, - "end": 15351, + "start": 16610, + "end": 16621, "loc": { "start": { - "line": 428, + "line": 472, "column": 29 }, "end": { - "line": 428, + "line": 472, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 15340, - "end": 15344, + "start": 16610, + "end": 16614, "loc": { "start": { - "line": 428, + "line": 472, "column": 29 }, "end": { - "line": 428, + "line": 472, "column": 33 } } }, "property": { "type": "Identifier", - "start": 15345, - "end": 15351, + "start": 16615, + "end": 16621, "loc": { "start": { - "line": 428, + "line": 472, "column": 34 }, "end": { - "line": 428, + "line": 472, "column": 40 }, "identifierName": "states" @@ -19256,15 +20959,15 @@ }, "property": { "type": "Identifier", - "start": 15352, - "end": 15353, + "start": 16622, + "end": 16623, "loc": { "start": { - "line": 428, + "line": 472, "column": 41 }, "end": { - "line": 428, + "line": 472, "column": 42 }, "identifierName": "i" @@ -19280,15 +20983,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 15373, - "end": 15423, + "start": 16643, + "end": 16693, "loc": { "start": { - "line": 429, + "line": 473, "column": 16 }, "end": { - "line": 429, + "line": 473, "column": 66 } } @@ -19297,71 +21000,71 @@ }, { "type": "IfStatement", - "start": 15441, - "end": 15525, + "start": 16711, + "end": 16795, "loc": { "start": { - "line": 430, + "line": 474, "column": 16 }, "end": { - "line": 432, + "line": 476, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 15445, - "end": 15469, + "start": 16715, + "end": 16739, "loc": { "start": { - "line": 430, + "line": 474, "column": 20 }, "end": { - "line": 430, + "line": 474, "column": 44 } }, "left": { "type": "CallExpression", - "start": 15445, - "end": 15459, + "start": 16715, + "end": 16729, "loc": { "start": { - "line": 430, + "line": 474, "column": 20 }, "end": { - "line": 430, + "line": 474, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 15445, - "end": 15457, + "start": 16715, + "end": 16727, "loc": { "start": { - "line": 430, + "line": 474, "column": 20 }, "end": { - "line": 430, + "line": 474, "column": 32 } }, "object": { "type": "Identifier", - "start": 15445, - "end": 15449, + "start": 16715, + "end": 16719, "loc": { "start": { - "line": 430, + "line": 474, "column": 20 }, "end": { - "line": 430, + "line": 474, "column": 24 }, "identifierName": "icon" @@ -19371,15 +21074,15 @@ }, "property": { "type": "Identifier", - "start": 15450, - "end": 15457, + "start": 16720, + "end": 16727, "loc": { "start": { - "line": 430, + "line": 474, "column": 25 }, "end": { - "line": 430, + "line": 474, "column": 32 }, "identifierName": "getName" @@ -19395,15 +21098,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 15464, - "end": 15469, + "start": 16734, + "end": 16739, "loc": { "start": { - "line": 430, + "line": 474, "column": 39 }, "end": { - "line": 430, + "line": 474, "column": 44 }, "identifierName": "pName" @@ -19414,44 +21117,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 15471, - "end": 15525, + "start": 16741, + "end": 16795, "loc": { "start": { - "line": 430, + "line": 474, "column": 46 }, "end": { - "line": 432, + "line": 476, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 15494, - "end": 15506, + "start": 16764, + "end": 16776, "loc": { "start": { - "line": 431, + "line": 475, "column": 20 }, "end": { - "line": 431, + "line": 475, "column": 32 } }, "argument": { "type": "Identifier", - "start": 15501, - "end": 15505, + "start": 16771, + "end": 16775, "loc": { "start": { - "line": 431, + "line": 475, "column": 27 }, "end": { - "line": 431, + "line": 475, "column": 31 }, "identifierName": "icon" @@ -19467,15 +21170,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 15373, - "end": 15423, + "start": 16643, + "end": 16693, "loc": { "start": { - "line": 429, + "line": 473, "column": 16 }, "end": { - "line": 429, + "line": 473, "column": 66 } } @@ -19491,114 +21194,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 15557, - "end": 15648, + "start": 16827, + "end": 16918, "loc": { "start": { - "line": 434, + "line": 478, "column": 15 }, "end": { - "line": 436, + "line": 480, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15572, - "end": 15637, + "start": 16842, + "end": 16907, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 15572, - "end": 15636, + "start": 16842, + "end": 16906, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 15572, - "end": 15609, + "start": 16842, + "end": 16879, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 49 } }, "object": { "type": "CallExpression", - "start": 15572, - "end": 15603, + "start": 16842, + "end": 16873, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 15572, - "end": 15589, + "start": 16842, + "end": 16859, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 15572, - "end": 15582, + "start": 16842, + "end": 16852, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 22 } }, "object": { "type": "Identifier", - "start": 15572, - "end": 15575, + "start": 16842, + "end": 16845, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 15 }, "identifierName": "VYI" @@ -19607,15 +21310,15 @@ }, "property": { "type": "Identifier", - "start": 15576, - "end": 15582, + "start": 16846, + "end": 16852, "loc": { "start": { - "line": 435, + "line": 479, "column": 16 }, "end": { - "line": 435, + "line": 479, "column": 22 }, "identifierName": "logger" @@ -19626,15 +21329,15 @@ }, "property": { "type": "Identifier", - "start": 15583, - "end": 15589, + "start": 16853, + "end": 16859, "loc": { "start": { - "line": 435, + "line": 479, "column": 23 }, "end": { - "line": 435, + "line": 479, "column": 29 }, "identifierName": "prefix" @@ -19646,15 +21349,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15590, - "end": 15602, + "start": 16860, + "end": 16872, "loc": { "start": { - "line": 435, + "line": 479, "column": 30 }, "end": { - "line": 435, + "line": 479, "column": 42 } }, @@ -19668,15 +21371,15 @@ }, "property": { "type": "Identifier", - "start": 15604, - "end": 15609, + "start": 16874, + "end": 16879, "loc": { "start": { - "line": 435, + "line": 479, "column": 44 }, "end": { - "line": 435, + "line": 479, "column": 49 }, "identifierName": "error" @@ -19688,15 +21391,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15610, - "end": 15635, + "start": 16880, + "end": 16905, "loc": { "start": { - "line": 435, + "line": 479, "column": 50 }, "end": { - "line": 435, + "line": 479, "column": 75 } }, @@ -19721,15 +21424,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 14994, - "end": 15178, + "start": 16264, + "end": 16448, "loc": { "start": { - "line": 420, + "line": 464, "column": 4 }, "end": { - "line": 424, + "line": 468, "column": 7 } } @@ -19739,15 +21442,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15661, - "end": 15791, + "start": 16931, + "end": 17061, "loc": { "start": { - "line": 438, + "line": 482, "column": 4 }, "end": { - "line": 441, + "line": 485, "column": 7 } } @@ -19756,15 +21459,15 @@ }, { "type": "ClassMethod", - "start": 15797, - "end": 15853, + "start": 17067, + "end": 17123, "loc": { "start": { - "line": 442, + "line": 486, "column": 4 }, "end": { - "line": 444, + "line": 488, "column": 5 } }, @@ -19772,15 +21475,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15797, - "end": 15806, + "start": 17067, + "end": 17076, "loc": { "start": { - "line": 442, + "line": 486, "column": 4 }, "end": { - "line": 442, + "line": 486, "column": 13 }, "identifierName": "getStates" @@ -19796,102 +21499,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15809, - "end": 15853, + "start": 17079, + "end": 17123, "loc": { "start": { - "line": 442, + "line": 486, "column": 16 }, "end": { - "line": 444, + "line": 488, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15820, - "end": 15846, + "start": 17090, + "end": 17116, "loc": { "start": { - "line": 443, + "line": 487, "column": 8 }, "end": { - "line": 443, + "line": 487, "column": 34 } }, "argument": { "type": "ArrayExpression", - "start": 15827, - "end": 15845, + "start": 17097, + "end": 17115, "loc": { "start": { - "line": 443, + "line": 487, "column": 15 }, "end": { - "line": 443, + "line": 487, "column": 33 } }, "elements": [ { "type": "SpreadElement", - "start": 15829, - "end": 15843, + "start": 17099, + "end": 17113, "loc": { "start": { - "line": 443, + "line": 487, "column": 17 }, "end": { - "line": 443, + "line": 487, "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 15832, - "end": 15843, + "start": 17102, + "end": 17113, "loc": { "start": { - "line": 443, + "line": 487, "column": 20 }, "end": { - "line": 443, + "line": 487, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 15832, - "end": 15836, + "start": 17102, + "end": 17106, "loc": { "start": { - "line": 443, + "line": 487, "column": 20 }, "end": { - "line": 443, + "line": 487, "column": 24 } } }, "property": { "type": "Identifier", - "start": 15837, - "end": 15843, + "start": 17107, + "end": 17113, "loc": { "start": { - "line": 443, + "line": 487, "column": 25 }, "end": { - "line": 443, + "line": 487, "column": 31 }, "identifierName": "states" @@ -19912,15 +21615,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15661, - "end": 15791, + "start": 16931, + "end": 17061, "loc": { "start": { - "line": 438, + "line": 482, "column": 4 }, "end": { - "line": 441, + "line": 485, "column": 7 } } @@ -19930,15 +21633,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15859, - "end": 16015, + "start": 17129, + "end": 17285, "loc": { "start": { - "line": 445, + "line": 489, "column": 4 }, "end": { - "line": 449, + "line": 493, "column": 7 } } @@ -19947,15 +21650,15 @@ }, { "type": "ClassMethod", - "start": 16021, - "end": 16296, + "start": 17291, + "end": 17566, "loc": { "start": { - "line": 450, + "line": 494, "column": 4 }, "end": { - "line": 457, + "line": 501, "column": 5 } }, @@ -19963,15 +21666,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16021, - "end": 16034, + "start": 17291, + "end": 17304, "loc": { "start": { - "line": 450, + "line": 494, "column": 4 }, "end": { - "line": 450, + "line": 494, "column": 17 }, "identifierName": "getStatesData" @@ -19987,59 +21690,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16037, - "end": 16296, + "start": 17307, + "end": 17566, "loc": { "start": { - "line": 450, + "line": 494, "column": 20 }, "end": { - "line": 457, + "line": 501, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 16048, - "end": 16074, + "start": 17318, + "end": 17344, "loc": { "start": { - "line": 451, + "line": 495, "column": 8 }, "end": { - "line": 451, + "line": 495, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16054, - "end": 16073, + "start": 17324, + "end": 17343, "loc": { "start": { - "line": 451, + "line": 495, "column": 14 }, "end": { - "line": 451, + "line": 495, "column": 33 } }, "id": { "type": "Identifier", - "start": 16054, - "end": 16068, + "start": 17324, + "end": 17338, "loc": { "start": { - "line": 451, + "line": 495, "column": 14 }, "end": { - "line": 451, + "line": 495, "column": 28 }, "identifierName": "stateDataArray" @@ -20048,15 +21751,15 @@ }, "init": { "type": "ArrayExpression", - "start": 16071, - "end": 16073, + "start": 17341, + "end": 17343, "loc": { "start": { - "line": 451, + "line": 495, "column": 31 }, "end": { - "line": 451, + "line": 495, "column": 33 } }, @@ -20069,15 +21772,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 16084, - "end": 16135, + "start": 17354, + "end": 17405, "loc": { "start": { - "line": 452, + "line": 496, "column": 8 }, "end": { - "line": 452, + "line": 496, "column": 59 } } @@ -20086,71 +21789,71 @@ }, { "type": "ExpressionStatement", - "start": 16145, - "end": 16249, + "start": 17415, + "end": 17519, "loc": { "start": { - "line": 453, + "line": 497, "column": 8 }, "end": { - "line": 455, + "line": 499, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 16145, - "end": 16248, + "start": 17415, + "end": 17518, "loc": { "start": { - "line": 453, + "line": 497, "column": 8 }, "end": { - "line": 455, + "line": 499, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 16145, - "end": 16164, + "start": 17415, + "end": 17434, "loc": { "start": { - "line": 453, + "line": 497, "column": 8 }, "end": { - "line": 453, + "line": 497, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 16145, - "end": 16156, + "start": 17415, + "end": 17426, "loc": { "start": { - "line": 453, + "line": 497, "column": 8 }, "end": { - "line": 453, + "line": 497, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 16145, - "end": 16149, + "start": 17415, + "end": 17419, "loc": { "start": { - "line": 453, + "line": 497, "column": 8 }, "end": { - "line": 453, + "line": 497, "column": 12 } }, @@ -20158,15 +21861,15 @@ }, "property": { "type": "Identifier", - "start": 16150, - "end": 16156, + "start": 17420, + "end": 17426, "loc": { "start": { - "line": 453, + "line": 497, "column": 13 }, "end": { - "line": 453, + "line": 497, "column": 19 }, "identifierName": "states" @@ -20178,15 +21881,15 @@ }, "property": { "type": "Identifier", - "start": 16157, - "end": 16164, + "start": 17427, + "end": 17434, "loc": { "start": { - "line": 453, + "line": 497, "column": 20 }, "end": { - "line": 453, + "line": 497, "column": 27 }, "identifierName": "forEach" @@ -20199,15 +21902,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16165, - "end": 16247, + "start": 17435, + "end": 17517, "loc": { "start": { - "line": 453, + "line": 497, "column": 28 }, "end": { - "line": 455, + "line": 499, "column": 9 } }, @@ -20218,15 +21921,15 @@ "params": [ { "type": "Identifier", - "start": 16166, - "end": 16172, + "start": 17436, + "end": 17442, "loc": { "start": { - "line": 453, + "line": 497, "column": 29 }, "end": { - "line": 453, + "line": 497, "column": 35 }, "identifierName": "pState" @@ -20236,72 +21939,72 @@ ], "body": { "type": "BlockStatement", - "start": 16177, - "end": 16247, + "start": 17447, + "end": 17517, "loc": { "start": { - "line": 453, + "line": 497, "column": 40 }, "end": { - "line": 455, + "line": 499, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16192, - "end": 16236, + "start": 17462, + "end": 17506, "loc": { "start": { - "line": 454, + "line": 498, "column": 12 }, "end": { - "line": 454, + "line": 498, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 16192, - "end": 16235, + "start": 17462, + "end": 17505, "loc": { "start": { - "line": 454, + "line": 498, "column": 12 }, "end": { - "line": 454, + "line": 498, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 16192, - "end": 16211, + "start": 17462, + "end": 17481, "loc": { "start": { - "line": 454, + "line": 498, "column": 12 }, "end": { - "line": 454, + "line": 498, "column": 31 } }, "object": { "type": "Identifier", - "start": 16192, - "end": 16206, + "start": 17462, + "end": 17476, "loc": { "start": { - "line": 454, + "line": 498, "column": 12 }, "end": { - "line": 454, + "line": 498, "column": 26 }, "identifierName": "stateDataArray" @@ -20310,15 +22013,15 @@ }, "property": { "type": "Identifier", - "start": 16207, - "end": 16211, + "start": 17477, + "end": 17481, "loc": { "start": { - "line": 454, + "line": 498, "column": 27 }, "end": { - "line": 454, + "line": 498, "column": 31 }, "identifierName": "push" @@ -20330,43 +22033,43 @@ "arguments": [ { "type": "CallExpression", - "start": 16212, - "end": 16234, + "start": 17482, + "end": 17504, "loc": { "start": { - "line": 454, + "line": 498, "column": 32 }, "end": { - "line": 454, + "line": 498, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 16212, - "end": 16232, + "start": 17482, + "end": 17502, "loc": { "start": { - "line": 454, + "line": 498, "column": 32 }, "end": { - "line": 454, + "line": 498, "column": 52 } }, "object": { "type": "Identifier", - "start": 16212, - "end": 16218, + "start": 17482, + "end": 17488, "loc": { "start": { - "line": 454, + "line": 498, "column": 32 }, "end": { - "line": 454, + "line": 498, "column": 38 }, "identifierName": "pState" @@ -20375,15 +22078,15 @@ }, "property": { "type": "Identifier", - "start": 16219, - "end": 16232, + "start": 17489, + "end": 17502, "loc": { "start": { - "line": 454, + "line": 498, "column": 39 }, "end": { - "line": 454, + "line": 498, "column": 52 }, "identifierName": "exportAsState" @@ -20408,15 +22111,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 16084, - "end": 16135, + "start": 17354, + "end": 17405, "loc": { "start": { - "line": 452, + "line": 496, "column": 8 }, "end": { - "line": 452, + "line": 496, "column": 59 } } @@ -20425,29 +22128,29 @@ }, { "type": "ReturnStatement", - "start": 16259, - "end": 16281, + "start": 17529, + "end": 17551, "loc": { "start": { - "line": 456, + "line": 500, "column": 8 }, "end": { - "line": 456, + "line": 500, "column": 30 } }, "argument": { "type": "Identifier", - "start": 16266, - "end": 16280, + "start": 17536, + "end": 17550, "loc": { "start": { - "line": 456, + "line": 500, "column": 15 }, "end": { - "line": 456, + "line": 500, "column": 29 }, "identifierName": "stateDataArray" @@ -20463,15 +22166,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15859, - "end": 16015, + "start": 17129, + "end": 17285, "loc": { "start": { - "line": 445, + "line": 489, "column": 4 }, "end": { - "line": 449, + "line": 493, "column": 7 } } @@ -20481,15 +22184,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16302, - "end": 16490, + "start": 17572, + "end": 17760, "loc": { "start": { - "line": 458, + "line": 502, "column": 4 }, "end": { - "line": 462, + "line": 506, "column": 7 } } @@ -20498,15 +22201,15 @@ }, { "type": "ClassMethod", - "start": 16496, - "end": 17007, + "start": 17766, + "end": 18277, "loc": { "start": { - "line": 463, + "line": 507, "column": 4 }, "end": { - "line": 479, + "line": 523, "column": 5 } }, @@ -20514,15 +22217,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16496, - "end": 16509, + "start": 17766, + "end": 17779, "loc": { "start": { - "line": 463, + "line": 507, "column": 4 }, "end": { - "line": 463, + "line": 507, "column": 17 }, "identifierName": "exportAsState" @@ -20538,59 +22241,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16512, - "end": 17007, + "start": 17782, + "end": 18277, "loc": { "start": { - "line": 463, + "line": 507, "column": 20 }, "end": { - "line": 479, + "line": 523, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 16523, - "end": 16544, + "start": 17793, + "end": 17814, "loc": { "start": { - "line": 464, + "line": 508, "column": 8 }, "end": { - "line": 464, + "line": 508, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16529, - "end": 16543, + "start": 17799, + "end": 17813, "loc": { "start": { - "line": 464, + "line": 508, "column": 14 }, "end": { - "line": 464, + "line": 508, "column": 28 } }, "id": { "type": "Identifier", - "start": 16529, - "end": 16538, + "start": 17799, + "end": 17808, "loc": { "start": { - "line": 464, + "line": 508, "column": 14 }, "end": { - "line": 464, + "line": 508, "column": 23 }, "identifierName": "stateData" @@ -20599,15 +22302,15 @@ }, "init": { "type": "ArrayExpression", - "start": 16541, - "end": 16543, + "start": 17811, + "end": 17813, "loc": { "start": { - "line": 464, + "line": 508, "column": 26 }, "end": { - "line": 464, + "line": 508, "column": 28 } }, @@ -20620,15 +22323,15 @@ { "type": "CommentLine", "value": " state name", - "start": 16554, - "end": 16567, + "start": 17824, + "end": 17837, "loc": { "start": { - "line": 465, + "line": 509, "column": 8 }, "end": { - "line": 465, + "line": 509, "column": 21 } } @@ -20637,58 +22340,58 @@ }, { "type": "ExpressionStatement", - "start": 16577, - "end": 16607, + "start": 17847, + "end": 17877, "loc": { "start": { - "line": 466, + "line": 510, "column": 8 }, "end": { - "line": 466, + "line": 510, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 16577, - "end": 16606, + "start": 17847, + "end": 17876, "loc": { "start": { - "line": 466, + "line": 510, "column": 8 }, "end": { - "line": 466, + "line": 510, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16577, - "end": 16589, + "start": 17847, + "end": 17859, "loc": { "start": { - "line": 466, + "line": 510, "column": 8 }, "end": { - "line": 466, + "line": 510, "column": 20 } }, "object": { "type": "Identifier", - "start": 16577, - "end": 16586, + "start": 17847, + "end": 17856, "loc": { "start": { - "line": 466, + "line": 510, "column": 8 }, "end": { - "line": 466, + "line": 510, "column": 17 }, "identifierName": "stateData" @@ -20698,15 +22401,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16587, - "end": 16588, + "start": 17857, + "end": 17858, "loc": { "start": { - "line": 466, + "line": 510, "column": 18 }, "end": { - "line": 466, + "line": 510, "column": 19 } }, @@ -20721,58 +22424,58 @@ }, "right": { "type": "CallExpression", - "start": 16592, - "end": 16606, + "start": 17862, + "end": 17876, "loc": { "start": { - "line": 466, + "line": 510, "column": 23 }, "end": { - "line": 466, + "line": 510, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 16592, - "end": 16604, + "start": 17862, + "end": 17874, "loc": { "start": { - "line": 466, + "line": 510, "column": 23 }, "end": { - "line": 466, + "line": 510, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 16592, - "end": 16596, + "start": 17862, + "end": 17866, "loc": { "start": { - "line": 466, + "line": 510, "column": 23 }, "end": { - "line": 466, + "line": 510, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16597, - "end": 16604, + "start": 17867, + "end": 17874, "loc": { "start": { - "line": 466, + "line": 510, "column": 28 }, "end": { - "line": 466, + "line": 510, "column": 35 }, "identifierName": "getName" @@ -20789,15 +22492,15 @@ { "type": "CommentLine", "value": " state name", - "start": 16554, - "end": 16567, + "start": 17824, + "end": 17837, "loc": { "start": { - "line": 465, + "line": 509, "column": 8 }, "end": { - "line": 465, + "line": 509, "column": 21 } } @@ -20807,15 +22510,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 16617, - "end": 16633, + "start": 17887, + "end": 17903, "loc": { "start": { - "line": 467, + "line": 511, "column": 8 }, "end": { - "line": 467, + "line": 511, "column": 24 } } @@ -20824,58 +22527,58 @@ }, { "type": "ExpressionStatement", - "start": 16643, - "end": 16676, + "start": 17913, + "end": 17946, "loc": { "start": { - "line": 468, + "line": 512, "column": 8 }, "end": { - "line": 468, + "line": 512, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 16643, - "end": 16675, + "start": 17913, + "end": 17945, "loc": { "start": { - "line": 468, + "line": 512, "column": 8 }, "end": { - "line": 468, + "line": 512, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16643, - "end": 16655, + "start": 17913, + "end": 17925, "loc": { "start": { - "line": 468, + "line": 512, "column": 8 }, "end": { - "line": 468, + "line": 512, "column": 20 } }, "object": { "type": "Identifier", - "start": 16643, - "end": 16652, + "start": 17913, + "end": 17922, "loc": { "start": { - "line": 468, + "line": 512, "column": 8 }, "end": { - "line": 468, + "line": 512, "column": 17 }, "identifierName": "stateData" @@ -20885,15 +22588,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16653, - "end": 16654, + "start": 17923, + "end": 17924, "loc": { "start": { - "line": 468, + "line": 512, "column": 18 }, "end": { - "line": 468, + "line": 512, "column": 19 } }, @@ -20908,58 +22611,58 @@ }, "right": { "type": "CallExpression", - "start": 16658, - "end": 16675, + "start": 17928, + "end": 17945, "loc": { "start": { - "line": 468, + "line": 512, "column": 23 }, "end": { - "line": 468, + "line": 512, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 16658, - "end": 16673, + "start": 17928, + "end": 17943, "loc": { "start": { - "line": 468, + "line": 512, "column": 23 }, "end": { - "line": 468, + "line": 512, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 16658, - "end": 16662, + "start": 17928, + "end": 17932, "loc": { "start": { - "line": 468, + "line": 512, "column": 23 }, "end": { - "line": 468, + "line": 512, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16663, - "end": 16673, + "start": 17933, + "end": 17943, "loc": { "start": { - "line": 468, + "line": 512, "column": 28 }, "end": { - "line": 468, + "line": 512, "column": 38 }, "identifierName": "getDataURL" @@ -20976,15 +22679,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 16617, - "end": 16633, + "start": 17887, + "end": 17903, "loc": { "start": { - "line": 467, + "line": 511, "column": 8 }, "end": { - "line": 467, + "line": 511, "column": 24 } } @@ -20994,15 +22697,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16686, - "end": 16706, + "start": 17956, + "end": 17976, "loc": { "start": { - "line": 469, + "line": 513, "column": 8 }, "end": { - "line": 469, + "line": 513, "column": 28 } } @@ -21011,58 +22714,58 @@ }, { "type": "ExpressionStatement", - "start": 16716, - "end": 16747, + "start": 17986, + "end": 18017, "loc": { "start": { - "line": 470, + "line": 514, "column": 8 }, "end": { - "line": 470, + "line": 514, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 16716, - "end": 16746, + "start": 17986, + "end": 18016, "loc": { "start": { - "line": 470, + "line": 514, "column": 8 }, "end": { - "line": 470, + "line": 514, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16716, - "end": 16728, + "start": 17986, + "end": 17998, "loc": { "start": { - "line": 470, + "line": 514, "column": 8 }, "end": { - "line": 470, + "line": 514, "column": 20 } }, "object": { "type": "Identifier", - "start": 16716, - "end": 16725, + "start": 17986, + "end": 17995, "loc": { "start": { - "line": 470, + "line": 514, "column": 8 }, "end": { - "line": 470, + "line": 514, "column": 17 }, "identifierName": "stateData" @@ -21072,15 +22775,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16726, - "end": 16727, + "start": 17996, + "end": 17997, "loc": { "start": { - "line": 470, + "line": 514, "column": 18 }, "end": { - "line": 470, + "line": 514, "column": 19 } }, @@ -21095,58 +22798,58 @@ }, "right": { "type": "CallExpression", - "start": 16731, - "end": 16746, + "start": 18001, + "end": 18016, "loc": { "start": { - "line": 470, + "line": 514, "column": 23 }, "end": { - "line": 470, + "line": 514, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 16731, - "end": 16744, + "start": 18001, + "end": 18014, "loc": { "start": { - "line": 470, + "line": 514, "column": 23 }, "end": { - "line": 470, + "line": 514, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 16731, - "end": 16735, + "start": 18001, + "end": 18005, "loc": { "start": { - "line": 470, + "line": 514, "column": 23 }, "end": { - "line": 470, + "line": 514, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16736, - "end": 16744, + "start": 18006, + "end": 18014, "loc": { "start": { - "line": 470, + "line": 514, "column": 28 }, "end": { - "line": 470, + "line": 514, "column": 36 }, "identifierName": "getDelay" @@ -21163,15 +22866,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16686, - "end": 16706, + "start": 17956, + "end": 17976, "loc": { "start": { - "line": 469, + "line": 513, "column": 8 }, "end": { - "line": 469, + "line": 513, "column": 28 } } @@ -21181,15 +22884,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16757, - "end": 16777, + "start": 18027, + "end": 18047, "loc": { "start": { - "line": 471, + "line": 515, "column": 8 }, "end": { - "line": 471, + "line": 515, "column": 28 } } @@ -21198,58 +22901,58 @@ }, { "type": "ExpressionStatement", - "start": 16787, - "end": 16805, + "start": 18057, + "end": 18075, "loc": { "start": { - "line": 472, + "line": 516, "column": 8 }, "end": { - "line": 472, + "line": 516, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 16787, - "end": 16804, + "start": 18057, + "end": 18074, "loc": { "start": { - "line": 472, + "line": 516, "column": 8 }, "end": { - "line": 472, + "line": 516, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16787, - "end": 16799, + "start": 18057, + "end": 18069, "loc": { "start": { - "line": 472, + "line": 516, "column": 8 }, "end": { - "line": 472, + "line": 516, "column": 20 } }, "object": { "type": "Identifier", - "start": 16787, - "end": 16796, + "start": 18057, + "end": 18066, "loc": { "start": { - "line": 472, + "line": 516, "column": 8 }, "end": { - "line": 472, + "line": 516, "column": 17 }, "identifierName": "stateData" @@ -21259,15 +22962,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16797, - "end": 16798, + "start": 18067, + "end": 18068, "loc": { "start": { - "line": 472, + "line": 516, "column": 18 }, "end": { - "line": 472, + "line": 516, "column": 19 } }, @@ -21282,15 +22985,15 @@ }, "right": { "type": "ArrayExpression", - "start": 16802, - "end": 16804, + "start": 18072, + "end": 18074, "loc": { "start": { - "line": 472, + "line": 516, "column": 23 }, "end": { - "line": 472, + "line": 516, "column": 25 } }, @@ -21302,15 +23005,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16757, - "end": 16777, + "start": 18027, + "end": 18047, "loc": { "start": { - "line": 471, + "line": 515, "column": 8 }, "end": { - "line": 471, + "line": 515, "column": 28 } } @@ -21320,15 +23023,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16817, - "end": 16868, + "start": 18087, + "end": 18138, "loc": { "start": { - "line": 474, + "line": 518, "column": 8 }, "end": { - "line": 474, + "line": 518, "column": 59 } } @@ -21337,71 +23040,71 @@ }, { "type": "ExpressionStatement", - "start": 16878, - "end": 16973, + "start": 18148, + "end": 18243, "loc": { "start": { - "line": 475, + "line": 519, "column": 8 }, "end": { - "line": 477, + "line": 521, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 16878, - "end": 16972, + "start": 18148, + "end": 18242, "loc": { "start": { - "line": 475, + "line": 519, "column": 8 }, "end": { - "line": 477, + "line": 521, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 16878, - "end": 16897, + "start": 18148, + "end": 18167, "loc": { "start": { - "line": 475, + "line": 519, "column": 8 }, "end": { - "line": 475, + "line": 519, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 16878, - "end": 16889, + "start": 18148, + "end": 18159, "loc": { "start": { - "line": 475, + "line": 519, "column": 8 }, "end": { - "line": 475, + "line": 519, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 16878, - "end": 16882, + "start": 18148, + "end": 18152, "loc": { "start": { - "line": 475, + "line": 519, "column": 8 }, "end": { - "line": 475, + "line": 519, "column": 12 } }, @@ -21409,15 +23112,15 @@ }, "property": { "type": "Identifier", - "start": 16883, - "end": 16889, + "start": 18153, + "end": 18159, "loc": { "start": { - "line": 475, + "line": 519, "column": 13 }, "end": { - "line": 475, + "line": 519, "column": 19 }, "identifierName": "frames" @@ -21429,15 +23132,15 @@ }, "property": { "type": "Identifier", - "start": 16890, - "end": 16897, + "start": 18160, + "end": 18167, "loc": { "start": { - "line": 475, + "line": 519, "column": 20 }, "end": { - "line": 475, + "line": 519, "column": 27 }, "identifierName": "forEach" @@ -21450,15 +23153,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16898, - "end": 16971, + "start": 18168, + "end": 18241, "loc": { "start": { - "line": 475, + "line": 519, "column": 28 }, "end": { - "line": 477, + "line": 521, "column": 9 } }, @@ -21469,15 +23172,15 @@ "params": [ { "type": "Identifier", - "start": 16899, - "end": 16905, + "start": 18169, + "end": 18175, "loc": { "start": { - "line": 475, + "line": 519, "column": 29 }, "end": { - "line": 475, + "line": 519, "column": 35 }, "identifierName": "pFrame" @@ -21487,86 +23190,86 @@ ], "body": { "type": "BlockStatement", - "start": 16910, - "end": 16971, + "start": 18180, + "end": 18241, "loc": { "start": { - "line": 475, + "line": 519, "column": 40 }, "end": { - "line": 477, + "line": 521, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16925, - "end": 16960, + "start": 18195, + "end": 18230, "loc": { "start": { - "line": 476, + "line": 520, "column": 12 }, "end": { - "line": 476, + "line": 520, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 16925, - "end": 16959, + "start": 18195, + "end": 18229, "loc": { "start": { - "line": 476, + "line": 520, "column": 12 }, "end": { - "line": 476, + "line": 520, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 16925, - "end": 16942, + "start": 18195, + "end": 18212, "loc": { "start": { - "line": 476, + "line": 520, "column": 12 }, "end": { - "line": 476, + "line": 520, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 16925, - "end": 16937, + "start": 18195, + "end": 18207, "loc": { "start": { - "line": 476, + "line": 520, "column": 12 }, "end": { - "line": 476, + "line": 520, "column": 24 } }, "object": { "type": "Identifier", - "start": 16925, - "end": 16934, + "start": 18195, + "end": 18204, "loc": { "start": { - "line": 476, + "line": 520, "column": 12 }, "end": { - "line": 476, + "line": 520, "column": 21 }, "identifierName": "stateData" @@ -21575,15 +23278,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16935, - "end": 16936, + "start": 18205, + "end": 18206, "loc": { "start": { - "line": 476, + "line": 520, "column": 22 }, "end": { - "line": 476, + "line": 520, "column": 23 } }, @@ -21597,15 +23300,15 @@ }, "property": { "type": "Identifier", - "start": 16938, - "end": 16942, + "start": 18208, + "end": 18212, "loc": { "start": { - "line": 476, + "line": 520, "column": 25 }, "end": { - "line": 476, + "line": 520, "column": 29 }, "identifierName": "push" @@ -21617,43 +23320,43 @@ "arguments": [ { "type": "CallExpression", - "start": 16943, - "end": 16958, + "start": 18213, + "end": 18228, "loc": { "start": { - "line": 476, + "line": 520, "column": 30 }, "end": { - "line": 476, + "line": 520, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 16943, - "end": 16956, + "start": 18213, + "end": 18226, "loc": { "start": { - "line": 476, + "line": 520, "column": 30 }, "end": { - "line": 476, + "line": 520, "column": 43 } }, "object": { "type": "Identifier", - "start": 16943, - "end": 16949, + "start": 18213, + "end": 18219, "loc": { "start": { - "line": 476, + "line": 520, "column": 30 }, "end": { - "line": 476, + "line": 520, "column": 36 }, "identifierName": "pFrame" @@ -21662,15 +23365,15 @@ }, "property": { "type": "Identifier", - "start": 16950, - "end": 16956, + "start": 18220, + "end": 18226, "loc": { "start": { - "line": 476, + "line": 520, "column": 37 }, "end": { - "line": 476, + "line": 520, "column": 43 }, "identifierName": "export" @@ -21695,15 +23398,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16817, - "end": 16868, + "start": 18087, + "end": 18138, "loc": { "start": { - "line": 474, + "line": 518, "column": 8 }, "end": { - "line": 474, + "line": 518, "column": 59 } } @@ -21712,29 +23415,29 @@ }, { "type": "ReturnStatement", - "start": 16983, - "end": 17000, + "start": 18253, + "end": 18270, "loc": { "start": { - "line": 478, + "line": 522, "column": 8 }, "end": { - "line": 478, + "line": 522, "column": 25 } }, "argument": { "type": "Identifier", - "start": 16990, - "end": 16999, + "start": 18260, + "end": 18269, "loc": { "start": { - "line": 478, + "line": 522, "column": 15 }, "end": { - "line": 478, + "line": 522, "column": 24 }, "identifierName": "stateData" @@ -21750,15 +23453,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16302, - "end": 16490, + "start": 17572, + "end": 17760, "loc": { "start": { - "line": 458, + "line": 502, "column": 4 }, "end": { - "line": 462, + "line": 506, "column": 7 } } @@ -21768,15 +23471,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17013, - "end": 17188, + "start": 18283, + "end": 18458, "loc": { "start": { - "line": 480, + "line": 524, "column": 4 }, "end": { - "line": 484, + "line": 528, "column": 7 } } @@ -21785,15 +23488,15 @@ }, { "type": "ClassMethod", - "start": 17194, - "end": 17996, + "start": 18464, + "end": 19266, "loc": { "start": { - "line": 485, + "line": 529, "column": 4 }, "end": { - "line": 509, + "line": 553, "column": 5 } }, @@ -21801,15 +23504,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17194, - "end": 17200, + "start": 18464, + "end": 18470, "loc": { "start": { - "line": 485, + "line": 529, "column": 4 }, "end": { - "line": 485, + "line": 529, "column": 10 }, "identifierName": "export" @@ -21825,59 +23528,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17203, - "end": 17996, + "start": 18473, + "end": 19266, "loc": { "start": { - "line": 485, + "line": 529, "column": 13 }, "end": { - "line": 509, + "line": 553, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17214, - "end": 17234, + "start": 18484, + "end": 18504, "loc": { "start": { - "line": 486, + "line": 530, "column": 8 }, "end": { - "line": 486, + "line": 530, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17220, - "end": 17233, + "start": 18490, + "end": 18503, "loc": { "start": { - "line": 486, + "line": 530, "column": 14 }, "end": { - "line": 486, + "line": 530, "column": 27 } }, "id": { "type": "Identifier", - "start": 17220, - "end": 17228, + "start": 18490, + "end": 18498, "loc": { "start": { - "line": 486, + "line": 530, "column": 14 }, "end": { - "line": 486, + "line": 530, "column": 22 }, "identifierName": "iconData" @@ -21886,15 +23589,15 @@ }, "init": { "type": "ArrayExpression", - "start": 17231, - "end": 17233, + "start": 18501, + "end": 18503, "loc": { "start": { - "line": 486, + "line": 530, "column": 25 }, "end": { - "line": 486, + "line": 530, "column": 27 } }, @@ -21907,15 +23610,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 17244, - "end": 17256, + "start": 18514, + "end": 18526, "loc": { "start": { - "line": 487, + "line": 531, "column": 8 }, "end": { - "line": 487, + "line": 531, "column": 20 } } @@ -21924,58 +23627,58 @@ }, { "type": "ExpressionStatement", - "start": 17266, - "end": 17295, + "start": 18536, + "end": 18565, "loc": { "start": { - "line": 488, + "line": 532, "column": 8 }, "end": { - "line": 488, + "line": 532, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 17266, - "end": 17294, + "start": 18536, + "end": 18564, "loc": { "start": { - "line": 488, + "line": 532, "column": 8 }, "end": { - "line": 488, + "line": 532, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17266, - "end": 17277, + "start": 18536, + "end": 18547, "loc": { "start": { - "line": 488, + "line": 532, "column": 8 }, "end": { - "line": 488, + "line": 532, "column": 19 } }, "object": { "type": "Identifier", - "start": 17266, - "end": 17274, + "start": 18536, + "end": 18544, "loc": { "start": { - "line": 488, + "line": 532, "column": 8 }, "end": { - "line": 488, + "line": 532, "column": 16 }, "identifierName": "iconData" @@ -21985,15 +23688,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17275, - "end": 17276, + "start": 18545, + "end": 18546, "loc": { "start": { - "line": 488, + "line": 532, "column": 17 }, "end": { - "line": 488, + "line": 532, "column": 18 } }, @@ -22008,58 +23711,58 @@ }, "right": { "type": "CallExpression", - "start": 17280, - "end": 17294, + "start": 18550, + "end": 18564, "loc": { "start": { - "line": 488, + "line": 532, "column": 22 }, "end": { - "line": 488, + "line": 532, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 17280, - "end": 17292, + "start": 18550, + "end": 18562, "loc": { "start": { - "line": 488, + "line": 532, "column": 22 }, "end": { - "line": 488, + "line": 532, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17280, - "end": 17284, + "start": 18550, + "end": 18554, "loc": { "start": { - "line": 488, + "line": 532, "column": 22 }, "end": { - "line": 488, + "line": 532, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17285, - "end": 17292, + "start": 18555, + "end": 18562, "loc": { "start": { - "line": 488, + "line": 532, "column": 27 }, "end": { - "line": 488, + "line": 532, "column": 34 }, "identifierName": "getName" @@ -22076,15 +23779,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 17244, - "end": 17256, + "start": 18514, + "end": 18526, "loc": { "start": { - "line": 487, + "line": 531, "column": 8 }, "end": { - "line": 487, + "line": 531, "column": 20 } } @@ -22094,15 +23797,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 17305, - "end": 17334, + "start": 18575, + "end": 18604, "loc": { "start": { - "line": 489, + "line": 533, "column": 8 }, "end": { - "line": 489, + "line": 533, "column": 37 } } @@ -22111,44 +23814,44 @@ }, { "type": "VariableDeclaration", - "start": 17344, - "end": 17372, + "start": 18614, + "end": 18642, "loc": { "start": { - "line": 490, + "line": 534, "column": 8 }, "end": { - "line": 490, + "line": 534, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17350, - "end": 17371, + "start": 18620, + "end": 18641, "loc": { "start": { - "line": 490, + "line": 534, "column": 14 }, "end": { - "line": 490, + "line": 534, "column": 35 } }, "id": { "type": "Identifier", - "start": 17350, - "end": 17354, + "start": 18620, + "end": 18624, "loc": { "start": { - "line": 490, + "line": 534, "column": 14 }, "end": { - "line": 490, + "line": 534, "column": 18 }, "identifierName": "size" @@ -22158,58 +23861,58 @@ }, "init": { "type": "CallExpression", - "start": 17357, - "end": 17371, + "start": 18627, + "end": 18641, "loc": { "start": { - "line": 490, + "line": 534, "column": 21 }, "end": { - "line": 490, + "line": 534, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 17357, - "end": 17369, + "start": 18627, + "end": 18639, "loc": { "start": { - "line": 490, + "line": 534, "column": 21 }, "end": { - "line": 490, + "line": 534, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 17357, - "end": 17361, + "start": 18627, + "end": 18631, "loc": { "start": { - "line": 490, + "line": 534, "column": 21 }, "end": { - "line": 490, + "line": 534, "column": 25 } } }, "property": { "type": "Identifier", - "start": 17362, - "end": 17369, + "start": 18632, + "end": 18639, "loc": { "start": { - "line": 490, + "line": 534, "column": 26 }, "end": { - "line": 490, + "line": 534, "column": 33 }, "identifierName": "getSize" @@ -22228,15 +23931,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 17305, - "end": 17334, + "start": 18575, + "end": 18604, "loc": { "start": { - "line": 489, + "line": 533, "column": 8 }, "end": { - "line": 489, + "line": 533, "column": 37 } } @@ -22246,15 +23949,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 17382, - "end": 17395, + "start": 18652, + "end": 18665, "loc": { "start": { - "line": 491, + "line": 535, "column": 8 }, "end": { - "line": 491, + "line": 535, "column": 21 } } @@ -22263,58 +23966,58 @@ }, { "type": "ExpressionStatement", - "start": 17405, - "end": 17430, + "start": 18675, + "end": 18700, "loc": { "start": { - "line": 492, + "line": 536, "column": 8 }, "end": { - "line": 492, + "line": 536, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 17405, - "end": 17429, + "start": 18675, + "end": 18699, "loc": { "start": { - "line": 492, + "line": 536, "column": 8 }, "end": { - "line": 492, + "line": 536, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17405, - "end": 17416, + "start": 18675, + "end": 18686, "loc": { "start": { - "line": 492, + "line": 536, "column": 8 }, "end": { - "line": 492, + "line": 536, "column": 19 } }, "object": { "type": "Identifier", - "start": 17405, - "end": 17413, + "start": 18675, + "end": 18683, "loc": { "start": { - "line": 492, + "line": 536, "column": 8 }, "end": { - "line": 492, + "line": 536, "column": 16 }, "identifierName": "iconData" @@ -22324,15 +24027,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17414, - "end": 17415, + "start": 18684, + "end": 18685, "loc": { "start": { - "line": 492, + "line": 536, "column": 17 }, "end": { - "line": 492, + "line": 536, "column": 18 } }, @@ -22347,29 +24050,29 @@ }, "right": { "type": "MemberExpression", - "start": 17419, - "end": 17429, + "start": 18689, + "end": 18699, "loc": { "start": { - "line": 492, + "line": 536, "column": 22 }, "end": { - "line": 492, + "line": 536, "column": 32 } }, "object": { "type": "Identifier", - "start": 17419, - "end": 17423, + "start": 18689, + "end": 18693, "loc": { "start": { - "line": 492, + "line": 536, "column": 22 }, "end": { - "line": 492, + "line": 536, "column": 26 }, "identifierName": "size" @@ -22378,15 +24081,15 @@ }, "property": { "type": "Identifier", - "start": 17424, - "end": 17429, + "start": 18694, + "end": 18699, "loc": { "start": { - "line": 492, + "line": 536, "column": 27 }, "end": { - "line": 492, + "line": 536, "column": 32 }, "identifierName": "width" @@ -22401,15 +24104,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 17382, - "end": 17395, + "start": 18652, + "end": 18665, "loc": { "start": { - "line": 491, + "line": 535, "column": 8 }, "end": { - "line": 491, + "line": 535, "column": 21 } } @@ -22419,15 +24122,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 17440, - "end": 17454, + "start": 18710, + "end": 18724, "loc": { "start": { - "line": 493, + "line": 537, "column": 8 }, "end": { - "line": 493, + "line": 537, "column": 22 } } @@ -22436,58 +24139,58 @@ }, { "type": "ExpressionStatement", - "start": 17464, - "end": 17490, + "start": 18734, + "end": 18760, "loc": { "start": { - "line": 494, + "line": 538, "column": 8 }, "end": { - "line": 494, + "line": 538, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 17464, - "end": 17489, + "start": 18734, + "end": 18759, "loc": { "start": { - "line": 494, + "line": 538, "column": 8 }, "end": { - "line": 494, + "line": 538, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17464, - "end": 17475, + "start": 18734, + "end": 18745, "loc": { "start": { - "line": 494, + "line": 538, "column": 8 }, "end": { - "line": 494, + "line": 538, "column": 19 } }, "object": { "type": "Identifier", - "start": 17464, - "end": 17472, + "start": 18734, + "end": 18742, "loc": { "start": { - "line": 494, + "line": 538, "column": 8 }, "end": { - "line": 494, + "line": 538, "column": 16 }, "identifierName": "iconData" @@ -22497,15 +24200,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17473, - "end": 17474, + "start": 18743, + "end": 18744, "loc": { "start": { - "line": 494, + "line": 538, "column": 17 }, "end": { - "line": 494, + "line": 538, "column": 18 } }, @@ -22520,29 +24223,29 @@ }, "right": { "type": "MemberExpression", - "start": 17478, - "end": 17489, + "start": 18748, + "end": 18759, "loc": { "start": { - "line": 494, + "line": 538, "column": 22 }, "end": { - "line": 494, + "line": 538, "column": 33 } }, "object": { "type": "Identifier", - "start": 17478, - "end": 17482, + "start": 18748, + "end": 18752, "loc": { "start": { - "line": 494, + "line": 538, "column": 22 }, "end": { - "line": 494, + "line": 538, "column": 26 }, "identifierName": "size" @@ -22551,15 +24254,15 @@ }, "property": { "type": "Identifier", - "start": 17483, - "end": 17489, + "start": 18753, + "end": 18759, "loc": { "start": { - "line": 494, + "line": 538, "column": 27 }, "end": { - "line": 494, + "line": 538, "column": 33 }, "identifierName": "height" @@ -22574,15 +24277,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 17440, - "end": 17454, + "start": 18710, + "end": 18724, "loc": { "start": { - "line": 493, + "line": 537, "column": 8 }, "end": { - "line": 493, + "line": 537, "column": 22 } } @@ -22592,15 +24295,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 17500, - "end": 17514, + "start": 18770, + "end": 18784, "loc": { "start": { - "line": 495, + "line": 539, "column": 8 }, "end": { - "line": 495, + "line": 539, "column": 22 } } @@ -22609,58 +24312,58 @@ }, { "type": "ExpressionStatement", - "start": 17524, - "end": 17554, + "start": 18794, + "end": 18824, "loc": { "start": { - "line": 496, + "line": 540, "column": 8 }, "end": { - "line": 496, + "line": 540, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 17524, - "end": 17553, + "start": 18794, + "end": 18823, "loc": { "start": { - "line": 496, + "line": 540, "column": 8 }, "end": { - "line": 496, + "line": 540, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17524, - "end": 17535, + "start": 18794, + "end": 18805, "loc": { "start": { - "line": 496, + "line": 540, "column": 8 }, "end": { - "line": 496, + "line": 540, "column": 19 } }, "object": { "type": "Identifier", - "start": 17524, - "end": 17532, + "start": 18794, + "end": 18802, "loc": { "start": { - "line": 496, + "line": 540, "column": 8 }, "end": { - "line": 496, + "line": 540, "column": 16 }, "identifierName": "iconData" @@ -22670,15 +24373,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17533, - "end": 17534, + "start": 18803, + "end": 18804, "loc": { "start": { - "line": 496, + "line": 540, "column": 17 }, "end": { - "line": 496, + "line": 540, "column": 18 } }, @@ -22693,58 +24396,58 @@ }, "right": { "type": "CallExpression", - "start": 17538, - "end": 17553, + "start": 18808, + "end": 18823, "loc": { "start": { - "line": 496, + "line": 540, "column": 22 }, "end": { - "line": 496, + "line": 540, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 17538, - "end": 17551, + "start": 18808, + "end": 18821, "loc": { "start": { - "line": 496, + "line": 540, "column": 22 }, "end": { - "line": 496, + "line": 540, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 17538, - "end": 17542, + "start": 18808, + "end": 18812, "loc": { "start": { - "line": 496, + "line": 540, "column": 22 }, "end": { - "line": 496, + "line": 540, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17543, - "end": 17551, + "start": 18813, + "end": 18821, "loc": { "start": { - "line": 496, + "line": 540, "column": 27 }, "end": { - "line": 496, + "line": 540, "column": 35 }, "identifierName": "getDelay" @@ -22761,15 +24464,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 17500, - "end": 17514, + "start": 18770, + "end": 18784, "loc": { "start": { - "line": 495, + "line": 539, "column": 8 }, "end": { - "line": 495, + "line": 539, "column": 22 } } @@ -22779,15 +24482,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 17564, - "end": 17579, + "start": 18834, + "end": 18849, "loc": { "start": { - "line": 497, + "line": 541, "column": 8 }, "end": { - "line": 497, + "line": 541, "column": 23 } } @@ -22796,58 +24499,58 @@ }, { "type": "ExpressionStatement", - "start": 17589, - "end": 17621, + "start": 18859, + "end": 18891, "loc": { "start": { - "line": 498, + "line": 542, "column": 8 }, "end": { - "line": 498, + "line": 542, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 17589, - "end": 17620, + "start": 18859, + "end": 18890, "loc": { "start": { - "line": 498, + "line": 542, "column": 8 }, "end": { - "line": 498, + "line": 542, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17589, - "end": 17600, + "start": 18859, + "end": 18870, "loc": { "start": { - "line": 498, + "line": 542, "column": 8 }, "end": { - "line": 498, + "line": 542, "column": 19 } }, "object": { "type": "Identifier", - "start": 17589, - "end": 17597, + "start": 18859, + "end": 18867, "loc": { "start": { - "line": 498, + "line": 542, "column": 8 }, "end": { - "line": 498, + "line": 542, "column": 16 }, "identifierName": "iconData" @@ -22857,15 +24560,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17598, - "end": 17599, + "start": 18868, + "end": 18869, "loc": { "start": { - "line": 498, + "line": 542, "column": 17 }, "end": { - "line": 498, + "line": 542, "column": 18 } }, @@ -22880,58 +24583,58 @@ }, "right": { "type": "CallExpression", - "start": 17603, - "end": 17620, + "start": 18873, + "end": 18890, "loc": { "start": { - "line": 498, + "line": 542, "column": 22 }, "end": { - "line": 498, + "line": 542, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 17603, - "end": 17618, + "start": 18873, + "end": 18888, "loc": { "start": { - "line": 498, + "line": 542, "column": 22 }, "end": { - "line": 498, + "line": 542, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17603, - "end": 17607, + "start": 18873, + "end": 18877, "loc": { "start": { - "line": 498, + "line": 542, "column": 22 }, "end": { - "line": 498, + "line": 542, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17608, - "end": 17618, + "start": 18878, + "end": 18888, "loc": { "start": { - "line": 498, + "line": 542, "column": 27 }, "end": { - "line": 498, + "line": 542, "column": 37 }, "identifierName": "getDataURL" @@ -22948,15 +24651,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 17564, - "end": 17579, + "start": 18834, + "end": 18849, "loc": { "start": { - "line": 497, + "line": 541, "column": 8 }, "end": { - "line": 497, + "line": 541, "column": 23 } } @@ -22966,15 +24669,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 17631, - "end": 17645, + "start": 18901, + "end": 18915, "loc": { "start": { - "line": 499, + "line": 543, "column": 8 }, "end": { - "line": 499, + "line": 543, "column": 22 } } @@ -22983,58 +24686,58 @@ }, { "type": "ExpressionStatement", - "start": 17655, - "end": 17690, + "start": 18925, + "end": 18960, "loc": { "start": { - "line": 500, + "line": 544, "column": 8 }, "end": { - "line": 500, + "line": 544, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 17655, - "end": 17689, + "start": 18925, + "end": 18959, "loc": { "start": { - "line": 500, + "line": 544, "column": 8 }, "end": { - "line": 500, + "line": 544, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17655, - "end": 17666, + "start": 18925, + "end": 18936, "loc": { "start": { - "line": 500, + "line": 544, "column": 8 }, "end": { - "line": 500, + "line": 544, "column": 19 } }, "object": { "type": "Identifier", - "start": 17655, - "end": 17663, + "start": 18925, + "end": 18933, "loc": { "start": { - "line": 500, + "line": 544, "column": 8 }, "end": { - "line": 500, + "line": 544, "column": 16 }, "identifierName": "iconData" @@ -23044,15 +24747,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17664, - "end": 17665, + "start": 18934, + "end": 18935, "loc": { "start": { - "line": 500, + "line": 544, "column": 17 }, "end": { - "line": 500, + "line": 544, "column": 18 } }, @@ -23067,58 +24770,58 @@ }, "right": { "type": "CallExpression", - "start": 17669, - "end": 17689, + "start": 18939, + "end": 18959, "loc": { "start": { - "line": 500, + "line": 544, "column": 22 }, "end": { - "line": 500, + "line": 544, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 17669, - "end": 17687, + "start": 18939, + "end": 18957, "loc": { "start": { - "line": 500, + "line": 544, "column": 22 }, "end": { - "line": 500, + "line": 544, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 17669, - "end": 17673, + "start": 18939, + "end": 18943, "loc": { "start": { - "line": 500, + "line": 544, "column": 22 }, "end": { - "line": 500, + "line": 544, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17674, - "end": 17687, + "start": 18944, + "end": 18957, "loc": { "start": { - "line": 500, + "line": 544, "column": 27 }, "end": { - "line": 500, + "line": 544, "column": 40 }, "identifierName": "getFramesData" @@ -23135,15 +24838,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 17631, - "end": 17645, + "start": 18901, + "end": 18915, "loc": { "start": { - "line": 499, + "line": 543, "column": 8 }, "end": { - "line": 499, + "line": 543, "column": 22 } } @@ -23153,15 +24856,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17702, - "end": 17807, + "start": 18972, + "end": 19077, "loc": { "start": { - "line": 502, + "line": 546, "column": 8 }, "end": { - "line": 502, + "line": 546, "column": 113 } } @@ -23169,15 +24872,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17817, - "end": 17839, + "start": 19087, + "end": 19109, "loc": { "start": { - "line": 503, + "line": 547, "column": 8 }, "end": { - "line": 503, + "line": 547, "column": 30 } } @@ -23186,57 +24889,57 @@ }, { "type": "IfStatement", - "start": 17849, - "end": 17963, + "start": 19119, + "end": 19233, "loc": { "start": { - "line": 504, + "line": 548, "column": 8 }, "end": { - "line": 507, + "line": 551, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 17853, - "end": 17871, + "start": 19123, + "end": 19141, "loc": { "start": { - "line": 504, + "line": 548, "column": 12 }, "end": { - "line": 504, + "line": 548, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 17853, - "end": 17864, + "start": 19123, + "end": 19134, "loc": { "start": { - "line": 504, + "line": 548, "column": 12 }, "end": { - "line": 504, + "line": 548, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 17853, - "end": 17857, + "start": 19123, + "end": 19127, "loc": { "start": { - "line": 504, + "line": 548, "column": 12 }, "end": { - "line": 504, + "line": 548, "column": 16 } }, @@ -23244,15 +24947,15 @@ }, "property": { "type": "Identifier", - "start": 17858, - "end": 17864, + "start": 19128, + "end": 19134, "loc": { "start": { - "line": 504, + "line": 548, "column": 17 }, "end": { - "line": 504, + "line": 548, "column": 23 }, "identifierName": "states" @@ -23264,15 +24967,15 @@ }, "property": { "type": "Identifier", - "start": 17865, - "end": 17871, + "start": 19135, + "end": 19141, "loc": { "start": { - "line": 504, + "line": 548, "column": 24 }, "end": { - "line": 504, + "line": 548, "column": 30 }, "identifierName": "length" @@ -23284,73 +24987,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 17873, - "end": 17963, + "start": 19143, + "end": 19233, "loc": { "start": { - "line": 504, + "line": 548, "column": 32 }, "end": { - "line": 507, + "line": 551, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17917, - "end": 17952, + "start": 19187, + "end": 19222, "loc": { "start": { - "line": 506, + "line": 550, "column": 12 }, "end": { - "line": 506, + "line": 550, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 17917, - "end": 17951, + "start": 19187, + "end": 19221, "loc": { "start": { - "line": 506, + "line": 550, "column": 12 }, "end": { - "line": 506, + "line": 550, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17917, - "end": 17928, + "start": 19187, + "end": 19198, "loc": { "start": { - "line": 506, + "line": 550, "column": 12 }, "end": { - "line": 506, + "line": 550, "column": 23 } }, "object": { "type": "Identifier", - "start": 17917, - "end": 17925, + "start": 19187, + "end": 19195, "loc": { "start": { - "line": 506, + "line": 550, "column": 12 }, "end": { - "line": 506, + "line": 550, "column": 20 }, "identifierName": "iconData" @@ -23360,15 +25063,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17926, - "end": 17927, + "start": 19196, + "end": 19197, "loc": { "start": { - "line": 506, + "line": 550, "column": 21 }, "end": { - "line": 506, + "line": 550, "column": 22 } }, @@ -23383,58 +25086,58 @@ }, "right": { "type": "CallExpression", - "start": 17931, - "end": 17951, + "start": 19201, + "end": 19221, "loc": { "start": { - "line": 506, + "line": 550, "column": 26 }, "end": { - "line": 506, + "line": 550, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 17931, - "end": 17949, + "start": 19201, + "end": 19219, "loc": { "start": { - "line": 506, + "line": 550, "column": 26 }, "end": { - "line": 506, + "line": 550, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 17931, - "end": 17935, + "start": 19201, + "end": 19205, "loc": { "start": { - "line": 506, + "line": 550, "column": 26 }, "end": { - "line": 506, + "line": 550, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17936, - "end": 17949, + "start": 19206, + "end": 19219, "loc": { "start": { - "line": 506, + "line": 550, "column": 31 }, "end": { - "line": 506, + "line": 550, "column": 44 }, "identifierName": "getStatesData" @@ -23451,15 +25154,15 @@ { "type": "CommentLine", "value": " states array", - "start": 17888, - "end": 17903, + "start": 19158, + "end": 19173, "loc": { "start": { - "line": 505, + "line": 549, "column": 12 }, "end": { - "line": 505, + "line": 549, "column": 27 } } @@ -23474,15 +25177,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17702, - "end": 17807, + "start": 18972, + "end": 19077, "loc": { "start": { - "line": 502, + "line": 546, "column": 8 }, "end": { - "line": 502, + "line": 546, "column": 113 } } @@ -23490,15 +25193,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17817, - "end": 17839, + "start": 19087, + "end": 19109, "loc": { "start": { - "line": 503, + "line": 547, "column": 8 }, "end": { - "line": 503, + "line": 547, "column": 30 } } @@ -23507,29 +25210,29 @@ }, { "type": "ReturnStatement", - "start": 17973, - "end": 17989, + "start": 19243, + "end": 19259, "loc": { "start": { - "line": 508, + "line": 552, "column": 8 }, "end": { - "line": 508, + "line": 552, "column": 24 } }, "argument": { "type": "Identifier", - "start": 17980, - "end": 17988, + "start": 19250, + "end": 19258, "loc": { "start": { - "line": 508, + "line": 552, "column": 15 }, "end": { - "line": 508, + "line": 552, "column": 23 }, "identifierName": "iconData" @@ -23544,15 +25247,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17013, - "end": 17188, + "start": 18283, + "end": 18458, "loc": { "start": { - "line": 480, + "line": 524, "column": 4 }, "end": { - "line": 484, + "line": 528, "column": 7 } } @@ -23565,23 +25268,2133 @@ "trailingComments": [] } } - ], - "directives": [] - }, - "comments": [ + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", + "start": 99, + "end": 206, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", + "start": 230, + "end": 343, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 15, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", + "start": 367, + "end": 508, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", + "start": 531, + "end": 673, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", + "start": 697, + "end": 799, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", + "start": 819, + "end": 904, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 39, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", + "start": 928, + "end": 1011, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 45, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", + "start": 1033, + "end": 1153, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 51, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", + "start": 1172, + "end": 1268, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 58, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", + "start": 1284, + "end": 1474, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 65, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", + "start": 1489, + "end": 1698, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 73, + "column": 6 + } + } + }, + { + "type": "CommentLine", + "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", + "start": 1867, + "end": 1960, + "loc": { + "start": { + "line": 78, + "column": 7 + }, + "end": { + "line": 78, + "column": 100 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", + "start": 2136, + "end": 2350, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 91, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", + "start": 2487, + "end": 2617, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 102, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", + "start": 2694, + "end": 2796, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 110, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", + "start": 2849, + "end": 3026, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Loop through pIconData and create this icon", + "start": 3060, + "end": 3106, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 54 + } + } + }, + { + "type": "CommentLine", + "value": " Set name", + "start": 3409, + "end": 3420, + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " Set size", + "start": 3462, + "end": 3473, + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " Set icon delay", + "start": 3529, + "end": 3546, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 25 + } + } + }, + { + "type": "CommentLine", + "value": " Set dataURL", + "start": 3591, + "end": 3605, + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " Check if the frame data is an array", + "start": 3654, + "end": 3692, + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 46 + } + } + }, + { + "type": "CommentLine", + "value": " If the frame array has data then we need to store it.", + "start": 3748, + "end": 3804, + "loc": { + "start": { + "line": 139, + "column": 12 + }, + "end": { + "line": 139, + "column": 68 + } + } + }, + { + "type": "CommentLine", + "value": " pFrame is an array holding the datalURL and frameDelay of the frame", + "start": 3914, + "end": 3984, + "loc": { + "start": { + "line": 142, + "column": 20 + }, + "end": { + "line": 142, + "column": 90 + } + } + }, + { + "type": "CommentLine", + "value": " Check if the states data is an array", + "start": 4085, + "end": 4124, + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " If the state array has data then we need to store it.", + "start": 4180, + "end": 4236, + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 68 + } + } + }, + { + "type": "CommentLine", + "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", + "start": 4346, + "end": 4448, + "loc": { + "start": { + "line": 152, + "column": 20 + }, + "end": { + "line": 152, + "column": 122 + } + } + }, + { + "type": "CommentLine", + "value": " We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.", + "start": 4470, + "end": 4635, + "loc": { + "start": { + "line": 153, + "column": 20 + }, + "end": { + "line": 153, + "column": 185 + } + } + }, + { + "type": "CommentLine", + "value": " iconName", + "start": 4709, + "end": 4720, + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 155, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " iconWidth", + "start": 4798, + "end": 4810, + "loc": { + "start": { + "line": 157, + "column": 20 + }, + "end": { + "line": 157, + "column": 32 + } + } + }, + { + "type": "CommentLine", + "value": " iconHeight", + "start": 4888, + "end": 4901, + "loc": { + "start": { + "line": 159, + "column": 20 + }, + "end": { + "line": 159, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": " frame delay", + "start": 4980, + "end": 4994, + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 161, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " iconDataURL", + "start": 5072, + "end": 5086, + "loc": { + "start": { + "line": 163, + "column": 20 + }, + "end": { + "line": 163, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " frame array", + "start": 5164, + "end": 5178, + "loc": { + "start": { + "line": 165, + "column": 20 + }, + "end": { + "line": 165, + "column": 34 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", + "start": 5350, + "end": 5558, + "loc": { + "start": { + "line": 172, + "column": 4 + }, + "end": { + "line": 177, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", + "start": 5784, + "end": 5935, + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 189, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", + "start": 6025, + "end": 6188, + "loc": { + "start": { + "line": 193, + "column": 4 + }, + "end": { + "line": 197, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", + "start": 6498, + "end": 6610, + "loc": { + "start": { + "line": 208, + "column": 4 + }, + "end": { + "line": 211, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", + "start": 6673, + "end": 6837, + "loc": { + "start": { + "line": 215, + "column": 4 + }, + "end": { + "line": 219, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", + "start": 7132, + "end": 7231, + "loc": { + "start": { + "line": 230, + "column": 4 + }, + "end": { + "line": 233, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", + "start": 7290, + "end": 7443, + "loc": { + "start": { + "line": 237, + "column": 4 + }, + "end": { + "line": 241, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", + "start": 7751, + "end": 7851, + "loc": { + "start": { + "line": 252, + "column": 4 + }, + "end": { + "line": 255, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", + "start": 7908, + "end": 8099, + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 263, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", + "start": 8528, + "end": 8755, + "loc": { + "start": { + "line": 277, + "column": 4 + }, + "end": { + "line": 281, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "start": 9007, + "end": 9388, + "loc": { + "start": { + "line": 290, + "column": 4 + }, + "end": { + "line": 295, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " The index used to remove this frame.", + "start": 9432, + "end": 9471, + "loc": { + "start": { + "line": 297, + "column": 8 + }, + "end": { + "line": 297, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " Remove via reference to state.", + "start": 9501, + "end": 9534, + "loc": { + "start": { + "line": 299, + "column": 8 + }, + "end": { + "line": 299, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " Remove via reference to name", + "start": 9639, + "end": 9670, + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 39 + } + } + }, + { + "type": "CommentLine", + "value": " Remove the state", + "start": 10054, + "end": 10073, + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 313, + "column": 31 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", + "start": 10162, + "end": 10358, + "loc": { + "start": { + "line": 318, + "column": 4 + }, + "end": { + "line": 322, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Add the frame to the frames array.", + "start": 10537, + "end": 10574, + "loc": { + "start": { + "line": 327, + "column": 16 + }, + "end": { + "line": 327, + "column": 53 + } + } + }, + { + "type": "CommentLine", + "value": " Re-index frames after a change", + "start": 10634, + "end": 10667, + "loc": { + "start": { + "line": 329, + "column": 16 + }, + "end": { + "line": 329, + "column": 49 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "start": 10977, + "end": 11364, + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 344, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " The index used to remove this frame.", + "start": 11409, + "end": 11448, + "loc": { + "start": { + "line": 346, + "column": 8 + }, + "end": { + "line": 346, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " Remove via reference to frame.", + "start": 11478, + "end": 11511, + "loc": { + "start": { + "line": 348, + "column": 8 + }, + "end": { + "line": 348, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " Remove via index passed.", + "start": 11616, + "end": 11643, + "loc": { + "start": { + "line": 351, + "column": 8 + }, + "end": { + "line": 351, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": " Remove the frame", + "start": 12159, + "end": 12178, + "loc": { + "start": { + "line": 365, + "column": 12 + }, + "end": { + "line": 365, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " Re-index frames after a change", + "start": 12235, + "end": 12268, + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 45 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", + "start": 12347, + "end": 12411, + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 375, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Reorder the frames after removing.", + "start": 12442, + "end": 12479, + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 45 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", + "start": 12592, + "end": 13131, + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 389, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", + "start": 13332, + "end": 13480, + "loc": { + "start": { + "line": 394, + "column": 12 + }, + "end": { + "line": 394, + "column": 160 + } + } + }, + { + "type": "CommentLine", + "value": " as the frame 0.", + "start": 13494, + "end": 13512, + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", + "start": 13605, + "end": 13695, + "loc": { + "start": { + "line": 398, + "column": 12 + }, + "end": { + "line": 398, + "column": 102 + } + } + }, + { + "type": "CommentLine", + "value": " We get the frame at the specified index.", + "start": 13840, + "end": 13883, + "loc": { + "start": { + "line": 403, + "column": 12 + }, + "end": { + "line": 403, + "column": 55 + } + } + }, + { + "type": "CommentLine", + "value": " If both frames can be found, we can swap their data.", + "start": 14007, + "end": 14062, + "loc": { + "start": { + "line": 408, + "column": 12 + }, + "end": { + "line": 408, + "column": 67 + } + } + }, + { + "type": "CommentLine", + "value": " Store frame data", + "start": 14129, + "end": 14148, + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": " Swap data from frame", + "start": 14450, + "end": 14473, + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 39 + } + } + }, + { + "type": "CommentLine", + "value": " Swap data to frame", + "start": 14613, + "end": 14634, + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 37 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", + "start": 15072, + "end": 15474, + "loc": { + "start": { + "line": 431, + "column": 4 + }, + "end": { + "line": 437, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", + "start": 15699, + "end": 15829, + "loc": { + "start": { + "line": 445, + "column": 4 + }, + "end": { + "line": 448, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", + "start": 15897, + "end": 16053, + "loc": { + "start": { + "line": 452, + "column": 4 + }, + "end": { + "line": 456, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", + "start": 16264, + "end": 16448, + "loc": { + "start": { + "line": 464, + "column": 4 + }, + "end": { + "line": 468, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " If the icon has the same name, return that icon", + "start": 16643, + "end": 16693, + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 66 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", + "start": 16931, + "end": 17061, + "loc": { + "start": { + "line": 482, + "column": 4 + }, + "end": { + "line": 485, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", + "start": 17129, + "end": 17285, + "loc": { + "start": { + "line": 489, + "column": 4 + }, + "end": { + "line": 493, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Loop state array to export relevant information.", + "start": 17354, + "end": 17405, + "loc": { + "start": { + "line": 496, + "column": 8 + }, + "end": { + "line": 496, + "column": 59 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", + "start": 17572, + "end": 17760, + "loc": { + "start": { + "line": 502, + "column": 4 + }, + "end": { + "line": 506, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " state name", + "start": 17824, + "end": 17837, + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 509, + "column": 21 + } + } + }, + { + "type": "CommentLine", + "value": " state dataURL", + "start": 17887, + "end": 17903, + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " state frame delay", + "start": 17956, + "end": 17976, + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 28 + } + } + }, + { + "type": "CommentLine", + "value": " state frame array", + "start": 18027, + "end": 18047, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 28 + } + } + }, + { + "type": "CommentLine", + "value": " Loop frame array to export relevant information.", + "start": 18087, + "end": 18138, + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 518, + "column": 59 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", + "start": 18283, + "end": 18458, + "loc": { + "start": { + "line": 524, + "column": 4 + }, + "end": { + "line": 528, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " icon name", + "start": 18514, + "end": 18526, + "loc": { + "start": { + "line": 531, + "column": 8 + }, + "end": { + "line": 531, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " Get the size of this icon.", + "start": 18575, + "end": 18604, + "loc": { + "start": { + "line": 533, + "column": 8 + }, + "end": { + "line": 533, + "column": 37 + } + } + }, + { + "type": "CommentLine", + "value": " icon width", + "start": 18652, + "end": 18665, + "loc": { + "start": { + "line": 535, + "column": 8 + }, + "end": { + "line": 535, + "column": 21 + } + } + }, + { + "type": "CommentLine", + "value": " icon height", + "start": 18710, + "end": 18724, + "loc": { + "start": { + "line": 537, + "column": 8 + }, + "end": { + "line": 537, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " frame delay", + "start": 18770, + "end": 18784, + "loc": { + "start": { + "line": 539, + "column": 8 + }, + "end": { + "line": 539, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " icon DataURL", + "start": 18834, + "end": 18849, + "loc": { + "start": { + "line": 541, + "column": 8 + }, + "end": { + "line": 541, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": " frame array", + "start": 18901, + "end": 18915, + "loc": { + "start": { + "line": 543, + "column": 8 + }, + "end": { + "line": 543, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", + "start": 18972, + "end": 19077, + "loc": { + "start": { + "line": 546, + "column": 8 + }, + "end": { + "line": 546, + "column": 113 + } + } + }, + { + "type": "CommentLine", + "value": " this will save data", + "start": 19087, + "end": 19109, + "loc": { + "start": { + "line": 547, + "column": 8 + }, + "end": { + "line": 547, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " states array", + "start": 19158, + "end": 19173, + "loc": { + "start": { + "line": 549, + "column": 12 + }, + "end": { + "line": 549, + "column": 27 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VYI", + "start": 9, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 15, + "end": 19, + "loc": { + "start": { + "line": 1, + "column": 15 + }, + "end": { + "line": 1, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./vyi.mjs", + "start": 20, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 31, + "end": 32, + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 34, + "end": 40, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 41, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Frame", + "start": 43, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 49, + "end": 50, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 51, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./frame.mjs", + "start": 56, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 69, + "end": 70, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 74, + "end": 80, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 81, + "end": 86, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Icon", + "start": 87, + "end": 91, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 92, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", + "start": 99, + "end": 206, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "states", + "start": 212, + "end": 218, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 10, + "column": 11 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 15 + } + } + }, { - "type": "CommentBlock", - "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 99, - "end": 206, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 223, + "end": 224, "loc": { "start": { - "line": 5, - "column": 4 + "line": 10, + "column": 15 }, "end": { - "line": 9, - "column": 7 + "line": 10, + "column": 16 } } }, @@ -23601,6 +27414,137 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "frames", + "start": 349, + "end": 355, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 356, + "end": 357, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 358, + "end": 359, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 14 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 359, + "end": 360, + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, { "type": "CommentBlock", "value": "*\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", @@ -23617,6 +27561,112 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "width", + "start": 514, + "end": 519, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 32, + "start": 522, + "end": 524, + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 524, + "end": 525, + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, { "type": "CommentBlock", "value": "*\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", @@ -23634,1392 +27684,2158 @@ } }, { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 697, - "end": 799, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "height", + "start": 679, + "end": 685, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 33, - "column": 7 + "line": 28, + "column": 10 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 819, - "end": 904, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 686, + "end": 687, "loc": { "start": { - "line": 35, - "column": 4 + "line": 28, + "column": 11 }, "end": { - "line": 39, - "column": 7 + "line": 28, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", - "start": 928, - "end": 1011, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 32, + "start": 688, + "end": 690, "loc": { "start": { - "line": 41, - "column": 4 + "line": 28, + "column": 13 }, "end": { - "line": 45, - "column": 7 + "line": 28, + "column": 15 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 1033, - "end": 1123, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 690, + "end": 691, "loc": { "start": { - "line": 47, - "column": 4 + "line": 28, + "column": 15 }, "end": { - "line": 51, - "column": 7 + "line": 28, + "column": 16 } } }, { "type": "CommentBlock", - "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1142, - "end": 1238, + "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", + "start": 697, + "end": 799, "loc": { "start": { - "line": 53, + "line": 29, "column": 4 }, "end": { - "line": 58, + "line": 33, "column": 7 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 1254, - "end": 1468, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataURL", + "start": 805, + "end": 812, "loc": { "start": { - "line": 60, + "line": 34, "column": 4 }, "end": { - "line": 65, - "column": 7 + "line": 34, + "column": 11 } } }, { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 1575, - "end": 1752, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 812, + "end": 813, "loc": { "start": { - "line": 70, - "column": 4 + "line": 34, + "column": 11 }, "end": { - "line": 74, - "column": 7 + "line": 34, + "column": 12 } } }, { - "type": "CommentLine", - "value": " Loop through pIconData and create this icon", - "start": 1786, - "end": 1832, + "type": "CommentBlock", + "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", + "start": 819, + "end": 904, "loc": { "start": { - "line": 76, - "column": 8 + "line": 35, + "column": 4 }, "end": { - "line": 76, - "column": 54 + "line": 39, + "column": 7 } } }, { - "type": "CommentLine", - "value": " Set name", - "start": 2135, - "end": 2146, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "delay", + "start": 910, + "end": 915, "loc": { "start": { - "line": 85, - "column": 8 + "line": 40, + "column": 4 }, "end": { - "line": 85, - "column": 19 + "line": 40, + "column": 9 } } }, { - "type": "CommentLine", - "value": " Set size", - "start": 2188, - "end": 2199, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 916, + "end": 917, "loc": { "start": { - "line": 87, - "column": 8 + "line": 40, + "column": 10 }, "end": { - "line": 87, - "column": 19 + "line": 40, + "column": 11 } } }, { - "type": "CommentLine", - "value": " Set icon delay", - "start": 2255, - "end": 2272, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 100, + "start": 918, + "end": 921, "loc": { "start": { - "line": 89, - "column": 8 + "line": 40, + "column": 12 }, "end": { - "line": 89, - "column": 25 + "line": 40, + "column": 15 } } }, { - "type": "CommentLine", - "value": " Set dataURL", - "start": 2317, - "end": 2331, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 921, + "end": 922, "loc": { "start": { - "line": 91, - "column": 8 + "line": 40, + "column": 15 }, "end": { - "line": 91, - "column": 22 + "line": 40, + "column": 16 } } }, { - "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 2380, - "end": 2418, + "type": "CommentBlock", + "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", + "start": 928, + "end": 1011, "loc": { "start": { - "line": 93, - "column": 8 + "line": 41, + "column": 4 }, "end": { - "line": 93, - "column": 46 + "line": 45, + "column": 7 } } }, { - "type": "CommentLine", - "value": " If the frame array has data then we need to store it.", - "start": 2474, - "end": 2530, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 1017, + "end": 1021, "loc": { "start": { - "line": 95, - "column": 12 + "line": 46, + "column": 4 }, "end": { - "line": 95, - "column": 68 + "line": 46, + "column": 8 } } }, { - "type": "CommentLine", - "value": " pFrame is an array holding the datalURL and frameDelay of the frame", - "start": 2640, - "end": 2710, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1022, + "end": 1023, "loc": { "start": { - "line": 98, - "column": 20 + "line": 46, + "column": 9 }, "end": { - "line": 98, - "column": 90 + "line": 46, + "column": 10 } } }, { - "type": "CommentLine", - "value": " Check if the states data is an array", - "start": 2811, - "end": 2850, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1024, + "end": 1026, "loc": { "start": { - "line": 103, - "column": 8 + "line": 46, + "column": 11 }, "end": { - "line": 103, - "column": 47 + "line": 46, + "column": 13 } } }, { - "type": "CommentLine", - "value": " If the state array has data then we need to store it.", - "start": 2906, - "end": 2962, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 105, - "column": 12 + "line": 46, + "column": 13 }, "end": { - "line": 105, - "column": 68 + "line": 46, + "column": 14 } } }, { - "type": "CommentLine", - "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", - "start": 3072, - "end": 3174, + "type": "CommentBlock", + "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", + "start": 1033, + "end": 1153, "loc": { "start": { - "line": 108, - "column": 20 + "line": 47, + "column": 4 }, "end": { - "line": 108, - "column": 122 + "line": 51, + "column": 7 } } }, { - "type": "CommentLine", - "value": " We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.", - "start": 3196, - "end": 3361, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parent", + "start": 1159, + "end": 1165, "loc": { "start": { - "line": 109, - "column": 20 + "line": 52, + "column": 4 }, "end": { - "line": 109, - "column": 185 + "line": 52, + "column": 10 } } }, { - "type": "CommentLine", - "value": " iconName", - "start": 3435, - "end": 3446, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1165, + "end": 1166, "loc": { "start": { - "line": 111, - "column": 20 + "line": 52, + "column": 10 }, "end": { - "line": 111, - "column": 31 + "line": 52, + "column": 11 } } }, { - "type": "CommentLine", - "value": " iconWidth", - "start": 3524, - "end": 3536, + "type": "CommentBlock", + "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", + "start": 1172, + "end": 1268, "loc": { "start": { - "line": 113, - "column": 20 + "line": 53, + "column": 4 }, "end": { - "line": 113, - "column": 32 + "line": 58, + "column": 7 } } }, { - "type": "CommentLine", - "value": " iconHeight", - "start": 3614, - "end": 3627, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "vyi", + "start": 1274, + "end": 1277, "loc": { "start": { - "line": 115, - "column": 20 + "line": 59, + "column": 4 }, "end": { - "line": 115, - "column": 33 + "line": 59, + "column": 7 } } }, { - "type": "CommentLine", - "value": " frame delay", - "start": 3706, - "end": 3720, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1277, + "end": 1278, "loc": { "start": { - "line": 117, - "column": 20 + "line": 59, + "column": 7 }, "end": { - "line": 117, - "column": 34 + "line": 59, + "column": 8 } } }, { - "type": "CommentLine", - "value": " iconDataURL", - "start": 3798, - "end": 3812, + "type": "CommentBlock", + "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", + "start": 1284, + "end": 1474, "loc": { "start": { - "line": 119, - "column": 20 + "line": 60, + "column": 4 }, "end": { - "line": 119, - "column": 34 + "line": 65, + "column": 7 } } }, { - "type": "CommentLine", - "value": " frame array", - "start": 3890, - "end": 3904, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1480, + "end": 1482, "loc": { "start": { - "line": 121, - "column": 20 + "line": 66, + "column": 4 }, "end": { - "line": 121, - "column": 34 + "line": 66, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4076, - "end": 4284, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1482, + "end": 1483, "loc": { "start": { - "line": 128, - "column": 4 + "line": 66, + "column": 6 }, "end": { - "line": 133, + "line": 66, "column": 7 } } }, { "type": "CommentBlock", - "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 4510, - "end": 4661, + "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", + "start": 1489, + "end": 1698, "loc": { "start": { - "line": 142, + "line": 67, "column": 4 }, "end": { - "line": 145, - "column": 7 + "line": 73, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4751, - "end": 4914, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 1704, + "end": 1710, "loc": { "start": { - "line": 149, + "line": 74, "column": 4 }, "end": { - "line": 153, - "column": 7 + "line": 74, + "column": 10 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 5224, - "end": 5336, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "generateID", + "start": 1711, + "end": 1721, "loc": { "start": { - "line": 164, - "column": 4 + "line": 74, + "column": 11 }, "end": { - "line": 167, - "column": 7 + "line": 74, + "column": 21 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5399, - "end": 5563, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1721, + "end": 1722, "loc": { "start": { - "line": 171, - "column": 4 + "line": 74, + "column": 21 }, "end": { - "line": 175, - "column": 7 + "line": 74, + "column": 22 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 5858, - "end": 5957, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pVYI", + "start": 1722, + "end": 1726, "loc": { "start": { - "line": 186, - "column": 4 + "line": 74, + "column": 22 }, "end": { - "line": 189, - "column": 7 + "line": 74, + "column": 26 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6016, - "end": 6169, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1726, + "end": 1727, "loc": { "start": { - "line": 193, - "column": 4 + "line": 74, + "column": 26 }, "end": { - "line": 197, - "column": 7 + "line": 74, + "column": 27 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 6477, - "end": 6577, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 208, - "column": 4 + "line": 74, + "column": 28 }, "end": { - "line": 211, - "column": 7 + "line": 74, + "column": 29 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6634, - "end": 6825, + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1738, + "end": 1743, "loc": { "start": { - "line": 215, - "column": 4 + "line": 75, + "column": 7 }, "end": { - "line": 219, - "column": 7 + "line": 75, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 7254, - "end": 7481, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "genID", + "start": 1744, + "end": 1749, "loc": { "start": { - "line": 233, - "column": 4 + "line": 75, + "column": 13 }, "end": { - "line": 237, - "column": 7 + "line": 75, + "column": 18 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7733, - "end": 8114, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1750, + "end": 1751, "loc": { "start": { - "line": 246, - "column": 4 + "line": 75, + "column": 19 }, "end": { - "line": 251, - "column": 7 + "line": 75, + "column": 20 } } }, { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 8158, - "end": 8197, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1752, + "end": 1753, "loc": { "start": { - "line": 253, - "column": 8 + "line": 75, + "column": 21 }, "end": { - "line": 253, - "column": 47 + "line": 75, + "column": 22 } } }, { - "type": "CommentLine", - "value": " Remove via reference to state.", - "start": 8227, - "end": 8260, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1753, + "end": 1754, "loc": { "start": { - "line": 255, - "column": 8 + "line": 75, + "column": 22 }, "end": { - "line": 255, - "column": 41 + "line": 75, + "column": 23 } } }, { - "type": "CommentLine", - "value": " Remove via reference to name", - "start": 8365, - "end": 8396, + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1755, + "end": 1757, "loc": { "start": { - "line": 258, - "column": 8 + "line": 75, + "column": 24 }, "end": { - "line": 258, - "column": 39 + "line": 75, + "column": 26 } } }, { - "type": "CommentLine", - "value": " Remove the state", - "start": 8780, - "end": 8799, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1758, + "end": 1759, "loc": { "start": { - "line": 269, - "column": 12 + "line": 75, + "column": 27 }, "end": { - "line": 269, - "column": 31 + "line": 75, + "column": 28 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8888, - "end": 9085, + "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": 1772, + "end": 1778, "loc": { "start": { - "line": 274, - "column": 4 + "line": 76, + "column": 11 }, "end": { - "line": 278, - "column": 7 + "line": 76, + "column": 17 } } }, { - "type": "CommentLine", - "value": " Add the frame to the frames array.", - "start": 9267, - "end": 9304, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 1779, + "end": 1783, "loc": { "start": { - "line": 283, - "column": 16 + "line": 76, + "column": 18 }, "end": { - "line": 283, - "column": 53 + "line": 76, + "column": 22 } } }, { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 9364, - "end": 9397, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1783, + "end": 1784, "loc": { "start": { - "line": 285, - "column": 16 + "line": 76, + "column": 22 }, "end": { - "line": 285, - "column": 49 + "line": 76, + "column": 23 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9707, - "end": 10094, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "floor", + "start": 1784, + "end": 1789, "loc": { "start": { - "line": 295, - "column": 4 + "line": 76, + "column": 23 }, "end": { - "line": 300, - "column": 7 + "line": 76, + "column": 28 } } }, { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 10139, - "end": 10178, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1789, + "end": 1790, "loc": { "start": { - "line": 302, - "column": 8 + "line": 76, + "column": 28 }, "end": { - "line": 302, - "column": 47 + "line": 76, + "column": 29 } } }, { - "type": "CommentLine", - "value": " Remove via reference to frame.", - "start": 10208, - "end": 10241, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 1790, + "end": 1794, "loc": { "start": { - "line": 304, - "column": 8 + "line": 76, + "column": 29 }, "end": { - "line": 304, - "column": 41 + "line": 76, + "column": 33 } } }, { - "type": "CommentLine", - "value": " Remove via index passed.", - "start": 10346, - "end": 10373, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1794, + "end": 1795, "loc": { "start": { - "line": 307, - "column": 8 + "line": 76, + "column": 33 }, "end": { - "line": 307, - "column": 35 + "line": 76, + "column": 34 } } }, { - "type": "CommentLine", - "value": " Remove the frame", - "start": 10889, - "end": 10908, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "random", + "start": 1795, + "end": 1801, "loc": { "start": { - "line": 321, - "column": 12 + "line": 76, + "column": 34 }, "end": { - "line": 321, - "column": 31 + "line": 76, + "column": 40 } } }, { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 10965, - "end": 10998, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1801, + "end": 1802, "loc": { "start": { - "line": 323, - "column": 12 + "line": 76, + "column": 40 }, "end": { - "line": 323, - "column": 45 + "line": 76, + "column": 41 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11077, - "end": 11141, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1802, + "end": 1803, "loc": { "start": { - "line": 328, - "column": 4 + "line": 76, + "column": 41 }, "end": { - "line": 331, - "column": 7 + "line": 76, + "column": 42 } } }, { - "type": "CommentLine", - "value": " Reorder the frames after removing.", - "start": 11172, - "end": 11209, + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 333, - "column": 8 + "line": 76, + "column": 43 }, "end": { - "line": 333, - "column": 45 + "line": 76, + "column": 44 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11322, - "end": 11861, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4294967295, + "start": 1806, + "end": 1816, "loc": { "start": { - "line": 338, - "column": 4 + "line": 76, + "column": 45 }, "end": { - "line": 345, - "column": 7 + "line": 76, + "column": 55 } } }, { - "type": "CommentLine", - "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12062, - "end": 12210, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 350, - "column": 12 + "line": 76, + "column": 55 }, "end": { - "line": 350, - "column": 160 + "line": 76, + "column": 56 } } }, { - "type": "CommentLine", - "value": " as the frame 0.", - "start": 12224, - "end": 12242, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1817, + "end": 1818, "loc": { "start": { - "line": 351, - "column": 12 + "line": 76, + "column": 56 }, "end": { - "line": 351, - "column": 30 + "line": 76, + "column": 57 } } }, { - "type": "CommentLine", - "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 12335, - "end": 12425, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 1818, + "end": 1826, "loc": { "start": { - "line": 354, - "column": 12 + "line": 76, + "column": 57 }, "end": { - "line": 354, - "column": 102 + "line": 76, + "column": 65 } } }, { - "type": "CommentLine", - "value": " We get the frame at the specified index.", - "start": 12570, - "end": 12613, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1826, + "end": 1827, "loc": { "start": { - "line": 359, - "column": 12 + "line": 76, + "column": 65 }, "end": { - "line": 359, - "column": 55 + "line": 76, + "column": 66 } } }, { - "type": "CommentLine", - "value": " If both frames can be found, we can swap their data.", - "start": 12737, - "end": 12792, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 16, + "start": 1827, + "end": 1829, "loc": { "start": { - "line": 364, - "column": 12 + "line": 76, + "column": 66 }, "end": { - "line": 364, - "column": 67 + "line": 76, + "column": 68 } } }, { - "type": "CommentLine", - "value": " Store frame data", - "start": 12859, - "end": 12878, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1829, + "end": 1830, "loc": { "start": { - "line": 366, - "column": 16 + "line": 76, + "column": 68 }, "end": { - "line": 366, - "column": 35 + "line": 76, + "column": 69 } } }, { - "type": "CommentLine", - "value": " Swap data from frame", - "start": 13180, - "end": 13203, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1830, + "end": 1831, "loc": { "start": { - "line": 373, - "column": 16 + "line": 76, + "column": 69 }, "end": { - "line": 373, - "column": 39 + "line": 76, + "column": 70 } } }, { - "type": "CommentLine", - "value": " Swap data to frame", - "start": 13343, - "end": 13364, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "padStart", + "start": 1831, + "end": 1839, "loc": { "start": { - "line": 376, - "column": 16 + "line": 76, + "column": 70 }, "end": { - "line": 376, - "column": 37 + "line": 76, + "column": 78 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13802, - "end": 14204, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1839, + "end": 1840, "loc": { "start": { - "line": 387, - "column": 4 + "line": 76, + "column": 78 }, "end": { - "line": 393, - "column": 7 + "line": 76, + "column": 79 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14429, - "end": 14559, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 8, + "start": 1840, + "end": 1841, "loc": { "start": { - "line": 401, - "column": 4 + "line": 76, + "column": 79 }, "end": { - "line": 404, - "column": 7 + "line": 76, + "column": 80 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14627, - "end": 14783, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1841, + "end": 1842, "loc": { "start": { - "line": 408, - "column": 4 + "line": 76, + "column": 80 }, "end": { - "line": 412, - "column": 7 + "line": 76, + "column": 81 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 14994, - "end": 15178, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "0", + "start": 1843, + "end": 1846, "loc": { "start": { - "line": 420, - "column": 4 + "line": 76, + "column": 82 }, "end": { - "line": 424, - "column": 7 + "line": 76, + "column": 85 } } }, { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 15373, - "end": 15423, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1846, + "end": 1847, "loc": { "start": { - "line": 429, - "column": 16 + "line": 76, + "column": 85 }, "end": { - "line": 429, - "column": 66 + "line": 76, + "column": 86 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15661, - "end": 15791, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1847, + "end": 1848, "loc": { "start": { - "line": 438, - "column": 4 + "line": 76, + "column": 86 }, "end": { - "line": 441, - "column": 7 + "line": 76, + "column": 87 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15859, - "end": 16015, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1857, + "end": 1858, "loc": { "start": { - "line": 445, - "column": 4 + "line": 77, + "column": 7 }, "end": { - "line": 449, - "column": 7 + "line": 77, + "column": 8 } } }, { "type": "CommentLine", - "value": " Loop state array to export relevant information.", - "start": 16084, - "end": 16135, + "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", + "start": 1867, + "end": 1960, "loc": { "start": { - "line": 452, - "column": 8 + "line": 78, + "column": 7 }, "end": { - "line": 452, - "column": 59 + "line": 78, + "column": 100 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16302, - "end": 16490, + "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": 1969, + "end": 1972, "loc": { "start": { - "line": 458, - "column": 4 + "line": 79, + "column": 7 }, "end": { - "line": 462, - "column": 7 + "line": 79, + "column": 10 } } }, { - "type": "CommentLine", - "value": " state name", - "start": 16554, - "end": 16567, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1973, + "end": 1975, "loc": { "start": { - "line": 465, - "column": 8 + "line": 79, + "column": 11 }, "end": { - "line": 465, - "column": 21 + "line": 79, + "column": 13 } } }, { - "type": "CommentLine", - "value": " state dataURL", - "start": 16617, - "end": 16633, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1976, + "end": 1977, "loc": { "start": { - "line": 467, - "column": 8 + "line": 79, + "column": 14 }, "end": { - "line": 467, - "column": 24 + "line": 79, + "column": 15 } } }, { - "type": "CommentLine", - "value": " state frame delay", - "start": 16686, - "end": 16706, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "genID", + "start": 1978, + "end": 1983, "loc": { "start": { - "line": 469, - "column": 8 + "line": 79, + "column": 16 }, "end": { - "line": 469, - "column": 28 + "line": 79, + "column": 21 } } }, { - "type": "CommentLine", - "value": " state frame array", - "start": 16757, - "end": 16777, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1983, + "end": 1984, "loc": { "start": { - "line": 471, - "column": 8 + "line": 79, + "column": 21 }, "end": { - "line": 471, - "column": 28 + "line": 79, + "column": 22 } } }, { - "type": "CommentLine", - "value": " Loop frame array to export relevant information.", - "start": 16817, - "end": 16868, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1984, + "end": 1985, "loc": { "start": { - "line": 474, - "column": 8 + "line": 79, + "column": 22 }, "end": { - "line": 474, - "column": 59 + "line": 79, + "column": 23 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17013, - "end": 17188, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 480, - "column": 4 + "line": 79, + "column": 23 }, "end": { - "line": 484, - "column": 7 + "line": 79, + "column": 24 } } }, { - "type": "CommentLine", - "value": " icon name", - "start": 17244, - "end": 17256, + "type": { + "label": "while", + "keyword": "while", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "while", + "start": 1995, + "end": 2000, "loc": { "start": { - "line": 487, - "column": 8 + "line": 80, + "column": 7 }, "end": { - "line": 487, - "column": 20 + "line": 80, + "column": 12 } } }, { - "type": "CommentLine", - "value": " Get the size of this icon.", - "start": 17305, - "end": 17334, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2001, + "end": 2002, "loc": { "start": { - "line": 489, - "column": 8 + "line": 80, + "column": 13 }, "end": { - "line": 489, - "column": 37 + "line": 80, + "column": 14 } } }, { - "type": "CommentLine", - "value": " icon width", - "start": 17382, - "end": 17395, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pVYI", + "start": 2002, + "end": 2006, "loc": { "start": { - "line": 491, - "column": 8 + "line": 80, + "column": 14 }, "end": { - "line": 491, - "column": 21 + "line": 80, + "column": 18 } } }, { - "type": "CommentLine", - "value": " icon height", - "start": 17440, - "end": 17454, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2006, + "end": 2007, "loc": { "start": { - "line": 493, - "column": 8 + "line": 80, + "column": 18 }, "end": { - "line": 493, - "column": 22 + "line": 80, + "column": 19 } } }, { - "type": "CommentLine", - "value": " frame delay", - "start": 17500, - "end": 17514, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reservedIDs", + "start": 2007, + "end": 2018, "loc": { "start": { - "line": 495, - "column": 8 + "line": 80, + "column": 19 }, "end": { - "line": 495, - "column": 22 + "line": 80, + "column": 30 } } }, { - "type": "CommentLine", - "value": " icon DataURL", - "start": 17564, - "end": 17579, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2018, + "end": 2019, "loc": { "start": { - "line": 497, - "column": 8 + "line": 80, + "column": 30 }, "end": { - "line": 497, - "column": 23 + "line": 80, + "column": 31 } } }, { - "type": "CommentLine", - "value": " frame array", - "start": 17631, - "end": 17645, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 2019, + "end": 2027, "loc": { "start": { - "line": 499, - "column": 8 + "line": 80, + "column": 31 }, "end": { - "line": 499, - "column": 22 + "line": 80, + "column": 39 } } }, { - "type": "CommentLine", - "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17702, - "end": 17807, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2027, + "end": 2028, "loc": { "start": { - "line": 502, - "column": 8 + "line": 80, + "column": 39 }, "end": { - "line": 502, - "column": 113 + "line": 80, + "column": 40 } } }, { - "type": "CommentLine", - "value": " this will save data", - "start": 17817, - "end": 17839, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 2028, + "end": 2030, "loc": { "start": { - "line": 503, - "column": 8 + "line": 80, + "column": 40 }, "end": { - "line": 503, - "column": 30 + "line": 80, + "column": 42 } } }, { - "type": "CommentLine", - "value": " states array", - "start": 17888, - "end": 17903, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2030, + "end": 2031, "loc": { "start": { - "line": 505, - "column": 12 + "line": 80, + "column": 42 }, "end": { - "line": 505, - "column": 27 + "line": 80, + "column": 43 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 0, - "end": 6, + "start": 2031, + "end": 2032, "loc": { "start": { - "line": 1, - "column": 0 + "line": 80, + "column": 43 }, "end": { - "line": 1, - "column": 6 + "line": 80, + "column": 44 } } }, @@ -25035,16 +29851,16 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "start": 2033, + "end": 2034, "loc": { "start": { - "line": 1, - "column": 7 + "line": 80, + "column": 45 }, "end": { - "line": 1, - "column": 8 + "line": 80, + "column": 46 } } }, @@ -25060,42 +29876,44 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 9, - "end": 12, + "value": "id", + "start": 2047, + "end": 2049, "loc": { "start": { - "line": 1, - "column": 9 + "line": 81, + "column": 11 }, "end": { - "line": 1, - "column": 12 + "line": 81, + "column": 13 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13, - "end": 14, + "value": "=", + "start": 2050, + "end": 2051, "loc": { "start": { - "line": 1, - "column": 13 + "line": 81, + "column": 14 }, "end": { - "line": 1, - "column": 14 + "line": 81, + "column": 15 } } }, @@ -25111,79 +29929,75 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 15, - "end": 19, + "value": "genID", + "start": 2052, + "end": 2057, "loc": { "start": { - "line": 1, - "column": 15 + "line": 81, + "column": 16 }, "end": { - "line": 1, - "column": 19 + "line": 81, + "column": 21 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./vyi.mjs", - "start": 20, - "end": 31, + "start": 2057, + "end": 2058, "loc": { "start": { - "line": 1, - "column": 20 + "line": 81, + "column": 21 }, "end": { - "line": 1, - "column": 31 + "line": 81, + "column": 22 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 31, - "end": 32, + "start": 2058, + "end": 2059, "loc": { "start": { - "line": 1, - "column": 31 + "line": 81, + "column": 22 }, "end": { - "line": 1, - "column": 32 + "line": 81, + "column": 23 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25192,25 +30006,24 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 34, - "end": 40, + "start": 2059, + "end": 2060, "loc": { "start": { - "line": 2, - "column": 0 + "line": 81, + "column": 23 }, "end": { - "line": 2, - "column": 6 + "line": 81, + "column": 24 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25218,15 +30031,15 @@ "postfix": false, "binop": null }, - "start": 41, - "end": 42, + "start": 2069, + "end": 2070, "loc": { "start": { - "line": 2, + "line": 82, "column": 7 }, "end": { - "line": 2, + "line": 82, "column": 8 } } @@ -25243,23 +30056,23 @@ "postfix": false, "binop": null }, - "value": "Frame", - "start": 43, - "end": 48, + "value": "pVYI", + "start": 2079, + "end": 2083, "loc": { "start": { - "line": 2, - "column": 9 + "line": 83, + "column": 7 }, "end": { - "line": 2, - "column": 14 + "line": 83, + "column": 11 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25267,18 +30080,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 49, - "end": 50, + "start": 2083, + "end": 2084, "loc": { "start": { - "line": 2, - "column": 15 + "line": 83, + "column": 11 }, "end": { - "line": 2, - "column": 16 + "line": 83, + "column": 12 } } }, @@ -25294,25 +30108,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 51, - "end": 55, + "value": "reservedIDs", + "start": 2084, + "end": 2095, "loc": { "start": { - "line": 2, - "column": 17 + "line": 83, + "column": 12 }, "end": { - "line": 2, - "column": 21 + "line": 83, + "column": 23 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25321,107 +30135,101 @@ "binop": null, "updateContext": null }, - "value": "./frame.mjs", - "start": 56, - "end": 69, + "start": 2095, + "end": 2096, "loc": { "start": { - "line": 2, - "column": 22 + "line": 83, + "column": 23 }, "end": { - "line": 2, - "column": 35 + "line": 83, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 69, - "end": 70, + "value": "push", + "start": 2096, + "end": 2100, "loc": { "start": { - "line": 2, - "column": 35 + "line": 83, + "column": 24 }, "end": { - "line": 2, - "column": 36 + "line": 83, + "column": 28 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 74, - "end": 80, + "start": 2100, + "end": 2101, "loc": { "start": { - "line": 4, - "column": 0 + "line": 83, + "column": 28 }, "end": { - "line": 4, - "column": 6 + "line": 83, + "column": 29 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 81, - "end": 86, + "value": "id", + "start": 2101, + "end": 2103, "loc": { "start": { - "line": 4, - "column": 7 + "line": 83, + "column": 29 }, "end": { - "line": 4, - "column": 12 + "line": 83, + "column": 31 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25429,58 +30237,70 @@ "postfix": false, "binop": null }, - "value": "Icon", - "start": 87, - "end": 91, + "start": 2103, + "end": 2104, "loc": { "start": { - "line": 4, - "column": 13 + "line": 83, + "column": 31 }, "end": { - "line": 4, - "column": 17 + "line": 83, + "column": 32 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 92, - "end": 93, + "start": 2104, + "end": 2105, "loc": { "start": { - "line": 4, - "column": 18 + "line": 83, + "column": 32 }, "end": { - "line": 4, - "column": 19 + "line": 83, + "column": 33 } } }, { - "type": "CommentBlock", - "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 99, - "end": 206, + "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": 2114, + "end": 2120, "loc": { "start": { - "line": 5, - "column": 4 + "line": 84, + "column": 7 }, "end": { - "line": 9, - "column": 7 + "line": 84, + "column": 13 } } }, @@ -25496,141 +30316,138 @@ "postfix": false, "binop": null }, - "value": "states", - "start": 212, - "end": 218, + "value": "id", + "start": 2121, + "end": 2123, "loc": { "start": { - "line": 10, - "column": 4 + "line": 84, + "column": 14 }, "end": { - "line": 10, - "column": 10 + "line": 84, + "column": 16 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 219, - "end": 220, + "start": 2123, + "end": 2124, "loc": { "start": { - "line": 10, - "column": 11 + "line": 84, + "column": 16 }, "end": { - "line": 10, - "column": 12 + "line": 84, + "column": 17 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 221, - "end": 222, + "start": 2129, + "end": 2130, "loc": { "start": { - "line": 10, - "column": 13 + "line": 85, + "column": 3 }, "end": { - "line": 10, - "column": 14 + "line": 85, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", + "start": 2136, + "end": 2350, + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 91, + "column": 7 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 222, - "end": 223, + "value": "constructor", + "start": 2356, + "end": 2367, "loc": { "start": { - "line": 10, - "column": 14 + "line": 92, + "column": 4 }, "end": { - "line": 10, + "line": 92, "column": 15 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 223, - "end": 224, + "start": 2367, + "end": 2368, "loc": { "start": { - "line": 10, + "line": 92, "column": 15 }, "end": { - "line": 10, + "line": 92, "column": 16 } } }, - { - "type": "CommentBlock", - "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 230, - "end": 343, - "loc": { - "start": { - "line": 11, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 - } - } - }, { "type": { "label": "name", @@ -25643,76 +30460,75 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 349, - "end": 355, + "value": "pIconData", + "start": 2368, + "end": 2377, "loc": { "start": { - "line": 16, - "column": 4 + "line": 92, + "column": 16 }, "end": { - "line": 16, - "column": 10 + "line": 92, + "column": 25 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 356, - "end": 357, + "start": 2377, + "end": 2378, "loc": { "start": { - "line": 16, - "column": 11 + "line": 92, + "column": 25 }, "end": { - "line": 16, - "column": 12 + "line": 92, + "column": 26 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 358, - "end": 359, + "value": "pVYI", + "start": 2379, + "end": 2383, "loc": { "start": { - "line": 16, - "column": 13 + "line": 92, + "column": 27 }, "end": { - "line": 16, - "column": 14 + "line": 92, + "column": 31 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25720,27 +30536,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 359, - "end": 360, + "start": 2383, + "end": 2384, "loc": { "start": { - "line": 16, - "column": 14 + "line": 92, + "column": 31 }, "end": { - "line": 16, - "column": 15 + "line": 92, + "column": 32 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2385, + "end": 2386, + "loc": { + "start": { + "line": 92, + "column": 33 + }, + "end": { + "line": 92, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25749,32 +30590,43 @@ "binop": null, "updateContext": null }, - "start": 360, - "end": 361, + "value": "this", + "start": 2396, + "end": 2400, "loc": { "start": { - "line": 16, - "column": 15 + "line": 93, + "column": 8 }, "end": { - "line": 16, - "column": 16 + "line": 93, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 367, - "end": 508, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2400, + "end": 2401, "loc": { "start": { - "line": 17, - "column": 4 + "line": 93, + "column": 12 }, "end": { - "line": 21, - "column": 7 + "line": 93, + "column": 13 } } }, @@ -25790,17 +30642,17 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 514, - "end": 519, + "value": "vyi", + "start": 2401, + "end": 2404, "loc": { "start": { - "line": 22, - "column": 4 + "line": 93, + "column": 13 }, "end": { - "line": 22, - "column": 9 + "line": 93, + "column": 16 } } }, @@ -25818,22 +30670,22 @@ "updateContext": null }, "value": "=", - "start": 520, - "end": 521, + "start": 2405, + "end": 2406, "loc": { "start": { - "line": 22, - "column": 10 + "line": 93, + "column": 17 }, "end": { - "line": 22, - "column": 11 + "line": 93, + "column": 18 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25841,20 +30693,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 32, - "start": 522, - "end": 524, + "value": "pVYI", + "start": 2407, + "end": 2411, "loc": { "start": { - "line": 22, - "column": 12 + "line": 93, + "column": 19 }, "end": { - "line": 22, - "column": 14 + "line": 93, + "column": 23 } } }, @@ -25871,38 +30722,23 @@ "binop": null, "updateContext": null }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 531, - "end": 673, + "start": 2411, + "end": 2412, "loc": { "start": { - "line": 23, - "column": 4 + "line": 93, + "column": 23 }, "end": { - "line": 27, - "column": 7 + "line": 93, + "column": 24 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25910,52 +30746,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "height", - "start": 679, - "end": 685, + "value": "this", + "start": 2422, + "end": 2426, "loc": { "start": { - "line": 28, - "column": 4 + "line": 94, + "column": 8 }, "end": { - "line": 28, - "column": 10 + "line": 94, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 686, - "end": 687, + "start": 2426, + "end": 2427, "loc": { "start": { - "line": 28, - "column": 11 + "line": 94, + "column": 12 }, "end": { - "line": 28, - "column": 12 + "line": 94, + "column": 13 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25963,70 +30799,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 32, - "start": 688, - "end": 690, + "value": "assignID", + "start": 2427, + "end": 2435, "loc": { "start": { - "line": 28, + "line": 94, "column": 13 }, "end": { - "line": 28, - "column": 15 + "line": 94, + "column": 21 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 690, - "end": 691, + "start": 2435, + "end": 2436, "loc": { "start": { - "line": 28, - "column": 15 + "line": 94, + "column": 21 }, "end": { - "line": 28, - "column": 16 + "line": 94, + "column": 22 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 697, - "end": 799, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pVYI", + "start": 2436, + "end": 2440, "loc": { "start": { - "line": 29, - "column": 4 + "line": 94, + "column": 22 }, "end": { - "line": 33, - "column": 7 + "line": 94, + "column": 26 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26034,17 +30878,16 @@ "postfix": false, "binop": null }, - "value": "dataURL", - "start": 805, - "end": 812, + "start": 2440, + "end": 2441, "loc": { "start": { - "line": 34, - "column": 4 + "line": 94, + "column": 26 }, "end": { - "line": 34, - "column": 11 + "line": 94, + "column": 27 } } }, @@ -26061,38 +30904,23 @@ "binop": null, "updateContext": null }, - "start": 812, - "end": 813, + "start": 2441, + "end": 2442, "loc": { "start": { - "line": 34, - "column": 11 - }, - "end": { - "line": 34, - "column": 12 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 819, - "end": 904, - "loc": { - "start": { - "line": 35, - "column": 4 + "line": 94, + "column": 27 }, "end": { - "line": 39, - "column": 7 + "line": 94, + "column": 28 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26100,52 +30928,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "delay", - "start": 910, - "end": 915, + "value": "this", + "start": 2452, + "end": 2456, "loc": { "start": { - "line": 40, - "column": 4 + "line": 95, + "column": 8 }, "end": { - "line": 40, - "column": 9 + "line": 95, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 916, - "end": 917, + "start": 2456, + "end": 2457, "loc": { "start": { - "line": 40, - "column": 10 + "line": 95, + "column": 12 }, "end": { - "line": 40, - "column": 11 + "line": 95, + "column": 13 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26153,62 +30981,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 100, - "start": 918, - "end": 921, + "value": "parse", + "start": 2457, + "end": 2462, "loc": { "start": { - "line": 40, - "column": 12 + "line": 95, + "column": 13 }, "end": { - "line": 40, - "column": 15 + "line": 95, + "column": 18 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 921, - "end": 922, - "loc": { - "start": { - "line": 40, - "column": 15 - }, - "end": { - "line": 40, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", - "start": 928, - "end": 1011, + "start": 2462, + "end": 2463, "loc": { "start": { - "line": 41, - "column": 4 + "line": 95, + "column": 18 }, "end": { - "line": 45, - "column": 7 + "line": 95, + "column": 19 } } }, @@ -26224,52 +31034,50 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 1017, - "end": 1021, + "value": "pIconData", + "start": 2463, + "end": 2472, "loc": { "start": { - "line": 46, - "column": 4 + "line": 95, + "column": 19 }, "end": { - "line": 46, - "column": 8 + "line": 95, + "column": 28 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1022, - "end": 1023, + "start": 2472, + "end": 2473, "loc": { "start": { - "line": 46, - "column": 9 + "line": 95, + "column": 28 }, "end": { - "line": 46, - "column": 10 + "line": 95, + "column": 29 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26278,58 +31086,56 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 1024, - "end": 1026, + "start": 2473, + "end": 2474, "loc": { "start": { - "line": 46, - "column": 11 + "line": 95, + "column": 29 }, "end": { - "line": 46, - "column": 13 + "line": 95, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1026, - "end": 1027, + "start": 2480, + "end": 2481, "loc": { "start": { - "line": 46, - "column": 13 + "line": 96, + "column": 4 }, "end": { - "line": 46, - "column": 14 + "line": 96, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 1033, - "end": 1123, + "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", + "start": 2487, + "end": 2617, "loc": { "start": { - "line": 47, + "line": 97, "column": 4 }, "end": { - "line": 51, + "line": 102, "column": 7 } } @@ -26346,67 +31152,76 @@ "postfix": false, "binop": null }, - "value": "parent", - "start": 1129, - "end": 1135, + "value": "assignID", + "start": 2623, + "end": 2631, "loc": { "start": { - "line": 52, + "line": 103, "column": 4 }, "end": { - "line": 52, - "column": 10 + "line": 103, + "column": 12 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1135, - "end": 1136, + "start": 2631, + "end": 2632, "loc": { "start": { - "line": 52, - "column": 10 + "line": 103, + "column": 12 }, "end": { - "line": 52, - "column": 11 + "line": 103, + "column": 13 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1142, - "end": 1238, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pVYI", + "start": 2632, + "end": 2636, "loc": { "start": { - "line": 53, - "column": 4 + "line": 103, + "column": 13 }, "end": { - "line": 58, - "column": 7 + "line": 103, + "column": 17 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26414,25 +31229,50 @@ "postfix": false, "binop": null }, - "value": "vyi", - "start": 1244, - "end": 1247, + "start": 2636, + "end": 2637, "loc": { "start": { - "line": 59, - "column": 4 + "line": 103, + "column": 17 }, "end": { - "line": 59, - "column": 7 + "line": 103, + "column": 18 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2638, + "end": 2639, + "loc": { + "start": { + "line": 103, + "column": 19 + }, + "end": { + "line": 103, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26441,32 +31281,43 @@ "binop": null, "updateContext": null }, - "start": 1247, - "end": 1248, + "value": "this", + "start": 2649, + "end": 2653, "loc": { "start": { - "line": 59, - "column": 7 + "line": 104, + "column": 8 }, "end": { - "line": 59, - "column": 8 + "line": 104, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 1254, - "end": 1468, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2653, + "end": 2654, "loc": { "start": { - "line": 60, - "column": 4 + "line": 104, + "column": 12 }, "end": { - "line": 65, - "column": 7 + "line": 104, + "column": 13 } } }, @@ -26482,42 +31333,44 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 1474, - "end": 1485, + "value": "id", + "start": 2654, + "end": 2656, "loc": { "start": { - "line": 66, - "column": 4 + "line": 104, + "column": 13 }, "end": { - "line": 66, + "line": 104, "column": 15 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1485, - "end": 1486, + "value": "=", + "start": 2657, + "end": 2658, "loc": { - "start": { - "line": 66, - "column": 15 + "start": { + "line": 104, + "column": 16 }, "end": { - "line": 66, - "column": 16 + "line": 104, + "column": 17 } } }, @@ -26533,24 +31386,24 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 1486, - "end": 1495, + "value": "Icon", + "start": 2659, + "end": 2663, "loc": { "start": { - "line": 66, - "column": 16 + "line": 104, + "column": 18 }, "end": { - "line": 66, - "column": 25 + "line": 104, + "column": 22 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26560,16 +31413,16 @@ "binop": null, "updateContext": null }, - "start": 1495, - "end": 1496, + "start": 2663, + "end": 2664, "loc": { "start": { - "line": 66, - "column": 25 + "line": 104, + "column": 22 }, "end": { - "line": 66, - "column": 26 + "line": 104, + "column": 23 } } }, @@ -26585,25 +31438,25 @@ "postfix": false, "binop": null }, - "value": "pVYI", - "start": 1497, - "end": 1501, + "value": "generateID", + "start": 2664, + "end": 2674, "loc": { "start": { - "line": 66, - "column": 27 + "line": 104, + "column": 23 }, "end": { - "line": 66, - "column": 31 + "line": 104, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26611,23 +31464,23 @@ "postfix": false, "binop": null }, - "start": 1501, - "end": 1502, + "start": 2674, + "end": 2675, "loc": { "start": { - "line": 66, - "column": 31 + "line": 104, + "column": 33 }, "end": { - "line": 66, - "column": 32 + "line": 104, + "column": 34 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -26636,51 +31489,49 @@ "postfix": false, "binop": null }, - "start": 1503, - "end": 1504, + "value": "pVYI", + "start": 2675, + "end": 2679, "loc": { "start": { - "line": 66, - "column": 33 + "line": 104, + "column": 34 }, "end": { - "line": 66, - "column": 34 + "line": 104, + "column": 38 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1514, - "end": 1518, + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 67, - "column": 8 + "line": 104, + "column": 38 }, "end": { - "line": 67, - "column": 12 + "line": 104, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26690,24 +31541,24 @@ "binop": null, "updateContext": null }, - "start": 1518, - "end": 1519, + "start": 2680, + "end": 2681, "loc": { "start": { - "line": 67, - "column": 12 + "line": 104, + "column": 39 }, "end": { - "line": 67, - "column": 13 + "line": 104, + "column": 40 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26715,44 +31566,32 @@ "postfix": false, "binop": null }, - "value": "vyi", - "start": 1519, - "end": 1522, + "start": 2687, + "end": 2688, "loc": { "start": { - "line": 67, - "column": 13 + "line": 105, + "column": 4 }, "end": { - "line": 67, - "column": 16 + "line": 105, + "column": 5 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1523, - "end": 1524, + "type": "CommentBlock", + "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", + "start": 2694, + "end": 2796, "loc": { "start": { - "line": 67, - "column": 17 + "line": 106, + "column": 4 }, "end": { - "line": 67, - "column": 18 + "line": 110, + "column": 7 } } }, @@ -26768,182 +31607,182 @@ "postfix": false, "binop": null }, - "value": "pVYI", - "start": 1525, - "end": 1529, + "value": "getID", + "start": 2802, + "end": 2807, "loc": { "start": { - "line": 67, - "column": 19 + "line": 111, + "column": 4 }, "end": { - "line": 67, - "column": 23 + "line": 111, + "column": 9 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1529, - "end": 1530, + "start": 2807, + "end": 2808, "loc": { "start": { - "line": 67, - "column": 23 + "line": 111, + "column": 9 }, "end": { - "line": 67, - "column": 24 + "line": 111, + "column": 10 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1540, - "end": 1544, + "start": 2808, + "end": 2809, "loc": { "start": { - "line": 68, - "column": 8 + "line": 111, + "column": 10 }, "end": { - "line": 68, - "column": 12 + "line": 111, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1544, - "end": 1545, + "start": 2810, + "end": 2811, "loc": { "start": { - "line": 68, + "line": 111, "column": 12 }, "end": { - "line": 68, + "line": 111, "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 1545, - "end": 1550, + "value": "return", + "start": 2821, + "end": 2827, "loc": { "start": { - "line": 68, - "column": 13 + "line": 112, + "column": 8 }, "end": { - "line": 68, - "column": 18 + "line": 112, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1550, - "end": 1551, + "value": "this", + "start": 2828, + "end": 2832, "loc": { "start": { - "line": 68, - "column": 18 + "line": 112, + "column": 15 }, "end": { - "line": 68, + "line": 112, "column": 19 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIconData", - "start": 1551, - "end": 1560, + "start": 2832, + "end": 2833, "loc": { "start": { - "line": 68, + "line": 112, "column": 19 }, "end": { - "line": 68, - "column": 28 + "line": 112, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26951,16 +31790,17 @@ "postfix": false, "binop": null }, - "start": 1560, - "end": 1561, + "value": "id", + "start": 2833, + "end": 2835, "loc": { "start": { - "line": 68, - "column": 28 + "line": 112, + "column": 20 }, "end": { - "line": 68, - "column": 29 + "line": 112, + "column": 22 } } }, @@ -26977,16 +31817,16 @@ "binop": null, "updateContext": null }, - "start": 1561, - "end": 1562, + "start": 2835, + "end": 2836, "loc": { "start": { - "line": 68, - "column": 29 + "line": 112, + "column": 22 }, "end": { - "line": 68, - "column": 30 + "line": 112, + "column": 23 } } }, @@ -27002,15 +31842,15 @@ "postfix": false, "binop": null }, - "start": 1568, - "end": 1569, + "start": 2842, + "end": 2843, "loc": { "start": { - "line": 69, + "line": 113, "column": 4 }, "end": { - "line": 69, + "line": 113, "column": 5 } } @@ -27018,15 +31858,15 @@ { "type": "CommentBlock", "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 1575, - "end": 1752, + "start": 2849, + "end": 3026, "loc": { "start": { - "line": 70, + "line": 114, "column": 4 }, "end": { - "line": 74, + "line": 118, "column": 7 } } @@ -27044,15 +31884,15 @@ "binop": null }, "value": "parse", - "start": 1758, - "end": 1763, + "start": 3032, + "end": 3037, "loc": { "start": { - "line": 75, + "line": 119, "column": 4 }, "end": { - "line": 75, + "line": 119, "column": 9 } } @@ -27069,15 +31909,15 @@ "postfix": false, "binop": null }, - "start": 1763, - "end": 1764, + "start": 3037, + "end": 3038, "loc": { "start": { - "line": 75, + "line": 119, "column": 9 }, "end": { - "line": 75, + "line": 119, "column": 10 } } @@ -27095,15 +31935,15 @@ "binop": null }, "value": "pIconData", - "start": 1764, - "end": 1773, + "start": 3038, + "end": 3047, "loc": { "start": { - "line": 75, + "line": 119, "column": 10 }, "end": { - "line": 75, + "line": 119, "column": 19 } } @@ -27120,15 +31960,15 @@ "postfix": false, "binop": null }, - "start": 1773, - "end": 1774, + "start": 3047, + "end": 3048, "loc": { "start": { - "line": 75, + "line": 119, "column": 19 }, "end": { - "line": 75, + "line": 119, "column": 20 } } @@ -27145,15 +31985,15 @@ "postfix": false, "binop": null }, - "start": 1775, - "end": 1776, + "start": 3049, + "end": 3050, "loc": { "start": { - "line": 75, + "line": 119, "column": 21 }, "end": { - "line": 75, + "line": 119, "column": 22 } } @@ -27161,15 +32001,15 @@ { "type": "CommentLine", "value": " Loop through pIconData and create this icon", - "start": 1786, - "end": 1832, + "start": 3060, + "end": 3106, "loc": { "start": { - "line": 76, + "line": 120, "column": 8 }, "end": { - "line": 76, + "line": 120, "column": 54 } } @@ -27189,15 +32029,15 @@ "updateContext": null }, "value": "const", - "start": 1842, - "end": 1847, + "start": 3116, + "end": 3121, "loc": { "start": { - "line": 77, + "line": 121, "column": 8 }, "end": { - "line": 77, + "line": 121, "column": 13 } } @@ -27215,15 +32055,15 @@ "binop": null }, "value": "iconName", - "start": 1848, - "end": 1856, + "start": 3122, + "end": 3130, "loc": { "start": { - "line": 77, + "line": 121, "column": 14 }, "end": { - "line": 77, + "line": 121, "column": 22 } } @@ -27242,15 +32082,15 @@ "updateContext": null }, "value": "=", - "start": 1857, - "end": 1858, + "start": 3131, + "end": 3132, "loc": { "start": { - "line": 77, + "line": 121, "column": 23 }, "end": { - "line": 77, + "line": 121, "column": 24 } } @@ -27268,15 +32108,15 @@ "binop": null }, "value": "pIconData", - "start": 1859, - "end": 1868, + "start": 3133, + "end": 3142, "loc": { "start": { - "line": 77, + "line": 121, "column": 25 }, "end": { - "line": 77, + "line": 121, "column": 34 } } @@ -27294,15 +32134,15 @@ "binop": null, "updateContext": null }, - "start": 1868, - "end": 1869, + "start": 3142, + "end": 3143, "loc": { "start": { - "line": 77, + "line": 121, "column": 34 }, "end": { - "line": 77, + "line": 121, "column": 35 } } @@ -27321,15 +32161,15 @@ "updateContext": null }, "value": 0, - "start": 1869, - "end": 1870, + "start": 3143, + "end": 3144, "loc": { "start": { - "line": 77, + "line": 121, "column": 35 }, "end": { - "line": 77, + "line": 121, "column": 36 } } @@ -27347,15 +32187,15 @@ "binop": null, "updateContext": null }, - "start": 1870, - "end": 1871, + "start": 3144, + "end": 3145, "loc": { "start": { - "line": 77, + "line": 121, "column": 36 }, "end": { - "line": 77, + "line": 121, "column": 37 } } @@ -27373,15 +32213,15 @@ "binop": null, "updateContext": null }, - "start": 1871, - "end": 1872, + "start": 3145, + "end": 3146, "loc": { "start": { - "line": 77, + "line": 121, "column": 37 }, "end": { - "line": 77, + "line": 121, "column": 38 } } @@ -27401,15 +32241,15 @@ "updateContext": null }, "value": "const", - "start": 1882, - "end": 1887, + "start": 3156, + "end": 3161, "loc": { "start": { - "line": 78, + "line": 122, "column": 8 }, "end": { - "line": 78, + "line": 122, "column": 13 } } @@ -27427,15 +32267,15 @@ "binop": null }, "value": "iconWidth", - "start": 1888, - "end": 1897, + "start": 3162, + "end": 3171, "loc": { "start": { - "line": 78, + "line": 122, "column": 14 }, "end": { - "line": 78, + "line": 122, "column": 23 } } @@ -27454,15 +32294,15 @@ "updateContext": null }, "value": "=", - "start": 1898, - "end": 1899, + "start": 3172, + "end": 3173, "loc": { "start": { - "line": 78, + "line": 122, "column": 24 }, "end": { - "line": 78, + "line": 122, "column": 25 } } @@ -27480,15 +32320,15 @@ "binop": null }, "value": "pIconData", - "start": 1900, - "end": 1909, + "start": 3174, + "end": 3183, "loc": { "start": { - "line": 78, + "line": 122, "column": 26 }, "end": { - "line": 78, + "line": 122, "column": 35 } } @@ -27506,15 +32346,15 @@ "binop": null, "updateContext": null }, - "start": 1909, - "end": 1910, + "start": 3183, + "end": 3184, "loc": { "start": { - "line": 78, + "line": 122, "column": 35 }, "end": { - "line": 78, + "line": 122, "column": 36 } } @@ -27533,15 +32373,15 @@ "updateContext": null }, "value": 1, - "start": 1910, - "end": 1911, + "start": 3184, + "end": 3185, "loc": { "start": { - "line": 78, + "line": 122, "column": 36 }, "end": { - "line": 78, + "line": 122, "column": 37 } } @@ -27559,15 +32399,15 @@ "binop": null, "updateContext": null }, - "start": 1911, - "end": 1912, + "start": 3185, + "end": 3186, "loc": { "start": { - "line": 78, + "line": 122, "column": 37 }, "end": { - "line": 78, + "line": 122, "column": 38 } } @@ -27585,15 +32425,15 @@ "binop": null, "updateContext": null }, - "start": 1912, - "end": 1913, + "start": 3186, + "end": 3187, "loc": { "start": { - "line": 78, + "line": 122, "column": 38 }, "end": { - "line": 78, + "line": 122, "column": 39 } } @@ -27613,15 +32453,15 @@ "updateContext": null }, "value": "const", - "start": 1923, - "end": 1928, + "start": 3197, + "end": 3202, "loc": { "start": { - "line": 79, + "line": 123, "column": 8 }, "end": { - "line": 79, + "line": 123, "column": 13 } } @@ -27639,15 +32479,15 @@ "binop": null }, "value": "iconHeight", - "start": 1929, - "end": 1939, + "start": 3203, + "end": 3213, "loc": { "start": { - "line": 79, + "line": 123, "column": 14 }, "end": { - "line": 79, + "line": 123, "column": 24 } } @@ -27666,15 +32506,15 @@ "updateContext": null }, "value": "=", - "start": 1940, - "end": 1941, + "start": 3214, + "end": 3215, "loc": { "start": { - "line": 79, + "line": 123, "column": 25 }, "end": { - "line": 79, + "line": 123, "column": 26 } } @@ -27692,15 +32532,15 @@ "binop": null }, "value": "pIconData", - "start": 1942, - "end": 1951, + "start": 3216, + "end": 3225, "loc": { "start": { - "line": 79, + "line": 123, "column": 27 }, "end": { - "line": 79, + "line": 123, "column": 36 } } @@ -27718,15 +32558,15 @@ "binop": null, "updateContext": null }, - "start": 1951, - "end": 1952, + "start": 3225, + "end": 3226, "loc": { "start": { - "line": 79, + "line": 123, "column": 36 }, "end": { - "line": 79, + "line": 123, "column": 37 } } @@ -27745,15 +32585,15 @@ "updateContext": null }, "value": 2, - "start": 1952, - "end": 1953, + "start": 3226, + "end": 3227, "loc": { "start": { - "line": 79, + "line": 123, "column": 37 }, "end": { - "line": 79, + "line": 123, "column": 38 } } @@ -27771,15 +32611,15 @@ "binop": null, "updateContext": null }, - "start": 1953, - "end": 1954, + "start": 3227, + "end": 3228, "loc": { "start": { - "line": 79, + "line": 123, "column": 38 }, "end": { - "line": 79, + "line": 123, "column": 39 } } @@ -27797,15 +32637,15 @@ "binop": null, "updateContext": null }, - "start": 1954, - "end": 1955, + "start": 3228, + "end": 3229, "loc": { "start": { - "line": 79, + "line": 123, "column": 39 }, "end": { - "line": 79, + "line": 123, "column": 40 } } @@ -27825,15 +32665,15 @@ "updateContext": null }, "value": "const", - "start": 1965, - "end": 1970, + "start": 3239, + "end": 3244, "loc": { "start": { - "line": 80, + "line": 124, "column": 8 }, "end": { - "line": 80, + "line": 124, "column": 13 } } @@ -27851,15 +32691,15 @@ "binop": null }, "value": "iconDelay", - "start": 1971, - "end": 1980, + "start": 3245, + "end": 3254, "loc": { "start": { - "line": 80, + "line": 124, "column": 14 }, "end": { - "line": 80, + "line": 124, "column": 23 } } @@ -27878,15 +32718,15 @@ "updateContext": null }, "value": "=", - "start": 1981, - "end": 1982, + "start": 3255, + "end": 3256, "loc": { "start": { - "line": 80, + "line": 124, "column": 24 }, "end": { - "line": 80, + "line": 124, "column": 25 } } @@ -27904,15 +32744,15 @@ "binop": null }, "value": "pIconData", - "start": 1983, - "end": 1992, + "start": 3257, + "end": 3266, "loc": { "start": { - "line": 80, + "line": 124, "column": 26 }, "end": { - "line": 80, + "line": 124, "column": 35 } } @@ -27930,15 +32770,15 @@ "binop": null, "updateContext": null }, - "start": 1992, - "end": 1993, + "start": 3266, + "end": 3267, "loc": { "start": { - "line": 80, + "line": 124, "column": 35 }, "end": { - "line": 80, + "line": 124, "column": 36 } } @@ -27957,15 +32797,15 @@ "updateContext": null }, "value": 3, - "start": 1993, - "end": 1994, + "start": 3267, + "end": 3268, "loc": { "start": { - "line": 80, + "line": 124, "column": 36 }, "end": { - "line": 80, + "line": 124, "column": 37 } } @@ -27983,15 +32823,15 @@ "binop": null, "updateContext": null }, - "start": 1994, - "end": 1995, + "start": 3268, + "end": 3269, "loc": { "start": { - "line": 80, + "line": 124, "column": 37 }, "end": { - "line": 80, + "line": 124, "column": 38 } } @@ -28009,15 +32849,15 @@ "binop": null, "updateContext": null }, - "start": 1995, - "end": 1996, + "start": 3269, + "end": 3270, "loc": { "start": { - "line": 80, + "line": 124, "column": 38 }, "end": { - "line": 80, + "line": 124, "column": 39 } } @@ -28037,15 +32877,15 @@ "updateContext": null }, "value": "const", - "start": 2006, - "end": 2011, + "start": 3280, + "end": 3285, "loc": { "start": { - "line": 81, + "line": 125, "column": 8 }, "end": { - "line": 81, + "line": 125, "column": 13 } } @@ -28063,15 +32903,15 @@ "binop": null }, "value": "iconDataURL", - "start": 2012, - "end": 2023, + "start": 3286, + "end": 3297, "loc": { "start": { - "line": 81, + "line": 125, "column": 14 }, "end": { - "line": 81, + "line": 125, "column": 25 } } @@ -28090,15 +32930,15 @@ "updateContext": null }, "value": "=", - "start": 2024, - "end": 2025, + "start": 3298, + "end": 3299, "loc": { "start": { - "line": 81, + "line": 125, "column": 26 }, "end": { - "line": 81, + "line": 125, "column": 27 } } @@ -28116,15 +32956,15 @@ "binop": null }, "value": "pIconData", - "start": 2026, - "end": 2035, + "start": 3300, + "end": 3309, "loc": { "start": { - "line": 81, + "line": 125, "column": 28 }, "end": { - "line": 81, + "line": 125, "column": 37 } } @@ -28142,15 +32982,15 @@ "binop": null, "updateContext": null }, - "start": 2035, - "end": 2036, + "start": 3309, + "end": 3310, "loc": { "start": { - "line": 81, + "line": 125, "column": 37 }, "end": { - "line": 81, + "line": 125, "column": 38 } } @@ -28169,15 +33009,15 @@ "updateContext": null }, "value": 4, - "start": 2036, - "end": 2037, + "start": 3310, + "end": 3311, "loc": { "start": { - "line": 81, + "line": 125, "column": 38 }, "end": { - "line": 81, + "line": 125, "column": 39 } } @@ -28195,15 +33035,15 @@ "binop": null, "updateContext": null }, - "start": 2037, - "end": 2038, + "start": 3311, + "end": 3312, "loc": { "start": { - "line": 81, + "line": 125, "column": 39 }, "end": { - "line": 81, + "line": 125, "column": 40 } } @@ -28221,15 +33061,15 @@ "binop": null, "updateContext": null }, - "start": 2038, - "end": 2039, + "start": 3312, + "end": 3313, "loc": { "start": { - "line": 81, + "line": 125, "column": 40 }, "end": { - "line": 81, + "line": 125, "column": 41 } } @@ -28249,15 +33089,15 @@ "updateContext": null }, "value": "const", - "start": 2049, - "end": 2054, + "start": 3323, + "end": 3328, "loc": { "start": { - "line": 82, + "line": 126, "column": 8 }, "end": { - "line": 82, + "line": 126, "column": 13 } } @@ -28275,15 +33115,15 @@ "binop": null }, "value": "frameArray", - "start": 2055, - "end": 2065, + "start": 3329, + "end": 3339, "loc": { "start": { - "line": 82, + "line": 126, "column": 14 }, "end": { - "line": 82, + "line": 126, "column": 24 } } @@ -28302,15 +33142,15 @@ "updateContext": null }, "value": "=", - "start": 2066, - "end": 2067, + "start": 3340, + "end": 3341, "loc": { "start": { - "line": 82, + "line": 126, "column": 25 }, "end": { - "line": 82, + "line": 126, "column": 26 } } @@ -28328,15 +33168,15 @@ "binop": null }, "value": "pIconData", - "start": 2068, - "end": 2077, + "start": 3342, + "end": 3351, "loc": { "start": { - "line": 82, + "line": 126, "column": 27 }, "end": { - "line": 82, + "line": 126, "column": 36 } } @@ -28354,15 +33194,15 @@ "binop": null, "updateContext": null }, - "start": 2077, - "end": 2078, + "start": 3351, + "end": 3352, "loc": { "start": { - "line": 82, + "line": 126, "column": 36 }, "end": { - "line": 82, + "line": 126, "column": 37 } } @@ -28381,15 +33221,15 @@ "updateContext": null }, "value": 5, - "start": 2078, - "end": 2079, + "start": 3352, + "end": 3353, "loc": { "start": { - "line": 82, + "line": 126, "column": 37 }, "end": { - "line": 82, + "line": 126, "column": 38 } } @@ -28407,15 +33247,15 @@ "binop": null, "updateContext": null }, - "start": 2079, - "end": 2080, + "start": 3353, + "end": 3354, "loc": { "start": { - "line": 82, + "line": 126, "column": 38 }, "end": { - "line": 82, + "line": 126, "column": 39 } } @@ -28433,15 +33273,15 @@ "binop": null, "updateContext": null }, - "start": 2080, - "end": 2081, + "start": 3354, + "end": 3355, "loc": { "start": { - "line": 82, + "line": 126, "column": 39 }, "end": { - "line": 82, + "line": 126, "column": 40 } } @@ -28461,15 +33301,15 @@ "updateContext": null }, "value": "const", - "start": 2091, - "end": 2096, + "start": 3365, + "end": 3370, "loc": { "start": { - "line": 83, + "line": 127, "column": 8 }, "end": { - "line": 83, + "line": 127, "column": 13 } } @@ -28487,15 +33327,15 @@ "binop": null }, "value": "stateArray", - "start": 2097, - "end": 2107, + "start": 3371, + "end": 3381, "loc": { "start": { - "line": 83, + "line": 127, "column": 14 }, "end": { - "line": 83, + "line": 127, "column": 24 } } @@ -28514,15 +33354,15 @@ "updateContext": null }, "value": "=", - "start": 2108, - "end": 2109, + "start": 3382, + "end": 3383, "loc": { "start": { - "line": 83, + "line": 127, "column": 25 }, "end": { - "line": 83, + "line": 127, "column": 26 } } @@ -28540,15 +33380,15 @@ "binop": null }, "value": "pIconData", - "start": 2110, - "end": 2119, + "start": 3384, + "end": 3393, "loc": { "start": { - "line": 83, + "line": 127, "column": 27 }, "end": { - "line": 83, + "line": 127, "column": 36 } } @@ -28566,15 +33406,15 @@ "binop": null, "updateContext": null }, - "start": 2119, - "end": 2120, + "start": 3393, + "end": 3394, "loc": { "start": { - "line": 83, + "line": 127, "column": 36 }, "end": { - "line": 83, + "line": 127, "column": 37 } } @@ -28593,15 +33433,15 @@ "updateContext": null }, "value": 6, - "start": 2120, - "end": 2121, + "start": 3394, + "end": 3395, "loc": { "start": { - "line": 83, + "line": 127, "column": 37 }, "end": { - "line": 83, + "line": 127, "column": 38 } } @@ -28619,15 +33459,15 @@ "binop": null, "updateContext": null }, - "start": 2121, - "end": 2122, + "start": 3395, + "end": 3396, "loc": { "start": { - "line": 83, + "line": 127, "column": 38 }, "end": { - "line": 83, + "line": 127, "column": 39 } } @@ -28645,15 +33485,15 @@ "binop": null, "updateContext": null }, - "start": 2122, - "end": 2123, + "start": 3396, + "end": 3397, "loc": { "start": { - "line": 83, + "line": 127, "column": 39 }, "end": { - "line": 83, + "line": 127, "column": 40 } } @@ -28661,15 +33501,15 @@ { "type": "CommentLine", "value": " Set name", - "start": 2135, - "end": 2146, + "start": 3409, + "end": 3420, "loc": { "start": { - "line": 85, + "line": 129, "column": 8 }, "end": { - "line": 85, + "line": 129, "column": 19 } } @@ -28689,15 +33529,15 @@ "updateContext": null }, "value": "this", - "start": 2156, - "end": 2160, + "start": 3430, + "end": 3434, "loc": { "start": { - "line": 86, + "line": 130, "column": 8 }, "end": { - "line": 86, + "line": 130, "column": 12 } } @@ -28715,15 +33555,15 @@ "binop": null, "updateContext": null }, - "start": 2160, - "end": 2161, + "start": 3434, + "end": 3435, "loc": { "start": { - "line": 86, + "line": 130, "column": 12 }, "end": { - "line": 86, + "line": 130, "column": 13 } } @@ -28741,15 +33581,15 @@ "binop": null }, "value": "rename", - "start": 2161, - "end": 2167, + "start": 3435, + "end": 3441, "loc": { "start": { - "line": 86, + "line": 130, "column": 13 }, "end": { - "line": 86, + "line": 130, "column": 19 } } @@ -28766,15 +33606,15 @@ "postfix": false, "binop": null }, - "start": 2167, - "end": 2168, + "start": 3441, + "end": 3442, "loc": { "start": { - "line": 86, + "line": 130, "column": 19 }, "end": { - "line": 86, + "line": 130, "column": 20 } } @@ -28792,15 +33632,15 @@ "binop": null }, "value": "iconName", - "start": 2168, - "end": 2176, + "start": 3442, + "end": 3450, "loc": { "start": { - "line": 86, + "line": 130, "column": 20 }, "end": { - "line": 86, + "line": 130, "column": 28 } } @@ -28817,15 +33657,15 @@ "postfix": false, "binop": null }, - "start": 2176, - "end": 2177, + "start": 3450, + "end": 3451, "loc": { "start": { - "line": 86, + "line": 130, "column": 28 }, "end": { - "line": 86, + "line": 130, "column": 29 } } @@ -28843,15 +33683,15 @@ "binop": null, "updateContext": null }, - "start": 2177, - "end": 2178, + "start": 3451, + "end": 3452, "loc": { "start": { - "line": 86, + "line": 130, "column": 29 }, "end": { - "line": 86, + "line": 130, "column": 30 } } @@ -28859,15 +33699,15 @@ { "type": "CommentLine", "value": " Set size", - "start": 2188, - "end": 2199, + "start": 3462, + "end": 3473, "loc": { "start": { - "line": 87, + "line": 131, "column": 8 }, "end": { - "line": 87, + "line": 131, "column": 19 } } @@ -28887,15 +33727,15 @@ "updateContext": null }, "value": "this", - "start": 2209, - "end": 2213, + "start": 3483, + "end": 3487, "loc": { "start": { - "line": 88, + "line": 132, "column": 8 }, "end": { - "line": 88, + "line": 132, "column": 12 } } @@ -28913,15 +33753,15 @@ "binop": null, "updateContext": null }, - "start": 2213, - "end": 2214, + "start": 3487, + "end": 3488, "loc": { "start": { - "line": 88, + "line": 132, "column": 12 }, "end": { - "line": 88, + "line": 132, "column": 13 } } @@ -28939,15 +33779,15 @@ "binop": null }, "value": "setSize", - "start": 2214, - "end": 2221, + "start": 3488, + "end": 3495, "loc": { "start": { - "line": 88, + "line": 132, "column": 13 }, "end": { - "line": 88, + "line": 132, "column": 20 } } @@ -28964,15 +33804,15 @@ "postfix": false, "binop": null }, - "start": 2221, - "end": 2222, + "start": 3495, + "end": 3496, "loc": { "start": { - "line": 88, + "line": 132, "column": 20 }, "end": { - "line": 88, + "line": 132, "column": 21 } } @@ -28990,15 +33830,15 @@ "binop": null }, "value": "iconWidth", - "start": 2222, - "end": 2231, + "start": 3496, + "end": 3505, "loc": { "start": { - "line": 88, + "line": 132, "column": 21 }, "end": { - "line": 88, + "line": 132, "column": 30 } } @@ -29016,15 +33856,15 @@ "binop": null, "updateContext": null }, - "start": 2231, - "end": 2232, + "start": 3505, + "end": 3506, "loc": { "start": { - "line": 88, + "line": 132, "column": 30 }, "end": { - "line": 88, + "line": 132, "column": 31 } } @@ -29042,15 +33882,15 @@ "binop": null }, "value": "iconHeight", - "start": 2233, - "end": 2243, + "start": 3507, + "end": 3517, "loc": { "start": { - "line": 88, + "line": 132, "column": 32 }, "end": { - "line": 88, + "line": 132, "column": 42 } } @@ -29067,15 +33907,15 @@ "postfix": false, "binop": null }, - "start": 2243, - "end": 2244, + "start": 3517, + "end": 3518, "loc": { "start": { - "line": 88, + "line": 132, "column": 42 }, "end": { - "line": 88, + "line": 132, "column": 43 } } @@ -29093,15 +33933,15 @@ "binop": null, "updateContext": null }, - "start": 2244, - "end": 2245, + "start": 3518, + "end": 3519, "loc": { "start": { - "line": 88, + "line": 132, "column": 43 }, "end": { - "line": 88, + "line": 132, "column": 44 } } @@ -29109,15 +33949,15 @@ { "type": "CommentLine", "value": " Set icon delay", - "start": 2255, - "end": 2272, + "start": 3529, + "end": 3546, "loc": { "start": { - "line": 89, + "line": 133, "column": 8 }, "end": { - "line": 89, + "line": 133, "column": 25 } } @@ -29137,15 +33977,15 @@ "updateContext": null }, "value": "this", - "start": 2282, - "end": 2286, + "start": 3556, + "end": 3560, "loc": { "start": { - "line": 90, + "line": 134, "column": 8 }, "end": { - "line": 90, + "line": 134, "column": 12 } } @@ -29163,15 +34003,15 @@ "binop": null, "updateContext": null }, - "start": 2286, - "end": 2287, + "start": 3560, + "end": 3561, "loc": { "start": { - "line": 90, + "line": 134, "column": 12 }, "end": { - "line": 90, + "line": 134, "column": 13 } } @@ -29189,15 +34029,15 @@ "binop": null }, "value": "setDelay", - "start": 2287, - "end": 2295, + "start": 3561, + "end": 3569, "loc": { "start": { - "line": 90, + "line": 134, "column": 13 }, "end": { - "line": 90, + "line": 134, "column": 21 } } @@ -29214,15 +34054,15 @@ "postfix": false, "binop": null }, - "start": 2295, - "end": 2296, + "start": 3569, + "end": 3570, "loc": { "start": { - "line": 90, + "line": 134, "column": 21 }, "end": { - "line": 90, + "line": 134, "column": 22 } } @@ -29240,15 +34080,15 @@ "binop": null }, "value": "iconDelay", - "start": 2296, - "end": 2305, + "start": 3570, + "end": 3579, "loc": { "start": { - "line": 90, + "line": 134, "column": 22 }, "end": { - "line": 90, + "line": 134, "column": 31 } } @@ -29265,15 +34105,15 @@ "postfix": false, "binop": null }, - "start": 2305, - "end": 2306, + "start": 3579, + "end": 3580, "loc": { "start": { - "line": 90, + "line": 134, "column": 31 }, "end": { - "line": 90, + "line": 134, "column": 32 } } @@ -29291,15 +34131,15 @@ "binop": null, "updateContext": null }, - "start": 2306, - "end": 2307, + "start": 3580, + "end": 3581, "loc": { "start": { - "line": 90, + "line": 134, "column": 32 }, "end": { - "line": 90, + "line": 134, "column": 33 } } @@ -29307,15 +34147,15 @@ { "type": "CommentLine", "value": " Set dataURL", - "start": 2317, - "end": 2331, + "start": 3591, + "end": 3605, "loc": { "start": { - "line": 91, + "line": 135, "column": 8 }, "end": { - "line": 91, + "line": 135, "column": 22 } } @@ -29335,15 +34175,15 @@ "updateContext": null }, "value": "this", - "start": 2341, - "end": 2345, + "start": 3615, + "end": 3619, "loc": { "start": { - "line": 92, + "line": 136, "column": 8 }, "end": { - "line": 92, + "line": 136, "column": 12 } } @@ -29361,15 +34201,15 @@ "binop": null, "updateContext": null }, - "start": 2345, - "end": 2346, + "start": 3619, + "end": 3620, "loc": { "start": { - "line": 92, + "line": 136, "column": 12 }, "end": { - "line": 92, + "line": 136, "column": 13 } } @@ -29387,15 +34227,15 @@ "binop": null }, "value": "setDataURL", - "start": 2346, - "end": 2356, + "start": 3620, + "end": 3630, "loc": { "start": { - "line": 92, + "line": 136, "column": 13 }, "end": { - "line": 92, + "line": 136, "column": 23 } } @@ -29412,15 +34252,15 @@ "postfix": false, "binop": null }, - "start": 2356, - "end": 2357, + "start": 3630, + "end": 3631, "loc": { "start": { - "line": 92, + "line": 136, "column": 23 }, "end": { - "line": 92, + "line": 136, "column": 24 } } @@ -29438,15 +34278,15 @@ "binop": null }, "value": "iconDataURL", - "start": 2357, - "end": 2368, + "start": 3631, + "end": 3642, "loc": { "start": { - "line": 92, + "line": 136, "column": 24 }, "end": { - "line": 92, + "line": 136, "column": 35 } } @@ -29463,15 +34303,15 @@ "postfix": false, "binop": null }, - "start": 2368, - "end": 2369, + "start": 3642, + "end": 3643, "loc": { "start": { - "line": 92, + "line": 136, "column": 35 }, "end": { - "line": 92, + "line": 136, "column": 36 } } @@ -29489,15 +34329,15 @@ "binop": null, "updateContext": null }, - "start": 2369, - "end": 2370, + "start": 3643, + "end": 3644, "loc": { "start": { - "line": 92, + "line": 136, "column": 36 }, "end": { - "line": 92, + "line": 136, "column": 37 } } @@ -29505,15 +34345,15 @@ { "type": "CommentLine", "value": " Check if the frame data is an array", - "start": 2380, - "end": 2418, + "start": 3654, + "end": 3692, "loc": { "start": { - "line": 93, + "line": 137, "column": 8 }, "end": { - "line": 93, + "line": 137, "column": 46 } } @@ -29533,15 +34373,15 @@ "updateContext": null }, "value": "if", - "start": 2428, - "end": 2430, + "start": 3702, + "end": 3704, "loc": { "start": { - "line": 94, + "line": 138, "column": 8 }, "end": { - "line": 94, + "line": 138, "column": 10 } } @@ -29558,15 +34398,15 @@ "postfix": false, "binop": null }, - "start": 2431, - "end": 2432, + "start": 3705, + "end": 3706, "loc": { "start": { - "line": 94, + "line": 138, "column": 11 }, "end": { - "line": 94, + "line": 138, "column": 12 } } @@ -29584,15 +34424,15 @@ "binop": null }, "value": "Array", - "start": 2432, - "end": 2437, + "start": 3706, + "end": 3711, "loc": { "start": { - "line": 94, + "line": 138, "column": 12 }, "end": { - "line": 94, + "line": 138, "column": 17 } } @@ -29610,15 +34450,15 @@ "binop": null, "updateContext": null }, - "start": 2437, - "end": 2438, + "start": 3711, + "end": 3712, "loc": { "start": { - "line": 94, + "line": 138, "column": 17 }, "end": { - "line": 94, + "line": 138, "column": 18 } } @@ -29636,15 +34476,15 @@ "binop": null }, "value": "isArray", - "start": 2438, - "end": 2445, + "start": 3712, + "end": 3719, "loc": { "start": { - "line": 94, + "line": 138, "column": 18 }, "end": { - "line": 94, + "line": 138, "column": 25 } } @@ -29661,15 +34501,15 @@ "postfix": false, "binop": null }, - "start": 2445, - "end": 2446, + "start": 3719, + "end": 3720, "loc": { "start": { - "line": 94, + "line": 138, "column": 25 }, "end": { - "line": 94, + "line": 138, "column": 26 } } @@ -29687,15 +34527,15 @@ "binop": null }, "value": "frameArray", - "start": 2446, - "end": 2456, + "start": 3720, + "end": 3730, "loc": { "start": { - "line": 94, + "line": 138, "column": 26 }, "end": { - "line": 94, + "line": 138, "column": 36 } } @@ -29712,15 +34552,15 @@ "postfix": false, "binop": null }, - "start": 2456, - "end": 2457, + "start": 3730, + "end": 3731, "loc": { "start": { - "line": 94, + "line": 138, "column": 36 }, "end": { - "line": 94, + "line": 138, "column": 37 } } @@ -29737,15 +34577,15 @@ "postfix": false, "binop": null }, - "start": 2457, - "end": 2458, + "start": 3731, + "end": 3732, "loc": { "start": { - "line": 94, + "line": 138, "column": 37 }, "end": { - "line": 94, + "line": 138, "column": 38 } } @@ -29762,15 +34602,15 @@ "postfix": false, "binop": null }, - "start": 2459, - "end": 2460, + "start": 3733, + "end": 3734, "loc": { "start": { - "line": 94, + "line": 138, "column": 39 }, "end": { - "line": 94, + "line": 138, "column": 40 } } @@ -29778,15 +34618,15 @@ { "type": "CommentLine", "value": " If the frame array has data then we need to store it.", - "start": 2474, - "end": 2530, + "start": 3748, + "end": 3804, "loc": { "start": { - "line": 95, + "line": 139, "column": 12 }, "end": { - "line": 95, + "line": 139, "column": 68 } } @@ -29806,15 +34646,15 @@ "updateContext": null }, "value": "if", - "start": 2544, - "end": 2546, + "start": 3818, + "end": 3820, "loc": { "start": { - "line": 96, + "line": 140, "column": 12 }, "end": { - "line": 96, + "line": 140, "column": 14 } } @@ -29831,15 +34671,15 @@ "postfix": false, "binop": null }, - "start": 2547, - "end": 2548, + "start": 3821, + "end": 3822, "loc": { "start": { - "line": 96, + "line": 140, "column": 15 }, "end": { - "line": 96, + "line": 140, "column": 16 } } @@ -29857,15 +34697,15 @@ "binop": null }, "value": "frameArray", - "start": 2548, - "end": 2558, + "start": 3822, + "end": 3832, "loc": { "start": { - "line": 96, + "line": 140, "column": 16 }, "end": { - "line": 96, + "line": 140, "column": 26 } } @@ -29883,15 +34723,15 @@ "binop": null, "updateContext": null }, - "start": 2558, - "end": 2559, + "start": 3832, + "end": 3833, "loc": { "start": { - "line": 96, + "line": 140, "column": 26 }, "end": { - "line": 96, + "line": 140, "column": 27 } } @@ -29909,15 +34749,15 @@ "binop": null }, "value": "length", - "start": 2559, - "end": 2565, + "start": 3833, + "end": 3839, "loc": { "start": { - "line": 96, + "line": 140, "column": 27 }, "end": { - "line": 96, + "line": 140, "column": 33 } } @@ -29934,15 +34774,15 @@ "postfix": false, "binop": null }, - "start": 2565, - "end": 2566, + "start": 3839, + "end": 3840, "loc": { "start": { - "line": 96, + "line": 140, "column": 33 }, "end": { - "line": 96, + "line": 140, "column": 34 } } @@ -29959,15 +34799,15 @@ "postfix": false, "binop": null }, - "start": 2567, - "end": 2568, + "start": 3841, + "end": 3842, "loc": { "start": { - "line": 96, + "line": 140, "column": 35 }, "end": { - "line": 96, + "line": 140, "column": 36 } } @@ -29985,15 +34825,15 @@ "binop": null }, "value": "frameArray", - "start": 2586, - "end": 2596, + "start": 3860, + "end": 3870, "loc": { "start": { - "line": 97, + "line": 141, "column": 16 }, "end": { - "line": 97, + "line": 141, "column": 26 } } @@ -30011,15 +34851,15 @@ "binop": null, "updateContext": null }, - "start": 2596, - "end": 2597, + "start": 3870, + "end": 3871, "loc": { "start": { - "line": 97, + "line": 141, "column": 26 }, "end": { - "line": 97, + "line": 141, "column": 27 } } @@ -30037,15 +34877,15 @@ "binop": null }, "value": "forEach", - "start": 2597, - "end": 2604, + "start": 3871, + "end": 3878, "loc": { "start": { - "line": 97, + "line": 141, "column": 27 }, "end": { - "line": 97, + "line": 141, "column": 34 } } @@ -30062,15 +34902,15 @@ "postfix": false, "binop": null }, - "start": 2604, - "end": 2605, + "start": 3878, + "end": 3879, "loc": { "start": { - "line": 97, + "line": 141, "column": 34 }, "end": { - "line": 97, + "line": 141, "column": 35 } } @@ -30087,15 +34927,15 @@ "postfix": false, "binop": null }, - "start": 2605, - "end": 2606, + "start": 3879, + "end": 3880, "loc": { "start": { - "line": 97, + "line": 141, "column": 35 }, "end": { - "line": 97, + "line": 141, "column": 36 } } @@ -30113,15 +34953,15 @@ "binop": null }, "value": "pFrame", - "start": 2606, - "end": 2612, + "start": 3880, + "end": 3886, "loc": { "start": { - "line": 97, + "line": 141, "column": 36 }, "end": { - "line": 97, + "line": 141, "column": 42 } } @@ -30138,15 +34978,15 @@ "postfix": false, "binop": null }, - "start": 2612, - "end": 2613, + "start": 3886, + "end": 3887, "loc": { "start": { - "line": 97, + "line": 141, "column": 42 }, "end": { - "line": 97, + "line": 141, "column": 43 } } @@ -30164,15 +35004,15 @@ "binop": null, "updateContext": null }, - "start": 2614, - "end": 2616, + "start": 3888, + "end": 3890, "loc": { "start": { - "line": 97, + "line": 141, "column": 44 }, "end": { - "line": 97, + "line": 141, "column": 46 } } @@ -30189,15 +35029,15 @@ "postfix": false, "binop": null }, - "start": 2617, - "end": 2618, + "start": 3891, + "end": 3892, "loc": { "start": { - "line": 97, + "line": 141, "column": 47 }, "end": { - "line": 97, + "line": 141, "column": 48 } } @@ -30205,15 +35045,15 @@ { "type": "CommentLine", "value": " pFrame is an array holding the datalURL and frameDelay of the frame", - "start": 2640, - "end": 2710, + "start": 3914, + "end": 3984, "loc": { "start": { - "line": 98, + "line": 142, "column": 20 }, "end": { - "line": 98, + "line": 142, "column": 90 } } @@ -30233,15 +35073,15 @@ "updateContext": null }, "value": "this", - "start": 2732, - "end": 2736, + "start": 4006, + "end": 4010, "loc": { "start": { - "line": 99, + "line": 143, "column": 20 }, "end": { - "line": 99, + "line": 143, "column": 24 } } @@ -30259,15 +35099,15 @@ "binop": null, "updateContext": null }, - "start": 2736, - "end": 2737, + "start": 4010, + "end": 4011, "loc": { "start": { - "line": 99, + "line": 143, "column": 24 }, "end": { - "line": 99, + "line": 143, "column": 25 } } @@ -30285,15 +35125,15 @@ "binop": null }, "value": "addFrame", - "start": 2737, - "end": 2745, + "start": 4011, + "end": 4019, "loc": { "start": { - "line": 99, + "line": 143, "column": 25 }, "end": { - "line": 99, + "line": 143, "column": 33 } } @@ -30310,15 +35150,15 @@ "postfix": false, "binop": null }, - "start": 2745, - "end": 2746, + "start": 4019, + "end": 4020, "loc": { "start": { - "line": 99, + "line": 143, "column": 33 }, "end": { - "line": 99, + "line": 143, "column": 34 } } @@ -30336,15 +35176,15 @@ "binop": null }, "value": "pFrame", - "start": 2746, - "end": 2752, + "start": 4020, + "end": 4026, "loc": { "start": { - "line": 99, + "line": 143, "column": 34 }, "end": { - "line": 99, + "line": 143, "column": 40 } } @@ -30361,15 +35201,15 @@ "postfix": false, "binop": null }, - "start": 2752, - "end": 2753, + "start": 4026, + "end": 4027, "loc": { "start": { - "line": 99, + "line": 143, "column": 40 }, "end": { - "line": 99, + "line": 143, "column": 41 } } @@ -30387,15 +35227,15 @@ "binop": null, "updateContext": null }, - "start": 2753, - "end": 2754, + "start": 4027, + "end": 4028, "loc": { "start": { - "line": 99, + "line": 143, "column": 41 }, "end": { - "line": 99, + "line": 143, "column": 42 } } @@ -30412,15 +35252,15 @@ "postfix": false, "binop": null }, - "start": 2772, - "end": 2773, + "start": 4046, + "end": 4047, "loc": { "start": { - "line": 100, + "line": 144, "column": 16 }, "end": { - "line": 100, + "line": 144, "column": 17 } } @@ -30437,15 +35277,15 @@ "postfix": false, "binop": null }, - "start": 2773, - "end": 2774, + "start": 4047, + "end": 4048, "loc": { "start": { - "line": 100, + "line": 144, "column": 17 }, "end": { - "line": 100, + "line": 144, "column": 18 } } @@ -30463,15 +35303,15 @@ "binop": null, "updateContext": null }, - "start": 2774, - "end": 2775, + "start": 4048, + "end": 4049, "loc": { "start": { - "line": 100, + "line": 144, "column": 18 }, "end": { - "line": 100, + "line": 144, "column": 19 } } @@ -30488,15 +35328,15 @@ "postfix": false, "binop": null }, - "start": 2789, - "end": 2790, + "start": 4063, + "end": 4064, "loc": { "start": { - "line": 101, + "line": 145, "column": 12 }, "end": { - "line": 101, + "line": 145, "column": 13 } } @@ -30513,15 +35353,15 @@ "postfix": false, "binop": null }, - "start": 2800, - "end": 2801, + "start": 4074, + "end": 4075, "loc": { "start": { - "line": 102, + "line": 146, "column": 8 }, "end": { - "line": 102, + "line": 146, "column": 9 } } @@ -30529,15 +35369,15 @@ { "type": "CommentLine", "value": " Check if the states data is an array", - "start": 2811, - "end": 2850, + "start": 4085, + "end": 4124, "loc": { "start": { - "line": 103, + "line": 147, "column": 8 }, "end": { - "line": 103, + "line": 147, "column": 47 } } @@ -30557,15 +35397,15 @@ "updateContext": null }, "value": "if", - "start": 2860, - "end": 2862, + "start": 4134, + "end": 4136, "loc": { "start": { - "line": 104, + "line": 148, "column": 8 }, "end": { - "line": 104, + "line": 148, "column": 10 } } @@ -30582,15 +35422,15 @@ "postfix": false, "binop": null }, - "start": 2863, - "end": 2864, + "start": 4137, + "end": 4138, "loc": { "start": { - "line": 104, + "line": 148, "column": 11 }, "end": { - "line": 104, + "line": 148, "column": 12 } } @@ -30608,15 +35448,15 @@ "binop": null }, "value": "Array", - "start": 2864, - "end": 2869, + "start": 4138, + "end": 4143, "loc": { "start": { - "line": 104, + "line": 148, "column": 12 }, "end": { - "line": 104, + "line": 148, "column": 17 } } @@ -30634,15 +35474,15 @@ "binop": null, "updateContext": null }, - "start": 2869, - "end": 2870, + "start": 4143, + "end": 4144, "loc": { "start": { - "line": 104, + "line": 148, "column": 17 }, "end": { - "line": 104, + "line": 148, "column": 18 } } @@ -30660,15 +35500,15 @@ "binop": null }, "value": "isArray", - "start": 2870, - "end": 2877, + "start": 4144, + "end": 4151, "loc": { "start": { - "line": 104, + "line": 148, "column": 18 }, "end": { - "line": 104, + "line": 148, "column": 25 } } @@ -30685,15 +35525,15 @@ "postfix": false, "binop": null }, - "start": 2877, - "end": 2878, + "start": 4151, + "end": 4152, "loc": { "start": { - "line": 104, + "line": 148, "column": 25 }, "end": { - "line": 104, + "line": 148, "column": 26 } } @@ -30711,15 +35551,15 @@ "binop": null }, "value": "stateArray", - "start": 2878, - "end": 2888, + "start": 4152, + "end": 4162, "loc": { "start": { - "line": 104, + "line": 148, "column": 26 }, "end": { - "line": 104, + "line": 148, "column": 36 } } @@ -30736,15 +35576,15 @@ "postfix": false, "binop": null }, - "start": 2888, - "end": 2889, + "start": 4162, + "end": 4163, "loc": { "start": { - "line": 104, + "line": 148, "column": 36 }, "end": { - "line": 104, + "line": 148, "column": 37 } } @@ -30761,15 +35601,15 @@ "postfix": false, "binop": null }, - "start": 2889, - "end": 2890, + "start": 4163, + "end": 4164, "loc": { "start": { - "line": 104, + "line": 148, "column": 37 }, "end": { - "line": 104, + "line": 148, "column": 38 } } @@ -30786,15 +35626,15 @@ "postfix": false, "binop": null }, - "start": 2891, - "end": 2892, + "start": 4165, + "end": 4166, "loc": { "start": { - "line": 104, + "line": 148, "column": 39 }, "end": { - "line": 104, + "line": 148, "column": 40 } } @@ -30802,15 +35642,15 @@ { "type": "CommentLine", "value": " If the state array has data then we need to store it.", - "start": 2906, - "end": 2962, + "start": 4180, + "end": 4236, "loc": { "start": { - "line": 105, + "line": 149, "column": 12 }, "end": { - "line": 105, + "line": 149, "column": 68 } } @@ -30830,15 +35670,15 @@ "updateContext": null }, "value": "if", - "start": 2976, - "end": 2978, + "start": 4250, + "end": 4252, "loc": { "start": { - "line": 106, + "line": 150, "column": 12 }, "end": { - "line": 106, + "line": 150, "column": 14 } } @@ -30855,15 +35695,15 @@ "postfix": false, "binop": null }, - "start": 2979, - "end": 2980, + "start": 4253, + "end": 4254, "loc": { "start": { - "line": 106, + "line": 150, "column": 15 }, "end": { - "line": 106, + "line": 150, "column": 16 } } @@ -30881,15 +35721,15 @@ "binop": null }, "value": "stateArray", - "start": 2980, - "end": 2990, + "start": 4254, + "end": 4264, "loc": { "start": { - "line": 106, + "line": 150, "column": 16 }, "end": { - "line": 106, + "line": 150, "column": 26 } } @@ -30907,15 +35747,15 @@ "binop": null, "updateContext": null }, - "start": 2990, - "end": 2991, + "start": 4264, + "end": 4265, "loc": { "start": { - "line": 106, + "line": 150, "column": 26 }, "end": { - "line": 106, + "line": 150, "column": 27 } } @@ -30933,15 +35773,15 @@ "binop": null }, "value": "length", - "start": 2991, - "end": 2997, + "start": 4265, + "end": 4271, "loc": { "start": { - "line": 106, + "line": 150, "column": 27 }, "end": { - "line": 106, + "line": 150, "column": 33 } } @@ -30958,15 +35798,15 @@ "postfix": false, "binop": null }, - "start": 2997, - "end": 2998, + "start": 4271, + "end": 4272, "loc": { "start": { - "line": 106, + "line": 150, "column": 33 }, "end": { - "line": 106, + "line": 150, "column": 34 } } @@ -30983,15 +35823,15 @@ "postfix": false, "binop": null }, - "start": 2999, - "end": 3000, + "start": 4273, + "end": 4274, "loc": { "start": { - "line": 106, + "line": 150, "column": 35 }, "end": { - "line": 106, + "line": 150, "column": 36 } } @@ -31009,15 +35849,15 @@ "binop": null }, "value": "stateArray", - "start": 3018, - "end": 3028, + "start": 4292, + "end": 4302, "loc": { "start": { - "line": 107, + "line": 151, "column": 16 }, "end": { - "line": 107, + "line": 151, "column": 26 } } @@ -31035,15 +35875,15 @@ "binop": null, "updateContext": null }, - "start": 3028, - "end": 3029, + "start": 4302, + "end": 4303, "loc": { "start": { - "line": 107, + "line": 151, "column": 26 }, "end": { - "line": 107, + "line": 151, "column": 27 } } @@ -31061,15 +35901,15 @@ "binop": null }, "value": "forEach", - "start": 3029, - "end": 3036, + "start": 4303, + "end": 4310, "loc": { "start": { - "line": 107, + "line": 151, "column": 27 }, "end": { - "line": 107, + "line": 151, "column": 34 } } @@ -31086,15 +35926,15 @@ "postfix": false, "binop": null }, - "start": 3036, - "end": 3037, + "start": 4310, + "end": 4311, "loc": { "start": { - "line": 107, + "line": 151, "column": 34 }, "end": { - "line": 107, + "line": 151, "column": 35 } } @@ -31111,15 +35951,15 @@ "postfix": false, "binop": null }, - "start": 3037, - "end": 3038, + "start": 4311, + "end": 4312, "loc": { "start": { - "line": 107, + "line": 151, "column": 35 }, "end": { - "line": 107, + "line": 151, "column": 36 } } @@ -31137,15 +35977,15 @@ "binop": null }, "value": "pState", - "start": 3038, - "end": 3044, + "start": 4312, + "end": 4318, "loc": { "start": { - "line": 107, + "line": 151, "column": 36 }, "end": { - "line": 107, + "line": 151, "column": 42 } } @@ -31162,15 +36002,15 @@ "postfix": false, "binop": null }, - "start": 3044, - "end": 3045, + "start": 4318, + "end": 4319, "loc": { "start": { - "line": 107, + "line": 151, "column": 42 }, "end": { - "line": 107, + "line": 151, "column": 43 } } @@ -31188,15 +36028,15 @@ "binop": null, "updateContext": null }, - "start": 3046, - "end": 3048, + "start": 4320, + "end": 4322, "loc": { "start": { - "line": 107, + "line": 151, "column": 44 }, "end": { - "line": 107, + "line": 151, "column": 46 } } @@ -31213,15 +36053,15 @@ "postfix": false, "binop": null }, - "start": 3049, - "end": 3050, + "start": 4323, + "end": 4324, "loc": { "start": { - "line": 107, + "line": 151, "column": 47 }, "end": { - "line": 107, + "line": 151, "column": 48 } } @@ -31229,15 +36069,15 @@ { "type": "CommentLine", "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", - "start": 3072, - "end": 3174, + "start": 4346, + "end": 4448, "loc": { "start": { - "line": 108, + "line": 152, "column": 20 }, "end": { - "line": 108, + "line": 152, "column": 122 } } @@ -31245,15 +36085,15 @@ { "type": "CommentLine", "value": " We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.", - "start": 3196, - "end": 3361, + "start": 4470, + "end": 4635, "loc": { "start": { - "line": 109, + "line": 153, "column": 20 }, "end": { - "line": 109, + "line": 153, "column": 185 } } @@ -31273,15 +36113,15 @@ "updateContext": null }, "value": "const", - "start": 3383, - "end": 3388, + "start": 4657, + "end": 4662, "loc": { "start": { - "line": 110, + "line": 154, "column": 20 }, "end": { - "line": 110, + "line": 154, "column": 25 } } @@ -31299,15 +36139,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3389, - "end": 3407, + "start": 4663, + "end": 4681, "loc": { "start": { - "line": 110, + "line": 154, "column": 26 }, "end": { - "line": 110, + "line": 154, "column": 44 } } @@ -31326,15 +36166,15 @@ "updateContext": null }, "value": "=", - "start": 3408, - "end": 3409, + "start": 4682, + "end": 4683, "loc": { "start": { - "line": 110, + "line": 154, "column": 45 }, "end": { - "line": 110, + "line": 154, "column": 46 } } @@ -31352,15 +36192,15 @@ "binop": null, "updateContext": null }, - "start": 3410, - "end": 3411, + "start": 4684, + "end": 4685, "loc": { "start": { - "line": 110, + "line": 154, "column": 47 }, "end": { - "line": 110, + "line": 154, "column": 48 } } @@ -31378,15 +36218,15 @@ "binop": null, "updateContext": null }, - "start": 3411, - "end": 3412, + "start": 4685, + "end": 4686, "loc": { "start": { - "line": 110, + "line": 154, "column": 48 }, "end": { - "line": 110, + "line": 154, "column": 49 } } @@ -31404,15 +36244,15 @@ "binop": null, "updateContext": null }, - "start": 3412, - "end": 3413, + "start": 4686, + "end": 4687, "loc": { "start": { - "line": 110, + "line": 154, "column": 49 }, "end": { - "line": 110, + "line": 154, "column": 50 } } @@ -31420,15 +36260,15 @@ { "type": "CommentLine", "value": " iconName", - "start": 3435, - "end": 3446, + "start": 4709, + "end": 4720, "loc": { "start": { - "line": 111, + "line": 155, "column": 20 }, "end": { - "line": 111, + "line": 155, "column": 31 } } @@ -31446,15 +36286,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3468, - "end": 3486, + "start": 4742, + "end": 4760, "loc": { "start": { - "line": 112, + "line": 156, "column": 20 }, "end": { - "line": 112, + "line": 156, "column": 38 } } @@ -31472,15 +36312,15 @@ "binop": null, "updateContext": null }, - "start": 3486, - "end": 3487, + "start": 4760, + "end": 4761, "loc": { "start": { - "line": 112, + "line": 156, "column": 38 }, "end": { - "line": 112, + "line": 156, "column": 39 } } @@ -31499,15 +36339,15 @@ "updateContext": null }, "value": 0, - "start": 3487, - "end": 3488, + "start": 4761, + "end": 4762, "loc": { "start": { - "line": 112, + "line": 156, "column": 39 }, "end": { - "line": 112, + "line": 156, "column": 40 } } @@ -31525,15 +36365,15 @@ "binop": null, "updateContext": null }, - "start": 3488, - "end": 3489, + "start": 4762, + "end": 4763, "loc": { "start": { - "line": 112, + "line": 156, "column": 40 }, "end": { - "line": 112, + "line": 156, "column": 41 } } @@ -31552,15 +36392,15 @@ "updateContext": null }, "value": "=", - "start": 3490, - "end": 3491, + "start": 4764, + "end": 4765, "loc": { "start": { - "line": 112, + "line": 156, "column": 42 }, "end": { - "line": 112, + "line": 156, "column": 43 } } @@ -31578,15 +36418,15 @@ "binop": null }, "value": "pState", - "start": 3492, - "end": 3498, + "start": 4766, + "end": 4772, "loc": { "start": { - "line": 112, + "line": 156, "column": 44 }, "end": { - "line": 112, + "line": 156, "column": 50 } } @@ -31604,15 +36444,15 @@ "binop": null, "updateContext": null }, - "start": 3498, - "end": 3499, + "start": 4772, + "end": 4773, "loc": { "start": { - "line": 112, + "line": 156, "column": 50 }, "end": { - "line": 112, + "line": 156, "column": 51 } } @@ -31631,15 +36471,15 @@ "updateContext": null }, "value": 0, - "start": 3499, - "end": 3500, + "start": 4773, + "end": 4774, "loc": { "start": { - "line": 112, + "line": 156, "column": 51 }, "end": { - "line": 112, + "line": 156, "column": 52 } } @@ -31657,15 +36497,15 @@ "binop": null, "updateContext": null }, - "start": 3500, - "end": 3501, + "start": 4774, + "end": 4775, "loc": { "start": { - "line": 112, + "line": 156, "column": 52 }, "end": { - "line": 112, + "line": 156, "column": 53 } } @@ -31683,15 +36523,15 @@ "binop": null, "updateContext": null }, - "start": 3501, - "end": 3502, + "start": 4775, + "end": 4776, "loc": { "start": { - "line": 112, + "line": 156, "column": 53 }, "end": { - "line": 112, + "line": 156, "column": 54 } } @@ -31699,15 +36539,15 @@ { "type": "CommentLine", "value": " iconWidth", - "start": 3524, - "end": 3536, + "start": 4798, + "end": 4810, "loc": { "start": { - "line": 113, + "line": 157, "column": 20 }, "end": { - "line": 113, + "line": 157, "column": 32 } } @@ -31725,15 +36565,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3558, - "end": 3576, + "start": 4832, + "end": 4850, "loc": { "start": { - "line": 114, + "line": 158, "column": 20 }, "end": { - "line": 114, + "line": 158, "column": 38 } } @@ -31751,15 +36591,15 @@ "binop": null, "updateContext": null }, - "start": 3576, - "end": 3577, + "start": 4850, + "end": 4851, "loc": { "start": { - "line": 114, + "line": 158, "column": 38 }, "end": { - "line": 114, + "line": 158, "column": 39 } } @@ -31778,15 +36618,15 @@ "updateContext": null }, "value": 1, - "start": 3577, - "end": 3578, + "start": 4851, + "end": 4852, "loc": { "start": { - "line": 114, + "line": 158, "column": 39 }, "end": { - "line": 114, + "line": 158, "column": 40 } } @@ -31804,15 +36644,15 @@ "binop": null, "updateContext": null }, - "start": 3578, - "end": 3579, + "start": 4852, + "end": 4853, "loc": { "start": { - "line": 114, + "line": 158, "column": 40 }, "end": { - "line": 114, + "line": 158, "column": 41 } } @@ -31831,15 +36671,15 @@ "updateContext": null }, "value": "=", - "start": 3580, - "end": 3581, + "start": 4854, + "end": 4855, "loc": { "start": { - "line": 114, + "line": 158, "column": 42 }, "end": { - "line": 114, + "line": 158, "column": 43 } } @@ -31857,15 +36697,15 @@ "binop": null }, "value": "iconWidth", - "start": 3582, - "end": 3591, + "start": 4856, + "end": 4865, "loc": { "start": { - "line": 114, + "line": 158, "column": 44 }, "end": { - "line": 114, + "line": 158, "column": 53 } } @@ -31883,15 +36723,15 @@ "binop": null, "updateContext": null }, - "start": 3591, - "end": 3592, + "start": 4865, + "end": 4866, "loc": { "start": { - "line": 114, + "line": 158, "column": 53 }, "end": { - "line": 114, + "line": 158, "column": 54 } } @@ -31899,15 +36739,15 @@ { "type": "CommentLine", "value": " iconHeight", - "start": 3614, - "end": 3627, + "start": 4888, + "end": 4901, "loc": { "start": { - "line": 115, + "line": 159, "column": 20 }, "end": { - "line": 115, + "line": 159, "column": 33 } } @@ -31925,15 +36765,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3649, - "end": 3667, + "start": 4923, + "end": 4941, "loc": { "start": { - "line": 116, + "line": 160, "column": 20 }, "end": { - "line": 116, + "line": 160, "column": 38 } } @@ -31951,15 +36791,15 @@ "binop": null, "updateContext": null }, - "start": 3667, - "end": 3668, + "start": 4941, + "end": 4942, "loc": { "start": { - "line": 116, + "line": 160, "column": 38 }, "end": { - "line": 116, + "line": 160, "column": 39 } } @@ -31978,15 +36818,15 @@ "updateContext": null }, "value": 2, - "start": 3668, - "end": 3669, + "start": 4942, + "end": 4943, "loc": { "start": { - "line": 116, + "line": 160, "column": 39 }, "end": { - "line": 116, + "line": 160, "column": 40 } } @@ -32004,15 +36844,15 @@ "binop": null, "updateContext": null }, - "start": 3669, - "end": 3670, + "start": 4943, + "end": 4944, "loc": { "start": { - "line": 116, + "line": 160, "column": 40 }, "end": { - "line": 116, + "line": 160, "column": 41 } } @@ -32031,15 +36871,15 @@ "updateContext": null }, "value": "=", - "start": 3671, - "end": 3672, + "start": 4945, + "end": 4946, "loc": { "start": { - "line": 116, + "line": 160, "column": 42 }, "end": { - "line": 116, + "line": 160, "column": 43 } } @@ -32057,15 +36897,15 @@ "binop": null }, "value": "iconHeight", - "start": 3673, - "end": 3683, + "start": 4947, + "end": 4957, "loc": { "start": { - "line": 116, + "line": 160, "column": 44 }, "end": { - "line": 116, + "line": 160, "column": 54 } } @@ -32083,15 +36923,15 @@ "binop": null, "updateContext": null }, - "start": 3683, - "end": 3684, + "start": 4957, + "end": 4958, "loc": { "start": { - "line": 116, + "line": 160, "column": 54 }, "end": { - "line": 116, + "line": 160, "column": 55 } } @@ -32099,15 +36939,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3706, - "end": 3720, + "start": 4980, + "end": 4994, "loc": { "start": { - "line": 117, + "line": 161, "column": 20 }, "end": { - "line": 117, + "line": 161, "column": 34 } } @@ -32125,15 +36965,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3742, - "end": 3760, + "start": 5016, + "end": 5034, "loc": { "start": { - "line": 118, + "line": 162, "column": 20 }, "end": { - "line": 118, + "line": 162, "column": 38 } } @@ -32151,15 +36991,15 @@ "binop": null, "updateContext": null }, - "start": 3760, - "end": 3761, + "start": 5034, + "end": 5035, "loc": { "start": { - "line": 118, + "line": 162, "column": 38 }, "end": { - "line": 118, + "line": 162, "column": 39 } } @@ -32178,15 +37018,15 @@ "updateContext": null }, "value": 3, - "start": 3761, - "end": 3762, + "start": 5035, + "end": 5036, "loc": { "start": { - "line": 118, + "line": 162, "column": 39 }, "end": { - "line": 118, + "line": 162, "column": 40 } } @@ -32204,15 +37044,15 @@ "binop": null, "updateContext": null }, - "start": 3762, - "end": 3763, + "start": 5036, + "end": 5037, "loc": { "start": { - "line": 118, + "line": 162, "column": 40 }, "end": { - "line": 118, + "line": 162, "column": 41 } } @@ -32231,15 +37071,15 @@ "updateContext": null }, "value": "=", - "start": 3764, - "end": 3765, + "start": 5038, + "end": 5039, "loc": { "start": { - "line": 118, + "line": 162, "column": 42 }, "end": { - "line": 118, + "line": 162, "column": 43 } } @@ -32257,15 +37097,15 @@ "binop": null }, "value": "pState", - "start": 3766, - "end": 3772, + "start": 5040, + "end": 5046, "loc": { "start": { - "line": 118, + "line": 162, "column": 44 }, "end": { - "line": 118, + "line": 162, "column": 50 } } @@ -32283,15 +37123,15 @@ "binop": null, "updateContext": null }, - "start": 3772, - "end": 3773, + "start": 5046, + "end": 5047, "loc": { "start": { - "line": 118, + "line": 162, "column": 50 }, "end": { - "line": 118, + "line": 162, "column": 51 } } @@ -32310,15 +37150,15 @@ "updateContext": null }, "value": 2, - "start": 3773, - "end": 3774, + "start": 5047, + "end": 5048, "loc": { "start": { - "line": 118, + "line": 162, "column": 51 }, "end": { - "line": 118, + "line": 162, "column": 52 } } @@ -32336,15 +37176,15 @@ "binop": null, "updateContext": null }, - "start": 3774, - "end": 3775, + "start": 5048, + "end": 5049, "loc": { "start": { - "line": 118, + "line": 162, "column": 52 }, "end": { - "line": 118, + "line": 162, "column": 53 } } @@ -32362,15 +37202,15 @@ "binop": null, "updateContext": null }, - "start": 3775, - "end": 3776, + "start": 5049, + "end": 5050, "loc": { "start": { - "line": 118, + "line": 162, "column": 53 }, "end": { - "line": 118, + "line": 162, "column": 54 } } @@ -32378,15 +37218,15 @@ { "type": "CommentLine", "value": " iconDataURL", - "start": 3798, - "end": 3812, + "start": 5072, + "end": 5086, "loc": { "start": { - "line": 119, + "line": 163, "column": 20 }, "end": { - "line": 119, + "line": 163, "column": 34 } } @@ -32404,15 +37244,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3834, - "end": 3852, + "start": 5108, + "end": 5126, "loc": { "start": { - "line": 120, + "line": 164, "column": 20 }, "end": { - "line": 120, + "line": 164, "column": 38 } } @@ -32430,15 +37270,15 @@ "binop": null, "updateContext": null }, - "start": 3852, - "end": 3853, + "start": 5126, + "end": 5127, "loc": { "start": { - "line": 120, + "line": 164, "column": 38 }, "end": { - "line": 120, + "line": 164, "column": 39 } } @@ -32457,15 +37297,15 @@ "updateContext": null }, "value": 4, - "start": 3853, - "end": 3854, + "start": 5127, + "end": 5128, "loc": { "start": { - "line": 120, + "line": 164, "column": 39 }, "end": { - "line": 120, + "line": 164, "column": 40 } } @@ -32483,15 +37323,15 @@ "binop": null, "updateContext": null }, - "start": 3854, - "end": 3855, + "start": 5128, + "end": 5129, "loc": { "start": { - "line": 120, + "line": 164, "column": 40 }, "end": { - "line": 120, + "line": 164, "column": 41 } } @@ -32510,15 +37350,15 @@ "updateContext": null }, "value": "=", - "start": 3856, - "end": 3857, + "start": 5130, + "end": 5131, "loc": { "start": { - "line": 120, + "line": 164, "column": 42 }, "end": { - "line": 120, + "line": 164, "column": 43 } } @@ -32536,15 +37376,15 @@ "binop": null }, "value": "pState", - "start": 3858, - "end": 3864, + "start": 5132, + "end": 5138, "loc": { "start": { - "line": 120, + "line": 164, "column": 44 }, "end": { - "line": 120, + "line": 164, "column": 50 } } @@ -32562,15 +37402,15 @@ "binop": null, "updateContext": null }, - "start": 3864, - "end": 3865, + "start": 5138, + "end": 5139, "loc": { "start": { - "line": 120, + "line": 164, "column": 50 }, "end": { - "line": 120, + "line": 164, "column": 51 } } @@ -32589,15 +37429,15 @@ "updateContext": null }, "value": 1, - "start": 3865, - "end": 3866, + "start": 5139, + "end": 5140, "loc": { "start": { - "line": 120, + "line": 164, "column": 51 }, "end": { - "line": 120, + "line": 164, "column": 52 } } @@ -32615,15 +37455,15 @@ "binop": null, "updateContext": null }, - "start": 3866, - "end": 3867, + "start": 5140, + "end": 5141, "loc": { "start": { - "line": 120, + "line": 164, "column": 52 }, "end": { - "line": 120, + "line": 164, "column": 53 } } @@ -32641,15 +37481,15 @@ "binop": null, "updateContext": null }, - "start": 3867, - "end": 3868, + "start": 5141, + "end": 5142, "loc": { "start": { - "line": 120, + "line": 164, "column": 53 }, "end": { - "line": 120, + "line": 164, "column": 54 } } @@ -32657,15 +37497,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 3890, - "end": 3904, + "start": 5164, + "end": 5178, "loc": { "start": { - "line": 121, + "line": 165, "column": 20 }, "end": { - "line": 121, + "line": 165, "column": 34 } } @@ -32683,15 +37523,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3926, - "end": 3944, + "start": 5200, + "end": 5218, "loc": { "start": { - "line": 122, + "line": 166, "column": 20 }, "end": { - "line": 122, + "line": 166, "column": 38 } } @@ -32709,15 +37549,15 @@ "binop": null, "updateContext": null }, - "start": 3944, - "end": 3945, + "start": 5218, + "end": 5219, "loc": { "start": { - "line": 122, + "line": 166, "column": 38 }, "end": { - "line": 122, + "line": 166, "column": 39 } } @@ -32736,15 +37576,15 @@ "updateContext": null }, "value": 5, - "start": 3945, - "end": 3946, + "start": 5219, + "end": 5220, "loc": { "start": { - "line": 122, + "line": 166, "column": 39 }, "end": { - "line": 122, + "line": 166, "column": 40 } } @@ -32762,15 +37602,15 @@ "binop": null, "updateContext": null }, - "start": 3946, - "end": 3947, + "start": 5220, + "end": 5221, "loc": { "start": { - "line": 122, + "line": 166, "column": 40 }, "end": { - "line": 122, + "line": 166, "column": 41 } } @@ -32789,15 +37629,15 @@ "updateContext": null }, "value": "=", - "start": 3948, - "end": 3949, + "start": 5222, + "end": 5223, "loc": { "start": { - "line": 122, + "line": 166, "column": 42 }, "end": { - "line": 122, + "line": 166, "column": 43 } } @@ -32815,15 +37655,15 @@ "binop": null }, "value": "pState", - "start": 3950, - "end": 3956, + "start": 5224, + "end": 5230, "loc": { "start": { - "line": 122, + "line": 166, "column": 44 }, "end": { - "line": 122, + "line": 166, "column": 50 } } @@ -32841,15 +37681,15 @@ "binop": null, "updateContext": null }, - "start": 3956, - "end": 3957, + "start": 5230, + "end": 5231, "loc": { "start": { - "line": 122, + "line": 166, "column": 50 }, "end": { - "line": 122, + "line": 166, "column": 51 } } @@ -32868,15 +37708,15 @@ "updateContext": null }, "value": 3, - "start": 3957, - "end": 3958, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 122, + "line": 166, "column": 51 }, "end": { - "line": 122, + "line": 166, "column": 52 } } @@ -32894,15 +37734,15 @@ "binop": null, "updateContext": null }, - "start": 3958, - "end": 3959, + "start": 5232, + "end": 5233, "loc": { "start": { - "line": 122, + "line": 166, "column": 52 }, "end": { - "line": 122, + "line": 166, "column": 53 } } @@ -32920,15 +37760,15 @@ "binop": null, "updateContext": null }, - "start": 3959, - "end": 3960, + "start": 5233, + "end": 5234, "loc": { "start": { - "line": 122, + "line": 166, "column": 53 }, "end": { - "line": 122, + "line": 166, "column": 54 } } @@ -32948,15 +37788,15 @@ "updateContext": null }, "value": "this", - "start": 3982, - "end": 3986, + "start": 5256, + "end": 5260, "loc": { "start": { - "line": 123, + "line": 167, "column": 20 }, "end": { - "line": 123, + "line": 167, "column": 24 } } @@ -32974,15 +37814,15 @@ "binop": null, "updateContext": null }, - "start": 3986, - "end": 3987, + "start": 5260, + "end": 5261, "loc": { "start": { - "line": 123, + "line": 167, "column": 24 }, "end": { - "line": 123, + "line": 167, "column": 25 } } @@ -33000,15 +37840,15 @@ "binop": null }, "value": "addState", - "start": 3987, - "end": 3995, + "start": 5261, + "end": 5269, "loc": { "start": { - "line": 123, + "line": 167, "column": 25 }, "end": { - "line": 123, + "line": 167, "column": 33 } } @@ -33025,15 +37865,15 @@ "postfix": false, "binop": null }, - "start": 3995, - "end": 3996, + "start": 5269, + "end": 5270, "loc": { "start": { - "line": 123, + "line": 167, "column": 33 }, "end": { - "line": 123, + "line": 167, "column": 34 } } @@ -33051,15 +37891,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3996, - "end": 4014, + "start": 5270, + "end": 5288, "loc": { "start": { - "line": 123, + "line": 167, "column": 34 }, "end": { - "line": 123, + "line": 167, "column": 52 } } @@ -33076,15 +37916,15 @@ "postfix": false, "binop": null }, - "start": 4014, - "end": 4015, + "start": 5288, + "end": 5289, "loc": { "start": { - "line": 123, + "line": 167, "column": 52 }, "end": { - "line": 123, + "line": 167, "column": 53 } } @@ -33102,15 +37942,15 @@ "binop": null, "updateContext": null }, - "start": 4015, - "end": 4016, + "start": 5289, + "end": 5290, "loc": { "start": { - "line": 123, + "line": 167, "column": 53 }, "end": { - "line": 123, + "line": 167, "column": 54 } } @@ -33127,15 +37967,15 @@ "postfix": false, "binop": null }, - "start": 4034, - "end": 4035, + "start": 5308, + "end": 5309, "loc": { "start": { - "line": 124, + "line": 168, "column": 16 }, "end": { - "line": 124, + "line": 168, "column": 17 } } @@ -33152,15 +37992,15 @@ "postfix": false, "binop": null }, - "start": 4035, - "end": 4036, + "start": 5309, + "end": 5310, "loc": { "start": { - "line": 124, + "line": 168, "column": 17 }, "end": { - "line": 124, + "line": 168, "column": 18 } } @@ -33178,15 +38018,15 @@ "binop": null, "updateContext": null }, - "start": 4036, - "end": 4037, + "start": 5310, + "end": 5311, "loc": { "start": { - "line": 124, + "line": 168, "column": 18 }, "end": { - "line": 124, + "line": 168, "column": 19 } } @@ -33203,15 +38043,15 @@ "postfix": false, "binop": null }, - "start": 4051, - "end": 4052, + "start": 5325, + "end": 5326, "loc": { "start": { - "line": 125, + "line": 169, "column": 12 }, "end": { - "line": 125, + "line": 169, "column": 13 } } @@ -33228,15 +38068,15 @@ "postfix": false, "binop": null }, - "start": 4062, - "end": 4063, + "start": 5336, + "end": 5337, "loc": { "start": { - "line": 126, + "line": 170, "column": 8 }, "end": { - "line": 126, + "line": 170, "column": 9 } } @@ -33253,15 +38093,15 @@ "postfix": false, "binop": null }, - "start": 4069, - "end": 4070, + "start": 5343, + "end": 5344, "loc": { "start": { - "line": 127, + "line": 171, "column": 4 }, "end": { - "line": 127, + "line": 171, "column": 5 } } @@ -33269,15 +38109,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4076, - "end": 4284, + "start": 5350, + "end": 5558, "loc": { "start": { - "line": 128, + "line": 172, "column": 4 }, "end": { - "line": 133, + "line": 177, "column": 7 } } @@ -33295,15 +38135,15 @@ "binop": null }, "value": "setSize", - "start": 4290, - "end": 4297, + "start": 5564, + "end": 5571, "loc": { "start": { - "line": 134, + "line": 178, "column": 4 }, "end": { - "line": 134, + "line": 178, "column": 11 } } @@ -33320,15 +38160,15 @@ "postfix": false, "binop": null }, - "start": 4297, - "end": 4298, + "start": 5571, + "end": 5572, "loc": { "start": { - "line": 134, + "line": 178, "column": 11 }, "end": { - "line": 134, + "line": 178, "column": 12 } } @@ -33346,15 +38186,15 @@ "binop": null }, "value": "pWidth", - "start": 4298, - "end": 4304, + "start": 5572, + "end": 5578, "loc": { "start": { - "line": 134, + "line": 178, "column": 12 }, "end": { - "line": 134, + "line": 178, "column": 18 } } @@ -33372,15 +38212,15 @@ "binop": null, "updateContext": null }, - "start": 4304, - "end": 4305, + "start": 5578, + "end": 5579, "loc": { "start": { - "line": 134, + "line": 178, "column": 18 }, "end": { - "line": 134, + "line": 178, "column": 19 } } @@ -33398,15 +38238,15 @@ "binop": null }, "value": "pHeight", - "start": 4306, - "end": 4313, + "start": 5580, + "end": 5587, "loc": { "start": { - "line": 134, + "line": 178, "column": 20 }, "end": { - "line": 134, + "line": 178, "column": 27 } } @@ -33423,15 +38263,15 @@ "postfix": false, "binop": null }, - "start": 4313, - "end": 4314, + "start": 5587, + "end": 5588, "loc": { "start": { - "line": 134, + "line": 178, "column": 27 }, "end": { - "line": 134, + "line": 178, "column": 28 } } @@ -33448,15 +38288,15 @@ "postfix": false, "binop": null }, - "start": 4315, - "end": 4316, + "start": 5589, + "end": 5590, "loc": { "start": { - "line": 134, + "line": 178, "column": 29 }, "end": { - "line": 134, + "line": 178, "column": 30 } } @@ -33476,15 +38316,15 @@ "updateContext": null }, "value": "if", - "start": 4326, - "end": 4328, + "start": 5600, + "end": 5602, "loc": { "start": { - "line": 135, + "line": 179, "column": 8 }, "end": { - "line": 135, + "line": 179, "column": 10 } } @@ -33501,15 +38341,15 @@ "postfix": false, "binop": null }, - "start": 4329, - "end": 4330, + "start": 5603, + "end": 5604, "loc": { "start": { - "line": 135, + "line": 179, "column": 11 }, "end": { - "line": 135, + "line": 179, "column": 12 } } @@ -33529,15 +38369,15 @@ "updateContext": null }, "value": "typeof", - "start": 4330, - "end": 4336, + "start": 5604, + "end": 5610, "loc": { "start": { - "line": 135, + "line": 179, "column": 12 }, "end": { - "line": 135, + "line": 179, "column": 18 } } @@ -33554,15 +38394,15 @@ "postfix": false, "binop": null }, - "start": 4336, - "end": 4337, + "start": 5610, + "end": 5611, "loc": { "start": { - "line": 135, + "line": 179, "column": 18 }, "end": { - "line": 135, + "line": 179, "column": 19 } } @@ -33580,15 +38420,15 @@ "binop": null }, "value": "pWidth", - "start": 4337, - "end": 4343, + "start": 5611, + "end": 5617, "loc": { "start": { - "line": 135, + "line": 179, "column": 19 }, "end": { - "line": 135, + "line": 179, "column": 25 } } @@ -33605,15 +38445,15 @@ "postfix": false, "binop": null }, - "start": 4343, - "end": 4344, + "start": 5617, + "end": 5618, "loc": { "start": { - "line": 135, + "line": 179, "column": 25 }, "end": { - "line": 135, + "line": 179, "column": 26 } } @@ -33632,15 +38472,15 @@ "updateContext": null }, "value": "===", - "start": 4345, - "end": 4348, + "start": 5619, + "end": 5622, "loc": { "start": { - "line": 135, + "line": 179, "column": 27 }, "end": { - "line": 135, + "line": 179, "column": 30 } } @@ -33659,15 +38499,15 @@ "updateContext": null }, "value": "number", - "start": 4349, - "end": 4357, + "start": 5623, + "end": 5631, "loc": { "start": { - "line": 135, + "line": 179, "column": 31 }, "end": { - "line": 135, + "line": 179, "column": 39 } } @@ -33684,15 +38524,15 @@ "postfix": false, "binop": null }, - "start": 4357, - "end": 4358, + "start": 5631, + "end": 5632, "loc": { "start": { - "line": 135, + "line": 179, "column": 39 }, "end": { - "line": 135, + "line": 179, "column": 40 } } @@ -33709,15 +38549,15 @@ "postfix": false, "binop": null }, - "start": 4359, - "end": 4360, + "start": 5633, + "end": 5634, "loc": { "start": { - "line": 135, + "line": 179, "column": 41 }, "end": { - "line": 135, + "line": 179, "column": 42 } } @@ -33737,15 +38577,15 @@ "updateContext": null }, "value": "this", - "start": 4374, - "end": 4378, + "start": 5648, + "end": 5652, "loc": { "start": { - "line": 136, + "line": 180, "column": 12 }, "end": { - "line": 136, + "line": 180, "column": 16 } } @@ -33763,15 +38603,15 @@ "binop": null, "updateContext": null }, - "start": 4378, - "end": 4379, + "start": 5652, + "end": 5653, "loc": { "start": { - "line": 136, + "line": 180, "column": 16 }, "end": { - "line": 136, + "line": 180, "column": 17 } } @@ -33789,15 +38629,15 @@ "binop": null }, "value": "width", - "start": 4379, - "end": 4384, + "start": 5653, + "end": 5658, "loc": { "start": { - "line": 136, + "line": 180, "column": 17 }, "end": { - "line": 136, + "line": 180, "column": 22 } } @@ -33816,15 +38656,15 @@ "updateContext": null }, "value": "=", - "start": 4385, - "end": 4386, + "start": 5659, + "end": 5660, "loc": { "start": { - "line": 136, + "line": 180, "column": 23 }, "end": { - "line": 136, + "line": 180, "column": 24 } } @@ -33842,15 +38682,15 @@ "binop": null }, "value": "pWidth", - "start": 4387, - "end": 4393, + "start": 5661, + "end": 5667, "loc": { "start": { - "line": 136, + "line": 180, "column": 25 }, "end": { - "line": 136, + "line": 180, "column": 31 } } @@ -33868,15 +38708,15 @@ "binop": null, "updateContext": null }, - "start": 4393, - "end": 4394, + "start": 5667, + "end": 5668, "loc": { "start": { - "line": 136, + "line": 180, "column": 31 }, "end": { - "line": 136, + "line": 180, "column": 32 } } @@ -33893,15 +38733,15 @@ "postfix": false, "binop": null }, - "start": 4404, - "end": 4405, + "start": 5678, + "end": 5679, "loc": { "start": { - "line": 137, + "line": 181, "column": 8 }, "end": { - "line": 137, + "line": 181, "column": 9 } } @@ -33921,15 +38761,15 @@ "updateContext": null }, "value": "if", - "start": 4415, - "end": 4417, + "start": 5689, + "end": 5691, "loc": { "start": { - "line": 138, + "line": 182, "column": 8 }, "end": { - "line": 138, + "line": 182, "column": 10 } } @@ -33946,15 +38786,15 @@ "postfix": false, "binop": null }, - "start": 4418, - "end": 4419, + "start": 5692, + "end": 5693, "loc": { "start": { - "line": 138, + "line": 182, "column": 11 }, "end": { - "line": 138, + "line": 182, "column": 12 } } @@ -33974,15 +38814,15 @@ "updateContext": null }, "value": "typeof", - "start": 4419, - "end": 4425, + "start": 5693, + "end": 5699, "loc": { "start": { - "line": 138, + "line": 182, "column": 12 }, "end": { - "line": 138, + "line": 182, "column": 18 } } @@ -33999,15 +38839,15 @@ "postfix": false, "binop": null }, - "start": 4425, - "end": 4426, + "start": 5699, + "end": 5700, "loc": { "start": { - "line": 138, + "line": 182, "column": 18 }, "end": { - "line": 138, + "line": 182, "column": 19 } } @@ -34025,15 +38865,15 @@ "binop": null }, "value": "pHeight", - "start": 4426, - "end": 4433, + "start": 5700, + "end": 5707, "loc": { "start": { - "line": 138, + "line": 182, "column": 19 }, "end": { - "line": 138, + "line": 182, "column": 26 } } @@ -34050,15 +38890,15 @@ "postfix": false, "binop": null }, - "start": 4433, - "end": 4434, + "start": 5707, + "end": 5708, "loc": { "start": { - "line": 138, + "line": 182, "column": 26 }, "end": { - "line": 138, + "line": 182, "column": 27 } } @@ -34077,15 +38917,15 @@ "updateContext": null }, "value": "===", - "start": 4435, - "end": 4438, + "start": 5709, + "end": 5712, "loc": { "start": { - "line": 138, + "line": 182, "column": 28 }, "end": { - "line": 138, + "line": 182, "column": 31 } } @@ -34104,15 +38944,15 @@ "updateContext": null }, "value": "number", - "start": 4439, - "end": 4447, + "start": 5713, + "end": 5721, "loc": { "start": { - "line": 138, + "line": 182, "column": 32 }, "end": { - "line": 138, + "line": 182, "column": 40 } } @@ -34129,15 +38969,15 @@ "postfix": false, "binop": null }, - "start": 4447, - "end": 4448, + "start": 5721, + "end": 5722, "loc": { "start": { - "line": 138, + "line": 182, "column": 40 }, "end": { - "line": 138, + "line": 182, "column": 41 } } @@ -34154,15 +38994,15 @@ "postfix": false, "binop": null }, - "start": 4449, - "end": 4450, + "start": 5723, + "end": 5724, "loc": { "start": { - "line": 138, + "line": 182, "column": 42 }, "end": { - "line": 138, + "line": 182, "column": 43 } } @@ -34182,15 +39022,15 @@ "updateContext": null }, "value": "this", - "start": 4464, - "end": 4468, + "start": 5738, + "end": 5742, "loc": { "start": { - "line": 139, + "line": 183, "column": 12 }, "end": { - "line": 139, + "line": 183, "column": 16 } } @@ -34208,15 +39048,15 @@ "binop": null, "updateContext": null }, - "start": 4468, - "end": 4469, + "start": 5742, + "end": 5743, "loc": { "start": { - "line": 139, + "line": 183, "column": 16 }, "end": { - "line": 139, + "line": 183, "column": 17 } } @@ -34234,15 +39074,15 @@ "binop": null }, "value": "height", - "start": 4469, - "end": 4475, + "start": 5743, + "end": 5749, "loc": { "start": { - "line": 139, + "line": 183, "column": 17 }, "end": { - "line": 139, + "line": 183, "column": 23 } } @@ -34261,15 +39101,15 @@ "updateContext": null }, "value": "=", - "start": 4476, - "end": 4477, + "start": 5750, + "end": 5751, "loc": { "start": { - "line": 139, + "line": 183, "column": 24 }, "end": { - "line": 139, + "line": 183, "column": 25 } } @@ -34287,15 +39127,15 @@ "binop": null }, "value": "pHeight", - "start": 4478, - "end": 4485, + "start": 5752, + "end": 5759, "loc": { "start": { - "line": 139, + "line": 183, "column": 26 }, "end": { - "line": 139, + "line": 183, "column": 33 } } @@ -34313,15 +39153,15 @@ "binop": null, "updateContext": null }, - "start": 4485, - "end": 4486, + "start": 5759, + "end": 5760, "loc": { "start": { - "line": 139, + "line": 183, "column": 33 }, "end": { - "line": 139, + "line": 183, "column": 34 } } @@ -34338,15 +39178,15 @@ "postfix": false, "binop": null }, - "start": 4496, - "end": 4497, + "start": 5770, + "end": 5771, "loc": { "start": { - "line": 140, + "line": 184, "column": 8 }, "end": { - "line": 140, + "line": 184, "column": 9 } } @@ -34363,15 +39203,15 @@ "postfix": false, "binop": null }, - "start": 4503, - "end": 4504, + "start": 5777, + "end": 5778, "loc": { "start": { - "line": 141, + "line": 185, "column": 4 }, "end": { - "line": 141, + "line": 185, "column": 5 } } @@ -34379,15 +39219,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 4510, - "end": 4661, + "start": 5784, + "end": 5935, "loc": { "start": { - "line": 142, + "line": 186, "column": 4 }, "end": { - "line": 145, + "line": 189, "column": 7 } } @@ -34405,15 +39245,15 @@ "binop": null }, "value": "getSize", - "start": 4667, - "end": 4674, + "start": 5941, + "end": 5948, "loc": { "start": { - "line": 146, + "line": 190, "column": 4 }, "end": { - "line": 146, + "line": 190, "column": 11 } } @@ -34430,15 +39270,15 @@ "postfix": false, "binop": null }, - "start": 4674, - "end": 4675, + "start": 5948, + "end": 5949, "loc": { "start": { - "line": 146, + "line": 190, "column": 11 }, "end": { - "line": 146, + "line": 190, "column": 12 } } @@ -34455,15 +39295,15 @@ "postfix": false, "binop": null }, - "start": 4675, - "end": 4676, + "start": 5949, + "end": 5950, "loc": { "start": { - "line": 146, + "line": 190, "column": 12 }, "end": { - "line": 146, + "line": 190, "column": 13 } } @@ -34480,15 +39320,15 @@ "postfix": false, "binop": null }, - "start": 4677, - "end": 4678, + "start": 5951, + "end": 5952, "loc": { "start": { - "line": 146, + "line": 190, "column": 14 }, "end": { - "line": 146, + "line": 190, "column": 15 } } @@ -34508,15 +39348,15 @@ "updateContext": null }, "value": "return", - "start": 4688, - "end": 4694, + "start": 5962, + "end": 5968, "loc": { "start": { - "line": 147, + "line": 191, "column": 8 }, "end": { - "line": 147, + "line": 191, "column": 14 } } @@ -34533,15 +39373,15 @@ "postfix": false, "binop": null }, - "start": 4695, - "end": 4696, + "start": 5969, + "end": 5970, "loc": { "start": { - "line": 147, + "line": 191, "column": 15 }, "end": { - "line": 147, + "line": 191, "column": 16 } } @@ -34559,15 +39399,15 @@ "binop": null }, "value": "width", - "start": 4697, - "end": 4702, + "start": 5971, + "end": 5976, "loc": { "start": { - "line": 147, + "line": 191, "column": 17 }, "end": { - "line": 147, + "line": 191, "column": 22 } } @@ -34585,15 +39425,15 @@ "binop": null, "updateContext": null }, - "start": 4702, - "end": 4703, + "start": 5976, + "end": 5977, "loc": { "start": { - "line": 147, + "line": 191, "column": 22 }, "end": { - "line": 147, + "line": 191, "column": 23 } } @@ -34613,15 +39453,15 @@ "updateContext": null }, "value": "this", - "start": 4704, - "end": 4708, + "start": 5978, + "end": 5982, "loc": { "start": { - "line": 147, + "line": 191, "column": 24 }, "end": { - "line": 147, + "line": 191, "column": 28 } } @@ -34639,15 +39479,15 @@ "binop": null, "updateContext": null }, - "start": 4708, - "end": 4709, + "start": 5982, + "end": 5983, "loc": { "start": { - "line": 147, + "line": 191, "column": 28 }, "end": { - "line": 147, + "line": 191, "column": 29 } } @@ -34665,15 +39505,15 @@ "binop": null }, "value": "width", - "start": 4709, - "end": 4714, + "start": 5983, + "end": 5988, "loc": { "start": { - "line": 147, + "line": 191, "column": 29 }, "end": { - "line": 147, + "line": 191, "column": 34 } } @@ -34691,15 +39531,15 @@ "binop": null, "updateContext": null }, - "start": 4714, - "end": 4715, + "start": 5988, + "end": 5989, "loc": { "start": { - "line": 147, + "line": 191, "column": 34 }, "end": { - "line": 147, + "line": 191, "column": 35 } } @@ -34717,15 +39557,15 @@ "binop": null }, "value": "height", - "start": 4716, - "end": 4722, + "start": 5990, + "end": 5996, "loc": { "start": { - "line": 147, + "line": 191, "column": 36 }, "end": { - "line": 147, + "line": 191, "column": 42 } } @@ -34743,15 +39583,15 @@ "binop": null, "updateContext": null }, - "start": 4722, - "end": 4723, + "start": 5996, + "end": 5997, "loc": { "start": { - "line": 147, + "line": 191, "column": 42 }, "end": { - "line": 147, + "line": 191, "column": 43 } } @@ -34771,15 +39611,15 @@ "updateContext": null }, "value": "this", - "start": 4724, - "end": 4728, + "start": 5998, + "end": 6002, "loc": { "start": { - "line": 147, + "line": 191, "column": 44 }, "end": { - "line": 147, + "line": 191, "column": 48 } } @@ -34797,15 +39637,15 @@ "binop": null, "updateContext": null }, - "start": 4728, - "end": 4729, + "start": 6002, + "end": 6003, "loc": { "start": { - "line": 147, + "line": 191, "column": 48 }, "end": { - "line": 147, + "line": 191, "column": 49 } } @@ -34823,15 +39663,15 @@ "binop": null }, "value": "height", - "start": 4729, - "end": 4735, + "start": 6003, + "end": 6009, "loc": { "start": { - "line": 147, + "line": 191, "column": 49 }, "end": { - "line": 147, + "line": 191, "column": 55 } } @@ -34848,15 +39688,15 @@ "postfix": false, "binop": null }, - "start": 4736, - "end": 4737, + "start": 6010, + "end": 6011, "loc": { "start": { - "line": 147, + "line": 191, "column": 56 }, "end": { - "line": 147, + "line": 191, "column": 57 } } @@ -34874,15 +39714,15 @@ "binop": null, "updateContext": null }, - "start": 4737, - "end": 4738, + "start": 6011, + "end": 6012, "loc": { "start": { - "line": 147, + "line": 191, "column": 57 }, "end": { - "line": 147, + "line": 191, "column": 58 } } @@ -34899,15 +39739,15 @@ "postfix": false, "binop": null }, - "start": 4744, - "end": 4745, + "start": 6018, + "end": 6019, "loc": { "start": { - "line": 148, + "line": 192, "column": 4 }, "end": { - "line": 148, + "line": 192, "column": 5 } } @@ -34915,15 +39755,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 4751, - "end": 4914, + "start": 6025, + "end": 6188, "loc": { "start": { - "line": 149, + "line": 193, "column": 4 }, "end": { - "line": 153, + "line": 197, "column": 7 } } @@ -34941,15 +39781,15 @@ "binop": null }, "value": "setDataURL", - "start": 4920, - "end": 4930, + "start": 6194, + "end": 6204, "loc": { "start": { - "line": 154, + "line": 198, "column": 4 }, "end": { - "line": 154, + "line": 198, "column": 14 } } @@ -34966,15 +39806,15 @@ "postfix": false, "binop": null }, - "start": 4930, - "end": 4931, + "start": 6204, + "end": 6205, "loc": { "start": { - "line": 154, + "line": 198, "column": 14 }, "end": { - "line": 154, + "line": 198, "column": 15 } } @@ -34992,15 +39832,15 @@ "binop": null }, "value": "pDataURL", - "start": 4931, - "end": 4939, + "start": 6205, + "end": 6213, "loc": { "start": { - "line": 154, + "line": 198, "column": 15 }, "end": { - "line": 154, + "line": 198, "column": 23 } } @@ -35017,15 +39857,15 @@ "postfix": false, "binop": null }, - "start": 4939, - "end": 4940, + "start": 6213, + "end": 6214, "loc": { "start": { - "line": 154, + "line": 198, "column": 23 }, "end": { - "line": 154, + "line": 198, "column": 24 } } @@ -35042,15 +39882,15 @@ "postfix": false, "binop": null }, - "start": 4941, - "end": 4942, + "start": 6215, + "end": 6216, "loc": { "start": { - "line": 154, + "line": 198, "column": 25 }, "end": { - "line": 154, + "line": 198, "column": 26 } } @@ -35070,15 +39910,15 @@ "updateContext": null }, "value": "if", - "start": 4952, - "end": 4954, + "start": 6226, + "end": 6228, "loc": { "start": { - "line": 155, + "line": 199, "column": 8 }, "end": { - "line": 155, + "line": 199, "column": 10 } } @@ -35095,15 +39935,15 @@ "postfix": false, "binop": null }, - "start": 4955, - "end": 4956, + "start": 6229, + "end": 6230, "loc": { "start": { - "line": 155, + "line": 199, "column": 11 }, "end": { - "line": 155, + "line": 199, "column": 12 } } @@ -35121,15 +39961,15 @@ "binop": null }, "value": "pDataURL", - "start": 4956, - "end": 4964, + "start": 6230, + "end": 6238, "loc": { "start": { - "line": 155, + "line": 199, "column": 12 }, "end": { - "line": 155, + "line": 199, "column": 20 } } @@ -35146,15 +39986,15 @@ "postfix": false, "binop": null }, - "start": 4964, - "end": 4965, + "start": 6238, + "end": 6239, "loc": { "start": { - "line": 155, + "line": 199, "column": 20 }, "end": { - "line": 155, + "line": 199, "column": 21 } } @@ -35171,15 +40011,15 @@ "postfix": false, "binop": null }, - "start": 4966, - "end": 4967, + "start": 6240, + "end": 6241, "loc": { "start": { - "line": 155, + "line": 199, "column": 22 }, "end": { - "line": 155, + "line": 199, "column": 23 } } @@ -35199,15 +40039,15 @@ "updateContext": null }, "value": "if", - "start": 4981, - "end": 4983, + "start": 6255, + "end": 6257, "loc": { "start": { - "line": 156, + "line": 200, "column": 12 }, "end": { - "line": 156, + "line": 200, "column": 14 } } @@ -35224,15 +40064,15 @@ "postfix": false, "binop": null }, - "start": 4984, - "end": 4985, + "start": 6258, + "end": 6259, "loc": { "start": { - "line": 156, + "line": 200, "column": 15 }, "end": { - "line": 156, + "line": 200, "column": 16 } } @@ -35252,15 +40092,15 @@ "updateContext": null }, "value": "typeof", - "start": 4985, - "end": 4991, + "start": 6259, + "end": 6265, "loc": { "start": { - "line": 156, + "line": 200, "column": 16 }, "end": { - "line": 156, + "line": 200, "column": 22 } } @@ -35277,15 +40117,15 @@ "postfix": false, "binop": null }, - "start": 4991, - "end": 4992, + "start": 6265, + "end": 6266, "loc": { "start": { - "line": 156, + "line": 200, "column": 22 }, "end": { - "line": 156, + "line": 200, "column": 23 } } @@ -35303,15 +40143,15 @@ "binop": null }, "value": "pDataURL", - "start": 4992, - "end": 5000, + "start": 6266, + "end": 6274, "loc": { "start": { - "line": 156, + "line": 200, "column": 23 }, "end": { - "line": 156, + "line": 200, "column": 31 } } @@ -35328,15 +40168,15 @@ "postfix": false, "binop": null }, - "start": 5000, - "end": 5001, + "start": 6274, + "end": 6275, "loc": { "start": { - "line": 156, + "line": 200, "column": 31 }, "end": { - "line": 156, + "line": 200, "column": 32 } } @@ -35355,15 +40195,15 @@ "updateContext": null }, "value": "===", - "start": 5002, - "end": 5005, + "start": 6276, + "end": 6279, "loc": { "start": { - "line": 156, + "line": 200, "column": 33 }, "end": { - "line": 156, + "line": 200, "column": 36 } } @@ -35382,15 +40222,15 @@ "updateContext": null }, "value": "string", - "start": 5006, - "end": 5014, + "start": 6280, + "end": 6288, "loc": { "start": { - "line": 156, + "line": 200, "column": 37 }, "end": { - "line": 156, + "line": 200, "column": 45 } } @@ -35407,15 +40247,15 @@ "postfix": false, "binop": null }, - "start": 5014, - "end": 5015, + "start": 6288, + "end": 6289, "loc": { "start": { - "line": 156, + "line": 200, "column": 45 }, "end": { - "line": 156, + "line": 200, "column": 46 } } @@ -35432,15 +40272,15 @@ "postfix": false, "binop": null }, - "start": 5016, - "end": 5017, + "start": 6290, + "end": 6291, "loc": { "start": { - "line": 156, + "line": 200, "column": 47 }, "end": { - "line": 156, + "line": 200, "column": 48 } } @@ -35460,15 +40300,15 @@ "updateContext": null }, "value": "this", - "start": 5035, - "end": 5039, + "start": 6309, + "end": 6313, "loc": { "start": { - "line": 157, + "line": 201, "column": 16 }, "end": { - "line": 157, + "line": 201, "column": 20 } } @@ -35486,15 +40326,15 @@ "binop": null, "updateContext": null }, - "start": 5039, - "end": 5040, + "start": 6313, + "end": 6314, "loc": { "start": { - "line": 157, + "line": 201, "column": 20 }, "end": { - "line": 157, + "line": 201, "column": 21 } } @@ -35512,15 +40352,15 @@ "binop": null }, "value": "dataURL", - "start": 5040, - "end": 5047, + "start": 6314, + "end": 6321, "loc": { "start": { - "line": 157, + "line": 201, "column": 21 }, "end": { - "line": 157, + "line": 201, "column": 28 } } @@ -35539,15 +40379,15 @@ "updateContext": null }, "value": "=", - "start": 5048, - "end": 5049, + "start": 6322, + "end": 6323, "loc": { "start": { - "line": 157, + "line": 201, "column": 29 }, "end": { - "line": 157, + "line": 201, "column": 30 } } @@ -35565,15 +40405,15 @@ "binop": null }, "value": "pDataURL", - "start": 5050, - "end": 5058, + "start": 6324, + "end": 6332, "loc": { "start": { - "line": 157, + "line": 201, "column": 31 }, "end": { - "line": 157, + "line": 201, "column": 39 } } @@ -35591,15 +40431,15 @@ "binop": null, "updateContext": null }, - "start": 5058, - "end": 5059, + "start": 6332, + "end": 6333, "loc": { "start": { - "line": 157, + "line": 201, "column": 39 }, "end": { - "line": 157, + "line": 201, "column": 40 } } @@ -35616,15 +40456,15 @@ "postfix": false, "binop": null }, - "start": 5073, - "end": 5074, + "start": 6347, + "end": 6348, "loc": { "start": { - "line": 158, + "line": 202, "column": 12 }, "end": { - "line": 158, + "line": 202, "column": 13 } } @@ -35644,15 +40484,15 @@ "updateContext": null }, "value": "else", - "start": 5075, - "end": 5079, + "start": 6349, + "end": 6353, "loc": { "start": { - "line": 158, + "line": 202, "column": 14 }, "end": { - "line": 158, + "line": 202, "column": 18 } } @@ -35669,15 +40509,15 @@ "postfix": false, "binop": null }, - "start": 5080, - "end": 5081, + "start": 6354, + "end": 6355, "loc": { "start": { - "line": 158, + "line": 202, "column": 19 }, "end": { - "line": 158, + "line": 202, "column": 20 } } @@ -35695,15 +40535,15 @@ "binop": null }, "value": "VYI", - "start": 5099, - "end": 5102, + "start": 6373, + "end": 6376, "loc": { "start": { - "line": 159, + "line": 203, "column": 16 }, "end": { - "line": 159, + "line": 203, "column": 19 } } @@ -35721,15 +40561,15 @@ "binop": null, "updateContext": null }, - "start": 5102, - "end": 5103, + "start": 6376, + "end": 6377, "loc": { "start": { - "line": 159, + "line": 203, "column": 19 }, "end": { - "line": 159, + "line": 203, "column": 20 } } @@ -35747,15 +40587,15 @@ "binop": null }, "value": "logger", - "start": 5103, - "end": 5109, + "start": 6377, + "end": 6383, "loc": { "start": { - "line": 159, + "line": 203, "column": 20 }, "end": { - "line": 159, + "line": 203, "column": 26 } } @@ -35773,15 +40613,15 @@ "binop": null, "updateContext": null }, - "start": 5109, - "end": 5110, + "start": 6383, + "end": 6384, "loc": { "start": { - "line": 159, + "line": 203, "column": 26 }, "end": { - "line": 159, + "line": 203, "column": 27 } } @@ -35799,15 +40639,15 @@ "binop": null }, "value": "prefix", - "start": 5110, - "end": 5116, + "start": 6384, + "end": 6390, "loc": { "start": { - "line": 159, + "line": 203, "column": 27 }, "end": { - "line": 159, + "line": 203, "column": 33 } } @@ -35824,15 +40664,15 @@ "postfix": false, "binop": null }, - "start": 5116, - "end": 5117, + "start": 6390, + "end": 6391, "loc": { "start": { - "line": 159, + "line": 203, "column": 33 }, "end": { - "line": 159, + "line": 203, "column": 34 } } @@ -35851,15 +40691,15 @@ "updateContext": null }, "value": "VYI-module", - "start": 5117, - "end": 5129, + "start": 6391, + "end": 6403, "loc": { "start": { - "line": 159, + "line": 203, "column": 34 }, "end": { - "line": 159, + "line": 203, "column": 46 } } @@ -35876,15 +40716,15 @@ "postfix": false, "binop": null }, - "start": 5129, - "end": 5130, + "start": 6403, + "end": 6404, "loc": { "start": { - "line": 159, + "line": 203, "column": 46 }, "end": { - "line": 159, + "line": 203, "column": 47 } } @@ -35902,15 +40742,15 @@ "binop": null, "updateContext": null }, - "start": 5130, - "end": 5131, + "start": 6404, + "end": 6405, "loc": { "start": { - "line": 159, + "line": 203, "column": 47 }, "end": { - "line": 159, + "line": 203, "column": 48 } } @@ -35928,15 +40768,15 @@ "binop": null }, "value": "error", - "start": 5131, - "end": 5136, + "start": 6405, + "end": 6410, "loc": { "start": { - "line": 159, + "line": 203, "column": 48 }, "end": { - "line": 159, + "line": 203, "column": 53 } } @@ -35953,15 +40793,15 @@ "postfix": false, "binop": null }, - "start": 5136, - "end": 5137, + "start": 6410, + "end": 6411, "loc": { "start": { - "line": 159, + "line": 203, "column": 53 }, "end": { - "line": 159, + "line": 203, "column": 54 } } @@ -35980,15 +40820,15 @@ "updateContext": null }, "value": "Invalid data url type!", - "start": 5137, - "end": 5161, + "start": 6411, + "end": 6435, "loc": { "start": { - "line": 159, + "line": 203, "column": 54 }, "end": { - "line": 159, + "line": 203, "column": 78 } } @@ -36005,15 +40845,15 @@ "postfix": false, "binop": null }, - "start": 5161, - "end": 5162, + "start": 6435, + "end": 6436, "loc": { "start": { - "line": 159, + "line": 203, "column": 78 }, "end": { - "line": 159, + "line": 203, "column": 79 } } @@ -36031,15 +40871,15 @@ "binop": null, "updateContext": null }, - "start": 5162, - "end": 5163, + "start": 6436, + "end": 6437, "loc": { "start": { - "line": 159, + "line": 203, "column": 79 }, "end": { - "line": 159, + "line": 203, "column": 80 } } @@ -36056,15 +40896,15 @@ "postfix": false, "binop": null }, - "start": 5177, - "end": 5178, + "start": 6451, + "end": 6452, "loc": { "start": { - "line": 160, + "line": 204, "column": 12 }, "end": { - "line": 160, + "line": 204, "column": 13 } } @@ -36081,15 +40921,15 @@ "postfix": false, "binop": null }, - "start": 5188, - "end": 5189, + "start": 6462, + "end": 6463, "loc": { "start": { - "line": 161, + "line": 205, "column": 8 }, "end": { - "line": 161, + "line": 205, "column": 9 } } @@ -36109,15 +40949,15 @@ "updateContext": null }, "value": "return", - "start": 5199, - "end": 5205, + "start": 6473, + "end": 6479, "loc": { "start": { - "line": 162, + "line": 206, "column": 8 }, "end": { - "line": 162, + "line": 206, "column": 14 } } @@ -36137,15 +40977,15 @@ "updateContext": null }, "value": "this", - "start": 5206, - "end": 5210, + "start": 6480, + "end": 6484, "loc": { "start": { - "line": 162, + "line": 206, "column": 15 }, "end": { - "line": 162, + "line": 206, "column": 19 } } @@ -36163,15 +41003,15 @@ "binop": null, "updateContext": null }, - "start": 5210, - "end": 5211, + "start": 6484, + "end": 6485, "loc": { "start": { - "line": 162, + "line": 206, "column": 19 }, "end": { - "line": 162, + "line": 206, "column": 20 } } @@ -36188,15 +41028,15 @@ "postfix": false, "binop": null }, - "start": 5217, - "end": 5218, + "start": 6491, + "end": 6492, "loc": { "start": { - "line": 163, + "line": 207, "column": 4 }, "end": { - "line": 163, + "line": 207, "column": 5 } } @@ -36204,15 +41044,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 5224, - "end": 5336, + "start": 6498, + "end": 6610, "loc": { "start": { - "line": 164, + "line": 208, "column": 4 }, "end": { - "line": 167, + "line": 211, "column": 7 } } @@ -36230,15 +41070,15 @@ "binop": null }, "value": "getDataURL", - "start": 5342, - "end": 5352, + "start": 6616, + "end": 6626, "loc": { "start": { - "line": 168, + "line": 212, "column": 4 }, "end": { - "line": 168, + "line": 212, "column": 14 } } @@ -36255,15 +41095,15 @@ "postfix": false, "binop": null }, - "start": 5352, - "end": 5353, + "start": 6626, + "end": 6627, "loc": { "start": { - "line": 168, + "line": 212, "column": 14 }, "end": { - "line": 168, + "line": 212, "column": 15 } } @@ -36280,15 +41120,15 @@ "postfix": false, "binop": null }, - "start": 5353, - "end": 5354, + "start": 6627, + "end": 6628, "loc": { "start": { - "line": 168, + "line": 212, "column": 15 }, "end": { - "line": 168, + "line": 212, "column": 16 } } @@ -36305,15 +41145,15 @@ "postfix": false, "binop": null }, - "start": 5355, - "end": 5356, + "start": 6629, + "end": 6630, "loc": { "start": { - "line": 168, + "line": 212, "column": 17 }, "end": { - "line": 168, + "line": 212, "column": 18 } } @@ -36333,15 +41173,15 @@ "updateContext": null }, "value": "return", - "start": 5366, - "end": 5372, + "start": 6640, + "end": 6646, "loc": { "start": { - "line": 169, + "line": 213, "column": 8 }, "end": { - "line": 169, + "line": 213, "column": 14 } } @@ -36361,15 +41201,15 @@ "updateContext": null }, "value": "this", - "start": 5373, - "end": 5377, + "start": 6647, + "end": 6651, "loc": { "start": { - "line": 169, + "line": 213, "column": 15 }, "end": { - "line": 169, + "line": 213, "column": 19 } } @@ -36387,15 +41227,15 @@ "binop": null, "updateContext": null }, - "start": 5377, - "end": 5378, + "start": 6651, + "end": 6652, "loc": { "start": { - "line": 169, + "line": 213, "column": 19 }, "end": { - "line": 169, + "line": 213, "column": 20 } } @@ -36413,15 +41253,15 @@ "binop": null }, "value": "dataURL", - "start": 5378, - "end": 5385, + "start": 6652, + "end": 6659, "loc": { "start": { - "line": 169, + "line": 213, "column": 20 }, "end": { - "line": 169, + "line": 213, "column": 27 } } @@ -36439,15 +41279,15 @@ "binop": null, "updateContext": null }, - "start": 5385, - "end": 5386, + "start": 6659, + "end": 6660, "loc": { "start": { - "line": 169, + "line": 213, "column": 27 }, "end": { - "line": 169, + "line": 213, "column": 28 } } @@ -36464,15 +41304,15 @@ "postfix": false, "binop": null }, - "start": 5392, - "end": 5393, + "start": 6666, + "end": 6667, "loc": { "start": { - "line": 170, + "line": 214, "column": 4 }, "end": { - "line": 170, + "line": 214, "column": 5 } } @@ -36480,15 +41320,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5399, - "end": 5563, + "start": 6673, + "end": 6837, "loc": { "start": { - "line": 171, + "line": 215, "column": 4 }, "end": { - "line": 175, + "line": 219, "column": 7 } } @@ -36506,15 +41346,15 @@ "binop": null }, "value": "setDelay", - "start": 5569, - "end": 5577, + "start": 6843, + "end": 6851, "loc": { "start": { - "line": 176, + "line": 220, "column": 4 }, "end": { - "line": 176, + "line": 220, "column": 12 } } @@ -36531,15 +41371,15 @@ "postfix": false, "binop": null }, - "start": 5577, - "end": 5578, + "start": 6851, + "end": 6852, "loc": { "start": { - "line": 176, + "line": 220, "column": 12 }, "end": { - "line": 176, + "line": 220, "column": 13 } } @@ -36557,15 +41397,15 @@ "binop": null }, "value": "pDelay", - "start": 5578, - "end": 5584, + "start": 6852, + "end": 6858, "loc": { "start": { - "line": 176, + "line": 220, "column": 13 }, "end": { - "line": 176, + "line": 220, "column": 19 } } @@ -36582,15 +41422,15 @@ "postfix": false, "binop": null }, - "start": 5584, - "end": 5585, + "start": 6858, + "end": 6859, "loc": { "start": { - "line": 176, + "line": 220, "column": 19 }, "end": { - "line": 176, + "line": 220, "column": 20 } } @@ -36607,15 +41447,15 @@ "postfix": false, "binop": null }, - "start": 5586, - "end": 5587, + "start": 6860, + "end": 6861, "loc": { "start": { - "line": 176, + "line": 220, "column": 21 }, "end": { - "line": 176, + "line": 220, "column": 22 } } @@ -36635,15 +41475,15 @@ "updateContext": null }, "value": "if", - "start": 5597, - "end": 5599, + "start": 6871, + "end": 6873, "loc": { "start": { - "line": 177, + "line": 221, "column": 8 }, "end": { - "line": 177, + "line": 221, "column": 10 } } @@ -36660,15 +41500,15 @@ "postfix": false, "binop": null }, - "start": 5600, - "end": 5601, + "start": 6874, + "end": 6875, "loc": { "start": { - "line": 177, + "line": 221, "column": 11 }, "end": { - "line": 177, + "line": 221, "column": 12 } } @@ -36686,15 +41526,15 @@ "binop": null }, "value": "pDelay", - "start": 5601, - "end": 5607, + "start": 6875, + "end": 6881, "loc": { "start": { - "line": 177, + "line": 221, "column": 12 }, "end": { - "line": 177, + "line": 221, "column": 18 } } @@ -36711,15 +41551,15 @@ "postfix": false, "binop": null }, - "start": 5607, - "end": 5608, + "start": 6881, + "end": 6882, "loc": { "start": { - "line": 177, + "line": 221, "column": 18 }, "end": { - "line": 177, + "line": 221, "column": 19 } } @@ -36736,15 +41576,15 @@ "postfix": false, "binop": null }, - "start": 5609, - "end": 5610, + "start": 6883, + "end": 6884, "loc": { "start": { - "line": 177, + "line": 221, "column": 20 }, "end": { - "line": 177, + "line": 221, "column": 21 } } @@ -36764,15 +41604,15 @@ "updateContext": null }, "value": "if", - "start": 5624, - "end": 5626, + "start": 6898, + "end": 6900, "loc": { "start": { - "line": 178, + "line": 222, "column": 12 }, "end": { - "line": 178, + "line": 222, "column": 14 } } @@ -36789,15 +41629,15 @@ "postfix": false, "binop": null }, - "start": 5627, - "end": 5628, + "start": 6901, + "end": 6902, "loc": { "start": { - "line": 178, + "line": 222, "column": 15 }, "end": { - "line": 178, + "line": 222, "column": 16 } } @@ -36817,15 +41657,15 @@ "updateContext": null }, "value": "typeof", - "start": 5628, - "end": 5634, + "start": 6902, + "end": 6908, "loc": { "start": { - "line": 178, + "line": 222, "column": 16 }, "end": { - "line": 178, + "line": 222, "column": 22 } } @@ -36842,15 +41682,15 @@ "postfix": false, "binop": null }, - "start": 5634, - "end": 5635, + "start": 6908, + "end": 6909, "loc": { "start": { - "line": 178, + "line": 222, "column": 22 }, "end": { - "line": 178, + "line": 222, "column": 23 } } @@ -36868,15 +41708,15 @@ "binop": null }, "value": "pDelay", - "start": 5635, - "end": 5641, + "start": 6909, + "end": 6915, "loc": { "start": { - "line": 178, + "line": 222, "column": 23 }, "end": { - "line": 178, + "line": 222, "column": 29 } } @@ -36893,15 +41733,15 @@ "postfix": false, "binop": null }, - "start": 5641, - "end": 5642, + "start": 6915, + "end": 6916, "loc": { "start": { - "line": 178, + "line": 222, "column": 29 }, "end": { - "line": 178, + "line": 222, "column": 30 } } @@ -36920,15 +41760,15 @@ "updateContext": null }, "value": "===", - "start": 5643, - "end": 5646, + "start": 6917, + "end": 6920, "loc": { "start": { - "line": 178, + "line": 222, "column": 31 }, "end": { - "line": 178, + "line": 222, "column": 34 } } @@ -36947,15 +41787,15 @@ "updateContext": null }, "value": "number", - "start": 5647, - "end": 5655, + "start": 6921, + "end": 6929, "loc": { "start": { - "line": 178, + "line": 222, "column": 35 }, "end": { - "line": 178, + "line": 222, "column": 43 } } @@ -36972,15 +41812,15 @@ "postfix": false, "binop": null }, - "start": 5655, - "end": 5656, + "start": 6929, + "end": 6930, "loc": { "start": { - "line": 178, + "line": 222, "column": 43 }, "end": { - "line": 178, + "line": 222, "column": 44 } } @@ -36997,15 +41837,15 @@ "postfix": false, "binop": null }, - "start": 5657, - "end": 5658, + "start": 6931, + "end": 6932, "loc": { "start": { - "line": 178, + "line": 222, "column": 45 }, "end": { - "line": 178, + "line": 222, "column": 46 } } @@ -37025,15 +41865,15 @@ "updateContext": null }, "value": "this", - "start": 5676, - "end": 5680, + "start": 6950, + "end": 6954, "loc": { "start": { - "line": 179, + "line": 223, "column": 16 }, "end": { - "line": 179, + "line": 223, "column": 20 } } @@ -37051,15 +41891,15 @@ "binop": null, "updateContext": null }, - "start": 5680, - "end": 5681, + "start": 6954, + "end": 6955, "loc": { "start": { - "line": 179, + "line": 223, "column": 20 }, "end": { - "line": 179, + "line": 223, "column": 21 } } @@ -37077,15 +41917,15 @@ "binop": null }, "value": "delay", - "start": 5681, - "end": 5686, + "start": 6955, + "end": 6960, "loc": { "start": { - "line": 179, + "line": 223, "column": 21 }, "end": { - "line": 179, + "line": 223, "column": 26 } } @@ -37104,15 +41944,15 @@ "updateContext": null }, "value": "=", - "start": 5687, - "end": 5688, + "start": 6961, + "end": 6962, "loc": { "start": { - "line": 179, + "line": 223, "column": 27 }, "end": { - "line": 179, + "line": 223, "column": 28 } } @@ -37130,15 +41970,15 @@ "binop": null }, "value": "pDelay", - "start": 5689, - "end": 5695, + "start": 6963, + "end": 6969, "loc": { "start": { - "line": 179, + "line": 223, "column": 29 }, "end": { - "line": 179, + "line": 223, "column": 35 } } @@ -37156,15 +41996,15 @@ "binop": null, "updateContext": null }, - "start": 5695, - "end": 5696, + "start": 6969, + "end": 6970, "loc": { "start": { - "line": 179, + "line": 223, "column": 35 }, "end": { - "line": 179, + "line": 223, "column": 36 } } @@ -37181,15 +42021,15 @@ "postfix": false, "binop": null }, - "start": 5710, - "end": 5711, + "start": 6984, + "end": 6985, "loc": { "start": { - "line": 180, + "line": 224, "column": 12 }, "end": { - "line": 180, + "line": 224, "column": 13 } } @@ -37209,15 +42049,15 @@ "updateContext": null }, "value": "else", - "start": 5712, - "end": 5716, + "start": 6986, + "end": 6990, "loc": { "start": { - "line": 180, + "line": 224, "column": 14 }, "end": { - "line": 180, + "line": 224, "column": 18 } } @@ -37234,15 +42074,15 @@ "postfix": false, "binop": null }, - "start": 5717, - "end": 5718, + "start": 6991, + "end": 6992, "loc": { "start": { - "line": 180, + "line": 224, "column": 19 }, "end": { - "line": 180, + "line": 224, "column": 20 } } @@ -37260,15 +42100,15 @@ "binop": null }, "value": "VYI", - "start": 5736, - "end": 5739, + "start": 7010, + "end": 7013, "loc": { "start": { - "line": 181, + "line": 225, "column": 16 }, "end": { - "line": 181, + "line": 225, "column": 19 } } @@ -37286,15 +42126,15 @@ "binop": null, "updateContext": null }, - "start": 5739, - "end": 5740, + "start": 7013, + "end": 7014, "loc": { "start": { - "line": 181, + "line": 225, "column": 19 }, "end": { - "line": 181, + "line": 225, "column": 20 } } @@ -37312,15 +42152,15 @@ "binop": null }, "value": "logger", - "start": 5740, - "end": 5746, + "start": 7014, + "end": 7020, "loc": { "start": { - "line": 181, + "line": 225, "column": 20 }, "end": { - "line": 181, + "line": 225, "column": 26 } } @@ -37338,15 +42178,15 @@ "binop": null, "updateContext": null }, - "start": 5746, - "end": 5747, + "start": 7020, + "end": 7021, "loc": { "start": { - "line": 181, + "line": 225, "column": 26 }, "end": { - "line": 181, + "line": 225, "column": 27 } } @@ -37364,15 +42204,15 @@ "binop": null }, "value": "prefix", - "start": 5747, - "end": 5753, + "start": 7021, + "end": 7027, "loc": { "start": { - "line": 181, + "line": 225, "column": 27 }, "end": { - "line": 181, + "line": 225, "column": 33 } } @@ -37389,15 +42229,15 @@ "postfix": false, "binop": null }, - "start": 5753, - "end": 5754, + "start": 7027, + "end": 7028, "loc": { "start": { - "line": 181, + "line": 225, "column": 33 }, "end": { - "line": 181, + "line": 225, "column": 34 } } @@ -37416,15 +42256,15 @@ "updateContext": null }, "value": "VYI-module", - "start": 5754, - "end": 5766, + "start": 7028, + "end": 7040, "loc": { "start": { - "line": 181, + "line": 225, "column": 34 }, "end": { - "line": 181, + "line": 225, "column": 46 } } @@ -37441,15 +42281,15 @@ "postfix": false, "binop": null }, - "start": 5766, - "end": 5767, + "start": 7040, + "end": 7041, "loc": { "start": { - "line": 181, + "line": 225, "column": 46 }, "end": { - "line": 181, + "line": 225, "column": 47 } } @@ -37467,15 +42307,15 @@ "binop": null, "updateContext": null }, - "start": 5767, - "end": 5768, + "start": 7041, + "end": 7042, "loc": { "start": { - "line": 181, + "line": 225, "column": 47 }, "end": { - "line": 181, + "line": 225, "column": 48 } } @@ -37493,15 +42333,15 @@ "binop": null }, "value": "error", - "start": 5768, - "end": 5773, + "start": 7042, + "end": 7047, "loc": { "start": { - "line": 181, + "line": 225, "column": 48 }, "end": { - "line": 181, + "line": 225, "column": 53 } } @@ -37518,15 +42358,15 @@ "postfix": false, "binop": null }, - "start": 5773, - "end": 5774, + "start": 7047, + "end": 7048, "loc": { "start": { - "line": 181, + "line": 225, "column": 53 }, "end": { - "line": 181, + "line": 225, "column": 54 } } @@ -37545,15 +42385,15 @@ "updateContext": null }, "value": "Invalid delay type!", - "start": 5774, - "end": 5795, + "start": 7048, + "end": 7069, "loc": { "start": { - "line": 181, + "line": 225, "column": 54 }, "end": { - "line": 181, + "line": 225, "column": 75 } } @@ -37570,15 +42410,15 @@ "postfix": false, "binop": null }, - "start": 5795, - "end": 5796, + "start": 7069, + "end": 7070, "loc": { "start": { - "line": 181, + "line": 225, "column": 75 }, "end": { - "line": 181, + "line": 225, "column": 76 } } @@ -37596,15 +42436,15 @@ "binop": null, "updateContext": null }, - "start": 5796, - "end": 5797, + "start": 7070, + "end": 7071, "loc": { "start": { - "line": 181, + "line": 225, "column": 76 }, "end": { - "line": 181, + "line": 225, "column": 77 } } @@ -37621,15 +42461,15 @@ "postfix": false, "binop": null }, - "start": 5811, - "end": 5812, + "start": 7085, + "end": 7086, "loc": { "start": { - "line": 182, + "line": 226, "column": 12 }, "end": { - "line": 182, + "line": 226, "column": 13 } } @@ -37646,15 +42486,15 @@ "postfix": false, "binop": null }, - "start": 5822, - "end": 5823, + "start": 7096, + "end": 7097, "loc": { "start": { - "line": 183, + "line": 227, "column": 8 }, "end": { - "line": 183, + "line": 227, "column": 9 } } @@ -37674,15 +42514,15 @@ "updateContext": null }, "value": "return", - "start": 5833, - "end": 5839, + "start": 7107, + "end": 7113, "loc": { "start": { - "line": 184, + "line": 228, "column": 8 }, "end": { - "line": 184, + "line": 228, "column": 14 } } @@ -37702,15 +42542,15 @@ "updateContext": null }, "value": "this", - "start": 5840, - "end": 5844, + "start": 7114, + "end": 7118, "loc": { "start": { - "line": 184, + "line": 228, "column": 15 }, "end": { - "line": 184, + "line": 228, "column": 19 } } @@ -37728,15 +42568,15 @@ "binop": null, "updateContext": null }, - "start": 5844, - "end": 5845, + "start": 7118, + "end": 7119, "loc": { "start": { - "line": 184, + "line": 228, "column": 19 }, "end": { - "line": 184, + "line": 228, "column": 20 } } @@ -37753,15 +42593,15 @@ "postfix": false, "binop": null }, - "start": 5851, - "end": 5852, + "start": 7125, + "end": 7126, "loc": { "start": { - "line": 185, + "line": 229, "column": 4 }, "end": { - "line": 185, + "line": 229, "column": 5 } } @@ -37769,15 +42609,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 5858, - "end": 5957, + "start": 7132, + "end": 7231, "loc": { "start": { - "line": 186, + "line": 230, "column": 4 }, "end": { - "line": 189, + "line": 233, "column": 7 } } @@ -37795,15 +42635,15 @@ "binop": null }, "value": "getDelay", - "start": 5963, - "end": 5971, + "start": 7237, + "end": 7245, "loc": { "start": { - "line": 190, + "line": 234, "column": 4 }, "end": { - "line": 190, + "line": 234, "column": 12 } } @@ -37820,15 +42660,15 @@ "postfix": false, "binop": null }, - "start": 5971, - "end": 5972, + "start": 7245, + "end": 7246, "loc": { "start": { - "line": 190, + "line": 234, "column": 12 }, "end": { - "line": 190, + "line": 234, "column": 13 } } @@ -37845,15 +42685,15 @@ "postfix": false, "binop": null }, - "start": 5972, - "end": 5973, + "start": 7246, + "end": 7247, "loc": { "start": { - "line": 190, + "line": 234, "column": 13 }, "end": { - "line": 190, + "line": 234, "column": 14 } } @@ -37870,15 +42710,15 @@ "postfix": false, "binop": null }, - "start": 5974, - "end": 5975, + "start": 7248, + "end": 7249, "loc": { "start": { - "line": 190, + "line": 234, "column": 15 }, "end": { - "line": 190, + "line": 234, "column": 16 } } @@ -37898,15 +42738,15 @@ "updateContext": null }, "value": "return", - "start": 5985, - "end": 5991, + "start": 7259, + "end": 7265, "loc": { "start": { - "line": 191, + "line": 235, "column": 8 }, "end": { - "line": 191, + "line": 235, "column": 14 } } @@ -37926,15 +42766,15 @@ "updateContext": null }, "value": "this", - "start": 5992, - "end": 5996, + "start": 7266, + "end": 7270, "loc": { "start": { - "line": 191, + "line": 235, "column": 15 }, "end": { - "line": 191, + "line": 235, "column": 19 } } @@ -37952,15 +42792,15 @@ "binop": null, "updateContext": null }, - "start": 5996, - "end": 5997, + "start": 7270, + "end": 7271, "loc": { "start": { - "line": 191, + "line": 235, "column": 19 }, "end": { - "line": 191, + "line": 235, "column": 20 } } @@ -37978,15 +42818,15 @@ "binop": null }, "value": "delay", - "start": 5997, - "end": 6002, + "start": 7271, + "end": 7276, "loc": { "start": { - "line": 191, + "line": 235, "column": 20 }, "end": { - "line": 191, + "line": 235, "column": 25 } } @@ -38004,15 +42844,15 @@ "binop": null, "updateContext": null }, - "start": 6002, - "end": 6003, + "start": 7276, + "end": 7277, "loc": { "start": { - "line": 191, + "line": 235, "column": 25 }, "end": { - "line": 191, + "line": 235, "column": 26 } } @@ -38029,15 +42869,15 @@ "postfix": false, "binop": null }, - "start": 6009, - "end": 6010, + "start": 7283, + "end": 7284, "loc": { "start": { - "line": 192, + "line": 236, "column": 4 }, "end": { - "line": 192, + "line": 236, "column": 5 } } @@ -38045,15 +42885,15 @@ { "type": "CommentBlock", "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6016, - "end": 6169, + "start": 7290, + "end": 7443, "loc": { "start": { - "line": 193, + "line": 237, "column": 4 }, "end": { - "line": 197, + "line": 241, "column": 7 } } @@ -38071,15 +42911,15 @@ "binop": null }, "value": "rename", - "start": 6175, - "end": 6181, + "start": 7449, + "end": 7455, "loc": { "start": { - "line": 198, + "line": 242, "column": 4 }, "end": { - "line": 198, + "line": 242, "column": 10 } } @@ -38096,15 +42936,15 @@ "postfix": false, "binop": null }, - "start": 6181, - "end": 6182, + "start": 7455, + "end": 7456, "loc": { "start": { - "line": 198, + "line": 242, "column": 10 }, "end": { - "line": 198, + "line": 242, "column": 11 } } @@ -38122,15 +42962,15 @@ "binop": null }, "value": "pName", - "start": 6182, - "end": 6187, + "start": 7456, + "end": 7461, "loc": { "start": { - "line": 198, + "line": 242, "column": 11 }, "end": { - "line": 198, + "line": 242, "column": 16 } } @@ -38147,15 +42987,15 @@ "postfix": false, "binop": null }, - "start": 6187, - "end": 6188, + "start": 7461, + "end": 7462, "loc": { "start": { - "line": 198, + "line": 242, "column": 16 }, "end": { - "line": 198, + "line": 242, "column": 17 } } @@ -38172,15 +43012,15 @@ "postfix": false, "binop": null }, - "start": 6189, - "end": 6190, + "start": 7463, + "end": 7464, "loc": { "start": { - "line": 198, + "line": 242, "column": 18 }, "end": { - "line": 198, + "line": 242, "column": 19 } } @@ -38200,15 +43040,15 @@ "updateContext": null }, "value": "if", - "start": 6200, - "end": 6202, + "start": 7474, + "end": 7476, "loc": { "start": { - "line": 199, + "line": 243, "column": 8 }, "end": { - "line": 199, + "line": 243, "column": 10 } } @@ -38225,15 +43065,15 @@ "postfix": false, "binop": null }, - "start": 6203, - "end": 6204, + "start": 7477, + "end": 7478, "loc": { "start": { - "line": 199, + "line": 243, "column": 11 }, "end": { - "line": 199, + "line": 243, "column": 12 } } @@ -38251,15 +43091,15 @@ "binop": null }, "value": "pName", - "start": 6204, - "end": 6209, + "start": 7478, + "end": 7483, "loc": { "start": { - "line": 199, + "line": 243, "column": 12 }, "end": { - "line": 199, + "line": 243, "column": 17 } } @@ -38278,15 +43118,15 @@ "updateContext": null }, "value": "||", - "start": 6210, - "end": 6212, + "start": 7484, + "end": 7486, "loc": { "start": { - "line": 199, + "line": 243, "column": 18 }, "end": { - "line": 199, + "line": 243, "column": 20 } } @@ -38304,15 +43144,15 @@ "binop": null }, "value": "pName", - "start": 6213, - "end": 6218, + "start": 7487, + "end": 7492, "loc": { "start": { - "line": 199, + "line": 243, "column": 21 }, "end": { - "line": 199, + "line": 243, "column": 26 } } @@ -38331,15 +43171,15 @@ "updateContext": null }, "value": "===", - "start": 6219, - "end": 6222, + "start": 7493, + "end": 7496, "loc": { "start": { - "line": 199, + "line": 243, "column": 27 }, "end": { - "line": 199, + "line": 243, "column": 30 } } @@ -38358,15 +43198,15 @@ "updateContext": null }, "value": "", - "start": 6223, - "end": 6225, + "start": 7497, + "end": 7499, "loc": { "start": { - "line": 199, + "line": 243, "column": 31 }, "end": { - "line": 199, + "line": 243, "column": 33 } } @@ -38383,15 +43223,15 @@ "postfix": false, "binop": null }, - "start": 6225, - "end": 6226, + "start": 7499, + "end": 7500, "loc": { "start": { - "line": 199, + "line": 243, "column": 33 }, "end": { - "line": 199, + "line": 243, "column": 34 } } @@ -38408,15 +43248,15 @@ "postfix": false, "binop": null }, - "start": 6227, - "end": 6228, + "start": 7501, + "end": 7502, "loc": { "start": { - "line": 199, + "line": 243, "column": 35 }, "end": { - "line": 199, + "line": 243, "column": 36 } } @@ -38436,15 +43276,15 @@ "updateContext": null }, "value": "if", - "start": 6242, - "end": 6244, + "start": 7516, + "end": 7518, "loc": { "start": { - "line": 200, + "line": 244, "column": 12 }, "end": { - "line": 200, + "line": 244, "column": 14 } } @@ -38461,15 +43301,15 @@ "postfix": false, "binop": null }, - "start": 6245, - "end": 6246, + "start": 7519, + "end": 7520, "loc": { "start": { - "line": 200, + "line": 244, "column": 15 }, "end": { - "line": 200, + "line": 244, "column": 16 } } @@ -38489,15 +43329,15 @@ "updateContext": null }, "value": "typeof", - "start": 6246, - "end": 6252, + "start": 7520, + "end": 7526, "loc": { "start": { - "line": 200, + "line": 244, "column": 16 }, "end": { - "line": 200, + "line": 244, "column": 22 } } @@ -38514,15 +43354,15 @@ "postfix": false, "binop": null }, - "start": 6252, - "end": 6253, + "start": 7526, + "end": 7527, "loc": { "start": { - "line": 200, + "line": 244, "column": 22 }, "end": { - "line": 200, + "line": 244, "column": 23 } } @@ -38540,15 +43380,15 @@ "binop": null }, "value": "pName", - "start": 6253, - "end": 6258, + "start": 7527, + "end": 7532, "loc": { "start": { - "line": 200, + "line": 244, "column": 23 }, "end": { - "line": 200, + "line": 244, "column": 28 } } @@ -38565,15 +43405,15 @@ "postfix": false, "binop": null }, - "start": 6258, - "end": 6259, + "start": 7532, + "end": 7533, "loc": { "start": { - "line": 200, + "line": 244, "column": 28 }, "end": { - "line": 200, + "line": 244, "column": 29 } } @@ -38592,15 +43432,15 @@ "updateContext": null }, "value": "===", - "start": 6260, - "end": 6263, + "start": 7534, + "end": 7537, "loc": { "start": { - "line": 200, + "line": 244, "column": 30 }, "end": { - "line": 200, + "line": 244, "column": 33 } } @@ -38619,15 +43459,15 @@ "updateContext": null }, "value": "string", - "start": 6264, - "end": 6272, + "start": 7538, + "end": 7546, "loc": { "start": { - "line": 200, + "line": 244, "column": 34 }, "end": { - "line": 200, + "line": 244, "column": 42 } } @@ -38644,15 +43484,15 @@ "postfix": false, "binop": null }, - "start": 6272, - "end": 6273, + "start": 7546, + "end": 7547, "loc": { "start": { - "line": 200, + "line": 244, "column": 42 }, "end": { - "line": 200, + "line": 244, "column": 43 } } @@ -38669,15 +43509,15 @@ "postfix": false, "binop": null }, - "start": 6274, - "end": 6275, + "start": 7548, + "end": 7549, "loc": { "start": { - "line": 200, + "line": 244, "column": 44 }, "end": { - "line": 200, + "line": 244, "column": 45 } } @@ -38697,15 +43537,15 @@ "updateContext": null }, "value": "this", - "start": 6293, - "end": 6297, + "start": 7567, + "end": 7571, "loc": { "start": { - "line": 201, + "line": 245, "column": 16 }, "end": { - "line": 201, + "line": 245, "column": 20 } } @@ -38723,15 +43563,15 @@ "binop": null, "updateContext": null }, - "start": 6297, - "end": 6298, + "start": 7571, + "end": 7572, "loc": { "start": { - "line": 201, + "line": 245, "column": 20 }, "end": { - "line": 201, + "line": 245, "column": 21 } } @@ -38749,15 +43589,15 @@ "binop": null }, "value": "name", - "start": 6298, - "end": 6302, + "start": 7572, + "end": 7576, "loc": { "start": { - "line": 201, + "line": 245, "column": 21 }, "end": { - "line": 201, + "line": 245, "column": 25 } } @@ -38776,15 +43616,15 @@ "updateContext": null }, "value": "=", - "start": 6303, - "end": 6304, + "start": 7577, + "end": 7578, "loc": { "start": { - "line": 201, + "line": 245, "column": 26 }, "end": { - "line": 201, + "line": 245, "column": 27 } } @@ -38802,15 +43642,15 @@ "binop": null }, "value": "pName", - "start": 6305, - "end": 6310, + "start": 7579, + "end": 7584, "loc": { "start": { - "line": 201, + "line": 245, "column": 28 }, "end": { - "line": 201, + "line": 245, "column": 33 } } @@ -38828,15 +43668,15 @@ "binop": null, "updateContext": null }, - "start": 6310, - "end": 6311, + "start": 7584, + "end": 7585, "loc": { "start": { - "line": 201, + "line": 245, "column": 33 }, "end": { - "line": 201, + "line": 245, "column": 34 } } @@ -38853,15 +43693,15 @@ "postfix": false, "binop": null }, - "start": 6325, - "end": 6326, + "start": 7599, + "end": 7600, "loc": { "start": { - "line": 202, + "line": 246, "column": 12 }, "end": { - "line": 202, + "line": 246, "column": 13 } } @@ -38881,15 +43721,15 @@ "updateContext": null }, "value": "else", - "start": 6327, - "end": 6331, + "start": 7601, + "end": 7605, "loc": { "start": { - "line": 202, + "line": 246, "column": 14 }, "end": { - "line": 202, + "line": 246, "column": 18 } } @@ -38906,15 +43746,15 @@ "postfix": false, "binop": null }, - "start": 6332, - "end": 6333, + "start": 7606, + "end": 7607, "loc": { "start": { - "line": 202, + "line": 246, "column": 19 }, "end": { - "line": 202, + "line": 246, "column": 20 } } @@ -38932,15 +43772,15 @@ "binop": null }, "value": "VYI", - "start": 6351, - "end": 6354, + "start": 7625, + "end": 7628, "loc": { "start": { - "line": 203, + "line": 247, "column": 16 }, "end": { - "line": 203, + "line": 247, "column": 19 } } @@ -38958,15 +43798,15 @@ "binop": null, "updateContext": null }, - "start": 6354, - "end": 6355, + "start": 7628, + "end": 7629, "loc": { "start": { - "line": 203, + "line": 247, "column": 19 }, "end": { - "line": 203, + "line": 247, "column": 20 } } @@ -38984,15 +43824,15 @@ "binop": null }, "value": "logger", - "start": 6355, - "end": 6361, + "start": 7629, + "end": 7635, "loc": { "start": { - "line": 203, + "line": 247, "column": 20 }, "end": { - "line": 203, + "line": 247, "column": 26 } } @@ -39010,15 +43850,15 @@ "binop": null, "updateContext": null }, - "start": 6361, - "end": 6362, + "start": 7635, + "end": 7636, "loc": { "start": { - "line": 203, + "line": 247, "column": 26 }, "end": { - "line": 203, + "line": 247, "column": 27 } } @@ -39036,15 +43876,15 @@ "binop": null }, "value": "prefix", - "start": 6362, - "end": 6368, + "start": 7636, + "end": 7642, "loc": { "start": { - "line": 203, + "line": 247, "column": 27 }, "end": { - "line": 203, + "line": 247, "column": 33 } } @@ -39061,15 +43901,15 @@ "postfix": false, "binop": null }, - "start": 6368, - "end": 6369, + "start": 7642, + "end": 7643, "loc": { "start": { - "line": 203, + "line": 247, "column": 33 }, "end": { - "line": 203, + "line": 247, "column": 34 } } @@ -39088,15 +43928,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 6369, - "end": 6381, + "start": 7643, + "end": 7655, "loc": { "start": { - "line": 203, + "line": 247, "column": 34 }, "end": { - "line": 203, + "line": 247, "column": 46 } } @@ -39113,15 +43953,15 @@ "postfix": false, "binop": null }, - "start": 6381, - "end": 6382, + "start": 7655, + "end": 7656, "loc": { "start": { - "line": 203, + "line": 247, "column": 46 }, "end": { - "line": 203, + "line": 247, "column": 47 } } @@ -39139,15 +43979,15 @@ "binop": null, "updateContext": null }, - "start": 6382, - "end": 6383, + "start": 7656, + "end": 7657, "loc": { "start": { - "line": 203, + "line": 247, "column": 47 }, "end": { - "line": 203, + "line": 247, "column": 48 } } @@ -39165,15 +44005,15 @@ "binop": null }, "value": "error", - "start": 6383, - "end": 6388, + "start": 7657, + "end": 7662, "loc": { "start": { - "line": 203, + "line": 247, "column": 48 }, "end": { - "line": 203, + "line": 247, "column": 53 } } @@ -39190,15 +44030,15 @@ "postfix": false, "binop": null }, - "start": 6388, - "end": 6389, + "start": 7662, + "end": 7663, "loc": { "start": { - "line": 203, + "line": 247, "column": 53 }, "end": { - "line": 203, + "line": 247, "column": 54 } } @@ -39217,15 +44057,15 @@ "updateContext": null }, "value": "Invalid type for pName!", - "start": 6389, - "end": 6414, + "start": 7663, + "end": 7688, "loc": { "start": { - "line": 203, + "line": 247, "column": 54 }, "end": { - "line": 203, + "line": 247, "column": 79 } } @@ -39242,15 +44082,15 @@ "postfix": false, "binop": null }, - "start": 6414, - "end": 6415, + "start": 7688, + "end": 7689, "loc": { "start": { - "line": 203, + "line": 247, "column": 79 }, "end": { - "line": 203, + "line": 247, "column": 80 } } @@ -39268,15 +44108,15 @@ "binop": null, "updateContext": null }, - "start": 6415, - "end": 6416, + "start": 7689, + "end": 7690, "loc": { "start": { - "line": 203, + "line": 247, "column": 80 }, "end": { - "line": 203, + "line": 247, "column": 81 } } @@ -39293,15 +44133,15 @@ "postfix": false, "binop": null }, - "start": 6430, - "end": 6431, + "start": 7704, + "end": 7705, "loc": { "start": { - "line": 204, + "line": 248, "column": 12 }, "end": { - "line": 204, + "line": 248, "column": 13 } } @@ -39318,15 +44158,15 @@ "postfix": false, "binop": null }, - "start": 6441, - "end": 6442, + "start": 7715, + "end": 7716, "loc": { "start": { - "line": 205, + "line": 249, "column": 8 }, "end": { - "line": 205, + "line": 249, "column": 9 } } @@ -39346,15 +44186,15 @@ "updateContext": null }, "value": "return", - "start": 6452, - "end": 6458, + "start": 7726, + "end": 7732, "loc": { "start": { - "line": 206, + "line": 250, "column": 8 }, "end": { - "line": 206, + "line": 250, "column": 14 } } @@ -39374,15 +44214,15 @@ "updateContext": null }, "value": "this", - "start": 6459, - "end": 6463, + "start": 7733, + "end": 7737, "loc": { "start": { - "line": 206, + "line": 250, "column": 15 }, "end": { - "line": 206, + "line": 250, "column": 19 } } @@ -39400,15 +44240,15 @@ "binop": null, "updateContext": null }, - "start": 6463, - "end": 6464, + "start": 7737, + "end": 7738, "loc": { "start": { - "line": 206, + "line": 250, "column": 19 }, "end": { - "line": 206, + "line": 250, "column": 20 } } @@ -39425,15 +44265,15 @@ "postfix": false, "binop": null }, - "start": 6470, - "end": 6471, + "start": 7744, + "end": 7745, "loc": { "start": { - "line": 207, + "line": 251, "column": 4 }, "end": { - "line": 207, + "line": 251, "column": 5 } } @@ -39441,15 +44281,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 6477, - "end": 6577, + "start": 7751, + "end": 7851, "loc": { "start": { - "line": 208, + "line": 252, "column": 4 }, "end": { - "line": 211, + "line": 255, "column": 7 } } @@ -39467,15 +44307,15 @@ "binop": null }, "value": "getName", - "start": 6583, - "end": 6590, + "start": 7857, + "end": 7864, "loc": { "start": { - "line": 212, + "line": 256, "column": 4 }, "end": { - "line": 212, + "line": 256, "column": 11 } } @@ -39492,15 +44332,15 @@ "postfix": false, "binop": null }, - "start": 6590, - "end": 6591, + "start": 7864, + "end": 7865, "loc": { "start": { - "line": 212, + "line": 256, "column": 11 }, "end": { - "line": 212, + "line": 256, "column": 12 } } @@ -39517,15 +44357,15 @@ "postfix": false, "binop": null }, - "start": 6591, - "end": 6592, + "start": 7865, + "end": 7866, "loc": { "start": { - "line": 212, + "line": 256, "column": 12 }, "end": { - "line": 212, + "line": 256, "column": 13 } } @@ -39542,15 +44382,15 @@ "postfix": false, "binop": null }, - "start": 6593, - "end": 6594, + "start": 7867, + "end": 7868, "loc": { "start": { - "line": 212, + "line": 256, "column": 14 }, "end": { - "line": 212, + "line": 256, "column": 15 } } @@ -39570,15 +44410,15 @@ "updateContext": null }, "value": "return", - "start": 6604, - "end": 6610, + "start": 7878, + "end": 7884, "loc": { "start": { - "line": 213, + "line": 257, "column": 8 }, "end": { - "line": 213, + "line": 257, "column": 14 } } @@ -39598,15 +44438,15 @@ "updateContext": null }, "value": "this", - "start": 6611, - "end": 6615, + "start": 7885, + "end": 7889, "loc": { "start": { - "line": 213, + "line": 257, "column": 15 }, "end": { - "line": 213, + "line": 257, "column": 19 } } @@ -39624,15 +44464,15 @@ "binop": null, "updateContext": null }, - "start": 6615, - "end": 6616, + "start": 7889, + "end": 7890, "loc": { "start": { - "line": 213, + "line": 257, "column": 19 }, "end": { - "line": 213, + "line": 257, "column": 20 } } @@ -39650,15 +44490,15 @@ "binop": null }, "value": "name", - "start": 6616, - "end": 6620, + "start": 7890, + "end": 7894, "loc": { "start": { - "line": 213, + "line": 257, "column": 20 }, "end": { - "line": 213, + "line": 257, "column": 24 } } @@ -39676,15 +44516,15 @@ "binop": null, "updateContext": null }, - "start": 6620, - "end": 6621, + "start": 7894, + "end": 7895, "loc": { "start": { - "line": 213, + "line": 257, "column": 24 }, "end": { - "line": 213, + "line": 257, "column": 25 } } @@ -39701,15 +44541,15 @@ "postfix": false, "binop": null }, - "start": 6627, - "end": 6628, + "start": 7901, + "end": 7902, "loc": { "start": { - "line": 214, + "line": 258, "column": 4 }, "end": { - "line": 214, + "line": 258, "column": 5 } } @@ -39717,15 +44557,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6634, - "end": 6825, + "start": 7908, + "end": 8099, "loc": { "start": { - "line": 215, + "line": 259, "column": 4 }, "end": { - "line": 219, + "line": 263, "column": 7 } } @@ -39743,15 +44583,15 @@ "binop": null }, "value": "setAllFrameDelays", - "start": 6831, - "end": 6848, + "start": 8105, + "end": 8122, "loc": { "start": { - "line": 220, + "line": 264, "column": 4 }, "end": { - "line": 220, + "line": 264, "column": 21 } } @@ -39768,15 +44608,15 @@ "postfix": false, "binop": null }, - "start": 6848, - "end": 6849, + "start": 8122, + "end": 8123, "loc": { "start": { - "line": 220, + "line": 264, "column": 21 }, "end": { - "line": 220, + "line": 264, "column": 22 } } @@ -39794,15 +44634,15 @@ "binop": null }, "value": "pDelay", - "start": 6849, - "end": 6855, + "start": 8123, + "end": 8129, "loc": { "start": { - "line": 220, + "line": 264, "column": 22 }, "end": { - "line": 220, + "line": 264, "column": 28 } } @@ -39819,15 +44659,15 @@ "postfix": false, "binop": null }, - "start": 6855, - "end": 6856, + "start": 8129, + "end": 8130, "loc": { "start": { - "line": 220, + "line": 264, "column": 28 }, "end": { - "line": 220, + "line": 264, "column": 29 } } @@ -39844,15 +44684,15 @@ "postfix": false, "binop": null }, - "start": 6857, - "end": 6858, + "start": 8131, + "end": 8132, "loc": { "start": { - "line": 220, + "line": 264, "column": 30 }, "end": { - "line": 220, + "line": 264, "column": 31 } } @@ -39872,15 +44712,15 @@ "updateContext": null }, "value": "if", - "start": 6868, - "end": 6870, + "start": 8142, + "end": 8144, "loc": { "start": { - "line": 221, + "line": 265, "column": 8 }, "end": { - "line": 221, + "line": 265, "column": 10 } } @@ -39897,15 +44737,15 @@ "postfix": false, "binop": null }, - "start": 6871, - "end": 6872, + "start": 8145, + "end": 8146, "loc": { "start": { - "line": 221, + "line": 265, "column": 11 }, "end": { - "line": 221, + "line": 265, "column": 12 } } @@ -39923,15 +44763,15 @@ "binop": null }, "value": "pDelay", - "start": 6872, - "end": 6878, + "start": 8146, + "end": 8152, "loc": { "start": { - "line": 221, + "line": 265, "column": 12 }, "end": { - "line": 221, + "line": 265, "column": 18 } } @@ -39948,15 +44788,15 @@ "postfix": false, "binop": null }, - "start": 6878, - "end": 6879, + "start": 8152, + "end": 8153, "loc": { "start": { - "line": 221, + "line": 265, "column": 18 }, "end": { - "line": 221, + "line": 265, "column": 19 } } @@ -39973,15 +44813,15 @@ "postfix": false, "binop": null }, - "start": 6880, - "end": 6881, + "start": 8154, + "end": 8155, "loc": { "start": { - "line": 221, + "line": 265, "column": 20 }, "end": { - "line": 221, + "line": 265, "column": 21 } } @@ -40001,15 +44841,15 @@ "updateContext": null }, "value": "if", - "start": 6895, - "end": 6897, + "start": 8169, + "end": 8171, "loc": { "start": { - "line": 222, + "line": 266, "column": 12 }, "end": { - "line": 222, + "line": 266, "column": 14 } } @@ -40026,15 +44866,15 @@ "postfix": false, "binop": null }, - "start": 6898, - "end": 6899, + "start": 8172, + "end": 8173, "loc": { "start": { - "line": 222, + "line": 266, "column": 15 }, "end": { - "line": 222, + "line": 266, "column": 16 } } @@ -40054,15 +44894,15 @@ "updateContext": null }, "value": "typeof", - "start": 6899, - "end": 6905, + "start": 8173, + "end": 8179, "loc": { "start": { - "line": 222, + "line": 266, "column": 16 }, "end": { - "line": 222, + "line": 266, "column": 22 } } @@ -40079,15 +44919,15 @@ "postfix": false, "binop": null }, - "start": 6905, - "end": 6906, + "start": 8179, + "end": 8180, "loc": { "start": { - "line": 222, + "line": 266, "column": 22 }, "end": { - "line": 222, + "line": 266, "column": 23 } } @@ -40105,15 +44945,15 @@ "binop": null }, "value": "pDelay", - "start": 6906, - "end": 6912, + "start": 8180, + "end": 8186, "loc": { "start": { - "line": 222, + "line": 266, "column": 23 }, "end": { - "line": 222, + "line": 266, "column": 29 } } @@ -40130,15 +44970,15 @@ "postfix": false, "binop": null }, - "start": 6912, - "end": 6913, + "start": 8186, + "end": 8187, "loc": { "start": { - "line": 222, + "line": 266, "column": 29 }, "end": { - "line": 222, + "line": 266, "column": 30 } } @@ -40157,15 +44997,15 @@ "updateContext": null }, "value": "===", - "start": 6914, - "end": 6917, + "start": 8188, + "end": 8191, "loc": { "start": { - "line": 222, + "line": 266, "column": 31 }, "end": { - "line": 222, + "line": 266, "column": 34 } } @@ -40184,15 +45024,15 @@ "updateContext": null }, "value": "number", - "start": 6918, - "end": 6926, + "start": 8192, + "end": 8200, "loc": { "start": { - "line": 222, + "line": 266, "column": 35 }, "end": { - "line": 222, + "line": 266, "column": 43 } } @@ -40209,15 +45049,15 @@ "postfix": false, "binop": null }, - "start": 6926, - "end": 6927, + "start": 8200, + "end": 8201, "loc": { "start": { - "line": 222, + "line": 266, "column": 43 }, "end": { - "line": 222, + "line": 266, "column": 44 } } @@ -40234,15 +45074,15 @@ "postfix": false, "binop": null }, - "start": 6928, - "end": 6929, + "start": 8202, + "end": 8203, "loc": { "start": { - "line": 222, + "line": 266, "column": 45 }, "end": { - "line": 222, + "line": 266, "column": 46 } } @@ -40262,15 +45102,15 @@ "updateContext": null }, "value": "this", - "start": 6947, - "end": 6951, + "start": 8221, + "end": 8225, "loc": { "start": { - "line": 223, + "line": 267, "column": 16 }, "end": { - "line": 223, + "line": 267, "column": 20 } } @@ -40288,15 +45128,15 @@ "binop": null, "updateContext": null }, - "start": 6951, - "end": 6952, + "start": 8225, + "end": 8226, "loc": { "start": { - "line": 223, + "line": 267, "column": 20 }, "end": { - "line": 223, + "line": 267, "column": 21 } } @@ -40314,15 +45154,15 @@ "binop": null }, "value": "setDelay", - "start": 6952, - "end": 6960, + "start": 8226, + "end": 8234, "loc": { "start": { - "line": 223, + "line": 267, "column": 21 }, "end": { - "line": 223, + "line": 267, "column": 29 } } @@ -40339,15 +45179,15 @@ "postfix": false, "binop": null }, - "start": 6960, - "end": 6961, + "start": 8234, + "end": 8235, "loc": { "start": { - "line": 223, + "line": 267, "column": 29 }, "end": { - "line": 223, + "line": 267, "column": 30 } } @@ -40365,15 +45205,15 @@ "binop": null }, "value": "pDelay", - "start": 6961, - "end": 6967, + "start": 8235, + "end": 8241, "loc": { "start": { - "line": 223, + "line": 267, "column": 30 }, "end": { - "line": 223, + "line": 267, "column": 36 } } @@ -40390,15 +45230,15 @@ "postfix": false, "binop": null }, - "start": 6967, - "end": 6968, + "start": 8241, + "end": 8242, "loc": { "start": { - "line": 223, + "line": 267, "column": 36 }, "end": { - "line": 223, + "line": 267, "column": 37 } } @@ -40416,15 +45256,15 @@ "binop": null, "updateContext": null }, - "start": 6968, - "end": 6969, + "start": 8242, + "end": 8243, "loc": { "start": { - "line": 223, + "line": 267, "column": 37 }, "end": { - "line": 223, + "line": 267, "column": 38 } } @@ -40444,15 +45284,15 @@ "updateContext": null }, "value": "this", - "start": 6987, - "end": 6991, + "start": 8261, + "end": 8265, "loc": { "start": { - "line": 224, + "line": 268, "column": 16 }, "end": { - "line": 224, + "line": 268, "column": 20 } } @@ -40470,15 +45310,15 @@ "binop": null, "updateContext": null }, - "start": 6991, - "end": 6992, + "start": 8265, + "end": 8266, "loc": { "start": { - "line": 224, + "line": 268, "column": 20 }, "end": { - "line": 224, + "line": 268, "column": 21 } } @@ -40496,15 +45336,15 @@ "binop": null }, "value": "frames", - "start": 6992, - "end": 6998, + "start": 8266, + "end": 8272, "loc": { "start": { - "line": 224, + "line": 268, "column": 21 }, "end": { - "line": 224, + "line": 268, "column": 27 } } @@ -40522,15 +45362,15 @@ "binop": null, "updateContext": null }, - "start": 6998, - "end": 6999, + "start": 8272, + "end": 8273, "loc": { "start": { - "line": 224, + "line": 268, "column": 27 }, "end": { - "line": 224, + "line": 268, "column": 28 } } @@ -40548,15 +45388,15 @@ "binop": null }, "value": "forEach", - "start": 6999, - "end": 7006, + "start": 8273, + "end": 8280, "loc": { "start": { - "line": 224, + "line": 268, "column": 28 }, "end": { - "line": 224, + "line": 268, "column": 35 } } @@ -40573,15 +45413,15 @@ "postfix": false, "binop": null }, - "start": 7006, - "end": 7007, + "start": 8280, + "end": 8281, "loc": { "start": { - "line": 224, + "line": 268, "column": 35 }, "end": { - "line": 224, + "line": 268, "column": 36 } } @@ -40598,15 +45438,15 @@ "postfix": false, "binop": null }, - "start": 7007, - "end": 7008, + "start": 8281, + "end": 8282, "loc": { "start": { - "line": 224, + "line": 268, "column": 36 }, "end": { - "line": 224, + "line": 268, "column": 37 } } @@ -40624,15 +45464,15 @@ "binop": null }, "value": "pFrame", - "start": 7008, - "end": 7014, + "start": 8282, + "end": 8288, "loc": { "start": { - "line": 224, + "line": 268, "column": 37 }, "end": { - "line": 224, + "line": 268, "column": 43 } } @@ -40649,15 +45489,15 @@ "postfix": false, "binop": null }, - "start": 7014, - "end": 7015, + "start": 8288, + "end": 8289, "loc": { "start": { - "line": 224, + "line": 268, "column": 43 }, "end": { - "line": 224, + "line": 268, "column": 44 } } @@ -40675,15 +45515,15 @@ "binop": null, "updateContext": null }, - "start": 7016, - "end": 7018, + "start": 8290, + "end": 8292, "loc": { "start": { - "line": 224, + "line": 268, "column": 45 }, "end": { - "line": 224, + "line": 268, "column": 47 } } @@ -40700,15 +45540,15 @@ "postfix": false, "binop": null }, - "start": 7019, - "end": 7020, + "start": 8293, + "end": 8294, "loc": { "start": { - "line": 224, + "line": 268, "column": 48 }, "end": { - "line": 224, + "line": 268, "column": 49 } } @@ -40726,15 +45566,15 @@ "binop": null }, "value": "pFrame", - "start": 7042, - "end": 7048, + "start": 8316, + "end": 8322, "loc": { "start": { - "line": 225, + "line": 269, "column": 20 }, "end": { - "line": 225, + "line": 269, "column": 26 } } @@ -40752,15 +45592,15 @@ "binop": null, "updateContext": null }, - "start": 7048, - "end": 7049, + "start": 8322, + "end": 8323, "loc": { "start": { - "line": 225, + "line": 269, "column": 26 }, "end": { - "line": 225, + "line": 269, "column": 27 } } @@ -40778,15 +45618,15 @@ "binop": null }, "value": "setDelay", - "start": 7049, - "end": 7057, + "start": 8323, + "end": 8331, "loc": { "start": { - "line": 225, + "line": 269, "column": 27 }, "end": { - "line": 225, + "line": 269, "column": 35 } } @@ -40803,15 +45643,15 @@ "postfix": false, "binop": null }, - "start": 7057, - "end": 7058, + "start": 8331, + "end": 8332, "loc": { "start": { - "line": 225, + "line": 269, "column": 35 }, "end": { - "line": 225, + "line": 269, "column": 36 } } @@ -40829,15 +45669,15 @@ "binop": null }, "value": "pDelay", - "start": 7058, - "end": 7064, + "start": 8332, + "end": 8338, "loc": { "start": { - "line": 225, + "line": 269, "column": 36 }, "end": { - "line": 225, + "line": 269, "column": 42 } } @@ -40854,15 +45694,15 @@ "postfix": false, "binop": null }, - "start": 7064, - "end": 7065, + "start": 8338, + "end": 8339, "loc": { "start": { - "line": 225, + "line": 269, "column": 42 }, "end": { - "line": 225, + "line": 269, "column": 43 } } @@ -40880,15 +45720,15 @@ "binop": null, "updateContext": null }, - "start": 7065, - "end": 7066, + "start": 8339, + "end": 8340, "loc": { "start": { - "line": 225, + "line": 269, "column": 43 }, "end": { - "line": 225, + "line": 269, "column": 44 } } @@ -40905,15 +45745,15 @@ "postfix": false, "binop": null }, - "start": 7084, - "end": 7085, + "start": 8358, + "end": 8359, "loc": { "start": { - "line": 226, + "line": 270, "column": 16 }, "end": { - "line": 226, + "line": 270, "column": 17 } } @@ -40930,15 +45770,15 @@ "postfix": false, "binop": null }, - "start": 7085, - "end": 7086, + "start": 8359, + "end": 8360, "loc": { "start": { - "line": 226, + "line": 270, "column": 17 }, "end": { - "line": 226, + "line": 270, "column": 18 } } @@ -40956,15 +45796,15 @@ "binop": null, "updateContext": null }, - "start": 7086, - "end": 7087, + "start": 8360, + "end": 8361, "loc": { "start": { - "line": 226, + "line": 270, "column": 18 }, "end": { - "line": 226, + "line": 270, "column": 19 } } @@ -40981,15 +45821,15 @@ "postfix": false, "binop": null }, - "start": 7101, - "end": 7102, + "start": 8375, + "end": 8376, "loc": { "start": { - "line": 227, + "line": 271, "column": 12 }, "end": { - "line": 227, + "line": 271, "column": 13 } } @@ -41009,15 +45849,15 @@ "updateContext": null }, "value": "else", - "start": 7103, - "end": 7107, + "start": 8377, + "end": 8381, "loc": { "start": { - "line": 227, + "line": 271, "column": 14 }, "end": { - "line": 227, + "line": 271, "column": 18 } } @@ -41034,15 +45874,15 @@ "postfix": false, "binop": null }, - "start": 7108, - "end": 7109, + "start": 8382, + "end": 8383, "loc": { "start": { - "line": 227, + "line": 271, "column": 19 }, "end": { - "line": 227, + "line": 271, "column": 20 } } @@ -41060,15 +45900,15 @@ "binop": null }, "value": "VYI", - "start": 7127, - "end": 7130, + "start": 8401, + "end": 8404, "loc": { "start": { - "line": 228, + "line": 272, "column": 16 }, "end": { - "line": 228, + "line": 272, "column": 19 } } @@ -41086,15 +45926,15 @@ "binop": null, "updateContext": null }, - "start": 7130, - "end": 7131, + "start": 8404, + "end": 8405, "loc": { "start": { - "line": 228, + "line": 272, "column": 19 }, "end": { - "line": 228, + "line": 272, "column": 20 } } @@ -41112,15 +45952,15 @@ "binop": null }, "value": "logger", - "start": 7131, - "end": 7137, + "start": 8405, + "end": 8411, "loc": { "start": { - "line": 228, + "line": 272, "column": 20 }, "end": { - "line": 228, + "line": 272, "column": 26 } } @@ -41138,15 +45978,15 @@ "binop": null, "updateContext": null }, - "start": 7137, - "end": 7138, + "start": 8411, + "end": 8412, "loc": { "start": { - "line": 228, + "line": 272, "column": 26 }, "end": { - "line": 228, + "line": 272, "column": 27 } } @@ -41164,15 +46004,15 @@ "binop": null }, "value": "prefix", - "start": 7138, - "end": 7144, + "start": 8412, + "end": 8418, "loc": { "start": { - "line": 228, + "line": 272, "column": 27 }, "end": { - "line": 228, + "line": 272, "column": 33 } } @@ -41189,15 +46029,15 @@ "postfix": false, "binop": null }, - "start": 7144, - "end": 7145, + "start": 8418, + "end": 8419, "loc": { "start": { - "line": 228, + "line": 272, "column": 33 }, "end": { - "line": 228, + "line": 272, "column": 34 } } @@ -41216,15 +46056,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 7145, - "end": 7157, + "start": 8419, + "end": 8431, "loc": { "start": { - "line": 228, + "line": 272, "column": 34 }, "end": { - "line": 228, + "line": 272, "column": 46 } } @@ -41241,15 +46081,15 @@ "postfix": false, "binop": null }, - "start": 7157, - "end": 7158, + "start": 8431, + "end": 8432, "loc": { "start": { - "line": 228, + "line": 272, "column": 46 }, "end": { - "line": 228, + "line": 272, "column": 47 } } @@ -41267,15 +46107,15 @@ "binop": null, "updateContext": null }, - "start": 7158, - "end": 7159, + "start": 8432, + "end": 8433, "loc": { "start": { - "line": 228, + "line": 272, "column": 47 }, "end": { - "line": 228, + "line": 272, "column": 48 } } @@ -41293,15 +46133,15 @@ "binop": null }, "value": "error", - "start": 7159, - "end": 7164, + "start": 8433, + "end": 8438, "loc": { "start": { - "line": 228, + "line": 272, "column": 48 }, "end": { - "line": 228, + "line": 272, "column": 53 } } @@ -41318,15 +46158,15 @@ "postfix": false, "binop": null }, - "start": 7164, - "end": 7165, + "start": 8438, + "end": 8439, "loc": { "start": { - "line": 228, + "line": 272, "column": 53 }, "end": { - "line": 228, + "line": 272, "column": 54 } } @@ -41345,15 +46185,15 @@ "updateContext": null }, "value": "Invalid type for pDelay!", - "start": 7165, - "end": 7191, + "start": 8439, + "end": 8465, "loc": { "start": { - "line": 228, + "line": 272, "column": 54 }, "end": { - "line": 228, + "line": 272, "column": 80 } } @@ -41370,15 +46210,15 @@ "postfix": false, "binop": null }, - "start": 7191, - "end": 7192, + "start": 8465, + "end": 8466, "loc": { "start": { - "line": 228, + "line": 272, "column": 80 }, "end": { - "line": 228, + "line": 272, "column": 81 } } @@ -41396,15 +46236,15 @@ "binop": null, "updateContext": null }, - "start": 7192, - "end": 7193, + "start": 8466, + "end": 8467, "loc": { "start": { - "line": 228, + "line": 272, "column": 81 }, "end": { - "line": 228, + "line": 272, "column": 82 } } @@ -41421,15 +46261,15 @@ "postfix": false, "binop": null }, - "start": 7207, - "end": 7208, + "start": 8481, + "end": 8482, "loc": { "start": { - "line": 229, + "line": 273, "column": 12 }, "end": { - "line": 229, + "line": 273, "column": 13 } } @@ -41446,15 +46286,15 @@ "postfix": false, "binop": null }, - "start": 7218, - "end": 7219, + "start": 8492, + "end": 8493, "loc": { "start": { - "line": 230, + "line": 274, "column": 8 }, "end": { - "line": 230, + "line": 274, "column": 9 } } @@ -41474,15 +46314,15 @@ "updateContext": null }, "value": "return", - "start": 7229, - "end": 7235, + "start": 8503, + "end": 8509, "loc": { "start": { - "line": 231, + "line": 275, "column": 8 }, "end": { - "line": 231, + "line": 275, "column": 14 } } @@ -41502,15 +46342,15 @@ "updateContext": null }, "value": "this", - "start": 7236, - "end": 7240, + "start": 8510, + "end": 8514, "loc": { "start": { - "line": 231, + "line": 275, "column": 15 }, "end": { - "line": 231, + "line": 275, "column": 19 } } @@ -41528,15 +46368,15 @@ "binop": null, "updateContext": null }, - "start": 7240, - "end": 7241, + "start": 8514, + "end": 8515, "loc": { "start": { - "line": 231, + "line": 275, "column": 19 }, "end": { - "line": 231, + "line": 275, "column": 20 } } @@ -41553,15 +46393,15 @@ "postfix": false, "binop": null }, - "start": 7247, - "end": 7248, + "start": 8521, + "end": 8522, "loc": { "start": { - "line": 232, + "line": 276, "column": 4 }, "end": { - "line": 232, + "line": 276, "column": 5 } } @@ -41569,15 +46409,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 7254, - "end": 7481, + "start": 8528, + "end": 8755, "loc": { "start": { - "line": 233, + "line": 277, "column": 4 }, "end": { - "line": 237, + "line": 281, "column": 7 } } @@ -41595,15 +46435,15 @@ "binop": null }, "value": "addState", - "start": 7487, - "end": 7495, + "start": 8761, + "end": 8769, "loc": { "start": { - "line": 238, + "line": 282, "column": 4 }, "end": { - "line": 238, + "line": 282, "column": 12 } } @@ -41620,15 +46460,15 @@ "postfix": false, "binop": null }, - "start": 7495, - "end": 7496, + "start": 8769, + "end": 8770, "loc": { "start": { - "line": 238, + "line": 282, "column": 12 }, "end": { - "line": 238, + "line": 282, "column": 13 } } @@ -41646,15 +46486,15 @@ "binop": null }, "value": "pIconData", - "start": 7496, - "end": 7505, + "start": 8770, + "end": 8779, "loc": { "start": { - "line": 238, + "line": 282, "column": 13 }, "end": { - "line": 238, + "line": 282, "column": 22 } } @@ -41671,15 +46511,15 @@ "postfix": false, "binop": null }, - "start": 7505, - "end": 7506, + "start": 8779, + "end": 8780, "loc": { "start": { - "line": 238, + "line": 282, "column": 22 }, "end": { - "line": 238, + "line": 282, "column": 23 } } @@ -41696,15 +46536,15 @@ "postfix": false, "binop": null }, - "start": 7507, - "end": 7508, + "start": 8781, + "end": 8782, "loc": { "start": { - "line": 238, + "line": 282, "column": 24 }, "end": { - "line": 238, + "line": 282, "column": 25 } } @@ -41724,15 +46564,15 @@ "updateContext": null }, "value": "if", - "start": 7518, - "end": 7520, + "start": 8792, + "end": 8794, "loc": { "start": { - "line": 239, + "line": 283, "column": 8 }, "end": { - "line": 239, + "line": 283, "column": 10 } } @@ -41749,15 +46589,15 @@ "postfix": false, "binop": null }, - "start": 7521, - "end": 7522, + "start": 8795, + "end": 8796, "loc": { "start": { - "line": 239, + "line": 283, "column": 11 }, "end": { - "line": 239, + "line": 283, "column": 12 } } @@ -41775,15 +46615,15 @@ "binop": null }, "value": "pIconData", - "start": 7522, - "end": 7531, + "start": 8796, + "end": 8805, "loc": { "start": { - "line": 239, + "line": 283, "column": 12 }, "end": { - "line": 239, + "line": 283, "column": 21 } } @@ -41803,15 +46643,15 @@ "updateContext": null }, "value": "instanceof", - "start": 7532, - "end": 7542, + "start": 8806, + "end": 8816, "loc": { "start": { - "line": 239, + "line": 283, "column": 22 }, "end": { - "line": 239, + "line": 283, "column": 32 } } @@ -41829,15 +46669,15 @@ "binop": null }, "value": "Object", - "start": 7543, - "end": 7549, + "start": 8817, + "end": 8823, "loc": { "start": { - "line": 239, + "line": 283, "column": 33 }, "end": { - "line": 239, + "line": 283, "column": 39 } } @@ -41854,15 +46694,15 @@ "postfix": false, "binop": null }, - "start": 7549, - "end": 7550, + "start": 8823, + "end": 8824, "loc": { "start": { - "line": 239, + "line": 283, "column": 39 }, "end": { - "line": 239, + "line": 283, "column": 40 } } @@ -41879,15 +46719,15 @@ "postfix": false, "binop": null }, - "start": 7551, - "end": 7552, + "start": 8825, + "end": 8826, "loc": { "start": { - "line": 239, + "line": 283, "column": 41 }, "end": { - "line": 239, + "line": 283, "column": 42 } } @@ -41907,15 +46747,15 @@ "updateContext": null }, "value": "const", - "start": 7566, - "end": 7571, + "start": 8840, + "end": 8845, "loc": { "start": { - "line": 240, + "line": 284, "column": 12 }, "end": { - "line": 240, + "line": 284, "column": 17 } } @@ -41933,15 +46773,15 @@ "binop": null }, "value": "state", - "start": 7572, - "end": 7577, + "start": 8846, + "end": 8851, "loc": { "start": { - "line": 240, + "line": 284, "column": 18 }, "end": { - "line": 240, + "line": 284, "column": 23 } } @@ -41960,15 +46800,15 @@ "updateContext": null }, "value": "=", - "start": 7578, - "end": 7579, + "start": 8852, + "end": 8853, "loc": { "start": { - "line": 240, + "line": 284, "column": 24 }, "end": { - "line": 240, + "line": 284, "column": 25 } } @@ -41988,15 +46828,15 @@ "updateContext": null }, "value": "new", - "start": 7580, - "end": 7583, + "start": 8854, + "end": 8857, "loc": { "start": { - "line": 240, + "line": 284, "column": 26 }, "end": { - "line": 240, + "line": 284, "column": 29 } } @@ -42014,15 +46854,15 @@ "binop": null }, "value": "Icon", - "start": 7584, - "end": 7588, + "start": 8858, + "end": 8862, "loc": { "start": { - "line": 240, + "line": 284, "column": 30 }, "end": { - "line": 240, + "line": 284, "column": 34 } } @@ -42039,15 +46879,15 @@ "postfix": false, "binop": null }, - "start": 7588, - "end": 7589, + "start": 8862, + "end": 8863, "loc": { "start": { - "line": 240, + "line": 284, "column": 34 }, "end": { - "line": 240, + "line": 284, "column": 35 } } @@ -42065,15 +46905,15 @@ "binop": null }, "value": "pIconData", - "start": 7589, - "end": 7598, + "start": 8863, + "end": 8872, "loc": { "start": { - "line": 240, + "line": 284, "column": 35 }, "end": { - "line": 240, + "line": 284, "column": 44 } } @@ -42091,15 +46931,15 @@ "binop": null, "updateContext": null }, - "start": 7598, - "end": 7599, + "start": 8872, + "end": 8873, "loc": { "start": { - "line": 240, + "line": 284, "column": 44 }, "end": { - "line": 240, + "line": 284, "column": 45 } } @@ -42119,15 +46959,15 @@ "updateContext": null }, "value": "this", - "start": 7600, - "end": 7604, + "start": 8874, + "end": 8878, "loc": { "start": { - "line": 240, + "line": 284, "column": 46 }, "end": { - "line": 240, + "line": 284, "column": 50 } } @@ -42145,15 +46985,15 @@ "binop": null, "updateContext": null }, - "start": 7604, - "end": 7605, + "start": 8878, + "end": 8879, "loc": { "start": { - "line": 240, + "line": 284, "column": 50 }, "end": { - "line": 240, + "line": 284, "column": 51 } } @@ -42171,15 +47011,15 @@ "binop": null }, "value": "vyi", - "start": 7605, - "end": 7608, + "start": 8879, + "end": 8882, "loc": { "start": { - "line": 240, + "line": 284, "column": 51 }, "end": { - "line": 240, + "line": 284, "column": 54 } } @@ -42196,15 +47036,15 @@ "postfix": false, "binop": null }, - "start": 7608, - "end": 7609, + "start": 8882, + "end": 8883, "loc": { "start": { - "line": 240, + "line": 284, "column": 54 }, "end": { - "line": 240, + "line": 284, "column": 55 } } @@ -42222,15 +47062,15 @@ "binop": null, "updateContext": null }, - "start": 7609, - "end": 7610, + "start": 8883, + "end": 8884, "loc": { "start": { - "line": 240, + "line": 284, "column": 55 }, "end": { - "line": 240, + "line": 284, "column": 56 } } @@ -42248,15 +47088,15 @@ "binop": null }, "value": "state", - "start": 7624, - "end": 7629, + "start": 8898, + "end": 8903, "loc": { "start": { - "line": 241, + "line": 285, "column": 12 }, "end": { - "line": 241, + "line": 285, "column": 17 } } @@ -42274,15 +47114,15 @@ "binop": null, "updateContext": null }, - "start": 7629, - "end": 7630, + "start": 8903, + "end": 8904, "loc": { "start": { - "line": 241, + "line": 285, "column": 17 }, "end": { - "line": 241, + "line": 285, "column": 18 } } @@ -42300,15 +47140,15 @@ "binop": null }, "value": "parent", - "start": 7630, - "end": 7636, + "start": 8904, + "end": 8910, "loc": { "start": { - "line": 241, + "line": 285, "column": 18 }, "end": { - "line": 241, + "line": 285, "column": 24 } } @@ -42327,15 +47167,15 @@ "updateContext": null }, "value": "=", - "start": 7637, - "end": 7638, + "start": 8911, + "end": 8912, "loc": { "start": { - "line": 241, + "line": 285, "column": 25 }, "end": { - "line": 241, + "line": 285, "column": 26 } } @@ -42355,15 +47195,15 @@ "updateContext": null }, "value": "this", - "start": 7639, - "end": 7643, + "start": 8913, + "end": 8917, "loc": { "start": { - "line": 241, + "line": 285, "column": 27 }, "end": { - "line": 241, + "line": 285, "column": 31 } } @@ -42381,15 +47221,15 @@ "binop": null, "updateContext": null }, - "start": 7643, - "end": 7644, + "start": 8917, + "end": 8918, "loc": { "start": { - "line": 241, + "line": 285, "column": 31 }, "end": { - "line": 241, + "line": 285, "column": 32 } } @@ -42409,15 +47249,15 @@ "updateContext": null }, "value": "this", - "start": 7658, - "end": 7662, + "start": 8932, + "end": 8936, "loc": { "start": { - "line": 242, + "line": 286, "column": 12 }, "end": { - "line": 242, + "line": 286, "column": 16 } } @@ -42435,15 +47275,15 @@ "binop": null, "updateContext": null }, - "start": 7662, - "end": 7663, + "start": 8936, + "end": 8937, "loc": { "start": { - "line": 242, + "line": 286, "column": 16 }, "end": { - "line": 242, + "line": 286, "column": 17 } } @@ -42461,15 +47301,15 @@ "binop": null }, "value": "states", - "start": 7663, - "end": 7669, + "start": 8937, + "end": 8943, "loc": { "start": { - "line": 242, + "line": 286, "column": 17 }, "end": { - "line": 242, + "line": 286, "column": 23 } } @@ -42487,15 +47327,15 @@ "binop": null, "updateContext": null }, - "start": 7669, - "end": 7670, + "start": 8943, + "end": 8944, "loc": { "start": { - "line": 242, + "line": 286, "column": 23 }, "end": { - "line": 242, + "line": 286, "column": 24 } } @@ -42513,15 +47353,15 @@ "binop": null }, "value": "push", - "start": 7670, - "end": 7674, + "start": 8944, + "end": 8948, "loc": { "start": { - "line": 242, + "line": 286, "column": 24 }, "end": { - "line": 242, + "line": 286, "column": 28 } } @@ -42538,15 +47378,15 @@ "postfix": false, "binop": null }, - "start": 7674, - "end": 7675, + "start": 8948, + "end": 8949, "loc": { "start": { - "line": 242, + "line": 286, "column": 28 }, "end": { - "line": 242, + "line": 286, "column": 29 } } @@ -42564,15 +47404,15 @@ "binop": null }, "value": "state", - "start": 7675, - "end": 7680, + "start": 8949, + "end": 8954, "loc": { "start": { - "line": 242, + "line": 286, "column": 29 }, "end": { - "line": 242, + "line": 286, "column": 34 } } @@ -42589,15 +47429,15 @@ "postfix": false, "binop": null }, - "start": 7680, - "end": 7681, + "start": 8954, + "end": 8955, "loc": { "start": { - "line": 242, + "line": 286, "column": 34 }, "end": { - "line": 242, + "line": 286, "column": 35 } } @@ -42615,15 +47455,15 @@ "binop": null, "updateContext": null }, - "start": 7681, - "end": 7682, + "start": 8955, + "end": 8956, "loc": { "start": { - "line": 242, + "line": 286, "column": 35 }, "end": { - "line": 242, + "line": 286, "column": 36 } } @@ -42643,15 +47483,15 @@ "updateContext": null }, "value": "return", - "start": 7696, - "end": 7702, + "start": 8970, + "end": 8976, "loc": { "start": { - "line": 243, + "line": 287, "column": 12 }, "end": { - "line": 243, + "line": 287, "column": 18 } } @@ -42669,15 +47509,15 @@ "binop": null }, "value": "state", - "start": 7703, - "end": 7708, + "start": 8977, + "end": 8982, "loc": { "start": { - "line": 243, + "line": 287, "column": 19 }, "end": { - "line": 243, + "line": 287, "column": 24 } } @@ -42695,15 +47535,15 @@ "binop": null, "updateContext": null }, - "start": 7708, - "end": 7709, + "start": 8982, + "end": 8983, "loc": { "start": { - "line": 243, + "line": 287, "column": 24 }, "end": { - "line": 243, + "line": 287, "column": 25 } } @@ -42720,15 +47560,15 @@ "postfix": false, "binop": null }, - "start": 7719, - "end": 7720, + "start": 8993, + "end": 8994, "loc": { "start": { - "line": 244, + "line": 288, "column": 8 }, "end": { - "line": 244, + "line": 288, "column": 9 } } @@ -42745,15 +47585,15 @@ "postfix": false, "binop": null }, - "start": 7726, - "end": 7727, + "start": 9000, + "end": 9001, "loc": { "start": { - "line": 245, + "line": 289, "column": 4 }, "end": { - "line": 245, + "line": 289, "column": 5 } } @@ -42761,15 +47601,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7733, - "end": 8114, + "start": 9007, + "end": 9388, "loc": { "start": { - "line": 246, + "line": 290, "column": 4 }, "end": { - "line": 251, + "line": 295, "column": 7 } } @@ -42787,15 +47627,15 @@ "binop": null }, "value": "removeState", - "start": 8120, - "end": 8131, + "start": 9394, + "end": 9405, "loc": { "start": { - "line": 252, + "line": 296, "column": 4 }, "end": { - "line": 252, + "line": 296, "column": 15 } } @@ -42812,15 +47652,15 @@ "postfix": false, "binop": null }, - "start": 8131, - "end": 8132, + "start": 9405, + "end": 9406, "loc": { "start": { - "line": 252, + "line": 296, "column": 15 }, "end": { - "line": 252, + "line": 296, "column": 16 } } @@ -42838,15 +47678,15 @@ "binop": null }, "value": "pState", - "start": 8132, - "end": 8138, + "start": 9406, + "end": 9412, "loc": { "start": { - "line": 252, + "line": 296, "column": 16 }, "end": { - "line": 252, + "line": 296, "column": 22 } } @@ -42864,15 +47704,15 @@ "binop": null, "updateContext": null }, - "start": 8138, - "end": 8139, + "start": 9412, + "end": 9413, "loc": { "start": { - "line": 252, + "line": 296, "column": 22 }, "end": { - "line": 252, + "line": 296, "column": 23 } } @@ -42890,15 +47730,15 @@ "binop": null }, "value": "pName", - "start": 8140, - "end": 8145, + "start": 9414, + "end": 9419, "loc": { "start": { - "line": 252, + "line": 296, "column": 24 }, "end": { - "line": 252, + "line": 296, "column": 29 } } @@ -42915,15 +47755,15 @@ "postfix": false, "binop": null }, - "start": 8145, - "end": 8146, + "start": 9419, + "end": 9420, "loc": { "start": { - "line": 252, + "line": 296, "column": 29 }, "end": { - "line": 252, + "line": 296, "column": 30 } } @@ -42940,15 +47780,15 @@ "postfix": false, "binop": null }, - "start": 8147, - "end": 8148, + "start": 9421, + "end": 9422, "loc": { "start": { - "line": 252, + "line": 296, "column": 31 }, "end": { - "line": 252, + "line": 296, "column": 32 } } @@ -42956,15 +47796,15 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 8158, - "end": 8197, + "start": 9432, + "end": 9471, "loc": { "start": { - "line": 253, + "line": 297, "column": 8 }, "end": { - "line": 253, + "line": 297, "column": 47 } } @@ -42984,15 +47824,15 @@ "updateContext": null }, "value": "let", - "start": 8207, - "end": 8210, + "start": 9481, + "end": 9484, "loc": { "start": { - "line": 254, + "line": 298, "column": 8 }, "end": { - "line": 254, + "line": 298, "column": 11 } } @@ -43010,15 +47850,15 @@ "binop": null }, "value": "index", - "start": 8211, - "end": 8216, + "start": 9485, + "end": 9490, "loc": { "start": { - "line": 254, + "line": 298, "column": 12 }, "end": { - "line": 254, + "line": 298, "column": 17 } } @@ -43036,15 +47876,15 @@ "binop": null, "updateContext": null }, - "start": 8216, - "end": 8217, + "start": 9490, + "end": 9491, "loc": { "start": { - "line": 254, + "line": 298, "column": 17 }, "end": { - "line": 254, + "line": 298, "column": 18 } } @@ -43052,15 +47892,15 @@ { "type": "CommentLine", "value": " Remove via reference to state.", - "start": 8227, - "end": 8260, + "start": 9501, + "end": 9534, "loc": { "start": { - "line": 255, + "line": 299, "column": 8 }, "end": { - "line": 255, + "line": 299, "column": 41 } } @@ -43080,15 +47920,15 @@ "updateContext": null }, "value": "if", - "start": 8270, - "end": 8272, + "start": 9544, + "end": 9546, "loc": { "start": { - "line": 256, + "line": 300, "column": 8 }, "end": { - "line": 256, + "line": 300, "column": 10 } } @@ -43105,15 +47945,15 @@ "postfix": false, "binop": null }, - "start": 8273, - "end": 8274, + "start": 9547, + "end": 9548, "loc": { "start": { - "line": 256, + "line": 300, "column": 11 }, "end": { - "line": 256, + "line": 300, "column": 12 } } @@ -43133,15 +47973,15 @@ "updateContext": null }, "value": "this", - "start": 8274, - "end": 8278, + "start": 9548, + "end": 9552, "loc": { "start": { - "line": 256, + "line": 300, "column": 12 }, "end": { - "line": 256, + "line": 300, "column": 16 } } @@ -43159,15 +47999,15 @@ "binop": null, "updateContext": null }, - "start": 8278, - "end": 8279, + "start": 9552, + "end": 9553, "loc": { "start": { - "line": 256, + "line": 300, "column": 16 }, "end": { - "line": 256, + "line": 300, "column": 17 } } @@ -43185,15 +48025,15 @@ "binop": null }, "value": "states", - "start": 8279, - "end": 8285, + "start": 9553, + "end": 9559, "loc": { "start": { - "line": 256, + "line": 300, "column": 17 }, "end": { - "line": 256, + "line": 300, "column": 23 } } @@ -43211,15 +48051,15 @@ "binop": null, "updateContext": null }, - "start": 8285, - "end": 8286, + "start": 9559, + "end": 9560, "loc": { "start": { - "line": 256, + "line": 300, "column": 23 }, "end": { - "line": 256, + "line": 300, "column": 24 } } @@ -43237,15 +48077,15 @@ "binop": null }, "value": "includes", - "start": 8286, - "end": 8294, + "start": 9560, + "end": 9568, "loc": { "start": { - "line": 256, + "line": 300, "column": 24 }, "end": { - "line": 256, + "line": 300, "column": 32 } } @@ -43262,15 +48102,15 @@ "postfix": false, "binop": null }, - "start": 8294, - "end": 8295, + "start": 9568, + "end": 9569, "loc": { "start": { - "line": 256, + "line": 300, "column": 32 }, "end": { - "line": 256, + "line": 300, "column": 33 } } @@ -43288,15 +48128,15 @@ "binop": null }, "value": "pState", - "start": 8295, - "end": 8301, + "start": 9569, + "end": 9575, "loc": { "start": { - "line": 256, + "line": 300, "column": 33 }, "end": { - "line": 256, + "line": 300, "column": 39 } } @@ -43313,15 +48153,15 @@ "postfix": false, "binop": null }, - "start": 8301, - "end": 8302, + "start": 9575, + "end": 9576, "loc": { "start": { - "line": 256, + "line": 300, "column": 39 }, "end": { - "line": 256, + "line": 300, "column": 40 } } @@ -43338,15 +48178,15 @@ "postfix": false, "binop": null }, - "start": 8302, - "end": 8303, + "start": 9576, + "end": 9577, "loc": { "start": { - "line": 256, + "line": 300, "column": 40 }, "end": { - "line": 256, + "line": 300, "column": 41 } } @@ -43363,15 +48203,15 @@ "postfix": false, "binop": null }, - "start": 8304, - "end": 8305, + "start": 9578, + "end": 9579, "loc": { "start": { - "line": 256, + "line": 300, "column": 42 }, "end": { - "line": 256, + "line": 300, "column": 43 } } @@ -43389,15 +48229,15 @@ "binop": null }, "value": "index", - "start": 8319, - "end": 8324, + "start": 9593, + "end": 9598, "loc": { "start": { - "line": 257, + "line": 301, "column": 12 }, "end": { - "line": 257, + "line": 301, "column": 17 } } @@ -43416,15 +48256,15 @@ "updateContext": null }, "value": "=", - "start": 8325, - "end": 8326, + "start": 9599, + "end": 9600, "loc": { "start": { - "line": 257, + "line": 301, "column": 18 }, "end": { - "line": 257, + "line": 301, "column": 19 } } @@ -43444,15 +48284,15 @@ "updateContext": null }, "value": "this", - "start": 8327, - "end": 8331, + "start": 9601, + "end": 9605, "loc": { "start": { - "line": 257, + "line": 301, "column": 20 }, "end": { - "line": 257, + "line": 301, "column": 24 } } @@ -43470,15 +48310,15 @@ "binop": null, "updateContext": null }, - "start": 8331, - "end": 8332, + "start": 9605, + "end": 9606, "loc": { "start": { - "line": 257, + "line": 301, "column": 24 }, "end": { - "line": 257, + "line": 301, "column": 25 } } @@ -43496,15 +48336,15 @@ "binop": null }, "value": "states", - "start": 8332, - "end": 8338, + "start": 9606, + "end": 9612, "loc": { "start": { - "line": 257, + "line": 301, "column": 25 }, "end": { - "line": 257, + "line": 301, "column": 31 } } @@ -43522,15 +48362,15 @@ "binop": null, "updateContext": null }, - "start": 8338, - "end": 8339, + "start": 9612, + "end": 9613, "loc": { "start": { - "line": 257, + "line": 301, "column": 31 }, "end": { - "line": 257, + "line": 301, "column": 32 } } @@ -43548,15 +48388,15 @@ "binop": null }, "value": "indexOf", - "start": 8339, - "end": 8346, + "start": 9613, + "end": 9620, "loc": { "start": { - "line": 257, + "line": 301, "column": 32 }, "end": { - "line": 257, + "line": 301, "column": 39 } } @@ -43573,15 +48413,15 @@ "postfix": false, "binop": null }, - "start": 8346, - "end": 8347, + "start": 9620, + "end": 9621, "loc": { "start": { - "line": 257, + "line": 301, "column": 39 }, "end": { - "line": 257, + "line": 301, "column": 40 } } @@ -43599,15 +48439,15 @@ "binop": null }, "value": "pState", - "start": 8347, - "end": 8353, + "start": 9621, + "end": 9627, "loc": { "start": { - "line": 257, + "line": 301, "column": 40 }, "end": { - "line": 257, + "line": 301, "column": 46 } } @@ -43624,15 +48464,15 @@ "postfix": false, "binop": null }, - "start": 8353, - "end": 8354, + "start": 9627, + "end": 9628, "loc": { "start": { - "line": 257, + "line": 301, "column": 46 }, "end": { - "line": 257, + "line": 301, "column": 47 } } @@ -43650,15 +48490,15 @@ "binop": null, "updateContext": null }, - "start": 8354, - "end": 8355, + "start": 9628, + "end": 9629, "loc": { "start": { - "line": 257, + "line": 301, "column": 47 }, "end": { - "line": 257, + "line": 301, "column": 48 } } @@ -43666,15 +48506,15 @@ { "type": "CommentLine", "value": " Remove via reference to name", - "start": 8365, - "end": 8396, + "start": 9639, + "end": 9670, "loc": { "start": { - "line": 258, + "line": 302, "column": 8 }, "end": { - "line": 258, + "line": 302, "column": 39 } } @@ -43691,15 +48531,15 @@ "postfix": false, "binop": null }, - "start": 8406, - "end": 8407, + "start": 9680, + "end": 9681, "loc": { "start": { - "line": 259, + "line": 303, "column": 8 }, "end": { - "line": 259, + "line": 303, "column": 9 } } @@ -43719,15 +48559,15 @@ "updateContext": null }, "value": "else", - "start": 8408, - "end": 8412, + "start": 9682, + "end": 9686, "loc": { "start": { - "line": 259, + "line": 303, "column": 10 }, "end": { - "line": 259, + "line": 303, "column": 14 } } @@ -43747,15 +48587,15 @@ "updateContext": null }, "value": "if", - "start": 8413, - "end": 8415, + "start": 9687, + "end": 9689, "loc": { "start": { - "line": 259, + "line": 303, "column": 15 }, "end": { - "line": 259, + "line": 303, "column": 17 } } @@ -43772,15 +48612,15 @@ "postfix": false, "binop": null }, - "start": 8416, - "end": 8417, + "start": 9690, + "end": 9691, "loc": { "start": { - "line": 259, + "line": 303, "column": 18 }, "end": { - "line": 259, + "line": 303, "column": 19 } } @@ -43800,15 +48640,15 @@ "updateContext": null }, "value": "typeof", - "start": 8417, - "end": 8423, + "start": 9691, + "end": 9697, "loc": { "start": { - "line": 259, + "line": 303, "column": 19 }, "end": { - "line": 259, + "line": 303, "column": 25 } } @@ -43825,15 +48665,15 @@ "postfix": false, "binop": null }, - "start": 8423, - "end": 8424, + "start": 9697, + "end": 9698, "loc": { "start": { - "line": 259, + "line": 303, "column": 25 }, "end": { - "line": 259, + "line": 303, "column": 26 } } @@ -43851,15 +48691,15 @@ "binop": null }, "value": "pName", - "start": 8424, - "end": 8429, + "start": 9698, + "end": 9703, "loc": { "start": { - "line": 259, + "line": 303, "column": 26 }, "end": { - "line": 259, + "line": 303, "column": 31 } } @@ -43876,15 +48716,15 @@ "postfix": false, "binop": null }, - "start": 8429, - "end": 8430, + "start": 9703, + "end": 9704, "loc": { "start": { - "line": 259, + "line": 303, "column": 31 }, "end": { - "line": 259, + "line": 303, "column": 32 } } @@ -43903,15 +48743,15 @@ "updateContext": null }, "value": "===", - "start": 8431, - "end": 8434, + "start": 9705, + "end": 9708, "loc": { "start": { - "line": 259, + "line": 303, "column": 33 }, "end": { - "line": 259, + "line": 303, "column": 36 } } @@ -43930,15 +48770,15 @@ "updateContext": null }, "value": "string", - "start": 8435, - "end": 8443, + "start": 9709, + "end": 9717, "loc": { "start": { - "line": 259, + "line": 303, "column": 37 }, "end": { - "line": 259, + "line": 303, "column": 45 } } @@ -43955,15 +48795,15 @@ "postfix": false, "binop": null }, - "start": 8443, - "end": 8444, + "start": 9717, + "end": 9718, "loc": { "start": { - "line": 259, + "line": 303, "column": 45 }, "end": { - "line": 259, + "line": 303, "column": 46 } } @@ -43980,15 +48820,15 @@ "postfix": false, "binop": null }, - "start": 8445, - "end": 8446, + "start": 9719, + "end": 9720, "loc": { "start": { - "line": 259, + "line": 303, "column": 47 }, "end": { - "line": 259, + "line": 303, "column": 48 } } @@ -44008,15 +48848,15 @@ "updateContext": null }, "value": "const", - "start": 8460, - "end": 8465, + "start": 9734, + "end": 9739, "loc": { "start": { - "line": 260, + "line": 304, "column": 12 }, "end": { - "line": 260, + "line": 304, "column": 17 } } @@ -44034,15 +48874,15 @@ "binop": null }, "value": "state", - "start": 8466, - "end": 8471, + "start": 9740, + "end": 9745, "loc": { "start": { - "line": 260, + "line": 304, "column": 18 }, "end": { - "line": 260, + "line": 304, "column": 23 } } @@ -44061,15 +48901,15 @@ "updateContext": null }, "value": "=", - "start": 8472, - "end": 8473, + "start": 9746, + "end": 9747, "loc": { "start": { - "line": 260, + "line": 304, "column": 24 }, "end": { - "line": 260, + "line": 304, "column": 25 } } @@ -44089,15 +48929,15 @@ "updateContext": null }, "value": "this", - "start": 8474, - "end": 8478, + "start": 9748, + "end": 9752, "loc": { "start": { - "line": 260, + "line": 304, "column": 26 }, "end": { - "line": 260, + "line": 304, "column": 30 } } @@ -44115,15 +48955,15 @@ "binop": null, "updateContext": null }, - "start": 8478, - "end": 8479, + "start": 9752, + "end": 9753, "loc": { "start": { - "line": 260, + "line": 304, "column": 30 }, "end": { - "line": 260, + "line": 304, "column": 31 } } @@ -44141,15 +48981,15 @@ "binop": null }, "value": "getState", - "start": 8479, - "end": 8487, + "start": 9753, + "end": 9761, "loc": { "start": { - "line": 260, + "line": 304, "column": 31 }, "end": { - "line": 260, + "line": 304, "column": 39 } } @@ -44166,15 +49006,15 @@ "postfix": false, "binop": null }, - "start": 8487, - "end": 8488, + "start": 9761, + "end": 9762, "loc": { "start": { - "line": 260, + "line": 304, "column": 39 }, "end": { - "line": 260, + "line": 304, "column": 40 } } @@ -44192,15 +49032,15 @@ "binop": null }, "value": "pName", - "start": 8488, - "end": 8493, + "start": 9762, + "end": 9767, "loc": { "start": { - "line": 260, + "line": 304, "column": 40 }, "end": { - "line": 260, + "line": 304, "column": 45 } } @@ -44217,15 +49057,15 @@ "postfix": false, "binop": null }, - "start": 8493, - "end": 8494, + "start": 9767, + "end": 9768, "loc": { "start": { - "line": 260, + "line": 304, "column": 45 }, "end": { - "line": 260, + "line": 304, "column": 46 } } @@ -44243,15 +49083,15 @@ "binop": null, "updateContext": null }, - "start": 8494, - "end": 8495, + "start": 9768, + "end": 9769, "loc": { "start": { - "line": 260, + "line": 304, "column": 46 }, "end": { - "line": 260, + "line": 304, "column": 47 } } @@ -44271,15 +49111,15 @@ "updateContext": null }, "value": "if", - "start": 8509, - "end": 8511, + "start": 9783, + "end": 9785, "loc": { "start": { - "line": 261, + "line": 305, "column": 12 }, "end": { - "line": 261, + "line": 305, "column": 14 } } @@ -44296,15 +49136,15 @@ "postfix": false, "binop": null }, - "start": 8512, - "end": 8513, + "start": 9786, + "end": 9787, "loc": { "start": { - "line": 261, + "line": 305, "column": 15 }, "end": { - "line": 261, + "line": 305, "column": 16 } } @@ -44322,15 +49162,15 @@ "binop": null }, "value": "state", - "start": 8513, - "end": 8518, + "start": 9787, + "end": 9792, "loc": { "start": { - "line": 261, + "line": 305, "column": 16 }, "end": { - "line": 261, + "line": 305, "column": 21 } } @@ -44347,15 +49187,15 @@ "postfix": false, "binop": null }, - "start": 8518, - "end": 8519, + "start": 9792, + "end": 9793, "loc": { "start": { - "line": 261, + "line": 305, "column": 21 }, "end": { - "line": 261, + "line": 305, "column": 22 } } @@ -44372,15 +49212,15 @@ "postfix": false, "binop": null }, - "start": 8520, - "end": 8521, + "start": 9794, + "end": 9795, "loc": { "start": { - "line": 261, + "line": 305, "column": 23 }, "end": { - "line": 261, + "line": 305, "column": 24 } } @@ -44398,15 +49238,15 @@ "binop": null }, "value": "index", - "start": 8539, - "end": 8544, + "start": 9813, + "end": 9818, "loc": { "start": { - "line": 262, + "line": 306, "column": 16 }, "end": { - "line": 262, + "line": 306, "column": 21 } } @@ -44425,15 +49265,15 @@ "updateContext": null }, "value": "=", - "start": 8545, - "end": 8546, + "start": 9819, + "end": 9820, "loc": { "start": { - "line": 262, + "line": 306, "column": 22 }, "end": { - "line": 262, + "line": 306, "column": 23 } } @@ -44453,15 +49293,15 @@ "updateContext": null }, "value": "this", - "start": 8547, - "end": 8551, + "start": 9821, + "end": 9825, "loc": { "start": { - "line": 262, + "line": 306, "column": 24 }, "end": { - "line": 262, + "line": 306, "column": 28 } } @@ -44479,15 +49319,15 @@ "binop": null, "updateContext": null }, - "start": 8551, - "end": 8552, + "start": 9825, + "end": 9826, "loc": { "start": { - "line": 262, + "line": 306, "column": 28 }, "end": { - "line": 262, + "line": 306, "column": 29 } } @@ -44505,15 +49345,15 @@ "binop": null }, "value": "states", - "start": 8552, - "end": 8558, + "start": 9826, + "end": 9832, "loc": { "start": { - "line": 262, + "line": 306, "column": 29 }, "end": { - "line": 262, + "line": 306, "column": 35 } } @@ -44531,15 +49371,15 @@ "binop": null, "updateContext": null }, - "start": 8558, - "end": 8559, + "start": 9832, + "end": 9833, "loc": { "start": { - "line": 262, + "line": 306, "column": 35 }, "end": { - "line": 262, + "line": 306, "column": 36 } } @@ -44557,15 +49397,15 @@ "binop": null }, "value": "indexOf", - "start": 8559, - "end": 8566, + "start": 9833, + "end": 9840, "loc": { "start": { - "line": 262, + "line": 306, "column": 36 }, "end": { - "line": 262, + "line": 306, "column": 43 } } @@ -44582,15 +49422,15 @@ "postfix": false, "binop": null }, - "start": 8566, - "end": 8567, + "start": 9840, + "end": 9841, "loc": { "start": { - "line": 262, + "line": 306, "column": 43 }, "end": { - "line": 262, + "line": 306, "column": 44 } } @@ -44608,15 +49448,15 @@ "binop": null }, "value": "state", - "start": 8567, - "end": 8572, + "start": 9841, + "end": 9846, "loc": { "start": { - "line": 262, + "line": 306, "column": 44 }, "end": { - "line": 262, + "line": 306, "column": 49 } } @@ -44633,15 +49473,15 @@ "postfix": false, "binop": null }, - "start": 8572, - "end": 8573, + "start": 9846, + "end": 9847, "loc": { "start": { - "line": 262, + "line": 306, "column": 49 }, "end": { - "line": 262, + "line": 306, "column": 50 } } @@ -44659,15 +49499,15 @@ "binop": null, "updateContext": null }, - "start": 8573, - "end": 8574, + "start": 9847, + "end": 9848, "loc": { "start": { - "line": 262, + "line": 306, "column": 50 }, "end": { - "line": 262, + "line": 306, "column": 51 } } @@ -44684,15 +49524,15 @@ "postfix": false, "binop": null }, - "start": 8588, - "end": 8589, + "start": 9862, + "end": 9863, "loc": { "start": { - "line": 263, + "line": 307, "column": 12 }, "end": { - "line": 263, + "line": 307, "column": 13 } } @@ -44709,15 +49549,15 @@ "postfix": false, "binop": null }, - "start": 8599, - "end": 8600, + "start": 9873, + "end": 9874, "loc": { "start": { - "line": 264, + "line": 308, "column": 8 }, "end": { - "line": 264, + "line": 308, "column": 9 } } @@ -44737,15 +49577,15 @@ "updateContext": null }, "value": "else", - "start": 8601, - "end": 8605, + "start": 9875, + "end": 9879, "loc": { "start": { - "line": 264, + "line": 308, "column": 10 }, "end": { - "line": 264, + "line": 308, "column": 14 } } @@ -44762,15 +49602,15 @@ "postfix": false, "binop": null }, - "start": 8606, - "end": 8607, + "start": 9880, + "end": 9881, "loc": { "start": { - "line": 264, + "line": 308, "column": 15 }, "end": { - "line": 264, + "line": 308, "column": 16 } } @@ -44788,15 +49628,15 @@ "binop": null }, "value": "VYI", - "start": 8621, - "end": 8624, + "start": 9895, + "end": 9898, "loc": { "start": { - "line": 265, + "line": 309, "column": 12 }, "end": { - "line": 265, + "line": 309, "column": 15 } } @@ -44814,15 +49654,15 @@ "binop": null, "updateContext": null }, - "start": 8624, - "end": 8625, + "start": 9898, + "end": 9899, "loc": { "start": { - "line": 265, + "line": 309, "column": 15 }, "end": { - "line": 265, + "line": 309, "column": 16 } } @@ -44840,15 +49680,15 @@ "binop": null }, "value": "logger", - "start": 8625, - "end": 8631, + "start": 9899, + "end": 9905, "loc": { "start": { - "line": 265, + "line": 309, "column": 16 }, "end": { - "line": 265, + "line": 309, "column": 22 } } @@ -44866,15 +49706,15 @@ "binop": null, "updateContext": null }, - "start": 8631, - "end": 8632, + "start": 9905, + "end": 9906, "loc": { "start": { - "line": 265, + "line": 309, "column": 22 }, "end": { - "line": 265, + "line": 309, "column": 23 } } @@ -44892,15 +49732,15 @@ "binop": null }, "value": "prefix", - "start": 8632, - "end": 8638, + "start": 9906, + "end": 9912, "loc": { "start": { - "line": 265, + "line": 309, "column": 23 }, "end": { - "line": 265, + "line": 309, "column": 29 } } @@ -44917,15 +49757,15 @@ "postfix": false, "binop": null }, - "start": 8638, - "end": 8639, + "start": 9912, + "end": 9913, "loc": { "start": { - "line": 265, + "line": 309, "column": 29 }, "end": { - "line": 265, + "line": 309, "column": 30 } } @@ -44944,15 +49784,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 8639, - "end": 8651, + "start": 9913, + "end": 9925, "loc": { "start": { - "line": 265, + "line": 309, "column": 30 }, "end": { - "line": 265, + "line": 309, "column": 42 } } @@ -44969,15 +49809,15 @@ "postfix": false, "binop": null }, - "start": 8651, - "end": 8652, + "start": 9925, + "end": 9926, "loc": { "start": { - "line": 265, + "line": 309, "column": 42 }, "end": { - "line": 265, + "line": 309, "column": 43 } } @@ -44995,15 +49835,15 @@ "binop": null, "updateContext": null }, - "start": 8652, - "end": 8653, + "start": 9926, + "end": 9927, "loc": { "start": { - "line": 265, + "line": 309, "column": 43 }, "end": { - "line": 265, + "line": 309, "column": 44 } } @@ -45021,15 +49861,15 @@ "binop": null }, "value": "error", - "start": 8653, - "end": 8658, + "start": 9927, + "end": 9932, "loc": { "start": { - "line": 265, + "line": 309, "column": 44 }, "end": { - "line": 265, + "line": 309, "column": 49 } } @@ -45046,15 +49886,15 @@ "postfix": false, "binop": null }, - "start": 8658, - "end": 8659, + "start": 9932, + "end": 9933, "loc": { "start": { - "line": 265, + "line": 309, "column": 49 }, "end": { - "line": 265, + "line": 309, "column": 50 } } @@ -45073,15 +49913,15 @@ "updateContext": null }, "value": "Failed to remove state!", - "start": 8659, - "end": 8684, + "start": 9933, + "end": 9958, "loc": { "start": { - "line": 265, + "line": 309, "column": 50 }, "end": { - "line": 265, + "line": 309, "column": 75 } } @@ -45098,15 +49938,15 @@ "postfix": false, "binop": null }, - "start": 8684, - "end": 8685, + "start": 9958, + "end": 9959, "loc": { "start": { - "line": 265, + "line": 309, "column": 75 }, "end": { - "line": 265, + "line": 309, "column": 76 } } @@ -45124,15 +49964,15 @@ "binop": null, "updateContext": null }, - "start": 8685, - "end": 8686, + "start": 9959, + "end": 9960, "loc": { "start": { - "line": 265, + "line": 309, "column": 76 }, "end": { - "line": 265, + "line": 309, "column": 77 } } @@ -45152,15 +49992,15 @@ "updateContext": null }, "value": "return", - "start": 8700, - "end": 8706, + "start": 9974, + "end": 9980, "loc": { "start": { - "line": 266, + "line": 310, "column": 12 }, "end": { - "line": 266, + "line": 310, "column": 18 } } @@ -45180,15 +50020,15 @@ "updateContext": null }, "value": "this", - "start": 8707, - "end": 8711, + "start": 9981, + "end": 9985, "loc": { "start": { - "line": 266, + "line": 310, "column": 19 }, "end": { - "line": 266, + "line": 310, "column": 23 } } @@ -45206,15 +50046,15 @@ "binop": null, "updateContext": null }, - "start": 8711, - "end": 8712, + "start": 9985, + "end": 9986, "loc": { "start": { - "line": 266, + "line": 310, "column": 23 }, "end": { - "line": 266, + "line": 310, "column": 24 } } @@ -45231,15 +50071,15 @@ "postfix": false, "binop": null }, - "start": 8722, - "end": 8723, + "start": 9996, + "end": 9997, "loc": { "start": { - "line": 267, + "line": 311, "column": 8 }, "end": { - "line": 267, + "line": 311, "column": 9 } } @@ -45259,15 +50099,15 @@ "updateContext": null }, "value": "if", - "start": 8733, - "end": 8735, + "start": 10007, + "end": 10009, "loc": { "start": { - "line": 268, + "line": 312, "column": 8 }, "end": { - "line": 268, + "line": 312, "column": 10 } } @@ -45284,15 +50124,15 @@ "postfix": false, "binop": null }, - "start": 8736, - "end": 8737, + "start": 10010, + "end": 10011, "loc": { "start": { - "line": 268, + "line": 312, "column": 11 }, "end": { - "line": 268, + "line": 312, "column": 12 } } @@ -45312,15 +50152,15 @@ "updateContext": null }, "value": "typeof", - "start": 8737, - "end": 8743, + "start": 10011, + "end": 10017, "loc": { "start": { - "line": 268, + "line": 312, "column": 12 }, "end": { - "line": 268, + "line": 312, "column": 18 } } @@ -45337,15 +50177,15 @@ "postfix": false, "binop": null }, - "start": 8743, - "end": 8744, + "start": 10017, + "end": 10018, "loc": { "start": { - "line": 268, + "line": 312, "column": 18 }, "end": { - "line": 268, + "line": 312, "column": 19 } } @@ -45363,15 +50203,15 @@ "binop": null }, "value": "index", - "start": 8744, - "end": 8749, + "start": 10018, + "end": 10023, "loc": { "start": { - "line": 268, + "line": 312, "column": 19 }, "end": { - "line": 268, + "line": 312, "column": 24 } } @@ -45388,15 +50228,15 @@ "postfix": false, "binop": null }, - "start": 8749, - "end": 8750, + "start": 10023, + "end": 10024, "loc": { "start": { - "line": 268, + "line": 312, "column": 24 }, "end": { - "line": 268, + "line": 312, "column": 25 } } @@ -45415,15 +50255,15 @@ "updateContext": null }, "value": "===", - "start": 8751, - "end": 8754, + "start": 10025, + "end": 10028, "loc": { "start": { - "line": 268, + "line": 312, "column": 26 }, "end": { - "line": 268, + "line": 312, "column": 29 } } @@ -45442,15 +50282,15 @@ "updateContext": null }, "value": "number", - "start": 8755, - "end": 8763, + "start": 10029, + "end": 10037, "loc": { "start": { - "line": 268, + "line": 312, "column": 30 }, "end": { - "line": 268, + "line": 312, "column": 38 } } @@ -45467,15 +50307,15 @@ "postfix": false, "binop": null }, - "start": 8763, - "end": 8764, + "start": 10037, + "end": 10038, "loc": { "start": { - "line": 268, + "line": 312, "column": 38 }, "end": { - "line": 268, + "line": 312, "column": 39 } } @@ -45492,15 +50332,15 @@ "postfix": false, "binop": null }, - "start": 8765, - "end": 8766, + "start": 10039, + "end": 10040, "loc": { "start": { - "line": 268, + "line": 312, "column": 40 }, "end": { - "line": 268, + "line": 312, "column": 41 } } @@ -45508,15 +50348,15 @@ { "type": "CommentLine", "value": " Remove the state", - "start": 8780, - "end": 8799, + "start": 10054, + "end": 10073, "loc": { "start": { - "line": 269, + "line": 313, "column": 12 }, "end": { - "line": 269, + "line": 313, "column": 31 } } @@ -45536,15 +50376,15 @@ "updateContext": null }, "value": "this", - "start": 8813, - "end": 8817, + "start": 10087, + "end": 10091, "loc": { "start": { - "line": 270, + "line": 314, "column": 12 }, "end": { - "line": 270, + "line": 314, "column": 16 } } @@ -45562,15 +50402,15 @@ "binop": null, "updateContext": null }, - "start": 8817, - "end": 8818, + "start": 10091, + "end": 10092, "loc": { "start": { - "line": 270, + "line": 314, "column": 16 }, "end": { - "line": 270, + "line": 314, "column": 17 } } @@ -45588,15 +50428,15 @@ "binop": null }, "value": "states", - "start": 8818, - "end": 8824, + "start": 10092, + "end": 10098, "loc": { "start": { - "line": 270, + "line": 314, "column": 17 }, "end": { - "line": 270, + "line": 314, "column": 23 } } @@ -45614,15 +50454,15 @@ "binop": null, "updateContext": null }, - "start": 8824, - "end": 8825, + "start": 10098, + "end": 10099, "loc": { "start": { - "line": 270, + "line": 314, "column": 23 }, "end": { - "line": 270, + "line": 314, "column": 24 } } @@ -45640,15 +50480,15 @@ "binop": null }, "value": "splice", - "start": 8825, - "end": 8831, + "start": 10099, + "end": 10105, "loc": { "start": { - "line": 270, + "line": 314, "column": 24 }, "end": { - "line": 270, + "line": 314, "column": 30 } } @@ -45665,15 +50505,15 @@ "postfix": false, "binop": null }, - "start": 8831, - "end": 8832, + "start": 10105, + "end": 10106, "loc": { "start": { - "line": 270, + "line": 314, "column": 30 }, "end": { - "line": 270, + "line": 314, "column": 31 } } @@ -45691,15 +50531,15 @@ "binop": null }, "value": "index", - "start": 8832, - "end": 8837, + "start": 10106, + "end": 10111, "loc": { "start": { - "line": 270, + "line": 314, "column": 31 }, "end": { - "line": 270, + "line": 314, "column": 36 } } @@ -45717,15 +50557,15 @@ "binop": null, "updateContext": null }, - "start": 8837, - "end": 8838, + "start": 10111, + "end": 10112, "loc": { "start": { - "line": 270, + "line": 314, "column": 36 }, "end": { - "line": 270, + "line": 314, "column": 37 } } @@ -45744,15 +50584,15 @@ "updateContext": null }, "value": 1, - "start": 8839, - "end": 8840, + "start": 10113, + "end": 10114, "loc": { "start": { - "line": 270, + "line": 314, "column": 38 }, "end": { - "line": 270, + "line": 314, "column": 39 } } @@ -45769,15 +50609,15 @@ "postfix": false, "binop": null }, - "start": 8840, - "end": 8841, + "start": 10114, + "end": 10115, "loc": { "start": { - "line": 270, + "line": 314, "column": 39 }, "end": { - "line": 270, + "line": 314, "column": 40 } } @@ -45795,15 +50635,15 @@ "binop": null, "updateContext": null }, - "start": 8841, - "end": 8842, + "start": 10115, + "end": 10116, "loc": { "start": { - "line": 270, + "line": 314, "column": 40 }, "end": { - "line": 270, + "line": 314, "column": 41 } } @@ -45820,15 +50660,15 @@ "postfix": false, "binop": null }, - "start": 8852, - "end": 8853, + "start": 10126, + "end": 10127, "loc": { "start": { - "line": 271, + "line": 315, "column": 8 }, "end": { - "line": 271, + "line": 315, "column": 9 } } @@ -45848,15 +50688,15 @@ "updateContext": null }, "value": "return", - "start": 8863, - "end": 8869, + "start": 10137, + "end": 10143, "loc": { "start": { - "line": 272, + "line": 316, "column": 8 }, "end": { - "line": 272, + "line": 316, "column": 14 } } @@ -45876,15 +50716,15 @@ "updateContext": null }, "value": "this", - "start": 8870, - "end": 8874, + "start": 10144, + "end": 10148, "loc": { "start": { - "line": 272, + "line": 316, "column": 15 }, "end": { - "line": 272, + "line": 316, "column": 19 } } @@ -45902,15 +50742,15 @@ "binop": null, "updateContext": null }, - "start": 8874, - "end": 8875, + "start": 10148, + "end": 10149, "loc": { "start": { - "line": 272, + "line": 316, "column": 19 }, "end": { - "line": 272, + "line": 316, "column": 20 } } @@ -45927,31 +50767,31 @@ "postfix": false, "binop": null }, - "start": 8881, - "end": 8882, + "start": 10155, + "end": 10156, "loc": { "start": { - "line": 273, + "line": 317, "column": 4 }, "end": { - "line": 273, + "line": 317, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8888, - "end": 9085, + "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", + "start": 10162, + "end": 10358, "loc": { "start": { - "line": 274, + "line": 318, "column": 4 }, "end": { - "line": 278, + "line": 322, "column": 7 } } @@ -45969,15 +50809,15 @@ "binop": null }, "value": "addFrame", - "start": 9091, - "end": 9099, + "start": 10364, + "end": 10372, "loc": { "start": { - "line": 279, + "line": 323, "column": 4 }, "end": { - "line": 279, + "line": 323, "column": 12 } } @@ -45994,15 +50834,15 @@ "postfix": false, "binop": null }, - "start": 9099, - "end": 9100, + "start": 10372, + "end": 10373, "loc": { "start": { - "line": 279, + "line": 323, "column": 12 }, "end": { - "line": 279, + "line": 323, "column": 13 } } @@ -46020,15 +50860,15 @@ "binop": null }, "value": "pFrameData", - "start": 9100, - "end": 9110, + "start": 10373, + "end": 10383, "loc": { "start": { - "line": 279, + "line": 323, "column": 13 }, "end": { - "line": 279, + "line": 323, "column": 23 } } @@ -46045,15 +50885,15 @@ "postfix": false, "binop": null }, - "start": 9110, - "end": 9111, + "start": 10383, + "end": 10384, "loc": { "start": { - "line": 279, + "line": 323, "column": 23 }, "end": { - "line": 279, + "line": 323, "column": 24 } } @@ -46070,15 +50910,15 @@ "postfix": false, "binop": null }, - "start": 9112, - "end": 9113, + "start": 10385, + "end": 10386, "loc": { "start": { - "line": 279, + "line": 323, "column": 25 }, "end": { - "line": 279, + "line": 323, "column": 26 } } @@ -46098,15 +50938,15 @@ "updateContext": null }, "value": "if", - "start": 9123, - "end": 9125, + "start": 10396, + "end": 10398, "loc": { "start": { - "line": 280, + "line": 324, "column": 8 }, "end": { - "line": 280, + "line": 324, "column": 10 } } @@ -46123,15 +50963,15 @@ "postfix": false, "binop": null }, - "start": 9126, - "end": 9127, + "start": 10399, + "end": 10400, "loc": { "start": { - "line": 280, + "line": 324, "column": 11 }, "end": { - "line": 280, + "line": 324, "column": 12 } } @@ -46149,15 +50989,15 @@ "binop": null }, "value": "pFrameData", - "start": 9127, - "end": 9137, + "start": 10400, + "end": 10410, "loc": { "start": { - "line": 280, + "line": 324, "column": 12 }, "end": { - "line": 280, + "line": 324, "column": 22 } } @@ -46174,15 +51014,15 @@ "postfix": false, "binop": null }, - "start": 9137, - "end": 9138, + "start": 10410, + "end": 10411, "loc": { "start": { - "line": 280, + "line": 324, "column": 22 }, "end": { - "line": 280, + "line": 324, "column": 23 } } @@ -46199,15 +51039,15 @@ "postfix": false, "binop": null }, - "start": 9139, - "end": 9140, + "start": 10412, + "end": 10413, "loc": { "start": { - "line": 280, + "line": 324, "column": 24 }, "end": { - "line": 280, + "line": 324, "column": 25 } } @@ -46227,15 +51067,15 @@ "updateContext": null }, "value": "if", - "start": 9154, - "end": 9156, + "start": 10427, + "end": 10429, "loc": { "start": { - "line": 281, + "line": 325, "column": 12 }, "end": { - "line": 281, + "line": 325, "column": 14 } } @@ -46252,15 +51092,15 @@ "postfix": false, "binop": null }, - "start": 9157, - "end": 9158, + "start": 10430, + "end": 10431, "loc": { "start": { - "line": 281, + "line": 325, "column": 15 }, "end": { - "line": 281, + "line": 325, "column": 16 } } @@ -46277,45 +51117,43 @@ "postfix": false, "binop": null }, - "value": "pFrameData", - "start": 9158, - "end": 9168, + "value": "Array", + "start": 10431, + "end": 10436, "loc": { "start": { - "line": 281, + "line": 325, "column": 16 }, "end": { - "line": 281, - "column": 26 + "line": 325, + "column": 21 } } }, { "type": { - "label": "instanceof", - "keyword": "instanceof", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "instanceof", - "start": 9169, - "end": 9179, + "start": 10436, + "end": 10437, "loc": { "start": { - "line": 281, - "column": 27 + "line": 325, + "column": 21 }, "end": { - "line": 281, - "column": 37 + "line": 325, + "column": 22 } } }, @@ -46331,17 +51169,68 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 9180, - "end": 9186, + "value": "isArray", + "start": 10437, + "end": 10444, "loc": { "start": { - "line": 281, - "column": 38 + "line": 325, + "column": 22 }, "end": { - "line": 281, - "column": 44 + "line": 325, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10444, + "end": 10445, + "loc": { + "start": { + "line": 325, + "column": 29 + }, + "end": { + "line": 325, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pFrameData", + "start": 10445, + "end": 10455, + "loc": { + "start": { + "line": 325, + "column": 30 + }, + "end": { + "line": 325, + "column": 40 } } }, @@ -46357,16 +51246,41 @@ "postfix": false, "binop": null }, - "start": 9186, - "end": 9187, + "start": 10455, + "end": 10456, "loc": { "start": { - "line": 281, - "column": 44 + "line": 325, + "column": 40 }, "end": { - "line": 281, - "column": 45 + "line": 325, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10456, + "end": 10457, + "loc": { + "start": { + "line": 325, + "column": 41 + }, + "end": { + "line": 325, + "column": 42 } } }, @@ -46382,16 +51296,16 @@ "postfix": false, "binop": null }, - "start": 9188, - "end": 9189, + "start": 10458, + "end": 10459, "loc": { "start": { - "line": 281, - "column": 46 + "line": 325, + "column": 43 }, "end": { - "line": 281, - "column": 47 + "line": 325, + "column": 44 } } }, @@ -46410,15 +51324,15 @@ "updateContext": null }, "value": "const", - "start": 9207, - "end": 9212, + "start": 10477, + "end": 10482, "loc": { "start": { - "line": 282, + "line": 326, "column": 16 }, "end": { - "line": 282, + "line": 326, "column": 21 } } @@ -46436,15 +51350,15 @@ "binop": null }, "value": "frame", - "start": 9213, - "end": 9218, + "start": 10483, + "end": 10488, "loc": { "start": { - "line": 282, + "line": 326, "column": 22 }, "end": { - "line": 282, + "line": 326, "column": 27 } } @@ -46463,15 +51377,15 @@ "updateContext": null }, "value": "=", - "start": 9219, - "end": 9220, + "start": 10489, + "end": 10490, "loc": { "start": { - "line": 282, + "line": 326, "column": 28 }, "end": { - "line": 282, + "line": 326, "column": 29 } } @@ -46491,15 +51405,15 @@ "updateContext": null }, "value": "new", - "start": 9221, - "end": 9224, + "start": 10491, + "end": 10494, "loc": { "start": { - "line": 282, + "line": 326, "column": 30 }, "end": { - "line": 282, + "line": 326, "column": 33 } } @@ -46517,15 +51431,15 @@ "binop": null }, "value": "Frame", - "start": 9225, - "end": 9230, + "start": 10495, + "end": 10500, "loc": { "start": { - "line": 282, + "line": 326, "column": 34 }, "end": { - "line": 282, + "line": 326, "column": 39 } } @@ -46542,15 +51456,15 @@ "postfix": false, "binop": null }, - "start": 9230, - "end": 9231, + "start": 10500, + "end": 10501, "loc": { "start": { - "line": 282, + "line": 326, "column": 39 }, "end": { - "line": 282, + "line": 326, "column": 40 } } @@ -46568,15 +51482,15 @@ "binop": null }, "value": "pFrameData", - "start": 9231, - "end": 9241, + "start": 10501, + "end": 10511, "loc": { "start": { - "line": 282, + "line": 326, "column": 40 }, "end": { - "line": 282, + "line": 326, "column": 50 } } @@ -46594,15 +51508,15 @@ "binop": null, "updateContext": null }, - "start": 9241, - "end": 9242, + "start": 10511, + "end": 10512, "loc": { "start": { - "line": 282, + "line": 326, "column": 50 }, "end": { - "line": 282, + "line": 326, "column": 51 } } @@ -46622,15 +51536,15 @@ "updateContext": null }, "value": "this", - "start": 9243, - "end": 9247, + "start": 10513, + "end": 10517, "loc": { "start": { - "line": 282, + "line": 326, "column": 52 }, "end": { - "line": 282, + "line": 326, "column": 56 } } @@ -46647,15 +51561,15 @@ "postfix": false, "binop": null }, - "start": 9247, - "end": 9248, + "start": 10517, + "end": 10518, "loc": { "start": { - "line": 282, + "line": 326, "column": 56 }, "end": { - "line": 282, + "line": 326, "column": 57 } } @@ -46673,15 +51587,15 @@ "binop": null, "updateContext": null }, - "start": 9248, - "end": 9249, + "start": 10518, + "end": 10519, "loc": { "start": { - "line": 282, + "line": 326, "column": 57 }, "end": { - "line": 282, + "line": 326, "column": 58 } } @@ -46689,15 +51603,15 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 9267, - "end": 9304, + "start": 10537, + "end": 10574, "loc": { "start": { - "line": 283, + "line": 327, "column": 16 }, "end": { - "line": 283, + "line": 327, "column": 53 } } @@ -46717,15 +51631,15 @@ "updateContext": null }, "value": "this", - "start": 9322, - "end": 9326, + "start": 10592, + "end": 10596, "loc": { "start": { - "line": 284, + "line": 328, "column": 16 }, "end": { - "line": 284, + "line": 328, "column": 20 } } @@ -46743,15 +51657,15 @@ "binop": null, "updateContext": null }, - "start": 9326, - "end": 9327, + "start": 10596, + "end": 10597, "loc": { "start": { - "line": 284, + "line": 328, "column": 20 }, "end": { - "line": 284, + "line": 328, "column": 21 } } @@ -46769,15 +51683,15 @@ "binop": null }, "value": "frames", - "start": 9327, - "end": 9333, + "start": 10597, + "end": 10603, "loc": { "start": { - "line": 284, + "line": 328, "column": 21 }, "end": { - "line": 284, + "line": 328, "column": 27 } } @@ -46795,15 +51709,15 @@ "binop": null, "updateContext": null }, - "start": 9333, - "end": 9334, + "start": 10603, + "end": 10604, "loc": { "start": { - "line": 284, + "line": 328, "column": 27 }, "end": { - "line": 284, + "line": 328, "column": 28 } } @@ -46821,15 +51735,15 @@ "binop": null }, "value": "push", - "start": 9334, - "end": 9338, + "start": 10604, + "end": 10608, "loc": { "start": { - "line": 284, + "line": 328, "column": 28 }, "end": { - "line": 284, + "line": 328, "column": 32 } } @@ -46846,15 +51760,15 @@ "postfix": false, "binop": null }, - "start": 9338, - "end": 9339, + "start": 10608, + "end": 10609, "loc": { "start": { - "line": 284, + "line": 328, "column": 32 }, "end": { - "line": 284, + "line": 328, "column": 33 } } @@ -46872,15 +51786,15 @@ "binop": null }, "value": "frame", - "start": 9339, - "end": 9344, + "start": 10609, + "end": 10614, "loc": { "start": { - "line": 284, + "line": 328, "column": 33 }, "end": { - "line": 284, + "line": 328, "column": 38 } } @@ -46897,15 +51811,15 @@ "postfix": false, "binop": null }, - "start": 9344, - "end": 9345, + "start": 10614, + "end": 10615, "loc": { "start": { - "line": 284, + "line": 328, "column": 38 }, "end": { - "line": 284, + "line": 328, "column": 39 } } @@ -46923,15 +51837,15 @@ "binop": null, "updateContext": null }, - "start": 9345, - "end": 9346, + "start": 10615, + "end": 10616, "loc": { "start": { - "line": 284, + "line": 328, "column": 39 }, "end": { - "line": 284, + "line": 328, "column": 40 } } @@ -46939,15 +51853,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 9364, - "end": 9397, + "start": 10634, + "end": 10667, "loc": { "start": { - "line": 285, + "line": 329, "column": 16 }, "end": { - "line": 285, + "line": 329, "column": 49 } } @@ -46967,15 +51881,15 @@ "updateContext": null }, "value": "this", - "start": 9415, - "end": 9419, + "start": 10685, + "end": 10689, "loc": { "start": { - "line": 286, + "line": 330, "column": 16 }, "end": { - "line": 286, + "line": 330, "column": 20 } } @@ -46993,15 +51907,15 @@ "binop": null, "updateContext": null }, - "start": 9419, - "end": 9420, + "start": 10689, + "end": 10690, "loc": { "start": { - "line": 286, + "line": 330, "column": 20 }, "end": { - "line": 286, + "line": 330, "column": 21 } } @@ -47019,15 +51933,15 @@ "binop": null }, "value": "indexFrames", - "start": 9420, - "end": 9431, + "start": 10690, + "end": 10701, "loc": { "start": { - "line": 286, + "line": 330, "column": 21 }, "end": { - "line": 286, + "line": 330, "column": 32 } } @@ -47044,15 +51958,15 @@ "postfix": false, "binop": null }, - "start": 9431, - "end": 9432, + "start": 10701, + "end": 10702, "loc": { "start": { - "line": 286, + "line": 330, "column": 32 }, "end": { - "line": 286, + "line": 330, "column": 33 } } @@ -47069,15 +51983,15 @@ "postfix": false, "binop": null }, - "start": 9432, - "end": 9433, + "start": 10702, + "end": 10703, "loc": { "start": { - "line": 286, + "line": 330, "column": 33 }, "end": { - "line": 286, + "line": 330, "column": 34 } } @@ -47095,15 +52009,15 @@ "binop": null, "updateContext": null }, - "start": 9433, - "end": 9434, + "start": 10703, + "end": 10704, "loc": { "start": { - "line": 286, + "line": 330, "column": 34 }, "end": { - "line": 286, + "line": 330, "column": 35 } } @@ -47123,15 +52037,15 @@ "updateContext": null }, "value": "return", - "start": 9452, - "end": 9458, + "start": 10722, + "end": 10728, "loc": { "start": { - "line": 287, + "line": 331, "column": 16 }, "end": { - "line": 287, + "line": 331, "column": 22 } } @@ -47149,15 +52063,15 @@ "binop": null }, "value": "frame", - "start": 9459, - "end": 9464, + "start": 10729, + "end": 10734, "loc": { "start": { - "line": 287, + "line": 331, "column": 23 }, "end": { - "line": 287, + "line": 331, "column": 28 } } @@ -47175,15 +52089,15 @@ "binop": null, "updateContext": null }, - "start": 9464, - "end": 9465, + "start": 10734, + "end": 10735, "loc": { "start": { - "line": 287, + "line": 331, "column": 28 }, "end": { - "line": 287, + "line": 331, "column": 29 } } @@ -47200,15 +52114,15 @@ "postfix": false, "binop": null }, - "start": 9479, - "end": 9480, + "start": 10749, + "end": 10750, "loc": { "start": { - "line": 288, + "line": 332, "column": 12 }, "end": { - "line": 288, + "line": 332, "column": 13 } } @@ -47228,15 +52142,15 @@ "updateContext": null }, "value": "else", - "start": 9481, - "end": 9485, + "start": 10751, + "end": 10755, "loc": { "start": { - "line": 288, + "line": 332, "column": 14 }, "end": { - "line": 288, + "line": 332, "column": 18 } } @@ -47253,15 +52167,15 @@ "postfix": false, "binop": null }, - "start": 9486, - "end": 9487, + "start": 10756, + "end": 10757, "loc": { "start": { - "line": 288, + "line": 332, "column": 19 }, "end": { - "line": 288, + "line": 332, "column": 20 } } @@ -47279,15 +52193,15 @@ "binop": null }, "value": "VYI", - "start": 9505, - "end": 9508, + "start": 10775, + "end": 10778, "loc": { "start": { - "line": 289, + "line": 333, "column": 16 }, "end": { - "line": 289, + "line": 333, "column": 19 } } @@ -47305,15 +52219,15 @@ "binop": null, "updateContext": null }, - "start": 9508, - "end": 9509, + "start": 10778, + "end": 10779, "loc": { "start": { - "line": 289, + "line": 333, "column": 19 }, "end": { - "line": 289, + "line": 333, "column": 20 } } @@ -47331,15 +52245,15 @@ "binop": null }, "value": "logger", - "start": 9509, - "end": 9515, + "start": 10779, + "end": 10785, "loc": { "start": { - "line": 289, + "line": 333, "column": 20 }, "end": { - "line": 289, + "line": 333, "column": 26 } } @@ -47357,15 +52271,15 @@ "binop": null, "updateContext": null }, - "start": 9515, - "end": 9516, + "start": 10785, + "end": 10786, "loc": { "start": { - "line": 289, + "line": 333, "column": 26 }, "end": { - "line": 289, + "line": 333, "column": 27 } } @@ -47383,15 +52297,15 @@ "binop": null }, "value": "prefix", - "start": 9516, - "end": 9522, + "start": 10786, + "end": 10792, "loc": { "start": { - "line": 289, + "line": 333, "column": 27 }, "end": { - "line": 289, + "line": 333, "column": 33 } } @@ -47408,15 +52322,15 @@ "postfix": false, "binop": null }, - "start": 9522, - "end": 9523, + "start": 10792, + "end": 10793, "loc": { "start": { - "line": 289, + "line": 333, "column": 33 }, "end": { - "line": 289, + "line": 333, "column": 34 } } @@ -47435,15 +52349,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 9523, - "end": 9535, + "start": 10793, + "end": 10805, "loc": { "start": { - "line": 289, + "line": 333, "column": 34 }, "end": { - "line": 289, + "line": 333, "column": 46 } } @@ -47460,15 +52374,15 @@ "postfix": false, "binop": null }, - "start": 9535, - "end": 9536, + "start": 10805, + "end": 10806, "loc": { "start": { - "line": 289, + "line": 333, "column": 46 }, "end": { - "line": 289, + "line": 333, "column": 47 } } @@ -47486,15 +52400,15 @@ "binop": null, "updateContext": null }, - "start": 9536, - "end": 9537, + "start": 10806, + "end": 10807, "loc": { "start": { - "line": 289, + "line": 333, "column": 47 }, "end": { - "line": 289, + "line": 333, "column": 48 } } @@ -47512,15 +52426,15 @@ "binop": null }, "value": "error", - "start": 9537, - "end": 9542, + "start": 10807, + "end": 10812, "loc": { "start": { - "line": 289, + "line": 333, "column": 48 }, "end": { - "line": 289, + "line": 333, "column": 53 } } @@ -47537,15 +52451,15 @@ "postfix": false, "binop": null }, - "start": 9542, - "end": 9543, + "start": 10812, + "end": 10813, "loc": { "start": { - "line": 289, + "line": 333, "column": 53 }, "end": { - "line": 289, + "line": 333, "column": 54 } } @@ -47564,15 +52478,15 @@ "updateContext": null }, "value": "Invalid frame data passed!", - "start": 9543, - "end": 9571, + "start": 10813, + "end": 10841, "loc": { "start": { - "line": 289, + "line": 333, "column": 54 }, "end": { - "line": 289, + "line": 333, "column": 82 } } @@ -47589,15 +52503,15 @@ "postfix": false, "binop": null }, - "start": 9571, - "end": 9572, + "start": 10841, + "end": 10842, "loc": { "start": { - "line": 289, + "line": 333, "column": 82 }, "end": { - "line": 289, + "line": 333, "column": 83 } } @@ -47615,15 +52529,15 @@ "binop": null, "updateContext": null }, - "start": 9572, - "end": 9573, + "start": 10842, + "end": 10843, "loc": { "start": { - "line": 289, + "line": 333, "column": 83 }, "end": { - "line": 289, + "line": 333, "column": 84 } } @@ -47640,15 +52554,15 @@ "postfix": false, "binop": null }, - "start": 9587, - "end": 9588, + "start": 10857, + "end": 10858, "loc": { "start": { - "line": 290, + "line": 334, "column": 12 }, "end": { - "line": 290, + "line": 334, "column": 13 } } @@ -47665,15 +52579,15 @@ "postfix": false, "binop": null }, - "start": 9598, - "end": 9599, + "start": 10868, + "end": 10869, "loc": { "start": { - "line": 291, + "line": 335, "column": 8 }, "end": { - "line": 291, + "line": 335, "column": 9 } } @@ -47693,15 +52607,15 @@ "updateContext": null }, "value": "else", - "start": 9600, - "end": 9604, + "start": 10870, + "end": 10874, "loc": { "start": { - "line": 291, + "line": 335, "column": 10 }, "end": { - "line": 291, + "line": 335, "column": 14 } } @@ -47718,15 +52632,15 @@ "postfix": false, "binop": null }, - "start": 9605, - "end": 9606, + "start": 10875, + "end": 10876, "loc": { "start": { - "line": 291, + "line": 335, "column": 15 }, "end": { - "line": 291, + "line": 335, "column": 16 } } @@ -47744,15 +52658,15 @@ "binop": null }, "value": "VYI", - "start": 9620, - "end": 9623, + "start": 10890, + "end": 10893, "loc": { "start": { - "line": 292, + "line": 336, "column": 12 }, "end": { - "line": 292, + "line": 336, "column": 15 } } @@ -47770,15 +52684,15 @@ "binop": null, "updateContext": null }, - "start": 9623, - "end": 9624, + "start": 10893, + "end": 10894, "loc": { "start": { - "line": 292, + "line": 336, "column": 15 }, "end": { - "line": 292, + "line": 336, "column": 16 } } @@ -47796,15 +52710,15 @@ "binop": null }, "value": "logger", - "start": 9624, - "end": 9630, + "start": 10894, + "end": 10900, "loc": { "start": { - "line": 292, + "line": 336, "column": 16 }, "end": { - "line": 292, + "line": 336, "column": 22 } } @@ -47822,15 +52736,15 @@ "binop": null, "updateContext": null }, - "start": 9630, - "end": 9631, + "start": 10900, + "end": 10901, "loc": { "start": { - "line": 292, + "line": 336, "column": 22 }, "end": { - "line": 292, + "line": 336, "column": 23 } } @@ -47848,15 +52762,15 @@ "binop": null }, "value": "prefix", - "start": 9631, - "end": 9637, + "start": 10901, + "end": 10907, "loc": { "start": { - "line": 292, + "line": 336, "column": 23 }, "end": { - "line": 292, + "line": 336, "column": 29 } } @@ -47873,15 +52787,15 @@ "postfix": false, "binop": null }, - "start": 9637, - "end": 9638, + "start": 10907, + "end": 10908, "loc": { "start": { - "line": 292, + "line": 336, "column": 29 }, "end": { - "line": 292, + "line": 336, "column": 30 } } @@ -47900,15 +52814,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 9638, - "end": 9650, + "start": 10908, + "end": 10920, "loc": { "start": { - "line": 292, + "line": 336, "column": 30 }, "end": { - "line": 292, + "line": 336, "column": 42 } } @@ -47925,15 +52839,15 @@ "postfix": false, "binop": null }, - "start": 9650, - "end": 9651, + "start": 10920, + "end": 10921, "loc": { "start": { - "line": 292, + "line": 336, "column": 42 }, "end": { - "line": 292, + "line": 336, "column": 43 } } @@ -47951,15 +52865,15 @@ "binop": null, "updateContext": null }, - "start": 9651, - "end": 9652, + "start": 10921, + "end": 10922, "loc": { "start": { - "line": 292, + "line": 336, "column": 43 }, "end": { - "line": 292, + "line": 336, "column": 44 } } @@ -47977,15 +52891,15 @@ "binop": null }, "value": "error", - "start": 9652, - "end": 9657, + "start": 10922, + "end": 10927, "loc": { "start": { - "line": 292, + "line": 336, "column": 44 }, "end": { - "line": 292, + "line": 336, "column": 49 } } @@ -48002,15 +52916,15 @@ "postfix": false, "binop": null }, - "start": 9657, - "end": 9658, + "start": 10927, + "end": 10928, "loc": { "start": { - "line": 292, + "line": 336, "column": 49 }, "end": { - "line": 292, + "line": 336, "column": 50 } } @@ -48029,15 +52943,15 @@ "updateContext": null }, "value": "No frame data passed!", - "start": 9658, - "end": 9681, + "start": 10928, + "end": 10951, "loc": { "start": { - "line": 292, + "line": 336, "column": 50 }, "end": { - "line": 292, + "line": 336, "column": 73 } } @@ -48054,15 +52968,15 @@ "postfix": false, "binop": null }, - "start": 9681, - "end": 9682, + "start": 10951, + "end": 10952, "loc": { "start": { - "line": 292, + "line": 336, "column": 73 }, "end": { - "line": 292, + "line": 336, "column": 74 } } @@ -48080,15 +52994,15 @@ "binop": null, "updateContext": null }, - "start": 9682, - "end": 9683, + "start": 10952, + "end": 10953, "loc": { "start": { - "line": 292, + "line": 336, "column": 74 }, "end": { - "line": 292, + "line": 336, "column": 75 } } @@ -48105,15 +53019,15 @@ "postfix": false, "binop": null }, - "start": 9693, - "end": 9694, + "start": 10963, + "end": 10964, "loc": { "start": { - "line": 293, + "line": 337, "column": 8 }, "end": { - "line": 293, + "line": 337, "column": 9 } } @@ -48130,15 +53044,15 @@ "postfix": false, "binop": null }, - "start": 9700, - "end": 9701, + "start": 10970, + "end": 10971, "loc": { "start": { - "line": 294, + "line": 338, "column": 4 }, "end": { - "line": 294, + "line": 338, "column": 5 } } @@ -48146,15 +53060,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9707, - "end": 10094, + "start": 10977, + "end": 11364, "loc": { "start": { - "line": 295, + "line": 339, "column": 4 }, "end": { - "line": 300, + "line": 344, "column": 7 } } @@ -48172,15 +53086,15 @@ "binop": null }, "value": "removeFrame", - "start": 10100, - "end": 10111, + "start": 11370, + "end": 11381, "loc": { "start": { - "line": 301, + "line": 345, "column": 4 }, "end": { - "line": 301, + "line": 345, "column": 15 } } @@ -48197,15 +53111,15 @@ "postfix": false, "binop": null }, - "start": 10111, - "end": 10112, + "start": 11381, + "end": 11382, "loc": { "start": { - "line": 301, + "line": 345, "column": 15 }, "end": { - "line": 301, + "line": 345, "column": 16 } } @@ -48223,15 +53137,15 @@ "binop": null }, "value": "pFrame", - "start": 10112, - "end": 10118, + "start": 11382, + "end": 11388, "loc": { "start": { - "line": 301, + "line": 345, "column": 16 }, "end": { - "line": 301, + "line": 345, "column": 22 } } @@ -48249,15 +53163,15 @@ "binop": null, "updateContext": null }, - "start": 10118, - "end": 10119, + "start": 11388, + "end": 11389, "loc": { "start": { - "line": 301, + "line": 345, "column": 22 }, "end": { - "line": 301, + "line": 345, "column": 23 } } @@ -48275,15 +53189,15 @@ "binop": null }, "value": "pIndex", - "start": 10120, - "end": 10126, + "start": 11390, + "end": 11396, "loc": { "start": { - "line": 301, + "line": 345, "column": 24 }, "end": { - "line": 301, + "line": 345, "column": 30 } } @@ -48300,15 +53214,15 @@ "postfix": false, "binop": null }, - "start": 10126, - "end": 10127, + "start": 11396, + "end": 11397, "loc": { "start": { - "line": 301, + "line": 345, "column": 30 }, "end": { - "line": 301, + "line": 345, "column": 31 } } @@ -48325,15 +53239,15 @@ "postfix": false, "binop": null }, - "start": 10128, - "end": 10129, + "start": 11398, + "end": 11399, "loc": { "start": { - "line": 301, + "line": 345, "column": 32 }, "end": { - "line": 301, + "line": 345, "column": 33 } } @@ -48341,15 +53255,15 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 10139, - "end": 10178, + "start": 11409, + "end": 11448, "loc": { "start": { - "line": 302, + "line": 346, "column": 8 }, "end": { - "line": 302, + "line": 346, "column": 47 } } @@ -48369,15 +53283,15 @@ "updateContext": null }, "value": "let", - "start": 10188, - "end": 10191, + "start": 11458, + "end": 11461, "loc": { "start": { - "line": 303, + "line": 347, "column": 8 }, "end": { - "line": 303, + "line": 347, "column": 11 } } @@ -48395,15 +53309,15 @@ "binop": null }, "value": "index", - "start": 10192, - "end": 10197, + "start": 11462, + "end": 11467, "loc": { "start": { - "line": 303, + "line": 347, "column": 12 }, "end": { - "line": 303, + "line": 347, "column": 17 } } @@ -48421,15 +53335,15 @@ "binop": null, "updateContext": null }, - "start": 10197, - "end": 10198, + "start": 11467, + "end": 11468, "loc": { "start": { - "line": 303, + "line": 347, "column": 17 }, "end": { - "line": 303, + "line": 347, "column": 18 } } @@ -48437,15 +53351,15 @@ { "type": "CommentLine", "value": " Remove via reference to frame.", - "start": 10208, - "end": 10241, + "start": 11478, + "end": 11511, "loc": { "start": { - "line": 304, + "line": 348, "column": 8 }, "end": { - "line": 304, + "line": 348, "column": 41 } } @@ -48465,15 +53379,15 @@ "updateContext": null }, "value": "if", - "start": 10251, - "end": 10253, + "start": 11521, + "end": 11523, "loc": { "start": { - "line": 305, + "line": 349, "column": 8 }, "end": { - "line": 305, + "line": 349, "column": 10 } } @@ -48490,15 +53404,15 @@ "postfix": false, "binop": null }, - "start": 10254, - "end": 10255, + "start": 11524, + "end": 11525, "loc": { "start": { - "line": 305, + "line": 349, "column": 11 }, "end": { - "line": 305, + "line": 349, "column": 12 } } @@ -48518,15 +53432,15 @@ "updateContext": null }, "value": "this", - "start": 10255, - "end": 10259, + "start": 11525, + "end": 11529, "loc": { "start": { - "line": 305, + "line": 349, "column": 12 }, "end": { - "line": 305, + "line": 349, "column": 16 } } @@ -48544,15 +53458,15 @@ "binop": null, "updateContext": null }, - "start": 10259, - "end": 10260, + "start": 11529, + "end": 11530, "loc": { "start": { - "line": 305, + "line": 349, "column": 16 }, "end": { - "line": 305, + "line": 349, "column": 17 } } @@ -48570,15 +53484,15 @@ "binop": null }, "value": "frames", - "start": 10260, - "end": 10266, + "start": 11530, + "end": 11536, "loc": { "start": { - "line": 305, + "line": 349, "column": 17 }, "end": { - "line": 305, + "line": 349, "column": 23 } } @@ -48596,15 +53510,15 @@ "binop": null, "updateContext": null }, - "start": 10266, - "end": 10267, + "start": 11536, + "end": 11537, "loc": { "start": { - "line": 305, + "line": 349, "column": 23 }, "end": { - "line": 305, + "line": 349, "column": 24 } } @@ -48622,15 +53536,15 @@ "binop": null }, "value": "includes", - "start": 10267, - "end": 10275, + "start": 11537, + "end": 11545, "loc": { "start": { - "line": 305, + "line": 349, "column": 24 }, "end": { - "line": 305, + "line": 349, "column": 32 } } @@ -48647,15 +53561,15 @@ "postfix": false, "binop": null }, - "start": 10275, - "end": 10276, + "start": 11545, + "end": 11546, "loc": { "start": { - "line": 305, + "line": 349, "column": 32 }, "end": { - "line": 305, + "line": 349, "column": 33 } } @@ -48673,15 +53587,15 @@ "binop": null }, "value": "pFrame", - "start": 10276, - "end": 10282, + "start": 11546, + "end": 11552, "loc": { "start": { - "line": 305, + "line": 349, "column": 33 }, "end": { - "line": 305, + "line": 349, "column": 39 } } @@ -48698,15 +53612,15 @@ "postfix": false, "binop": null }, - "start": 10282, - "end": 10283, + "start": 11552, + "end": 11553, "loc": { "start": { - "line": 305, + "line": 349, "column": 39 }, "end": { - "line": 305, + "line": 349, "column": 40 } } @@ -48723,15 +53637,15 @@ "postfix": false, "binop": null }, - "start": 10283, - "end": 10284, + "start": 11553, + "end": 11554, "loc": { "start": { - "line": 305, + "line": 349, "column": 40 }, "end": { - "line": 305, + "line": 349, "column": 41 } } @@ -48748,15 +53662,15 @@ "postfix": false, "binop": null }, - "start": 10285, - "end": 10286, + "start": 11555, + "end": 11556, "loc": { "start": { - "line": 305, + "line": 349, "column": 42 }, "end": { - "line": 305, + "line": 349, "column": 43 } } @@ -48774,15 +53688,15 @@ "binop": null }, "value": "index", - "start": 10300, - "end": 10305, + "start": 11570, + "end": 11575, "loc": { "start": { - "line": 306, + "line": 350, "column": 12 }, "end": { - "line": 306, + "line": 350, "column": 17 } } @@ -48801,15 +53715,15 @@ "updateContext": null }, "value": "=", - "start": 10306, - "end": 10307, + "start": 11576, + "end": 11577, "loc": { "start": { - "line": 306, + "line": 350, "column": 18 }, "end": { - "line": 306, + "line": 350, "column": 19 } } @@ -48829,15 +53743,15 @@ "updateContext": null }, "value": "this", - "start": 10308, - "end": 10312, + "start": 11578, + "end": 11582, "loc": { "start": { - "line": 306, + "line": 350, "column": 20 }, "end": { - "line": 306, + "line": 350, "column": 24 } } @@ -48855,15 +53769,15 @@ "binop": null, "updateContext": null }, - "start": 10312, - "end": 10313, + "start": 11582, + "end": 11583, "loc": { "start": { - "line": 306, + "line": 350, "column": 24 }, "end": { - "line": 306, + "line": 350, "column": 25 } } @@ -48881,15 +53795,15 @@ "binop": null }, "value": "frames", - "start": 10313, - "end": 10319, + "start": 11583, + "end": 11589, "loc": { "start": { - "line": 306, + "line": 350, "column": 25 }, "end": { - "line": 306, + "line": 350, "column": 31 } } @@ -48907,15 +53821,15 @@ "binop": null, "updateContext": null }, - "start": 10319, - "end": 10320, + "start": 11589, + "end": 11590, "loc": { "start": { - "line": 306, + "line": 350, "column": 31 }, "end": { - "line": 306, + "line": 350, "column": 32 } } @@ -48933,15 +53847,15 @@ "binop": null }, "value": "indexOf", - "start": 10320, - "end": 10327, + "start": 11590, + "end": 11597, "loc": { "start": { - "line": 306, + "line": 350, "column": 32 }, "end": { - "line": 306, + "line": 350, "column": 39 } } @@ -48958,15 +53872,15 @@ "postfix": false, "binop": null }, - "start": 10327, - "end": 10328, + "start": 11597, + "end": 11598, "loc": { "start": { - "line": 306, + "line": 350, "column": 39 }, "end": { - "line": 306, + "line": 350, "column": 40 } } @@ -48984,15 +53898,15 @@ "binop": null }, "value": "pFrame", - "start": 10328, - "end": 10334, + "start": 11598, + "end": 11604, "loc": { "start": { - "line": 306, + "line": 350, "column": 40 }, "end": { - "line": 306, + "line": 350, "column": 46 } } @@ -49009,15 +53923,15 @@ "postfix": false, "binop": null }, - "start": 10334, - "end": 10335, + "start": 11604, + "end": 11605, "loc": { "start": { - "line": 306, + "line": 350, "column": 46 }, "end": { - "line": 306, + "line": 350, "column": 47 } } @@ -49035,15 +53949,15 @@ "binop": null, "updateContext": null }, - "start": 10335, - "end": 10336, + "start": 11605, + "end": 11606, "loc": { "start": { - "line": 306, + "line": 350, "column": 47 }, "end": { - "line": 306, + "line": 350, "column": 48 } } @@ -49051,15 +53965,15 @@ { "type": "CommentLine", "value": " Remove via index passed.", - "start": 10346, - "end": 10373, + "start": 11616, + "end": 11643, "loc": { "start": { - "line": 307, + "line": 351, "column": 8 }, "end": { - "line": 307, + "line": 351, "column": 35 } } @@ -49076,15 +53990,15 @@ "postfix": false, "binop": null }, - "start": 10383, - "end": 10384, + "start": 11653, + "end": 11654, "loc": { "start": { - "line": 308, + "line": 352, "column": 8 }, "end": { - "line": 308, + "line": 352, "column": 9 } } @@ -49104,15 +54018,15 @@ "updateContext": null }, "value": "else", - "start": 10385, - "end": 10389, + "start": 11655, + "end": 11659, "loc": { "start": { - "line": 308, + "line": 352, "column": 10 }, "end": { - "line": 308, + "line": 352, "column": 14 } } @@ -49132,15 +54046,15 @@ "updateContext": null }, "value": "if", - "start": 10390, - "end": 10392, + "start": 11660, + "end": 11662, "loc": { "start": { - "line": 308, + "line": 352, "column": 15 }, "end": { - "line": 308, + "line": 352, "column": 17 } } @@ -49157,15 +54071,15 @@ "postfix": false, "binop": null }, - "start": 10393, - "end": 10394, + "start": 11663, + "end": 11664, "loc": { "start": { - "line": 308, + "line": 352, "column": 18 }, "end": { - "line": 308, + "line": 352, "column": 19 } } @@ -49183,15 +54097,15 @@ "binop": null }, "value": "pIndex", - "start": 10394, - "end": 10400, + "start": 11664, + "end": 11670, "loc": { "start": { - "line": 308, + "line": 352, "column": 19 }, "end": { - "line": 308, + "line": 352, "column": 25 } } @@ -49210,15 +54124,15 @@ "updateContext": null }, "value": "||", - "start": 10401, - "end": 10403, + "start": 11671, + "end": 11673, "loc": { "start": { - "line": 308, + "line": 352, "column": 26 }, "end": { - "line": 308, + "line": 352, "column": 28 } } @@ -49236,15 +54150,15 @@ "binop": null }, "value": "pIndex", - "start": 10404, - "end": 10410, + "start": 11674, + "end": 11680, "loc": { "start": { - "line": 308, + "line": 352, "column": 29 }, "end": { - "line": 308, + "line": 352, "column": 35 } } @@ -49263,15 +54177,15 @@ "updateContext": null }, "value": "===", - "start": 10411, - "end": 10414, + "start": 11681, + "end": 11684, "loc": { "start": { - "line": 308, + "line": 352, "column": 36 }, "end": { - "line": 308, + "line": 352, "column": 39 } } @@ -49290,15 +54204,15 @@ "updateContext": null }, "value": 0, - "start": 10415, - "end": 10416, + "start": 11685, + "end": 11686, "loc": { "start": { - "line": 308, + "line": 352, "column": 40 }, "end": { - "line": 308, + "line": 352, "column": 41 } } @@ -49315,15 +54229,15 @@ "postfix": false, "binop": null }, - "start": 10416, - "end": 10417, + "start": 11686, + "end": 11687, "loc": { "start": { - "line": 308, + "line": 352, "column": 41 }, "end": { - "line": 308, + "line": 352, "column": 42 } } @@ -49340,15 +54254,15 @@ "postfix": false, "binop": null }, - "start": 10418, - "end": 10419, + "start": 11688, + "end": 11689, "loc": { "start": { - "line": 308, + "line": 352, "column": 43 }, "end": { - "line": 308, + "line": 352, "column": 44 } } @@ -49368,15 +54282,15 @@ "updateContext": null }, "value": "if", - "start": 10433, - "end": 10435, + "start": 11703, + "end": 11705, "loc": { "start": { - "line": 309, + "line": 353, "column": 12 }, "end": { - "line": 309, + "line": 353, "column": 14 } } @@ -49393,15 +54307,15 @@ "postfix": false, "binop": null }, - "start": 10436, - "end": 10437, + "start": 11706, + "end": 11707, "loc": { "start": { - "line": 309, + "line": 353, "column": 15 }, "end": { - "line": 309, + "line": 353, "column": 16 } } @@ -49421,15 +54335,15 @@ "updateContext": null }, "value": "typeof", - "start": 10437, - "end": 10443, + "start": 11707, + "end": 11713, "loc": { "start": { - "line": 309, + "line": 353, "column": 16 }, "end": { - "line": 309, + "line": 353, "column": 22 } } @@ -49446,15 +54360,15 @@ "postfix": false, "binop": null }, - "start": 10443, - "end": 10444, + "start": 11713, + "end": 11714, "loc": { "start": { - "line": 309, + "line": 353, "column": 22 }, "end": { - "line": 309, + "line": 353, "column": 23 } } @@ -49472,15 +54386,15 @@ "binop": null }, "value": "pIndex", - "start": 10444, - "end": 10450, + "start": 11714, + "end": 11720, "loc": { "start": { - "line": 309, + "line": 353, "column": 23 }, "end": { - "line": 309, + "line": 353, "column": 29 } } @@ -49497,15 +54411,15 @@ "postfix": false, "binop": null }, - "start": 10450, - "end": 10451, + "start": 11720, + "end": 11721, "loc": { "start": { - "line": 309, + "line": 353, "column": 29 }, "end": { - "line": 309, + "line": 353, "column": 30 } } @@ -49524,15 +54438,15 @@ "updateContext": null }, "value": "===", - "start": 10452, - "end": 10455, + "start": 11722, + "end": 11725, "loc": { "start": { - "line": 309, + "line": 353, "column": 31 }, "end": { - "line": 309, + "line": 353, "column": 34 } } @@ -49551,15 +54465,15 @@ "updateContext": null }, "value": "number", - "start": 10456, - "end": 10464, + "start": 11726, + "end": 11734, "loc": { "start": { - "line": 309, + "line": 353, "column": 35 }, "end": { - "line": 309, + "line": 353, "column": 43 } } @@ -49576,15 +54490,15 @@ "postfix": false, "binop": null }, - "start": 10464, - "end": 10465, + "start": 11734, + "end": 11735, "loc": { "start": { - "line": 309, + "line": 353, "column": 43 }, "end": { - "line": 309, + "line": 353, "column": 44 } } @@ -49601,15 +54515,15 @@ "postfix": false, "binop": null }, - "start": 10466, - "end": 10467, + "start": 11736, + "end": 11737, "loc": { "start": { - "line": 309, + "line": 353, "column": 45 }, "end": { - "line": 309, + "line": 353, "column": 46 } } @@ -49629,15 +54543,15 @@ "updateContext": null }, "value": "const", - "start": 10485, - "end": 10490, + "start": 11755, + "end": 11760, "loc": { "start": { - "line": 310, + "line": 354, "column": 16 }, "end": { - "line": 310, + "line": 354, "column": 21 } } @@ -49655,15 +54569,15 @@ "binop": null }, "value": "frame", - "start": 10491, - "end": 10496, + "start": 11761, + "end": 11766, "loc": { "start": { - "line": 310, + "line": 354, "column": 22 }, "end": { - "line": 310, + "line": 354, "column": 27 } } @@ -49682,15 +54596,15 @@ "updateContext": null }, "value": "=", - "start": 10497, - "end": 10498, + "start": 11767, + "end": 11768, "loc": { "start": { - "line": 310, + "line": 354, "column": 28 }, "end": { - "line": 310, + "line": 354, "column": 29 } } @@ -49710,15 +54624,15 @@ "updateContext": null }, "value": "this", - "start": 10499, - "end": 10503, + "start": 11769, + "end": 11773, "loc": { "start": { - "line": 310, + "line": 354, "column": 30 }, "end": { - "line": 310, + "line": 354, "column": 34 } } @@ -49736,15 +54650,15 @@ "binop": null, "updateContext": null }, - "start": 10503, - "end": 10504, + "start": 11773, + "end": 11774, "loc": { "start": { - "line": 310, + "line": 354, "column": 34 }, "end": { - "line": 310, + "line": 354, "column": 35 } } @@ -49762,15 +54676,15 @@ "binop": null }, "value": "getFrame", - "start": 10504, - "end": 10512, + "start": 11774, + "end": 11782, "loc": { "start": { - "line": 310, + "line": 354, "column": 35 }, "end": { - "line": 310, + "line": 354, "column": 43 } } @@ -49787,15 +54701,15 @@ "postfix": false, "binop": null }, - "start": 10512, - "end": 10513, + "start": 11782, + "end": 11783, "loc": { "start": { - "line": 310, + "line": 354, "column": 43 }, "end": { - "line": 310, + "line": 354, "column": 44 } } @@ -49813,15 +54727,15 @@ "binop": null }, "value": "pIndex", - "start": 10513, - "end": 10519, + "start": 11783, + "end": 11789, "loc": { "start": { - "line": 310, + "line": 354, "column": 44 }, "end": { - "line": 310, + "line": 354, "column": 50 } } @@ -49838,15 +54752,15 @@ "postfix": false, "binop": null }, - "start": 10519, - "end": 10520, + "start": 11789, + "end": 11790, "loc": { "start": { - "line": 310, + "line": 354, "column": 50 }, "end": { - "line": 310, + "line": 354, "column": 51 } } @@ -49864,15 +54778,15 @@ "binop": null, "updateContext": null }, - "start": 10520, - "end": 10521, + "start": 11790, + "end": 11791, "loc": { "start": { - "line": 310, + "line": 354, "column": 51 }, "end": { - "line": 310, + "line": 354, "column": 52 } } @@ -49892,15 +54806,15 @@ "updateContext": null }, "value": "if", - "start": 10539, - "end": 10541, + "start": 11809, + "end": 11811, "loc": { "start": { - "line": 311, + "line": 355, "column": 16 }, "end": { - "line": 311, + "line": 355, "column": 18 } } @@ -49917,15 +54831,15 @@ "postfix": false, "binop": null }, - "start": 10542, - "end": 10543, + "start": 11812, + "end": 11813, "loc": { "start": { - "line": 311, + "line": 355, "column": 19 }, "end": { - "line": 311, + "line": 355, "column": 20 } } @@ -49943,15 +54857,15 @@ "binop": null }, "value": "frame", - "start": 10543, - "end": 10548, + "start": 11813, + "end": 11818, "loc": { "start": { - "line": 311, + "line": 355, "column": 20 }, "end": { - "line": 311, + "line": 355, "column": 25 } } @@ -49968,15 +54882,15 @@ "postfix": false, "binop": null }, - "start": 10548, - "end": 10549, + "start": 11818, + "end": 11819, "loc": { "start": { - "line": 311, + "line": 355, "column": 25 }, "end": { - "line": 311, + "line": 355, "column": 26 } } @@ -49993,15 +54907,15 @@ "postfix": false, "binop": null }, - "start": 10550, - "end": 10551, + "start": 11820, + "end": 11821, "loc": { "start": { - "line": 311, + "line": 355, "column": 27 }, "end": { - "line": 311, + "line": 355, "column": 28 } } @@ -50019,15 +54933,15 @@ "binop": null }, "value": "index", - "start": 10573, - "end": 10578, + "start": 11843, + "end": 11848, "loc": { "start": { - "line": 312, + "line": 356, "column": 20 }, "end": { - "line": 312, + "line": 356, "column": 25 } } @@ -50046,15 +54960,15 @@ "updateContext": null }, "value": "=", - "start": 10579, - "end": 10580, + "start": 11849, + "end": 11850, "loc": { "start": { - "line": 312, + "line": 356, "column": 26 }, "end": { - "line": 312, + "line": 356, "column": 27 } } @@ -50072,15 +54986,15 @@ "binop": null }, "value": "pIndex", - "start": 10581, - "end": 10587, + "start": 11851, + "end": 11857, "loc": { "start": { - "line": 312, + "line": 356, "column": 28 }, "end": { - "line": 312, + "line": 356, "column": 34 } } @@ -50098,15 +55012,15 @@ "binop": null, "updateContext": null }, - "start": 10587, - "end": 10588, + "start": 11857, + "end": 11858, "loc": { "start": { - "line": 312, + "line": 356, "column": 34 }, "end": { - "line": 312, + "line": 356, "column": 35 } } @@ -50123,15 +55037,15 @@ "postfix": false, "binop": null }, - "start": 10606, - "end": 10607, + "start": 11876, + "end": 11877, "loc": { "start": { - "line": 313, + "line": 357, "column": 16 }, "end": { - "line": 313, + "line": 357, "column": 17 } } @@ -50148,15 +55062,15 @@ "postfix": false, "binop": null }, - "start": 10621, - "end": 10622, + "start": 11891, + "end": 11892, "loc": { "start": { - "line": 314, + "line": 358, "column": 12 }, "end": { - "line": 314, + "line": 358, "column": 13 } } @@ -50176,15 +55090,15 @@ "updateContext": null }, "value": "else", - "start": 10623, - "end": 10627, + "start": 11893, + "end": 11897, "loc": { "start": { - "line": 314, + "line": 358, "column": 14 }, "end": { - "line": 314, + "line": 358, "column": 18 } } @@ -50201,15 +55115,15 @@ "postfix": false, "binop": null }, - "start": 10628, - "end": 10629, + "start": 11898, + "end": 11899, "loc": { "start": { - "line": 314, + "line": 358, "column": 19 }, "end": { - "line": 314, + "line": 358, "column": 20 } } @@ -50227,15 +55141,15 @@ "binop": null }, "value": "VYI", - "start": 10647, - "end": 10650, + "start": 11917, + "end": 11920, "loc": { "start": { - "line": 315, + "line": 359, "column": 16 }, "end": { - "line": 315, + "line": 359, "column": 19 } } @@ -50253,15 +55167,15 @@ "binop": null, "updateContext": null }, - "start": 10650, - "end": 10651, + "start": 11920, + "end": 11921, "loc": { "start": { - "line": 315, + "line": 359, "column": 19 }, "end": { - "line": 315, + "line": 359, "column": 20 } } @@ -50279,15 +55193,15 @@ "binop": null }, "value": "logger", - "start": 10651, - "end": 10657, + "start": 11921, + "end": 11927, "loc": { "start": { - "line": 315, + "line": 359, "column": 20 }, "end": { - "line": 315, + "line": 359, "column": 26 } } @@ -50305,15 +55219,15 @@ "binop": null, "updateContext": null }, - "start": 10657, - "end": 10658, + "start": 11927, + "end": 11928, "loc": { "start": { - "line": 315, + "line": 359, "column": 26 }, "end": { - "line": 315, + "line": 359, "column": 27 } } @@ -50331,15 +55245,15 @@ "binop": null }, "value": "prefix", - "start": 10658, - "end": 10664, + "start": 11928, + "end": 11934, "loc": { "start": { - "line": 315, + "line": 359, "column": 27 }, "end": { - "line": 315, + "line": 359, "column": 33 } } @@ -50356,15 +55270,15 @@ "postfix": false, "binop": null }, - "start": 10664, - "end": 10665, + "start": 11934, + "end": 11935, "loc": { "start": { - "line": 315, + "line": 359, "column": 33 }, "end": { - "line": 315, + "line": 359, "column": 34 } } @@ -50383,15 +55297,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 10665, - "end": 10677, + "start": 11935, + "end": 11947, "loc": { "start": { - "line": 315, + "line": 359, "column": 34 }, "end": { - "line": 315, + "line": 359, "column": 46 } } @@ -50408,15 +55322,15 @@ "postfix": false, "binop": null }, - "start": 10677, - "end": 10678, + "start": 11947, + "end": 11948, "loc": { "start": { - "line": 315, + "line": 359, "column": 46 }, "end": { - "line": 315, + "line": 359, "column": 47 } } @@ -50434,15 +55348,15 @@ "binop": null, "updateContext": null }, - "start": 10678, - "end": 10679, + "start": 11948, + "end": 11949, "loc": { "start": { - "line": 315, + "line": 359, "column": 47 }, "end": { - "line": 315, + "line": 359, "column": 48 } } @@ -50460,15 +55374,15 @@ "binop": null }, "value": "error", - "start": 10679, - "end": 10684, + "start": 11949, + "end": 11954, "loc": { "start": { - "line": 315, + "line": 359, "column": 48 }, "end": { - "line": 315, + "line": 359, "column": 53 } } @@ -50485,15 +55399,15 @@ "postfix": false, "binop": null }, - "start": 10684, - "end": 10685, + "start": 11954, + "end": 11955, "loc": { "start": { - "line": 315, + "line": 359, "column": 53 }, "end": { - "line": 315, + "line": 359, "column": 54 } } @@ -50512,15 +55426,15 @@ "updateContext": null }, "value": "Invalid pIndex type!", - "start": 10685, - "end": 10707, + "start": 11955, + "end": 11977, "loc": { "start": { - "line": 315, + "line": 359, "column": 54 }, "end": { - "line": 315, + "line": 359, "column": 76 } } @@ -50537,15 +55451,15 @@ "postfix": false, "binop": null }, - "start": 10707, - "end": 10708, + "start": 11977, + "end": 11978, "loc": { "start": { - "line": 315, + "line": 359, "column": 76 }, "end": { - "line": 315, + "line": 359, "column": 77 } } @@ -50563,15 +55477,15 @@ "binop": null, "updateContext": null }, - "start": 10708, - "end": 10709, + "start": 11978, + "end": 11979, "loc": { "start": { - "line": 315, + "line": 359, "column": 77 }, "end": { - "line": 315, + "line": 359, "column": 78 } } @@ -50588,15 +55502,15 @@ "postfix": false, "binop": null }, - "start": 10723, - "end": 10724, + "start": 11993, + "end": 11994, "loc": { "start": { - "line": 316, + "line": 360, "column": 12 }, "end": { - "line": 316, + "line": 360, "column": 13 } } @@ -50613,15 +55527,15 @@ "postfix": false, "binop": null }, - "start": 10734, - "end": 10735, + "start": 12004, + "end": 12005, "loc": { "start": { - "line": 317, + "line": 361, "column": 8 }, "end": { - "line": 317, + "line": 361, "column": 9 } } @@ -50641,15 +55555,15 @@ "updateContext": null }, "value": "else", - "start": 10736, - "end": 10740, + "start": 12006, + "end": 12010, "loc": { "start": { - "line": 317, + "line": 361, "column": 10 }, "end": { - "line": 317, + "line": 361, "column": 14 } } @@ -50666,15 +55580,15 @@ "postfix": false, "binop": null }, - "start": 10741, - "end": 10742, + "start": 12011, + "end": 12012, "loc": { "start": { - "line": 317, + "line": 361, "column": 15 }, "end": { - "line": 317, + "line": 361, "column": 16 } } @@ -50692,15 +55606,15 @@ "binop": null }, "value": "VYI", - "start": 10756, - "end": 10759, + "start": 12026, + "end": 12029, "loc": { "start": { - "line": 318, + "line": 362, "column": 12 }, "end": { - "line": 318, + "line": 362, "column": 15 } } @@ -50718,15 +55632,15 @@ "binop": null, "updateContext": null }, - "start": 10759, - "end": 10760, + "start": 12029, + "end": 12030, "loc": { "start": { - "line": 318, + "line": 362, "column": 15 }, "end": { - "line": 318, + "line": 362, "column": 16 } } @@ -50744,15 +55658,15 @@ "binop": null }, "value": "logger", - "start": 10760, - "end": 10766, + "start": 12030, + "end": 12036, "loc": { "start": { - "line": 318, + "line": 362, "column": 16 }, "end": { - "line": 318, + "line": 362, "column": 22 } } @@ -50770,15 +55684,15 @@ "binop": null, "updateContext": null }, - "start": 10766, - "end": 10767, + "start": 12036, + "end": 12037, "loc": { "start": { - "line": 318, + "line": 362, "column": 22 }, "end": { - "line": 318, + "line": 362, "column": 23 } } @@ -50796,15 +55710,15 @@ "binop": null }, "value": "prefix", - "start": 10767, - "end": 10773, + "start": 12037, + "end": 12043, "loc": { "start": { - "line": 318, + "line": 362, "column": 23 }, "end": { - "line": 318, + "line": 362, "column": 29 } } @@ -50821,15 +55735,15 @@ "postfix": false, "binop": null }, - "start": 10773, - "end": 10774, + "start": 12043, + "end": 12044, "loc": { "start": { - "line": 318, + "line": 362, "column": 29 }, "end": { - "line": 318, + "line": 362, "column": 30 } } @@ -50848,15 +55762,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 10774, - "end": 10786, + "start": 12044, + "end": 12056, "loc": { "start": { - "line": 318, + "line": 362, "column": 30 }, "end": { - "line": 318, + "line": 362, "column": 42 } } @@ -50873,15 +55787,15 @@ "postfix": false, "binop": null }, - "start": 10786, - "end": 10787, + "start": 12056, + "end": 12057, "loc": { "start": { - "line": 318, + "line": 362, "column": 42 }, "end": { - "line": 318, + "line": 362, "column": 43 } } @@ -50899,15 +55813,15 @@ "binop": null, "updateContext": null }, - "start": 10787, - "end": 10788, + "start": 12057, + "end": 12058, "loc": { "start": { - "line": 318, + "line": 362, "column": 43 }, "end": { - "line": 318, + "line": 362, "column": 44 } } @@ -50925,15 +55839,15 @@ "binop": null }, "value": "error", - "start": 10788, - "end": 10793, + "start": 12058, + "end": 12063, "loc": { "start": { - "line": 318, + "line": 362, "column": 44 }, "end": { - "line": 318, + "line": 362, "column": 49 } } @@ -50950,15 +55864,15 @@ "postfix": false, "binop": null }, - "start": 10793, - "end": 10794, + "start": 12063, + "end": 12064, "loc": { "start": { - "line": 318, + "line": 362, "column": 49 }, "end": { - "line": 318, + "line": 362, "column": 50 } } @@ -50977,15 +55891,15 @@ "updateContext": null }, "value": "Failed to remove frame!", - "start": 10794, - "end": 10819, + "start": 12064, + "end": 12089, "loc": { "start": { - "line": 318, + "line": 362, "column": 50 }, "end": { - "line": 318, + "line": 362, "column": 75 } } @@ -51002,15 +55916,15 @@ "postfix": false, "binop": null }, - "start": 10819, - "end": 10820, + "start": 12089, + "end": 12090, "loc": { "start": { - "line": 318, + "line": 362, "column": 75 }, "end": { - "line": 318, + "line": 362, "column": 76 } } @@ -51028,15 +55942,15 @@ "binop": null, "updateContext": null }, - "start": 10820, - "end": 10821, + "start": 12090, + "end": 12091, "loc": { "start": { - "line": 318, + "line": 362, "column": 76 }, "end": { - "line": 318, + "line": 362, "column": 77 } } @@ -51053,15 +55967,15 @@ "postfix": false, "binop": null }, - "start": 10831, - "end": 10832, + "start": 12101, + "end": 12102, "loc": { "start": { - "line": 319, + "line": 363, "column": 8 }, "end": { - "line": 319, + "line": 363, "column": 9 } } @@ -51081,15 +55995,15 @@ "updateContext": null }, "value": "if", - "start": 10842, - "end": 10844, + "start": 12112, + "end": 12114, "loc": { "start": { - "line": 320, + "line": 364, "column": 8 }, "end": { - "line": 320, + "line": 364, "column": 10 } } @@ -51106,15 +56020,15 @@ "postfix": false, "binop": null }, - "start": 10845, - "end": 10846, + "start": 12115, + "end": 12116, "loc": { "start": { - "line": 320, + "line": 364, "column": 11 }, "end": { - "line": 320, + "line": 364, "column": 12 } } @@ -51134,15 +56048,15 @@ "updateContext": null }, "value": "typeof", - "start": 10846, - "end": 10852, + "start": 12116, + "end": 12122, "loc": { "start": { - "line": 320, + "line": 364, "column": 12 }, "end": { - "line": 320, + "line": 364, "column": 18 } } @@ -51159,15 +56073,15 @@ "postfix": false, "binop": null }, - "start": 10852, - "end": 10853, + "start": 12122, + "end": 12123, "loc": { "start": { - "line": 320, + "line": 364, "column": 18 }, "end": { - "line": 320, + "line": 364, "column": 19 } } @@ -51185,15 +56099,15 @@ "binop": null }, "value": "index", - "start": 10853, - "end": 10858, + "start": 12123, + "end": 12128, "loc": { "start": { - "line": 320, + "line": 364, "column": 19 }, "end": { - "line": 320, + "line": 364, "column": 24 } } @@ -51210,15 +56124,15 @@ "postfix": false, "binop": null }, - "start": 10858, - "end": 10859, + "start": 12128, + "end": 12129, "loc": { "start": { - "line": 320, + "line": 364, "column": 24 }, "end": { - "line": 320, + "line": 364, "column": 25 } } @@ -51237,15 +56151,15 @@ "updateContext": null }, "value": "===", - "start": 10860, - "end": 10863, + "start": 12130, + "end": 12133, "loc": { "start": { - "line": 320, + "line": 364, "column": 26 }, "end": { - "line": 320, + "line": 364, "column": 29 } } @@ -51264,15 +56178,15 @@ "updateContext": null }, "value": "number", - "start": 10864, - "end": 10872, + "start": 12134, + "end": 12142, "loc": { "start": { - "line": 320, + "line": 364, "column": 30 }, "end": { - "line": 320, + "line": 364, "column": 38 } } @@ -51289,15 +56203,15 @@ "postfix": false, "binop": null }, - "start": 10872, - "end": 10873, + "start": 12142, + "end": 12143, "loc": { "start": { - "line": 320, + "line": 364, "column": 38 }, "end": { - "line": 320, + "line": 364, "column": 39 } } @@ -51314,15 +56228,15 @@ "postfix": false, "binop": null }, - "start": 10874, - "end": 10875, + "start": 12144, + "end": 12145, "loc": { "start": { - "line": 320, + "line": 364, "column": 40 }, "end": { - "line": 320, + "line": 364, "column": 41 } } @@ -51330,15 +56244,15 @@ { "type": "CommentLine", "value": " Remove the frame", - "start": 10889, - "end": 10908, + "start": 12159, + "end": 12178, "loc": { "start": { - "line": 321, + "line": 365, "column": 12 }, "end": { - "line": 321, + "line": 365, "column": 31 } } @@ -51358,15 +56272,15 @@ "updateContext": null }, "value": "this", - "start": 10922, - "end": 10926, + "start": 12192, + "end": 12196, "loc": { "start": { - "line": 322, + "line": 366, "column": 12 }, "end": { - "line": 322, + "line": 366, "column": 16 } } @@ -51384,15 +56298,15 @@ "binop": null, "updateContext": null }, - "start": 10926, - "end": 10927, + "start": 12196, + "end": 12197, "loc": { "start": { - "line": 322, + "line": 366, "column": 16 }, "end": { - "line": 322, + "line": 366, "column": 17 } } @@ -51410,15 +56324,15 @@ "binop": null }, "value": "frames", - "start": 10927, - "end": 10933, + "start": 12197, + "end": 12203, "loc": { "start": { - "line": 322, + "line": 366, "column": 17 }, "end": { - "line": 322, + "line": 366, "column": 23 } } @@ -51436,15 +56350,15 @@ "binop": null, "updateContext": null }, - "start": 10933, - "end": 10934, + "start": 12203, + "end": 12204, "loc": { "start": { - "line": 322, + "line": 366, "column": 23 }, "end": { - "line": 322, + "line": 366, "column": 24 } } @@ -51462,15 +56376,15 @@ "binop": null }, "value": "splice", - "start": 10934, - "end": 10940, + "start": 12204, + "end": 12210, "loc": { "start": { - "line": 322, + "line": 366, "column": 24 }, "end": { - "line": 322, + "line": 366, "column": 30 } } @@ -51487,15 +56401,15 @@ "postfix": false, "binop": null }, - "start": 10940, - "end": 10941, + "start": 12210, + "end": 12211, "loc": { "start": { - "line": 322, + "line": 366, "column": 30 }, "end": { - "line": 322, + "line": 366, "column": 31 } } @@ -51513,15 +56427,15 @@ "binop": null }, "value": "index", - "start": 10941, - "end": 10946, + "start": 12211, + "end": 12216, "loc": { "start": { - "line": 322, + "line": 366, "column": 31 }, "end": { - "line": 322, + "line": 366, "column": 36 } } @@ -51539,15 +56453,15 @@ "binop": null, "updateContext": null }, - "start": 10946, - "end": 10947, + "start": 12216, + "end": 12217, "loc": { "start": { - "line": 322, + "line": 366, "column": 36 }, "end": { - "line": 322, + "line": 366, "column": 37 } } @@ -51566,15 +56480,15 @@ "updateContext": null }, "value": 1, - "start": 10948, - "end": 10949, + "start": 12218, + "end": 12219, "loc": { "start": { - "line": 322, + "line": 366, "column": 38 }, "end": { - "line": 322, + "line": 366, "column": 39 } } @@ -51591,15 +56505,15 @@ "postfix": false, "binop": null }, - "start": 10949, - "end": 10950, + "start": 12219, + "end": 12220, "loc": { "start": { - "line": 322, + "line": 366, "column": 39 }, "end": { - "line": 322, + "line": 366, "column": 40 } } @@ -51617,15 +56531,15 @@ "binop": null, "updateContext": null }, - "start": 10950, - "end": 10951, + "start": 12220, + "end": 12221, "loc": { "start": { - "line": 322, + "line": 366, "column": 40 }, "end": { - "line": 322, + "line": 366, "column": 41 } } @@ -51633,15 +56547,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 10965, - "end": 10998, + "start": 12235, + "end": 12268, "loc": { "start": { - "line": 323, + "line": 367, "column": 12 }, "end": { - "line": 323, + "line": 367, "column": 45 } } @@ -51661,15 +56575,15 @@ "updateContext": null }, "value": "this", - "start": 11012, - "end": 11016, + "start": 12282, + "end": 12286, "loc": { "start": { - "line": 324, + "line": 368, "column": 12 }, "end": { - "line": 324, + "line": 368, "column": 16 } } @@ -51687,15 +56601,15 @@ "binop": null, "updateContext": null }, - "start": 11016, - "end": 11017, + "start": 12286, + "end": 12287, "loc": { "start": { - "line": 324, + "line": 368, "column": 16 }, "end": { - "line": 324, + "line": 368, "column": 17 } } @@ -51713,15 +56627,15 @@ "binop": null }, "value": "indexFrames", - "start": 11017, - "end": 11028, + "start": 12287, + "end": 12298, "loc": { "start": { - "line": 324, + "line": 368, "column": 17 }, "end": { - "line": 324, + "line": 368, "column": 28 } } @@ -51738,15 +56652,15 @@ "postfix": false, "binop": null }, - "start": 11028, - "end": 11029, + "start": 12298, + "end": 12299, "loc": { "start": { - "line": 324, + "line": 368, "column": 28 }, "end": { - "line": 324, + "line": 368, "column": 29 } } @@ -51763,15 +56677,15 @@ "postfix": false, "binop": null }, - "start": 11029, - "end": 11030, + "start": 12299, + "end": 12300, "loc": { "start": { - "line": 324, + "line": 368, "column": 29 }, "end": { - "line": 324, + "line": 368, "column": 30 } } @@ -51789,15 +56703,15 @@ "binop": null, "updateContext": null }, - "start": 11030, - "end": 11031, + "start": 12300, + "end": 12301, "loc": { "start": { - "line": 324, + "line": 368, "column": 30 }, "end": { - "line": 324, + "line": 368, "column": 31 } } @@ -51814,15 +56728,15 @@ "postfix": false, "binop": null }, - "start": 11041, - "end": 11042, + "start": 12311, + "end": 12312, "loc": { "start": { - "line": 325, + "line": 369, "column": 8 }, "end": { - "line": 325, + "line": 369, "column": 9 } } @@ -51842,15 +56756,15 @@ "updateContext": null }, "value": "return", - "start": 11052, - "end": 11058, + "start": 12322, + "end": 12328, "loc": { "start": { - "line": 326, + "line": 370, "column": 8 }, "end": { - "line": 326, + "line": 370, "column": 14 } } @@ -51870,15 +56784,15 @@ "updateContext": null }, "value": "this", - "start": 11059, - "end": 11063, + "start": 12329, + "end": 12333, "loc": { "start": { - "line": 326, + "line": 370, "column": 15 }, "end": { - "line": 326, + "line": 370, "column": 19 } } @@ -51896,15 +56810,15 @@ "binop": null, "updateContext": null }, - "start": 11063, - "end": 11064, + "start": 12333, + "end": 12334, "loc": { "start": { - "line": 326, + "line": 370, "column": 19 }, "end": { - "line": 326, + "line": 370, "column": 20 } } @@ -51921,15 +56835,15 @@ "postfix": false, "binop": null }, - "start": 11070, - "end": 11071, + "start": 12340, + "end": 12341, "loc": { "start": { - "line": 327, + "line": 371, "column": 4 }, "end": { - "line": 327, + "line": 371, "column": 5 } } @@ -51937,15 +56851,15 @@ { "type": "CommentBlock", "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11077, - "end": 11141, + "start": 12347, + "end": 12411, "loc": { "start": { - "line": 328, + "line": 372, "column": 4 }, "end": { - "line": 331, + "line": 375, "column": 7 } } @@ -51963,15 +56877,15 @@ "binop": null }, "value": "indexFrames", - "start": 11147, - "end": 11158, + "start": 12417, + "end": 12428, "loc": { "start": { - "line": 332, + "line": 376, "column": 4 }, "end": { - "line": 332, + "line": 376, "column": 15 } } @@ -51988,15 +56902,15 @@ "postfix": false, "binop": null }, - "start": 11158, - "end": 11159, + "start": 12428, + "end": 12429, "loc": { "start": { - "line": 332, + "line": 376, "column": 15 }, "end": { - "line": 332, + "line": 376, "column": 16 } } @@ -52013,15 +56927,15 @@ "postfix": false, "binop": null }, - "start": 11159, - "end": 11160, + "start": 12429, + "end": 12430, "loc": { "start": { - "line": 332, + "line": 376, "column": 16 }, "end": { - "line": 332, + "line": 376, "column": 17 } } @@ -52038,15 +56952,15 @@ "postfix": false, "binop": null }, - "start": 11161, - "end": 11162, + "start": 12431, + "end": 12432, "loc": { "start": { - "line": 332, + "line": 376, "column": 18 }, "end": { - "line": 332, + "line": 376, "column": 19 } } @@ -52054,15 +56968,15 @@ { "type": "CommentLine", "value": " Reorder the frames after removing.", - "start": 11172, - "end": 11209, + "start": 12442, + "end": 12479, "loc": { "start": { - "line": 333, + "line": 377, "column": 8 }, "end": { - "line": 333, + "line": 377, "column": 45 } } @@ -52082,15 +56996,15 @@ "updateContext": null }, "value": "this", - "start": 11219, - "end": 11223, + "start": 12489, + "end": 12493, "loc": { "start": { - "line": 334, + "line": 378, "column": 8 }, "end": { - "line": 334, + "line": 378, "column": 12 } } @@ -52108,15 +57022,15 @@ "binop": null, "updateContext": null }, - "start": 11223, - "end": 11224, + "start": 12493, + "end": 12494, "loc": { "start": { - "line": 334, + "line": 378, "column": 12 }, "end": { - "line": 334, + "line": 378, "column": 13 } } @@ -52134,15 +57048,15 @@ "binop": null }, "value": "frames", - "start": 11224, - "end": 11230, + "start": 12494, + "end": 12500, "loc": { "start": { - "line": 334, + "line": 378, "column": 13 }, "end": { - "line": 334, + "line": 378, "column": 19 } } @@ -52160,15 +57074,15 @@ "binop": null, "updateContext": null }, - "start": 11230, - "end": 11231, + "start": 12500, + "end": 12501, "loc": { "start": { - "line": 334, + "line": 378, "column": 19 }, "end": { - "line": 334, + "line": 378, "column": 20 } } @@ -52186,15 +57100,15 @@ "binop": null }, "value": "forEach", - "start": 11231, - "end": 11238, + "start": 12501, + "end": 12508, "loc": { "start": { - "line": 334, + "line": 378, "column": 20 }, "end": { - "line": 334, + "line": 378, "column": 27 } } @@ -52211,15 +57125,15 @@ "postfix": false, "binop": null }, - "start": 11238, - "end": 11239, + "start": 12508, + "end": 12509, "loc": { "start": { - "line": 334, + "line": 378, "column": 27 }, "end": { - "line": 334, + "line": 378, "column": 28 } } @@ -52236,15 +57150,15 @@ "postfix": false, "binop": null }, - "start": 11239, - "end": 11240, + "start": 12509, + "end": 12510, "loc": { "start": { - "line": 334, + "line": 378, "column": 28 }, "end": { - "line": 334, + "line": 378, "column": 29 } } @@ -52262,15 +57176,15 @@ "binop": null }, "value": "pFrame", - "start": 11240, - "end": 11246, + "start": 12510, + "end": 12516, "loc": { "start": { - "line": 334, + "line": 378, "column": 29 }, "end": { - "line": 334, + "line": 378, "column": 35 } } @@ -52288,15 +57202,15 @@ "binop": null, "updateContext": null }, - "start": 11246, - "end": 11247, + "start": 12516, + "end": 12517, "loc": { "start": { - "line": 334, + "line": 378, "column": 35 }, "end": { - "line": 334, + "line": 378, "column": 36 } } @@ -52314,15 +57228,15 @@ "binop": null }, "value": "pIndex", - "start": 11248, - "end": 11254, + "start": 12518, + "end": 12524, "loc": { "start": { - "line": 334, + "line": 378, "column": 37 }, "end": { - "line": 334, + "line": 378, "column": 43 } } @@ -52339,15 +57253,15 @@ "postfix": false, "binop": null }, - "start": 11254, - "end": 11255, + "start": 12524, + "end": 12525, "loc": { "start": { - "line": 334, + "line": 378, "column": 43 }, "end": { - "line": 334, + "line": 378, "column": 44 } } @@ -52365,15 +57279,15 @@ "binop": null, "updateContext": null }, - "start": 11256, - "end": 11258, + "start": 12526, + "end": 12528, "loc": { "start": { - "line": 334, + "line": 378, "column": 45 }, "end": { - "line": 334, + "line": 378, "column": 47 } } @@ -52390,15 +57304,15 @@ "postfix": false, "binop": null }, - "start": 11259, - "end": 11260, + "start": 12529, + "end": 12530, "loc": { "start": { - "line": 334, + "line": 378, "column": 48 }, "end": { - "line": 334, + "line": 378, "column": 49 } } @@ -52416,15 +57330,15 @@ "binop": null }, "value": "pFrame", - "start": 11274, - "end": 11280, + "start": 12544, + "end": 12550, "loc": { "start": { - "line": 335, + "line": 379, "column": 12 }, "end": { - "line": 335, + "line": 379, "column": 18 } } @@ -52442,15 +57356,15 @@ "binop": null, "updateContext": null }, - "start": 11280, - "end": 11281, + "start": 12550, + "end": 12551, "loc": { "start": { - "line": 335, + "line": 379, "column": 18 }, "end": { - "line": 335, + "line": 379, "column": 19 } } @@ -52468,15 +57382,15 @@ "binop": null }, "value": "index", - "start": 11281, - "end": 11286, + "start": 12551, + "end": 12556, "loc": { "start": { - "line": 335, + "line": 379, "column": 19 }, "end": { - "line": 335, + "line": 379, "column": 24 } } @@ -52495,15 +57409,15 @@ "updateContext": null }, "value": "=", - "start": 11287, - "end": 11288, + "start": 12557, + "end": 12558, "loc": { "start": { - "line": 335, + "line": 379, "column": 25 }, "end": { - "line": 335, + "line": 379, "column": 26 } } @@ -52521,15 +57435,15 @@ "binop": null }, "value": "pIndex", - "start": 11289, - "end": 11295, + "start": 12559, + "end": 12565, "loc": { "start": { - "line": 335, + "line": 379, "column": 27 }, "end": { - "line": 335, + "line": 379, "column": 33 } } @@ -52547,15 +57461,15 @@ "binop": null, "updateContext": null }, - "start": 11295, - "end": 11296, + "start": 12565, + "end": 12566, "loc": { "start": { - "line": 335, + "line": 379, "column": 33 }, "end": { - "line": 335, + "line": 379, "column": 34 } } @@ -52572,15 +57486,15 @@ "postfix": false, "binop": null }, - "start": 11306, - "end": 11307, + "start": 12576, + "end": 12577, "loc": { "start": { - "line": 336, + "line": 380, "column": 8 }, "end": { - "line": 336, + "line": 380, "column": 9 } } @@ -52597,15 +57511,15 @@ "postfix": false, "binop": null }, - "start": 11307, - "end": 11308, + "start": 12577, + "end": 12578, "loc": { "start": { - "line": 336, + "line": 380, "column": 9 }, "end": { - "line": 336, + "line": 380, "column": 10 } } @@ -52623,15 +57537,15 @@ "binop": null, "updateContext": null }, - "start": 11308, - "end": 11309, + "start": 12578, + "end": 12579, "loc": { "start": { - "line": 336, + "line": 380, "column": 10 }, "end": { - "line": 336, + "line": 380, "column": 11 } } @@ -52648,15 +57562,15 @@ "postfix": false, "binop": null }, - "start": 11315, - "end": 11316, + "start": 12585, + "end": 12586, "loc": { "start": { - "line": 337, + "line": 381, "column": 4 }, "end": { - "line": 337, + "line": 381, "column": 5 } } @@ -52664,15 +57578,15 @@ { "type": "CommentBlock", "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11322, - "end": 11861, + "start": 12592, + "end": 13131, "loc": { "start": { - "line": 338, + "line": 382, "column": 4 }, "end": { - "line": 345, + "line": 389, "column": 7 } } @@ -52690,15 +57604,15 @@ "binop": null }, "value": "reorderFrame", - "start": 11867, - "end": 11879, + "start": 13137, + "end": 13149, "loc": { "start": { - "line": 346, + "line": 390, "column": 4 }, "end": { - "line": 346, + "line": 390, "column": 16 } } @@ -52715,15 +57629,15 @@ "postfix": false, "binop": null }, - "start": 11879, - "end": 11880, + "start": 13149, + "end": 13150, "loc": { "start": { - "line": 346, + "line": 390, "column": 16 }, "end": { - "line": 346, + "line": 390, "column": 17 } } @@ -52741,15 +57655,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 11880, - "end": 11893, + "start": 13150, + "end": 13163, "loc": { "start": { - "line": 346, + "line": 390, "column": 17 }, "end": { - "line": 346, + "line": 390, "column": 30 } } @@ -52767,15 +57681,15 @@ "binop": null, "updateContext": null }, - "start": 11893, - "end": 11894, + "start": 13163, + "end": 13164, "loc": { "start": { - "line": 346, + "line": 390, "column": 30 }, "end": { - "line": 346, + "line": 390, "column": 31 } } @@ -52793,15 +57707,15 @@ "binop": null }, "value": "pIndex", - "start": 11895, - "end": 11901, + "start": 13165, + "end": 13171, "loc": { "start": { - "line": 346, + "line": 390, "column": 32 }, "end": { - "line": 346, + "line": 390, "column": 38 } } @@ -52818,15 +57732,15 @@ "postfix": false, "binop": null }, - "start": 11901, - "end": 11902, + "start": 13171, + "end": 13172, "loc": { "start": { - "line": 346, + "line": 390, "column": 38 }, "end": { - "line": 346, + "line": 390, "column": 39 } } @@ -52843,15 +57757,15 @@ "postfix": false, "binop": null }, - "start": 11903, - "end": 11904, + "start": 13173, + "end": 13174, "loc": { "start": { - "line": 346, + "line": 390, "column": 40 }, "end": { - "line": 346, + "line": 390, "column": 41 } } @@ -52871,15 +57785,15 @@ "updateContext": null }, "value": "if", - "start": 11914, - "end": 11916, + "start": 13184, + "end": 13186, "loc": { "start": { - "line": 347, + "line": 391, "column": 8 }, "end": { - "line": 347, + "line": 391, "column": 10 } } @@ -52896,15 +57810,15 @@ "postfix": false, "binop": null }, - "start": 11917, - "end": 11918, + "start": 13187, + "end": 13188, "loc": { "start": { - "line": 347, + "line": 391, "column": 11 }, "end": { - "line": 347, + "line": 391, "column": 12 } } @@ -52924,15 +57838,15 @@ "updateContext": null }, "value": "typeof", - "start": 11918, - "end": 11924, + "start": 13188, + "end": 13194, "loc": { "start": { - "line": 347, + "line": 391, "column": 12 }, "end": { - "line": 347, + "line": 391, "column": 18 } } @@ -52949,15 +57863,15 @@ "postfix": false, "binop": null }, - "start": 11924, - "end": 11925, + "start": 13194, + "end": 13195, "loc": { "start": { - "line": 347, + "line": 391, "column": 18 }, "end": { - "line": 347, + "line": 391, "column": 19 } } @@ -52975,15 +57889,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 11925, - "end": 11938, + "start": 13195, + "end": 13208, "loc": { "start": { - "line": 347, + "line": 391, "column": 19 }, "end": { - "line": 347, + "line": 391, "column": 32 } } @@ -53000,15 +57914,15 @@ "postfix": false, "binop": null }, - "start": 11938, - "end": 11939, + "start": 13208, + "end": 13209, "loc": { "start": { - "line": 347, + "line": 391, "column": 32 }, "end": { - "line": 347, + "line": 391, "column": 33 } } @@ -53027,15 +57941,15 @@ "updateContext": null }, "value": "===", - "start": 11940, - "end": 11943, + "start": 13210, + "end": 13213, "loc": { "start": { - "line": 347, + "line": 391, "column": 34 }, "end": { - "line": 347, + "line": 391, "column": 37 } } @@ -53054,15 +57968,15 @@ "updateContext": null }, "value": "number", - "start": 11944, - "end": 11952, + "start": 13214, + "end": 13222, "loc": { "start": { - "line": 347, + "line": 391, "column": 38 }, "end": { - "line": 347, + "line": 391, "column": 46 } } @@ -53081,15 +57995,15 @@ "updateContext": null }, "value": "&&", - "start": 11953, - "end": 11955, + "start": 13223, + "end": 13225, "loc": { "start": { - "line": 347, + "line": 391, "column": 47 }, "end": { - "line": 347, + "line": 391, "column": 49 } } @@ -53109,15 +58023,15 @@ "updateContext": null }, "value": "typeof", - "start": 11956, - "end": 11962, + "start": 13226, + "end": 13232, "loc": { "start": { - "line": 347, + "line": 391, "column": 50 }, "end": { - "line": 347, + "line": 391, "column": 56 } } @@ -53134,15 +58048,15 @@ "postfix": false, "binop": null }, - "start": 11962, - "end": 11963, + "start": 13232, + "end": 13233, "loc": { "start": { - "line": 347, + "line": 391, "column": 56 }, "end": { - "line": 347, + "line": 391, "column": 57 } } @@ -53160,15 +58074,15 @@ "binop": null }, "value": "pIndex", - "start": 11963, - "end": 11969, + "start": 13233, + "end": 13239, "loc": { "start": { - "line": 347, + "line": 391, "column": 57 }, "end": { - "line": 347, + "line": 391, "column": 63 } } @@ -53185,15 +58099,15 @@ "postfix": false, "binop": null }, - "start": 11969, - "end": 11970, + "start": 13239, + "end": 13240, "loc": { "start": { - "line": 347, + "line": 391, "column": 63 }, "end": { - "line": 347, + "line": 391, "column": 64 } } @@ -53212,15 +58126,15 @@ "updateContext": null }, "value": "===", - "start": 11971, - "end": 11974, + "start": 13241, + "end": 13244, "loc": { "start": { - "line": 347, + "line": 391, "column": 65 }, "end": { - "line": 347, + "line": 391, "column": 68 } } @@ -53239,15 +58153,15 @@ "updateContext": null }, "value": "number", - "start": 11975, - "end": 11983, + "start": 13245, + "end": 13253, "loc": { "start": { - "line": 347, + "line": 391, "column": 69 }, "end": { - "line": 347, + "line": 391, "column": 77 } } @@ -53264,15 +58178,15 @@ "postfix": false, "binop": null }, - "start": 11983, - "end": 11984, + "start": 13253, + "end": 13254, "loc": { "start": { - "line": 347, + "line": 391, "column": 77 }, "end": { - "line": 347, + "line": 391, "column": 78 } } @@ -53289,15 +58203,15 @@ "postfix": false, "binop": null }, - "start": 11985, - "end": 11986, + "start": 13255, + "end": 13256, "loc": { "start": { - "line": 347, + "line": 391, "column": 79 }, "end": { - "line": 347, + "line": 391, "column": 80 } } @@ -53317,15 +58231,15 @@ "updateContext": null }, "value": "let", - "start": 12000, - "end": 12003, + "start": 13270, + "end": 13273, "loc": { "start": { - "line": 348, + "line": 392, "column": 12 }, "end": { - "line": 348, + "line": 392, "column": 15 } } @@ -53343,15 +58257,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 12004, - "end": 12016, + "start": 13274, + "end": 13286, "loc": { "start": { - "line": 348, + "line": 392, "column": 16 }, "end": { - "line": 348, + "line": 392, "column": 28 } } @@ -53369,15 +58283,15 @@ "binop": null, "updateContext": null }, - "start": 12016, - "end": 12017, + "start": 13286, + "end": 13287, "loc": { "start": { - "line": 348, + "line": 392, "column": 28 }, "end": { - "line": 348, + "line": 392, "column": 29 } } @@ -53397,15 +58311,15 @@ "updateContext": null }, "value": "let", - "start": 12031, - "end": 12034, + "start": 13301, + "end": 13304, "loc": { "start": { - "line": 349, + "line": 393, "column": 12 }, "end": { - "line": 349, + "line": 393, "column": 15 } } @@ -53423,15 +58337,15 @@ "binop": null }, "value": "currentFrame", - "start": 12035, - "end": 12047, + "start": 13305, + "end": 13317, "loc": { "start": { - "line": 349, + "line": 393, "column": 16 }, "end": { - "line": 349, + "line": 393, "column": 28 } } @@ -53449,15 +58363,15 @@ "binop": null, "updateContext": null }, - "start": 12047, - "end": 12048, + "start": 13317, + "end": 13318, "loc": { "start": { - "line": 349, + "line": 393, "column": 28 }, "end": { - "line": 349, + "line": 393, "column": 29 } } @@ -53465,15 +58379,15 @@ { "type": "CommentLine", "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12062, - "end": 12210, + "start": 13332, + "end": 13480, "loc": { "start": { - "line": 350, + "line": 394, "column": 12 }, "end": { - "line": 350, + "line": 394, "column": 160 } } @@ -53481,15 +58395,15 @@ { "type": "CommentLine", "value": " as the frame 0.", - "start": 12224, - "end": 12242, + "start": 13494, + "end": 13512, "loc": { "start": { - "line": 351, + "line": 395, "column": 12 }, "end": { - "line": 351, + "line": 395, "column": 30 } } @@ -53509,15 +58423,15 @@ "updateContext": null }, "value": "if", - "start": 12256, - "end": 12258, + "start": 13526, + "end": 13528, "loc": { "start": { - "line": 352, + "line": 396, "column": 12 }, "end": { - "line": 352, + "line": 396, "column": 14 } } @@ -53534,15 +58448,15 @@ "postfix": false, "binop": null }, - "start": 12259, - "end": 12260, + "start": 13529, + "end": 13530, "loc": { "start": { - "line": 352, + "line": 396, "column": 15 }, "end": { - "line": 352, + "line": 396, "column": 16 } } @@ -53560,15 +58474,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 12260, - "end": 12273, + "start": 13530, + "end": 13543, "loc": { "start": { - "line": 352, + "line": 396, "column": 16 }, "end": { - "line": 352, + "line": 396, "column": 29 } } @@ -53587,15 +58501,15 @@ "updateContext": null }, "value": "===", - "start": 12274, - "end": 12277, + "start": 13544, + "end": 13547, "loc": { "start": { - "line": 352, + "line": 396, "column": 30 }, "end": { - "line": 352, + "line": 396, "column": 33 } } @@ -53614,15 +58528,15 @@ "updateContext": null }, "value": "-", - "start": 12278, - "end": 12279, + "start": 13548, + "end": 13549, "loc": { "start": { - "line": 352, + "line": 396, "column": 34 }, "end": { - "line": 352, + "line": 396, "column": 35 } } @@ -53641,15 +58555,15 @@ "updateContext": null }, "value": 1, - "start": 12279, - "end": 12280, + "start": 13549, + "end": 13550, "loc": { "start": { - "line": 352, + "line": 396, "column": 35 }, "end": { - "line": 352, + "line": 396, "column": 36 } } @@ -53666,15 +58580,15 @@ "postfix": false, "binop": null }, - "start": 12280, - "end": 12281, + "start": 13550, + "end": 13551, "loc": { "start": { - "line": 352, + "line": 396, "column": 36 }, "end": { - "line": 352, + "line": 396, "column": 37 } } @@ -53691,15 +58605,15 @@ "postfix": false, "binop": null }, - "start": 12282, - "end": 12283, + "start": 13552, + "end": 13553, "loc": { "start": { - "line": 352, + "line": 396, "column": 38 }, "end": { - "line": 352, + "line": 396, "column": 39 } } @@ -53717,15 +58631,15 @@ "binop": null }, "value": "currentFrame", - "start": 12301, - "end": 12313, + "start": 13571, + "end": 13583, "loc": { "start": { - "line": 353, + "line": 397, "column": 16 }, "end": { - "line": 353, + "line": 397, "column": 28 } } @@ -53744,15 +58658,15 @@ "updateContext": null }, "value": "=", - "start": 12314, - "end": 12315, + "start": 13584, + "end": 13585, "loc": { "start": { - "line": 353, + "line": 397, "column": 29 }, "end": { - "line": 353, + "line": 397, "column": 30 } } @@ -53772,15 +58686,15 @@ "updateContext": null }, "value": "this", - "start": 12316, - "end": 12320, + "start": 13586, + "end": 13590, "loc": { "start": { - "line": 353, + "line": 397, "column": 31 }, "end": { - "line": 353, + "line": 397, "column": 35 } } @@ -53798,15 +58712,15 @@ "binop": null, "updateContext": null }, - "start": 12320, - "end": 12321, + "start": 13590, + "end": 13591, "loc": { "start": { - "line": 353, + "line": 397, "column": 35 }, "end": { - "line": 353, + "line": 397, "column": 36 } } @@ -53814,15 +58728,15 @@ { "type": "CommentLine", "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 12335, - "end": 12425, + "start": 13605, + "end": 13695, "loc": { "start": { - "line": 354, + "line": 398, "column": 12 }, "end": { - "line": 354, + "line": 398, "column": 102 } } @@ -53839,15 +58753,15 @@ "postfix": false, "binop": null }, - "start": 12439, - "end": 12440, + "start": 13709, + "end": 13710, "loc": { "start": { - "line": 355, + "line": 399, "column": 12 }, "end": { - "line": 355, + "line": 399, "column": 13 } } @@ -53867,15 +58781,15 @@ "updateContext": null }, "value": "else", - "start": 12441, - "end": 12445, + "start": 13711, + "end": 13715, "loc": { "start": { - "line": 355, + "line": 399, "column": 14 }, "end": { - "line": 355, + "line": 399, "column": 18 } } @@ -53895,15 +58809,15 @@ "updateContext": null }, "value": "if", - "start": 12446, - "end": 12448, + "start": 13716, + "end": 13718, "loc": { "start": { - "line": 355, + "line": 399, "column": 19 }, "end": { - "line": 355, + "line": 399, "column": 21 } } @@ -53920,15 +58834,15 @@ "postfix": false, "binop": null }, - "start": 12449, - "end": 12450, + "start": 13719, + "end": 13720, "loc": { "start": { - "line": 355, + "line": 399, "column": 22 }, "end": { - "line": 355, + "line": 399, "column": 23 } } @@ -53948,15 +58862,15 @@ "updateContext": null }, "value": "this", - "start": 12450, - "end": 12454, + "start": 13720, + "end": 13724, "loc": { "start": { - "line": 355, + "line": 399, "column": 23 }, "end": { - "line": 355, + "line": 399, "column": 27 } } @@ -53974,15 +58888,15 @@ "binop": null, "updateContext": null }, - "start": 12454, - "end": 12455, + "start": 13724, + "end": 13725, "loc": { "start": { - "line": 355, + "line": 399, "column": 27 }, "end": { - "line": 355, + "line": 399, "column": 28 } } @@ -54000,15 +58914,15 @@ "binop": null }, "value": "frames", - "start": 12455, - "end": 12461, + "start": 13725, + "end": 13731, "loc": { "start": { - "line": 355, + "line": 399, "column": 28 }, "end": { - "line": 355, + "line": 399, "column": 34 } } @@ -54026,15 +58940,15 @@ "binop": null, "updateContext": null }, - "start": 12461, - "end": 12462, + "start": 13731, + "end": 13732, "loc": { "start": { - "line": 355, + "line": 399, "column": 34 }, "end": { - "line": 355, + "line": 399, "column": 35 } } @@ -54052,15 +58966,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 12462, - "end": 12475, + "start": 13732, + "end": 13745, "loc": { "start": { - "line": 355, + "line": 399, "column": 35 }, "end": { - "line": 355, + "line": 399, "column": 48 } } @@ -54078,15 +58992,15 @@ "binop": null, "updateContext": null }, - "start": 12475, - "end": 12476, + "start": 13745, + "end": 13746, "loc": { "start": { - "line": 355, + "line": 399, "column": 48 }, "end": { - "line": 355, + "line": 399, "column": 49 } } @@ -54103,15 +59017,15 @@ "postfix": false, "binop": null }, - "start": 12476, - "end": 12477, + "start": 13746, + "end": 13747, "loc": { "start": { - "line": 355, + "line": 399, "column": 49 }, "end": { - "line": 355, + "line": 399, "column": 50 } } @@ -54128,15 +59042,15 @@ "postfix": false, "binop": null }, - "start": 12478, - "end": 12479, + "start": 13748, + "end": 13749, "loc": { "start": { - "line": 355, + "line": 399, "column": 51 }, "end": { - "line": 355, + "line": 399, "column": 52 } } @@ -54154,15 +59068,15 @@ "binop": null }, "value": "currentFrame", - "start": 12497, - "end": 12509, + "start": 13767, + "end": 13779, "loc": { "start": { - "line": 356, + "line": 400, "column": 16 }, "end": { - "line": 356, + "line": 400, "column": 28 } } @@ -54181,15 +59095,15 @@ "updateContext": null }, "value": "=", - "start": 12510, - "end": 12511, + "start": 13780, + "end": 13781, "loc": { "start": { - "line": 356, + "line": 400, "column": 29 }, "end": { - "line": 356, + "line": 400, "column": 30 } } @@ -54209,15 +59123,15 @@ "updateContext": null }, "value": "this", - "start": 12512, - "end": 12516, + "start": 13782, + "end": 13786, "loc": { "start": { - "line": 356, + "line": 400, "column": 31 }, "end": { - "line": 356, + "line": 400, "column": 35 } } @@ -54235,15 +59149,15 @@ "binop": null, "updateContext": null }, - "start": 12516, - "end": 12517, + "start": 13786, + "end": 13787, "loc": { "start": { - "line": 356, + "line": 400, "column": 35 }, "end": { - "line": 356, + "line": 400, "column": 36 } } @@ -54261,15 +59175,15 @@ "binop": null }, "value": "frames", - "start": 12517, - "end": 12523, + "start": 13787, + "end": 13793, "loc": { "start": { - "line": 356, + "line": 400, "column": 36 }, "end": { - "line": 356, + "line": 400, "column": 42 } } @@ -54287,15 +59201,15 @@ "binop": null, "updateContext": null }, - "start": 12523, - "end": 12524, + "start": 13793, + "end": 13794, "loc": { "start": { - "line": 356, + "line": 400, "column": 42 }, "end": { - "line": 356, + "line": 400, "column": 43 } } @@ -54313,15 +59227,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 12524, - "end": 12537, + "start": 13794, + "end": 13807, "loc": { "start": { - "line": 356, + "line": 400, "column": 43 }, "end": { - "line": 356, + "line": 400, "column": 56 } } @@ -54339,15 +59253,15 @@ "binop": null, "updateContext": null }, - "start": 12537, - "end": 12538, + "start": 13807, + "end": 13808, "loc": { "start": { - "line": 356, + "line": 400, "column": 56 }, "end": { - "line": 356, + "line": 400, "column": 57 } } @@ -54365,15 +59279,15 @@ "binop": null, "updateContext": null }, - "start": 12538, - "end": 12539, + "start": 13808, + "end": 13809, "loc": { "start": { - "line": 356, + "line": 400, "column": 57 }, "end": { - "line": 356, + "line": 400, "column": 58 } } @@ -54390,15 +59304,15 @@ "postfix": false, "binop": null }, - "start": 12553, - "end": 12554, + "start": 13823, + "end": 13824, "loc": { "start": { - "line": 357, + "line": 401, "column": 12 }, "end": { - "line": 357, + "line": 401, "column": 13 } } @@ -54406,15 +59320,15 @@ { "type": "CommentLine", "value": " We get the frame at the specified index.", - "start": 12570, - "end": 12613, + "start": 13840, + "end": 13883, "loc": { "start": { - "line": 359, + "line": 403, "column": 12 }, "end": { - "line": 359, + "line": 403, "column": 55 } } @@ -54434,15 +59348,15 @@ "updateContext": null }, "value": "if", - "start": 12627, - "end": 12629, + "start": 13897, + "end": 13899, "loc": { "start": { - "line": 360, + "line": 404, "column": 12 }, "end": { - "line": 360, + "line": 404, "column": 14 } } @@ -54459,15 +59373,15 @@ "postfix": false, "binop": null }, - "start": 12630, - "end": 12631, + "start": 13900, + "end": 13901, "loc": { "start": { - "line": 360, + "line": 404, "column": 15 }, "end": { - "line": 360, + "line": 404, "column": 16 } } @@ -54487,15 +59401,15 @@ "updateContext": null }, "value": "this", - "start": 12631, - "end": 12635, + "start": 13901, + "end": 13905, "loc": { "start": { - "line": 360, + "line": 404, "column": 16 }, "end": { - "line": 360, + "line": 404, "column": 20 } } @@ -54513,15 +59427,15 @@ "binop": null, "updateContext": null }, - "start": 12635, - "end": 12636, + "start": 13905, + "end": 13906, "loc": { "start": { - "line": 360, + "line": 404, "column": 20 }, "end": { - "line": 360, + "line": 404, "column": 21 } } @@ -54539,15 +59453,15 @@ "binop": null }, "value": "frames", - "start": 12636, - "end": 12642, + "start": 13906, + "end": 13912, "loc": { "start": { - "line": 360, + "line": 404, "column": 21 }, "end": { - "line": 360, + "line": 404, "column": 27 } } @@ -54565,15 +59479,15 @@ "binop": null, "updateContext": null }, - "start": 12642, - "end": 12643, + "start": 13912, + "end": 13913, "loc": { "start": { - "line": 360, + "line": 404, "column": 27 }, "end": { - "line": 360, + "line": 404, "column": 28 } } @@ -54591,15 +59505,15 @@ "binop": null }, "value": "pIndex", - "start": 12643, - "end": 12649, + "start": 13913, + "end": 13919, "loc": { "start": { - "line": 360, + "line": 404, "column": 28 }, "end": { - "line": 360, + "line": 404, "column": 34 } } @@ -54617,15 +59531,15 @@ "binop": null, "updateContext": null }, - "start": 12649, - "end": 12650, + "start": 13919, + "end": 13920, "loc": { "start": { - "line": 360, + "line": 404, "column": 34 }, "end": { - "line": 360, + "line": 404, "column": 35 } } @@ -54642,15 +59556,15 @@ "postfix": false, "binop": null }, - "start": 12650, - "end": 12651, + "start": 13920, + "end": 13921, "loc": { "start": { - "line": 360, + "line": 404, "column": 35 }, "end": { - "line": 360, + "line": 404, "column": 36 } } @@ -54667,15 +59581,15 @@ "postfix": false, "binop": null }, - "start": 12652, - "end": 12653, + "start": 13922, + "end": 13923, "loc": { "start": { - "line": 360, + "line": 404, "column": 37 }, "end": { - "line": 360, + "line": 404, "column": 38 } } @@ -54693,15 +59607,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 12671, - "end": 12683, + "start": 13941, + "end": 13953, "loc": { "start": { - "line": 361, + "line": 405, "column": 16 }, "end": { - "line": 361, + "line": 405, "column": 28 } } @@ -54720,15 +59634,15 @@ "updateContext": null }, "value": "=", - "start": 12684, - "end": 12685, + "start": 13954, + "end": 13955, "loc": { "start": { - "line": 361, + "line": 405, "column": 29 }, "end": { - "line": 361, + "line": 405, "column": 30 } } @@ -54748,15 +59662,15 @@ "updateContext": null }, "value": "this", - "start": 12686, - "end": 12690, + "start": 13956, + "end": 13960, "loc": { "start": { - "line": 361, + "line": 405, "column": 31 }, "end": { - "line": 361, + "line": 405, "column": 35 } } @@ -54774,15 +59688,15 @@ "binop": null, "updateContext": null }, - "start": 12690, - "end": 12691, + "start": 13960, + "end": 13961, "loc": { "start": { - "line": 361, + "line": 405, "column": 35 }, "end": { - "line": 361, + "line": 405, "column": 36 } } @@ -54800,15 +59714,15 @@ "binop": null }, "value": "frames", - "start": 12691, - "end": 12697, + "start": 13961, + "end": 13967, "loc": { "start": { - "line": 361, + "line": 405, "column": 36 }, "end": { - "line": 361, + "line": 405, "column": 42 } } @@ -54826,15 +59740,15 @@ "binop": null, "updateContext": null }, - "start": 12697, - "end": 12698, + "start": 13967, + "end": 13968, "loc": { "start": { - "line": 361, + "line": 405, "column": 42 }, "end": { - "line": 361, + "line": 405, "column": 43 } } @@ -54852,15 +59766,15 @@ "binop": null }, "value": "pIndex", - "start": 12698, - "end": 12704, + "start": 13968, + "end": 13974, "loc": { "start": { - "line": 361, + "line": 405, "column": 43 }, "end": { - "line": 361, + "line": 405, "column": 49 } } @@ -54878,15 +59792,15 @@ "binop": null, "updateContext": null }, - "start": 12704, - "end": 12705, + "start": 13974, + "end": 13975, "loc": { "start": { - "line": 361, + "line": 405, "column": 49 }, "end": { - "line": 361, + "line": 405, "column": 50 } } @@ -54904,15 +59818,15 @@ "binop": null, "updateContext": null }, - "start": 12705, - "end": 12706, + "start": 13975, + "end": 13976, "loc": { "start": { - "line": 361, + "line": 405, "column": 50 }, "end": { - "line": 361, + "line": 405, "column": 51 } } @@ -54929,15 +59843,15 @@ "postfix": false, "binop": null }, - "start": 12720, - "end": 12721, + "start": 13990, + "end": 13991, "loc": { "start": { - "line": 362, + "line": 406, "column": 12 }, "end": { - "line": 362, + "line": 406, "column": 13 } } @@ -54945,15 +59859,15 @@ { "type": "CommentLine", "value": " If both frames can be found, we can swap their data.", - "start": 12737, - "end": 12792, + "start": 14007, + "end": 14062, "loc": { "start": { - "line": 364, + "line": 408, "column": 12 }, "end": { - "line": 364, + "line": 408, "column": 67 } } @@ -54973,15 +59887,15 @@ "updateContext": null }, "value": "if", - "start": 12806, - "end": 12808, + "start": 14076, + "end": 14078, "loc": { "start": { - "line": 365, + "line": 409, "column": 12 }, "end": { - "line": 365, + "line": 409, "column": 14 } } @@ -54998,15 +59912,15 @@ "postfix": false, "binop": null }, - "start": 12809, - "end": 12810, + "start": 14079, + "end": 14080, "loc": { "start": { - "line": 365, + "line": 409, "column": 15 }, "end": { - "line": 365, + "line": 409, "column": 16 } } @@ -55024,15 +59938,15 @@ "binop": null }, "value": "currentFrame", - "start": 12810, - "end": 12822, + "start": 14080, + "end": 14092, "loc": { "start": { - "line": 365, + "line": 409, "column": 16 }, "end": { - "line": 365, + "line": 409, "column": 28 } } @@ -55051,15 +59965,15 @@ "updateContext": null }, "value": "&&", - "start": 12823, - "end": 12825, + "start": 14093, + "end": 14095, "loc": { "start": { - "line": 365, + "line": 409, "column": 29 }, "end": { - "line": 365, + "line": 409, "column": 31 } } @@ -55077,15 +59991,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 12826, - "end": 12838, + "start": 14096, + "end": 14108, "loc": { "start": { - "line": 365, + "line": 409, "column": 32 }, "end": { - "line": 365, + "line": 409, "column": 44 } } @@ -55102,15 +60016,15 @@ "postfix": false, "binop": null }, - "start": 12838, - "end": 12839, + "start": 14108, + "end": 14109, "loc": { "start": { - "line": 365, + "line": 409, "column": 44 }, "end": { - "line": 365, + "line": 409, "column": 45 } } @@ -55127,15 +60041,15 @@ "postfix": false, "binop": null }, - "start": 12840, - "end": 12841, + "start": 14110, + "end": 14111, "loc": { "start": { - "line": 365, + "line": 409, "column": 46 }, "end": { - "line": 365, + "line": 409, "column": 47 } } @@ -55143,15 +60057,15 @@ { "type": "CommentLine", "value": " Store frame data", - "start": 12859, - "end": 12878, + "start": 14129, + "end": 14148, "loc": { "start": { - "line": 366, + "line": 410, "column": 16 }, "end": { - "line": 366, + "line": 410, "column": 35 } } @@ -55171,15 +60085,15 @@ "updateContext": null }, "value": "const", - "start": 12896, - "end": 12901, + "start": 14166, + "end": 14171, "loc": { "start": { - "line": 367, + "line": 411, "column": 16 }, "end": { - "line": 367, + "line": 411, "column": 21 } } @@ -55197,15 +60111,15 @@ "binop": null }, "value": "currentFrameDataURL", - "start": 12902, - "end": 12921, + "start": 14172, + "end": 14191, "loc": { "start": { - "line": 367, + "line": 411, "column": 22 }, "end": { - "line": 367, + "line": 411, "column": 41 } } @@ -55224,15 +60138,15 @@ "updateContext": null }, "value": "=", - "start": 12922, - "end": 12923, + "start": 14192, + "end": 14193, "loc": { "start": { - "line": 367, + "line": 411, "column": 42 }, "end": { - "line": 367, + "line": 411, "column": 43 } } @@ -55250,15 +60164,15 @@ "binop": null }, "value": "currentFrame", - "start": 12924, - "end": 12936, + "start": 14194, + "end": 14206, "loc": { "start": { - "line": 367, + "line": 411, "column": 44 }, "end": { - "line": 367, + "line": 411, "column": 56 } } @@ -55276,15 +60190,15 @@ "binop": null, "updateContext": null }, - "start": 12936, - "end": 12937, + "start": 14206, + "end": 14207, "loc": { "start": { - "line": 367, + "line": 411, "column": 56 }, "end": { - "line": 367, + "line": 411, "column": 57 } } @@ -55302,15 +60216,15 @@ "binop": null }, "value": "getDataURL", - "start": 12937, - "end": 12947, + "start": 14207, + "end": 14217, "loc": { "start": { - "line": 367, + "line": 411, "column": 57 }, "end": { - "line": 367, + "line": 411, "column": 67 } } @@ -55327,15 +60241,15 @@ "postfix": false, "binop": null }, - "start": 12947, - "end": 12948, + "start": 14217, + "end": 14218, "loc": { "start": { - "line": 367, + "line": 411, "column": 67 }, "end": { - "line": 367, + "line": 411, "column": 68 } } @@ -55352,15 +60266,15 @@ "postfix": false, "binop": null }, - "start": 12948, - "end": 12949, + "start": 14218, + "end": 14219, "loc": { "start": { - "line": 367, + "line": 411, "column": 68 }, "end": { - "line": 367, + "line": 411, "column": 69 } } @@ -55378,15 +60292,15 @@ "binop": null, "updateContext": null }, - "start": 12949, - "end": 12950, + "start": 14219, + "end": 14220, "loc": { "start": { - "line": 367, + "line": 411, "column": 69 }, "end": { - "line": 367, + "line": 411, "column": 70 } } @@ -55406,15 +60320,15 @@ "updateContext": null }, "value": "const", - "start": 12968, - "end": 12973, + "start": 14238, + "end": 14243, "loc": { "start": { - "line": 368, + "line": 412, "column": 16 }, "end": { - "line": 368, + "line": 412, "column": 21 } } @@ -55432,15 +60346,15 @@ "binop": null }, "value": "currentFrameDelay", - "start": 12974, - "end": 12991, + "start": 14244, + "end": 14261, "loc": { "start": { - "line": 368, + "line": 412, "column": 22 }, "end": { - "line": 368, + "line": 412, "column": 39 } } @@ -55459,15 +60373,15 @@ "updateContext": null }, "value": "=", - "start": 12992, - "end": 12993, + "start": 14262, + "end": 14263, "loc": { "start": { - "line": 368, + "line": 412, "column": 40 }, "end": { - "line": 368, + "line": 412, "column": 41 } } @@ -55485,15 +60399,15 @@ "binop": null }, "value": "currentFrame", - "start": 12994, - "end": 13006, + "start": 14264, + "end": 14276, "loc": { "start": { - "line": 368, + "line": 412, "column": 42 }, "end": { - "line": 368, + "line": 412, "column": 54 } } @@ -55511,15 +60425,15 @@ "binop": null, "updateContext": null }, - "start": 13006, - "end": 13007, + "start": 14276, + "end": 14277, "loc": { "start": { - "line": 368, + "line": 412, "column": 54 }, "end": { - "line": 368, + "line": 412, "column": 55 } } @@ -55537,15 +60451,15 @@ "binop": null }, "value": "getDelay", - "start": 13007, - "end": 13015, + "start": 14277, + "end": 14285, "loc": { "start": { - "line": 368, + "line": 412, "column": 55 }, "end": { - "line": 368, + "line": 412, "column": 63 } } @@ -55562,15 +60476,15 @@ "postfix": false, "binop": null }, - "start": 13015, - "end": 13016, + "start": 14285, + "end": 14286, "loc": { "start": { - "line": 368, + "line": 412, "column": 63 }, "end": { - "line": 368, + "line": 412, "column": 64 } } @@ -55587,15 +60501,15 @@ "postfix": false, "binop": null }, - "start": 13016, - "end": 13017, + "start": 14286, + "end": 14287, "loc": { "start": { - "line": 368, + "line": 412, "column": 64 }, "end": { - "line": 368, + "line": 412, "column": 65 } } @@ -55613,15 +60527,15 @@ "binop": null, "updateContext": null }, - "start": 13017, - "end": 13018, + "start": 14287, + "end": 14288, "loc": { "start": { - "line": 368, + "line": 412, "column": 65 }, "end": { - "line": 368, + "line": 412, "column": 66 } } @@ -55641,15 +60555,15 @@ "updateContext": null }, "value": "const", - "start": 13038, - "end": 13043, + "start": 14308, + "end": 14313, "loc": { "start": { - "line": 370, + "line": 414, "column": 16 }, "end": { - "line": 370, + "line": 414, "column": 21 } } @@ -55667,15 +60581,15 @@ "binop": null }, "value": "frameAtIndexDataURL", - "start": 13044, - "end": 13063, + "start": 14314, + "end": 14333, "loc": { "start": { - "line": 370, + "line": 414, "column": 22 }, "end": { - "line": 370, + "line": 414, "column": 41 } } @@ -55694,15 +60608,15 @@ "updateContext": null }, "value": "=", - "start": 13064, - "end": 13065, + "start": 14334, + "end": 14335, "loc": { "start": { - "line": 370, + "line": 414, "column": 42 }, "end": { - "line": 370, + "line": 414, "column": 43 } } @@ -55720,15 +60634,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13066, - "end": 13078, + "start": 14336, + "end": 14348, "loc": { "start": { - "line": 370, + "line": 414, "column": 44 }, "end": { - "line": 370, + "line": 414, "column": 56 } } @@ -55746,15 +60660,15 @@ "binop": null, "updateContext": null }, - "start": 13078, - "end": 13079, + "start": 14348, + "end": 14349, "loc": { "start": { - "line": 370, + "line": 414, "column": 56 }, "end": { - "line": 370, + "line": 414, "column": 57 } } @@ -55772,15 +60686,15 @@ "binop": null }, "value": "getDataURL", - "start": 13079, - "end": 13089, + "start": 14349, + "end": 14359, "loc": { "start": { - "line": 370, + "line": 414, "column": 57 }, "end": { - "line": 370, + "line": 414, "column": 67 } } @@ -55797,15 +60711,15 @@ "postfix": false, "binop": null }, - "start": 13089, - "end": 13090, + "start": 14359, + "end": 14360, "loc": { "start": { - "line": 370, + "line": 414, "column": 67 }, "end": { - "line": 370, + "line": 414, "column": 68 } } @@ -55822,15 +60736,15 @@ "postfix": false, "binop": null }, - "start": 13090, - "end": 13091, + "start": 14360, + "end": 14361, "loc": { "start": { - "line": 370, + "line": 414, "column": 68 }, "end": { - "line": 370, + "line": 414, "column": 69 } } @@ -55848,15 +60762,15 @@ "binop": null, "updateContext": null }, - "start": 13091, - "end": 13092, + "start": 14361, + "end": 14362, "loc": { "start": { - "line": 370, + "line": 414, "column": 69 }, "end": { - "line": 370, + "line": 414, "column": 70 } } @@ -55876,15 +60790,15 @@ "updateContext": null }, "value": "const", - "start": 13110, - "end": 13115, + "start": 14380, + "end": 14385, "loc": { "start": { - "line": 371, + "line": 415, "column": 16 }, "end": { - "line": 371, + "line": 415, "column": 21 } } @@ -55902,15 +60816,15 @@ "binop": null }, "value": "frameAtIndexDelay", - "start": 13116, - "end": 13133, + "start": 14386, + "end": 14403, "loc": { "start": { - "line": 371, + "line": 415, "column": 22 }, "end": { - "line": 371, + "line": 415, "column": 39 } } @@ -55929,15 +60843,15 @@ "updateContext": null }, "value": "=", - "start": 13134, - "end": 13135, + "start": 14404, + "end": 14405, "loc": { "start": { - "line": 371, + "line": 415, "column": 40 }, "end": { - "line": 371, + "line": 415, "column": 41 } } @@ -55955,15 +60869,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13136, - "end": 13148, + "start": 14406, + "end": 14418, "loc": { "start": { - "line": 371, + "line": 415, "column": 42 }, "end": { - "line": 371, + "line": 415, "column": 54 } } @@ -55981,15 +60895,15 @@ "binop": null, "updateContext": null }, - "start": 13148, - "end": 13149, + "start": 14418, + "end": 14419, "loc": { "start": { - "line": 371, + "line": 415, "column": 54 }, "end": { - "line": 371, + "line": 415, "column": 55 } } @@ -56007,15 +60921,15 @@ "binop": null }, "value": "getDelay", - "start": 13149, - "end": 13157, + "start": 14419, + "end": 14427, "loc": { "start": { - "line": 371, + "line": 415, "column": 55 }, "end": { - "line": 371, + "line": 415, "column": 63 } } @@ -56032,15 +60946,15 @@ "postfix": false, "binop": null }, - "start": 13157, - "end": 13158, + "start": 14427, + "end": 14428, "loc": { "start": { - "line": 371, + "line": 415, "column": 63 }, "end": { - "line": 371, + "line": 415, "column": 64 } } @@ -56057,15 +60971,15 @@ "postfix": false, "binop": null }, - "start": 13158, - "end": 13159, + "start": 14428, + "end": 14429, "loc": { "start": { - "line": 371, + "line": 415, "column": 64 }, "end": { - "line": 371, + "line": 415, "column": 65 } } @@ -56083,15 +60997,15 @@ "binop": null, "updateContext": null }, - "start": 13159, - "end": 13160, + "start": 14429, + "end": 14430, "loc": { "start": { - "line": 371, + "line": 415, "column": 65 }, "end": { - "line": 371, + "line": 415, "column": 66 } } @@ -56099,15 +61013,15 @@ { "type": "CommentLine", "value": " Swap data from frame", - "start": 13180, - "end": 13203, + "start": 14450, + "end": 14473, "loc": { "start": { - "line": 373, + "line": 417, "column": 16 }, "end": { - "line": 373, + "line": 417, "column": 39 } } @@ -56125,15 +61039,15 @@ "binop": null }, "value": "currentFrame", - "start": 13221, - "end": 13233, + "start": 14491, + "end": 14503, "loc": { "start": { - "line": 374, + "line": 418, "column": 16 }, "end": { - "line": 374, + "line": 418, "column": 28 } } @@ -56151,15 +61065,15 @@ "binop": null, "updateContext": null }, - "start": 13233, - "end": 13234, + "start": 14503, + "end": 14504, "loc": { "start": { - "line": 374, + "line": 418, "column": 28 }, "end": { - "line": 374, + "line": 418, "column": 29 } } @@ -56177,15 +61091,15 @@ "binop": null }, "value": "setDataURL", - "start": 13234, - "end": 13244, + "start": 14504, + "end": 14514, "loc": { "start": { - "line": 374, + "line": 418, "column": 29 }, "end": { - "line": 374, + "line": 418, "column": 39 } } @@ -56202,15 +61116,15 @@ "postfix": false, "binop": null }, - "start": 13244, - "end": 13245, + "start": 14514, + "end": 14515, "loc": { "start": { - "line": 374, + "line": 418, "column": 39 }, "end": { - "line": 374, + "line": 418, "column": 40 } } @@ -56228,15 +61142,15 @@ "binop": null }, "value": "frameAtIndexDataURL", - "start": 13245, - "end": 13264, + "start": 14515, + "end": 14534, "loc": { "start": { - "line": 374, + "line": 418, "column": 40 }, "end": { - "line": 374, + "line": 418, "column": 59 } } @@ -56253,15 +61167,15 @@ "postfix": false, "binop": null }, - "start": 13264, - "end": 13265, + "start": 14534, + "end": 14535, "loc": { "start": { - "line": 374, + "line": 418, "column": 59 }, "end": { - "line": 374, + "line": 418, "column": 60 } } @@ -56279,15 +61193,15 @@ "binop": null, "updateContext": null }, - "start": 13265, - "end": 13266, + "start": 14535, + "end": 14536, "loc": { "start": { - "line": 374, + "line": 418, "column": 60 }, "end": { - "line": 374, + "line": 418, "column": 61 } } @@ -56305,15 +61219,15 @@ "binop": null }, "value": "currentFrame", - "start": 13284, - "end": 13296, + "start": 14554, + "end": 14566, "loc": { "start": { - "line": 375, + "line": 419, "column": 16 }, "end": { - "line": 375, + "line": 419, "column": 28 } } @@ -56331,15 +61245,15 @@ "binop": null, "updateContext": null }, - "start": 13296, - "end": 13297, + "start": 14566, + "end": 14567, "loc": { "start": { - "line": 375, + "line": 419, "column": 28 }, "end": { - "line": 375, + "line": 419, "column": 29 } } @@ -56357,15 +61271,15 @@ "binop": null }, "value": "setDelay", - "start": 13297, - "end": 13305, + "start": 14567, + "end": 14575, "loc": { "start": { - "line": 375, + "line": 419, "column": 29 }, "end": { - "line": 375, + "line": 419, "column": 37 } } @@ -56382,15 +61296,15 @@ "postfix": false, "binop": null }, - "start": 13305, - "end": 13306, + "start": 14575, + "end": 14576, "loc": { "start": { - "line": 375, + "line": 419, "column": 37 }, "end": { - "line": 375, + "line": 419, "column": 38 } } @@ -56408,15 +61322,15 @@ "binop": null }, "value": "frameAtIndexDelay", - "start": 13306, - "end": 13323, + "start": 14576, + "end": 14593, "loc": { "start": { - "line": 375, + "line": 419, "column": 38 }, "end": { - "line": 375, + "line": 419, "column": 55 } } @@ -56433,15 +61347,15 @@ "postfix": false, "binop": null }, - "start": 13323, - "end": 13324, + "start": 14593, + "end": 14594, "loc": { "start": { - "line": 375, + "line": 419, "column": 55 }, "end": { - "line": 375, + "line": 419, "column": 56 } } @@ -56459,15 +61373,15 @@ "binop": null, "updateContext": null }, - "start": 13324, - "end": 13325, + "start": 14594, + "end": 14595, "loc": { "start": { - "line": 375, + "line": 419, "column": 56 }, "end": { - "line": 375, + "line": 419, "column": 57 } } @@ -56475,15 +61389,15 @@ { "type": "CommentLine", "value": " Swap data to frame", - "start": 13343, - "end": 13364, + "start": 14613, + "end": 14634, "loc": { "start": { - "line": 376, + "line": 420, "column": 16 }, "end": { - "line": 376, + "line": 420, "column": 37 } } @@ -56501,15 +61415,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13382, - "end": 13394, + "start": 14652, + "end": 14664, "loc": { "start": { - "line": 377, + "line": 421, "column": 16 }, "end": { - "line": 377, + "line": 421, "column": 28 } } @@ -56527,15 +61441,15 @@ "binop": null, "updateContext": null }, - "start": 13394, - "end": 13395, + "start": 14664, + "end": 14665, "loc": { "start": { - "line": 377, + "line": 421, "column": 28 }, "end": { - "line": 377, + "line": 421, "column": 29 } } @@ -56553,15 +61467,15 @@ "binop": null }, "value": "setDataURL", - "start": 13395, - "end": 13405, + "start": 14665, + "end": 14675, "loc": { "start": { - "line": 377, + "line": 421, "column": 29 }, "end": { - "line": 377, + "line": 421, "column": 39 } } @@ -56578,15 +61492,15 @@ "postfix": false, "binop": null }, - "start": 13405, - "end": 13406, + "start": 14675, + "end": 14676, "loc": { "start": { - "line": 377, + "line": 421, "column": 39 }, "end": { - "line": 377, + "line": 421, "column": 40 } } @@ -56604,15 +61518,15 @@ "binop": null }, "value": "currentFrameDataURL", - "start": 13406, - "end": 13425, + "start": 14676, + "end": 14695, "loc": { "start": { - "line": 377, + "line": 421, "column": 40 }, "end": { - "line": 377, + "line": 421, "column": 59 } } @@ -56629,15 +61543,15 @@ "postfix": false, "binop": null }, - "start": 13425, - "end": 13426, + "start": 14695, + "end": 14696, "loc": { "start": { - "line": 377, + "line": 421, "column": 59 }, "end": { - "line": 377, + "line": 421, "column": 60 } } @@ -56655,15 +61569,15 @@ "binop": null, "updateContext": null }, - "start": 13426, - "end": 13427, + "start": 14696, + "end": 14697, "loc": { "start": { - "line": 377, + "line": 421, "column": 60 }, "end": { - "line": 377, + "line": 421, "column": 61 } } @@ -56681,15 +61595,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13445, - "end": 13457, + "start": 14715, + "end": 14727, "loc": { "start": { - "line": 378, + "line": 422, "column": 16 }, "end": { - "line": 378, + "line": 422, "column": 28 } } @@ -56707,15 +61621,15 @@ "binop": null, "updateContext": null }, - "start": 13457, - "end": 13458, + "start": 14727, + "end": 14728, "loc": { "start": { - "line": 378, + "line": 422, "column": 28 }, "end": { - "line": 378, + "line": 422, "column": 29 } } @@ -56733,15 +61647,15 @@ "binop": null }, "value": "setDelay", - "start": 13458, - "end": 13466, + "start": 14728, + "end": 14736, "loc": { "start": { - "line": 378, + "line": 422, "column": 29 }, "end": { - "line": 378, + "line": 422, "column": 37 } } @@ -56758,15 +61672,15 @@ "postfix": false, "binop": null }, - "start": 13466, - "end": 13467, + "start": 14736, + "end": 14737, "loc": { "start": { - "line": 378, + "line": 422, "column": 37 }, "end": { - "line": 378, + "line": 422, "column": 38 } } @@ -56784,15 +61698,15 @@ "binop": null }, "value": "currentFrameDelay", - "start": 13467, - "end": 13484, + "start": 14737, + "end": 14754, "loc": { "start": { - "line": 378, + "line": 422, "column": 38 }, "end": { - "line": 378, + "line": 422, "column": 55 } } @@ -56809,15 +61723,15 @@ "postfix": false, "binop": null }, - "start": 13484, - "end": 13485, + "start": 14754, + "end": 14755, "loc": { "start": { - "line": 378, + "line": 422, "column": 55 }, "end": { - "line": 378, + "line": 422, "column": 56 } } @@ -56835,15 +61749,15 @@ "binop": null, "updateContext": null }, - "start": 13485, - "end": 13486, + "start": 14755, + "end": 14756, "loc": { "start": { - "line": 378, + "line": 422, "column": 56 }, "end": { - "line": 378, + "line": 422, "column": 57 } } @@ -56860,15 +61774,15 @@ "postfix": false, "binop": null }, - "start": 13500, - "end": 13501, + "start": 14770, + "end": 14771, "loc": { "start": { - "line": 379, + "line": 423, "column": 12 }, "end": { - "line": 379, + "line": 423, "column": 13 } } @@ -56888,15 +61802,15 @@ "updateContext": null }, "value": "else", - "start": 13502, - "end": 13506, + "start": 14772, + "end": 14776, "loc": { "start": { - "line": 379, + "line": 423, "column": 14 }, "end": { - "line": 379, + "line": 423, "column": 18 } } @@ -56913,15 +61827,15 @@ "postfix": false, "binop": null }, - "start": 13507, - "end": 13508, + "start": 14777, + "end": 14778, "loc": { "start": { - "line": 379, + "line": 423, "column": 19 }, "end": { - "line": 379, + "line": 423, "column": 20 } } @@ -56939,15 +61853,15 @@ "binop": null }, "value": "VYI", - "start": 13526, - "end": 13529, + "start": 14796, + "end": 14799, "loc": { "start": { - "line": 380, + "line": 424, "column": 16 }, "end": { - "line": 380, + "line": 424, "column": 19 } } @@ -56965,15 +61879,15 @@ "binop": null, "updateContext": null }, - "start": 13529, - "end": 13530, + "start": 14799, + "end": 14800, "loc": { "start": { - "line": 380, + "line": 424, "column": 19 }, "end": { - "line": 380, + "line": 424, "column": 20 } } @@ -56991,15 +61905,15 @@ "binop": null }, "value": "logger", - "start": 13530, - "end": 13536, + "start": 14800, + "end": 14806, "loc": { "start": { - "line": 380, + "line": 424, "column": 20 }, "end": { - "line": 380, + "line": 424, "column": 26 } } @@ -57017,15 +61931,15 @@ "binop": null, "updateContext": null }, - "start": 13536, - "end": 13537, + "start": 14806, + "end": 14807, "loc": { "start": { - "line": 380, + "line": 424, "column": 26 }, "end": { - "line": 380, + "line": 424, "column": 27 } } @@ -57043,15 +61957,15 @@ "binop": null }, "value": "prefix", - "start": 13537, - "end": 13543, + "start": 14807, + "end": 14813, "loc": { "start": { - "line": 380, + "line": 424, "column": 27 }, "end": { - "line": 380, + "line": 424, "column": 33 } } @@ -57068,15 +61982,15 @@ "postfix": false, "binop": null }, - "start": 13543, - "end": 13544, + "start": 14813, + "end": 14814, "loc": { "start": { - "line": 380, + "line": 424, "column": 33 }, "end": { - "line": 380, + "line": 424, "column": 34 } } @@ -57095,15 +62009,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 13544, - "end": 13556, + "start": 14814, + "end": 14826, "loc": { "start": { - "line": 380, + "line": 424, "column": 34 }, "end": { - "line": 380, + "line": 424, "column": 46 } } @@ -57120,15 +62034,15 @@ "postfix": false, "binop": null }, - "start": 13556, - "end": 13557, + "start": 14826, + "end": 14827, "loc": { "start": { - "line": 380, + "line": 424, "column": 46 }, "end": { - "line": 380, + "line": 424, "column": 47 } } @@ -57146,15 +62060,15 @@ "binop": null, "updateContext": null }, - "start": 13557, - "end": 13558, + "start": 14827, + "end": 14828, "loc": { "start": { - "line": 380, + "line": 424, "column": 47 }, "end": { - "line": 380, + "line": 424, "column": 48 } } @@ -57172,15 +62086,15 @@ "binop": null }, "value": "error", - "start": 13558, - "end": 13563, + "start": 14828, + "end": 14833, "loc": { "start": { - "line": 380, + "line": 424, "column": 48 }, "end": { - "line": 380, + "line": 424, "column": 53 } } @@ -57197,15 +62111,15 @@ "postfix": false, "binop": null }, - "start": 13563, - "end": 13564, + "start": 14833, + "end": 14834, "loc": { "start": { - "line": 380, + "line": 424, "column": 53 }, "end": { - "line": 380, + "line": 424, "column": 54 } } @@ -57224,15 +62138,15 @@ "updateContext": null }, "value": "There was no frame found at pCurrentIndex, or there was no frame found at pIndex!", - "start": 13564, - "end": 13647, + "start": 14834, + "end": 14917, "loc": { "start": { - "line": 380, + "line": 424, "column": 54 }, "end": { - "line": 380, + "line": 424, "column": 137 } } @@ -57249,15 +62163,15 @@ "postfix": false, "binop": null }, - "start": 13647, - "end": 13648, + "start": 14917, + "end": 14918, "loc": { "start": { - "line": 380, + "line": 424, "column": 137 }, "end": { - "line": 380, + "line": 424, "column": 138 } } @@ -57275,15 +62189,15 @@ "binop": null, "updateContext": null }, - "start": 13648, - "end": 13649, + "start": 14918, + "end": 14919, "loc": { "start": { - "line": 380, + "line": 424, "column": 138 }, "end": { - "line": 380, + "line": 424, "column": 139 } } @@ -57300,15 +62214,15 @@ "postfix": false, "binop": null }, - "start": 13663, - "end": 13664, + "start": 14933, + "end": 14934, "loc": { "start": { - "line": 381, + "line": 425, "column": 12 }, "end": { - "line": 381, + "line": 425, "column": 13 } } @@ -57325,15 +62239,15 @@ "postfix": false, "binop": null }, - "start": 13674, - "end": 13675, + "start": 14944, + "end": 14945, "loc": { "start": { - "line": 382, + "line": 426, "column": 8 }, "end": { - "line": 382, + "line": 426, "column": 9 } } @@ -57353,15 +62267,15 @@ "updateContext": null }, "value": "else", - "start": 13676, - "end": 13680, + "start": 14946, + "end": 14950, "loc": { "start": { - "line": 382, + "line": 426, "column": 10 }, "end": { - "line": 382, + "line": 426, "column": 14 } } @@ -57378,15 +62292,15 @@ "postfix": false, "binop": null }, - "start": 13681, - "end": 13682, + "start": 14951, + "end": 14952, "loc": { "start": { - "line": 382, + "line": 426, "column": 15 }, "end": { - "line": 382, + "line": 426, "column": 16 } } @@ -57404,15 +62318,15 @@ "binop": null }, "value": "VYI", - "start": 13696, - "end": 13699, + "start": 14966, + "end": 14969, "loc": { "start": { - "line": 383, + "line": 427, "column": 12 }, "end": { - "line": 383, + "line": 427, "column": 15 } } @@ -57430,15 +62344,15 @@ "binop": null, "updateContext": null }, - "start": 13699, - "end": 13700, + "start": 14969, + "end": 14970, "loc": { "start": { - "line": 383, + "line": 427, "column": 15 }, "end": { - "line": 383, + "line": 427, "column": 16 } } @@ -57456,15 +62370,15 @@ "binop": null }, "value": "logger", - "start": 13700, - "end": 13706, + "start": 14970, + "end": 14976, "loc": { "start": { - "line": 383, + "line": 427, "column": 16 }, "end": { - "line": 383, + "line": 427, "column": 22 } } @@ -57482,15 +62396,15 @@ "binop": null, "updateContext": null }, - "start": 13706, - "end": 13707, + "start": 14976, + "end": 14977, "loc": { "start": { - "line": 383, + "line": 427, "column": 22 }, "end": { - "line": 383, + "line": 427, "column": 23 } } @@ -57508,15 +62422,15 @@ "binop": null }, "value": "prefix", - "start": 13707, - "end": 13713, + "start": 14977, + "end": 14983, "loc": { "start": { - "line": 383, + "line": 427, "column": 23 }, "end": { - "line": 383, + "line": 427, "column": 29 } } @@ -57533,15 +62447,15 @@ "postfix": false, "binop": null }, - "start": 13713, - "end": 13714, + "start": 14983, + "end": 14984, "loc": { "start": { - "line": 383, + "line": 427, "column": 29 }, "end": { - "line": 383, + "line": 427, "column": 30 } } @@ -57560,15 +62474,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 13714, - "end": 13726, + "start": 14984, + "end": 14996, "loc": { "start": { - "line": 383, + "line": 427, "column": 30 }, "end": { - "line": 383, + "line": 427, "column": 42 } } @@ -57585,15 +62499,15 @@ "postfix": false, "binop": null }, - "start": 13726, - "end": 13727, + "start": 14996, + "end": 14997, "loc": { "start": { - "line": 383, + "line": 427, "column": 42 }, "end": { - "line": 383, + "line": 427, "column": 43 } } @@ -57611,15 +62525,15 @@ "binop": null, "updateContext": null }, - "start": 13727, - "end": 13728, + "start": 14997, + "end": 14998, "loc": { "start": { - "line": 383, + "line": 427, "column": 43 }, "end": { - "line": 383, + "line": 427, "column": 44 } } @@ -57637,15 +62551,15 @@ "binop": null }, "value": "error", - "start": 13728, - "end": 13733, + "start": 14998, + "end": 15003, "loc": { "start": { - "line": 383, + "line": 427, "column": 44 }, "end": { - "line": 383, + "line": 427, "column": 49 } } @@ -57662,15 +62576,15 @@ "postfix": false, "binop": null }, - "start": 13733, - "end": 13734, + "start": 15003, + "end": 15004, "loc": { "start": { - "line": 383, + "line": 427, "column": 49 }, "end": { - "line": 383, + "line": 427, "column": 50 } } @@ -57689,15 +62603,15 @@ "updateContext": null }, "value": "Invalid type used!", - "start": 13734, - "end": 13754, + "start": 15004, + "end": 15024, "loc": { "start": { - "line": 383, + "line": 427, "column": 50 }, "end": { - "line": 383, + "line": 427, "column": 70 } } @@ -57714,15 +62628,15 @@ "postfix": false, "binop": null }, - "start": 13754, - "end": 13755, + "start": 15024, + "end": 15025, "loc": { "start": { - "line": 383, + "line": 427, "column": 70 }, "end": { - "line": 383, + "line": 427, "column": 71 } } @@ -57740,15 +62654,15 @@ "binop": null, "updateContext": null }, - "start": 13755, - "end": 13756, + "start": 15025, + "end": 15026, "loc": { "start": { - "line": 383, + "line": 427, "column": 71 }, "end": { - "line": 383, + "line": 427, "column": 72 } } @@ -57765,15 +62679,15 @@ "postfix": false, "binop": null }, - "start": 13766, - "end": 13767, + "start": 15036, + "end": 15037, "loc": { "start": { - "line": 384, + "line": 428, "column": 8 }, "end": { - "line": 384, + "line": 428, "column": 9 } } @@ -57793,15 +62707,15 @@ "updateContext": null }, "value": "return", - "start": 13777, - "end": 13783, + "start": 15047, + "end": 15053, "loc": { "start": { - "line": 385, + "line": 429, "column": 8 }, "end": { - "line": 385, + "line": 429, "column": 14 } } @@ -57821,15 +62735,15 @@ "updateContext": null }, "value": "this", - "start": 13784, - "end": 13788, + "start": 15054, + "end": 15058, "loc": { "start": { - "line": 385, + "line": 429, "column": 15 }, "end": { - "line": 385, + "line": 429, "column": 19 } } @@ -57847,15 +62761,15 @@ "binop": null, "updateContext": null }, - "start": 13788, - "end": 13789, + "start": 15058, + "end": 15059, "loc": { "start": { - "line": 385, + "line": 429, "column": 19 }, "end": { - "line": 385, + "line": 429, "column": 20 } } @@ -57872,15 +62786,15 @@ "postfix": false, "binop": null }, - "start": 13795, - "end": 13796, + "start": 15065, + "end": 15066, "loc": { "start": { - "line": 386, + "line": 430, "column": 4 }, "end": { - "line": 386, + "line": 430, "column": 5 } } @@ -57888,15 +62802,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13802, - "end": 14204, + "start": 15072, + "end": 15474, "loc": { "start": { - "line": 387, + "line": 431, "column": 4 }, "end": { - "line": 393, + "line": 437, "column": 7 } } @@ -57914,15 +62828,15 @@ "binop": null }, "value": "getFrame", - "start": 14210, - "end": 14218, + "start": 15480, + "end": 15488, "loc": { "start": { - "line": 394, + "line": 438, "column": 4 }, "end": { - "line": 394, + "line": 438, "column": 12 } } @@ -57939,15 +62853,15 @@ "postfix": false, "binop": null }, - "start": 14218, - "end": 14219, + "start": 15488, + "end": 15489, "loc": { "start": { - "line": 394, + "line": 438, "column": 12 }, "end": { - "line": 394, + "line": 438, "column": 13 } } @@ -57965,15 +62879,15 @@ "binop": null }, "value": "pIndex", - "start": 14219, - "end": 14225, + "start": 15489, + "end": 15495, "loc": { "start": { - "line": 394, + "line": 438, "column": 13 }, "end": { - "line": 394, + "line": 438, "column": 19 } } @@ -57990,15 +62904,15 @@ "postfix": false, "binop": null }, - "start": 14225, - "end": 14226, + "start": 15495, + "end": 15496, "loc": { "start": { - "line": 394, + "line": 438, "column": 19 }, "end": { - "line": 394, + "line": 438, "column": 20 } } @@ -58015,15 +62929,15 @@ "postfix": false, "binop": null }, - "start": 14227, - "end": 14228, + "start": 15497, + "end": 15498, "loc": { "start": { - "line": 394, + "line": 438, "column": 21 }, "end": { - "line": 394, + "line": 438, "column": 22 } } @@ -58043,15 +62957,15 @@ "updateContext": null }, "value": "if", - "start": 14238, - "end": 14240, + "start": 15508, + "end": 15510, "loc": { "start": { - "line": 395, + "line": 439, "column": 8 }, "end": { - "line": 395, + "line": 439, "column": 10 } } @@ -58068,15 +62982,15 @@ "postfix": false, "binop": null }, - "start": 14241, - "end": 14242, + "start": 15511, + "end": 15512, "loc": { "start": { - "line": 395, + "line": 439, "column": 11 }, "end": { - "line": 395, + "line": 439, "column": 12 } } @@ -58096,15 +63010,15 @@ "updateContext": null }, "value": "typeof", - "start": 14242, - "end": 14248, + "start": 15512, + "end": 15518, "loc": { "start": { - "line": 395, + "line": 439, "column": 12 }, "end": { - "line": 395, + "line": 439, "column": 18 } } @@ -58121,15 +63035,15 @@ "postfix": false, "binop": null }, - "start": 14248, - "end": 14249, + "start": 15518, + "end": 15519, "loc": { "start": { - "line": 395, + "line": 439, "column": 18 }, "end": { - "line": 395, + "line": 439, "column": 19 } } @@ -58147,15 +63061,15 @@ "binop": null }, "value": "pIndex", - "start": 14249, - "end": 14255, + "start": 15519, + "end": 15525, "loc": { "start": { - "line": 395, + "line": 439, "column": 19 }, "end": { - "line": 395, + "line": 439, "column": 25 } } @@ -58172,15 +63086,15 @@ "postfix": false, "binop": null }, - "start": 14255, - "end": 14256, + "start": 15525, + "end": 15526, "loc": { "start": { - "line": 395, + "line": 439, "column": 25 }, "end": { - "line": 395, + "line": 439, "column": 26 } } @@ -58199,15 +63113,15 @@ "updateContext": null }, "value": "===", - "start": 14257, - "end": 14260, + "start": 15527, + "end": 15530, "loc": { "start": { - "line": 395, + "line": 439, "column": 27 }, "end": { - "line": 395, + "line": 439, "column": 30 } } @@ -58226,15 +63140,15 @@ "updateContext": null }, "value": "number", - "start": 14261, - "end": 14269, + "start": 15531, + "end": 15539, "loc": { "start": { - "line": 395, + "line": 439, "column": 31 }, "end": { - "line": 395, + "line": 439, "column": 39 } } @@ -58251,15 +63165,15 @@ "postfix": false, "binop": null }, - "start": 14269, - "end": 14270, + "start": 15539, + "end": 15540, "loc": { "start": { - "line": 395, + "line": 439, "column": 39 }, "end": { - "line": 395, + "line": 439, "column": 40 } } @@ -58276,15 +63190,15 @@ "postfix": false, "binop": null }, - "start": 14271, - "end": 14272, + "start": 15541, + "end": 15542, "loc": { "start": { - "line": 395, + "line": 439, "column": 41 }, "end": { - "line": 395, + "line": 439, "column": 42 } } @@ -58304,15 +63218,15 @@ "updateContext": null }, "value": "return", - "start": 14286, - "end": 14292, + "start": 15556, + "end": 15562, "loc": { "start": { - "line": 396, + "line": 440, "column": 12 }, "end": { - "line": 396, + "line": 440, "column": 18 } } @@ -58332,15 +63246,15 @@ "updateContext": null }, "value": "this", - "start": 14293, - "end": 14297, + "start": 15563, + "end": 15567, "loc": { "start": { - "line": 396, + "line": 440, "column": 19 }, "end": { - "line": 396, + "line": 440, "column": 23 } } @@ -58358,15 +63272,15 @@ "binop": null, "updateContext": null }, - "start": 14297, - "end": 14298, + "start": 15567, + "end": 15568, "loc": { "start": { - "line": 396, + "line": 440, "column": 23 }, "end": { - "line": 396, + "line": 440, "column": 24 } } @@ -58384,15 +63298,15 @@ "binop": null }, "value": "frames", - "start": 14298, - "end": 14304, + "start": 15568, + "end": 15574, "loc": { "start": { - "line": 396, + "line": 440, "column": 24 }, "end": { - "line": 396, + "line": 440, "column": 30 } } @@ -58410,15 +63324,15 @@ "binop": null, "updateContext": null }, - "start": 14304, - "end": 14305, + "start": 15574, + "end": 15575, "loc": { "start": { - "line": 396, + "line": 440, "column": 30 }, "end": { - "line": 396, + "line": 440, "column": 31 } } @@ -58436,15 +63350,15 @@ "binop": null }, "value": "pIndex", - "start": 14305, - "end": 14311, + "start": 15575, + "end": 15581, "loc": { "start": { - "line": 396, + "line": 440, "column": 31 }, "end": { - "line": 396, + "line": 440, "column": 37 } } @@ -58462,15 +63376,15 @@ "binop": null, "updateContext": null }, - "start": 14311, - "end": 14312, + "start": 15581, + "end": 15582, "loc": { "start": { - "line": 396, + "line": 440, "column": 37 }, "end": { - "line": 396, + "line": 440, "column": 38 } } @@ -58488,15 +63402,15 @@ "binop": null, "updateContext": null }, - "start": 14312, - "end": 14313, + "start": 15582, + "end": 15583, "loc": { "start": { - "line": 396, + "line": 440, "column": 38 }, "end": { - "line": 396, + "line": 440, "column": 39 } } @@ -58513,15 +63427,15 @@ "postfix": false, "binop": null }, - "start": 14323, - "end": 14324, + "start": 15593, + "end": 15594, "loc": { "start": { - "line": 397, + "line": 441, "column": 8 }, "end": { - "line": 397, + "line": 441, "column": 9 } } @@ -58541,15 +63455,15 @@ "updateContext": null }, "value": "else", - "start": 14325, - "end": 14329, + "start": 15595, + "end": 15599, "loc": { "start": { - "line": 397, + "line": 441, "column": 10 }, "end": { - "line": 397, + "line": 441, "column": 14 } } @@ -58566,15 +63480,15 @@ "postfix": false, "binop": null }, - "start": 14330, - "end": 14331, + "start": 15600, + "end": 15601, "loc": { "start": { - "line": 397, + "line": 441, "column": 15 }, "end": { - "line": 397, + "line": 441, "column": 16 } } @@ -58592,15 +63506,15 @@ "binop": null }, "value": "VYI", - "start": 14345, - "end": 14348, + "start": 15615, + "end": 15618, "loc": { "start": { - "line": 398, + "line": 442, "column": 12 }, "end": { - "line": 398, + "line": 442, "column": 15 } } @@ -58618,15 +63532,15 @@ "binop": null, "updateContext": null }, - "start": 14348, - "end": 14349, + "start": 15618, + "end": 15619, "loc": { "start": { - "line": 398, + "line": 442, "column": 15 }, "end": { - "line": 398, + "line": 442, "column": 16 } } @@ -58644,15 +63558,15 @@ "binop": null }, "value": "logger", - "start": 14349, - "end": 14355, + "start": 15619, + "end": 15625, "loc": { "start": { - "line": 398, + "line": 442, "column": 16 }, "end": { - "line": 398, + "line": 442, "column": 22 } } @@ -58670,15 +63584,15 @@ "binop": null, "updateContext": null }, - "start": 14355, - "end": 14356, + "start": 15625, + "end": 15626, "loc": { "start": { - "line": 398, + "line": 442, "column": 22 }, "end": { - "line": 398, + "line": 442, "column": 23 } } @@ -58696,15 +63610,15 @@ "binop": null }, "value": "prefix", - "start": 14356, - "end": 14362, + "start": 15626, + "end": 15632, "loc": { "start": { - "line": 398, + "line": 442, "column": 23 }, "end": { - "line": 398, + "line": 442, "column": 29 } } @@ -58721,15 +63635,15 @@ "postfix": false, "binop": null }, - "start": 14362, - "end": 14363, + "start": 15632, + "end": 15633, "loc": { "start": { - "line": 398, + "line": 442, "column": 29 }, "end": { - "line": 398, + "line": 442, "column": 30 } } @@ -58748,15 +63662,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 14363, - "end": 14375, + "start": 15633, + "end": 15645, "loc": { "start": { - "line": 398, + "line": 442, "column": 30 }, "end": { - "line": 398, + "line": 442, "column": 42 } } @@ -58773,15 +63687,15 @@ "postfix": false, "binop": null }, - "start": 14375, - "end": 14376, + "start": 15645, + "end": 15646, "loc": { "start": { - "line": 398, + "line": 442, "column": 42 }, "end": { - "line": 398, + "line": 442, "column": 43 } } @@ -58799,15 +63713,15 @@ "binop": null, "updateContext": null }, - "start": 14376, - "end": 14377, + "start": 15646, + "end": 15647, "loc": { "start": { - "line": 398, + "line": 442, "column": 43 }, "end": { - "line": 398, + "line": 442, "column": 44 } } @@ -58825,15 +63739,15 @@ "binop": null }, "value": "error", - "start": 14377, - "end": 14382, + "start": 15647, + "end": 15652, "loc": { "start": { - "line": 398, + "line": 442, "column": 44 }, "end": { - "line": 398, + "line": 442, "column": 49 } } @@ -58850,15 +63764,15 @@ "postfix": false, "binop": null }, - "start": 14382, - "end": 14383, + "start": 15652, + "end": 15653, "loc": { "start": { - "line": 398, + "line": 442, "column": 49 }, "end": { - "line": 398, + "line": 442, "column": 50 } } @@ -58877,15 +63791,15 @@ "updateContext": null }, "value": "Invalid type used!", - "start": 14383, - "end": 14403, + "start": 15653, + "end": 15673, "loc": { "start": { - "line": 398, + "line": 442, "column": 50 }, "end": { - "line": 398, + "line": 442, "column": 70 } } @@ -58902,15 +63816,15 @@ "postfix": false, "binop": null }, - "start": 14403, - "end": 14404, + "start": 15673, + "end": 15674, "loc": { "start": { - "line": 398, + "line": 442, "column": 70 }, "end": { - "line": 398, + "line": 442, "column": 71 } } @@ -58928,15 +63842,15 @@ "binop": null, "updateContext": null }, - "start": 14404, - "end": 14405, + "start": 15674, + "end": 15675, "loc": { "start": { - "line": 398, + "line": 442, "column": 71 }, "end": { - "line": 398, + "line": 442, "column": 72 } } @@ -58953,15 +63867,15 @@ "postfix": false, "binop": null }, - "start": 14415, - "end": 14416, + "start": 15685, + "end": 15686, "loc": { "start": { - "line": 399, + "line": 443, "column": 8 }, "end": { - "line": 399, + "line": 443, "column": 9 } } @@ -58978,15 +63892,15 @@ "postfix": false, "binop": null }, - "start": 14422, - "end": 14423, + "start": 15692, + "end": 15693, "loc": { "start": { - "line": 400, + "line": 444, "column": 4 }, "end": { - "line": 400, + "line": 444, "column": 5 } } @@ -58994,15 +63908,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14429, - "end": 14559, + "start": 15699, + "end": 15829, "loc": { "start": { - "line": 401, + "line": 445, "column": 4 }, "end": { - "line": 404, + "line": 448, "column": 7 } } @@ -59020,15 +63934,15 @@ "binop": null }, "value": "getFrames", - "start": 14565, - "end": 14574, + "start": 15835, + "end": 15844, "loc": { "start": { - "line": 405, + "line": 449, "column": 4 }, "end": { - "line": 405, + "line": 449, "column": 13 } } @@ -59045,15 +63959,15 @@ "postfix": false, "binop": null }, - "start": 14574, - "end": 14575, + "start": 15844, + "end": 15845, "loc": { "start": { - "line": 405, + "line": 449, "column": 13 }, "end": { - "line": 405, + "line": 449, "column": 14 } } @@ -59070,15 +63984,15 @@ "postfix": false, "binop": null }, - "start": 14575, - "end": 14576, + "start": 15845, + "end": 15846, "loc": { "start": { - "line": 405, + "line": 449, "column": 14 }, "end": { - "line": 405, + "line": 449, "column": 15 } } @@ -59095,15 +64009,15 @@ "postfix": false, "binop": null }, - "start": 14577, - "end": 14578, + "start": 15847, + "end": 15848, "loc": { "start": { - "line": 405, + "line": 449, "column": 16 }, "end": { - "line": 405, + "line": 449, "column": 17 } } @@ -59123,15 +64037,15 @@ "updateContext": null }, "value": "return", - "start": 14588, - "end": 14594, + "start": 15858, + "end": 15864, "loc": { "start": { - "line": 406, + "line": 450, "column": 8 }, "end": { - "line": 406, + "line": 450, "column": 14 } } @@ -59149,15 +64063,15 @@ "binop": null, "updateContext": null }, - "start": 14595, - "end": 14596, + "start": 15865, + "end": 15866, "loc": { "start": { - "line": 406, + "line": 450, "column": 15 }, "end": { - "line": 406, + "line": 450, "column": 16 } } @@ -59175,15 +64089,15 @@ "binop": null, "updateContext": null }, - "start": 14597, - "end": 14600, + "start": 15867, + "end": 15870, "loc": { "start": { - "line": 406, + "line": 450, "column": 17 }, "end": { - "line": 406, + "line": 450, "column": 20 } } @@ -59203,15 +64117,15 @@ "updateContext": null }, "value": "this", - "start": 14600, - "end": 14604, + "start": 15870, + "end": 15874, "loc": { "start": { - "line": 406, + "line": 450, "column": 20 }, "end": { - "line": 406, + "line": 450, "column": 24 } } @@ -59229,15 +64143,15 @@ "binop": null, "updateContext": null }, - "start": 14604, - "end": 14605, + "start": 15874, + "end": 15875, "loc": { "start": { - "line": 406, + "line": 450, "column": 24 }, "end": { - "line": 406, + "line": 450, "column": 25 } } @@ -59255,15 +64169,15 @@ "binop": null }, "value": "frames", - "start": 14605, - "end": 14611, + "start": 15875, + "end": 15881, "loc": { "start": { - "line": 406, + "line": 450, "column": 25 }, "end": { - "line": 406, + "line": 450, "column": 31 } } @@ -59281,15 +64195,15 @@ "binop": null, "updateContext": null }, - "start": 14612, - "end": 14613, + "start": 15882, + "end": 15883, "loc": { "start": { - "line": 406, + "line": 450, "column": 32 }, "end": { - "line": 406, + "line": 450, "column": 33 } } @@ -59307,15 +64221,15 @@ "binop": null, "updateContext": null }, - "start": 14613, - "end": 14614, + "start": 15883, + "end": 15884, "loc": { "start": { - "line": 406, + "line": 450, "column": 33 }, "end": { - "line": 406, + "line": 450, "column": 34 } } @@ -59332,15 +64246,15 @@ "postfix": false, "binop": null }, - "start": 14620, - "end": 14621, + "start": 15890, + "end": 15891, "loc": { "start": { - "line": 407, + "line": 451, "column": 4 }, "end": { - "line": 407, + "line": 451, "column": 5 } } @@ -59348,15 +64262,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14627, - "end": 14783, + "start": 15897, + "end": 16053, "loc": { "start": { - "line": 408, + "line": 452, "column": 4 }, "end": { - "line": 412, + "line": 456, "column": 7 } } @@ -59374,15 +64288,15 @@ "binop": null }, "value": "getFramesData", - "start": 14789, - "end": 14802, + "start": 16059, + "end": 16072, "loc": { "start": { - "line": 413, + "line": 457, "column": 4 }, "end": { - "line": 413, + "line": 457, "column": 17 } } @@ -59399,15 +64313,15 @@ "postfix": false, "binop": null }, - "start": 14802, - "end": 14803, + "start": 16072, + "end": 16073, "loc": { "start": { - "line": 413, + "line": 457, "column": 17 }, "end": { - "line": 413, + "line": 457, "column": 18 } } @@ -59424,15 +64338,15 @@ "postfix": false, "binop": null }, - "start": 14803, - "end": 14804, + "start": 16073, + "end": 16074, "loc": { "start": { - "line": 413, + "line": 457, "column": 18 }, "end": { - "line": 413, + "line": 457, "column": 19 } } @@ -59449,15 +64363,15 @@ "postfix": false, "binop": null }, - "start": 14805, - "end": 14806, + "start": 16075, + "end": 16076, "loc": { "start": { - "line": 413, + "line": 457, "column": 20 }, "end": { - "line": 413, + "line": 457, "column": 21 } } @@ -59477,15 +64391,15 @@ "updateContext": null }, "value": "const", - "start": 14816, - "end": 14821, + "start": 16086, + "end": 16091, "loc": { "start": { - "line": 414, + "line": 458, "column": 8 }, "end": { - "line": 414, + "line": 458, "column": 13 } } @@ -59503,15 +64417,15 @@ "binop": null }, "value": "frameDataArray", - "start": 14822, - "end": 14836, + "start": 16092, + "end": 16106, "loc": { "start": { - "line": 414, + "line": 458, "column": 14 }, "end": { - "line": 414, + "line": 458, "column": 28 } } @@ -59530,15 +64444,15 @@ "updateContext": null }, "value": "=", - "start": 14837, - "end": 14838, + "start": 16107, + "end": 16108, "loc": { "start": { - "line": 414, + "line": 458, "column": 29 }, "end": { - "line": 414, + "line": 458, "column": 30 } } @@ -59556,15 +64470,15 @@ "binop": null, "updateContext": null }, - "start": 14839, - "end": 14840, + "start": 16109, + "end": 16110, "loc": { "start": { - "line": 414, + "line": 458, "column": 31 }, "end": { - "line": 414, + "line": 458, "column": 32 } } @@ -59582,15 +64496,15 @@ "binop": null, "updateContext": null }, - "start": 14840, - "end": 14841, + "start": 16110, + "end": 16111, "loc": { "start": { - "line": 414, + "line": 458, "column": 32 }, "end": { - "line": 414, + "line": 458, "column": 33 } } @@ -59608,15 +64522,15 @@ "binop": null, "updateContext": null }, - "start": 14841, - "end": 14842, + "start": 16111, + "end": 16112, "loc": { "start": { - "line": 414, + "line": 458, "column": 33 }, "end": { - "line": 414, + "line": 458, "column": 34 } } @@ -59636,15 +64550,15 @@ "updateContext": null }, "value": "this", - "start": 14852, - "end": 14856, + "start": 16122, + "end": 16126, "loc": { "start": { - "line": 415, + "line": 459, "column": 8 }, "end": { - "line": 415, + "line": 459, "column": 12 } } @@ -59662,15 +64576,15 @@ "binop": null, "updateContext": null }, - "start": 14856, - "end": 14857, + "start": 16126, + "end": 16127, "loc": { "start": { - "line": 415, + "line": 459, "column": 12 }, "end": { - "line": 415, + "line": 459, "column": 13 } } @@ -59688,15 +64602,15 @@ "binop": null }, "value": "frames", - "start": 14857, - "end": 14863, + "start": 16127, + "end": 16133, "loc": { "start": { - "line": 415, + "line": 459, "column": 13 }, "end": { - "line": 415, + "line": 459, "column": 19 } } @@ -59714,15 +64628,15 @@ "binop": null, "updateContext": null }, - "start": 14863, - "end": 14864, + "start": 16133, + "end": 16134, "loc": { "start": { - "line": 415, + "line": 459, "column": 19 }, "end": { - "line": 415, + "line": 459, "column": 20 } } @@ -59740,15 +64654,15 @@ "binop": null }, "value": "forEach", - "start": 14864, - "end": 14871, + "start": 16134, + "end": 16141, "loc": { "start": { - "line": 415, + "line": 459, "column": 20 }, "end": { - "line": 415, + "line": 459, "column": 27 } } @@ -59765,15 +64679,15 @@ "postfix": false, "binop": null }, - "start": 14871, - "end": 14872, + "start": 16141, + "end": 16142, "loc": { "start": { - "line": 415, + "line": 459, "column": 27 }, "end": { - "line": 415, + "line": 459, "column": 28 } } @@ -59790,15 +64704,15 @@ "postfix": false, "binop": null }, - "start": 14872, - "end": 14873, + "start": 16142, + "end": 16143, "loc": { "start": { - "line": 415, + "line": 459, "column": 28 }, "end": { - "line": 415, + "line": 459, "column": 29 } } @@ -59816,15 +64730,15 @@ "binop": null }, "value": "pFrame", - "start": 14873, - "end": 14879, + "start": 16143, + "end": 16149, "loc": { "start": { - "line": 415, + "line": 459, "column": 29 }, "end": { - "line": 415, + "line": 459, "column": 35 } } @@ -59841,15 +64755,15 @@ "postfix": false, "binop": null }, - "start": 14879, - "end": 14880, + "start": 16149, + "end": 16150, "loc": { "start": { - "line": 415, + "line": 459, "column": 35 }, "end": { - "line": 415, + "line": 459, "column": 36 } } @@ -59867,15 +64781,15 @@ "binop": null, "updateContext": null }, - "start": 14881, - "end": 14883, + "start": 16151, + "end": 16153, "loc": { "start": { - "line": 415, + "line": 459, "column": 37 }, "end": { - "line": 415, + "line": 459, "column": 39 } } @@ -59892,15 +64806,15 @@ "postfix": false, "binop": null }, - "start": 14884, - "end": 14885, + "start": 16154, + "end": 16155, "loc": { "start": { - "line": 415, + "line": 459, "column": 40 }, "end": { - "line": 415, + "line": 459, "column": 41 } } @@ -59918,15 +64832,15 @@ "binop": null }, "value": "frameDataArray", - "start": 14899, - "end": 14913, + "start": 16169, + "end": 16183, "loc": { "start": { - "line": 416, + "line": 460, "column": 12 }, "end": { - "line": 416, + "line": 460, "column": 26 } } @@ -59944,15 +64858,15 @@ "binop": null, "updateContext": null }, - "start": 14913, - "end": 14914, + "start": 16183, + "end": 16184, "loc": { "start": { - "line": 416, + "line": 460, "column": 26 }, "end": { - "line": 416, + "line": 460, "column": 27 } } @@ -59970,15 +64884,15 @@ "binop": null }, "value": "push", - "start": 14914, - "end": 14918, + "start": 16184, + "end": 16188, "loc": { "start": { - "line": 416, + "line": 460, "column": 27 }, "end": { - "line": 416, + "line": 460, "column": 31 } } @@ -59995,15 +64909,15 @@ "postfix": false, "binop": null }, - "start": 14918, - "end": 14919, + "start": 16188, + "end": 16189, "loc": { "start": { - "line": 416, + "line": 460, "column": 31 }, "end": { - "line": 416, + "line": 460, "column": 32 } } @@ -60021,15 +64935,15 @@ "binop": null }, "value": "pFrame", - "start": 14919, - "end": 14925, + "start": 16189, + "end": 16195, "loc": { "start": { - "line": 416, + "line": 460, "column": 32 }, "end": { - "line": 416, + "line": 460, "column": 38 } } @@ -60047,15 +64961,15 @@ "binop": null, "updateContext": null }, - "start": 14925, - "end": 14926, + "start": 16195, + "end": 16196, "loc": { "start": { - "line": 416, + "line": 460, "column": 38 }, "end": { - "line": 416, + "line": 460, "column": 39 } } @@ -60075,15 +64989,15 @@ "updateContext": null }, "value": "export", - "start": 14926, - "end": 14932, + "start": 16196, + "end": 16202, "loc": { "start": { - "line": 416, + "line": 460, "column": 39 }, "end": { - "line": 416, + "line": 460, "column": 45 } } @@ -60100,15 +65014,15 @@ "postfix": false, "binop": null }, - "start": 14932, - "end": 14933, + "start": 16202, + "end": 16203, "loc": { "start": { - "line": 416, + "line": 460, "column": 45 }, "end": { - "line": 416, + "line": 460, "column": 46 } } @@ -60125,15 +65039,15 @@ "postfix": false, "binop": null }, - "start": 14933, - "end": 14934, + "start": 16203, + "end": 16204, "loc": { "start": { - "line": 416, + "line": 460, "column": 46 }, "end": { - "line": 416, + "line": 460, "column": 47 } } @@ -60150,15 +65064,15 @@ "postfix": false, "binop": null }, - "start": 14934, - "end": 14935, + "start": 16204, + "end": 16205, "loc": { "start": { - "line": 416, + "line": 460, "column": 47 }, "end": { - "line": 416, + "line": 460, "column": 48 } } @@ -60176,15 +65090,15 @@ "binop": null, "updateContext": null }, - "start": 14935, - "end": 14936, + "start": 16205, + "end": 16206, "loc": { "start": { - "line": 416, + "line": 460, "column": 48 }, "end": { - "line": 416, + "line": 460, "column": 49 } } @@ -60201,15 +65115,15 @@ "postfix": false, "binop": null }, - "start": 14946, - "end": 14947, + "start": 16216, + "end": 16217, "loc": { "start": { - "line": 417, + "line": 461, "column": 8 }, "end": { - "line": 417, + "line": 461, "column": 9 } } @@ -60226,15 +65140,15 @@ "postfix": false, "binop": null }, - "start": 14947, - "end": 14948, + "start": 16217, + "end": 16218, "loc": { "start": { - "line": 417, + "line": 461, "column": 9 }, "end": { - "line": 417, + "line": 461, "column": 10 } } @@ -60252,15 +65166,15 @@ "binop": null, "updateContext": null }, - "start": 14948, - "end": 14949, + "start": 16218, + "end": 16219, "loc": { "start": { - "line": 417, + "line": 461, "column": 10 }, "end": { - "line": 417, + "line": 461, "column": 11 } } @@ -60280,15 +65194,15 @@ "updateContext": null }, "value": "return", - "start": 14959, - "end": 14965, + "start": 16229, + "end": 16235, "loc": { "start": { - "line": 418, + "line": 462, "column": 8 }, "end": { - "line": 418, + "line": 462, "column": 14 } } @@ -60306,15 +65220,15 @@ "binop": null }, "value": "frameDataArray", - "start": 14966, - "end": 14980, + "start": 16236, + "end": 16250, "loc": { "start": { - "line": 418, + "line": 462, "column": 15 }, "end": { - "line": 418, + "line": 462, "column": 29 } } @@ -60332,15 +65246,15 @@ "binop": null, "updateContext": null }, - "start": 14980, - "end": 14981, + "start": 16250, + "end": 16251, "loc": { "start": { - "line": 418, + "line": 462, "column": 29 }, "end": { - "line": 418, + "line": 462, "column": 30 } } @@ -60357,15 +65271,15 @@ "postfix": false, "binop": null }, - "start": 14987, - "end": 14988, + "start": 16257, + "end": 16258, "loc": { "start": { - "line": 419, + "line": 463, "column": 4 }, "end": { - "line": 419, + "line": 463, "column": 5 } } @@ -60373,15 +65287,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 14994, - "end": 15178, + "start": 16264, + "end": 16448, "loc": { "start": { - "line": 420, + "line": 464, "column": 4 }, "end": { - "line": 424, + "line": 468, "column": 7 } } @@ -60399,15 +65313,15 @@ "binop": null }, "value": "getState", - "start": 15184, - "end": 15192, + "start": 16454, + "end": 16462, "loc": { "start": { - "line": 425, + "line": 469, "column": 4 }, "end": { - "line": 425, + "line": 469, "column": 12 } } @@ -60424,15 +65338,15 @@ "postfix": false, "binop": null }, - "start": 15192, - "end": 15193, + "start": 16462, + "end": 16463, "loc": { "start": { - "line": 425, + "line": 469, "column": 12 }, "end": { - "line": 425, + "line": 469, "column": 13 } } @@ -60450,15 +65364,15 @@ "binop": null }, "value": "pName", - "start": 15193, - "end": 15198, + "start": 16463, + "end": 16468, "loc": { "start": { - "line": 425, + "line": 469, "column": 13 }, "end": { - "line": 425, + "line": 469, "column": 18 } } @@ -60475,15 +65389,15 @@ "postfix": false, "binop": null }, - "start": 15198, - "end": 15199, + "start": 16468, + "end": 16469, "loc": { "start": { - "line": 425, + "line": 469, "column": 18 }, "end": { - "line": 425, + "line": 469, "column": 19 } } @@ -60500,15 +65414,15 @@ "postfix": false, "binop": null }, - "start": 15200, - "end": 15201, + "start": 16470, + "end": 16471, "loc": { "start": { - "line": 425, + "line": 469, "column": 20 }, "end": { - "line": 425, + "line": 469, "column": 21 } } @@ -60528,15 +65442,15 @@ "updateContext": null }, "value": "if", - "start": 15211, - "end": 15213, + "start": 16481, + "end": 16483, "loc": { "start": { - "line": 426, + "line": 470, "column": 8 }, "end": { - "line": 426, + "line": 470, "column": 10 } } @@ -60553,15 +65467,15 @@ "postfix": false, "binop": null }, - "start": 15214, - "end": 15215, + "start": 16484, + "end": 16485, "loc": { "start": { - "line": 426, + "line": 470, "column": 11 }, "end": { - "line": 426, + "line": 470, "column": 12 } } @@ -60581,15 +65495,15 @@ "updateContext": null }, "value": "typeof", - "start": 15215, - "end": 15221, + "start": 16485, + "end": 16491, "loc": { "start": { - "line": 426, + "line": 470, "column": 12 }, "end": { - "line": 426, + "line": 470, "column": 18 } } @@ -60606,15 +65520,15 @@ "postfix": false, "binop": null }, - "start": 15221, - "end": 15222, + "start": 16491, + "end": 16492, "loc": { "start": { - "line": 426, + "line": 470, "column": 18 }, "end": { - "line": 426, + "line": 470, "column": 19 } } @@ -60632,15 +65546,15 @@ "binop": null }, "value": "pName", - "start": 15222, - "end": 15227, + "start": 16492, + "end": 16497, "loc": { "start": { - "line": 426, + "line": 470, "column": 19 }, "end": { - "line": 426, + "line": 470, "column": 24 } } @@ -60657,15 +65571,15 @@ "postfix": false, "binop": null }, - "start": 15227, - "end": 15228, + "start": 16497, + "end": 16498, "loc": { "start": { - "line": 426, + "line": 470, "column": 24 }, "end": { - "line": 426, + "line": 470, "column": 25 } } @@ -60684,15 +65598,15 @@ "updateContext": null }, "value": "===", - "start": 15229, - "end": 15232, + "start": 16499, + "end": 16502, "loc": { "start": { - "line": 426, + "line": 470, "column": 26 }, "end": { - "line": 426, + "line": 470, "column": 29 } } @@ -60711,15 +65625,15 @@ "updateContext": null }, "value": "string", - "start": 15233, - "end": 15241, + "start": 16503, + "end": 16511, "loc": { "start": { - "line": 426, + "line": 470, "column": 30 }, "end": { - "line": 426, + "line": 470, "column": 38 } } @@ -60736,15 +65650,15 @@ "postfix": false, "binop": null }, - "start": 15241, - "end": 15242, + "start": 16511, + "end": 16512, "loc": { "start": { - "line": 426, + "line": 470, "column": 38 }, "end": { - "line": 426, + "line": 470, "column": 39 } } @@ -60761,15 +65675,15 @@ "postfix": false, "binop": null }, - "start": 15243, - "end": 15244, + "start": 16513, + "end": 16514, "loc": { "start": { - "line": 426, + "line": 470, "column": 40 }, "end": { - "line": 426, + "line": 470, "column": 41 } } @@ -60789,15 +65703,15 @@ "updateContext": null }, "value": "for", - "start": 15258, - "end": 15261, + "start": 16528, + "end": 16531, "loc": { "start": { - "line": 427, + "line": 471, "column": 12 }, "end": { - "line": 427, + "line": 471, "column": 15 } } @@ -60814,15 +65728,15 @@ "postfix": false, "binop": null }, - "start": 15262, - "end": 15263, + "start": 16532, + "end": 16533, "loc": { "start": { - "line": 427, + "line": 471, "column": 16 }, "end": { - "line": 427, + "line": 471, "column": 17 } } @@ -60842,15 +65756,15 @@ "updateContext": null }, "value": "let", - "start": 15263, - "end": 15266, + "start": 16533, + "end": 16536, "loc": { "start": { - "line": 427, + "line": 471, "column": 17 }, "end": { - "line": 427, + "line": 471, "column": 20 } } @@ -60868,15 +65782,15 @@ "binop": null }, "value": "i", - "start": 15267, - "end": 15268, + "start": 16537, + "end": 16538, "loc": { "start": { - "line": 427, + "line": 471, "column": 21 }, "end": { - "line": 427, + "line": 471, "column": 22 } } @@ -60895,15 +65809,15 @@ "updateContext": null }, "value": "=", - "start": 15269, - "end": 15270, + "start": 16539, + "end": 16540, "loc": { "start": { - "line": 427, + "line": 471, "column": 23 }, "end": { - "line": 427, + "line": 471, "column": 24 } } @@ -60923,15 +65837,15 @@ "updateContext": null }, "value": "this", - "start": 15271, - "end": 15275, + "start": 16541, + "end": 16545, "loc": { "start": { - "line": 427, + "line": 471, "column": 25 }, "end": { - "line": 427, + "line": 471, "column": 29 } } @@ -60949,15 +65863,15 @@ "binop": null, "updateContext": null }, - "start": 15275, - "end": 15276, + "start": 16545, + "end": 16546, "loc": { "start": { - "line": 427, + "line": 471, "column": 29 }, "end": { - "line": 427, + "line": 471, "column": 30 } } @@ -60975,15 +65889,15 @@ "binop": null }, "value": "states", - "start": 15276, - "end": 15282, + "start": 16546, + "end": 16552, "loc": { "start": { - "line": 427, + "line": 471, "column": 30 }, "end": { - "line": 427, + "line": 471, "column": 36 } } @@ -61001,15 +65915,15 @@ "binop": null, "updateContext": null }, - "start": 15282, - "end": 15283, + "start": 16552, + "end": 16553, "loc": { "start": { - "line": 427, + "line": 471, "column": 36 }, "end": { - "line": 427, + "line": 471, "column": 37 } } @@ -61027,15 +65941,15 @@ "binop": null }, "value": "length", - "start": 15283, - "end": 15289, + "start": 16553, + "end": 16559, "loc": { "start": { - "line": 427, + "line": 471, "column": 37 }, "end": { - "line": 427, + "line": 471, "column": 43 } } @@ -61054,15 +65968,15 @@ "updateContext": null }, "value": "-", - "start": 15290, - "end": 15291, + "start": 16560, + "end": 16561, "loc": { "start": { - "line": 427, + "line": 471, "column": 44 }, "end": { - "line": 427, + "line": 471, "column": 45 } } @@ -61081,15 +65995,15 @@ "updateContext": null }, "value": 1, - "start": 15292, - "end": 15293, + "start": 16562, + "end": 16563, "loc": { "start": { - "line": 427, + "line": 471, "column": 46 }, "end": { - "line": 427, + "line": 471, "column": 47 } } @@ -61107,15 +66021,15 @@ "binop": null, "updateContext": null }, - "start": 15293, - "end": 15294, + "start": 16563, + "end": 16564, "loc": { "start": { - "line": 427, + "line": 471, "column": 47 }, "end": { - "line": 427, + "line": 471, "column": 48 } } @@ -61133,15 +66047,15 @@ "binop": null }, "value": "i", - "start": 15295, - "end": 15296, + "start": 16565, + "end": 16566, "loc": { "start": { - "line": 427, + "line": 471, "column": 49 }, "end": { - "line": 427, + "line": 471, "column": 50 } } @@ -61160,15 +66074,15 @@ "updateContext": null }, "value": ">=", - "start": 15297, - "end": 15299, + "start": 16567, + "end": 16569, "loc": { "start": { - "line": 427, + "line": 471, "column": 51 }, "end": { - "line": 427, + "line": 471, "column": 53 } } @@ -61187,15 +66101,15 @@ "updateContext": null }, "value": 0, - "start": 15300, - "end": 15301, + "start": 16570, + "end": 16571, "loc": { "start": { - "line": 427, + "line": 471, "column": 54 }, "end": { - "line": 427, + "line": 471, "column": 55 } } @@ -61213,15 +66127,15 @@ "binop": null, "updateContext": null }, - "start": 15301, - "end": 15302, + "start": 16571, + "end": 16572, "loc": { "start": { - "line": 427, + "line": 471, "column": 55 }, "end": { - "line": 427, + "line": 471, "column": 56 } } @@ -61239,15 +66153,15 @@ "binop": null }, "value": "i", - "start": 15303, - "end": 15304, + "start": 16573, + "end": 16574, "loc": { "start": { - "line": 427, + "line": 471, "column": 57 }, "end": { - "line": 427, + "line": 471, "column": 58 } } @@ -61265,15 +66179,15 @@ "binop": null }, "value": "--", - "start": 15304, - "end": 15306, + "start": 16574, + "end": 16576, "loc": { "start": { - "line": 427, + "line": 471, "column": 58 }, "end": { - "line": 427, + "line": 471, "column": 60 } } @@ -61290,15 +66204,15 @@ "postfix": false, "binop": null }, - "start": 15306, - "end": 15307, + "start": 16576, + "end": 16577, "loc": { "start": { - "line": 427, + "line": 471, "column": 60 }, "end": { - "line": 427, + "line": 471, "column": 61 } } @@ -61315,15 +66229,15 @@ "postfix": false, "binop": null }, - "start": 15308, - "end": 15309, + "start": 16578, + "end": 16579, "loc": { "start": { - "line": 427, + "line": 471, "column": 62 }, "end": { - "line": 427, + "line": 471, "column": 63 } } @@ -61343,15 +66257,15 @@ "updateContext": null }, "value": "const", - "start": 15327, - "end": 15332, + "start": 16597, + "end": 16602, "loc": { "start": { - "line": 428, + "line": 472, "column": 16 }, "end": { - "line": 428, + "line": 472, "column": 21 } } @@ -61369,15 +66283,15 @@ "binop": null }, "value": "icon", - "start": 15333, - "end": 15337, + "start": 16603, + "end": 16607, "loc": { "start": { - "line": 428, + "line": 472, "column": 22 }, "end": { - "line": 428, + "line": 472, "column": 26 } } @@ -61396,15 +66310,15 @@ "updateContext": null }, "value": "=", - "start": 15338, - "end": 15339, + "start": 16608, + "end": 16609, "loc": { "start": { - "line": 428, + "line": 472, "column": 27 }, "end": { - "line": 428, + "line": 472, "column": 28 } } @@ -61424,15 +66338,15 @@ "updateContext": null }, "value": "this", - "start": 15340, - "end": 15344, + "start": 16610, + "end": 16614, "loc": { "start": { - "line": 428, + "line": 472, "column": 29 }, "end": { - "line": 428, + "line": 472, "column": 33 } } @@ -61450,15 +66364,15 @@ "binop": null, "updateContext": null }, - "start": 15344, - "end": 15345, + "start": 16614, + "end": 16615, "loc": { "start": { - "line": 428, + "line": 472, "column": 33 }, "end": { - "line": 428, + "line": 472, "column": 34 } } @@ -61476,15 +66390,15 @@ "binop": null }, "value": "states", - "start": 15345, - "end": 15351, + "start": 16615, + "end": 16621, "loc": { "start": { - "line": 428, + "line": 472, "column": 34 }, "end": { - "line": 428, + "line": 472, "column": 40 } } @@ -61502,15 +66416,15 @@ "binop": null, "updateContext": null }, - "start": 15351, - "end": 15352, + "start": 16621, + "end": 16622, "loc": { "start": { - "line": 428, + "line": 472, "column": 40 }, "end": { - "line": 428, + "line": 472, "column": 41 } } @@ -61528,15 +66442,15 @@ "binop": null }, "value": "i", - "start": 15352, - "end": 15353, + "start": 16622, + "end": 16623, "loc": { "start": { - "line": 428, + "line": 472, "column": 41 }, "end": { - "line": 428, + "line": 472, "column": 42 } } @@ -61554,15 +66468,15 @@ "binop": null, "updateContext": null }, - "start": 15353, - "end": 15354, + "start": 16623, + "end": 16624, "loc": { "start": { - "line": 428, + "line": 472, "column": 42 }, "end": { - "line": 428, + "line": 472, "column": 43 } } @@ -61580,15 +66494,15 @@ "binop": null, "updateContext": null }, - "start": 15354, - "end": 15355, + "start": 16624, + "end": 16625, "loc": { "start": { - "line": 428, + "line": 472, "column": 43 }, "end": { - "line": 428, + "line": 472, "column": 44 } } @@ -61596,15 +66510,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 15373, - "end": 15423, + "start": 16643, + "end": 16693, "loc": { "start": { - "line": 429, + "line": 473, "column": 16 }, "end": { - "line": 429, + "line": 473, "column": 66 } } @@ -61624,15 +66538,15 @@ "updateContext": null }, "value": "if", - "start": 15441, - "end": 15443, + "start": 16711, + "end": 16713, "loc": { "start": { - "line": 430, + "line": 474, "column": 16 }, "end": { - "line": 430, + "line": 474, "column": 18 } } @@ -61649,15 +66563,15 @@ "postfix": false, "binop": null }, - "start": 15444, - "end": 15445, + "start": 16714, + "end": 16715, "loc": { "start": { - "line": 430, + "line": 474, "column": 19 }, "end": { - "line": 430, + "line": 474, "column": 20 } } @@ -61675,15 +66589,15 @@ "binop": null }, "value": "icon", - "start": 15445, - "end": 15449, + "start": 16715, + "end": 16719, "loc": { "start": { - "line": 430, + "line": 474, "column": 20 }, "end": { - "line": 430, + "line": 474, "column": 24 } } @@ -61701,15 +66615,15 @@ "binop": null, "updateContext": null }, - "start": 15449, - "end": 15450, + "start": 16719, + "end": 16720, "loc": { "start": { - "line": 430, + "line": 474, "column": 24 }, "end": { - "line": 430, + "line": 474, "column": 25 } } @@ -61727,15 +66641,15 @@ "binop": null }, "value": "getName", - "start": 15450, - "end": 15457, + "start": 16720, + "end": 16727, "loc": { "start": { - "line": 430, + "line": 474, "column": 25 }, "end": { - "line": 430, + "line": 474, "column": 32 } } @@ -61752,15 +66666,15 @@ "postfix": false, "binop": null }, - "start": 15457, - "end": 15458, + "start": 16727, + "end": 16728, "loc": { "start": { - "line": 430, + "line": 474, "column": 32 }, "end": { - "line": 430, + "line": 474, "column": 33 } } @@ -61777,15 +66691,15 @@ "postfix": false, "binop": null }, - "start": 15458, - "end": 15459, + "start": 16728, + "end": 16729, "loc": { "start": { - "line": 430, + "line": 474, "column": 33 }, "end": { - "line": 430, + "line": 474, "column": 34 } } @@ -61804,15 +66718,15 @@ "updateContext": null }, "value": "===", - "start": 15460, - "end": 15463, + "start": 16730, + "end": 16733, "loc": { "start": { - "line": 430, + "line": 474, "column": 35 }, "end": { - "line": 430, + "line": 474, "column": 38 } } @@ -61830,15 +66744,15 @@ "binop": null }, "value": "pName", - "start": 15464, - "end": 15469, + "start": 16734, + "end": 16739, "loc": { "start": { - "line": 430, + "line": 474, "column": 39 }, "end": { - "line": 430, + "line": 474, "column": 44 } } @@ -61855,15 +66769,15 @@ "postfix": false, "binop": null }, - "start": 15469, - "end": 15470, + "start": 16739, + "end": 16740, "loc": { "start": { - "line": 430, + "line": 474, "column": 44 }, "end": { - "line": 430, + "line": 474, "column": 45 } } @@ -61880,15 +66794,15 @@ "postfix": false, "binop": null }, - "start": 15471, - "end": 15472, + "start": 16741, + "end": 16742, "loc": { "start": { - "line": 430, + "line": 474, "column": 46 }, "end": { - "line": 430, + "line": 474, "column": 47 } } @@ -61908,15 +66822,15 @@ "updateContext": null }, "value": "return", - "start": 15494, - "end": 15500, + "start": 16764, + "end": 16770, "loc": { "start": { - "line": 431, + "line": 475, "column": 20 }, "end": { - "line": 431, + "line": 475, "column": 26 } } @@ -61934,15 +66848,15 @@ "binop": null }, "value": "icon", - "start": 15501, - "end": 15505, + "start": 16771, + "end": 16775, "loc": { "start": { - "line": 431, + "line": 475, "column": 27 }, "end": { - "line": 431, + "line": 475, "column": 31 } } @@ -61960,15 +66874,15 @@ "binop": null, "updateContext": null }, - "start": 15505, - "end": 15506, + "start": 16775, + "end": 16776, "loc": { "start": { - "line": 431, + "line": 475, "column": 31 }, "end": { - "line": 431, + "line": 475, "column": 32 } } @@ -61985,15 +66899,15 @@ "postfix": false, "binop": null }, - "start": 15524, - "end": 15525, + "start": 16794, + "end": 16795, "loc": { "start": { - "line": 432, + "line": 476, "column": 16 }, "end": { - "line": 432, + "line": 476, "column": 17 } } @@ -62010,15 +66924,15 @@ "postfix": false, "binop": null }, - "start": 15539, - "end": 15540, + "start": 16809, + "end": 16810, "loc": { "start": { - "line": 433, + "line": 477, "column": 12 }, "end": { - "line": 433, + "line": 477, "column": 13 } } @@ -62035,15 +66949,15 @@ "postfix": false, "binop": null }, - "start": 15550, - "end": 15551, + "start": 16820, + "end": 16821, "loc": { "start": { - "line": 434, + "line": 478, "column": 8 }, "end": { - "line": 434, + "line": 478, "column": 9 } } @@ -62063,15 +66977,15 @@ "updateContext": null }, "value": "else", - "start": 15552, - "end": 15556, + "start": 16822, + "end": 16826, "loc": { "start": { - "line": 434, + "line": 478, "column": 10 }, "end": { - "line": 434, + "line": 478, "column": 14 } } @@ -62088,15 +67002,15 @@ "postfix": false, "binop": null }, - "start": 15557, - "end": 15558, + "start": 16827, + "end": 16828, "loc": { "start": { - "line": 434, + "line": 478, "column": 15 }, "end": { - "line": 434, + "line": 478, "column": 16 } } @@ -62114,15 +67028,15 @@ "binop": null }, "value": "VYI", - "start": 15572, - "end": 15575, + "start": 16842, + "end": 16845, "loc": { "start": { - "line": 435, + "line": 479, "column": 12 }, "end": { - "line": 435, + "line": 479, "column": 15 } } @@ -62140,15 +67054,15 @@ "binop": null, "updateContext": null }, - "start": 15575, - "end": 15576, + "start": 16845, + "end": 16846, "loc": { "start": { - "line": 435, + "line": 479, "column": 15 }, "end": { - "line": 435, + "line": 479, "column": 16 } } @@ -62166,15 +67080,15 @@ "binop": null }, "value": "logger", - "start": 15576, - "end": 15582, + "start": 16846, + "end": 16852, "loc": { "start": { - "line": 435, + "line": 479, "column": 16 }, "end": { - "line": 435, + "line": 479, "column": 22 } } @@ -62192,15 +67106,15 @@ "binop": null, "updateContext": null }, - "start": 15582, - "end": 15583, + "start": 16852, + "end": 16853, "loc": { "start": { - "line": 435, + "line": 479, "column": 22 }, "end": { - "line": 435, + "line": 479, "column": 23 } } @@ -62218,15 +67132,15 @@ "binop": null }, "value": "prefix", - "start": 15583, - "end": 15589, + "start": 16853, + "end": 16859, "loc": { "start": { - "line": 435, + "line": 479, "column": 23 }, "end": { - "line": 435, + "line": 479, "column": 29 } } @@ -62243,15 +67157,15 @@ "postfix": false, "binop": null }, - "start": 15589, - "end": 15590, + "start": 16859, + "end": 16860, "loc": { "start": { - "line": 435, + "line": 479, "column": 29 }, "end": { - "line": 435, + "line": 479, "column": 30 } } @@ -62270,15 +67184,15 @@ "updateContext": null }, "value": "VYI-module", - "start": 15590, - "end": 15602, + "start": 16860, + "end": 16872, "loc": { "start": { - "line": 435, + "line": 479, "column": 30 }, "end": { - "line": 435, + "line": 479, "column": 42 } } @@ -62295,15 +67209,15 @@ "postfix": false, "binop": null }, - "start": 15602, - "end": 15603, + "start": 16872, + "end": 16873, "loc": { "start": { - "line": 435, + "line": 479, "column": 42 }, "end": { - "line": 435, + "line": 479, "column": 43 } } @@ -62321,15 +67235,15 @@ "binop": null, "updateContext": null }, - "start": 15603, - "end": 15604, + "start": 16873, + "end": 16874, "loc": { "start": { - "line": 435, + "line": 479, "column": 43 }, "end": { - "line": 435, + "line": 479, "column": 44 } } @@ -62347,15 +67261,15 @@ "binop": null }, "value": "error", - "start": 15604, - "end": 15609, + "start": 16874, + "end": 16879, "loc": { "start": { - "line": 435, + "line": 479, "column": 44 }, "end": { - "line": 435, + "line": 479, "column": 49 } } @@ -62372,15 +67286,15 @@ "postfix": false, "binop": null }, - "start": 15609, - "end": 15610, + "start": 16879, + "end": 16880, "loc": { "start": { - "line": 435, + "line": 479, "column": 49 }, "end": { - "line": 435, + "line": 479, "column": 50 } } @@ -62399,15 +67313,15 @@ "updateContext": null }, "value": "Invalid name type used!", - "start": 15610, - "end": 15635, + "start": 16880, + "end": 16905, "loc": { "start": { - "line": 435, + "line": 479, "column": 50 }, "end": { - "line": 435, + "line": 479, "column": 75 } } @@ -62424,15 +67338,15 @@ "postfix": false, "binop": null }, - "start": 15635, - "end": 15636, + "start": 16905, + "end": 16906, "loc": { "start": { - "line": 435, + "line": 479, "column": 75 }, "end": { - "line": 435, + "line": 479, "column": 76 } } @@ -62450,15 +67364,15 @@ "binop": null, "updateContext": null }, - "start": 15636, - "end": 15637, + "start": 16906, + "end": 16907, "loc": { "start": { - "line": 435, + "line": 479, "column": 76 }, "end": { - "line": 435, + "line": 479, "column": 77 } } @@ -62475,15 +67389,15 @@ "postfix": false, "binop": null }, - "start": 15647, - "end": 15648, + "start": 16917, + "end": 16918, "loc": { "start": { - "line": 436, + "line": 480, "column": 8 }, "end": { - "line": 436, + "line": 480, "column": 9 } } @@ -62500,15 +67414,15 @@ "postfix": false, "binop": null }, - "start": 15654, - "end": 15655, + "start": 16924, + "end": 16925, "loc": { "start": { - "line": 437, + "line": 481, "column": 4 }, "end": { - "line": 437, + "line": 481, "column": 5 } } @@ -62516,15 +67430,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15661, - "end": 15791, + "start": 16931, + "end": 17061, "loc": { "start": { - "line": 438, + "line": 482, "column": 4 }, "end": { - "line": 441, + "line": 485, "column": 7 } } @@ -62542,15 +67456,15 @@ "binop": null }, "value": "getStates", - "start": 15797, - "end": 15806, + "start": 17067, + "end": 17076, "loc": { "start": { - "line": 442, + "line": 486, "column": 4 }, "end": { - "line": 442, + "line": 486, "column": 13 } } @@ -62567,15 +67481,15 @@ "postfix": false, "binop": null }, - "start": 15806, - "end": 15807, + "start": 17076, + "end": 17077, "loc": { "start": { - "line": 442, + "line": 486, "column": 13 }, "end": { - "line": 442, + "line": 486, "column": 14 } } @@ -62592,15 +67506,15 @@ "postfix": false, "binop": null }, - "start": 15807, - "end": 15808, + "start": 17077, + "end": 17078, "loc": { "start": { - "line": 442, + "line": 486, "column": 14 }, "end": { - "line": 442, + "line": 486, "column": 15 } } @@ -62617,15 +67531,15 @@ "postfix": false, "binop": null }, - "start": 15809, - "end": 15810, + "start": 17079, + "end": 17080, "loc": { "start": { - "line": 442, + "line": 486, "column": 16 }, "end": { - "line": 442, + "line": 486, "column": 17 } } @@ -62645,15 +67559,15 @@ "updateContext": null }, "value": "return", - "start": 15820, - "end": 15826, + "start": 17090, + "end": 17096, "loc": { "start": { - "line": 443, + "line": 487, "column": 8 }, "end": { - "line": 443, + "line": 487, "column": 14 } } @@ -62671,15 +67585,15 @@ "binop": null, "updateContext": null }, - "start": 15827, - "end": 15828, + "start": 17097, + "end": 17098, "loc": { "start": { - "line": 443, + "line": 487, "column": 15 }, "end": { - "line": 443, + "line": 487, "column": 16 } } @@ -62697,15 +67611,15 @@ "binop": null, "updateContext": null }, - "start": 15829, - "end": 15832, + "start": 17099, + "end": 17102, "loc": { "start": { - "line": 443, + "line": 487, "column": 17 }, "end": { - "line": 443, + "line": 487, "column": 20 } } @@ -62725,15 +67639,15 @@ "updateContext": null }, "value": "this", - "start": 15832, - "end": 15836, + "start": 17102, + "end": 17106, "loc": { "start": { - "line": 443, + "line": 487, "column": 20 }, "end": { - "line": 443, + "line": 487, "column": 24 } } @@ -62751,15 +67665,15 @@ "binop": null, "updateContext": null }, - "start": 15836, - "end": 15837, + "start": 17106, + "end": 17107, "loc": { "start": { - "line": 443, + "line": 487, "column": 24 }, "end": { - "line": 443, + "line": 487, "column": 25 } } @@ -62777,15 +67691,15 @@ "binop": null }, "value": "states", - "start": 15837, - "end": 15843, + "start": 17107, + "end": 17113, "loc": { "start": { - "line": 443, + "line": 487, "column": 25 }, "end": { - "line": 443, + "line": 487, "column": 31 } } @@ -62803,15 +67717,15 @@ "binop": null, "updateContext": null }, - "start": 15844, - "end": 15845, + "start": 17114, + "end": 17115, "loc": { "start": { - "line": 443, + "line": 487, "column": 32 }, "end": { - "line": 443, + "line": 487, "column": 33 } } @@ -62829,15 +67743,15 @@ "binop": null, "updateContext": null }, - "start": 15845, - "end": 15846, + "start": 17115, + "end": 17116, "loc": { "start": { - "line": 443, + "line": 487, "column": 33 }, "end": { - "line": 443, + "line": 487, "column": 34 } } @@ -62854,15 +67768,15 @@ "postfix": false, "binop": null }, - "start": 15852, - "end": 15853, + "start": 17122, + "end": 17123, "loc": { "start": { - "line": 444, + "line": 488, "column": 4 }, "end": { - "line": 444, + "line": 488, "column": 5 } } @@ -62870,15 +67784,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15859, - "end": 16015, + "start": 17129, + "end": 17285, "loc": { "start": { - "line": 445, + "line": 489, "column": 4 }, "end": { - "line": 449, + "line": 493, "column": 7 } } @@ -62896,15 +67810,15 @@ "binop": null }, "value": "getStatesData", - "start": 16021, - "end": 16034, + "start": 17291, + "end": 17304, "loc": { "start": { - "line": 450, + "line": 494, "column": 4 }, "end": { - "line": 450, + "line": 494, "column": 17 } } @@ -62921,15 +67835,15 @@ "postfix": false, "binop": null }, - "start": 16034, - "end": 16035, + "start": 17304, + "end": 17305, "loc": { "start": { - "line": 450, + "line": 494, "column": 17 }, "end": { - "line": 450, + "line": 494, "column": 18 } } @@ -62946,15 +67860,15 @@ "postfix": false, "binop": null }, - "start": 16035, - "end": 16036, + "start": 17305, + "end": 17306, "loc": { "start": { - "line": 450, + "line": 494, "column": 18 }, "end": { - "line": 450, + "line": 494, "column": 19 } } @@ -62971,15 +67885,15 @@ "postfix": false, "binop": null }, - "start": 16037, - "end": 16038, + "start": 17307, + "end": 17308, "loc": { "start": { - "line": 450, + "line": 494, "column": 20 }, "end": { - "line": 450, + "line": 494, "column": 21 } } @@ -62999,15 +67913,15 @@ "updateContext": null }, "value": "const", - "start": 16048, - "end": 16053, + "start": 17318, + "end": 17323, "loc": { "start": { - "line": 451, + "line": 495, "column": 8 }, "end": { - "line": 451, + "line": 495, "column": 13 } } @@ -63025,15 +67939,15 @@ "binop": null }, "value": "stateDataArray", - "start": 16054, - "end": 16068, + "start": 17324, + "end": 17338, "loc": { "start": { - "line": 451, + "line": 495, "column": 14 }, "end": { - "line": 451, + "line": 495, "column": 28 } } @@ -63052,15 +67966,15 @@ "updateContext": null }, "value": "=", - "start": 16069, - "end": 16070, + "start": 17339, + "end": 17340, "loc": { "start": { - "line": 451, + "line": 495, "column": 29 }, "end": { - "line": 451, + "line": 495, "column": 30 } } @@ -63078,15 +67992,15 @@ "binop": null, "updateContext": null }, - "start": 16071, - "end": 16072, + "start": 17341, + "end": 17342, "loc": { "start": { - "line": 451, + "line": 495, "column": 31 }, "end": { - "line": 451, + "line": 495, "column": 32 } } @@ -63104,15 +68018,15 @@ "binop": null, "updateContext": null }, - "start": 16072, - "end": 16073, + "start": 17342, + "end": 17343, "loc": { "start": { - "line": 451, + "line": 495, "column": 32 }, "end": { - "line": 451, + "line": 495, "column": 33 } } @@ -63130,15 +68044,15 @@ "binop": null, "updateContext": null }, - "start": 16073, - "end": 16074, + "start": 17343, + "end": 17344, "loc": { "start": { - "line": 451, + "line": 495, "column": 33 }, "end": { - "line": 451, + "line": 495, "column": 34 } } @@ -63146,15 +68060,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 16084, - "end": 16135, + "start": 17354, + "end": 17405, "loc": { "start": { - "line": 452, + "line": 496, "column": 8 }, "end": { - "line": 452, + "line": 496, "column": 59 } } @@ -63174,15 +68088,15 @@ "updateContext": null }, "value": "this", - "start": 16145, - "end": 16149, + "start": 17415, + "end": 17419, "loc": { "start": { - "line": 453, + "line": 497, "column": 8 }, "end": { - "line": 453, + "line": 497, "column": 12 } } @@ -63200,15 +68114,15 @@ "binop": null, "updateContext": null }, - "start": 16149, - "end": 16150, + "start": 17419, + "end": 17420, "loc": { "start": { - "line": 453, + "line": 497, "column": 12 }, "end": { - "line": 453, + "line": 497, "column": 13 } } @@ -63226,15 +68140,15 @@ "binop": null }, "value": "states", - "start": 16150, - "end": 16156, + "start": 17420, + "end": 17426, "loc": { "start": { - "line": 453, + "line": 497, "column": 13 }, "end": { - "line": 453, + "line": 497, "column": 19 } } @@ -63252,15 +68166,15 @@ "binop": null, "updateContext": null }, - "start": 16156, - "end": 16157, + "start": 17426, + "end": 17427, "loc": { "start": { - "line": 453, + "line": 497, "column": 19 }, "end": { - "line": 453, + "line": 497, "column": 20 } } @@ -63278,15 +68192,15 @@ "binop": null }, "value": "forEach", - "start": 16157, - "end": 16164, + "start": 17427, + "end": 17434, "loc": { "start": { - "line": 453, + "line": 497, "column": 20 }, "end": { - "line": 453, + "line": 497, "column": 27 } } @@ -63303,15 +68217,15 @@ "postfix": false, "binop": null }, - "start": 16164, - "end": 16165, + "start": 17434, + "end": 17435, "loc": { "start": { - "line": 453, + "line": 497, "column": 27 }, "end": { - "line": 453, + "line": 497, "column": 28 } } @@ -63328,15 +68242,15 @@ "postfix": false, "binop": null }, - "start": 16165, - "end": 16166, + "start": 17435, + "end": 17436, "loc": { "start": { - "line": 453, + "line": 497, "column": 28 }, "end": { - "line": 453, + "line": 497, "column": 29 } } @@ -63354,15 +68268,15 @@ "binop": null }, "value": "pState", - "start": 16166, - "end": 16172, + "start": 17436, + "end": 17442, "loc": { "start": { - "line": 453, + "line": 497, "column": 29 }, "end": { - "line": 453, + "line": 497, "column": 35 } } @@ -63379,15 +68293,15 @@ "postfix": false, "binop": null }, - "start": 16172, - "end": 16173, + "start": 17442, + "end": 17443, "loc": { "start": { - "line": 453, + "line": 497, "column": 35 }, "end": { - "line": 453, + "line": 497, "column": 36 } } @@ -63405,15 +68319,15 @@ "binop": null, "updateContext": null }, - "start": 16174, - "end": 16176, + "start": 17444, + "end": 17446, "loc": { "start": { - "line": 453, + "line": 497, "column": 37 }, "end": { - "line": 453, + "line": 497, "column": 39 } } @@ -63430,15 +68344,15 @@ "postfix": false, "binop": null }, - "start": 16177, - "end": 16178, + "start": 17447, + "end": 17448, "loc": { "start": { - "line": 453, + "line": 497, "column": 40 }, "end": { - "line": 453, + "line": 497, "column": 41 } } @@ -63456,15 +68370,15 @@ "binop": null }, "value": "stateDataArray", - "start": 16192, - "end": 16206, + "start": 17462, + "end": 17476, "loc": { "start": { - "line": 454, + "line": 498, "column": 12 }, "end": { - "line": 454, + "line": 498, "column": 26 } } @@ -63482,15 +68396,15 @@ "binop": null, "updateContext": null }, - "start": 16206, - "end": 16207, + "start": 17476, + "end": 17477, "loc": { "start": { - "line": 454, + "line": 498, "column": 26 }, "end": { - "line": 454, + "line": 498, "column": 27 } } @@ -63508,15 +68422,15 @@ "binop": null }, "value": "push", - "start": 16207, - "end": 16211, + "start": 17477, + "end": 17481, "loc": { "start": { - "line": 454, + "line": 498, "column": 27 }, "end": { - "line": 454, + "line": 498, "column": 31 } } @@ -63533,15 +68447,15 @@ "postfix": false, "binop": null }, - "start": 16211, - "end": 16212, + "start": 17481, + "end": 17482, "loc": { "start": { - "line": 454, + "line": 498, "column": 31 }, "end": { - "line": 454, + "line": 498, "column": 32 } } @@ -63559,15 +68473,15 @@ "binop": null }, "value": "pState", - "start": 16212, - "end": 16218, + "start": 17482, + "end": 17488, "loc": { "start": { - "line": 454, + "line": 498, "column": 32 }, "end": { - "line": 454, + "line": 498, "column": 38 } } @@ -63585,15 +68499,15 @@ "binop": null, "updateContext": null }, - "start": 16218, - "end": 16219, + "start": 17488, + "end": 17489, "loc": { "start": { - "line": 454, + "line": 498, "column": 38 }, "end": { - "line": 454, + "line": 498, "column": 39 } } @@ -63611,15 +68525,15 @@ "binop": null }, "value": "exportAsState", - "start": 16219, - "end": 16232, + "start": 17489, + "end": 17502, "loc": { "start": { - "line": 454, + "line": 498, "column": 39 }, "end": { - "line": 454, + "line": 498, "column": 52 } } @@ -63636,15 +68550,15 @@ "postfix": false, "binop": null }, - "start": 16232, - "end": 16233, + "start": 17502, + "end": 17503, "loc": { "start": { - "line": 454, + "line": 498, "column": 52 }, "end": { - "line": 454, + "line": 498, "column": 53 } } @@ -63661,15 +68575,15 @@ "postfix": false, "binop": null }, - "start": 16233, - "end": 16234, + "start": 17503, + "end": 17504, "loc": { "start": { - "line": 454, + "line": 498, "column": 53 }, "end": { - "line": 454, + "line": 498, "column": 54 } } @@ -63686,15 +68600,15 @@ "postfix": false, "binop": null }, - "start": 16234, - "end": 16235, + "start": 17504, + "end": 17505, "loc": { "start": { - "line": 454, + "line": 498, "column": 54 }, "end": { - "line": 454, + "line": 498, "column": 55 } } @@ -63712,15 +68626,15 @@ "binop": null, "updateContext": null }, - "start": 16235, - "end": 16236, + "start": 17505, + "end": 17506, "loc": { "start": { - "line": 454, + "line": 498, "column": 55 }, "end": { - "line": 454, + "line": 498, "column": 56 } } @@ -63737,15 +68651,15 @@ "postfix": false, "binop": null }, - "start": 16246, - "end": 16247, + "start": 17516, + "end": 17517, "loc": { "start": { - "line": 455, + "line": 499, "column": 8 }, "end": { - "line": 455, + "line": 499, "column": 9 } } @@ -63762,15 +68676,15 @@ "postfix": false, "binop": null }, - "start": 16247, - "end": 16248, + "start": 17517, + "end": 17518, "loc": { "start": { - "line": 455, + "line": 499, "column": 9 }, "end": { - "line": 455, + "line": 499, "column": 10 } } @@ -63788,15 +68702,15 @@ "binop": null, "updateContext": null }, - "start": 16248, - "end": 16249, + "start": 17518, + "end": 17519, "loc": { "start": { - "line": 455, + "line": 499, "column": 10 }, "end": { - "line": 455, + "line": 499, "column": 11 } } @@ -63816,15 +68730,15 @@ "updateContext": null }, "value": "return", - "start": 16259, - "end": 16265, + "start": 17529, + "end": 17535, "loc": { "start": { - "line": 456, + "line": 500, "column": 8 }, "end": { - "line": 456, + "line": 500, "column": 14 } } @@ -63842,15 +68756,15 @@ "binop": null }, "value": "stateDataArray", - "start": 16266, - "end": 16280, + "start": 17536, + "end": 17550, "loc": { "start": { - "line": 456, + "line": 500, "column": 15 }, "end": { - "line": 456, + "line": 500, "column": 29 } } @@ -63868,15 +68782,15 @@ "binop": null, "updateContext": null }, - "start": 16280, - "end": 16281, + "start": 17550, + "end": 17551, "loc": { "start": { - "line": 456, + "line": 500, "column": 29 }, "end": { - "line": 456, + "line": 500, "column": 30 } } @@ -63893,15 +68807,15 @@ "postfix": false, "binop": null }, - "start": 16295, - "end": 16296, + "start": 17565, + "end": 17566, "loc": { "start": { - "line": 457, + "line": 501, "column": 4 }, "end": { - "line": 457, + "line": 501, "column": 5 } } @@ -63909,15 +68823,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16302, - "end": 16490, + "start": 17572, + "end": 17760, "loc": { "start": { - "line": 458, + "line": 502, "column": 4 }, "end": { - "line": 462, + "line": 506, "column": 7 } } @@ -63935,15 +68849,15 @@ "binop": null }, "value": "exportAsState", - "start": 16496, - "end": 16509, + "start": 17766, + "end": 17779, "loc": { "start": { - "line": 463, + "line": 507, "column": 4 }, "end": { - "line": 463, + "line": 507, "column": 17 } } @@ -63960,15 +68874,15 @@ "postfix": false, "binop": null }, - "start": 16509, - "end": 16510, + "start": 17779, + "end": 17780, "loc": { "start": { - "line": 463, + "line": 507, "column": 17 }, "end": { - "line": 463, + "line": 507, "column": 18 } } @@ -63985,15 +68899,15 @@ "postfix": false, "binop": null }, - "start": 16510, - "end": 16511, + "start": 17780, + "end": 17781, "loc": { "start": { - "line": 463, + "line": 507, "column": 18 }, "end": { - "line": 463, + "line": 507, "column": 19 } } @@ -64010,15 +68924,15 @@ "postfix": false, "binop": null }, - "start": 16512, - "end": 16513, + "start": 17782, + "end": 17783, "loc": { "start": { - "line": 463, + "line": 507, "column": 20 }, "end": { - "line": 463, + "line": 507, "column": 21 } } @@ -64038,15 +68952,15 @@ "updateContext": null }, "value": "const", - "start": 16523, - "end": 16528, + "start": 17793, + "end": 17798, "loc": { "start": { - "line": 464, + "line": 508, "column": 8 }, "end": { - "line": 464, + "line": 508, "column": 13 } } @@ -64064,15 +68978,15 @@ "binop": null }, "value": "stateData", - "start": 16529, - "end": 16538, + "start": 17799, + "end": 17808, "loc": { "start": { - "line": 464, + "line": 508, "column": 14 }, "end": { - "line": 464, + "line": 508, "column": 23 } } @@ -64091,15 +69005,15 @@ "updateContext": null }, "value": "=", - "start": 16539, - "end": 16540, + "start": 17809, + "end": 17810, "loc": { "start": { - "line": 464, + "line": 508, "column": 24 }, "end": { - "line": 464, + "line": 508, "column": 25 } } @@ -64117,15 +69031,15 @@ "binop": null, "updateContext": null }, - "start": 16541, - "end": 16542, + "start": 17811, + "end": 17812, "loc": { "start": { - "line": 464, + "line": 508, "column": 26 }, "end": { - "line": 464, + "line": 508, "column": 27 } } @@ -64143,15 +69057,15 @@ "binop": null, "updateContext": null }, - "start": 16542, - "end": 16543, + "start": 17812, + "end": 17813, "loc": { "start": { - "line": 464, + "line": 508, "column": 27 }, "end": { - "line": 464, + "line": 508, "column": 28 } } @@ -64169,15 +69083,15 @@ "binop": null, "updateContext": null }, - "start": 16543, - "end": 16544, + "start": 17813, + "end": 17814, "loc": { "start": { - "line": 464, + "line": 508, "column": 28 }, "end": { - "line": 464, + "line": 508, "column": 29 } } @@ -64185,15 +69099,15 @@ { "type": "CommentLine", "value": " state name", - "start": 16554, - "end": 16567, + "start": 17824, + "end": 17837, "loc": { "start": { - "line": 465, + "line": 509, "column": 8 }, "end": { - "line": 465, + "line": 509, "column": 21 } } @@ -64211,15 +69125,15 @@ "binop": null }, "value": "stateData", - "start": 16577, - "end": 16586, + "start": 17847, + "end": 17856, "loc": { "start": { - "line": 466, + "line": 510, "column": 8 }, "end": { - "line": 466, + "line": 510, "column": 17 } } @@ -64237,15 +69151,15 @@ "binop": null, "updateContext": null }, - "start": 16586, - "end": 16587, + "start": 17856, + "end": 17857, "loc": { "start": { - "line": 466, + "line": 510, "column": 17 }, "end": { - "line": 466, + "line": 510, "column": 18 } } @@ -64264,15 +69178,15 @@ "updateContext": null }, "value": 0, - "start": 16587, - "end": 16588, + "start": 17857, + "end": 17858, "loc": { "start": { - "line": 466, + "line": 510, "column": 18 }, "end": { - "line": 466, + "line": 510, "column": 19 } } @@ -64290,15 +69204,15 @@ "binop": null, "updateContext": null }, - "start": 16588, - "end": 16589, + "start": 17858, + "end": 17859, "loc": { "start": { - "line": 466, + "line": 510, "column": 19 }, "end": { - "line": 466, + "line": 510, "column": 20 } } @@ -64317,15 +69231,15 @@ "updateContext": null }, "value": "=", - "start": 16590, - "end": 16591, + "start": 17860, + "end": 17861, "loc": { "start": { - "line": 466, + "line": 510, "column": 21 }, "end": { - "line": 466, + "line": 510, "column": 22 } } @@ -64345,15 +69259,15 @@ "updateContext": null }, "value": "this", - "start": 16592, - "end": 16596, + "start": 17862, + "end": 17866, "loc": { "start": { - "line": 466, + "line": 510, "column": 23 }, "end": { - "line": 466, + "line": 510, "column": 27 } } @@ -64371,15 +69285,15 @@ "binop": null, "updateContext": null }, - "start": 16596, - "end": 16597, + "start": 17866, + "end": 17867, "loc": { "start": { - "line": 466, + "line": 510, "column": 27 }, "end": { - "line": 466, + "line": 510, "column": 28 } } @@ -64397,15 +69311,15 @@ "binop": null }, "value": "getName", - "start": 16597, - "end": 16604, + "start": 17867, + "end": 17874, "loc": { "start": { - "line": 466, + "line": 510, "column": 28 }, "end": { - "line": 466, + "line": 510, "column": 35 } } @@ -64422,15 +69336,15 @@ "postfix": false, "binop": null }, - "start": 16604, - "end": 16605, + "start": 17874, + "end": 17875, "loc": { "start": { - "line": 466, + "line": 510, "column": 35 }, "end": { - "line": 466, + "line": 510, "column": 36 } } @@ -64447,15 +69361,15 @@ "postfix": false, "binop": null }, - "start": 16605, - "end": 16606, + "start": 17875, + "end": 17876, "loc": { "start": { - "line": 466, + "line": 510, "column": 36 }, "end": { - "line": 466, + "line": 510, "column": 37 } } @@ -64473,15 +69387,15 @@ "binop": null, "updateContext": null }, - "start": 16606, - "end": 16607, + "start": 17876, + "end": 17877, "loc": { "start": { - "line": 466, + "line": 510, "column": 37 }, "end": { - "line": 466, + "line": 510, "column": 38 } } @@ -64489,15 +69403,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 16617, - "end": 16633, + "start": 17887, + "end": 17903, "loc": { "start": { - "line": 467, + "line": 511, "column": 8 }, "end": { - "line": 467, + "line": 511, "column": 24 } } @@ -64515,15 +69429,15 @@ "binop": null }, "value": "stateData", - "start": 16643, - "end": 16652, + "start": 17913, + "end": 17922, "loc": { "start": { - "line": 468, + "line": 512, "column": 8 }, "end": { - "line": 468, + "line": 512, "column": 17 } } @@ -64541,15 +69455,15 @@ "binop": null, "updateContext": null }, - "start": 16652, - "end": 16653, + "start": 17922, + "end": 17923, "loc": { "start": { - "line": 468, + "line": 512, "column": 17 }, "end": { - "line": 468, + "line": 512, "column": 18 } } @@ -64568,15 +69482,15 @@ "updateContext": null }, "value": 1, - "start": 16653, - "end": 16654, + "start": 17923, + "end": 17924, "loc": { "start": { - "line": 468, + "line": 512, "column": 18 }, "end": { - "line": 468, + "line": 512, "column": 19 } } @@ -64594,15 +69508,15 @@ "binop": null, "updateContext": null }, - "start": 16654, - "end": 16655, + "start": 17924, + "end": 17925, "loc": { "start": { - "line": 468, + "line": 512, "column": 19 }, "end": { - "line": 468, + "line": 512, "column": 20 } } @@ -64621,15 +69535,15 @@ "updateContext": null }, "value": "=", - "start": 16656, - "end": 16657, + "start": 17926, + "end": 17927, "loc": { "start": { - "line": 468, + "line": 512, "column": 21 }, "end": { - "line": 468, + "line": 512, "column": 22 } } @@ -64649,15 +69563,15 @@ "updateContext": null }, "value": "this", - "start": 16658, - "end": 16662, + "start": 17928, + "end": 17932, "loc": { "start": { - "line": 468, + "line": 512, "column": 23 }, "end": { - "line": 468, + "line": 512, "column": 27 } } @@ -64675,15 +69589,15 @@ "binop": null, "updateContext": null }, - "start": 16662, - "end": 16663, + "start": 17932, + "end": 17933, "loc": { "start": { - "line": 468, + "line": 512, "column": 27 }, "end": { - "line": 468, + "line": 512, "column": 28 } } @@ -64701,15 +69615,15 @@ "binop": null }, "value": "getDataURL", - "start": 16663, - "end": 16673, + "start": 17933, + "end": 17943, "loc": { "start": { - "line": 468, + "line": 512, "column": 28 }, "end": { - "line": 468, + "line": 512, "column": 38 } } @@ -64726,15 +69640,15 @@ "postfix": false, "binop": null }, - "start": 16673, - "end": 16674, + "start": 17943, + "end": 17944, "loc": { "start": { - "line": 468, + "line": 512, "column": 38 }, "end": { - "line": 468, + "line": 512, "column": 39 } } @@ -64751,15 +69665,15 @@ "postfix": false, "binop": null }, - "start": 16674, - "end": 16675, + "start": 17944, + "end": 17945, "loc": { "start": { - "line": 468, + "line": 512, "column": 39 }, "end": { - "line": 468, + "line": 512, "column": 40 } } @@ -64777,15 +69691,15 @@ "binop": null, "updateContext": null }, - "start": 16675, - "end": 16676, + "start": 17945, + "end": 17946, "loc": { "start": { - "line": 468, + "line": 512, "column": 40 }, "end": { - "line": 468, + "line": 512, "column": 41 } } @@ -64793,15 +69707,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16686, - "end": 16706, + "start": 17956, + "end": 17976, "loc": { "start": { - "line": 469, + "line": 513, "column": 8 }, "end": { - "line": 469, + "line": 513, "column": 28 } } @@ -64819,15 +69733,15 @@ "binop": null }, "value": "stateData", - "start": 16716, - "end": 16725, + "start": 17986, + "end": 17995, "loc": { "start": { - "line": 470, + "line": 514, "column": 8 }, "end": { - "line": 470, + "line": 514, "column": 17 } } @@ -64845,15 +69759,15 @@ "binop": null, "updateContext": null }, - "start": 16725, - "end": 16726, + "start": 17995, + "end": 17996, "loc": { "start": { - "line": 470, + "line": 514, "column": 17 }, "end": { - "line": 470, + "line": 514, "column": 18 } } @@ -64872,15 +69786,15 @@ "updateContext": null }, "value": 2, - "start": 16726, - "end": 16727, + "start": 17996, + "end": 17997, "loc": { "start": { - "line": 470, + "line": 514, "column": 18 }, "end": { - "line": 470, + "line": 514, "column": 19 } } @@ -64898,15 +69812,15 @@ "binop": null, "updateContext": null }, - "start": 16727, - "end": 16728, + "start": 17997, + "end": 17998, "loc": { "start": { - "line": 470, + "line": 514, "column": 19 }, "end": { - "line": 470, + "line": 514, "column": 20 } } @@ -64925,15 +69839,15 @@ "updateContext": null }, "value": "=", - "start": 16729, - "end": 16730, + "start": 17999, + "end": 18000, "loc": { "start": { - "line": 470, + "line": 514, "column": 21 }, "end": { - "line": 470, + "line": 514, "column": 22 } } @@ -64953,15 +69867,15 @@ "updateContext": null }, "value": "this", - "start": 16731, - "end": 16735, + "start": 18001, + "end": 18005, "loc": { "start": { - "line": 470, + "line": 514, "column": 23 }, "end": { - "line": 470, + "line": 514, "column": 27 } } @@ -64979,15 +69893,15 @@ "binop": null, "updateContext": null }, - "start": 16735, - "end": 16736, + "start": 18005, + "end": 18006, "loc": { "start": { - "line": 470, + "line": 514, "column": 27 }, "end": { - "line": 470, + "line": 514, "column": 28 } } @@ -65005,15 +69919,15 @@ "binop": null }, "value": "getDelay", - "start": 16736, - "end": 16744, + "start": 18006, + "end": 18014, "loc": { "start": { - "line": 470, + "line": 514, "column": 28 }, "end": { - "line": 470, + "line": 514, "column": 36 } } @@ -65030,15 +69944,15 @@ "postfix": false, "binop": null }, - "start": 16744, - "end": 16745, + "start": 18014, + "end": 18015, "loc": { "start": { - "line": 470, + "line": 514, "column": 36 }, "end": { - "line": 470, + "line": 514, "column": 37 } } @@ -65055,15 +69969,15 @@ "postfix": false, "binop": null }, - "start": 16745, - "end": 16746, + "start": 18015, + "end": 18016, "loc": { "start": { - "line": 470, + "line": 514, "column": 37 }, "end": { - "line": 470, + "line": 514, "column": 38 } } @@ -65081,15 +69995,15 @@ "binop": null, "updateContext": null }, - "start": 16746, - "end": 16747, + "start": 18016, + "end": 18017, "loc": { "start": { - "line": 470, + "line": 514, "column": 38 }, "end": { - "line": 470, + "line": 514, "column": 39 } } @@ -65097,15 +70011,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16757, - "end": 16777, + "start": 18027, + "end": 18047, "loc": { "start": { - "line": 471, + "line": 515, "column": 8 }, "end": { - "line": 471, + "line": 515, "column": 28 } } @@ -65123,15 +70037,15 @@ "binop": null }, "value": "stateData", - "start": 16787, - "end": 16796, + "start": 18057, + "end": 18066, "loc": { "start": { - "line": 472, + "line": 516, "column": 8 }, "end": { - "line": 472, + "line": 516, "column": 17 } } @@ -65149,15 +70063,15 @@ "binop": null, "updateContext": null }, - "start": 16796, - "end": 16797, + "start": 18066, + "end": 18067, "loc": { "start": { - "line": 472, + "line": 516, "column": 17 }, "end": { - "line": 472, + "line": 516, "column": 18 } } @@ -65176,15 +70090,15 @@ "updateContext": null }, "value": 3, - "start": 16797, - "end": 16798, + "start": 18067, + "end": 18068, "loc": { "start": { - "line": 472, + "line": 516, "column": 18 }, "end": { - "line": 472, + "line": 516, "column": 19 } } @@ -65202,15 +70116,15 @@ "binop": null, "updateContext": null }, - "start": 16798, - "end": 16799, + "start": 18068, + "end": 18069, "loc": { "start": { - "line": 472, + "line": 516, "column": 19 }, "end": { - "line": 472, + "line": 516, "column": 20 } } @@ -65229,15 +70143,15 @@ "updateContext": null }, "value": "=", - "start": 16800, - "end": 16801, + "start": 18070, + "end": 18071, "loc": { "start": { - "line": 472, + "line": 516, "column": 21 }, "end": { - "line": 472, + "line": 516, "column": 22 } } @@ -65255,15 +70169,15 @@ "binop": null, "updateContext": null }, - "start": 16802, - "end": 16803, + "start": 18072, + "end": 18073, "loc": { "start": { - "line": 472, + "line": 516, "column": 23 }, "end": { - "line": 472, + "line": 516, "column": 24 } } @@ -65281,15 +70195,15 @@ "binop": null, "updateContext": null }, - "start": 16803, - "end": 16804, + "start": 18073, + "end": 18074, "loc": { "start": { - "line": 472, + "line": 516, "column": 24 }, "end": { - "line": 472, + "line": 516, "column": 25 } } @@ -65307,15 +70221,15 @@ "binop": null, "updateContext": null }, - "start": 16804, - "end": 16805, + "start": 18074, + "end": 18075, "loc": { "start": { - "line": 472, + "line": 516, "column": 25 }, "end": { - "line": 472, + "line": 516, "column": 26 } } @@ -65323,15 +70237,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16817, - "end": 16868, + "start": 18087, + "end": 18138, "loc": { "start": { - "line": 474, + "line": 518, "column": 8 }, "end": { - "line": 474, + "line": 518, "column": 59 } } @@ -65351,15 +70265,15 @@ "updateContext": null }, "value": "this", - "start": 16878, - "end": 16882, + "start": 18148, + "end": 18152, "loc": { "start": { - "line": 475, + "line": 519, "column": 8 }, "end": { - "line": 475, + "line": 519, "column": 12 } } @@ -65377,15 +70291,15 @@ "binop": null, "updateContext": null }, - "start": 16882, - "end": 16883, + "start": 18152, + "end": 18153, "loc": { "start": { - "line": 475, + "line": 519, "column": 12 }, "end": { - "line": 475, + "line": 519, "column": 13 } } @@ -65403,15 +70317,15 @@ "binop": null }, "value": "frames", - "start": 16883, - "end": 16889, + "start": 18153, + "end": 18159, "loc": { "start": { - "line": 475, + "line": 519, "column": 13 }, "end": { - "line": 475, + "line": 519, "column": 19 } } @@ -65429,15 +70343,15 @@ "binop": null, "updateContext": null }, - "start": 16889, - "end": 16890, + "start": 18159, + "end": 18160, "loc": { "start": { - "line": 475, + "line": 519, "column": 19 }, "end": { - "line": 475, + "line": 519, "column": 20 } } @@ -65455,15 +70369,15 @@ "binop": null }, "value": "forEach", - "start": 16890, - "end": 16897, + "start": 18160, + "end": 18167, "loc": { "start": { - "line": 475, + "line": 519, "column": 20 }, "end": { - "line": 475, + "line": 519, "column": 27 } } @@ -65480,15 +70394,15 @@ "postfix": false, "binop": null }, - "start": 16897, - "end": 16898, + "start": 18167, + "end": 18168, "loc": { "start": { - "line": 475, + "line": 519, "column": 27 }, "end": { - "line": 475, + "line": 519, "column": 28 } } @@ -65505,15 +70419,15 @@ "postfix": false, "binop": null }, - "start": 16898, - "end": 16899, + "start": 18168, + "end": 18169, "loc": { "start": { - "line": 475, + "line": 519, "column": 28 }, "end": { - "line": 475, + "line": 519, "column": 29 } } @@ -65531,15 +70445,15 @@ "binop": null }, "value": "pFrame", - "start": 16899, - "end": 16905, + "start": 18169, + "end": 18175, "loc": { "start": { - "line": 475, + "line": 519, "column": 29 }, "end": { - "line": 475, + "line": 519, "column": 35 } } @@ -65556,15 +70470,15 @@ "postfix": false, "binop": null }, - "start": 16905, - "end": 16906, + "start": 18175, + "end": 18176, "loc": { "start": { - "line": 475, + "line": 519, "column": 35 }, "end": { - "line": 475, + "line": 519, "column": 36 } } @@ -65582,15 +70496,15 @@ "binop": null, "updateContext": null }, - "start": 16907, - "end": 16909, + "start": 18177, + "end": 18179, "loc": { "start": { - "line": 475, + "line": 519, "column": 37 }, "end": { - "line": 475, + "line": 519, "column": 39 } } @@ -65607,15 +70521,15 @@ "postfix": false, "binop": null }, - "start": 16910, - "end": 16911, + "start": 18180, + "end": 18181, "loc": { "start": { - "line": 475, + "line": 519, "column": 40 }, "end": { - "line": 475, + "line": 519, "column": 41 } } @@ -65633,15 +70547,15 @@ "binop": null }, "value": "stateData", - "start": 16925, - "end": 16934, + "start": 18195, + "end": 18204, "loc": { "start": { - "line": 476, + "line": 520, "column": 12 }, "end": { - "line": 476, + "line": 520, "column": 21 } } @@ -65659,15 +70573,15 @@ "binop": null, "updateContext": null }, - "start": 16934, - "end": 16935, + "start": 18204, + "end": 18205, "loc": { "start": { - "line": 476, + "line": 520, "column": 21 }, "end": { - "line": 476, + "line": 520, "column": 22 } } @@ -65686,15 +70600,15 @@ "updateContext": null }, "value": 3, - "start": 16935, - "end": 16936, + "start": 18205, + "end": 18206, "loc": { "start": { - "line": 476, + "line": 520, "column": 22 }, "end": { - "line": 476, + "line": 520, "column": 23 } } @@ -65712,15 +70626,15 @@ "binop": null, "updateContext": null }, - "start": 16936, - "end": 16937, + "start": 18206, + "end": 18207, "loc": { "start": { - "line": 476, + "line": 520, "column": 23 }, "end": { - "line": 476, + "line": 520, "column": 24 } } @@ -65738,15 +70652,15 @@ "binop": null, "updateContext": null }, - "start": 16937, - "end": 16938, + "start": 18207, + "end": 18208, "loc": { "start": { - "line": 476, + "line": 520, "column": 24 }, "end": { - "line": 476, + "line": 520, "column": 25 } } @@ -65764,15 +70678,15 @@ "binop": null }, "value": "push", - "start": 16938, - "end": 16942, + "start": 18208, + "end": 18212, "loc": { "start": { - "line": 476, + "line": 520, "column": 25 }, "end": { - "line": 476, + "line": 520, "column": 29 } } @@ -65789,15 +70703,15 @@ "postfix": false, "binop": null }, - "start": 16942, - "end": 16943, + "start": 18212, + "end": 18213, "loc": { "start": { - "line": 476, + "line": 520, "column": 29 }, "end": { - "line": 476, + "line": 520, "column": 30 } } @@ -65815,15 +70729,15 @@ "binop": null }, "value": "pFrame", - "start": 16943, - "end": 16949, + "start": 18213, + "end": 18219, "loc": { "start": { - "line": 476, + "line": 520, "column": 30 }, "end": { - "line": 476, + "line": 520, "column": 36 } } @@ -65841,15 +70755,15 @@ "binop": null, "updateContext": null }, - "start": 16949, - "end": 16950, + "start": 18219, + "end": 18220, "loc": { "start": { - "line": 476, + "line": 520, "column": 36 }, "end": { - "line": 476, + "line": 520, "column": 37 } } @@ -65869,15 +70783,15 @@ "updateContext": null }, "value": "export", - "start": 16950, - "end": 16956, + "start": 18220, + "end": 18226, "loc": { "start": { - "line": 476, + "line": 520, "column": 37 }, "end": { - "line": 476, + "line": 520, "column": 43 } } @@ -65894,15 +70808,15 @@ "postfix": false, "binop": null }, - "start": 16956, - "end": 16957, + "start": 18226, + "end": 18227, "loc": { "start": { - "line": 476, + "line": 520, "column": 43 }, "end": { - "line": 476, + "line": 520, "column": 44 } } @@ -65919,15 +70833,15 @@ "postfix": false, "binop": null }, - "start": 16957, - "end": 16958, + "start": 18227, + "end": 18228, "loc": { "start": { - "line": 476, + "line": 520, "column": 44 }, "end": { - "line": 476, + "line": 520, "column": 45 } } @@ -65944,15 +70858,15 @@ "postfix": false, "binop": null }, - "start": 16958, - "end": 16959, + "start": 18228, + "end": 18229, "loc": { "start": { - "line": 476, + "line": 520, "column": 45 }, "end": { - "line": 476, + "line": 520, "column": 46 } } @@ -65970,15 +70884,15 @@ "binop": null, "updateContext": null }, - "start": 16959, - "end": 16960, + "start": 18229, + "end": 18230, "loc": { "start": { - "line": 476, + "line": 520, "column": 46 }, "end": { - "line": 476, + "line": 520, "column": 47 } } @@ -65995,15 +70909,15 @@ "postfix": false, "binop": null }, - "start": 16970, - "end": 16971, + "start": 18240, + "end": 18241, "loc": { "start": { - "line": 477, + "line": 521, "column": 8 }, "end": { - "line": 477, + "line": 521, "column": 9 } } @@ -66020,15 +70934,15 @@ "postfix": false, "binop": null }, - "start": 16971, - "end": 16972, + "start": 18241, + "end": 18242, "loc": { "start": { - "line": 477, + "line": 521, "column": 9 }, "end": { - "line": 477, + "line": 521, "column": 10 } } @@ -66046,15 +70960,15 @@ "binop": null, "updateContext": null }, - "start": 16972, - "end": 16973, + "start": 18242, + "end": 18243, "loc": { "start": { - "line": 477, + "line": 521, "column": 10 }, "end": { - "line": 477, + "line": 521, "column": 11 } } @@ -66074,15 +70988,15 @@ "updateContext": null }, "value": "return", - "start": 16983, - "end": 16989, + "start": 18253, + "end": 18259, "loc": { "start": { - "line": 478, + "line": 522, "column": 8 }, "end": { - "line": 478, + "line": 522, "column": 14 } } @@ -66100,15 +71014,15 @@ "binop": null }, "value": "stateData", - "start": 16990, - "end": 16999, + "start": 18260, + "end": 18269, "loc": { "start": { - "line": 478, + "line": 522, "column": 15 }, "end": { - "line": 478, + "line": 522, "column": 24 } } @@ -66126,15 +71040,15 @@ "binop": null, "updateContext": null }, - "start": 16999, - "end": 17000, + "start": 18269, + "end": 18270, "loc": { "start": { - "line": 478, + "line": 522, "column": 24 }, "end": { - "line": 478, + "line": 522, "column": 25 } } @@ -66151,15 +71065,15 @@ "postfix": false, "binop": null }, - "start": 17006, - "end": 17007, + "start": 18276, + "end": 18277, "loc": { "start": { - "line": 479, + "line": 523, "column": 4 }, "end": { - "line": 479, + "line": 523, "column": 5 } } @@ -66167,15 +71081,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17013, - "end": 17188, + "start": 18283, + "end": 18458, "loc": { "start": { - "line": 480, + "line": 524, "column": 4 }, "end": { - "line": 484, + "line": 528, "column": 7 } } @@ -66195,15 +71109,15 @@ "updateContext": null }, "value": "export", - "start": 17194, - "end": 17200, + "start": 18464, + "end": 18470, "loc": { "start": { - "line": 485, + "line": 529, "column": 4 }, "end": { - "line": 485, + "line": 529, "column": 10 } } @@ -66220,15 +71134,15 @@ "postfix": false, "binop": null }, - "start": 17200, - "end": 17201, + "start": 18470, + "end": 18471, "loc": { "start": { - "line": 485, + "line": 529, "column": 10 }, "end": { - "line": 485, + "line": 529, "column": 11 } } @@ -66245,15 +71159,15 @@ "postfix": false, "binop": null }, - "start": 17201, - "end": 17202, + "start": 18471, + "end": 18472, "loc": { "start": { - "line": 485, + "line": 529, "column": 11 }, "end": { - "line": 485, + "line": 529, "column": 12 } } @@ -66270,15 +71184,15 @@ "postfix": false, "binop": null }, - "start": 17203, - "end": 17204, + "start": 18473, + "end": 18474, "loc": { "start": { - "line": 485, + "line": 529, "column": 13 }, "end": { - "line": 485, + "line": 529, "column": 14 } } @@ -66298,15 +71212,15 @@ "updateContext": null }, "value": "const", - "start": 17214, - "end": 17219, + "start": 18484, + "end": 18489, "loc": { "start": { - "line": 486, + "line": 530, "column": 8 }, "end": { - "line": 486, + "line": 530, "column": 13 } } @@ -66324,15 +71238,15 @@ "binop": null }, "value": "iconData", - "start": 17220, - "end": 17228, + "start": 18490, + "end": 18498, "loc": { "start": { - "line": 486, + "line": 530, "column": 14 }, "end": { - "line": 486, + "line": 530, "column": 22 } } @@ -66351,15 +71265,15 @@ "updateContext": null }, "value": "=", - "start": 17229, - "end": 17230, + "start": 18499, + "end": 18500, "loc": { "start": { - "line": 486, + "line": 530, "column": 23 }, "end": { - "line": 486, + "line": 530, "column": 24 } } @@ -66377,15 +71291,15 @@ "binop": null, "updateContext": null }, - "start": 17231, - "end": 17232, + "start": 18501, + "end": 18502, "loc": { "start": { - "line": 486, + "line": 530, "column": 25 }, "end": { - "line": 486, + "line": 530, "column": 26 } } @@ -66403,15 +71317,15 @@ "binop": null, "updateContext": null }, - "start": 17232, - "end": 17233, + "start": 18502, + "end": 18503, "loc": { "start": { - "line": 486, + "line": 530, "column": 26 }, "end": { - "line": 486, + "line": 530, "column": 27 } } @@ -66429,15 +71343,15 @@ "binop": null, "updateContext": null }, - "start": 17233, - "end": 17234, + "start": 18503, + "end": 18504, "loc": { "start": { - "line": 486, + "line": 530, "column": 27 }, "end": { - "line": 486, + "line": 530, "column": 28 } } @@ -66445,15 +71359,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 17244, - "end": 17256, + "start": 18514, + "end": 18526, "loc": { "start": { - "line": 487, + "line": 531, "column": 8 }, "end": { - "line": 487, + "line": 531, "column": 20 } } @@ -66471,15 +71385,15 @@ "binop": null }, "value": "iconData", - "start": 17266, - "end": 17274, + "start": 18536, + "end": 18544, "loc": { "start": { - "line": 488, + "line": 532, "column": 8 }, "end": { - "line": 488, + "line": 532, "column": 16 } } @@ -66497,15 +71411,15 @@ "binop": null, "updateContext": null }, - "start": 17274, - "end": 17275, + "start": 18544, + "end": 18545, "loc": { "start": { - "line": 488, + "line": 532, "column": 16 }, "end": { - "line": 488, + "line": 532, "column": 17 } } @@ -66524,15 +71438,15 @@ "updateContext": null }, "value": 0, - "start": 17275, - "end": 17276, + "start": 18545, + "end": 18546, "loc": { "start": { - "line": 488, + "line": 532, "column": 17 }, "end": { - "line": 488, + "line": 532, "column": 18 } } @@ -66550,15 +71464,15 @@ "binop": null, "updateContext": null }, - "start": 17276, - "end": 17277, + "start": 18546, + "end": 18547, "loc": { "start": { - "line": 488, + "line": 532, "column": 18 }, "end": { - "line": 488, + "line": 532, "column": 19 } } @@ -66577,15 +71491,15 @@ "updateContext": null }, "value": "=", - "start": 17278, - "end": 17279, + "start": 18548, + "end": 18549, "loc": { "start": { - "line": 488, + "line": 532, "column": 20 }, "end": { - "line": 488, + "line": 532, "column": 21 } } @@ -66605,15 +71519,15 @@ "updateContext": null }, "value": "this", - "start": 17280, - "end": 17284, + "start": 18550, + "end": 18554, "loc": { "start": { - "line": 488, + "line": 532, "column": 22 }, "end": { - "line": 488, + "line": 532, "column": 26 } } @@ -66631,15 +71545,15 @@ "binop": null, "updateContext": null }, - "start": 17284, - "end": 17285, + "start": 18554, + "end": 18555, "loc": { "start": { - "line": 488, + "line": 532, "column": 26 }, "end": { - "line": 488, + "line": 532, "column": 27 } } @@ -66657,15 +71571,15 @@ "binop": null }, "value": "getName", - "start": 17285, - "end": 17292, + "start": 18555, + "end": 18562, "loc": { "start": { - "line": 488, + "line": 532, "column": 27 }, "end": { - "line": 488, + "line": 532, "column": 34 } } @@ -66682,15 +71596,15 @@ "postfix": false, "binop": null }, - "start": 17292, - "end": 17293, + "start": 18562, + "end": 18563, "loc": { "start": { - "line": 488, + "line": 532, "column": 34 }, "end": { - "line": 488, + "line": 532, "column": 35 } } @@ -66707,15 +71621,15 @@ "postfix": false, "binop": null }, - "start": 17293, - "end": 17294, + "start": 18563, + "end": 18564, "loc": { "start": { - "line": 488, + "line": 532, "column": 35 }, "end": { - "line": 488, + "line": 532, "column": 36 } } @@ -66733,15 +71647,15 @@ "binop": null, "updateContext": null }, - "start": 17294, - "end": 17295, + "start": 18564, + "end": 18565, "loc": { "start": { - "line": 488, + "line": 532, "column": 36 }, "end": { - "line": 488, + "line": 532, "column": 37 } } @@ -66749,15 +71663,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 17305, - "end": 17334, + "start": 18575, + "end": 18604, "loc": { "start": { - "line": 489, + "line": 533, "column": 8 }, "end": { - "line": 489, + "line": 533, "column": 37 } } @@ -66777,15 +71691,15 @@ "updateContext": null }, "value": "const", - "start": 17344, - "end": 17349, + "start": 18614, + "end": 18619, "loc": { "start": { - "line": 490, + "line": 534, "column": 8 }, "end": { - "line": 490, + "line": 534, "column": 13 } } @@ -66803,15 +71717,15 @@ "binop": null }, "value": "size", - "start": 17350, - "end": 17354, + "start": 18620, + "end": 18624, "loc": { "start": { - "line": 490, + "line": 534, "column": 14 }, "end": { - "line": 490, + "line": 534, "column": 18 } } @@ -66830,15 +71744,15 @@ "updateContext": null }, "value": "=", - "start": 17355, - "end": 17356, + "start": 18625, + "end": 18626, "loc": { "start": { - "line": 490, + "line": 534, "column": 19 }, "end": { - "line": 490, + "line": 534, "column": 20 } } @@ -66858,15 +71772,15 @@ "updateContext": null }, "value": "this", - "start": 17357, - "end": 17361, + "start": 18627, + "end": 18631, "loc": { "start": { - "line": 490, + "line": 534, "column": 21 }, "end": { - "line": 490, + "line": 534, "column": 25 } } @@ -66884,15 +71798,15 @@ "binop": null, "updateContext": null }, - "start": 17361, - "end": 17362, + "start": 18631, + "end": 18632, "loc": { "start": { - "line": 490, + "line": 534, "column": 25 }, "end": { - "line": 490, + "line": 534, "column": 26 } } @@ -66910,15 +71824,15 @@ "binop": null }, "value": "getSize", - "start": 17362, - "end": 17369, + "start": 18632, + "end": 18639, "loc": { "start": { - "line": 490, + "line": 534, "column": 26 }, "end": { - "line": 490, + "line": 534, "column": 33 } } @@ -66935,15 +71849,15 @@ "postfix": false, "binop": null }, - "start": 17369, - "end": 17370, + "start": 18639, + "end": 18640, "loc": { "start": { - "line": 490, + "line": 534, "column": 33 }, "end": { - "line": 490, + "line": 534, "column": 34 } } @@ -66960,15 +71874,15 @@ "postfix": false, "binop": null }, - "start": 17370, - "end": 17371, + "start": 18640, + "end": 18641, "loc": { "start": { - "line": 490, + "line": 534, "column": 34 }, "end": { - "line": 490, + "line": 534, "column": 35 } } @@ -66986,15 +71900,15 @@ "binop": null, "updateContext": null }, - "start": 17371, - "end": 17372, + "start": 18641, + "end": 18642, "loc": { "start": { - "line": 490, + "line": 534, "column": 35 }, "end": { - "line": 490, + "line": 534, "column": 36 } } @@ -67002,15 +71916,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 17382, - "end": 17395, + "start": 18652, + "end": 18665, "loc": { "start": { - "line": 491, + "line": 535, "column": 8 }, "end": { - "line": 491, + "line": 535, "column": 21 } } @@ -67028,15 +71942,15 @@ "binop": null }, "value": "iconData", - "start": 17405, - "end": 17413, + "start": 18675, + "end": 18683, "loc": { "start": { - "line": 492, + "line": 536, "column": 8 }, "end": { - "line": 492, + "line": 536, "column": 16 } } @@ -67054,15 +71968,15 @@ "binop": null, "updateContext": null }, - "start": 17413, - "end": 17414, + "start": 18683, + "end": 18684, "loc": { "start": { - "line": 492, + "line": 536, "column": 16 }, "end": { - "line": 492, + "line": 536, "column": 17 } } @@ -67081,15 +71995,15 @@ "updateContext": null }, "value": 1, - "start": 17414, - "end": 17415, + "start": 18684, + "end": 18685, "loc": { "start": { - "line": 492, + "line": 536, "column": 17 }, "end": { - "line": 492, + "line": 536, "column": 18 } } @@ -67107,15 +72021,15 @@ "binop": null, "updateContext": null }, - "start": 17415, - "end": 17416, + "start": 18685, + "end": 18686, "loc": { "start": { - "line": 492, + "line": 536, "column": 18 }, "end": { - "line": 492, + "line": 536, "column": 19 } } @@ -67134,15 +72048,15 @@ "updateContext": null }, "value": "=", - "start": 17417, - "end": 17418, + "start": 18687, + "end": 18688, "loc": { "start": { - "line": 492, + "line": 536, "column": 20 }, "end": { - "line": 492, + "line": 536, "column": 21 } } @@ -67160,15 +72074,15 @@ "binop": null }, "value": "size", - "start": 17419, - "end": 17423, + "start": 18689, + "end": 18693, "loc": { "start": { - "line": 492, + "line": 536, "column": 22 }, "end": { - "line": 492, + "line": 536, "column": 26 } } @@ -67186,15 +72100,15 @@ "binop": null, "updateContext": null }, - "start": 17423, - "end": 17424, + "start": 18693, + "end": 18694, "loc": { "start": { - "line": 492, + "line": 536, "column": 26 }, "end": { - "line": 492, + "line": 536, "column": 27 } } @@ -67212,15 +72126,15 @@ "binop": null }, "value": "width", - "start": 17424, - "end": 17429, + "start": 18694, + "end": 18699, "loc": { "start": { - "line": 492, + "line": 536, "column": 27 }, "end": { - "line": 492, + "line": 536, "column": 32 } } @@ -67238,15 +72152,15 @@ "binop": null, "updateContext": null }, - "start": 17429, - "end": 17430, + "start": 18699, + "end": 18700, "loc": { "start": { - "line": 492, + "line": 536, "column": 32 }, "end": { - "line": 492, + "line": 536, "column": 33 } } @@ -67254,15 +72168,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 17440, - "end": 17454, + "start": 18710, + "end": 18724, "loc": { "start": { - "line": 493, + "line": 537, "column": 8 }, "end": { - "line": 493, + "line": 537, "column": 22 } } @@ -67280,15 +72194,15 @@ "binop": null }, "value": "iconData", - "start": 17464, - "end": 17472, + "start": 18734, + "end": 18742, "loc": { "start": { - "line": 494, + "line": 538, "column": 8 }, "end": { - "line": 494, + "line": 538, "column": 16 } } @@ -67306,15 +72220,15 @@ "binop": null, "updateContext": null }, - "start": 17472, - "end": 17473, + "start": 18742, + "end": 18743, "loc": { "start": { - "line": 494, + "line": 538, "column": 16 }, "end": { - "line": 494, + "line": 538, "column": 17 } } @@ -67333,15 +72247,15 @@ "updateContext": null }, "value": 2, - "start": 17473, - "end": 17474, + "start": 18743, + "end": 18744, "loc": { "start": { - "line": 494, + "line": 538, "column": 17 }, "end": { - "line": 494, + "line": 538, "column": 18 } } @@ -67359,15 +72273,15 @@ "binop": null, "updateContext": null }, - "start": 17474, - "end": 17475, + "start": 18744, + "end": 18745, "loc": { "start": { - "line": 494, + "line": 538, "column": 18 }, "end": { - "line": 494, + "line": 538, "column": 19 } } @@ -67386,15 +72300,15 @@ "updateContext": null }, "value": "=", - "start": 17476, - "end": 17477, + "start": 18746, + "end": 18747, "loc": { "start": { - "line": 494, + "line": 538, "column": 20 }, "end": { - "line": 494, + "line": 538, "column": 21 } } @@ -67412,15 +72326,15 @@ "binop": null }, "value": "size", - "start": 17478, - "end": 17482, + "start": 18748, + "end": 18752, "loc": { "start": { - "line": 494, + "line": 538, "column": 22 }, "end": { - "line": 494, + "line": 538, "column": 26 } } @@ -67438,15 +72352,15 @@ "binop": null, "updateContext": null }, - "start": 17482, - "end": 17483, + "start": 18752, + "end": 18753, "loc": { "start": { - "line": 494, + "line": 538, "column": 26 }, "end": { - "line": 494, + "line": 538, "column": 27 } } @@ -67464,15 +72378,15 @@ "binop": null }, "value": "height", - "start": 17483, - "end": 17489, + "start": 18753, + "end": 18759, "loc": { "start": { - "line": 494, + "line": 538, "column": 27 }, "end": { - "line": 494, + "line": 538, "column": 33 } } @@ -67490,15 +72404,15 @@ "binop": null, "updateContext": null }, - "start": 17489, - "end": 17490, + "start": 18759, + "end": 18760, "loc": { "start": { - "line": 494, + "line": 538, "column": 33 }, "end": { - "line": 494, + "line": 538, "column": 34 } } @@ -67506,15 +72420,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 17500, - "end": 17514, + "start": 18770, + "end": 18784, "loc": { "start": { - "line": 495, + "line": 539, "column": 8 }, "end": { - "line": 495, + "line": 539, "column": 22 } } @@ -67532,15 +72446,15 @@ "binop": null }, "value": "iconData", - "start": 17524, - "end": 17532, + "start": 18794, + "end": 18802, "loc": { "start": { - "line": 496, + "line": 540, "column": 8 }, "end": { - "line": 496, + "line": 540, "column": 16 } } @@ -67558,15 +72472,15 @@ "binop": null, "updateContext": null }, - "start": 17532, - "end": 17533, + "start": 18802, + "end": 18803, "loc": { "start": { - "line": 496, + "line": 540, "column": 16 }, "end": { - "line": 496, + "line": 540, "column": 17 } } @@ -67585,15 +72499,15 @@ "updateContext": null }, "value": 3, - "start": 17533, - "end": 17534, + "start": 18803, + "end": 18804, "loc": { "start": { - "line": 496, + "line": 540, "column": 17 }, "end": { - "line": 496, + "line": 540, "column": 18 } } @@ -67611,15 +72525,15 @@ "binop": null, "updateContext": null }, - "start": 17534, - "end": 17535, + "start": 18804, + "end": 18805, "loc": { "start": { - "line": 496, + "line": 540, "column": 18 }, "end": { - "line": 496, + "line": 540, "column": 19 } } @@ -67638,15 +72552,15 @@ "updateContext": null }, "value": "=", - "start": 17536, - "end": 17537, + "start": 18806, + "end": 18807, "loc": { "start": { - "line": 496, + "line": 540, "column": 20 }, "end": { - "line": 496, + "line": 540, "column": 21 } } @@ -67666,15 +72580,15 @@ "updateContext": null }, "value": "this", - "start": 17538, - "end": 17542, + "start": 18808, + "end": 18812, "loc": { "start": { - "line": 496, + "line": 540, "column": 22 }, "end": { - "line": 496, + "line": 540, "column": 26 } } @@ -67692,15 +72606,15 @@ "binop": null, "updateContext": null }, - "start": 17542, - "end": 17543, + "start": 18812, + "end": 18813, "loc": { "start": { - "line": 496, + "line": 540, "column": 26 }, "end": { - "line": 496, + "line": 540, "column": 27 } } @@ -67718,15 +72632,15 @@ "binop": null }, "value": "getDelay", - "start": 17543, - "end": 17551, + "start": 18813, + "end": 18821, "loc": { "start": { - "line": 496, + "line": 540, "column": 27 }, "end": { - "line": 496, + "line": 540, "column": 35 } } @@ -67743,15 +72657,15 @@ "postfix": false, "binop": null }, - "start": 17551, - "end": 17552, + "start": 18821, + "end": 18822, "loc": { "start": { - "line": 496, + "line": 540, "column": 35 }, "end": { - "line": 496, + "line": 540, "column": 36 } } @@ -67768,15 +72682,15 @@ "postfix": false, "binop": null }, - "start": 17552, - "end": 17553, + "start": 18822, + "end": 18823, "loc": { "start": { - "line": 496, + "line": 540, "column": 36 }, "end": { - "line": 496, + "line": 540, "column": 37 } } @@ -67794,15 +72708,15 @@ "binop": null, "updateContext": null }, - "start": 17553, - "end": 17554, + "start": 18823, + "end": 18824, "loc": { "start": { - "line": 496, + "line": 540, "column": 37 }, "end": { - "line": 496, + "line": 540, "column": 38 } } @@ -67810,15 +72724,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 17564, - "end": 17579, + "start": 18834, + "end": 18849, "loc": { "start": { - "line": 497, + "line": 541, "column": 8 }, "end": { - "line": 497, + "line": 541, "column": 23 } } @@ -67836,15 +72750,15 @@ "binop": null }, "value": "iconData", - "start": 17589, - "end": 17597, + "start": 18859, + "end": 18867, "loc": { "start": { - "line": 498, + "line": 542, "column": 8 }, "end": { - "line": 498, + "line": 542, "column": 16 } } @@ -67862,15 +72776,15 @@ "binop": null, "updateContext": null }, - "start": 17597, - "end": 17598, + "start": 18867, + "end": 18868, "loc": { "start": { - "line": 498, + "line": 542, "column": 16 }, "end": { - "line": 498, + "line": 542, "column": 17 } } @@ -67889,15 +72803,15 @@ "updateContext": null }, "value": 4, - "start": 17598, - "end": 17599, + "start": 18868, + "end": 18869, "loc": { "start": { - "line": 498, + "line": 542, "column": 17 }, "end": { - "line": 498, + "line": 542, "column": 18 } } @@ -67915,15 +72829,15 @@ "binop": null, "updateContext": null }, - "start": 17599, - "end": 17600, + "start": 18869, + "end": 18870, "loc": { "start": { - "line": 498, + "line": 542, "column": 18 }, "end": { - "line": 498, + "line": 542, "column": 19 } } @@ -67942,15 +72856,15 @@ "updateContext": null }, "value": "=", - "start": 17601, - "end": 17602, + "start": 18871, + "end": 18872, "loc": { "start": { - "line": 498, + "line": 542, "column": 20 }, "end": { - "line": 498, + "line": 542, "column": 21 } } @@ -67970,15 +72884,15 @@ "updateContext": null }, "value": "this", - "start": 17603, - "end": 17607, + "start": 18873, + "end": 18877, "loc": { "start": { - "line": 498, + "line": 542, "column": 22 }, "end": { - "line": 498, + "line": 542, "column": 26 } } @@ -67996,15 +72910,15 @@ "binop": null, "updateContext": null }, - "start": 17607, - "end": 17608, + "start": 18877, + "end": 18878, "loc": { "start": { - "line": 498, + "line": 542, "column": 26 }, "end": { - "line": 498, + "line": 542, "column": 27 } } @@ -68022,15 +72936,15 @@ "binop": null }, "value": "getDataURL", - "start": 17608, - "end": 17618, + "start": 18878, + "end": 18888, "loc": { "start": { - "line": 498, + "line": 542, "column": 27 }, "end": { - "line": 498, + "line": 542, "column": 37 } } @@ -68047,15 +72961,15 @@ "postfix": false, "binop": null }, - "start": 17618, - "end": 17619, + "start": 18888, + "end": 18889, "loc": { "start": { - "line": 498, + "line": 542, "column": 37 }, "end": { - "line": 498, + "line": 542, "column": 38 } } @@ -68072,15 +72986,15 @@ "postfix": false, "binop": null }, - "start": 17619, - "end": 17620, + "start": 18889, + "end": 18890, "loc": { "start": { - "line": 498, + "line": 542, "column": 38 }, "end": { - "line": 498, + "line": 542, "column": 39 } } @@ -68098,15 +73012,15 @@ "binop": null, "updateContext": null }, - "start": 17620, - "end": 17621, + "start": 18890, + "end": 18891, "loc": { "start": { - "line": 498, + "line": 542, "column": 39 }, "end": { - "line": 498, + "line": 542, "column": 40 } } @@ -68114,15 +73028,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 17631, - "end": 17645, + "start": 18901, + "end": 18915, "loc": { "start": { - "line": 499, + "line": 543, "column": 8 }, "end": { - "line": 499, + "line": 543, "column": 22 } } @@ -68140,15 +73054,15 @@ "binop": null }, "value": "iconData", - "start": 17655, - "end": 17663, + "start": 18925, + "end": 18933, "loc": { "start": { - "line": 500, + "line": 544, "column": 8 }, "end": { - "line": 500, + "line": 544, "column": 16 } } @@ -68166,15 +73080,15 @@ "binop": null, "updateContext": null }, - "start": 17663, - "end": 17664, + "start": 18933, + "end": 18934, "loc": { "start": { - "line": 500, + "line": 544, "column": 16 }, "end": { - "line": 500, + "line": 544, "column": 17 } } @@ -68193,15 +73107,15 @@ "updateContext": null }, "value": 5, - "start": 17664, - "end": 17665, + "start": 18934, + "end": 18935, "loc": { "start": { - "line": 500, + "line": 544, "column": 17 }, "end": { - "line": 500, + "line": 544, "column": 18 } } @@ -68219,15 +73133,15 @@ "binop": null, "updateContext": null }, - "start": 17665, - "end": 17666, + "start": 18935, + "end": 18936, "loc": { "start": { - "line": 500, + "line": 544, "column": 18 }, "end": { - "line": 500, + "line": 544, "column": 19 } } @@ -68246,15 +73160,15 @@ "updateContext": null }, "value": "=", - "start": 17667, - "end": 17668, + "start": 18937, + "end": 18938, "loc": { "start": { - "line": 500, + "line": 544, "column": 20 }, "end": { - "line": 500, + "line": 544, "column": 21 } } @@ -68274,15 +73188,15 @@ "updateContext": null }, "value": "this", - "start": 17669, - "end": 17673, + "start": 18939, + "end": 18943, "loc": { "start": { - "line": 500, + "line": 544, "column": 22 }, "end": { - "line": 500, + "line": 544, "column": 26 } } @@ -68300,15 +73214,15 @@ "binop": null, "updateContext": null }, - "start": 17673, - "end": 17674, + "start": 18943, + "end": 18944, "loc": { "start": { - "line": 500, + "line": 544, "column": 26 }, "end": { - "line": 500, + "line": 544, "column": 27 } } @@ -68326,15 +73240,15 @@ "binop": null }, "value": "getFramesData", - "start": 17674, - "end": 17687, + "start": 18944, + "end": 18957, "loc": { "start": { - "line": 500, + "line": 544, "column": 27 }, "end": { - "line": 500, + "line": 544, "column": 40 } } @@ -68351,15 +73265,15 @@ "postfix": false, "binop": null }, - "start": 17687, - "end": 17688, + "start": 18957, + "end": 18958, "loc": { "start": { - "line": 500, + "line": 544, "column": 40 }, "end": { - "line": 500, + "line": 544, "column": 41 } } @@ -68376,15 +73290,15 @@ "postfix": false, "binop": null }, - "start": 17688, - "end": 17689, + "start": 18958, + "end": 18959, "loc": { "start": { - "line": 500, + "line": 544, "column": 41 }, "end": { - "line": 500, + "line": 544, "column": 42 } } @@ -68402,15 +73316,15 @@ "binop": null, "updateContext": null }, - "start": 17689, - "end": 17690, + "start": 18959, + "end": 18960, "loc": { "start": { - "line": 500, + "line": 544, "column": 42 }, "end": { - "line": 500, + "line": 544, "column": 43 } } @@ -68418,15 +73332,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17702, - "end": 17807, + "start": 18972, + "end": 19077, "loc": { "start": { - "line": 502, + "line": 546, "column": 8 }, "end": { - "line": 502, + "line": 546, "column": 113 } } @@ -68434,15 +73348,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17817, - "end": 17839, + "start": 19087, + "end": 19109, "loc": { "start": { - "line": 503, + "line": 547, "column": 8 }, "end": { - "line": 503, + "line": 547, "column": 30 } } @@ -68462,15 +73376,15 @@ "updateContext": null }, "value": "if", - "start": 17849, - "end": 17851, + "start": 19119, + "end": 19121, "loc": { "start": { - "line": 504, + "line": 548, "column": 8 }, "end": { - "line": 504, + "line": 548, "column": 10 } } @@ -68487,15 +73401,15 @@ "postfix": false, "binop": null }, - "start": 17852, - "end": 17853, + "start": 19122, + "end": 19123, "loc": { "start": { - "line": 504, + "line": 548, "column": 11 }, "end": { - "line": 504, + "line": 548, "column": 12 } } @@ -68515,15 +73429,15 @@ "updateContext": null }, "value": "this", - "start": 17853, - "end": 17857, + "start": 19123, + "end": 19127, "loc": { "start": { - "line": 504, + "line": 548, "column": 12 }, "end": { - "line": 504, + "line": 548, "column": 16 } } @@ -68541,15 +73455,15 @@ "binop": null, "updateContext": null }, - "start": 17857, - "end": 17858, + "start": 19127, + "end": 19128, "loc": { "start": { - "line": 504, + "line": 548, "column": 16 }, "end": { - "line": 504, + "line": 548, "column": 17 } } @@ -68567,15 +73481,15 @@ "binop": null }, "value": "states", - "start": 17858, - "end": 17864, + "start": 19128, + "end": 19134, "loc": { "start": { - "line": 504, + "line": 548, "column": 17 }, "end": { - "line": 504, + "line": 548, "column": 23 } } @@ -68593,15 +73507,15 @@ "binop": null, "updateContext": null }, - "start": 17864, - "end": 17865, + "start": 19134, + "end": 19135, "loc": { "start": { - "line": 504, + "line": 548, "column": 23 }, "end": { - "line": 504, + "line": 548, "column": 24 } } @@ -68619,15 +73533,15 @@ "binop": null }, "value": "length", - "start": 17865, - "end": 17871, + "start": 19135, + "end": 19141, "loc": { "start": { - "line": 504, + "line": 548, "column": 24 }, "end": { - "line": 504, + "line": 548, "column": 30 } } @@ -68644,15 +73558,15 @@ "postfix": false, "binop": null }, - "start": 17871, - "end": 17872, + "start": 19141, + "end": 19142, "loc": { "start": { - "line": 504, + "line": 548, "column": 30 }, "end": { - "line": 504, + "line": 548, "column": 31 } } @@ -68669,15 +73583,15 @@ "postfix": false, "binop": null }, - "start": 17873, - "end": 17874, + "start": 19143, + "end": 19144, "loc": { "start": { - "line": 504, + "line": 548, "column": 32 }, "end": { - "line": 504, + "line": 548, "column": 33 } } @@ -68685,15 +73599,15 @@ { "type": "CommentLine", "value": " states array", - "start": 17888, - "end": 17903, + "start": 19158, + "end": 19173, "loc": { "start": { - "line": 505, + "line": 549, "column": 12 }, "end": { - "line": 505, + "line": 549, "column": 27 } } @@ -68711,15 +73625,15 @@ "binop": null }, "value": "iconData", - "start": 17917, - "end": 17925, + "start": 19187, + "end": 19195, "loc": { "start": { - "line": 506, + "line": 550, "column": 12 }, "end": { - "line": 506, + "line": 550, "column": 20 } } @@ -68737,15 +73651,15 @@ "binop": null, "updateContext": null }, - "start": 17925, - "end": 17926, + "start": 19195, + "end": 19196, "loc": { "start": { - "line": 506, + "line": 550, "column": 20 }, "end": { - "line": 506, + "line": 550, "column": 21 } } @@ -68764,15 +73678,15 @@ "updateContext": null }, "value": 6, - "start": 17926, - "end": 17927, + "start": 19196, + "end": 19197, "loc": { "start": { - "line": 506, + "line": 550, "column": 21 }, "end": { - "line": 506, + "line": 550, "column": 22 } } @@ -68790,15 +73704,15 @@ "binop": null, "updateContext": null }, - "start": 17927, - "end": 17928, + "start": 19197, + "end": 19198, "loc": { "start": { - "line": 506, + "line": 550, "column": 22 }, "end": { - "line": 506, + "line": 550, "column": 23 } } @@ -68817,15 +73731,15 @@ "updateContext": null }, "value": "=", - "start": 17929, - "end": 17930, + "start": 19199, + "end": 19200, "loc": { "start": { - "line": 506, + "line": 550, "column": 24 }, "end": { - "line": 506, + "line": 550, "column": 25 } } @@ -68845,15 +73759,15 @@ "updateContext": null }, "value": "this", - "start": 17931, - "end": 17935, + "start": 19201, + "end": 19205, "loc": { "start": { - "line": 506, + "line": 550, "column": 26 }, "end": { - "line": 506, + "line": 550, "column": 30 } } @@ -68871,15 +73785,15 @@ "binop": null, "updateContext": null }, - "start": 17935, - "end": 17936, + "start": 19205, + "end": 19206, "loc": { "start": { - "line": 506, + "line": 550, "column": 30 }, "end": { - "line": 506, + "line": 550, "column": 31 } } @@ -68897,15 +73811,15 @@ "binop": null }, "value": "getStatesData", - "start": 17936, - "end": 17949, + "start": 19206, + "end": 19219, "loc": { "start": { - "line": 506, + "line": 550, "column": 31 }, "end": { - "line": 506, + "line": 550, "column": 44 } } @@ -68922,15 +73836,15 @@ "postfix": false, "binop": null }, - "start": 17949, - "end": 17950, + "start": 19219, + "end": 19220, "loc": { "start": { - "line": 506, + "line": 550, "column": 44 }, "end": { - "line": 506, + "line": 550, "column": 45 } } @@ -68947,15 +73861,15 @@ "postfix": false, "binop": null }, - "start": 17950, - "end": 17951, + "start": 19220, + "end": 19221, "loc": { "start": { - "line": 506, + "line": 550, "column": 45 }, "end": { - "line": 506, + "line": 550, "column": 46 } } @@ -68973,15 +73887,15 @@ "binop": null, "updateContext": null }, - "start": 17951, - "end": 17952, + "start": 19221, + "end": 19222, "loc": { "start": { - "line": 506, + "line": 550, "column": 46 }, "end": { - "line": 506, + "line": 550, "column": 47 } } @@ -68998,15 +73912,15 @@ "postfix": false, "binop": null }, - "start": 17962, - "end": 17963, + "start": 19232, + "end": 19233, "loc": { "start": { - "line": 507, + "line": 551, "column": 8 }, "end": { - "line": 507, + "line": 551, "column": 9 } } @@ -69026,15 +73940,15 @@ "updateContext": null }, "value": "return", - "start": 17973, - "end": 17979, + "start": 19243, + "end": 19249, "loc": { "start": { - "line": 508, + "line": 552, "column": 8 }, "end": { - "line": 508, + "line": 552, "column": 14 } } @@ -69052,15 +73966,15 @@ "binop": null }, "value": "iconData", - "start": 17980, - "end": 17988, + "start": 19250, + "end": 19258, "loc": { "start": { - "line": 508, + "line": 552, "column": 15 }, "end": { - "line": 508, + "line": 552, "column": 23 } } @@ -69078,15 +73992,15 @@ "binop": null, "updateContext": null }, - "start": 17988, - "end": 17989, + "start": 19258, + "end": 19259, "loc": { "start": { - "line": 508, + "line": 552, "column": 23 }, "end": { - "line": 508, + "line": 552, "column": 24 } } @@ -69103,15 +74017,15 @@ "postfix": false, "binop": null }, - "start": 17995, - "end": 17996, + "start": 19265, + "end": 19266, "loc": { "start": { - "line": 509, + "line": 553, "column": 4 }, "end": { - "line": 509, + "line": 553, "column": 5 } } @@ -69128,15 +74042,15 @@ "postfix": false, "binop": null }, - "start": 17998, - "end": 17999, + "start": 19268, + "end": 19269, "loc": { "start": { - "line": 510, + "line": 554, "column": 0 }, "end": { - "line": 510, + "line": 554, "column": 1 } } @@ -69154,15 +74068,15 @@ "binop": null, "updateContext": null }, - "start": 17999, - "end": 17999, + "start": 19269, + "end": 19269, "loc": { "start": { - "line": 510, + "line": 554, "column": 1 }, "end": { - "line": 510, + "line": 554, "column": 1 } } diff --git a/docs/ast/source/vyi.mjs.json b/docs/ast/source/vyi.mjs.json index afde1ca..21a4f2a 100644 --- a/docs/ast/source/vyi.mjs.json +++ b/docs/ast/source/vyi.mjs.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 6134, + "end": 6791, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 177, + "line": 200, "column": 1 } }, "program": { "type": "Program", "start": 0, - "end": 6134, + "end": 6791, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 177, + "line": 200, "column": 1 } }, @@ -203,14 +203,14 @@ { "type": "ExportNamedDeclaration", "start": 85, - "end": 6134, + "end": 6791, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 177, + "line": 200, "column": 1 } }, @@ -219,14 +219,14 @@ "declaration": { "type": "ClassDeclaration", "start": 92, - "end": 6134, + "end": 6791, "loc": { "start": { "line": 4, "column": 7 }, "end": { - "line": 177, + "line": 200, "column": 1 } }, @@ -251,14 +251,14 @@ "body": { "type": "ClassBody", "start": 102, - "end": 6134, + "end": 6791, "loc": { "start": { "line": 4, "column": 17 }, "end": { - "line": 177, + "line": 200, "column": 1 } }, @@ -690,16 +690,103 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", + "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", + "start": 705, + "end": 846, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 37, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassProperty", + "start": 852, + "end": 869, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 21 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 852, + "end": 863, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 15 + }, + "identifierName": "reservedIDs" + }, + "name": "reservedIDs", + "leadingComments": null + }, + "value": { + "type": "ArrayExpression", + "start": 866, + "end": 868, + "loc": { + "start": { + "line": 38, + "column": 18 + }, + "end": { + "line": 38, + "column": 20 + } + }, + "elements": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", "start": 705, - "end": 894, + "end": 846, "loc": { "start": { "line": 32, "column": 4 }, "end": { - "line": 35, + "line": 37, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", + "start": 875, + "end": 1064, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 42, "column": 6 } } @@ -708,15 +795,15 @@ }, { "type": "ClassMethod", - "start": 900, - "end": 1243, + "start": 1070, + "end": 1413, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 45, + "line": 52, "column": 5 } }, @@ -724,15 +811,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 900, - "end": 911, + "start": 1070, + "end": 1081, "loc": { "start": { - "line": 36, + "line": 43, "column": 4 }, "end": { - "line": 36, + "line": 43, "column": 15 }, "identifierName": "constructor" @@ -748,15 +835,15 @@ "params": [ { "type": "Identifier", - "start": 912, - "end": 920, + "start": 1082, + "end": 1090, "loc": { "start": { - "line": 36, + "line": 43, "column": 16 }, "end": { - "line": 36, + "line": 43, "column": 24 }, "identifierName": "pVYIData" @@ -766,86 +853,86 @@ ], "body": { "type": "BlockStatement", - "start": 922, - "end": 1243, + "start": 1092, + "end": 1413, "loc": { "start": { - "line": 36, + "line": 43, "column": 26 }, "end": { - "line": 45, + "line": 52, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 933, - "end": 982, + "start": 1103, + "end": 1152, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 933, - "end": 981, + "start": 1103, + "end": 1151, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 933, - "end": 956, + "start": 1103, + "end": 1126, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 933, - "end": 943, + "start": 1103, + "end": 1113, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 18 } }, "object": { "type": "Identifier", - "start": 933, - "end": 936, + "start": 1103, + "end": 1106, "loc": { "start": { - "line": 37, + "line": 44, "column": 8 }, "end": { - "line": 37, + "line": 44, "column": 11 }, "identifierName": "VYI" @@ -854,15 +941,15 @@ }, "property": { "type": "Identifier", - "start": 937, - "end": 943, + "start": 1107, + "end": 1113, "loc": { "start": { - "line": 37, + "line": 44, "column": 12 }, "end": { - "line": 37, + "line": 44, "column": 18 }, "identifierName": "logger" @@ -873,15 +960,15 @@ }, "property": { "type": "Identifier", - "start": 944, - "end": 956, + "start": 1114, + "end": 1126, "loc": { "start": { - "line": 37, + "line": 44, "column": 19 }, "end": { - "line": 37, + "line": 44, "column": 31 }, "identifierName": "registerType" @@ -893,15 +980,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 957, - "end": 969, + "start": 1127, + "end": 1139, "loc": { "start": { - "line": 37, + "line": 44, "column": 32 }, "end": { - "line": 37, + "line": 44, "column": 44 } }, @@ -913,15 +1000,15 @@ }, { "type": "StringLiteral", - "start": 971, - "end": 980, + "start": 1141, + "end": 1150, "loc": { "start": { - "line": 37, + "line": 44, "column": 46 }, "end": { - "line": 37, + "line": 44, "column": 55 } }, @@ -936,29 +1023,29 @@ }, { "type": "IfStatement", - "start": 992, - "end": 1236, + "start": 1162, + "end": 1406, "loc": { "start": { - "line": 38, + "line": 45, "column": 8 }, "end": { - "line": 44, + "line": 51, "column": 9 } }, "test": { "type": "Identifier", - "start": 996, - "end": 1004, + "start": 1166, + "end": 1174, "loc": { "start": { - "line": 38, + "line": 45, "column": 12 }, "end": { - "line": 38, + "line": 45, "column": 20 }, "identifierName": "pVYIData" @@ -967,58 +1054,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1006, - "end": 1236, + "start": 1176, + "end": 1406, "loc": { "start": { - "line": 38, + "line": 45, "column": 22 }, "end": { - "line": 44, + "line": 51, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 1021, - "end": 1225, + "start": 1191, + "end": 1395, "loc": { "start": { - "line": 39, + "line": 46, "column": 12 }, "end": { - "line": 43, + "line": 50, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 1025, - "end": 1051, + "start": 1195, + "end": 1221, "loc": { "start": { - "line": 39, + "line": 46, "column": 16 }, "end": { - "line": 39, + "line": 46, "column": 42 } }, "left": { "type": "Identifier", - "start": 1025, - "end": 1033, + "start": 1195, + "end": 1203, "loc": { "start": { - "line": 39, + "line": 46, "column": 16 }, "end": { - "line": 39, + "line": 46, "column": 24 }, "identifierName": "pVYIData" @@ -1028,15 +1115,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 1045, - "end": 1051, + "start": 1215, + "end": 1221, "loc": { "start": { - "line": 39, + "line": 46, "column": 36 }, "end": { - "line": 39, + "line": 46, "column": 42 }, "identifierName": "Object" @@ -1046,87 +1133,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 1053, - "end": 1108, + "start": 1223, + "end": 1278, "loc": { "start": { - "line": 39, + "line": 46, "column": 44 }, "end": { - "line": 41, + "line": 48, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 1072, - "end": 1093, + "start": 1242, + "end": 1263, "loc": { "start": { - "line": 40, + "line": 47, "column": 16 }, "end": { - "line": 40, + "line": 47, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 1072, - "end": 1092, + "start": 1242, + "end": 1262, "loc": { "start": { - "line": 40, + "line": 47, "column": 16 }, "end": { - "line": 40, + "line": 47, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 1072, - "end": 1082, + "start": 1242, + "end": 1252, "loc": { "start": { - "line": 40, + "line": 47, "column": 16 }, "end": { - "line": 40, + "line": 47, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 1072, - "end": 1076, + "start": 1242, + "end": 1246, "loc": { "start": { - "line": 40, + "line": 47, "column": 16 }, "end": { - "line": 40, + "line": 47, "column": 20 } } }, "property": { "type": "Identifier", - "start": 1077, - "end": 1082, + "start": 1247, + "end": 1252, "loc": { "start": { - "line": 40, + "line": 47, "column": 21 }, "end": { - "line": 40, + "line": 47, "column": 26 }, "identifierName": "parse" @@ -1138,15 +1225,15 @@ "arguments": [ { "type": "Identifier", - "start": 1083, - "end": 1091, + "start": 1253, + "end": 1261, "loc": { "start": { - "line": 40, + "line": 47, "column": 27 }, "end": { - "line": 40, + "line": 47, "column": 35 }, "identifierName": "pVYIData" @@ -1161,114 +1248,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 1114, - "end": 1225, + "start": 1284, + "end": 1395, "loc": { "start": { - "line": 41, + "line": 48, "column": 19 }, "end": { - "line": 43, + "line": 50, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 1133, - "end": 1210, + "start": 1303, + "end": 1380, "loc": { "start": { - "line": 42, + "line": 49, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 93 } }, "expression": { "type": "CallExpression", - "start": 1133, - "end": 1209, + "start": 1303, + "end": 1379, "loc": { "start": { - "line": 42, + "line": 49, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 92 } }, "callee": { "type": "MemberExpression", - "start": 1133, - "end": 1170, + "start": 1303, + "end": 1340, "loc": { "start": { - "line": 42, + "line": 49, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 53 } }, "object": { "type": "CallExpression", - "start": 1133, - "end": 1164, + "start": 1303, + "end": 1334, "loc": { "start": { - "line": 42, + "line": 49, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 1133, - "end": 1150, + "start": 1303, + "end": 1320, "loc": { "start": { - "line": 42, + "line": 49, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 1133, - "end": 1143, + "start": 1303, + "end": 1313, "loc": { "start": { - "line": 42, + "line": 49, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 26 } }, "object": { "type": "Identifier", - "start": 1133, - "end": 1136, + "start": 1303, + "end": 1306, "loc": { "start": { - "line": 42, + "line": 49, "column": 16 }, "end": { - "line": 42, + "line": 49, "column": 19 }, "identifierName": "VYI" @@ -1277,15 +1364,15 @@ }, "property": { "type": "Identifier", - "start": 1137, - "end": 1143, + "start": 1307, + "end": 1313, "loc": { "start": { - "line": 42, + "line": 49, "column": 20 }, "end": { - "line": 42, + "line": 49, "column": 26 }, "identifierName": "logger" @@ -1296,15 +1383,15 @@ }, "property": { "type": "Identifier", - "start": 1144, - "end": 1150, + "start": 1314, + "end": 1320, "loc": { "start": { - "line": 42, + "line": 49, "column": 27 }, "end": { - "line": 42, + "line": 49, "column": 33 }, "identifierName": "prefix" @@ -1316,15 +1403,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1151, - "end": 1163, + "start": 1321, + "end": 1333, "loc": { "start": { - "line": 42, + "line": 49, "column": 34 }, "end": { - "line": 42, + "line": 49, "column": 46 } }, @@ -1338,15 +1425,15 @@ }, "property": { "type": "Identifier", - "start": 1165, - "end": 1170, + "start": 1335, + "end": 1340, "loc": { "start": { - "line": 42, + "line": 49, "column": 48 }, "end": { - "line": 42, + "line": 49, "column": 53 }, "identifierName": "error" @@ -1358,15 +1445,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1171, - "end": 1208, + "start": 1341, + "end": 1378, "loc": { "start": { - "line": 42, + "line": 49, "column": 54 }, "end": { - "line": 42, + "line": 49, "column": 91 } }, @@ -1396,15 +1483,15 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", - "start": 705, - "end": 894, + "start": 875, + "end": 1064, "loc": { "start": { - "line": 32, + "line": 39, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 6 } } @@ -1414,15 +1501,15 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1249, - "end": 1574, + "start": 1419, + "end": 1744, "loc": { "start": { - "line": 46, + "line": 53, "column": 4 }, "end": { - "line": 51, + "line": 58, "column": 7 } } @@ -1431,15 +1518,15 @@ }, { "type": "ClassMethod", - "start": 1580, - "end": 3229, + "start": 1750, + "end": 3405, "loc": { "start": { - "line": 52, + "line": 59, "column": 4 }, "end": { - "line": 91, + "line": 98, "column": 5 } }, @@ -1447,15 +1534,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1586, - "end": 1591, + "start": 1756, + "end": 1761, "loc": { "start": { - "line": 52, + "line": 59, "column": 10 }, "end": { - "line": 52, + "line": 59, "column": 15 }, "identifierName": "parse" @@ -1470,15 +1557,15 @@ "params": [ { "type": "Identifier", - "start": 1592, - "end": 1600, + "start": 1762, + "end": 1770, "loc": { "start": { - "line": 52, + "line": 59, "column": 16 }, "end": { - "line": 52, + "line": 59, "column": 24 }, "identifierName": "pVYIData" @@ -1488,73 +1575,73 @@ ], "body": { "type": "BlockStatement", - "start": 1602, - "end": 3229, + "start": 1772, + "end": 3405, "loc": { "start": { - "line": 52, + "line": 59, "column": 26 }, "end": { - "line": 91, + "line": 98, "column": 5 } }, "body": [ { "type": "TryStatement", - "start": 1613, - "end": 3222, + "start": 1783, + "end": 3398, "loc": { "start": { - "line": 53, + "line": 60, "column": 8 }, "end": { - "line": 90, + "line": 97, "column": 9 } }, "block": { "type": "BlockStatement", - "start": 1617, - "end": 3102, + "start": 1787, + "end": 3278, "loc": { "start": { - "line": 53, + "line": 60, "column": 12 }, "end": { - "line": 88, + "line": 95, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 1632, - "end": 3091, + "start": 1802, + "end": 3267, "loc": { "start": { - "line": 54, + "line": 61, "column": 12 }, "end": { - "line": 87, + "line": 94, "column": 13 } }, "test": { "type": "Identifier", - "start": 1636, - "end": 1644, + "start": 1806, + "end": 1814, "loc": { "start": { - "line": 54, + "line": 61, "column": 16 }, "end": { - "line": 54, + "line": 61, "column": 24 }, "identifierName": "pVYIData" @@ -1563,59 +1650,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1646, - "end": 3091, + "start": 1816, + "end": 3267, "loc": { "start": { - "line": 54, + "line": 61, "column": 26 }, "end": { - "line": 87, + "line": 94, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 1665, - "end": 1673, + "start": 1835, + "end": 1843, "loc": { "start": { - "line": 55, + "line": 62, "column": 16 }, "end": { - "line": 55, + "line": 62, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1669, - "end": 1672, + "start": 1839, + "end": 1842, "loc": { "start": { - "line": 55, + "line": 62, "column": 20 }, "end": { - "line": 55, + "line": 62, "column": 23 } }, "id": { "type": "Identifier", - "start": 1669, - "end": 1672, + "start": 1839, + "end": 1842, "loc": { "start": { - "line": 55, + "line": 62, "column": 20 }, "end": { - "line": 55, + "line": 62, "column": 23 }, "identifierName": "vyi" @@ -1630,15 +1717,15 @@ { "type": "CommentLine", "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1691, - "end": 1767, + "start": 1861, + "end": 1937, "loc": { "start": { - "line": 56, + "line": 63, "column": 16 }, "end": { - "line": 56, + "line": 63, "column": 92 } } @@ -1647,43 +1734,43 @@ }, { "type": "IfStatement", - "start": 1785, - "end": 2084, + "start": 1955, + "end": 2254, "loc": { "start": { - "line": 57, + "line": 64, "column": 16 }, "end": { - "line": 63, + "line": 70, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 1789, - "end": 1818, + "start": 1959, + "end": 1988, "loc": { "start": { - "line": 57, + "line": 64, "column": 20 }, "end": { - "line": 57, + "line": 64, "column": 49 } }, "left": { "type": "UnaryExpression", - "start": 1789, - "end": 1805, + "start": 1959, + "end": 1975, "loc": { "start": { - "line": 57, + "line": 64, "column": 20 }, "end": { - "line": 57, + "line": 64, "column": 36 } }, @@ -1691,15 +1778,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1796, - "end": 1804, + "start": 1966, + "end": 1974, "loc": { "start": { - "line": 57, + "line": 64, "column": 27 }, "end": { - "line": 57, + "line": 64, "column": 35 }, "identifierName": "pVYIData" @@ -1708,7 +1795,7 @@ "leadingComments": null, "extra": { "parenthesized": true, - "parenStart": 1795 + "parenStart": 1965 } }, "extra": { @@ -1719,15 +1806,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1810, - "end": 1818, + "start": 1980, + "end": 1988, "loc": { "start": { - "line": 57, + "line": 64, "column": 41 }, "end": { - "line": 57, + "line": 64, "column": 49 } }, @@ -1741,59 +1828,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1820, - "end": 1989, + "start": 1990, + "end": 2159, "loc": { "start": { - "line": 57, + "line": 64, "column": 51 }, "end": { - "line": 61, + "line": 68, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 1843, - "end": 1864, + "start": 2013, + "end": 2034, "loc": { "start": { - "line": 58, + "line": 65, "column": 20 }, "end": { - "line": 58, + "line": 65, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1849, - "end": 1863, + "start": 2019, + "end": 2033, "loc": { "start": { - "line": 58, + "line": 65, "column": 26 }, "end": { - "line": 58, + "line": 65, "column": 40 } }, "id": { "type": "Identifier", - "start": 1849, - "end": 1852, + "start": 2019, + "end": 2022, "loc": { "start": { - "line": 58, + "line": 65, "column": 26 }, "end": { - "line": 58, + "line": 65, "column": 29 }, "identifierName": "url" @@ -1802,15 +1889,15 @@ }, "init": { "type": "Identifier", - "start": 1855, - "end": 1863, + "start": 2025, + "end": 2033, "loc": { "start": { - "line": 58, + "line": 65, "column": 32 }, "end": { - "line": 58, + "line": 65, "column": 40 }, "identifierName": "pVYIData" @@ -1823,44 +1910,44 @@ }, { "type": "VariableDeclaration", - "start": 1886, - "end": 1920, + "start": 2056, + "end": 2090, "loc": { "start": { - "line": 59, + "line": 66, "column": 20 }, "end": { - "line": 59, + "line": 66, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1892, - "end": 1919, + "start": 2062, + "end": 2089, "loc": { "start": { - "line": 59, + "line": 66, "column": 26 }, "end": { - "line": 59, + "line": 66, "column": 53 } }, "id": { "type": "Identifier", - "start": 1892, - "end": 1900, + "start": 2062, + "end": 2070, "loc": { "start": { - "line": 59, + "line": 66, "column": 26 }, "end": { - "line": 59, + "line": 66, "column": 34 }, "identifierName": "response" @@ -1869,43 +1956,43 @@ }, "init": { "type": "AwaitExpression", - "start": 1903, - "end": 1919, + "start": 2073, + "end": 2089, "loc": { "start": { - "line": 59, + "line": 66, "column": 37 }, "end": { - "line": 59, + "line": 66, "column": 53 } }, "argument": { "type": "CallExpression", - "start": 1909, - "end": 1919, + "start": 2079, + "end": 2089, "loc": { "start": { - "line": 59, + "line": 66, "column": 43 }, "end": { - "line": 59, + "line": 66, "column": 53 } }, "callee": { "type": "Identifier", - "start": 1909, - "end": 1914, + "start": 2079, + "end": 2084, "loc": { "start": { - "line": 59, + "line": 66, "column": 43 }, "end": { - "line": 59, + "line": 66, "column": 48 }, "identifierName": "fetch" @@ -1915,15 +2002,15 @@ "arguments": [ { "type": "Identifier", - "start": 1915, - "end": 1918, + "start": 2085, + "end": 2088, "loc": { "start": { - "line": 59, + "line": 66, "column": 49 }, "end": { - "line": 59, + "line": 66, "column": 52 }, "identifierName": "url" @@ -1939,44 +2026,44 @@ }, { "type": "ExpressionStatement", - "start": 1942, - "end": 1970, + "start": 2112, + "end": 2140, "loc": { "start": { - "line": 60, + "line": 67, "column": 20 }, "end": { - "line": 60, + "line": 67, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 1942, - "end": 1969, + "start": 2112, + "end": 2139, "loc": { "start": { - "line": 60, + "line": 67, "column": 20 }, "end": { - "line": 60, + "line": 67, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1942, - "end": 1945, + "start": 2112, + "end": 2115, "loc": { "start": { - "line": 60, + "line": 67, "column": 20 }, "end": { - "line": 60, + "line": 67, "column": 23 }, "identifierName": "vyi" @@ -1985,57 +2072,57 @@ }, "right": { "type": "AwaitExpression", - "start": 1948, - "end": 1969, + "start": 2118, + "end": 2139, "loc": { "start": { - "line": 60, + "line": 67, "column": 26 }, "end": { - "line": 60, + "line": 67, "column": 47 } }, "argument": { "type": "CallExpression", - "start": 1954, - "end": 1969, + "start": 2124, + "end": 2139, "loc": { "start": { - "line": 60, + "line": 67, "column": 32 }, "end": { - "line": 60, + "line": 67, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 1954, - "end": 1967, + "start": 2124, + "end": 2137, "loc": { "start": { - "line": 60, + "line": 67, "column": 32 }, "end": { - "line": 60, + "line": 67, "column": 45 } }, "object": { "type": "Identifier", - "start": 1954, - "end": 1962, + "start": 2124, + "end": 2132, "loc": { "start": { - "line": 60, + "line": 67, "column": 32 }, "end": { - "line": 60, + "line": 67, "column": 40 }, "identifierName": "response" @@ -2044,15 +2131,15 @@ }, "property": { "type": "Identifier", - "start": 1963, - "end": 1967, + "start": 2133, + "end": 2137, "loc": { "start": { - "line": 60, + "line": 67, "column": 41 }, "end": { - "line": 60, + "line": 67, "column": 45 }, "identifierName": "json" @@ -2071,43 +2158,43 @@ }, "alternate": { "type": "IfStatement", - "start": 1995, - "end": 2084, + "start": 2165, + "end": 2254, "loc": { "start": { - "line": 61, + "line": 68, "column": 23 }, "end": { - "line": 63, + "line": 70, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 1999, - "end": 2025, + "start": 2169, + "end": 2195, "loc": { "start": { - "line": 61, + "line": 68, "column": 27 }, "end": { - "line": 61, + "line": 68, "column": 53 } }, "left": { "type": "Identifier", - "start": 1999, - "end": 2007, + "start": 2169, + "end": 2177, "loc": { "start": { - "line": 61, + "line": 68, "column": 27 }, "end": { - "line": 61, + "line": 68, "column": 35 }, "identifierName": "pVYIData" @@ -2117,15 +2204,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 2019, - "end": 2025, + "start": 2189, + "end": 2195, "loc": { "start": { - "line": 61, + "line": 68, "column": 47 }, "end": { - "line": 61, + "line": 68, "column": 53 }, "identifierName": "Object" @@ -2135,59 +2222,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2027, - "end": 2084, + "start": 2197, + "end": 2254, "loc": { "start": { - "line": 61, + "line": 68, "column": 55 }, "end": { - "line": 63, + "line": 70, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 2050, - "end": 2065, + "start": 2220, + "end": 2235, "loc": { "start": { - "line": 62, + "line": 69, "column": 20 }, "end": { - "line": 62, + "line": 69, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 2050, - "end": 2064, + "start": 2220, + "end": 2234, "loc": { "start": { - "line": 62, + "line": 69, "column": 20 }, "end": { - "line": 62, + "line": 69, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2050, - "end": 2053, + "start": 2220, + "end": 2223, "loc": { "start": { - "line": 62, + "line": 69, "column": 20 }, "end": { - "line": 62, + "line": 69, "column": 23 }, "identifierName": "vyi" @@ -2196,15 +2283,15 @@ }, "right": { "type": "Identifier", - "start": 2056, - "end": 2064, + "start": 2226, + "end": 2234, "loc": { "start": { - "line": 62, + "line": 69, "column": 26 }, "end": { - "line": 62, + "line": 69, "column": 34 }, "identifierName": "pVYIData" @@ -2224,15 +2311,15 @@ { "type": "CommentLine", "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1691, - "end": 1767, + "start": 1861, + "end": 1937, "loc": { "start": { - "line": 56, + "line": 63, "column": 16 }, "end": { - "line": 56, + "line": 63, "column": 92 } } @@ -2242,15 +2329,15 @@ { "type": "CommentLine", "value": " If there is data to parse", - "start": 2102, - "end": 2130, + "start": 2272, + "end": 2300, "loc": { "start": { - "line": 64, + "line": 71, "column": 16 }, "end": { - "line": 64, + "line": 71, "column": 44 } } @@ -2258,15 +2345,15 @@ { "type": "CommentLine", "value": " Then parse through it", - "start": 2148, - "end": 2172, + "start": 2318, + "end": 2342, "loc": { "start": { - "line": 65, + "line": 72, "column": 16 }, "end": { - "line": 65, + "line": 72, "column": 40 } } @@ -2275,29 +2362,29 @@ }, { "type": "IfStatement", - "start": 2190, - "end": 3076, + "start": 2360, + "end": 3252, "loc": { "start": { - "line": 66, + "line": 73, "column": 16 }, "end": { - "line": 86, + "line": 93, "column": 17 } }, "test": { "type": "Identifier", - "start": 2194, - "end": 2197, + "start": 2364, + "end": 2367, "loc": { "start": { - "line": 66, + "line": 73, "column": 20 }, "end": { - "line": 66, + "line": 73, "column": 23 }, "identifierName": "vyi" @@ -2307,59 +2394,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2199, - "end": 3076, + "start": 2369, + "end": 3252, "loc": { "start": { - "line": 66, + "line": 73, "column": 25 }, "end": { - "line": 86, + "line": 93, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 2373, - "end": 2393, + "start": 2543, + "end": 2563, "loc": { "start": { - "line": 71, + "line": 78, "column": 20 }, "end": { - "line": 71, + "line": 78, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2379, - "end": 2392, + "start": 2549, + "end": 2562, "loc": { "start": { - "line": 71, + "line": 78, "column": 26 }, "end": { - "line": 71, + "line": 78, "column": 39 } }, "id": { "type": "Identifier", - "start": 2379, - "end": 2384, + "start": 2549, + "end": 2554, "loc": { "start": { - "line": 71, + "line": 78, "column": 26 }, "end": { - "line": 71, + "line": 78, "column": 31 }, "identifierName": "icons" @@ -2369,29 +2456,29 @@ }, "init": { "type": "MemberExpression", - "start": 2387, - "end": 2392, + "start": 2557, + "end": 2562, "loc": { "start": { - "line": 71, + "line": 78, "column": 34 }, "end": { - "line": 71, + "line": 78, "column": 39 } }, "object": { "type": "Identifier", - "start": 2387, - "end": 2390, + "start": 2557, + "end": 2560, "loc": { "start": { - "line": 71, + "line": 78, "column": 34 }, "end": { - "line": 71, + "line": 78, "column": 37 }, "identifierName": "vyi" @@ -2400,15 +2487,15 @@ }, "property": { "type": "Identifier", - "start": 2391, - "end": 2392, + "start": 2561, + "end": 2562, "loc": { "start": { - "line": 71, + "line": 78, "column": 38 }, "end": { - "line": 71, + "line": 78, "column": 39 }, "identifierName": "i" @@ -2425,15 +2512,15 @@ { "type": "CommentBlock", "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2222, - "end": 2351, + "start": 2392, + "end": 2521, "loc": { "start": { - "line": 67, + "line": 74, "column": 20 }, "end": { - "line": 70, + "line": 77, "column": 23 } } @@ -2443,15 +2530,15 @@ { "type": "CommentBlock", "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2415, - "end": 2568, + "start": 2585, + "end": 2738, "loc": { "start": { - "line": 72, + "line": 79, "column": 20 }, "end": { - "line": 75, + "line": 82, "column": 23 } } @@ -2460,58 +2547,58 @@ }, { "type": "ExpressionStatement", - "start": 2590, - "end": 2622, + "start": 2760, + "end": 2792, "loc": { "start": { - "line": 76, + "line": 83, "column": 20 }, "end": { - "line": 76, + "line": 83, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 2590, - "end": 2621, + "start": 2760, + "end": 2791, "loc": { "start": { - "line": 76, + "line": 83, "column": 20 }, "end": { - "line": 76, + "line": 83, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2590, - "end": 2608, + "start": 2760, + "end": 2778, "loc": { "start": { - "line": 76, + "line": 83, "column": 20 }, "end": { - "line": 76, + "line": 83, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 2590, - "end": 2594, + "start": 2760, + "end": 2764, "loc": { "start": { - "line": 76, + "line": 83, "column": 20 }, "end": { - "line": 76, + "line": 83, "column": 24 } }, @@ -2519,15 +2606,15 @@ }, "property": { "type": "Identifier", - "start": 2595, - "end": 2608, + "start": 2765, + "end": 2778, "loc": { "start": { - "line": 76, + "line": 83, "column": 25 }, "end": { - "line": 76, + "line": 83, "column": 38 }, "identifierName": "formatVersion" @@ -2539,43 +2626,43 @@ }, "right": { "type": "LogicalExpression", - "start": 2611, - "end": 2621, + "start": 2781, + "end": 2791, "loc": { "start": { - "line": 76, + "line": 83, "column": 41 }, "end": { - "line": 76, + "line": 83, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 2611, - "end": 2616, + "start": 2781, + "end": 2786, "loc": { "start": { - "line": 76, + "line": 83, "column": 41 }, "end": { - "line": 76, + "line": 83, "column": 46 } }, "object": { "type": "Identifier", - "start": 2611, - "end": 2614, + "start": 2781, + "end": 2784, "loc": { "start": { - "line": 76, + "line": 83, "column": 41 }, "end": { - "line": 76, + "line": 83, "column": 44 }, "identifierName": "vyi" @@ -2584,15 +2671,15 @@ }, "property": { "type": "Identifier", - "start": 2615, - "end": 2616, + "start": 2785, + "end": 2786, "loc": { "start": { - "line": 76, + "line": 83, "column": 45 }, "end": { - "line": 76, + "line": 83, "column": 46 }, "identifierName": "v" @@ -2604,15 +2691,15 @@ "operator": "||", "right": { "type": "NumericLiteral", - "start": 2620, - "end": 2621, + "start": 2790, + "end": 2791, "loc": { "start": { - "line": 76, + "line": 83, "column": 50 }, "end": { - "line": 76, + "line": 83, "column": 51 } }, @@ -2629,15 +2716,15 @@ { "type": "CommentBlock", "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2415, - "end": 2568, + "start": 2585, + "end": 2738, "loc": { "start": { - "line": 72, + "line": 79, "column": 20 }, "end": { - "line": 75, + "line": 82, "column": 23 } } @@ -2646,57 +2733,57 @@ }, { "type": "IfStatement", - "start": 2646, - "end": 3057, + "start": 2816, + "end": 3233, "loc": { "start": { - "line": 78, + "line": 85, "column": 20 }, "end": { - "line": 85, + "line": 92, "column": 21 } }, "test": { "type": "CallExpression", - "start": 2650, - "end": 2670, + "start": 2820, + "end": 2840, "loc": { "start": { - "line": 78, + "line": 85, "column": 24 }, "end": { - "line": 78, + "line": 85, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 2650, - "end": 2663, + "start": 2820, + "end": 2833, "loc": { "start": { - "line": 78, + "line": 85, "column": 24 }, "end": { - "line": 78, + "line": 85, "column": 37 } }, "object": { "type": "Identifier", - "start": 2650, - "end": 2655, + "start": 2820, + "end": 2825, "loc": { "start": { - "line": 78, + "line": 85, "column": 24 }, "end": { - "line": 78, + "line": 85, "column": 29 }, "identifierName": "Array" @@ -2705,15 +2792,15 @@ }, "property": { "type": "Identifier", - "start": 2656, - "end": 2663, + "start": 2826, + "end": 2833, "loc": { "start": { - "line": 78, + "line": 85, "column": 30 }, "end": { - "line": 78, + "line": 85, "column": 37 }, "identifierName": "isArray" @@ -2725,15 +2812,15 @@ "arguments": [ { "type": "Identifier", - "start": 2664, - "end": 2669, + "start": 2834, + "end": 2839, "loc": { "start": { - "line": 78, + "line": 85, "column": 38 }, "end": { - "line": 78, + "line": 85, "column": 43 }, "identifierName": "icons" @@ -2744,72 +2831,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 2672, - "end": 2927, + "start": 2842, + "end": 3103, "loc": { "start": { - "line": 78, + "line": 85, "column": 46 }, "end": { - "line": 83, + "line": 90, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 2791, - "end": 2904, + "start": 2961, + "end": 3080, "loc": { "start": { - "line": 80, + "line": 87, "column": 24 }, "end": { - "line": 82, + "line": 89, "column": 27 } }, "expression": { "type": "CallExpression", - "start": 2791, - "end": 2903, + "start": 2961, + "end": 3079, "loc": { "start": { - "line": 80, + "line": 87, "column": 24 }, "end": { - "line": 82, + "line": 89, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 2791, - "end": 2804, + "start": 2961, + "end": 2974, "loc": { "start": { - "line": 80, + "line": 87, "column": 24 }, "end": { - "line": 80, + "line": 87, "column": 37 } }, "object": { "type": "Identifier", - "start": 2791, - "end": 2796, + "start": 2961, + "end": 2966, "loc": { "start": { - "line": 80, + "line": 87, "column": 24 }, "end": { - "line": 80, + "line": 87, "column": 29 }, "identifierName": "icons" @@ -2819,15 +2906,15 @@ }, "property": { "type": "Identifier", - "start": 2797, - "end": 2804, + "start": 2967, + "end": 2974, "loc": { "start": { - "line": 80, + "line": 87, "column": 30 }, "end": { - "line": 80, + "line": 87, "column": 37 }, "identifierName": "forEach" @@ -2840,15 +2927,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2805, - "end": 2902, + "start": 2975, + "end": 3078, "loc": { "start": { - "line": 80, + "line": 87, "column": 38 }, "end": { - "line": 82, + "line": 89, "column": 25 } }, @@ -2859,15 +2946,15 @@ "params": [ { "type": "Identifier", - "start": 2806, - "end": 2815, + "start": 2976, + "end": 2985, "loc": { "start": { - "line": 80, + "line": 87, "column": 39 }, "end": { - "line": 80, + "line": 87, "column": 48 }, "identifierName": "pIconData" @@ -2877,87 +2964,87 @@ ], "body": { "type": "BlockStatement", - "start": 2820, - "end": 2902, + "start": 2990, + "end": 3078, "loc": { "start": { - "line": 80, + "line": 87, "column": 53 }, "end": { - "line": 82, + "line": 89, "column": 25 } }, "body": [ { "type": "ExpressionStatement", - "start": 2851, - "end": 2875, + "start": 3021, + "end": 3051, "loc": { "start": { - "line": 81, + "line": 88, "column": 28 }, "end": { - "line": 81, - "column": 52 + "line": 88, + "column": 58 } }, "expression": { "type": "CallExpression", - "start": 2851, - "end": 2874, + "start": 3021, + "end": 3050, "loc": { "start": { - "line": 81, + "line": 88, "column": 28 }, "end": { - "line": 81, - "column": 51 + "line": 88, + "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 2851, - "end": 2863, + "start": 3021, + "end": 3033, "loc": { "start": { - "line": 81, + "line": 88, "column": 28 }, "end": { - "line": 81, + "line": 88, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 2851, - "end": 2855, + "start": 3021, + "end": 3025, "loc": { "start": { - "line": 81, + "line": 88, "column": 28 }, "end": { - "line": 81, + "line": 88, "column": 32 } } }, "property": { "type": "Identifier", - "start": 2856, - "end": 2863, + "start": 3026, + "end": 3033, "loc": { "start": { - "line": 81, + "line": 88, "column": 33 }, "end": { - "line": 81, + "line": 88, "column": 40 }, "identifierName": "addIcon" @@ -2969,20 +3056,35 @@ "arguments": [ { "type": "Identifier", - "start": 2864, - "end": 2873, + "start": 3034, + "end": 3043, "loc": { "start": { - "line": 81, + "line": 88, "column": 41 }, "end": { - "line": 81, + "line": 88, "column": 50 }, "identifierName": "pIconData" }, "name": "pIconData" + }, + { + "type": "ThisExpression", + "start": 3045, + "end": 3049, + "loc": { + "start": { + "line": 88, + "column": 52 + }, + "end": { + "line": 88, + "column": 56 + } + } } ] } @@ -2998,15 +3100,15 @@ { "type": "CommentLine", "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2699, - "end": 2765, + "start": 2869, + "end": 2935, "loc": { "start": { - "line": 79, + "line": 86, "column": 24 }, "end": { - "line": 79, + "line": 86, "column": 90 } } @@ -3018,114 +3120,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 2933, - "end": 3057, + "start": 3109, + "end": 3233, "loc": { "start": { - "line": 83, + "line": 90, "column": 27 }, "end": { - "line": 85, + "line": 92, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 2960, - "end": 3034, + "start": 3136, + "end": 3210, "loc": { "start": { - "line": 84, + "line": 91, "column": 24 }, "end": { - "line": 84, + "line": 91, "column": 98 } }, "expression": { "type": "CallExpression", - "start": 2960, - "end": 3033, + "start": 3136, + "end": 3209, "loc": { "start": { - "line": 84, + "line": 91, "column": 24 }, "end": { - "line": 84, + "line": 91, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 2960, - "end": 2997, + "start": 3136, + "end": 3173, "loc": { "start": { - "line": 84, + "line": 91, "column": 24 }, "end": { - "line": 84, + "line": 91, "column": 61 } }, "object": { "type": "CallExpression", - "start": 2960, - "end": 2991, + "start": 3136, + "end": 3167, "loc": { "start": { - "line": 84, + "line": 91, "column": 24 }, "end": { - "line": 84, + "line": 91, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 2960, - "end": 2977, + "start": 3136, + "end": 3153, "loc": { "start": { - "line": 84, + "line": 91, "column": 24 }, "end": { - "line": 84, + "line": 91, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 2960, - "end": 2970, + "start": 3136, + "end": 3146, "loc": { "start": { - "line": 84, + "line": 91, "column": 24 }, "end": { - "line": 84, + "line": 91, "column": 34 } }, "object": { "type": "Identifier", - "start": 2960, - "end": 2963, + "start": 3136, + "end": 3139, "loc": { "start": { - "line": 84, + "line": 91, "column": 24 }, "end": { - "line": 84, + "line": 91, "column": 27 }, "identifierName": "VYI" @@ -3134,15 +3236,15 @@ }, "property": { "type": "Identifier", - "start": 2964, - "end": 2970, + "start": 3140, + "end": 3146, "loc": { "start": { - "line": 84, + "line": 91, "column": 28 }, "end": { - "line": 84, + "line": 91, "column": 34 }, "identifierName": "logger" @@ -3153,15 +3255,15 @@ }, "property": { "type": "Identifier", - "start": 2971, - "end": 2977, + "start": 3147, + "end": 3153, "loc": { "start": { - "line": 84, + "line": 91, "column": 35 }, "end": { - "line": 84, + "line": 91, "column": 41 }, "identifierName": "prefix" @@ -3173,15 +3275,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2978, - "end": 2990, + "start": 3154, + "end": 3166, "loc": { "start": { - "line": 84, + "line": 91, "column": 42 }, "end": { - "line": 84, + "line": 91, "column": 54 } }, @@ -3195,15 +3297,15 @@ }, "property": { "type": "Identifier", - "start": 2992, - "end": 2997, + "start": 3168, + "end": 3173, "loc": { "start": { - "line": 84, + "line": 91, "column": 56 }, "end": { - "line": 84, + "line": 91, "column": 61 }, "identifierName": "error" @@ -3215,15 +3317,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2998, - "end": 3032, + "start": 3174, + "end": 3208, "loc": { "start": { - "line": 84, + "line": 91, "column": 62 }, "end": { - "line": 84, + "line": 91, "column": 96 } }, @@ -3248,15 +3350,15 @@ { "type": "CommentLine", "value": " If there is data to parse", - "start": 2102, - "end": 2130, + "start": 2272, + "end": 2300, "loc": { "start": { - "line": 64, + "line": 71, "column": 16 }, "end": { - "line": 64, + "line": 71, "column": 44 } } @@ -3264,15 +3366,15 @@ { "type": "CommentLine", "value": " Then parse through it", - "start": 2148, - "end": 2172, + "start": 2318, + "end": 2342, "loc": { "start": { - "line": 65, + "line": 72, "column": 16 }, "end": { - "line": 65, + "line": 72, "column": 40 } } @@ -3289,29 +3391,29 @@ }, "handler": { "type": "CatchClause", - "start": 3103, - "end": 3222, + "start": 3279, + "end": 3398, "loc": { "start": { - "line": 88, + "line": 95, "column": 10 }, "end": { - "line": 90, + "line": 97, "column": 9 } }, "param": { "type": "Identifier", - "start": 3110, - "end": 3116, + "start": 3286, + "end": 3292, "loc": { "start": { - "line": 88, + "line": 95, "column": 17 }, "end": { - "line": 88, + "line": 95, "column": 23 }, "identifierName": "pError" @@ -3320,114 +3422,114 @@ }, "body": { "type": "BlockStatement", - "start": 3118, - "end": 3222, + "start": 3294, + "end": 3398, "loc": { "start": { - "line": 88, + "line": 95, "column": 25 }, "end": { - "line": 90, + "line": 97, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 3133, - "end": 3211, + "start": 3309, + "end": 3387, "loc": { "start": { - "line": 89, + "line": 96, "column": 12 }, "end": { - "line": 89, + "line": 96, "column": 90 } }, "expression": { "type": "CallExpression", - "start": 3133, - "end": 3210, + "start": 3309, + "end": 3386, "loc": { "start": { - "line": 89, + "line": 96, "column": 12 }, "end": { - "line": 89, + "line": 96, "column": 89 } }, "callee": { "type": "MemberExpression", - "start": 3133, - "end": 3170, + "start": 3309, + "end": 3346, "loc": { "start": { - "line": 89, + "line": 96, "column": 12 }, "end": { - "line": 89, + "line": 96, "column": 49 } }, "object": { "type": "CallExpression", - "start": 3133, - "end": 3164, + "start": 3309, + "end": 3340, "loc": { "start": { - "line": 89, + "line": 96, "column": 12 }, "end": { - "line": 89, + "line": 96, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 3133, - "end": 3150, + "start": 3309, + "end": 3326, "loc": { "start": { - "line": 89, + "line": 96, "column": 12 }, "end": { - "line": 89, + "line": 96, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 3133, - "end": 3143, + "start": 3309, + "end": 3319, "loc": { "start": { - "line": 89, + "line": 96, "column": 12 }, "end": { - "line": 89, + "line": 96, "column": 22 } }, "object": { "type": "Identifier", - "start": 3133, - "end": 3136, + "start": 3309, + "end": 3312, "loc": { "start": { - "line": 89, + "line": 96, "column": 12 }, "end": { - "line": 89, + "line": 96, "column": 15 }, "identifierName": "VYI" @@ -3436,15 +3538,15 @@ }, "property": { "type": "Identifier", - "start": 3137, - "end": 3143, + "start": 3313, + "end": 3319, "loc": { "start": { - "line": 89, + "line": 96, "column": 16 }, "end": { - "line": 89, + "line": 96, "column": 22 }, "identifierName": "logger" @@ -3455,15 +3557,15 @@ }, "property": { "type": "Identifier", - "start": 3144, - "end": 3150, + "start": 3320, + "end": 3326, "loc": { "start": { - "line": 89, + "line": 96, "column": 23 }, "end": { - "line": 89, + "line": 96, "column": 29 }, "identifierName": "prefix" @@ -3475,15 +3577,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3151, - "end": 3163, + "start": 3327, + "end": 3339, "loc": { "start": { - "line": 89, + "line": 96, "column": 30 }, "end": { - "line": 89, + "line": 96, "column": 42 } }, @@ -3497,15 +3599,15 @@ }, "property": { "type": "Identifier", - "start": 3165, - "end": 3170, + "start": 3341, + "end": 3346, "loc": { "start": { - "line": 89, + "line": 96, "column": 44 }, "end": { - "line": 89, + "line": 96, "column": 49 }, "identifierName": "error" @@ -3517,30 +3619,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 3171, - "end": 3209, + "start": 3347, + "end": 3385, "loc": { "start": { - "line": 89, + "line": 96, "column": 50 }, "end": { - "line": 89, + "line": 96, "column": 88 } }, "expressions": [ { "type": "Identifier", - "start": 3201, - "end": 3207, + "start": 3377, + "end": 3383, "loc": { "start": { - "line": 89, + "line": 96, "column": 80 }, "end": { - "line": 89, + "line": 96, "column": 86 }, "identifierName": "pError" @@ -3551,15 +3653,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 3172, - "end": 3199, + "start": 3348, + "end": 3375, "loc": { "start": { - "line": 89, + "line": 96, "column": 51 }, "end": { - "line": 89, + "line": 96, "column": 78 } }, @@ -3571,15 +3673,15 @@ }, { "type": "TemplateElement", - "start": 3208, - "end": 3208, + "start": 3384, + "end": 3384, "loc": { "start": { - "line": 89, + "line": 96, "column": 87 }, "end": { - "line": 89, + "line": 96, "column": 87 } }, @@ -3609,15 +3711,15 @@ { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1249, - "end": 1574, + "start": 1419, + "end": 1744, "loc": { "start": { - "line": 46, + "line": 53, "column": 4 }, "end": { - "line": 51, + "line": 58, "column": 7 } } @@ -3627,15 +3729,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3235, - "end": 3404, + "start": 3411, + "end": 3580, "loc": { "start": { - "line": 92, + "line": 99, "column": 4 }, "end": { - "line": 96, + "line": 103, "column": 7 } } @@ -3644,15 +3746,15 @@ }, { "type": "ClassMethod", - "start": 3410, - "end": 3917, + "start": 3586, + "end": 4099, "loc": { "start": { - "line": 97, + "line": 104, "column": 4 }, "end": { - "line": 110, + "line": 117, "column": 5 } }, @@ -3660,15 +3762,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3410, - "end": 3417, + "start": 3586, + "end": 3593, "loc": { "start": { - "line": 97, + "line": 104, "column": 4 }, "end": { - "line": 97, + "line": 104, "column": 11 }, "identifierName": "addIcon" @@ -3684,15 +3786,15 @@ "params": [ { "type": "Identifier", - "start": 3418, - "end": 3427, + "start": 3594, + "end": 3603, "loc": { "start": { - "line": 97, + "line": 104, "column": 12 }, "end": { - "line": 97, + "line": 104, "column": 21 }, "identifierName": "pIconData" @@ -3702,44 +3804,44 @@ ], "body": { "type": "BlockStatement", - "start": 3429, - "end": 3917, + "start": 3605, + "end": 4099, "loc": { "start": { - "line": 97, + "line": 104, "column": 23 }, "end": { - "line": 110, + "line": 117, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 3440, - "end": 3910, + "start": 3616, + "end": 4092, "loc": { "start": { - "line": 98, + "line": 105, "column": 8 }, "end": { - "line": 109, + "line": 116, "column": 9 } }, "test": { "type": "Identifier", - "start": 3444, - "end": 3453, + "start": 3620, + "end": 3629, "loc": { "start": { - "line": 98, + "line": 105, "column": 12 }, "end": { - "line": 98, + "line": 105, "column": 21 }, "identifierName": "pIconData" @@ -3748,58 +3850,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 3455, - "end": 3816, + "start": 3631, + "end": 3998, "loc": { "start": { - "line": 98, + "line": 105, "column": 23 }, "end": { - "line": 107, + "line": 114, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 3470, - "end": 3805, + "start": 3646, + "end": 3987, "loc": { "start": { - "line": 99, + "line": 106, "column": 12 }, "end": { - "line": 106, + "line": 113, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 3474, - "end": 3501, + "start": 3650, + "end": 3677, "loc": { "start": { - "line": 99, + "line": 106, "column": 16 }, "end": { - "line": 99, + "line": 106, "column": 43 } }, "left": { "type": "Identifier", - "start": 3474, - "end": 3483, + "start": 3650, + "end": 3659, "loc": { "start": { - "line": 99, + "line": 106, "column": 16 }, "end": { - "line": 99, + "line": 106, "column": 25 }, "identifierName": "pIconData" @@ -3809,15 +3911,15 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 3495, - "end": 3501, + "start": 3671, + "end": 3677, "loc": { "start": { - "line": 99, + "line": 106, "column": 37 }, "end": { - "line": 99, + "line": 106, "column": 43 }, "identifierName": "Object" @@ -3827,59 +3929,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 3503, - "end": 3693, + "start": 3679, + "end": 3875, "loc": { "start": { - "line": 99, + "line": 106, "column": 45 }, "end": { - "line": 104, + "line": 111, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 3522, - "end": 3555, + "start": 3698, + "end": 3737, "loc": { "start": { - "line": 100, + "line": 107, "column": 16 }, "end": { - "line": 100, - "column": 49 + "line": 107, + "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3528, - "end": 3554, + "start": 3704, + "end": 3736, "loc": { "start": { - "line": 100, + "line": 107, "column": 22 }, "end": { - "line": 100, - "column": 48 + "line": 107, + "column": 54 } }, "id": { "type": "Identifier", - "start": 3528, - "end": 3532, + "start": 3704, + "end": 3708, "loc": { "start": { - "line": 100, + "line": 107, "column": 22 }, "end": { - "line": 100, + "line": 107, "column": 26 }, "identifierName": "icon" @@ -3888,29 +3990,29 @@ }, "init": { "type": "NewExpression", - "start": 3535, - "end": 3554, + "start": 3711, + "end": 3736, "loc": { "start": { - "line": 100, + "line": 107, "column": 29 }, "end": { - "line": 100, - "column": 48 + "line": 107, + "column": 54 } }, "callee": { "type": "Identifier", - "start": 3539, - "end": 3543, + "start": 3715, + "end": 3719, "loc": { "start": { - "line": 100, + "line": 107, "column": 33 }, "end": { - "line": 100, + "line": 107, "column": 37 }, "identifierName": "Icon" @@ -3920,20 +4022,35 @@ "arguments": [ { "type": "Identifier", - "start": 3544, - "end": 3553, + "start": 3720, + "end": 3729, "loc": { "start": { - "line": 100, + "line": 107, "column": 38 }, "end": { - "line": 100, + "line": 107, "column": 47 }, "identifierName": "pIconData" }, "name": "pIconData" + }, + { + "type": "ThisExpression", + "start": 3731, + "end": 3735, + "loc": { + "start": { + "line": 107, + "column": 49 + }, + "end": { + "line": 107, + "column": 53 + } + } } ] } @@ -3944,15 +4061,15 @@ { "type": "CommentLine", "value": " Add the icon to the icons array.", - "start": 3573, - "end": 3608, + "start": 3755, + "end": 3790, "loc": { "start": { - "line": 101, + "line": 108, "column": 16 }, "end": { - "line": 101, + "line": 108, "column": 51 } } @@ -3961,71 +4078,71 @@ }, { "type": "ExpressionStatement", - "start": 3626, - "end": 3648, + "start": 3808, + "end": 3830, "loc": { "start": { - "line": 102, + "line": 109, "column": 16 }, "end": { - "line": 102, + "line": 109, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 3626, - "end": 3647, + "start": 3808, + "end": 3829, "loc": { "start": { - "line": 102, + "line": 109, "column": 16 }, "end": { - "line": 102, + "line": 109, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3626, - "end": 3641, + "start": 3808, + "end": 3823, "loc": { "start": { - "line": 102, + "line": 109, "column": 16 }, "end": { - "line": 102, + "line": 109, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 3626, - "end": 3636, + "start": 3808, + "end": 3818, "loc": { "start": { - "line": 102, + "line": 109, "column": 16 }, "end": { - "line": 102, + "line": 109, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 3626, - "end": 3630, + "start": 3808, + "end": 3812, "loc": { "start": { - "line": 102, + "line": 109, "column": 16 }, "end": { - "line": 102, + "line": 109, "column": 20 } }, @@ -4033,15 +4150,15 @@ }, "property": { "type": "Identifier", - "start": 3631, - "end": 3636, + "start": 3813, + "end": 3818, "loc": { "start": { - "line": 102, + "line": 109, "column": 21 }, "end": { - "line": 102, + "line": 109, "column": 26 }, "identifierName": "icons" @@ -4053,15 +4170,15 @@ }, "property": { "type": "Identifier", - "start": 3637, - "end": 3641, + "start": 3819, + "end": 3823, "loc": { "start": { - "line": 102, + "line": 109, "column": 27 }, "end": { - "line": 102, + "line": 109, "column": 31 }, "identifierName": "push" @@ -4074,15 +4191,15 @@ "arguments": [ { "type": "Identifier", - "start": 3642, - "end": 3646, + "start": 3824, + "end": 3828, "loc": { "start": { - "line": 102, + "line": 109, "column": 32 }, "end": { - "line": 102, + "line": 109, "column": 36 }, "identifierName": "icon" @@ -4096,15 +4213,15 @@ { "type": "CommentLine", "value": " Add the icon to the icons array.", - "start": 3573, - "end": 3608, + "start": 3755, + "end": 3790, "loc": { "start": { - "line": 101, + "line": 108, "column": 16 }, "end": { - "line": 101, + "line": 108, "column": 51 } } @@ -4113,29 +4230,29 @@ }, { "type": "ReturnStatement", - "start": 3666, - "end": 3678, + "start": 3848, + "end": 3860, "loc": { "start": { - "line": 103, + "line": 110, "column": 16 }, "end": { - "line": 103, + "line": 110, "column": 28 } }, "argument": { "type": "Identifier", - "start": 3673, - "end": 3677, + "start": 3855, + "end": 3859, "loc": { "start": { - "line": 103, + "line": 110, "column": 23 }, "end": { - "line": 103, + "line": 110, "column": 27 }, "identifierName": "icon" @@ -4148,114 +4265,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 3699, - "end": 3805, + "start": 3881, + "end": 3987, "loc": { "start": { - "line": 104, + "line": 111, "column": 19 }, "end": { - "line": 106, + "line": 113, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 3718, - "end": 3790, + "start": 3900, + "end": 3972, "loc": { "start": { - "line": 105, + "line": 112, "column": 16 }, "end": { - "line": 105, + "line": 112, "column": 88 } }, "expression": { "type": "CallExpression", - "start": 3718, - "end": 3789, + "start": 3900, + "end": 3971, "loc": { "start": { - "line": 105, + "line": 112, "column": 16 }, "end": { - "line": 105, + "line": 112, "column": 87 } }, "callee": { "type": "MemberExpression", - "start": 3718, - "end": 3755, + "start": 3900, + "end": 3937, "loc": { "start": { - "line": 105, + "line": 112, "column": 16 }, "end": { - "line": 105, + "line": 112, "column": 53 } }, "object": { "type": "CallExpression", - "start": 3718, - "end": 3749, + "start": 3900, + "end": 3931, "loc": { "start": { - "line": 105, + "line": 112, "column": 16 }, "end": { - "line": 105, + "line": 112, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 3718, - "end": 3735, + "start": 3900, + "end": 3917, "loc": { "start": { - "line": 105, + "line": 112, "column": 16 }, "end": { - "line": 105, + "line": 112, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 3718, - "end": 3728, + "start": 3900, + "end": 3910, "loc": { "start": { - "line": 105, + "line": 112, "column": 16 }, "end": { - "line": 105, + "line": 112, "column": 26 } }, "object": { "type": "Identifier", - "start": 3718, - "end": 3721, + "start": 3900, + "end": 3903, "loc": { "start": { - "line": 105, + "line": 112, "column": 16 }, "end": { - "line": 105, + "line": 112, "column": 19 }, "identifierName": "VYI" @@ -4264,15 +4381,15 @@ }, "property": { "type": "Identifier", - "start": 3722, - "end": 3728, + "start": 3904, + "end": 3910, "loc": { "start": { - "line": 105, + "line": 112, "column": 20 }, "end": { - "line": 105, + "line": 112, "column": 26 }, "identifierName": "logger" @@ -4283,15 +4400,15 @@ }, "property": { "type": "Identifier", - "start": 3729, - "end": 3735, + "start": 3911, + "end": 3917, "loc": { "start": { - "line": 105, + "line": 112, "column": 27 }, "end": { - "line": 105, + "line": 112, "column": 33 }, "identifierName": "prefix" @@ -4303,15 +4420,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3736, - "end": 3748, + "start": 3918, + "end": 3930, "loc": { "start": { - "line": 105, + "line": 112, "column": 34 }, "end": { - "line": 105, + "line": 112, "column": 46 } }, @@ -4325,15 +4442,15 @@ }, "property": { "type": "Identifier", - "start": 3750, - "end": 3755, + "start": 3932, + "end": 3937, "loc": { "start": { - "line": 105, + "line": 112, "column": 48 }, "end": { - "line": 105, + "line": 112, "column": 53 }, "identifierName": "error" @@ -4345,15 +4462,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3756, - "end": 3788, + "start": 3938, + "end": 3970, "loc": { "start": { - "line": 105, + "line": 112, "column": 54 }, "end": { - "line": 105, + "line": 112, "column": 86 } }, @@ -4375,114 +4492,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 3822, - "end": 3910, + "start": 4004, + "end": 4092, "loc": { "start": { - "line": 107, + "line": 114, "column": 15 }, "end": { - "line": 109, + "line": 116, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 3837, - "end": 3899, + "start": 4019, + "end": 4081, "loc": { "start": { - "line": 108, + "line": 115, "column": 12 }, "end": { - "line": 108, + "line": 115, "column": 74 } }, "expression": { "type": "CallExpression", - "start": 3837, - "end": 3898, + "start": 4019, + "end": 4080, "loc": { "start": { - "line": 108, + "line": 115, "column": 12 }, "end": { - "line": 108, + "line": 115, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 3837, - "end": 3874, + "start": 4019, + "end": 4056, "loc": { "start": { - "line": 108, + "line": 115, "column": 12 }, "end": { - "line": 108, + "line": 115, "column": 49 } }, "object": { "type": "CallExpression", - "start": 3837, - "end": 3868, + "start": 4019, + "end": 4050, "loc": { "start": { - "line": 108, + "line": 115, "column": 12 }, "end": { - "line": 108, + "line": 115, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 3837, - "end": 3854, + "start": 4019, + "end": 4036, "loc": { "start": { - "line": 108, + "line": 115, "column": 12 }, "end": { - "line": 108, + "line": 115, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 3837, - "end": 3847, + "start": 4019, + "end": 4029, "loc": { "start": { - "line": 108, + "line": 115, "column": 12 }, "end": { - "line": 108, + "line": 115, "column": 22 } }, "object": { "type": "Identifier", - "start": 3837, - "end": 3840, + "start": 4019, + "end": 4022, "loc": { "start": { - "line": 108, + "line": 115, "column": 12 }, "end": { - "line": 108, + "line": 115, "column": 15 }, "identifierName": "VYI" @@ -4491,15 +4608,15 @@ }, "property": { "type": "Identifier", - "start": 3841, - "end": 3847, + "start": 4023, + "end": 4029, "loc": { "start": { - "line": 108, + "line": 115, "column": 16 }, "end": { - "line": 108, + "line": 115, "column": 22 }, "identifierName": "logger" @@ -4510,15 +4627,15 @@ }, "property": { "type": "Identifier", - "start": 3848, - "end": 3854, + "start": 4030, + "end": 4036, "loc": { "start": { - "line": 108, + "line": 115, "column": 23 }, "end": { - "line": 108, + "line": 115, "column": 29 }, "identifierName": "prefix" @@ -4530,15 +4647,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3855, - "end": 3867, + "start": 4037, + "end": 4049, "loc": { "start": { - "line": 108, + "line": 115, "column": 30 }, "end": { - "line": 108, + "line": 115, "column": 42 } }, @@ -4552,15 +4669,15 @@ }, "property": { "type": "Identifier", - "start": 3869, - "end": 3874, + "start": 4051, + "end": 4056, "loc": { "start": { - "line": 108, + "line": 115, "column": 44 }, "end": { - "line": 108, + "line": 115, "column": 49 }, "identifierName": "error" @@ -4572,15 +4689,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3875, - "end": 3897, + "start": 4057, + "end": 4079, "loc": { "start": { - "line": 108, + "line": 115, "column": 50 }, "end": { - "line": 108, + "line": 115, "column": 72 } }, @@ -4605,15 +4722,15 @@ { "type": "CommentBlock", "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3235, - "end": 3404, + "start": 3411, + "end": 3580, "loc": { "start": { - "line": 92, + "line": 99, "column": 4 }, "end": { - "line": 96, + "line": 103, "column": 7 } } @@ -4623,15 +4740,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3923, - "end": 4255, + "start": 4105, + "end": 4437, "loc": { "start": { - "line": 111, + "line": 118, "column": 4 }, "end": { - "line": 115, + "line": 122, "column": 7 } } @@ -4640,15 +4757,15 @@ }, { "type": "ClassMethod", - "start": 4261, - "end": 4504, + "start": 4443, + "end": 4686, "loc": { "start": { - "line": 116, + "line": 123, "column": 4 }, "end": { - "line": 123, + "line": 130, "column": 5 } }, @@ -4656,15 +4773,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4261, - "end": 4271, + "start": 4443, + "end": 4453, "loc": { "start": { - "line": 116, + "line": 123, "column": 4 }, "end": { - "line": 116, + "line": 123, "column": 14 }, "identifierName": "removeIcon" @@ -4680,15 +4797,15 @@ "params": [ { "type": "Identifier", - "start": 4272, - "end": 4277, + "start": 4454, + "end": 4459, "loc": { "start": { - "line": 116, + "line": 123, "column": 15 }, "end": { - "line": 116, + "line": 123, "column": 20 }, "identifierName": "pIcon" @@ -4697,15 +4814,15 @@ }, { "type": "Identifier", - "start": 4279, - "end": 4284, + "start": 4461, + "end": 4466, "loc": { "start": { - "line": 116, + "line": 123, "column": 22 }, "end": { - "line": 116, + "line": 123, "column": 27 }, "identifierName": "pName" @@ -4715,59 +4832,59 @@ ], "body": { "type": "BlockStatement", - "start": 4286, - "end": 4504, + "start": 4468, + "end": 4686, "loc": { "start": { - "line": 116, + "line": 123, "column": 29 }, "end": { - "line": 123, + "line": 130, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 4297, - "end": 4339, + "start": 4479, + "end": 4521, "loc": { "start": { - "line": 117, + "line": 124, "column": 8 }, "end": { - "line": 117, + "line": 124, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4303, - "end": 4338, + "start": 4485, + "end": 4520, "loc": { "start": { - "line": 117, + "line": 124, "column": 14 }, "end": { - "line": 117, + "line": 124, "column": 49 } }, "id": { "type": "Identifier", - "start": 4303, - "end": 4307, + "start": 4485, + "end": 4489, "loc": { "start": { - "line": 117, + "line": 124, "column": 14 }, "end": { - "line": 117, + "line": 124, "column": 18 }, "identifierName": "icon" @@ -4776,29 +4893,29 @@ }, "init": { "type": "LogicalExpression", - "start": 4310, - "end": 4338, + "start": 4492, + "end": 4520, "loc": { "start": { - "line": 117, + "line": 124, "column": 21 }, "end": { - "line": 117, + "line": 124, "column": 49 } }, "left": { "type": "Identifier", - "start": 4310, - "end": 4315, + "start": 4492, + "end": 4497, "loc": { "start": { - "line": 117, + "line": 124, "column": 21 }, "end": { - "line": 117, + "line": 124, "column": 26 }, "identifierName": "pIcon" @@ -4808,58 +4925,58 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 4319, - "end": 4338, + "start": 4501, + "end": 4520, "loc": { "start": { - "line": 117, + "line": 124, "column": 30 }, "end": { - "line": 117, + "line": 124, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 4319, - "end": 4331, + "start": 4501, + "end": 4513, "loc": { "start": { - "line": 117, + "line": 124, "column": 30 }, "end": { - "line": 117, + "line": 124, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 4319, - "end": 4323, + "start": 4501, + "end": 4505, "loc": { "start": { - "line": 117, + "line": 124, "column": 30 }, "end": { - "line": 117, + "line": 124, "column": 34 } } }, "property": { "type": "Identifier", - "start": 4324, - "end": 4331, + "start": 4506, + "end": 4513, "loc": { "start": { - "line": 117, + "line": 124, "column": 35 }, "end": { - "line": 117, + "line": 124, "column": 42 }, "identifierName": "getIcon" @@ -4871,15 +4988,15 @@ "arguments": [ { "type": "Identifier", - "start": 4332, - "end": 4337, + "start": 4514, + "end": 4519, "loc": { "start": { - "line": 117, + "line": 124, "column": 43 }, "end": { - "line": 117, + "line": 124, "column": 48 }, "identifierName": "pName" @@ -4895,29 +5012,29 @@ }, { "type": "IfStatement", - "start": 4349, - "end": 4497, + "start": 4531, + "end": 4679, "loc": { "start": { - "line": 118, + "line": 125, "column": 8 }, "end": { - "line": 122, + "line": 129, "column": 9 } }, "test": { "type": "Identifier", - "start": 4353, - "end": 4357, + "start": 4535, + "end": 4539, "loc": { "start": { - "line": 118, + "line": 125, "column": 12 }, "end": { - "line": 118, + "line": 125, "column": 16 }, "identifierName": "icon" @@ -4926,101 +5043,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 4359, - "end": 4497, + "start": 4541, + "end": 4679, "loc": { "start": { - "line": 118, + "line": 125, "column": 18 }, "end": { - "line": 122, + "line": 129, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 4374, - "end": 4486, + "start": 4556, + "end": 4668, "loc": { "start": { - "line": 119, + "line": 126, "column": 12 }, "end": { - "line": 121, + "line": 128, "column": 13 } }, "test": { "type": "CallExpression", - "start": 4378, - "end": 4403, + "start": 4560, + "end": 4585, "loc": { "start": { - "line": 119, + "line": 126, "column": 16 }, "end": { - "line": 119, + "line": 126, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 4378, - "end": 4397, + "start": 4560, + "end": 4579, "loc": { "start": { - "line": 119, + "line": 126, "column": 16 }, "end": { - "line": 119, + "line": 126, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 4378, - "end": 4388, + "start": 4560, + "end": 4570, "loc": { "start": { - "line": 119, + "line": 126, "column": 16 }, "end": { - "line": 119, + "line": 126, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 4378, - "end": 4382, + "start": 4560, + "end": 4564, "loc": { "start": { - "line": 119, + "line": 126, "column": 16 }, "end": { - "line": 119, + "line": 126, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4383, - "end": 4388, + "start": 4565, + "end": 4570, "loc": { "start": { - "line": 119, + "line": 126, "column": 21 }, "end": { - "line": 119, + "line": 126, "column": 26 }, "identifierName": "icons" @@ -5031,15 +5148,15 @@ }, "property": { "type": "Identifier", - "start": 4389, - "end": 4397, + "start": 4571, + "end": 4579, "loc": { "start": { - "line": 119, + "line": 126, "column": 27 }, "end": { - "line": 119, + "line": 126, "column": 35 }, "identifierName": "includes" @@ -5051,15 +5168,15 @@ "arguments": [ { "type": "Identifier", - "start": 4398, - "end": 4402, + "start": 4580, + "end": 4584, "loc": { "start": { - "line": 119, + "line": 126, "column": 36 }, "end": { - "line": 119, + "line": 126, "column": 40 }, "identifierName": "icon" @@ -5070,101 +5187,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 4405, - "end": 4486, + "start": 4587, + "end": 4668, "loc": { "start": { - "line": 119, + "line": 126, "column": 43 }, "end": { - "line": 121, + "line": 128, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 4424, - "end": 4471, + "start": 4606, + "end": 4653, "loc": { "start": { - "line": 120, + "line": 127, "column": 16 }, "end": { - "line": 120, + "line": 127, "column": 63 } }, "expression": { "type": "CallExpression", - "start": 4424, - "end": 4470, + "start": 4606, + "end": 4652, "loc": { "start": { - "line": 120, + "line": 127, "column": 16 }, "end": { - "line": 120, + "line": 127, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 4424, - "end": 4441, + "start": 4606, + "end": 4623, "loc": { "start": { - "line": 120, + "line": 127, "column": 16 }, "end": { - "line": 120, + "line": 127, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 4424, - "end": 4434, + "start": 4606, + "end": 4616, "loc": { "start": { - "line": 120, + "line": 127, "column": 16 }, "end": { - "line": 120, + "line": 127, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 4424, - "end": 4428, + "start": 4606, + "end": 4610, "loc": { "start": { - "line": 120, + "line": 127, "column": 16 }, "end": { - "line": 120, + "line": 127, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4429, - "end": 4434, + "start": 4611, + "end": 4616, "loc": { "start": { - "line": 120, + "line": 127, "column": 21 }, "end": { - "line": 120, + "line": 127, "column": 26 }, "identifierName": "icons" @@ -5175,15 +5292,15 @@ }, "property": { "type": "Identifier", - "start": 4435, - "end": 4441, + "start": 4617, + "end": 4623, "loc": { "start": { - "line": 120, + "line": 127, "column": 27 }, "end": { - "line": 120, + "line": 127, "column": 33 }, "identifierName": "splice" @@ -5195,72 +5312,72 @@ "arguments": [ { "type": "CallExpression", - "start": 4442, - "end": 4466, + "start": 4624, + "end": 4648, "loc": { "start": { - "line": 120, + "line": 127, "column": 34 }, "end": { - "line": 120, + "line": 127, "column": 58 } }, "callee": { "type": "MemberExpression", - "start": 4442, - "end": 4460, + "start": 4624, + "end": 4642, "loc": { "start": { - "line": 120, + "line": 127, "column": 34 }, "end": { - "line": 120, + "line": 127, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 4442, - "end": 4452, + "start": 4624, + "end": 4634, "loc": { "start": { - "line": 120, + "line": 127, "column": 34 }, "end": { - "line": 120, + "line": 127, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 4442, - "end": 4446, + "start": 4624, + "end": 4628, "loc": { "start": { - "line": 120, + "line": 127, "column": 34 }, "end": { - "line": 120, + "line": 127, "column": 38 } } }, "property": { "type": "Identifier", - "start": 4447, - "end": 4452, + "start": 4629, + "end": 4634, "loc": { "start": { - "line": 120, + "line": 127, "column": 39 }, "end": { - "line": 120, + "line": 127, "column": 44 }, "identifierName": "icons" @@ -5271,15 +5388,15 @@ }, "property": { "type": "Identifier", - "start": 4453, - "end": 4460, + "start": 4635, + "end": 4642, "loc": { "start": { - "line": 120, + "line": 127, "column": 45 }, "end": { - "line": 120, + "line": 127, "column": 52 }, "identifierName": "indexOf" @@ -5291,15 +5408,15 @@ "arguments": [ { "type": "Identifier", - "start": 4461, - "end": 4465, + "start": 4643, + "end": 4647, "loc": { "start": { - "line": 120, + "line": 127, "column": 53 }, "end": { - "line": 120, + "line": 127, "column": 57 }, "identifierName": "icon" @@ -5310,15 +5427,15 @@ }, { "type": "NumericLiteral", - "start": 4468, - "end": 4469, + "start": 4650, + "end": 4651, "loc": { "start": { - "line": 120, + "line": 127, "column": 60 }, "end": { - "line": 120, + "line": 127, "column": 61 } }, @@ -5349,15 +5466,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3923, - "end": 4255, + "start": 4105, + "end": 4437, "loc": { "start": { - "line": 111, + "line": 118, "column": 4 }, "end": { - "line": 115, + "line": 122, "column": 7 } } @@ -5367,15 +5484,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4510, - "end": 4631, + "start": 4692, + "end": 4813, "loc": { "start": { - "line": 124, + "line": 131, "column": 4 }, "end": { - "line": 127, + "line": 134, "column": 7 } } @@ -5384,15 +5501,15 @@ }, { "type": "ClassMethod", - "start": 4637, - "end": 4856, + "start": 4819, + "end": 5038, "loc": { "start": { - "line": 128, + "line": 135, "column": 4 }, "end": { - "line": 135, + "line": 142, "column": 5 } }, @@ -5400,15 +5517,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4637, - "end": 4649, + "start": 4819, + "end": 4831, "loc": { "start": { - "line": 128, + "line": 135, "column": 4 }, "end": { - "line": 128, + "line": 135, "column": 16 }, "identifierName": "getIconNames" @@ -5424,59 +5541,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4652, - "end": 4856, + "start": 4834, + "end": 5038, "loc": { "start": { - "line": 128, + "line": 135, "column": 19 }, "end": { - "line": 135, + "line": 142, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 4706, - "end": 4727, + "start": 4888, + "end": 4909, "loc": { "start": { - "line": 130, + "line": 137, "column": 8 }, "end": { - "line": 130, + "line": 137, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4712, - "end": 4726, + "start": 4894, + "end": 4908, "loc": { "start": { - "line": 130, + "line": 137, "column": 14 }, "end": { - "line": 130, + "line": 137, "column": 28 } }, "id": { "type": "Identifier", - "start": 4712, - "end": 4721, + "start": 4894, + "end": 4903, "loc": { "start": { - "line": 130, + "line": 137, "column": 14 }, "end": { - "line": 130, + "line": 137, "column": 23 }, "identifierName": "iconNames" @@ -5486,15 +5603,15 @@ }, "init": { "type": "ArrayExpression", - "start": 4724, - "end": 4726, + "start": 4906, + "end": 4908, "loc": { "start": { - "line": 130, + "line": 137, "column": 26 }, "end": { - "line": 130, + "line": 137, "column": 28 } }, @@ -5508,15 +5625,15 @@ { "type": "CommentLine", "value": " Array to store the icon names.", - "start": 4663, - "end": 4696, + "start": 4845, + "end": 4878, "loc": { "start": { - "line": 129, + "line": 136, "column": 8 }, "end": { - "line": 129, + "line": 136, "column": 41 } } @@ -5525,86 +5642,86 @@ }, { "type": "ExpressionStatement", - "start": 4737, - "end": 4822, + "start": 4919, + "end": 5004, "loc": { "start": { - "line": 131, + "line": 138, "column": 8 }, "end": { - "line": 133, + "line": 140, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 4737, - "end": 4821, + "start": 4919, + "end": 5003, "loc": { "start": { - "line": 131, + "line": 138, "column": 8 }, "end": { - "line": 133, + "line": 140, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 4737, - "end": 4755, + "start": 4919, + "end": 4937, "loc": { "start": { - "line": 131, + "line": 138, "column": 8 }, "end": { - "line": 131, + "line": 138, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 4737, - "end": 4747, + "start": 4919, + "end": 4929, "loc": { "start": { - "line": 131, + "line": 138, "column": 8 }, "end": { - "line": 131, + "line": 138, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4737, - "end": 4741, + "start": 4919, + "end": 4923, "loc": { "start": { - "line": 131, + "line": 138, "column": 8 }, "end": { - "line": 131, + "line": 138, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4742, - "end": 4747, + "start": 4924, + "end": 4929, "loc": { "start": { - "line": 131, + "line": 138, "column": 13 }, "end": { - "line": 131, + "line": 138, "column": 18 }, "identifierName": "icons" @@ -5615,15 +5732,15 @@ }, "property": { "type": "Identifier", - "start": 4748, - "end": 4755, + "start": 4930, + "end": 4937, "loc": { "start": { - "line": 131, + "line": 138, "column": 19 }, "end": { - "line": 131, + "line": 138, "column": 26 }, "identifierName": "forEach" @@ -5635,15 +5752,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4756, - "end": 4820, + "start": 4938, + "end": 5002, "loc": { "start": { - "line": 131, + "line": 138, "column": 27 }, "end": { - "line": 133, + "line": 140, "column": 9 } }, @@ -5654,15 +5771,15 @@ "params": [ { "type": "Identifier", - "start": 4757, - "end": 4762, + "start": 4939, + "end": 4944, "loc": { "start": { - "line": 131, + "line": 138, "column": 28 }, "end": { - "line": 131, + "line": 138, "column": 33 }, "identifierName": "pIcon" @@ -5672,72 +5789,72 @@ ], "body": { "type": "BlockStatement", - "start": 4767, - "end": 4820, + "start": 4949, + "end": 5002, "loc": { "start": { - "line": 131, + "line": 138, "column": 38 }, "end": { - "line": 133, + "line": 140, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 4782, - "end": 4809, + "start": 4964, + "end": 4991, "loc": { "start": { - "line": 132, + "line": 139, "column": 12 }, "end": { - "line": 132, + "line": 139, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 4782, - "end": 4808, + "start": 4964, + "end": 4990, "loc": { "start": { - "line": 132, + "line": 139, "column": 12 }, "end": { - "line": 132, + "line": 139, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 4782, - "end": 4796, + "start": 4964, + "end": 4978, "loc": { "start": { - "line": 132, + "line": 139, "column": 12 }, "end": { - "line": 132, + "line": 139, "column": 26 } }, "object": { "type": "Identifier", - "start": 4782, - "end": 4791, + "start": 4964, + "end": 4973, "loc": { "start": { - "line": 132, + "line": 139, "column": 12 }, "end": { - "line": 132, + "line": 139, "column": 21 }, "identifierName": "iconNames" @@ -5746,15 +5863,15 @@ }, "property": { "type": "Identifier", - "start": 4792, - "end": 4796, + "start": 4974, + "end": 4978, "loc": { "start": { - "line": 132, + "line": 139, "column": 22 }, "end": { - "line": 132, + "line": 139, "column": 26 }, "identifierName": "push" @@ -5766,29 +5883,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4797, - "end": 4807, + "start": 4979, + "end": 4989, "loc": { "start": { - "line": 132, + "line": 139, "column": 27 }, "end": { - "line": 132, + "line": 139, "column": 37 } }, "object": { "type": "Identifier", - "start": 4797, - "end": 4802, + "start": 4979, + "end": 4984, "loc": { "start": { - "line": 132, + "line": 139, "column": 27 }, "end": { - "line": 132, + "line": 139, "column": 32 }, "identifierName": "pIcon" @@ -5797,15 +5914,15 @@ }, "property": { "type": "Identifier", - "start": 4803, - "end": 4807, + "start": 4985, + "end": 4989, "loc": { "start": { - "line": 132, + "line": 139, "column": 33 }, "end": { - "line": 132, + "line": 139, "column": 37 }, "identifierName": "name" @@ -5826,29 +5943,29 @@ }, { "type": "ReturnStatement", - "start": 4832, - "end": 4849, + "start": 5014, + "end": 5031, "loc": { "start": { - "line": 134, + "line": 141, "column": 8 }, "end": { - "line": 134, + "line": 141, "column": 25 } }, "argument": { "type": "Identifier", - "start": 4839, - "end": 4848, + "start": 5021, + "end": 5030, "loc": { "start": { - "line": 134, + "line": 141, "column": 15 }, "end": { - "line": 134, + "line": 141, "column": 24 }, "identifierName": "iconNames" @@ -5864,15 +5981,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4510, - "end": 4631, + "start": 4692, + "end": 4813, "loc": { "start": { - "line": 124, + "line": 131, "column": 4 }, "end": { - "line": 127, + "line": 134, "column": 7 } } @@ -5882,15 +5999,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4862, - "end": 5063, + "start": 5044, + "end": 5245, "loc": { "start": { - "line": 136, + "line": 143, "column": 4 }, "end": { - "line": 140, + "line": 147, "column": 7 } } @@ -5899,15 +6016,15 @@ }, { "type": "ClassMethod", - "start": 5069, - "end": 5537, + "start": 5251, + "end": 5719, "loc": { "start": { - "line": 141, + "line": 148, "column": 4 }, "end": { - "line": 153, + "line": 160, "column": 5 } }, @@ -5915,15 +6032,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5069, - "end": 5076, + "start": 5251, + "end": 5258, "loc": { "start": { - "line": 141, + "line": 148, "column": 4 }, "end": { - "line": 141, + "line": 148, "column": 11 }, "identifierName": "getIcon" @@ -5939,15 +6056,15 @@ "params": [ { "type": "Identifier", - "start": 5077, - "end": 5082, + "start": 5259, + "end": 5264, "loc": { "start": { - "line": 141, + "line": 148, "column": 12 }, "end": { - "line": 141, + "line": 148, "column": 17 }, "identifierName": "pName" @@ -5957,58 +6074,58 @@ ], "body": { "type": "BlockStatement", - "start": 5084, - "end": 5537, + "start": 5266, + "end": 5719, "loc": { "start": { - "line": 141, + "line": 148, "column": 19 }, "end": { - "line": 153, + "line": 160, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 5095, - "end": 5530, + "start": 5277, + "end": 5712, "loc": { "start": { - "line": 142, + "line": 149, "column": 8 }, "end": { - "line": 152, + "line": 159, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 5099, - "end": 5125, + "start": 5281, + "end": 5307, "loc": { "start": { - "line": 142, + "line": 149, "column": 12 }, "end": { - "line": 142, + "line": 149, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 5099, - "end": 5112, + "start": 5281, + "end": 5294, "loc": { "start": { - "line": 142, + "line": 149, "column": 12 }, "end": { - "line": 142, + "line": 149, "column": 25 } }, @@ -6016,15 +6133,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 5106, - "end": 5111, + "start": 5288, + "end": 5293, "loc": { "start": { - "line": 142, + "line": 149, "column": 19 }, "end": { - "line": 142, + "line": 149, "column": 24 }, "identifierName": "pName" @@ -6032,7 +6149,7 @@ "name": "pName", "extra": { "parenthesized": true, - "parenStart": 5105 + "parenStart": 5287 } }, "extra": { @@ -6042,15 +6159,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 5117, - "end": 5125, + "start": 5299, + "end": 5307, "loc": { "start": { - "line": 142, + "line": 149, "column": 30 }, "end": { - "line": 142, + "line": 149, "column": 38 } }, @@ -6063,73 +6180,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5127, - "end": 5433, + "start": 5309, + "end": 5615, "loc": { "start": { - "line": 142, + "line": 149, "column": 40 }, "end": { - "line": 150, + "line": 157, "column": 9 } }, "body": [ { "type": "ForStatement", - "start": 5142, - "end": 5422, + "start": 5324, + "end": 5604, "loc": { "start": { - "line": 143, + "line": 150, "column": 12 }, "end": { - "line": 149, + "line": 156, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 5147, - "end": 5176, + "start": 5329, + "end": 5358, "loc": { "start": { - "line": 143, + "line": 150, "column": 17 }, "end": { - "line": 143, + "line": 150, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5151, - "end": 5176, + "start": 5333, + "end": 5358, "loc": { "start": { - "line": 143, + "line": 150, "column": 21 }, "end": { - "line": 143, + "line": 150, "column": 46 } }, "id": { "type": "Identifier", - "start": 5151, - "end": 5152, + "start": 5333, + "end": 5334, "loc": { "start": { - "line": 143, + "line": 150, "column": 21 }, "end": { - "line": 143, + "line": 150, "column": 22 }, "identifierName": "i" @@ -6138,72 +6255,72 @@ }, "init": { "type": "BinaryExpression", - "start": 5155, - "end": 5176, + "start": 5337, + "end": 5358, "loc": { "start": { - "line": 143, + "line": 150, "column": 25 }, "end": { - "line": 143, + "line": 150, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 5155, - "end": 5172, + "start": 5337, + "end": 5354, "loc": { "start": { - "line": 143, + "line": 150, "column": 25 }, "end": { - "line": 143, + "line": 150, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 5155, - "end": 5165, + "start": 5337, + "end": 5347, "loc": { "start": { - "line": 143, + "line": 150, "column": 25 }, "end": { - "line": 143, + "line": 150, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 5155, - "end": 5159, + "start": 5337, + "end": 5341, "loc": { "start": { - "line": 143, + "line": 150, "column": 25 }, "end": { - "line": 143, + "line": 150, "column": 29 } } }, "property": { "type": "Identifier", - "start": 5160, - "end": 5165, + "start": 5342, + "end": 5347, "loc": { "start": { - "line": 143, + "line": 150, "column": 30 }, "end": { - "line": 143, + "line": 150, "column": 35 }, "identifierName": "icons" @@ -6214,15 +6331,15 @@ }, "property": { "type": "Identifier", - "start": 5166, - "end": 5172, + "start": 5348, + "end": 5354, "loc": { "start": { - "line": 143, + "line": 150, "column": 36 }, "end": { - "line": 143, + "line": 150, "column": 42 }, "identifierName": "length" @@ -6234,15 +6351,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 5175, - "end": 5176, + "start": 5357, + "end": 5358, "loc": { "start": { - "line": 143, + "line": 150, "column": 45 }, "end": { - "line": 143, + "line": 150, "column": 46 } }, @@ -6259,29 +6376,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5178, - "end": 5184, + "start": 5360, + "end": 5366, "loc": { "start": { - "line": 143, + "line": 150, "column": 48 }, "end": { - "line": 143, + "line": 150, "column": 54 } }, "left": { "type": "Identifier", - "start": 5178, - "end": 5179, + "start": 5360, + "end": 5361, "loc": { "start": { - "line": 143, + "line": 150, "column": 48 }, "end": { - "line": 143, + "line": 150, "column": 49 }, "identifierName": "i" @@ -6291,15 +6408,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 5183, - "end": 5184, + "start": 5365, + "end": 5366, "loc": { "start": { - "line": 143, + "line": 150, "column": 53 }, "end": { - "line": 143, + "line": 150, "column": 54 } }, @@ -6312,15 +6429,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5186, - "end": 5189, + "start": 5368, + "end": 5371, "loc": { "start": { - "line": 143, + "line": 150, "column": 56 }, "end": { - "line": 143, + "line": 150, "column": 59 } }, @@ -6328,15 +6445,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5186, - "end": 5187, + "start": 5368, + "end": 5369, "loc": { "start": { - "line": 143, + "line": 150, "column": 56 }, "end": { - "line": 143, + "line": 150, "column": 57 }, "identifierName": "i" @@ -6346,59 +6463,59 @@ }, "body": { "type": "BlockStatement", - "start": 5191, - "end": 5422, + "start": 5373, + "end": 5604, "loc": { "start": { - "line": 143, + "line": 150, "column": 61 }, "end": { - "line": 149, + "line": 156, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 5210, - "end": 5237, + "start": 5392, + "end": 5419, "loc": { "start": { - "line": 144, + "line": 151, "column": 16 }, "end": { - "line": 144, + "line": 151, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5216, - "end": 5236, + "start": 5398, + "end": 5418, "loc": { "start": { - "line": 144, + "line": 151, "column": 22 }, "end": { - "line": 144, + "line": 151, "column": 42 } }, "id": { "type": "Identifier", - "start": 5216, - "end": 5220, + "start": 5398, + "end": 5402, "loc": { "start": { - "line": 144, + "line": 151, "column": 22 }, "end": { - "line": 144, + "line": 151, "column": 26 }, "identifierName": "icon" @@ -6407,58 +6524,58 @@ }, "init": { "type": "MemberExpression", - "start": 5223, - "end": 5236, + "start": 5405, + "end": 5418, "loc": { "start": { - "line": 144, + "line": 151, "column": 29 }, "end": { - "line": 144, + "line": 151, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 5223, - "end": 5233, + "start": 5405, + "end": 5415, "loc": { "start": { - "line": 144, + "line": 151, "column": 29 }, "end": { - "line": 144, + "line": 151, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 5223, - "end": 5227, + "start": 5405, + "end": 5409, "loc": { "start": { - "line": 144, + "line": 151, "column": 29 }, "end": { - "line": 144, + "line": 151, "column": 33 } } }, "property": { "type": "Identifier", - "start": 5228, - "end": 5233, + "start": 5410, + "end": 5415, "loc": { "start": { - "line": 144, + "line": 151, "column": 34 }, "end": { - "line": 144, + "line": 151, "column": 39 }, "identifierName": "icons" @@ -6469,15 +6586,15 @@ }, "property": { "type": "Identifier", - "start": 5234, - "end": 5235, + "start": 5416, + "end": 5417, "loc": { "start": { - "line": 144, + "line": 151, "column": 40 }, "end": { - "line": 144, + "line": 151, "column": 41 }, "identifierName": "i" @@ -6493,15 +6610,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 5255, - "end": 5305, + "start": 5437, + "end": 5487, "loc": { "start": { - "line": 145, + "line": 152, "column": 16 }, "end": { - "line": 145, + "line": 152, "column": 66 } } @@ -6510,71 +6627,71 @@ }, { "type": "IfStatement", - "start": 5323, - "end": 5407, + "start": 5505, + "end": 5589, "loc": { "start": { - "line": 146, + "line": 153, "column": 16 }, "end": { - "line": 148, + "line": 155, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 5327, - "end": 5351, + "start": 5509, + "end": 5533, "loc": { "start": { - "line": 146, + "line": 153, "column": 20 }, "end": { - "line": 146, + "line": 153, "column": 44 } }, "left": { "type": "CallExpression", - "start": 5327, - "end": 5341, + "start": 5509, + "end": 5523, "loc": { "start": { - "line": 146, + "line": 153, "column": 20 }, "end": { - "line": 146, + "line": 153, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 5327, - "end": 5339, + "start": 5509, + "end": 5521, "loc": { "start": { - "line": 146, + "line": 153, "column": 20 }, "end": { - "line": 146, + "line": 153, "column": 32 } }, "object": { "type": "Identifier", - "start": 5327, - "end": 5331, + "start": 5509, + "end": 5513, "loc": { "start": { - "line": 146, + "line": 153, "column": 20 }, "end": { - "line": 146, + "line": 153, "column": 24 }, "identifierName": "icon" @@ -6584,15 +6701,15 @@ }, "property": { "type": "Identifier", - "start": 5332, - "end": 5339, + "start": 5514, + "end": 5521, "loc": { "start": { - "line": 146, + "line": 153, "column": 25 }, "end": { - "line": 146, + "line": 153, "column": 32 }, "identifierName": "getName" @@ -6608,15 +6725,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5346, - "end": 5351, + "start": 5528, + "end": 5533, "loc": { "start": { - "line": 146, + "line": 153, "column": 39 }, "end": { - "line": 146, + "line": 153, "column": 44 }, "identifierName": "pName" @@ -6627,44 +6744,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 5353, - "end": 5407, + "start": 5535, + "end": 5589, "loc": { "start": { - "line": 146, + "line": 153, "column": 46 }, "end": { - "line": 148, + "line": 155, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 5376, - "end": 5388, + "start": 5558, + "end": 5570, "loc": { "start": { - "line": 147, + "line": 154, "column": 20 }, "end": { - "line": 147, + "line": 154, "column": 32 } }, "argument": { "type": "Identifier", - "start": 5383, - "end": 5387, + "start": 5565, + "end": 5569, "loc": { "start": { - "line": 147, + "line": 154, "column": 27 }, "end": { - "line": 147, + "line": 154, "column": 31 }, "identifierName": "icon" @@ -6680,15 +6797,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 5255, - "end": 5305, + "start": 5437, + "end": 5487, "loc": { "start": { - "line": 145, + "line": 152, "column": 16 }, "end": { - "line": 145, + "line": 152, "column": 66 } } @@ -6704,114 +6821,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 5439, - "end": 5530, + "start": 5621, + "end": 5712, "loc": { "start": { - "line": 150, + "line": 157, "column": 15 }, "end": { - "line": 152, + "line": 159, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5454, - "end": 5519, + "start": 5636, + "end": 5701, "loc": { "start": { - "line": 151, + "line": 158, "column": 12 }, "end": { - "line": 151, + "line": 158, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 5454, - "end": 5518, + "start": 5636, + "end": 5700, "loc": { "start": { - "line": 151, + "line": 158, "column": 12 }, "end": { - "line": 151, + "line": 158, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 5454, - "end": 5491, + "start": 5636, + "end": 5673, "loc": { "start": { - "line": 151, + "line": 158, "column": 12 }, "end": { - "line": 151, + "line": 158, "column": 49 } }, "object": { "type": "CallExpression", - "start": 5454, - "end": 5485, + "start": 5636, + "end": 5667, "loc": { "start": { - "line": 151, + "line": 158, "column": 12 }, "end": { - "line": 151, + "line": 158, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 5454, - "end": 5471, + "start": 5636, + "end": 5653, "loc": { "start": { - "line": 151, + "line": 158, "column": 12 }, "end": { - "line": 151, + "line": 158, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 5454, - "end": 5464, + "start": 5636, + "end": 5646, "loc": { "start": { - "line": 151, + "line": 158, "column": 12 }, "end": { - "line": 151, + "line": 158, "column": 22 } }, "object": { "type": "Identifier", - "start": 5454, - "end": 5457, + "start": 5636, + "end": 5639, "loc": { "start": { - "line": 151, + "line": 158, "column": 12 }, "end": { - "line": 151, + "line": 158, "column": 15 }, "identifierName": "VYI" @@ -6820,15 +6937,15 @@ }, "property": { "type": "Identifier", - "start": 5458, - "end": 5464, + "start": 5640, + "end": 5646, "loc": { "start": { - "line": 151, + "line": 158, "column": 16 }, "end": { - "line": 151, + "line": 158, "column": 22 }, "identifierName": "logger" @@ -6839,15 +6956,15 @@ }, "property": { "type": "Identifier", - "start": 5465, - "end": 5471, + "start": 5647, + "end": 5653, "loc": { "start": { - "line": 151, + "line": 158, "column": 23 }, "end": { - "line": 151, + "line": 158, "column": 29 }, "identifierName": "prefix" @@ -6859,15 +6976,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5472, - "end": 5484, + "start": 5654, + "end": 5666, "loc": { "start": { - "line": 151, + "line": 158, "column": 30 }, "end": { - "line": 151, + "line": 158, "column": 42 } }, @@ -6881,15 +6998,15 @@ }, "property": { "type": "Identifier", - "start": 5486, - "end": 5491, + "start": 5668, + "end": 5673, "loc": { "start": { - "line": 151, + "line": 158, "column": 44 }, "end": { - "line": 151, + "line": 158, "column": 49 }, "identifierName": "error" @@ -6901,15 +7018,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5492, - "end": 5517, + "start": 5674, + "end": 5699, "loc": { "start": { - "line": 151, + "line": 158, "column": 50 }, "end": { - "line": 151, + "line": 158, "column": 75 } }, @@ -6934,15 +7051,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4862, - "end": 5063, + "start": 5044, + "end": 5245, "loc": { "start": { - "line": 136, + "line": 143, "column": 4 }, "end": { - "line": 140, + "line": 147, "column": 7 } } @@ -6951,16 +7068,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5543, - "end": 5626, + "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", + "start": 5725, + "end": 5920, "loc": { "start": { - "line": 154, + "line": 161, "column": 4 }, "end": { - "line": 157, + "line": 167, "column": 7 } } @@ -6969,15 +7086,15 @@ }, { "type": "ClassMethod", - "start": 5632, - "end": 5684, + "start": 5926, + "end": 6194, "loc": { "start": { - "line": 158, + "line": 168, "column": 4 }, "end": { - "line": 160, + "line": 176, "column": 5 } }, @@ -6985,20 +7102,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 5632, - "end": 5640, + "start": 5926, + "end": 5937, "loc": { "start": { - "line": 158, + "line": 168, "column": 4 }, "end": { - "line": 158, - "column": 12 + "line": 168, + "column": 15 }, - "identifierName": "getIcons" + "identifierName": "getIconByID" }, - "name": "getIcons", + "name": "getIconByID", "leadingComments": null }, "kind": "method", @@ -7006,1446 +7123,4024 @@ "generator": false, "expression": false, "async": false, - "params": [], + "params": [ + { + "type": "Identifier", + "start": 5938, + "end": 5941, + "loc": { + "start": { + "line": 168, + "column": 16 + }, + "end": { + "line": 168, + "column": 19 + }, + "identifierName": "pID" + }, + "name": "pID" + } + ], "body": { "type": "BlockStatement", - "start": 5643, - "end": 5684, + "start": 5943, + "end": 6194, "loc": { "start": { - "line": 158, - "column": 15 + "line": 168, + "column": 21 }, "end": { - "line": 160, + "line": 176, "column": 5 } }, "body": [ { - "type": "ReturnStatement", - "start": 5654, - "end": 5677, + "type": "IfStatement", + "start": 5954, + "end": 5971, "loc": { "start": { - "line": 159, + "line": 169, "column": 8 }, "end": { - "line": 159, - "column": 31 + "line": 169, + "column": 25 } }, - "argument": { - "type": "ArrayExpression", - "start": 5661, - "end": 5676, + "test": { + "type": "UnaryExpression", + "start": 5958, + "end": 5962, "loc": { "start": { - "line": 159, - "column": 15 + "line": 169, + "column": 12 }, "end": { - "line": 159, - "column": 30 + "line": 169, + "column": 16 } }, - "elements": [ - { - "type": "SpreadElement", - "start": 5662, - "end": 5675, - "loc": { - "start": { - "line": 159, - "column": 16 - }, - "end": { - "line": 159, - "column": 29 - } + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 5959, + "end": 5962, + "loc": { + "start": { + "line": 169, + "column": 13 }, - "argument": { - "type": "MemberExpression", - "start": 5665, - "end": 5675, - "loc": { - "start": { - "line": 159, - "column": 19 - }, - "end": { - "line": 159, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 5665, - "end": 5669, - "loc": { - "start": { - "line": 159, - "column": 19 - }, - "end": { - "line": 159, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 5670, - "end": 5675, - "loc": { - "start": { - "line": 159, - "column": 24 - }, - "end": { - "line": 159, - "column": 29 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5543, - "end": 5626, - "loc": { - "start": { - "line": 154, - "column": 4 + "end": { + "line": 169, + "column": 16 + }, + "identifierName": "pID" + }, + "name": "pID" + }, + "extra": { + "parenthesizedArgument": false + } }, - "end": { - "line": 157, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5690, - "end": 5792, - "loc": { - "start": { - "line": 161, - "column": 4 + "consequent": { + "type": "ReturnStatement", + "start": 5964, + "end": 5971, + "loc": { + "start": { + "line": 169, + "column": 18 + }, + "end": { + "line": 169, + "column": 25 + } + }, + "argument": null }, - "end": { - "line": 164, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5798, - "end": 6131, - "loc": { - "start": { - "line": 165, - "column": 4 - }, - "end": { - "line": 176, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5798, - "end": 5804, - "loc": { - "start": { - "line": 165, - "column": 4 - }, - "end": { - "line": 165, - "column": 10 - }, - "identifierName": "export" - }, - "name": "export", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5807, - "end": 6131, - "loc": { - "start": { - "line": 165, - "column": 13 + "alternate": null }, - "end": { - "line": 176, - "column": 5 - } - }, - "body": [ { - "type": "VariableDeclaration", - "start": 5818, - "end": 5833, + "type": "ForOfStatement", + "start": 5981, + "end": 6187, "loc": { "start": { - "line": 166, + "line": 170, "column": 8 }, "end": { - "line": 166, - "column": 23 + "line": 175, + "column": 9 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 5824, - "end": 5832, - "loc": { - "start": { - "line": 166, - "column": 14 - }, - "end": { - "line": 166, - "column": 22 - } - }, - "id": { - "type": "Identifier", - "start": 5824, - "end": 5827, - "loc": { - "start": { - "line": 166, - "column": 14 - }, - "end": { - "line": 166, - "column": 17 - }, - "identifierName": "vyi" - }, - "name": "vyi" + "left": { + "type": "VariableDeclaration", + "start": 5986, + "end": 5996, + "loc": { + "start": { + "line": 170, + "column": 13 }, - "init": { - "type": "ObjectExpression", - "start": 5830, - "end": 5832, + "end": { + "line": 170, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5992, + "end": 5996, "loc": { "start": { - "line": 166, - "column": 20 + "line": 170, + "column": 19 }, "end": { - "line": 166, - "column": 22 + "line": 170, + "column": 23 } }, - "properties": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set version", - "start": 5843, - "end": 5857, - "loc": { - "start": { - "line": 167, - "column": 8 + "id": { + "type": "Identifier", + "start": 5992, + "end": 5996, + "loc": { + "start": { + "line": 170, + "column": 19 + }, + "end": { + "line": 170, + "column": 23 + }, + "identifierName": "icon" + }, + "name": "icon" }, - "end": { - "line": 167, - "column": 22 - } + "init": null } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 5867, - "end": 5894, - "loc": { - "start": { - "line": 168, - "column": 8 - }, - "end": { - "line": 168, - "column": 35 - } + ], + "kind": "const" }, - "expression": { - "type": "AssignmentExpression", - "start": 5867, - "end": 5893, + "right": { + "type": "MemberExpression", + "start": 6000, + "end": 6010, "loc": { "start": { - "line": 168, - "column": 8 + "line": 170, + "column": 27 }, "end": { - "line": 168, - "column": 34 + "line": 170, + "column": 37 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5867, - "end": 5872, + "object": { + "type": "ThisExpression", + "start": 6000, + "end": 6004, "loc": { "start": { - "line": 168, - "column": 8 + "line": 170, + "column": 27 }, "end": { - "line": 168, - "column": 13 + "line": 170, + "column": 31 } - }, - "object": { - "type": "Identifier", - "start": 5867, - "end": 5870, - "loc": { - "start": { - "line": 168, - "column": 8 - }, - "end": { - "line": 168, - "column": 11 - }, - "identifierName": "vyi" + } + }, + "property": { + "type": "Identifier", + "start": 6005, + "end": 6010, + "loc": { + "start": { + "line": 170, + "column": 32 }, - "name": "vyi", - "leadingComments": null + "end": { + "line": 170, + "column": 37 + }, + "identifierName": "icons" }, - "property": { - "type": "Identifier", - "start": 5871, - "end": 5872, - "loc": { - "start": { - "line": 168, - "column": 12 - }, - "end": { - "line": 168, - "column": 13 - }, - "identifierName": "v" - }, - "name": "v" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 5875, - "end": 5893, - "loc": { - "start": { - "line": 168, - "column": 16 - }, - "end": { - "line": 168, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 5875, - "end": 5879, - "loc": { - "start": { - "line": 168, - "column": 16 - }, - "end": { - "line": 168, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 5880, - "end": 5893, - "loc": { - "start": { - "line": 168, - "column": 21 - }, - "end": { - "line": 168, - "column": 34 - }, - "identifierName": "formatVersion" - }, - "name": "formatVersion" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set version", - "start": 5843, - "end": 5857, - "loc": { - "start": { - "line": 167, - "column": 8 - }, - "end": { - "line": 167, - "column": 22 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set the icons array", - "start": 5904, - "end": 5926, - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 30 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 5936, - "end": 5947, - "loc": { - "start": { - "line": 170, - "column": 8 + "name": "icons" }, - "end": { - "line": 170, - "column": 19 - } + "computed": false }, - "expression": { - "type": "AssignmentExpression", - "start": 5936, - "end": 5946, + "body": { + "type": "BlockStatement", + "start": 6012, + "end": 6187, "loc": { "start": { "line": 170, - "column": 8 + "column": 39 }, "end": { - "line": 170, - "column": 18 + "line": 175, + "column": 9 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5936, - "end": 5941, - "loc": { - "start": { - "line": 170, - "column": 8 - }, - "end": { - "line": 170, - "column": 13 - } - }, - "object": { - "type": "Identifier", - "start": 5936, - "end": 5939, - "loc": { - "start": { - "line": 170, - "column": 8 - }, - "end": { - "line": 170, - "column": 11 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 5940, - "end": 5941, + "body": [ + { + "type": "ForOfStatement", + "start": 6027, + "end": 6129, "loc": { "start": { - "line": 170, + "line": 171, "column": 12 }, "end": { - "line": 170, + "line": 173, "column": 13 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "ArrayExpression", - "start": 5944, - "end": 5946, - "loc": { - "start": { - "line": 170, - "column": 16 - }, - "end": { - "line": 170, - "column": 18 - } - }, - "elements": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set the icons array", - "start": 5904, - "end": 5926, - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 30 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 5957, - "end": 6103, - "loc": { - "start": { - "line": 171, - "column": 8 - }, - "end": { - "line": 174, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 5957, - "end": 6102, - "loc": { - "start": { - "line": 171, - "column": 8 - }, - "end": { - "line": 174, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5957, - "end": 5975, - "loc": { - "start": { - "line": 171, - "column": 8 - }, - "end": { - "line": 171, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 5957, - "end": 5967, - "loc": { - "start": { - "line": 171, - "column": 8 - }, - "end": { - "line": 171, - "column": 18 } }, - "object": { - "type": "ThisExpression", - "start": 5957, - "end": 5961, + "left": { + "type": "VariableDeclaration", + "start": 6032, + "end": 6043, "loc": { "start": { "line": 171, - "column": 8 + "column": 17 }, "end": { "line": 171, - "column": 12 + "column": 28 } - } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6038, + "end": 6043, + "loc": { + "start": { + "line": 171, + "column": 23 + }, + "end": { + "line": 171, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 6038, + "end": 6043, + "loc": { + "start": { + "line": 171, + "column": 23 + }, + "end": { + "line": 171, + "column": 28 + }, + "identifierName": "state" + }, + "name": "state" + }, + "init": null + } + ], + "kind": "const" }, - "property": { - "type": "Identifier", - "start": 5962, - "end": 5967, + "right": { + "type": "MemberExpression", + "start": 6047, + "end": 6058, "loc": { "start": { "line": 171, - "column": 13 + "column": 32 }, "end": { "line": 171, - "column": 18 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5968, - "end": 5975, - "loc": { - "start": { - "line": 171, - "column": 19 - }, - "end": { - "line": 171, - "column": 26 + "column": 43 + } }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 5976, - "end": 6101, - "loc": { - "start": { - "line": 171, - "column": 27 + "object": { + "type": "Identifier", + "start": 6047, + "end": 6051, + "loc": { + "start": { + "line": 171, + "column": 32 + }, + "end": { + "line": 171, + "column": 36 + }, + "identifierName": "icon" + }, + "name": "icon" }, - "end": { - "line": 174, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "property": { "type": "Identifier", - "start": 5977, - "end": 5982, + "start": 6052, + "end": 6058, "loc": { "start": { "line": 171, - "column": 28 + "column": 37 }, "end": { "line": 171, - "column": 33 + "column": 43 }, - "identifierName": "pIcon" + "identifierName": "states" }, - "name": "pIcon" - } - ], + "name": "states" + }, + "computed": false + }, "body": { "type": "BlockStatement", - "start": 5987, - "end": 6101, + "start": 6060, + "end": 6129, "loc": { "start": { "line": 171, - "column": 38 + "column": 45 }, "end": { - "line": 174, - "column": 9 + "line": 173, + "column": 13 } }, "body": [ { - "type": "ExpressionStatement", - "start": 6063, - "end": 6090, + "type": "IfStatement", + "start": 6079, + "end": 6114, "loc": { "start": { - "line": 173, - "column": 12 + "line": 172, + "column": 16 }, "end": { - "line": 173, - "column": 39 + "line": 172, + "column": 51 } }, - "expression": { - "type": "CallExpression", - "start": 6063, - "end": 6089, + "test": { + "type": "BinaryExpression", + "start": 6083, + "end": 6099, "loc": { "start": { - "line": 173, - "column": 12 + "line": 172, + "column": 20 }, "end": { - "line": 173, - "column": 38 + "line": 172, + "column": 36 } }, - "callee": { + "left": { "type": "MemberExpression", - "start": 6063, - "end": 6073, + "start": 6083, + "end": 6091, "loc": { "start": { - "line": 173, - "column": 12 + "line": 172, + "column": 20 }, "end": { - "line": 173, - "column": 22 + "line": 172, + "column": 28 } }, "object": { - "type": "MemberExpression", - "start": 6063, - "end": 6068, + "type": "Identifier", + "start": 6083, + "end": 6088, "loc": { "start": { - "line": 173, - "column": 12 + "line": 172, + "column": 20 }, "end": { - "line": 173, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 6063, - "end": 6066, - "loc": { - "start": { - "line": 173, - "column": 12 - }, - "end": { - "line": 173, - "column": 15 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6067, - "end": 6068, - "loc": { - "start": { - "line": 173, - "column": 16 - }, - "end": { - "line": 173, - "column": 17 - }, - "identifierName": "i" + "line": 172, + "column": 25 }, - "name": "i" + "identifierName": "state" }, - "computed": false, - "leadingComments": null + "name": "state" }, "property": { "type": "Identifier", - "start": 6069, - "end": 6073, + "start": 6089, + "end": 6091, "loc": { "start": { - "line": 173, - "column": 18 + "line": 172, + "column": 26 }, "end": { - "line": 173, - "column": 22 + "line": 172, + "column": 28 }, - "identifierName": "push" + "identifierName": "id" }, - "name": "push" + "name": "id" }, - "computed": false, - "leadingComments": null + "computed": false }, - "arguments": [ - { - "type": "CallExpression", - "start": 6074, - "end": 6088, - "loc": { - "start": { - "line": 173, - "column": 23 - }, - "end": { - "line": 173, - "column": 37 - } + "operator": "===", + "right": { + "type": "Identifier", + "start": 6096, + "end": 6099, + "loc": { + "start": { + "line": 172, + "column": 33 }, - "callee": { - "type": "MemberExpression", - "start": 6074, - "end": 6086, - "loc": { - "start": { - "line": 173, - "column": 23 - }, - "end": { - "line": 173, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 6074, - "end": 6079, - "loc": { - "start": { - "line": 173, - "column": 23 - }, - "end": { - "line": 173, - "column": 28 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - }, - "property": { - "type": "Identifier", - "start": 6080, - "end": 6086, - "loc": { - "start": { - "line": 173, - "column": 29 - }, - "end": { - "line": 173, - "column": 35 - }, - "identifierName": "export" - }, - "name": "export" - }, - "computed": false + "end": { + "line": 172, + "column": 36 }, - "arguments": [] - } - ], - "leadingComments": null + "identifierName": "pID" + }, + "name": "pID" + } }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Push the icon data to the vyi export object.", - "start": 6002, - "end": 6049, + "consequent": { + "type": "ReturnStatement", + "start": 6101, + "end": 6114, + "loc": { + "start": { + "line": 172, + "column": 38 + }, + "end": { + "line": 172, + "column": 51 + } + }, + "argument": { + "type": "Identifier", + "start": 6108, + "end": 6113, "loc": { "start": { "line": 172, - "column": 12 + "column": 45 }, "end": { "line": 172, - "column": 59 - } - } + "column": 50 + }, + "identifierName": "state" + }, + "name": "state" } - ] + }, + "alternate": null } ], "directives": [] } - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 6113, - "end": 6124, - "loc": { - "start": { - "line": 175, - "column": 8 - }, - "end": { - "line": 175, - "column": 19 - } - }, - "argument": { - "type": "Identifier", - "start": 6120, - "end": 6123, - "loc": { - "start": { - "line": 175, - "column": 15 - }, - "end": { - "line": 175, - "column": 18 }, - "identifierName": "vyi" - }, - "name": "vyi" - } - } - ], - "directives": [] - }, + { + "type": "IfStatement", + "start": 6143, + "end": 6176, + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 45 + } + }, + "test": { + "type": "BinaryExpression", + "start": 6147, + "end": 6162, + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 31 + } + }, + "left": { + "type": "MemberExpression", + "start": 6147, + "end": 6154, + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 6147, + "end": 6151, + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 20 + }, + "identifierName": "icon" + }, + "name": "icon" + }, + "property": { + "type": "Identifier", + "start": 6152, + "end": 6154, + "loc": { + "start": { + "line": 174, + "column": 21 + }, + "end": { + "line": 174, + "column": 23 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 6159, + "end": 6162, + "loc": { + "start": { + "line": 174, + "column": 28 + }, + "end": { + "line": 174, + "column": 31 + }, + "identifierName": "pID" + }, + "name": "pID" + } + }, + "consequent": { + "type": "ReturnStatement", + "start": 6164, + "end": 6176, + "loc": { + "start": { + "line": 174, + "column": 33 + }, + "end": { + "line": 174, + "column": 45 + } + }, + "argument": { + "type": "Identifier", + "start": 6171, + "end": 6175, + "loc": { + "start": { + "line": 174, + "column": 40 + }, + "end": { + "line": 174, + "column": 44 + }, + "identifierName": "icon" + }, + "name": "icon" + } + }, + "alternate": null + } + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5690, - "end": 5792, + "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", + "start": 5725, + "end": 5920, "loc": { "start": { "line": 161, "column": 4 }, "end": { - "line": 164, + "line": 167, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", + "start": 6200, + "end": 6283, + "loc": { + "start": { + "line": 177, + "column": 4 + }, + "end": { + "line": 180, "column": 7 } } } ] - } - ] - }, - "leadingComments": [], - "trailingComments": [] + }, + { + "type": "ClassMethod", + "start": 6289, + "end": 6341, + "loc": { + "start": { + "line": 181, + "column": 4 + }, + "end": { + "line": 183, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6289, + "end": 6297, + "loc": { + "start": { + "line": 181, + "column": 4 + }, + "end": { + "line": 181, + "column": 12 + }, + "identifierName": "getIcons" + }, + "name": "getIcons", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 6300, + "end": 6341, + "loc": { + "start": { + "line": 181, + "column": 15 + }, + "end": { + "line": 183, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6311, + "end": 6334, + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 31 + } + }, + "argument": { + "type": "ArrayExpression", + "start": 6318, + "end": 6333, + "loc": { + "start": { + "line": 182, + "column": 15 + }, + "end": { + "line": 182, + "column": 30 + } + }, + "elements": [ + { + "type": "SpreadElement", + "start": 6319, + "end": 6332, + "loc": { + "start": { + "line": 182, + "column": 16 + }, + "end": { + "line": 182, + "column": 29 + } + }, + "argument": { + "type": "MemberExpression", + "start": 6322, + "end": 6332, + "loc": { + "start": { + "line": 182, + "column": 19 + }, + "end": { + "line": 182, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 6322, + "end": 6326, + "loc": { + "start": { + "line": 182, + "column": 19 + }, + "end": { + "line": 182, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 6327, + "end": 6332, + "loc": { + "start": { + "line": 182, + "column": 24 + }, + "end": { + "line": 182, + "column": 29 + }, + "identifierName": "icons" + }, + "name": "icons" + }, + "computed": false + } + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", + "start": 6200, + "end": 6283, + "loc": { + "start": { + "line": 177, + "column": 4 + }, + "end": { + "line": 180, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", + "start": 6347, + "end": 6449, + "loc": { + "start": { + "line": 184, + "column": 4 + }, + "end": { + "line": 187, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 6455, + "end": 6788, + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 199, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6455, + "end": 6461, + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 188, + "column": 10 + }, + "identifierName": "export" + }, + "name": "export", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 6464, + "end": 6788, + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 199, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 6475, + "end": 6490, + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6481, + "end": 6489, + "loc": { + "start": { + "line": 189, + "column": 14 + }, + "end": { + "line": 189, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 6481, + "end": 6484, + "loc": { + "start": { + "line": 189, + "column": 14 + }, + "end": { + "line": 189, + "column": 17 + }, + "identifierName": "vyi" + }, + "name": "vyi" + }, + "init": { + "type": "ObjectExpression", + "start": 6487, + "end": 6489, + "loc": { + "start": { + "line": 189, + "column": 20 + }, + "end": { + "line": 189, + "column": 22 + } + }, + "properties": [] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Set version", + "start": 6500, + "end": 6514, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 22 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 6524, + "end": 6551, + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6524, + "end": 6550, + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6524, + "end": 6529, + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 6524, + "end": 6527, + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 11 + }, + "identifierName": "vyi" + }, + "name": "vyi", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 6528, + "end": 6529, + "loc": { + "start": { + "line": 191, + "column": 12 + }, + "end": { + "line": 191, + "column": 13 + }, + "identifierName": "v" + }, + "name": "v" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 6532, + "end": 6550, + "loc": { + "start": { + "line": 191, + "column": 16 + }, + "end": { + "line": 191, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 6532, + "end": 6536, + "loc": { + "start": { + "line": 191, + "column": 16 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 6537, + "end": 6550, + "loc": { + "start": { + "line": 191, + "column": 21 + }, + "end": { + "line": 191, + "column": 34 + }, + "identifierName": "formatVersion" + }, + "name": "formatVersion" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Set version", + "start": 6500, + "end": 6514, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 22 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Set the icons array", + "start": 6561, + "end": 6583, + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 6593, + "end": 6604, + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6593, + "end": 6603, + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6593, + "end": 6598, + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 6593, + "end": 6596, + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 11 + }, + "identifierName": "vyi" + }, + "name": "vyi", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 6597, + "end": 6598, + "loc": { + "start": { + "line": 193, + "column": 12 + }, + "end": { + "line": 193, + "column": 13 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrayExpression", + "start": 6601, + "end": 6603, + "loc": { + "start": { + "line": 193, + "column": 16 + }, + "end": { + "line": 193, + "column": 18 + } + }, + "elements": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Set the icons array", + "start": 6561, + "end": 6583, + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 6614, + "end": 6760, + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 197, + "column": 11 + } + }, + "expression": { + "type": "CallExpression", + "start": 6614, + "end": 6759, + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 197, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6614, + "end": 6632, + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 194, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 6614, + "end": 6624, + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 194, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 6614, + "end": 6618, + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 194, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 6619, + "end": 6624, + "loc": { + "start": { + "line": 194, + "column": 13 + }, + "end": { + "line": 194, + "column": 18 + }, + "identifierName": "icons" + }, + "name": "icons" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6625, + "end": 6632, + "loc": { + "start": { + "line": 194, + "column": 19 + }, + "end": { + "line": 194, + "column": 26 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 6633, + "end": 6758, + "loc": { + "start": { + "line": 194, + "column": 27 + }, + "end": { + "line": 197, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6634, + "end": 6639, + "loc": { + "start": { + "line": 194, + "column": 28 + }, + "end": { + "line": 194, + "column": 33 + }, + "identifierName": "pIcon" + }, + "name": "pIcon" + } + ], + "body": { + "type": "BlockStatement", + "start": 6644, + "end": 6758, + "loc": { + "start": { + "line": 194, + "column": 38 + }, + "end": { + "line": 197, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6720, + "end": 6747, + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 6720, + "end": 6746, + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6720, + "end": 6730, + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 6720, + "end": 6725, + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 6720, + "end": 6723, + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 15 + }, + "identifierName": "vyi" + }, + "name": "vyi", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 6724, + "end": 6725, + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 17 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 6726, + "end": 6730, + "loc": { + "start": { + "line": 196, + "column": 18 + }, + "end": { + "line": 196, + "column": 22 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "CallExpression", + "start": 6731, + "end": 6745, + "loc": { + "start": { + "line": 196, + "column": 23 + }, + "end": { + "line": 196, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6731, + "end": 6743, + "loc": { + "start": { + "line": 196, + "column": 23 + }, + "end": { + "line": 196, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 6731, + "end": 6736, + "loc": { + "start": { + "line": 196, + "column": 23 + }, + "end": { + "line": 196, + "column": 28 + }, + "identifierName": "pIcon" + }, + "name": "pIcon" + }, + "property": { + "type": "Identifier", + "start": 6737, + "end": 6743, + "loc": { + "start": { + "line": 196, + "column": 29 + }, + "end": { + "line": 196, + "column": 35 + }, + "identifierName": "export" + }, + "name": "export" + }, + "computed": false + }, + "arguments": [] + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Push the icon data to the vyi export object.", + "start": 6659, + "end": 6706, + "loc": { + "start": { + "line": 195, + "column": 12 + }, + "end": { + "line": 195, + "column": 59 + } + } + } + ] + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 6770, + "end": 6781, + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 19 + } + }, + "argument": { + "type": "Identifier", + "start": 6777, + "end": 6780, + "loc": { + "start": { + "line": 198, + "column": 15 + }, + "end": { + "line": 198, + "column": 18 + }, + "identifierName": "vyi" + }, + "name": "vyi" + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", + "start": 6347, + "end": 6449, + "loc": { + "start": { + "line": 184, + "column": 4 + }, + "end": { + "line": 187, + "column": 7 + } + } + } + ] + } + ] + }, + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\r\n\t * The version of the module.\r\n\t ", + "start": 106, + "end": 147, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 7, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", + "start": 194, + "end": 303, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", + "start": 344, + "end": 445, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", + "start": 468, + "end": 550, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", + "start": 595, + "end": 679, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", + "start": 705, + "end": 846, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 37, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", + "start": 875, + "end": 1064, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 42, + "column": 6 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", + "start": 1419, + "end": 1744, + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 58, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " If the data is a path then we need to use fetch to acquire the data first", + "start": 1861, + "end": 1937, + "loc": { + "start": { + "line": 63, + "column": 16 + }, + "end": { + "line": 63, + "column": 92 + } + } + }, + { + "type": "CommentLine", + "value": " If there is data to parse", + "start": 2272, + "end": 2300, + "loc": { + "start": { + "line": 71, + "column": 16 + }, + "end": { + "line": 71, + "column": 44 + } + } + }, + { + "type": "CommentLine", + "value": " Then parse through it", + "start": 2318, + "end": 2342, + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", + "start": 2392, + "end": 2521, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 77, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", + "start": 2585, + "end": 2738, + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 82, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": " Loop through the icons and add them to the vyi module instance.", + "start": 2869, + "end": 2935, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 90 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", + "start": 3411, + "end": 3580, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 103, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Add the icon to the icons array.", + "start": 3755, + "end": 3790, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 51 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", + "start": 4105, + "end": 4437, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 122, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", + "start": 4692, + "end": 4813, + "loc": { + "start": { + "line": 131, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Array to store the icon names.", + "start": 4845, + "end": 4878, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 41 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", + "start": 5044, + "end": 5245, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 147, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " If the icon has the same name, return that icon", + "start": 5437, + "end": 5487, + "loc": { + "start": { + "line": 152, + "column": 16 + }, + "end": { + "line": 152, + "column": 66 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", + "start": 5725, + "end": 5920, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 167, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", + "start": 6200, + "end": 6283, + "loc": { + "start": { + "line": 177, + "column": 4 + }, + "end": { + "line": 180, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", + "start": 6347, + "end": 6449, + "loc": { + "start": { + "line": 184, + "column": 4 + }, + "end": { + "line": 187, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " Set version", + "start": 6500, + "end": 6514, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " Set the icons array", + "start": 6561, + "end": 6583, + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " Push the icon data to the vyi export object.", + "start": 6659, + "end": 6706, + "loc": { + "start": { + "line": 195, + "column": 12 + }, + "end": { + "line": 195, + "column": 59 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Logger", + "start": 9, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16, + "end": 17, + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 18, + "end": 22, + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./vendor/logger.mjs", + "start": 23, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 23 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 44, + "end": 45, + "loc": { + "start": { + "line": 1, + "column": 44 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 47, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 54, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Icon", + "start": 56, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 63, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./icon.mjs", + "start": 68, + "end": 80, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 80, + "end": 81, + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 85, + "end": 91, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 92, + "end": 97, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VYI", + "start": 98, + "end": 101, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 102, + "end": 103, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n\t * The version of the module.\r\n\t ", + "start": 106, + "end": 147, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 7, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 150, + "end": 156, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "version", + "start": 157, + "end": 164, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 165, + "end": 166, + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "VERSION_REPLACE_ME", + "start": 167, + "end": 187, + "loc": { + "start": { + "line": 8, + "column": 18 + }, + "end": { + "line": 8, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 187, + "end": 188, + "loc": { + "start": { + "line": 8, + "column": 38 + }, + "end": { + "line": 8, + "column": 39 + } + } + }, + { + "type": "CommentBlock", + "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", + "start": 194, + "end": 303, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "static", + "start": 309, + "end": 315, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "logger", + "start": 316, + "end": 322, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 323, + "end": 324, + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "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": 325, + "end": 328, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Logger", + "start": 329, + "end": 335, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 335, + "end": 336, + "loc": { + "start": { + "line": 13, + "column": 30 + }, + "end": { + "line": 13, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 336, + "end": 337, + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 337, + "end": 338, + "loc": { + "start": { + "line": 13, + "column": 32 + }, + "end": { + "line": 13, + "column": 33 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", + "start": 344, + "end": 445, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "icons", + "start": 451, + "end": 456, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 457, + "end": 458, + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 11 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 459, + "end": 460, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 461, + "end": 462, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", + "start": 468, + "end": 550, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 556, + "end": 560, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "failed-to-find-vyi-name", + "start": 563, + "end": 588, + "loc": { + "start": { + "line": 25, + "column": 11 + }, + "end": { + "line": 25, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 588, + "end": 589, + "loc": { + "start": { + "line": 25, + "column": 36 + }, + "end": { + "line": 25, + "column": 37 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", + "start": 595, + "end": 679, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "formatVersion", + "start": 685, + "end": 698, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 17 } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "*\r\n\t * The version of the module.\r\n\t ", - "start": 106, - "end": 147, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 698, + "end": 699, "loc": { "start": { - "line": 5, - "column": 1 + "line": 31, + "column": 17 }, "end": { - "line": 7, - "column": 4 + "line": 31, + "column": 18 } } }, { "type": "CommentBlock", - "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", - "start": 194, - "end": 303, + "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", + "start": 705, + "end": 846, "loc": { "start": { - "line": 9, + "line": 32, "column": 4 }, "end": { - "line": 12, + "line": 37, "column": 7 } } }, { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", - "start": 344, - "end": 445, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reservedIDs", + "start": 852, + "end": 863, "loc": { "start": { - "line": 14, + "line": 38, "column": 4 }, "end": { - "line": 18, - "column": 7 + "line": 38, + "column": 15 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", - "start": 468, - "end": 550, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 864, + "end": 865, "loc": { "start": { - "line": 20, - "column": 4 + "line": 38, + "column": 16 }, "end": { - "line": 24, - "column": 7 + "line": 38, + "column": 17 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", - "start": 595, - "end": 679, + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 866, + "end": 867, "loc": { "start": { - "line": 26, - "column": 4 + "line": 38, + "column": 18 }, "end": { - "line": 30, - "column": 7 + "line": 38, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 867, + "end": 868, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 868, + "end": 869, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", - "start": 705, - "end": 894, + "start": 875, + "end": 1064, "loc": { "start": { - "line": 32, + "line": 39, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1249, - "end": 1574, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 1070, + "end": 1081, "loc": { "start": { - "line": 46, + "line": 43, "column": 4 }, "end": { - "line": 51, - "column": 7 + "line": 43, + "column": 15 } } }, { - "type": "CommentLine", - "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1691, - "end": 1767, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1081, + "end": 1082, "loc": { "start": { - "line": 56, - "column": 16 + "line": 43, + "column": 15 }, "end": { - "line": 56, - "column": 92 + "line": 43, + "column": 16 } } }, { - "type": "CommentLine", - "value": " If there is data to parse", - "start": 2102, - "end": 2130, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pVYIData", + "start": 1082, + "end": 1090, "loc": { "start": { - "line": 64, + "line": 43, "column": 16 }, "end": { - "line": 64, - "column": 44 + "line": 43, + "column": 24 } } }, { - "type": "CommentLine", - "value": " Then parse through it", - "start": 2148, - "end": 2172, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1090, + "end": 1091, "loc": { "start": { - "line": 65, - "column": 16 + "line": 43, + "column": 24 }, "end": { - "line": 65, - "column": 40 + "line": 43, + "column": 25 } } }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2222, - "end": 2351, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1092, + "end": 1093, "loc": { "start": { - "line": 67, - "column": 20 + "line": 43, + "column": 26 }, "end": { - "line": 70, - "column": 23 + "line": 43, + "column": 27 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2415, - "end": 2568, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VYI", + "start": 1103, + "end": 1106, "loc": { "start": { - "line": 72, - "column": 20 + "line": 44, + "column": 8 }, "end": { - "line": 75, - "column": 23 + "line": 44, + "column": 11 } } }, { - "type": "CommentLine", - "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2699, - "end": 2765, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1106, + "end": 1107, "loc": { "start": { - "line": 79, - "column": 24 + "line": 44, + "column": 11 }, "end": { - "line": 79, - "column": 90 + "line": 44, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3235, - "end": 3404, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "logger", + "start": 1107, + "end": 1113, "loc": { "start": { - "line": 92, - "column": 4 + "line": 44, + "column": 12 }, "end": { - "line": 96, - "column": 7 + "line": 44, + "column": 18 } } }, { - "type": "CommentLine", - "value": " Add the icon to the icons array.", - "start": 3573, - "end": 3608, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1113, + "end": 1114, "loc": { "start": { - "line": 101, - "column": 16 + "line": 44, + "column": 18 }, "end": { - "line": 101, - "column": 51 + "line": 44, + "column": 19 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3923, - "end": 4255, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "registerType", + "start": 1114, + "end": 1126, "loc": { "start": { - "line": 111, - "column": 4 + "line": 44, + "column": 19 }, "end": { - "line": 115, - "column": 7 + "line": 44, + "column": 31 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4510, - "end": 4631, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1126, + "end": 1127, "loc": { "start": { - "line": 124, - "column": 4 + "line": 44, + "column": 31 }, "end": { - "line": 127, - "column": 7 + "line": 44, + "column": 32 } } }, { - "type": "CommentLine", - "value": " Array to store the icon names.", - "start": 4663, - "end": 4696, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "VYI-Module", + "start": 1127, + "end": 1139, "loc": { "start": { - "line": 129, - "column": 8 + "line": 44, + "column": 32 }, "end": { - "line": 129, - "column": 41 + "line": 44, + "column": 44 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4862, - "end": 5063, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1139, + "end": 1140, "loc": { "start": { - "line": 136, - "column": 4 + "line": 44, + "column": 44 }, "end": { - "line": 140, - "column": 7 + "line": 44, + "column": 45 } } }, { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 5255, - "end": 5305, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "#ff6600", + "start": 1141, + "end": 1150, "loc": { "start": { - "line": 145, - "column": 16 + "line": 44, + "column": 46 }, "end": { - "line": 145, - "column": 66 + "line": 44, + "column": 55 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5543, - "end": 5626, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1150, + "end": 1151, "loc": { "start": { - "line": 154, - "column": 4 + "line": 44, + "column": 55 }, "end": { - "line": 157, - "column": 7 + "line": 44, + "column": 56 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5690, - "end": 5792, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1151, + "end": 1152, "loc": { "start": { - "line": 161, - "column": 4 + "line": 44, + "column": 56 }, "end": { - "line": 164, - "column": 7 + "line": 44, + "column": 57 } } }, { - "type": "CommentLine", - "value": " Set version", - "start": 5843, - "end": 5857, + "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": 1162, + "end": 1164, "loc": { "start": { - "line": 167, + "line": 45, "column": 8 }, "end": { - "line": 167, - "column": 22 + "line": 45, + "column": 10 } } }, { - "type": "CommentLine", - "value": " Set the icons array", - "start": 5904, - "end": 5926, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1165, + "end": 1166, "loc": { "start": { - "line": 169, - "column": 8 + "line": 45, + "column": 11 }, "end": { - "line": 169, - "column": 30 + "line": 45, + "column": 12 } } }, { - "type": "CommentLine", - "value": " Push the icon data to the vyi export object.", - "start": 6002, - "end": 6049, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pVYIData", + "start": 1166, + "end": 1174, "loc": { "start": { - "line": 172, + "line": 45, "column": 12 }, "end": { - "line": 172, - "column": 59 + "line": 45, + "column": 20 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 0, - "end": 6, + "start": 1174, + "end": 1175, "loc": { "start": { - "line": 1, - "column": 0 + "line": 45, + "column": 20 }, "end": { - "line": 1, - "column": 6 + "line": 45, + "column": 21 } } }, @@ -8461,50 +11156,52 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "start": 1176, + "end": 1177, "loc": { "start": { - "line": 1, - "column": 7 + "line": 45, + "column": 22 }, "end": { - "line": 1, - "column": 8 + "line": 45, + "column": 23 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Logger", - "start": 9, - "end": 15, + "value": "if", + "start": 1191, + "end": 1193, "loc": { "start": { - "line": 1, - "column": 9 + "line": 46, + "column": 12 }, "end": { - "line": 1, - "column": 15 + "line": 46, + "column": 14 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8512,16 +11209,16 @@ "postfix": false, "binop": null }, - "start": 16, - "end": 17, + "start": 1194, + "end": 1195, "loc": { "start": { - "line": 1, - "column": 16 + "line": 46, + "column": 15 }, "end": { - "line": 1, - "column": 17 + "line": 46, + "column": 16 } } }, @@ -8537,98 +11234,96 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 18, - "end": 22, + "value": "pVYIData", + "start": 1195, + "end": 1203, "loc": { "start": { - "line": 1, - "column": 18 + "line": 46, + "column": 16 }, "end": { - "line": 1, - "column": 22 + "line": 46, + "column": 24 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "instanceof", + "keyword": "instanceof", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "./vendor/logger.mjs", - "start": 23, - "end": 44, + "value": "instanceof", + "start": 1204, + "end": 1214, "loc": { "start": { - "line": 1, - "column": 23 + "line": 46, + "column": 25 }, "end": { - "line": 1, - "column": 44 + "line": 46, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 44, - "end": 45, + "value": "Object", + "start": 1215, + "end": 1221, "loc": { "start": { - "line": 1, - "column": 44 + "line": 46, + "column": 36 }, "end": { - "line": 1, - "column": 45 + "line": 46, + "column": 42 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 47, - "end": 53, + "start": 1221, + "end": 1222, "loc": { "start": { - "line": 2, - "column": 0 + "line": 46, + "column": 42 }, "end": { - "line": 2, - "column": 6 + "line": 46, + "column": 43 } } }, @@ -8644,22 +11339,23 @@ "postfix": false, "binop": null }, - "start": 54, - "end": 55, + "start": 1223, + "end": 1224, "loc": { "start": { - "line": 2, - "column": 7 + "line": 46, + "column": 44 }, "end": { - "line": 2, - "column": 8 + "line": 46, + "column": 45 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8667,25 +11363,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Icon", - "start": 56, - "end": 60, + "value": "this", + "start": 1242, + "end": 1246, "loc": { "start": { - "line": 2, - "column": 9 + "line": 47, + "column": 16 }, "end": { - "line": 2, - "column": 13 + "line": 47, + "column": 20 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8693,18 +11390,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 61, - "end": 62, + "start": 1246, + "end": 1247, "loc": { "start": { - "line": 2, - "column": 14 + "line": 47, + "column": 20 }, "end": { - "line": 2, - "column": 15 + "line": 47, + "column": 21 } } }, @@ -8720,77 +11418,74 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 63, - "end": 67, + "value": "parse", + "start": 1247, + "end": 1252, "loc": { "start": { - "line": 2, - "column": 16 + "line": 47, + "column": 21 }, "end": { - "line": 2, - "column": 20 + "line": 47, + "column": 26 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./icon.mjs", - "start": 68, - "end": 80, + "start": 1252, + "end": 1253, "loc": { "start": { - "line": 2, - "column": 21 + "line": 47, + "column": 26 }, "end": { - "line": 2, - "column": 33 + "line": 47, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 80, - "end": 81, + "value": "pVYIData", + "start": 1253, + "end": 1261, "loc": { "start": { - "line": 2, - "column": 33 + "line": 47, + "column": 27 }, "end": { - "line": 2, - "column": 34 + "line": 47, + "column": 35 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8798,28 +11493,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 85, - "end": 91, + "start": 1261, + "end": 1262, "loc": { "start": { - "line": 4, - "column": 0 + "line": 47, + "column": 35 }, "end": { - "line": 4, - "column": 6 + "line": 47, + "column": 36 } } }, { "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8829,25 +11521,24 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 92, - "end": 97, + "start": 1262, + "end": 1263, "loc": { "start": { - "line": 4, - "column": 7 + "line": 47, + "column": 36 }, "end": { - "line": 4, - "column": 12 + "line": 47, + "column": 37 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8855,65 +11546,51 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 98, - "end": 101, + "start": 1277, + "end": 1278, "loc": { "start": { - "line": 4, - "column": 13 + "line": 48, + "column": 12 }, "end": { - "line": 4, - "column": 16 + "line": 48, + "column": 13 } } }, { "type": { - "label": "{", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 102, - "end": 103, + "value": "else", + "start": 1279, + "end": 1283, "loc": { "start": { - "line": 4, - "column": 17 + "line": 48, + "column": 14 }, "end": { - "line": 4, + "line": 48, "column": 18 } } }, - { - "type": "CommentBlock", - "value": "*\r\n\t * The version of the module.\r\n\t ", - "start": 106, - "end": 147, - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 7, - "column": 4 - } - } - }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8922,17 +11599,16 @@ "postfix": false, "binop": null }, - "value": "static", - "start": 150, - "end": 156, + "start": 1284, + "end": 1285, "loc": { "start": { - "line": 8, - "column": 1 + "line": 48, + "column": 19 }, "end": { - "line": 8, - "column": 7 + "line": 48, + "column": 20 } } }, @@ -8948,50 +11624,49 @@ "postfix": false, "binop": null }, - "value": "version", - "start": 157, - "end": 164, + "value": "VYI", + "start": 1303, + "end": 1306, "loc": { "start": { - "line": 8, - "column": 8 + "line": 49, + "column": 16 }, "end": { - "line": 8, - "column": 15 + "line": 49, + "column": 19 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 165, - "end": 166, + "start": 1306, + "end": 1307, "loc": { "start": { - "line": 8, - "column": 16 + "line": 49, + "column": 19 }, "end": { - "line": 8, - "column": 17 + "line": 49, + "column": 20 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8999,27 +11674,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VERSION_REPLACE_ME", - "start": 167, - "end": 187, + "value": "logger", + "start": 1307, + "end": 1313, "loc": { "start": { - "line": 8, - "column": 18 + "line": 49, + "column": 20 }, "end": { - "line": 8, - "column": 38 + "line": 49, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9029,32 +11703,16 @@ "binop": null, "updateContext": null }, - "start": 187, - "end": 188, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": "CommentBlock", - "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", - "start": 194, - "end": 303, + "start": 1313, + "end": 1314, "loc": { "start": { - "line": 9, - "column": 4 + "line": 49, + "column": 26 }, "end": { - "line": 12, - "column": 7 + "line": 49, + "column": 27 } } }, @@ -9070,24 +11728,24 @@ "postfix": false, "binop": null }, - "value": "static", - "start": 309, - "end": 315, + "value": "prefix", + "start": 1314, + "end": 1320, "loc": { "start": { - "line": 13, - "column": 4 + "line": 49, + "column": 27 }, "end": { - "line": 13, - "column": 10 + "line": 49, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9096,52 +11754,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 316, - "end": 322, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 323, - "end": 324, + "start": 1320, + "end": 1321, "loc": { "start": { - "line": 13, - "column": 18 + "line": 49, + "column": 33 }, "end": { - "line": 13, - "column": 19 + "line": 49, + "column": 34 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9151,25 +11780,25 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 325, - "end": 328, + "value": "VYI-module", + "start": 1321, + "end": 1333, "loc": { "start": { - "line": 13, - "column": 20 + "line": 49, + "column": 34 }, "end": { - "line": 13, - "column": 23 + "line": 49, + "column": 46 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9177,50 +11806,50 @@ "postfix": false, "binop": null }, - "value": "Logger", - "start": 329, - "end": 335, + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 13, - "column": 24 + "line": 49, + "column": 46 }, "end": { - "line": 13, - "column": 30 + "line": 49, + "column": 47 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 335, - "end": 336, + "start": 1334, + "end": 1335, "loc": { "start": { - "line": 13, - "column": 30 + "line": 49, + "column": 47 }, "end": { - "line": 13, - "column": 31 + "line": 49, + "column": 48 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9228,66 +11857,77 @@ "postfix": false, "binop": null }, - "start": 336, - "end": 337, + "value": "error", + "start": 1335, + "end": 1340, "loc": { "start": { - "line": 13, - "column": 31 + "line": 49, + "column": 48 }, "end": { - "line": 13, - "column": 32 + "line": 49, + "column": 53 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 337, - "end": 338, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 13, - "column": 32 + "line": 49, + "column": 53 }, "end": { - "line": 13, - "column": 33 + "line": 49, + "column": 54 } } }, { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", - "start": 344, - "end": 445, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Invalid vyiData type! Cannot parse!", + "start": 1341, + "end": 1378, "loc": { "start": { - "line": 14, - "column": 4 + "line": 49, + "column": 54 }, "end": { - "line": 18, - "column": 7 + "line": 49, + "column": 91 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9295,76 +11935,73 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 451, - "end": 456, + "start": 1378, + "end": 1379, "loc": { "start": { - "line": 19, - "column": 4 + "line": 49, + "column": 91 }, "end": { - "line": 19, - "column": 9 + "line": 49, + "column": 92 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 457, - "end": 458, + "start": 1379, + "end": 1380, "loc": { "start": { - "line": 19, - "column": 10 + "line": 49, + "column": 92 }, "end": { - "line": 19, - "column": 11 + "line": 49, + "column": 93 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 459, - "end": 460, + "start": 1394, + "end": 1395, "loc": { "start": { - "line": 19, + "line": 50, "column": 12 }, "end": { - "line": 19, + "line": 50, "column": 13 } } }, { "type": { - "label": "]", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9372,60 +12009,58 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 460, - "end": 461, + "start": 1405, + "end": 1406, "loc": { "start": { - "line": 19, - "column": 13 + "line": 51, + "column": 8 }, "end": { - "line": 19, - "column": 14 + "line": 51, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 461, - "end": 462, + "start": 1412, + "end": 1413, "loc": { "start": { - "line": 19, - "column": 14 + "line": 52, + "column": 4 }, "end": { - "line": 19, - "column": 15 + "line": 52, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", - "start": 468, - "end": 550, + "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", + "start": 1419, + "end": 1744, "loc": { "start": { - "line": 20, + "line": 53, "column": 4 }, "end": { - "line": 24, + "line": 58, "column": 7 } } @@ -9442,120 +12077,126 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 556, - "end": 560, + "value": "async", + "start": 1750, + "end": 1755, "loc": { "start": { - "line": 25, + "line": 59, "column": 4 }, "end": { - "line": 25, - "column": 8 + "line": 59, + "column": 9 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 561, - "end": 562, + "value": "parse", + "start": 1756, + "end": 1761, "loc": { "start": { - "line": 25, - "column": 9 + "line": 59, + "column": 10 }, "end": { - "line": 25, - "column": 10 + "line": 59, + "column": 15 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "failed-to-find-vyi-name", - "start": 563, - "end": 588, + "start": 1761, + "end": 1762, "loc": { "start": { - "line": 25, - "column": 11 + "line": 59, + "column": 15 }, "end": { - "line": 25, - "column": 36 + "line": 59, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 588, - "end": 589, + "value": "pVYIData", + "start": 1762, + "end": 1770, "loc": { "start": { - "line": 25, - "column": 36 + "line": 59, + "column": 16 }, "end": { - "line": 25, - "column": 37 + "line": 59, + "column": 24 } } }, { - "type": "CommentBlock", - "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", - "start": 595, - "end": 679, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1770, + "end": 1771, "loc": { - "start": { - "line": 26, - "column": 4 + "start": { + "line": 59, + "column": 24 }, "end": { - "line": 30, - "column": 7 + "line": 59, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9564,24 +12205,24 @@ "postfix": false, "binop": null }, - "value": "formatVersion", - "start": 685, - "end": 698, + "start": 1772, + "end": 1773, "loc": { "start": { - "line": 31, - "column": 4 + "line": 59, + "column": 26 }, "end": { - "line": 31, - "column": 17 + "line": 59, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "try", + "keyword": "try", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9591,58 +12232,70 @@ "binop": null, "updateContext": null }, - "start": 698, - "end": 699, + "value": "try", + "start": 1783, + "end": 1786, "loc": { "start": { - "line": 31, - "column": 17 + "line": 60, + "column": 8 }, "end": { - "line": 31, - "column": 18 + "line": 60, + "column": 11 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", - "start": 705, - "end": 894, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1787, + "end": 1788, "loc": { "start": { - "line": 32, - "column": 4 + "line": 60, + "column": 12 }, "end": { - "line": 35, - "column": 6 + "line": 60, + "column": 13 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "constructor", - "start": 900, - "end": 911, + "value": "if", + "start": 1802, + "end": 1804, "loc": { "start": { - "line": 36, - "column": 4 + "line": 61, + "column": 12 }, "end": { - "line": 36, - "column": 15 + "line": 61, + "column": 14 } } }, @@ -9658,15 +12311,15 @@ "postfix": false, "binop": null }, - "start": 911, - "end": 912, + "start": 1805, + "end": 1806, "loc": { "start": { - "line": 36, + "line": 61, "column": 15 }, "end": { - "line": 36, + "line": 61, "column": 16 } } @@ -9684,15 +12337,15 @@ "binop": null }, "value": "pVYIData", - "start": 912, - "end": 920, + "start": 1806, + "end": 1814, "loc": { "start": { - "line": 36, + "line": 61, "column": 16 }, "end": { - "line": 36, + "line": 61, "column": 24 } } @@ -9709,15 +12362,15 @@ "postfix": false, "binop": null }, - "start": 920, - "end": 921, + "start": 1814, + "end": 1815, "loc": { "start": { - "line": 36, + "line": 61, "column": 24 }, "end": { - "line": 36, + "line": 61, "column": 25 } } @@ -9734,19 +12387,47 @@ "postfix": false, "binop": null }, - "start": 922, - "end": 923, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 36, + "line": 61, "column": 26 }, "end": { - "line": 36, + "line": 61, "column": 27 } } }, + { + "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": 1835, + "end": 1838, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 19 + } + } + }, { "type": { "label": "name", @@ -9759,24 +12440,24 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 933, - "end": 936, + "value": "vyi", + "start": 1839, + "end": 1842, "loc": { "start": { - "line": 37, - "column": 8 + "line": 62, + "column": 20 }, "end": { - "line": 37, - "column": 11 + "line": 62, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9786,75 +12467,120 @@ "binop": null, "updateContext": null }, - "start": 936, - "end": 937, + "start": 1842, + "end": 1843, "loc": { "start": { - "line": 37, - "column": 11 + "line": 62, + "column": 23 }, "end": { - "line": 37, - "column": 12 + "line": 62, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " If the data is a path then we need to use fetch to acquire the data first", + "start": 1861, + "end": 1937, + "loc": { + "start": { + "line": 63, + "column": 16 + }, + "end": { + "line": 63, + "column": 92 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "logger", - "start": 937, - "end": 943, + "value": "if", + "start": 1955, + "end": 1957, "loc": { "start": { - "line": 37, - "column": 12 + "line": 64, + "column": 16 }, "end": { - "line": 37, + "line": 64, "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 1958, + "end": 1959, + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, "binop": null, "updateContext": null }, - "start": 943, - "end": 944, + "value": "typeof", + "start": 1959, + "end": 1965, "loc": { "start": { - "line": 37, - "column": 18 + "line": 64, + "column": 20 }, "end": { - "line": 37, - "column": 19 + "line": 64, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9863,24 +12589,23 @@ "postfix": false, "binop": null }, - "value": "registerType", - "start": 944, - "end": 956, + "start": 1965, + "end": 1966, "loc": { "start": { - "line": 37, - "column": 19 + "line": 64, + "column": 26 }, "end": { - "line": 37, - "column": 31 + "line": 64, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9889,49 +12614,48 @@ "postfix": false, "binop": null }, - "start": 956, - "end": 957, + "value": "pVYIData", + "start": 1966, + "end": 1974, "loc": { "start": { - "line": 37, - "column": 31 + "line": 64, + "column": 27 }, "end": { - "line": 37, - "column": 32 + "line": 64, + "column": 35 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-Module", - "start": 957, - "end": 969, + "start": 1974, + "end": 1975, "loc": { "start": { - "line": 37, - "column": 32 + "line": 64, + "column": 35 }, "end": { - "line": 37, - "column": 44 + "line": 64, + "column": 36 } } }, { "type": { - "label": ",", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9939,19 +12663,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 969, - "end": 970, + "value": "===", + "start": 1976, + "end": 1979, "loc": { "start": { - "line": 37, - "column": 44 + "line": 64, + "column": 37 }, - "end": { - "line": 37, - "column": 45 + "end": { + "line": 64, + "column": 40 } } }, @@ -9968,17 +12693,17 @@ "binop": null, "updateContext": null }, - "value": "#ff6600", - "start": 971, - "end": 980, + "value": "string", + "start": 1980, + "end": 1988, "loc": { "start": { - "line": 37, - "column": 46 + "line": 64, + "column": 41 }, "end": { - "line": 37, - "column": 55 + "line": 64, + "column": 49 } } }, @@ -9994,49 +12719,48 @@ "postfix": false, "binop": null }, - "start": 980, - "end": 981, + "start": 1988, + "end": 1989, "loc": { "start": { - "line": 37, - "column": 55 + "line": 64, + "column": 49 }, "end": { - "line": 37, - "column": 56 + "line": 64, + "column": 50 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 981, - "end": 982, + "start": 1990, + "end": 1991, "loc": { "start": { - "line": 37, - "column": 56 + "line": 64, + "column": 51 }, "end": { - "line": 37, - "column": 57 + "line": 64, + "column": 52 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10047,42 +12771,17 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 992, - "end": 994, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 995, - "end": 996, + "value": "const", + "start": 2013, + "end": 2018, "loc": { "start": { - "line": 38, - "column": 11 + "line": 65, + "column": 20 }, "end": { - "line": 38, - "column": 12 + "line": 65, + "column": 25 } } }, @@ -10098,49 +12797,51 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 996, - "end": 1004, + "value": "url", + "start": 2019, + "end": 2022, "loc": { "start": { - "line": 38, - "column": 12 + "line": 65, + "column": 26 }, "end": { - "line": 38, - "column": 20 + "line": 65, + "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1004, - "end": 1005, + "value": "=", + "start": 2023, + "end": 2024, "loc": { "start": { - "line": 38, - "column": 20 + "line": 65, + "column": 30 }, "end": { - "line": 38, - "column": 21 + "line": 65, + "column": 31 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10149,24 +12850,24 @@ "postfix": false, "binop": null }, - "start": 1006, - "end": 1007, + "value": "pVYIData", + "start": 2025, + "end": 2033, "loc": { "start": { - "line": 38, - "column": 22 + "line": 65, + "column": 32 }, "end": { - "line": 38, - "column": 23 + "line": 65, + "column": 40 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -10176,42 +12877,44 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1021, - "end": 1023, + "start": 2033, + "end": 2034, "loc": { "start": { - "line": 39, - "column": 12 + "line": 65, + "column": 40 }, "end": { - "line": 39, - "column": 14 + "line": 65, + "column": 41 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1024, - "end": 1025, + "value": "const", + "start": 2056, + "end": 2061, "loc": { "start": { - "line": 39, - "column": 15 + "line": 66, + "column": 20 }, "end": { - "line": 39, - "column": 16 + "line": 66, + "column": 25 } } }, @@ -10227,45 +12930,44 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 1025, - "end": 1033, + "value": "response", + "start": 2062, + "end": 2070, "loc": { "start": { - "line": 39, - "column": 16 + "line": 66, + "column": 26 }, "end": { - "line": 39, - "column": 24 + "line": 66, + "column": 34 } } }, { "type": { - "label": "instanceof", - "keyword": "instanceof", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "instanceof", - "start": 1034, - "end": 1044, + "value": "=", + "start": 2071, + "end": 2072, "loc": { "start": { - "line": 39, - "column": 25 + "line": 66, + "column": 35 }, "end": { - "line": 39, - "column": 35 + "line": 66, + "column": 36 } } }, @@ -10281,25 +12983,25 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 1045, - "end": 1051, + "value": "await", + "start": 2073, + "end": 2078, "loc": { "start": { - "line": 39, - "column": 36 + "line": 66, + "column": 37 }, "end": { - "line": 39, + "line": 66, "column": 42 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10307,22 +13009,23 @@ "postfix": false, "binop": null }, - "start": 1051, - "end": 1052, + "value": "fetch", + "start": 2079, + "end": 2084, "loc": { "start": { - "line": 39, - "column": 42 + "line": 66, + "column": 43 }, "end": { - "line": 39, - "column": 43 + "line": 66, + "column": 48 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -10332,23 +13035,22 @@ "postfix": false, "binop": null }, - "start": 1053, - "end": 1054, + "start": 2084, + "end": 2085, "loc": { "start": { - "line": 39, - "column": 44 + "line": 66, + "column": 48 }, "end": { - "line": 39, - "column": 45 + "line": 66, + "column": 49 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10356,26 +13058,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1072, - "end": 1076, + "value": "url", + "start": 2085, + "end": 2088, "loc": { "start": { - "line": 40, - "column": 16 + "line": 66, + "column": 49 }, "end": { - "line": 40, - "column": 20 + "line": 66, + "column": 52 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10383,70 +13084,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1076, - "end": 1077, - "loc": { - "start": { - "line": 40, - "column": 20 - }, - "end": { - "line": 40, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "parse", - "start": 1077, - "end": 1082, + "start": 2088, + "end": 2089, "loc": { "start": { - "line": 40, - "column": 21 + "line": 66, + "column": 52 }, "end": { - "line": 40, - "column": 26 + "line": 66, + "column": 53 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1082, - "end": 1083, + "start": 2089, + "end": 2090, "loc": { "start": { - "line": 40, - "column": 26 + "line": 66, + "column": 53 }, "end": { - "line": 40, - "column": 27 + "line": 66, + "column": 54 } } }, @@ -10462,76 +13137,78 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 1083, - "end": 1091, + "value": "vyi", + "start": 2112, + "end": 2115, "loc": { "start": { - "line": 40, - "column": 27 + "line": 67, + "column": 20 }, "end": { - "line": 40, - "column": 35 + "line": 67, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1091, - "end": 1092, + "value": "=", + "start": 2116, + "end": 2117, "loc": { "start": { - "line": 40, - "column": 35 + "line": 67, + "column": 24 }, "end": { - "line": 40, - "column": 36 + "line": 67, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1092, - "end": 1093, + "value": "await", + "start": 2118, + "end": 2123, "loc": { "start": { - "line": 40, - "column": 36 + "line": 67, + "column": 26 }, "end": { - "line": 40, - "column": 37 + "line": 67, + "column": 31 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10539,24 +13216,24 @@ "postfix": false, "binop": null }, - "start": 1107, - "end": 1108, + "value": "response", + "start": 2124, + "end": 2132, "loc": { "start": { - "line": 41, - "column": 12 + "line": 67, + "column": 32 }, "end": { - "line": 41, - "column": 13 + "line": 67, + "column": 40 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -10566,24 +13243,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 1109, - "end": 1113, + "start": 2132, + "end": 2133, "loc": { "start": { - "line": 41, - "column": 14 + "line": 67, + "column": 40 }, "end": { - "line": 41, - "column": 18 + "line": 67, + "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10592,23 +13268,24 @@ "postfix": false, "binop": null }, - "start": 1114, - "end": 1115, + "value": "json", + "start": 2133, + "end": 2137, "loc": { "start": { - "line": 41, - "column": 19 + "line": 67, + "column": 41 }, "end": { - "line": 41, - "column": 20 + "line": 67, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10617,23 +13294,22 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 1133, - "end": 1136, + "start": 2137, + "end": 2138, "loc": { "start": { - "line": 42, - "column": 16 + "line": 67, + "column": 45 }, "end": { - "line": 42, - "column": 19 + "line": 67, + "column": 46 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10641,51 +13317,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1136, - "end": 1137, + "start": 2138, + "end": 2139, "loc": { "start": { - "line": 42, - "column": 19 + "line": 67, + "column": 46 }, "end": { - "line": 42, - "column": 20 + "line": 67, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "logger", - "start": 1137, - "end": 1143, + "start": 2139, + "end": 2140, "loc": { "start": { - "line": 42, - "column": 20 + "line": 67, + "column": 47 }, "end": { - "line": 42, - "column": 26 + "line": 67, + "column": 48 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10693,105 +13368,107 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1143, - "end": 1144, + "start": 2158, + "end": 2159, "loc": { "start": { - "line": 42, - "column": 26 + "line": 68, + "column": 16 }, "end": { - "line": 42, - "column": 27 + "line": 68, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 1144, - "end": 1150, + "value": "else", + "start": 2160, + "end": 2164, "loc": { "start": { - "line": 42, - "column": 27 + "line": 68, + "column": 18 }, "end": { - "line": 42, - "column": 33 + "line": 68, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1150, - "end": 1151, + "value": "if", + "start": 2165, + "end": 2167, "loc": { "start": { - "line": 42, - "column": 33 + "line": 68, + "column": 23 }, "end": { - "line": 42, - "column": 34 + "line": 68, + "column": 25 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-module", - "start": 1151, - "end": 1163, + "start": 2168, + "end": 2169, "loc": { "start": { - "line": 42, - "column": 34 + "line": 68, + "column": 26 }, "end": { - "line": 42, - "column": 46 + "line": 68, + "column": 27 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10799,42 +13476,45 @@ "postfix": false, "binop": null }, - "start": 1163, - "end": 1164, + "value": "pVYIData", + "start": 2169, + "end": 2177, "loc": { "start": { - "line": 42, - "column": 46 + "line": 68, + "column": 27 }, "end": { - "line": 42, - "column": 47 + "line": 68, + "column": 35 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "instanceof", + "keyword": "instanceof", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 1164, - "end": 1165, + "value": "instanceof", + "start": 2178, + "end": 2188, "loc": { "start": { - "line": 42, - "column": 47 + "line": 68, + "column": 36 }, "end": { - "line": 42, - "column": 48 + "line": 68, + "column": 46 } } }, @@ -10850,25 +13530,25 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 1165, - "end": 1170, + "value": "Object", + "start": 2189, + "end": 2195, "loc": { "start": { - "line": 42, - "column": 48 + "line": 68, + "column": 47 }, "end": { - "line": 42, + "line": 68, "column": 53 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10876,51 +13556,49 @@ "postfix": false, "binop": null }, - "start": 1170, - "end": 1171, + "start": 2195, + "end": 2196, "loc": { "start": { - "line": 42, + "line": 68, "column": 53 }, "end": { - "line": 42, + "line": 68, "column": 54 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Invalid vyiData type! Cannot parse!", - "start": 1171, - "end": 1208, + "start": 2197, + "end": 2198, "loc": { "start": { - "line": 42, - "column": 54 + "line": 68, + "column": 55 }, "end": { - "line": 42, - "column": 91 + "line": 68, + "column": 56 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10928,50 +13606,52 @@ "postfix": false, "binop": null }, - "start": 1208, - "end": 1209, + "value": "vyi", + "start": 2220, + "end": 2223, "loc": { "start": { - "line": 42, - "column": 91 + "line": 69, + "column": 20 }, "end": { - "line": 42, - "column": 92 + "line": 69, + "column": 23 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1209, - "end": 1210, + "value": "=", + "start": 2224, + "end": 2225, "loc": { "start": { - "line": 42, - "column": 92 + "line": 69, + "column": 24 }, "end": { - "line": 42, - "column": 93 + "line": 69, + "column": 25 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10979,41 +13659,43 @@ "postfix": false, "binop": null }, - "start": 1224, - "end": 1225, + "value": "pVYIData", + "start": 2226, + "end": 2234, "loc": { "start": { - "line": 43, - "column": 12 + "line": 69, + "column": 26 }, "end": { - "line": 43, - "column": 13 + "line": 69, + "column": 34 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1235, - "end": 1236, + "start": 2234, + "end": 2235, "loc": { "start": { - "line": 44, - "column": 8 + "line": 69, + "column": 34 }, "end": { - "line": 44, - "column": 9 + "line": 69, + "column": 35 } } }, @@ -11029,84 +13711,76 @@ "postfix": false, "binop": null }, - "start": 1242, - "end": 1243, + "start": 2253, + "end": 2254, "loc": { "start": { - "line": 45, - "column": 4 + "line": 70, + "column": 16 }, "end": { - "line": 45, - "column": 5 + "line": 70, + "column": 17 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1249, - "end": 1574, + "type": "CommentLine", + "value": " If there is data to parse", + "start": 2272, + "end": 2300, "loc": { "start": { - "line": 46, - "column": 4 + "line": 71, + "column": 16 }, "end": { - "line": 51, - "column": 7 + "line": 71, + "column": 44 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "async", - "start": 1580, - "end": 1585, + "type": "CommentLine", + "value": " Then parse through it", + "start": 2318, + "end": 2342, "loc": { "start": { - "line": 52, - "column": 4 + "line": 72, + "column": 16 }, "end": { - "line": 52, - "column": 9 + "line": 72, + "column": 40 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 1586, - "end": 1591, + "value": "if", + "start": 2360, + "end": 2362, "loc": { "start": { - "line": 52, - "column": 10 + "line": 73, + "column": 16 }, "end": { - "line": 52, - "column": 15 + "line": 73, + "column": 18 } } }, @@ -11122,16 +13796,16 @@ "postfix": false, "binop": null }, - "start": 1591, - "end": 1592, + "start": 2363, + "end": 2364, "loc": { "start": { - "line": 52, - "column": 15 + "line": 73, + "column": 19 }, "end": { - "line": 52, - "column": 16 + "line": 73, + "column": 20 } } }, @@ -11147,17 +13821,17 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 1592, - "end": 1600, + "value": "vyi", + "start": 2364, + "end": 2367, "loc": { "start": { - "line": 52, - "column": 16 + "line": 73, + "column": 20 }, "end": { - "line": 52, - "column": 24 + "line": 73, + "column": 23 } } }, @@ -11173,16 +13847,16 @@ "postfix": false, "binop": null }, - "start": 1600, - "end": 1601, + "start": 2367, + "end": 2368, "loc": { "start": { - "line": 52, - "column": 24 + "line": 73, + "column": 23 }, "end": { - "line": 52, - "column": 25 + "line": 73, + "column": 24 } } }, @@ -11198,122 +13872,113 @@ "postfix": false, "binop": null }, - "start": 1602, - "end": 1603, + "start": 2369, + "end": 2370, "loc": { "start": { - "line": 52, - "column": 26 + "line": 73, + "column": 25 }, "end": { - "line": 52, - "column": 27 + "line": 73, + "column": 26 } } }, { - "type": { - "label": "try", - "keyword": "try", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "try", - "start": 1613, - "end": 1616, + "type": "CommentBlock", + "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", + "start": 2392, + "end": 2521, "loc": { "start": { - "line": 53, - "column": 8 + "line": 74, + "column": 20 }, "end": { - "line": 53, - "column": 11 + "line": 77, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1617, - "end": 1618, + "value": "const", + "start": 2543, + "end": 2548, "loc": { "start": { - "line": 53, - "column": 12 + "line": 78, + "column": 20 }, "end": { - "line": 53, - "column": 13 + "line": 78, + "column": 25 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1632, - "end": 1634, + "value": "icons", + "start": 2549, + "end": 2554, "loc": { "start": { - "line": 54, - "column": 12 + "line": 78, + "column": 26 }, "end": { - "line": 54, - "column": 14 + "line": 78, + "column": 31 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1635, - "end": 1636, + "value": "=", + "start": 2555, + "end": 2556, "loc": { "start": { - "line": 54, - "column": 15 + "line": 78, + "column": 32 }, "end": { - "line": 54, - "column": 16 + "line": 78, + "column": 33 } } }, @@ -11329,23 +13994,23 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 1636, - "end": 1644, + "value": "vyi", + "start": 2557, + "end": 2560, "loc": { "start": { - "line": 54, - "column": 16 + "line": 78, + "column": 34 }, "end": { - "line": 54, - "column": 24 + "line": 78, + "column": 37 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11353,25 +14018,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1644, - "end": 1645, + "start": 2560, + "end": 2561, "loc": { "start": { - "line": 54, - "column": 24 + "line": 78, + "column": 37 }, "end": { - "line": 54, - "column": 25 + "line": 78, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11380,24 +14046,24 @@ "postfix": false, "binop": null }, - "start": 1646, - "end": 1647, + "value": "i", + "start": 2561, + "end": 2562, "loc": { "start": { - "line": 54, - "column": 26 + "line": 78, + "column": 38 }, "end": { - "line": 54, - "column": 27 + "line": 78, + "column": 39 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11407,23 +14073,39 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1665, - "end": 1668, + "start": 2562, + "end": 2563, + "loc": { + "start": { + "line": 78, + "column": 39 + }, + "end": { + "line": 78, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", + "start": 2585, + "end": 2738, "loc": { "start": { - "line": 55, - "column": 16 + "line": 79, + "column": 20 }, "end": { - "line": 55, - "column": 19 + "line": 82, + "column": 23 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11431,26 +14113,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "vyi", - "start": 1669, - "end": 1672, + "value": "this", + "start": 2760, + "end": 2764, "loc": { "start": { - "line": 55, + "line": 83, "column": 20 }, "end": { - "line": 55, - "column": 23 + "line": 83, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11460,67 +14143,76 @@ "binop": null, "updateContext": null }, - "start": 1672, - "end": 1673, + "start": 2764, + "end": 2765, "loc": { "start": { - "line": 55, - "column": 23 + "line": 83, + "column": 24 }, "end": { - "line": 55, - "column": 24 + "line": 83, + "column": 25 } } }, { - "type": "CommentLine", - "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1691, - "end": 1767, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "formatVersion", + "start": 2765, + "end": 2778, "loc": { "start": { - "line": 56, - "column": 16 + "line": 83, + "column": 25 }, "end": { - "line": 56, - "column": 92 + "line": 83, + "column": 38 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 1785, - "end": 1787, + "value": "=", + "start": 2779, + "end": 2780, "loc": { "start": { - "line": 57, - "column": 16 + "line": 83, + "column": 39 }, "end": { - "line": 57, - "column": 18 + "line": 83, + "column": 40 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11529,51 +14221,50 @@ "postfix": false, "binop": null }, - "start": 1788, - "end": 1789, + "value": "vyi", + "start": 2781, + "end": 2784, "loc": { "start": { - "line": 57, - "column": 19 + "line": 83, + "column": 41 }, "end": { - "line": 57, - "column": 20 + "line": 83, + "column": 44 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 1789, - "end": 1795, + "start": 2784, + "end": 2785, "loc": { "start": { - "line": 57, - "column": 20 + "line": 83, + "column": 44 }, "end": { - "line": 57, - "column": 26 + "line": 83, + "column": 45 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11582,73 +14273,77 @@ "postfix": false, "binop": null }, - "start": 1795, - "end": 1796, + "value": "v", + "start": 2785, + "end": 2786, "loc": { "start": { - "line": 57, - "column": 26 + "line": 83, + "column": 45 }, "end": { - "line": 57, - "column": 27 + "line": 83, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "||", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "value": "pVYIData", - "start": 1796, - "end": 1804, + "value": "||", + "start": 2787, + "end": 2789, "loc": { "start": { - "line": 57, - "column": 27 + "line": 83, + "column": 47 }, "end": { - "line": 57, - "column": 35 + "line": 83, + "column": 49 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1804, - "end": 1805, + "value": 1, + "start": 2790, + "end": 2791, "loc": { "start": { - "line": 57, - "column": 35 + "line": 83, + "column": 50 }, "end": { - "line": 57, - "column": 36 + "line": 83, + "column": 51 } } }, { "type": { - "label": "==/!=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -11656,28 +14351,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 1806, - "end": 1809, + "start": 2791, + "end": 2792, "loc": { "start": { - "line": 57, - "column": 37 + "line": 83, + "column": 51 }, "end": { - "line": 57, - "column": 40 + "line": 83, + "column": 52 } } }, { "type": { - "label": "string", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11686,25 +14381,25 @@ "binop": null, "updateContext": null }, - "value": "string", - "start": 1810, - "end": 1818, + "value": "if", + "start": 2816, + "end": 2818, "loc": { "start": { - "line": 57, - "column": 41 + "line": 85, + "column": 20 }, "end": { - "line": 57, - "column": 49 + "line": 85, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11712,23 +14407,23 @@ "postfix": false, "binop": null }, - "start": 1818, - "end": 1819, + "start": 2819, + "end": 2820, "loc": { "start": { - "line": 57, - "column": 49 + "line": 85, + "column": 23 }, "end": { - "line": 57, - "column": 50 + "line": 85, + "column": 24 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11737,23 +14432,23 @@ "postfix": false, "binop": null }, - "start": 1820, - "end": 1821, + "value": "Array", + "start": 2820, + "end": 2825, "loc": { "start": { - "line": 57, - "column": 51 + "line": 85, + "column": 24 }, "end": { - "line": 57, - "column": 52 + "line": 85, + "column": 29 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11764,17 +14459,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1843, - "end": 1848, + "start": 2825, + "end": 2826, "loc": { "start": { - "line": 58, - "column": 20 + "line": 85, + "column": 29 }, "end": { - "line": 58, - "column": 25 + "line": 85, + "column": 30 } } }, @@ -11790,44 +14484,42 @@ "postfix": false, "binop": null }, - "value": "url", - "start": 1849, - "end": 1852, + "value": "isArray", + "start": 2826, + "end": 2833, "loc": { "start": { - "line": 58, - "column": 26 + "line": 85, + "column": 30 }, "end": { - "line": 58, - "column": 29 + "line": 85, + "column": 37 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1853, - "end": 1854, + "start": 2833, + "end": 2834, "loc": { "start": { - "line": 58, - "column": 30 + "line": 85, + "column": 37 }, "end": { - "line": 58, - "column": 31 + "line": 85, + "column": 38 } } }, @@ -11843,50 +14535,48 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 1855, - "end": 1863, + "value": "icons", + "start": 2834, + "end": 2839, "loc": { "start": { - "line": 58, - "column": 32 + "line": 85, + "column": 38 }, "end": { - "line": 58, - "column": 40 + "line": 85, + "column": 43 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1863, - "end": 1864, + "start": 2839, + "end": 2840, "loc": { "start": { - "line": 58, - "column": 40 + "line": 85, + "column": 43 }, "end": { - "line": 58, - "column": 41 + "line": 85, + "column": 44 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11894,27 +14584,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1886, - "end": 1891, + "start": 2840, + "end": 2841, "loc": { "start": { - "line": 59, - "column": 20 + "line": 85, + "column": 44 }, "end": { - "line": 59, - "column": 25 + "line": 85, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11923,44 +14611,32 @@ "postfix": false, "binop": null }, - "value": "response", - "start": 1892, - "end": 1900, + "start": 2842, + "end": 2843, "loc": { "start": { - "line": 59, - "column": 26 + "line": 85, + "column": 46 }, "end": { - "line": 59, - "column": 34 + "line": 85, + "column": 47 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1901, - "end": 1902, + "type": "CommentLine", + "value": " Loop through the icons and add them to the vyi module instance.", + "start": 2869, + "end": 2935, "loc": { "start": { - "line": 59, - "column": 35 + "line": 86, + "column": 24 }, "end": { - "line": 59, - "column": 36 + "line": 86, + "column": 90 } } }, @@ -11976,50 +14652,50 @@ "postfix": false, "binop": null }, - "value": "await", - "start": 1903, - "end": 1908, + "value": "icons", + "start": 2961, + "end": 2966, "loc": { "start": { - "line": 59, - "column": 37 + "line": 87, + "column": 24 }, "end": { - "line": 59, - "column": 42 + "line": 87, + "column": 29 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fetch", - "start": 1909, - "end": 1914, + "start": 2966, + "end": 2967, "loc": { "start": { - "line": 59, - "column": 43 + "line": 87, + "column": 29 }, "end": { - "line": 59, - "column": 48 + "line": 87, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12028,23 +14704,24 @@ "postfix": false, "binop": null }, - "start": 1914, - "end": 1915, + "value": "forEach", + "start": 2967, + "end": 2974, "loc": { "start": { - "line": 59, - "column": 48 + "line": 87, + "column": 30 }, "end": { - "line": 59, - "column": 49 + "line": 87, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12053,25 +14730,24 @@ "postfix": false, "binop": null }, - "value": "url", - "start": 1915, - "end": 1918, + "start": 2974, + "end": 2975, "loc": { "start": { - "line": 59, - "column": 49 + "line": 87, + "column": 37 }, "end": { - "line": 59, - "column": 52 + "line": 87, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12079,50 +14755,50 @@ "postfix": false, "binop": null }, - "start": 1918, - "end": 1919, + "start": 2975, + "end": 2976, "loc": { "start": { - "line": 59, - "column": 52 + "line": 87, + "column": 38 }, "end": { - "line": 59, - "column": 53 + "line": 87, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1919, - "end": 1920, + "value": "pIconData", + "start": 2976, + "end": 2985, "loc": { "start": { - "line": 59, - "column": 53 + "line": 87, + "column": 39 }, "end": { - "line": 59, - "column": 54 + "line": 87, + "column": 48 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12130,51 +14806,49 @@ "postfix": false, "binop": null }, - "value": "vyi", - "start": 1942, - "end": 1945, + "start": 2985, + "end": 2986, "loc": { "start": { - "line": 60, - "column": 20 + "line": 87, + "column": 48 }, "end": { - "line": 60, - "column": 23 + "line": 87, + "column": 49 } } }, { "type": { - "label": "=", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1946, - "end": 1947, + "start": 2987, + "end": 2989, "loc": { "start": { - "line": 60, - "column": 24 + "line": 87, + "column": 50 }, "end": { - "line": 60, - "column": 25 + "line": 87, + "column": 52 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12183,23 +14857,23 @@ "postfix": false, "binop": null }, - "value": "await", - "start": 1948, - "end": 1953, + "start": 2990, + "end": 2991, "loc": { "start": { - "line": 60, - "column": 26 + "line": 87, + "column": 53 }, "end": { - "line": 60, - "column": 31 + "line": 87, + "column": 54 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12207,19 +14881,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "response", - "start": 1954, - "end": 1962, + "value": "this", + "start": 3021, + "end": 3025, "loc": { "start": { - "line": 60, - "column": 32 + "line": 88, + "column": 28 }, "end": { - "line": 60, - "column": 40 + "line": 88, + "column": 32 } } }, @@ -12236,16 +14911,16 @@ "binop": null, "updateContext": null }, - "start": 1962, - "end": 1963, + "start": 3025, + "end": 3026, "loc": { "start": { - "line": 60, - "column": 40 + "line": 88, + "column": 32 }, "end": { - "line": 60, - "column": 41 + "line": 88, + "column": 33 } } }, @@ -12261,17 +14936,17 @@ "postfix": false, "binop": null }, - "value": "json", - "start": 1963, - "end": 1967, + "value": "addIcon", + "start": 3026, + "end": 3033, "loc": { "start": { - "line": 60, - "column": 41 + "line": 88, + "column": 33 }, "end": { - "line": 60, - "column": 45 + "line": 88, + "column": 40 } } }, @@ -12287,24 +14962,24 @@ "postfix": false, "binop": null }, - "start": 1967, - "end": 1968, + "start": 3033, + "end": 3034, "loc": { "start": { - "line": 60, - "column": 45 + "line": 88, + "column": 40 }, "end": { - "line": 60, - "column": 46 + "line": 88, + "column": 41 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12312,22 +14987,23 @@ "postfix": false, "binop": null }, - "start": 1968, - "end": 1969, + "value": "pIconData", + "start": 3034, + "end": 3043, "loc": { "start": { - "line": 60, - "column": 46 + "line": 88, + "column": 41 }, "end": { - "line": 60, - "column": 47 + "line": 88, + "column": 50 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12338,77 +15014,76 @@ "binop": null, "updateContext": null }, - "start": 1969, - "end": 1970, + "start": 3043, + "end": 3044, "loc": { "start": { - "line": 60, - "column": 47 + "line": 88, + "column": 50 }, "end": { - "line": 60, - "column": 48 + "line": 88, + "column": 51 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1988, - "end": 1989, + "value": "this", + "start": 3045, + "end": 3049, "loc": { - "start": { - "line": 61, - "column": 16 + "start": { + "line": 88, + "column": 52 }, "end": { - "line": 61, - "column": 17 + "line": 88, + "column": 56 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 1990, - "end": 1994, + "start": 3049, + "end": 3050, "loc": { "start": { - "line": 61, - "column": 18 + "line": 88, + "column": 56 }, "end": { - "line": 61, - "column": 22 + "line": 88, + "column": 57 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12418,25 +15093,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1995, - "end": 1997, + "start": 3050, + "end": 3051, "loc": { "start": { - "line": 61, - "column": 23 + "line": 88, + "column": 57 }, "end": { - "line": 61, - "column": 25 + "line": 88, + "column": 58 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12444,24 +15118,24 @@ "postfix": false, "binop": null }, - "start": 1998, - "end": 1999, + "start": 3077, + "end": 3078, "loc": { "start": { - "line": 61, - "column": 26 + "line": 89, + "column": 24 }, "end": { - "line": 61, - "column": 27 + "line": 89, + "column": 25 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12469,24 +15143,22 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 1999, - "end": 2007, + "start": 3078, + "end": 3079, "loc": { "start": { - "line": 61, - "column": 27 + "line": 89, + "column": 25 }, "end": { - "line": 61, - "column": 35 + "line": 89, + "column": 26 } } }, { "type": { - "label": "instanceof", - "keyword": "instanceof", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12494,28 +15166,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "instanceof", - "start": 2008, - "end": 2018, + "start": 3079, + "end": 3080, "loc": { "start": { - "line": 61, - "column": 36 + "line": 89, + "column": 26 }, "end": { - "line": 61, - "column": 46 + "line": 89, + "column": 27 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12523,42 +15194,44 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 2019, - "end": 2025, + "start": 3102, + "end": 3103, "loc": { "start": { - "line": 61, - "column": 47 + "line": 90, + "column": 20 }, "end": { - "line": 61, - "column": 53 + "line": 90, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2025, - "end": 2026, + "value": "else", + "start": 3104, + "end": 3108, "loc": { "start": { - "line": 61, - "column": 53 + "line": 90, + "column": 22 }, "end": { - "line": 61, - "column": 54 + "line": 90, + "column": 26 } } }, @@ -12574,16 +15247,16 @@ "postfix": false, "binop": null }, - "start": 2027, - "end": 2028, + "start": 3109, + "end": 3110, "loc": { "start": { - "line": 61, - "column": 55 + "line": 90, + "column": 27 }, "end": { - "line": 61, - "column": 56 + "line": 90, + "column": 28 } } }, @@ -12599,44 +15272,43 @@ "postfix": false, "binop": null }, - "value": "vyi", - "start": 2050, - "end": 2053, + "value": "VYI", + "start": 3136, + "end": 3139, "loc": { "start": { - "line": 62, - "column": 20 + "line": 91, + "column": 24 }, "end": { - "line": 62, - "column": 23 + "line": 91, + "column": 27 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2054, - "end": 2055, + "start": 3139, + "end": 3140, "loc": { "start": { - "line": 62, - "column": 24 + "line": 91, + "column": 27 }, "end": { - "line": 62, - "column": 25 + "line": 91, + "column": 28 } } }, @@ -12652,24 +15324,24 @@ "postfix": false, "binop": null }, - "value": "pVYIData", - "start": 2056, - "end": 2064, + "value": "logger", + "start": 3140, + "end": 3146, "loc": { "start": { - "line": 62, - "column": 26 + "line": 91, + "column": 28 }, "end": { - "line": 62, + "line": 91, "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12679,24 +15351,24 @@ "binop": null, "updateContext": null }, - "start": 2064, - "end": 2065, + "start": 3146, + "end": 3147, "loc": { "start": { - "line": 62, + "line": 91, "column": 34 }, "end": { - "line": 62, + "line": 91, "column": 35 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12704,57 +15376,50 @@ "postfix": false, "binop": null }, - "start": 2083, - "end": 2084, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": " If there is data to parse", - "start": 2102, - "end": 2130, + "value": "prefix", + "start": 3147, + "end": 3153, "loc": { "start": { - "line": 64, - "column": 16 + "line": 91, + "column": 35 }, "end": { - "line": 64, - "column": 44 + "line": 91, + "column": 41 } } }, { - "type": "CommentLine", - "value": " Then parse through it", - "start": 2148, - "end": 2172, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3153, + "end": 3154, "loc": { "start": { - "line": 65, - "column": 16 + "line": 91, + "column": 41 }, "end": { - "line": 65, - "column": 40 + "line": 91, + "column": 42 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12763,25 +15428,25 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2190, - "end": 2192, + "value": "VYI-module", + "start": 3154, + "end": 3166, "loc": { "start": { - "line": 66, - "column": 16 + "line": 91, + "column": 42 }, "end": { - "line": 66, - "column": 18 + "line": 91, + "column": 54 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12789,50 +15454,50 @@ "postfix": false, "binop": null }, - "start": 2193, - "end": 2194, + "start": 3166, + "end": 3167, "loc": { "start": { - "line": 66, - "column": 19 + "line": 91, + "column": 54 }, "end": { - "line": 66, - "column": 20 + "line": 91, + "column": 55 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "vyi", - "start": 2194, - "end": 2197, + "start": 3167, + "end": 3168, "loc": { "start": { - "line": 66, - "column": 20 + "line": 91, + "column": 55 }, "end": { - "line": 66, - "column": 23 + "line": 91, + "column": 56 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12840,22 +15505,23 @@ "postfix": false, "binop": null }, - "start": 2197, - "end": 2198, + "value": "error", + "start": 3168, + "end": 3173, "loc": { "start": { - "line": 66, - "column": 23 + "line": 91, + "column": 56 }, "end": { - "line": 66, - "column": 24 + "line": 91, + "column": 61 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -12865,41 +15531,24 @@ "postfix": false, "binop": null }, - "start": 2199, - "end": 2200, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 26 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2222, - "end": 2351, + "start": 3173, + "end": 3174, "loc": { "start": { - "line": 67, - "column": 20 + "line": 91, + "column": 61 }, "end": { - "line": 70, - "column": 23 + "line": 91, + "column": 62 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12908,25 +15557,25 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 2373, - "end": 2378, + "value": "Invalid .vyi file! Cannot parse.", + "start": 3174, + "end": 3208, "loc": { "start": { - "line": 71, - "column": 20 + "line": 91, + "column": 62 }, "end": { - "line": 71, - "column": 25 + "line": 91, + "column": 96 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12934,52 +15583,50 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 2379, - "end": 2384, + "start": 3208, + "end": 3209, "loc": { "start": { - "line": 71, - "column": 26 + "line": 91, + "column": 96 }, "end": { - "line": 71, - "column": 31 + "line": 91, + "column": 97 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2385, - "end": 2386, + "start": 3209, + "end": 3210, "loc": { "start": { - "line": 71, - "column": 32 + "line": 91, + "column": 97 }, "end": { - "line": 71, - "column": 33 + "line": 91, + "column": 98 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12987,23 +15634,22 @@ "postfix": false, "binop": null }, - "value": "vyi", - "start": 2387, - "end": 2390, + "start": 3232, + "end": 3233, "loc": { "start": { - "line": 71, - "column": 34 + "line": 92, + "column": 20 }, "end": { - "line": 71, - "column": 37 + "line": 92, + "column": 21 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13011,27 +15657,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2390, - "end": 2391, + "start": 3251, + "end": 3252, "loc": { "start": { - "line": 71, - "column": 37 + "line": 93, + "column": 16 }, "end": { - "line": 71, - "column": 38 + "line": 93, + "column": 17 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13039,68 +15684,50 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 2391, - "end": 2392, + "start": 3266, + "end": 3267, "loc": { "start": { - "line": 71, - "column": 38 + "line": 94, + "column": 12 }, "end": { - "line": 71, - "column": 39 + "line": 94, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2392, - "end": 2393, - "loc": { - "start": { - "line": 71, - "column": 39 - }, - "end": { - "line": 71, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2415, - "end": 2568, + "start": 3277, + "end": 3278, "loc": { "start": { - "line": 72, - "column": 20 + "line": 95, + "column": 8 }, "end": { - "line": 75, - "column": 23 + "line": 95, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "catch", + "keyword": "catch", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13109,43 +15736,42 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2590, - "end": 2594, + "value": "catch", + "start": 3279, + "end": 3284, "loc": { "start": { - "line": 76, - "column": 20 + "line": 95, + "column": 10 }, "end": { - "line": 76, - "column": 24 + "line": 95, + "column": 15 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2594, - "end": 2595, + "start": 3285, + "end": 3286, "loc": { "start": { - "line": 76, - "column": 24 + "line": 95, + "column": 16 }, "end": { - "line": 76, - "column": 25 + "line": 95, + "column": 17 } } }, @@ -13161,51 +15787,49 @@ "postfix": false, "binop": null }, - "value": "formatVersion", - "start": 2595, - "end": 2608, + "value": "pError", + "start": 3286, + "end": 3292, "loc": { "start": { - "line": 76, - "column": 25 + "line": 95, + "column": 17 }, "end": { - "line": 76, - "column": 38 + "line": 95, + "column": 23 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2609, - "end": 2610, + "start": 3292, + "end": 3293, "loc": { "start": { - "line": 76, - "column": 39 + "line": 95, + "column": 23 }, "end": { - "line": 76, - "column": 40 + "line": 95, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13214,104 +15838,102 @@ "postfix": false, "binop": null }, - "value": "vyi", - "start": 2611, - "end": 2614, + "start": 3294, + "end": 3295, "loc": { "start": { - "line": 76, - "column": 41 + "line": 95, + "column": 25 }, "end": { - "line": 76, - "column": 44 + "line": 95, + "column": 26 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2614, - "end": 2615, + "value": "VYI", + "start": 3309, + "end": 3312, "loc": { "start": { - "line": 76, - "column": 44 + "line": 96, + "column": 12 }, "end": { - "line": 76, - "column": 45 + "line": 96, + "column": 15 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "v", - "start": 2615, - "end": 2616, + "start": 3312, + "end": 3313, "loc": { "start": { - "line": 76, - "column": 45 + "line": 96, + "column": 15 }, "end": { - "line": 76, - "column": 46 + "line": 96, + "column": 16 } } }, { "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 2617, - "end": 2619, + "value": "logger", + "start": 3313, + "end": 3319, "loc": { "start": { - "line": 76, - "column": 47 + "line": 96, + "column": 16 }, "end": { - "line": 76, - "column": 49 + "line": 96, + "column": 22 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13320,104 +15942,102 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 2620, - "end": 2621, + "start": 3319, + "end": 3320, "loc": { "start": { - "line": 76, - "column": 50 + "line": 96, + "column": 22 }, "end": { - "line": 76, - "column": 51 + "line": 96, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2621, - "end": 2622, + "value": "prefix", + "start": 3320, + "end": 3326, "loc": { "start": { - "line": 76, - "column": 51 + "line": 96, + "column": 23 }, "end": { - "line": 76, - "column": 52 + "line": 96, + "column": 29 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2646, - "end": 2648, + "start": 3326, + "end": 3327, "loc": { "start": { - "line": 78, - "column": 20 + "line": 96, + "column": 29 }, "end": { - "line": 78, - "column": 22 + "line": 96, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2649, - "end": 2650, + "value": "VYI-module", + "start": 3327, + "end": 3339, "loc": { "start": { - "line": 78, - "column": 23 + "line": 96, + "column": 30 }, "end": { - "line": 78, - "column": 24 + "line": 96, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13425,17 +16045,16 @@ "postfix": false, "binop": null }, - "value": "Array", - "start": 2650, - "end": 2655, + "start": 3339, + "end": 3340, "loc": { "start": { - "line": 78, - "column": 24 + "line": 96, + "column": 42 }, "end": { - "line": 78, - "column": 29 + "line": 96, + "column": 43 } } }, @@ -13452,16 +16071,16 @@ "binop": null, "updateContext": null }, - "start": 2655, - "end": 2656, + "start": 3340, + "end": 3341, "loc": { "start": { - "line": 78, - "column": 29 + "line": 96, + "column": 43 }, "end": { - "line": 78, - "column": 30 + "line": 96, + "column": 44 } } }, @@ -13477,17 +16096,17 @@ "postfix": false, "binop": null }, - "value": "isArray", - "start": 2656, - "end": 2663, + "value": "error", + "start": 3341, + "end": 3346, "loc": { "start": { - "line": 78, - "column": 30 + "line": 96, + "column": 44 }, "end": { - "line": 78, - "column": 37 + "line": 96, + "column": 49 } } }, @@ -13503,22 +16122,22 @@ "postfix": false, "binop": null }, - "start": 2663, - "end": 2664, + "start": 3346, + "end": 3347, "loc": { "start": { - "line": 78, - "column": 37 + "line": 96, + "column": 49 }, "end": { - "line": 78, - "column": 38 + "line": 96, + "column": 50 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13528,23 +16147,22 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 2664, - "end": 2669, + "start": 3347, + "end": 3348, "loc": { "start": { - "line": 78, - "column": 38 + "line": 96, + "column": 50 }, "end": { - "line": 78, - "column": 43 + "line": 96, + "column": 51 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13552,26 +16170,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2669, - "end": 2670, + "value": "Error processing vyi data: ", + "start": 3348, + "end": 3375, "loc": { "start": { - "line": 78, - "column": 43 + "line": 96, + "column": 51 }, "end": { - "line": 78, - "column": 44 + "line": 96, + "column": 78 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13579,23 +16199,23 @@ "postfix": false, "binop": null }, - "start": 2670, - "end": 2671, + "start": 3375, + "end": 3377, "loc": { "start": { - "line": 78, - "column": 44 + "line": 96, + "column": 78 }, "end": { - "line": 78, - "column": 45 + "line": 96, + "column": 80 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13604,40 +16224,25 @@ "postfix": false, "binop": null }, - "start": 2672, - "end": 2673, - "loc": { - "start": { - "line": 78, - "column": 46 - }, - "end": { - "line": 78, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2699, - "end": 2765, + "value": "pError", + "start": 3377, + "end": 3383, "loc": { "start": { - "line": 79, - "column": 24 + "line": 96, + "column": 80 }, "end": { - "line": 79, - "column": 90 + "line": 96, + "column": 86 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13645,23 +16250,22 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 2791, - "end": 2796, + "start": 3383, + "end": 3384, "loc": { "start": { - "line": 80, - "column": 24 + "line": 96, + "column": 86 }, "end": { - "line": 80, - "column": 29 + "line": 96, + "column": 87 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13672,22 +16276,23 @@ "binop": null, "updateContext": null }, - "start": 2796, - "end": 2797, + "value": "", + "start": 3384, + "end": 3384, "loc": { "start": { - "line": 80, - "column": 29 + "line": 96, + "column": 87 }, "end": { - "line": 80, - "column": 30 + "line": 96, + "column": 87 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13697,25 +16302,24 @@ "postfix": false, "binop": null }, - "value": "forEach", - "start": 2797, - "end": 2804, + "start": 3384, + "end": 3385, "loc": { "start": { - "line": 80, - "column": 30 + "line": 96, + "column": 87 }, "end": { - "line": 80, - "column": 37 + "line": 96, + "column": 88 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13723,49 +16327,50 @@ "postfix": false, "binop": null }, - "start": 2804, - "end": 2805, + "start": 3385, + "end": 3386, "loc": { "start": { - "line": 80, - "column": 37 + "line": 96, + "column": 88 }, "end": { - "line": 80, - "column": 38 + "line": 96, + "column": 89 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2805, - "end": 2806, + "start": 3386, + "end": 3387, "loc": { "start": { - "line": 80, - "column": 38 + "line": 96, + "column": 89 }, "end": { - "line": 80, - "column": 39 + "line": 96, + "column": 90 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13773,23 +16378,22 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 2806, - "end": 2815, + "start": 3397, + "end": 3398, "loc": { "start": { - "line": 80, - "column": 39 + "line": 97, + "column": 8 }, "end": { - "line": 80, - "column": 48 + "line": 97, + "column": 9 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13799,49 +16403,39 @@ "postfix": false, "binop": null }, - "start": 2815, - "end": 2816, + "start": 3404, + "end": 3405, "loc": { "start": { - "line": 80, - "column": 48 + "line": 98, + "column": 4 }, "end": { - "line": 80, - "column": 49 + "line": 98, + "column": 5 } } }, { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2817, - "end": 2819, + "type": "CommentBlock", + "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", + "start": 3411, + "end": 3580, "loc": { "start": { - "line": 80, - "column": 50 + "line": 99, + "column": 4 }, "end": { - "line": 80, - "column": 52 + "line": 103, + "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13850,78 +16444,76 @@ "postfix": false, "binop": null }, - "start": 2820, - "end": 2821, + "value": "addIcon", + "start": 3586, + "end": 3593, "loc": { "start": { - "line": 80, - "column": 53 + "line": 104, + "column": 4 }, "end": { - "line": 80, - "column": 54 + "line": 104, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2851, - "end": 2855, + "start": 3593, + "end": 3594, "loc": { "start": { - "line": 81, - "column": 28 + "line": 104, + "column": 11 }, "end": { - "line": 81, - "column": 32 + "line": 104, + "column": 12 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2855, - "end": 2856, + "value": "pIconData", + "start": 3594, + "end": 3603, "loc": { "start": { - "line": 81, - "column": 32 + "line": 104, + "column": 12 }, "end": { - "line": 81, - "column": 33 + "line": 104, + "column": 21 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13929,23 +16521,22 @@ "postfix": false, "binop": null }, - "value": "addIcon", - "start": 2856, - "end": 2863, + "start": 3603, + "end": 3604, "loc": { "start": { - "line": 81, - "column": 33 + "line": 104, + "column": 21 }, "end": { - "line": 81, - "column": 40 + "line": 104, + "column": 22 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -13955,50 +16546,52 @@ "postfix": false, "binop": null }, - "start": 2863, - "end": 2864, + "start": 3605, + "end": 3606, "loc": { "start": { - "line": 81, - "column": 40 + "line": 104, + "column": 23 }, "end": { - "line": 81, - "column": 41 + "line": 104, + "column": 24 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIconData", - "start": 2864, - "end": 2873, + "value": "if", + "start": 3616, + "end": 3618, "loc": { "start": { - "line": 81, - "column": 41 + "line": 105, + "column": 8 }, "end": { - "line": 81, - "column": 50 + "line": 105, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14006,48 +16599,48 @@ "postfix": false, "binop": null }, - "start": 2873, - "end": 2874, + "start": 3619, + "end": 3620, "loc": { "start": { - "line": 81, - "column": 50 + "line": 105, + "column": 11 }, "end": { - "line": 81, - "column": 51 + "line": 105, + "column": 12 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2874, - "end": 2875, + "value": "pIconData", + "start": 3620, + "end": 3629, "loc": { "start": { - "line": 81, - "column": 51 + "line": 105, + "column": 12 }, "end": { - "line": 81, - "column": 52 + "line": 105, + "column": 21 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14057,24 +16650,24 @@ "postfix": false, "binop": null }, - "start": 2901, - "end": 2902, + "start": 3629, + "end": 3630, "loc": { "start": { - "line": 82, - "column": 24 + "line": 105, + "column": 21 }, "end": { - "line": 82, - "column": 25 + "line": 105, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14082,23 +16675,24 @@ "postfix": false, "binop": null }, - "start": 2902, - "end": 2903, + "start": 3631, + "end": 3632, "loc": { "start": { - "line": 82, - "column": 25 + "line": 105, + "column": 23 }, "end": { - "line": 82, - "column": 26 + "line": 105, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14108,24 +16702,25 @@ "binop": null, "updateContext": null }, - "start": 2903, - "end": 2904, + "value": "if", + "start": 3646, + "end": 3648, "loc": { "start": { - "line": 82, - "column": 26 + "line": 106, + "column": 12 }, "end": { - "line": 82, - "column": 27 + "line": 106, + "column": 14 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14133,69 +16728,70 @@ "postfix": false, "binop": null }, - "start": 2926, - "end": 2927, + "start": 3649, + "end": 3650, "loc": { "start": { - "line": 83, - "column": 20 + "line": 106, + "column": 15 }, "end": { - "line": 83, - "column": 21 + "line": 106, + "column": 16 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 2928, - "end": 2932, + "value": "pIconData", + "start": 3650, + "end": 3659, "loc": { "start": { - "line": 83, - "column": 22 + "line": 106, + "column": 16 }, "end": { - "line": 83, - "column": 26 + "line": 106, + "column": 25 } } }, { "type": { - "label": "{", + "label": "instanceof", + "keyword": "instanceof", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 2933, - "end": 2934, + "value": "instanceof", + "start": 3660, + "end": 3670, "loc": { "start": { - "line": 83, - "column": 27 + "line": 106, + "column": 26 }, "end": { - "line": 83, - "column": 28 + "line": 106, + "column": 36 } } }, @@ -14211,23 +16807,23 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 2960, - "end": 2963, + "value": "Object", + "start": 3671, + "end": 3677, "loc": { "start": { - "line": 84, - "column": 24 + "line": 106, + "column": 37 }, "end": { - "line": 84, - "column": 27 + "line": 106, + "column": 43 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14235,26 +16831,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2963, - "end": 2964, + "start": 3677, + "end": 3678, "loc": { "start": { - "line": 84, - "column": 27 + "line": 106, + "column": 43 }, "end": { - "line": 84, - "column": 28 + "line": 106, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14263,23 +16858,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 2964, - "end": 2970, + "start": 3679, + "end": 3680, "loc": { "start": { - "line": 84, - "column": 28 + "line": 106, + "column": 45 }, "end": { - "line": 84, - "column": 34 + "line": 106, + "column": 46 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14290,16 +16885,17 @@ "binop": null, "updateContext": null }, - "start": 2970, - "end": 2971, + "value": "const", + "start": 3698, + "end": 3703, "loc": { "start": { - "line": 84, - "column": 34 + "line": 107, + "column": 16 }, "end": { - "line": 84, - "column": 35 + "line": 107, + "column": 21 } } }, @@ -14315,49 +16911,52 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 2971, - "end": 2977, + "value": "icon", + "start": 3704, + "end": 3708, "loc": { "start": { - "line": 84, - "column": 35 + "line": 107, + "column": 22 }, "end": { - "line": 84, - "column": 41 + "line": 107, + "column": 26 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2977, - "end": 2978, + "value": "=", + "start": 3709, + "end": 3710, "loc": { "start": { - "line": 84, - "column": 41 + "line": 107, + "column": 27 }, "end": { - "line": 84, - "column": 42 + "line": 107, + "column": 28 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14367,25 +16966,25 @@ "binop": null, "updateContext": null }, - "value": "VYI-module", - "start": 2978, - "end": 2990, + "value": "new", + "start": 3711, + "end": 3714, "loc": { "start": { - "line": 84, - "column": 42 + "line": 107, + "column": 29 }, "end": { - "line": 84, - "column": 54 + "line": 107, + "column": 32 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14393,42 +16992,42 @@ "postfix": false, "binop": null }, - "start": 2990, - "end": 2991, + "value": "Icon", + "start": 3715, + "end": 3719, "loc": { "start": { - "line": 84, - "column": 54 + "line": 107, + "column": 33 }, "end": { - "line": 84, - "column": 55 + "line": 107, + "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2991, - "end": 2992, + "start": 3719, + "end": 3720, "loc": { "start": { - "line": 84, - "column": 55 + "line": 107, + "column": 37 }, "end": { - "line": 84, - "column": 56 + "line": 107, + "column": 38 } } }, @@ -14444,48 +17043,50 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 2992, - "end": 2997, + "value": "pIconData", + "start": 3720, + "end": 3729, "loc": { "start": { - "line": 84, - "column": 56 + "line": 107, + "column": 38 }, "end": { - "line": 84, - "column": 61 + "line": 107, + "column": 47 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2997, - "end": 2998, + "start": 3729, + "end": 3730, "loc": { "start": { - "line": 84, - "column": 61 + "line": 107, + "column": 47 }, "end": { - "line": 84, - "column": 62 + "line": 107, + "column": 48 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14496,17 +17097,17 @@ "binop": null, "updateContext": null }, - "value": "Invalid .vyi file! Cannot parse.", - "start": 2998, - "end": 3032, + "value": "this", + "start": 3731, + "end": 3735, "loc": { "start": { - "line": 84, - "column": 62 + "line": 107, + "column": 49 }, "end": { - "line": 84, - "column": 96 + "line": 107, + "column": 53 } } }, @@ -14522,16 +17123,16 @@ "postfix": false, "binop": null }, - "start": 3032, - "end": 3033, + "start": 3735, + "end": 3736, "loc": { "start": { - "line": 84, - "column": 96 + "line": 107, + "column": 53 }, "end": { - "line": 84, - "column": 97 + "line": 107, + "column": 54 } } }, @@ -14548,47 +17149,66 @@ "binop": null, "updateContext": null }, - "start": 3033, - "end": 3034, + "start": 3736, + "end": 3737, "loc": { "start": { - "line": 84, - "column": 97 + "line": 107, + "column": 54 }, "end": { - "line": 84, - "column": 98 + "line": 107, + "column": 55 + } + } + }, + { + "type": "CommentLine", + "value": " Add the icon to the icons array.", + "start": 3755, + "end": 3790, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 51 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3056, - "end": 3057, + "value": "this", + "start": 3808, + "end": 3812, "loc": { "start": { - "line": 85, - "column": 20 + "line": 109, + "column": 16 }, "end": { - "line": 85, - "column": 21 + "line": 109, + "column": 20 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14596,26 +17216,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3075, - "end": 3076, + "start": 3812, + "end": 3813, "loc": { "start": { - "line": 86, - "column": 16 + "line": 109, + "column": 20 }, "end": { - "line": 86, - "column": 17 + "line": 109, + "column": 21 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14623,22 +17244,23 @@ "postfix": false, "binop": null }, - "start": 3090, - "end": 3091, + "value": "icons", + "start": 3813, + "end": 3818, "loc": { "start": { - "line": 87, - "column": 12 + "line": 109, + "column": 21 }, "end": { - "line": 87, - "column": 13 + "line": 109, + "column": 26 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14646,46 +17268,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3101, - "end": 3102, + "start": 3818, + "end": 3819, "loc": { "start": { - "line": 88, - "column": 8 + "line": 109, + "column": 26 }, "end": { - "line": 88, - "column": 9 + "line": 109, + "column": 27 } } }, { "type": { - "label": "catch", - "keyword": "catch", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "catch", - "start": 3103, - "end": 3108, + "value": "push", + "start": 3819, + "end": 3823, "loc": { "start": { - "line": 88, - "column": 10 + "line": 109, + "column": 27 }, "end": { - "line": 88, - "column": 15 + "line": 109, + "column": 31 } } }, @@ -14701,16 +17322,16 @@ "postfix": false, "binop": null }, - "start": 3109, - "end": 3110, + "start": 3823, + "end": 3824, "loc": { "start": { - "line": 88, - "column": 16 + "line": 109, + "column": 31 }, "end": { - "line": 88, - "column": 17 + "line": 109, + "column": 32 } } }, @@ -14726,17 +17347,17 @@ "postfix": false, "binop": null }, - "value": "pError", - "start": 3110, - "end": 3116, + "value": "icon", + "start": 3824, + "end": 3828, "loc": { "start": { - "line": 88, - "column": 17 + "line": 109, + "column": 32 }, "end": { - "line": 88, - "column": 23 + "line": 109, + "column": 36 } } }, @@ -14752,41 +17373,70 @@ "postfix": false, "binop": null }, - "start": 3116, - "end": 3117, + "start": 3828, + "end": 3829, "loc": { "start": { - "line": 88, - "column": 23 + "line": 109, + "column": 36 }, "end": { - "line": 88, - "column": 24 + "line": 109, + "column": 37 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null + }, + "start": 3829, + "end": 3830, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 38 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "start": 3118, - "end": 3119, + "value": "return", + "start": 3848, + "end": 3854, "loc": { "start": { - "line": 88, - "column": 25 + "line": 110, + "column": 16 }, "end": { - "line": 88, - "column": 26 + "line": 110, + "column": 22 } } }, @@ -14802,24 +17452,24 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 3133, - "end": 3136, + "value": "icon", + "start": 3855, + "end": 3859, "loc": { "start": { - "line": 89, - "column": 12 + "line": 110, + "column": 23 }, "end": { - "line": 89, - "column": 15 + "line": 110, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14829,24 +17479,24 @@ "binop": null, "updateContext": null }, - "start": 3136, - "end": 3137, + "start": 3859, + "end": 3860, "loc": { "start": { - "line": 89, - "column": 15 + "line": 110, + "column": 27 }, "end": { - "line": 89, - "column": 16 + "line": 110, + "column": 28 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14854,24 +17504,24 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 3137, - "end": 3143, + "start": 3874, + "end": 3875, "loc": { "start": { - "line": 89, - "column": 16 + "line": 111, + "column": 12 }, "end": { - "line": 89, - "column": 22 + "line": 111, + "column": 13 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14881,23 +17531,24 @@ "binop": null, "updateContext": null }, - "start": 3143, - "end": 3144, + "value": "else", + "start": 3876, + "end": 3880, "loc": { "start": { - "line": 89, - "column": 22 + "line": 111, + "column": 14 }, "end": { - "line": 89, - "column": 23 + "line": 111, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14906,24 +17557,23 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 3144, - "end": 3150, + "start": 3881, + "end": 3882, "loc": { "start": { - "line": 89, - "column": 23 + "line": 111, + "column": 19 }, "end": { - "line": 89, - "column": 29 + "line": 111, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14932,24 +17582,25 @@ "postfix": false, "binop": null }, - "start": 3150, - "end": 3151, + "value": "VYI", + "start": 3900, + "end": 3903, "loc": { "start": { - "line": 89, - "column": 29 + "line": 112, + "column": 16 }, "end": { - "line": 89, - "column": 30 + "line": 112, + "column": 19 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14958,25 +17609,24 @@ "binop": null, "updateContext": null }, - "value": "VYI-module", - "start": 3151, - "end": 3163, + "start": 3903, + "end": 3904, "loc": { "start": { - "line": 89, - "column": 30 + "line": 112, + "column": 19 }, "end": { - "line": 89, - "column": 42 + "line": 112, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14984,16 +17634,17 @@ "postfix": false, "binop": null }, - "start": 3163, - "end": 3164, + "value": "logger", + "start": 3904, + "end": 3910, "loc": { "start": { - "line": 89, - "column": 42 + "line": 112, + "column": 20 }, "end": { - "line": 89, - "column": 43 + "line": 112, + "column": 26 } } }, @@ -15010,16 +17661,16 @@ "binop": null, "updateContext": null }, - "start": 3164, - "end": 3165, + "start": 3910, + "end": 3911, "loc": { "start": { - "line": 89, - "column": 43 + "line": 112, + "column": 26 }, "end": { - "line": 89, - "column": 44 + "line": 112, + "column": 27 } } }, @@ -15035,17 +17686,17 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 3165, - "end": 3170, + "value": "prefix", + "start": 3911, + "end": 3917, "loc": { "start": { - "line": 89, - "column": 44 + "line": 112, + "column": 27 }, "end": { - "line": 89, - "column": 49 + "line": 112, + "column": 33 } } }, @@ -15061,22 +17712,22 @@ "postfix": false, "binop": null }, - "start": 3170, - "end": 3171, + "start": 3917, + "end": 3918, "loc": { "start": { - "line": 89, - "column": 49 + "line": 112, + "column": 33 }, "end": { - "line": 89, - "column": 50 + "line": 112, + "column": 34 } } }, { "type": { - "label": "`", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15084,24 +17735,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3171, - "end": 3172, + "value": "VYI-module", + "start": 3918, + "end": 3930, "loc": { "start": { - "line": 89, - "column": 50 + "line": 112, + "column": 34 }, "end": { - "line": 89, - "column": 51 + "line": 112, + "column": 46 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15109,45 +17762,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Error processing vyi data: ", - "start": 3172, - "end": 3199, + "start": 3930, + "end": 3931, "loc": { "start": { - "line": 89, - "column": 51 + "line": 112, + "column": 46 }, "end": { - "line": 89, - "column": 78 + "line": 112, + "column": 47 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3199, - "end": 3201, + "start": 3931, + "end": 3932, "loc": { "start": { - "line": 89, - "column": 78 + "line": 112, + "column": 47 }, "end": { - "line": 89, - "column": 80 + "line": 112, + "column": 48 } } }, @@ -15163,25 +17815,25 @@ "postfix": false, "binop": null }, - "value": "pError", - "start": 3201, - "end": 3207, + "value": "error", + "start": 3932, + "end": 3937, "loc": { "start": { - "line": 89, - "column": 80 + "line": 112, + "column": 48 }, "end": { - "line": 89, - "column": 86 + "line": 112, + "column": 53 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15189,24 +17841,24 @@ "postfix": false, "binop": null }, - "start": 3207, - "end": 3208, + "start": 3937, + "end": 3938, "loc": { "start": { - "line": 89, - "column": 86 + "line": 112, + "column": 53 }, "end": { - "line": 89, - "column": 87 + "line": 112, + "column": 54 } } }, { "type": { - "label": "template", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15215,25 +17867,25 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 3208, - "end": 3208, + "value": "Invalid icon data type passed!", + "start": 3938, + "end": 3970, "loc": { "start": { - "line": 89, - "column": 87 + "line": 112, + "column": 54 }, "end": { - "line": 89, - "column": 87 + "line": 112, + "column": 86 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15241,67 +17893,67 @@ "postfix": false, "binop": null }, - "start": 3208, - "end": 3209, + "start": 3970, + "end": 3971, "loc": { "start": { - "line": 89, - "column": 87 + "line": 112, + "column": 86 }, "end": { - "line": 89, - "column": 88 + "line": 112, + "column": 87 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3209, - "end": 3210, + "start": 3971, + "end": 3972, "loc": { "start": { - "line": 89, - "column": 88 + "line": 112, + "column": 87 }, "end": { - "line": 89, - "column": 89 + "line": 112, + "column": 88 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3210, - "end": 3211, + "start": 3986, + "end": 3987, "loc": { "start": { - "line": 89, - "column": 89 + "line": 113, + "column": 12 }, "end": { - "line": 89, - "column": 90 + "line": 113, + "column": 13 } } }, @@ -15317,57 +17969,69 @@ "postfix": false, "binop": null }, - "start": 3221, - "end": 3222, + "start": 3997, + "end": 3998, "loc": { "start": { - "line": 90, + "line": 114, "column": 8 }, "end": { - "line": 90, + "line": 114, "column": 9 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3228, - "end": 3229, + "value": "else", + "start": 3999, + "end": 4003, "loc": { "start": { - "line": 91, - "column": 4 + "line": 114, + "column": 10 }, "end": { - "line": 91, - "column": 5 + "line": 114, + "column": 14 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3235, - "end": 3404, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4004, + "end": 4005, "loc": { "start": { - "line": 92, - "column": 4 + "line": 114, + "column": 15 }, "end": { - "line": 96, - "column": 7 + "line": 114, + "column": 16 } } }, @@ -15383,42 +18047,43 @@ "postfix": false, "binop": null }, - "value": "addIcon", - "start": 3410, - "end": 3417, + "value": "VYI", + "start": 4019, + "end": 4022, "loc": { "start": { - "line": 97, - "column": 4 + "line": 115, + "column": 12 }, "end": { - "line": 97, - "column": 11 + "line": 115, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3417, - "end": 3418, + "start": 4022, + "end": 4023, "loc": { "start": { - "line": 97, - "column": 11 + "line": 115, + "column": 15 }, "end": { - "line": 97, - "column": 12 + "line": 115, + "column": 16 } } }, @@ -15434,23 +18099,23 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 3418, - "end": 3427, + "value": "logger", + "start": 4023, + "end": 4029, "loc": { "start": { - "line": 97, - "column": 12 + "line": 115, + "column": 16 }, "end": { - "line": 97, - "column": 21 + "line": 115, + "column": 22 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15458,25 +18123,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3427, - "end": 3428, + "start": 4029, + "end": 4030, "loc": { "start": { - "line": 97, - "column": 21 + "line": 115, + "column": 22 }, "end": { - "line": 97, - "column": 22 + "line": 115, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15485,77 +18151,77 @@ "postfix": false, "binop": null }, - "start": 3429, - "end": 3430, + "value": "prefix", + "start": 4030, + "end": 4036, "loc": { "start": { - "line": 97, + "line": 115, "column": 23 }, "end": { - "line": 97, - "column": 24 + "line": 115, + "column": 29 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3440, - "end": 3442, + "start": 4036, + "end": 4037, "loc": { "start": { - "line": 98, - "column": 8 + "line": 115, + "column": 29 }, "end": { - "line": 98, - "column": 10 + "line": 115, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3443, - "end": 3444, + "value": "VYI-module", + "start": 4037, + "end": 4049, "loc": { "start": { - "line": 98, - "column": 11 + "line": 115, + "column": 30 }, "end": { - "line": 98, - "column": 12 + "line": 115, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15563,23 +18229,22 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 3444, - "end": 3453, + "start": 4049, + "end": 4050, "loc": { "start": { - "line": 98, - "column": 12 + "line": 115, + "column": 42 }, "end": { - "line": 98, - "column": 21 + "line": 115, + "column": 43 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15587,25 +18252,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3453, - "end": 3454, + "start": 4050, + "end": 4051, "loc": { "start": { - "line": 98, - "column": 21 + "line": 115, + "column": 43 }, "end": { - "line": 98, - "column": 22 + "line": 115, + "column": 44 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15614,77 +18280,77 @@ "postfix": false, "binop": null }, - "start": 3455, - "end": 3456, + "value": "error", + "start": 4051, + "end": 4056, "loc": { "start": { - "line": 98, - "column": 23 + "line": 115, + "column": 44 }, "end": { - "line": 98, - "column": 24 + "line": 115, + "column": 49 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3470, - "end": 3472, + "start": 4056, + "end": 4057, "loc": { "start": { - "line": 99, - "column": 12 + "line": 115, + "column": 49 }, "end": { - "line": 99, - "column": 14 + "line": 115, + "column": 50 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3473, - "end": 3474, + "value": "No icon data passed!", + "start": 4057, + "end": 4079, "loc": { "start": { - "line": 99, - "column": 15 + "line": 115, + "column": 50 }, "end": { - "line": 99, - "column": 16 + "line": 115, + "column": 72 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15692,24 +18358,22 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 3474, - "end": 3483, + "start": 4079, + "end": 4080, "loc": { "start": { - "line": 99, - "column": 16 + "line": 115, + "column": 72 }, "end": { - "line": 99, - "column": 25 + "line": 115, + "column": 73 } } }, { "type": { - "label": "instanceof", - "keyword": "instanceof", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15717,28 +18381,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "instanceof", - "start": 3484, - "end": 3494, + "start": 4080, + "end": 4081, "loc": { "start": { - "line": 99, - "column": 26 + "line": 115, + "column": 73 }, "end": { - "line": 99, - "column": 36 + "line": 115, + "column": 74 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15746,23 +18409,22 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 3495, - "end": 3501, + "start": 4091, + "end": 4092, "loc": { "start": { - "line": 99, - "column": 37 + "line": 116, + "column": 8 }, "end": { - "line": 99, - "column": 43 + "line": 116, + "column": 9 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15772,23 +18434,39 @@ "postfix": false, "binop": null }, - "start": 3501, - "end": 3502, + "start": 4098, + "end": 4099, "loc": { "start": { - "line": 99, - "column": 43 + "line": 117, + "column": 4 }, "end": { - "line": 99, - "column": 44 + "line": 117, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", + "start": 4105, + "end": 4437, + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 122, + "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15797,44 +18475,42 @@ "postfix": false, "binop": null }, - "start": 3503, - "end": 3504, + "value": "removeIcon", + "start": 4443, + "end": 4453, "loc": { "start": { - "line": 99, - "column": 45 + "line": 123, + "column": 4 }, "end": { - "line": 99, - "column": 46 + "line": 123, + "column": 14 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 3522, - "end": 3527, + "start": 4453, + "end": 4454, "loc": { "start": { - "line": 100, - "column": 16 + "line": 123, + "column": 14 }, "end": { - "line": 100, - "column": 21 + "line": 123, + "column": 15 } } }, @@ -15850,80 +18526,77 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 3528, - "end": 3532, + "value": "pIcon", + "start": 4454, + "end": 4459, "loc": { "start": { - "line": 100, - "column": 22 + "line": 123, + "column": 15 }, "end": { - "line": 100, - "column": 26 + "line": 123, + "column": 20 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3533, - "end": 3534, + "start": 4459, + "end": 4460, "loc": { "start": { - "line": 100, - "column": 27 + "line": 123, + "column": 20 }, "end": { - "line": 100, - "column": 28 + "line": 123, + "column": 21 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 3535, - "end": 3538, + "value": "pName", + "start": 4461, + "end": 4466, "loc": { "start": { - "line": 100, - "column": 29 + "line": 123, + "column": 22 }, "end": { - "line": 100, - "column": 32 + "line": 123, + "column": 27 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15931,23 +18604,22 @@ "postfix": false, "binop": null }, - "value": "Icon", - "start": 3539, - "end": 3543, + "start": 4466, + "end": 4467, "loc": { "start": { - "line": 100, - "column": 33 + "line": 123, + "column": 27 }, "end": { - "line": 100, - "column": 37 + "line": 123, + "column": 28 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -15957,50 +18629,52 @@ "postfix": false, "binop": null }, - "start": 3543, - "end": 3544, + "start": 4468, + "end": 4469, "loc": { "start": { - "line": 100, - "column": 37 + "line": 123, + "column": 29 }, "end": { - "line": 100, - "column": 38 + "line": 123, + "column": 30 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIconData", - "start": 3544, - "end": 3553, + "value": "const", + "start": 4479, + "end": 4484, "loc": { "start": { - "line": 100, - "column": 38 + "line": 124, + "column": 8 }, "end": { - "line": 100, - "column": 47 + "line": 124, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16008,65 +18682,50 @@ "postfix": false, "binop": null }, - "start": 3553, - "end": 3554, + "value": "icon", + "start": 4485, + "end": 4489, "loc": { "start": { - "line": 100, - "column": 47 + "line": 124, + "column": 14 }, "end": { - "line": 100, - "column": 48 + "line": 124, + "column": 18 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3554, - "end": 3555, - "loc": { - "start": { - "line": 100, - "column": 48 - }, - "end": { - "line": 100, - "column": 49 - } - } - }, - { - "type": "CommentLine", - "value": " Add the icon to the icons array.", - "start": 3573, - "end": 3608, + "value": "=", + "start": 4490, + "end": 4491, "loc": { "start": { - "line": 101, - "column": 16 + "line": 124, + "column": 19 }, "end": { - "line": 101, - "column": 51 + "line": 124, + "column": 20 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16074,52 +18733,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3626, - "end": 3630, + "value": "pIcon", + "start": 4492, + "end": 4497, "loc": { "start": { - "line": 102, - "column": 16 + "line": 124, + "column": 21 }, "end": { - "line": 102, - "column": 20 + "line": 124, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 3630, - "end": 3631, + "value": "||", + "start": 4498, + "end": 4500, "loc": { "start": { - "line": 102, - "column": 20 + "line": 124, + "column": 27 }, "end": { - "line": 102, - "column": 21 + "line": 124, + "column": 29 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16127,19 +18787,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "icons", - "start": 3631, - "end": 3636, + "value": "this", + "start": 4501, + "end": 4505, "loc": { "start": { - "line": 102, - "column": 21 + "line": 124, + "column": 30 }, "end": { - "line": 102, - "column": 26 + "line": 124, + "column": 34 } } }, @@ -16156,16 +18817,16 @@ "binop": null, "updateContext": null }, - "start": 3636, - "end": 3637, + "start": 4505, + "end": 4506, "loc": { "start": { - "line": 102, - "column": 26 + "line": 124, + "column": 34 }, "end": { - "line": 102, - "column": 27 + "line": 124, + "column": 35 } } }, @@ -16181,17 +18842,17 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 3637, - "end": 3641, + "value": "getIcon", + "start": 4506, + "end": 4513, "loc": { "start": { - "line": 102, - "column": 27 + "line": 124, + "column": 35 }, "end": { - "line": 102, - "column": 31 + "line": 124, + "column": 42 } } }, @@ -16207,16 +18868,16 @@ "postfix": false, "binop": null }, - "start": 3641, - "end": 3642, + "start": 4513, + "end": 4514, "loc": { "start": { - "line": 102, - "column": 31 + "line": 124, + "column": 42 }, "end": { - "line": 102, - "column": 32 + "line": 124, + "column": 43 } } }, @@ -16232,17 +18893,17 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 3642, - "end": 3646, + "value": "pName", + "start": 4514, + "end": 4519, "loc": { "start": { - "line": 102, - "column": 32 + "line": 124, + "column": 43 }, "end": { - "line": 102, - "column": 36 + "line": 124, + "column": 48 } } }, @@ -16258,16 +18919,16 @@ "postfix": false, "binop": null }, - "start": 3646, - "end": 3647, + "start": 4519, + "end": 4520, "loc": { "start": { - "line": 102, - "column": 36 + "line": 124, + "column": 48 }, "end": { - "line": 102, - "column": 37 + "line": 124, + "column": 49 } } }, @@ -16284,44 +18945,69 @@ "binop": null, "updateContext": null }, - "start": 3647, - "end": 3648, + "start": 4520, + "end": 4521, "loc": { "start": { - "line": 102, - "column": 37 + "line": 124, + "column": 49 }, "end": { - "line": 102, - "column": 38 + "line": 124, + "column": 50 + } + } + }, + { + "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": 4531, + "end": 4533, + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 10 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3666, - "end": 3672, + "start": 4534, + "end": 4535, "loc": { "start": { - "line": 103, - "column": 16 + "line": 125, + "column": 11 }, "end": { - "line": 103, - "column": 22 + "line": 125, + "column": 12 } } }, @@ -16338,50 +19024,49 @@ "binop": null }, "value": "icon", - "start": 3673, - "end": 3677, + "start": 4535, + "end": 4539, "loc": { "start": { - "line": 103, - "column": 23 + "line": 125, + "column": 12 }, "end": { - "line": 103, - "column": 27 + "line": 125, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3677, - "end": 3678, + "start": 4539, + "end": 4540, "loc": { "start": { - "line": 103, - "column": 27 + "line": 125, + "column": 16 }, "end": { - "line": 103, - "column": 28 + "line": 125, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16389,24 +19074,24 @@ "postfix": false, "binop": null }, - "start": 3692, - "end": 3693, + "start": 4541, + "end": 4542, "loc": { "start": { - "line": 104, - "column": 12 + "line": 125, + "column": 18 }, "end": { - "line": 104, - "column": 13 + "line": 125, + "column": 19 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -16416,23 +19101,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 3694, - "end": 3698, + "value": "if", + "start": 4556, + "end": 4558, "loc": { "start": { - "line": 104, - "column": 14 + "line": 126, + "column": 12 }, "end": { - "line": 104, - "column": 18 + "line": 126, + "column": 14 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -16442,22 +19127,23 @@ "postfix": false, "binop": null }, - "start": 3699, - "end": 3700, + "start": 4559, + "end": 4560, "loc": { "start": { - "line": 104, - "column": 19 + "line": 126, + "column": 15 }, "end": { - "line": 104, - "column": 20 + "line": 126, + "column": 16 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16465,19 +19151,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "VYI", - "start": 3718, - "end": 3721, + "value": "this", + "start": 4560, + "end": 4564, "loc": { "start": { - "line": 105, + "line": 126, "column": 16 }, "end": { - "line": 105, - "column": 19 + "line": 126, + "column": 20 } } }, @@ -16494,16 +19181,16 @@ "binop": null, "updateContext": null }, - "start": 3721, - "end": 3722, + "start": 4564, + "end": 4565, "loc": { "start": { - "line": 105, - "column": 19 + "line": 126, + "column": 20 }, "end": { - "line": 105, - "column": 20 + "line": 126, + "column": 21 } } }, @@ -16519,16 +19206,16 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 3722, - "end": 3728, + "value": "icons", + "start": 4565, + "end": 4570, "loc": { "start": { - "line": 105, - "column": 20 + "line": 126, + "column": 21 }, "end": { - "line": 105, + "line": 126, "column": 26 } } @@ -16546,15 +19233,15 @@ "binop": null, "updateContext": null }, - "start": 3728, - "end": 3729, + "start": 4570, + "end": 4571, "loc": { "start": { - "line": 105, + "line": 126, "column": 26 }, "end": { - "line": 105, + "line": 126, "column": 27 } } @@ -16571,17 +19258,17 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 3729, - "end": 3735, + "value": "includes", + "start": 4571, + "end": 4579, "loc": { "start": { - "line": 105, + "line": 126, "column": 27 }, "end": { - "line": 105, - "column": 33 + "line": 126, + "column": 35 } } }, @@ -16597,22 +19284,22 @@ "postfix": false, "binop": null }, - "start": 3735, - "end": 3736, + "start": 4579, + "end": 4580, "loc": { "start": { - "line": 105, - "column": 33 + "line": 126, + "column": 35 }, "end": { - "line": 105, - "column": 34 + "line": 126, + "column": 36 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16620,20 +19307,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-module", - "start": 3736, - "end": 3748, + "value": "icon", + "start": 4580, + "end": 4584, "loc": { "start": { - "line": 105, - "column": 34 + "line": 126, + "column": 36 }, "end": { - "line": 105, - "column": 46 + "line": 126, + "column": 40 } } }, @@ -16649,22 +19335,22 @@ "postfix": false, "binop": null }, - "start": 3748, - "end": 3749, + "start": 4584, + "end": 4585, "loc": { "start": { - "line": 105, - "column": 46 + "line": 126, + "column": 40 }, "end": { - "line": 105, - "column": 47 + "line": 126, + "column": 41 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16672,51 +19358,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3749, - "end": 3750, - "loc": { - "start": { - "line": 105, - "column": 47 - }, - "end": { - "line": 105, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "error", - "start": 3750, - "end": 3755, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 105, - "column": 48 + "line": 126, + "column": 41 }, "end": { - "line": 105, - "column": 53 + "line": 126, + "column": 42 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -16726,22 +19385,23 @@ "postfix": false, "binop": null }, - "start": 3755, - "end": 3756, + "start": 4587, + "end": 4588, "loc": { "start": { - "line": 105, - "column": 53 + "line": 126, + "column": 43 }, "end": { - "line": 105, - "column": 54 + "line": 126, + "column": 44 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16752,23 +19412,23 @@ "binop": null, "updateContext": null }, - "value": "Invalid icon data type passed!", - "start": 3756, - "end": 3788, + "value": "this", + "start": 4606, + "end": 4610, "loc": { "start": { - "line": 105, - "column": 54 + "line": 127, + "column": 16 }, "end": { - "line": 105, - "column": 86 + "line": 127, + "column": 20 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16776,52 +19436,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 3788, - "end": 3789, - "loc": { - "start": { - "line": 105, - "column": 86 - }, - "end": { - "line": 105, - "column": 87 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 3789, - "end": 3790, + "start": 4610, + "end": 4611, "loc": { "start": { - "line": 105, - "column": 87 + "line": 127, + "column": 20 }, "end": { - "line": 105, - "column": 88 + "line": 127, + "column": 21 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16829,22 +19464,23 @@ "postfix": false, "binop": null }, - "start": 3804, - "end": 3805, + "value": "icons", + "start": 4611, + "end": 4616, "loc": { "start": { - "line": 106, - "column": 12 + "line": 127, + "column": 21 }, "end": { - "line": 106, - "column": 13 + "line": 127, + "column": 26 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16852,52 +19488,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3815, - "end": 3816, + "start": 4616, + "end": 4617, "loc": { "start": { - "line": 107, - "column": 8 + "line": 127, + "column": 26 }, "end": { - "line": 107, - "column": 9 + "line": 127, + "column": 27 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 3817, - "end": 3821, + "value": "splice", + "start": 4617, + "end": 4623, "loc": { "start": { - "line": 107, - "column": 10 + "line": 127, + "column": 27 }, "end": { - "line": 107, - "column": 14 + "line": 127, + "column": 33 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -16907,22 +19542,23 @@ "postfix": false, "binop": null }, - "start": 3822, - "end": 3823, + "start": 4623, + "end": 4624, "loc": { "start": { - "line": 107, - "column": 15 + "line": 127, + "column": 33 }, "end": { - "line": 107, - "column": 16 + "line": 127, + "column": 34 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16930,19 +19566,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "VYI", - "start": 3837, - "end": 3840, + "value": "this", + "start": 4624, + "end": 4628, "loc": { "start": { - "line": 108, - "column": 12 + "line": 127, + "column": 34 }, "end": { - "line": 108, - "column": 15 + "line": 127, + "column": 38 } } }, @@ -16959,16 +19596,16 @@ "binop": null, "updateContext": null }, - "start": 3840, - "end": 3841, + "start": 4628, + "end": 4629, "loc": { "start": { - "line": 108, - "column": 15 + "line": 127, + "column": 38 }, "end": { - "line": 108, - "column": 16 + "line": 127, + "column": 39 } } }, @@ -16984,17 +19621,17 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 3841, - "end": 3847, + "value": "icons", + "start": 4629, + "end": 4634, "loc": { "start": { - "line": 108, - "column": 16 + "line": 127, + "column": 39 }, "end": { - "line": 108, - "column": 22 + "line": 127, + "column": 44 } } }, @@ -17011,16 +19648,16 @@ "binop": null, "updateContext": null }, - "start": 3847, - "end": 3848, + "start": 4634, + "end": 4635, "loc": { "start": { - "line": 108, - "column": 22 + "line": 127, + "column": 44 }, "end": { - "line": 108, - "column": 23 + "line": 127, + "column": 45 } } }, @@ -17036,17 +19673,17 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 3848, - "end": 3854, + "value": "indexOf", + "start": 4635, + "end": 4642, "loc": { "start": { - "line": 108, - "column": 23 + "line": 127, + "column": 45 }, "end": { - "line": 108, - "column": 29 + "line": 127, + "column": 52 } } }, @@ -17062,22 +19699,22 @@ "postfix": false, "binop": null }, - "start": 3854, - "end": 3855, + "start": 4642, + "end": 4643, "loc": { "start": { - "line": 108, - "column": 29 + "line": 127, + "column": 52 }, "end": { - "line": 108, - "column": 30 + "line": 127, + "column": 53 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17085,20 +19722,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-module", - "start": 3855, - "end": 3867, + "value": "icon", + "start": 4643, + "end": 4647, "loc": { "start": { - "line": 108, - "column": 30 + "line": 127, + "column": 53 }, "end": { - "line": 108, - "column": 42 + "line": 127, + "column": 57 } } }, @@ -17114,23 +19750,23 @@ "postfix": false, "binop": null }, - "start": 3867, - "end": 3868, + "start": 4647, + "end": 4648, "loc": { "start": { - "line": 108, - "column": 42 + "line": 127, + "column": 57 }, "end": { - "line": 108, - "column": 43 + "line": 127, + "column": 58 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17140,22 +19776,22 @@ "binop": null, "updateContext": null }, - "start": 3868, - "end": 3869, + "start": 4648, + "end": 4649, "loc": { "start": { - "line": 108, - "column": 43 + "line": 127, + "column": 58 }, "end": { - "line": 108, - "column": 44 + "line": 127, + "column": 59 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17163,27 +19799,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 3869, - "end": 3874, + "value": 1, + "start": 4650, + "end": 4651, "loc": { "start": { - "line": 108, - "column": 44 + "line": 127, + "column": 60 }, "end": { - "line": 108, - "column": 49 + "line": 127, + "column": 61 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17191,24 +19828,24 @@ "postfix": false, "binop": null }, - "start": 3874, - "end": 3875, + "start": 4651, + "end": 4652, "loc": { "start": { - "line": 108, - "column": 49 + "line": 127, + "column": 61 }, "end": { - "line": 108, - "column": 50 + "line": 127, + "column": 62 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17217,23 +19854,22 @@ "binop": null, "updateContext": null }, - "value": "No icon data passed!", - "start": 3875, - "end": 3897, + "start": 4652, + "end": 4653, "loc": { "start": { - "line": 108, - "column": 50 + "line": 127, + "column": 62 }, "end": { - "line": 108, - "column": 72 + "line": 127, + "column": 63 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17243,42 +19879,16 @@ "postfix": false, "binop": null }, - "start": 3897, - "end": 3898, - "loc": { - "start": { - "line": 108, - "column": 72 - }, - "end": { - "line": 108, - "column": 73 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3898, - "end": 3899, + "start": 4667, + "end": 4668, "loc": { "start": { - "line": 108, - "column": 73 + "line": 128, + "column": 12 }, "end": { - "line": 108, - "column": 74 + "line": 128, + "column": 13 } } }, @@ -17294,15 +19904,15 @@ "postfix": false, "binop": null }, - "start": 3909, - "end": 3910, + "start": 4678, + "end": 4679, "loc": { "start": { - "line": 109, + "line": 129, "column": 8 }, "end": { - "line": 109, + "line": 129, "column": 9 } } @@ -17319,31 +19929,31 @@ "postfix": false, "binop": null }, - "start": 3916, - "end": 3917, + "start": 4685, + "end": 4686, "loc": { "start": { - "line": 110, + "line": 130, "column": 4 }, "end": { - "line": 110, + "line": 130, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", - "start": 3923, - "end": 4255, + "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", + "start": 4692, + "end": 4813, "loc": { "start": { - "line": 111, + "line": 131, "column": 4 }, "end": { - "line": 115, + "line": 134, "column": 7 } } @@ -17360,25 +19970,50 @@ "postfix": false, "binop": null }, - "value": "removeIcon", - "start": 4261, - "end": 4271, + "value": "getIconNames", + "start": 4819, + "end": 4831, "loc": { "start": { - "line": 116, + "line": 135, "column": 4 }, "end": { - "line": 116, - "column": 14 + "line": 135, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4831, + "end": 4832, + "loc": { + "start": { + "line": 135, + "column": 16 + }, + "end": { + "line": 135, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17386,23 +20021,23 @@ "postfix": false, "binop": null }, - "start": 4271, - "end": 4272, + "start": 4832, + "end": 4833, "loc": { "start": { - "line": 116, - "column": 14 + "line": 135, + "column": 17 }, "end": { - "line": 116, - "column": 15 + "line": 135, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17411,24 +20046,40 @@ "postfix": false, "binop": null }, - "value": "pIcon", - "start": 4272, - "end": 4277, + "start": 4834, + "end": 4835, "loc": { "start": { - "line": 116, - "column": 15 + "line": 135, + "column": 19 }, "end": { - "line": 116, + "line": 135, "column": 20 } } }, + { + "type": "CommentLine", + "value": " Array to store the icon names.", + "start": 4845, + "end": 4878, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 41 + } + } + }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17438,16 +20089,17 @@ "binop": null, "updateContext": null }, - "start": 4277, - "end": 4278, + "value": "const", + "start": 4888, + "end": 4893, "loc": { "start": { - "line": 116, - "column": 20 + "line": 137, + "column": 8 }, "end": { - "line": 116, - "column": 21 + "line": 137, + "column": 13 } } }, @@ -17463,48 +20115,50 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 4279, - "end": 4284, + "value": "iconNames", + "start": 4894, + "end": 4903, "loc": { "start": { - "line": 116, - "column": 22 + "line": 137, + "column": 14 }, "end": { - "line": 116, - "column": 27 + "line": 137, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4284, - "end": 4285, + "value": "=", + "start": 4904, + "end": 4905, "loc": { "start": { - "line": 116, - "column": 27 + "line": 137, + "column": 24 }, "end": { - "line": 116, - "column": 28 + "line": 137, + "column": 25 } } }, { "type": { - "label": "{", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -17512,25 +20166,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4286, - "end": 4287, + "start": 4906, + "end": 4907, "loc": { "start": { - "line": 116, - "column": 29 + "line": 137, + "column": 26 }, "end": { - "line": 116, - "column": 30 + "line": 137, + "column": 27 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17541,132 +20195,130 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 4297, - "end": 4302, + "start": 4907, + "end": 4908, "loc": { "start": { - "line": 117, - "column": 8 + "line": 137, + "column": 27 }, "end": { - "line": 117, - "column": 13 + "line": 137, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "icon", - "start": 4303, - "end": 4307, + "start": 4908, + "end": 4909, "loc": { "start": { - "line": 117, - "column": 14 + "line": 137, + "column": 28 }, "end": { - "line": 117, - "column": 18 + "line": 137, + "column": 29 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4308, - "end": 4309, + "value": "this", + "start": 4919, + "end": 4923, "loc": { "start": { - "line": 117, - "column": 19 + "line": 138, + "column": 8 }, "end": { - "line": 117, - "column": 20 + "line": 138, + "column": 12 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIcon", - "start": 4310, - "end": 4315, + "start": 4923, + "end": 4924, "loc": { "start": { - "line": 117, - "column": 21 + "line": 138, + "column": 12 }, "end": { - "line": 117, - "column": 26 + "line": 138, + "column": 13 } } }, { "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 4316, - "end": 4318, + "value": "icons", + "start": 4924, + "end": 4929, "loc": { "start": { - "line": 117, - "column": 27 + "line": 138, + "column": 13 }, "end": { - "line": 117, - "column": 29 + "line": 138, + "column": 18 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17675,50 +20327,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4319, - "end": 4323, + "start": 4929, + "end": 4930, "loc": { "start": { - "line": 117, - "column": 30 + "line": 138, + "column": 18 }, "end": { - "line": 117, - "column": 34 + "line": 138, + "column": 19 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4323, - "end": 4324, + "value": "forEach", + "start": 4930, + "end": 4937, "loc": { "start": { - "line": 117, - "column": 34 + "line": 138, + "column": 19 }, "end": { - "line": 117, - "column": 35 + "line": 138, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17727,17 +20378,16 @@ "postfix": false, "binop": null }, - "value": "getIcon", - "start": 4324, - "end": 4331, + "start": 4937, + "end": 4938, "loc": { "start": { - "line": 117, - "column": 35 + "line": 138, + "column": 26 }, "end": { - "line": 117, - "column": 42 + "line": 138, + "column": 27 } } }, @@ -17753,16 +20403,16 @@ "postfix": false, "binop": null }, - "start": 4331, - "end": 4332, + "start": 4938, + "end": 4939, "loc": { "start": { - "line": 117, - "column": 42 + "line": 138, + "column": 27 }, "end": { - "line": 117, - "column": 43 + "line": 138, + "column": 28 } } }, @@ -17778,17 +20428,17 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 4332, - "end": 4337, + "value": "pIcon", + "start": 4939, + "end": 4944, "loc": { "start": { - "line": 117, - "column": 43 + "line": 138, + "column": 28 }, "end": { - "line": 117, - "column": 48 + "line": 138, + "column": 33 } } }, @@ -17804,22 +20454,22 @@ "postfix": false, "binop": null }, - "start": 4337, - "end": 4338, + "start": 4944, + "end": 4945, "loc": { "start": { - "line": 117, - "column": 48 + "line": 138, + "column": 33 }, "end": { - "line": 117, - "column": 49 + "line": 138, + "column": 34 } } }, { "type": { - "label": ";", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -17830,69 +20480,93 @@ "binop": null, "updateContext": null }, - "start": 4338, - "end": 4339, + "start": 4946, + "end": 4948, "loc": { "start": { - "line": 117, - "column": 49 + "line": 138, + "column": 35 }, "end": { - "line": 117, - "column": 50 + "line": 138, + "column": 37 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4949, + "end": 4950, + "loc": { + "start": { + "line": 138, + "column": 38 + }, + "end": { + "line": 138, + "column": 39 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4349, - "end": 4351, + "value": "iconNames", + "start": 4964, + "end": 4973, "loc": { "start": { - "line": 118, - "column": 8 + "line": 139, + "column": 12 }, "end": { - "line": 118, - "column": 10 + "line": 139, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4352, - "end": 4353, + "start": 4973, + "end": 4974, "loc": { "start": { - "line": 118, - "column": 11 + "line": 139, + "column": 21 }, "end": { - "line": 118, - "column": 12 + "line": 139, + "column": 22 } } }, @@ -17908,25 +20582,25 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 4353, - "end": 4357, + "value": "push", + "start": 4974, + "end": 4978, "loc": { "start": { - "line": 118, - "column": 12 + "line": 139, + "column": 22 }, "end": { - "line": 118, - "column": 16 + "line": 139, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17934,23 +20608,23 @@ "postfix": false, "binop": null }, - "start": 4357, - "end": 4358, + "start": 4978, + "end": 4979, "loc": { "start": { - "line": 118, - "column": 16 + "line": 139, + "column": 26 }, "end": { - "line": 118, - "column": 17 + "line": 139, + "column": 27 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17959,23 +20633,23 @@ "postfix": false, "binop": null }, - "start": 4359, - "end": 4360, + "value": "pIcon", + "start": 4979, + "end": 4984, "loc": { "start": { - "line": 118, - "column": 18 + "line": 139, + "column": 27 }, "end": { - "line": 118, - "column": 19 + "line": 139, + "column": 32 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17986,24 +20660,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 4374, - "end": 4376, + "start": 4984, + "end": 4985, "loc": { "start": { - "line": 119, - "column": 12 + "line": 139, + "column": 32 }, "end": { - "line": 119, - "column": 14 + "line": 139, + "column": 33 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18012,51 +20685,49 @@ "postfix": false, "binop": null }, - "start": 4377, - "end": 4378, + "value": "name", + "start": 4985, + "end": 4989, "loc": { "start": { - "line": 119, - "column": 15 + "line": 139, + "column": 33 }, "end": { - "line": 119, - "column": 16 + "line": 139, + "column": 37 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4378, - "end": 4382, + "start": 4989, + "end": 4990, "loc": { "start": { - "line": 119, - "column": 16 + "line": 139, + "column": 37 }, "end": { - "line": 119, - "column": 20 + "line": 139, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18066,24 +20737,24 @@ "binop": null, "updateContext": null }, - "start": 4382, - "end": 4383, + "start": 4990, + "end": 4991, "loc": { "start": { - "line": 119, - "column": 20 + "line": 139, + "column": 38 }, "end": { - "line": 119, - "column": 21 + "line": 139, + "column": 39 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18091,23 +20762,22 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 4383, - "end": 4388, + "start": 5001, + "end": 5002, "loc": { "start": { - "line": 119, - "column": 21 + "line": 140, + "column": 8 }, "end": { - "line": 119, - "column": 26 + "line": 140, + "column": 9 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18115,70 +20785,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4388, - "end": 4389, + "start": 5002, + "end": 5003, "loc": { "start": { - "line": 119, - "column": 26 + "line": 140, + "column": 9 }, "end": { - "line": 119, - "column": 27 + "line": 140, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 4389, - "end": 4397, + "start": 5003, + "end": 5004, "loc": { "start": { - "line": 119, - "column": 27 + "line": 140, + "column": 10 }, "end": { - "line": 119, - "column": 35 + "line": 140, + "column": 11 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4397, - "end": 4398, + "value": "return", + "start": 5014, + "end": 5020, "loc": { "start": { - "line": 119, - "column": 35 + "line": 141, + "column": 8 }, "end": { - "line": 119, - "column": 36 + "line": 141, + "column": 14 } } }, @@ -18194,48 +20866,49 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 4398, - "end": 4402, + "value": "iconNames", + "start": 5021, + "end": 5030, "loc": { "start": { - "line": 119, - "column": 36 + "line": 141, + "column": 15 }, "end": { - "line": 119, - "column": 40 + "line": 141, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4402, - "end": 4403, + "start": 5030, + "end": 5031, "loc": { "start": { - "line": 119, - "column": 40 + "line": 141, + "column": 24 }, "end": { - "line": 119, - "column": 41 + "line": 141, + "column": 25 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18245,48 +20918,38 @@ "postfix": false, "binop": null }, - "start": 4403, - "end": 4404, + "start": 5037, + "end": 5038, "loc": { "start": { - "line": 119, - "column": 41 + "line": 142, + "column": 4 }, "end": { - "line": 119, - "column": 42 + "line": 142, + "column": 5 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4405, - "end": 4406, + "type": "CommentBlock", + "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", + "start": 5044, + "end": 5245, "loc": { "start": { - "line": 119, - "column": 43 + "line": 143, + "column": 4 }, "end": { - "line": 119, - "column": 44 + "line": 147, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18294,46 +20957,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4424, - "end": 4428, + "value": "getIcon", + "start": 5251, + "end": 5258, "loc": { "start": { - "line": 120, - "column": 16 + "line": 148, + "column": 4 }, "end": { - "line": 120, - "column": 20 + "line": 148, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4428, - "end": 4429, + "start": 5258, + "end": 5259, "loc": { "start": { - "line": 120, - "column": 20 + "line": 148, + "column": 11 }, "end": { - "line": 120, - "column": 21 + "line": 148, + "column": 12 } } }, @@ -18349,23 +21010,23 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 4429, - "end": 4434, + "value": "pName", + "start": 5259, + "end": 5264, "loc": { "start": { - "line": 120, - "column": 21 + "line": 148, + "column": 12 }, "end": { - "line": 120, - "column": 26 + "line": 148, + "column": 17 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18373,26 +21034,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4434, - "end": 4435, + "start": 5264, + "end": 5265, "loc": { "start": { - "line": 120, - "column": 26 + "line": 148, + "column": 17 }, "end": { - "line": 120, - "column": 27 + "line": 148, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18401,103 +21061,104 @@ "postfix": false, "binop": null }, - "value": "splice", - "start": 4435, - "end": 4441, + "start": 5266, + "end": 5267, "loc": { "start": { - "line": 120, - "column": 27 + "line": 148, + "column": 19 }, "end": { - "line": 120, - "column": 33 + "line": 148, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4441, - "end": 4442, + "value": "if", + "start": 5277, + "end": 5279, "loc": { "start": { - "line": 120, - "column": 33 + "line": 149, + "column": 8 }, "end": { - "line": 120, - "column": 34 + "line": 149, + "column": 10 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4442, - "end": 4446, + "start": 5280, + "end": 5281, "loc": { "start": { - "line": 120, - "column": 34 + "line": 149, + "column": 11 }, "end": { - "line": 120, - "column": 38 + "line": 149, + "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 4446, - "end": 4447, + "value": "typeof", + "start": 5281, + "end": 5287, "loc": { "start": { - "line": 120, - "column": 38 + "line": 149, + "column": 12 }, "end": { - "line": 120, - "column": 39 + "line": 149, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18506,51 +21167,50 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 4447, - "end": 4452, + "start": 5287, + "end": 5288, "loc": { "start": { - "line": 120, - "column": 39 + "line": 149, + "column": 18 }, "end": { - "line": 120, - "column": 44 + "line": 149, + "column": 19 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4452, - "end": 4453, + "value": "pName", + "start": 5288, + "end": 5293, "loc": { "start": { - "line": 120, - "column": 44 + "line": 149, + "column": 19 }, "end": { - "line": 120, - "column": 45 + "line": 149, + "column": 24 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18558,48 +21218,49 @@ "postfix": false, "binop": null }, - "value": "indexOf", - "start": 4453, - "end": 4460, + "start": 5293, + "end": 5294, "loc": { "start": { - "line": 120, - "column": 45 + "line": 149, + "column": 24 }, "end": { - "line": 120, - "column": 52 + "line": 149, + "column": 25 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 4460, - "end": 4461, + "value": "===", + "start": 5295, + "end": 5298, "loc": { "start": { - "line": 120, - "column": 52 + "line": 149, + "column": 26 }, "end": { - "line": 120, - "column": 53 + "line": 149, + "column": 29 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18607,19 +21268,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "icon", - "start": 4461, - "end": 4465, + "value": "string", + "start": 5299, + "end": 5307, "loc": { "start": { - "line": 120, - "column": 53 + "line": 149, + "column": 30 }, "end": { - "line": 120, - "column": 57 + "line": 149, + "column": 38 } } }, @@ -18635,77 +21297,77 @@ "postfix": false, "binop": null }, - "start": 4465, - "end": 4466, + "start": 5307, + "end": 5308, "loc": { "start": { - "line": 120, - "column": 57 + "line": 149, + "column": 38 }, "end": { - "line": 120, - "column": 58 + "line": 149, + "column": 39 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4466, - "end": 4467, + "start": 5309, + "end": 5310, "loc": { "start": { - "line": 120, - "column": 58 + "line": 149, + "column": 40 }, "end": { - "line": 120, - "column": 59 + "line": 149, + "column": 41 } } }, { "type": { - "label": "num", + "label": "for", + "keyword": "for", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": 1, - "start": 4468, - "end": 4469, + "value": "for", + "start": 5324, + "end": 5327, "loc": { "start": { - "line": 120, - "column": 60 + "line": 150, + "column": 12 }, "end": { - "line": 120, - "column": 61 + "line": 150, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18713,23 +21375,24 @@ "postfix": false, "binop": null }, - "start": 4469, - "end": 4470, + "start": 5328, + "end": 5329, "loc": { "start": { - "line": 120, - "column": 61 + "line": 150, + "column": 16 }, "end": { - "line": 120, - "column": 62 + "line": 150, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18739,24 +21402,25 @@ "binop": null, "updateContext": null }, - "start": 4470, - "end": 4471, + "value": "let", + "start": 5329, + "end": 5332, "loc": { "start": { - "line": 120, - "column": 62 + "line": 150, + "column": 17 }, "end": { - "line": 120, - "column": 63 + "line": 150, + "column": 20 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18764,82 +21428,98 @@ "postfix": false, "binop": null }, - "start": 4485, - "end": 4486, + "value": "i", + "start": 5333, + "end": 5334, "loc": { "start": { - "line": 121, - "column": 12 + "line": 150, + "column": 21 }, "end": { - "line": 121, - "column": 13 + "line": 150, + "column": 22 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4496, - "end": 4497, + "value": "=", + "start": 5335, + "end": 5336, "loc": { "start": { - "line": 122, - "column": 8 + "line": 150, + "column": 23 }, "end": { - "line": 122, - "column": 9 + "line": 150, + "column": 24 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4503, - "end": 4504, + "value": "this", + "start": 5337, + "end": 5341, "loc": { "start": { - "line": 123, - "column": 4 + "line": 150, + "column": 25 }, "end": { - "line": 123, - "column": 5 + "line": 150, + "column": 29 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4510, - "end": 4631, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5341, + "end": 5342, "loc": { "start": { - "line": 124, - "column": 4 + "line": 150, + "column": 29 }, "end": { - "line": 127, - "column": 7 + "line": 150, + "column": 30 } } }, @@ -18855,50 +21535,51 @@ "postfix": false, "binop": null }, - "value": "getIconNames", - "start": 4637, - "end": 4649, + "value": "icons", + "start": 5342, + "end": 5347, "loc": { "start": { - "line": 128, - "column": 4 + "line": 150, + "column": 30 }, "end": { - "line": 128, - "column": 16 + "line": 150, + "column": 35 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4649, - "end": 4650, + "start": 5347, + "end": 5348, "loc": { "start": { - "line": 128, - "column": 16 + "line": 150, + "column": 35 }, "end": { - "line": 128, - "column": 17 + "line": 150, + "column": 36 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18906,65 +21587,78 @@ "postfix": false, "binop": null }, - "start": 4650, - "end": 4651, + "value": "length", + "start": 5348, + "end": 5354, "loc": { "start": { - "line": 128, - "column": 17 + "line": 150, + "column": 36 }, "end": { - "line": 128, - "column": 18 + "line": 150, + "column": 42 } } }, { "type": { - "label": "{", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 4652, - "end": 4653, + "value": "-", + "start": 5355, + "end": 5356, "loc": { "start": { - "line": 128, - "column": 19 + "line": 150, + "column": 43 }, "end": { - "line": 128, - "column": 20 + "line": 150, + "column": 44 } } }, { - "type": "CommentLine", - "value": " Array to store the icon names.", - "start": 4663, - "end": 4696, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 5357, + "end": 5358, "loc": { "start": { - "line": 129, - "column": 8 + "line": 150, + "column": 45 }, "end": { - "line": 129, - "column": 41 + "line": 150, + "column": 46 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18974,17 +21668,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 4706, - "end": 4711, + "start": 5358, + "end": 5359, "loc": { "start": { - "line": 130, - "column": 8 + "line": 150, + "column": 46 }, "end": { - "line": 130, - "column": 13 + "line": 150, + "column": 47 } } }, @@ -19000,51 +21693,51 @@ "postfix": false, "binop": null }, - "value": "iconNames", - "start": 4712, - "end": 4721, + "value": "i", + "start": 5360, + "end": 5361, "loc": { "start": { - "line": 130, - "column": 14 + "line": 150, + "column": 48 }, "end": { - "line": 130, - "column": 23 + "line": 150, + "column": 49 } } }, { "type": { - "label": "=", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "=", - "start": 4722, - "end": 4723, + "value": ">=", + "start": 5362, + "end": 5364, "loc": { "start": { - "line": 130, - "column": 24 + "line": 150, + "column": 50 }, "end": { - "line": 130, - "column": 25 + "line": 150, + "column": 52 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19054,23 +21747,24 @@ "binop": null, "updateContext": null }, - "start": 4724, - "end": 4725, + "value": 0, + "start": 5365, + "end": 5366, "loc": { "start": { - "line": 130, - "column": 26 + "line": 150, + "column": 53 }, "end": { - "line": 130, - "column": 27 + "line": 150, + "column": 54 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19080,76 +21774,74 @@ "binop": null, "updateContext": null }, - "start": 4725, - "end": 4726, + "start": 5366, + "end": 5367, "loc": { "start": { - "line": 130, - "column": 27 + "line": 150, + "column": 54 }, "end": { - "line": 130, - "column": 28 + "line": 150, + "column": 55 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4726, - "end": 4727, + "value": "i", + "start": 5368, + "end": 5369, "loc": { "start": { - "line": 130, - "column": 28 + "line": 150, + "column": 56 }, "end": { - "line": 130, - "column": 29 + "line": 150, + "column": 57 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "prefix": true, + "postfix": true, + "binop": null }, - "value": "this", - "start": 4737, - "end": 4741, + "value": "--", + "start": 5369, + "end": 5371, "loc": { "start": { - "line": 131, - "column": 8 + "line": 150, + "column": 57 }, "end": { - "line": 131, - "column": 12 + "line": 150, + "column": 59 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19157,26 +21849,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4741, - "end": 4742, + "start": 5371, + "end": 5372, "loc": { "start": { - "line": 131, - "column": 12 + "line": 150, + "column": 59 }, "end": { - "line": 131, - "column": 13 + "line": 150, + "column": 60 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19185,23 +21876,23 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 4742, - "end": 4747, + "start": 5373, + "end": 5374, "loc": { "start": { - "line": 131, - "column": 13 + "line": 150, + "column": 61 }, "end": { - "line": 131, - "column": 18 + "line": 150, + "column": 62 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19212,16 +21903,17 @@ "binop": null, "updateContext": null }, - "start": 4747, - "end": 4748, + "value": "const", + "start": 5392, + "end": 5397, "loc": { "start": { - "line": 131, - "column": 18 + "line": 151, + "column": 16 }, "end": { - "line": 131, - "column": 19 + "line": 151, + "column": 21 } } }, @@ -19237,73 +21929,51 @@ "postfix": false, "binop": null }, - "value": "forEach", - "start": 4748, - "end": 4755, + "value": "icon", + "start": 5398, + "end": 5402, "loc": { "start": { - "line": 131, - "column": 19 + "line": 151, + "column": 22 }, "end": { - "line": 131, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4755, - "end": 4756, - "loc": { - "start": { - "line": 131, + "line": 151, "column": 26 - }, - "end": { - "line": 131, - "column": 27 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4756, - "end": 4757, + "value": "=", + "start": 5403, + "end": 5404, "loc": { "start": { - "line": 131, + "line": 151, "column": 27 }, "end": { - "line": 131, + "line": 151, "column": 28 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19311,25 +21981,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIcon", - "start": 4757, - "end": 4762, + "value": "this", + "start": 5405, + "end": 5409, "loc": { "start": { - "line": 131, - "column": 28 + "line": 151, + "column": 29 }, "end": { - "line": 131, + "line": 151, "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19337,50 +22008,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4762, - "end": 4763, + "start": 5409, + "end": 5410, "loc": { "start": { - "line": 131, + "line": 151, "column": 33 }, "end": { - "line": 131, + "line": 151, "column": 34 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4764, - "end": 4766, + "value": "icons", + "start": 5410, + "end": 5415, "loc": { "start": { - "line": 131, - "column": 35 + "line": 151, + "column": 34 }, "end": { - "line": 131, - "column": 37 + "line": 151, + "column": 39 } } }, { "type": { - "label": "{", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -19388,18 +22060,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4767, - "end": 4768, + "start": 5415, + "end": 5416, "loc": { "start": { - "line": 131, - "column": 38 + "line": 151, + "column": 39 }, "end": { - "line": 131, - "column": 39 + "line": 151, + "column": 40 } } }, @@ -19415,23 +22088,23 @@ "postfix": false, "binop": null }, - "value": "iconNames", - "start": 4782, - "end": 4791, + "value": "i", + "start": 5416, + "end": 5417, "loc": { "start": { - "line": 132, - "column": 12 + "line": 151, + "column": 40 }, "end": { - "line": 132, - "column": 21 + "line": 151, + "column": 41 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19442,99 +22115,65 @@ "binop": null, "updateContext": null }, - "start": 4791, - "end": 4792, - "loc": { - "start": { - "line": 132, - "column": 21 - }, - "end": { - "line": 132, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 4792, - "end": 4796, + "start": 5417, + "end": 5418, "loc": { "start": { - "line": 132, - "column": 22 + "line": 151, + "column": 41 }, "end": { - "line": 132, - "column": 26 + "line": 151, + "column": 42 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4796, - "end": 4797, + "start": 5418, + "end": 5419, "loc": { "start": { - "line": 132, - "column": 26 + "line": 151, + "column": 42 }, "end": { - "line": 132, - "column": 27 + "line": 151, + "column": 43 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIcon", - "start": 4797, - "end": 4802, + "type": "CommentLine", + "value": " If the icon has the same name, return that icon", + "start": 5437, + "end": 5487, "loc": { "start": { - "line": 132, - "column": 27 + "line": 152, + "column": 16 }, "end": { - "line": 132, - "column": 32 + "line": 152, + "column": 66 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19545,23 +22184,24 @@ "binop": null, "updateContext": null }, - "start": 4802, - "end": 4803, + "value": "if", + "start": 5505, + "end": 5507, "loc": { "start": { - "line": 132, - "column": 32 + "line": 153, + "column": 16 }, "end": { - "line": 132, - "column": 33 + "line": 153, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19570,25 +22210,24 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 4803, - "end": 4807, + "start": 5508, + "end": 5509, "loc": { "start": { - "line": 132, - "column": 33 + "line": 153, + "column": 19 }, "end": { - "line": 132, - "column": 37 + "line": 153, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19596,23 +22235,24 @@ "postfix": false, "binop": null }, - "start": 4807, - "end": 4808, + "value": "icon", + "start": 5509, + "end": 5513, "loc": { "start": { - "line": 132, - "column": 37 + "line": 153, + "column": 20 }, "end": { - "line": 132, - "column": 38 + "line": 153, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19622,24 +22262,24 @@ "binop": null, "updateContext": null }, - "start": 4808, - "end": 4809, + "start": 5513, + "end": 5514, "loc": { "start": { - "line": 132, - "column": 38 + "line": 153, + "column": 24 }, "end": { - "line": 132, - "column": 39 + "line": 153, + "column": 25 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19647,24 +22287,25 @@ "postfix": false, "binop": null }, - "start": 4819, - "end": 4820, + "value": "getName", + "start": 5514, + "end": 5521, "loc": { "start": { - "line": 133, - "column": 8 + "line": 153, + "column": 25 }, "end": { - "line": 133, - "column": 9 + "line": 153, + "column": 32 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19672,49 +22313,47 @@ "postfix": false, "binop": null }, - "start": 4820, - "end": 4821, + "start": 5521, + "end": 5522, "loc": { "start": { - "line": 133, - "column": 9 + "line": 153, + "column": 32 }, "end": { - "line": 133, - "column": 10 + "line": 153, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4821, - "end": 4822, + "start": 5522, + "end": 5523, "loc": { "start": { - "line": 133, - "column": 10 + "line": 153, + "column": 33 }, "end": { - "line": 133, - "column": 11 + "line": 153, + "column": 34 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -19722,20 +22361,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "return", - "start": 4832, - "end": 4838, + "value": "===", + "start": 5524, + "end": 5527, "loc": { "start": { - "line": 134, - "column": 8 + "line": 153, + "column": 35 }, "end": { - "line": 134, - "column": 14 + "line": 153, + "column": 38 } } }, @@ -19751,49 +22390,23 @@ "postfix": false, "binop": null }, - "value": "iconNames", - "start": 4839, - "end": 4848, - "loc": { - "start": { - "line": 134, - "column": 15 - }, - "end": { - "line": 134, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4848, - "end": 4849, + "value": "pName", + "start": 5528, + "end": 5533, "loc": { "start": { - "line": 134, - "column": 24 + "line": 153, + "column": 39 }, "end": { - "line": 134, - "column": 25 + "line": 153, + "column": 44 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19803,39 +22416,23 @@ "postfix": false, "binop": null }, - "start": 4855, - "end": 4856, - "loc": { - "start": { - "line": 135, - "column": 4 - }, - "end": { - "line": 135, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4862, - "end": 5063, + "start": 5533, + "end": 5534, "loc": { "start": { - "line": 136, - "column": 4 + "line": 153, + "column": 44 }, "end": { - "line": 140, - "column": 7 + "line": 153, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19844,42 +22441,44 @@ "postfix": false, "binop": null }, - "value": "getIcon", - "start": 5069, - "end": 5076, + "start": 5535, + "end": 5536, "loc": { "start": { - "line": 141, - "column": 4 + "line": 153, + "column": 46 }, "end": { - "line": 141, - "column": 11 + "line": 153, + "column": 47 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5076, - "end": 5077, + "value": "return", + "start": 5558, + "end": 5564, "loc": { "start": { - "line": 141, - "column": 11 + "line": 154, + "column": 20 }, "end": { - "line": 141, - "column": 12 + "line": 154, + "column": 26 } } }, @@ -19895,50 +22494,51 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 5077, - "end": 5082, + "value": "icon", + "start": 5565, + "end": 5569, "loc": { "start": { - "line": 141, - "column": 12 + "line": 154, + "column": 27 }, "end": { - "line": 141, - "column": 17 + "line": 154, + "column": 31 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5082, - "end": 5083, + "start": 5569, + "end": 5570, "loc": { "start": { - "line": 141, - "column": 17 + "line": 154, + "column": 31 }, "end": { - "line": 141, - "column": 18 + "line": 154, + "column": 32 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19946,23 +22546,22 @@ "postfix": false, "binop": null }, - "start": 5084, - "end": 5085, + "start": 5588, + "end": 5589, "loc": { "start": { - "line": 141, - "column": 19 + "line": 155, + "column": 16 }, "end": { - "line": 141, - "column": 20 + "line": 155, + "column": 17 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19970,28 +22569,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5095, - "end": 5097, + "start": 5603, + "end": 5604, "loc": { "start": { - "line": 142, - "column": 8 + "line": 156, + "column": 12 }, "end": { - "line": 142, - "column": 10 + "line": 156, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19999,50 +22596,50 @@ "postfix": false, "binop": null }, - "start": 5098, - "end": 5099, + "start": 5614, + "end": 5615, "loc": { "start": { - "line": 142, - "column": 11 + "line": 157, + "column": 8 }, "end": { - "line": 142, - "column": 12 + "line": 157, + "column": 9 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 5099, - "end": 5105, + "value": "else", + "start": 5616, + "end": 5620, "loc": { "start": { - "line": 142, - "column": 12 + "line": 157, + "column": 10 }, "end": { - "line": 142, - "column": 18 + "line": 157, + "column": 14 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -20052,16 +22649,16 @@ "postfix": false, "binop": null }, - "start": 5105, - "end": 5106, + "start": 5621, + "end": 5622, "loc": { "start": { - "line": 142, - "column": 18 + "line": 157, + "column": 15 }, "end": { - "line": 142, - "column": 19 + "line": 157, + "column": 16 } } }, @@ -20077,23 +22674,23 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 5106, - "end": 5111, + "value": "VYI", + "start": 5636, + "end": 5639, "loc": { "start": { - "line": 142, - "column": 19 + "line": 158, + "column": 12 }, "end": { - "line": 142, - "column": 24 + "line": 158, + "column": 15 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20101,53 +22698,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5111, - "end": 5112, + "start": 5639, + "end": 5640, "loc": { "start": { - "line": 142, - "column": 24 + "line": 158, + "column": 15 }, "end": { - "line": 142, - "column": 25 + "line": 158, + "column": 16 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 5113, - "end": 5116, + "value": "logger", + "start": 5640, + "end": 5646, "loc": { "start": { - "line": 142, - "column": 26 + "line": 158, + "column": 16 }, "end": { - "line": 142, - "column": 29 + "line": 158, + "column": 22 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20156,25 +22753,24 @@ "binop": null, "updateContext": null }, - "value": "string", - "start": 5117, - "end": 5125, + "start": 5646, + "end": 5647, "loc": { "start": { - "line": 142, - "column": 30 + "line": 158, + "column": 22 }, "end": { - "line": 142, - "column": 38 + "line": 158, + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20182,22 +22778,23 @@ "postfix": false, "binop": null }, - "start": 5125, - "end": 5126, + "value": "prefix", + "start": 5647, + "end": 5653, "loc": { "start": { - "line": 142, - "column": 38 + "line": 158, + "column": 23 }, "end": { - "line": 142, - "column": 39 + "line": 158, + "column": 29 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -20207,52 +22804,51 @@ "postfix": false, "binop": null }, - "start": 5127, - "end": 5128, + "start": 5653, + "end": 5654, "loc": { "start": { - "line": 142, - "column": 40 + "line": 158, + "column": 29 }, "end": { - "line": 142, - "column": 41 + "line": 158, + "column": 30 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 5142, - "end": 5145, + "value": "VYI-module", + "start": 5654, + "end": 5666, "loc": { "start": { - "line": 143, - "column": 12 + "line": 158, + "column": 30 }, "end": { - "line": 143, - "column": 15 + "line": 158, + "column": 42 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20260,23 +22856,22 @@ "postfix": false, "binop": null }, - "start": 5146, - "end": 5147, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 143, - "column": 16 + "line": 158, + "column": 42 }, "end": { - "line": 143, - "column": 17 + "line": 158, + "column": 43 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20287,17 +22882,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 5147, - "end": 5150, + "start": 5667, + "end": 5668, "loc": { "start": { - "line": 143, - "column": 17 + "line": 158, + "column": 43 }, "end": { - "line": 143, - "column": 20 + "line": 158, + "column": 44 } } }, @@ -20313,51 +22907,48 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5151, - "end": 5152, + "value": "error", + "start": 5668, + "end": 5673, "loc": { "start": { - "line": 143, - "column": 21 + "line": 158, + "column": 44 }, "end": { - "line": 143, - "column": 22 + "line": 158, + "column": 49 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5153, - "end": 5154, + "start": 5673, + "end": 5674, "loc": { "start": { - "line": 143, - "column": 23 + "line": 158, + "column": 49 }, "end": { - "line": 143, - "column": 24 + "line": 158, + "column": 50 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20368,23 +22959,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5155, - "end": 5159, + "value": "Invalid name type used!", + "start": 5674, + "end": 5699, "loc": { "start": { - "line": 143, - "column": 25 + "line": 158, + "column": 50 }, "end": { - "line": 143, - "column": 29 + "line": 158, + "column": 75 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20392,51 +22983,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5159, - "end": 5160, + "start": 5699, + "end": 5700, "loc": { "start": { - "line": 143, - "column": 29 + "line": 158, + "column": 75 }, "end": { - "line": 143, - "column": 30 + "line": 158, + "column": 76 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "icons", - "start": 5160, - "end": 5165, + "start": 5700, + "end": 5701, "loc": { "start": { - "line": 143, - "column": 30 + "line": 158, + "column": 76 }, "end": { - "line": 143, - "column": 35 + "line": 158, + "column": 77 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20444,27 +23034,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5165, - "end": 5166, + "start": 5711, + "end": 5712, "loc": { "start": { - "line": 143, - "column": 35 + "line": 159, + "column": 8 }, "end": { - "line": 143, - "column": 36 + "line": 159, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20472,50 +23061,38 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 5166, - "end": 5172, + "start": 5718, + "end": 5719, "loc": { "start": { - "line": 143, - "column": 36 + "line": 160, + "column": 4 }, "end": { - "line": 143, - "column": 42 + "line": 160, + "column": 5 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 5173, - "end": 5174, + "type": "CommentBlock", + "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", + "start": 5725, + "end": 5920, "loc": { "start": { - "line": 143, - "column": 43 + "line": 161, + "column": 4 }, "end": { - "line": 143, - "column": 44 + "line": 167, + "column": 7 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20523,46 +23100,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 5175, - "end": 5176, + "value": "getIconByID", + "start": 5926, + "end": 5937, "loc": { "start": { - "line": 143, - "column": 45 + "line": 168, + "column": 4 }, "end": { - "line": 143, - "column": 46 + "line": 168, + "column": 15 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5176, - "end": 5177, + "start": 5937, + "end": 5938, "loc": { "start": { - "line": 143, - "column": 46 + "line": 168, + "column": 15 }, "end": { - "line": 143, - "column": 47 + "line": 168, + "column": 16 } } }, @@ -20578,78 +23153,75 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5178, - "end": 5179, + "value": "pID", + "start": 5938, + "end": 5941, "loc": { "start": { - "line": 143, - "column": 48 + "line": 168, + "column": 16 }, "end": { - "line": 143, - "column": 49 + "line": 168, + "column": 19 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": ">=", - "start": 5180, - "end": 5182, + "start": 5941, + "end": 5942, "loc": { "start": { - "line": 143, - "column": 50 + "line": 168, + "column": 19 }, "end": { - "line": 143, - "column": 52 + "line": 168, + "column": 20 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 5183, - "end": 5184, + "start": 5943, + "end": 5944, "loc": { "start": { - "line": 143, - "column": 53 + "line": 168, + "column": 21 }, "end": { - "line": 143, - "column": 54 + "line": 168, + "column": 22 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20659,23 +23231,24 @@ "binop": null, "updateContext": null }, - "start": 5184, - "end": 5185, + "value": "if", + "start": 5954, + "end": 5956, "loc": { "start": { - "line": 143, - "column": 54 + "line": 169, + "column": 8 }, "end": { - "line": 143, - "column": 55 + "line": 169, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20684,51 +23257,51 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5186, - "end": 5187, + "start": 5957, + "end": 5958, "loc": { "start": { - "line": 143, - "column": 56 + "line": 169, + "column": 11 }, "end": { - "line": 143, - "column": 57 + "line": 169, + "column": 12 } } }, { "type": { - "label": "++/--", - "beforeExpr": false, + "label": "prefix", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, - "postfix": true, - "binop": null + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "--", - "start": 5187, - "end": 5189, + "value": "!", + "start": 5958, + "end": 5959, "loc": { "start": { - "line": 143, - "column": 57 + "line": 169, + "column": 12 }, "end": { - "line": 143, - "column": 59 + "line": 169, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20736,24 +23309,25 @@ "postfix": false, "binop": null }, - "start": 5189, - "end": 5190, + "value": "pID", + "start": 5959, + "end": 5962, "loc": { "start": { - "line": 143, - "column": 59 + "line": 169, + "column": 13 }, "end": { - "line": 143, - "column": 60 + "line": 169, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20761,24 +23335,24 @@ "postfix": false, "binop": null }, - "start": 5191, - "end": 5192, + "start": 5962, + "end": 5963, "loc": { "start": { - "line": 143, - "column": 61 + "line": 169, + "column": 16 }, "end": { - "line": 143, - "column": 62 + "line": 169, + "column": 17 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20788,104 +23362,103 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 5210, - "end": 5215, + "value": "return", + "start": 5964, + "end": 5970, "loc": { "start": { - "line": 144, - "column": 16 + "line": 169, + "column": 18 }, "end": { - "line": 144, - "column": 21 + "line": 169, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "icon", - "start": 5216, - "end": 5220, + "start": 5970, + "end": 5971, "loc": { "start": { - "line": 144, - "column": 22 + "line": 169, + "column": 24 }, "end": { - "line": 144, - "column": 26 + "line": 169, + "column": 25 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "for", + "keyword": "for", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, - "isAssign": true, + "isLoop": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5221, - "end": 5222, + "value": "for", + "start": 5981, + "end": 5984, "loc": { "start": { - "line": 144, - "column": 27 + "line": 170, + "column": 8 }, "end": { - "line": 144, - "column": 28 + "line": 170, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5223, - "end": 5227, + "start": 5985, + "end": 5986, "loc": { "start": { - "line": 144, - "column": 29 + "line": 170, + "column": 12 }, "end": { - "line": 144, - "column": 33 + "line": 170, + "column": 13 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20896,16 +23469,17 @@ "binop": null, "updateContext": null }, - "start": 5227, - "end": 5228, + "value": "const", + "start": 5986, + "end": 5991, "loc": { "start": { - "line": 144, - "column": 33 + "line": 170, + "column": 13 }, "end": { - "line": 144, - "column": 34 + "line": 170, + "column": 18 } } }, @@ -20921,49 +23495,50 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 5228, - "end": 5233, + "value": "icon", + "start": 5992, + "end": 5996, "loc": { "start": { - "line": 144, - "column": 34 + "line": 170, + "column": 19 }, "end": { - "line": 144, - "column": 39 + "line": 170, + "column": 23 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5233, - "end": 5234, + "value": "of", + "start": 5997, + "end": 5999, "loc": { "start": { - "line": 144, - "column": 39 + "line": 170, + "column": 24 }, "end": { - "line": 144, - "column": 40 + "line": 170, + "column": 26 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20971,25 +23546,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 5234, - "end": 5235, + "value": "this", + "start": 6000, + "end": 6004, "loc": { "start": { - "line": 144, - "column": 40 + "line": 170, + "column": 27 }, "end": { - "line": 144, - "column": 41 + "line": 170, + "column": 31 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21000,118 +23576,127 @@ "binop": null, "updateContext": null }, - "start": 5235, - "end": 5236, + "start": 6004, + "end": 6005, "loc": { "start": { - "line": 144, - "column": 41 + "line": 170, + "column": 31 }, "end": { - "line": 144, - "column": 42 + "line": 170, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5236, - "end": 5237, + "value": "icons", + "start": 6005, + "end": 6010, "loc": { "start": { - "line": 144, - "column": 42 + "line": 170, + "column": 32 }, "end": { - "line": 144, - "column": 43 + "line": 170, + "column": 37 } } }, { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 5255, - "end": 5305, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6010, + "end": 6011, "loc": { "start": { - "line": 145, - "column": 16 + "line": 170, + "column": 37 }, "end": { - "line": 145, - "column": 66 + "line": 170, + "column": 38 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5323, - "end": 5325, + "start": 6012, + "end": 6013, "loc": { "start": { - "line": 146, - "column": 16 + "line": 170, + "column": 39 }, "end": { - "line": 146, - "column": 18 + "line": 170, + "column": 40 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5326, - "end": 5327, + "value": "for", + "start": 6027, + "end": 6030, "loc": { "start": { - "line": 146, - "column": 19 + "line": 171, + "column": 12 }, "end": { - "line": 146, - "column": 20 + "line": 171, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21120,23 +23705,23 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 5327, - "end": 5331, + "start": 6031, + "end": 6032, "loc": { "start": { - "line": 146, - "column": 20 + "line": 171, + "column": 16 }, "end": { - "line": 146, - "column": 24 + "line": 171, + "column": 17 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21147,16 +23732,17 @@ "binop": null, "updateContext": null }, - "start": 5331, - "end": 5332, + "value": "const", + "start": 6032, + "end": 6037, "loc": { "start": { - "line": 146, - "column": 24 + "line": 171, + "column": 17 }, "end": { - "line": 146, - "column": 25 + "line": 171, + "column": 22 } } }, @@ -21172,24 +23758,24 @@ "postfix": false, "binop": null }, - "value": "getName", - "start": 5332, - "end": 5339, + "value": "state", + "start": 6038, + "end": 6043, "loc": { "start": { - "line": 146, - "column": 25 + "line": 171, + "column": 23 }, "end": { - "line": 146, - "column": 32 + "line": 171, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21198,24 +23784,25 @@ "postfix": false, "binop": null }, - "start": 5339, - "end": 5340, + "value": "of", + "start": 6044, + "end": 6046, "loc": { "start": { - "line": 146, - "column": 32 + "line": 171, + "column": 29 }, "end": { - "line": 146, - "column": 33 + "line": 171, + "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21223,43 +23810,43 @@ "postfix": false, "binop": null }, - "start": 5340, - "end": 5341, + "value": "icon", + "start": 6047, + "end": 6051, "loc": { "start": { - "line": 146, - "column": 33 + "line": 171, + "column": 32 }, "end": { - "line": 146, - "column": 34 + "line": 171, + "column": 36 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 5342, - "end": 5345, + "start": 6051, + "end": 6052, "loc": { "start": { - "line": 146, - "column": 35 + "line": 171, + "column": 36 }, "end": { - "line": 146, - "column": 38 + "line": 171, + "column": 37 } } }, @@ -21275,17 +23862,17 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 5346, - "end": 5351, + "value": "states", + "start": 6052, + "end": 6058, "loc": { "start": { - "line": 146, - "column": 39 + "line": 171, + "column": 37 }, "end": { - "line": 146, - "column": 44 + "line": 171, + "column": 43 } } }, @@ -21301,16 +23888,16 @@ "postfix": false, "binop": null }, - "start": 5351, - "end": 5352, + "start": 6058, + "end": 6059, "loc": { "start": { - "line": 146, - "column": 44 + "line": 171, + "column": 43 }, "end": { - "line": 146, - "column": 45 + "line": 171, + "column": 44 } } }, @@ -21326,24 +23913,24 @@ "postfix": false, "binop": null }, - "start": 5353, - "end": 5354, + "start": 6060, + "end": 6061, "loc": { "start": { - "line": 146, - "column": 46 + "line": 171, + "column": 45 }, "end": { - "line": 146, - "column": 47 + "line": 171, + "column": 46 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21353,17 +23940,42 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 5376, - "end": 5382, + "value": "if", + "start": 6079, + "end": 6081, "loc": { "start": { - "line": 147, - "column": 20 + "line": 172, + "column": 16 }, "end": { - "line": 147, - "column": 26 + "line": 172, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6082, + "end": 6083, + "loc": { + "start": { + "line": 172, + "column": 19 + }, + "end": { + "line": 172, + "column": 20 } } }, @@ -21379,24 +23991,24 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 5383, - "end": 5387, + "value": "state", + "start": 6083, + "end": 6088, "loc": { "start": { - "line": 147, - "column": 27 + "line": 172, + "column": 20 }, "end": { - "line": 147, - "column": 31 + "line": 172, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21406,24 +24018,24 @@ "binop": null, "updateContext": null }, - "start": 5387, - "end": 5388, + "start": 6088, + "end": 6089, "loc": { "start": { - "line": 147, - "column": 31 + "line": 172, + "column": 25 }, "end": { - "line": 147, - "column": 32 + "line": 172, + "column": 26 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21431,49 +24043,52 @@ "postfix": false, "binop": null }, - "start": 5406, - "end": 5407, + "value": "id", + "start": 6089, + "end": 6091, "loc": { "start": { - "line": 148, - "column": 16 + "line": 172, + "column": 26 }, "end": { - "line": 148, - "column": 17 + "line": 172, + "column": 28 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 5421, - "end": 5422, + "value": "===", + "start": 6092, + "end": 6095, "loc": { "start": { - "line": 149, - "column": 12 + "line": 172, + "column": 29 }, "end": { - "line": 149, - "column": 13 + "line": 172, + "column": 32 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21481,69 +24096,70 @@ "postfix": false, "binop": null }, - "start": 5432, - "end": 5433, + "value": "pID", + "start": 6096, + "end": 6099, "loc": { "start": { - "line": 150, - "column": 8 + "line": 172, + "column": 33 }, "end": { - "line": 150, - "column": 9 + "line": 172, + "column": 36 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 5434, - "end": 5438, + "start": 6099, + "end": 6100, "loc": { "start": { - "line": 150, - "column": 10 + "line": 172, + "column": 36 }, "end": { - "line": 150, - "column": 14 + "line": 172, + "column": 37 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5439, - "end": 5440, + "value": "return", + "start": 6101, + "end": 6107, "loc": { "start": { - "line": 150, - "column": 15 + "line": 172, + "column": 38 }, "end": { - "line": 150, - "column": 16 + "line": 172, + "column": 44 } } }, @@ -21559,24 +24175,24 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 5454, - "end": 5457, + "value": "state", + "start": 6108, + "end": 6113, "loc": { "start": { - "line": 151, - "column": 12 + "line": 172, + "column": 45 }, "end": { - "line": 151, - "column": 15 + "line": 172, + "column": 50 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21586,24 +24202,24 @@ "binop": null, "updateContext": null }, - "start": 5457, - "end": 5458, + "start": 6113, + "end": 6114, "loc": { "start": { - "line": 151, - "column": 15 + "line": 172, + "column": 50 }, "end": { - "line": 151, - "column": 16 + "line": 172, + "column": 51 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21611,23 +24227,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 5458, - "end": 5464, + "start": 6128, + "end": 6129, "loc": { "start": { - "line": 151, - "column": 16 + "line": 173, + "column": 12 }, "end": { - "line": 151, - "column": 22 + "line": 173, + "column": 13 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21638,23 +24254,24 @@ "binop": null, "updateContext": null }, - "start": 5464, - "end": 5465, + "value": "if", + "start": 6143, + "end": 6145, "loc": { "start": { - "line": 151, - "column": 22 + "line": 174, + "column": 12 }, "end": { - "line": 151, - "column": 23 + "line": 174, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21663,24 +24280,23 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 5465, - "end": 5471, + "start": 6146, + "end": 6147, "loc": { "start": { - "line": 151, - "column": 23 + "line": 174, + "column": 15 }, "end": { - "line": 151, - "column": 29 + "line": 174, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21689,24 +24305,25 @@ "postfix": false, "binop": null }, - "start": 5471, - "end": 5472, + "value": "icon", + "start": 6147, + "end": 6151, "loc": { "start": { - "line": 151, - "column": 29 + "line": 174, + "column": 16 }, "end": { - "line": 151, - "column": 30 + "line": 174, + "column": 20 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21715,25 +24332,24 @@ "binop": null, "updateContext": null }, - "value": "VYI-module", - "start": 5472, - "end": 5484, + "start": 6151, + "end": 6152, "loc": { "start": { - "line": 151, - "column": 30 + "line": 174, + "column": 20 }, "end": { - "line": 151, - "column": 42 + "line": 174, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21741,42 +24357,44 @@ "postfix": false, "binop": null }, - "start": 5484, - "end": 5485, + "value": "id", + "start": 6152, + "end": 6154, "loc": { "start": { - "line": 151, - "column": 42 + "line": 174, + "column": 21 }, "end": { - "line": 151, - "column": 43 + "line": 174, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 5485, - "end": 5486, + "value": "===", + "start": 6155, + "end": 6158, "loc": { "start": { - "line": 151, - "column": 43 + "line": 174, + "column": 24 }, "end": { - "line": 151, - "column": 44 + "line": 174, + "column": 27 } } }, @@ -21792,25 +24410,25 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 5486, - "end": 5491, + "value": "pID", + "start": 6159, + "end": 6162, "loc": { "start": { - "line": 151, - "column": 44 + "line": 174, + "column": 28 }, "end": { - "line": 151, - "column": 49 + "line": 174, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21818,24 +24436,25 @@ "postfix": false, "binop": null }, - "start": 5491, - "end": 5492, + "start": 6162, + "end": 6163, "loc": { "start": { - "line": 151, - "column": 49 + "line": 174, + "column": 31 }, "end": { - "line": 151, - "column": 50 + "line": 174, + "column": 32 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21844,25 +24463,25 @@ "binop": null, "updateContext": null }, - "value": "Invalid name type used!", - "start": 5492, - "end": 5517, + "value": "return", + "start": 6164, + "end": 6170, "loc": { "start": { - "line": 151, - "column": 50 + "line": 174, + "column": 33 }, "end": { - "line": 151, - "column": 75 + "line": 174, + "column": 39 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21870,16 +24489,17 @@ "postfix": false, "binop": null }, - "start": 5517, - "end": 5518, + "value": "icon", + "start": 6171, + "end": 6175, "loc": { "start": { - "line": 151, - "column": 75 + "line": 174, + "column": 40 }, "end": { - "line": 151, - "column": 76 + "line": 174, + "column": 44 } } }, @@ -21896,16 +24516,16 @@ "binop": null, "updateContext": null }, - "start": 5518, - "end": 5519, + "start": 6175, + "end": 6176, "loc": { "start": { - "line": 151, - "column": 76 + "line": 174, + "column": 44 }, "end": { - "line": 151, - "column": 77 + "line": 174, + "column": 45 } } }, @@ -21921,15 +24541,15 @@ "postfix": false, "binop": null }, - "start": 5529, - "end": 5530, + "start": 6186, + "end": 6187, "loc": { "start": { - "line": 152, + "line": 175, "column": 8 }, "end": { - "line": 152, + "line": 175, "column": 9 } } @@ -21946,15 +24566,15 @@ "postfix": false, "binop": null }, - "start": 5536, - "end": 5537, + "start": 6193, + "end": 6194, "loc": { "start": { - "line": 153, + "line": 176, "column": 4 }, "end": { - "line": 153, + "line": 176, "column": 5 } } @@ -21962,15 +24582,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 5543, - "end": 5626, + "start": 6200, + "end": 6283, "loc": { "start": { - "line": 154, + "line": 177, "column": 4 }, "end": { - "line": 157, + "line": 180, "column": 7 } } @@ -21988,15 +24608,15 @@ "binop": null }, "value": "getIcons", - "start": 5632, - "end": 5640, + "start": 6289, + "end": 6297, "loc": { "start": { - "line": 158, + "line": 181, "column": 4 }, "end": { - "line": 158, + "line": 181, "column": 12 } } @@ -22013,15 +24633,15 @@ "postfix": false, "binop": null }, - "start": 5640, - "end": 5641, + "start": 6297, + "end": 6298, "loc": { "start": { - "line": 158, + "line": 181, "column": 12 }, "end": { - "line": 158, + "line": 181, "column": 13 } } @@ -22038,15 +24658,15 @@ "postfix": false, "binop": null }, - "start": 5641, - "end": 5642, + "start": 6298, + "end": 6299, "loc": { "start": { - "line": 158, + "line": 181, "column": 13 }, "end": { - "line": 158, + "line": 181, "column": 14 } } @@ -22063,15 +24683,15 @@ "postfix": false, "binop": null }, - "start": 5643, - "end": 5644, + "start": 6300, + "end": 6301, "loc": { "start": { - "line": 158, + "line": 181, "column": 15 }, "end": { - "line": 158, + "line": 181, "column": 16 } } @@ -22091,15 +24711,15 @@ "updateContext": null }, "value": "return", - "start": 5654, - "end": 5660, + "start": 6311, + "end": 6317, "loc": { "start": { - "line": 159, + "line": 182, "column": 8 }, "end": { - "line": 159, + "line": 182, "column": 14 } } @@ -22117,15 +24737,15 @@ "binop": null, "updateContext": null }, - "start": 5661, - "end": 5662, + "start": 6318, + "end": 6319, "loc": { "start": { - "line": 159, + "line": 182, "column": 15 }, "end": { - "line": 159, + "line": 182, "column": 16 } } @@ -22143,15 +24763,15 @@ "binop": null, "updateContext": null }, - "start": 5662, - "end": 5665, + "start": 6319, + "end": 6322, "loc": { "start": { - "line": 159, + "line": 182, "column": 16 }, "end": { - "line": 159, + "line": 182, "column": 19 } } @@ -22171,15 +24791,15 @@ "updateContext": null }, "value": "this", - "start": 5665, - "end": 5669, + "start": 6322, + "end": 6326, "loc": { "start": { - "line": 159, + "line": 182, "column": 19 }, "end": { - "line": 159, + "line": 182, "column": 23 } } @@ -22197,15 +24817,15 @@ "binop": null, "updateContext": null }, - "start": 5669, - "end": 5670, + "start": 6326, + "end": 6327, "loc": { "start": { - "line": 159, + "line": 182, "column": 23 }, "end": { - "line": 159, + "line": 182, "column": 24 } } @@ -22223,15 +24843,15 @@ "binop": null }, "value": "icons", - "start": 5670, - "end": 5675, + "start": 6327, + "end": 6332, "loc": { "start": { - "line": 159, + "line": 182, "column": 24 }, "end": { - "line": 159, + "line": 182, "column": 29 } } @@ -22249,15 +24869,15 @@ "binop": null, "updateContext": null }, - "start": 5675, - "end": 5676, + "start": 6332, + "end": 6333, "loc": { "start": { - "line": 159, + "line": 182, "column": 29 }, "end": { - "line": 159, + "line": 182, "column": 30 } } @@ -22275,15 +24895,15 @@ "binop": null, "updateContext": null }, - "start": 5676, - "end": 5677, + "start": 6333, + "end": 6334, "loc": { "start": { - "line": 159, + "line": 182, "column": 30 }, "end": { - "line": 159, + "line": 182, "column": 31 } } @@ -22300,15 +24920,15 @@ "postfix": false, "binop": null }, - "start": 5683, - "end": 5684, + "start": 6340, + "end": 6341, "loc": { "start": { - "line": 160, + "line": 183, "column": 4 }, "end": { - "line": 160, + "line": 183, "column": 5 } } @@ -22316,15 +24936,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 5690, - "end": 5792, + "start": 6347, + "end": 6449, "loc": { "start": { - "line": 161, + "line": 184, "column": 4 }, "end": { - "line": 164, + "line": 187, "column": 7 } } @@ -22344,15 +24964,15 @@ "updateContext": null }, "value": "export", - "start": 5798, - "end": 5804, + "start": 6455, + "end": 6461, "loc": { "start": { - "line": 165, + "line": 188, "column": 4 }, "end": { - "line": 165, + "line": 188, "column": 10 } } @@ -22369,15 +24989,15 @@ "postfix": false, "binop": null }, - "start": 5804, - "end": 5805, + "start": 6461, + "end": 6462, "loc": { "start": { - "line": 165, + "line": 188, "column": 10 }, "end": { - "line": 165, + "line": 188, "column": 11 } } @@ -22394,15 +25014,15 @@ "postfix": false, "binop": null }, - "start": 5805, - "end": 5806, + "start": 6462, + "end": 6463, "loc": { "start": { - "line": 165, + "line": 188, "column": 11 }, "end": { - "line": 165, + "line": 188, "column": 12 } } @@ -22419,15 +25039,15 @@ "postfix": false, "binop": null }, - "start": 5807, - "end": 5808, + "start": 6464, + "end": 6465, "loc": { "start": { - "line": 165, + "line": 188, "column": 13 }, "end": { - "line": 165, + "line": 188, "column": 14 } } @@ -22447,15 +25067,15 @@ "updateContext": null }, "value": "const", - "start": 5818, - "end": 5823, + "start": 6475, + "end": 6480, "loc": { "start": { - "line": 166, + "line": 189, "column": 8 }, "end": { - "line": 166, + "line": 189, "column": 13 } } @@ -22473,15 +25093,15 @@ "binop": null }, "value": "vyi", - "start": 5824, - "end": 5827, + "start": 6481, + "end": 6484, "loc": { "start": { - "line": 166, + "line": 189, "column": 14 }, "end": { - "line": 166, + "line": 189, "column": 17 } } @@ -22500,15 +25120,15 @@ "updateContext": null }, "value": "=", - "start": 5828, - "end": 5829, + "start": 6485, + "end": 6486, "loc": { "start": { - "line": 166, + "line": 189, "column": 18 }, "end": { - "line": 166, + "line": 189, "column": 19 } } @@ -22525,15 +25145,15 @@ "postfix": false, "binop": null }, - "start": 5830, - "end": 5831, + "start": 6487, + "end": 6488, "loc": { "start": { - "line": 166, + "line": 189, "column": 20 }, "end": { - "line": 166, + "line": 189, "column": 21 } } @@ -22550,15 +25170,15 @@ "postfix": false, "binop": null }, - "start": 5831, - "end": 5832, + "start": 6488, + "end": 6489, "loc": { "start": { - "line": 166, + "line": 189, "column": 21 }, "end": { - "line": 166, + "line": 189, "column": 22 } } @@ -22576,15 +25196,15 @@ "binop": null, "updateContext": null }, - "start": 5832, - "end": 5833, + "start": 6489, + "end": 6490, "loc": { "start": { - "line": 166, + "line": 189, "column": 22 }, "end": { - "line": 166, + "line": 189, "column": 23 } } @@ -22592,15 +25212,15 @@ { "type": "CommentLine", "value": " Set version", - "start": 5843, - "end": 5857, + "start": 6500, + "end": 6514, "loc": { "start": { - "line": 167, + "line": 190, "column": 8 }, "end": { - "line": 167, + "line": 190, "column": 22 } } @@ -22618,15 +25238,15 @@ "binop": null }, "value": "vyi", - "start": 5867, - "end": 5870, + "start": 6524, + "end": 6527, "loc": { "start": { - "line": 168, + "line": 191, "column": 8 }, "end": { - "line": 168, + "line": 191, "column": 11 } } @@ -22644,15 +25264,15 @@ "binop": null, "updateContext": null }, - "start": 5870, - "end": 5871, + "start": 6527, + "end": 6528, "loc": { "start": { - "line": 168, + "line": 191, "column": 11 }, "end": { - "line": 168, + "line": 191, "column": 12 } } @@ -22670,15 +25290,15 @@ "binop": null }, "value": "v", - "start": 5871, - "end": 5872, + "start": 6528, + "end": 6529, "loc": { "start": { - "line": 168, + "line": 191, "column": 12 }, "end": { - "line": 168, + "line": 191, "column": 13 } } @@ -22697,15 +25317,15 @@ "updateContext": null }, "value": "=", - "start": 5873, - "end": 5874, + "start": 6530, + "end": 6531, "loc": { "start": { - "line": 168, + "line": 191, "column": 14 }, "end": { - "line": 168, + "line": 191, "column": 15 } } @@ -22725,15 +25345,15 @@ "updateContext": null }, "value": "this", - "start": 5875, - "end": 5879, + "start": 6532, + "end": 6536, "loc": { "start": { - "line": 168, + "line": 191, "column": 16 }, "end": { - "line": 168, + "line": 191, "column": 20 } } @@ -22751,15 +25371,15 @@ "binop": null, "updateContext": null }, - "start": 5879, - "end": 5880, + "start": 6536, + "end": 6537, "loc": { "start": { - "line": 168, + "line": 191, "column": 20 }, "end": { - "line": 168, + "line": 191, "column": 21 } } @@ -22777,15 +25397,15 @@ "binop": null }, "value": "formatVersion", - "start": 5880, - "end": 5893, + "start": 6537, + "end": 6550, "loc": { "start": { - "line": 168, + "line": 191, "column": 21 }, "end": { - "line": 168, + "line": 191, "column": 34 } } @@ -22803,15 +25423,15 @@ "binop": null, "updateContext": null }, - "start": 5893, - "end": 5894, + "start": 6550, + "end": 6551, "loc": { "start": { - "line": 168, + "line": 191, "column": 34 }, "end": { - "line": 168, + "line": 191, "column": 35 } } @@ -22819,15 +25439,15 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5904, - "end": 5926, + "start": 6561, + "end": 6583, "loc": { "start": { - "line": 169, + "line": 192, "column": 8 }, "end": { - "line": 169, + "line": 192, "column": 30 } } @@ -22845,15 +25465,15 @@ "binop": null }, "value": "vyi", - "start": 5936, - "end": 5939, + "start": 6593, + "end": 6596, "loc": { "start": { - "line": 170, + "line": 193, "column": 8 }, "end": { - "line": 170, + "line": 193, "column": 11 } } @@ -22871,15 +25491,15 @@ "binop": null, "updateContext": null }, - "start": 5939, - "end": 5940, + "start": 6596, + "end": 6597, "loc": { "start": { - "line": 170, + "line": 193, "column": 11 }, "end": { - "line": 170, + "line": 193, "column": 12 } } @@ -22897,15 +25517,15 @@ "binop": null }, "value": "i", - "start": 5940, - "end": 5941, + "start": 6597, + "end": 6598, "loc": { "start": { - "line": 170, + "line": 193, "column": 12 }, "end": { - "line": 170, + "line": 193, "column": 13 } } @@ -22924,15 +25544,15 @@ "updateContext": null }, "value": "=", - "start": 5942, - "end": 5943, + "start": 6599, + "end": 6600, "loc": { "start": { - "line": 170, + "line": 193, "column": 14 }, "end": { - "line": 170, + "line": 193, "column": 15 } } @@ -22950,15 +25570,15 @@ "binop": null, "updateContext": null }, - "start": 5944, - "end": 5945, + "start": 6601, + "end": 6602, "loc": { "start": { - "line": 170, + "line": 193, "column": 16 }, "end": { - "line": 170, + "line": 193, "column": 17 } } @@ -22976,15 +25596,15 @@ "binop": null, "updateContext": null }, - "start": 5945, - "end": 5946, + "start": 6602, + "end": 6603, "loc": { "start": { - "line": 170, + "line": 193, "column": 17 }, "end": { - "line": 170, + "line": 193, "column": 18 } } @@ -23002,15 +25622,15 @@ "binop": null, "updateContext": null }, - "start": 5946, - "end": 5947, + "start": 6603, + "end": 6604, "loc": { "start": { - "line": 170, + "line": 193, "column": 18 }, "end": { - "line": 170, + "line": 193, "column": 19 } } @@ -23030,15 +25650,15 @@ "updateContext": null }, "value": "this", - "start": 5957, - "end": 5961, + "start": 6614, + "end": 6618, "loc": { "start": { - "line": 171, + "line": 194, "column": 8 }, "end": { - "line": 171, + "line": 194, "column": 12 } } @@ -23056,15 +25676,15 @@ "binop": null, "updateContext": null }, - "start": 5961, - "end": 5962, + "start": 6618, + "end": 6619, "loc": { "start": { - "line": 171, + "line": 194, "column": 12 }, "end": { - "line": 171, + "line": 194, "column": 13 } } @@ -23082,15 +25702,15 @@ "binop": null }, "value": "icons", - "start": 5962, - "end": 5967, + "start": 6619, + "end": 6624, "loc": { "start": { - "line": 171, + "line": 194, "column": 13 }, "end": { - "line": 171, + "line": 194, "column": 18 } } @@ -23108,15 +25728,15 @@ "binop": null, "updateContext": null }, - "start": 5967, - "end": 5968, + "start": 6624, + "end": 6625, "loc": { "start": { - "line": 171, + "line": 194, "column": 18 }, "end": { - "line": 171, + "line": 194, "column": 19 } } @@ -23134,15 +25754,15 @@ "binop": null }, "value": "forEach", - "start": 5968, - "end": 5975, + "start": 6625, + "end": 6632, "loc": { "start": { - "line": 171, + "line": 194, "column": 19 }, "end": { - "line": 171, + "line": 194, "column": 26 } } @@ -23159,15 +25779,15 @@ "postfix": false, "binop": null }, - "start": 5975, - "end": 5976, + "start": 6632, + "end": 6633, "loc": { "start": { - "line": 171, + "line": 194, "column": 26 }, "end": { - "line": 171, + "line": 194, "column": 27 } } @@ -23184,15 +25804,15 @@ "postfix": false, "binop": null }, - "start": 5976, - "end": 5977, + "start": 6633, + "end": 6634, "loc": { "start": { - "line": 171, + "line": 194, "column": 27 }, "end": { - "line": 171, + "line": 194, "column": 28 } } @@ -23210,15 +25830,15 @@ "binop": null }, "value": "pIcon", - "start": 5977, - "end": 5982, + "start": 6634, + "end": 6639, "loc": { "start": { - "line": 171, + "line": 194, "column": 28 }, "end": { - "line": 171, + "line": 194, "column": 33 } } @@ -23235,15 +25855,15 @@ "postfix": false, "binop": null }, - "start": 5982, - "end": 5983, + "start": 6639, + "end": 6640, "loc": { "start": { - "line": 171, + "line": 194, "column": 33 }, "end": { - "line": 171, + "line": 194, "column": 34 } } @@ -23261,15 +25881,15 @@ "binop": null, "updateContext": null }, - "start": 5984, - "end": 5986, + "start": 6641, + "end": 6643, "loc": { "start": { - "line": 171, + "line": 194, "column": 35 }, "end": { - "line": 171, + "line": 194, "column": 37 } } @@ -23286,15 +25906,15 @@ "postfix": false, "binop": null }, - "start": 5987, - "end": 5988, + "start": 6644, + "end": 6645, "loc": { "start": { - "line": 171, + "line": 194, "column": 38 }, "end": { - "line": 171, + "line": 194, "column": 39 } } @@ -23302,15 +25922,15 @@ { "type": "CommentLine", "value": " Push the icon data to the vyi export object.", - "start": 6002, - "end": 6049, + "start": 6659, + "end": 6706, "loc": { "start": { - "line": 172, + "line": 195, "column": 12 }, "end": { - "line": 172, + "line": 195, "column": 59 } } @@ -23328,15 +25948,15 @@ "binop": null }, "value": "vyi", - "start": 6063, - "end": 6066, + "start": 6720, + "end": 6723, "loc": { "start": { - "line": 173, + "line": 196, "column": 12 }, "end": { - "line": 173, + "line": 196, "column": 15 } } @@ -23354,15 +25974,15 @@ "binop": null, "updateContext": null }, - "start": 6066, - "end": 6067, + "start": 6723, + "end": 6724, "loc": { "start": { - "line": 173, + "line": 196, "column": 15 }, "end": { - "line": 173, + "line": 196, "column": 16 } } @@ -23380,15 +26000,15 @@ "binop": null }, "value": "i", - "start": 6067, - "end": 6068, + "start": 6724, + "end": 6725, "loc": { "start": { - "line": 173, + "line": 196, "column": 16 }, "end": { - "line": 173, + "line": 196, "column": 17 } } @@ -23406,15 +26026,15 @@ "binop": null, "updateContext": null }, - "start": 6068, - "end": 6069, + "start": 6725, + "end": 6726, "loc": { "start": { - "line": 173, + "line": 196, "column": 17 }, "end": { - "line": 173, + "line": 196, "column": 18 } } @@ -23432,15 +26052,15 @@ "binop": null }, "value": "push", - "start": 6069, - "end": 6073, + "start": 6726, + "end": 6730, "loc": { "start": { - "line": 173, + "line": 196, "column": 18 }, "end": { - "line": 173, + "line": 196, "column": 22 } } @@ -23457,15 +26077,15 @@ "postfix": false, "binop": null }, - "start": 6073, - "end": 6074, + "start": 6730, + "end": 6731, "loc": { "start": { - "line": 173, + "line": 196, "column": 22 }, "end": { - "line": 173, + "line": 196, "column": 23 } } @@ -23483,15 +26103,15 @@ "binop": null }, "value": "pIcon", - "start": 6074, - "end": 6079, + "start": 6731, + "end": 6736, "loc": { "start": { - "line": 173, + "line": 196, "column": 23 }, "end": { - "line": 173, + "line": 196, "column": 28 } } @@ -23509,15 +26129,15 @@ "binop": null, "updateContext": null }, - "start": 6079, - "end": 6080, + "start": 6736, + "end": 6737, "loc": { "start": { - "line": 173, + "line": 196, "column": 28 }, "end": { - "line": 173, + "line": 196, "column": 29 } } @@ -23537,15 +26157,15 @@ "updateContext": null }, "value": "export", - "start": 6080, - "end": 6086, + "start": 6737, + "end": 6743, "loc": { "start": { - "line": 173, + "line": 196, "column": 29 }, "end": { - "line": 173, + "line": 196, "column": 35 } } @@ -23562,15 +26182,15 @@ "postfix": false, "binop": null }, - "start": 6086, - "end": 6087, + "start": 6743, + "end": 6744, "loc": { "start": { - "line": 173, + "line": 196, "column": 35 }, "end": { - "line": 173, + "line": 196, "column": 36 } } @@ -23587,15 +26207,15 @@ "postfix": false, "binop": null }, - "start": 6087, - "end": 6088, + "start": 6744, + "end": 6745, "loc": { "start": { - "line": 173, + "line": 196, "column": 36 }, "end": { - "line": 173, + "line": 196, "column": 37 } } @@ -23612,15 +26232,15 @@ "postfix": false, "binop": null }, - "start": 6088, - "end": 6089, + "start": 6745, + "end": 6746, "loc": { "start": { - "line": 173, + "line": 196, "column": 37 }, "end": { - "line": 173, + "line": 196, "column": 38 } } @@ -23638,15 +26258,15 @@ "binop": null, "updateContext": null }, - "start": 6089, - "end": 6090, + "start": 6746, + "end": 6747, "loc": { "start": { - "line": 173, + "line": 196, "column": 38 }, "end": { - "line": 173, + "line": 196, "column": 39 } } @@ -23663,15 +26283,15 @@ "postfix": false, "binop": null }, - "start": 6100, - "end": 6101, + "start": 6757, + "end": 6758, "loc": { "start": { - "line": 174, + "line": 197, "column": 8 }, "end": { - "line": 174, + "line": 197, "column": 9 } } @@ -23688,15 +26308,15 @@ "postfix": false, "binop": null }, - "start": 6101, - "end": 6102, + "start": 6758, + "end": 6759, "loc": { "start": { - "line": 174, + "line": 197, "column": 9 }, "end": { - "line": 174, + "line": 197, "column": 10 } } @@ -23714,15 +26334,15 @@ "binop": null, "updateContext": null }, - "start": 6102, - "end": 6103, + "start": 6759, + "end": 6760, "loc": { "start": { - "line": 174, + "line": 197, "column": 10 }, "end": { - "line": 174, + "line": 197, "column": 11 } } @@ -23742,15 +26362,15 @@ "updateContext": null }, "value": "return", - "start": 6113, - "end": 6119, + "start": 6770, + "end": 6776, "loc": { "start": { - "line": 175, + "line": 198, "column": 8 }, "end": { - "line": 175, + "line": 198, "column": 14 } } @@ -23768,15 +26388,15 @@ "binop": null }, "value": "vyi", - "start": 6120, - "end": 6123, + "start": 6777, + "end": 6780, "loc": { "start": { - "line": 175, + "line": 198, "column": 15 }, "end": { - "line": 175, + "line": 198, "column": 18 } } @@ -23794,15 +26414,15 @@ "binop": null, "updateContext": null }, - "start": 6123, - "end": 6124, + "start": 6780, + "end": 6781, "loc": { "start": { - "line": 175, + "line": 198, "column": 18 }, "end": { - "line": 175, + "line": 198, "column": 19 } } @@ -23819,15 +26439,15 @@ "postfix": false, "binop": null }, - "start": 6130, - "end": 6131, + "start": 6787, + "end": 6788, "loc": { "start": { - "line": 176, + "line": 199, "column": 4 }, "end": { - "line": 176, + "line": 199, "column": 5 } } @@ -23844,15 +26464,15 @@ "postfix": false, "binop": null }, - "start": 6133, - "end": 6134, + "start": 6790, + "end": 6791, "loc": { "start": { - "line": 177, + "line": 200, "column": 0 }, "end": { - "line": 177, + "line": 200, "column": 1 } } @@ -23870,15 +26490,15 @@ "binop": null, "updateContext": null }, - "start": 6134, - "end": 6134, + "start": 6791, + "end": 6791, "loc": { "start": { - "line": 177, + "line": 200, "column": 1 }, "end": { - "line": 177, + "line": 200, "column": 1 } } diff --git a/docs/class/src/frame.mjs~Frame.html b/docs/class/src/frame.mjs~Frame.html index a0ad04f..0e74096 100644 --- a/docs/class/src/frame.mjs~Frame.html +++ b/docs/class/src/frame.mjs~Frame.html @@ -129,7 +129,7 @@

Frame

- constructor(pFrameData: Object, pParentIcon: Icon) + constructor(pFrameData: Array, pParentIcon: Icon)

@@ -468,7 +468,7 @@

Frame

- parse(pFrameData: Object) + parse(pFrameData: Array)

@@ -546,7 +546,7 @@

- constructor(pFrameData: Object, pParentIcon: Icon) + constructor(pFrameData: Array, pParentIcon: Icon) @@ -572,7 +572,7 @@

Params:

pFrameData - Object + Array

The frame data that is used to build this frame.

@@ -1161,7 +1161,7 @@

- parse(pFrameData: Object) + parse(pFrameData: Array) @@ -1187,7 +1187,7 @@

Params:

pFrameData - Object + Array

The frame data that is used to build this frame.

diff --git a/docs/class/src/icon.mjs~Icon.html b/docs/class/src/icon.mjs~Icon.html index 1913fce..8d12375 100644 --- a/docs/class/src/icon.mjs~Icon.html +++ b/docs/class/src/icon.mjs~Icon.html @@ -76,7 +76,42 @@

Icon

- +

Static Method Summary

+ + + + + + + + + +
Static Private Methods
+ private + static + + + + +
+

+ + + + generateID(pVYI: VYI): string +

+
+
+ + +

Generates a UUID (Universally Unique Identifier) version 4.

+
+
+
+ + +
+

Constructor Summary

@@ -239,6 +274,35 @@

Icon

+ + + + + + + @@ -399,7 +463,7 @@

Icon

- addFrame(pFrameData: Object): Frame | undefined + addFrame(pFrameData: Array): Frame | undefined

@@ -565,6 +629,35 @@

Icon

+ + +
+ + + + + + + + + - + @@ -1653,7 +1895,7 @@

- source + source

@@ -1727,7 +1969,7 @@

- source + source

@@ -1784,7 +2026,7 @@

- source + source

@@ -1841,7 +2083,7 @@

- source + source

@@ -1917,7 +2159,7 @@

- source + source

@@ -1961,6 +2203,63 @@

Return:

+ +
+

+ public + + + + + + getID(): string + + + + source + +

+ + + + +

Gets the id of this icon.

+
+ + + +
+
+ +
+

Return:

+
Private Constructor
+
+

+ + + + id: string +

+
+
+ + +

A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.

+
+
+
+ + +
+ private + + + @@ -282,7 +346,7 @@

Icon

-

The icon that owns this frame.

+

The icon that owns this icon.

+
+

+ + + + getID(): string +

+
+
+ + +

Gets the id of this icon.

+
+
+
+ + +
+ public + + + @@ -919,6 +1012,35 @@

Icon

+ +
+
+

+ + + + assignID(pVYI: VYI) +

+
+
+ + +

Assigns an ID to this icon.

+
+
+
+ + +
+ private + + + @@ -1094,7 +1216,83 @@

Icon

+

Static Private Methods

+ +
+

+ private + static + + + + + generateID(pVYI: VYI): string + + + + source + +

+ + + + +

Generates a UUID (Universally Unique Identifier) version 4.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
pVYIVYI

The vyi that will reserve this ID.

+
+
+
+ +
+

Return:

+ + + + + + + +
string

The generated UUID.

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

Private Constructors

@@ -1109,7 +1307,7 @@

- source + source

@@ -1343,6 +1541,50 @@

+

+
+

+ private + + + + + + id: string + + + + source + +

+ + + + +

A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.

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

@@ -1407,7 +1649,7 @@

-

The icon that owns this frame.

+

The icon that owns this icon. This means this icon is state.

@@ -1575,11 +1817,11 @@

- addFrame(pFrameData: Object): Frame | undefined + addFrame(pFrameData: Array): Frame | undefined - source + source

@@ -1601,7 +1843,7 @@

Params:

pFrameDataObjectArray

The frame data to give this frame.

+ + + + + + +
string

The id of this icon.

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

@@ -1974,7 +2273,7 @@

- source + source

@@ -2031,7 +2330,7 @@

- source + source

@@ -2088,7 +2387,7 @@

- source + source

@@ -2162,7 +2461,7 @@

- source + source

@@ -2219,7 +2518,7 @@

- source + source

@@ -2300,7 +2599,7 @@

- source + source

@@ -2381,7 +2680,7 @@

- source + source

@@ -2455,7 +2754,7 @@

- source + source

@@ -2538,7 +2837,7 @@

- source + source

@@ -2612,7 +2911,7 @@

- source + source

@@ -2686,7 +2985,7 @@

- source + source

@@ -2760,7 +3059,7 @@

- source + source

@@ -2831,6 +3130,67 @@

Return:

Private Methods

+
+

+ private + + + + + + assignID(pVYI: VYI) + + + + source + +

+ + + + +

Assigns an ID to this icon.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
pVYIVYI

The vyi that holds this ID.

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

private @@ -2843,7 +3203,7 @@

- source + source

@@ -2900,7 +3260,7 @@

- source + source

@@ -2957,7 +3317,7 @@

- source + source

@@ -3014,7 +3374,7 @@

- source + source

@@ -3071,7 +3431,7 @@

- source + source

@@ -3115,7 +3475,7 @@

- source + source

diff --git a/docs/class/src/vyi.mjs~VYI.html b/docs/class/src/vyi.mjs~VYI.html index 60ee520..a516ebd 100644 --- a/docs/class/src/vyi.mjs~VYI.html +++ b/docs/class/src/vyi.mjs~VYI.html @@ -272,6 +272,35 @@

VYI

+ + + + + private + + + + + + +
+

+ + + + reservedIDs: Array +

+
+
+ + +

An array of used IDs to prevent collusion between duplicate named icons.

+
+
+ + + + @@ -482,6 +511,41 @@

VYI

+ + + + + + + + + + + + @@ -598,7 +662,7 @@

- source + source

@@ -781,6 +845,50 @@

+ +
+

+ private + + + + + + reservedIDs: Array + + + + source + +

+ + + + +

An array of used IDs to prevent collusion between duplicate named icons.

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

Public Methods

@@ -797,7 +905,7 @@

- source + source

@@ -871,7 +979,7 @@

- source + source

@@ -928,7 +1036,7 @@

- source + source

@@ -1002,7 +1110,7 @@

- source + source

@@ -1059,7 +1167,7 @@

- source + source

@@ -1115,7 +1223,7 @@

- source + source

@@ -1177,7 +1285,7 @@

- source + source

@@ -1232,6 +1340,82 @@

Params:

+
+

Private Methods

+ +
+

+ private + + + + + + getIconByID(pID: string): Icon + + + + source + +

+ + + + +

Gets an icon by the id provided.

+
+ + + +
+

Params:

+
Private Methods
+ private + + + + + +
+

+ + + + getIconByID(pID: string): Icon +

+
+
+ + +

Gets an icon by the id provided.

+
+
+
+ +
+ + + + + + + + + + + + +
NameTypeAttributeDescription
pIDstring

The id of the icon.

+
+
+ + +
+

Return:

+ + + + + + + +
Icon

The icon that has the id that was passed.

+
+
+
+
+ + + + + + + + + + + + + + + diff --git a/docs/file/src/frame.mjs.html b/docs/file/src/frame.mjs.html index a07077f..6a40f8f 100644 --- a/docs/file/src/frame.mjs.html +++ b/docs/file/src/frame.mjs.html @@ -79,7 +79,7 @@ static defaultDelay = 100; /** * Create this frame class instance. - * @param {Object} pFrameData - The frame data that is used to build this frame. + * @param {Array} pFrameData - The frame data that is used to build this frame. * @param {Icon} pParentIcon - The icon that created this frame. * @private */ @@ -90,7 +90,7 @@ } /** * parses through the icon data and adds data to this frame. - * @param {Object} pFrameData - The frame data that is used to build this frame. + * @param {Array} pFrameData - The frame data that is used to build this frame. * @private */ parse(pFrameData) { diff --git a/docs/file/src/icon.mjs.html b/docs/file/src/icon.mjs.html index 1c5e054..3b6996a 100644 --- a/docs/file/src/icon.mjs.html +++ b/docs/file/src/icon.mjs.html @@ -84,7 +84,7 @@ */ name = ''; /** - * The icon that owns this frame. + * The icon that owns this icon. This means this icon is state. * @private * @type {Icon} */ @@ -96,6 +96,32 @@ * @type {VYI} */ vyi; + /** + * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name. + * + * @private + * @type {string} + */ + id; + /** + * Generates a UUID (Universally Unique Identifier) version 4. + * + * @private + * @param {VYI} pVYI - The vyi that will reserve this ID. + * @returns {string} The generated UUID. + */ + static generateID(pVYI) { + const genID = () => { + return Math.floor(Math.random() * 0xFFFFFFFF).toString(16).padStart(8, '0'); + } + // Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex + let id = genID(); + while (pVYI.reservedIDs.includes(id)) { + id = genID(); + } + pVYI.reservedIDs.push(id); + return id; + } /** * Creates this icon instance. * @param {Object} pIconData - The icon data that is used to build this icon. @@ -104,8 +130,26 @@ */ constructor(pIconData, pVYI) { this.vyi = pVYI; + this.assignID(pVYI); this.parse(pIconData); } + /** + * Assigns an ID to this icon. + * + * @param {VYI} pVYI - The vyi that holds this ID. + * @private + */ + assignID(pVYI) { + this.id = Icon.generateID(pVYI); + } + /** + * Gets the id of this icon. + * + * @returns {string} The id of this icon. + */ + getID() { + return this.id; + } /** * parses through the icon data and adds data to this icon. * @param {Object} pIconData - The icon data that is used to build this icon. @@ -312,12 +356,12 @@ } /** * Adds a new frame to this icon. - * @param {Object} pFrameData - The frame data to give this frame. + * @param {Array} pFrameData - The frame data to give this frame. * @returns {Frame|undefined} The frame that was added or undefined. */ addFrame(pFrameData) { if (pFrameData) { - if (pFrameData instanceof Object) { + if (Array.isArray(pFrameData)) { const frame = new Frame(pFrameData, this); // Add the frame to the frames array. this.frames.push(frame); diff --git a/docs/file/src/vyi.mjs.html b/docs/file/src/vyi.mjs.html index ade8850..e42efad 100644 --- a/docs/file/src/vyi.mjs.html +++ b/docs/file/src/vyi.mjs.html @@ -68,6 +68,13 @@ * @type {number} */ formatVersion; + /** + * An array of used IDs to prevent collusion between duplicate named icons. + * + * @private + * @type {Array} + */ + reservedIDs = []; /** * Initializes this module with the information from the VYI passed. * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger @@ -117,7 +124,7 @@ if (Array.isArray(icons)) { // Loop through the icons and add them to the vyi module instance. icons.forEach((pIconData) => { - this.addIcon(pIconData); + this.addIcon(pIconData, this); }); } else { VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.'); @@ -136,7 +143,7 @@ addIcon(pIconData) { if (pIconData) { if (pIconData instanceof Object) { - const icon = new Icon(pIconData); + const icon = new Icon(pIconData, this); // Add the icon to the icons array. this.icons.push(icon); return icon; @@ -190,6 +197,22 @@ VYI.logger.prefix('VYI-module').error('Invalid name type used!'); } } + /** + * Gets an icon by the id provided. + * + * @private + * @param {string} pID - The id of the icon. + * @returns {Icon} The icon that has the id that was passed. + */ + getIconByID(pID) { + if (!pID) return; + for (const icon of this.icons) { + for (const state of icon.states) { + if (state.id === pID) return state; + } + if (icon.id === pID) return icon; + } + } /** * Gets all the icons in this vyi. * @returns {Array<Icon>} diff --git a/docs/index.json b/docs/index.json index d9345c5..705a7a2 100644 --- a/docs/index.json +++ b/docs/index.json @@ -567,7 +567,7 @@ "__docId__": 48, "kind": "file", "name": "src/frame.mjs", - "content": "import { VYI } from './vyi.mjs';\r\n\r\nexport class Frame {\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n */\r\n index = 0;\r\n /**\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n */\r\n /**\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n static defaultDelay = 100;\r\n /**\r\n * Create this frame class instance.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n */\r\n constructor(pFrameData, pParentIcon) {\r\n this.vyi = pParentIcon.vyi;\r\n this.parent = pParentIcon;\r\n this.parse(pFrameData);\r\n }\r\n /**\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n */\r\n parse(pFrameData) {\r\n // Loop through frame data and build frame.\r\n const dataURL = pFrameData[0];\r\n const frameDelay = pFrameData[1] ? pFrameData[1] : this.parent.getDelay();\r\n // Set the data url\r\n this.setDataURL(dataURL);\r\n // Set the frame delay\r\n this.setDelay(frameDelay);\r\n }\r\n /**\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n */\r\n export() {\r\n const frameData = [];\r\n // frame dataURL\r\n frameData[0] = this.getDataURL();\r\n // We do not have to store the delay if it is the default value of 100. This will save data.\r\n const delayIsDefault = this.getDelay() === Frame.defaultDelay;\r\n if (!delayIsDefault) {\r\n // frame delay\r\n frameData[1] = this.getDelay();\r\n }\r\n return frameData;\r\n }\r\n}", + "content": "import { VYI } from './vyi.mjs';\r\n\r\nexport class Frame {\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n */\r\n index = 0;\r\n /**\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n */\r\n /**\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n static defaultDelay = 100;\r\n /**\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n */\r\n constructor(pFrameData, pParentIcon) {\r\n this.vyi = pParentIcon.vyi;\r\n this.parent = pParentIcon;\r\n this.parse(pFrameData);\r\n }\r\n /**\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n */\r\n parse(pFrameData) {\r\n // Loop through frame data and build frame.\r\n const dataURL = pFrameData[0];\r\n const frameDelay = pFrameData[1] ? pFrameData[1] : this.parent.getDelay();\r\n // Set the data url\r\n this.setDataURL(dataURL);\r\n // Set the frame delay\r\n this.setDelay(frameDelay);\r\n }\r\n /**\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n */\r\n export() {\r\n const frameData = [];\r\n // frame dataURL\r\n frameData[0] = this.getDataURL();\r\n // We do not have to store the delay if it is the default value of 100. This will save data.\r\n const delayIsDefault = this.getDelay() === Frame.defaultDelay;\r\n if (!delayIsDefault) {\r\n // frame delay\r\n frameData[1] = this.getDelay();\r\n }\r\n return frameData;\r\n }\r\n}", "static": true, "longname": "C:/Users/jared/Documents/Github/vyi/src/frame.mjs", "access": "public", @@ -718,7 +718,7 @@ { "nullable": null, "types": [ - "Object" + "Array" ], "spread": false, "optional": false, @@ -753,7 +753,7 @@ { "nullable": null, "types": [ - "Object" + "Array" ], "spread": false, "optional": false, @@ -929,7 +929,7 @@ "__docId__": 67, "kind": "file", "name": "src/icon.mjs", - "content": "import { VYI } from './vyi.mjs';\r\nimport { Frame } from './frame.mjs';\r\n\r\nexport class Icon {\r\n /**\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n states = [];\r\n /**\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n frames = [];\r\n /**\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n width = 32;\r\n /**\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n height = 32;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n */\r\n name = '';\r\n /**\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n /**\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n */\r\n constructor(pIconData, pVYI) {\r\n this.vyi = pVYI;\r\n this.parse(pIconData);\r\n }\r\n /**\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n */\r\n parse(pIconData) {\r\n // Loop through pIconData and create this icon\r\n const iconName = pIconData[0];\r\n const iconWidth = pIconData[1];\r\n const iconHeight = pIconData[2];\r\n const iconDelay = pIconData[3];\r\n const iconDataURL = pIconData[4];\r\n const frameArray = pIconData[5];\r\n const stateArray = pIconData[6];\r\n\r\n // Set name\r\n this.rename(iconName);\r\n // Set size\r\n this.setSize(iconWidth, iconHeight);\r\n // Set icon delay\r\n this.setDelay(iconDelay);\r\n // Set dataURL\r\n this.setDataURL(iconDataURL);\r\n // Check if the frame data is an array\r\n if (Array.isArray(frameArray)) {\r\n // If the frame array has data then we need to store it.\r\n if (frameArray.length) {\r\n frameArray.forEach((pFrame) => {\r\n // pFrame is an array holding the datalURL and frameDelay of the frame\r\n this.addFrame(pFrame);\r\n });\r\n }\r\n }\r\n // Check if the states data is an array\r\n if (Array.isArray(stateArray)) {\r\n // If the state array has data then we need to store it.\r\n if (stateArray.length) {\r\n stateArray.forEach((pState) => {\r\n // Here we create a icon with aggregated data because the state data is not enough to make it an icon.\r\n // We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.\r\n const aggregatedIconData = [];\r\n // iconName\r\n aggregatedIconData[0] = pState[0];\r\n // iconWidth\r\n aggregatedIconData[1] = iconWidth;\r\n // iconHeight\r\n aggregatedIconData[2] = iconHeight;\r\n // frame delay\r\n aggregatedIconData[3] = pState[2];\r\n // iconDataURL\r\n aggregatedIconData[4] = pState[1];\r\n // frame array\r\n aggregatedIconData[5] = pState[3];\r\n this.addState(aggregatedIconData);\r\n });\r\n }\r\n }\r\n }\r\n /**\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n */\r\n setSize(pWidth, pHeight) {\r\n if (typeof(pWidth) === 'number') {\r\n this.width = pWidth;\r\n }\r\n if (typeof(pHeight) === 'number') {\r\n this.height = pHeight;\r\n }\r\n }\r\n /**\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n */\r\n getSize() {\r\n return { width: this.width, height: this.height };\r\n }\r\n /**\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n */\r\n rename(pName) {\r\n if (pName || pName === '') {\r\n if (typeof(pName) === 'string') {\r\n this.name = pName;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pName!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n */\r\n getName() {\r\n return this.name;\r\n }\r\n /**\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n */\r\n setAllFrameDelays(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.setDelay(pDelay);\r\n this.frames.forEach((pFrame) => {\r\n pFrame.setDelay(pDelay);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pDelay!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n */\r\n addState(pIconData) {\r\n if (pIconData instanceof Object) {\r\n const state = new Icon(pIconData, this.vyi);\r\n state.parent = this;\r\n this.states.push(state);\r\n return state;\r\n }\r\n }\r\n /**\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeState(pState, pName) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to state.\r\n if (this.states.includes(pState)) {\r\n index = this.states.indexOf(pState);\r\n // Remove via reference to name\r\n } else if (typeof(pName) === 'string') {\r\n const state = this.getState(pName);\r\n if (state) {\r\n index = this.states.indexOf(state);\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove state!');\r\n return this;\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the state\r\n this.states.splice(index, 1);\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n */\r\n addFrame(pFrameData) {\r\n if (pFrameData) {\r\n if (pFrameData instanceof Object) {\r\n const frame = new Frame(pFrameData, this);\r\n // Add the frame to the frames array.\r\n this.frames.push(frame);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n return frame;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid frame data passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('No frame data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeFrame(pFrame, pIndex) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to frame.\r\n if (this.frames.includes(pFrame)) {\r\n index = this.frames.indexOf(pFrame);\r\n // Remove via index passed.\r\n } else if (pIndex || pIndex === 0) {\r\n if (typeof(pIndex) === 'number') {\r\n const frame = this.getFrame(pIndex);\r\n if (frame) {\r\n index = pIndex;\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid pIndex type!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove frame!');\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the frame\r\n this.frames.splice(index, 1);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n }\r\n return this;\r\n }\r\n /**\r\n * Index the frames properly.\r\n * @private\r\n */\r\n indexFrames() {\r\n // Reorder the frames after removing.\r\n this.frames.forEach((pFrame, pIndex) => {\r\n pFrame.index = pIndex;\r\n });\r\n }\r\n /**\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n */\r\n reorderFrame(pCurrentIndex, pIndex) {\r\n if (typeof(pCurrentIndex) === 'number' && typeof(pIndex) === 'number') {\r\n let frameAtIndex;\r\n let currentFrame;\r\n // We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves\r\n // as the frame 0.\r\n if (pCurrentIndex === -1) {\r\n currentFrame = this;\r\n // Otherwise if the index passed can be found in the frames array, then we use that frame.\r\n } else if (this.frames[pCurrentIndex]) {\r\n currentFrame = this.frames[pCurrentIndex];\r\n }\r\n\r\n // We get the frame at the specified index.\r\n if (this.frames[pIndex]) {\r\n frameAtIndex = this.frames[pIndex];\r\n }\r\n\r\n // If both frames can be found, we can swap their data.\r\n if (currentFrame && frameAtIndex) {\r\n // Store frame data\r\n const currentFrameDataURL = currentFrame.getDataURL();\r\n const currentFrameDelay = currentFrame.getDelay();\r\n\r\n const frameAtIndexDataURL = frameAtIndex.getDataURL();\r\n const frameAtIndexDelay = frameAtIndex.getDelay();\r\n\r\n // Swap data from frame\r\n currentFrame.setDataURL(frameAtIndexDataURL);\r\n currentFrame.setDelay(frameAtIndexDelay);\r\n // Swap data to frame\r\n frameAtIndex.setDataURL(currentFrameDataURL);\r\n frameAtIndex.setDelay(currentFrameDelay);\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('There was no frame found at pCurrentIndex, or there was no frame found at pIndex!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n */\r\n getFrame(pIndex) {\r\n if (typeof(pIndex) === 'number') {\r\n return this.frames[pIndex];\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n */\r\n getFrames() {\r\n return [ ...this.frames ];\r\n }\r\n /**\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n */\r\n getFramesData() {\r\n const frameDataArray = [];\r\n this.frames.forEach((pFrame) => {\r\n frameDataArray.push(pFrame.export());\r\n });\r\n return frameDataArray;\r\n }\r\n /**\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n */\r\n getState(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.states.length - 1; i >= 0; i--) {\r\n const icon = this.states[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n */\r\n getStates() {\r\n return [ ...this.states ];\r\n }\r\n /**\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n */\r\n getStatesData() {\r\n const stateDataArray = [];\r\n // Loop state array to export relevant information.\r\n this.states.forEach((pState) => {\r\n stateDataArray.push(pState.exportAsState());\r\n });\r\n return stateDataArray; \r\n }\r\n /**\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n */\r\n exportAsState() {\r\n const stateData = [];\r\n // state name\r\n stateData[0] = this.getName();\r\n // state dataURL\r\n stateData[1] = this.getDataURL();\r\n // state frame delay\r\n stateData[2] = this.getDelay();\r\n // state frame array\r\n stateData[3] = [];\r\n\r\n // Loop frame array to export relevant information.\r\n this.frames.forEach((pFrame) => {\r\n stateData[3].push(pFrame.export());\r\n });\r\n return stateData;\r\n }\r\n /**\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n */\r\n export() {\r\n const iconData = [];\r\n // icon name\r\n iconData[0] = this.getName();\r\n // Get the size of this icon.\r\n const size = this.getSize();\r\n // icon width\r\n iconData[1] = size.width;\r\n // icon height\r\n iconData[2] = size.height;\r\n // frame delay\r\n iconData[3] = this.getDelay();\r\n // icon DataURL\r\n iconData[4] = this.getDataURL();\r\n // frame array\r\n iconData[5] = this.getFramesData();\r\n\r\n // this is actually an optional data entry into the vyi, only used if states actually exist on this icon.\r\n // this will save data\r\n if (this.states.length) {\r\n // states array\r\n iconData[6] = this.getStatesData();\r\n }\r\n return iconData;\r\n }\r\n}", + "content": "import { VYI } from './vyi.mjs';\r\nimport { Frame } from './frame.mjs';\r\n\r\nexport class Icon {\r\n /**\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n states = [];\r\n /**\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n frames = [];\r\n /**\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n width = 32;\r\n /**\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n height = 32;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n */\r\n name = '';\r\n /**\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n /**\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n */\r\n id;\r\n /**\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n */\r\n static generateID(pVYI) {\r\n const genID = () => {\r\n return Math.floor(Math.random() * 0xFFFFFFFF).toString(16).padStart(8, '0');\r\n }\r\n // Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex\r\n let id = genID();\r\n while (pVYI.reservedIDs.includes(id)) {\r\n id = genID();\r\n }\r\n pVYI.reservedIDs.push(id);\r\n return id;\r\n }\r\n /**\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n */\r\n constructor(pIconData, pVYI) {\r\n this.vyi = pVYI;\r\n this.assignID(pVYI);\r\n this.parse(pIconData);\r\n }\r\n /**\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n */\r\n assignID(pVYI) {\r\n this.id = Icon.generateID(pVYI);\r\n }\r\n /**\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n */\r\n getID() {\r\n return this.id;\r\n }\r\n /**\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n */\r\n parse(pIconData) {\r\n // Loop through pIconData and create this icon\r\n const iconName = pIconData[0];\r\n const iconWidth = pIconData[1];\r\n const iconHeight = pIconData[2];\r\n const iconDelay = pIconData[3];\r\n const iconDataURL = pIconData[4];\r\n const frameArray = pIconData[5];\r\n const stateArray = pIconData[6];\r\n\r\n // Set name\r\n this.rename(iconName);\r\n // Set size\r\n this.setSize(iconWidth, iconHeight);\r\n // Set icon delay\r\n this.setDelay(iconDelay);\r\n // Set dataURL\r\n this.setDataURL(iconDataURL);\r\n // Check if the frame data is an array\r\n if (Array.isArray(frameArray)) {\r\n // If the frame array has data then we need to store it.\r\n if (frameArray.length) {\r\n frameArray.forEach((pFrame) => {\r\n // pFrame is an array holding the datalURL and frameDelay of the frame\r\n this.addFrame(pFrame);\r\n });\r\n }\r\n }\r\n // Check if the states data is an array\r\n if (Array.isArray(stateArray)) {\r\n // If the state array has data then we need to store it.\r\n if (stateArray.length) {\r\n stateArray.forEach((pState) => {\r\n // Here we create a icon with aggregated data because the state data is not enough to make it an icon.\r\n // We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.\r\n const aggregatedIconData = [];\r\n // iconName\r\n aggregatedIconData[0] = pState[0];\r\n // iconWidth\r\n aggregatedIconData[1] = iconWidth;\r\n // iconHeight\r\n aggregatedIconData[2] = iconHeight;\r\n // frame delay\r\n aggregatedIconData[3] = pState[2];\r\n // iconDataURL\r\n aggregatedIconData[4] = pState[1];\r\n // frame array\r\n aggregatedIconData[5] = pState[3];\r\n this.addState(aggregatedIconData);\r\n });\r\n }\r\n }\r\n }\r\n /**\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n */\r\n setSize(pWidth, pHeight) {\r\n if (typeof(pWidth) === 'number') {\r\n this.width = pWidth;\r\n }\r\n if (typeof(pHeight) === 'number') {\r\n this.height = pHeight;\r\n }\r\n }\r\n /**\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n */\r\n getSize() {\r\n return { width: this.width, height: this.height };\r\n }\r\n /**\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n */\r\n rename(pName) {\r\n if (pName || pName === '') {\r\n if (typeof(pName) === 'string') {\r\n this.name = pName;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pName!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n */\r\n getName() {\r\n return this.name;\r\n }\r\n /**\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n */\r\n setAllFrameDelays(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.setDelay(pDelay);\r\n this.frames.forEach((pFrame) => {\r\n pFrame.setDelay(pDelay);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pDelay!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n */\r\n addState(pIconData) {\r\n if (pIconData instanceof Object) {\r\n const state = new Icon(pIconData, this.vyi);\r\n state.parent = this;\r\n this.states.push(state);\r\n return state;\r\n }\r\n }\r\n /**\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeState(pState, pName) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to state.\r\n if (this.states.includes(pState)) {\r\n index = this.states.indexOf(pState);\r\n // Remove via reference to name\r\n } else if (typeof(pName) === 'string') {\r\n const state = this.getState(pName);\r\n if (state) {\r\n index = this.states.indexOf(state);\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove state!');\r\n return this;\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the state\r\n this.states.splice(index, 1);\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n */\r\n addFrame(pFrameData) {\r\n if (pFrameData) {\r\n if (Array.isArray(pFrameData)) {\r\n const frame = new Frame(pFrameData, this);\r\n // Add the frame to the frames array.\r\n this.frames.push(frame);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n return frame;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid frame data passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('No frame data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeFrame(pFrame, pIndex) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to frame.\r\n if (this.frames.includes(pFrame)) {\r\n index = this.frames.indexOf(pFrame);\r\n // Remove via index passed.\r\n } else if (pIndex || pIndex === 0) {\r\n if (typeof(pIndex) === 'number') {\r\n const frame = this.getFrame(pIndex);\r\n if (frame) {\r\n index = pIndex;\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid pIndex type!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove frame!');\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the frame\r\n this.frames.splice(index, 1);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n }\r\n return this;\r\n }\r\n /**\r\n * Index the frames properly.\r\n * @private\r\n */\r\n indexFrames() {\r\n // Reorder the frames after removing.\r\n this.frames.forEach((pFrame, pIndex) => {\r\n pFrame.index = pIndex;\r\n });\r\n }\r\n /**\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n */\r\n reorderFrame(pCurrentIndex, pIndex) {\r\n if (typeof(pCurrentIndex) === 'number' && typeof(pIndex) === 'number') {\r\n let frameAtIndex;\r\n let currentFrame;\r\n // We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves\r\n // as the frame 0.\r\n if (pCurrentIndex === -1) {\r\n currentFrame = this;\r\n // Otherwise if the index passed can be found in the frames array, then we use that frame.\r\n } else if (this.frames[pCurrentIndex]) {\r\n currentFrame = this.frames[pCurrentIndex];\r\n }\r\n\r\n // We get the frame at the specified index.\r\n if (this.frames[pIndex]) {\r\n frameAtIndex = this.frames[pIndex];\r\n }\r\n\r\n // If both frames can be found, we can swap their data.\r\n if (currentFrame && frameAtIndex) {\r\n // Store frame data\r\n const currentFrameDataURL = currentFrame.getDataURL();\r\n const currentFrameDelay = currentFrame.getDelay();\r\n\r\n const frameAtIndexDataURL = frameAtIndex.getDataURL();\r\n const frameAtIndexDelay = frameAtIndex.getDelay();\r\n\r\n // Swap data from frame\r\n currentFrame.setDataURL(frameAtIndexDataURL);\r\n currentFrame.setDelay(frameAtIndexDelay);\r\n // Swap data to frame\r\n frameAtIndex.setDataURL(currentFrameDataURL);\r\n frameAtIndex.setDelay(currentFrameDelay);\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('There was no frame found at pCurrentIndex, or there was no frame found at pIndex!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n */\r\n getFrame(pIndex) {\r\n if (typeof(pIndex) === 'number') {\r\n return this.frames[pIndex];\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n */\r\n getFrames() {\r\n return [ ...this.frames ];\r\n }\r\n /**\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n */\r\n getFramesData() {\r\n const frameDataArray = [];\r\n this.frames.forEach((pFrame) => {\r\n frameDataArray.push(pFrame.export());\r\n });\r\n return frameDataArray;\r\n }\r\n /**\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n */\r\n getState(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.states.length - 1; i >= 0; i--) {\r\n const icon = this.states[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n */\r\n getStates() {\r\n return [ ...this.states ];\r\n }\r\n /**\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n */\r\n getStatesData() {\r\n const stateDataArray = [];\r\n // Loop state array to export relevant information.\r\n this.states.forEach((pState) => {\r\n stateDataArray.push(pState.exportAsState());\r\n });\r\n return stateDataArray; \r\n }\r\n /**\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n */\r\n exportAsState() {\r\n const stateData = [];\r\n // state name\r\n stateData[0] = this.getName();\r\n // state dataURL\r\n stateData[1] = this.getDataURL();\r\n // state frame delay\r\n stateData[2] = this.getDelay();\r\n // state frame array\r\n stateData[3] = [];\r\n\r\n // Loop frame array to export relevant information.\r\n this.frames.forEach((pFrame) => {\r\n stateData[3].push(pFrame.export());\r\n });\r\n return stateData;\r\n }\r\n /**\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n */\r\n export() {\r\n const iconData = [];\r\n // icon name\r\n iconData[0] = this.getName();\r\n // Get the size of this icon.\r\n const size = this.getSize();\r\n // icon width\r\n iconData[1] = size.width;\r\n // icon height\r\n iconData[2] = size.height;\r\n // frame delay\r\n iconData[3] = this.getDelay();\r\n // icon DataURL\r\n iconData[4] = this.getDataURL();\r\n // frame array\r\n iconData[5] = this.getFramesData();\r\n\r\n // this is actually an optional data entry into the vyi, only used if states actually exist on this icon.\r\n // this will save data\r\n if (this.states.length) {\r\n // states array\r\n iconData[6] = this.getStatesData();\r\n }\r\n return iconData;\r\n }\r\n}", "static": true, "longname": "C:/Users/jared/Documents/Github/vyi/src/icon.mjs", "access": "public", @@ -1093,7 +1093,7 @@ "static": false, "longname": "src/icon.mjs~Icon#parent", "access": "private", - "description": "The icon that owns this frame. ", + "description": "The icon that owns this icon. This means this icon is state. ", "lineNumber": 52, "type": { "nullable": null, @@ -1125,6 +1125,64 @@ }, { "__docId__": 78, + "kind": "member", + "name": "id", + "memberof": "src/icon.mjs~Icon", + "static": false, + "longname": "src/icon.mjs~Icon#id", + "access": "private", + "description": "A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.", + "lineNumber": 66, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 79, + "kind": "method", + "name": "generateID", + "memberof": "src/icon.mjs~Icon", + "generator": false, + "async": false, + "static": true, + "longname": "src/icon.mjs~Icon.generateID", + "access": "private", + "description": "Generates a UUID (Universally Unique Identifier) version 4.", + "lineNumber": 74, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{string} The generated UUID." + } + ], + "params": [ + { + "nullable": null, + "types": [ + "VYI" + ], + "spread": false, + "optional": false, + "name": "pVYI", + "description": "The vyi that will reserve this ID." + } + ], + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "The generated UUID." + } + }, + { + "__docId__": 80, "kind": "constructor", "name": "constructor", "memberof": "src/icon.mjs~Icon", @@ -1134,7 +1192,7 @@ "longname": "src/icon.mjs~Icon#constructor", "access": "private", "description": "Creates this icon instance.", - "lineNumber": 66, + "lineNumber": 92, "params": [ { "nullable": null, @@ -1159,7 +1217,61 @@ ] }, { - "__docId__": 80, + "__docId__": 82, + "kind": "method", + "name": "assignID", + "memberof": "src/icon.mjs~Icon", + "generator": false, + "async": false, + "static": false, + "longname": "src/icon.mjs~Icon#assignID", + "access": "private", + "description": "Assigns an ID to this icon.", + "lineNumber": 103, + "params": [ + { + "nullable": null, + "types": [ + "VYI" + ], + "spread": false, + "optional": false, + "name": "pVYI", + "description": "The vyi that holds this ID." + } + ], + "return": null + }, + { + "__docId__": 84, + "kind": "method", + "name": "getID", + "memberof": "src/icon.mjs~Icon", + "generator": false, + "async": false, + "static": false, + "longname": "src/icon.mjs~Icon#getID", + "access": "public", + "description": "Gets the id of this icon.", + "lineNumber": 111, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{string} The id of this icon." + } + ], + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "The id of this icon." + }, + "params": [] + }, + { + "__docId__": 85, "kind": "method", "name": "parse", "memberof": "src/icon.mjs~Icon", @@ -1169,7 +1281,7 @@ "longname": "src/icon.mjs~Icon#parse", "access": "private", "description": "parses through the icon data and adds data to this icon.", - "lineNumber": 75, + "lineNumber": 119, "params": [ { "nullable": null, @@ -1185,7 +1297,7 @@ "return": null }, { - "__docId__": 81, + "__docId__": 86, "kind": "method", "name": "setSize", "memberof": "src/icon.mjs~Icon", @@ -1195,7 +1307,7 @@ "longname": "src/icon.mjs~Icon#setSize", "access": "public", "description": "Sets the size of this icon.", - "lineNumber": 134, + "lineNumber": 178, "unknown": [ { "tagName": "@returns", @@ -1234,7 +1346,7 @@ } }, { - "__docId__": 84, + "__docId__": 89, "kind": "method", "name": "getSize", "memberof": "src/icon.mjs~Icon", @@ -1244,7 +1356,7 @@ "longname": "src/icon.mjs~Icon#getSize", "access": "public", "description": "Gets the width and height of this icon and returns it.", - "lineNumber": 146, + "lineNumber": 190, "unknown": [ { "tagName": "@returns", @@ -1262,7 +1374,7 @@ "params": [] }, { - "__docId__": 85, + "__docId__": 90, "kind": "method", "name": "setDataURL", "memberof": "src/icon.mjs~Icon", @@ -1272,7 +1384,7 @@ "longname": "src/icon.mjs~Icon#setDataURL", "access": "public", "description": "Sets the data url of this icon.", - "lineNumber": 154, + "lineNumber": 198, "unknown": [ { "tagName": "@returns", @@ -1301,7 +1413,7 @@ } }, { - "__docId__": 87, + "__docId__": 92, "kind": "method", "name": "getDataURL", "memberof": "src/icon.mjs~Icon", @@ -1311,7 +1423,7 @@ "longname": "src/icon.mjs~Icon#getDataURL", "access": "public", "description": "Gets the data URL of this icon.", - "lineNumber": 168, + "lineNumber": 212, "unknown": [ { "tagName": "@returns", @@ -1329,7 +1441,7 @@ "params": [] }, { - "__docId__": 88, + "__docId__": 93, "kind": "method", "name": "setDelay", "memberof": "src/icon.mjs~Icon", @@ -1339,7 +1451,7 @@ "longname": "src/icon.mjs~Icon#setDelay", "access": "public", "description": "Sets the frame delay of this icon.", - "lineNumber": 176, + "lineNumber": 220, "unknown": [ { "tagName": "@returns", @@ -1368,7 +1480,7 @@ } }, { - "__docId__": 90, + "__docId__": 95, "kind": "method", "name": "getDelay", "memberof": "src/icon.mjs~Icon", @@ -1378,7 +1490,7 @@ "longname": "src/icon.mjs~Icon#getDelay", "access": "public", "description": "Gets the delay of this icon.", - "lineNumber": 190, + "lineNumber": 234, "unknown": [ { "tagName": "@returns", @@ -1396,7 +1508,7 @@ "params": [] }, { - "__docId__": 91, + "__docId__": 96, "kind": "method", "name": "rename", "memberof": "src/icon.mjs~Icon", @@ -1406,7 +1518,7 @@ "longname": "src/icon.mjs~Icon#rename", "access": "public", "description": "Changes the name of this icon.", - "lineNumber": 198, + "lineNumber": 242, "unknown": [ { "tagName": "@returns", @@ -1435,7 +1547,7 @@ } }, { - "__docId__": 93, + "__docId__": 98, "kind": "method", "name": "getName", "memberof": "src/icon.mjs~Icon", @@ -1445,7 +1557,7 @@ "longname": "src/icon.mjs~Icon#getName", "access": "public", "description": "Returns the name of this icon.", - "lineNumber": 212, + "lineNumber": 256, "unknown": [ { "tagName": "@returns", @@ -1463,7 +1575,7 @@ "params": [] }, { - "__docId__": 94, + "__docId__": 99, "kind": "method", "name": "setAllFrameDelays", "memberof": "src/icon.mjs~Icon", @@ -1473,7 +1585,7 @@ "longname": "src/icon.mjs~Icon#setAllFrameDelays", "access": "public", "description": "Sets all the frames belonging to this icon to the same delay.", - "lineNumber": 220, + "lineNumber": 264, "unknown": [ { "tagName": "@returns", @@ -1502,7 +1614,7 @@ } }, { - "__docId__": 95, + "__docId__": 100, "kind": "method", "name": "addState", "memberof": "src/icon.mjs~Icon", @@ -1512,7 +1624,7 @@ "longname": "src/icon.mjs~Icon#addState", "access": "public", "description": "Adds this icon data as a state. A state is also an icon.", - "lineNumber": 238, + "lineNumber": 282, "unknown": [ { "tagName": "@returns", @@ -1542,7 +1654,7 @@ } }, { - "__docId__": 96, + "__docId__": 101, "kind": "method", "name": "removeState", "memberof": "src/icon.mjs~Icon", @@ -1552,7 +1664,7 @@ "longname": "src/icon.mjs~Icon#removeState", "access": "public", "description": "Removes the state passed or the state with the name pName.", - "lineNumber": 252, + "lineNumber": 296, "unknown": [ { "tagName": "@returns", @@ -1591,7 +1703,7 @@ } }, { - "__docId__": 97, + "__docId__": 102, "kind": "method", "name": "addFrame", "memberof": "src/icon.mjs~Icon", @@ -1601,7 +1713,7 @@ "longname": "src/icon.mjs~Icon#addFrame", "access": "public", "description": "Adds a new frame to this icon.", - "lineNumber": 279, + "lineNumber": 323, "unknown": [ { "tagName": "@returns", @@ -1612,7 +1724,7 @@ { "nullable": null, "types": [ - "Object" + "Array" ], "spread": false, "optional": false, @@ -1631,7 +1743,7 @@ } }, { - "__docId__": 98, + "__docId__": 103, "kind": "method", "name": "removeFrame", "memberof": "src/icon.mjs~Icon", @@ -1641,7 +1753,7 @@ "longname": "src/icon.mjs~Icon#removeFrame", "access": "public", "description": "Removes the frame passed or the frame that exists at pIndex.", - "lineNumber": 301, + "lineNumber": 345, "unknown": [ { "tagName": "@returns", @@ -1680,7 +1792,7 @@ } }, { - "__docId__": 99, + "__docId__": 104, "kind": "method", "name": "indexFrames", "memberof": "src/icon.mjs~Icon", @@ -1690,12 +1802,12 @@ "longname": "src/icon.mjs~Icon#indexFrames", "access": "private", "description": "Index the frames properly.", - "lineNumber": 332, + "lineNumber": 376, "params": [], "return": null }, { - "__docId__": 100, + "__docId__": 105, "kind": "method", "name": "reorderFrame", "memberof": "src/icon.mjs~Icon", @@ -1705,7 +1817,7 @@ "longname": "src/icon.mjs~Icon#reorderFrame", "access": "public", "description": "Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\nThe \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\npCurrentIndex must be set to -1 to match this icon.", - "lineNumber": 346, + "lineNumber": 390, "unknown": [ { "tagName": "@returns", @@ -1744,7 +1856,7 @@ } }, { - "__docId__": 101, + "__docId__": 106, "kind": "method", "name": "getFrame", "memberof": "src/icon.mjs~Icon", @@ -1754,7 +1866,7 @@ "longname": "src/icon.mjs~Icon#getFrame", "access": "public", "description": "Gets the frame existing at pIndex.\nFrame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\nIf you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.", - "lineNumber": 394, + "lineNumber": 438, "unknown": [ { "tagName": "@returns", @@ -1784,7 +1896,7 @@ } }, { - "__docId__": 102, + "__docId__": 107, "kind": "method", "name": "getFrames", "memberof": "src/icon.mjs~Icon", @@ -1794,7 +1906,7 @@ "longname": "src/icon.mjs~Icon#getFrames", "access": "public", "description": "Returns an array of all the frames this icons has.", - "lineNumber": 405, + "lineNumber": 449, "unknown": [ { "tagName": "@returns", @@ -1812,7 +1924,7 @@ "params": [] }, { - "__docId__": 103, + "__docId__": 108, "kind": "method", "name": "getFramesData", "memberof": "src/icon.mjs~Icon", @@ -1822,7 +1934,7 @@ "longname": "src/icon.mjs~Icon#getFramesData", "access": "private", "description": "Gets all the frames belonging to this icon.", - "lineNumber": 413, + "lineNumber": 457, "unknown": [ { "tagName": "@returns", @@ -1840,7 +1952,7 @@ "params": [] }, { - "__docId__": 104, + "__docId__": 109, "kind": "method", "name": "getState", "memberof": "src/icon.mjs~Icon", @@ -1850,7 +1962,7 @@ "longname": "src/icon.mjs~Icon#getState", "access": "public", "description": "Gets the state that has the name pName.", - "lineNumber": 425, + "lineNumber": 469, "unknown": [ { "tagName": "@returns", @@ -1879,7 +1991,7 @@ } }, { - "__docId__": 105, + "__docId__": 110, "kind": "method", "name": "getStates", "memberof": "src/icon.mjs~Icon", @@ -1889,7 +2001,7 @@ "longname": "src/icon.mjs~Icon#getStates", "access": "public", "description": "Returns an array of all the states this icons has.", - "lineNumber": 442, + "lineNumber": 486, "unknown": [ { "tagName": "@returns", @@ -1907,7 +2019,7 @@ "params": [] }, { - "__docId__": 106, + "__docId__": 111, "kind": "method", "name": "getStatesData", "memberof": "src/icon.mjs~Icon", @@ -1917,7 +2029,7 @@ "longname": "src/icon.mjs~Icon#getStatesData", "access": "private", "description": "Gets all the states belonging to this icon.", - "lineNumber": 450, + "lineNumber": 494, "unknown": [ { "tagName": "@returns", @@ -1935,7 +2047,7 @@ "params": [] }, { - "__docId__": 107, + "__docId__": 112, "kind": "method", "name": "exportAsState", "memberof": "src/icon.mjs~Icon", @@ -1945,7 +2057,7 @@ "longname": "src/icon.mjs~Icon#exportAsState", "access": "private", "description": "Exports this icon as if it was a state in the proper vyi format.", - "lineNumber": 463, + "lineNumber": 507, "unknown": [ { "tagName": "@returns", @@ -1963,7 +2075,7 @@ "params": [] }, { - "__docId__": 108, + "__docId__": 113, "kind": "method", "name": "export", "memberof": "src/icon.mjs~Icon", @@ -1973,7 +2085,7 @@ "longname": "src/icon.mjs~Icon#export", "access": "private", "description": "Exports this icon's data into proper vyi format.", - "lineNumber": 485, + "lineNumber": 529, "unknown": [ { "tagName": "@returns", @@ -1991,10 +2103,10 @@ "params": [] }, { - "__docId__": 109, + "__docId__": 114, "kind": "file", "name": "src/vyi.mjs", - "content": "import { Logger } from './vendor/logger.mjs';\r\nimport { Icon } from './icon.mjs';\r\n\r\nexport class VYI {\r\n\t/**\r\n\t * The version of the module.\r\n\t */\r\n\tstatic version = \"VERSION_REPLACE_ME\";\r\n /** The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n */\r\n static logger = new Logger();\r\n /**\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n */\r\n icons = [];\r\n /**\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n */\r\n name = 'failed-to-find-vyi-name';\r\n /**\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n */\r\n formatVersion;\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n */\r\n constructor(pVYIData) {\r\n VYI.logger.registerType('VYI-Module', '#ff6600');\r\n if (pVYIData) {\r\n if (pVYIData instanceof Object) {\r\n this.parse(pVYIData);\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid vyiData type! Cannot parse!');\r\n }\r\n }\r\n }\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n */\r\n async parse(pVYIData) {\r\n try {\r\n if (pVYIData) {\r\n let vyi;\r\n // If the data is a path then we need to use fetch to acquire the data first\r\n if (typeof(pVYIData) === 'string') {\r\n const url = pVYIData;\r\n const response = await fetch(url);\r\n vyi = await response.json();\r\n } else if (pVYIData instanceof Object) {\r\n vyi = pVYIData;\r\n }\r\n // If there is data to parse\r\n // Then parse through it\r\n if (vyi) {\r\n /**\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n */\r\n const icons = vyi.i;\r\n /**\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n */\r\n this.formatVersion = vyi.v || 1;\r\n\r\n if (Array.isArray(icons)) {\r\n // Loop through the icons and add them to the vyi module instance.\r\n icons.forEach((pIconData) => {\r\n this.addIcon(pIconData);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.');\r\n }\r\n }\r\n }\r\n } catch (pError) {\r\n VYI.logger.prefix('VYI-module').error(`Error processing vyi data: ${pError}`);\r\n }\r\n }\r\n /**\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n */\r\n addIcon(pIconData) {\r\n if (pIconData) {\r\n if (pIconData instanceof Object) {\r\n const icon = new Icon(pIconData);\r\n // Add the icon to the icons array.\r\n this.icons.push(icon);\r\n return icon;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid icon data type passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('No icon data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n */\r\n removeIcon(pIcon, pName) {\r\n const icon = pIcon || this.getIcon(pName);\r\n if (icon) {\r\n if (this.icons.includes(icon)) {\r\n this.icons.splice(this.icons.indexOf(icon), 1);\r\n }\r\n }\r\n }\r\n /**\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n */\r\n getIconNames() {\r\n // Array to store the icon names.\r\n const iconNames = [];\r\n this.icons.forEach((pIcon) => {\r\n iconNames.push(pIcon.name);\r\n });\r\n return iconNames;\r\n }\r\n /**\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n */\r\n getIcon(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.icons.length - 1; i >= 0; i--) {\r\n const icon = this.icons[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n */\r\n getIcons() {\r\n return [...this.icons];\r\n }\r\n /**\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n */\r\n export() {\r\n const vyi = {};\r\n // Set version\r\n vyi.v = this.formatVersion;\r\n // Set the icons array\r\n vyi.i = [];\r\n this.icons.forEach((pIcon) => {\r\n // Push the icon data to the vyi export object.\r\n vyi.i.push(pIcon.export());\r\n });\r\n return vyi;\r\n }\r\n}", + "content": "import { Logger } from './vendor/logger.mjs';\r\nimport { Icon } from './icon.mjs';\r\n\r\nexport class VYI {\r\n\t/**\r\n\t * The version of the module.\r\n\t */\r\n\tstatic version = \"VERSION_REPLACE_ME\";\r\n /** The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n */\r\n static logger = new Logger();\r\n /**\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n */\r\n icons = [];\r\n /**\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n */\r\n name = 'failed-to-find-vyi-name';\r\n /**\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n */\r\n formatVersion;\r\n /**\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n */\r\n reservedIDs = [];\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n */\r\n constructor(pVYIData) {\r\n VYI.logger.registerType('VYI-Module', '#ff6600');\r\n if (pVYIData) {\r\n if (pVYIData instanceof Object) {\r\n this.parse(pVYIData);\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid vyiData type! Cannot parse!');\r\n }\r\n }\r\n }\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n */\r\n async parse(pVYIData) {\r\n try {\r\n if (pVYIData) {\r\n let vyi;\r\n // If the data is a path then we need to use fetch to acquire the data first\r\n if (typeof(pVYIData) === 'string') {\r\n const url = pVYIData;\r\n const response = await fetch(url);\r\n vyi = await response.json();\r\n } else if (pVYIData instanceof Object) {\r\n vyi = pVYIData;\r\n }\r\n // If there is data to parse\r\n // Then parse through it\r\n if (vyi) {\r\n /**\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n */\r\n const icons = vyi.i;\r\n /**\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n */\r\n this.formatVersion = vyi.v || 1;\r\n\r\n if (Array.isArray(icons)) {\r\n // Loop through the icons and add them to the vyi module instance.\r\n icons.forEach((pIconData) => {\r\n this.addIcon(pIconData, this);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.');\r\n }\r\n }\r\n }\r\n } catch (pError) {\r\n VYI.logger.prefix('VYI-module').error(`Error processing vyi data: ${pError}`);\r\n }\r\n }\r\n /**\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n */\r\n addIcon(pIconData) {\r\n if (pIconData) {\r\n if (pIconData instanceof Object) {\r\n const icon = new Icon(pIconData, this);\r\n // Add the icon to the icons array.\r\n this.icons.push(icon);\r\n return icon;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid icon data type passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('No icon data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n */\r\n removeIcon(pIcon, pName) {\r\n const icon = pIcon || this.getIcon(pName);\r\n if (icon) {\r\n if (this.icons.includes(icon)) {\r\n this.icons.splice(this.icons.indexOf(icon), 1);\r\n }\r\n }\r\n }\r\n /**\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n */\r\n getIconNames() {\r\n // Array to store the icon names.\r\n const iconNames = [];\r\n this.icons.forEach((pIcon) => {\r\n iconNames.push(pIcon.name);\r\n });\r\n return iconNames;\r\n }\r\n /**\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n */\r\n getIcon(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.icons.length - 1; i >= 0; i--) {\r\n const icon = this.icons[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n */\r\n getIconByID(pID) {\r\n if (!pID) return;\r\n for (const icon of this.icons) {\r\n for (const state of icon.states) {\r\n if (state.id === pID) return state;\r\n }\r\n if (icon.id === pID) return icon;\r\n }\r\n }\r\n /**\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n */\r\n getIcons() {\r\n return [...this.icons];\r\n }\r\n /**\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n */\r\n export() {\r\n const vyi = {};\r\n // Set version\r\n vyi.v = this.formatVersion;\r\n // Set the icons array\r\n vyi.i = [];\r\n this.icons.forEach((pIcon) => {\r\n // Push the icon data to the vyi export object.\r\n vyi.i.push(pIcon.export());\r\n });\r\n return vyi;\r\n }\r\n}", "static": true, "longname": "C:/Users/jared/Documents/Github/vyi/src/vyi.mjs", "access": "public", @@ -2002,7 +2114,7 @@ "lineNumber": 1 }, { - "__docId__": 110, + "__docId__": 115, "kind": "class", "name": "VYI", "memberof": "src/vyi.mjs", @@ -2018,7 +2130,7 @@ "interface": false }, { - "__docId__": 111, + "__docId__": 116, "kind": "member", "name": "version", "memberof": "src/vyi.mjs~VYI", @@ -2034,7 +2146,7 @@ } }, { - "__docId__": 112, + "__docId__": 117, "kind": "member", "name": "logger", "memberof": "src/vyi.mjs~VYI", @@ -2053,7 +2165,7 @@ } }, { - "__docId__": 113, + "__docId__": 118, "kind": "member", "name": "icons", "memberof": "src/vyi.mjs~VYI", @@ -2072,7 +2184,7 @@ } }, { - "__docId__": 114, + "__docId__": 119, "kind": "member", "name": "name", "memberof": "src/vyi.mjs~VYI", @@ -2091,7 +2203,7 @@ } }, { - "__docId__": 115, + "__docId__": 120, "kind": "member", "name": "formatVersion", "memberof": "src/vyi.mjs~VYI", @@ -2110,7 +2222,26 @@ } }, { - "__docId__": 116, + "__docId__": 121, + "kind": "member", + "name": "reservedIDs", + "memberof": "src/vyi.mjs~VYI", + "static": false, + "longname": "src/vyi.mjs~VYI#reservedIDs", + "access": "private", + "description": "An array of used IDs to prevent collusion between duplicate named icons.", + "lineNumber": 38, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 122, "kind": "constructor", "name": "constructor", "memberof": "src/vyi.mjs~VYI", @@ -2120,7 +2251,7 @@ "longname": "src/vyi.mjs~VYI#constructor", "access": "public", "description": "Initializes this module with the information from the VYI passed.", - "lineNumber": 36, + "lineNumber": 43, "params": [ { "nullable": null, @@ -2135,7 +2266,7 @@ ] }, { - "__docId__": 117, + "__docId__": 123, "kind": "method", "name": "parse", "memberof": "src/vyi.mjs~VYI", @@ -2145,7 +2276,7 @@ "longname": "src/vyi.mjs~VYI#parse", "access": "public", "description": "Initializes this module with the information from the VYI passed.\nCan call parse multiple times with different data to \"merge\" vyis.", - "lineNumber": 52, + "lineNumber": 59, "params": [ { "nullable": null, @@ -2162,7 +2293,7 @@ "return": null }, { - "__docId__": 119, + "__docId__": 125, "kind": "method", "name": "addIcon", "memberof": "src/vyi.mjs~VYI", @@ -2172,7 +2303,7 @@ "longname": "src/vyi.mjs~VYI#addIcon", "access": "public", "description": "Adds an icon to this VYI.", - "lineNumber": 97, + "lineNumber": 104, "unknown": [ { "tagName": "@returns", @@ -2202,7 +2333,7 @@ } }, { - "__docId__": 120, + "__docId__": 126, "kind": "method", "name": "removeIcon", "memberof": "src/vyi.mjs~VYI", @@ -2212,7 +2343,7 @@ "longname": "src/vyi.mjs~VYI#removeIcon", "access": "public", "description": "Removes the icon passed or the icon with the name pName.", - "lineNumber": 116, + "lineNumber": 123, "params": [ { "nullable": null, @@ -2238,7 +2369,7 @@ "return": null }, { - "__docId__": 121, + "__docId__": 127, "kind": "method", "name": "getIconNames", "memberof": "src/vyi.mjs~VYI", @@ -2248,7 +2379,7 @@ "longname": "src/vyi.mjs~VYI#getIconNames", "access": "public", "description": "Returns all the icon names in this vyi.", - "lineNumber": 128, + "lineNumber": 135, "unknown": [ { "tagName": "@returns", @@ -2266,7 +2397,7 @@ "params": [] }, { - "__docId__": 122, + "__docId__": 128, "kind": "method", "name": "getIcon", "memberof": "src/vyi.mjs~VYI", @@ -2276,7 +2407,7 @@ "longname": "src/vyi.mjs~VYI#getIcon", "access": "public", "description": "Gets the icon that has the name pName.", - "lineNumber": 141, + "lineNumber": 148, "unknown": [ { "tagName": "@returns", @@ -2306,7 +2437,46 @@ } }, { - "__docId__": 123, + "__docId__": 129, + "kind": "method", + "name": "getIconByID", + "memberof": "src/vyi.mjs~VYI", + "generator": false, + "async": false, + "static": false, + "longname": "src/vyi.mjs~VYI#getIconByID", + "access": "private", + "description": "Gets an icon by the id provided.", + "lineNumber": 168, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Icon} The icon that has the id that was passed." + } + ], + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "pID", + "description": "The id of the icon." + } + ], + "return": { + "nullable": null, + "types": [ + "Icon" + ], + "spread": false, + "description": "The icon that has the id that was passed." + } + }, + { + "__docId__": 130, "kind": "method", "name": "getIcons", "memberof": "src/vyi.mjs~VYI", @@ -2316,7 +2486,7 @@ "longname": "src/vyi.mjs~VYI#getIcons", "access": "public", "description": "Gets all the icons in this vyi.", - "lineNumber": 158, + "lineNumber": 181, "unknown": [ { "tagName": "@returns", @@ -2334,7 +2504,7 @@ "params": [] }, { - "__docId__": 124, + "__docId__": 131, "kind": "method", "name": "export", "memberof": "src/vyi.mjs~VYI", @@ -2344,7 +2514,7 @@ "longname": "src/vyi.mjs~VYI#export", "access": "public", "description": "Exports this VYI into VYI format.", - "lineNumber": 165, + "lineNumber": 188, "unknown": [ { "tagName": "@returns", @@ -2371,7 +2541,7 @@ }, { "kind": "packageJSON", - "content": "{\r\n \"name\": \"vyi\",\r\n \"version\": \"1.2.1\",\r\n \"description\": \"A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.\",\r\n \"main\": \"src/vyi.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build:rollup\": \"npx rollup -c\",\r\n \"build:docs\": \"esdoc -c esdoc.json\",\r\n \"build:dist\": \"npm run build:rollup && npm run build:docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"MIT\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/vyi\"\r\n },\r\n \"devDependencies\": {\r\n \"@rollup/plugin-babel\": \"^6.0.4\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"rollup\": \"^4.14.1\",\r\n \"rollup-plugin-banner2\": \"^1.2.3\",\r\n \"rollup-plugin-cleandir\": \"^2.0.0\",\r\n \"rollup-plugin-replace\": \"^2.2.0\"\r\n }\r\n}\r\n", + "content": "{\r\n \"name\": \"vyi\",\r\n \"version\": \"1.3.0\",\r\n \"description\": \"A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.\",\r\n \"main\": \"src/vyi.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build:rollup\": \"npx rollup -c\",\r\n \"build:docs\": \"esdoc -c esdoc.json\",\r\n \"build:dist\": \"npm run build:rollup && npm run build:docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"MIT\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/vyi\"\r\n },\r\n \"devDependencies\": {\r\n \"@rollup/plugin-babel\": \"^6.0.4\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"rollup\": \"^4.14.1\",\r\n \"rollup-plugin-banner2\": \"^1.2.3\",\r\n \"rollup-plugin-cleandir\": \"^2.0.0\",\r\n \"rollup-plugin-replace\": \"^2.2.0\"\r\n }\r\n}\r\n", "longname": "C:\\Users\\jared\\Documents\\Github\\vyi\\package.json", "name": "package.json", "static": true, diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 89f3170..c8b9016 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -401,6 +401,12 @@ window.esdocSearchIndex = [ "src/icon.mjs~Icon#addState", "method" ], + [ + "src/icon.mjs~icon#assignid", + "class/src/icon.mjs~Icon.html#instance-method-assignID", + "src/icon.mjs~Icon#assignID", + "method" + ], [ "src/icon.mjs~icon#constructor", "class/src/icon.mjs~Icon.html#instance-constructor-constructor", @@ -467,6 +473,12 @@ window.esdocSearchIndex = [ "src/icon.mjs~Icon#getFramesData", "method" ], + [ + "src/icon.mjs~icon#getid", + "class/src/icon.mjs~Icon.html#instance-method-getID", + "src/icon.mjs~Icon#getID", + "method" + ], [ "src/icon.mjs~icon#getname", "class/src/icon.mjs~Icon.html#instance-method-getName", @@ -503,6 +515,12 @@ window.esdocSearchIndex = [ "src/icon.mjs~Icon#height", "member" ], + [ + "src/icon.mjs~icon#id", + "class/src/icon.mjs~Icon.html#instance-member-id", + "src/icon.mjs~Icon#id", + "member" + ], [ "src/icon.mjs~icon#indexframes", "class/src/icon.mjs~Icon.html#instance-method-indexFrames", @@ -593,6 +611,12 @@ window.esdocSearchIndex = [ "src/icon.mjs~Icon#width", "member" ], + [ + "src/icon.mjs~icon.generateid", + "class/src/icon.mjs~Icon.html#static-method-generateID", + "src/icon.mjs~Icon.generateID", + "method" + ], [ "src/vyi.mjs", "file/src/vyi.mjs.html", @@ -629,6 +653,12 @@ window.esdocSearchIndex = [ "src/vyi.mjs~VYI#getIcon", "method" ], + [ + "src/vyi.mjs~vyi#geticonbyid", + "class/src/vyi.mjs~VYI.html#instance-method-getIconByID", + "src/vyi.mjs~VYI#getIconByID", + "method" + ], [ "src/vyi.mjs~vyi#geticonnames", "class/src/vyi.mjs~VYI.html#instance-method-getIconNames", @@ -665,6 +695,12 @@ window.esdocSearchIndex = [ "src/vyi.mjs~VYI#removeIcon", "method" ], + [ + "src/vyi.mjs~vyi#reservedids", + "class/src/vyi.mjs~VYI.html#instance-member-reservedIDs", + "src/vyi.mjs~VYI#reservedIDs", + "member" + ], [ "src/vyi.mjs~vyi.logger", "class/src/vyi.mjs~VYI.html#static-member-logger", diff --git a/docs/source.html b/docs/source.html index 98dc726..50d589c 100644 --- a/docs/source.html +++ b/docs/source.html @@ -55,25 +55,25 @@ src/frame.mjs Frame - - 3624 byte + 3622 byte 126 - 2024-08-03 15:04:37 (UTC) + 2024-08-05 19:13:44 (UTC) src/icon.mjs Icon - - 17999 byte - 509 - 2024-08-03 15:04:46 (UTC) + 19269 byte + 553 + 2024-08-05 19:14:03 (UTC) src/vyi.mjs VYI - - 6134 byte - 176 - 2024-07-04 17:13:00 (UTC) + 6791 byte + 199 + 2024-08-05 19:06:51 (UTC) diff --git a/package.json b/package.json index 034c840..0c19a8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vyi", - "version": "1.2.1", + "version": "1.3.0", "description": "A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.", "main": "src/vyi.mjs", "scripts": { diff --git a/src/frame.mjs b/src/frame.mjs index 1b3aa80..59761d8 100644 --- a/src/frame.mjs +++ b/src/frame.mjs @@ -40,7 +40,7 @@ export class Frame { static defaultDelay = 100; /** * Create this frame class instance. - * @param {Object} pFrameData - The frame data that is used to build this frame. + * @param {Array} pFrameData - The frame data that is used to build this frame. * @param {Icon} pParentIcon - The icon that created this frame. * @private */ @@ -51,7 +51,7 @@ export class Frame { } /** * parses through the icon data and adds data to this frame. - * @param {Object} pFrameData - The frame data that is used to build this frame. + * @param {Array} pFrameData - The frame data that is used to build this frame. * @private */ parse(pFrameData) { diff --git a/src/icon.mjs b/src/icon.mjs index 74fbc91..ec6c9c9 100644 --- a/src/icon.mjs +++ b/src/icon.mjs @@ -45,7 +45,7 @@ export class Icon { */ name = ''; /** - * The icon that owns this frame. + * The icon that owns this icon. This means this icon is state. * @private * @type {Icon} */ @@ -57,6 +57,32 @@ export class Icon { * @type {VYI} */ vyi; + /** + * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name. + * + * @private + * @type {string} + */ + id; + /** + * Generates a UUID (Universally Unique Identifier) version 4. + * + * @private + * @param {VYI} pVYI - The vyi that will reserve this ID. + * @returns {string} The generated UUID. + */ + static generateID(pVYI) { + const genID = () => { + return Math.floor(Math.random() * 0xFFFFFFFF).toString(16).padStart(8, '0'); + } + // Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex + let id = genID(); + while (pVYI.reservedIDs.includes(id)) { + id = genID(); + } + pVYI.reservedIDs.push(id); + return id; + } /** * Creates this icon instance. * @param {Object} pIconData - The icon data that is used to build this icon. @@ -65,8 +91,26 @@ export class Icon { */ constructor(pIconData, pVYI) { this.vyi = pVYI; + this.assignID(pVYI); this.parse(pIconData); } + /** + * Assigns an ID to this icon. + * + * @param {VYI} pVYI - The vyi that holds this ID. + * @private + */ + assignID(pVYI) { + this.id = Icon.generateID(pVYI); + } + /** + * Gets the id of this icon. + * + * @returns {string} The id of this icon. + */ + getID() { + return this.id; + } /** * parses through the icon data and adds data to this icon. * @param {Object} pIconData - The icon data that is used to build this icon. @@ -273,12 +317,12 @@ export class Icon { } /** * Adds a new frame to this icon. - * @param {Object} pFrameData - The frame data to give this frame. + * @param {Array} pFrameData - The frame data to give this frame. * @returns {Frame|undefined} The frame that was added or undefined. */ addFrame(pFrameData) { if (pFrameData) { - if (pFrameData instanceof Object) { + if (Array.isArray(pFrameData)) { const frame = new Frame(pFrameData, this); // Add the frame to the frames array. this.frames.push(frame); diff --git a/src/vyi.mjs b/src/vyi.mjs index abe1a31..ccd213c 100644 --- a/src/vyi.mjs +++ b/src/vyi.mjs @@ -29,6 +29,13 @@ export class VYI { * @type {number} */ formatVersion; + /** + * An array of used IDs to prevent collusion between duplicate named icons. + * + * @private + * @type {Array} + */ + reservedIDs = []; /** * Initializes this module with the information from the VYI passed. * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger @@ -78,7 +85,7 @@ export class VYI { if (Array.isArray(icons)) { // Loop through the icons and add them to the vyi module instance. icons.forEach((pIconData) => { - this.addIcon(pIconData); + this.addIcon(pIconData, this); }); } else { VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.'); @@ -97,7 +104,7 @@ export class VYI { addIcon(pIconData) { if (pIconData) { if (pIconData instanceof Object) { - const icon = new Icon(pIconData); + const icon = new Icon(pIconData, this); // Add the icon to the icons array. this.icons.push(icon); return icon; @@ -151,6 +158,22 @@ export class VYI { VYI.logger.prefix('VYI-module').error('Invalid name type used!'); } } + /** + * Gets an icon by the id provided. + * + * @private + * @param {string} pID - The id of the icon. + * @returns {Icon} The icon that has the id that was passed. + */ + getIconByID(pID) { + if (!pID) return; + for (const icon of this.icons) { + for (const state of icon.states) { + if (state.id === pID) return state; + } + if (icon.id === pID) return icon; + } + } /** * Gets all the icons in this vyi. * @returns {Array}