diff --git a/docs/changelog/129929.yaml b/docs/changelog/129929.yaml new file mode 100644 index 0000000000000..c2296a64ab434 --- /dev/null +++ b/docs/changelog/129929.yaml @@ -0,0 +1,5 @@ +pr: 129929 +summary: Add support for RLIKE (LIST) with pushdown +area: ES|QL +type: enhancement +issues: [] diff --git a/docs/reference/query-languages/esql/_snippets/operators/detailedDescription/rlike.md b/docs/reference/query-languages/esql/_snippets/operators/detailedDescription/rlike.md index 5a7cf85a0256e..4814264411496 100644 --- a/docs/reference/query-languages/esql/_snippets/operators/detailedDescription/rlike.md +++ b/docs/reference/query-languages/esql/_snippets/operators/detailedDescription/rlike.md @@ -10,6 +10,12 @@ ROW message = "foo ( bar" ``` +```esql +ROW message = "foobar" +| WHERE message RLIKE ("foo.*", "bar.") +``` + + To reduce the overhead of escaping, we suggest using triple quotes strings `"""` ```esql diff --git a/docs/reference/query-languages/esql/kibana/definition/operators/not rlike.json b/docs/reference/query-languages/esql/kibana/definition/operators/not rlike.json index 2b914e576cb41..b3987d8f5def2 100644 --- a/docs/reference/query-languages/esql/kibana/definition/operators/not rlike.json +++ b/docs/reference/query-languages/esql/kibana/definition/operators/not rlike.json @@ -3,7 +3,7 @@ "type" : "operator", "operator" : "not rlike", "name" : "not_rlike", - "description" : "Use `RLIKE` to filter data based on string patterns using using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern.", + "description" : "Use `RLIKE` to filter data based on string patterns using using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern or a list of patterns.", "signatures" : [ { "params" : [ diff --git a/docs/reference/query-languages/esql/kibana/definition/operators/rlike.json b/docs/reference/query-languages/esql/kibana/definition/operators/rlike.json index 3c962e8381bcb..e65d687e0bcea 100644 --- a/docs/reference/query-languages/esql/kibana/definition/operators/rlike.json +++ b/docs/reference/query-languages/esql/kibana/definition/operators/rlike.json @@ -3,7 +3,7 @@ "type" : "operator", "operator" : "RLIKE", "name" : "rlike", - "description" : "Use `RLIKE` to filter data based on string patterns using using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern.", + "description" : "Use `RLIKE` to filter data based on string patterns using using\nregular expressions. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern or a list of patterns.", "signatures" : [ { "params" : [ diff --git a/docs/reference/query-languages/esql/kibana/docs/operators/not rlike.md b/docs/reference/query-languages/esql/kibana/docs/operators/not rlike.md index c2b04b4a9de7a..0aac43c951c47 100644 --- a/docs/reference/query-languages/esql/kibana/docs/operators/not rlike.md +++ b/docs/reference/query-languages/esql/kibana/docs/operators/not rlike.md @@ -4,5 +4,5 @@ Use `RLIKE` to filter data based on string patterns using using [regular expressions](https://www.elastic.co/docs/reference/query-languages/query-dsl/regexp-syntax). `RLIKE` usually acts on a field placed on the left-hand side of the operator, but it can also act on a constant (literal) -expression. The right-hand side of the operator represents the pattern. +expression. The right-hand side of the operator represents the pattern or a list of patterns. diff --git a/docs/reference/query-languages/esql/kibana/docs/operators/rlike.md b/docs/reference/query-languages/esql/kibana/docs/operators/rlike.md index 7b4ae989c193b..6ebf43069e97b 100644 --- a/docs/reference/query-languages/esql/kibana/docs/operators/rlike.md +++ b/docs/reference/query-languages/esql/kibana/docs/operators/rlike.md @@ -4,7 +4,7 @@ Use `RLIKE` to filter data based on string patterns using using [regular expressions](https://www.elastic.co/docs/reference/query-languages/query-dsl/regexp-syntax). `RLIKE` usually acts on a field placed on the left-hand side of the operator, but it can also act on a constant (literal) -expression. The right-hand side of the operator represents the pattern. +expression. The right-hand side of the operator represents the pattern or a list of patterns. ```esql FROM employees diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex/RLikePattern.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex/RLikePattern.java index 0744977170911..72b8c2efb2eba 100644 --- a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex/RLikePattern.java +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex/RLikePattern.java @@ -9,10 +9,14 @@ import org.apache.lucene.util.automaton.Automaton; import org.apache.lucene.util.automaton.Operations; import org.apache.lucene.util.automaton.RegExp; +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.common.io.stream.Writeable; +import java.io.IOException; import java.util.Objects; -public class RLikePattern extends AbstractStringPattern { +public class RLikePattern extends AbstractStringPattern implements Writeable { private final String regexpPattern; @@ -20,6 +24,15 @@ public RLikePattern(String regexpPattern) { this.regexpPattern = regexpPattern; } + public RLikePattern(StreamInput in) throws IOException { + this(in.readString()); + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + out.writeString(regexpPattern); + } + @Override public Automaton createAutomaton(boolean ignoreCase) { int matchFlags = ignoreCase ? RegExp.CASE_INSENSITIVE : 0; diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex/RLikePatternList.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex/RLikePatternList.java new file mode 100644 index 0000000000000..be62d189bafa4 --- /dev/null +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex/RLikePatternList.java @@ -0,0 +1,92 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +package org.elasticsearch.xpack.esql.core.expression.predicate.regex; + +import org.apache.lucene.util.automaton.Automaton; +import org.apache.lucene.util.automaton.Operations; +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.common.io.stream.Writeable; + +import java.io.IOException; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + +public class RLikePatternList extends AbstractStringPattern implements Writeable { + + private final List patternList; + + public RLikePatternList(List patternList) { + this.patternList = patternList; + } + + public RLikePatternList(StreamInput in) throws IOException { + this(in.readCollectionAsList(RLikePattern::new)); + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + out.writeCollection(patternList, (o, pattern) -> pattern.writeTo(o)); + } + + public List patternList() { + return patternList; + } + + /** + * Creates an automaton that matches any of the patterns in the list. + * We create a single automaton that is the union of all individual automatons to improve performance + */ + @Override + public Automaton createAutomaton(boolean ignoreCase) { + List automatonList = patternList.stream().map(x -> x.createAutomaton(ignoreCase)).toList(); + Automaton result = Operations.union(automatonList); + return Operations.determinize(result, Operations.DEFAULT_DETERMINIZE_WORK_LIMIT); + } + + /** + * Returns a Java regex that matches any of the patterns in the list. + * The patterns are joined with the '|' operator to create a single regex. + */ + @Override + public String asJavaRegex() { + return patternList.stream().map(RLikePattern::asJavaRegex).collect(Collectors.joining("|")); + } + + @Override + public int hashCode() { + return Objects.hash(patternList); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + if (obj == null || getClass() != obj.getClass()) { + return false; + } + RLikePatternList other = (RLikePatternList) obj; + return patternList.equals(other.patternList); + } + + /** + * Returns a string that matches any of the patterns in the list. + * The patterns are joined with the '|' operator to create a single regex string. + */ + @Override + public String pattern() { + if (patternList.isEmpty()) { + return ""; + } + if (patternList.size() == 1) { + return patternList.get(0).pattern(); + } + return "(\"" + patternList.stream().map(RLikePattern::pattern).collect(Collectors.joining("\", \"")) + "\")"; + } +} diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/querydsl/query/AutomatonQuery.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/querydsl/query/EsqlAutomatonQuery.java similarity index 88% rename from x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/querydsl/query/AutomatonQuery.java rename to x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/querydsl/query/EsqlAutomatonQuery.java index 343cabc6feea9..21375baeb362e 100644 --- a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/querydsl/query/AutomatonQuery.java +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/querydsl/query/EsqlAutomatonQuery.java @@ -16,13 +16,13 @@ /** * Query that matches documents based on a Lucene Automaton. */ -public class AutomatonQuery extends Query { +public class EsqlAutomatonQuery extends Query { private final String field; private final Automaton automaton; private final String automatonDescription; - public AutomatonQuery(Source source, String field, Automaton automaton, String automatonDescription) { + public EsqlAutomatonQuery(Source source, String field, Automaton automaton, String automatonDescription) { super(source); this.field = field; this.automaton = automaton; @@ -53,7 +53,7 @@ public boolean equals(Object obj) { return false; } - AutomatonQuery other = (AutomatonQuery) obj; + EsqlAutomatonQuery other = (EsqlAutomatonQuery) obj; return Objects.equals(field, other.field) && Objects.equals(automaton, other.automaton) && Objects.equals(automatonDescription, other.automatonDescription); diff --git a/x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/PushQueriesIT.java b/x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/PushQueriesIT.java index e14398d9c686a..5dab45ee7590b 100644 --- a/x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/PushQueriesIT.java +++ b/x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/PushQueriesIT.java @@ -275,6 +275,42 @@ public void testLikeList() throws IOException { testPushQuery(value, esqlQuery, List.of(luceneQuery), dataNodeSignature, true); } + public void testRLike() throws IOException { + String value = "v".repeat(between(1, 256)); + String esqlQuery = """ + FROM test + | WHERE test rlike "%value.*" + """; + String luceneQuery = switch (type) { + case KEYWORD -> "test:/%value.*/"; + case CONSTANT_KEYWORD, MATCH_ONLY_TEXT_WITH_KEYWORD, AUTO, TEXT_WITH_KEYWORD -> "*:*"; + case SEMANTIC_TEXT_WITH_KEYWORD -> "FieldExistsQuery [field=_primary_term]"; + }; + ComputeSignature dataNodeSignature = switch (type) { + case CONSTANT_KEYWORD, KEYWORD -> ComputeSignature.FILTER_IN_QUERY; + case AUTO, TEXT_WITH_KEYWORD, MATCH_ONLY_TEXT_WITH_KEYWORD, SEMANTIC_TEXT_WITH_KEYWORD -> ComputeSignature.FILTER_IN_COMPUTE; + }; + testPushQuery(value, esqlQuery, List.of(luceneQuery), dataNodeSignature, true); + } + + public void testRLikeList() throws IOException { + String value = "v".repeat(between(1, 256)); + String esqlQuery = """ + FROM test + | WHERE test rlike ("%value.*", "abc.*") + """; + String luceneQuery = switch (type) { + case CONSTANT_KEYWORD, MATCH_ONLY_TEXT_WITH_KEYWORD, AUTO, TEXT_WITH_KEYWORD -> "*:*"; + case SEMANTIC_TEXT_WITH_KEYWORD -> "FieldExistsQuery [field=_primary_term]"; + case KEYWORD -> "test:RLIKE(\"%value.*\", \"abc.*\"), caseInsensitive=false"; + }; + ComputeSignature dataNodeSignature = switch (type) { + case CONSTANT_KEYWORD, KEYWORD -> ComputeSignature.FILTER_IN_QUERY; + case AUTO, TEXT_WITH_KEYWORD, MATCH_ONLY_TEXT_WITH_KEYWORD, SEMANTIC_TEXT_WITH_KEYWORD -> ComputeSignature.FILTER_IN_COMPUTE; + }; + testPushQuery(value, esqlQuery, List.of(luceneQuery), dataNodeSignature, true); + } + enum ComputeSignature { FILTER_IN_COMPUTE( matchesList().item("LuceneSourceOperator") diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/where-like.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/where-like.csv-spec index 6c5f13603e72b..85d69ff60d3d6 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/where-like.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/where-like.csv-spec @@ -534,6 +534,458 @@ emp_no:integer | first_name:keyword 10055 | Georgy ; +rlikeListEmptyArgWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike ("") +| KEEP emp_no, first_name; + +emp_no:integer | first_name:keyword +; + +rlikeListSingleArgWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name RLIKE ("Eberhardt.*") +| KEEP emp_no, first_name; + +emp_no:integer | first_name:keyword +10013 | Eberhardt +; + +rlikeListTwoArgWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike ("Eberhardt.*", "testString.*") +| KEEP emp_no, first_name; + +emp_no:integer | first_name:keyword +10013 | Eberhardt +; + +rlikeListDocExample +required_capability: rlike_with_list_of_patterns +// tag::rlikeListDocExample[] +ROW message = "foobar" +| WHERE message RLIKE ("foo.*", "bar.") +// end::rlikeListDocExample[] +; + +message:string +foobar +; + +rlikeListThreeArgWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike ("Eberhardt.*", "Ot.*", "Part.") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10003 | Parto +10013 | Eberhardt +10029 | Otmar +; + +rlikeListMultipleWhere +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name RLIKE ("Eberhardt.*", "Ot.*", "Part.") +| WHERE first_name RLIKE ("Eberhard.", "Otm.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10013 | Eberhardt +10029 | Otmar +; + +rlikeListAllWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike (".*") +| KEEP emp_no, first_name +| SORT emp_no +| LIMIT 2; + +emp_no:integer | first_name:keyword +10001 | Georgi +10002 | Bezalel +; + +rlikeListOverlappingPatterns +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike ("Eber.*", "Eberhardt") +| KEEP emp_no, first_name; + +emp_no:integer | first_name:keyword +10013 | Eberhardt +; + +rlikeListCaseSensitive +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name RLIKE ("eberhardt", "EBERHARDT") +| KEEP emp_no, first_name; + +emp_no:integer | first_name:keyword +; + +rlikeListSpecialCharacters +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike (".*ar.*", ".*eor.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10001 | Georgi +10003 | Parto +10011 | Mary +10013 | Eberhardt +10029 | Otmar +10055 | Georgy +10058 | Berhard +10068 | Charlene +10069 | Margareta +10074 | Mokhtar +10082 | Parviz +10089 | Sudharsan +10095 | Hilari +; + +rlikeListEscapedWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike ("Eberhar\\*") +| KEEP emp_no, first_name; + +emp_no:integer | first_name:keyword +; + +rlikeListNineOrMoreLetters +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike (".{9,}.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10004 | Chirstian +10010 | Duangkaew +10013 | Eberhardt +10017 | Cristinel +10025 | Prasadram +10059 | Alejandro +10069 | Margareta +10089 | Sudharsan +10092 | Valdiodio +10098 | Sreekrishna +; + +notRlikeListThreeArgWildcardNotOtherFilter +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name not rlike ("Eberhardt.*", "Ot.*", "Part.") and emp_no < 10010 +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10001 | Georgi +10002 | Bezalel +10004 | Chirstian +10005 | Kyoichi +10006 | Anneke +10007 | Tzvetan +10008 | Saniya +10009 | Sumant +; + +rlikeListBeginningWithWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name rlike ("A.*", "B.*", "C.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10002 | Bezalel +10004 | Chirstian +10006 | Anneke +10014 | Berni +10017 | Cristinel +10023 | Bojan +10049 | Basil +10056 | Brendon +10058 | Berhard +10059 | Alejandro +10060 | Breannda +10062 | Anoosh +10067 | Claudi +10068 | Charlene +10091 | Amabile +10094 | Arumugam +; + +notRlikeListThreeArgWildcardOtherFirst +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE emp_no < 10010 and first_name not rlike ("Eberhardt.*", "Ot.*", "Part.") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10001 | Georgi +10002 | Bezalel +10004 | Chirstian +10005 | Kyoichi +10006 | Anneke +10007 | Tzvetan +10008 | Saniya +10009 | Sumant +; + +notRlikeFiveOrLessLetters +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name not rlike (".{6,}.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10003 | Parto +10011 | Mary +10014 | Berni +10021 | Ramzi +10023 | Bojan +10029 | Otmar +10040 | Weiyi +10041 | Uri +10042 | Magy +10045 | Moss +10049 | Basil +10057 | Ebbe +10061 | Tse +10063 | Gino +10064 | Udi +10066 | Kwee +10071 | Hisao +10073 | Shir +10075 | Gao +10076 | Erez +10077 | Mona +10078 | Danel +10083 | Vishv +10084 | Tuval +10097 | Remzi +; + +notRlikeListMultipleWhere +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name NOT RLIKE ("Eberhardt.*", "Ot.*", "Part.", "A.*", "B.*", "C.*", "D.*") +| WHERE first_name NOT RLIKE ("Eberhard.", "Otm.*", "F.*", "G.*", "H.*", "I.*", "J.*", "K.*", "L.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10007 | Tzvetan +10008 | Saniya +10009 | Sumant +10011 | Mary +10012 | Patricio +10020 | Mayuko +10021 | Ramzi +10022 | Shahaf +10024 | Suzette +10025 | Prasadram +10026 | Yongqiao +10040 | Weiyi +10041 | Uri +10042 | Magy +10043 | Yishay +10044 | Mingsen +10045 | Moss +10047 | Zvonko +10050 | Yinghua +10053 | Sanjiv +10054 | Mayumi +10057 | Ebbe +10061 | Tse +10064 | Udi +10065 | Satosi +10069 | Margareta +10070 | Reuven +10073 | Shir +10074 | Mokhtar +10076 | Erez +10077 | Mona +10080 | Premal +10081 | Zhongwei +10082 | Parviz +10083 | Vishv +10084 | Tuval +10086 | Somnath +10087 | Xinglin +10089 | Sudharsan +10092 | Valdiodio +10093 | Sailaja +10097 | Remzi +10098 | Sreekrishna +10099 | Valter +; + +notRlikeListNotField +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE NOT first_name RLIKE ("Eberhardt.*", "Ot.*", "Part.", "A.*", "B.*", "C.*", "D.*") +| WHERE first_name NOT RLIKE ("Eberhard.", "Otm.*", "F.*", "G.*", "H.*", "I.*", "J.*", "K.*", "L.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10007 | Tzvetan +10008 | Saniya +10009 | Sumant +10011 | Mary +10012 | Patricio +10020 | Mayuko +10021 | Ramzi +10022 | Shahaf +10024 | Suzette +10025 | Prasadram +10026 | Yongqiao +10040 | Weiyi +10041 | Uri +10042 | Magy +10043 | Yishay +10044 | Mingsen +10045 | Moss +10047 | Zvonko +10050 | Yinghua +10053 | Sanjiv +10054 | Mayumi +10057 | Ebbe +10061 | Tse +10064 | Udi +10065 | Satosi +10069 | Margareta +10070 | Reuven +10073 | Shir +10074 | Mokhtar +10076 | Erez +10077 | Mona +10080 | Premal +10081 | Zhongwei +10082 | Parviz +10083 | Vishv +10084 | Tuval +10086 | Somnath +10087 | Xinglin +10089 | Sudharsan +10092 | Valdiodio +10093 | Sailaja +10097 | Remzi +10098 | Sreekrishna +10099 | Valter +; + +notRlikeListAllWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name NOT RLIKE (".*") +| KEEP emp_no, first_name +| SORT emp_no +| LIMIT 2; + +emp_no:integer | first_name:keyword +10030 | null +10031 | null +; + +notRlikeListWildcard +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE first_name NOT RLIKE ("A.*","B.*", "C.*", "D.*","E.*", "F.*", "G.*", "H.*", "I.*", "J.*", "K.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10003 | Parto +10007 | Tzvetan +10008 | Saniya +10009 | Sumant +10011 | Mary +10012 | Patricio +10019 | Lillian +10020 | Mayuko +10021 | Ramzi +10022 | Shahaf +10024 | Suzette +10025 | Prasadram +10026 | Yongqiao +10029 | Otmar +10040 | Weiyi +10041 | Uri +10042 | Magy +10043 | Yishay +10044 | Mingsen +10045 | Moss +10046 | Lucien +10047 | Zvonko +10050 | Yinghua +10053 | Sanjiv +10054 | Mayumi +10061 | Tse +10064 | Udi +10065 | Satosi +10069 | Margareta +10070 | Reuven +10073 | Shir +10074 | Mokhtar +10077 | Mona +10080 | Premal +10081 | Zhongwei +10082 | Parviz +10083 | Vishv +10084 | Tuval +10086 | Somnath +10087 | Xinglin +10089 | Sudharsan +10092 | Valdiodio +10093 | Sailaja +10097 | Remzi +10098 | Sreekrishna +10099 | Valter +; + +rlikeListWithUpperTurnedInsensitive +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE TO_UPPER(first_name) RLIKE ("GEOR.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10001 | Georgi +10055 | Georgy +; + +rlikeListWithUpperTurnedInsensitiveMult +required_capability: rlike_with_list_of_patterns +FROM employees +| WHERE TO_UPPER(first_name) RLIKE ("GEOR.*", "WE.*") +| KEEP emp_no, first_name +| SORT emp_no; + +emp_no:integer | first_name:keyword +10001 | Georgi +10040 | Weiyi +10055 | Georgy +; + likeAll from employees | where first_name like "*" and emp_no > 10028 | sort emp_no | keep emp_no, first_name | limit 2; diff --git a/x-pack/plugin/esql/src/main/antlr/parser/Expression.g4 b/x-pack/plugin/esql/src/main/antlr/parser/Expression.g4 index abb8fe09164f5..0462b2d6a67ee 100644 --- a/x-pack/plugin/esql/src/main/antlr/parser/Expression.g4 +++ b/x-pack/plugin/esql/src/main/antlr/parser/Expression.g4 @@ -21,6 +21,7 @@ regexBooleanExpression : valueExpression (NOT)? LIKE string #likeExpression | valueExpression (NOT)? RLIKE string #rlikeExpression | valueExpression (NOT)? LIKE LP string (COMMA string )* RP #likeListExpression + | valueExpression (NOT)? RLIKE LP string (COMMA string )* RP #rlikeListExpression ; matchBooleanExpression diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java index 9a8b71e8e5eea..7d52468b3207e 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java @@ -1197,6 +1197,9 @@ public enum Cap { */ KNN_FUNCTION(Build.current().isSnapshot()), + /** + * Support for the LIKE operator with a list of wildcards. + */ LIKE_WITH_LIST_OF_PATTERNS, /** @@ -1215,7 +1218,11 @@ public enum Cap { /** * (Re)Added EXPLAIN command */ - EXPLAIN(Build.current().isSnapshot()); + EXPLAIN(Build.current().isSnapshot()), + /** + * Support for the RLIKE operator with a list of regexes. + */ + RLIKE_WITH_LIST_OF_PATTERNS; private final boolean enabled; diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/ExpressionWritables.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/ExpressionWritables.java index 901f364a60041..53787508779a2 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/ExpressionWritables.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/ExpressionWritables.java @@ -82,6 +82,7 @@ import org.elasticsearch.xpack.esql.expression.function.scalar.string.Space; import org.elasticsearch.xpack.esql.expression.function.scalar.string.Trim; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike; +import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLikeList; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.WildcardLike; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.WildcardLikeList; import org.elasticsearch.xpack.esql.expression.function.scalar.util.Delay; @@ -182,6 +183,7 @@ public static List unaryScalars() { entries.add(Neg.ENTRY); entries.add(Not.ENTRY); entries.add(RLike.ENTRY); + entries.add(RLikeList.ENTRY); entries.add(RTrim.ENTRY); entries.add(Scalb.ENTRY); entries.add(Signum.ENTRY); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLike.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLike.java index dea36bba2c4fb..d1dcc29fc2d0f 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLike.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLike.java @@ -33,13 +33,15 @@ public class RLike extends RegexMatch { Use `RLIKE` to filter data based on string patterns using using <>. `RLIKE` usually acts on a field placed on the left-hand side of the operator, but it can also act on a constant (literal) - expression. The right-hand side of the operator represents the pattern.""", detailedDescription = """ + expression. The right-hand side of the operator represents the pattern or a list of patterns.""", detailedDescription = """ Matching special characters (eg. `.`, `*`, `(`...) will require escaping. The escape character is backslash `\\`. Since also backslash is a special character in string literals, it will require further escaping. <> + <> + To reduce the overhead of escaping, we suggest using triple quotes strings `\"\"\"` <> diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLikeList.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLikeList.java new file mode 100644 index 0000000000000..0b27ee31c3b65 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/RLikeList.java @@ -0,0 +1,113 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.expression.function.scalar.string.regex; + +import org.elasticsearch.common.io.stream.NamedWriteableRegistry; +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePattern; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePatternList; +import org.elasticsearch.xpack.esql.core.querydsl.query.EsqlAutomatonQuery; +import org.elasticsearch.xpack.esql.core.querydsl.query.Query; +import org.elasticsearch.xpack.esql.core.tree.NodeInfo; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.expression.function.Param; +import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; +import org.elasticsearch.xpack.esql.optimizer.rules.physical.local.LucenePushdownPredicates; +import org.elasticsearch.xpack.esql.planner.TranslatorHandler; + +import java.io.IOException; +import java.util.stream.Collectors; + +public class RLikeList extends RegexMatch { + public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry( + Expression.class, + "RLikeList", + RLikeList::new + ); + + /** + * The documentation for this function is in RLike, and shown to the users as `RLIKE` in the docs. + */ + public RLikeList( + Source source, + @Param(name = "str", type = { "keyword", "text" }, description = "A literal value.") Expression value, + @Param(name = "patterns", type = { "keyword", "text" }, description = "A list of regular expressions.") RLikePatternList patterns + ) { + this(source, value, patterns, false); + } + + public RLikeList(Source source, Expression field, RLikePatternList rLikePattern, boolean caseInsensitive) { + super(source, field, rLikePattern, caseInsensitive); + } + + private RLikeList(StreamInput in) throws IOException { + this( + Source.readFrom((PlanStreamInput) in), + in.readNamedWriteable(Expression.class), + new RLikePatternList(in), + deserializeCaseInsensitivity(in) + ); + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + source().writeTo(out); + out.writeNamedWriteable(field()); + pattern().writeTo(out); + serializeCaseInsensitivity(out); + } + + @Override + public String name() { + return ENTRY.name; + } + + @Override + public String getWriteableName() { + return ENTRY.name; + } + + @Override + protected RLikeList replaceChild(Expression newChild) { + return new RLikeList(source(), newChild, pattern(), caseInsensitive()); + } + + @Override + public Translatable translatable(LucenePushdownPredicates pushdownPredicates) { + return pushdownPredicates.isPushableAttribute(field()) ? Translatable.YES : Translatable.NO; + } + + /** + * Returns a {@link Query} that matches the field against the provided patterns. + * For now, we only support a single pattern in the list for pushdown. + */ + @Override + public Query asQuery(LucenePushdownPredicates pushdownPredicates, TranslatorHandler handler) { + var field = field(); + LucenePushdownPredicates.checkIsPushableAttribute(field); + return translateField(handler.nameOf(field instanceof FieldAttribute fa ? fa.exactAttribute() : field)); + } + + private Query translateField(String targetFieldName) { + return new EsqlAutomatonQuery(source(), targetFieldName, pattern().createAutomaton(caseInsensitive()), getAutomatonDescription()); + } + + @Override + protected NodeInfo info() { + return NodeInfo.create(this, RLikeList::new, field(), pattern(), caseInsensitive()); + } + + private String getAutomatonDescription() { + // we use the information used to create the automaton to describe the query here + String patternDesc = pattern().patternList().stream().map(RLikePattern::pattern).collect(Collectors.joining("\", \"")); + return "RLIKE(\"" + patternDesc + "\"), caseInsensitive=" + caseInsensitive(); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/WildcardLikeList.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/WildcardLikeList.java index 0b58594779408..96709fd03fa78 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/WildcardLikeList.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/regex/WildcardLikeList.java @@ -14,7 +14,7 @@ import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.WildcardPattern; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.WildcardPatternList; -import org.elasticsearch.xpack.esql.core.querydsl.query.AutomatonQuery; +import org.elasticsearch.xpack.esql.core.querydsl.query.EsqlAutomatonQuery; import org.elasticsearch.xpack.esql.core.querydsl.query.Query; import org.elasticsearch.xpack.esql.core.querydsl.query.WildcardQuery; import org.elasticsearch.xpack.esql.core.tree.NodeInfo; @@ -112,7 +112,7 @@ public Query asQuery(LucenePushdownPredicates pushdownPredicates, TranslatorHand * Throws an {@link IllegalArgumentException} if the pattern list contains more than one pattern. */ private Query translateField(String targetFieldName) { - return new AutomatonQuery(source(), targetFieldName, pattern().createAutomaton(caseInsensitive()), getAutomatonDescription()); + return new EsqlAutomatonQuery(source(), targetFieldName, pattern().createAutomaton(caseInsensitive()), getAutomatonDescription()); } private String getAutomatonDescription() { diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/ReplaceStringCasingWithInsensitiveRegexMatch.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/ReplaceStringCasingWithInsensitiveRegexMatch.java index fa43d51634efd..33de97cc9d08e 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/ReplaceStringCasingWithInsensitiveRegexMatch.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/ReplaceStringCasingWithInsensitiveRegexMatch.java @@ -9,6 +9,7 @@ import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePatternList; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RegexMatch; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.StringPattern; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.WildcardPatternList; @@ -29,8 +30,8 @@ public ReplaceStringCasingWithInsensitiveRegexMatch() { @Override protected Expression rule(RegexMatch regexMatch, LogicalOptimizerContext unused) { Expression e = regexMatch; - if (regexMatch.pattern() instanceof WildcardPatternList) { - // This optimization is not supported for WildcardPatternList for now + if (regexMatch.pattern() instanceof WildcardPatternList || regexMatch.pattern() instanceof RLikePatternList) { + // This optimization is not supported for WildcardPatternList and RLikePatternList for now return e; } if (regexMatch.field() instanceof ChangeCase changeCase) { 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 3b180084e28ad..1d75dc64f87a3 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 @@ -372,4 +372,4 @@ joinPredicate atn: -[4, 1, 139, 811, 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, 1, 2, 3, 2, 194, 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, 223, 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, 236, 8, 7, 10, 7, 12, 7, 239, 9, 7, 1, 8, 1, 8, 1, 8, 3, 8, 244, 8, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 5, 9, 251, 8, 9, 10, 9, 12, 9, 254, 9, 9, 1, 10, 1, 10, 1, 10, 3, 10, 259, 8, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 5, 13, 270, 8, 13, 10, 13, 12, 13, 273, 9, 13, 1, 13, 3, 13, 276, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 287, 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, 301, 8, 19, 10, 19, 12, 19, 304, 9, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 311, 8, 21, 1, 21, 1, 21, 3, 21, 315, 8, 21, 1, 22, 1, 22, 1, 22, 5, 22, 320, 8, 22, 10, 22, 12, 22, 323, 9, 22, 1, 23, 1, 23, 1, 23, 3, 23, 328, 8, 23, 1, 24, 1, 24, 1, 24, 5, 24, 333, 8, 24, 10, 24, 12, 24, 336, 9, 24, 1, 25, 1, 25, 1, 25, 5, 25, 341, 8, 25, 10, 25, 12, 25, 344, 9, 25, 1, 26, 1, 26, 1, 26, 5, 26, 349, 8, 26, 10, 26, 12, 26, 352, 9, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 3, 28, 359, 8, 28, 1, 29, 1, 29, 3, 29, 363, 8, 29, 1, 30, 1, 30, 3, 30, 367, 8, 30, 1, 31, 1, 31, 1, 31, 3, 31, 372, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 5, 33, 381, 8, 33, 10, 33, 12, 33, 384, 9, 33, 1, 34, 1, 34, 3, 34, 388, 8, 34, 1, 34, 1, 34, 3, 34, 392, 8, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 404, 8, 37, 10, 37, 12, 37, 407, 9, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 417, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 423, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 5, 42, 435, 8, 42, 10, 42, 12, 42, 438, 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, 458, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 464, 8, 47, 10, 47, 12, 47, 467, 9, 47, 3, 47, 469, 8, 47, 1, 48, 1, 48, 1, 48, 3, 48, 474, 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, 490, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 496, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 503, 8, 52, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 55, 4, 55, 512, 8, 55, 11, 55, 12, 55, 513, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 526, 8, 57, 10, 57, 12, 57, 529, 9, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 5, 60, 538, 8, 60, 10, 60, 12, 60, 541, 9, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 549, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 557, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 563, 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, 576, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 583, 8, 65, 10, 65, 12, 65, 586, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 593, 8, 65, 1, 65, 1, 65, 1, 65, 3, 65, 598, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 606, 8, 65, 10, 65, 12, 65, 609, 9, 65, 1, 66, 1, 66, 3, 66, 613, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 620, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 627, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 634, 8, 66, 10, 66, 12, 66, 637, 9, 66, 1, 66, 1, 66, 3, 66, 641, 8, 66, 1, 67, 1, 67, 1, 67, 3, 67, 646, 8, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 656, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 662, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 670, 8, 69, 10, 69, 12, 69, 673, 9, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 683, 8, 70, 1, 70, 1, 70, 1, 70, 5, 70, 688, 8, 70, 10, 70, 12, 70, 691, 9, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 699, 8, 71, 10, 71, 12, 71, 702, 9, 71, 1, 71, 1, 71, 3, 71, 706, 8, 71, 3, 71, 708, 8, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 718, 8, 73, 10, 73, 12, 73, 721, 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, 742, 8, 75, 10, 75, 12, 75, 745, 9, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 753, 8, 75, 10, 75, 12, 75, 756, 9, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 764, 8, 75, 10, 75, 12, 75, 767, 9, 75, 1, 75, 1, 75, 3, 75, 771, 8, 75, 1, 76, 1, 76, 1, 77, 1, 77, 3, 77, 777, 8, 77, 1, 78, 3, 78, 780, 8, 78, 1, 78, 1, 78, 1, 79, 3, 79, 785, 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, 804, 8, 84, 10, 84, 12, 84, 807, 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, 838, 0, 172, 1, 0, 0, 0, 2, 175, 1, 0, 0, 0, 4, 193, 1, 0, 0, 0, 6, 222, 1, 0, 0, 0, 8, 224, 1, 0, 0, 0, 10, 227, 1, 0, 0, 0, 12, 229, 1, 0, 0, 0, 14, 232, 1, 0, 0, 0, 16, 243, 1, 0, 0, 0, 18, 247, 1, 0, 0, 0, 20, 255, 1, 0, 0, 0, 22, 260, 1, 0, 0, 0, 24, 263, 1, 0, 0, 0, 26, 266, 1, 0, 0, 0, 28, 286, 1, 0, 0, 0, 30, 288, 1, 0, 0, 0, 32, 290, 1, 0, 0, 0, 34, 292, 1, 0, 0, 0, 36, 294, 1, 0, 0, 0, 38, 296, 1, 0, 0, 0, 40, 305, 1, 0, 0, 0, 42, 308, 1, 0, 0, 0, 44, 316, 1, 0, 0, 0, 46, 324, 1, 0, 0, 0, 48, 329, 1, 0, 0, 0, 50, 337, 1, 0, 0, 0, 52, 345, 1, 0, 0, 0, 54, 353, 1, 0, 0, 0, 56, 358, 1, 0, 0, 0, 58, 362, 1, 0, 0, 0, 60, 366, 1, 0, 0, 0, 62, 371, 1, 0, 0, 0, 64, 373, 1, 0, 0, 0, 66, 376, 1, 0, 0, 0, 68, 385, 1, 0, 0, 0, 70, 393, 1, 0, 0, 0, 72, 396, 1, 0, 0, 0, 74, 399, 1, 0, 0, 0, 76, 416, 1, 0, 0, 0, 78, 418, 1, 0, 0, 0, 80, 424, 1, 0, 0, 0, 82, 428, 1, 0, 0, 0, 84, 431, 1, 0, 0, 0, 86, 439, 1, 0, 0, 0, 88, 443, 1, 0, 0, 0, 90, 446, 1, 0, 0, 0, 92, 450, 1, 0, 0, 0, 94, 453, 1, 0, 0, 0, 96, 473, 1, 0, 0, 0, 98, 477, 1, 0, 0, 0, 100, 480, 1, 0, 0, 0, 102, 485, 1, 0, 0, 0, 104, 491, 1, 0, 0, 0, 106, 504, 1, 0, 0, 0, 108, 507, 1, 0, 0, 0, 110, 511, 1, 0, 0, 0, 112, 515, 1, 0, 0, 0, 114, 519, 1, 0, 0, 0, 116, 530, 1, 0, 0, 0, 118, 532, 1, 0, 0, 0, 120, 534, 1, 0, 0, 0, 122, 542, 1, 0, 0, 0, 124, 548, 1, 0, 0, 0, 126, 550, 1, 0, 0, 0, 128, 558, 1, 0, 0, 0, 130, 597, 1, 0, 0, 0, 132, 640, 1, 0, 0, 0, 134, 642, 1, 0, 0, 0, 136, 655, 1, 0, 0, 0, 138, 661, 1, 0, 0, 0, 140, 682, 1, 0, 0, 0, 142, 692, 1, 0, 0, 0, 144, 711, 1, 0, 0, 0, 146, 713, 1, 0, 0, 0, 148, 724, 1, 0, 0, 0, 150, 770, 1, 0, 0, 0, 152, 772, 1, 0, 0, 0, 154, 776, 1, 0, 0, 0, 156, 779, 1, 0, 0, 0, 158, 784, 1, 0, 0, 0, 160, 788, 1, 0, 0, 0, 162, 790, 1, 0, 0, 0, 164, 792, 1, 0, 0, 0, 166, 797, 1, 0, 0, 0, 168, 799, 1, 0, 0, 0, 170, 808, 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, 194, 3, 22, 11, 0, 187, 194, 3, 12, 6, 0, 188, 194, 3, 92, 46, 0, 189, 190, 4, 2, 1, 0, 190, 194, 3, 24, 12, 0, 191, 192, 4, 2, 2, 0, 192, 194, 3, 88, 44, 0, 193, 186, 1, 0, 0, 0, 193, 187, 1, 0, 0, 0, 193, 188, 1, 0, 0, 0, 193, 189, 1, 0, 0, 0, 193, 191, 1, 0, 0, 0, 194, 5, 1, 0, 0, 0, 195, 223, 3, 40, 20, 0, 196, 223, 3, 8, 4, 0, 197, 223, 3, 70, 35, 0, 198, 223, 3, 64, 32, 0, 199, 223, 3, 42, 21, 0, 200, 223, 3, 66, 33, 0, 201, 223, 3, 72, 36, 0, 202, 223, 3, 74, 37, 0, 203, 223, 3, 78, 39, 0, 204, 223, 3, 80, 40, 0, 205, 223, 3, 94, 47, 0, 206, 223, 3, 82, 41, 0, 207, 223, 3, 164, 82, 0, 208, 223, 3, 104, 52, 0, 209, 223, 3, 128, 64, 0, 210, 223, 3, 98, 49, 0, 211, 223, 3, 108, 54, 0, 212, 213, 4, 3, 3, 0, 213, 223, 3, 102, 51, 0, 214, 215, 4, 3, 4, 0, 215, 223, 3, 100, 50, 0, 216, 217, 4, 3, 5, 0, 217, 223, 3, 106, 53, 0, 218, 219, 4, 3, 6, 0, 219, 223, 3, 126, 63, 0, 220, 221, 4, 3, 7, 0, 221, 223, 3, 118, 59, 0, 222, 195, 1, 0, 0, 0, 222, 196, 1, 0, 0, 0, 222, 197, 1, 0, 0, 0, 222, 198, 1, 0, 0, 0, 222, 199, 1, 0, 0, 0, 222, 200, 1, 0, 0, 0, 222, 201, 1, 0, 0, 0, 222, 202, 1, 0, 0, 0, 222, 203, 1, 0, 0, 0, 222, 204, 1, 0, 0, 0, 222, 205, 1, 0, 0, 0, 222, 206, 1, 0, 0, 0, 222, 207, 1, 0, 0, 0, 222, 208, 1, 0, 0, 0, 222, 209, 1, 0, 0, 0, 222, 210, 1, 0, 0, 0, 222, 211, 1, 0, 0, 0, 222, 212, 1, 0, 0, 0, 222, 214, 1, 0, 0, 0, 222, 216, 1, 0, 0, 0, 222, 218, 1, 0, 0, 0, 222, 220, 1, 0, 0, 0, 223, 7, 1, 0, 0, 0, 224, 225, 5, 16, 0, 0, 225, 226, 3, 130, 65, 0, 226, 9, 1, 0, 0, 0, 227, 228, 3, 54, 27, 0, 228, 11, 1, 0, 0, 0, 229, 230, 5, 12, 0, 0, 230, 231, 3, 14, 7, 0, 231, 13, 1, 0, 0, 0, 232, 237, 3, 16, 8, 0, 233, 234, 5, 62, 0, 0, 234, 236, 3, 16, 8, 0, 235, 233, 1, 0, 0, 0, 236, 239, 1, 0, 0, 0, 237, 235, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 15, 1, 0, 0, 0, 239, 237, 1, 0, 0, 0, 240, 241, 3, 48, 24, 0, 241, 242, 5, 58, 0, 0, 242, 244, 1, 0, 0, 0, 243, 240, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 245, 1, 0, 0, 0, 245, 246, 3, 130, 65, 0, 246, 17, 1, 0, 0, 0, 247, 252, 3, 20, 10, 0, 248, 249, 5, 62, 0, 0, 249, 251, 3, 20, 10, 0, 250, 248, 1, 0, 0, 0, 251, 254, 1, 0, 0, 0, 252, 250, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 19, 1, 0, 0, 0, 254, 252, 1, 0, 0, 0, 255, 258, 3, 48, 24, 0, 256, 257, 5, 58, 0, 0, 257, 259, 3, 130, 65, 0, 258, 256, 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 21, 1, 0, 0, 0, 260, 261, 5, 19, 0, 0, 261, 262, 3, 26, 13, 0, 262, 23, 1, 0, 0, 0, 263, 264, 5, 20, 0, 0, 264, 265, 3, 26, 13, 0, 265, 25, 1, 0, 0, 0, 266, 271, 3, 28, 14, 0, 267, 268, 5, 62, 0, 0, 268, 270, 3, 28, 14, 0, 269, 267, 1, 0, 0, 0, 270, 273, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 275, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 274, 276, 3, 38, 19, 0, 275, 274, 1, 0, 0, 0, 275, 276, 1, 0, 0, 0, 276, 27, 1, 0, 0, 0, 277, 278, 3, 30, 15, 0, 278, 279, 5, 61, 0, 0, 279, 280, 3, 34, 17, 0, 280, 287, 1, 0, 0, 0, 281, 282, 3, 34, 17, 0, 282, 283, 5, 60, 0, 0, 283, 284, 3, 32, 16, 0, 284, 287, 1, 0, 0, 0, 285, 287, 3, 36, 18, 0, 286, 277, 1, 0, 0, 0, 286, 281, 1, 0, 0, 0, 286, 285, 1, 0, 0, 0, 287, 29, 1, 0, 0, 0, 288, 289, 5, 107, 0, 0, 289, 31, 1, 0, 0, 0, 290, 291, 5, 107, 0, 0, 291, 33, 1, 0, 0, 0, 292, 293, 5, 107, 0, 0, 293, 35, 1, 0, 0, 0, 294, 295, 7, 0, 0, 0, 295, 37, 1, 0, 0, 0, 296, 297, 5, 106, 0, 0, 297, 302, 5, 107, 0, 0, 298, 299, 5, 62, 0, 0, 299, 301, 5, 107, 0, 0, 300, 298, 1, 0, 0, 0, 301, 304, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 39, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 306, 5, 9, 0, 0, 306, 307, 3, 14, 7, 0, 307, 41, 1, 0, 0, 0, 308, 310, 5, 15, 0, 0, 309, 311, 3, 44, 22, 0, 310, 309, 1, 0, 0, 0, 310, 311, 1, 0, 0, 0, 311, 314, 1, 0, 0, 0, 312, 313, 5, 59, 0, 0, 313, 315, 3, 14, 7, 0, 314, 312, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 43, 1, 0, 0, 0, 316, 321, 3, 46, 23, 0, 317, 318, 5, 62, 0, 0, 318, 320, 3, 46, 23, 0, 319, 317, 1, 0, 0, 0, 320, 323, 1, 0, 0, 0, 321, 319, 1, 0, 0, 0, 321, 322, 1, 0, 0, 0, 322, 45, 1, 0, 0, 0, 323, 321, 1, 0, 0, 0, 324, 327, 3, 16, 8, 0, 325, 326, 5, 16, 0, 0, 326, 328, 3, 130, 65, 0, 327, 325, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 47, 1, 0, 0, 0, 329, 334, 3, 62, 31, 0, 330, 331, 5, 64, 0, 0, 331, 333, 3, 62, 31, 0, 332, 330, 1, 0, 0, 0, 333, 336, 1, 0, 0, 0, 334, 332, 1, 0, 0, 0, 334, 335, 1, 0, 0, 0, 335, 49, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 337, 342, 3, 56, 28, 0, 338, 339, 5, 64, 0, 0, 339, 341, 3, 56, 28, 0, 340, 338, 1, 0, 0, 0, 341, 344, 1, 0, 0, 0, 342, 340, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 51, 1, 0, 0, 0, 344, 342, 1, 0, 0, 0, 345, 350, 3, 50, 25, 0, 346, 347, 5, 62, 0, 0, 347, 349, 3, 50, 25, 0, 348, 346, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 53, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 353, 354, 7, 1, 0, 0, 354, 55, 1, 0, 0, 0, 355, 359, 5, 128, 0, 0, 356, 359, 3, 58, 29, 0, 357, 359, 3, 60, 30, 0, 358, 355, 1, 0, 0, 0, 358, 356, 1, 0, 0, 0, 358, 357, 1, 0, 0, 0, 359, 57, 1, 0, 0, 0, 360, 363, 5, 76, 0, 0, 361, 363, 5, 95, 0, 0, 362, 360, 1, 0, 0, 0, 362, 361, 1, 0, 0, 0, 363, 59, 1, 0, 0, 0, 364, 367, 5, 94, 0, 0, 365, 367, 5, 96, 0, 0, 366, 364, 1, 0, 0, 0, 366, 365, 1, 0, 0, 0, 367, 61, 1, 0, 0, 0, 368, 372, 3, 54, 27, 0, 369, 372, 3, 58, 29, 0, 370, 372, 3, 60, 30, 0, 371, 368, 1, 0, 0, 0, 371, 369, 1, 0, 0, 0, 371, 370, 1, 0, 0, 0, 372, 63, 1, 0, 0, 0, 373, 374, 5, 11, 0, 0, 374, 375, 3, 150, 75, 0, 375, 65, 1, 0, 0, 0, 376, 377, 5, 14, 0, 0, 377, 382, 3, 68, 34, 0, 378, 379, 5, 62, 0, 0, 379, 381, 3, 68, 34, 0, 380, 378, 1, 0, 0, 0, 381, 384, 1, 0, 0, 0, 382, 380, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 67, 1, 0, 0, 0, 384, 382, 1, 0, 0, 0, 385, 387, 3, 130, 65, 0, 386, 388, 7, 2, 0, 0, 387, 386, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 391, 1, 0, 0, 0, 389, 390, 5, 73, 0, 0, 390, 392, 7, 3, 0, 0, 391, 389, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 69, 1, 0, 0, 0, 393, 394, 5, 29, 0, 0, 394, 395, 3, 52, 26, 0, 395, 71, 1, 0, 0, 0, 396, 397, 5, 28, 0, 0, 397, 398, 3, 52, 26, 0, 398, 73, 1, 0, 0, 0, 399, 400, 5, 32, 0, 0, 400, 405, 3, 76, 38, 0, 401, 402, 5, 62, 0, 0, 402, 404, 3, 76, 38, 0, 403, 401, 1, 0, 0, 0, 404, 407, 1, 0, 0, 0, 405, 403, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 75, 1, 0, 0, 0, 407, 405, 1, 0, 0, 0, 408, 409, 3, 50, 25, 0, 409, 410, 5, 132, 0, 0, 410, 411, 3, 50, 25, 0, 411, 417, 1, 0, 0, 0, 412, 413, 3, 50, 25, 0, 413, 414, 5, 58, 0, 0, 414, 415, 3, 50, 25, 0, 415, 417, 1, 0, 0, 0, 416, 408, 1, 0, 0, 0, 416, 412, 1, 0, 0, 0, 417, 77, 1, 0, 0, 0, 418, 419, 5, 8, 0, 0, 419, 420, 3, 140, 70, 0, 420, 422, 3, 160, 80, 0, 421, 423, 3, 84, 42, 0, 422, 421, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 79, 1, 0, 0, 0, 424, 425, 5, 10, 0, 0, 425, 426, 3, 140, 70, 0, 426, 427, 3, 160, 80, 0, 427, 81, 1, 0, 0, 0, 428, 429, 5, 27, 0, 0, 429, 430, 3, 48, 24, 0, 430, 83, 1, 0, 0, 0, 431, 436, 3, 86, 43, 0, 432, 433, 5, 62, 0, 0, 433, 435, 3, 86, 43, 0, 434, 432, 1, 0, 0, 0, 435, 438, 1, 0, 0, 0, 436, 434, 1, 0, 0, 0, 436, 437, 1, 0, 0, 0, 437, 85, 1, 0, 0, 0, 438, 436, 1, 0, 0, 0, 439, 440, 3, 54, 27, 0, 440, 441, 5, 58, 0, 0, 441, 442, 3, 150, 75, 0, 442, 87, 1, 0, 0, 0, 443, 444, 5, 6, 0, 0, 444, 445, 3, 90, 45, 0, 445, 89, 1, 0, 0, 0, 446, 447, 5, 99, 0, 0, 447, 448, 3, 2, 1, 0, 448, 449, 5, 100, 0, 0, 449, 91, 1, 0, 0, 0, 450, 451, 5, 33, 0, 0, 451, 452, 5, 136, 0, 0, 452, 93, 1, 0, 0, 0, 453, 454, 5, 5, 0, 0, 454, 457, 5, 38, 0, 0, 455, 456, 5, 74, 0, 0, 456, 458, 3, 50, 25, 0, 457, 455, 1, 0, 0, 0, 457, 458, 1, 0, 0, 0, 458, 468, 1, 0, 0, 0, 459, 460, 5, 79, 0, 0, 460, 465, 3, 96, 48, 0, 461, 462, 5, 62, 0, 0, 462, 464, 3, 96, 48, 0, 463, 461, 1, 0, 0, 0, 464, 467, 1, 0, 0, 0, 465, 463, 1, 0, 0, 0, 465, 466, 1, 0, 0, 0, 466, 469, 1, 0, 0, 0, 467, 465, 1, 0, 0, 0, 468, 459, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 95, 1, 0, 0, 0, 470, 471, 3, 50, 25, 0, 471, 472, 5, 58, 0, 0, 472, 474, 1, 0, 0, 0, 473, 470, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 476, 3, 50, 25, 0, 476, 97, 1, 0, 0, 0, 477, 478, 5, 13, 0, 0, 478, 479, 3, 150, 75, 0, 479, 99, 1, 0, 0, 0, 480, 481, 5, 26, 0, 0, 481, 482, 3, 28, 14, 0, 482, 483, 5, 74, 0, 0, 483, 484, 3, 52, 26, 0, 484, 101, 1, 0, 0, 0, 485, 486, 5, 17, 0, 0, 486, 489, 3, 44, 22, 0, 487, 488, 5, 59, 0, 0, 488, 490, 3, 14, 7, 0, 489, 487, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 103, 1, 0, 0, 0, 491, 492, 5, 4, 0, 0, 492, 495, 3, 48, 24, 0, 493, 494, 5, 74, 0, 0, 494, 496, 3, 48, 24, 0, 495, 493, 1, 0, 0, 0, 495, 496, 1, 0, 0, 0, 496, 502, 1, 0, 0, 0, 497, 498, 5, 132, 0, 0, 498, 499, 3, 48, 24, 0, 499, 500, 5, 62, 0, 0, 500, 501, 3, 48, 24, 0, 501, 503, 1, 0, 0, 0, 502, 497, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 105, 1, 0, 0, 0, 504, 505, 5, 30, 0, 0, 505, 506, 3, 52, 26, 0, 506, 107, 1, 0, 0, 0, 507, 508, 5, 21, 0, 0, 508, 509, 3, 110, 55, 0, 509, 109, 1, 0, 0, 0, 510, 512, 3, 112, 56, 0, 511, 510, 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 511, 1, 0, 0, 0, 513, 514, 1, 0, 0, 0, 514, 111, 1, 0, 0, 0, 515, 516, 5, 99, 0, 0, 516, 517, 3, 114, 57, 0, 517, 518, 5, 100, 0, 0, 518, 113, 1, 0, 0, 0, 519, 520, 6, 57, -1, 0, 520, 521, 3, 116, 58, 0, 521, 527, 1, 0, 0, 0, 522, 523, 10, 1, 0, 0, 523, 524, 5, 52, 0, 0, 524, 526, 3, 116, 58, 0, 525, 522, 1, 0, 0, 0, 526, 529, 1, 0, 0, 0, 527, 525, 1, 0, 0, 0, 527, 528, 1, 0, 0, 0, 528, 115, 1, 0, 0, 0, 529, 527, 1, 0, 0, 0, 530, 531, 3, 6, 3, 0, 531, 117, 1, 0, 0, 0, 532, 533, 5, 31, 0, 0, 533, 119, 1, 0, 0, 0, 534, 539, 3, 122, 61, 0, 535, 536, 5, 62, 0, 0, 536, 538, 3, 122, 61, 0, 537, 535, 1, 0, 0, 0, 538, 541, 1, 0, 0, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 121, 1, 0, 0, 0, 541, 539, 1, 0, 0, 0, 542, 543, 3, 54, 27, 0, 543, 544, 5, 58, 0, 0, 544, 545, 3, 124, 62, 0, 545, 123, 1, 0, 0, 0, 546, 549, 3, 150, 75, 0, 547, 549, 3, 54, 27, 0, 548, 546, 1, 0, 0, 0, 548, 547, 1, 0, 0, 0, 549, 125, 1, 0, 0, 0, 550, 551, 5, 18, 0, 0, 551, 552, 3, 150, 75, 0, 552, 553, 5, 74, 0, 0, 553, 556, 3, 18, 9, 0, 554, 555, 5, 79, 0, 0, 555, 557, 3, 120, 60, 0, 556, 554, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 127, 1, 0, 0, 0, 558, 562, 5, 7, 0, 0, 559, 560, 3, 48, 24, 0, 560, 561, 5, 58, 0, 0, 561, 563, 1, 0, 0, 0, 562, 559, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 564, 1, 0, 0, 0, 564, 565, 3, 140, 70, 0, 565, 566, 5, 79, 0, 0, 566, 567, 3, 62, 31, 0, 567, 129, 1, 0, 0, 0, 568, 569, 6, 65, -1, 0, 569, 570, 5, 71, 0, 0, 570, 598, 3, 130, 65, 8, 571, 598, 3, 136, 68, 0, 572, 598, 3, 132, 66, 0, 573, 575, 3, 136, 68, 0, 574, 576, 5, 71, 0, 0, 575, 574, 1, 0, 0, 0, 575, 576, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 578, 5, 67, 0, 0, 578, 579, 5, 99, 0, 0, 579, 584, 3, 136, 68, 0, 580, 581, 5, 62, 0, 0, 581, 583, 3, 136, 68, 0, 582, 580, 1, 0, 0, 0, 583, 586, 1, 0, 0, 0, 584, 582, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 587, 1, 0, 0, 0, 586, 584, 1, 0, 0, 0, 587, 588, 5, 100, 0, 0, 588, 598, 1, 0, 0, 0, 589, 590, 3, 136, 68, 0, 590, 592, 5, 68, 0, 0, 591, 593, 5, 71, 0, 0, 592, 591, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 5, 72, 0, 0, 595, 598, 1, 0, 0, 0, 596, 598, 3, 134, 67, 0, 597, 568, 1, 0, 0, 0, 597, 571, 1, 0, 0, 0, 597, 572, 1, 0, 0, 0, 597, 573, 1, 0, 0, 0, 597, 589, 1, 0, 0, 0, 597, 596, 1, 0, 0, 0, 598, 607, 1, 0, 0, 0, 599, 600, 10, 5, 0, 0, 600, 601, 5, 56, 0, 0, 601, 606, 3, 130, 65, 6, 602, 603, 10, 4, 0, 0, 603, 604, 5, 75, 0, 0, 604, 606, 3, 130, 65, 5, 605, 599, 1, 0, 0, 0, 605, 602, 1, 0, 0, 0, 606, 609, 1, 0, 0, 0, 607, 605, 1, 0, 0, 0, 607, 608, 1, 0, 0, 0, 608, 131, 1, 0, 0, 0, 609, 607, 1, 0, 0, 0, 610, 612, 3, 136, 68, 0, 611, 613, 5, 71, 0, 0, 612, 611, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 1, 0, 0, 0, 614, 615, 5, 70, 0, 0, 615, 616, 3, 160, 80, 0, 616, 641, 1, 0, 0, 0, 617, 619, 3, 136, 68, 0, 618, 620, 5, 71, 0, 0, 619, 618, 1, 0, 0, 0, 619, 620, 1, 0, 0, 0, 620, 621, 1, 0, 0, 0, 621, 622, 5, 77, 0, 0, 622, 623, 3, 160, 80, 0, 623, 641, 1, 0, 0, 0, 624, 626, 3, 136, 68, 0, 625, 627, 5, 71, 0, 0, 626, 625, 1, 0, 0, 0, 626, 627, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 629, 5, 70, 0, 0, 629, 630, 5, 99, 0, 0, 630, 635, 3, 160, 80, 0, 631, 632, 5, 62, 0, 0, 632, 634, 3, 160, 80, 0, 633, 631, 1, 0, 0, 0, 634, 637, 1, 0, 0, 0, 635, 633, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 638, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 639, 5, 100, 0, 0, 639, 641, 1, 0, 0, 0, 640, 610, 1, 0, 0, 0, 640, 617, 1, 0, 0, 0, 640, 624, 1, 0, 0, 0, 641, 133, 1, 0, 0, 0, 642, 645, 3, 48, 24, 0, 643, 644, 5, 60, 0, 0, 644, 646, 3, 10, 5, 0, 645, 643, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 647, 1, 0, 0, 0, 647, 648, 5, 61, 0, 0, 648, 649, 3, 150, 75, 0, 649, 135, 1, 0, 0, 0, 650, 656, 3, 138, 69, 0, 651, 652, 3, 138, 69, 0, 652, 653, 3, 162, 81, 0, 653, 654, 3, 138, 69, 0, 654, 656, 1, 0, 0, 0, 655, 650, 1, 0, 0, 0, 655, 651, 1, 0, 0, 0, 656, 137, 1, 0, 0, 0, 657, 658, 6, 69, -1, 0, 658, 662, 3, 140, 70, 0, 659, 660, 7, 4, 0, 0, 660, 662, 3, 138, 69, 3, 661, 657, 1, 0, 0, 0, 661, 659, 1, 0, 0, 0, 662, 671, 1, 0, 0, 0, 663, 664, 10, 2, 0, 0, 664, 665, 7, 5, 0, 0, 665, 670, 3, 138, 69, 3, 666, 667, 10, 1, 0, 0, 667, 668, 7, 4, 0, 0, 668, 670, 3, 138, 69, 2, 669, 663, 1, 0, 0, 0, 669, 666, 1, 0, 0, 0, 670, 673, 1, 0, 0, 0, 671, 669, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 139, 1, 0, 0, 0, 673, 671, 1, 0, 0, 0, 674, 675, 6, 70, -1, 0, 675, 683, 3, 150, 75, 0, 676, 683, 3, 48, 24, 0, 677, 683, 3, 142, 71, 0, 678, 679, 5, 99, 0, 0, 679, 680, 3, 130, 65, 0, 680, 681, 5, 100, 0, 0, 681, 683, 1, 0, 0, 0, 682, 674, 1, 0, 0, 0, 682, 676, 1, 0, 0, 0, 682, 677, 1, 0, 0, 0, 682, 678, 1, 0, 0, 0, 683, 689, 1, 0, 0, 0, 684, 685, 10, 1, 0, 0, 685, 686, 5, 60, 0, 0, 686, 688, 3, 10, 5, 0, 687, 684, 1, 0, 0, 0, 688, 691, 1, 0, 0, 0, 689, 687, 1, 0, 0, 0, 689, 690, 1, 0, 0, 0, 690, 141, 1, 0, 0, 0, 691, 689, 1, 0, 0, 0, 692, 693, 3, 144, 72, 0, 693, 707, 5, 99, 0, 0, 694, 708, 5, 89, 0, 0, 695, 700, 3, 130, 65, 0, 696, 697, 5, 62, 0, 0, 697, 699, 3, 130, 65, 0, 698, 696, 1, 0, 0, 0, 699, 702, 1, 0, 0, 0, 700, 698, 1, 0, 0, 0, 700, 701, 1, 0, 0, 0, 701, 705, 1, 0, 0, 0, 702, 700, 1, 0, 0, 0, 703, 704, 5, 62, 0, 0, 704, 706, 3, 146, 73, 0, 705, 703, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 708, 1, 0, 0, 0, 707, 694, 1, 0, 0, 0, 707, 695, 1, 0, 0, 0, 707, 708, 1, 0, 0, 0, 708, 709, 1, 0, 0, 0, 709, 710, 5, 100, 0, 0, 710, 143, 1, 0, 0, 0, 711, 712, 3, 62, 31, 0, 712, 145, 1, 0, 0, 0, 713, 714, 5, 92, 0, 0, 714, 719, 3, 148, 74, 0, 715, 716, 5, 62, 0, 0, 716, 718, 3, 148, 74, 0, 717, 715, 1, 0, 0, 0, 718, 721, 1, 0, 0, 0, 719, 717, 1, 0, 0, 0, 719, 720, 1, 0, 0, 0, 720, 722, 1, 0, 0, 0, 721, 719, 1, 0, 0, 0, 722, 723, 5, 93, 0, 0, 723, 147, 1, 0, 0, 0, 724, 725, 3, 160, 80, 0, 725, 726, 5, 61, 0, 0, 726, 727, 3, 150, 75, 0, 727, 149, 1, 0, 0, 0, 728, 771, 5, 72, 0, 0, 729, 730, 3, 158, 79, 0, 730, 731, 5, 101, 0, 0, 731, 771, 1, 0, 0, 0, 732, 771, 3, 156, 78, 0, 733, 771, 3, 158, 79, 0, 734, 771, 3, 152, 76, 0, 735, 771, 3, 58, 29, 0, 736, 771, 3, 160, 80, 0, 737, 738, 5, 97, 0, 0, 738, 743, 3, 154, 77, 0, 739, 740, 5, 62, 0, 0, 740, 742, 3, 154, 77, 0, 741, 739, 1, 0, 0, 0, 742, 745, 1, 0, 0, 0, 743, 741, 1, 0, 0, 0, 743, 744, 1, 0, 0, 0, 744, 746, 1, 0, 0, 0, 745, 743, 1, 0, 0, 0, 746, 747, 5, 98, 0, 0, 747, 771, 1, 0, 0, 0, 748, 749, 5, 97, 0, 0, 749, 754, 3, 152, 76, 0, 750, 751, 5, 62, 0, 0, 751, 753, 3, 152, 76, 0, 752, 750, 1, 0, 0, 0, 753, 756, 1, 0, 0, 0, 754, 752, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 757, 1, 0, 0, 0, 756, 754, 1, 0, 0, 0, 757, 758, 5, 98, 0, 0, 758, 771, 1, 0, 0, 0, 759, 760, 5, 97, 0, 0, 760, 765, 3, 160, 80, 0, 761, 762, 5, 62, 0, 0, 762, 764, 3, 160, 80, 0, 763, 761, 1, 0, 0, 0, 764, 767, 1, 0, 0, 0, 765, 763, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 768, 1, 0, 0, 0, 767, 765, 1, 0, 0, 0, 768, 769, 5, 98, 0, 0, 769, 771, 1, 0, 0, 0, 770, 728, 1, 0, 0, 0, 770, 729, 1, 0, 0, 0, 770, 732, 1, 0, 0, 0, 770, 733, 1, 0, 0, 0, 770, 734, 1, 0, 0, 0, 770, 735, 1, 0, 0, 0, 770, 736, 1, 0, 0, 0, 770, 737, 1, 0, 0, 0, 770, 748, 1, 0, 0, 0, 770, 759, 1, 0, 0, 0, 771, 151, 1, 0, 0, 0, 772, 773, 7, 6, 0, 0, 773, 153, 1, 0, 0, 0, 774, 777, 3, 156, 78, 0, 775, 777, 3, 158, 79, 0, 776, 774, 1, 0, 0, 0, 776, 775, 1, 0, 0, 0, 777, 155, 1, 0, 0, 0, 778, 780, 7, 4, 0, 0, 779, 778, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 781, 1, 0, 0, 0, 781, 782, 5, 55, 0, 0, 782, 157, 1, 0, 0, 0, 783, 785, 7, 4, 0, 0, 784, 783, 1, 0, 0, 0, 784, 785, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 787, 5, 54, 0, 0, 787, 159, 1, 0, 0, 0, 788, 789, 5, 53, 0, 0, 789, 161, 1, 0, 0, 0, 790, 791, 7, 7, 0, 0, 791, 163, 1, 0, 0, 0, 792, 793, 7, 8, 0, 0, 793, 794, 5, 114, 0, 0, 794, 795, 3, 166, 83, 0, 795, 796, 3, 168, 84, 0, 796, 165, 1, 0, 0, 0, 797, 798, 3, 28, 14, 0, 798, 167, 1, 0, 0, 0, 799, 800, 5, 74, 0, 0, 800, 805, 3, 170, 85, 0, 801, 802, 5, 62, 0, 0, 802, 804, 3, 170, 85, 0, 803, 801, 1, 0, 0, 0, 804, 807, 1, 0, 0, 0, 805, 803, 1, 0, 0, 0, 805, 806, 1, 0, 0, 0, 806, 169, 1, 0, 0, 0, 807, 805, 1, 0, 0, 0, 808, 809, 3, 136, 68, 0, 809, 171, 1, 0, 0, 0, 72, 183, 193, 222, 237, 243, 252, 258, 271, 275, 286, 302, 310, 314, 321, 327, 334, 342, 350, 358, 362, 366, 371, 382, 387, 391, 405, 416, 422, 436, 457, 465, 468, 473, 489, 495, 502, 513, 527, 539, 548, 556, 562, 575, 584, 592, 597, 605, 607, 612, 619, 626, 635, 640, 645, 655, 661, 669, 671, 682, 689, 700, 705, 707, 719, 743, 754, 765, 770, 776, 779, 784, 805] \ No newline at end of file +[4, 1, 139, 827, 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, 1, 2, 3, 2, 194, 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, 223, 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, 236, 8, 7, 10, 7, 12, 7, 239, 9, 7, 1, 8, 1, 8, 1, 8, 3, 8, 244, 8, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 5, 9, 251, 8, 9, 10, 9, 12, 9, 254, 9, 9, 1, 10, 1, 10, 1, 10, 3, 10, 259, 8, 10, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 5, 13, 270, 8, 13, 10, 13, 12, 13, 273, 9, 13, 1, 13, 3, 13, 276, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 3, 14, 287, 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, 301, 8, 19, 10, 19, 12, 19, 304, 9, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 3, 21, 311, 8, 21, 1, 21, 1, 21, 3, 21, 315, 8, 21, 1, 22, 1, 22, 1, 22, 5, 22, 320, 8, 22, 10, 22, 12, 22, 323, 9, 22, 1, 23, 1, 23, 1, 23, 3, 23, 328, 8, 23, 1, 24, 1, 24, 1, 24, 5, 24, 333, 8, 24, 10, 24, 12, 24, 336, 9, 24, 1, 25, 1, 25, 1, 25, 5, 25, 341, 8, 25, 10, 25, 12, 25, 344, 9, 25, 1, 26, 1, 26, 1, 26, 5, 26, 349, 8, 26, 10, 26, 12, 26, 352, 9, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 3, 28, 359, 8, 28, 1, 29, 1, 29, 3, 29, 363, 8, 29, 1, 30, 1, 30, 3, 30, 367, 8, 30, 1, 31, 1, 31, 1, 31, 3, 31, 372, 8, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 5, 33, 381, 8, 33, 10, 33, 12, 33, 384, 9, 33, 1, 34, 1, 34, 3, 34, 388, 8, 34, 1, 34, 1, 34, 3, 34, 392, 8, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 404, 8, 37, 10, 37, 12, 37, 407, 9, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 417, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 423, 8, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 5, 42, 435, 8, 42, 10, 42, 12, 42, 438, 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, 458, 8, 47, 1, 47, 1, 47, 1, 47, 1, 47, 5, 47, 464, 8, 47, 10, 47, 12, 47, 467, 9, 47, 3, 47, 469, 8, 47, 1, 48, 1, 48, 1, 48, 3, 48, 474, 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, 490, 8, 51, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 496, 8, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 503, 8, 52, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 55, 4, 55, 512, 8, 55, 11, 55, 12, 55, 513, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 5, 57, 526, 8, 57, 10, 57, 12, 57, 529, 9, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 5, 60, 538, 8, 60, 10, 60, 12, 60, 541, 9, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 3, 62, 549, 8, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 557, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 563, 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, 576, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 583, 8, 65, 10, 65, 12, 65, 586, 9, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 3, 65, 593, 8, 65, 1, 65, 1, 65, 1, 65, 3, 65, 598, 8, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 606, 8, 65, 10, 65, 12, 65, 609, 9, 65, 1, 66, 1, 66, 3, 66, 613, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 620, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 627, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 634, 8, 66, 10, 66, 12, 66, 637, 9, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 643, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 650, 8, 66, 10, 66, 12, 66, 653, 9, 66, 1, 66, 1, 66, 3, 66, 657, 8, 66, 1, 67, 1, 67, 1, 67, 3, 67, 662, 8, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 672, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 3, 69, 678, 8, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 686, 8, 69, 10, 69, 12, 69, 689, 9, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 3, 70, 699, 8, 70, 1, 70, 1, 70, 1, 70, 5, 70, 704, 8, 70, 10, 70, 12, 70, 707, 9, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 715, 8, 71, 10, 71, 12, 71, 718, 9, 71, 1, 71, 1, 71, 3, 71, 722, 8, 71, 3, 71, 724, 8, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 5, 73, 734, 8, 73, 10, 73, 12, 73, 737, 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, 758, 8, 75, 10, 75, 12, 75, 761, 9, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 769, 8, 75, 10, 75, 12, 75, 772, 9, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 5, 75, 780, 8, 75, 10, 75, 12, 75, 783, 9, 75, 1, 75, 1, 75, 3, 75, 787, 8, 75, 1, 76, 1, 76, 1, 77, 1, 77, 3, 77, 793, 8, 77, 1, 78, 3, 78, 796, 8, 78, 1, 78, 1, 78, 1, 79, 3, 79, 801, 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, 820, 8, 84, 10, 84, 12, 84, 823, 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, 857, 0, 172, 1, 0, 0, 0, 2, 175, 1, 0, 0, 0, 4, 193, 1, 0, 0, 0, 6, 222, 1, 0, 0, 0, 8, 224, 1, 0, 0, 0, 10, 227, 1, 0, 0, 0, 12, 229, 1, 0, 0, 0, 14, 232, 1, 0, 0, 0, 16, 243, 1, 0, 0, 0, 18, 247, 1, 0, 0, 0, 20, 255, 1, 0, 0, 0, 22, 260, 1, 0, 0, 0, 24, 263, 1, 0, 0, 0, 26, 266, 1, 0, 0, 0, 28, 286, 1, 0, 0, 0, 30, 288, 1, 0, 0, 0, 32, 290, 1, 0, 0, 0, 34, 292, 1, 0, 0, 0, 36, 294, 1, 0, 0, 0, 38, 296, 1, 0, 0, 0, 40, 305, 1, 0, 0, 0, 42, 308, 1, 0, 0, 0, 44, 316, 1, 0, 0, 0, 46, 324, 1, 0, 0, 0, 48, 329, 1, 0, 0, 0, 50, 337, 1, 0, 0, 0, 52, 345, 1, 0, 0, 0, 54, 353, 1, 0, 0, 0, 56, 358, 1, 0, 0, 0, 58, 362, 1, 0, 0, 0, 60, 366, 1, 0, 0, 0, 62, 371, 1, 0, 0, 0, 64, 373, 1, 0, 0, 0, 66, 376, 1, 0, 0, 0, 68, 385, 1, 0, 0, 0, 70, 393, 1, 0, 0, 0, 72, 396, 1, 0, 0, 0, 74, 399, 1, 0, 0, 0, 76, 416, 1, 0, 0, 0, 78, 418, 1, 0, 0, 0, 80, 424, 1, 0, 0, 0, 82, 428, 1, 0, 0, 0, 84, 431, 1, 0, 0, 0, 86, 439, 1, 0, 0, 0, 88, 443, 1, 0, 0, 0, 90, 446, 1, 0, 0, 0, 92, 450, 1, 0, 0, 0, 94, 453, 1, 0, 0, 0, 96, 473, 1, 0, 0, 0, 98, 477, 1, 0, 0, 0, 100, 480, 1, 0, 0, 0, 102, 485, 1, 0, 0, 0, 104, 491, 1, 0, 0, 0, 106, 504, 1, 0, 0, 0, 108, 507, 1, 0, 0, 0, 110, 511, 1, 0, 0, 0, 112, 515, 1, 0, 0, 0, 114, 519, 1, 0, 0, 0, 116, 530, 1, 0, 0, 0, 118, 532, 1, 0, 0, 0, 120, 534, 1, 0, 0, 0, 122, 542, 1, 0, 0, 0, 124, 548, 1, 0, 0, 0, 126, 550, 1, 0, 0, 0, 128, 558, 1, 0, 0, 0, 130, 597, 1, 0, 0, 0, 132, 656, 1, 0, 0, 0, 134, 658, 1, 0, 0, 0, 136, 671, 1, 0, 0, 0, 138, 677, 1, 0, 0, 0, 140, 698, 1, 0, 0, 0, 142, 708, 1, 0, 0, 0, 144, 727, 1, 0, 0, 0, 146, 729, 1, 0, 0, 0, 148, 740, 1, 0, 0, 0, 150, 786, 1, 0, 0, 0, 152, 788, 1, 0, 0, 0, 154, 792, 1, 0, 0, 0, 156, 795, 1, 0, 0, 0, 158, 800, 1, 0, 0, 0, 160, 804, 1, 0, 0, 0, 162, 806, 1, 0, 0, 0, 164, 808, 1, 0, 0, 0, 166, 813, 1, 0, 0, 0, 168, 815, 1, 0, 0, 0, 170, 824, 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, 194, 3, 22, 11, 0, 187, 194, 3, 12, 6, 0, 188, 194, 3, 92, 46, 0, 189, 190, 4, 2, 1, 0, 190, 194, 3, 24, 12, 0, 191, 192, 4, 2, 2, 0, 192, 194, 3, 88, 44, 0, 193, 186, 1, 0, 0, 0, 193, 187, 1, 0, 0, 0, 193, 188, 1, 0, 0, 0, 193, 189, 1, 0, 0, 0, 193, 191, 1, 0, 0, 0, 194, 5, 1, 0, 0, 0, 195, 223, 3, 40, 20, 0, 196, 223, 3, 8, 4, 0, 197, 223, 3, 70, 35, 0, 198, 223, 3, 64, 32, 0, 199, 223, 3, 42, 21, 0, 200, 223, 3, 66, 33, 0, 201, 223, 3, 72, 36, 0, 202, 223, 3, 74, 37, 0, 203, 223, 3, 78, 39, 0, 204, 223, 3, 80, 40, 0, 205, 223, 3, 94, 47, 0, 206, 223, 3, 82, 41, 0, 207, 223, 3, 164, 82, 0, 208, 223, 3, 104, 52, 0, 209, 223, 3, 128, 64, 0, 210, 223, 3, 98, 49, 0, 211, 223, 3, 108, 54, 0, 212, 213, 4, 3, 3, 0, 213, 223, 3, 102, 51, 0, 214, 215, 4, 3, 4, 0, 215, 223, 3, 100, 50, 0, 216, 217, 4, 3, 5, 0, 217, 223, 3, 106, 53, 0, 218, 219, 4, 3, 6, 0, 219, 223, 3, 126, 63, 0, 220, 221, 4, 3, 7, 0, 221, 223, 3, 118, 59, 0, 222, 195, 1, 0, 0, 0, 222, 196, 1, 0, 0, 0, 222, 197, 1, 0, 0, 0, 222, 198, 1, 0, 0, 0, 222, 199, 1, 0, 0, 0, 222, 200, 1, 0, 0, 0, 222, 201, 1, 0, 0, 0, 222, 202, 1, 0, 0, 0, 222, 203, 1, 0, 0, 0, 222, 204, 1, 0, 0, 0, 222, 205, 1, 0, 0, 0, 222, 206, 1, 0, 0, 0, 222, 207, 1, 0, 0, 0, 222, 208, 1, 0, 0, 0, 222, 209, 1, 0, 0, 0, 222, 210, 1, 0, 0, 0, 222, 211, 1, 0, 0, 0, 222, 212, 1, 0, 0, 0, 222, 214, 1, 0, 0, 0, 222, 216, 1, 0, 0, 0, 222, 218, 1, 0, 0, 0, 222, 220, 1, 0, 0, 0, 223, 7, 1, 0, 0, 0, 224, 225, 5, 16, 0, 0, 225, 226, 3, 130, 65, 0, 226, 9, 1, 0, 0, 0, 227, 228, 3, 54, 27, 0, 228, 11, 1, 0, 0, 0, 229, 230, 5, 12, 0, 0, 230, 231, 3, 14, 7, 0, 231, 13, 1, 0, 0, 0, 232, 237, 3, 16, 8, 0, 233, 234, 5, 62, 0, 0, 234, 236, 3, 16, 8, 0, 235, 233, 1, 0, 0, 0, 236, 239, 1, 0, 0, 0, 237, 235, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 15, 1, 0, 0, 0, 239, 237, 1, 0, 0, 0, 240, 241, 3, 48, 24, 0, 241, 242, 5, 58, 0, 0, 242, 244, 1, 0, 0, 0, 243, 240, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 245, 1, 0, 0, 0, 245, 246, 3, 130, 65, 0, 246, 17, 1, 0, 0, 0, 247, 252, 3, 20, 10, 0, 248, 249, 5, 62, 0, 0, 249, 251, 3, 20, 10, 0, 250, 248, 1, 0, 0, 0, 251, 254, 1, 0, 0, 0, 252, 250, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 19, 1, 0, 0, 0, 254, 252, 1, 0, 0, 0, 255, 258, 3, 48, 24, 0, 256, 257, 5, 58, 0, 0, 257, 259, 3, 130, 65, 0, 258, 256, 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 21, 1, 0, 0, 0, 260, 261, 5, 19, 0, 0, 261, 262, 3, 26, 13, 0, 262, 23, 1, 0, 0, 0, 263, 264, 5, 20, 0, 0, 264, 265, 3, 26, 13, 0, 265, 25, 1, 0, 0, 0, 266, 271, 3, 28, 14, 0, 267, 268, 5, 62, 0, 0, 268, 270, 3, 28, 14, 0, 269, 267, 1, 0, 0, 0, 270, 273, 1, 0, 0, 0, 271, 269, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 275, 1, 0, 0, 0, 273, 271, 1, 0, 0, 0, 274, 276, 3, 38, 19, 0, 275, 274, 1, 0, 0, 0, 275, 276, 1, 0, 0, 0, 276, 27, 1, 0, 0, 0, 277, 278, 3, 30, 15, 0, 278, 279, 5, 61, 0, 0, 279, 280, 3, 34, 17, 0, 280, 287, 1, 0, 0, 0, 281, 282, 3, 34, 17, 0, 282, 283, 5, 60, 0, 0, 283, 284, 3, 32, 16, 0, 284, 287, 1, 0, 0, 0, 285, 287, 3, 36, 18, 0, 286, 277, 1, 0, 0, 0, 286, 281, 1, 0, 0, 0, 286, 285, 1, 0, 0, 0, 287, 29, 1, 0, 0, 0, 288, 289, 5, 107, 0, 0, 289, 31, 1, 0, 0, 0, 290, 291, 5, 107, 0, 0, 291, 33, 1, 0, 0, 0, 292, 293, 5, 107, 0, 0, 293, 35, 1, 0, 0, 0, 294, 295, 7, 0, 0, 0, 295, 37, 1, 0, 0, 0, 296, 297, 5, 106, 0, 0, 297, 302, 5, 107, 0, 0, 298, 299, 5, 62, 0, 0, 299, 301, 5, 107, 0, 0, 300, 298, 1, 0, 0, 0, 301, 304, 1, 0, 0, 0, 302, 300, 1, 0, 0, 0, 302, 303, 1, 0, 0, 0, 303, 39, 1, 0, 0, 0, 304, 302, 1, 0, 0, 0, 305, 306, 5, 9, 0, 0, 306, 307, 3, 14, 7, 0, 307, 41, 1, 0, 0, 0, 308, 310, 5, 15, 0, 0, 309, 311, 3, 44, 22, 0, 310, 309, 1, 0, 0, 0, 310, 311, 1, 0, 0, 0, 311, 314, 1, 0, 0, 0, 312, 313, 5, 59, 0, 0, 313, 315, 3, 14, 7, 0, 314, 312, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 43, 1, 0, 0, 0, 316, 321, 3, 46, 23, 0, 317, 318, 5, 62, 0, 0, 318, 320, 3, 46, 23, 0, 319, 317, 1, 0, 0, 0, 320, 323, 1, 0, 0, 0, 321, 319, 1, 0, 0, 0, 321, 322, 1, 0, 0, 0, 322, 45, 1, 0, 0, 0, 323, 321, 1, 0, 0, 0, 324, 327, 3, 16, 8, 0, 325, 326, 5, 16, 0, 0, 326, 328, 3, 130, 65, 0, 327, 325, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 47, 1, 0, 0, 0, 329, 334, 3, 62, 31, 0, 330, 331, 5, 64, 0, 0, 331, 333, 3, 62, 31, 0, 332, 330, 1, 0, 0, 0, 333, 336, 1, 0, 0, 0, 334, 332, 1, 0, 0, 0, 334, 335, 1, 0, 0, 0, 335, 49, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 337, 342, 3, 56, 28, 0, 338, 339, 5, 64, 0, 0, 339, 341, 3, 56, 28, 0, 340, 338, 1, 0, 0, 0, 341, 344, 1, 0, 0, 0, 342, 340, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 51, 1, 0, 0, 0, 344, 342, 1, 0, 0, 0, 345, 350, 3, 50, 25, 0, 346, 347, 5, 62, 0, 0, 347, 349, 3, 50, 25, 0, 348, 346, 1, 0, 0, 0, 349, 352, 1, 0, 0, 0, 350, 348, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 53, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 353, 354, 7, 1, 0, 0, 354, 55, 1, 0, 0, 0, 355, 359, 5, 128, 0, 0, 356, 359, 3, 58, 29, 0, 357, 359, 3, 60, 30, 0, 358, 355, 1, 0, 0, 0, 358, 356, 1, 0, 0, 0, 358, 357, 1, 0, 0, 0, 359, 57, 1, 0, 0, 0, 360, 363, 5, 76, 0, 0, 361, 363, 5, 95, 0, 0, 362, 360, 1, 0, 0, 0, 362, 361, 1, 0, 0, 0, 363, 59, 1, 0, 0, 0, 364, 367, 5, 94, 0, 0, 365, 367, 5, 96, 0, 0, 366, 364, 1, 0, 0, 0, 366, 365, 1, 0, 0, 0, 367, 61, 1, 0, 0, 0, 368, 372, 3, 54, 27, 0, 369, 372, 3, 58, 29, 0, 370, 372, 3, 60, 30, 0, 371, 368, 1, 0, 0, 0, 371, 369, 1, 0, 0, 0, 371, 370, 1, 0, 0, 0, 372, 63, 1, 0, 0, 0, 373, 374, 5, 11, 0, 0, 374, 375, 3, 150, 75, 0, 375, 65, 1, 0, 0, 0, 376, 377, 5, 14, 0, 0, 377, 382, 3, 68, 34, 0, 378, 379, 5, 62, 0, 0, 379, 381, 3, 68, 34, 0, 380, 378, 1, 0, 0, 0, 381, 384, 1, 0, 0, 0, 382, 380, 1, 0, 0, 0, 382, 383, 1, 0, 0, 0, 383, 67, 1, 0, 0, 0, 384, 382, 1, 0, 0, 0, 385, 387, 3, 130, 65, 0, 386, 388, 7, 2, 0, 0, 387, 386, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 391, 1, 0, 0, 0, 389, 390, 5, 73, 0, 0, 390, 392, 7, 3, 0, 0, 391, 389, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 69, 1, 0, 0, 0, 393, 394, 5, 29, 0, 0, 394, 395, 3, 52, 26, 0, 395, 71, 1, 0, 0, 0, 396, 397, 5, 28, 0, 0, 397, 398, 3, 52, 26, 0, 398, 73, 1, 0, 0, 0, 399, 400, 5, 32, 0, 0, 400, 405, 3, 76, 38, 0, 401, 402, 5, 62, 0, 0, 402, 404, 3, 76, 38, 0, 403, 401, 1, 0, 0, 0, 404, 407, 1, 0, 0, 0, 405, 403, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 75, 1, 0, 0, 0, 407, 405, 1, 0, 0, 0, 408, 409, 3, 50, 25, 0, 409, 410, 5, 132, 0, 0, 410, 411, 3, 50, 25, 0, 411, 417, 1, 0, 0, 0, 412, 413, 3, 50, 25, 0, 413, 414, 5, 58, 0, 0, 414, 415, 3, 50, 25, 0, 415, 417, 1, 0, 0, 0, 416, 408, 1, 0, 0, 0, 416, 412, 1, 0, 0, 0, 417, 77, 1, 0, 0, 0, 418, 419, 5, 8, 0, 0, 419, 420, 3, 140, 70, 0, 420, 422, 3, 160, 80, 0, 421, 423, 3, 84, 42, 0, 422, 421, 1, 0, 0, 0, 422, 423, 1, 0, 0, 0, 423, 79, 1, 0, 0, 0, 424, 425, 5, 10, 0, 0, 425, 426, 3, 140, 70, 0, 426, 427, 3, 160, 80, 0, 427, 81, 1, 0, 0, 0, 428, 429, 5, 27, 0, 0, 429, 430, 3, 48, 24, 0, 430, 83, 1, 0, 0, 0, 431, 436, 3, 86, 43, 0, 432, 433, 5, 62, 0, 0, 433, 435, 3, 86, 43, 0, 434, 432, 1, 0, 0, 0, 435, 438, 1, 0, 0, 0, 436, 434, 1, 0, 0, 0, 436, 437, 1, 0, 0, 0, 437, 85, 1, 0, 0, 0, 438, 436, 1, 0, 0, 0, 439, 440, 3, 54, 27, 0, 440, 441, 5, 58, 0, 0, 441, 442, 3, 150, 75, 0, 442, 87, 1, 0, 0, 0, 443, 444, 5, 6, 0, 0, 444, 445, 3, 90, 45, 0, 445, 89, 1, 0, 0, 0, 446, 447, 5, 99, 0, 0, 447, 448, 3, 2, 1, 0, 448, 449, 5, 100, 0, 0, 449, 91, 1, 0, 0, 0, 450, 451, 5, 33, 0, 0, 451, 452, 5, 136, 0, 0, 452, 93, 1, 0, 0, 0, 453, 454, 5, 5, 0, 0, 454, 457, 5, 38, 0, 0, 455, 456, 5, 74, 0, 0, 456, 458, 3, 50, 25, 0, 457, 455, 1, 0, 0, 0, 457, 458, 1, 0, 0, 0, 458, 468, 1, 0, 0, 0, 459, 460, 5, 79, 0, 0, 460, 465, 3, 96, 48, 0, 461, 462, 5, 62, 0, 0, 462, 464, 3, 96, 48, 0, 463, 461, 1, 0, 0, 0, 464, 467, 1, 0, 0, 0, 465, 463, 1, 0, 0, 0, 465, 466, 1, 0, 0, 0, 466, 469, 1, 0, 0, 0, 467, 465, 1, 0, 0, 0, 468, 459, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 95, 1, 0, 0, 0, 470, 471, 3, 50, 25, 0, 471, 472, 5, 58, 0, 0, 472, 474, 1, 0, 0, 0, 473, 470, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 476, 3, 50, 25, 0, 476, 97, 1, 0, 0, 0, 477, 478, 5, 13, 0, 0, 478, 479, 3, 150, 75, 0, 479, 99, 1, 0, 0, 0, 480, 481, 5, 26, 0, 0, 481, 482, 3, 28, 14, 0, 482, 483, 5, 74, 0, 0, 483, 484, 3, 52, 26, 0, 484, 101, 1, 0, 0, 0, 485, 486, 5, 17, 0, 0, 486, 489, 3, 44, 22, 0, 487, 488, 5, 59, 0, 0, 488, 490, 3, 14, 7, 0, 489, 487, 1, 0, 0, 0, 489, 490, 1, 0, 0, 0, 490, 103, 1, 0, 0, 0, 491, 492, 5, 4, 0, 0, 492, 495, 3, 48, 24, 0, 493, 494, 5, 74, 0, 0, 494, 496, 3, 48, 24, 0, 495, 493, 1, 0, 0, 0, 495, 496, 1, 0, 0, 0, 496, 502, 1, 0, 0, 0, 497, 498, 5, 132, 0, 0, 498, 499, 3, 48, 24, 0, 499, 500, 5, 62, 0, 0, 500, 501, 3, 48, 24, 0, 501, 503, 1, 0, 0, 0, 502, 497, 1, 0, 0, 0, 502, 503, 1, 0, 0, 0, 503, 105, 1, 0, 0, 0, 504, 505, 5, 30, 0, 0, 505, 506, 3, 52, 26, 0, 506, 107, 1, 0, 0, 0, 507, 508, 5, 21, 0, 0, 508, 509, 3, 110, 55, 0, 509, 109, 1, 0, 0, 0, 510, 512, 3, 112, 56, 0, 511, 510, 1, 0, 0, 0, 512, 513, 1, 0, 0, 0, 513, 511, 1, 0, 0, 0, 513, 514, 1, 0, 0, 0, 514, 111, 1, 0, 0, 0, 515, 516, 5, 99, 0, 0, 516, 517, 3, 114, 57, 0, 517, 518, 5, 100, 0, 0, 518, 113, 1, 0, 0, 0, 519, 520, 6, 57, -1, 0, 520, 521, 3, 116, 58, 0, 521, 527, 1, 0, 0, 0, 522, 523, 10, 1, 0, 0, 523, 524, 5, 52, 0, 0, 524, 526, 3, 116, 58, 0, 525, 522, 1, 0, 0, 0, 526, 529, 1, 0, 0, 0, 527, 525, 1, 0, 0, 0, 527, 528, 1, 0, 0, 0, 528, 115, 1, 0, 0, 0, 529, 527, 1, 0, 0, 0, 530, 531, 3, 6, 3, 0, 531, 117, 1, 0, 0, 0, 532, 533, 5, 31, 0, 0, 533, 119, 1, 0, 0, 0, 534, 539, 3, 122, 61, 0, 535, 536, 5, 62, 0, 0, 536, 538, 3, 122, 61, 0, 537, 535, 1, 0, 0, 0, 538, 541, 1, 0, 0, 0, 539, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540, 121, 1, 0, 0, 0, 541, 539, 1, 0, 0, 0, 542, 543, 3, 54, 27, 0, 543, 544, 5, 58, 0, 0, 544, 545, 3, 124, 62, 0, 545, 123, 1, 0, 0, 0, 546, 549, 3, 150, 75, 0, 547, 549, 3, 54, 27, 0, 548, 546, 1, 0, 0, 0, 548, 547, 1, 0, 0, 0, 549, 125, 1, 0, 0, 0, 550, 551, 5, 18, 0, 0, 551, 552, 3, 150, 75, 0, 552, 553, 5, 74, 0, 0, 553, 556, 3, 18, 9, 0, 554, 555, 5, 79, 0, 0, 555, 557, 3, 120, 60, 0, 556, 554, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 127, 1, 0, 0, 0, 558, 562, 5, 7, 0, 0, 559, 560, 3, 48, 24, 0, 560, 561, 5, 58, 0, 0, 561, 563, 1, 0, 0, 0, 562, 559, 1, 0, 0, 0, 562, 563, 1, 0, 0, 0, 563, 564, 1, 0, 0, 0, 564, 565, 3, 140, 70, 0, 565, 566, 5, 79, 0, 0, 566, 567, 3, 62, 31, 0, 567, 129, 1, 0, 0, 0, 568, 569, 6, 65, -1, 0, 569, 570, 5, 71, 0, 0, 570, 598, 3, 130, 65, 8, 571, 598, 3, 136, 68, 0, 572, 598, 3, 132, 66, 0, 573, 575, 3, 136, 68, 0, 574, 576, 5, 71, 0, 0, 575, 574, 1, 0, 0, 0, 575, 576, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 578, 5, 67, 0, 0, 578, 579, 5, 99, 0, 0, 579, 584, 3, 136, 68, 0, 580, 581, 5, 62, 0, 0, 581, 583, 3, 136, 68, 0, 582, 580, 1, 0, 0, 0, 583, 586, 1, 0, 0, 0, 584, 582, 1, 0, 0, 0, 584, 585, 1, 0, 0, 0, 585, 587, 1, 0, 0, 0, 586, 584, 1, 0, 0, 0, 587, 588, 5, 100, 0, 0, 588, 598, 1, 0, 0, 0, 589, 590, 3, 136, 68, 0, 590, 592, 5, 68, 0, 0, 591, 593, 5, 71, 0, 0, 592, 591, 1, 0, 0, 0, 592, 593, 1, 0, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 5, 72, 0, 0, 595, 598, 1, 0, 0, 0, 596, 598, 3, 134, 67, 0, 597, 568, 1, 0, 0, 0, 597, 571, 1, 0, 0, 0, 597, 572, 1, 0, 0, 0, 597, 573, 1, 0, 0, 0, 597, 589, 1, 0, 0, 0, 597, 596, 1, 0, 0, 0, 598, 607, 1, 0, 0, 0, 599, 600, 10, 5, 0, 0, 600, 601, 5, 56, 0, 0, 601, 606, 3, 130, 65, 6, 602, 603, 10, 4, 0, 0, 603, 604, 5, 75, 0, 0, 604, 606, 3, 130, 65, 5, 605, 599, 1, 0, 0, 0, 605, 602, 1, 0, 0, 0, 606, 609, 1, 0, 0, 0, 607, 605, 1, 0, 0, 0, 607, 608, 1, 0, 0, 0, 608, 131, 1, 0, 0, 0, 609, 607, 1, 0, 0, 0, 610, 612, 3, 136, 68, 0, 611, 613, 5, 71, 0, 0, 612, 611, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 1, 0, 0, 0, 614, 615, 5, 70, 0, 0, 615, 616, 3, 160, 80, 0, 616, 657, 1, 0, 0, 0, 617, 619, 3, 136, 68, 0, 618, 620, 5, 71, 0, 0, 619, 618, 1, 0, 0, 0, 619, 620, 1, 0, 0, 0, 620, 621, 1, 0, 0, 0, 621, 622, 5, 77, 0, 0, 622, 623, 3, 160, 80, 0, 623, 657, 1, 0, 0, 0, 624, 626, 3, 136, 68, 0, 625, 627, 5, 71, 0, 0, 626, 625, 1, 0, 0, 0, 626, 627, 1, 0, 0, 0, 627, 628, 1, 0, 0, 0, 628, 629, 5, 70, 0, 0, 629, 630, 5, 99, 0, 0, 630, 635, 3, 160, 80, 0, 631, 632, 5, 62, 0, 0, 632, 634, 3, 160, 80, 0, 633, 631, 1, 0, 0, 0, 634, 637, 1, 0, 0, 0, 635, 633, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 638, 1, 0, 0, 0, 637, 635, 1, 0, 0, 0, 638, 639, 5, 100, 0, 0, 639, 657, 1, 0, 0, 0, 640, 642, 3, 136, 68, 0, 641, 643, 5, 71, 0, 0, 642, 641, 1, 0, 0, 0, 642, 643, 1, 0, 0, 0, 643, 644, 1, 0, 0, 0, 644, 645, 5, 77, 0, 0, 645, 646, 5, 99, 0, 0, 646, 651, 3, 160, 80, 0, 647, 648, 5, 62, 0, 0, 648, 650, 3, 160, 80, 0, 649, 647, 1, 0, 0, 0, 650, 653, 1, 0, 0, 0, 651, 649, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 654, 1, 0, 0, 0, 653, 651, 1, 0, 0, 0, 654, 655, 5, 100, 0, 0, 655, 657, 1, 0, 0, 0, 656, 610, 1, 0, 0, 0, 656, 617, 1, 0, 0, 0, 656, 624, 1, 0, 0, 0, 656, 640, 1, 0, 0, 0, 657, 133, 1, 0, 0, 0, 658, 661, 3, 48, 24, 0, 659, 660, 5, 60, 0, 0, 660, 662, 3, 10, 5, 0, 661, 659, 1, 0, 0, 0, 661, 662, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 5, 61, 0, 0, 664, 665, 3, 150, 75, 0, 665, 135, 1, 0, 0, 0, 666, 672, 3, 138, 69, 0, 667, 668, 3, 138, 69, 0, 668, 669, 3, 162, 81, 0, 669, 670, 3, 138, 69, 0, 670, 672, 1, 0, 0, 0, 671, 666, 1, 0, 0, 0, 671, 667, 1, 0, 0, 0, 672, 137, 1, 0, 0, 0, 673, 674, 6, 69, -1, 0, 674, 678, 3, 140, 70, 0, 675, 676, 7, 4, 0, 0, 676, 678, 3, 138, 69, 3, 677, 673, 1, 0, 0, 0, 677, 675, 1, 0, 0, 0, 678, 687, 1, 0, 0, 0, 679, 680, 10, 2, 0, 0, 680, 681, 7, 5, 0, 0, 681, 686, 3, 138, 69, 3, 682, 683, 10, 1, 0, 0, 683, 684, 7, 4, 0, 0, 684, 686, 3, 138, 69, 2, 685, 679, 1, 0, 0, 0, 685, 682, 1, 0, 0, 0, 686, 689, 1, 0, 0, 0, 687, 685, 1, 0, 0, 0, 687, 688, 1, 0, 0, 0, 688, 139, 1, 0, 0, 0, 689, 687, 1, 0, 0, 0, 690, 691, 6, 70, -1, 0, 691, 699, 3, 150, 75, 0, 692, 699, 3, 48, 24, 0, 693, 699, 3, 142, 71, 0, 694, 695, 5, 99, 0, 0, 695, 696, 3, 130, 65, 0, 696, 697, 5, 100, 0, 0, 697, 699, 1, 0, 0, 0, 698, 690, 1, 0, 0, 0, 698, 692, 1, 0, 0, 0, 698, 693, 1, 0, 0, 0, 698, 694, 1, 0, 0, 0, 699, 705, 1, 0, 0, 0, 700, 701, 10, 1, 0, 0, 701, 702, 5, 60, 0, 0, 702, 704, 3, 10, 5, 0, 703, 700, 1, 0, 0, 0, 704, 707, 1, 0, 0, 0, 705, 703, 1, 0, 0, 0, 705, 706, 1, 0, 0, 0, 706, 141, 1, 0, 0, 0, 707, 705, 1, 0, 0, 0, 708, 709, 3, 144, 72, 0, 709, 723, 5, 99, 0, 0, 710, 724, 5, 89, 0, 0, 711, 716, 3, 130, 65, 0, 712, 713, 5, 62, 0, 0, 713, 715, 3, 130, 65, 0, 714, 712, 1, 0, 0, 0, 715, 718, 1, 0, 0, 0, 716, 714, 1, 0, 0, 0, 716, 717, 1, 0, 0, 0, 717, 721, 1, 0, 0, 0, 718, 716, 1, 0, 0, 0, 719, 720, 5, 62, 0, 0, 720, 722, 3, 146, 73, 0, 721, 719, 1, 0, 0, 0, 721, 722, 1, 0, 0, 0, 722, 724, 1, 0, 0, 0, 723, 710, 1, 0, 0, 0, 723, 711, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 5, 100, 0, 0, 726, 143, 1, 0, 0, 0, 727, 728, 3, 62, 31, 0, 728, 145, 1, 0, 0, 0, 729, 730, 5, 92, 0, 0, 730, 735, 3, 148, 74, 0, 731, 732, 5, 62, 0, 0, 732, 734, 3, 148, 74, 0, 733, 731, 1, 0, 0, 0, 734, 737, 1, 0, 0, 0, 735, 733, 1, 0, 0, 0, 735, 736, 1, 0, 0, 0, 736, 738, 1, 0, 0, 0, 737, 735, 1, 0, 0, 0, 738, 739, 5, 93, 0, 0, 739, 147, 1, 0, 0, 0, 740, 741, 3, 160, 80, 0, 741, 742, 5, 61, 0, 0, 742, 743, 3, 150, 75, 0, 743, 149, 1, 0, 0, 0, 744, 787, 5, 72, 0, 0, 745, 746, 3, 158, 79, 0, 746, 747, 5, 101, 0, 0, 747, 787, 1, 0, 0, 0, 748, 787, 3, 156, 78, 0, 749, 787, 3, 158, 79, 0, 750, 787, 3, 152, 76, 0, 751, 787, 3, 58, 29, 0, 752, 787, 3, 160, 80, 0, 753, 754, 5, 97, 0, 0, 754, 759, 3, 154, 77, 0, 755, 756, 5, 62, 0, 0, 756, 758, 3, 154, 77, 0, 757, 755, 1, 0, 0, 0, 758, 761, 1, 0, 0, 0, 759, 757, 1, 0, 0, 0, 759, 760, 1, 0, 0, 0, 760, 762, 1, 0, 0, 0, 761, 759, 1, 0, 0, 0, 762, 763, 5, 98, 0, 0, 763, 787, 1, 0, 0, 0, 764, 765, 5, 97, 0, 0, 765, 770, 3, 152, 76, 0, 766, 767, 5, 62, 0, 0, 767, 769, 3, 152, 76, 0, 768, 766, 1, 0, 0, 0, 769, 772, 1, 0, 0, 0, 770, 768, 1, 0, 0, 0, 770, 771, 1, 0, 0, 0, 771, 773, 1, 0, 0, 0, 772, 770, 1, 0, 0, 0, 773, 774, 5, 98, 0, 0, 774, 787, 1, 0, 0, 0, 775, 776, 5, 97, 0, 0, 776, 781, 3, 160, 80, 0, 777, 778, 5, 62, 0, 0, 778, 780, 3, 160, 80, 0, 779, 777, 1, 0, 0, 0, 780, 783, 1, 0, 0, 0, 781, 779, 1, 0, 0, 0, 781, 782, 1, 0, 0, 0, 782, 784, 1, 0, 0, 0, 783, 781, 1, 0, 0, 0, 784, 785, 5, 98, 0, 0, 785, 787, 1, 0, 0, 0, 786, 744, 1, 0, 0, 0, 786, 745, 1, 0, 0, 0, 786, 748, 1, 0, 0, 0, 786, 749, 1, 0, 0, 0, 786, 750, 1, 0, 0, 0, 786, 751, 1, 0, 0, 0, 786, 752, 1, 0, 0, 0, 786, 753, 1, 0, 0, 0, 786, 764, 1, 0, 0, 0, 786, 775, 1, 0, 0, 0, 787, 151, 1, 0, 0, 0, 788, 789, 7, 6, 0, 0, 789, 153, 1, 0, 0, 0, 790, 793, 3, 156, 78, 0, 791, 793, 3, 158, 79, 0, 792, 790, 1, 0, 0, 0, 792, 791, 1, 0, 0, 0, 793, 155, 1, 0, 0, 0, 794, 796, 7, 4, 0, 0, 795, 794, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 797, 1, 0, 0, 0, 797, 798, 5, 55, 0, 0, 798, 157, 1, 0, 0, 0, 799, 801, 7, 4, 0, 0, 800, 799, 1, 0, 0, 0, 800, 801, 1, 0, 0, 0, 801, 802, 1, 0, 0, 0, 802, 803, 5, 54, 0, 0, 803, 159, 1, 0, 0, 0, 804, 805, 5, 53, 0, 0, 805, 161, 1, 0, 0, 0, 806, 807, 7, 7, 0, 0, 807, 163, 1, 0, 0, 0, 808, 809, 7, 8, 0, 0, 809, 810, 5, 114, 0, 0, 810, 811, 3, 166, 83, 0, 811, 812, 3, 168, 84, 0, 812, 165, 1, 0, 0, 0, 813, 814, 3, 28, 14, 0, 814, 167, 1, 0, 0, 0, 815, 816, 5, 74, 0, 0, 816, 821, 3, 170, 85, 0, 817, 818, 5, 62, 0, 0, 818, 820, 3, 170, 85, 0, 819, 817, 1, 0, 0, 0, 820, 823, 1, 0, 0, 0, 821, 819, 1, 0, 0, 0, 821, 822, 1, 0, 0, 0, 822, 169, 1, 0, 0, 0, 823, 821, 1, 0, 0, 0, 824, 825, 3, 136, 68, 0, 825, 171, 1, 0, 0, 0, 74, 183, 193, 222, 237, 243, 252, 258, 271, 275, 286, 302, 310, 314, 321, 327, 334, 342, 350, 358, 362, 366, 371, 382, 387, 391, 405, 416, 422, 436, 457, 465, 468, 473, 489, 495, 502, 513, 527, 539, 548, 556, 562, 575, 584, 592, 597, 605, 607, 612, 619, 626, 635, 642, 651, 656, 661, 671, 677, 685, 687, 698, 705, 716, 721, 723, 735, 759, 770, 781, 786, 792, 795, 800, 821] \ 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 8f9a1477ef9ea..7511ce327d366 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 @@ -5168,15 +5168,50 @@ public T accept(ParseTreeVisitor visitor) { else return visitor.visitChildren(this); } } + @SuppressWarnings("CheckReturnValue") + public static class RlikeListExpressionContext extends RegexBooleanExpressionContext { + public ValueExpressionContext valueExpression() { + return getRuleContext(ValueExpressionContext.class,0); + } + public TerminalNode RLIKE() { return getToken(EsqlBaseParser.RLIKE, 0); } + public TerminalNode LP() { return getToken(EsqlBaseParser.LP, 0); } + public List string() { + return getRuleContexts(StringContext.class); + } + public StringContext string(int i) { + return getRuleContext(StringContext.class,i); + } + public TerminalNode RP() { return getToken(EsqlBaseParser.RP, 0); } + public TerminalNode NOT() { return getToken(EsqlBaseParser.NOT, 0); } + public List COMMA() { return getTokens(EsqlBaseParser.COMMA); } + public TerminalNode COMMA(int i) { + return getToken(EsqlBaseParser.COMMA, i); + } + @SuppressWarnings("this-escape") + public RlikeListExpressionContext(RegexBooleanExpressionContext ctx) { copyFrom(ctx); } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterRlikeListExpression(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitRlikeListExpression(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitRlikeListExpression(this); + else return visitor.visitChildren(this); + } + } public final RegexBooleanExpressionContext regexBooleanExpression() throws RecognitionException { RegexBooleanExpressionContext _localctx = new RegexBooleanExpressionContext(_ctx, getState()); enterRule(_localctx, 132, RULE_regexBooleanExpression); int _la; try { - setState(640); + setState(656); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,54,_ctx) ) { case 1: _localctx = new LikeExpressionContext(_localctx); enterOuterAlt(_localctx, 1); @@ -5263,6 +5298,48 @@ public final RegexBooleanExpressionContext regexBooleanExpression() throws Recog match(RP); } break; + case 4: + _localctx = new RlikeListExpressionContext(_localctx); + enterOuterAlt(_localctx, 4); + { + setState(640); + valueExpression(); + setState(642); + _errHandler.sync(this); + _la = _input.LA(1); + if (_la==NOT) { + { + setState(641); + match(NOT); + } + } + + setState(644); + match(RLIKE); + setState(645); + match(LP); + setState(646); + string(); + setState(651); + _errHandler.sync(this); + _la = _input.LA(1); + while (_la==COMMA) { + { + { + setState(647); + match(COMMA); + setState(648); + string(); + } + } + setState(653); + _errHandler.sync(this); + _la = _input.LA(1); + } + setState(654); + match(RP); + } + break; } } catch (RecognitionException re) { @@ -5319,23 +5396,23 @@ public final MatchBooleanExpressionContext matchBooleanExpression() throws Recog try { enterOuterAlt(_localctx, 1); { - setState(642); + setState(658); ((MatchBooleanExpressionContext)_localctx).fieldExp = qualifiedName(); - setState(645); + setState(661); _errHandler.sync(this); _la = _input.LA(1); if (_la==CAST_OP) { { - setState(643); + setState(659); match(CAST_OP); - setState(644); + setState(660); ((MatchBooleanExpressionContext)_localctx).fieldType = dataType(); } } - setState(647); + setState(663); match(COLON); - setState(648); + setState(664); ((MatchBooleanExpressionContext)_localctx).matchQuery = constant(); } } @@ -5419,14 +5496,14 @@ public final ValueExpressionContext valueExpression() throws RecognitionExceptio ValueExpressionContext _localctx = new ValueExpressionContext(_ctx, getState()); enterRule(_localctx, 136, RULE_valueExpression); try { - setState(655); + setState(671); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,54,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) { case 1: _localctx = new ValueExpressionDefaultContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(650); + setState(666); operatorExpression(0); } break; @@ -5434,11 +5511,11 @@ public final ValueExpressionContext valueExpression() throws RecognitionExceptio _localctx = new ComparisonContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(651); + setState(667); ((ComparisonContext)_localctx).left = operatorExpression(0); - setState(652); + setState(668); comparisonOperator(); - setState(653); + setState(669); ((ComparisonContext)_localctx).right = operatorExpression(0); } break; @@ -5563,16 +5640,16 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE int _alt; enterOuterAlt(_localctx, 1); { - setState(661); + setState(677); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,55,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,57,_ctx) ) { case 1: { _localctx = new OperatorExpressionDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(658); + setState(674); primaryExpression(0); } break; @@ -5581,7 +5658,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _localctx = new ArithmeticUnaryContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(659); + setState(675); ((ArithmeticUnaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -5592,31 +5669,31 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(660); + setState(676); operatorExpression(3); } break; } _ctx.stop = _input.LT(-1); - setState(671); + setState(687); _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(); _prevctx = _localctx; { - setState(669); + setState(685); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,58,_ctx) ) { case 1: { _localctx = new ArithmeticBinaryContext(new OperatorExpressionContext(_parentctx, _parentState)); ((ArithmeticBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_operatorExpression); - setState(663); + setState(679); if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(664); + setState(680); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(((((_la - 89)) & ~0x3f) == 0 && ((1L << (_la - 89)) & 7L) != 0)) ) { @@ -5627,7 +5704,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(665); + setState(681); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(3); } break; @@ -5636,9 +5713,9 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _localctx = new ArithmeticBinaryContext(new OperatorExpressionContext(_parentctx, _parentState)); ((ArithmeticBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_operatorExpression); - setState(666); + setState(682); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(667); + setState(683); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -5649,16 +5726,16 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(668); + setState(684); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(2); } break; } } } - setState(673); + setState(689); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,57,_ctx); + _alt = getInterpreter().adaptivePredict(_input,59,_ctx); } } } @@ -5814,16 +5891,16 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc int _alt; enterOuterAlt(_localctx, 1); { - setState(682); + setState(698); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,58,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,60,_ctx) ) { case 1: { _localctx = new ConstantDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(675); + setState(691); constant(); } break; @@ -5832,7 +5909,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new DereferenceContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(676); + setState(692); qualifiedName(); } break; @@ -5841,7 +5918,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new FunctionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(677); + setState(693); functionExpression(); } break; @@ -5850,19 +5927,19 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new ParenthesizedExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(678); + setState(694); match(LP); - setState(679); + setState(695); booleanExpression(0); - setState(680); + setState(696); match(RP); } break; } _ctx.stop = _input.LT(-1); - setState(689); + setState(705); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,59,_ctx); + _alt = getInterpreter().adaptivePredict(_input,61,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { if ( _parseListeners!=null ) triggerExitRuleEvent(); @@ -5871,18 +5948,18 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc { _localctx = new InlineCastContext(new PrimaryExpressionContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_primaryExpression); - setState(684); + setState(700); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(685); + setState(701); match(CAST_OP); - setState(686); + setState(702); dataType(); } } } - setState(691); + setState(707); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,59,_ctx); + _alt = getInterpreter().adaptivePredict(_input,61,_ctx); } } } @@ -5946,16 +6023,16 @@ public final FunctionExpressionContext functionExpression() throws RecognitionEx int _alt; enterOuterAlt(_localctx, 1); { - setState(692); + setState(708); functionName(); - setState(693); + setState(709); match(LP); - setState(707); + setState(723); _errHandler.sync(this); switch (_input.LA(1)) { case ASTERISK: { - setState(694); + setState(710); match(ASTERISK); } break; @@ -5978,34 +6055,34 @@ public final FunctionExpressionContext functionExpression() throws RecognitionEx case QUOTED_IDENTIFIER: { { - setState(695); + setState(711); booleanExpression(0); - setState(700); + setState(716); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,60,_ctx); + _alt = getInterpreter().adaptivePredict(_input,62,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(696); + setState(712); match(COMMA); - setState(697); + setState(713); booleanExpression(0); } } } - setState(702); + setState(718); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,60,_ctx); + _alt = getInterpreter().adaptivePredict(_input,62,_ctx); } - setState(705); + setState(721); _errHandler.sync(this); _la = _input.LA(1); if (_la==COMMA) { { - setState(703); + setState(719); match(COMMA); - setState(704); + setState(720); mapExpression(); } } @@ -6018,7 +6095,7 @@ public final FunctionExpressionContext functionExpression() throws RecognitionEx default: break; } - setState(709); + setState(725); match(RP); } } @@ -6064,7 +6141,7 @@ public final FunctionNameContext functionName() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(711); + setState(727); identifierOrParameter(); } } @@ -6120,27 +6197,27 @@ public final MapExpressionContext mapExpression() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(713); + setState(729); match(LEFT_BRACES); - setState(714); + setState(730); entryExpression(); - setState(719); + setState(735); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(715); + setState(731); match(COMMA); - setState(716); + setState(732); entryExpression(); } } - setState(721); + setState(737); _errHandler.sync(this); _la = _input.LA(1); } - setState(722); + setState(738); match(RIGHT_BRACES); } } @@ -6192,11 +6269,11 @@ public final EntryExpressionContext entryExpression() throws RecognitionExceptio try { enterOuterAlt(_localctx, 1); { - setState(724); + setState(740); ((EntryExpressionContext)_localctx).key = string(); - setState(725); + setState(741); match(COLON); - setState(726); + setState(742); ((EntryExpressionContext)_localctx).value = constant(); } } @@ -6467,14 +6544,14 @@ public final ConstantContext constant() throws RecognitionException { enterRule(_localctx, 150, RULE_constant); int _la; try { - setState(770); + setState(786); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,69,_ctx) ) { case 1: _localctx = new NullLiteralContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(728); + setState(744); match(NULL); } break; @@ -6482,9 +6559,9 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new QualifiedIntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(729); + setState(745); integerValue(); - setState(730); + setState(746); match(UNQUOTED_IDENTIFIER); } break; @@ -6492,7 +6569,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new DecimalLiteralContext(_localctx); enterOuterAlt(_localctx, 3); { - setState(732); + setState(748); decimalValue(); } break; @@ -6500,7 +6577,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new IntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 4); { - setState(733); + setState(749); integerValue(); } break; @@ -6508,7 +6585,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new BooleanLiteralContext(_localctx); enterOuterAlt(_localctx, 5); { - setState(734); + setState(750); booleanValue(); } break; @@ -6516,7 +6593,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new InputParameterContext(_localctx); enterOuterAlt(_localctx, 6); { - setState(735); + setState(751); parameter(); } break; @@ -6524,7 +6601,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new StringLiteralContext(_localctx); enterOuterAlt(_localctx, 7); { - setState(736); + setState(752); string(); } break; @@ -6532,27 +6609,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new NumericArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 8); { - setState(737); + setState(753); match(OPENING_BRACKET); - setState(738); + setState(754); numericValue(); - setState(743); + setState(759); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(739); + setState(755); match(COMMA); - setState(740); + setState(756); numericValue(); } } - setState(745); + setState(761); _errHandler.sync(this); _la = _input.LA(1); } - setState(746); + setState(762); match(CLOSING_BRACKET); } break; @@ -6560,27 +6637,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new BooleanArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 9); { - setState(748); + setState(764); match(OPENING_BRACKET); - setState(749); + setState(765); booleanValue(); - setState(754); + setState(770); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(750); + setState(766); match(COMMA); - setState(751); + setState(767); booleanValue(); } } - setState(756); + setState(772); _errHandler.sync(this); _la = _input.LA(1); } - setState(757); + setState(773); match(CLOSING_BRACKET); } break; @@ -6588,27 +6665,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new StringArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 10); { - setState(759); + setState(775); match(OPENING_BRACKET); - setState(760); + setState(776); string(); - setState(765); + setState(781); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(761); + setState(777); match(COMMA); - setState(762); + setState(778); string(); } } - setState(767); + setState(783); _errHandler.sync(this); _la = _input.LA(1); } - setState(768); + setState(784); match(CLOSING_BRACKET); } break; @@ -6656,7 +6733,7 @@ public final BooleanValueContext booleanValue() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(772); + setState(788); _la = _input.LA(1); if ( !(_la==FALSE || _la==TRUE) ) { _errHandler.recoverInline(this); @@ -6711,20 +6788,20 @@ public final NumericValueContext numericValue() throws RecognitionException { NumericValueContext _localctx = new NumericValueContext(_ctx, getState()); enterRule(_localctx, 154, RULE_numericValue); try { - setState(776); + setState(792); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(774); + setState(790); decimalValue(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(775); + setState(791); integerValue(); } break; @@ -6773,12 +6850,12 @@ public final DecimalValueContext decimalValue() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(779); + setState(795); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(778); + setState(794); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -6791,7 +6868,7 @@ public final DecimalValueContext decimalValue() throws RecognitionException { } } - setState(781); + setState(797); match(DECIMAL_LITERAL); } } @@ -6838,12 +6915,12 @@ public final IntegerValueContext integerValue() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(784); + setState(800); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(783); + setState(799); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -6856,7 +6933,7 @@ public final IntegerValueContext integerValue() throws RecognitionException { } } - setState(786); + setState(802); match(INTEGER_LITERAL); } } @@ -6900,7 +6977,7 @@ public final StringContext string() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(788); + setState(804); match(QUOTED_STRING); } } @@ -6950,7 +7027,7 @@ public final ComparisonOperatorContext comparisonOperator() throws RecognitionEx try { enterOuterAlt(_localctx, 1); { - setState(790); + setState(806); _la = _input.LA(1); if ( !(((((_la - 80)) & ~0x3f) == 0 && ((1L << (_la - 80)) & 125L) != 0)) ) { _errHandler.recoverInline(this); @@ -7013,7 +7090,7 @@ public final JoinCommandContext joinCommand() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(792); + setState(808); ((JoinCommandContext)_localctx).type = _input.LT(1); _la = _input.LA(1); if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 54525952L) != 0)) ) { @@ -7024,11 +7101,11 @@ public final JoinCommandContext joinCommand() throws RecognitionException { _errHandler.reportMatch(this); consume(); } - setState(793); + setState(809); match(JOIN); - setState(794); + setState(810); joinTarget(); - setState(795); + setState(811); joinCondition(); } } @@ -7075,7 +7152,7 @@ public final JoinTargetContext joinTarget() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(797); + setState(813); ((JoinTargetContext)_localctx).index = indexPattern(); } } @@ -7130,27 +7207,27 @@ public final JoinConditionContext joinCondition() throws RecognitionException { int _alt; enterOuterAlt(_localctx, 1); { - setState(799); + setState(815); match(ON); - setState(800); + setState(816); joinPredicate(); - setState(805); + setState(821); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,71,_ctx); + _alt = getInterpreter().adaptivePredict(_input,73,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(801); + setState(817); match(COMMA); - setState(802); + setState(818); joinPredicate(); } } } - setState(807); + setState(823); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,71,_ctx); + _alt = getInterpreter().adaptivePredict(_input,73,_ctx); } } } @@ -7196,7 +7273,7 @@ public final JoinPredicateContext joinPredicate() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(808); + setState(824); valueExpression(); } } @@ -7295,7 +7372,7 @@ private boolean primaryExpression_sempred(PrimaryExpressionContext _localctx, in } public static final String _serializedATN = - "\u0004\u0001\u008b\u032b\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ + "\u0004\u0001\u008b\u033b\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"+ @@ -7373,425 +7450,435 @@ private boolean primaryExpression_sempred(PrimaryExpressionContext _localctx, in "A\u0001A\u0001A\u0001A\u0001A\u0005A\u025e\bA\nA\fA\u0261\tA\u0001B\u0001"+ "B\u0003B\u0265\bB\u0001B\u0001B\u0001B\u0001B\u0001B\u0003B\u026c\bB\u0001"+ "B\u0001B\u0001B\u0001B\u0001B\u0003B\u0273\bB\u0001B\u0001B\u0001B\u0001"+ - "B\u0001B\u0005B\u027a\bB\nB\fB\u027d\tB\u0001B\u0001B\u0003B\u0281\bB"+ - "\u0001C\u0001C\u0001C\u0003C\u0286\bC\u0001C\u0001C\u0001C\u0001D\u0001"+ - "D\u0001D\u0001D\u0001D\u0003D\u0290\bD\u0001E\u0001E\u0001E\u0001E\u0003"+ - "E\u0296\bE\u0001E\u0001E\u0001E\u0001E\u0001E\u0001E\u0005E\u029e\bE\n"+ - "E\fE\u02a1\tE\u0001F\u0001F\u0001F\u0001F\u0001F\u0001F\u0001F\u0001F"+ - "\u0003F\u02ab\bF\u0001F\u0001F\u0001F\u0005F\u02b0\bF\nF\fF\u02b3\tF\u0001"+ - "G\u0001G\u0001G\u0001G\u0001G\u0001G\u0005G\u02bb\bG\nG\fG\u02be\tG\u0001"+ - "G\u0001G\u0003G\u02c2\bG\u0003G\u02c4\bG\u0001G\u0001G\u0001H\u0001H\u0001"+ - "I\u0001I\u0001I\u0001I\u0005I\u02ce\bI\nI\fI\u02d1\tI\u0001I\u0001I\u0001"+ - "J\u0001J\u0001J\u0001J\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001"+ - "K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0005K\u02e6\bK\nK\fK\u02e9"+ - "\tK\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0005K\u02f1\bK\nK\fK\u02f4"+ - "\tK\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0005K\u02fc\bK\nK\fK\u02ff"+ - "\tK\u0001K\u0001K\u0003K\u0303\bK\u0001L\u0001L\u0001M\u0001M\u0003M\u0309"+ - "\bM\u0001N\u0003N\u030c\bN\u0001N\u0001N\u0001O\u0003O\u0311\bO\u0001"+ - "O\u0001O\u0001P\u0001P\u0001Q\u0001Q\u0001R\u0001R\u0001R\u0001R\u0001"+ - "R\u0001S\u0001S\u0001T\u0001T\u0001T\u0001T\u0005T\u0324\bT\nT\fT\u0327"+ - "\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\u0346\u0000\u00ac"+ - "\u0001\u0000\u0000\u0000\u0002\u00af\u0001\u0000\u0000\u0000\u0004\u00c1"+ - "\u0001\u0000\u0000\u0000\u0006\u00de\u0001\u0000\u0000\u0000\b\u00e0\u0001"+ - "\u0000\u0000\u0000\n\u00e3\u0001\u0000\u0000\u0000\f\u00e5\u0001\u0000"+ - "\u0000\u0000\u000e\u00e8\u0001\u0000\u0000\u0000\u0010\u00f3\u0001\u0000"+ - "\u0000\u0000\u0012\u00f7\u0001\u0000\u0000\u0000\u0014\u00ff\u0001\u0000"+ - "\u0000\u0000\u0016\u0104\u0001\u0000\u0000\u0000\u0018\u0107\u0001\u0000"+ - "\u0000\u0000\u001a\u010a\u0001\u0000\u0000\u0000\u001c\u011e\u0001\u0000"+ - "\u0000\u0000\u001e\u0120\u0001\u0000\u0000\u0000 \u0122\u0001\u0000\u0000"+ - "\u0000\"\u0124\u0001\u0000\u0000\u0000$\u0126\u0001\u0000\u0000\u0000"+ - "&\u0128\u0001\u0000\u0000\u0000(\u0131\u0001\u0000\u0000\u0000*\u0134"+ - "\u0001\u0000\u0000\u0000,\u013c\u0001\u0000\u0000\u0000.\u0144\u0001\u0000"+ - "\u0000\u00000\u0149\u0001\u0000\u0000\u00002\u0151\u0001\u0000\u0000\u0000"+ - "4\u0159\u0001\u0000\u0000\u00006\u0161\u0001\u0000\u0000\u00008\u0166"+ - "\u0001\u0000\u0000\u0000:\u016a\u0001\u0000\u0000\u0000<\u016e\u0001\u0000"+ - "\u0000\u0000>\u0173\u0001\u0000\u0000\u0000@\u0175\u0001\u0000\u0000\u0000"+ - "B\u0178\u0001\u0000\u0000\u0000D\u0181\u0001\u0000\u0000\u0000F\u0189"+ - "\u0001\u0000\u0000\u0000H\u018c\u0001\u0000\u0000\u0000J\u018f\u0001\u0000"+ - "\u0000\u0000L\u01a0\u0001\u0000\u0000\u0000N\u01a2\u0001\u0000\u0000\u0000"+ - "P\u01a8\u0001\u0000\u0000\u0000R\u01ac\u0001\u0000\u0000\u0000T\u01af"+ - "\u0001\u0000\u0000\u0000V\u01b7\u0001\u0000\u0000\u0000X\u01bb\u0001\u0000"+ - "\u0000\u0000Z\u01be\u0001\u0000\u0000\u0000\\\u01c2\u0001\u0000\u0000"+ - "\u0000^\u01c5\u0001\u0000\u0000\u0000`\u01d9\u0001\u0000\u0000\u0000b"+ - "\u01dd\u0001\u0000\u0000\u0000d\u01e0\u0001\u0000\u0000\u0000f\u01e5\u0001"+ - "\u0000\u0000\u0000h\u01eb\u0001\u0000\u0000\u0000j\u01f8\u0001\u0000\u0000"+ - "\u0000l\u01fb\u0001\u0000\u0000\u0000n\u01ff\u0001\u0000\u0000\u0000p"+ - "\u0203\u0001\u0000\u0000\u0000r\u0207\u0001\u0000\u0000\u0000t\u0212\u0001"+ - "\u0000\u0000\u0000v\u0214\u0001\u0000\u0000\u0000x\u0216\u0001\u0000\u0000"+ - "\u0000z\u021e\u0001\u0000\u0000\u0000|\u0224\u0001\u0000\u0000\u0000~"+ - "\u0226\u0001\u0000\u0000\u0000\u0080\u022e\u0001\u0000\u0000\u0000\u0082"+ - "\u0255\u0001\u0000\u0000\u0000\u0084\u0280\u0001\u0000\u0000\u0000\u0086"+ - "\u0282\u0001\u0000\u0000\u0000\u0088\u028f\u0001\u0000\u0000\u0000\u008a"+ - "\u0295\u0001\u0000\u0000\u0000\u008c\u02aa\u0001\u0000\u0000\u0000\u008e"+ - "\u02b4\u0001\u0000\u0000\u0000\u0090\u02c7\u0001\u0000\u0000\u0000\u0092"+ - "\u02c9\u0001\u0000\u0000\u0000\u0094\u02d4\u0001\u0000\u0000\u0000\u0096"+ - "\u0302\u0001\u0000\u0000\u0000\u0098\u0304\u0001\u0000\u0000\u0000\u009a"+ - "\u0308\u0001\u0000\u0000\u0000\u009c\u030b\u0001\u0000\u0000\u0000\u009e"+ - "\u0310\u0001\u0000\u0000\u0000\u00a0\u0314\u0001\u0000\u0000\u0000\u00a2"+ - "\u0316\u0001\u0000\u0000\u0000\u00a4\u0318\u0001\u0000\u0000\u0000\u00a6"+ - "\u031d\u0001\u0000\u0000\u0000\u00a8\u031f\u0001\u0000\u0000\u0000\u00aa"+ - "\u0328\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\u00c2"+ - "\u0003\u0016\u000b\u0000\u00bb\u00c2\u0003\f\u0006\u0000\u00bc\u00c2\u0003"+ - "\\.\u0000\u00bd\u00be\u0004\u0002\u0001\u0000\u00be\u00c2\u0003\u0018"+ - "\f\u0000\u00bf\u00c0\u0004\u0002\u0002\u0000\u00c0\u00c2\u0003X,\u0000"+ - "\u00c1\u00ba\u0001\u0000\u0000\u0000\u00c1\u00bb\u0001\u0000\u0000\u0000"+ - "\u00c1\u00bc\u0001\u0000\u0000\u0000\u00c1\u00bd\u0001\u0000\u0000\u0000"+ - "\u00c1\u00bf\u0001\u0000\u0000\u0000\u00c2\u0005\u0001\u0000\u0000\u0000"+ - "\u00c3\u00df\u0003(\u0014\u0000\u00c4\u00df\u0003\b\u0004\u0000\u00c5"+ - "\u00df\u0003F#\u0000\u00c6\u00df\u0003@ \u0000\u00c7\u00df\u0003*\u0015"+ - "\u0000\u00c8\u00df\u0003B!\u0000\u00c9\u00df\u0003H$\u0000\u00ca\u00df"+ - "\u0003J%\u0000\u00cb\u00df\u0003N\'\u0000\u00cc\u00df\u0003P(\u0000\u00cd"+ - "\u00df\u0003^/\u0000\u00ce\u00df\u0003R)\u0000\u00cf\u00df\u0003\u00a4"+ - "R\u0000\u00d0\u00df\u0003h4\u0000\u00d1\u00df\u0003\u0080@\u0000\u00d2"+ - "\u00df\u0003b1\u0000\u00d3\u00df\u0003l6\u0000\u00d4\u00d5\u0004\u0003"+ - "\u0003\u0000\u00d5\u00df\u0003f3\u0000\u00d6\u00d7\u0004\u0003\u0004\u0000"+ - "\u00d7\u00df\u0003d2\u0000\u00d8\u00d9\u0004\u0003\u0005\u0000\u00d9\u00df"+ - "\u0003j5\u0000\u00da\u00db\u0004\u0003\u0006\u0000\u00db\u00df\u0003~"+ - "?\u0000\u00dc\u00dd\u0004\u0003\u0007\u0000\u00dd\u00df\u0003v;\u0000"+ - "\u00de\u00c3\u0001\u0000\u0000\u0000\u00de\u00c4\u0001\u0000\u0000\u0000"+ - "\u00de\u00c5\u0001\u0000\u0000\u0000\u00de\u00c6\u0001\u0000\u0000\u0000"+ - "\u00de\u00c7\u0001\u0000\u0000\u0000\u00de\u00c8\u0001\u0000\u0000\u0000"+ - "\u00de\u00c9\u0001\u0000\u0000\u0000\u00de\u00ca\u0001\u0000\u0000\u0000"+ - "\u00de\u00cb\u0001\u0000\u0000\u0000\u00de\u00cc\u0001\u0000\u0000\u0000"+ - "\u00de\u00cd\u0001\u0000\u0000\u0000\u00de\u00ce\u0001\u0000\u0000\u0000"+ - "\u00de\u00cf\u0001\u0000\u0000\u0000\u00de\u00d0\u0001\u0000\u0000\u0000"+ - "\u00de\u00d1\u0001\u0000\u0000\u0000\u00de\u00d2\u0001\u0000\u0000\u0000"+ - "\u00de\u00d3\u0001\u0000\u0000\u0000\u00de\u00d4\u0001\u0000\u0000\u0000"+ - "\u00de\u00d6\u0001\u0000\u0000\u0000\u00de\u00d8\u0001\u0000\u0000\u0000"+ - "\u00de\u00da\u0001\u0000\u0000\u0000\u00de\u00dc\u0001\u0000\u0000\u0000"+ - "\u00df\u0007\u0001\u0000\u0000\u0000\u00e0\u00e1\u0005\u0010\u0000\u0000"+ - "\u00e1\u00e2\u0003\u0082A\u0000\u00e2\t\u0001\u0000\u0000\u0000\u00e3"+ - "\u00e4\u00036\u001b\u0000\u00e4\u000b\u0001\u0000\u0000\u0000\u00e5\u00e6"+ - "\u0005\f\u0000\u0000\u00e6\u00e7\u0003\u000e\u0007\u0000\u00e7\r\u0001"+ - "\u0000\u0000\u0000\u00e8\u00ed\u0003\u0010\b\u0000\u00e9\u00ea\u0005>"+ - "\u0000\u0000\u00ea\u00ec\u0003\u0010\b\u0000\u00eb\u00e9\u0001\u0000\u0000"+ - "\u0000\u00ec\u00ef\u0001\u0000\u0000\u0000\u00ed\u00eb\u0001\u0000\u0000"+ - "\u0000\u00ed\u00ee\u0001\u0000\u0000\u0000\u00ee\u000f\u0001\u0000\u0000"+ - "\u0000\u00ef\u00ed\u0001\u0000\u0000\u0000\u00f0\u00f1\u00030\u0018\u0000"+ - "\u00f1\u00f2\u0005:\u0000\u0000\u00f2\u00f4\u0001\u0000\u0000\u0000\u00f3"+ - "\u00f0\u0001\u0000\u0000\u0000\u00f3\u00f4\u0001\u0000\u0000\u0000\u00f4"+ - "\u00f5\u0001\u0000\u0000\u0000\u00f5\u00f6\u0003\u0082A\u0000\u00f6\u0011"+ - "\u0001\u0000\u0000\u0000\u00f7\u00fc\u0003\u0014\n\u0000\u00f8\u00f9\u0005"+ - ">\u0000\u0000\u00f9\u00fb\u0003\u0014\n\u0000\u00fa\u00f8\u0001\u0000"+ - "\u0000\u0000\u00fb\u00fe\u0001\u0000\u0000\u0000\u00fc\u00fa\u0001\u0000"+ - "\u0000\u0000\u00fc\u00fd\u0001\u0000\u0000\u0000\u00fd\u0013\u0001\u0000"+ - "\u0000\u0000\u00fe\u00fc\u0001\u0000\u0000\u0000\u00ff\u0102\u00030\u0018"+ - "\u0000\u0100\u0101\u0005:\u0000\u0000\u0101\u0103\u0003\u0082A\u0000\u0102"+ - "\u0100\u0001\u0000\u0000\u0000\u0102\u0103\u0001\u0000\u0000\u0000\u0103"+ - "\u0015\u0001\u0000\u0000\u0000\u0104\u0105\u0005\u0013\u0000\u0000\u0105"+ - "\u0106\u0003\u001a\r\u0000\u0106\u0017\u0001\u0000\u0000\u0000\u0107\u0108"+ - "\u0005\u0014\u0000\u0000\u0108\u0109\u0003\u001a\r\u0000\u0109\u0019\u0001"+ - "\u0000\u0000\u0000\u010a\u010f\u0003\u001c\u000e\u0000\u010b\u010c\u0005"+ - ">\u0000\u0000\u010c\u010e\u0003\u001c\u000e\u0000\u010d\u010b\u0001\u0000"+ - "\u0000\u0000\u010e\u0111\u0001\u0000\u0000\u0000\u010f\u010d\u0001\u0000"+ - "\u0000\u0000\u010f\u0110\u0001\u0000\u0000\u0000\u0110\u0113\u0001\u0000"+ - "\u0000\u0000\u0111\u010f\u0001\u0000\u0000\u0000\u0112\u0114\u0003&\u0013"+ - "\u0000\u0113\u0112\u0001\u0000\u0000\u0000\u0113\u0114\u0001\u0000\u0000"+ - "\u0000\u0114\u001b\u0001\u0000\u0000\u0000\u0115\u0116\u0003\u001e\u000f"+ - "\u0000\u0116\u0117\u0005=\u0000\u0000\u0117\u0118\u0003\"\u0011\u0000"+ - "\u0118\u011f\u0001\u0000\u0000\u0000\u0119\u011a\u0003\"\u0011\u0000\u011a"+ - "\u011b\u0005<\u0000\u0000\u011b\u011c\u0003 \u0010\u0000\u011c\u011f\u0001"+ - "\u0000\u0000\u0000\u011d\u011f\u0003$\u0012\u0000\u011e\u0115\u0001\u0000"+ - "\u0000\u0000\u011e\u0119\u0001\u0000\u0000\u0000\u011e\u011d\u0001\u0000"+ - "\u0000\u0000\u011f\u001d\u0001\u0000\u0000\u0000\u0120\u0121\u0005k\u0000"+ - "\u0000\u0121\u001f\u0001\u0000\u0000\u0000\u0122\u0123\u0005k\u0000\u0000"+ - "\u0123!\u0001\u0000\u0000\u0000\u0124\u0125\u0005k\u0000\u0000\u0125#"+ - "\u0001\u0000\u0000\u0000\u0126\u0127\u0007\u0000\u0000\u0000\u0127%\u0001"+ - "\u0000\u0000\u0000\u0128\u0129\u0005j\u0000\u0000\u0129\u012e\u0005k\u0000"+ - "\u0000\u012a\u012b\u0005>\u0000\u0000\u012b\u012d\u0005k\u0000\u0000\u012c"+ - "\u012a\u0001\u0000\u0000\u0000\u012d\u0130\u0001\u0000\u0000\u0000\u012e"+ - "\u012c\u0001\u0000\u0000\u0000\u012e\u012f\u0001\u0000\u0000\u0000\u012f"+ - "\'\u0001\u0000\u0000\u0000\u0130\u012e\u0001\u0000\u0000\u0000\u0131\u0132"+ - "\u0005\t\u0000\u0000\u0132\u0133\u0003\u000e\u0007\u0000\u0133)\u0001"+ - "\u0000\u0000\u0000\u0134\u0136\u0005\u000f\u0000\u0000\u0135\u0137\u0003"+ - ",\u0016\u0000\u0136\u0135\u0001\u0000\u0000\u0000\u0136\u0137\u0001\u0000"+ - "\u0000\u0000\u0137\u013a\u0001\u0000\u0000\u0000\u0138\u0139\u0005;\u0000"+ - "\u0000\u0139\u013b\u0003\u000e\u0007\u0000\u013a\u0138\u0001\u0000\u0000"+ - "\u0000\u013a\u013b\u0001\u0000\u0000\u0000\u013b+\u0001\u0000\u0000\u0000"+ - "\u013c\u0141\u0003.\u0017\u0000\u013d\u013e\u0005>\u0000\u0000\u013e\u0140"+ - "\u0003.\u0017\u0000\u013f\u013d\u0001\u0000\u0000\u0000\u0140\u0143\u0001"+ - "\u0000\u0000\u0000\u0141\u013f\u0001\u0000\u0000\u0000\u0141\u0142\u0001"+ - "\u0000\u0000\u0000\u0142-\u0001\u0000\u0000\u0000\u0143\u0141\u0001\u0000"+ - "\u0000\u0000\u0144\u0147\u0003\u0010\b\u0000\u0145\u0146\u0005\u0010\u0000"+ - "\u0000\u0146\u0148\u0003\u0082A\u0000\u0147\u0145\u0001\u0000\u0000\u0000"+ - "\u0147\u0148\u0001\u0000\u0000\u0000\u0148/\u0001\u0000\u0000\u0000\u0149"+ - "\u014e\u0003>\u001f\u0000\u014a\u014b\u0005@\u0000\u0000\u014b\u014d\u0003"+ - ">\u001f\u0000\u014c\u014a\u0001\u0000\u0000\u0000\u014d\u0150\u0001\u0000"+ - "\u0000\u0000\u014e\u014c\u0001\u0000\u0000\u0000\u014e\u014f\u0001\u0000"+ - "\u0000\u0000\u014f1\u0001\u0000\u0000\u0000\u0150\u014e\u0001\u0000\u0000"+ - "\u0000\u0151\u0156\u00038\u001c\u0000\u0152\u0153\u0005@\u0000\u0000\u0153"+ - "\u0155\u00038\u001c\u0000\u0154\u0152\u0001\u0000\u0000\u0000\u0155\u0158"+ - "\u0001\u0000\u0000\u0000\u0156\u0154\u0001\u0000\u0000\u0000\u0156\u0157"+ - "\u0001\u0000\u0000\u0000\u01573\u0001\u0000\u0000\u0000\u0158\u0156\u0001"+ - "\u0000\u0000\u0000\u0159\u015e\u00032\u0019\u0000\u015a\u015b\u0005>\u0000"+ - "\u0000\u015b\u015d\u00032\u0019\u0000\u015c\u015a\u0001\u0000\u0000\u0000"+ - "\u015d\u0160\u0001\u0000\u0000\u0000\u015e\u015c\u0001\u0000\u0000\u0000"+ - "\u015e\u015f\u0001\u0000\u0000\u0000\u015f5\u0001\u0000\u0000\u0000\u0160"+ - "\u015e\u0001\u0000\u0000\u0000\u0161\u0162\u0007\u0001\u0000\u0000\u0162"+ - "7\u0001\u0000\u0000\u0000\u0163\u0167\u0005\u0080\u0000\u0000\u0164\u0167"+ - "\u0003:\u001d\u0000\u0165\u0167\u0003<\u001e\u0000\u0166\u0163\u0001\u0000"+ - "\u0000\u0000\u0166\u0164\u0001\u0000\u0000\u0000\u0166\u0165\u0001\u0000"+ - "\u0000\u0000\u01679\u0001\u0000\u0000\u0000\u0168\u016b\u0005L\u0000\u0000"+ - "\u0169\u016b\u0005_\u0000\u0000\u016a\u0168\u0001\u0000\u0000\u0000\u016a"+ - "\u0169\u0001\u0000\u0000\u0000\u016b;\u0001\u0000\u0000\u0000\u016c\u016f"+ - "\u0005^\u0000\u0000\u016d\u016f\u0005`\u0000\u0000\u016e\u016c\u0001\u0000"+ - "\u0000\u0000\u016e\u016d\u0001\u0000\u0000\u0000\u016f=\u0001\u0000\u0000"+ - "\u0000\u0170\u0174\u00036\u001b\u0000\u0171\u0174\u0003:\u001d\u0000\u0172"+ - "\u0174\u0003<\u001e\u0000\u0173\u0170\u0001\u0000\u0000\u0000\u0173\u0171"+ - "\u0001\u0000\u0000\u0000\u0173\u0172\u0001\u0000\u0000\u0000\u0174?\u0001"+ - "\u0000\u0000\u0000\u0175\u0176\u0005\u000b\u0000\u0000\u0176\u0177\u0003"+ - "\u0096K\u0000\u0177A\u0001\u0000\u0000\u0000\u0178\u0179\u0005\u000e\u0000"+ - "\u0000\u0179\u017e\u0003D\"\u0000\u017a\u017b\u0005>\u0000\u0000\u017b"+ - "\u017d\u0003D\"\u0000\u017c\u017a\u0001\u0000\u0000\u0000\u017d\u0180"+ - "\u0001\u0000\u0000\u0000\u017e\u017c\u0001\u0000\u0000\u0000\u017e\u017f"+ - "\u0001\u0000\u0000\u0000\u017fC\u0001\u0000\u0000\u0000\u0180\u017e\u0001"+ - "\u0000\u0000\u0000\u0181\u0183\u0003\u0082A\u0000\u0182\u0184\u0007\u0002"+ - "\u0000\u0000\u0183\u0182\u0001\u0000\u0000\u0000\u0183\u0184\u0001\u0000"+ - "\u0000\u0000\u0184\u0187\u0001\u0000\u0000\u0000\u0185\u0186\u0005I\u0000"+ - "\u0000\u0186\u0188\u0007\u0003\u0000\u0000\u0187\u0185\u0001\u0000\u0000"+ - "\u0000\u0187\u0188\u0001\u0000\u0000\u0000\u0188E\u0001\u0000\u0000\u0000"+ - "\u0189\u018a\u0005\u001d\u0000\u0000\u018a\u018b\u00034\u001a\u0000\u018b"+ - "G\u0001\u0000\u0000\u0000\u018c\u018d\u0005\u001c\u0000\u0000\u018d\u018e"+ - "\u00034\u001a\u0000\u018eI\u0001\u0000\u0000\u0000\u018f\u0190\u0005 "+ - "\u0000\u0000\u0190\u0195\u0003L&\u0000\u0191\u0192\u0005>\u0000\u0000"+ - "\u0192\u0194\u0003L&\u0000\u0193\u0191\u0001\u0000\u0000\u0000\u0194\u0197"+ - "\u0001\u0000\u0000\u0000\u0195\u0193\u0001\u0000\u0000\u0000\u0195\u0196"+ - "\u0001\u0000\u0000\u0000\u0196K\u0001\u0000\u0000\u0000\u0197\u0195\u0001"+ - "\u0000\u0000\u0000\u0198\u0199\u00032\u0019\u0000\u0199\u019a\u0005\u0084"+ - "\u0000\u0000\u019a\u019b\u00032\u0019\u0000\u019b\u01a1\u0001\u0000\u0000"+ - "\u0000\u019c\u019d\u00032\u0019\u0000\u019d\u019e\u0005:\u0000\u0000\u019e"+ - "\u019f\u00032\u0019\u0000\u019f\u01a1\u0001\u0000\u0000\u0000\u01a0\u0198"+ - "\u0001\u0000\u0000\u0000\u01a0\u019c\u0001\u0000\u0000\u0000\u01a1M\u0001"+ - "\u0000\u0000\u0000\u01a2\u01a3\u0005\b\u0000\u0000\u01a3\u01a4\u0003\u008c"+ - "F\u0000\u01a4\u01a6\u0003\u00a0P\u0000\u01a5\u01a7\u0003T*\u0000\u01a6"+ - "\u01a5\u0001\u0000\u0000\u0000\u01a6\u01a7\u0001\u0000\u0000\u0000\u01a7"+ - "O\u0001\u0000\u0000\u0000\u01a8\u01a9\u0005\n\u0000\u0000\u01a9\u01aa"+ - "\u0003\u008cF\u0000\u01aa\u01ab\u0003\u00a0P\u0000\u01abQ\u0001\u0000"+ - "\u0000\u0000\u01ac\u01ad\u0005\u001b\u0000\u0000\u01ad\u01ae\u00030\u0018"+ - "\u0000\u01aeS\u0001\u0000\u0000\u0000\u01af\u01b4\u0003V+\u0000\u01b0"+ - "\u01b1\u0005>\u0000\u0000\u01b1\u01b3\u0003V+\u0000\u01b2\u01b0\u0001"+ - "\u0000\u0000\u0000\u01b3\u01b6\u0001\u0000\u0000\u0000\u01b4\u01b2\u0001"+ - "\u0000\u0000\u0000\u01b4\u01b5\u0001\u0000\u0000\u0000\u01b5U\u0001\u0000"+ - "\u0000\u0000\u01b6\u01b4\u0001\u0000\u0000\u0000\u01b7\u01b8\u00036\u001b"+ - "\u0000\u01b8\u01b9\u0005:\u0000\u0000\u01b9\u01ba\u0003\u0096K\u0000\u01ba"+ - "W\u0001\u0000\u0000\u0000\u01bb\u01bc\u0005\u0006\u0000\u0000\u01bc\u01bd"+ - "\u0003Z-\u0000\u01bdY\u0001\u0000\u0000\u0000\u01be\u01bf\u0005c\u0000"+ - "\u0000\u01bf\u01c0\u0003\u0002\u0001\u0000\u01c0\u01c1\u0005d\u0000\u0000"+ - "\u01c1[\u0001\u0000\u0000\u0000\u01c2\u01c3\u0005!\u0000\u0000\u01c3\u01c4"+ - "\u0005\u0088\u0000\u0000\u01c4]\u0001\u0000\u0000\u0000\u01c5\u01c6\u0005"+ - "\u0005\u0000\u0000\u01c6\u01c9\u0005&\u0000\u0000\u01c7\u01c8\u0005J\u0000"+ - "\u0000\u01c8\u01ca\u00032\u0019\u0000\u01c9\u01c7\u0001\u0000\u0000\u0000"+ - "\u01c9\u01ca\u0001\u0000\u0000\u0000\u01ca\u01d4\u0001\u0000\u0000\u0000"+ - "\u01cb\u01cc\u0005O\u0000\u0000\u01cc\u01d1\u0003`0\u0000\u01cd\u01ce"+ - "\u0005>\u0000\u0000\u01ce\u01d0\u0003`0\u0000\u01cf\u01cd\u0001\u0000"+ - "\u0000\u0000\u01d0\u01d3\u0001\u0000\u0000\u0000\u01d1\u01cf\u0001\u0000"+ - "\u0000\u0000\u01d1\u01d2\u0001\u0000\u0000\u0000\u01d2\u01d5\u0001\u0000"+ - "\u0000\u0000\u01d3\u01d1\u0001\u0000\u0000\u0000\u01d4\u01cb\u0001\u0000"+ - "\u0000\u0000\u01d4\u01d5\u0001\u0000\u0000\u0000\u01d5_\u0001\u0000\u0000"+ - "\u0000\u01d6\u01d7\u00032\u0019\u0000\u01d7\u01d8\u0005:\u0000\u0000\u01d8"+ - "\u01da\u0001\u0000\u0000\u0000\u01d9\u01d6\u0001\u0000\u0000\u0000\u01d9"+ - "\u01da\u0001\u0000\u0000\u0000\u01da\u01db\u0001\u0000\u0000\u0000\u01db"+ - "\u01dc\u00032\u0019\u0000\u01dca\u0001\u0000\u0000\u0000\u01dd\u01de\u0005"+ - "\r\u0000\u0000\u01de\u01df\u0003\u0096K\u0000\u01dfc\u0001\u0000\u0000"+ - "\u0000\u01e0\u01e1\u0005\u001a\u0000\u0000\u01e1\u01e2\u0003\u001c\u000e"+ - "\u0000\u01e2\u01e3\u0005J\u0000\u0000\u01e3\u01e4\u00034\u001a\u0000\u01e4"+ - "e\u0001\u0000\u0000\u0000\u01e5\u01e6\u0005\u0011\u0000\u0000\u01e6\u01e9"+ - "\u0003,\u0016\u0000\u01e7\u01e8\u0005;\u0000\u0000\u01e8\u01ea\u0003\u000e"+ - "\u0007\u0000\u01e9\u01e7\u0001\u0000\u0000\u0000\u01e9\u01ea\u0001\u0000"+ - "\u0000\u0000\u01eag\u0001\u0000\u0000\u0000\u01eb\u01ec\u0005\u0004\u0000"+ - "\u0000\u01ec\u01ef\u00030\u0018\u0000\u01ed\u01ee\u0005J\u0000\u0000\u01ee"+ - "\u01f0\u00030\u0018\u0000\u01ef\u01ed\u0001\u0000\u0000\u0000\u01ef\u01f0"+ - "\u0001\u0000\u0000\u0000\u01f0\u01f6\u0001\u0000\u0000\u0000\u01f1\u01f2"+ - "\u0005\u0084\u0000\u0000\u01f2\u01f3\u00030\u0018\u0000\u01f3\u01f4\u0005"+ - ">\u0000\u0000\u01f4\u01f5\u00030\u0018\u0000\u01f5\u01f7\u0001\u0000\u0000"+ - "\u0000\u01f6\u01f1\u0001\u0000\u0000\u0000\u01f6\u01f7\u0001\u0000\u0000"+ - "\u0000\u01f7i\u0001\u0000\u0000\u0000\u01f8\u01f9\u0005\u001e\u0000\u0000"+ - "\u01f9\u01fa\u00034\u001a\u0000\u01fak\u0001\u0000\u0000\u0000\u01fb\u01fc"+ - "\u0005\u0015\u0000\u0000\u01fc\u01fd\u0003n7\u0000\u01fdm\u0001\u0000"+ - "\u0000\u0000\u01fe\u0200\u0003p8\u0000\u01ff\u01fe\u0001\u0000\u0000\u0000"+ - "\u0200\u0201\u0001\u0000\u0000\u0000\u0201\u01ff\u0001\u0000\u0000\u0000"+ - "\u0201\u0202\u0001\u0000\u0000\u0000\u0202o\u0001\u0000\u0000\u0000\u0203"+ - "\u0204\u0005c\u0000\u0000\u0204\u0205\u0003r9\u0000\u0205\u0206\u0005"+ - "d\u0000\u0000\u0206q\u0001\u0000\u0000\u0000\u0207\u0208\u00069\uffff"+ - "\uffff\u0000\u0208\u0209\u0003t:\u0000\u0209\u020f\u0001\u0000\u0000\u0000"+ - "\u020a\u020b\n\u0001\u0000\u0000\u020b\u020c\u00054\u0000\u0000\u020c"+ - "\u020e\u0003t:\u0000\u020d\u020a\u0001\u0000\u0000\u0000\u020e\u0211\u0001"+ - "\u0000\u0000\u0000\u020f\u020d\u0001\u0000\u0000\u0000\u020f\u0210\u0001"+ - "\u0000\u0000\u0000\u0210s\u0001\u0000\u0000\u0000\u0211\u020f\u0001\u0000"+ - "\u0000\u0000\u0212\u0213\u0003\u0006\u0003\u0000\u0213u\u0001\u0000\u0000"+ - "\u0000\u0214\u0215\u0005\u001f\u0000\u0000\u0215w\u0001\u0000\u0000\u0000"+ - "\u0216\u021b\u0003z=\u0000\u0217\u0218\u0005>\u0000\u0000\u0218\u021a"+ - "\u0003z=\u0000\u0219\u0217\u0001\u0000\u0000\u0000\u021a\u021d\u0001\u0000"+ - "\u0000\u0000\u021b\u0219\u0001\u0000\u0000\u0000\u021b\u021c\u0001\u0000"+ - "\u0000\u0000\u021cy\u0001\u0000\u0000\u0000\u021d\u021b\u0001\u0000\u0000"+ - "\u0000\u021e\u021f\u00036\u001b\u0000\u021f\u0220\u0005:\u0000\u0000\u0220"+ - "\u0221\u0003|>\u0000\u0221{\u0001\u0000\u0000\u0000\u0222\u0225\u0003"+ - "\u0096K\u0000\u0223\u0225\u00036\u001b\u0000\u0224\u0222\u0001\u0000\u0000"+ - "\u0000\u0224\u0223\u0001\u0000\u0000\u0000\u0225}\u0001\u0000\u0000\u0000"+ - "\u0226\u0227\u0005\u0012\u0000\u0000\u0227\u0228\u0003\u0096K\u0000\u0228"+ - "\u0229\u0005J\u0000\u0000\u0229\u022c\u0003\u0012\t\u0000\u022a\u022b"+ - "\u0005O\u0000\u0000\u022b\u022d\u0003x<\u0000\u022c\u022a\u0001\u0000"+ - "\u0000\u0000\u022c\u022d\u0001\u0000\u0000\u0000\u022d\u007f\u0001\u0000"+ - "\u0000\u0000\u022e\u0232\u0005\u0007\u0000\u0000\u022f\u0230\u00030\u0018"+ - "\u0000\u0230\u0231\u0005:\u0000\u0000\u0231\u0233\u0001\u0000\u0000\u0000"+ - "\u0232\u022f\u0001\u0000\u0000\u0000\u0232\u0233\u0001\u0000\u0000\u0000"+ - "\u0233\u0234\u0001\u0000\u0000\u0000\u0234\u0235\u0003\u008cF\u0000\u0235"+ - "\u0236\u0005O\u0000\u0000\u0236\u0237\u0003>\u001f\u0000\u0237\u0081\u0001"+ - "\u0000\u0000\u0000\u0238\u0239\u0006A\uffff\uffff\u0000\u0239\u023a\u0005"+ - "G\u0000\u0000\u023a\u0256\u0003\u0082A\b\u023b\u0256\u0003\u0088D\u0000"+ - "\u023c\u0256\u0003\u0084B\u0000\u023d\u023f\u0003\u0088D\u0000\u023e\u0240"+ - "\u0005G\u0000\u0000\u023f\u023e\u0001\u0000\u0000\u0000\u023f\u0240\u0001"+ - "\u0000\u0000\u0000\u0240\u0241\u0001\u0000\u0000\u0000\u0241\u0242\u0005"+ - "C\u0000\u0000\u0242\u0243\u0005c\u0000\u0000\u0243\u0248\u0003\u0088D"+ - "\u0000\u0244\u0245\u0005>\u0000\u0000\u0245\u0247\u0003\u0088D\u0000\u0246"+ - "\u0244\u0001\u0000\u0000\u0000\u0247\u024a\u0001\u0000\u0000\u0000\u0248"+ - "\u0246\u0001\u0000\u0000\u0000\u0248\u0249\u0001\u0000\u0000\u0000\u0249"+ - "\u024b\u0001\u0000\u0000\u0000\u024a\u0248\u0001\u0000\u0000\u0000\u024b"+ - "\u024c\u0005d\u0000\u0000\u024c\u0256\u0001\u0000\u0000\u0000\u024d\u024e"+ - "\u0003\u0088D\u0000\u024e\u0250\u0005D\u0000\u0000\u024f\u0251\u0005G"+ - "\u0000\u0000\u0250\u024f\u0001\u0000\u0000\u0000\u0250\u0251\u0001\u0000"+ - "\u0000\u0000\u0251\u0252\u0001\u0000\u0000\u0000\u0252\u0253\u0005H\u0000"+ - "\u0000\u0253\u0256\u0001\u0000\u0000\u0000\u0254\u0256\u0003\u0086C\u0000"+ - "\u0255\u0238\u0001\u0000\u0000\u0000\u0255\u023b\u0001\u0000\u0000\u0000"+ - "\u0255\u023c\u0001\u0000\u0000\u0000\u0255\u023d\u0001\u0000\u0000\u0000"+ - "\u0255\u024d\u0001\u0000\u0000\u0000\u0255\u0254\u0001\u0000\u0000\u0000"+ - "\u0256\u025f\u0001\u0000\u0000\u0000\u0257\u0258\n\u0005\u0000\u0000\u0258"+ - "\u0259\u00058\u0000\u0000\u0259\u025e\u0003\u0082A\u0006\u025a\u025b\n"+ - "\u0004\u0000\u0000\u025b\u025c\u0005K\u0000\u0000\u025c\u025e\u0003\u0082"+ - "A\u0005\u025d\u0257\u0001\u0000\u0000\u0000\u025d\u025a\u0001\u0000\u0000"+ - "\u0000\u025e\u0261\u0001\u0000\u0000\u0000\u025f\u025d\u0001\u0000\u0000"+ - "\u0000\u025f\u0260\u0001\u0000\u0000\u0000\u0260\u0083\u0001\u0000\u0000"+ - "\u0000\u0261\u025f\u0001\u0000\u0000\u0000\u0262\u0264\u0003\u0088D\u0000"+ - "\u0263\u0265\u0005G\u0000\u0000\u0264\u0263\u0001\u0000\u0000\u0000\u0264"+ - "\u0265\u0001\u0000\u0000\u0000\u0265\u0266\u0001\u0000\u0000\u0000\u0266"+ - "\u0267\u0005F\u0000\u0000\u0267\u0268\u0003\u00a0P\u0000\u0268\u0281\u0001"+ - "\u0000\u0000\u0000\u0269\u026b\u0003\u0088D\u0000\u026a\u026c\u0005G\u0000"+ - "\u0000\u026b\u026a\u0001\u0000\u0000\u0000\u026b\u026c\u0001\u0000\u0000"+ - "\u0000\u026c\u026d\u0001\u0000\u0000\u0000\u026d\u026e\u0005M\u0000\u0000"+ - "\u026e\u026f\u0003\u00a0P\u0000\u026f\u0281\u0001\u0000\u0000\u0000\u0270"+ - "\u0272\u0003\u0088D\u0000\u0271\u0273\u0005G\u0000\u0000\u0272\u0271\u0001"+ - "\u0000\u0000\u0000\u0272\u0273\u0001\u0000\u0000\u0000\u0273\u0274\u0001"+ - "\u0000\u0000\u0000\u0274\u0275\u0005F\u0000\u0000\u0275\u0276\u0005c\u0000"+ - "\u0000\u0276\u027b\u0003\u00a0P\u0000\u0277\u0278\u0005>\u0000\u0000\u0278"+ - "\u027a\u0003\u00a0P\u0000\u0279\u0277\u0001\u0000\u0000\u0000\u027a\u027d"+ - "\u0001\u0000\u0000\u0000\u027b\u0279\u0001\u0000\u0000\u0000\u027b\u027c"+ - "\u0001\u0000\u0000\u0000\u027c\u027e\u0001\u0000\u0000\u0000\u027d\u027b"+ - "\u0001\u0000\u0000\u0000\u027e\u027f\u0005d\u0000\u0000\u027f\u0281\u0001"+ - "\u0000\u0000\u0000\u0280\u0262\u0001\u0000\u0000\u0000\u0280\u0269\u0001"+ - "\u0000\u0000\u0000\u0280\u0270\u0001\u0000\u0000\u0000\u0281\u0085\u0001"+ - "\u0000\u0000\u0000\u0282\u0285\u00030\u0018\u0000\u0283\u0284\u0005<\u0000"+ - "\u0000\u0284\u0286\u0003\n\u0005\u0000\u0285\u0283\u0001\u0000\u0000\u0000"+ - "\u0285\u0286\u0001\u0000\u0000\u0000\u0286\u0287\u0001\u0000\u0000\u0000"+ - "\u0287\u0288\u0005=\u0000\u0000\u0288\u0289\u0003\u0096K\u0000\u0289\u0087"+ - "\u0001\u0000\u0000\u0000\u028a\u0290\u0003\u008aE\u0000\u028b\u028c\u0003"+ - "\u008aE\u0000\u028c\u028d\u0003\u00a2Q\u0000\u028d\u028e\u0003\u008aE"+ - "\u0000\u028e\u0290\u0001\u0000\u0000\u0000\u028f\u028a\u0001\u0000\u0000"+ - "\u0000\u028f\u028b\u0001\u0000\u0000\u0000\u0290\u0089\u0001\u0000\u0000"+ - "\u0000\u0291\u0292\u0006E\uffff\uffff\u0000\u0292\u0296\u0003\u008cF\u0000"+ - "\u0293\u0294\u0007\u0004\u0000\u0000\u0294\u0296\u0003\u008aE\u0003\u0295"+ - "\u0291\u0001\u0000\u0000\u0000\u0295\u0293\u0001\u0000\u0000\u0000\u0296"+ - "\u029f\u0001\u0000\u0000\u0000\u0297\u0298\n\u0002\u0000\u0000\u0298\u0299"+ - "\u0007\u0005\u0000\u0000\u0299\u029e\u0003\u008aE\u0003\u029a\u029b\n"+ - "\u0001\u0000\u0000\u029b\u029c\u0007\u0004\u0000\u0000\u029c\u029e\u0003"+ - "\u008aE\u0002\u029d\u0297\u0001\u0000\u0000\u0000\u029d\u029a\u0001\u0000"+ - "\u0000\u0000\u029e\u02a1\u0001\u0000\u0000\u0000\u029f\u029d\u0001\u0000"+ - "\u0000\u0000\u029f\u02a0\u0001\u0000\u0000\u0000\u02a0\u008b\u0001\u0000"+ - "\u0000\u0000\u02a1\u029f\u0001\u0000\u0000\u0000\u02a2\u02a3\u0006F\uffff"+ - "\uffff\u0000\u02a3\u02ab\u0003\u0096K\u0000\u02a4\u02ab\u00030\u0018\u0000"+ - "\u02a5\u02ab\u0003\u008eG\u0000\u02a6\u02a7\u0005c\u0000\u0000\u02a7\u02a8"+ - "\u0003\u0082A\u0000\u02a8\u02a9\u0005d\u0000\u0000\u02a9\u02ab\u0001\u0000"+ - "\u0000\u0000\u02aa\u02a2\u0001\u0000\u0000\u0000\u02aa\u02a4\u0001\u0000"+ - "\u0000\u0000\u02aa\u02a5\u0001\u0000\u0000\u0000\u02aa\u02a6\u0001\u0000"+ - "\u0000\u0000\u02ab\u02b1\u0001\u0000\u0000\u0000\u02ac\u02ad\n\u0001\u0000"+ - "\u0000\u02ad\u02ae\u0005<\u0000\u0000\u02ae\u02b0\u0003\n\u0005\u0000"+ - "\u02af\u02ac\u0001\u0000\u0000\u0000\u02b0\u02b3\u0001\u0000\u0000\u0000"+ - "\u02b1\u02af\u0001\u0000\u0000\u0000\u02b1\u02b2\u0001\u0000\u0000\u0000"+ - "\u02b2\u008d\u0001\u0000\u0000\u0000\u02b3\u02b1\u0001\u0000\u0000\u0000"+ - "\u02b4\u02b5\u0003\u0090H\u0000\u02b5\u02c3\u0005c\u0000\u0000\u02b6\u02c4"+ - "\u0005Y\u0000\u0000\u02b7\u02bc\u0003\u0082A\u0000\u02b8\u02b9\u0005>"+ - "\u0000\u0000\u02b9\u02bb\u0003\u0082A\u0000\u02ba\u02b8\u0001\u0000\u0000"+ - "\u0000\u02bb\u02be\u0001\u0000\u0000\u0000\u02bc\u02ba\u0001\u0000\u0000"+ - "\u0000\u02bc\u02bd\u0001\u0000\u0000\u0000\u02bd\u02c1\u0001\u0000\u0000"+ - "\u0000\u02be\u02bc\u0001\u0000\u0000\u0000\u02bf\u02c0\u0005>\u0000\u0000"+ - "\u02c0\u02c2\u0003\u0092I\u0000\u02c1\u02bf\u0001\u0000\u0000\u0000\u02c1"+ - "\u02c2\u0001\u0000\u0000\u0000\u02c2\u02c4\u0001\u0000\u0000\u0000\u02c3"+ - "\u02b6\u0001\u0000\u0000\u0000\u02c3\u02b7\u0001\u0000\u0000\u0000\u02c3"+ - "\u02c4\u0001\u0000\u0000\u0000\u02c4\u02c5\u0001\u0000\u0000\u0000\u02c5"+ - "\u02c6\u0005d\u0000\u0000\u02c6\u008f\u0001\u0000\u0000\u0000\u02c7\u02c8"+ - "\u0003>\u001f\u0000\u02c8\u0091\u0001\u0000\u0000\u0000\u02c9\u02ca\u0005"+ - "\\\u0000\u0000\u02ca\u02cf\u0003\u0094J\u0000\u02cb\u02cc\u0005>\u0000"+ - "\u0000\u02cc\u02ce\u0003\u0094J\u0000\u02cd\u02cb\u0001\u0000\u0000\u0000"+ - "\u02ce\u02d1\u0001\u0000\u0000\u0000\u02cf\u02cd\u0001\u0000\u0000\u0000"+ - "\u02cf\u02d0\u0001\u0000\u0000\u0000\u02d0\u02d2\u0001\u0000\u0000\u0000"+ - "\u02d1\u02cf\u0001\u0000\u0000\u0000\u02d2\u02d3\u0005]\u0000\u0000\u02d3"+ - "\u0093\u0001\u0000\u0000\u0000\u02d4\u02d5\u0003\u00a0P\u0000\u02d5\u02d6"+ - "\u0005=\u0000\u0000\u02d6\u02d7\u0003\u0096K\u0000\u02d7\u0095\u0001\u0000"+ - "\u0000\u0000\u02d8\u0303\u0005H\u0000\u0000\u02d9\u02da\u0003\u009eO\u0000"+ - "\u02da\u02db\u0005e\u0000\u0000\u02db\u0303\u0001\u0000\u0000\u0000\u02dc"+ - "\u0303\u0003\u009cN\u0000\u02dd\u0303\u0003\u009eO\u0000\u02de\u0303\u0003"+ - "\u0098L\u0000\u02df\u0303\u0003:\u001d\u0000\u02e0\u0303\u0003\u00a0P"+ - "\u0000\u02e1\u02e2\u0005a\u0000\u0000\u02e2\u02e7\u0003\u009aM\u0000\u02e3"+ - "\u02e4\u0005>\u0000\u0000\u02e4\u02e6\u0003\u009aM\u0000\u02e5\u02e3\u0001"+ - "\u0000\u0000\u0000\u02e6\u02e9\u0001\u0000\u0000\u0000\u02e7\u02e5\u0001"+ - "\u0000\u0000\u0000\u02e7\u02e8\u0001\u0000\u0000\u0000\u02e8\u02ea\u0001"+ - "\u0000\u0000\u0000\u02e9\u02e7\u0001\u0000\u0000\u0000\u02ea\u02eb\u0005"+ - "b\u0000\u0000\u02eb\u0303\u0001\u0000\u0000\u0000\u02ec\u02ed\u0005a\u0000"+ - "\u0000\u02ed\u02f2\u0003\u0098L\u0000\u02ee\u02ef\u0005>\u0000\u0000\u02ef"+ - "\u02f1\u0003\u0098L\u0000\u02f0\u02ee\u0001\u0000\u0000\u0000\u02f1\u02f4"+ - "\u0001\u0000\u0000\u0000\u02f2\u02f0\u0001\u0000\u0000\u0000\u02f2\u02f3"+ - "\u0001\u0000\u0000\u0000\u02f3\u02f5\u0001\u0000\u0000\u0000\u02f4\u02f2"+ - "\u0001\u0000\u0000\u0000\u02f5\u02f6\u0005b\u0000\u0000\u02f6\u0303\u0001"+ - "\u0000\u0000\u0000\u02f7\u02f8\u0005a\u0000\u0000\u02f8\u02fd\u0003\u00a0"+ - "P\u0000\u02f9\u02fa\u0005>\u0000\u0000\u02fa\u02fc\u0003\u00a0P\u0000"+ - "\u02fb\u02f9\u0001\u0000\u0000\u0000\u02fc\u02ff\u0001\u0000\u0000\u0000"+ - "\u02fd\u02fb\u0001\u0000\u0000\u0000\u02fd\u02fe\u0001\u0000\u0000\u0000"+ - "\u02fe\u0300\u0001\u0000\u0000\u0000\u02ff\u02fd\u0001\u0000\u0000\u0000"+ - "\u0300\u0301\u0005b\u0000\u0000\u0301\u0303\u0001\u0000\u0000\u0000\u0302"+ - "\u02d8\u0001\u0000\u0000\u0000\u0302\u02d9\u0001\u0000\u0000\u0000\u0302"+ - "\u02dc\u0001\u0000\u0000\u0000\u0302\u02dd\u0001\u0000\u0000\u0000\u0302"+ - "\u02de\u0001\u0000\u0000\u0000\u0302\u02df\u0001\u0000\u0000\u0000\u0302"+ - "\u02e0\u0001\u0000\u0000\u0000\u0302\u02e1\u0001\u0000\u0000\u0000\u0302"+ - "\u02ec\u0001\u0000\u0000\u0000\u0302\u02f7\u0001\u0000\u0000\u0000\u0303"+ - "\u0097\u0001\u0000\u0000\u0000\u0304\u0305\u0007\u0006\u0000\u0000\u0305"+ - "\u0099\u0001\u0000\u0000\u0000\u0306\u0309\u0003\u009cN\u0000\u0307\u0309"+ - "\u0003\u009eO\u0000\u0308\u0306\u0001\u0000\u0000\u0000\u0308\u0307\u0001"+ - "\u0000\u0000\u0000\u0309\u009b\u0001\u0000\u0000\u0000\u030a\u030c\u0007"+ - "\u0004\u0000\u0000\u030b\u030a\u0001\u0000\u0000\u0000\u030b\u030c\u0001"+ - "\u0000\u0000\u0000\u030c\u030d\u0001\u0000\u0000\u0000\u030d\u030e\u0005"+ - "7\u0000\u0000\u030e\u009d\u0001\u0000\u0000\u0000\u030f\u0311\u0007\u0004"+ - "\u0000\u0000\u0310\u030f\u0001\u0000\u0000\u0000\u0310\u0311\u0001\u0000"+ - "\u0000\u0000\u0311\u0312\u0001\u0000\u0000\u0000\u0312\u0313\u00056\u0000"+ - "\u0000\u0313\u009f\u0001\u0000\u0000\u0000\u0314\u0315\u00055\u0000\u0000"+ - "\u0315\u00a1\u0001\u0000\u0000\u0000\u0316\u0317\u0007\u0007\u0000\u0000"+ - "\u0317\u00a3\u0001\u0000\u0000\u0000\u0318\u0319\u0007\b\u0000\u0000\u0319"+ - "\u031a\u0005r\u0000\u0000\u031a\u031b\u0003\u00a6S\u0000\u031b\u031c\u0003"+ - "\u00a8T\u0000\u031c\u00a5\u0001\u0000\u0000\u0000\u031d\u031e\u0003\u001c"+ - "\u000e\u0000\u031e\u00a7\u0001\u0000\u0000\u0000\u031f\u0320\u0005J\u0000"+ - "\u0000\u0320\u0325\u0003\u00aaU\u0000\u0321\u0322\u0005>\u0000\u0000\u0322"+ - "\u0324\u0003\u00aaU\u0000\u0323\u0321\u0001\u0000\u0000\u0000\u0324\u0327"+ - "\u0001\u0000\u0000\u0000\u0325\u0323\u0001\u0000\u0000\u0000\u0325\u0326"+ - "\u0001\u0000\u0000\u0000\u0326\u00a9\u0001\u0000\u0000\u0000\u0327\u0325"+ - "\u0001\u0000\u0000\u0000\u0328\u0329\u0003\u0088D\u0000\u0329\u00ab\u0001"+ - "\u0000\u0000\u0000H\u00b7\u00c1\u00de\u00ed\u00f3\u00fc\u0102\u010f\u0113"+ - "\u011e\u012e\u0136\u013a\u0141\u0147\u014e\u0156\u015e\u0166\u016a\u016e"+ - "\u0173\u017e\u0183\u0187\u0195\u01a0\u01a6\u01b4\u01c9\u01d1\u01d4\u01d9"+ - "\u01e9\u01ef\u01f6\u0201\u020f\u021b\u0224\u022c\u0232\u023f\u0248\u0250"+ - "\u0255\u025d\u025f\u0264\u026b\u0272\u027b\u0280\u0285\u028f\u0295\u029d"+ - "\u029f\u02aa\u02b1\u02bc\u02c1\u02c3\u02cf\u02e7\u02f2\u02fd\u0302\u0308"+ - "\u030b\u0310\u0325"; + "B\u0001B\u0005B\u027a\bB\nB\fB\u027d\tB\u0001B\u0001B\u0001B\u0001B\u0003"+ + "B\u0283\bB\u0001B\u0001B\u0001B\u0001B\u0001B\u0005B\u028a\bB\nB\fB\u028d"+ + "\tB\u0001B\u0001B\u0003B\u0291\bB\u0001C\u0001C\u0001C\u0003C\u0296\b"+ + "C\u0001C\u0001C\u0001C\u0001D\u0001D\u0001D\u0001D\u0001D\u0003D\u02a0"+ + "\bD\u0001E\u0001E\u0001E\u0001E\u0003E\u02a6\bE\u0001E\u0001E\u0001E\u0001"+ + "E\u0001E\u0001E\u0005E\u02ae\bE\nE\fE\u02b1\tE\u0001F\u0001F\u0001F\u0001"+ + "F\u0001F\u0001F\u0001F\u0001F\u0003F\u02bb\bF\u0001F\u0001F\u0001F\u0005"+ + "F\u02c0\bF\nF\fF\u02c3\tF\u0001G\u0001G\u0001G\u0001G\u0001G\u0001G\u0005"+ + "G\u02cb\bG\nG\fG\u02ce\tG\u0001G\u0001G\u0003G\u02d2\bG\u0003G\u02d4\b"+ + "G\u0001G\u0001G\u0001H\u0001H\u0001I\u0001I\u0001I\u0001I\u0005I\u02de"+ + "\bI\nI\fI\u02e1\tI\u0001I\u0001I\u0001J\u0001J\u0001J\u0001J\u0001K\u0001"+ + "K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001K\u0001"+ + "K\u0001K\u0005K\u02f6\bK\nK\fK\u02f9\tK\u0001K\u0001K\u0001K\u0001K\u0001"+ + "K\u0001K\u0005K\u0301\bK\nK\fK\u0304\tK\u0001K\u0001K\u0001K\u0001K\u0001"+ + "K\u0001K\u0005K\u030c\bK\nK\fK\u030f\tK\u0001K\u0001K\u0003K\u0313\bK"+ + "\u0001L\u0001L\u0001M\u0001M\u0003M\u0319\bM\u0001N\u0003N\u031c\bN\u0001"+ + "N\u0001N\u0001O\u0003O\u0321\bO\u0001O\u0001O\u0001P\u0001P\u0001Q\u0001"+ + "Q\u0001R\u0001R\u0001R\u0001R\u0001R\u0001S\u0001S\u0001T\u0001T\u0001"+ + "T\u0001T\u0005T\u0334\bT\nT\fT\u0337\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\u0000ef\u0002\u000099??\u0002\u0000"+ + "BBEE\u0001\u0000WX\u0001\u0000Y[\u0002\u0000AANN\u0002\u0000PPRV\u0002"+ + "\u0000\u0016\u0016\u0018\u0019\u0359\u0000\u00ac\u0001\u0000\u0000\u0000"+ + "\u0002\u00af\u0001\u0000\u0000\u0000\u0004\u00c1\u0001\u0000\u0000\u0000"+ + "\u0006\u00de\u0001\u0000\u0000\u0000\b\u00e0\u0001\u0000\u0000\u0000\n"+ + "\u00e3\u0001\u0000\u0000\u0000\f\u00e5\u0001\u0000\u0000\u0000\u000e\u00e8"+ + "\u0001\u0000\u0000\u0000\u0010\u00f3\u0001\u0000\u0000\u0000\u0012\u00f7"+ + "\u0001\u0000\u0000\u0000\u0014\u00ff\u0001\u0000\u0000\u0000\u0016\u0104"+ + "\u0001\u0000\u0000\u0000\u0018\u0107\u0001\u0000\u0000\u0000\u001a\u010a"+ + "\u0001\u0000\u0000\u0000\u001c\u011e\u0001\u0000\u0000\u0000\u001e\u0120"+ + "\u0001\u0000\u0000\u0000 \u0122\u0001\u0000\u0000\u0000\"\u0124\u0001"+ + "\u0000\u0000\u0000$\u0126\u0001\u0000\u0000\u0000&\u0128\u0001\u0000\u0000"+ + "\u0000(\u0131\u0001\u0000\u0000\u0000*\u0134\u0001\u0000\u0000\u0000,"+ + "\u013c\u0001\u0000\u0000\u0000.\u0144\u0001\u0000\u0000\u00000\u0149\u0001"+ + "\u0000\u0000\u00002\u0151\u0001\u0000\u0000\u00004\u0159\u0001\u0000\u0000"+ + "\u00006\u0161\u0001\u0000\u0000\u00008\u0166\u0001\u0000\u0000\u0000:"+ + "\u016a\u0001\u0000\u0000\u0000<\u016e\u0001\u0000\u0000\u0000>\u0173\u0001"+ + "\u0000\u0000\u0000@\u0175\u0001\u0000\u0000\u0000B\u0178\u0001\u0000\u0000"+ + "\u0000D\u0181\u0001\u0000\u0000\u0000F\u0189\u0001\u0000\u0000\u0000H"+ + "\u018c\u0001\u0000\u0000\u0000J\u018f\u0001\u0000\u0000\u0000L\u01a0\u0001"+ + "\u0000\u0000\u0000N\u01a2\u0001\u0000\u0000\u0000P\u01a8\u0001\u0000\u0000"+ + "\u0000R\u01ac\u0001\u0000\u0000\u0000T\u01af\u0001\u0000\u0000\u0000V"+ + "\u01b7\u0001\u0000\u0000\u0000X\u01bb\u0001\u0000\u0000\u0000Z\u01be\u0001"+ + "\u0000\u0000\u0000\\\u01c2\u0001\u0000\u0000\u0000^\u01c5\u0001\u0000"+ + "\u0000\u0000`\u01d9\u0001\u0000\u0000\u0000b\u01dd\u0001\u0000\u0000\u0000"+ + "d\u01e0\u0001\u0000\u0000\u0000f\u01e5\u0001\u0000\u0000\u0000h\u01eb"+ + "\u0001\u0000\u0000\u0000j\u01f8\u0001\u0000\u0000\u0000l\u01fb\u0001\u0000"+ + "\u0000\u0000n\u01ff\u0001\u0000\u0000\u0000p\u0203\u0001\u0000\u0000\u0000"+ + "r\u0207\u0001\u0000\u0000\u0000t\u0212\u0001\u0000\u0000\u0000v\u0214"+ + "\u0001\u0000\u0000\u0000x\u0216\u0001\u0000\u0000\u0000z\u021e\u0001\u0000"+ + "\u0000\u0000|\u0224\u0001\u0000\u0000\u0000~\u0226\u0001\u0000\u0000\u0000"+ + "\u0080\u022e\u0001\u0000\u0000\u0000\u0082\u0255\u0001\u0000\u0000\u0000"+ + "\u0084\u0290\u0001\u0000\u0000\u0000\u0086\u0292\u0001\u0000\u0000\u0000"+ + "\u0088\u029f\u0001\u0000\u0000\u0000\u008a\u02a5\u0001\u0000\u0000\u0000"+ + "\u008c\u02ba\u0001\u0000\u0000\u0000\u008e\u02c4\u0001\u0000\u0000\u0000"+ + "\u0090\u02d7\u0001\u0000\u0000\u0000\u0092\u02d9\u0001\u0000\u0000\u0000"+ + "\u0094\u02e4\u0001\u0000\u0000\u0000\u0096\u0312\u0001\u0000\u0000\u0000"+ + "\u0098\u0314\u0001\u0000\u0000\u0000\u009a\u0318\u0001\u0000\u0000\u0000"+ + "\u009c\u031b\u0001\u0000\u0000\u0000\u009e\u0320\u0001\u0000\u0000\u0000"+ + "\u00a0\u0324\u0001\u0000\u0000\u0000\u00a2\u0326\u0001\u0000\u0000\u0000"+ + "\u00a4\u0328\u0001\u0000\u0000\u0000\u00a6\u032d\u0001\u0000\u0000\u0000"+ + "\u00a8\u032f\u0001\u0000\u0000\u0000\u00aa\u0338\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\u00c2\u0003\u0016\u000b\u0000"+ + "\u00bb\u00c2\u0003\f\u0006\u0000\u00bc\u00c2\u0003\\.\u0000\u00bd\u00be"+ + "\u0004\u0002\u0001\u0000\u00be\u00c2\u0003\u0018\f\u0000\u00bf\u00c0\u0004"+ + "\u0002\u0002\u0000\u00c0\u00c2\u0003X,\u0000\u00c1\u00ba\u0001\u0000\u0000"+ + "\u0000\u00c1\u00bb\u0001\u0000\u0000\u0000\u00c1\u00bc\u0001\u0000\u0000"+ + "\u0000\u00c1\u00bd\u0001\u0000\u0000\u0000\u00c1\u00bf\u0001\u0000\u0000"+ + "\u0000\u00c2\u0005\u0001\u0000\u0000\u0000\u00c3\u00df\u0003(\u0014\u0000"+ + "\u00c4\u00df\u0003\b\u0004\u0000\u00c5\u00df\u0003F#\u0000\u00c6\u00df"+ + "\u0003@ \u0000\u00c7\u00df\u0003*\u0015\u0000\u00c8\u00df\u0003B!\u0000"+ + "\u00c9\u00df\u0003H$\u0000\u00ca\u00df\u0003J%\u0000\u00cb\u00df\u0003"+ + "N\'\u0000\u00cc\u00df\u0003P(\u0000\u00cd\u00df\u0003^/\u0000\u00ce\u00df"+ + "\u0003R)\u0000\u00cf\u00df\u0003\u00a4R\u0000\u00d0\u00df\u0003h4\u0000"+ + "\u00d1\u00df\u0003\u0080@\u0000\u00d2\u00df\u0003b1\u0000\u00d3\u00df"+ + "\u0003l6\u0000\u00d4\u00d5\u0004\u0003\u0003\u0000\u00d5\u00df\u0003f"+ + "3\u0000\u00d6\u00d7\u0004\u0003\u0004\u0000\u00d7\u00df\u0003d2\u0000"+ + "\u00d8\u00d9\u0004\u0003\u0005\u0000\u00d9\u00df\u0003j5\u0000\u00da\u00db"+ + "\u0004\u0003\u0006\u0000\u00db\u00df\u0003~?\u0000\u00dc\u00dd\u0004\u0003"+ + "\u0007\u0000\u00dd\u00df\u0003v;\u0000\u00de\u00c3\u0001\u0000\u0000\u0000"+ + "\u00de\u00c4\u0001\u0000\u0000\u0000\u00de\u00c5\u0001\u0000\u0000\u0000"+ + "\u00de\u00c6\u0001\u0000\u0000\u0000\u00de\u00c7\u0001\u0000\u0000\u0000"+ + "\u00de\u00c8\u0001\u0000\u0000\u0000\u00de\u00c9\u0001\u0000\u0000\u0000"+ + "\u00de\u00ca\u0001\u0000\u0000\u0000\u00de\u00cb\u0001\u0000\u0000\u0000"+ + "\u00de\u00cc\u0001\u0000\u0000\u0000\u00de\u00cd\u0001\u0000\u0000\u0000"+ + "\u00de\u00ce\u0001\u0000\u0000\u0000\u00de\u00cf\u0001\u0000\u0000\u0000"+ + "\u00de\u00d0\u0001\u0000\u0000\u0000\u00de\u00d1\u0001\u0000\u0000\u0000"+ + "\u00de\u00d2\u0001\u0000\u0000\u0000\u00de\u00d3\u0001\u0000\u0000\u0000"+ + "\u00de\u00d4\u0001\u0000\u0000\u0000\u00de\u00d6\u0001\u0000\u0000\u0000"+ + "\u00de\u00d8\u0001\u0000\u0000\u0000\u00de\u00da\u0001\u0000\u0000\u0000"+ + "\u00de\u00dc\u0001\u0000\u0000\u0000\u00df\u0007\u0001\u0000\u0000\u0000"+ + "\u00e0\u00e1\u0005\u0010\u0000\u0000\u00e1\u00e2\u0003\u0082A\u0000\u00e2"+ + "\t\u0001\u0000\u0000\u0000\u00e3\u00e4\u00036\u001b\u0000\u00e4\u000b"+ + "\u0001\u0000\u0000\u0000\u00e5\u00e6\u0005\f\u0000\u0000\u00e6\u00e7\u0003"+ + "\u000e\u0007\u0000\u00e7\r\u0001\u0000\u0000\u0000\u00e8\u00ed\u0003\u0010"+ + "\b\u0000\u00e9\u00ea\u0005>\u0000\u0000\u00ea\u00ec\u0003\u0010\b\u0000"+ + "\u00eb\u00e9\u0001\u0000\u0000\u0000\u00ec\u00ef\u0001\u0000\u0000\u0000"+ + "\u00ed\u00eb\u0001\u0000\u0000\u0000\u00ed\u00ee\u0001\u0000\u0000\u0000"+ + "\u00ee\u000f\u0001\u0000\u0000\u0000\u00ef\u00ed\u0001\u0000\u0000\u0000"+ + "\u00f0\u00f1\u00030\u0018\u0000\u00f1\u00f2\u0005:\u0000\u0000\u00f2\u00f4"+ + "\u0001\u0000\u0000\u0000\u00f3\u00f0\u0001\u0000\u0000\u0000\u00f3\u00f4"+ + "\u0001\u0000\u0000\u0000\u00f4\u00f5\u0001\u0000\u0000\u0000\u00f5\u00f6"+ + "\u0003\u0082A\u0000\u00f6\u0011\u0001\u0000\u0000\u0000\u00f7\u00fc\u0003"+ + "\u0014\n\u0000\u00f8\u00f9\u0005>\u0000\u0000\u00f9\u00fb\u0003\u0014"+ + "\n\u0000\u00fa\u00f8\u0001\u0000\u0000\u0000\u00fb\u00fe\u0001\u0000\u0000"+ + "\u0000\u00fc\u00fa\u0001\u0000\u0000\u0000\u00fc\u00fd\u0001\u0000\u0000"+ + "\u0000\u00fd\u0013\u0001\u0000\u0000\u0000\u00fe\u00fc\u0001\u0000\u0000"+ + "\u0000\u00ff\u0102\u00030\u0018\u0000\u0100\u0101\u0005:\u0000\u0000\u0101"+ + "\u0103\u0003\u0082A\u0000\u0102\u0100\u0001\u0000\u0000\u0000\u0102\u0103"+ + "\u0001\u0000\u0000\u0000\u0103\u0015\u0001\u0000\u0000\u0000\u0104\u0105"+ + "\u0005\u0013\u0000\u0000\u0105\u0106\u0003\u001a\r\u0000\u0106\u0017\u0001"+ + "\u0000\u0000\u0000\u0107\u0108\u0005\u0014\u0000\u0000\u0108\u0109\u0003"+ + "\u001a\r\u0000\u0109\u0019\u0001\u0000\u0000\u0000\u010a\u010f\u0003\u001c"+ + "\u000e\u0000\u010b\u010c\u0005>\u0000\u0000\u010c\u010e\u0003\u001c\u000e"+ + "\u0000\u010d\u010b\u0001\u0000\u0000\u0000\u010e\u0111\u0001\u0000\u0000"+ + "\u0000\u010f\u010d\u0001\u0000\u0000\u0000\u010f\u0110\u0001\u0000\u0000"+ + "\u0000\u0110\u0113\u0001\u0000\u0000\u0000\u0111\u010f\u0001\u0000\u0000"+ + "\u0000\u0112\u0114\u0003&\u0013\u0000\u0113\u0112\u0001\u0000\u0000\u0000"+ + "\u0113\u0114\u0001\u0000\u0000\u0000\u0114\u001b\u0001\u0000\u0000\u0000"+ + "\u0115\u0116\u0003\u001e\u000f\u0000\u0116\u0117\u0005=\u0000\u0000\u0117"+ + "\u0118\u0003\"\u0011\u0000\u0118\u011f\u0001\u0000\u0000\u0000\u0119\u011a"+ + "\u0003\"\u0011\u0000\u011a\u011b\u0005<\u0000\u0000\u011b\u011c\u0003"+ + " \u0010\u0000\u011c\u011f\u0001\u0000\u0000\u0000\u011d\u011f\u0003$\u0012"+ + "\u0000\u011e\u0115\u0001\u0000\u0000\u0000\u011e\u0119\u0001\u0000\u0000"+ + "\u0000\u011e\u011d\u0001\u0000\u0000\u0000\u011f\u001d\u0001\u0000\u0000"+ + "\u0000\u0120\u0121\u0005k\u0000\u0000\u0121\u001f\u0001\u0000\u0000\u0000"+ + "\u0122\u0123\u0005k\u0000\u0000\u0123!\u0001\u0000\u0000\u0000\u0124\u0125"+ + "\u0005k\u0000\u0000\u0125#\u0001\u0000\u0000\u0000\u0126\u0127\u0007\u0000"+ + "\u0000\u0000\u0127%\u0001\u0000\u0000\u0000\u0128\u0129\u0005j\u0000\u0000"+ + "\u0129\u012e\u0005k\u0000\u0000\u012a\u012b\u0005>\u0000\u0000\u012b\u012d"+ + "\u0005k\u0000\u0000\u012c\u012a\u0001\u0000\u0000\u0000\u012d\u0130\u0001"+ + "\u0000\u0000\u0000\u012e\u012c\u0001\u0000\u0000\u0000\u012e\u012f\u0001"+ + "\u0000\u0000\u0000\u012f\'\u0001\u0000\u0000\u0000\u0130\u012e\u0001\u0000"+ + "\u0000\u0000\u0131\u0132\u0005\t\u0000\u0000\u0132\u0133\u0003\u000e\u0007"+ + "\u0000\u0133)\u0001\u0000\u0000\u0000\u0134\u0136\u0005\u000f\u0000\u0000"+ + "\u0135\u0137\u0003,\u0016\u0000\u0136\u0135\u0001\u0000\u0000\u0000\u0136"+ + "\u0137\u0001\u0000\u0000\u0000\u0137\u013a\u0001\u0000\u0000\u0000\u0138"+ + "\u0139\u0005;\u0000\u0000\u0139\u013b\u0003\u000e\u0007\u0000\u013a\u0138"+ + "\u0001\u0000\u0000\u0000\u013a\u013b\u0001\u0000\u0000\u0000\u013b+\u0001"+ + "\u0000\u0000\u0000\u013c\u0141\u0003.\u0017\u0000\u013d\u013e\u0005>\u0000"+ + "\u0000\u013e\u0140\u0003.\u0017\u0000\u013f\u013d\u0001\u0000\u0000\u0000"+ + "\u0140\u0143\u0001\u0000\u0000\u0000\u0141\u013f\u0001\u0000\u0000\u0000"+ + "\u0141\u0142\u0001\u0000\u0000\u0000\u0142-\u0001\u0000\u0000\u0000\u0143"+ + "\u0141\u0001\u0000\u0000\u0000\u0144\u0147\u0003\u0010\b\u0000\u0145\u0146"+ + "\u0005\u0010\u0000\u0000\u0146\u0148\u0003\u0082A\u0000\u0147\u0145\u0001"+ + "\u0000\u0000\u0000\u0147\u0148\u0001\u0000\u0000\u0000\u0148/\u0001\u0000"+ + "\u0000\u0000\u0149\u014e\u0003>\u001f\u0000\u014a\u014b\u0005@\u0000\u0000"+ + "\u014b\u014d\u0003>\u001f\u0000\u014c\u014a\u0001\u0000\u0000\u0000\u014d"+ + "\u0150\u0001\u0000\u0000\u0000\u014e\u014c\u0001\u0000\u0000\u0000\u014e"+ + "\u014f\u0001\u0000\u0000\u0000\u014f1\u0001\u0000\u0000\u0000\u0150\u014e"+ + "\u0001\u0000\u0000\u0000\u0151\u0156\u00038\u001c\u0000\u0152\u0153\u0005"+ + "@\u0000\u0000\u0153\u0155\u00038\u001c\u0000\u0154\u0152\u0001\u0000\u0000"+ + "\u0000\u0155\u0158\u0001\u0000\u0000\u0000\u0156\u0154\u0001\u0000\u0000"+ + "\u0000\u0156\u0157\u0001\u0000\u0000\u0000\u01573\u0001\u0000\u0000\u0000"+ + "\u0158\u0156\u0001\u0000\u0000\u0000\u0159\u015e\u00032\u0019\u0000\u015a"+ + "\u015b\u0005>\u0000\u0000\u015b\u015d\u00032\u0019\u0000\u015c\u015a\u0001"+ + "\u0000\u0000\u0000\u015d\u0160\u0001\u0000\u0000\u0000\u015e\u015c\u0001"+ + "\u0000\u0000\u0000\u015e\u015f\u0001\u0000\u0000\u0000\u015f5\u0001\u0000"+ + "\u0000\u0000\u0160\u015e\u0001\u0000\u0000\u0000\u0161\u0162\u0007\u0001"+ + "\u0000\u0000\u01627\u0001\u0000\u0000\u0000\u0163\u0167\u0005\u0080\u0000"+ + "\u0000\u0164\u0167\u0003:\u001d\u0000\u0165\u0167\u0003<\u001e\u0000\u0166"+ + "\u0163\u0001\u0000\u0000\u0000\u0166\u0164\u0001\u0000\u0000\u0000\u0166"+ + "\u0165\u0001\u0000\u0000\u0000\u01679\u0001\u0000\u0000\u0000\u0168\u016b"+ + "\u0005L\u0000\u0000\u0169\u016b\u0005_\u0000\u0000\u016a\u0168\u0001\u0000"+ + "\u0000\u0000\u016a\u0169\u0001\u0000\u0000\u0000\u016b;\u0001\u0000\u0000"+ + "\u0000\u016c\u016f\u0005^\u0000\u0000\u016d\u016f\u0005`\u0000\u0000\u016e"+ + "\u016c\u0001\u0000\u0000\u0000\u016e\u016d\u0001\u0000\u0000\u0000\u016f"+ + "=\u0001\u0000\u0000\u0000\u0170\u0174\u00036\u001b\u0000\u0171\u0174\u0003"+ + ":\u001d\u0000\u0172\u0174\u0003<\u001e\u0000\u0173\u0170\u0001\u0000\u0000"+ + "\u0000\u0173\u0171\u0001\u0000\u0000\u0000\u0173\u0172\u0001\u0000\u0000"+ + "\u0000\u0174?\u0001\u0000\u0000\u0000\u0175\u0176\u0005\u000b\u0000\u0000"+ + "\u0176\u0177\u0003\u0096K\u0000\u0177A\u0001\u0000\u0000\u0000\u0178\u0179"+ + "\u0005\u000e\u0000\u0000\u0179\u017e\u0003D\"\u0000\u017a\u017b\u0005"+ + ">\u0000\u0000\u017b\u017d\u0003D\"\u0000\u017c\u017a\u0001\u0000\u0000"+ + "\u0000\u017d\u0180\u0001\u0000\u0000\u0000\u017e\u017c\u0001\u0000\u0000"+ + "\u0000\u017e\u017f\u0001\u0000\u0000\u0000\u017fC\u0001\u0000\u0000\u0000"+ + "\u0180\u017e\u0001\u0000\u0000\u0000\u0181\u0183\u0003\u0082A\u0000\u0182"+ + "\u0184\u0007\u0002\u0000\u0000\u0183\u0182\u0001\u0000\u0000\u0000\u0183"+ + "\u0184\u0001\u0000\u0000\u0000\u0184\u0187\u0001\u0000\u0000\u0000\u0185"+ + "\u0186\u0005I\u0000\u0000\u0186\u0188\u0007\u0003\u0000\u0000\u0187\u0185"+ + "\u0001\u0000\u0000\u0000\u0187\u0188\u0001\u0000\u0000\u0000\u0188E\u0001"+ + "\u0000\u0000\u0000\u0189\u018a\u0005\u001d\u0000\u0000\u018a\u018b\u0003"+ + "4\u001a\u0000\u018bG\u0001\u0000\u0000\u0000\u018c\u018d\u0005\u001c\u0000"+ + "\u0000\u018d\u018e\u00034\u001a\u0000\u018eI\u0001\u0000\u0000\u0000\u018f"+ + "\u0190\u0005 \u0000\u0000\u0190\u0195\u0003L&\u0000\u0191\u0192\u0005"+ + ">\u0000\u0000\u0192\u0194\u0003L&\u0000\u0193\u0191\u0001\u0000\u0000"+ + "\u0000\u0194\u0197\u0001\u0000\u0000\u0000\u0195\u0193\u0001\u0000\u0000"+ + "\u0000\u0195\u0196\u0001\u0000\u0000\u0000\u0196K\u0001\u0000\u0000\u0000"+ + "\u0197\u0195\u0001\u0000\u0000\u0000\u0198\u0199\u00032\u0019\u0000\u0199"+ + "\u019a\u0005\u0084\u0000\u0000\u019a\u019b\u00032\u0019\u0000\u019b\u01a1"+ + "\u0001\u0000\u0000\u0000\u019c\u019d\u00032\u0019\u0000\u019d\u019e\u0005"+ + ":\u0000\u0000\u019e\u019f\u00032\u0019\u0000\u019f\u01a1\u0001\u0000\u0000"+ + "\u0000\u01a0\u0198\u0001\u0000\u0000\u0000\u01a0\u019c\u0001\u0000\u0000"+ + "\u0000\u01a1M\u0001\u0000\u0000\u0000\u01a2\u01a3\u0005\b\u0000\u0000"+ + "\u01a3\u01a4\u0003\u008cF\u0000\u01a4\u01a6\u0003\u00a0P\u0000\u01a5\u01a7"+ + "\u0003T*\u0000\u01a6\u01a5\u0001\u0000\u0000\u0000\u01a6\u01a7\u0001\u0000"+ + "\u0000\u0000\u01a7O\u0001\u0000\u0000\u0000\u01a8\u01a9\u0005\n\u0000"+ + "\u0000\u01a9\u01aa\u0003\u008cF\u0000\u01aa\u01ab\u0003\u00a0P\u0000\u01ab"+ + "Q\u0001\u0000\u0000\u0000\u01ac\u01ad\u0005\u001b\u0000\u0000\u01ad\u01ae"+ + "\u00030\u0018\u0000\u01aeS\u0001\u0000\u0000\u0000\u01af\u01b4\u0003V"+ + "+\u0000\u01b0\u01b1\u0005>\u0000\u0000\u01b1\u01b3\u0003V+\u0000\u01b2"+ + "\u01b0\u0001\u0000\u0000\u0000\u01b3\u01b6\u0001\u0000\u0000\u0000\u01b4"+ + "\u01b2\u0001\u0000\u0000\u0000\u01b4\u01b5\u0001\u0000\u0000\u0000\u01b5"+ + "U\u0001\u0000\u0000\u0000\u01b6\u01b4\u0001\u0000\u0000\u0000\u01b7\u01b8"+ + "\u00036\u001b\u0000\u01b8\u01b9\u0005:\u0000\u0000\u01b9\u01ba\u0003\u0096"+ + "K\u0000\u01baW\u0001\u0000\u0000\u0000\u01bb\u01bc\u0005\u0006\u0000\u0000"+ + "\u01bc\u01bd\u0003Z-\u0000\u01bdY\u0001\u0000\u0000\u0000\u01be\u01bf"+ + "\u0005c\u0000\u0000\u01bf\u01c0\u0003\u0002\u0001\u0000\u01c0\u01c1\u0005"+ + "d\u0000\u0000\u01c1[\u0001\u0000\u0000\u0000\u01c2\u01c3\u0005!\u0000"+ + "\u0000\u01c3\u01c4\u0005\u0088\u0000\u0000\u01c4]\u0001\u0000\u0000\u0000"+ + "\u01c5\u01c6\u0005\u0005\u0000\u0000\u01c6\u01c9\u0005&\u0000\u0000\u01c7"+ + "\u01c8\u0005J\u0000\u0000\u01c8\u01ca\u00032\u0019\u0000\u01c9\u01c7\u0001"+ + "\u0000\u0000\u0000\u01c9\u01ca\u0001\u0000\u0000\u0000\u01ca\u01d4\u0001"+ + "\u0000\u0000\u0000\u01cb\u01cc\u0005O\u0000\u0000\u01cc\u01d1\u0003`0"+ + "\u0000\u01cd\u01ce\u0005>\u0000\u0000\u01ce\u01d0\u0003`0\u0000\u01cf"+ + "\u01cd\u0001\u0000\u0000\u0000\u01d0\u01d3\u0001\u0000\u0000\u0000\u01d1"+ + "\u01cf\u0001\u0000\u0000\u0000\u01d1\u01d2\u0001\u0000\u0000\u0000\u01d2"+ + "\u01d5\u0001\u0000\u0000\u0000\u01d3\u01d1\u0001\u0000\u0000\u0000\u01d4"+ + "\u01cb\u0001\u0000\u0000\u0000\u01d4\u01d5\u0001\u0000\u0000\u0000\u01d5"+ + "_\u0001\u0000\u0000\u0000\u01d6\u01d7\u00032\u0019\u0000\u01d7\u01d8\u0005"+ + ":\u0000\u0000\u01d8\u01da\u0001\u0000\u0000\u0000\u01d9\u01d6\u0001\u0000"+ + "\u0000\u0000\u01d9\u01da\u0001\u0000\u0000\u0000\u01da\u01db\u0001\u0000"+ + "\u0000\u0000\u01db\u01dc\u00032\u0019\u0000\u01dca\u0001\u0000\u0000\u0000"+ + "\u01dd\u01de\u0005\r\u0000\u0000\u01de\u01df\u0003\u0096K\u0000\u01df"+ + "c\u0001\u0000\u0000\u0000\u01e0\u01e1\u0005\u001a\u0000\u0000\u01e1\u01e2"+ + "\u0003\u001c\u000e\u0000\u01e2\u01e3\u0005J\u0000\u0000\u01e3\u01e4\u0003"+ + "4\u001a\u0000\u01e4e\u0001\u0000\u0000\u0000\u01e5\u01e6\u0005\u0011\u0000"+ + "\u0000\u01e6\u01e9\u0003,\u0016\u0000\u01e7\u01e8\u0005;\u0000\u0000\u01e8"+ + "\u01ea\u0003\u000e\u0007\u0000\u01e9\u01e7\u0001\u0000\u0000\u0000\u01e9"+ + "\u01ea\u0001\u0000\u0000\u0000\u01eag\u0001\u0000\u0000\u0000\u01eb\u01ec"+ + "\u0005\u0004\u0000\u0000\u01ec\u01ef\u00030\u0018\u0000\u01ed\u01ee\u0005"+ + "J\u0000\u0000\u01ee\u01f0\u00030\u0018\u0000\u01ef\u01ed\u0001\u0000\u0000"+ + "\u0000\u01ef\u01f0\u0001\u0000\u0000\u0000\u01f0\u01f6\u0001\u0000\u0000"+ + "\u0000\u01f1\u01f2\u0005\u0084\u0000\u0000\u01f2\u01f3\u00030\u0018\u0000"+ + "\u01f3\u01f4\u0005>\u0000\u0000\u01f4\u01f5\u00030\u0018\u0000\u01f5\u01f7"+ + "\u0001\u0000\u0000\u0000\u01f6\u01f1\u0001\u0000\u0000\u0000\u01f6\u01f7"+ + "\u0001\u0000\u0000\u0000\u01f7i\u0001\u0000\u0000\u0000\u01f8\u01f9\u0005"+ + "\u001e\u0000\u0000\u01f9\u01fa\u00034\u001a\u0000\u01fak\u0001\u0000\u0000"+ + "\u0000\u01fb\u01fc\u0005\u0015\u0000\u0000\u01fc\u01fd\u0003n7\u0000\u01fd"+ + "m\u0001\u0000\u0000\u0000\u01fe\u0200\u0003p8\u0000\u01ff\u01fe\u0001"+ + "\u0000\u0000\u0000\u0200\u0201\u0001\u0000\u0000\u0000\u0201\u01ff\u0001"+ + "\u0000\u0000\u0000\u0201\u0202\u0001\u0000\u0000\u0000\u0202o\u0001\u0000"+ + "\u0000\u0000\u0203\u0204\u0005c\u0000\u0000\u0204\u0205\u0003r9\u0000"+ + "\u0205\u0206\u0005d\u0000\u0000\u0206q\u0001\u0000\u0000\u0000\u0207\u0208"+ + "\u00069\uffff\uffff\u0000\u0208\u0209\u0003t:\u0000\u0209\u020f\u0001"+ + "\u0000\u0000\u0000\u020a\u020b\n\u0001\u0000\u0000\u020b\u020c\u00054"+ + "\u0000\u0000\u020c\u020e\u0003t:\u0000\u020d\u020a\u0001\u0000\u0000\u0000"+ + "\u020e\u0211\u0001\u0000\u0000\u0000\u020f\u020d\u0001\u0000\u0000\u0000"+ + "\u020f\u0210\u0001\u0000\u0000\u0000\u0210s\u0001\u0000\u0000\u0000\u0211"+ + "\u020f\u0001\u0000\u0000\u0000\u0212\u0213\u0003\u0006\u0003\u0000\u0213"+ + "u\u0001\u0000\u0000\u0000\u0214\u0215\u0005\u001f\u0000\u0000\u0215w\u0001"+ + "\u0000\u0000\u0000\u0216\u021b\u0003z=\u0000\u0217\u0218\u0005>\u0000"+ + "\u0000\u0218\u021a\u0003z=\u0000\u0219\u0217\u0001\u0000\u0000\u0000\u021a"+ + "\u021d\u0001\u0000\u0000\u0000\u021b\u0219\u0001\u0000\u0000\u0000\u021b"+ + "\u021c\u0001\u0000\u0000\u0000\u021cy\u0001\u0000\u0000\u0000\u021d\u021b"+ + "\u0001\u0000\u0000\u0000\u021e\u021f\u00036\u001b\u0000\u021f\u0220\u0005"+ + ":\u0000\u0000\u0220\u0221\u0003|>\u0000\u0221{\u0001\u0000\u0000\u0000"+ + "\u0222\u0225\u0003\u0096K\u0000\u0223\u0225\u00036\u001b\u0000\u0224\u0222"+ + "\u0001\u0000\u0000\u0000\u0224\u0223\u0001\u0000\u0000\u0000\u0225}\u0001"+ + "\u0000\u0000\u0000\u0226\u0227\u0005\u0012\u0000\u0000\u0227\u0228\u0003"+ + "\u0096K\u0000\u0228\u0229\u0005J\u0000\u0000\u0229\u022c\u0003\u0012\t"+ + "\u0000\u022a\u022b\u0005O\u0000\u0000\u022b\u022d\u0003x<\u0000\u022c"+ + "\u022a\u0001\u0000\u0000\u0000\u022c\u022d\u0001\u0000\u0000\u0000\u022d"+ + "\u007f\u0001\u0000\u0000\u0000\u022e\u0232\u0005\u0007\u0000\u0000\u022f"+ + "\u0230\u00030\u0018\u0000\u0230\u0231\u0005:\u0000\u0000\u0231\u0233\u0001"+ + "\u0000\u0000\u0000\u0232\u022f\u0001\u0000\u0000\u0000\u0232\u0233\u0001"+ + "\u0000\u0000\u0000\u0233\u0234\u0001\u0000\u0000\u0000\u0234\u0235\u0003"+ + "\u008cF\u0000\u0235\u0236\u0005O\u0000\u0000\u0236\u0237\u0003>\u001f"+ + "\u0000\u0237\u0081\u0001\u0000\u0000\u0000\u0238\u0239\u0006A\uffff\uffff"+ + "\u0000\u0239\u023a\u0005G\u0000\u0000\u023a\u0256\u0003\u0082A\b\u023b"+ + "\u0256\u0003\u0088D\u0000\u023c\u0256\u0003\u0084B\u0000\u023d\u023f\u0003"+ + "\u0088D\u0000\u023e\u0240\u0005G\u0000\u0000\u023f\u023e\u0001\u0000\u0000"+ + "\u0000\u023f\u0240\u0001\u0000\u0000\u0000\u0240\u0241\u0001\u0000\u0000"+ + "\u0000\u0241\u0242\u0005C\u0000\u0000\u0242\u0243\u0005c\u0000\u0000\u0243"+ + "\u0248\u0003\u0088D\u0000\u0244\u0245\u0005>\u0000\u0000\u0245\u0247\u0003"+ + "\u0088D\u0000\u0246\u0244\u0001\u0000\u0000\u0000\u0247\u024a\u0001\u0000"+ + "\u0000\u0000\u0248\u0246\u0001\u0000\u0000\u0000\u0248\u0249\u0001\u0000"+ + "\u0000\u0000\u0249\u024b\u0001\u0000\u0000\u0000\u024a\u0248\u0001\u0000"+ + "\u0000\u0000\u024b\u024c\u0005d\u0000\u0000\u024c\u0256\u0001\u0000\u0000"+ + "\u0000\u024d\u024e\u0003\u0088D\u0000\u024e\u0250\u0005D\u0000\u0000\u024f"+ + "\u0251\u0005G\u0000\u0000\u0250\u024f\u0001\u0000\u0000\u0000\u0250\u0251"+ + "\u0001\u0000\u0000\u0000\u0251\u0252\u0001\u0000\u0000\u0000\u0252\u0253"+ + "\u0005H\u0000\u0000\u0253\u0256\u0001\u0000\u0000\u0000\u0254\u0256\u0003"+ + "\u0086C\u0000\u0255\u0238\u0001\u0000\u0000\u0000\u0255\u023b\u0001\u0000"+ + "\u0000\u0000\u0255\u023c\u0001\u0000\u0000\u0000\u0255\u023d\u0001\u0000"+ + "\u0000\u0000\u0255\u024d\u0001\u0000\u0000\u0000\u0255\u0254\u0001\u0000"+ + "\u0000\u0000\u0256\u025f\u0001\u0000\u0000\u0000\u0257\u0258\n\u0005\u0000"+ + "\u0000\u0258\u0259\u00058\u0000\u0000\u0259\u025e\u0003\u0082A\u0006\u025a"+ + "\u025b\n\u0004\u0000\u0000\u025b\u025c\u0005K\u0000\u0000\u025c\u025e"+ + "\u0003\u0082A\u0005\u025d\u0257\u0001\u0000\u0000\u0000\u025d\u025a\u0001"+ + "\u0000\u0000\u0000\u025e\u0261\u0001\u0000\u0000\u0000\u025f\u025d\u0001"+ + "\u0000\u0000\u0000\u025f\u0260\u0001\u0000\u0000\u0000\u0260\u0083\u0001"+ + "\u0000\u0000\u0000\u0261\u025f\u0001\u0000\u0000\u0000\u0262\u0264\u0003"+ + "\u0088D\u0000\u0263\u0265\u0005G\u0000\u0000\u0264\u0263\u0001\u0000\u0000"+ + "\u0000\u0264\u0265\u0001\u0000\u0000\u0000\u0265\u0266\u0001\u0000\u0000"+ + "\u0000\u0266\u0267\u0005F\u0000\u0000\u0267\u0268\u0003\u00a0P\u0000\u0268"+ + "\u0291\u0001\u0000\u0000\u0000\u0269\u026b\u0003\u0088D\u0000\u026a\u026c"+ + "\u0005G\u0000\u0000\u026b\u026a\u0001\u0000\u0000\u0000\u026b\u026c\u0001"+ + "\u0000\u0000\u0000\u026c\u026d\u0001\u0000\u0000\u0000\u026d\u026e\u0005"+ + "M\u0000\u0000\u026e\u026f\u0003\u00a0P\u0000\u026f\u0291\u0001\u0000\u0000"+ + "\u0000\u0270\u0272\u0003\u0088D\u0000\u0271\u0273\u0005G\u0000\u0000\u0272"+ + "\u0271\u0001\u0000\u0000\u0000\u0272\u0273\u0001\u0000\u0000\u0000\u0273"+ + "\u0274\u0001\u0000\u0000\u0000\u0274\u0275\u0005F\u0000\u0000\u0275\u0276"+ + "\u0005c\u0000\u0000\u0276\u027b\u0003\u00a0P\u0000\u0277\u0278\u0005>"+ + "\u0000\u0000\u0278\u027a\u0003\u00a0P\u0000\u0279\u0277\u0001\u0000\u0000"+ + "\u0000\u027a\u027d\u0001\u0000\u0000\u0000\u027b\u0279\u0001\u0000\u0000"+ + "\u0000\u027b\u027c\u0001\u0000\u0000\u0000\u027c\u027e\u0001\u0000\u0000"+ + "\u0000\u027d\u027b\u0001\u0000\u0000\u0000\u027e\u027f\u0005d\u0000\u0000"+ + "\u027f\u0291\u0001\u0000\u0000\u0000\u0280\u0282\u0003\u0088D\u0000\u0281"+ + "\u0283\u0005G\u0000\u0000\u0282\u0281\u0001\u0000\u0000\u0000\u0282\u0283"+ + "\u0001\u0000\u0000\u0000\u0283\u0284\u0001\u0000\u0000\u0000\u0284\u0285"+ + "\u0005M\u0000\u0000\u0285\u0286\u0005c\u0000\u0000\u0286\u028b\u0003\u00a0"+ + "P\u0000\u0287\u0288\u0005>\u0000\u0000\u0288\u028a\u0003\u00a0P\u0000"+ + "\u0289\u0287\u0001\u0000\u0000\u0000\u028a\u028d\u0001\u0000\u0000\u0000"+ + "\u028b\u0289\u0001\u0000\u0000\u0000\u028b\u028c\u0001\u0000\u0000\u0000"+ + "\u028c\u028e\u0001\u0000\u0000\u0000\u028d\u028b\u0001\u0000\u0000\u0000"+ + "\u028e\u028f\u0005d\u0000\u0000\u028f\u0291\u0001\u0000\u0000\u0000\u0290"+ + "\u0262\u0001\u0000\u0000\u0000\u0290\u0269\u0001\u0000\u0000\u0000\u0290"+ + "\u0270\u0001\u0000\u0000\u0000\u0290\u0280\u0001\u0000\u0000\u0000\u0291"+ + "\u0085\u0001\u0000\u0000\u0000\u0292\u0295\u00030\u0018\u0000\u0293\u0294"+ + "\u0005<\u0000\u0000\u0294\u0296\u0003\n\u0005\u0000\u0295\u0293\u0001"+ + "\u0000\u0000\u0000\u0295\u0296\u0001\u0000\u0000\u0000\u0296\u0297\u0001"+ + "\u0000\u0000\u0000\u0297\u0298\u0005=\u0000\u0000\u0298\u0299\u0003\u0096"+ + "K\u0000\u0299\u0087\u0001\u0000\u0000\u0000\u029a\u02a0\u0003\u008aE\u0000"+ + "\u029b\u029c\u0003\u008aE\u0000\u029c\u029d\u0003\u00a2Q\u0000\u029d\u029e"+ + "\u0003\u008aE\u0000\u029e\u02a0\u0001\u0000\u0000\u0000\u029f\u029a\u0001"+ + "\u0000\u0000\u0000\u029f\u029b\u0001\u0000\u0000\u0000\u02a0\u0089\u0001"+ + "\u0000\u0000\u0000\u02a1\u02a2\u0006E\uffff\uffff\u0000\u02a2\u02a6\u0003"+ + "\u008cF\u0000\u02a3\u02a4\u0007\u0004\u0000\u0000\u02a4\u02a6\u0003\u008a"+ + "E\u0003\u02a5\u02a1\u0001\u0000\u0000\u0000\u02a5\u02a3\u0001\u0000\u0000"+ + "\u0000\u02a6\u02af\u0001\u0000\u0000\u0000\u02a7\u02a8\n\u0002\u0000\u0000"+ + "\u02a8\u02a9\u0007\u0005\u0000\u0000\u02a9\u02ae\u0003\u008aE\u0003\u02aa"+ + "\u02ab\n\u0001\u0000\u0000\u02ab\u02ac\u0007\u0004\u0000\u0000\u02ac\u02ae"+ + "\u0003\u008aE\u0002\u02ad\u02a7\u0001\u0000\u0000\u0000\u02ad\u02aa\u0001"+ + "\u0000\u0000\u0000\u02ae\u02b1\u0001\u0000\u0000\u0000\u02af\u02ad\u0001"+ + "\u0000\u0000\u0000\u02af\u02b0\u0001\u0000\u0000\u0000\u02b0\u008b\u0001"+ + "\u0000\u0000\u0000\u02b1\u02af\u0001\u0000\u0000\u0000\u02b2\u02b3\u0006"+ + "F\uffff\uffff\u0000\u02b3\u02bb\u0003\u0096K\u0000\u02b4\u02bb\u00030"+ + "\u0018\u0000\u02b5\u02bb\u0003\u008eG\u0000\u02b6\u02b7\u0005c\u0000\u0000"+ + "\u02b7\u02b8\u0003\u0082A\u0000\u02b8\u02b9\u0005d\u0000\u0000\u02b9\u02bb"+ + "\u0001\u0000\u0000\u0000\u02ba\u02b2\u0001\u0000\u0000\u0000\u02ba\u02b4"+ + "\u0001\u0000\u0000\u0000\u02ba\u02b5\u0001\u0000\u0000\u0000\u02ba\u02b6"+ + "\u0001\u0000\u0000\u0000\u02bb\u02c1\u0001\u0000\u0000\u0000\u02bc\u02bd"+ + "\n\u0001\u0000\u0000\u02bd\u02be\u0005<\u0000\u0000\u02be\u02c0\u0003"+ + "\n\u0005\u0000\u02bf\u02bc\u0001\u0000\u0000\u0000\u02c0\u02c3\u0001\u0000"+ + "\u0000\u0000\u02c1\u02bf\u0001\u0000\u0000\u0000\u02c1\u02c2\u0001\u0000"+ + "\u0000\u0000\u02c2\u008d\u0001\u0000\u0000\u0000\u02c3\u02c1\u0001\u0000"+ + "\u0000\u0000\u02c4\u02c5\u0003\u0090H\u0000\u02c5\u02d3\u0005c\u0000\u0000"+ + "\u02c6\u02d4\u0005Y\u0000\u0000\u02c7\u02cc\u0003\u0082A\u0000\u02c8\u02c9"+ + "\u0005>\u0000\u0000\u02c9\u02cb\u0003\u0082A\u0000\u02ca\u02c8\u0001\u0000"+ + "\u0000\u0000\u02cb\u02ce\u0001\u0000\u0000\u0000\u02cc\u02ca\u0001\u0000"+ + "\u0000\u0000\u02cc\u02cd\u0001\u0000\u0000\u0000\u02cd\u02d1\u0001\u0000"+ + "\u0000\u0000\u02ce\u02cc\u0001\u0000\u0000\u0000\u02cf\u02d0\u0005>\u0000"+ + "\u0000\u02d0\u02d2\u0003\u0092I\u0000\u02d1\u02cf\u0001\u0000\u0000\u0000"+ + "\u02d1\u02d2\u0001\u0000\u0000\u0000\u02d2\u02d4\u0001\u0000\u0000\u0000"+ + "\u02d3\u02c6\u0001\u0000\u0000\u0000\u02d3\u02c7\u0001\u0000\u0000\u0000"+ + "\u02d3\u02d4\u0001\u0000\u0000\u0000\u02d4\u02d5\u0001\u0000\u0000\u0000"+ + "\u02d5\u02d6\u0005d\u0000\u0000\u02d6\u008f\u0001\u0000\u0000\u0000\u02d7"+ + "\u02d8\u0003>\u001f\u0000\u02d8\u0091\u0001\u0000\u0000\u0000\u02d9\u02da"+ + "\u0005\\\u0000\u0000\u02da\u02df\u0003\u0094J\u0000\u02db\u02dc\u0005"+ + ">\u0000\u0000\u02dc\u02de\u0003\u0094J\u0000\u02dd\u02db\u0001\u0000\u0000"+ + "\u0000\u02de\u02e1\u0001\u0000\u0000\u0000\u02df\u02dd\u0001\u0000\u0000"+ + "\u0000\u02df\u02e0\u0001\u0000\u0000\u0000\u02e0\u02e2\u0001\u0000\u0000"+ + "\u0000\u02e1\u02df\u0001\u0000\u0000\u0000\u02e2\u02e3\u0005]\u0000\u0000"+ + "\u02e3\u0093\u0001\u0000\u0000\u0000\u02e4\u02e5\u0003\u00a0P\u0000\u02e5"+ + "\u02e6\u0005=\u0000\u0000\u02e6\u02e7\u0003\u0096K\u0000\u02e7\u0095\u0001"+ + "\u0000\u0000\u0000\u02e8\u0313\u0005H\u0000\u0000\u02e9\u02ea\u0003\u009e"+ + "O\u0000\u02ea\u02eb\u0005e\u0000\u0000\u02eb\u0313\u0001\u0000\u0000\u0000"+ + "\u02ec\u0313\u0003\u009cN\u0000\u02ed\u0313\u0003\u009eO\u0000\u02ee\u0313"+ + "\u0003\u0098L\u0000\u02ef\u0313\u0003:\u001d\u0000\u02f0\u0313\u0003\u00a0"+ + "P\u0000\u02f1\u02f2\u0005a\u0000\u0000\u02f2\u02f7\u0003\u009aM\u0000"+ + "\u02f3\u02f4\u0005>\u0000\u0000\u02f4\u02f6\u0003\u009aM\u0000\u02f5\u02f3"+ + "\u0001\u0000\u0000\u0000\u02f6\u02f9\u0001\u0000\u0000\u0000\u02f7\u02f5"+ + "\u0001\u0000\u0000\u0000\u02f7\u02f8\u0001\u0000\u0000\u0000\u02f8\u02fa"+ + "\u0001\u0000\u0000\u0000\u02f9\u02f7\u0001\u0000\u0000\u0000\u02fa\u02fb"+ + "\u0005b\u0000\u0000\u02fb\u0313\u0001\u0000\u0000\u0000\u02fc\u02fd\u0005"+ + "a\u0000\u0000\u02fd\u0302\u0003\u0098L\u0000\u02fe\u02ff\u0005>\u0000"+ + "\u0000\u02ff\u0301\u0003\u0098L\u0000\u0300\u02fe\u0001\u0000\u0000\u0000"+ + "\u0301\u0304\u0001\u0000\u0000\u0000\u0302\u0300\u0001\u0000\u0000\u0000"+ + "\u0302\u0303\u0001\u0000\u0000\u0000\u0303\u0305\u0001\u0000\u0000\u0000"+ + "\u0304\u0302\u0001\u0000\u0000\u0000\u0305\u0306\u0005b\u0000\u0000\u0306"+ + "\u0313\u0001\u0000\u0000\u0000\u0307\u0308\u0005a\u0000\u0000\u0308\u030d"+ + "\u0003\u00a0P\u0000\u0309\u030a\u0005>\u0000\u0000\u030a\u030c\u0003\u00a0"+ + "P\u0000\u030b\u0309\u0001\u0000\u0000\u0000\u030c\u030f\u0001\u0000\u0000"+ + "\u0000\u030d\u030b\u0001\u0000\u0000\u0000\u030d\u030e\u0001\u0000\u0000"+ + "\u0000\u030e\u0310\u0001\u0000\u0000\u0000\u030f\u030d\u0001\u0000\u0000"+ + "\u0000\u0310\u0311\u0005b\u0000\u0000\u0311\u0313\u0001\u0000\u0000\u0000"+ + "\u0312\u02e8\u0001\u0000\u0000\u0000\u0312\u02e9\u0001\u0000\u0000\u0000"+ + "\u0312\u02ec\u0001\u0000\u0000\u0000\u0312\u02ed\u0001\u0000\u0000\u0000"+ + "\u0312\u02ee\u0001\u0000\u0000\u0000\u0312\u02ef\u0001\u0000\u0000\u0000"+ + "\u0312\u02f0\u0001\u0000\u0000\u0000\u0312\u02f1\u0001\u0000\u0000\u0000"+ + "\u0312\u02fc\u0001\u0000\u0000\u0000\u0312\u0307\u0001\u0000\u0000\u0000"+ + "\u0313\u0097\u0001\u0000\u0000\u0000\u0314\u0315\u0007\u0006\u0000\u0000"+ + "\u0315\u0099\u0001\u0000\u0000\u0000\u0316\u0319\u0003\u009cN\u0000\u0317"+ + "\u0319\u0003\u009eO\u0000\u0318\u0316\u0001\u0000\u0000\u0000\u0318\u0317"+ + "\u0001\u0000\u0000\u0000\u0319\u009b\u0001\u0000\u0000\u0000\u031a\u031c"+ + "\u0007\u0004\u0000\u0000\u031b\u031a\u0001\u0000\u0000\u0000\u031b\u031c"+ + "\u0001\u0000\u0000\u0000\u031c\u031d\u0001\u0000\u0000\u0000\u031d\u031e"+ + "\u00057\u0000\u0000\u031e\u009d\u0001\u0000\u0000\u0000\u031f\u0321\u0007"+ + "\u0004\u0000\u0000\u0320\u031f\u0001\u0000\u0000\u0000\u0320\u0321\u0001"+ + "\u0000\u0000\u0000\u0321\u0322\u0001\u0000\u0000\u0000\u0322\u0323\u0005"+ + "6\u0000\u0000\u0323\u009f\u0001\u0000\u0000\u0000\u0324\u0325\u00055\u0000"+ + "\u0000\u0325\u00a1\u0001\u0000\u0000\u0000\u0326\u0327\u0007\u0007\u0000"+ + "\u0000\u0327\u00a3\u0001\u0000\u0000\u0000\u0328\u0329\u0007\b\u0000\u0000"+ + "\u0329\u032a\u0005r\u0000\u0000\u032a\u032b\u0003\u00a6S\u0000\u032b\u032c"+ + "\u0003\u00a8T\u0000\u032c\u00a5\u0001\u0000\u0000\u0000\u032d\u032e\u0003"+ + "\u001c\u000e\u0000\u032e\u00a7\u0001\u0000\u0000\u0000\u032f\u0330\u0005"+ + "J\u0000\u0000\u0330\u0335\u0003\u00aaU\u0000\u0331\u0332\u0005>\u0000"+ + "\u0000\u0332\u0334\u0003\u00aaU\u0000\u0333\u0331\u0001\u0000\u0000\u0000"+ + "\u0334\u0337\u0001\u0000\u0000\u0000\u0335\u0333\u0001\u0000\u0000\u0000"+ + "\u0335\u0336\u0001\u0000\u0000\u0000\u0336\u00a9\u0001\u0000\u0000\u0000"+ + "\u0337\u0335\u0001\u0000\u0000\u0000\u0338\u0339\u0003\u0088D\u0000\u0339"+ + "\u00ab\u0001\u0000\u0000\u0000J\u00b7\u00c1\u00de\u00ed\u00f3\u00fc\u0102"+ + "\u010f\u0113\u011e\u012e\u0136\u013a\u0141\u0147\u014e\u0156\u015e\u0166"+ + "\u016a\u016e\u0173\u017e\u0183\u0187\u0195\u01a0\u01a6\u01b4\u01c9\u01d1"+ + "\u01d4\u01d9\u01e9\u01ef\u01f6\u0201\u020f\u021b\u0224\u022c\u0232\u023f"+ + "\u0248\u0250\u0255\u025d\u025f\u0264\u026b\u0272\u027b\u0282\u028b\u0290"+ + "\u0295\u029f\u02a5\u02ad\u02af\u02ba\u02c1\u02cc\u02d1\u02d3\u02df\u02f7"+ + "\u0302\u030d\u0312\u0318\u031b\u0320\u0335"; 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 8a9bc07a99eae..b0e5c3cb18465 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 @@ -968,6 +968,18 @@ public class EsqlBaseParserBaseListener implements EsqlBaseParserListener { *

The default implementation does nothing.

*/ @Override public void exitLikeListExpression(EsqlBaseParser.LikeListExpressionContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterRlikeListExpression(EsqlBaseParser.RlikeListExpressionContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitRlikeListExpression(EsqlBaseParser.RlikeListExpressionContext 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 6c13edd55907a..a647606757da1 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 @@ -573,6 +573,13 @@ public class EsqlBaseParserBaseVisitor extends AbstractParseTreeVisitor im * {@link #visitChildren} on {@code ctx}.

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

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

+ */ + @Override public T visitRlikeListExpression(EsqlBaseParser.RlikeListExpressionContext 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 cfab02cb3d826..bcd0673611beb 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 @@ -845,6 +845,18 @@ public interface EsqlBaseParserListener extends ParseTreeListener { * @param ctx the parse tree */ void exitLikeListExpression(EsqlBaseParser.LikeListExpressionContext ctx); + /** + * Enter a parse tree produced by the {@code rlikeListExpression} + * labeled alternative in {@link EsqlBaseParser#regexBooleanExpression}. + * @param ctx the parse tree + */ + void enterRlikeListExpression(EsqlBaseParser.RlikeListExpressionContext ctx); + /** + * Exit a parse tree produced by the {@code rlikeListExpression} + * labeled alternative in {@link EsqlBaseParser#regexBooleanExpression}. + * @param ctx the parse tree + */ + void exitRlikeListExpression(EsqlBaseParser.RlikeListExpressionContext ctx); /** * Enter a parse tree produced by {@link EsqlBaseParser#matchBooleanExpression}. * @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 b27d3f0210cdb..218106ad72d57 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 @@ -512,6 +512,13 @@ public interface EsqlBaseParserVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitLikeListExpression(EsqlBaseParser.LikeListExpressionContext ctx); + /** + * Visit a parse tree produced by the {@code rlikeListExpression} + * labeled alternative in {@link EsqlBaseParser#regexBooleanExpression}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitRlikeListExpression(EsqlBaseParser.RlikeListExpressionContext ctx); /** * Visit a parse tree produced by {@link EsqlBaseParser#matchBooleanExpression}. * @param ctx the parse tree diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/ExpressionBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/ExpressionBuilder.java index cec23786f84dc..dc60a6dbbfa0a 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/ExpressionBuilder.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/ExpressionBuilder.java @@ -30,6 +30,7 @@ import org.elasticsearch.xpack.esql.core.expression.UnresolvedStar; import org.elasticsearch.xpack.esql.core.expression.function.Function; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePattern; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePatternList; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.WildcardPattern; import org.elasticsearch.xpack.esql.core.expression.predicate.regex.WildcardPatternList; import org.elasticsearch.xpack.esql.core.tree.Source; @@ -44,6 +45,7 @@ import org.elasticsearch.xpack.esql.expression.function.aggregate.FilteredExpression; import org.elasticsearch.xpack.esql.expression.function.fulltext.MatchOperator; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike; +import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLikeList; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.WildcardLike; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.WildcardLikeList; import org.elasticsearch.xpack.esql.expression.predicate.logical.And; @@ -748,7 +750,7 @@ public Expression visitRlikeExpression(EsqlBaseParser.RlikeExpressionContext ctx RLike rLike = new RLike(source, left, new RLikePattern(BytesRefs.toString(patternLiteral.fold(FoldContext.small())))); return ctx.NOT() == null ? rLike : new Not(source, rLike); } catch (InvalidArgumentException e) { - throw new ParsingException(source, "Invalid pattern for LIKE [{}]: [{}]", patternLiteral, e.getMessage()); + throw new ParsingException(source, "Invalid pattern for RLIKE [{}]: [{}]", patternLiteral, e.getMessage()); } } @@ -781,6 +783,21 @@ public Expression visitLikeListExpression(EsqlBaseParser.LikeListExpressionConte return ctx.NOT() == null ? e : new Not(source, e); } + @Override + public Expression visitRlikeListExpression(EsqlBaseParser.RlikeListExpressionContext ctx) { + Source source = source(ctx); + Expression left = expression(ctx.valueExpression()); + List rLikePatterns = ctx.string() + .stream() + .map(x -> new RLikePattern(BytesRefs.toString(visitString(x).fold(FoldContext.small())))) + .toList(); + // for now we will use the old WildcardLike function for one argument case to allow compatibility in mixed version deployments + Expression e = rLikePatterns.size() == 1 + ? new RLike(source, left, rLikePatterns.getFirst()) + : new RLikeList(source, left, new RLikePatternList(rLikePatterns)); + return ctx.NOT() == null ? e : new Not(source, e); + } + @Override public Order visitOrderExpression(EsqlBaseParser.OrderExpressionContext ctx) { return new Order( diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListErrorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListErrorTests.java new file mode 100644 index 0000000000000..0e2fa024bda58 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListErrorTests.java @@ -0,0 +1,49 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.expression.function.scalar.string; + +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.expression.function.ErrorsForCasesWithoutExamplesTestCase; +import org.elasticsearch.xpack.esql.expression.function.TestCaseSupplier; +import org.hamcrest.Matcher; + +import java.util.List; +import java.util.Set; +import java.util.stream.Stream; + +import static org.hamcrest.Matchers.equalTo; + +public class RLikeListErrorTests extends ErrorsForCasesWithoutExamplesTestCase { + @Override + protected List cases() { + return paramsToSuppliers(RLikeListTests.parameters()); + } + + @Override + protected Stream> testCandidates(List cases, Set> valid) { + /* + * We can't support certain signatures, and it's safe not to test them because + * you can't even build them.... The building comes directly from the parser + * and can only make certain types. + */ + return super.testCandidates(cases, valid).filter(sig -> sig.get(1) == DataType.KEYWORD) + .filter(sig -> sig.size() > 2 && sig.get(2) == DataType.BOOLEAN); + } + + @Override + protected Expression build(Source source, List args) { + return RLikeTests.buildRLike(logger, source, args); + } + + @Override + protected Matcher expectedTypeErrorMatcher(List> validPerPosition, List signature) { + return equalTo(typeErrorMessage(false, validPerPosition, signature, (v, p) -> "string")); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListSerializationTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListSerializationTests.java new file mode 100644 index 0000000000000..ff2dd31e2c832 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListSerializationTests.java @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.expression.function.scalar.string; + +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePattern; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePatternList; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.expression.AbstractExpressionSerializationTests; +import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLikeList; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +public class RLikeListSerializationTests extends AbstractExpressionSerializationTests { + @Override + protected RLikeList createTestInstance() { + Source source = randomSource(); + Expression child = randomChild(); + return new RLikeList(source, child, generateRandomPatternList()); + } + + @Override + protected RLikeList mutateInstance(RLikeList instance) throws IOException { + Source source = instance.source(); + Expression child = instance.field(); + List patterns = new ArrayList<>(instance.pattern().patternList()); + int childToModify = randomIntBetween(0, patterns.size() - 1); + RLikePattern pattern = patterns.get(childToModify); + if (randomBoolean()) { + child = randomValueOtherThan(child, AbstractExpressionSerializationTests::randomChild); + } else { + pattern = randomValueOtherThan(pattern, () -> new RLikePattern(randomAlphaOfLength(4))); + } + patterns.set(childToModify, pattern); + return new RLikeList(source, child, new RLikePatternList(patterns)); + } + + private RLikePatternList generateRandomPatternList() { + int numChildren = randomIntBetween(1, 10); // Ensure at least one child + List patterns = new ArrayList<>(numChildren); + for (int i = 0; i < numChildren; i++) { + RLikePattern pattern = new RLikePattern(randomAlphaOfLength(4)); + patterns.add(pattern); + } + return new RLikePatternList(patterns); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListTests.java new file mode 100644 index 0000000000000..d18c81502117d --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/scalar/string/RLikeListTests.java @@ -0,0 +1,206 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +package org.elasticsearch.xpack.esql.expression.function.scalar.string; + +import com.carrotsearch.randomizedtesting.annotations.Name; +import com.carrotsearch.randomizedtesting.annotations.ParametersFactory; + +import org.apache.logging.log4j.Logger; +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.FoldContext; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePattern; +import org.elasticsearch.xpack.esql.core.expression.predicate.regex.RLikePatternList; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.expression.function.AbstractScalarFunctionTestCase; +import org.elasticsearch.xpack.esql.expression.function.TestCaseSupplier; +import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike; +import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLikeList; +import org.junit.AfterClass; + +import java.util.ArrayList; +import java.util.List; +import java.util.Locale; +import java.util.function.Function; +import java.util.function.Predicate; +import java.util.function.Supplier; + +import static org.elasticsearch.xpack.esql.core.util.TestUtils.randomCasing; +import static org.elasticsearch.xpack.esql.expression.function.DocsV3Support.renderNegatedOperator; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.nullValue; +import static org.hamcrest.Matchers.startsWith; + +public class RLikeListTests extends AbstractScalarFunctionTestCase { + public RLikeListTests(@Name("TestCase") Supplier testCaseSupplier) { + this.testCase = testCaseSupplier.get(); + } + + @ParametersFactory + public static Iterable parameters() { + final Function escapeString = str -> { + for (String syntax : new String[] { "\\", ".", "?", "+", "*", "|", "{", "}", "[", "]", "(", ")", "\"", "<", ">", "#", "&" }) { + str = str.replace(syntax, "\\" + syntax); + } + return str; + }; + return parameters(escapeString, () -> randomAlphaOfLength(1) + "?"); + } + + static Iterable parameters(Function escapeString, Supplier optionalPattern) { + List cases = new ArrayList<>(); + cases.add( + new TestCaseSupplier( + "null", + List.of(DataType.NULL, DataType.KEYWORD, DataType.BOOLEAN), + () -> new TestCaseSupplier.TestCase( + List.of( + new TestCaseSupplier.TypedData(null, DataType.NULL, "e"), + new TestCaseSupplier.TypedData(new BytesRef(randomAlphaOfLength(10)), DataType.KEYWORD, "pattern").forceLiteral(), + new TestCaseSupplier.TypedData(false, DataType.BOOLEAN, "caseInsensitive").forceLiteral() + ), + "LiteralsEvaluator[lit=null]", + DataType.BOOLEAN, + nullValue() + ) + ) + ); + casesForString(cases, "empty string", () -> "", false, escapeString, optionalPattern); + casesForString(cases, "single ascii character", () -> randomAlphaOfLength(1), true, escapeString, optionalPattern); + casesForString(cases, "ascii string", () -> randomAlphaOfLengthBetween(2, 100), true, escapeString, optionalPattern); + casesForString(cases, "3 bytes, 1 code point", () -> "☕", false, escapeString, optionalPattern); + casesForString(cases, "6 bytes, 2 code points", () -> "❗️", false, escapeString, optionalPattern); + casesForString(cases, "100 random code points", () -> randomUnicodeOfCodepointLength(100), true, escapeString, optionalPattern); + return parameterSuppliersFromTypedData(cases); + } + + record TextAndPattern(String text, String pattern) {} + + private static void casesForString( + List cases, + String title, + Supplier textSupplier, + boolean canGenerateDifferent, + Function escapeString, + Supplier optionalPattern + ) { + cases(cases, title + " matches self", () -> { + String text = textSupplier.get(); + return new TextAndPattern(text, escapeString.apply(text)); + }, true); + cases(cases, title + " matches self case insensitive", () -> { + // RegExp doesn't support case-insensitive matching for Unicodes whose length changes when the case changes. + // Example: a case-insensitive ES regexp query for the pattern `weiß` won't match the value `WEISS` (but will match `WEIß`). + // Or `ʼn` (U+0149) vs. `ʼN` (U+02BC U+004E). + String text, caseChanged; + for (text = textSupplier.get(), caseChanged = randomCasing(text); text.length() != caseChanged.length();) { + text = textSupplier.get(); + caseChanged = randomCasing(text); + } + return new TextAndPattern(caseChanged, escapeString.apply(text)); + }, true, true); + cases(cases, title + " doesn't match self with trailing", () -> { + String text = textSupplier.get(); + return new TextAndPattern(text, escapeString.apply(text) + randomAlphaOfLength(1)); + }, false); + cases(cases, title + " doesn't match self with trailing case insensitive", () -> { + String text = textSupplier.get(); + return new TextAndPattern(randomCasing(text), escapeString.apply(text) + randomAlphaOfLength(1)); + }, true, false); + cases(cases, title + " matches self with optional trailing", () -> { + String text = randomAlphaOfLength(1); + return new TextAndPattern(text, escapeString.apply(text) + optionalPattern.get()); + }, true); + cases(cases, title + " matches self with optional trailing case insensitive", () -> { + String text = randomAlphaOfLength(1); + return new TextAndPattern(randomCasing(text), escapeString.apply(text) + optionalPattern.get()); + }, true, true); + if (canGenerateDifferent) { + cases(cases, title + " doesn't match different", () -> { + String text = textSupplier.get(); + String different = escapeString.apply(randomValueOtherThan(text, textSupplier)); + return new TextAndPattern(text, different); + }, false); + cases(cases, title + " doesn't match different case insensitive", () -> { + String text = textSupplier.get(); + Predicate predicate = t -> t.toLowerCase(Locale.ROOT).equals(text.toLowerCase(Locale.ROOT)); + String different = escapeString.apply(randomValueOtherThanMany(predicate, textSupplier)); + return new TextAndPattern(text, different); + }, true, false); + } + } + + private static void cases(List cases, String title, Supplier textAndPattern, boolean expected) { + cases(cases, title, textAndPattern, false, expected); + } + + private static void cases( + List cases, + String title, + Supplier textAndPattern, + boolean caseInsensitive, + boolean expected + ) { + for (DataType type : DataType.stringTypes()) { + cases.add(new TestCaseSupplier(title + " with " + type.esType(), List.of(type, DataType.KEYWORD, DataType.BOOLEAN), () -> { + TextAndPattern v = textAndPattern.get(); + return new TestCaseSupplier.TestCase( + List.of( + new TestCaseSupplier.TypedData(new BytesRef(v.text), type, "e"), + new TestCaseSupplier.TypedData(new BytesRef(v.pattern), DataType.KEYWORD, "pattern").forceLiteral(), + new TestCaseSupplier.TypedData(caseInsensitive, DataType.BOOLEAN, "caseInsensitive").forceLiteral() + ), + startsWith("AutomataMatchEvaluator[input=Attribute[channel=0], pattern=digraph Automaton {\n"), + DataType.BOOLEAN, + equalTo(expected) + ); + })); + if (caseInsensitive == false) { + cases.add(new TestCaseSupplier(title + " with " + type.esType(), List.of(type, DataType.KEYWORD), () -> { + TextAndPattern v = textAndPattern.get(); + return new TestCaseSupplier.TestCase( + List.of( + new TestCaseSupplier.TypedData(new BytesRef(v.text), type, "e"), + new TestCaseSupplier.TypedData(new BytesRef(v.pattern), DataType.KEYWORD, "pattern").forceLiteral() + ), + startsWith("AutomataMatchEvaluator[input=Attribute[channel=0], pattern=digraph Automaton {\n"), + DataType.BOOLEAN, + equalTo(expected) + ); + })); + } + } + } + + @Override + protected Expression build(Source source, List args) { + return buildRLikeList(logger, source, args); + } + + static Expression buildRLikeList(Logger logger, Source source, List args) { + Expression expression = args.get(0); + Literal pattern = (Literal) args.get(1); + Literal caseInsensitive = args.size() > 2 ? (Literal) args.get(2) : null; + String patternString = ((BytesRef) pattern.fold(FoldContext.small())).utf8ToString(); + boolean caseInsensitiveBool = caseInsensitive != null ? (boolean) caseInsensitive.fold(FoldContext.small()) : false; + logger.info("pattern={} caseInsensitive={}", patternString, caseInsensitiveBool); + + return caseInsensitiveBool + ? new RLikeList(source, expression, new RLikePatternList(List.of(new RLikePattern(patternString))), true) + : (randomBoolean() + ? new RLikeList(source, expression, new RLikePatternList(List.of(new RLikePattern(patternString)))) + : new RLikeList(source, expression, new RLikePatternList(List.of(new RLikePattern(patternString))), false)); + } + + @AfterClass + public static void renderNotRLike() throws Exception { + renderNegatedOperator(constructorWithFunctionInfo(RLike.class), "RLIKE", d -> d, getTestClass()); + } +} 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 b0f83672b5efb..02dd56d3abe73 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 @@ -1195,7 +1195,7 @@ public void testLikeRLike() { assertEquals(".*bar.*", rlike.pattern().asJavaRegex()); expectError("from a | where foo like 12", "no viable alternative at input 'foo like 12'"); - expectError("from a | where foo rlike 12", "mismatched input '12'"); + expectError("from a | where foo rlike 12", "no viable alternative at input 'foo rlike 12'"); expectError( "from a | where foo like \"(?i)(^|[^a-zA-Z0-9_-])nmap($|\\\\.)\"",