From 1bc3c69de35e6c2e764afa7f103ba68002885fda Mon Sep 17 00:00:00 2001 From: "Timothy J. Aveni" Date: Fri, 25 Sep 2026 11:37:27 -0700 Subject: [PATCH] Support checked keyed relationships across portable operations and queries --- grammar/QuixosCapability.g4 | 2 +- src/bindings/portable.ts | 8 +- .../generated/QuixosCapability.interp | 2 +- .../generated/QuixosCapabilityParser.ts | 1864 +++++++++-------- src/capability-language/parser.ts | 68 +- src/capability-model/generic-packages.ts | 1 + src/capability-model/initialization.ts | 7 + src/capability-model/types.ts | 1 + src/capability-model/validation.ts | 33 +- src/execution-world/kernel.ts | 5 +- src/execution-world/query-operators.ts | 6 +- src/query/compile.ts | 8 +- src/query/schema.ts | 6 +- test/conformance-rules.test.ts | 7 + test/emit-portable-reader.ts | 4 + .../presentation-mount/PresentationRuntime.qx | 9 +- .../presentation-mount/PresentationStates.qx | 2 +- .../queries/reader-inputs.graphql | 7 + .../queries/reader-state.graphql | 7 + .../queries/reader-window.graphql | 7 + test/fixtures/presentation-mount/workspace.qx | 11 +- test/keyed-relationships.test.ts | 78 + test/presentation-mount-fixture.ts | 9 + 23 files changed, 1203 insertions(+), 949 deletions(-) create mode 100644 test/fixtures/presentation-mount/queries/reader-inputs.graphql create mode 100644 test/fixtures/presentation-mount/queries/reader-state.graphql create mode 100644 test/fixtures/presentation-mount/queries/reader-window.graphql create mode 100644 test/keyed-relationships.test.ts diff --git a/grammar/QuixosCapability.g4 b/grammar/QuixosCapability.g4 index b27330e..d4c77f6 100644 --- a/grammar/QuixosCapability.g4 +++ b/grammar/QuixosCapability.g4 @@ -245,7 +245,7 @@ dependencyBlock dependencyPort : REFLECTION identifier ID stringLiteral LBRACK identifierList RBRACK SEMI | STATE identifier ID stringLiteral COLON valueType primitiveList SEMI - | EDGE identifier ID stringLiteral COLON cardinality targetConstraint primitiveList SEMI + | EDGE identifier ID stringLiteral COLON cardinality targetConstraint (KEYED stringLiteral)? primitiveList SEMI | INTERFACE identifier ID stringLiteral COLON identifier typeArguments? selectedOperations? (FROM INPUT)? SEMI | CREATION identifier ID stringLiteral COLON identifier INPUT valueType SEMI | CONSTRUCTOR identifier ID stringLiteral COLON identifier (INPUT valueType)? SEMI diff --git a/src/bindings/portable.ts b/src/bindings/portable.ts index 4ca3634..a195625 100644 --- a/src/bindings/portable.ts +++ b/src/bindings/portable.ts @@ -163,12 +163,16 @@ function methods( }); case "edge": { const ref: ValueType = { kind: "object-ref", expectation: req.target }; - const item: ValueType = { kind: "record", fields: { entry: string, target: ref } }; + const mapKey: ValueType | undefined = req.keyType + ? { kind: "scalar", name: req.keyType === "boolean" ? "bool" : req.keyType } + : undefined; + const item: ValueType = { kind: "record", fields: { entry: string, target: ref, ...(mapKey ? { mapKey } : {}) } }; + const connectInput: ValueType = mapKey ? { kind: "record", fields: { mapKey, target: ref } } : ref; return req.primitives.map((primitive) => { if (primitive === "resolve") return method("resolve", { kind: "edge", primitive }, unit, { kind: "list", value: item }); writable(); - if (primitive === "connect") return method("connect", { kind: "edge", primitive }, ref, string, true); + if (primitive === "connect") return method("connect", { kind: "edge", primitive }, connectInput, string, true); if (primitive === "disconnect") return method("disconnect", { kind: "edge", primitive }, string, bool); throw new PortableBindingError(path, `Edge ${primitive} is not supported by this portable adapter yet`); }); diff --git a/src/capability-language/generated/QuixosCapability.interp b/src/capability-language/generated/QuixosCapability.interp index a7cdacc..ba1c860 100644 --- a/src/capability-language/generated/QuixosCapability.interp +++ b/src/capability-language/generated/QuixosCapability.interp @@ -397,4 +397,4 @@ stringLiteral atn: -[4, 1, 153, 1403, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 179, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 184, 8, 1, 10, 1, 12, 1, 187, 9, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 205, 8, 3, 10, 3, 12, 3, 208, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 220, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 232, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 252, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 260, 8, 9, 1, 9, 1, 9, 1, 10, 5, 10, 265, 8, 10, 10, 10, 12, 10, 268, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 273, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 283, 8, 10, 10, 10, 12, 10, 286, 9, 10, 3, 10, 288, 8, 10, 1, 10, 1, 10, 5, 10, 292, 8, 10, 10, 10, 12, 10, 295, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 303, 8, 11, 10, 11, 12, 11, 306, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 314, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 322, 8, 12, 10, 12, 12, 12, 325, 9, 12, 3, 12, 327, 8, 12, 3, 12, 329, 8, 12, 1, 13, 1, 13, 3, 13, 333, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 339, 8, 14, 10, 14, 12, 14, 342, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 353, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 358, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 368, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 378, 8, 18, 1, 18, 1, 18, 1, 19, 3, 19, 383, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 398, 8, 19, 1, 19, 1, 19, 1, 19, 1, 20, 3, 20, 404, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 414, 8, 20, 10, 20, 12, 20, 417, 9, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 425, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 433, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 441, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 454, 8, 21, 1, 22, 3, 22, 457, 8, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 467, 8, 22, 1, 22, 1, 22, 3, 22, 471, 8, 22, 1, 22, 1, 22, 5, 22, 475, 8, 22, 10, 22, 12, 22, 478, 9, 22, 1, 22, 1, 22, 1, 23, 1, 23, 3, 23, 484, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 490, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 498, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 506, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 519, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 526, 8, 25, 1, 25, 1, 25, 3, 25, 530, 8, 25, 1, 26, 5, 26, 533, 8, 26, 10, 26, 12, 26, 536, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 546, 8, 26, 1, 26, 1, 26, 5, 26, 550, 8, 26, 10, 26, 12, 26, 553, 9, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 563, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 3, 30, 589, 8, 30, 1, 30, 1, 30, 3, 30, 593, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 599, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 608, 8, 30, 10, 30, 12, 30, 611, 9, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 619, 8, 30, 1, 30, 1, 30, 5, 30, 623, 8, 30, 10, 30, 12, 30, 626, 9, 30, 1, 30, 1, 30, 3, 30, 630, 8, 30, 3, 30, 632, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 661, 8, 32, 10, 32, 12, 32, 664, 9, 32, 1, 32, 3, 32, 667, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 673, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 700, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 710, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 721, 8, 34, 1, 34, 3, 34, 724, 8, 34, 1, 34, 1, 34, 1, 34, 3, 34, 729, 8, 34, 1, 34, 3, 34, 732, 8, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 3, 35, 739, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 748, 8, 35, 1, 35, 3, 35, 751, 8, 35, 1, 35, 3, 35, 754, 8, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 771, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 778, 8, 38, 10, 38, 12, 38, 781, 9, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 794, 8, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 5, 42, 813, 8, 42, 10, 42, 12, 42, 816, 9, 42, 3, 42, 818, 8, 42, 1, 42, 3, 42, 821, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 826, 8, 43, 10, 43, 12, 43, 829, 9, 43, 1, 44, 1, 44, 1, 44, 5, 44, 834, 8, 44, 10, 44, 12, 44, 837, 9, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 876, 8, 45, 1, 45, 3, 45, 879, 8, 45, 1, 45, 1, 45, 3, 45, 883, 8, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 905, 8, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 919, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 925, 8, 46, 10, 46, 12, 46, 928, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 3, 49, 939, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 953, 8, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 963, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 981, 8, 53, 1, 53, 1, 53, 3, 53, 985, 8, 53, 1, 53, 3, 53, 988, 8, 53, 1, 53, 1, 53, 3, 53, 992, 8, 53, 1, 53, 3, 53, 995, 8, 53, 1, 53, 1, 53, 1, 54, 1, 54, 3, 54, 1001, 8, 54, 1, 54, 1, 54, 3, 54, 1005, 8, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1010, 8, 54, 1, 54, 1, 54, 3, 54, 1014, 8, 54, 1, 54, 1, 54, 3, 54, 1018, 8, 54, 1, 54, 1, 54, 5, 54, 1022, 8, 54, 10, 54, 12, 54, 1025, 9, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1038, 8, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 5, 58, 1051, 8, 58, 10, 58, 12, 58, 1054, 9, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 1073, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 1080, 8, 60, 10, 60, 12, 60, 1083, 9, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1114, 8, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1134, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 1154, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 1164, 8, 66, 1, 66, 3, 66, 1167, 8, 66, 1, 66, 3, 66, 1170, 8, 66, 3, 66, 1172, 8, 66, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 5, 70, 1184, 8, 70, 10, 70, 12, 70, 1187, 9, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1210, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1226, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1235, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1245, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 1256, 8, 71, 10, 71, 12, 71, 1259, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1273, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1285, 8, 71, 1, 71, 1, 71, 3, 71, 1289, 8, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 1298, 8, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 1316, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 1338, 8, 73, 10, 73, 12, 73, 1341, 9, 73, 1, 73, 1, 73, 1, 73, 3, 73, 1346, 8, 73, 3, 73, 1348, 8, 73, 1, 74, 1, 74, 1, 74, 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, 3, 77, 1367, 8, 77, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 1373, 8, 78, 10, 78, 12, 78, 1376, 9, 78, 3, 78, 1378, 8, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 5, 80, 1390, 8, 80, 10, 80, 12, 80, 1393, 9, 80, 3, 80, 1395, 8, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 0, 0, 83, 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, 0, 9, 2, 0, 15, 15, 33, 33, 1, 0, 11, 12, 1, 0, 101, 105, 3, 0, 1, 1, 96, 100, 102, 103, 3, 0, 1, 1, 96, 97, 102, 103, 2, 0, 98, 100, 102, 103, 1, 0, 121, 128, 1, 0, 108, 111, 9, 0, 1, 1, 4, 8, 10, 33, 40, 40, 45, 45, 74, 74, 94, 95, 106, 106, 149, 149, 1519, 0, 178, 1, 0, 0, 0, 2, 180, 1, 0, 0, 0, 4, 190, 1, 0, 0, 0, 6, 194, 1, 0, 0, 0, 8, 219, 1, 0, 0, 0, 10, 231, 1, 0, 0, 0, 12, 233, 1, 0, 0, 0, 14, 240, 1, 0, 0, 0, 16, 251, 1, 0, 0, 0, 18, 253, 1, 0, 0, 0, 20, 266, 1, 0, 0, 0, 22, 298, 1, 0, 0, 0, 24, 328, 1, 0, 0, 0, 26, 330, 1, 0, 0, 0, 28, 334, 1, 0, 0, 0, 30, 352, 1, 0, 0, 0, 32, 354, 1, 0, 0, 0, 34, 367, 1, 0, 0, 0, 36, 369, 1, 0, 0, 0, 38, 382, 1, 0, 0, 0, 40, 403, 1, 0, 0, 0, 42, 453, 1, 0, 0, 0, 44, 456, 1, 0, 0, 0, 46, 481, 1, 0, 0, 0, 48, 518, 1, 0, 0, 0, 50, 529, 1, 0, 0, 0, 52, 534, 1, 0, 0, 0, 54, 562, 1, 0, 0, 0, 56, 564, 1, 0, 0, 0, 58, 574, 1, 0, 0, 0, 60, 586, 1, 0, 0, 0, 62, 633, 1, 0, 0, 0, 64, 699, 1, 0, 0, 0, 66, 701, 1, 0, 0, 0, 68, 706, 1, 0, 0, 0, 70, 735, 1, 0, 0, 0, 72, 757, 1, 0, 0, 0, 74, 770, 1, 0, 0, 0, 76, 772, 1, 0, 0, 0, 78, 784, 1, 0, 0, 0, 80, 797, 1, 0, 0, 0, 82, 800, 1, 0, 0, 0, 84, 820, 1, 0, 0, 0, 86, 822, 1, 0, 0, 0, 88, 830, 1, 0, 0, 0, 90, 918, 1, 0, 0, 0, 92, 920, 1, 0, 0, 0, 94, 931, 1, 0, 0, 0, 96, 933, 1, 0, 0, 0, 98, 938, 1, 0, 0, 0, 100, 940, 1, 0, 0, 0, 102, 962, 1, 0, 0, 0, 104, 964, 1, 0, 0, 0, 106, 973, 1, 0, 0, 0, 108, 998, 1, 0, 0, 0, 110, 1028, 1, 0, 0, 0, 112, 1037, 1, 0, 0, 0, 114, 1039, 1, 0, 0, 0, 116, 1047, 1, 0, 0, 0, 118, 1072, 1, 0, 0, 0, 120, 1074, 1, 0, 0, 0, 122, 1086, 1, 0, 0, 0, 124, 1093, 1, 0, 0, 0, 126, 1107, 1, 0, 0, 0, 128, 1117, 1, 0, 0, 0, 130, 1133, 1, 0, 0, 0, 132, 1171, 1, 0, 0, 0, 134, 1173, 1, 0, 0, 0, 136, 1176, 1, 0, 0, 0, 138, 1178, 1, 0, 0, 0, 140, 1180, 1, 0, 0, 0, 142, 1288, 1, 0, 0, 0, 144, 1290, 1, 0, 0, 0, 146, 1347, 1, 0, 0, 0, 148, 1349, 1, 0, 0, 0, 150, 1354, 1, 0, 0, 0, 152, 1356, 1, 0, 0, 0, 154, 1366, 1, 0, 0, 0, 156, 1368, 1, 0, 0, 0, 158, 1381, 1, 0, 0, 0, 160, 1385, 1, 0, 0, 0, 162, 1398, 1, 0, 0, 0, 164, 1400, 1, 0, 0, 0, 166, 167, 3, 6, 3, 0, 167, 168, 5, 0, 0, 1, 168, 179, 1, 0, 0, 0, 169, 170, 3, 20, 10, 0, 170, 171, 5, 0, 0, 1, 171, 179, 1, 0, 0, 0, 172, 173, 3, 52, 26, 0, 173, 174, 5, 0, 0, 1, 174, 179, 1, 0, 0, 0, 175, 176, 3, 2, 1, 0, 176, 177, 5, 0, 0, 1, 177, 179, 1, 0, 0, 0, 178, 166, 1, 0, 0, 0, 178, 169, 1, 0, 0, 0, 178, 172, 1, 0, 0, 0, 178, 175, 1, 0, 0, 0, 179, 1, 1, 0, 0, 0, 180, 181, 5, 40, 0, 0, 181, 185, 5, 137, 0, 0, 182, 184, 3, 8, 4, 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, 138, 0, 0, 189, 3, 1, 0, 0, 0, 190, 191, 5, 41, 0, 0, 191, 192, 3, 164, 82, 0, 192, 193, 5, 134, 0, 0, 193, 5, 1, 0, 0, 0, 194, 195, 5, 9, 0, 0, 195, 196, 3, 162, 81, 0, 196, 197, 5, 84, 0, 0, 197, 198, 3, 164, 82, 0, 198, 199, 5, 77, 0, 0, 199, 200, 3, 164, 82, 0, 200, 201, 5, 76, 0, 0, 201, 202, 3, 164, 82, 0, 202, 206, 5, 137, 0, 0, 203, 205, 3, 8, 4, 0, 204, 203, 1, 0, 0, 0, 205, 208, 1, 0, 0, 0, 206, 204, 1, 0, 0, 0, 206, 207, 1, 0, 0, 0, 207, 209, 1, 0, 0, 0, 208, 206, 1, 0, 0, 0, 209, 210, 5, 138, 0, 0, 210, 7, 1, 0, 0, 0, 211, 220, 3, 4, 2, 0, 212, 220, 3, 18, 9, 0, 213, 220, 3, 10, 5, 0, 214, 220, 3, 96, 48, 0, 215, 220, 3, 108, 54, 0, 216, 220, 3, 144, 72, 0, 217, 220, 3, 58, 29, 0, 218, 220, 3, 32, 16, 0, 219, 211, 1, 0, 0, 0, 219, 212, 1, 0, 0, 0, 219, 213, 1, 0, 0, 0, 219, 214, 1, 0, 0, 0, 219, 215, 1, 0, 0, 0, 219, 216, 1, 0, 0, 0, 219, 217, 1, 0, 0, 0, 219, 218, 1, 0, 0, 0, 220, 9, 1, 0, 0, 0, 221, 222, 5, 41, 0, 0, 222, 223, 5, 44, 0, 0, 223, 224, 3, 162, 81, 0, 224, 225, 5, 134, 0, 0, 225, 232, 1, 0, 0, 0, 226, 227, 5, 41, 0, 0, 227, 228, 5, 46, 0, 0, 228, 229, 3, 162, 81, 0, 229, 230, 5, 134, 0, 0, 230, 232, 1, 0, 0, 0, 231, 221, 1, 0, 0, 0, 231, 226, 1, 0, 0, 0, 232, 11, 1, 0, 0, 0, 233, 234, 5, 42, 0, 0, 234, 235, 5, 43, 0, 0, 235, 236, 3, 162, 81, 0, 236, 237, 5, 84, 0, 0, 237, 238, 3, 164, 82, 0, 238, 239, 5, 134, 0, 0, 239, 13, 1, 0, 0, 0, 240, 241, 5, 42, 0, 0, 241, 242, 5, 44, 0, 0, 242, 243, 3, 162, 81, 0, 243, 244, 5, 77, 0, 0, 244, 245, 3, 164, 82, 0, 245, 246, 5, 134, 0, 0, 246, 15, 1, 0, 0, 0, 247, 252, 3, 10, 5, 0, 248, 252, 3, 12, 6, 0, 249, 252, 3, 14, 7, 0, 250, 252, 3, 32, 16, 0, 251, 247, 1, 0, 0, 0, 251, 248, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 250, 1, 0, 0, 0, 252, 17, 1, 0, 0, 0, 253, 254, 5, 43, 0, 0, 254, 255, 3, 162, 81, 0, 255, 256, 5, 84, 0, 0, 256, 259, 3, 164, 82, 0, 257, 258, 5, 85, 0, 0, 258, 260, 3, 164, 82, 0, 259, 257, 1, 0, 0, 0, 259, 260, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 262, 5, 134, 0, 0, 262, 19, 1, 0, 0, 0, 263, 265, 3, 16, 8, 0, 264, 263, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 269, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 269, 270, 5, 44, 0, 0, 270, 272, 3, 162, 81, 0, 271, 273, 3, 22, 11, 0, 272, 271, 1, 0, 0, 0, 272, 273, 1, 0, 0, 0, 273, 274, 1, 0, 0, 0, 274, 275, 5, 84, 0, 0, 275, 276, 3, 164, 82, 0, 276, 277, 5, 77, 0, 0, 277, 287, 3, 164, 82, 0, 278, 279, 5, 89, 0, 0, 279, 284, 3, 26, 13, 0, 280, 281, 5, 135, 0, 0, 281, 283, 3, 26, 13, 0, 282, 280, 1, 0, 0, 0, 283, 286, 1, 0, 0, 0, 284, 282, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 288, 1, 0, 0, 0, 286, 284, 1, 0, 0, 0, 287, 278, 1, 0, 0, 0, 287, 288, 1, 0, 0, 0, 288, 289, 1, 0, 0, 0, 289, 293, 5, 137, 0, 0, 290, 292, 3, 34, 17, 0, 291, 290, 1, 0, 0, 0, 292, 295, 1, 0, 0, 0, 293, 291, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 296, 1, 0, 0, 0, 295, 293, 1, 0, 0, 0, 296, 297, 5, 138, 0, 0, 297, 21, 1, 0, 0, 0, 298, 299, 5, 143, 0, 0, 299, 304, 3, 24, 12, 0, 300, 301, 5, 135, 0, 0, 301, 303, 3, 24, 12, 0, 302, 300, 1, 0, 0, 0, 303, 306, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 304, 305, 1, 0, 0, 0, 305, 307, 1, 0, 0, 0, 306, 304, 1, 0, 0, 0, 307, 308, 5, 144, 0, 0, 308, 23, 1, 0, 0, 0, 309, 310, 5, 47, 0, 0, 310, 313, 3, 162, 81, 0, 311, 312, 5, 133, 0, 0, 312, 314, 5, 37, 0, 0, 313, 311, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 329, 1, 0, 0, 0, 315, 316, 5, 36, 0, 0, 316, 326, 3, 162, 81, 0, 317, 318, 5, 38, 0, 0, 318, 323, 3, 26, 13, 0, 319, 320, 5, 145, 0, 0, 320, 322, 3, 26, 13, 0, 321, 319, 1, 0, 0, 0, 322, 325, 1, 0, 0, 0, 323, 321, 1, 0, 0, 0, 323, 324, 1, 0, 0, 0, 324, 327, 1, 0, 0, 0, 325, 323, 1, 0, 0, 0, 326, 317, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 329, 1, 0, 0, 0, 328, 309, 1, 0, 0, 0, 328, 315, 1, 0, 0, 0, 329, 25, 1, 0, 0, 0, 330, 332, 3, 162, 81, 0, 331, 333, 3, 28, 14, 0, 332, 331, 1, 0, 0, 0, 332, 333, 1, 0, 0, 0, 333, 27, 1, 0, 0, 0, 334, 335, 5, 143, 0, 0, 335, 340, 3, 30, 15, 0, 336, 337, 5, 135, 0, 0, 337, 339, 3, 30, 15, 0, 338, 336, 1, 0, 0, 0, 339, 342, 1, 0, 0, 0, 340, 338, 1, 0, 0, 0, 340, 341, 1, 0, 0, 0, 341, 343, 1, 0, 0, 0, 342, 340, 1, 0, 0, 0, 343, 344, 5, 144, 0, 0, 344, 29, 1, 0, 0, 0, 345, 346, 5, 43, 0, 0, 346, 353, 3, 162, 81, 0, 347, 348, 5, 44, 0, 0, 348, 353, 3, 26, 13, 0, 349, 350, 5, 36, 0, 0, 350, 353, 3, 162, 81, 0, 351, 353, 3, 146, 73, 0, 352, 345, 1, 0, 0, 0, 352, 347, 1, 0, 0, 0, 352, 349, 1, 0, 0, 0, 352, 351, 1, 0, 0, 0, 353, 31, 1, 0, 0, 0, 354, 355, 5, 35, 0, 0, 355, 357, 3, 162, 81, 0, 356, 358, 3, 22, 11, 0, 357, 356, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 5, 146, 0, 0, 360, 361, 3, 146, 73, 0, 361, 362, 5, 134, 0, 0, 362, 33, 1, 0, 0, 0, 363, 368, 3, 40, 20, 0, 364, 368, 3, 44, 22, 0, 365, 368, 3, 38, 19, 0, 366, 368, 3, 36, 18, 0, 367, 363, 1, 0, 0, 0, 367, 364, 1, 0, 0, 0, 367, 365, 1, 0, 0, 0, 367, 366, 1, 0, 0, 0, 368, 35, 1, 0, 0, 0, 369, 370, 5, 2, 0, 0, 370, 371, 3, 162, 81, 0, 371, 372, 5, 84, 0, 0, 372, 373, 3, 164, 82, 0, 373, 374, 5, 3, 0, 0, 374, 377, 3, 164, 82, 0, 375, 376, 5, 5, 0, 0, 376, 378, 3, 50, 25, 0, 377, 375, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 380, 5, 134, 0, 0, 380, 37, 1, 0, 0, 0, 381, 383, 5, 57, 0, 0, 382, 381, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 384, 1, 0, 0, 0, 384, 385, 5, 49, 0, 0, 385, 386, 3, 162, 81, 0, 386, 387, 5, 84, 0, 0, 387, 388, 3, 164, 82, 0, 388, 389, 5, 133, 0, 0, 389, 390, 3, 146, 73, 0, 390, 391, 5, 132, 0, 0, 391, 392, 3, 146, 73, 0, 392, 393, 5, 137, 0, 0, 393, 394, 5, 101, 0, 0, 394, 395, 5, 84, 0, 0, 395, 397, 3, 164, 82, 0, 396, 398, 3, 74, 37, 0, 397, 396, 1, 0, 0, 0, 397, 398, 1, 0, 0, 0, 398, 399, 1, 0, 0, 0, 399, 400, 5, 134, 0, 0, 400, 401, 5, 138, 0, 0, 401, 39, 1, 0, 0, 0, 402, 404, 3, 46, 23, 0, 403, 402, 1, 0, 0, 0, 403, 404, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 406, 5, 47, 0, 0, 406, 407, 3, 162, 81, 0, 407, 408, 5, 84, 0, 0, 408, 409, 3, 164, 82, 0, 409, 410, 5, 133, 0, 0, 410, 411, 3, 146, 73, 0, 411, 415, 5, 137, 0, 0, 412, 414, 3, 42, 21, 0, 413, 412, 1, 0, 0, 0, 414, 417, 1, 0, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 418, 1, 0, 0, 0, 417, 415, 1, 0, 0, 0, 418, 419, 5, 138, 0, 0, 419, 41, 1, 0, 0, 0, 420, 421, 5, 91, 0, 0, 421, 422, 5, 84, 0, 0, 422, 424, 3, 164, 82, 0, 423, 425, 3, 74, 37, 0, 424, 423, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 427, 5, 134, 0, 0, 427, 454, 1, 0, 0, 0, 428, 429, 5, 92, 0, 0, 429, 430, 5, 84, 0, 0, 430, 432, 3, 164, 82, 0, 431, 433, 3, 74, 37, 0, 432, 431, 1, 0, 0, 0, 432, 433, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 435, 5, 134, 0, 0, 435, 454, 1, 0, 0, 0, 436, 437, 5, 1, 0, 0, 437, 438, 5, 84, 0, 0, 438, 440, 3, 164, 82, 0, 439, 441, 3, 74, 37, 0, 440, 439, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 443, 5, 134, 0, 0, 443, 454, 1, 0, 0, 0, 444, 445, 5, 93, 0, 0, 445, 446, 5, 94, 0, 0, 446, 447, 5, 84, 0, 0, 447, 448, 3, 164, 82, 0, 448, 449, 5, 95, 0, 0, 449, 450, 5, 84, 0, 0, 450, 451, 3, 164, 82, 0, 451, 452, 5, 134, 0, 0, 452, 454, 1, 0, 0, 0, 453, 420, 1, 0, 0, 0, 453, 428, 1, 0, 0, 0, 453, 436, 1, 0, 0, 0, 453, 444, 1, 0, 0, 0, 454, 43, 1, 0, 0, 0, 455, 457, 3, 46, 23, 0, 456, 455, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, 458, 1, 0, 0, 0, 458, 459, 5, 48, 0, 0, 459, 460, 3, 162, 81, 0, 460, 461, 5, 84, 0, 0, 461, 462, 3, 164, 82, 0, 462, 463, 5, 133, 0, 0, 463, 464, 3, 152, 76, 0, 464, 466, 3, 50, 25, 0, 465, 467, 5, 112, 0, 0, 466, 465, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 470, 1, 0, 0, 0, 468, 469, 5, 82, 0, 0, 469, 471, 3, 164, 82, 0, 470, 468, 1, 0, 0, 0, 470, 471, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 476, 5, 137, 0, 0, 473, 475, 3, 48, 24, 0, 474, 473, 1, 0, 0, 0, 475, 478, 1, 0, 0, 0, 476, 474, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 479, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 479, 480, 5, 138, 0, 0, 480, 45, 1, 0, 0, 0, 481, 483, 5, 32, 0, 0, 482, 484, 7, 0, 0, 0, 483, 482, 1, 0, 0, 0, 483, 484, 1, 0, 0, 0, 484, 47, 1, 0, 0, 0, 485, 486, 5, 98, 0, 0, 486, 487, 5, 84, 0, 0, 487, 489, 3, 164, 82, 0, 488, 490, 3, 74, 37, 0, 489, 488, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 492, 5, 134, 0, 0, 492, 519, 1, 0, 0, 0, 493, 494, 5, 99, 0, 0, 494, 495, 5, 84, 0, 0, 495, 497, 3, 164, 82, 0, 496, 498, 3, 74, 37, 0, 497, 496, 1, 0, 0, 0, 497, 498, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 500, 5, 134, 0, 0, 500, 519, 1, 0, 0, 0, 501, 502, 5, 100, 0, 0, 502, 503, 5, 84, 0, 0, 503, 505, 3, 164, 82, 0, 504, 506, 3, 74, 37, 0, 505, 504, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 508, 5, 134, 0, 0, 508, 519, 1, 0, 0, 0, 509, 510, 5, 93, 0, 0, 510, 511, 5, 94, 0, 0, 511, 512, 5, 84, 0, 0, 512, 513, 3, 164, 82, 0, 513, 514, 5, 95, 0, 0, 514, 515, 5, 84, 0, 0, 515, 516, 3, 164, 82, 0, 516, 517, 5, 134, 0, 0, 517, 519, 1, 0, 0, 0, 518, 485, 1, 0, 0, 0, 518, 493, 1, 0, 0, 0, 518, 501, 1, 0, 0, 0, 518, 509, 1, 0, 0, 0, 519, 49, 1, 0, 0, 0, 520, 521, 5, 43, 0, 0, 521, 530, 3, 162, 81, 0, 522, 523, 5, 44, 0, 0, 523, 525, 3, 162, 81, 0, 524, 526, 3, 28, 14, 0, 525, 524, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 530, 1, 0, 0, 0, 527, 528, 5, 36, 0, 0, 528, 530, 3, 162, 81, 0, 529, 520, 1, 0, 0, 0, 529, 522, 1, 0, 0, 0, 529, 527, 1, 0, 0, 0, 530, 51, 1, 0, 0, 0, 531, 533, 3, 16, 8, 0, 532, 531, 1, 0, 0, 0, 533, 536, 1, 0, 0, 0, 534, 532, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 537, 1, 0, 0, 0, 536, 534, 1, 0, 0, 0, 537, 538, 5, 46, 0, 0, 538, 539, 3, 162, 81, 0, 539, 540, 5, 84, 0, 0, 540, 541, 3, 164, 82, 0, 541, 542, 5, 77, 0, 0, 542, 545, 3, 164, 82, 0, 543, 544, 5, 78, 0, 0, 544, 546, 5, 147, 0, 0, 545, 543, 1, 0, 0, 0, 545, 546, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 551, 5, 137, 0, 0, 548, 550, 3, 54, 27, 0, 549, 548, 1, 0, 0, 0, 550, 553, 1, 0, 0, 0, 551, 549, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 554, 1, 0, 0, 0, 553, 551, 1, 0, 0, 0, 554, 555, 5, 138, 0, 0, 555, 53, 1, 0, 0, 0, 556, 563, 3, 68, 34, 0, 557, 563, 3, 70, 35, 0, 558, 563, 3, 78, 39, 0, 559, 563, 3, 60, 30, 0, 560, 563, 3, 62, 31, 0, 561, 563, 3, 56, 28, 0, 562, 556, 1, 0, 0, 0, 562, 557, 1, 0, 0, 0, 562, 558, 1, 0, 0, 0, 562, 559, 1, 0, 0, 0, 562, 560, 1, 0, 0, 0, 562, 561, 1, 0, 0, 0, 563, 55, 1, 0, 0, 0, 564, 565, 5, 2, 0, 0, 565, 566, 3, 162, 81, 0, 566, 567, 5, 84, 0, 0, 567, 568, 3, 164, 82, 0, 568, 569, 5, 38, 0, 0, 569, 570, 3, 26, 13, 0, 570, 571, 5, 136, 0, 0, 571, 572, 3, 162, 81, 0, 572, 573, 5, 134, 0, 0, 573, 57, 1, 0, 0, 0, 574, 575, 5, 4, 0, 0, 575, 576, 3, 162, 81, 0, 576, 577, 5, 84, 0, 0, 577, 578, 3, 164, 82, 0, 578, 579, 5, 6, 0, 0, 579, 580, 3, 26, 13, 0, 580, 581, 5, 65, 0, 0, 581, 582, 3, 162, 81, 0, 582, 583, 5, 136, 0, 0, 583, 584, 3, 162, 81, 0, 584, 585, 5, 134, 0, 0, 585, 59, 1, 0, 0, 0, 586, 588, 5, 22, 0, 0, 587, 589, 5, 40, 0, 0, 588, 587, 1, 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 592, 3, 162, 81, 0, 591, 593, 3, 22, 11, 0, 592, 591, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 5, 84, 0, 0, 595, 596, 3, 164, 82, 0, 596, 598, 5, 25, 0, 0, 597, 599, 5, 9, 0, 0, 598, 597, 1, 0, 0, 0, 598, 599, 1, 0, 0, 0, 599, 600, 1, 0, 0, 0, 600, 601, 3, 26, 13, 0, 601, 602, 5, 26, 0, 0, 602, 631, 3, 164, 82, 0, 603, 604, 5, 49, 0, 0, 604, 605, 3, 164, 82, 0, 605, 609, 5, 137, 0, 0, 606, 608, 3, 64, 32, 0, 607, 606, 1, 0, 0, 0, 608, 611, 1, 0, 0, 0, 609, 607, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 612, 1, 0, 0, 0, 611, 609, 1, 0, 0, 0, 612, 613, 5, 138, 0, 0, 613, 632, 1, 0, 0, 0, 614, 615, 5, 40, 0, 0, 615, 618, 3, 164, 82, 0, 616, 617, 5, 49, 0, 0, 617, 619, 3, 164, 82, 0, 618, 616, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 629, 1, 0, 0, 0, 620, 624, 5, 137, 0, 0, 621, 623, 3, 64, 32, 0, 622, 621, 1, 0, 0, 0, 623, 626, 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 625, 627, 1, 0, 0, 0, 626, 624, 1, 0, 0, 0, 627, 630, 5, 138, 0, 0, 628, 630, 5, 134, 0, 0, 629, 620, 1, 0, 0, 0, 629, 628, 1, 0, 0, 0, 630, 632, 1, 0, 0, 0, 631, 603, 1, 0, 0, 0, 631, 614, 1, 0, 0, 0, 632, 61, 1, 0, 0, 0, 633, 634, 5, 22, 0, 0, 634, 635, 3, 162, 81, 0, 635, 636, 5, 84, 0, 0, 636, 637, 3, 164, 82, 0, 637, 638, 5, 24, 0, 0, 638, 639, 3, 162, 81, 0, 639, 640, 3, 28, 14, 0, 640, 641, 5, 134, 0, 0, 641, 63, 1, 0, 0, 0, 642, 643, 5, 16, 0, 0, 643, 700, 5, 134, 0, 0, 644, 645, 5, 17, 0, 0, 645, 646, 5, 18, 0, 0, 646, 647, 3, 162, 81, 0, 647, 648, 5, 134, 0, 0, 648, 700, 1, 0, 0, 0, 649, 650, 5, 27, 0, 0, 650, 651, 3, 164, 82, 0, 651, 652, 5, 134, 0, 0, 652, 700, 1, 0, 0, 0, 653, 654, 5, 27, 0, 0, 654, 655, 3, 162, 81, 0, 655, 656, 5, 136, 0, 0, 656, 666, 3, 162, 81, 0, 657, 658, 5, 64, 0, 0, 658, 662, 5, 137, 0, 0, 659, 661, 3, 66, 33, 0, 660, 659, 1, 0, 0, 0, 661, 664, 1, 0, 0, 0, 662, 660, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 665, 1, 0, 0, 0, 664, 662, 1, 0, 0, 0, 665, 667, 5, 138, 0, 0, 666, 657, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 668, 1, 0, 0, 0, 668, 669, 5, 134, 0, 0, 669, 700, 1, 0, 0, 0, 670, 672, 5, 28, 0, 0, 671, 673, 5, 36, 0, 0, 672, 671, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 675, 3, 162, 81, 0, 675, 676, 5, 55, 0, 0, 676, 677, 3, 26, 13, 0, 677, 678, 5, 134, 0, 0, 678, 700, 1, 0, 0, 0, 679, 680, 5, 29, 0, 0, 680, 681, 3, 162, 81, 0, 681, 682, 5, 147, 0, 0, 682, 683, 5, 134, 0, 0, 683, 700, 1, 0, 0, 0, 684, 685, 5, 30, 0, 0, 685, 686, 3, 26, 13, 0, 686, 687, 5, 136, 0, 0, 687, 688, 3, 162, 81, 0, 688, 689, 3, 162, 81, 0, 689, 690, 3, 164, 82, 0, 690, 691, 5, 134, 0, 0, 691, 700, 1, 0, 0, 0, 692, 693, 5, 93, 0, 0, 693, 700, 5, 134, 0, 0, 694, 695, 5, 31, 0, 0, 695, 696, 5, 147, 0, 0, 696, 697, 3, 164, 82, 0, 697, 698, 5, 134, 0, 0, 698, 700, 1, 0, 0, 0, 699, 642, 1, 0, 0, 0, 699, 644, 1, 0, 0, 0, 699, 649, 1, 0, 0, 0, 699, 653, 1, 0, 0, 0, 699, 670, 1, 0, 0, 0, 699, 679, 1, 0, 0, 0, 699, 684, 1, 0, 0, 0, 699, 692, 1, 0, 0, 0, 699, 694, 1, 0, 0, 0, 700, 65, 1, 0, 0, 0, 701, 702, 3, 162, 81, 0, 702, 703, 5, 58, 0, 0, 703, 704, 3, 162, 81, 0, 704, 705, 5, 134, 0, 0, 705, 67, 1, 0, 0, 0, 706, 707, 5, 49, 0, 0, 707, 709, 3, 162, 81, 0, 708, 710, 3, 22, 11, 0, 709, 708, 1, 0, 0, 0, 709, 710, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 712, 5, 84, 0, 0, 712, 713, 3, 164, 82, 0, 713, 714, 5, 133, 0, 0, 714, 715, 3, 146, 73, 0, 715, 716, 5, 132, 0, 0, 716, 717, 3, 146, 73, 0, 717, 718, 5, 86, 0, 0, 718, 720, 3, 82, 41, 0, 719, 721, 3, 74, 37, 0, 720, 719, 1, 0, 0, 0, 720, 721, 1, 0, 0, 0, 721, 723, 1, 0, 0, 0, 722, 724, 3, 80, 40, 0, 723, 722, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 5, 88, 0, 0, 726, 728, 3, 84, 42, 0, 727, 729, 3, 88, 44, 0, 728, 727, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 731, 1, 0, 0, 0, 730, 732, 3, 72, 36, 0, 731, 730, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 733, 1, 0, 0, 0, 733, 734, 5, 134, 0, 0, 734, 69, 1, 0, 0, 0, 735, 736, 5, 50, 0, 0, 736, 738, 3, 162, 81, 0, 737, 739, 3, 22, 11, 0, 738, 737, 1, 0, 0, 0, 738, 739, 1, 0, 0, 0, 739, 740, 1, 0, 0, 0, 740, 741, 5, 84, 0, 0, 741, 742, 3, 164, 82, 0, 742, 743, 5, 133, 0, 0, 743, 744, 3, 146, 73, 0, 744, 745, 5, 132, 0, 0, 745, 747, 3, 146, 73, 0, 746, 748, 3, 74, 37, 0, 747, 746, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 750, 1, 0, 0, 0, 749, 751, 3, 88, 44, 0, 750, 749, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 751, 753, 1, 0, 0, 0, 752, 754, 3, 72, 36, 0, 753, 752, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 756, 5, 134, 0, 0, 756, 71, 1, 0, 0, 0, 757, 758, 5, 66, 0, 0, 758, 759, 5, 65, 0, 0, 759, 760, 3, 162, 81, 0, 760, 73, 1, 0, 0, 0, 761, 762, 5, 10, 0, 0, 762, 771, 5, 13, 0, 0, 763, 764, 5, 10, 0, 0, 764, 765, 7, 1, 0, 0, 765, 766, 5, 14, 0, 0, 766, 767, 5, 139, 0, 0, 767, 768, 3, 86, 43, 0, 768, 769, 5, 140, 0, 0, 769, 771, 1, 0, 0, 0, 770, 761, 1, 0, 0, 0, 770, 763, 1, 0, 0, 0, 771, 75, 1, 0, 0, 0, 772, 773, 5, 65, 0, 0, 773, 774, 5, 139, 0, 0, 774, 779, 3, 128, 64, 0, 775, 776, 5, 135, 0, 0, 776, 778, 3, 128, 64, 0, 777, 775, 1, 0, 0, 0, 778, 781, 1, 0, 0, 0, 779, 777, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 782, 1, 0, 0, 0, 781, 779, 1, 0, 0, 0, 782, 783, 5, 140, 0, 0, 783, 77, 1, 0, 0, 0, 784, 785, 5, 51, 0, 0, 785, 786, 3, 162, 81, 0, 786, 787, 5, 84, 0, 0, 787, 788, 3, 164, 82, 0, 788, 789, 5, 52, 0, 0, 789, 790, 3, 162, 81, 0, 790, 791, 5, 133, 0, 0, 791, 793, 3, 146, 73, 0, 792, 794, 3, 88, 44, 0, 793, 792, 1, 0, 0, 0, 793, 794, 1, 0, 0, 0, 794, 795, 1, 0, 0, 0, 795, 796, 5, 134, 0, 0, 796, 79, 1, 0, 0, 0, 797, 798, 5, 87, 0, 0, 798, 799, 3, 146, 73, 0, 799, 81, 1, 0, 0, 0, 800, 801, 7, 2, 0, 0, 801, 83, 1, 0, 0, 0, 802, 821, 5, 90, 0, 0, 803, 804, 5, 43, 0, 0, 804, 821, 3, 162, 81, 0, 805, 806, 5, 36, 0, 0, 806, 821, 3, 162, 81, 0, 807, 808, 5, 45, 0, 0, 808, 817, 5, 139, 0, 0, 809, 814, 3, 26, 13, 0, 810, 811, 5, 135, 0, 0, 811, 813, 3, 26, 13, 0, 812, 810, 1, 0, 0, 0, 813, 816, 1, 0, 0, 0, 814, 812, 1, 0, 0, 0, 814, 815, 1, 0, 0, 0, 815, 818, 1, 0, 0, 0, 816, 814, 1, 0, 0, 0, 817, 809, 1, 0, 0, 0, 817, 818, 1, 0, 0, 0, 818, 819, 1, 0, 0, 0, 819, 821, 5, 140, 0, 0, 820, 802, 1, 0, 0, 0, 820, 803, 1, 0, 0, 0, 820, 805, 1, 0, 0, 0, 820, 807, 1, 0, 0, 0, 821, 85, 1, 0, 0, 0, 822, 827, 3, 162, 81, 0, 823, 824, 5, 135, 0, 0, 824, 826, 3, 162, 81, 0, 825, 823, 1, 0, 0, 0, 826, 829, 1, 0, 0, 0, 827, 825, 1, 0, 0, 0, 827, 828, 1, 0, 0, 0, 828, 87, 1, 0, 0, 0, 829, 827, 1, 0, 0, 0, 830, 831, 5, 89, 0, 0, 831, 835, 5, 137, 0, 0, 832, 834, 3, 90, 45, 0, 833, 832, 1, 0, 0, 0, 834, 837, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 835, 836, 1, 0, 0, 0, 836, 838, 1, 0, 0, 0, 837, 835, 1, 0, 0, 0, 838, 839, 5, 138, 0, 0, 839, 89, 1, 0, 0, 0, 840, 841, 5, 23, 0, 0, 841, 842, 3, 162, 81, 0, 842, 843, 5, 84, 0, 0, 843, 844, 3, 164, 82, 0, 844, 845, 5, 139, 0, 0, 845, 846, 3, 86, 43, 0, 846, 847, 5, 140, 0, 0, 847, 848, 5, 134, 0, 0, 848, 919, 1, 0, 0, 0, 849, 850, 5, 61, 0, 0, 850, 851, 3, 162, 81, 0, 851, 852, 5, 84, 0, 0, 852, 853, 3, 164, 82, 0, 853, 854, 5, 133, 0, 0, 854, 855, 3, 146, 73, 0, 855, 856, 3, 92, 46, 0, 856, 857, 5, 134, 0, 0, 857, 919, 1, 0, 0, 0, 858, 859, 5, 62, 0, 0, 859, 860, 3, 162, 81, 0, 860, 861, 5, 84, 0, 0, 861, 862, 3, 164, 82, 0, 862, 863, 5, 133, 0, 0, 863, 864, 3, 152, 76, 0, 864, 865, 3, 50, 25, 0, 865, 866, 3, 92, 46, 0, 866, 867, 5, 134, 0, 0, 867, 919, 1, 0, 0, 0, 868, 869, 5, 44, 0, 0, 869, 870, 3, 162, 81, 0, 870, 871, 5, 84, 0, 0, 871, 872, 3, 164, 82, 0, 872, 873, 5, 133, 0, 0, 873, 875, 3, 162, 81, 0, 874, 876, 3, 28, 14, 0, 875, 874, 1, 0, 0, 0, 875, 876, 1, 0, 0, 0, 876, 878, 1, 0, 0, 0, 877, 879, 3, 76, 38, 0, 878, 877, 1, 0, 0, 0, 878, 879, 1, 0, 0, 0, 879, 882, 1, 0, 0, 0, 880, 881, 5, 18, 0, 0, 881, 883, 5, 53, 0, 0, 882, 880, 1, 0, 0, 0, 882, 883, 1, 0, 0, 0, 883, 884, 1, 0, 0, 0, 884, 885, 5, 134, 0, 0, 885, 919, 1, 0, 0, 0, 886, 887, 5, 7, 0, 0, 887, 888, 3, 162, 81, 0, 888, 889, 5, 84, 0, 0, 889, 890, 3, 164, 82, 0, 890, 891, 5, 133, 0, 0, 891, 892, 3, 162, 81, 0, 892, 893, 5, 53, 0, 0, 893, 894, 3, 146, 73, 0, 894, 895, 5, 134, 0, 0, 895, 919, 1, 0, 0, 0, 896, 897, 5, 51, 0, 0, 897, 898, 3, 162, 81, 0, 898, 899, 5, 84, 0, 0, 899, 900, 3, 164, 82, 0, 900, 901, 5, 133, 0, 0, 901, 904, 3, 162, 81, 0, 902, 903, 5, 53, 0, 0, 903, 905, 3, 146, 73, 0, 904, 902, 1, 0, 0, 0, 904, 905, 1, 0, 0, 0, 905, 906, 1, 0, 0, 0, 906, 907, 5, 134, 0, 0, 907, 919, 1, 0, 0, 0, 908, 909, 5, 22, 0, 0, 909, 910, 3, 162, 81, 0, 910, 911, 5, 84, 0, 0, 911, 912, 3, 164, 82, 0, 912, 913, 5, 133, 0, 0, 913, 914, 3, 162, 81, 0, 914, 915, 5, 136, 0, 0, 915, 916, 3, 162, 81, 0, 916, 917, 5, 134, 0, 0, 917, 919, 1, 0, 0, 0, 918, 840, 1, 0, 0, 0, 918, 849, 1, 0, 0, 0, 918, 858, 1, 0, 0, 0, 918, 868, 1, 0, 0, 0, 918, 886, 1, 0, 0, 0, 918, 896, 1, 0, 0, 0, 918, 908, 1, 0, 0, 0, 919, 91, 1, 0, 0, 0, 920, 921, 5, 139, 0, 0, 921, 926, 3, 94, 47, 0, 922, 923, 5, 135, 0, 0, 923, 925, 3, 94, 47, 0, 924, 922, 1, 0, 0, 0, 925, 928, 1, 0, 0, 0, 926, 924, 1, 0, 0, 0, 926, 927, 1, 0, 0, 0, 927, 929, 1, 0, 0, 0, 928, 926, 1, 0, 0, 0, 929, 930, 5, 140, 0, 0, 930, 93, 1, 0, 0, 0, 931, 932, 7, 3, 0, 0, 932, 95, 1, 0, 0, 0, 933, 934, 5, 60, 0, 0, 934, 935, 3, 98, 49, 0, 935, 97, 1, 0, 0, 0, 936, 939, 3, 100, 50, 0, 937, 939, 3, 104, 52, 0, 938, 936, 1, 0, 0, 0, 938, 937, 1, 0, 0, 0, 939, 99, 1, 0, 0, 0, 940, 941, 5, 61, 0, 0, 941, 942, 3, 162, 81, 0, 942, 943, 5, 84, 0, 0, 943, 944, 3, 164, 82, 0, 944, 945, 5, 71, 0, 0, 945, 946, 3, 162, 81, 0, 946, 947, 5, 133, 0, 0, 947, 948, 3, 146, 73, 0, 948, 949, 5, 72, 0, 0, 949, 952, 3, 102, 51, 0, 950, 951, 5, 73, 0, 0, 951, 953, 3, 154, 77, 0, 952, 950, 1, 0, 0, 0, 952, 953, 1, 0, 0, 0, 953, 954, 1, 0, 0, 0, 954, 955, 5, 134, 0, 0, 955, 101, 1, 0, 0, 0, 956, 963, 5, 106, 0, 0, 957, 958, 5, 107, 0, 0, 958, 959, 5, 141, 0, 0, 959, 960, 3, 146, 73, 0, 960, 961, 5, 142, 0, 0, 961, 963, 1, 0, 0, 0, 962, 956, 1, 0, 0, 0, 962, 957, 1, 0, 0, 0, 963, 103, 1, 0, 0, 0, 964, 965, 5, 62, 0, 0, 965, 966, 3, 162, 81, 0, 966, 967, 5, 84, 0, 0, 967, 968, 3, 164, 82, 0, 968, 969, 5, 137, 0, 0, 969, 970, 3, 106, 53, 0, 970, 971, 3, 106, 53, 0, 971, 972, 5, 138, 0, 0, 972, 105, 1, 0, 0, 0, 973, 974, 3, 50, 25, 0, 974, 975, 5, 63, 0, 0, 975, 976, 3, 162, 81, 0, 976, 977, 5, 84, 0, 0, 977, 978, 3, 164, 82, 0, 978, 980, 3, 152, 76, 0, 979, 981, 5, 112, 0, 0, 980, 979, 1, 0, 0, 0, 980, 981, 1, 0, 0, 0, 981, 984, 1, 0, 0, 0, 982, 983, 5, 79, 0, 0, 983, 985, 3, 164, 82, 0, 984, 982, 1, 0, 0, 0, 984, 985, 1, 0, 0, 0, 985, 987, 1, 0, 0, 0, 986, 988, 5, 81, 0, 0, 987, 986, 1, 0, 0, 0, 987, 988, 1, 0, 0, 0, 988, 991, 1, 0, 0, 0, 989, 990, 5, 82, 0, 0, 990, 992, 3, 164, 82, 0, 991, 989, 1, 0, 0, 0, 991, 992, 1, 0, 0, 0, 992, 994, 1, 0, 0, 0, 993, 995, 5, 83, 0, 0, 994, 993, 1, 0, 0, 0, 994, 995, 1, 0, 0, 0, 995, 996, 1, 0, 0, 0, 996, 997, 5, 134, 0, 0, 997, 107, 1, 0, 0, 0, 998, 1000, 5, 54, 0, 0, 999, 1001, 3, 22, 11, 0, 1000, 999, 1, 0, 0, 0, 1000, 1001, 1, 0, 0, 0, 1001, 1002, 1, 0, 0, 0, 1002, 1004, 3, 162, 81, 0, 1003, 1005, 3, 110, 55, 0, 1004, 1003, 1, 0, 0, 0, 1004, 1005, 1, 0, 0, 0, 1005, 1006, 1, 0, 0, 0, 1006, 1007, 5, 55, 0, 0, 1007, 1009, 3, 162, 81, 0, 1008, 1010, 3, 28, 14, 0, 1009, 1008, 1, 0, 0, 0, 1009, 1010, 1, 0, 0, 0, 1010, 1013, 1, 0, 0, 0, 1011, 1012, 5, 84, 0, 0, 1012, 1014, 3, 164, 82, 0, 1013, 1011, 1, 0, 0, 0, 1013, 1014, 1, 0, 0, 0, 1014, 1017, 1, 0, 0, 0, 1015, 1016, 5, 78, 0, 0, 1016, 1018, 5, 147, 0, 0, 1017, 1015, 1, 0, 0, 0, 1017, 1018, 1, 0, 0, 0, 1018, 1019, 1, 0, 0, 0, 1019, 1023, 5, 137, 0, 0, 1020, 1022, 3, 112, 56, 0, 1021, 1020, 1, 0, 0, 0, 1022, 1025, 1, 0, 0, 0, 1023, 1021, 1, 0, 0, 0, 1023, 1024, 1, 0, 0, 0, 1024, 1026, 1, 0, 0, 0, 1025, 1023, 1, 0, 0, 0, 1026, 1027, 5, 138, 0, 0, 1027, 109, 1, 0, 0, 0, 1028, 1029, 3, 28, 14, 0, 1029, 111, 1, 0, 0, 0, 1030, 1031, 5, 59, 0, 0, 1031, 1038, 3, 98, 49, 0, 1032, 1038, 3, 126, 63, 0, 1033, 1038, 3, 122, 61, 0, 1034, 1038, 3, 116, 58, 0, 1035, 1038, 3, 124, 62, 0, 1036, 1038, 3, 114, 57, 0, 1037, 1030, 1, 0, 0, 0, 1037, 1032, 1, 0, 0, 0, 1037, 1033, 1, 0, 0, 0, 1037, 1034, 1, 0, 0, 0, 1037, 1035, 1, 0, 0, 0, 1037, 1036, 1, 0, 0, 0, 1038, 113, 1, 0, 0, 0, 1039, 1040, 5, 56, 0, 0, 1040, 1041, 3, 162, 81, 0, 1041, 1042, 5, 58, 0, 0, 1042, 1043, 3, 162, 81, 0, 1043, 1044, 5, 136, 0, 0, 1044, 1045, 3, 162, 81, 0, 1045, 1046, 5, 134, 0, 0, 1046, 115, 1, 0, 0, 0, 1047, 1048, 5, 8, 0, 0, 1048, 1052, 5, 137, 0, 0, 1049, 1051, 3, 118, 59, 0, 1050, 1049, 1, 0, 0, 0, 1051, 1054, 1, 0, 0, 0, 1052, 1050, 1, 0, 0, 0, 1052, 1053, 1, 0, 0, 0, 1053, 1055, 1, 0, 0, 0, 1054, 1052, 1, 0, 0, 0, 1055, 1056, 5, 138, 0, 0, 1056, 1057, 5, 134, 0, 0, 1057, 117, 1, 0, 0, 0, 1058, 1059, 3, 162, 81, 0, 1059, 1060, 5, 58, 0, 0, 1060, 1061, 5, 61, 0, 0, 1061, 1062, 3, 162, 81, 0, 1062, 1063, 5, 134, 0, 0, 1063, 1073, 1, 0, 0, 0, 1064, 1065, 3, 162, 81, 0, 1065, 1066, 5, 58, 0, 0, 1066, 1067, 5, 62, 0, 0, 1067, 1068, 3, 162, 81, 0, 1068, 1069, 5, 136, 0, 0, 1069, 1070, 3, 162, 81, 0, 1070, 1071, 5, 134, 0, 0, 1071, 1073, 1, 0, 0, 0, 1072, 1058, 1, 0, 0, 0, 1072, 1064, 1, 0, 0, 0, 1073, 119, 1, 0, 0, 0, 1074, 1075, 3, 26, 13, 0, 1075, 1076, 5, 18, 0, 0, 1076, 1081, 5, 53, 0, 0, 1077, 1078, 5, 136, 0, 0, 1078, 1080, 3, 162, 81, 0, 1079, 1077, 1, 0, 0, 0, 1080, 1083, 1, 0, 0, 0, 1081, 1079, 1, 0, 0, 0, 1081, 1082, 1, 0, 0, 0, 1082, 1084, 1, 0, 0, 0, 1083, 1081, 1, 0, 0, 0, 1084, 1085, 5, 134, 0, 0, 1085, 121, 1, 0, 0, 0, 1086, 1087, 5, 56, 0, 0, 1087, 1088, 3, 162, 81, 0, 1088, 1089, 5, 58, 0, 0, 1089, 1090, 5, 61, 0, 0, 1090, 1091, 3, 162, 81, 0, 1091, 1092, 5, 134, 0, 0, 1092, 123, 1, 0, 0, 0, 1093, 1094, 5, 68, 0, 0, 1094, 1095, 3, 162, 81, 0, 1095, 1096, 5, 69, 0, 0, 1096, 1097, 5, 70, 0, 0, 1097, 1098, 5, 65, 0, 0, 1098, 1099, 5, 51, 0, 0, 1099, 1100, 3, 162, 81, 0, 1100, 1101, 5, 67, 0, 0, 1101, 1102, 5, 62, 0, 0, 1102, 1103, 3, 162, 81, 0, 1103, 1104, 5, 136, 0, 0, 1104, 1105, 3, 162, 81, 0, 1105, 1106, 5, 134, 0, 0, 1106, 125, 1, 0, 0, 0, 1107, 1108, 5, 56, 0, 0, 1108, 1109, 3, 128, 64, 0, 1109, 1110, 5, 58, 0, 0, 1110, 1113, 3, 132, 66, 0, 1111, 1112, 5, 34, 0, 0, 1112, 1114, 3, 164, 82, 0, 1113, 1111, 1, 0, 0, 0, 1113, 1114, 1, 0, 0, 0, 1114, 1115, 1, 0, 0, 0, 1115, 1116, 5, 134, 0, 0, 1116, 127, 1, 0, 0, 0, 1117, 1118, 3, 162, 81, 0, 1118, 1119, 5, 136, 0, 0, 1119, 1120, 3, 130, 65, 0, 1120, 129, 1, 0, 0, 0, 1121, 1134, 3, 162, 81, 0, 1122, 1134, 5, 101, 0, 0, 1123, 1134, 5, 91, 0, 0, 1124, 1134, 5, 92, 0, 0, 1125, 1134, 5, 1, 0, 0, 1126, 1134, 5, 98, 0, 0, 1127, 1134, 5, 99, 0, 0, 1128, 1134, 5, 100, 0, 0, 1129, 1134, 5, 102, 0, 0, 1130, 1134, 5, 103, 0, 0, 1131, 1134, 5, 104, 0, 0, 1132, 1134, 5, 105, 0, 0, 1133, 1121, 1, 0, 0, 0, 1133, 1122, 1, 0, 0, 0, 1133, 1123, 1, 0, 0, 0, 1133, 1124, 1, 0, 0, 0, 1133, 1125, 1, 0, 0, 0, 1133, 1126, 1, 0, 0, 0, 1133, 1127, 1, 0, 0, 0, 1133, 1128, 1, 0, 0, 0, 1133, 1129, 1, 0, 0, 0, 1133, 1130, 1, 0, 0, 0, 1133, 1131, 1, 0, 0, 0, 1133, 1132, 1, 0, 0, 0, 1134, 131, 1, 0, 0, 0, 1135, 1136, 5, 80, 0, 0, 1136, 1137, 5, 136, 0, 0, 1137, 1172, 3, 162, 81, 0, 1138, 1139, 5, 61, 0, 0, 1139, 1140, 3, 162, 81, 0, 1140, 1141, 5, 136, 0, 0, 1141, 1142, 3, 136, 68, 0, 1142, 1172, 1, 0, 0, 0, 1143, 1144, 5, 62, 0, 0, 1144, 1145, 3, 162, 81, 0, 1145, 1146, 5, 136, 0, 0, 1146, 1147, 3, 162, 81, 0, 1147, 1148, 5, 136, 0, 0, 1148, 1149, 3, 138, 69, 0, 1149, 1172, 1, 0, 0, 0, 1150, 1151, 5, 44, 0, 0, 1151, 1153, 3, 162, 81, 0, 1152, 1154, 3, 28, 14, 0, 1153, 1152, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1155, 1, 0, 0, 0, 1155, 1156, 5, 136, 0, 0, 1156, 1157, 3, 128, 64, 0, 1157, 1172, 1, 0, 0, 0, 1158, 1159, 5, 46, 0, 0, 1159, 1160, 3, 162, 81, 0, 1160, 1161, 5, 136, 0, 0, 1161, 1163, 3, 162, 81, 0, 1162, 1164, 3, 28, 14, 0, 1163, 1162, 1, 0, 0, 0, 1163, 1164, 1, 0, 0, 0, 1164, 1166, 1, 0, 0, 0, 1165, 1167, 3, 140, 70, 0, 1166, 1165, 1, 0, 0, 0, 1166, 1167, 1, 0, 0, 0, 1167, 1169, 1, 0, 0, 0, 1168, 1170, 3, 134, 67, 0, 1169, 1168, 1, 0, 0, 0, 1169, 1170, 1, 0, 0, 0, 1170, 1172, 1, 0, 0, 0, 1171, 1135, 1, 0, 0, 0, 1171, 1138, 1, 0, 0, 0, 1171, 1143, 1, 0, 0, 0, 1171, 1150, 1, 0, 0, 0, 1171, 1158, 1, 0, 0, 0, 1172, 133, 1, 0, 0, 0, 1173, 1174, 5, 66, 0, 0, 1174, 1175, 3, 140, 70, 0, 1175, 135, 1, 0, 0, 0, 1176, 1177, 7, 4, 0, 0, 1177, 137, 1, 0, 0, 0, 1178, 1179, 7, 5, 0, 0, 1179, 139, 1, 0, 0, 0, 1180, 1181, 5, 64, 0, 0, 1181, 1185, 5, 137, 0, 0, 1182, 1184, 3, 142, 71, 0, 1183, 1182, 1, 0, 0, 0, 1184, 1187, 1, 0, 0, 0, 1185, 1183, 1, 0, 0, 0, 1185, 1186, 1, 0, 0, 0, 1186, 1188, 1, 0, 0, 0, 1187, 1185, 1, 0, 0, 0, 1188, 1189, 5, 138, 0, 0, 1189, 141, 1, 0, 0, 0, 1190, 1191, 3, 162, 81, 0, 1191, 1192, 5, 58, 0, 0, 1192, 1193, 5, 9, 0, 0, 1193, 1194, 5, 23, 0, 0, 1194, 1195, 5, 139, 0, 0, 1195, 1196, 3, 86, 43, 0, 1196, 1197, 5, 140, 0, 0, 1197, 1198, 5, 134, 0, 0, 1198, 1289, 1, 0, 0, 0, 1199, 1200, 3, 162, 81, 0, 1200, 1201, 5, 58, 0, 0, 1201, 1202, 5, 61, 0, 0, 1202, 1209, 3, 162, 81, 0, 1203, 1204, 5, 67, 0, 0, 1204, 1205, 5, 62, 0, 0, 1205, 1206, 3, 162, 81, 0, 1206, 1207, 5, 136, 0, 0, 1207, 1208, 3, 162, 81, 0, 1208, 1210, 1, 0, 0, 0, 1209, 1203, 1, 0, 0, 0, 1209, 1210, 1, 0, 0, 0, 1210, 1211, 1, 0, 0, 0, 1211, 1212, 5, 134, 0, 0, 1212, 1289, 1, 0, 0, 0, 1213, 1214, 3, 162, 81, 0, 1214, 1215, 5, 58, 0, 0, 1215, 1216, 5, 62, 0, 0, 1216, 1217, 3, 162, 81, 0, 1217, 1218, 5, 136, 0, 0, 1218, 1225, 3, 162, 81, 0, 1219, 1220, 5, 67, 0, 0, 1220, 1221, 5, 62, 0, 0, 1221, 1222, 3, 162, 81, 0, 1222, 1223, 5, 136, 0, 0, 1223, 1224, 3, 162, 81, 0, 1224, 1226, 1, 0, 0, 0, 1225, 1219, 1, 0, 0, 0, 1225, 1226, 1, 0, 0, 0, 1226, 1227, 1, 0, 0, 0, 1227, 1228, 5, 134, 0, 0, 1228, 1289, 1, 0, 0, 0, 1229, 1230, 3, 162, 81, 0, 1230, 1231, 5, 58, 0, 0, 1231, 1232, 5, 44, 0, 0, 1232, 1234, 3, 162, 81, 0, 1233, 1235, 3, 28, 14, 0, 1234, 1233, 1, 0, 0, 0, 1234, 1235, 1, 0, 0, 0, 1235, 1244, 1, 0, 0, 0, 1236, 1237, 5, 67, 0, 0, 1237, 1238, 5, 62, 0, 0, 1238, 1239, 3, 162, 81, 0, 1239, 1240, 5, 136, 0, 0, 1240, 1241, 3, 162, 81, 0, 1241, 1245, 1, 0, 0, 0, 1242, 1243, 5, 18, 0, 0, 1243, 1245, 5, 53, 0, 0, 1244, 1236, 1, 0, 0, 0, 1244, 1242, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 1246, 1, 0, 0, 0, 1246, 1247, 5, 134, 0, 0, 1247, 1289, 1, 0, 0, 0, 1248, 1249, 3, 162, 81, 0, 1249, 1250, 5, 58, 0, 0, 1250, 1251, 5, 7, 0, 0, 1251, 1252, 3, 162, 81, 0, 1252, 1253, 5, 64, 0, 0, 1253, 1257, 5, 137, 0, 0, 1254, 1256, 3, 120, 60, 0, 1255, 1254, 1, 0, 0, 0, 1256, 1259, 1, 0, 0, 0, 1257, 1255, 1, 0, 0, 0, 1257, 1258, 1, 0, 0, 0, 1258, 1260, 1, 0, 0, 0, 1259, 1257, 1, 0, 0, 0, 1260, 1261, 5, 138, 0, 0, 1261, 1262, 5, 134, 0, 0, 1262, 1289, 1, 0, 0, 0, 1263, 1264, 3, 162, 81, 0, 1264, 1265, 5, 58, 0, 0, 1265, 1266, 5, 51, 0, 0, 1266, 1267, 3, 162, 81, 0, 1267, 1268, 5, 134, 0, 0, 1268, 1289, 1, 0, 0, 0, 1269, 1270, 3, 162, 81, 0, 1270, 1272, 5, 58, 0, 0, 1271, 1273, 5, 9, 0, 0, 1272, 1271, 1, 0, 0, 0, 1272, 1273, 1, 0, 0, 0, 1273, 1274, 1, 0, 0, 0, 1274, 1275, 5, 22, 0, 0, 1275, 1276, 3, 162, 81, 0, 1276, 1277, 5, 136, 0, 0, 1277, 1284, 3, 162, 81, 0, 1278, 1279, 5, 67, 0, 0, 1279, 1280, 5, 62, 0, 0, 1280, 1281, 3, 162, 81, 0, 1281, 1282, 5, 136, 0, 0, 1282, 1283, 3, 162, 81, 0, 1283, 1285, 1, 0, 0, 0, 1284, 1278, 1, 0, 0, 0, 1284, 1285, 1, 0, 0, 0, 1285, 1286, 1, 0, 0, 0, 1286, 1287, 5, 134, 0, 0, 1287, 1289, 1, 0, 0, 0, 1288, 1190, 1, 0, 0, 0, 1288, 1199, 1, 0, 0, 0, 1288, 1213, 1, 0, 0, 0, 1288, 1229, 1, 0, 0, 0, 1288, 1248, 1, 0, 0, 0, 1288, 1263, 1, 0, 0, 0, 1288, 1269, 1, 0, 0, 0, 1289, 143, 1, 0, 0, 0, 1290, 1291, 5, 51, 0, 0, 1291, 1292, 3, 162, 81, 0, 1292, 1293, 5, 58, 0, 0, 1293, 1294, 3, 162, 81, 0, 1294, 1295, 5, 136, 0, 0, 1295, 1297, 3, 162, 81, 0, 1296, 1298, 3, 140, 70, 0, 1297, 1296, 1, 0, 0, 0, 1297, 1298, 1, 0, 0, 0, 1298, 1299, 1, 0, 0, 0, 1299, 1300, 5, 134, 0, 0, 1300, 145, 1, 0, 0, 0, 1301, 1348, 3, 150, 75, 0, 1302, 1348, 5, 113, 0, 0, 1303, 1348, 5, 114, 0, 0, 1304, 1305, 5, 115, 0, 0, 1305, 1348, 3, 164, 82, 0, 1306, 1307, 5, 116, 0, 0, 1307, 1308, 5, 143, 0, 0, 1308, 1309, 3, 162, 81, 0, 1309, 1310, 5, 144, 0, 0, 1310, 1348, 1, 0, 0, 0, 1311, 1312, 5, 117, 0, 0, 1312, 1313, 5, 143, 0, 0, 1313, 1315, 3, 162, 81, 0, 1314, 1316, 3, 28, 14, 0, 1315, 1314, 1, 0, 0, 0, 1315, 1316, 1, 0, 0, 0, 1316, 1317, 1, 0, 0, 0, 1317, 1318, 5, 144, 0, 0, 1318, 1348, 1, 0, 0, 0, 1319, 1320, 5, 39, 0, 0, 1320, 1321, 5, 143, 0, 0, 1321, 1322, 3, 162, 81, 0, 1322, 1323, 5, 144, 0, 0, 1323, 1348, 1, 0, 0, 0, 1324, 1325, 5, 118, 0, 0, 1325, 1326, 5, 143, 0, 0, 1326, 1327, 3, 146, 73, 0, 1327, 1328, 5, 144, 0, 0, 1328, 1348, 1, 0, 0, 0, 1329, 1330, 5, 119, 0, 0, 1330, 1331, 5, 143, 0, 0, 1331, 1332, 3, 146, 73, 0, 1332, 1333, 5, 144, 0, 0, 1333, 1348, 1, 0, 0, 0, 1334, 1335, 5, 120, 0, 0, 1335, 1339, 5, 137, 0, 0, 1336, 1338, 3, 148, 74, 0, 1337, 1336, 1, 0, 0, 0, 1338, 1341, 1, 0, 0, 0, 1339, 1337, 1, 0, 0, 0, 1339, 1340, 1, 0, 0, 0, 1340, 1342, 1, 0, 0, 0, 1341, 1339, 1, 0, 0, 0, 1342, 1348, 5, 138, 0, 0, 1343, 1345, 3, 162, 81, 0, 1344, 1346, 3, 28, 14, 0, 1345, 1344, 1, 0, 0, 0, 1345, 1346, 1, 0, 0, 0, 1346, 1348, 1, 0, 0, 0, 1347, 1301, 1, 0, 0, 0, 1347, 1302, 1, 0, 0, 0, 1347, 1303, 1, 0, 0, 0, 1347, 1304, 1, 0, 0, 0, 1347, 1306, 1, 0, 0, 0, 1347, 1311, 1, 0, 0, 0, 1347, 1319, 1, 0, 0, 0, 1347, 1324, 1, 0, 0, 0, 1347, 1329, 1, 0, 0, 0, 1347, 1334, 1, 0, 0, 0, 1347, 1343, 1, 0, 0, 0, 1348, 147, 1, 0, 0, 0, 1349, 1350, 3, 162, 81, 0, 1350, 1351, 5, 133, 0, 0, 1351, 1352, 3, 146, 73, 0, 1352, 1353, 5, 134, 0, 0, 1353, 149, 1, 0, 0, 0, 1354, 1355, 7, 6, 0, 0, 1355, 151, 1, 0, 0, 0, 1356, 1357, 7, 7, 0, 0, 1357, 153, 1, 0, 0, 0, 1358, 1367, 3, 164, 82, 0, 1359, 1367, 5, 147, 0, 0, 1360, 1367, 5, 148, 0, 0, 1361, 1367, 5, 129, 0, 0, 1362, 1367, 5, 130, 0, 0, 1363, 1367, 5, 131, 0, 0, 1364, 1367, 3, 156, 78, 0, 1365, 1367, 3, 160, 80, 0, 1366, 1358, 1, 0, 0, 0, 1366, 1359, 1, 0, 0, 0, 1366, 1360, 1, 0, 0, 0, 1366, 1361, 1, 0, 0, 0, 1366, 1362, 1, 0, 0, 0, 1366, 1363, 1, 0, 0, 0, 1366, 1364, 1, 0, 0, 0, 1366, 1365, 1, 0, 0, 0, 1367, 155, 1, 0, 0, 0, 1368, 1377, 5, 137, 0, 0, 1369, 1374, 3, 158, 79, 0, 1370, 1371, 5, 135, 0, 0, 1371, 1373, 3, 158, 79, 0, 1372, 1370, 1, 0, 0, 0, 1373, 1376, 1, 0, 0, 0, 1374, 1372, 1, 0, 0, 0, 1374, 1375, 1, 0, 0, 0, 1375, 1378, 1, 0, 0, 0, 1376, 1374, 1, 0, 0, 0, 1377, 1369, 1, 0, 0, 0, 1377, 1378, 1, 0, 0, 0, 1378, 1379, 1, 0, 0, 0, 1379, 1380, 5, 138, 0, 0, 1380, 157, 1, 0, 0, 0, 1381, 1382, 3, 164, 82, 0, 1382, 1383, 5, 133, 0, 0, 1383, 1384, 3, 154, 77, 0, 1384, 159, 1, 0, 0, 0, 1385, 1394, 5, 139, 0, 0, 1386, 1391, 3, 154, 77, 0, 1387, 1388, 5, 135, 0, 0, 1388, 1390, 3, 154, 77, 0, 1389, 1387, 1, 0, 0, 0, 1390, 1393, 1, 0, 0, 0, 1391, 1389, 1, 0, 0, 0, 1391, 1392, 1, 0, 0, 0, 1392, 1395, 1, 0, 0, 0, 1393, 1391, 1, 0, 0, 0, 1394, 1386, 1, 0, 0, 0, 1394, 1395, 1, 0, 0, 0, 1395, 1396, 1, 0, 0, 0, 1396, 1397, 5, 140, 0, 0, 1397, 161, 1, 0, 0, 0, 1398, 1399, 7, 8, 0, 0, 1399, 163, 1, 0, 0, 0, 1400, 1401, 5, 150, 0, 0, 1401, 165, 1, 0, 0, 0, 125, 178, 185, 206, 219, 231, 251, 259, 266, 272, 284, 287, 293, 304, 313, 323, 326, 328, 332, 340, 352, 357, 367, 377, 382, 397, 403, 415, 424, 432, 440, 453, 456, 466, 470, 476, 483, 489, 497, 505, 518, 525, 529, 534, 545, 551, 562, 588, 592, 598, 609, 618, 624, 629, 631, 662, 666, 672, 699, 709, 720, 723, 728, 731, 738, 747, 750, 753, 770, 779, 793, 814, 817, 820, 827, 835, 875, 878, 882, 904, 918, 926, 938, 952, 962, 980, 984, 987, 991, 994, 1000, 1004, 1009, 1013, 1017, 1023, 1037, 1052, 1072, 1081, 1113, 1133, 1153, 1163, 1166, 1169, 1171, 1185, 1209, 1225, 1234, 1244, 1257, 1272, 1284, 1288, 1297, 1315, 1339, 1345, 1347, 1366, 1374, 1377, 1391, 1394] \ No newline at end of file +[4, 1, 153, 1407, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 179, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 184, 8, 1, 10, 1, 12, 1, 187, 9, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 205, 8, 3, 10, 3, 12, 3, 208, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 220, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 232, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 252, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 260, 8, 9, 1, 9, 1, 9, 1, 10, 5, 10, 265, 8, 10, 10, 10, 12, 10, 268, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 273, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 283, 8, 10, 10, 10, 12, 10, 286, 9, 10, 3, 10, 288, 8, 10, 1, 10, 1, 10, 5, 10, 292, 8, 10, 10, 10, 12, 10, 295, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 303, 8, 11, 10, 11, 12, 11, 306, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 314, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 322, 8, 12, 10, 12, 12, 12, 325, 9, 12, 3, 12, 327, 8, 12, 3, 12, 329, 8, 12, 1, 13, 1, 13, 3, 13, 333, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 339, 8, 14, 10, 14, 12, 14, 342, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 353, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 358, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 3, 17, 368, 8, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 3, 18, 378, 8, 18, 1, 18, 1, 18, 1, 19, 3, 19, 383, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 3, 19, 398, 8, 19, 1, 19, 1, 19, 1, 19, 1, 20, 3, 20, 404, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 5, 20, 414, 8, 20, 10, 20, 12, 20, 417, 9, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 425, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 433, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 441, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 454, 8, 21, 1, 22, 3, 22, 457, 8, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 467, 8, 22, 1, 22, 1, 22, 3, 22, 471, 8, 22, 1, 22, 1, 22, 5, 22, 475, 8, 22, 10, 22, 12, 22, 478, 9, 22, 1, 22, 1, 22, 1, 23, 1, 23, 3, 23, 484, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 490, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 498, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 506, 8, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 519, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 526, 8, 25, 1, 25, 1, 25, 3, 25, 530, 8, 25, 1, 26, 5, 26, 533, 8, 26, 10, 26, 12, 26, 536, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 546, 8, 26, 1, 26, 1, 26, 5, 26, 550, 8, 26, 10, 26, 12, 26, 553, 9, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 3, 27, 563, 8, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 3, 30, 589, 8, 30, 1, 30, 1, 30, 3, 30, 593, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 599, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 5, 30, 608, 8, 30, 10, 30, 12, 30, 611, 9, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 619, 8, 30, 1, 30, 1, 30, 5, 30, 623, 8, 30, 10, 30, 12, 30, 626, 9, 30, 1, 30, 1, 30, 3, 30, 630, 8, 30, 3, 30, 632, 8, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 5, 32, 661, 8, 32, 10, 32, 12, 32, 664, 9, 32, 1, 32, 3, 32, 667, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 673, 8, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 700, 8, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 3, 34, 710, 8, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 3, 34, 721, 8, 34, 1, 34, 3, 34, 724, 8, 34, 1, 34, 1, 34, 1, 34, 3, 34, 729, 8, 34, 1, 34, 3, 34, 732, 8, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 3, 35, 739, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 748, 8, 35, 1, 35, 3, 35, 751, 8, 35, 1, 35, 3, 35, 754, 8, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 771, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 778, 8, 38, 10, 38, 12, 38, 781, 9, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 794, 8, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 5, 42, 813, 8, 42, 10, 42, 12, 42, 816, 9, 42, 3, 42, 818, 8, 42, 1, 42, 3, 42, 821, 8, 42, 1, 43, 1, 43, 1, 43, 5, 43, 826, 8, 43, 10, 43, 12, 43, 829, 9, 43, 1, 44, 1, 44, 1, 44, 5, 44, 834, 8, 44, 10, 44, 12, 44, 837, 9, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 868, 8, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 880, 8, 45, 1, 45, 3, 45, 883, 8, 45, 1, 45, 1, 45, 3, 45, 887, 8, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 909, 8, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 923, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 929, 8, 46, 10, 46, 12, 46, 932, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 3, 49, 943, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 957, 8, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 967, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 985, 8, 53, 1, 53, 1, 53, 3, 53, 989, 8, 53, 1, 53, 3, 53, 992, 8, 53, 1, 53, 1, 53, 3, 53, 996, 8, 53, 1, 53, 3, 53, 999, 8, 53, 1, 53, 1, 53, 1, 54, 1, 54, 3, 54, 1005, 8, 54, 1, 54, 1, 54, 3, 54, 1009, 8, 54, 1, 54, 1, 54, 1, 54, 3, 54, 1014, 8, 54, 1, 54, 1, 54, 3, 54, 1018, 8, 54, 1, 54, 1, 54, 3, 54, 1022, 8, 54, 1, 54, 1, 54, 5, 54, 1026, 8, 54, 10, 54, 12, 54, 1029, 9, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 3, 56, 1042, 8, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 5, 58, 1055, 8, 58, 10, 58, 12, 58, 1058, 9, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 1077, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 1084, 8, 60, 10, 60, 12, 60, 1087, 9, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1118, 8, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 1138, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 1158, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 1168, 8, 66, 1, 66, 3, 66, 1171, 8, 66, 1, 66, 3, 66, 1174, 8, 66, 3, 66, 1176, 8, 66, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 5, 70, 1188, 8, 70, 10, 70, 12, 70, 1191, 9, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1214, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1230, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1239, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1249, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 1260, 8, 71, 10, 71, 12, 71, 1263, 9, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1277, 8, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 3, 71, 1289, 8, 71, 1, 71, 1, 71, 3, 71, 1293, 8, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 3, 72, 1302, 8, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 1320, 8, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 1342, 8, 73, 10, 73, 12, 73, 1345, 9, 73, 1, 73, 1, 73, 1, 73, 3, 73, 1350, 8, 73, 3, 73, 1352, 8, 73, 1, 74, 1, 74, 1, 74, 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, 3, 77, 1371, 8, 77, 1, 78, 1, 78, 1, 78, 1, 78, 5, 78, 1377, 8, 78, 10, 78, 12, 78, 1380, 9, 78, 3, 78, 1382, 8, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 5, 80, 1394, 8, 80, 10, 80, 12, 80, 1397, 9, 80, 3, 80, 1399, 8, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 0, 0, 83, 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, 0, 9, 2, 0, 15, 15, 33, 33, 1, 0, 11, 12, 1, 0, 101, 105, 3, 0, 1, 1, 96, 100, 102, 103, 3, 0, 1, 1, 96, 97, 102, 103, 2, 0, 98, 100, 102, 103, 1, 0, 121, 128, 1, 0, 108, 111, 9, 0, 1, 1, 4, 8, 10, 33, 40, 40, 45, 45, 74, 74, 94, 95, 106, 106, 149, 149, 1524, 0, 178, 1, 0, 0, 0, 2, 180, 1, 0, 0, 0, 4, 190, 1, 0, 0, 0, 6, 194, 1, 0, 0, 0, 8, 219, 1, 0, 0, 0, 10, 231, 1, 0, 0, 0, 12, 233, 1, 0, 0, 0, 14, 240, 1, 0, 0, 0, 16, 251, 1, 0, 0, 0, 18, 253, 1, 0, 0, 0, 20, 266, 1, 0, 0, 0, 22, 298, 1, 0, 0, 0, 24, 328, 1, 0, 0, 0, 26, 330, 1, 0, 0, 0, 28, 334, 1, 0, 0, 0, 30, 352, 1, 0, 0, 0, 32, 354, 1, 0, 0, 0, 34, 367, 1, 0, 0, 0, 36, 369, 1, 0, 0, 0, 38, 382, 1, 0, 0, 0, 40, 403, 1, 0, 0, 0, 42, 453, 1, 0, 0, 0, 44, 456, 1, 0, 0, 0, 46, 481, 1, 0, 0, 0, 48, 518, 1, 0, 0, 0, 50, 529, 1, 0, 0, 0, 52, 534, 1, 0, 0, 0, 54, 562, 1, 0, 0, 0, 56, 564, 1, 0, 0, 0, 58, 574, 1, 0, 0, 0, 60, 586, 1, 0, 0, 0, 62, 633, 1, 0, 0, 0, 64, 699, 1, 0, 0, 0, 66, 701, 1, 0, 0, 0, 68, 706, 1, 0, 0, 0, 70, 735, 1, 0, 0, 0, 72, 757, 1, 0, 0, 0, 74, 770, 1, 0, 0, 0, 76, 772, 1, 0, 0, 0, 78, 784, 1, 0, 0, 0, 80, 797, 1, 0, 0, 0, 82, 800, 1, 0, 0, 0, 84, 820, 1, 0, 0, 0, 86, 822, 1, 0, 0, 0, 88, 830, 1, 0, 0, 0, 90, 922, 1, 0, 0, 0, 92, 924, 1, 0, 0, 0, 94, 935, 1, 0, 0, 0, 96, 937, 1, 0, 0, 0, 98, 942, 1, 0, 0, 0, 100, 944, 1, 0, 0, 0, 102, 966, 1, 0, 0, 0, 104, 968, 1, 0, 0, 0, 106, 977, 1, 0, 0, 0, 108, 1002, 1, 0, 0, 0, 110, 1032, 1, 0, 0, 0, 112, 1041, 1, 0, 0, 0, 114, 1043, 1, 0, 0, 0, 116, 1051, 1, 0, 0, 0, 118, 1076, 1, 0, 0, 0, 120, 1078, 1, 0, 0, 0, 122, 1090, 1, 0, 0, 0, 124, 1097, 1, 0, 0, 0, 126, 1111, 1, 0, 0, 0, 128, 1121, 1, 0, 0, 0, 130, 1137, 1, 0, 0, 0, 132, 1175, 1, 0, 0, 0, 134, 1177, 1, 0, 0, 0, 136, 1180, 1, 0, 0, 0, 138, 1182, 1, 0, 0, 0, 140, 1184, 1, 0, 0, 0, 142, 1292, 1, 0, 0, 0, 144, 1294, 1, 0, 0, 0, 146, 1351, 1, 0, 0, 0, 148, 1353, 1, 0, 0, 0, 150, 1358, 1, 0, 0, 0, 152, 1360, 1, 0, 0, 0, 154, 1370, 1, 0, 0, 0, 156, 1372, 1, 0, 0, 0, 158, 1385, 1, 0, 0, 0, 160, 1389, 1, 0, 0, 0, 162, 1402, 1, 0, 0, 0, 164, 1404, 1, 0, 0, 0, 166, 167, 3, 6, 3, 0, 167, 168, 5, 0, 0, 1, 168, 179, 1, 0, 0, 0, 169, 170, 3, 20, 10, 0, 170, 171, 5, 0, 0, 1, 171, 179, 1, 0, 0, 0, 172, 173, 3, 52, 26, 0, 173, 174, 5, 0, 0, 1, 174, 179, 1, 0, 0, 0, 175, 176, 3, 2, 1, 0, 176, 177, 5, 0, 0, 1, 177, 179, 1, 0, 0, 0, 178, 166, 1, 0, 0, 0, 178, 169, 1, 0, 0, 0, 178, 172, 1, 0, 0, 0, 178, 175, 1, 0, 0, 0, 179, 1, 1, 0, 0, 0, 180, 181, 5, 40, 0, 0, 181, 185, 5, 137, 0, 0, 182, 184, 3, 8, 4, 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, 138, 0, 0, 189, 3, 1, 0, 0, 0, 190, 191, 5, 41, 0, 0, 191, 192, 3, 164, 82, 0, 192, 193, 5, 134, 0, 0, 193, 5, 1, 0, 0, 0, 194, 195, 5, 9, 0, 0, 195, 196, 3, 162, 81, 0, 196, 197, 5, 84, 0, 0, 197, 198, 3, 164, 82, 0, 198, 199, 5, 77, 0, 0, 199, 200, 3, 164, 82, 0, 200, 201, 5, 76, 0, 0, 201, 202, 3, 164, 82, 0, 202, 206, 5, 137, 0, 0, 203, 205, 3, 8, 4, 0, 204, 203, 1, 0, 0, 0, 205, 208, 1, 0, 0, 0, 206, 204, 1, 0, 0, 0, 206, 207, 1, 0, 0, 0, 207, 209, 1, 0, 0, 0, 208, 206, 1, 0, 0, 0, 209, 210, 5, 138, 0, 0, 210, 7, 1, 0, 0, 0, 211, 220, 3, 4, 2, 0, 212, 220, 3, 18, 9, 0, 213, 220, 3, 10, 5, 0, 214, 220, 3, 96, 48, 0, 215, 220, 3, 108, 54, 0, 216, 220, 3, 144, 72, 0, 217, 220, 3, 58, 29, 0, 218, 220, 3, 32, 16, 0, 219, 211, 1, 0, 0, 0, 219, 212, 1, 0, 0, 0, 219, 213, 1, 0, 0, 0, 219, 214, 1, 0, 0, 0, 219, 215, 1, 0, 0, 0, 219, 216, 1, 0, 0, 0, 219, 217, 1, 0, 0, 0, 219, 218, 1, 0, 0, 0, 220, 9, 1, 0, 0, 0, 221, 222, 5, 41, 0, 0, 222, 223, 5, 44, 0, 0, 223, 224, 3, 162, 81, 0, 224, 225, 5, 134, 0, 0, 225, 232, 1, 0, 0, 0, 226, 227, 5, 41, 0, 0, 227, 228, 5, 46, 0, 0, 228, 229, 3, 162, 81, 0, 229, 230, 5, 134, 0, 0, 230, 232, 1, 0, 0, 0, 231, 221, 1, 0, 0, 0, 231, 226, 1, 0, 0, 0, 232, 11, 1, 0, 0, 0, 233, 234, 5, 42, 0, 0, 234, 235, 5, 43, 0, 0, 235, 236, 3, 162, 81, 0, 236, 237, 5, 84, 0, 0, 237, 238, 3, 164, 82, 0, 238, 239, 5, 134, 0, 0, 239, 13, 1, 0, 0, 0, 240, 241, 5, 42, 0, 0, 241, 242, 5, 44, 0, 0, 242, 243, 3, 162, 81, 0, 243, 244, 5, 77, 0, 0, 244, 245, 3, 164, 82, 0, 245, 246, 5, 134, 0, 0, 246, 15, 1, 0, 0, 0, 247, 252, 3, 10, 5, 0, 248, 252, 3, 12, 6, 0, 249, 252, 3, 14, 7, 0, 250, 252, 3, 32, 16, 0, 251, 247, 1, 0, 0, 0, 251, 248, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 250, 1, 0, 0, 0, 252, 17, 1, 0, 0, 0, 253, 254, 5, 43, 0, 0, 254, 255, 3, 162, 81, 0, 255, 256, 5, 84, 0, 0, 256, 259, 3, 164, 82, 0, 257, 258, 5, 85, 0, 0, 258, 260, 3, 164, 82, 0, 259, 257, 1, 0, 0, 0, 259, 260, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 262, 5, 134, 0, 0, 262, 19, 1, 0, 0, 0, 263, 265, 3, 16, 8, 0, 264, 263, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 269, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 269, 270, 5, 44, 0, 0, 270, 272, 3, 162, 81, 0, 271, 273, 3, 22, 11, 0, 272, 271, 1, 0, 0, 0, 272, 273, 1, 0, 0, 0, 273, 274, 1, 0, 0, 0, 274, 275, 5, 84, 0, 0, 275, 276, 3, 164, 82, 0, 276, 277, 5, 77, 0, 0, 277, 287, 3, 164, 82, 0, 278, 279, 5, 89, 0, 0, 279, 284, 3, 26, 13, 0, 280, 281, 5, 135, 0, 0, 281, 283, 3, 26, 13, 0, 282, 280, 1, 0, 0, 0, 283, 286, 1, 0, 0, 0, 284, 282, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 288, 1, 0, 0, 0, 286, 284, 1, 0, 0, 0, 287, 278, 1, 0, 0, 0, 287, 288, 1, 0, 0, 0, 288, 289, 1, 0, 0, 0, 289, 293, 5, 137, 0, 0, 290, 292, 3, 34, 17, 0, 291, 290, 1, 0, 0, 0, 292, 295, 1, 0, 0, 0, 293, 291, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 296, 1, 0, 0, 0, 295, 293, 1, 0, 0, 0, 296, 297, 5, 138, 0, 0, 297, 21, 1, 0, 0, 0, 298, 299, 5, 143, 0, 0, 299, 304, 3, 24, 12, 0, 300, 301, 5, 135, 0, 0, 301, 303, 3, 24, 12, 0, 302, 300, 1, 0, 0, 0, 303, 306, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 304, 305, 1, 0, 0, 0, 305, 307, 1, 0, 0, 0, 306, 304, 1, 0, 0, 0, 307, 308, 5, 144, 0, 0, 308, 23, 1, 0, 0, 0, 309, 310, 5, 47, 0, 0, 310, 313, 3, 162, 81, 0, 311, 312, 5, 133, 0, 0, 312, 314, 5, 37, 0, 0, 313, 311, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 329, 1, 0, 0, 0, 315, 316, 5, 36, 0, 0, 316, 326, 3, 162, 81, 0, 317, 318, 5, 38, 0, 0, 318, 323, 3, 26, 13, 0, 319, 320, 5, 145, 0, 0, 320, 322, 3, 26, 13, 0, 321, 319, 1, 0, 0, 0, 322, 325, 1, 0, 0, 0, 323, 321, 1, 0, 0, 0, 323, 324, 1, 0, 0, 0, 324, 327, 1, 0, 0, 0, 325, 323, 1, 0, 0, 0, 326, 317, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 329, 1, 0, 0, 0, 328, 309, 1, 0, 0, 0, 328, 315, 1, 0, 0, 0, 329, 25, 1, 0, 0, 0, 330, 332, 3, 162, 81, 0, 331, 333, 3, 28, 14, 0, 332, 331, 1, 0, 0, 0, 332, 333, 1, 0, 0, 0, 333, 27, 1, 0, 0, 0, 334, 335, 5, 143, 0, 0, 335, 340, 3, 30, 15, 0, 336, 337, 5, 135, 0, 0, 337, 339, 3, 30, 15, 0, 338, 336, 1, 0, 0, 0, 339, 342, 1, 0, 0, 0, 340, 338, 1, 0, 0, 0, 340, 341, 1, 0, 0, 0, 341, 343, 1, 0, 0, 0, 342, 340, 1, 0, 0, 0, 343, 344, 5, 144, 0, 0, 344, 29, 1, 0, 0, 0, 345, 346, 5, 43, 0, 0, 346, 353, 3, 162, 81, 0, 347, 348, 5, 44, 0, 0, 348, 353, 3, 26, 13, 0, 349, 350, 5, 36, 0, 0, 350, 353, 3, 162, 81, 0, 351, 353, 3, 146, 73, 0, 352, 345, 1, 0, 0, 0, 352, 347, 1, 0, 0, 0, 352, 349, 1, 0, 0, 0, 352, 351, 1, 0, 0, 0, 353, 31, 1, 0, 0, 0, 354, 355, 5, 35, 0, 0, 355, 357, 3, 162, 81, 0, 356, 358, 3, 22, 11, 0, 357, 356, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 5, 146, 0, 0, 360, 361, 3, 146, 73, 0, 361, 362, 5, 134, 0, 0, 362, 33, 1, 0, 0, 0, 363, 368, 3, 40, 20, 0, 364, 368, 3, 44, 22, 0, 365, 368, 3, 38, 19, 0, 366, 368, 3, 36, 18, 0, 367, 363, 1, 0, 0, 0, 367, 364, 1, 0, 0, 0, 367, 365, 1, 0, 0, 0, 367, 366, 1, 0, 0, 0, 368, 35, 1, 0, 0, 0, 369, 370, 5, 2, 0, 0, 370, 371, 3, 162, 81, 0, 371, 372, 5, 84, 0, 0, 372, 373, 3, 164, 82, 0, 373, 374, 5, 3, 0, 0, 374, 377, 3, 164, 82, 0, 375, 376, 5, 5, 0, 0, 376, 378, 3, 50, 25, 0, 377, 375, 1, 0, 0, 0, 377, 378, 1, 0, 0, 0, 378, 379, 1, 0, 0, 0, 379, 380, 5, 134, 0, 0, 380, 37, 1, 0, 0, 0, 381, 383, 5, 57, 0, 0, 382, 381, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 384, 1, 0, 0, 0, 384, 385, 5, 49, 0, 0, 385, 386, 3, 162, 81, 0, 386, 387, 5, 84, 0, 0, 387, 388, 3, 164, 82, 0, 388, 389, 5, 133, 0, 0, 389, 390, 3, 146, 73, 0, 390, 391, 5, 132, 0, 0, 391, 392, 3, 146, 73, 0, 392, 393, 5, 137, 0, 0, 393, 394, 5, 101, 0, 0, 394, 395, 5, 84, 0, 0, 395, 397, 3, 164, 82, 0, 396, 398, 3, 74, 37, 0, 397, 396, 1, 0, 0, 0, 397, 398, 1, 0, 0, 0, 398, 399, 1, 0, 0, 0, 399, 400, 5, 134, 0, 0, 400, 401, 5, 138, 0, 0, 401, 39, 1, 0, 0, 0, 402, 404, 3, 46, 23, 0, 403, 402, 1, 0, 0, 0, 403, 404, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 406, 5, 47, 0, 0, 406, 407, 3, 162, 81, 0, 407, 408, 5, 84, 0, 0, 408, 409, 3, 164, 82, 0, 409, 410, 5, 133, 0, 0, 410, 411, 3, 146, 73, 0, 411, 415, 5, 137, 0, 0, 412, 414, 3, 42, 21, 0, 413, 412, 1, 0, 0, 0, 414, 417, 1, 0, 0, 0, 415, 413, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 418, 1, 0, 0, 0, 417, 415, 1, 0, 0, 0, 418, 419, 5, 138, 0, 0, 419, 41, 1, 0, 0, 0, 420, 421, 5, 91, 0, 0, 421, 422, 5, 84, 0, 0, 422, 424, 3, 164, 82, 0, 423, 425, 3, 74, 37, 0, 424, 423, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 427, 5, 134, 0, 0, 427, 454, 1, 0, 0, 0, 428, 429, 5, 92, 0, 0, 429, 430, 5, 84, 0, 0, 430, 432, 3, 164, 82, 0, 431, 433, 3, 74, 37, 0, 432, 431, 1, 0, 0, 0, 432, 433, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 435, 5, 134, 0, 0, 435, 454, 1, 0, 0, 0, 436, 437, 5, 1, 0, 0, 437, 438, 5, 84, 0, 0, 438, 440, 3, 164, 82, 0, 439, 441, 3, 74, 37, 0, 440, 439, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 442, 1, 0, 0, 0, 442, 443, 5, 134, 0, 0, 443, 454, 1, 0, 0, 0, 444, 445, 5, 93, 0, 0, 445, 446, 5, 94, 0, 0, 446, 447, 5, 84, 0, 0, 447, 448, 3, 164, 82, 0, 448, 449, 5, 95, 0, 0, 449, 450, 5, 84, 0, 0, 450, 451, 3, 164, 82, 0, 451, 452, 5, 134, 0, 0, 452, 454, 1, 0, 0, 0, 453, 420, 1, 0, 0, 0, 453, 428, 1, 0, 0, 0, 453, 436, 1, 0, 0, 0, 453, 444, 1, 0, 0, 0, 454, 43, 1, 0, 0, 0, 455, 457, 3, 46, 23, 0, 456, 455, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, 458, 1, 0, 0, 0, 458, 459, 5, 48, 0, 0, 459, 460, 3, 162, 81, 0, 460, 461, 5, 84, 0, 0, 461, 462, 3, 164, 82, 0, 462, 463, 5, 133, 0, 0, 463, 464, 3, 152, 76, 0, 464, 466, 3, 50, 25, 0, 465, 467, 5, 112, 0, 0, 466, 465, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 470, 1, 0, 0, 0, 468, 469, 5, 82, 0, 0, 469, 471, 3, 164, 82, 0, 470, 468, 1, 0, 0, 0, 470, 471, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472, 476, 5, 137, 0, 0, 473, 475, 3, 48, 24, 0, 474, 473, 1, 0, 0, 0, 475, 478, 1, 0, 0, 0, 476, 474, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 479, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 479, 480, 5, 138, 0, 0, 480, 45, 1, 0, 0, 0, 481, 483, 5, 32, 0, 0, 482, 484, 7, 0, 0, 0, 483, 482, 1, 0, 0, 0, 483, 484, 1, 0, 0, 0, 484, 47, 1, 0, 0, 0, 485, 486, 5, 98, 0, 0, 486, 487, 5, 84, 0, 0, 487, 489, 3, 164, 82, 0, 488, 490, 3, 74, 37, 0, 489, 488, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 491, 1, 0, 0, 0, 491, 492, 5, 134, 0, 0, 492, 519, 1, 0, 0, 0, 493, 494, 5, 99, 0, 0, 494, 495, 5, 84, 0, 0, 495, 497, 3, 164, 82, 0, 496, 498, 3, 74, 37, 0, 497, 496, 1, 0, 0, 0, 497, 498, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 500, 5, 134, 0, 0, 500, 519, 1, 0, 0, 0, 501, 502, 5, 100, 0, 0, 502, 503, 5, 84, 0, 0, 503, 505, 3, 164, 82, 0, 504, 506, 3, 74, 37, 0, 505, 504, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 508, 5, 134, 0, 0, 508, 519, 1, 0, 0, 0, 509, 510, 5, 93, 0, 0, 510, 511, 5, 94, 0, 0, 511, 512, 5, 84, 0, 0, 512, 513, 3, 164, 82, 0, 513, 514, 5, 95, 0, 0, 514, 515, 5, 84, 0, 0, 515, 516, 3, 164, 82, 0, 516, 517, 5, 134, 0, 0, 517, 519, 1, 0, 0, 0, 518, 485, 1, 0, 0, 0, 518, 493, 1, 0, 0, 0, 518, 501, 1, 0, 0, 0, 518, 509, 1, 0, 0, 0, 519, 49, 1, 0, 0, 0, 520, 521, 5, 43, 0, 0, 521, 530, 3, 162, 81, 0, 522, 523, 5, 44, 0, 0, 523, 525, 3, 162, 81, 0, 524, 526, 3, 28, 14, 0, 525, 524, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 530, 1, 0, 0, 0, 527, 528, 5, 36, 0, 0, 528, 530, 3, 162, 81, 0, 529, 520, 1, 0, 0, 0, 529, 522, 1, 0, 0, 0, 529, 527, 1, 0, 0, 0, 530, 51, 1, 0, 0, 0, 531, 533, 3, 16, 8, 0, 532, 531, 1, 0, 0, 0, 533, 536, 1, 0, 0, 0, 534, 532, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 537, 1, 0, 0, 0, 536, 534, 1, 0, 0, 0, 537, 538, 5, 46, 0, 0, 538, 539, 3, 162, 81, 0, 539, 540, 5, 84, 0, 0, 540, 541, 3, 164, 82, 0, 541, 542, 5, 77, 0, 0, 542, 545, 3, 164, 82, 0, 543, 544, 5, 78, 0, 0, 544, 546, 5, 147, 0, 0, 545, 543, 1, 0, 0, 0, 545, 546, 1, 0, 0, 0, 546, 547, 1, 0, 0, 0, 547, 551, 5, 137, 0, 0, 548, 550, 3, 54, 27, 0, 549, 548, 1, 0, 0, 0, 550, 553, 1, 0, 0, 0, 551, 549, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 554, 1, 0, 0, 0, 553, 551, 1, 0, 0, 0, 554, 555, 5, 138, 0, 0, 555, 53, 1, 0, 0, 0, 556, 563, 3, 68, 34, 0, 557, 563, 3, 70, 35, 0, 558, 563, 3, 78, 39, 0, 559, 563, 3, 60, 30, 0, 560, 563, 3, 62, 31, 0, 561, 563, 3, 56, 28, 0, 562, 556, 1, 0, 0, 0, 562, 557, 1, 0, 0, 0, 562, 558, 1, 0, 0, 0, 562, 559, 1, 0, 0, 0, 562, 560, 1, 0, 0, 0, 562, 561, 1, 0, 0, 0, 563, 55, 1, 0, 0, 0, 564, 565, 5, 2, 0, 0, 565, 566, 3, 162, 81, 0, 566, 567, 5, 84, 0, 0, 567, 568, 3, 164, 82, 0, 568, 569, 5, 38, 0, 0, 569, 570, 3, 26, 13, 0, 570, 571, 5, 136, 0, 0, 571, 572, 3, 162, 81, 0, 572, 573, 5, 134, 0, 0, 573, 57, 1, 0, 0, 0, 574, 575, 5, 4, 0, 0, 575, 576, 3, 162, 81, 0, 576, 577, 5, 84, 0, 0, 577, 578, 3, 164, 82, 0, 578, 579, 5, 6, 0, 0, 579, 580, 3, 26, 13, 0, 580, 581, 5, 65, 0, 0, 581, 582, 3, 162, 81, 0, 582, 583, 5, 136, 0, 0, 583, 584, 3, 162, 81, 0, 584, 585, 5, 134, 0, 0, 585, 59, 1, 0, 0, 0, 586, 588, 5, 22, 0, 0, 587, 589, 5, 40, 0, 0, 588, 587, 1, 0, 0, 0, 588, 589, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 592, 3, 162, 81, 0, 591, 593, 3, 22, 11, 0, 592, 591, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 5, 84, 0, 0, 595, 596, 3, 164, 82, 0, 596, 598, 5, 25, 0, 0, 597, 599, 5, 9, 0, 0, 598, 597, 1, 0, 0, 0, 598, 599, 1, 0, 0, 0, 599, 600, 1, 0, 0, 0, 600, 601, 3, 26, 13, 0, 601, 602, 5, 26, 0, 0, 602, 631, 3, 164, 82, 0, 603, 604, 5, 49, 0, 0, 604, 605, 3, 164, 82, 0, 605, 609, 5, 137, 0, 0, 606, 608, 3, 64, 32, 0, 607, 606, 1, 0, 0, 0, 608, 611, 1, 0, 0, 0, 609, 607, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 612, 1, 0, 0, 0, 611, 609, 1, 0, 0, 0, 612, 613, 5, 138, 0, 0, 613, 632, 1, 0, 0, 0, 614, 615, 5, 40, 0, 0, 615, 618, 3, 164, 82, 0, 616, 617, 5, 49, 0, 0, 617, 619, 3, 164, 82, 0, 618, 616, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 629, 1, 0, 0, 0, 620, 624, 5, 137, 0, 0, 621, 623, 3, 64, 32, 0, 622, 621, 1, 0, 0, 0, 623, 626, 1, 0, 0, 0, 624, 622, 1, 0, 0, 0, 624, 625, 1, 0, 0, 0, 625, 627, 1, 0, 0, 0, 626, 624, 1, 0, 0, 0, 627, 630, 5, 138, 0, 0, 628, 630, 5, 134, 0, 0, 629, 620, 1, 0, 0, 0, 629, 628, 1, 0, 0, 0, 630, 632, 1, 0, 0, 0, 631, 603, 1, 0, 0, 0, 631, 614, 1, 0, 0, 0, 632, 61, 1, 0, 0, 0, 633, 634, 5, 22, 0, 0, 634, 635, 3, 162, 81, 0, 635, 636, 5, 84, 0, 0, 636, 637, 3, 164, 82, 0, 637, 638, 5, 24, 0, 0, 638, 639, 3, 162, 81, 0, 639, 640, 3, 28, 14, 0, 640, 641, 5, 134, 0, 0, 641, 63, 1, 0, 0, 0, 642, 643, 5, 16, 0, 0, 643, 700, 5, 134, 0, 0, 644, 645, 5, 17, 0, 0, 645, 646, 5, 18, 0, 0, 646, 647, 3, 162, 81, 0, 647, 648, 5, 134, 0, 0, 648, 700, 1, 0, 0, 0, 649, 650, 5, 27, 0, 0, 650, 651, 3, 164, 82, 0, 651, 652, 5, 134, 0, 0, 652, 700, 1, 0, 0, 0, 653, 654, 5, 27, 0, 0, 654, 655, 3, 162, 81, 0, 655, 656, 5, 136, 0, 0, 656, 666, 3, 162, 81, 0, 657, 658, 5, 64, 0, 0, 658, 662, 5, 137, 0, 0, 659, 661, 3, 66, 33, 0, 660, 659, 1, 0, 0, 0, 661, 664, 1, 0, 0, 0, 662, 660, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 665, 1, 0, 0, 0, 664, 662, 1, 0, 0, 0, 665, 667, 5, 138, 0, 0, 666, 657, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 668, 1, 0, 0, 0, 668, 669, 5, 134, 0, 0, 669, 700, 1, 0, 0, 0, 670, 672, 5, 28, 0, 0, 671, 673, 5, 36, 0, 0, 672, 671, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 675, 3, 162, 81, 0, 675, 676, 5, 55, 0, 0, 676, 677, 3, 26, 13, 0, 677, 678, 5, 134, 0, 0, 678, 700, 1, 0, 0, 0, 679, 680, 5, 29, 0, 0, 680, 681, 3, 162, 81, 0, 681, 682, 5, 147, 0, 0, 682, 683, 5, 134, 0, 0, 683, 700, 1, 0, 0, 0, 684, 685, 5, 30, 0, 0, 685, 686, 3, 26, 13, 0, 686, 687, 5, 136, 0, 0, 687, 688, 3, 162, 81, 0, 688, 689, 3, 162, 81, 0, 689, 690, 3, 164, 82, 0, 690, 691, 5, 134, 0, 0, 691, 700, 1, 0, 0, 0, 692, 693, 5, 93, 0, 0, 693, 700, 5, 134, 0, 0, 694, 695, 5, 31, 0, 0, 695, 696, 5, 147, 0, 0, 696, 697, 3, 164, 82, 0, 697, 698, 5, 134, 0, 0, 698, 700, 1, 0, 0, 0, 699, 642, 1, 0, 0, 0, 699, 644, 1, 0, 0, 0, 699, 649, 1, 0, 0, 0, 699, 653, 1, 0, 0, 0, 699, 670, 1, 0, 0, 0, 699, 679, 1, 0, 0, 0, 699, 684, 1, 0, 0, 0, 699, 692, 1, 0, 0, 0, 699, 694, 1, 0, 0, 0, 700, 65, 1, 0, 0, 0, 701, 702, 3, 162, 81, 0, 702, 703, 5, 58, 0, 0, 703, 704, 3, 162, 81, 0, 704, 705, 5, 134, 0, 0, 705, 67, 1, 0, 0, 0, 706, 707, 5, 49, 0, 0, 707, 709, 3, 162, 81, 0, 708, 710, 3, 22, 11, 0, 709, 708, 1, 0, 0, 0, 709, 710, 1, 0, 0, 0, 710, 711, 1, 0, 0, 0, 711, 712, 5, 84, 0, 0, 712, 713, 3, 164, 82, 0, 713, 714, 5, 133, 0, 0, 714, 715, 3, 146, 73, 0, 715, 716, 5, 132, 0, 0, 716, 717, 3, 146, 73, 0, 717, 718, 5, 86, 0, 0, 718, 720, 3, 82, 41, 0, 719, 721, 3, 74, 37, 0, 720, 719, 1, 0, 0, 0, 720, 721, 1, 0, 0, 0, 721, 723, 1, 0, 0, 0, 722, 724, 3, 80, 40, 0, 723, 722, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 5, 88, 0, 0, 726, 728, 3, 84, 42, 0, 727, 729, 3, 88, 44, 0, 728, 727, 1, 0, 0, 0, 728, 729, 1, 0, 0, 0, 729, 731, 1, 0, 0, 0, 730, 732, 3, 72, 36, 0, 731, 730, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 733, 1, 0, 0, 0, 733, 734, 5, 134, 0, 0, 734, 69, 1, 0, 0, 0, 735, 736, 5, 50, 0, 0, 736, 738, 3, 162, 81, 0, 737, 739, 3, 22, 11, 0, 738, 737, 1, 0, 0, 0, 738, 739, 1, 0, 0, 0, 739, 740, 1, 0, 0, 0, 740, 741, 5, 84, 0, 0, 741, 742, 3, 164, 82, 0, 742, 743, 5, 133, 0, 0, 743, 744, 3, 146, 73, 0, 744, 745, 5, 132, 0, 0, 745, 747, 3, 146, 73, 0, 746, 748, 3, 74, 37, 0, 747, 746, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 750, 1, 0, 0, 0, 749, 751, 3, 88, 44, 0, 750, 749, 1, 0, 0, 0, 750, 751, 1, 0, 0, 0, 751, 753, 1, 0, 0, 0, 752, 754, 3, 72, 36, 0, 753, 752, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 756, 5, 134, 0, 0, 756, 71, 1, 0, 0, 0, 757, 758, 5, 66, 0, 0, 758, 759, 5, 65, 0, 0, 759, 760, 3, 162, 81, 0, 760, 73, 1, 0, 0, 0, 761, 762, 5, 10, 0, 0, 762, 771, 5, 13, 0, 0, 763, 764, 5, 10, 0, 0, 764, 765, 7, 1, 0, 0, 765, 766, 5, 14, 0, 0, 766, 767, 5, 139, 0, 0, 767, 768, 3, 86, 43, 0, 768, 769, 5, 140, 0, 0, 769, 771, 1, 0, 0, 0, 770, 761, 1, 0, 0, 0, 770, 763, 1, 0, 0, 0, 771, 75, 1, 0, 0, 0, 772, 773, 5, 65, 0, 0, 773, 774, 5, 139, 0, 0, 774, 779, 3, 128, 64, 0, 775, 776, 5, 135, 0, 0, 776, 778, 3, 128, 64, 0, 777, 775, 1, 0, 0, 0, 778, 781, 1, 0, 0, 0, 779, 777, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 782, 1, 0, 0, 0, 781, 779, 1, 0, 0, 0, 782, 783, 5, 140, 0, 0, 783, 77, 1, 0, 0, 0, 784, 785, 5, 51, 0, 0, 785, 786, 3, 162, 81, 0, 786, 787, 5, 84, 0, 0, 787, 788, 3, 164, 82, 0, 788, 789, 5, 52, 0, 0, 789, 790, 3, 162, 81, 0, 790, 791, 5, 133, 0, 0, 791, 793, 3, 146, 73, 0, 792, 794, 3, 88, 44, 0, 793, 792, 1, 0, 0, 0, 793, 794, 1, 0, 0, 0, 794, 795, 1, 0, 0, 0, 795, 796, 5, 134, 0, 0, 796, 79, 1, 0, 0, 0, 797, 798, 5, 87, 0, 0, 798, 799, 3, 146, 73, 0, 799, 81, 1, 0, 0, 0, 800, 801, 7, 2, 0, 0, 801, 83, 1, 0, 0, 0, 802, 821, 5, 90, 0, 0, 803, 804, 5, 43, 0, 0, 804, 821, 3, 162, 81, 0, 805, 806, 5, 36, 0, 0, 806, 821, 3, 162, 81, 0, 807, 808, 5, 45, 0, 0, 808, 817, 5, 139, 0, 0, 809, 814, 3, 26, 13, 0, 810, 811, 5, 135, 0, 0, 811, 813, 3, 26, 13, 0, 812, 810, 1, 0, 0, 0, 813, 816, 1, 0, 0, 0, 814, 812, 1, 0, 0, 0, 814, 815, 1, 0, 0, 0, 815, 818, 1, 0, 0, 0, 816, 814, 1, 0, 0, 0, 817, 809, 1, 0, 0, 0, 817, 818, 1, 0, 0, 0, 818, 819, 1, 0, 0, 0, 819, 821, 5, 140, 0, 0, 820, 802, 1, 0, 0, 0, 820, 803, 1, 0, 0, 0, 820, 805, 1, 0, 0, 0, 820, 807, 1, 0, 0, 0, 821, 85, 1, 0, 0, 0, 822, 827, 3, 162, 81, 0, 823, 824, 5, 135, 0, 0, 824, 826, 3, 162, 81, 0, 825, 823, 1, 0, 0, 0, 826, 829, 1, 0, 0, 0, 827, 825, 1, 0, 0, 0, 827, 828, 1, 0, 0, 0, 828, 87, 1, 0, 0, 0, 829, 827, 1, 0, 0, 0, 830, 831, 5, 89, 0, 0, 831, 835, 5, 137, 0, 0, 832, 834, 3, 90, 45, 0, 833, 832, 1, 0, 0, 0, 834, 837, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 835, 836, 1, 0, 0, 0, 836, 838, 1, 0, 0, 0, 837, 835, 1, 0, 0, 0, 838, 839, 5, 138, 0, 0, 839, 89, 1, 0, 0, 0, 840, 841, 5, 23, 0, 0, 841, 842, 3, 162, 81, 0, 842, 843, 5, 84, 0, 0, 843, 844, 3, 164, 82, 0, 844, 845, 5, 139, 0, 0, 845, 846, 3, 86, 43, 0, 846, 847, 5, 140, 0, 0, 847, 848, 5, 134, 0, 0, 848, 923, 1, 0, 0, 0, 849, 850, 5, 61, 0, 0, 850, 851, 3, 162, 81, 0, 851, 852, 5, 84, 0, 0, 852, 853, 3, 164, 82, 0, 853, 854, 5, 133, 0, 0, 854, 855, 3, 146, 73, 0, 855, 856, 3, 92, 46, 0, 856, 857, 5, 134, 0, 0, 857, 923, 1, 0, 0, 0, 858, 859, 5, 62, 0, 0, 859, 860, 3, 162, 81, 0, 860, 861, 5, 84, 0, 0, 861, 862, 3, 164, 82, 0, 862, 863, 5, 133, 0, 0, 863, 864, 3, 152, 76, 0, 864, 867, 3, 50, 25, 0, 865, 866, 5, 82, 0, 0, 866, 868, 3, 164, 82, 0, 867, 865, 1, 0, 0, 0, 867, 868, 1, 0, 0, 0, 868, 869, 1, 0, 0, 0, 869, 870, 3, 92, 46, 0, 870, 871, 5, 134, 0, 0, 871, 923, 1, 0, 0, 0, 872, 873, 5, 44, 0, 0, 873, 874, 3, 162, 81, 0, 874, 875, 5, 84, 0, 0, 875, 876, 3, 164, 82, 0, 876, 877, 5, 133, 0, 0, 877, 879, 3, 162, 81, 0, 878, 880, 3, 28, 14, 0, 879, 878, 1, 0, 0, 0, 879, 880, 1, 0, 0, 0, 880, 882, 1, 0, 0, 0, 881, 883, 3, 76, 38, 0, 882, 881, 1, 0, 0, 0, 882, 883, 1, 0, 0, 0, 883, 886, 1, 0, 0, 0, 884, 885, 5, 18, 0, 0, 885, 887, 5, 53, 0, 0, 886, 884, 1, 0, 0, 0, 886, 887, 1, 0, 0, 0, 887, 888, 1, 0, 0, 0, 888, 889, 5, 134, 0, 0, 889, 923, 1, 0, 0, 0, 890, 891, 5, 7, 0, 0, 891, 892, 3, 162, 81, 0, 892, 893, 5, 84, 0, 0, 893, 894, 3, 164, 82, 0, 894, 895, 5, 133, 0, 0, 895, 896, 3, 162, 81, 0, 896, 897, 5, 53, 0, 0, 897, 898, 3, 146, 73, 0, 898, 899, 5, 134, 0, 0, 899, 923, 1, 0, 0, 0, 900, 901, 5, 51, 0, 0, 901, 902, 3, 162, 81, 0, 902, 903, 5, 84, 0, 0, 903, 904, 3, 164, 82, 0, 904, 905, 5, 133, 0, 0, 905, 908, 3, 162, 81, 0, 906, 907, 5, 53, 0, 0, 907, 909, 3, 146, 73, 0, 908, 906, 1, 0, 0, 0, 908, 909, 1, 0, 0, 0, 909, 910, 1, 0, 0, 0, 910, 911, 5, 134, 0, 0, 911, 923, 1, 0, 0, 0, 912, 913, 5, 22, 0, 0, 913, 914, 3, 162, 81, 0, 914, 915, 5, 84, 0, 0, 915, 916, 3, 164, 82, 0, 916, 917, 5, 133, 0, 0, 917, 918, 3, 162, 81, 0, 918, 919, 5, 136, 0, 0, 919, 920, 3, 162, 81, 0, 920, 921, 5, 134, 0, 0, 921, 923, 1, 0, 0, 0, 922, 840, 1, 0, 0, 0, 922, 849, 1, 0, 0, 0, 922, 858, 1, 0, 0, 0, 922, 872, 1, 0, 0, 0, 922, 890, 1, 0, 0, 0, 922, 900, 1, 0, 0, 0, 922, 912, 1, 0, 0, 0, 923, 91, 1, 0, 0, 0, 924, 925, 5, 139, 0, 0, 925, 930, 3, 94, 47, 0, 926, 927, 5, 135, 0, 0, 927, 929, 3, 94, 47, 0, 928, 926, 1, 0, 0, 0, 929, 932, 1, 0, 0, 0, 930, 928, 1, 0, 0, 0, 930, 931, 1, 0, 0, 0, 931, 933, 1, 0, 0, 0, 932, 930, 1, 0, 0, 0, 933, 934, 5, 140, 0, 0, 934, 93, 1, 0, 0, 0, 935, 936, 7, 3, 0, 0, 936, 95, 1, 0, 0, 0, 937, 938, 5, 60, 0, 0, 938, 939, 3, 98, 49, 0, 939, 97, 1, 0, 0, 0, 940, 943, 3, 100, 50, 0, 941, 943, 3, 104, 52, 0, 942, 940, 1, 0, 0, 0, 942, 941, 1, 0, 0, 0, 943, 99, 1, 0, 0, 0, 944, 945, 5, 61, 0, 0, 945, 946, 3, 162, 81, 0, 946, 947, 5, 84, 0, 0, 947, 948, 3, 164, 82, 0, 948, 949, 5, 71, 0, 0, 949, 950, 3, 162, 81, 0, 950, 951, 5, 133, 0, 0, 951, 952, 3, 146, 73, 0, 952, 953, 5, 72, 0, 0, 953, 956, 3, 102, 51, 0, 954, 955, 5, 73, 0, 0, 955, 957, 3, 154, 77, 0, 956, 954, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, 958, 1, 0, 0, 0, 958, 959, 5, 134, 0, 0, 959, 101, 1, 0, 0, 0, 960, 967, 5, 106, 0, 0, 961, 962, 5, 107, 0, 0, 962, 963, 5, 141, 0, 0, 963, 964, 3, 146, 73, 0, 964, 965, 5, 142, 0, 0, 965, 967, 1, 0, 0, 0, 966, 960, 1, 0, 0, 0, 966, 961, 1, 0, 0, 0, 967, 103, 1, 0, 0, 0, 968, 969, 5, 62, 0, 0, 969, 970, 3, 162, 81, 0, 970, 971, 5, 84, 0, 0, 971, 972, 3, 164, 82, 0, 972, 973, 5, 137, 0, 0, 973, 974, 3, 106, 53, 0, 974, 975, 3, 106, 53, 0, 975, 976, 5, 138, 0, 0, 976, 105, 1, 0, 0, 0, 977, 978, 3, 50, 25, 0, 978, 979, 5, 63, 0, 0, 979, 980, 3, 162, 81, 0, 980, 981, 5, 84, 0, 0, 981, 982, 3, 164, 82, 0, 982, 984, 3, 152, 76, 0, 983, 985, 5, 112, 0, 0, 984, 983, 1, 0, 0, 0, 984, 985, 1, 0, 0, 0, 985, 988, 1, 0, 0, 0, 986, 987, 5, 79, 0, 0, 987, 989, 3, 164, 82, 0, 988, 986, 1, 0, 0, 0, 988, 989, 1, 0, 0, 0, 989, 991, 1, 0, 0, 0, 990, 992, 5, 81, 0, 0, 991, 990, 1, 0, 0, 0, 991, 992, 1, 0, 0, 0, 992, 995, 1, 0, 0, 0, 993, 994, 5, 82, 0, 0, 994, 996, 3, 164, 82, 0, 995, 993, 1, 0, 0, 0, 995, 996, 1, 0, 0, 0, 996, 998, 1, 0, 0, 0, 997, 999, 5, 83, 0, 0, 998, 997, 1, 0, 0, 0, 998, 999, 1, 0, 0, 0, 999, 1000, 1, 0, 0, 0, 1000, 1001, 5, 134, 0, 0, 1001, 107, 1, 0, 0, 0, 1002, 1004, 5, 54, 0, 0, 1003, 1005, 3, 22, 11, 0, 1004, 1003, 1, 0, 0, 0, 1004, 1005, 1, 0, 0, 0, 1005, 1006, 1, 0, 0, 0, 1006, 1008, 3, 162, 81, 0, 1007, 1009, 3, 110, 55, 0, 1008, 1007, 1, 0, 0, 0, 1008, 1009, 1, 0, 0, 0, 1009, 1010, 1, 0, 0, 0, 1010, 1011, 5, 55, 0, 0, 1011, 1013, 3, 162, 81, 0, 1012, 1014, 3, 28, 14, 0, 1013, 1012, 1, 0, 0, 0, 1013, 1014, 1, 0, 0, 0, 1014, 1017, 1, 0, 0, 0, 1015, 1016, 5, 84, 0, 0, 1016, 1018, 3, 164, 82, 0, 1017, 1015, 1, 0, 0, 0, 1017, 1018, 1, 0, 0, 0, 1018, 1021, 1, 0, 0, 0, 1019, 1020, 5, 78, 0, 0, 1020, 1022, 5, 147, 0, 0, 1021, 1019, 1, 0, 0, 0, 1021, 1022, 1, 0, 0, 0, 1022, 1023, 1, 0, 0, 0, 1023, 1027, 5, 137, 0, 0, 1024, 1026, 3, 112, 56, 0, 1025, 1024, 1, 0, 0, 0, 1026, 1029, 1, 0, 0, 0, 1027, 1025, 1, 0, 0, 0, 1027, 1028, 1, 0, 0, 0, 1028, 1030, 1, 0, 0, 0, 1029, 1027, 1, 0, 0, 0, 1030, 1031, 5, 138, 0, 0, 1031, 109, 1, 0, 0, 0, 1032, 1033, 3, 28, 14, 0, 1033, 111, 1, 0, 0, 0, 1034, 1035, 5, 59, 0, 0, 1035, 1042, 3, 98, 49, 0, 1036, 1042, 3, 126, 63, 0, 1037, 1042, 3, 122, 61, 0, 1038, 1042, 3, 116, 58, 0, 1039, 1042, 3, 124, 62, 0, 1040, 1042, 3, 114, 57, 0, 1041, 1034, 1, 0, 0, 0, 1041, 1036, 1, 0, 0, 0, 1041, 1037, 1, 0, 0, 0, 1041, 1038, 1, 0, 0, 0, 1041, 1039, 1, 0, 0, 0, 1041, 1040, 1, 0, 0, 0, 1042, 113, 1, 0, 0, 0, 1043, 1044, 5, 56, 0, 0, 1044, 1045, 3, 162, 81, 0, 1045, 1046, 5, 58, 0, 0, 1046, 1047, 3, 162, 81, 0, 1047, 1048, 5, 136, 0, 0, 1048, 1049, 3, 162, 81, 0, 1049, 1050, 5, 134, 0, 0, 1050, 115, 1, 0, 0, 0, 1051, 1052, 5, 8, 0, 0, 1052, 1056, 5, 137, 0, 0, 1053, 1055, 3, 118, 59, 0, 1054, 1053, 1, 0, 0, 0, 1055, 1058, 1, 0, 0, 0, 1056, 1054, 1, 0, 0, 0, 1056, 1057, 1, 0, 0, 0, 1057, 1059, 1, 0, 0, 0, 1058, 1056, 1, 0, 0, 0, 1059, 1060, 5, 138, 0, 0, 1060, 1061, 5, 134, 0, 0, 1061, 117, 1, 0, 0, 0, 1062, 1063, 3, 162, 81, 0, 1063, 1064, 5, 58, 0, 0, 1064, 1065, 5, 61, 0, 0, 1065, 1066, 3, 162, 81, 0, 1066, 1067, 5, 134, 0, 0, 1067, 1077, 1, 0, 0, 0, 1068, 1069, 3, 162, 81, 0, 1069, 1070, 5, 58, 0, 0, 1070, 1071, 5, 62, 0, 0, 1071, 1072, 3, 162, 81, 0, 1072, 1073, 5, 136, 0, 0, 1073, 1074, 3, 162, 81, 0, 1074, 1075, 5, 134, 0, 0, 1075, 1077, 1, 0, 0, 0, 1076, 1062, 1, 0, 0, 0, 1076, 1068, 1, 0, 0, 0, 1077, 119, 1, 0, 0, 0, 1078, 1079, 3, 26, 13, 0, 1079, 1080, 5, 18, 0, 0, 1080, 1085, 5, 53, 0, 0, 1081, 1082, 5, 136, 0, 0, 1082, 1084, 3, 162, 81, 0, 1083, 1081, 1, 0, 0, 0, 1084, 1087, 1, 0, 0, 0, 1085, 1083, 1, 0, 0, 0, 1085, 1086, 1, 0, 0, 0, 1086, 1088, 1, 0, 0, 0, 1087, 1085, 1, 0, 0, 0, 1088, 1089, 5, 134, 0, 0, 1089, 121, 1, 0, 0, 0, 1090, 1091, 5, 56, 0, 0, 1091, 1092, 3, 162, 81, 0, 1092, 1093, 5, 58, 0, 0, 1093, 1094, 5, 61, 0, 0, 1094, 1095, 3, 162, 81, 0, 1095, 1096, 5, 134, 0, 0, 1096, 123, 1, 0, 0, 0, 1097, 1098, 5, 68, 0, 0, 1098, 1099, 3, 162, 81, 0, 1099, 1100, 5, 69, 0, 0, 1100, 1101, 5, 70, 0, 0, 1101, 1102, 5, 65, 0, 0, 1102, 1103, 5, 51, 0, 0, 1103, 1104, 3, 162, 81, 0, 1104, 1105, 5, 67, 0, 0, 1105, 1106, 5, 62, 0, 0, 1106, 1107, 3, 162, 81, 0, 1107, 1108, 5, 136, 0, 0, 1108, 1109, 3, 162, 81, 0, 1109, 1110, 5, 134, 0, 0, 1110, 125, 1, 0, 0, 0, 1111, 1112, 5, 56, 0, 0, 1112, 1113, 3, 128, 64, 0, 1113, 1114, 5, 58, 0, 0, 1114, 1117, 3, 132, 66, 0, 1115, 1116, 5, 34, 0, 0, 1116, 1118, 3, 164, 82, 0, 1117, 1115, 1, 0, 0, 0, 1117, 1118, 1, 0, 0, 0, 1118, 1119, 1, 0, 0, 0, 1119, 1120, 5, 134, 0, 0, 1120, 127, 1, 0, 0, 0, 1121, 1122, 3, 162, 81, 0, 1122, 1123, 5, 136, 0, 0, 1123, 1124, 3, 130, 65, 0, 1124, 129, 1, 0, 0, 0, 1125, 1138, 3, 162, 81, 0, 1126, 1138, 5, 101, 0, 0, 1127, 1138, 5, 91, 0, 0, 1128, 1138, 5, 92, 0, 0, 1129, 1138, 5, 1, 0, 0, 1130, 1138, 5, 98, 0, 0, 1131, 1138, 5, 99, 0, 0, 1132, 1138, 5, 100, 0, 0, 1133, 1138, 5, 102, 0, 0, 1134, 1138, 5, 103, 0, 0, 1135, 1138, 5, 104, 0, 0, 1136, 1138, 5, 105, 0, 0, 1137, 1125, 1, 0, 0, 0, 1137, 1126, 1, 0, 0, 0, 1137, 1127, 1, 0, 0, 0, 1137, 1128, 1, 0, 0, 0, 1137, 1129, 1, 0, 0, 0, 1137, 1130, 1, 0, 0, 0, 1137, 1131, 1, 0, 0, 0, 1137, 1132, 1, 0, 0, 0, 1137, 1133, 1, 0, 0, 0, 1137, 1134, 1, 0, 0, 0, 1137, 1135, 1, 0, 0, 0, 1137, 1136, 1, 0, 0, 0, 1138, 131, 1, 0, 0, 0, 1139, 1140, 5, 80, 0, 0, 1140, 1141, 5, 136, 0, 0, 1141, 1176, 3, 162, 81, 0, 1142, 1143, 5, 61, 0, 0, 1143, 1144, 3, 162, 81, 0, 1144, 1145, 5, 136, 0, 0, 1145, 1146, 3, 136, 68, 0, 1146, 1176, 1, 0, 0, 0, 1147, 1148, 5, 62, 0, 0, 1148, 1149, 3, 162, 81, 0, 1149, 1150, 5, 136, 0, 0, 1150, 1151, 3, 162, 81, 0, 1151, 1152, 5, 136, 0, 0, 1152, 1153, 3, 138, 69, 0, 1153, 1176, 1, 0, 0, 0, 1154, 1155, 5, 44, 0, 0, 1155, 1157, 3, 162, 81, 0, 1156, 1158, 3, 28, 14, 0, 1157, 1156, 1, 0, 0, 0, 1157, 1158, 1, 0, 0, 0, 1158, 1159, 1, 0, 0, 0, 1159, 1160, 5, 136, 0, 0, 1160, 1161, 3, 128, 64, 0, 1161, 1176, 1, 0, 0, 0, 1162, 1163, 5, 46, 0, 0, 1163, 1164, 3, 162, 81, 0, 1164, 1165, 5, 136, 0, 0, 1165, 1167, 3, 162, 81, 0, 1166, 1168, 3, 28, 14, 0, 1167, 1166, 1, 0, 0, 0, 1167, 1168, 1, 0, 0, 0, 1168, 1170, 1, 0, 0, 0, 1169, 1171, 3, 140, 70, 0, 1170, 1169, 1, 0, 0, 0, 1170, 1171, 1, 0, 0, 0, 1171, 1173, 1, 0, 0, 0, 1172, 1174, 3, 134, 67, 0, 1173, 1172, 1, 0, 0, 0, 1173, 1174, 1, 0, 0, 0, 1174, 1176, 1, 0, 0, 0, 1175, 1139, 1, 0, 0, 0, 1175, 1142, 1, 0, 0, 0, 1175, 1147, 1, 0, 0, 0, 1175, 1154, 1, 0, 0, 0, 1175, 1162, 1, 0, 0, 0, 1176, 133, 1, 0, 0, 0, 1177, 1178, 5, 66, 0, 0, 1178, 1179, 3, 140, 70, 0, 1179, 135, 1, 0, 0, 0, 1180, 1181, 7, 4, 0, 0, 1181, 137, 1, 0, 0, 0, 1182, 1183, 7, 5, 0, 0, 1183, 139, 1, 0, 0, 0, 1184, 1185, 5, 64, 0, 0, 1185, 1189, 5, 137, 0, 0, 1186, 1188, 3, 142, 71, 0, 1187, 1186, 1, 0, 0, 0, 1188, 1191, 1, 0, 0, 0, 1189, 1187, 1, 0, 0, 0, 1189, 1190, 1, 0, 0, 0, 1190, 1192, 1, 0, 0, 0, 1191, 1189, 1, 0, 0, 0, 1192, 1193, 5, 138, 0, 0, 1193, 141, 1, 0, 0, 0, 1194, 1195, 3, 162, 81, 0, 1195, 1196, 5, 58, 0, 0, 1196, 1197, 5, 9, 0, 0, 1197, 1198, 5, 23, 0, 0, 1198, 1199, 5, 139, 0, 0, 1199, 1200, 3, 86, 43, 0, 1200, 1201, 5, 140, 0, 0, 1201, 1202, 5, 134, 0, 0, 1202, 1293, 1, 0, 0, 0, 1203, 1204, 3, 162, 81, 0, 1204, 1205, 5, 58, 0, 0, 1205, 1206, 5, 61, 0, 0, 1206, 1213, 3, 162, 81, 0, 1207, 1208, 5, 67, 0, 0, 1208, 1209, 5, 62, 0, 0, 1209, 1210, 3, 162, 81, 0, 1210, 1211, 5, 136, 0, 0, 1211, 1212, 3, 162, 81, 0, 1212, 1214, 1, 0, 0, 0, 1213, 1207, 1, 0, 0, 0, 1213, 1214, 1, 0, 0, 0, 1214, 1215, 1, 0, 0, 0, 1215, 1216, 5, 134, 0, 0, 1216, 1293, 1, 0, 0, 0, 1217, 1218, 3, 162, 81, 0, 1218, 1219, 5, 58, 0, 0, 1219, 1220, 5, 62, 0, 0, 1220, 1221, 3, 162, 81, 0, 1221, 1222, 5, 136, 0, 0, 1222, 1229, 3, 162, 81, 0, 1223, 1224, 5, 67, 0, 0, 1224, 1225, 5, 62, 0, 0, 1225, 1226, 3, 162, 81, 0, 1226, 1227, 5, 136, 0, 0, 1227, 1228, 3, 162, 81, 0, 1228, 1230, 1, 0, 0, 0, 1229, 1223, 1, 0, 0, 0, 1229, 1230, 1, 0, 0, 0, 1230, 1231, 1, 0, 0, 0, 1231, 1232, 5, 134, 0, 0, 1232, 1293, 1, 0, 0, 0, 1233, 1234, 3, 162, 81, 0, 1234, 1235, 5, 58, 0, 0, 1235, 1236, 5, 44, 0, 0, 1236, 1238, 3, 162, 81, 0, 1237, 1239, 3, 28, 14, 0, 1238, 1237, 1, 0, 0, 0, 1238, 1239, 1, 0, 0, 0, 1239, 1248, 1, 0, 0, 0, 1240, 1241, 5, 67, 0, 0, 1241, 1242, 5, 62, 0, 0, 1242, 1243, 3, 162, 81, 0, 1243, 1244, 5, 136, 0, 0, 1244, 1245, 3, 162, 81, 0, 1245, 1249, 1, 0, 0, 0, 1246, 1247, 5, 18, 0, 0, 1247, 1249, 5, 53, 0, 0, 1248, 1240, 1, 0, 0, 0, 1248, 1246, 1, 0, 0, 0, 1248, 1249, 1, 0, 0, 0, 1249, 1250, 1, 0, 0, 0, 1250, 1251, 5, 134, 0, 0, 1251, 1293, 1, 0, 0, 0, 1252, 1253, 3, 162, 81, 0, 1253, 1254, 5, 58, 0, 0, 1254, 1255, 5, 7, 0, 0, 1255, 1256, 3, 162, 81, 0, 1256, 1257, 5, 64, 0, 0, 1257, 1261, 5, 137, 0, 0, 1258, 1260, 3, 120, 60, 0, 1259, 1258, 1, 0, 0, 0, 1260, 1263, 1, 0, 0, 0, 1261, 1259, 1, 0, 0, 0, 1261, 1262, 1, 0, 0, 0, 1262, 1264, 1, 0, 0, 0, 1263, 1261, 1, 0, 0, 0, 1264, 1265, 5, 138, 0, 0, 1265, 1266, 5, 134, 0, 0, 1266, 1293, 1, 0, 0, 0, 1267, 1268, 3, 162, 81, 0, 1268, 1269, 5, 58, 0, 0, 1269, 1270, 5, 51, 0, 0, 1270, 1271, 3, 162, 81, 0, 1271, 1272, 5, 134, 0, 0, 1272, 1293, 1, 0, 0, 0, 1273, 1274, 3, 162, 81, 0, 1274, 1276, 5, 58, 0, 0, 1275, 1277, 5, 9, 0, 0, 1276, 1275, 1, 0, 0, 0, 1276, 1277, 1, 0, 0, 0, 1277, 1278, 1, 0, 0, 0, 1278, 1279, 5, 22, 0, 0, 1279, 1280, 3, 162, 81, 0, 1280, 1281, 5, 136, 0, 0, 1281, 1288, 3, 162, 81, 0, 1282, 1283, 5, 67, 0, 0, 1283, 1284, 5, 62, 0, 0, 1284, 1285, 3, 162, 81, 0, 1285, 1286, 5, 136, 0, 0, 1286, 1287, 3, 162, 81, 0, 1287, 1289, 1, 0, 0, 0, 1288, 1282, 1, 0, 0, 0, 1288, 1289, 1, 0, 0, 0, 1289, 1290, 1, 0, 0, 0, 1290, 1291, 5, 134, 0, 0, 1291, 1293, 1, 0, 0, 0, 1292, 1194, 1, 0, 0, 0, 1292, 1203, 1, 0, 0, 0, 1292, 1217, 1, 0, 0, 0, 1292, 1233, 1, 0, 0, 0, 1292, 1252, 1, 0, 0, 0, 1292, 1267, 1, 0, 0, 0, 1292, 1273, 1, 0, 0, 0, 1293, 143, 1, 0, 0, 0, 1294, 1295, 5, 51, 0, 0, 1295, 1296, 3, 162, 81, 0, 1296, 1297, 5, 58, 0, 0, 1297, 1298, 3, 162, 81, 0, 1298, 1299, 5, 136, 0, 0, 1299, 1301, 3, 162, 81, 0, 1300, 1302, 3, 140, 70, 0, 1301, 1300, 1, 0, 0, 0, 1301, 1302, 1, 0, 0, 0, 1302, 1303, 1, 0, 0, 0, 1303, 1304, 5, 134, 0, 0, 1304, 145, 1, 0, 0, 0, 1305, 1352, 3, 150, 75, 0, 1306, 1352, 5, 113, 0, 0, 1307, 1352, 5, 114, 0, 0, 1308, 1309, 5, 115, 0, 0, 1309, 1352, 3, 164, 82, 0, 1310, 1311, 5, 116, 0, 0, 1311, 1312, 5, 143, 0, 0, 1312, 1313, 3, 162, 81, 0, 1313, 1314, 5, 144, 0, 0, 1314, 1352, 1, 0, 0, 0, 1315, 1316, 5, 117, 0, 0, 1316, 1317, 5, 143, 0, 0, 1317, 1319, 3, 162, 81, 0, 1318, 1320, 3, 28, 14, 0, 1319, 1318, 1, 0, 0, 0, 1319, 1320, 1, 0, 0, 0, 1320, 1321, 1, 0, 0, 0, 1321, 1322, 5, 144, 0, 0, 1322, 1352, 1, 0, 0, 0, 1323, 1324, 5, 39, 0, 0, 1324, 1325, 5, 143, 0, 0, 1325, 1326, 3, 162, 81, 0, 1326, 1327, 5, 144, 0, 0, 1327, 1352, 1, 0, 0, 0, 1328, 1329, 5, 118, 0, 0, 1329, 1330, 5, 143, 0, 0, 1330, 1331, 3, 146, 73, 0, 1331, 1332, 5, 144, 0, 0, 1332, 1352, 1, 0, 0, 0, 1333, 1334, 5, 119, 0, 0, 1334, 1335, 5, 143, 0, 0, 1335, 1336, 3, 146, 73, 0, 1336, 1337, 5, 144, 0, 0, 1337, 1352, 1, 0, 0, 0, 1338, 1339, 5, 120, 0, 0, 1339, 1343, 5, 137, 0, 0, 1340, 1342, 3, 148, 74, 0, 1341, 1340, 1, 0, 0, 0, 1342, 1345, 1, 0, 0, 0, 1343, 1341, 1, 0, 0, 0, 1343, 1344, 1, 0, 0, 0, 1344, 1346, 1, 0, 0, 0, 1345, 1343, 1, 0, 0, 0, 1346, 1352, 5, 138, 0, 0, 1347, 1349, 3, 162, 81, 0, 1348, 1350, 3, 28, 14, 0, 1349, 1348, 1, 0, 0, 0, 1349, 1350, 1, 0, 0, 0, 1350, 1352, 1, 0, 0, 0, 1351, 1305, 1, 0, 0, 0, 1351, 1306, 1, 0, 0, 0, 1351, 1307, 1, 0, 0, 0, 1351, 1308, 1, 0, 0, 0, 1351, 1310, 1, 0, 0, 0, 1351, 1315, 1, 0, 0, 0, 1351, 1323, 1, 0, 0, 0, 1351, 1328, 1, 0, 0, 0, 1351, 1333, 1, 0, 0, 0, 1351, 1338, 1, 0, 0, 0, 1351, 1347, 1, 0, 0, 0, 1352, 147, 1, 0, 0, 0, 1353, 1354, 3, 162, 81, 0, 1354, 1355, 5, 133, 0, 0, 1355, 1356, 3, 146, 73, 0, 1356, 1357, 5, 134, 0, 0, 1357, 149, 1, 0, 0, 0, 1358, 1359, 7, 6, 0, 0, 1359, 151, 1, 0, 0, 0, 1360, 1361, 7, 7, 0, 0, 1361, 153, 1, 0, 0, 0, 1362, 1371, 3, 164, 82, 0, 1363, 1371, 5, 147, 0, 0, 1364, 1371, 5, 148, 0, 0, 1365, 1371, 5, 129, 0, 0, 1366, 1371, 5, 130, 0, 0, 1367, 1371, 5, 131, 0, 0, 1368, 1371, 3, 156, 78, 0, 1369, 1371, 3, 160, 80, 0, 1370, 1362, 1, 0, 0, 0, 1370, 1363, 1, 0, 0, 0, 1370, 1364, 1, 0, 0, 0, 1370, 1365, 1, 0, 0, 0, 1370, 1366, 1, 0, 0, 0, 1370, 1367, 1, 0, 0, 0, 1370, 1368, 1, 0, 0, 0, 1370, 1369, 1, 0, 0, 0, 1371, 155, 1, 0, 0, 0, 1372, 1381, 5, 137, 0, 0, 1373, 1378, 3, 158, 79, 0, 1374, 1375, 5, 135, 0, 0, 1375, 1377, 3, 158, 79, 0, 1376, 1374, 1, 0, 0, 0, 1377, 1380, 1, 0, 0, 0, 1378, 1376, 1, 0, 0, 0, 1378, 1379, 1, 0, 0, 0, 1379, 1382, 1, 0, 0, 0, 1380, 1378, 1, 0, 0, 0, 1381, 1373, 1, 0, 0, 0, 1381, 1382, 1, 0, 0, 0, 1382, 1383, 1, 0, 0, 0, 1383, 1384, 5, 138, 0, 0, 1384, 157, 1, 0, 0, 0, 1385, 1386, 3, 164, 82, 0, 1386, 1387, 5, 133, 0, 0, 1387, 1388, 3, 154, 77, 0, 1388, 159, 1, 0, 0, 0, 1389, 1398, 5, 139, 0, 0, 1390, 1395, 3, 154, 77, 0, 1391, 1392, 5, 135, 0, 0, 1392, 1394, 3, 154, 77, 0, 1393, 1391, 1, 0, 0, 0, 1394, 1397, 1, 0, 0, 0, 1395, 1393, 1, 0, 0, 0, 1395, 1396, 1, 0, 0, 0, 1396, 1399, 1, 0, 0, 0, 1397, 1395, 1, 0, 0, 0, 1398, 1390, 1, 0, 0, 0, 1398, 1399, 1, 0, 0, 0, 1399, 1400, 1, 0, 0, 0, 1400, 1401, 5, 140, 0, 0, 1401, 161, 1, 0, 0, 0, 1402, 1403, 7, 8, 0, 0, 1403, 163, 1, 0, 0, 0, 1404, 1405, 5, 150, 0, 0, 1405, 165, 1, 0, 0, 0, 126, 178, 185, 206, 219, 231, 251, 259, 266, 272, 284, 287, 293, 304, 313, 323, 326, 328, 332, 340, 352, 357, 367, 377, 382, 397, 403, 415, 424, 432, 440, 453, 456, 466, 470, 476, 483, 489, 497, 505, 518, 525, 529, 534, 545, 551, 562, 588, 592, 598, 609, 618, 624, 629, 631, 662, 666, 672, 699, 709, 720, 723, 728, 731, 738, 747, 750, 753, 770, 779, 793, 814, 817, 820, 827, 835, 867, 879, 882, 886, 908, 922, 930, 942, 956, 966, 984, 988, 991, 995, 998, 1004, 1008, 1013, 1017, 1021, 1027, 1041, 1056, 1076, 1085, 1117, 1137, 1157, 1167, 1170, 1173, 1175, 1189, 1213, 1229, 1238, 1248, 1261, 1276, 1288, 1292, 1301, 1319, 1343, 1349, 1351, 1370, 1378, 1381, 1395, 1398] \ No newline at end of file diff --git a/src/capability-language/generated/QuixosCapabilityParser.ts b/src/capability-language/generated/QuixosCapabilityParser.ts index 629df05..e956b15 100644 --- a/src/capability-language/generated/QuixosCapabilityParser.ts +++ b/src/capability-language/generated/QuixosCapabilityParser.ts @@ -3130,7 +3130,7 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 90, QuixosCapabilityParser.RULE_dependencyPort); let _la: number; try { - this.state = 918; + this.state = 922; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.REFLECTION: @@ -3192,137 +3192,149 @@ export class QuixosCapabilityParser extends antlr.Parser { this.cardinality(); this.state = 864; this.targetConstraint(); - this.state = 865; + this.state = 867; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 82) { + { + this.state = 865; + this.match(QuixosCapabilityParser.KEYED); + this.state = 866; + this.stringLiteral(); + } + } + + this.state = 869; this.primitiveList(); - this.state = 866; + this.state = 870; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 4); { - this.state = 868; - this.match(QuixosCapabilityParser.INTERFACE); - this.state = 869; - this.identifier(); - this.state = 870; - this.match(QuixosCapabilityParser.ID); - this.state = 871; - this.stringLiteral(); this.state = 872; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.INTERFACE); this.state = 873; this.identifier(); + this.state = 874; + this.match(QuixosCapabilityParser.ID); this.state = 875; + this.stringLiteral(); + this.state = 876; + this.match(QuixosCapabilityParser.COLON); + this.state = 877; + this.identifier(); + this.state = 879; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 874; + this.state = 878; this.typeArguments(); } } - this.state = 878; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 65) { - { - this.state = 877; - this.selectedOperations(); - } - } - this.state = 882; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); + if (_la === 65) { + { + this.state = 881; + this.selectedOperations(); + } + } + + this.state = 886; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); if (_la === 18) { { - this.state = 880; + this.state = 884; this.match(QuixosCapabilityParser.FROM); - this.state = 881; + this.state = 885; this.match(QuixosCapabilityParser.INPUT); } } - this.state = 884; + this.state = 888; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.CREATION: this.enterOuterAlt(localContext, 5); { - this.state = 886; - this.match(QuixosCapabilityParser.CREATION); - this.state = 887; - this.identifier(); - this.state = 888; - this.match(QuixosCapabilityParser.ID); - this.state = 889; - this.stringLiteral(); this.state = 890; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.CREATION); this.state = 891; this.identifier(); this.state = 892; - this.match(QuixosCapabilityParser.INPUT); + this.match(QuixosCapabilityParser.ID); this.state = 893; - this.valueType(); + this.stringLiteral(); this.state = 894; + this.match(QuixosCapabilityParser.COLON); + this.state = 895; + this.identifier(); + this.state = 896; + this.match(QuixosCapabilityParser.INPUT); + this.state = 897; + this.valueType(); + this.state = 898; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.CONSTRUCTOR: this.enterOuterAlt(localContext, 6); { - this.state = 896; - this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 897; - this.identifier(); - this.state = 898; - this.match(QuixosCapabilityParser.ID); - this.state = 899; - this.stringLiteral(); this.state = 900; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.CONSTRUCTOR); this.state = 901; this.identifier(); + this.state = 902; + this.match(QuixosCapabilityParser.ID); + this.state = 903; + this.stringLiteral(); this.state = 904; + this.match(QuixosCapabilityParser.COLON); + this.state = 905; + this.identifier(); + this.state = 908; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 53) { { - this.state = 902; + this.state = 906; this.match(QuixosCapabilityParser.INPUT); - this.state = 903; + this.state = 907; this.valueType(); } } - this.state = 906; + this.state = 910; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.QUERY: this.enterOuterAlt(localContext, 7); { - this.state = 908; - this.match(QuixosCapabilityParser.QUERY); - this.state = 909; - this.identifier(); - this.state = 910; - this.match(QuixosCapabilityParser.ID); - this.state = 911; - this.stringLiteral(); this.state = 912; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.QUERY); this.state = 913; this.identifier(); this.state = 914; - this.match(QuixosCapabilityParser.DOT); + this.match(QuixosCapabilityParser.ID); this.state = 915; - this.identifier(); + this.stringLiteral(); this.state = 916; + this.match(QuixosCapabilityParser.COLON); + this.state = 917; + this.identifier(); + this.state = 918; + this.match(QuixosCapabilityParser.DOT); + this.state = 919; + this.identifier(); + this.state = 920; this.match(QuixosCapabilityParser.SEMI); } break; @@ -3350,27 +3362,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 920; + this.state = 924; this.match(QuixosCapabilityParser.LBRACK); - this.state = 921; + this.state = 925; this.primitive(); - this.state = 926; + this.state = 930; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 922; + this.state = 926; this.match(QuixosCapabilityParser.COMMA); - this.state = 923; + this.state = 927; this.primitive(); } } - this.state = 928; + this.state = 932; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 929; + this.state = 933; this.match(QuixosCapabilityParser.RBRACK); } } @@ -3394,7 +3406,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 931; + this.state = 935; _la = this.tokenStream.LA(1); if(!(_la === 1 || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 223) !== 0))) { this.errorHandler.recoverInline(this); @@ -3424,9 +3436,9 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 933; + this.state = 937; this.match(QuixosCapabilityParser.SHARED); - this.state = 934; + this.state = 938; this.attachmentDecl(); } } @@ -3447,20 +3459,20 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new AttachmentDeclContext(this.context, this.state); this.enterRule(localContext, 98, QuixosCapabilityParser.RULE_attachmentDecl); try { - this.state = 938; + this.state = 942; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STATE: this.enterOuterAlt(localContext, 1); { - this.state = 936; + this.state = 940; this.stateDecl(); } break; case QuixosCapabilityParser.EDGE: this.enterOuterAlt(localContext, 2); { - this.state = 937; + this.state = 941; this.edgeDecl(); } break; @@ -3488,39 +3500,39 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 940; - this.match(QuixosCapabilityParser.STATE); - this.state = 941; - this.identifier(); - this.state = 942; - this.match(QuixosCapabilityParser.ID); - this.state = 943; - this.stringLiteral(); this.state = 944; - this.match(QuixosCapabilityParser.ON); + this.match(QuixosCapabilityParser.STATE); this.state = 945; this.identifier(); this.state = 946; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.ID); this.state = 947; - this.valueType(); + this.stringLiteral(); this.state = 948; - this.match(QuixosCapabilityParser.POLICY); + this.match(QuixosCapabilityParser.ON); this.state = 949; - this.storagePolicy(); + this.identifier(); + this.state = 950; + this.match(QuixosCapabilityParser.COLON); + this.state = 951; + this.valueType(); this.state = 952; + this.match(QuixosCapabilityParser.POLICY); + this.state = 953; + this.storagePolicy(); + this.state = 956; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 73) { { - this.state = 950; + this.state = 954; this.match(QuixosCapabilityParser.DEFAULT); - this.state = 951; + this.state = 955; this.jsonLiteral(); } } - this.state = 954; + this.state = 958; this.match(QuixosCapabilityParser.SEMI); } } @@ -3541,26 +3553,26 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new StoragePolicyContext(this.context, this.state); this.enterRule(localContext, 102, QuixosCapabilityParser.RULE_storagePolicy); try { - this.state = 962; + this.state = 966; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.REGISTER: this.enterOuterAlt(localContext, 1); { - this.state = 956; + this.state = 960; this.match(QuixosCapabilityParser.REGISTER); } break; case QuixosCapabilityParser.CRDT: this.enterOuterAlt(localContext, 2); { - this.state = 957; + this.state = 961; this.match(QuixosCapabilityParser.CRDT); - this.state = 958; + this.state = 962; this.match(QuixosCapabilityParser.LPAREN); - this.state = 959; + this.state = 963; this.valueType(); - this.state = 960; + this.state = 964; this.match(QuixosCapabilityParser.RPAREN); } break; @@ -3587,21 +3599,21 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 964; - this.match(QuixosCapabilityParser.EDGE); - this.state = 965; - this.identifier(); - this.state = 966; - this.match(QuixosCapabilityParser.ID); - this.state = 967; - this.stringLiteral(); this.state = 968; - this.match(QuixosCapabilityParser.LBRACE); + this.match(QuixosCapabilityParser.EDGE); this.state = 969; - this.edgeEndpoint(); + this.identifier(); this.state = 970; - this.edgeEndpoint(); + this.match(QuixosCapabilityParser.ID); this.state = 971; + this.stringLiteral(); + this.state = 972; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 973; + this.edgeEndpoint(); + this.state = 974; + this.edgeEndpoint(); + this.state = 975; this.match(QuixosCapabilityParser.RBRACE); } } @@ -3625,73 +3637,73 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 973; - this.targetConstraint(); - this.state = 974; - this.match(QuixosCapabilityParser.PROJECTION); - this.state = 975; - this.identifier(); - this.state = 976; - this.match(QuixosCapabilityParser.ID); this.state = 977; - this.stringLiteral(); + this.targetConstraint(); this.state = 978; - this.cardinality(); + this.match(QuixosCapabilityParser.PROJECTION); + this.state = 979; + this.identifier(); this.state = 980; + this.match(QuixosCapabilityParser.ID); + this.state = 981; + this.stringLiteral(); + this.state = 982; + this.cardinality(); + this.state = 984; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 112) { { - this.state = 979; + this.state = 983; this.match(QuixosCapabilityParser.ORDERED); } } - this.state = 984; + this.state = 988; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 79) { - { - this.state = 982; - this.match(QuixosCapabilityParser.ON_DELETE); - this.state = 983; - this.stringLiteral(); - } - } - - this.state = 987; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 81) { { this.state = 986; - this.match(QuixosCapabilityParser.RETAIN_OTHER); + this.match(QuixosCapabilityParser.ON_DELETE); + this.state = 987; + this.stringLiteral(); } } this.state = 991; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); + if (_la === 81) { + { + this.state = 990; + this.match(QuixosCapabilityParser.RETAIN_OTHER); + } + } + + this.state = 995; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); if (_la === 82) { { - this.state = 989; + this.state = 993; this.match(QuixosCapabilityParser.KEYED); - this.state = 990; + this.state = 994; this.stringLiteral(); } } - this.state = 994; + this.state = 998; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 83) { { - this.state = 993; + this.state = 997; this.match(QuixosCapabilityParser.PUBLIC_TRAVERSAL); } } - this.state = 996; + this.state = 1000; this.match(QuixosCapabilityParser.SEMI); } } @@ -3715,85 +3727,85 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 998; - this.match(QuixosCapabilityParser.CONFORM); - this.state = 1000; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 143) { - { - this.state = 999; - this.typeParameters(); - } - } - this.state = 1002; - this.identifier(); + this.match(QuixosCapabilityParser.CONFORM); this.state = 1004; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { this.state = 1003; - this.conformanceSourceArguments(); + this.typeParameters(); } } this.state = 1006; - this.match(QuixosCapabilityParser.AS); - this.state = 1007; this.identifier(); - this.state = 1009; + this.state = 1008; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1008; - this.typeArguments(); + this.state = 1007; + this.conformanceSourceArguments(); } } + this.state = 1010; + this.match(QuixosCapabilityParser.AS); + this.state = 1011; + this.identifier(); this.state = 1013; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 84) { + if (_la === 143) { { - this.state = 1011; - this.match(QuixosCapabilityParser.ID); this.state = 1012; - this.stringLiteral(); + this.typeArguments(); } } this.state = 1017; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 78) { + if (_la === 84) { { this.state = 1015; - this.match(QuixosCapabilityParser.SEMANTIC_MAJOR); + this.match(QuixosCapabilityParser.ID); this.state = 1016; + this.stringLiteral(); + } + } + + this.state = 1021; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 78) { + { + this.state = 1019; + this.match(QuixosCapabilityParser.SEMANTIC_MAJOR); + this.state = 1020; this.match(QuixosCapabilityParser.INTEGER); } } - this.state = 1019; - this.match(QuixosCapabilityParser.LBRACE); this.state = 1023; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 1027; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 8 || ((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 4105) !== 0)) { { { - this.state = 1020; + this.state = 1024; this.conformanceItem(); } } - this.state = 1025; + this.state = 1029; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1026; + this.state = 1030; this.match(QuixosCapabilityParser.RBRACE); } } @@ -3816,7 +3828,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1028; + this.state = 1032; this.typeArguments(); } } @@ -3837,50 +3849,50 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new ConformanceItemContext(this.context, this.state); this.enterRule(localContext, 112, QuixosCapabilityParser.RULE_conformanceItem); try { - this.state = 1037; + this.state = 1041; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 95, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 96, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1030; + this.state = 1034; this.match(QuixosCapabilityParser.PRIVATE); - this.state = 1031; + this.state = 1035; this.attachmentDecl(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1032; + this.state = 1036; this.operationBindingDecl(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1033; + this.state = 1037; this.stateFieldBindingDecl(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1034; + this.state = 1038; this.initializationDecl(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1035; + this.state = 1039; this.relationshipMaterializationDecl(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 1036; + this.state = 1040; this.moduleBindingDecl(); } break; @@ -3905,19 +3917,19 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1039; - this.match(QuixosCapabilityParser.BIND); - this.state = 1040; - this.identifier(); - this.state = 1041; - this.match(QuixosCapabilityParser.TO); - this.state = 1042; - this.identifier(); this.state = 1043; - this.match(QuixosCapabilityParser.DOT); + this.match(QuixosCapabilityParser.BIND); this.state = 1044; this.identifier(); this.state = 1045; + this.match(QuixosCapabilityParser.TO); + this.state = 1046; + this.identifier(); + this.state = 1047; + this.match(QuixosCapabilityParser.DOT); + this.state = 1048; + this.identifier(); + this.state = 1049; this.match(QuixosCapabilityParser.SEMI); } } @@ -3941,27 +3953,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1047; + this.state = 1051; this.match(QuixosCapabilityParser.INITIALIZE); - this.state = 1048; - this.match(QuixosCapabilityParser.LBRACE); this.state = 1052; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 1056; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 1049; + this.state = 1053; this.initializationField(); } } - this.state = 1054; + this.state = 1058; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1055; + this.state = 1059; this.match(QuixosCapabilityParser.RBRACE); - this.state = 1056; + this.state = 1060; this.match(QuixosCapabilityParser.SEMI); } } @@ -3982,40 +3994,40 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new InitializationFieldContext(this.context, this.state); this.enterRule(localContext, 118, QuixosCapabilityParser.RULE_initializationField); try { - this.state = 1072; + this.state = 1076; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 97, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 98, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1058; - this.identifier(); - this.state = 1059; - this.match(QuixosCapabilityParser.TO); - this.state = 1060; - this.match(QuixosCapabilityParser.STATE); - this.state = 1061; - this.identifier(); this.state = 1062; + this.identifier(); + this.state = 1063; + this.match(QuixosCapabilityParser.TO); + this.state = 1064; + this.match(QuixosCapabilityParser.STATE); + this.state = 1065; + this.identifier(); + this.state = 1066; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1064; - this.identifier(); - this.state = 1065; - this.match(QuixosCapabilityParser.TO); - this.state = 1066; - this.match(QuixosCapabilityParser.EDGE); - this.state = 1067; - this.identifier(); this.state = 1068; - this.match(QuixosCapabilityParser.DOT); - this.state = 1069; this.identifier(); + this.state = 1069; + this.match(QuixosCapabilityParser.TO); this.state = 1070; + this.match(QuixosCapabilityParser.EDGE); + this.state = 1071; + this.identifier(); + this.state = 1072; + this.match(QuixosCapabilityParser.DOT); + this.state = 1073; + this.identifier(); + this.state = 1074; this.match(QuixosCapabilityParser.SEMI); } break; @@ -4041,29 +4053,29 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1074; + this.state = 1078; this.interfaceType(); - this.state = 1075; + this.state = 1079; this.match(QuixosCapabilityParser.FROM); - this.state = 1076; + this.state = 1080; this.match(QuixosCapabilityParser.INPUT); - this.state = 1081; + this.state = 1085; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 136) { { { - this.state = 1077; + this.state = 1081; this.match(QuixosCapabilityParser.DOT); - this.state = 1078; + this.state = 1082; this.identifier(); } } - this.state = 1083; + this.state = 1087; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1084; + this.state = 1088; this.match(QuixosCapabilityParser.SEMI); } } @@ -4086,17 +4098,17 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1086; - this.match(QuixosCapabilityParser.BIND); - this.state = 1087; - this.identifier(); - this.state = 1088; - this.match(QuixosCapabilityParser.TO); - this.state = 1089; - this.match(QuixosCapabilityParser.STATE); this.state = 1090; - this.identifier(); + this.match(QuixosCapabilityParser.BIND); this.state = 1091; + this.identifier(); + this.state = 1092; + this.match(QuixosCapabilityParser.TO); + this.state = 1093; + this.match(QuixosCapabilityParser.STATE); + this.state = 1094; + this.identifier(); + this.state = 1095; this.match(QuixosCapabilityParser.SEMI); } } @@ -4119,31 +4131,31 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1093; - this.match(QuixosCapabilityParser.MATERIALIZE); - this.state = 1094; - this.identifier(); - this.state = 1095; - this.match(QuixosCapabilityParser.IF); - this.state = 1096; - this.match(QuixosCapabilityParser.ABSENT); this.state = 1097; - this.match(QuixosCapabilityParser.USING); + this.match(QuixosCapabilityParser.MATERIALIZE); this.state = 1098; - this.match(QuixosCapabilityParser.CONSTRUCTOR); + this.identifier(); this.state = 1099; - this.identifier(); + this.match(QuixosCapabilityParser.IF); this.state = 1100; - this.match(QuixosCapabilityParser.VIA); + this.match(QuixosCapabilityParser.ABSENT); this.state = 1101; - this.match(QuixosCapabilityParser.EDGE); + this.match(QuixosCapabilityParser.USING); this.state = 1102; - this.identifier(); + this.match(QuixosCapabilityParser.CONSTRUCTOR); this.state = 1103; - this.match(QuixosCapabilityParser.DOT); - this.state = 1104; this.identifier(); + this.state = 1104; + this.match(QuixosCapabilityParser.VIA); this.state = 1105; + this.match(QuixosCapabilityParser.EDGE); + this.state = 1106; + this.identifier(); + this.state = 1107; + this.match(QuixosCapabilityParser.DOT); + this.state = 1108; + this.identifier(); + this.state = 1109; this.match(QuixosCapabilityParser.SEMI); } } @@ -4167,27 +4179,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1107; + this.state = 1111; this.match(QuixosCapabilityParser.BIND); - this.state = 1108; + this.state = 1112; this.memberOperationRef(); - this.state = 1109; - this.match(QuixosCapabilityParser.TO); - this.state = 1110; - this.operationProvider(); this.state = 1113; + this.match(QuixosCapabilityParser.TO); + this.state = 1114; + this.operationProvider(); + this.state = 1117; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 34) { { - this.state = 1111; + this.state = 1115; this.match(QuixosCapabilityParser.QUERY_REASON); - this.state = 1112; + this.state = 1116; this.stringLiteral(); } } - this.state = 1115; + this.state = 1119; this.match(QuixosCapabilityParser.SEMI); } } @@ -4210,11 +4222,11 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1117; + this.state = 1121; this.identifier(); - this.state = 1118; + this.state = 1122; this.match(QuixosCapabilityParser.DOT); - this.state = 1119; + this.state = 1123; this.operationName(); } } @@ -4235,90 +4247,90 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new OperationNameContext(this.context, this.state); this.enterRule(localContext, 130, QuixosCapabilityParser.RULE_operationName); try { - this.state = 1133; + this.state = 1137; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 100, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 101, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1121; + this.state = 1125; this.identifier(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1122; + this.state = 1126; this.match(QuixosCapabilityParser.CALL); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1123; + this.state = 1127; this.match(QuixosCapabilityParser.GET); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1124; + this.state = 1128; this.match(QuixosCapabilityParser.SET); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1125; + this.state = 1129; this.match(QuixosCapabilityParser.EDIT); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 1126; + this.state = 1130; this.match(QuixosCapabilityParser.RESOLVE); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 1127; + this.state = 1131; this.match(QuixosCapabilityParser.CONNECT); } break; case 8: this.enterOuterAlt(localContext, 8); { - this.state = 1128; + this.state = 1132; this.match(QuixosCapabilityParser.DISCONNECT); } break; case 9: this.enterOuterAlt(localContext, 9); { - this.state = 1129; + this.state = 1133; this.match(QuixosCapabilityParser.WATCH_START); } break; case 10: this.enterOuterAlt(localContext, 10); { - this.state = 1130; + this.state = 1134; this.match(QuixosCapabilityParser.WATCH_STOP); } break; case 11: this.enterOuterAlt(localContext, 11); { - this.state = 1131; + this.state = 1135; this.match(QuixosCapabilityParser.SUBSCRIBE); } break; case 12: this.enterOuterAlt(localContext, 12); { - this.state = 1132; + this.state = 1136; this.match(QuixosCapabilityParser.UNSUBSCRIBE); } break; @@ -4342,110 +4354,110 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 132, QuixosCapabilityParser.RULE_operationProvider); let _la: number; try { - this.state = 1171; + this.state = 1175; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.LIFECYCLE: this.enterOuterAlt(localContext, 1); { - this.state = 1135; + this.state = 1139; this.match(QuixosCapabilityParser.LIFECYCLE); - this.state = 1136; + this.state = 1140; this.match(QuixosCapabilityParser.DOT); - this.state = 1137; + this.state = 1141; this.identifier(); } break; case QuixosCapabilityParser.STATE: this.enterOuterAlt(localContext, 2); { - this.state = 1138; + this.state = 1142; this.match(QuixosCapabilityParser.STATE); - this.state = 1139; + this.state = 1143; this.identifier(); - this.state = 1140; + this.state = 1144; this.match(QuixosCapabilityParser.DOT); - this.state = 1141; + this.state = 1145; this.statePrimitive(); } break; case QuixosCapabilityParser.EDGE: this.enterOuterAlt(localContext, 3); { - this.state = 1143; - this.match(QuixosCapabilityParser.EDGE); - this.state = 1144; - this.identifier(); - this.state = 1145; - this.match(QuixosCapabilityParser.DOT); - this.state = 1146; - this.identifier(); this.state = 1147; - this.match(QuixosCapabilityParser.DOT); + this.match(QuixosCapabilityParser.EDGE); this.state = 1148; + this.identifier(); + this.state = 1149; + this.match(QuixosCapabilityParser.DOT); + this.state = 1150; + this.identifier(); + this.state = 1151; + this.match(QuixosCapabilityParser.DOT); + this.state = 1152; this.edgePrimitive(); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 4); { - this.state = 1150; + this.state = 1154; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 1151; + this.state = 1155; this.identifier(); - this.state = 1153; + this.state = 1157; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1152; + this.state = 1156; this.typeArguments(); } } - this.state = 1155; + this.state = 1159; this.match(QuixosCapabilityParser.DOT); - this.state = 1156; + this.state = 1160; this.memberOperationRef(); } break; case QuixosCapabilityParser.PACKAGE: this.enterOuterAlt(localContext, 5); { - this.state = 1158; + this.state = 1162; this.match(QuixosCapabilityParser.PACKAGE); - this.state = 1159; - this.identifier(); - this.state = 1160; - this.match(QuixosCapabilityParser.DOT); - this.state = 1161; - this.identifier(); this.state = 1163; + this.identifier(); + this.state = 1164; + this.match(QuixosCapabilityParser.DOT); + this.state = 1165; + this.identifier(); + this.state = 1167; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1162; + this.state = 1166; this.typeArguments(); } } - this.state = 1166; + this.state = 1170; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 64) { { - this.state = 1165; + this.state = 1169; this.dependencyBindingBlock(); } } - this.state = 1169; + this.state = 1173; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 66) { { - this.state = 1168; + this.state = 1172; this.acceptanceBinding(); } } @@ -4475,9 +4487,9 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1173; + this.state = 1177; this.match(QuixosCapabilityParser.ACCEPT); - this.state = 1174; + this.state = 1178; this.dependencyBindingBlock(); } } @@ -4501,7 +4513,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1176; + this.state = 1180; _la = this.tokenStream.LA(1); if(!(_la === 1 || ((((_la - 96)) & ~0x1F) === 0 && ((1 << (_la - 96)) & 195) !== 0))) { this.errorHandler.recoverInline(this); @@ -4532,7 +4544,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1178; + this.state = 1182; _la = this.tokenStream.LA(1); if(!(((((_la - 98)) & ~0x1F) === 0 && ((1 << (_la - 98)) & 55) !== 0))) { this.errorHandler.recoverInline(this); @@ -4563,25 +4575,25 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1180; + this.state = 1184; this.match(QuixosCapabilityParser.WITH); - this.state = 1181; - this.match(QuixosCapabilityParser.LBRACE); this.state = 1185; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 1189; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 1182; + this.state = 1186; this.dependencyBinding(); } } - this.state = 1187; + this.state = 1191; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1188; + this.state = 1192; this.match(QuixosCapabilityParser.RBRACE); } } @@ -4603,136 +4615,136 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 142, QuixosCapabilityParser.RULE_dependencyBinding); let _la: number; try { - this.state = 1288; + this.state = 1292; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 114, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 115, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 1190; - this.identifier(); - this.state = 1191; - this.match(QuixosCapabilityParser.TO); - this.state = 1192; - this.match(QuixosCapabilityParser.WORKSPACE); - this.state = 1193; - this.match(QuixosCapabilityParser.REFLECTION); this.state = 1194; - this.match(QuixosCapabilityParser.LBRACK); + this.identifier(); this.state = 1195; - this.identifierList(); + this.match(QuixosCapabilityParser.TO); this.state = 1196; - this.match(QuixosCapabilityParser.RBRACK); + this.match(QuixosCapabilityParser.WORKSPACE); this.state = 1197; + this.match(QuixosCapabilityParser.REFLECTION); + this.state = 1198; + this.match(QuixosCapabilityParser.LBRACK); + this.state = 1199; + this.identifierList(); + this.state = 1200; + this.match(QuixosCapabilityParser.RBRACK); + this.state = 1201; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 1199; + this.state = 1203; this.identifier(); - this.state = 1200; + this.state = 1204; this.match(QuixosCapabilityParser.TO); - this.state = 1201; + this.state = 1205; this.match(QuixosCapabilityParser.STATE); - this.state = 1202; + this.state = 1206; this.identifier(); - this.state = 1209; + this.state = 1213; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 67) { { - this.state = 1203; - this.match(QuixosCapabilityParser.VIA); - this.state = 1204; - this.match(QuixosCapabilityParser.EDGE); - this.state = 1205; - this.identifier(); - this.state = 1206; - this.match(QuixosCapabilityParser.DOT); this.state = 1207; + this.match(QuixosCapabilityParser.VIA); + this.state = 1208; + this.match(QuixosCapabilityParser.EDGE); + this.state = 1209; + this.identifier(); + this.state = 1210; + this.match(QuixosCapabilityParser.DOT); + this.state = 1211; this.identifier(); } } - this.state = 1211; + this.state = 1215; this.match(QuixosCapabilityParser.SEMI); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 1213; - this.identifier(); - this.state = 1214; - this.match(QuixosCapabilityParser.TO); - this.state = 1215; - this.match(QuixosCapabilityParser.EDGE); - this.state = 1216; - this.identifier(); this.state = 1217; - this.match(QuixosCapabilityParser.DOT); - this.state = 1218; this.identifier(); - this.state = 1225; + this.state = 1218; + this.match(QuixosCapabilityParser.TO); + this.state = 1219; + this.match(QuixosCapabilityParser.EDGE); + this.state = 1220; + this.identifier(); + this.state = 1221; + this.match(QuixosCapabilityParser.DOT); + this.state = 1222; + this.identifier(); + this.state = 1229; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 67) { { - this.state = 1219; - this.match(QuixosCapabilityParser.VIA); - this.state = 1220; - this.match(QuixosCapabilityParser.EDGE); - this.state = 1221; - this.identifier(); - this.state = 1222; - this.match(QuixosCapabilityParser.DOT); this.state = 1223; + this.match(QuixosCapabilityParser.VIA); + this.state = 1224; + this.match(QuixosCapabilityParser.EDGE); + this.state = 1225; + this.identifier(); + this.state = 1226; + this.match(QuixosCapabilityParser.DOT); + this.state = 1227; this.identifier(); } } - this.state = 1227; + this.state = 1231; this.match(QuixosCapabilityParser.SEMI); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 1229; - this.identifier(); - this.state = 1230; - this.match(QuixosCapabilityParser.TO); - this.state = 1231; - this.match(QuixosCapabilityParser.INTERFACE); - this.state = 1232; + this.state = 1233; this.identifier(); this.state = 1234; + this.match(QuixosCapabilityParser.TO); + this.state = 1235; + this.match(QuixosCapabilityParser.INTERFACE); + this.state = 1236; + this.identifier(); + this.state = 1238; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1233; + this.state = 1237; this.typeArguments(); } } - this.state = 1244; + this.state = 1248; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.VIA: { { - this.state = 1236; - this.match(QuixosCapabilityParser.VIA); - this.state = 1237; - this.match(QuixosCapabilityParser.EDGE); - this.state = 1238; - this.identifier(); - this.state = 1239; - this.match(QuixosCapabilityParser.DOT); this.state = 1240; + this.match(QuixosCapabilityParser.VIA); + this.state = 1241; + this.match(QuixosCapabilityParser.EDGE); + this.state = 1242; + this.identifier(); + this.state = 1243; + this.match(QuixosCapabilityParser.DOT); + this.state = 1244; this.identifier(); } } @@ -4740,9 +4752,9 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.FROM: { { - this.state = 1242; + this.state = 1246; this.match(QuixosCapabilityParser.FROM); - this.state = 1243; + this.state = 1247; this.match(QuixosCapabilityParser.INPUT); } } @@ -4752,104 +4764,104 @@ export class QuixosCapabilityParser extends antlr.Parser { default: break; } - this.state = 1246; + this.state = 1250; this.match(QuixosCapabilityParser.SEMI); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 1248; - this.identifier(); - this.state = 1249; - this.match(QuixosCapabilityParser.TO); - this.state = 1250; - this.match(QuixosCapabilityParser.CREATION); - this.state = 1251; - this.identifier(); this.state = 1252; - this.match(QuixosCapabilityParser.WITH); + this.identifier(); this.state = 1253; - this.match(QuixosCapabilityParser.LBRACE); + this.match(QuixosCapabilityParser.TO); + this.state = 1254; + this.match(QuixosCapabilityParser.CREATION); + this.state = 1255; + this.identifier(); + this.state = 1256; + this.match(QuixosCapabilityParser.WITH); this.state = 1257; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 1261; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 1254; + this.state = 1258; this.creationOwnerMapping(); } } - this.state = 1259; + this.state = 1263; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1260; + this.state = 1264; this.match(QuixosCapabilityParser.RBRACE); - this.state = 1261; + this.state = 1265; this.match(QuixosCapabilityParser.SEMI); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 1263; - this.identifier(); - this.state = 1264; - this.match(QuixosCapabilityParser.TO); - this.state = 1265; - this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 1266; - this.identifier(); this.state = 1267; + this.identifier(); + this.state = 1268; + this.match(QuixosCapabilityParser.TO); + this.state = 1269; + this.match(QuixosCapabilityParser.CONSTRUCTOR); + this.state = 1270; + this.identifier(); + this.state = 1271; this.match(QuixosCapabilityParser.SEMI); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 1269; + this.state = 1273; this.identifier(); - this.state = 1270; + this.state = 1274; this.match(QuixosCapabilityParser.TO); - this.state = 1272; + this.state = 1276; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 9) { { - this.state = 1271; + this.state = 1275; this.match(QuixosCapabilityParser.WORKSPACE); } } - this.state = 1274; + this.state = 1278; this.match(QuixosCapabilityParser.QUERY); - this.state = 1275; + this.state = 1279; this.identifier(); - this.state = 1276; + this.state = 1280; this.match(QuixosCapabilityParser.DOT); - this.state = 1277; + this.state = 1281; this.identifier(); - this.state = 1284; + this.state = 1288; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 67) { { - this.state = 1278; - this.match(QuixosCapabilityParser.VIA); - this.state = 1279; - this.match(QuixosCapabilityParser.EDGE); - this.state = 1280; - this.identifier(); - this.state = 1281; - this.match(QuixosCapabilityParser.DOT); this.state = 1282; + this.match(QuixosCapabilityParser.VIA); + this.state = 1283; + this.match(QuixosCapabilityParser.EDGE); + this.state = 1284; + this.identifier(); + this.state = 1285; + this.match(QuixosCapabilityParser.DOT); + this.state = 1286; this.identifier(); } } - this.state = 1286; + this.state = 1290; this.match(QuixosCapabilityParser.SEMI); } break; @@ -4875,29 +4887,29 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1290; - this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 1291; - this.identifier(); - this.state = 1292; - this.match(QuixosCapabilityParser.TO); - this.state = 1293; - this.identifier(); this.state = 1294; - this.match(QuixosCapabilityParser.DOT); + this.match(QuixosCapabilityParser.CONSTRUCTOR); this.state = 1295; this.identifier(); + this.state = 1296; + this.match(QuixosCapabilityParser.TO); this.state = 1297; + this.identifier(); + this.state = 1298; + this.match(QuixosCapabilityParser.DOT); + this.state = 1299; + this.identifier(); + this.state = 1301; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 64) { { - this.state = 1296; + this.state = 1300; this.dependencyBindingBlock(); } } - this.state = 1299; + this.state = 1303; this.match(QuixosCapabilityParser.SEMI); } } @@ -4919,7 +4931,7 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 146, QuixosCapabilityParser.RULE_valueType); let _la: number; try { - this.state = 1347; + this.state = 1351; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.BOOL: @@ -4932,130 +4944,130 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.UINT64: this.enterOuterAlt(localContext, 1); { - this.state = 1301; + this.state = 1305; this.scalarType(); } break; case QuixosCapabilityParser.UNIT: this.enterOuterAlt(localContext, 2); { - this.state = 1302; + this.state = 1306; this.match(QuixosCapabilityParser.UNIT); } break; case QuixosCapabilityParser.WATCH_HANDLE: this.enterOuterAlt(localContext, 3); { - this.state = 1303; + this.state = 1307; this.match(QuixosCapabilityParser.WATCH_HANDLE); } break; case QuixosCapabilityParser.MESSAGE: this.enterOuterAlt(localContext, 4); { - this.state = 1304; + this.state = 1308; this.match(QuixosCapabilityParser.MESSAGE); - this.state = 1305; + this.state = 1309; this.stringLiteral(); } break; case QuixosCapabilityParser.ATOM_REF: this.enterOuterAlt(localContext, 5); { - this.state = 1306; + this.state = 1310; this.match(QuixosCapabilityParser.ATOM_REF); - this.state = 1307; + this.state = 1311; this.match(QuixosCapabilityParser.LT); - this.state = 1308; + this.state = 1312; this.identifier(); - this.state = 1309; + this.state = 1313; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.INTERFACE_REF: this.enterOuterAlt(localContext, 6); { - this.state = 1311; - this.match(QuixosCapabilityParser.INTERFACE_REF); - this.state = 1312; - this.match(QuixosCapabilityParser.LT); - this.state = 1313; - this.identifier(); this.state = 1315; + this.match(QuixosCapabilityParser.INTERFACE_REF); + this.state = 1316; + this.match(QuixosCapabilityParser.LT); + this.state = 1317; + this.identifier(); + this.state = 1319; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1314; + this.state = 1318; this.typeArguments(); } } - this.state = 1317; + this.state = 1321; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.REF: this.enterOuterAlt(localContext, 7); { - this.state = 1319; + this.state = 1323; this.match(QuixosCapabilityParser.REF); - this.state = 1320; + this.state = 1324; this.match(QuixosCapabilityParser.LT); - this.state = 1321; + this.state = 1325; this.identifier(); - this.state = 1322; + this.state = 1326; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.OPTIONAL: this.enterOuterAlt(localContext, 8); { - this.state = 1324; + this.state = 1328; this.match(QuixosCapabilityParser.OPTIONAL); - this.state = 1325; + this.state = 1329; this.match(QuixosCapabilityParser.LT); - this.state = 1326; + this.state = 1330; this.valueType(); - this.state = 1327; + this.state = 1331; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.LIST: this.enterOuterAlt(localContext, 9); { - this.state = 1329; + this.state = 1333; this.match(QuixosCapabilityParser.LIST); - this.state = 1330; + this.state = 1334; this.match(QuixosCapabilityParser.LT); - this.state = 1331; + this.state = 1335; this.valueType(); - this.state = 1332; + this.state = 1336; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.RECORD: this.enterOuterAlt(localContext, 10); { - this.state = 1334; + this.state = 1338; this.match(QuixosCapabilityParser.RECORD); - this.state = 1335; - this.match(QuixosCapabilityParser.LBRACE); this.state = 1339; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 1343; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149) { { { - this.state = 1336; + this.state = 1340; this.recordField(); } } - this.state = 1341; + this.state = 1345; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 1342; + this.state = 1346; this.match(QuixosCapabilityParser.RBRACE); } break; @@ -5098,14 +5110,14 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.IDENTIFIER: this.enterOuterAlt(localContext, 11); { - this.state = 1343; + this.state = 1347; this.identifier(); - this.state = 1345; + this.state = 1349; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 143) { { - this.state = 1344; + this.state = 1348; this.typeArguments(); } } @@ -5135,13 +5147,13 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1349; + this.state = 1353; this.identifier(); - this.state = 1350; + this.state = 1354; this.match(QuixosCapabilityParser.COLON); - this.state = 1351; + this.state = 1355; this.valueType(); - this.state = 1352; + this.state = 1356; this.match(QuixosCapabilityParser.SEMI); } } @@ -5165,7 +5177,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1354; + this.state = 1358; _la = this.tokenStream.LA(1); if(!(((((_la - 121)) & ~0x1F) === 0 && ((1 << (_la - 121)) & 255) !== 0))) { this.errorHandler.recoverInline(this); @@ -5196,7 +5208,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1356; + this.state = 1360; _la = this.tokenStream.LA(1); if(!(((((_la - 108)) & ~0x1F) === 0 && ((1 << (_la - 108)) & 15) !== 0))) { this.errorHandler.recoverInline(this); @@ -5224,62 +5236,62 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new JsonLiteralContext(this.context, this.state); this.enterRule(localContext, 154, QuixosCapabilityParser.RULE_jsonLiteral); try { - this.state = 1366; + this.state = 1370; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STRING_LITERAL: this.enterOuterAlt(localContext, 1); { - this.state = 1358; + this.state = 1362; this.stringLiteral(); } break; case QuixosCapabilityParser.INTEGER: this.enterOuterAlt(localContext, 2); { - this.state = 1359; + this.state = 1363; this.match(QuixosCapabilityParser.INTEGER); } break; case QuixosCapabilityParser.JSON_NUMBER: this.enterOuterAlt(localContext, 3); { - this.state = 1360; + this.state = 1364; this.match(QuixosCapabilityParser.JSON_NUMBER); } break; case QuixosCapabilityParser.TRUE: this.enterOuterAlt(localContext, 4); { - this.state = 1361; + this.state = 1365; this.match(QuixosCapabilityParser.TRUE); } break; case QuixosCapabilityParser.FALSE: this.enterOuterAlt(localContext, 5); { - this.state = 1362; + this.state = 1366; this.match(QuixosCapabilityParser.FALSE); } break; case QuixosCapabilityParser.NULL: this.enterOuterAlt(localContext, 6); { - this.state = 1363; + this.state = 1367; this.match(QuixosCapabilityParser.NULL); } break; case QuixosCapabilityParser.LBRACE: this.enterOuterAlt(localContext, 7); { - this.state = 1364; + this.state = 1368; this.jsonObject(); } break; case QuixosCapabilityParser.LBRACK: this.enterOuterAlt(localContext, 8); { - this.state = 1365; + this.state = 1369; this.jsonArray(); } break; @@ -5307,35 +5319,35 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1368; + this.state = 1372; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1377; + this.state = 1381; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 150) { { - this.state = 1369; + this.state = 1373; this.jsonMember(); - this.state = 1374; + this.state = 1378; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 1370; + this.state = 1374; this.match(QuixosCapabilityParser.COMMA); - this.state = 1371; + this.state = 1375; this.jsonMember(); } } - this.state = 1376; + this.state = 1380; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1379; + this.state = 1383; this.match(QuixosCapabilityParser.RBRACE); } } @@ -5358,11 +5370,11 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1381; + this.state = 1385; this.stringLiteral(); - this.state = 1382; + this.state = 1386; this.match(QuixosCapabilityParser.COLON); - this.state = 1383; + this.state = 1387; this.jsonLiteral(); } } @@ -5386,35 +5398,35 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1385; + this.state = 1389; this.match(QuixosCapabilityParser.LBRACK); - this.state = 1394; + this.state = 1398; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (((((_la - 129)) & ~0x1F) === 0 && ((1 << (_la - 129)) & 2884871) !== 0)) { { - this.state = 1386; + this.state = 1390; this.jsonLiteral(); - this.state = 1391; + this.state = 1395; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); while (_la === 135) { { { - this.state = 1387; + this.state = 1391; this.match(QuixosCapabilityParser.COMMA); - this.state = 1388; + this.state = 1392; this.jsonLiteral(); } } - this.state = 1393; + this.state = 1397; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1396; + this.state = 1400; this.match(QuixosCapabilityParser.RBRACK); } } @@ -5438,7 +5450,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1398; + this.state = 1402; _la = this.tokenStream.LA(1); if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4294966770) !== 0) || ((((_la - 32)) & ~0x1F) === 0 && ((1 << (_la - 32)) & 8451) !== 0) || ((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 3145729) !== 0) || _la === 106 || _la === 149)) { this.errorHandler.recoverInline(this); @@ -5468,7 +5480,7 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 1400; + this.state = 1404; this.match(QuixosCapabilityParser.STRING_LITERAL); } } @@ -5487,7 +5499,7 @@ export class QuixosCapabilityParser extends antlr.Parser { } public static readonly _serializedATN: number[] = [ - 4,1,153,1403,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, + 4,1,153,1407,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, @@ -5558,224 +5570,224 @@ export class QuixosCapabilityParser extends antlr.Parser { 1,43,1,43,5,43,826,8,43,10,43,12,43,829,9,43,1,44,1,44,1,44,5,44, 834,8,44,10,44,12,44,837,9,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45, 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, - 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45, - 1,45,1,45,1,45,1,45,3,45,876,8,45,1,45,3,45,879,8,45,1,45,1,45,3, - 45,883,8,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1, - 45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,905,8,45,1, - 45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,919, - 8,45,1,46,1,46,1,46,1,46,5,46,925,8,46,10,46,12,46,928,9,46,1,46, - 1,46,1,47,1,47,1,48,1,48,1,48,1,49,1,49,3,49,939,8,49,1,50,1,50, - 1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,953,8,50, - 1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,3,51,963,8,51,1,52,1,52, - 1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53, - 1,53,3,53,981,8,53,1,53,1,53,3,53,985,8,53,1,53,3,53,988,8,53,1, - 53,1,53,3,53,992,8,53,1,53,3,53,995,8,53,1,53,1,53,1,54,1,54,3,54, - 1001,8,54,1,54,1,54,3,54,1005,8,54,1,54,1,54,1,54,3,54,1010,8,54, - 1,54,1,54,3,54,1014,8,54,1,54,1,54,3,54,1018,8,54,1,54,1,54,5,54, - 1022,8,54,10,54,12,54,1025,9,54,1,54,1,54,1,55,1,55,1,56,1,56,1, - 56,1,56,1,56,1,56,1,56,3,56,1038,8,56,1,57,1,57,1,57,1,57,1,57,1, - 57,1,57,1,57,1,58,1,58,1,58,5,58,1051,8,58,10,58,12,58,1054,9,58, - 1,58,1,58,1,58,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59, - 1,59,1,59,1,59,1,59,3,59,1073,8,59,1,60,1,60,1,60,1,60,1,60,5,60, - 1080,8,60,10,60,12,60,1083,9,60,1,60,1,60,1,61,1,61,1,61,1,61,1, - 61,1,61,1,61,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1, - 62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1,63,1,63,3,63,1114,8,63,1, - 63,1,63,1,64,1,64,1,64,1,64,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1, - 65,1,65,1,65,1,65,1,65,3,65,1134,8,65,1,66,1,66,1,66,1,66,1,66,1, - 66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,3, - 66,1154,8,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,3,66,1164,8, - 66,1,66,3,66,1167,8,66,1,66,3,66,1170,8,66,3,66,1172,8,66,1,67,1, - 67,1,67,1,68,1,68,1,69,1,69,1,70,1,70,1,70,5,70,1184,8,70,10,70, - 12,70,1187,9,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, - 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71,1210, - 8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, - 1,71,1,71,3,71,1226,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71, - 1235,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71,1245,8,71, - 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,5,71,1256,8,71,10,71, - 12,71,1259,9,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, - 1,71,1,71,3,71,1273,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, - 1,71,1,71,3,71,1285,8,71,1,71,1,71,3,71,1289,8,71,1,72,1,72,1,72, - 1,72,1,72,1,72,1,72,3,72,1298,8,72,1,72,1,72,1,73,1,73,1,73,1,73, - 1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,3,73,1316,8,73, - 1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73, - 1,73,1,73,1,73,1,73,1,73,1,73,1,73,5,73,1338,8,73,10,73,12,73,1341, - 9,73,1,73,1,73,1,73,3,73,1346,8,73,3,73,1348,8,73,1,74,1,74,1,74, - 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,3,77,1367,8,77,1,78,1,78,1,78,1,78,5,78,1373,8,78,10,78,12, - 78,1376,9,78,3,78,1378,8,78,1,78,1,78,1,79,1,79,1,79,1,79,1,80,1, - 80,1,80,1,80,5,80,1390,8,80,10,80,12,80,1393,9,80,3,80,1395,8,80, - 1,80,1,80,1,81,1,81,1,82,1,82,1,82,0,0,83,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,0,9, - 2,0,15,15,33,33,1,0,11,12,1,0,101,105,3,0,1,1,96,100,102,103,3,0, - 1,1,96,97,102,103,2,0,98,100,102,103,1,0,121,128,1,0,108,111,9,0, - 1,1,4,8,10,33,40,40,45,45,74,74,94,95,106,106,149,149,1519,0,178, - 1,0,0,0,2,180,1,0,0,0,4,190,1,0,0,0,6,194,1,0,0,0,8,219,1,0,0,0, - 10,231,1,0,0,0,12,233,1,0,0,0,14,240,1,0,0,0,16,251,1,0,0,0,18,253, - 1,0,0,0,20,266,1,0,0,0,22,298,1,0,0,0,24,328,1,0,0,0,26,330,1,0, - 0,0,28,334,1,0,0,0,30,352,1,0,0,0,32,354,1,0,0,0,34,367,1,0,0,0, - 36,369,1,0,0,0,38,382,1,0,0,0,40,403,1,0,0,0,42,453,1,0,0,0,44,456, - 1,0,0,0,46,481,1,0,0,0,48,518,1,0,0,0,50,529,1,0,0,0,52,534,1,0, - 0,0,54,562,1,0,0,0,56,564,1,0,0,0,58,574,1,0,0,0,60,586,1,0,0,0, - 62,633,1,0,0,0,64,699,1,0,0,0,66,701,1,0,0,0,68,706,1,0,0,0,70,735, - 1,0,0,0,72,757,1,0,0,0,74,770,1,0,0,0,76,772,1,0,0,0,78,784,1,0, - 0,0,80,797,1,0,0,0,82,800,1,0,0,0,84,820,1,0,0,0,86,822,1,0,0,0, - 88,830,1,0,0,0,90,918,1,0,0,0,92,920,1,0,0,0,94,931,1,0,0,0,96,933, - 1,0,0,0,98,938,1,0,0,0,100,940,1,0,0,0,102,962,1,0,0,0,104,964,1, - 0,0,0,106,973,1,0,0,0,108,998,1,0,0,0,110,1028,1,0,0,0,112,1037, - 1,0,0,0,114,1039,1,0,0,0,116,1047,1,0,0,0,118,1072,1,0,0,0,120,1074, - 1,0,0,0,122,1086,1,0,0,0,124,1093,1,0,0,0,126,1107,1,0,0,0,128,1117, - 1,0,0,0,130,1133,1,0,0,0,132,1171,1,0,0,0,134,1173,1,0,0,0,136,1176, - 1,0,0,0,138,1178,1,0,0,0,140,1180,1,0,0,0,142,1288,1,0,0,0,144,1290, - 1,0,0,0,146,1347,1,0,0,0,148,1349,1,0,0,0,150,1354,1,0,0,0,152,1356, - 1,0,0,0,154,1366,1,0,0,0,156,1368,1,0,0,0,158,1381,1,0,0,0,160,1385, - 1,0,0,0,162,1398,1,0,0,0,164,1400,1,0,0,0,166,167,3,6,3,0,167,168, - 5,0,0,1,168,179,1,0,0,0,169,170,3,20,10,0,170,171,5,0,0,1,171,179, - 1,0,0,0,172,173,3,52,26,0,173,174,5,0,0,1,174,179,1,0,0,0,175,176, - 3,2,1,0,176,177,5,0,0,1,177,179,1,0,0,0,178,166,1,0,0,0,178,169, - 1,0,0,0,178,172,1,0,0,0,178,175,1,0,0,0,179,1,1,0,0,0,180,181,5, - 40,0,0,181,185,5,137,0,0,182,184,3,8,4,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,138,0,0,189,3,1,0,0,0,190,191,5,41,0,0,191,192, - 3,164,82,0,192,193,5,134,0,0,193,5,1,0,0,0,194,195,5,9,0,0,195,196, - 3,162,81,0,196,197,5,84,0,0,197,198,3,164,82,0,198,199,5,77,0,0, - 199,200,3,164,82,0,200,201,5,76,0,0,201,202,3,164,82,0,202,206,5, - 137,0,0,203,205,3,8,4,0,204,203,1,0,0,0,205,208,1,0,0,0,206,204, - 1,0,0,0,206,207,1,0,0,0,207,209,1,0,0,0,208,206,1,0,0,0,209,210, - 5,138,0,0,210,7,1,0,0,0,211,220,3,4,2,0,212,220,3,18,9,0,213,220, - 3,10,5,0,214,220,3,96,48,0,215,220,3,108,54,0,216,220,3,144,72,0, - 217,220,3,58,29,0,218,220,3,32,16,0,219,211,1,0,0,0,219,212,1,0, - 0,0,219,213,1,0,0,0,219,214,1,0,0,0,219,215,1,0,0,0,219,216,1,0, - 0,0,219,217,1,0,0,0,219,218,1,0,0,0,220,9,1,0,0,0,221,222,5,41,0, - 0,222,223,5,44,0,0,223,224,3,162,81,0,224,225,5,134,0,0,225,232, - 1,0,0,0,226,227,5,41,0,0,227,228,5,46,0,0,228,229,3,162,81,0,229, - 230,5,134,0,0,230,232,1,0,0,0,231,221,1,0,0,0,231,226,1,0,0,0,232, - 11,1,0,0,0,233,234,5,42,0,0,234,235,5,43,0,0,235,236,3,162,81,0, - 236,237,5,84,0,0,237,238,3,164,82,0,238,239,5,134,0,0,239,13,1,0, - 0,0,240,241,5,42,0,0,241,242,5,44,0,0,242,243,3,162,81,0,243,244, - 5,77,0,0,244,245,3,164,82,0,245,246,5,134,0,0,246,15,1,0,0,0,247, - 252,3,10,5,0,248,252,3,12,6,0,249,252,3,14,7,0,250,252,3,32,16,0, - 251,247,1,0,0,0,251,248,1,0,0,0,251,249,1,0,0,0,251,250,1,0,0,0, - 252,17,1,0,0,0,253,254,5,43,0,0,254,255,3,162,81,0,255,256,5,84, - 0,0,256,259,3,164,82,0,257,258,5,85,0,0,258,260,3,164,82,0,259,257, - 1,0,0,0,259,260,1,0,0,0,260,261,1,0,0,0,261,262,5,134,0,0,262,19, - 1,0,0,0,263,265,3,16,8,0,264,263,1,0,0,0,265,268,1,0,0,0,266,264, - 1,0,0,0,266,267,1,0,0,0,267,269,1,0,0,0,268,266,1,0,0,0,269,270, - 5,44,0,0,270,272,3,162,81,0,271,273,3,22,11,0,272,271,1,0,0,0,272, - 273,1,0,0,0,273,274,1,0,0,0,274,275,5,84,0,0,275,276,3,164,82,0, - 276,277,5,77,0,0,277,287,3,164,82,0,278,279,5,89,0,0,279,284,3,26, - 13,0,280,281,5,135,0,0,281,283,3,26,13,0,282,280,1,0,0,0,283,286, - 1,0,0,0,284,282,1,0,0,0,284,285,1,0,0,0,285,288,1,0,0,0,286,284, - 1,0,0,0,287,278,1,0,0,0,287,288,1,0,0,0,288,289,1,0,0,0,289,293, - 5,137,0,0,290,292,3,34,17,0,291,290,1,0,0,0,292,295,1,0,0,0,293, - 291,1,0,0,0,293,294,1,0,0,0,294,296,1,0,0,0,295,293,1,0,0,0,296, - 297,5,138,0,0,297,21,1,0,0,0,298,299,5,143,0,0,299,304,3,24,12,0, - 300,301,5,135,0,0,301,303,3,24,12,0,302,300,1,0,0,0,303,306,1,0, - 0,0,304,302,1,0,0,0,304,305,1,0,0,0,305,307,1,0,0,0,306,304,1,0, - 0,0,307,308,5,144,0,0,308,23,1,0,0,0,309,310,5,47,0,0,310,313,3, - 162,81,0,311,312,5,133,0,0,312,314,5,37,0,0,313,311,1,0,0,0,313, - 314,1,0,0,0,314,329,1,0,0,0,315,316,5,36,0,0,316,326,3,162,81,0, - 317,318,5,38,0,0,318,323,3,26,13,0,319,320,5,145,0,0,320,322,3,26, - 13,0,321,319,1,0,0,0,322,325,1,0,0,0,323,321,1,0,0,0,323,324,1,0, - 0,0,324,327,1,0,0,0,325,323,1,0,0,0,326,317,1,0,0,0,326,327,1,0, - 0,0,327,329,1,0,0,0,328,309,1,0,0,0,328,315,1,0,0,0,329,25,1,0,0, - 0,330,332,3,162,81,0,331,333,3,28,14,0,332,331,1,0,0,0,332,333,1, - 0,0,0,333,27,1,0,0,0,334,335,5,143,0,0,335,340,3,30,15,0,336,337, - 5,135,0,0,337,339,3,30,15,0,338,336,1,0,0,0,339,342,1,0,0,0,340, - 338,1,0,0,0,340,341,1,0,0,0,341,343,1,0,0,0,342,340,1,0,0,0,343, - 344,5,144,0,0,344,29,1,0,0,0,345,346,5,43,0,0,346,353,3,162,81,0, - 347,348,5,44,0,0,348,353,3,26,13,0,349,350,5,36,0,0,350,353,3,162, - 81,0,351,353,3,146,73,0,352,345,1,0,0,0,352,347,1,0,0,0,352,349, - 1,0,0,0,352,351,1,0,0,0,353,31,1,0,0,0,354,355,5,35,0,0,355,357, - 3,162,81,0,356,358,3,22,11,0,357,356,1,0,0,0,357,358,1,0,0,0,358, - 359,1,0,0,0,359,360,5,146,0,0,360,361,3,146,73,0,361,362,5,134,0, - 0,362,33,1,0,0,0,363,368,3,40,20,0,364,368,3,44,22,0,365,368,3,38, - 19,0,366,368,3,36,18,0,367,363,1,0,0,0,367,364,1,0,0,0,367,365,1, - 0,0,0,367,366,1,0,0,0,368,35,1,0,0,0,369,370,5,2,0,0,370,371,3,162, - 81,0,371,372,5,84,0,0,372,373,3,164,82,0,373,374,5,3,0,0,374,377, - 3,164,82,0,375,376,5,5,0,0,376,378,3,50,25,0,377,375,1,0,0,0,377, - 378,1,0,0,0,378,379,1,0,0,0,379,380,5,134,0,0,380,37,1,0,0,0,381, - 383,5,57,0,0,382,381,1,0,0,0,382,383,1,0,0,0,383,384,1,0,0,0,384, - 385,5,49,0,0,385,386,3,162,81,0,386,387,5,84,0,0,387,388,3,164,82, - 0,388,389,5,133,0,0,389,390,3,146,73,0,390,391,5,132,0,0,391,392, - 3,146,73,0,392,393,5,137,0,0,393,394,5,101,0,0,394,395,5,84,0,0, - 395,397,3,164,82,0,396,398,3,74,37,0,397,396,1,0,0,0,397,398,1,0, - 0,0,398,399,1,0,0,0,399,400,5,134,0,0,400,401,5,138,0,0,401,39,1, - 0,0,0,402,404,3,46,23,0,403,402,1,0,0,0,403,404,1,0,0,0,404,405, - 1,0,0,0,405,406,5,47,0,0,406,407,3,162,81,0,407,408,5,84,0,0,408, - 409,3,164,82,0,409,410,5,133,0,0,410,411,3,146,73,0,411,415,5,137, - 0,0,412,414,3,42,21,0,413,412,1,0,0,0,414,417,1,0,0,0,415,413,1, - 0,0,0,415,416,1,0,0,0,416,418,1,0,0,0,417,415,1,0,0,0,418,419,5, - 138,0,0,419,41,1,0,0,0,420,421,5,91,0,0,421,422,5,84,0,0,422,424, - 3,164,82,0,423,425,3,74,37,0,424,423,1,0,0,0,424,425,1,0,0,0,425, - 426,1,0,0,0,426,427,5,134,0,0,427,454,1,0,0,0,428,429,5,92,0,0,429, - 430,5,84,0,0,430,432,3,164,82,0,431,433,3,74,37,0,432,431,1,0,0, - 0,432,433,1,0,0,0,433,434,1,0,0,0,434,435,5,134,0,0,435,454,1,0, - 0,0,436,437,5,1,0,0,437,438,5,84,0,0,438,440,3,164,82,0,439,441, - 3,74,37,0,440,439,1,0,0,0,440,441,1,0,0,0,441,442,1,0,0,0,442,443, - 5,134,0,0,443,454,1,0,0,0,444,445,5,93,0,0,445,446,5,94,0,0,446, - 447,5,84,0,0,447,448,3,164,82,0,448,449,5,95,0,0,449,450,5,84,0, - 0,450,451,3,164,82,0,451,452,5,134,0,0,452,454,1,0,0,0,453,420,1, - 0,0,0,453,428,1,0,0,0,453,436,1,0,0,0,453,444,1,0,0,0,454,43,1,0, - 0,0,455,457,3,46,23,0,456,455,1,0,0,0,456,457,1,0,0,0,457,458,1, - 0,0,0,458,459,5,48,0,0,459,460,3,162,81,0,460,461,5,84,0,0,461,462, - 3,164,82,0,462,463,5,133,0,0,463,464,3,152,76,0,464,466,3,50,25, - 0,465,467,5,112,0,0,466,465,1,0,0,0,466,467,1,0,0,0,467,470,1,0, - 0,0,468,469,5,82,0,0,469,471,3,164,82,0,470,468,1,0,0,0,470,471, - 1,0,0,0,471,472,1,0,0,0,472,476,5,137,0,0,473,475,3,48,24,0,474, - 473,1,0,0,0,475,478,1,0,0,0,476,474,1,0,0,0,476,477,1,0,0,0,477, - 479,1,0,0,0,478,476,1,0,0,0,479,480,5,138,0,0,480,45,1,0,0,0,481, - 483,5,32,0,0,482,484,7,0,0,0,483,482,1,0,0,0,483,484,1,0,0,0,484, - 47,1,0,0,0,485,486,5,98,0,0,486,487,5,84,0,0,487,489,3,164,82,0, - 488,490,3,74,37,0,489,488,1,0,0,0,489,490,1,0,0,0,490,491,1,0,0, - 0,491,492,5,134,0,0,492,519,1,0,0,0,493,494,5,99,0,0,494,495,5,84, - 0,0,495,497,3,164,82,0,496,498,3,74,37,0,497,496,1,0,0,0,497,498, - 1,0,0,0,498,499,1,0,0,0,499,500,5,134,0,0,500,519,1,0,0,0,501,502, - 5,100,0,0,502,503,5,84,0,0,503,505,3,164,82,0,504,506,3,74,37,0, - 505,504,1,0,0,0,505,506,1,0,0,0,506,507,1,0,0,0,507,508,5,134,0, - 0,508,519,1,0,0,0,509,510,5,93,0,0,510,511,5,94,0,0,511,512,5,84, - 0,0,512,513,3,164,82,0,513,514,5,95,0,0,514,515,5,84,0,0,515,516, - 3,164,82,0,516,517,5,134,0,0,517,519,1,0,0,0,518,485,1,0,0,0,518, - 493,1,0,0,0,518,501,1,0,0,0,518,509,1,0,0,0,519,49,1,0,0,0,520,521, - 5,43,0,0,521,530,3,162,81,0,522,523,5,44,0,0,523,525,3,162,81,0, - 524,526,3,28,14,0,525,524,1,0,0,0,525,526,1,0,0,0,526,530,1,0,0, - 0,527,528,5,36,0,0,528,530,3,162,81,0,529,520,1,0,0,0,529,522,1, - 0,0,0,529,527,1,0,0,0,530,51,1,0,0,0,531,533,3,16,8,0,532,531,1, - 0,0,0,533,536,1,0,0,0,534,532,1,0,0,0,534,535,1,0,0,0,535,537,1, - 0,0,0,536,534,1,0,0,0,537,538,5,46,0,0,538,539,3,162,81,0,539,540, - 5,84,0,0,540,541,3,164,82,0,541,542,5,77,0,0,542,545,3,164,82,0, - 543,544,5,78,0,0,544,546,5,147,0,0,545,543,1,0,0,0,545,546,1,0,0, - 0,546,547,1,0,0,0,547,551,5,137,0,0,548,550,3,54,27,0,549,548,1, - 0,0,0,550,553,1,0,0,0,551,549,1,0,0,0,551,552,1,0,0,0,552,554,1, - 0,0,0,553,551,1,0,0,0,554,555,5,138,0,0,555,53,1,0,0,0,556,563,3, - 68,34,0,557,563,3,70,35,0,558,563,3,78,39,0,559,563,3,60,30,0,560, - 563,3,62,31,0,561,563,3,56,28,0,562,556,1,0,0,0,562,557,1,0,0,0, - 562,558,1,0,0,0,562,559,1,0,0,0,562,560,1,0,0,0,562,561,1,0,0,0, - 563,55,1,0,0,0,564,565,5,2,0,0,565,566,3,162,81,0,566,567,5,84,0, - 0,567,568,3,164,82,0,568,569,5,38,0,0,569,570,3,26,13,0,570,571, - 5,136,0,0,571,572,3,162,81,0,572,573,5,134,0,0,573,57,1,0,0,0,574, - 575,5,4,0,0,575,576,3,162,81,0,576,577,5,84,0,0,577,578,3,164,82, - 0,578,579,5,6,0,0,579,580,3,26,13,0,580,581,5,65,0,0,581,582,3,162, - 81,0,582,583,5,136,0,0,583,584,3,162,81,0,584,585,5,134,0,0,585, - 59,1,0,0,0,586,588,5,22,0,0,587,589,5,40,0,0,588,587,1,0,0,0,588, - 589,1,0,0,0,589,590,1,0,0,0,590,592,3,162,81,0,591,593,3,22,11,0, - 592,591,1,0,0,0,592,593,1,0,0,0,593,594,1,0,0,0,594,595,5,84,0,0, - 595,596,3,164,82,0,596,598,5,25,0,0,597,599,5,9,0,0,598,597,1,0, - 0,0,598,599,1,0,0,0,599,600,1,0,0,0,600,601,3,26,13,0,601,602,5, - 26,0,0,602,631,3,164,82,0,603,604,5,49,0,0,604,605,3,164,82,0,605, - 609,5,137,0,0,606,608,3,64,32,0,607,606,1,0,0,0,608,611,1,0,0,0, - 609,607,1,0,0,0,609,610,1,0,0,0,610,612,1,0,0,0,611,609,1,0,0,0, - 612,613,5,138,0,0,613,632,1,0,0,0,614,615,5,40,0,0,615,618,3,164, - 82,0,616,617,5,49,0,0,617,619,3,164,82,0,618,616,1,0,0,0,618,619, - 1,0,0,0,619,629,1,0,0,0,620,624,5,137,0,0,621,623,3,64,32,0,622, - 621,1,0,0,0,623,626,1,0,0,0,624,622,1,0,0,0,624,625,1,0,0,0,625, - 627,1,0,0,0,626,624,1,0,0,0,627,630,5,138,0,0,628,630,5,134,0,0, - 629,620,1,0,0,0,629,628,1,0,0,0,630,632,1,0,0,0,631,603,1,0,0,0, - 631,614,1,0,0,0,632,61,1,0,0,0,633,634,5,22,0,0,634,635,3,162,81, - 0,635,636,5,84,0,0,636,637,3,164,82,0,637,638,5,24,0,0,638,639,3, - 162,81,0,639,640,3,28,14,0,640,641,5,134,0,0,641,63,1,0,0,0,642, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,868,8,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,880,8,45,1,45, + 3,45,883,8,45,1,45,1,45,3,45,887,8,45,1,45,1,45,1,45,1,45,1,45,1, + 45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1, + 45,1,45,3,45,909,8,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1, + 45,1,45,1,45,1,45,3,45,923,8,45,1,46,1,46,1,46,1,46,5,46,929,8,46, + 10,46,12,46,932,9,46,1,46,1,46,1,47,1,47,1,48,1,48,1,48,1,49,1,49, + 3,49,943,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50, + 1,50,1,50,3,50,957,8,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51, + 3,51,967,8,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,53, + 1,53,1,53,1,53,1,53,1,53,1,53,3,53,985,8,53,1,53,1,53,3,53,989,8, + 53,1,53,3,53,992,8,53,1,53,1,53,3,53,996,8,53,1,53,3,53,999,8,53, + 1,53,1,53,1,54,1,54,3,54,1005,8,54,1,54,1,54,3,54,1009,8,54,1,54, + 1,54,1,54,3,54,1014,8,54,1,54,1,54,3,54,1018,8,54,1,54,1,54,3,54, + 1022,8,54,1,54,1,54,5,54,1026,8,54,10,54,12,54,1029,9,54,1,54,1, + 54,1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56,3,56,1042,8,56,1, + 57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,58,1,58,1,58,5,58,1055,8, + 58,10,58,12,58,1058,9,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,1,59, + 1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,3,59,1077,8,59,1,60, + 1,60,1,60,1,60,1,60,5,60,1084,8,60,10,60,12,60,1087,9,60,1,60,1, + 60,1,61,1,61,1,61,1,61,1,61,1,61,1,61,1,62,1,62,1,62,1,62,1,62,1, + 62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1, + 63,1,63,3,63,1118,8,63,1,63,1,63,1,64,1,64,1,64,1,64,1,65,1,65,1, + 65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,3,65,1138,8,65,1, + 66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1,66,1, + 66,1,66,1,66,1,66,1,66,3,66,1158,8,66,1,66,1,66,1,66,1,66,1,66,1, + 66,1,66,1,66,3,66,1168,8,66,1,66,3,66,1171,8,66,1,66,3,66,1174,8, + 66,3,66,1176,8,66,1,67,1,67,1,67,1,68,1,68,1,69,1,69,1,70,1,70,1, + 70,5,70,1188,8,70,10,70,12,70,1191,9,70,1,70,1,70,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,71,3,71,1214,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71,1230,8,71,1,71,1,71,1,71, + 1,71,1,71,1,71,1,71,3,71,1239,8,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,71,1,71,3,71,1249,8,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,1,71, + 1,71,5,71,1260,8,71,10,71,12,71,1263,9,71,1,71,1,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71,1277,8,71,1,71,1,71,1, + 71,1,71,1,71,1,71,1,71,1,71,1,71,1,71,3,71,1289,8,71,1,71,1,71,3, + 71,1293,8,71,1,72,1,72,1,72,1,72,1,72,1,72,1,72,3,72,1302,8,72,1, + 72,1,72,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1, + 73,1,73,1,73,3,73,1320,8,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1, + 73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,5, + 73,1342,8,73,10,73,12,73,1345,9,73,1,73,1,73,1,73,3,73,1350,8,73, + 3,73,1352,8,73,1,74,1,74,1,74,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,3,77,1371,8,77,1,78,1,78,1,78, + 1,78,5,78,1377,8,78,10,78,12,78,1380,9,78,3,78,1382,8,78,1,78,1, + 78,1,79,1,79,1,79,1,79,1,80,1,80,1,80,1,80,5,80,1394,8,80,10,80, + 12,80,1397,9,80,3,80,1399,8,80,1,80,1,80,1,81,1,81,1,82,1,82,1,82, + 0,0,83,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,0,9,2,0,15,15,33,33,1,0,11,12,1,0,101,105, + 3,0,1,1,96,100,102,103,3,0,1,1,96,97,102,103,2,0,98,100,102,103, + 1,0,121,128,1,0,108,111,9,0,1,1,4,8,10,33,40,40,45,45,74,74,94,95, + 106,106,149,149,1524,0,178,1,0,0,0,2,180,1,0,0,0,4,190,1,0,0,0,6, + 194,1,0,0,0,8,219,1,0,0,0,10,231,1,0,0,0,12,233,1,0,0,0,14,240,1, + 0,0,0,16,251,1,0,0,0,18,253,1,0,0,0,20,266,1,0,0,0,22,298,1,0,0, + 0,24,328,1,0,0,0,26,330,1,0,0,0,28,334,1,0,0,0,30,352,1,0,0,0,32, + 354,1,0,0,0,34,367,1,0,0,0,36,369,1,0,0,0,38,382,1,0,0,0,40,403, + 1,0,0,0,42,453,1,0,0,0,44,456,1,0,0,0,46,481,1,0,0,0,48,518,1,0, + 0,0,50,529,1,0,0,0,52,534,1,0,0,0,54,562,1,0,0,0,56,564,1,0,0,0, + 58,574,1,0,0,0,60,586,1,0,0,0,62,633,1,0,0,0,64,699,1,0,0,0,66,701, + 1,0,0,0,68,706,1,0,0,0,70,735,1,0,0,0,72,757,1,0,0,0,74,770,1,0, + 0,0,76,772,1,0,0,0,78,784,1,0,0,0,80,797,1,0,0,0,82,800,1,0,0,0, + 84,820,1,0,0,0,86,822,1,0,0,0,88,830,1,0,0,0,90,922,1,0,0,0,92,924, + 1,0,0,0,94,935,1,0,0,0,96,937,1,0,0,0,98,942,1,0,0,0,100,944,1,0, + 0,0,102,966,1,0,0,0,104,968,1,0,0,0,106,977,1,0,0,0,108,1002,1,0, + 0,0,110,1032,1,0,0,0,112,1041,1,0,0,0,114,1043,1,0,0,0,116,1051, + 1,0,0,0,118,1076,1,0,0,0,120,1078,1,0,0,0,122,1090,1,0,0,0,124,1097, + 1,0,0,0,126,1111,1,0,0,0,128,1121,1,0,0,0,130,1137,1,0,0,0,132,1175, + 1,0,0,0,134,1177,1,0,0,0,136,1180,1,0,0,0,138,1182,1,0,0,0,140,1184, + 1,0,0,0,142,1292,1,0,0,0,144,1294,1,0,0,0,146,1351,1,0,0,0,148,1353, + 1,0,0,0,150,1358,1,0,0,0,152,1360,1,0,0,0,154,1370,1,0,0,0,156,1372, + 1,0,0,0,158,1385,1,0,0,0,160,1389,1,0,0,0,162,1402,1,0,0,0,164,1404, + 1,0,0,0,166,167,3,6,3,0,167,168,5,0,0,1,168,179,1,0,0,0,169,170, + 3,20,10,0,170,171,5,0,0,1,171,179,1,0,0,0,172,173,3,52,26,0,173, + 174,5,0,0,1,174,179,1,0,0,0,175,176,3,2,1,0,176,177,5,0,0,1,177, + 179,1,0,0,0,178,166,1,0,0,0,178,169,1,0,0,0,178,172,1,0,0,0,178, + 175,1,0,0,0,179,1,1,0,0,0,180,181,5,40,0,0,181,185,5,137,0,0,182, + 184,3,8,4,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,138,0,0,189, + 3,1,0,0,0,190,191,5,41,0,0,191,192,3,164,82,0,192,193,5,134,0,0, + 193,5,1,0,0,0,194,195,5,9,0,0,195,196,3,162,81,0,196,197,5,84,0, + 0,197,198,3,164,82,0,198,199,5,77,0,0,199,200,3,164,82,0,200,201, + 5,76,0,0,201,202,3,164,82,0,202,206,5,137,0,0,203,205,3,8,4,0,204, + 203,1,0,0,0,205,208,1,0,0,0,206,204,1,0,0,0,206,207,1,0,0,0,207, + 209,1,0,0,0,208,206,1,0,0,0,209,210,5,138,0,0,210,7,1,0,0,0,211, + 220,3,4,2,0,212,220,3,18,9,0,213,220,3,10,5,0,214,220,3,96,48,0, + 215,220,3,108,54,0,216,220,3,144,72,0,217,220,3,58,29,0,218,220, + 3,32,16,0,219,211,1,0,0,0,219,212,1,0,0,0,219,213,1,0,0,0,219,214, + 1,0,0,0,219,215,1,0,0,0,219,216,1,0,0,0,219,217,1,0,0,0,219,218, + 1,0,0,0,220,9,1,0,0,0,221,222,5,41,0,0,222,223,5,44,0,0,223,224, + 3,162,81,0,224,225,5,134,0,0,225,232,1,0,0,0,226,227,5,41,0,0,227, + 228,5,46,0,0,228,229,3,162,81,0,229,230,5,134,0,0,230,232,1,0,0, + 0,231,221,1,0,0,0,231,226,1,0,0,0,232,11,1,0,0,0,233,234,5,42,0, + 0,234,235,5,43,0,0,235,236,3,162,81,0,236,237,5,84,0,0,237,238,3, + 164,82,0,238,239,5,134,0,0,239,13,1,0,0,0,240,241,5,42,0,0,241,242, + 5,44,0,0,242,243,3,162,81,0,243,244,5,77,0,0,244,245,3,164,82,0, + 245,246,5,134,0,0,246,15,1,0,0,0,247,252,3,10,5,0,248,252,3,12,6, + 0,249,252,3,14,7,0,250,252,3,32,16,0,251,247,1,0,0,0,251,248,1,0, + 0,0,251,249,1,0,0,0,251,250,1,0,0,0,252,17,1,0,0,0,253,254,5,43, + 0,0,254,255,3,162,81,0,255,256,5,84,0,0,256,259,3,164,82,0,257,258, + 5,85,0,0,258,260,3,164,82,0,259,257,1,0,0,0,259,260,1,0,0,0,260, + 261,1,0,0,0,261,262,5,134,0,0,262,19,1,0,0,0,263,265,3,16,8,0,264, + 263,1,0,0,0,265,268,1,0,0,0,266,264,1,0,0,0,266,267,1,0,0,0,267, + 269,1,0,0,0,268,266,1,0,0,0,269,270,5,44,0,0,270,272,3,162,81,0, + 271,273,3,22,11,0,272,271,1,0,0,0,272,273,1,0,0,0,273,274,1,0,0, + 0,274,275,5,84,0,0,275,276,3,164,82,0,276,277,5,77,0,0,277,287,3, + 164,82,0,278,279,5,89,0,0,279,284,3,26,13,0,280,281,5,135,0,0,281, + 283,3,26,13,0,282,280,1,0,0,0,283,286,1,0,0,0,284,282,1,0,0,0,284, + 285,1,0,0,0,285,288,1,0,0,0,286,284,1,0,0,0,287,278,1,0,0,0,287, + 288,1,0,0,0,288,289,1,0,0,0,289,293,5,137,0,0,290,292,3,34,17,0, + 291,290,1,0,0,0,292,295,1,0,0,0,293,291,1,0,0,0,293,294,1,0,0,0, + 294,296,1,0,0,0,295,293,1,0,0,0,296,297,5,138,0,0,297,21,1,0,0,0, + 298,299,5,143,0,0,299,304,3,24,12,0,300,301,5,135,0,0,301,303,3, + 24,12,0,302,300,1,0,0,0,303,306,1,0,0,0,304,302,1,0,0,0,304,305, + 1,0,0,0,305,307,1,0,0,0,306,304,1,0,0,0,307,308,5,144,0,0,308,23, + 1,0,0,0,309,310,5,47,0,0,310,313,3,162,81,0,311,312,5,133,0,0,312, + 314,5,37,0,0,313,311,1,0,0,0,313,314,1,0,0,0,314,329,1,0,0,0,315, + 316,5,36,0,0,316,326,3,162,81,0,317,318,5,38,0,0,318,323,3,26,13, + 0,319,320,5,145,0,0,320,322,3,26,13,0,321,319,1,0,0,0,322,325,1, + 0,0,0,323,321,1,0,0,0,323,324,1,0,0,0,324,327,1,0,0,0,325,323,1, + 0,0,0,326,317,1,0,0,0,326,327,1,0,0,0,327,329,1,0,0,0,328,309,1, + 0,0,0,328,315,1,0,0,0,329,25,1,0,0,0,330,332,3,162,81,0,331,333, + 3,28,14,0,332,331,1,0,0,0,332,333,1,0,0,0,333,27,1,0,0,0,334,335, + 5,143,0,0,335,340,3,30,15,0,336,337,5,135,0,0,337,339,3,30,15,0, + 338,336,1,0,0,0,339,342,1,0,0,0,340,338,1,0,0,0,340,341,1,0,0,0, + 341,343,1,0,0,0,342,340,1,0,0,0,343,344,5,144,0,0,344,29,1,0,0,0, + 345,346,5,43,0,0,346,353,3,162,81,0,347,348,5,44,0,0,348,353,3,26, + 13,0,349,350,5,36,0,0,350,353,3,162,81,0,351,353,3,146,73,0,352, + 345,1,0,0,0,352,347,1,0,0,0,352,349,1,0,0,0,352,351,1,0,0,0,353, + 31,1,0,0,0,354,355,5,35,0,0,355,357,3,162,81,0,356,358,3,22,11,0, + 357,356,1,0,0,0,357,358,1,0,0,0,358,359,1,0,0,0,359,360,5,146,0, + 0,360,361,3,146,73,0,361,362,5,134,0,0,362,33,1,0,0,0,363,368,3, + 40,20,0,364,368,3,44,22,0,365,368,3,38,19,0,366,368,3,36,18,0,367, + 363,1,0,0,0,367,364,1,0,0,0,367,365,1,0,0,0,367,366,1,0,0,0,368, + 35,1,0,0,0,369,370,5,2,0,0,370,371,3,162,81,0,371,372,5,84,0,0,372, + 373,3,164,82,0,373,374,5,3,0,0,374,377,3,164,82,0,375,376,5,5,0, + 0,376,378,3,50,25,0,377,375,1,0,0,0,377,378,1,0,0,0,378,379,1,0, + 0,0,379,380,5,134,0,0,380,37,1,0,0,0,381,383,5,57,0,0,382,381,1, + 0,0,0,382,383,1,0,0,0,383,384,1,0,0,0,384,385,5,49,0,0,385,386,3, + 162,81,0,386,387,5,84,0,0,387,388,3,164,82,0,388,389,5,133,0,0,389, + 390,3,146,73,0,390,391,5,132,0,0,391,392,3,146,73,0,392,393,5,137, + 0,0,393,394,5,101,0,0,394,395,5,84,0,0,395,397,3,164,82,0,396,398, + 3,74,37,0,397,396,1,0,0,0,397,398,1,0,0,0,398,399,1,0,0,0,399,400, + 5,134,0,0,400,401,5,138,0,0,401,39,1,0,0,0,402,404,3,46,23,0,403, + 402,1,0,0,0,403,404,1,0,0,0,404,405,1,0,0,0,405,406,5,47,0,0,406, + 407,3,162,81,0,407,408,5,84,0,0,408,409,3,164,82,0,409,410,5,133, + 0,0,410,411,3,146,73,0,411,415,5,137,0,0,412,414,3,42,21,0,413,412, + 1,0,0,0,414,417,1,0,0,0,415,413,1,0,0,0,415,416,1,0,0,0,416,418, + 1,0,0,0,417,415,1,0,0,0,418,419,5,138,0,0,419,41,1,0,0,0,420,421, + 5,91,0,0,421,422,5,84,0,0,422,424,3,164,82,0,423,425,3,74,37,0,424, + 423,1,0,0,0,424,425,1,0,0,0,425,426,1,0,0,0,426,427,5,134,0,0,427, + 454,1,0,0,0,428,429,5,92,0,0,429,430,5,84,0,0,430,432,3,164,82,0, + 431,433,3,74,37,0,432,431,1,0,0,0,432,433,1,0,0,0,433,434,1,0,0, + 0,434,435,5,134,0,0,435,454,1,0,0,0,436,437,5,1,0,0,437,438,5,84, + 0,0,438,440,3,164,82,0,439,441,3,74,37,0,440,439,1,0,0,0,440,441, + 1,0,0,0,441,442,1,0,0,0,442,443,5,134,0,0,443,454,1,0,0,0,444,445, + 5,93,0,0,445,446,5,94,0,0,446,447,5,84,0,0,447,448,3,164,82,0,448, + 449,5,95,0,0,449,450,5,84,0,0,450,451,3,164,82,0,451,452,5,134,0, + 0,452,454,1,0,0,0,453,420,1,0,0,0,453,428,1,0,0,0,453,436,1,0,0, + 0,453,444,1,0,0,0,454,43,1,0,0,0,455,457,3,46,23,0,456,455,1,0,0, + 0,456,457,1,0,0,0,457,458,1,0,0,0,458,459,5,48,0,0,459,460,3,162, + 81,0,460,461,5,84,0,0,461,462,3,164,82,0,462,463,5,133,0,0,463,464, + 3,152,76,0,464,466,3,50,25,0,465,467,5,112,0,0,466,465,1,0,0,0,466, + 467,1,0,0,0,467,470,1,0,0,0,468,469,5,82,0,0,469,471,3,164,82,0, + 470,468,1,0,0,0,470,471,1,0,0,0,471,472,1,0,0,0,472,476,5,137,0, + 0,473,475,3,48,24,0,474,473,1,0,0,0,475,478,1,0,0,0,476,474,1,0, + 0,0,476,477,1,0,0,0,477,479,1,0,0,0,478,476,1,0,0,0,479,480,5,138, + 0,0,480,45,1,0,0,0,481,483,5,32,0,0,482,484,7,0,0,0,483,482,1,0, + 0,0,483,484,1,0,0,0,484,47,1,0,0,0,485,486,5,98,0,0,486,487,5,84, + 0,0,487,489,3,164,82,0,488,490,3,74,37,0,489,488,1,0,0,0,489,490, + 1,0,0,0,490,491,1,0,0,0,491,492,5,134,0,0,492,519,1,0,0,0,493,494, + 5,99,0,0,494,495,5,84,0,0,495,497,3,164,82,0,496,498,3,74,37,0,497, + 496,1,0,0,0,497,498,1,0,0,0,498,499,1,0,0,0,499,500,5,134,0,0,500, + 519,1,0,0,0,501,502,5,100,0,0,502,503,5,84,0,0,503,505,3,164,82, + 0,504,506,3,74,37,0,505,504,1,0,0,0,505,506,1,0,0,0,506,507,1,0, + 0,0,507,508,5,134,0,0,508,519,1,0,0,0,509,510,5,93,0,0,510,511,5, + 94,0,0,511,512,5,84,0,0,512,513,3,164,82,0,513,514,5,95,0,0,514, + 515,5,84,0,0,515,516,3,164,82,0,516,517,5,134,0,0,517,519,1,0,0, + 0,518,485,1,0,0,0,518,493,1,0,0,0,518,501,1,0,0,0,518,509,1,0,0, + 0,519,49,1,0,0,0,520,521,5,43,0,0,521,530,3,162,81,0,522,523,5,44, + 0,0,523,525,3,162,81,0,524,526,3,28,14,0,525,524,1,0,0,0,525,526, + 1,0,0,0,526,530,1,0,0,0,527,528,5,36,0,0,528,530,3,162,81,0,529, + 520,1,0,0,0,529,522,1,0,0,0,529,527,1,0,0,0,530,51,1,0,0,0,531,533, + 3,16,8,0,532,531,1,0,0,0,533,536,1,0,0,0,534,532,1,0,0,0,534,535, + 1,0,0,0,535,537,1,0,0,0,536,534,1,0,0,0,537,538,5,46,0,0,538,539, + 3,162,81,0,539,540,5,84,0,0,540,541,3,164,82,0,541,542,5,77,0,0, + 542,545,3,164,82,0,543,544,5,78,0,0,544,546,5,147,0,0,545,543,1, + 0,0,0,545,546,1,0,0,0,546,547,1,0,0,0,547,551,5,137,0,0,548,550, + 3,54,27,0,549,548,1,0,0,0,550,553,1,0,0,0,551,549,1,0,0,0,551,552, + 1,0,0,0,552,554,1,0,0,0,553,551,1,0,0,0,554,555,5,138,0,0,555,53, + 1,0,0,0,556,563,3,68,34,0,557,563,3,70,35,0,558,563,3,78,39,0,559, + 563,3,60,30,0,560,563,3,62,31,0,561,563,3,56,28,0,562,556,1,0,0, + 0,562,557,1,0,0,0,562,558,1,0,0,0,562,559,1,0,0,0,562,560,1,0,0, + 0,562,561,1,0,0,0,563,55,1,0,0,0,564,565,5,2,0,0,565,566,3,162,81, + 0,566,567,5,84,0,0,567,568,3,164,82,0,568,569,5,38,0,0,569,570,3, + 26,13,0,570,571,5,136,0,0,571,572,3,162,81,0,572,573,5,134,0,0,573, + 57,1,0,0,0,574,575,5,4,0,0,575,576,3,162,81,0,576,577,5,84,0,0,577, + 578,3,164,82,0,578,579,5,6,0,0,579,580,3,26,13,0,580,581,5,65,0, + 0,581,582,3,162,81,0,582,583,5,136,0,0,583,584,3,162,81,0,584,585, + 5,134,0,0,585,59,1,0,0,0,586,588,5,22,0,0,587,589,5,40,0,0,588,587, + 1,0,0,0,588,589,1,0,0,0,589,590,1,0,0,0,590,592,3,162,81,0,591,593, + 3,22,11,0,592,591,1,0,0,0,592,593,1,0,0,0,593,594,1,0,0,0,594,595, + 5,84,0,0,595,596,3,164,82,0,596,598,5,25,0,0,597,599,5,9,0,0,598, + 597,1,0,0,0,598,599,1,0,0,0,599,600,1,0,0,0,600,601,3,26,13,0,601, + 602,5,26,0,0,602,631,3,164,82,0,603,604,5,49,0,0,604,605,3,164,82, + 0,605,609,5,137,0,0,606,608,3,64,32,0,607,606,1,0,0,0,608,611,1, + 0,0,0,609,607,1,0,0,0,609,610,1,0,0,0,610,612,1,0,0,0,611,609,1, + 0,0,0,612,613,5,138,0,0,613,632,1,0,0,0,614,615,5,40,0,0,615,618, + 3,164,82,0,616,617,5,49,0,0,617,619,3,164,82,0,618,616,1,0,0,0,618, + 619,1,0,0,0,619,629,1,0,0,0,620,624,5,137,0,0,621,623,3,64,32,0, + 622,621,1,0,0,0,623,626,1,0,0,0,624,622,1,0,0,0,624,625,1,0,0,0, + 625,627,1,0,0,0,626,624,1,0,0,0,627,630,5,138,0,0,628,630,5,134, + 0,0,629,620,1,0,0,0,629,628,1,0,0,0,630,632,1,0,0,0,631,603,1,0, + 0,0,631,614,1,0,0,0,632,61,1,0,0,0,633,634,5,22,0,0,634,635,3,162, + 81,0,635,636,5,84,0,0,636,637,3,164,82,0,637,638,5,24,0,0,638,639, + 3,162,81,0,639,640,3,28,14,0,640,641,5,134,0,0,641,63,1,0,0,0,642, 643,5,16,0,0,643,700,5,134,0,0,644,645,5,17,0,0,645,646,5,18,0,0, 646,647,3,162,81,0,647,648,5,134,0,0,648,700,1,0,0,0,649,650,5,27, 0,0,650,651,3,164,82,0,651,652,5,134,0,0,652,700,1,0,0,0,653,654, @@ -5837,200 +5849,201 @@ export class QuixosCapabilityParser extends antlr.Parser { 1,0,0,0,835,833,1,0,0,0,835,836,1,0,0,0,836,838,1,0,0,0,837,835, 1,0,0,0,838,839,5,138,0,0,839,89,1,0,0,0,840,841,5,23,0,0,841,842, 3,162,81,0,842,843,5,84,0,0,843,844,3,164,82,0,844,845,5,139,0,0, - 845,846,3,86,43,0,846,847,5,140,0,0,847,848,5,134,0,0,848,919,1, + 845,846,3,86,43,0,846,847,5,140,0,0,847,848,5,134,0,0,848,923,1, 0,0,0,849,850,5,61,0,0,850,851,3,162,81,0,851,852,5,84,0,0,852,853, 3,164,82,0,853,854,5,133,0,0,854,855,3,146,73,0,855,856,3,92,46, - 0,856,857,5,134,0,0,857,919,1,0,0,0,858,859,5,62,0,0,859,860,3,162, + 0,856,857,5,134,0,0,857,923,1,0,0,0,858,859,5,62,0,0,859,860,3,162, 81,0,860,861,5,84,0,0,861,862,3,164,82,0,862,863,5,133,0,0,863,864, - 3,152,76,0,864,865,3,50,25,0,865,866,3,92,46,0,866,867,5,134,0,0, - 867,919,1,0,0,0,868,869,5,44,0,0,869,870,3,162,81,0,870,871,5,84, - 0,0,871,872,3,164,82,0,872,873,5,133,0,0,873,875,3,162,81,0,874, - 876,3,28,14,0,875,874,1,0,0,0,875,876,1,0,0,0,876,878,1,0,0,0,877, - 879,3,76,38,0,878,877,1,0,0,0,878,879,1,0,0,0,879,882,1,0,0,0,880, - 881,5,18,0,0,881,883,5,53,0,0,882,880,1,0,0,0,882,883,1,0,0,0,883, - 884,1,0,0,0,884,885,5,134,0,0,885,919,1,0,0,0,886,887,5,7,0,0,887, - 888,3,162,81,0,888,889,5,84,0,0,889,890,3,164,82,0,890,891,5,133, - 0,0,891,892,3,162,81,0,892,893,5,53,0,0,893,894,3,146,73,0,894,895, - 5,134,0,0,895,919,1,0,0,0,896,897,5,51,0,0,897,898,3,162,81,0,898, - 899,5,84,0,0,899,900,3,164,82,0,900,901,5,133,0,0,901,904,3,162, - 81,0,902,903,5,53,0,0,903,905,3,146,73,0,904,902,1,0,0,0,904,905, - 1,0,0,0,905,906,1,0,0,0,906,907,5,134,0,0,907,919,1,0,0,0,908,909, - 5,22,0,0,909,910,3,162,81,0,910,911,5,84,0,0,911,912,3,164,82,0, - 912,913,5,133,0,0,913,914,3,162,81,0,914,915,5,136,0,0,915,916,3, - 162,81,0,916,917,5,134,0,0,917,919,1,0,0,0,918,840,1,0,0,0,918,849, - 1,0,0,0,918,858,1,0,0,0,918,868,1,0,0,0,918,886,1,0,0,0,918,896, - 1,0,0,0,918,908,1,0,0,0,919,91,1,0,0,0,920,921,5,139,0,0,921,926, - 3,94,47,0,922,923,5,135,0,0,923,925,3,94,47,0,924,922,1,0,0,0,925, - 928,1,0,0,0,926,924,1,0,0,0,926,927,1,0,0,0,927,929,1,0,0,0,928, - 926,1,0,0,0,929,930,5,140,0,0,930,93,1,0,0,0,931,932,7,3,0,0,932, - 95,1,0,0,0,933,934,5,60,0,0,934,935,3,98,49,0,935,97,1,0,0,0,936, - 939,3,100,50,0,937,939,3,104,52,0,938,936,1,0,0,0,938,937,1,0,0, - 0,939,99,1,0,0,0,940,941,5,61,0,0,941,942,3,162,81,0,942,943,5,84, - 0,0,943,944,3,164,82,0,944,945,5,71,0,0,945,946,3,162,81,0,946,947, - 5,133,0,0,947,948,3,146,73,0,948,949,5,72,0,0,949,952,3,102,51,0, - 950,951,5,73,0,0,951,953,3,154,77,0,952,950,1,0,0,0,952,953,1,0, - 0,0,953,954,1,0,0,0,954,955,5,134,0,0,955,101,1,0,0,0,956,963,5, - 106,0,0,957,958,5,107,0,0,958,959,5,141,0,0,959,960,3,146,73,0,960, - 961,5,142,0,0,961,963,1,0,0,0,962,956,1,0,0,0,962,957,1,0,0,0,963, - 103,1,0,0,0,964,965,5,62,0,0,965,966,3,162,81,0,966,967,5,84,0,0, - 967,968,3,164,82,0,968,969,5,137,0,0,969,970,3,106,53,0,970,971, - 3,106,53,0,971,972,5,138,0,0,972,105,1,0,0,0,973,974,3,50,25,0,974, - 975,5,63,0,0,975,976,3,162,81,0,976,977,5,84,0,0,977,978,3,164,82, - 0,978,980,3,152,76,0,979,981,5,112,0,0,980,979,1,0,0,0,980,981,1, - 0,0,0,981,984,1,0,0,0,982,983,5,79,0,0,983,985,3,164,82,0,984,982, - 1,0,0,0,984,985,1,0,0,0,985,987,1,0,0,0,986,988,5,81,0,0,987,986, - 1,0,0,0,987,988,1,0,0,0,988,991,1,0,0,0,989,990,5,82,0,0,990,992, - 3,164,82,0,991,989,1,0,0,0,991,992,1,0,0,0,992,994,1,0,0,0,993,995, - 5,83,0,0,994,993,1,0,0,0,994,995,1,0,0,0,995,996,1,0,0,0,996,997, - 5,134,0,0,997,107,1,0,0,0,998,1000,5,54,0,0,999,1001,3,22,11,0,1000, - 999,1,0,0,0,1000,1001,1,0,0,0,1001,1002,1,0,0,0,1002,1004,3,162, - 81,0,1003,1005,3,110,55,0,1004,1003,1,0,0,0,1004,1005,1,0,0,0,1005, - 1006,1,0,0,0,1006,1007,5,55,0,0,1007,1009,3,162,81,0,1008,1010,3, - 28,14,0,1009,1008,1,0,0,0,1009,1010,1,0,0,0,1010,1013,1,0,0,0,1011, - 1012,5,84,0,0,1012,1014,3,164,82,0,1013,1011,1,0,0,0,1013,1014,1, - 0,0,0,1014,1017,1,0,0,0,1015,1016,5,78,0,0,1016,1018,5,147,0,0,1017, - 1015,1,0,0,0,1017,1018,1,0,0,0,1018,1019,1,0,0,0,1019,1023,5,137, - 0,0,1020,1022,3,112,56,0,1021,1020,1,0,0,0,1022,1025,1,0,0,0,1023, - 1021,1,0,0,0,1023,1024,1,0,0,0,1024,1026,1,0,0,0,1025,1023,1,0,0, - 0,1026,1027,5,138,0,0,1027,109,1,0,0,0,1028,1029,3,28,14,0,1029, - 111,1,0,0,0,1030,1031,5,59,0,0,1031,1038,3,98,49,0,1032,1038,3,126, - 63,0,1033,1038,3,122,61,0,1034,1038,3,116,58,0,1035,1038,3,124,62, - 0,1036,1038,3,114,57,0,1037,1030,1,0,0,0,1037,1032,1,0,0,0,1037, - 1033,1,0,0,0,1037,1034,1,0,0,0,1037,1035,1,0,0,0,1037,1036,1,0,0, - 0,1038,113,1,0,0,0,1039,1040,5,56,0,0,1040,1041,3,162,81,0,1041, - 1042,5,58,0,0,1042,1043,3,162,81,0,1043,1044,5,136,0,0,1044,1045, - 3,162,81,0,1045,1046,5,134,0,0,1046,115,1,0,0,0,1047,1048,5,8,0, - 0,1048,1052,5,137,0,0,1049,1051,3,118,59,0,1050,1049,1,0,0,0,1051, - 1054,1,0,0,0,1052,1050,1,0,0,0,1052,1053,1,0,0,0,1053,1055,1,0,0, - 0,1054,1052,1,0,0,0,1055,1056,5,138,0,0,1056,1057,5,134,0,0,1057, - 117,1,0,0,0,1058,1059,3,162,81,0,1059,1060,5,58,0,0,1060,1061,5, - 61,0,0,1061,1062,3,162,81,0,1062,1063,5,134,0,0,1063,1073,1,0,0, - 0,1064,1065,3,162,81,0,1065,1066,5,58,0,0,1066,1067,5,62,0,0,1067, - 1068,3,162,81,0,1068,1069,5,136,0,0,1069,1070,3,162,81,0,1070,1071, - 5,134,0,0,1071,1073,1,0,0,0,1072,1058,1,0,0,0,1072,1064,1,0,0,0, - 1073,119,1,0,0,0,1074,1075,3,26,13,0,1075,1076,5,18,0,0,1076,1081, - 5,53,0,0,1077,1078,5,136,0,0,1078,1080,3,162,81,0,1079,1077,1,0, - 0,0,1080,1083,1,0,0,0,1081,1079,1,0,0,0,1081,1082,1,0,0,0,1082,1084, - 1,0,0,0,1083,1081,1,0,0,0,1084,1085,5,134,0,0,1085,121,1,0,0,0,1086, - 1087,5,56,0,0,1087,1088,3,162,81,0,1088,1089,5,58,0,0,1089,1090, - 5,61,0,0,1090,1091,3,162,81,0,1091,1092,5,134,0,0,1092,123,1,0,0, - 0,1093,1094,5,68,0,0,1094,1095,3,162,81,0,1095,1096,5,69,0,0,1096, - 1097,5,70,0,0,1097,1098,5,65,0,0,1098,1099,5,51,0,0,1099,1100,3, - 162,81,0,1100,1101,5,67,0,0,1101,1102,5,62,0,0,1102,1103,3,162,81, - 0,1103,1104,5,136,0,0,1104,1105,3,162,81,0,1105,1106,5,134,0,0,1106, - 125,1,0,0,0,1107,1108,5,56,0,0,1108,1109,3,128,64,0,1109,1110,5, - 58,0,0,1110,1113,3,132,66,0,1111,1112,5,34,0,0,1112,1114,3,164,82, - 0,1113,1111,1,0,0,0,1113,1114,1,0,0,0,1114,1115,1,0,0,0,1115,1116, - 5,134,0,0,1116,127,1,0,0,0,1117,1118,3,162,81,0,1118,1119,5,136, - 0,0,1119,1120,3,130,65,0,1120,129,1,0,0,0,1121,1134,3,162,81,0,1122, - 1134,5,101,0,0,1123,1134,5,91,0,0,1124,1134,5,92,0,0,1125,1134,5, - 1,0,0,1126,1134,5,98,0,0,1127,1134,5,99,0,0,1128,1134,5,100,0,0, - 1129,1134,5,102,0,0,1130,1134,5,103,0,0,1131,1134,5,104,0,0,1132, - 1134,5,105,0,0,1133,1121,1,0,0,0,1133,1122,1,0,0,0,1133,1123,1,0, - 0,0,1133,1124,1,0,0,0,1133,1125,1,0,0,0,1133,1126,1,0,0,0,1133,1127, - 1,0,0,0,1133,1128,1,0,0,0,1133,1129,1,0,0,0,1133,1130,1,0,0,0,1133, - 1131,1,0,0,0,1133,1132,1,0,0,0,1134,131,1,0,0,0,1135,1136,5,80,0, - 0,1136,1137,5,136,0,0,1137,1172,3,162,81,0,1138,1139,5,61,0,0,1139, - 1140,3,162,81,0,1140,1141,5,136,0,0,1141,1142,3,136,68,0,1142,1172, - 1,0,0,0,1143,1144,5,62,0,0,1144,1145,3,162,81,0,1145,1146,5,136, - 0,0,1146,1147,3,162,81,0,1147,1148,5,136,0,0,1148,1149,3,138,69, - 0,1149,1172,1,0,0,0,1150,1151,5,44,0,0,1151,1153,3,162,81,0,1152, - 1154,3,28,14,0,1153,1152,1,0,0,0,1153,1154,1,0,0,0,1154,1155,1,0, - 0,0,1155,1156,5,136,0,0,1156,1157,3,128,64,0,1157,1172,1,0,0,0,1158, - 1159,5,46,0,0,1159,1160,3,162,81,0,1160,1161,5,136,0,0,1161,1163, - 3,162,81,0,1162,1164,3,28,14,0,1163,1162,1,0,0,0,1163,1164,1,0,0, - 0,1164,1166,1,0,0,0,1165,1167,3,140,70,0,1166,1165,1,0,0,0,1166, - 1167,1,0,0,0,1167,1169,1,0,0,0,1168,1170,3,134,67,0,1169,1168,1, - 0,0,0,1169,1170,1,0,0,0,1170,1172,1,0,0,0,1171,1135,1,0,0,0,1171, - 1138,1,0,0,0,1171,1143,1,0,0,0,1171,1150,1,0,0,0,1171,1158,1,0,0, - 0,1172,133,1,0,0,0,1173,1174,5,66,0,0,1174,1175,3,140,70,0,1175, - 135,1,0,0,0,1176,1177,7,4,0,0,1177,137,1,0,0,0,1178,1179,7,5,0,0, - 1179,139,1,0,0,0,1180,1181,5,64,0,0,1181,1185,5,137,0,0,1182,1184, - 3,142,71,0,1183,1182,1,0,0,0,1184,1187,1,0,0,0,1185,1183,1,0,0,0, - 1185,1186,1,0,0,0,1186,1188,1,0,0,0,1187,1185,1,0,0,0,1188,1189, - 5,138,0,0,1189,141,1,0,0,0,1190,1191,3,162,81,0,1191,1192,5,58,0, - 0,1192,1193,5,9,0,0,1193,1194,5,23,0,0,1194,1195,5,139,0,0,1195, - 1196,3,86,43,0,1196,1197,5,140,0,0,1197,1198,5,134,0,0,1198,1289, - 1,0,0,0,1199,1200,3,162,81,0,1200,1201,5,58,0,0,1201,1202,5,61,0, - 0,1202,1209,3,162,81,0,1203,1204,5,67,0,0,1204,1205,5,62,0,0,1205, - 1206,3,162,81,0,1206,1207,5,136,0,0,1207,1208,3,162,81,0,1208,1210, - 1,0,0,0,1209,1203,1,0,0,0,1209,1210,1,0,0,0,1210,1211,1,0,0,0,1211, - 1212,5,134,0,0,1212,1289,1,0,0,0,1213,1214,3,162,81,0,1214,1215, - 5,58,0,0,1215,1216,5,62,0,0,1216,1217,3,162,81,0,1217,1218,5,136, - 0,0,1218,1225,3,162,81,0,1219,1220,5,67,0,0,1220,1221,5,62,0,0,1221, - 1222,3,162,81,0,1222,1223,5,136,0,0,1223,1224,3,162,81,0,1224,1226, - 1,0,0,0,1225,1219,1,0,0,0,1225,1226,1,0,0,0,1226,1227,1,0,0,0,1227, - 1228,5,134,0,0,1228,1289,1,0,0,0,1229,1230,3,162,81,0,1230,1231, - 5,58,0,0,1231,1232,5,44,0,0,1232,1234,3,162,81,0,1233,1235,3,28, - 14,0,1234,1233,1,0,0,0,1234,1235,1,0,0,0,1235,1244,1,0,0,0,1236, - 1237,5,67,0,0,1237,1238,5,62,0,0,1238,1239,3,162,81,0,1239,1240, - 5,136,0,0,1240,1241,3,162,81,0,1241,1245,1,0,0,0,1242,1243,5,18, - 0,0,1243,1245,5,53,0,0,1244,1236,1,0,0,0,1244,1242,1,0,0,0,1244, - 1245,1,0,0,0,1245,1246,1,0,0,0,1246,1247,5,134,0,0,1247,1289,1,0, - 0,0,1248,1249,3,162,81,0,1249,1250,5,58,0,0,1250,1251,5,7,0,0,1251, - 1252,3,162,81,0,1252,1253,5,64,0,0,1253,1257,5,137,0,0,1254,1256, - 3,120,60,0,1255,1254,1,0,0,0,1256,1259,1,0,0,0,1257,1255,1,0,0,0, - 1257,1258,1,0,0,0,1258,1260,1,0,0,0,1259,1257,1,0,0,0,1260,1261, - 5,138,0,0,1261,1262,5,134,0,0,1262,1289,1,0,0,0,1263,1264,3,162, - 81,0,1264,1265,5,58,0,0,1265,1266,5,51,0,0,1266,1267,3,162,81,0, - 1267,1268,5,134,0,0,1268,1289,1,0,0,0,1269,1270,3,162,81,0,1270, - 1272,5,58,0,0,1271,1273,5,9,0,0,1272,1271,1,0,0,0,1272,1273,1,0, - 0,0,1273,1274,1,0,0,0,1274,1275,5,22,0,0,1275,1276,3,162,81,0,1276, - 1277,5,136,0,0,1277,1284,3,162,81,0,1278,1279,5,67,0,0,1279,1280, - 5,62,0,0,1280,1281,3,162,81,0,1281,1282,5,136,0,0,1282,1283,3,162, - 81,0,1283,1285,1,0,0,0,1284,1278,1,0,0,0,1284,1285,1,0,0,0,1285, - 1286,1,0,0,0,1286,1287,5,134,0,0,1287,1289,1,0,0,0,1288,1190,1,0, - 0,0,1288,1199,1,0,0,0,1288,1213,1,0,0,0,1288,1229,1,0,0,0,1288,1248, - 1,0,0,0,1288,1263,1,0,0,0,1288,1269,1,0,0,0,1289,143,1,0,0,0,1290, - 1291,5,51,0,0,1291,1292,3,162,81,0,1292,1293,5,58,0,0,1293,1294, - 3,162,81,0,1294,1295,5,136,0,0,1295,1297,3,162,81,0,1296,1298,3, - 140,70,0,1297,1296,1,0,0,0,1297,1298,1,0,0,0,1298,1299,1,0,0,0,1299, - 1300,5,134,0,0,1300,145,1,0,0,0,1301,1348,3,150,75,0,1302,1348,5, - 113,0,0,1303,1348,5,114,0,0,1304,1305,5,115,0,0,1305,1348,3,164, - 82,0,1306,1307,5,116,0,0,1307,1308,5,143,0,0,1308,1309,3,162,81, - 0,1309,1310,5,144,0,0,1310,1348,1,0,0,0,1311,1312,5,117,0,0,1312, - 1313,5,143,0,0,1313,1315,3,162,81,0,1314,1316,3,28,14,0,1315,1314, - 1,0,0,0,1315,1316,1,0,0,0,1316,1317,1,0,0,0,1317,1318,5,144,0,0, - 1318,1348,1,0,0,0,1319,1320,5,39,0,0,1320,1321,5,143,0,0,1321,1322, - 3,162,81,0,1322,1323,5,144,0,0,1323,1348,1,0,0,0,1324,1325,5,118, - 0,0,1325,1326,5,143,0,0,1326,1327,3,146,73,0,1327,1328,5,144,0,0, - 1328,1348,1,0,0,0,1329,1330,5,119,0,0,1330,1331,5,143,0,0,1331,1332, - 3,146,73,0,1332,1333,5,144,0,0,1333,1348,1,0,0,0,1334,1335,5,120, - 0,0,1335,1339,5,137,0,0,1336,1338,3,148,74,0,1337,1336,1,0,0,0,1338, - 1341,1,0,0,0,1339,1337,1,0,0,0,1339,1340,1,0,0,0,1340,1342,1,0,0, - 0,1341,1339,1,0,0,0,1342,1348,5,138,0,0,1343,1345,3,162,81,0,1344, - 1346,3,28,14,0,1345,1344,1,0,0,0,1345,1346,1,0,0,0,1346,1348,1,0, - 0,0,1347,1301,1,0,0,0,1347,1302,1,0,0,0,1347,1303,1,0,0,0,1347,1304, - 1,0,0,0,1347,1306,1,0,0,0,1347,1311,1,0,0,0,1347,1319,1,0,0,0,1347, - 1324,1,0,0,0,1347,1329,1,0,0,0,1347,1334,1,0,0,0,1347,1343,1,0,0, - 0,1348,147,1,0,0,0,1349,1350,3,162,81,0,1350,1351,5,133,0,0,1351, - 1352,3,146,73,0,1352,1353,5,134,0,0,1353,149,1,0,0,0,1354,1355,7, - 6,0,0,1355,151,1,0,0,0,1356,1357,7,7,0,0,1357,153,1,0,0,0,1358,1367, - 3,164,82,0,1359,1367,5,147,0,0,1360,1367,5,148,0,0,1361,1367,5,129, - 0,0,1362,1367,5,130,0,0,1363,1367,5,131,0,0,1364,1367,3,156,78,0, - 1365,1367,3,160,80,0,1366,1358,1,0,0,0,1366,1359,1,0,0,0,1366,1360, - 1,0,0,0,1366,1361,1,0,0,0,1366,1362,1,0,0,0,1366,1363,1,0,0,0,1366, - 1364,1,0,0,0,1366,1365,1,0,0,0,1367,155,1,0,0,0,1368,1377,5,137, - 0,0,1369,1374,3,158,79,0,1370,1371,5,135,0,0,1371,1373,3,158,79, - 0,1372,1370,1,0,0,0,1373,1376,1,0,0,0,1374,1372,1,0,0,0,1374,1375, - 1,0,0,0,1375,1378,1,0,0,0,1376,1374,1,0,0,0,1377,1369,1,0,0,0,1377, - 1378,1,0,0,0,1378,1379,1,0,0,0,1379,1380,5,138,0,0,1380,157,1,0, - 0,0,1381,1382,3,164,82,0,1382,1383,5,133,0,0,1383,1384,3,154,77, - 0,1384,159,1,0,0,0,1385,1394,5,139,0,0,1386,1391,3,154,77,0,1387, - 1388,5,135,0,0,1388,1390,3,154,77,0,1389,1387,1,0,0,0,1390,1393, - 1,0,0,0,1391,1389,1,0,0,0,1391,1392,1,0,0,0,1392,1395,1,0,0,0,1393, - 1391,1,0,0,0,1394,1386,1,0,0,0,1394,1395,1,0,0,0,1395,1396,1,0,0, - 0,1396,1397,5,140,0,0,1397,161,1,0,0,0,1398,1399,7,8,0,0,1399,163, - 1,0,0,0,1400,1401,5,150,0,0,1401,165,1,0,0,0,125,178,185,206,219, - 231,251,259,266,272,284,287,293,304,313,323,326,328,332,340,352, - 357,367,377,382,397,403,415,424,432,440,453,456,466,470,476,483, - 489,497,505,518,525,529,534,545,551,562,588,592,598,609,618,624, - 629,631,662,666,672,699,709,720,723,728,731,738,747,750,753,770, - 779,793,814,817,820,827,835,875,878,882,904,918,926,938,952,962, - 980,984,987,991,994,1000,1004,1009,1013,1017,1023,1037,1052,1072, - 1081,1113,1133,1153,1163,1166,1169,1171,1185,1209,1225,1234,1244, - 1257,1272,1284,1288,1297,1315,1339,1345,1347,1366,1374,1377,1391, - 1394 + 3,152,76,0,864,867,3,50,25,0,865,866,5,82,0,0,866,868,3,164,82,0, + 867,865,1,0,0,0,867,868,1,0,0,0,868,869,1,0,0,0,869,870,3,92,46, + 0,870,871,5,134,0,0,871,923,1,0,0,0,872,873,5,44,0,0,873,874,3,162, + 81,0,874,875,5,84,0,0,875,876,3,164,82,0,876,877,5,133,0,0,877,879, + 3,162,81,0,878,880,3,28,14,0,879,878,1,0,0,0,879,880,1,0,0,0,880, + 882,1,0,0,0,881,883,3,76,38,0,882,881,1,0,0,0,882,883,1,0,0,0,883, + 886,1,0,0,0,884,885,5,18,0,0,885,887,5,53,0,0,886,884,1,0,0,0,886, + 887,1,0,0,0,887,888,1,0,0,0,888,889,5,134,0,0,889,923,1,0,0,0,890, + 891,5,7,0,0,891,892,3,162,81,0,892,893,5,84,0,0,893,894,3,164,82, + 0,894,895,5,133,0,0,895,896,3,162,81,0,896,897,5,53,0,0,897,898, + 3,146,73,0,898,899,5,134,0,0,899,923,1,0,0,0,900,901,5,51,0,0,901, + 902,3,162,81,0,902,903,5,84,0,0,903,904,3,164,82,0,904,905,5,133, + 0,0,905,908,3,162,81,0,906,907,5,53,0,0,907,909,3,146,73,0,908,906, + 1,0,0,0,908,909,1,0,0,0,909,910,1,0,0,0,910,911,5,134,0,0,911,923, + 1,0,0,0,912,913,5,22,0,0,913,914,3,162,81,0,914,915,5,84,0,0,915, + 916,3,164,82,0,916,917,5,133,0,0,917,918,3,162,81,0,918,919,5,136, + 0,0,919,920,3,162,81,0,920,921,5,134,0,0,921,923,1,0,0,0,922,840, + 1,0,0,0,922,849,1,0,0,0,922,858,1,0,0,0,922,872,1,0,0,0,922,890, + 1,0,0,0,922,900,1,0,0,0,922,912,1,0,0,0,923,91,1,0,0,0,924,925,5, + 139,0,0,925,930,3,94,47,0,926,927,5,135,0,0,927,929,3,94,47,0,928, + 926,1,0,0,0,929,932,1,0,0,0,930,928,1,0,0,0,930,931,1,0,0,0,931, + 933,1,0,0,0,932,930,1,0,0,0,933,934,5,140,0,0,934,93,1,0,0,0,935, + 936,7,3,0,0,936,95,1,0,0,0,937,938,5,60,0,0,938,939,3,98,49,0,939, + 97,1,0,0,0,940,943,3,100,50,0,941,943,3,104,52,0,942,940,1,0,0,0, + 942,941,1,0,0,0,943,99,1,0,0,0,944,945,5,61,0,0,945,946,3,162,81, + 0,946,947,5,84,0,0,947,948,3,164,82,0,948,949,5,71,0,0,949,950,3, + 162,81,0,950,951,5,133,0,0,951,952,3,146,73,0,952,953,5,72,0,0,953, + 956,3,102,51,0,954,955,5,73,0,0,955,957,3,154,77,0,956,954,1,0,0, + 0,956,957,1,0,0,0,957,958,1,0,0,0,958,959,5,134,0,0,959,101,1,0, + 0,0,960,967,5,106,0,0,961,962,5,107,0,0,962,963,5,141,0,0,963,964, + 3,146,73,0,964,965,5,142,0,0,965,967,1,0,0,0,966,960,1,0,0,0,966, + 961,1,0,0,0,967,103,1,0,0,0,968,969,5,62,0,0,969,970,3,162,81,0, + 970,971,5,84,0,0,971,972,3,164,82,0,972,973,5,137,0,0,973,974,3, + 106,53,0,974,975,3,106,53,0,975,976,5,138,0,0,976,105,1,0,0,0,977, + 978,3,50,25,0,978,979,5,63,0,0,979,980,3,162,81,0,980,981,5,84,0, + 0,981,982,3,164,82,0,982,984,3,152,76,0,983,985,5,112,0,0,984,983, + 1,0,0,0,984,985,1,0,0,0,985,988,1,0,0,0,986,987,5,79,0,0,987,989, + 3,164,82,0,988,986,1,0,0,0,988,989,1,0,0,0,989,991,1,0,0,0,990,992, + 5,81,0,0,991,990,1,0,0,0,991,992,1,0,0,0,992,995,1,0,0,0,993,994, + 5,82,0,0,994,996,3,164,82,0,995,993,1,0,0,0,995,996,1,0,0,0,996, + 998,1,0,0,0,997,999,5,83,0,0,998,997,1,0,0,0,998,999,1,0,0,0,999, + 1000,1,0,0,0,1000,1001,5,134,0,0,1001,107,1,0,0,0,1002,1004,5,54, + 0,0,1003,1005,3,22,11,0,1004,1003,1,0,0,0,1004,1005,1,0,0,0,1005, + 1006,1,0,0,0,1006,1008,3,162,81,0,1007,1009,3,110,55,0,1008,1007, + 1,0,0,0,1008,1009,1,0,0,0,1009,1010,1,0,0,0,1010,1011,5,55,0,0,1011, + 1013,3,162,81,0,1012,1014,3,28,14,0,1013,1012,1,0,0,0,1013,1014, + 1,0,0,0,1014,1017,1,0,0,0,1015,1016,5,84,0,0,1016,1018,3,164,82, + 0,1017,1015,1,0,0,0,1017,1018,1,0,0,0,1018,1021,1,0,0,0,1019,1020, + 5,78,0,0,1020,1022,5,147,0,0,1021,1019,1,0,0,0,1021,1022,1,0,0,0, + 1022,1023,1,0,0,0,1023,1027,5,137,0,0,1024,1026,3,112,56,0,1025, + 1024,1,0,0,0,1026,1029,1,0,0,0,1027,1025,1,0,0,0,1027,1028,1,0,0, + 0,1028,1030,1,0,0,0,1029,1027,1,0,0,0,1030,1031,5,138,0,0,1031,109, + 1,0,0,0,1032,1033,3,28,14,0,1033,111,1,0,0,0,1034,1035,5,59,0,0, + 1035,1042,3,98,49,0,1036,1042,3,126,63,0,1037,1042,3,122,61,0,1038, + 1042,3,116,58,0,1039,1042,3,124,62,0,1040,1042,3,114,57,0,1041,1034, + 1,0,0,0,1041,1036,1,0,0,0,1041,1037,1,0,0,0,1041,1038,1,0,0,0,1041, + 1039,1,0,0,0,1041,1040,1,0,0,0,1042,113,1,0,0,0,1043,1044,5,56,0, + 0,1044,1045,3,162,81,0,1045,1046,5,58,0,0,1046,1047,3,162,81,0,1047, + 1048,5,136,0,0,1048,1049,3,162,81,0,1049,1050,5,134,0,0,1050,115, + 1,0,0,0,1051,1052,5,8,0,0,1052,1056,5,137,0,0,1053,1055,3,118,59, + 0,1054,1053,1,0,0,0,1055,1058,1,0,0,0,1056,1054,1,0,0,0,1056,1057, + 1,0,0,0,1057,1059,1,0,0,0,1058,1056,1,0,0,0,1059,1060,5,138,0,0, + 1060,1061,5,134,0,0,1061,117,1,0,0,0,1062,1063,3,162,81,0,1063,1064, + 5,58,0,0,1064,1065,5,61,0,0,1065,1066,3,162,81,0,1066,1067,5,134, + 0,0,1067,1077,1,0,0,0,1068,1069,3,162,81,0,1069,1070,5,58,0,0,1070, + 1071,5,62,0,0,1071,1072,3,162,81,0,1072,1073,5,136,0,0,1073,1074, + 3,162,81,0,1074,1075,5,134,0,0,1075,1077,1,0,0,0,1076,1062,1,0,0, + 0,1076,1068,1,0,0,0,1077,119,1,0,0,0,1078,1079,3,26,13,0,1079,1080, + 5,18,0,0,1080,1085,5,53,0,0,1081,1082,5,136,0,0,1082,1084,3,162, + 81,0,1083,1081,1,0,0,0,1084,1087,1,0,0,0,1085,1083,1,0,0,0,1085, + 1086,1,0,0,0,1086,1088,1,0,0,0,1087,1085,1,0,0,0,1088,1089,5,134, + 0,0,1089,121,1,0,0,0,1090,1091,5,56,0,0,1091,1092,3,162,81,0,1092, + 1093,5,58,0,0,1093,1094,5,61,0,0,1094,1095,3,162,81,0,1095,1096, + 5,134,0,0,1096,123,1,0,0,0,1097,1098,5,68,0,0,1098,1099,3,162,81, + 0,1099,1100,5,69,0,0,1100,1101,5,70,0,0,1101,1102,5,65,0,0,1102, + 1103,5,51,0,0,1103,1104,3,162,81,0,1104,1105,5,67,0,0,1105,1106, + 5,62,0,0,1106,1107,3,162,81,0,1107,1108,5,136,0,0,1108,1109,3,162, + 81,0,1109,1110,5,134,0,0,1110,125,1,0,0,0,1111,1112,5,56,0,0,1112, + 1113,3,128,64,0,1113,1114,5,58,0,0,1114,1117,3,132,66,0,1115,1116, + 5,34,0,0,1116,1118,3,164,82,0,1117,1115,1,0,0,0,1117,1118,1,0,0, + 0,1118,1119,1,0,0,0,1119,1120,5,134,0,0,1120,127,1,0,0,0,1121,1122, + 3,162,81,0,1122,1123,5,136,0,0,1123,1124,3,130,65,0,1124,129,1,0, + 0,0,1125,1138,3,162,81,0,1126,1138,5,101,0,0,1127,1138,5,91,0,0, + 1128,1138,5,92,0,0,1129,1138,5,1,0,0,1130,1138,5,98,0,0,1131,1138, + 5,99,0,0,1132,1138,5,100,0,0,1133,1138,5,102,0,0,1134,1138,5,103, + 0,0,1135,1138,5,104,0,0,1136,1138,5,105,0,0,1137,1125,1,0,0,0,1137, + 1126,1,0,0,0,1137,1127,1,0,0,0,1137,1128,1,0,0,0,1137,1129,1,0,0, + 0,1137,1130,1,0,0,0,1137,1131,1,0,0,0,1137,1132,1,0,0,0,1137,1133, + 1,0,0,0,1137,1134,1,0,0,0,1137,1135,1,0,0,0,1137,1136,1,0,0,0,1138, + 131,1,0,0,0,1139,1140,5,80,0,0,1140,1141,5,136,0,0,1141,1176,3,162, + 81,0,1142,1143,5,61,0,0,1143,1144,3,162,81,0,1144,1145,5,136,0,0, + 1145,1146,3,136,68,0,1146,1176,1,0,0,0,1147,1148,5,62,0,0,1148,1149, + 3,162,81,0,1149,1150,5,136,0,0,1150,1151,3,162,81,0,1151,1152,5, + 136,0,0,1152,1153,3,138,69,0,1153,1176,1,0,0,0,1154,1155,5,44,0, + 0,1155,1157,3,162,81,0,1156,1158,3,28,14,0,1157,1156,1,0,0,0,1157, + 1158,1,0,0,0,1158,1159,1,0,0,0,1159,1160,5,136,0,0,1160,1161,3,128, + 64,0,1161,1176,1,0,0,0,1162,1163,5,46,0,0,1163,1164,3,162,81,0,1164, + 1165,5,136,0,0,1165,1167,3,162,81,0,1166,1168,3,28,14,0,1167,1166, + 1,0,0,0,1167,1168,1,0,0,0,1168,1170,1,0,0,0,1169,1171,3,140,70,0, + 1170,1169,1,0,0,0,1170,1171,1,0,0,0,1171,1173,1,0,0,0,1172,1174, + 3,134,67,0,1173,1172,1,0,0,0,1173,1174,1,0,0,0,1174,1176,1,0,0,0, + 1175,1139,1,0,0,0,1175,1142,1,0,0,0,1175,1147,1,0,0,0,1175,1154, + 1,0,0,0,1175,1162,1,0,0,0,1176,133,1,0,0,0,1177,1178,5,66,0,0,1178, + 1179,3,140,70,0,1179,135,1,0,0,0,1180,1181,7,4,0,0,1181,137,1,0, + 0,0,1182,1183,7,5,0,0,1183,139,1,0,0,0,1184,1185,5,64,0,0,1185,1189, + 5,137,0,0,1186,1188,3,142,71,0,1187,1186,1,0,0,0,1188,1191,1,0,0, + 0,1189,1187,1,0,0,0,1189,1190,1,0,0,0,1190,1192,1,0,0,0,1191,1189, + 1,0,0,0,1192,1193,5,138,0,0,1193,141,1,0,0,0,1194,1195,3,162,81, + 0,1195,1196,5,58,0,0,1196,1197,5,9,0,0,1197,1198,5,23,0,0,1198,1199, + 5,139,0,0,1199,1200,3,86,43,0,1200,1201,5,140,0,0,1201,1202,5,134, + 0,0,1202,1293,1,0,0,0,1203,1204,3,162,81,0,1204,1205,5,58,0,0,1205, + 1206,5,61,0,0,1206,1213,3,162,81,0,1207,1208,5,67,0,0,1208,1209, + 5,62,0,0,1209,1210,3,162,81,0,1210,1211,5,136,0,0,1211,1212,3,162, + 81,0,1212,1214,1,0,0,0,1213,1207,1,0,0,0,1213,1214,1,0,0,0,1214, + 1215,1,0,0,0,1215,1216,5,134,0,0,1216,1293,1,0,0,0,1217,1218,3,162, + 81,0,1218,1219,5,58,0,0,1219,1220,5,62,0,0,1220,1221,3,162,81,0, + 1221,1222,5,136,0,0,1222,1229,3,162,81,0,1223,1224,5,67,0,0,1224, + 1225,5,62,0,0,1225,1226,3,162,81,0,1226,1227,5,136,0,0,1227,1228, + 3,162,81,0,1228,1230,1,0,0,0,1229,1223,1,0,0,0,1229,1230,1,0,0,0, + 1230,1231,1,0,0,0,1231,1232,5,134,0,0,1232,1293,1,0,0,0,1233,1234, + 3,162,81,0,1234,1235,5,58,0,0,1235,1236,5,44,0,0,1236,1238,3,162, + 81,0,1237,1239,3,28,14,0,1238,1237,1,0,0,0,1238,1239,1,0,0,0,1239, + 1248,1,0,0,0,1240,1241,5,67,0,0,1241,1242,5,62,0,0,1242,1243,3,162, + 81,0,1243,1244,5,136,0,0,1244,1245,3,162,81,0,1245,1249,1,0,0,0, + 1246,1247,5,18,0,0,1247,1249,5,53,0,0,1248,1240,1,0,0,0,1248,1246, + 1,0,0,0,1248,1249,1,0,0,0,1249,1250,1,0,0,0,1250,1251,5,134,0,0, + 1251,1293,1,0,0,0,1252,1253,3,162,81,0,1253,1254,5,58,0,0,1254,1255, + 5,7,0,0,1255,1256,3,162,81,0,1256,1257,5,64,0,0,1257,1261,5,137, + 0,0,1258,1260,3,120,60,0,1259,1258,1,0,0,0,1260,1263,1,0,0,0,1261, + 1259,1,0,0,0,1261,1262,1,0,0,0,1262,1264,1,0,0,0,1263,1261,1,0,0, + 0,1264,1265,5,138,0,0,1265,1266,5,134,0,0,1266,1293,1,0,0,0,1267, + 1268,3,162,81,0,1268,1269,5,58,0,0,1269,1270,5,51,0,0,1270,1271, + 3,162,81,0,1271,1272,5,134,0,0,1272,1293,1,0,0,0,1273,1274,3,162, + 81,0,1274,1276,5,58,0,0,1275,1277,5,9,0,0,1276,1275,1,0,0,0,1276, + 1277,1,0,0,0,1277,1278,1,0,0,0,1278,1279,5,22,0,0,1279,1280,3,162, + 81,0,1280,1281,5,136,0,0,1281,1288,3,162,81,0,1282,1283,5,67,0,0, + 1283,1284,5,62,0,0,1284,1285,3,162,81,0,1285,1286,5,136,0,0,1286, + 1287,3,162,81,0,1287,1289,1,0,0,0,1288,1282,1,0,0,0,1288,1289,1, + 0,0,0,1289,1290,1,0,0,0,1290,1291,5,134,0,0,1291,1293,1,0,0,0,1292, + 1194,1,0,0,0,1292,1203,1,0,0,0,1292,1217,1,0,0,0,1292,1233,1,0,0, + 0,1292,1252,1,0,0,0,1292,1267,1,0,0,0,1292,1273,1,0,0,0,1293,143, + 1,0,0,0,1294,1295,5,51,0,0,1295,1296,3,162,81,0,1296,1297,5,58,0, + 0,1297,1298,3,162,81,0,1298,1299,5,136,0,0,1299,1301,3,162,81,0, + 1300,1302,3,140,70,0,1301,1300,1,0,0,0,1301,1302,1,0,0,0,1302,1303, + 1,0,0,0,1303,1304,5,134,0,0,1304,145,1,0,0,0,1305,1352,3,150,75, + 0,1306,1352,5,113,0,0,1307,1352,5,114,0,0,1308,1309,5,115,0,0,1309, + 1352,3,164,82,0,1310,1311,5,116,0,0,1311,1312,5,143,0,0,1312,1313, + 3,162,81,0,1313,1314,5,144,0,0,1314,1352,1,0,0,0,1315,1316,5,117, + 0,0,1316,1317,5,143,0,0,1317,1319,3,162,81,0,1318,1320,3,28,14,0, + 1319,1318,1,0,0,0,1319,1320,1,0,0,0,1320,1321,1,0,0,0,1321,1322, + 5,144,0,0,1322,1352,1,0,0,0,1323,1324,5,39,0,0,1324,1325,5,143,0, + 0,1325,1326,3,162,81,0,1326,1327,5,144,0,0,1327,1352,1,0,0,0,1328, + 1329,5,118,0,0,1329,1330,5,143,0,0,1330,1331,3,146,73,0,1331,1332, + 5,144,0,0,1332,1352,1,0,0,0,1333,1334,5,119,0,0,1334,1335,5,143, + 0,0,1335,1336,3,146,73,0,1336,1337,5,144,0,0,1337,1352,1,0,0,0,1338, + 1339,5,120,0,0,1339,1343,5,137,0,0,1340,1342,3,148,74,0,1341,1340, + 1,0,0,0,1342,1345,1,0,0,0,1343,1341,1,0,0,0,1343,1344,1,0,0,0,1344, + 1346,1,0,0,0,1345,1343,1,0,0,0,1346,1352,5,138,0,0,1347,1349,3,162, + 81,0,1348,1350,3,28,14,0,1349,1348,1,0,0,0,1349,1350,1,0,0,0,1350, + 1352,1,0,0,0,1351,1305,1,0,0,0,1351,1306,1,0,0,0,1351,1307,1,0,0, + 0,1351,1308,1,0,0,0,1351,1310,1,0,0,0,1351,1315,1,0,0,0,1351,1323, + 1,0,0,0,1351,1328,1,0,0,0,1351,1333,1,0,0,0,1351,1338,1,0,0,0,1351, + 1347,1,0,0,0,1352,147,1,0,0,0,1353,1354,3,162,81,0,1354,1355,5,133, + 0,0,1355,1356,3,146,73,0,1356,1357,5,134,0,0,1357,149,1,0,0,0,1358, + 1359,7,6,0,0,1359,151,1,0,0,0,1360,1361,7,7,0,0,1361,153,1,0,0,0, + 1362,1371,3,164,82,0,1363,1371,5,147,0,0,1364,1371,5,148,0,0,1365, + 1371,5,129,0,0,1366,1371,5,130,0,0,1367,1371,5,131,0,0,1368,1371, + 3,156,78,0,1369,1371,3,160,80,0,1370,1362,1,0,0,0,1370,1363,1,0, + 0,0,1370,1364,1,0,0,0,1370,1365,1,0,0,0,1370,1366,1,0,0,0,1370,1367, + 1,0,0,0,1370,1368,1,0,0,0,1370,1369,1,0,0,0,1371,155,1,0,0,0,1372, + 1381,5,137,0,0,1373,1378,3,158,79,0,1374,1375,5,135,0,0,1375,1377, + 3,158,79,0,1376,1374,1,0,0,0,1377,1380,1,0,0,0,1378,1376,1,0,0,0, + 1378,1379,1,0,0,0,1379,1382,1,0,0,0,1380,1378,1,0,0,0,1381,1373, + 1,0,0,0,1381,1382,1,0,0,0,1382,1383,1,0,0,0,1383,1384,5,138,0,0, + 1384,157,1,0,0,0,1385,1386,3,164,82,0,1386,1387,5,133,0,0,1387,1388, + 3,154,77,0,1388,159,1,0,0,0,1389,1398,5,139,0,0,1390,1395,3,154, + 77,0,1391,1392,5,135,0,0,1392,1394,3,154,77,0,1393,1391,1,0,0,0, + 1394,1397,1,0,0,0,1395,1393,1,0,0,0,1395,1396,1,0,0,0,1396,1399, + 1,0,0,0,1397,1395,1,0,0,0,1398,1390,1,0,0,0,1398,1399,1,0,0,0,1399, + 1400,1,0,0,0,1400,1401,5,140,0,0,1401,161,1,0,0,0,1402,1403,7,8, + 0,0,1403,163,1,0,0,0,1404,1405,5,150,0,0,1405,165,1,0,0,0,126,178, + 185,206,219,231,251,259,266,272,284,287,293,304,313,323,326,328, + 332,340,352,357,367,377,382,397,403,415,424,432,440,453,456,466, + 470,476,483,489,497,505,518,525,529,534,545,551,562,588,592,598, + 609,618,624,629,631,662,666,672,699,709,720,723,728,731,738,747, + 750,753,770,779,793,814,817,820,827,835,867,879,882,886,908,922, + 930,942,956,966,984,988,991,995,998,1004,1008,1013,1017,1021,1027, + 1041,1056,1076,1085,1117,1137,1157,1167,1170,1173,1175,1189,1213, + 1229,1238,1248,1261,1276,1288,1292,1301,1319,1343,1349,1351,1370, + 1378,1381,1395,1398 ]; private static __ATN: antlr.ATN; @@ -8117,8 +8130,14 @@ export class DependencyPortContext extends antlr.ParserRuleContext { public ID(): antlr.TerminalNode { return this.getToken(QuixosCapabilityParser.ID, 0)!; } - public stringLiteral(): StringLiteralContext { - return this.getRuleContext(0, StringLiteralContext)!; + public stringLiteral(): StringLiteralContext[]; + public stringLiteral(i: number): StringLiteralContext | null; + public stringLiteral(i?: number): StringLiteralContext[] | StringLiteralContext | null { + if (i === undefined) { + return this.getRuleContexts(StringLiteralContext); + } + + return this.getRuleContext(i, StringLiteralContext); } public LBRACK(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.LBRACK, 0); @@ -8153,6 +8172,9 @@ export class DependencyPortContext extends antlr.ParserRuleContext { public targetConstraint(): TargetConstraintContext | null { return this.getRuleContext(0, TargetConstraintContext); } + public KEYED(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.KEYED, 0); + } public INTERFACE(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.INTERFACE, 0); } diff --git a/src/capability-language/parser.ts b/src/capability-language/parser.ts index dd8a39b..3f3d135 100644 --- a/src/capability-language/parser.ts +++ b/src/capability-language/parser.ts @@ -445,6 +445,7 @@ const relationshipOperation = ( id: InterfaceOperation["id"], target: EdgeEndpointConstraint, cardinality: EdgeCardinality, + keyType?: "string" | "boolean" | "int64", ): InterfaceOperation => { const targetType = target.kind === "atom" ? valueType.atomRef(target.atomId) : valueType.interfaceRef(target.interfaceRevisionId); @@ -463,7 +464,16 @@ const relationshipOperation = ( return { id, displayName, - inputType: targetType, + inputType: + keyType && displayName === "connect" + ? { + kind: "record", + fields: { + mapKey: { kind: "scalar", name: keyType === "boolean" ? "bool" : keyType }, + target: targetType, + }, + } + : targetType, outputType: valueType.unit, mode: "call", }; @@ -545,6 +555,9 @@ const lowerRelationshipMember = ( return undefined; } const cardinality = lowerCardinality(context.cardinality()); + const keyType = context.KEYED() + ? (stringValue(context.stringLiteral(1)) as "string" | "boolean" | "int64") + : undefined; const operations: InterfaceOperation[] = []; for (const operation of context.relationshipOperation()) { if (operation.RESOLVE()) { @@ -554,6 +567,7 @@ const lowerRelationshipMember = ( capabilityId.operation(stringValue(operation.stringLiteral(0))), target, cardinality, + keyType, ), ); } else if (operation.CONNECT()) { @@ -563,6 +577,7 @@ const lowerRelationshipMember = ( capabilityId.operation(stringValue(operation.stringLiteral(0))), target, cardinality, + keyType, ), ); } else if (operation.DISCONNECT()) { @@ -572,6 +587,7 @@ const lowerRelationshipMember = ( capabilityId.operation(stringValue(operation.stringLiteral(0))), target, cardinality, + keyType, ), ); } else { @@ -581,12 +597,14 @@ const lowerRelationshipMember = ( capabilityId.operation(stringValue(operation.stringLiteral(0))), target, cardinality, + keyType, ), relationshipOperation( "watch-stop", capabilityId.operation(stringValue(operation.stringLiteral(1))), target, cardinality, + keyType, ), ); } @@ -847,6 +865,15 @@ const lowerInterfaceTemplate = ( const target = types.targetExpression(relationship.targetConstraint()); const targetType: ValueTypeExpression = { kind: "object-ref", expectation: target }; const cardinality = lowerCardinality(relationship.cardinality()); + const keyType = relationship.KEYED() + ? (stringValue(relationship.stringLiteral(1)) as "string" | "boolean" | "int64") + : undefined; + const keyedTarget: ValueTypeExpression = keyType + ? { + kind: "record", + fields: { mapKey: { kind: "scalar", name: keyType === "boolean" ? "bool" : keyType }, target: targetType }, + } + : targetType; const resolved: ValueTypeExpression = cardinality === "exactly-one" ? targetType @@ -872,6 +899,7 @@ const lowerInterfaceTemplate = ( target, cardinality, ordered: Boolean(relationship.ORDERED()), + ...(keyType ? { keyType } : {}), operations: relationship.relationshipOperation().flatMap((operation) => { const id = capabilityId.operation(stringValue(operation.stringLiteral(0))); if (operation.RESOLVE()) @@ -881,7 +909,12 @@ const lowerInterfaceTemplate = ( if (operation.CONNECT() || operation.DISCONNECT()) return [ { - ...signature(operation.CONNECT() ? "connect" : "disconnect", id, targetType, valueType.unit), + ...signature( + operation.CONNECT() ? "connect" : "disconnect", + id, + operation.CONNECT() ? keyedTarget : targetType, + valueType.unit, + ), ...lowerExecution(operation.executionClause()), }, ]; @@ -957,7 +990,7 @@ const lowerQueryReference = ( const lowerDependencyPort = (state: LoweringState, context: DependencyPortContext): DependencyPort | undefined => { const name = identifier(context.identifier(0)); - const id = capabilityId.dependencyPort(stringValue(context.stringLiteral())); + const id = capabilityId.dependencyPort(stringValue(context.stringLiteral(0))); if (context.REFLECTION()) return { id, @@ -1016,6 +1049,9 @@ const lowerDependencyPort = (state: LoweringState, context: DependencyPortContex kind: "edge", target, cardinality: lowerCardinality(context.cardinality()), + ...(context.KEYED() + ? { keyType: stringValue(context.stringLiteral(1)) as "string" | "boolean" | "int64" } + : {}), primitives: primitives.filter((entry) => !invalid.includes(entry)) as EdgePrimitive[], }, }; @@ -1218,7 +1254,7 @@ const lowerGenericPackageExport = ( const parameters = state.types.declareParameters(context.typeParameters(), JSON.stringify(["export", id])); const dependencyPorts = (context.dependencyBlock()?.dependencyPort() ?? []).map((port): GenericDependencyPort => { const base = { - id: capabilityId.dependencyPort(stringValue(port.stringLiteral())), + id: capabilityId.dependencyPort(stringValue(port.stringLiteral(0))), displayName: identifier(port.identifier(0)), }; const primitives = @@ -1257,6 +1293,7 @@ const lowerGenericPackageExport = ( kind: "edge", target: state.types.targetExpression(port.targetConstraint()!), cardinality: lowerCardinality(port.cardinality()!), + ...(port.KEYED() ? { keyType: stringValue(port.stringLiteral(1)) as "string" | "boolean" | "int64" } : {}), primitives: primitives as EdgePrimitive[], }, }; @@ -2182,10 +2219,25 @@ const lowerConformanceRule = (state: LoweringState, context: ConformanceDeclCont } else if (provider.STATE() || provider.EDGE()) { const name = identifier(provider.identifier(0)); const expected = provider.STATE() ? "state" : "edge"; - // A rule may traverse another owner's public inverse projection, just as - // a concrete conformance may. Resolve external edges after specialization; - // ordinary ownership validation still permits only public resolve access. - if (provider.EDGE() && !privateStorage.has(name)) continue; + // Concrete attachments are registered before rules, so unused rules can + // also check public traversal without waiting for an application. + if (provider.EDGE() && !privateStorage.has(name)) { + const external = requireSymbol(state, state.attachments, name, provider, "attachment"); + const projection = + external?.attachment.kind === "edge" + ? external.attachment.endpoints.find( + (endpoint) => endpoint.displayName === identifier(provider.identifier(1)), + ) + : undefined; + if (external && (!projection?.publicTraversal || text(provider.edgePrimitive()) !== "resolve")) + loweringIssue( + state, + provider, + "invalid-rule-storage-binding", + "External rule storage access requires a public edge resolve projection", + ); + continue; + } if (privateStorage.get(name) !== expected) loweringIssue( state, diff --git a/src/capability-model/generic-packages.ts b/src/capability-model/generic-packages.ts index ac3e953..648923a 100644 --- a/src/capability-model/generic-packages.ts +++ b/src/capability-model/generic-packages.ts @@ -32,6 +32,7 @@ export type GenericDependencyPort = Omit & { kind: "edge"; target: ObjectTypeExpression; cardinality: Extract["cardinality"]; + keyType?: "string" | "boolean" | "int64"; primitives: Extract["primitives"]; } | { diff --git a/src/capability-model/initialization.ts b/src/capability-model/initialization.ts index 65204a9..1206066 100644 --- a/src/capability-model/initialization.ts +++ b/src/capability-model/initialization.ts @@ -33,6 +33,13 @@ export function validateInitialization(workspace: WorkspaceRevision): Capability fail(ownerKey(owner), `Initialization input ${field.input} must name an edge projection on the newborn atom`); return; } + if (target.keyType) { + fail( + ownerKey(owner), + "Initialize a keyed relationship through its keyed projection; inverse seeds cannot supply a map key", + ); + return; + } if (endpoint.cardinality === "many" || endpoint.cardinality === "many-unique") { const fields: Record = { key: { kind: "scalar", name: "string" }, diff --git a/src/capability-model/types.ts b/src/capability-model/types.ts index f9a4fc5..b3002af 100644 --- a/src/capability-model/types.ts +++ b/src/capability-model/types.ts @@ -250,6 +250,7 @@ export type DependencyPortRequirement = kind: "edge"; target: EdgeEndpointConstraint; cardinality: EdgeCardinality; + keyType?: "string" | "boolean" | "int64"; primitives: EdgePrimitive[]; } | { diff --git a/src/capability-model/validation.ts b/src/capability-model/validation.ts index 0d3fcae..0f59f4e 100644 --- a/src/capability-model/validation.ts +++ b/src/capability-model/validation.ts @@ -439,7 +439,19 @@ export const edgePrimitiveSignature = ( case "disconnect": return { mode: "call", - inputType: targetType, + inputType: + primitive === "connect" && projection.endpoint.keyType + ? { + kind: "record", + fields: { + mapKey: { + kind: "scalar", + name: projection.endpoint.keyType === "boolean" ? "bool" : projection.endpoint.keyType, + }, + target: targetType, + }, + } + : targetType, outputType: valueType.unit, }; case "watch-start": @@ -1398,6 +1410,13 @@ const validateBoundDependencies = ( ); break; } + if (projection.target.keyType && requirement.primitives.includes("connect")) + issue( + issues, + "invalid-dependency-binding", + path, + "Connect through the keyed projection so the caller supplies a map key", + ); const traversal = edgeBinding.via ? validateTraversal( issues, @@ -1434,13 +1453,14 @@ const validateBoundDependencies = ( requirement.target, params.indexes.conformances, ) || - requirement.cardinality !== projection.endpoint.cardinality + requirement.cardinality !== projection.endpoint.cardinality || + requirement.keyType !== projection.endpoint.keyType ) { issue( issues, "invalid-dependency-binding", `${path}.binding`, - `Edge port target or cardinality does not match projection ${edgeBinding.projectionId}`, + `Edge port target, cardinality or key type does not match projection ${edgeBinding.projectionId}`, ); } break; @@ -1822,6 +1842,13 @@ const validateConformances = ( continue; } const projection = edgeProjection(attachment.attachment, binding.projectionId); + if (projection?.target.keyType && binding.primitive === "connect") + issue( + issues, + "invalid-edge-binding", + bindingPath, + "Connect through the keyed projection so the caller supplies a map key", + ); // An owned endpoint may explicitly export read-only traversal, including // a native inverse relationship view. This never exports mutation rights. if (!(binding.primitive === "resolve" && projection?.endpoint.publicTraversal)) { diff --git a/src/execution-world/kernel.ts b/src/execution-world/kernel.ts index fbc6bf7..52f3082 100644 --- a/src/execution-world/kernel.ts +++ b/src/execution-world/kernel.ts @@ -53,11 +53,11 @@ export function compileKernelProgram(plan: ExecutionPlan): unknown { }); } else { const endpoints = storage.endpoints.map((endpoint) => { - if (endpoint.ordered || endpoint.keyType || endpoint.retainOther) + if (endpoint.ordered || (endpoint.keyType && endpoint.keyType !== "string") || endpoint.retainOther) throw new ExecutionPlanError( "UNSUPPORTED_GRAPH_FEATURE", storage.id, - "Ordered/keyed relations and automatic retention are not implemented", + "Ordered relations, non-string keys and automatic retention are not implemented", ); return { projection: endpoint.projectionId, @@ -69,6 +69,7 @@ export function compileKernelProgram(plan: ExecutionPlan): unknown { : endpoint.constraint.interfaceRevisionId, }, cardinality: endpoint.cardinality, + ...(endpoint.keyType ? { keyType: endpoint.keyType } : {}), ...(endpoint.onDelete ? { onDelete: endpoint.onDelete } : {}), }; }); diff --git a/src/execution-world/query-operators.ts b/src/execution-world/query-operators.ts index 3555478..713eec9 100644 --- a/src/execution-world/query-operators.ts +++ b/src/execution-world/query-operators.ts @@ -10,11 +10,7 @@ export function unsupportedQueryOperator(query: CheckedQuery): string | undefine if (value.kind === "reduce") return "aggregate predicates"; if (value.kind === "and" || value.kind === "or") return value.children.map(predicate).find(Boolean); if (value.kind === "not") return predicate(value.child); - if (value.kind === "compare") - return ( - path(value.expression.path) ?? - (value.expression.leaf.kind === "mapKey" ? "keyed relationship operands" : undefined) - ); + if (value.kind === "compare") return path(value.expression.path); if (value.kind === "relation") return path(value.path) ?? (value.predicate && predicate(value.predicate)); return undefined; }; diff --git a/src/query/compile.ts b/src/query/compile.ts index 6ac0e6d..d9b6ec1 100644 --- a/src/query/compile.ts +++ b/src/query/compile.ts @@ -230,7 +230,13 @@ export async function compileQuery( fail("QUERY_UNSUPPORTED_FEATURE", "Bounded-all does not accept a continuation", node); for (const argument of node.arguments ?? []) { if (argument.name.value === "where") - compiledPredicates.set(node, relational.predicate(objectRow(target), argument.value)); + compiledPredicates.set( + node, + relational.predicate( + objectRow(target, member.keyType ? { keyType: member.keyType } : undefined), + argument.value, + ), + ); if (argument.name.value === "orderBy") inputEffects(target, argument.value, "order"); if ( ["first", "all"].includes(argument.name.value) && diff --git a/src/query/schema.ts b/src/query/schema.ts index 63a0cc5..ea9e2a1 100644 --- a/src/query/schema.ts +++ b/src/query/schema.ts @@ -242,7 +242,11 @@ export function querySchema( first: { type: GraphQLInt }, all: { type: GraphQLInt }, after: { type: cursorScalar }, - where: { type: filter(targetId) }, + where: { + type: member.keyType + ? relational.where(objectRow(targetId, { keyType: member.keyType })) + : filter(targetId), + }, ...(ordering ? { orderBy: { type: new GraphQLList(new GraphQLNonNull(ordering)) } } : {}), }, }; diff --git a/test/conformance-rules.test.ts b/test/conformance-rules.test.ts index b274720..dd87d88 100644 --- a/test/conformance-rules.test.ts +++ b/test/conformance-rules.test.ts @@ -344,4 +344,11 @@ test("rule inverse reads retain the concrete conformance ownership checks", () = const missing = compile(source.replace("Membership.parent.resolve", "Missing.parent.resolve")); assert.equal(missing.ok, false); assert.match(JSON.stringify(missing.diagnostics), /Unknown attachment/); + const unused = compile( + source + .replace('conform C as Child id "child-impl" {}', "") + .replace("Membership.parent.resolve", "Missing.parent.resolve"), + ); + assert.equal(unused.ok, false); + assert.match(JSON.stringify(unused.diagnostics), /Unknown attachment/); }); diff --git a/test/emit-portable-reader.ts b/test/emit-portable-reader.ts index 92d90d9..6ba595a 100644 --- a/test/emit-portable-reader.ts +++ b/test/emit-portable-reader.ts @@ -129,6 +129,10 @@ await writeFile("dist/portable-reader/collections/kernel.json", JSON.stringify(c const { presentationMountPlan } = await import("./presentation-mount-fixture.js"); const presentationMount = await presentationMountPlan(); await mkdir("dist/portable-reader/presentation-mount", { recursive: true }); +await writeFile( + "dist/portable-reader/presentation-mount/queries.json", + JSON.stringify(compileQueryProgram(presentationMount)), +); await writeFile("dist/portable-reader/presentation-mount/plan.json", JSON.stringify(presentationMount)); await writeFile( "dist/portable-reader/presentation-mount/kernel.json", diff --git a/test/fixtures/presentation-mount/PresentationRuntime.qx b/test/fixtures/presentation-mount/PresentationRuntime.qx index d7f9788..37137bb 100644 --- a/test/fixtures/presentation-mount/PresentationRuntime.qx +++ b/test/fixtures/presentation-mount/PresentationRuntime.qx @@ -1,3 +1,6 @@ +import interface PresentationStates; +import interface ReaderNavigation; +external atom ReaderNavigationRecord id "reader-navigation-record"; import interface PresentationState; import interface PresentationMount; import interface StateFactory; @@ -12,7 +15,7 @@ package PresentationRuntime id "presentation-runtime" revision "presentation-run interface metadata id "state" : PresentationState using [presentationMount.resolve,parent.resolve] from input; }; operation ensure id "presentation-runtime:ensure" : record {presentationMount:interface-ref;occurrence:string;parent:optional>;} -> ref mode call execution transaction targets [browser,server] receiver any requires { - edge states id "states" : many-unique object Navigation [resolve,connect]; + edge states id "states" : many-unique object Navigation keyed "string" [resolve,connect]; interface metadata id "state" : PresentationState using [occurrence.get,presentationMount.resolve,parent.resolve] from input; interface presentationMount id "presentationMount" : PresentationMount using [attach.call] from input; interface factory id "factory" : StateFactory using [create.call]; @@ -20,4 +23,8 @@ package PresentationRuntime id "presentation-runtime" revision "presentation-run function createState id "presentation-runtime:create-state" : record {occurrence:string;parent:optional>;} -> ref execution transaction targets [browser,server] requires { creation navigation id "navigation" : Navigation input record {occurrence:string;parent:optional>;}; }; + query ReaderStateInputs id "reader-state:inputs" root PresentationStates document "queries/reader-inputs.graphql" operation "ReaderState" { replica; view ReaderNavigationRecord as ReaderNavigation; max rows 100; } + query ReaderStateView id "reader-state:view" root PresentationStates document "queries/reader-state.graphql" operation "ReaderState" { local from ReaderStateInputs; watch; view ReaderNavigationRecord as ReaderNavigation; max rows 100; } + query ReaderWindowInputs id "reader-state:window-inputs" root PresentationStates document "queries/reader-window.graphql" operation "ReaderState" { replica; view ReaderNavigationRecord as ReaderNavigation; max rows 100; } + query ReaderWindowView id "reader-state:window-view" root PresentationStates document "queries/reader-window.graphql" operation "ReaderState" { local from ReaderWindowInputs; watch; view ReaderNavigationRecord as ReaderNavigation; max rows 100; } } diff --git a/test/fixtures/presentation-mount/PresentationStates.qx b/test/fixtures/presentation-mount/PresentationStates.qx index 55eac33..a5153af 100644 --- a/test/fixtures/presentation-mount/PresentationStates.qx +++ b/test/fixtures/presentation-mount/PresentationStates.qx @@ -1,7 +1,7 @@ import interface PresentationState; import interface PresentationMount; interface PresentationStates id "presentation-states" revision "presentation-states@1" { - queryable relation states id "presentation-states:states" : many-unique object Navigation { + queryable relation states id "presentation-states:states" : many-unique object Navigation keyed "string" { resolve id "presentation-states:states:resolve" execution snapshot targets [browser,server]; } operation ensure id "presentation-states:ensure" : record {presentationMount:interface-ref;occurrence:string;parent:optional>;} -> ref { diff --git a/test/fixtures/presentation-mount/queries/reader-inputs.graphql b/test/fixtures/presentation-mount/queries/reader-inputs.graphql new file mode 100644 index 0000000..e586c15 --- /dev/null +++ b/test/fixtures/presentation-mount/queries/reader-inputs.graphql @@ -0,0 +1,7 @@ +query ReaderState { + root { + states(all: 100) { + entries { key mapKey node { _camino { ref } page } } + } + } +} diff --git a/test/fixtures/presentation-mount/queries/reader-state.graphql b/test/fixtures/presentation-mount/queries/reader-state.graphql new file mode 100644 index 0000000..7de27cf --- /dev/null +++ b/test/fixtures/presentation-mount/queries/reader-state.graphql @@ -0,0 +1,7 @@ +query ReaderState($key: String!) { + root { + states(all: 100, where: {_camino: {mapKey: {eq: $key}}}) { + entries { key mapKey node { _camino { ref } page } } + } + } +} diff --git a/test/fixtures/presentation-mount/queries/reader-window.graphql b/test/fixtures/presentation-mount/queries/reader-window.graphql new file mode 100644 index 0000000..a76550c --- /dev/null +++ b/test/fixtures/presentation-mount/queries/reader-window.graphql @@ -0,0 +1,7 @@ +query ReaderState($key: String!) { + root { + states(first: 100, where: {_camino: {mapKey: {eq: $key}}}) { + entries { key mapKey node { _camino { ref } page } } + } + } +} diff --git a/test/fixtures/presentation-mount/workspace.qx b/test/fixtures/presentation-mount/workspace.qx index debd2a9..41d37c6 100644 --- a/test/fixtures/presentation-mount/workspace.qx +++ b/test/fixtures/presentation-mount/workspace.qx @@ -10,6 +10,7 @@ workspace Example id "presentation-example" revision "presentation-example@1" co import package PresentationRuntime; atom PresentationMountRecord id "presentation-mount-record"; atom Library id "library"; + atom OtherLibrary id "other-library"; atom Document id "document"; atom ReaderNavigationRecord id "reader-navigation-record"; atom DocumentNavigationRecord id "document-navigation-record"; @@ -34,8 +35,8 @@ workspace Example id "presentation-example" revision "presentation-example@1" co } conform Presentation as PresentationStates id "presentation:state-association" { private edge States id "presentation:states-edge" { - atom Self projection states id "presentation:states-projection" many-unique; - object Navigation projection subject id "presentation:subject-projection" exactly-one; + atom Self projection states id "presentation:states-projection" many-unique keyed "string"; + object Navigation projection subject id "presentation:subject-projection" optional-one; } bind states.resolve to edge States.states.resolve; bind ensure.call to package PresentationRuntime.ensure with { @@ -78,4 +79,10 @@ workspace Example id "presentation-example" revision "presentation-example@1" co } conform Library as Presentation id "library:presentation" {} conform Document as Presentation id "document:presentation" {} + conform OtherLibrary as StateFactory id "other-reader:factory" { + bind create.call to package PresentationRuntime.createState with { + navigation to creation ReaderNavigationRecord with {PresentationState from input;}; + }; + } + conform OtherLibrary as Presentation id "other-library:presentation" {} } diff --git a/test/keyed-relationships.test.ts b/test/keyed-relationships.test.ts new file mode 100644 index 0000000..6827552 --- /dev/null +++ b/test/keyed-relationships.test.ts @@ -0,0 +1,78 @@ +import assert from "node:assert/strict"; +import { test } from "node:test"; +import { + compileCapabilityResourceSource, + compileCapabilitySource, + formatQx, +} from "../src/capability-language/index.js"; +import { compileExecutionPlan } from "../src/execution-world/plan.js"; +import { compileKernelProgram } from "../src/execution-world/kernel.js"; +import { generatePortableTypeScriptBindings } from "../src/bindings/portable.js"; +const source = { repository: "https://example.test/keyed.git", commit: "a".repeat(40) }; +const iface = compileCapabilityResourceSource( + `interface Index id "index" revision "index@1" { + queryable relation entries id "entries" : many object Item keyed "string" { + resolve id "resolve" execution snapshot targets [browser,server]; + connect id "connect" execution transaction targets [browser,server]; + } + operation add id "add" : record {mapKey:string;target:ref;} -> unit { + call id "add-call" execution transaction targets [browser,server]; + } +}`, + { source }, +); +assert.ok(iface.ok && iface.resource.kind === "interface", JSON.stringify(iface.diagnostics)); +const pkg = compileCapabilityResourceSource( + `package Runtime id "runtime" revision "runtime@1" { + operation add id "add" : record {mapKey:string;target:ref;} -> unit mode call execution transaction targets [browser,server] receiver any requires { + edge entries id "entries" : many object Item keyed "string" [resolve,connect]; + }; +}`, + { source }, +); +assert.ok(pkg.ok && pkg.resource.kind === "package", JSON.stringify(pkg.diagnostics)); +const indexContract = iface.resource.revision, + runtimeContract = pkg.resource.revision; +const declarations = `workspace W id "w" revision "w@1" commit "${source.commit}" { + import interface Index; import package Runtime; atom Node id "node"; + conform Node as Index id "node:index" { + private edge Entries id "entries" { + atom Node projection entries id "entries" many keyed "string"; + atom Node projection parent id "parent" optional-one; + } + bind entries.resolve to edge Entries.entries.resolve; + bind entries.connect to edge Entries.entries.connect; + bind add.call to package Runtime.add with {entries to edge Entries.entries;}; + } +}`; +const compile = (text = declarations) => + compileCapabilitySource(formatQx(text), "workspace.qx", { + interfaces: new Map([["Index", indexContract]]), + packages: new Map([["Runtime", runtimeContract]]), + }); +test("generic keyed relationships and portable ports have matching checked shapes", () => { + const result = compile(); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + const closed = result.workspace.interfaceImports.find((i) => i.application)!; + assert.equal(closed.members[0]!.kind, "relationship"); + assert.equal("keyType" in closed.members[0]! && closed.members[0]!.keyType, "string"); + const operation = closed.members[0]!.operations.find((o) => o.displayName === "connect")!; + assert.equal(operation.inputType.kind, "record"); + const plan = compileExecutionPlan(result.workspace); + assert.doesNotThrow(() => compileKernelProgram(plan)); + const bindings = generatePortableTypeScriptBindings(plan.definition.bindingSchema, "runtime@1", { + target: "browser", + }); + assert.match(bindings, /readonly "mapKey": string/); + assert.match(bindings, /readonly "connect": \(input: \{ readonly "mapKey": string;/); +}); +test("key contracts cannot silently bind to unkeyed storage or the inverse projection", () => { + for (const text of [ + declarations.replace('many keyed "string";', "many;"), + declarations.replace("entries to edge Entries.entries", "entries to edge Entries.parent"), + ]) { + const result = compile(text); + assert.equal(result.ok, false); + assert.match(JSON.stringify(result.diagnostics), /key type|keyed projection|signature/i); + } +}); diff --git a/test/presentation-mount-fixture.ts b/test/presentation-mount-fixture.ts index 16a5c06..57dc309 100644 --- a/test/presentation-mount-fixture.ts +++ b/test/presentation-mount-fixture.ts @@ -3,6 +3,7 @@ import { readFile } from "node:fs/promises"; import { compileCapabilityResourceSource, compileCapabilitySource } from "../src/capability-language/parser.js"; import { compileExecutionPlan } from "../src/execution-world/plan.js"; import type { InterfaceRevision } from "../src/capability-model/types.js"; +import { compileQuery } from "../src/query/compile.js"; export async function presentationMountPlan() { const read = (name: string) => readFile(`test/fixtures/presentation-mount/${name}.qx`, "utf8"); const source = { repository: "https://example.test/presentation-mount.git", commit: "a".repeat(40) }; @@ -31,5 +32,13 @@ export async function presentationMountPlan() { packages: new Map([["PresentationRuntime", pkg.resource.revision]]), }); assert.ok(result.ok, JSON.stringify(result.diagnostics)); + const runtime = result.workspace.packageImports[0]!; + runtime.checkedQueries = await Promise.all( + runtime.queries!.map((query) => + compileQuery(query, result.workspace.interfaceImports, (path) => + readFile(`test/fixtures/presentation-mount/${path}`, "utf8"), + ), + ), + ); return compileExecutionPlan(result.workspace); }