diff --git a/docs/ast/source/lc/index.js.json b/docs/ast/source/lc/index.js.json index 0456350..c44b39f 100644 --- a/docs/ast/source/lc/index.js.json +++ b/docs/ast/source/lc/index.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 61, + "end": 106, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 61, + "end": 106, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 0 } }, @@ -31,28 +31,28 @@ { "type": "ExpressionStatement", "start": 0, - "end": 60, + "end": 105, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 1 } }, "expression": { "type": "AssignmentExpression", "start": 0, - "end": 60, + "end": 105, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 1 } }, @@ -110,14 +110,14 @@ "right": { "type": "ObjectExpression", "start": 17, - "end": 60, + "end": 105, "loc": { "start": { "line": 1, "column": 17 }, "end": { - "line": 3, + "line": 4, "column": 1 } }, @@ -213,6 +213,98 @@ } ] } + }, + { + "type": "ObjectProperty", + "start": 61, + "end": 102, + "loc": { + "start": { + "line": 3, + "column": 2 + }, + "end": { + "line": 3, + "column": 43 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 61, + "end": 68, + "loc": { + "start": { + "line": 3, + "column": 2 + }, + "end": { + "line": 3, + "column": 9 + } + }, + "extra": { + "rawValue": "night", + "raw": "'night'" + }, + "value": "night" + }, + "value": { + "type": "CallExpression", + "start": 70, + "end": 102, + "loc": { + "start": { + "line": 3, + "column": 11 + }, + "end": { + "line": 3, + "column": 43 + } + }, + "callee": { + "type": "Identifier", + "start": 70, + "end": 77, + "loc": { + "start": { + "line": 3, + "column": 11 + }, + "end": { + "line": 3, + "column": 18 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 78, + "end": 101, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 42 + } + }, + "extra": { + "rawValue": "./night/lord-of-night", + "raw": "'./night/lord-of-night'" + }, + "value": "./night/lord-of-night" + } + ] + } } ] } @@ -537,33 +629,164 @@ }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "night", + "start": 61, + "end": 68, + "loc": { + "start": { + "line": 3, + "column": 2 + }, + "end": { + "line": 3, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 9 + }, + "end": { + "line": 3, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 59, - "end": 60, + "value": "require", + "start": 70, + "end": 77, "loc": { "start": { "line": 3, - "column": 0 + "column": 11 }, "end": { "line": 3, - "column": 1 + "column": 18 } } }, { "type": { - "label": "eof", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": { + "label": "string", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./night/lord-of-night", + "start": 78, + "end": 101, + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 101, + "end": 102, + "loc": { + "start": { + "line": 3, + "column": 42 + }, + "end": { + "line": 3, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -573,8 +796,33 @@ "binop": null, "updateContext": null }, - "start": 61, - "end": 61, + "start": 102, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 44 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 104, + "end": 105, "loc": { "start": { "line": 4, @@ -582,6 +830,32 @@ }, "end": { "line": 4, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 106, + "end": 106, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, "column": 0 } } diff --git a/docs/ast/source/lc/long-count.js.json b/docs/ast/source/lc/long-count.js.json index 85ffc37..4112390 100644 --- a/docs/ast/source/lc/long-count.js.json +++ b/docs/ast/source/lc/long-count.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 6007, + "end": 6216, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 304, + "line": 316, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 6007, + "end": 6216, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 304, + "line": 316, "column": 0 } }, @@ -479,16 +479,160 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 172, - "end": 199, + "value": "* @ignore ", + "start": 171, + "end": 185, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 186, + "end": 232, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 46 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 192, + "end": 232, "loc": { "start": { "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 192, + "end": 197, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 11 + }, + "identifierName": "night" + }, + "name": "night", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 200, + "end": 232, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 200, + "end": 207, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 21 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 208, + "end": 231, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 45 + } + }, + "extra": { + "rawValue": "./night/lord-of-night", + "raw": "'./night/lord-of-night'" + }, + "value": "./night/lord-of-night" + } + ], + "trailingComments": null + }, + "leadingComments": null, + "trailingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 171, + "end": 185, + "loc": { + "start": { + "line": 7, "column": 0 }, "end": { + "line": 7, + "column": 14 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 234, + "end": 261, + "loc": { + "start": { "line": 10, + "column": 0 + }, + "end": { + "line": 12, "column": 3 } } @@ -497,29 +641,29 @@ }, { "type": "ClassDeclaration", - "start": 200, - "end": 5978, + "start": 262, + "end": 6187, "loc": { "start": { - "line": 11, + "line": 13, "column": 0 }, "end": { - "line": 301, + "line": 313, "column": 1 } }, "id": { "type": "Identifier", - "start": 206, - "end": 215, + "start": 268, + "end": 277, "loc": { "start": { - "line": 11, + "line": 13, "column": 6 }, "end": { - "line": 11, + "line": 13, "column": 15 }, "identifierName": "LongCount" @@ -530,30 +674,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 216, - "end": 5978, + "start": 278, + "end": 6187, "loc": { "start": { - "line": 11, + "line": 13, "column": 16 }, "end": { - "line": 301, + "line": 313, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 335, - "end": 700, + "start": 397, + "end": 762, "loc": { "start": { - "line": 15, + "line": 17, "column": 2 }, "end": { - "line": 33, + "line": 35, "column": 3 } }, @@ -561,15 +705,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 335, - "end": 346, + "start": 397, + "end": 408, "loc": { "start": { - "line": 15, + "line": 17, "column": 2 }, "end": { - "line": 15, + "line": 17, "column": 13 }, "identifierName": "constructor" @@ -585,29 +729,29 @@ "params": [ { "type": "RestElement", - "start": 348, - "end": 357, + "start": 410, + "end": 419, "loc": { "start": { - "line": 15, + "line": 17, "column": 15 }, "end": { - "line": 15, + "line": 17, "column": 24 } }, "argument": { "type": "Identifier", - "start": 351, - "end": 357, + "start": 413, + "end": 419, "loc": { "start": { - "line": 15, + "line": 17, "column": 18 }, "end": { - "line": 15, + "line": 17, "column": 24 }, "identifierName": "cycles" @@ -618,73 +762,73 @@ ], "body": { "type": "BlockStatement", - "start": 359, - "end": 700, + "start": 421, + "end": 762, "loc": { "start": { - "line": 15, + "line": 17, "column": 26 }, "end": { - "line": 33, + "line": 35, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 437, - "end": 456, + "start": 499, + "end": 518, "loc": { "start": { - "line": 20, + "line": 22, "column": 4 }, "end": { - "line": 20, + "line": 22, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 437, - "end": 456, + "start": 499, + "end": 518, "loc": { "start": { - "line": 20, + "line": 22, "column": 4 }, "end": { - "line": 20, + "line": 22, "column": 23 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 437, - "end": 447, + "start": 499, + "end": 509, "loc": { "start": { - "line": 20, + "line": 22, "column": 4 }, "end": { - "line": 20, + "line": 22, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 437, - "end": 441, + "start": 499, + "end": 503, "loc": { "start": { - "line": 20, + "line": 22, "column": 4 }, "end": { - "line": 20, + "line": 22, "column": 8 } }, @@ -692,15 +836,15 @@ }, "property": { "type": "Identifier", - "start": 442, - "end": 447, + "start": 504, + "end": 509, "loc": { "start": { - "line": 20, + "line": 22, "column": 9 }, "end": { - "line": 20, + "line": 22, "column": 14 }, "identifierName": "parts" @@ -712,15 +856,15 @@ }, "right": { "type": "Identifier", - "start": 450, - "end": 456, + "start": 512, + "end": 518, "loc": { "start": { - "line": 20, + "line": 22, "column": 17 }, "end": { - "line": 20, + "line": 22, "column": 23 }, "identifierName": "cycles" @@ -736,15 +880,15 @@ { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number|Wildcard[]}\n ", - "start": 365, - "end": 432, + "start": 427, + "end": 494, "loc": { "start": { - "line": 16, + "line": 18, "column": 4 }, "end": { - "line": 19, + "line": 21, "column": 7 } } @@ -754,15 +898,15 @@ { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 462, - "end": 531, + "start": 524, + "end": 593, "loc": { "start": { - "line": 22, + "line": 24, "column": 4 }, "end": { - "line": 25, + "line": 27, "column": 7 } } @@ -771,58 +915,58 @@ }, { "type": "ExpressionStatement", - "start": 536, - "end": 570, + "start": 598, + "end": 632, "loc": { "start": { - "line": 26, + "line": 28, "column": 4 }, "end": { - "line": 26, + "line": 28, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 536, - "end": 570, + "start": 598, + "end": 632, "loc": { "start": { - "line": 26, + "line": 28, "column": 4 }, "end": { - "line": 26, + "line": 28, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 536, - "end": 553, + "start": 598, + "end": 615, "loc": { "start": { - "line": 26, + "line": 28, "column": 4 }, "end": { - "line": 26, + "line": 28, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 536, - "end": 540, + "start": 598, + "end": 602, "loc": { "start": { - "line": 26, + "line": 28, "column": 4 }, "end": { - "line": 26, + "line": 28, "column": 8 } }, @@ -830,15 +974,15 @@ }, "property": { "type": "Identifier", - "start": 541, - "end": 553, + "start": 603, + "end": 615, "loc": { "start": { - "line": 26, + "line": 28, "column": 9 }, "end": { - "line": 26, + "line": 28, "column": 21 }, "identifierName": "date_pattern" @@ -850,15 +994,15 @@ }, "right": { "type": "RegExpLiteral", - "start": 556, - "end": 570, + "start": 618, + "end": 632, "loc": { "start": { - "line": 26, + "line": 28, "column": 24 }, "end": { - "line": 26, + "line": 28, "column": 38 } }, @@ -877,15 +1021,15 @@ { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 462, - "end": 531, + "start": 524, + "end": 593, "loc": { "start": { - "line": 22, + "line": 24, "column": 4 }, "end": { - "line": 25, + "line": 27, "column": 7 } } @@ -895,15 +1039,15 @@ { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 576, - "end": 665, + "start": 638, + "end": 727, "loc": { "start": { - "line": 28, + "line": 30, "column": 4 }, "end": { - "line": 31, + "line": 33, "column": 7 } } @@ -912,58 +1056,58 @@ }, { "type": "ExpressionStatement", - "start": 670, - "end": 696, + "start": 732, + "end": 758, "loc": { "start": { - "line": 32, + "line": 34, "column": 4 }, "end": { - "line": 32, + "line": 34, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 670, - "end": 696, + "start": 732, + "end": 758, "loc": { "start": { - "line": 32, + "line": 34, "column": 4 }, "end": { - "line": 32, + "line": 34, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 670, - "end": 678, + "start": 732, + "end": 740, "loc": { "start": { - "line": 32, + "line": 34, "column": 4 }, "end": { - "line": 32, + "line": 34, "column": 12 } }, "object": { "type": "ThisExpression", - "start": 670, - "end": 674, + "start": 732, + "end": 736, "loc": { "start": { - "line": 32, + "line": 34, "column": 4 }, "end": { - "line": 32, + "line": 34, "column": 8 } }, @@ -971,15 +1115,15 @@ }, "property": { "type": "Identifier", - "start": 675, - "end": 678, + "start": 737, + "end": 740, "loc": { "start": { - "line": 32, + "line": 34, "column": 9 }, "end": { - "line": 32, + "line": 34, "column": 12 }, "identifierName": "raw" @@ -991,58 +1135,58 @@ }, "right": { "type": "CallExpression", - "start": 681, - "end": 696, + "start": 743, + "end": 758, "loc": { "start": { - "line": 32, + "line": 34, "column": 15 }, "end": { - "line": 32, + "line": 34, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 681, - "end": 694, + "start": 743, + "end": 756, "loc": { "start": { - "line": 32, + "line": 34, "column": 15 }, "end": { - "line": 32, + "line": 34, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 681, - "end": 685, + "start": 743, + "end": 747, "loc": { "start": { - "line": 32, + "line": 34, "column": 15 }, "end": { - "line": 32, + "line": 34, "column": 19 } } }, "property": { "type": "Identifier", - "start": 686, - "end": 694, + "start": 748, + "end": 756, "loc": { "start": { - "line": 32, + "line": 34, "column": 20 }, "end": { - "line": 32, + "line": 34, "column": 28 }, "identifierName": "toString" @@ -1059,15 +1203,15 @@ { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 576, - "end": 665, + "start": 638, + "end": 727, "loc": { "start": { - "line": 28, + "line": 30, "column": 4 }, "end": { - "line": 31, + "line": 33, "column": 7 } } @@ -1082,15 +1226,15 @@ { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 220, - "end": 332, + "start": 282, + "end": 394, "loc": { "start": { - "line": 12, + "line": 14, "column": 2 }, "end": { - "line": 14, + "line": 16, "column": 5 } } @@ -1100,15 +1244,15 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 704, - "end": 789, + "start": 766, + "end": 851, "loc": { "start": { - "line": 35, + "line": 37, "column": 2 }, "end": { - "line": 38, + "line": 40, "column": 5 } } @@ -1117,15 +1261,15 @@ }, { "type": "ClassMethod", - "start": 792, - "end": 846, + "start": 854, + "end": 908, "loc": { "start": { - "line": 39, + "line": 41, "column": 2 }, "end": { - "line": 41, + "line": 43, "column": 3 } }, @@ -1133,15 +1277,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 792, - "end": 797, + "start": 854, + "end": 859, "loc": { "start": { - "line": 39, + "line": 41, "column": 2 }, "end": { - "line": 39, + "line": 41, "column": 7 }, "identifierName": "clone" @@ -1157,58 +1301,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 801, - "end": 846, + "start": 863, + "end": 908, "loc": { "start": { - "line": 39, + "line": 41, "column": 11 }, "end": { - "line": 41, + "line": 43, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 807, - "end": 842, + "start": 869, + "end": 904, "loc": { "start": { - "line": 40, + "line": 42, "column": 4 }, "end": { - "line": 40, + "line": 42, "column": 39 } }, "argument": { "type": "NewExpression", - "start": 814, - "end": 842, + "start": 876, + "end": 904, "loc": { "start": { - "line": 40, + "line": 42, "column": 11 }, "end": { - "line": 40, + "line": 42, "column": 39 } }, "callee": { "type": "Identifier", - "start": 818, - "end": 827, + "start": 880, + "end": 889, "loc": { "start": { - "line": 40, + "line": 42, "column": 15 }, "end": { - "line": 40, + "line": 42, "column": 24 }, "identifierName": "LongCount" @@ -1218,58 +1362,58 @@ "arguments": [ { "type": "SpreadElement", - "start": 828, - "end": 841, + "start": 890, + "end": 903, "loc": { "start": { - "line": 40, + "line": 42, "column": 25 }, "end": { - "line": 40, + "line": 42, "column": 38 } }, "argument": { "type": "MemberExpression", - "start": 831, - "end": 841, + "start": 893, + "end": 903, "loc": { "start": { - "line": 40, + "line": 42, "column": 28 }, "end": { - "line": 40, + "line": 42, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 831, - "end": 835, + "start": 893, + "end": 897, "loc": { "start": { - "line": 40, + "line": 42, "column": 28 }, "end": { - "line": 40, + "line": 42, "column": 32 } } }, "property": { "type": "Identifier", - "start": 836, - "end": 841, + "start": 898, + "end": 903, "loc": { "start": { - "line": 40, + "line": 42, "column": 33 }, "end": { - "line": 40, + "line": 42, "column": 38 }, "identifierName": "parts" @@ -1290,15 +1434,15 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 704, - "end": 789, + "start": 766, + "end": 851, "loc": { "start": { - "line": 35, + "line": 37, "column": 2 }, "end": { - "line": 38, + "line": 40, "column": 5 } } @@ -1308,15 +1452,15 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 850, - "end": 953, + "start": 912, + "end": 1015, "loc": { "start": { - "line": 43, + "line": 45, "column": 2 }, "end": { - "line": 47, + "line": 49, "column": 5 } } @@ -1325,15 +1469,15 @@ }, { "type": "ClassMethod", - "start": 956, - "end": 1088, + "start": 1018, + "end": 1150, "loc": { "start": { - "line": 48, + "line": 50, "column": 2 }, "end": { - "line": 54, + "line": 56, "column": 3 } }, @@ -1341,15 +1485,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 956, - "end": 974, + "start": 1018, + "end": 1036, "loc": { "start": { - "line": 48, + "line": 50, "column": 2 }, "end": { - "line": 48, + "line": 50, "column": 20 }, "identifierName": "_get_date_sections" @@ -1365,15 +1509,15 @@ "params": [ { "type": "Identifier", - "start": 976, - "end": 981, + "start": 1038, + "end": 1043, "loc": { "start": { - "line": 48, + "line": 50, "column": 22 }, "end": { - "line": 48, + "line": 50, "column": 27 }, "identifierName": "index" @@ -1383,59 +1527,59 @@ ], "body": { "type": "BlockStatement", - "start": 983, - "end": 1088, + "start": 1045, + "end": 1150, "loc": { "start": { - "line": 48, + "line": 50, "column": 29 }, "end": { - "line": 54, + "line": 56, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 989, - "end": 1017, + "start": 1051, + "end": 1079, "loc": { "start": { - "line": 49, + "line": 51, "column": 4 }, "end": { - "line": 49, + "line": 51, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 993, - "end": 1017, + "start": 1055, + "end": 1079, "loc": { "start": { - "line": 49, + "line": 51, "column": 8 }, "end": { - "line": 49, + "line": 51, "column": 32 } }, "id": { "type": "Identifier", - "start": 993, - "end": 997, + "start": 1055, + "end": 1059, "loc": { "start": { - "line": 49, + "line": 51, "column": 8 }, "end": { - "line": 49, + "line": 51, "column": 12 }, "identifierName": "part" @@ -1444,58 +1588,58 @@ }, "init": { "type": "MemberExpression", - "start": 1000, - "end": 1017, + "start": 1062, + "end": 1079, "loc": { "start": { - "line": 49, + "line": 51, "column": 15 }, "end": { - "line": 49, + "line": 51, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 1000, - "end": 1010, + "start": 1062, + "end": 1072, "loc": { "start": { - "line": 49, + "line": 51, "column": 15 }, "end": { - "line": 49, + "line": 51, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 1000, - "end": 1004, + "start": 1062, + "end": 1066, "loc": { "start": { - "line": 49, + "line": 51, "column": 15 }, "end": { - "line": 49, + "line": 51, "column": 19 } } }, "property": { "type": "Identifier", - "start": 1005, - "end": 1010, + "start": 1067, + "end": 1072, "loc": { "start": { - "line": 49, + "line": 51, "column": 20 }, "end": { - "line": 49, + "line": 51, "column": 25 }, "identifierName": "parts" @@ -1506,15 +1650,15 @@ }, "property": { "type": "Identifier", - "start": 1011, - "end": 1016, + "start": 1073, + "end": 1078, "loc": { "start": { - "line": 49, + "line": 51, "column": 26 }, "end": { - "line": 49, + "line": 51, "column": 31 }, "identifierName": "index" @@ -1529,43 +1673,43 @@ }, { "type": "IfStatement", - "start": 1022, - "end": 1068, + "start": 1084, + "end": 1130, "loc": { "start": { - "line": 50, + "line": 52, "column": 4 }, "end": { - "line": 52, + "line": 54, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1026, - "end": 1044, + "start": 1088, + "end": 1106, "loc": { "start": { - "line": 50, + "line": 52, "column": 8 }, "end": { - "line": 50, + "line": 52, "column": 26 } }, "left": { "type": "Identifier", - "start": 1026, - "end": 1030, + "start": 1088, + "end": 1092, "loc": { "start": { - "line": 50, + "line": 52, "column": 8 }, "end": { - "line": 50, + "line": 52, "column": 12 }, "identifierName": "part" @@ -1575,15 +1719,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1035, - "end": 1044, + "start": 1097, + "end": 1106, "loc": { "start": { - "line": 50, + "line": 52, "column": 17 }, "end": { - "line": 50, + "line": 52, "column": 26 }, "identifierName": "undefined" @@ -1593,44 +1737,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 1046, - "end": 1068, + "start": 1108, + "end": 1130, "loc": { "start": { - "line": 50, + "line": 52, "column": 28 }, "end": { - "line": 52, + "line": 54, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 1054, - "end": 1062, + "start": 1116, + "end": 1124, "loc": { "start": { - "line": 51, + "line": 53, "column": 6 }, "end": { - "line": 51, + "line": 53, "column": 14 } }, "argument": { "type": "NumericLiteral", - "start": 1061, - "end": 1062, + "start": 1123, + "end": 1124, "loc": { "start": { - "line": 51, + "line": 53, "column": 13 }, "end": { - "line": 51, + "line": 53, "column": 14 } }, @@ -1648,29 +1792,29 @@ }, { "type": "ReturnStatement", - "start": 1073, - "end": 1084, + "start": 1135, + "end": 1146, "loc": { "start": { - "line": 53, + "line": 55, "column": 4 }, "end": { - "line": 53, + "line": 55, "column": 15 } }, "argument": { "type": "Identifier", - "start": 1080, - "end": 1084, + "start": 1142, + "end": 1146, "loc": { "start": { - "line": 53, + "line": 55, "column": 11 }, "end": { - "line": 53, + "line": 55, "column": 15 }, "identifierName": "part" @@ -1686,15 +1830,15 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 850, - "end": 953, + "start": 912, + "end": 1015, "loc": { "start": { - "line": 43, + "line": 45, "column": 2 }, "end": { - "line": 47, + "line": 49, "column": 5 } } @@ -1704,15 +1848,15 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1092, - "end": 1239, + "start": 1154, + "end": 1301, "loc": { "start": { - "line": 56, + "line": 58, "column": 2 }, "end": { - "line": 62, + "line": 64, "column": 5 } } @@ -1721,15 +1865,15 @@ }, { "type": "ClassMethod", - "start": 1242, - "end": 1369, + "start": 1304, + "end": 1431, "loc": { "start": { - "line": 63, + "line": 65, "column": 2 }, "end": { - "line": 67, + "line": 69, "column": 3 } }, @@ -1737,15 +1881,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1242, - "end": 1260, + "start": 1304, + "end": 1322, "loc": { "start": { - "line": 63, + "line": 65, "column": 2 }, "end": { - "line": 63, + "line": 65, "column": 20 }, "identifierName": "_set_date_sections" @@ -1761,15 +1905,15 @@ "params": [ { "type": "Identifier", - "start": 1262, - "end": 1267, + "start": 1324, + "end": 1329, "loc": { "start": { - "line": 63, + "line": 65, "column": 22 }, "end": { - "line": 63, + "line": 65, "column": 27 }, "identifierName": "index" @@ -1778,15 +1922,15 @@ }, { "type": "Identifier", - "start": 1269, - "end": 1274, + "start": 1331, + "end": 1336, "loc": { "start": { - "line": 63, + "line": 65, "column": 29 }, "end": { - "line": 63, + "line": 65, "column": 34 }, "identifierName": "value" @@ -1796,102 +1940,102 @@ ], "body": { "type": "BlockStatement", - "start": 1276, - "end": 1369, + "start": 1338, + "end": 1431, "loc": { "start": { - "line": 63, + "line": 65, "column": 36 }, "end": { - "line": 67, + "line": 69, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1282, - "end": 1318, + "start": 1344, + "end": 1380, "loc": { "start": { - "line": 64, + "line": 66, "column": 4 }, "end": { - "line": 64, + "line": 66, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 1282, - "end": 1318, + "start": 1344, + "end": 1380, "loc": { "start": { - "line": 64, + "line": 66, "column": 4 }, "end": { - "line": 64, + "line": 66, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1282, - "end": 1299, + "start": 1344, + "end": 1361, "loc": { "start": { - "line": 64, + "line": 66, "column": 4 }, "end": { - "line": 64, + "line": 66, "column": 21 } }, "object": { "type": "MemberExpression", - "start": 1282, - "end": 1292, + "start": 1344, + "end": 1354, "loc": { "start": { - "line": 64, + "line": 66, "column": 4 }, "end": { - "line": 64, + "line": 66, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1282, - "end": 1286, + "start": 1344, + "end": 1348, "loc": { "start": { - "line": 64, + "line": 66, "column": 4 }, "end": { - "line": 64, + "line": 66, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1287, - "end": 1292, + "start": 1349, + "end": 1354, "loc": { "start": { - "line": 64, + "line": 66, "column": 9 }, "end": { - "line": 64, + "line": 66, "column": 14 }, "identifierName": "parts" @@ -1902,15 +2046,15 @@ }, "property": { "type": "Identifier", - "start": 1293, - "end": 1298, + "start": 1355, + "end": 1360, "loc": { "start": { - "line": 64, + "line": 66, "column": 15 }, "end": { - "line": 64, + "line": 66, "column": 20 }, "identifierName": "index" @@ -1921,43 +2065,43 @@ }, "right": { "type": "CallExpression", - "start": 1302, - "end": 1318, + "start": 1364, + "end": 1380, "loc": { "start": { - "line": 64, + "line": 66, "column": 24 }, "end": { - "line": 64, + "line": 66, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 1302, - "end": 1316, + "start": 1364, + "end": 1378, "loc": { "start": { - "line": 64, + "line": 66, "column": 24 }, "end": { - "line": 64, + "line": 66, "column": 38 } }, "object": { "type": "Identifier", - "start": 1302, - "end": 1307, + "start": 1364, + "end": 1369, "loc": { "start": { - "line": 64, + "line": 66, "column": 24 }, "end": { - "line": 64, + "line": 66, "column": 29 }, "identifierName": "value" @@ -1966,15 +2110,15 @@ }, "property": { "type": "Identifier", - "start": 1308, - "end": 1316, + "start": 1370, + "end": 1378, "loc": { "start": { - "line": 64, + "line": 66, "column": 30 }, "end": { - "line": 64, + "line": 66, "column": 38 }, "identifierName": "toString" @@ -1989,73 +2133,73 @@ }, { "type": "ExpressionStatement", - "start": 1323, - "end": 1349, + "start": 1385, + "end": 1411, "loc": { "start": { - "line": 65, + "line": 67, "column": 4 }, "end": { - "line": 65, + "line": 67, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 1323, - "end": 1349, + "start": 1385, + "end": 1411, "loc": { "start": { - "line": 65, + "line": 67, "column": 4 }, "end": { - "line": 65, + "line": 67, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1323, - "end": 1331, + "start": 1385, + "end": 1393, "loc": { "start": { - "line": 65, + "line": 67, "column": 4 }, "end": { - "line": 65, + "line": 67, "column": 12 } }, "object": { "type": "ThisExpression", - "start": 1323, - "end": 1327, + "start": 1385, + "end": 1389, "loc": { "start": { - "line": 65, + "line": 67, "column": 4 }, "end": { - "line": 65, + "line": 67, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1328, - "end": 1331, + "start": 1390, + "end": 1393, "loc": { "start": { - "line": 65, + "line": 67, "column": 9 }, "end": { - "line": 65, + "line": 67, "column": 12 }, "identifierName": "raw" @@ -2066,58 +2210,58 @@ }, "right": { "type": "CallExpression", - "start": 1334, - "end": 1349, + "start": 1396, + "end": 1411, "loc": { "start": { - "line": 65, + "line": 67, "column": 15 }, "end": { - "line": 65, + "line": 67, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 1334, - "end": 1347, + "start": 1396, + "end": 1409, "loc": { "start": { - "line": 65, + "line": 67, "column": 15 }, "end": { - "line": 65, + "line": 67, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 1334, - "end": 1338, + "start": 1396, + "end": 1400, "loc": { "start": { - "line": 65, + "line": 67, "column": 15 }, "end": { - "line": 65, + "line": 67, "column": 19 } } }, "property": { "type": "Identifier", - "start": 1339, - "end": 1347, + "start": 1401, + "end": 1409, "loc": { "start": { - "line": 65, + "line": 67, "column": 20 }, "end": { - "line": 65, + "line": 67, "column": 28 }, "identifierName": "toString" @@ -2132,29 +2276,29 @@ }, { "type": "ReturnStatement", - "start": 1354, - "end": 1365, + "start": 1416, + "end": 1427, "loc": { "start": { - "line": 66, + "line": 68, "column": 4 }, "end": { - "line": 66, + "line": 68, "column": 15 } }, "argument": { "type": "ThisExpression", - "start": 1361, - "end": 1365, + "start": 1423, + "end": 1427, "loc": { "start": { - "line": 66, + "line": 68, "column": 11 }, "end": { - "line": 66, + "line": 68, "column": 15 } } @@ -2168,15 +2312,15 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1092, - "end": 1239, + "start": 1154, + "end": 1301, "loc": { "start": { - "line": 56, + "line": 58, "column": 2 }, "end": { - "line": 62, + "line": 64, "column": 5 } } @@ -2186,15 +2330,15 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1373, - "end": 1459, + "start": 1435, + "end": 1521, "loc": { "start": { - "line": 69, + "line": 71, "column": 2 }, "end": { - "line": 72, + "line": 74, "column": 5 } } @@ -2203,15 +2347,15 @@ }, { "type": "ClassMethod", - "start": 1462, - "end": 1510, + "start": 1524, + "end": 1572, "loc": { "start": { - "line": 73, + "line": 75, "column": 2 }, "end": { - "line": 75, + "line": 77, "column": 3 } }, @@ -2219,15 +2363,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1466, - "end": 1472, + "start": 1528, + "end": 1534, "loc": { "start": { - "line": 73, + "line": 75, "column": 6 }, "end": { - "line": 73, + "line": 75, "column": 12 }, "identifierName": "length" @@ -2242,87 +2386,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1476, - "end": 1510, + "start": 1538, + "end": 1572, "loc": { "start": { - "line": 73, + "line": 75, "column": 16 }, "end": { - "line": 75, + "line": 77, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1482, - "end": 1506, + "start": 1544, + "end": 1568, "loc": { "start": { - "line": 74, + "line": 76, "column": 4 }, "end": { - "line": 74, + "line": 76, "column": 28 } }, "argument": { "type": "MemberExpression", - "start": 1489, - "end": 1506, + "start": 1551, + "end": 1568, "loc": { "start": { - "line": 74, + "line": 76, "column": 11 }, "end": { - "line": 74, + "line": 76, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 1489, - "end": 1499, + "start": 1551, + "end": 1561, "loc": { "start": { - "line": 74, + "line": 76, "column": 11 }, "end": { - "line": 74, + "line": 76, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1489, - "end": 1493, + "start": 1551, + "end": 1555, "loc": { "start": { - "line": 74, + "line": 76, "column": 11 }, "end": { - "line": 74, + "line": 76, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1494, - "end": 1499, + "start": 1556, + "end": 1561, "loc": { "start": { - "line": 74, + "line": 76, "column": 16 }, "end": { - "line": 74, + "line": 76, "column": 21 }, "identifierName": "parts" @@ -2333,15 +2477,15 @@ }, "property": { "type": "Identifier", - "start": 1500, - "end": 1506, + "start": 1562, + "end": 1568, "loc": { "start": { - "line": 74, + "line": 76, "column": 22 }, "end": { - "line": 74, + "line": 76, "column": 28 }, "identifierName": "length" @@ -2359,15 +2503,15 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1373, - "end": 1459, + "start": 1435, + "end": 1521, "loc": { "start": { - "line": 69, + "line": 71, "column": 2 }, "end": { - "line": 72, + "line": 74, "column": 5 } } @@ -2377,15 +2521,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1514, - "end": 1586, + "start": 1576, + "end": 1648, "loc": { "start": { - "line": 77, + "line": 79, "column": 2 }, "end": { - "line": 80, + "line": 82, "column": 5 } } @@ -2394,15 +2538,15 @@ }, { "type": "ClassMethod", - "start": 1589, - "end": 1655, + "start": 1651, + "end": 1717, "loc": { "start": { - "line": 81, + "line": 83, "column": 2 }, "end": { - "line": 83, + "line": 85, "column": 3 } }, @@ -2410,15 +2554,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1593, - "end": 1597, + "start": 1655, + "end": 1659, "loc": { "start": { - "line": 81, + "line": 83, "column": 6 }, "end": { - "line": 81, + "line": 83, "column": 10 }, "identifierName": "k_in" @@ -2433,15 +2577,15 @@ "params": [ { "type": "Identifier", - "start": 1599, - "end": 1607, + "start": 1661, + "end": 1669, "loc": { "start": { - "line": 81, + "line": 83, "column": 12 }, "end": { - "line": 81, + "line": 83, "column": 20 }, "identifierName": "new_k_in" @@ -2451,87 +2595,87 @@ ], "body": { "type": "BlockStatement", - "start": 1609, - "end": 1655, + "start": 1671, + "end": 1717, "loc": { "start": { - "line": 81, + "line": 83, "column": 22 }, "end": { - "line": 83, + "line": 85, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1615, - "end": 1651, + "start": 1677, + "end": 1713, "loc": { "start": { - "line": 82, + "line": 84, "column": 4 }, "end": { - "line": 82, + "line": 84, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 1615, - "end": 1651, + "start": 1677, + "end": 1713, "loc": { "start": { - "line": 82, + "line": 84, "column": 4 }, "end": { - "line": 82, + "line": 84, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 1615, - "end": 1638, + "start": 1677, + "end": 1700, "loc": { "start": { - "line": 82, + "line": 84, "column": 4 }, "end": { - "line": 82, + "line": 84, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 1615, - "end": 1619, + "start": 1677, + "end": 1681, "loc": { "start": { - "line": 82, + "line": 84, "column": 4 }, "end": { - "line": 82, + "line": 84, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1620, - "end": 1638, + "start": 1682, + "end": 1700, "loc": { "start": { - "line": 82, + "line": 84, "column": 9 }, "end": { - "line": 82, + "line": 84, "column": 27 }, "identifierName": "_set_date_sections" @@ -2543,15 +2687,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1639, - "end": 1640, + "start": 1701, + "end": 1702, "loc": { "start": { - "line": 82, + "line": 84, "column": 28 }, "end": { - "line": 82, + "line": 84, "column": 29 } }, @@ -2563,15 +2707,15 @@ }, { "type": "Identifier", - "start": 1642, - "end": 1650, + "start": 1704, + "end": 1712, "loc": { "start": { - "line": 82, + "line": 84, "column": 31 }, "end": { - "line": 82, + "line": 84, "column": 39 }, "identifierName": "new_k_in" @@ -2589,15 +2733,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1514, - "end": 1586, + "start": 1576, + "end": 1648, "loc": { "start": { - "line": 77, + "line": 79, "column": 2 }, "end": { - "line": 80, + "line": 82, "column": 5 } } @@ -2607,15 +2751,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1659, - "end": 1734, + "start": 1721, + "end": 1796, "loc": { "start": { - "line": 85, + "line": 87, "column": 2 }, "end": { - "line": 88, + "line": 90, "column": 5 } } @@ -2624,15 +2768,15 @@ }, { "type": "ClassMethod", - "start": 1737, - "end": 1792, + "start": 1799, + "end": 1854, "loc": { "start": { - "line": 89, + "line": 91, "column": 2 }, "end": { - "line": 91, + "line": 93, "column": 3 } }, @@ -2640,15 +2784,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1741, - "end": 1745, + "start": 1803, + "end": 1807, "loc": { "start": { - "line": 89, + "line": 91, "column": 6 }, "end": { - "line": 89, + "line": 91, "column": 10 }, "identifierName": "k_in" @@ -2663,87 +2807,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1749, - "end": 1792, + "start": 1811, + "end": 1854, "loc": { "start": { - "line": 89, + "line": 91, "column": 14 }, "end": { - "line": 91, + "line": 93, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1755, - "end": 1788, + "start": 1817, + "end": 1850, "loc": { "start": { - "line": 90, + "line": 92, "column": 4 }, "end": { - "line": 90, + "line": 92, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 1762, - "end": 1788, + "start": 1824, + "end": 1850, "loc": { "start": { - "line": 90, + "line": 92, "column": 11 }, "end": { - "line": 90, + "line": 92, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 1762, - "end": 1785, + "start": 1824, + "end": 1847, "loc": { "start": { - "line": 90, + "line": 92, "column": 11 }, "end": { - "line": 90, + "line": 92, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 1762, - "end": 1766, + "start": 1824, + "end": 1828, "loc": { "start": { - "line": 90, + "line": 92, "column": 11 }, "end": { - "line": 90, + "line": 92, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1767, - "end": 1785, + "start": 1829, + "end": 1847, "loc": { "start": { - "line": 90, + "line": 92, "column": 16 }, "end": { - "line": 90, + "line": 92, "column": 34 }, "identifierName": "_get_date_sections" @@ -2755,15 +2899,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1786, - "end": 1787, + "start": 1848, + "end": 1849, "loc": { "start": { - "line": 90, + "line": 92, "column": 35 }, "end": { - "line": 90, + "line": 92, "column": 36 } }, @@ -2784,15 +2928,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1659, - "end": 1734, + "start": 1721, + "end": 1796, "loc": { "start": { - "line": 85, + "line": 87, "column": 2 }, "end": { - "line": 88, + "line": 90, "column": 5 } } @@ -2802,15 +2946,15 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1796, - "end": 1869, + "start": 1858, + "end": 1931, "loc": { "start": { - "line": 93, + "line": 95, "column": 2 }, "end": { - "line": 96, + "line": 98, "column": 5 } } @@ -2819,15 +2963,15 @@ }, { "type": "ClassMethod", - "start": 1872, - "end": 1941, + "start": 1934, + "end": 2003, "loc": { "start": { - "line": 97, + "line": 99, "column": 2 }, "end": { - "line": 99, + "line": 101, "column": 3 } }, @@ -2835,15 +2979,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1876, - "end": 1881, + "start": 1938, + "end": 1943, "loc": { "start": { - "line": 97, + "line": 99, "column": 6 }, "end": { - "line": 97, + "line": 99, "column": 11 }, "identifierName": "winal" @@ -2858,15 +3002,15 @@ "params": [ { "type": "Identifier", - "start": 1883, - "end": 1892, + "start": 1945, + "end": 1954, "loc": { "start": { - "line": 97, + "line": 99, "column": 13 }, "end": { - "line": 97, + "line": 99, "column": 22 }, "identifierName": "new_winal" @@ -2876,87 +3020,87 @@ ], "body": { "type": "BlockStatement", - "start": 1894, - "end": 1941, + "start": 1956, + "end": 2003, "loc": { "start": { - "line": 97, + "line": 99, "column": 24 }, "end": { - "line": 99, + "line": 101, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1900, - "end": 1937, + "start": 1962, + "end": 1999, "loc": { "start": { - "line": 98, + "line": 100, "column": 4 }, "end": { - "line": 98, + "line": 100, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 1900, - "end": 1937, + "start": 1962, + "end": 1999, "loc": { "start": { - "line": 98, + "line": 100, "column": 4 }, "end": { - "line": 98, + "line": 100, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 1900, - "end": 1923, + "start": 1962, + "end": 1985, "loc": { "start": { - "line": 98, + "line": 100, "column": 4 }, "end": { - "line": 98, + "line": 100, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 1900, - "end": 1904, + "start": 1962, + "end": 1966, "loc": { "start": { - "line": 98, + "line": 100, "column": 4 }, "end": { - "line": 98, + "line": 100, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1905, - "end": 1923, + "start": 1967, + "end": 1985, "loc": { "start": { - "line": 98, + "line": 100, "column": 9 }, "end": { - "line": 98, + "line": 100, "column": 27 }, "identifierName": "_set_date_sections" @@ -2968,15 +3112,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1924, - "end": 1925, + "start": 1986, + "end": 1987, "loc": { "start": { - "line": 98, + "line": 100, "column": 28 }, "end": { - "line": 98, + "line": 100, "column": 29 } }, @@ -2988,15 +3132,15 @@ }, { "type": "Identifier", - "start": 1927, - "end": 1936, + "start": 1989, + "end": 1998, "loc": { "start": { - "line": 98, + "line": 100, "column": 31 }, "end": { - "line": 98, + "line": 100, "column": 40 }, "identifierName": "new_winal" @@ -3014,15 +3158,15 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1796, - "end": 1869, + "start": 1858, + "end": 1931, "loc": { "start": { - "line": 93, + "line": 95, "column": 2 }, "end": { - "line": 96, + "line": 98, "column": 5 } } @@ -3032,15 +3176,15 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 1945, - "end": 2021, + "start": 2007, + "end": 2083, "loc": { "start": { - "line": 101, + "line": 103, "column": 2 }, "end": { - "line": 104, + "line": 106, "column": 5 } } @@ -3049,15 +3193,15 @@ }, { "type": "ClassMethod", - "start": 2024, - "end": 2080, + "start": 2086, + "end": 2142, "loc": { "start": { - "line": 105, + "line": 107, "column": 2 }, "end": { - "line": 107, + "line": 109, "column": 3 } }, @@ -3065,15 +3209,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2028, - "end": 2033, + "start": 2090, + "end": 2095, "loc": { "start": { - "line": 105, + "line": 107, "column": 6 }, "end": { - "line": 105, + "line": 107, "column": 11 }, "identifierName": "winal" @@ -3088,87 +3232,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2037, - "end": 2080, + "start": 2099, + "end": 2142, "loc": { "start": { - "line": 105, + "line": 107, "column": 15 }, "end": { - "line": 107, + "line": 109, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2043, - "end": 2076, + "start": 2105, + "end": 2138, "loc": { "start": { - "line": 106, + "line": 108, "column": 4 }, "end": { - "line": 106, + "line": 108, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2050, - "end": 2076, + "start": 2112, + "end": 2138, "loc": { "start": { - "line": 106, + "line": 108, "column": 11 }, "end": { - "line": 106, + "line": 108, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 2050, - "end": 2073, + "start": 2112, + "end": 2135, "loc": { "start": { - "line": 106, + "line": 108, "column": 11 }, "end": { - "line": 106, + "line": 108, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 2050, - "end": 2054, + "start": 2112, + "end": 2116, "loc": { "start": { - "line": 106, + "line": 108, "column": 11 }, "end": { - "line": 106, + "line": 108, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2055, - "end": 2073, + "start": 2117, + "end": 2135, "loc": { "start": { - "line": 106, + "line": 108, "column": 16 }, "end": { - "line": 106, + "line": 108, "column": 34 }, "identifierName": "_get_date_sections" @@ -3180,15 +3324,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2074, - "end": 2075, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 106, + "line": 108, "column": 35 }, "end": { - "line": 106, + "line": 108, "column": 36 } }, @@ -3209,15 +3353,15 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 1945, - "end": 2021, + "start": 2007, + "end": 2083, "loc": { "start": { - "line": 101, + "line": 103, "column": 2 }, "end": { - "line": 104, + "line": 106, "column": 5 } } @@ -3227,15 +3371,15 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2084, - "end": 2155, + "start": 2146, + "end": 2217, "loc": { "start": { - "line": 109, + "line": 111, "column": 2 }, "end": { - "line": 112, + "line": 114, "column": 5 } } @@ -3244,15 +3388,15 @@ }, { "type": "ClassMethod", - "start": 2158, - "end": 2221, + "start": 2220, + "end": 2283, "loc": { "start": { - "line": 113, + "line": 115, "column": 2 }, "end": { - "line": 115, + "line": 117, "column": 3 } }, @@ -3260,15 +3404,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2162, - "end": 2165, + "start": 2224, + "end": 2227, "loc": { "start": { - "line": 113, + "line": 115, "column": 6 }, "end": { - "line": 113, + "line": 115, "column": 9 }, "identifierName": "tun" @@ -3283,15 +3427,15 @@ "params": [ { "type": "Identifier", - "start": 2167, - "end": 2174, + "start": 2229, + "end": 2236, "loc": { "start": { - "line": 113, + "line": 115, "column": 11 }, "end": { - "line": 113, + "line": 115, "column": 18 }, "identifierName": "new_tun" @@ -3301,87 +3445,87 @@ ], "body": { "type": "BlockStatement", - "start": 2176, - "end": 2221, + "start": 2238, + "end": 2283, "loc": { "start": { - "line": 113, + "line": 115, "column": 20 }, "end": { - "line": 115, + "line": 117, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 2182, - "end": 2217, + "start": 2244, + "end": 2279, "loc": { "start": { - "line": 114, + "line": 116, "column": 4 }, "end": { - "line": 114, + "line": 116, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 2182, - "end": 2217, + "start": 2244, + "end": 2279, "loc": { "start": { - "line": 114, + "line": 116, "column": 4 }, "end": { - "line": 114, + "line": 116, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 2182, - "end": 2205, + "start": 2244, + "end": 2267, "loc": { "start": { - "line": 114, + "line": 116, "column": 4 }, "end": { - "line": 114, + "line": 116, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2182, - "end": 2186, + "start": 2244, + "end": 2248, "loc": { "start": { - "line": 114, + "line": 116, "column": 4 }, "end": { - "line": 114, + "line": 116, "column": 8 } } }, "property": { "type": "Identifier", - "start": 2187, - "end": 2205, + "start": 2249, + "end": 2267, "loc": { "start": { - "line": 114, + "line": 116, "column": 9 }, "end": { - "line": 114, + "line": 116, "column": 27 }, "identifierName": "_set_date_sections" @@ -3393,15 +3537,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2206, - "end": 2207, + "start": 2268, + "end": 2269, "loc": { "start": { - "line": 114, + "line": 116, "column": 28 }, "end": { - "line": 114, + "line": 116, "column": 29 } }, @@ -3413,15 +3557,15 @@ }, { "type": "Identifier", - "start": 2209, - "end": 2216, + "start": 2271, + "end": 2278, "loc": { "start": { - "line": 114, + "line": 116, "column": 31 }, "end": { - "line": 114, + "line": 116, "column": 38 }, "identifierName": "new_tun" @@ -3439,15 +3583,15 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2084, - "end": 2155, + "start": 2146, + "end": 2217, "loc": { "start": { - "line": 109, + "line": 111, "column": 2 }, "end": { - "line": 112, + "line": 114, "column": 5 } } @@ -3457,15 +3601,15 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2225, - "end": 2299, + "start": 2287, + "end": 2361, "loc": { "start": { - "line": 117, + "line": 119, "column": 2 }, "end": { - "line": 120, + "line": 122, "column": 5 } } @@ -3474,15 +3618,15 @@ }, { "type": "ClassMethod", - "start": 2302, - "end": 2356, + "start": 2364, + "end": 2418, "loc": { "start": { - "line": 121, + "line": 123, "column": 2 }, "end": { - "line": 123, + "line": 125, "column": 3 } }, @@ -3490,15 +3634,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2306, - "end": 2309, + "start": 2368, + "end": 2371, "loc": { "start": { - "line": 121, + "line": 123, "column": 6 }, "end": { - "line": 121, + "line": 123, "column": 9 }, "identifierName": "tun" @@ -3513,87 +3657,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2313, - "end": 2356, + "start": 2375, + "end": 2418, "loc": { "start": { - "line": 121, + "line": 123, "column": 13 }, "end": { - "line": 123, + "line": 125, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2319, - "end": 2352, + "start": 2381, + "end": 2414, "loc": { "start": { - "line": 122, + "line": 124, "column": 4 }, "end": { - "line": 122, + "line": 124, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2326, - "end": 2352, + "start": 2388, + "end": 2414, "loc": { "start": { - "line": 122, + "line": 124, "column": 11 }, "end": { - "line": 122, + "line": 124, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 2326, - "end": 2349, + "start": 2388, + "end": 2411, "loc": { "start": { - "line": 122, + "line": 124, "column": 11 }, "end": { - "line": 122, + "line": 124, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 2326, - "end": 2330, + "start": 2388, + "end": 2392, "loc": { "start": { - "line": 122, + "line": 124, "column": 11 }, "end": { - "line": 122, + "line": 124, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2331, - "end": 2349, + "start": 2393, + "end": 2411, "loc": { "start": { - "line": 122, + "line": 124, "column": 16 }, "end": { - "line": 122, + "line": 124, "column": 34 }, "identifierName": "_get_date_sections" @@ -3605,15 +3749,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2350, - "end": 2351, + "start": 2412, + "end": 2413, "loc": { "start": { - "line": 122, + "line": 124, "column": 35 }, "end": { - "line": 122, + "line": 124, "column": 36 } }, @@ -3634,15 +3778,15 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2225, - "end": 2299, + "start": 2287, + "end": 2361, "loc": { "start": { - "line": 117, + "line": 119, "column": 2 }, "end": { - "line": 120, + "line": 122, "column": 5 } } @@ -3652,15 +3796,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2360, - "end": 2434, + "start": 2422, + "end": 2496, "loc": { "start": { - "line": 125, + "line": 127, "column": 2 }, "end": { - "line": 128, + "line": 130, "column": 5 } } @@ -3669,15 +3813,15 @@ }, { "type": "ClassMethod", - "start": 2437, - "end": 2509, + "start": 2499, + "end": 2571, "loc": { "start": { - "line": 129, + "line": 131, "column": 2 }, "end": { - "line": 131, + "line": 133, "column": 3 } }, @@ -3685,15 +3829,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2441, - "end": 2447, + "start": 2503, + "end": 2509, "loc": { "start": { - "line": 129, + "line": 131, "column": 6 }, "end": { - "line": 129, + "line": 131, "column": 12 }, "identifierName": "k_atun" @@ -3708,15 +3852,15 @@ "params": [ { "type": "Identifier", - "start": 2449, - "end": 2459, + "start": 2511, + "end": 2521, "loc": { "start": { - "line": 129, + "line": 131, "column": 14 }, "end": { - "line": 129, + "line": 131, "column": 24 }, "identifierName": "new_k_atun" @@ -3726,87 +3870,87 @@ ], "body": { "type": "BlockStatement", - "start": 2461, - "end": 2509, + "start": 2523, + "end": 2571, "loc": { "start": { - "line": 129, + "line": 131, "column": 26 }, "end": { - "line": 131, + "line": 133, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 2467, - "end": 2505, + "start": 2529, + "end": 2567, "loc": { "start": { - "line": 130, + "line": 132, "column": 4 }, "end": { - "line": 130, + "line": 132, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 2467, - "end": 2505, + "start": 2529, + "end": 2567, "loc": { "start": { - "line": 130, + "line": 132, "column": 4 }, "end": { - "line": 130, + "line": 132, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 2467, - "end": 2490, + "start": 2529, + "end": 2552, "loc": { "start": { - "line": 130, + "line": 132, "column": 4 }, "end": { - "line": 130, + "line": 132, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2467, - "end": 2471, + "start": 2529, + "end": 2533, "loc": { "start": { - "line": 130, + "line": 132, "column": 4 }, "end": { - "line": 130, + "line": 132, "column": 8 } } }, "property": { "type": "Identifier", - "start": 2472, - "end": 2490, + "start": 2534, + "end": 2552, "loc": { "start": { - "line": 130, + "line": 132, "column": 9 }, "end": { - "line": 130, + "line": 132, "column": 27 }, "identifierName": "_set_date_sections" @@ -3818,15 +3962,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2491, - "end": 2492, + "start": 2553, + "end": 2554, "loc": { "start": { - "line": 130, + "line": 132, "column": 28 }, "end": { - "line": 130, + "line": 132, "column": 29 } }, @@ -3838,15 +3982,15 @@ }, { "type": "Identifier", - "start": 2494, - "end": 2504, + "start": 2556, + "end": 2566, "loc": { "start": { - "line": 130, + "line": 132, "column": 31 }, "end": { - "line": 130, + "line": 132, "column": 41 }, "identifierName": "new_k_atun" @@ -3864,15 +4008,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2360, - "end": 2434, + "start": 2422, + "end": 2496, "loc": { "start": { - "line": 125, + "line": 127, "column": 2 }, "end": { - "line": 128, + "line": 130, "column": 5 } } @@ -3882,15 +4026,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2513, - "end": 2590, + "start": 2575, + "end": 2652, "loc": { "start": { - "line": 133, + "line": 135, "column": 2 }, "end": { - "line": 136, + "line": 138, "column": 5 } } @@ -3899,15 +4043,15 @@ }, { "type": "ClassMethod", - "start": 2593, - "end": 2650, + "start": 2655, + "end": 2712, "loc": { "start": { - "line": 137, + "line": 139, "column": 2 }, "end": { - "line": 139, + "line": 141, "column": 3 } }, @@ -3915,15 +4059,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2597, - "end": 2603, + "start": 2659, + "end": 2665, "loc": { "start": { - "line": 137, + "line": 139, "column": 6 }, "end": { - "line": 137, + "line": 139, "column": 12 }, "identifierName": "k_atun" @@ -3938,87 +4082,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2607, - "end": 2650, + "start": 2669, + "end": 2712, "loc": { "start": { - "line": 137, + "line": 139, "column": 16 }, "end": { - "line": 139, + "line": 141, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2613, - "end": 2646, + "start": 2675, + "end": 2708, "loc": { "start": { - "line": 138, + "line": 140, "column": 4 }, "end": { - "line": 138, + "line": 140, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2620, - "end": 2646, + "start": 2682, + "end": 2708, "loc": { "start": { - "line": 138, + "line": 140, "column": 11 }, "end": { - "line": 138, + "line": 140, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 2620, - "end": 2643, + "start": 2682, + "end": 2705, "loc": { "start": { - "line": 138, + "line": 140, "column": 11 }, "end": { - "line": 138, + "line": 140, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 2620, - "end": 2624, + "start": 2682, + "end": 2686, "loc": { "start": { - "line": 138, + "line": 140, "column": 11 }, "end": { - "line": 138, + "line": 140, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2625, - "end": 2643, + "start": 2687, + "end": 2705, "loc": { "start": { - "line": 138, + "line": 140, "column": 16 }, "end": { - "line": 138, + "line": 140, "column": 34 }, "identifierName": "_get_date_sections" @@ -4030,15 +4174,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2644, - "end": 2645, + "start": 2706, + "end": 2707, "loc": { "start": { - "line": 138, + "line": 140, "column": 35 }, "end": { - "line": 138, + "line": 140, "column": 36 } }, @@ -4059,15 +4203,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2513, - "end": 2590, + "start": 2575, + "end": 2652, "loc": { "start": { - "line": 133, + "line": 135, "column": 2 }, "end": { - "line": 136, + "line": 138, "column": 5 } } @@ -4077,15 +4221,15 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2654, - "end": 2729, + "start": 2716, + "end": 2791, "loc": { "start": { - "line": 141, + "line": 143, "column": 2 }, "end": { - "line": 144, + "line": 146, "column": 5 } } @@ -4094,15 +4238,15 @@ }, { "type": "ClassMethod", - "start": 2732, - "end": 2807, + "start": 2794, + "end": 2869, "loc": { "start": { - "line": 145, + "line": 147, "column": 2 }, "end": { - "line": 147, + "line": 149, "column": 3 } }, @@ -4110,15 +4254,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2736, - "end": 2743, + "start": 2798, + "end": 2805, "loc": { "start": { - "line": 145, + "line": 147, "column": 6 }, "end": { - "line": 145, + "line": 147, "column": 13 }, "identifierName": "bak_tun" @@ -4133,15 +4277,15 @@ "params": [ { "type": "Identifier", - "start": 2745, - "end": 2756, + "start": 2807, + "end": 2818, "loc": { "start": { - "line": 145, + "line": 147, "column": 15 }, "end": { - "line": 145, + "line": 147, "column": 26 }, "identifierName": "new_bak_tun" @@ -4151,87 +4295,87 @@ ], "body": { "type": "BlockStatement", - "start": 2758, - "end": 2807, + "start": 2820, + "end": 2869, "loc": { "start": { - "line": 145, + "line": 147, "column": 28 }, "end": { - "line": 147, + "line": 149, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 2764, - "end": 2803, + "start": 2826, + "end": 2865, "loc": { "start": { - "line": 146, + "line": 148, "column": 4 }, "end": { - "line": 146, + "line": 148, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 2764, - "end": 2803, + "start": 2826, + "end": 2865, "loc": { "start": { - "line": 146, + "line": 148, "column": 4 }, "end": { - "line": 146, + "line": 148, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 2764, - "end": 2787, + "start": 2826, + "end": 2849, "loc": { "start": { - "line": 146, + "line": 148, "column": 4 }, "end": { - "line": 146, + "line": 148, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2764, - "end": 2768, + "start": 2826, + "end": 2830, "loc": { "start": { - "line": 146, + "line": 148, "column": 4 }, "end": { - "line": 146, + "line": 148, "column": 8 } } }, "property": { "type": "Identifier", - "start": 2769, - "end": 2787, + "start": 2831, + "end": 2849, "loc": { "start": { - "line": 146, + "line": 148, "column": 9 }, "end": { - "line": 146, + "line": 148, "column": 27 }, "identifierName": "_set_date_sections" @@ -4243,15 +4387,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2788, - "end": 2789, + "start": 2850, + "end": 2851, "loc": { "start": { - "line": 146, + "line": 148, "column": 28 }, "end": { - "line": 146, + "line": 148, "column": 29 } }, @@ -4263,15 +4407,15 @@ }, { "type": "Identifier", - "start": 2791, - "end": 2802, + "start": 2853, + "end": 2864, "loc": { "start": { - "line": 146, + "line": 148, "column": 31 }, "end": { - "line": 146, + "line": 148, "column": 42 }, "identifierName": "new_bak_tun" @@ -4289,15 +4433,15 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2654, - "end": 2729, + "start": 2716, + "end": 2791, "loc": { "start": { - "line": 141, + "line": 143, "column": 2 }, "end": { - "line": 144, + "line": 146, "column": 5 } } @@ -4307,15 +4451,15 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2811, - "end": 2889, + "start": 2873, + "end": 2951, "loc": { "start": { - "line": 149, + "line": 151, "column": 2 }, "end": { - "line": 152, + "line": 154, "column": 5 } } @@ -4324,15 +4468,15 @@ }, { "type": "ClassMethod", - "start": 2892, - "end": 2950, + "start": 2954, + "end": 3012, "loc": { "start": { - "line": 153, + "line": 155, "column": 2 }, "end": { - "line": 155, + "line": 157, "column": 3 } }, @@ -4340,15 +4484,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2896, - "end": 2903, + "start": 2958, + "end": 2965, "loc": { "start": { - "line": 153, + "line": 155, "column": 6 }, "end": { - "line": 153, + "line": 155, "column": 13 }, "identifierName": "bak_tun" @@ -4363,87 +4507,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2907, - "end": 2950, + "start": 2969, + "end": 3012, "loc": { "start": { - "line": 153, + "line": 155, "column": 17 }, "end": { - "line": 155, + "line": 157, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2913, - "end": 2946, + "start": 2975, + "end": 3008, "loc": { "start": { - "line": 154, + "line": 156, "column": 4 }, "end": { - "line": 154, + "line": 156, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 2920, - "end": 2946, + "start": 2982, + "end": 3008, "loc": { "start": { - "line": 154, + "line": 156, "column": 11 }, "end": { - "line": 154, + "line": 156, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 2920, - "end": 2943, + "start": 2982, + "end": 3005, "loc": { "start": { - "line": 154, + "line": 156, "column": 11 }, "end": { - "line": 154, + "line": 156, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 2920, - "end": 2924, + "start": 2982, + "end": 2986, "loc": { "start": { - "line": 154, + "line": 156, "column": 11 }, "end": { - "line": 154, + "line": 156, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2925, - "end": 2943, + "start": 2987, + "end": 3005, "loc": { "start": { - "line": 154, + "line": 156, "column": 16 }, "end": { - "line": 154, + "line": 156, "column": 34 }, "identifierName": "_get_date_sections" @@ -4455,15 +4599,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2944, - "end": 2945, + "start": 3006, + "end": 3007, "loc": { "start": { - "line": 154, + "line": 156, "column": 35 }, "end": { - "line": 154, + "line": 156, "column": 36 } }, @@ -4484,15 +4628,15 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2811, - "end": 2889, + "start": 2873, + "end": 2951, "loc": { "start": { - "line": 149, + "line": 151, "column": 2 }, "end": { - "line": 152, + "line": 154, "column": 5 } } @@ -4502,15 +4646,15 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 2954, - "end": 3028, + "start": 3016, + "end": 3090, "loc": { "start": { - "line": 157, + "line": 159, "column": 2 }, "end": { - "line": 160, + "line": 162, "column": 5 } } @@ -4519,15 +4663,15 @@ }, { "type": "ClassMethod", - "start": 3031, - "end": 3105, + "start": 3093, + "end": 3167, "loc": { "start": { - "line": 161, + "line": 163, "column": 2 }, "end": { - "line": 163, + "line": 165, "column": 3 } }, @@ -4535,15 +4679,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3035, - "end": 3041, + "start": 3097, + "end": 3103, "loc": { "start": { - "line": 161, + "line": 163, "column": 6 }, "end": { - "line": 161, + "line": 163, "column": 12 }, "identifierName": "piktun" @@ -4558,15 +4702,15 @@ "params": [ { "type": "Identifier", - "start": 3043, - "end": 3054, + "start": 3105, + "end": 3116, "loc": { "start": { - "line": 161, + "line": 163, "column": 14 }, "end": { - "line": 161, + "line": 163, "column": 25 }, "identifierName": "new_bak_tun" @@ -4576,87 +4720,87 @@ ], "body": { "type": "BlockStatement", - "start": 3056, - "end": 3105, + "start": 3118, + "end": 3167, "loc": { "start": { - "line": 161, + "line": 163, "column": 27 }, "end": { - "line": 163, + "line": 165, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 3062, - "end": 3101, + "start": 3124, + "end": 3163, "loc": { "start": { - "line": 162, + "line": 164, "column": 4 }, "end": { - "line": 162, + "line": 164, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3062, - "end": 3101, + "start": 3124, + "end": 3163, "loc": { "start": { - "line": 162, + "line": 164, "column": 4 }, "end": { - "line": 162, + "line": 164, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 3062, - "end": 3085, + "start": 3124, + "end": 3147, "loc": { "start": { - "line": 162, + "line": 164, "column": 4 }, "end": { - "line": 162, + "line": 164, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3062, - "end": 3066, + "start": 3124, + "end": 3128, "loc": { "start": { - "line": 162, + "line": 164, "column": 4 }, "end": { - "line": 162, + "line": 164, "column": 8 } } }, "property": { "type": "Identifier", - "start": 3067, - "end": 3085, + "start": 3129, + "end": 3147, "loc": { "start": { - "line": 162, + "line": 164, "column": 9 }, "end": { - "line": 162, + "line": 164, "column": 27 }, "identifierName": "_set_date_sections" @@ -4668,15 +4812,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3086, - "end": 3087, + "start": 3148, + "end": 3149, "loc": { "start": { - "line": 162, + "line": 164, "column": 28 }, "end": { - "line": 162, + "line": 164, "column": 29 } }, @@ -4688,15 +4832,15 @@ }, { "type": "Identifier", - "start": 3089, - "end": 3100, + "start": 3151, + "end": 3162, "loc": { "start": { - "line": 162, + "line": 164, "column": 31 }, "end": { - "line": 162, + "line": 164, "column": 42 }, "identifierName": "new_bak_tun" @@ -4714,15 +4858,15 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 2954, - "end": 3028, + "start": 3016, + "end": 3090, "loc": { "start": { - "line": 157, + "line": 159, "column": 2 }, "end": { - "line": 160, + "line": 162, "column": 5 } } @@ -4732,15 +4876,15 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3109, - "end": 3186, + "start": 3171, + "end": 3248, "loc": { "start": { - "line": 165, + "line": 167, "column": 2 }, "end": { - "line": 168, + "line": 170, "column": 5 } } @@ -4749,15 +4893,15 @@ }, { "type": "ClassMethod", - "start": 3189, - "end": 3246, + "start": 3251, + "end": 3308, "loc": { "start": { - "line": 169, + "line": 171, "column": 2 }, "end": { - "line": 171, + "line": 173, "column": 3 } }, @@ -4765,15 +4909,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3193, - "end": 3199, + "start": 3255, + "end": 3261, "loc": { "start": { - "line": 169, + "line": 171, "column": 6 }, "end": { - "line": 169, + "line": 171, "column": 12 }, "identifierName": "piktun" @@ -4788,87 +4932,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3203, - "end": 3246, + "start": 3265, + "end": 3308, "loc": { "start": { - "line": 169, + "line": 171, "column": 16 }, "end": { - "line": 171, + "line": 173, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3209, - "end": 3242, + "start": 3271, + "end": 3304, "loc": { "start": { - "line": 170, + "line": 172, "column": 4 }, "end": { - "line": 170, + "line": 172, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3216, - "end": 3242, + "start": 3278, + "end": 3304, "loc": { "start": { - "line": 170, + "line": 172, "column": 11 }, "end": { - "line": 170, + "line": 172, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3216, - "end": 3239, + "start": 3278, + "end": 3301, "loc": { "start": { - "line": 170, + "line": 172, "column": 11 }, "end": { - "line": 170, + "line": 172, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 3216, - "end": 3220, + "start": 3278, + "end": 3282, "loc": { "start": { - "line": 170, + "line": 172, "column": 11 }, "end": { - "line": 170, + "line": 172, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3221, - "end": 3239, + "start": 3283, + "end": 3301, "loc": { "start": { - "line": 170, + "line": 172, "column": 16 }, "end": { - "line": 170, + "line": 172, "column": 34 }, "identifierName": "_get_date_sections" @@ -4880,15 +5024,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3240, - "end": 3241, + "start": 3302, + "end": 3303, "loc": { "start": { - "line": 170, + "line": 172, "column": 35 }, "end": { - "line": 170, + "line": 172, "column": 36 } }, @@ -4909,15 +5053,15 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3109, - "end": 3186, + "start": 3171, + "end": 3248, "loc": { "start": { - "line": 165, + "line": 167, "column": 2 }, "end": { - "line": 168, + "line": 170, "column": 5 } } @@ -4927,15 +5071,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3250, - "end": 3326, + "start": 3312, + "end": 3388, "loc": { "start": { - "line": 173, + "line": 175, "column": 2 }, "end": { - "line": 176, + "line": 178, "column": 5 } } @@ -4944,15 +5088,15 @@ }, { "type": "ClassMethod", - "start": 3329, - "end": 3405, + "start": 3391, + "end": 3467, "loc": { "start": { - "line": 177, + "line": 179, "column": 2 }, "end": { - "line": 179, + "line": 181, "column": 3 } }, @@ -4960,15 +5104,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3333, - "end": 3341, + "start": 3395, + "end": 3403, "loc": { "start": { - "line": 177, + "line": 179, "column": 6 }, "end": { - "line": 177, + "line": 179, "column": 14 }, "identifierName": "kalabtun" @@ -4983,15 +5127,15 @@ "params": [ { "type": "Identifier", - "start": 3343, - "end": 3354, + "start": 3405, + "end": 3416, "loc": { "start": { - "line": 177, + "line": 179, "column": 16 }, "end": { - "line": 177, + "line": 179, "column": 27 }, "identifierName": "new_bak_tun" @@ -5001,87 +5145,87 @@ ], "body": { "type": "BlockStatement", - "start": 3356, - "end": 3405, + "start": 3418, + "end": 3467, "loc": { "start": { - "line": 177, + "line": 179, "column": 29 }, "end": { - "line": 179, + "line": 181, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 3362, - "end": 3401, + "start": 3424, + "end": 3463, "loc": { "start": { - "line": 178, + "line": 180, "column": 4 }, "end": { - "line": 178, + "line": 180, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3362, - "end": 3401, + "start": 3424, + "end": 3463, "loc": { "start": { - "line": 178, + "line": 180, "column": 4 }, "end": { - "line": 178, + "line": 180, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 3362, - "end": 3385, + "start": 3424, + "end": 3447, "loc": { "start": { - "line": 178, + "line": 180, "column": 4 }, "end": { - "line": 178, + "line": 180, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3362, - "end": 3366, + "start": 3424, + "end": 3428, "loc": { "start": { - "line": 178, + "line": 180, "column": 4 }, "end": { - "line": 178, + "line": 180, "column": 8 } } }, "property": { "type": "Identifier", - "start": 3367, - "end": 3385, + "start": 3429, + "end": 3447, "loc": { "start": { - "line": 178, + "line": 180, "column": 9 }, "end": { - "line": 178, + "line": 180, "column": 27 }, "identifierName": "_set_date_sections" @@ -5093,15 +5237,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3386, - "end": 3387, + "start": 3448, + "end": 3449, "loc": { "start": { - "line": 178, + "line": 180, "column": 28 }, "end": { - "line": 178, + "line": 180, "column": 29 } }, @@ -5113,15 +5257,15 @@ }, { "type": "Identifier", - "start": 3389, - "end": 3400, + "start": 3451, + "end": 3462, "loc": { "start": { - "line": 178, + "line": 180, "column": 31 }, "end": { - "line": 178, + "line": 180, "column": 42 }, "identifierName": "new_bak_tun" @@ -5139,15 +5283,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3250, - "end": 3326, + "start": 3312, + "end": 3388, "loc": { "start": { - "line": 173, + "line": 175, "column": 2 }, "end": { - "line": 176, + "line": 178, "column": 5 } } @@ -5157,15 +5301,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3409, - "end": 3488, + "start": 3471, + "end": 3550, "loc": { "start": { - "line": 181, + "line": 183, "column": 2 }, "end": { - "line": 184, + "line": 186, "column": 5 } } @@ -5174,15 +5318,15 @@ }, { "type": "ClassMethod", - "start": 3491, - "end": 3550, + "start": 3553, + "end": 3612, "loc": { "start": { - "line": 185, + "line": 187, "column": 2 }, "end": { - "line": 187, + "line": 189, "column": 3 } }, @@ -5190,15 +5334,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3495, - "end": 3503, + "start": 3557, + "end": 3565, "loc": { "start": { - "line": 185, + "line": 187, "column": 6 }, "end": { - "line": 185, + "line": 187, "column": 14 }, "identifierName": "kalabtun" @@ -5213,87 +5357,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3507, - "end": 3550, + "start": 3569, + "end": 3612, "loc": { "start": { - "line": 185, + "line": 187, "column": 18 }, "end": { - "line": 187, + "line": 189, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3513, - "end": 3546, + "start": 3575, + "end": 3608, "loc": { "start": { - "line": 186, + "line": 188, "column": 4 }, "end": { - "line": 186, + "line": 188, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3520, - "end": 3546, + "start": 3582, + "end": 3608, "loc": { "start": { - "line": 186, + "line": 188, "column": 11 }, "end": { - "line": 186, + "line": 188, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3520, - "end": 3543, + "start": 3582, + "end": 3605, "loc": { "start": { - "line": 186, + "line": 188, "column": 11 }, "end": { - "line": 186, + "line": 188, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 3520, - "end": 3524, + "start": 3582, + "end": 3586, "loc": { "start": { - "line": 186, + "line": 188, "column": 11 }, "end": { - "line": 186, + "line": 188, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3525, - "end": 3543, + "start": 3587, + "end": 3605, "loc": { "start": { - "line": 186, + "line": 188, "column": 16 }, "end": { - "line": 186, + "line": 188, "column": 34 }, "identifierName": "_get_date_sections" @@ -5305,15 +5449,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3544, - "end": 3545, + "start": 3606, + "end": 3607, "loc": { "start": { - "line": 186, + "line": 188, "column": 35 }, "end": { - "line": 186, + "line": 188, "column": 36 } }, @@ -5334,15 +5478,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3409, - "end": 3488, + "start": 3471, + "end": 3550, "loc": { "start": { - "line": 181, + "line": 183, "column": 2 }, "end": { - "line": 184, + "line": 186, "column": 5 } } @@ -5352,15 +5496,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3554, - "end": 3632, + "start": 3616, + "end": 3694, "loc": { "start": { - "line": 189, + "line": 191, "column": 2 }, "end": { - "line": 192, + "line": 194, "column": 5 } } @@ -5369,15 +5513,15 @@ }, { "type": "ClassMethod", - "start": 3635, - "end": 3713, + "start": 3697, + "end": 3775, "loc": { "start": { - "line": 193, + "line": 195, "column": 2 }, "end": { - "line": 195, + "line": 197, "column": 3 } }, @@ -5385,15 +5529,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3639, - "end": 3649, + "start": 3701, + "end": 3711, "loc": { "start": { - "line": 193, + "line": 195, "column": 6 }, "end": { - "line": 193, + "line": 195, "column": 16 }, "identifierName": "kinchiltun" @@ -5408,15 +5552,15 @@ "params": [ { "type": "Identifier", - "start": 3651, - "end": 3662, + "start": 3713, + "end": 3724, "loc": { "start": { - "line": 193, + "line": 195, "column": 18 }, "end": { - "line": 193, + "line": 195, "column": 29 }, "identifierName": "new_bak_tun" @@ -5426,87 +5570,87 @@ ], "body": { "type": "BlockStatement", - "start": 3664, - "end": 3713, + "start": 3726, + "end": 3775, "loc": { "start": { - "line": 193, + "line": 195, "column": 31 }, "end": { - "line": 195, + "line": 197, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 3670, - "end": 3709, + "start": 3732, + "end": 3771, "loc": { "start": { - "line": 194, + "line": 196, "column": 4 }, "end": { - "line": 194, + "line": 196, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 3670, - "end": 3709, + "start": 3732, + "end": 3771, "loc": { "start": { - "line": 194, + "line": 196, "column": 4 }, "end": { - "line": 194, + "line": 196, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 3670, - "end": 3693, + "start": 3732, + "end": 3755, "loc": { "start": { - "line": 194, + "line": 196, "column": 4 }, "end": { - "line": 194, + "line": 196, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 3670, - "end": 3674, + "start": 3732, + "end": 3736, "loc": { "start": { - "line": 194, + "line": 196, "column": 4 }, "end": { - "line": 194, + "line": 196, "column": 8 } } }, "property": { "type": "Identifier", - "start": 3675, - "end": 3693, + "start": 3737, + "end": 3755, "loc": { "start": { - "line": 194, + "line": 196, "column": 9 }, "end": { - "line": 194, + "line": 196, "column": 27 }, "identifierName": "_set_date_sections" @@ -5518,15 +5662,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3694, - "end": 3695, + "start": 3756, + "end": 3757, "loc": { "start": { - "line": 194, + "line": 196, "column": 28 }, "end": { - "line": 194, + "line": 196, "column": 29 } }, @@ -5538,15 +5682,15 @@ }, { "type": "Identifier", - "start": 3697, - "end": 3708, + "start": 3759, + "end": 3770, "loc": { "start": { - "line": 194, + "line": 196, "column": 31 }, "end": { - "line": 194, + "line": 196, "column": 42 }, "identifierName": "new_bak_tun" @@ -5564,15 +5708,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3554, - "end": 3632, + "start": 3616, + "end": 3694, "loc": { "start": { - "line": 189, + "line": 191, "column": 2 }, "end": { - "line": 192, + "line": 194, "column": 5 } } @@ -5582,15 +5726,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3717, - "end": 3798, + "start": 3779, + "end": 3860, "loc": { "start": { - "line": 197, + "line": 199, "column": 2 }, "end": { - "line": 200, + "line": 202, "column": 5 } } @@ -5599,15 +5743,15 @@ }, { "type": "ClassMethod", - "start": 3801, - "end": 3862, + "start": 3863, + "end": 3924, "loc": { "start": { - "line": 201, + "line": 203, "column": 2 }, "end": { - "line": 203, + "line": 205, "column": 3 } }, @@ -5615,15 +5759,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3805, - "end": 3815, + "start": 3867, + "end": 3877, "loc": { "start": { - "line": 201, + "line": 203, "column": 6 }, "end": { - "line": 201, + "line": 203, "column": 16 }, "identifierName": "kinchiltun" @@ -5638,87 +5782,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3819, - "end": 3862, + "start": 3881, + "end": 3924, "loc": { "start": { - "line": 201, + "line": 203, "column": 20 }, "end": { - "line": 203, + "line": 205, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3825, - "end": 3858, + "start": 3887, + "end": 3920, "loc": { "start": { - "line": 202, + "line": 204, "column": 4 }, "end": { - "line": 202, + "line": 204, "column": 37 } }, "argument": { "type": "CallExpression", - "start": 3832, - "end": 3858, + "start": 3894, + "end": 3920, "loc": { "start": { - "line": 202, + "line": 204, "column": 11 }, "end": { - "line": 202, + "line": 204, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3832, - "end": 3855, + "start": 3894, + "end": 3917, "loc": { "start": { - "line": 202, + "line": 204, "column": 11 }, "end": { - "line": 202, + "line": 204, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 3832, - "end": 3836, + "start": 3894, + "end": 3898, "loc": { "start": { - "line": 202, + "line": 204, "column": 11 }, "end": { - "line": 202, + "line": 204, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3837, - "end": 3855, + "start": 3899, + "end": 3917, "loc": { "start": { - "line": 202, + "line": 204, "column": 16 }, "end": { - "line": 202, + "line": 204, "column": 34 }, "identifierName": "_get_date_sections" @@ -5730,15 +5874,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3856, - "end": 3857, + "start": 3918, + "end": 3919, "loc": { "start": { - "line": 202, + "line": 204, "column": 35 }, "end": { - "line": 202, + "line": 204, "column": 36 } }, @@ -5759,15 +5903,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3717, - "end": 3798, + "start": 3779, + "end": 3860, "loc": { "start": { - "line": 197, + "line": 199, "column": 2 }, "end": { - "line": 200, + "line": 202, "column": 5 } } @@ -5776,16 +5920,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 3866, - "end": 3972, + "value": "*\n *\n * @return {any}\n ", + "start": 3928, + "end": 3961, "loc": { "start": { - "line": 205, + "line": 207, "column": 2 }, "end": { - "line": 208, + "line": 210, "column": 5 } } @@ -5794,15 +5938,15 @@ }, { "type": "ClassMethod", - "start": 3975, - "end": 4043, + "start": 3964, + "end": 4067, "loc": { "start": { - "line": 209, + "line": 211, "column": 2 }, "end": { - "line": 211, + "line": 215, "column": 3 } }, @@ -5810,23 +5954,22 @@ "computed": false, "key": { "type": "Identifier", - "start": 3975, - "end": 3983, + "start": 3968, + "end": 3981, "loc": { "start": { - "line": 209, - "column": 2 + "line": 211, + "column": 6 }, "end": { - "line": 209, - "column": 10 + "line": 211, + "column": 19 }, - "identifierName": "is_valid" + "identifierName": "lord_of_night" }, - "name": "is_valid", - "leadingComments": null + "name": "lord_of_night" }, - "kind": "method", + "kind": "get", "id": null, "generator": false, "expression": false, @@ -5834,192 +5977,336 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3987, - "end": 4043, + "start": 3985, + "end": 4067, "loc": { "start": { - "line": 209, - "column": 14 + "line": 211, + "column": 23 }, "end": { - "line": 211, + "line": 215, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3993, - "end": 4039, + "start": 3991, + "end": 4063, "loc": { "start": { - "line": 210, + "line": 212, "column": 4 }, "end": { - "line": 210, - "column": 50 + "line": 214, + "column": 5 } }, "argument": { "type": "CallExpression", - "start": 4000, - "end": 4039, + "start": 3998, + "end": 4063, "loc": { "start": { - "line": 210, + "line": 212, "column": 11 }, "end": { - "line": 210, - "column": 50 + "line": 214, + "column": 5 } }, "callee": { "type": "MemberExpression", - "start": 4000, - "end": 4022, + "start": 3998, + "end": 4007, "loc": { "start": { - "line": 210, + "line": 212, "column": 11 }, "end": { - "line": 210, - "column": 33 + "line": 212, + "column": 20 } }, "object": { - "type": "MemberExpression", - "start": 4000, - "end": 4017, + "type": "Identifier", + "start": 3998, + "end": 4003, "loc": { "start": { - "line": 210, + "line": 212, "column": 11 }, "end": { - "line": 210, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 4000, - "end": 4004, - "loc": { - "start": { - "line": 210, - "column": 11 - }, - "end": { - "line": 210, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4005, - "end": 4017, - "loc": { - "start": { - "line": 210, - "column": 16 - }, - "end": { - "line": 210, - "column": 28 - }, - "identifierName": "date_pattern" + "line": 212, + "column": 16 }, - "name": "date_pattern" + "identifierName": "night" }, - "computed": false + "name": "night" }, "property": { "type": "Identifier", - "start": 4018, - "end": 4022, + "start": 4004, + "end": 4007, "loc": { "start": { - "line": 210, - "column": 29 + "line": 212, + "column": 17 }, "end": { - "line": 210, - "column": 33 + "line": 212, + "column": 20 }, - "identifierName": "test" + "identifierName": "get" }, - "name": "test" + "name": "get" }, "computed": false }, "arguments": [ { - "type": "CallExpression", - "start": 4023, - "end": 4038, + "type": "TemplateLiteral", + "start": 4015, + "end": 4056, "loc": { "start": { - "line": 210, - "column": 34 + "line": 213, + "column": 6 }, "end": { - "line": 210, - "column": 49 + "line": 213, + "column": 47 } }, - "callee": { - "type": "MemberExpression", - "start": 4023, - "end": 4036, - "loc": { - "start": { - "line": 210, - "column": 34 + "expressions": [ + { + "type": "BinaryExpression", + "start": 4019, + "end": 4054, + "loc": { + "start": { + "line": 213, + "column": 10 + }, + "end": { + "line": 213, + "column": 45 + } }, - "end": { - "line": 210, - "column": 47 + "left": { + "type": "BinaryExpression", + "start": 4020, + "end": 4049, + "loc": { + "start": { + "line": 213, + "column": 11 + }, + "end": { + "line": 213, + "column": 40 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4021, + "end": 4044, + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 35 + } + }, + "left": { + "type": "CallExpression", + "start": 4021, + "end": 4040, + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4021, + "end": 4038, + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 4021, + "end": 4025, + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 4026, + "end": 4038, + "loc": { + "start": { + "line": 213, + "column": 17 + }, + "end": { + "line": 213, + "column": 29 + }, + "identifierName": "get_position" + }, + "name": "get_position" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 4043, + "end": 4044, + "loc": { + "start": { + "line": 213, + "column": 34 + }, + "end": { + "line": 213, + "column": 35 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 4020 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 4048, + "end": 4049, + "loc": { + "start": { + "line": 213, + "column": 39 + }, + "end": { + "line": 213, + "column": 40 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + }, + "extra": { + "parenthesized": true, + "parenStart": 4019 + } + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 4053, + "end": 4054, + "loc": { + "start": { + "line": 213, + "column": 44 + }, + "end": { + "line": 213, + "column": 45 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } - }, - "object": { - "type": "ThisExpression", - "start": 4023, - "end": 4027, + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 4016, + "end": 4017, "loc": { "start": { - "line": 210, - "column": 34 + "line": 213, + "column": 7 }, "end": { - "line": 210, - "column": 38 + "line": 213, + "column": 8 } - } + }, + "value": { + "raw": "G", + "cooked": "G" + }, + "tail": false }, - "property": { - "type": "Identifier", - "start": 4028, - "end": 4036, + { + "type": "TemplateElement", + "start": 4055, + "end": 4055, "loc": { "start": { - "line": 210, - "column": 39 + "line": 213, + "column": 46 }, "end": { - "line": 210, - "column": 47 - }, - "identifierName": "toString" + "line": 213, + "column": 46 + } }, - "name": "toString" - }, - "computed": false - }, - "arguments": [] + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] } ] } @@ -6031,16 +6318,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 3866, - "end": 3972, + "value": "*\n *\n * @return {any}\n ", + "start": 3928, + "end": 3961, "loc": { "start": { - "line": 205, + "line": 207, "column": 2 }, "end": { - "line": 208, + "line": 210, "column": 5 } } @@ -6049,16 +6336,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 4047, - "end": 4184, + "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 4071, + "end": 4177, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 217, + "line": 220, "column": 5 } } @@ -6067,15 +6354,15 @@ }, { "type": "ClassMethod", - "start": 4187, - "end": 4323, + "start": 4180, + "end": 4248, "loc": { "start": { - "line": 218, + "line": 221, "column": 2 }, "end": { - "line": 225, + "line": 223, "column": 3 } }, @@ -6083,20 +6370,20 @@ "computed": false, "key": { "type": "Identifier", - "start": 4187, - "end": 4197, + "start": 4180, + "end": 4188, "loc": { "start": { - "line": 218, + "line": 221, "column": 2 }, "end": { - "line": 218, - "column": 12 + "line": 221, + "column": 10 }, - "identifierName": "is_partial" + "identifierName": "is_valid" }, - "name": "is_partial", + "name": "is_valid", "leadingComments": null }, "kind": "method", @@ -6107,73 +6394,346 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4201, - "end": 4323, + "start": 4192, + "end": 4248, "loc": { "start": { - "line": 218, - "column": 16 + "line": 221, + "column": 14 }, "end": { - "line": 225, + "line": 223, "column": 3 } }, "body": [ { - "type": "ForOfStatement", - "start": 4207, - "end": 4302, + "type": "ReturnStatement", + "start": 4198, + "end": 4244, "loc": { "start": { - "line": 219, + "line": 222, "column": 4 }, "end": { - "line": 223, - "column": 5 + "line": 222, + "column": 50 } }, - "left": { - "type": "VariableDeclaration", - "start": 4212, - "end": 4220, + "argument": { + "type": "CallExpression", + "start": 4205, + "end": 4244, "loc": { "start": { - "line": 219, - "column": 9 + "line": 222, + "column": 11 }, "end": { - "line": 219, - "column": 17 + "line": 222, + "column": 50 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 4216, - "end": 4220, + "callee": { + "type": "MemberExpression", + "start": 4205, + "end": 4227, + "loc": { + "start": { + "line": 222, + "column": 11 + }, + "end": { + "line": 222, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 4205, + "end": 4222, "loc": { "start": { - "line": 219, - "column": 13 + "line": 222, + "column": 11 }, "end": { - "line": 219, - "column": 17 + "line": 222, + "column": 28 } }, - "id": { - "type": "Identifier", - "start": 4216, - "end": 4220, + "object": { + "type": "ThisExpression", + "start": 4205, + "end": 4209, "loc": { "start": { - "line": 219, + "line": 222, + "column": 11 + }, + "end": { + "line": 222, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 4210, + "end": 4222, + "loc": { + "start": { + "line": 222, + "column": 16 + }, + "end": { + "line": 222, + "column": 28 + }, + "identifierName": "date_pattern" + }, + "name": "date_pattern" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4223, + "end": 4227, + "loc": { + "start": { + "line": 222, + "column": 29 + }, + "end": { + "line": 222, + "column": 33 + }, + "identifierName": "test" + }, + "name": "test" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 4228, + "end": 4243, + "loc": { + "start": { + "line": 222, + "column": 34 + }, + "end": { + "line": 222, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4228, + "end": 4241, + "loc": { + "start": { + "line": 222, + "column": 34 + }, + "end": { + "line": 222, + "column": 47 + } + }, + "object": { + "type": "ThisExpression", + "start": 4228, + "end": 4232, + "loc": { + "start": { + "line": 222, + "column": 34 + }, + "end": { + "line": 222, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 4233, + "end": 4241, + "loc": { + "start": { + "line": 222, + "column": 39 + }, + "end": { + "line": 222, + "column": 47 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 4071, + "end": 4177, + "loc": { + "start": { + "line": 217, + "column": 2 + }, + "end": { + "line": 220, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 4252, + "end": 4389, + "loc": { + "start": { + "line": 225, + "column": 2 + }, + "end": { + "line": 229, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 4392, + "end": 4528, + "loc": { + "start": { + "line": 230, + "column": 2 + }, + "end": { + "line": 237, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4392, + "end": 4402, + "loc": { + "start": { + "line": 230, + "column": 2 + }, + "end": { + "line": 230, + "column": 12 + }, + "identifierName": "is_partial" + }, + "name": "is_partial", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4406, + "end": 4528, + "loc": { + "start": { + "line": 230, + "column": 16 + }, + "end": { + "line": 237, + "column": 3 + } + }, + "body": [ + { + "type": "ForOfStatement", + "start": 4412, + "end": 4507, + "loc": { + "start": { + "line": 231, + "column": 4 + }, + "end": { + "line": 235, + "column": 5 + } + }, + "left": { + "type": "VariableDeclaration", + "start": 4417, + "end": 4425, + "loc": { + "start": { + "line": 231, + "column": 9 + }, + "end": { + "line": 231, + "column": 17 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4421, + "end": 4425, + "loc": { + "start": { + "line": 231, + "column": 13 + }, + "end": { + "line": 231, + "column": 17 + } + }, + "id": { + "type": "Identifier", + "start": 4421, + "end": 4425, + "loc": { + "start": { + "line": 231, "column": 13 }, "end": { - "line": 219, + "line": 231, "column": 17 }, "identifierName": "part" @@ -6187,44 +6747,44 @@ }, "right": { "type": "MemberExpression", - "start": 4224, - "end": 4234, + "start": 4429, + "end": 4439, "loc": { "start": { - "line": 219, + "line": 231, "column": 21 }, "end": { - "line": 219, + "line": 231, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4224, - "end": 4228, + "start": 4429, + "end": 4433, "loc": { "start": { - "line": 219, + "line": 231, "column": 21 }, "end": { - "line": 219, + "line": 231, "column": 25 } } }, "property": { "type": "Identifier", - "start": 4229, - "end": 4234, + "start": 4434, + "end": 4439, "loc": { "start": { - "line": 219, + "line": 231, "column": 26 }, "end": { - "line": 219, + "line": 231, "column": 31 }, "identifierName": "parts" @@ -6235,58 +6795,58 @@ }, "body": { "type": "BlockStatement", - "start": 4236, - "end": 4302, + "start": 4441, + "end": 4507, "loc": { "start": { - "line": 219, + "line": 231, "column": 33 }, "end": { - "line": 223, + "line": 235, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 4244, - "end": 4296, + "start": 4449, + "end": 4501, "loc": { "start": { - "line": 220, + "line": 232, "column": 6 }, "end": { - "line": 222, + "line": 234, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 4248, - "end": 4265, + "start": 4453, + "end": 4470, "loc": { "start": { - "line": 220, + "line": 232, "column": 10 }, "end": { - "line": 220, + "line": 232, "column": 27 } }, "left": { "type": "Identifier", - "start": 4248, - "end": 4252, + "start": 4453, + "end": 4457, "loc": { "start": { - "line": 220, + "line": 232, "column": 10 }, "end": { - "line": 220, + "line": 232, "column": 14 }, "identifierName": "part" @@ -6296,15 +6856,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4257, - "end": 4265, + "start": 4462, + "end": 4470, "loc": { "start": { - "line": 220, + "line": 232, "column": 19 }, "end": { - "line": 220, + "line": 232, "column": 27 }, "identifierName": "wildcard" @@ -6314,44 +6874,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 4267, - "end": 4296, + "start": 4472, + "end": 4501, "loc": { "start": { - "line": 220, + "line": 232, "column": 29 }, "end": { - "line": 222, + "line": 234, "column": 7 } }, "body": [ { "type": "ReturnStatement", - "start": 4277, - "end": 4288, + "start": 4482, + "end": 4493, "loc": { "start": { - "line": 221, + "line": 233, "column": 8 }, "end": { - "line": 221, + "line": 233, "column": 19 } }, "argument": { "type": "BooleanLiteral", - "start": 4284, - "end": 4288, + "start": 4489, + "end": 4493, "loc": { "start": { - "line": 221, + "line": 233, "column": 15 }, "end": { - "line": 221, + "line": 233, "column": 19 } }, @@ -6369,29 +6929,29 @@ }, { "type": "ReturnStatement", - "start": 4307, - "end": 4319, + "start": 4512, + "end": 4524, "loc": { "start": { - "line": 224, + "line": 236, "column": 4 }, "end": { - "line": 224, + "line": 236, "column": 16 } }, "argument": { "type": "BooleanLiteral", - "start": 4314, - "end": 4319, + "start": 4519, + "end": 4524, "loc": { "start": { - "line": 224, + "line": 236, "column": 11 }, "end": { - "line": 224, + "line": 236, "column": 16 } }, @@ -6406,15 +6966,15 @@ { "type": "CommentBlock", "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 4047, - "end": 4184, + "start": 4252, + "end": 4389, "loc": { "start": { - "line": 213, + "line": 225, "column": 2 }, "end": { - "line": 217, + "line": 229, "column": 5 } } @@ -6424,15 +6984,15 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4327, - "end": 4417, + "start": 4532, + "end": 4622, "loc": { "start": { - "line": 227, + "line": 239, "column": 2 }, "end": { - "line": 230, + "line": 242, "column": 5 } } @@ -6441,15 +7001,15 @@ }, { "type": "ClassMethod", - "start": 4420, - "end": 4753, + "start": 4625, + "end": 4958, "loc": { "start": { - "line": 231, + "line": 243, "column": 2 }, "end": { - "line": 243, + "line": 255, "column": 3 } }, @@ -6457,15 +7017,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4420, - "end": 4432, + "start": 4625, + "end": 4637, "loc": { "start": { - "line": 231, + "line": 243, "column": 2 }, "end": { - "line": 231, + "line": 243, "column": 14 }, "identifierName": "get_position" @@ -6481,87 +7041,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4436, - "end": 4753, + "start": 4641, + "end": 4958, "loc": { "start": { - "line": 231, + "line": 243, "column": 18 }, "end": { - "line": 243, + "line": 255, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 4442, - "end": 4524, + "start": 4647, + "end": 4729, "loc": { "start": { - "line": 232, + "line": 244, "column": 4 }, "end": { - "line": 234, + "line": 246, "column": 5 } }, "test": { "type": "CallExpression", - "start": 4446, - "end": 4463, + "start": 4651, + "end": 4668, "loc": { "start": { - "line": 232, + "line": 244, "column": 8 }, "end": { - "line": 232, + "line": 244, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 4446, - "end": 4461, + "start": 4651, + "end": 4666, "loc": { "start": { - "line": 232, + "line": 244, "column": 8 }, "end": { - "line": 232, + "line": 244, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 4446, - "end": 4450, + "start": 4651, + "end": 4655, "loc": { "start": { - "line": 232, + "line": 244, "column": 8 }, "end": { - "line": 232, + "line": 244, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4451, - "end": 4461, + "start": 4656, + "end": 4666, "loc": { "start": { - "line": 232, + "line": 244, "column": 13 }, "end": { - "line": 232, + "line": 244, "column": 23 }, "identifierName": "is_partial" @@ -6574,44 +7134,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 4465, - "end": 4524, + "start": 4670, + "end": 4729, "loc": { "start": { - "line": 232, + "line": 244, "column": 27 }, "end": { - "line": 234, + "line": 246, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 4473, - "end": 4518, + "start": 4678, + "end": 4723, "loc": { "start": { - "line": 233, + "line": 245, "column": 6 }, "end": { - "line": 233, + "line": 245, "column": 51 } }, "argument": { "type": "StringLiteral", - "start": 4479, - "end": 4518, + "start": 4684, + "end": 4723, "loc": { "start": { - "line": 233, + "line": 245, "column": 12 }, "end": { - "line": 233, + "line": 245, "column": 51 } }, @@ -6629,156 +7189,156 @@ }, { "type": "ReturnStatement", - "start": 4529, - "end": 4749, + "start": 4734, + "end": 4954, "loc": { "start": { - "line": 235, + "line": 247, "column": 4 }, "end": { - "line": 242, + "line": 254, "column": 34 } }, "argument": { "type": "BinaryExpression", - "start": 4536, - "end": 4749, + "start": 4741, + "end": 4954, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 242, + "line": 254, "column": 34 } }, "left": { "type": "BinaryExpression", - "start": 4536, - "end": 4712, + "start": 4741, + "end": 4917, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 241, + "line": 253, "column": 30 } }, "left": { "type": "BinaryExpression", - "start": 4536, - "end": 4679, + "start": 4741, + "end": 4884, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 240, + "line": 252, "column": 27 } }, "left": { "type": "BinaryExpression", - "start": 4536, - "end": 4649, + "start": 4741, + "end": 4854, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 239, + "line": 251, "column": 27 } }, "left": { "type": "BinaryExpression", - "start": 4536, - "end": 4619, + "start": 4741, + "end": 4824, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 238, + "line": 250, "column": 24 } }, "left": { "type": "BinaryExpression", - "start": 4536, - "end": 4592, + "start": 4741, + "end": 4797, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 237, + "line": 249, "column": 20 } }, "left": { "type": "BinaryExpression", - "start": 4536, - "end": 4569, + "start": 4741, + "end": 4774, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 236, + "line": 248, "column": 21 } }, "left": { "type": "MemberExpression", - "start": 4536, - "end": 4545, + "start": 4741, + "end": 4750, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 235, + "line": 247, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 4536, - "end": 4540, + "start": 4741, + "end": 4745, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 235, + "line": 247, "column": 15 } } }, "property": { "type": "Identifier", - "start": 4541, - "end": 4545, + "start": 4746, + "end": 4750, "loc": { "start": { - "line": 235, + "line": 247, "column": 16 }, "end": { - "line": 235, + "line": 247, "column": 20 }, "identifierName": "k_in" @@ -6790,58 +7350,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4554, - "end": 4569, + "start": 4759, + "end": 4774, "loc": { "start": { - "line": 236, + "line": 248, "column": 6 }, "end": { - "line": 236, + "line": 248, "column": 21 } }, "left": { "type": "MemberExpression", - "start": 4554, - "end": 4564, + "start": 4759, + "end": 4769, "loc": { "start": { - "line": 236, + "line": 248, "column": 6 }, "end": { - "line": 236, + "line": 248, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 4554, - "end": 4558, + "start": 4759, + "end": 4763, "loc": { "start": { - "line": 236, + "line": 248, "column": 6 }, "end": { - "line": 236, + "line": 248, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4559, - "end": 4564, + "start": 4764, + "end": 4769, "loc": { "start": { - "line": 236, + "line": 248, "column": 11 }, "end": { - "line": 236, + "line": 248, "column": 16 }, "identifierName": "winal" @@ -6853,15 +7413,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4567, - "end": 4569, + "start": 4772, + "end": 4774, "loc": { "start": { - "line": 236, + "line": 248, "column": 19 }, "end": { - "line": 236, + "line": 248, "column": 21 } }, @@ -6876,58 +7436,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4578, - "end": 4592, + "start": 4783, + "end": 4797, "loc": { "start": { - "line": 237, + "line": 249, "column": 6 }, "end": { - "line": 237, + "line": 249, "column": 20 } }, "left": { "type": "MemberExpression", - "start": 4578, - "end": 4586, + "start": 4783, + "end": 4791, "loc": { "start": { - "line": 237, + "line": 249, "column": 6 }, "end": { - "line": 237, + "line": 249, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 4578, - "end": 4582, + "start": 4783, + "end": 4787, "loc": { "start": { - "line": 237, + "line": 249, "column": 6 }, "end": { - "line": 237, + "line": 249, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4583, - "end": 4586, + "start": 4788, + "end": 4791, "loc": { "start": { - "line": 237, + "line": 249, "column": 11 }, "end": { - "line": 237, + "line": 249, "column": 14 }, "identifierName": "tun" @@ -6939,15 +7499,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4589, - "end": 4592, + "start": 4794, + "end": 4797, "loc": { "start": { - "line": 237, + "line": 249, "column": 17 }, "end": { - "line": 237, + "line": 249, "column": 20 } }, @@ -6962,58 +7522,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4601, - "end": 4619, + "start": 4806, + "end": 4824, "loc": { "start": { - "line": 238, + "line": 250, "column": 6 }, "end": { - "line": 238, + "line": 250, "column": 24 } }, "left": { "type": "MemberExpression", - "start": 4601, - "end": 4612, + "start": 4806, + "end": 4817, "loc": { "start": { - "line": 238, + "line": 250, "column": 6 }, "end": { - "line": 238, + "line": 250, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4601, - "end": 4605, + "start": 4806, + "end": 4810, "loc": { "start": { - "line": 238, + "line": 250, "column": 6 }, "end": { - "line": 238, + "line": 250, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4606, - "end": 4612, + "start": 4811, + "end": 4817, "loc": { "start": { - "line": 238, + "line": 250, "column": 11 }, "end": { - "line": 238, + "line": 250, "column": 17 }, "identifierName": "k_atun" @@ -7025,15 +7585,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4615, - "end": 4619, + "start": 4820, + "end": 4824, "loc": { "start": { - "line": 238, + "line": 250, "column": 20 }, "end": { - "line": 238, + "line": 250, "column": 24 } }, @@ -7048,58 +7608,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4628, - "end": 4649, + "start": 4833, + "end": 4854, "loc": { "start": { - "line": 239, + "line": 251, "column": 6 }, "end": { - "line": 239, + "line": 251, "column": 27 } }, "left": { "type": "MemberExpression", - "start": 4628, - "end": 4640, + "start": 4833, + "end": 4845, "loc": { "start": { - "line": 239, + "line": 251, "column": 6 }, "end": { - "line": 239, + "line": 251, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4628, - "end": 4632, + "start": 4833, + "end": 4837, "loc": { "start": { - "line": 239, + "line": 251, "column": 6 }, "end": { - "line": 239, + "line": 251, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4633, - "end": 4640, + "start": 4838, + "end": 4845, "loc": { "start": { - "line": 239, + "line": 251, "column": 11 }, "end": { - "line": 239, + "line": 251, "column": 18 }, "identifierName": "bak_tun" @@ -7111,15 +7671,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4643, - "end": 4649, + "start": 4848, + "end": 4854, "loc": { "start": { - "line": 239, + "line": 251, "column": 21 }, "end": { - "line": 239, + "line": 251, "column": 27 } }, @@ -7134,58 +7694,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4658, - "end": 4679, + "start": 4863, + "end": 4884, "loc": { "start": { - "line": 240, + "line": 252, "column": 6 }, "end": { - "line": 240, + "line": 252, "column": 27 } }, "left": { "type": "MemberExpression", - "start": 4658, - "end": 4669, + "start": 4863, + "end": 4874, "loc": { "start": { - "line": 240, + "line": 252, "column": 6 }, "end": { - "line": 240, + "line": 252, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 4658, - "end": 4662, + "start": 4863, + "end": 4867, "loc": { "start": { - "line": 240, + "line": 252, "column": 6 }, "end": { - "line": 240, + "line": 252, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4663, - "end": 4669, + "start": 4868, + "end": 4874, "loc": { "start": { - "line": 240, + "line": 252, "column": 11 }, "end": { - "line": 240, + "line": 252, "column": 17 }, "identifierName": "piktun" @@ -7197,15 +7757,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4672, - "end": 4679, + "start": 4877, + "end": 4884, "loc": { "start": { - "line": 240, + "line": 252, "column": 20 }, "end": { - "line": 240, + "line": 252, "column": 27 } }, @@ -7220,58 +7780,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4688, - "end": 4712, + "start": 4893, + "end": 4917, "loc": { "start": { - "line": 241, + "line": 253, "column": 6 }, "end": { - "line": 241, + "line": 253, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 4688, - "end": 4701, + "start": 4893, + "end": 4906, "loc": { "start": { - "line": 241, + "line": 253, "column": 6 }, "end": { - "line": 241, + "line": 253, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 4688, - "end": 4692, + "start": 4893, + "end": 4897, "loc": { "start": { - "line": 241, + "line": 253, "column": 6 }, "end": { - "line": 241, + "line": 253, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4693, - "end": 4701, + "start": 4898, + "end": 4906, "loc": { "start": { - "line": 241, + "line": 253, "column": 11 }, "end": { - "line": 241, + "line": 253, "column": 19 }, "identifierName": "kalabtun" @@ -7283,15 +7843,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4704, - "end": 4712, + "start": 4909, + "end": 4917, "loc": { "start": { - "line": 241, + "line": 253, "column": 22 }, "end": { - "line": 241, + "line": 253, "column": 30 } }, @@ -7306,58 +7866,58 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4721, - "end": 4749, + "start": 4926, + "end": 4954, "loc": { "start": { - "line": 242, + "line": 254, "column": 6 }, "end": { - "line": 242, + "line": 254, "column": 34 } }, "left": { "type": "MemberExpression", - "start": 4721, - "end": 4736, + "start": 4926, + "end": 4941, "loc": { "start": { - "line": 242, + "line": 254, "column": 6 }, "end": { - "line": 242, + "line": 254, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 4721, - "end": 4725, + "start": 4926, + "end": 4930, "loc": { "start": { - "line": 242, + "line": 254, "column": 6 }, "end": { - "line": 242, + "line": 254, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4726, - "end": 4736, + "start": 4931, + "end": 4941, "loc": { "start": { - "line": 242, + "line": 254, "column": 11 }, "end": { - "line": 242, + "line": 254, "column": 21 }, "identifierName": "kinchiltun" @@ -7369,15 +7929,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 4739, - "end": 4749, + "start": 4944, + "end": 4954, "loc": { "start": { - "line": 242, + "line": 254, "column": 24 }, "end": { - "line": 242, + "line": 254, "column": 34 } }, @@ -7398,15 +7958,15 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4327, - "end": 4417, + "start": 4532, + "end": 4622, "loc": { "start": { - "line": 227, + "line": 239, "column": 2 }, "end": { - "line": 230, + "line": 242, "column": 5 } } @@ -7416,15 +7976,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4757, - "end": 4800, + "start": 4962, + "end": 5005, "loc": { "start": { - "line": 245, + "line": 257, "column": 2 }, "end": { - "line": 248, + "line": 260, "column": 5 } } @@ -7433,15 +7993,15 @@ }, { "type": "ClassMethod", - "start": 4803, - "end": 4890, + "start": 5008, + "end": 5095, "loc": { "start": { - "line": 249, + "line": 261, "column": 2 }, "end": { - "line": 253, + "line": 265, "column": 3 } }, @@ -7449,15 +8009,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4803, - "end": 4823, + "start": 5008, + "end": 5028, "loc": { "start": { - "line": 249, + "line": 261, "column": 2 }, "end": { - "line": 249, + "line": 261, "column": 22 }, "identifierName": "build_calendar_round" @@ -7473,72 +8033,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4827, - "end": 4890, + "start": 5032, + "end": 5095, "loc": { "start": { - "line": 249, + "line": 261, "column": 26 }, "end": { - "line": 253, + "line": 265, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 4833, - "end": 4886, + "start": 5038, + "end": 5091, "loc": { "start": { - "line": 250, + "line": 262, "column": 4 }, "end": { - "line": 252, + "line": 264, "column": 5 } }, "argument": { "type": "CallExpression", - "start": 4840, - "end": 4886, + "start": 5045, + "end": 5091, "loc": { "start": { - "line": 250, + "line": 262, "column": 11 }, "end": { - "line": 252, + "line": 264, "column": 5 } }, "callee": { "type": "MemberExpression", - "start": 4840, - "end": 4852, + "start": 5045, + "end": 5057, "loc": { "start": { - "line": 250, + "line": 262, "column": 11 }, "end": { - "line": 250, + "line": 262, "column": 23 } }, "object": { "type": "Identifier", - "start": 4840, - "end": 4846, + "start": 5045, + "end": 5051, "loc": { "start": { - "line": 250, + "line": 262, "column": 11 }, "end": { - "line": 250, + "line": 262, "column": 17 }, "identifierName": "origin" @@ -7547,15 +8107,15 @@ }, "property": { "type": "Identifier", - "start": 4847, - "end": 4852, + "start": 5052, + "end": 5057, "loc": { "start": { - "line": 250, + "line": 262, "column": 18 }, "end": { - "line": 250, + "line": 262, "column": 23 }, "identifierName": "shift" @@ -7567,58 +8127,58 @@ "arguments": [ { "type": "CallExpression", - "start": 4860, - "end": 4879, + "start": 5065, + "end": 5084, "loc": { "start": { - "line": 251, + "line": 263, "column": 6 }, "end": { - "line": 251, + "line": 263, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 4860, - "end": 4877, + "start": 5065, + "end": 5082, "loc": { "start": { - "line": 251, + "line": 263, "column": 6 }, "end": { - "line": 251, + "line": 263, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 4860, - "end": 4864, + "start": 5065, + "end": 5069, "loc": { "start": { - "line": 251, + "line": 263, "column": 6 }, "end": { - "line": 251, + "line": 263, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4865, - "end": 4877, + "start": 5070, + "end": 5082, "loc": { "start": { - "line": 251, + "line": 263, "column": 11 }, "end": { - "line": 251, + "line": 263, "column": 23 }, "identifierName": "get_position" @@ -7640,15 +8200,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4757, - "end": 4800, + "start": 4962, + "end": 5005, "loc": { "start": { - "line": 245, + "line": 257, "column": 2 }, "end": { - "line": 248, + "line": 260, "column": 5 } } @@ -7658,15 +8218,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 4894, - "end": 4932, + "start": 5099, + "end": 5137, "loc": { "start": { - "line": 255, + "line": 267, "column": 2 }, "end": { - "line": 258, + "line": 270, "column": 5 } } @@ -7675,15 +8235,15 @@ }, { "type": "ClassMethod", - "start": 4935, - "end": 5045, + "start": 5140, + "end": 5250, "loc": { "start": { - "line": 259, + "line": 271, "column": 2 }, "end": { - "line": 264, + "line": 276, "column": 3 } }, @@ -7691,15 +8251,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4935, - "end": 4950, + "start": 5140, + "end": 5155, "loc": { "start": { - "line": 259, + "line": 271, "column": 2 }, "end": { - "line": 259, + "line": 271, "column": 17 }, "identifierName": "build_full_date" @@ -7715,58 +8275,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4954, - "end": 5045, + "start": 5159, + "end": 5250, "loc": { "start": { - "line": 259, + "line": 271, "column": 21 }, "end": { - "line": 264, + "line": 276, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 4960, - "end": 5041, + "start": 5165, + "end": 5246, "loc": { "start": { - "line": 260, + "line": 272, "column": 4 }, "end": { - "line": 263, + "line": 275, "column": 5 } }, "argument": { "type": "NewExpression", - "start": 4967, - "end": 5041, + "start": 5172, + "end": 5246, "loc": { "start": { - "line": 260, + "line": 272, "column": 11 }, "end": { - "line": 263, + "line": 275, "column": 5 } }, "callee": { "type": "Identifier", - "start": 4971, - "end": 4979, + "start": 5176, + "end": 5184, "loc": { "start": { - "line": 260, + "line": 272, "column": 15 }, "end": { - "line": 260, + "line": 272, "column": 23 }, "identifierName": "FullDate" @@ -7776,58 +8336,58 @@ "arguments": [ { "type": "CallExpression", - "start": 4987, - "end": 5014, + "start": 5192, + "end": 5219, "loc": { "start": { - "line": 261, + "line": 273, "column": 6 }, "end": { - "line": 261, + "line": 273, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 4987, - "end": 5012, + "start": 5192, + "end": 5217, "loc": { "start": { - "line": 261, + "line": 273, "column": 6 }, "end": { - "line": 261, + "line": 273, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 4987, - "end": 4991, + "start": 5192, + "end": 5196, "loc": { "start": { - "line": 261, + "line": 273, "column": 6 }, "end": { - "line": 261, + "line": 273, "column": 10 } } }, "property": { "type": "Identifier", - "start": 4992, - "end": 5012, + "start": 5197, + "end": 5217, "loc": { "start": { - "line": 261, + "line": 273, "column": 11 }, "end": { - "line": 261, + "line": 273, "column": 31 }, "identifierName": "build_calendar_round" @@ -7840,58 +8400,58 @@ }, { "type": "CallExpression", - "start": 5022, - "end": 5034, + "start": 5227, + "end": 5239, "loc": { "start": { - "line": 262, + "line": 274, "column": 6 }, "end": { - "line": 262, + "line": 274, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 5022, - "end": 5032, + "start": 5227, + "end": 5237, "loc": { "start": { - "line": 262, + "line": 274, "column": 6 }, "end": { - "line": 262, + "line": 274, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 5022, - "end": 5026, + "start": 5227, + "end": 5231, "loc": { "start": { - "line": 262, + "line": 274, "column": 6 }, "end": { - "line": 262, + "line": 274, "column": 10 } } }, "property": { "type": "Identifier", - "start": 5027, - "end": 5032, + "start": 5232, + "end": 5237, "loc": { "start": { - "line": 262, + "line": 274, "column": 11 }, "end": { - "line": 262, + "line": 274, "column": 16 }, "identifierName": "clone" @@ -7913,15 +8473,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 4894, - "end": 4932, + "start": 5099, + "end": 5137, "loc": { "start": { - "line": 255, + "line": 267, "column": 2 }, "end": { - "line": 258, + "line": 270, "column": 5 } } @@ -7931,15 +8491,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5049, - "end": 5153, + "start": 5254, + "end": 5358, "loc": { "start": { - "line": 266, + "line": 278, "column": 2 }, "end": { - "line": 269, + "line": 281, "column": 5 } } @@ -7948,15 +8508,15 @@ }, { "type": "ClassMethod", - "start": 5156, - "end": 5976, + "start": 5361, + "end": 6185, "loc": { "start": { - "line": 270, + "line": 282, "column": 2 }, "end": { - "line": 300, + "line": 312, "column": 3 } }, @@ -7964,15 +8524,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5156, - "end": 5164, + "start": 5361, + "end": 5369, "loc": { "start": { - "line": 270, + "line": 282, "column": 2 }, "end": { - "line": 270, + "line": 282, "column": 10 }, "identifierName": "toString" @@ -7988,59 +8548,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5168, - "end": 5976, + "start": 5373, + "end": 6185, "loc": { "start": { - "line": 270, + "line": 282, "column": 14 }, "end": { - "line": 300, + "line": 312, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 5174, - "end": 5201, + "start": 5379, + "end": 5406, "loc": { "start": { - "line": 271, + "line": 283, "column": 4 }, "end": { - "line": 271, + "line": 283, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5178, - "end": 5201, + "start": 5383, + "end": 5406, "loc": { "start": { - "line": 271, + "line": 283, "column": 8 }, "end": { - "line": 271, + "line": 283, "column": 31 } }, "id": { "type": "Identifier", - "start": 5178, - "end": 5196, + "start": 5383, + "end": 5401, "loc": { "start": { - "line": 271, + "line": 283, "column": 8 }, "end": { - "line": 271, + "line": 283, "column": 26 }, "identifierName": "significant_digits" @@ -8049,15 +8609,15 @@ }, "init": { "type": "ArrayExpression", - "start": 5199, - "end": 5201, + "start": 5404, + "end": 5406, "loc": { "start": { - "line": 271, + "line": 283, "column": 29 }, "end": { - "line": 271, + "line": 283, "column": 31 } }, @@ -8069,58 +8629,58 @@ }, { "type": "ForStatement", - "start": 5206, - "end": 5401, + "start": 5411, + "end": 5610, "loc": { "start": { - "line": 272, + "line": 284, "column": 4 }, "end": { - "line": 278, + "line": 290, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 5211, - "end": 5238, + "start": 5416, + "end": 5445, "loc": { "start": { - "line": 272, + "line": 284, "column": 9 }, "end": { - "line": 272, - "column": 36 + "line": 284, + "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5215, - "end": 5238, + "start": 5420, + "end": 5445, "loc": { "start": { - "line": 272, + "line": 284, "column": 13 }, "end": { - "line": 272, - "column": 36 + "line": 284, + "column": 38 } }, "id": { "type": "Identifier", - "start": 5215, - "end": 5216, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 272, + "line": 284, "column": 13 }, "end": { - "line": 272, + "line": 284, "column": 14 }, "identifierName": "i" @@ -8129,72 +8689,72 @@ }, "init": { "type": "BinaryExpression", - "start": 5219, - "end": 5238, + "start": 5424, + "end": 5445, "loc": { "start": { - "line": 272, + "line": 284, "column": 17 }, "end": { - "line": 272, - "column": 36 + "line": 284, + "column": 38 } }, "left": { "type": "MemberExpression", - "start": 5219, - "end": 5236, + "start": 5424, + "end": 5441, "loc": { "start": { - "line": 272, + "line": 284, "column": 17 }, "end": { - "line": 272, + "line": 284, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 5219, - "end": 5229, + "start": 5424, + "end": 5434, "loc": { "start": { - "line": 272, + "line": 284, "column": 17 }, "end": { - "line": 272, + "line": 284, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5219, - "end": 5223, + "start": 5424, + "end": 5428, "loc": { "start": { - "line": 272, + "line": 284, "column": 17 }, "end": { - "line": 272, + "line": 284, "column": 21 } } }, "property": { "type": "Identifier", - "start": 5224, - "end": 5229, + "start": 5429, + "end": 5434, "loc": { "start": { - "line": 272, + "line": 284, "column": 22 }, "end": { - "line": 272, + "line": 284, "column": 27 }, "identifierName": "parts" @@ -8205,15 +8765,15 @@ }, "property": { "type": "Identifier", - "start": 5230, - "end": 5236, + "start": 5435, + "end": 5441, "loc": { "start": { - "line": 272, + "line": 284, "column": 28 }, "end": { - "line": 272, + "line": 284, "column": 34 }, "identifierName": "length" @@ -8225,16 +8785,16 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 5237, - "end": 5238, + "start": 5444, + "end": 5445, "loc": { "start": { - "line": 272, - "column": 35 + "line": 284, + "column": 37 }, "end": { - "line": 272, - "column": 36 + "line": 284, + "column": 38 } }, "extra": { @@ -8250,30 +8810,30 @@ }, "test": { "type": "BinaryExpression", - "start": 5240, - "end": 5246, + "start": 5447, + "end": 5453, "loc": { "start": { - "line": 272, - "column": 38 + "line": 284, + "column": 40 }, "end": { - "line": 272, - "column": 44 + "line": 284, + "column": 46 } }, "left": { "type": "Identifier", - "start": 5240, - "end": 5241, + "start": 5447, + "end": 5448, "loc": { "start": { - "line": 272, - "column": 38 + "line": 284, + "column": 40 }, "end": { - "line": 272, - "column": 39 + "line": 284, + "column": 41 }, "identifierName": "i" }, @@ -8282,16 +8842,16 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 5245, - "end": 5246, + "start": 5452, + "end": 5453, "loc": { "start": { - "line": 272, - "column": 43 + "line": 284, + "column": 45 }, "end": { - "line": 272, - "column": 44 + "line": 284, + "column": 46 } }, "extra": { @@ -8303,32 +8863,32 @@ }, "update": { "type": "UpdateExpression", - "start": 5248, - "end": 5251, + "start": 5455, + "end": 5458, "loc": { "start": { - "line": 272, - "column": 46 + "line": 284, + "column": 48 }, "end": { - "line": 272, - "column": 49 + "line": 284, + "column": 51 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", - "start": 5248, - "end": 5249, + "start": 5455, + "end": 5456, "loc": { "start": { - "line": 272, - "column": 46 + "line": 284, + "column": 48 }, "end": { - "line": 272, - "column": 47 + "line": 284, + "column": 49 }, "identifierName": "i" }, @@ -8337,59 +8897,59 @@ }, "body": { "type": "BlockStatement", - "start": 5253, - "end": 5401, + "start": 5460, + "end": 5610, "loc": { "start": { - "line": 272, - "column": 51 + "line": 284, + "column": 53 }, "end": { - "line": 278, + "line": 290, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 5261, - "end": 5285, + "start": 5468, + "end": 5492, "loc": { "start": { - "line": 273, + "line": 285, "column": 6 }, "end": { - "line": 273, + "line": 285, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5265, - "end": 5285, + "start": 5472, + "end": 5492, "loc": { "start": { - "line": 273, + "line": 285, "column": 10 }, "end": { - "line": 273, + "line": 285, "column": 30 } }, "id": { "type": "Identifier", - "start": 5265, - "end": 5269, + "start": 5472, + "end": 5476, "loc": { "start": { - "line": 273, + "line": 285, "column": 10 }, "end": { - "line": 273, + "line": 285, "column": 14 }, "identifierName": "part" @@ -8398,58 +8958,58 @@ }, "init": { "type": "MemberExpression", - "start": 5272, - "end": 5285, + "start": 5479, + "end": 5492, "loc": { "start": { - "line": 273, + "line": 285, "column": 17 }, "end": { - "line": 273, + "line": 285, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 5272, - "end": 5282, + "start": 5479, + "end": 5489, "loc": { "start": { - "line": 273, + "line": 285, "column": 17 }, "end": { - "line": 273, + "line": 285, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 5272, - "end": 5276, + "start": 5479, + "end": 5483, "loc": { "start": { - "line": 273, + "line": 285, "column": 17 }, "end": { - "line": 273, + "line": 285, "column": 21 } } }, "property": { "type": "Identifier", - "start": 5277, - "end": 5282, + "start": 5484, + "end": 5489, "loc": { "start": { - "line": 273, + "line": 285, "column": 22 }, "end": { - "line": 273, + "line": 285, "column": 27 }, "identifierName": "parts" @@ -8460,15 +9020,15 @@ }, "property": { "type": "Identifier", - "start": 5283, - "end": 5284, + "start": 5490, + "end": 5491, "loc": { "start": { - "line": 273, + "line": 285, "column": 28 }, "end": { - "line": 273, + "line": 285, "column": 29 }, "identifierName": "i" @@ -8483,43 +9043,43 @@ }, { "type": "IfStatement", - "start": 5292, - "end": 5395, + "start": 5499, + "end": 5604, "loc": { "start": { - "line": 274, + "line": 286, "column": 6 }, "end": { - "line": 277, + "line": 289, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 5296, - "end": 5306, + "start": 5503, + "end": 5513, "loc": { "start": { - "line": 274, + "line": 286, "column": 10 }, "end": { - "line": 274, + "line": 286, "column": 20 } }, "left": { "type": "Identifier", - "start": 5296, - "end": 5300, + "start": 5503, + "end": 5507, "loc": { "start": { - "line": 274, + "line": 286, "column": 10 }, "end": { - "line": 274, + "line": 286, "column": 14 }, "identifierName": "part" @@ -8529,15 +9089,15 @@ "operator": "!==", "right": { "type": "NumericLiteral", - "start": 5305, - "end": 5306, + "start": 5512, + "end": 5513, "loc": { "start": { - "line": 274, + "line": 286, "column": 19 }, "end": { - "line": 274, + "line": 286, "column": 20 } }, @@ -8550,59 +9110,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 5308, - "end": 5395, + "start": 5515, + "end": 5604, "loc": { "start": { - "line": 274, + "line": 286, "column": 22 }, "end": { - "line": 277, + "line": 289, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 5318, - "end": 5373, + "start": 5525, + "end": 5582, "loc": { "start": { - "line": 275, + "line": 287, "column": 8 }, "end": { - "line": 275, - "column": 63 + "line": 287, + "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 5318, - "end": 5373, + "start": 5525, + "end": 5582, "loc": { "start": { - "line": 275, + "line": 287, "column": 8 }, "end": { - "line": 275, - "column": 63 + "line": 287, + "column": 65 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5318, - "end": 5336, + "start": 5525, + "end": 5543, "loc": { "start": { - "line": 275, + "line": 287, "column": 8 }, "end": { - "line": 275, + "line": 287, "column": 26 }, "identifierName": "significant_digits" @@ -8611,100 +9171,100 @@ }, "right": { "type": "CallExpression", - "start": 5339, - "end": 5373, + "start": 5546, + "end": 5582, "loc": { "start": { - "line": 275, + "line": 287, "column": 29 }, "end": { - "line": 275, - "column": 63 + "line": 287, + "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 5339, - "end": 5371, + "start": 5546, + "end": 5580, "loc": { "start": { - "line": 275, + "line": 287, "column": 29 }, "end": { - "line": 275, - "column": 61 + "line": 287, + "column": 63 } }, "object": { "type": "CallExpression", - "start": 5339, - "end": 5363, + "start": 5546, + "end": 5572, "loc": { "start": { - "line": 275, + "line": 287, "column": 29 }, "end": { - "line": 275, - "column": 53 + "line": 287, + "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 5339, - "end": 5355, + "start": 5546, + "end": 5562, "loc": { "start": { - "line": 275, + "line": 287, "column": 29 }, "end": { - "line": 275, + "line": 287, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 5339, - "end": 5349, + "start": 5546, + "end": 5556, "loc": { "start": { - "line": 275, + "line": 287, "column": 29 }, "end": { - "line": 275, + "line": 287, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 5339, - "end": 5343, + "start": 5546, + "end": 5550, "loc": { "start": { - "line": 275, + "line": 287, "column": 29 }, "end": { - "line": 275, + "line": 287, "column": 33 } } }, "property": { "type": "Identifier", - "start": 5344, - "end": 5349, + "start": 5551, + "end": 5556, "loc": { "start": { - "line": 275, + "line": 287, "column": 34 }, "end": { - "line": 275, + "line": 287, "column": 39 }, "identifierName": "parts" @@ -8715,15 +9275,15 @@ }, "property": { "type": "Identifier", - "start": 5350, - "end": 5355, + "start": 5557, + "end": 5562, "loc": { "start": { - "line": 275, + "line": 287, "column": 40 }, "end": { - "line": 275, + "line": 287, "column": 45 }, "identifierName": "slice" @@ -8735,15 +9295,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5356, - "end": 5357, + "start": 5563, + "end": 5564, "loc": { "start": { - "line": 275, + "line": 287, "column": 46 }, "end": { - "line": 275, + "line": 287, "column": 47 } }, @@ -8755,29 +9315,29 @@ }, { "type": "BinaryExpression", - "start": 5359, - "end": 5362, + "start": 5566, + "end": 5571, "loc": { "start": { - "line": 275, + "line": 287, "column": 49 }, "end": { - "line": 275, - "column": 52 + "line": 287, + "column": 54 } }, "left": { "type": "Identifier", - "start": 5359, - "end": 5360, + "start": 5566, + "end": 5567, "loc": { "start": { - "line": 275, + "line": 287, "column": 49 }, "end": { - "line": 275, + "line": 287, "column": 50 }, "identifierName": "i" @@ -8787,16 +9347,16 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 5361, - "end": 5362, + "start": 5570, + "end": 5571, "loc": { "start": { - "line": 275, - "column": 51 + "line": 287, + "column": 53 }, "end": { - "line": 275, - "column": 52 + "line": 287, + "column": 54 } }, "extra": { @@ -8810,16 +9370,16 @@ }, "property": { "type": "Identifier", - "start": 5364, - "end": 5371, + "start": 5573, + "end": 5580, "loc": { "start": { - "line": 275, - "column": 54 + "line": 287, + "column": 56 }, "end": { - "line": 275, - "column": 61 + "line": 287, + "column": 63 }, "identifierName": "reverse" }, @@ -8833,15 +9393,15 @@ }, { "type": "BreakStatement", - "start": 5382, - "end": 5387, + "start": 5591, + "end": 5596, "loc": { "start": { - "line": 276, + "line": 288, "column": 8 }, "end": { - "line": 276, + "line": 288, "column": 13 } }, @@ -8858,58 +9418,58 @@ }, { "type": "ForStatement", - "start": 5407, - "end": 5559, + "start": 5616, + "end": 5768, "loc": { "start": { - "line": 280, + "line": 292, "column": 4 }, "end": { - "line": 284, + "line": 296, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 5412, - "end": 5421, + "start": 5621, + "end": 5630, "loc": { "start": { - "line": 280, + "line": 292, "column": 9 }, "end": { - "line": 280, + "line": 292, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5416, - "end": 5421, + "start": 5625, + "end": 5630, "loc": { "start": { - "line": 280, + "line": 292, "column": 13 }, "end": { - "line": 280, + "line": 292, "column": 18 } }, "id": { "type": "Identifier", - "start": 5416, - "end": 5417, + "start": 5625, + "end": 5626, "loc": { "start": { - "line": 280, + "line": 292, "column": 13 }, "end": { - "line": 280, + "line": 292, "column": 14 }, "identifierName": "i" @@ -8918,15 +9478,15 @@ }, "init": { "type": "NumericLiteral", - "start": 5420, - "end": 5421, + "start": 5629, + "end": 5630, "loc": { "start": { - "line": 280, + "line": 292, "column": 17 }, "end": { - "line": 280, + "line": 292, "column": 18 } }, @@ -8942,29 +9502,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5423, - "end": 5452, + "start": 5632, + "end": 5661, "loc": { "start": { - "line": 280, + "line": 292, "column": 20 }, "end": { - "line": 280, + "line": 292, "column": 49 } }, "left": { "type": "Identifier", - "start": 5423, - "end": 5424, + "start": 5632, + "end": 5633, "loc": { "start": { - "line": 280, + "line": 292, "column": 20 }, "end": { - "line": 280, + "line": 292, "column": 21 }, "identifierName": "i" @@ -8974,29 +9534,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5427, - "end": 5452, + "start": 5636, + "end": 5661, "loc": { "start": { - "line": 280, + "line": 292, "column": 24 }, "end": { - "line": 280, + "line": 292, "column": 49 } }, "object": { "type": "Identifier", - "start": 5427, - "end": 5445, + "start": 5636, + "end": 5654, "loc": { "start": { - "line": 280, + "line": 292, "column": 24 }, "end": { - "line": 280, + "line": 292, "column": 42 }, "identifierName": "significant_digits" @@ -9005,15 +9565,15 @@ }, "property": { "type": "Identifier", - "start": 5446, - "end": 5452, + "start": 5655, + "end": 5661, "loc": { "start": { - "line": 280, + "line": 292, "column": 43 }, "end": { - "line": 280, + "line": 292, "column": 49 }, "identifierName": "length" @@ -9025,15 +9585,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5454, - "end": 5457, + "start": 5663, + "end": 5666, "loc": { "start": { - "line": 280, + "line": 292, "column": 51 }, "end": { - "line": 280, + "line": 292, "column": 54 } }, @@ -9041,15 +9601,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5454, - "end": 5455, + "start": 5663, + "end": 5664, "loc": { "start": { - "line": 280, + "line": 292, "column": 51 }, "end": { - "line": 280, + "line": 292, "column": 52 }, "identifierName": "i" @@ -9059,72 +9619,72 @@ }, "body": { "type": "BlockStatement", - "start": 5459, - "end": 5559, + "start": 5668, + "end": 5768, "loc": { "start": { - "line": 280, + "line": 292, "column": 56 }, "end": { - "line": 284, + "line": 296, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 5467, - "end": 5553, + "start": 5676, + "end": 5762, "loc": { "start": { - "line": 281, + "line": 293, "column": 6 }, "end": { - "line": 283, + "line": 295, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 5471, - "end": 5506, + "start": 5680, + "end": 5715, "loc": { "start": { - "line": 281, + "line": 293, "column": 10 }, "end": { - "line": 281, + "line": 293, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 5471, - "end": 5492, + "start": 5680, + "end": 5701, "loc": { "start": { - "line": 281, + "line": 293, "column": 10 }, "end": { - "line": 281, + "line": 293, "column": 31 } }, "object": { "type": "Identifier", - "start": 5471, - "end": 5489, + "start": 5680, + "end": 5698, "loc": { "start": { - "line": 281, + "line": 293, "column": 10 }, "end": { - "line": 281, + "line": 293, "column": 28 }, "identifierName": "significant_digits" @@ -9133,15 +9693,15 @@ }, "property": { "type": "Identifier", - "start": 5490, - "end": 5491, + "start": 5699, + "end": 5700, "loc": { "start": { - "line": 281, + "line": 293, "column": 29 }, "end": { - "line": 281, + "line": 293, "column": 30 }, "identifierName": "i" @@ -9153,15 +9713,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5497, - "end": 5506, + "start": 5706, + "end": 5715, "loc": { "start": { - "line": 281, + "line": 293, "column": 36 }, "end": { - "line": 281, + "line": 293, "column": 45 }, "identifierName": "undefined" @@ -9171,73 +9731,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5508, - "end": 5553, + "start": 5717, + "end": 5762, "loc": { "start": { - "line": 281, + "line": 293, "column": 47 }, "end": { - "line": 283, + "line": 295, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 5518, - "end": 5545, + "start": 5727, + "end": 5754, "loc": { "start": { - "line": 282, + "line": 294, "column": 8 }, "end": { - "line": 282, + "line": 294, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 5518, - "end": 5545, + "start": 5727, + "end": 5754, "loc": { "start": { - "line": 282, + "line": 294, "column": 8 }, "end": { - "line": 282, + "line": 294, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5518, - "end": 5539, + "start": 5727, + "end": 5748, "loc": { "start": { - "line": 282, + "line": 294, "column": 8 }, "end": { - "line": 282, + "line": 294, "column": 29 } }, "object": { "type": "Identifier", - "start": 5518, - "end": 5536, + "start": 5727, + "end": 5745, "loc": { "start": { - "line": 282, + "line": 294, "column": 8 }, "end": { - "line": 282, + "line": 294, "column": 26 }, "identifierName": "significant_digits" @@ -9246,15 +9806,15 @@ }, "property": { "type": "Identifier", - "start": 5537, - "end": 5538, + "start": 5746, + "end": 5747, "loc": { "start": { - "line": 282, + "line": 294, "column": 27 }, "end": { - "line": 282, + "line": 294, "column": 28 }, "identifierName": "i" @@ -9265,15 +9825,15 @@ }, "right": { "type": "StringLiteral", - "start": 5542, - "end": 5545, + "start": 5751, + "end": 5754, "loc": { "start": { - "line": 282, + "line": 294, "column": 32 }, "end": { - "line": 282, + "line": 294, "column": 35 } }, @@ -9296,44 +9856,44 @@ }, { "type": "VariableDeclaration", - "start": 5565, - "end": 5608, + "start": 5774, + "end": 5817, "loc": { "start": { - "line": 286, + "line": 298, "column": 4 }, "end": { - "line": 286, + "line": 298, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5569, - "end": 5608, + "start": 5778, + "end": 5817, "loc": { "start": { - "line": 286, + "line": 298, "column": 8 }, "end": { - "line": 286, + "line": 298, "column": 47 } }, "id": { "type": "Identifier", - "start": 5569, - "end": 5580, + "start": 5778, + "end": 5789, "loc": { "start": { - "line": 286, + "line": 298, "column": 8 }, "end": { - "line": 286, + "line": 298, "column": 19 }, "identifierName": "date_length" @@ -9342,29 +9902,29 @@ }, "init": { "type": "MemberExpression", - "start": 5583, - "end": 5608, + "start": 5792, + "end": 5817, "loc": { "start": { - "line": 286, + "line": 298, "column": 22 }, "end": { - "line": 286, + "line": 298, "column": 47 } }, "object": { "type": "Identifier", - "start": 5583, - "end": 5601, + "start": 5792, + "end": 5810, "loc": { "start": { - "line": 286, + "line": 298, "column": 22 }, "end": { - "line": 286, + "line": 298, "column": 40 }, "identifierName": "significant_digits" @@ -9373,15 +9933,15 @@ }, "property": { "type": "Identifier", - "start": 5602, - "end": 5608, + "start": 5811, + "end": 5817, "loc": { "start": { - "line": 286, + "line": 298, "column": 41 }, "end": { - "line": 286, + "line": 298, "column": 47 }, "identifierName": "length" @@ -9396,43 +9956,43 @@ }, { "type": "IfStatement", - "start": 5613, - "end": 5737, + "start": 5822, + "end": 5946, "loc": { "start": { - "line": 287, + "line": 299, "column": 4 }, "end": { - "line": 291, + "line": 303, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 5617, - "end": 5632, + "start": 5826, + "end": 5841, "loc": { "start": { - "line": 287, + "line": 299, "column": 8 }, "end": { - "line": 287, + "line": 299, "column": 23 } }, "left": { "type": "Identifier", - "start": 5617, - "end": 5628, + "start": 5826, + "end": 5837, "loc": { "start": { - "line": 287, + "line": 299, "column": 8 }, "end": { - "line": 287, + "line": 299, "column": 19 }, "identifierName": "date_length" @@ -9442,15 +10002,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 5631, - "end": 5632, + "start": 5840, + "end": 5841, "loc": { "start": { - "line": 287, + "line": 299, "column": 22 }, "end": { - "line": 287, + "line": 299, "column": 23 } }, @@ -9463,73 +10023,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5634, - "end": 5737, + "start": 5843, + "end": 5946, "loc": { "start": { - "line": 287, + "line": 299, "column": 25 }, "end": { - "line": 291, + "line": 303, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 5642, - "end": 5731, + "start": 5851, + "end": 5940, "loc": { "start": { - "line": 288, + "line": 300, "column": 6 }, "end": { - "line": 290, + "line": 302, "column": 7 } }, "init": { "type": "VariableDeclaration", - "start": 5647, - "end": 5656, + "start": 5856, + "end": 5865, "loc": { "start": { - "line": 288, + "line": 300, "column": 11 }, "end": { - "line": 288, + "line": 300, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5651, - "end": 5656, + "start": 5860, + "end": 5865, "loc": { "start": { - "line": 288, + "line": 300, "column": 15 }, "end": { - "line": 288, + "line": 300, "column": 20 } }, "id": { "type": "Identifier", - "start": 5651, - "end": 5652, + "start": 5860, + "end": 5861, "loc": { "start": { - "line": 288, + "line": 300, "column": 15 }, "end": { - "line": 288, + "line": 300, "column": 16 }, "identifierName": "i" @@ -9538,15 +10098,15 @@ }, "init": { "type": "NumericLiteral", - "start": 5655, - "end": 5656, + "start": 5864, + "end": 5865, "loc": { "start": { - "line": 288, + "line": 300, "column": 19 }, "end": { - "line": 288, + "line": 300, "column": 20 } }, @@ -9562,29 +10122,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5658, - "end": 5677, + "start": 5867, + "end": 5886, "loc": { "start": { - "line": 288, + "line": 300, "column": 22 }, "end": { - "line": 288, + "line": 300, "column": 41 } }, "left": { "type": "Identifier", - "start": 5658, - "end": 5659, + "start": 5867, + "end": 5868, "loc": { "start": { - "line": 288, + "line": 300, "column": 22 }, "end": { - "line": 288, + "line": 300, "column": 23 }, "identifierName": "i" @@ -9594,29 +10154,29 @@ "operator": "<", "right": { "type": "BinaryExpression", - "start": 5662, - "end": 5677, + "start": 5871, + "end": 5886, "loc": { "start": { - "line": 288, + "line": 300, "column": 26 }, "end": { - "line": 288, + "line": 300, "column": 41 } }, "left": { "type": "NumericLiteral", - "start": 5662, - "end": 5663, + "start": 5871, + "end": 5872, "loc": { "start": { - "line": 288, + "line": 300, "column": 26 }, "end": { - "line": 288, + "line": 300, "column": 27 } }, @@ -9629,15 +10189,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 5666, - "end": 5677, + "start": 5875, + "end": 5886, "loc": { "start": { - "line": 288, + "line": 300, "column": 30 }, "end": { - "line": 288, + "line": 300, "column": 41 }, "identifierName": "date_length" @@ -9648,15 +10208,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5679, - "end": 5682, + "start": 5888, + "end": 5891, "loc": { "start": { - "line": 288, + "line": 300, "column": 43 }, "end": { - "line": 288, + "line": 300, "column": 46 } }, @@ -9664,15 +10224,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5679, - "end": 5680, + "start": 5888, + "end": 5889, "loc": { "start": { - "line": 288, + "line": 300, "column": 43 }, "end": { - "line": 288, + "line": 300, "column": 44 }, "identifierName": "i" @@ -9682,72 +10242,72 @@ }, "body": { "type": "BlockStatement", - "start": 5684, - "end": 5731, + "start": 5893, + "end": 5940, "loc": { "start": { - "line": 288, + "line": 300, "column": 48 }, "end": { - "line": 290, + "line": 302, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 5694, - "end": 5723, + "start": 5903, + "end": 5932, "loc": { "start": { - "line": 289, + "line": 301, "column": 8 }, "end": { - "line": 289, + "line": 301, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 5694, - "end": 5723, + "start": 5903, + "end": 5932, "loc": { "start": { - "line": 289, + "line": 301, "column": 8 }, "end": { - "line": 289, + "line": 301, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 5694, - "end": 5717, + "start": 5903, + "end": 5926, "loc": { "start": { - "line": 289, + "line": 301, "column": 8 }, "end": { - "line": 289, + "line": 301, "column": 31 } }, "object": { "type": "Identifier", - "start": 5694, - "end": 5712, + "start": 5903, + "end": 5921, "loc": { "start": { - "line": 289, + "line": 301, "column": 8 }, "end": { - "line": 289, + "line": 301, "column": 26 }, "identifierName": "significant_digits" @@ -9756,15 +10316,15 @@ }, "property": { "type": "Identifier", - "start": 5713, - "end": 5717, + "start": 5922, + "end": 5926, "loc": { "start": { - "line": 289, + "line": 301, "column": 27 }, "end": { - "line": 289, + "line": 301, "column": 31 }, "identifierName": "push" @@ -9776,15 +10336,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5718, - "end": 5722, + "start": 5927, + "end": 5931, "loc": { "start": { - "line": 289, + "line": 301, "column": 32 }, "end": { - "line": 289, + "line": 301, "column": 36 } }, @@ -9808,58 +10368,58 @@ }, { "type": "ForStatement", - "start": 5743, - "end": 5932, + "start": 5952, + "end": 6141, "loc": { "start": { - "line": 293, + "line": 305, "column": 4 }, "end": { - "line": 298, + "line": 310, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 5748, - "end": 5757, + "start": 5957, + "end": 5966, "loc": { "start": { - "line": 293, + "line": 305, "column": 9 }, "end": { - "line": 293, + "line": 305, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5752, - "end": 5757, + "start": 5961, + "end": 5966, "loc": { "start": { - "line": 293, + "line": 305, "column": 13 }, "end": { - "line": 293, + "line": 305, "column": 18 } }, "id": { "type": "Identifier", - "start": 5752, - "end": 5753, + "start": 5961, + "end": 5962, "loc": { "start": { - "line": 293, + "line": 305, "column": 13 }, "end": { - "line": 293, + "line": 305, "column": 14 }, "identifierName": "i" @@ -9868,15 +10428,15 @@ }, "init": { "type": "NumericLiteral", - "start": 5756, - "end": 5757, + "start": 5965, + "end": 5966, "loc": { "start": { - "line": 293, + "line": 305, "column": 17 }, "end": { - "line": 293, + "line": 305, "column": 18 } }, @@ -9892,29 +10452,29 @@ }, "test": { "type": "BinaryExpression", - "start": 5759, - "end": 5788, + "start": 5968, + "end": 5997, "loc": { "start": { - "line": 293, + "line": 305, "column": 20 }, "end": { - "line": 293, + "line": 305, "column": 49 } }, "left": { "type": "Identifier", - "start": 5759, - "end": 5760, + "start": 5968, + "end": 5969, "loc": { "start": { - "line": 293, + "line": 305, "column": 20 }, "end": { - "line": 293, + "line": 305, "column": 21 }, "identifierName": "i" @@ -9924,29 +10484,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5763, - "end": 5788, + "start": 5972, + "end": 5997, "loc": { "start": { - "line": 293, + "line": 305, "column": 24 }, "end": { - "line": 293, + "line": 305, "column": 49 } }, "object": { "type": "Identifier", - "start": 5763, - "end": 5781, + "start": 5972, + "end": 5990, "loc": { "start": { - "line": 293, + "line": 305, "column": 24 }, "end": { - "line": 293, + "line": 305, "column": 42 }, "identifierName": "significant_digits" @@ -9955,15 +10515,15 @@ }, "property": { "type": "Identifier", - "start": 5782, - "end": 5788, + "start": 5991, + "end": 5997, "loc": { "start": { - "line": 293, + "line": 305, "column": 43 }, "end": { - "line": 293, + "line": 305, "column": 49 }, "identifierName": "length" @@ -9975,15 +10535,15 @@ }, "update": { "type": "UpdateExpression", - "start": 5790, - "end": 5793, + "start": 5999, + "end": 6002, "loc": { "start": { - "line": 293, + "line": 305, "column": 51 }, "end": { - "line": 293, + "line": 305, "column": 54 } }, @@ -9991,15 +10551,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 5790, - "end": 5791, + "start": 5999, + "end": 6000, "loc": { "start": { - "line": 293, + "line": 305, "column": 51 }, "end": { - "line": 293, + "line": 305, "column": 52 }, "identifierName": "i" @@ -10009,59 +10569,59 @@ }, "body": { "type": "BlockStatement", - "start": 5795, - "end": 5932, + "start": 6004, + "end": 6141, "loc": { "start": { - "line": 293, + "line": 305, "column": 56 }, "end": { - "line": 298, + "line": 310, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 5803, - "end": 5846, + "start": 6012, + "end": 6055, "loc": { "start": { - "line": 294, + "line": 306, "column": 6 }, "end": { - "line": 294, + "line": 306, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5807, - "end": 5846, + "start": 6016, + "end": 6055, "loc": { "start": { - "line": 294, + "line": 306, "column": 10 }, "end": { - "line": 294, + "line": 306, "column": 49 } }, "id": { "type": "Identifier", - "start": 5807, - "end": 5811, + "start": 6016, + "end": 6020, "loc": { "start": { - "line": 294, + "line": 306, "column": 10 }, "end": { - "line": 294, + "line": 306, "column": 14 }, "identifierName": "part" @@ -10070,57 +10630,57 @@ }, "init": { "type": "CallExpression", - "start": 5814, - "end": 5846, + "start": 6023, + "end": 6055, "loc": { "start": { - "line": 294, + "line": 306, "column": 17 }, "end": { - "line": 294, + "line": 306, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 5814, - "end": 5844, + "start": 6023, + "end": 6053, "loc": { "start": { - "line": 294, + "line": 306, "column": 17 }, "end": { - "line": 294, + "line": 306, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 5814, - "end": 5835, + "start": 6023, + "end": 6044, "loc": { "start": { - "line": 294, + "line": 306, "column": 17 }, "end": { - "line": 294, + "line": 306, "column": 38 } }, "object": { "type": "Identifier", - "start": 5814, - "end": 5832, + "start": 6023, + "end": 6041, "loc": { "start": { - "line": 294, + "line": 306, "column": 17 }, "end": { - "line": 294, + "line": 306, "column": 35 }, "identifierName": "significant_digits" @@ -10129,15 +10689,15 @@ }, "property": { "type": "Identifier", - "start": 5833, - "end": 5834, + "start": 6042, + "end": 6043, "loc": { "start": { - "line": 294, + "line": 306, "column": 36 }, "end": { - "line": 294, + "line": 306, "column": 37 }, "identifierName": "i" @@ -10148,15 +10708,15 @@ }, "property": { "type": "Identifier", - "start": 5836, - "end": 5844, + "start": 6045, + "end": 6053, "loc": { "start": { - "line": 294, + "line": 306, "column": 39 }, "end": { - "line": 294, + "line": 306, "column": 47 }, "identifierName": "toString" @@ -10173,57 +10733,57 @@ }, { "type": "IfStatement", - "start": 5853, - "end": 5926, + "start": 6062, + "end": 6135, "loc": { "start": { - "line": 295, + "line": 307, "column": 6 }, "end": { - "line": 297, + "line": 309, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 5857, - "end": 5872, + "start": 6066, + "end": 6081, "loc": { "start": { - "line": 295, + "line": 307, "column": 10 }, "end": { - "line": 295, + "line": 307, "column": 25 } }, "left": { "type": "MemberExpression", - "start": 5857, - "end": 5868, + "start": 6066, + "end": 6077, "loc": { "start": { - "line": 295, + "line": 307, "column": 10 }, "end": { - "line": 295, + "line": 307, "column": 21 } }, "object": { "type": "Identifier", - "start": 5857, - "end": 5861, + "start": 6066, + "end": 6070, "loc": { "start": { - "line": 295, + "line": 307, "column": 10 }, "end": { - "line": 295, + "line": 307, "column": 14 }, "identifierName": "part" @@ -10232,15 +10792,15 @@ }, "property": { "type": "Identifier", - "start": 5862, - "end": 5868, + "start": 6071, + "end": 6077, "loc": { "start": { - "line": 295, + "line": 307, "column": 15 }, "end": { - "line": 295, + "line": 307, "column": 21 }, "identifierName": "length" @@ -10252,15 +10812,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 5871, - "end": 5872, + "start": 6080, + "end": 6081, "loc": { "start": { - "line": 295, + "line": 307, "column": 24 }, "end": { - "line": 295, + "line": 307, "column": 25 } }, @@ -10273,73 +10833,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 5874, - "end": 5926, + "start": 6083, + "end": 6135, "loc": { "start": { - "line": 295, + "line": 307, "column": 27 }, "end": { - "line": 297, + "line": 309, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 5884, - "end": 5918, + "start": 6093, + "end": 6127, "loc": { "start": { - "line": 296, + "line": 308, "column": 8 }, "end": { - "line": 296, + "line": 308, "column": 42 } }, "expression": { "type": "AssignmentExpression", - "start": 5884, - "end": 5918, + "start": 6093, + "end": 6127, "loc": { "start": { - "line": 296, + "line": 308, "column": 8 }, "end": { - "line": 296, + "line": 308, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5884, - "end": 5905, + "start": 6093, + "end": 6114, "loc": { "start": { - "line": 296, + "line": 308, "column": 8 }, "end": { - "line": 296, + "line": 308, "column": 29 } }, "object": { "type": "Identifier", - "start": 5884, - "end": 5902, + "start": 6093, + "end": 6111, "loc": { "start": { - "line": 296, + "line": 308, "column": 8 }, "end": { - "line": 296, + "line": 308, "column": 26 }, "identifierName": "significant_digits" @@ -10348,15 +10908,15 @@ }, "property": { "type": "Identifier", - "start": 5903, - "end": 5904, + "start": 6112, + "end": 6113, "loc": { "start": { - "line": 296, + "line": 308, "column": 27 }, "end": { - "line": 296, + "line": 308, "column": 28 }, "identifierName": "i" @@ -10367,29 +10927,29 @@ }, "right": { "type": "BinaryExpression", - "start": 5908, - "end": 5918, + "start": 6117, + "end": 6127, "loc": { "start": { - "line": 296, + "line": 308, "column": 32 }, "end": { - "line": 296, + "line": 308, "column": 42 } }, "left": { "type": "StringLiteral", - "start": 5908, - "end": 5911, + "start": 6117, + "end": 6120, "loc": { "start": { - "line": 296, + "line": 308, "column": 32 }, "end": { - "line": 296, + "line": 308, "column": 35 } }, @@ -10402,15 +10962,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5914, - "end": 5918, + "start": 6123, + "end": 6127, "loc": { "start": { - "line": 296, + "line": 308, "column": 38 }, "end": { - "line": 296, + "line": 308, "column": 42 }, "identifierName": "part" @@ -10431,57 +10991,57 @@ }, { "type": "ReturnStatement", - "start": 5937, - "end": 5972, + "start": 6146, + "end": 6181, "loc": { "start": { - "line": 299, + "line": 311, "column": 4 }, "end": { - "line": 299, + "line": 311, "column": 39 } }, "argument": { "type": "CallExpression", - "start": 5944, - "end": 5972, + "start": 6153, + "end": 6181, "loc": { "start": { - "line": 299, + "line": 311, "column": 11 }, "end": { - "line": 299, + "line": 311, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 5944, - "end": 5967, + "start": 6153, + "end": 6176, "loc": { "start": { - "line": 299, + "line": 311, "column": 11 }, "end": { - "line": 299, + "line": 311, "column": 34 } }, "object": { "type": "Identifier", - "start": 5944, - "end": 5962, + "start": 6153, + "end": 6171, "loc": { "start": { - "line": 299, + "line": 311, "column": 11 }, "end": { - "line": 299, + "line": 311, "column": 29 }, "identifierName": "significant_digits" @@ -10490,15 +11050,15 @@ }, "property": { "type": "Identifier", - "start": 5963, - "end": 5967, + "start": 6172, + "end": 6176, "loc": { "start": { - "line": 299, + "line": 311, "column": 30 }, "end": { - "line": 299, + "line": 311, "column": 34 }, "identifierName": "join" @@ -10510,15 +11070,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 5968, - "end": 5971, + "start": 6177, + "end": 6180, "loc": { "start": { - "line": 299, + "line": 311, "column": 35 }, "end": { - "line": 299, + "line": 311, "column": 38 } }, @@ -10538,15 +11098,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5049, - "end": 5153, + "start": 5254, + "end": 5358, "loc": { "start": { - "line": 266, + "line": 278, "column": 2 }, "end": { - "line": 269, + "line": 281, "column": 5 } } @@ -10559,15 +11119,15 @@ { "type": "CommentBlock", "value": "*\n * Long Count cycle\n ", - "start": 172, - "end": 199, + "start": 234, + "end": 261, "loc": { "start": { - "line": 8, + "line": 10, "column": 0 }, "end": { - "line": 10, + "line": 12, "column": 3 } } @@ -10576,58 +11136,58 @@ }, { "type": "ExpressionStatement", - "start": 5980, - "end": 6006, + "start": 6189, + "end": 6215, "loc": { "start": { - "line": 303, + "line": 315, "column": 0 }, "end": { - "line": 303, + "line": 315, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 5980, - "end": 6006, + "start": 6189, + "end": 6215, "loc": { "start": { - "line": 303, + "line": 315, "column": 0 }, "end": { - "line": 303, + "line": 315, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5980, - "end": 5994, + "start": 6189, + "end": 6203, "loc": { "start": { - "line": 303, + "line": 315, "column": 0 }, "end": { - "line": 303, + "line": 315, "column": 14 } }, "object": { "type": "Identifier", - "start": 5980, - "end": 5986, + "start": 6189, + "end": 6195, "loc": { "start": { - "line": 303, + "line": 315, "column": 0 }, "end": { - "line": 303, + "line": 315, "column": 6 }, "identifierName": "module" @@ -10636,15 +11196,15 @@ }, "property": { "type": "Identifier", - "start": 5987, - "end": 5994, + "start": 6196, + "end": 6203, "loc": { "start": { - "line": 303, + "line": 315, "column": 7 }, "end": { - "line": 303, + "line": 315, "column": 14 }, "identifierName": "exports" @@ -10655,15 +11215,15 @@ }, "right": { "type": "Identifier", - "start": 5997, - "end": 6006, + "start": 6206, + "end": 6215, "loc": { "start": { - "line": 303, + "line": 315, "column": 17 }, "end": { - "line": 303, + "line": 315, "column": 26 }, "identifierName": "LongCount" @@ -10726,16 +11286,32 @@ }, { "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 172, - "end": 199, + "value": "* @ignore ", + "start": 171, + "end": 185, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 234, + "end": 261, + "loc": { + "start": { "line": 10, + "column": 0 + }, + "end": { + "line": 12, "column": 3 } } @@ -10743,15 +11319,15 @@ { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 220, - "end": 332, + "start": 282, + "end": 394, "loc": { "start": { - "line": 12, + "line": 14, "column": 2 }, "end": { - "line": 14, + "line": 16, "column": 5 } } @@ -10759,15 +11335,15 @@ { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number|Wildcard[]}\n ", - "start": 365, - "end": 432, + "start": 427, + "end": 494, "loc": { "start": { - "line": 16, + "line": 18, "column": 4 }, "end": { - "line": 19, + "line": 21, "column": 7 } } @@ -10775,15 +11351,15 @@ { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 462, - "end": 531, + "start": 524, + "end": 593, "loc": { "start": { - "line": 22, + "line": 24, "column": 4 }, "end": { - "line": 25, + "line": 27, "column": 7 } } @@ -10791,15 +11367,15 @@ { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 576, - "end": 665, + "start": 638, + "end": 727, "loc": { "start": { - "line": 28, + "line": 30, "column": 4 }, "end": { - "line": 31, + "line": 33, "column": 7 } } @@ -10807,15 +11383,15 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 704, - "end": 789, + "start": 766, + "end": 851, "loc": { "start": { - "line": 35, + "line": 37, "column": 2 }, "end": { - "line": 38, + "line": 40, "column": 5 } } @@ -10823,15 +11399,15 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 850, - "end": 953, + "start": 912, + "end": 1015, "loc": { "start": { - "line": 43, + "line": 45, "column": 2 }, "end": { - "line": 47, + "line": 49, "column": 5 } } @@ -10839,15 +11415,15 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1092, - "end": 1239, + "start": 1154, + "end": 1301, "loc": { "start": { - "line": 56, + "line": 58, "column": 2 }, "end": { - "line": 62, + "line": 64, "column": 5 } } @@ -10855,15 +11431,15 @@ { "type": "CommentBlock", "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1373, - "end": 1459, + "start": 1435, + "end": 1521, "loc": { "start": { - "line": 69, + "line": 71, "column": 2 }, "end": { - "line": 72, + "line": 74, "column": 5 } } @@ -10871,15 +11447,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1514, - "end": 1586, + "start": 1576, + "end": 1648, "loc": { "start": { - "line": 77, + "line": 79, "column": 2 }, "end": { - "line": 80, + "line": 82, "column": 5 } } @@ -10887,15 +11463,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1659, - "end": 1734, + "start": 1721, + "end": 1796, "loc": { "start": { - "line": 85, + "line": 87, "column": 2 }, "end": { - "line": 88, + "line": 90, "column": 5 } } @@ -10903,15 +11479,15 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1796, - "end": 1869, + "start": 1858, + "end": 1931, "loc": { "start": { - "line": 93, + "line": 95, "column": 2 }, "end": { - "line": 96, + "line": 98, "column": 5 } } @@ -10919,15 +11495,15 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 1945, - "end": 2021, + "start": 2007, + "end": 2083, "loc": { "start": { - "line": 101, + "line": 103, "column": 2 }, "end": { - "line": 104, + "line": 106, "column": 5 } } @@ -10935,15 +11511,15 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2084, - "end": 2155, + "start": 2146, + "end": 2217, "loc": { "start": { - "line": 109, + "line": 111, "column": 2 }, "end": { - "line": 112, + "line": 114, "column": 5 } } @@ -10951,15 +11527,15 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2225, - "end": 2299, + "start": 2287, + "end": 2361, "loc": { "start": { - "line": 117, + "line": 119, "column": 2 }, "end": { - "line": 120, + "line": 122, "column": 5 } } @@ -10967,15 +11543,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2360, - "end": 2434, + "start": 2422, + "end": 2496, "loc": { "start": { - "line": 125, + "line": 127, "column": 2 }, "end": { - "line": 128, + "line": 130, "column": 5 } } @@ -10983,15 +11559,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2513, - "end": 2590, + "start": 2575, + "end": 2652, "loc": { "start": { - "line": 133, + "line": 135, "column": 2 }, "end": { - "line": 136, + "line": 138, "column": 5 } } @@ -10999,15 +11575,15 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2654, - "end": 2729, + "start": 2716, + "end": 2791, "loc": { "start": { - "line": 141, + "line": 143, "column": 2 }, "end": { - "line": 144, + "line": 146, "column": 5 } } @@ -11015,15 +11591,15 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2811, - "end": 2889, + "start": 2873, + "end": 2951, "loc": { "start": { - "line": 149, + "line": 151, "column": 2 }, "end": { - "line": 152, + "line": 154, "column": 5 } } @@ -11031,15 +11607,15 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 2954, - "end": 3028, + "start": 3016, + "end": 3090, "loc": { "start": { - "line": 157, + "line": 159, "column": 2 }, "end": { - "line": 160, + "line": 162, "column": 5 } } @@ -11047,15 +11623,15 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3109, - "end": 3186, + "start": 3171, + "end": 3248, "loc": { "start": { - "line": 165, + "line": 167, "column": 2 }, "end": { - "line": 168, + "line": 170, "column": 5 } } @@ -11063,15 +11639,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3250, - "end": 3326, + "start": 3312, + "end": 3388, "loc": { "start": { - "line": 173, + "line": 175, "column": 2 }, "end": { - "line": 176, + "line": 178, "column": 5 } } @@ -11079,15 +11655,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3409, - "end": 3488, + "start": 3471, + "end": 3550, "loc": { "start": { - "line": 181, + "line": 183, "column": 2 }, "end": { - "line": 184, + "line": 186, "column": 5 } } @@ -11095,15 +11671,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3554, - "end": 3632, + "start": 3616, + "end": 3694, "loc": { "start": { - "line": 189, + "line": 191, "column": 2 }, "end": { - "line": 192, + "line": 194, "column": 5 } } @@ -11111,63 +11687,79 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3717, - "end": 3798, + "start": 3779, + "end": 3860, "loc": { "start": { - "line": 197, + "line": 199, "column": 2 }, "end": { - "line": 200, + "line": 202, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 3866, - "end": 3972, + "value": "*\n *\n * @return {any}\n ", + "start": 3928, + "end": 3961, "loc": { "start": { - "line": 205, + "line": 207, "column": 2 }, "end": { - "line": 208, + "line": 210, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 4047, - "end": 4184, + "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 4071, + "end": 4177, "loc": { "start": { - "line": 213, + "line": 217, "column": 2 }, "end": { - "line": 217, + "line": 220, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4327, - "end": 4417, + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 4252, + "end": 4389, "loc": { "start": { - "line": 227, + "line": 225, "column": 2 }, "end": { - "line": 230, + "line": 229, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 4532, + "end": 4622, + "loc": { + "start": { + "line": 239, + "column": 2 + }, + "end": { + "line": 242, "column": 5 } } @@ -11175,15 +11767,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4757, - "end": 4800, + "start": 4962, + "end": 5005, "loc": { "start": { - "line": 245, + "line": 257, "column": 2 }, "end": { - "line": 248, + "line": 260, "column": 5 } } @@ -11191,15 +11783,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 4894, - "end": 4932, + "start": 5099, + "end": 5137, "loc": { "start": { - "line": 255, + "line": 267, "column": 2 }, "end": { - "line": 258, + "line": 270, "column": 5 } } @@ -11207,15 +11799,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5049, - "end": 5153, + "start": 5254, + "end": 5358, "loc": { "start": { - "line": 266, + "line": 278, "column": 2 }, "end": { - "line": 269, + "line": 281, "column": 5 } } @@ -11876,16 +12468,216 @@ }, { "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 172, - "end": 199, + "value": "* @ignore ", + "start": 171, + "end": 185, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "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": 186, + "end": 191, "loc": { "start": { "line": 8, "column": 0 }, "end": { + "line": 8, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "night", + "start": 192, + "end": 197, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 198, + "end": 199, + "loc": { + "start": { + "line": 8, + "column": 12 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 200, + "end": 207, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 207, + "end": 208, + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./night/lord-of-night", + "start": 208, + "end": 231, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 8, + "column": 45 + }, + "end": { + "line": 8, + "column": 46 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 234, + "end": 261, + "loc": { + "start": { "line": 10, + "column": 0 + }, + "end": { + "line": 12, "column": 3 } } @@ -11905,15 +12697,15 @@ "updateContext": null }, "value": "class", - "start": 200, - "end": 205, + "start": 262, + "end": 267, "loc": { "start": { - "line": 11, + "line": 13, "column": 0 }, "end": { - "line": 11, + "line": 13, "column": 5 } } @@ -11931,15 +12723,15 @@ "binop": null }, "value": "LongCount", - "start": 206, - "end": 215, + "start": 268, + "end": 277, "loc": { "start": { - "line": 11, + "line": 13, "column": 6 }, "end": { - "line": 11, + "line": 13, "column": 15 } } @@ -11956,15 +12748,15 @@ "postfix": false, "binop": null }, - "start": 216, - "end": 217, + "start": 278, + "end": 279, "loc": { "start": { - "line": 11, + "line": 13, "column": 16 }, "end": { - "line": 11, + "line": 13, "column": 17 } } @@ -11972,15 +12764,15 @@ { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 220, - "end": 332, + "start": 282, + "end": 394, "loc": { "start": { - "line": 12, + "line": 14, "column": 2 }, "end": { - "line": 14, + "line": 16, "column": 5 } } @@ -11998,15 +12790,15 @@ "binop": null }, "value": "constructor", - "start": 335, - "end": 346, + "start": 397, + "end": 408, "loc": { "start": { - "line": 15, + "line": 17, "column": 2 }, "end": { - "line": 15, + "line": 17, "column": 13 } } @@ -12023,15 +12815,15 @@ "postfix": false, "binop": null }, - "start": 347, - "end": 348, + "start": 409, + "end": 410, "loc": { "start": { - "line": 15, + "line": 17, "column": 14 }, "end": { - "line": 15, + "line": 17, "column": 15 } } @@ -12049,15 +12841,15 @@ "binop": null, "updateContext": null }, - "start": 348, - "end": 351, + "start": 410, + "end": 413, "loc": { "start": { - "line": 15, + "line": 17, "column": 15 }, "end": { - "line": 15, + "line": 17, "column": 18 } } @@ -12075,15 +12867,15 @@ "binop": null }, "value": "cycles", - "start": 351, - "end": 357, + "start": 413, + "end": 419, "loc": { "start": { - "line": 15, + "line": 17, "column": 18 }, "end": { - "line": 15, + "line": 17, "column": 24 } } @@ -12100,15 +12892,15 @@ "postfix": false, "binop": null }, - "start": 357, - "end": 358, + "start": 419, + "end": 420, "loc": { "start": { - "line": 15, + "line": 17, "column": 24 }, "end": { - "line": 15, + "line": 17, "column": 25 } } @@ -12125,15 +12917,15 @@ "postfix": false, "binop": null }, - "start": 359, - "end": 360, + "start": 421, + "end": 422, "loc": { "start": { - "line": 15, + "line": 17, "column": 26 }, "end": { - "line": 15, + "line": 17, "column": 27 } } @@ -12141,15 +12933,15 @@ { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number|Wildcard[]}\n ", - "start": 365, - "end": 432, + "start": 427, + "end": 494, "loc": { "start": { - "line": 16, + "line": 18, "column": 4 }, "end": { - "line": 19, + "line": 21, "column": 7 } } @@ -12169,15 +12961,15 @@ "updateContext": null }, "value": "this", - "start": 437, - "end": 441, + "start": 499, + "end": 503, "loc": { "start": { - "line": 20, + "line": 22, "column": 4 }, "end": { - "line": 20, + "line": 22, "column": 8 } } @@ -12195,15 +12987,15 @@ "binop": null, "updateContext": null }, - "start": 441, - "end": 442, + "start": 503, + "end": 504, "loc": { "start": { - "line": 20, + "line": 22, "column": 8 }, "end": { - "line": 20, + "line": 22, "column": 9 } } @@ -12221,15 +13013,15 @@ "binop": null }, "value": "parts", - "start": 442, - "end": 447, + "start": 504, + "end": 509, "loc": { "start": { - "line": 20, + "line": 22, "column": 9 }, "end": { - "line": 20, + "line": 22, "column": 14 } } @@ -12248,15 +13040,15 @@ "updateContext": null }, "value": "=", - "start": 448, - "end": 449, + "start": 510, + "end": 511, "loc": { "start": { - "line": 20, + "line": 22, "column": 15 }, "end": { - "line": 20, + "line": 22, "column": 16 } } @@ -12274,15 +13066,15 @@ "binop": null }, "value": "cycles", - "start": 450, - "end": 456, + "start": 512, + "end": 518, "loc": { "start": { - "line": 20, + "line": 22, "column": 17 }, "end": { - "line": 20, + "line": 22, "column": 23 } } @@ -12290,15 +13082,15 @@ { "type": "CommentBlock", "value": "*\n * Pattern to validate the date\n * @type {RegExp}\n ", - "start": 462, - "end": 531, + "start": 524, + "end": 593, "loc": { "start": { - "line": 22, + "line": 24, "column": 4 }, "end": { - "line": 25, + "line": 27, "column": 7 } } @@ -12318,15 +13110,15 @@ "updateContext": null }, "value": "this", - "start": 536, - "end": 540, + "start": 598, + "end": 602, "loc": { "start": { - "line": 26, + "line": 28, "column": 4 }, "end": { - "line": 26, + "line": 28, "column": 8 } } @@ -12344,15 +13136,15 @@ "binop": null, "updateContext": null }, - "start": 540, - "end": 541, + "start": 602, + "end": 603, "loc": { "start": { - "line": 26, + "line": 28, "column": 8 }, "end": { - "line": 26, + "line": 28, "column": 9 } } @@ -12370,15 +13162,15 @@ "binop": null }, "value": "date_pattern", - "start": 541, - "end": 553, + "start": 603, + "end": 615, "loc": { "start": { - "line": 26, + "line": 28, "column": 9 }, "end": { - "line": 26, + "line": 28, "column": 21 } } @@ -12397,15 +13189,15 @@ "updateContext": null }, "value": "=", - "start": 554, - "end": 555, + "start": 616, + "end": 617, "loc": { "start": { - "line": 26, + "line": 28, "column": 22 }, "end": { - "line": 26, + "line": 28, "column": 23 } } @@ -12427,15 +13219,15 @@ "pattern": "([\\d*]+\\.?)+", "flags": "" }, - "start": 556, - "end": 570, + "start": 618, + "end": 632, "loc": { "start": { - "line": 26, + "line": 28, "column": 24 }, "end": { - "line": 26, + "line": 28, "column": 38 } } @@ -12443,15 +13235,15 @@ { "type": "CommentBlock", "value": "*\n * Convert individual components to a single string\n * @type {string}\n ", - "start": 576, - "end": 665, + "start": 638, + "end": 727, "loc": { "start": { - "line": 28, + "line": 30, "column": 4 }, "end": { - "line": 31, + "line": 33, "column": 7 } } @@ -12471,15 +13263,15 @@ "updateContext": null }, "value": "this", - "start": 670, - "end": 674, + "start": 732, + "end": 736, "loc": { "start": { - "line": 32, + "line": 34, "column": 4 }, "end": { - "line": 32, + "line": 34, "column": 8 } } @@ -12497,15 +13289,15 @@ "binop": null, "updateContext": null }, - "start": 674, - "end": 675, + "start": 736, + "end": 737, "loc": { "start": { - "line": 32, + "line": 34, "column": 8 }, "end": { - "line": 32, + "line": 34, "column": 9 } } @@ -12523,15 +13315,15 @@ "binop": null }, "value": "raw", - "start": 675, - "end": 678, + "start": 737, + "end": 740, "loc": { "start": { - "line": 32, + "line": 34, "column": 9 }, "end": { - "line": 32, + "line": 34, "column": 12 } } @@ -12550,15 +13342,15 @@ "updateContext": null }, "value": "=", - "start": 679, - "end": 680, + "start": 741, + "end": 742, "loc": { "start": { - "line": 32, + "line": 34, "column": 13 }, "end": { - "line": 32, + "line": 34, "column": 14 } } @@ -12578,15 +13370,15 @@ "updateContext": null }, "value": "this", - "start": 681, - "end": 685, + "start": 743, + "end": 747, "loc": { "start": { - "line": 32, + "line": 34, "column": 15 }, "end": { - "line": 32, + "line": 34, "column": 19 } } @@ -12604,15 +13396,15 @@ "binop": null, "updateContext": null }, - "start": 685, - "end": 686, + "start": 747, + "end": 748, "loc": { "start": { - "line": 32, + "line": 34, "column": 19 }, "end": { - "line": 32, + "line": 34, "column": 20 } } @@ -12630,15 +13422,15 @@ "binop": null }, "value": "toString", - "start": 686, - "end": 694, + "start": 748, + "end": 756, "loc": { "start": { - "line": 32, + "line": 34, "column": 20 }, "end": { - "line": 32, + "line": 34, "column": 28 } } @@ -12655,15 +13447,15 @@ "postfix": false, "binop": null }, - "start": 694, - "end": 695, + "start": 756, + "end": 757, "loc": { "start": { - "line": 32, + "line": 34, "column": 28 }, "end": { - "line": 32, + "line": 34, "column": 29 } } @@ -12680,15 +13472,15 @@ "postfix": false, "binop": null }, - "start": 695, - "end": 696, + "start": 757, + "end": 758, "loc": { "start": { - "line": 32, + "line": 34, "column": 29 }, "end": { - "line": 32, + "line": 34, "column": 30 } } @@ -12705,15 +13497,15 @@ "postfix": false, "binop": null }, - "start": 699, - "end": 700, + "start": 761, + "end": 762, "loc": { "start": { - "line": 33, + "line": 35, "column": 2 }, "end": { - "line": 33, + "line": 35, "column": 3 } } @@ -12721,15 +13513,15 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count date\n * @returns {LongCount}\n ", - "start": 704, - "end": 789, + "start": 766, + "end": 851, "loc": { "start": { - "line": 35, + "line": 37, "column": 2 }, "end": { - "line": 38, + "line": 40, "column": 5 } } @@ -12747,15 +13539,15 @@ "binop": null }, "value": "clone", - "start": 792, - "end": 797, + "start": 854, + "end": 859, "loc": { "start": { - "line": 39, + "line": 41, "column": 2 }, "end": { - "line": 39, + "line": 41, "column": 7 } } @@ -12772,15 +13564,15 @@ "postfix": false, "binop": null }, - "start": 798, - "end": 799, + "start": 860, + "end": 861, "loc": { "start": { - "line": 39, + "line": 41, "column": 8 }, "end": { - "line": 39, + "line": 41, "column": 9 } } @@ -12797,15 +13589,15 @@ "postfix": false, "binop": null }, - "start": 799, - "end": 800, + "start": 861, + "end": 862, "loc": { "start": { - "line": 39, + "line": 41, "column": 9 }, "end": { - "line": 39, + "line": 41, "column": 10 } } @@ -12822,15 +13614,15 @@ "postfix": false, "binop": null }, - "start": 801, - "end": 802, + "start": 863, + "end": 864, "loc": { "start": { - "line": 39, + "line": 41, "column": 11 }, "end": { - "line": 39, + "line": 41, "column": 12 } } @@ -12850,15 +13642,15 @@ "updateContext": null }, "value": "return", - "start": 807, - "end": 813, + "start": 869, + "end": 875, "loc": { "start": { - "line": 40, + "line": 42, "column": 4 }, "end": { - "line": 40, + "line": 42, "column": 10 } } @@ -12878,15 +13670,15 @@ "updateContext": null }, "value": "new", - "start": 814, - "end": 817, + "start": 876, + "end": 879, "loc": { "start": { - "line": 40, + "line": 42, "column": 11 }, "end": { - "line": 40, + "line": 42, "column": 14 } } @@ -12904,15 +13696,15 @@ "binop": null }, "value": "LongCount", - "start": 818, - "end": 827, + "start": 880, + "end": 889, "loc": { "start": { - "line": 40, + "line": 42, "column": 15 }, "end": { - "line": 40, + "line": 42, "column": 24 } } @@ -12929,15 +13721,15 @@ "postfix": false, "binop": null }, - "start": 827, - "end": 828, + "start": 889, + "end": 890, "loc": { "start": { - "line": 40, + "line": 42, "column": 24 }, "end": { - "line": 40, + "line": 42, "column": 25 } } @@ -12955,15 +13747,15 @@ "binop": null, "updateContext": null }, - "start": 828, - "end": 831, + "start": 890, + "end": 893, "loc": { "start": { - "line": 40, + "line": 42, "column": 25 }, "end": { - "line": 40, + "line": 42, "column": 28 } } @@ -12983,15 +13775,15 @@ "updateContext": null }, "value": "this", - "start": 831, - "end": 835, + "start": 893, + "end": 897, "loc": { "start": { - "line": 40, + "line": 42, "column": 28 }, "end": { - "line": 40, + "line": 42, "column": 32 } } @@ -13009,15 +13801,15 @@ "binop": null, "updateContext": null }, - "start": 835, - "end": 836, + "start": 897, + "end": 898, "loc": { "start": { - "line": 40, + "line": 42, "column": 32 }, "end": { - "line": 40, + "line": 42, "column": 33 } } @@ -13035,15 +13827,15 @@ "binop": null }, "value": "parts", - "start": 836, - "end": 841, + "start": 898, + "end": 903, "loc": { "start": { - "line": 40, + "line": 42, "column": 33 }, "end": { - "line": 40, + "line": 42, "column": 38 } } @@ -13060,15 +13852,15 @@ "postfix": false, "binop": null }, - "start": 841, - "end": 842, + "start": 903, + "end": 904, "loc": { "start": { - "line": 40, + "line": 42, "column": 38 }, "end": { - "line": 40, + "line": 42, "column": 39 } } @@ -13085,15 +13877,15 @@ "postfix": false, "binop": null }, - "start": 845, - "end": 846, + "start": 907, + "end": 908, "loc": { "start": { - "line": 41, + "line": 43, "column": 2 }, "end": { - "line": 41, + "line": 43, "column": 3 } } @@ -13101,15 +13893,15 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n ", - "start": 850, - "end": 953, + "start": 912, + "end": 1015, "loc": { "start": { - "line": 43, + "line": 45, "column": 2 }, "end": { - "line": 47, + "line": 49, "column": 5 } } @@ -13127,15 +13919,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 956, - "end": 974, + "start": 1018, + "end": 1036, "loc": { "start": { - "line": 48, + "line": 50, "column": 2 }, "end": { - "line": 48, + "line": 50, "column": 20 } } @@ -13152,15 +13944,15 @@ "postfix": false, "binop": null }, - "start": 975, - "end": 976, + "start": 1037, + "end": 1038, "loc": { "start": { - "line": 48, + "line": 50, "column": 21 }, "end": { - "line": 48, + "line": 50, "column": 22 } } @@ -13178,15 +13970,15 @@ "binop": null }, "value": "index", - "start": 976, - "end": 981, + "start": 1038, + "end": 1043, "loc": { "start": { - "line": 48, + "line": 50, "column": 22 }, "end": { - "line": 48, + "line": 50, "column": 27 } } @@ -13203,15 +13995,15 @@ "postfix": false, "binop": null }, - "start": 981, - "end": 982, + "start": 1043, + "end": 1044, "loc": { "start": { - "line": 48, + "line": 50, "column": 27 }, "end": { - "line": 48, + "line": 50, "column": 28 } } @@ -13228,15 +14020,15 @@ "postfix": false, "binop": null }, - "start": 983, - "end": 984, + "start": 1045, + "end": 1046, "loc": { "start": { - "line": 48, + "line": 50, "column": 29 }, "end": { - "line": 48, + "line": 50, "column": 30 } } @@ -13256,15 +14048,15 @@ "updateContext": null }, "value": "let", - "start": 989, - "end": 992, + "start": 1051, + "end": 1054, "loc": { "start": { - "line": 49, + "line": 51, "column": 4 }, "end": { - "line": 49, + "line": 51, "column": 7 } } @@ -13282,15 +14074,15 @@ "binop": null }, "value": "part", - "start": 993, - "end": 997, + "start": 1055, + "end": 1059, "loc": { "start": { - "line": 49, + "line": 51, "column": 8 }, "end": { - "line": 49, + "line": 51, "column": 12 } } @@ -13309,15 +14101,15 @@ "updateContext": null }, "value": "=", - "start": 998, - "end": 999, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 49, + "line": 51, "column": 13 }, "end": { - "line": 49, + "line": 51, "column": 14 } } @@ -13337,15 +14129,15 @@ "updateContext": null }, "value": "this", - "start": 1000, - "end": 1004, + "start": 1062, + "end": 1066, "loc": { "start": { - "line": 49, + "line": 51, "column": 15 }, "end": { - "line": 49, + "line": 51, "column": 19 } } @@ -13363,15 +14155,15 @@ "binop": null, "updateContext": null }, - "start": 1004, - "end": 1005, + "start": 1066, + "end": 1067, "loc": { "start": { - "line": 49, + "line": 51, "column": 19 }, "end": { - "line": 49, + "line": 51, "column": 20 } } @@ -13389,15 +14181,15 @@ "binop": null }, "value": "parts", - "start": 1005, - "end": 1010, + "start": 1067, + "end": 1072, "loc": { "start": { - "line": 49, + "line": 51, "column": 20 }, "end": { - "line": 49, + "line": 51, "column": 25 } } @@ -13415,15 +14207,15 @@ "binop": null, "updateContext": null }, - "start": 1010, - "end": 1011, + "start": 1072, + "end": 1073, "loc": { "start": { - "line": 49, + "line": 51, "column": 25 }, "end": { - "line": 49, + "line": 51, "column": 26 } } @@ -13441,15 +14233,15 @@ "binop": null }, "value": "index", - "start": 1011, - "end": 1016, + "start": 1073, + "end": 1078, "loc": { "start": { - "line": 49, + "line": 51, "column": 26 }, "end": { - "line": 49, + "line": 51, "column": 31 } } @@ -13467,15 +14259,15 @@ "binop": null, "updateContext": null }, - "start": 1016, - "end": 1017, + "start": 1078, + "end": 1079, "loc": { "start": { - "line": 49, + "line": 51, "column": 31 }, "end": { - "line": 49, + "line": 51, "column": 32 } } @@ -13495,15 +14287,15 @@ "updateContext": null }, "value": "if", - "start": 1022, - "end": 1024, + "start": 1084, + "end": 1086, "loc": { "start": { - "line": 50, + "line": 52, "column": 4 }, "end": { - "line": 50, + "line": 52, "column": 6 } } @@ -13520,15 +14312,15 @@ "postfix": false, "binop": null }, - "start": 1025, - "end": 1026, + "start": 1087, + "end": 1088, "loc": { "start": { - "line": 50, + "line": 52, "column": 7 }, "end": { - "line": 50, + "line": 52, "column": 8 } } @@ -13546,15 +14338,15 @@ "binop": null }, "value": "part", - "start": 1026, - "end": 1030, + "start": 1088, + "end": 1092, "loc": { "start": { - "line": 50, + "line": 52, "column": 8 }, "end": { - "line": 50, + "line": 52, "column": 12 } } @@ -13573,15 +14365,15 @@ "updateContext": null }, "value": "===", - "start": 1031, - "end": 1034, + "start": 1093, + "end": 1096, "loc": { "start": { - "line": 50, + "line": 52, "column": 13 }, "end": { - "line": 50, + "line": 52, "column": 16 } } @@ -13599,15 +14391,15 @@ "binop": null }, "value": "undefined", - "start": 1035, - "end": 1044, + "start": 1097, + "end": 1106, "loc": { "start": { - "line": 50, + "line": 52, "column": 17 }, "end": { - "line": 50, + "line": 52, "column": 26 } } @@ -13624,15 +14416,15 @@ "postfix": false, "binop": null }, - "start": 1044, - "end": 1045, + "start": 1106, + "end": 1107, "loc": { "start": { - "line": 50, + "line": 52, "column": 26 }, "end": { - "line": 50, + "line": 52, "column": 27 } } @@ -13649,15 +14441,15 @@ "postfix": false, "binop": null }, - "start": 1046, - "end": 1047, + "start": 1108, + "end": 1109, "loc": { "start": { - "line": 50, + "line": 52, "column": 28 }, "end": { - "line": 50, + "line": 52, "column": 29 } } @@ -13677,15 +14469,15 @@ "updateContext": null }, "value": "return", - "start": 1054, - "end": 1060, + "start": 1116, + "end": 1122, "loc": { "start": { - "line": 51, + "line": 53, "column": 6 }, "end": { - "line": 51, + "line": 53, "column": 12 } } @@ -13704,15 +14496,15 @@ "updateContext": null }, "value": 0, - "start": 1061, - "end": 1062, + "start": 1123, + "end": 1124, "loc": { "start": { - "line": 51, + "line": 53, "column": 13 }, "end": { - "line": 51, + "line": 53, "column": 14 } } @@ -13729,15 +14521,15 @@ "postfix": false, "binop": null }, - "start": 1067, - "end": 1068, + "start": 1129, + "end": 1130, "loc": { "start": { - "line": 52, + "line": 54, "column": 4 }, "end": { - "line": 52, + "line": 54, "column": 5 } } @@ -13757,15 +14549,15 @@ "updateContext": null }, "value": "return", - "start": 1073, - "end": 1079, + "start": 1135, + "end": 1141, "loc": { "start": { - "line": 53, + "line": 55, "column": 4 }, "end": { - "line": 53, + "line": 55, "column": 10 } } @@ -13783,15 +14575,15 @@ "binop": null }, "value": "part", - "start": 1080, - "end": 1084, + "start": 1142, + "end": 1146, "loc": { "start": { - "line": 53, + "line": 55, "column": 11 }, "end": { - "line": 53, + "line": 55, "column": 15 } } @@ -13808,15 +14600,15 @@ "postfix": false, "binop": null }, - "start": 1087, - "end": 1088, + "start": 1149, + "end": 1150, "loc": { "start": { - "line": 54, + "line": 56, "column": 2 }, "end": { - "line": 54, + "line": 56, "column": 3 } } @@ -13824,15 +14616,15 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n ", - "start": 1092, - "end": 1239, + "start": 1154, + "end": 1301, "loc": { "start": { - "line": 56, + "line": 58, "column": 2 }, "end": { - "line": 62, + "line": 64, "column": 5 } } @@ -13850,15 +14642,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 1242, - "end": 1260, + "start": 1304, + "end": 1322, "loc": { "start": { - "line": 63, + "line": 65, "column": 2 }, "end": { - "line": 63, + "line": 65, "column": 20 } } @@ -13875,15 +14667,15 @@ "postfix": false, "binop": null }, - "start": 1261, - "end": 1262, + "start": 1323, + "end": 1324, "loc": { "start": { - "line": 63, + "line": 65, "column": 21 }, "end": { - "line": 63, + "line": 65, "column": 22 } } @@ -13901,15 +14693,15 @@ "binop": null }, "value": "index", - "start": 1262, - "end": 1267, + "start": 1324, + "end": 1329, "loc": { "start": { - "line": 63, + "line": 65, "column": 22 }, "end": { - "line": 63, + "line": 65, "column": 27 } } @@ -13927,15 +14719,15 @@ "binop": null, "updateContext": null }, - "start": 1267, - "end": 1268, + "start": 1329, + "end": 1330, "loc": { "start": { - "line": 63, + "line": 65, "column": 27 }, "end": { - "line": 63, + "line": 65, "column": 28 } } @@ -13953,15 +14745,15 @@ "binop": null }, "value": "value", - "start": 1269, - "end": 1274, + "start": 1331, + "end": 1336, "loc": { "start": { - "line": 63, + "line": 65, "column": 29 }, "end": { - "line": 63, + "line": 65, "column": 34 } } @@ -13978,15 +14770,15 @@ "postfix": false, "binop": null }, - "start": 1274, - "end": 1275, + "start": 1336, + "end": 1337, "loc": { "start": { - "line": 63, + "line": 65, "column": 34 }, "end": { - "line": 63, + "line": 65, "column": 35 } } @@ -14003,15 +14795,15 @@ "postfix": false, "binop": null }, - "start": 1276, - "end": 1277, + "start": 1338, + "end": 1339, "loc": { "start": { - "line": 63, + "line": 65, "column": 36 }, "end": { - "line": 63, + "line": 65, "column": 37 } } @@ -14031,15 +14823,15 @@ "updateContext": null }, "value": "this", - "start": 1282, - "end": 1286, + "start": 1344, + "end": 1348, "loc": { "start": { - "line": 64, + "line": 66, "column": 4 }, "end": { - "line": 64, + "line": 66, "column": 8 } } @@ -14057,15 +14849,15 @@ "binop": null, "updateContext": null }, - "start": 1286, - "end": 1287, + "start": 1348, + "end": 1349, "loc": { "start": { - "line": 64, + "line": 66, "column": 8 }, "end": { - "line": 64, + "line": 66, "column": 9 } } @@ -14083,15 +14875,15 @@ "binop": null }, "value": "parts", - "start": 1287, - "end": 1292, + "start": 1349, + "end": 1354, "loc": { "start": { - "line": 64, + "line": 66, "column": 9 }, "end": { - "line": 64, + "line": 66, "column": 14 } } @@ -14109,15 +14901,15 @@ "binop": null, "updateContext": null }, - "start": 1292, - "end": 1293, + "start": 1354, + "end": 1355, "loc": { "start": { - "line": 64, + "line": 66, "column": 14 }, "end": { - "line": 64, + "line": 66, "column": 15 } } @@ -14135,15 +14927,15 @@ "binop": null }, "value": "index", - "start": 1293, - "end": 1298, + "start": 1355, + "end": 1360, "loc": { "start": { - "line": 64, + "line": 66, "column": 15 }, "end": { - "line": 64, + "line": 66, "column": 20 } } @@ -14161,43 +14953,766 @@ "binop": null, "updateContext": null }, - "start": 1298, - "end": 1299, + "start": 1360, + "end": 1361, "loc": { "start": { - "line": 64, + "line": 66, "column": 20 }, "end": { - "line": 64, + "line": 66, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1362, + "end": 1363, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1364, + "end": 1369, + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1369, + "end": 1370, + "loc": { + "start": { + "line": 66, + "column": 29 + }, + "end": { + "line": 66, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 1370, + "end": 1378, + "loc": { + "start": { + "line": 66, + "column": 30 + }, + "end": { + "line": 66, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1378, + "end": 1379, + "loc": { + "start": { + "line": 66, + "column": 38 + }, + "end": { + "line": 66, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1379, + "end": 1380, + "loc": { + "start": { + "line": 66, + "column": 39 + }, + "end": { + "line": 66, + "column": 40 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1385, + "end": 1389, + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 67, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1389, + "end": 1390, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "raw", + "start": 1390, + "end": 1393, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1394, + "end": 1395, + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1396, + "end": 1400, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1400, + "end": 1401, + "loc": { + "start": { + "line": 67, + "column": 19 + }, + "end": { + "line": 67, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 1401, + "end": 1409, + "loc": { + "start": { + "line": 67, + "column": 20 + }, + "end": { + "line": 67, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1409, + "end": 1410, + "loc": { + "start": { + "line": 67, + "column": 28 + }, + "end": { + "line": 67, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1410, + "end": 1411, + "loc": { + "start": { + "line": 67, + "column": 29 + }, + "end": { + "line": 67, + "column": 30 + } + } + }, + { + "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": 1416, + "end": 1422, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1423, + "end": 1427, + "loc": { + "start": { + "line": 68, + "column": 11 + }, + "end": { + "line": 68, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1430, + "end": 1431, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 69, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", + "start": 1435, + "end": 1521, + "loc": { + "start": { + "line": 71, + "column": 2 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1524, + "end": 1527, + "loc": { + "start": { + "line": 75, + "column": 2 + }, + "end": { + "line": 75, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 1528, + "end": 1534, + "loc": { + "start": { + "line": 75, + "column": 6 + }, + "end": { + "line": 75, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1535, + "end": 1536, + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1536, + "end": 1537, + "loc": { + "start": { + "line": 75, + "column": 14 + }, + "end": { + "line": 75, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1538, + "end": 1539, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1544, + "end": 1550, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1551, + "end": 1555, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1555, + "end": 1556, + "loc": { + "start": { + "line": 76, + "column": 15 + }, + "end": { + "line": 76, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 1556, + "end": 1561, + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, "column": 21 } } }, { "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": 1300, - "end": 1301, + "start": 1561, + "end": 1562, "loc": { "start": { - "line": 64, - "column": 22 + "line": 76, + "column": 21 }, "end": { - "line": 64, - "column": 23 + "line": 76, + "column": 22 } } }, @@ -14213,23 +15728,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1302, - "end": 1307, + "value": "length", + "start": 1562, + "end": 1568, "loc": { "start": { - "line": 64, - "column": 24 + "line": 76, + "column": 22 }, "end": { - "line": 64, - "column": 29 + "line": 76, + "column": 28 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14237,52 +15752,41 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1307, - "end": 1308, + "start": 1571, + "end": 1572, "loc": { "start": { - "line": 64, - "column": 29 + "line": 77, + "column": 2 }, "end": { - "line": 64, - "column": 30 + "line": 77, + "column": 3 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toString", - "start": 1308, - "end": 1316, + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", + "start": 1576, + "end": 1648, "loc": { "start": { - "line": 64, - "column": 30 + "line": 79, + "column": 2 }, "end": { - "line": 64, - "column": 38 + "line": 82, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14291,24 +15795,25 @@ "postfix": false, "binop": null }, - "start": 1316, - "end": 1317, + "value": "set", + "start": 1651, + "end": 1654, "loc": { "start": { - "line": 64, - "column": 38 + "line": 83, + "column": 2 }, "end": { - "line": 64, - "column": 39 + "line": 83, + "column": 5 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14316,78 +15821,76 @@ "postfix": false, "binop": null }, - "start": 1317, - "end": 1318, + "value": "k_in", + "start": 1655, + "end": 1659, "loc": { "start": { - "line": 64, - "column": 39 + "line": 83, + "column": 6 }, "end": { - "line": 64, - "column": 40 + "line": 83, + "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": 1323, - "end": 1327, + "start": 1660, + "end": 1661, "loc": { "start": { - "line": 65, - "column": 4 + "line": 83, + "column": 11 }, "end": { - "line": 65, - "column": 8 + "line": 83, + "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": 1327, - "end": 1328, + "value": "new_k_in", + "start": 1661, + "end": 1669, "loc": { "start": { - "line": 65, - "column": 8 + "line": 83, + "column": 12 }, "end": { - "line": 65, - "column": 9 + "line": 83, + "column": 20 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14395,44 +15898,41 @@ "postfix": false, "binop": null }, - "value": "raw", - "start": 1328, - "end": 1331, + "start": 1669, + "end": 1670, "loc": { "start": { - "line": 65, - "column": 9 + "line": 83, + "column": 20 }, "end": { - "line": 65, - "column": 12 + "line": 83, + "column": 21 } } }, { "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": 1332, - "end": 1333, + "start": 1671, + "end": 1672, "loc": { "start": { - "line": 65, - "column": 13 + "line": 83, + "column": 22 }, "end": { - "line": 65, - "column": 14 + "line": 83, + "column": 23 } } }, @@ -14451,16 +15951,16 @@ "updateContext": null }, "value": "this", - "start": 1334, - "end": 1338, + "start": 1677, + "end": 1681, "loc": { "start": { - "line": 65, - "column": 15 + "line": 84, + "column": 4 }, "end": { - "line": 65, - "column": 19 + "line": 84, + "column": 8 } } }, @@ -14477,16 +15977,16 @@ "binop": null, "updateContext": null }, - "start": 1338, - "end": 1339, + "start": 1681, + "end": 1682, "loc": { "start": { - "line": 65, - "column": 19 + "line": 84, + "column": 8 }, "end": { - "line": 65, - "column": 20 + "line": 84, + "column": 9 } } }, @@ -14502,17 +16002,17 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 1339, - "end": 1347, + "value": "_set_date_sections", + "start": 1682, + "end": 1700, "loc": { "start": { - "line": 65, - "column": 20 + "line": 84, + "column": 9 }, "end": { - "line": 65, - "column": 28 + "line": 84, + "column": 27 } } }, @@ -14528,48 +16028,49 @@ "postfix": false, "binop": null }, - "start": 1347, - "end": 1348, + "start": 1700, + "end": 1701, "loc": { "start": { - "line": 65, - "column": 28 + "line": 84, + "column": 27 }, "end": { - "line": 65, - "column": 29 + "line": 84, + "column": 28 } } }, { "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": 1348, - "end": 1349, + "value": 0, + "start": 1701, + "end": 1702, "loc": { "start": { - "line": 65, - "column": 29 + "line": 84, + "column": 28 }, "end": { - "line": 65, - "column": 30 + "line": 84, + "column": 29 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14580,24 +16081,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1354, - "end": 1360, + "start": 1702, + "end": 1703, "loc": { "start": { - "line": 66, - "column": 4 + "line": 84, + "column": 29 }, "end": { - "line": 66, - "column": 10 + "line": 84, + "column": 30 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14605,20 +16104,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1361, - "end": 1365, + "value": "new_k_in", + "start": 1704, + "end": 1712, "loc": { "start": { - "line": 66, - "column": 11 + "line": 84, + "column": 31 }, "end": { - "line": 66, - "column": 15 + "line": 84, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1712, + "end": 1713, + "loc": { + "start": { + "line": 84, + "column": 39 + }, + "end": { + "line": 84, + "column": 40 } } }, @@ -14634,31 +16157,31 @@ "postfix": false, "binop": null }, - "start": 1368, - "end": 1369, + "start": 1716, + "end": 1717, "loc": { "start": { - "line": 67, + "line": 85, "column": 2 }, "end": { - "line": 67, + "line": 85, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the number of positions in the long count\n * @returns {number}\n ", - "start": 1373, - "end": 1459, + "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", + "start": 1721, + "end": 1796, "loc": { "start": { - "line": 69, + "line": 87, "column": 2 }, "end": { - "line": 72, + "line": 90, "column": 5 } } @@ -14676,15 +16199,15 @@ "binop": null }, "value": "get", - "start": 1462, - "end": 1465, + "start": 1799, + "end": 1802, "loc": { "start": { - "line": 73, + "line": 91, "column": 2 }, "end": { - "line": 73, + "line": 91, "column": 5 } } @@ -14701,17 +16224,17 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1466, - "end": 1472, + "value": "k_in", + "start": 1803, + "end": 1807, "loc": { "start": { - "line": 73, + "line": 91, "column": 6 }, "end": { - "line": 73, - "column": 12 + "line": 91, + "column": 10 } } }, @@ -14727,16 +16250,16 @@ "postfix": false, "binop": null }, - "start": 1473, - "end": 1474, + "start": 1808, + "end": 1809, "loc": { "start": { - "line": 73, - "column": 13 + "line": 91, + "column": 11 }, "end": { - "line": 73, - "column": 14 + "line": 91, + "column": 12 } } }, @@ -14752,16 +16275,16 @@ "postfix": false, "binop": null }, - "start": 1474, - "end": 1475, + "start": 1809, + "end": 1810, "loc": { "start": { - "line": 73, - "column": 14 + "line": 91, + "column": 12 }, "end": { - "line": 73, - "column": 15 + "line": 91, + "column": 13 } } }, @@ -14777,16 +16300,16 @@ "postfix": false, "binop": null }, - "start": 1476, - "end": 1477, + "start": 1811, + "end": 1812, "loc": { "start": { - "line": 73, - "column": 16 + "line": 91, + "column": 14 }, "end": { - "line": 73, - "column": 17 + "line": 91, + "column": 15 } } }, @@ -14805,15 +16328,15 @@ "updateContext": null }, "value": "return", - "start": 1482, - "end": 1488, + "start": 1817, + "end": 1823, "loc": { "start": { - "line": 74, + "line": 92, "column": 4 }, "end": { - "line": 74, + "line": 92, "column": 10 } } @@ -14833,15 +16356,15 @@ "updateContext": null }, "value": "this", - "start": 1489, - "end": 1493, + "start": 1824, + "end": 1828, "loc": { "start": { - "line": 74, + "line": 92, "column": 11 }, "end": { - "line": 74, + "line": 92, "column": 15 } } @@ -14859,15 +16382,15 @@ "binop": null, "updateContext": null }, - "start": 1493, - "end": 1494, + "start": 1828, + "end": 1829, "loc": { "start": { - "line": 74, + "line": 92, "column": 15 }, "end": { - "line": 74, + "line": 92, "column": 16 } } @@ -14884,25 +16407,50 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 1494, - "end": 1499, + "value": "_get_date_sections", + "start": 1829, + "end": 1847, "loc": { "start": { - "line": 74, + "line": 92, "column": 16 }, "end": { - "line": 74, - "column": 21 + "line": 92, + "column": 34 } } }, { "type": { - "label": ".", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1847, + "end": 1848, + "loc": { + "start": { + "line": 92, + "column": 34 + }, + "end": { + "line": 92, + "column": 35 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14911,24 +16459,25 @@ "binop": null, "updateContext": null }, - "start": 1499, - "end": 1500, + "value": 0, + "start": 1848, + "end": 1849, "loc": { "start": { - "line": 74, - "column": 21 + "line": 92, + "column": 35 }, "end": { - "line": 74, - "column": 22 + "line": 92, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14936,17 +16485,16 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1500, - "end": 1506, + "start": 1849, + "end": 1850, "loc": { "start": { - "line": 74, - "column": 22 + "line": 92, + "column": 36 }, "end": { - "line": 74, - "column": 28 + "line": 92, + "column": 37 } } }, @@ -14962,31 +16510,31 @@ "postfix": false, "binop": null }, - "start": 1509, - "end": 1510, + "start": 1853, + "end": 1854, "loc": { "start": { - "line": 75, + "line": 93, "column": 2 }, "end": { - "line": 75, + "line": 93, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the k'in component of the date\n * @returns {number}\n ", - "start": 1514, - "end": 1586, + "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", + "start": 1858, + "end": 1931, "loc": { "start": { - "line": 77, + "line": 95, "column": 2 }, "end": { - "line": 80, + "line": 98, "column": 5 } } @@ -15004,15 +16552,15 @@ "binop": null }, "value": "set", - "start": 1589, - "end": 1592, + "start": 1934, + "end": 1937, "loc": { "start": { - "line": 81, + "line": 99, "column": 2 }, "end": { - "line": 81, + "line": 99, "column": 5 } } @@ -15029,17 +16577,17 @@ "postfix": false, "binop": null }, - "value": "k_in", - "start": 1593, - "end": 1597, + "value": "winal", + "start": 1938, + "end": 1943, "loc": { "start": { - "line": 81, + "line": 99, "column": 6 }, "end": { - "line": 81, - "column": 10 + "line": 99, + "column": 11 } } }, @@ -15055,16 +16603,16 @@ "postfix": false, "binop": null }, - "start": 1598, - "end": 1599, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 81, - "column": 11 + "line": 99, + "column": 12 }, "end": { - "line": 81, - "column": 12 + "line": 99, + "column": 13 } } }, @@ -15080,17 +16628,17 @@ "postfix": false, "binop": null }, - "value": "new_k_in", - "start": 1599, - "end": 1607, + "value": "new_winal", + "start": 1945, + "end": 1954, "loc": { "start": { - "line": 81, - "column": 12 + "line": 99, + "column": 13 }, "end": { - "line": 81, - "column": 20 + "line": 99, + "column": 22 } } }, @@ -15106,16 +16654,16 @@ "postfix": false, "binop": null }, - "start": 1607, - "end": 1608, + "start": 1954, + "end": 1955, "loc": { "start": { - "line": 81, - "column": 20 + "line": 99, + "column": 22 }, "end": { - "line": 81, - "column": 21 + "line": 99, + "column": 23 } } }, @@ -15131,16 +16679,16 @@ "postfix": false, "binop": null }, - "start": 1609, - "end": 1610, + "start": 1956, + "end": 1957, "loc": { "start": { - "line": 81, - "column": 22 + "line": 99, + "column": 24 }, "end": { - "line": 81, - "column": 23 + "line": 99, + "column": 25 } } }, @@ -15159,15 +16707,15 @@ "updateContext": null }, "value": "this", - "start": 1615, - "end": 1619, + "start": 1962, + "end": 1966, "loc": { "start": { - "line": 82, + "line": 100, "column": 4 }, "end": { - "line": 82, + "line": 100, "column": 8 } } @@ -15185,15 +16733,15 @@ "binop": null, "updateContext": null }, - "start": 1619, - "end": 1620, + "start": 1966, + "end": 1967, "loc": { "start": { - "line": 82, + "line": 100, "column": 8 }, "end": { - "line": 82, + "line": 100, "column": 9 } } @@ -15211,15 +16759,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 1620, - "end": 1638, + "start": 1967, + "end": 1985, "loc": { "start": { - "line": 82, + "line": 100, "column": 9 }, "end": { - "line": 82, + "line": 100, "column": 27 } } @@ -15236,15 +16784,15 @@ "postfix": false, "binop": null }, - "start": 1638, - "end": 1639, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 82, + "line": 100, "column": 27 }, "end": { - "line": 82, + "line": 100, "column": 28 } } @@ -15262,16 +16810,16 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 1639, - "end": 1640, + "value": 1, + "start": 1986, + "end": 1987, "loc": { "start": { - "line": 82, + "line": 100, "column": 28 }, "end": { - "line": 82, + "line": 100, "column": 29 } } @@ -15289,15 +16837,15 @@ "binop": null, "updateContext": null }, - "start": 1640, - "end": 1641, + "start": 1987, + "end": 1988, "loc": { "start": { - "line": 82, + "line": 100, "column": 29 }, "end": { - "line": 82, + "line": 100, "column": 30 } } @@ -15314,17 +16862,17 @@ "postfix": false, "binop": null }, - "value": "new_k_in", - "start": 1642, - "end": 1650, + "value": "new_winal", + "start": 1989, + "end": 1998, "loc": { "start": { - "line": 82, + "line": 100, "column": 31 }, "end": { - "line": 82, - "column": 39 + "line": 100, + "column": 40 } } }, @@ -15340,16 +16888,16 @@ "postfix": false, "binop": null }, - "start": 1650, - "end": 1651, + "start": 1998, + "end": 1999, "loc": { "start": { - "line": 82, - "column": 39 + "line": 100, + "column": 40 }, "end": { - "line": 82, - "column": 40 + "line": 100, + "column": 41 } } }, @@ -15365,31 +16913,31 @@ "postfix": false, "binop": null }, - "start": 1654, - "end": 1655, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 83, + "line": 101, "column": 2 }, "end": { - "line": 83, + "line": 101, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the k'in component of the date\n * @returns {number}\n ", - "start": 1659, - "end": 1734, + "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", + "start": 2007, + "end": 2083, "loc": { "start": { - "line": 85, + "line": 103, "column": 2 }, "end": { - "line": 88, + "line": 106, "column": 5 } } @@ -15407,15 +16955,15 @@ "binop": null }, "value": "get", - "start": 1737, - "end": 1740, + "start": 2086, + "end": 2089, "loc": { "start": { - "line": 89, + "line": 107, "column": 2 }, "end": { - "line": 89, + "line": 107, "column": 5 } } @@ -15432,17 +16980,17 @@ "postfix": false, "binop": null }, - "value": "k_in", - "start": 1741, - "end": 1745, + "value": "winal", + "start": 2090, + "end": 2095, "loc": { "start": { - "line": 89, + "line": 107, "column": 6 }, "end": { - "line": 89, - "column": 10 + "line": 107, + "column": 11 } } }, @@ -15458,16 +17006,16 @@ "postfix": false, "binop": null }, - "start": 1746, - "end": 1747, + "start": 2096, + "end": 2097, "loc": { "start": { - "line": 89, - "column": 11 + "line": 107, + "column": 12 }, "end": { - "line": 89, - "column": 12 + "line": 107, + "column": 13 } } }, @@ -15483,16 +17031,16 @@ "postfix": false, "binop": null }, - "start": 1747, - "end": 1748, + "start": 2097, + "end": 2098, "loc": { "start": { - "line": 89, - "column": 12 + "line": 107, + "column": 13 }, "end": { - "line": 89, - "column": 13 + "line": 107, + "column": 14 } } }, @@ -15508,16 +17056,16 @@ "postfix": false, "binop": null }, - "start": 1749, - "end": 1750, + "start": 2099, + "end": 2100, "loc": { "start": { - "line": 89, - "column": 14 + "line": 107, + "column": 15 }, "end": { - "line": 89, - "column": 15 + "line": 107, + "column": 16 } } }, @@ -15536,15 +17084,15 @@ "updateContext": null }, "value": "return", - "start": 1755, - "end": 1761, + "start": 2105, + "end": 2111, "loc": { "start": { - "line": 90, + "line": 108, "column": 4 }, "end": { - "line": 90, + "line": 108, "column": 10 } } @@ -15564,15 +17112,15 @@ "updateContext": null }, "value": "this", - "start": 1762, - "end": 1766, + "start": 2112, + "end": 2116, "loc": { "start": { - "line": 90, + "line": 108, "column": 11 }, "end": { - "line": 90, + "line": 108, "column": 15 } } @@ -15590,15 +17138,15 @@ "binop": null, "updateContext": null }, - "start": 1766, - "end": 1767, + "start": 2116, + "end": 2117, "loc": { "start": { - "line": 90, + "line": 108, "column": 15 }, "end": { - "line": 90, + "line": 108, "column": 16 } } @@ -15616,15 +17164,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 1767, - "end": 1785, + "start": 2117, + "end": 2135, "loc": { "start": { - "line": 90, + "line": 108, "column": 16 }, "end": { - "line": 90, + "line": 108, "column": 34 } } @@ -15641,15 +17189,15 @@ "postfix": false, "binop": null }, - "start": 1785, - "end": 1786, + "start": 2135, + "end": 2136, "loc": { "start": { - "line": 90, + "line": 108, "column": 34 }, "end": { - "line": 90, + "line": 108, "column": 35 } } @@ -15667,16 +17215,16 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 1786, - "end": 1787, + "value": 1, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 90, + "line": 108, "column": 35 }, "end": { - "line": 90, + "line": 108, "column": 36 } } @@ -15693,15 +17241,15 @@ "postfix": false, "binop": null }, - "start": 1787, - "end": 1788, + "start": 2137, + "end": 2138, "loc": { "start": { - "line": 90, + "line": 108, "column": 36 }, "end": { - "line": 90, + "line": 108, "column": 37 } } @@ -15718,31 +17266,31 @@ "postfix": false, "binop": null }, - "start": 1791, - "end": 1792, + "start": 2141, + "end": 2142, "loc": { "start": { - "line": 91, + "line": 109, "column": 2 }, "end": { - "line": 91, + "line": 109, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the winal component of the date\n * @returns {number}\n ", - "start": 1796, - "end": 1869, + "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", + "start": 2146, + "end": 2217, "loc": { "start": { - "line": 93, + "line": 111, "column": 2 }, "end": { - "line": 96, + "line": 114, "column": 5 } } @@ -15760,15 +17308,15 @@ "binop": null }, "value": "set", - "start": 1872, - "end": 1875, + "start": 2220, + "end": 2223, "loc": { "start": { - "line": 97, + "line": 115, "column": 2 }, "end": { - "line": 97, + "line": 115, "column": 5 } } @@ -15785,17 +17333,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 1876, - "end": 1881, + "value": "tun", + "start": 2224, + "end": 2227, "loc": { "start": { - "line": 97, + "line": 115, "column": 6 }, "end": { - "line": 97, - "column": 11 + "line": 115, + "column": 9 } } }, @@ -15811,16 +17359,16 @@ "postfix": false, "binop": null }, - "start": 1882, - "end": 1883, + "start": 2228, + "end": 2229, "loc": { "start": { - "line": 97, - "column": 12 + "line": 115, + "column": 10 }, "end": { - "line": 97, - "column": 13 + "line": 115, + "column": 11 } } }, @@ -15836,17 +17384,17 @@ "postfix": false, "binop": null }, - "value": "new_winal", - "start": 1883, - "end": 1892, + "value": "new_tun", + "start": 2229, + "end": 2236, "loc": { "start": { - "line": 97, - "column": 13 + "line": 115, + "column": 11 }, "end": { - "line": 97, - "column": 22 + "line": 115, + "column": 18 } } }, @@ -15862,16 +17410,16 @@ "postfix": false, "binop": null }, - "start": 1892, - "end": 1893, + "start": 2236, + "end": 2237, "loc": { "start": { - "line": 97, - "column": 22 + "line": 115, + "column": 18 }, "end": { - "line": 97, - "column": 23 + "line": 115, + "column": 19 } } }, @@ -15887,16 +17435,16 @@ "postfix": false, "binop": null }, - "start": 1894, - "end": 1895, + "start": 2238, + "end": 2239, "loc": { "start": { - "line": 97, - "column": 24 + "line": 115, + "column": 20 }, "end": { - "line": 97, - "column": 25 + "line": 115, + "column": 21 } } }, @@ -15915,15 +17463,15 @@ "updateContext": null }, "value": "this", - "start": 1900, - "end": 1904, + "start": 2244, + "end": 2248, "loc": { "start": { - "line": 98, + "line": 116, "column": 4 }, "end": { - "line": 98, + "line": 116, "column": 8 } } @@ -15941,15 +17489,15 @@ "binop": null, "updateContext": null }, - "start": 1904, - "end": 1905, + "start": 2248, + "end": 2249, "loc": { "start": { - "line": 98, + "line": 116, "column": 8 }, "end": { - "line": 98, + "line": 116, "column": 9 } } @@ -15967,15 +17515,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 1905, - "end": 1923, + "start": 2249, + "end": 2267, "loc": { "start": { - "line": 98, + "line": 116, "column": 9 }, "end": { - "line": 98, + "line": 116, "column": 27 } } @@ -15992,15 +17540,15 @@ "postfix": false, "binop": null }, - "start": 1923, - "end": 1924, + "start": 2267, + "end": 2268, "loc": { "start": { - "line": 98, + "line": 116, "column": 27 }, "end": { - "line": 98, + "line": 116, "column": 28 } } @@ -16018,16 +17566,16 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 1924, - "end": 1925, + "value": 2, + "start": 2268, + "end": 2269, "loc": { "start": { - "line": 98, + "line": 116, "column": 28 }, "end": { - "line": 98, + "line": 116, "column": 29 } } @@ -16045,15 +17593,15 @@ "binop": null, "updateContext": null }, - "start": 1925, - "end": 1926, + "start": 2269, + "end": 2270, "loc": { "start": { - "line": 98, + "line": 116, "column": 29 }, "end": { - "line": 98, + "line": 116, "column": 30 } } @@ -16070,17 +17618,17 @@ "postfix": false, "binop": null }, - "value": "new_winal", - "start": 1927, - "end": 1936, + "value": "new_tun", + "start": 2271, + "end": 2278, "loc": { "start": { - "line": 98, + "line": 116, "column": 31 }, "end": { - "line": 98, - "column": 40 + "line": 116, + "column": 38 } } }, @@ -16096,16 +17644,16 @@ "postfix": false, "binop": null }, - "start": 1936, - "end": 1937, + "start": 2278, + "end": 2279, "loc": { "start": { - "line": 98, - "column": 40 + "line": 116, + "column": 38 }, "end": { - "line": 98, - "column": 41 + "line": 116, + "column": 39 } } }, @@ -16121,31 +17669,31 @@ "postfix": false, "binop": null }, - "start": 1940, - "end": 1941, + "start": 2282, + "end": 2283, "loc": { "start": { - "line": 99, + "line": 117, "column": 2 }, "end": { - "line": 99, + "line": 117, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the winal component of the date\n * @returns {number}\n ", - "start": 1945, - "end": 2021, + "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", + "start": 2287, + "end": 2361, "loc": { "start": { - "line": 101, + "line": 119, "column": 2 }, "end": { - "line": 104, + "line": 122, "column": 5 } } @@ -16163,15 +17711,15 @@ "binop": null }, "value": "get", - "start": 2024, - "end": 2027, + "start": 2364, + "end": 2367, "loc": { "start": { - "line": 105, + "line": 123, "column": 2 }, "end": { - "line": 105, + "line": 123, "column": 5 } } @@ -16188,17 +17736,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 2028, - "end": 2033, + "value": "tun", + "start": 2368, + "end": 2371, "loc": { "start": { - "line": 105, + "line": 123, "column": 6 }, "end": { - "line": 105, - "column": 11 + "line": 123, + "column": 9 } } }, @@ -16214,16 +17762,16 @@ "postfix": false, "binop": null }, - "start": 2034, - "end": 2035, + "start": 2372, + "end": 2373, "loc": { "start": { - "line": 105, - "column": 12 + "line": 123, + "column": 10 }, "end": { - "line": 105, - "column": 13 + "line": 123, + "column": 11 } } }, @@ -16239,16 +17787,16 @@ "postfix": false, "binop": null }, - "start": 2035, - "end": 2036, + "start": 2373, + "end": 2374, "loc": { "start": { - "line": 105, - "column": 13 + "line": 123, + "column": 11 }, "end": { - "line": 105, - "column": 14 + "line": 123, + "column": 12 } } }, @@ -16264,16 +17812,16 @@ "postfix": false, "binop": null }, - "start": 2037, - "end": 2038, + "start": 2375, + "end": 2376, "loc": { "start": { - "line": 105, - "column": 15 + "line": 123, + "column": 13 }, "end": { - "line": 105, - "column": 16 + "line": 123, + "column": 14 } } }, @@ -16292,15 +17840,15 @@ "updateContext": null }, "value": "return", - "start": 2043, - "end": 2049, + "start": 2381, + "end": 2387, "loc": { "start": { - "line": 106, + "line": 124, "column": 4 }, "end": { - "line": 106, + "line": 124, "column": 10 } } @@ -16320,15 +17868,15 @@ "updateContext": null }, "value": "this", - "start": 2050, - "end": 2054, + "start": 2388, + "end": 2392, "loc": { "start": { - "line": 106, + "line": 124, "column": 11 }, "end": { - "line": 106, + "line": 124, "column": 15 } } @@ -16346,15 +17894,15 @@ "binop": null, "updateContext": null }, - "start": 2054, - "end": 2055, + "start": 2392, + "end": 2393, "loc": { "start": { - "line": 106, + "line": 124, "column": 15 }, "end": { - "line": 106, + "line": 124, "column": 16 } } @@ -16372,15 +17920,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 2055, - "end": 2073, + "start": 2393, + "end": 2411, "loc": { "start": { - "line": 106, + "line": 124, "column": 16 }, "end": { - "line": 106, + "line": 124, "column": 34 } } @@ -16397,15 +17945,15 @@ "postfix": false, "binop": null }, - "start": 2073, - "end": 2074, + "start": 2411, + "end": 2412, "loc": { "start": { - "line": 106, + "line": 124, "column": 34 }, "end": { - "line": 106, + "line": 124, "column": 35 } } @@ -16423,16 +17971,16 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 2074, - "end": 2075, + "value": 2, + "start": 2412, + "end": 2413, "loc": { "start": { - "line": 106, + "line": 124, "column": 35 }, "end": { - "line": 106, + "line": 124, "column": 36 } } @@ -16449,15 +17997,15 @@ "postfix": false, "binop": null }, - "start": 2075, - "end": 2076, + "start": 2413, + "end": 2414, "loc": { "start": { - "line": 106, + "line": 124, "column": 36 }, "end": { - "line": 106, + "line": 124, "column": 37 } } @@ -16474,31 +18022,31 @@ "postfix": false, "binop": null }, - "start": 2079, - "end": 2080, + "start": 2417, + "end": 2418, "loc": { "start": { - "line": 107, + "line": 125, "column": 2 }, "end": { - "line": 107, + "line": 125, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the tun component of the date\n * @returns {number}\n ", - "start": 2084, - "end": 2155, + "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", + "start": 2422, + "end": 2496, "loc": { "start": { - "line": 109, + "line": 127, "column": 2 }, "end": { - "line": 112, + "line": 130, "column": 5 } } @@ -16516,15 +18064,15 @@ "binop": null }, "value": "set", - "start": 2158, - "end": 2161, + "start": 2499, + "end": 2502, "loc": { "start": { - "line": 113, + "line": 131, "column": 2 }, "end": { - "line": 113, + "line": 131, "column": 5 } } @@ -16541,17 +18089,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 2162, - "end": 2165, + "value": "k_atun", + "start": 2503, + "end": 2509, "loc": { "start": { - "line": 113, + "line": 131, "column": 6 }, "end": { - "line": 113, - "column": 9 + "line": 131, + "column": 12 } } }, @@ -16567,16 +18115,16 @@ "postfix": false, "binop": null }, - "start": 2166, - "end": 2167, + "start": 2510, + "end": 2511, "loc": { "start": { - "line": 113, - "column": 10 + "line": 131, + "column": 13 }, "end": { - "line": 113, - "column": 11 + "line": 131, + "column": 14 } } }, @@ -16592,17 +18140,17 @@ "postfix": false, "binop": null }, - "value": "new_tun", - "start": 2167, - "end": 2174, + "value": "new_k_atun", + "start": 2511, + "end": 2521, "loc": { "start": { - "line": 113, - "column": 11 + "line": 131, + "column": 14 }, "end": { - "line": 113, - "column": 18 + "line": 131, + "column": 24 } } }, @@ -16618,16 +18166,16 @@ "postfix": false, "binop": null }, - "start": 2174, - "end": 2175, + "start": 2521, + "end": 2522, "loc": { "start": { - "line": 113, - "column": 18 + "line": 131, + "column": 24 }, "end": { - "line": 113, - "column": 19 + "line": 131, + "column": 25 } } }, @@ -16643,16 +18191,16 @@ "postfix": false, "binop": null }, - "start": 2176, - "end": 2177, + "start": 2523, + "end": 2524, "loc": { "start": { - "line": 113, - "column": 20 + "line": 131, + "column": 26 }, "end": { - "line": 113, - "column": 21 + "line": 131, + "column": 27 } } }, @@ -16671,15 +18219,15 @@ "updateContext": null }, "value": "this", - "start": 2182, - "end": 2186, + "start": 2529, + "end": 2533, "loc": { "start": { - "line": 114, + "line": 132, "column": 4 }, "end": { - "line": 114, + "line": 132, "column": 8 } } @@ -16697,15 +18245,15 @@ "binop": null, "updateContext": null }, - "start": 2186, - "end": 2187, + "start": 2533, + "end": 2534, "loc": { "start": { - "line": 114, + "line": 132, "column": 8 }, "end": { - "line": 114, + "line": 132, "column": 9 } } @@ -16723,15 +18271,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 2187, - "end": 2205, + "start": 2534, + "end": 2552, "loc": { "start": { - "line": 114, + "line": 132, "column": 9 }, "end": { - "line": 114, + "line": 132, "column": 27 } } @@ -16748,15 +18296,15 @@ "postfix": false, "binop": null }, - "start": 2205, - "end": 2206, + "start": 2552, + "end": 2553, "loc": { "start": { - "line": 114, + "line": 132, "column": 27 }, "end": { - "line": 114, + "line": 132, "column": 28 } } @@ -16774,16 +18322,16 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 2206, - "end": 2207, + "value": 3, + "start": 2553, + "end": 2554, "loc": { "start": { - "line": 114, + "line": 132, "column": 28 }, "end": { - "line": 114, + "line": 132, "column": 29 } } @@ -16801,15 +18349,15 @@ "binop": null, "updateContext": null }, - "start": 2207, - "end": 2208, + "start": 2554, + "end": 2555, "loc": { "start": { - "line": 114, + "line": 132, "column": 29 }, "end": { - "line": 114, + "line": 132, "column": 30 } } @@ -16826,17 +18374,17 @@ "postfix": false, "binop": null }, - "value": "new_tun", - "start": 2209, - "end": 2216, + "value": "new_k_atun", + "start": 2556, + "end": 2566, "loc": { "start": { - "line": 114, + "line": 132, "column": 31 }, "end": { - "line": 114, - "column": 38 + "line": 132, + "column": 41 } } }, @@ -16852,16 +18400,16 @@ "postfix": false, "binop": null }, - "start": 2216, - "end": 2217, + "start": 2566, + "end": 2567, "loc": { "start": { - "line": 114, - "column": 38 + "line": 132, + "column": 41 }, "end": { - "line": 114, - "column": 39 + "line": 132, + "column": 42 } } }, @@ -16877,31 +18425,31 @@ "postfix": false, "binop": null }, - "start": 2220, - "end": 2221, + "start": 2570, + "end": 2571, "loc": { "start": { - "line": 115, + "line": 133, "column": 2 }, "end": { - "line": 115, + "line": 133, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the tun component of the date\n * @returns {number}\n ", - "start": 2225, - "end": 2299, + "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", + "start": 2575, + "end": 2652, "loc": { "start": { - "line": 117, + "line": 135, "column": 2 }, "end": { - "line": 120, + "line": 138, "column": 5 } } @@ -16919,15 +18467,15 @@ "binop": null }, "value": "get", - "start": 2302, - "end": 2305, + "start": 2655, + "end": 2658, "loc": { "start": { - "line": 121, + "line": 139, "column": 2 }, "end": { - "line": 121, + "line": 139, "column": 5 } } @@ -16944,17 +18492,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 2306, - "end": 2309, + "value": "k_atun", + "start": 2659, + "end": 2665, "loc": { "start": { - "line": 121, + "line": 139, "column": 6 }, "end": { - "line": 121, - "column": 9 + "line": 139, + "column": 12 } } }, @@ -16970,16 +18518,16 @@ "postfix": false, "binop": null }, - "start": 2310, - "end": 2311, + "start": 2666, + "end": 2667, "loc": { "start": { - "line": 121, - "column": 10 + "line": 139, + "column": 13 }, "end": { - "line": 121, - "column": 11 + "line": 139, + "column": 14 } } }, @@ -16995,16 +18543,16 @@ "postfix": false, "binop": null }, - "start": 2311, - "end": 2312, + "start": 2667, + "end": 2668, "loc": { "start": { - "line": 121, - "column": 11 + "line": 139, + "column": 14 }, "end": { - "line": 121, - "column": 12 + "line": 139, + "column": 15 } } }, @@ -17020,16 +18568,16 @@ "postfix": false, "binop": null }, - "start": 2313, - "end": 2314, + "start": 2669, + "end": 2670, "loc": { "start": { - "line": 121, - "column": 13 + "line": 139, + "column": 16 }, "end": { - "line": 121, - "column": 14 + "line": 139, + "column": 17 } } }, @@ -17048,15 +18596,15 @@ "updateContext": null }, "value": "return", - "start": 2319, - "end": 2325, + "start": 2675, + "end": 2681, "loc": { "start": { - "line": 122, + "line": 140, "column": 4 }, "end": { - "line": 122, + "line": 140, "column": 10 } } @@ -17076,15 +18624,15 @@ "updateContext": null }, "value": "this", - "start": 2326, - "end": 2330, + "start": 2682, + "end": 2686, "loc": { "start": { - "line": 122, + "line": 140, "column": 11 }, "end": { - "line": 122, + "line": 140, "column": 15 } } @@ -17102,15 +18650,15 @@ "binop": null, "updateContext": null }, - "start": 2330, - "end": 2331, + "start": 2686, + "end": 2687, "loc": { "start": { - "line": 122, + "line": 140, "column": 15 }, "end": { - "line": 122, + "line": 140, "column": 16 } } @@ -17128,15 +18676,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 2331, - "end": 2349, + "start": 2687, + "end": 2705, "loc": { "start": { - "line": 122, + "line": 140, "column": 16 }, "end": { - "line": 122, + "line": 140, "column": 34 } } @@ -17153,15 +18701,15 @@ "postfix": false, "binop": null }, - "start": 2349, - "end": 2350, + "start": 2705, + "end": 2706, "loc": { "start": { - "line": 122, + "line": 140, "column": 34 }, "end": { - "line": 122, + "line": 140, "column": 35 } } @@ -17179,16 +18727,16 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 2350, - "end": 2351, + "value": 3, + "start": 2706, + "end": 2707, "loc": { "start": { - "line": 122, + "line": 140, "column": 35 }, "end": { - "line": 122, + "line": 140, "column": 36 } } @@ -17205,15 +18753,15 @@ "postfix": false, "binop": null }, - "start": 2351, - "end": 2352, + "start": 2707, + "end": 2708, "loc": { "start": { - "line": 122, + "line": 140, "column": 36 }, "end": { - "line": 122, + "line": 140, "column": 37 } } @@ -17230,31 +18778,31 @@ "postfix": false, "binop": null }, - "start": 2355, - "end": 2356, + "start": 2711, + "end": 2712, "loc": { "start": { - "line": 123, + "line": 141, "column": 2 }, "end": { - "line": 123, + "line": 141, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the date\n * @returns {number}\n ", - "start": 2360, - "end": 2434, + "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", + "start": 2716, + "end": 2791, "loc": { "start": { - "line": 125, + "line": 143, "column": 2 }, "end": { - "line": 128, + "line": 146, "column": 5 } } @@ -17272,15 +18820,15 @@ "binop": null }, "value": "set", - "start": 2437, - "end": 2440, + "start": 2794, + "end": 2797, "loc": { "start": { - "line": 129, + "line": 147, "column": 2 }, "end": { - "line": 129, + "line": 147, "column": 5 } } @@ -17297,17 +18845,17 @@ "postfix": false, "binop": null }, - "value": "k_atun", - "start": 2441, - "end": 2447, + "value": "bak_tun", + "start": 2798, + "end": 2805, "loc": { "start": { - "line": 129, + "line": 147, "column": 6 }, "end": { - "line": 129, - "column": 12 + "line": 147, + "column": 13 } } }, @@ -17323,16 +18871,16 @@ "postfix": false, "binop": null }, - "start": 2448, - "end": 2449, + "start": 2806, + "end": 2807, "loc": { "start": { - "line": 129, - "column": 13 + "line": 147, + "column": 14 }, "end": { - "line": 129, - "column": 14 + "line": 147, + "column": 15 } } }, @@ -17348,17 +18896,17 @@ "postfix": false, "binop": null }, - "value": "new_k_atun", - "start": 2449, - "end": 2459, + "value": "new_bak_tun", + "start": 2807, + "end": 2818, "loc": { "start": { - "line": 129, - "column": 14 + "line": 147, + "column": 15 }, "end": { - "line": 129, - "column": 24 + "line": 147, + "column": 26 } } }, @@ -17374,16 +18922,16 @@ "postfix": false, "binop": null }, - "start": 2459, - "end": 2460, + "start": 2818, + "end": 2819, "loc": { "start": { - "line": 129, - "column": 24 + "line": 147, + "column": 26 }, "end": { - "line": 129, - "column": 25 + "line": 147, + "column": 27 } } }, @@ -17399,16 +18947,16 @@ "postfix": false, "binop": null }, - "start": 2461, - "end": 2462, + "start": 2820, + "end": 2821, "loc": { "start": { - "line": 129, - "column": 26 + "line": 147, + "column": 28 }, "end": { - "line": 129, - "column": 27 + "line": 147, + "column": 29 } } }, @@ -17427,15 +18975,15 @@ "updateContext": null }, "value": "this", - "start": 2467, - "end": 2471, + "start": 2826, + "end": 2830, "loc": { "start": { - "line": 130, + "line": 148, "column": 4 }, "end": { - "line": 130, + "line": 148, "column": 8 } } @@ -17453,15 +19001,15 @@ "binop": null, "updateContext": null }, - "start": 2471, - "end": 2472, + "start": 2830, + "end": 2831, "loc": { "start": { - "line": 130, + "line": 148, "column": 8 }, "end": { - "line": 130, + "line": 148, "column": 9 } } @@ -17479,15 +19027,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 2472, - "end": 2490, + "start": 2831, + "end": 2849, "loc": { "start": { - "line": 130, + "line": 148, "column": 9 }, "end": { - "line": 130, + "line": 148, "column": 27 } } @@ -17504,15 +19052,15 @@ "postfix": false, "binop": null }, - "start": 2490, - "end": 2491, + "start": 2849, + "end": 2850, "loc": { "start": { - "line": 130, + "line": 148, "column": 27 }, "end": { - "line": 130, + "line": 148, "column": 28 } } @@ -17530,16 +19078,16 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 2491, - "end": 2492, + "value": 4, + "start": 2850, + "end": 2851, "loc": { "start": { - "line": 130, + "line": 148, "column": 28 }, "end": { - "line": 130, + "line": 148, "column": 29 } } @@ -17557,15 +19105,15 @@ "binop": null, "updateContext": null }, - "start": 2492, - "end": 2493, + "start": 2851, + "end": 2852, "loc": { "start": { - "line": 130, + "line": 148, "column": 29 }, "end": { - "line": 130, + "line": 148, "column": 30 } } @@ -17582,17 +19130,17 @@ "postfix": false, "binop": null }, - "value": "new_k_atun", - "start": 2494, - "end": 2504, + "value": "new_bak_tun", + "start": 2853, + "end": 2864, "loc": { "start": { - "line": 130, + "line": 148, "column": 31 }, "end": { - "line": 130, - "column": 41 + "line": 148, + "column": 42 } } }, @@ -17608,16 +19156,16 @@ "postfix": false, "binop": null }, - "start": 2504, - "end": 2505, + "start": 2864, + "end": 2865, "loc": { "start": { - "line": 130, - "column": 41 + "line": 148, + "column": 42 }, "end": { - "line": 130, - "column": 42 + "line": 148, + "column": 43 } } }, @@ -17633,31 +19181,31 @@ "postfix": false, "binop": null }, - "start": 2508, - "end": 2509, + "start": 2868, + "end": 2869, "loc": { "start": { - "line": 131, + "line": 149, "column": 2 }, "end": { - "line": 131, + "line": 149, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the date\n * @returns {number}\n ", - "start": 2513, - "end": 2590, + "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", + "start": 2873, + "end": 2951, "loc": { "start": { - "line": 133, + "line": 151, "column": 2 }, "end": { - "line": 136, + "line": 154, "column": 5 } } @@ -17675,15 +19223,15 @@ "binop": null }, "value": "get", - "start": 2593, - "end": 2596, + "start": 2954, + "end": 2957, "loc": { "start": { - "line": 137, + "line": 155, "column": 2 }, "end": { - "line": 137, + "line": 155, "column": 5 } } @@ -17700,17 +19248,17 @@ "postfix": false, "binop": null }, - "value": "k_atun", - "start": 2597, - "end": 2603, + "value": "bak_tun", + "start": 2958, + "end": 2965, "loc": { "start": { - "line": 137, + "line": 155, "column": 6 }, "end": { - "line": 137, - "column": 12 + "line": 155, + "column": 13 } } }, @@ -17726,16 +19274,16 @@ "postfix": false, "binop": null }, - "start": 2604, - "end": 2605, + "start": 2966, + "end": 2967, "loc": { "start": { - "line": 137, - "column": 13 + "line": 155, + "column": 14 }, "end": { - "line": 137, - "column": 14 + "line": 155, + "column": 15 } } }, @@ -17751,16 +19299,16 @@ "postfix": false, "binop": null }, - "start": 2605, - "end": 2606, + "start": 2967, + "end": 2968, "loc": { "start": { - "line": 137, - "column": 14 + "line": 155, + "column": 15 }, "end": { - "line": 137, - "column": 15 + "line": 155, + "column": 16 } } }, @@ -17776,16 +19324,16 @@ "postfix": false, "binop": null }, - "start": 2607, - "end": 2608, + "start": 2969, + "end": 2970, "loc": { "start": { - "line": 137, - "column": 16 + "line": 155, + "column": 17 }, "end": { - "line": 137, - "column": 17 + "line": 155, + "column": 18 } } }, @@ -17804,15 +19352,15 @@ "updateContext": null }, "value": "return", - "start": 2613, - "end": 2619, + "start": 2975, + "end": 2981, "loc": { "start": { - "line": 138, + "line": 156, "column": 4 }, "end": { - "line": 138, + "line": 156, "column": 10 } } @@ -17832,15 +19380,15 @@ "updateContext": null }, "value": "this", - "start": 2620, - "end": 2624, + "start": 2982, + "end": 2986, "loc": { "start": { - "line": 138, + "line": 156, "column": 11 }, "end": { - "line": 138, + "line": 156, "column": 15 } } @@ -17858,15 +19406,15 @@ "binop": null, "updateContext": null }, - "start": 2624, - "end": 2625, + "start": 2986, + "end": 2987, "loc": { "start": { - "line": 138, + "line": 156, "column": 15 }, "end": { - "line": 138, + "line": 156, "column": 16 } } @@ -17884,15 +19432,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 2625, - "end": 2643, + "start": 2987, + "end": 3005, "loc": { "start": { - "line": 138, + "line": 156, "column": 16 }, "end": { - "line": 138, + "line": 156, "column": 34 } } @@ -17909,15 +19457,15 @@ "postfix": false, "binop": null }, - "start": 2643, - "end": 2644, + "start": 3005, + "end": 3006, "loc": { "start": { - "line": 138, + "line": 156, "column": 34 }, "end": { - "line": 138, + "line": 156, "column": 35 } } @@ -17935,16 +19483,16 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 2644, - "end": 2645, + "value": 4, + "start": 3006, + "end": 3007, "loc": { "start": { - "line": 138, + "line": 156, "column": 35 }, "end": { - "line": 138, + "line": 156, "column": 36 } } @@ -17961,15 +19509,15 @@ "postfix": false, "binop": null }, - "start": 2645, - "end": 2646, + "start": 3007, + "end": 3008, "loc": { "start": { - "line": 138, + "line": 156, "column": 36 }, "end": { - "line": 138, + "line": 156, "column": 37 } } @@ -17986,31 +19534,31 @@ "postfix": false, "binop": null }, - "start": 2649, - "end": 2650, + "start": 3011, + "end": 3012, "loc": { "start": { - "line": 139, + "line": 157, "column": 2 }, "end": { - "line": 139, + "line": 157, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the date\n * @returns {number}\n ", - "start": 2654, - "end": 2729, + "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", + "start": 3016, + "end": 3090, "loc": { "start": { - "line": 141, + "line": 159, "column": 2 }, "end": { - "line": 144, + "line": 162, "column": 5 } } @@ -18028,15 +19576,15 @@ "binop": null }, "value": "set", - "start": 2732, - "end": 2735, + "start": 3093, + "end": 3096, "loc": { "start": { - "line": 145, + "line": 163, "column": 2 }, "end": { - "line": 145, + "line": 163, "column": 5 } } @@ -18053,17 +19601,17 @@ "postfix": false, "binop": null }, - "value": "bak_tun", - "start": 2736, - "end": 2743, + "value": "piktun", + "start": 3097, + "end": 3103, "loc": { "start": { - "line": 145, + "line": 163, "column": 6 }, "end": { - "line": 145, - "column": 13 + "line": 163, + "column": 12 } } }, @@ -18079,16 +19627,16 @@ "postfix": false, "binop": null }, - "start": 2744, - "end": 2745, + "start": 3104, + "end": 3105, "loc": { "start": { - "line": 145, - "column": 14 + "line": 163, + "column": 13 }, "end": { - "line": 145, - "column": 15 + "line": 163, + "column": 14 } } }, @@ -18105,16 +19653,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 2745, - "end": 2756, + "start": 3105, + "end": 3116, "loc": { "start": { - "line": 145, - "column": 15 + "line": 163, + "column": 14 }, "end": { - "line": 145, - "column": 26 + "line": 163, + "column": 25 } } }, @@ -18130,16 +19678,16 @@ "postfix": false, "binop": null }, - "start": 2756, - "end": 2757, + "start": 3116, + "end": 3117, "loc": { "start": { - "line": 145, - "column": 26 + "line": 163, + "column": 25 }, "end": { - "line": 145, - "column": 27 + "line": 163, + "column": 26 } } }, @@ -18155,16 +19703,16 @@ "postfix": false, "binop": null }, - "start": 2758, - "end": 2759, + "start": 3118, + "end": 3119, "loc": { "start": { - "line": 145, - "column": 28 + "line": 163, + "column": 27 }, "end": { - "line": 145, - "column": 29 + "line": 163, + "column": 28 } } }, @@ -18183,15 +19731,15 @@ "updateContext": null }, "value": "this", - "start": 2764, - "end": 2768, + "start": 3124, + "end": 3128, "loc": { "start": { - "line": 146, + "line": 164, "column": 4 }, "end": { - "line": 146, + "line": 164, "column": 8 } } @@ -18209,15 +19757,15 @@ "binop": null, "updateContext": null }, - "start": 2768, - "end": 2769, + "start": 3128, + "end": 3129, "loc": { "start": { - "line": 146, + "line": 164, "column": 8 }, "end": { - "line": 146, + "line": 164, "column": 9 } } @@ -18235,15 +19783,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 2769, - "end": 2787, + "start": 3129, + "end": 3147, "loc": { "start": { - "line": 146, + "line": 164, "column": 9 }, "end": { - "line": 146, + "line": 164, "column": 27 } } @@ -18260,15 +19808,15 @@ "postfix": false, "binop": null }, - "start": 2787, - "end": 2788, + "start": 3147, + "end": 3148, "loc": { "start": { - "line": 146, + "line": 164, "column": 27 }, "end": { - "line": 146, + "line": 164, "column": 28 } } @@ -18286,16 +19834,16 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 2788, - "end": 2789, + "value": 5, + "start": 3148, + "end": 3149, "loc": { "start": { - "line": 146, + "line": 164, "column": 28 }, "end": { - "line": 146, + "line": 164, "column": 29 } } @@ -18313,15 +19861,15 @@ "binop": null, "updateContext": null }, - "start": 2789, - "end": 2790, + "start": 3149, + "end": 3150, "loc": { "start": { - "line": 146, + "line": 164, "column": 29 }, "end": { - "line": 146, + "line": 164, "column": 30 } } @@ -18339,15 +19887,15 @@ "binop": null }, "value": "new_bak_tun", - "start": 2791, - "end": 2802, + "start": 3151, + "end": 3162, "loc": { "start": { - "line": 146, + "line": 164, "column": 31 }, "end": { - "line": 146, + "line": 164, "column": 42 } } @@ -18364,15 +19912,15 @@ "postfix": false, "binop": null }, - "start": 2802, - "end": 2803, + "start": 3162, + "end": 3163, "loc": { "start": { - "line": 146, + "line": 164, "column": 42 }, "end": { - "line": 146, + "line": 164, "column": 43 } } @@ -18389,31 +19937,31 @@ "postfix": false, "binop": null }, - "start": 2806, - "end": 2807, + "start": 3166, + "end": 3167, "loc": { "start": { - "line": 147, + "line": 165, "column": 2 }, "end": { - "line": 147, + "line": 165, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the date\n * @returns {number}\n ", - "start": 2811, - "end": 2889, + "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", + "start": 3171, + "end": 3248, "loc": { "start": { - "line": 149, + "line": 167, "column": 2 }, "end": { - "line": 152, + "line": 170, "column": 5 } } @@ -18431,15 +19979,15 @@ "binop": null }, "value": "get", - "start": 2892, - "end": 2895, + "start": 3251, + "end": 3254, "loc": { "start": { - "line": 153, + "line": 171, "column": 2 }, "end": { - "line": 153, + "line": 171, "column": 5 } } @@ -18456,17 +20004,17 @@ "postfix": false, "binop": null }, - "value": "bak_tun", - "start": 2896, - "end": 2903, + "value": "piktun", + "start": 3255, + "end": 3261, "loc": { "start": { - "line": 153, + "line": 171, "column": 6 }, "end": { - "line": 153, - "column": 13 + "line": 171, + "column": 12 } } }, @@ -18482,16 +20030,16 @@ "postfix": false, "binop": null }, - "start": 2904, - "end": 2905, + "start": 3262, + "end": 3263, "loc": { "start": { - "line": 153, - "column": 14 + "line": 171, + "column": 13 }, "end": { - "line": 153, - "column": 15 + "line": 171, + "column": 14 } } }, @@ -18507,16 +20055,16 @@ "postfix": false, "binop": null }, - "start": 2905, - "end": 2906, + "start": 3263, + "end": 3264, "loc": { "start": { - "line": 153, - "column": 15 + "line": 171, + "column": 14 }, "end": { - "line": 153, - "column": 16 + "line": 171, + "column": 15 } } }, @@ -18532,16 +20080,16 @@ "postfix": false, "binop": null }, - "start": 2907, - "end": 2908, + "start": 3265, + "end": 3266, "loc": { "start": { - "line": 153, - "column": 17 + "line": 171, + "column": 16 }, "end": { - "line": 153, - "column": 18 + "line": 171, + "column": 17 } } }, @@ -18560,15 +20108,15 @@ "updateContext": null }, "value": "return", - "start": 2913, - "end": 2919, + "start": 3271, + "end": 3277, "loc": { "start": { - "line": 154, + "line": 172, "column": 4 }, "end": { - "line": 154, + "line": 172, "column": 10 } } @@ -18588,15 +20136,15 @@ "updateContext": null }, "value": "this", - "start": 2920, - "end": 2924, + "start": 3278, + "end": 3282, "loc": { "start": { - "line": 154, + "line": 172, "column": 11 }, "end": { - "line": 154, + "line": 172, "column": 15 } } @@ -18614,15 +20162,15 @@ "binop": null, "updateContext": null }, - "start": 2924, - "end": 2925, + "start": 3282, + "end": 3283, "loc": { "start": { - "line": 154, + "line": 172, "column": 15 }, "end": { - "line": 154, + "line": 172, "column": 16 } } @@ -18640,15 +20188,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 2925, - "end": 2943, + "start": 3283, + "end": 3301, "loc": { "start": { - "line": 154, + "line": 172, "column": 16 }, "end": { - "line": 154, + "line": 172, "column": 34 } } @@ -18665,15 +20213,15 @@ "postfix": false, "binop": null }, - "start": 2943, - "end": 2944, + "start": 3301, + "end": 3302, "loc": { "start": { - "line": 154, + "line": 172, "column": 34 }, "end": { - "line": 154, + "line": 172, "column": 35 } } @@ -18691,16 +20239,16 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 2944, - "end": 2945, + "value": 5, + "start": 3302, + "end": 3303, "loc": { "start": { - "line": 154, + "line": 172, "column": 35 }, "end": { - "line": 154, + "line": 172, "column": 36 } } @@ -18717,15 +20265,15 @@ "postfix": false, "binop": null }, - "start": 2945, - "end": 2946, + "start": 3303, + "end": 3304, "loc": { "start": { - "line": 154, + "line": 172, "column": 36 }, "end": { - "line": 154, + "line": 172, "column": 37 } } @@ -18742,31 +20290,31 @@ "postfix": false, "binop": null }, - "start": 2949, - "end": 2950, + "start": 3307, + "end": 3308, "loc": { "start": { - "line": 155, + "line": 173, "column": 2 }, "end": { - "line": 155, + "line": 173, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the piktun component of the date\n * @returns {number}\n ", - "start": 2954, - "end": 3028, + "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", + "start": 3312, + "end": 3388, "loc": { "start": { - "line": 157, + "line": 175, "column": 2 }, "end": { - "line": 160, + "line": 178, "column": 5 } } @@ -18784,15 +20332,15 @@ "binop": null }, "value": "set", - "start": 3031, - "end": 3034, + "start": 3391, + "end": 3394, "loc": { "start": { - "line": 161, + "line": 179, "column": 2 }, "end": { - "line": 161, + "line": 179, "column": 5 } } @@ -18809,17 +20357,17 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 3035, - "end": 3041, + "value": "kalabtun", + "start": 3395, + "end": 3403, "loc": { "start": { - "line": 161, + "line": 179, "column": 6 }, "end": { - "line": 161, - "column": 12 + "line": 179, + "column": 14 } } }, @@ -18835,16 +20383,16 @@ "postfix": false, "binop": null }, - "start": 3042, - "end": 3043, + "start": 3404, + "end": 3405, "loc": { "start": { - "line": 161, - "column": 13 + "line": 179, + "column": 15 }, "end": { - "line": 161, - "column": 14 + "line": 179, + "column": 16 } } }, @@ -18861,16 +20409,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3043, - "end": 3054, + "start": 3405, + "end": 3416, "loc": { "start": { - "line": 161, - "column": 14 + "line": 179, + "column": 16 }, "end": { - "line": 161, - "column": 25 + "line": 179, + "column": 27 } } }, @@ -18886,16 +20434,16 @@ "postfix": false, "binop": null }, - "start": 3054, - "end": 3055, + "start": 3416, + "end": 3417, "loc": { "start": { - "line": 161, - "column": 25 + "line": 179, + "column": 27 }, "end": { - "line": 161, - "column": 26 + "line": 179, + "column": 28 } } }, @@ -18911,16 +20459,16 @@ "postfix": false, "binop": null }, - "start": 3056, - "end": 3057, + "start": 3418, + "end": 3419, "loc": { "start": { - "line": 161, - "column": 27 + "line": 179, + "column": 29 }, "end": { - "line": 161, - "column": 28 + "line": 179, + "column": 30 } } }, @@ -18939,15 +20487,15 @@ "updateContext": null }, "value": "this", - "start": 3062, - "end": 3066, + "start": 3424, + "end": 3428, "loc": { "start": { - "line": 162, + "line": 180, "column": 4 }, "end": { - "line": 162, + "line": 180, "column": 8 } } @@ -18965,15 +20513,15 @@ "binop": null, "updateContext": null }, - "start": 3066, - "end": 3067, + "start": 3428, + "end": 3429, "loc": { "start": { - "line": 162, + "line": 180, "column": 8 }, "end": { - "line": 162, + "line": 180, "column": 9 } } @@ -18991,15 +20539,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 3067, - "end": 3085, + "start": 3429, + "end": 3447, "loc": { "start": { - "line": 162, + "line": 180, "column": 9 }, "end": { - "line": 162, + "line": 180, "column": 27 } } @@ -19016,15 +20564,15 @@ "postfix": false, "binop": null }, - "start": 3085, - "end": 3086, + "start": 3447, + "end": 3448, "loc": { "start": { - "line": 162, + "line": 180, "column": 27 }, "end": { - "line": 162, + "line": 180, "column": 28 } } @@ -19042,16 +20590,16 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 3086, - "end": 3087, + "value": 6, + "start": 3448, + "end": 3449, "loc": { "start": { - "line": 162, + "line": 180, "column": 28 }, "end": { - "line": 162, + "line": 180, "column": 29 } } @@ -19069,15 +20617,15 @@ "binop": null, "updateContext": null }, - "start": 3087, - "end": 3088, + "start": 3449, + "end": 3450, "loc": { "start": { - "line": 162, + "line": 180, "column": 29 }, "end": { - "line": 162, + "line": 180, "column": 30 } } @@ -19095,15 +20643,15 @@ "binop": null }, "value": "new_bak_tun", - "start": 3089, - "end": 3100, + "start": 3451, + "end": 3462, "loc": { "start": { - "line": 162, + "line": 180, "column": 31 }, "end": { - "line": 162, + "line": 180, "column": 42 } } @@ -19120,15 +20668,15 @@ "postfix": false, "binop": null }, - "start": 3100, - "end": 3101, + "start": 3462, + "end": 3463, "loc": { "start": { - "line": 162, + "line": 180, "column": 42 }, "end": { - "line": 162, + "line": 180, "column": 43 } } @@ -19145,31 +20693,31 @@ "postfix": false, "binop": null }, - "start": 3104, - "end": 3105, + "start": 3466, + "end": 3467, "loc": { "start": { - "line": 163, + "line": 181, "column": 2 }, "end": { - "line": 163, + "line": 181, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the piktun component of the date\n * @returns {number}\n ", - "start": 3109, - "end": 3186, + "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", + "start": 3471, + "end": 3550, "loc": { "start": { - "line": 165, + "line": 183, "column": 2 }, "end": { - "line": 168, + "line": 186, "column": 5 } } @@ -19187,15 +20735,15 @@ "binop": null }, "value": "get", - "start": 3189, - "end": 3192, + "start": 3553, + "end": 3556, "loc": { "start": { - "line": 169, + "line": 187, "column": 2 }, "end": { - "line": 169, + "line": 187, "column": 5 } } @@ -19212,17 +20760,17 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 3193, - "end": 3199, + "value": "kalabtun", + "start": 3557, + "end": 3565, "loc": { "start": { - "line": 169, + "line": 187, "column": 6 }, "end": { - "line": 169, - "column": 12 + "line": 187, + "column": 14 } } }, @@ -19238,16 +20786,16 @@ "postfix": false, "binop": null }, - "start": 3200, - "end": 3201, + "start": 3566, + "end": 3567, "loc": { "start": { - "line": 169, - "column": 13 + "line": 187, + "column": 15 }, "end": { - "line": 169, - "column": 14 + "line": 187, + "column": 16 } } }, @@ -19263,16 +20811,16 @@ "postfix": false, "binop": null }, - "start": 3201, - "end": 3202, + "start": 3567, + "end": 3568, "loc": { "start": { - "line": 169, - "column": 14 + "line": 187, + "column": 16 }, "end": { - "line": 169, - "column": 15 + "line": 187, + "column": 17 } } }, @@ -19288,16 +20836,16 @@ "postfix": false, "binop": null }, - "start": 3203, - "end": 3204, + "start": 3569, + "end": 3570, "loc": { "start": { - "line": 169, - "column": 16 + "line": 187, + "column": 18 }, "end": { - "line": 169, - "column": 17 + "line": 187, + "column": 19 } } }, @@ -19316,15 +20864,15 @@ "updateContext": null }, "value": "return", - "start": 3209, - "end": 3215, + "start": 3575, + "end": 3581, "loc": { "start": { - "line": 170, + "line": 188, "column": 4 }, "end": { - "line": 170, + "line": 188, "column": 10 } } @@ -19344,15 +20892,15 @@ "updateContext": null }, "value": "this", - "start": 3216, - "end": 3220, + "start": 3582, + "end": 3586, "loc": { "start": { - "line": 170, + "line": 188, "column": 11 }, "end": { - "line": 170, + "line": 188, "column": 15 } } @@ -19370,15 +20918,15 @@ "binop": null, "updateContext": null }, - "start": 3220, - "end": 3221, + "start": 3586, + "end": 3587, "loc": { "start": { - "line": 170, + "line": 188, "column": 15 }, "end": { - "line": 170, + "line": 188, "column": 16 } } @@ -19396,15 +20944,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 3221, - "end": 3239, + "start": 3587, + "end": 3605, "loc": { "start": { - "line": 170, + "line": 188, "column": 16 }, "end": { - "line": 170, + "line": 188, "column": 34 } } @@ -19421,15 +20969,15 @@ "postfix": false, "binop": null }, - "start": 3239, - "end": 3240, + "start": 3605, + "end": 3606, "loc": { "start": { - "line": 170, + "line": 188, "column": 34 }, "end": { - "line": 170, + "line": 188, "column": 35 } } @@ -19447,16 +20995,16 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 3240, - "end": 3241, + "value": 6, + "start": 3606, + "end": 3607, "loc": { "start": { - "line": 170, + "line": 188, "column": 35 }, "end": { - "line": 170, + "line": 188, "column": 36 } } @@ -19473,15 +21021,15 @@ "postfix": false, "binop": null }, - "start": 3241, - "end": 3242, + "start": 3607, + "end": 3608, "loc": { "start": { - "line": 170, + "line": 188, "column": 36 }, "end": { - "line": 170, + "line": 188, "column": 37 } } @@ -19498,31 +21046,31 @@ "postfix": false, "binop": null }, - "start": 3245, - "end": 3246, + "start": 3611, + "end": 3612, "loc": { "start": { - "line": 171, + "line": 189, "column": 2 }, "end": { - "line": 171, + "line": 189, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the date\n * @returns {number}\n ", - "start": 3250, - "end": 3326, + "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", + "start": 3616, + "end": 3694, "loc": { "start": { - "line": 173, + "line": 191, "column": 2 }, "end": { - "line": 176, + "line": 194, "column": 5 } } @@ -19540,15 +21088,15 @@ "binop": null }, "value": "set", - "start": 3329, - "end": 3332, + "start": 3697, + "end": 3700, "loc": { "start": { - "line": 177, + "line": 195, "column": 2 }, "end": { - "line": 177, + "line": 195, "column": 5 } } @@ -19565,17 +21113,17 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 3333, - "end": 3341, + "value": "kinchiltun", + "start": 3701, + "end": 3711, "loc": { "start": { - "line": 177, + "line": 195, "column": 6 }, "end": { - "line": 177, - "column": 14 + "line": 195, + "column": 16 } } }, @@ -19591,16 +21139,16 @@ "postfix": false, "binop": null }, - "start": 3342, - "end": 3343, + "start": 3712, + "end": 3713, "loc": { "start": { - "line": 177, - "column": 15 + "line": 195, + "column": 17 }, "end": { - "line": 177, - "column": 16 + "line": 195, + "column": 18 } } }, @@ -19617,16 +21165,16 @@ "binop": null }, "value": "new_bak_tun", - "start": 3343, - "end": 3354, + "start": 3713, + "end": 3724, "loc": { "start": { - "line": 177, - "column": 16 + "line": 195, + "column": 18 }, "end": { - "line": 177, - "column": 27 + "line": 195, + "column": 29 } } }, @@ -19642,16 +21190,16 @@ "postfix": false, "binop": null }, - "start": 3354, - "end": 3355, + "start": 3724, + "end": 3725, "loc": { "start": { - "line": 177, - "column": 27 + "line": 195, + "column": 29 }, "end": { - "line": 177, - "column": 28 + "line": 195, + "column": 30 } } }, @@ -19667,16 +21215,16 @@ "postfix": false, "binop": null }, - "start": 3356, - "end": 3357, + "start": 3726, + "end": 3727, "loc": { "start": { - "line": 177, - "column": 29 + "line": 195, + "column": 31 }, "end": { - "line": 177, - "column": 30 + "line": 195, + "column": 32 } } }, @@ -19695,15 +21243,15 @@ "updateContext": null }, "value": "this", - "start": 3362, - "end": 3366, + "start": 3732, + "end": 3736, "loc": { "start": { - "line": 178, + "line": 196, "column": 4 }, "end": { - "line": 178, + "line": 196, "column": 8 } } @@ -19721,15 +21269,15 @@ "binop": null, "updateContext": null }, - "start": 3366, - "end": 3367, + "start": 3736, + "end": 3737, "loc": { "start": { - "line": 178, + "line": 196, "column": 8 }, "end": { - "line": 178, + "line": 196, "column": 9 } } @@ -19747,15 +21295,15 @@ "binop": null }, "value": "_set_date_sections", - "start": 3367, - "end": 3385, + "start": 3737, + "end": 3755, "loc": { "start": { - "line": 178, + "line": 196, "column": 9 }, "end": { - "line": 178, + "line": 196, "column": 27 } } @@ -19772,15 +21320,15 @@ "postfix": false, "binop": null }, - "start": 3385, - "end": 3386, + "start": 3755, + "end": 3756, "loc": { "start": { - "line": 178, + "line": 196, "column": 27 }, "end": { - "line": 178, + "line": 196, "column": 28 } } @@ -19798,16 +21346,16 @@ "binop": null, "updateContext": null }, - "value": 6, - "start": 3386, - "end": 3387, + "value": 7, + "start": 3756, + "end": 3757, "loc": { "start": { - "line": 178, + "line": 196, "column": 28 }, "end": { - "line": 178, + "line": 196, "column": 29 } } @@ -19825,15 +21373,15 @@ "binop": null, "updateContext": null }, - "start": 3387, - "end": 3388, + "start": 3757, + "end": 3758, "loc": { "start": { - "line": 178, + "line": 196, "column": 29 }, "end": { - "line": 178, + "line": 196, "column": 30 } } @@ -19851,15 +21399,15 @@ "binop": null }, "value": "new_bak_tun", - "start": 3389, - "end": 3400, + "start": 3759, + "end": 3770, "loc": { "start": { - "line": 178, + "line": 196, "column": 31 }, "end": { - "line": 178, + "line": 196, "column": 42 } } @@ -19876,15 +21424,15 @@ "postfix": false, "binop": null }, - "start": 3400, - "end": 3401, + "start": 3770, + "end": 3771, "loc": { "start": { - "line": 178, + "line": 196, "column": 42 }, "end": { - "line": 178, + "line": 196, "column": 43 } } @@ -19901,31 +21449,31 @@ "postfix": false, "binop": null }, - "start": 3404, - "end": 3405, + "start": 3774, + "end": 3775, "loc": { "start": { - "line": 179, + "line": 197, "column": 2 }, "end": { - "line": 179, + "line": 197, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the date\n * @returns {number}\n ", - "start": 3409, - "end": 3488, + "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", + "start": 3779, + "end": 3860, "loc": { "start": { - "line": 181, + "line": 199, "column": 2 }, "end": { - "line": 184, + "line": 202, "column": 5 } } @@ -19943,15 +21491,15 @@ "binop": null }, "value": "get", - "start": 3491, - "end": 3494, + "start": 3863, + "end": 3866, "loc": { "start": { - "line": 185, + "line": 203, "column": 2 }, "end": { - "line": 185, + "line": 203, "column": 5 } } @@ -19968,17 +21516,17 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 3495, - "end": 3503, + "value": "kinchiltun", + "start": 3867, + "end": 3877, "loc": { "start": { - "line": 185, + "line": 203, "column": 6 }, "end": { - "line": 185, - "column": 14 + "line": 203, + "column": 16 } } }, @@ -19994,16 +21542,16 @@ "postfix": false, "binop": null }, - "start": 3504, - "end": 3505, + "start": 3878, + "end": 3879, "loc": { "start": { - "line": 185, - "column": 15 + "line": 203, + "column": 17 }, "end": { - "line": 185, - "column": 16 + "line": 203, + "column": 18 } } }, @@ -20019,16 +21567,16 @@ "postfix": false, "binop": null }, - "start": 3505, - "end": 3506, + "start": 3879, + "end": 3880, "loc": { "start": { - "line": 185, - "column": 16 + "line": 203, + "column": 18 }, "end": { - "line": 185, - "column": 17 + "line": 203, + "column": 19 } } }, @@ -20044,16 +21592,16 @@ "postfix": false, "binop": null }, - "start": 3507, - "end": 3508, + "start": 3881, + "end": 3882, "loc": { "start": { - "line": 185, - "column": 18 + "line": 203, + "column": 20 }, "end": { - "line": 185, - "column": 19 + "line": 203, + "column": 21 } } }, @@ -20072,15 +21620,15 @@ "updateContext": null }, "value": "return", - "start": 3513, - "end": 3519, + "start": 3887, + "end": 3893, "loc": { "start": { - "line": 186, + "line": 204, "column": 4 }, "end": { - "line": 186, + "line": 204, "column": 10 } } @@ -20100,15 +21648,15 @@ "updateContext": null }, "value": "this", - "start": 3520, - "end": 3524, + "start": 3894, + "end": 3898, "loc": { "start": { - "line": 186, + "line": 204, "column": 11 }, "end": { - "line": 186, + "line": 204, "column": 15 } } @@ -20126,15 +21674,15 @@ "binop": null, "updateContext": null }, - "start": 3524, - "end": 3525, + "start": 3898, + "end": 3899, "loc": { "start": { - "line": 186, + "line": 204, "column": 15 }, "end": { - "line": 186, + "line": 204, "column": 16 } } @@ -20152,15 +21700,15 @@ "binop": null }, "value": "_get_date_sections", - "start": 3525, - "end": 3543, + "start": 3899, + "end": 3917, "loc": { "start": { - "line": 186, + "line": 204, "column": 16 }, "end": { - "line": 186, + "line": 204, "column": 34 } } @@ -20177,15 +21725,15 @@ "postfix": false, "binop": null }, - "start": 3543, - "end": 3544, + "start": 3917, + "end": 3918, "loc": { "start": { - "line": 186, + "line": 204, "column": 34 }, "end": { - "line": 186, + "line": 204, "column": 35 } } @@ -20203,17 +21751,160 @@ "binop": null, "updateContext": null }, - "value": 6, - "start": 3544, - "end": 3545, + "value": 7, + "start": 3918, + "end": 3919, "loc": { "start": { - "line": 186, + "line": 204, "column": 35 }, "end": { - "line": 186, + "line": 204, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3919, + "end": 3920, + "loc": { + "start": { + "line": 204, "column": 36 + }, + "end": { + "line": 204, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3923, + "end": 3924, + "loc": { + "start": { + "line": 205, + "column": 2 + }, + "end": { + "line": 205, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n *\n * @return {any}\n ", + "start": 3928, + "end": 3961, + "loc": { + "start": { + "line": 207, + "column": 2 + }, + "end": { + "line": 210, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 3964, + "end": 3967, + "loc": { + "start": { + "line": 211, + "column": 2 + }, + "end": { + "line": 211, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lord_of_night", + "start": 3968, + "end": 3981, + "loc": { + "start": { + "line": 211, + "column": 6 + }, + "end": { + "line": 211, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3982, + "end": 3983, + "loc": { + "start": { + "line": 211, + "column": 20 + }, + "end": { + "line": 211, + "column": 21 } } }, @@ -20229,24 +21920,24 @@ "postfix": false, "binop": null }, - "start": 3545, - "end": 3546, + "start": 3983, + "end": 3984, "loc": { "start": { - "line": 186, - "column": 36 + "line": 211, + "column": 21 }, "end": { - "line": 186, - "column": 37 + "line": 211, + "column": 22 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20254,58 +21945,44 @@ "postfix": false, "binop": null }, - "start": 3549, - "end": 3550, - "loc": { - "start": { - "line": 187, - "column": 2 - }, - "end": { - "line": 187, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3554, - "end": 3632, + "start": 3985, + "end": 3986, "loc": { "start": { - "line": 189, - "column": 2 + "line": 211, + "column": 23 }, "end": { - "line": 192, - "column": 5 + "line": 211, + "column": 24 } } }, { "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": "set", - "start": 3635, - "end": 3638, + "value": "return", + "start": 3991, + "end": 3997, "loc": { "start": { - "line": 193, - "column": 2 + "line": 212, + "column": 4 }, "end": { - "line": 193, - "column": 5 + "line": 212, + "column": 10 } } }, @@ -20321,42 +21998,43 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 3639, - "end": 3649, + "value": "night", + "start": 3998, + "end": 4003, "loc": { "start": { - "line": 193, - "column": 6 + "line": 212, + "column": 11 }, "end": { - "line": 193, + "line": 212, "column": 16 } } }, { "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": 3650, - "end": 3651, + "start": 4003, + "end": 4004, "loc": { "start": { - "line": 193, - "column": 17 + "line": 212, + "column": 16 }, "end": { - "line": 193, - "column": 18 + "line": 212, + "column": 17 } } }, @@ -20372,25 +22050,25 @@ "postfix": false, "binop": null }, - "value": "new_bak_tun", - "start": 3651, - "end": 3662, + "value": "get", + "start": 4004, + "end": 4007, "loc": { "start": { - "line": 193, - "column": 18 + "line": 212, + "column": 17 }, "end": { - "line": 193, - "column": 29 + "line": 212, + "column": 20 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20398,23 +22076,23 @@ "postfix": false, "binop": null }, - "start": 3662, - "end": 3663, + "start": 4007, + "end": 4008, "loc": { "start": { - "line": 193, - "column": 29 + "line": 212, + "column": 20 }, "end": { - "line": 193, - "column": 30 + "line": 212, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20423,25 +22101,24 @@ "postfix": false, "binop": null }, - "start": 3664, - "end": 3665, + "start": 4015, + "end": 4016, "loc": { "start": { - "line": 193, - "column": 31 + "line": 213, + "column": 6 }, "end": { - "line": 193, - "column": 32 + "line": 213, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20450,50 +22127,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3670, - "end": 3674, + "value": "G", + "start": 4016, + "end": 4017, "loc": { "start": { - "line": 194, - "column": 4 + "line": 213, + "column": 7 }, "end": { - "line": 194, + "line": 213, "column": 8 } } }, { "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": 3674, - "end": 3675, + "start": 4017, + "end": 4019, "loc": { "start": { - "line": 194, + "line": 213, "column": 8 }, "end": { - "line": 194, - "column": 9 + "line": 213, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20502,17 +22178,16 @@ "postfix": false, "binop": null }, - "value": "_set_date_sections", - "start": 3675, - "end": 3693, + "start": 4019, + "end": 4020, "loc": { "start": { - "line": 194, - "column": 9 + "line": 213, + "column": 10 }, "end": { - "line": 194, - "column": 27 + "line": 213, + "column": 11 } } }, @@ -20528,22 +22203,23 @@ "postfix": false, "binop": null }, - "start": 3693, - "end": 3694, + "start": 4020, + "end": 4021, "loc": { "start": { - "line": 194, - "column": 27 + "line": 213, + "column": 11 }, "end": { - "line": 194, - "column": 28 + "line": 213, + "column": 12 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20554,24 +22230,24 @@ "binop": null, "updateContext": null }, - "value": 7, - "start": 3694, - "end": 3695, + "value": "this", + "start": 4021, + "end": 4025, "loc": { "start": { - "line": 194, - "column": 28 + "line": 213, + "column": 12 }, "end": { - "line": 194, - "column": 29 + "line": 213, + "column": 16 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20581,16 +22257,16 @@ "binop": null, "updateContext": null }, - "start": 3695, - "end": 3696, + "start": 4025, + "end": 4026, "loc": { "start": { - "line": 194, - "column": 29 + "line": 213, + "column": 16 }, "end": { - "line": 194, - "column": 30 + "line": 213, + "column": 17 } } }, @@ -20606,25 +22282,25 @@ "postfix": false, "binop": null }, - "value": "new_bak_tun", - "start": 3697, - "end": 3708, + "value": "get_position", + "start": 4026, + "end": 4038, "loc": { "start": { - "line": 194, - "column": 31 + "line": 213, + "column": 17 }, "end": { - "line": 194, - "column": 42 + "line": 213, + "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20632,22 +22308,22 @@ "postfix": false, "binop": null }, - "start": 3708, - "end": 3709, + "start": 4038, + "end": 4039, "loc": { "start": { - "line": 194, - "column": 42 + "line": 213, + "column": 29 }, "end": { - "line": 194, - "column": 43 + "line": 213, + "column": 30 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20657,38 +22333,49 @@ "postfix": false, "binop": null }, - "start": 3712, - "end": 3713, + "start": 4039, + "end": 4040, "loc": { "start": { - "line": 195, - "column": 2 + "line": 213, + "column": 30 }, "end": { - "line": 195, - "column": 3 + "line": 213, + "column": 31 } } }, { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the date\n * @returns {number}\n ", - "start": 3717, - "end": 3798, + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4041, + "end": 4042, "loc": { "start": { - "line": 197, - "column": 2 + "line": 213, + "column": 32 }, "end": { - "line": 200, - "column": 5 + "line": 213, + "column": 33 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20696,27 +22383,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 3801, - "end": 3804, + "value": 1, + "start": 4043, + "end": 4044, "loc": { "start": { - "line": 201, - "column": 2 + "line": 213, + "column": 34 }, "end": { - "line": 201, - "column": 5 + "line": 213, + "column": 35 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20724,75 +22412,78 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 3805, - "end": 3815, + "start": 4044, + "end": 4045, "loc": { "start": { - "line": 201, - "column": 6 + "line": 213, + "column": 35 }, "end": { - "line": 201, - "column": 16 + "line": 213, + "column": 36 } } }, { "type": { - "label": "(", + "label": "%", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 3816, - "end": 3817, + "value": "%", + "start": 4046, + "end": 4047, "loc": { "start": { - "line": 201, - "column": 17 + "line": 213, + "column": 37 }, "end": { - "line": 201, - "column": 18 + "line": 213, + "column": 38 } } }, { "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": 3817, - "end": 3818, + "value": 9, + "start": 4048, + "end": 4049, "loc": { "start": { - "line": 201, - "column": 18 + "line": 213, + "column": 39 }, "end": { - "line": 201, - "column": 19 + "line": 213, + "column": 40 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20800,51 +22491,49 @@ "postfix": false, "binop": null }, - "start": 3819, - "end": 3820, + "start": 4049, + "end": 4050, "loc": { "start": { - "line": 201, - "column": 20 + "line": 213, + "column": 40 }, "end": { - "line": 201, - "column": 21 + "line": 213, + "column": 41 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "return", - "start": 3825, - "end": 3831, + "value": "+", + "start": 4051, + "end": 4052, "loc": { "start": { - "line": 202, - "column": 4 + "line": 213, + "column": 42 }, "end": { - "line": 202, - "column": 10 + "line": 213, + "column": 43 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20855,23 +22544,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3832, - "end": 3836, + "value": 1, + "start": 4053, + "end": 4054, "loc": { "start": { - "line": 202, - "column": 11 + "line": 213, + "column": 44 }, "end": { - "line": 202, - "column": 15 + "line": 213, + "column": 45 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20879,52 +22568,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3836, - "end": 3837, + "start": 4054, + "end": 4055, "loc": { "start": { - "line": 202, - "column": 15 + "line": 213, + "column": 45 }, "end": { - "line": 202, - "column": 16 + "line": 213, + "column": 46 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_get_date_sections", - "start": 3837, - "end": 3855, + "value": "", + "start": 4055, + "end": 4055, "loc": { "start": { - "line": 202, - "column": 16 + "line": 213, + "column": 46 }, "end": { - "line": 202, - "column": 34 + "line": 213, + "column": 46 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20933,24 +22622,24 @@ "postfix": false, "binop": null }, - "start": 3855, - "end": 3856, + "start": 4055, + "end": 4056, "loc": { "start": { - "line": 202, - "column": 34 + "line": 213, + "column": 46 }, "end": { - "line": 202, - "column": 35 + "line": 213, + "column": 47 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20959,17 +22648,16 @@ "binop": null, "updateContext": null }, - "value": 7, - "start": 3856, - "end": 3857, + "start": 4056, + "end": 4057, "loc": { "start": { - "line": 202, - "column": 35 + "line": 213, + "column": 47 }, "end": { - "line": 202, - "column": 36 + "line": 213, + "column": 48 } } }, @@ -20985,16 +22673,16 @@ "postfix": false, "binop": null }, - "start": 3857, - "end": 3858, + "start": 4062, + "end": 4063, "loc": { "start": { - "line": 202, - "column": 36 + "line": 214, + "column": 4 }, "end": { - "line": 202, - "column": 37 + "line": 214, + "column": 5 } } }, @@ -21010,15 +22698,15 @@ "postfix": false, "binop": null }, - "start": 3861, - "end": 3862, + "start": 4066, + "end": 4067, "loc": { "start": { - "line": 203, + "line": 215, "column": 2 }, "end": { - "line": 203, + "line": 215, "column": 3 } } @@ -21026,15 +22714,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 3866, - "end": 3972, + "start": 4071, + "end": 4177, "loc": { "start": { - "line": 205, + "line": 217, "column": 2 }, "end": { - "line": 208, + "line": 220, "column": 5 } } @@ -21052,15 +22740,15 @@ "binop": null }, "value": "is_valid", - "start": 3975, - "end": 3983, + "start": 4180, + "end": 4188, "loc": { "start": { - "line": 209, + "line": 221, "column": 2 }, "end": { - "line": 209, + "line": 221, "column": 10 } } @@ -21077,15 +22765,15 @@ "postfix": false, "binop": null }, - "start": 3984, - "end": 3985, + "start": 4189, + "end": 4190, "loc": { "start": { - "line": 209, + "line": 221, "column": 11 }, "end": { - "line": 209, + "line": 221, "column": 12 } } @@ -21102,15 +22790,15 @@ "postfix": false, "binop": null }, - "start": 3985, - "end": 3986, + "start": 4190, + "end": 4191, "loc": { "start": { - "line": 209, + "line": 221, "column": 12 }, "end": { - "line": 209, + "line": 221, "column": 13 } } @@ -21127,15 +22815,15 @@ "postfix": false, "binop": null }, - "start": 3987, - "end": 3988, + "start": 4192, + "end": 4193, "loc": { "start": { - "line": 209, + "line": 221, "column": 14 }, "end": { - "line": 209, + "line": 221, "column": 15 } } @@ -21155,15 +22843,15 @@ "updateContext": null }, "value": "return", - "start": 3993, - "end": 3999, + "start": 4198, + "end": 4204, "loc": { "start": { - "line": 210, + "line": 222, "column": 4 }, "end": { - "line": 210, + "line": 222, "column": 10 } } @@ -21183,15 +22871,15 @@ "updateContext": null }, "value": "this", - "start": 4000, - "end": 4004, + "start": 4205, + "end": 4209, "loc": { "start": { - "line": 210, + "line": 222, "column": 11 }, "end": { - "line": 210, + "line": 222, "column": 15 } } @@ -21209,15 +22897,15 @@ "binop": null, "updateContext": null }, - "start": 4004, - "end": 4005, + "start": 4209, + "end": 4210, "loc": { "start": { - "line": 210, + "line": 222, "column": 15 }, "end": { - "line": 210, + "line": 222, "column": 16 } } @@ -21235,15 +22923,15 @@ "binop": null }, "value": "date_pattern", - "start": 4005, - "end": 4017, + "start": 4210, + "end": 4222, "loc": { "start": { - "line": 210, + "line": 222, "column": 16 }, "end": { - "line": 210, + "line": 222, "column": 28 } } @@ -21261,15 +22949,15 @@ "binop": null, "updateContext": null }, - "start": 4017, - "end": 4018, + "start": 4222, + "end": 4223, "loc": { "start": { - "line": 210, + "line": 222, "column": 28 }, "end": { - "line": 210, + "line": 222, "column": 29 } } @@ -21287,15 +22975,15 @@ "binop": null }, "value": "test", - "start": 4018, - "end": 4022, + "start": 4223, + "end": 4227, "loc": { "start": { - "line": 210, + "line": 222, "column": 29 }, "end": { - "line": 210, + "line": 222, "column": 33 } } @@ -21312,15 +23000,15 @@ "postfix": false, "binop": null }, - "start": 4022, - "end": 4023, + "start": 4227, + "end": 4228, "loc": { "start": { - "line": 210, + "line": 222, "column": 33 }, "end": { - "line": 210, + "line": 222, "column": 34 } } @@ -21340,15 +23028,15 @@ "updateContext": null }, "value": "this", - "start": 4023, - "end": 4027, + "start": 4228, + "end": 4232, "loc": { "start": { - "line": 210, + "line": 222, "column": 34 }, "end": { - "line": 210, + "line": 222, "column": 38 } } @@ -21366,15 +23054,15 @@ "binop": null, "updateContext": null }, - "start": 4027, - "end": 4028, + "start": 4232, + "end": 4233, "loc": { "start": { - "line": 210, + "line": 222, "column": 38 }, "end": { - "line": 210, + "line": 222, "column": 39 } } @@ -21392,15 +23080,15 @@ "binop": null }, "value": "toString", - "start": 4028, - "end": 4036, + "start": 4233, + "end": 4241, "loc": { "start": { - "line": 210, + "line": 222, "column": 39 }, "end": { - "line": 210, + "line": 222, "column": 47 } } @@ -21417,15 +23105,15 @@ "postfix": false, "binop": null }, - "start": 4036, - "end": 4037, + "start": 4241, + "end": 4242, "loc": { "start": { - "line": 210, + "line": 222, "column": 47 }, "end": { - "line": 210, + "line": 222, "column": 48 } } @@ -21442,15 +23130,15 @@ "postfix": false, "binop": null }, - "start": 4037, - "end": 4038, + "start": 4242, + "end": 4243, "loc": { "start": { - "line": 210, + "line": 222, "column": 48 }, "end": { - "line": 210, + "line": 222, "column": 49 } } @@ -21467,15 +23155,15 @@ "postfix": false, "binop": null }, - "start": 4038, - "end": 4039, + "start": 4243, + "end": 4244, "loc": { "start": { - "line": 210, + "line": 222, "column": 49 }, "end": { - "line": 210, + "line": 222, "column": 50 } } @@ -21492,15 +23180,15 @@ "postfix": false, "binop": null }, - "start": 4042, - "end": 4043, + "start": 4247, + "end": 4248, "loc": { "start": { - "line": 211, + "line": 223, "column": 2 }, "end": { - "line": 211, + "line": 223, "column": 3 } } @@ -21508,15 +23196,15 @@ { "type": "CommentBlock", "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 4047, - "end": 4184, + "start": 4252, + "end": 4389, "loc": { "start": { - "line": 213, + "line": 225, "column": 2 }, "end": { - "line": 217, + "line": 229, "column": 5 } } @@ -21534,15 +23222,15 @@ "binop": null }, "value": "is_partial", - "start": 4187, - "end": 4197, + "start": 4392, + "end": 4402, "loc": { "start": { - "line": 218, + "line": 230, "column": 2 }, "end": { - "line": 218, + "line": 230, "column": 12 } } @@ -21559,15 +23247,15 @@ "postfix": false, "binop": null }, - "start": 4198, - "end": 4199, + "start": 4403, + "end": 4404, "loc": { "start": { - "line": 218, + "line": 230, "column": 13 }, "end": { - "line": 218, + "line": 230, "column": 14 } } @@ -21584,15 +23272,15 @@ "postfix": false, "binop": null }, - "start": 4199, - "end": 4200, + "start": 4404, + "end": 4405, "loc": { "start": { - "line": 218, + "line": 230, "column": 14 }, "end": { - "line": 218, + "line": 230, "column": 15 } } @@ -21609,15 +23297,15 @@ "postfix": false, "binop": null }, - "start": 4201, - "end": 4202, + "start": 4406, + "end": 4407, "loc": { "start": { - "line": 218, + "line": 230, "column": 16 }, "end": { - "line": 218, + "line": 230, "column": 17 } } @@ -21637,15 +23325,15 @@ "updateContext": null }, "value": "for", - "start": 4207, - "end": 4210, + "start": 4412, + "end": 4415, "loc": { "start": { - "line": 219, + "line": 231, "column": 4 }, "end": { - "line": 219, + "line": 231, "column": 7 } } @@ -21662,15 +23350,15 @@ "postfix": false, "binop": null }, - "start": 4211, - "end": 4212, + "start": 4416, + "end": 4417, "loc": { "start": { - "line": 219, + "line": 231, "column": 8 }, "end": { - "line": 219, + "line": 231, "column": 9 } } @@ -21690,15 +23378,15 @@ "updateContext": null }, "value": "let", - "start": 4212, - "end": 4215, + "start": 4417, + "end": 4420, "loc": { "start": { - "line": 219, + "line": 231, "column": 9 }, "end": { - "line": 219, + "line": 231, "column": 12 } } @@ -21716,15 +23404,15 @@ "binop": null }, "value": "part", - "start": 4216, - "end": 4220, + "start": 4421, + "end": 4425, "loc": { "start": { - "line": 219, + "line": 231, "column": 13 }, "end": { - "line": 219, + "line": 231, "column": 17 } } @@ -21742,15 +23430,15 @@ "binop": null }, "value": "of", - "start": 4221, - "end": 4223, + "start": 4426, + "end": 4428, "loc": { "start": { - "line": 219, + "line": 231, "column": 18 }, "end": { - "line": 219, + "line": 231, "column": 20 } } @@ -21770,15 +23458,15 @@ "updateContext": null }, "value": "this", - "start": 4224, - "end": 4228, + "start": 4429, + "end": 4433, "loc": { "start": { - "line": 219, + "line": 231, "column": 21 }, "end": { - "line": 219, + "line": 231, "column": 25 } } @@ -21796,15 +23484,15 @@ "binop": null, "updateContext": null }, - "start": 4228, - "end": 4229, + "start": 4433, + "end": 4434, "loc": { "start": { - "line": 219, + "line": 231, "column": 25 }, "end": { - "line": 219, + "line": 231, "column": 26 } } @@ -21822,15 +23510,15 @@ "binop": null }, "value": "parts", - "start": 4229, - "end": 4234, + "start": 4434, + "end": 4439, "loc": { "start": { - "line": 219, + "line": 231, "column": 26 }, "end": { - "line": 219, + "line": 231, "column": 31 } } @@ -21847,15 +23535,15 @@ "postfix": false, "binop": null }, - "start": 4234, - "end": 4235, + "start": 4439, + "end": 4440, "loc": { "start": { - "line": 219, + "line": 231, "column": 31 }, "end": { - "line": 219, + "line": 231, "column": 32 } } @@ -21872,15 +23560,15 @@ "postfix": false, "binop": null }, - "start": 4236, - "end": 4237, + "start": 4441, + "end": 4442, "loc": { "start": { - "line": 219, + "line": 231, "column": 33 }, "end": { - "line": 219, + "line": 231, "column": 34 } } @@ -21900,15 +23588,15 @@ "updateContext": null }, "value": "if", - "start": 4244, - "end": 4246, + "start": 4449, + "end": 4451, "loc": { "start": { - "line": 220, + "line": 232, "column": 6 }, "end": { - "line": 220, + "line": 232, "column": 8 } } @@ -21925,15 +23613,15 @@ "postfix": false, "binop": null }, - "start": 4247, - "end": 4248, + "start": 4452, + "end": 4453, "loc": { "start": { - "line": 220, + "line": 232, "column": 9 }, "end": { - "line": 220, + "line": 232, "column": 10 } } @@ -21951,15 +23639,15 @@ "binop": null }, "value": "part", - "start": 4248, - "end": 4252, + "start": 4453, + "end": 4457, "loc": { "start": { - "line": 220, + "line": 232, "column": 10 }, "end": { - "line": 220, + "line": 232, "column": 14 } } @@ -21978,15 +23666,15 @@ "updateContext": null }, "value": "===", - "start": 4253, - "end": 4256, + "start": 4458, + "end": 4461, "loc": { "start": { - "line": 220, + "line": 232, "column": 15 }, "end": { - "line": 220, + "line": 232, "column": 18 } } @@ -22004,15 +23692,15 @@ "binop": null }, "value": "wildcard", - "start": 4257, - "end": 4265, + "start": 4462, + "end": 4470, "loc": { "start": { - "line": 220, + "line": 232, "column": 19 }, "end": { - "line": 220, + "line": 232, "column": 27 } } @@ -22029,15 +23717,15 @@ "postfix": false, "binop": null }, - "start": 4265, - "end": 4266, + "start": 4470, + "end": 4471, "loc": { "start": { - "line": 220, + "line": 232, "column": 27 }, "end": { - "line": 220, + "line": 232, "column": 28 } } @@ -22054,15 +23742,15 @@ "postfix": false, "binop": null }, - "start": 4267, - "end": 4268, + "start": 4472, + "end": 4473, "loc": { "start": { - "line": 220, + "line": 232, "column": 29 }, "end": { - "line": 220, + "line": 232, "column": 30 } } @@ -22082,15 +23770,15 @@ "updateContext": null }, "value": "return", - "start": 4277, - "end": 4283, + "start": 4482, + "end": 4488, "loc": { "start": { - "line": 221, + "line": 233, "column": 8 }, "end": { - "line": 221, + "line": 233, "column": 14 } } @@ -22110,15 +23798,15 @@ "updateContext": null }, "value": "true", - "start": 4284, - "end": 4288, + "start": 4489, + "end": 4493, "loc": { "start": { - "line": 221, + "line": 233, "column": 15 }, "end": { - "line": 221, + "line": 233, "column": 19 } } @@ -22135,15 +23823,15 @@ "postfix": false, "binop": null }, - "start": 4295, - "end": 4296, + "start": 4500, + "end": 4501, "loc": { "start": { - "line": 222, + "line": 234, "column": 6 }, "end": { - "line": 222, + "line": 234, "column": 7 } } @@ -22160,15 +23848,15 @@ "postfix": false, "binop": null }, - "start": 4301, - "end": 4302, + "start": 4506, + "end": 4507, "loc": { "start": { - "line": 223, + "line": 235, "column": 4 }, "end": { - "line": 223, + "line": 235, "column": 5 } } @@ -22188,15 +23876,15 @@ "updateContext": null }, "value": "return", - "start": 4307, - "end": 4313, + "start": 4512, + "end": 4518, "loc": { "start": { - "line": 224, + "line": 236, "column": 4 }, "end": { - "line": 224, + "line": 236, "column": 10 } } @@ -22216,15 +23904,15 @@ "updateContext": null }, "value": "false", - "start": 4314, - "end": 4319, + "start": 4519, + "end": 4524, "loc": { "start": { - "line": 224, + "line": 236, "column": 11 }, "end": { - "line": 224, + "line": 236, "column": 16 } } @@ -22241,15 +23929,15 @@ "postfix": false, "binop": null }, - "start": 4322, - "end": 4323, + "start": 4527, + "end": 4528, "loc": { "start": { - "line": 225, + "line": 237, "column": 2 }, "end": { - "line": 225, + "line": 237, "column": 3 } } @@ -22257,15 +23945,15 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 4327, - "end": 4417, + "start": 4532, + "end": 4622, "loc": { "start": { - "line": 227, + "line": 239, "column": 2 }, "end": { - "line": 230, + "line": 242, "column": 5 } } @@ -22283,15 +23971,15 @@ "binop": null }, "value": "get_position", - "start": 4420, - "end": 4432, + "start": 4625, + "end": 4637, "loc": { "start": { - "line": 231, + "line": 243, "column": 2 }, "end": { - "line": 231, + "line": 243, "column": 14 } } @@ -22308,15 +23996,15 @@ "postfix": false, "binop": null }, - "start": 4433, - "end": 4434, + "start": 4638, + "end": 4639, "loc": { "start": { - "line": 231, + "line": 243, "column": 15 }, "end": { - "line": 231, + "line": 243, "column": 16 } } @@ -22333,15 +24021,15 @@ "postfix": false, "binop": null }, - "start": 4434, - "end": 4435, + "start": 4639, + "end": 4640, "loc": { "start": { - "line": 231, + "line": 243, "column": 16 }, "end": { - "line": 231, + "line": 243, "column": 17 } } @@ -22358,15 +24046,15 @@ "postfix": false, "binop": null }, - "start": 4436, - "end": 4437, + "start": 4641, + "end": 4642, "loc": { "start": { - "line": 231, + "line": 243, "column": 18 }, "end": { - "line": 231, + "line": 243, "column": 19 } } @@ -22386,15 +24074,15 @@ "updateContext": null }, "value": "if", - "start": 4442, - "end": 4444, + "start": 4647, + "end": 4649, "loc": { "start": { - "line": 232, + "line": 244, "column": 4 }, "end": { - "line": 232, + "line": 244, "column": 6 } } @@ -22411,15 +24099,15 @@ "postfix": false, "binop": null }, - "start": 4445, - "end": 4446, + "start": 4650, + "end": 4651, "loc": { "start": { - "line": 232, + "line": 244, "column": 7 }, "end": { - "line": 232, + "line": 244, "column": 8 } } @@ -22439,15 +24127,15 @@ "updateContext": null }, "value": "this", - "start": 4446, - "end": 4450, + "start": 4651, + "end": 4655, "loc": { "start": { - "line": 232, + "line": 244, "column": 8 }, "end": { - "line": 232, + "line": 244, "column": 12 } } @@ -22465,15 +24153,15 @@ "binop": null, "updateContext": null }, - "start": 4450, - "end": 4451, + "start": 4655, + "end": 4656, "loc": { "start": { - "line": 232, + "line": 244, "column": 12 }, "end": { - "line": 232, + "line": 244, "column": 13 } } @@ -22491,15 +24179,15 @@ "binop": null }, "value": "is_partial", - "start": 4451, - "end": 4461, + "start": 4656, + "end": 4666, "loc": { "start": { - "line": 232, + "line": 244, "column": 13 }, "end": { - "line": 232, + "line": 244, "column": 23 } } @@ -22516,15 +24204,15 @@ "postfix": false, "binop": null }, - "start": 4461, - "end": 4462, + "start": 4666, + "end": 4667, "loc": { "start": { - "line": 232, + "line": 244, "column": 23 }, "end": { - "line": 232, + "line": 244, "column": 24 } } @@ -22541,15 +24229,15 @@ "postfix": false, "binop": null }, - "start": 4462, - "end": 4463, + "start": 4667, + "end": 4668, "loc": { "start": { - "line": 232, + "line": 244, "column": 24 }, "end": { - "line": 232, + "line": 244, "column": 25 } } @@ -22566,15 +24254,15 @@ "postfix": false, "binop": null }, - "start": 4463, - "end": 4464, + "start": 4668, + "end": 4669, "loc": { "start": { - "line": 232, + "line": 244, "column": 25 }, "end": { - "line": 232, + "line": 244, "column": 26 } } @@ -22591,15 +24279,15 @@ "postfix": false, "binop": null }, - "start": 4465, - "end": 4466, + "start": 4670, + "end": 4671, "loc": { "start": { - "line": 232, + "line": 244, "column": 27 }, "end": { - "line": 232, + "line": 244, "column": 28 } } @@ -22619,15 +24307,15 @@ "updateContext": null }, "value": "throw", - "start": 4473, - "end": 4478, + "start": 4678, + "end": 4683, "loc": { "start": { - "line": 233, + "line": 245, "column": 6 }, "end": { - "line": 233, + "line": 245, "column": 11 } } @@ -22646,15 +24334,15 @@ "updateContext": null }, "value": "Can not get position of partial dates", - "start": 4479, - "end": 4518, + "start": 4684, + "end": 4723, "loc": { "start": { - "line": 233, + "line": 245, "column": 12 }, "end": { - "line": 233, + "line": 245, "column": 51 } } @@ -22671,15 +24359,15 @@ "postfix": false, "binop": null }, - "start": 4523, - "end": 4524, + "start": 4728, + "end": 4729, "loc": { "start": { - "line": 234, + "line": 246, "column": 4 }, "end": { - "line": 234, + "line": 246, "column": 5 } } @@ -22699,15 +24387,15 @@ "updateContext": null }, "value": "return", - "start": 4529, - "end": 4535, + "start": 4734, + "end": 4740, "loc": { "start": { - "line": 235, + "line": 247, "column": 4 }, "end": { - "line": 235, + "line": 247, "column": 10 } } @@ -22727,15 +24415,15 @@ "updateContext": null }, "value": "this", - "start": 4536, - "end": 4540, + "start": 4741, + "end": 4745, "loc": { "start": { - "line": 235, + "line": 247, "column": 11 }, "end": { - "line": 235, + "line": 247, "column": 15 } } @@ -22753,15 +24441,15 @@ "binop": null, "updateContext": null }, - "start": 4540, - "end": 4541, + "start": 4745, + "end": 4746, "loc": { "start": { - "line": 235, + "line": 247, "column": 15 }, "end": { - "line": 235, + "line": 247, "column": 16 } } @@ -22779,15 +24467,15 @@ "binop": null }, "value": "k_in", - "start": 4541, - "end": 4545, + "start": 4746, + "end": 4750, "loc": { "start": { - "line": 235, + "line": 247, "column": 16 }, "end": { - "line": 235, + "line": 247, "column": 20 } } @@ -22806,15 +24494,15 @@ "updateContext": null }, "value": "+", - "start": 4546, - "end": 4547, + "start": 4751, + "end": 4752, "loc": { "start": { - "line": 235, + "line": 247, "column": 21 }, "end": { - "line": 235, + "line": 247, "column": 22 } } @@ -22834,15 +24522,15 @@ "updateContext": null }, "value": "this", - "start": 4554, - "end": 4558, + "start": 4759, + "end": 4763, "loc": { "start": { - "line": 236, + "line": 248, "column": 6 }, "end": { - "line": 236, + "line": 248, "column": 10 } } @@ -22860,15 +24548,15 @@ "binop": null, "updateContext": null }, - "start": 4558, - "end": 4559, + "start": 4763, + "end": 4764, "loc": { "start": { - "line": 236, + "line": 248, "column": 10 }, "end": { - "line": 236, + "line": 248, "column": 11 } } @@ -22886,15 +24574,15 @@ "binop": null }, "value": "winal", - "start": 4559, - "end": 4564, + "start": 4764, + "end": 4769, "loc": { "start": { - "line": 236, + "line": 248, "column": 11 }, "end": { - "line": 236, + "line": 248, "column": 16 } } @@ -22913,15 +24601,15 @@ "updateContext": null }, "value": "*", - "start": 4565, - "end": 4566, + "start": 4770, + "end": 4771, "loc": { "start": { - "line": 236, + "line": 248, "column": 17 }, "end": { - "line": 236, + "line": 248, "column": 18 } } @@ -22940,15 +24628,15 @@ "updateContext": null }, "value": 20, - "start": 4567, - "end": 4569, + "start": 4772, + "end": 4774, "loc": { "start": { - "line": 236, + "line": 248, "column": 19 }, "end": { - "line": 236, + "line": 248, "column": 21 } } @@ -22967,15 +24655,15 @@ "updateContext": null }, "value": "+", - "start": 4570, - "end": 4571, + "start": 4775, + "end": 4776, "loc": { "start": { - "line": 236, + "line": 248, "column": 22 }, "end": { - "line": 236, + "line": 248, "column": 23 } } @@ -22995,15 +24683,15 @@ "updateContext": null }, "value": "this", - "start": 4578, - "end": 4582, + "start": 4783, + "end": 4787, "loc": { "start": { - "line": 237, + "line": 249, "column": 6 }, "end": { - "line": 237, + "line": 249, "column": 10 } } @@ -23021,15 +24709,15 @@ "binop": null, "updateContext": null }, - "start": 4582, - "end": 4583, + "start": 4787, + "end": 4788, "loc": { "start": { - "line": 237, + "line": 249, "column": 10 }, "end": { - "line": 237, + "line": 249, "column": 11 } } @@ -23047,15 +24735,15 @@ "binop": null }, "value": "tun", - "start": 4583, - "end": 4586, + "start": 4788, + "end": 4791, "loc": { "start": { - "line": 237, + "line": 249, "column": 11 }, "end": { - "line": 237, + "line": 249, "column": 14 } } @@ -23074,15 +24762,15 @@ "updateContext": null }, "value": "*", - "start": 4587, - "end": 4588, + "start": 4792, + "end": 4793, "loc": { "start": { - "line": 237, + "line": 249, "column": 15 }, "end": { - "line": 237, + "line": 249, "column": 16 } } @@ -23101,15 +24789,15 @@ "updateContext": null }, "value": 360, - "start": 4589, - "end": 4592, + "start": 4794, + "end": 4797, "loc": { "start": { - "line": 237, + "line": 249, "column": 17 }, "end": { - "line": 237, + "line": 249, "column": 20 } } @@ -23128,15 +24816,15 @@ "updateContext": null }, "value": "+", - "start": 4593, - "end": 4594, + "start": 4798, + "end": 4799, "loc": { "start": { - "line": 237, + "line": 249, "column": 21 }, "end": { - "line": 237, + "line": 249, "column": 22 } } @@ -23156,15 +24844,15 @@ "updateContext": null }, "value": "this", - "start": 4601, - "end": 4605, + "start": 4806, + "end": 4810, "loc": { "start": { - "line": 238, + "line": 250, "column": 6 }, "end": { - "line": 238, + "line": 250, "column": 10 } } @@ -23182,15 +24870,15 @@ "binop": null, "updateContext": null }, - "start": 4605, - "end": 4606, + "start": 4810, + "end": 4811, "loc": { "start": { - "line": 238, + "line": 250, "column": 10 }, "end": { - "line": 238, + "line": 250, "column": 11 } } @@ -23208,15 +24896,15 @@ "binop": null }, "value": "k_atun", - "start": 4606, - "end": 4612, + "start": 4811, + "end": 4817, "loc": { "start": { - "line": 238, + "line": 250, "column": 11 }, "end": { - "line": 238, + "line": 250, "column": 17 } } @@ -23235,15 +24923,15 @@ "updateContext": null }, "value": "*", - "start": 4613, - "end": 4614, + "start": 4818, + "end": 4819, "loc": { "start": { - "line": 238, + "line": 250, "column": 18 }, "end": { - "line": 238, + "line": 250, "column": 19 } } @@ -23262,15 +24950,15 @@ "updateContext": null }, "value": 7200, - "start": 4615, - "end": 4619, + "start": 4820, + "end": 4824, "loc": { "start": { - "line": 238, + "line": 250, "column": 20 }, "end": { - "line": 238, + "line": 250, "column": 24 } } @@ -23289,15 +24977,15 @@ "updateContext": null }, "value": "+", - "start": 4620, - "end": 4621, + "start": 4825, + "end": 4826, "loc": { "start": { - "line": 238, + "line": 250, "column": 25 }, "end": { - "line": 238, + "line": 250, "column": 26 } } @@ -23317,15 +25005,15 @@ "updateContext": null }, "value": "this", - "start": 4628, - "end": 4632, + "start": 4833, + "end": 4837, "loc": { "start": { - "line": 239, + "line": 251, "column": 6 }, "end": { - "line": 239, + "line": 251, "column": 10 } } @@ -23343,15 +25031,15 @@ "binop": null, "updateContext": null }, - "start": 4632, - "end": 4633, + "start": 4837, + "end": 4838, "loc": { "start": { - "line": 239, + "line": 251, "column": 10 }, "end": { - "line": 239, + "line": 251, "column": 11 } } @@ -23369,15 +25057,15 @@ "binop": null }, "value": "bak_tun", - "start": 4633, - "end": 4640, + "start": 4838, + "end": 4845, "loc": { "start": { - "line": 239, + "line": 251, "column": 11 }, "end": { - "line": 239, + "line": 251, "column": 18 } } @@ -23396,15 +25084,15 @@ "updateContext": null }, "value": "*", - "start": 4641, - "end": 4642, + "start": 4846, + "end": 4847, "loc": { "start": { - "line": 239, + "line": 251, "column": 19 }, "end": { - "line": 239, + "line": 251, "column": 20 } } @@ -23423,15 +25111,15 @@ "updateContext": null }, "value": 144000, - "start": 4643, - "end": 4649, + "start": 4848, + "end": 4854, "loc": { "start": { - "line": 239, + "line": 251, "column": 21 }, "end": { - "line": 239, + "line": 251, "column": 27 } } @@ -23450,15 +25138,15 @@ "updateContext": null }, "value": "+", - "start": 4650, - "end": 4651, + "start": 4855, + "end": 4856, "loc": { "start": { - "line": 239, + "line": 251, "column": 28 }, "end": { - "line": 239, + "line": 251, "column": 29 } } @@ -23478,15 +25166,15 @@ "updateContext": null }, "value": "this", - "start": 4658, - "end": 4662, + "start": 4863, + "end": 4867, "loc": { "start": { - "line": 240, + "line": 252, "column": 6 }, "end": { - "line": 240, + "line": 252, "column": 10 } } @@ -23504,15 +25192,15 @@ "binop": null, "updateContext": null }, - "start": 4662, - "end": 4663, + "start": 4867, + "end": 4868, "loc": { "start": { - "line": 240, + "line": 252, "column": 10 }, "end": { - "line": 240, + "line": 252, "column": 11 } } @@ -23530,15 +25218,15 @@ "binop": null }, "value": "piktun", - "start": 4663, - "end": 4669, + "start": 4868, + "end": 4874, "loc": { "start": { - "line": 240, + "line": 252, "column": 11 }, "end": { - "line": 240, + "line": 252, "column": 17 } } @@ -23557,15 +25245,15 @@ "updateContext": null }, "value": "*", - "start": 4670, - "end": 4671, + "start": 4875, + "end": 4876, "loc": { "start": { - "line": 240, + "line": 252, "column": 18 }, "end": { - "line": 240, + "line": 252, "column": 19 } } @@ -23584,15 +25272,15 @@ "updateContext": null }, "value": 2880000, - "start": 4672, - "end": 4679, + "start": 4877, + "end": 4884, "loc": { "start": { - "line": 240, + "line": 252, "column": 20 }, "end": { - "line": 240, + "line": 252, "column": 27 } } @@ -23611,15 +25299,15 @@ "updateContext": null }, "value": "+", - "start": 4680, - "end": 4681, + "start": 4885, + "end": 4886, "loc": { "start": { - "line": 240, + "line": 252, "column": 28 }, "end": { - "line": 240, + "line": 252, "column": 29 } } @@ -23639,15 +25327,15 @@ "updateContext": null }, "value": "this", - "start": 4688, - "end": 4692, + "start": 4893, + "end": 4897, "loc": { "start": { - "line": 241, + "line": 253, "column": 6 }, "end": { - "line": 241, + "line": 253, "column": 10 } } @@ -23665,15 +25353,15 @@ "binop": null, "updateContext": null }, - "start": 4692, - "end": 4693, + "start": 4897, + "end": 4898, "loc": { "start": { - "line": 241, + "line": 253, "column": 10 }, "end": { - "line": 241, + "line": 253, "column": 11 } } @@ -23691,15 +25379,15 @@ "binop": null }, "value": "kalabtun", - "start": 4693, - "end": 4701, + "start": 4898, + "end": 4906, "loc": { "start": { - "line": 241, + "line": 253, "column": 11 }, "end": { - "line": 241, + "line": 253, "column": 19 } } @@ -23718,15 +25406,15 @@ "updateContext": null }, "value": "*", - "start": 4702, - "end": 4703, + "start": 4907, + "end": 4908, "loc": { "start": { - "line": 241, + "line": 253, "column": 20 }, "end": { - "line": 241, + "line": 253, "column": 21 } } @@ -23745,15 +25433,15 @@ "updateContext": null }, "value": 57600000, - "start": 4704, - "end": 4712, + "start": 4909, + "end": 4917, "loc": { "start": { - "line": 241, + "line": 253, "column": 22 }, "end": { - "line": 241, + "line": 253, "column": 30 } } @@ -23772,15 +25460,15 @@ "updateContext": null }, "value": "+", - "start": 4713, - "end": 4714, + "start": 4918, + "end": 4919, "loc": { "start": { - "line": 241, + "line": 253, "column": 31 }, "end": { - "line": 241, + "line": 253, "column": 32 } } @@ -23800,15 +25488,15 @@ "updateContext": null }, "value": "this", - "start": 4721, - "end": 4725, + "start": 4926, + "end": 4930, "loc": { "start": { - "line": 242, + "line": 254, "column": 6 }, "end": { - "line": 242, + "line": 254, "column": 10 } } @@ -23826,15 +25514,15 @@ "binop": null, "updateContext": null }, - "start": 4725, - "end": 4726, + "start": 4930, + "end": 4931, "loc": { "start": { - "line": 242, + "line": 254, "column": 10 }, "end": { - "line": 242, + "line": 254, "column": 11 } } @@ -23852,15 +25540,15 @@ "binop": null }, "value": "kinchiltun", - "start": 4726, - "end": 4736, + "start": 4931, + "end": 4941, "loc": { "start": { - "line": 242, + "line": 254, "column": 11 }, "end": { - "line": 242, + "line": 254, "column": 21 } } @@ -23879,15 +25567,15 @@ "updateContext": null }, "value": "*", - "start": 4737, - "end": 4738, + "start": 4942, + "end": 4943, "loc": { "start": { - "line": 242, + "line": 254, "column": 22 }, "end": { - "line": 242, + "line": 254, "column": 23 } } @@ -23906,15 +25594,15 @@ "updateContext": null }, "value": 1152000000, - "start": 4739, - "end": 4749, + "start": 4944, + "end": 4954, "loc": { "start": { - "line": 242, + "line": 254, "column": 24 }, "end": { - "line": 242, + "line": 254, "column": 34 } } @@ -23931,15 +25619,15 @@ "postfix": false, "binop": null }, - "start": 4752, - "end": 4753, + "start": 4957, + "end": 4958, "loc": { "start": { - "line": 243, + "line": 255, "column": 2 }, "end": { - "line": 243, + "line": 255, "column": 3 } } @@ -23947,15 +25635,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 4757, - "end": 4800, + "start": 4962, + "end": 5005, "loc": { "start": { - "line": 245, + "line": 257, "column": 2 }, "end": { - "line": 248, + "line": 260, "column": 5 } } @@ -23973,15 +25661,15 @@ "binop": null }, "value": "build_calendar_round", - "start": 4803, - "end": 4823, + "start": 5008, + "end": 5028, "loc": { "start": { - "line": 249, + "line": 261, "column": 2 }, "end": { - "line": 249, + "line": 261, "column": 22 } } @@ -23998,15 +25686,15 @@ "postfix": false, "binop": null }, - "start": 4824, - "end": 4825, + "start": 5029, + "end": 5030, "loc": { "start": { - "line": 249, + "line": 261, "column": 23 }, "end": { - "line": 249, + "line": 261, "column": 24 } } @@ -24023,15 +25711,15 @@ "postfix": false, "binop": null }, - "start": 4825, - "end": 4826, + "start": 5030, + "end": 5031, "loc": { "start": { - "line": 249, + "line": 261, "column": 24 }, "end": { - "line": 249, + "line": 261, "column": 25 } } @@ -24048,15 +25736,15 @@ "postfix": false, "binop": null }, - "start": 4827, - "end": 4828, + "start": 5032, + "end": 5033, "loc": { "start": { - "line": 249, + "line": 261, "column": 26 }, "end": { - "line": 249, + "line": 261, "column": 27 } } @@ -24076,15 +25764,15 @@ "updateContext": null }, "value": "return", - "start": 4833, - "end": 4839, + "start": 5038, + "end": 5044, "loc": { "start": { - "line": 250, + "line": 262, "column": 4 }, "end": { - "line": 250, + "line": 262, "column": 10 } } @@ -24102,15 +25790,15 @@ "binop": null }, "value": "origin", - "start": 4840, - "end": 4846, + "start": 5045, + "end": 5051, "loc": { "start": { - "line": 250, + "line": 262, "column": 11 }, "end": { - "line": 250, + "line": 262, "column": 17 } } @@ -24128,15 +25816,15 @@ "binop": null, "updateContext": null }, - "start": 4846, - "end": 4847, + "start": 5051, + "end": 5052, "loc": { "start": { - "line": 250, + "line": 262, "column": 17 }, "end": { - "line": 250, + "line": 262, "column": 18 } } @@ -24154,15 +25842,15 @@ "binop": null }, "value": "shift", - "start": 4847, - "end": 4852, + "start": 5052, + "end": 5057, "loc": { "start": { - "line": 250, + "line": 262, "column": 18 }, "end": { - "line": 250, + "line": 262, "column": 23 } } @@ -24179,15 +25867,15 @@ "postfix": false, "binop": null }, - "start": 4852, - "end": 4853, + "start": 5057, + "end": 5058, "loc": { "start": { - "line": 250, + "line": 262, "column": 23 }, "end": { - "line": 250, + "line": 262, "column": 24 } } @@ -24207,15 +25895,15 @@ "updateContext": null }, "value": "this", - "start": 4860, - "end": 4864, + "start": 5065, + "end": 5069, "loc": { "start": { - "line": 251, + "line": 263, "column": 6 }, "end": { - "line": 251, + "line": 263, "column": 10 } } @@ -24233,15 +25921,15 @@ "binop": null, "updateContext": null }, - "start": 4864, - "end": 4865, + "start": 5069, + "end": 5070, "loc": { "start": { - "line": 251, + "line": 263, "column": 10 }, "end": { - "line": 251, + "line": 263, "column": 11 } } @@ -24259,15 +25947,15 @@ "binop": null }, "value": "get_position", - "start": 4865, - "end": 4877, + "start": 5070, + "end": 5082, "loc": { "start": { - "line": 251, + "line": 263, "column": 11 }, "end": { - "line": 251, + "line": 263, "column": 23 } } @@ -24284,15 +25972,15 @@ "postfix": false, "binop": null }, - "start": 4877, - "end": 4878, + "start": 5082, + "end": 5083, "loc": { "start": { - "line": 251, + "line": 263, "column": 23 }, "end": { - "line": 251, + "line": 263, "column": 24 } } @@ -24309,15 +25997,15 @@ "postfix": false, "binop": null }, - "start": 4878, - "end": 4879, + "start": 5083, + "end": 5084, "loc": { "start": { - "line": 251, + "line": 263, "column": 24 }, "end": { - "line": 251, + "line": 263, "column": 25 } } @@ -24335,15 +26023,15 @@ "binop": null, "updateContext": null }, - "start": 4879, - "end": 4880, + "start": 5084, + "end": 5085, "loc": { "start": { - "line": 251, + "line": 263, "column": 25 }, "end": { - "line": 251, + "line": 263, "column": 26 } } @@ -24360,15 +26048,15 @@ "postfix": false, "binop": null }, - "start": 4885, - "end": 4886, + "start": 5090, + "end": 5091, "loc": { "start": { - "line": 252, + "line": 264, "column": 4 }, "end": { - "line": 252, + "line": 264, "column": 5 } } @@ -24385,15 +26073,15 @@ "postfix": false, "binop": null }, - "start": 4889, - "end": 4890, + "start": 5094, + "end": 5095, "loc": { "start": { - "line": 253, + "line": 265, "column": 2 }, "end": { - "line": 253, + "line": 265, "column": 3 } } @@ -24401,15 +26089,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 4894, - "end": 4932, + "start": 5099, + "end": 5137, "loc": { "start": { - "line": 255, + "line": 267, "column": 2 }, "end": { - "line": 258, + "line": 270, "column": 5 } } @@ -24427,15 +26115,15 @@ "binop": null }, "value": "build_full_date", - "start": 4935, - "end": 4950, + "start": 5140, + "end": 5155, "loc": { "start": { - "line": 259, + "line": 271, "column": 2 }, "end": { - "line": 259, + "line": 271, "column": 17 } } @@ -24452,15 +26140,15 @@ "postfix": false, "binop": null }, - "start": 4951, - "end": 4952, + "start": 5156, + "end": 5157, "loc": { "start": { - "line": 259, + "line": 271, "column": 18 }, "end": { - "line": 259, + "line": 271, "column": 19 } } @@ -24477,15 +26165,15 @@ "postfix": false, "binop": null }, - "start": 4952, - "end": 4953, + "start": 5157, + "end": 5158, "loc": { "start": { - "line": 259, + "line": 271, "column": 19 }, "end": { - "line": 259, + "line": 271, "column": 20 } } @@ -24502,15 +26190,15 @@ "postfix": false, "binop": null }, - "start": 4954, - "end": 4955, + "start": 5159, + "end": 5160, "loc": { "start": { - "line": 259, + "line": 271, "column": 21 }, "end": { - "line": 259, + "line": 271, "column": 22 } } @@ -24530,15 +26218,15 @@ "updateContext": null }, "value": "return", - "start": 4960, - "end": 4966, + "start": 5165, + "end": 5171, "loc": { "start": { - "line": 260, + "line": 272, "column": 4 }, "end": { - "line": 260, + "line": 272, "column": 10 } } @@ -24558,15 +26246,15 @@ "updateContext": null }, "value": "new", - "start": 4967, - "end": 4970, + "start": 5172, + "end": 5175, "loc": { "start": { - "line": 260, + "line": 272, "column": 11 }, "end": { - "line": 260, + "line": 272, "column": 14 } } @@ -24584,15 +26272,15 @@ "binop": null }, "value": "FullDate", - "start": 4971, - "end": 4979, + "start": 5176, + "end": 5184, "loc": { "start": { - "line": 260, + "line": 272, "column": 15 }, "end": { - "line": 260, + "line": 272, "column": 23 } } @@ -24609,15 +26297,15 @@ "postfix": false, "binop": null }, - "start": 4979, - "end": 4980, + "start": 5184, + "end": 5185, "loc": { "start": { - "line": 260, + "line": 272, "column": 23 }, "end": { - "line": 260, + "line": 272, "column": 24 } } @@ -24637,15 +26325,15 @@ "updateContext": null }, "value": "this", - "start": 4987, - "end": 4991, + "start": 5192, + "end": 5196, "loc": { "start": { - "line": 261, + "line": 273, "column": 6 }, "end": { - "line": 261, + "line": 273, "column": 10 } } @@ -24663,15 +26351,15 @@ "binop": null, "updateContext": null }, - "start": 4991, - "end": 4992, + "start": 5196, + "end": 5197, "loc": { "start": { - "line": 261, + "line": 273, "column": 10 }, "end": { - "line": 261, + "line": 273, "column": 11 } } @@ -24689,15 +26377,15 @@ "binop": null }, "value": "build_calendar_round", - "start": 4992, - "end": 5012, + "start": 5197, + "end": 5217, "loc": { "start": { - "line": 261, + "line": 273, "column": 11 }, "end": { - "line": 261, + "line": 273, "column": 31 } } @@ -24714,15 +26402,15 @@ "postfix": false, "binop": null }, - "start": 5012, - "end": 5013, + "start": 5217, + "end": 5218, "loc": { "start": { - "line": 261, + "line": 273, "column": 31 }, "end": { - "line": 261, + "line": 273, "column": 32 } } @@ -24739,15 +26427,15 @@ "postfix": false, "binop": null }, - "start": 5013, - "end": 5014, + "start": 5218, + "end": 5219, "loc": { "start": { - "line": 261, + "line": 273, "column": 32 }, "end": { - "line": 261, + "line": 273, "column": 33 } } @@ -24765,15 +26453,15 @@ "binop": null, "updateContext": null }, - "start": 5014, - "end": 5015, + "start": 5219, + "end": 5220, "loc": { "start": { - "line": 261, + "line": 273, "column": 33 }, "end": { - "line": 261, + "line": 273, "column": 34 } } @@ -24793,15 +26481,15 @@ "updateContext": null }, "value": "this", - "start": 5022, - "end": 5026, + "start": 5227, + "end": 5231, "loc": { "start": { - "line": 262, + "line": 274, "column": 6 }, "end": { - "line": 262, + "line": 274, "column": 10 } } @@ -24819,15 +26507,15 @@ "binop": null, "updateContext": null }, - "start": 5026, - "end": 5027, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 262, + "line": 274, "column": 10 }, "end": { - "line": 262, + "line": 274, "column": 11 } } @@ -24845,15 +26533,15 @@ "binop": null }, "value": "clone", - "start": 5027, - "end": 5032, + "start": 5232, + "end": 5237, "loc": { "start": { - "line": 262, + "line": 274, "column": 11 }, "end": { - "line": 262, + "line": 274, "column": 16 } } @@ -24870,15 +26558,15 @@ "postfix": false, "binop": null }, - "start": 5032, - "end": 5033, + "start": 5237, + "end": 5238, "loc": { "start": { - "line": 262, + "line": 274, "column": 16 }, "end": { - "line": 262, + "line": 274, "column": 17 } } @@ -24895,15 +26583,15 @@ "postfix": false, "binop": null }, - "start": 5033, - "end": 5034, + "start": 5238, + "end": 5239, "loc": { "start": { - "line": 262, + "line": 274, "column": 17 }, "end": { - "line": 262, + "line": 274, "column": 18 } } @@ -24921,15 +26609,15 @@ "binop": null, "updateContext": null }, - "start": 5034, - "end": 5035, + "start": 5239, + "end": 5240, "loc": { "start": { - "line": 262, + "line": 274, "column": 18 }, "end": { - "line": 262, + "line": 274, "column": 19 } } @@ -24946,15 +26634,15 @@ "postfix": false, "binop": null }, - "start": 5040, - "end": 5041, + "start": 5245, + "end": 5246, "loc": { "start": { - "line": 263, + "line": 275, "column": 4 }, "end": { - "line": 263, + "line": 275, "column": 5 } } @@ -24971,15 +26659,15 @@ "postfix": false, "binop": null }, - "start": 5044, - "end": 5045, + "start": 5249, + "end": 5250, "loc": { "start": { - "line": 264, + "line": 276, "column": 2 }, "end": { - "line": 264, + "line": 276, "column": 3 } } @@ -24987,15 +26675,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n ", - "start": 5049, - "end": 5153, + "start": 5254, + "end": 5358, "loc": { "start": { - "line": 266, + "line": 278, "column": 2 }, "end": { - "line": 269, + "line": 281, "column": 5 } } @@ -25013,15 +26701,15 @@ "binop": null }, "value": "toString", - "start": 5156, - "end": 5164, + "start": 5361, + "end": 5369, "loc": { "start": { - "line": 270, + "line": 282, "column": 2 }, "end": { - "line": 270, + "line": 282, "column": 10 } } @@ -25038,15 +26726,15 @@ "postfix": false, "binop": null }, - "start": 5165, - "end": 5166, + "start": 5370, + "end": 5371, "loc": { "start": { - "line": 270, + "line": 282, "column": 11 }, "end": { - "line": 270, + "line": 282, "column": 12 } } @@ -25063,15 +26751,15 @@ "postfix": false, "binop": null }, - "start": 5166, - "end": 5167, + "start": 5371, + "end": 5372, "loc": { "start": { - "line": 270, + "line": 282, "column": 12 }, "end": { - "line": 270, + "line": 282, "column": 13 } } @@ -25088,15 +26776,15 @@ "postfix": false, "binop": null }, - "start": 5168, - "end": 5169, + "start": 5373, + "end": 5374, "loc": { "start": { - "line": 270, + "line": 282, "column": 14 }, "end": { - "line": 270, + "line": 282, "column": 15 } } @@ -25116,15 +26804,15 @@ "updateContext": null }, "value": "let", - "start": 5174, - "end": 5177, + "start": 5379, + "end": 5382, "loc": { "start": { - "line": 271, + "line": 283, "column": 4 }, "end": { - "line": 271, + "line": 283, "column": 7 } } @@ -25142,15 +26830,15 @@ "binop": null }, "value": "significant_digits", - "start": 5178, - "end": 5196, + "start": 5383, + "end": 5401, "loc": { "start": { - "line": 271, + "line": 283, "column": 8 }, "end": { - "line": 271, + "line": 283, "column": 26 } } @@ -25169,15 +26857,15 @@ "updateContext": null }, "value": "=", - "start": 5197, - "end": 5198, + "start": 5402, + "end": 5403, "loc": { "start": { - "line": 271, + "line": 283, "column": 27 }, "end": { - "line": 271, + "line": 283, "column": 28 } } @@ -25195,15 +26883,15 @@ "binop": null, "updateContext": null }, - "start": 5199, - "end": 5200, + "start": 5404, + "end": 5405, "loc": { "start": { - "line": 271, + "line": 283, "column": 29 }, "end": { - "line": 271, + "line": 283, "column": 30 } } @@ -25221,15 +26909,15 @@ "binop": null, "updateContext": null }, - "start": 5200, - "end": 5201, + "start": 5405, + "end": 5406, "loc": { "start": { - "line": 271, + "line": 283, "column": 30 }, "end": { - "line": 271, + "line": 283, "column": 31 } } @@ -25249,15 +26937,15 @@ "updateContext": null }, "value": "for", - "start": 5206, - "end": 5209, + "start": 5411, + "end": 5414, "loc": { "start": { - "line": 272, + "line": 284, "column": 4 }, "end": { - "line": 272, + "line": 284, "column": 7 } } @@ -25274,15 +26962,15 @@ "postfix": false, "binop": null }, - "start": 5210, - "end": 5211, + "start": 5415, + "end": 5416, "loc": { "start": { - "line": 272, + "line": 284, "column": 8 }, "end": { - "line": 272, + "line": 284, "column": 9 } } @@ -25302,15 +26990,15 @@ "updateContext": null }, "value": "let", - "start": 5211, - "end": 5214, + "start": 5416, + "end": 5419, "loc": { "start": { - "line": 272, + "line": 284, "column": 9 }, "end": { - "line": 272, + "line": 284, "column": 12 } } @@ -25328,15 +27016,15 @@ "binop": null }, "value": "i", - "start": 5215, - "end": 5216, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 272, + "line": 284, "column": 13 }, "end": { - "line": 272, + "line": 284, "column": 14 } } @@ -25355,15 +27043,15 @@ "updateContext": null }, "value": "=", - "start": 5217, - "end": 5218, + "start": 5422, + "end": 5423, "loc": { "start": { - "line": 272, + "line": 284, "column": 15 }, "end": { - "line": 272, + "line": 284, "column": 16 } } @@ -25383,15 +27071,15 @@ "updateContext": null }, "value": "this", - "start": 5219, - "end": 5223, + "start": 5424, + "end": 5428, "loc": { "start": { - "line": 272, + "line": 284, "column": 17 }, "end": { - "line": 272, + "line": 284, "column": 21 } } @@ -25409,15 +27097,15 @@ "binop": null, "updateContext": null }, - "start": 5223, - "end": 5224, + "start": 5428, + "end": 5429, "loc": { "start": { - "line": 272, + "line": 284, "column": 21 }, "end": { - "line": 272, + "line": 284, "column": 22 } } @@ -25435,15 +27123,15 @@ "binop": null }, "value": "parts", - "start": 5224, - "end": 5229, + "start": 5429, + "end": 5434, "loc": { "start": { - "line": 272, + "line": 284, "column": 22 }, "end": { - "line": 272, + "line": 284, "column": 27 } } @@ -25461,15 +27149,15 @@ "binop": null, "updateContext": null }, - "start": 5229, - "end": 5230, + "start": 5434, + "end": 5435, "loc": { "start": { - "line": 272, + "line": 284, "column": 27 }, "end": { - "line": 272, + "line": 284, "column": 28 } } @@ -25487,15 +27175,15 @@ "binop": null }, "value": "length", - "start": 5230, - "end": 5236, + "start": 5435, + "end": 5441, "loc": { "start": { - "line": 272, + "line": 284, "column": 28 }, "end": { - "line": 272, + "line": 284, "column": 34 } } @@ -25514,16 +27202,16 @@ "updateContext": null }, "value": "-", - "start": 5236, - "end": 5237, + "start": 5442, + "end": 5443, "loc": { "start": { - "line": 272, - "column": 34 + "line": 284, + "column": 35 }, "end": { - "line": 272, - "column": 35 + "line": 284, + "column": 36 } } }, @@ -25541,16 +27229,16 @@ "updateContext": null }, "value": 1, - "start": 5237, - "end": 5238, + "start": 5444, + "end": 5445, "loc": { "start": { - "line": 272, - "column": 35 + "line": 284, + "column": 37 }, "end": { - "line": 272, - "column": 36 + "line": 284, + "column": 38 } } }, @@ -25567,16 +27255,16 @@ "binop": null, "updateContext": null }, - "start": 5238, - "end": 5239, + "start": 5445, + "end": 5446, "loc": { "start": { - "line": 272, - "column": 36 + "line": 284, + "column": 38 }, "end": { - "line": 272, - "column": 37 + "line": 284, + "column": 39 } } }, @@ -25593,16 +27281,16 @@ "binop": null }, "value": "i", - "start": 5240, - "end": 5241, + "start": 5447, + "end": 5448, "loc": { "start": { - "line": 272, - "column": 38 + "line": 284, + "column": 40 }, "end": { - "line": 272, - "column": 39 + "line": 284, + "column": 41 } } }, @@ -25620,16 +27308,16 @@ "updateContext": null }, "value": ">=", - "start": 5242, - "end": 5244, + "start": 5449, + "end": 5451, "loc": { "start": { - "line": 272, - "column": 40 + "line": 284, + "column": 42 }, "end": { - "line": 272, - "column": 42 + "line": 284, + "column": 44 } } }, @@ -25647,16 +27335,16 @@ "updateContext": null }, "value": 0, - "start": 5245, - "end": 5246, + "start": 5452, + "end": 5453, "loc": { "start": { - "line": 272, - "column": 43 + "line": 284, + "column": 45 }, "end": { - "line": 272, - "column": 44 + "line": 284, + "column": 46 } } }, @@ -25673,16 +27361,16 @@ "binop": null, "updateContext": null }, - "start": 5246, - "end": 5247, + "start": 5453, + "end": 5454, "loc": { "start": { - "line": 272, - "column": 44 + "line": 284, + "column": 46 }, "end": { - "line": 272, - "column": 45 + "line": 284, + "column": 47 } } }, @@ -25699,16 +27387,16 @@ "binop": null }, "value": "i", - "start": 5248, - "end": 5249, + "start": 5455, + "end": 5456, "loc": { "start": { - "line": 272, - "column": 46 + "line": 284, + "column": 48 }, "end": { - "line": 272, - "column": 47 + "line": 284, + "column": 49 } } }, @@ -25725,16 +27413,16 @@ "binop": null }, "value": "--", - "start": 5249, - "end": 5251, + "start": 5456, + "end": 5458, "loc": { "start": { - "line": 272, - "column": 47 + "line": 284, + "column": 49 }, "end": { - "line": 272, - "column": 49 + "line": 284, + "column": 51 } } }, @@ -25750,16 +27438,16 @@ "postfix": false, "binop": null }, - "start": 5251, - "end": 5252, + "start": 5458, + "end": 5459, "loc": { "start": { - "line": 272, - "column": 49 + "line": 284, + "column": 51 }, "end": { - "line": 272, - "column": 50 + "line": 284, + "column": 52 } } }, @@ -25775,16 +27463,16 @@ "postfix": false, "binop": null }, - "start": 5253, - "end": 5254, + "start": 5460, + "end": 5461, "loc": { "start": { - "line": 272, - "column": 51 + "line": 284, + "column": 53 }, "end": { - "line": 272, - "column": 52 + "line": 284, + "column": 54 } } }, @@ -25803,15 +27491,15 @@ "updateContext": null }, "value": "let", - "start": 5261, - "end": 5264, + "start": 5468, + "end": 5471, "loc": { "start": { - "line": 273, + "line": 285, "column": 6 }, "end": { - "line": 273, + "line": 285, "column": 9 } } @@ -25829,15 +27517,15 @@ "binop": null }, "value": "part", - "start": 5265, - "end": 5269, + "start": 5472, + "end": 5476, "loc": { "start": { - "line": 273, + "line": 285, "column": 10 }, "end": { - "line": 273, + "line": 285, "column": 14 } } @@ -25856,15 +27544,15 @@ "updateContext": null }, "value": "=", - "start": 5270, - "end": 5271, + "start": 5477, + "end": 5478, "loc": { "start": { - "line": 273, + "line": 285, "column": 15 }, "end": { - "line": 273, + "line": 285, "column": 16 } } @@ -25884,15 +27572,15 @@ "updateContext": null }, "value": "this", - "start": 5272, - "end": 5276, + "start": 5479, + "end": 5483, "loc": { "start": { - "line": 273, + "line": 285, "column": 17 }, "end": { - "line": 273, + "line": 285, "column": 21 } } @@ -25910,15 +27598,15 @@ "binop": null, "updateContext": null }, - "start": 5276, - "end": 5277, + "start": 5483, + "end": 5484, "loc": { "start": { - "line": 273, + "line": 285, "column": 21 }, "end": { - "line": 273, + "line": 285, "column": 22 } } @@ -25936,15 +27624,15 @@ "binop": null }, "value": "parts", - "start": 5277, - "end": 5282, + "start": 5484, + "end": 5489, "loc": { "start": { - "line": 273, + "line": 285, "column": 22 }, "end": { - "line": 273, + "line": 285, "column": 27 } } @@ -25962,15 +27650,15 @@ "binop": null, "updateContext": null }, - "start": 5282, - "end": 5283, + "start": 5489, + "end": 5490, "loc": { "start": { - "line": 273, + "line": 285, "column": 27 }, "end": { - "line": 273, + "line": 285, "column": 28 } } @@ -25988,15 +27676,15 @@ "binop": null }, "value": "i", - "start": 5283, - "end": 5284, + "start": 5490, + "end": 5491, "loc": { "start": { - "line": 273, + "line": 285, "column": 28 }, "end": { - "line": 273, + "line": 285, "column": 29 } } @@ -26014,15 +27702,15 @@ "binop": null, "updateContext": null }, - "start": 5284, - "end": 5285, + "start": 5491, + "end": 5492, "loc": { "start": { - "line": 273, + "line": 285, "column": 29 }, "end": { - "line": 273, + "line": 285, "column": 30 } } @@ -26042,15 +27730,15 @@ "updateContext": null }, "value": "if", - "start": 5292, - "end": 5294, + "start": 5499, + "end": 5501, "loc": { "start": { - "line": 274, + "line": 286, "column": 6 }, "end": { - "line": 274, + "line": 286, "column": 8 } } @@ -26067,15 +27755,15 @@ "postfix": false, "binop": null }, - "start": 5295, - "end": 5296, + "start": 5502, + "end": 5503, "loc": { "start": { - "line": 274, + "line": 286, "column": 9 }, "end": { - "line": 274, + "line": 286, "column": 10 } } @@ -26093,15 +27781,15 @@ "binop": null }, "value": "part", - "start": 5296, - "end": 5300, + "start": 5503, + "end": 5507, "loc": { "start": { - "line": 274, + "line": 286, "column": 10 }, "end": { - "line": 274, + "line": 286, "column": 14 } } @@ -26120,15 +27808,15 @@ "updateContext": null }, "value": "!==", - "start": 5301, - "end": 5304, + "start": 5508, + "end": 5511, "loc": { "start": { - "line": 274, + "line": 286, "column": 15 }, "end": { - "line": 274, + "line": 286, "column": 18 } } @@ -26147,15 +27835,15 @@ "updateContext": null }, "value": 0, - "start": 5305, - "end": 5306, + "start": 5512, + "end": 5513, "loc": { "start": { - "line": 274, + "line": 286, "column": 19 }, "end": { - "line": 274, + "line": 286, "column": 20 } } @@ -26172,15 +27860,15 @@ "postfix": false, "binop": null }, - "start": 5306, - "end": 5307, + "start": 5513, + "end": 5514, "loc": { "start": { - "line": 274, + "line": 286, "column": 20 }, "end": { - "line": 274, + "line": 286, "column": 21 } } @@ -26197,15 +27885,15 @@ "postfix": false, "binop": null }, - "start": 5308, - "end": 5309, + "start": 5515, + "end": 5516, "loc": { "start": { - "line": 274, + "line": 286, "column": 22 }, "end": { - "line": 274, + "line": 286, "column": 23 } } @@ -26223,15 +27911,15 @@ "binop": null }, "value": "significant_digits", - "start": 5318, - "end": 5336, + "start": 5525, + "end": 5543, "loc": { "start": { - "line": 275, + "line": 287, "column": 8 }, "end": { - "line": 275, + "line": 287, "column": 26 } } @@ -26250,15 +27938,15 @@ "updateContext": null }, "value": "=", - "start": 5337, - "end": 5338, + "start": 5544, + "end": 5545, "loc": { "start": { - "line": 275, + "line": 287, "column": 27 }, "end": { - "line": 275, + "line": 287, "column": 28 } } @@ -26278,15 +27966,15 @@ "updateContext": null }, "value": "this", - "start": 5339, - "end": 5343, + "start": 5546, + "end": 5550, "loc": { "start": { - "line": 275, + "line": 287, "column": 29 }, "end": { - "line": 275, + "line": 287, "column": 33 } } @@ -26304,15 +27992,15 @@ "binop": null, "updateContext": null }, - "start": 5343, - "end": 5344, + "start": 5550, + "end": 5551, "loc": { "start": { - "line": 275, + "line": 287, "column": 33 }, "end": { - "line": 275, + "line": 287, "column": 34 } } @@ -26330,15 +28018,15 @@ "binop": null }, "value": "parts", - "start": 5344, - "end": 5349, + "start": 5551, + "end": 5556, "loc": { "start": { - "line": 275, + "line": 287, "column": 34 }, "end": { - "line": 275, + "line": 287, "column": 39 } } @@ -26356,15 +28044,15 @@ "binop": null, "updateContext": null }, - "start": 5349, - "end": 5350, + "start": 5556, + "end": 5557, "loc": { "start": { - "line": 275, + "line": 287, "column": 39 }, "end": { - "line": 275, + "line": 287, "column": 40 } } @@ -26382,15 +28070,15 @@ "binop": null }, "value": "slice", - "start": 5350, - "end": 5355, + "start": 5557, + "end": 5562, "loc": { "start": { - "line": 275, + "line": 287, "column": 40 }, "end": { - "line": 275, + "line": 287, "column": 45 } } @@ -26407,15 +28095,15 @@ "postfix": false, "binop": null }, - "start": 5355, - "end": 5356, + "start": 5562, + "end": 5563, "loc": { "start": { - "line": 275, + "line": 287, "column": 45 }, "end": { - "line": 275, + "line": 287, "column": 46 } } @@ -26434,15 +28122,15 @@ "updateContext": null }, "value": 0, - "start": 5356, - "end": 5357, + "start": 5563, + "end": 5564, "loc": { "start": { - "line": 275, + "line": 287, "column": 46 }, "end": { - "line": 275, + "line": 287, "column": 47 } } @@ -26460,15 +28148,15 @@ "binop": null, "updateContext": null }, - "start": 5357, - "end": 5358, + "start": 5564, + "end": 5565, "loc": { "start": { - "line": 275, + "line": 287, "column": 47 }, "end": { - "line": 275, + "line": 287, "column": 48 } } @@ -26486,15 +28174,15 @@ "binop": null }, "value": "i", - "start": 5359, - "end": 5360, + "start": 5566, + "end": 5567, "loc": { "start": { - "line": 275, + "line": 287, "column": 49 }, "end": { - "line": 275, + "line": 287, "column": 50 } } @@ -26513,16 +28201,16 @@ "updateContext": null }, "value": "+", - "start": 5360, - "end": 5361, + "start": 5568, + "end": 5569, "loc": { "start": { - "line": 275, - "column": 50 + "line": 287, + "column": 51 }, "end": { - "line": 275, - "column": 51 + "line": 287, + "column": 52 } } }, @@ -26540,16 +28228,16 @@ "updateContext": null }, "value": 1, - "start": 5361, - "end": 5362, + "start": 5570, + "end": 5571, "loc": { "start": { - "line": 275, - "column": 51 + "line": 287, + "column": 53 }, "end": { - "line": 275, - "column": 52 + "line": 287, + "column": 54 } } }, @@ -26565,16 +28253,16 @@ "postfix": false, "binop": null }, - "start": 5362, - "end": 5363, + "start": 5571, + "end": 5572, "loc": { "start": { - "line": 275, - "column": 52 + "line": 287, + "column": 54 }, "end": { - "line": 275, - "column": 53 + "line": 287, + "column": 55 } } }, @@ -26591,16 +28279,16 @@ "binop": null, "updateContext": null }, - "start": 5363, - "end": 5364, + "start": 5572, + "end": 5573, "loc": { "start": { - "line": 275, - "column": 53 + "line": 287, + "column": 55 }, "end": { - "line": 275, - "column": 54 + "line": 287, + "column": 56 } } }, @@ -26617,16 +28305,16 @@ "binop": null }, "value": "reverse", - "start": 5364, - "end": 5371, + "start": 5573, + "end": 5580, "loc": { "start": { - "line": 275, - "column": 54 + "line": 287, + "column": 56 }, "end": { - "line": 275, - "column": 61 + "line": 287, + "column": 63 } } }, @@ -26642,16 +28330,16 @@ "postfix": false, "binop": null }, - "start": 5371, - "end": 5372, + "start": 5580, + "end": 5581, "loc": { "start": { - "line": 275, - "column": 61 + "line": 287, + "column": 63 }, "end": { - "line": 275, - "column": 62 + "line": 287, + "column": 64 } } }, @@ -26667,16 +28355,16 @@ "postfix": false, "binop": null }, - "start": 5372, - "end": 5373, + "start": 5581, + "end": 5582, "loc": { "start": { - "line": 275, - "column": 62 + "line": 287, + "column": 64 }, "end": { - "line": 275, - "column": 63 + "line": 287, + "column": 65 } } }, @@ -26695,15 +28383,15 @@ "updateContext": null }, "value": "break", - "start": 5382, - "end": 5387, + "start": 5591, + "end": 5596, "loc": { "start": { - "line": 276, + "line": 288, "column": 8 }, "end": { - "line": 276, + "line": 288, "column": 13 } } @@ -26720,15 +28408,15 @@ "postfix": false, "binop": null }, - "start": 5394, - "end": 5395, + "start": 5603, + "end": 5604, "loc": { "start": { - "line": 277, + "line": 289, "column": 6 }, "end": { - "line": 277, + "line": 289, "column": 7 } } @@ -26745,15 +28433,15 @@ "postfix": false, "binop": null }, - "start": 5400, - "end": 5401, + "start": 5609, + "end": 5610, "loc": { "start": { - "line": 278, + "line": 290, "column": 4 }, "end": { - "line": 278, + "line": 290, "column": 5 } } @@ -26773,15 +28461,15 @@ "updateContext": null }, "value": "for", - "start": 5407, - "end": 5410, + "start": 5616, + "end": 5619, "loc": { "start": { - "line": 280, + "line": 292, "column": 4 }, "end": { - "line": 280, + "line": 292, "column": 7 } } @@ -26798,15 +28486,15 @@ "postfix": false, "binop": null }, - "start": 5411, - "end": 5412, + "start": 5620, + "end": 5621, "loc": { "start": { - "line": 280, + "line": 292, "column": 8 }, "end": { - "line": 280, + "line": 292, "column": 9 } } @@ -26826,15 +28514,15 @@ "updateContext": null }, "value": "let", - "start": 5412, - "end": 5415, + "start": 5621, + "end": 5624, "loc": { "start": { - "line": 280, + "line": 292, "column": 9 }, "end": { - "line": 280, + "line": 292, "column": 12 } } @@ -26852,15 +28540,15 @@ "binop": null }, "value": "i", - "start": 5416, - "end": 5417, + "start": 5625, + "end": 5626, "loc": { "start": { - "line": 280, + "line": 292, "column": 13 }, "end": { - "line": 280, + "line": 292, "column": 14 } } @@ -26879,15 +28567,15 @@ "updateContext": null }, "value": "=", - "start": 5418, - "end": 5419, + "start": 5627, + "end": 5628, "loc": { "start": { - "line": 280, + "line": 292, "column": 15 }, "end": { - "line": 280, + "line": 292, "column": 16 } } @@ -26906,15 +28594,15 @@ "updateContext": null }, "value": 0, - "start": 5420, - "end": 5421, + "start": 5629, + "end": 5630, "loc": { "start": { - "line": 280, + "line": 292, "column": 17 }, "end": { - "line": 280, + "line": 292, "column": 18 } } @@ -26932,15 +28620,15 @@ "binop": null, "updateContext": null }, - "start": 5421, - "end": 5422, + "start": 5630, + "end": 5631, "loc": { "start": { - "line": 280, + "line": 292, "column": 18 }, "end": { - "line": 280, + "line": 292, "column": 19 } } @@ -26958,15 +28646,15 @@ "binop": null }, "value": "i", - "start": 5423, - "end": 5424, + "start": 5632, + "end": 5633, "loc": { "start": { - "line": 280, + "line": 292, "column": 20 }, "end": { - "line": 280, + "line": 292, "column": 21 } } @@ -26985,15 +28673,15 @@ "updateContext": null }, "value": "<", - "start": 5425, - "end": 5426, + "start": 5634, + "end": 5635, "loc": { "start": { - "line": 280, + "line": 292, "column": 22 }, "end": { - "line": 280, + "line": 292, "column": 23 } } @@ -27011,15 +28699,15 @@ "binop": null }, "value": "significant_digits", - "start": 5427, - "end": 5445, + "start": 5636, + "end": 5654, "loc": { "start": { - "line": 280, + "line": 292, "column": 24 }, "end": { - "line": 280, + "line": 292, "column": 42 } } @@ -27037,15 +28725,15 @@ "binop": null, "updateContext": null }, - "start": 5445, - "end": 5446, + "start": 5654, + "end": 5655, "loc": { "start": { - "line": 280, + "line": 292, "column": 42 }, "end": { - "line": 280, + "line": 292, "column": 43 } } @@ -27063,15 +28751,15 @@ "binop": null }, "value": "length", - "start": 5446, - "end": 5452, + "start": 5655, + "end": 5661, "loc": { "start": { - "line": 280, + "line": 292, "column": 43 }, "end": { - "line": 280, + "line": 292, "column": 49 } } @@ -27089,15 +28777,15 @@ "binop": null, "updateContext": null }, - "start": 5452, - "end": 5453, + "start": 5661, + "end": 5662, "loc": { "start": { - "line": 280, + "line": 292, "column": 49 }, "end": { - "line": 280, + "line": 292, "column": 50 } } @@ -27115,15 +28803,15 @@ "binop": null }, "value": "i", - "start": 5454, - "end": 5455, + "start": 5663, + "end": 5664, "loc": { "start": { - "line": 280, + "line": 292, "column": 51 }, "end": { - "line": 280, + "line": 292, "column": 52 } } @@ -27141,15 +28829,15 @@ "binop": null }, "value": "++", - "start": 5455, - "end": 5457, + "start": 5664, + "end": 5666, "loc": { "start": { - "line": 280, + "line": 292, "column": 52 }, "end": { - "line": 280, + "line": 292, "column": 54 } } @@ -27166,15 +28854,15 @@ "postfix": false, "binop": null }, - "start": 5457, - "end": 5458, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 280, + "line": 292, "column": 54 }, "end": { - "line": 280, + "line": 292, "column": 55 } } @@ -27191,15 +28879,15 @@ "postfix": false, "binop": null }, - "start": 5459, - "end": 5460, + "start": 5668, + "end": 5669, "loc": { "start": { - "line": 280, + "line": 292, "column": 56 }, "end": { - "line": 280, + "line": 292, "column": 57 } } @@ -27219,15 +28907,15 @@ "updateContext": null }, "value": "if", - "start": 5467, - "end": 5469, + "start": 5676, + "end": 5678, "loc": { "start": { - "line": 281, + "line": 293, "column": 6 }, "end": { - "line": 281, + "line": 293, "column": 8 } } @@ -27244,15 +28932,15 @@ "postfix": false, "binop": null }, - "start": 5470, - "end": 5471, + "start": 5679, + "end": 5680, "loc": { "start": { - "line": 281, + "line": 293, "column": 9 }, "end": { - "line": 281, + "line": 293, "column": 10 } } @@ -27270,15 +28958,15 @@ "binop": null }, "value": "significant_digits", - "start": 5471, - "end": 5489, + "start": 5680, + "end": 5698, "loc": { "start": { - "line": 281, + "line": 293, "column": 10 }, "end": { - "line": 281, + "line": 293, "column": 28 } } @@ -27296,15 +28984,15 @@ "binop": null, "updateContext": null }, - "start": 5489, - "end": 5490, + "start": 5698, + "end": 5699, "loc": { "start": { - "line": 281, + "line": 293, "column": 28 }, "end": { - "line": 281, + "line": 293, "column": 29 } } @@ -27322,15 +29010,15 @@ "binop": null }, "value": "i", - "start": 5490, - "end": 5491, + "start": 5699, + "end": 5700, "loc": { "start": { - "line": 281, + "line": 293, "column": 29 }, "end": { - "line": 281, + "line": 293, "column": 30 } } @@ -27348,15 +29036,15 @@ "binop": null, "updateContext": null }, - "start": 5491, - "end": 5492, + "start": 5700, + "end": 5701, "loc": { "start": { - "line": 281, + "line": 293, "column": 30 }, "end": { - "line": 281, + "line": 293, "column": 31 } } @@ -27375,15 +29063,15 @@ "updateContext": null }, "value": "===", - "start": 5493, - "end": 5496, + "start": 5702, + "end": 5705, "loc": { "start": { - "line": 281, + "line": 293, "column": 32 }, "end": { - "line": 281, + "line": 293, "column": 35 } } @@ -27401,15 +29089,15 @@ "binop": null }, "value": "undefined", - "start": 5497, - "end": 5506, + "start": 5706, + "end": 5715, "loc": { "start": { - "line": 281, + "line": 293, "column": 36 }, "end": { - "line": 281, + "line": 293, "column": 45 } } @@ -27426,15 +29114,15 @@ "postfix": false, "binop": null }, - "start": 5506, - "end": 5507, + "start": 5715, + "end": 5716, "loc": { "start": { - "line": 281, + "line": 293, "column": 45 }, "end": { - "line": 281, + "line": 293, "column": 46 } } @@ -27451,15 +29139,15 @@ "postfix": false, "binop": null }, - "start": 5508, - "end": 5509, + "start": 5717, + "end": 5718, "loc": { "start": { - "line": 281, + "line": 293, "column": 47 }, "end": { - "line": 281, + "line": 293, "column": 48 } } @@ -27477,15 +29165,15 @@ "binop": null }, "value": "significant_digits", - "start": 5518, - "end": 5536, + "start": 5727, + "end": 5745, "loc": { "start": { - "line": 282, + "line": 294, "column": 8 }, "end": { - "line": 282, + "line": 294, "column": 26 } } @@ -27503,15 +29191,15 @@ "binop": null, "updateContext": null }, - "start": 5536, - "end": 5537, + "start": 5745, + "end": 5746, "loc": { "start": { - "line": 282, + "line": 294, "column": 26 }, "end": { - "line": 282, + "line": 294, "column": 27 } } @@ -27529,15 +29217,15 @@ "binop": null }, "value": "i", - "start": 5537, - "end": 5538, + "start": 5746, + "end": 5747, "loc": { "start": { - "line": 282, + "line": 294, "column": 27 }, "end": { - "line": 282, + "line": 294, "column": 28 } } @@ -27555,15 +29243,15 @@ "binop": null, "updateContext": null }, - "start": 5538, - "end": 5539, + "start": 5747, + "end": 5748, "loc": { "start": { - "line": 282, + "line": 294, "column": 28 }, "end": { - "line": 282, + "line": 294, "column": 29 } } @@ -27582,15 +29270,15 @@ "updateContext": null }, "value": "=", - "start": 5540, - "end": 5541, + "start": 5749, + "end": 5750, "loc": { "start": { - "line": 282, + "line": 294, "column": 30 }, "end": { - "line": 282, + "line": 294, "column": 31 } } @@ -27609,15 +29297,15 @@ "updateContext": null }, "value": "0", - "start": 5542, - "end": 5545, + "start": 5751, + "end": 5754, "loc": { "start": { - "line": 282, + "line": 294, "column": 32 }, "end": { - "line": 282, + "line": 294, "column": 35 } } @@ -27634,15 +29322,15 @@ "postfix": false, "binop": null }, - "start": 5552, - "end": 5553, + "start": 5761, + "end": 5762, "loc": { "start": { - "line": 283, + "line": 295, "column": 6 }, "end": { - "line": 283, + "line": 295, "column": 7 } } @@ -27659,15 +29347,15 @@ "postfix": false, "binop": null }, - "start": 5558, - "end": 5559, + "start": 5767, + "end": 5768, "loc": { "start": { - "line": 284, + "line": 296, "column": 4 }, "end": { - "line": 284, + "line": 296, "column": 5 } } @@ -27687,15 +29375,15 @@ "updateContext": null }, "value": "let", - "start": 5565, - "end": 5568, + "start": 5774, + "end": 5777, "loc": { "start": { - "line": 286, + "line": 298, "column": 4 }, "end": { - "line": 286, + "line": 298, "column": 7 } } @@ -27713,15 +29401,15 @@ "binop": null }, "value": "date_length", - "start": 5569, - "end": 5580, + "start": 5778, + "end": 5789, "loc": { "start": { - "line": 286, + "line": 298, "column": 8 }, "end": { - "line": 286, + "line": 298, "column": 19 } } @@ -27740,15 +29428,15 @@ "updateContext": null }, "value": "=", - "start": 5581, - "end": 5582, + "start": 5790, + "end": 5791, "loc": { "start": { - "line": 286, + "line": 298, "column": 20 }, "end": { - "line": 286, + "line": 298, "column": 21 } } @@ -27766,15 +29454,15 @@ "binop": null }, "value": "significant_digits", - "start": 5583, - "end": 5601, + "start": 5792, + "end": 5810, "loc": { "start": { - "line": 286, + "line": 298, "column": 22 }, "end": { - "line": 286, + "line": 298, "column": 40 } } @@ -27792,15 +29480,15 @@ "binop": null, "updateContext": null }, - "start": 5601, - "end": 5602, + "start": 5810, + "end": 5811, "loc": { "start": { - "line": 286, + "line": 298, "column": 40 }, "end": { - "line": 286, + "line": 298, "column": 41 } } @@ -27818,15 +29506,15 @@ "binop": null }, "value": "length", - "start": 5602, - "end": 5608, + "start": 5811, + "end": 5817, "loc": { "start": { - "line": 286, + "line": 298, "column": 41 }, "end": { - "line": 286, + "line": 298, "column": 47 } } @@ -27846,15 +29534,15 @@ "updateContext": null }, "value": "if", - "start": 5613, - "end": 5615, + "start": 5822, + "end": 5824, "loc": { "start": { - "line": 287, + "line": 299, "column": 4 }, "end": { - "line": 287, + "line": 299, "column": 6 } } @@ -27871,15 +29559,15 @@ "postfix": false, "binop": null }, - "start": 5616, - "end": 5617, + "start": 5825, + "end": 5826, "loc": { "start": { - "line": 287, + "line": 299, "column": 7 }, "end": { - "line": 287, + "line": 299, "column": 8 } } @@ -27897,15 +29585,15 @@ "binop": null }, "value": "date_length", - "start": 5617, - "end": 5628, + "start": 5826, + "end": 5837, "loc": { "start": { - "line": 287, + "line": 299, "column": 8 }, "end": { - "line": 287, + "line": 299, "column": 19 } } @@ -27924,15 +29612,15 @@ "updateContext": null }, "value": "<", - "start": 5629, - "end": 5630, + "start": 5838, + "end": 5839, "loc": { "start": { - "line": 287, + "line": 299, "column": 20 }, "end": { - "line": 287, + "line": 299, "column": 21 } } @@ -27951,15 +29639,15 @@ "updateContext": null }, "value": 5, - "start": 5631, - "end": 5632, + "start": 5840, + "end": 5841, "loc": { "start": { - "line": 287, + "line": 299, "column": 22 }, "end": { - "line": 287, + "line": 299, "column": 23 } } @@ -27976,15 +29664,15 @@ "postfix": false, "binop": null }, - "start": 5632, - "end": 5633, + "start": 5841, + "end": 5842, "loc": { "start": { - "line": 287, + "line": 299, "column": 23 }, "end": { - "line": 287, + "line": 299, "column": 24 } } @@ -28001,15 +29689,15 @@ "postfix": false, "binop": null }, - "start": 5634, - "end": 5635, + "start": 5843, + "end": 5844, "loc": { "start": { - "line": 287, + "line": 299, "column": 25 }, "end": { - "line": 287, + "line": 299, "column": 26 } } @@ -28029,15 +29717,15 @@ "updateContext": null }, "value": "for", - "start": 5642, - "end": 5645, + "start": 5851, + "end": 5854, "loc": { "start": { - "line": 288, + "line": 300, "column": 6 }, "end": { - "line": 288, + "line": 300, "column": 9 } } @@ -28054,15 +29742,15 @@ "postfix": false, "binop": null }, - "start": 5646, - "end": 5647, + "start": 5855, + "end": 5856, "loc": { "start": { - "line": 288, + "line": 300, "column": 10 }, "end": { - "line": 288, + "line": 300, "column": 11 } } @@ -28082,15 +29770,15 @@ "updateContext": null }, "value": "let", - "start": 5647, - "end": 5650, + "start": 5856, + "end": 5859, "loc": { "start": { - "line": 288, + "line": 300, "column": 11 }, "end": { - "line": 288, + "line": 300, "column": 14 } } @@ -28108,15 +29796,15 @@ "binop": null }, "value": "i", - "start": 5651, - "end": 5652, + "start": 5860, + "end": 5861, "loc": { "start": { - "line": 288, + "line": 300, "column": 15 }, "end": { - "line": 288, + "line": 300, "column": 16 } } @@ -28135,15 +29823,15 @@ "updateContext": null }, "value": "=", - "start": 5653, - "end": 5654, + "start": 5862, + "end": 5863, "loc": { "start": { - "line": 288, + "line": 300, "column": 17 }, "end": { - "line": 288, + "line": 300, "column": 18 } } @@ -28162,15 +29850,15 @@ "updateContext": null }, "value": 0, - "start": 5655, - "end": 5656, + "start": 5864, + "end": 5865, "loc": { "start": { - "line": 288, + "line": 300, "column": 19 }, "end": { - "line": 288, + "line": 300, "column": 20 } } @@ -28188,15 +29876,15 @@ "binop": null, "updateContext": null }, - "start": 5656, - "end": 5657, + "start": 5865, + "end": 5866, "loc": { "start": { - "line": 288, + "line": 300, "column": 20 }, "end": { - "line": 288, + "line": 300, "column": 21 } } @@ -28214,15 +29902,15 @@ "binop": null }, "value": "i", - "start": 5658, - "end": 5659, + "start": 5867, + "end": 5868, "loc": { "start": { - "line": 288, + "line": 300, "column": 22 }, "end": { - "line": 288, + "line": 300, "column": 23 } } @@ -28241,15 +29929,15 @@ "updateContext": null }, "value": "<", - "start": 5660, - "end": 5661, + "start": 5869, + "end": 5870, "loc": { "start": { - "line": 288, + "line": 300, "column": 24 }, "end": { - "line": 288, + "line": 300, "column": 25 } } @@ -28268,15 +29956,15 @@ "updateContext": null }, "value": 5, - "start": 5662, - "end": 5663, + "start": 5871, + "end": 5872, "loc": { "start": { - "line": 288, + "line": 300, "column": 26 }, "end": { - "line": 288, + "line": 300, "column": 27 } } @@ -28295,15 +29983,15 @@ "updateContext": null }, "value": "-", - "start": 5664, - "end": 5665, + "start": 5873, + "end": 5874, "loc": { "start": { - "line": 288, + "line": 300, "column": 28 }, "end": { - "line": 288, + "line": 300, "column": 29 } } @@ -28321,15 +30009,15 @@ "binop": null }, "value": "date_length", - "start": 5666, - "end": 5677, + "start": 5875, + "end": 5886, "loc": { "start": { - "line": 288, + "line": 300, "column": 30 }, "end": { - "line": 288, + "line": 300, "column": 41 } } @@ -28347,15 +30035,15 @@ "binop": null, "updateContext": null }, - "start": 5677, - "end": 5678, + "start": 5886, + "end": 5887, "loc": { "start": { - "line": 288, + "line": 300, "column": 41 }, "end": { - "line": 288, + "line": 300, "column": 42 } } @@ -28373,15 +30061,15 @@ "binop": null }, "value": "i", - "start": 5679, - "end": 5680, + "start": 5888, + "end": 5889, "loc": { "start": { - "line": 288, + "line": 300, "column": 43 }, "end": { - "line": 288, + "line": 300, "column": 44 } } @@ -28399,15 +30087,15 @@ "binop": null }, "value": "++", - "start": 5680, - "end": 5682, + "start": 5889, + "end": 5891, "loc": { "start": { - "line": 288, + "line": 300, "column": 44 }, "end": { - "line": 288, + "line": 300, "column": 46 } } @@ -28424,15 +30112,15 @@ "postfix": false, "binop": null }, - "start": 5682, - "end": 5683, + "start": 5891, + "end": 5892, "loc": { "start": { - "line": 288, + "line": 300, "column": 46 }, "end": { - "line": 288, + "line": 300, "column": 47 } } @@ -28449,15 +30137,15 @@ "postfix": false, "binop": null }, - "start": 5684, - "end": 5685, + "start": 5893, + "end": 5894, "loc": { "start": { - "line": 288, + "line": 300, "column": 48 }, "end": { - "line": 288, + "line": 300, "column": 49 } } @@ -28475,15 +30163,15 @@ "binop": null }, "value": "significant_digits", - "start": 5694, - "end": 5712, + "start": 5903, + "end": 5921, "loc": { "start": { - "line": 289, + "line": 301, "column": 8 }, "end": { - "line": 289, + "line": 301, "column": 26 } } @@ -28501,15 +30189,15 @@ "binop": null, "updateContext": null }, - "start": 5712, - "end": 5713, + "start": 5921, + "end": 5922, "loc": { "start": { - "line": 289, + "line": 301, "column": 26 }, "end": { - "line": 289, + "line": 301, "column": 27 } } @@ -28527,15 +30215,15 @@ "binop": null }, "value": "push", - "start": 5713, - "end": 5717, + "start": 5922, + "end": 5926, "loc": { "start": { - "line": 289, + "line": 301, "column": 27 }, "end": { - "line": 289, + "line": 301, "column": 31 } } @@ -28552,15 +30240,15 @@ "postfix": false, "binop": null }, - "start": 5717, - "end": 5718, + "start": 5926, + "end": 5927, "loc": { "start": { - "line": 289, + "line": 301, "column": 31 }, "end": { - "line": 289, + "line": 301, "column": 32 } } @@ -28579,15 +30267,15 @@ "updateContext": null }, "value": " 0", - "start": 5718, - "end": 5722, + "start": 5927, + "end": 5931, "loc": { "start": { - "line": 289, + "line": 301, "column": 32 }, "end": { - "line": 289, + "line": 301, "column": 36 } } @@ -28604,15 +30292,15 @@ "postfix": false, "binop": null }, - "start": 5722, - "end": 5723, + "start": 5931, + "end": 5932, "loc": { "start": { - "line": 289, + "line": 301, "column": 36 }, "end": { - "line": 289, + "line": 301, "column": 37 } } @@ -28629,15 +30317,15 @@ "postfix": false, "binop": null }, - "start": 5730, - "end": 5731, + "start": 5939, + "end": 5940, "loc": { "start": { - "line": 290, + "line": 302, "column": 6 }, "end": { - "line": 290, + "line": 302, "column": 7 } } @@ -28654,15 +30342,15 @@ "postfix": false, "binop": null }, - "start": 5736, - "end": 5737, + "start": 5945, + "end": 5946, "loc": { "start": { - "line": 291, + "line": 303, "column": 4 }, "end": { - "line": 291, + "line": 303, "column": 5 } } @@ -28682,15 +30370,15 @@ "updateContext": null }, "value": "for", - "start": 5743, - "end": 5746, + "start": 5952, + "end": 5955, "loc": { "start": { - "line": 293, + "line": 305, "column": 4 }, "end": { - "line": 293, + "line": 305, "column": 7 } } @@ -28707,15 +30395,15 @@ "postfix": false, "binop": null }, - "start": 5747, - "end": 5748, + "start": 5956, + "end": 5957, "loc": { "start": { - "line": 293, + "line": 305, "column": 8 }, "end": { - "line": 293, + "line": 305, "column": 9 } } @@ -28735,15 +30423,15 @@ "updateContext": null }, "value": "let", - "start": 5748, - "end": 5751, + "start": 5957, + "end": 5960, "loc": { "start": { - "line": 293, + "line": 305, "column": 9 }, "end": { - "line": 293, + "line": 305, "column": 12 } } @@ -28761,15 +30449,15 @@ "binop": null }, "value": "i", - "start": 5752, - "end": 5753, + "start": 5961, + "end": 5962, "loc": { "start": { - "line": 293, + "line": 305, "column": 13 }, "end": { - "line": 293, + "line": 305, "column": 14 } } @@ -28788,15 +30476,15 @@ "updateContext": null }, "value": "=", - "start": 5754, - "end": 5755, + "start": 5963, + "end": 5964, "loc": { "start": { - "line": 293, + "line": 305, "column": 15 }, "end": { - "line": 293, + "line": 305, "column": 16 } } @@ -28815,15 +30503,15 @@ "updateContext": null }, "value": 0, - "start": 5756, - "end": 5757, + "start": 5965, + "end": 5966, "loc": { "start": { - "line": 293, + "line": 305, "column": 17 }, "end": { - "line": 293, + "line": 305, "column": 18 } } @@ -28841,15 +30529,15 @@ "binop": null, "updateContext": null }, - "start": 5757, - "end": 5758, + "start": 5966, + "end": 5967, "loc": { "start": { - "line": 293, + "line": 305, "column": 18 }, "end": { - "line": 293, + "line": 305, "column": 19 } } @@ -28867,15 +30555,15 @@ "binop": null }, "value": "i", - "start": 5759, - "end": 5760, + "start": 5968, + "end": 5969, "loc": { "start": { - "line": 293, + "line": 305, "column": 20 }, "end": { - "line": 293, + "line": 305, "column": 21 } } @@ -28894,15 +30582,15 @@ "updateContext": null }, "value": "<", - "start": 5761, - "end": 5762, + "start": 5970, + "end": 5971, "loc": { "start": { - "line": 293, + "line": 305, "column": 22 }, "end": { - "line": 293, + "line": 305, "column": 23 } } @@ -28920,15 +30608,15 @@ "binop": null }, "value": "significant_digits", - "start": 5763, - "end": 5781, + "start": 5972, + "end": 5990, "loc": { "start": { - "line": 293, + "line": 305, "column": 24 }, "end": { - "line": 293, + "line": 305, "column": 42 } } @@ -28946,15 +30634,15 @@ "binop": null, "updateContext": null }, - "start": 5781, - "end": 5782, + "start": 5990, + "end": 5991, "loc": { "start": { - "line": 293, + "line": 305, "column": 42 }, "end": { - "line": 293, + "line": 305, "column": 43 } } @@ -28972,15 +30660,15 @@ "binop": null }, "value": "length", - "start": 5782, - "end": 5788, + "start": 5991, + "end": 5997, "loc": { "start": { - "line": 293, + "line": 305, "column": 43 }, "end": { - "line": 293, + "line": 305, "column": 49 } } @@ -28998,15 +30686,15 @@ "binop": null, "updateContext": null }, - "start": 5788, - "end": 5789, + "start": 5997, + "end": 5998, "loc": { "start": { - "line": 293, + "line": 305, "column": 49 }, "end": { - "line": 293, + "line": 305, "column": 50 } } @@ -29024,15 +30712,15 @@ "binop": null }, "value": "i", - "start": 5790, - "end": 5791, + "start": 5999, + "end": 6000, "loc": { "start": { - "line": 293, + "line": 305, "column": 51 }, "end": { - "line": 293, + "line": 305, "column": 52 } } @@ -29050,15 +30738,15 @@ "binop": null }, "value": "++", - "start": 5791, - "end": 5793, + "start": 6000, + "end": 6002, "loc": { "start": { - "line": 293, + "line": 305, "column": 52 }, "end": { - "line": 293, + "line": 305, "column": 54 } } @@ -29075,15 +30763,15 @@ "postfix": false, "binop": null }, - "start": 5793, - "end": 5794, + "start": 6002, + "end": 6003, "loc": { "start": { - "line": 293, + "line": 305, "column": 54 }, "end": { - "line": 293, + "line": 305, "column": 55 } } @@ -29100,15 +30788,15 @@ "postfix": false, "binop": null }, - "start": 5795, - "end": 5796, + "start": 6004, + "end": 6005, "loc": { "start": { - "line": 293, + "line": 305, "column": 56 }, "end": { - "line": 293, + "line": 305, "column": 57 } } @@ -29128,15 +30816,15 @@ "updateContext": null }, "value": "let", - "start": 5803, - "end": 5806, + "start": 6012, + "end": 6015, "loc": { "start": { - "line": 294, + "line": 306, "column": 6 }, "end": { - "line": 294, + "line": 306, "column": 9 } } @@ -29154,15 +30842,15 @@ "binop": null }, "value": "part", - "start": 5807, - "end": 5811, + "start": 6016, + "end": 6020, "loc": { "start": { - "line": 294, + "line": 306, "column": 10 }, "end": { - "line": 294, + "line": 306, "column": 14 } } @@ -29181,15 +30869,15 @@ "updateContext": null }, "value": "=", - "start": 5812, - "end": 5813, + "start": 6021, + "end": 6022, "loc": { "start": { - "line": 294, + "line": 306, "column": 15 }, "end": { - "line": 294, + "line": 306, "column": 16 } } @@ -29207,15 +30895,15 @@ "binop": null }, "value": "significant_digits", - "start": 5814, - "end": 5832, + "start": 6023, + "end": 6041, "loc": { "start": { - "line": 294, + "line": 306, "column": 17 }, "end": { - "line": 294, + "line": 306, "column": 35 } } @@ -29233,15 +30921,15 @@ "binop": null, "updateContext": null }, - "start": 5832, - "end": 5833, + "start": 6041, + "end": 6042, "loc": { "start": { - "line": 294, + "line": 306, "column": 35 }, "end": { - "line": 294, + "line": 306, "column": 36 } } @@ -29259,15 +30947,15 @@ "binop": null }, "value": "i", - "start": 5833, - "end": 5834, + "start": 6042, + "end": 6043, "loc": { "start": { - "line": 294, + "line": 306, "column": 36 }, "end": { - "line": 294, + "line": 306, "column": 37 } } @@ -29285,15 +30973,15 @@ "binop": null, "updateContext": null }, - "start": 5834, - "end": 5835, + "start": 6043, + "end": 6044, "loc": { "start": { - "line": 294, + "line": 306, "column": 37 }, "end": { - "line": 294, + "line": 306, "column": 38 } } @@ -29311,15 +30999,15 @@ "binop": null, "updateContext": null }, - "start": 5835, - "end": 5836, + "start": 6044, + "end": 6045, "loc": { "start": { - "line": 294, + "line": 306, "column": 38 }, "end": { - "line": 294, + "line": 306, "column": 39 } } @@ -29337,15 +31025,15 @@ "binop": null }, "value": "toString", - "start": 5836, - "end": 5844, + "start": 6045, + "end": 6053, "loc": { "start": { - "line": 294, + "line": 306, "column": 39 }, "end": { - "line": 294, + "line": 306, "column": 47 } } @@ -29362,15 +31050,15 @@ "postfix": false, "binop": null }, - "start": 5844, - "end": 5845, + "start": 6053, + "end": 6054, "loc": { "start": { - "line": 294, + "line": 306, "column": 47 }, "end": { - "line": 294, + "line": 306, "column": 48 } } @@ -29387,15 +31075,15 @@ "postfix": false, "binop": null }, - "start": 5845, - "end": 5846, + "start": 6054, + "end": 6055, "loc": { "start": { - "line": 294, + "line": 306, "column": 48 }, "end": { - "line": 294, + "line": 306, "column": 49 } } @@ -29415,15 +31103,15 @@ "updateContext": null }, "value": "if", - "start": 5853, - "end": 5855, + "start": 6062, + "end": 6064, "loc": { "start": { - "line": 295, + "line": 307, "column": 6 }, "end": { - "line": 295, + "line": 307, "column": 8 } } @@ -29440,15 +31128,15 @@ "postfix": false, "binop": null }, - "start": 5856, - "end": 5857, + "start": 6065, + "end": 6066, "loc": { "start": { - "line": 295, + "line": 307, "column": 9 }, "end": { - "line": 295, + "line": 307, "column": 10 } } @@ -29466,15 +31154,15 @@ "binop": null }, "value": "part", - "start": 5857, - "end": 5861, + "start": 6066, + "end": 6070, "loc": { "start": { - "line": 295, + "line": 307, "column": 10 }, "end": { - "line": 295, + "line": 307, "column": 14 } } @@ -29492,15 +31180,15 @@ "binop": null, "updateContext": null }, - "start": 5861, - "end": 5862, + "start": 6070, + "end": 6071, "loc": { "start": { - "line": 295, + "line": 307, "column": 14 }, "end": { - "line": 295, + "line": 307, "column": 15 } } @@ -29518,15 +31206,15 @@ "binop": null }, "value": "length", - "start": 5862, - "end": 5868, + "start": 6071, + "end": 6077, "loc": { "start": { - "line": 295, + "line": 307, "column": 15 }, "end": { - "line": 295, + "line": 307, "column": 21 } } @@ -29545,15 +31233,15 @@ "updateContext": null }, "value": "<", - "start": 5869, - "end": 5870, + "start": 6078, + "end": 6079, "loc": { "start": { - "line": 295, + "line": 307, "column": 22 }, "end": { - "line": 295, + "line": 307, "column": 23 } } @@ -29572,15 +31260,15 @@ "updateContext": null }, "value": 2, - "start": 5871, - "end": 5872, + "start": 6080, + "end": 6081, "loc": { "start": { - "line": 295, + "line": 307, "column": 24 }, "end": { - "line": 295, + "line": 307, "column": 25 } } @@ -29597,15 +31285,15 @@ "postfix": false, "binop": null }, - "start": 5872, - "end": 5873, + "start": 6081, + "end": 6082, "loc": { "start": { - "line": 295, + "line": 307, "column": 25 }, "end": { - "line": 295, + "line": 307, "column": 26 } } @@ -29622,15 +31310,15 @@ "postfix": false, "binop": null }, - "start": 5874, - "end": 5875, + "start": 6083, + "end": 6084, "loc": { "start": { - "line": 295, + "line": 307, "column": 27 }, "end": { - "line": 295, + "line": 307, "column": 28 } } @@ -29648,15 +31336,15 @@ "binop": null }, "value": "significant_digits", - "start": 5884, - "end": 5902, + "start": 6093, + "end": 6111, "loc": { "start": { - "line": 296, + "line": 308, "column": 8 }, "end": { - "line": 296, + "line": 308, "column": 26 } } @@ -29674,15 +31362,15 @@ "binop": null, "updateContext": null }, - "start": 5902, - "end": 5903, + "start": 6111, + "end": 6112, "loc": { "start": { - "line": 296, + "line": 308, "column": 26 }, "end": { - "line": 296, + "line": 308, "column": 27 } } @@ -29700,15 +31388,15 @@ "binop": null }, "value": "i", - "start": 5903, - "end": 5904, + "start": 6112, + "end": 6113, "loc": { "start": { - "line": 296, + "line": 308, "column": 27 }, "end": { - "line": 296, + "line": 308, "column": 28 } } @@ -29726,15 +31414,15 @@ "binop": null, "updateContext": null }, - "start": 5904, - "end": 5905, + "start": 6113, + "end": 6114, "loc": { "start": { - "line": 296, + "line": 308, "column": 28 }, "end": { - "line": 296, + "line": 308, "column": 29 } } @@ -29753,15 +31441,15 @@ "updateContext": null }, "value": "=", - "start": 5906, - "end": 5907, + "start": 6115, + "end": 6116, "loc": { "start": { - "line": 296, + "line": 308, "column": 30 }, "end": { - "line": 296, + "line": 308, "column": 31 } } @@ -29780,15 +31468,15 @@ "updateContext": null }, "value": " ", - "start": 5908, - "end": 5911, + "start": 6117, + "end": 6120, "loc": { "start": { - "line": 296, + "line": 308, "column": 32 }, "end": { - "line": 296, + "line": 308, "column": 35 } } @@ -29807,15 +31495,15 @@ "updateContext": null }, "value": "+", - "start": 5912, - "end": 5913, + "start": 6121, + "end": 6122, "loc": { "start": { - "line": 296, + "line": 308, "column": 36 }, "end": { - "line": 296, + "line": 308, "column": 37 } } @@ -29833,15 +31521,15 @@ "binop": null }, "value": "part", - "start": 5914, - "end": 5918, + "start": 6123, + "end": 6127, "loc": { "start": { - "line": 296, + "line": 308, "column": 38 }, "end": { - "line": 296, + "line": 308, "column": 42 } } @@ -29858,15 +31546,15 @@ "postfix": false, "binop": null }, - "start": 5925, - "end": 5926, + "start": 6134, + "end": 6135, "loc": { "start": { - "line": 297, + "line": 309, "column": 6 }, "end": { - "line": 297, + "line": 309, "column": 7 } } @@ -29883,15 +31571,15 @@ "postfix": false, "binop": null }, - "start": 5931, - "end": 5932, + "start": 6140, + "end": 6141, "loc": { "start": { - "line": 298, + "line": 310, "column": 4 }, "end": { - "line": 298, + "line": 310, "column": 5 } } @@ -29911,15 +31599,15 @@ "updateContext": null }, "value": "return", - "start": 5937, - "end": 5943, + "start": 6146, + "end": 6152, "loc": { "start": { - "line": 299, + "line": 311, "column": 4 }, "end": { - "line": 299, + "line": 311, "column": 10 } } @@ -29937,15 +31625,15 @@ "binop": null }, "value": "significant_digits", - "start": 5944, - "end": 5962, + "start": 6153, + "end": 6171, "loc": { "start": { - "line": 299, + "line": 311, "column": 11 }, "end": { - "line": 299, + "line": 311, "column": 29 } } @@ -29963,15 +31651,15 @@ "binop": null, "updateContext": null }, - "start": 5962, - "end": 5963, + "start": 6171, + "end": 6172, "loc": { "start": { - "line": 299, + "line": 311, "column": 29 }, "end": { - "line": 299, + "line": 311, "column": 30 } } @@ -29989,15 +31677,15 @@ "binop": null }, "value": "join", - "start": 5963, - "end": 5967, + "start": 6172, + "end": 6176, "loc": { "start": { - "line": 299, + "line": 311, "column": 30 }, "end": { - "line": 299, + "line": 311, "column": 34 } } @@ -30014,15 +31702,15 @@ "postfix": false, "binop": null }, - "start": 5967, - "end": 5968, + "start": 6176, + "end": 6177, "loc": { "start": { - "line": 299, + "line": 311, "column": 34 }, "end": { - "line": 299, + "line": 311, "column": 35 } } @@ -30041,15 +31729,15 @@ "updateContext": null }, "value": ".", - "start": 5968, - "end": 5971, + "start": 6177, + "end": 6180, "loc": { "start": { - "line": 299, + "line": 311, "column": 35 }, "end": { - "line": 299, + "line": 311, "column": 38 } } @@ -30066,15 +31754,15 @@ "postfix": false, "binop": null }, - "start": 5971, - "end": 5972, + "start": 6180, + "end": 6181, "loc": { "start": { - "line": 299, + "line": 311, "column": 38 }, "end": { - "line": 299, + "line": 311, "column": 39 } } @@ -30091,15 +31779,15 @@ "postfix": false, "binop": null }, - "start": 5975, - "end": 5976, + "start": 6184, + "end": 6185, "loc": { "start": { - "line": 300, + "line": 312, "column": 2 }, "end": { - "line": 300, + "line": 312, "column": 3 } } @@ -30116,15 +31804,15 @@ "postfix": false, "binop": null }, - "start": 5977, - "end": 5978, + "start": 6186, + "end": 6187, "loc": { "start": { - "line": 301, + "line": 313, "column": 0 }, "end": { - "line": 301, + "line": 313, "column": 1 } } @@ -30142,15 +31830,15 @@ "binop": null }, "value": "module", - "start": 5980, - "end": 5986, + "start": 6189, + "end": 6195, "loc": { "start": { - "line": 303, + "line": 315, "column": 0 }, "end": { - "line": 303, + "line": 315, "column": 6 } } @@ -30168,15 +31856,15 @@ "binop": null, "updateContext": null }, - "start": 5986, - "end": 5987, + "start": 6195, + "end": 6196, "loc": { "start": { - "line": 303, + "line": 315, "column": 6 }, "end": { - "line": 303, + "line": 315, "column": 7 } } @@ -30194,15 +31882,15 @@ "binop": null }, "value": "exports", - "start": 5987, - "end": 5994, + "start": 6196, + "end": 6203, "loc": { "start": { - "line": 303, + "line": 315, "column": 7 }, "end": { - "line": 303, + "line": 315, "column": 14 } } @@ -30221,15 +31909,15 @@ "updateContext": null }, "value": "=", - "start": 5995, - "end": 5996, + "start": 6204, + "end": 6205, "loc": { "start": { - "line": 303, + "line": 315, "column": 15 }, "end": { - "line": 303, + "line": 315, "column": 16 } } @@ -30247,15 +31935,15 @@ "binop": null }, "value": "LongCount", - "start": 5997, - "end": 6006, + "start": 6206, + "end": 6215, "loc": { "start": { - "line": 303, + "line": 315, "column": 17 }, "end": { - "line": 303, + "line": 315, "column": 26 } } @@ -30273,15 +31961,15 @@ "binop": null, "updateContext": null }, - "start": 6007, - "end": 6007, + "start": 6216, + "end": 6216, "loc": { "start": { - "line": 304, + "line": 316, "column": 0 }, "end": { - "line": 304, + "line": 316, "column": 0 } } diff --git a/docs/ast/source/lc/night/lord-of-night.js.json b/docs/ast/source/lc/night/lord-of-night.js.json new file mode 100644 index 0000000..187e135 --- /dev/null +++ b/docs/ast/source/lc/night/lord-of-night.js.json @@ -0,0 +1,4905 @@ +{ + "type": "File", + "start": 0, + "end": 1013, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 52, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1013, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 52, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ClassDeclaration", + "start": 319, + "end": 632, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 325, + "end": 336, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 17 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 337, + "end": 632, + "loc": { + "start": { + "line": 10, + "column": 18 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 377, + "end": 493, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 20, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 377, + "end": 388, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 390, + "end": 392, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 17 + }, + "identifierName": "id" + }, + "name": "id" + } + ], + "body": { + "type": "BlockStatement", + "start": 394, + "end": 493, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 20, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 477, + "end": 489, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 16 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 477, + "end": 489, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 16 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 477, + "end": 484, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 477, + "end": 481, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 482, + "end": 484, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 11 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 487, + "end": 489, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 16 + }, + "identifierName": "id" + }, + "name": "id" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", + "start": 400, + "end": 472, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {number} id\n ", + "start": 341, + "end": 374, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 13, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", + "start": 497, + "end": 585, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 25, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 588, + "end": 630, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 28, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 588, + "end": 596, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 10 + }, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 600, + "end": 630, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 28, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 606, + "end": 626, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 24 + } + }, + "argument": { + "type": "TemplateLiteral", + "start": 613, + "end": 626, + "loc": { + "start": { + "line": 27, + "column": 11 + }, + "end": { + "line": 27, + "column": 24 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 617, + "end": 624, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 617, + "end": 621, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 622, + "end": 624, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 22 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 27, + "column": 12 + }, + "end": { + "line": 27, + "column": 13 + } + }, + "value": { + "raw": "G", + "cooked": "G" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 625, + "end": 625, + "loc": { + "start": { + "line": 27, + "column": 23 + }, + "end": { + "line": 27, + "column": 23 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", + "start": 497, + "end": 585, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 25, + "column": 5 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n ", + "start": 0, + "end": 318, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "start": 634, + "end": 722, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 723, + "end": 781, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 38, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 732, + "end": 735, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 12 + }, + "identifierName": "get" + }, + "name": "get", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 737, + "end": 739, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 16 + }, + "identifierName": "id" + }, + "name": "id" + } + ], + "body": { + "type": "BlockStatement", + "start": 741, + "end": 781, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 38, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 745, + "end": 779, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 36 + } + }, + "argument": { + "type": "MemberExpression", + "start": 752, + "end": 779, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 752, + "end": 770, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 27 + }, + "identifierName": "lords_of_the_night" + }, + "name": "lords_of_the_night" + }, + "property": { + "type": "TemplateLiteral", + "start": 771, + "end": 778, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 35 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 774, + "end": 776, + "loc": { + "start": { + "line": 37, + "column": 31 + }, + "end": { + "line": 37, + "column": 33 + }, + "identifierName": "id" + }, + "name": "id" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 772, + "end": 772, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 29 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 777, + "end": 777, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 34 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "computed": true + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "start": 634, + "end": 722, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 783, + "end": 797, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 14 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 798, + "end": 975, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 49, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 804, + "end": 975, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 49, + "column": 2 + } + }, + "id": { + "type": "Identifier", + "start": 804, + "end": 822, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 24 + }, + "identifierName": "lords_of_the_night" + }, + "name": "lords_of_the_night", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 825, + "end": 975, + "loc": { + "start": { + "line": 41, + "column": 27 + }, + "end": { + "line": 49, + "column": 2 + } + }, + "callee": { + "type": "MemberExpression", + "start": 825, + "end": 864, + "loc": { + "start": { + "line": 41, + "column": 27 + }, + "end": { + "line": 43, + "column": 8 + } + }, + "object": { + "type": "ArrayExpression", + "start": 825, + "end": 857, + "loc": { + "start": { + "line": 41, + "column": 27 + }, + "end": { + "line": 43, + "column": 1 + } + }, + "elements": [ + { + "type": "NumericLiteral", + "start": 829, + "end": 830, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + { + "type": "NumericLiteral", + "start": 832, + "end": 833, + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 6 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + { + "type": "NumericLiteral", + "start": 835, + "end": 836, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 9 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + }, + { + "type": "NumericLiteral", + "start": 838, + "end": 839, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 12 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + }, + { + "type": "NumericLiteral", + "start": 841, + "end": 842, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 15 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + { + "type": "NumericLiteral", + "start": 844, + "end": 845, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 18 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + }, + { + "type": "NumericLiteral", + "start": 847, + "end": 848, + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 21 + } + }, + "extra": { + "rawValue": 7, + "raw": "7" + }, + "value": 7 + }, + { + "type": "NumericLiteral", + "start": 850, + "end": 851, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 24 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 + }, + { + "type": "NumericLiteral", + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 27 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + } + ] + }, + "property": { + "type": "Identifier", + "start": 858, + "end": 864, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 8 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 865, + "end": 955, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 47, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 875, + "end": 878, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 22 + }, + "identifierName": "obj" + }, + "name": "obj" + }, + { + "type": "Identifier", + "start": 880, + "end": 881, + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 25 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 883, + "end": 955, + "loc": { + "start": { + "line": 43, + "column": 27 + }, + "end": { + "line": 47, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 887, + "end": 916, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 31 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 891, + "end": 916, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 891, + "end": 895, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 10 + }, + "identifierName": "lord" + }, + "name": "lord" + }, + "init": { + "type": "NewExpression", + "start": 898, + "end": 916, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 902, + "end": 913, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 28 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "Identifier", + "start": 914, + "end": 915, + "loc": { + "start": { + "line": 44, + "column": 29 + }, + "end": { + "line": 44, + "column": 30 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 919, + "end": 940, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 919, + "end": 940, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 919, + "end": 933, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 919, + "end": 922, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + }, + "identifierName": "obj" + }, + "name": "obj" + }, + "property": { + "type": "TemplateLiteral", + "start": 923, + "end": 932, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 15 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 926, + "end": 930, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 13 + }, + "identifierName": "lord" + }, + "name": "lord" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 924, + "end": 924, + "loc": { + "start": { + "line": 45, + "column": 7 + }, + "end": { + "line": 45, + "column": 7 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 931, + "end": 931, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 14 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 936, + "end": 940, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 23 + }, + "identifierName": "lord" + }, + "name": "lord" + } + } + }, + { + "type": "ReturnStatement", + "start": 943, + "end": 953, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 12 + } + }, + "argument": { + "type": "Identifier", + "start": 950, + "end": 953, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 12 + }, + "identifierName": "obj" + }, + "name": "obj" + } + } + ], + "directives": [] + } + }, + { + "type": "ObjectExpression", + "start": 957, + "end": 974, + "loc": { + "start": { + "line": 47, + "column": 3 + }, + "end": { + "line": 49, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 961, + "end": 971, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 12 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 961, + "end": 966, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 7 + } + }, + "extra": { + "rawValue": "get", + "raw": "'get'" + }, + "value": "get" + }, + "value": { + "type": "Identifier", + "start": 968, + "end": 971, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 12 + }, + "identifierName": "get" + }, + "name": "get" + } + } + ] + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 783, + "end": 797, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 14 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 977, + "end": 1012, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 977, + "end": 1012, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 35 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 977, + "end": 991, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 977, + "end": 983, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 6 + }, + "identifierName": "module" + }, + "name": "module" + }, + "property": { + "type": "Identifier", + "start": 984, + "end": 991, + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 14 + }, + "identifierName": "exports" + }, + "name": "exports" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 994, + "end": 1012, + "loc": { + "start": { + "line": 51, + "column": 17 + }, + "end": { + "line": 51, + "column": 35 + }, + "identifierName": "lords_of_the_night" + }, + "name": "lords_of_the_night" + } + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n ", + "start": 0, + "end": 318, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} id\n ", + "start": 341, + "end": 374, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 13, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", + "start": 400, + "end": 472, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", + "start": 497, + "end": 585, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "start": 634, + "end": 722, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 783, + "end": 797, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 14 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n ", + "start": 0, + "end": 318, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "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": 319, + "end": 324, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LordOfNight", + "start": 325, + "end": 336, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 337, + "end": 338, + "loc": { + "start": { + "line": 10, + "column": 18 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} id\n ", + "start": 341, + "end": 374, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 13, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 377, + "end": 388, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 389, + "end": 390, + "loc": { + "start": { + "line": 14, + "column": 14 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 390, + "end": 392, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 392, + "end": 393, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 394, + "end": 395, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", + "start": 400, + "end": 472, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 477, + "end": 481, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 481, + "end": 482, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 482, + "end": 484, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 487, + "end": 489, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 492, + "end": 493, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", + "start": 497, + "end": 585, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 588, + "end": 596, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 597, + "end": 598, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 15 + } + } + }, + { + "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": 606, + "end": 612, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 10 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 613, + "end": 614, + "loc": { + "start": { + "line": 27, + "column": 11 + }, + "end": { + "line": 27, + "column": 12 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "G", + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 27, + "column": 12 + }, + "end": { + "line": 27, + "column": 13 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 615, + "end": 617, + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 617, + "end": 621, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 27, + "column": 19 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 622, + "end": 624, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 624, + "end": 625, + "loc": { + "start": { + "line": 27, + "column": 22 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 625, + "end": 625, + "loc": { + "start": { + "line": 27, + "column": 23 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 27, + "column": 23 + }, + "end": { + "line": 27, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n ", + "start": 634, + "end": 722, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 723, + "end": 731, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 732, + "end": 735, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 736, + "end": 737, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 737, + "end": 739, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 739, + "end": 740, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 741, + "end": 742, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 19 + } + } + }, + { + "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": 745, + "end": 751, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lords_of_the_night", + "start": 752, + "end": 770, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 770, + "end": 771, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 771, + "end": 772, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 772, + "end": 772, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 772, + "end": 774, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 774, + "end": 776, + "loc": { + "start": { + "line": 37, + "column": 31 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 776, + "end": 777, + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 777, + "end": 777, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 777, + "end": 778, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 778, + "end": 779, + "loc": { + "start": { + "line": 37, + "column": 35 + }, + "end": { + "line": 37, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 780, + "end": 781, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 783, + "end": 797, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 14 + } + } + }, + { + "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": 798, + "end": 803, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lords_of_the_night", + "start": 804, + "end": 822, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 823, + "end": 824, + "loc": { + "start": { + "line": 41, + "column": 25 + }, + "end": { + "line": 41, + "column": 26 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 825, + "end": 826, + "loc": { + "start": { + "line": 41, + "column": 27 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 829, + "end": 830, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 830, + "end": 831, + "loc": { + "start": { + "line": 42, + "column": 3 + }, + "end": { + "line": 42, + "column": 4 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 832, + "end": 833, + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 6 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 833, + "end": 834, + "loc": { + "start": { + "line": 42, + "column": 6 + }, + "end": { + "line": 42, + "column": 7 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 3, + "start": 835, + "end": 836, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 836, + "end": 837, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 10 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4, + "start": 838, + "end": 839, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 839, + "end": 840, + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 5, + "start": 841, + "end": 842, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 842, + "end": 843, + "loc": { + "start": { + "line": 42, + "column": 15 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 6, + "start": 844, + "end": 845, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 845, + "end": 846, + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 7, + "start": 847, + "end": 848, + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 848, + "end": 849, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 8, + "start": 850, + "end": 851, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 42, + "column": 24 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 9, + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 854, + "end": 855, + "loc": { + "start": { + "line": 42, + "column": 27 + }, + "end": { + "line": 42, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 856, + "end": 857, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 1 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 43, + "column": 1 + }, + "end": { + "line": 43, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reduce", + "start": 858, + "end": 864, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 864, + "end": 865, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 865, + "end": 873, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 874, + "end": 875, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "obj", + "start": 875, + "end": 878, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 878, + "end": 879, + "loc": { + "start": { + "line": 43, + "column": 22 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 880, + "end": 881, + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 881, + "end": 882, + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 883, + "end": 884, + "loc": { + "start": { + "line": 43, + "column": 27 + }, + "end": { + "line": 43, + "column": 28 + } + } + }, + { + "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": 887, + "end": 890, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lord", + "start": 891, + "end": 895, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 896, + "end": 897, + "loc": { + "start": { + "line": 44, + "column": 11 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + { + "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": 898, + "end": 901, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LordOfNight", + "start": 902, + "end": 913, + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 44, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 914, + "end": 915, + "loc": { + "start": { + "line": 44, + "column": 29 + }, + "end": { + "line": 44, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 915, + "end": 916, + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "obj", + "start": 919, + "end": 922, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 922, + "end": 923, + "loc": { + "start": { + "line": 45, + "column": 5 + }, + "end": { + "line": 45, + "column": 6 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 923, + "end": 924, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 7 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 924, + "end": 924, + "loc": { + "start": { + "line": 45, + "column": 7 + }, + "end": { + "line": 45, + "column": 7 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 924, + "end": 926, + "loc": { + "start": { + "line": 45, + "column": 7 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lord", + "start": 926, + "end": 930, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 930, + "end": 931, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 14 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 931, + "end": 931, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 14 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 931, + "end": 932, + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 932, + "end": 933, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 934, + "end": 935, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lord", + "start": 936, + "end": 940, + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 23 + } + } + }, + { + "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": 943, + "end": 949, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "obj", + "start": 950, + "end": 953, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 954, + "end": 955, + "loc": { + "start": { + "line": 47, + "column": 0 + }, + "end": { + "line": 47, + "column": 1 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 955, + "end": 956, + "loc": { + "start": { + "line": 47, + "column": 1 + }, + "end": { + "line": 47, + "column": 2 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 957, + "end": 958, + "loc": { + "start": { + "line": 47, + "column": 3 + }, + "end": { + "line": 47, + "column": 4 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "get", + "start": 961, + "end": 966, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 966, + "end": 967, + "loc": { + "start": { + "line": 48, + "column": 7 + }, + "end": { + "line": 48, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 968, + "end": 971, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 971, + "end": 972, + "loc": { + "start": { + "line": 48, + "column": 12 + }, + "end": { + "line": 48, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 973, + "end": 974, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 49, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 974, + "end": 975, + "loc": { + "start": { + "line": 49, + "column": 1 + }, + "end": { + "line": 49, + "column": 2 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "module", + "start": 977, + "end": 983, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 51, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 983, + "end": 984, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "exports", + "start": 984, + "end": 991, + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 51, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 992, + "end": 993, + "loc": { + "start": { + "line": 51, + "column": 15 + }, + "end": { + "line": 51, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "lords_of_the_night", + "start": 994, + "end": 1012, + "loc": { + "start": { + "line": 51, + "column": 17 + }, + "end": { + "line": 51, + "column": 35 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1013, + "end": 1013, + "loc": { + "start": { + "line": 52, + "column": 0 + }, + "end": { + "line": 52, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/class/src/cr/calendar-round.js~CalendarRound.html b/docs/class/src/cr/calendar-round.js~CalendarRound.html index c880052..04398f6 100644 --- a/docs/class/src/cr/calendar-round.js~CalendarRound.html +++ b/docs/class/src/cr/calendar-round.js~CalendarRound.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/cr/haab.js~Haab.html b/docs/class/src/cr/haab.js~Haab.html index 281cdaa..011f185 100644 --- a/docs/class/src/cr/haab.js~Haab.html +++ b/docs/class/src/cr/haab.js~Haab.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/cr/haab.js~HaabMonth.html b/docs/class/src/cr/haab.js~HaabMonth.html index f8e769b..896e61d 100644 --- a/docs/class/src/cr/haab.js~HaabMonth.html +++ b/docs/class/src/cr/haab.js~HaabMonth.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/cr/tzolkin.js~Tzolkin.html b/docs/class/src/cr/tzolkin.js~Tzolkin.html index bc367d2..1823b73 100644 --- a/docs/class/src/cr/tzolkin.js~Tzolkin.html +++ b/docs/class/src/cr/tzolkin.js~Tzolkin.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/cr/tzolkin.js~TzolkinDay.html b/docs/class/src/cr/tzolkin.js~TzolkinDay.html index 6a06892..a223dc8 100644 --- a/docs/class/src/cr/tzolkin.js~TzolkinDay.html +++ b/docs/class/src/cr/tzolkin.js~TzolkinDay.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/factory/base.js~Factory.html b/docs/class/src/factory/base.js~Factory.html index dd24076..532234b 100644 --- a/docs/class/src/factory/base.js~Factory.html +++ b/docs/class/src/factory/base.js~Factory.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html b/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html index 80cbde5..9df4a24 100644 --- a/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html +++ b/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/factory/full-date.js~FullDateFactory.html b/docs/class/src/factory/full-date.js~FullDateFactory.html index 290891e..545247c 100644 --- a/docs/class/src/factory/full-date.js~FullDateFactory.html +++ b/docs/class/src/factory/full-date.js~FullDateFactory.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/factory/long-count.js~LongCountFactory.html b/docs/class/src/factory/long-count.js~LongCountFactory.html index 04293d5..259ff81 100644 --- a/docs/class/src/factory/long-count.js~LongCountFactory.html +++ b/docs/class/src/factory/long-count.js~LongCountFactory.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/full-date.js~FullDate.html b/docs/class/src/full-date.js~FullDate.html index 92bf8c0..3ba8eab 100644 --- a/docs/class/src/full-date.js~FullDate.html +++ b/docs/class/src/full-date.js~FullDate.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/lc/long-count.js~LongCount.html b/docs/class/src/lc/long-count.js~LongCount.html index 38ba36e..c47233c 100644 --- a/docs/class/src/lc/long-count.js~LongCount.html +++ b/docs/class/src/lc/long-count.js~LongCount.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • @@ -55,7 +57,7 @@ - | source + | source
    @@ -475,6 +477,34 @@

    LongCount

    + + + + + public + + get + + + + +
    +

    + + + + lord_of_night: any: * +

    +
    +
    + + + +
    + + + + @@ -1004,7 +1034,7 @@

    - source + source

    @@ -1067,7 +1097,7 @@

    - source + source

    @@ -1123,7 +1153,7 @@

    - source + source

    @@ -1179,7 +1209,7 @@

    - source + source

    @@ -1223,7 +1253,7 @@

    - source + source

    @@ -1279,7 +1309,7 @@

    - source + source

    @@ -1335,7 +1365,7 @@

    - source + source

    @@ -1391,7 +1421,7 @@

    - source + source

    @@ -1447,7 +1477,7 @@

    - source + source

    @@ -1503,7 +1533,7 @@

    - source + source

    @@ -1559,7 +1589,7 @@

    - source + source

    @@ -1615,7 +1645,7 @@

    - source + source

    @@ -1671,7 +1701,7 @@

    - source + source

    @@ -1714,6 +1744,61 @@

    Return:

    +
    +
    +

    + public + + get + + + + lord_of_night: any: * + + + + source + +

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

    Return:

    + + + + + + + +
    any
    +
    +
    +
    + + + + + + + + + + + + + + +

    @@ -1727,7 +1812,7 @@

    - source + source

    @@ -1771,7 +1856,7 @@

    - source + source

    @@ -1827,7 +1912,7 @@

    - source + source

    @@ -1883,7 +1968,7 @@

    - source + source

    @@ -1927,7 +2012,7 @@

    - source + source

    @@ -1983,7 +2068,7 @@

    - source + source

    @@ -2039,7 +2124,7 @@

    - source + source

    @@ -2095,7 +2180,7 @@

    - source + source

    @@ -2154,7 +2239,7 @@

    - source + source

    @@ -2209,7 +2294,7 @@

    - source + source

    @@ -2264,7 +2349,7 @@

    - source + source

    @@ -2320,7 +2405,7 @@

    - source + source

    @@ -2376,7 +2461,7 @@

    - source + source

    @@ -2433,7 +2518,7 @@

    - source + source

    @@ -2489,7 +2574,7 @@

    - source + source

    @@ -2547,7 +2632,7 @@

    - source + source

    @@ -2619,7 +2704,7 @@

    - source + source

    diff --git a/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html b/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html new file mode 100644 index 0000000..a1dfe53 --- /dev/null +++ b/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html @@ -0,0 +1,400 @@ + + + + + + LordOfNight | @drewsonne/maya-dates + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +
    +
    + public + class + + + + | source +
    + +
    +

    LordOfNight

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

    Describes one of the 9 Lords of the night. +This class is accessible through its instantiated values, or the get() +method.

    +
    + + + + +
    +

    Example:

    + +
    + +
     let lord_of_night_g8_1 = mayadates.lc.night.get('G8')
    + let lord_of_night_g8_2 = mayadates.lc.night.G8
    + console.log(lord_of_night_g8_1 === lord_of_night_g8_2)
    +
    +
    + + + + +
    + + + +

    Constructor Summary

    + + + + + + + + + +
    Public Constructor
    + public + + + + + +
    +

    + + + + constructor(id: number) +

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

    Member Summary

    + + + + + + + + + +
    Public Members
    + public + + + + + +
    +

    + + + + id: number +

    +
    +
    + + +

    Number of the Lord of the Night

    +
    +
    +
    + + +
    +
    +

    Method Summary

    + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + + toString(): string +

    +
    +
    + + +

    Represent the Lord of the night as a string G1..G9.

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

    Public Constructors

    + +
    +

    + public + + + + + + constructor(id: number) + + + + source + +

    + + + + + + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    idnumber
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Members

    + +
    +

    + public + + + + + + id: number + + + + source + +

    + + + + +

    Number of the Lord of the Night

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

    Public Methods

    + +
    +

    + public + + + + + + toString(): string + + + + source + +

    + + + + +

    Represent the Lord of the night as a string G1..G9.

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    string
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html b/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html index 5c88f41..8cf324f 100644 --- a/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html +++ b/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html b/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html index c876f81..3850ddb 100644 --- a/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html +++ b/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html b/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html index b90c55d..415861c 100644 --- a/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html +++ b/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/class/src/wildcard.js~Wildcard.html b/docs/class/src/wildcard.js~Wildcard.html index 7c38ead..c86ab29 100644 --- a/docs/class/src/wildcard.js~Wildcard.html +++ b/docs/class/src/wildcard.js~Wildcard.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/coverage.json b/docs/coverage.json index 11f7ee7..8c3df9c 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { "coverage": "100%", - "expectCount": 147, - "actualCount": 147, + "expectCount": 155, + "actualCount": 155, "files": { "src/cr/calendar-round.js": { "expectCount": 15, @@ -49,8 +49,13 @@ "undocumentLines": [] }, "src/lc/long-count.js": { - "expectCount": 34, - "actualCount": 34, + "expectCount": 36, + "actualCount": 36, + "undocumentLines": [] + }, + "src/lc/night/lord-of-night.js": { + "expectCount": 6, + "actualCount": 6, "undocumentLines": [] }, "src/operations/calendar-round-wildcard.js": { diff --git a/docs/file/src/cr/calendar-round.js.html b/docs/file/src/cr/calendar-round.js.html index 80ebb3d..47aaac7 100644 --- a/docs/file/src/cr/calendar-round.js.html +++ b/docs/file/src/cr/calendar-round.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/cr/haab.js.html b/docs/file/src/cr/haab.js.html index 2b1ab31..9aae740 100644 --- a/docs/file/src/cr/haab.js.html +++ b/docs/file/src/cr/haab.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/cr/index.js.html b/docs/file/src/cr/index.js.html index ecd79ed..37d8253 100644 --- a/docs/file/src/cr/index.js.html +++ b/docs/file/src/cr/index.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/cr/tzolkin.js.html b/docs/file/src/cr/tzolkin.js.html index b29078f..07ec4b0 100644 --- a/docs/file/src/cr/tzolkin.js.html +++ b/docs/file/src/cr/tzolkin.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/factory/base.js.html b/docs/file/src/factory/base.js.html index 65b1d04..4711dc9 100644 --- a/docs/file/src/factory/base.js.html +++ b/docs/file/src/factory/base.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/factory/calendar-round.js.html b/docs/file/src/factory/calendar-round.js.html index df5ffe6..62f7986 100644 --- a/docs/file/src/factory/calendar-round.js.html +++ b/docs/file/src/factory/calendar-round.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/factory/full-date.js.html b/docs/file/src/factory/full-date.js.html index 718ee96..b2ce5ea 100644 --- a/docs/file/src/factory/full-date.js.html +++ b/docs/file/src/factory/full-date.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/factory/index.js.html b/docs/file/src/factory/index.js.html index c70582f..416703c 100644 --- a/docs/file/src/factory/index.js.html +++ b/docs/file/src/factory/index.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/factory/long-count.js.html b/docs/file/src/factory/long-count.js.html index 3966e99..9abf560 100644 --- a/docs/file/src/factory/long-count.js.html +++ b/docs/file/src/factory/long-count.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/full-date.js.html b/docs/file/src/full-date.js.html index e0f66b6..fb36bf2 100644 --- a/docs/file/src/full-date.js.html +++ b/docs/file/src/full-date.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/index.js.html b/docs/file/src/index.js.html index 0621412..2229f59 100644 --- a/docs/file/src/index.js.html +++ b/docs/file/src/index.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/lc/index.js.html b/docs/file/src/lc/index.js.html index 9a57c40..52a623d 100644 --- a/docs/file/src/lc/index.js.html +++ b/docs/file/src/lc/index.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • @@ -51,6 +53,7 @@

    src/lc/index.js

    module.exports = {
       'LongCount': require('./long-count'),
    +  'night': require('./night/lord-of-night'),
     }
     
    diff --git a/docs/file/src/lc/long-count.js.html b/docs/file/src/lc/long-count.js.html index 03701da..d3aca7c 100644 --- a/docs/file/src/lc/long-count.js.html +++ b/docs/file/src/lc/long-count.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • @@ -55,6 +57,8 @@ const origin = require('../cr/index').origin /** @ignore */ const FullDate = require('../full-date') +/** @ignore */ +const night = require('./night/lord-of-night') /** * Long Count cycle @@ -253,6 +257,16 @@ return this._get_date_sections(7) } + /** + * + * @return {any} + */ + get lord_of_night () { + return night.get( + `G${((this.get_position() - 1) % 9) + 1}`, + ) + } + /** * Ensure the date has only numbers and wildcards separated by points. * @returns {boolean} @@ -320,10 +334,10 @@ */ toString () { let significant_digits = [] - for (let i = this.parts.length-1; i >= 0; i--) { + for (let i = this.parts.length - 1; i >= 0; i--) { let part = this.parts[i] if (part !== 0) { - significant_digits = this.parts.slice(0, i+1).reverse() + significant_digits = this.parts.slice(0, i + 1).reverse() break } } diff --git a/docs/file/src/lc/night/lord-of-night.js.html b/docs/file/src/lc/night/lord-of-night.js.html new file mode 100644 index 0000000..107e6a4 --- /dev/null +++ b/docs/file/src/lc/night/lord-of-night.js.html @@ -0,0 +1,121 @@ + + + + + + src/lc/night/lord-of-night.js | @drewsonne/maya-dates + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +

    src/lc/night/lord-of-night.js

    +
    /**
    + * Describes one of the 9 Lords of the night.
    + * This class is accessible through its instantiated values, or the get()
    + * method.
    + * @example
    + *  let lord_of_night_g8_1 = mayadates.lc.night.get('G8')
    + *  let lord_of_night_g8_2 = mayadates.lc.night.G8
    + *  console.log(lord_of_night_g8_1 === lord_of_night_g8_2)
    + */
    +class LordOfNight {
    +  /**
    +   * @param {number} id
    +   */
    +  constructor (id) {
    +    /**
    +     * Number of the Lord of the Night
    +     * @type {number}
    +     */
    +    this.id = id
    +  }
    +
    +  /**
    +   * Represent the Lord of the night as a string G1..G9.
    +   * @return {string}
    +   */
    +  toString () {
    +    return `G${this.id}`
    +  }
    +}
    +
    +/**
    + * Return a Lord of the Night by its G id.
    + * @param id
    + * @return {LordOfNight}
    + */
    +function get (id) {
    +  return lords_of_the_night[`${id}`]
    +}
    +
    +/** @ignore */
    +const lords_of_the_night = [
    +  1, 2, 3, 4, 5, 6, 7, 8, 9,
    +].reduce(function (obj, n) {
    +  let lord = new LordOfNight(n)
    +  obj[`${lord}`] = lord
    +  return obj
    +}, {
    +  'get': get,
    +})
    +
    +module.exports = lords_of_the_night
    +
    + +
    + + + + + + + + + + + + diff --git a/docs/file/src/operations/calendar-round-wildcard.js.html b/docs/file/src/operations/calendar-round-wildcard.js.html index b664ebe..1764f01 100644 --- a/docs/file/src/operations/calendar-round-wildcard.js.html +++ b/docs/file/src/operations/calendar-round-wildcard.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/operations/fulldate-wildcard.js.html b/docs/file/src/operations/fulldate-wildcard.js.html index 3ccba6c..9f5f4bb 100644 --- a/docs/file/src/operations/fulldate-wildcard.js.html +++ b/docs/file/src/operations/fulldate-wildcard.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/operations/index.js.html b/docs/file/src/operations/index.js.html index 452170b..1027141 100644 --- a/docs/file/src/operations/index.js.html +++ b/docs/file/src/operations/index.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/operations/longcount-wildcard.js.html b/docs/file/src/operations/longcount-wildcard.js.html index 2af89ee..545c393 100644 --- a/docs/file/src/operations/longcount-wildcard.js.html +++ b/docs/file/src/operations/longcount-wildcard.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/file/src/wildcard.js.html b/docs/file/src/wildcard.js.html index 3d742d2..b598d51 100644 --- a/docs/file/src/wildcard.js.html +++ b/docs/file/src/wildcard.js.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/function/index.html b/docs/function/index.html new file mode 100644 index 0000000..ee2a21a --- /dev/null +++ b/docs/function/index.html @@ -0,0 +1,179 @@ + + + + + + Function | @drewsonne/maya-dates + + + + + + + +
    + Home + + Reference + Source + + +
    + + + +

    Function

    +
    + + + + + + + + + +
    Static Public Summary
    + public + + + + + +
    +

    + + + + get(id: *): LordOfNight +

    +
    +
    + + +

    Return a Lord of the Night by its G id.

    +
    +
    +
    + + +
    +
    +

    Static Public

    + +
    +

    + public + + + + + + get(id: *): LordOfNight + + + + source + +

    + + + + +

    Return a Lord of the Night by its G id.

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    id*
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    LordOfNight
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/docs/identifiers.html b/docs/identifiers.html index e6e2f09..9724815 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • @@ -436,6 +438,74 @@

    lc

    + + + + +
    +
    +
    +

    lc/night

    +
    + + + + + + + + + + + + @@ -549,6 +619,7 @@

    operations

    diff --git a/docs/index.html b/docs/index.html index 42f92d0..4d28b8e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • diff --git a/docs/index.json b/docs/index.json index 8481e44..9383ba8 100644 --- a/docs/index.json +++ b/docs/index.json @@ -2761,7 +2761,7 @@ "__docId__": 144, "kind": "file", "name": "src/lc/index.js", - "content": "module.exports = {\n 'LongCount': require('./long-count'),\n}\n", + "content": "module.exports = {\n 'LongCount': require('./long-count'),\n 'night': require('./night/lord-of-night'),\n}\n", "static": true, "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/index.js", "access": "public", @@ -2772,7 +2772,7 @@ "__docId__": 145, "kind": "file", "name": "src/lc/long-count.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard')\n/** @ignore */\nconst origin = require('../cr/index').origin\n/** @ignore */\nconst FullDate = require('../full-date')\n\n/**\n * Long Count cycle\n */\nclass LongCount {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor (...cycles) {\n /**\n * Date Components\n * @type {number|Wildcard[]}\n */\n this.parts = cycles\n\n /**\n * Pattern to validate the date\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/\n\n /**\n * Convert individual components to a single string\n * @type {string}\n */\n this.raw = this.toString()\n }\n\n /**\n * Create a copy object of this long count date\n * @returns {LongCount}\n */\n clone () {\n return new LongCount(...this.parts)\n }\n\n /**\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n */\n _get_date_sections (index) {\n let part = this.parts[index]\n if (part === undefined) {\n return 0\n }\n return part\n }\n\n /**\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n */\n _set_date_sections (index, value) {\n this.parts[index] = value.toString()\n this.raw = this.toString()\n return this\n }\n\n /**\n * Return the number of positions in the long count\n * @returns {number}\n */\n get length () {\n return this.parts.length\n }\n\n /**\n * Set the k'in component of the date\n * @returns {number}\n */\n set k_in (new_k_in) {\n this._set_date_sections(0, new_k_in)\n }\n\n /**\n * Return the k'in component of the date\n * @returns {number}\n */\n get k_in () {\n return this._get_date_sections(0)\n }\n\n /**\n * Set the winal component of the date\n * @returns {number}\n */\n set winal (new_winal) {\n this._set_date_sections(1, new_winal)\n }\n\n /**\n * Return the winal component of the date\n * @returns {number}\n */\n get winal () {\n return this._get_date_sections(1)\n }\n\n /**\n * Set the tun component of the date\n * @returns {number}\n */\n set tun (new_tun) {\n this._set_date_sections(2, new_tun)\n }\n\n /**\n * Return the tun component of the date\n * @returns {number}\n */\n get tun () {\n return this._get_date_sections(2)\n }\n\n /**\n * Set the k'atun component of the date\n * @returns {number}\n */\n set k_atun (new_k_atun) {\n this._set_date_sections(3, new_k_atun)\n }\n\n /**\n * Return the k'atun component of the date\n * @returns {number}\n */\n get k_atun () {\n return this._get_date_sections(3)\n }\n\n /**\n * Set the bak'tun component of the date\n * @returns {number}\n */\n set bak_tun (new_bak_tun) {\n this._set_date_sections(4, new_bak_tun)\n }\n\n /**\n * Return the bak'tun component of the date\n * @returns {number}\n */\n get bak_tun () {\n return this._get_date_sections(4)\n }\n\n /**\n * Set the piktun component of the date\n * @returns {number}\n */\n set piktun (new_bak_tun) {\n this._set_date_sections(5, new_bak_tun)\n }\n\n /**\n * Return the piktun component of the date\n * @returns {number}\n */\n get piktun () {\n return this._get_date_sections(5)\n }\n\n /**\n * Set the kalabtun component of the date\n * @returns {number}\n */\n set kalabtun (new_bak_tun) {\n this._set_date_sections(6, new_bak_tun)\n }\n\n /**\n * Return the kalabtun component of the date\n * @returns {number}\n */\n get kalabtun () {\n return this._get_date_sections(6)\n }\n\n /**\n * Set the kinchiltun component of the date\n * @returns {number}\n */\n set kinchiltun (new_bak_tun) {\n this._set_date_sections(7, new_bak_tun)\n }\n\n /**\n * Return the kinchiltun component of the date\n * @returns {number}\n */\n get kinchiltun () {\n return this._get_date_sections(7)\n }\n\n /**\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n is_valid () {\n return this.date_pattern.test(this.toString())\n }\n\n /**\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n */\n is_partial () {\n for (let part of this.parts) {\n if (part === wildcard) {\n return true\n }\n }\n return false\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n get_position () {\n if (this.is_partial()) {\n throw 'Can not get position of partial dates'\n }\n return this.k_in +\n this.winal * 20 +\n this.tun * 360 +\n this.k_atun * 7200 +\n this.bak_tun * 144000 +\n this.piktun * 2880000 +\n this.kalabtun * 57600000 +\n this.kinchiltun * 1152000000\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n build_calendar_round () {\n return origin.shift(\n this.get_position(),\n )\n }\n\n /**\n *\n * @return {FullDate}\n */\n build_full_date () {\n return new FullDate(\n this.build_calendar_round(),\n this.clone(),\n )\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n */\n toString () {\n let significant_digits = []\n for (let i = this.parts.length-1; i >= 0; i--) {\n let part = this.parts[i]\n if (part !== 0) {\n significant_digits = this.parts.slice(0, i+1).reverse()\n break\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n if (significant_digits[i] === undefined) {\n significant_digits[i] = '0'\n }\n }\n\n let date_length = significant_digits.length\n if (date_length < 5) {\n for (let i = 0; i < 5 - date_length; i++) {\n significant_digits.push(' 0')\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n let part = significant_digits[i].toString()\n if (part.length < 2) {\n significant_digits[i] = ' ' + part\n }\n }\n return significant_digits.join('.')\n }\n}\n\nmodule.exports = LongCount\n", + "content": "/** @ignore */\nconst wildcard = require('../wildcard')\n/** @ignore */\nconst origin = require('../cr/index').origin\n/** @ignore */\nconst FullDate = require('../full-date')\n/** @ignore */\nconst night = require('./night/lord-of-night')\n\n/**\n * Long Count cycle\n */\nclass LongCount {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor (...cycles) {\n /**\n * Date Components\n * @type {number|Wildcard[]}\n */\n this.parts = cycles\n\n /**\n * Pattern to validate the date\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/\n\n /**\n * Convert individual components to a single string\n * @type {string}\n */\n this.raw = this.toString()\n }\n\n /**\n * Create a copy object of this long count date\n * @returns {LongCount}\n */\n clone () {\n return new LongCount(...this.parts)\n }\n\n /**\n * Get specific column in Long Count date\n * @param {number} index\n * @returns {number}\n */\n _get_date_sections (index) {\n let part = this.parts[index]\n if (part === undefined) {\n return 0\n }\n return part\n }\n\n /**\n * Set specific column in Long Count date\n * @param {number} index\n * @param {number} value\n * @returns {LongCount}\n * @private\n */\n _set_date_sections (index, value) {\n this.parts[index] = value.toString()\n this.raw = this.toString()\n return this\n }\n\n /**\n * Return the number of positions in the long count\n * @returns {number}\n */\n get length () {\n return this.parts.length\n }\n\n /**\n * Set the k'in component of the date\n * @returns {number}\n */\n set k_in (new_k_in) {\n this._set_date_sections(0, new_k_in)\n }\n\n /**\n * Return the k'in component of the date\n * @returns {number}\n */\n get k_in () {\n return this._get_date_sections(0)\n }\n\n /**\n * Set the winal component of the date\n * @returns {number}\n */\n set winal (new_winal) {\n this._set_date_sections(1, new_winal)\n }\n\n /**\n * Return the winal component of the date\n * @returns {number}\n */\n get winal () {\n return this._get_date_sections(1)\n }\n\n /**\n * Set the tun component of the date\n * @returns {number}\n */\n set tun (new_tun) {\n this._set_date_sections(2, new_tun)\n }\n\n /**\n * Return the tun component of the date\n * @returns {number}\n */\n get tun () {\n return this._get_date_sections(2)\n }\n\n /**\n * Set the k'atun component of the date\n * @returns {number}\n */\n set k_atun (new_k_atun) {\n this._set_date_sections(3, new_k_atun)\n }\n\n /**\n * Return the k'atun component of the date\n * @returns {number}\n */\n get k_atun () {\n return this._get_date_sections(3)\n }\n\n /**\n * Set the bak'tun component of the date\n * @returns {number}\n */\n set bak_tun (new_bak_tun) {\n this._set_date_sections(4, new_bak_tun)\n }\n\n /**\n * Return the bak'tun component of the date\n * @returns {number}\n */\n get bak_tun () {\n return this._get_date_sections(4)\n }\n\n /**\n * Set the piktun component of the date\n * @returns {number}\n */\n set piktun (new_bak_tun) {\n this._set_date_sections(5, new_bak_tun)\n }\n\n /**\n * Return the piktun component of the date\n * @returns {number}\n */\n get piktun () {\n return this._get_date_sections(5)\n }\n\n /**\n * Set the kalabtun component of the date\n * @returns {number}\n */\n set kalabtun (new_bak_tun) {\n this._set_date_sections(6, new_bak_tun)\n }\n\n /**\n * Return the kalabtun component of the date\n * @returns {number}\n */\n get kalabtun () {\n return this._get_date_sections(6)\n }\n\n /**\n * Set the kinchiltun component of the date\n * @returns {number}\n */\n set kinchiltun (new_bak_tun) {\n this._set_date_sections(7, new_bak_tun)\n }\n\n /**\n * Return the kinchiltun component of the date\n * @returns {number}\n */\n get kinchiltun () {\n return this._get_date_sections(7)\n }\n\n /**\n *\n * @return {any}\n */\n get lord_of_night () {\n return night.get(\n `G${((this.get_position() - 1) % 9) + 1}`,\n )\n }\n\n /**\n * Ensure the date has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n is_valid () {\n return this.date_pattern.test(this.toString())\n }\n\n /**\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n */\n is_partial () {\n for (let part of this.parts) {\n if (part === wildcard) {\n return true\n }\n }\n return false\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n get_position () {\n if (this.is_partial()) {\n throw 'Can not get position of partial dates'\n }\n return this.k_in +\n this.winal * 20 +\n this.tun * 360 +\n this.k_atun * 7200 +\n this.bak_tun * 144000 +\n this.piktun * 2880000 +\n this.kalabtun * 57600000 +\n this.kinchiltun * 1152000000\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n build_calendar_round () {\n return origin.shift(\n this.get_position(),\n )\n }\n\n /**\n *\n * @return {FullDate}\n */\n build_full_date () {\n return new FullDate(\n this.build_calendar_round(),\n this.clone(),\n )\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the date\n * @returns {string}\n */\n toString () {\n let significant_digits = []\n for (let i = this.parts.length - 1; i >= 0; i--) {\n let part = this.parts[i]\n if (part !== 0) {\n significant_digits = this.parts.slice(0, i + 1).reverse()\n break\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n if (significant_digits[i] === undefined) {\n significant_digits[i] = '0'\n }\n }\n\n let date_length = significant_digits.length\n if (date_length < 5) {\n for (let i = 0; i < 5 - date_length; i++) {\n significant_digits.push(' 0')\n }\n }\n\n for (let i = 0; i < significant_digits.length; i++) {\n let part = significant_digits[i].toString()\n if (part.length < 2) {\n significant_digits[i] = ' ' + part\n }\n }\n return significant_digits.join('.')\n }\n}\n\nmodule.exports = LongCount\n", "static": true, "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/long-count.js", "access": "public", @@ -2841,6 +2841,26 @@ }, { "__docId__": 149, + "kind": "variable", + "name": "night", + "memberof": "src/lc/long-count.js", + "static": true, + "longname": "src/lc/long-count.js~night", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", + "importStyle": null, + "description": null, + "lineNumber": 8, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 150, "kind": "class", "name": "LongCount", "memberof": "src/lc/long-count.js", @@ -2851,11 +2871,11 @@ "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", "importStyle": null, "description": "Long Count cycle", - "lineNumber": 11, + "lineNumber": 13, "interface": false }, { - "__docId__": 150, + "__docId__": 151, "kind": "constructor", "name": "constructor", "memberof": "src/lc/long-count.js~LongCount", @@ -2865,7 +2885,7 @@ "longname": "src/lc/long-count.js~LongCount#constructor", "access": "public", "description": "", - "lineNumber": 15, + "lineNumber": 17, "params": [ { "nullable": null, @@ -2881,7 +2901,7 @@ ] }, { - "__docId__": 151, + "__docId__": 152, "kind": "member", "name": "parts", "memberof": "src/lc/long-count.js~LongCount", @@ -2889,7 +2909,7 @@ "longname": "src/lc/long-count.js~LongCount#parts", "access": "public", "description": "Date Components", - "lineNumber": 20, + "lineNumber": 22, "type": { "nullable": null, "types": [ @@ -2901,7 +2921,7 @@ } }, { - "__docId__": 152, + "__docId__": 153, "kind": "member", "name": "date_pattern", "memberof": "src/lc/long-count.js~LongCount", @@ -2909,7 +2929,7 @@ "longname": "src/lc/long-count.js~LongCount#date_pattern", "access": "public", "description": "Pattern to validate the date", - "lineNumber": 26, + "lineNumber": 28, "type": { "nullable": null, "types": [ @@ -2920,7 +2940,7 @@ } }, { - "__docId__": 153, + "__docId__": 154, "kind": "member", "name": "raw", "memberof": "src/lc/long-count.js~LongCount", @@ -2928,7 +2948,7 @@ "longname": "src/lc/long-count.js~LongCount#raw", "access": "public", "description": "Convert individual components to a single string", - "lineNumber": 32, + "lineNumber": 34, "type": { "nullable": null, "types": [ @@ -2939,7 +2959,7 @@ } }, { - "__docId__": 154, + "__docId__": 155, "kind": "method", "name": "clone", "memberof": "src/lc/long-count.js~LongCount", @@ -2949,7 +2969,7 @@ "longname": "src/lc/long-count.js~LongCount#clone", "access": "public", "description": "Create a copy object of this long count date", - "lineNumber": 39, + "lineNumber": 41, "unknown": [ { "tagName": "@returns", @@ -2967,7 +2987,7 @@ "params": [] }, { - "__docId__": 155, + "__docId__": 156, "kind": "method", "name": "_get_date_sections", "memberof": "src/lc/long-count.js~LongCount", @@ -2977,7 +2997,7 @@ "longname": "src/lc/long-count.js~LongCount#_get_date_sections", "access": "private", "description": "Get specific column in Long Count date", - "lineNumber": 48, + "lineNumber": 50, "unknown": [ { "tagName": "@returns", @@ -3006,7 +3026,7 @@ } }, { - "__docId__": 156, + "__docId__": 157, "kind": "method", "name": "_set_date_sections", "memberof": "src/lc/long-count.js~LongCount", @@ -3016,7 +3036,7 @@ "longname": "src/lc/long-count.js~LongCount#_set_date_sections", "access": "private", "description": "Set specific column in Long Count date", - "lineNumber": 63, + "lineNumber": 65, "unknown": [ { "tagName": "@returns", @@ -3055,7 +3075,7 @@ } }, { - "__docId__": 158, + "__docId__": 159, "kind": "get", "name": "length", "memberof": "src/lc/long-count.js~LongCount", @@ -3065,7 +3085,7 @@ "longname": "src/lc/long-count.js~LongCount#length", "access": "public", "description": "Return the number of positions in the long count", - "lineNumber": 73, + "lineNumber": 75, "unknown": [ { "tagName": "@returns", @@ -3087,7 +3107,7 @@ } }, { - "__docId__": 159, + "__docId__": 160, "kind": "set", "name": "k_in", "memberof": "src/lc/long-count.js~LongCount", @@ -3097,7 +3117,7 @@ "longname": "src/lc/long-count.js~LongCount#k_in", "access": "public", "description": "Set the k'in component of the date", - "lineNumber": 81, + "lineNumber": 83, "unknown": [ { "tagName": "@returns", @@ -3114,7 +3134,7 @@ } }, { - "__docId__": 160, + "__docId__": 161, "kind": "get", "name": "k_in", "memberof": "src/lc/long-count.js~LongCount", @@ -3124,7 +3144,7 @@ "longname": "src/lc/long-count.js~LongCount#k_in", "access": "public", "description": "Return the k'in component of the date", - "lineNumber": 89, + "lineNumber": 91, "unknown": [ { "tagName": "@returns", @@ -3146,7 +3166,7 @@ } }, { - "__docId__": 161, + "__docId__": 162, "kind": "set", "name": "winal", "memberof": "src/lc/long-count.js~LongCount", @@ -3156,7 +3176,7 @@ "longname": "src/lc/long-count.js~LongCount#winal", "access": "public", "description": "Set the winal component of the date", - "lineNumber": 97, + "lineNumber": 99, "unknown": [ { "tagName": "@returns", @@ -3173,7 +3193,7 @@ } }, { - "__docId__": 162, + "__docId__": 163, "kind": "get", "name": "winal", "memberof": "src/lc/long-count.js~LongCount", @@ -3183,7 +3203,7 @@ "longname": "src/lc/long-count.js~LongCount#winal", "access": "public", "description": "Return the winal component of the date", - "lineNumber": 105, + "lineNumber": 107, "unknown": [ { "tagName": "@returns", @@ -3205,7 +3225,7 @@ } }, { - "__docId__": 163, + "__docId__": 164, "kind": "set", "name": "tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3215,7 +3235,7 @@ "longname": "src/lc/long-count.js~LongCount#tun", "access": "public", "description": "Set the tun component of the date", - "lineNumber": 113, + "lineNumber": 115, "unknown": [ { "tagName": "@returns", @@ -3232,7 +3252,7 @@ } }, { - "__docId__": 164, + "__docId__": 165, "kind": "get", "name": "tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3242,7 +3262,7 @@ "longname": "src/lc/long-count.js~LongCount#tun", "access": "public", "description": "Return the tun component of the date", - "lineNumber": 121, + "lineNumber": 123, "unknown": [ { "tagName": "@returns", @@ -3264,7 +3284,7 @@ } }, { - "__docId__": 165, + "__docId__": 166, "kind": "set", "name": "k_atun", "memberof": "src/lc/long-count.js~LongCount", @@ -3274,7 +3294,7 @@ "longname": "src/lc/long-count.js~LongCount#k_atun", "access": "public", "description": "Set the k'atun component of the date", - "lineNumber": 129, + "lineNumber": 131, "unknown": [ { "tagName": "@returns", @@ -3291,7 +3311,7 @@ } }, { - "__docId__": 166, + "__docId__": 167, "kind": "get", "name": "k_atun", "memberof": "src/lc/long-count.js~LongCount", @@ -3301,7 +3321,7 @@ "longname": "src/lc/long-count.js~LongCount#k_atun", "access": "public", "description": "Return the k'atun component of the date", - "lineNumber": 137, + "lineNumber": 139, "unknown": [ { "tagName": "@returns", @@ -3323,7 +3343,7 @@ } }, { - "__docId__": 167, + "__docId__": 168, "kind": "set", "name": "bak_tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3333,7 +3353,7 @@ "longname": "src/lc/long-count.js~LongCount#bak_tun", "access": "public", "description": "Set the bak'tun component of the date", - "lineNumber": 145, + "lineNumber": 147, "unknown": [ { "tagName": "@returns", @@ -3350,7 +3370,7 @@ } }, { - "__docId__": 168, + "__docId__": 169, "kind": "get", "name": "bak_tun", "memberof": "src/lc/long-count.js~LongCount", @@ -3360,7 +3380,7 @@ "longname": "src/lc/long-count.js~LongCount#bak_tun", "access": "public", "description": "Return the bak'tun component of the date", - "lineNumber": 153, + "lineNumber": 155, "unknown": [ { "tagName": "@returns", @@ -3382,7 +3402,7 @@ } }, { - "__docId__": 169, + "__docId__": 170, "kind": "set", "name": "piktun", "memberof": "src/lc/long-count.js~LongCount", @@ -3392,7 +3412,7 @@ "longname": "src/lc/long-count.js~LongCount#piktun", "access": "public", "description": "Set the piktun component of the date", - "lineNumber": 161, + "lineNumber": 163, "unknown": [ { "tagName": "@returns", @@ -3409,7 +3429,7 @@ } }, { - "__docId__": 170, + "__docId__": 171, "kind": "get", "name": "piktun", "memberof": "src/lc/long-count.js~LongCount", @@ -3419,7 +3439,7 @@ "longname": "src/lc/long-count.js~LongCount#piktun", "access": "public", "description": "Return the piktun component of the date", - "lineNumber": 169, + "lineNumber": 171, "unknown": [ { "tagName": "@returns", @@ -3441,7 +3461,7 @@ } }, { - "__docId__": 171, + "__docId__": 172, "kind": "set", "name": "kalabtun", "memberof": "src/lc/long-count.js~LongCount", @@ -3451,7 +3471,7 @@ "longname": "src/lc/long-count.js~LongCount#kalabtun", "access": "public", "description": "Set the kalabtun component of the date", - "lineNumber": 177, + "lineNumber": 179, "unknown": [ { "tagName": "@returns", @@ -3468,7 +3488,7 @@ } }, { - "__docId__": 172, + "__docId__": 173, "kind": "get", "name": "kalabtun", "memberof": "src/lc/long-count.js~LongCount", @@ -3478,7 +3498,7 @@ "longname": "src/lc/long-count.js~LongCount#kalabtun", "access": "public", "description": "Return the kalabtun component of the date", - "lineNumber": 185, + "lineNumber": 187, "unknown": [ { "tagName": "@returns", @@ -3500,7 +3520,7 @@ } }, { - "__docId__": 173, + "__docId__": 174, "kind": "set", "name": "kinchiltun", "memberof": "src/lc/long-count.js~LongCount", @@ -3510,7 +3530,7 @@ "longname": "src/lc/long-count.js~LongCount#kinchiltun", "access": "public", "description": "Set the kinchiltun component of the date", - "lineNumber": 193, + "lineNumber": 195, "unknown": [ { "tagName": "@returns", @@ -3527,7 +3547,7 @@ } }, { - "__docId__": 174, + "__docId__": 175, "kind": "get", "name": "kinchiltun", "memberof": "src/lc/long-count.js~LongCount", @@ -3537,7 +3557,7 @@ "longname": "src/lc/long-count.js~LongCount#kinchiltun", "access": "public", "description": "Return the kinchiltun component of the date", - "lineNumber": 201, + "lineNumber": 203, "unknown": [ { "tagName": "@returns", @@ -3559,7 +3579,33 @@ } }, { - "__docId__": 175, + "__docId__": 176, + "kind": "get", + "name": "lord_of_night", + "memberof": "src/lc/long-count.js~LongCount", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/long-count.js~LongCount#lord_of_night", + "access": "public", + "description": "", + "lineNumber": 211, + "return": { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 177, "kind": "method", "name": "is_valid", "memberof": "src/lc/long-count.js~LongCount", @@ -3569,7 +3615,7 @@ "longname": "src/lc/long-count.js~LongCount#is_valid", "access": "public", "description": "Ensure the date has only numbers and wildcards separated by points.", - "lineNumber": 209, + "lineNumber": 221, "unknown": [ { "tagName": "@returns", @@ -3587,7 +3633,7 @@ "params": [] }, { - "__docId__": 176, + "__docId__": 178, "kind": "method", "name": "is_partial", "memberof": "src/lc/long-count.js~LongCount", @@ -3597,7 +3643,7 @@ "longname": "src/lc/long-count.js~LongCount#is_partial", "access": "public", "description": "Returns true if any of the positions in the Long Count have been assigned\na {Wildcard} object.", - "lineNumber": 218, + "lineNumber": 230, "return": { "nullable": null, "types": [ @@ -3609,7 +3655,7 @@ "params": [] }, { - "__docId__": 177, + "__docId__": 179, "kind": "method", "name": "get_position", "memberof": "src/lc/long-count.js~LongCount", @@ -3619,7 +3665,7 @@ "longname": "src/lc/long-count.js~LongCount#get_position", "access": "public", "description": "Count the number of days since 0.0.0.0.0 for this LC.", - "lineNumber": 231, + "lineNumber": 243, "return": { "nullable": null, "types": [ @@ -3631,7 +3677,7 @@ "params": [] }, { - "__docId__": 178, + "__docId__": 180, "kind": "method", "name": "build_calendar_round", "memberof": "src/lc/long-count.js~LongCount", @@ -3641,7 +3687,7 @@ "longname": "src/lc/long-count.js~LongCount#build_calendar_round", "access": "public", "description": "", - "lineNumber": 249, + "lineNumber": 261, "return": { "nullable": null, "types": [ @@ -3653,7 +3699,7 @@ "params": [] }, { - "__docId__": 179, + "__docId__": 181, "kind": "method", "name": "build_full_date", "memberof": "src/lc/long-count.js~LongCount", @@ -3663,7 +3709,7 @@ "longname": "src/lc/long-count.js~LongCount#build_full_date", "access": "public", "description": "", - "lineNumber": 259, + "lineNumber": 271, "return": { "nullable": null, "types": [ @@ -3675,7 +3721,7 @@ "params": [] }, { - "__docId__": 180, + "__docId__": 182, "kind": "method", "name": "toString", "memberof": "src/lc/long-count.js~LongCount", @@ -3685,7 +3731,7 @@ "longname": "src/lc/long-count.js~LongCount#toString", "access": "public", "description": "Convert the LongCount to a string and pad the sections of the date", - "lineNumber": 270, + "lineNumber": 282, "unknown": [ { "tagName": "@returns", @@ -3703,7 +3749,158 @@ "params": [] }, { - "__docId__": 181, + "__docId__": 183, + "kind": "file", + "name": "src/lc/night/lord-of-night.js", + "content": "/**\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n */\nclass LordOfNight {\n /**\n * @param {number} id\n */\n constructor (id) {\n /**\n * Number of the Lord of the Night\n * @type {number}\n */\n this.id = id\n }\n\n /**\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n */\n toString () {\n return `G${this.id}`\n }\n}\n\n/**\n * Return a Lord of the Night by its G id.\n * @param id\n * @return {LordOfNight}\n */\nfunction get (id) {\n return lords_of_the_night[`${id}`]\n}\n\n/** @ignore */\nconst lords_of_the_night = [\n 1, 2, 3, 4, 5, 6, 7, 8, 9,\n].reduce(function (obj, n) {\n let lord = new LordOfNight(n)\n obj[`${lord}`] = lord\n return obj\n}, {\n 'get': get,\n})\n\nmodule.exports = lords_of_the_night\n", + "static": true, + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/night/lord-of-night.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 184, + "kind": "class", + "name": "LordOfNight", + "memberof": "src/lc/night/lord-of-night.js", + "static": true, + "longname": "src/lc/night/lord-of-night.js~LordOfNight", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/night/lord-of-night.js", + "importStyle": null, + "description": "Describes one of the 9 Lords of the night.\nThis class is accessible through its instantiated values, or the get()\nmethod.", + "examples": [ + " let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n let lord_of_night_g8_2 = mayadates.lc.night.G8\n console.log(lord_of_night_g8_1 === lord_of_night_g8_2)" + ], + "lineNumber": 10, + "interface": false + }, + { + "__docId__": 185, + "kind": "constructor", + "name": "constructor", + "memberof": "src/lc/night/lord-of-night.js~LordOfNight", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/night/lord-of-night.js~LordOfNight#constructor", + "access": "public", + "description": "", + "lineNumber": 14, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "id", + "description": "" + } + ] + }, + { + "__docId__": 186, + "kind": "member", + "name": "id", + "memberof": "src/lc/night/lord-of-night.js~LordOfNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~LordOfNight#id", + "access": "public", + "description": "Number of the Lord of the Night", + "lineNumber": 19, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 187, + "kind": "method", + "name": "toString", + "memberof": "src/lc/night/lord-of-night.js~LordOfNight", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/night/lord-of-night.js~LordOfNight#toString", + "access": "public", + "description": "Represent the Lord of the night as a string G1..G9.", + "lineNumber": 26, + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 188, + "kind": "function", + "name": "get", + "memberof": "src/lc/night/lord-of-night.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lc/night/lord-of-night.js~get", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/night/lord-of-night.js", + "importStyle": null, + "description": "Return a Lord of the Night by its G id.", + "lineNumber": 36, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "id", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LordOfNight" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 189, + "kind": "variable", + "name": "lords_of_the_night", + "memberof": "src/lc/night/lord-of-night.js", + "static": true, + "longname": "src/lc/night/lord-of-night.js~lords_of_the_night", + "access": "public", + "export": false, + "importPath": "@drewsonne/maya-dates/src/lc/night/lord-of-night.js", + "importStyle": null, + "description": null, + "lineNumber": 41, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 190, "kind": "file", "name": "src/operations/calendar-round-wildcard.js", "content": "/** @ignore */\nconst CalendarRound = require('../cr/calendar-round')\n/** @ignore */\nconst origin = require('../cr/index').origin\n\n/**\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n */\nclass _CalendarRoundIterator {\n /**\n *\n * @param {CalendarRound} date\n */\n constructor (date) {\n /**\n * @type {CalendarRound}\n */\n this.current = undefined\n\n /**\n * @type boolean\n */\n this.is_first = undefined\n\n if (date === undefined) {\n date = origin\n }\n /**\n * @type {CalendarRound}\n */\n this.date = date\n this.reset()\n }\n\n /**\n * Reset this iterator so that it can be reused.\n */\n reset () {\n this.current = this.date\n this.is_first = true\n }\n\n /**\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n */\n next () {\n if (this.is_first) {\n this.is_first = false\n return {value: this.current, done: false}\n }\n let next = this.current.next()\n if (next.equal(this.date)) {\n return {value: null, done: true}\n } else {\n this.current = next\n return {value: next, done: false}\n }\n }\n\n}\n\n/**\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {_CalendarRoundIterator}\n */\nconst iter = new _CalendarRoundIterator()\n\n/**\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n */\nclass CalendarRoundWildcard {\n /**\n * @param {CalendarRound} cr\n */\n constructor (cr) {\n /**\n * @type {CalendarRound}\n */\n this.cr = cr\n }\n\n /**\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n */\n run () {\n let potentials = []\n // Iterate through dates and compare\n let cr = iter.next()\n while (!cr.done) {\n if (this.cr.match(cr.value)) {\n potentials.push(cr.value)\n }\n cr = iter.next()\n }\n iter.reset()\n return potentials\n }\n\n}\n\nmodule.exports = CalendarRoundWildcard\n", @@ -3714,7 +3911,7 @@ "lineNumber": 1 }, { - "__docId__": 182, + "__docId__": 191, "kind": "variable", "name": "CalendarRound", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3734,7 +3931,7 @@ } }, { - "__docId__": 183, + "__docId__": 192, "kind": "variable", "name": "origin", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3754,7 +3951,7 @@ } }, { - "__docId__": 184, + "__docId__": 193, "kind": "class", "name": "_CalendarRoundIterator", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3770,7 +3967,7 @@ "interface": false }, { - "__docId__": 185, + "__docId__": 194, "kind": "constructor", "name": "constructor", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -3795,7 +3992,7 @@ ] }, { - "__docId__": 186, + "__docId__": 195, "kind": "member", "name": "current", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -3814,7 +4011,7 @@ } }, { - "__docId__": 187, + "__docId__": 196, "kind": "member", "name": "is_first", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -3833,7 +4030,7 @@ } }, { - "__docId__": 188, + "__docId__": 197, "kind": "member", "name": "date", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -3852,7 +4049,7 @@ } }, { - "__docId__": 189, + "__docId__": 198, "kind": "method", "name": "reset", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -3867,7 +4064,7 @@ "return": null }, { - "__docId__": 192, + "__docId__": 201, "kind": "method", "name": "next", "memberof": "src/operations/calendar-round-wildcard.js~_CalendarRoundIterator", @@ -3889,7 +4086,7 @@ "params": [] }, { - "__docId__": 195, + "__docId__": 204, "kind": "variable", "name": "iter", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3912,7 +4109,7 @@ } }, { - "__docId__": 196, + "__docId__": 205, "kind": "class", "name": "CalendarRoundWildcard", "memberof": "src/operations/calendar-round-wildcard.js", @@ -3927,7 +4124,7 @@ "interface": false }, { - "__docId__": 197, + "__docId__": 206, "kind": "constructor", "name": "constructor", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -3952,7 +4149,7 @@ ] }, { - "__docId__": 198, + "__docId__": 207, "kind": "member", "name": "cr", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -3971,7 +4168,7 @@ } }, { - "__docId__": 199, + "__docId__": 208, "kind": "method", "name": "run", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -3993,7 +4190,7 @@ "params": [] }, { - "__docId__": 200, + "__docId__": 209, "kind": "file", "name": "src/operations/fulldate-wildcard.js", "content": "/** @ignore */\nconst FullDate = require('../full-date')\n/** @ignore */\nconst LongCountWildcard = require('../operations/longcount-wildcard')\n/** @ignore */\nconst CalendarRoundWildcard = require('../operations/calendar-round-wildcard')\n\n/**\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n */\nclass FullDateWildcard {\n /**\n * @param {FullDate} partial_date\n */\n constructor (partial_date) {\n /**\n * @type {FullDate}\n */\n this.partial = partial_date\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n */\n run () {\n let potential_dates = []\n let potential_lc_fulldates = []\n let potential_crs\n\n let has_cr_partial = this.partial.cr.is_partial()\n let has_lc_partial = this.partial.lc.is_partial()\n if (has_lc_partial) {\n let potential_lcs = new LongCountWildcard(this.partial.lc).run()\n for (let potential_lc of potential_lcs) {\n potential_lc_fulldates.push(potential_lc.build_full_date())\n }\n } else {\n // If we have a full formed LC date, and a partial CR, then generate the\n // CR for the LC, and compare them. The partial CR will either match the\n // CR for the LC or it won't.\n let static_cr = this.partial.lc.build_calendar_round()\n return (static_cr.match(this.partial.cr)) ?\n [new FullDate(static_cr, this.partial.lc)] :\n []\n }\n if (has_cr_partial) {\n potential_crs = new CalendarRoundWildcard(this.partial.cr).run()\n } else {\n potential_crs = [this.partial.cr]\n }\n for (let full_date of potential_lc_fulldates) {\n for (let cr of potential_crs) {\n if (cr.equal(full_date.cr)) {\n potential_dates.push(full_date)\n }\n }\n }\n return potential_dates\n }\n}\n\nmodule.exports = FullDateWildcard\n\n", @@ -4004,7 +4201,7 @@ "lineNumber": 1 }, { - "__docId__": 201, + "__docId__": 210, "kind": "variable", "name": "FullDate", "memberof": "src/operations/fulldate-wildcard.js", @@ -4024,7 +4221,7 @@ } }, { - "__docId__": 202, + "__docId__": 211, "kind": "variable", "name": "LongCountWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -4044,7 +4241,7 @@ } }, { - "__docId__": 203, + "__docId__": 212, "kind": "variable", "name": "CalendarRoundWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -4064,7 +4261,7 @@ } }, { - "__docId__": 204, + "__docId__": 213, "kind": "class", "name": "FullDateWildcard", "memberof": "src/operations/fulldate-wildcard.js", @@ -4079,7 +4276,7 @@ "interface": false }, { - "__docId__": 205, + "__docId__": 214, "kind": "constructor", "name": "constructor", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -4104,7 +4301,7 @@ ] }, { - "__docId__": 206, + "__docId__": 215, "kind": "member", "name": "partial", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -4123,7 +4320,7 @@ } }, { - "__docId__": 207, + "__docId__": 216, "kind": "method", "name": "run", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -4145,7 +4342,7 @@ "params": [] }, { - "__docId__": 208, + "__docId__": 217, "kind": "file", "name": "src/operations/index.js", "content": "module.exports = {\n 'LongCountWildcard': require('./longcount-wildcard'),\n 'CalendarRoundWildcard': require('./calendar-round-wildcard'),\n 'FullDateWildcard': require('./fulldate-wildcard'),\n}\n", @@ -4156,7 +4353,7 @@ "lineNumber": 1 }, { - "__docId__": 209, + "__docId__": 218, "kind": "file", "name": "src/operations/longcount-wildcard.js", "content": "/** @ignore */\nconst wildcard = require('../wildcard')\n\n/**\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n */\nclass LongCountWildcard {\n /**\n * @param {LongCount} lc\n */\n constructor (lc) {\n /**\n * @type {LongCount}\n */\n this.lc = lc\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n */\n run () {\n let potentials = [this.lc]\n let wildcard_positions = []\n for (let i = 0; i < this.lc.length; i++) {\n if (this.lc._get_date_sections(i) === wildcard) {\n wildcard_positions.push(i)\n }\n }\n for (let position of wildcard_positions) {\n let new_potentials = []\n let iterations = (position === 1) ? 15 : 20\n for (let possible of potentials) {\n for (let k = 0; k < iterations; k++) {\n let new_lc = possible.clone()._set_date_sections(position, k)\n new_potentials.push(new_lc)\n }\n }\n potentials = new_potentials\n }\n return potentials\n }\n}\n\nmodule.exports = LongCountWildcard\n", @@ -4167,7 +4364,7 @@ "lineNumber": 1 }, { - "__docId__": 210, + "__docId__": 219, "kind": "variable", "name": "wildcard", "memberof": "src/operations/longcount-wildcard.js", @@ -4187,7 +4384,7 @@ } }, { - "__docId__": 211, + "__docId__": 220, "kind": "class", "name": "LongCountWildcard", "memberof": "src/operations/longcount-wildcard.js", @@ -4202,7 +4399,7 @@ "interface": false }, { - "__docId__": 212, + "__docId__": 221, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -4227,7 +4424,7 @@ ] }, { - "__docId__": 213, + "__docId__": 222, "kind": "member", "name": "lc", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -4246,7 +4443,7 @@ } }, { - "__docId__": 214, + "__docId__": 223, "kind": "method", "name": "run", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -4268,7 +4465,7 @@ "params": [] }, { - "__docId__": 215, + "__docId__": 224, "kind": "file", "name": "src/wildcard.js", "content": "/**\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse(\n * '4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n */\nclass Wildcard {\n /**\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n */\n toString () {\n return '*'\n }\n}\n\nmodule.exports = new Wildcard()\n", @@ -4279,7 +4476,7 @@ "lineNumber": 1 }, { - "__docId__": 216, + "__docId__": 225, "kind": "class", "name": "Wildcard", "memberof": "src/wildcard.js", @@ -4297,7 +4494,7 @@ "interface": false }, { - "__docId__": 217, + "__docId__": 226, "kind": "method", "name": "toString", "memberof": "src/wildcard.js~Wildcard", @@ -4334,7 +4531,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.0\",\n \"description\": \"Node.js package to represent dates in the Maya Calendar\",\n \"main\": \"src/index.js\",\n \"scripts\": {\n \"test\": \"jest\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+ssh://git@github.com/drewsonne/maya-dates.git\"\n },\n \"keywords\": [\n \"digital-humanities\",\n \"maya\",\n \"maya-calendar\"\n ],\n \"author\": \"Drew J. Sonne\",\n \"license\": \"LGPL-3.0-or-later\",\n \"bugs\": {\n \"url\": \"https://github.com/drewsonne/maya-dates/issues\"\n },\n \"homepage\": \"https://github.com/drewsonne/maya-dates#readme\",\n \"devDependencies\": {\n \"jest\": \"^24.9.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-standard-plugin\": \"1.0.0\"\n },\n \"jest\": {\n \"testEnvironment\": \"node\"\n },\n \"dependencies\": {}\n}\n", + "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.1\",\n \"description\": \"Node.js package to represent dates in the Maya Calendar\",\n \"main\": \"src/index.js\",\n \"scripts\": {\n \"test\": \"jest\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+ssh://git@github.com/drewsonne/maya-dates.git\"\n },\n \"keywords\": [\n \"digital-humanities\",\n \"maya\",\n \"maya-calendar\"\n ],\n \"author\": \"Drew J. Sonne\",\n \"license\": \"LGPL-3.0-or-later\",\n \"bugs\": {\n \"url\": \"https://github.com/drewsonne/maya-dates/issues\"\n },\n \"homepage\": \"https://github.com/drewsonne/maya-dates#readme\",\n \"devDependencies\": {\n \"jest\": \"^24.9.0\",\n \"esdoc\": \"1.1.0\",\n \"esdoc-standard-plugin\": \"1.0.0\"\n },\n \"jest\": {\n \"testEnvironment\": \"node\"\n },\n \"dependencies\": {}\n}\n", "longname": "/Users/drews/Dropbox/Development/maya-dates/package.json", "name": "package.json", "static": true, diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 396f2ac..433f99a 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -71,6 +71,12 @@ window.esdocSearchIndex = [ "LongCountWildcard@drewsonne/maya-dates/src/operations/longcount-wildcard.js", "class" ], + [ + "@drewsonne/maya-dates/src/lc/night/lord-of-night.js~lordofnight", + "class/src/lc/night/lord-of-night.js~LordOfNight.html", + "LordOfNight@drewsonne/maya-dates/src/lc/night/lord-of-night.js", + "class" + ], [ "@drewsonne/maya-dates/src/cr/tzolkin.js~tzolkin", "class/src/cr/tzolkin.js~Tzolkin.html", @@ -89,6 +95,12 @@ window.esdocSearchIndex = [ "Wildcard@drewsonne/maya-dates/src/wildcard.js", "class" ], + [ + "@drewsonne/maya-dates/src/lc/night/lord-of-night.js~get", + "function/index.html#static-function-get", + "get@drewsonne/maya-dates/src/lc/night/lord-of-night.js", + "function" + ], [ "src/.external-ecmascript.js~array", "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", @@ -923,6 +935,12 @@ window.esdocSearchIndex = [ "src/lc/long-count.js~LongCount#length", "member" ], + [ + "src/lc/long-count.js~longcount#lord_of_night", + "class/src/lc/long-count.js~LongCount.html#instance-get-lord_of_night", + "src/lc/long-count.js~LongCount#lord_of_night", + "member" + ], [ "src/lc/long-count.js~longcount#parts", "class/src/lc/long-count.js~LongCount.html#instance-member-parts", @@ -977,6 +995,30 @@ window.esdocSearchIndex = [ "src/lc/long-count.js~LongCount#winal", "member" ], + [ + "src/lc/night/lord-of-night.js", + "file/src/lc/night/lord-of-night.js.html", + "src/lc/night/lord-of-night.js", + "file" + ], + [ + "src/lc/night/lord-of-night.js~lordofnight#constructor", + "class/src/lc/night/lord-of-night.js~LordOfNight.html#instance-constructor-constructor", + "src/lc/night/lord-of-night.js~LordOfNight#constructor", + "method" + ], + [ + "src/lc/night/lord-of-night.js~lordofnight#id", + "class/src/lc/night/lord-of-night.js~LordOfNight.html#instance-member-id", + "src/lc/night/lord-of-night.js~LordOfNight#id", + "member" + ], + [ + "src/lc/night/lord-of-night.js~lordofnight#tostring", + "class/src/lc/night/lord-of-night.js~LordOfNight.html#instance-method-toString", + "src/lc/night/lord-of-night.js~LordOfNight#toString", + "method" + ], [ "src/operations/calendar-round-wildcard.js", "file/src/operations/calendar-round-wildcard.js.html", diff --git a/docs/source.html b/docs/source.html index a6d4092..a30b2ac 100644 --- a/docs/source.html +++ b/docs/source.html @@ -41,6 +41,8 @@
  • CFullDateFactory
  • CLongCountFactory
  • lcCLongCount
  • +
  • lc/nightCLordOfNight
  • +
  • Fget
  • operationsCCalendarRoundWildcard
  • CFullDateWildcard
  • CLongCountWildcard
  • @@ -48,7 +50,7 @@ -

    Source 147/147

    +

    Source 155/155

    summary
    + public + + + + + +
    +

    + C + + + LordOfNight +

    +
    +
    + + +

    Describes one of the 9 Lords of the night.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + F + + + get(id: *): LordOfNight +

    +
    +
    + + +

    Return a Lord of the Night by its G id.

    +
    +
    +
    + +
    @@ -69,7 +71,7 @@ - + @@ -78,7 +80,7 @@ - + @@ -86,7 +88,7 @@ - + @@ -95,7 +97,7 @@ - + @@ -111,7 +113,7 @@ - + @@ -119,7 +121,7 @@ - + @@ -135,7 +137,7 @@ - + @@ -143,7 +145,7 @@ - + @@ -157,17 +159,26 @@ - - - + + + - - - - + + + + + + + + + + + + @@ -175,7 +186,7 @@ - + @@ -183,7 +194,7 @@ - + @@ -199,7 +210,7 @@ - +
    100 %15/15 4469 byte 1602019-12-01 20:34:08 (UTC)2019-12-01 21:05:19 (UTC)
    src/cr/haab.js100 %21/21 5335 byte 2482019-12-01 20:43:48 (UTC)2019-12-01 21:05:19 (UTC)
    src/cr/index.js100 %1/1 249 byte 102019-12-01 20:41:42 (UTC)2019-12-01 21:05:19 (UTC)
    src/cr/tzolkin.js100 %22/22 5073 byte 2402019-12-01 20:45:36 (UTC)2019-12-01 21:05:19 (UTC)
    src/factory/base.js100 %6/6 1018 byte 432019-12-01 20:46:08 (UTC)2019-12-01 21:05:19 (UTC)
    src/factory/full-date.js100 %6/6 712 byte 322019-12-01 20:46:32 (UTC)2019-12-01 21:05:19 (UTC)
    src/factory/index.js100 %5/5 1255 byte 462019-12-01 20:46:50 (UTC)2019-12-01 21:05:19 (UTC)
    src/full-date.js100 %5/5 507 byte 312019-12-01 20:50:06 (UTC)2019-12-01 21:05:19 (UTC)
    src/index.jssrc/lc/index.js - -61 byte32019-12-04 09:42:29 (UTC)106 byte42019-12-01 21:36:25 (UTC)
    src/lc/long-count.js LongCount100 %34/346007 byte3032019-12-01 20:51:50 (UTC)100 %36/366216 byte3152019-12-01 21:36:25 (UTC)
    src/lc/night/lord-of-night.jsLordOfNight +get100 %6/61013 byte512019-12-01 21:36:23 (UTC)
    src/operations/calendar-round-wildcard.js100 %14/14 2135 byte 1072019-12-01 20:59:25 (UTC)2019-12-01 21:05:19 (UTC)
    src/operations/fulldate-wildcard.js100 %7/7 1922 byte 652019-12-01 21:01:30 (UTC)2019-12-01 21:05:19 (UTC)
    src/operations/index.js100 %5/5 1089 byte 462019-12-01 21:02:36 (UTC)2019-12-01 21:05:19 (UTC)
    src/wildcard.js