diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/rerank.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/rerank.csv-spec index 5048ca84823b..14b2afa038d1 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/rerank.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/rerank.csv-spec @@ -3,21 +3,62 @@ // This makes the output more predictable which is helpful here. -reranker using a single field +reranker using a single field, overwrite existing _score column required_capability: rerank required_capability: match_operator_colon FROM books METADATA _score | WHERE title:"war and peace" AND author:"Tolstoy" -| RERANK "war and peace" ON title WITH test_reranker -| KEEP book_no, title, author +| SORT _score DESC, book_no ASC +| RERANK "war and peace" ON title WITH inferenceId=test_reranker +| EVAL _score=ROUND(_score, 2) +| KEEP book_no, title, author, _score ; -book_no:keyword | title:text | author:text -5327 | War and Peace | Leo Tolstoy -4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] -9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo -2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy +book_no:keyword | title:text | author:text | _score:double +5327 | War and Peace | Leo Tolstoy | 0.08 +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo | 0.03 +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy | 0.02 +; + +reranker using a single field, create a mew column +required_capability: rerank +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| SORT _score DESC, book_no ASC +| RERANK "war and peace" ON title WITH inferenceId=test_reranker, scoreColumn=rerank_score +| EVAL _score=ROUND(_score, 2), rerank_score=ROUND(rerank_score, 2) +| KEEP book_no, title, author, rerank_score +; + +book_no:keyword | title:text | author:text | rerank_score:double +5327 | War and Peace | Leo Tolstoy | 0.08 +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo | 0.03 +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy | 0.02 +; + +reranker using a single field, create a mew column, sort by rerank_score +required_capability: rerank +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| SORT _score DESC +| RERANK "war and peace" ON title WITH inferenceId=test_reranker, scoreColumn=rerank_score +| EVAL _score=ROUND(_score, 2), rerank_score=ROUND(rerank_score, 2) +| SORT rerank_score, _score ASC, book_no ASC +| KEEP book_no, title, author, rerank_score +; + +book_no:keyword | title:text | author:text | rerank_score:double +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy | 0.02 +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo | 0.03 +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 +5327 | War and Peace | Leo Tolstoy | 0.08 ; @@ -27,15 +68,17 @@ required_capability: match_operator_colon FROM books METADATA _score | WHERE title:"war and peace" AND author:"Tolstoy" -| RERANK "war and peace" ON title, author WITH test_reranker -| KEEP book_no, title, author +| RERANK "war and peace" ON title, author WITH inferenceId=test_reranker +| EVAL _score=ROUND(_score, 2) +| SORT _score DESC, book_no ASC +| KEEP book_no, title, author, _score ; -book_no:keyword | title:text | author:text -5327 | War and Peace | Leo Tolstoy -9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo -2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy -4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] +book_no:keyword | title:text | author:text | _score:double +5327 | War and Peace | Leo Tolstoy | 0.02 +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy | 0.01 +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.01 +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo | 0.01 ; @@ -45,16 +88,18 @@ required_capability: match_operator_colon FROM books METADATA _score | WHERE title:"war and peace" AND author:"Tolstoy" -| SORT _score DESC +| SORT _score DESC, book_no ASC | LIMIT 3 -| RERANK "war and peace" ON title WITH test_reranker -| KEEP book_no, title, author +| RERANK "war and peace" ON title WITH inferenceId=test_reranker +| EVAL _score=ROUND(_score, 2) +| SORT _score DESC, book_no ASC +| KEEP book_no, title, author, _score ; -book_no:keyword | title:text | author:text -5327 | War and Peace | Leo Tolstoy -4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] -9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo +book_no:keyword | title:text | author:text | _score:double +5327 | War and Peace | Leo Tolstoy | 0.08 +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo | 0.03 ; @@ -64,15 +109,17 @@ required_capability: match_operator_colon FROM books METADATA _score | WHERE title:"war and peace" AND author:"Tolstoy" -| RERANK "war and peace" ON title WITH test_reranker -| KEEP book_no, title, author +| RERANK "war and peace" ON title WITH inferenceId=test_reranker +| EVAL _score=ROUND(_score, 2) +| SORT _score DESC, book_no ASC +| KEEP book_no, title, author, _score | LIMIT 3 ; -book_no:keyword | title:text | author:text -5327 | War and Peace | Leo Tolstoy -4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] -9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo +book_no:keyword | title:text | author:text | _score:double +5327 | War and Peace | Leo Tolstoy | 0.08 +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo | 0.03 ; @@ -82,16 +129,17 @@ required_capability: match_operator_colon FROM books | WHERE title:"war and peace" AND author:"Tolstoy" -| RERANK "war and peace" ON title WITH test_reranker -| KEEP book_no, title, author +| RERANK "war and peace" ON title WITH inferenceId=test_reranker +| EVAL _score=ROUND(_score, 2) +| KEEP book_no, title, author, _score | SORT author, title | LIMIT 3 ; -book_no:keyword | title:text | author:text -4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] -2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy -5327 | War and Peace | Leo Tolstoy +book_no:keyword | title:text | author:text | _score:double +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] | 0.03 +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy | 0.02 +5327 | War and Peace | Leo Tolstoy | 0.08 ; @@ -105,12 +153,14 @@ FROM books METADATA _id, _index, _score | FORK ( WHERE title:"Tolkien" | SORT _score, _id DESC | LIMIT 3 ) ( WHERE author:"Tolkien" | SORT _score, _id DESC | LIMIT 3 ) | RRF -| RERANK "Tolkien" ON title WITH test_reranker +| RERANK "Tolkien" ON title WITH inferenceId=test_reranker +| EVAL _score=ROUND(_score, 2) +| SORT _score DESC, book_no ASC | LIMIT 2 -| KEEP book_no, title, author +| KEEP book_no, title, author, _score ; -book_no:keyword | title:keyword | author:keyword -5335 | Letters of J R R Tolkien | J.R.R. Tolkien -2130 | The J. R. R. Tolkien Audio Collection | [Christopher Tolkien, John Ronald Reuel Tolkien] +book_no:keyword | title:keyword | author:keyword | _score:double +5335 | Letters of J R R Tolkien | J.R.R. Tolkien | 0.04 +2130 | The J. R. R. Tolkien Audio Collection | [Christopher Tolkien, John Ronald Reuel Tolkien] | 0.03 ; diff --git a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 index 62252682d1be..db42420c5c7b 100644 --- a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 +++ b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 @@ -306,8 +306,21 @@ rrfCommand : DEV_RRF ; +inferenceCommandOptions + : inferenceCommandOption (COMMA inferenceCommandOption)* + ; + +inferenceCommandOption + : identifier ASSIGN inferenceCommandOptionValue + ; + +inferenceCommandOptionValue + : constant + | identifier + ; + rerankCommand - : DEV_RERANK queryText=constant ON rerankFields (WITH inferenceId=identifierOrParameter)? + : DEV_RERANK queryText=constant ON rerankFields (WITH inferenceCommandOptions)? ; completionCommand diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java index 903d1af5b46d..0f0331992416 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java @@ -841,7 +841,11 @@ public class Analyzer extends ParameterizedRuleExecutor inferencePlan) { // Push down filters that do not rely on attributes created by Cpmpletion - var attributes = AttributeSet.of(completion.generatedAttributes()); - plan = maybePushDownPastUnary(filter, completion, attributes::contains, NO_OP); + var attributes = AttributeSet.of(inferencePlan.generatedAttributes()); + plan = maybePushDownPastUnary(filter, inferencePlan, attributes::contains, NO_OP); } else if (child instanceof Enrich enrich) { // Push down filters that do not rely on attributes created by Enrich var attributes = AttributeSet.of(Expressions.asAttributes(enrich.enrichFields())); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java index 67e2edef667b..7bad50abd46d 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java @@ -17,7 +17,7 @@ import org.elasticsearch.xpack.esql.plan.logical.MvExpand; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.RegexExtract; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; -import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; @@ -43,7 +43,7 @@ public final class PushDownAndCombineLimits extends OptimizerRules.Parameterized || unary instanceof Project || unary instanceof RegexExtract || unary instanceof Enrich - || unary instanceof Completion) { + || unary instanceof InferencePlan) { return unary.replaceChild(limit.replaceChild(unary.child())); } else if (unary instanceof MvExpand) { // MV_EXPAND can increase the number of rows, so we cannot just push the limit down diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownCompletion.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownInferencePlan.java similarity index 67% rename from x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownCompletion.java rename to x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownInferencePlan.java index d74e90fb0569..20e21adb8914 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownCompletion.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownInferencePlan.java @@ -8,11 +8,11 @@ package org.elasticsearch.xpack.esql.optimizer.rules.logical; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; -import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; -public final class PushDownCompletion extends OptimizerRules.OptimizerRule { +public final class PushDownInferencePlan extends OptimizerRules.OptimizerRule> { @Override - protected LogicalPlan rule(Completion p) { + protected LogicalPlan rule(InferencePlan p) { return PushDownUtils.pushGeneratingPlanPastProjectAndOrderBy(p); } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp index bfae7319e656..167b5dd3612e 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp @@ -343,6 +343,9 @@ forkSubQuery forkSubQueryCommand forkSubQueryProcessingCommand rrfCommand +inferenceCommandOptions +inferenceCommandOption +inferenceCommandOptionValue rerankCommand completionCommand booleanExpression @@ -369,4 +372,4 @@ joinPredicate atn: -[4, 1, 139, 788, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 176, 8, 1, 10, 1, 12, 1, 179, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 187, 8, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 216, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 5, 7, 229, 8, 7, 10, 7, 12, 7, 232, 9, 7, 1, 8, 1, 8, 1, 8, 3, 8, 237, 8, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 5, 9, 244, 8, 9, 10, 9, 12, 9, 247, 9, 9, 1, 10, 1, 10, 1, 10, 3, 10, 252, 8, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 5, 13, 263, 8, 13, 10, 13, 12, 13, 266, 9, 13, 1, 13, 3, 13, 269, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 280, 8, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 294, 8, 19, 10, 19, 12, 19, 297, 9, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 304, 8, 21, 1, 21, 1, 21, 3, 21, 308, 8, 21, 1, 22, 1, 22, 1, 22, 5, 22, 313, 8, 22, 10, 22, 12, 22, 316, 9, 22, 1, 23, 1, 23, 1, 23, 3, 23, 321, 8, 23, 1, 24, 1, 24, 1, 24, 5, 24, 326, 8, 24, 10, 24, 12, 24, 329, 9, 24, 1, 25, 1, 25, 1, 25, 5, 25, 334, 8, 25, 10, 25, 12, 25, 337, 9, 25, 1, 26, 1, 26, 1, 26, 5, 26, 342, 8, 26, 10, 26, 12, 26, 345, 9, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 3, 28, 352, 8, 28, 1, 29, 1, 29, 3, 29, 356, 8, 29, 1, 30, 1, 30, 3, 30, 360, 8, 30, 1, 31, 1, 31, 1, 31, 3, 31, 365, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 5, 33, 374, 8, 33, 10, 33, 12, 33, 377, 9, 33, 1, 34, 1, 34, 3, 34, 381, 8, 34, 1, 34, 1, 34, 3, 34, 385, 8, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 397, 8, 37, 10, 37, 12, 37, 400, 9, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 410, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 416, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 5, 42, 428, 8, 42, 10, 42, 12, 42, 431, 9, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 451, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 457, 8, 47, 10, 47, 12, 47, 460, 9, 47, 3, 47, 462, 8, 47, 1, 48, 1, 48, 1, 48, 3, 48, 467, 8, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 483, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 489, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 496, 8, 52, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 55, 4, 55, 505, 8, 55, 11, 55, 12, 55, 506, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 519, 8, 57, 10, 57, 12, 57, 522, 9, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 534, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 540, 8, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 553, 8, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 5, 62, 560, 8, 62, 10, 62, 12, 62, 563, 9, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 570, 8, 62, 1, 62, 1, 62, 1, 62, 3, 62, 575, 8, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 5, 62, 583, 8, 62, 10, 62, 12, 62, 586, 9, 62, 1, 63, 1, 63, 3, 63, 590, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 597, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 604, 8, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 611, 8, 63, 10, 63, 12, 63, 614, 9, 63, 1, 63, 1, 63, 3, 63, 618, 8, 63, 1, 64, 1, 64, 1, 64, 3, 64, 623, 8, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 633, 8, 65, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 639, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 647, 8, 66, 10, 66, 12, 66, 650, 9, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 3, 67, 660, 8, 67, 1, 67, 1, 67, 1, 67, 5, 67, 665, 8, 67, 10, 67, 12, 67, 668, 9, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 5, 68, 676, 8, 68, 10, 68, 12, 68, 679, 9, 68, 1, 68, 1, 68, 3, 68, 683, 8, 68, 3, 68, 685, 8, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 5, 70, 695, 8, 70, 10, 70, 12, 70, 698, 9, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 719, 8, 72, 10, 72, 12, 72, 722, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 730, 8, 72, 10, 72, 12, 72, 733, 9, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 5, 72, 741, 8, 72, 10, 72, 12, 72, 744, 9, 72, 1, 72, 1, 72, 3, 72, 748, 8, 72, 1, 73, 1, 73, 1, 74, 1, 74, 3, 74, 754, 8, 74, 1, 75, 3, 75, 757, 8, 75, 1, 75, 1, 75, 1, 76, 3, 76, 762, 8, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 5, 81, 781, 8, 81, 10, 81, 12, 81, 784, 9, 81, 1, 82, 1, 82, 1, 82, 0, 5, 2, 114, 124, 132, 134, 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, 53, 53, 107, 107, 1, 0, 101, 102, 2, 0, 57, 57, 63, 63, 2, 0, 66, 66, 69, 69, 1, 0, 87, 88, 1, 0, 89, 91, 2, 0, 65, 65, 78, 78, 2, 0, 80, 80, 82, 86, 2, 0, 22, 22, 24, 25, 816, 0, 166, 1, 0, 0, 0, 2, 169, 1, 0, 0, 0, 4, 186, 1, 0, 0, 0, 6, 215, 1, 0, 0, 0, 8, 217, 1, 0, 0, 0, 10, 220, 1, 0, 0, 0, 12, 222, 1, 0, 0, 0, 14, 225, 1, 0, 0, 0, 16, 236, 1, 0, 0, 0, 18, 240, 1, 0, 0, 0, 20, 248, 1, 0, 0, 0, 22, 253, 1, 0, 0, 0, 24, 256, 1, 0, 0, 0, 26, 259, 1, 0, 0, 0, 28, 279, 1, 0, 0, 0, 30, 281, 1, 0, 0, 0, 32, 283, 1, 0, 0, 0, 34, 285, 1, 0, 0, 0, 36, 287, 1, 0, 0, 0, 38, 289, 1, 0, 0, 0, 40, 298, 1, 0, 0, 0, 42, 301, 1, 0, 0, 0, 44, 309, 1, 0, 0, 0, 46, 317, 1, 0, 0, 0, 48, 322, 1, 0, 0, 0, 50, 330, 1, 0, 0, 0, 52, 338, 1, 0, 0, 0, 54, 346, 1, 0, 0, 0, 56, 351, 1, 0, 0, 0, 58, 355, 1, 0, 0, 0, 60, 359, 1, 0, 0, 0, 62, 364, 1, 0, 0, 0, 64, 366, 1, 0, 0, 0, 66, 369, 1, 0, 0, 0, 68, 378, 1, 0, 0, 0, 70, 386, 1, 0, 0, 0, 72, 389, 1, 0, 0, 0, 74, 392, 1, 0, 0, 0, 76, 409, 1, 0, 0, 0, 78, 411, 1, 0, 0, 0, 80, 417, 1, 0, 0, 0, 82, 421, 1, 0, 0, 0, 84, 424, 1, 0, 0, 0, 86, 432, 1, 0, 0, 0, 88, 436, 1, 0, 0, 0, 90, 439, 1, 0, 0, 0, 92, 443, 1, 0, 0, 0, 94, 446, 1, 0, 0, 0, 96, 466, 1, 0, 0, 0, 98, 470, 1, 0, 0, 0, 100, 473, 1, 0, 0, 0, 102, 478, 1, 0, 0, 0, 104, 484, 1, 0, 0, 0, 106, 497, 1, 0, 0, 0, 108, 500, 1, 0, 0, 0, 110, 504, 1, 0, 0, 0, 112, 508, 1, 0, 0, 0, 114, 512, 1, 0, 0, 0, 116, 523, 1, 0, 0, 0, 118, 525, 1, 0, 0, 0, 120, 527, 1, 0, 0, 0, 122, 535, 1, 0, 0, 0, 124, 574, 1, 0, 0, 0, 126, 617, 1, 0, 0, 0, 128, 619, 1, 0, 0, 0, 130, 632, 1, 0, 0, 0, 132, 638, 1, 0, 0, 0, 134, 659, 1, 0, 0, 0, 136, 669, 1, 0, 0, 0, 138, 688, 1, 0, 0, 0, 140, 690, 1, 0, 0, 0, 142, 701, 1, 0, 0, 0, 144, 747, 1, 0, 0, 0, 146, 749, 1, 0, 0, 0, 148, 753, 1, 0, 0, 0, 150, 756, 1, 0, 0, 0, 152, 761, 1, 0, 0, 0, 154, 765, 1, 0, 0, 0, 156, 767, 1, 0, 0, 0, 158, 769, 1, 0, 0, 0, 160, 774, 1, 0, 0, 0, 162, 776, 1, 0, 0, 0, 164, 785, 1, 0, 0, 0, 166, 167, 3, 2, 1, 0, 167, 168, 5, 0, 0, 1, 168, 1, 1, 0, 0, 0, 169, 170, 6, 1, -1, 0, 170, 171, 3, 4, 2, 0, 171, 177, 1, 0, 0, 0, 172, 173, 10, 1, 0, 0, 173, 174, 5, 52, 0, 0, 174, 176, 3, 6, 3, 0, 175, 172, 1, 0, 0, 0, 176, 179, 1, 0, 0, 0, 177, 175, 1, 0, 0, 0, 177, 178, 1, 0, 0, 0, 178, 3, 1, 0, 0, 0, 179, 177, 1, 0, 0, 0, 180, 187, 3, 88, 44, 0, 181, 187, 3, 22, 11, 0, 182, 187, 3, 12, 6, 0, 183, 187, 3, 92, 46, 0, 184, 185, 4, 2, 1, 0, 185, 187, 3, 24, 12, 0, 186, 180, 1, 0, 0, 0, 186, 181, 1, 0, 0, 0, 186, 182, 1, 0, 0, 0, 186, 183, 1, 0, 0, 0, 186, 184, 1, 0, 0, 0, 187, 5, 1, 0, 0, 0, 188, 216, 3, 40, 20, 0, 189, 216, 3, 8, 4, 0, 190, 216, 3, 70, 35, 0, 191, 216, 3, 64, 32, 0, 192, 216, 3, 42, 21, 0, 193, 216, 3, 66, 33, 0, 194, 216, 3, 72, 36, 0, 195, 216, 3, 74, 37, 0, 196, 216, 3, 78, 39, 0, 197, 216, 3, 80, 40, 0, 198, 216, 3, 94, 47, 0, 199, 216, 3, 82, 41, 0, 200, 216, 3, 158, 79, 0, 201, 216, 3, 104, 52, 0, 202, 216, 3, 122, 61, 0, 203, 216, 3, 98, 49, 0, 204, 216, 3, 108, 54, 0, 205, 206, 4, 3, 2, 0, 206, 216, 3, 102, 51, 0, 207, 208, 4, 3, 3, 0, 208, 216, 3, 100, 50, 0, 209, 210, 4, 3, 4, 0, 210, 216, 3, 106, 53, 0, 211, 212, 4, 3, 5, 0, 212, 216, 3, 120, 60, 0, 213, 214, 4, 3, 6, 0, 214, 216, 3, 118, 59, 0, 215, 188, 1, 0, 0, 0, 215, 189, 1, 0, 0, 0, 215, 190, 1, 0, 0, 0, 215, 191, 1, 0, 0, 0, 215, 192, 1, 0, 0, 0, 215, 193, 1, 0, 0, 0, 215, 194, 1, 0, 0, 0, 215, 195, 1, 0, 0, 0, 215, 196, 1, 0, 0, 0, 215, 197, 1, 0, 0, 0, 215, 198, 1, 0, 0, 0, 215, 199, 1, 0, 0, 0, 215, 200, 1, 0, 0, 0, 215, 201, 1, 0, 0, 0, 215, 202, 1, 0, 0, 0, 215, 203, 1, 0, 0, 0, 215, 204, 1, 0, 0, 0, 215, 205, 1, 0, 0, 0, 215, 207, 1, 0, 0, 0, 215, 209, 1, 0, 0, 0, 215, 211, 1, 0, 0, 0, 215, 213, 1, 0, 0, 0, 216, 7, 1, 0, 0, 0, 217, 218, 5, 16, 0, 0, 218, 219, 3, 124, 62, 0, 219, 9, 1, 0, 0, 0, 220, 221, 3, 54, 27, 0, 221, 11, 1, 0, 0, 0, 222, 223, 5, 12, 0, 0, 223, 224, 3, 14, 7, 0, 224, 13, 1, 0, 0, 0, 225, 230, 3, 16, 8, 0, 226, 227, 5, 62, 0, 0, 227, 229, 3, 16, 8, 0, 228, 226, 1, 0, 0, 0, 229, 232, 1, 0, 0, 0, 230, 228, 1, 0, 0, 0, 230, 231, 1, 0, 0, 0, 231, 15, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 233, 234, 3, 48, 24, 0, 234, 235, 5, 58, 0, 0, 235, 237, 1, 0, 0, 0, 236, 233, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 239, 3, 124, 62, 0, 239, 17, 1, 0, 0, 0, 240, 245, 3, 20, 10, 0, 241, 242, 5, 62, 0, 0, 242, 244, 3, 20, 10, 0, 243, 241, 1, 0, 0, 0, 244, 247, 1, 0, 0, 0, 245, 243, 1, 0, 0, 0, 245, 246, 1, 0, 0, 0, 246, 19, 1, 0, 0, 0, 247, 245, 1, 0, 0, 0, 248, 251, 3, 48, 24, 0, 249, 250, 5, 58, 0, 0, 250, 252, 3, 124, 62, 0, 251, 249, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 21, 1, 0, 0, 0, 253, 254, 5, 19, 0, 0, 254, 255, 3, 26, 13, 0, 255, 23, 1, 0, 0, 0, 256, 257, 5, 20, 0, 0, 257, 258, 3, 26, 13, 0, 258, 25, 1, 0, 0, 0, 259, 264, 3, 28, 14, 0, 260, 261, 5, 62, 0, 0, 261, 263, 3, 28, 14, 0, 262, 260, 1, 0, 0, 0, 263, 266, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 267, 269, 3, 38, 19, 0, 268, 267, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 27, 1, 0, 0, 0, 270, 271, 3, 30, 15, 0, 271, 272, 5, 61, 0, 0, 272, 273, 3, 34, 17, 0, 273, 280, 1, 0, 0, 0, 274, 275, 3, 34, 17, 0, 275, 276, 5, 60, 0, 0, 276, 277, 3, 32, 16, 0, 277, 280, 1, 0, 0, 0, 278, 280, 3, 36, 18, 0, 279, 270, 1, 0, 0, 0, 279, 274, 1, 0, 0, 0, 279, 278, 1, 0, 0, 0, 280, 29, 1, 0, 0, 0, 281, 282, 5, 107, 0, 0, 282, 31, 1, 0, 0, 0, 283, 284, 5, 107, 0, 0, 284, 33, 1, 0, 0, 0, 285, 286, 5, 107, 0, 0, 286, 35, 1, 0, 0, 0, 287, 288, 7, 0, 0, 0, 288, 37, 1, 0, 0, 0, 289, 290, 5, 106, 0, 0, 290, 295, 5, 107, 0, 0, 291, 292, 5, 62, 0, 0, 292, 294, 5, 107, 0, 0, 293, 291, 1, 0, 0, 0, 294, 297, 1, 0, 0, 0, 295, 293, 1, 0, 0, 0, 295, 296, 1, 0, 0, 0, 296, 39, 1, 0, 0, 0, 297, 295, 1, 0, 0, 0, 298, 299, 5, 9, 0, 0, 299, 300, 3, 14, 7, 0, 300, 41, 1, 0, 0, 0, 301, 303, 5, 15, 0, 0, 302, 304, 3, 44, 22, 0, 303, 302, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 307, 1, 0, 0, 0, 305, 306, 5, 59, 0, 0, 306, 308, 3, 14, 7, 0, 307, 305, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308, 43, 1, 0, 0, 0, 309, 314, 3, 46, 23, 0, 310, 311, 5, 62, 0, 0, 311, 313, 3, 46, 23, 0, 312, 310, 1, 0, 0, 0, 313, 316, 1, 0, 0, 0, 314, 312, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 45, 1, 0, 0, 0, 316, 314, 1, 0, 0, 0, 317, 320, 3, 16, 8, 0, 318, 319, 5, 16, 0, 0, 319, 321, 3, 124, 62, 0, 320, 318, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 47, 1, 0, 0, 0, 322, 327, 3, 62, 31, 0, 323, 324, 5, 64, 0, 0, 324, 326, 3, 62, 31, 0, 325, 323, 1, 0, 0, 0, 326, 329, 1, 0, 0, 0, 327, 325, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 49, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 330, 335, 3, 56, 28, 0, 331, 332, 5, 64, 0, 0, 332, 334, 3, 56, 28, 0, 333, 331, 1, 0, 0, 0, 334, 337, 1, 0, 0, 0, 335, 333, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0, 336, 51, 1, 0, 0, 0, 337, 335, 1, 0, 0, 0, 338, 343, 3, 50, 25, 0, 339, 340, 5, 62, 0, 0, 340, 342, 3, 50, 25, 0, 341, 339, 1, 0, 0, 0, 342, 345, 1, 0, 0, 0, 343, 341, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 53, 1, 0, 0, 0, 345, 343, 1, 0, 0, 0, 346, 347, 7, 1, 0, 0, 347, 55, 1, 0, 0, 0, 348, 352, 5, 128, 0, 0, 349, 352, 3, 58, 29, 0, 350, 352, 3, 60, 30, 0, 351, 348, 1, 0, 0, 0, 351, 349, 1, 0, 0, 0, 351, 350, 1, 0, 0, 0, 352, 57, 1, 0, 0, 0, 353, 356, 5, 76, 0, 0, 354, 356, 5, 95, 0, 0, 355, 353, 1, 0, 0, 0, 355, 354, 1, 0, 0, 0, 356, 59, 1, 0, 0, 0, 357, 360, 5, 94, 0, 0, 358, 360, 5, 96, 0, 0, 359, 357, 1, 0, 0, 0, 359, 358, 1, 0, 0, 0, 360, 61, 1, 0, 0, 0, 361, 365, 3, 54, 27, 0, 362, 365, 3, 58, 29, 0, 363, 365, 3, 60, 30, 0, 364, 361, 1, 0, 0, 0, 364, 362, 1, 0, 0, 0, 364, 363, 1, 0, 0, 0, 365, 63, 1, 0, 0, 0, 366, 367, 5, 11, 0, 0, 367, 368, 3, 144, 72, 0, 368, 65, 1, 0, 0, 0, 369, 370, 5, 14, 0, 0, 370, 375, 3, 68, 34, 0, 371, 372, 5, 62, 0, 0, 372, 374, 3, 68, 34, 0, 373, 371, 1, 0, 0, 0, 374, 377, 1, 0, 0, 0, 375, 373, 1, 0, 0, 0, 375, 376, 1, 0, 0, 0, 376, 67, 1, 0, 0, 0, 377, 375, 1, 0, 0, 0, 378, 380, 3, 124, 62, 0, 379, 381, 7, 2, 0, 0, 380, 379, 1, 0, 0, 0, 380, 381, 1, 0, 0, 0, 381, 384, 1, 0, 0, 0, 382, 383, 5, 73, 0, 0, 383, 385, 7, 3, 0, 0, 384, 382, 1, 0, 0, 0, 384, 385, 1, 0, 0, 0, 385, 69, 1, 0, 0, 0, 386, 387, 5, 29, 0, 0, 387, 388, 3, 52, 26, 0, 388, 71, 1, 0, 0, 0, 389, 390, 5, 28, 0, 0, 390, 391, 3, 52, 26, 0, 391, 73, 1, 0, 0, 0, 392, 393, 5, 32, 0, 0, 393, 398, 3, 76, 38, 0, 394, 395, 5, 62, 0, 0, 395, 397, 3, 76, 38, 0, 396, 394, 1, 0, 0, 0, 397, 400, 1, 0, 0, 0, 398, 396, 1, 0, 0, 0, 398, 399, 1, 0, 0, 0, 399, 75, 1, 0, 0, 0, 400, 398, 1, 0, 0, 0, 401, 402, 3, 50, 25, 0, 402, 403, 5, 132, 0, 0, 403, 404, 3, 50, 25, 0, 404, 410, 1, 0, 0, 0, 405, 406, 3, 50, 25, 0, 406, 407, 5, 58, 0, 0, 407, 408, 3, 50, 25, 0, 408, 410, 1, 0, 0, 0, 409, 401, 1, 0, 0, 0, 409, 405, 1, 0, 0, 0, 410, 77, 1, 0, 0, 0, 411, 412, 5, 8, 0, 0, 412, 413, 3, 134, 67, 0, 413, 415, 3, 154, 77, 0, 414, 416, 3, 84, 42, 0, 415, 414, 1, 0, 0, 0, 415, 416, 1, 0, 0, 0, 416, 79, 1, 0, 0, 0, 417, 418, 5, 10, 0, 0, 418, 419, 3, 134, 67, 0, 419, 420, 3, 154, 77, 0, 420, 81, 1, 0, 0, 0, 421, 422, 5, 27, 0, 0, 422, 423, 3, 48, 24, 0, 423, 83, 1, 0, 0, 0, 424, 429, 3, 86, 43, 0, 425, 426, 5, 62, 0, 0, 426, 428, 3, 86, 43, 0, 427, 425, 1, 0, 0, 0, 428, 431, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 85, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 432, 433, 3, 54, 27, 0, 433, 434, 5, 58, 0, 0, 434, 435, 3, 144, 72, 0, 435, 87, 1, 0, 0, 0, 436, 437, 5, 6, 0, 0, 437, 438, 3, 90, 45, 0, 438, 89, 1, 0, 0, 0, 439, 440, 5, 97, 0, 0, 440, 441, 3, 2, 1, 0, 441, 442, 5, 98, 0, 0, 442, 91, 1, 0, 0, 0, 443, 444, 5, 33, 0, 0, 444, 445, 5, 136, 0, 0, 445, 93, 1, 0, 0, 0, 446, 447, 5, 5, 0, 0, 447, 450, 5, 38, 0, 0, 448, 449, 5, 74, 0, 0, 449, 451, 3, 50, 25, 0, 450, 448, 1, 0, 0, 0, 450, 451, 1, 0, 0, 0, 451, 461, 1, 0, 0, 0, 452, 453, 5, 79, 0, 0, 453, 458, 3, 96, 48, 0, 454, 455, 5, 62, 0, 0, 455, 457, 3, 96, 48, 0, 456, 454, 1, 0, 0, 0, 457, 460, 1, 0, 0, 0, 458, 456, 1, 0, 0, 0, 458, 459, 1, 0, 0, 0, 459, 462, 1, 0, 0, 0, 460, 458, 1, 0, 0, 0, 461, 452, 1, 0, 0, 0, 461, 462, 1, 0, 0, 0, 462, 95, 1, 0, 0, 0, 463, 464, 3, 50, 25, 0, 464, 465, 5, 58, 0, 0, 465, 467, 1, 0, 0, 0, 466, 463, 1, 0, 0, 0, 466, 467, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 469, 3, 50, 25, 0, 469, 97, 1, 0, 0, 0, 470, 471, 5, 13, 0, 0, 471, 472, 3, 144, 72, 0, 472, 99, 1, 0, 0, 0, 473, 474, 5, 26, 0, 0, 474, 475, 3, 28, 14, 0, 475, 476, 5, 74, 0, 0, 476, 477, 3, 52, 26, 0, 477, 101, 1, 0, 0, 0, 478, 479, 5, 17, 0, 0, 479, 482, 3, 44, 22, 0, 480, 481, 5, 59, 0, 0, 481, 483, 3, 14, 7, 0, 482, 480, 1, 0, 0, 0, 482, 483, 1, 0, 0, 0, 483, 103, 1, 0, 0, 0, 484, 485, 5, 4, 0, 0, 485, 488, 3, 48, 24, 0, 486, 487, 5, 74, 0, 0, 487, 489, 3, 48, 24, 0, 488, 486, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 495, 1, 0, 0, 0, 490, 491, 5, 132, 0, 0, 491, 492, 3, 48, 24, 0, 492, 493, 5, 62, 0, 0, 493, 494, 3, 48, 24, 0, 494, 496, 1, 0, 0, 0, 495, 490, 1, 0, 0, 0, 495, 496, 1, 0, 0, 0, 496, 105, 1, 0, 0, 0, 497, 498, 5, 30, 0, 0, 498, 499, 3, 52, 26, 0, 499, 107, 1, 0, 0, 0, 500, 501, 5, 21, 0, 0, 501, 502, 3, 110, 55, 0, 502, 109, 1, 0, 0, 0, 503, 505, 3, 112, 56, 0, 504, 503, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 506, 507, 1, 0, 0, 0, 507, 111, 1, 0, 0, 0, 508, 509, 5, 99, 0, 0, 509, 510, 3, 114, 57, 0, 510, 511, 5, 100, 0, 0, 511, 113, 1, 0, 0, 0, 512, 513, 6, 57, -1, 0, 513, 514, 3, 116, 58, 0, 514, 520, 1, 0, 0, 0, 515, 516, 10, 1, 0, 0, 516, 517, 5, 52, 0, 0, 517, 519, 3, 116, 58, 0, 518, 515, 1, 0, 0, 0, 519, 522, 1, 0, 0, 0, 520, 518, 1, 0, 0, 0, 520, 521, 1, 0, 0, 0, 521, 115, 1, 0, 0, 0, 522, 520, 1, 0, 0, 0, 523, 524, 3, 6, 3, 0, 524, 117, 1, 0, 0, 0, 525, 526, 5, 31, 0, 0, 526, 119, 1, 0, 0, 0, 527, 528, 5, 18, 0, 0, 528, 529, 3, 144, 72, 0, 529, 530, 5, 74, 0, 0, 530, 533, 3, 18, 9, 0, 531, 532, 5, 79, 0, 0, 532, 534, 3, 62, 31, 0, 533, 531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 121, 1, 0, 0, 0, 535, 539, 5, 7, 0, 0, 536, 537, 3, 48, 24, 0, 537, 538, 5, 58, 0, 0, 538, 540, 1, 0, 0, 0, 539, 536, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 541, 1, 0, 0, 0, 541, 542, 3, 134, 67, 0, 542, 543, 5, 79, 0, 0, 543, 544, 3, 62, 31, 0, 544, 123, 1, 0, 0, 0, 545, 546, 6, 62, -1, 0, 546, 547, 5, 71, 0, 0, 547, 575, 3, 124, 62, 8, 548, 575, 3, 130, 65, 0, 549, 575, 3, 126, 63, 0, 550, 552, 3, 130, 65, 0, 551, 553, 5, 71, 0, 0, 552, 551, 1, 0, 0, 0, 552, 553, 1, 0, 0, 0, 553, 554, 1, 0, 0, 0, 554, 555, 5, 67, 0, 0, 555, 556, 5, 99, 0, 0, 556, 561, 3, 130, 65, 0, 557, 558, 5, 62, 0, 0, 558, 560, 3, 130, 65, 0, 559, 557, 1, 0, 0, 0, 560, 563, 1, 0, 0, 0, 561, 559, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 564, 1, 0, 0, 0, 563, 561, 1, 0, 0, 0, 564, 565, 5, 100, 0, 0, 565, 575, 1, 0, 0, 0, 566, 567, 3, 130, 65, 0, 567, 569, 5, 68, 0, 0, 568, 570, 5, 71, 0, 0, 569, 568, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 571, 1, 0, 0, 0, 571, 572, 5, 72, 0, 0, 572, 575, 1, 0, 0, 0, 573, 575, 3, 128, 64, 0, 574, 545, 1, 0, 0, 0, 574, 548, 1, 0, 0, 0, 574, 549, 1, 0, 0, 0, 574, 550, 1, 0, 0, 0, 574, 566, 1, 0, 0, 0, 574, 573, 1, 0, 0, 0, 575, 584, 1, 0, 0, 0, 576, 577, 10, 5, 0, 0, 577, 578, 5, 56, 0, 0, 578, 583, 3, 124, 62, 6, 579, 580, 10, 4, 0, 0, 580, 581, 5, 75, 0, 0, 581, 583, 3, 124, 62, 5, 582, 576, 1, 0, 0, 0, 582, 579, 1, 0, 0, 0, 583, 586, 1, 0, 0, 0, 584, 582, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 125, 1, 0, 0, 0, 586, 584, 1, 0, 0, 0, 587, 589, 3, 130, 65, 0, 588, 590, 5, 71, 0, 0, 589, 588, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 592, 5, 70, 0, 0, 592, 593, 3, 154, 77, 0, 593, 618, 1, 0, 0, 0, 594, 596, 3, 130, 65, 0, 595, 597, 5, 71, 0, 0, 596, 595, 1, 0, 0, 0, 596, 597, 1, 0, 0, 0, 597, 598, 1, 0, 0, 0, 598, 599, 5, 77, 0, 0, 599, 600, 3, 154, 77, 0, 600, 618, 1, 0, 0, 0, 601, 603, 3, 130, 65, 0, 602, 604, 5, 71, 0, 0, 603, 602, 1, 0, 0, 0, 603, 604, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 5, 70, 0, 0, 606, 607, 5, 99, 0, 0, 607, 612, 3, 154, 77, 0, 608, 609, 5, 62, 0, 0, 609, 611, 3, 154, 77, 0, 610, 608, 1, 0, 0, 0, 611, 614, 1, 0, 0, 0, 612, 610, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 615, 1, 0, 0, 0, 614, 612, 1, 0, 0, 0, 615, 616, 5, 100, 0, 0, 616, 618, 1, 0, 0, 0, 617, 587, 1, 0, 0, 0, 617, 594, 1, 0, 0, 0, 617, 601, 1, 0, 0, 0, 618, 127, 1, 0, 0, 0, 619, 622, 3, 48, 24, 0, 620, 621, 5, 60, 0, 0, 621, 623, 3, 10, 5, 0, 622, 620, 1, 0, 0, 0, 622, 623, 1, 0, 0, 0, 623, 624, 1, 0, 0, 0, 624, 625, 5, 61, 0, 0, 625, 626, 3, 144, 72, 0, 626, 129, 1, 0, 0, 0, 627, 633, 3, 132, 66, 0, 628, 629, 3, 132, 66, 0, 629, 630, 3, 156, 78, 0, 630, 631, 3, 132, 66, 0, 631, 633, 1, 0, 0, 0, 632, 627, 1, 0, 0, 0, 632, 628, 1, 0, 0, 0, 633, 131, 1, 0, 0, 0, 634, 635, 6, 66, -1, 0, 635, 639, 3, 134, 67, 0, 636, 637, 7, 4, 0, 0, 637, 639, 3, 132, 66, 3, 638, 634, 1, 0, 0, 0, 638, 636, 1, 0, 0, 0, 639, 648, 1, 0, 0, 0, 640, 641, 10, 2, 0, 0, 641, 642, 7, 5, 0, 0, 642, 647, 3, 132, 66, 3, 643, 644, 10, 1, 0, 0, 644, 645, 7, 4, 0, 0, 645, 647, 3, 132, 66, 2, 646, 640, 1, 0, 0, 0, 646, 643, 1, 0, 0, 0, 647, 650, 1, 0, 0, 0, 648, 646, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 133, 1, 0, 0, 0, 650, 648, 1, 0, 0, 0, 651, 652, 6, 67, -1, 0, 652, 660, 3, 144, 72, 0, 653, 660, 3, 48, 24, 0, 654, 660, 3, 136, 68, 0, 655, 656, 5, 99, 0, 0, 656, 657, 3, 124, 62, 0, 657, 658, 5, 100, 0, 0, 658, 660, 1, 0, 0, 0, 659, 651, 1, 0, 0, 0, 659, 653, 1, 0, 0, 0, 659, 654, 1, 0, 0, 0, 659, 655, 1, 0, 0, 0, 660, 666, 1, 0, 0, 0, 661, 662, 10, 1, 0, 0, 662, 663, 5, 60, 0, 0, 663, 665, 3, 10, 5, 0, 664, 661, 1, 0, 0, 0, 665, 668, 1, 0, 0, 0, 666, 664, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 135, 1, 0, 0, 0, 668, 666, 1, 0, 0, 0, 669, 670, 3, 138, 69, 0, 670, 684, 5, 99, 0, 0, 671, 685, 5, 89, 0, 0, 672, 677, 3, 124, 62, 0, 673, 674, 5, 62, 0, 0, 674, 676, 3, 124, 62, 0, 675, 673, 1, 0, 0, 0, 676, 679, 1, 0, 0, 0, 677, 675, 1, 0, 0, 0, 677, 678, 1, 0, 0, 0, 678, 682, 1, 0, 0, 0, 679, 677, 1, 0, 0, 0, 680, 681, 5, 62, 0, 0, 681, 683, 3, 140, 70, 0, 682, 680, 1, 0, 0, 0, 682, 683, 1, 0, 0, 0, 683, 685, 1, 0, 0, 0, 684, 671, 1, 0, 0, 0, 684, 672, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 686, 1, 0, 0, 0, 686, 687, 5, 100, 0, 0, 687, 137, 1, 0, 0, 0, 688, 689, 3, 62, 31, 0, 689, 139, 1, 0, 0, 0, 690, 691, 5, 92, 0, 0, 691, 696, 3, 142, 71, 0, 692, 693, 5, 62, 0, 0, 693, 695, 3, 142, 71, 0, 694, 692, 1, 0, 0, 0, 695, 698, 1, 0, 0, 0, 696, 694, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 699, 1, 0, 0, 0, 698, 696, 1, 0, 0, 0, 699, 700, 5, 93, 0, 0, 700, 141, 1, 0, 0, 0, 701, 702, 3, 154, 77, 0, 702, 703, 5, 61, 0, 0, 703, 704, 3, 144, 72, 0, 704, 143, 1, 0, 0, 0, 705, 748, 5, 72, 0, 0, 706, 707, 3, 152, 76, 0, 707, 708, 5, 101, 0, 0, 708, 748, 1, 0, 0, 0, 709, 748, 3, 150, 75, 0, 710, 748, 3, 152, 76, 0, 711, 748, 3, 146, 73, 0, 712, 748, 3, 58, 29, 0, 713, 748, 3, 154, 77, 0, 714, 715, 5, 97, 0, 0, 715, 720, 3, 148, 74, 0, 716, 717, 5, 62, 0, 0, 717, 719, 3, 148, 74, 0, 718, 716, 1, 0, 0, 0, 719, 722, 1, 0, 0, 0, 720, 718, 1, 0, 0, 0, 720, 721, 1, 0, 0, 0, 721, 723, 1, 0, 0, 0, 722, 720, 1, 0, 0, 0, 723, 724, 5, 98, 0, 0, 724, 748, 1, 0, 0, 0, 725, 726, 5, 97, 0, 0, 726, 731, 3, 146, 73, 0, 727, 728, 5, 62, 0, 0, 728, 730, 3, 146, 73, 0, 729, 727, 1, 0, 0, 0, 730, 733, 1, 0, 0, 0, 731, 729, 1, 0, 0, 0, 731, 732, 1, 0, 0, 0, 732, 734, 1, 0, 0, 0, 733, 731, 1, 0, 0, 0, 734, 735, 5, 98, 0, 0, 735, 748, 1, 0, 0, 0, 736, 737, 5, 97, 0, 0, 737, 742, 3, 154, 77, 0, 738, 739, 5, 62, 0, 0, 739, 741, 3, 154, 77, 0, 740, 738, 1, 0, 0, 0, 741, 744, 1, 0, 0, 0, 742, 740, 1, 0, 0, 0, 742, 743, 1, 0, 0, 0, 743, 745, 1, 0, 0, 0, 744, 742, 1, 0, 0, 0, 745, 746, 5, 98, 0, 0, 746, 748, 1, 0, 0, 0, 747, 705, 1, 0, 0, 0, 747, 706, 1, 0, 0, 0, 747, 709, 1, 0, 0, 0, 747, 710, 1, 0, 0, 0, 747, 711, 1, 0, 0, 0, 747, 712, 1, 0, 0, 0, 747, 713, 1, 0, 0, 0, 747, 714, 1, 0, 0, 0, 747, 725, 1, 0, 0, 0, 747, 736, 1, 0, 0, 0, 748, 145, 1, 0, 0, 0, 749, 750, 7, 6, 0, 0, 750, 147, 1, 0, 0, 0, 751, 754, 3, 150, 75, 0, 752, 754, 3, 152, 76, 0, 753, 751, 1, 0, 0, 0, 753, 752, 1, 0, 0, 0, 754, 149, 1, 0, 0, 0, 755, 757, 7, 4, 0, 0, 756, 755, 1, 0, 0, 0, 756, 757, 1, 0, 0, 0, 757, 758, 1, 0, 0, 0, 758, 759, 5, 55, 0, 0, 759, 151, 1, 0, 0, 0, 760, 762, 7, 4, 0, 0, 761, 760, 1, 0, 0, 0, 761, 762, 1, 0, 0, 0, 762, 763, 1, 0, 0, 0, 763, 764, 5, 54, 0, 0, 764, 153, 1, 0, 0, 0, 765, 766, 5, 53, 0, 0, 766, 155, 1, 0, 0, 0, 767, 768, 7, 7, 0, 0, 768, 157, 1, 0, 0, 0, 769, 770, 7, 8, 0, 0, 770, 771, 5, 114, 0, 0, 771, 772, 3, 160, 80, 0, 772, 773, 3, 162, 81, 0, 773, 159, 1, 0, 0, 0, 774, 775, 3, 28, 14, 0, 775, 161, 1, 0, 0, 0, 776, 777, 5, 74, 0, 0, 777, 782, 3, 164, 82, 0, 778, 779, 5, 62, 0, 0, 779, 781, 3, 164, 82, 0, 780, 778, 1, 0, 0, 0, 781, 784, 1, 0, 0, 0, 782, 780, 1, 0, 0, 0, 782, 783, 1, 0, 0, 0, 783, 163, 1, 0, 0, 0, 784, 782, 1, 0, 0, 0, 785, 786, 3, 130, 65, 0, 786, 165, 1, 0, 0, 0, 70, 177, 186, 215, 230, 236, 245, 251, 264, 268, 279, 295, 303, 307, 314, 320, 327, 335, 343, 351, 355, 359, 364, 375, 380, 384, 398, 409, 415, 429, 450, 458, 461, 466, 482, 488, 495, 506, 520, 533, 539, 552, 561, 569, 574, 582, 584, 589, 596, 603, 612, 617, 622, 632, 638, 646, 648, 659, 666, 677, 682, 684, 696, 720, 731, 742, 747, 753, 756, 761, 782] \ No newline at end of file +[4, 1, 139, 810, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 182, 8, 1, 10, 1, 12, 1, 185, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 193, 8, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 3, 3, 222, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 5, 7, 235, 8, 7, 10, 7, 12, 7, 238, 9, 7, 1, 8, 1, 8, 1, 8, 3, 8, 243, 8, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 5, 9, 250, 8, 9, 10, 9, 12, 9, 253, 9, 9, 1, 10, 1, 10, 1, 10, 3, 10, 258, 8, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 5, 13, 269, 8, 13, 10, 13, 12, 13, 272, 9, 13, 1, 13, 3, 13, 275, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 286, 8, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 300, 8, 19, 10, 19, 12, 19, 303, 9, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 310, 8, 21, 1, 21, 1, 21, 3, 21, 314, 8, 21, 1, 22, 1, 22, 1, 22, 5, 22, 319, 8, 22, 10, 22, 12, 22, 322, 9, 22, 1, 23, 1, 23, 1, 23, 3, 23, 327, 8, 23, 1, 24, 1, 24, 1, 24, 5, 24, 332, 8, 24, 10, 24, 12, 24, 335, 9, 24, 1, 25, 1, 25, 1, 25, 5, 25, 340, 8, 25, 10, 25, 12, 25, 343, 9, 25, 1, 26, 1, 26, 1, 26, 5, 26, 348, 8, 26, 10, 26, 12, 26, 351, 9, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 3, 28, 358, 8, 28, 1, 29, 1, 29, 3, 29, 362, 8, 29, 1, 30, 1, 30, 3, 30, 366, 8, 30, 1, 31, 1, 31, 1, 31, 3, 31, 371, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 5, 33, 380, 8, 33, 10, 33, 12, 33, 383, 9, 33, 1, 34, 1, 34, 3, 34, 387, 8, 34, 1, 34, 1, 34, 3, 34, 391, 8, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 403, 8, 37, 10, 37, 12, 37, 406, 9, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 416, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 422, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 5, 42, 434, 8, 42, 10, 42, 12, 42, 437, 9, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 457, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 463, 8, 47, 10, 47, 12, 47, 466, 9, 47, 3, 47, 468, 8, 47, 1, 48, 1, 48, 1, 48, 3, 48, 473, 8, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 489, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 495, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 502, 8, 52, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 55, 4, 55, 511, 8, 55, 11, 55, 12, 55, 512, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 525, 8, 57, 10, 57, 12, 57, 528, 9, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 5, 60, 537, 8, 60, 10, 60, 12, 60, 540, 9, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 548, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 556, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 562, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 575, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 582, 8, 65, 10, 65, 12, 65, 585, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 592, 8, 65, 1, 65, 1, 65, 1, 65, 3, 65, 597, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 605, 8, 65, 10, 65, 12, 65, 608, 9, 65, 1, 66, 1, 66, 3, 66, 612, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 619, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 626, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 633, 8, 66, 10, 66, 12, 66, 636, 9, 66, 1, 66, 1, 66, 3, 66, 640, 8, 66, 1, 67, 1, 67, 1, 67, 3, 67, 645, 8, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 655, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 661, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 669, 8, 69, 10, 69, 12, 69, 672, 9, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 682, 8, 70, 1, 70, 1, 70, 1, 70, 5, 70, 687, 8, 70, 10, 70, 12, 70, 690, 9, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 698, 8, 71, 10, 71, 12, 71, 701, 9, 71, 1, 71, 1, 71, 3, 71, 705, 8, 71, 3, 71, 707, 8, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 717, 8, 73, 10, 73, 12, 73, 720, 9, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 741, 8, 75, 10, 75, 12, 75, 744, 9, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 752, 8, 75, 10, 75, 12, 75, 755, 9, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 763, 8, 75, 10, 75, 12, 75, 766, 9, 75, 1, 75, 1, 75, 3, 75, 770, 8, 75, 1, 76, 1, 76, 1, 77, 1, 77, 3, 77, 776, 8, 77, 1, 78, 3, 78, 779, 8, 78, 1, 78, 1, 78, 1, 79, 3, 79, 784, 8, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 5, 84, 803, 8, 84, 10, 84, 12, 84, 806, 9, 84, 1, 85, 1, 85, 1, 85, 0, 5, 2, 114, 130, 138, 140, 86, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 0, 9, 2, 0, 53, 53, 107, 107, 1, 0, 101, 102, 2, 0, 57, 57, 63, 63, 2, 0, 66, 66, 69, 69, 1, 0, 87, 88, 1, 0, 89, 91, 2, 0, 65, 65, 78, 78, 2, 0, 80, 80, 82, 86, 2, 0, 22, 22, 24, 25, 837, 0, 172, 1, 0, 0, 0, 2, 175, 1, 0, 0, 0, 4, 192, 1, 0, 0, 0, 6, 221, 1, 0, 0, 0, 8, 223, 1, 0, 0, 0, 10, 226, 1, 0, 0, 0, 12, 228, 1, 0, 0, 0, 14, 231, 1, 0, 0, 0, 16, 242, 1, 0, 0, 0, 18, 246, 1, 0, 0, 0, 20, 254, 1, 0, 0, 0, 22, 259, 1, 0, 0, 0, 24, 262, 1, 0, 0, 0, 26, 265, 1, 0, 0, 0, 28, 285, 1, 0, 0, 0, 30, 287, 1, 0, 0, 0, 32, 289, 1, 0, 0, 0, 34, 291, 1, 0, 0, 0, 36, 293, 1, 0, 0, 0, 38, 295, 1, 0, 0, 0, 40, 304, 1, 0, 0, 0, 42, 307, 1, 0, 0, 0, 44, 315, 1, 0, 0, 0, 46, 323, 1, 0, 0, 0, 48, 328, 1, 0, 0, 0, 50, 336, 1, 0, 0, 0, 52, 344, 1, 0, 0, 0, 54, 352, 1, 0, 0, 0, 56, 357, 1, 0, 0, 0, 58, 361, 1, 0, 0, 0, 60, 365, 1, 0, 0, 0, 62, 370, 1, 0, 0, 0, 64, 372, 1, 0, 0, 0, 66, 375, 1, 0, 0, 0, 68, 384, 1, 0, 0, 0, 70, 392, 1, 0, 0, 0, 72, 395, 1, 0, 0, 0, 74, 398, 1, 0, 0, 0, 76, 415, 1, 0, 0, 0, 78, 417, 1, 0, 0, 0, 80, 423, 1, 0, 0, 0, 82, 427, 1, 0, 0, 0, 84, 430, 1, 0, 0, 0, 86, 438, 1, 0, 0, 0, 88, 442, 1, 0, 0, 0, 90, 445, 1, 0, 0, 0, 92, 449, 1, 0, 0, 0, 94, 452, 1, 0, 0, 0, 96, 472, 1, 0, 0, 0, 98, 476, 1, 0, 0, 0, 100, 479, 1, 0, 0, 0, 102, 484, 1, 0, 0, 0, 104, 490, 1, 0, 0, 0, 106, 503, 1, 0, 0, 0, 108, 506, 1, 0, 0, 0, 110, 510, 1, 0, 0, 0, 112, 514, 1, 0, 0, 0, 114, 518, 1, 0, 0, 0, 116, 529, 1, 0, 0, 0, 118, 531, 1, 0, 0, 0, 120, 533, 1, 0, 0, 0, 122, 541, 1, 0, 0, 0, 124, 547, 1, 0, 0, 0, 126, 549, 1, 0, 0, 0, 128, 557, 1, 0, 0, 0, 130, 596, 1, 0, 0, 0, 132, 639, 1, 0, 0, 0, 134, 641, 1, 0, 0, 0, 136, 654, 1, 0, 0, 0, 138, 660, 1, 0, 0, 0, 140, 681, 1, 0, 0, 0, 142, 691, 1, 0, 0, 0, 144, 710, 1, 0, 0, 0, 146, 712, 1, 0, 0, 0, 148, 723, 1, 0, 0, 0, 150, 769, 1, 0, 0, 0, 152, 771, 1, 0, 0, 0, 154, 775, 1, 0, 0, 0, 156, 778, 1, 0, 0, 0, 158, 783, 1, 0, 0, 0, 160, 787, 1, 0, 0, 0, 162, 789, 1, 0, 0, 0, 164, 791, 1, 0, 0, 0, 166, 796, 1, 0, 0, 0, 168, 798, 1, 0, 0, 0, 170, 807, 1, 0, 0, 0, 172, 173, 3, 2, 1, 0, 173, 174, 5, 0, 0, 1, 174, 1, 1, 0, 0, 0, 175, 176, 6, 1, -1, 0, 176, 177, 3, 4, 2, 0, 177, 183, 1, 0, 0, 0, 178, 179, 10, 1, 0, 0, 179, 180, 5, 52, 0, 0, 180, 182, 3, 6, 3, 0, 181, 178, 1, 0, 0, 0, 182, 185, 1, 0, 0, 0, 183, 181, 1, 0, 0, 0, 183, 184, 1, 0, 0, 0, 184, 3, 1, 0, 0, 0, 185, 183, 1, 0, 0, 0, 186, 193, 3, 88, 44, 0, 187, 193, 3, 22, 11, 0, 188, 193, 3, 12, 6, 0, 189, 193, 3, 92, 46, 0, 190, 191, 4, 2, 1, 0, 191, 193, 3, 24, 12, 0, 192, 186, 1, 0, 0, 0, 192, 187, 1, 0, 0, 0, 192, 188, 1, 0, 0, 0, 192, 189, 1, 0, 0, 0, 192, 190, 1, 0, 0, 0, 193, 5, 1, 0, 0, 0, 194, 222, 3, 40, 20, 0, 195, 222, 3, 8, 4, 0, 196, 222, 3, 70, 35, 0, 197, 222, 3, 64, 32, 0, 198, 222, 3, 42, 21, 0, 199, 222, 3, 66, 33, 0, 200, 222, 3, 72, 36, 0, 201, 222, 3, 74, 37, 0, 202, 222, 3, 78, 39, 0, 203, 222, 3, 80, 40, 0, 204, 222, 3, 94, 47, 0, 205, 222, 3, 82, 41, 0, 206, 222, 3, 164, 82, 0, 207, 222, 3, 104, 52, 0, 208, 222, 3, 128, 64, 0, 209, 222, 3, 98, 49, 0, 210, 222, 3, 108, 54, 0, 211, 212, 4, 3, 2, 0, 212, 222, 3, 102, 51, 0, 213, 214, 4, 3, 3, 0, 214, 222, 3, 100, 50, 0, 215, 216, 4, 3, 4, 0, 216, 222, 3, 106, 53, 0, 217, 218, 4, 3, 5, 0, 218, 222, 3, 126, 63, 0, 219, 220, 4, 3, 6, 0, 220, 222, 3, 118, 59, 0, 221, 194, 1, 0, 0, 0, 221, 195, 1, 0, 0, 0, 221, 196, 1, 0, 0, 0, 221, 197, 1, 0, 0, 0, 221, 198, 1, 0, 0, 0, 221, 199, 1, 0, 0, 0, 221, 200, 1, 0, 0, 0, 221, 201, 1, 0, 0, 0, 221, 202, 1, 0, 0, 0, 221, 203, 1, 0, 0, 0, 221, 204, 1, 0, 0, 0, 221, 205, 1, 0, 0, 0, 221, 206, 1, 0, 0, 0, 221, 207, 1, 0, 0, 0, 221, 208, 1, 0, 0, 0, 221, 209, 1, 0, 0, 0, 221, 210, 1, 0, 0, 0, 221, 211, 1, 0, 0, 0, 221, 213, 1, 0, 0, 0, 221, 215, 1, 0, 0, 0, 221, 217, 1, 0, 0, 0, 221, 219, 1, 0, 0, 0, 222, 7, 1, 0, 0, 0, 223, 224, 5, 16, 0, 0, 224, 225, 3, 130, 65, 0, 225, 9, 1, 0, 0, 0, 226, 227, 3, 54, 27, 0, 227, 11, 1, 0, 0, 0, 228, 229, 5, 12, 0, 0, 229, 230, 3, 14, 7, 0, 230, 13, 1, 0, 0, 0, 231, 236, 3, 16, 8, 0, 232, 233, 5, 62, 0, 0, 233, 235, 3, 16, 8, 0, 234, 232, 1, 0, 0, 0, 235, 238, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237, 15, 1, 0, 0, 0, 238, 236, 1, 0, 0, 0, 239, 240, 3, 48, 24, 0, 240, 241, 5, 58, 0, 0, 241, 243, 1, 0, 0, 0, 242, 239, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 245, 3, 130, 65, 0, 245, 17, 1, 0, 0, 0, 246, 251, 3, 20, 10, 0, 247, 248, 5, 62, 0, 0, 248, 250, 3, 20, 10, 0, 249, 247, 1, 0, 0, 0, 250, 253, 1, 0, 0, 0, 251, 249, 1, 0, 0, 0, 251, 252, 1, 0, 0, 0, 252, 19, 1, 0, 0, 0, 253, 251, 1, 0, 0, 0, 254, 257, 3, 48, 24, 0, 255, 256, 5, 58, 0, 0, 256, 258, 3, 130, 65, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 21, 1, 0, 0, 0, 259, 260, 5, 19, 0, 0, 260, 261, 3, 26, 13, 0, 261, 23, 1, 0, 0, 0, 262, 263, 5, 20, 0, 0, 263, 264, 3, 26, 13, 0, 264, 25, 1, 0, 0, 0, 265, 270, 3, 28, 14, 0, 266, 267, 5, 62, 0, 0, 267, 269, 3, 28, 14, 0, 268, 266, 1, 0, 0, 0, 269, 272, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 270, 271, 1, 0, 0, 0, 271, 274, 1, 0, 0, 0, 272, 270, 1, 0, 0, 0, 273, 275, 3, 38, 19, 0, 274, 273, 1, 0, 0, 0, 274, 275, 1, 0, 0, 0, 275, 27, 1, 0, 0, 0, 276, 277, 3, 30, 15, 0, 277, 278, 5, 61, 0, 0, 278, 279, 3, 34, 17, 0, 279, 286, 1, 0, 0, 0, 280, 281, 3, 34, 17, 0, 281, 282, 5, 60, 0, 0, 282, 283, 3, 32, 16, 0, 283, 286, 1, 0, 0, 0, 284, 286, 3, 36, 18, 0, 285, 276, 1, 0, 0, 0, 285, 280, 1, 0, 0, 0, 285, 284, 1, 0, 0, 0, 286, 29, 1, 0, 0, 0, 287, 288, 5, 107, 0, 0, 288, 31, 1, 0, 0, 0, 289, 290, 5, 107, 0, 0, 290, 33, 1, 0, 0, 0, 291, 292, 5, 107, 0, 0, 292, 35, 1, 0, 0, 0, 293, 294, 7, 0, 0, 0, 294, 37, 1, 0, 0, 0, 295, 296, 5, 106, 0, 0, 296, 301, 5, 107, 0, 0, 297, 298, 5, 62, 0, 0, 298, 300, 5, 107, 0, 0, 299, 297, 1, 0, 0, 0, 300, 303, 1, 0, 0, 0, 301, 299, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 39, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 304, 305, 5, 9, 0, 0, 305, 306, 3, 14, 7, 0, 306, 41, 1, 0, 0, 0, 307, 309, 5, 15, 0, 0, 308, 310, 3, 44, 22, 0, 309, 308, 1, 0, 0, 0, 309, 310, 1, 0, 0, 0, 310, 313, 1, 0, 0, 0, 311, 312, 5, 59, 0, 0, 312, 314, 3, 14, 7, 0, 313, 311, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 43, 1, 0, 0, 0, 315, 320, 3, 46, 23, 0, 316, 317, 5, 62, 0, 0, 317, 319, 3, 46, 23, 0, 318, 316, 1, 0, 0, 0, 319, 322, 1, 0, 0, 0, 320, 318, 1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 45, 1, 0, 0, 0, 322, 320, 1, 0, 0, 0, 323, 326, 3, 16, 8, 0, 324, 325, 5, 16, 0, 0, 325, 327, 3, 130, 65, 0, 326, 324, 1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 47, 1, 0, 0, 0, 328, 333, 3, 62, 31, 0, 329, 330, 5, 64, 0, 0, 330, 332, 3, 62, 31, 0, 331, 329, 1, 0, 0, 0, 332, 335, 1, 0, 0, 0, 333, 331, 1, 0, 0, 0, 333, 334, 1, 0, 0, 0, 334, 49, 1, 0, 0, 0, 335, 333, 1, 0, 0, 0, 336, 341, 3, 56, 28, 0, 337, 338, 5, 64, 0, 0, 338, 340, 3, 56, 28, 0, 339, 337, 1, 0, 0, 0, 340, 343, 1, 0, 0, 0, 341, 339, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 51, 1, 0, 0, 0, 343, 341, 1, 0, 0, 0, 344, 349, 3, 50, 25, 0, 345, 346, 5, 62, 0, 0, 346, 348, 3, 50, 25, 0, 347, 345, 1, 0, 0, 0, 348, 351, 1, 0, 0, 0, 349, 347, 1, 0, 0, 0, 349, 350, 1, 0, 0, 0, 350, 53, 1, 0, 0, 0, 351, 349, 1, 0, 0, 0, 352, 353, 7, 1, 0, 0, 353, 55, 1, 0, 0, 0, 354, 358, 5, 128, 0, 0, 355, 358, 3, 58, 29, 0, 356, 358, 3, 60, 30, 0, 357, 354, 1, 0, 0, 0, 357, 355, 1, 0, 0, 0, 357, 356, 1, 0, 0, 0, 358, 57, 1, 0, 0, 0, 359, 362, 5, 76, 0, 0, 360, 362, 5, 95, 0, 0, 361, 359, 1, 0, 0, 0, 361, 360, 1, 0, 0, 0, 362, 59, 1, 0, 0, 0, 363, 366, 5, 94, 0, 0, 364, 366, 5, 96, 0, 0, 365, 363, 1, 0, 0, 0, 365, 364, 1, 0, 0, 0, 366, 61, 1, 0, 0, 0, 367, 371, 3, 54, 27, 0, 368, 371, 3, 58, 29, 0, 369, 371, 3, 60, 30, 0, 370, 367, 1, 0, 0, 0, 370, 368, 1, 0, 0, 0, 370, 369, 1, 0, 0, 0, 371, 63, 1, 0, 0, 0, 372, 373, 5, 11, 0, 0, 373, 374, 3, 150, 75, 0, 374, 65, 1, 0, 0, 0, 375, 376, 5, 14, 0, 0, 376, 381, 3, 68, 34, 0, 377, 378, 5, 62, 0, 0, 378, 380, 3, 68, 34, 0, 379, 377, 1, 0, 0, 0, 380, 383, 1, 0, 0, 0, 381, 379, 1, 0, 0, 0, 381, 382, 1, 0, 0, 0, 382, 67, 1, 0, 0, 0, 383, 381, 1, 0, 0, 0, 384, 386, 3, 130, 65, 0, 385, 387, 7, 2, 0, 0, 386, 385, 1, 0, 0, 0, 386, 387, 1, 0, 0, 0, 387, 390, 1, 0, 0, 0, 388, 389, 5, 73, 0, 0, 389, 391, 7, 3, 0, 0, 390, 388, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 69, 1, 0, 0, 0, 392, 393, 5, 29, 0, 0, 393, 394, 3, 52, 26, 0, 394, 71, 1, 0, 0, 0, 395, 396, 5, 28, 0, 0, 396, 397, 3, 52, 26, 0, 397, 73, 1, 0, 0, 0, 398, 399, 5, 32, 0, 0, 399, 404, 3, 76, 38, 0, 400, 401, 5, 62, 0, 0, 401, 403, 3, 76, 38, 0, 402, 400, 1, 0, 0, 0, 403, 406, 1, 0, 0, 0, 404, 402, 1, 0, 0, 0, 404, 405, 1, 0, 0, 0, 405, 75, 1, 0, 0, 0, 406, 404, 1, 0, 0, 0, 407, 408, 3, 50, 25, 0, 408, 409, 5, 132, 0, 0, 409, 410, 3, 50, 25, 0, 410, 416, 1, 0, 0, 0, 411, 412, 3, 50, 25, 0, 412, 413, 5, 58, 0, 0, 413, 414, 3, 50, 25, 0, 414, 416, 1, 0, 0, 0, 415, 407, 1, 0, 0, 0, 415, 411, 1, 0, 0, 0, 416, 77, 1, 0, 0, 0, 417, 418, 5, 8, 0, 0, 418, 419, 3, 140, 70, 0, 419, 421, 3, 160, 80, 0, 420, 422, 3, 84, 42, 0, 421, 420, 1, 0, 0, 0, 421, 422, 1, 0, 0, 0, 422, 79, 1, 0, 0, 0, 423, 424, 5, 10, 0, 0, 424, 425, 3, 140, 70, 0, 425, 426, 3, 160, 80, 0, 426, 81, 1, 0, 0, 0, 427, 428, 5, 27, 0, 0, 428, 429, 3, 48, 24, 0, 429, 83, 1, 0, 0, 0, 430, 435, 3, 86, 43, 0, 431, 432, 5, 62, 0, 0, 432, 434, 3, 86, 43, 0, 433, 431, 1, 0, 0, 0, 434, 437, 1, 0, 0, 0, 435, 433, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 85, 1, 0, 0, 0, 437, 435, 1, 0, 0, 0, 438, 439, 3, 54, 27, 0, 439, 440, 5, 58, 0, 0, 440, 441, 3, 150, 75, 0, 441, 87, 1, 0, 0, 0, 442, 443, 5, 6, 0, 0, 443, 444, 3, 90, 45, 0, 444, 89, 1, 0, 0, 0, 445, 446, 5, 97, 0, 0, 446, 447, 3, 2, 1, 0, 447, 448, 5, 98, 0, 0, 448, 91, 1, 0, 0, 0, 449, 450, 5, 33, 0, 0, 450, 451, 5, 136, 0, 0, 451, 93, 1, 0, 0, 0, 452, 453, 5, 5, 0, 0, 453, 456, 5, 38, 0, 0, 454, 455, 5, 74, 0, 0, 455, 457, 3, 50, 25, 0, 456, 454, 1, 0, 0, 0, 456, 457, 1, 0, 0, 0, 457, 467, 1, 0, 0, 0, 458, 459, 5, 79, 0, 0, 459, 464, 3, 96, 48, 0, 460, 461, 5, 62, 0, 0, 461, 463, 3, 96, 48, 0, 462, 460, 1, 0, 0, 0, 463, 466, 1, 0, 0, 0, 464, 462, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465, 468, 1, 0, 0, 0, 466, 464, 1, 0, 0, 0, 467, 458, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 95, 1, 0, 0, 0, 469, 470, 3, 50, 25, 0, 470, 471, 5, 58, 0, 0, 471, 473, 1, 0, 0, 0, 472, 469, 1, 0, 0, 0, 472, 473, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 475, 3, 50, 25, 0, 475, 97, 1, 0, 0, 0, 476, 477, 5, 13, 0, 0, 477, 478, 3, 150, 75, 0, 478, 99, 1, 0, 0, 0, 479, 480, 5, 26, 0, 0, 480, 481, 3, 28, 14, 0, 481, 482, 5, 74, 0, 0, 482, 483, 3, 52, 26, 0, 483, 101, 1, 0, 0, 0, 484, 485, 5, 17, 0, 0, 485, 488, 3, 44, 22, 0, 486, 487, 5, 59, 0, 0, 487, 489, 3, 14, 7, 0, 488, 486, 1, 0, 0, 0, 488, 489, 1, 0, 0, 0, 489, 103, 1, 0, 0, 0, 490, 491, 5, 4, 0, 0, 491, 494, 3, 48, 24, 0, 492, 493, 5, 74, 0, 0, 493, 495, 3, 48, 24, 0, 494, 492, 1, 0, 0, 0, 494, 495, 1, 0, 0, 0, 495, 501, 1, 0, 0, 0, 496, 497, 5, 132, 0, 0, 497, 498, 3, 48, 24, 0, 498, 499, 5, 62, 0, 0, 499, 500, 3, 48, 24, 0, 500, 502, 1, 0, 0, 0, 501, 496, 1, 0, 0, 0, 501, 502, 1, 0, 0, 0, 502, 105, 1, 0, 0, 0, 503, 504, 5, 30, 0, 0, 504, 505, 3, 52, 26, 0, 505, 107, 1, 0, 0, 0, 506, 507, 5, 21, 0, 0, 507, 508, 3, 110, 55, 0, 508, 109, 1, 0, 0, 0, 509, 511, 3, 112, 56, 0, 510, 509, 1, 0, 0, 0, 511, 512, 1, 0, 0, 0, 512, 510, 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 111, 1, 0, 0, 0, 514, 515, 5, 99, 0, 0, 515, 516, 3, 114, 57, 0, 516, 517, 5, 100, 0, 0, 517, 113, 1, 0, 0, 0, 518, 519, 6, 57, -1, 0, 519, 520, 3, 116, 58, 0, 520, 526, 1, 0, 0, 0, 521, 522, 10, 1, 0, 0, 522, 523, 5, 52, 0, 0, 523, 525, 3, 116, 58, 0, 524, 521, 1, 0, 0, 0, 525, 528, 1, 0, 0, 0, 526, 524, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 115, 1, 0, 0, 0, 528, 526, 1, 0, 0, 0, 529, 530, 3, 6, 3, 0, 530, 117, 1, 0, 0, 0, 531, 532, 5, 31, 0, 0, 532, 119, 1, 0, 0, 0, 533, 538, 3, 122, 61, 0, 534, 535, 5, 62, 0, 0, 535, 537, 3, 122, 61, 0, 536, 534, 1, 0, 0, 0, 537, 540, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 538, 539, 1, 0, 0, 0, 539, 121, 1, 0, 0, 0, 540, 538, 1, 0, 0, 0, 541, 542, 3, 54, 27, 0, 542, 543, 5, 58, 0, 0, 543, 544, 3, 124, 62, 0, 544, 123, 1, 0, 0, 0, 545, 548, 3, 150, 75, 0, 546, 548, 3, 54, 27, 0, 547, 545, 1, 0, 0, 0, 547, 546, 1, 0, 0, 0, 548, 125, 1, 0, 0, 0, 549, 550, 5, 18, 0, 0, 550, 551, 3, 150, 75, 0, 551, 552, 5, 74, 0, 0, 552, 555, 3, 18, 9, 0, 553, 554, 5, 79, 0, 0, 554, 556, 3, 120, 60, 0, 555, 553, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 127, 1, 0, 0, 0, 557, 561, 5, 7, 0, 0, 558, 559, 3, 48, 24, 0, 559, 560, 5, 58, 0, 0, 560, 562, 1, 0, 0, 0, 561, 558, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 564, 3, 140, 70, 0, 564, 565, 5, 79, 0, 0, 565, 566, 3, 62, 31, 0, 566, 129, 1, 0, 0, 0, 567, 568, 6, 65, -1, 0, 568, 569, 5, 71, 0, 0, 569, 597, 3, 130, 65, 8, 570, 597, 3, 136, 68, 0, 571, 597, 3, 132, 66, 0, 572, 574, 3, 136, 68, 0, 573, 575, 5, 71, 0, 0, 574, 573, 1, 0, 0, 0, 574, 575, 1, 0, 0, 0, 575, 576, 1, 0, 0, 0, 576, 577, 5, 67, 0, 0, 577, 578, 5, 99, 0, 0, 578, 583, 3, 136, 68, 0, 579, 580, 5, 62, 0, 0, 580, 582, 3, 136, 68, 0, 581, 579, 1, 0, 0, 0, 582, 585, 1, 0, 0, 0, 583, 581, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, 584, 586, 1, 0, 0, 0, 585, 583, 1, 0, 0, 0, 586, 587, 5, 100, 0, 0, 587, 597, 1, 0, 0, 0, 588, 589, 3, 136, 68, 0, 589, 591, 5, 68, 0, 0, 590, 592, 5, 71, 0, 0, 591, 590, 1, 0, 0, 0, 591, 592, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 5, 72, 0, 0, 594, 597, 1, 0, 0, 0, 595, 597, 3, 134, 67, 0, 596, 567, 1, 0, 0, 0, 596, 570, 1, 0, 0, 0, 596, 571, 1, 0, 0, 0, 596, 572, 1, 0, 0, 0, 596, 588, 1, 0, 0, 0, 596, 595, 1, 0, 0, 0, 597, 606, 1, 0, 0, 0, 598, 599, 10, 5, 0, 0, 599, 600, 5, 56, 0, 0, 600, 605, 3, 130, 65, 6, 601, 602, 10, 4, 0, 0, 602, 603, 5, 75, 0, 0, 603, 605, 3, 130, 65, 5, 604, 598, 1, 0, 0, 0, 604, 601, 1, 0, 0, 0, 605, 608, 1, 0, 0, 0, 606, 604, 1, 0, 0, 0, 606, 607, 1, 0, 0, 0, 607, 131, 1, 0, 0, 0, 608, 606, 1, 0, 0, 0, 609, 611, 3, 136, 68, 0, 610, 612, 5, 71, 0, 0, 611, 610, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 5, 70, 0, 0, 614, 615, 3, 160, 80, 0, 615, 640, 1, 0, 0, 0, 616, 618, 3, 136, 68, 0, 617, 619, 5, 71, 0, 0, 618, 617, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 620, 1, 0, 0, 0, 620, 621, 5, 77, 0, 0, 621, 622, 3, 160, 80, 0, 622, 640, 1, 0, 0, 0, 623, 625, 3, 136, 68, 0, 624, 626, 5, 71, 0, 0, 625, 624, 1, 0, 0, 0, 625, 626, 1, 0, 0, 0, 626, 627, 1, 0, 0, 0, 627, 628, 5, 70, 0, 0, 628, 629, 5, 99, 0, 0, 629, 634, 3, 160, 80, 0, 630, 631, 5, 62, 0, 0, 631, 633, 3, 160, 80, 0, 632, 630, 1, 0, 0, 0, 633, 636, 1, 0, 0, 0, 634, 632, 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 637, 1, 0, 0, 0, 636, 634, 1, 0, 0, 0, 637, 638, 5, 100, 0, 0, 638, 640, 1, 0, 0, 0, 639, 609, 1, 0, 0, 0, 639, 616, 1, 0, 0, 0, 639, 623, 1, 0, 0, 0, 640, 133, 1, 0, 0, 0, 641, 644, 3, 48, 24, 0, 642, 643, 5, 60, 0, 0, 643, 645, 3, 10, 5, 0, 644, 642, 1, 0, 0, 0, 644, 645, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 647, 5, 61, 0, 0, 647, 648, 3, 150, 75, 0, 648, 135, 1, 0, 0, 0, 649, 655, 3, 138, 69, 0, 650, 651, 3, 138, 69, 0, 651, 652, 3, 162, 81, 0, 652, 653, 3, 138, 69, 0, 653, 655, 1, 0, 0, 0, 654, 649, 1, 0, 0, 0, 654, 650, 1, 0, 0, 0, 655, 137, 1, 0, 0, 0, 656, 657, 6, 69, -1, 0, 657, 661, 3, 140, 70, 0, 658, 659, 7, 4, 0, 0, 659, 661, 3, 138, 69, 3, 660, 656, 1, 0, 0, 0, 660, 658, 1, 0, 0, 0, 661, 670, 1, 0, 0, 0, 662, 663, 10, 2, 0, 0, 663, 664, 7, 5, 0, 0, 664, 669, 3, 138, 69, 3, 665, 666, 10, 1, 0, 0, 666, 667, 7, 4, 0, 0, 667, 669, 3, 138, 69, 2, 668, 662, 1, 0, 0, 0, 668, 665, 1, 0, 0, 0, 669, 672, 1, 0, 0, 0, 670, 668, 1, 0, 0, 0, 670, 671, 1, 0, 0, 0, 671, 139, 1, 0, 0, 0, 672, 670, 1, 0, 0, 0, 673, 674, 6, 70, -1, 0, 674, 682, 3, 150, 75, 0, 675, 682, 3, 48, 24, 0, 676, 682, 3, 142, 71, 0, 677, 678, 5, 99, 0, 0, 678, 679, 3, 130, 65, 0, 679, 680, 5, 100, 0, 0, 680, 682, 1, 0, 0, 0, 681, 673, 1, 0, 0, 0, 681, 675, 1, 0, 0, 0, 681, 676, 1, 0, 0, 0, 681, 677, 1, 0, 0, 0, 682, 688, 1, 0, 0, 0, 683, 684, 10, 1, 0, 0, 684, 685, 5, 60, 0, 0, 685, 687, 3, 10, 5, 0, 686, 683, 1, 0, 0, 0, 687, 690, 1, 0, 0, 0, 688, 686, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 141, 1, 0, 0, 0, 690, 688, 1, 0, 0, 0, 691, 692, 3, 144, 72, 0, 692, 706, 5, 99, 0, 0, 693, 707, 5, 89, 0, 0, 694, 699, 3, 130, 65, 0, 695, 696, 5, 62, 0, 0, 696, 698, 3, 130, 65, 0, 697, 695, 1, 0, 0, 0, 698, 701, 1, 0, 0, 0, 699, 697, 1, 0, 0, 0, 699, 700, 1, 0, 0, 0, 700, 704, 1, 0, 0, 0, 701, 699, 1, 0, 0, 0, 702, 703, 5, 62, 0, 0, 703, 705, 3, 146, 73, 0, 704, 702, 1, 0, 0, 0, 704, 705, 1, 0, 0, 0, 705, 707, 1, 0, 0, 0, 706, 693, 1, 0, 0, 0, 706, 694, 1, 0, 0, 0, 706, 707, 1, 0, 0, 0, 707, 708, 1, 0, 0, 0, 708, 709, 5, 100, 0, 0, 709, 143, 1, 0, 0, 0, 710, 711, 3, 62, 31, 0, 711, 145, 1, 0, 0, 0, 712, 713, 5, 92, 0, 0, 713, 718, 3, 148, 74, 0, 714, 715, 5, 62, 0, 0, 715, 717, 3, 148, 74, 0, 716, 714, 1, 0, 0, 0, 717, 720, 1, 0, 0, 0, 718, 716, 1, 0, 0, 0, 718, 719, 1, 0, 0, 0, 719, 721, 1, 0, 0, 0, 720, 718, 1, 0, 0, 0, 721, 722, 5, 93, 0, 0, 722, 147, 1, 0, 0, 0, 723, 724, 3, 160, 80, 0, 724, 725, 5, 61, 0, 0, 725, 726, 3, 150, 75, 0, 726, 149, 1, 0, 0, 0, 727, 770, 5, 72, 0, 0, 728, 729, 3, 158, 79, 0, 729, 730, 5, 101, 0, 0, 730, 770, 1, 0, 0, 0, 731, 770, 3, 156, 78, 0, 732, 770, 3, 158, 79, 0, 733, 770, 3, 152, 76, 0, 734, 770, 3, 58, 29, 0, 735, 770, 3, 160, 80, 0, 736, 737, 5, 97, 0, 0, 737, 742, 3, 154, 77, 0, 738, 739, 5, 62, 0, 0, 739, 741, 3, 154, 77, 0, 740, 738, 1, 0, 0, 0, 741, 744, 1, 0, 0, 0, 742, 740, 1, 0, 0, 0, 742, 743, 1, 0, 0, 0, 743, 745, 1, 0, 0, 0, 744, 742, 1, 0, 0, 0, 745, 746, 5, 98, 0, 0, 746, 770, 1, 0, 0, 0, 747, 748, 5, 97, 0, 0, 748, 753, 3, 152, 76, 0, 749, 750, 5, 62, 0, 0, 750, 752, 3, 152, 76, 0, 751, 749, 1, 0, 0, 0, 752, 755, 1, 0, 0, 0, 753, 751, 1, 0, 0, 0, 753, 754, 1, 0, 0, 0, 754, 756, 1, 0, 0, 0, 755, 753, 1, 0, 0, 0, 756, 757, 5, 98, 0, 0, 757, 770, 1, 0, 0, 0, 758, 759, 5, 97, 0, 0, 759, 764, 3, 160, 80, 0, 760, 761, 5, 62, 0, 0, 761, 763, 3, 160, 80, 0, 762, 760, 1, 0, 0, 0, 763, 766, 1, 0, 0, 0, 764, 762, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 767, 1, 0, 0, 0, 766, 764, 1, 0, 0, 0, 767, 768, 5, 98, 0, 0, 768, 770, 1, 0, 0, 0, 769, 727, 1, 0, 0, 0, 769, 728, 1, 0, 0, 0, 769, 731, 1, 0, 0, 0, 769, 732, 1, 0, 0, 0, 769, 733, 1, 0, 0, 0, 769, 734, 1, 0, 0, 0, 769, 735, 1, 0, 0, 0, 769, 736, 1, 0, 0, 0, 769, 747, 1, 0, 0, 0, 769, 758, 1, 0, 0, 0, 770, 151, 1, 0, 0, 0, 771, 772, 7, 6, 0, 0, 772, 153, 1, 0, 0, 0, 773, 776, 3, 156, 78, 0, 774, 776, 3, 158, 79, 0, 775, 773, 1, 0, 0, 0, 775, 774, 1, 0, 0, 0, 776, 155, 1, 0, 0, 0, 777, 779, 7, 4, 0, 0, 778, 777, 1, 0, 0, 0, 778, 779, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 781, 5, 55, 0, 0, 781, 157, 1, 0, 0, 0, 782, 784, 7, 4, 0, 0, 783, 782, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 786, 5, 54, 0, 0, 786, 159, 1, 0, 0, 0, 787, 788, 5, 53, 0, 0, 788, 161, 1, 0, 0, 0, 789, 790, 7, 7, 0, 0, 790, 163, 1, 0, 0, 0, 791, 792, 7, 8, 0, 0, 792, 793, 5, 114, 0, 0, 793, 794, 3, 166, 83, 0, 794, 795, 3, 168, 84, 0, 795, 165, 1, 0, 0, 0, 796, 797, 3, 28, 14, 0, 797, 167, 1, 0, 0, 0, 798, 799, 5, 74, 0, 0, 799, 804, 3, 170, 85, 0, 800, 801, 5, 62, 0, 0, 801, 803, 3, 170, 85, 0, 802, 800, 1, 0, 0, 0, 803, 806, 1, 0, 0, 0, 804, 802, 1, 0, 0, 0, 804, 805, 1, 0, 0, 0, 805, 169, 1, 0, 0, 0, 806, 804, 1, 0, 0, 0, 807, 808, 3, 136, 68, 0, 808, 171, 1, 0, 0, 0, 72, 183, 192, 221, 236, 242, 251, 257, 270, 274, 285, 301, 309, 313, 320, 326, 333, 341, 349, 357, 361, 365, 370, 381, 386, 390, 404, 415, 421, 435, 456, 464, 467, 472, 488, 494, 501, 512, 526, 538, 547, 555, 561, 574, 583, 591, 596, 604, 606, 611, 618, 625, 634, 639, 644, 654, 660, 668, 670, 681, 688, 699, 704, 706, 718, 742, 753, 764, 769, 775, 778, 783, 804] \ No newline at end of file diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java index 15026cf16c21..387983337fe9 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.java @@ -74,14 +74,15 @@ public class EsqlBaseParser extends ParserConfig { RULE_inlinestatsCommand = 51, RULE_changePointCommand = 52, RULE_insistCommand = 53, RULE_forkCommand = 54, RULE_forkSubQueries = 55, RULE_forkSubQuery = 56, RULE_forkSubQueryCommand = 57, RULE_forkSubQueryProcessingCommand = 58, - RULE_rrfCommand = 59, RULE_rerankCommand = 60, RULE_completionCommand = 61, - RULE_booleanExpression = 62, RULE_regexBooleanExpression = 63, RULE_matchBooleanExpression = 64, - RULE_valueExpression = 65, RULE_operatorExpression = 66, RULE_primaryExpression = 67, - RULE_functionExpression = 68, RULE_functionName = 69, RULE_mapExpression = 70, - RULE_entryExpression = 71, RULE_constant = 72, RULE_booleanValue = 73, - RULE_numericValue = 74, RULE_decimalValue = 75, RULE_integerValue = 76, - RULE_string = 77, RULE_comparisonOperator = 78, RULE_joinCommand = 79, - RULE_joinTarget = 80, RULE_joinCondition = 81, RULE_joinPredicate = 82; + RULE_rrfCommand = 59, RULE_inferenceCommandOptions = 60, RULE_inferenceCommandOption = 61, + RULE_inferenceCommandOptionValue = 62, RULE_rerankCommand = 63, RULE_completionCommand = 64, + RULE_booleanExpression = 65, RULE_regexBooleanExpression = 66, RULE_matchBooleanExpression = 67, + RULE_valueExpression = 68, RULE_operatorExpression = 69, RULE_primaryExpression = 70, + RULE_functionExpression = 71, RULE_functionName = 72, RULE_mapExpression = 73, + RULE_entryExpression = 74, RULE_constant = 75, RULE_booleanValue = 76, + RULE_numericValue = 77, RULE_decimalValue = 78, RULE_integerValue = 79, + RULE_string = 80, RULE_comparisonOperator = 81, RULE_joinCommand = 82, + RULE_joinTarget = 83, RULE_joinCondition = 84, RULE_joinPredicate = 85; private static String[] makeRuleNames() { return new String[] { "singleStatement", "query", "sourceCommand", "processingCommand", "whereCommand", @@ -97,8 +98,9 @@ public class EsqlBaseParser extends ParserConfig { "showCommand", "enrichCommand", "enrichWithClause", "sampleCommand", "lookupCommand", "inlinestatsCommand", "changePointCommand", "insistCommand", "forkCommand", "forkSubQueries", "forkSubQuery", "forkSubQueryCommand", - "forkSubQueryProcessingCommand", "rrfCommand", "rerankCommand", "completionCommand", - "booleanExpression", "regexBooleanExpression", "matchBooleanExpression", + "forkSubQueryProcessingCommand", "rrfCommand", "inferenceCommandOptions", + "inferenceCommandOption", "inferenceCommandOptionValue", "rerankCommand", + "completionCommand", "booleanExpression", "regexBooleanExpression", "matchBooleanExpression", "valueExpression", "operatorExpression", "primaryExpression", "functionExpression", "functionName", "mapExpression", "entryExpression", "constant", "booleanValue", "numericValue", "decimalValue", "integerValue", "string", "comparisonOperator", @@ -242,9 +244,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(166); + setState(172); query(0); - setState(167); + setState(173); match(EOF); } } @@ -340,11 +342,11 @@ public class EsqlBaseParser extends ParserConfig { _ctx = _localctx; _prevctx = _localctx; - setState(170); + setState(176); sourceCommand(); } _ctx.stop = _input.LT(-1); - setState(177); + setState(183); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,0,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -355,16 +357,16 @@ public class EsqlBaseParser extends ParserConfig { { _localctx = new CompositeQueryContext(new QueryContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_query); - setState(172); + setState(178); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(173); + setState(179); match(PIPE); - setState(174); + setState(180); processingCommand(); } } } - setState(179); + setState(185); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,0,_ctx); } @@ -422,43 +424,43 @@ public class EsqlBaseParser extends ParserConfig { SourceCommandContext _localctx = new SourceCommandContext(_ctx, getState()); enterRule(_localctx, 4, RULE_sourceCommand); try { - setState(186); + setState(192); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,1,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(180); + setState(186); explainCommand(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(181); + setState(187); fromCommand(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(182); + setState(188); rowCommand(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(183); + setState(189); showCommand(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(184); + setState(190); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(185); + setState(191); timeSeriesCommand(); } break; @@ -567,170 +569,170 @@ public class EsqlBaseParser extends ParserConfig { ProcessingCommandContext _localctx = new ProcessingCommandContext(_ctx, getState()); enterRule(_localctx, 6, RULE_processingCommand); try { - setState(215); + setState(221); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(188); + setState(194); evalCommand(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(189); + setState(195); whereCommand(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(190); + setState(196); keepCommand(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(191); + setState(197); limitCommand(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(192); + setState(198); statsCommand(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(193); + setState(199); sortCommand(); } break; case 7: enterOuterAlt(_localctx, 7); { - setState(194); + setState(200); dropCommand(); } break; case 8: enterOuterAlt(_localctx, 8); { - setState(195); + setState(201); renameCommand(); } break; case 9: enterOuterAlt(_localctx, 9); { - setState(196); + setState(202); dissectCommand(); } break; case 10: enterOuterAlt(_localctx, 10); { - setState(197); + setState(203); grokCommand(); } break; case 11: enterOuterAlt(_localctx, 11); { - setState(198); + setState(204); enrichCommand(); } break; case 12: enterOuterAlt(_localctx, 12); { - setState(199); + setState(205); mvExpandCommand(); } break; case 13: enterOuterAlt(_localctx, 13); { - setState(200); + setState(206); joinCommand(); } break; case 14: enterOuterAlt(_localctx, 14); { - setState(201); + setState(207); changePointCommand(); } break; case 15: enterOuterAlt(_localctx, 15); { - setState(202); + setState(208); completionCommand(); } break; case 16: enterOuterAlt(_localctx, 16); { - setState(203); + setState(209); sampleCommand(); } break; case 17: enterOuterAlt(_localctx, 17); { - setState(204); + setState(210); forkCommand(); } break; case 18: enterOuterAlt(_localctx, 18); { - setState(205); + setState(211); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(206); + setState(212); inlinestatsCommand(); } break; case 19: enterOuterAlt(_localctx, 19); { - setState(207); + setState(213); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(208); + setState(214); lookupCommand(); } break; case 20: enterOuterAlt(_localctx, 20); { - setState(209); + setState(215); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(210); + setState(216); insistCommand(); } break; case 21: enterOuterAlt(_localctx, 21); { - setState(211); + setState(217); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(212); + setState(218); rerankCommand(); } break; case 22: enterOuterAlt(_localctx, 22); { - setState(213); + setState(219); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(214); + setState(220); rrfCommand(); } break; @@ -779,9 +781,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(217); + setState(223); match(WHERE); - setState(218); + setState(224); booleanExpression(0); } } @@ -839,7 +841,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new ToDataTypeContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(220); + setState(226); identifier(); } } @@ -886,9 +888,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(222); + setState(228); match(ROW); - setState(223); + setState(229); fields(); } } @@ -942,23 +944,23 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(225); + setState(231); field(); - setState(230); + setState(236); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,3,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(226); + setState(232); match(COMMA); - setState(227); + setState(233); field(); } } } - setState(232); + setState(238); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,3,_ctx); } @@ -1010,19 +1012,19 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(236); + setState(242); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,4,_ctx) ) { case 1: { - setState(233); + setState(239); qualifiedName(); - setState(234); + setState(240); match(ASSIGN); } break; } - setState(238); + setState(244); booleanExpression(0); } } @@ -1076,23 +1078,23 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(240); + setState(246); rerankField(); - setState(245); + setState(251); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,5,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(241); + setState(247); match(COMMA); - setState(242); + setState(248); rerankField(); } } } - setState(247); + setState(253); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,5,_ctx); } @@ -1144,16 +1146,16 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(248); + setState(254); qualifiedName(); - setState(251); + setState(257); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) { case 1: { - setState(249); + setState(255); match(ASSIGN); - setState(250); + setState(256); booleanExpression(0); } break; @@ -1203,9 +1205,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(253); + setState(259); match(FROM); - setState(254); + setState(260); indexPatternAndMetadataFields(); } } @@ -1252,9 +1254,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(256); + setState(262); match(DEV_TIME_SERIES); - setState(257); + setState(263); indexPatternAndMetadataFields(); } } @@ -1311,32 +1313,32 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(259); + setState(265); indexPattern(); - setState(264); + setState(270); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,7,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(260); + setState(266); match(COMMA); - setState(261); + setState(267); indexPattern(); } } } - setState(266); + setState(272); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,7,_ctx); } - setState(268); + setState(274); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,8,_ctx) ) { case 1: { - setState(267); + setState(273); metadata(); } break; @@ -1394,35 +1396,35 @@ public class EsqlBaseParser extends ParserConfig { IndexPatternContext _localctx = new IndexPatternContext(_ctx, getState()); enterRule(_localctx, 28, RULE_indexPattern); try { - setState(279); + setState(285); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,9,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(270); + setState(276); clusterString(); - setState(271); + setState(277); match(COLON); - setState(272); + setState(278); unquotedIndexString(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(274); + setState(280); unquotedIndexString(); - setState(275); + setState(281); match(CAST_OP); - setState(276); + setState(282); selectorString(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(278); + setState(284); indexString(); } break; @@ -1468,7 +1470,7 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(281); + setState(287); match(UNQUOTED_SOURCE); } } @@ -1512,7 +1514,7 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(283); + setState(289); match(UNQUOTED_SOURCE); } } @@ -1556,7 +1558,7 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(285); + setState(291); match(UNQUOTED_SOURCE); } } @@ -1602,7 +1604,7 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(287); + setState(293); _la = _input.LA(1); if ( !(_la==QUOTED_STRING || _la==UNQUOTED_SOURCE) ) { _errHandler.recoverInline(this); @@ -1663,25 +1665,25 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(289); - match(METADATA); - setState(290); - match(UNQUOTED_SOURCE); setState(295); + match(METADATA); + setState(296); + match(UNQUOTED_SOURCE); + setState(301); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,10,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(291); + setState(297); match(COMMA); - setState(292); + setState(298); match(UNQUOTED_SOURCE); } } } - setState(297); + setState(303); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,10,_ctx); } @@ -1730,9 +1732,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(298); + setState(304); match(EVAL); - setState(299); + setState(305); fields(); } } @@ -1785,26 +1787,26 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(301); + setState(307); match(STATS); - setState(303); + setState(309); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) { case 1: { - setState(302); + setState(308); ((StatsCommandContext)_localctx).stats = aggFields(); } break; } - setState(307); + setState(313); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) { case 1: { - setState(305); + setState(311); match(BY); - setState(306); + setState(312); ((StatsCommandContext)_localctx).grouping = fields(); } break; @@ -1861,23 +1863,23 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(309); + setState(315); aggField(); - setState(314); + setState(320); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,13,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(310); + setState(316); match(COMMA); - setState(311); + setState(317); aggField(); } } } - setState(316); + setState(322); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,13,_ctx); } @@ -1929,16 +1931,16 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(317); + setState(323); field(); - setState(320); + setState(326); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) { case 1: { - setState(318); + setState(324); match(WHERE); - setState(319); + setState(325); booleanExpression(0); } break; @@ -1995,23 +1997,23 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(322); + setState(328); identifierOrParameter(); - setState(327); + setState(333); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,15,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(323); + setState(329); match(DOT); - setState(324); + setState(330); identifierOrParameter(); } } } - setState(329); + setState(335); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,15,_ctx); } @@ -2067,23 +2069,23 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(330); + setState(336); identifierPattern(); - setState(335); + setState(341); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,16,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(331); + setState(337); match(DOT); - setState(332); + setState(338); identifierPattern(); } } } - setState(337); + setState(343); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,16,_ctx); } @@ -2139,23 +2141,23 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(338); + setState(344); qualifiedNamePattern(); - setState(343); + setState(349); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,17,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(339); + setState(345); match(COMMA); - setState(340); + setState(346); qualifiedNamePattern(); } } } - setState(345); + setState(351); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,17,_ctx); } @@ -2203,7 +2205,7 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(346); + setState(352); _la = _input.LA(1); if ( !(_la==UNQUOTED_IDENTIFIER || _la==QUOTED_IDENTIFIER) ) { _errHandler.recoverInline(this); @@ -2259,13 +2261,13 @@ public class EsqlBaseParser extends ParserConfig { IdentifierPatternContext _localctx = new IdentifierPatternContext(_ctx, getState()); enterRule(_localctx, 56, RULE_identifierPattern); try { - setState(351); + setState(357); _errHandler.sync(this); switch (_input.LA(1)) { case ID_PATTERN: enterOuterAlt(_localctx, 1); { - setState(348); + setState(354); match(ID_PATTERN); } break; @@ -2273,7 +2275,7 @@ public class EsqlBaseParser extends ParserConfig { case NAMED_OR_POSITIONAL_PARAM: enterOuterAlt(_localctx, 2); { - setState(349); + setState(355); parameter(); } break; @@ -2281,7 +2283,7 @@ public class EsqlBaseParser extends ParserConfig { case NAMED_OR_POSITIONAL_DOUBLE_PARAMS: enterOuterAlt(_localctx, 3); { - setState(350); + setState(356); doubleParameter(); } break; @@ -2357,14 +2359,14 @@ public class EsqlBaseParser extends ParserConfig { ParameterContext _localctx = new ParameterContext(_ctx, getState()); enterRule(_localctx, 58, RULE_parameter); try { - setState(355); + setState(361); _errHandler.sync(this); switch (_input.LA(1)) { case PARAM: _localctx = new InputParamContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(353); + setState(359); match(PARAM); } break; @@ -2372,7 +2374,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new InputNamedOrPositionalParamContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(354); + setState(360); match(NAMED_OR_POSITIONAL_PARAM); } break; @@ -2448,14 +2450,14 @@ public class EsqlBaseParser extends ParserConfig { DoubleParameterContext _localctx = new DoubleParameterContext(_ctx, getState()); enterRule(_localctx, 60, RULE_doubleParameter); try { - setState(359); + setState(365); _errHandler.sync(this); switch (_input.LA(1)) { case DOUBLE_PARAMS: _localctx = new InputDoubleParamsContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(357); + setState(363); match(DOUBLE_PARAMS); } break; @@ -2463,7 +2465,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new InputNamedOrPositionalDoubleParamsContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(358); + setState(364); match(NAMED_OR_POSITIONAL_DOUBLE_PARAMS); } break; @@ -2517,14 +2519,14 @@ public class EsqlBaseParser extends ParserConfig { IdentifierOrParameterContext _localctx = new IdentifierOrParameterContext(_ctx, getState()); enterRule(_localctx, 62, RULE_identifierOrParameter); try { - setState(364); + setState(370); _errHandler.sync(this); switch (_input.LA(1)) { case UNQUOTED_IDENTIFIER: case QUOTED_IDENTIFIER: enterOuterAlt(_localctx, 1); { - setState(361); + setState(367); identifier(); } break; @@ -2532,7 +2534,7 @@ public class EsqlBaseParser extends ParserConfig { case NAMED_OR_POSITIONAL_PARAM: enterOuterAlt(_localctx, 2); { - setState(362); + setState(368); parameter(); } break; @@ -2540,7 +2542,7 @@ public class EsqlBaseParser extends ParserConfig { case NAMED_OR_POSITIONAL_DOUBLE_PARAMS: enterOuterAlt(_localctx, 3); { - setState(363); + setState(369); doubleParameter(); } break; @@ -2591,9 +2593,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(366); + setState(372); match(LIMIT); - setState(367); + setState(373); constant(); } } @@ -2648,25 +2650,25 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(369); - match(SORT); - setState(370); - orderExpression(); setState(375); + match(SORT); + setState(376); + orderExpression(); + setState(381); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,22,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(371); + setState(377); match(COMMA); - setState(372); + setState(378); orderExpression(); } } } - setState(377); + setState(383); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,22,_ctx); } @@ -2722,14 +2724,14 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(378); + setState(384); booleanExpression(0); - setState(380); + setState(386); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) { case 1: { - setState(379); + setState(385); ((OrderExpressionContext)_localctx).ordering = _input.LT(1); _la = _input.LA(1); if ( !(_la==ASC || _la==DESC) ) { @@ -2743,14 +2745,14 @@ public class EsqlBaseParser extends ParserConfig { } break; } - setState(384); + setState(390); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) { case 1: { - setState(382); + setState(388); match(NULLS); - setState(383); + setState(389); ((OrderExpressionContext)_localctx).nullOrdering = _input.LT(1); _la = _input.LA(1); if ( !(_la==FIRST || _la==LAST) ) { @@ -2809,9 +2811,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(386); + setState(392); match(KEEP); - setState(387); + setState(393); qualifiedNamePatterns(); } } @@ -2858,9 +2860,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(389); + setState(395); match(DROP); - setState(390); + setState(396); qualifiedNamePatterns(); } } @@ -2915,25 +2917,25 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(392); - match(RENAME); - setState(393); - renameClause(); setState(398); + match(RENAME); + setState(399); + renameClause(); + setState(404); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,25,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(394); + setState(400); match(COMMA); - setState(395); + setState(401); renameClause(); } } } - setState(400); + setState(406); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,25,_ctx); } @@ -2986,28 +2988,28 @@ public class EsqlBaseParser extends ParserConfig { RenameClauseContext _localctx = new RenameClauseContext(_ctx, getState()); enterRule(_localctx, 76, RULE_renameClause); try { - setState(409); + setState(415); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(401); + setState(407); ((RenameClauseContext)_localctx).oldName = qualifiedNamePattern(); - setState(402); + setState(408); match(AS); - setState(403); + setState(409); ((RenameClauseContext)_localctx).newName = qualifiedNamePattern(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(405); + setState(411); ((RenameClauseContext)_localctx).newName = qualifiedNamePattern(); - setState(406); + setState(412); match(ASSIGN); - setState(407); + setState(413); ((RenameClauseContext)_localctx).oldName = qualifiedNamePattern(); } break; @@ -3062,18 +3064,18 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(411); + setState(417); match(DISSECT); - setState(412); + setState(418); primaryExpression(0); - setState(413); + setState(419); string(); - setState(415); + setState(421); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) { case 1: { - setState(414); + setState(420); commandOptions(); } break; @@ -3126,11 +3128,11 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(417); + setState(423); match(GROK); - setState(418); + setState(424); primaryExpression(0); - setState(419); + setState(425); string(); } } @@ -3177,9 +3179,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(421); + setState(427); match(MV_EXPAND); - setState(422); + setState(428); qualifiedName(); } } @@ -3233,23 +3235,23 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(424); + setState(430); commandOption(); - setState(429); + setState(435); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,28,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(425); + setState(431); match(COMMA); - setState(426); + setState(432); commandOption(); } } } - setState(431); + setState(437); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,28,_ctx); } @@ -3301,11 +3303,11 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(432); + setState(438); identifier(); - setState(433); + setState(439); match(ASSIGN); - setState(434); + setState(440); constant(); } } @@ -3352,9 +3354,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(436); + setState(442); match(EXPLAIN); - setState(437); + setState(443); subqueryExpression(); } } @@ -3402,11 +3404,11 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(439); + setState(445); match(OPENING_BRACKET); - setState(440); + setState(446); query(0); - setState(441); + setState(447); match(CLOSING_BRACKET); } } @@ -3463,9 +3465,9 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new ShowInfoContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(443); + setState(449); match(SHOW); - setState(444); + setState(450); match(INFO); } } @@ -3528,46 +3530,46 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(446); + setState(452); match(ENRICH); - setState(447); + setState(453); ((EnrichCommandContext)_localctx).policyName = match(ENRICH_POLICY_NAME); - setState(450); + setState(456); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) { case 1: { - setState(448); + setState(454); match(ON); - setState(449); + setState(455); ((EnrichCommandContext)_localctx).matchField = qualifiedNamePattern(); } break; } - setState(461); + setState(467); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) { case 1: { - setState(452); - match(WITH); - setState(453); - enrichWithClause(); setState(458); + match(WITH); + setState(459); + enrichWithClause(); + setState(464); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,30,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(454); + setState(460); match(COMMA); - setState(455); + setState(461); enrichWithClause(); } } } - setState(460); + setState(466); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,30,_ctx); } @@ -3624,19 +3626,19 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(466); + setState(472); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) { case 1: { - setState(463); + setState(469); ((EnrichWithClauseContext)_localctx).newName = qualifiedNamePattern(); - setState(464); + setState(470); match(ASSIGN); } break; } - setState(468); + setState(474); ((EnrichWithClauseContext)_localctx).enrichField = qualifiedNamePattern(); } } @@ -3684,9 +3686,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(470); + setState(476); match(SAMPLE); - setState(471); + setState(477); ((SampleCommandContext)_localctx).probability = constant(); } } @@ -3739,13 +3741,13 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(473); + setState(479); match(DEV_LOOKUP); - setState(474); + setState(480); ((LookupCommandContext)_localctx).tableName = indexPattern(); - setState(475); + setState(481); match(ON); - setState(476); + setState(482); ((LookupCommandContext)_localctx).matchFields = qualifiedNamePatterns(); } } @@ -3798,18 +3800,18 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(478); + setState(484); match(DEV_INLINESTATS); - setState(479); + setState(485); ((InlinestatsCommandContext)_localctx).stats = aggFields(); - setState(482); + setState(488); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) { case 1: { - setState(480); + setState(486); match(BY); - setState(481); + setState(487); ((InlinestatsCommandContext)_localctx).grouping = fields(); } break; @@ -3869,34 +3871,34 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(484); + setState(490); match(CHANGE_POINT); - setState(485); + setState(491); ((ChangePointCommandContext)_localctx).value = qualifiedName(); - setState(488); + setState(494); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) { case 1: { - setState(486); + setState(492); match(ON); - setState(487); + setState(493); ((ChangePointCommandContext)_localctx).key = qualifiedName(); } break; } - setState(495); + setState(501); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) { case 1: { - setState(490); + setState(496); match(AS); - setState(491); + setState(497); ((ChangePointCommandContext)_localctx).targetType = qualifiedName(); - setState(492); + setState(498); match(COMMA); - setState(493); + setState(499); ((ChangePointCommandContext)_localctx).targetPvalue = qualifiedName(); } break; @@ -3946,9 +3948,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(497); + setState(503); match(DEV_INSIST); - setState(498); + setState(504); qualifiedNamePatterns(); } } @@ -3995,9 +3997,9 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(500); + setState(506); match(FORK); - setState(501); + setState(507); forkSubQueries(); } } @@ -4047,7 +4049,7 @@ public class EsqlBaseParser extends ParserConfig { int _alt; enterOuterAlt(_localctx, 1); { - setState(504); + setState(510); _errHandler.sync(this); _alt = 1; do { @@ -4055,7 +4057,7 @@ public class EsqlBaseParser extends ParserConfig { case 1: { { - setState(503); + setState(509); forkSubQuery(); } } @@ -4063,7 +4065,7 @@ public class EsqlBaseParser extends ParserConfig { default: throw new NoViableAltException(this); } - setState(506); + setState(512); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,36,_ctx); } while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ); @@ -4113,11 +4115,11 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(508); + setState(514); match(LP); - setState(509); + setState(515); forkSubQueryCommand(0); - setState(510); + setState(516); match(RP); } } @@ -4213,11 +4215,11 @@ public class EsqlBaseParser extends ParserConfig { _ctx = _localctx; _prevctx = _localctx; - setState(513); + setState(519); forkSubQueryProcessingCommand(); } _ctx.stop = _input.LT(-1); - setState(520); + setState(526); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,37,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -4228,16 +4230,16 @@ public class EsqlBaseParser extends ParserConfig { { _localctx = new CompositeForkSubQueryContext(new ForkSubQueryCommandContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_forkSubQueryCommand); - setState(515); + setState(521); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(516); + setState(522); match(PIPE); - setState(517); + setState(523); forkSubQueryProcessingCommand(); } } } - setState(522); + setState(528); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,37,_ctx); } @@ -4285,7 +4287,7 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(523); + setState(529); processingCommand(); } } @@ -4329,7 +4331,7 @@ public class EsqlBaseParser extends ParserConfig { try { enterOuterAlt(_localctx, 1); { - setState(525); + setState(531); match(DEV_RRF); } } @@ -4344,10 +4346,210 @@ public class EsqlBaseParser extends ParserConfig { return _localctx; } + @SuppressWarnings("CheckReturnValue") + public static class InferenceCommandOptionsContext extends ParserRuleContext { + public List inferenceCommandOption() { + return getRuleContexts(InferenceCommandOptionContext.class); + } + public InferenceCommandOptionContext inferenceCommandOption(int i) { + return getRuleContext(InferenceCommandOptionContext.class,i); + } + public List COMMA() { return getTokens(EsqlBaseParser.COMMA); } + public TerminalNode COMMA(int i) { + return getToken(EsqlBaseParser.COMMA, i); + } + @SuppressWarnings("this-escape") + public InferenceCommandOptionsContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_inferenceCommandOptions; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterInferenceCommandOptions(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitInferenceCommandOptions(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitInferenceCommandOptions(this); + else return visitor.visitChildren(this); + } + } + + public final InferenceCommandOptionsContext inferenceCommandOptions() throws RecognitionException { + InferenceCommandOptionsContext _localctx = new InferenceCommandOptionsContext(_ctx, getState()); + enterRule(_localctx, 120, RULE_inferenceCommandOptions); + try { + int _alt; + enterOuterAlt(_localctx, 1); + { + setState(533); + inferenceCommandOption(); + setState(538); + _errHandler.sync(this); + _alt = getInterpreter().adaptivePredict(_input,38,_ctx); + while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { + if ( _alt==1 ) { + { + { + setState(534); + match(COMMA); + setState(535); + inferenceCommandOption(); + } + } + } + setState(540); + _errHandler.sync(this); + _alt = getInterpreter().adaptivePredict(_input,38,_ctx); + } + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + @SuppressWarnings("CheckReturnValue") + public static class InferenceCommandOptionContext extends ParserRuleContext { + public IdentifierContext identifier() { + return getRuleContext(IdentifierContext.class,0); + } + public TerminalNode ASSIGN() { return getToken(EsqlBaseParser.ASSIGN, 0); } + public InferenceCommandOptionValueContext inferenceCommandOptionValue() { + return getRuleContext(InferenceCommandOptionValueContext.class,0); + } + @SuppressWarnings("this-escape") + public InferenceCommandOptionContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_inferenceCommandOption; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterInferenceCommandOption(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitInferenceCommandOption(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitInferenceCommandOption(this); + else return visitor.visitChildren(this); + } + } + + public final InferenceCommandOptionContext inferenceCommandOption() throws RecognitionException { + InferenceCommandOptionContext _localctx = new InferenceCommandOptionContext(_ctx, getState()); + enterRule(_localctx, 122, RULE_inferenceCommandOption); + try { + enterOuterAlt(_localctx, 1); + { + setState(541); + identifier(); + setState(542); + match(ASSIGN); + setState(543); + inferenceCommandOptionValue(); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + @SuppressWarnings("CheckReturnValue") + public static class InferenceCommandOptionValueContext extends ParserRuleContext { + public ConstantContext constant() { + return getRuleContext(ConstantContext.class,0); + } + public IdentifierContext identifier() { + return getRuleContext(IdentifierContext.class,0); + } + @SuppressWarnings("this-escape") + public InferenceCommandOptionValueContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_inferenceCommandOptionValue; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterInferenceCommandOptionValue(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitInferenceCommandOptionValue(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitInferenceCommandOptionValue(this); + else return visitor.visitChildren(this); + } + } + + public final InferenceCommandOptionValueContext inferenceCommandOptionValue() throws RecognitionException { + InferenceCommandOptionValueContext _localctx = new InferenceCommandOptionValueContext(_ctx, getState()); + enterRule(_localctx, 124, RULE_inferenceCommandOptionValue); + try { + setState(547); + _errHandler.sync(this); + switch (_input.LA(1)) { + case QUOTED_STRING: + case INTEGER_LITERAL: + case DECIMAL_LITERAL: + case FALSE: + case NULL: + case PARAM: + case TRUE: + case PLUS: + case MINUS: + case NAMED_OR_POSITIONAL_PARAM: + case OPENING_BRACKET: + enterOuterAlt(_localctx, 1); + { + setState(545); + constant(); + } + break; + case UNQUOTED_IDENTIFIER: + case QUOTED_IDENTIFIER: + enterOuterAlt(_localctx, 2); + { + setState(546); + identifier(); + } + break; + default: + throw new NoViableAltException(this); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + @SuppressWarnings("CheckReturnValue") public static class RerankCommandContext extends ParserRuleContext { public ConstantContext queryText; - public IdentifierOrParameterContext inferenceId; public TerminalNode DEV_RERANK() { return getToken(EsqlBaseParser.DEV_RERANK, 0); } public TerminalNode ON() { return getToken(EsqlBaseParser.ON, 0); } public RerankFieldsContext rerankFields() { @@ -4357,8 +4559,8 @@ public class EsqlBaseParser extends ParserConfig { return getRuleContext(ConstantContext.class,0); } public TerminalNode WITH() { return getToken(EsqlBaseParser.WITH, 0); } - public IdentifierOrParameterContext identifierOrParameter() { - return getRuleContext(IdentifierOrParameterContext.class,0); + public InferenceCommandOptionsContext inferenceCommandOptions() { + return getRuleContext(InferenceCommandOptionsContext.class,0); } @SuppressWarnings("this-escape") public RerankCommandContext(ParserRuleContext parent, int invokingState) { @@ -4382,27 +4584,27 @@ public class EsqlBaseParser extends ParserConfig { public final RerankCommandContext rerankCommand() throws RecognitionException { RerankCommandContext _localctx = new RerankCommandContext(_ctx, getState()); - enterRule(_localctx, 120, RULE_rerankCommand); + enterRule(_localctx, 126, RULE_rerankCommand); try { enterOuterAlt(_localctx, 1); { - setState(527); + setState(549); match(DEV_RERANK); - setState(528); + setState(550); ((RerankCommandContext)_localctx).queryText = constant(); - setState(529); + setState(551); match(ON); - setState(530); + setState(552); rerankFields(); - setState(533); + setState(555); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) { case 1: { - setState(531); + setState(553); match(WITH); - setState(532); - ((RerankCommandContext)_localctx).inferenceId = identifierOrParameter(); + setState(554); + inferenceCommandOptions(); } break; } @@ -4458,29 +4660,29 @@ public class EsqlBaseParser extends ParserConfig { public final CompletionCommandContext completionCommand() throws RecognitionException { CompletionCommandContext _localctx = new CompletionCommandContext(_ctx, getState()); - enterRule(_localctx, 122, RULE_completionCommand); + enterRule(_localctx, 128, RULE_completionCommand); try { enterOuterAlt(_localctx, 1); { - setState(535); + setState(557); match(COMPLETION); - setState(539); + setState(561); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,41,_ctx) ) { case 1: { - setState(536); + setState(558); ((CompletionCommandContext)_localctx).targetField = qualifiedName(); - setState(537); + setState(559); match(ASSIGN); } break; } - setState(541); + setState(563); ((CompletionCommandContext)_localctx).prompt = primaryExpression(0); - setState(542); + setState(564); match(WITH); - setState(543); + setState(565); ((CompletionCommandContext)_localctx).inferenceId = identifierOrParameter(); } } @@ -4689,25 +4891,25 @@ public class EsqlBaseParser extends ParserConfig { int _parentState = getState(); BooleanExpressionContext _localctx = new BooleanExpressionContext(_ctx, _parentState); BooleanExpressionContext _prevctx = _localctx; - int _startState = 124; - enterRecursionRule(_localctx, 124, RULE_booleanExpression, _p); + int _startState = 130; + enterRecursionRule(_localctx, 130, RULE_booleanExpression, _p); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(574); + setState(596); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,43,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,45,_ctx) ) { case 1: { _localctx = new LogicalNotContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(546); + setState(568); match(NOT); - setState(547); + setState(569); booleanExpression(8); } break; @@ -4716,7 +4918,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new BooleanDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(548); + setState(570); valueExpression(); } break; @@ -4725,7 +4927,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new RegexExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(549); + setState(571); regexBooleanExpression(); } break; @@ -4734,41 +4936,41 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new LogicalInContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(550); + setState(572); valueExpression(); - setState(552); + setState(574); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(551); + setState(573); match(NOT); } } - setState(554); + setState(576); match(IN); - setState(555); + setState(577); match(LP); - setState(556); + setState(578); valueExpression(); - setState(561); + setState(583); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(557); + setState(579); match(COMMA); - setState(558); + setState(580); valueExpression(); } } - setState(563); + setState(585); _errHandler.sync(this); _la = _input.LA(1); } - setState(564); + setState(586); match(RP); } break; @@ -4777,21 +4979,21 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new IsNullContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(566); + setState(588); valueExpression(); - setState(567); + setState(589); match(IS); - setState(569); + setState(591); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(568); + setState(590); match(NOT); } } - setState(571); + setState(593); match(NULL); } break; @@ -4800,33 +5002,33 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new MatchExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(573); + setState(595); matchBooleanExpression(); } break; } _ctx.stop = _input.LT(-1); - setState(584); + setState(606); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,45,_ctx); + _alt = getInterpreter().adaptivePredict(_input,47,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(582); + setState(604); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,44,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) { case 1: { _localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState)); ((LogicalBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression); - setState(576); + setState(598); if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)"); - setState(577); + setState(599); ((LogicalBinaryContext)_localctx).operator = match(AND); - setState(578); + setState(600); ((LogicalBinaryContext)_localctx).right = booleanExpression(6); } break; @@ -4835,20 +5037,20 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState)); ((LogicalBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression); - setState(579); + setState(601); if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(580); + setState(602); ((LogicalBinaryContext)_localctx).operator = match(OR); - setState(581); + setState(603); ((LogicalBinaryContext)_localctx).right = booleanExpression(5); } break; } } } - setState(586); + setState(608); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,45,_ctx); + _alt = getInterpreter().adaptivePredict(_input,47,_ctx); } } } @@ -4967,31 +5169,31 @@ public class EsqlBaseParser extends ParserConfig { public final RegexBooleanExpressionContext regexBooleanExpression() throws RecognitionException { RegexBooleanExpressionContext _localctx = new RegexBooleanExpressionContext(_ctx, getState()); - enterRule(_localctx, 126, RULE_regexBooleanExpression); + enterRule(_localctx, 132, RULE_regexBooleanExpression); int _la; try { - setState(617); + setState(639); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,50,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) { case 1: _localctx = new LikeExpressionContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(587); + setState(609); valueExpression(); - setState(589); + setState(611); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(588); + setState(610); match(NOT); } } - setState(591); + setState(613); match(LIKE); - setState(592); + setState(614); string(); } break; @@ -4999,21 +5201,21 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new RlikeExpressionContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(594); + setState(616); valueExpression(); - setState(596); + setState(618); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(595); + setState(617); match(NOT); } } - setState(598); + setState(620); match(RLIKE); - setState(599); + setState(621); string(); } break; @@ -5021,41 +5223,41 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new LikeListExpressionContext(_localctx); enterOuterAlt(_localctx, 3); { - setState(601); + setState(623); valueExpression(); - setState(603); + setState(625); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(602); + setState(624); match(NOT); } } - setState(605); + setState(627); match(LIKE); - setState(606); + setState(628); match(LP); - setState(607); + setState(629); string(); - setState(612); + setState(634); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(608); + setState(630); match(COMMA); - setState(609); + setState(631); string(); } } - setState(614); + setState(636); _errHandler.sync(this); _la = _input.LA(1); } - setState(615); + setState(637); match(RP); } break; @@ -5110,28 +5312,28 @@ public class EsqlBaseParser extends ParserConfig { public final MatchBooleanExpressionContext matchBooleanExpression() throws RecognitionException { MatchBooleanExpressionContext _localctx = new MatchBooleanExpressionContext(_ctx, getState()); - enterRule(_localctx, 128, RULE_matchBooleanExpression); + enterRule(_localctx, 134, RULE_matchBooleanExpression); int _la; try { enterOuterAlt(_localctx, 1); { - setState(619); + setState(641); ((MatchBooleanExpressionContext)_localctx).fieldExp = qualifiedName(); - setState(622); + setState(644); _errHandler.sync(this); _la = _input.LA(1); if (_la==CAST_OP) { { - setState(620); + setState(642); match(CAST_OP); - setState(621); + setState(643); ((MatchBooleanExpressionContext)_localctx).fieldType = dataType(); } } - setState(624); + setState(646); match(COLON); - setState(625); + setState(647); ((MatchBooleanExpressionContext)_localctx).matchQuery = constant(); } } @@ -5213,16 +5415,16 @@ public class EsqlBaseParser extends ParserConfig { public final ValueExpressionContext valueExpression() throws RecognitionException { ValueExpressionContext _localctx = new ValueExpressionContext(_ctx, getState()); - enterRule(_localctx, 130, RULE_valueExpression); + enterRule(_localctx, 136, RULE_valueExpression); try { - setState(632); + setState(654); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,54,_ctx) ) { case 1: _localctx = new ValueExpressionDefaultContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(627); + setState(649); operatorExpression(0); } break; @@ -5230,11 +5432,11 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new ComparisonContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(628); + setState(650); ((ComparisonContext)_localctx).left = operatorExpression(0); - setState(629); + setState(651); comparisonOperator(); - setState(630); + setState(652); ((ComparisonContext)_localctx).right = operatorExpression(0); } break; @@ -5352,23 +5554,23 @@ public class EsqlBaseParser extends ParserConfig { int _parentState = getState(); OperatorExpressionContext _localctx = new OperatorExpressionContext(_ctx, _parentState); OperatorExpressionContext _prevctx = _localctx; - int _startState = 132; - enterRecursionRule(_localctx, 132, RULE_operatorExpression, _p); + int _startState = 138; + enterRecursionRule(_localctx, 138, RULE_operatorExpression, _p); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(638); + setState(660); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,53,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,55,_ctx) ) { case 1: { _localctx = new OperatorExpressionDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(635); + setState(657); primaryExpression(0); } break; @@ -5377,7 +5579,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new ArithmeticUnaryContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(636); + setState(658); ((ArithmeticUnaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -5388,31 +5590,31 @@ public class EsqlBaseParser extends ParserConfig { _errHandler.reportMatch(this); consume(); } - setState(637); + setState(659); operatorExpression(3); } break; } _ctx.stop = _input.LT(-1); - setState(648); + setState(670); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,55,_ctx); + _alt = getInterpreter().adaptivePredict(_input,57,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(646); + setState(668); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,54,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) { case 1: { _localctx = new ArithmeticBinaryContext(new OperatorExpressionContext(_parentctx, _parentState)); ((ArithmeticBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_operatorExpression); - setState(640); + setState(662); if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(641); + setState(663); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(((((_la - 89)) & ~0x3f) == 0 && ((1L << (_la - 89)) & 7L) != 0)) ) { @@ -5423,7 +5625,7 @@ public class EsqlBaseParser extends ParserConfig { _errHandler.reportMatch(this); consume(); } - setState(642); + setState(664); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(3); } break; @@ -5432,9 +5634,9 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new ArithmeticBinaryContext(new OperatorExpressionContext(_parentctx, _parentState)); ((ArithmeticBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_operatorExpression); - setState(643); + setState(665); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(644); + setState(666); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -5445,16 +5647,16 @@ public class EsqlBaseParser extends ParserConfig { _errHandler.reportMatch(this); consume(); } - setState(645); + setState(667); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(2); } break; } } } - setState(650); + setState(672); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,55,_ctx); + _alt = getInterpreter().adaptivePredict(_input,57,_ctx); } } } @@ -5604,22 +5806,22 @@ public class EsqlBaseParser extends ParserConfig { int _parentState = getState(); PrimaryExpressionContext _localctx = new PrimaryExpressionContext(_ctx, _parentState); PrimaryExpressionContext _prevctx = _localctx; - int _startState = 134; - enterRecursionRule(_localctx, 134, RULE_primaryExpression, _p); + int _startState = 140; + enterRecursionRule(_localctx, 140, RULE_primaryExpression, _p); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(659); + setState(681); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,58,_ctx) ) { case 1: { _localctx = new ConstantDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(652); + setState(674); constant(); } break; @@ -5628,7 +5830,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new DereferenceContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(653); + setState(675); qualifiedName(); } break; @@ -5637,7 +5839,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new FunctionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(654); + setState(676); functionExpression(); } break; @@ -5646,19 +5848,19 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new ParenthesizedExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(655); + setState(677); match(LP); - setState(656); + setState(678); booleanExpression(0); - setState(657); + setState(679); match(RP); } break; } _ctx.stop = _input.LT(-1); - setState(666); + setState(688); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,57,_ctx); + _alt = getInterpreter().adaptivePredict(_input,59,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); @@ -5667,18 +5869,18 @@ public class EsqlBaseParser extends ParserConfig { { _localctx = new InlineCastContext(new PrimaryExpressionContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_primaryExpression); - setState(661); + setState(683); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(662); + setState(684); match(CAST_OP); - setState(663); + setState(685); dataType(); } } } - setState(668); + setState(690); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,57,_ctx); + _alt = getInterpreter().adaptivePredict(_input,59,_ctx); } } } @@ -5736,22 +5938,22 @@ public class EsqlBaseParser extends ParserConfig { public final FunctionExpressionContext functionExpression() throws RecognitionException { FunctionExpressionContext _localctx = new FunctionExpressionContext(_ctx, getState()); - enterRule(_localctx, 136, RULE_functionExpression); + enterRule(_localctx, 142, RULE_functionExpression); int _la; try { int _alt; enterOuterAlt(_localctx, 1); { - setState(669); + setState(691); functionName(); - setState(670); + setState(692); match(LP); - setState(684); + setState(706); _errHandler.sync(this); switch (_input.LA(1)) { case ASTERISK: { - setState(671); + setState(693); match(ASTERISK); } break; @@ -5774,34 +5976,34 @@ public class EsqlBaseParser extends ParserConfig { case QUOTED_IDENTIFIER: { { - setState(672); + setState(694); booleanExpression(0); - setState(677); + setState(699); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,58,_ctx); + _alt = getInterpreter().adaptivePredict(_input,60,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(673); + setState(695); match(COMMA); - setState(674); + setState(696); booleanExpression(0); } } } - setState(679); + setState(701); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,58,_ctx); + _alt = getInterpreter().adaptivePredict(_input,60,_ctx); } - setState(682); + setState(704); _errHandler.sync(this); _la = _input.LA(1); if (_la==COMMA) { { - setState(680); + setState(702); match(COMMA); - setState(681); + setState(703); mapExpression(); } } @@ -5814,7 +6016,7 @@ public class EsqlBaseParser extends ParserConfig { default: break; } - setState(686); + setState(708); match(RP); } } @@ -5856,11 +6058,11 @@ public class EsqlBaseParser extends ParserConfig { public final FunctionNameContext functionName() throws RecognitionException { FunctionNameContext _localctx = new FunctionNameContext(_ctx, getState()); - enterRule(_localctx, 138, RULE_functionName); + enterRule(_localctx, 144, RULE_functionName); try { enterOuterAlt(_localctx, 1); { - setState(688); + setState(710); identifierOrParameter(); } } @@ -5911,32 +6113,32 @@ public class EsqlBaseParser extends ParserConfig { public final MapExpressionContext mapExpression() throws RecognitionException { MapExpressionContext _localctx = new MapExpressionContext(_ctx, getState()); - enterRule(_localctx, 140, RULE_mapExpression); + enterRule(_localctx, 146, RULE_mapExpression); int _la; try { enterOuterAlt(_localctx, 1); { - setState(690); + setState(712); match(LEFT_BRACES); - setState(691); + setState(713); entryExpression(); - setState(696); + setState(718); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(692); + setState(714); match(COMMA); - setState(693); + setState(715); entryExpression(); } } - setState(698); + setState(720); _errHandler.sync(this); _la = _input.LA(1); } - setState(699); + setState(721); match(RIGHT_BRACES); } } @@ -5984,15 +6186,15 @@ public class EsqlBaseParser extends ParserConfig { public final EntryExpressionContext entryExpression() throws RecognitionException { EntryExpressionContext _localctx = new EntryExpressionContext(_ctx, getState()); - enterRule(_localctx, 142, RULE_entryExpression); + enterRule(_localctx, 148, RULE_entryExpression); try { enterOuterAlt(_localctx, 1); { - setState(701); + setState(723); ((EntryExpressionContext)_localctx).key = string(); - setState(702); + setState(724); match(COLON); - setState(703); + setState(725); ((EntryExpressionContext)_localctx).value = constant(); } } @@ -6260,17 +6462,17 @@ public class EsqlBaseParser extends ParserConfig { public final ConstantContext constant() throws RecognitionException { ConstantContext _localctx = new ConstantContext(_ctx, getState()); - enterRule(_localctx, 144, RULE_constant); + enterRule(_localctx, 150, RULE_constant); int _la; try { - setState(747); + setState(769); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,65,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) { case 1: _localctx = new NullLiteralContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(705); + setState(727); match(NULL); } break; @@ -6278,9 +6480,9 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new QualifiedIntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(706); + setState(728); integerValue(); - setState(707); + setState(729); match(UNQUOTED_IDENTIFIER); } break; @@ -6288,7 +6490,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new DecimalLiteralContext(_localctx); enterOuterAlt(_localctx, 3); { - setState(709); + setState(731); decimalValue(); } break; @@ -6296,7 +6498,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new IntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 4); { - setState(710); + setState(732); integerValue(); } break; @@ -6304,7 +6506,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new BooleanLiteralContext(_localctx); enterOuterAlt(_localctx, 5); { - setState(711); + setState(733); booleanValue(); } break; @@ -6312,7 +6514,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new InputParameterContext(_localctx); enterOuterAlt(_localctx, 6); { - setState(712); + setState(734); parameter(); } break; @@ -6320,7 +6522,7 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new StringLiteralContext(_localctx); enterOuterAlt(_localctx, 7); { - setState(713); + setState(735); string(); } break; @@ -6328,66 +6530,10 @@ public class EsqlBaseParser extends ParserConfig { _localctx = new NumericArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 8); { - setState(714); - match(OPENING_BRACKET); - setState(715); - numericValue(); - setState(720); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(716); - match(COMMA); - setState(717); - numericValue(); - } - } - setState(722); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(723); - match(CLOSING_BRACKET); - } - break; - case 9: - _localctx = new BooleanArrayLiteralContext(_localctx); - enterOuterAlt(_localctx, 9); - { - setState(725); - match(OPENING_BRACKET); - setState(726); - booleanValue(); - setState(731); - _errHandler.sync(this); - _la = _input.LA(1); - while (_la==COMMA) { - { - { - setState(727); - match(COMMA); - setState(728); - booleanValue(); - } - } - setState(733); - _errHandler.sync(this); - _la = _input.LA(1); - } - setState(734); - match(CLOSING_BRACKET); - } - break; - case 10: - _localctx = new StringArrayLiteralContext(_localctx); - enterOuterAlt(_localctx, 10); - { setState(736); match(OPENING_BRACKET); setState(737); - string(); + numericValue(); setState(742); _errHandler.sync(this); _la = _input.LA(1); @@ -6397,7 +6543,7 @@ public class EsqlBaseParser extends ParserConfig { setState(738); match(COMMA); setState(739); - string(); + numericValue(); } } setState(744); @@ -6408,6 +6554,62 @@ public class EsqlBaseParser extends ParserConfig { match(CLOSING_BRACKET); } break; + case 9: + _localctx = new BooleanArrayLiteralContext(_localctx); + enterOuterAlt(_localctx, 9); + { + setState(747); + match(OPENING_BRACKET); + setState(748); + booleanValue(); + setState(753); + _errHandler.sync(this); + _la = _input.LA(1); + while (_la==COMMA) { + { + { + setState(749); + match(COMMA); + setState(750); + booleanValue(); + } + } + setState(755); + _errHandler.sync(this); + _la = _input.LA(1); + } + setState(756); + match(CLOSING_BRACKET); + } + break; + case 10: + _localctx = new StringArrayLiteralContext(_localctx); + enterOuterAlt(_localctx, 10); + { + setState(758); + match(OPENING_BRACKET); + setState(759); + string(); + setState(764); + _errHandler.sync(this); + _la = _input.LA(1); + while (_la==COMMA) { + { + { + setState(760); + match(COMMA); + setState(761); + string(); + } + } + setState(766); + _errHandler.sync(this); + _la = _input.LA(1); + } + setState(767); + match(CLOSING_BRACKET); + } + break; } } catch (RecognitionException re) { @@ -6447,12 +6649,12 @@ public class EsqlBaseParser extends ParserConfig { public final BooleanValueContext booleanValue() throws RecognitionException { BooleanValueContext _localctx = new BooleanValueContext(_ctx, getState()); - enterRule(_localctx, 146, RULE_booleanValue); + enterRule(_localctx, 152, RULE_booleanValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(749); + setState(771); _la = _input.LA(1); if ( !(_la==FALSE || _la==TRUE) ) { _errHandler.recoverInline(this); @@ -6505,22 +6707,22 @@ public class EsqlBaseParser extends ParserConfig { public final NumericValueContext numericValue() throws RecognitionException { NumericValueContext _localctx = new NumericValueContext(_ctx, getState()); - enterRule(_localctx, 148, RULE_numericValue); + enterRule(_localctx, 154, RULE_numericValue); try { - setState(753); + setState(775); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(751); + setState(773); decimalValue(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(752); + setState(774); integerValue(); } break; @@ -6564,17 +6766,17 @@ public class EsqlBaseParser extends ParserConfig { public final DecimalValueContext decimalValue() throws RecognitionException { DecimalValueContext _localctx = new DecimalValueContext(_ctx, getState()); - enterRule(_localctx, 150, RULE_decimalValue); + enterRule(_localctx, 156, RULE_decimalValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(756); + setState(778); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(755); + setState(777); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -6587,7 +6789,7 @@ public class EsqlBaseParser extends ParserConfig { } } - setState(758); + setState(780); match(DECIMAL_LITERAL); } } @@ -6629,17 +6831,17 @@ public class EsqlBaseParser extends ParserConfig { public final IntegerValueContext integerValue() throws RecognitionException { IntegerValueContext _localctx = new IntegerValueContext(_ctx, getState()); - enterRule(_localctx, 152, RULE_integerValue); + enterRule(_localctx, 158, RULE_integerValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(761); + setState(783); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(760); + setState(782); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -6652,7 +6854,7 @@ public class EsqlBaseParser extends ParserConfig { } } - setState(763); + setState(785); match(INTEGER_LITERAL); } } @@ -6692,11 +6894,11 @@ public class EsqlBaseParser extends ParserConfig { public final StringContext string() throws RecognitionException { StringContext _localctx = new StringContext(_ctx, getState()); - enterRule(_localctx, 154, RULE_string); + enterRule(_localctx, 160, RULE_string); try { enterOuterAlt(_localctx, 1); { - setState(765); + setState(787); match(QUOTED_STRING); } } @@ -6741,12 +6943,12 @@ public class EsqlBaseParser extends ParserConfig { public final ComparisonOperatorContext comparisonOperator() throws RecognitionException { ComparisonOperatorContext _localctx = new ComparisonOperatorContext(_ctx, getState()); - enterRule(_localctx, 156, RULE_comparisonOperator); + enterRule(_localctx, 162, RULE_comparisonOperator); int _la; try { enterOuterAlt(_localctx, 1); { - setState(767); + setState(789); _la = _input.LA(1); if ( !(((((_la - 80)) & ~0x3f) == 0 && ((1L << (_la - 80)) & 125L) != 0)) ) { _errHandler.recoverInline(this); @@ -6804,12 +7006,12 @@ public class EsqlBaseParser extends ParserConfig { public final JoinCommandContext joinCommand() throws RecognitionException { JoinCommandContext _localctx = new JoinCommandContext(_ctx, getState()); - enterRule(_localctx, 158, RULE_joinCommand); + enterRule(_localctx, 164, RULE_joinCommand); int _la; try { enterOuterAlt(_localctx, 1); { - setState(769); + setState(791); ((JoinCommandContext)_localctx).type = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 54525952L) != 0)) ) { @@ -6820,11 +7022,11 @@ public class EsqlBaseParser extends ParserConfig { _errHandler.reportMatch(this); consume(); } - setState(770); + setState(792); match(JOIN); - setState(771); + setState(793); joinTarget(); - setState(772); + setState(794); joinCondition(); } } @@ -6867,11 +7069,11 @@ public class EsqlBaseParser extends ParserConfig { public final JoinTargetContext joinTarget() throws RecognitionException { JoinTargetContext _localctx = new JoinTargetContext(_ctx, getState()); - enterRule(_localctx, 160, RULE_joinTarget); + enterRule(_localctx, 166, RULE_joinTarget); try { enterOuterAlt(_localctx, 1); { - setState(774); + setState(796); ((JoinTargetContext)_localctx).index = indexPattern(); } } @@ -6921,32 +7123,32 @@ public class EsqlBaseParser extends ParserConfig { public final JoinConditionContext joinCondition() throws RecognitionException { JoinConditionContext _localctx = new JoinConditionContext(_ctx, getState()); - enterRule(_localctx, 162, RULE_joinCondition); + enterRule(_localctx, 168, RULE_joinCondition); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(776); + setState(798); match(ON); - setState(777); + setState(799); joinPredicate(); - setState(782); + setState(804); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,69,_ctx); + _alt = getInterpreter().adaptivePredict(_input,71,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(778); + setState(800); match(COMMA); - setState(779); + setState(801); joinPredicate(); } } } - setState(784); + setState(806); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,69,_ctx); + _alt = getInterpreter().adaptivePredict(_input,71,_ctx); } } } @@ -6988,11 +7190,11 @@ public class EsqlBaseParser extends ParserConfig { public final JoinPredicateContext joinPredicate() throws RecognitionException { JoinPredicateContext _localctx = new JoinPredicateContext(_ctx, getState()); - enterRule(_localctx, 164, RULE_joinPredicate); + enterRule(_localctx, 170, RULE_joinPredicate); try { enterOuterAlt(_localctx, 1); { - setState(785); + setState(807); valueExpression(); } } @@ -7017,11 +7219,11 @@ public class EsqlBaseParser extends ParserConfig { return processingCommand_sempred((ProcessingCommandContext)_localctx, predIndex); case 57: return forkSubQueryCommand_sempred((ForkSubQueryCommandContext)_localctx, predIndex); - case 62: + case 65: return booleanExpression_sempred((BooleanExpressionContext)_localctx, predIndex); - case 66: + case 69: return operatorExpression_sempred((OperatorExpressionContext)_localctx, predIndex); - case 67: + case 70: return primaryExpression_sempred((PrimaryExpressionContext)_localctx, predIndex); } return true; @@ -7089,7 +7291,7 @@ public class EsqlBaseParser extends ParserConfig { } public static final String _serializedATN = - "\u0004\u0001\u008b\u0314\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ + "\u0004\u0001\u008b\u032a\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ "\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004"+ "\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007"+ "\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b"+ @@ -7109,469 +7311,482 @@ public class EsqlBaseParser extends ParserConfig { "@\u0002A\u0007A\u0002B\u0007B\u0002C\u0007C\u0002D\u0007D\u0002E\u0007"+ "E\u0002F\u0007F\u0002G\u0007G\u0002H\u0007H\u0002I\u0007I\u0002J\u0007"+ "J\u0002K\u0007K\u0002L\u0007L\u0002M\u0007M\u0002N\u0007N\u0002O\u0007"+ - "O\u0002P\u0007P\u0002Q\u0007Q\u0002R\u0007R\u0001\u0000\u0001\u0000\u0001"+ - "\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0005\u0001\u00b0\b\u0001\n\u0001\f\u0001\u00b3\t\u0001\u0001\u0002"+ - "\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0003\u0002"+ - "\u00bb\b\u0002\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ + "O\u0002P\u0007P\u0002Q\u0007Q\u0002R\u0007R\u0002S\u0007S\u0002T\u0007"+ + "T\u0002U\u0007U\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001"+ + "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0005\u0001\u00b6"+ + "\b\u0001\n\u0001\f\u0001\u00b9\t\u0001\u0001\u0002\u0001\u0002\u0001\u0002"+ + "\u0001\u0002\u0001\u0002\u0001\u0002\u0003\u0002\u00c1\b\u0002\u0001\u0003"+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ - "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0003\u0003\u00d8\b\u0003"+ - "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0006"+ - "\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0005\u0007"+ - "\u00e5\b\u0007\n\u0007\f\u0007\u00e8\t\u0007\u0001\b\u0001\b\u0001\b\u0003"+ - "\b\u00ed\b\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001\t\u0005\t\u00f4\b\t"+ - "\n\t\f\t\u00f7\t\t\u0001\n\u0001\n\u0001\n\u0003\n\u00fc\b\n\u0001\u000b"+ - "\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001"+ - "\r\u0005\r\u0107\b\r\n\r\f\r\u010a\t\r\u0001\r\u0003\r\u010d\b\r\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ - "\u000e\u0001\u000e\u0001\u000e\u0003\u000e\u0118\b\u000e\u0001\u000f\u0001"+ - "\u000f\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0012\u0001"+ - "\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0005\u0013\u0126"+ - "\b\u0013\n\u0013\f\u0013\u0129\t\u0013\u0001\u0014\u0001\u0014\u0001\u0014"+ - "\u0001\u0015\u0001\u0015\u0003\u0015\u0130\b\u0015\u0001\u0015\u0001\u0015"+ - "\u0003\u0015\u0134\b\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0005\u0016"+ - "\u0139\b\u0016\n\u0016\f\u0016\u013c\t\u0016\u0001\u0017\u0001\u0017\u0001"+ - "\u0017\u0003\u0017\u0141\b\u0017\u0001\u0018\u0001\u0018\u0001\u0018\u0005"+ - "\u0018\u0146\b\u0018\n\u0018\f\u0018\u0149\t\u0018\u0001\u0019\u0001\u0019"+ - "\u0001\u0019\u0005\u0019\u014e\b\u0019\n\u0019\f\u0019\u0151\t\u0019\u0001"+ - "\u001a\u0001\u001a\u0001\u001a\u0005\u001a\u0156\b\u001a\n\u001a\f\u001a"+ - "\u0159\t\u001a\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001c"+ - "\u0003\u001c\u0160\b\u001c\u0001\u001d\u0001\u001d\u0003\u001d\u0164\b"+ - "\u001d\u0001\u001e\u0001\u001e\u0003\u001e\u0168\b\u001e\u0001\u001f\u0001"+ - "\u001f\u0001\u001f\u0003\u001f\u016d\b\u001f\u0001 \u0001 \u0001 \u0001"+ - "!\u0001!\u0001!\u0001!\u0005!\u0176\b!\n!\f!\u0179\t!\u0001\"\u0001\""+ - "\u0003\"\u017d\b\"\u0001\"\u0001\"\u0003\"\u0181\b\"\u0001#\u0001#\u0001"+ - "#\u0001$\u0001$\u0001$\u0001%\u0001%\u0001%\u0001%\u0005%\u018d\b%\n%"+ - "\f%\u0190\t%\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0003"+ - "&\u019a\b&\u0001\'\u0001\'\u0001\'\u0001\'\u0003\'\u01a0\b\'\u0001(\u0001"+ - "(\u0001(\u0001(\u0001)\u0001)\u0001)\u0001*\u0001*\u0001*\u0005*\u01ac"+ - "\b*\n*\f*\u01af\t*\u0001+\u0001+\u0001+\u0001+\u0001,\u0001,\u0001,\u0001"+ - "-\u0001-\u0001-\u0001-\u0001.\u0001.\u0001.\u0001/\u0001/\u0001/\u0001"+ - "/\u0003/\u01c3\b/\u0001/\u0001/\u0001/\u0001/\u0005/\u01c9\b/\n/\f/\u01cc"+ - "\t/\u0003/\u01ce\b/\u00010\u00010\u00010\u00030\u01d3\b0\u00010\u0001"+ - "0\u00011\u00011\u00011\u00012\u00012\u00012\u00012\u00012\u00013\u0001"+ - "3\u00013\u00013\u00033\u01e3\b3\u00014\u00014\u00014\u00014\u00034\u01e9"+ - "\b4\u00014\u00014\u00014\u00014\u00014\u00034\u01f0\b4\u00015\u00015\u0001"+ - "5\u00016\u00016\u00016\u00017\u00047\u01f9\b7\u000b7\f7\u01fa\u00018\u0001"+ - "8\u00018\u00018\u00019\u00019\u00019\u00019\u00019\u00019\u00059\u0207"+ - "\b9\n9\f9\u020a\t9\u0001:\u0001:\u0001;\u0001;\u0001<\u0001<\u0001<\u0001"+ - "<\u0001<\u0001<\u0003<\u0216\b<\u0001=\u0001=\u0001=\u0001=\u0003=\u021c"+ - "\b=\u0001=\u0001=\u0001=\u0001=\u0001>\u0001>\u0001>\u0001>\u0001>\u0001"+ - ">\u0001>\u0003>\u0229\b>\u0001>\u0001>\u0001>\u0001>\u0001>\u0005>\u0230"+ - "\b>\n>\f>\u0233\t>\u0001>\u0001>\u0001>\u0001>\u0001>\u0003>\u023a\b>"+ - "\u0001>\u0001>\u0001>\u0003>\u023f\b>\u0001>\u0001>\u0001>\u0001>\u0001"+ - ">\u0001>\u0005>\u0247\b>\n>\f>\u024a\t>\u0001?\u0001?\u0003?\u024e\b?"+ - "\u0001?\u0001?\u0001?\u0001?\u0001?\u0003?\u0255\b?\u0001?\u0001?\u0001"+ - "?\u0001?\u0001?\u0003?\u025c\b?\u0001?\u0001?\u0001?\u0001?\u0001?\u0005"+ - "?\u0263\b?\n?\f?\u0266\t?\u0001?\u0001?\u0003?\u026a\b?\u0001@\u0001@"+ - "\u0001@\u0003@\u026f\b@\u0001@\u0001@\u0001@\u0001A\u0001A\u0001A\u0001"+ - "A\u0001A\u0003A\u0279\bA\u0001B\u0001B\u0001B\u0001B\u0003B\u027f\bB\u0001"+ - "B\u0001B\u0001B\u0001B\u0001B\u0001B\u0005B\u0287\bB\nB\fB\u028a\tB\u0001"+ - "C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0001C\u0003C\u0294\bC\u0001"+ - "C\u0001C\u0001C\u0005C\u0299\bC\nC\fC\u029c\tC\u0001D\u0001D\u0001D\u0001"+ - "D\u0001D\u0001D\u0005D\u02a4\bD\nD\fD\u02a7\tD\u0001D\u0001D\u0003D\u02ab"+ - "\bD\u0003D\u02ad\bD\u0001D\u0001D\u0001E\u0001E\u0001F\u0001F\u0001F\u0001"+ - "F\u0005F\u02b7\bF\nF\fF\u02ba\tF\u0001F\u0001F\u0001G\u0001G\u0001G\u0001"+ - "G\u0001H\u0001H\u0001H\u0001H\u0001H\u0001H\u0001H\u0001H\u0001H\u0001"+ - "H\u0001H\u0001H\u0001H\u0005H\u02cf\bH\nH\fH\u02d2\tH\u0001H\u0001H\u0001"+ - "H\u0001H\u0001H\u0001H\u0005H\u02da\bH\nH\fH\u02dd\tH\u0001H\u0001H\u0001"+ - "H\u0001H\u0001H\u0001H\u0005H\u02e5\bH\nH\fH\u02e8\tH\u0001H\u0001H\u0003"+ - "H\u02ec\bH\u0001I\u0001I\u0001J\u0001J\u0003J\u02f2\bJ\u0001K\u0003K\u02f5"+ - "\bK\u0001K\u0001K\u0001L\u0003L\u02fa\bL\u0001L\u0001L\u0001M\u0001M\u0001"+ - "N\u0001N\u0001O\u0001O\u0001O\u0001O\u0001O\u0001P\u0001P\u0001Q\u0001"+ - "Q\u0001Q\u0001Q\u0005Q\u030d\bQ\nQ\fQ\u0310\tQ\u0001R\u0001R\u0001R\u0000"+ - "\u0005\u0002r|\u0084\u0086S\u0000\u0002\u0004\u0006\b\n\f\u000e\u0010"+ - "\u0012\u0014\u0016\u0018\u001a\u001c\u001e \"$&(*,.02468:<>@BDFHJLNPR"+ - "TVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e"+ - "\u0090\u0092\u0094\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4\u0000"+ - "\t\u0002\u000055kk\u0001\u0000ef\u0002\u000099??\u0002\u0000BBEE\u0001"+ - "\u0000WX\u0001\u0000Y[\u0002\u0000AANN\u0002\u0000PPRV\u0002\u0000\u0016"+ - "\u0016\u0018\u0019\u0330\u0000\u00a6\u0001\u0000\u0000\u0000\u0002\u00a9"+ - "\u0001\u0000\u0000\u0000\u0004\u00ba\u0001\u0000\u0000\u0000\u0006\u00d7"+ - "\u0001\u0000\u0000\u0000\b\u00d9\u0001\u0000\u0000\u0000\n\u00dc\u0001"+ - "\u0000\u0000\u0000\f\u00de\u0001\u0000\u0000\u0000\u000e\u00e1\u0001\u0000"+ - "\u0000\u0000\u0010\u00ec\u0001\u0000\u0000\u0000\u0012\u00f0\u0001\u0000"+ - "\u0000\u0000\u0014\u00f8\u0001\u0000\u0000\u0000\u0016\u00fd\u0001\u0000"+ - "\u0000\u0000\u0018\u0100\u0001\u0000\u0000\u0000\u001a\u0103\u0001\u0000"+ - "\u0000\u0000\u001c\u0117\u0001\u0000\u0000\u0000\u001e\u0119\u0001\u0000"+ - "\u0000\u0000 \u011b\u0001\u0000\u0000\u0000\"\u011d\u0001\u0000\u0000"+ - "\u0000$\u011f\u0001\u0000\u0000\u0000&\u0121\u0001\u0000\u0000\u0000("+ - "\u012a\u0001\u0000\u0000\u0000*\u012d\u0001\u0000\u0000\u0000,\u0135\u0001"+ - "\u0000\u0000\u0000.\u013d\u0001\u0000\u0000\u00000\u0142\u0001\u0000\u0000"+ - "\u00002\u014a\u0001\u0000\u0000\u00004\u0152\u0001\u0000\u0000\u00006"+ - "\u015a\u0001\u0000\u0000\u00008\u015f\u0001\u0000\u0000\u0000:\u0163\u0001"+ - "\u0000\u0000\u0000<\u0167\u0001\u0000\u0000\u0000>\u016c\u0001\u0000\u0000"+ - "\u0000@\u016e\u0001\u0000\u0000\u0000B\u0171\u0001\u0000\u0000\u0000D"+ - "\u017a\u0001\u0000\u0000\u0000F\u0182\u0001\u0000\u0000\u0000H\u0185\u0001"+ - "\u0000\u0000\u0000J\u0188\u0001\u0000\u0000\u0000L\u0199\u0001\u0000\u0000"+ - "\u0000N\u019b\u0001\u0000\u0000\u0000P\u01a1\u0001\u0000\u0000\u0000R"+ - "\u01a5\u0001\u0000\u0000\u0000T\u01a8\u0001\u0000\u0000\u0000V\u01b0\u0001"+ - "\u0000\u0000\u0000X\u01b4\u0001\u0000\u0000\u0000Z\u01b7\u0001\u0000\u0000"+ - "\u0000\\\u01bb\u0001\u0000\u0000\u0000^\u01be\u0001\u0000\u0000\u0000"+ - "`\u01d2\u0001\u0000\u0000\u0000b\u01d6\u0001\u0000\u0000\u0000d\u01d9"+ - "\u0001\u0000\u0000\u0000f\u01de\u0001\u0000\u0000\u0000h\u01e4\u0001\u0000"+ - "\u0000\u0000j\u01f1\u0001\u0000\u0000\u0000l\u01f4\u0001\u0000\u0000\u0000"+ - "n\u01f8\u0001\u0000\u0000\u0000p\u01fc\u0001\u0000\u0000\u0000r\u0200"+ - "\u0001\u0000\u0000\u0000t\u020b\u0001\u0000\u0000\u0000v\u020d\u0001\u0000"+ - "\u0000\u0000x\u020f\u0001\u0000\u0000\u0000z\u0217\u0001\u0000\u0000\u0000"+ - "|\u023e\u0001\u0000\u0000\u0000~\u0269\u0001\u0000\u0000\u0000\u0080\u026b"+ - "\u0001\u0000\u0000\u0000\u0082\u0278\u0001\u0000\u0000\u0000\u0084\u027e"+ - "\u0001\u0000\u0000\u0000\u0086\u0293\u0001\u0000\u0000\u0000\u0088\u029d"+ - "\u0001\u0000\u0000\u0000\u008a\u02b0\u0001\u0000\u0000\u0000\u008c\u02b2"+ - "\u0001\u0000\u0000\u0000\u008e\u02bd\u0001\u0000\u0000\u0000\u0090\u02eb"+ - "\u0001\u0000\u0000\u0000\u0092\u02ed\u0001\u0000\u0000\u0000\u0094\u02f1"+ - "\u0001\u0000\u0000\u0000\u0096\u02f4\u0001\u0000\u0000\u0000\u0098\u02f9"+ - "\u0001\u0000\u0000\u0000\u009a\u02fd\u0001\u0000\u0000\u0000\u009c\u02ff"+ - "\u0001\u0000\u0000\u0000\u009e\u0301\u0001\u0000\u0000\u0000\u00a0\u0306"+ - "\u0001\u0000\u0000\u0000\u00a2\u0308\u0001\u0000\u0000\u0000\u00a4\u0311"+ - "\u0001\u0000\u0000\u0000\u00a6\u00a7\u0003\u0002\u0001\u0000\u00a7\u00a8"+ - "\u0005\u0000\u0000\u0001\u00a8\u0001\u0001\u0000\u0000\u0000\u00a9\u00aa"+ - "\u0006\u0001\uffff\uffff\u0000\u00aa\u00ab\u0003\u0004\u0002\u0000\u00ab"+ - "\u00b1\u0001\u0000\u0000\u0000\u00ac\u00ad\n\u0001\u0000\u0000\u00ad\u00ae"+ - "\u00054\u0000\u0000\u00ae\u00b0\u0003\u0006\u0003\u0000\u00af\u00ac\u0001"+ - "\u0000\u0000\u0000\u00b0\u00b3\u0001\u0000\u0000\u0000\u00b1\u00af\u0001"+ - "\u0000\u0000\u0000\u00b1\u00b2\u0001\u0000\u0000\u0000\u00b2\u0003\u0001"+ - "\u0000\u0000\u0000\u00b3\u00b1\u0001\u0000\u0000\u0000\u00b4\u00bb\u0003"+ - "X,\u0000\u00b5\u00bb\u0003\u0016\u000b\u0000\u00b6\u00bb\u0003\f\u0006"+ - "\u0000\u00b7\u00bb\u0003\\.\u0000\u00b8\u00b9\u0004\u0002\u0001\u0000"+ - "\u00b9\u00bb\u0003\u0018\f\u0000\u00ba\u00b4\u0001\u0000\u0000\u0000\u00ba"+ - "\u00b5\u0001\u0000\u0000\u0000\u00ba\u00b6\u0001\u0000\u0000\u0000\u00ba"+ - "\u00b7\u0001\u0000\u0000\u0000\u00ba\u00b8\u0001\u0000\u0000\u0000\u00bb"+ - "\u0005\u0001\u0000\u0000\u0000\u00bc\u00d8\u0003(\u0014\u0000\u00bd\u00d8"+ - "\u0003\b\u0004\u0000\u00be\u00d8\u0003F#\u0000\u00bf\u00d8\u0003@ \u0000"+ - "\u00c0\u00d8\u0003*\u0015\u0000\u00c1\u00d8\u0003B!\u0000\u00c2\u00d8"+ - "\u0003H$\u0000\u00c3\u00d8\u0003J%\u0000\u00c4\u00d8\u0003N\'\u0000\u00c5"+ - "\u00d8\u0003P(\u0000\u00c6\u00d8\u0003^/\u0000\u00c7\u00d8\u0003R)\u0000"+ - "\u00c8\u00d8\u0003\u009eO\u0000\u00c9\u00d8\u0003h4\u0000\u00ca\u00d8"+ - "\u0003z=\u0000\u00cb\u00d8\u0003b1\u0000\u00cc\u00d8\u0003l6\u0000\u00cd"+ - "\u00ce\u0004\u0003\u0002\u0000\u00ce\u00d8\u0003f3\u0000\u00cf\u00d0\u0004"+ - "\u0003\u0003\u0000\u00d0\u00d8\u0003d2\u0000\u00d1\u00d2\u0004\u0003\u0004"+ - "\u0000\u00d2\u00d8\u0003j5\u0000\u00d3\u00d4\u0004\u0003\u0005\u0000\u00d4"+ - "\u00d8\u0003x<\u0000\u00d5\u00d6\u0004\u0003\u0006\u0000\u00d6\u00d8\u0003"+ - "v;\u0000\u00d7\u00bc\u0001\u0000\u0000\u0000\u00d7\u00bd\u0001\u0000\u0000"+ - "\u0000\u00d7\u00be\u0001\u0000\u0000\u0000\u00d7\u00bf\u0001\u0000\u0000"+ - "\u0000\u00d7\u00c0\u0001\u0000\u0000\u0000\u00d7\u00c1\u0001\u0000\u0000"+ - "\u0000\u00d7\u00c2\u0001\u0000\u0000\u0000\u00d7\u00c3\u0001\u0000\u0000"+ - "\u0000\u00d7\u00c4\u0001\u0000\u0000\u0000\u00d7\u00c5\u0001\u0000\u0000"+ - "\u0000\u00d7\u00c6\u0001\u0000\u0000\u0000\u00d7\u00c7\u0001\u0000\u0000"+ - "\u0000\u00d7\u00c8\u0001\u0000\u0000\u0000\u00d7\u00c9\u0001\u0000\u0000"+ - "\u0000\u00d7\u00ca\u0001\u0000\u0000\u0000\u00d7\u00cb\u0001\u0000\u0000"+ - "\u0000\u00d7\u00cc\u0001\u0000\u0000\u0000\u00d7\u00cd\u0001\u0000\u0000"+ - "\u0000\u00d7\u00cf\u0001\u0000\u0000\u0000\u00d7\u00d1\u0001\u0000\u0000"+ - "\u0000\u00d7\u00d3\u0001\u0000\u0000\u0000\u00d7\u00d5\u0001\u0000\u0000"+ - "\u0000\u00d8\u0007\u0001\u0000\u0000\u0000\u00d9\u00da\u0005\u0010\u0000"+ - "\u0000\u00da\u00db\u0003|>\u0000\u00db\t\u0001\u0000\u0000\u0000\u00dc"+ - "\u00dd\u00036\u001b\u0000\u00dd\u000b\u0001\u0000\u0000\u0000\u00de\u00df"+ - "\u0005\f\u0000\u0000\u00df\u00e0\u0003\u000e\u0007\u0000\u00e0\r\u0001"+ - "\u0000\u0000\u0000\u00e1\u00e6\u0003\u0010\b\u0000\u00e2\u00e3\u0005>"+ - "\u0000\u0000\u00e3\u00e5\u0003\u0010\b\u0000\u00e4\u00e2\u0001\u0000\u0000"+ - "\u0000\u00e5\u00e8\u0001\u0000\u0000\u0000\u00e6\u00e4\u0001\u0000\u0000"+ - "\u0000\u00e6\u00e7\u0001\u0000\u0000\u0000\u00e7\u000f\u0001\u0000\u0000"+ - "\u0000\u00e8\u00e6\u0001\u0000\u0000\u0000\u00e9\u00ea\u00030\u0018\u0000"+ - "\u00ea\u00eb\u0005:\u0000\u0000\u00eb\u00ed\u0001\u0000\u0000\u0000\u00ec"+ - "\u00e9\u0001\u0000\u0000\u0000\u00ec\u00ed\u0001\u0000\u0000\u0000\u00ed"+ - "\u00ee\u0001\u0000\u0000\u0000\u00ee\u00ef\u0003|>\u0000\u00ef\u0011\u0001"+ - "\u0000\u0000\u0000\u00f0\u00f5\u0003\u0014\n\u0000\u00f1\u00f2\u0005>"+ - "\u0000\u0000\u00f2\u00f4\u0003\u0014\n\u0000\u00f3\u00f1\u0001\u0000\u0000"+ - "\u0000\u00f4\u00f7\u0001\u0000\u0000\u0000\u00f5\u00f3\u0001\u0000\u0000"+ - "\u0000\u00f5\u00f6\u0001\u0000\u0000\u0000\u00f6\u0013\u0001\u0000\u0000"+ - "\u0000\u00f7\u00f5\u0001\u0000\u0000\u0000\u00f8\u00fb\u00030\u0018\u0000"+ - "\u00f9\u00fa\u0005:\u0000\u0000\u00fa\u00fc\u0003|>\u0000\u00fb\u00f9"+ - "\u0001\u0000\u0000\u0000\u00fb\u00fc\u0001\u0000\u0000\u0000\u00fc\u0015"+ - "\u0001\u0000\u0000\u0000\u00fd\u00fe\u0005\u0013\u0000\u0000\u00fe\u00ff"+ - "\u0003\u001a\r\u0000\u00ff\u0017\u0001\u0000\u0000\u0000\u0100\u0101\u0005"+ - "\u0014\u0000\u0000\u0101\u0102\u0003\u001a\r\u0000\u0102\u0019\u0001\u0000"+ - "\u0000\u0000\u0103\u0108\u0003\u001c\u000e\u0000\u0104\u0105\u0005>\u0000"+ - "\u0000\u0105\u0107\u0003\u001c\u000e\u0000\u0106\u0104\u0001\u0000\u0000"+ - "\u0000\u0107\u010a\u0001\u0000\u0000\u0000\u0108\u0106\u0001\u0000\u0000"+ - "\u0000\u0108\u0109\u0001\u0000\u0000\u0000\u0109\u010c\u0001\u0000\u0000"+ - "\u0000\u010a\u0108\u0001\u0000\u0000\u0000\u010b\u010d\u0003&\u0013\u0000"+ - "\u010c\u010b\u0001\u0000\u0000\u0000\u010c\u010d\u0001\u0000\u0000\u0000"+ - "\u010d\u001b\u0001\u0000\u0000\u0000\u010e\u010f\u0003\u001e\u000f\u0000"+ - "\u010f\u0110\u0005=\u0000\u0000\u0110\u0111\u0003\"\u0011\u0000\u0111"+ - "\u0118\u0001\u0000\u0000\u0000\u0112\u0113\u0003\"\u0011\u0000\u0113\u0114"+ - "\u0005<\u0000\u0000\u0114\u0115\u0003 \u0010\u0000\u0115\u0118\u0001\u0000"+ - "\u0000\u0000\u0116\u0118\u0003$\u0012\u0000\u0117\u010e\u0001\u0000\u0000"+ - "\u0000\u0117\u0112\u0001\u0000\u0000\u0000\u0117\u0116\u0001\u0000\u0000"+ - "\u0000\u0118\u001d\u0001\u0000\u0000\u0000\u0119\u011a\u0005k\u0000\u0000"+ - "\u011a\u001f\u0001\u0000\u0000\u0000\u011b\u011c\u0005k\u0000\u0000\u011c"+ - "!\u0001\u0000\u0000\u0000\u011d\u011e\u0005k\u0000\u0000\u011e#\u0001"+ - "\u0000\u0000\u0000\u011f\u0120\u0007\u0000\u0000\u0000\u0120%\u0001\u0000"+ - "\u0000\u0000\u0121\u0122\u0005j\u0000\u0000\u0122\u0127\u0005k\u0000\u0000"+ - "\u0123\u0124\u0005>\u0000\u0000\u0124\u0126\u0005k\u0000\u0000\u0125\u0123"+ - "\u0001\u0000\u0000\u0000\u0126\u0129\u0001\u0000\u0000\u0000\u0127\u0125"+ - "\u0001\u0000\u0000\u0000\u0127\u0128\u0001\u0000\u0000\u0000\u0128\'\u0001"+ - "\u0000\u0000\u0000\u0129\u0127\u0001\u0000\u0000\u0000\u012a\u012b\u0005"+ - "\t\u0000\u0000\u012b\u012c\u0003\u000e\u0007\u0000\u012c)\u0001\u0000"+ - "\u0000\u0000\u012d\u012f\u0005\u000f\u0000\u0000\u012e\u0130\u0003,\u0016"+ - "\u0000\u012f\u012e\u0001\u0000\u0000\u0000\u012f\u0130\u0001\u0000\u0000"+ - "\u0000\u0130\u0133\u0001\u0000\u0000\u0000\u0131\u0132\u0005;\u0000\u0000"+ - "\u0132\u0134\u0003\u000e\u0007\u0000\u0133\u0131\u0001\u0000\u0000\u0000"+ - "\u0133\u0134\u0001\u0000\u0000\u0000\u0134+\u0001\u0000\u0000\u0000\u0135"+ - "\u013a\u0003.\u0017\u0000\u0136\u0137\u0005>\u0000\u0000\u0137\u0139\u0003"+ - ".\u0017\u0000\u0138\u0136\u0001\u0000\u0000\u0000\u0139\u013c\u0001\u0000"+ - "\u0000\u0000\u013a\u0138\u0001\u0000\u0000\u0000\u013a\u013b\u0001\u0000"+ - "\u0000\u0000\u013b-\u0001\u0000\u0000\u0000\u013c\u013a\u0001\u0000\u0000"+ - "\u0000\u013d\u0140\u0003\u0010\b\u0000\u013e\u013f\u0005\u0010\u0000\u0000"+ - "\u013f\u0141\u0003|>\u0000\u0140\u013e\u0001\u0000\u0000\u0000\u0140\u0141"+ - "\u0001\u0000\u0000\u0000\u0141/\u0001\u0000\u0000\u0000\u0142\u0147\u0003"+ - ">\u001f\u0000\u0143\u0144\u0005@\u0000\u0000\u0144\u0146\u0003>\u001f"+ - "\u0000\u0145\u0143\u0001\u0000\u0000\u0000\u0146\u0149\u0001\u0000\u0000"+ - "\u0000\u0147\u0145\u0001\u0000\u0000\u0000\u0147\u0148\u0001\u0000\u0000"+ - "\u0000\u01481\u0001\u0000\u0000\u0000\u0149\u0147\u0001\u0000\u0000\u0000"+ - "\u014a\u014f\u00038\u001c\u0000\u014b\u014c\u0005@\u0000\u0000\u014c\u014e"+ - "\u00038\u001c\u0000\u014d\u014b\u0001\u0000\u0000\u0000\u014e\u0151\u0001"+ - "\u0000\u0000\u0000\u014f\u014d\u0001\u0000\u0000\u0000\u014f\u0150\u0001"+ - "\u0000\u0000\u0000\u01503\u0001\u0000\u0000\u0000\u0151\u014f\u0001\u0000"+ - "\u0000\u0000\u0152\u0157\u00032\u0019\u0000\u0153\u0154\u0005>\u0000\u0000"+ - "\u0154\u0156\u00032\u0019\u0000\u0155\u0153\u0001\u0000\u0000\u0000\u0156"+ - "\u0159\u0001\u0000\u0000\u0000\u0157\u0155\u0001\u0000\u0000\u0000\u0157"+ - "\u0158\u0001\u0000\u0000\u0000\u01585\u0001\u0000\u0000\u0000\u0159\u0157"+ - "\u0001\u0000\u0000\u0000\u015a\u015b\u0007\u0001\u0000\u0000\u015b7\u0001"+ - "\u0000\u0000\u0000\u015c\u0160\u0005\u0080\u0000\u0000\u015d\u0160\u0003"+ - ":\u001d\u0000\u015e\u0160\u0003<\u001e\u0000\u015f\u015c\u0001\u0000\u0000"+ - "\u0000\u015f\u015d\u0001\u0000\u0000\u0000\u015f\u015e\u0001\u0000\u0000"+ - "\u0000\u01609\u0001\u0000\u0000\u0000\u0161\u0164\u0005L\u0000\u0000\u0162"+ - "\u0164\u0005_\u0000\u0000\u0163\u0161\u0001\u0000\u0000\u0000\u0163\u0162"+ - "\u0001\u0000\u0000\u0000\u0164;\u0001\u0000\u0000\u0000\u0165\u0168\u0005"+ - "^\u0000\u0000\u0166\u0168\u0005`\u0000\u0000\u0167\u0165\u0001\u0000\u0000"+ - "\u0000\u0167\u0166\u0001\u0000\u0000\u0000\u0168=\u0001\u0000\u0000\u0000"+ - "\u0169\u016d\u00036\u001b\u0000\u016a\u016d\u0003:\u001d\u0000\u016b\u016d"+ - "\u0003<\u001e\u0000\u016c\u0169\u0001\u0000\u0000\u0000\u016c\u016a\u0001"+ - "\u0000\u0000\u0000\u016c\u016b\u0001\u0000\u0000\u0000\u016d?\u0001\u0000"+ - "\u0000\u0000\u016e\u016f\u0005\u000b\u0000\u0000\u016f\u0170\u0003\u0090"+ - "H\u0000\u0170A\u0001\u0000\u0000\u0000\u0171\u0172\u0005\u000e\u0000\u0000"+ - "\u0172\u0177\u0003D\"\u0000\u0173\u0174\u0005>\u0000\u0000\u0174\u0176"+ - "\u0003D\"\u0000\u0175\u0173\u0001\u0000\u0000\u0000\u0176\u0179\u0001"+ - "\u0000\u0000\u0000\u0177\u0175\u0001\u0000\u0000\u0000\u0177\u0178\u0001"+ - "\u0000\u0000\u0000\u0178C\u0001\u0000\u0000\u0000\u0179\u0177\u0001\u0000"+ - "\u0000\u0000\u017a\u017c\u0003|>\u0000\u017b\u017d\u0007\u0002\u0000\u0000"+ - "\u017c\u017b\u0001\u0000\u0000\u0000\u017c\u017d\u0001\u0000\u0000\u0000"+ - "\u017d\u0180\u0001\u0000\u0000\u0000\u017e\u017f\u0005I\u0000\u0000\u017f"+ - "\u0181\u0007\u0003\u0000\u0000\u0180\u017e\u0001\u0000\u0000\u0000\u0180"+ - "\u0181\u0001\u0000\u0000\u0000\u0181E\u0001\u0000\u0000\u0000\u0182\u0183"+ - "\u0005\u001d\u0000\u0000\u0183\u0184\u00034\u001a\u0000\u0184G\u0001\u0000"+ - "\u0000\u0000\u0185\u0186\u0005\u001c\u0000\u0000\u0186\u0187\u00034\u001a"+ - "\u0000\u0187I\u0001\u0000\u0000\u0000\u0188\u0189\u0005 \u0000\u0000\u0189"+ - "\u018e\u0003L&\u0000\u018a\u018b\u0005>\u0000\u0000\u018b\u018d\u0003"+ - "L&\u0000\u018c\u018a\u0001\u0000\u0000\u0000\u018d\u0190\u0001\u0000\u0000"+ - "\u0000\u018e\u018c\u0001\u0000\u0000\u0000\u018e\u018f\u0001\u0000\u0000"+ - "\u0000\u018fK\u0001\u0000\u0000\u0000\u0190\u018e\u0001\u0000\u0000\u0000"+ - "\u0191\u0192\u00032\u0019\u0000\u0192\u0193\u0005\u0084\u0000\u0000\u0193"+ - "\u0194\u00032\u0019\u0000\u0194\u019a\u0001\u0000\u0000\u0000\u0195\u0196"+ - "\u00032\u0019\u0000\u0196\u0197\u0005:\u0000\u0000\u0197\u0198\u00032"+ - "\u0019\u0000\u0198\u019a\u0001\u0000\u0000\u0000\u0199\u0191\u0001\u0000"+ - "\u0000\u0000\u0199\u0195\u0001\u0000\u0000\u0000\u019aM\u0001\u0000\u0000"+ - "\u0000\u019b\u019c\u0005\b\u0000\u0000\u019c\u019d\u0003\u0086C\u0000"+ - "\u019d\u019f\u0003\u009aM\u0000\u019e\u01a0\u0003T*\u0000\u019f\u019e"+ - "\u0001\u0000\u0000\u0000\u019f\u01a0\u0001\u0000\u0000\u0000\u01a0O\u0001"+ - "\u0000\u0000\u0000\u01a1\u01a2\u0005\n\u0000\u0000\u01a2\u01a3\u0003\u0086"+ - "C\u0000\u01a3\u01a4\u0003\u009aM\u0000\u01a4Q\u0001\u0000\u0000\u0000"+ - "\u01a5\u01a6\u0005\u001b\u0000\u0000\u01a6\u01a7\u00030\u0018\u0000\u01a7"+ - "S\u0001\u0000\u0000\u0000\u01a8\u01ad\u0003V+\u0000\u01a9\u01aa\u0005"+ - ">\u0000\u0000\u01aa\u01ac\u0003V+\u0000\u01ab\u01a9\u0001\u0000\u0000"+ - "\u0000\u01ac\u01af\u0001\u0000\u0000\u0000\u01ad\u01ab\u0001\u0000\u0000"+ - "\u0000\u01ad\u01ae\u0001\u0000\u0000\u0000\u01aeU\u0001\u0000\u0000\u0000"+ - "\u01af\u01ad\u0001\u0000\u0000\u0000\u01b0\u01b1\u00036\u001b\u0000\u01b1"+ - "\u01b2\u0005:\u0000\u0000\u01b2\u01b3\u0003\u0090H\u0000\u01b3W\u0001"+ - "\u0000\u0000\u0000\u01b4\u01b5\u0005\u0006\u0000\u0000\u01b5\u01b6\u0003"+ - "Z-\u0000\u01b6Y\u0001\u0000\u0000\u0000\u01b7\u01b8\u0005a\u0000\u0000"+ - "\u01b8\u01b9\u0003\u0002\u0001\u0000\u01b9\u01ba\u0005b\u0000\u0000\u01ba"+ - "[\u0001\u0000\u0000\u0000\u01bb\u01bc\u0005!\u0000\u0000\u01bc\u01bd\u0005"+ - "\u0088\u0000\u0000\u01bd]\u0001\u0000\u0000\u0000\u01be\u01bf\u0005\u0005"+ - "\u0000\u0000\u01bf\u01c2\u0005&\u0000\u0000\u01c0\u01c1\u0005J\u0000\u0000"+ - "\u01c1\u01c3\u00032\u0019\u0000\u01c2\u01c0\u0001\u0000\u0000\u0000\u01c2"+ - "\u01c3\u0001\u0000\u0000\u0000\u01c3\u01cd\u0001\u0000\u0000\u0000\u01c4"+ - "\u01c5\u0005O\u0000\u0000\u01c5\u01ca\u0003`0\u0000\u01c6\u01c7\u0005"+ - ">\u0000\u0000\u01c7\u01c9\u0003`0\u0000\u01c8\u01c6\u0001\u0000\u0000"+ - "\u0000\u01c9\u01cc\u0001\u0000\u0000\u0000\u01ca\u01c8\u0001\u0000\u0000"+ - "\u0000\u01ca\u01cb\u0001\u0000\u0000\u0000\u01cb\u01ce\u0001\u0000\u0000"+ - "\u0000\u01cc\u01ca\u0001\u0000\u0000\u0000\u01cd\u01c4\u0001\u0000\u0000"+ - "\u0000\u01cd\u01ce\u0001\u0000\u0000\u0000\u01ce_\u0001\u0000\u0000\u0000"+ - "\u01cf\u01d0\u00032\u0019\u0000\u01d0\u01d1\u0005:\u0000\u0000\u01d1\u01d3"+ - "\u0001\u0000\u0000\u0000\u01d2\u01cf\u0001\u0000\u0000\u0000\u01d2\u01d3"+ - "\u0001\u0000\u0000\u0000\u01d3\u01d4\u0001\u0000\u0000\u0000\u01d4\u01d5"+ - "\u00032\u0019\u0000\u01d5a\u0001\u0000\u0000\u0000\u01d6\u01d7\u0005\r"+ - "\u0000\u0000\u01d7\u01d8\u0003\u0090H\u0000\u01d8c\u0001\u0000\u0000\u0000"+ - "\u01d9\u01da\u0005\u001a\u0000\u0000\u01da\u01db\u0003\u001c\u000e\u0000"+ - "\u01db\u01dc\u0005J\u0000\u0000\u01dc\u01dd\u00034\u001a\u0000\u01dde"+ - "\u0001\u0000\u0000\u0000\u01de\u01df\u0005\u0011\u0000\u0000\u01df\u01e2"+ - "\u0003,\u0016\u0000\u01e0\u01e1\u0005;\u0000\u0000\u01e1\u01e3\u0003\u000e"+ - "\u0007\u0000\u01e2\u01e0\u0001\u0000\u0000\u0000\u01e2\u01e3\u0001\u0000"+ - "\u0000\u0000\u01e3g\u0001\u0000\u0000\u0000\u01e4\u01e5\u0005\u0004\u0000"+ - "\u0000\u01e5\u01e8\u00030\u0018\u0000\u01e6\u01e7\u0005J\u0000\u0000\u01e7"+ - "\u01e9\u00030\u0018\u0000\u01e8\u01e6\u0001\u0000\u0000\u0000\u01e8\u01e9"+ - "\u0001\u0000\u0000\u0000\u01e9\u01ef\u0001\u0000\u0000\u0000\u01ea\u01eb"+ - "\u0005\u0084\u0000\u0000\u01eb\u01ec\u00030\u0018\u0000\u01ec\u01ed\u0005"+ - ">\u0000\u0000\u01ed\u01ee\u00030\u0018\u0000\u01ee\u01f0\u0001\u0000\u0000"+ - "\u0000\u01ef\u01ea\u0001\u0000\u0000\u0000\u01ef\u01f0\u0001\u0000\u0000"+ - "\u0000\u01f0i\u0001\u0000\u0000\u0000\u01f1\u01f2\u0005\u001e\u0000\u0000"+ - "\u01f2\u01f3\u00034\u001a\u0000\u01f3k\u0001\u0000\u0000\u0000\u01f4\u01f5"+ - "\u0005\u0015\u0000\u0000\u01f5\u01f6\u0003n7\u0000\u01f6m\u0001\u0000"+ - "\u0000\u0000\u01f7\u01f9\u0003p8\u0000\u01f8\u01f7\u0001\u0000\u0000\u0000"+ - "\u01f9\u01fa\u0001\u0000\u0000\u0000\u01fa\u01f8\u0001\u0000\u0000\u0000"+ - "\u01fa\u01fb\u0001\u0000\u0000\u0000\u01fbo\u0001\u0000\u0000\u0000\u01fc"+ - "\u01fd\u0005c\u0000\u0000\u01fd\u01fe\u0003r9\u0000\u01fe\u01ff\u0005"+ - "d\u0000\u0000\u01ffq\u0001\u0000\u0000\u0000\u0200\u0201\u00069\uffff"+ - "\uffff\u0000\u0201\u0202\u0003t:\u0000\u0202\u0208\u0001\u0000\u0000\u0000"+ - "\u0203\u0204\n\u0001\u0000\u0000\u0204\u0205\u00054\u0000\u0000\u0205"+ - "\u0207\u0003t:\u0000\u0206\u0203\u0001\u0000\u0000\u0000\u0207\u020a\u0001"+ - "\u0000\u0000\u0000\u0208\u0206\u0001\u0000\u0000\u0000\u0208\u0209\u0001"+ - "\u0000\u0000\u0000\u0209s\u0001\u0000\u0000\u0000\u020a\u0208\u0001\u0000"+ - "\u0000\u0000\u020b\u020c\u0003\u0006\u0003\u0000\u020cu\u0001\u0000\u0000"+ - "\u0000\u020d\u020e\u0005\u001f\u0000\u0000\u020ew\u0001\u0000\u0000\u0000"+ - "\u020f\u0210\u0005\u0012\u0000\u0000\u0210\u0211\u0003\u0090H\u0000\u0211"+ - "\u0212\u0005J\u0000\u0000\u0212\u0215\u0003\u0012\t\u0000\u0213\u0214"+ - "\u0005O\u0000\u0000\u0214\u0216\u0003>\u001f\u0000\u0215\u0213\u0001\u0000"+ - "\u0000\u0000\u0215\u0216\u0001\u0000\u0000\u0000\u0216y\u0001\u0000\u0000"+ - "\u0000\u0217\u021b\u0005\u0007\u0000\u0000\u0218\u0219\u00030\u0018\u0000"+ - "\u0219\u021a\u0005:\u0000\u0000\u021a\u021c\u0001\u0000\u0000\u0000\u021b"+ - "\u0218\u0001\u0000\u0000\u0000\u021b\u021c\u0001\u0000\u0000\u0000\u021c"+ - "\u021d\u0001\u0000\u0000\u0000\u021d\u021e\u0003\u0086C\u0000\u021e\u021f"+ - "\u0005O\u0000\u0000\u021f\u0220\u0003>\u001f\u0000\u0220{\u0001\u0000"+ - "\u0000\u0000\u0221\u0222\u0006>\uffff\uffff\u0000\u0222\u0223\u0005G\u0000"+ - "\u0000\u0223\u023f\u0003|>\b\u0224\u023f\u0003\u0082A\u0000\u0225\u023f"+ - "\u0003~?\u0000\u0226\u0228\u0003\u0082A\u0000\u0227\u0229\u0005G\u0000"+ - "\u0000\u0228\u0227\u0001\u0000\u0000\u0000\u0228\u0229\u0001\u0000\u0000"+ - "\u0000\u0229\u022a\u0001\u0000\u0000\u0000\u022a\u022b\u0005C\u0000\u0000"+ - "\u022b\u022c\u0005c\u0000\u0000\u022c\u0231\u0003\u0082A\u0000\u022d\u022e"+ - "\u0005>\u0000\u0000\u022e\u0230\u0003\u0082A\u0000\u022f\u022d\u0001\u0000"+ - "\u0000\u0000\u0230\u0233\u0001\u0000\u0000\u0000\u0231\u022f\u0001\u0000"+ - "\u0000\u0000\u0231\u0232\u0001\u0000\u0000\u0000\u0232\u0234\u0001\u0000"+ - "\u0000\u0000\u0233\u0231\u0001\u0000\u0000\u0000\u0234\u0235\u0005d\u0000"+ - "\u0000\u0235\u023f\u0001\u0000\u0000\u0000\u0236\u0237\u0003\u0082A\u0000"+ - "\u0237\u0239\u0005D\u0000\u0000\u0238\u023a\u0005G\u0000\u0000\u0239\u0238"+ - "\u0001\u0000\u0000\u0000\u0239\u023a\u0001\u0000\u0000\u0000\u023a\u023b"+ - "\u0001\u0000\u0000\u0000\u023b\u023c\u0005H\u0000\u0000\u023c\u023f\u0001"+ - "\u0000\u0000\u0000\u023d\u023f\u0003\u0080@\u0000\u023e\u0221\u0001\u0000"+ - "\u0000\u0000\u023e\u0224\u0001\u0000\u0000\u0000\u023e\u0225\u0001\u0000"+ - "\u0000\u0000\u023e\u0226\u0001\u0000\u0000\u0000\u023e\u0236\u0001\u0000"+ - "\u0000\u0000\u023e\u023d\u0001\u0000\u0000\u0000\u023f\u0248\u0001\u0000"+ - "\u0000\u0000\u0240\u0241\n\u0005\u0000\u0000\u0241\u0242\u00058\u0000"+ - "\u0000\u0242\u0247\u0003|>\u0006\u0243\u0244\n\u0004\u0000\u0000\u0244"+ - "\u0245\u0005K\u0000\u0000\u0245\u0247\u0003|>\u0005\u0246\u0240\u0001"+ - "\u0000\u0000\u0000\u0246\u0243\u0001\u0000\u0000\u0000\u0247\u024a\u0001"+ - "\u0000\u0000\u0000\u0248\u0246\u0001\u0000\u0000\u0000\u0248\u0249\u0001"+ - "\u0000\u0000\u0000\u0249}\u0001\u0000\u0000\u0000\u024a\u0248\u0001\u0000"+ - "\u0000\u0000\u024b\u024d\u0003\u0082A\u0000\u024c\u024e\u0005G\u0000\u0000"+ - "\u024d\u024c\u0001\u0000\u0000\u0000\u024d\u024e\u0001\u0000\u0000\u0000"+ - "\u024e\u024f\u0001\u0000\u0000\u0000\u024f\u0250\u0005F\u0000\u0000\u0250"+ - "\u0251\u0003\u009aM\u0000\u0251\u026a\u0001\u0000\u0000\u0000\u0252\u0254"+ - "\u0003\u0082A\u0000\u0253\u0255\u0005G\u0000\u0000\u0254\u0253\u0001\u0000"+ - "\u0000\u0000\u0254\u0255\u0001\u0000\u0000\u0000\u0255\u0256\u0001\u0000"+ - "\u0000\u0000\u0256\u0257\u0005M\u0000\u0000\u0257\u0258\u0003\u009aM\u0000"+ - "\u0258\u026a\u0001\u0000\u0000\u0000\u0259\u025b\u0003\u0082A\u0000\u025a"+ - "\u025c\u0005G\u0000\u0000\u025b\u025a\u0001\u0000\u0000\u0000\u025b\u025c"+ - "\u0001\u0000\u0000\u0000\u025c\u025d\u0001\u0000\u0000\u0000\u025d\u025e"+ - "\u0005F\u0000\u0000\u025e\u025f\u0005c\u0000\u0000\u025f\u0264\u0003\u009a"+ - "M\u0000\u0260\u0261\u0005>\u0000\u0000\u0261\u0263\u0003\u009aM\u0000"+ - "\u0262\u0260\u0001\u0000\u0000\u0000\u0263\u0266\u0001\u0000\u0000\u0000"+ - "\u0264\u0262\u0001\u0000\u0000\u0000\u0264\u0265\u0001\u0000\u0000\u0000"+ - "\u0265\u0267\u0001\u0000\u0000\u0000\u0266\u0264\u0001\u0000\u0000\u0000"+ - "\u0267\u0268\u0005d\u0000\u0000\u0268\u026a\u0001\u0000\u0000\u0000\u0269"+ - "\u024b\u0001\u0000\u0000\u0000\u0269\u0252\u0001\u0000\u0000\u0000\u0269"+ - "\u0259\u0001\u0000\u0000\u0000\u026a\u007f\u0001\u0000\u0000\u0000\u026b"+ - "\u026e\u00030\u0018\u0000\u026c\u026d\u0005<\u0000\u0000\u026d\u026f\u0003"+ - "\n\u0005\u0000\u026e\u026c\u0001\u0000\u0000\u0000\u026e\u026f\u0001\u0000"+ - "\u0000\u0000\u026f\u0270\u0001\u0000\u0000\u0000\u0270\u0271\u0005=\u0000"+ - "\u0000\u0271\u0272\u0003\u0090H\u0000\u0272\u0081\u0001\u0000\u0000\u0000"+ - "\u0273\u0279\u0003\u0084B\u0000\u0274\u0275\u0003\u0084B\u0000\u0275\u0276"+ - "\u0003\u009cN\u0000\u0276\u0277\u0003\u0084B\u0000\u0277\u0279\u0001\u0000"+ - "\u0000\u0000\u0278\u0273\u0001\u0000\u0000\u0000\u0278\u0274\u0001\u0000"+ - "\u0000\u0000\u0279\u0083\u0001\u0000\u0000\u0000\u027a\u027b\u0006B\uffff"+ - "\uffff\u0000\u027b\u027f\u0003\u0086C\u0000\u027c\u027d\u0007\u0004\u0000"+ - "\u0000\u027d\u027f\u0003\u0084B\u0003\u027e\u027a\u0001\u0000\u0000\u0000"+ - "\u027e\u027c\u0001\u0000\u0000\u0000\u027f\u0288\u0001\u0000\u0000\u0000"+ - "\u0280\u0281\n\u0002\u0000\u0000\u0281\u0282\u0007\u0005\u0000\u0000\u0282"+ - "\u0287\u0003\u0084B\u0003\u0283\u0284\n\u0001\u0000\u0000\u0284\u0285"+ - "\u0007\u0004\u0000\u0000\u0285\u0287\u0003\u0084B\u0002\u0286\u0280\u0001"+ - "\u0000\u0000\u0000\u0286\u0283\u0001\u0000\u0000\u0000\u0287\u028a\u0001"+ - "\u0000\u0000\u0000\u0288\u0286\u0001\u0000\u0000\u0000\u0288\u0289\u0001"+ - "\u0000\u0000\u0000\u0289\u0085\u0001\u0000\u0000\u0000\u028a\u0288\u0001"+ - "\u0000\u0000\u0000\u028b\u028c\u0006C\uffff\uffff\u0000\u028c\u0294\u0003"+ - "\u0090H\u0000\u028d\u0294\u00030\u0018\u0000\u028e\u0294\u0003\u0088D"+ - "\u0000\u028f\u0290\u0005c\u0000\u0000\u0290\u0291\u0003|>\u0000\u0291"+ - "\u0292\u0005d\u0000\u0000\u0292\u0294\u0001\u0000\u0000\u0000\u0293\u028b"+ - "\u0001\u0000\u0000\u0000\u0293\u028d\u0001\u0000\u0000\u0000\u0293\u028e"+ - "\u0001\u0000\u0000\u0000\u0293\u028f\u0001\u0000\u0000\u0000\u0294\u029a"+ - "\u0001\u0000\u0000\u0000\u0295\u0296\n\u0001\u0000\u0000\u0296\u0297\u0005"+ - "<\u0000\u0000\u0297\u0299\u0003\n\u0005\u0000\u0298\u0295\u0001\u0000"+ - "\u0000\u0000\u0299\u029c\u0001\u0000\u0000\u0000\u029a\u0298\u0001\u0000"+ - "\u0000\u0000\u029a\u029b\u0001\u0000\u0000\u0000\u029b\u0087\u0001\u0000"+ - "\u0000\u0000\u029c\u029a\u0001\u0000\u0000\u0000\u029d\u029e\u0003\u008a"+ - "E\u0000\u029e\u02ac\u0005c\u0000\u0000\u029f\u02ad\u0005Y\u0000\u0000"+ - "\u02a0\u02a5\u0003|>\u0000\u02a1\u02a2\u0005>\u0000\u0000\u02a2\u02a4"+ - "\u0003|>\u0000\u02a3\u02a1\u0001\u0000\u0000\u0000\u02a4\u02a7\u0001\u0000"+ - "\u0000\u0000\u02a5\u02a3\u0001\u0000\u0000\u0000\u02a5\u02a6\u0001\u0000"+ - "\u0000\u0000\u02a6\u02aa\u0001\u0000\u0000\u0000\u02a7\u02a5\u0001\u0000"+ - "\u0000\u0000\u02a8\u02a9\u0005>\u0000\u0000\u02a9\u02ab\u0003\u008cF\u0000"+ - "\u02aa\u02a8\u0001\u0000\u0000\u0000\u02aa\u02ab\u0001\u0000\u0000\u0000"+ - "\u02ab\u02ad\u0001\u0000\u0000\u0000\u02ac\u029f\u0001\u0000\u0000\u0000"+ - "\u02ac\u02a0\u0001\u0000\u0000\u0000\u02ac\u02ad\u0001\u0000\u0000\u0000"+ - "\u02ad\u02ae\u0001\u0000\u0000\u0000\u02ae\u02af\u0005d\u0000\u0000\u02af"+ - "\u0089\u0001\u0000\u0000\u0000\u02b0\u02b1\u0003>\u001f\u0000\u02b1\u008b"+ - "\u0001\u0000\u0000\u0000\u02b2\u02b3\u0005\\\u0000\u0000\u02b3\u02b8\u0003"+ - "\u008eG\u0000\u02b4\u02b5\u0005>\u0000\u0000\u02b5\u02b7\u0003\u008eG"+ - "\u0000\u02b6\u02b4\u0001\u0000\u0000\u0000\u02b7\u02ba\u0001\u0000\u0000"+ - "\u0000\u02b8\u02b6\u0001\u0000\u0000\u0000\u02b8\u02b9\u0001\u0000\u0000"+ - "\u0000\u02b9\u02bb\u0001\u0000\u0000\u0000\u02ba\u02b8\u0001\u0000\u0000"+ - "\u0000\u02bb\u02bc\u0005]\u0000\u0000\u02bc\u008d\u0001\u0000\u0000\u0000"+ - "\u02bd\u02be\u0003\u009aM\u0000\u02be\u02bf\u0005=\u0000\u0000\u02bf\u02c0"+ - "\u0003\u0090H\u0000\u02c0\u008f\u0001\u0000\u0000\u0000\u02c1\u02ec\u0005"+ - "H\u0000\u0000\u02c2\u02c3\u0003\u0098L\u0000\u02c3\u02c4\u0005e\u0000"+ - "\u0000\u02c4\u02ec\u0001\u0000\u0000\u0000\u02c5\u02ec\u0003\u0096K\u0000"+ - "\u02c6\u02ec\u0003\u0098L\u0000\u02c7\u02ec\u0003\u0092I\u0000\u02c8\u02ec"+ - "\u0003:\u001d\u0000\u02c9\u02ec\u0003\u009aM\u0000\u02ca\u02cb\u0005a"+ - "\u0000\u0000\u02cb\u02d0\u0003\u0094J\u0000\u02cc\u02cd\u0005>\u0000\u0000"+ - "\u02cd\u02cf\u0003\u0094J\u0000\u02ce\u02cc\u0001\u0000\u0000\u0000\u02cf"+ - "\u02d2\u0001\u0000\u0000\u0000\u02d0\u02ce\u0001\u0000\u0000\u0000\u02d0"+ - "\u02d1\u0001\u0000\u0000\u0000\u02d1\u02d3\u0001\u0000\u0000\u0000\u02d2"+ - "\u02d0\u0001\u0000\u0000\u0000\u02d3\u02d4\u0005b\u0000\u0000\u02d4\u02ec"+ - "\u0001\u0000\u0000\u0000\u02d5\u02d6\u0005a\u0000\u0000\u02d6\u02db\u0003"+ - "\u0092I\u0000\u02d7\u02d8\u0005>\u0000\u0000\u02d8\u02da\u0003\u0092I"+ - "\u0000\u02d9\u02d7\u0001\u0000\u0000\u0000\u02da\u02dd\u0001\u0000\u0000"+ - "\u0000\u02db\u02d9\u0001\u0000\u0000\u0000\u02db\u02dc\u0001\u0000\u0000"+ - "\u0000\u02dc\u02de\u0001\u0000\u0000\u0000\u02dd\u02db\u0001\u0000\u0000"+ - "\u0000\u02de\u02df\u0005b\u0000\u0000\u02df\u02ec\u0001\u0000\u0000\u0000"+ - "\u02e0\u02e1\u0005a\u0000\u0000\u02e1\u02e6\u0003\u009aM\u0000\u02e2\u02e3"+ - "\u0005>\u0000\u0000\u02e3\u02e5\u0003\u009aM\u0000\u02e4\u02e2\u0001\u0000"+ - "\u0000\u0000\u02e5\u02e8\u0001\u0000\u0000\u0000\u02e6\u02e4\u0001\u0000"+ - "\u0000\u0000\u02e6\u02e7\u0001\u0000\u0000\u0000\u02e7\u02e9\u0001\u0000"+ - "\u0000\u0000\u02e8\u02e6\u0001\u0000\u0000\u0000\u02e9\u02ea\u0005b\u0000"+ - "\u0000\u02ea\u02ec\u0001\u0000\u0000\u0000\u02eb\u02c1\u0001\u0000\u0000"+ - "\u0000\u02eb\u02c2\u0001\u0000\u0000\u0000\u02eb\u02c5\u0001\u0000\u0000"+ - "\u0000\u02eb\u02c6\u0001\u0000\u0000\u0000\u02eb\u02c7\u0001\u0000\u0000"+ - "\u0000\u02eb\u02c8\u0001\u0000\u0000\u0000\u02eb\u02c9\u0001\u0000\u0000"+ - "\u0000\u02eb\u02ca\u0001\u0000\u0000\u0000\u02eb\u02d5\u0001\u0000\u0000"+ - "\u0000\u02eb\u02e0\u0001\u0000\u0000\u0000\u02ec\u0091\u0001\u0000\u0000"+ - "\u0000\u02ed\u02ee\u0007\u0006\u0000\u0000\u02ee\u0093\u0001\u0000\u0000"+ - "\u0000\u02ef\u02f2\u0003\u0096K\u0000\u02f0\u02f2\u0003\u0098L\u0000\u02f1"+ - "\u02ef\u0001\u0000\u0000\u0000\u02f1\u02f0\u0001\u0000\u0000\u0000\u02f2"+ - "\u0095\u0001\u0000\u0000\u0000\u02f3\u02f5\u0007\u0004\u0000\u0000\u02f4"+ - "\u02f3\u0001\u0000\u0000\u0000\u02f4\u02f5\u0001\u0000\u0000\u0000\u02f5"+ - "\u02f6\u0001\u0000\u0000\u0000\u02f6\u02f7\u00057\u0000\u0000\u02f7\u0097"+ - "\u0001\u0000\u0000\u0000\u02f8\u02fa\u0007\u0004\u0000\u0000\u02f9\u02f8"+ - "\u0001\u0000\u0000\u0000\u02f9\u02fa\u0001\u0000\u0000\u0000\u02fa\u02fb"+ - "\u0001\u0000\u0000\u0000\u02fb\u02fc\u00056\u0000\u0000\u02fc\u0099\u0001"+ - "\u0000\u0000\u0000\u02fd\u02fe\u00055\u0000\u0000\u02fe\u009b\u0001\u0000"+ - "\u0000\u0000\u02ff\u0300\u0007\u0007\u0000\u0000\u0300\u009d\u0001\u0000"+ - "\u0000\u0000\u0301\u0302\u0007\b\u0000\u0000\u0302\u0303\u0005r\u0000"+ - "\u0000\u0303\u0304\u0003\u00a0P\u0000\u0304\u0305\u0003\u00a2Q\u0000\u0305"+ - "\u009f\u0001\u0000\u0000\u0000\u0306\u0307\u0003\u001c\u000e\u0000\u0307"+ - "\u00a1\u0001\u0000\u0000\u0000\u0308\u0309\u0005J\u0000\u0000\u0309\u030e"+ - "\u0003\u00a4R\u0000\u030a\u030b\u0005>\u0000\u0000\u030b\u030d\u0003\u00a4"+ - "R\u0000\u030c\u030a\u0001\u0000\u0000\u0000\u030d\u0310\u0001\u0000\u0000"+ - "\u0000\u030e\u030c\u0001\u0000\u0000\u0000\u030e\u030f\u0001\u0000\u0000"+ - "\u0000\u030f\u00a3\u0001\u0000\u0000\u0000\u0310\u030e\u0001\u0000\u0000"+ - "\u0000\u0311\u0312\u0003\u0082A\u0000\u0312\u00a5\u0001\u0000\u0000\u0000"+ - "F\u00b1\u00ba\u00d7\u00e6\u00ec\u00f5\u00fb\u0108\u010c\u0117\u0127\u012f"+ - "\u0133\u013a\u0140\u0147\u014f\u0157\u015f\u0163\u0167\u016c\u0177\u017c"+ - "\u0180\u018e\u0199\u019f\u01ad\u01c2\u01ca\u01cd\u01d2\u01e2\u01e8\u01ef"+ - "\u01fa\u0208\u0215\u021b\u0228\u0231\u0239\u023e\u0246\u0248\u024d\u0254"+ - "\u025b\u0264\u0269\u026e\u0278\u027e\u0286\u0288\u0293\u029a\u02a5\u02aa"+ - "\u02ac\u02b8\u02d0\u02db\u02e6\u02eb\u02f1\u02f4\u02f9\u030e"; + "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ + "\u0001\u0003\u0001\u0003\u0003\u0003\u00de\b\u0003\u0001\u0004\u0001\u0004"+ + "\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006"+ + "\u0001\u0007\u0001\u0007\u0001\u0007\u0005\u0007\u00eb\b\u0007\n\u0007"+ + "\f\u0007\u00ee\t\u0007\u0001\b\u0001\b\u0001\b\u0003\b\u00f3\b\b\u0001"+ + "\b\u0001\b\u0001\t\u0001\t\u0001\t\u0005\t\u00fa\b\t\n\t\f\t\u00fd\t\t"+ + "\u0001\n\u0001\n\u0001\n\u0003\n\u0102\b\n\u0001\u000b\u0001\u000b\u0001"+ + "\u000b\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0005\r\u010d\b"+ + "\r\n\r\f\r\u0110\t\r\u0001\r\u0003\r\u0113\b\r\u0001\u000e\u0001\u000e"+ + "\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+ + "\u0001\u000e\u0003\u000e\u011e\b\u000e\u0001\u000f\u0001\u000f\u0001\u0010"+ + "\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0013"+ + "\u0001\u0013\u0001\u0013\u0001\u0013\u0005\u0013\u012c\b\u0013\n\u0013"+ + "\f\u0013\u012f\t\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015"+ + "\u0001\u0015\u0003\u0015\u0136\b\u0015\u0001\u0015\u0001\u0015\u0003\u0015"+ + "\u013a\b\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0005\u0016\u013f\b"+ + "\u0016\n\u0016\f\u0016\u0142\t\u0016\u0001\u0017\u0001\u0017\u0001\u0017"+ + "\u0003\u0017\u0147\b\u0017\u0001\u0018\u0001\u0018\u0001\u0018\u0005\u0018"+ + "\u014c\b\u0018\n\u0018\f\u0018\u014f\t\u0018\u0001\u0019\u0001\u0019\u0001"+ + "\u0019\u0005\u0019\u0154\b\u0019\n\u0019\f\u0019\u0157\t\u0019\u0001\u001a"+ + "\u0001\u001a\u0001\u001a\u0005\u001a\u015c\b\u001a\n\u001a\f\u001a\u015f"+ + "\t\u001a\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0003"+ + "\u001c\u0166\b\u001c\u0001\u001d\u0001\u001d\u0003\u001d\u016a\b\u001d"+ + "\u0001\u001e\u0001\u001e\u0003\u001e\u016e\b\u001e\u0001\u001f\u0001\u001f"+ + "\u0001\u001f\u0003\u001f\u0173\b\u001f\u0001 \u0001 \u0001 \u0001!\u0001"+ + "!\u0001!\u0001!\u0005!\u017c\b!\n!\f!\u017f\t!\u0001\"\u0001\"\u0003\""+ + "\u0183\b\"\u0001\"\u0001\"\u0003\"\u0187\b\"\u0001#\u0001#\u0001#\u0001"+ + "$\u0001$\u0001$\u0001%\u0001%\u0001%\u0001%\u0005%\u0193\b%\n%\f%\u0196"+ + "\t%\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0001&\u0003&\u01a0"+ + "\b&\u0001\'\u0001\'\u0001\'\u0001\'\u0003\'\u01a6\b\'\u0001(\u0001(\u0001"+ + "(\u0001(\u0001)\u0001)\u0001)\u0001*\u0001*\u0001*\u0005*\u01b2\b*\n*"+ + "\f*\u01b5\t*\u0001+\u0001+\u0001+\u0001+\u0001,\u0001,\u0001,\u0001-\u0001"+ + "-\u0001-\u0001-\u0001.\u0001.\u0001.\u0001/\u0001/\u0001/\u0001/\u0003"+ + "/\u01c9\b/\u0001/\u0001/\u0001/\u0001/\u0005/\u01cf\b/\n/\f/\u01d2\t/"+ + "\u0003/\u01d4\b/\u00010\u00010\u00010\u00030\u01d9\b0\u00010\u00010\u0001"+ + "1\u00011\u00011\u00012\u00012\u00012\u00012\u00012\u00013\u00013\u0001"+ + "3\u00013\u00033\u01e9\b3\u00014\u00014\u00014\u00014\u00034\u01ef\b4\u0001"+ + "4\u00014\u00014\u00014\u00014\u00034\u01f6\b4\u00015\u00015\u00015\u0001"+ + "6\u00016\u00016\u00017\u00047\u01ff\b7\u000b7\f7\u0200\u00018\u00018\u0001"+ + "8\u00018\u00019\u00019\u00019\u00019\u00019\u00019\u00059\u020d\b9\n9"+ + "\f9\u0210\t9\u0001:\u0001:\u0001;\u0001;\u0001<\u0001<\u0001<\u0005<\u0219"+ + "\b<\n<\f<\u021c\t<\u0001=\u0001=\u0001=\u0001=\u0001>\u0001>\u0003>\u0224"+ + "\b>\u0001?\u0001?\u0001?\u0001?\u0001?\u0001?\u0003?\u022c\b?\u0001@\u0001"+ + "@\u0001@\u0001@\u0003@\u0232\b@\u0001@\u0001@\u0001@\u0001@\u0001A\u0001"+ + "A\u0001A\u0001A\u0001A\u0001A\u0001A\u0003A\u023f\bA\u0001A\u0001A\u0001"+ + "A\u0001A\u0001A\u0005A\u0246\bA\nA\fA\u0249\tA\u0001A\u0001A\u0001A\u0001"+ + "A\u0001A\u0003A\u0250\bA\u0001A\u0001A\u0001A\u0003A\u0255\bA\u0001A\u0001"+ + "A\u0001A\u0001A\u0001A\u0001A\u0005A\u025d\bA\nA\fA\u0260\tA\u0001B\u0001"+ + "B\u0003B\u0264\bB\u0001B\u0001B\u0001B\u0001B\u0001B\u0003B\u026b\bB\u0001"+ + "B\u0001B\u0001B\u0001B\u0001B\u0003B\u0272\bB\u0001B\u0001B\u0001B\u0001"+ + "B\u0001B\u0005B\u0279\bB\nB\fB\u027c\tB\u0001B\u0001B\u0003B\u0280\bB"+ + "\u0001C\u0001C\u0001C\u0003C\u0285\bC\u0001C\u0001C\u0001C\u0001D\u0001"+ + "D\u0001D\u0001D\u0001D\u0003D\u028f\bD\u0001E\u0001E\u0001E\u0001E\u0003"+ + "E\u0295\bE\u0001E\u0001E\u0001E\u0001E\u0001E\u0001E\u0005E\u029d\bE\n"+ + "E\fE\u02a0\tE\u0001F\u0001F\u0001F\u0001F\u0001F\u0001F\u0001F\u0001F"+ + "\u0003F\u02aa\bF\u0001F\u0001F\u0001F\u0005F\u02af\bF\nF\fF\u02b2\tF\u0001"+ + "G\u0001G\u0001G\u0001G\u0001G\u0001G\u0005G\u02ba\bG\nG\fG\u02bd\tG\u0001"+ + "G\u0001G\u0003G\u02c1\bG\u0003G\u02c3\bG\u0001G\u0001G\u0001H\u0001H\u0001"+ + "I\u0001I\u0001I\u0001I\u0005I\u02cd\bI\nI\fI\u02d0\tI\u0001I\u0001I\u0001"+ + "J\u0001J\u0001J\u0001J\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001"+ + "K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0005K\u02e5\bK\nK\fK\u02e8"+ + "\tK\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0005K\u02f0\bK\nK\fK\u02f3"+ + "\tK\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0005K\u02fb\bK\nK\fK\u02fe"+ + "\tK\u0001K\u0001K\u0003K\u0302\bK\u0001L\u0001L\u0001M\u0001M\u0003M\u0308"+ + "\bM\u0001N\u0003N\u030b\bN\u0001N\u0001N\u0001O\u0003O\u0310\bO\u0001"+ + "O\u0001O\u0001P\u0001P\u0001Q\u0001Q\u0001R\u0001R\u0001R\u0001R\u0001"+ + "R\u0001S\u0001S\u0001T\u0001T\u0001T\u0001T\u0005T\u0323\bT\nT\fT\u0326"+ + "\tT\u0001U\u0001U\u0001U\u0000\u0005\u0002r\u0082\u008a\u008cV\u0000\u0002"+ + "\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e"+ + " \"$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086"+ + "\u0088\u008a\u008c\u008e\u0090\u0092\u0094\u0096\u0098\u009a\u009c\u009e"+ + "\u00a0\u00a2\u00a4\u00a6\u00a8\u00aa\u0000\t\u0002\u000055kk\u0001\u0000"+ + "ef\u0002\u000099??\u0002\u0000BBEE\u0001\u0000WX\u0001\u0000Y[\u0002\u0000"+ + "AANN\u0002\u0000PPRV\u0002\u0000\u0016\u0016\u0018\u0019\u0345\u0000\u00ac"+ + "\u0001\u0000\u0000\u0000\u0002\u00af\u0001\u0000\u0000\u0000\u0004\u00c0"+ + "\u0001\u0000\u0000\u0000\u0006\u00dd\u0001\u0000\u0000\u0000\b\u00df\u0001"+ + "\u0000\u0000\u0000\n\u00e2\u0001\u0000\u0000\u0000\f\u00e4\u0001\u0000"+ + "\u0000\u0000\u000e\u00e7\u0001\u0000\u0000\u0000\u0010\u00f2\u0001\u0000"+ + "\u0000\u0000\u0012\u00f6\u0001\u0000\u0000\u0000\u0014\u00fe\u0001\u0000"+ + "\u0000\u0000\u0016\u0103\u0001\u0000\u0000\u0000\u0018\u0106\u0001\u0000"+ + "\u0000\u0000\u001a\u0109\u0001\u0000\u0000\u0000\u001c\u011d\u0001\u0000"+ + "\u0000\u0000\u001e\u011f\u0001\u0000\u0000\u0000 \u0121\u0001\u0000\u0000"+ + "\u0000\"\u0123\u0001\u0000\u0000\u0000$\u0125\u0001\u0000\u0000\u0000"+ + "&\u0127\u0001\u0000\u0000\u0000(\u0130\u0001\u0000\u0000\u0000*\u0133"+ + "\u0001\u0000\u0000\u0000,\u013b\u0001\u0000\u0000\u0000.\u0143\u0001\u0000"+ + "\u0000\u00000\u0148\u0001\u0000\u0000\u00002\u0150\u0001\u0000\u0000\u0000"+ + "4\u0158\u0001\u0000\u0000\u00006\u0160\u0001\u0000\u0000\u00008\u0165"+ + "\u0001\u0000\u0000\u0000:\u0169\u0001\u0000\u0000\u0000<\u016d\u0001\u0000"+ + "\u0000\u0000>\u0172\u0001\u0000\u0000\u0000@\u0174\u0001\u0000\u0000\u0000"+ + "B\u0177\u0001\u0000\u0000\u0000D\u0180\u0001\u0000\u0000\u0000F\u0188"+ + "\u0001\u0000\u0000\u0000H\u018b\u0001\u0000\u0000\u0000J\u018e\u0001\u0000"+ + "\u0000\u0000L\u019f\u0001\u0000\u0000\u0000N\u01a1\u0001\u0000\u0000\u0000"+ + "P\u01a7\u0001\u0000\u0000\u0000R\u01ab\u0001\u0000\u0000\u0000T\u01ae"+ + "\u0001\u0000\u0000\u0000V\u01b6\u0001\u0000\u0000\u0000X\u01ba\u0001\u0000"+ + "\u0000\u0000Z\u01bd\u0001\u0000\u0000\u0000\\\u01c1\u0001\u0000\u0000"+ + "\u0000^\u01c4\u0001\u0000\u0000\u0000`\u01d8\u0001\u0000\u0000\u0000b"+ + "\u01dc\u0001\u0000\u0000\u0000d\u01df\u0001\u0000\u0000\u0000f\u01e4\u0001"+ + "\u0000\u0000\u0000h\u01ea\u0001\u0000\u0000\u0000j\u01f7\u0001\u0000\u0000"+ + "\u0000l\u01fa\u0001\u0000\u0000\u0000n\u01fe\u0001\u0000\u0000\u0000p"+ + "\u0202\u0001\u0000\u0000\u0000r\u0206\u0001\u0000\u0000\u0000t\u0211\u0001"+ + "\u0000\u0000\u0000v\u0213\u0001\u0000\u0000\u0000x\u0215\u0001\u0000\u0000"+ + "\u0000z\u021d\u0001\u0000\u0000\u0000|\u0223\u0001\u0000\u0000\u0000~"+ + "\u0225\u0001\u0000\u0000\u0000\u0080\u022d\u0001\u0000\u0000\u0000\u0082"+ + "\u0254\u0001\u0000\u0000\u0000\u0084\u027f\u0001\u0000\u0000\u0000\u0086"+ + "\u0281\u0001\u0000\u0000\u0000\u0088\u028e\u0001\u0000\u0000\u0000\u008a"+ + "\u0294\u0001\u0000\u0000\u0000\u008c\u02a9\u0001\u0000\u0000\u0000\u008e"+ + "\u02b3\u0001\u0000\u0000\u0000\u0090\u02c6\u0001\u0000\u0000\u0000\u0092"+ + "\u02c8\u0001\u0000\u0000\u0000\u0094\u02d3\u0001\u0000\u0000\u0000\u0096"+ + "\u0301\u0001\u0000\u0000\u0000\u0098\u0303\u0001\u0000\u0000\u0000\u009a"+ + "\u0307\u0001\u0000\u0000\u0000\u009c\u030a\u0001\u0000\u0000\u0000\u009e"+ + "\u030f\u0001\u0000\u0000\u0000\u00a0\u0313\u0001\u0000\u0000\u0000\u00a2"+ + "\u0315\u0001\u0000\u0000\u0000\u00a4\u0317\u0001\u0000\u0000\u0000\u00a6"+ + "\u031c\u0001\u0000\u0000\u0000\u00a8\u031e\u0001\u0000\u0000\u0000\u00aa"+ + "\u0327\u0001\u0000\u0000\u0000\u00ac\u00ad\u0003\u0002\u0001\u0000\u00ad"+ + "\u00ae\u0005\u0000\u0000\u0001\u00ae\u0001\u0001\u0000\u0000\u0000\u00af"+ + "\u00b0\u0006\u0001\uffff\uffff\u0000\u00b0\u00b1\u0003\u0004\u0002\u0000"+ + "\u00b1\u00b7\u0001\u0000\u0000\u0000\u00b2\u00b3\n\u0001\u0000\u0000\u00b3"+ + "\u00b4\u00054\u0000\u0000\u00b4\u00b6\u0003\u0006\u0003\u0000\u00b5\u00b2"+ + "\u0001\u0000\u0000\u0000\u00b6\u00b9\u0001\u0000\u0000\u0000\u00b7\u00b5"+ + "\u0001\u0000\u0000\u0000\u00b7\u00b8\u0001\u0000\u0000\u0000\u00b8\u0003"+ + "\u0001\u0000\u0000\u0000\u00b9\u00b7\u0001\u0000\u0000\u0000\u00ba\u00c1"+ + "\u0003X,\u0000\u00bb\u00c1\u0003\u0016\u000b\u0000\u00bc\u00c1\u0003\f"+ + "\u0006\u0000\u00bd\u00c1\u0003\\.\u0000\u00be\u00bf\u0004\u0002\u0001"+ + "\u0000\u00bf\u00c1\u0003\u0018\f\u0000\u00c0\u00ba\u0001\u0000\u0000\u0000"+ + "\u00c0\u00bb\u0001\u0000\u0000\u0000\u00c0\u00bc\u0001\u0000\u0000\u0000"+ + "\u00c0\u00bd\u0001\u0000\u0000\u0000\u00c0\u00be\u0001\u0000\u0000\u0000"+ + "\u00c1\u0005\u0001\u0000\u0000\u0000\u00c2\u00de\u0003(\u0014\u0000\u00c3"+ + "\u00de\u0003\b\u0004\u0000\u00c4\u00de\u0003F#\u0000\u00c5\u00de\u0003"+ + "@ \u0000\u00c6\u00de\u0003*\u0015\u0000\u00c7\u00de\u0003B!\u0000\u00c8"+ + "\u00de\u0003H$\u0000\u00c9\u00de\u0003J%\u0000\u00ca\u00de\u0003N\'\u0000"+ + "\u00cb\u00de\u0003P(\u0000\u00cc\u00de\u0003^/\u0000\u00cd\u00de\u0003"+ + "R)\u0000\u00ce\u00de\u0003\u00a4R\u0000\u00cf\u00de\u0003h4\u0000\u00d0"+ + "\u00de\u0003\u0080@\u0000\u00d1\u00de\u0003b1\u0000\u00d2\u00de\u0003"+ + "l6\u0000\u00d3\u00d4\u0004\u0003\u0002\u0000\u00d4\u00de\u0003f3\u0000"+ + "\u00d5\u00d6\u0004\u0003\u0003\u0000\u00d6\u00de\u0003d2\u0000\u00d7\u00d8"+ + "\u0004\u0003\u0004\u0000\u00d8\u00de\u0003j5\u0000\u00d9\u00da\u0004\u0003"+ + "\u0005\u0000\u00da\u00de\u0003~?\u0000\u00db\u00dc\u0004\u0003\u0006\u0000"+ + "\u00dc\u00de\u0003v;\u0000\u00dd\u00c2\u0001\u0000\u0000\u0000\u00dd\u00c3"+ + "\u0001\u0000\u0000\u0000\u00dd\u00c4\u0001\u0000\u0000\u0000\u00dd\u00c5"+ + "\u0001\u0000\u0000\u0000\u00dd\u00c6\u0001\u0000\u0000\u0000\u00dd\u00c7"+ + "\u0001\u0000\u0000\u0000\u00dd\u00c8\u0001\u0000\u0000\u0000\u00dd\u00c9"+ + "\u0001\u0000\u0000\u0000\u00dd\u00ca\u0001\u0000\u0000\u0000\u00dd\u00cb"+ + "\u0001\u0000\u0000\u0000\u00dd\u00cc\u0001\u0000\u0000\u0000\u00dd\u00cd"+ + "\u0001\u0000\u0000\u0000\u00dd\u00ce\u0001\u0000\u0000\u0000\u00dd\u00cf"+ + "\u0001\u0000\u0000\u0000\u00dd\u00d0\u0001\u0000\u0000\u0000\u00dd\u00d1"+ + "\u0001\u0000\u0000\u0000\u00dd\u00d2\u0001\u0000\u0000\u0000\u00dd\u00d3"+ + "\u0001\u0000\u0000\u0000\u00dd\u00d5\u0001\u0000\u0000\u0000\u00dd\u00d7"+ + "\u0001\u0000\u0000\u0000\u00dd\u00d9\u0001\u0000\u0000\u0000\u00dd\u00db"+ + "\u0001\u0000\u0000\u0000\u00de\u0007\u0001\u0000\u0000\u0000\u00df\u00e0"+ + "\u0005\u0010\u0000\u0000\u00e0\u00e1\u0003\u0082A\u0000\u00e1\t\u0001"+ + "\u0000\u0000\u0000\u00e2\u00e3\u00036\u001b\u0000\u00e3\u000b\u0001\u0000"+ + "\u0000\u0000\u00e4\u00e5\u0005\f\u0000\u0000\u00e5\u00e6\u0003\u000e\u0007"+ + "\u0000\u00e6\r\u0001\u0000\u0000\u0000\u00e7\u00ec\u0003\u0010\b\u0000"+ + "\u00e8\u00e9\u0005>\u0000\u0000\u00e9\u00eb\u0003\u0010\b\u0000\u00ea"+ + "\u00e8\u0001\u0000\u0000\u0000\u00eb\u00ee\u0001\u0000\u0000\u0000\u00ec"+ + "\u00ea\u0001\u0000\u0000\u0000\u00ec\u00ed\u0001\u0000\u0000\u0000\u00ed"+ + "\u000f\u0001\u0000\u0000\u0000\u00ee\u00ec\u0001\u0000\u0000\u0000\u00ef"+ + "\u00f0\u00030\u0018\u0000\u00f0\u00f1\u0005:\u0000\u0000\u00f1\u00f3\u0001"+ + "\u0000\u0000\u0000\u00f2\u00ef\u0001\u0000\u0000\u0000\u00f2\u00f3\u0001"+ + "\u0000\u0000\u0000\u00f3\u00f4\u0001\u0000\u0000\u0000\u00f4\u00f5\u0003"+ + "\u0082A\u0000\u00f5\u0011\u0001\u0000\u0000\u0000\u00f6\u00fb\u0003\u0014"+ + "\n\u0000\u00f7\u00f8\u0005>\u0000\u0000\u00f8\u00fa\u0003\u0014\n\u0000"+ + "\u00f9\u00f7\u0001\u0000\u0000\u0000\u00fa\u00fd\u0001\u0000\u0000\u0000"+ + "\u00fb\u00f9\u0001\u0000\u0000\u0000\u00fb\u00fc\u0001\u0000\u0000\u0000"+ + "\u00fc\u0013\u0001\u0000\u0000\u0000\u00fd\u00fb\u0001\u0000\u0000\u0000"+ + "\u00fe\u0101\u00030\u0018\u0000\u00ff\u0100\u0005:\u0000\u0000\u0100\u0102"+ + "\u0003\u0082A\u0000\u0101\u00ff\u0001\u0000\u0000\u0000\u0101\u0102\u0001"+ + "\u0000\u0000\u0000\u0102\u0015\u0001\u0000\u0000\u0000\u0103\u0104\u0005"+ + "\u0013\u0000\u0000\u0104\u0105\u0003\u001a\r\u0000\u0105\u0017\u0001\u0000"+ + "\u0000\u0000\u0106\u0107\u0005\u0014\u0000\u0000\u0107\u0108\u0003\u001a"+ + "\r\u0000\u0108\u0019\u0001\u0000\u0000\u0000\u0109\u010e\u0003\u001c\u000e"+ + "\u0000\u010a\u010b\u0005>\u0000\u0000\u010b\u010d\u0003\u001c\u000e\u0000"+ + "\u010c\u010a\u0001\u0000\u0000\u0000\u010d\u0110\u0001\u0000\u0000\u0000"+ + "\u010e\u010c\u0001\u0000\u0000\u0000\u010e\u010f\u0001\u0000\u0000\u0000"+ + "\u010f\u0112\u0001\u0000\u0000\u0000\u0110\u010e\u0001\u0000\u0000\u0000"+ + "\u0111\u0113\u0003&\u0013\u0000\u0112\u0111\u0001\u0000\u0000\u0000\u0112"+ + "\u0113\u0001\u0000\u0000\u0000\u0113\u001b\u0001\u0000\u0000\u0000\u0114"+ + "\u0115\u0003\u001e\u000f\u0000\u0115\u0116\u0005=\u0000\u0000\u0116\u0117"+ + "\u0003\"\u0011\u0000\u0117\u011e\u0001\u0000\u0000\u0000\u0118\u0119\u0003"+ + "\"\u0011\u0000\u0119\u011a\u0005<\u0000\u0000\u011a\u011b\u0003 \u0010"+ + "\u0000\u011b\u011e\u0001\u0000\u0000\u0000\u011c\u011e\u0003$\u0012\u0000"+ + "\u011d\u0114\u0001\u0000\u0000\u0000\u011d\u0118\u0001\u0000\u0000\u0000"+ + "\u011d\u011c\u0001\u0000\u0000\u0000\u011e\u001d\u0001\u0000\u0000\u0000"+ + "\u011f\u0120\u0005k\u0000\u0000\u0120\u001f\u0001\u0000\u0000\u0000\u0121"+ + "\u0122\u0005k\u0000\u0000\u0122!\u0001\u0000\u0000\u0000\u0123\u0124\u0005"+ + "k\u0000\u0000\u0124#\u0001\u0000\u0000\u0000\u0125\u0126\u0007\u0000\u0000"+ + "\u0000\u0126%\u0001\u0000\u0000\u0000\u0127\u0128\u0005j\u0000\u0000\u0128"+ + "\u012d\u0005k\u0000\u0000\u0129\u012a\u0005>\u0000\u0000\u012a\u012c\u0005"+ + "k\u0000\u0000\u012b\u0129\u0001\u0000\u0000\u0000\u012c\u012f\u0001\u0000"+ + "\u0000\u0000\u012d\u012b\u0001\u0000\u0000\u0000\u012d\u012e\u0001\u0000"+ + "\u0000\u0000\u012e\'\u0001\u0000\u0000\u0000\u012f\u012d\u0001\u0000\u0000"+ + "\u0000\u0130\u0131\u0005\t\u0000\u0000\u0131\u0132\u0003\u000e\u0007\u0000"+ + "\u0132)\u0001\u0000\u0000\u0000\u0133\u0135\u0005\u000f\u0000\u0000\u0134"+ + "\u0136\u0003,\u0016\u0000\u0135\u0134\u0001\u0000\u0000\u0000\u0135\u0136"+ + "\u0001\u0000\u0000\u0000\u0136\u0139\u0001\u0000\u0000\u0000\u0137\u0138"+ + "\u0005;\u0000\u0000\u0138\u013a\u0003\u000e\u0007\u0000\u0139\u0137\u0001"+ + "\u0000\u0000\u0000\u0139\u013a\u0001\u0000\u0000\u0000\u013a+\u0001\u0000"+ + "\u0000\u0000\u013b\u0140\u0003.\u0017\u0000\u013c\u013d\u0005>\u0000\u0000"+ + "\u013d\u013f\u0003.\u0017\u0000\u013e\u013c\u0001\u0000\u0000\u0000\u013f"+ + "\u0142\u0001\u0000\u0000\u0000\u0140\u013e\u0001\u0000\u0000\u0000\u0140"+ + "\u0141\u0001\u0000\u0000\u0000\u0141-\u0001\u0000\u0000\u0000\u0142\u0140"+ + "\u0001\u0000\u0000\u0000\u0143\u0146\u0003\u0010\b\u0000\u0144\u0145\u0005"+ + "\u0010\u0000\u0000\u0145\u0147\u0003\u0082A\u0000\u0146\u0144\u0001\u0000"+ + "\u0000\u0000\u0146\u0147\u0001\u0000\u0000\u0000\u0147/\u0001\u0000\u0000"+ + "\u0000\u0148\u014d\u0003>\u001f\u0000\u0149\u014a\u0005@\u0000\u0000\u014a"+ + "\u014c\u0003>\u001f\u0000\u014b\u0149\u0001\u0000\u0000\u0000\u014c\u014f"+ + "\u0001\u0000\u0000\u0000\u014d\u014b\u0001\u0000\u0000\u0000\u014d\u014e"+ + "\u0001\u0000\u0000\u0000\u014e1\u0001\u0000\u0000\u0000\u014f\u014d\u0001"+ + "\u0000\u0000\u0000\u0150\u0155\u00038\u001c\u0000\u0151\u0152\u0005@\u0000"+ + "\u0000\u0152\u0154\u00038\u001c\u0000\u0153\u0151\u0001\u0000\u0000\u0000"+ + "\u0154\u0157\u0001\u0000\u0000\u0000\u0155\u0153\u0001\u0000\u0000\u0000"+ + "\u0155\u0156\u0001\u0000\u0000\u0000\u01563\u0001\u0000\u0000\u0000\u0157"+ + "\u0155\u0001\u0000\u0000\u0000\u0158\u015d\u00032\u0019\u0000\u0159\u015a"+ + "\u0005>\u0000\u0000\u015a\u015c\u00032\u0019\u0000\u015b\u0159\u0001\u0000"+ + "\u0000\u0000\u015c\u015f\u0001\u0000\u0000\u0000\u015d\u015b\u0001\u0000"+ + "\u0000\u0000\u015d\u015e\u0001\u0000\u0000\u0000\u015e5\u0001\u0000\u0000"+ + "\u0000\u015f\u015d\u0001\u0000\u0000\u0000\u0160\u0161\u0007\u0001\u0000"+ + "\u0000\u01617\u0001\u0000\u0000\u0000\u0162\u0166\u0005\u0080\u0000\u0000"+ + "\u0163\u0166\u0003:\u001d\u0000\u0164\u0166\u0003<\u001e\u0000\u0165\u0162"+ + "\u0001\u0000\u0000\u0000\u0165\u0163\u0001\u0000\u0000\u0000\u0165\u0164"+ + "\u0001\u0000\u0000\u0000\u01669\u0001\u0000\u0000\u0000\u0167\u016a\u0005"+ + "L\u0000\u0000\u0168\u016a\u0005_\u0000\u0000\u0169\u0167\u0001\u0000\u0000"+ + "\u0000\u0169\u0168\u0001\u0000\u0000\u0000\u016a;\u0001\u0000\u0000\u0000"+ + "\u016b\u016e\u0005^\u0000\u0000\u016c\u016e\u0005`\u0000\u0000\u016d\u016b"+ + "\u0001\u0000\u0000\u0000\u016d\u016c\u0001\u0000\u0000\u0000\u016e=\u0001"+ + "\u0000\u0000\u0000\u016f\u0173\u00036\u001b\u0000\u0170\u0173\u0003:\u001d"+ + "\u0000\u0171\u0173\u0003<\u001e\u0000\u0172\u016f\u0001\u0000\u0000\u0000"+ + "\u0172\u0170\u0001\u0000\u0000\u0000\u0172\u0171\u0001\u0000\u0000\u0000"+ + "\u0173?\u0001\u0000\u0000\u0000\u0174\u0175\u0005\u000b\u0000\u0000\u0175"+ + "\u0176\u0003\u0096K\u0000\u0176A\u0001\u0000\u0000\u0000\u0177\u0178\u0005"+ + "\u000e\u0000\u0000\u0178\u017d\u0003D\"\u0000\u0179\u017a\u0005>\u0000"+ + "\u0000\u017a\u017c\u0003D\"\u0000\u017b\u0179\u0001\u0000\u0000\u0000"+ + "\u017c\u017f\u0001\u0000\u0000\u0000\u017d\u017b\u0001\u0000\u0000\u0000"+ + "\u017d\u017e\u0001\u0000\u0000\u0000\u017eC\u0001\u0000\u0000\u0000\u017f"+ + "\u017d\u0001\u0000\u0000\u0000\u0180\u0182\u0003\u0082A\u0000\u0181\u0183"+ + "\u0007\u0002\u0000\u0000\u0182\u0181\u0001\u0000\u0000\u0000\u0182\u0183"+ + "\u0001\u0000\u0000\u0000\u0183\u0186\u0001\u0000\u0000\u0000\u0184\u0185"+ + "\u0005I\u0000\u0000\u0185\u0187\u0007\u0003\u0000\u0000\u0186\u0184\u0001"+ + "\u0000\u0000\u0000\u0186\u0187\u0001\u0000\u0000\u0000\u0187E\u0001\u0000"+ + "\u0000\u0000\u0188\u0189\u0005\u001d\u0000\u0000\u0189\u018a\u00034\u001a"+ + "\u0000\u018aG\u0001\u0000\u0000\u0000\u018b\u018c\u0005\u001c\u0000\u0000"+ + "\u018c\u018d\u00034\u001a\u0000\u018dI\u0001\u0000\u0000\u0000\u018e\u018f"+ + "\u0005 \u0000\u0000\u018f\u0194\u0003L&\u0000\u0190\u0191\u0005>\u0000"+ + "\u0000\u0191\u0193\u0003L&\u0000\u0192\u0190\u0001\u0000\u0000\u0000\u0193"+ + "\u0196\u0001\u0000\u0000\u0000\u0194\u0192\u0001\u0000\u0000\u0000\u0194"+ + "\u0195\u0001\u0000\u0000\u0000\u0195K\u0001\u0000\u0000\u0000\u0196\u0194"+ + "\u0001\u0000\u0000\u0000\u0197\u0198\u00032\u0019\u0000\u0198\u0199\u0005"+ + "\u0084\u0000\u0000\u0199\u019a\u00032\u0019\u0000\u019a\u01a0\u0001\u0000"+ + "\u0000\u0000\u019b\u019c\u00032\u0019\u0000\u019c\u019d\u0005:\u0000\u0000"+ + "\u019d\u019e\u00032\u0019\u0000\u019e\u01a0\u0001\u0000\u0000\u0000\u019f"+ + "\u0197\u0001\u0000\u0000\u0000\u019f\u019b\u0001\u0000\u0000\u0000\u01a0"+ + "M\u0001\u0000\u0000\u0000\u01a1\u01a2\u0005\b\u0000\u0000\u01a2\u01a3"+ + "\u0003\u008cF\u0000\u01a3\u01a5\u0003\u00a0P\u0000\u01a4\u01a6\u0003T"+ + "*\u0000\u01a5\u01a4\u0001\u0000\u0000\u0000\u01a5\u01a6\u0001\u0000\u0000"+ + "\u0000\u01a6O\u0001\u0000\u0000\u0000\u01a7\u01a8\u0005\n\u0000\u0000"+ + "\u01a8\u01a9\u0003\u008cF\u0000\u01a9\u01aa\u0003\u00a0P\u0000\u01aaQ"+ + "\u0001\u0000\u0000\u0000\u01ab\u01ac\u0005\u001b\u0000\u0000\u01ac\u01ad"+ + "\u00030\u0018\u0000\u01adS\u0001\u0000\u0000\u0000\u01ae\u01b3\u0003V"+ + "+\u0000\u01af\u01b0\u0005>\u0000\u0000\u01b0\u01b2\u0003V+\u0000\u01b1"+ + "\u01af\u0001\u0000\u0000\u0000\u01b2\u01b5\u0001\u0000\u0000\u0000\u01b3"+ + "\u01b1\u0001\u0000\u0000\u0000\u01b3\u01b4\u0001\u0000\u0000\u0000\u01b4"+ + "U\u0001\u0000\u0000\u0000\u01b5\u01b3\u0001\u0000\u0000\u0000\u01b6\u01b7"+ + "\u00036\u001b\u0000\u01b7\u01b8\u0005:\u0000\u0000\u01b8\u01b9\u0003\u0096"+ + "K\u0000\u01b9W\u0001\u0000\u0000\u0000\u01ba\u01bb\u0005\u0006\u0000\u0000"+ + "\u01bb\u01bc\u0003Z-\u0000\u01bcY\u0001\u0000\u0000\u0000\u01bd\u01be"+ + "\u0005a\u0000\u0000\u01be\u01bf\u0003\u0002\u0001\u0000\u01bf\u01c0\u0005"+ + "b\u0000\u0000\u01c0[\u0001\u0000\u0000\u0000\u01c1\u01c2\u0005!\u0000"+ + "\u0000\u01c2\u01c3\u0005\u0088\u0000\u0000\u01c3]\u0001\u0000\u0000\u0000"+ + "\u01c4\u01c5\u0005\u0005\u0000\u0000\u01c5\u01c8\u0005&\u0000\u0000\u01c6"+ + "\u01c7\u0005J\u0000\u0000\u01c7\u01c9\u00032\u0019\u0000\u01c8\u01c6\u0001"+ + "\u0000\u0000\u0000\u01c8\u01c9\u0001\u0000\u0000\u0000\u01c9\u01d3\u0001"+ + "\u0000\u0000\u0000\u01ca\u01cb\u0005O\u0000\u0000\u01cb\u01d0\u0003`0"+ + "\u0000\u01cc\u01cd\u0005>\u0000\u0000\u01cd\u01cf\u0003`0\u0000\u01ce"+ + "\u01cc\u0001\u0000\u0000\u0000\u01cf\u01d2\u0001\u0000\u0000\u0000\u01d0"+ + "\u01ce\u0001\u0000\u0000\u0000\u01d0\u01d1\u0001\u0000\u0000\u0000\u01d1"+ + "\u01d4\u0001\u0000\u0000\u0000\u01d2\u01d0\u0001\u0000\u0000\u0000\u01d3"+ + "\u01ca\u0001\u0000\u0000\u0000\u01d3\u01d4\u0001\u0000\u0000\u0000\u01d4"+ + "_\u0001\u0000\u0000\u0000\u01d5\u01d6\u00032\u0019\u0000\u01d6\u01d7\u0005"+ + ":\u0000\u0000\u01d7\u01d9\u0001\u0000\u0000\u0000\u01d8\u01d5\u0001\u0000"+ + "\u0000\u0000\u01d8\u01d9\u0001\u0000\u0000\u0000\u01d9\u01da\u0001\u0000"+ + "\u0000\u0000\u01da\u01db\u00032\u0019\u0000\u01dba\u0001\u0000\u0000\u0000"+ + "\u01dc\u01dd\u0005\r\u0000\u0000\u01dd\u01de\u0003\u0096K\u0000\u01de"+ + "c\u0001\u0000\u0000\u0000\u01df\u01e0\u0005\u001a\u0000\u0000\u01e0\u01e1"+ + "\u0003\u001c\u000e\u0000\u01e1\u01e2\u0005J\u0000\u0000\u01e2\u01e3\u0003"+ + "4\u001a\u0000\u01e3e\u0001\u0000\u0000\u0000\u01e4\u01e5\u0005\u0011\u0000"+ + "\u0000\u01e5\u01e8\u0003,\u0016\u0000\u01e6\u01e7\u0005;\u0000\u0000\u01e7"+ + "\u01e9\u0003\u000e\u0007\u0000\u01e8\u01e6\u0001\u0000\u0000\u0000\u01e8"+ + "\u01e9\u0001\u0000\u0000\u0000\u01e9g\u0001\u0000\u0000\u0000\u01ea\u01eb"+ + "\u0005\u0004\u0000\u0000\u01eb\u01ee\u00030\u0018\u0000\u01ec\u01ed\u0005"+ + "J\u0000\u0000\u01ed\u01ef\u00030\u0018\u0000\u01ee\u01ec\u0001\u0000\u0000"+ + "\u0000\u01ee\u01ef\u0001\u0000\u0000\u0000\u01ef\u01f5\u0001\u0000\u0000"+ + "\u0000\u01f0\u01f1\u0005\u0084\u0000\u0000\u01f1\u01f2\u00030\u0018\u0000"+ + "\u01f2\u01f3\u0005>\u0000\u0000\u01f3\u01f4\u00030\u0018\u0000\u01f4\u01f6"+ + "\u0001\u0000\u0000\u0000\u01f5\u01f0\u0001\u0000\u0000\u0000\u01f5\u01f6"+ + "\u0001\u0000\u0000\u0000\u01f6i\u0001\u0000\u0000\u0000\u01f7\u01f8\u0005"+ + "\u001e\u0000\u0000\u01f8\u01f9\u00034\u001a\u0000\u01f9k\u0001\u0000\u0000"+ + "\u0000\u01fa\u01fb\u0005\u0015\u0000\u0000\u01fb\u01fc\u0003n7\u0000\u01fc"+ + "m\u0001\u0000\u0000\u0000\u01fd\u01ff\u0003p8\u0000\u01fe\u01fd\u0001"+ + "\u0000\u0000\u0000\u01ff\u0200\u0001\u0000\u0000\u0000\u0200\u01fe\u0001"+ + "\u0000\u0000\u0000\u0200\u0201\u0001\u0000\u0000\u0000\u0201o\u0001\u0000"+ + "\u0000\u0000\u0202\u0203\u0005c\u0000\u0000\u0203\u0204\u0003r9\u0000"+ + "\u0204\u0205\u0005d\u0000\u0000\u0205q\u0001\u0000\u0000\u0000\u0206\u0207"+ + "\u00069\uffff\uffff\u0000\u0207\u0208\u0003t:\u0000\u0208\u020e\u0001"+ + "\u0000\u0000\u0000\u0209\u020a\n\u0001\u0000\u0000\u020a\u020b\u00054"+ + "\u0000\u0000\u020b\u020d\u0003t:\u0000\u020c\u0209\u0001\u0000\u0000\u0000"+ + "\u020d\u0210\u0001\u0000\u0000\u0000\u020e\u020c\u0001\u0000\u0000\u0000"+ + "\u020e\u020f\u0001\u0000\u0000\u0000\u020fs\u0001\u0000\u0000\u0000\u0210"+ + "\u020e\u0001\u0000\u0000\u0000\u0211\u0212\u0003\u0006\u0003\u0000\u0212"+ + "u\u0001\u0000\u0000\u0000\u0213\u0214\u0005\u001f\u0000\u0000\u0214w\u0001"+ + "\u0000\u0000\u0000\u0215\u021a\u0003z=\u0000\u0216\u0217\u0005>\u0000"+ + "\u0000\u0217\u0219\u0003z=\u0000\u0218\u0216\u0001\u0000\u0000\u0000\u0219"+ + "\u021c\u0001\u0000\u0000\u0000\u021a\u0218\u0001\u0000\u0000\u0000\u021a"+ + "\u021b\u0001\u0000\u0000\u0000\u021by\u0001\u0000\u0000\u0000\u021c\u021a"+ + "\u0001\u0000\u0000\u0000\u021d\u021e\u00036\u001b\u0000\u021e\u021f\u0005"+ + ":\u0000\u0000\u021f\u0220\u0003|>\u0000\u0220{\u0001\u0000\u0000\u0000"+ + "\u0221\u0224\u0003\u0096K\u0000\u0222\u0224\u00036\u001b\u0000\u0223\u0221"+ + "\u0001\u0000\u0000\u0000\u0223\u0222\u0001\u0000\u0000\u0000\u0224}\u0001"+ + "\u0000\u0000\u0000\u0225\u0226\u0005\u0012\u0000\u0000\u0226\u0227\u0003"+ + "\u0096K\u0000\u0227\u0228\u0005J\u0000\u0000\u0228\u022b\u0003\u0012\t"+ + "\u0000\u0229\u022a\u0005O\u0000\u0000\u022a\u022c\u0003x<\u0000\u022b"+ + "\u0229\u0001\u0000\u0000\u0000\u022b\u022c\u0001\u0000\u0000\u0000\u022c"+ + "\u007f\u0001\u0000\u0000\u0000\u022d\u0231\u0005\u0007\u0000\u0000\u022e"+ + "\u022f\u00030\u0018\u0000\u022f\u0230\u0005:\u0000\u0000\u0230\u0232\u0001"+ + "\u0000\u0000\u0000\u0231\u022e\u0001\u0000\u0000\u0000\u0231\u0232\u0001"+ + "\u0000\u0000\u0000\u0232\u0233\u0001\u0000\u0000\u0000\u0233\u0234\u0003"+ + "\u008cF\u0000\u0234\u0235\u0005O\u0000\u0000\u0235\u0236\u0003>\u001f"+ + "\u0000\u0236\u0081\u0001\u0000\u0000\u0000\u0237\u0238\u0006A\uffff\uffff"+ + "\u0000\u0238\u0239\u0005G\u0000\u0000\u0239\u0255\u0003\u0082A\b\u023a"+ + "\u0255\u0003\u0088D\u0000\u023b\u0255\u0003\u0084B\u0000\u023c\u023e\u0003"+ + "\u0088D\u0000\u023d\u023f\u0005G\u0000\u0000\u023e\u023d\u0001\u0000\u0000"+ + "\u0000\u023e\u023f\u0001\u0000\u0000\u0000\u023f\u0240\u0001\u0000\u0000"+ + "\u0000\u0240\u0241\u0005C\u0000\u0000\u0241\u0242\u0005c\u0000\u0000\u0242"+ + "\u0247\u0003\u0088D\u0000\u0243\u0244\u0005>\u0000\u0000\u0244\u0246\u0003"+ + "\u0088D\u0000\u0245\u0243\u0001\u0000\u0000\u0000\u0246\u0249\u0001\u0000"+ + "\u0000\u0000\u0247\u0245\u0001\u0000\u0000\u0000\u0247\u0248\u0001\u0000"+ + "\u0000\u0000\u0248\u024a\u0001\u0000\u0000\u0000\u0249\u0247\u0001\u0000"+ + "\u0000\u0000\u024a\u024b\u0005d\u0000\u0000\u024b\u0255\u0001\u0000\u0000"+ + "\u0000\u024c\u024d\u0003\u0088D\u0000\u024d\u024f\u0005D\u0000\u0000\u024e"+ + "\u0250\u0005G\u0000\u0000\u024f\u024e\u0001\u0000\u0000\u0000\u024f\u0250"+ + "\u0001\u0000\u0000\u0000\u0250\u0251\u0001\u0000\u0000\u0000\u0251\u0252"+ + "\u0005H\u0000\u0000\u0252\u0255\u0001\u0000\u0000\u0000\u0253\u0255\u0003"+ + "\u0086C\u0000\u0254\u0237\u0001\u0000\u0000\u0000\u0254\u023a\u0001\u0000"+ + "\u0000\u0000\u0254\u023b\u0001\u0000\u0000\u0000\u0254\u023c\u0001\u0000"+ + "\u0000\u0000\u0254\u024c\u0001\u0000\u0000\u0000\u0254\u0253\u0001\u0000"+ + "\u0000\u0000\u0255\u025e\u0001\u0000\u0000\u0000\u0256\u0257\n\u0005\u0000"+ + "\u0000\u0257\u0258\u00058\u0000\u0000\u0258\u025d\u0003\u0082A\u0006\u0259"+ + "\u025a\n\u0004\u0000\u0000\u025a\u025b\u0005K\u0000\u0000\u025b\u025d"+ + "\u0003\u0082A\u0005\u025c\u0256\u0001\u0000\u0000\u0000\u025c\u0259\u0001"+ + "\u0000\u0000\u0000\u025d\u0260\u0001\u0000\u0000\u0000\u025e\u025c\u0001"+ + "\u0000\u0000\u0000\u025e\u025f\u0001\u0000\u0000\u0000\u025f\u0083\u0001"+ + "\u0000\u0000\u0000\u0260\u025e\u0001\u0000\u0000\u0000\u0261\u0263\u0003"+ + "\u0088D\u0000\u0262\u0264\u0005G\u0000\u0000\u0263\u0262\u0001\u0000\u0000"+ + "\u0000\u0263\u0264\u0001\u0000\u0000\u0000\u0264\u0265\u0001\u0000\u0000"+ + "\u0000\u0265\u0266\u0005F\u0000\u0000\u0266\u0267\u0003\u00a0P\u0000\u0267"+ + "\u0280\u0001\u0000\u0000\u0000\u0268\u026a\u0003\u0088D\u0000\u0269\u026b"+ + "\u0005G\u0000\u0000\u026a\u0269\u0001\u0000\u0000\u0000\u026a\u026b\u0001"+ + "\u0000\u0000\u0000\u026b\u026c\u0001\u0000\u0000\u0000\u026c\u026d\u0005"+ + "M\u0000\u0000\u026d\u026e\u0003\u00a0P\u0000\u026e\u0280\u0001\u0000\u0000"+ + "\u0000\u026f\u0271\u0003\u0088D\u0000\u0270\u0272\u0005G\u0000\u0000\u0271"+ + "\u0270\u0001\u0000\u0000\u0000\u0271\u0272\u0001\u0000\u0000\u0000\u0272"+ + "\u0273\u0001\u0000\u0000\u0000\u0273\u0274\u0005F\u0000\u0000\u0274\u0275"+ + "\u0005c\u0000\u0000\u0275\u027a\u0003\u00a0P\u0000\u0276\u0277\u0005>"+ + "\u0000\u0000\u0277\u0279\u0003\u00a0P\u0000\u0278\u0276\u0001\u0000\u0000"+ + "\u0000\u0279\u027c\u0001\u0000\u0000\u0000\u027a\u0278\u0001\u0000\u0000"+ + "\u0000\u027a\u027b\u0001\u0000\u0000\u0000\u027b\u027d\u0001\u0000\u0000"+ + "\u0000\u027c\u027a\u0001\u0000\u0000\u0000\u027d\u027e\u0005d\u0000\u0000"+ + "\u027e\u0280\u0001\u0000\u0000\u0000\u027f\u0261\u0001\u0000\u0000\u0000"+ + "\u027f\u0268\u0001\u0000\u0000\u0000\u027f\u026f\u0001\u0000\u0000\u0000"+ + "\u0280\u0085\u0001\u0000\u0000\u0000\u0281\u0284\u00030\u0018\u0000\u0282"+ + "\u0283\u0005<\u0000\u0000\u0283\u0285\u0003\n\u0005\u0000\u0284\u0282"+ + "\u0001\u0000\u0000\u0000\u0284\u0285\u0001\u0000\u0000\u0000\u0285\u0286"+ + "\u0001\u0000\u0000\u0000\u0286\u0287\u0005=\u0000\u0000\u0287\u0288\u0003"+ + "\u0096K\u0000\u0288\u0087\u0001\u0000\u0000\u0000\u0289\u028f\u0003\u008a"+ + "E\u0000\u028a\u028b\u0003\u008aE\u0000\u028b\u028c\u0003\u00a2Q\u0000"+ + "\u028c\u028d\u0003\u008aE\u0000\u028d\u028f\u0001\u0000\u0000\u0000\u028e"+ + "\u0289\u0001\u0000\u0000\u0000\u028e\u028a\u0001\u0000\u0000\u0000\u028f"+ + "\u0089\u0001\u0000\u0000\u0000\u0290\u0291\u0006E\uffff\uffff\u0000\u0291"+ + "\u0295\u0003\u008cF\u0000\u0292\u0293\u0007\u0004\u0000\u0000\u0293\u0295"+ + "\u0003\u008aE\u0003\u0294\u0290\u0001\u0000\u0000\u0000\u0294\u0292\u0001"+ + "\u0000\u0000\u0000\u0295\u029e\u0001\u0000\u0000\u0000\u0296\u0297\n\u0002"+ + "\u0000\u0000\u0297\u0298\u0007\u0005\u0000\u0000\u0298\u029d\u0003\u008a"+ + "E\u0003\u0299\u029a\n\u0001\u0000\u0000\u029a\u029b\u0007\u0004\u0000"+ + "\u0000\u029b\u029d\u0003\u008aE\u0002\u029c\u0296\u0001\u0000\u0000\u0000"+ + "\u029c\u0299\u0001\u0000\u0000\u0000\u029d\u02a0\u0001\u0000\u0000\u0000"+ + "\u029e\u029c\u0001\u0000\u0000\u0000\u029e\u029f\u0001\u0000\u0000\u0000"+ + "\u029f\u008b\u0001\u0000\u0000\u0000\u02a0\u029e\u0001\u0000\u0000\u0000"+ + "\u02a1\u02a2\u0006F\uffff\uffff\u0000\u02a2\u02aa\u0003\u0096K\u0000\u02a3"+ + "\u02aa\u00030\u0018\u0000\u02a4\u02aa\u0003\u008eG\u0000\u02a5\u02a6\u0005"+ + "c\u0000\u0000\u02a6\u02a7\u0003\u0082A\u0000\u02a7\u02a8\u0005d\u0000"+ + "\u0000\u02a8\u02aa\u0001\u0000\u0000\u0000\u02a9\u02a1\u0001\u0000\u0000"+ + "\u0000\u02a9\u02a3\u0001\u0000\u0000\u0000\u02a9\u02a4\u0001\u0000\u0000"+ + "\u0000\u02a9\u02a5\u0001\u0000\u0000\u0000\u02aa\u02b0\u0001\u0000\u0000"+ + "\u0000\u02ab\u02ac\n\u0001\u0000\u0000\u02ac\u02ad\u0005<\u0000\u0000"+ + "\u02ad\u02af\u0003\n\u0005\u0000\u02ae\u02ab\u0001\u0000\u0000\u0000\u02af"+ + "\u02b2\u0001\u0000\u0000\u0000\u02b0\u02ae\u0001\u0000\u0000\u0000\u02b0"+ + "\u02b1\u0001\u0000\u0000\u0000\u02b1\u008d\u0001\u0000\u0000\u0000\u02b2"+ + "\u02b0\u0001\u0000\u0000\u0000\u02b3\u02b4\u0003\u0090H\u0000\u02b4\u02c2"+ + "\u0005c\u0000\u0000\u02b5\u02c3\u0005Y\u0000\u0000\u02b6\u02bb\u0003\u0082"+ + "A\u0000\u02b7\u02b8\u0005>\u0000\u0000\u02b8\u02ba\u0003\u0082A\u0000"+ + "\u02b9\u02b7\u0001\u0000\u0000\u0000\u02ba\u02bd\u0001\u0000\u0000\u0000"+ + "\u02bb\u02b9\u0001\u0000\u0000\u0000\u02bb\u02bc\u0001\u0000\u0000\u0000"+ + "\u02bc\u02c0\u0001\u0000\u0000\u0000\u02bd\u02bb\u0001\u0000\u0000\u0000"+ + "\u02be\u02bf\u0005>\u0000\u0000\u02bf\u02c1\u0003\u0092I\u0000\u02c0\u02be"+ + "\u0001\u0000\u0000\u0000\u02c0\u02c1\u0001\u0000\u0000\u0000\u02c1\u02c3"+ + "\u0001\u0000\u0000\u0000\u02c2\u02b5\u0001\u0000\u0000\u0000\u02c2\u02b6"+ + "\u0001\u0000\u0000\u0000\u02c2\u02c3\u0001\u0000\u0000\u0000\u02c3\u02c4"+ + "\u0001\u0000\u0000\u0000\u02c4\u02c5\u0005d\u0000\u0000\u02c5\u008f\u0001"+ + "\u0000\u0000\u0000\u02c6\u02c7\u0003>\u001f\u0000\u02c7\u0091\u0001\u0000"+ + "\u0000\u0000\u02c8\u02c9\u0005\\\u0000\u0000\u02c9\u02ce\u0003\u0094J"+ + "\u0000\u02ca\u02cb\u0005>\u0000\u0000\u02cb\u02cd\u0003\u0094J\u0000\u02cc"+ + "\u02ca\u0001\u0000\u0000\u0000\u02cd\u02d0\u0001\u0000\u0000\u0000\u02ce"+ + "\u02cc\u0001\u0000\u0000\u0000\u02ce\u02cf\u0001\u0000\u0000\u0000\u02cf"+ + "\u02d1\u0001\u0000\u0000\u0000\u02d0\u02ce\u0001\u0000\u0000\u0000\u02d1"+ + "\u02d2\u0005]\u0000\u0000\u02d2\u0093\u0001\u0000\u0000\u0000\u02d3\u02d4"+ + "\u0003\u00a0P\u0000\u02d4\u02d5\u0005=\u0000\u0000\u02d5\u02d6\u0003\u0096"+ + "K\u0000\u02d6\u0095\u0001\u0000\u0000\u0000\u02d7\u0302\u0005H\u0000\u0000"+ + "\u02d8\u02d9\u0003\u009eO\u0000\u02d9\u02da\u0005e\u0000\u0000\u02da\u0302"+ + "\u0001\u0000\u0000\u0000\u02db\u0302\u0003\u009cN\u0000\u02dc\u0302\u0003"+ + "\u009eO\u0000\u02dd\u0302\u0003\u0098L\u0000\u02de\u0302\u0003:\u001d"+ + "\u0000\u02df\u0302\u0003\u00a0P\u0000\u02e0\u02e1\u0005a\u0000\u0000\u02e1"+ + "\u02e6\u0003\u009aM\u0000\u02e2\u02e3\u0005>\u0000\u0000\u02e3\u02e5\u0003"+ + "\u009aM\u0000\u02e4\u02e2\u0001\u0000\u0000\u0000\u02e5\u02e8\u0001\u0000"+ + "\u0000\u0000\u02e6\u02e4\u0001\u0000\u0000\u0000\u02e6\u02e7\u0001\u0000"+ + "\u0000\u0000\u02e7\u02e9\u0001\u0000\u0000\u0000\u02e8\u02e6\u0001\u0000"+ + "\u0000\u0000\u02e9\u02ea\u0005b\u0000\u0000\u02ea\u0302\u0001\u0000\u0000"+ + "\u0000\u02eb\u02ec\u0005a\u0000\u0000\u02ec\u02f1\u0003\u0098L\u0000\u02ed"+ + "\u02ee\u0005>\u0000\u0000\u02ee\u02f0\u0003\u0098L\u0000\u02ef\u02ed\u0001"+ + "\u0000\u0000\u0000\u02f0\u02f3\u0001\u0000\u0000\u0000\u02f1\u02ef\u0001"+ + "\u0000\u0000\u0000\u02f1\u02f2\u0001\u0000\u0000\u0000\u02f2\u02f4\u0001"+ + "\u0000\u0000\u0000\u02f3\u02f1\u0001\u0000\u0000\u0000\u02f4\u02f5\u0005"+ + "b\u0000\u0000\u02f5\u0302\u0001\u0000\u0000\u0000\u02f6\u02f7\u0005a\u0000"+ + "\u0000\u02f7\u02fc\u0003\u00a0P\u0000\u02f8\u02f9\u0005>\u0000\u0000\u02f9"+ + "\u02fb\u0003\u00a0P\u0000\u02fa\u02f8\u0001\u0000\u0000\u0000\u02fb\u02fe"+ + "\u0001\u0000\u0000\u0000\u02fc\u02fa\u0001\u0000\u0000\u0000\u02fc\u02fd"+ + "\u0001\u0000\u0000\u0000\u02fd\u02ff\u0001\u0000\u0000\u0000\u02fe\u02fc"+ + "\u0001\u0000\u0000\u0000\u02ff\u0300\u0005b\u0000\u0000\u0300\u0302\u0001"+ + "\u0000\u0000\u0000\u0301\u02d7\u0001\u0000\u0000\u0000\u0301\u02d8\u0001"+ + "\u0000\u0000\u0000\u0301\u02db\u0001\u0000\u0000\u0000\u0301\u02dc\u0001"+ + "\u0000\u0000\u0000\u0301\u02dd\u0001\u0000\u0000\u0000\u0301\u02de\u0001"+ + "\u0000\u0000\u0000\u0301\u02df\u0001\u0000\u0000\u0000\u0301\u02e0\u0001"+ + "\u0000\u0000\u0000\u0301\u02eb\u0001\u0000\u0000\u0000\u0301\u02f6\u0001"+ + "\u0000\u0000\u0000\u0302\u0097\u0001\u0000\u0000\u0000\u0303\u0304\u0007"+ + "\u0006\u0000\u0000\u0304\u0099\u0001\u0000\u0000\u0000\u0305\u0308\u0003"+ + "\u009cN\u0000\u0306\u0308\u0003\u009eO\u0000\u0307\u0305\u0001\u0000\u0000"+ + "\u0000\u0307\u0306\u0001\u0000\u0000\u0000\u0308\u009b\u0001\u0000\u0000"+ + "\u0000\u0309\u030b\u0007\u0004\u0000\u0000\u030a\u0309\u0001\u0000\u0000"+ + "\u0000\u030a\u030b\u0001\u0000\u0000\u0000\u030b\u030c\u0001\u0000\u0000"+ + "\u0000\u030c\u030d\u00057\u0000\u0000\u030d\u009d\u0001\u0000\u0000\u0000"+ + "\u030e\u0310\u0007\u0004\u0000\u0000\u030f\u030e\u0001\u0000\u0000\u0000"+ + "\u030f\u0310\u0001\u0000\u0000\u0000\u0310\u0311\u0001\u0000\u0000\u0000"+ + "\u0311\u0312\u00056\u0000\u0000\u0312\u009f\u0001\u0000\u0000\u0000\u0313"+ + "\u0314\u00055\u0000\u0000\u0314\u00a1\u0001\u0000\u0000\u0000\u0315\u0316"+ + "\u0007\u0007\u0000\u0000\u0316\u00a3\u0001\u0000\u0000\u0000\u0317\u0318"+ + "\u0007\b\u0000\u0000\u0318\u0319\u0005r\u0000\u0000\u0319\u031a\u0003"+ + "\u00a6S\u0000\u031a\u031b\u0003\u00a8T\u0000\u031b\u00a5\u0001\u0000\u0000"+ + "\u0000\u031c\u031d\u0003\u001c\u000e\u0000\u031d\u00a7\u0001\u0000\u0000"+ + "\u0000\u031e\u031f\u0005J\u0000\u0000\u031f\u0324\u0003\u00aaU\u0000\u0320"+ + "\u0321\u0005>\u0000\u0000\u0321\u0323\u0003\u00aaU\u0000\u0322\u0320\u0001"+ + "\u0000\u0000\u0000\u0323\u0326\u0001\u0000\u0000\u0000\u0324\u0322\u0001"+ + "\u0000\u0000\u0000\u0324\u0325\u0001\u0000\u0000\u0000\u0325\u00a9\u0001"+ + "\u0000\u0000\u0000\u0326\u0324\u0001\u0000\u0000\u0000\u0327\u0328\u0003"+ + "\u0088D\u0000\u0328\u00ab\u0001\u0000\u0000\u0000H\u00b7\u00c0\u00dd\u00ec"+ + "\u00f2\u00fb\u0101\u010e\u0112\u011d\u012d\u0135\u0139\u0140\u0146\u014d"+ + "\u0155\u015d\u0165\u0169\u016d\u0172\u017d\u0182\u0186\u0194\u019f\u01a5"+ + "\u01b3\u01c8\u01d0\u01d3\u01d8\u01e8\u01ee\u01f5\u0200\u020e\u021a\u0223"+ + "\u022b\u0231\u023e\u0247\u024f\u0254\u025c\u025e\u0263\u026a\u0271\u027a"+ + "\u027f\u0284\u028e\u0294\u029c\u029e\u02a9\u02b0\u02bb\u02c0\u02c2\u02ce"+ + "\u02e6\u02f1\u02fc\u0301\u0307\u030a\u030f\u0324"; public static final ATN _ATN = new ATNDeserializer().deserialize(_serializedATN.toCharArray()); static { diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java index 90b678b6daa2..8a9bc07a99ea 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseListener.java @@ -788,6 +788,42 @@ public class EsqlBaseParserBaseListener implements EsqlBaseParserListener { *

The default implementation does nothing.

*/ @Override public void exitRrfCommand(EsqlBaseParser.RrfCommandContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterInferenceCommandOptions(EsqlBaseParser.InferenceCommandOptionsContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitInferenceCommandOptions(EsqlBaseParser.InferenceCommandOptionsContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterInferenceCommandOption(EsqlBaseParser.InferenceCommandOptionContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitInferenceCommandOption(EsqlBaseParser.InferenceCommandOptionContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterInferenceCommandOptionValue(EsqlBaseParser.InferenceCommandOptionValueContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitInferenceCommandOptionValue(EsqlBaseParser.InferenceCommandOptionValueContext ctx) { } /** * {@inheritDoc} * diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java index c2c3aec1f4a8..6c13edd55907 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserBaseVisitor.java @@ -468,6 +468,27 @@ public class EsqlBaseParserBaseVisitor extends AbstractParseTreeVisitor im * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitRrfCommand(EsqlBaseParser.RrfCommandContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitInferenceCommandOptions(EsqlBaseParser.InferenceCommandOptionsContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitInferenceCommandOption(EsqlBaseParser.InferenceCommandOptionContext ctx) { return visitChildren(ctx); } + /** + * {@inheritDoc} + * + *

The default implementation returns the result of calling + * {@link #visitChildren} on {@code ctx}.

+ */ + @Override public T visitInferenceCommandOptionValue(EsqlBaseParser.InferenceCommandOptionValueContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java index 696157528211..cfab02cb3d82 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserListener.java @@ -675,6 +675,36 @@ public interface EsqlBaseParserListener extends ParseTreeListener { * @param ctx the parse tree */ void exitRrfCommand(EsqlBaseParser.RrfCommandContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#inferenceCommandOptions}. + * @param ctx the parse tree + */ + void enterInferenceCommandOptions(EsqlBaseParser.InferenceCommandOptionsContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#inferenceCommandOptions}. + * @param ctx the parse tree + */ + void exitInferenceCommandOptions(EsqlBaseParser.InferenceCommandOptionsContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#inferenceCommandOption}. + * @param ctx the parse tree + */ + void enterInferenceCommandOption(EsqlBaseParser.InferenceCommandOptionContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#inferenceCommandOption}. + * @param ctx the parse tree + */ + void exitInferenceCommandOption(EsqlBaseParser.InferenceCommandOptionContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#inferenceCommandOptionValue}. + * @param ctx the parse tree + */ + void enterInferenceCommandOptionValue(EsqlBaseParser.InferenceCommandOptionValueContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#inferenceCommandOptionValue}. + * @param ctx the parse tree + */ + void exitInferenceCommandOptionValue(EsqlBaseParser.InferenceCommandOptionValueContext ctx); /** * Enter a parse tree produced by {@link EsqlBaseParser#rerankCommand}. * @param ctx the parse tree diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java index db02656611da..b27d3f0210cd 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParserVisitor.java @@ -412,6 +412,24 @@ public interface EsqlBaseParserVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitRrfCommand(EsqlBaseParser.RrfCommandContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#inferenceCommandOptions}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitInferenceCommandOptions(EsqlBaseParser.InferenceCommandOptionsContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#inferenceCommandOption}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitInferenceCommandOption(EsqlBaseParser.InferenceCommandOptionContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#inferenceCommandOptionValue}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitInferenceCommandOptionValue(EsqlBaseParser.InferenceCommandOptionValueContext ctx); /** * Visit a parse tree produced by {@link EsqlBaseParser#rerankCommand}. * @param ctx the parse tree diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java index 9676db330dd8..107934256649 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java @@ -734,7 +734,9 @@ public class LogicalPlanBuilder extends ExpressionBuilder { @Override public PlanFactory visitRerankCommand(EsqlBaseParser.RerankCommandContext ctx) { Source source = source(ctx); + List rerankFields = visitRerankFields(ctx.rerankFields()); Expression queryText = expression(ctx.queryText); + if (queryText instanceof Literal queryTextLiteral && DataType.isString(queryText.dataType())) { if (queryTextLiteral.value() == null) { throw new ParsingException( @@ -751,19 +753,72 @@ public class LogicalPlanBuilder extends ExpressionBuilder { ); } - Literal inferenceId = ctx.inferenceId != null ? inferenceId(ctx.inferenceId) : Literal.keyword(source, Rerank.DEFAULT_INFERENCE_ID); - return p -> { checkForRemoteClusters(p, source, "RERANK"); - return new Rerank(source, p, inferenceId, queryText, visitRerankFields(ctx.rerankFields())); + return visitRerankOptions(new Rerank(source, p, queryText, rerankFields), ctx.inferenceCommandOptions()); }; } + private Rerank visitRerankOptions(Rerank rerank, EsqlBaseParser.InferenceCommandOptionsContext ctx) { + if (ctx == null) { + return rerank; + } + + Rerank.Builder rerankBuilder = new Rerank.Builder(rerank); + + for (var option : ctx.inferenceCommandOption()) { + String optionName = visitIdentifier(option.identifier()); + EsqlBaseParser.InferenceCommandOptionValueContext optionValue = option.inferenceCommandOptionValue(); + if (optionName.equals(Rerank.INFERENCE_ID_OPTION_NAME)) { + rerankBuilder.withInferenceId(visitInferenceId(optionValue)); + } else if (optionName.equals(Rerank.SCORE_COLUMN_OPTION_NAME)) { + rerankBuilder.withScoreAttribute(visitRerankScoreAttribute(optionName, optionValue)); + } else { + throw new ParsingException( + source(option.identifier()), + "Unknowm parameter [{}] in RERANK command", + option.identifier().getText() + ); + } + } + + return rerankBuilder.build(); + } + + private UnresolvedAttribute visitRerankScoreAttribute(String optionName, EsqlBaseParser.InferenceCommandOptionValueContext ctx) { + if (ctx.constant() == null && ctx.identifier() == null) { + throw new ParsingException(source(ctx), "Parameter [{}] is null or undefined", optionName); + } + + Expression optionValue = ctx.identifier() != null + ? Literal.keyword(source(ctx.identifier()), visitIdentifier(ctx.identifier())) + : expression(ctx.constant()); + + if (optionValue instanceof UnresolvedAttribute scoreAttribute) { + return scoreAttribute; + } else if (optionValue instanceof Literal literal) { + if (literal.value() == null) { + throw new ParsingException(optionValue.source(), "Parameter [{}] is null or undefined", optionName); + } + + if (literal.value() instanceof BytesRef attributeName) { + return new UnresolvedAttribute(literal.source(), BytesRefs.toString(attributeName)); + } + } + + throw new ParsingException( + source(ctx), + "Option [{}] expects a valid attribute in RERANK command. [{}] provided.", + optionName, + ctx.constant().getText() + ); + } + @Override public PlanFactory visitCompletionCommand(EsqlBaseParser.CompletionCommandContext ctx) { Source source = source(ctx); Expression prompt = expression(ctx.prompt); - Literal inferenceId = inferenceId(ctx.inferenceId); + Literal inferenceId = visitInferenceId(ctx.inferenceId); Attribute targetField = ctx.targetField == null ? new UnresolvedAttribute(source, Completion.DEFAULT_OUTPUT_FIELD_NAME) : visitQualifiedName(ctx.targetField); @@ -774,27 +829,43 @@ public class LogicalPlanBuilder extends ExpressionBuilder { }; } - public Literal inferenceId(EsqlBaseParser.IdentifierOrParameterContext ctx) { + private Literal visitInferenceId(EsqlBaseParser.IdentifierOrParameterContext ctx) { if (ctx.identifier() != null) { return Literal.keyword(source(ctx), visitIdentifier(ctx.identifier())); } - if (expression(ctx.parameter()) instanceof Literal literalParam) { - if (literalParam.value() != null) { - return literalParam; + return visitInferenceId(expression(ctx.parameter())); + } + + private Literal visitInferenceId(EsqlBaseParser.InferenceCommandOptionValueContext ctx) { + if (ctx.identifier() != null) { + return Literal.keyword(source(ctx), visitIdentifier(ctx.identifier())); + } + + return visitInferenceId(expression(ctx.constant())); + } + + private Literal visitInferenceId(Expression expression) { + if (expression instanceof Literal literal) { + if (literal.value() == null) { + throw new ParsingException( + expression.source(), + "Parameter [{}] is null or undefined and cannot be used as inference id", + expression.source().text() + ); } - throw new ParsingException( - source(ctx.parameter()), - "Query parameter [{}] is null or undefined and cannot be used as inference id", - ctx.parameter().getText() - ); + return literal; + } else if (expression instanceof UnresolvedAttribute attribute) { + // Support for unquoted inference id + return new Literal(expression.source(), attribute.name(), KEYWORD); } throw new ParsingException( - source(ctx.parameter()), - "Query parameter [{}] is not a string and cannot be used as inference id", - ctx.parameter().getText() + expression.source(), + "Query parameter [{}] is not a string and cannot be used as inference id [{}]", + expression.source().text(), + expression.getClass() ); } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java index a577229f51ae..c4115caf111d 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java @@ -22,9 +22,7 @@ import org.elasticsearch.xpack.esql.core.tree.NodeInfo; import org.elasticsearch.xpack.esql.core.tree.Source; import org.elasticsearch.xpack.esql.core.type.DataType; import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; -import org.elasticsearch.xpack.esql.plan.GeneratingPlan; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; -import org.elasticsearch.xpack.esql.plan.logical.SortAgnostic; import java.io.IOException; import java.util.List; @@ -34,12 +32,7 @@ import static org.elasticsearch.xpack.esql.common.Failure.fail; import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT; import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputAttributes; -public class Completion extends InferencePlan - implements - GeneratingPlan, - SortAgnostic, - TelemetryAware, - PostAnalysisVerificationAware { +public class Completion extends InferencePlan implements TelemetryAware, PostAnalysisVerificationAware { public static final String DEFAULT_OUTPUT_FIELD_NAME = "completion"; diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/InferencePlan.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/InferencePlan.java index 3d199fba495c..620e8726865d 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/InferencePlan.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/InferencePlan.java @@ -12,13 +12,18 @@ import org.elasticsearch.inference.TaskType; import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.UnresolvedAttribute; import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.plan.GeneratingPlan; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.SortAgnostic; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; import java.io.IOException; import java.util.Objects; -public abstract class InferencePlan> extends UnaryPlan { +public abstract class InferencePlan> extends UnaryPlan + implements + SortAgnostic, + GeneratingPlan> { private final Expression inferenceId; diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java index 7156c5c97a8f..308bdccfc0a0 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java @@ -18,17 +18,14 @@ import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.expression.AttributeSet; import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.Expressions; +import org.elasticsearch.xpack.esql.core.expression.Literal; import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.core.expression.NameId; import org.elasticsearch.xpack.esql.core.expression.UnresolvedAttribute; import org.elasticsearch.xpack.esql.core.tree.NodeInfo; import org.elasticsearch.xpack.esql.core.tree.Source; -import org.elasticsearch.xpack.esql.expression.Order; import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; -import org.elasticsearch.xpack.esql.plan.QueryPlan; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; -import org.elasticsearch.xpack.esql.plan.logical.OrderBy; -import org.elasticsearch.xpack.esql.plan.logical.SortAgnostic; -import org.elasticsearch.xpack.esql.plan.logical.SurrogateLogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; import java.io.IOException; @@ -37,21 +34,29 @@ import java.util.Objects; import static org.elasticsearch.xpack.esql.core.expression.Expressions.asAttributes; import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputAttributes; +import static org.elasticsearch.xpack.esql.parser.ParserUtils.source; -public class Rerank extends InferencePlan implements SortAgnostic, SurrogateLogicalPlan, TelemetryAware { +public class Rerank extends InferencePlan implements TelemetryAware { public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry(LogicalPlan.class, "Rerank", Rerank::new); public static final String DEFAULT_INFERENCE_ID = ".rerank-v1-elasticsearch"; + public static final String INFERENCE_ID_OPTION_NAME = "inferenceId"; + public static final String SCORE_COLUMN_OPTION_NAME = "scoreColumn"; + private final Attribute scoreAttribute; private final Expression queryText; private final List rerankFields; private List lazyOutput; - public Rerank(Source source, LogicalPlan child, Expression inferenceId, Expression queryText, List rerankFields) { - super(source, child, inferenceId); - this.queryText = queryText; - this.rerankFields = rerankFields; - this.scoreAttribute = new UnresolvedAttribute(source, MetadataAttribute.SCORE); + public Rerank(Source source, LogicalPlan child, Expression queryText, List rerankFields) { + this( + source, + child, + Literal.keyword(Source.EMPTY, DEFAULT_INFERENCE_ID), + queryText, + rerankFields, + new UnresolvedAttribute(Source.EMPTY, MetadataAttribute.SCORE) + ); } public Rerank( @@ -129,13 +134,25 @@ public class Rerank extends InferencePlan implements SortAgnostic, Surro @Override protected AttributeSet computeReferences() { - AttributeSet.Builder refs = computeReferences(rerankFields).asBuilder(); + return computeReferences(rerankFields); + } - if (planHasAttribute(child(), scoreAttribute)) { - refs.add(scoreAttribute); + public List generatedAttributes() { + return List.of(scoreAttribute); + } + + @Override + public Rerank withGeneratedNames(List newNames) { + checkNumberOfNewNames(newNames); + return new Rerank(source(), child(), inferenceId(), queryText, rerankFields, this.renameScoreAttribute(newNames.get(0))); + } + + private Attribute renameScoreAttribute(String newName) { + if (newName.equals(scoreAttribute.name())) { + return scoreAttribute; } - return refs.build(); + return scoreAttribute.withName(newName).withId(new NameId()); } public static AttributeSet computeReferences(List fields) { @@ -169,24 +186,33 @@ public class Rerank extends InferencePlan implements SortAgnostic, Surro return Objects.hash(super.hashCode(), queryText, rerankFields, scoreAttribute); } - @Override - public LogicalPlan surrogate() { - Order sortOrder = new Order(source(), scoreAttribute, Order.OrderDirection.DESC, Order.NullsPosition.ANY); - return new OrderBy(source(), this, List.of(sortOrder)); - } - @Override public List output() { if (lazyOutput == null) { - lazyOutput = planHasAttribute(child(), scoreAttribute) - ? child().output() - : mergeOutputAttributes(List.of(scoreAttribute), child().output()); + lazyOutput = mergeOutputAttributes(List.of(scoreAttribute), child().output()); } - return lazyOutput; } - public static boolean planHasAttribute(QueryPlan plan, Attribute attribute) { - return plan.outputSet().stream().anyMatch(attr -> attr.equals(attribute)); + public static class Builder { + private Rerank rerank; + + public Builder(Rerank rerank) { + this.rerank = rerank; + } + + public Rerank build() { + return rerank; + } + + public Builder withInferenceId(Expression inferenceId) { + this.rerank = this.rerank.withInferenceId(inferenceId); + return this; + } + + public Builder withScoreAttribute(Attribute scoreAttribute) { + this.rerank = this.rerank.withScoreAttribute(scoreAttribute); + return this; + } } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExec.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExec.java index 4570775af2ed..ad852d0ac20d 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExec.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExec.java @@ -26,7 +26,6 @@ import java.util.List; import java.util.Objects; import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputAttributes; -import static org.elasticsearch.xpack.esql.plan.logical.inference.Rerank.planHasAttribute; public class RerankExec extends InferenceExec { @@ -39,6 +38,7 @@ public class RerankExec extends InferenceExec { private final Expression queryText; private final List rerankFields; private final Attribute scoreAttribute; + private List lazyOutput; public RerankExec( Source source, @@ -102,22 +102,15 @@ public class RerankExec extends InferenceExec { @Override public List output() { - if (planHasAttribute(child(), scoreAttribute)) { - return child().output(); + if (lazyOutput == null) { + lazyOutput = mergeOutputAttributes(List.of(scoreAttribute), child().output()); } - - return mergeOutputAttributes(List.of(scoreAttribute), child().output()); + return lazyOutput; } @Override protected AttributeSet computeReferences() { - AttributeSet.Builder refs = Rerank.computeReferences(rerankFields).asBuilder(); - - if (planHasAttribute(child(), scoreAttribute)) { - refs.add(scoreAttribute); - } - - return refs.build(); + return Rerank.computeReferences(rerankFields); } @Override diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java index db24eab37346..a92d2f439a0e 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java @@ -618,18 +618,29 @@ public class LocalExecutionPlanner { private PhysicalOperation planRerank(RerankExec rerank, LocalExecutionPlannerContext context) { PhysicalOperation source = plan(rerank.child(), context); - Map rerankFieldsEvaluatorSuppliers = Maps - .newLinkedHashMapWithExpectedSize(rerank.rerankFields().size()); + EvalOperator.ExpressionEvaluator.Factory rowEncoderFactory; + if (rerank.rerankFields().size() > 1) { + // If there is more than one field used for reranking we are encoded the input in a YAML doc, using field names as key. + // The input value will looks like + // text_field: foo bar + // multivalue_text_field: + // - value 1 + // - value 2 + // integer_field: 132 + Map rerankFieldsEvaluatorSuppliers = Maps + .newLinkedHashMapWithExpectedSize(rerank.rerankFields().size()); - for (var rerankField : rerank.rerankFields()) { - rerankFieldsEvaluatorSuppliers.put( - new ColumnInfoImpl(rerankField.name(), rerankField.dataType(), null), - EvalMapper.toEvaluator(context.foldCtx(), rerankField.child(), source.layout) - ); + for (var rerankField : rerank.rerankFields()) { + rerankFieldsEvaluatorSuppliers.put( + new ColumnInfoImpl(rerankField.name(), rerankField.dataType(), null), + EvalMapper.toEvaluator(context.foldCtx(), rerankField.child(), source.layout) + ); + } + rowEncoderFactory = XContentRowEncoder.yamlRowEncoderFactory(rerankFieldsEvaluatorSuppliers); + } else { + rowEncoderFactory = EvalMapper.toEvaluator(context.foldCtx(), rerank.rerankFields().get(0).child(), source.layout); } - XContentRowEncoder.Factory rowEncoderFactory = XContentRowEncoder.yamlRowEncoderFactory(rerankFieldsEvaluatorSuppliers); - String inferenceId = BytesRefs.toString(rerank.inferenceId().fold(context.foldCtx)); String queryText = BytesRefs.toString(rerank.queryText().fold(context.foldCtx)); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java index b51e26e3c7d6..0c7cdf485519 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java @@ -124,6 +124,7 @@ import static org.elasticsearch.xpack.esql.core.tree.Source.EMPTY; import static org.elasticsearch.xpack.esql.core.type.DataType.DATETIME; import static org.elasticsearch.xpack.esql.core.type.DataType.DATE_NANOS; import static org.elasticsearch.xpack.esql.core.type.DataType.DATE_PERIOD; +import static org.elasticsearch.xpack.esql.core.type.DataType.DOUBLE; import static org.elasticsearch.xpack.esql.core.type.DataType.LONG; import static org.elasticsearch.xpack.esql.core.type.DataType.UNSUPPORTED; import static org.elasticsearch.xpack.esql.type.EsqlDataTypeConverter.dateTimeToString; @@ -3546,7 +3547,7 @@ public class AnalyzerTests extends ESTestCase { { LogicalPlan plan = analyze( - "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH `reranking-inference-id`", + "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH inferenceId=`reranking-inference-id`", "mapping-books.json" ); Rerank rerank = as(as(plan, Limit.class).child(), Rerank.class); @@ -3557,7 +3558,7 @@ public class AnalyzerTests extends ESTestCase { VerificationException ve = expectThrows( VerificationException.class, () -> analyze( - "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH `completion-inference-id`", + "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH inferenceId=`completion-inference-id`", "mapping-books.json" ) @@ -3575,7 +3576,7 @@ public class AnalyzerTests extends ESTestCase { VerificationException ve = expectThrows( VerificationException.class, () -> analyze( - "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH `error-inference-id`", + "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH inferenceId=`error-inference-id`", "mapping-books.json" ) @@ -3587,7 +3588,7 @@ public class AnalyzerTests extends ESTestCase { VerificationException ve = expectThrows( VerificationException.class, () -> analyze( - "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH `unknown-inference-id`", + "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH inferenceId=`unknown-inference-id`", "mapping-books.json" ) @@ -3606,7 +3607,7 @@ public class AnalyzerTests extends ESTestCase { | WHERE title:"italian food recipe" OR description:"italian food recipe" | KEEP description, title, year, _score | DROP description - | RERANK "italian food recipe" ON title WITH `reranking-inference-id` + | RERANK "italian food recipe" ON title WITH inferenceId=`reranking-inference-id` """, "mapping-books.json"); Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. @@ -3630,7 +3631,8 @@ public class AnalyzerTests extends ESTestCase { LogicalPlan plan = analyze(""" FROM books METADATA _score | WHERE title:"food" - | RERANK "food" ON title, description=SUBSTRING(description, 0, 100), yearRenamed=year WITH `reranking-inference-id` + | RERANK "food" ON title, description=SUBSTRING(description, 0, 100), yearRenamed=year + WITH inferenceId=`reranking-inference-id` """, "mapping-books.json"); Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. @@ -3668,7 +3670,7 @@ public class AnalyzerTests extends ESTestCase { LogicalPlan plan = analyze(""" FROM books METADATA _score | WHERE title:"food" - | RERANK "food" ON title, SUBSTRING(description, 0, 100), yearRenamed=year WITH `reranking-inference-id` + | RERANK "food" ON title, SUBSTRING(description, 0, 100), yearRenamed=year WITH inferenceId=`reranking-inference-id` """, "mapping-books.json"); } catch (ParsingException ex) { assertThat( @@ -3682,7 +3684,7 @@ public class AnalyzerTests extends ESTestCase { VerificationException ve = expectThrows( VerificationException.class, () -> analyze( - "FROM books METADATA _score | RERANK \"italian food recipe\" ON missingField WITH `reranking-inference-id`", + "FROM books METADATA _score | RERANK \"italian food recipe\" ON missingField WITH inferenceId=`reranking-inference-id`", "mapping-books.json" ) @@ -3699,7 +3701,7 @@ public class AnalyzerTests extends ESTestCase { LogicalPlan plan = analyze(""" FROM books METADATA _score | WHERE title:"italian food recipe" OR description:"italian food recipe" - | RERANK "italian food recipe" ON title WITH `reranking-inference-id` + | RERANK "italian food recipe" ON title WITH inferenceId=`reranking-inference-id` """, "mapping-books.json"); Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. @@ -3717,7 +3719,7 @@ public class AnalyzerTests extends ESTestCase { LogicalPlan plan = analyze(""" FROM books | WHERE title:"italian food recipe" OR description:"italian food recipe" - | RERANK "italian food recipe" ON title WITH `reranking-inference-id` + | RERANK "italian food recipe" ON title WITH inferenceId=`reranking-inference-id` """, "mapping-books.json"); Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. @@ -3729,6 +3731,42 @@ public class AnalyzerTests extends ESTestCase { assertThat(rerank.scoreAttribute(), equalTo(MetadataAttribute.create(EMPTY, MetadataAttribute.SCORE))); assertThat(rerank.output(), hasItem(rerank.scoreAttribute())); } + + { + // When using a custom fields that does not exist + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | WHERE title:"italian food recipe" OR description:"italian food recipe" + | RERANK "italian food recipe" ON title WITH inferenceId=`reranking-inference-id`, scoreColumn=rerank_score + """, "mapping-books.json"); + + Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. + Rerank rerank = as(limit.child(), Rerank.class); + + Attribute scoreAttribute = rerank.scoreAttribute(); + assertThat(scoreAttribute.name(), equalTo("rerank_score")); + assertThat(scoreAttribute.dataType(), equalTo(DOUBLE)); + assertThat(rerank.output(), hasItem(scoreAttribute)); + } + + { + // When using a custom fields that already exists + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | WHERE title:"italian food recipe" OR description:"italian food recipe" + | EVAL rerank_score = _score + | RERANK "italian food recipe" ON title WITH inferenceId=`reranking-inference-id`, scoreColumn=rerank_score + """, "mapping-books.json"); + + Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. + Rerank rerank = as(limit.child(), Rerank.class); + + Attribute scoreAttribute = rerank.scoreAttribute(); + assertThat(scoreAttribute.name(), equalTo("rerank_score")); + assertThat(scoreAttribute.dataType(), equalTo(DOUBLE)); + assertThat(rerank.output(), hasItem(scoreAttribute)); + assertThat(rerank.child().output().stream().anyMatch(scoreAttribute::equals), is(true)); + } } public void testResolveCompletionInferenceId() { diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java index e432aabc2bac..c334ab122cd0 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java @@ -100,9 +100,9 @@ import org.elasticsearch.xpack.esql.optimizer.rules.logical.LiteralsOnTheRight; import org.elasticsearch.xpack.esql.optimizer.rules.logical.OptimizerRules; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PruneRedundantOrderBy; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownAndCombineLimits; -import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownCompletion; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEnrich; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEval; +import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownInferencePlan; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownRegexExtract; import org.elasticsearch.xpack.esql.optimizer.rules.logical.SplitInWithFoldableValue; import org.elasticsearch.xpack.esql.parser.EsqlParser; @@ -127,6 +127,7 @@ import org.elasticsearch.xpack.esql.plan.logical.TimeSeriesAggregate; import org.elasticsearch.xpack.esql.plan.logical.TopN; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.InlineJoin; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinConfig; @@ -5655,8 +5656,20 @@ public class LogicalPlanOptimizerTests extends ESTestCase { new Concat(EMPTY, randomLiteral(TEXT), List.of(attr)), new ReferenceAttribute(EMPTY, "y", KEYWORD) ), - new PushDownCompletion() - ) }; + new PushDownInferencePlan() + ), + // | RERANK "some text" ON x WITH inferenceID=inferenceID, scoreColumn=y + new PushdownShadowingGeneratingPlanTestCase( + (plan, attr) -> new Rerank( + EMPTY, + plan, + randomLiteral(TEXT), + randomLiteral(TEXT), + List.of(new Alias(EMPTY, attr.name(), attr)), + new ReferenceAttribute(EMPTY, "y", KEYWORD) + ), + new PushDownInferencePlan() + ), }; /** * Consider diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java index 7bf8256ccd9f..ca975e1e0995 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java @@ -14,6 +14,7 @@ import org.elasticsearch.xpack.esql.core.expression.Alias; import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; +import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; import org.elasticsearch.xpack.esql.core.type.DataType; import org.elasticsearch.xpack.esql.expression.function.aggregate.Count; import org.elasticsearch.xpack.esql.expression.function.fulltext.Match; @@ -32,6 +33,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Filter; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; import java.util.ArrayList; @@ -245,8 +247,8 @@ public class PushDownAndCombineFiltersTests extends ESTestCase { assertEquals(expected, new PushDownAndCombineFilters().apply(fb)); } - // from ... | where a > 1 | COMPLETION completion="some prompt" WITH reranker | where b < 2 and match(completion, some text) - // => ... | where a > 1 AND b < 2| COMPLETION completion="some prompt" WITH reranker | match(completion, some text) + // from ... | where a > 1 | COMPLETION completion="some prompt" WITH inferenceId | where b < 2 and match(completion, some text) + // => ... | where a > 1 AND b < 2| COMPLETION completion="some prompt" WITH inferenceId | where match(completion, some text) public void testPushDownFilterPastCompletion() { FieldAttribute a = getFieldAttribute("a"); FieldAttribute b = getFieldAttribute("b"); @@ -282,13 +284,57 @@ public class PushDownAndCombineFiltersTests extends ESTestCase { assertEquals(expectedOptimizedPlan, new PushDownAndCombineFilters().apply(filterB)); } + // from ... | where a > 1 | RERANK "query" ON title WITH inferenceId | where b < 2 and _score > 1 + // => ... | where a > 1 AND b < 2| RERANK "query" ON title WITH inferenceId | where _score > 1 + public void testPushDownFilterPastRerank() { + FieldAttribute a = getFieldAttribute("a"); + FieldAttribute b = getFieldAttribute("b"); + EsRelation relation = relation(List.of(a, b)); + + GreaterThan conditionA = greaterThanOf(getFieldAttribute("a"), ONE); + Filter filterA = new Filter(EMPTY, relation, conditionA); + + Rerank rerank = rerank(filterA); + + LessThan conditionB = lessThanOf(getFieldAttribute("b"), TWO); + GreaterThan scoreCondition = greaterThanOf(rerank.scoreAttribute(), ONE); + + Filter filterB = new Filter(EMPTY, rerank, new And(EMPTY, conditionB, scoreCondition)); + + LogicalPlan expectedOptimizedPlan = new Filter( + EMPTY, + new Rerank( + EMPTY, + new Filter(EMPTY, relation, new And(EMPTY, conditionA, conditionB)), + rerank.inferenceId(), + rerank.queryText(), + rerank.rerankFields(), + rerank.scoreAttribute() + ), + scoreCondition + ); + + assertEquals(expectedOptimizedPlan, new PushDownAndCombineFilters().apply(filterB)); + } + private static Completion completion(LogicalPlan child) { return new Completion( EMPTY, child, - randomLiteral(DataType.TEXT), - randomLiteral(DataType.TEXT), - referenceAttribute(randomIdentifier(), DataType.TEXT) + randomLiteral(DataType.KEYWORD), + randomLiteral(randomBoolean() ? DataType.TEXT : DataType.KEYWORD), + referenceAttribute(randomIdentifier(), DataType.KEYWORD) + ); + } + + private static Rerank rerank(LogicalPlan child) { + return new Rerank( + EMPTY, + child, + randomLiteral(DataType.KEYWORD), + randomLiteral(randomBoolean() ? DataType.TEXT : DataType.KEYWORD), + randomList(1, 10, () -> new Alias(EMPTY, randomIdentifier(), randomLiteral(DataType.KEYWORD))), + referenceAttribute(randomBoolean() ? MetadataAttribute.SCORE : randomIdentifier(), DataType.DOUBLE) ); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimitsTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimitsTests.java index 6e6ac5e0fa0a..b1626e4b77ce 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimitsTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimitsTests.java @@ -24,6 +24,7 @@ import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.OrderBy; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import java.util.List; import java.util.function.BiConsumer; @@ -35,6 +36,7 @@ import static org.elasticsearch.xpack.esql.EsqlTestUtils.randomLiteral; import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext; import static org.elasticsearch.xpack.esql.core.tree.Source.EMPTY; import static org.elasticsearch.xpack.esql.core.type.DataType.INTEGER; +import static org.elasticsearch.xpack.esql.core.type.DataType.KEYWORD; import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT; import static org.elasticsearch.xpack.esql.optimizer.LocalLogicalPlanOptimizerTests.relation; @@ -75,13 +77,31 @@ public class PushDownAndCombineLimitsTests extends ESTestCase { ), new PushDownLimitTestCase<>( Completion.class, - (plan, attr) -> new Completion(EMPTY, plan, randomLiteral(TEXT), randomLiteral(TEXT), attr), + (plan, attr) -> new Completion(EMPTY, plan, randomLiteral(KEYWORD), randomLiteral(KEYWORD), attr), (basePlan, optimizedPlan) -> { assertEquals(basePlan.source(), optimizedPlan.source()); assertEquals(basePlan.inferenceId(), optimizedPlan.inferenceId()); assertEquals(basePlan.prompt(), optimizedPlan.prompt()); assertEquals(basePlan.targetField(), optimizedPlan.targetField()); } + ), + new PushDownLimitTestCase<>( + Rerank.class, + (plan, attr) -> new Rerank( + EMPTY, + plan, + randomLiteral(KEYWORD), + randomLiteral(KEYWORD), + randomList(1, 10, () -> new Alias(EMPTY, randomIdentifier(), randomLiteral(KEYWORD))), + attr + ), + (basePlan, optimizedPlan) -> { + assertEquals(basePlan.source(), optimizedPlan.source()); + assertEquals(basePlan.inferenceId(), optimizedPlan.inferenceId()); + assertEquals(basePlan.queryText(), optimizedPlan.queryText()); + assertEquals(basePlan.rerankFields(), optimizedPlan.rerankFields()); + assertEquals(basePlan.scoreAttribute(), optimizedPlan.scoreAttribute()); + } ) ); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java index 5096f206f04c..0acd969dcc05 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java @@ -3481,13 +3481,74 @@ public class StatementParserTests extends AbstractStatementParserTests { expectError("explain [row x = 1", "line 1:19: missing ']' at ''"); } - public void testRerankDefaultInferenceId() { + public void testRerankDefaultInferenceIdAndScoreAttribute() { assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); var plan = processingCommand("RERANK \"query text\" ON title"); var rerank = as(plan, Rerank.class); assertThat(rerank.inferenceId(), equalTo(literalString(".rerank-v1-elasticsearch"))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("_score"))); + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + } + + public void testRerankInferenceId() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title WITH inferenceId=inferenceId"); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.inferenceId(), equalTo(literalString("inferenceId"))); + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("_score"))); + } + + public void testRerankQuotedInferenceId() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title WITH inferenceId=\"inferenceId\""); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.inferenceId(), equalTo(literalString("inferenceId"))); + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("_score"))); + } + + public void testRerankScoreAttribute() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title WITH scoreColumn=rerank_score"); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.inferenceId(), equalTo(literalString(".rerank-v1-elasticsearch"))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("rerank_score"))); + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + } + + public void testRerankQuotedScoreAttribute() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title WITH scoreColumn=\"rerank_score\""); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.inferenceId(), equalTo(literalString(".rerank-v1-elasticsearch"))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("rerank_score"))); + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + } + + public void testRerankInferenceIdAnddScoreAttribute() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title WITH inferenceId=inferenceId, scoreColumn=rerank_score"); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.inferenceId(), equalTo(literalString("inferenceId"))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("rerank_score"))); assertThat(rerank.queryText(), equalTo(literalString("query text"))); assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); } @@ -3495,18 +3556,19 @@ public class StatementParserTests extends AbstractStatementParserTests { public void testRerankSingleField() { assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); - var plan = processingCommand("RERANK \"query text\" ON title WITH inferenceID"); + var plan = processingCommand("RERANK \"query text\" ON title WITH inferenceId=inferenceID"); var rerank = as(plan, Rerank.class); assertThat(rerank.queryText(), equalTo(literalString("query text"))); assertThat(rerank.inferenceId(), equalTo(literalString("inferenceID"))); assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("_score"))); } public void testRerankMultipleFields() { assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); - var plan = processingCommand("RERANK \"query text\" ON title, description, authors_renamed=authors WITH inferenceID"); + var plan = processingCommand("RERANK \"query text\" ON title, description, authors_renamed=authors WITH inferenceId=inferenceID"); var rerank = as(plan, Rerank.class); assertThat(rerank.queryText(), equalTo(literalString("query text"))); @@ -3521,12 +3583,15 @@ public class StatementParserTests extends AbstractStatementParserTests { ) ) ); + assertThat(rerank.scoreAttribute(), equalTo(attribute("_score"))); } public void testRerankComputedFields() { assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); - var plan = processingCommand("RERANK \"query text\" ON title, short_description = SUBSTRING(description, 0, 100) WITH inferenceID"); + var plan = processingCommand( + "RERANK \"query text\" ON title, short_description = SUBSTRING(description, 0, 100) WITH inferenceId=inferenceID" + ); var rerank = as(plan, Rerank.class); assertThat(rerank.queryText(), equalTo(literalString("query text"))); @@ -3540,24 +3605,43 @@ public class StatementParserTests extends AbstractStatementParserTests { ) ) ); + assertThat(rerank.scoreAttribute(), equalTo(attribute("_score"))); } public void testRerankWithPositionalParameters() { assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); - var queryParams = new QueryParams(List.of(paramAsConstant(null, "query text"), paramAsConstant(null, "reranker"))); - var rerank = as(parser.createStatement("row a = 1 | RERANK ? ON title WITH ?", queryParams), Rerank.class); + var queryParams = new QueryParams( + List.of(paramAsConstant(null, "query text"), paramAsConstant(null, "reranker"), paramAsConstant(null, "rerank_score")) + ); + var rerank = as( + parser.createStatement("row a = 1 | RERANK ? ON title WITH inferenceId=?, scoreColumn=? ", queryParams), + Rerank.class + ); assertThat(rerank.queryText(), equalTo(literalString("query text"))); assertThat(rerank.inferenceId(), equalTo(literalString("reranker"))); assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + assertThat(rerank.scoreAttribute(), equalTo(attribute("rerank_score"))); } public void testRerankWithNamedParameters() { assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); - var queryParams = new QueryParams(List.of(paramAsConstant("queryText", "query text"), paramAsConstant("inferenceId", "reranker"))); - var rerank = as(parser.createStatement("row a = 1 | RERANK ?queryText ON title WITH ?inferenceId", queryParams), Rerank.class); + var queryParams = new QueryParams( + List.of( + paramAsConstant("queryText", "query text"), + paramAsConstant("inferenceId", "reranker"), + paramAsConstant("scoreColumnName", "rerank_score") + ) + ); + var rerank = as( + parser.createStatement( + "row a = 1 | RERANK ?queryText ON title WITH inferenceId=?inferenceId, scoreColumn=?scoreColumnName", + queryParams + ), + Rerank.class + ); assertThat(rerank.queryText(), equalTo(literalString("query text"))); assertThat(rerank.inferenceId(), equalTo(literalString("reranker"))); @@ -3571,7 +3655,7 @@ public class StatementParserTests extends AbstractStatementParserTests { var fromPatterns = randomIndexPatterns(CROSS_CLUSTER); expectError( - "FROM " + fromPatterns + " | RERANK \"query text\" ON title WITH inferenceId", + "FROM " + fromPatterns + " | RERANK \"query text\" ON title WITH inferenceId=inferenceId", "invalid index pattern [" + unquoteIndexPattern(fromPatterns) + "], remote clusters are not supported with RERANK" ); }