diff --git a/antlr/src/main/antlr/FSH.g4 b/antlr/src/main/antlr/FSH.g4 index 53a0d690e..02b036efe 100644 --- a/antlr/src/main/antlr/FSH.g4 +++ b/antlr/src/main/antlr/FSH.g4 @@ -90,8 +90,7 @@ pathRule: STAR path; // VALUESET COMPONENTS vsComponent: STAR ( KW_INCLUDE | KW_EXCLUDE )? ( vsConceptComponent | vsFilterComponent ); -vsConceptComponent: code vsComponentFrom? - | (code KW_AND)+ code vsComponentFrom; +vsConceptComponent: code vsComponentFrom?; vsFilterComponent: KW_CODES vsComponentFrom (KW_WHERE vsFilterList)?; vsComponentFrom: KW_FROM (vsFromSystem (KW_AND vsFromValueset)? | vsFromValueset (KW_AND vsFromSystem)?); vsFromSystem: KW_SYSTEM name; diff --git a/src/import/FSHImporter.ts b/src/import/FSHImporter.ts index f42e4fed5..09e32fbce 100644 --- a/src/import/FSHImporter.ts +++ b/src/import/FSHImporter.ts @@ -1733,6 +1733,8 @@ export class FSHImporter extends FSHVisitor { return caretValueRule; } + // when parsing a ValueSet, we need to keep the system. + // in all other cases, the system is not needed. visitCodeCaretValueRule(ctx: pc.CodeCaretValueRuleContext, keepSystem = false): CaretValueRule { const localCodePath = ctx.CODE() ? ctx.CODE().map(code => { @@ -1787,6 +1789,8 @@ export class FSHImporter extends FSHVisitor { return pathRule; } + // when parsing a ValueSet, we need to keep the system. + // in all other cases, the system is not needed. visitCodeInsertRule(ctx: pc.CodeInsertRuleContext, keepSystem = false): InsertRule { const insertRule = new InsertRule('') .withLocation(this.extractStartStop(ctx)) @@ -2059,41 +2063,26 @@ export class FSHImporter extends FSHVisitor { const from: ValueSetComponentFrom = ctx.vsComponentFrom() ? this.visitVsComponentFrom(ctx.vsComponentFrom()) : {}; - if (ctx.code().length === 1) { - const singleCode = this.visitCode(ctx.code()[0]); - if (singleCode.system && from.system) { - logger.error(`Concept ${singleCode.code} specifies system multiple times`, { - file: this.currentFile, - location: this.extractStartStop(ctx) - }); - } else if (singleCode.system) { - from.system = singleCode.system; - concepts.push(singleCode); - } else if (from.system) { - singleCode.system = from.system; - concepts.push(singleCode); - } else { - logger.error( - `Concept ${singleCode.code} must include system as "SYSTEM#CONCEPT" or "#CONCEPT from system SYSTEM"`, - { - file: this.currentFile, - location: this.extractStartStop(ctx) - } - ); - } - } else if (ctx.code().length > 1) { - if (from.system) { - ctx.code().forEach(code => { - const newCode = this.visitCode(code); - newCode.system = from.system; - concepts.push(newCode); - }); - } else { - logger.error('System is required when listing concepts in a value set component', { + const singleCode = this.visitCode(ctx.code()); + if (singleCode.system && from.system) { + logger.error(`Concept ${singleCode.code} specifies system multiple times`, { + file: this.currentFile, + location: this.extractStartStop(ctx) + }); + } else if (singleCode.system) { + from.system = singleCode.system; + concepts.push(singleCode); + } else if (from.system) { + singleCode.system = from.system; + concepts.push(singleCode); + } else { + logger.error( + `Concept ${singleCode.code} must include system as "SYSTEM#CONCEPT" or "#CONCEPT from system SYSTEM"`, + { file: this.currentFile, location: this.extractStartStop(ctx) - }); - } + } + ); } return [concepts, from]; } @@ -2479,9 +2468,9 @@ export class FSHImporter extends FSHVisitor { endColumn: ctx.stop.stop - ctx.stop.start + ctx.stop.column + 1 }; if ( + !suppressError && !(pc.containsPathContext(ctx) || pc.containsCodePathContext(ctx)) && - location.startColumn - DEFAULT_START_COLUMN > 0 && - !suppressError + location.startColumn - DEFAULT_START_COLUMN > 0 ) { logger.error( 'A rule that does not use a path cannot be indented to indicate context. The rule will be processed as if it is not indented.', diff --git a/src/import/generated/FSH.interp b/src/import/generated/FSH.interp index 712e78877..85a699d21 100644 --- a/src/import/generated/FSH.interp +++ b/src/import/generated/FSH.interp @@ -277,4 +277,4 @@ mostAlphaKeywords atn: -[4, 1, 89, 840, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 1, 0, 5, 0, 184, 8, 0, 10, 0, 12, 0, 187, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 203, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 4, 3, 213, 8, 3, 11, 3, 12, 3, 214, 1, 3, 5, 3, 218, 8, 3, 10, 3, 12, 3, 221, 9, 3, 1, 4, 1, 4, 1, 4, 1, 4, 5, 4, 227, 8, 4, 10, 4, 12, 4, 230, 9, 4, 1, 4, 5, 4, 233, 8, 4, 10, 4, 12, 4, 236, 9, 4, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 242, 8, 5, 10, 5, 12, 5, 245, 9, 5, 1, 5, 5, 5, 248, 8, 5, 10, 5, 12, 5, 251, 9, 5, 1, 6, 1, 6, 1, 6, 5, 6, 256, 8, 6, 10, 6, 12, 6, 259, 9, 6, 1, 6, 5, 6, 262, 8, 6, 10, 6, 12, 6, 265, 9, 6, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 271, 8, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 283, 8, 8, 1, 9, 1, 9, 1, 9, 3, 9, 288, 8, 9, 1, 10, 1, 10, 1, 10, 5, 10, 293, 8, 10, 10, 10, 12, 10, 296, 9, 10, 1, 10, 5, 10, 299, 8, 10, 10, 10, 12, 10, 302, 9, 10, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 308, 8, 11, 1, 12, 1, 12, 1, 12, 3, 12, 313, 8, 12, 1, 13, 1, 13, 1, 13, 5, 13, 318, 8, 13, 10, 13, 12, 13, 321, 9, 13, 1, 13, 5, 13, 324, 8, 13, 10, 13, 12, 13, 327, 9, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 333, 8, 14, 1, 15, 1, 15, 1, 15, 3, 15, 338, 8, 15, 1, 16, 1, 16, 1, 16, 5, 16, 343, 8, 16, 10, 16, 12, 16, 346, 9, 16, 1, 16, 5, 16, 349, 8, 16, 10, 16, 12, 16, 352, 9, 16, 1, 17, 1, 17, 1, 17, 3, 17, 357, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 364, 8, 18, 1, 19, 1, 19, 1, 19, 5, 19, 369, 8, 19, 10, 19, 12, 19, 372, 9, 19, 1, 19, 5, 19, 375, 8, 19, 10, 19, 12, 19, 378, 9, 19, 1, 20, 1, 20, 1, 20, 3, 20, 383, 8, 20, 1, 21, 1, 21, 1, 21, 3, 21, 388, 8, 21, 1, 22, 1, 22, 1, 22, 4, 22, 393, 8, 22, 11, 22, 12, 22, 394, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 405, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 5, 25, 413, 8, 25, 10, 25, 12, 25, 416, 9, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 5, 28, 426, 8, 28, 10, 28, 12, 28, 429, 9, 28, 1, 29, 1, 29, 1, 29, 5, 29, 434, 8, 29, 10, 29, 12, 29, 437, 9, 29, 1, 29, 5, 29, 440, 8, 29, 10, 29, 12, 29, 443, 9, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 450, 8, 30, 1, 31, 1, 31, 1, 31, 3, 31, 455, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 5, 43, 492, 8, 43, 10, 43, 12, 43, 495, 9, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 45, 1, 45, 1, 46, 1, 46, 5, 46, 505, 8, 46, 10, 46, 12, 46, 508, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 516, 8, 47, 10, 47, 12, 47, 519, 9, 47, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 525, 8, 48, 10, 48, 12, 48, 528, 9, 48, 1, 48, 4, 48, 531, 8, 48, 11, 48, 12, 48, 532, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 540, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 547, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 555, 8, 51, 10, 51, 12, 51, 558, 9, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 566, 8, 52, 10, 52, 12, 52, 569, 9, 52, 1, 53, 1, 53, 3, 53, 573, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 579, 8, 53, 10, 53, 12, 53, 582, 9, 53, 1, 54, 1, 54, 3, 54, 586, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 5, 55, 594, 8, 55, 10, 55, 12, 55, 597, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 3, 56, 605, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 610, 8, 56, 1, 56, 3, 56, 613, 8, 56, 1, 57, 1, 57, 3, 57, 617, 8, 57, 1, 57, 1, 57, 1, 57, 3, 57, 622, 8, 57, 1, 58, 1, 58, 5, 58, 626, 8, 58, 10, 58, 12, 58, 629, 9, 58, 1, 58, 1, 58, 1, 58, 3, 58, 634, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 640, 8, 59, 10, 59, 12, 59, 643, 9, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 649, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 655, 8, 60, 10, 60, 12, 60, 658, 9, 60, 1, 60, 1, 60, 1, 60, 5, 60, 663, 8, 60, 10, 60, 12, 60, 666, 9, 60, 1, 60, 1, 60, 3, 60, 670, 8, 60, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 677, 8, 62, 1, 62, 1, 62, 3, 62, 681, 8, 62, 1, 63, 1, 63, 3, 63, 685, 8, 63, 1, 63, 1, 63, 1, 63, 4, 63, 690, 8, 63, 11, 63, 12, 63, 691, 1, 63, 1, 63, 1, 63, 3, 63, 697, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 703, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 709, 8, 65, 1, 65, 1, 65, 1, 65, 3, 65, 714, 8, 65, 3, 65, 716, 8, 65, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 725, 8, 67, 10, 67, 12, 67, 728, 9, 67, 1, 68, 1, 68, 1, 68, 5, 68, 733, 8, 68, 10, 68, 12, 68, 736, 9, 68, 1, 69, 1, 69, 1, 69, 3, 69, 741, 8, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 750, 8, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 3, 73, 757, 8, 73, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 3, 77, 777, 8, 77, 1, 78, 1, 78, 1, 78, 3, 78, 782, 8, 78, 1, 78, 1, 78, 5, 78, 786, 8, 78, 10, 78, 12, 78, 789, 9, 78, 1, 79, 1, 79, 3, 79, 793, 8, 79, 1, 80, 1, 80, 4, 80, 797, 8, 80, 11, 80, 12, 80, 798, 1, 80, 3, 80, 802, 8, 80, 1, 80, 3, 80, 805, 8, 80, 1, 81, 1, 81, 1, 81, 3, 81, 810, 8, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 3, 83, 818, 8, 83, 1, 84, 1, 84, 1, 85, 1, 85, 1, 86, 1, 86, 1, 87, 1, 87, 3, 87, 828, 8, 87, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 836, 8, 89, 1, 90, 1, 90, 1, 90, 0, 0, 91, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 0, 15, 2, 0, 62, 62, 73, 73, 2, 0, 78, 78, 80, 80, 2, 0, 79, 79, 81, 81, 2, 0, 1, 4, 6, 10, 1, 0, 58, 59, 2, 0, 82, 82, 84, 84, 2, 0, 83, 83, 85, 85, 1, 0, 44, 45, 2, 0, 53, 53, 73, 73, 5, 0, 26, 30, 46, 46, 48, 49, 60, 60, 73, 73, 1, 0, 25, 30, 1, 0, 32, 35, 1, 0, 61, 62, 1, 0, 42, 43, 3, 0, 26, 31, 36, 49, 52, 52, 896, 0, 185, 1, 0, 0, 0, 2, 202, 1, 0, 0, 0, 4, 204, 1, 0, 0, 0, 6, 209, 1, 0, 0, 0, 8, 222, 1, 0, 0, 0, 10, 237, 1, 0, 0, 0, 12, 252, 1, 0, 0, 0, 14, 270, 1, 0, 0, 0, 16, 282, 1, 0, 0, 0, 18, 287, 1, 0, 0, 0, 20, 289, 1, 0, 0, 0, 22, 307, 1, 0, 0, 0, 24, 312, 1, 0, 0, 0, 26, 314, 1, 0, 0, 0, 28, 332, 1, 0, 0, 0, 30, 337, 1, 0, 0, 0, 32, 339, 1, 0, 0, 0, 34, 356, 1, 0, 0, 0, 36, 363, 1, 0, 0, 0, 38, 365, 1, 0, 0, 0, 40, 382, 1, 0, 0, 0, 42, 387, 1, 0, 0, 0, 44, 389, 1, 0, 0, 0, 46, 404, 1, 0, 0, 0, 48, 406, 1, 0, 0, 0, 50, 410, 1, 0, 0, 0, 52, 419, 1, 0, 0, 0, 54, 421, 1, 0, 0, 0, 56, 423, 1, 0, 0, 0, 58, 430, 1, 0, 0, 0, 60, 449, 1, 0, 0, 0, 62, 454, 1, 0, 0, 0, 64, 456, 1, 0, 0, 0, 66, 459, 1, 0, 0, 0, 68, 462, 1, 0, 0, 0, 70, 465, 1, 0, 0, 0, 72, 468, 1, 0, 0, 0, 74, 471, 1, 0, 0, 0, 76, 474, 1, 0, 0, 0, 78, 477, 1, 0, 0, 0, 80, 480, 1, 0, 0, 0, 82, 483, 1, 0, 0, 0, 84, 486, 1, 0, 0, 0, 86, 489, 1, 0, 0, 0, 88, 498, 1, 0, 0, 0, 90, 500, 1, 0, 0, 0, 92, 502, 1, 0, 0, 0, 94, 511, 1, 0, 0, 0, 96, 520, 1, 0, 0, 0, 98, 534, 1, 0, 0, 0, 100, 541, 1, 0, 0, 0, 102, 548, 1, 0, 0, 0, 104, 559, 1, 0, 0, 0, 106, 570, 1, 0, 0, 0, 108, 583, 1, 0, 0, 0, 110, 591, 1, 0, 0, 0, 112, 602, 1, 0, 0, 0, 114, 614, 1, 0, 0, 0, 116, 623, 1, 0, 0, 0, 118, 635, 1, 0, 0, 0, 120, 650, 1, 0, 0, 0, 122, 671, 1, 0, 0, 0, 124, 674, 1, 0, 0, 0, 126, 696, 1, 0, 0, 0, 128, 698, 1, 0, 0, 0, 130, 704, 1, 0, 0, 0, 132, 717, 1, 0, 0, 0, 134, 720, 1, 0, 0, 0, 136, 729, 1, 0, 0, 0, 138, 737, 1, 0, 0, 0, 140, 742, 1, 0, 0, 0, 142, 749, 1, 0, 0, 0, 144, 751, 1, 0, 0, 0, 146, 756, 1, 0, 0, 0, 148, 758, 1, 0, 0, 0, 150, 760, 1, 0, 0, 0, 152, 762, 1, 0, 0, 0, 154, 776, 1, 0, 0, 0, 156, 778, 1, 0, 0, 0, 158, 790, 1, 0, 0, 0, 160, 794, 1, 0, 0, 0, 162, 806, 1, 0, 0, 0, 164, 811, 1, 0, 0, 0, 166, 815, 1, 0, 0, 0, 168, 819, 1, 0, 0, 0, 170, 821, 1, 0, 0, 0, 172, 823, 1, 0, 0, 0, 174, 827, 1, 0, 0, 0, 176, 829, 1, 0, 0, 0, 178, 835, 1, 0, 0, 0, 180, 837, 1, 0, 0, 0, 182, 184, 3, 2, 1, 0, 183, 182, 1, 0, 0, 0, 184, 187, 1, 0, 0, 0, 185, 183, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 188, 1, 0, 0, 0, 187, 185, 1, 0, 0, 0, 188, 189, 5, 0, 0, 1, 189, 1, 1, 0, 0, 0, 190, 203, 3, 4, 2, 0, 191, 203, 3, 6, 3, 0, 192, 203, 3, 8, 4, 0, 193, 203, 3, 26, 13, 0, 194, 203, 3, 20, 10, 0, 195, 203, 3, 32, 16, 0, 196, 203, 3, 38, 19, 0, 197, 203, 3, 44, 22, 0, 198, 203, 3, 48, 24, 0, 199, 203, 3, 58, 29, 0, 200, 203, 3, 10, 5, 0, 201, 203, 3, 12, 6, 0, 202, 190, 1, 0, 0, 0, 202, 191, 1, 0, 0, 0, 202, 192, 1, 0, 0, 0, 202, 193, 1, 0, 0, 0, 202, 194, 1, 0, 0, 0, 202, 195, 1, 0, 0, 0, 202, 196, 1, 0, 0, 0, 202, 197, 1, 0, 0, 0, 202, 198, 1, 0, 0, 0, 202, 199, 1, 0, 0, 0, 202, 200, 1, 0, 0, 0, 202, 201, 1, 0, 0, 0, 203, 3, 1, 0, 0, 0, 204, 205, 5, 1, 0, 0, 205, 206, 5, 73, 0, 0, 206, 207, 5, 53, 0, 0, 207, 208, 7, 0, 0, 0, 208, 5, 1, 0, 0, 0, 209, 210, 5, 2, 0, 0, 210, 212, 3, 144, 72, 0, 211, 213, 3, 14, 7, 0, 212, 211, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 212, 1, 0, 0, 0, 214, 215, 1, 0, 0, 0, 215, 219, 1, 0, 0, 0, 216, 218, 3, 16, 8, 0, 217, 216, 1, 0, 0, 0, 218, 221, 1, 0, 0, 0, 219, 217, 1, 0, 0, 0, 219, 220, 1, 0, 0, 0, 220, 7, 1, 0, 0, 0, 221, 219, 1, 0, 0, 0, 222, 223, 5, 3, 0, 0, 223, 228, 3, 144, 72, 0, 224, 227, 3, 14, 7, 0, 225, 227, 3, 86, 43, 0, 226, 224, 1, 0, 0, 0, 226, 225, 1, 0, 0, 0, 227, 230, 1, 0, 0, 0, 228, 226, 1, 0, 0, 0, 228, 229, 1, 0, 0, 0, 229, 234, 1, 0, 0, 0, 230, 228, 1, 0, 0, 0, 231, 233, 3, 16, 8, 0, 232, 231, 1, 0, 0, 0, 233, 236, 1, 0, 0, 0, 234, 232, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 9, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 237, 238, 5, 11, 0, 0, 238, 243, 3, 144, 72, 0, 239, 242, 3, 14, 7, 0, 240, 242, 3, 92, 46, 0, 241, 239, 1, 0, 0, 0, 241, 240, 1, 0, 0, 0, 242, 245, 1, 0, 0, 0, 243, 241, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 249, 1, 0, 0, 0, 245, 243, 1, 0, 0, 0, 246, 248, 3, 18, 9, 0, 247, 246, 1, 0, 0, 0, 248, 251, 1, 0, 0, 0, 249, 247, 1, 0, 0, 0, 249, 250, 1, 0, 0, 0, 250, 11, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 252, 253, 5, 12, 0, 0, 253, 257, 3, 144, 72, 0, 254, 256, 3, 14, 7, 0, 255, 254, 1, 0, 0, 0, 256, 259, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 263, 1, 0, 0, 0, 259, 257, 1, 0, 0, 0, 260, 262, 3, 18, 9, 0, 261, 260, 1, 0, 0, 0, 262, 265, 1, 0, 0, 0, 263, 261, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 13, 1, 0, 0, 0, 265, 263, 1, 0, 0, 0, 266, 271, 3, 64, 32, 0, 267, 271, 3, 66, 33, 0, 268, 271, 3, 68, 34, 0, 269, 271, 3, 70, 35, 0, 270, 266, 1, 0, 0, 0, 270, 267, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 270, 269, 1, 0, 0, 0, 271, 15, 1, 0, 0, 0, 272, 283, 3, 94, 47, 0, 273, 283, 3, 96, 48, 0, 274, 283, 3, 98, 49, 0, 275, 283, 3, 100, 50, 0, 276, 283, 3, 102, 51, 0, 277, 283, 3, 104, 52, 0, 278, 283, 3, 106, 53, 0, 279, 283, 3, 108, 54, 0, 280, 283, 3, 114, 57, 0, 281, 283, 3, 122, 61, 0, 282, 272, 1, 0, 0, 0, 282, 273, 1, 0, 0, 0, 282, 274, 1, 0, 0, 0, 282, 275, 1, 0, 0, 0, 282, 276, 1, 0, 0, 0, 282, 277, 1, 0, 0, 0, 282, 278, 1, 0, 0, 0, 282, 279, 1, 0, 0, 0, 282, 280, 1, 0, 0, 0, 282, 281, 1, 0, 0, 0, 283, 17, 1, 0, 0, 0, 284, 288, 3, 16, 8, 0, 285, 288, 3, 120, 60, 0, 286, 288, 3, 118, 59, 0, 287, 284, 1, 0, 0, 0, 287, 285, 1, 0, 0, 0, 287, 286, 1, 0, 0, 0, 288, 19, 1, 0, 0, 0, 289, 290, 5, 4, 0, 0, 290, 294, 3, 144, 72, 0, 291, 293, 3, 22, 11, 0, 292, 291, 1, 0, 0, 0, 293, 296, 1, 0, 0, 0, 294, 292, 1, 0, 0, 0, 294, 295, 1, 0, 0, 0, 295, 300, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 297, 299, 3, 24, 12, 0, 298, 297, 1, 0, 0, 0, 299, 302, 1, 0, 0, 0, 300, 298, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 21, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 303, 308, 3, 78, 39, 0, 304, 308, 3, 68, 34, 0, 305, 308, 3, 70, 35, 0, 306, 308, 3, 80, 40, 0, 307, 303, 1, 0, 0, 0, 307, 304, 1, 0, 0, 0, 307, 305, 1, 0, 0, 0, 307, 306, 1, 0, 0, 0, 308, 23, 1, 0, 0, 0, 309, 313, 3, 100, 50, 0, 310, 313, 3, 114, 57, 0, 311, 313, 3, 122, 61, 0, 312, 309, 1, 0, 0, 0, 312, 310, 1, 0, 0, 0, 312, 311, 1, 0, 0, 0, 313, 25, 1, 0, 0, 0, 314, 315, 5, 6, 0, 0, 315, 319, 3, 144, 72, 0, 316, 318, 3, 28, 14, 0, 317, 316, 1, 0, 0, 0, 318, 321, 1, 0, 0, 0, 319, 317, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 325, 1, 0, 0, 0, 321, 319, 1, 0, 0, 0, 322, 324, 3, 30, 15, 0, 323, 322, 1, 0, 0, 0, 324, 327, 1, 0, 0, 0, 325, 323, 1, 0, 0, 0, 325, 326, 1, 0, 0, 0, 326, 27, 1, 0, 0, 0, 327, 325, 1, 0, 0, 0, 328, 333, 3, 70, 35, 0, 329, 333, 3, 72, 36, 0, 330, 333, 3, 74, 37, 0, 331, 333, 3, 76, 38, 0, 332, 328, 1, 0, 0, 0, 332, 329, 1, 0, 0, 0, 332, 330, 1, 0, 0, 0, 332, 331, 1, 0, 0, 0, 333, 29, 1, 0, 0, 0, 334, 338, 3, 100, 50, 0, 335, 338, 3, 114, 57, 0, 336, 338, 3, 122, 61, 0, 337, 334, 1, 0, 0, 0, 337, 335, 1, 0, 0, 0, 337, 336, 1, 0, 0, 0, 338, 31, 1, 0, 0, 0, 339, 340, 5, 7, 0, 0, 340, 344, 3, 144, 72, 0, 341, 343, 3, 34, 17, 0, 342, 341, 1, 0, 0, 0, 343, 346, 1, 0, 0, 0, 344, 342, 1, 0, 0, 0, 344, 345, 1, 0, 0, 0, 345, 350, 1, 0, 0, 0, 346, 344, 1, 0, 0, 0, 347, 349, 3, 36, 18, 0, 348, 347, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 33, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 353, 357, 3, 66, 33, 0, 354, 357, 3, 68, 34, 0, 355, 357, 3, 70, 35, 0, 356, 353, 1, 0, 0, 0, 356, 354, 1, 0, 0, 0, 356, 355, 1, 0, 0, 0, 357, 35, 1, 0, 0, 0, 358, 364, 3, 124, 62, 0, 359, 364, 3, 108, 54, 0, 360, 364, 3, 110, 55, 0, 361, 364, 3, 114, 57, 0, 362, 364, 3, 116, 58, 0, 363, 358, 1, 0, 0, 0, 363, 359, 1, 0, 0, 0, 363, 360, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 362, 1, 0, 0, 0, 364, 37, 1, 0, 0, 0, 365, 366, 5, 8, 0, 0, 366, 370, 3, 144, 72, 0, 367, 369, 3, 40, 20, 0, 368, 367, 1, 0, 0, 0, 369, 372, 1, 0, 0, 0, 370, 368, 1, 0, 0, 0, 370, 371, 1, 0, 0, 0, 371, 376, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 373, 375, 3, 42, 21, 0, 374, 373, 1, 0, 0, 0, 375, 378, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 39, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 379, 383, 3, 66, 33, 0, 380, 383, 3, 68, 34, 0, 381, 383, 3, 70, 35, 0, 382, 379, 1, 0, 0, 0, 382, 380, 1, 0, 0, 0, 382, 381, 1, 0, 0, 0, 383, 41, 1, 0, 0, 0, 384, 388, 3, 160, 80, 0, 385, 388, 3, 110, 55, 0, 386, 388, 3, 116, 58, 0, 387, 384, 1, 0, 0, 0, 387, 385, 1, 0, 0, 0, 387, 386, 1, 0, 0, 0, 388, 43, 1, 0, 0, 0, 389, 390, 5, 9, 0, 0, 390, 392, 5, 77, 0, 0, 391, 393, 3, 46, 23, 0, 392, 391, 1, 0, 0, 0, 393, 394, 1, 0, 0, 0, 394, 392, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 45, 1, 0, 0, 0, 396, 405, 3, 16, 8, 0, 397, 405, 3, 120, 60, 0, 398, 405, 3, 118, 59, 0, 399, 405, 3, 160, 80, 0, 400, 405, 3, 110, 55, 0, 401, 405, 3, 116, 58, 0, 402, 405, 3, 124, 62, 0, 403, 405, 3, 112, 56, 0, 404, 396, 1, 0, 0, 0, 404, 397, 1, 0, 0, 0, 404, 398, 1, 0, 0, 0, 404, 399, 1, 0, 0, 0, 404, 400, 1, 0, 0, 0, 404, 401, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 404, 403, 1, 0, 0, 0, 405, 47, 1, 0, 0, 0, 406, 407, 5, 9, 0, 0, 407, 408, 3, 50, 25, 0, 408, 409, 3, 56, 28, 0, 409, 49, 1, 0, 0, 0, 410, 414, 5, 76, 0, 0, 411, 413, 3, 52, 26, 0, 412, 411, 1, 0, 0, 0, 413, 416, 1, 0, 0, 0, 414, 412, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 417, 1, 0, 0, 0, 416, 414, 1, 0, 0, 0, 417, 418, 3, 54, 27, 0, 418, 51, 1, 0, 0, 0, 419, 420, 7, 1, 0, 0, 420, 53, 1, 0, 0, 0, 421, 422, 7, 2, 0, 0, 422, 55, 1, 0, 0, 0, 423, 427, 5, 54, 0, 0, 424, 426, 8, 3, 0, 0, 425, 424, 1, 0, 0, 0, 426, 429, 1, 0, 0, 0, 427, 425, 1, 0, 0, 0, 427, 428, 1, 0, 0, 0, 428, 57, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 430, 431, 5, 10, 0, 0, 431, 435, 3, 144, 72, 0, 432, 434, 3, 60, 30, 0, 433, 432, 1, 0, 0, 0, 434, 437, 1, 0, 0, 0, 435, 433, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 441, 1, 0, 0, 0, 437, 435, 1, 0, 0, 0, 438, 440, 3, 62, 31, 0, 439, 438, 1, 0, 0, 0, 440, 443, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 59, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 444, 450, 3, 66, 33, 0, 445, 450, 3, 82, 41, 0, 446, 450, 3, 84, 42, 0, 447, 450, 3, 70, 35, 0, 448, 450, 3, 68, 34, 0, 449, 444, 1, 0, 0, 0, 449, 445, 1, 0, 0, 0, 449, 446, 1, 0, 0, 0, 449, 447, 1, 0, 0, 0, 449, 448, 1, 0, 0, 0, 450, 61, 1, 0, 0, 0, 451, 455, 3, 112, 56, 0, 452, 455, 3, 114, 57, 0, 453, 455, 3, 122, 61, 0, 454, 451, 1, 0, 0, 0, 454, 452, 1, 0, 0, 0, 454, 453, 1, 0, 0, 0, 455, 63, 1, 0, 0, 0, 456, 457, 5, 13, 0, 0, 457, 458, 3, 144, 72, 0, 458, 65, 1, 0, 0, 0, 459, 460, 5, 14, 0, 0, 460, 461, 3, 144, 72, 0, 461, 67, 1, 0, 0, 0, 462, 463, 5, 15, 0, 0, 463, 464, 5, 58, 0, 0, 464, 69, 1, 0, 0, 0, 465, 466, 5, 16, 0, 0, 466, 467, 7, 4, 0, 0, 467, 71, 1, 0, 0, 0, 468, 469, 5, 17, 0, 0, 469, 470, 5, 58, 0, 0, 470, 73, 1, 0, 0, 0, 471, 472, 5, 18, 0, 0, 472, 473, 5, 58, 0, 0, 473, 75, 1, 0, 0, 0, 474, 475, 5, 19, 0, 0, 475, 476, 5, 62, 0, 0, 476, 77, 1, 0, 0, 0, 477, 478, 5, 5, 0, 0, 478, 479, 3, 144, 72, 0, 479, 79, 1, 0, 0, 0, 480, 481, 5, 20, 0, 0, 481, 482, 5, 62, 0, 0, 482, 81, 1, 0, 0, 0, 483, 484, 5, 21, 0, 0, 484, 485, 3, 144, 72, 0, 485, 83, 1, 0, 0, 0, 486, 487, 5, 22, 0, 0, 487, 488, 5, 58, 0, 0, 488, 85, 1, 0, 0, 0, 489, 493, 5, 23, 0, 0, 490, 492, 3, 88, 44, 0, 491, 490, 1, 0, 0, 0, 492, 495, 1, 0, 0, 0, 493, 491, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0, 494, 496, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 496, 497, 3, 90, 45, 0, 497, 87, 1, 0, 0, 0, 498, 499, 7, 5, 0, 0, 499, 89, 1, 0, 0, 0, 500, 501, 7, 6, 0, 0, 501, 91, 1, 0, 0, 0, 502, 506, 5, 24, 0, 0, 503, 505, 5, 87, 0, 0, 504, 503, 1, 0, 0, 0, 505, 508, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 509, 1, 0, 0, 0, 508, 506, 1, 0, 0, 0, 509, 510, 5, 88, 0, 0, 510, 93, 1, 0, 0, 0, 511, 512, 5, 54, 0, 0, 512, 513, 3, 146, 73, 0, 513, 517, 5, 66, 0, 0, 514, 516, 3, 150, 75, 0, 515, 514, 1, 0, 0, 0, 516, 519, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 95, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 521, 5, 54, 0, 0, 521, 526, 3, 146, 73, 0, 522, 523, 5, 38, 0, 0, 523, 525, 3, 146, 73, 0, 524, 522, 1, 0, 0, 0, 525, 528, 1, 0, 0, 0, 526, 524, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 530, 1, 0, 0, 0, 528, 526, 1, 0, 0, 0, 529, 531, 3, 150, 75, 0, 530, 529, 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 530, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533, 97, 1, 0, 0, 0, 534, 535, 5, 54, 0, 0, 535, 536, 3, 146, 73, 0, 536, 537, 5, 31, 0, 0, 537, 539, 3, 144, 72, 0, 538, 540, 3, 152, 76, 0, 539, 538, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 99, 1, 0, 0, 0, 541, 542, 5, 54, 0, 0, 542, 543, 3, 146, 73, 0, 543, 544, 5, 53, 0, 0, 544, 546, 3, 154, 77, 0, 545, 547, 5, 50, 0, 0, 546, 545, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 101, 1, 0, 0, 0, 548, 549, 5, 54, 0, 0, 549, 550, 3, 146, 73, 0, 550, 551, 5, 36, 0, 0, 551, 556, 3, 156, 78, 0, 552, 553, 5, 38, 0, 0, 553, 555, 3, 156, 78, 0, 554, 552, 1, 0, 0, 0, 555, 558, 1, 0, 0, 0, 556, 554, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 103, 1, 0, 0, 0, 558, 556, 1, 0, 0, 0, 559, 560, 5, 54, 0, 0, 560, 561, 3, 146, 73, 0, 561, 562, 5, 39, 0, 0, 562, 567, 3, 178, 89, 0, 563, 564, 5, 40, 0, 0, 564, 566, 3, 178, 89, 0, 565, 563, 1, 0, 0, 0, 566, 569, 1, 0, 0, 0, 567, 565, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 105, 1, 0, 0, 0, 569, 567, 1, 0, 0, 0, 570, 572, 5, 54, 0, 0, 571, 573, 3, 146, 73, 0, 572, 571, 1, 0, 0, 0, 572, 573, 1, 0, 0, 0, 573, 574, 1, 0, 0, 0, 574, 575, 5, 41, 0, 0, 575, 580, 3, 144, 72, 0, 576, 577, 5, 38, 0, 0, 577, 579, 3, 144, 72, 0, 578, 576, 1, 0, 0, 0, 579, 582, 1, 0, 0, 0, 580, 578, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 107, 1, 0, 0, 0, 582, 580, 1, 0, 0, 0, 583, 585, 5, 54, 0, 0, 584, 586, 3, 146, 73, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 3, 148, 74, 0, 588, 589, 5, 53, 0, 0, 589, 590, 3, 154, 77, 0, 590, 109, 1, 0, 0, 0, 591, 595, 5, 54, 0, 0, 592, 594, 5, 62, 0, 0, 593, 592, 1, 0, 0, 0, 594, 597, 1, 0, 0, 0, 595, 593, 1, 0, 0, 0, 595, 596, 1, 0, 0, 0, 596, 598, 1, 0, 0, 0, 597, 595, 1, 0, 0, 0, 598, 599, 3, 148, 74, 0, 599, 600, 5, 53, 0, 0, 600, 601, 3, 154, 77, 0, 601, 111, 1, 0, 0, 0, 602, 604, 5, 54, 0, 0, 603, 605, 3, 146, 73, 0, 604, 603, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 1, 0, 0, 0, 606, 607, 5, 57, 0, 0, 607, 609, 5, 58, 0, 0, 608, 610, 5, 58, 0, 0, 609, 608, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 612, 1, 0, 0, 0, 611, 613, 5, 62, 0, 0, 612, 611, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 113, 1, 0, 0, 0, 614, 616, 5, 54, 0, 0, 615, 617, 3, 146, 73, 0, 616, 615, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, 618, 1, 0, 0, 0, 618, 621, 5, 51, 0, 0, 619, 622, 5, 77, 0, 0, 620, 622, 3, 50, 25, 0, 621, 619, 1, 0, 0, 0, 621, 620, 1, 0, 0, 0, 622, 115, 1, 0, 0, 0, 623, 627, 5, 54, 0, 0, 624, 626, 5, 62, 0, 0, 625, 624, 1, 0, 0, 0, 626, 629, 1, 0, 0, 0, 627, 625, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 630, 1, 0, 0, 0, 629, 627, 1, 0, 0, 0, 630, 633, 5, 51, 0, 0, 631, 634, 5, 77, 0, 0, 632, 634, 3, 50, 25, 0, 633, 631, 1, 0, 0, 0, 633, 632, 1, 0, 0, 0, 634, 117, 1, 0, 0, 0, 635, 636, 5, 54, 0, 0, 636, 637, 3, 146, 73, 0, 637, 641, 5, 66, 0, 0, 638, 640, 3, 150, 75, 0, 639, 638, 1, 0, 0, 0, 640, 643, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 641, 642, 1, 0, 0, 0, 642, 644, 1, 0, 0, 0, 643, 641, 1, 0, 0, 0, 644, 645, 5, 52, 0, 0, 645, 646, 7, 0, 0, 0, 646, 648, 5, 58, 0, 0, 647, 649, 7, 4, 0, 0, 648, 647, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 119, 1, 0, 0, 0, 650, 651, 5, 54, 0, 0, 651, 652, 3, 146, 73, 0, 652, 656, 5, 66, 0, 0, 653, 655, 3, 150, 75, 0, 654, 653, 1, 0, 0, 0, 655, 658, 1, 0, 0, 0, 656, 654, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 659, 1, 0, 0, 0, 658, 656, 1, 0, 0, 0, 659, 664, 3, 178, 89, 0, 660, 661, 5, 40, 0, 0, 661, 663, 3, 178, 89, 0, 662, 660, 1, 0, 0, 0, 663, 666, 1, 0, 0, 0, 664, 662, 1, 0, 0, 0, 664, 665, 1, 0, 0, 0, 665, 667, 1, 0, 0, 0, 666, 664, 1, 0, 0, 0, 667, 669, 5, 58, 0, 0, 668, 670, 7, 4, 0, 0, 669, 668, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 121, 1, 0, 0, 0, 671, 672, 5, 54, 0, 0, 672, 673, 3, 146, 73, 0, 673, 123, 1, 0, 0, 0, 674, 676, 5, 54, 0, 0, 675, 677, 7, 7, 0, 0, 676, 675, 1, 0, 0, 0, 676, 677, 1, 0, 0, 0, 677, 680, 1, 0, 0, 0, 678, 681, 3, 126, 63, 0, 679, 681, 3, 128, 64, 0, 680, 678, 1, 0, 0, 0, 680, 679, 1, 0, 0, 0, 681, 125, 1, 0, 0, 0, 682, 684, 3, 158, 79, 0, 683, 685, 3, 130, 65, 0, 684, 683, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 697, 1, 0, 0, 0, 686, 687, 3, 158, 79, 0, 687, 688, 5, 38, 0, 0, 688, 690, 1, 0, 0, 0, 689, 686, 1, 0, 0, 0, 690, 691, 1, 0, 0, 0, 691, 689, 1, 0, 0, 0, 691, 692, 1, 0, 0, 0, 692, 693, 1, 0, 0, 0, 693, 694, 3, 158, 79, 0, 694, 695, 3, 130, 65, 0, 695, 697, 1, 0, 0, 0, 696, 682, 1, 0, 0, 0, 696, 689, 1, 0, 0, 0, 697, 127, 1, 0, 0, 0, 698, 699, 5, 46, 0, 0, 699, 702, 3, 130, 65, 0, 700, 701, 5, 47, 0, 0, 701, 703, 3, 136, 68, 0, 702, 700, 1, 0, 0, 0, 702, 703, 1, 0, 0, 0, 703, 129, 1, 0, 0, 0, 704, 715, 5, 31, 0, 0, 705, 708, 3, 132, 66, 0, 706, 707, 5, 38, 0, 0, 707, 709, 3, 134, 67, 0, 708, 706, 1, 0, 0, 0, 708, 709, 1, 0, 0, 0, 709, 716, 1, 0, 0, 0, 710, 713, 3, 134, 67, 0, 711, 712, 5, 38, 0, 0, 712, 714, 3, 132, 66, 0, 713, 711, 1, 0, 0, 0, 713, 714, 1, 0, 0, 0, 714, 716, 1, 0, 0, 0, 715, 705, 1, 0, 0, 0, 715, 710, 1, 0, 0, 0, 716, 131, 1, 0, 0, 0, 717, 718, 5, 49, 0, 0, 718, 719, 3, 144, 72, 0, 719, 133, 1, 0, 0, 0, 720, 721, 5, 48, 0, 0, 721, 726, 3, 144, 72, 0, 722, 723, 5, 38, 0, 0, 723, 725, 3, 144, 72, 0, 724, 722, 1, 0, 0, 0, 725, 728, 1, 0, 0, 0, 726, 724, 1, 0, 0, 0, 726, 727, 1, 0, 0, 0, 727, 135, 1, 0, 0, 0, 728, 726, 1, 0, 0, 0, 729, 734, 3, 138, 69, 0, 730, 731, 5, 38, 0, 0, 731, 733, 3, 138, 69, 0, 732, 730, 1, 0, 0, 0, 733, 736, 1, 0, 0, 0, 734, 732, 1, 0, 0, 0, 734, 735, 1, 0, 0, 0, 735, 137, 1, 0, 0, 0, 736, 734, 1, 0, 0, 0, 737, 738, 3, 144, 72, 0, 738, 740, 3, 140, 70, 0, 739, 741, 3, 142, 71, 0, 740, 739, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 139, 1, 0, 0, 0, 742, 743, 7, 8, 0, 0, 743, 141, 1, 0, 0, 0, 744, 750, 3, 158, 79, 0, 745, 750, 5, 42, 0, 0, 746, 750, 5, 43, 0, 0, 747, 750, 5, 71, 0, 0, 748, 750, 5, 58, 0, 0, 749, 744, 1, 0, 0, 0, 749, 745, 1, 0, 0, 0, 749, 746, 1, 0, 0, 0, 749, 747, 1, 0, 0, 0, 749, 748, 1, 0, 0, 0, 750, 143, 1, 0, 0, 0, 751, 752, 7, 9, 0, 0, 752, 145, 1, 0, 0, 0, 753, 757, 5, 73, 0, 0, 754, 757, 5, 60, 0, 0, 755, 757, 3, 180, 90, 0, 756, 753, 1, 0, 0, 0, 756, 754, 1, 0, 0, 0, 756, 755, 1, 0, 0, 0, 757, 147, 1, 0, 0, 0, 758, 759, 5, 70, 0, 0, 759, 149, 1, 0, 0, 0, 760, 761, 7, 10, 0, 0, 761, 151, 1, 0, 0, 0, 762, 763, 7, 11, 0, 0, 763, 153, 1, 0, 0, 0, 764, 777, 5, 58, 0, 0, 765, 777, 5, 59, 0, 0, 766, 777, 5, 60, 0, 0, 767, 777, 5, 64, 0, 0, 768, 777, 5, 65, 0, 0, 769, 777, 3, 166, 83, 0, 770, 777, 3, 172, 86, 0, 771, 777, 3, 158, 79, 0, 772, 777, 3, 162, 81, 0, 773, 777, 3, 164, 82, 0, 774, 777, 3, 176, 88, 0, 775, 777, 3, 144, 72, 0, 776, 764, 1, 0, 0, 0, 776, 765, 1, 0, 0, 0, 776, 766, 1, 0, 0, 0, 776, 767, 1, 0, 0, 0, 776, 768, 1, 0, 0, 0, 776, 769, 1, 0, 0, 0, 776, 770, 1, 0, 0, 0, 776, 771, 1, 0, 0, 0, 776, 772, 1, 0, 0, 0, 776, 773, 1, 0, 0, 0, 776, 774, 1, 0, 0, 0, 776, 775, 1, 0, 0, 0, 777, 155, 1, 0, 0, 0, 778, 781, 3, 144, 72, 0, 779, 780, 5, 37, 0, 0, 780, 782, 3, 144, 72, 0, 781, 779, 1, 0, 0, 0, 781, 782, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 787, 5, 66, 0, 0, 784, 786, 3, 150, 75, 0, 785, 784, 1, 0, 0, 0, 786, 789, 1, 0, 0, 0, 787, 785, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 157, 1, 0, 0, 0, 789, 787, 1, 0, 0, 0, 790, 792, 5, 62, 0, 0, 791, 793, 5, 58, 0, 0, 792, 791, 1, 0, 0, 0, 792, 793, 1, 0, 0, 0, 793, 159, 1, 0, 0, 0, 794, 796, 5, 54, 0, 0, 795, 797, 5, 62, 0, 0, 796, 795, 1, 0, 0, 0, 797, 798, 1, 0, 0, 0, 798, 796, 1, 0, 0, 0, 798, 799, 1, 0, 0, 0, 799, 801, 1, 0, 0, 0, 800, 802, 5, 58, 0, 0, 801, 800, 1, 0, 0, 0, 801, 802, 1, 0, 0, 0, 802, 804, 1, 0, 0, 0, 803, 805, 7, 4, 0, 0, 804, 803, 1, 0, 0, 0, 804, 805, 1, 0, 0, 0, 805, 161, 1, 0, 0, 0, 806, 807, 5, 60, 0, 0, 807, 809, 7, 12, 0, 0, 808, 810, 5, 58, 0, 0, 809, 808, 1, 0, 0, 0, 809, 810, 1, 0, 0, 0, 810, 163, 1, 0, 0, 0, 811, 812, 3, 174, 87, 0, 812, 813, 5, 55, 0, 0, 813, 814, 3, 174, 87, 0, 814, 165, 1, 0, 0, 0, 815, 817, 5, 67, 0, 0, 816, 818, 5, 58, 0, 0, 817, 816, 1, 0, 0, 0, 817, 818, 1, 0, 0, 0, 818, 167, 1, 0, 0, 0, 819, 820, 5, 67, 0, 0, 820, 169, 1, 0, 0, 0, 821, 822, 5, 68, 0, 0, 822, 171, 1, 0, 0, 0, 823, 824, 5, 69, 0, 0, 824, 173, 1, 0, 0, 0, 825, 828, 5, 60, 0, 0, 826, 828, 3, 162, 81, 0, 827, 825, 1, 0, 0, 0, 827, 826, 1, 0, 0, 0, 828, 175, 1, 0, 0, 0, 829, 830, 7, 13, 0, 0, 830, 177, 1, 0, 0, 0, 831, 836, 3, 144, 72, 0, 832, 836, 3, 168, 84, 0, 833, 836, 3, 172, 86, 0, 834, 836, 3, 170, 85, 0, 835, 831, 1, 0, 0, 0, 835, 832, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 835, 834, 1, 0, 0, 0, 836, 179, 1, 0, 0, 0, 837, 838, 7, 14, 0, 0, 838, 181, 1, 0, 0, 0, 89, 185, 202, 214, 219, 226, 228, 234, 241, 243, 249, 257, 263, 270, 282, 287, 294, 300, 307, 312, 319, 325, 332, 337, 344, 350, 356, 363, 370, 376, 382, 387, 394, 404, 414, 427, 435, 441, 449, 454, 493, 506, 517, 526, 532, 539, 546, 556, 567, 572, 580, 585, 595, 604, 609, 612, 616, 621, 627, 633, 641, 648, 656, 664, 669, 676, 680, 684, 691, 696, 702, 708, 713, 715, 726, 734, 740, 749, 756, 776, 781, 787, 792, 798, 801, 804, 809, 817, 827, 835] \ No newline at end of file +[4, 1, 89, 828, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 1, 0, 5, 0, 184, 8, 0, 10, 0, 12, 0, 187, 9, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 203, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 4, 3, 213, 8, 3, 11, 3, 12, 3, 214, 1, 3, 5, 3, 218, 8, 3, 10, 3, 12, 3, 221, 9, 3, 1, 4, 1, 4, 1, 4, 1, 4, 5, 4, 227, 8, 4, 10, 4, 12, 4, 230, 9, 4, 1, 4, 5, 4, 233, 8, 4, 10, 4, 12, 4, 236, 9, 4, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 242, 8, 5, 10, 5, 12, 5, 245, 9, 5, 1, 5, 5, 5, 248, 8, 5, 10, 5, 12, 5, 251, 9, 5, 1, 6, 1, 6, 1, 6, 5, 6, 256, 8, 6, 10, 6, 12, 6, 259, 9, 6, 1, 6, 5, 6, 262, 8, 6, 10, 6, 12, 6, 265, 9, 6, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 271, 8, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 283, 8, 8, 1, 9, 1, 9, 1, 9, 3, 9, 288, 8, 9, 1, 10, 1, 10, 1, 10, 5, 10, 293, 8, 10, 10, 10, 12, 10, 296, 9, 10, 1, 10, 5, 10, 299, 8, 10, 10, 10, 12, 10, 302, 9, 10, 1, 11, 1, 11, 1, 11, 1, 11, 3, 11, 308, 8, 11, 1, 12, 1, 12, 1, 12, 3, 12, 313, 8, 12, 1, 13, 1, 13, 1, 13, 5, 13, 318, 8, 13, 10, 13, 12, 13, 321, 9, 13, 1, 13, 5, 13, 324, 8, 13, 10, 13, 12, 13, 327, 9, 13, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 333, 8, 14, 1, 15, 1, 15, 1, 15, 3, 15, 338, 8, 15, 1, 16, 1, 16, 1, 16, 5, 16, 343, 8, 16, 10, 16, 12, 16, 346, 9, 16, 1, 16, 5, 16, 349, 8, 16, 10, 16, 12, 16, 352, 9, 16, 1, 17, 1, 17, 1, 17, 3, 17, 357, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 364, 8, 18, 1, 19, 1, 19, 1, 19, 5, 19, 369, 8, 19, 10, 19, 12, 19, 372, 9, 19, 1, 19, 5, 19, 375, 8, 19, 10, 19, 12, 19, 378, 9, 19, 1, 20, 1, 20, 1, 20, 3, 20, 383, 8, 20, 1, 21, 1, 21, 1, 21, 3, 21, 388, 8, 21, 1, 22, 1, 22, 1, 22, 4, 22, 393, 8, 22, 11, 22, 12, 22, 394, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 405, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 5, 25, 413, 8, 25, 10, 25, 12, 25, 416, 9, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 5, 28, 426, 8, 28, 10, 28, 12, 28, 429, 9, 28, 1, 29, 1, 29, 1, 29, 5, 29, 434, 8, 29, 10, 29, 12, 29, 437, 9, 29, 1, 29, 5, 29, 440, 8, 29, 10, 29, 12, 29, 443, 9, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 450, 8, 30, 1, 31, 1, 31, 1, 31, 3, 31, 455, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 5, 43, 492, 8, 43, 10, 43, 12, 43, 495, 9, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 45, 1, 45, 1, 46, 1, 46, 5, 46, 505, 8, 46, 10, 46, 12, 46, 508, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 516, 8, 47, 10, 47, 12, 47, 519, 9, 47, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 525, 8, 48, 10, 48, 12, 48, 528, 9, 48, 1, 48, 4, 48, 531, 8, 48, 11, 48, 12, 48, 532, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 540, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 547, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 5, 51, 555, 8, 51, 10, 51, 12, 51, 558, 9, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 566, 8, 52, 10, 52, 12, 52, 569, 9, 52, 1, 53, 1, 53, 3, 53, 573, 8, 53, 1, 53, 1, 53, 1, 53, 1, 53, 5, 53, 579, 8, 53, 10, 53, 12, 53, 582, 9, 53, 1, 54, 1, 54, 3, 54, 586, 8, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 5, 55, 594, 8, 55, 10, 55, 12, 55, 597, 9, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 3, 56, 605, 8, 56, 1, 56, 1, 56, 1, 56, 3, 56, 610, 8, 56, 1, 56, 3, 56, 613, 8, 56, 1, 57, 1, 57, 3, 57, 617, 8, 57, 1, 57, 1, 57, 1, 57, 3, 57, 622, 8, 57, 1, 58, 1, 58, 5, 58, 626, 8, 58, 10, 58, 12, 58, 629, 9, 58, 1, 58, 1, 58, 1, 58, 3, 58, 634, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 640, 8, 59, 10, 59, 12, 59, 643, 9, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 649, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 655, 8, 60, 10, 60, 12, 60, 658, 9, 60, 1, 60, 1, 60, 1, 60, 5, 60, 663, 8, 60, 10, 60, 12, 60, 666, 9, 60, 1, 60, 1, 60, 3, 60, 670, 8, 60, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 677, 8, 62, 1, 62, 1, 62, 3, 62, 681, 8, 62, 1, 63, 1, 63, 3, 63, 685, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 691, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 697, 8, 65, 1, 65, 1, 65, 1, 65, 3, 65, 702, 8, 65, 3, 65, 704, 8, 65, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 713, 8, 67, 10, 67, 12, 67, 716, 9, 67, 1, 68, 1, 68, 1, 68, 5, 68, 721, 8, 68, 10, 68, 12, 68, 724, 9, 68, 1, 69, 1, 69, 1, 69, 3, 69, 729, 8, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 738, 8, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 3, 73, 745, 8, 73, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 3, 77, 765, 8, 77, 1, 78, 1, 78, 1, 78, 3, 78, 770, 8, 78, 1, 78, 1, 78, 5, 78, 774, 8, 78, 10, 78, 12, 78, 777, 9, 78, 1, 79, 1, 79, 3, 79, 781, 8, 79, 1, 80, 1, 80, 4, 80, 785, 8, 80, 11, 80, 12, 80, 786, 1, 80, 3, 80, 790, 8, 80, 1, 80, 3, 80, 793, 8, 80, 1, 81, 1, 81, 1, 81, 3, 81, 798, 8, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 3, 83, 806, 8, 83, 1, 84, 1, 84, 1, 85, 1, 85, 1, 86, 1, 86, 1, 87, 1, 87, 3, 87, 816, 8, 87, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 3, 89, 824, 8, 89, 1, 90, 1, 90, 1, 90, 0, 0, 91, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 0, 15, 2, 0, 62, 62, 73, 73, 2, 0, 78, 78, 80, 80, 2, 0, 79, 79, 81, 81, 2, 0, 1, 4, 6, 10, 1, 0, 58, 59, 2, 0, 82, 82, 84, 84, 2, 0, 83, 83, 85, 85, 1, 0, 44, 45, 2, 0, 53, 53, 73, 73, 5, 0, 26, 30, 46, 46, 48, 49, 60, 60, 73, 73, 1, 0, 25, 30, 1, 0, 32, 35, 1, 0, 61, 62, 1, 0, 42, 43, 3, 0, 26, 31, 36, 49, 52, 52, 882, 0, 185, 1, 0, 0, 0, 2, 202, 1, 0, 0, 0, 4, 204, 1, 0, 0, 0, 6, 209, 1, 0, 0, 0, 8, 222, 1, 0, 0, 0, 10, 237, 1, 0, 0, 0, 12, 252, 1, 0, 0, 0, 14, 270, 1, 0, 0, 0, 16, 282, 1, 0, 0, 0, 18, 287, 1, 0, 0, 0, 20, 289, 1, 0, 0, 0, 22, 307, 1, 0, 0, 0, 24, 312, 1, 0, 0, 0, 26, 314, 1, 0, 0, 0, 28, 332, 1, 0, 0, 0, 30, 337, 1, 0, 0, 0, 32, 339, 1, 0, 0, 0, 34, 356, 1, 0, 0, 0, 36, 363, 1, 0, 0, 0, 38, 365, 1, 0, 0, 0, 40, 382, 1, 0, 0, 0, 42, 387, 1, 0, 0, 0, 44, 389, 1, 0, 0, 0, 46, 404, 1, 0, 0, 0, 48, 406, 1, 0, 0, 0, 50, 410, 1, 0, 0, 0, 52, 419, 1, 0, 0, 0, 54, 421, 1, 0, 0, 0, 56, 423, 1, 0, 0, 0, 58, 430, 1, 0, 0, 0, 60, 449, 1, 0, 0, 0, 62, 454, 1, 0, 0, 0, 64, 456, 1, 0, 0, 0, 66, 459, 1, 0, 0, 0, 68, 462, 1, 0, 0, 0, 70, 465, 1, 0, 0, 0, 72, 468, 1, 0, 0, 0, 74, 471, 1, 0, 0, 0, 76, 474, 1, 0, 0, 0, 78, 477, 1, 0, 0, 0, 80, 480, 1, 0, 0, 0, 82, 483, 1, 0, 0, 0, 84, 486, 1, 0, 0, 0, 86, 489, 1, 0, 0, 0, 88, 498, 1, 0, 0, 0, 90, 500, 1, 0, 0, 0, 92, 502, 1, 0, 0, 0, 94, 511, 1, 0, 0, 0, 96, 520, 1, 0, 0, 0, 98, 534, 1, 0, 0, 0, 100, 541, 1, 0, 0, 0, 102, 548, 1, 0, 0, 0, 104, 559, 1, 0, 0, 0, 106, 570, 1, 0, 0, 0, 108, 583, 1, 0, 0, 0, 110, 591, 1, 0, 0, 0, 112, 602, 1, 0, 0, 0, 114, 614, 1, 0, 0, 0, 116, 623, 1, 0, 0, 0, 118, 635, 1, 0, 0, 0, 120, 650, 1, 0, 0, 0, 122, 671, 1, 0, 0, 0, 124, 674, 1, 0, 0, 0, 126, 682, 1, 0, 0, 0, 128, 686, 1, 0, 0, 0, 130, 692, 1, 0, 0, 0, 132, 705, 1, 0, 0, 0, 134, 708, 1, 0, 0, 0, 136, 717, 1, 0, 0, 0, 138, 725, 1, 0, 0, 0, 140, 730, 1, 0, 0, 0, 142, 737, 1, 0, 0, 0, 144, 739, 1, 0, 0, 0, 146, 744, 1, 0, 0, 0, 148, 746, 1, 0, 0, 0, 150, 748, 1, 0, 0, 0, 152, 750, 1, 0, 0, 0, 154, 764, 1, 0, 0, 0, 156, 766, 1, 0, 0, 0, 158, 778, 1, 0, 0, 0, 160, 782, 1, 0, 0, 0, 162, 794, 1, 0, 0, 0, 164, 799, 1, 0, 0, 0, 166, 803, 1, 0, 0, 0, 168, 807, 1, 0, 0, 0, 170, 809, 1, 0, 0, 0, 172, 811, 1, 0, 0, 0, 174, 815, 1, 0, 0, 0, 176, 817, 1, 0, 0, 0, 178, 823, 1, 0, 0, 0, 180, 825, 1, 0, 0, 0, 182, 184, 3, 2, 1, 0, 183, 182, 1, 0, 0, 0, 184, 187, 1, 0, 0, 0, 185, 183, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0, 186, 188, 1, 0, 0, 0, 187, 185, 1, 0, 0, 0, 188, 189, 5, 0, 0, 1, 189, 1, 1, 0, 0, 0, 190, 203, 3, 4, 2, 0, 191, 203, 3, 6, 3, 0, 192, 203, 3, 8, 4, 0, 193, 203, 3, 26, 13, 0, 194, 203, 3, 20, 10, 0, 195, 203, 3, 32, 16, 0, 196, 203, 3, 38, 19, 0, 197, 203, 3, 44, 22, 0, 198, 203, 3, 48, 24, 0, 199, 203, 3, 58, 29, 0, 200, 203, 3, 10, 5, 0, 201, 203, 3, 12, 6, 0, 202, 190, 1, 0, 0, 0, 202, 191, 1, 0, 0, 0, 202, 192, 1, 0, 0, 0, 202, 193, 1, 0, 0, 0, 202, 194, 1, 0, 0, 0, 202, 195, 1, 0, 0, 0, 202, 196, 1, 0, 0, 0, 202, 197, 1, 0, 0, 0, 202, 198, 1, 0, 0, 0, 202, 199, 1, 0, 0, 0, 202, 200, 1, 0, 0, 0, 202, 201, 1, 0, 0, 0, 203, 3, 1, 0, 0, 0, 204, 205, 5, 1, 0, 0, 205, 206, 5, 73, 0, 0, 206, 207, 5, 53, 0, 0, 207, 208, 7, 0, 0, 0, 208, 5, 1, 0, 0, 0, 209, 210, 5, 2, 0, 0, 210, 212, 3, 144, 72, 0, 211, 213, 3, 14, 7, 0, 212, 211, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 212, 1, 0, 0, 0, 214, 215, 1, 0, 0, 0, 215, 219, 1, 0, 0, 0, 216, 218, 3, 16, 8, 0, 217, 216, 1, 0, 0, 0, 218, 221, 1, 0, 0, 0, 219, 217, 1, 0, 0, 0, 219, 220, 1, 0, 0, 0, 220, 7, 1, 0, 0, 0, 221, 219, 1, 0, 0, 0, 222, 223, 5, 3, 0, 0, 223, 228, 3, 144, 72, 0, 224, 227, 3, 14, 7, 0, 225, 227, 3, 86, 43, 0, 226, 224, 1, 0, 0, 0, 226, 225, 1, 0, 0, 0, 227, 230, 1, 0, 0, 0, 228, 226, 1, 0, 0, 0, 228, 229, 1, 0, 0, 0, 229, 234, 1, 0, 0, 0, 230, 228, 1, 0, 0, 0, 231, 233, 3, 16, 8, 0, 232, 231, 1, 0, 0, 0, 233, 236, 1, 0, 0, 0, 234, 232, 1, 0, 0, 0, 234, 235, 1, 0, 0, 0, 235, 9, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 237, 238, 5, 11, 0, 0, 238, 243, 3, 144, 72, 0, 239, 242, 3, 14, 7, 0, 240, 242, 3, 92, 46, 0, 241, 239, 1, 0, 0, 0, 241, 240, 1, 0, 0, 0, 242, 245, 1, 0, 0, 0, 243, 241, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 249, 1, 0, 0, 0, 245, 243, 1, 0, 0, 0, 246, 248, 3, 18, 9, 0, 247, 246, 1, 0, 0, 0, 248, 251, 1, 0, 0, 0, 249, 247, 1, 0, 0, 0, 249, 250, 1, 0, 0, 0, 250, 11, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 252, 253, 5, 12, 0, 0, 253, 257, 3, 144, 72, 0, 254, 256, 3, 14, 7, 0, 255, 254, 1, 0, 0, 0, 256, 259, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 263, 1, 0, 0, 0, 259, 257, 1, 0, 0, 0, 260, 262, 3, 18, 9, 0, 261, 260, 1, 0, 0, 0, 262, 265, 1, 0, 0, 0, 263, 261, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 13, 1, 0, 0, 0, 265, 263, 1, 0, 0, 0, 266, 271, 3, 64, 32, 0, 267, 271, 3, 66, 33, 0, 268, 271, 3, 68, 34, 0, 269, 271, 3, 70, 35, 0, 270, 266, 1, 0, 0, 0, 270, 267, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 270, 269, 1, 0, 0, 0, 271, 15, 1, 0, 0, 0, 272, 283, 3, 94, 47, 0, 273, 283, 3, 96, 48, 0, 274, 283, 3, 98, 49, 0, 275, 283, 3, 100, 50, 0, 276, 283, 3, 102, 51, 0, 277, 283, 3, 104, 52, 0, 278, 283, 3, 106, 53, 0, 279, 283, 3, 108, 54, 0, 280, 283, 3, 114, 57, 0, 281, 283, 3, 122, 61, 0, 282, 272, 1, 0, 0, 0, 282, 273, 1, 0, 0, 0, 282, 274, 1, 0, 0, 0, 282, 275, 1, 0, 0, 0, 282, 276, 1, 0, 0, 0, 282, 277, 1, 0, 0, 0, 282, 278, 1, 0, 0, 0, 282, 279, 1, 0, 0, 0, 282, 280, 1, 0, 0, 0, 282, 281, 1, 0, 0, 0, 283, 17, 1, 0, 0, 0, 284, 288, 3, 16, 8, 0, 285, 288, 3, 120, 60, 0, 286, 288, 3, 118, 59, 0, 287, 284, 1, 0, 0, 0, 287, 285, 1, 0, 0, 0, 287, 286, 1, 0, 0, 0, 288, 19, 1, 0, 0, 0, 289, 290, 5, 4, 0, 0, 290, 294, 3, 144, 72, 0, 291, 293, 3, 22, 11, 0, 292, 291, 1, 0, 0, 0, 293, 296, 1, 0, 0, 0, 294, 292, 1, 0, 0, 0, 294, 295, 1, 0, 0, 0, 295, 300, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 297, 299, 3, 24, 12, 0, 298, 297, 1, 0, 0, 0, 299, 302, 1, 0, 0, 0, 300, 298, 1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 21, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 303, 308, 3, 78, 39, 0, 304, 308, 3, 68, 34, 0, 305, 308, 3, 70, 35, 0, 306, 308, 3, 80, 40, 0, 307, 303, 1, 0, 0, 0, 307, 304, 1, 0, 0, 0, 307, 305, 1, 0, 0, 0, 307, 306, 1, 0, 0, 0, 308, 23, 1, 0, 0, 0, 309, 313, 3, 100, 50, 0, 310, 313, 3, 114, 57, 0, 311, 313, 3, 122, 61, 0, 312, 309, 1, 0, 0, 0, 312, 310, 1, 0, 0, 0, 312, 311, 1, 0, 0, 0, 313, 25, 1, 0, 0, 0, 314, 315, 5, 6, 0, 0, 315, 319, 3, 144, 72, 0, 316, 318, 3, 28, 14, 0, 317, 316, 1, 0, 0, 0, 318, 321, 1, 0, 0, 0, 319, 317, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 325, 1, 0, 0, 0, 321, 319, 1, 0, 0, 0, 322, 324, 3, 30, 15, 0, 323, 322, 1, 0, 0, 0, 324, 327, 1, 0, 0, 0, 325, 323, 1, 0, 0, 0, 325, 326, 1, 0, 0, 0, 326, 27, 1, 0, 0, 0, 327, 325, 1, 0, 0, 0, 328, 333, 3, 70, 35, 0, 329, 333, 3, 72, 36, 0, 330, 333, 3, 74, 37, 0, 331, 333, 3, 76, 38, 0, 332, 328, 1, 0, 0, 0, 332, 329, 1, 0, 0, 0, 332, 330, 1, 0, 0, 0, 332, 331, 1, 0, 0, 0, 333, 29, 1, 0, 0, 0, 334, 338, 3, 100, 50, 0, 335, 338, 3, 114, 57, 0, 336, 338, 3, 122, 61, 0, 337, 334, 1, 0, 0, 0, 337, 335, 1, 0, 0, 0, 337, 336, 1, 0, 0, 0, 338, 31, 1, 0, 0, 0, 339, 340, 5, 7, 0, 0, 340, 344, 3, 144, 72, 0, 341, 343, 3, 34, 17, 0, 342, 341, 1, 0, 0, 0, 343, 346, 1, 0, 0, 0, 344, 342, 1, 0, 0, 0, 344, 345, 1, 0, 0, 0, 345, 350, 1, 0, 0, 0, 346, 344, 1, 0, 0, 0, 347, 349, 3, 36, 18, 0, 348, 347, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 33, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 353, 357, 3, 66, 33, 0, 354, 357, 3, 68, 34, 0, 355, 357, 3, 70, 35, 0, 356, 353, 1, 0, 0, 0, 356, 354, 1, 0, 0, 0, 356, 355, 1, 0, 0, 0, 357, 35, 1, 0, 0, 0, 358, 364, 3, 124, 62, 0, 359, 364, 3, 108, 54, 0, 360, 364, 3, 110, 55, 0, 361, 364, 3, 114, 57, 0, 362, 364, 3, 116, 58, 0, 363, 358, 1, 0, 0, 0, 363, 359, 1, 0, 0, 0, 363, 360, 1, 0, 0, 0, 363, 361, 1, 0, 0, 0, 363, 362, 1, 0, 0, 0, 364, 37, 1, 0, 0, 0, 365, 366, 5, 8, 0, 0, 366, 370, 3, 144, 72, 0, 367, 369, 3, 40, 20, 0, 368, 367, 1, 0, 0, 0, 369, 372, 1, 0, 0, 0, 370, 368, 1, 0, 0, 0, 370, 371, 1, 0, 0, 0, 371, 376, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 373, 375, 3, 42, 21, 0, 374, 373, 1, 0, 0, 0, 375, 378, 1, 0, 0, 0, 376, 374, 1, 0, 0, 0, 376, 377, 1, 0, 0, 0, 377, 39, 1, 0, 0, 0, 378, 376, 1, 0, 0, 0, 379, 383, 3, 66, 33, 0, 380, 383, 3, 68, 34, 0, 381, 383, 3, 70, 35, 0, 382, 379, 1, 0, 0, 0, 382, 380, 1, 0, 0, 0, 382, 381, 1, 0, 0, 0, 383, 41, 1, 0, 0, 0, 384, 388, 3, 160, 80, 0, 385, 388, 3, 110, 55, 0, 386, 388, 3, 116, 58, 0, 387, 384, 1, 0, 0, 0, 387, 385, 1, 0, 0, 0, 387, 386, 1, 0, 0, 0, 388, 43, 1, 0, 0, 0, 389, 390, 5, 9, 0, 0, 390, 392, 5, 77, 0, 0, 391, 393, 3, 46, 23, 0, 392, 391, 1, 0, 0, 0, 393, 394, 1, 0, 0, 0, 394, 392, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 45, 1, 0, 0, 0, 396, 405, 3, 16, 8, 0, 397, 405, 3, 120, 60, 0, 398, 405, 3, 118, 59, 0, 399, 405, 3, 160, 80, 0, 400, 405, 3, 110, 55, 0, 401, 405, 3, 116, 58, 0, 402, 405, 3, 124, 62, 0, 403, 405, 3, 112, 56, 0, 404, 396, 1, 0, 0, 0, 404, 397, 1, 0, 0, 0, 404, 398, 1, 0, 0, 0, 404, 399, 1, 0, 0, 0, 404, 400, 1, 0, 0, 0, 404, 401, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 404, 403, 1, 0, 0, 0, 405, 47, 1, 0, 0, 0, 406, 407, 5, 9, 0, 0, 407, 408, 3, 50, 25, 0, 408, 409, 3, 56, 28, 0, 409, 49, 1, 0, 0, 0, 410, 414, 5, 76, 0, 0, 411, 413, 3, 52, 26, 0, 412, 411, 1, 0, 0, 0, 413, 416, 1, 0, 0, 0, 414, 412, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 417, 1, 0, 0, 0, 416, 414, 1, 0, 0, 0, 417, 418, 3, 54, 27, 0, 418, 51, 1, 0, 0, 0, 419, 420, 7, 1, 0, 0, 420, 53, 1, 0, 0, 0, 421, 422, 7, 2, 0, 0, 422, 55, 1, 0, 0, 0, 423, 427, 5, 54, 0, 0, 424, 426, 8, 3, 0, 0, 425, 424, 1, 0, 0, 0, 426, 429, 1, 0, 0, 0, 427, 425, 1, 0, 0, 0, 427, 428, 1, 0, 0, 0, 428, 57, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 430, 431, 5, 10, 0, 0, 431, 435, 3, 144, 72, 0, 432, 434, 3, 60, 30, 0, 433, 432, 1, 0, 0, 0, 434, 437, 1, 0, 0, 0, 435, 433, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 441, 1, 0, 0, 0, 437, 435, 1, 0, 0, 0, 438, 440, 3, 62, 31, 0, 439, 438, 1, 0, 0, 0, 440, 443, 1, 0, 0, 0, 441, 439, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 59, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 444, 450, 3, 66, 33, 0, 445, 450, 3, 82, 41, 0, 446, 450, 3, 84, 42, 0, 447, 450, 3, 70, 35, 0, 448, 450, 3, 68, 34, 0, 449, 444, 1, 0, 0, 0, 449, 445, 1, 0, 0, 0, 449, 446, 1, 0, 0, 0, 449, 447, 1, 0, 0, 0, 449, 448, 1, 0, 0, 0, 450, 61, 1, 0, 0, 0, 451, 455, 3, 112, 56, 0, 452, 455, 3, 114, 57, 0, 453, 455, 3, 122, 61, 0, 454, 451, 1, 0, 0, 0, 454, 452, 1, 0, 0, 0, 454, 453, 1, 0, 0, 0, 455, 63, 1, 0, 0, 0, 456, 457, 5, 13, 0, 0, 457, 458, 3, 144, 72, 0, 458, 65, 1, 0, 0, 0, 459, 460, 5, 14, 0, 0, 460, 461, 3, 144, 72, 0, 461, 67, 1, 0, 0, 0, 462, 463, 5, 15, 0, 0, 463, 464, 5, 58, 0, 0, 464, 69, 1, 0, 0, 0, 465, 466, 5, 16, 0, 0, 466, 467, 7, 4, 0, 0, 467, 71, 1, 0, 0, 0, 468, 469, 5, 17, 0, 0, 469, 470, 5, 58, 0, 0, 470, 73, 1, 0, 0, 0, 471, 472, 5, 18, 0, 0, 472, 473, 5, 58, 0, 0, 473, 75, 1, 0, 0, 0, 474, 475, 5, 19, 0, 0, 475, 476, 5, 62, 0, 0, 476, 77, 1, 0, 0, 0, 477, 478, 5, 5, 0, 0, 478, 479, 3, 144, 72, 0, 479, 79, 1, 0, 0, 0, 480, 481, 5, 20, 0, 0, 481, 482, 5, 62, 0, 0, 482, 81, 1, 0, 0, 0, 483, 484, 5, 21, 0, 0, 484, 485, 3, 144, 72, 0, 485, 83, 1, 0, 0, 0, 486, 487, 5, 22, 0, 0, 487, 488, 5, 58, 0, 0, 488, 85, 1, 0, 0, 0, 489, 493, 5, 23, 0, 0, 490, 492, 3, 88, 44, 0, 491, 490, 1, 0, 0, 0, 492, 495, 1, 0, 0, 0, 493, 491, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0, 494, 496, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 496, 497, 3, 90, 45, 0, 497, 87, 1, 0, 0, 0, 498, 499, 7, 5, 0, 0, 499, 89, 1, 0, 0, 0, 500, 501, 7, 6, 0, 0, 501, 91, 1, 0, 0, 0, 502, 506, 5, 24, 0, 0, 503, 505, 5, 87, 0, 0, 504, 503, 1, 0, 0, 0, 505, 508, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 509, 1, 0, 0, 0, 508, 506, 1, 0, 0, 0, 509, 510, 5, 88, 0, 0, 510, 93, 1, 0, 0, 0, 511, 512, 5, 54, 0, 0, 512, 513, 3, 146, 73, 0, 513, 517, 5, 66, 0, 0, 514, 516, 3, 150, 75, 0, 515, 514, 1, 0, 0, 0, 516, 519, 1, 0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 95, 1, 0, 0, 0, 519, 517, 1, 0, 0, 0, 520, 521, 5, 54, 0, 0, 521, 526, 3, 146, 73, 0, 522, 523, 5, 38, 0, 0, 523, 525, 3, 146, 73, 0, 524, 522, 1, 0, 0, 0, 525, 528, 1, 0, 0, 0, 526, 524, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 530, 1, 0, 0, 0, 528, 526, 1, 0, 0, 0, 529, 531, 3, 150, 75, 0, 530, 529, 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 530, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533, 97, 1, 0, 0, 0, 534, 535, 5, 54, 0, 0, 535, 536, 3, 146, 73, 0, 536, 537, 5, 31, 0, 0, 537, 539, 3, 144, 72, 0, 538, 540, 3, 152, 76, 0, 539, 538, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 99, 1, 0, 0, 0, 541, 542, 5, 54, 0, 0, 542, 543, 3, 146, 73, 0, 543, 544, 5, 53, 0, 0, 544, 546, 3, 154, 77, 0, 545, 547, 5, 50, 0, 0, 546, 545, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 101, 1, 0, 0, 0, 548, 549, 5, 54, 0, 0, 549, 550, 3, 146, 73, 0, 550, 551, 5, 36, 0, 0, 551, 556, 3, 156, 78, 0, 552, 553, 5, 38, 0, 0, 553, 555, 3, 156, 78, 0, 554, 552, 1, 0, 0, 0, 555, 558, 1, 0, 0, 0, 556, 554, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 103, 1, 0, 0, 0, 558, 556, 1, 0, 0, 0, 559, 560, 5, 54, 0, 0, 560, 561, 3, 146, 73, 0, 561, 562, 5, 39, 0, 0, 562, 567, 3, 178, 89, 0, 563, 564, 5, 40, 0, 0, 564, 566, 3, 178, 89, 0, 565, 563, 1, 0, 0, 0, 566, 569, 1, 0, 0, 0, 567, 565, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 105, 1, 0, 0, 0, 569, 567, 1, 0, 0, 0, 570, 572, 5, 54, 0, 0, 571, 573, 3, 146, 73, 0, 572, 571, 1, 0, 0, 0, 572, 573, 1, 0, 0, 0, 573, 574, 1, 0, 0, 0, 574, 575, 5, 41, 0, 0, 575, 580, 3, 144, 72, 0, 576, 577, 5, 38, 0, 0, 577, 579, 3, 144, 72, 0, 578, 576, 1, 0, 0, 0, 579, 582, 1, 0, 0, 0, 580, 578, 1, 0, 0, 0, 580, 581, 1, 0, 0, 0, 581, 107, 1, 0, 0, 0, 582, 580, 1, 0, 0, 0, 583, 585, 5, 54, 0, 0, 584, 586, 3, 146, 73, 0, 585, 584, 1, 0, 0, 0, 585, 586, 1, 0, 0, 0, 586, 587, 1, 0, 0, 0, 587, 588, 3, 148, 74, 0, 588, 589, 5, 53, 0, 0, 589, 590, 3, 154, 77, 0, 590, 109, 1, 0, 0, 0, 591, 595, 5, 54, 0, 0, 592, 594, 5, 62, 0, 0, 593, 592, 1, 0, 0, 0, 594, 597, 1, 0, 0, 0, 595, 593, 1, 0, 0, 0, 595, 596, 1, 0, 0, 0, 596, 598, 1, 0, 0, 0, 597, 595, 1, 0, 0, 0, 598, 599, 3, 148, 74, 0, 599, 600, 5, 53, 0, 0, 600, 601, 3, 154, 77, 0, 601, 111, 1, 0, 0, 0, 602, 604, 5, 54, 0, 0, 603, 605, 3, 146, 73, 0, 604, 603, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 1, 0, 0, 0, 606, 607, 5, 57, 0, 0, 607, 609, 5, 58, 0, 0, 608, 610, 5, 58, 0, 0, 609, 608, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 612, 1, 0, 0, 0, 611, 613, 5, 62, 0, 0, 612, 611, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 113, 1, 0, 0, 0, 614, 616, 5, 54, 0, 0, 615, 617, 3, 146, 73, 0, 616, 615, 1, 0, 0, 0, 616, 617, 1, 0, 0, 0, 617, 618, 1, 0, 0, 0, 618, 621, 5, 51, 0, 0, 619, 622, 5, 77, 0, 0, 620, 622, 3, 50, 25, 0, 621, 619, 1, 0, 0, 0, 621, 620, 1, 0, 0, 0, 622, 115, 1, 0, 0, 0, 623, 627, 5, 54, 0, 0, 624, 626, 5, 62, 0, 0, 625, 624, 1, 0, 0, 0, 626, 629, 1, 0, 0, 0, 627, 625, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 630, 1, 0, 0, 0, 629, 627, 1, 0, 0, 0, 630, 633, 5, 51, 0, 0, 631, 634, 5, 77, 0, 0, 632, 634, 3, 50, 25, 0, 633, 631, 1, 0, 0, 0, 633, 632, 1, 0, 0, 0, 634, 117, 1, 0, 0, 0, 635, 636, 5, 54, 0, 0, 636, 637, 3, 146, 73, 0, 637, 641, 5, 66, 0, 0, 638, 640, 3, 150, 75, 0, 639, 638, 1, 0, 0, 0, 640, 643, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 641, 642, 1, 0, 0, 0, 642, 644, 1, 0, 0, 0, 643, 641, 1, 0, 0, 0, 644, 645, 5, 52, 0, 0, 645, 646, 7, 0, 0, 0, 646, 648, 5, 58, 0, 0, 647, 649, 7, 4, 0, 0, 648, 647, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 119, 1, 0, 0, 0, 650, 651, 5, 54, 0, 0, 651, 652, 3, 146, 73, 0, 652, 656, 5, 66, 0, 0, 653, 655, 3, 150, 75, 0, 654, 653, 1, 0, 0, 0, 655, 658, 1, 0, 0, 0, 656, 654, 1, 0, 0, 0, 656, 657, 1, 0, 0, 0, 657, 659, 1, 0, 0, 0, 658, 656, 1, 0, 0, 0, 659, 664, 3, 178, 89, 0, 660, 661, 5, 40, 0, 0, 661, 663, 3, 178, 89, 0, 662, 660, 1, 0, 0, 0, 663, 666, 1, 0, 0, 0, 664, 662, 1, 0, 0, 0, 664, 665, 1, 0, 0, 0, 665, 667, 1, 0, 0, 0, 666, 664, 1, 0, 0, 0, 667, 669, 5, 58, 0, 0, 668, 670, 7, 4, 0, 0, 669, 668, 1, 0, 0, 0, 669, 670, 1, 0, 0, 0, 670, 121, 1, 0, 0, 0, 671, 672, 5, 54, 0, 0, 672, 673, 3, 146, 73, 0, 673, 123, 1, 0, 0, 0, 674, 676, 5, 54, 0, 0, 675, 677, 7, 7, 0, 0, 676, 675, 1, 0, 0, 0, 676, 677, 1, 0, 0, 0, 677, 680, 1, 0, 0, 0, 678, 681, 3, 126, 63, 0, 679, 681, 3, 128, 64, 0, 680, 678, 1, 0, 0, 0, 680, 679, 1, 0, 0, 0, 681, 125, 1, 0, 0, 0, 682, 684, 3, 158, 79, 0, 683, 685, 3, 130, 65, 0, 684, 683, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 127, 1, 0, 0, 0, 686, 687, 5, 46, 0, 0, 687, 690, 3, 130, 65, 0, 688, 689, 5, 47, 0, 0, 689, 691, 3, 136, 68, 0, 690, 688, 1, 0, 0, 0, 690, 691, 1, 0, 0, 0, 691, 129, 1, 0, 0, 0, 692, 703, 5, 31, 0, 0, 693, 696, 3, 132, 66, 0, 694, 695, 5, 38, 0, 0, 695, 697, 3, 134, 67, 0, 696, 694, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 704, 1, 0, 0, 0, 698, 701, 3, 134, 67, 0, 699, 700, 5, 38, 0, 0, 700, 702, 3, 132, 66, 0, 701, 699, 1, 0, 0, 0, 701, 702, 1, 0, 0, 0, 702, 704, 1, 0, 0, 0, 703, 693, 1, 0, 0, 0, 703, 698, 1, 0, 0, 0, 704, 131, 1, 0, 0, 0, 705, 706, 5, 49, 0, 0, 706, 707, 3, 144, 72, 0, 707, 133, 1, 0, 0, 0, 708, 709, 5, 48, 0, 0, 709, 714, 3, 144, 72, 0, 710, 711, 5, 38, 0, 0, 711, 713, 3, 144, 72, 0, 712, 710, 1, 0, 0, 0, 713, 716, 1, 0, 0, 0, 714, 712, 1, 0, 0, 0, 714, 715, 1, 0, 0, 0, 715, 135, 1, 0, 0, 0, 716, 714, 1, 0, 0, 0, 717, 722, 3, 138, 69, 0, 718, 719, 5, 38, 0, 0, 719, 721, 3, 138, 69, 0, 720, 718, 1, 0, 0, 0, 721, 724, 1, 0, 0, 0, 722, 720, 1, 0, 0, 0, 722, 723, 1, 0, 0, 0, 723, 137, 1, 0, 0, 0, 724, 722, 1, 0, 0, 0, 725, 726, 3, 144, 72, 0, 726, 728, 3, 140, 70, 0, 727, 729, 3, 142, 71, 0, 728, 727, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 139, 1, 0, 0, 0, 730, 731, 7, 8, 0, 0, 731, 141, 1, 0, 0, 0, 732, 738, 3, 158, 79, 0, 733, 738, 5, 42, 0, 0, 734, 738, 5, 43, 0, 0, 735, 738, 5, 71, 0, 0, 736, 738, 5, 58, 0, 0, 737, 732, 1, 0, 0, 0, 737, 733, 1, 0, 0, 0, 737, 734, 1, 0, 0, 0, 737, 735, 1, 0, 0, 0, 737, 736, 1, 0, 0, 0, 738, 143, 1, 0, 0, 0, 739, 740, 7, 9, 0, 0, 740, 145, 1, 0, 0, 0, 741, 745, 5, 73, 0, 0, 742, 745, 5, 60, 0, 0, 743, 745, 3, 180, 90, 0, 744, 741, 1, 0, 0, 0, 744, 742, 1, 0, 0, 0, 744, 743, 1, 0, 0, 0, 745, 147, 1, 0, 0, 0, 746, 747, 5, 70, 0, 0, 747, 149, 1, 0, 0, 0, 748, 749, 7, 10, 0, 0, 749, 151, 1, 0, 0, 0, 750, 751, 7, 11, 0, 0, 751, 153, 1, 0, 0, 0, 752, 765, 5, 58, 0, 0, 753, 765, 5, 59, 0, 0, 754, 765, 5, 60, 0, 0, 755, 765, 5, 64, 0, 0, 756, 765, 5, 65, 0, 0, 757, 765, 3, 166, 83, 0, 758, 765, 3, 172, 86, 0, 759, 765, 3, 158, 79, 0, 760, 765, 3, 162, 81, 0, 761, 765, 3, 164, 82, 0, 762, 765, 3, 176, 88, 0, 763, 765, 3, 144, 72, 0, 764, 752, 1, 0, 0, 0, 764, 753, 1, 0, 0, 0, 764, 754, 1, 0, 0, 0, 764, 755, 1, 0, 0, 0, 764, 756, 1, 0, 0, 0, 764, 757, 1, 0, 0, 0, 764, 758, 1, 0, 0, 0, 764, 759, 1, 0, 0, 0, 764, 760, 1, 0, 0, 0, 764, 761, 1, 0, 0, 0, 764, 762, 1, 0, 0, 0, 764, 763, 1, 0, 0, 0, 765, 155, 1, 0, 0, 0, 766, 769, 3, 144, 72, 0, 767, 768, 5, 37, 0, 0, 768, 770, 3, 144, 72, 0, 769, 767, 1, 0, 0, 0, 769, 770, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 775, 5, 66, 0, 0, 772, 774, 3, 150, 75, 0, 773, 772, 1, 0, 0, 0, 774, 777, 1, 0, 0, 0, 775, 773, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 776, 157, 1, 0, 0, 0, 777, 775, 1, 0, 0, 0, 778, 780, 5, 62, 0, 0, 779, 781, 5, 58, 0, 0, 780, 779, 1, 0, 0, 0, 780, 781, 1, 0, 0, 0, 781, 159, 1, 0, 0, 0, 782, 784, 5, 54, 0, 0, 783, 785, 5, 62, 0, 0, 784, 783, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 784, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 789, 1, 0, 0, 0, 788, 790, 5, 58, 0, 0, 789, 788, 1, 0, 0, 0, 789, 790, 1, 0, 0, 0, 790, 792, 1, 0, 0, 0, 791, 793, 7, 4, 0, 0, 792, 791, 1, 0, 0, 0, 792, 793, 1, 0, 0, 0, 793, 161, 1, 0, 0, 0, 794, 795, 5, 60, 0, 0, 795, 797, 7, 12, 0, 0, 796, 798, 5, 58, 0, 0, 797, 796, 1, 0, 0, 0, 797, 798, 1, 0, 0, 0, 798, 163, 1, 0, 0, 0, 799, 800, 3, 174, 87, 0, 800, 801, 5, 55, 0, 0, 801, 802, 3, 174, 87, 0, 802, 165, 1, 0, 0, 0, 803, 805, 5, 67, 0, 0, 804, 806, 5, 58, 0, 0, 805, 804, 1, 0, 0, 0, 805, 806, 1, 0, 0, 0, 806, 167, 1, 0, 0, 0, 807, 808, 5, 67, 0, 0, 808, 169, 1, 0, 0, 0, 809, 810, 5, 68, 0, 0, 810, 171, 1, 0, 0, 0, 811, 812, 5, 69, 0, 0, 812, 173, 1, 0, 0, 0, 813, 816, 5, 60, 0, 0, 814, 816, 3, 162, 81, 0, 815, 813, 1, 0, 0, 0, 815, 814, 1, 0, 0, 0, 816, 175, 1, 0, 0, 0, 817, 818, 7, 13, 0, 0, 818, 177, 1, 0, 0, 0, 819, 824, 3, 144, 72, 0, 820, 824, 3, 168, 84, 0, 821, 824, 3, 172, 86, 0, 822, 824, 3, 170, 85, 0, 823, 819, 1, 0, 0, 0, 823, 820, 1, 0, 0, 0, 823, 821, 1, 0, 0, 0, 823, 822, 1, 0, 0, 0, 824, 179, 1, 0, 0, 0, 825, 826, 7, 14, 0, 0, 826, 181, 1, 0, 0, 0, 87, 185, 202, 214, 219, 226, 228, 234, 241, 243, 249, 257, 263, 270, 282, 287, 294, 300, 307, 312, 319, 325, 332, 337, 344, 350, 356, 363, 370, 376, 382, 387, 394, 404, 414, 427, 435, 441, 449, 454, 493, 506, 517, 526, 532, 539, 546, 556, 567, 572, 580, 585, 595, 604, 609, 612, 616, 621, 627, 633, 641, 648, 656, 664, 669, 676, 680, 684, 690, 696, 701, 703, 714, 722, 728, 737, 744, 764, 769, 775, 780, 786, 789, 792, 797, 805, 815, 823] \ No newline at end of file diff --git a/src/import/generated/FSHParser.js b/src/import/generated/FSHParser.js index 5448eabf2..c41677f54 100644 --- a/src/import/generated/FSHParser.js +++ b/src/import/generated/FSHParser.js @@ -4,7 +4,7 @@ import antlr4 from 'antlr4'; import FSHListener from './FSHListener.js'; import FSHVisitor from './FSHVisitor.js'; -const serializedATN = [4,1,89,840,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7, +const serializedATN = [4,1,89,828,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7, 4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12, 2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2, 20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27, @@ -56,26 +56,25 @@ const serializedATN = [4,1,89,840,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7, 59,1,59,3,59,649,8,59,1,60,1,60,1,60,1,60,5,60,655,8,60,10,60,12,60,658, 9,60,1,60,1,60,1,60,5,60,663,8,60,10,60,12,60,666,9,60,1,60,1,60,3,60,670, 8,60,1,61,1,61,1,61,1,62,1,62,3,62,677,8,62,1,62,1,62,3,62,681,8,62,1,63, -1,63,3,63,685,8,63,1,63,1,63,1,63,4,63,690,8,63,11,63,12,63,691,1,63,1,63, -1,63,3,63,697,8,63,1,64,1,64,1,64,1,64,3,64,703,8,64,1,65,1,65,1,65,1,65, -3,65,709,8,65,1,65,1,65,1,65,3,65,714,8,65,3,65,716,8,65,1,66,1,66,1,66, -1,67,1,67,1,67,1,67,5,67,725,8,67,10,67,12,67,728,9,67,1,68,1,68,1,68,5, -68,733,8,68,10,68,12,68,736,9,68,1,69,1,69,1,69,3,69,741,8,69,1,70,1,70, -1,71,1,71,1,71,1,71,1,71,3,71,750,8,71,1,72,1,72,1,73,1,73,1,73,3,73,757, +1,63,3,63,685,8,63,1,64,1,64,1,64,1,64,3,64,691,8,64,1,65,1,65,1,65,1,65, +3,65,697,8,65,1,65,1,65,1,65,3,65,702,8,65,3,65,704,8,65,1,66,1,66,1,66, +1,67,1,67,1,67,1,67,5,67,713,8,67,10,67,12,67,716,9,67,1,68,1,68,1,68,5, +68,721,8,68,10,68,12,68,724,9,68,1,69,1,69,1,69,3,69,729,8,69,1,70,1,70, +1,71,1,71,1,71,1,71,1,71,3,71,738,8,71,1,72,1,72,1,73,1,73,1,73,3,73,745, 8,73,1,74,1,74,1,75,1,75,1,76,1,76,1,77,1,77,1,77,1,77,1,77,1,77,1,77,1, -77,1,77,1,77,1,77,1,77,3,77,777,8,77,1,78,1,78,1,78,3,78,782,8,78,1,78,1, -78,5,78,786,8,78,10,78,12,78,789,9,78,1,79,1,79,3,79,793,8,79,1,80,1,80, -4,80,797,8,80,11,80,12,80,798,1,80,3,80,802,8,80,1,80,3,80,805,8,80,1,81, -1,81,1,81,3,81,810,8,81,1,82,1,82,1,82,1,82,1,83,1,83,3,83,818,8,83,1,84, -1,84,1,85,1,85,1,86,1,86,1,87,1,87,3,87,828,8,87,1,88,1,88,1,89,1,89,1,89, -1,89,3,89,836,8,89,1,90,1,90,1,90,0,0,91,0,2,4,6,8,10,12,14,16,18,20,22, +77,1,77,1,77,1,77,1,77,3,77,765,8,77,1,78,1,78,1,78,3,78,770,8,78,1,78,1, +78,5,78,774,8,78,10,78,12,78,777,9,78,1,79,1,79,3,79,781,8,79,1,80,1,80, +4,80,785,8,80,11,80,12,80,786,1,80,3,80,790,8,80,1,80,3,80,793,8,80,1,81, +1,81,1,81,3,81,798,8,81,1,82,1,82,1,82,1,82,1,83,1,83,3,83,806,8,83,1,84, +1,84,1,85,1,85,1,86,1,86,1,87,1,87,3,87,816,8,87,1,88,1,88,1,89,1,89,1,89, +1,89,3,89,824,8,89,1,90,1,90,1,90,0,0,91,0,2,4,6,8,10,12,14,16,18,20,22, 24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70, 72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114, 116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150, 152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,0,15,2,0,62, 62,73,73,2,0,78,78,80,80,2,0,79,79,81,81,2,0,1,4,6,10,1,0,58,59,2,0,82,82, 84,84,2,0,83,83,85,85,1,0,44,45,2,0,53,53,73,73,5,0,26,30,46,46,48,49,60, -60,73,73,1,0,25,30,1,0,32,35,1,0,61,62,1,0,42,43,3,0,26,31,36,49,52,52,896, +60,73,73,1,0,25,30,1,0,32,35,1,0,61,62,1,0,42,43,3,0,26,31,36,49,52,52,882, 0,185,1,0,0,0,2,202,1,0,0,0,4,204,1,0,0,0,6,209,1,0,0,0,8,222,1,0,0,0,10, 237,1,0,0,0,12,252,1,0,0,0,14,270,1,0,0,0,16,282,1,0,0,0,18,287,1,0,0,0, 20,289,1,0,0,0,22,307,1,0,0,0,24,312,1,0,0,0,26,314,1,0,0,0,28,332,1,0,0, @@ -89,13 +88,13 @@ const serializedATN = [4,1,89,840,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7, 1,0,0,0,100,541,1,0,0,0,102,548,1,0,0,0,104,559,1,0,0,0,106,570,1,0,0,0, 108,583,1,0,0,0,110,591,1,0,0,0,112,602,1,0,0,0,114,614,1,0,0,0,116,623, 1,0,0,0,118,635,1,0,0,0,120,650,1,0,0,0,122,671,1,0,0,0,124,674,1,0,0,0, -126,696,1,0,0,0,128,698,1,0,0,0,130,704,1,0,0,0,132,717,1,0,0,0,134,720, -1,0,0,0,136,729,1,0,0,0,138,737,1,0,0,0,140,742,1,0,0,0,142,749,1,0,0,0, -144,751,1,0,0,0,146,756,1,0,0,0,148,758,1,0,0,0,150,760,1,0,0,0,152,762, -1,0,0,0,154,776,1,0,0,0,156,778,1,0,0,0,158,790,1,0,0,0,160,794,1,0,0,0, -162,806,1,0,0,0,164,811,1,0,0,0,166,815,1,0,0,0,168,819,1,0,0,0,170,821, -1,0,0,0,172,823,1,0,0,0,174,827,1,0,0,0,176,829,1,0,0,0,178,835,1,0,0,0, -180,837,1,0,0,0,182,184,3,2,1,0,183,182,1,0,0,0,184,187,1,0,0,0,185,183, +126,682,1,0,0,0,128,686,1,0,0,0,130,692,1,0,0,0,132,705,1,0,0,0,134,708, +1,0,0,0,136,717,1,0,0,0,138,725,1,0,0,0,140,730,1,0,0,0,142,737,1,0,0,0, +144,739,1,0,0,0,146,744,1,0,0,0,148,746,1,0,0,0,150,748,1,0,0,0,152,750, +1,0,0,0,154,764,1,0,0,0,156,766,1,0,0,0,158,778,1,0,0,0,160,782,1,0,0,0, +162,794,1,0,0,0,164,799,1,0,0,0,166,803,1,0,0,0,168,807,1,0,0,0,170,809, +1,0,0,0,172,811,1,0,0,0,174,815,1,0,0,0,176,817,1,0,0,0,178,823,1,0,0,0, +180,825,1,0,0,0,182,184,3,2,1,0,183,182,1,0,0,0,184,187,1,0,0,0,185,183, 1,0,0,0,185,186,1,0,0,0,186,188,1,0,0,0,187,185,1,0,0,0,188,189,5,0,0,1, 189,1,1,0,0,0,190,203,3,4,2,0,191,203,3,6,3,0,192,203,3,8,4,0,193,203,3, 26,13,0,194,203,3,20,10,0,195,203,3,32,16,0,196,203,3,38,19,0,197,203,3, @@ -235,56 +234,52 @@ const serializedATN = [4,1,89,840,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7, 675,677,7,7,0,0,676,675,1,0,0,0,676,677,1,0,0,0,677,680,1,0,0,0,678,681, 3,126,63,0,679,681,3,128,64,0,680,678,1,0,0,0,680,679,1,0,0,0,681,125,1, 0,0,0,682,684,3,158,79,0,683,685,3,130,65,0,684,683,1,0,0,0,684,685,1,0, -0,0,685,697,1,0,0,0,686,687,3,158,79,0,687,688,5,38,0,0,688,690,1,0,0,0, -689,686,1,0,0,0,690,691,1,0,0,0,691,689,1,0,0,0,691,692,1,0,0,0,692,693, -1,0,0,0,693,694,3,158,79,0,694,695,3,130,65,0,695,697,1,0,0,0,696,682,1, -0,0,0,696,689,1,0,0,0,697,127,1,0,0,0,698,699,5,46,0,0,699,702,3,130,65, -0,700,701,5,47,0,0,701,703,3,136,68,0,702,700,1,0,0,0,702,703,1,0,0,0,703, -129,1,0,0,0,704,715,5,31,0,0,705,708,3,132,66,0,706,707,5,38,0,0,707,709, -3,134,67,0,708,706,1,0,0,0,708,709,1,0,0,0,709,716,1,0,0,0,710,713,3,134, -67,0,711,712,5,38,0,0,712,714,3,132,66,0,713,711,1,0,0,0,713,714,1,0,0,0, -714,716,1,0,0,0,715,705,1,0,0,0,715,710,1,0,0,0,716,131,1,0,0,0,717,718, -5,49,0,0,718,719,3,144,72,0,719,133,1,0,0,0,720,721,5,48,0,0,721,726,3,144, -72,0,722,723,5,38,0,0,723,725,3,144,72,0,724,722,1,0,0,0,725,728,1,0,0,0, -726,724,1,0,0,0,726,727,1,0,0,0,727,135,1,0,0,0,728,726,1,0,0,0,729,734, -3,138,69,0,730,731,5,38,0,0,731,733,3,138,69,0,732,730,1,0,0,0,733,736,1, -0,0,0,734,732,1,0,0,0,734,735,1,0,0,0,735,137,1,0,0,0,736,734,1,0,0,0,737, -738,3,144,72,0,738,740,3,140,70,0,739,741,3,142,71,0,740,739,1,0,0,0,740, -741,1,0,0,0,741,139,1,0,0,0,742,743,7,8,0,0,743,141,1,0,0,0,744,750,3,158, -79,0,745,750,5,42,0,0,746,750,5,43,0,0,747,750,5,71,0,0,748,750,5,58,0,0, -749,744,1,0,0,0,749,745,1,0,0,0,749,746,1,0,0,0,749,747,1,0,0,0,749,748, -1,0,0,0,750,143,1,0,0,0,751,752,7,9,0,0,752,145,1,0,0,0,753,757,5,73,0,0, -754,757,5,60,0,0,755,757,3,180,90,0,756,753,1,0,0,0,756,754,1,0,0,0,756, -755,1,0,0,0,757,147,1,0,0,0,758,759,5,70,0,0,759,149,1,0,0,0,760,761,7,10, -0,0,761,151,1,0,0,0,762,763,7,11,0,0,763,153,1,0,0,0,764,777,5,58,0,0,765, -777,5,59,0,0,766,777,5,60,0,0,767,777,5,64,0,0,768,777,5,65,0,0,769,777, -3,166,83,0,770,777,3,172,86,0,771,777,3,158,79,0,772,777,3,162,81,0,773, -777,3,164,82,0,774,777,3,176,88,0,775,777,3,144,72,0,776,764,1,0,0,0,776, -765,1,0,0,0,776,766,1,0,0,0,776,767,1,0,0,0,776,768,1,0,0,0,776,769,1,0, -0,0,776,770,1,0,0,0,776,771,1,0,0,0,776,772,1,0,0,0,776,773,1,0,0,0,776, -774,1,0,0,0,776,775,1,0,0,0,777,155,1,0,0,0,778,781,3,144,72,0,779,780,5, -37,0,0,780,782,3,144,72,0,781,779,1,0,0,0,781,782,1,0,0,0,782,783,1,0,0, -0,783,787,5,66,0,0,784,786,3,150,75,0,785,784,1,0,0,0,786,789,1,0,0,0,787, -785,1,0,0,0,787,788,1,0,0,0,788,157,1,0,0,0,789,787,1,0,0,0,790,792,5,62, -0,0,791,793,5,58,0,0,792,791,1,0,0,0,792,793,1,0,0,0,793,159,1,0,0,0,794, -796,5,54,0,0,795,797,5,62,0,0,796,795,1,0,0,0,797,798,1,0,0,0,798,796,1, -0,0,0,798,799,1,0,0,0,799,801,1,0,0,0,800,802,5,58,0,0,801,800,1,0,0,0,801, -802,1,0,0,0,802,804,1,0,0,0,803,805,7,4,0,0,804,803,1,0,0,0,804,805,1,0, -0,0,805,161,1,0,0,0,806,807,5,60,0,0,807,809,7,12,0,0,808,810,5,58,0,0,809, -808,1,0,0,0,809,810,1,0,0,0,810,163,1,0,0,0,811,812,3,174,87,0,812,813,5, -55,0,0,813,814,3,174,87,0,814,165,1,0,0,0,815,817,5,67,0,0,816,818,5,58, -0,0,817,816,1,0,0,0,817,818,1,0,0,0,818,167,1,0,0,0,819,820,5,67,0,0,820, -169,1,0,0,0,821,822,5,68,0,0,822,171,1,0,0,0,823,824,5,69,0,0,824,173,1, -0,0,0,825,828,5,60,0,0,826,828,3,162,81,0,827,825,1,0,0,0,827,826,1,0,0, -0,828,175,1,0,0,0,829,830,7,13,0,0,830,177,1,0,0,0,831,836,3,144,72,0,832, -836,3,168,84,0,833,836,3,172,86,0,834,836,3,170,85,0,835,831,1,0,0,0,835, -832,1,0,0,0,835,833,1,0,0,0,835,834,1,0,0,0,836,179,1,0,0,0,837,838,7,14, -0,0,838,181,1,0,0,0,89,185,202,214,219,226,228,234,241,243,249,257,263,270, -282,287,294,300,307,312,319,325,332,337,344,350,356,363,370,376,382,387, -394,404,414,427,435,441,449,454,493,506,517,526,532,539,546,556,567,572, -580,585,595,604,609,612,616,621,627,633,641,648,656,664,669,676,680,684, -691,696,702,708,713,715,726,734,740,749,756,776,781,787,792,798,801,804, -809,817,827,835]; +0,0,685,127,1,0,0,0,686,687,5,46,0,0,687,690,3,130,65,0,688,689,5,47,0,0, +689,691,3,136,68,0,690,688,1,0,0,0,690,691,1,0,0,0,691,129,1,0,0,0,692,703, +5,31,0,0,693,696,3,132,66,0,694,695,5,38,0,0,695,697,3,134,67,0,696,694, +1,0,0,0,696,697,1,0,0,0,697,704,1,0,0,0,698,701,3,134,67,0,699,700,5,38, +0,0,700,702,3,132,66,0,701,699,1,0,0,0,701,702,1,0,0,0,702,704,1,0,0,0,703, +693,1,0,0,0,703,698,1,0,0,0,704,131,1,0,0,0,705,706,5,49,0,0,706,707,3,144, +72,0,707,133,1,0,0,0,708,709,5,48,0,0,709,714,3,144,72,0,710,711,5,38,0, +0,711,713,3,144,72,0,712,710,1,0,0,0,713,716,1,0,0,0,714,712,1,0,0,0,714, +715,1,0,0,0,715,135,1,0,0,0,716,714,1,0,0,0,717,722,3,138,69,0,718,719,5, +38,0,0,719,721,3,138,69,0,720,718,1,0,0,0,721,724,1,0,0,0,722,720,1,0,0, +0,722,723,1,0,0,0,723,137,1,0,0,0,724,722,1,0,0,0,725,726,3,144,72,0,726, +728,3,140,70,0,727,729,3,142,71,0,728,727,1,0,0,0,728,729,1,0,0,0,729,139, +1,0,0,0,730,731,7,8,0,0,731,141,1,0,0,0,732,738,3,158,79,0,733,738,5,42, +0,0,734,738,5,43,0,0,735,738,5,71,0,0,736,738,5,58,0,0,737,732,1,0,0,0,737, +733,1,0,0,0,737,734,1,0,0,0,737,735,1,0,0,0,737,736,1,0,0,0,738,143,1,0, +0,0,739,740,7,9,0,0,740,145,1,0,0,0,741,745,5,73,0,0,742,745,5,60,0,0,743, +745,3,180,90,0,744,741,1,0,0,0,744,742,1,0,0,0,744,743,1,0,0,0,745,147,1, +0,0,0,746,747,5,70,0,0,747,149,1,0,0,0,748,749,7,10,0,0,749,151,1,0,0,0, +750,751,7,11,0,0,751,153,1,0,0,0,752,765,5,58,0,0,753,765,5,59,0,0,754,765, +5,60,0,0,755,765,5,64,0,0,756,765,5,65,0,0,757,765,3,166,83,0,758,765,3, +172,86,0,759,765,3,158,79,0,760,765,3,162,81,0,761,765,3,164,82,0,762,765, +3,176,88,0,763,765,3,144,72,0,764,752,1,0,0,0,764,753,1,0,0,0,764,754,1, +0,0,0,764,755,1,0,0,0,764,756,1,0,0,0,764,757,1,0,0,0,764,758,1,0,0,0,764, +759,1,0,0,0,764,760,1,0,0,0,764,761,1,0,0,0,764,762,1,0,0,0,764,763,1,0, +0,0,765,155,1,0,0,0,766,769,3,144,72,0,767,768,5,37,0,0,768,770,3,144,72, +0,769,767,1,0,0,0,769,770,1,0,0,0,770,771,1,0,0,0,771,775,5,66,0,0,772,774, +3,150,75,0,773,772,1,0,0,0,774,777,1,0,0,0,775,773,1,0,0,0,775,776,1,0,0, +0,776,157,1,0,0,0,777,775,1,0,0,0,778,780,5,62,0,0,779,781,5,58,0,0,780, +779,1,0,0,0,780,781,1,0,0,0,781,159,1,0,0,0,782,784,5,54,0,0,783,785,5,62, +0,0,784,783,1,0,0,0,785,786,1,0,0,0,786,784,1,0,0,0,786,787,1,0,0,0,787, +789,1,0,0,0,788,790,5,58,0,0,789,788,1,0,0,0,789,790,1,0,0,0,790,792,1,0, +0,0,791,793,7,4,0,0,792,791,1,0,0,0,792,793,1,0,0,0,793,161,1,0,0,0,794, +795,5,60,0,0,795,797,7,12,0,0,796,798,5,58,0,0,797,796,1,0,0,0,797,798,1, +0,0,0,798,163,1,0,0,0,799,800,3,174,87,0,800,801,5,55,0,0,801,802,3,174, +87,0,802,165,1,0,0,0,803,805,5,67,0,0,804,806,5,58,0,0,805,804,1,0,0,0,805, +806,1,0,0,0,806,167,1,0,0,0,807,808,5,67,0,0,808,169,1,0,0,0,809,810,5,68, +0,0,810,171,1,0,0,0,811,812,5,69,0,0,812,173,1,0,0,0,813,816,5,60,0,0,814, +816,3,162,81,0,815,813,1,0,0,0,815,814,1,0,0,0,816,175,1,0,0,0,817,818,7, +13,0,0,818,177,1,0,0,0,819,824,3,144,72,0,820,824,3,168,84,0,821,824,3,172, +86,0,822,824,3,170,85,0,823,819,1,0,0,0,823,820,1,0,0,0,823,821,1,0,0,0, +823,822,1,0,0,0,824,179,1,0,0,0,825,826,7,14,0,0,826,181,1,0,0,0,87,185, +202,214,219,226,228,234,241,243,249,257,263,270,282,287,294,300,307,312, +319,325,332,337,344,350,356,363,370,376,382,387,394,404,414,427,435,441, +449,454,493,506,517,526,532,539,546,556,567,572,580,585,595,604,609,612, +616,621,627,633,641,648,656,664,669,676,680,684,690,696,701,703,714,722, +728,737,744,764,769,775,780,786,789,792,797,805,815,823]; const atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN); @@ -3043,51 +3038,17 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 126, FSHParser.RULE_vsConceptComponent); var _la = 0; try { - this.state = 696; + this.enterOuterAlt(localctx, 1); + this.state = 682; + this.code(); + this.state = 684; this._errHandler.sync(this); - var la_ = this._interp.adaptivePredict(this._input,68,this._ctx); - switch(la_) { - case 1: - this.enterOuterAlt(localctx, 1); - this.state = 682; - this.code(); - this.state = 684; - this._errHandler.sync(this); - _la = this._input.LA(1); - if(_la===31) { - this.state = 683; - this.vsComponentFrom(); - } - - break; - - case 2: - this.enterOuterAlt(localctx, 2); - this.state = 689; - this._errHandler.sync(this); - var _alt = 1; - do { - switch (_alt) { - case 1: - this.state = 686; - this.code(); - this.state = 687; - this.match(FSHParser.KW_AND); - break; - default: - throw new antlr4.error.NoViableAltException(this); - } - this.state = 691; - this._errHandler.sync(this); - _alt = this._interp.adaptivePredict(this._input,67, this._ctx); - } while ( _alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER ); - this.state = 693; - this.code(); - this.state = 694; + _la = this._input.LA(1); + if(_la===31) { + this.state = 683; this.vsComponentFrom(); - break; - } + } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -3110,17 +3071,17 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 698; + this.state = 686; this.match(FSHParser.KW_CODES); - this.state = 699; + this.state = 687; this.vsComponentFrom(); - this.state = 702; + this.state = 690; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===47) { - this.state = 700; + this.state = 688; this.match(FSHParser.KW_WHERE); - this.state = 701; + this.state = 689; this.vsFilterList(); } @@ -3146,35 +3107,35 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 704; + this.state = 692; this.match(FSHParser.KW_FROM); - this.state = 715; + this.state = 703; this._errHandler.sync(this); switch(this._input.LA(1)) { case 49: - this.state = 705; + this.state = 693; this.vsFromSystem(); - this.state = 708; + this.state = 696; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===38) { - this.state = 706; + this.state = 694; this.match(FSHParser.KW_AND); - this.state = 707; + this.state = 695; this.vsFromValueset(); } break; case 48: - this.state = 710; + this.state = 698; this.vsFromValueset(); - this.state = 713; + this.state = 701; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===38) { - this.state = 711; + this.state = 699; this.match(FSHParser.KW_AND); - this.state = 712; + this.state = 700; this.vsFromSystem(); } @@ -3203,9 +3164,9 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 132, FSHParser.RULE_vsFromSystem); try { this.enterOuterAlt(localctx, 1); - this.state = 717; + this.state = 705; this.match(FSHParser.KW_SYSTEM); - this.state = 718; + this.state = 706; this.name(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { @@ -3228,23 +3189,23 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 134, FSHParser.RULE_vsFromValueset); try { this.enterOuterAlt(localctx, 1); - this.state = 720; + this.state = 708; this.match(FSHParser.KW_VSREFERENCE); - this.state = 721; + this.state = 709; this.name(); - this.state = 726; + this.state = 714; this._errHandler.sync(this); - var _alt = this._interp.adaptivePredict(this._input,73,this._ctx) + var _alt = this._interp.adaptivePredict(this._input,71,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { - this.state = 722; + this.state = 710; this.match(FSHParser.KW_AND); - this.state = 723; + this.state = 711; this.name(); } - this.state = 728; + this.state = 716; this._errHandler.sync(this); - _alt = this._interp.adaptivePredict(this._input,73,this._ctx); + _alt = this._interp.adaptivePredict(this._input,71,this._ctx); } } catch (re) { @@ -3269,17 +3230,17 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 729; + this.state = 717; this.vsFilterDefinition(); - this.state = 734; + this.state = 722; this._errHandler.sync(this); _la = this._input.LA(1); while(_la===38) { - this.state = 730; + this.state = 718; this.match(FSHParser.KW_AND); - this.state = 731; + this.state = 719; this.vsFilterDefinition(); - this.state = 736; + this.state = 724; this._errHandler.sync(this); _la = this._input.LA(1); } @@ -3305,15 +3266,15 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 737; + this.state = 725; this.name(); - this.state = 738; + this.state = 726; this.vsFilterOperator(); - this.state = 740; + this.state = 728; this._errHandler.sync(this); _la = this._input.LA(1); if(((((_la - 42)) & ~0x1f) === 0 && ((1 << (_la - 42)) & 537985027) !== 0)) { - this.state = 739; + this.state = 727; this.vsFilterValue(); } @@ -3339,7 +3300,7 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 742; + this.state = 730; _la = this._input.LA(1); if(!(_la===53 || _la===73)) { this._errHandler.recoverInline(this); @@ -3368,32 +3329,32 @@ export default class FSHParser extends antlr4.Parser { let localctx = new VsFilterValueContext(this, this._ctx, this.state); this.enterRule(localctx, 142, FSHParser.RULE_vsFilterValue); try { - this.state = 749; + this.state = 737; this._errHandler.sync(this); switch(this._input.LA(1)) { case 62: this.enterOuterAlt(localctx, 1); - this.state = 744; + this.state = 732; this.code(); break; case 42: this.enterOuterAlt(localctx, 2); - this.state = 745; + this.state = 733; this.match(FSHParser.KW_TRUE); break; case 43: this.enterOuterAlt(localctx, 3); - this.state = 746; + this.state = 734; this.match(FSHParser.KW_FALSE); break; case 71: this.enterOuterAlt(localctx, 4); - this.state = 747; + this.state = 735; this.match(FSHParser.REGEX); break; case 58: this.enterOuterAlt(localctx, 5); - this.state = 748; + this.state = 736; this.match(FSHParser.STRING); break; default: @@ -3421,7 +3382,7 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 751; + this.state = 739; _la = this._input.LA(1); if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 2080374784) !== 0) || ((((_la - 46)) & ~0x1f) === 0 && ((1 << (_la - 46)) & 134234125) !== 0))) { this._errHandler.recoverInline(this); @@ -3450,17 +3411,17 @@ export default class FSHParser extends antlr4.Parser { let localctx = new PathContext(this, this._ctx, this.state); this.enterRule(localctx, 146, FSHParser.RULE_path); try { - this.state = 756; + this.state = 744; this._errHandler.sync(this); switch(this._input.LA(1)) { case 73: this.enterOuterAlt(localctx, 1); - this.state = 753; + this.state = 741; this.match(FSHParser.SEQUENCE); break; case 60: this.enterOuterAlt(localctx, 2); - this.state = 754; + this.state = 742; this.match(FSHParser.NUMBER); break; case 26: @@ -3485,7 +3446,7 @@ export default class FSHParser extends antlr4.Parser { case 49: case 52: this.enterOuterAlt(localctx, 3); - this.state = 755; + this.state = 743; this.mostAlphaKeywords(); break; default: @@ -3512,7 +3473,7 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 148, FSHParser.RULE_caretPath); try { this.enterOuterAlt(localctx, 1); - this.state = 758; + this.state = 746; this.match(FSHParser.CARET_SEQUENCE); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { @@ -3536,7 +3497,7 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 760; + this.state = 748; _la = this._input.LA(1); if(!((((_la) & ~0x1f) === 0 && ((1 << _la) & 2113929216) !== 0))) { this._errHandler.recoverInline(this); @@ -3567,7 +3528,7 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 762; + this.state = 750; _la = this._input.LA(1); if(!(((((_la - 32)) & ~0x1f) === 0 && ((1 << (_la - 32)) & 15) !== 0))) { this._errHandler.recoverInline(this); @@ -3596,79 +3557,79 @@ export default class FSHParser extends antlr4.Parser { let localctx = new ValueContext(this, this._ctx, this.state); this.enterRule(localctx, 154, FSHParser.RULE_value); try { - this.state = 776; + this.state = 764; this._errHandler.sync(this); - var la_ = this._interp.adaptivePredict(this._input,78,this._ctx); + var la_ = this._interp.adaptivePredict(this._input,76,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); - this.state = 764; + this.state = 752; this.match(FSHParser.STRING); break; case 2: this.enterOuterAlt(localctx, 2); - this.state = 765; + this.state = 753; this.match(FSHParser.MULTILINE_STRING); break; case 3: this.enterOuterAlt(localctx, 3); - this.state = 766; + this.state = 754; this.match(FSHParser.NUMBER); break; case 4: this.enterOuterAlt(localctx, 4); - this.state = 767; + this.state = 755; this.match(FSHParser.DATETIME); break; case 5: this.enterOuterAlt(localctx, 5); - this.state = 768; + this.state = 756; this.match(FSHParser.TIME); break; case 6: this.enterOuterAlt(localctx, 6); - this.state = 769; + this.state = 757; this.reference(); break; case 7: this.enterOuterAlt(localctx, 7); - this.state = 770; + this.state = 758; this.canonical(); break; case 8: this.enterOuterAlt(localctx, 8); - this.state = 771; + this.state = 759; this.code(); break; case 9: this.enterOuterAlt(localctx, 9); - this.state = 772; + this.state = 760; this.quantity(); break; case 10: this.enterOuterAlt(localctx, 10); - this.state = 773; + this.state = 761; this.ratio(); break; case 11: this.enterOuterAlt(localctx, 11); - this.state = 774; + this.state = 762; this.bool(); break; case 12: this.enterOuterAlt(localctx, 12); - this.state = 775; + this.state = 763; this.name(); break; @@ -3695,27 +3656,27 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 778; + this.state = 766; this.name(); - this.state = 781; + this.state = 769; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===37) { - this.state = 779; + this.state = 767; this.match(FSHParser.KW_NAMED); - this.state = 780; + this.state = 768; this.name(); } - this.state = 783; + this.state = 771; this.match(FSHParser.CARD); - this.state = 787; + this.state = 775; this._errHandler.sync(this); _la = this._input.LA(1); while((((_la) & ~0x1f) === 0 && ((1 << _la) & 2113929216) !== 0)) { - this.state = 784; + this.state = 772; this.flag(); - this.state = 789; + this.state = 777; this._errHandler.sync(this); _la = this._input.LA(1); } @@ -3741,13 +3702,13 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 790; + this.state = 778; this.match(FSHParser.CODE); - this.state = 792; + this.state = 780; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===58) { - this.state = 791; + this.state = 779; this.match(FSHParser.STRING); } @@ -3773,31 +3734,31 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 794; + this.state = 782; this.match(FSHParser.STAR); - this.state = 796; + this.state = 784; this._errHandler.sync(this); _la = this._input.LA(1); do { - this.state = 795; + this.state = 783; this.match(FSHParser.CODE); - this.state = 798; + this.state = 786; this._errHandler.sync(this); _la = this._input.LA(1); } while(_la===62); - this.state = 801; + this.state = 789; this._errHandler.sync(this); - var la_ = this._interp.adaptivePredict(this._input,83,this._ctx); + var la_ = this._interp.adaptivePredict(this._input,81,this._ctx); if(la_===1) { - this.state = 800; + this.state = 788; this.match(FSHParser.STRING); } - this.state = 804; + this.state = 792; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===58 || _la===59) { - this.state = 803; + this.state = 791; _la = this._input.LA(1); if(!(_la===58 || _la===59)) { this._errHandler.recoverInline(this); @@ -3830,9 +3791,9 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 806; + this.state = 794; this.match(FSHParser.NUMBER); - this.state = 807; + this.state = 795; _la = this._input.LA(1); if(!(_la===61 || _la===62)) { this._errHandler.recoverInline(this); @@ -3841,11 +3802,11 @@ export default class FSHParser extends antlr4.Parser { this._errHandler.reportMatch(this); this.consume(); } - this.state = 809; + this.state = 797; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===58) { - this.state = 808; + this.state = 796; this.match(FSHParser.STRING); } @@ -3870,11 +3831,11 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 164, FSHParser.RULE_ratio); try { this.enterOuterAlt(localctx, 1); - this.state = 811; + this.state = 799; this.ratioPart(); - this.state = 812; + this.state = 800; this.match(FSHParser.COLON); - this.state = 813; + this.state = 801; this.ratioPart(); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { @@ -3898,13 +3859,13 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 815; + this.state = 803; this.match(FSHParser.REFERENCE); - this.state = 817; + this.state = 805; this._errHandler.sync(this); _la = this._input.LA(1); if(_la===58) { - this.state = 816; + this.state = 804; this.match(FSHParser.STRING); } @@ -3929,7 +3890,7 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 168, FSHParser.RULE_referenceType); try { this.enterOuterAlt(localctx, 1); - this.state = 819; + this.state = 807; this.match(FSHParser.REFERENCE); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { @@ -3952,7 +3913,7 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 170, FSHParser.RULE_codeableReferenceType); try { this.enterOuterAlt(localctx, 1); - this.state = 821; + this.state = 809; this.match(FSHParser.CODEABLE_REFERENCE); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { @@ -3975,7 +3936,7 @@ export default class FSHParser extends antlr4.Parser { this.enterRule(localctx, 172, FSHParser.RULE_canonical); try { this.enterOuterAlt(localctx, 1); - this.state = 823; + this.state = 811; this.match(FSHParser.CANONICAL); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { @@ -3997,19 +3958,19 @@ export default class FSHParser extends antlr4.Parser { let localctx = new RatioPartContext(this, this._ctx, this.state); this.enterRule(localctx, 174, FSHParser.RULE_ratioPart); try { - this.state = 827; + this.state = 815; this._errHandler.sync(this); - var la_ = this._interp.adaptivePredict(this._input,87,this._ctx); + var la_ = this._interp.adaptivePredict(this._input,85,this._ctx); switch(la_) { case 1: this.enterOuterAlt(localctx, 1); - this.state = 825; + this.state = 813; this.match(FSHParser.NUMBER); break; case 2: this.enterOuterAlt(localctx, 2); - this.state = 826; + this.state = 814; this.quantity(); break; @@ -4036,7 +3997,7 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 829; + this.state = 817; _la = this._input.LA(1); if(!(_la===42 || _la===43)) { this._errHandler.recoverInline(this); @@ -4065,7 +4026,7 @@ export default class FSHParser extends antlr4.Parser { let localctx = new TargetTypeContext(this, this._ctx, this.state); this.enterRule(localctx, 178, FSHParser.RULE_targetType); try { - this.state = 835; + this.state = 823; this._errHandler.sync(this); switch(this._input.LA(1)) { case 26: @@ -4079,22 +4040,22 @@ export default class FSHParser extends antlr4.Parser { case 60: case 73: this.enterOuterAlt(localctx, 1); - this.state = 831; + this.state = 819; this.name(); break; case 67: this.enterOuterAlt(localctx, 2); - this.state = 832; + this.state = 820; this.referenceType(); break; case 69: this.enterOuterAlt(localctx, 3); - this.state = 833; + this.state = 821; this.canonical(); break; case 68: this.enterOuterAlt(localctx, 4); - this.state = 834; + this.state = 822; this.codeableReferenceType(); break; default: @@ -4122,7 +4083,7 @@ export default class FSHParser extends antlr4.Parser { var _la = 0; try { this.enterOuterAlt(localctx, 1); - this.state = 837; + this.state = 825; _la = this._input.LA(1); if(!(((((_la - 26)) & ~0x1f) === 0 && ((1 << (_la - 26)) & 83885119) !== 0))) { this._errHandler.recoverInline(this); @@ -8221,33 +8182,14 @@ class VsConceptComponentContext extends antlr4.ParserRuleContext { this.ruleIndex = FSHParser.RULE_vsConceptComponent; } - code = function(i) { - if(i===undefined) { - i = null; - } - if(i===null) { - return this.getTypedRuleContexts(CodeContext); - } else { - return this.getTypedRuleContext(CodeContext,i); - } + code() { + return this.getTypedRuleContext(CodeContext,0); }; vsComponentFrom() { return this.getTypedRuleContext(VsComponentFromContext,0); }; - KW_AND = function(i) { - if(i===undefined) { - i = null; - } - if(i===null) { - return this.getTokens(FSHParser.KW_AND); - } else { - return this.getToken(FSHParser.KW_AND, i); - } - }; - - enterRule(listener) { if(listener instanceof FSHListener ) { listener.enterVsConceptComponent(this); diff --git a/src/import/parserContexts.ts b/src/import/parserContexts.ts index a03671efc..c38018854 100644 --- a/src/import/parserContexts.ts +++ b/src/import/parserContexts.ts @@ -507,7 +507,7 @@ export interface VsComponentContext extends ParserRuleContext { } export interface VsConceptComponentContext extends ParserRuleContext { - code(): CodeContext[]; + code(): CodeContext; vsComponentFrom(): VsComponentFromContext; } diff --git a/test/import/FSHImporter.ValueSet.test.ts b/test/import/FSHImporter.ValueSet.test.ts index 1e13fe228..d1031017d 100644 --- a/test/import/FSHImporter.ValueSet.test.ts +++ b/test/import/FSHImporter.ValueSet.test.ts @@ -251,38 +251,11 @@ describe('FSHImporter', () => { ]); }); - it('should parse a value set with a list of concepts', () => { - const input = leftAlign(` - ValueSet: ZooVS - * #hippo "Hippopotamus" and #crocodile "Crocodile" from system ZOO - `); - - const result = importSingleText(input, 'Zoo.fsh'); - expect(result.valueSets.size).toBe(1); - const valueSet = result.valueSets.get('ZooVS'); - expect(valueSet.rules.length).toBe(1); - assertValueSetConceptComponent(valueSet.rules[0], 'ZOO', undefined, [ - new FshCode('hippo', 'ZOO', 'Hippopotamus') - .withLocation([3, 3, 3, 23]) - .withFile('Zoo.fsh'), - new FshCode('crocodile', 'ZOO', 'Crocodile') - .withLocation([3, 29, 3, 50]) - .withFile('Zoo.fsh') - ]); - expect(valueSet.sourceInfo.location).toEqual({ - startLine: 2, - startColumn: 1, - endLine: 3, - endColumn: 66 - }); - expect(valueSet.sourceInfo.file).toBe('Zoo.fsh'); - }); - it('should merge concept rules when possible', () => { const input = leftAlign(` ValueSet: ZooVS * ZOO#hippo "Hippopotamus" - * #crocodile "Crocodile" and #emu "Emu" from system ZOO + * #crocodile "Crocodile" from system ZOO * ZOO#alligator "Alligator" from valueset ReptileVS * CRYPTID#jackalope "Jackalope" * exclude ZOO#lion "Lion" @@ -299,8 +272,7 @@ describe('FSHImporter', () => { .withFile('Zoo.fsh'), new FshCode('crocodile', 'ZOO', 'Crocodile') .withLocation([4, 3, 4, 24]) - .withFile('Zoo.fsh'), - new FshCode('emu', 'ZOO', 'Emu').withLocation([4, 30, 4, 39]).withFile('Zoo.fsh') + .withFile('Zoo.fsh') ]); assertValueSetConceptComponent( valueSet.rules[1], @@ -353,20 +325,6 @@ describe('FSHImporter', () => { expect(loggerSpy.getLastMessage('error')).toMatch(/File: Zoo\.fsh.*Line: 3\D*/s); }); - it('should log an error when a concept component with a list of concepts does not have a system', () => { - const input = leftAlign(` - ValueSet: ZooVS - * #hippo "Hippopotamus" and #crocodile "Crocodile" - `); - - const result = importSingleText(input, 'Zoo.fsh'); - expect(result.valueSets.size).toBe(1); - const valueSet = result.valueSets.get('ZooVS'); - expect(valueSet.rules.length).toBe(1); - assertValueSetConceptComponent(valueSet.rules[0], undefined, undefined, []); - expect(loggerSpy.getLastMessage('error')).toMatch(/File: Zoo\.fsh.*Line: 3\D*/s); - }); - it('should log an error when a concept component has a system specified more than once', () => { const input = leftAlign(` ValueSet: ZooVS @@ -389,38 +347,6 @@ describe('FSHImporter', () => { expect(loggerSpy.getLastMessage('error')).toMatch(/no viable alternative/s); expect(loggerSpy.getLastMessage('error')).toMatch(/File: Zoo\.fsh.*Line: 3\D*/s); }); - - it('should log an error when concepts are listed with commas', () => { - const input = leftAlign(` - ValueSet: ZooVS - * #hippo, #crocodile , #emu from system ZOO - `); - - const result = importSingleText(input, 'Deprecated.fsh'); - expect(result.valueSets.size).toBe(1); - const valueSet = result.valueSets.get('ZooVS'); - expect(valueSet).toBeDefined(); - expect(loggerSpy.getFirstMessage('error')).toMatch( - /Using ',' to list items is no longer supported/s - ); - expect(loggerSpy.getFirstMessage('error')).toMatch(/File: Deprecated\.fsh.*Line: 3\D*/s); - }); - - it('should log an error when concepts are listed with commas using no space before the commas', () => { - const input = leftAlign(` - ValueSet: ZooVS - * #hippo, #crocodile, #emu from system ZOO - `); - - const result = importSingleText(input, 'Deprecated.fsh'); - expect(result.valueSets.size).toBe(1); - const valueSet = result.valueSets.get('ZooVS'); - expect(valueSet).toBeDefined(); - expect(loggerSpy.getFirstMessage('error')).toMatch( - /Using ',' to list items is no longer supported/s - ); - expect(loggerSpy.getFirstMessage('error')).toMatch(/File: Deprecated\.fsh.*Line: 3\D*/s); - }); }); describe('#ValueSetFilterComponent', () => { @@ -1283,18 +1209,22 @@ describe('FSHImporter', () => { const result = importSingleText(input, 'Insert.fsh'); const vs = result.valueSets.get('MyVS'); expect(vs.rules).toHaveLength(1); - assertInsertRule(vs.rules[0] as Rule, '', 'MyRuleSet'); + assertInsertRule(vs.rules[0], '', 'MyRuleSet'); }); it('should parse an insert rule at a concept', () => { const input = leftAlign(` ValueSet: ZooVS + * ZOO#hippo * ZOO#hippo insert DesignationRules `); const result = importSingleText(input, 'Insert.fsh'); const vs = result.valueSets.get('ZooVS'); - expect(vs.rules).toHaveLength(1); - assertInsertRule(vs.rules[0] as Rule, '', 'DesignationRules', [], ['ZOO#hippo']); + expect(vs.rules).toHaveLength(2); + assertValueSetConceptComponent(vs.rules[0], 'ZOO', undefined, [ + new FshCode('hippo', 'ZOO').withFile('Insert.fsh').withLocation([3, 3, 3, 11]) + ]); + assertInsertRule(vs.rules[1], '', 'DesignationRules', [], ['ZOO#hippo']); expect(loggerSpy.getAllMessages('error')).toHaveLength(0); }); diff --git a/test/import/FSHImporter.context.test.ts b/test/import/FSHImporter.context.test.ts index 24fef40e1..06dbe08e1 100644 --- a/test/import/FSHImporter.context.test.ts +++ b/test/import/FSHImporter.context.test.ts @@ -1034,13 +1034,20 @@ describe('FSHImporter', () => { * ZOO#hippo "Hippopotamus" * ^designation.value = "hipopótamo" * ^designation.language = "es" + * include ZOO#anteater "Anteater" + * ^designation.value = "fourmilier" + * ^designation.language = "fr" + * exclude ZOO#bear "Bear" + * ^designation.value = "oso" + * ^designation.language = "es" `); const result = importSingleText(input, 'Zoo.fsh'); expect(result.valueSets.size).toBe(1); const valueSet = result.valueSets.get('ZooVS'); - expect(valueSet.rules.length).toBe(3); + expect(valueSet.rules.length).toBe(8); assertValueSetConceptComponent(valueSet.rules[0], 'ZOO', undefined, [ - new FshCode('hippo', 'ZOO', 'Hippopotamus').withLocation([3, 3, 3, 26]).withFile('Zoo.fsh') + new FshCode('hippo', 'ZOO', 'Hippopotamus').withLocation([3, 3, 3, 26]).withFile('Zoo.fsh'), + new FshCode('anteater', 'ZOO', 'Anteater').withLocation([6, 11, 6, 33]).withFile('Zoo.fsh') ]); assertCaretValueRule(valueSet.rules[1], '', 'designation.value', 'hipopótamo', false, [ 'ZOO#hippo' @@ -1048,6 +1055,16 @@ describe('FSHImporter', () => { assertCaretValueRule(valueSet.rules[2], '', 'designation.language', 'es', false, [ 'ZOO#hippo' ]); + assertCaretValueRule(valueSet.rules[3], '', 'designation.value', 'fourmilier', false, [ + 'ZOO#anteater' + ]); + assertCaretValueRule(valueSet.rules[4], '', 'designation.language', 'fr', false, [ + 'ZOO#anteater' + ]); + assertCaretValueRule(valueSet.rules[6], '', 'designation.value', 'oso', false, ['ZOO#bear']); + assertCaretValueRule(valueSet.rules[7], '', 'designation.language', 'es', false, [ + 'ZOO#bear' + ]); expect(loggerSpy.getAllMessages('error')).toHaveLength(0); }); @@ -1057,17 +1074,33 @@ describe('FSHImporter', () => { * #hippo "Hippopotamus" from system ZOO * ^designation.value = "hipopótamo" * ^designation.language = "es" + * include #anteater "Anteater" from system ZOO + * ^designation.value = "fourmilier" + * ^designation.language = "fr" + * exclude #bear "Bear" from system ZOO + * ^designation.value = "oso" + * ^designation.language = "es" `); const result = importSingleText(input, 'Zoo.fsh'); expect(result.valueSets.size).toBe(1); const valueSet = result.valueSets.get('ZooVS'); - expect(valueSet.rules.length).toBe(3); + expect(valueSet.rules.length).toBe(8); assertCaretValueRule(valueSet.rules[1], '', 'designation.value', 'hipopótamo', false, [ 'ZOO#hippo' ]); assertCaretValueRule(valueSet.rules[2], '', 'designation.language', 'es', false, [ 'ZOO#hippo' ]); + assertCaretValueRule(valueSet.rules[3], '', 'designation.value', 'fourmilier', false, [ + 'ZOO#anteater' + ]); + assertCaretValueRule(valueSet.rules[4], '', 'designation.language', 'fr', false, [ + 'ZOO#anteater' + ]); + assertCaretValueRule(valueSet.rules[6], '', 'designation.value', 'oso', false, ['ZOO#bear']); + assertCaretValueRule(valueSet.rules[7], '', 'designation.language', 'es', false, [ + 'ZOO#bear' + ]); expect(loggerSpy.getAllMessages('error')).toHaveLength(0); }); @@ -1076,18 +1109,140 @@ describe('FSHImporter', () => { ValueSet: ZooVS * ZOO#hippo "Hippopotamus" * insert MyRuleSet + * include ZOO#anteater "Anteater" + * insert OtherRuleSet + * exclude ZOO#bear "Bear" + * insert ThirdRuleSet `); const result = importSingleText(input, 'Zoo.fsh'); expect(result.valueSets.size).toBe(1); const valueSet = result.valueSets.get('ZooVS'); - expect(valueSet.rules.length).toBe(2); + expect(valueSet.rules.length).toBe(5); assertValueSetConceptComponent(valueSet.rules[0], 'ZOO', undefined, [ - new FshCode('hippo', 'ZOO', 'Hippopotamus').withLocation([3, 3, 3, 26]).withFile('Zoo.fsh') + new FshCode('hippo', 'ZOO', 'Hippopotamus').withLocation([3, 3, 3, 26]).withFile('Zoo.fsh'), + new FshCode('anteater', 'ZOO', 'Anteater').withLocation([5, 11, 5, 33]).withFile('Zoo.fsh') ]); assertInsertRule(valueSet.rules[1], 'ZOO#hippo', 'MyRuleSet', [], ['ZOO#hippo']); + assertInsertRule(valueSet.rules[2], 'ZOO#anteater', 'OtherRuleSet', [], ['ZOO#anteater']); + assertValueSetConceptComponent( + valueSet.rules[3], + 'ZOO', + undefined, + [new FshCode('bear', 'ZOO', 'Bear').withFile('Zoo.fsh').withLocation([7, 11, 7, 25])], + false + ); + assertInsertRule(valueSet.rules[4], 'ZOO#bear', 'ThirdRuleSet', [], ['ZOO#bear']); + expect(loggerSpy.getAllMessages('error')).toHaveLength(0); + }); + + it('should parse a value set that uses a root-level CaretValueRule after a ValueSetConceptComponentRule', () => { + const input = leftAlign(` + ValueSet: ZooVS + * ZOO#hippo "Hippopotamus" + * ^publisher = "foo" + * include ZOO#anteater "Anteater" + * ^immutable = false + * exclude ZOO#bear "Bear" + * ^purpose = "We like animals." + `); + const result = importSingleText(input, 'Zoo.fsh'); + expect(result.valueSets.size).toBe(1); + const valueSet = result.valueSets.get('ZooVS'); + expect(valueSet.rules.length).toBe(5); + assertValueSetConceptComponent(valueSet.rules[0], 'ZOO', undefined, [ + new FshCode('hippo', 'ZOO', 'Hippopotamus').withFile('Zoo.fsh').withLocation([3, 3, 3, 26]), + new FshCode('anteater', 'ZOO', 'Anteater').withLocation([5, 11, 5, 33]).withFile('Zoo.fsh') + ]); + assertCaretValueRule(valueSet.rules[1], '', 'publisher', 'foo', false, []); + assertCaretValueRule(valueSet.rules[2], '', 'immutable', false, false, []); + assertValueSetConceptComponent( + valueSet.rules[3], + 'ZOO', + undefined, + [new FshCode('bear', 'ZOO', 'Bear').withFile('Zoo.fsh').withLocation([7, 11, 7, 25])], + false + ); + assertCaretValueRule(valueSet.rules[4], '', 'purpose', 'We like animals.', false, []); + expect(loggerSpy.getAllMessages('error')).toHaveLength(0); + }); + + it('should parse a value set that uses a root-level CaretValueRule after a concept-level CaretValueRule', () => { + const input = leftAlign(` + ValueSet: ZooVS + * ZOO#hippo "Hippopotamus" + * ZOO#hippo ^designation.value = "hipopótamo" + * ^publisher = "foo" + * include ZOO#anteater "Anteater" + * ZOO#anteater ^designation.value = "fourmilier" + * ^immutable = false + * exclude ZOO#bear "Bear" + * ^designation.value = "oso" + * ^purpose = "We like animals." + `); + const result = importSingleText(input, 'Zoo.fsh'); + expect(result.valueSets.size).toBe(1); + const valueSet = result.valueSets.get('ZooVS'); + expect(valueSet.rules.length).toBe(8); + assertValueSetConceptComponent(valueSet.rules[0], 'ZOO', undefined, [ + new FshCode('hippo', 'ZOO', 'Hippopotamus').withFile('Zoo.fsh').withLocation([3, 3, 3, 26]), + new FshCode('anteater', 'ZOO', 'Anteater').withFile('Zoo.fsh').withLocation([6, 11, 6, 33]) + ]); + assertCaretValueRule(valueSet.rules[1], '', 'designation.value', 'hipopótamo', false, [ + 'ZOO#hippo' + ]); + assertCaretValueRule(valueSet.rules[2], '', 'publisher', 'foo', false, []); + assertCaretValueRule(valueSet.rules[3], '', 'designation.value', 'fourmilier', false, [ + 'ZOO#anteater' + ]); + assertCaretValueRule(valueSet.rules[4], '', 'immutable', false, false, []); + assertValueSetConceptComponent( + valueSet.rules[5], + 'ZOO', + undefined, + [new FshCode('bear', 'ZOO', 'Bear').withFile('Zoo.fsh').withLocation([9, 11, 9, 25])], + false + ); + assertCaretValueRule(valueSet.rules[6], '', 'designation.value', 'oso', false, ['ZOO#bear']); + assertCaretValueRule(valueSet.rules[7], '', 'purpose', 'We like animals.', false, []); expect(loggerSpy.getAllMessages('error')).toHaveLength(0); }); + it('should log an error when parsing a value set that uses an indented CaretValueRule after a ValueSetFilterComponentRule', () => { + const input = leftAlign(` + ValueSet: ZooVS + * include codes from system ZOO + * ^inactive = true + `); + const result = importSingleText(input, 'Zoo.fsh'); + expect(result.valueSets.size).toBe(1); + const valueSet = result.valueSets.get('ZooVS'); + expect(valueSet.rules.length).toBe(2); + assertValueSetFilterComponent(valueSet.rules[0], 'ZOO', undefined, []); + assertCaretValueRule(valueSet.rules[1], '', 'inactive', true, false); + expect(loggerSpy.getAllMessages('error')).toHaveLength(1); + expect(loggerSpy.getLastMessage('error')).toMatch( + /Rule cannot be indented below rule which has no path.*File: Zoo\.fsh.*Line: 4\D*/s + ); + }); + + it('should log an error when parsing a value set that uses an indented InsertRule after a ValueSetFilterComponentRule', () => { + const input = leftAlign(` + ValueSet: ZooVS + * include codes from system ZOO + * insert MyRuleSet + `); + const result = importSingleText(input, 'Zoo.fsh'); + expect(result.valueSets.size).toBe(1); + const valueSet = result.valueSets.get('ZooVS'); + expect(valueSet.rules.length).toBe(2); + assertValueSetFilterComponent(valueSet.rules[0], 'ZOO', undefined, []); + assertInsertRule(valueSet.rules[1], '', 'MyRuleSet'); + expect(loggerSpy.getAllMessages('error')).toHaveLength(1); + expect(loggerSpy.getLastMessage('error')).toMatch( + /Rule cannot be indented below rule which has no path.*File: Zoo\.fsh.*Line: 4\D*/s + ); + }); + it('should log an error when parsing a value set that uses an indented InsertRule with a concept after a ValueSetConceptComponentRule', () => { const input = leftAlign(` ValueSet: ZooVS