diff --git a/docs/changelog/123074.yaml b/docs/changelog/123074.yaml new file mode 100644 index 0000000000000..59ca1524893f8 --- /dev/null +++ b/docs/changelog/123074.yaml @@ -0,0 +1,5 @@ +pr: 123074 +summary: Adding ES|QL Reranker command in snapshot builds +area: Ranking +type: feature +issues: [] diff --git a/docs/changelog/126319.yaml b/docs/changelog/126319.yaml new file mode 100644 index 0000000000000..c8e84df61ad06 --- /dev/null +++ b/docs/changelog/126319.yaml @@ -0,0 +1,5 @@ +pr: 126319 +summary: COMPLETION command grammar and logical plan +area: ES|QL +type: feature +issues: [] diff --git a/docs/changelog/127731.yaml b/docs/changelog/127731.yaml new file mode 100644 index 0000000000000..2641c96e2e05b --- /dev/null +++ b/docs/changelog/127731.yaml @@ -0,0 +1,5 @@ +pr: 127731 +summary: ESQL - Enable telemetry for COMPLETION command +area: Search +type: feature +issues: [] diff --git a/docs/changelog/128948.yaml b/docs/changelog/128948.yaml new file mode 100644 index 0000000000000..a922104757083 --- /dev/null +++ b/docs/changelog/128948.yaml @@ -0,0 +1,6 @@ +pr: 128948 +summary: ES|QL - Add COMPLETION command as a tech preview feature +area: ES|QL +type: feature +issues: +- 124405 diff --git a/docs/reference/rest-api/usage.asciidoc b/docs/reference/rest-api/usage.asciidoc index 5127e30953b4e..0a9d4a4367dfc 100644 --- a/docs/reference/rest-api/usage.asciidoc +++ b/docs/reference/rest-api/usage.asciidoc @@ -247,7 +247,9 @@ GET /_xpack/usage "lookup" : 0, "inlinestats" : 0, "lookup_join" : 0, - "change_point" : 0 + "change_point" : 0, + "completion": 0, + "rerank": 0 }, "queries" : { "rest" : { diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/inference/action/InferenceAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/inference/action/InferenceAction.java index 5db4644635d06..96de7ee9f119b 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/inference/action/InferenceAction.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/inference/action/InferenceAction.java @@ -64,6 +64,10 @@ public static class Request extends BaseInferenceActionRequest { public static final ParseField TOP_N = new ParseField("top_n"); public static final ParseField TIMEOUT = new ParseField("timeout"); + public static Builder builder(String inferenceEntityId, TaskType taskType) { + return new Builder().setInferenceEntityId(inferenceEntityId).setTaskType(taskType); + } + static final ObjectParser PARSER = new ObjectParser<>(NAME, Request.Builder::new); static { PARSER.declareStringArray(Request.Builder::setInput, INPUT); diff --git a/x-pack/plugin/esql/compute/test/src/main/java/org/elasticsearch/compute/test/OperatorTestCase.java b/x-pack/plugin/esql/compute/test/src/main/java/org/elasticsearch/compute/test/OperatorTestCase.java index 1ce60bed4e977..248e8f5ddbfd1 100644 --- a/x-pack/plugin/esql/compute/test/src/main/java/org/elasticsearch/compute/test/OperatorTestCase.java +++ b/x-pack/plugin/esql/compute/test/src/main/java/org/elasticsearch/compute/test/OperatorTestCase.java @@ -189,13 +189,11 @@ protected final List oneDriverPerPageList(Iterator> source, Sup while (source.hasNext()) { List in = source.next(); try ( - Driver d = new Driver( - "test", + Driver d = TestDriverFactory.create( driverContext(), new CannedSourceOperator(in.iterator()), operators.get(), - new PageConsumerOperator(result::add), - () -> {} + new PageConsumerOperator(result::add) ) ) { runDriver(d); @@ -275,13 +273,11 @@ protected final List drive(List operators, Iterator input, List results = new ArrayList<>(); boolean success = false; try ( - Driver d = new Driver( - "test", + Driver d = TestDriverFactory.create( driverContext, new CannedSourceOperator(input), operators, - new TestResultPageSinkOperator(results::add), - () -> {} + new TestResultPageSinkOperator(results::add) ) ) { runDriver(d); @@ -303,22 +299,15 @@ public static void runDriver(List drivers) { int dummyDrivers = between(0, 10); for (int i = 0; i < dummyDrivers; i++) { drivers.add( - new Driver( - "test", - "dummy-session", - 0, - 0, + TestDriverFactory.create( new DriverContext(BigArrays.NON_RECYCLING_INSTANCE, TestBlockFactory.getNonBreakingInstance()), - () -> "dummy-driver", new SequenceLongBlockSourceOperator( TestBlockFactory.getNonBreakingInstance(), LongStream.range(0, between(1, 100)), between(1, 100) ), List.of(), - new PageConsumerOperator(page -> page.releaseBlocks()), - Driver.DEFAULT_STATUS_INTERVAL, - () -> {} + new PageConsumerOperator(Page::releaseBlocks) ) ); } diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/EsqlSpecTestCase.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/EsqlSpecTestCase.java index 6ad3144e34b7e..6a40740f9b224 100644 --- a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/EsqlSpecTestCase.java +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/EsqlSpecTestCase.java @@ -66,11 +66,13 @@ import static org.elasticsearch.xpack.esql.CsvTestUtils.isEnabled; import static org.elasticsearch.xpack.esql.CsvTestUtils.loadCsvSpecValues; import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.availableDatasetsForEs; -import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.clusterHasInferenceEndpoint; -import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.createInferenceEndpoint; -import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.deleteInferenceEndpoint; +import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.createInferenceEndpoints; +import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.deleteInferenceEndpoints; import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.loadDataSetIntoEs; import static org.elasticsearch.xpack.esql.EsqlTestUtils.classpathResources; +import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.COMPLETION; +import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.RERANK; +import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.SEMANTIC_TEXT_FIELD_CAPS; import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.cap; // This test can run very long in serverless configurations @@ -133,8 +135,8 @@ protected EsqlSpecTestCase( @Before public void setup() throws IOException { - if (supportsInferenceTestService() && clusterHasInferenceEndpoint(client()) == false) { - createInferenceEndpoint(client()); + if (supportsInferenceTestService()) { + createInferenceEndpoints(adminClient()); } if (indexExists(availableDatasetsForEs(client(), supportsIndexModeLookup()).iterator().next().indexName()) == false) { @@ -157,7 +159,8 @@ public static void wipeTestData() throws IOException { } } - deleteInferenceEndpoint(client()); + deleteInferenceEndpoints(adminClient()); + } public boolean logResults() { @@ -174,8 +177,8 @@ public final void test() throws Throwable { } protected void shouldSkipTest(String testName) throws IOException { - if (testCase.requiredCapabilities.contains("semantic_text_field_caps") || testCase.requiredCapabilities.contains("rerank")) { - assumeTrue("Inference test service needs to be supported for semantic_text", supportsInferenceTestService()); + if (requiresInferenceEndpoint()) { + assumeTrue("Inference test service needs to be supported", supportsInferenceTestService()); } checkCapabilities(adminClient(), testFeatureService, testName, testCase); assumeTrue("Test " + testName + " is not enabled", isEnabled(testName, instructions, Version.CURRENT)); @@ -245,6 +248,11 @@ protected boolean supportsInferenceTestService() { return true; } + protected boolean requiresInferenceEndpoint() { + return Stream.of(SEMANTIC_TEXT_FIELD_CAPS.capabilityName(), RERANK.capabilityName(), COMPLETION.capabilityName()) + .anyMatch(testCase.requiredCapabilities::contains); + } + protected boolean supportsIndexModeLookup() throws IOException { return true; } @@ -340,6 +348,11 @@ private Object valueMapper(CsvTestUtils.Type type, Object value) { return new BigDecimal(s).round(new MathContext(7, RoundingMode.DOWN)).doubleValue(); } } + if (type == CsvTestUtils.Type.TEXT || type == CsvTestUtils.Type.KEYWORD || type == CsvTestUtils.Type.SEMANTIC_TEXT) { + if (value instanceof String s) { + value = s.replaceAll("\\\\n", "\n"); + } + } return value.toString(); } diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java index 43cf7eac61e98..28e4e81e1ab9e 100644 --- a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java @@ -780,7 +780,7 @@ public void testNamedParamsForIdentifierAndIdentifierPatterns() throws IOExcepti ); error = re.getMessage(); assertThat(error, containsString("ParsingException")); - assertThat(error, containsString("line 1:23: mismatched input '?cmd' expecting {'dissect', 'drop'")); + assertThat(error, containsString("line 1:23: mismatched input '?cmd' expecting {'completion', 'dissect'")); } } diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestRerankTestCase.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestRerankTestCase.java new file mode 100644 index 0000000000000..ce5e58d61fbb3 --- /dev/null +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestRerankTestCase.java @@ -0,0 +1,192 @@ +/* + * 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.qa.rest; + +import org.elasticsearch.client.Request; +import org.elasticsearch.client.ResponseException; +import org.elasticsearch.test.rest.ESRestTestCase; +import org.elasticsearch.xpack.esql.action.EsqlCapabilities; +import org.junit.After; +import org.junit.Before; + +import java.io.IOException; +import java.util.List; +import java.util.Map; + +import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.createRerankInferenceEndpoint; +import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.deleteRerankInferenceEndpoint; +import static org.hamcrest.core.StringContains.containsString; + +public class RestRerankTestCase extends ESRestTestCase { + + @Before + public void skipWhenRerankDisabled() throws IOException { + assumeTrue( + "Requires RERANK capability", + EsqlSpecTestCase.hasCapabilities(adminClient(), List.of(EsqlCapabilities.Cap.RERANK.capabilityName())) + ); + } + + @Before + @After + public void assertRequestBreakerEmpty() throws Exception { + EsqlSpecTestCase.assertRequestBreakerEmpty(); + } + + @Before + public void setUpInferenceEndpoint() throws IOException { + createRerankInferenceEndpoint(adminClient()); + } + + @Before + public void setUpTestIndex() throws IOException { + Request request = new Request("PUT", "/rerank-test-index"); + request.setJsonEntity(""" + { + "mappings": { + "properties": { + "title": { "type": "text" }, + "author": { "type": "text" } + } + } + }"""); + assertEquals(200, client().performRequest(request).getStatusLine().getStatusCode()); + + request = new Request("POST", "/rerank-test-index/_bulk"); + request.addParameter("refresh", "true"); + request.setJsonEntity(""" + { "index": {"_id": 1} } + { "title": "The Future of Exploration", "author": "John Doe" } + { "index": {"_id": 2} } + { "title": "Deep Sea Exploration", "author": "Jane Smith" } + { "index": {"_id": 3} } + { "title": "History of Space Exploration", "author": "Alice Johnson" } + """); + assertEquals(200, client().performRequest(request).getStatusLine().getStatusCode()); + } + + @After + public void wipeData() throws IOException { + try { + adminClient().performRequest(new Request("DELETE", "/rerank-test-index")); + } catch (ResponseException e) { + // 404 here just means we had no indexes + if (e.getResponse().getStatusLine().getStatusCode() != 404) { + throw e; + } + } + + deleteRerankInferenceEndpoint(adminClient()); + } + + public void testRerankWithSingleField() throws IOException { + String query = """ + FROM rerank-test-index + | WHERE match(title, "exploration") + | RERANK "exploration" ON title WITH test_reranker + | EVAL _score = ROUND(_score, 5) + """; + + Map result = runEsqlQuery(query); + + var expectedValues = List.of( + List.of("Jane Smith", "Deep Sea Exploration", 0.02941d), + List.of("John Doe", "The Future of Exploration", 0.02632d), + List.of("Alice Johnson", "History of Space Exploration", 0.02381d) + ); + + assertResultMap(result, defaultOutputColumns(), expectedValues); + } + + public void testRerankWithMultipleFields() throws IOException { + String query = """ + FROM rerank-test-index + | WHERE match(title, "exploration") + | RERANK "exploration" ON title, author WITH test_reranker + | EVAL _score = ROUND(_score, 5) + """; + + Map result = runEsqlQuery(query); + ; + var expectedValues = List.of( + List.of("Jane Smith", "Deep Sea Exploration", 0.01818d), + List.of("John Doe", "The Future of Exploration", 0.01754d), + List.of("Alice Johnson", "History of Space Exploration", 0.01515d) + ); + + assertResultMap(result, defaultOutputColumns(), expectedValues); + } + + public void testRerankWithPositionalParams() throws IOException { + String query = """ + FROM rerank-test-index + | WHERE match(title, "exploration") + | RERANK ? ON title WITH ? + | EVAL _score = ROUND(_score, 5) + """; + + Map result = runEsqlQuery(query, "[\"exploration\", \"test_reranker\"]"); + + var expectedValues = List.of( + List.of("Jane Smith", "Deep Sea Exploration", 0.02941d), + List.of("John Doe", "The Future of Exploration", 0.02632d), + List.of("Alice Johnson", "History of Space Exploration", 0.02381d) + ); + + assertResultMap(result, defaultOutputColumns(), expectedValues); + } + + public void testRerankWithNamedParams() throws IOException { + String query = """ + FROM rerank-test-index + | WHERE match(title, ?queryText) + | RERANK ?queryText ON title WITH ?inferenceId + | EVAL _score = ROUND(_score, 5) + """; + + Map result = runEsqlQuery(query, "[{\"queryText\": \"exploration\"}, {\"inferenceId\": \"test_reranker\"}]"); + + var expectedValues = List.of( + List.of("Jane Smith", "Deep Sea Exploration", 0.02941d), + List.of("John Doe", "The Future of Exploration", 0.02632d), + List.of("Alice Johnson", "History of Space Exploration", 0.02381d) + ); + + assertResultMap(result, defaultOutputColumns(), expectedValues); + } + + public void testRerankWithMissingInferenceId() { + String query = """ + FROM rerank-test-index + | WHERE match(title, "exploration") + | RERANK "exploration" ON title WITH test_missing + | EVAL _score = ROUND(_score, 5) + """; + + ResponseException re = expectThrows(ResponseException.class, () -> runEsqlQuery(query)); + assertThat(re.getMessage(), containsString("Inference endpoint not found")); + } + + private static List> defaultOutputColumns() { + return List.of( + Map.of("name", "author", "type", "text"), + Map.of("name", "title", "type", "text"), + Map.of("name", "_score", "type", "double") + ); + } + + private Map runEsqlQuery(String query) throws IOException { + RestEsqlTestCase.RequestObjectBuilder builder = RestEsqlTestCase.requestObjectBuilder().query(query); + return RestEsqlTestCase.runEsqlSync(builder); + } + + private Map runEsqlQuery(String query, String params) throws IOException { + RestEsqlTestCase.RequestObjectBuilder builder = RestEsqlTestCase.requestObjectBuilder().query(query).params(params); + return RestEsqlTestCase.runEsqlSync(builder); + } +} diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/CsvTestsDataLoader.java b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/CsvTestsDataLoader.java index 9b2160eec4398..9de0bf2a053ed 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/CsvTestsDataLoader.java +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/CsvTestsDataLoader.java @@ -27,6 +27,7 @@ import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.xcontent.XContentHelper; import org.elasticsearch.core.Nullable; +import org.elasticsearch.inference.TaskType; import org.elasticsearch.logging.LogManager; import org.elasticsearch.logging.Logger; import org.elasticsearch.test.rest.ESRestTestCase; @@ -283,7 +284,7 @@ public static void main(String[] args) throws IOException { } public static Set availableDatasetsForEs(RestClient client, boolean supportsIndexModeLookup) throws IOException { - boolean inferenceEnabled = clusterHasInferenceEndpoint(client); + boolean inferenceEnabled = clusterHasSparseEmbeddingInferenceEndpoint(client); Set testDataSets = new HashSet<>(); @@ -324,38 +325,90 @@ private static void loadDataSetIntoEs(RestClient client, boolean supportsIndexMo } } - /** - * The semantic_text mapping type require an inference endpoint that needs to be setup before creating the index. - */ - public static void createInferenceEndpoint(RestClient client) throws IOException { - Request request = new Request("PUT", "_inference/sparse_embedding/test_sparse_inference"); - request.setJsonEntity(""" + public static void createInferenceEndpoints(RestClient client) throws IOException { + if (clusterHasSparseEmbeddingInferenceEndpoint(client) == false) { + createSparseEmbeddingInferenceEndpoint(client); + } + + if (clusterHasRerankInferenceEndpoint(client) == false) { + createRerankInferenceEndpoint(client); + } + + if (clusterHasCompletionInferenceEndpoint(client) == false) { + createCompletionInferenceEndpoint(client); + } + } + + public static void deleteInferenceEndpoints(RestClient client) throws IOException { + deleteSparseEmbeddingInferenceEndpoint(client); + deleteRerankInferenceEndpoint(client); + deleteCompletionInferenceEndpoint(client); + } + + /** The semantic_text mapping type require an inference endpoint that needs to be setup before creating the index. */ + public static void createSparseEmbeddingInferenceEndpoint(RestClient client) throws IOException { + createInferenceEndpoint(client, TaskType.SPARSE_EMBEDDING, "test_sparse_inference", """ { "service": "test_service", - "service_settings": { - "model": "my_model", - "api_key": "abc64" - }, - "task_settings": { - } + "service_settings": { "model": "my_model", "api_key": "abc64" }, + "task_settings": { } } """); - client.performRequest(request); } - public static void deleteInferenceEndpoint(RestClient client) throws IOException { - try { - client.performRequest(new Request("DELETE", "_inference/sparse_embedding/test_sparse_inference")); - } catch (ResponseException e) { - // 404 here means the endpoint was not created - if (e.getResponse().getStatusLine().getStatusCode() != 404) { - throw e; + public static void deleteSparseEmbeddingInferenceEndpoint(RestClient client) throws IOException { + deleteInferenceEndpoint(client, "test_sparse_inference"); + } + + public static boolean clusterHasSparseEmbeddingInferenceEndpoint(RestClient client) throws IOException { + return clusterHasInferenceEndpoint(client, TaskType.SPARSE_EMBEDDING, "test_sparse_inference"); + } + + public static void createRerankInferenceEndpoint(RestClient client) throws IOException { + createInferenceEndpoint(client, TaskType.RERANK, "test_reranker", """ + { + "service": "test_reranking_service", + "service_settings": { "model_id": "my_model", "api_key": "abc64" }, + "task_settings": { "use_text_length": true } } - } + """); + } + + public static void deleteRerankInferenceEndpoint(RestClient client) throws IOException { + deleteInferenceEndpoint(client, "test_reranker"); + } + + public static boolean clusterHasRerankInferenceEndpoint(RestClient client) throws IOException { + return clusterHasInferenceEndpoint(client, TaskType.RERANK, "test_reranker"); + } + + public static void createCompletionInferenceEndpoint(RestClient client) throws IOException { + createInferenceEndpoint(client, TaskType.COMPLETION, "test_completion", """ + { + "service": "completion_test_service", + "service_settings": { "model": "my_model", "api_key": "abc64" }, + "task_settings": { "temperature": 3 } + } + """); + } + + public static void deleteCompletionInferenceEndpoint(RestClient client) throws IOException { + deleteInferenceEndpoint(client, "test_completion"); + } + + public static boolean clusterHasCompletionInferenceEndpoint(RestClient client) throws IOException { + return clusterHasInferenceEndpoint(client, TaskType.COMPLETION, "test_completion"); + } + + private static void createInferenceEndpoint(RestClient client, TaskType taskType, String inferenceId, String modelSettings) + throws IOException { + Request request = new Request("PUT", "_inference/" + taskType.name() + "/" + inferenceId); + request.setJsonEntity(modelSettings); + client.performRequest(request); } - public static boolean clusterHasInferenceEndpoint(RestClient client) throws IOException { - Request request = new Request("GET", "_inference/sparse_embedding/test_sparse_inference"); + private static boolean clusterHasInferenceEndpoint(RestClient client, TaskType taskType, String inferenceId) throws IOException { + Request request = new Request("GET", "_inference/" + taskType.name() + "/" + inferenceId); try { client.performRequest(request); } catch (ResponseException e) { @@ -367,6 +420,17 @@ public static boolean clusterHasInferenceEndpoint(RestClient client) throws IOEx return true; } + private static void deleteInferenceEndpoint(RestClient client, String inferenceId) throws IOException { + try { + client.performRequest(new Request("DELETE", "_inference/" + inferenceId)); + } catch (ResponseException e) { + // 404 here means the endpoint was not created + if (e.getResponse().getStatusLine().getStatusCode() != 404) { + throw e; + } + } + } + private static void loadEnrichPolicy(RestClient client, String policyName, String policyFileName, Logger logger) throws IOException { URL policyMapping = CsvTestsDataLoader.class.getResource("/" + policyFileName); if (policyMapping == null) { diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/EsqlTestUtils.java b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/EsqlTestUtils.java index 4085476dc021c..28b47a70b35fc 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/EsqlTestUtils.java +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/EsqlTestUtils.java @@ -12,6 +12,7 @@ import org.apache.lucene.sandbox.document.HalfFloatPoint; import org.apache.lucene.util.BytesRef; import org.elasticsearch.ExceptionsHelper; +import org.elasticsearch.action.ActionListener; import org.elasticsearch.cluster.RemoteException; import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver; import org.elasticsearch.cluster.service.ClusterService; @@ -72,6 +73,8 @@ import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.LessThanOrEqual; import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.NotEquals; import org.elasticsearch.xpack.esql.index.EsIndex; +import org.elasticsearch.xpack.esql.inference.InferenceResolution; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; import org.elasticsearch.xpack.esql.optimizer.LogicalOptimizerContext; import org.elasticsearch.xpack.esql.parser.QueryParam; import org.elasticsearch.xpack.esql.plan.logical.Enrich; @@ -107,6 +110,7 @@ import java.time.Period; import java.util.ArrayList; import java.util.Arrays; +import java.util.Collection; import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; @@ -124,6 +128,7 @@ import static java.util.Collections.emptyMap; import static java.util.Collections.unmodifiableMap; import static org.elasticsearch.test.ESTestCase.assertEquals; +import static org.elasticsearch.test.ESTestCase.assertThat; import static org.elasticsearch.test.ESTestCase.between; import static org.elasticsearch.test.ESTestCase.randomAlphaOfLength; import static org.elasticsearch.test.ESTestCase.randomArray; @@ -149,9 +154,12 @@ import static org.elasticsearch.xpack.esql.parser.ParserUtils.ParamClassification.IDENTIFIER; import static org.elasticsearch.xpack.esql.parser.ParserUtils.ParamClassification.PATTERN; import static org.elasticsearch.xpack.esql.parser.ParserUtils.ParamClassification.VALUE; +import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.instanceOf; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.mock; public final class EsqlTestUtils { @@ -384,9 +392,21 @@ public static LogicalOptimizerContext unboundLogicalOptimizerContext() { null, mock(ClusterService.class), mock(IndexNameExpressionResolver.class), - null + null, + mockInferenceRunner() ); + @SuppressWarnings("unchecked") + private static InferenceRunner mockInferenceRunner() { + InferenceRunner inferenceRunner = mock(InferenceRunner.class); + doAnswer(i -> { + i.getArgument(1, ActionListener.class).onResponse(emptyInferenceResolution()); + return null; + }).when(inferenceRunner).resolveInferenceIds(any(), any()); + + return inferenceRunner; + } + private EsqlTestUtils() {} public static Configuration configuration(QueryPragmas pragmas, String query) { @@ -462,6 +482,10 @@ public static EnrichResolution emptyPolicyResolution() { return new EnrichResolution(); } + public static InferenceResolution emptyInferenceResolution() { + return InferenceResolution.EMPTY; + } + public static SearchStats statsForExistingField(String... names) { return fieldMatchingExistOrMissing(true, names); } @@ -864,6 +888,19 @@ public static void assertEsqlFailure(Exception e) { .ifPresent(transportFailure -> assertNull("remote transport exception must be unwrapped", transportFailure.getCause())); } + public static T singleValue(Collection collection) { + assertThat(collection, hasSize(1)); + return collection.iterator().next(); + } + + public static Attribute getAttributeByName(Collection attributes, String name) { + return attributes.stream().filter(attr -> attr.name().equals(name)).findAny().orElse(null); + } + + public static Map jsonEntityToMap(HttpEntity entity) throws IOException { + return entityToMap(entity, XContentType.JSON); + } + public static Map entityToMap(HttpEntity entity, XContentType expectedContentType) throws IOException { try (InputStream content = entity.getContent()) { XContentType xContentType = XContentType.fromMediaType(entity.getContentType().getValue()); diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/completion.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/completion.csv-spec new file mode 100644 index 0000000000000..9f0cf627eb927 --- /dev/null +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/completion.csv-spec @@ -0,0 +1,61 @@ +// Note: +// The "test_completion" service returns the prompt in uppercase, making the output easy to guess. + + +completion using a ROW source operator +required_capability: completion + +ROW prompt="Who is Victor Hugo?" +| COMPLETION completion_output = prompt WITH test_completion +; + +prompt:keyword | completion_output:keyword +Who is Victor Hugo? | WHO IS VICTOR HUGO? +; + + +completion using a ROW source operator and prompt is a multi-valued field +required_capability: completion + +ROW prompt=["Answer the following question:", "Who is Victor Hugo?"] +| COMPLETION completion_output = prompt WITH test_completion +; + +prompt:keyword | completion_output:keyword +[Answer the following question:, Who is Victor Hugo?] | ANSWER THE FOLLOWING QUESTION:\nWHO IS VICTOR HUGO? +; + + +completion after a search +required_capability: completion +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| SORT _score DESC +| LIMIT 2 +| COMPLETION title WITH test_completion +| KEEP title, completion +; + +title:text | completion:keyword +War and Peace | WAR AND PEACE +War and Peace (Signet Classics) | WAR AND PEACE (SIGNET CLASSICS) +; + +completion using a function as a prompt +required_capability: completion +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| SORT _score DESC +| LIMIT 2 +| COMPLETION CONCAT("This is a prompt: ", title) WITH test_completion +| KEEP title, completion +; + +title:text | completion:keyword +War and Peace | THIS IS A PROMPT: WAR AND PEACE +War and Peace (Signet Classics) | THIS IS A PROMPT: WAR AND PEACE (SIGNET CLASSICS) +; diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/rerank.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/rerank.csv-spec new file mode 100644 index 0000000000000..d788607ae31f0 --- /dev/null +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/rerank.csv-spec @@ -0,0 +1,95 @@ +// Note: +// The "test_reranker" service scores the row from the inputText length and does not really score by relevance. +// This makes the output more predictable which is helpful here. + + +reranker using a single field +required_capability: rerank +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| RERANK "war and peace" ON title WITH test_reranker +| KEEP book_no, title, author +; + +book_no:keyword | title:text | author:text +5327 | War and Peace | Leo Tolstoy +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy +; + + +reranker using multiple fields +required_capability: rerank +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| RERANK "war and peace" ON title, author WITH test_reranker +| KEEP book_no, title, author +; + +book_no:keyword | title:text | author:text +5327 | War and Peace | Leo Tolstoy +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] +; + + +reranker after a limit +required_capability: rerank +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| SORT _score DESC +| LIMIT 3 +| RERANK "war and peace" ON title WITH test_reranker +| KEEP book_no, title, author +; + +book_no:keyword | title:text | author:text +5327 | War and Peace | Leo Tolstoy +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo +; + + +reranker before a limit +required_capability: rerank +required_capability: match_operator_colon + +FROM books METADATA _score +| WHERE title:"war and peace" AND author:"Tolstoy" +| RERANK "war and peace" ON title WITH test_reranker +| KEEP book_no, title, author +| LIMIT 3 +; + +book_no:keyword | title:text | author:text +5327 | War and Peace | Leo Tolstoy +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] +9032 | War and Peace: A Novel (6 Volumes) | Tolstoy Leo +; + + +reranker using another sort order +required_capability: rerank +required_capability: match_operator_colon + +FROM books +| WHERE title:"war and peace" AND author:"Tolstoy" +| RERANK "war and peace" ON title WITH test_reranker +| KEEP book_no, title, author +| SORT author, title +| LIMIT 3 +; + +book_no:keyword | title:text | author:text +4536 | War and Peace (Signet Classics) | [John Hockenberry, Leo Tolstoy, Pat Conroy] +2776 | The Devil and Other Stories (Oxford World's Classics) | Leo Tolstoy +5327 | War and Peace | Leo Tolstoy +; diff --git a/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4 b/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4 index 78174e93a4e4c..8fbf553a55780 100644 --- a/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4 +++ b/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4 @@ -57,6 +57,7 @@ options { * they have on the UI (auto-completion, etc...) */ +COMPLETION : 'completion' -> pushMode(EXPRESSION_MODE); DISSECT : 'dissect' -> pushMode(EXPRESSION_MODE); DROP : 'drop' -> pushMode(PROJECT_MODE); ENRICH : 'enrich' -> pushMode(ENRICH_MODE); @@ -89,6 +90,7 @@ CHANGE_POINT : 'change_point' -> pushMode(CHANGE_POINT_MODE); DEV_INLINESTATS : {this.isDevVersion()}? 'inlinestats' -> pushMode(EXPRESSION_MODE); DEV_LOOKUP : {this.isDevVersion()}? 'lookup_🐔' -> pushMode(LOOKUP_MODE); DEV_METRICS : {this.isDevVersion()}? 'metrics' -> pushMode(METRICS_MODE); +DEV_RERANK : {this.isDevVersion()}? 'rerank' -> pushMode(EXPRESSION_MODE); // list of all JOIN commands DEV_JOIN_FULL : {this.isDevVersion()}? 'full' -> pushMode(JOIN_MODE); DEV_JOIN_LEFT : {this.isDevVersion()}? 'left' -> pushMode(JOIN_MODE); @@ -176,11 +178,11 @@ DECIMAL_LITERAL | DOT DIGIT+ EXPONENT ; -BY : 'by'; AND : 'and'; ASC : 'asc'; ASSIGN : '='; +BY : 'by'; CAST_OP : '::'; COLON : ':'; COMMA : ','; @@ -196,11 +198,13 @@ LP : '('; NOT : 'not'; NULL : 'null'; NULLS : 'nulls'; +ON: 'on'; OR : 'or'; PARAM: '?'; RLIKE: 'rlike'; RP : ')'; TRUE : 'true'; +WITH: 'with'; EQ : '=='; CIEQ : '=~'; @@ -365,7 +369,7 @@ RENAME_NAMED_OR_POSITIONAL_PARAM : NAMED_OR_POSITIONAL_PARAM -> type(NAMED_OR_PO RENAME_DOUBLE_PARAMS : DOUBLE_PARAMS -> type(DOUBLE_PARAMS); RENAME_NAMED_OR_POSITIONAL_DOUBLE_PARAMS : NAMED_OR_POSITIONAL_DOUBLE_PARAMS -> type(NAMED_OR_POSITIONAL_DOUBLE_PARAMS); -AS : 'as'; +AS: 'as'; RENAME_ID_PATTERN : ID_PATTERN -> type(ID_PATTERN) @@ -388,8 +392,8 @@ mode ENRICH_MODE; ENRICH_PIPE : PIPE -> type(PIPE), popMode; ENRICH_OPENING_BRACKET : OPENING_BRACKET -> type(OPENING_BRACKET), pushMode(SETTING_MODE); -ON : 'on' -> pushMode(ENRICH_FIELD_MODE); -WITH : 'with' -> pushMode(ENRICH_FIELD_MODE); +ENRICH_ON : ON -> type(ON), pushMode(ENRICH_FIELD_MODE); +ENRICH_WITH : WITH -> type(WITH), pushMode(ENRICH_FIELD_MODE); // similar to that of an index // see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#indices-create-api-path-params diff --git a/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens b/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens index 550101b0dc3b7..4a1a8def01733 100644 --- a/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens +++ b/x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens @@ -1,202 +1,205 @@ -DISSECT=1 -DROP=2 -ENRICH=3 -EVAL=4 -EXPLAIN=5 -FROM=6 -GROK=7 -KEEP=8 -LIMIT=9 -MV_EXPAND=10 -RENAME=11 -ROW=12 -SHOW=13 -SORT=14 -STATS=15 -WHERE=16 -JOIN_LOOKUP=17 -CHANGE_POINT=18 -DEV_INLINESTATS=19 -DEV_LOOKUP=20 -DEV_METRICS=21 -DEV_JOIN_FULL=22 -DEV_JOIN_LEFT=23 -DEV_JOIN_RIGHT=24 -UNKNOWN_CMD=25 -LINE_COMMENT=26 -MULTILINE_COMMENT=27 -WS=28 -PIPE=29 -QUOTED_STRING=30 -INTEGER_LITERAL=31 -DECIMAL_LITERAL=32 -BY=33 -AND=34 -ASC=35 -ASSIGN=36 -CAST_OP=37 -COLON=38 -COMMA=39 -DESC=40 -DOT=41 -FALSE=42 -FIRST=43 -IN=44 -IS=45 -LAST=46 -LIKE=47 -LP=48 -NOT=49 -NULL=50 -NULLS=51 -OR=52 -PARAM=53 -RLIKE=54 -RP=55 -TRUE=56 -EQ=57 -CIEQ=58 -NEQ=59 -LT=60 -LTE=61 -GT=62 -GTE=63 -PLUS=64 -MINUS=65 -ASTERISK=66 -SLASH=67 -PERCENT=68 -LEFT_BRACES=69 -RIGHT_BRACES=70 -DOUBLE_PARAMS=71 -NAMED_OR_POSITIONAL_PARAM=72 -NAMED_OR_POSITIONAL_DOUBLE_PARAMS=73 -OPENING_BRACKET=74 -CLOSING_BRACKET=75 -UNQUOTED_IDENTIFIER=76 -QUOTED_IDENTIFIER=77 -EXPR_LINE_COMMENT=78 -EXPR_MULTILINE_COMMENT=79 -EXPR_WS=80 -EXPLAIN_WS=81 -EXPLAIN_LINE_COMMENT=82 -EXPLAIN_MULTILINE_COMMENT=83 -METADATA=84 -UNQUOTED_SOURCE=85 -FROM_LINE_COMMENT=86 -FROM_MULTILINE_COMMENT=87 -FROM_WS=88 -ID_PATTERN=89 -PROJECT_LINE_COMMENT=90 -PROJECT_MULTILINE_COMMENT=91 -PROJECT_WS=92 -AS=93 -RENAME_LINE_COMMENT=94 -RENAME_MULTILINE_COMMENT=95 -RENAME_WS=96 -ON=97 -WITH=98 -ENRICH_POLICY_NAME=99 -ENRICH_LINE_COMMENT=100 -ENRICH_MULTILINE_COMMENT=101 -ENRICH_WS=102 -ENRICH_FIELD_LINE_COMMENT=103 -ENRICH_FIELD_MULTILINE_COMMENT=104 -ENRICH_FIELD_WS=105 -MVEXPAND_LINE_COMMENT=106 -MVEXPAND_MULTILINE_COMMENT=107 -MVEXPAND_WS=108 -INFO=109 -SHOW_LINE_COMMENT=110 -SHOW_MULTILINE_COMMENT=111 -SHOW_WS=112 -SETTING=113 -SETTING_LINE_COMMENT=114 -SETTTING_MULTILINE_COMMENT=115 -SETTING_WS=116 -LOOKUP_LINE_COMMENT=117 -LOOKUP_MULTILINE_COMMENT=118 -LOOKUP_WS=119 -LOOKUP_FIELD_LINE_COMMENT=120 -LOOKUP_FIELD_MULTILINE_COMMENT=121 -LOOKUP_FIELD_WS=122 -JOIN=123 -USING=124 -JOIN_LINE_COMMENT=125 -JOIN_MULTILINE_COMMENT=126 -JOIN_WS=127 -METRICS_LINE_COMMENT=128 -METRICS_MULTILINE_COMMENT=129 -METRICS_WS=130 -CLOSING_METRICS_LINE_COMMENT=131 -CLOSING_METRICS_MULTILINE_COMMENT=132 -CLOSING_METRICS_WS=133 -CHANGE_POINT_LINE_COMMENT=134 -CHANGE_POINT_MULTILINE_COMMENT=135 -CHANGE_POINT_WS=136 -'dissect'=1 -'drop'=2 -'enrich'=3 -'eval'=4 -'explain'=5 -'from'=6 -'grok'=7 -'keep'=8 -'limit'=9 -'mv_expand'=10 -'rename'=11 -'row'=12 -'show'=13 -'sort'=14 -'stats'=15 -'where'=16 -'lookup'=17 -'change_point'=18 -'|'=29 -'by'=33 -'and'=34 -'asc'=35 -'='=36 -'::'=37 -':'=38 -','=39 -'desc'=40 -'.'=41 -'false'=42 -'first'=43 -'in'=44 -'is'=45 -'last'=46 -'like'=47 -'('=48 -'not'=49 -'null'=50 -'nulls'=51 -'or'=52 -'?'=53 -'rlike'=54 -')'=55 -'true'=56 -'=='=57 -'=~'=58 -'!='=59 -'<'=60 -'<='=61 -'>'=62 -'>='=63 -'+'=64 -'-'=65 -'*'=66 -'/'=67 -'%'=68 -'{'=69 -'}'=70 -'??'=71 -']'=75 -'metadata'=84 -'as'=93 -'on'=97 -'with'=98 -'info'=109 -'join'=123 -'USING'=124 +COMPLETION=1 +DISSECT=2 +DROP=3 +ENRICH=4 +EVAL=5 +EXPLAIN=6 +FROM=7 +GROK=8 +KEEP=9 +LIMIT=10 +MV_EXPAND=11 +RENAME=12 +ROW=13 +SHOW=14 +SORT=15 +STATS=16 +WHERE=17 +JOIN_LOOKUP=18 +CHANGE_POINT=19 +DEV_INLINESTATS=20 +DEV_LOOKUP=21 +DEV_METRICS=22 +DEV_RERANK=23 +DEV_JOIN_FULL=24 +DEV_JOIN_LEFT=25 +DEV_JOIN_RIGHT=26 +UNKNOWN_CMD=27 +LINE_COMMENT=28 +MULTILINE_COMMENT=29 +WS=30 +PIPE=31 +QUOTED_STRING=32 +INTEGER_LITERAL=33 +DECIMAL_LITERAL=34 +AND=35 +ASC=36 +ASSIGN=37 +BY=38 +CAST_OP=39 +COLON=40 +COMMA=41 +DESC=42 +DOT=43 +FALSE=44 +FIRST=45 +IN=46 +IS=47 +LAST=48 +LIKE=49 +LP=50 +NOT=51 +NULL=52 +NULLS=53 +ON=54 +OR=55 +PARAM=56 +RLIKE=57 +RP=58 +TRUE=59 +WITH=60 +EQ=61 +CIEQ=62 +NEQ=63 +LT=64 +LTE=65 +GT=66 +GTE=67 +PLUS=68 +MINUS=69 +ASTERISK=70 +SLASH=71 +PERCENT=72 +LEFT_BRACES=73 +RIGHT_BRACES=74 +DOUBLE_PARAMS=75 +NAMED_OR_POSITIONAL_PARAM=76 +NAMED_OR_POSITIONAL_DOUBLE_PARAMS=77 +OPENING_BRACKET=78 +CLOSING_BRACKET=79 +UNQUOTED_IDENTIFIER=80 +QUOTED_IDENTIFIER=81 +EXPR_LINE_COMMENT=82 +EXPR_MULTILINE_COMMENT=83 +EXPR_WS=84 +EXPLAIN_WS=85 +EXPLAIN_LINE_COMMENT=86 +EXPLAIN_MULTILINE_COMMENT=87 +METADATA=88 +UNQUOTED_SOURCE=89 +FROM_LINE_COMMENT=90 +FROM_MULTILINE_COMMENT=91 +FROM_WS=92 +ID_PATTERN=93 +PROJECT_LINE_COMMENT=94 +PROJECT_MULTILINE_COMMENT=95 +PROJECT_WS=96 +AS=97 +RENAME_LINE_COMMENT=98 +RENAME_MULTILINE_COMMENT=99 +RENAME_WS=100 +ENRICH_POLICY_NAME=101 +ENRICH_LINE_COMMENT=102 +ENRICH_MULTILINE_COMMENT=103 +ENRICH_WS=104 +ENRICH_FIELD_LINE_COMMENT=105 +ENRICH_FIELD_MULTILINE_COMMENT=106 +ENRICH_FIELD_WS=107 +MVEXPAND_LINE_COMMENT=108 +MVEXPAND_MULTILINE_COMMENT=109 +MVEXPAND_WS=110 +INFO=111 +SHOW_LINE_COMMENT=112 +SHOW_MULTILINE_COMMENT=113 +SHOW_WS=114 +SETTING=115 +SETTING_LINE_COMMENT=116 +SETTTING_MULTILINE_COMMENT=117 +SETTING_WS=118 +LOOKUP_LINE_COMMENT=119 +LOOKUP_MULTILINE_COMMENT=120 +LOOKUP_WS=121 +LOOKUP_FIELD_LINE_COMMENT=122 +LOOKUP_FIELD_MULTILINE_COMMENT=123 +LOOKUP_FIELD_WS=124 +JOIN=125 +USING=126 +JOIN_LINE_COMMENT=127 +JOIN_MULTILINE_COMMENT=128 +JOIN_WS=129 +METRICS_LINE_COMMENT=130 +METRICS_MULTILINE_COMMENT=131 +METRICS_WS=132 +CLOSING_METRICS_LINE_COMMENT=133 +CLOSING_METRICS_MULTILINE_COMMENT=134 +CLOSING_METRICS_WS=135 +CHANGE_POINT_LINE_COMMENT=136 +CHANGE_POINT_MULTILINE_COMMENT=137 +CHANGE_POINT_WS=138 +'completion'=1 +'dissect'=2 +'drop'=3 +'enrich'=4 +'eval'=5 +'explain'=6 +'from'=7 +'grok'=8 +'keep'=9 +'limit'=10 +'mv_expand'=11 +'rename'=12 +'row'=13 +'show'=14 +'sort'=15 +'stats'=16 +'where'=17 +'lookup'=18 +'change_point'=19 +'|'=31 +'and'=35 +'asc'=36 +'='=37 +'by'=38 +'::'=39 +':'=40 +','=41 +'desc'=42 +'.'=43 +'false'=44 +'first'=45 +'in'=46 +'is'=47 +'last'=48 +'like'=49 +'('=50 +'not'=51 +'null'=52 +'nulls'=53 +'on'=54 +'or'=55 +'?'=56 +'rlike'=57 +')'=58 +'true'=59 +'with'=60 +'=='=61 +'=~'=62 +'!='=63 +'<'=64 +'<='=65 +'>'=66 +'>='=67 +'+'=68 +'-'=69 +'*'=70 +'/'=71 +'%'=72 +'{'=73 +'}'=74 +'??'=75 +']'=79 +'metadata'=88 +'as'=97 +'info'=111 +'join'=125 +'USING'=126 diff --git a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 index 2f3566c41f048..87cca262ab687 100644 --- a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 +++ b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4 @@ -53,9 +53,11 @@ processingCommand | mvExpandCommand | joinCommand | changePointCommand + | completionCommand // in development | {this.isDevVersion()}? inlinestatsCommand | {this.isDevVersion()}? lookupCommand + | {this.isDevVersion()}? rerankCommand ; whereCommand @@ -134,6 +136,14 @@ field : (qualifiedName ASSIGN)? booleanExpression ; +rerankFields + : rerankField (COMMA rerankField)* + ; + +rerankField + : qualifiedName (ASSIGN booleanExpression)? + ; + fromCommand : FROM indexPattern (COMMA indexPattern)* metadata? ; @@ -367,3 +377,11 @@ joinCondition joinPredicate : valueExpression ; + +rerankCommand + : DEV_RERANK queryText=constant ON rerankFields (WITH inferenceId=identifierOrParameter)? + ; + +completionCommand + : COMPLETION (targetField=qualifiedName ASSIGN)? prompt=primaryExpression WITH inferenceId=identifierOrParameter + ; diff --git a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.tokens b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.tokens index 550101b0dc3b7..4a1a8def01733 100644 --- a/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.tokens +++ b/x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.tokens @@ -1,202 +1,205 @@ -DISSECT=1 -DROP=2 -ENRICH=3 -EVAL=4 -EXPLAIN=5 -FROM=6 -GROK=7 -KEEP=8 -LIMIT=9 -MV_EXPAND=10 -RENAME=11 -ROW=12 -SHOW=13 -SORT=14 -STATS=15 -WHERE=16 -JOIN_LOOKUP=17 -CHANGE_POINT=18 -DEV_INLINESTATS=19 -DEV_LOOKUP=20 -DEV_METRICS=21 -DEV_JOIN_FULL=22 -DEV_JOIN_LEFT=23 -DEV_JOIN_RIGHT=24 -UNKNOWN_CMD=25 -LINE_COMMENT=26 -MULTILINE_COMMENT=27 -WS=28 -PIPE=29 -QUOTED_STRING=30 -INTEGER_LITERAL=31 -DECIMAL_LITERAL=32 -BY=33 -AND=34 -ASC=35 -ASSIGN=36 -CAST_OP=37 -COLON=38 -COMMA=39 -DESC=40 -DOT=41 -FALSE=42 -FIRST=43 -IN=44 -IS=45 -LAST=46 -LIKE=47 -LP=48 -NOT=49 -NULL=50 -NULLS=51 -OR=52 -PARAM=53 -RLIKE=54 -RP=55 -TRUE=56 -EQ=57 -CIEQ=58 -NEQ=59 -LT=60 -LTE=61 -GT=62 -GTE=63 -PLUS=64 -MINUS=65 -ASTERISK=66 -SLASH=67 -PERCENT=68 -LEFT_BRACES=69 -RIGHT_BRACES=70 -DOUBLE_PARAMS=71 -NAMED_OR_POSITIONAL_PARAM=72 -NAMED_OR_POSITIONAL_DOUBLE_PARAMS=73 -OPENING_BRACKET=74 -CLOSING_BRACKET=75 -UNQUOTED_IDENTIFIER=76 -QUOTED_IDENTIFIER=77 -EXPR_LINE_COMMENT=78 -EXPR_MULTILINE_COMMENT=79 -EXPR_WS=80 -EXPLAIN_WS=81 -EXPLAIN_LINE_COMMENT=82 -EXPLAIN_MULTILINE_COMMENT=83 -METADATA=84 -UNQUOTED_SOURCE=85 -FROM_LINE_COMMENT=86 -FROM_MULTILINE_COMMENT=87 -FROM_WS=88 -ID_PATTERN=89 -PROJECT_LINE_COMMENT=90 -PROJECT_MULTILINE_COMMENT=91 -PROJECT_WS=92 -AS=93 -RENAME_LINE_COMMENT=94 -RENAME_MULTILINE_COMMENT=95 -RENAME_WS=96 -ON=97 -WITH=98 -ENRICH_POLICY_NAME=99 -ENRICH_LINE_COMMENT=100 -ENRICH_MULTILINE_COMMENT=101 -ENRICH_WS=102 -ENRICH_FIELD_LINE_COMMENT=103 -ENRICH_FIELD_MULTILINE_COMMENT=104 -ENRICH_FIELD_WS=105 -MVEXPAND_LINE_COMMENT=106 -MVEXPAND_MULTILINE_COMMENT=107 -MVEXPAND_WS=108 -INFO=109 -SHOW_LINE_COMMENT=110 -SHOW_MULTILINE_COMMENT=111 -SHOW_WS=112 -SETTING=113 -SETTING_LINE_COMMENT=114 -SETTTING_MULTILINE_COMMENT=115 -SETTING_WS=116 -LOOKUP_LINE_COMMENT=117 -LOOKUP_MULTILINE_COMMENT=118 -LOOKUP_WS=119 -LOOKUP_FIELD_LINE_COMMENT=120 -LOOKUP_FIELD_MULTILINE_COMMENT=121 -LOOKUP_FIELD_WS=122 -JOIN=123 -USING=124 -JOIN_LINE_COMMENT=125 -JOIN_MULTILINE_COMMENT=126 -JOIN_WS=127 -METRICS_LINE_COMMENT=128 -METRICS_MULTILINE_COMMENT=129 -METRICS_WS=130 -CLOSING_METRICS_LINE_COMMENT=131 -CLOSING_METRICS_MULTILINE_COMMENT=132 -CLOSING_METRICS_WS=133 -CHANGE_POINT_LINE_COMMENT=134 -CHANGE_POINT_MULTILINE_COMMENT=135 -CHANGE_POINT_WS=136 -'dissect'=1 -'drop'=2 -'enrich'=3 -'eval'=4 -'explain'=5 -'from'=6 -'grok'=7 -'keep'=8 -'limit'=9 -'mv_expand'=10 -'rename'=11 -'row'=12 -'show'=13 -'sort'=14 -'stats'=15 -'where'=16 -'lookup'=17 -'change_point'=18 -'|'=29 -'by'=33 -'and'=34 -'asc'=35 -'='=36 -'::'=37 -':'=38 -','=39 -'desc'=40 -'.'=41 -'false'=42 -'first'=43 -'in'=44 -'is'=45 -'last'=46 -'like'=47 -'('=48 -'not'=49 -'null'=50 -'nulls'=51 -'or'=52 -'?'=53 -'rlike'=54 -')'=55 -'true'=56 -'=='=57 -'=~'=58 -'!='=59 -'<'=60 -'<='=61 -'>'=62 -'>='=63 -'+'=64 -'-'=65 -'*'=66 -'/'=67 -'%'=68 -'{'=69 -'}'=70 -'??'=71 -']'=75 -'metadata'=84 -'as'=93 -'on'=97 -'with'=98 -'info'=109 -'join'=123 -'USING'=124 +COMPLETION=1 +DISSECT=2 +DROP=3 +ENRICH=4 +EVAL=5 +EXPLAIN=6 +FROM=7 +GROK=8 +KEEP=9 +LIMIT=10 +MV_EXPAND=11 +RENAME=12 +ROW=13 +SHOW=14 +SORT=15 +STATS=16 +WHERE=17 +JOIN_LOOKUP=18 +CHANGE_POINT=19 +DEV_INLINESTATS=20 +DEV_LOOKUP=21 +DEV_METRICS=22 +DEV_RERANK=23 +DEV_JOIN_FULL=24 +DEV_JOIN_LEFT=25 +DEV_JOIN_RIGHT=26 +UNKNOWN_CMD=27 +LINE_COMMENT=28 +MULTILINE_COMMENT=29 +WS=30 +PIPE=31 +QUOTED_STRING=32 +INTEGER_LITERAL=33 +DECIMAL_LITERAL=34 +AND=35 +ASC=36 +ASSIGN=37 +BY=38 +CAST_OP=39 +COLON=40 +COMMA=41 +DESC=42 +DOT=43 +FALSE=44 +FIRST=45 +IN=46 +IS=47 +LAST=48 +LIKE=49 +LP=50 +NOT=51 +NULL=52 +NULLS=53 +ON=54 +OR=55 +PARAM=56 +RLIKE=57 +RP=58 +TRUE=59 +WITH=60 +EQ=61 +CIEQ=62 +NEQ=63 +LT=64 +LTE=65 +GT=66 +GTE=67 +PLUS=68 +MINUS=69 +ASTERISK=70 +SLASH=71 +PERCENT=72 +LEFT_BRACES=73 +RIGHT_BRACES=74 +DOUBLE_PARAMS=75 +NAMED_OR_POSITIONAL_PARAM=76 +NAMED_OR_POSITIONAL_DOUBLE_PARAMS=77 +OPENING_BRACKET=78 +CLOSING_BRACKET=79 +UNQUOTED_IDENTIFIER=80 +QUOTED_IDENTIFIER=81 +EXPR_LINE_COMMENT=82 +EXPR_MULTILINE_COMMENT=83 +EXPR_WS=84 +EXPLAIN_WS=85 +EXPLAIN_LINE_COMMENT=86 +EXPLAIN_MULTILINE_COMMENT=87 +METADATA=88 +UNQUOTED_SOURCE=89 +FROM_LINE_COMMENT=90 +FROM_MULTILINE_COMMENT=91 +FROM_WS=92 +ID_PATTERN=93 +PROJECT_LINE_COMMENT=94 +PROJECT_MULTILINE_COMMENT=95 +PROJECT_WS=96 +AS=97 +RENAME_LINE_COMMENT=98 +RENAME_MULTILINE_COMMENT=99 +RENAME_WS=100 +ENRICH_POLICY_NAME=101 +ENRICH_LINE_COMMENT=102 +ENRICH_MULTILINE_COMMENT=103 +ENRICH_WS=104 +ENRICH_FIELD_LINE_COMMENT=105 +ENRICH_FIELD_MULTILINE_COMMENT=106 +ENRICH_FIELD_WS=107 +MVEXPAND_LINE_COMMENT=108 +MVEXPAND_MULTILINE_COMMENT=109 +MVEXPAND_WS=110 +INFO=111 +SHOW_LINE_COMMENT=112 +SHOW_MULTILINE_COMMENT=113 +SHOW_WS=114 +SETTING=115 +SETTING_LINE_COMMENT=116 +SETTTING_MULTILINE_COMMENT=117 +SETTING_WS=118 +LOOKUP_LINE_COMMENT=119 +LOOKUP_MULTILINE_COMMENT=120 +LOOKUP_WS=121 +LOOKUP_FIELD_LINE_COMMENT=122 +LOOKUP_FIELD_MULTILINE_COMMENT=123 +LOOKUP_FIELD_WS=124 +JOIN=125 +USING=126 +JOIN_LINE_COMMENT=127 +JOIN_MULTILINE_COMMENT=128 +JOIN_WS=129 +METRICS_LINE_COMMENT=130 +METRICS_MULTILINE_COMMENT=131 +METRICS_WS=132 +CLOSING_METRICS_LINE_COMMENT=133 +CLOSING_METRICS_MULTILINE_COMMENT=134 +CLOSING_METRICS_WS=135 +CHANGE_POINT_LINE_COMMENT=136 +CHANGE_POINT_MULTILINE_COMMENT=137 +CHANGE_POINT_WS=138 +'completion'=1 +'dissect'=2 +'drop'=3 +'enrich'=4 +'eval'=5 +'explain'=6 +'from'=7 +'grok'=8 +'keep'=9 +'limit'=10 +'mv_expand'=11 +'rename'=12 +'row'=13 +'show'=14 +'sort'=15 +'stats'=16 +'where'=17 +'lookup'=18 +'change_point'=19 +'|'=31 +'and'=35 +'asc'=36 +'='=37 +'by'=38 +'::'=39 +':'=40 +','=41 +'desc'=42 +'.'=43 +'false'=44 +'first'=45 +'in'=46 +'is'=47 +'last'=48 +'like'=49 +'('=50 +'not'=51 +'null'=52 +'nulls'=53 +'on'=54 +'or'=55 +'?'=56 +'rlike'=57 +')'=58 +'true'=59 +'with'=60 +'=='=61 +'=~'=62 +'!='=63 +'<'=64 +'<='=65 +'>'=66 +'>='=67 +'+'=68 +'-'=69 +'*'=70 +'/'=71 +'%'=72 +'{'=73 +'}'=74 +'??'=75 +']'=79 +'metadata'=88 +'as'=97 +'info'=111 +'join'=125 +'USING'=126 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 0595fbc69494d..52dd8669da234 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 @@ -782,6 +782,16 @@ public enum Cap { */ AGGREGATE_METRIC_DOUBLE_RENDERING(AGGREGATE_METRIC_DOUBLE_FEATURE_FLAG), + /** + * Support for RERANK command + */ + RERANK(Build.current().isSnapshot()), + + /** + * Support for COMPLETION command + */ + COMPLETION, + /** * Allow mixed numeric types in conditional functions - case, greatest and least */ diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/PositionToXContent.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/PositionToXContent.java index 221ec1f4201a0..00f297efd0e53 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/PositionToXContent.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/PositionToXContent.java @@ -34,7 +34,7 @@ import static org.elasticsearch.xpack.esql.type.EsqlDataTypeConverter.spatialToString; import static org.elasticsearch.xpack.esql.type.EsqlDataTypeConverter.versionToString; -abstract class PositionToXContent { +public abstract class PositionToXContent { protected final Block block; PositionToXContent(Block block) { diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java index 45759682e7884..0515a69c0e453 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Analyzer.java @@ -27,6 +27,7 @@ import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; import org.elasticsearch.xpack.esql.core.expression.FoldContext; import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; import org.elasticsearch.xpack.esql.core.expression.NamedExpression; import org.elasticsearch.xpack.esql.core.expression.Nullability; import org.elasticsearch.xpack.esql.core.expression.ReferenceAttribute; @@ -68,6 +69,7 @@ import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.In; import org.elasticsearch.xpack.esql.index.EsIndex; import org.elasticsearch.xpack.esql.index.IndexResolution; +import org.elasticsearch.xpack.esql.inference.ResolvedInference; import org.elasticsearch.xpack.esql.parser.ParsingException; import org.elasticsearch.xpack.esql.plan.IndexPattern; import org.elasticsearch.xpack.esql.plan.logical.Aggregate; @@ -83,6 +85,9 @@ import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinConfig; import org.elasticsearch.xpack.esql.plan.logical.join.JoinType; @@ -156,6 +161,7 @@ public class Analyzer extends ParameterizedRuleExecutor, AnalyzerContext> { + @Override + protected LogicalPlan rule(InferencePlan plan, AnalyzerContext context) { + assert plan.inferenceId().resolved() && plan.inferenceId().foldable(); + + String inferenceId = plan.inferenceId().fold(FoldContext.small()).toString(); + ResolvedInference resolvedInference = context.inferenceResolution().getResolvedInference(inferenceId); + + if (resolvedInference != null && resolvedInference.taskType() == plan.taskType()) { + return plan; + } else if (resolvedInference != null) { + String error = "cannot use inference endpoint [" + + inferenceId + + "] with task type [" + + resolvedInference.taskType() + + "] within a " + + plan.nodeName() + + " command. Only inference endpoints with the task type [" + + plan.taskType() + + "] are supported."; + return plan.withInferenceResolutionError(inferenceId, error); + } else { + String error = context.inferenceResolution().getError(inferenceId); + return plan.withInferenceResolutionError(inferenceId, error); + } + } + } + private static class ResolveLookupTables extends ParameterizedAnalyzerRule { @Override @@ -447,6 +481,10 @@ protected LogicalPlan doRule(LogicalPlan plan) { return resolveAggregate(aggregate, childrenOutput); } + if (plan instanceof Completion c) { + return resolveCompletion(c, childrenOutput); + } + if (plan instanceof Drop d) { return resolveDrop(d, childrenOutput); } @@ -479,6 +517,10 @@ protected LogicalPlan doRule(LogicalPlan plan) { return resolveLookupJoin(j); } + if (plan instanceof Rerank r) { + return resolveRerank(r, childrenOutput); + } + return plan.transformExpressionsOnly(UnresolvedAttribute.class, ua -> maybeResolveAttribute(ua, childrenOutput)); } @@ -549,6 +591,21 @@ private Aggregate resolveAggregate(Aggregate aggregate, List children return aggregate; } + private LogicalPlan resolveCompletion(Completion p, List childrenOutput) { + Attribute targetField = p.targetField(); + Expression prompt = p.prompt(); + + if (targetField instanceof UnresolvedAttribute ua) { + targetField = new ReferenceAttribute(ua.source(), ua.name(), KEYWORD); + } + + if (prompt.resolved() == false) { + prompt = prompt.transformUp(UnresolvedAttribute.class, ua -> maybeResolveAttribute(ua, childrenOutput)); + } + + return new Completion(p.source(), p.child(), p.inferenceId(), prompt, targetField); + } + private LogicalPlan resolveMvExpand(MvExpand p, List childrenOutput) { if (p.target() instanceof UnresolvedAttribute ua) { Attribute resolved = maybeResolveAttribute(ua, childrenOutput); @@ -670,6 +727,33 @@ private Join resolveLookupJoin(LookupJoin join) { return join; } + private LogicalPlan resolveRerank(Rerank rerank, List childrenOutput) { + List newFields = new ArrayList<>(); + boolean changed = false; + + // First resolving fields used in expression + for (Alias field : rerank.rerankFields()) { + Alias result = (Alias) field.transformUp(UnresolvedAttribute.class, ua -> resolveAttribute(ua, childrenOutput)); + newFields.add(result); + changed |= result != field; + } + + if (changed) { + rerank = rerank.withRerankFields(newFields); + } + + // Ensure the score attribute is present in the output. + if (rerank.scoreAttribute() instanceof UnresolvedAttribute ua) { + Attribute resolved = resolveAttribute(ua, childrenOutput); + if (resolved.resolved() == false || resolved.dataType() != DOUBLE) { + resolved = MetadataAttribute.create(Source.EMPTY, MetadataAttribute.SCORE); + } + rerank = rerank.withScoreAttribute(resolved); + } + + return rerank; + } + private List resolveUsingColumns(List cols, List output, String side) { List resolved = new ArrayList<>(cols.size()); for (Attribute col : cols) { diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java index 2aad172bd9946..b941bce429579 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/AnalyzerContext.java @@ -9,6 +9,7 @@ import org.elasticsearch.xpack.esql.expression.function.EsqlFunctionRegistry; import org.elasticsearch.xpack.esql.index.IndexResolution; +import org.elasticsearch.xpack.esql.inference.InferenceResolution; import org.elasticsearch.xpack.esql.session.Configuration; import java.util.Map; @@ -18,7 +19,8 @@ public record AnalyzerContext( EsqlFunctionRegistry functionRegistry, IndexResolution indexResolution, Map lookupResolution, - EnrichResolution enrichResolution + EnrichResolution enrichResolution, + InferenceResolution inferenceResolution ) { // Currently for tests only, since most do not test lookups // TODO: make this even simpler, remove the enrichResolution for tests that do not require it (most tests) @@ -26,8 +28,9 @@ public AnalyzerContext( Configuration configuration, EsqlFunctionRegistry functionRegistry, IndexResolution indexResolution, - EnrichResolution enrichResolution + EnrichResolution enrichResolution, + InferenceResolution inferenceResolution ) { - this(configuration, functionRegistry, indexResolution, Map.of(), enrichResolution); + this(configuration, functionRegistry, indexResolution, Map.of(), enrichResolution, inferenceResolution); } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java index 9aa8afac45c54..4616b76ac85b1 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/PreAnalyzer.java @@ -11,6 +11,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Enrich; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; +import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; import java.util.ArrayList; import java.util.List; @@ -23,15 +24,22 @@ public class PreAnalyzer { public static class PreAnalysis { - public static final PreAnalysis EMPTY = new PreAnalysis(emptyList(), emptyList(), emptyList()); + public static final PreAnalysis EMPTY = new PreAnalysis(emptyList(), emptyList(), emptyList(), emptyList()); public final List indices; public final List enriches; + public final List> inferencePlans; public final List lookupIndices; - public PreAnalysis(List indices, List enriches, List lookupIndices) { + public PreAnalysis( + List indices, + List enriches, + List> inferencePlans, + List lookupIndices + ) { this.indices = indices; this.enriches = enriches; + this.inferencePlans = inferencePlans; this.lookupIndices = lookupIndices; } } @@ -48,16 +56,18 @@ protected PreAnalysis doPreAnalyze(LogicalPlan plan) { List indices = new ArrayList<>(); List unresolvedEnriches = new ArrayList<>(); List lookupIndices = new ArrayList<>(); + List> unresolvedInferencePlans = new ArrayList<>(); plan.forEachUp(UnresolvedRelation.class, p -> { List list = p.indexMode() == IndexMode.LOOKUP ? lookupIndices : indices; list.add(new TableInfo(p.indexPattern())); }); plan.forEachUp(Enrich.class, unresolvedEnriches::add); + plan.forEachUp(InferencePlan.class, unresolvedInferencePlans::add); // mark plan as preAnalyzed (if it were marked, there would be no analysis) plan.forEachUp(LogicalPlan::setPreAnalyzed); - return new PreAnalysis(indices, unresolvedEnriches, lookupIndices); + return new PreAnalysis(indices, unresolvedEnriches, unresolvedInferencePlans, lookupIndices); } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceOperator.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceOperator.java new file mode 100644 index 0000000000000..17c8272e9caae --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceOperator.java @@ -0,0 +1,186 @@ +/* + * 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.inference; + +import org.elasticsearch.action.ActionListener; +import org.elasticsearch.compute.data.BlockFactory; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.operator.AsyncOperator; +import org.elasticsearch.compute.operator.DriverContext; +import org.elasticsearch.core.Releasable; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.inference.InferenceServiceResults; +import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceExecutionConfig; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceExecutor; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceRequestIterator; + +import java.util.List; + +import static org.elasticsearch.common.logging.LoggerMessageFormat.format; + +/** + * An abstract asynchronous operator that performs throttled bulk inference execution using an {@link InferenceRunner}. + *

+ * The {@code InferenceOperator} integrates with the compute framework supports throttled bulk execution of inference requests. It + * transforms input {@link Page} into inference requests, asynchronously executes them, and converts the responses into a new {@link Page}. + *

+ */ +public abstract class InferenceOperator extends AsyncOperator { + private final String inferenceId; + private final BlockFactory blockFactory; + private final BulkInferenceExecutor bulkInferenceExecutor; + + /** + * Constructs a new {@code InferenceOperator}. + * + * @param driverContext The driver context. + * @param inferenceRunner The runner used to execute inference requests. + * @param bulkExecutionConfig Configuration for inference execution. + * @param threadPool The thread pool used for executing async inference. + * @param inferenceId The ID of the inference model to use. + */ + public InferenceOperator( + DriverContext driverContext, + InferenceRunner inferenceRunner, + BulkInferenceExecutionConfig bulkExecutionConfig, + ThreadPool threadPool, + String inferenceId + ) { + super(driverContext, bulkExecutionConfig.workers()); + this.blockFactory = driverContext.blockFactory(); + this.bulkInferenceExecutor = new BulkInferenceExecutor(inferenceRunner, threadPool, bulkExecutionConfig); + this.inferenceId = inferenceId; + } + + /** + * Returns the {@link BlockFactory} used to create output data blocks. + */ + protected BlockFactory blockFactory() { + return blockFactory; + } + + /** + * Returns the inference model ID used for this operator. + */ + protected String inferenceId() { + return inferenceId; + } + + /** + * Initiates asynchronous inferences for the given input page. + */ + @Override + protected void performAsync(Page input, ActionListener listener) { + try { + BulkInferenceRequestIterator requests = requests(input); + listener = ActionListener.releaseAfter(listener, requests); + bulkInferenceExecutor.execute(requests, listener.map(responses -> new OngoingInferenceResult(input, responses))); + } catch (Exception e) { + listener.onFailure(e); + } + } + + /** + * Releases resources associated with an ongoing inference. + */ + @Override + protected void releaseFetchedOnAnyThread(OngoingInferenceResult ongoingInferenceResult) { + Releasables.close(ongoingInferenceResult); + } + + /** + * Returns the next available output page constructed from completed inference results. + */ + @Override + public Page getOutput() { + OngoingInferenceResult ongoingInferenceResult = fetchFromBuffer(); + if (ongoingInferenceResult == null) { + return null; + } + + try (OutputBuilder outputBuilder = outputBuilder(ongoingInferenceResult.inputPage)) { + for (InferenceAction.Response response : ongoingInferenceResult.responses) { + outputBuilder.addInferenceResponse(response); + } + return outputBuilder.buildOutput(); + + } finally { + releaseFetchedOnAnyThread(ongoingInferenceResult); + } + } + + /** + * Converts the given input page into a sequence of inference requests. + * + * @param input The input page to process. + */ + protected abstract BulkInferenceRequestIterator requests(Page input); + + /** + * Creates a new {@link OutputBuilder} instance used to build the output page. + * + * @param input The corresponding input page used to generate the inference requests. + */ + protected abstract OutputBuilder outputBuilder(Page input); + + /** + * An interface for accumulating inference responses and constructing a result {@link Page}. + */ + public interface OutputBuilder extends Releasable { + + /** + * Adds an inference response to the output. + *

+ * The responses must be added in the same order as the corresponding inference requests were generated. + * Failing to preserve order may lead to incorrect or misaligned output rows. + *

+ * + * @param inferenceResponse The inference response to include. + */ + void addInferenceResponse(InferenceAction.Response inferenceResponse); + + /** + * Builds the final output page from accumulated inference responses. + * + * @return The constructed output page. + */ + Page buildOutput(); + + static IR inferenceResults(InferenceAction.Response inferenceResponse, Class clazz) { + InferenceServiceResults results = inferenceResponse.getResults(); + if (clazz.isInstance(results)) { + return clazz.cast(results); + } + + throw new IllegalStateException( + format("Inference result has wrong type. Got [{}] while expecting [{}]", results.getClass().getName(), clazz.getName()) + ); + } + + default void releasePageOnAnyThread(Page page) { + InferenceOperator.releasePageOnAnyThread(page); + } + } + + /** + * Represents the result of an ongoing inference operation, including the original input page + * and the list of inference responses. + * + * @param inputPage The input page used to generate inference requests. + * @param responses The inference responses returned by the inference service. + */ + public record OngoingInferenceResult(Page inputPage, List responses) implements Releasable { + + @Override + public void close() { + releasePageOnAnyThread(inputPage); + } + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceResolution.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceResolution.java new file mode 100644 index 0000000000000..501c1e816f5b5 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceResolution.java @@ -0,0 +1,77 @@ +/* + * 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.inference; + +import org.elasticsearch.common.util.concurrent.ConcurrentCollections; + +import java.util.Collection; +import java.util.Collections; +import java.util.Map; + +public class InferenceResolution { + + public static final InferenceResolution EMPTY = new InferenceResolution.Builder().build(); + + public static InferenceResolution.Builder builder() { + return new Builder(); + } + + private final Map resolvedInferences; + private final Map errors; + + private InferenceResolution(Map resolvedInferences, Map errors) { + this.resolvedInferences = Collections.unmodifiableMap(resolvedInferences); + this.errors = Collections.unmodifiableMap(errors); + } + + public ResolvedInference getResolvedInference(String inferenceId) { + return resolvedInferences.get(inferenceId); + } + + public Collection resolvedInferences() { + return resolvedInferences.values(); + } + + public boolean hasError() { + return errors.isEmpty() == false; + } + + public String getError(String inferenceId) { + final String error = errors.get(inferenceId); + if (error != null) { + return error; + } else { + return "unresolved inference [" + inferenceId + "]"; + } + } + + public static class Builder { + + private final Map resolvedInferences; + private final Map errors; + + private Builder() { + this.resolvedInferences = ConcurrentCollections.newConcurrentMap(); + this.errors = ConcurrentCollections.newConcurrentMap(); + } + + public Builder withResolvedInference(ResolvedInference resolvedInference) { + resolvedInferences.putIfAbsent(resolvedInference.inferenceId(), resolvedInference); + return this; + } + + public Builder withError(String inferenceId, String reason) { + errors.putIfAbsent(inferenceId, reason); + return this; + } + + public InferenceResolution build() { + return new InferenceResolution(resolvedInferences, errors); + } + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceRunner.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceRunner.java new file mode 100644 index 0000000000000..115e7541f200b --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/InferenceRunner.java @@ -0,0 +1,80 @@ +/* + * 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.inference; + +import org.elasticsearch.action.ActionListener; +import org.elasticsearch.action.support.CountDownActionListener; +import org.elasticsearch.client.internal.Client; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.xpack.core.inference.action.GetInferenceModelAction; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.esql.core.expression.FoldContext; +import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; + +import java.util.List; +import java.util.Set; +import java.util.stream.Collectors; + +public class InferenceRunner { + + private final Client client; + private final ThreadPool threadPool; + + public InferenceRunner(Client client, ThreadPool threadPool) { + this.client = client; + this.threadPool = threadPool; + } + + public ThreadPool threadPool() { + return threadPool; + } + + public void resolveInferenceIds(List> plans, ActionListener listener) { + resolveInferenceIds(plans.stream().map(InferenceRunner::planInferenceId).collect(Collectors.toSet()), listener); + + } + + private void resolveInferenceIds(Set inferenceIds, ActionListener listener) { + + if (inferenceIds.isEmpty()) { + listener.onResponse(InferenceResolution.EMPTY); + return; + } + + final InferenceResolution.Builder inferenceResolutionBuilder = InferenceResolution.builder(); + + final CountDownActionListener countdownListener = new CountDownActionListener( + inferenceIds.size(), + ActionListener.wrap(_r -> listener.onResponse(inferenceResolutionBuilder.build()), listener::onFailure) + ); + + for (var inferenceId : inferenceIds) { + client.execute( + GetInferenceModelAction.INSTANCE, + new GetInferenceModelAction.Request(inferenceId, TaskType.ANY), + ActionListener.wrap(r -> { + ResolvedInference resolvedInference = new ResolvedInference(inferenceId, r.getEndpoints().get(0).getTaskType()); + inferenceResolutionBuilder.withResolvedInference(resolvedInference); + countdownListener.onResponse(null); + }, e -> { + inferenceResolutionBuilder.withError(inferenceId, e.getMessage()); + countdownListener.onResponse(null); + }) + ); + } + } + + private static String planInferenceId(InferencePlan plan) { + return plan.inferenceId().fold(FoldContext.small()).toString(); + } + + public void doInference(InferenceAction.Request request, ActionListener listener) { + client.execute(InferenceAction.INSTANCE, request, listener); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/ResolvedInference.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/ResolvedInference.java new file mode 100644 index 0000000000000..455ed6488379a --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/ResolvedInference.java @@ -0,0 +1,28 @@ +/* + * 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.inference; + +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.common.io.stream.Writeable; +import org.elasticsearch.inference.TaskType; + +import java.io.IOException; + +public record ResolvedInference(String inferenceId, TaskType taskType) implements Writeable { + + public ResolvedInference(StreamInput in) throws IOException { + this(in.readString(), TaskType.valueOf(in.readString())); + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + out.writeString(inferenceId); + out.writeString(taskType.name()); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/XContentRowEncoder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/XContentRowEncoder.java new file mode 100644 index 0000000000000..f6c625752110a --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/XContentRowEncoder.java @@ -0,0 +1,145 @@ +/* + * 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.inference; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.common.io.stream.BytesRefStreamOutput; +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.BlockFactory; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.operator.DriverContext; +import org.elasticsearch.compute.operator.EvalOperator.ExpressionEvaluator; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.xcontent.ToXContent; +import org.elasticsearch.xcontent.XContentBuilder; +import org.elasticsearch.xcontent.XContentFactory; +import org.elasticsearch.xcontent.XContentType; +import org.elasticsearch.xpack.esql.action.ColumnInfoImpl; +import org.elasticsearch.xpack.esql.action.PositionToXContent; + +import java.io.IOException; +import java.io.UncheckedIOException; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +/** + * Encodes rows into an XContent format (JSON,YAML,...) for further processing. + * Extracted columns can be specified using {@link ExpressionEvaluator} + */ +public class XContentRowEncoder implements ExpressionEvaluator { + private final XContentType xContentType; + private final BlockFactory blockFactory; + private final ColumnInfoImpl[] columnsInfo; + private final ExpressionEvaluator[] fieldsValueEvaluators; + + /** + * Creates a factory for YAML XContent row encoding. + * + * @param fieldsEvaluatorFactories A map of column information to expression evaluators. + * @return A Factory instance for creating YAML row encoder for the specified column. + */ + public static Factory yamlRowEncoderFactory(Map fieldsEvaluatorFactories) { + return new Factory(XContentType.YAML, fieldsEvaluatorFactories); + } + + private XContentRowEncoder( + XContentType xContentType, + BlockFactory blockFactory, + ColumnInfoImpl[] columnsInfo, + ExpressionEvaluator[] fieldsValueEvaluators + ) { + assert columnsInfo.length == fieldsValueEvaluators.length; + this.xContentType = xContentType; + this.blockFactory = blockFactory; + this.columnsInfo = columnsInfo; + this.fieldsValueEvaluators = fieldsValueEvaluators; + } + + @Override + public void close() { + Releasables.closeExpectNoException(fieldsValueEvaluators); + } + + /** + * Process the provided Page and encode its rows into a BytesRefBlock containing XContent-formatted rows. + * + * @param page The input Page containing row data. + * @return A BytesRefBlock containing the encoded rows. + */ + @Override + public BytesRefBlock eval(Page page) { + Block[] fieldValueBlocks = new Block[fieldsValueEvaluators.length]; + try ( + BytesRefStreamOutput outputStream = new BytesRefStreamOutput(); + XContentBuilder xContentBuilder = XContentFactory.contentBuilder(xContentType, outputStream); + BytesRefBlock.Builder outputBlockBuilder = blockFactory.newBytesRefBlockBuilder(page.getPositionCount()); + ) { + + PositionToXContent[] toXContents = new PositionToXContent[fieldsValueEvaluators.length]; + for (int b = 0; b < fieldValueBlocks.length; b++) { + fieldValueBlocks[b] = fieldsValueEvaluators[b].eval(page); + toXContents[b] = PositionToXContent.positionToXContent(columnsInfo[b], fieldValueBlocks[b], new BytesRef()); + } + + for (int pos = 0; pos < page.getPositionCount(); pos++) { + xContentBuilder.startObject(); + for (int i = 0; i < fieldValueBlocks.length; i++) { + String fieldName = columnsInfo[i].name(); + Block currentBlock = fieldValueBlocks[i]; + if (currentBlock.isNull(pos) || currentBlock.getValueCount(pos) < 1) { + continue; + } + toXContents[i].positionToXContent(xContentBuilder.field(fieldName), ToXContent.EMPTY_PARAMS, pos); + } + xContentBuilder.endObject().flush(); + outputBlockBuilder.appendBytesRef(outputStream.get()); + outputStream.reset(); + } + + return outputBlockBuilder.build(); + } catch (IOException e) { + throw new UncheckedIOException(e); + } finally { + Releasables.closeExpectNoException(fieldValueBlocks); + } + } + + public List fieldNames() { + return Arrays.stream(columnsInfo).map(ColumnInfoImpl::name).collect(Collectors.toList()); + } + + @Override + public String toString() { + return "XContentRowEncoder[content_type=[" + xContentType.toString() + "], field_names=" + fieldNames() + "]"; + } + + public static class Factory implements ExpressionEvaluator.Factory { + private final XContentType xContentType; + private final Map fieldsEvaluatorFactories; + + private Factory(XContentType xContentType, Map fieldsEvaluatorFactories) { + this.xContentType = xContentType; + this.fieldsEvaluatorFactories = fieldsEvaluatorFactories; + } + + public XContentRowEncoder get(DriverContext context) { + return new XContentRowEncoder(xContentType, context.blockFactory(), columnsInfo(), fieldsValueEvaluators(context)); + } + + private ColumnInfoImpl[] columnsInfo() { + return fieldsEvaluatorFactories.keySet().toArray(ColumnInfoImpl[]::new); + } + + private ExpressionEvaluator[] fieldsValueEvaluators(DriverContext context) { + return fieldsEvaluatorFactories.values().stream().map(factory -> factory.get(context)).toArray(ExpressionEvaluator[]::new); + } + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutionConfig.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutionConfig.java new file mode 100644 index 0000000000000..8bc48a908fe22 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutionConfig.java @@ -0,0 +1,18 @@ +/* + * 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.inference.bulk; + +public record BulkInferenceExecutionConfig(int workers, int maxOutstandingRequests) { + public static final int DEFAULT_WORKERS = 10; + public static final int DEFAULT_MAX_OUTSTANDING_REQUESTS = 50; + + public static final BulkInferenceExecutionConfig DEFAULT = new BulkInferenceExecutionConfig( + DEFAULT_WORKERS, + DEFAULT_MAX_OUTSTANDING_REQUESTS + ); +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutionState.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutionState.java new file mode 100644 index 0000000000000..55f1f49f68c21 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutionState.java @@ -0,0 +1,137 @@ +/* + * 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.inference.bulk; + +import org.elasticsearch.compute.operator.FailureCollector; +import org.elasticsearch.index.seqno.LocalCheckpointTracker; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; + +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.atomic.AtomicBoolean; + +import static org.elasticsearch.index.seqno.SequenceNumbers.NO_OPS_PERFORMED; + +/** + * Tracks the state of a bulk inference execution, including sequencing, failure management, and buffering of inference responses for + * ordered output construction. + */ +public class BulkInferenceExecutionState { + private final LocalCheckpointTracker checkpoint = new LocalCheckpointTracker(NO_OPS_PERFORMED, NO_OPS_PERFORMED); + private final FailureCollector failureCollector = new FailureCollector(); + private final Map bufferedResponses; + private final AtomicBoolean finished = new AtomicBoolean(false); + + public BulkInferenceExecutionState(int bufferSize) { + this.bufferedResponses = new ConcurrentHashMap<>(bufferSize); + } + + /** + * Generates a new unique sequence number for an inference request. + */ + public long generateSeqNo() { + return checkpoint.generateSeqNo(); + } + + /** + * Returns the highest sequence number marked as persisted, such that all lower sequence numbers have also been marked as persisted. + */ + public long getPersistedCheckpoint() { + return checkpoint.getPersistedCheckpoint(); + } + + /** + * Returns the highest sequence number marked as processed, such that all lower sequence numbers have also been marked as processed. + */ + public long getProcessedCheckpoint() { + return checkpoint.getProcessedCheckpoint(); + } + + /** + * Highest generated sequence number. + */ + public long getMaxSeqNo() { + return checkpoint.getMaxSeqNo(); + } + + /** + * Marks an inference response as persisted. + * + * @param seqNo The corresponding sequence number + */ + public void markSeqNoAsPersisted(long seqNo) { + checkpoint.markSeqNoAsPersisted(seqNo); + } + + /** + * Add an inference response to the buffer and marks the corresponding sequence number as processed. + * + * @param seqNo The sequence number of the inference request. + * @param response The inference response. + */ + public synchronized void onInferenceResponse(long seqNo, InferenceAction.Response response) { + if (response != null && failureCollector.hasFailure() == false) { + bufferedResponses.put(seqNo, response); + } + checkpoint.markSeqNoAsProcessed(seqNo); + } + + /** + * * Handles an exception thrown during inference execution. + * Records the failure and marks the corresponding sequence number as processed. + * + * @param seqNo The sequence number of the inference request. + * @param e The exception + */ + public synchronized void onInferenceException(long seqNo, Exception e) { + failureCollector.unwrapAndCollect(e); + checkpoint.markSeqNoAsProcessed(seqNo); + bufferedResponses.clear(); + } + + /** + * Retrieves and removes the buffered response by sequence number. + * + * @param seqNo The sequence number of the response to fetch. + */ + public synchronized InferenceAction.Response fetchBufferedResponse(long seqNo) { + return bufferedResponses.remove(seqNo); + } + + /** + * Returns whether any failure has been recorded during execution. + */ + public boolean hasFailure() { + return failureCollector.hasFailure(); + } + + /** + * Returns the recorded failure, if any. + */ + public Exception getFailure() { + return failureCollector.getFailure(); + } + + public void addFailure(Exception e) { + failureCollector.unwrapAndCollect(e); + } + + /** + * Indicates whether the entire bulk execution is marked as finished and all responses have been successfully persisted. + */ + public boolean finished() { + return finished.get() && getMaxSeqNo() == getPersistedCheckpoint(); + } + + /** + * Marks the bulk as finished, indicating that all inference requests have been sent. + */ + public void finish() { + this.finished.set(true); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutor.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutor.java new file mode 100644 index 0000000000000..257799962dda7 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutor.java @@ -0,0 +1,260 @@ +/* + * 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.inference.bulk; + +import org.elasticsearch.action.ActionListener; +import org.elasticsearch.common.util.concurrent.AbstractRunnable; +import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; +import org.elasticsearch.xpack.esql.plugin.EsqlPlugin; + +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.ArrayBlockingQueue; +import java.util.concurrent.BlockingQueue; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Semaphore; +import java.util.concurrent.atomic.AtomicBoolean; + +/** + * Executes a sequence of inference requests in bulk with throttling and concurrency control. + */ +public class BulkInferenceExecutor { + private final ThrottledInferenceRunner throttledInferenceRunner; + private final BulkInferenceExecutionConfig bulkExecutionConfig; + + /** + * Constructs a new {@code BulkInferenceExecutor}. + * + * @param inferenceRunner The inference runner used to execute individual inference requests. + * @param threadPool The thread pool for executing inference tasks. + * @param bulkExecutionConfig Configuration options (throttling and concurrency limits). + */ + public BulkInferenceExecutor(InferenceRunner inferenceRunner, ThreadPool threadPool, BulkInferenceExecutionConfig bulkExecutionConfig) { + this.throttledInferenceRunner = ThrottledInferenceRunner.create(inferenceRunner, executorService(threadPool), bulkExecutionConfig); + this.bulkExecutionConfig = bulkExecutionConfig; + } + + /** + * Executes the provided bulk inference requests. + *

+ * Each request is sent to the {@link ThrottledInferenceRunner} to be executed. + * The final listener is notified with all successful responses once all requests are completed. + * + * @param requests An iterator over the inference requests to be executed. + * @param listener A listener notified with the complete list of responses or a failure. + */ + public void execute(BulkInferenceRequestIterator requests, ActionListener> listener) { + if (requests.hasNext() == false) { + listener.onResponse(List.of()); + return; + } + + final BulkInferenceExecutionState bulkExecutionState = new BulkInferenceExecutionState( + bulkExecutionConfig.maxOutstandingRequests() + ); + final ResponseHandler responseHandler = new ResponseHandler(bulkExecutionState, listener, requests.estimatedSize()); + + while (bulkExecutionState.finished() == false && requests.hasNext()) { + InferenceAction.Request request = requests.next(); + long seqNo = bulkExecutionState.generateSeqNo(); + + if (requests.hasNext() == false) { + bulkExecutionState.finish(); + } + + ActionListener inferenceResponseListener = ActionListener.runAfter( + ActionListener.wrap( + r -> bulkExecutionState.onInferenceResponse(seqNo, r), + e -> bulkExecutionState.onInferenceException(seqNo, e) + ), + responseHandler::persistPendingResponses + ); + + if (request == null) { + inferenceResponseListener.onResponse(null); + } else { + throttledInferenceRunner.doInference(request, inferenceResponseListener); + } + } + } + + /** + * Handles collection and delivery of inference responses once they are complete. + */ + private static class ResponseHandler { + private final List responses; + private final ActionListener> listener; + private final BulkInferenceExecutionState bulkExecutionState; + private final AtomicBoolean responseSent = new AtomicBoolean(false); + + private ResponseHandler( + BulkInferenceExecutionState bulkExecutionState, + ActionListener> listener, + int estimatedSize + ) { + this.listener = listener; + this.bulkExecutionState = bulkExecutionState; + this.responses = new ArrayList<>(estimatedSize); + } + + /** + * Persists all buffered responses that can be delivered in order, and sends the final response if all requests are finished. + */ + public synchronized void persistPendingResponses() { + long persistedSeqNo = bulkExecutionState.getPersistedCheckpoint(); + + while (persistedSeqNo < bulkExecutionState.getProcessedCheckpoint()) { + persistedSeqNo++; + if (bulkExecutionState.hasFailure() == false) { + try { + InferenceAction.Response response = bulkExecutionState.fetchBufferedResponse(persistedSeqNo); + responses.add(response); + } catch (Exception e) { + bulkExecutionState.addFailure(e); + } + } + bulkExecutionState.markSeqNoAsPersisted(persistedSeqNo); + } + + sendResponseOnCompletion(); + } + + /** + * Sends the final response or failure once all inference tasks have completed. + */ + private void sendResponseOnCompletion() { + if (bulkExecutionState.finished() && responseSent.compareAndSet(false, true)) { + if (bulkExecutionState.hasFailure() == false) { + try { + listener.onResponse(responses); + return; + } catch (Exception e) { + bulkExecutionState.addFailure(e); + } + } + + listener.onFailure(bulkExecutionState.getFailure()); + } + } + } + + /** + * Manages throttled inference tasks execution. + */ + private static class ThrottledInferenceRunner { + private final InferenceRunner inferenceRunner; + private final ExecutorService executorService; + private final BlockingQueue pendingRequestsQueue; + private final Semaphore permits; + + private ThrottledInferenceRunner(InferenceRunner inferenceRunner, ExecutorService executorService, int maxRunningTasks) { + this.executorService = executorService; + this.permits = new Semaphore(maxRunningTasks); + this.inferenceRunner = inferenceRunner; + this.pendingRequestsQueue = new ArrayBlockingQueue<>(maxRunningTasks); + } + + /** + * Creates a new {@code ThrottledInferenceRunner} with the specified configuration. + * + * @param inferenceRunner TThe inference runner used to execute individual inference requests. + * @param executorService The executor used for asynchronous execution. + * @param bulkExecutionConfig Configuration options (throttling and concurrency limits). + */ + public static ThrottledInferenceRunner create( + InferenceRunner inferenceRunner, + ExecutorService executorService, + BulkInferenceExecutionConfig bulkExecutionConfig + ) { + return new ThrottledInferenceRunner(inferenceRunner, executorService, bulkExecutionConfig.maxOutstandingRequests()); + } + + /** + * Schedules the inference task for execution. If a permit is available, the task runs immediately; otherwise, it is queued. + * + * @param request The inference request. + * @param listener The listener to notify on response or failure. + */ + public void doInference(InferenceAction.Request request, ActionListener listener) { + enqueueTask(request, listener); + executePendingRequests(); + } + + /** + * Attempts to execute as many pending inference tasks as possible, limited by available permits. + */ + private void executePendingRequests() { + while (permits.tryAcquire()) { + AbstractRunnable task = pendingRequestsQueue.poll(); + + if (task == null) { + permits.release(); + return; + } + + try { + executorService.execute(task); + } catch (Exception e) { + task.onFailure(e); + permits.release(); + } + } + } + + /** + * Add an inference task to the queue. + * + * @param request The inference request. + * * @param listener The listener to notify on response or failure. + */ + private void enqueueTask(InferenceAction.Request request, ActionListener listener) { + try { + pendingRequestsQueue.put(createTask(request, listener)); + } catch (Exception e) { + listener.onFailure(new IllegalStateException("An error occurred while adding the inference request to the queue", e)); + } + } + + /** + * Wraps an inference request into an {@link AbstractRunnable} that releases its permit on completion and triggers any remaining + * queued tasks. + * + * @param request The inference request. + * @param listener The listener to notify on completion. + * @return A runnable task encapsulating the request. + */ + private AbstractRunnable createTask(InferenceAction.Request request, ActionListener listener) { + final ActionListener completionListener = ActionListener.runAfter(listener, () -> { + permits.release(); + executePendingRequests(); + }); + + return new AbstractRunnable() { + @Override + protected void doRun() { + try { + inferenceRunner.doInference(request, completionListener); + } catch (Throwable e) { + listener.onFailure(new RuntimeException("Unexpected failure while running inference", e)); + } + } + + @Override + public void onFailure(Exception e) { + completionListener.onFailure(e); + } + }; + } + } + + private static ExecutorService executorService(ThreadPool threadPool) { + return threadPool.executor(EsqlPlugin.ESQL_WORKER_THREAD_POOL_NAME); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceRequestIterator.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceRequestIterator.java new file mode 100644 index 0000000000000..7327b182d0b6c --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceRequestIterator.java @@ -0,0 +1,24 @@ +/* + * 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.inference.bulk; + +import org.elasticsearch.core.Releasable; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; + +import java.util.Iterator; + +public interface BulkInferenceRequestIterator extends Iterator, Releasable { + + /** + * Returns an estimate of the number of requests that will be produced. + * + *

This is typically used to pre-allocate buffers or output to th appropriate size.

+ */ + int estimatedSize(); + +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperator.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperator.java new file mode 100644 index 0000000000000..e53fda90c88b3 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperator.java @@ -0,0 +1,110 @@ +/* + * 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.inference.completion; + +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.operator.DriverContext; +import org.elasticsearch.compute.operator.EvalOperator.ExpressionEvaluator; +import org.elasticsearch.compute.operator.Operator; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.xpack.esql.inference.InferenceOperator; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceExecutionConfig; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceRequestIterator; + +import java.util.stream.IntStream; + +/** + * {@link CompletionOperator} is an {@link InferenceOperator} that performs inference using prompt-based model (e.g., text completion). + * It evaluates a prompt expression for each input row, constructs inference requests, and emits the model responses as output. + */ +public class CompletionOperator extends InferenceOperator { + + private final ExpressionEvaluator promptEvaluator; + + public CompletionOperator( + DriverContext driverContext, + InferenceRunner inferenceRunner, + ThreadPool threadPool, + String inferenceId, + ExpressionEvaluator promptEvaluator + ) { + super(driverContext, inferenceRunner, BulkInferenceExecutionConfig.DEFAULT, threadPool, inferenceId); + this.promptEvaluator = promptEvaluator; + } + + @Override + protected void doClose() { + Releasables.close(promptEvaluator); + } + + @Override + public String toString() { + return "CompletionOperator[inference_id=[" + inferenceId() + "]]"; + } + + @Override + public void addInput(Page input) { + try { + super.addInput(input.appendBlock(promptEvaluator.eval(input))); + } catch (Exception e) { + releasePageOnAnyThread(input); + throw e; + } + } + + /** + * Constructs the completion inference requests iterator for the given input page by evaluating the prompt expression. + * + * @param inputPage The input data page. + */ + @Override + protected BulkInferenceRequestIterator requests(Page inputPage) { + int inputBlockChannel = inputPage.getBlockCount() - 1; + return new CompletionOperatorRequestIterator(inputPage.getBlock(inputBlockChannel), inferenceId()); + } + + /** + * Creates a new {@link CompletionOperatorOutputBuilder} to collect and emit the completion results. + * + * @param input The input page for which results will be constructed. + */ + @Override + protected CompletionOperatorOutputBuilder outputBuilder(Page input) { + BytesRefBlock.Builder outputBlockBuilder = blockFactory().newBytesRefBlockBuilder(input.getPositionCount()); + return new CompletionOperatorOutputBuilder( + outputBlockBuilder, + input.projectBlocks(IntStream.range(0, input.getBlockCount() - 1).toArray()) + ); + } + + /** + * Factory for creating {@link CompletionOperator} instances. + */ + public record Factory(InferenceRunner inferenceRunner, String inferenceId, ExpressionEvaluator.Factory promptEvaluatorFactory) + implements + OperatorFactory { + @Override + public String describe() { + return "CompletionOperator[inference_id=[" + inferenceId + "]]"; + } + + @Override + public Operator get(DriverContext driverContext) { + return new CompletionOperator( + driverContext, + inferenceRunner, + inferenceRunner.threadPool(), + inferenceId, + promptEvaluatorFactory.get(driverContext) + ); + } + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorOutputBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorOutputBuilder.java new file mode 100644 index 0000000000000..cfb587c6451d8 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorOutputBuilder.java @@ -0,0 +1,87 @@ +/* + * 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.inference.completion; + +import org.apache.lucene.util.BytesRefBuilder; +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.core.inference.results.ChatCompletionResults; +import org.elasticsearch.xpack.esql.inference.InferenceOperator; + +/** + * {@link CompletionOperatorOutputBuilder} builds the output page for {@link CompletionOperator} by converting {@link ChatCompletionResults} + * into a {@link BytesRefBlock}. + */ +public class CompletionOperatorOutputBuilder implements InferenceOperator.OutputBuilder { + private final Page inputPage; + private final BytesRefBlock.Builder outputBlockBuilder; + private final BytesRefBuilder bytesRefBuilder = new BytesRefBuilder(); + + public CompletionOperatorOutputBuilder(BytesRefBlock.Builder outputBlockBuilder, Page inputPage) { + this.inputPage = inputPage; + this.outputBlockBuilder = outputBlockBuilder; + } + + @Override + public void close() { + Releasables.close(outputBlockBuilder); + releasePageOnAnyThread(inputPage); + } + + /** + * Adds an inference response to the output builder. + * + *

+ * If the response is null or not of type {@link ChatCompletionResults} an {@link IllegalStateException} is thrown. + * Else, the result text is added to the output block. + *

+ * + *

+ * The responses must be added in the same order as the corresponding inference requests were generated. + * Failing to preserve order may lead to incorrect or misaligned output rows. + *

+ */ + @Override + public void addInferenceResponse(InferenceAction.Response inferenceResponse) { + if (inferenceResponse == null) { + outputBlockBuilder.appendNull(); + return; + } + + ChatCompletionResults completionResults = inferenceResults(inferenceResponse); + + if (completionResults == null) { + throw new IllegalStateException("Received null inference result; expected a non-null result of type ChatCompletionResults"); + } + + outputBlockBuilder.beginPositionEntry(); + for (ChatCompletionResults.Result completionResult : completionResults.getResults()) { + bytesRefBuilder.copyChars(completionResult.content()); + outputBlockBuilder.appendBytesRef(bytesRefBuilder.get()); + bytesRefBuilder.clear(); + } + outputBlockBuilder.endPositionEntry(); + } + + /** + * Builds the final output page by appending the completion output block to a shallow copy of the input page. + */ + @Override + public Page buildOutput() { + Block outputBlock = outputBlockBuilder.build(); + assert outputBlock.getPositionCount() == inputPage.getPositionCount(); + return inputPage.shallowCopy().appendBlock(outputBlock); + } + + private ChatCompletionResults inferenceResults(InferenceAction.Response inferenceResponse) { + return InferenceOperator.OutputBuilder.inferenceResults(inferenceResponse, ChatCompletionResults.class); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorRequestIterator.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorRequestIterator.java new file mode 100644 index 0000000000000..6893130425edf --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorRequestIterator.java @@ -0,0 +1,125 @@ +/* + * 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.inference.completion; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.core.Releasable; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceRequestIterator; + +import java.util.List; +import java.util.NoSuchElementException; + +/** + * This iterator reads prompts from a {@link BytesRefBlock} and converts them into individual {@link InferenceAction.Request} instances + * of type {@link TaskType#COMPLETION}. + */ +public class CompletionOperatorRequestIterator implements BulkInferenceRequestIterator { + + private final PromptReader promptReader; + private final String inferenceId; + private final int size; + private int currentPos = 0; + + /** + * Constructs a new iterator from the given block of prompts. + * + * @param promptBlock The input block containing prompts. + * @param inferenceId The ID of the inference model to invoke. + */ + public CompletionOperatorRequestIterator(BytesRefBlock promptBlock, String inferenceId) { + this.promptReader = new PromptReader(promptBlock); + this.size = promptBlock.getPositionCount(); + this.inferenceId = inferenceId; + } + + @Override + public boolean hasNext() { + return currentPos < size; + } + + @Override + public InferenceAction.Request next() { + if (hasNext() == false) { + throw new NoSuchElementException(); + } + return inferenceRequest(promptReader.readPrompt(currentPos++)); + } + + /** + * Wraps a single prompt string into an {@link InferenceAction.Request}. + */ + private InferenceAction.Request inferenceRequest(String prompt) { + if (prompt == null) { + return null; + } + + return InferenceAction.Request.builder(inferenceId, TaskType.COMPLETION).setInput(List.of(prompt)).build(); + } + + @Override + public int estimatedSize() { + return promptReader.estimatedSize(); + } + + @Override + public void close() { + Releasables.close(promptReader); + } + + /** + * Helper class that reads prompts from a {@link BytesRefBlock}. + */ + private static class PromptReader implements Releasable { + private final BytesRefBlock promptBlock; + private final StringBuilder strBuilder = new StringBuilder(); + private BytesRef readBuffer = new BytesRef(); + + private PromptReader(BytesRefBlock promptBlock) { + this.promptBlock = promptBlock; + } + + /** + * Reads the prompt string at the given position.. + * + * @param pos the position index in the block + */ + public String readPrompt(int pos) { + if (promptBlock.isNull(pos)) { + return null; + } + + strBuilder.setLength(0); + + for (int valueIndex = 0; valueIndex < promptBlock.getValueCount(pos); valueIndex++) { + readBuffer = promptBlock.getBytesRef(promptBlock.getFirstValueIndex(pos) + valueIndex, readBuffer); + strBuilder.append(readBuffer.utf8ToString()); + if (valueIndex != promptBlock.getValueCount(pos) - 1) { + strBuilder.append("\n"); + } + } + + return strBuilder.toString(); + } + + /** + * Returns the total number of positions (prompts) in the block. + */ + public int estimatedSize() { + return promptBlock.getPositionCount(); + } + + @Override + public void close() { + + } + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperator.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperator.java new file mode 100644 index 0000000000000..ca628fdba8a8f --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperator.java @@ -0,0 +1,128 @@ +/* + * 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.inference.rerank; + +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.DoubleBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.operator.DriverContext; +import org.elasticsearch.compute.operator.EvalOperator.ExpressionEvaluator; +import org.elasticsearch.compute.operator.Operator; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.xpack.esql.inference.InferenceOperator; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceExecutionConfig; + +import java.util.stream.IntStream; + +/** + * {@link RerankOperator} is an inference operator that compute scores for rows using a reranking model. + */ +public class RerankOperator extends InferenceOperator { + + // Default number of rows to include per inference request + private static final int DEFAULT_BATCH_SIZE = 20; + private final String queryText; + + // Encodes each input row into a string representation for the model + private final ExpressionEvaluator rowEncoder; + private final int scoreChannel; + + // Batch size used to group rows into a single inference request (currently fixed) + // TODO: make it configurable either in the command or as query pragmas + private final int batchSize = DEFAULT_BATCH_SIZE; + + public RerankOperator( + DriverContext driverContext, + InferenceRunner inferenceRunner, + ThreadPool threadPool, + String inferenceId, + String queryText, + ExpressionEvaluator rowEncoder, + int scoreChannel + ) { + super(driverContext, inferenceRunner, BulkInferenceExecutionConfig.DEFAULT, threadPool, inferenceId); + this.queryText = queryText; + this.rowEncoder = rowEncoder; + this.scoreChannel = scoreChannel; + } + + @Override + public void addInput(Page input) { + try { + Block inputBlock = rowEncoder.eval(input); + super.addInput(input.appendBlock(inputBlock)); + } catch (Exception e) { + releasePageOnAnyThread(input); + throw e; + } + } + + @Override + protected void doClose() { + Releasables.close(rowEncoder); + } + + @Override + public String toString() { + return "RerankOperator[inference_id=[" + inferenceId() + "], query=[" + queryText + "], score_channel=[" + scoreChannel + "]]"; + } + + /** + * Returns the request iterator responsible for batching and converting input rows into inference requests. + */ + @Override + protected RerankOperatorRequestIterator requests(Page inputPage) { + int inputBlockChannel = inputPage.getBlockCount() - 1; + return new RerankOperatorRequestIterator(inputPage.getBlock(inputBlockChannel), inferenceId(), queryText, batchSize); + } + + /** + * Returns the output builder responsible for collecting inference responses and building the output page. + */ + @Override + protected RerankOperatorOutputBuilder outputBuilder(Page input) { + DoubleBlock.Builder outputBlockBuilder = blockFactory().newDoubleBlockBuilder(input.getPositionCount()); + return new RerankOperatorOutputBuilder( + outputBlockBuilder, + input.projectBlocks(IntStream.range(0, input.getBlockCount() - 1).toArray()), + scoreChannel + ); + } + + /** + * Factory for creating {@link RerankOperator} instances + */ + public record Factory( + InferenceRunner inferenceRunner, + String inferenceId, + String queryText, + ExpressionEvaluator.Factory rowEncoderFactory, + int scoreChannel + ) implements OperatorFactory { + + @Override + public String describe() { + return "RerankOperator[inference_id=[" + inferenceId + "], query=[" + queryText + "], score_channel=[" + scoreChannel + "]]"; + } + + @Override + public Operator get(DriverContext driverContext) { + return new RerankOperator( + driverContext, + inferenceRunner, + inferenceRunner.threadPool(), + inferenceId, + queryText, + rowEncoderFactory().get(driverContext), + scoreChannel + ); + } + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorOutputBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorOutputBuilder.java new file mode 100644 index 0000000000000..1813aa3e9fb59 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorOutputBuilder.java @@ -0,0 +1,94 @@ +/* + * 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.inference.rerank; + +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.DoubleBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.core.inference.results.ChatCompletionResults; +import org.elasticsearch.xpack.core.inference.results.RankedDocsResults; +import org.elasticsearch.xpack.esql.inference.InferenceOperator; + +import java.util.Comparator; +import java.util.Iterator; + +/** + * Builds the output page for the {@link RerankOperator} by adding + * * reranked relevance scores into the specified score channel of the input page. + */ + +public class RerankOperatorOutputBuilder implements InferenceOperator.OutputBuilder { + + private final Page inputPage; + private final DoubleBlock.Builder scoreBlockBuilder; + private final int scoreChannel; + + public RerankOperatorOutputBuilder(DoubleBlock.Builder scoreBlockBuilder, Page inputPage, int scoreChannel) { + this.inputPage = inputPage; + this.scoreBlockBuilder = scoreBlockBuilder; + this.scoreChannel = scoreChannel; + } + + @Override + public void close() { + Releasables.close(scoreBlockBuilder); + releasePageOnAnyThread(inputPage); + } + + /** + * Constructs a new output {@link Page} which contains all original blocks from the input page, with the reranked scores + * inserted at {@code scoreChannel}. + */ + @Override + public Page buildOutput() { + int blockCount = Integer.max(inputPage.getBlockCount(), scoreChannel + 1); + Block[] blocks = new Block[blockCount]; + + try { + for (int b = 0; b < blockCount; b++) { + if (b == scoreChannel) { + blocks[b] = scoreBlockBuilder.build(); + } else { + blocks[b] = inputPage.getBlock(b); + blocks[b].incRef(); + } + } + return new Page(blocks); + } catch (Exception e) { + Releasables.close(blocks); + throw (e); + } + } + + /** + * Extracts the ranked document results from the inference response and appends their relevance scores to the score block builder. + *

+ * If the response is not of type {@link ChatCompletionResults} an {@link IllegalStateException} is thrown. + *

+ *

+ * The responses must be added in the same order as the corresponding inference requests were generated. + * Failing to preserve order may lead to incorrect or misaligned output rows. + *

+ */ + @Override + public void addInferenceResponse(InferenceAction.Response inferenceResponse) { + Iterator sortedRankedDocIterator = inferenceResults(inferenceResponse).getRankedDocs() + .stream() + .sorted(Comparator.comparingInt(RankedDocsResults.RankedDoc::index)) + .iterator(); + while (sortedRankedDocIterator.hasNext()) { + scoreBlockBuilder.appendDouble(sortedRankedDocIterator.next().relevanceScore()); + } + } + + private RankedDocsResults inferenceResults(InferenceAction.Response inferenceResponse) { + return InferenceOperator.OutputBuilder.inferenceResults(inferenceResponse, RankedDocsResults.class); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorRequestIterator.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorRequestIterator.java new file mode 100644 index 0000000000000..3e73bcc8bea1f --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorRequestIterator.java @@ -0,0 +1,85 @@ +/* + * 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.inference.rerank; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.common.lucene.BytesRefs; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceRequestIterator; + +import java.util.ArrayList; +import java.util.List; +import java.util.NoSuchElementException; + +/** + * Iterator over input data blocks to create batched inference requests for the Rerank task. + * + *

This iterator reads from a {@link BytesRefBlock} containing input documents or items to be reranked. It slices the input into batches + * of configurable size and converts each batch into an {@link InferenceAction.Request} with the task type {@link TaskType#RERANK}. + */ +public class RerankOperatorRequestIterator implements BulkInferenceRequestIterator { + private final BytesRefBlock inputBlock; + private final String inferenceId; + private final String queryText; + private final int batchSize; + private int remainingPositions; + + public RerankOperatorRequestIterator(BytesRefBlock inputBlock, String inferenceId, String queryText, int batchSize) { + this.inputBlock = inputBlock; + this.inferenceId = inferenceId; + this.queryText = queryText; + this.batchSize = batchSize; + this.remainingPositions = inputBlock.getPositionCount(); + } + + @Override + public boolean hasNext() { + return remainingPositions > 0; + } + + @Override + public InferenceAction.Request next() { + if (hasNext() == false) { + throw new NoSuchElementException(); + } + + final int inputSize = Math.min(remainingPositions, batchSize); + final List inputs = new ArrayList<>(inputSize); + BytesRef scratch = new BytesRef(); + + int startIndex = inputBlock.getPositionCount() - remainingPositions; + for (int i = 0; i < inputSize; i++) { + int pos = startIndex + i; + if (inputBlock.isNull(pos)) { + inputs.add(""); + } else { + scratch = inputBlock.getBytesRef(inputBlock.getFirstValueIndex(pos), scratch); + inputs.add(BytesRefs.toString(scratch)); + } + } + + remainingPositions -= inputSize; + return inferenceRequest(inputs); + } + + @Override + public int estimatedSize() { + return inputBlock.getPositionCount(); + } + + private InferenceAction.Request inferenceRequest(List inputs) { + return InferenceAction.Request.builder(inferenceId, TaskType.RERANK).setInput(inputs).setQuery(queryText).build(); + } + + @Override + public void close() { + + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java index 3b8cabf6642ea..3d01213e0c646 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizer.java @@ -36,6 +36,7 @@ import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownAndCombineFilters; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownAndCombineLimits; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownAndCombineOrderBy; +import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownCompletion; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEnrich; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEval; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownRegexExtract; @@ -184,6 +185,7 @@ protected static Batch operators() { new PruneLiteralsInOrderBy(), new PushDownAndCombineLimits(), new PushDownAndCombineFilters(), + new PushDownCompletion(), new PushDownEval(), new PushDownRegexExtract(), new PushDownEnrich(), diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java index f1f139bc2b0f2..7577b106c4845 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFilters.java @@ -24,6 +24,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.RegexExtract; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; @@ -70,6 +71,10 @@ protected LogicalPlan rule(Filter filter) { // Push down filters that do not rely on attributes created by RegexExtract var attributes = AttributeSet.of(Expressions.asAttributes(re.extractedFields())); plan = maybePushDownPastUnary(filter, re, attributes::contains, NO_OP); + } else if (child instanceof Completion completion) { + // Push down filters that do not rely on attributes created by Cpmpletion + var attributes = AttributeSet.of(completion.generatedAttributes()); + plan = maybePushDownPastUnary(filter, completion, attributes::contains, NO_OP); } else if (child instanceof Enrich enrich) { // Push down filters that do not rely on attributes created by Enrich var attributes = AttributeSet.of(Expressions.asAttributes(enrich.enrichFields())); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java index 397c33bd4786d..24d53f668adac 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimits.java @@ -17,6 +17,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.RegexExtract; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; @@ -38,7 +39,11 @@ public LogicalPlan rule(Limit limit, LogicalOptimizerContext ctx) { // We want to preserve the duplicated() value of the smaller limit, so we'll use replaceChild. return parentLimitValue < childLimitValue ? limit.replaceChild(childLimit.child()) : childLimit; } else if (limit.child() instanceof UnaryPlan unary) { - if (unary instanceof Eval || unary instanceof Project || unary instanceof RegexExtract || unary instanceof Enrich) { + if (unary instanceof Eval + || unary instanceof Project + || unary instanceof RegexExtract + || unary instanceof Enrich + || unary instanceof Completion) { return unary.replaceChild(limit.replaceChild(unary.child())); } else if (unary instanceof MvExpand) { // MV_EXPAND can increase the number of rows, so we cannot just push the limit down diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownCompletion.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownCompletion.java new file mode 100644 index 0000000000000..d74e90fb0569f --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownCompletion.java @@ -0,0 +1,18 @@ +/* + * 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.optimizer.rules.logical; + +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; + +public final class PushDownCompletion extends OptimizerRules.OptimizerRule { + @Override + protected LogicalPlan rule(Completion p) { + return PushDownUtils.pushGeneratingPlanPastProjectAndOrderBy(p); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp index b349f655296dd..c4936af94ccca 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.interp @@ -1,5 +1,6 @@ token literal names: null +'completion' 'dissect' 'drop' 'enrich' @@ -28,14 +29,15 @@ null null null null +null '|' null null null -'by' 'and' 'asc' '=' +'by' '::' ':' ',' @@ -51,11 +53,13 @@ null 'not' 'null' 'nulls' +'on' 'or' '?' 'rlike' ')' 'true' +'with' '==' '=~' '!=' @@ -96,8 +100,6 @@ null null null null -'on' -'with' null null null @@ -139,6 +141,7 @@ null token symbolic names: null +COMPLETION DISSECT DROP ENRICH @@ -160,6 +163,7 @@ CHANGE_POINT DEV_INLINESTATS DEV_LOOKUP DEV_METRICS +DEV_RERANK DEV_JOIN_FULL DEV_JOIN_LEFT DEV_JOIN_RIGHT @@ -171,10 +175,10 @@ PIPE QUOTED_STRING INTEGER_LITERAL DECIMAL_LITERAL -BY AND ASC ASSIGN +BY CAST_OP COLON COMMA @@ -190,11 +194,13 @@ LP NOT NULL NULLS +ON OR PARAM RLIKE RP TRUE +WITH EQ CIEQ NEQ @@ -235,8 +241,6 @@ AS RENAME_LINE_COMMENT RENAME_MULTILINE_COMMENT RENAME_WS -ON -WITH ENRICH_POLICY_NAME ENRICH_LINE_COMMENT ENRICH_MULTILINE_COMMENT @@ -277,6 +281,7 @@ CHANGE_POINT_MULTILINE_COMMENT CHANGE_POINT_WS rule names: +COMPLETION DISSECT DROP ENRICH @@ -298,6 +303,7 @@ CHANGE_POINT DEV_INLINESTATS DEV_LOOKUP DEV_METRICS +DEV_RERANK DEV_JOIN_FULL DEV_JOIN_LEFT DEV_JOIN_RIGHT @@ -319,10 +325,10 @@ UNQUOTED_ID_BODY QUOTED_STRING INTEGER_LITERAL DECIMAL_LITERAL -BY AND ASC ASSIGN +BY CAST_OP COLON COMMA @@ -338,11 +344,13 @@ LP NOT NULL NULLS +ON OR PARAM RLIKE RP TRUE +WITH EQ CIEQ NEQ @@ -417,8 +425,8 @@ RENAME_MULTILINE_COMMENT RENAME_WS ENRICH_PIPE ENRICH_OPENING_BRACKET -ON -WITH +ENRICH_ON +ENRICH_WITH ENRICH_POLICY_NAME_BODY ENRICH_POLICY_NAME ENRICH_MODE_UNQUOTED_VALUE @@ -542,4 +550,4 @@ CLOSING_METRICS_MODE CHANGE_POINT_MODE atn: -[4, 0, 136, 1776, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 2, 123, 7, 123, 2, 124, 7, 124, 2, 125, 7, 125, 2, 126, 7, 126, 2, 127, 7, 127, 2, 128, 7, 128, 2, 129, 7, 129, 2, 130, 7, 130, 2, 131, 7, 131, 2, 132, 7, 132, 2, 133, 7, 133, 2, 134, 7, 134, 2, 135, 7, 135, 2, 136, 7, 136, 2, 137, 7, 137, 2, 138, 7, 138, 2, 139, 7, 139, 2, 140, 7, 140, 2, 141, 7, 141, 2, 142, 7, 142, 2, 143, 7, 143, 2, 144, 7, 144, 2, 145, 7, 145, 2, 146, 7, 146, 2, 147, 7, 147, 2, 148, 7, 148, 2, 149, 7, 149, 2, 150, 7, 150, 2, 151, 7, 151, 2, 152, 7, 152, 2, 153, 7, 153, 2, 154, 7, 154, 2, 155, 7, 155, 2, 156, 7, 156, 2, 157, 7, 157, 2, 158, 7, 158, 2, 159, 7, 159, 2, 160, 7, 160, 2, 161, 7, 161, 2, 162, 7, 162, 2, 163, 7, 163, 2, 164, 7, 164, 2, 165, 7, 165, 2, 166, 7, 166, 2, 167, 7, 167, 2, 168, 7, 168, 2, 169, 7, 169, 2, 170, 7, 170, 2, 171, 7, 171, 2, 172, 7, 172, 2, 173, 7, 173, 2, 174, 7, 174, 2, 175, 7, 175, 2, 176, 7, 176, 2, 177, 7, 177, 2, 178, 7, 178, 2, 179, 7, 179, 2, 180, 7, 180, 2, 181, 7, 181, 2, 182, 7, 182, 2, 183, 7, 183, 2, 184, 7, 184, 2, 185, 7, 185, 2, 186, 7, 186, 2, 187, 7, 187, 2, 188, 7, 188, 2, 189, 7, 189, 2, 190, 7, 190, 2, 191, 7, 191, 2, 192, 7, 192, 2, 193, 7, 193, 2, 194, 7, 194, 2, 195, 7, 195, 2, 196, 7, 196, 2, 197, 7, 197, 2, 198, 7, 198, 2, 199, 7, 199, 2, 200, 7, 200, 2, 201, 7, 201, 2, 202, 7, 202, 2, 203, 7, 203, 2, 204, 7, 204, 2, 205, 7, 205, 2, 206, 7, 206, 2, 207, 7, 207, 2, 208, 7, 208, 2, 209, 7, 209, 2, 210, 7, 210, 2, 211, 7, 211, 2, 212, 7, 212, 2, 213, 7, 213, 2, 214, 7, 214, 2, 215, 7, 215, 2, 216, 7, 216, 2, 217, 7, 217, 2, 218, 7, 218, 2, 219, 7, 219, 2, 220, 7, 220, 2, 221, 7, 221, 2, 222, 7, 222, 2, 223, 7, 223, 2, 224, 7, 224, 2, 225, 7, 225, 2, 226, 7, 226, 2, 227, 7, 227, 2, 228, 7, 228, 2, 229, 7, 229, 2, 230, 7, 230, 2, 231, 7, 231, 2, 232, 7, 232, 2, 233, 7, 233, 2, 234, 7, 234, 2, 235, 7, 235, 2, 236, 7, 236, 2, 237, 7, 237, 2, 238, 7, 238, 2, 239, 7, 239, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 4, 24, 715, 8, 24, 11, 24, 12, 24, 716, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 5, 25, 725, 8, 25, 10, 25, 12, 25, 728, 9, 25, 1, 25, 3, 25, 731, 8, 25, 1, 25, 3, 25, 734, 8, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 5, 26, 743, 8, 26, 10, 26, 12, 26, 746, 9, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 4, 27, 754, 8, 27, 11, 27, 12, 27, 755, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 3, 33, 775, 8, 33, 1, 33, 4, 33, 778, 8, 33, 11, 33, 12, 33, 779, 1, 34, 1, 34, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 3, 36, 789, 8, 36, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 3, 38, 796, 8, 38, 1, 39, 1, 39, 1, 39, 5, 39, 801, 8, 39, 10, 39, 12, 39, 804, 9, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 812, 8, 39, 10, 39, 12, 39, 815, 9, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 3, 39, 822, 8, 39, 1, 39, 3, 39, 825, 8, 39, 3, 39, 827, 8, 39, 1, 40, 4, 40, 830, 8, 40, 11, 40, 12, 40, 831, 1, 41, 4, 41, 835, 8, 41, 11, 41, 12, 41, 836, 1, 41, 1, 41, 5, 41, 841, 8, 41, 10, 41, 12, 41, 844, 9, 41, 1, 41, 1, 41, 4, 41, 848, 8, 41, 11, 41, 12, 41, 849, 1, 41, 4, 41, 853, 8, 41, 11, 41, 12, 41, 854, 1, 41, 1, 41, 5, 41, 859, 8, 41, 10, 41, 12, 41, 862, 9, 41, 3, 41, 864, 8, 41, 1, 41, 1, 41, 1, 41, 1, 41, 4, 41, 870, 8, 41, 11, 41, 12, 41, 871, 1, 41, 1, 41, 3, 41, 876, 8, 41, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 3, 82, 1011, 8, 82, 1, 82, 5, 82, 1014, 8, 82, 10, 82, 12, 82, 1017, 9, 82, 1, 82, 1, 82, 4, 82, 1021, 8, 82, 11, 82, 12, 82, 1022, 3, 82, 1025, 8, 82, 1, 83, 1, 83, 1, 83, 3, 83, 1030, 8, 83, 1, 83, 5, 83, 1033, 8, 83, 10, 83, 12, 83, 1036, 9, 83, 1, 83, 1, 83, 4, 83, 1040, 8, 83, 11, 83, 12, 83, 1041, 3, 83, 1044, 8, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 5, 86, 1058, 8, 86, 10, 86, 12, 86, 1061, 9, 86, 1, 86, 1, 86, 3, 86, 1065, 8, 86, 1, 86, 4, 86, 1068, 8, 86, 11, 86, 12, 86, 1069, 3, 86, 1072, 8, 86, 1, 87, 1, 87, 4, 87, 1076, 8, 87, 11, 87, 12, 87, 1077, 1, 87, 1, 87, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 3, 105, 1159, 8, 105, 1, 106, 4, 106, 1162, 8, 106, 11, 106, 12, 106, 1163, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 1, 109, 1, 110, 1, 110, 1, 110, 1, 110, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 3, 119, 1219, 8, 119, 1, 120, 1, 120, 3, 120, 1223, 8, 120, 1, 120, 5, 120, 1226, 8, 120, 10, 120, 12, 120, 1229, 9, 120, 1, 120, 1, 120, 3, 120, 1233, 8, 120, 1, 120, 4, 120, 1236, 8, 120, 11, 120, 12, 120, 1237, 3, 120, 1240, 8, 120, 1, 121, 1, 121, 4, 121, 1244, 8, 121, 11, 121, 12, 121, 1245, 1, 122, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 123, 1, 124, 1, 124, 1, 124, 1, 124, 1, 125, 1, 125, 1, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 133, 1, 133, 1, 133, 1, 134, 1, 134, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 1, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 143, 4, 143, 1337, 8, 143, 11, 143, 12, 143, 1338, 1, 143, 1, 143, 3, 143, 1343, 8, 143, 1, 143, 4, 143, 1346, 8, 143, 11, 143, 12, 143, 1347, 1, 144, 1, 144, 1, 144, 1, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 146, 1, 146, 1, 146, 1, 146, 1, 147, 1, 147, 1, 147, 1, 147, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 1, 156, 1, 157, 1, 157, 1, 157, 1, 157, 1, 158, 1, 158, 1, 158, 1, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 180, 4, 180, 1505, 8, 180, 11, 180, 12, 180, 1506, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 1, 196, 1, 196, 1, 197, 1, 197, 1, 197, 1, 197, 1, 198, 1, 198, 1, 198, 1, 198, 1, 199, 1, 199, 1, 199, 1, 199, 1, 200, 1, 200, 1, 200, 1, 200, 1, 201, 1, 201, 1, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 202, 1, 202, 1, 202, 1, 203, 1, 203, 1, 203, 1, 203, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 204, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 206, 1, 206, 1, 206, 1, 206, 1, 207, 1, 207, 1, 207, 1, 207, 1, 208, 1, 208, 1, 208, 1, 208, 1, 209, 1, 209, 1, 209, 1, 209, 1, 210, 1, 210, 1, 210, 1, 210, 1, 211, 1, 211, 1, 211, 1, 211, 1, 212, 1, 212, 1, 212, 1, 212, 1, 213, 1, 213, 1, 213, 1, 213, 1, 214, 1, 214, 1, 214, 1, 214, 1, 214, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 215, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 216, 1, 217, 1, 217, 1, 217, 1, 217, 1, 218, 1, 218, 1, 218, 1, 218, 1, 219, 1, 219, 1, 219, 1, 219, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 221, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 222, 1, 223, 1, 223, 1, 223, 1, 223, 1, 224, 1, 224, 1, 224, 1, 224, 1, 225, 1, 225, 1, 225, 1, 225, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 227, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 228, 1, 229, 1, 229, 1, 229, 1, 229, 1, 229, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 231, 1, 231, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 233, 1, 233, 1, 234, 1, 234, 1, 234, 1, 234, 1, 235, 1, 235, 1, 235, 1, 235, 1, 236, 1, 236, 1, 236, 1, 236, 1, 237, 1, 237, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 239, 1, 239, 2, 744, 813, 0, 240, 17, 1, 19, 2, 21, 3, 23, 4, 25, 5, 27, 6, 29, 7, 31, 8, 33, 9, 35, 10, 37, 11, 39, 12, 41, 13, 43, 14, 45, 15, 47, 16, 49, 17, 51, 18, 53, 19, 55, 20, 57, 21, 59, 22, 61, 23, 63, 24, 65, 25, 67, 26, 69, 27, 71, 28, 73, 29, 75, 0, 77, 0, 79, 0, 81, 0, 83, 0, 85, 0, 87, 0, 89, 0, 91, 0, 93, 0, 95, 30, 97, 31, 99, 32, 101, 33, 103, 34, 105, 35, 107, 36, 109, 37, 111, 38, 113, 39, 115, 40, 117, 41, 119, 42, 121, 43, 123, 44, 125, 45, 127, 46, 129, 47, 131, 48, 133, 49, 135, 50, 137, 51, 139, 52, 141, 53, 143, 54, 145, 55, 147, 56, 149, 57, 151, 58, 153, 59, 155, 60, 157, 61, 159, 62, 161, 63, 163, 64, 165, 65, 167, 66, 169, 67, 171, 68, 173, 69, 175, 70, 177, 71, 179, 0, 181, 72, 183, 73, 185, 74, 187, 75, 189, 76, 191, 0, 193, 77, 195, 78, 197, 79, 199, 80, 201, 0, 203, 0, 205, 81, 207, 82, 209, 83, 211, 0, 213, 0, 215, 0, 217, 0, 219, 0, 221, 0, 223, 0, 225, 84, 227, 0, 229, 85, 231, 0, 233, 0, 235, 86, 237, 87, 239, 88, 241, 0, 243, 0, 245, 0, 247, 0, 249, 0, 251, 0, 253, 0, 255, 0, 257, 0, 259, 89, 261, 90, 263, 91, 265, 92, 267, 0, 269, 0, 271, 0, 273, 0, 275, 0, 277, 0, 279, 0, 281, 0, 283, 93, 285, 0, 287, 94, 289, 95, 291, 96, 293, 0, 295, 0, 297, 97, 299, 98, 301, 0, 303, 99, 305, 0, 307, 100, 309, 101, 311, 102, 313, 0, 315, 0, 317, 0, 319, 0, 321, 0, 323, 0, 325, 0, 327, 0, 329, 0, 331, 0, 333, 0, 335, 103, 337, 104, 339, 105, 341, 0, 343, 0, 345, 0, 347, 0, 349, 0, 351, 0, 353, 0, 355, 0, 357, 106, 359, 107, 361, 108, 363, 0, 365, 109, 367, 110, 369, 111, 371, 112, 373, 0, 375, 0, 377, 113, 379, 114, 381, 115, 383, 116, 385, 0, 387, 0, 389, 0, 391, 0, 393, 0, 395, 0, 397, 0, 399, 117, 401, 118, 403, 119, 405, 0, 407, 0, 409, 0, 411, 0, 413, 120, 415, 121, 417, 122, 419, 0, 421, 123, 423, 0, 425, 0, 427, 124, 429, 0, 431, 0, 433, 0, 435, 0, 437, 0, 439, 125, 441, 126, 443, 127, 445, 0, 447, 0, 449, 0, 451, 128, 453, 129, 455, 130, 457, 0, 459, 0, 461, 0, 463, 131, 465, 132, 467, 133, 469, 0, 471, 0, 473, 0, 475, 0, 477, 0, 479, 0, 481, 0, 483, 0, 485, 0, 487, 0, 489, 0, 491, 134, 493, 135, 495, 136, 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 36, 2, 0, 68, 68, 100, 100, 2, 0, 73, 73, 105, 105, 2, 0, 83, 83, 115, 115, 2, 0, 69, 69, 101, 101, 2, 0, 67, 67, 99, 99, 2, 0, 84, 84, 116, 116, 2, 0, 82, 82, 114, 114, 2, 0, 79, 79, 111, 111, 2, 0, 80, 80, 112, 112, 2, 0, 78, 78, 110, 110, 2, 0, 72, 72, 104, 104, 2, 0, 86, 86, 118, 118, 2, 0, 65, 65, 97, 97, 2, 0, 76, 76, 108, 108, 2, 0, 88, 88, 120, 120, 2, 0, 70, 70, 102, 102, 2, 0, 77, 77, 109, 109, 2, 0, 71, 71, 103, 103, 2, 0, 75, 75, 107, 107, 2, 0, 87, 87, 119, 119, 2, 0, 85, 85, 117, 117, 6, 0, 9, 10, 13, 13, 32, 32, 47, 47, 91, 91, 93, 93, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 1, 0, 48, 57, 2, 0, 65, 90, 97, 122, 8, 0, 34, 34, 78, 78, 82, 82, 84, 84, 92, 92, 110, 110, 114, 114, 116, 116, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 2, 0, 43, 43, 45, 45, 1, 0, 96, 96, 2, 0, 66, 66, 98, 98, 2, 0, 89, 89, 121, 121, 11, 0, 9, 10, 13, 13, 32, 32, 34, 34, 44, 44, 47, 47, 58, 58, 61, 61, 91, 91, 93, 93, 124, 124, 2, 0, 42, 42, 47, 47, 11, 0, 9, 10, 13, 13, 32, 32, 34, 35, 44, 44, 47, 47, 58, 58, 60, 60, 62, 63, 92, 92, 124, 124, 2, 0, 74, 74, 106, 106, 1806, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 1, 73, 1, 0, 0, 0, 1, 95, 1, 0, 0, 0, 1, 97, 1, 0, 0, 0, 1, 99, 1, 0, 0, 0, 1, 101, 1, 0, 0, 0, 1, 103, 1, 0, 0, 0, 1, 105, 1, 0, 0, 0, 1, 107, 1, 0, 0, 0, 1, 109, 1, 0, 0, 0, 1, 111, 1, 0, 0, 0, 1, 113, 1, 0, 0, 0, 1, 115, 1, 0, 0, 0, 1, 117, 1, 0, 0, 0, 1, 119, 1, 0, 0, 0, 1, 121, 1, 0, 0, 0, 1, 123, 1, 0, 0, 0, 1, 125, 1, 0, 0, 0, 1, 127, 1, 0, 0, 0, 1, 129, 1, 0, 0, 0, 1, 131, 1, 0, 0, 0, 1, 133, 1, 0, 0, 0, 1, 135, 1, 0, 0, 0, 1, 137, 1, 0, 0, 0, 1, 139, 1, 0, 0, 0, 1, 141, 1, 0, 0, 0, 1, 143, 1, 0, 0, 0, 1, 145, 1, 0, 0, 0, 1, 147, 1, 0, 0, 0, 1, 149, 1, 0, 0, 0, 1, 151, 1, 0, 0, 0, 1, 153, 1, 0, 0, 0, 1, 155, 1, 0, 0, 0, 1, 157, 1, 0, 0, 0, 1, 159, 1, 0, 0, 0, 1, 161, 1, 0, 0, 0, 1, 163, 1, 0, 0, 0, 1, 165, 1, 0, 0, 0, 1, 167, 1, 0, 0, 0, 1, 169, 1, 0, 0, 0, 1, 171, 1, 0, 0, 0, 1, 173, 1, 0, 0, 0, 1, 175, 1, 0, 0, 0, 1, 177, 1, 0, 0, 0, 1, 179, 1, 0, 0, 0, 1, 181, 1, 0, 0, 0, 1, 183, 1, 0, 0, 0, 1, 185, 1, 0, 0, 0, 1, 187, 1, 0, 0, 0, 1, 189, 1, 0, 0, 0, 1, 193, 1, 0, 0, 0, 1, 195, 1, 0, 0, 0, 1, 197, 1, 0, 0, 0, 1, 199, 1, 0, 0, 0, 2, 201, 1, 0, 0, 0, 2, 203, 1, 0, 0, 0, 2, 205, 1, 0, 0, 0, 2, 207, 1, 0, 0, 0, 2, 209, 1, 0, 0, 0, 3, 211, 1, 0, 0, 0, 3, 213, 1, 0, 0, 0, 3, 215, 1, 0, 0, 0, 3, 217, 1, 0, 0, 0, 3, 219, 1, 0, 0, 0, 3, 221, 1, 0, 0, 0, 3, 223, 1, 0, 0, 0, 3, 225, 1, 0, 0, 0, 3, 229, 1, 0, 0, 0, 3, 231, 1, 0, 0, 0, 3, 233, 1, 0, 0, 0, 3, 235, 1, 0, 0, 0, 3, 237, 1, 0, 0, 0, 3, 239, 1, 0, 0, 0, 4, 241, 1, 0, 0, 0, 4, 243, 1, 0, 0, 0, 4, 245, 1, 0, 0, 0, 4, 247, 1, 0, 0, 0, 4, 249, 1, 0, 0, 0, 4, 251, 1, 0, 0, 0, 4, 253, 1, 0, 0, 0, 4, 259, 1, 0, 0, 0, 4, 261, 1, 0, 0, 0, 4, 263, 1, 0, 0, 0, 4, 265, 1, 0, 0, 0, 5, 267, 1, 0, 0, 0, 5, 269, 1, 0, 0, 0, 5, 271, 1, 0, 0, 0, 5, 273, 1, 0, 0, 0, 5, 275, 1, 0, 0, 0, 5, 277, 1, 0, 0, 0, 5, 279, 1, 0, 0, 0, 5, 281, 1, 0, 0, 0, 5, 283, 1, 0, 0, 0, 5, 285, 1, 0, 0, 0, 5, 287, 1, 0, 0, 0, 5, 289, 1, 0, 0, 0, 5, 291, 1, 0, 0, 0, 6, 293, 1, 0, 0, 0, 6, 295, 1, 0, 0, 0, 6, 297, 1, 0, 0, 0, 6, 299, 1, 0, 0, 0, 6, 303, 1, 0, 0, 0, 6, 305, 1, 0, 0, 0, 6, 307, 1, 0, 0, 0, 6, 309, 1, 0, 0, 0, 6, 311, 1, 0, 0, 0, 7, 313, 1, 0, 0, 0, 7, 315, 1, 0, 0, 0, 7, 317, 1, 0, 0, 0, 7, 319, 1, 0, 0, 0, 7, 321, 1, 0, 0, 0, 7, 323, 1, 0, 0, 0, 7, 325, 1, 0, 0, 0, 7, 327, 1, 0, 0, 0, 7, 329, 1, 0, 0, 0, 7, 331, 1, 0, 0, 0, 7, 333, 1, 0, 0, 0, 7, 335, 1, 0, 0, 0, 7, 337, 1, 0, 0, 0, 7, 339, 1, 0, 0, 0, 8, 341, 1, 0, 0, 0, 8, 343, 1, 0, 0, 0, 8, 345, 1, 0, 0, 0, 8, 347, 1, 0, 0, 0, 8, 349, 1, 0, 0, 0, 8, 351, 1, 0, 0, 0, 8, 353, 1, 0, 0, 0, 8, 355, 1, 0, 0, 0, 8, 357, 1, 0, 0, 0, 8, 359, 1, 0, 0, 0, 8, 361, 1, 0, 0, 0, 9, 363, 1, 0, 0, 0, 9, 365, 1, 0, 0, 0, 9, 367, 1, 0, 0, 0, 9, 369, 1, 0, 0, 0, 9, 371, 1, 0, 0, 0, 10, 373, 1, 0, 0, 0, 10, 375, 1, 0, 0, 0, 10, 377, 1, 0, 0, 0, 10, 379, 1, 0, 0, 0, 10, 381, 1, 0, 0, 0, 10, 383, 1, 0, 0, 0, 11, 385, 1, 0, 0, 0, 11, 387, 1, 0, 0, 0, 11, 389, 1, 0, 0, 0, 11, 391, 1, 0, 0, 0, 11, 393, 1, 0, 0, 0, 11, 395, 1, 0, 0, 0, 11, 397, 1, 0, 0, 0, 11, 399, 1, 0, 0, 0, 11, 401, 1, 0, 0, 0, 11, 403, 1, 0, 0, 0, 12, 405, 1, 0, 0, 0, 12, 407, 1, 0, 0, 0, 12, 409, 1, 0, 0, 0, 12, 411, 1, 0, 0, 0, 12, 413, 1, 0, 0, 0, 12, 415, 1, 0, 0, 0, 12, 417, 1, 0, 0, 0, 13, 419, 1, 0, 0, 0, 13, 421, 1, 0, 0, 0, 13, 423, 1, 0, 0, 0, 13, 425, 1, 0, 0, 0, 13, 427, 1, 0, 0, 0, 13, 429, 1, 0, 0, 0, 13, 431, 1, 0, 0, 0, 13, 433, 1, 0, 0, 0, 13, 435, 1, 0, 0, 0, 13, 437, 1, 0, 0, 0, 13, 439, 1, 0, 0, 0, 13, 441, 1, 0, 0, 0, 13, 443, 1, 0, 0, 0, 14, 445, 1, 0, 0, 0, 14, 447, 1, 0, 0, 0, 14, 449, 1, 0, 0, 0, 14, 451, 1, 0, 0, 0, 14, 453, 1, 0, 0, 0, 14, 455, 1, 0, 0, 0, 15, 457, 1, 0, 0, 0, 15, 459, 1, 0, 0, 0, 15, 461, 1, 0, 0, 0, 15, 463, 1, 0, 0, 0, 15, 465, 1, 0, 0, 0, 15, 467, 1, 0, 0, 0, 15, 469, 1, 0, 0, 0, 15, 471, 1, 0, 0, 0, 15, 473, 1, 0, 0, 0, 15, 475, 1, 0, 0, 0, 16, 477, 1, 0, 0, 0, 16, 479, 1, 0, 0, 0, 16, 481, 1, 0, 0, 0, 16, 483, 1, 0, 0, 0, 16, 485, 1, 0, 0, 0, 16, 487, 1, 0, 0, 0, 16, 489, 1, 0, 0, 0, 16, 491, 1, 0, 0, 0, 16, 493, 1, 0, 0, 0, 16, 495, 1, 0, 0, 0, 17, 497, 1, 0, 0, 0, 19, 507, 1, 0, 0, 0, 21, 514, 1, 0, 0, 0, 23, 523, 1, 0, 0, 0, 25, 530, 1, 0, 0, 0, 27, 540, 1, 0, 0, 0, 29, 547, 1, 0, 0, 0, 31, 554, 1, 0, 0, 0, 33, 561, 1, 0, 0, 0, 35, 569, 1, 0, 0, 0, 37, 581, 1, 0, 0, 0, 39, 590, 1, 0, 0, 0, 41, 596, 1, 0, 0, 0, 43, 603, 1, 0, 0, 0, 45, 610, 1, 0, 0, 0, 47, 618, 1, 0, 0, 0, 49, 626, 1, 0, 0, 0, 51, 635, 1, 0, 0, 0, 53, 650, 1, 0, 0, 0, 55, 665, 1, 0, 0, 0, 57, 677, 1, 0, 0, 0, 59, 688, 1, 0, 0, 0, 61, 696, 1, 0, 0, 0, 63, 704, 1, 0, 0, 0, 65, 714, 1, 0, 0, 0, 67, 720, 1, 0, 0, 0, 69, 737, 1, 0, 0, 0, 71, 753, 1, 0, 0, 0, 73, 759, 1, 0, 0, 0, 75, 763, 1, 0, 0, 0, 77, 765, 1, 0, 0, 0, 79, 767, 1, 0, 0, 0, 81, 770, 1, 0, 0, 0, 83, 772, 1, 0, 0, 0, 85, 781, 1, 0, 0, 0, 87, 783, 1, 0, 0, 0, 89, 788, 1, 0, 0, 0, 91, 790, 1, 0, 0, 0, 93, 795, 1, 0, 0, 0, 95, 826, 1, 0, 0, 0, 97, 829, 1, 0, 0, 0, 99, 875, 1, 0, 0, 0, 101, 877, 1, 0, 0, 0, 103, 880, 1, 0, 0, 0, 105, 884, 1, 0, 0, 0, 107, 888, 1, 0, 0, 0, 109, 890, 1, 0, 0, 0, 111, 893, 1, 0, 0, 0, 113, 895, 1, 0, 0, 0, 115, 897, 1, 0, 0, 0, 117, 902, 1, 0, 0, 0, 119, 904, 1, 0, 0, 0, 121, 910, 1, 0, 0, 0, 123, 916, 1, 0, 0, 0, 125, 919, 1, 0, 0, 0, 127, 922, 1, 0, 0, 0, 129, 927, 1, 0, 0, 0, 131, 932, 1, 0, 0, 0, 133, 934, 1, 0, 0, 0, 135, 938, 1, 0, 0, 0, 137, 943, 1, 0, 0, 0, 139, 949, 1, 0, 0, 0, 141, 952, 1, 0, 0, 0, 143, 954, 1, 0, 0, 0, 145, 960, 1, 0, 0, 0, 147, 962, 1, 0, 0, 0, 149, 967, 1, 0, 0, 0, 151, 970, 1, 0, 0, 0, 153, 973, 1, 0, 0, 0, 155, 976, 1, 0, 0, 0, 157, 978, 1, 0, 0, 0, 159, 981, 1, 0, 0, 0, 161, 983, 1, 0, 0, 0, 163, 986, 1, 0, 0, 0, 165, 988, 1, 0, 0, 0, 167, 990, 1, 0, 0, 0, 169, 992, 1, 0, 0, 0, 171, 994, 1, 0, 0, 0, 173, 996, 1, 0, 0, 0, 175, 998, 1, 0, 0, 0, 177, 1000, 1, 0, 0, 0, 179, 1003, 1, 0, 0, 0, 181, 1024, 1, 0, 0, 0, 183, 1043, 1, 0, 0, 0, 185, 1045, 1, 0, 0, 0, 187, 1050, 1, 0, 0, 0, 189, 1071, 1, 0, 0, 0, 191, 1073, 1, 0, 0, 0, 193, 1081, 1, 0, 0, 0, 195, 1083, 1, 0, 0, 0, 197, 1087, 1, 0, 0, 0, 199, 1091, 1, 0, 0, 0, 201, 1095, 1, 0, 0, 0, 203, 1100, 1, 0, 0, 0, 205, 1105, 1, 0, 0, 0, 207, 1109, 1, 0, 0, 0, 209, 1113, 1, 0, 0, 0, 211, 1117, 1, 0, 0, 0, 213, 1122, 1, 0, 0, 0, 215, 1126, 1, 0, 0, 0, 217, 1130, 1, 0, 0, 0, 219, 1134, 1, 0, 0, 0, 221, 1138, 1, 0, 0, 0, 223, 1142, 1, 0, 0, 0, 225, 1146, 1, 0, 0, 0, 227, 1158, 1, 0, 0, 0, 229, 1161, 1, 0, 0, 0, 231, 1165, 1, 0, 0, 0, 233, 1169, 1, 0, 0, 0, 235, 1173, 1, 0, 0, 0, 237, 1177, 1, 0, 0, 0, 239, 1181, 1, 0, 0, 0, 241, 1185, 1, 0, 0, 0, 243, 1190, 1, 0, 0, 0, 245, 1194, 1, 0, 0, 0, 247, 1198, 1, 0, 0, 0, 249, 1202, 1, 0, 0, 0, 251, 1206, 1, 0, 0, 0, 253, 1210, 1, 0, 0, 0, 255, 1218, 1, 0, 0, 0, 257, 1239, 1, 0, 0, 0, 259, 1243, 1, 0, 0, 0, 261, 1247, 1, 0, 0, 0, 263, 1251, 1, 0, 0, 0, 265, 1255, 1, 0, 0, 0, 267, 1259, 1, 0, 0, 0, 269, 1264, 1, 0, 0, 0, 271, 1268, 1, 0, 0, 0, 273, 1272, 1, 0, 0, 0, 275, 1276, 1, 0, 0, 0, 277, 1280, 1, 0, 0, 0, 279, 1284, 1, 0, 0, 0, 281, 1288, 1, 0, 0, 0, 283, 1292, 1, 0, 0, 0, 285, 1295, 1, 0, 0, 0, 287, 1299, 1, 0, 0, 0, 289, 1303, 1, 0, 0, 0, 291, 1307, 1, 0, 0, 0, 293, 1311, 1, 0, 0, 0, 295, 1316, 1, 0, 0, 0, 297, 1321, 1, 0, 0, 0, 299, 1326, 1, 0, 0, 0, 301, 1333, 1, 0, 0, 0, 303, 1342, 1, 0, 0, 0, 305, 1349, 1, 0, 0, 0, 307, 1353, 1, 0, 0, 0, 309, 1357, 1, 0, 0, 0, 311, 1361, 1, 0, 0, 0, 313, 1365, 1, 0, 0, 0, 315, 1371, 1, 0, 0, 0, 317, 1375, 1, 0, 0, 0, 319, 1379, 1, 0, 0, 0, 321, 1383, 1, 0, 0, 0, 323, 1387, 1, 0, 0, 0, 325, 1391, 1, 0, 0, 0, 327, 1395, 1, 0, 0, 0, 329, 1399, 1, 0, 0, 0, 331, 1403, 1, 0, 0, 0, 333, 1407, 1, 0, 0, 0, 335, 1411, 1, 0, 0, 0, 337, 1415, 1, 0, 0, 0, 339, 1419, 1, 0, 0, 0, 341, 1423, 1, 0, 0, 0, 343, 1428, 1, 0, 0, 0, 345, 1432, 1, 0, 0, 0, 347, 1436, 1, 0, 0, 0, 349, 1440, 1, 0, 0, 0, 351, 1444, 1, 0, 0, 0, 353, 1448, 1, 0, 0, 0, 355, 1452, 1, 0, 0, 0, 357, 1456, 1, 0, 0, 0, 359, 1460, 1, 0, 0, 0, 361, 1464, 1, 0, 0, 0, 363, 1468, 1, 0, 0, 0, 365, 1473, 1, 0, 0, 0, 367, 1478, 1, 0, 0, 0, 369, 1482, 1, 0, 0, 0, 371, 1486, 1, 0, 0, 0, 373, 1490, 1, 0, 0, 0, 375, 1495, 1, 0, 0, 0, 377, 1504, 1, 0, 0, 0, 379, 1508, 1, 0, 0, 0, 381, 1512, 1, 0, 0, 0, 383, 1516, 1, 0, 0, 0, 385, 1520, 1, 0, 0, 0, 387, 1525, 1, 0, 0, 0, 389, 1529, 1, 0, 0, 0, 391, 1533, 1, 0, 0, 0, 393, 1537, 1, 0, 0, 0, 395, 1542, 1, 0, 0, 0, 397, 1546, 1, 0, 0, 0, 399, 1550, 1, 0, 0, 0, 401, 1554, 1, 0, 0, 0, 403, 1558, 1, 0, 0, 0, 405, 1562, 1, 0, 0, 0, 407, 1568, 1, 0, 0, 0, 409, 1572, 1, 0, 0, 0, 411, 1576, 1, 0, 0, 0, 413, 1580, 1, 0, 0, 0, 415, 1584, 1, 0, 0, 0, 417, 1588, 1, 0, 0, 0, 419, 1592, 1, 0, 0, 0, 421, 1597, 1, 0, 0, 0, 423, 1602, 1, 0, 0, 0, 425, 1606, 1, 0, 0, 0, 427, 1612, 1, 0, 0, 0, 429, 1621, 1, 0, 0, 0, 431, 1625, 1, 0, 0, 0, 433, 1629, 1, 0, 0, 0, 435, 1633, 1, 0, 0, 0, 437, 1637, 1, 0, 0, 0, 439, 1641, 1, 0, 0, 0, 441, 1645, 1, 0, 0, 0, 443, 1649, 1, 0, 0, 0, 445, 1653, 1, 0, 0, 0, 447, 1658, 1, 0, 0, 0, 449, 1664, 1, 0, 0, 0, 451, 1670, 1, 0, 0, 0, 453, 1674, 1, 0, 0, 0, 455, 1678, 1, 0, 0, 0, 457, 1682, 1, 0, 0, 0, 459, 1688, 1, 0, 0, 0, 461, 1694, 1, 0, 0, 0, 463, 1700, 1, 0, 0, 0, 465, 1704, 1, 0, 0, 0, 467, 1708, 1, 0, 0, 0, 469, 1712, 1, 0, 0, 0, 471, 1718, 1, 0, 0, 0, 473, 1724, 1, 0, 0, 0, 475, 1730, 1, 0, 0, 0, 477, 1735, 1, 0, 0, 0, 479, 1740, 1, 0, 0, 0, 481, 1744, 1, 0, 0, 0, 483, 1748, 1, 0, 0, 0, 485, 1752, 1, 0, 0, 0, 487, 1756, 1, 0, 0, 0, 489, 1760, 1, 0, 0, 0, 491, 1764, 1, 0, 0, 0, 493, 1768, 1, 0, 0, 0, 495, 1772, 1, 0, 0, 0, 497, 498, 7, 0, 0, 0, 498, 499, 7, 1, 0, 0, 499, 500, 7, 2, 0, 0, 500, 501, 7, 2, 0, 0, 501, 502, 7, 3, 0, 0, 502, 503, 7, 4, 0, 0, 503, 504, 7, 5, 0, 0, 504, 505, 1, 0, 0, 0, 505, 506, 6, 0, 0, 0, 506, 18, 1, 0, 0, 0, 507, 508, 7, 0, 0, 0, 508, 509, 7, 6, 0, 0, 509, 510, 7, 7, 0, 0, 510, 511, 7, 8, 0, 0, 511, 512, 1, 0, 0, 0, 512, 513, 6, 1, 1, 0, 513, 20, 1, 0, 0, 0, 514, 515, 7, 3, 0, 0, 515, 516, 7, 9, 0, 0, 516, 517, 7, 6, 0, 0, 517, 518, 7, 1, 0, 0, 518, 519, 7, 4, 0, 0, 519, 520, 7, 10, 0, 0, 520, 521, 1, 0, 0, 0, 521, 522, 6, 2, 2, 0, 522, 22, 1, 0, 0, 0, 523, 524, 7, 3, 0, 0, 524, 525, 7, 11, 0, 0, 525, 526, 7, 12, 0, 0, 526, 527, 7, 13, 0, 0, 527, 528, 1, 0, 0, 0, 528, 529, 6, 3, 0, 0, 529, 24, 1, 0, 0, 0, 530, 531, 7, 3, 0, 0, 531, 532, 7, 14, 0, 0, 532, 533, 7, 8, 0, 0, 533, 534, 7, 13, 0, 0, 534, 535, 7, 12, 0, 0, 535, 536, 7, 1, 0, 0, 536, 537, 7, 9, 0, 0, 537, 538, 1, 0, 0, 0, 538, 539, 6, 4, 3, 0, 539, 26, 1, 0, 0, 0, 540, 541, 7, 15, 0, 0, 541, 542, 7, 6, 0, 0, 542, 543, 7, 7, 0, 0, 543, 544, 7, 16, 0, 0, 544, 545, 1, 0, 0, 0, 545, 546, 6, 5, 4, 0, 546, 28, 1, 0, 0, 0, 547, 548, 7, 17, 0, 0, 548, 549, 7, 6, 0, 0, 549, 550, 7, 7, 0, 0, 550, 551, 7, 18, 0, 0, 551, 552, 1, 0, 0, 0, 552, 553, 6, 6, 0, 0, 553, 30, 1, 0, 0, 0, 554, 555, 7, 18, 0, 0, 555, 556, 7, 3, 0, 0, 556, 557, 7, 3, 0, 0, 557, 558, 7, 8, 0, 0, 558, 559, 1, 0, 0, 0, 559, 560, 6, 7, 1, 0, 560, 32, 1, 0, 0, 0, 561, 562, 7, 13, 0, 0, 562, 563, 7, 1, 0, 0, 563, 564, 7, 16, 0, 0, 564, 565, 7, 1, 0, 0, 565, 566, 7, 5, 0, 0, 566, 567, 1, 0, 0, 0, 567, 568, 6, 8, 0, 0, 568, 34, 1, 0, 0, 0, 569, 570, 7, 16, 0, 0, 570, 571, 7, 11, 0, 0, 571, 572, 5, 95, 0, 0, 572, 573, 7, 3, 0, 0, 573, 574, 7, 14, 0, 0, 574, 575, 7, 8, 0, 0, 575, 576, 7, 12, 0, 0, 576, 577, 7, 9, 0, 0, 577, 578, 7, 0, 0, 0, 578, 579, 1, 0, 0, 0, 579, 580, 6, 9, 5, 0, 580, 36, 1, 0, 0, 0, 581, 582, 7, 6, 0, 0, 582, 583, 7, 3, 0, 0, 583, 584, 7, 9, 0, 0, 584, 585, 7, 12, 0, 0, 585, 586, 7, 16, 0, 0, 586, 587, 7, 3, 0, 0, 587, 588, 1, 0, 0, 0, 588, 589, 6, 10, 6, 0, 589, 38, 1, 0, 0, 0, 590, 591, 7, 6, 0, 0, 591, 592, 7, 7, 0, 0, 592, 593, 7, 19, 0, 0, 593, 594, 1, 0, 0, 0, 594, 595, 6, 11, 0, 0, 595, 40, 1, 0, 0, 0, 596, 597, 7, 2, 0, 0, 597, 598, 7, 10, 0, 0, 598, 599, 7, 7, 0, 0, 599, 600, 7, 19, 0, 0, 600, 601, 1, 0, 0, 0, 601, 602, 6, 12, 7, 0, 602, 42, 1, 0, 0, 0, 603, 604, 7, 2, 0, 0, 604, 605, 7, 7, 0, 0, 605, 606, 7, 6, 0, 0, 606, 607, 7, 5, 0, 0, 607, 608, 1, 0, 0, 0, 608, 609, 6, 13, 0, 0, 609, 44, 1, 0, 0, 0, 610, 611, 7, 2, 0, 0, 611, 612, 7, 5, 0, 0, 612, 613, 7, 12, 0, 0, 613, 614, 7, 5, 0, 0, 614, 615, 7, 2, 0, 0, 615, 616, 1, 0, 0, 0, 616, 617, 6, 14, 0, 0, 617, 46, 1, 0, 0, 0, 618, 619, 7, 19, 0, 0, 619, 620, 7, 10, 0, 0, 620, 621, 7, 3, 0, 0, 621, 622, 7, 6, 0, 0, 622, 623, 7, 3, 0, 0, 623, 624, 1, 0, 0, 0, 624, 625, 6, 15, 0, 0, 625, 48, 1, 0, 0, 0, 626, 627, 7, 13, 0, 0, 627, 628, 7, 7, 0, 0, 628, 629, 7, 7, 0, 0, 629, 630, 7, 18, 0, 0, 630, 631, 7, 20, 0, 0, 631, 632, 7, 8, 0, 0, 632, 633, 1, 0, 0, 0, 633, 634, 6, 16, 8, 0, 634, 50, 1, 0, 0, 0, 635, 636, 7, 4, 0, 0, 636, 637, 7, 10, 0, 0, 637, 638, 7, 12, 0, 0, 638, 639, 7, 9, 0, 0, 639, 640, 7, 17, 0, 0, 640, 641, 7, 3, 0, 0, 641, 642, 5, 95, 0, 0, 642, 643, 7, 8, 0, 0, 643, 644, 7, 7, 0, 0, 644, 645, 7, 1, 0, 0, 645, 646, 7, 9, 0, 0, 646, 647, 7, 5, 0, 0, 647, 648, 1, 0, 0, 0, 648, 649, 6, 17, 9, 0, 649, 52, 1, 0, 0, 0, 650, 651, 4, 18, 0, 0, 651, 652, 7, 1, 0, 0, 652, 653, 7, 9, 0, 0, 653, 654, 7, 13, 0, 0, 654, 655, 7, 1, 0, 0, 655, 656, 7, 9, 0, 0, 656, 657, 7, 3, 0, 0, 657, 658, 7, 2, 0, 0, 658, 659, 7, 5, 0, 0, 659, 660, 7, 12, 0, 0, 660, 661, 7, 5, 0, 0, 661, 662, 7, 2, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 6, 18, 0, 0, 664, 54, 1, 0, 0, 0, 665, 666, 4, 19, 1, 0, 666, 667, 7, 13, 0, 0, 667, 668, 7, 7, 0, 0, 668, 669, 7, 7, 0, 0, 669, 670, 7, 18, 0, 0, 670, 671, 7, 20, 0, 0, 671, 672, 7, 8, 0, 0, 672, 673, 5, 95, 0, 0, 673, 674, 5, 128020, 0, 0, 674, 675, 1, 0, 0, 0, 675, 676, 6, 19, 10, 0, 676, 56, 1, 0, 0, 0, 677, 678, 4, 20, 2, 0, 678, 679, 7, 16, 0, 0, 679, 680, 7, 3, 0, 0, 680, 681, 7, 5, 0, 0, 681, 682, 7, 6, 0, 0, 682, 683, 7, 1, 0, 0, 683, 684, 7, 4, 0, 0, 684, 685, 7, 2, 0, 0, 685, 686, 1, 0, 0, 0, 686, 687, 6, 20, 11, 0, 687, 58, 1, 0, 0, 0, 688, 689, 4, 21, 3, 0, 689, 690, 7, 15, 0, 0, 690, 691, 7, 20, 0, 0, 691, 692, 7, 13, 0, 0, 692, 693, 7, 13, 0, 0, 693, 694, 1, 0, 0, 0, 694, 695, 6, 21, 8, 0, 695, 60, 1, 0, 0, 0, 696, 697, 4, 22, 4, 0, 697, 698, 7, 13, 0, 0, 698, 699, 7, 3, 0, 0, 699, 700, 7, 15, 0, 0, 700, 701, 7, 5, 0, 0, 701, 702, 1, 0, 0, 0, 702, 703, 6, 22, 8, 0, 703, 62, 1, 0, 0, 0, 704, 705, 4, 23, 5, 0, 705, 706, 7, 6, 0, 0, 706, 707, 7, 1, 0, 0, 707, 708, 7, 17, 0, 0, 708, 709, 7, 10, 0, 0, 709, 710, 7, 5, 0, 0, 710, 711, 1, 0, 0, 0, 711, 712, 6, 23, 8, 0, 712, 64, 1, 0, 0, 0, 713, 715, 8, 21, 0, 0, 714, 713, 1, 0, 0, 0, 715, 716, 1, 0, 0, 0, 716, 714, 1, 0, 0, 0, 716, 717, 1, 0, 0, 0, 717, 718, 1, 0, 0, 0, 718, 719, 6, 24, 0, 0, 719, 66, 1, 0, 0, 0, 720, 721, 5, 47, 0, 0, 721, 722, 5, 47, 0, 0, 722, 726, 1, 0, 0, 0, 723, 725, 8, 22, 0, 0, 724, 723, 1, 0, 0, 0, 725, 728, 1, 0, 0, 0, 726, 724, 1, 0, 0, 0, 726, 727, 1, 0, 0, 0, 727, 730, 1, 0, 0, 0, 728, 726, 1, 0, 0, 0, 729, 731, 5, 13, 0, 0, 730, 729, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 733, 1, 0, 0, 0, 732, 734, 5, 10, 0, 0, 733, 732, 1, 0, 0, 0, 733, 734, 1, 0, 0, 0, 734, 735, 1, 0, 0, 0, 735, 736, 6, 25, 12, 0, 736, 68, 1, 0, 0, 0, 737, 738, 5, 47, 0, 0, 738, 739, 5, 42, 0, 0, 739, 744, 1, 0, 0, 0, 740, 743, 3, 69, 26, 0, 741, 743, 9, 0, 0, 0, 742, 740, 1, 0, 0, 0, 742, 741, 1, 0, 0, 0, 743, 746, 1, 0, 0, 0, 744, 745, 1, 0, 0, 0, 744, 742, 1, 0, 0, 0, 745, 747, 1, 0, 0, 0, 746, 744, 1, 0, 0, 0, 747, 748, 5, 42, 0, 0, 748, 749, 5, 47, 0, 0, 749, 750, 1, 0, 0, 0, 750, 751, 6, 26, 12, 0, 751, 70, 1, 0, 0, 0, 752, 754, 7, 23, 0, 0, 753, 752, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 753, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 756, 757, 1, 0, 0, 0, 757, 758, 6, 27, 12, 0, 758, 72, 1, 0, 0, 0, 759, 760, 5, 124, 0, 0, 760, 761, 1, 0, 0, 0, 761, 762, 6, 28, 13, 0, 762, 74, 1, 0, 0, 0, 763, 764, 7, 24, 0, 0, 764, 76, 1, 0, 0, 0, 765, 766, 7, 25, 0, 0, 766, 78, 1, 0, 0, 0, 767, 768, 5, 92, 0, 0, 768, 769, 7, 26, 0, 0, 769, 80, 1, 0, 0, 0, 770, 771, 8, 27, 0, 0, 771, 82, 1, 0, 0, 0, 772, 774, 7, 3, 0, 0, 773, 775, 7, 28, 0, 0, 774, 773, 1, 0, 0, 0, 774, 775, 1, 0, 0, 0, 775, 777, 1, 0, 0, 0, 776, 778, 3, 75, 29, 0, 777, 776, 1, 0, 0, 0, 778, 779, 1, 0, 0, 0, 779, 777, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 84, 1, 0, 0, 0, 781, 782, 5, 64, 0, 0, 782, 86, 1, 0, 0, 0, 783, 784, 5, 96, 0, 0, 784, 88, 1, 0, 0, 0, 785, 789, 8, 29, 0, 0, 786, 787, 5, 96, 0, 0, 787, 789, 5, 96, 0, 0, 788, 785, 1, 0, 0, 0, 788, 786, 1, 0, 0, 0, 789, 90, 1, 0, 0, 0, 790, 791, 5, 95, 0, 0, 791, 92, 1, 0, 0, 0, 792, 796, 3, 77, 30, 0, 793, 796, 3, 75, 29, 0, 794, 796, 3, 91, 37, 0, 795, 792, 1, 0, 0, 0, 795, 793, 1, 0, 0, 0, 795, 794, 1, 0, 0, 0, 796, 94, 1, 0, 0, 0, 797, 802, 5, 34, 0, 0, 798, 801, 3, 79, 31, 0, 799, 801, 3, 81, 32, 0, 800, 798, 1, 0, 0, 0, 800, 799, 1, 0, 0, 0, 801, 804, 1, 0, 0, 0, 802, 800, 1, 0, 0, 0, 802, 803, 1, 0, 0, 0, 803, 805, 1, 0, 0, 0, 804, 802, 1, 0, 0, 0, 805, 827, 5, 34, 0, 0, 806, 807, 5, 34, 0, 0, 807, 808, 5, 34, 0, 0, 808, 809, 5, 34, 0, 0, 809, 813, 1, 0, 0, 0, 810, 812, 8, 22, 0, 0, 811, 810, 1, 0, 0, 0, 812, 815, 1, 0, 0, 0, 813, 814, 1, 0, 0, 0, 813, 811, 1, 0, 0, 0, 814, 816, 1, 0, 0, 0, 815, 813, 1, 0, 0, 0, 816, 817, 5, 34, 0, 0, 817, 818, 5, 34, 0, 0, 818, 819, 5, 34, 0, 0, 819, 821, 1, 0, 0, 0, 820, 822, 5, 34, 0, 0, 821, 820, 1, 0, 0, 0, 821, 822, 1, 0, 0, 0, 822, 824, 1, 0, 0, 0, 823, 825, 5, 34, 0, 0, 824, 823, 1, 0, 0, 0, 824, 825, 1, 0, 0, 0, 825, 827, 1, 0, 0, 0, 826, 797, 1, 0, 0, 0, 826, 806, 1, 0, 0, 0, 827, 96, 1, 0, 0, 0, 828, 830, 3, 75, 29, 0, 829, 828, 1, 0, 0, 0, 830, 831, 1, 0, 0, 0, 831, 829, 1, 0, 0, 0, 831, 832, 1, 0, 0, 0, 832, 98, 1, 0, 0, 0, 833, 835, 3, 75, 29, 0, 834, 833, 1, 0, 0, 0, 835, 836, 1, 0, 0, 0, 836, 834, 1, 0, 0, 0, 836, 837, 1, 0, 0, 0, 837, 838, 1, 0, 0, 0, 838, 842, 3, 117, 50, 0, 839, 841, 3, 75, 29, 0, 840, 839, 1, 0, 0, 0, 841, 844, 1, 0, 0, 0, 842, 840, 1, 0, 0, 0, 842, 843, 1, 0, 0, 0, 843, 876, 1, 0, 0, 0, 844, 842, 1, 0, 0, 0, 845, 847, 3, 117, 50, 0, 846, 848, 3, 75, 29, 0, 847, 846, 1, 0, 0, 0, 848, 849, 1, 0, 0, 0, 849, 847, 1, 0, 0, 0, 849, 850, 1, 0, 0, 0, 850, 876, 1, 0, 0, 0, 851, 853, 3, 75, 29, 0, 852, 851, 1, 0, 0, 0, 853, 854, 1, 0, 0, 0, 854, 852, 1, 0, 0, 0, 854, 855, 1, 0, 0, 0, 855, 863, 1, 0, 0, 0, 856, 860, 3, 117, 50, 0, 857, 859, 3, 75, 29, 0, 858, 857, 1, 0, 0, 0, 859, 862, 1, 0, 0, 0, 860, 858, 1, 0, 0, 0, 860, 861, 1, 0, 0, 0, 861, 864, 1, 0, 0, 0, 862, 860, 1, 0, 0, 0, 863, 856, 1, 0, 0, 0, 863, 864, 1, 0, 0, 0, 864, 865, 1, 0, 0, 0, 865, 866, 3, 83, 33, 0, 866, 876, 1, 0, 0, 0, 867, 869, 3, 117, 50, 0, 868, 870, 3, 75, 29, 0, 869, 868, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 869, 1, 0, 0, 0, 871, 872, 1, 0, 0, 0, 872, 873, 1, 0, 0, 0, 873, 874, 3, 83, 33, 0, 874, 876, 1, 0, 0, 0, 875, 834, 1, 0, 0, 0, 875, 845, 1, 0, 0, 0, 875, 852, 1, 0, 0, 0, 875, 867, 1, 0, 0, 0, 876, 100, 1, 0, 0, 0, 877, 878, 7, 30, 0, 0, 878, 879, 7, 31, 0, 0, 879, 102, 1, 0, 0, 0, 880, 881, 7, 12, 0, 0, 881, 882, 7, 9, 0, 0, 882, 883, 7, 0, 0, 0, 883, 104, 1, 0, 0, 0, 884, 885, 7, 12, 0, 0, 885, 886, 7, 2, 0, 0, 886, 887, 7, 4, 0, 0, 887, 106, 1, 0, 0, 0, 888, 889, 5, 61, 0, 0, 889, 108, 1, 0, 0, 0, 890, 891, 5, 58, 0, 0, 891, 892, 5, 58, 0, 0, 892, 110, 1, 0, 0, 0, 893, 894, 5, 58, 0, 0, 894, 112, 1, 0, 0, 0, 895, 896, 5, 44, 0, 0, 896, 114, 1, 0, 0, 0, 897, 898, 7, 0, 0, 0, 898, 899, 7, 3, 0, 0, 899, 900, 7, 2, 0, 0, 900, 901, 7, 4, 0, 0, 901, 116, 1, 0, 0, 0, 902, 903, 5, 46, 0, 0, 903, 118, 1, 0, 0, 0, 904, 905, 7, 15, 0, 0, 905, 906, 7, 12, 0, 0, 906, 907, 7, 13, 0, 0, 907, 908, 7, 2, 0, 0, 908, 909, 7, 3, 0, 0, 909, 120, 1, 0, 0, 0, 910, 911, 7, 15, 0, 0, 911, 912, 7, 1, 0, 0, 912, 913, 7, 6, 0, 0, 913, 914, 7, 2, 0, 0, 914, 915, 7, 5, 0, 0, 915, 122, 1, 0, 0, 0, 916, 917, 7, 1, 0, 0, 917, 918, 7, 9, 0, 0, 918, 124, 1, 0, 0, 0, 919, 920, 7, 1, 0, 0, 920, 921, 7, 2, 0, 0, 921, 126, 1, 0, 0, 0, 922, 923, 7, 13, 0, 0, 923, 924, 7, 12, 0, 0, 924, 925, 7, 2, 0, 0, 925, 926, 7, 5, 0, 0, 926, 128, 1, 0, 0, 0, 927, 928, 7, 13, 0, 0, 928, 929, 7, 1, 0, 0, 929, 930, 7, 18, 0, 0, 930, 931, 7, 3, 0, 0, 931, 130, 1, 0, 0, 0, 932, 933, 5, 40, 0, 0, 933, 132, 1, 0, 0, 0, 934, 935, 7, 9, 0, 0, 935, 936, 7, 7, 0, 0, 936, 937, 7, 5, 0, 0, 937, 134, 1, 0, 0, 0, 938, 939, 7, 9, 0, 0, 939, 940, 7, 20, 0, 0, 940, 941, 7, 13, 0, 0, 941, 942, 7, 13, 0, 0, 942, 136, 1, 0, 0, 0, 943, 944, 7, 9, 0, 0, 944, 945, 7, 20, 0, 0, 945, 946, 7, 13, 0, 0, 946, 947, 7, 13, 0, 0, 947, 948, 7, 2, 0, 0, 948, 138, 1, 0, 0, 0, 949, 950, 7, 7, 0, 0, 950, 951, 7, 6, 0, 0, 951, 140, 1, 0, 0, 0, 952, 953, 5, 63, 0, 0, 953, 142, 1, 0, 0, 0, 954, 955, 7, 6, 0, 0, 955, 956, 7, 13, 0, 0, 956, 957, 7, 1, 0, 0, 957, 958, 7, 18, 0, 0, 958, 959, 7, 3, 0, 0, 959, 144, 1, 0, 0, 0, 960, 961, 5, 41, 0, 0, 961, 146, 1, 0, 0, 0, 962, 963, 7, 5, 0, 0, 963, 964, 7, 6, 0, 0, 964, 965, 7, 20, 0, 0, 965, 966, 7, 3, 0, 0, 966, 148, 1, 0, 0, 0, 967, 968, 5, 61, 0, 0, 968, 969, 5, 61, 0, 0, 969, 150, 1, 0, 0, 0, 970, 971, 5, 61, 0, 0, 971, 972, 5, 126, 0, 0, 972, 152, 1, 0, 0, 0, 973, 974, 5, 33, 0, 0, 974, 975, 5, 61, 0, 0, 975, 154, 1, 0, 0, 0, 976, 977, 5, 60, 0, 0, 977, 156, 1, 0, 0, 0, 978, 979, 5, 60, 0, 0, 979, 980, 5, 61, 0, 0, 980, 158, 1, 0, 0, 0, 981, 982, 5, 62, 0, 0, 982, 160, 1, 0, 0, 0, 983, 984, 5, 62, 0, 0, 984, 985, 5, 61, 0, 0, 985, 162, 1, 0, 0, 0, 986, 987, 5, 43, 0, 0, 987, 164, 1, 0, 0, 0, 988, 989, 5, 45, 0, 0, 989, 166, 1, 0, 0, 0, 990, 991, 5, 42, 0, 0, 991, 168, 1, 0, 0, 0, 992, 993, 5, 47, 0, 0, 993, 170, 1, 0, 0, 0, 994, 995, 5, 37, 0, 0, 995, 172, 1, 0, 0, 0, 996, 997, 5, 123, 0, 0, 997, 174, 1, 0, 0, 0, 998, 999, 5, 125, 0, 0, 999, 176, 1, 0, 0, 0, 1000, 1001, 5, 63, 0, 0, 1001, 1002, 5, 63, 0, 0, 1002, 178, 1, 0, 0, 0, 1003, 1004, 3, 47, 15, 0, 1004, 1005, 1, 0, 0, 0, 1005, 1006, 6, 81, 14, 0, 1006, 180, 1, 0, 0, 0, 1007, 1010, 3, 141, 62, 0, 1008, 1011, 3, 77, 30, 0, 1009, 1011, 3, 91, 37, 0, 1010, 1008, 1, 0, 0, 0, 1010, 1009, 1, 0, 0, 0, 1011, 1015, 1, 0, 0, 0, 1012, 1014, 3, 93, 38, 0, 1013, 1012, 1, 0, 0, 0, 1014, 1017, 1, 0, 0, 0, 1015, 1013, 1, 0, 0, 0, 1015, 1016, 1, 0, 0, 0, 1016, 1025, 1, 0, 0, 0, 1017, 1015, 1, 0, 0, 0, 1018, 1020, 3, 141, 62, 0, 1019, 1021, 3, 75, 29, 0, 1020, 1019, 1, 0, 0, 0, 1021, 1022, 1, 0, 0, 0, 1022, 1020, 1, 0, 0, 0, 1022, 1023, 1, 0, 0, 0, 1023, 1025, 1, 0, 0, 0, 1024, 1007, 1, 0, 0, 0, 1024, 1018, 1, 0, 0, 0, 1025, 182, 1, 0, 0, 0, 1026, 1029, 3, 177, 80, 0, 1027, 1030, 3, 77, 30, 0, 1028, 1030, 3, 91, 37, 0, 1029, 1027, 1, 0, 0, 0, 1029, 1028, 1, 0, 0, 0, 1030, 1034, 1, 0, 0, 0, 1031, 1033, 3, 93, 38, 0, 1032, 1031, 1, 0, 0, 0, 1033, 1036, 1, 0, 0, 0, 1034, 1032, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1044, 1, 0, 0, 0, 1036, 1034, 1, 0, 0, 0, 1037, 1039, 3, 177, 80, 0, 1038, 1040, 3, 75, 29, 0, 1039, 1038, 1, 0, 0, 0, 1040, 1041, 1, 0, 0, 0, 1041, 1039, 1, 0, 0, 0, 1041, 1042, 1, 0, 0, 0, 1042, 1044, 1, 0, 0, 0, 1043, 1026, 1, 0, 0, 0, 1043, 1037, 1, 0, 0, 0, 1044, 184, 1, 0, 0, 0, 1045, 1046, 5, 91, 0, 0, 1046, 1047, 1, 0, 0, 0, 1047, 1048, 6, 84, 0, 0, 1048, 1049, 6, 84, 0, 0, 1049, 186, 1, 0, 0, 0, 1050, 1051, 5, 93, 0, 0, 1051, 1052, 1, 0, 0, 0, 1052, 1053, 6, 85, 13, 0, 1053, 1054, 6, 85, 13, 0, 1054, 188, 1, 0, 0, 0, 1055, 1059, 3, 77, 30, 0, 1056, 1058, 3, 93, 38, 0, 1057, 1056, 1, 0, 0, 0, 1058, 1061, 1, 0, 0, 0, 1059, 1057, 1, 0, 0, 0, 1059, 1060, 1, 0, 0, 0, 1060, 1072, 1, 0, 0, 0, 1061, 1059, 1, 0, 0, 0, 1062, 1065, 3, 91, 37, 0, 1063, 1065, 3, 85, 34, 0, 1064, 1062, 1, 0, 0, 0, 1064, 1063, 1, 0, 0, 0, 1065, 1067, 1, 0, 0, 0, 1066, 1068, 3, 93, 38, 0, 1067, 1066, 1, 0, 0, 0, 1068, 1069, 1, 0, 0, 0, 1069, 1067, 1, 0, 0, 0, 1069, 1070, 1, 0, 0, 0, 1070, 1072, 1, 0, 0, 0, 1071, 1055, 1, 0, 0, 0, 1071, 1064, 1, 0, 0, 0, 1072, 190, 1, 0, 0, 0, 1073, 1075, 3, 87, 35, 0, 1074, 1076, 3, 89, 36, 0, 1075, 1074, 1, 0, 0, 0, 1076, 1077, 1, 0, 0, 0, 1077, 1075, 1, 0, 0, 0, 1077, 1078, 1, 0, 0, 0, 1078, 1079, 1, 0, 0, 0, 1079, 1080, 3, 87, 35, 0, 1080, 192, 1, 0, 0, 0, 1081, 1082, 3, 191, 87, 0, 1082, 194, 1, 0, 0, 0, 1083, 1084, 3, 67, 25, 0, 1084, 1085, 1, 0, 0, 0, 1085, 1086, 6, 89, 12, 0, 1086, 196, 1, 0, 0, 0, 1087, 1088, 3, 69, 26, 0, 1088, 1089, 1, 0, 0, 0, 1089, 1090, 6, 90, 12, 0, 1090, 198, 1, 0, 0, 0, 1091, 1092, 3, 71, 27, 0, 1092, 1093, 1, 0, 0, 0, 1093, 1094, 6, 91, 12, 0, 1094, 200, 1, 0, 0, 0, 1095, 1096, 3, 185, 84, 0, 1096, 1097, 1, 0, 0, 0, 1097, 1098, 6, 92, 15, 0, 1098, 1099, 6, 92, 16, 0, 1099, 202, 1, 0, 0, 0, 1100, 1101, 3, 73, 28, 0, 1101, 1102, 1, 0, 0, 0, 1102, 1103, 6, 93, 17, 0, 1103, 1104, 6, 93, 13, 0, 1104, 204, 1, 0, 0, 0, 1105, 1106, 3, 71, 27, 0, 1106, 1107, 1, 0, 0, 0, 1107, 1108, 6, 94, 12, 0, 1108, 206, 1, 0, 0, 0, 1109, 1110, 3, 67, 25, 0, 1110, 1111, 1, 0, 0, 0, 1111, 1112, 6, 95, 12, 0, 1112, 208, 1, 0, 0, 0, 1113, 1114, 3, 69, 26, 0, 1114, 1115, 1, 0, 0, 0, 1115, 1116, 6, 96, 12, 0, 1116, 210, 1, 0, 0, 0, 1117, 1118, 3, 73, 28, 0, 1118, 1119, 1, 0, 0, 0, 1119, 1120, 6, 97, 17, 0, 1120, 1121, 6, 97, 13, 0, 1121, 212, 1, 0, 0, 0, 1122, 1123, 3, 185, 84, 0, 1123, 1124, 1, 0, 0, 0, 1124, 1125, 6, 98, 15, 0, 1125, 214, 1, 0, 0, 0, 1126, 1127, 3, 187, 85, 0, 1127, 1128, 1, 0, 0, 0, 1128, 1129, 6, 99, 18, 0, 1129, 216, 1, 0, 0, 0, 1130, 1131, 3, 111, 47, 0, 1131, 1132, 1, 0, 0, 0, 1132, 1133, 6, 100, 19, 0, 1133, 218, 1, 0, 0, 0, 1134, 1135, 3, 109, 46, 0, 1135, 1136, 1, 0, 0, 0, 1136, 1137, 6, 101, 20, 0, 1137, 220, 1, 0, 0, 0, 1138, 1139, 3, 113, 48, 0, 1139, 1140, 1, 0, 0, 0, 1140, 1141, 6, 102, 21, 0, 1141, 222, 1, 0, 0, 0, 1142, 1143, 3, 107, 45, 0, 1143, 1144, 1, 0, 0, 0, 1144, 1145, 6, 103, 22, 0, 1145, 224, 1, 0, 0, 0, 1146, 1147, 7, 16, 0, 0, 1147, 1148, 7, 3, 0, 0, 1148, 1149, 7, 5, 0, 0, 1149, 1150, 7, 12, 0, 0, 1150, 1151, 7, 0, 0, 0, 1151, 1152, 7, 12, 0, 0, 1152, 1153, 7, 5, 0, 0, 1153, 1154, 7, 12, 0, 0, 1154, 226, 1, 0, 0, 0, 1155, 1159, 8, 32, 0, 0, 1156, 1157, 5, 47, 0, 0, 1157, 1159, 8, 33, 0, 0, 1158, 1155, 1, 0, 0, 0, 1158, 1156, 1, 0, 0, 0, 1159, 228, 1, 0, 0, 0, 1160, 1162, 3, 227, 105, 0, 1161, 1160, 1, 0, 0, 0, 1162, 1163, 1, 0, 0, 0, 1163, 1161, 1, 0, 0, 0, 1163, 1164, 1, 0, 0, 0, 1164, 230, 1, 0, 0, 0, 1165, 1166, 3, 229, 106, 0, 1166, 1167, 1, 0, 0, 0, 1167, 1168, 6, 107, 23, 0, 1168, 232, 1, 0, 0, 0, 1169, 1170, 3, 95, 39, 0, 1170, 1171, 1, 0, 0, 0, 1171, 1172, 6, 108, 24, 0, 1172, 234, 1, 0, 0, 0, 1173, 1174, 3, 67, 25, 0, 1174, 1175, 1, 0, 0, 0, 1175, 1176, 6, 109, 12, 0, 1176, 236, 1, 0, 0, 0, 1177, 1178, 3, 69, 26, 0, 1178, 1179, 1, 0, 0, 0, 1179, 1180, 6, 110, 12, 0, 1180, 238, 1, 0, 0, 0, 1181, 1182, 3, 71, 27, 0, 1182, 1183, 1, 0, 0, 0, 1183, 1184, 6, 111, 12, 0, 1184, 240, 1, 0, 0, 0, 1185, 1186, 3, 73, 28, 0, 1186, 1187, 1, 0, 0, 0, 1187, 1188, 6, 112, 17, 0, 1188, 1189, 6, 112, 13, 0, 1189, 242, 1, 0, 0, 0, 1190, 1191, 3, 117, 50, 0, 1191, 1192, 1, 0, 0, 0, 1192, 1193, 6, 113, 25, 0, 1193, 244, 1, 0, 0, 0, 1194, 1195, 3, 113, 48, 0, 1195, 1196, 1, 0, 0, 0, 1196, 1197, 6, 114, 21, 0, 1197, 246, 1, 0, 0, 0, 1198, 1199, 3, 141, 62, 0, 1199, 1200, 1, 0, 0, 0, 1200, 1201, 6, 115, 26, 0, 1201, 248, 1, 0, 0, 0, 1202, 1203, 3, 181, 82, 0, 1203, 1204, 1, 0, 0, 0, 1204, 1205, 6, 116, 27, 0, 1205, 250, 1, 0, 0, 0, 1206, 1207, 3, 177, 80, 0, 1207, 1208, 1, 0, 0, 0, 1208, 1209, 6, 117, 28, 0, 1209, 252, 1, 0, 0, 0, 1210, 1211, 3, 183, 83, 0, 1211, 1212, 1, 0, 0, 0, 1212, 1213, 6, 118, 29, 0, 1213, 254, 1, 0, 0, 0, 1214, 1219, 3, 77, 30, 0, 1215, 1219, 3, 75, 29, 0, 1216, 1219, 3, 91, 37, 0, 1217, 1219, 3, 167, 75, 0, 1218, 1214, 1, 0, 0, 0, 1218, 1215, 1, 0, 0, 0, 1218, 1216, 1, 0, 0, 0, 1218, 1217, 1, 0, 0, 0, 1219, 256, 1, 0, 0, 0, 1220, 1223, 3, 77, 30, 0, 1221, 1223, 3, 167, 75, 0, 1222, 1220, 1, 0, 0, 0, 1222, 1221, 1, 0, 0, 0, 1223, 1227, 1, 0, 0, 0, 1224, 1226, 3, 255, 119, 0, 1225, 1224, 1, 0, 0, 0, 1226, 1229, 1, 0, 0, 0, 1227, 1225, 1, 0, 0, 0, 1227, 1228, 1, 0, 0, 0, 1228, 1240, 1, 0, 0, 0, 1229, 1227, 1, 0, 0, 0, 1230, 1233, 3, 91, 37, 0, 1231, 1233, 3, 85, 34, 0, 1232, 1230, 1, 0, 0, 0, 1232, 1231, 1, 0, 0, 0, 1233, 1235, 1, 0, 0, 0, 1234, 1236, 3, 255, 119, 0, 1235, 1234, 1, 0, 0, 0, 1236, 1237, 1, 0, 0, 0, 1237, 1235, 1, 0, 0, 0, 1237, 1238, 1, 0, 0, 0, 1238, 1240, 1, 0, 0, 0, 1239, 1222, 1, 0, 0, 0, 1239, 1232, 1, 0, 0, 0, 1240, 258, 1, 0, 0, 0, 1241, 1244, 3, 257, 120, 0, 1242, 1244, 3, 191, 87, 0, 1243, 1241, 1, 0, 0, 0, 1243, 1242, 1, 0, 0, 0, 1244, 1245, 1, 0, 0, 0, 1245, 1243, 1, 0, 0, 0, 1245, 1246, 1, 0, 0, 0, 1246, 260, 1, 0, 0, 0, 1247, 1248, 3, 67, 25, 0, 1248, 1249, 1, 0, 0, 0, 1249, 1250, 6, 122, 12, 0, 1250, 262, 1, 0, 0, 0, 1251, 1252, 3, 69, 26, 0, 1252, 1253, 1, 0, 0, 0, 1253, 1254, 6, 123, 12, 0, 1254, 264, 1, 0, 0, 0, 1255, 1256, 3, 71, 27, 0, 1256, 1257, 1, 0, 0, 0, 1257, 1258, 6, 124, 12, 0, 1258, 266, 1, 0, 0, 0, 1259, 1260, 3, 73, 28, 0, 1260, 1261, 1, 0, 0, 0, 1261, 1262, 6, 125, 17, 0, 1262, 1263, 6, 125, 13, 0, 1263, 268, 1, 0, 0, 0, 1264, 1265, 3, 107, 45, 0, 1265, 1266, 1, 0, 0, 0, 1266, 1267, 6, 126, 22, 0, 1267, 270, 1, 0, 0, 0, 1268, 1269, 3, 113, 48, 0, 1269, 1270, 1, 0, 0, 0, 1270, 1271, 6, 127, 21, 0, 1271, 272, 1, 0, 0, 0, 1272, 1273, 3, 117, 50, 0, 1273, 1274, 1, 0, 0, 0, 1274, 1275, 6, 128, 25, 0, 1275, 274, 1, 0, 0, 0, 1276, 1277, 3, 141, 62, 0, 1277, 1278, 1, 0, 0, 0, 1278, 1279, 6, 129, 26, 0, 1279, 276, 1, 0, 0, 0, 1280, 1281, 3, 181, 82, 0, 1281, 1282, 1, 0, 0, 0, 1282, 1283, 6, 130, 27, 0, 1283, 278, 1, 0, 0, 0, 1284, 1285, 3, 177, 80, 0, 1285, 1286, 1, 0, 0, 0, 1286, 1287, 6, 131, 28, 0, 1287, 280, 1, 0, 0, 0, 1288, 1289, 3, 183, 83, 0, 1289, 1290, 1, 0, 0, 0, 1290, 1291, 6, 132, 29, 0, 1291, 282, 1, 0, 0, 0, 1292, 1293, 7, 12, 0, 0, 1293, 1294, 7, 2, 0, 0, 1294, 284, 1, 0, 0, 0, 1295, 1296, 3, 259, 121, 0, 1296, 1297, 1, 0, 0, 0, 1297, 1298, 6, 134, 30, 0, 1298, 286, 1, 0, 0, 0, 1299, 1300, 3, 67, 25, 0, 1300, 1301, 1, 0, 0, 0, 1301, 1302, 6, 135, 12, 0, 1302, 288, 1, 0, 0, 0, 1303, 1304, 3, 69, 26, 0, 1304, 1305, 1, 0, 0, 0, 1305, 1306, 6, 136, 12, 0, 1306, 290, 1, 0, 0, 0, 1307, 1308, 3, 71, 27, 0, 1308, 1309, 1, 0, 0, 0, 1309, 1310, 6, 137, 12, 0, 1310, 292, 1, 0, 0, 0, 1311, 1312, 3, 73, 28, 0, 1312, 1313, 1, 0, 0, 0, 1313, 1314, 6, 138, 17, 0, 1314, 1315, 6, 138, 13, 0, 1315, 294, 1, 0, 0, 0, 1316, 1317, 3, 185, 84, 0, 1317, 1318, 1, 0, 0, 0, 1318, 1319, 6, 139, 15, 0, 1319, 1320, 6, 139, 31, 0, 1320, 296, 1, 0, 0, 0, 1321, 1322, 7, 7, 0, 0, 1322, 1323, 7, 9, 0, 0, 1323, 1324, 1, 0, 0, 0, 1324, 1325, 6, 140, 32, 0, 1325, 298, 1, 0, 0, 0, 1326, 1327, 7, 19, 0, 0, 1327, 1328, 7, 1, 0, 0, 1328, 1329, 7, 5, 0, 0, 1329, 1330, 7, 10, 0, 0, 1330, 1331, 1, 0, 0, 0, 1331, 1332, 6, 141, 32, 0, 1332, 300, 1, 0, 0, 0, 1333, 1334, 8, 34, 0, 0, 1334, 302, 1, 0, 0, 0, 1335, 1337, 3, 301, 142, 0, 1336, 1335, 1, 0, 0, 0, 1337, 1338, 1, 0, 0, 0, 1338, 1336, 1, 0, 0, 0, 1338, 1339, 1, 0, 0, 0, 1339, 1340, 1, 0, 0, 0, 1340, 1341, 3, 111, 47, 0, 1341, 1343, 1, 0, 0, 0, 1342, 1336, 1, 0, 0, 0, 1342, 1343, 1, 0, 0, 0, 1343, 1345, 1, 0, 0, 0, 1344, 1346, 3, 301, 142, 0, 1345, 1344, 1, 0, 0, 0, 1346, 1347, 1, 0, 0, 0, 1347, 1345, 1, 0, 0, 0, 1347, 1348, 1, 0, 0, 0, 1348, 304, 1, 0, 0, 0, 1349, 1350, 3, 303, 143, 0, 1350, 1351, 1, 0, 0, 0, 1351, 1352, 6, 144, 33, 0, 1352, 306, 1, 0, 0, 0, 1353, 1354, 3, 67, 25, 0, 1354, 1355, 1, 0, 0, 0, 1355, 1356, 6, 145, 12, 0, 1356, 308, 1, 0, 0, 0, 1357, 1358, 3, 69, 26, 0, 1358, 1359, 1, 0, 0, 0, 1359, 1360, 6, 146, 12, 0, 1360, 310, 1, 0, 0, 0, 1361, 1362, 3, 71, 27, 0, 1362, 1363, 1, 0, 0, 0, 1363, 1364, 6, 147, 12, 0, 1364, 312, 1, 0, 0, 0, 1365, 1366, 3, 73, 28, 0, 1366, 1367, 1, 0, 0, 0, 1367, 1368, 6, 148, 17, 0, 1368, 1369, 6, 148, 13, 0, 1369, 1370, 6, 148, 13, 0, 1370, 314, 1, 0, 0, 0, 1371, 1372, 3, 107, 45, 0, 1372, 1373, 1, 0, 0, 0, 1373, 1374, 6, 149, 22, 0, 1374, 316, 1, 0, 0, 0, 1375, 1376, 3, 113, 48, 0, 1376, 1377, 1, 0, 0, 0, 1377, 1378, 6, 150, 21, 0, 1378, 318, 1, 0, 0, 0, 1379, 1380, 3, 117, 50, 0, 1380, 1381, 1, 0, 0, 0, 1381, 1382, 6, 151, 25, 0, 1382, 320, 1, 0, 0, 0, 1383, 1384, 3, 299, 141, 0, 1384, 1385, 1, 0, 0, 0, 1385, 1386, 6, 152, 34, 0, 1386, 322, 1, 0, 0, 0, 1387, 1388, 3, 259, 121, 0, 1388, 1389, 1, 0, 0, 0, 1389, 1390, 6, 153, 30, 0, 1390, 324, 1, 0, 0, 0, 1391, 1392, 3, 193, 88, 0, 1392, 1393, 1, 0, 0, 0, 1393, 1394, 6, 154, 35, 0, 1394, 326, 1, 0, 0, 0, 1395, 1396, 3, 141, 62, 0, 1396, 1397, 1, 0, 0, 0, 1397, 1398, 6, 155, 26, 0, 1398, 328, 1, 0, 0, 0, 1399, 1400, 3, 181, 82, 0, 1400, 1401, 1, 0, 0, 0, 1401, 1402, 6, 156, 27, 0, 1402, 330, 1, 0, 0, 0, 1403, 1404, 3, 177, 80, 0, 1404, 1405, 1, 0, 0, 0, 1405, 1406, 6, 157, 28, 0, 1406, 332, 1, 0, 0, 0, 1407, 1408, 3, 183, 83, 0, 1408, 1409, 1, 0, 0, 0, 1409, 1410, 6, 158, 29, 0, 1410, 334, 1, 0, 0, 0, 1411, 1412, 3, 67, 25, 0, 1412, 1413, 1, 0, 0, 0, 1413, 1414, 6, 159, 12, 0, 1414, 336, 1, 0, 0, 0, 1415, 1416, 3, 69, 26, 0, 1416, 1417, 1, 0, 0, 0, 1417, 1418, 6, 160, 12, 0, 1418, 338, 1, 0, 0, 0, 1419, 1420, 3, 71, 27, 0, 1420, 1421, 1, 0, 0, 0, 1421, 1422, 6, 161, 12, 0, 1422, 340, 1, 0, 0, 0, 1423, 1424, 3, 73, 28, 0, 1424, 1425, 1, 0, 0, 0, 1425, 1426, 6, 162, 17, 0, 1426, 1427, 6, 162, 13, 0, 1427, 342, 1, 0, 0, 0, 1428, 1429, 3, 117, 50, 0, 1429, 1430, 1, 0, 0, 0, 1430, 1431, 6, 163, 25, 0, 1431, 344, 1, 0, 0, 0, 1432, 1433, 3, 141, 62, 0, 1433, 1434, 1, 0, 0, 0, 1434, 1435, 6, 164, 26, 0, 1435, 346, 1, 0, 0, 0, 1436, 1437, 3, 181, 82, 0, 1437, 1438, 1, 0, 0, 0, 1438, 1439, 6, 165, 27, 0, 1439, 348, 1, 0, 0, 0, 1440, 1441, 3, 177, 80, 0, 1441, 1442, 1, 0, 0, 0, 1442, 1443, 6, 166, 28, 0, 1443, 350, 1, 0, 0, 0, 1444, 1445, 3, 183, 83, 0, 1445, 1446, 1, 0, 0, 0, 1446, 1447, 6, 167, 29, 0, 1447, 352, 1, 0, 0, 0, 1448, 1449, 3, 193, 88, 0, 1449, 1450, 1, 0, 0, 0, 1450, 1451, 6, 168, 35, 0, 1451, 354, 1, 0, 0, 0, 1452, 1453, 3, 189, 86, 0, 1453, 1454, 1, 0, 0, 0, 1454, 1455, 6, 169, 36, 0, 1455, 356, 1, 0, 0, 0, 1456, 1457, 3, 67, 25, 0, 1457, 1458, 1, 0, 0, 0, 1458, 1459, 6, 170, 12, 0, 1459, 358, 1, 0, 0, 0, 1460, 1461, 3, 69, 26, 0, 1461, 1462, 1, 0, 0, 0, 1462, 1463, 6, 171, 12, 0, 1463, 360, 1, 0, 0, 0, 1464, 1465, 3, 71, 27, 0, 1465, 1466, 1, 0, 0, 0, 1466, 1467, 6, 172, 12, 0, 1467, 362, 1, 0, 0, 0, 1468, 1469, 3, 73, 28, 0, 1469, 1470, 1, 0, 0, 0, 1470, 1471, 6, 173, 17, 0, 1471, 1472, 6, 173, 13, 0, 1472, 364, 1, 0, 0, 0, 1473, 1474, 7, 1, 0, 0, 1474, 1475, 7, 9, 0, 0, 1475, 1476, 7, 15, 0, 0, 1476, 1477, 7, 7, 0, 0, 1477, 366, 1, 0, 0, 0, 1478, 1479, 3, 67, 25, 0, 1479, 1480, 1, 0, 0, 0, 1480, 1481, 6, 175, 12, 0, 1481, 368, 1, 0, 0, 0, 1482, 1483, 3, 69, 26, 0, 1483, 1484, 1, 0, 0, 0, 1484, 1485, 6, 176, 12, 0, 1485, 370, 1, 0, 0, 0, 1486, 1487, 3, 71, 27, 0, 1487, 1488, 1, 0, 0, 0, 1488, 1489, 6, 177, 12, 0, 1489, 372, 1, 0, 0, 0, 1490, 1491, 3, 187, 85, 0, 1491, 1492, 1, 0, 0, 0, 1492, 1493, 6, 178, 18, 0, 1493, 1494, 6, 178, 13, 0, 1494, 374, 1, 0, 0, 0, 1495, 1496, 3, 111, 47, 0, 1496, 1497, 1, 0, 0, 0, 1497, 1498, 6, 179, 19, 0, 1498, 376, 1, 0, 0, 0, 1499, 1505, 3, 85, 34, 0, 1500, 1505, 3, 75, 29, 0, 1501, 1505, 3, 117, 50, 0, 1502, 1505, 3, 77, 30, 0, 1503, 1505, 3, 91, 37, 0, 1504, 1499, 1, 0, 0, 0, 1504, 1500, 1, 0, 0, 0, 1504, 1501, 1, 0, 0, 0, 1504, 1502, 1, 0, 0, 0, 1504, 1503, 1, 0, 0, 0, 1505, 1506, 1, 0, 0, 0, 1506, 1504, 1, 0, 0, 0, 1506, 1507, 1, 0, 0, 0, 1507, 378, 1, 0, 0, 0, 1508, 1509, 3, 67, 25, 0, 1509, 1510, 1, 0, 0, 0, 1510, 1511, 6, 181, 12, 0, 1511, 380, 1, 0, 0, 0, 1512, 1513, 3, 69, 26, 0, 1513, 1514, 1, 0, 0, 0, 1514, 1515, 6, 182, 12, 0, 1515, 382, 1, 0, 0, 0, 1516, 1517, 3, 71, 27, 0, 1517, 1518, 1, 0, 0, 0, 1518, 1519, 6, 183, 12, 0, 1519, 384, 1, 0, 0, 0, 1520, 1521, 3, 73, 28, 0, 1521, 1522, 1, 0, 0, 0, 1522, 1523, 6, 184, 17, 0, 1523, 1524, 6, 184, 13, 0, 1524, 386, 1, 0, 0, 0, 1525, 1526, 3, 111, 47, 0, 1526, 1527, 1, 0, 0, 0, 1527, 1528, 6, 185, 19, 0, 1528, 388, 1, 0, 0, 0, 1529, 1530, 3, 113, 48, 0, 1530, 1531, 1, 0, 0, 0, 1531, 1532, 6, 186, 21, 0, 1532, 390, 1, 0, 0, 0, 1533, 1534, 3, 117, 50, 0, 1534, 1535, 1, 0, 0, 0, 1535, 1536, 6, 187, 25, 0, 1536, 392, 1, 0, 0, 0, 1537, 1538, 3, 297, 140, 0, 1538, 1539, 1, 0, 0, 0, 1539, 1540, 6, 188, 37, 0, 1540, 1541, 6, 188, 38, 0, 1541, 394, 1, 0, 0, 0, 1542, 1543, 3, 229, 106, 0, 1543, 1544, 1, 0, 0, 0, 1544, 1545, 6, 189, 23, 0, 1545, 396, 1, 0, 0, 0, 1546, 1547, 3, 95, 39, 0, 1547, 1548, 1, 0, 0, 0, 1548, 1549, 6, 190, 24, 0, 1549, 398, 1, 0, 0, 0, 1550, 1551, 3, 67, 25, 0, 1551, 1552, 1, 0, 0, 0, 1552, 1553, 6, 191, 12, 0, 1553, 400, 1, 0, 0, 0, 1554, 1555, 3, 69, 26, 0, 1555, 1556, 1, 0, 0, 0, 1556, 1557, 6, 192, 12, 0, 1557, 402, 1, 0, 0, 0, 1558, 1559, 3, 71, 27, 0, 1559, 1560, 1, 0, 0, 0, 1560, 1561, 6, 193, 12, 0, 1561, 404, 1, 0, 0, 0, 1562, 1563, 3, 73, 28, 0, 1563, 1564, 1, 0, 0, 0, 1564, 1565, 6, 194, 17, 0, 1565, 1566, 6, 194, 13, 0, 1566, 1567, 6, 194, 13, 0, 1567, 406, 1, 0, 0, 0, 1568, 1569, 3, 113, 48, 0, 1569, 1570, 1, 0, 0, 0, 1570, 1571, 6, 195, 21, 0, 1571, 408, 1, 0, 0, 0, 1572, 1573, 3, 117, 50, 0, 1573, 1574, 1, 0, 0, 0, 1574, 1575, 6, 196, 25, 0, 1575, 410, 1, 0, 0, 0, 1576, 1577, 3, 259, 121, 0, 1577, 1578, 1, 0, 0, 0, 1578, 1579, 6, 197, 30, 0, 1579, 412, 1, 0, 0, 0, 1580, 1581, 3, 67, 25, 0, 1581, 1582, 1, 0, 0, 0, 1582, 1583, 6, 198, 12, 0, 1583, 414, 1, 0, 0, 0, 1584, 1585, 3, 69, 26, 0, 1585, 1586, 1, 0, 0, 0, 1586, 1587, 6, 199, 12, 0, 1587, 416, 1, 0, 0, 0, 1588, 1589, 3, 71, 27, 0, 1589, 1590, 1, 0, 0, 0, 1590, 1591, 6, 200, 12, 0, 1591, 418, 1, 0, 0, 0, 1592, 1593, 3, 73, 28, 0, 1593, 1594, 1, 0, 0, 0, 1594, 1595, 6, 201, 17, 0, 1595, 1596, 6, 201, 13, 0, 1596, 420, 1, 0, 0, 0, 1597, 1598, 7, 35, 0, 0, 1598, 1599, 7, 7, 0, 0, 1599, 1600, 7, 1, 0, 0, 1600, 1601, 7, 9, 0, 0, 1601, 422, 1, 0, 0, 0, 1602, 1603, 3, 283, 133, 0, 1603, 1604, 1, 0, 0, 0, 1604, 1605, 6, 203, 39, 0, 1605, 424, 1, 0, 0, 0, 1606, 1607, 3, 297, 140, 0, 1607, 1608, 1, 0, 0, 0, 1608, 1609, 6, 204, 37, 0, 1609, 1610, 6, 204, 13, 0, 1610, 1611, 6, 204, 0, 0, 1611, 426, 1, 0, 0, 0, 1612, 1613, 7, 20, 0, 0, 1613, 1614, 7, 2, 0, 0, 1614, 1615, 7, 1, 0, 0, 1615, 1616, 7, 9, 0, 0, 1616, 1617, 7, 17, 0, 0, 1617, 1618, 1, 0, 0, 0, 1618, 1619, 6, 205, 13, 0, 1619, 1620, 6, 205, 0, 0, 1620, 428, 1, 0, 0, 0, 1621, 1622, 3, 229, 106, 0, 1622, 1623, 1, 0, 0, 0, 1623, 1624, 6, 206, 23, 0, 1624, 430, 1, 0, 0, 0, 1625, 1626, 3, 95, 39, 0, 1626, 1627, 1, 0, 0, 0, 1627, 1628, 6, 207, 24, 0, 1628, 432, 1, 0, 0, 0, 1629, 1630, 3, 111, 47, 0, 1630, 1631, 1, 0, 0, 0, 1631, 1632, 6, 208, 19, 0, 1632, 434, 1, 0, 0, 0, 1633, 1634, 3, 189, 86, 0, 1634, 1635, 1, 0, 0, 0, 1635, 1636, 6, 209, 36, 0, 1636, 436, 1, 0, 0, 0, 1637, 1638, 3, 193, 88, 0, 1638, 1639, 1, 0, 0, 0, 1639, 1640, 6, 210, 35, 0, 1640, 438, 1, 0, 0, 0, 1641, 1642, 3, 67, 25, 0, 1642, 1643, 1, 0, 0, 0, 1643, 1644, 6, 211, 12, 0, 1644, 440, 1, 0, 0, 0, 1645, 1646, 3, 69, 26, 0, 1646, 1647, 1, 0, 0, 0, 1647, 1648, 6, 212, 12, 0, 1648, 442, 1, 0, 0, 0, 1649, 1650, 3, 71, 27, 0, 1650, 1651, 1, 0, 0, 0, 1651, 1652, 6, 213, 12, 0, 1652, 444, 1, 0, 0, 0, 1653, 1654, 3, 73, 28, 0, 1654, 1655, 1, 0, 0, 0, 1655, 1656, 6, 214, 17, 0, 1656, 1657, 6, 214, 13, 0, 1657, 446, 1, 0, 0, 0, 1658, 1659, 3, 229, 106, 0, 1659, 1660, 1, 0, 0, 0, 1660, 1661, 6, 215, 23, 0, 1661, 1662, 6, 215, 13, 0, 1662, 1663, 6, 215, 40, 0, 1663, 448, 1, 0, 0, 0, 1664, 1665, 3, 95, 39, 0, 1665, 1666, 1, 0, 0, 0, 1666, 1667, 6, 216, 24, 0, 1667, 1668, 6, 216, 13, 0, 1668, 1669, 6, 216, 40, 0, 1669, 450, 1, 0, 0, 0, 1670, 1671, 3, 67, 25, 0, 1671, 1672, 1, 0, 0, 0, 1672, 1673, 6, 217, 12, 0, 1673, 452, 1, 0, 0, 0, 1674, 1675, 3, 69, 26, 0, 1675, 1676, 1, 0, 0, 0, 1676, 1677, 6, 218, 12, 0, 1677, 454, 1, 0, 0, 0, 1678, 1679, 3, 71, 27, 0, 1679, 1680, 1, 0, 0, 0, 1680, 1681, 6, 219, 12, 0, 1681, 456, 1, 0, 0, 0, 1682, 1683, 3, 111, 47, 0, 1683, 1684, 1, 0, 0, 0, 1684, 1685, 6, 220, 19, 0, 1685, 1686, 6, 220, 13, 0, 1686, 1687, 6, 220, 11, 0, 1687, 458, 1, 0, 0, 0, 1688, 1689, 3, 109, 46, 0, 1689, 1690, 1, 0, 0, 0, 1690, 1691, 6, 221, 20, 0, 1691, 1692, 6, 221, 13, 0, 1692, 1693, 6, 221, 11, 0, 1693, 460, 1, 0, 0, 0, 1694, 1695, 3, 113, 48, 0, 1695, 1696, 1, 0, 0, 0, 1696, 1697, 6, 222, 21, 0, 1697, 1698, 6, 222, 13, 0, 1698, 1699, 6, 222, 11, 0, 1699, 462, 1, 0, 0, 0, 1700, 1701, 3, 67, 25, 0, 1701, 1702, 1, 0, 0, 0, 1702, 1703, 6, 223, 12, 0, 1703, 464, 1, 0, 0, 0, 1704, 1705, 3, 69, 26, 0, 1705, 1706, 1, 0, 0, 0, 1706, 1707, 6, 224, 12, 0, 1707, 466, 1, 0, 0, 0, 1708, 1709, 3, 71, 27, 0, 1709, 1710, 1, 0, 0, 0, 1710, 1711, 6, 225, 12, 0, 1711, 468, 1, 0, 0, 0, 1712, 1713, 3, 193, 88, 0, 1713, 1714, 1, 0, 0, 0, 1714, 1715, 6, 226, 13, 0, 1715, 1716, 6, 226, 0, 0, 1716, 1717, 6, 226, 35, 0, 1717, 470, 1, 0, 0, 0, 1718, 1719, 3, 189, 86, 0, 1719, 1720, 1, 0, 0, 0, 1720, 1721, 6, 227, 13, 0, 1721, 1722, 6, 227, 0, 0, 1722, 1723, 6, 227, 36, 0, 1723, 472, 1, 0, 0, 0, 1724, 1725, 3, 101, 42, 0, 1725, 1726, 1, 0, 0, 0, 1726, 1727, 6, 228, 13, 0, 1727, 1728, 6, 228, 0, 0, 1728, 1729, 6, 228, 41, 0, 1729, 474, 1, 0, 0, 0, 1730, 1731, 3, 73, 28, 0, 1731, 1732, 1, 0, 0, 0, 1732, 1733, 6, 229, 17, 0, 1733, 1734, 6, 229, 13, 0, 1734, 476, 1, 0, 0, 0, 1735, 1736, 3, 73, 28, 0, 1736, 1737, 1, 0, 0, 0, 1737, 1738, 6, 230, 17, 0, 1738, 1739, 6, 230, 13, 0, 1739, 478, 1, 0, 0, 0, 1740, 1741, 3, 297, 140, 0, 1741, 1742, 1, 0, 0, 0, 1742, 1743, 6, 231, 37, 0, 1743, 480, 1, 0, 0, 0, 1744, 1745, 3, 283, 133, 0, 1745, 1746, 1, 0, 0, 0, 1746, 1747, 6, 232, 39, 0, 1747, 482, 1, 0, 0, 0, 1748, 1749, 3, 117, 50, 0, 1749, 1750, 1, 0, 0, 0, 1750, 1751, 6, 233, 25, 0, 1751, 484, 1, 0, 0, 0, 1752, 1753, 3, 113, 48, 0, 1753, 1754, 1, 0, 0, 0, 1754, 1755, 6, 234, 21, 0, 1755, 486, 1, 0, 0, 0, 1756, 1757, 3, 193, 88, 0, 1757, 1758, 1, 0, 0, 0, 1758, 1759, 6, 235, 35, 0, 1759, 488, 1, 0, 0, 0, 1760, 1761, 3, 189, 86, 0, 1761, 1762, 1, 0, 0, 0, 1762, 1763, 6, 236, 36, 0, 1763, 490, 1, 0, 0, 0, 1764, 1765, 3, 67, 25, 0, 1765, 1766, 1, 0, 0, 0, 1766, 1767, 6, 237, 12, 0, 1767, 492, 1, 0, 0, 0, 1768, 1769, 3, 69, 26, 0, 1769, 1770, 1, 0, 0, 0, 1770, 1771, 6, 238, 12, 0, 1771, 494, 1, 0, 0, 0, 1772, 1773, 3, 71, 27, 0, 1773, 1774, 1, 0, 0, 0, 1774, 1775, 6, 239, 12, 0, 1775, 496, 1, 0, 0, 0, 71, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 716, 726, 730, 733, 742, 744, 755, 774, 779, 788, 795, 800, 802, 813, 821, 824, 826, 831, 836, 842, 849, 854, 860, 863, 871, 875, 1010, 1015, 1022, 1024, 1029, 1034, 1041, 1043, 1059, 1064, 1069, 1071, 1077, 1158, 1163, 1218, 1222, 1227, 1232, 1237, 1239, 1243, 1245, 1338, 1342, 1347, 1504, 1506, 42, 5, 1, 0, 5, 4, 0, 5, 6, 0, 5, 2, 0, 5, 3, 0, 5, 8, 0, 5, 5, 0, 5, 9, 0, 5, 13, 0, 5, 16, 0, 5, 11, 0, 5, 14, 0, 0, 1, 0, 4, 0, 0, 7, 16, 0, 7, 74, 0, 5, 0, 0, 7, 29, 0, 7, 75, 0, 7, 38, 0, 7, 37, 0, 7, 39, 0, 7, 36, 0, 7, 85, 0, 7, 30, 0, 7, 41, 0, 7, 53, 0, 7, 72, 0, 7, 71, 0, 7, 73, 0, 7, 89, 0, 5, 10, 0, 5, 7, 0, 7, 99, 0, 7, 98, 0, 7, 77, 0, 7, 76, 0, 7, 97, 0, 5, 12, 0, 7, 93, 0, 5, 15, 0, 7, 33, 0] \ No newline at end of file +[4, 0, 138, 1813, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2, 65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 2, 71, 7, 71, 2, 72, 7, 72, 2, 73, 7, 73, 2, 74, 7, 74, 2, 75, 7, 75, 2, 76, 7, 76, 2, 77, 7, 77, 2, 78, 7, 78, 2, 79, 7, 79, 2, 80, 7, 80, 2, 81, 7, 81, 2, 82, 7, 82, 2, 83, 7, 83, 2, 84, 7, 84, 2, 85, 7, 85, 2, 86, 7, 86, 2, 87, 7, 87, 2, 88, 7, 88, 2, 89, 7, 89, 2, 90, 7, 90, 2, 91, 7, 91, 2, 92, 7, 92, 2, 93, 7, 93, 2, 94, 7, 94, 2, 95, 7, 95, 2, 96, 7, 96, 2, 97, 7, 97, 2, 98, 7, 98, 2, 99, 7, 99, 2, 100, 7, 100, 2, 101, 7, 101, 2, 102, 7, 102, 2, 103, 7, 103, 2, 104, 7, 104, 2, 105, 7, 105, 2, 106, 7, 106, 2, 107, 7, 107, 2, 108, 7, 108, 2, 109, 7, 109, 2, 110, 7, 110, 2, 111, 7, 111, 2, 112, 7, 112, 2, 113, 7, 113, 2, 114, 7, 114, 2, 115, 7, 115, 2, 116, 7, 116, 2, 117, 7, 117, 2, 118, 7, 118, 2, 119, 7, 119, 2, 120, 7, 120, 2, 121, 7, 121, 2, 122, 7, 122, 2, 123, 7, 123, 2, 124, 7, 124, 2, 125, 7, 125, 2, 126, 7, 126, 2, 127, 7, 127, 2, 128, 7, 128, 2, 129, 7, 129, 2, 130, 7, 130, 2, 131, 7, 131, 2, 132, 7, 132, 2, 133, 7, 133, 2, 134, 7, 134, 2, 135, 7, 135, 2, 136, 7, 136, 2, 137, 7, 137, 2, 138, 7, 138, 2, 139, 7, 139, 2, 140, 7, 140, 2, 141, 7, 141, 2, 142, 7, 142, 2, 143, 7, 143, 2, 144, 7, 144, 2, 145, 7, 145, 2, 146, 7, 146, 2, 147, 7, 147, 2, 148, 7, 148, 2, 149, 7, 149, 2, 150, 7, 150, 2, 151, 7, 151, 2, 152, 7, 152, 2, 153, 7, 153, 2, 154, 7, 154, 2, 155, 7, 155, 2, 156, 7, 156, 2, 157, 7, 157, 2, 158, 7, 158, 2, 159, 7, 159, 2, 160, 7, 160, 2, 161, 7, 161, 2, 162, 7, 162, 2, 163, 7, 163, 2, 164, 7, 164, 2, 165, 7, 165, 2, 166, 7, 166, 2, 167, 7, 167, 2, 168, 7, 168, 2, 169, 7, 169, 2, 170, 7, 170, 2, 171, 7, 171, 2, 172, 7, 172, 2, 173, 7, 173, 2, 174, 7, 174, 2, 175, 7, 175, 2, 176, 7, 176, 2, 177, 7, 177, 2, 178, 7, 178, 2, 179, 7, 179, 2, 180, 7, 180, 2, 181, 7, 181, 2, 182, 7, 182, 2, 183, 7, 183, 2, 184, 7, 184, 2, 185, 7, 185, 2, 186, 7, 186, 2, 187, 7, 187, 2, 188, 7, 188, 2, 189, 7, 189, 2, 190, 7, 190, 2, 191, 7, 191, 2, 192, 7, 192, 2, 193, 7, 193, 2, 194, 7, 194, 2, 195, 7, 195, 2, 196, 7, 196, 2, 197, 7, 197, 2, 198, 7, 198, 2, 199, 7, 199, 2, 200, 7, 200, 2, 201, 7, 201, 2, 202, 7, 202, 2, 203, 7, 203, 2, 204, 7, 204, 2, 205, 7, 205, 2, 206, 7, 206, 2, 207, 7, 207, 2, 208, 7, 208, 2, 209, 7, 209, 2, 210, 7, 210, 2, 211, 7, 211, 2, 212, 7, 212, 2, 213, 7, 213, 2, 214, 7, 214, 2, 215, 7, 215, 2, 216, 7, 216, 2, 217, 7, 217, 2, 218, 7, 218, 2, 219, 7, 219, 2, 220, 7, 220, 2, 221, 7, 221, 2, 222, 7, 222, 2, 223, 7, 223, 2, 224, 7, 224, 2, 225, 7, 225, 2, 226, 7, 226, 2, 227, 7, 227, 2, 228, 7, 228, 2, 229, 7, 229, 2, 230, 7, 230, 2, 231, 7, 231, 2, 232, 7, 232, 2, 233, 7, 233, 2, 234, 7, 234, 2, 235, 7, 235, 2, 236, 7, 236, 2, 237, 7, 237, 2, 238, 7, 238, 2, 239, 7, 239, 2, 240, 7, 240, 2, 241, 7, 241, 2, 242, 7, 242, 2, 243, 7, 243, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 4, 26, 746, 8, 26, 11, 26, 12, 26, 747, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 756, 8, 27, 10, 27, 12, 27, 759, 9, 27, 1, 27, 3, 27, 762, 8, 27, 1, 27, 3, 27, 765, 8, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 5, 28, 774, 8, 28, 10, 28, 12, 28, 777, 9, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 4, 29, 785, 8, 29, 11, 29, 12, 29, 786, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 3, 35, 806, 8, 35, 1, 35, 4, 35, 809, 8, 35, 11, 35, 12, 35, 810, 1, 36, 1, 36, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 3, 38, 820, 8, 38, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 3, 40, 827, 8, 40, 1, 41, 1, 41, 1, 41, 5, 41, 832, 8, 41, 10, 41, 12, 41, 835, 9, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 843, 8, 41, 10, 41, 12, 41, 846, 9, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 3, 41, 853, 8, 41, 1, 41, 3, 41, 856, 8, 41, 3, 41, 858, 8, 41, 1, 42, 4, 42, 861, 8, 42, 11, 42, 12, 42, 862, 1, 43, 4, 43, 866, 8, 43, 11, 43, 12, 43, 867, 1, 43, 1, 43, 5, 43, 872, 8, 43, 10, 43, 12, 43, 875, 9, 43, 1, 43, 1, 43, 4, 43, 879, 8, 43, 11, 43, 12, 43, 880, 1, 43, 4, 43, 884, 8, 43, 11, 43, 12, 43, 885, 1, 43, 1, 43, 5, 43, 890, 8, 43, 10, 43, 12, 43, 893, 9, 43, 3, 43, 895, 8, 43, 1, 43, 1, 43, 1, 43, 1, 43, 4, 43, 901, 8, 43, 11, 43, 12, 43, 902, 1, 43, 1, 43, 3, 43, 907, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 78, 1, 78, 1, 79, 1, 79, 1, 80, 1, 80, 1, 81, 1, 81, 1, 82, 1, 82, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 3, 86, 1050, 8, 86, 1, 86, 5, 86, 1053, 8, 86, 10, 86, 12, 86, 1056, 9, 86, 1, 86, 1, 86, 4, 86, 1060, 8, 86, 11, 86, 12, 86, 1061, 3, 86, 1064, 8, 86, 1, 87, 1, 87, 1, 87, 3, 87, 1069, 8, 87, 1, 87, 5, 87, 1072, 8, 87, 10, 87, 12, 87, 1075, 9, 87, 1, 87, 1, 87, 4, 87, 1079, 8, 87, 11, 87, 12, 87, 1080, 3, 87, 1083, 8, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 5, 90, 1097, 8, 90, 10, 90, 12, 90, 1100, 9, 90, 1, 90, 1, 90, 3, 90, 1104, 8, 90, 1, 90, 4, 90, 1107, 8, 90, 11, 90, 12, 90, 1108, 3, 90, 1111, 8, 90, 1, 91, 1, 91, 4, 91, 1115, 8, 91, 11, 91, 12, 91, 1116, 1, 91, 1, 91, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 1, 96, 1, 96, 1, 96, 1, 97, 1, 97, 1, 97, 1, 97, 1, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 109, 3, 109, 1198, 8, 109, 1, 110, 4, 110, 1201, 8, 110, 11, 110, 12, 110, 1202, 1, 111, 1, 111, 1, 111, 1, 111, 1, 112, 1, 112, 1, 112, 1, 112, 1, 113, 1, 113, 1, 113, 1, 113, 1, 114, 1, 114, 1, 114, 1, 114, 1, 115, 1, 115, 1, 115, 1, 115, 1, 116, 1, 116, 1, 116, 1, 116, 1, 116, 1, 117, 1, 117, 1, 117, 1, 117, 1, 118, 1, 118, 1, 118, 1, 118, 1, 119, 1, 119, 1, 119, 1, 119, 1, 120, 1, 120, 1, 120, 1, 120, 1, 121, 1, 121, 1, 121, 1, 121, 1, 122, 1, 122, 1, 122, 1, 122, 1, 123, 1, 123, 1, 123, 1, 123, 3, 123, 1258, 8, 123, 1, 124, 1, 124, 3, 124, 1262, 8, 124, 1, 124, 5, 124, 1265, 8, 124, 10, 124, 12, 124, 1268, 9, 124, 1, 124, 1, 124, 3, 124, 1272, 8, 124, 1, 124, 4, 124, 1275, 8, 124, 11, 124, 12, 124, 1276, 3, 124, 1279, 8, 124, 1, 125, 1, 125, 4, 125, 1283, 8, 125, 11, 125, 12, 125, 1284, 1, 126, 1, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 1, 131, 1, 131, 1, 131, 1, 132, 1, 132, 1, 132, 1, 132, 1, 133, 1, 133, 1, 133, 1, 133, 1, 134, 1, 134, 1, 134, 1, 134, 1, 135, 1, 135, 1, 135, 1, 135, 1, 136, 1, 136, 1, 136, 1, 136, 1, 137, 1, 137, 1, 137, 1, 138, 1, 138, 1, 138, 1, 138, 1, 139, 1, 139, 1, 139, 1, 139, 1, 140, 1, 140, 1, 140, 1, 140, 1, 141, 1, 141, 1, 141, 1, 141, 1, 142, 1, 142, 1, 142, 1, 142, 1, 142, 1, 143, 1, 143, 1, 143, 1, 143, 1, 143, 1, 144, 1, 144, 1, 144, 1, 144, 1, 144, 1, 145, 1, 145, 1, 145, 1, 145, 1, 145, 1, 146, 1, 146, 1, 147, 4, 147, 1374, 8, 147, 11, 147, 12, 147, 1375, 1, 147, 1, 147, 3, 147, 1380, 8, 147, 1, 147, 4, 147, 1383, 8, 147, 11, 147, 12, 147, 1384, 1, 148, 1, 148, 1, 148, 1, 148, 1, 149, 1, 149, 1, 149, 1, 149, 1, 150, 1, 150, 1, 150, 1, 150, 1, 151, 1, 151, 1, 151, 1, 151, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 152, 1, 153, 1, 153, 1, 153, 1, 153, 1, 154, 1, 154, 1, 154, 1, 154, 1, 155, 1, 155, 1, 155, 1, 155, 1, 156, 1, 156, 1, 156, 1, 156, 1, 157, 1, 157, 1, 157, 1, 157, 1, 158, 1, 158, 1, 158, 1, 158, 1, 159, 1, 159, 1, 159, 1, 159, 1, 160, 1, 160, 1, 160, 1, 160, 1, 161, 1, 161, 1, 161, 1, 161, 1, 162, 1, 162, 1, 162, 1, 162, 1, 163, 1, 163, 1, 163, 1, 163, 1, 164, 1, 164, 1, 164, 1, 164, 1, 165, 1, 165, 1, 165, 1, 165, 1, 166, 1, 166, 1, 166, 1, 166, 1, 166, 1, 167, 1, 167, 1, 167, 1, 167, 1, 168, 1, 168, 1, 168, 1, 168, 1, 169, 1, 169, 1, 169, 1, 169, 1, 170, 1, 170, 1, 170, 1, 170, 1, 171, 1, 171, 1, 171, 1, 171, 1, 172, 1, 172, 1, 172, 1, 172, 1, 173, 1, 173, 1, 173, 1, 173, 1, 174, 1, 174, 1, 174, 1, 174, 1, 175, 1, 175, 1, 175, 1, 175, 1, 176, 1, 176, 1, 176, 1, 176, 1, 177, 1, 177, 1, 177, 1, 177, 1, 177, 1, 178, 1, 178, 1, 178, 1, 178, 1, 178, 1, 179, 1, 179, 1, 179, 1, 179, 1, 180, 1, 180, 1, 180, 1, 180, 1, 181, 1, 181, 1, 181, 1, 181, 1, 182, 1, 182, 1, 182, 1, 182, 1, 182, 1, 183, 1, 183, 1, 183, 1, 183, 1, 184, 1, 184, 1, 184, 1, 184, 1, 184, 4, 184, 1542, 8, 184, 11, 184, 12, 184, 1543, 1, 185, 1, 185, 1, 185, 1, 185, 1, 186, 1, 186, 1, 186, 1, 186, 1, 187, 1, 187, 1, 187, 1, 187, 1, 188, 1, 188, 1, 188, 1, 188, 1, 188, 1, 189, 1, 189, 1, 189, 1, 189, 1, 190, 1, 190, 1, 190, 1, 190, 1, 191, 1, 191, 1, 191, 1, 191, 1, 192, 1, 192, 1, 192, 1, 192, 1, 192, 1, 193, 1, 193, 1, 193, 1, 193, 1, 194, 1, 194, 1, 194, 1, 194, 1, 195, 1, 195, 1, 195, 1, 195, 1, 196, 1, 196, 1, 196, 1, 196, 1, 197, 1, 197, 1, 197, 1, 197, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 198, 1, 199, 1, 199, 1, 199, 1, 199, 1, 200, 1, 200, 1, 200, 1, 200, 1, 201, 1, 201, 1, 201, 1, 201, 1, 202, 1, 202, 1, 202, 1, 202, 1, 203, 1, 203, 1, 203, 1, 203, 1, 204, 1, 204, 1, 204, 1, 204, 1, 205, 1, 205, 1, 205, 1, 205, 1, 205, 1, 206, 1, 206, 1, 206, 1, 206, 1, 206, 1, 207, 1, 207, 1, 207, 1, 207, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 208, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 209, 1, 210, 1, 210, 1, 210, 1, 210, 1, 211, 1, 211, 1, 211, 1, 211, 1, 212, 1, 212, 1, 212, 1, 212, 1, 213, 1, 213, 1, 213, 1, 213, 1, 214, 1, 214, 1, 214, 1, 214, 1, 215, 1, 215, 1, 215, 1, 215, 1, 216, 1, 216, 1, 216, 1, 216, 1, 217, 1, 217, 1, 217, 1, 217, 1, 218, 1, 218, 1, 218, 1, 218, 1, 218, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 219, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 220, 1, 221, 1, 221, 1, 221, 1, 221, 1, 222, 1, 222, 1, 222, 1, 222, 1, 223, 1, 223, 1, 223, 1, 223, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 224, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 225, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 226, 1, 227, 1, 227, 1, 227, 1, 227, 1, 228, 1, 228, 1, 228, 1, 228, 1, 229, 1, 229, 1, 229, 1, 229, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 230, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 231, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 232, 1, 233, 1, 233, 1, 233, 1, 233, 1, 233, 1, 234, 1, 234, 1, 234, 1, 234, 1, 234, 1, 235, 1, 235, 1, 235, 1, 235, 1, 236, 1, 236, 1, 236, 1, 236, 1, 237, 1, 237, 1, 237, 1, 237, 1, 238, 1, 238, 1, 238, 1, 238, 1, 239, 1, 239, 1, 239, 1, 239, 1, 240, 1, 240, 1, 240, 1, 240, 1, 241, 1, 241, 1, 241, 1, 241, 1, 242, 1, 242, 1, 242, 1, 242, 1, 243, 1, 243, 1, 243, 1, 243, 2, 775, 844, 0, 244, 17, 1, 19, 2, 21, 3, 23, 4, 25, 5, 27, 6, 29, 7, 31, 8, 33, 9, 35, 10, 37, 11, 39, 12, 41, 13, 43, 14, 45, 15, 47, 16, 49, 17, 51, 18, 53, 19, 55, 20, 57, 21, 59, 22, 61, 23, 63, 24, 65, 25, 67, 26, 69, 27, 71, 28, 73, 29, 75, 30, 77, 31, 79, 0, 81, 0, 83, 0, 85, 0, 87, 0, 89, 0, 91, 0, 93, 0, 95, 0, 97, 0, 99, 32, 101, 33, 103, 34, 105, 35, 107, 36, 109, 37, 111, 38, 113, 39, 115, 40, 117, 41, 119, 42, 121, 43, 123, 44, 125, 45, 127, 46, 129, 47, 131, 48, 133, 49, 135, 50, 137, 51, 139, 52, 141, 53, 143, 54, 145, 55, 147, 56, 149, 57, 151, 58, 153, 59, 155, 60, 157, 61, 159, 62, 161, 63, 163, 64, 165, 65, 167, 66, 169, 67, 171, 68, 173, 69, 175, 70, 177, 71, 179, 72, 181, 73, 183, 74, 185, 75, 187, 0, 189, 76, 191, 77, 193, 78, 195, 79, 197, 80, 199, 0, 201, 81, 203, 82, 205, 83, 207, 84, 209, 0, 211, 0, 213, 85, 215, 86, 217, 87, 219, 0, 221, 0, 223, 0, 225, 0, 227, 0, 229, 0, 231, 0, 233, 88, 235, 0, 237, 89, 239, 0, 241, 0, 243, 90, 245, 91, 247, 92, 249, 0, 251, 0, 253, 0, 255, 0, 257, 0, 259, 0, 261, 0, 263, 0, 265, 0, 267, 93, 269, 94, 271, 95, 273, 96, 275, 0, 277, 0, 279, 0, 281, 0, 283, 0, 285, 0, 287, 0, 289, 0, 291, 97, 293, 0, 295, 98, 297, 99, 299, 100, 301, 0, 303, 0, 305, 0, 307, 0, 309, 0, 311, 101, 313, 0, 315, 102, 317, 103, 319, 104, 321, 0, 323, 0, 325, 0, 327, 0, 329, 0, 331, 0, 333, 0, 335, 0, 337, 0, 339, 0, 341, 0, 343, 105, 345, 106, 347, 107, 349, 0, 351, 0, 353, 0, 355, 0, 357, 0, 359, 0, 361, 0, 363, 0, 365, 108, 367, 109, 369, 110, 371, 0, 373, 111, 375, 112, 377, 113, 379, 114, 381, 0, 383, 0, 385, 115, 387, 116, 389, 117, 391, 118, 393, 0, 395, 0, 397, 0, 399, 0, 401, 0, 403, 0, 405, 0, 407, 119, 409, 120, 411, 121, 413, 0, 415, 0, 417, 0, 419, 0, 421, 122, 423, 123, 425, 124, 427, 0, 429, 125, 431, 0, 433, 0, 435, 126, 437, 0, 439, 0, 441, 0, 443, 0, 445, 0, 447, 127, 449, 128, 451, 129, 453, 0, 455, 0, 457, 0, 459, 130, 461, 131, 463, 132, 465, 0, 467, 0, 469, 0, 471, 133, 473, 134, 475, 135, 477, 0, 479, 0, 481, 0, 483, 0, 485, 0, 487, 0, 489, 0, 491, 0, 493, 0, 495, 0, 497, 0, 499, 136, 501, 137, 503, 138, 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 36, 2, 0, 67, 67, 99, 99, 2, 0, 79, 79, 111, 111, 2, 0, 77, 77, 109, 109, 2, 0, 80, 80, 112, 112, 2, 0, 76, 76, 108, 108, 2, 0, 69, 69, 101, 101, 2, 0, 84, 84, 116, 116, 2, 0, 73, 73, 105, 105, 2, 0, 78, 78, 110, 110, 2, 0, 68, 68, 100, 100, 2, 0, 83, 83, 115, 115, 2, 0, 82, 82, 114, 114, 2, 0, 72, 72, 104, 104, 2, 0, 86, 86, 118, 118, 2, 0, 65, 65, 97, 97, 2, 0, 88, 88, 120, 120, 2, 0, 70, 70, 102, 102, 2, 0, 71, 71, 103, 103, 2, 0, 75, 75, 107, 107, 2, 0, 87, 87, 119, 119, 2, 0, 85, 85, 117, 117, 6, 0, 9, 10, 13, 13, 32, 32, 47, 47, 91, 91, 93, 93, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 1, 0, 48, 57, 2, 0, 65, 90, 97, 122, 8, 0, 34, 34, 78, 78, 82, 82, 84, 84, 92, 92, 110, 110, 114, 114, 116, 116, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 2, 0, 43, 43, 45, 45, 1, 0, 96, 96, 2, 0, 66, 66, 98, 98, 2, 0, 89, 89, 121, 121, 11, 0, 9, 10, 13, 13, 32, 32, 34, 34, 44, 44, 47, 47, 58, 58, 61, 61, 91, 91, 93, 93, 124, 124, 2, 0, 42, 42, 47, 47, 11, 0, 9, 10, 13, 13, 32, 32, 34, 35, 44, 44, 47, 47, 58, 58, 60, 60, 62, 63, 92, 92, 124, 124, 2, 0, 74, 74, 106, 106, 1843, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 1, 77, 1, 0, 0, 0, 1, 99, 1, 0, 0, 0, 1, 101, 1, 0, 0, 0, 1, 103, 1, 0, 0, 0, 1, 105, 1, 0, 0, 0, 1, 107, 1, 0, 0, 0, 1, 109, 1, 0, 0, 0, 1, 111, 1, 0, 0, 0, 1, 113, 1, 0, 0, 0, 1, 115, 1, 0, 0, 0, 1, 117, 1, 0, 0, 0, 1, 119, 1, 0, 0, 0, 1, 121, 1, 0, 0, 0, 1, 123, 1, 0, 0, 0, 1, 125, 1, 0, 0, 0, 1, 127, 1, 0, 0, 0, 1, 129, 1, 0, 0, 0, 1, 131, 1, 0, 0, 0, 1, 133, 1, 0, 0, 0, 1, 135, 1, 0, 0, 0, 1, 137, 1, 0, 0, 0, 1, 139, 1, 0, 0, 0, 1, 141, 1, 0, 0, 0, 1, 143, 1, 0, 0, 0, 1, 145, 1, 0, 0, 0, 1, 147, 1, 0, 0, 0, 1, 149, 1, 0, 0, 0, 1, 151, 1, 0, 0, 0, 1, 153, 1, 0, 0, 0, 1, 155, 1, 0, 0, 0, 1, 157, 1, 0, 0, 0, 1, 159, 1, 0, 0, 0, 1, 161, 1, 0, 0, 0, 1, 163, 1, 0, 0, 0, 1, 165, 1, 0, 0, 0, 1, 167, 1, 0, 0, 0, 1, 169, 1, 0, 0, 0, 1, 171, 1, 0, 0, 0, 1, 173, 1, 0, 0, 0, 1, 175, 1, 0, 0, 0, 1, 177, 1, 0, 0, 0, 1, 179, 1, 0, 0, 0, 1, 181, 1, 0, 0, 0, 1, 183, 1, 0, 0, 0, 1, 185, 1, 0, 0, 0, 1, 187, 1, 0, 0, 0, 1, 189, 1, 0, 0, 0, 1, 191, 1, 0, 0, 0, 1, 193, 1, 0, 0, 0, 1, 195, 1, 0, 0, 0, 1, 197, 1, 0, 0, 0, 1, 201, 1, 0, 0, 0, 1, 203, 1, 0, 0, 0, 1, 205, 1, 0, 0, 0, 1, 207, 1, 0, 0, 0, 2, 209, 1, 0, 0, 0, 2, 211, 1, 0, 0, 0, 2, 213, 1, 0, 0, 0, 2, 215, 1, 0, 0, 0, 2, 217, 1, 0, 0, 0, 3, 219, 1, 0, 0, 0, 3, 221, 1, 0, 0, 0, 3, 223, 1, 0, 0, 0, 3, 225, 1, 0, 0, 0, 3, 227, 1, 0, 0, 0, 3, 229, 1, 0, 0, 0, 3, 231, 1, 0, 0, 0, 3, 233, 1, 0, 0, 0, 3, 237, 1, 0, 0, 0, 3, 239, 1, 0, 0, 0, 3, 241, 1, 0, 0, 0, 3, 243, 1, 0, 0, 0, 3, 245, 1, 0, 0, 0, 3, 247, 1, 0, 0, 0, 4, 249, 1, 0, 0, 0, 4, 251, 1, 0, 0, 0, 4, 253, 1, 0, 0, 0, 4, 255, 1, 0, 0, 0, 4, 257, 1, 0, 0, 0, 4, 259, 1, 0, 0, 0, 4, 261, 1, 0, 0, 0, 4, 267, 1, 0, 0, 0, 4, 269, 1, 0, 0, 0, 4, 271, 1, 0, 0, 0, 4, 273, 1, 0, 0, 0, 5, 275, 1, 0, 0, 0, 5, 277, 1, 0, 0, 0, 5, 279, 1, 0, 0, 0, 5, 281, 1, 0, 0, 0, 5, 283, 1, 0, 0, 0, 5, 285, 1, 0, 0, 0, 5, 287, 1, 0, 0, 0, 5, 289, 1, 0, 0, 0, 5, 291, 1, 0, 0, 0, 5, 293, 1, 0, 0, 0, 5, 295, 1, 0, 0, 0, 5, 297, 1, 0, 0, 0, 5, 299, 1, 0, 0, 0, 6, 301, 1, 0, 0, 0, 6, 303, 1, 0, 0, 0, 6, 305, 1, 0, 0, 0, 6, 307, 1, 0, 0, 0, 6, 311, 1, 0, 0, 0, 6, 313, 1, 0, 0, 0, 6, 315, 1, 0, 0, 0, 6, 317, 1, 0, 0, 0, 6, 319, 1, 0, 0, 0, 7, 321, 1, 0, 0, 0, 7, 323, 1, 0, 0, 0, 7, 325, 1, 0, 0, 0, 7, 327, 1, 0, 0, 0, 7, 329, 1, 0, 0, 0, 7, 331, 1, 0, 0, 0, 7, 333, 1, 0, 0, 0, 7, 335, 1, 0, 0, 0, 7, 337, 1, 0, 0, 0, 7, 339, 1, 0, 0, 0, 7, 341, 1, 0, 0, 0, 7, 343, 1, 0, 0, 0, 7, 345, 1, 0, 0, 0, 7, 347, 1, 0, 0, 0, 8, 349, 1, 0, 0, 0, 8, 351, 1, 0, 0, 0, 8, 353, 1, 0, 0, 0, 8, 355, 1, 0, 0, 0, 8, 357, 1, 0, 0, 0, 8, 359, 1, 0, 0, 0, 8, 361, 1, 0, 0, 0, 8, 363, 1, 0, 0, 0, 8, 365, 1, 0, 0, 0, 8, 367, 1, 0, 0, 0, 8, 369, 1, 0, 0, 0, 9, 371, 1, 0, 0, 0, 9, 373, 1, 0, 0, 0, 9, 375, 1, 0, 0, 0, 9, 377, 1, 0, 0, 0, 9, 379, 1, 0, 0, 0, 10, 381, 1, 0, 0, 0, 10, 383, 1, 0, 0, 0, 10, 385, 1, 0, 0, 0, 10, 387, 1, 0, 0, 0, 10, 389, 1, 0, 0, 0, 10, 391, 1, 0, 0, 0, 11, 393, 1, 0, 0, 0, 11, 395, 1, 0, 0, 0, 11, 397, 1, 0, 0, 0, 11, 399, 1, 0, 0, 0, 11, 401, 1, 0, 0, 0, 11, 403, 1, 0, 0, 0, 11, 405, 1, 0, 0, 0, 11, 407, 1, 0, 0, 0, 11, 409, 1, 0, 0, 0, 11, 411, 1, 0, 0, 0, 12, 413, 1, 0, 0, 0, 12, 415, 1, 0, 0, 0, 12, 417, 1, 0, 0, 0, 12, 419, 1, 0, 0, 0, 12, 421, 1, 0, 0, 0, 12, 423, 1, 0, 0, 0, 12, 425, 1, 0, 0, 0, 13, 427, 1, 0, 0, 0, 13, 429, 1, 0, 0, 0, 13, 431, 1, 0, 0, 0, 13, 433, 1, 0, 0, 0, 13, 435, 1, 0, 0, 0, 13, 437, 1, 0, 0, 0, 13, 439, 1, 0, 0, 0, 13, 441, 1, 0, 0, 0, 13, 443, 1, 0, 0, 0, 13, 445, 1, 0, 0, 0, 13, 447, 1, 0, 0, 0, 13, 449, 1, 0, 0, 0, 13, 451, 1, 0, 0, 0, 14, 453, 1, 0, 0, 0, 14, 455, 1, 0, 0, 0, 14, 457, 1, 0, 0, 0, 14, 459, 1, 0, 0, 0, 14, 461, 1, 0, 0, 0, 14, 463, 1, 0, 0, 0, 15, 465, 1, 0, 0, 0, 15, 467, 1, 0, 0, 0, 15, 469, 1, 0, 0, 0, 15, 471, 1, 0, 0, 0, 15, 473, 1, 0, 0, 0, 15, 475, 1, 0, 0, 0, 15, 477, 1, 0, 0, 0, 15, 479, 1, 0, 0, 0, 15, 481, 1, 0, 0, 0, 15, 483, 1, 0, 0, 0, 16, 485, 1, 0, 0, 0, 16, 487, 1, 0, 0, 0, 16, 489, 1, 0, 0, 0, 16, 491, 1, 0, 0, 0, 16, 493, 1, 0, 0, 0, 16, 495, 1, 0, 0, 0, 16, 497, 1, 0, 0, 0, 16, 499, 1, 0, 0, 0, 16, 501, 1, 0, 0, 0, 16, 503, 1, 0, 0, 0, 17, 505, 1, 0, 0, 0, 19, 518, 1, 0, 0, 0, 21, 528, 1, 0, 0, 0, 23, 535, 1, 0, 0, 0, 25, 544, 1, 0, 0, 0, 27, 551, 1, 0, 0, 0, 29, 561, 1, 0, 0, 0, 31, 568, 1, 0, 0, 0, 33, 575, 1, 0, 0, 0, 35, 582, 1, 0, 0, 0, 37, 590, 1, 0, 0, 0, 39, 602, 1, 0, 0, 0, 41, 611, 1, 0, 0, 0, 43, 617, 1, 0, 0, 0, 45, 624, 1, 0, 0, 0, 47, 631, 1, 0, 0, 0, 49, 639, 1, 0, 0, 0, 51, 647, 1, 0, 0, 0, 53, 656, 1, 0, 0, 0, 55, 671, 1, 0, 0, 0, 57, 686, 1, 0, 0, 0, 59, 698, 1, 0, 0, 0, 61, 709, 1, 0, 0, 0, 63, 719, 1, 0, 0, 0, 65, 727, 1, 0, 0, 0, 67, 735, 1, 0, 0, 0, 69, 745, 1, 0, 0, 0, 71, 751, 1, 0, 0, 0, 73, 768, 1, 0, 0, 0, 75, 784, 1, 0, 0, 0, 77, 790, 1, 0, 0, 0, 79, 794, 1, 0, 0, 0, 81, 796, 1, 0, 0, 0, 83, 798, 1, 0, 0, 0, 85, 801, 1, 0, 0, 0, 87, 803, 1, 0, 0, 0, 89, 812, 1, 0, 0, 0, 91, 814, 1, 0, 0, 0, 93, 819, 1, 0, 0, 0, 95, 821, 1, 0, 0, 0, 97, 826, 1, 0, 0, 0, 99, 857, 1, 0, 0, 0, 101, 860, 1, 0, 0, 0, 103, 906, 1, 0, 0, 0, 105, 908, 1, 0, 0, 0, 107, 912, 1, 0, 0, 0, 109, 916, 1, 0, 0, 0, 111, 918, 1, 0, 0, 0, 113, 921, 1, 0, 0, 0, 115, 924, 1, 0, 0, 0, 117, 926, 1, 0, 0, 0, 119, 928, 1, 0, 0, 0, 121, 933, 1, 0, 0, 0, 123, 935, 1, 0, 0, 0, 125, 941, 1, 0, 0, 0, 127, 947, 1, 0, 0, 0, 129, 950, 1, 0, 0, 0, 131, 953, 1, 0, 0, 0, 133, 958, 1, 0, 0, 0, 135, 963, 1, 0, 0, 0, 137, 965, 1, 0, 0, 0, 139, 969, 1, 0, 0, 0, 141, 974, 1, 0, 0, 0, 143, 980, 1, 0, 0, 0, 145, 983, 1, 0, 0, 0, 147, 986, 1, 0, 0, 0, 149, 988, 1, 0, 0, 0, 151, 994, 1, 0, 0, 0, 153, 996, 1, 0, 0, 0, 155, 1001, 1, 0, 0, 0, 157, 1006, 1, 0, 0, 0, 159, 1009, 1, 0, 0, 0, 161, 1012, 1, 0, 0, 0, 163, 1015, 1, 0, 0, 0, 165, 1017, 1, 0, 0, 0, 167, 1020, 1, 0, 0, 0, 169, 1022, 1, 0, 0, 0, 171, 1025, 1, 0, 0, 0, 173, 1027, 1, 0, 0, 0, 175, 1029, 1, 0, 0, 0, 177, 1031, 1, 0, 0, 0, 179, 1033, 1, 0, 0, 0, 181, 1035, 1, 0, 0, 0, 183, 1037, 1, 0, 0, 0, 185, 1039, 1, 0, 0, 0, 187, 1042, 1, 0, 0, 0, 189, 1063, 1, 0, 0, 0, 191, 1082, 1, 0, 0, 0, 193, 1084, 1, 0, 0, 0, 195, 1089, 1, 0, 0, 0, 197, 1110, 1, 0, 0, 0, 199, 1112, 1, 0, 0, 0, 201, 1120, 1, 0, 0, 0, 203, 1122, 1, 0, 0, 0, 205, 1126, 1, 0, 0, 0, 207, 1130, 1, 0, 0, 0, 209, 1134, 1, 0, 0, 0, 211, 1139, 1, 0, 0, 0, 213, 1144, 1, 0, 0, 0, 215, 1148, 1, 0, 0, 0, 217, 1152, 1, 0, 0, 0, 219, 1156, 1, 0, 0, 0, 221, 1161, 1, 0, 0, 0, 223, 1165, 1, 0, 0, 0, 225, 1169, 1, 0, 0, 0, 227, 1173, 1, 0, 0, 0, 229, 1177, 1, 0, 0, 0, 231, 1181, 1, 0, 0, 0, 233, 1185, 1, 0, 0, 0, 235, 1197, 1, 0, 0, 0, 237, 1200, 1, 0, 0, 0, 239, 1204, 1, 0, 0, 0, 241, 1208, 1, 0, 0, 0, 243, 1212, 1, 0, 0, 0, 245, 1216, 1, 0, 0, 0, 247, 1220, 1, 0, 0, 0, 249, 1224, 1, 0, 0, 0, 251, 1229, 1, 0, 0, 0, 253, 1233, 1, 0, 0, 0, 255, 1237, 1, 0, 0, 0, 257, 1241, 1, 0, 0, 0, 259, 1245, 1, 0, 0, 0, 261, 1249, 1, 0, 0, 0, 263, 1257, 1, 0, 0, 0, 265, 1278, 1, 0, 0, 0, 267, 1282, 1, 0, 0, 0, 269, 1286, 1, 0, 0, 0, 271, 1290, 1, 0, 0, 0, 273, 1294, 1, 0, 0, 0, 275, 1298, 1, 0, 0, 0, 277, 1303, 1, 0, 0, 0, 279, 1307, 1, 0, 0, 0, 281, 1311, 1, 0, 0, 0, 283, 1315, 1, 0, 0, 0, 285, 1319, 1, 0, 0, 0, 287, 1323, 1, 0, 0, 0, 289, 1327, 1, 0, 0, 0, 291, 1331, 1, 0, 0, 0, 293, 1334, 1, 0, 0, 0, 295, 1338, 1, 0, 0, 0, 297, 1342, 1, 0, 0, 0, 299, 1346, 1, 0, 0, 0, 301, 1350, 1, 0, 0, 0, 303, 1355, 1, 0, 0, 0, 305, 1360, 1, 0, 0, 0, 307, 1365, 1, 0, 0, 0, 309, 1370, 1, 0, 0, 0, 311, 1379, 1, 0, 0, 0, 313, 1386, 1, 0, 0, 0, 315, 1390, 1, 0, 0, 0, 317, 1394, 1, 0, 0, 0, 319, 1398, 1, 0, 0, 0, 321, 1402, 1, 0, 0, 0, 323, 1408, 1, 0, 0, 0, 325, 1412, 1, 0, 0, 0, 327, 1416, 1, 0, 0, 0, 329, 1420, 1, 0, 0, 0, 331, 1424, 1, 0, 0, 0, 333, 1428, 1, 0, 0, 0, 335, 1432, 1, 0, 0, 0, 337, 1436, 1, 0, 0, 0, 339, 1440, 1, 0, 0, 0, 341, 1444, 1, 0, 0, 0, 343, 1448, 1, 0, 0, 0, 345, 1452, 1, 0, 0, 0, 347, 1456, 1, 0, 0, 0, 349, 1460, 1, 0, 0, 0, 351, 1465, 1, 0, 0, 0, 353, 1469, 1, 0, 0, 0, 355, 1473, 1, 0, 0, 0, 357, 1477, 1, 0, 0, 0, 359, 1481, 1, 0, 0, 0, 361, 1485, 1, 0, 0, 0, 363, 1489, 1, 0, 0, 0, 365, 1493, 1, 0, 0, 0, 367, 1497, 1, 0, 0, 0, 369, 1501, 1, 0, 0, 0, 371, 1505, 1, 0, 0, 0, 373, 1510, 1, 0, 0, 0, 375, 1515, 1, 0, 0, 0, 377, 1519, 1, 0, 0, 0, 379, 1523, 1, 0, 0, 0, 381, 1527, 1, 0, 0, 0, 383, 1532, 1, 0, 0, 0, 385, 1541, 1, 0, 0, 0, 387, 1545, 1, 0, 0, 0, 389, 1549, 1, 0, 0, 0, 391, 1553, 1, 0, 0, 0, 393, 1557, 1, 0, 0, 0, 395, 1562, 1, 0, 0, 0, 397, 1566, 1, 0, 0, 0, 399, 1570, 1, 0, 0, 0, 401, 1574, 1, 0, 0, 0, 403, 1579, 1, 0, 0, 0, 405, 1583, 1, 0, 0, 0, 407, 1587, 1, 0, 0, 0, 409, 1591, 1, 0, 0, 0, 411, 1595, 1, 0, 0, 0, 413, 1599, 1, 0, 0, 0, 415, 1605, 1, 0, 0, 0, 417, 1609, 1, 0, 0, 0, 419, 1613, 1, 0, 0, 0, 421, 1617, 1, 0, 0, 0, 423, 1621, 1, 0, 0, 0, 425, 1625, 1, 0, 0, 0, 427, 1629, 1, 0, 0, 0, 429, 1634, 1, 0, 0, 0, 431, 1639, 1, 0, 0, 0, 433, 1643, 1, 0, 0, 0, 435, 1649, 1, 0, 0, 0, 437, 1658, 1, 0, 0, 0, 439, 1662, 1, 0, 0, 0, 441, 1666, 1, 0, 0, 0, 443, 1670, 1, 0, 0, 0, 445, 1674, 1, 0, 0, 0, 447, 1678, 1, 0, 0, 0, 449, 1682, 1, 0, 0, 0, 451, 1686, 1, 0, 0, 0, 453, 1690, 1, 0, 0, 0, 455, 1695, 1, 0, 0, 0, 457, 1701, 1, 0, 0, 0, 459, 1707, 1, 0, 0, 0, 461, 1711, 1, 0, 0, 0, 463, 1715, 1, 0, 0, 0, 465, 1719, 1, 0, 0, 0, 467, 1725, 1, 0, 0, 0, 469, 1731, 1, 0, 0, 0, 471, 1737, 1, 0, 0, 0, 473, 1741, 1, 0, 0, 0, 475, 1745, 1, 0, 0, 0, 477, 1749, 1, 0, 0, 0, 479, 1755, 1, 0, 0, 0, 481, 1761, 1, 0, 0, 0, 483, 1767, 1, 0, 0, 0, 485, 1772, 1, 0, 0, 0, 487, 1777, 1, 0, 0, 0, 489, 1781, 1, 0, 0, 0, 491, 1785, 1, 0, 0, 0, 493, 1789, 1, 0, 0, 0, 495, 1793, 1, 0, 0, 0, 497, 1797, 1, 0, 0, 0, 499, 1801, 1, 0, 0, 0, 501, 1805, 1, 0, 0, 0, 503, 1809, 1, 0, 0, 0, 505, 506, 7, 0, 0, 0, 506, 507, 7, 1, 0, 0, 507, 508, 7, 2, 0, 0, 508, 509, 7, 3, 0, 0, 509, 510, 7, 4, 0, 0, 510, 511, 7, 5, 0, 0, 511, 512, 7, 6, 0, 0, 512, 513, 7, 7, 0, 0, 513, 514, 7, 1, 0, 0, 514, 515, 7, 8, 0, 0, 515, 516, 1, 0, 0, 0, 516, 517, 6, 0, 0, 0, 517, 18, 1, 0, 0, 0, 518, 519, 7, 9, 0, 0, 519, 520, 7, 7, 0, 0, 520, 521, 7, 10, 0, 0, 521, 522, 7, 10, 0, 0, 522, 523, 7, 5, 0, 0, 523, 524, 7, 0, 0, 0, 524, 525, 7, 6, 0, 0, 525, 526, 1, 0, 0, 0, 526, 527, 6, 1, 0, 0, 527, 20, 1, 0, 0, 0, 528, 529, 7, 9, 0, 0, 529, 530, 7, 11, 0, 0, 530, 531, 7, 1, 0, 0, 531, 532, 7, 3, 0, 0, 532, 533, 1, 0, 0, 0, 533, 534, 6, 2, 1, 0, 534, 22, 1, 0, 0, 0, 535, 536, 7, 5, 0, 0, 536, 537, 7, 8, 0, 0, 537, 538, 7, 11, 0, 0, 538, 539, 7, 7, 0, 0, 539, 540, 7, 0, 0, 0, 540, 541, 7, 12, 0, 0, 541, 542, 1, 0, 0, 0, 542, 543, 6, 3, 2, 0, 543, 24, 1, 0, 0, 0, 544, 545, 7, 5, 0, 0, 545, 546, 7, 13, 0, 0, 546, 547, 7, 14, 0, 0, 547, 548, 7, 4, 0, 0, 548, 549, 1, 0, 0, 0, 549, 550, 6, 4, 0, 0, 550, 26, 1, 0, 0, 0, 551, 552, 7, 5, 0, 0, 552, 553, 7, 15, 0, 0, 553, 554, 7, 3, 0, 0, 554, 555, 7, 4, 0, 0, 555, 556, 7, 14, 0, 0, 556, 557, 7, 7, 0, 0, 557, 558, 7, 8, 0, 0, 558, 559, 1, 0, 0, 0, 559, 560, 6, 5, 3, 0, 560, 28, 1, 0, 0, 0, 561, 562, 7, 16, 0, 0, 562, 563, 7, 11, 0, 0, 563, 564, 7, 1, 0, 0, 564, 565, 7, 2, 0, 0, 565, 566, 1, 0, 0, 0, 566, 567, 6, 6, 4, 0, 567, 30, 1, 0, 0, 0, 568, 569, 7, 17, 0, 0, 569, 570, 7, 11, 0, 0, 570, 571, 7, 1, 0, 0, 571, 572, 7, 18, 0, 0, 572, 573, 1, 0, 0, 0, 573, 574, 6, 7, 0, 0, 574, 32, 1, 0, 0, 0, 575, 576, 7, 18, 0, 0, 576, 577, 7, 5, 0, 0, 577, 578, 7, 5, 0, 0, 578, 579, 7, 3, 0, 0, 579, 580, 1, 0, 0, 0, 580, 581, 6, 8, 1, 0, 581, 34, 1, 0, 0, 0, 582, 583, 7, 4, 0, 0, 583, 584, 7, 7, 0, 0, 584, 585, 7, 2, 0, 0, 585, 586, 7, 7, 0, 0, 586, 587, 7, 6, 0, 0, 587, 588, 1, 0, 0, 0, 588, 589, 6, 9, 0, 0, 589, 36, 1, 0, 0, 0, 590, 591, 7, 2, 0, 0, 591, 592, 7, 13, 0, 0, 592, 593, 5, 95, 0, 0, 593, 594, 7, 5, 0, 0, 594, 595, 7, 15, 0, 0, 595, 596, 7, 3, 0, 0, 596, 597, 7, 14, 0, 0, 597, 598, 7, 8, 0, 0, 598, 599, 7, 9, 0, 0, 599, 600, 1, 0, 0, 0, 600, 601, 6, 10, 5, 0, 601, 38, 1, 0, 0, 0, 602, 603, 7, 11, 0, 0, 603, 604, 7, 5, 0, 0, 604, 605, 7, 8, 0, 0, 605, 606, 7, 14, 0, 0, 606, 607, 7, 2, 0, 0, 607, 608, 7, 5, 0, 0, 608, 609, 1, 0, 0, 0, 609, 610, 6, 11, 6, 0, 610, 40, 1, 0, 0, 0, 611, 612, 7, 11, 0, 0, 612, 613, 7, 1, 0, 0, 613, 614, 7, 19, 0, 0, 614, 615, 1, 0, 0, 0, 615, 616, 6, 12, 0, 0, 616, 42, 1, 0, 0, 0, 617, 618, 7, 10, 0, 0, 618, 619, 7, 12, 0, 0, 619, 620, 7, 1, 0, 0, 620, 621, 7, 19, 0, 0, 621, 622, 1, 0, 0, 0, 622, 623, 6, 13, 7, 0, 623, 44, 1, 0, 0, 0, 624, 625, 7, 10, 0, 0, 625, 626, 7, 1, 0, 0, 626, 627, 7, 11, 0, 0, 627, 628, 7, 6, 0, 0, 628, 629, 1, 0, 0, 0, 629, 630, 6, 14, 0, 0, 630, 46, 1, 0, 0, 0, 631, 632, 7, 10, 0, 0, 632, 633, 7, 6, 0, 0, 633, 634, 7, 14, 0, 0, 634, 635, 7, 6, 0, 0, 635, 636, 7, 10, 0, 0, 636, 637, 1, 0, 0, 0, 637, 638, 6, 15, 0, 0, 638, 48, 1, 0, 0, 0, 639, 640, 7, 19, 0, 0, 640, 641, 7, 12, 0, 0, 641, 642, 7, 5, 0, 0, 642, 643, 7, 11, 0, 0, 643, 644, 7, 5, 0, 0, 644, 645, 1, 0, 0, 0, 645, 646, 6, 16, 0, 0, 646, 50, 1, 0, 0, 0, 647, 648, 7, 4, 0, 0, 648, 649, 7, 1, 0, 0, 649, 650, 7, 1, 0, 0, 650, 651, 7, 18, 0, 0, 651, 652, 7, 20, 0, 0, 652, 653, 7, 3, 0, 0, 653, 654, 1, 0, 0, 0, 654, 655, 6, 17, 8, 0, 655, 52, 1, 0, 0, 0, 656, 657, 7, 0, 0, 0, 657, 658, 7, 12, 0, 0, 658, 659, 7, 14, 0, 0, 659, 660, 7, 8, 0, 0, 660, 661, 7, 17, 0, 0, 661, 662, 7, 5, 0, 0, 662, 663, 5, 95, 0, 0, 663, 664, 7, 3, 0, 0, 664, 665, 7, 1, 0, 0, 665, 666, 7, 7, 0, 0, 666, 667, 7, 8, 0, 0, 667, 668, 7, 6, 0, 0, 668, 669, 1, 0, 0, 0, 669, 670, 6, 18, 9, 0, 670, 54, 1, 0, 0, 0, 671, 672, 4, 19, 0, 0, 672, 673, 7, 7, 0, 0, 673, 674, 7, 8, 0, 0, 674, 675, 7, 4, 0, 0, 675, 676, 7, 7, 0, 0, 676, 677, 7, 8, 0, 0, 677, 678, 7, 5, 0, 0, 678, 679, 7, 10, 0, 0, 679, 680, 7, 6, 0, 0, 680, 681, 7, 14, 0, 0, 681, 682, 7, 6, 0, 0, 682, 683, 7, 10, 0, 0, 683, 684, 1, 0, 0, 0, 684, 685, 6, 19, 0, 0, 685, 56, 1, 0, 0, 0, 686, 687, 4, 20, 1, 0, 687, 688, 7, 4, 0, 0, 688, 689, 7, 1, 0, 0, 689, 690, 7, 1, 0, 0, 690, 691, 7, 18, 0, 0, 691, 692, 7, 20, 0, 0, 692, 693, 7, 3, 0, 0, 693, 694, 5, 95, 0, 0, 694, 695, 5, 128020, 0, 0, 695, 696, 1, 0, 0, 0, 696, 697, 6, 20, 10, 0, 697, 58, 1, 0, 0, 0, 698, 699, 4, 21, 2, 0, 699, 700, 7, 2, 0, 0, 700, 701, 7, 5, 0, 0, 701, 702, 7, 6, 0, 0, 702, 703, 7, 11, 0, 0, 703, 704, 7, 7, 0, 0, 704, 705, 7, 0, 0, 0, 705, 706, 7, 10, 0, 0, 706, 707, 1, 0, 0, 0, 707, 708, 6, 21, 11, 0, 708, 60, 1, 0, 0, 0, 709, 710, 4, 22, 3, 0, 710, 711, 7, 11, 0, 0, 711, 712, 7, 5, 0, 0, 712, 713, 7, 11, 0, 0, 713, 714, 7, 14, 0, 0, 714, 715, 7, 8, 0, 0, 715, 716, 7, 18, 0, 0, 716, 717, 1, 0, 0, 0, 717, 718, 6, 22, 0, 0, 718, 62, 1, 0, 0, 0, 719, 720, 4, 23, 4, 0, 720, 721, 7, 16, 0, 0, 721, 722, 7, 20, 0, 0, 722, 723, 7, 4, 0, 0, 723, 724, 7, 4, 0, 0, 724, 725, 1, 0, 0, 0, 725, 726, 6, 23, 8, 0, 726, 64, 1, 0, 0, 0, 727, 728, 4, 24, 5, 0, 728, 729, 7, 4, 0, 0, 729, 730, 7, 5, 0, 0, 730, 731, 7, 16, 0, 0, 731, 732, 7, 6, 0, 0, 732, 733, 1, 0, 0, 0, 733, 734, 6, 24, 8, 0, 734, 66, 1, 0, 0, 0, 735, 736, 4, 25, 6, 0, 736, 737, 7, 11, 0, 0, 737, 738, 7, 7, 0, 0, 738, 739, 7, 17, 0, 0, 739, 740, 7, 12, 0, 0, 740, 741, 7, 6, 0, 0, 741, 742, 1, 0, 0, 0, 742, 743, 6, 25, 8, 0, 743, 68, 1, 0, 0, 0, 744, 746, 8, 21, 0, 0, 745, 744, 1, 0, 0, 0, 746, 747, 1, 0, 0, 0, 747, 745, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 749, 1, 0, 0, 0, 749, 750, 6, 26, 0, 0, 750, 70, 1, 0, 0, 0, 751, 752, 5, 47, 0, 0, 752, 753, 5, 47, 0, 0, 753, 757, 1, 0, 0, 0, 754, 756, 8, 22, 0, 0, 755, 754, 1, 0, 0, 0, 756, 759, 1, 0, 0, 0, 757, 755, 1, 0, 0, 0, 757, 758, 1, 0, 0, 0, 758, 761, 1, 0, 0, 0, 759, 757, 1, 0, 0, 0, 760, 762, 5, 13, 0, 0, 761, 760, 1, 0, 0, 0, 761, 762, 1, 0, 0, 0, 762, 764, 1, 0, 0, 0, 763, 765, 5, 10, 0, 0, 764, 763, 1, 0, 0, 0, 764, 765, 1, 0, 0, 0, 765, 766, 1, 0, 0, 0, 766, 767, 6, 27, 12, 0, 767, 72, 1, 0, 0, 0, 768, 769, 5, 47, 0, 0, 769, 770, 5, 42, 0, 0, 770, 775, 1, 0, 0, 0, 771, 774, 3, 73, 28, 0, 772, 774, 9, 0, 0, 0, 773, 771, 1, 0, 0, 0, 773, 772, 1, 0, 0, 0, 774, 777, 1, 0, 0, 0, 775, 776, 1, 0, 0, 0, 775, 773, 1, 0, 0, 0, 776, 778, 1, 0, 0, 0, 777, 775, 1, 0, 0, 0, 778, 779, 5, 42, 0, 0, 779, 780, 5, 47, 0, 0, 780, 781, 1, 0, 0, 0, 781, 782, 6, 28, 12, 0, 782, 74, 1, 0, 0, 0, 783, 785, 7, 23, 0, 0, 784, 783, 1, 0, 0, 0, 785, 786, 1, 0, 0, 0, 786, 784, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 789, 6, 29, 12, 0, 789, 76, 1, 0, 0, 0, 790, 791, 5, 124, 0, 0, 791, 792, 1, 0, 0, 0, 792, 793, 6, 30, 13, 0, 793, 78, 1, 0, 0, 0, 794, 795, 7, 24, 0, 0, 795, 80, 1, 0, 0, 0, 796, 797, 7, 25, 0, 0, 797, 82, 1, 0, 0, 0, 798, 799, 5, 92, 0, 0, 799, 800, 7, 26, 0, 0, 800, 84, 1, 0, 0, 0, 801, 802, 8, 27, 0, 0, 802, 86, 1, 0, 0, 0, 803, 805, 7, 5, 0, 0, 804, 806, 7, 28, 0, 0, 805, 804, 1, 0, 0, 0, 805, 806, 1, 0, 0, 0, 806, 808, 1, 0, 0, 0, 807, 809, 3, 79, 31, 0, 808, 807, 1, 0, 0, 0, 809, 810, 1, 0, 0, 0, 810, 808, 1, 0, 0, 0, 810, 811, 1, 0, 0, 0, 811, 88, 1, 0, 0, 0, 812, 813, 5, 64, 0, 0, 813, 90, 1, 0, 0, 0, 814, 815, 5, 96, 0, 0, 815, 92, 1, 0, 0, 0, 816, 820, 8, 29, 0, 0, 817, 818, 5, 96, 0, 0, 818, 820, 5, 96, 0, 0, 819, 816, 1, 0, 0, 0, 819, 817, 1, 0, 0, 0, 820, 94, 1, 0, 0, 0, 821, 822, 5, 95, 0, 0, 822, 96, 1, 0, 0, 0, 823, 827, 3, 81, 32, 0, 824, 827, 3, 79, 31, 0, 825, 827, 3, 95, 39, 0, 826, 823, 1, 0, 0, 0, 826, 824, 1, 0, 0, 0, 826, 825, 1, 0, 0, 0, 827, 98, 1, 0, 0, 0, 828, 833, 5, 34, 0, 0, 829, 832, 3, 83, 33, 0, 830, 832, 3, 85, 34, 0, 831, 829, 1, 0, 0, 0, 831, 830, 1, 0, 0, 0, 832, 835, 1, 0, 0, 0, 833, 831, 1, 0, 0, 0, 833, 834, 1, 0, 0, 0, 834, 836, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 836, 858, 5, 34, 0, 0, 837, 838, 5, 34, 0, 0, 838, 839, 5, 34, 0, 0, 839, 840, 5, 34, 0, 0, 840, 844, 1, 0, 0, 0, 841, 843, 8, 22, 0, 0, 842, 841, 1, 0, 0, 0, 843, 846, 1, 0, 0, 0, 844, 845, 1, 0, 0, 0, 844, 842, 1, 0, 0, 0, 845, 847, 1, 0, 0, 0, 846, 844, 1, 0, 0, 0, 847, 848, 5, 34, 0, 0, 848, 849, 5, 34, 0, 0, 849, 850, 5, 34, 0, 0, 850, 852, 1, 0, 0, 0, 851, 853, 5, 34, 0, 0, 852, 851, 1, 0, 0, 0, 852, 853, 1, 0, 0, 0, 853, 855, 1, 0, 0, 0, 854, 856, 5, 34, 0, 0, 855, 854, 1, 0, 0, 0, 855, 856, 1, 0, 0, 0, 856, 858, 1, 0, 0, 0, 857, 828, 1, 0, 0, 0, 857, 837, 1, 0, 0, 0, 858, 100, 1, 0, 0, 0, 859, 861, 3, 79, 31, 0, 860, 859, 1, 0, 0, 0, 861, 862, 1, 0, 0, 0, 862, 860, 1, 0, 0, 0, 862, 863, 1, 0, 0, 0, 863, 102, 1, 0, 0, 0, 864, 866, 3, 79, 31, 0, 865, 864, 1, 0, 0, 0, 866, 867, 1, 0, 0, 0, 867, 865, 1, 0, 0, 0, 867, 868, 1, 0, 0, 0, 868, 869, 1, 0, 0, 0, 869, 873, 3, 121, 52, 0, 870, 872, 3, 79, 31, 0, 871, 870, 1, 0, 0, 0, 872, 875, 1, 0, 0, 0, 873, 871, 1, 0, 0, 0, 873, 874, 1, 0, 0, 0, 874, 907, 1, 0, 0, 0, 875, 873, 1, 0, 0, 0, 876, 878, 3, 121, 52, 0, 877, 879, 3, 79, 31, 0, 878, 877, 1, 0, 0, 0, 879, 880, 1, 0, 0, 0, 880, 878, 1, 0, 0, 0, 880, 881, 1, 0, 0, 0, 881, 907, 1, 0, 0, 0, 882, 884, 3, 79, 31, 0, 883, 882, 1, 0, 0, 0, 884, 885, 1, 0, 0, 0, 885, 883, 1, 0, 0, 0, 885, 886, 1, 0, 0, 0, 886, 894, 1, 0, 0, 0, 887, 891, 3, 121, 52, 0, 888, 890, 3, 79, 31, 0, 889, 888, 1, 0, 0, 0, 890, 893, 1, 0, 0, 0, 891, 889, 1, 0, 0, 0, 891, 892, 1, 0, 0, 0, 892, 895, 1, 0, 0, 0, 893, 891, 1, 0, 0, 0, 894, 887, 1, 0, 0, 0, 894, 895, 1, 0, 0, 0, 895, 896, 1, 0, 0, 0, 896, 897, 3, 87, 35, 0, 897, 907, 1, 0, 0, 0, 898, 900, 3, 121, 52, 0, 899, 901, 3, 79, 31, 0, 900, 899, 1, 0, 0, 0, 901, 902, 1, 0, 0, 0, 902, 900, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 904, 1, 0, 0, 0, 904, 905, 3, 87, 35, 0, 905, 907, 1, 0, 0, 0, 906, 865, 1, 0, 0, 0, 906, 876, 1, 0, 0, 0, 906, 883, 1, 0, 0, 0, 906, 898, 1, 0, 0, 0, 907, 104, 1, 0, 0, 0, 908, 909, 7, 14, 0, 0, 909, 910, 7, 8, 0, 0, 910, 911, 7, 9, 0, 0, 911, 106, 1, 0, 0, 0, 912, 913, 7, 14, 0, 0, 913, 914, 7, 10, 0, 0, 914, 915, 7, 0, 0, 0, 915, 108, 1, 0, 0, 0, 916, 917, 5, 61, 0, 0, 917, 110, 1, 0, 0, 0, 918, 919, 7, 30, 0, 0, 919, 920, 7, 31, 0, 0, 920, 112, 1, 0, 0, 0, 921, 922, 5, 58, 0, 0, 922, 923, 5, 58, 0, 0, 923, 114, 1, 0, 0, 0, 924, 925, 5, 58, 0, 0, 925, 116, 1, 0, 0, 0, 926, 927, 5, 44, 0, 0, 927, 118, 1, 0, 0, 0, 928, 929, 7, 9, 0, 0, 929, 930, 7, 5, 0, 0, 930, 931, 7, 10, 0, 0, 931, 932, 7, 0, 0, 0, 932, 120, 1, 0, 0, 0, 933, 934, 5, 46, 0, 0, 934, 122, 1, 0, 0, 0, 935, 936, 7, 16, 0, 0, 936, 937, 7, 14, 0, 0, 937, 938, 7, 4, 0, 0, 938, 939, 7, 10, 0, 0, 939, 940, 7, 5, 0, 0, 940, 124, 1, 0, 0, 0, 941, 942, 7, 16, 0, 0, 942, 943, 7, 7, 0, 0, 943, 944, 7, 11, 0, 0, 944, 945, 7, 10, 0, 0, 945, 946, 7, 6, 0, 0, 946, 126, 1, 0, 0, 0, 947, 948, 7, 7, 0, 0, 948, 949, 7, 8, 0, 0, 949, 128, 1, 0, 0, 0, 950, 951, 7, 7, 0, 0, 951, 952, 7, 10, 0, 0, 952, 130, 1, 0, 0, 0, 953, 954, 7, 4, 0, 0, 954, 955, 7, 14, 0, 0, 955, 956, 7, 10, 0, 0, 956, 957, 7, 6, 0, 0, 957, 132, 1, 0, 0, 0, 958, 959, 7, 4, 0, 0, 959, 960, 7, 7, 0, 0, 960, 961, 7, 18, 0, 0, 961, 962, 7, 5, 0, 0, 962, 134, 1, 0, 0, 0, 963, 964, 5, 40, 0, 0, 964, 136, 1, 0, 0, 0, 965, 966, 7, 8, 0, 0, 966, 967, 7, 1, 0, 0, 967, 968, 7, 6, 0, 0, 968, 138, 1, 0, 0, 0, 969, 970, 7, 8, 0, 0, 970, 971, 7, 20, 0, 0, 971, 972, 7, 4, 0, 0, 972, 973, 7, 4, 0, 0, 973, 140, 1, 0, 0, 0, 974, 975, 7, 8, 0, 0, 975, 976, 7, 20, 0, 0, 976, 977, 7, 4, 0, 0, 977, 978, 7, 4, 0, 0, 978, 979, 7, 10, 0, 0, 979, 142, 1, 0, 0, 0, 980, 981, 7, 1, 0, 0, 981, 982, 7, 8, 0, 0, 982, 144, 1, 0, 0, 0, 983, 984, 7, 1, 0, 0, 984, 985, 7, 11, 0, 0, 985, 146, 1, 0, 0, 0, 986, 987, 5, 63, 0, 0, 987, 148, 1, 0, 0, 0, 988, 989, 7, 11, 0, 0, 989, 990, 7, 4, 0, 0, 990, 991, 7, 7, 0, 0, 991, 992, 7, 18, 0, 0, 992, 993, 7, 5, 0, 0, 993, 150, 1, 0, 0, 0, 994, 995, 5, 41, 0, 0, 995, 152, 1, 0, 0, 0, 996, 997, 7, 6, 0, 0, 997, 998, 7, 11, 0, 0, 998, 999, 7, 20, 0, 0, 999, 1000, 7, 5, 0, 0, 1000, 154, 1, 0, 0, 0, 1001, 1002, 7, 19, 0, 0, 1002, 1003, 7, 7, 0, 0, 1003, 1004, 7, 6, 0, 0, 1004, 1005, 7, 12, 0, 0, 1005, 156, 1, 0, 0, 0, 1006, 1007, 5, 61, 0, 0, 1007, 1008, 5, 61, 0, 0, 1008, 158, 1, 0, 0, 0, 1009, 1010, 5, 61, 0, 0, 1010, 1011, 5, 126, 0, 0, 1011, 160, 1, 0, 0, 0, 1012, 1013, 5, 33, 0, 0, 1013, 1014, 5, 61, 0, 0, 1014, 162, 1, 0, 0, 0, 1015, 1016, 5, 60, 0, 0, 1016, 164, 1, 0, 0, 0, 1017, 1018, 5, 60, 0, 0, 1018, 1019, 5, 61, 0, 0, 1019, 166, 1, 0, 0, 0, 1020, 1021, 5, 62, 0, 0, 1021, 168, 1, 0, 0, 0, 1022, 1023, 5, 62, 0, 0, 1023, 1024, 5, 61, 0, 0, 1024, 170, 1, 0, 0, 0, 1025, 1026, 5, 43, 0, 0, 1026, 172, 1, 0, 0, 0, 1027, 1028, 5, 45, 0, 0, 1028, 174, 1, 0, 0, 0, 1029, 1030, 5, 42, 0, 0, 1030, 176, 1, 0, 0, 0, 1031, 1032, 5, 47, 0, 0, 1032, 178, 1, 0, 0, 0, 1033, 1034, 5, 37, 0, 0, 1034, 180, 1, 0, 0, 0, 1035, 1036, 5, 123, 0, 0, 1036, 182, 1, 0, 0, 0, 1037, 1038, 5, 125, 0, 0, 1038, 184, 1, 0, 0, 0, 1039, 1040, 5, 63, 0, 0, 1040, 1041, 5, 63, 0, 0, 1041, 186, 1, 0, 0, 0, 1042, 1043, 3, 49, 16, 0, 1043, 1044, 1, 0, 0, 0, 1044, 1045, 6, 85, 14, 0, 1045, 188, 1, 0, 0, 0, 1046, 1049, 3, 147, 65, 0, 1047, 1050, 3, 81, 32, 0, 1048, 1050, 3, 95, 39, 0, 1049, 1047, 1, 0, 0, 0, 1049, 1048, 1, 0, 0, 0, 1050, 1054, 1, 0, 0, 0, 1051, 1053, 3, 97, 40, 0, 1052, 1051, 1, 0, 0, 0, 1053, 1056, 1, 0, 0, 0, 1054, 1052, 1, 0, 0, 0, 1054, 1055, 1, 0, 0, 0, 1055, 1064, 1, 0, 0, 0, 1056, 1054, 1, 0, 0, 0, 1057, 1059, 3, 147, 65, 0, 1058, 1060, 3, 79, 31, 0, 1059, 1058, 1, 0, 0, 0, 1060, 1061, 1, 0, 0, 0, 1061, 1059, 1, 0, 0, 0, 1061, 1062, 1, 0, 0, 0, 1062, 1064, 1, 0, 0, 0, 1063, 1046, 1, 0, 0, 0, 1063, 1057, 1, 0, 0, 0, 1064, 190, 1, 0, 0, 0, 1065, 1068, 3, 185, 84, 0, 1066, 1069, 3, 81, 32, 0, 1067, 1069, 3, 95, 39, 0, 1068, 1066, 1, 0, 0, 0, 1068, 1067, 1, 0, 0, 0, 1069, 1073, 1, 0, 0, 0, 1070, 1072, 3, 97, 40, 0, 1071, 1070, 1, 0, 0, 0, 1072, 1075, 1, 0, 0, 0, 1073, 1071, 1, 0, 0, 0, 1073, 1074, 1, 0, 0, 0, 1074, 1083, 1, 0, 0, 0, 1075, 1073, 1, 0, 0, 0, 1076, 1078, 3, 185, 84, 0, 1077, 1079, 3, 79, 31, 0, 1078, 1077, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1078, 1, 0, 0, 0, 1080, 1081, 1, 0, 0, 0, 1081, 1083, 1, 0, 0, 0, 1082, 1065, 1, 0, 0, 0, 1082, 1076, 1, 0, 0, 0, 1083, 192, 1, 0, 0, 0, 1084, 1085, 5, 91, 0, 0, 1085, 1086, 1, 0, 0, 0, 1086, 1087, 6, 88, 0, 0, 1087, 1088, 6, 88, 0, 0, 1088, 194, 1, 0, 0, 0, 1089, 1090, 5, 93, 0, 0, 1090, 1091, 1, 0, 0, 0, 1091, 1092, 6, 89, 13, 0, 1092, 1093, 6, 89, 13, 0, 1093, 196, 1, 0, 0, 0, 1094, 1098, 3, 81, 32, 0, 1095, 1097, 3, 97, 40, 0, 1096, 1095, 1, 0, 0, 0, 1097, 1100, 1, 0, 0, 0, 1098, 1096, 1, 0, 0, 0, 1098, 1099, 1, 0, 0, 0, 1099, 1111, 1, 0, 0, 0, 1100, 1098, 1, 0, 0, 0, 1101, 1104, 3, 95, 39, 0, 1102, 1104, 3, 89, 36, 0, 1103, 1101, 1, 0, 0, 0, 1103, 1102, 1, 0, 0, 0, 1104, 1106, 1, 0, 0, 0, 1105, 1107, 3, 97, 40, 0, 1106, 1105, 1, 0, 0, 0, 1107, 1108, 1, 0, 0, 0, 1108, 1106, 1, 0, 0, 0, 1108, 1109, 1, 0, 0, 0, 1109, 1111, 1, 0, 0, 0, 1110, 1094, 1, 0, 0, 0, 1110, 1103, 1, 0, 0, 0, 1111, 198, 1, 0, 0, 0, 1112, 1114, 3, 91, 37, 0, 1113, 1115, 3, 93, 38, 0, 1114, 1113, 1, 0, 0, 0, 1115, 1116, 1, 0, 0, 0, 1116, 1114, 1, 0, 0, 0, 1116, 1117, 1, 0, 0, 0, 1117, 1118, 1, 0, 0, 0, 1118, 1119, 3, 91, 37, 0, 1119, 200, 1, 0, 0, 0, 1120, 1121, 3, 199, 91, 0, 1121, 202, 1, 0, 0, 0, 1122, 1123, 3, 71, 27, 0, 1123, 1124, 1, 0, 0, 0, 1124, 1125, 6, 93, 12, 0, 1125, 204, 1, 0, 0, 0, 1126, 1127, 3, 73, 28, 0, 1127, 1128, 1, 0, 0, 0, 1128, 1129, 6, 94, 12, 0, 1129, 206, 1, 0, 0, 0, 1130, 1131, 3, 75, 29, 0, 1131, 1132, 1, 0, 0, 0, 1132, 1133, 6, 95, 12, 0, 1133, 208, 1, 0, 0, 0, 1134, 1135, 3, 193, 88, 0, 1135, 1136, 1, 0, 0, 0, 1136, 1137, 6, 96, 15, 0, 1137, 1138, 6, 96, 16, 0, 1138, 210, 1, 0, 0, 0, 1139, 1140, 3, 77, 30, 0, 1140, 1141, 1, 0, 0, 0, 1141, 1142, 6, 97, 17, 0, 1142, 1143, 6, 97, 13, 0, 1143, 212, 1, 0, 0, 0, 1144, 1145, 3, 75, 29, 0, 1145, 1146, 1, 0, 0, 0, 1146, 1147, 6, 98, 12, 0, 1147, 214, 1, 0, 0, 0, 1148, 1149, 3, 71, 27, 0, 1149, 1150, 1, 0, 0, 0, 1150, 1151, 6, 99, 12, 0, 1151, 216, 1, 0, 0, 0, 1152, 1153, 3, 73, 28, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1155, 6, 100, 12, 0, 1155, 218, 1, 0, 0, 0, 1156, 1157, 3, 77, 30, 0, 1157, 1158, 1, 0, 0, 0, 1158, 1159, 6, 101, 17, 0, 1159, 1160, 6, 101, 13, 0, 1160, 220, 1, 0, 0, 0, 1161, 1162, 3, 193, 88, 0, 1162, 1163, 1, 0, 0, 0, 1163, 1164, 6, 102, 15, 0, 1164, 222, 1, 0, 0, 0, 1165, 1166, 3, 195, 89, 0, 1166, 1167, 1, 0, 0, 0, 1167, 1168, 6, 103, 18, 0, 1168, 224, 1, 0, 0, 0, 1169, 1170, 3, 115, 49, 0, 1170, 1171, 1, 0, 0, 0, 1171, 1172, 6, 104, 19, 0, 1172, 226, 1, 0, 0, 0, 1173, 1174, 3, 113, 48, 0, 1174, 1175, 1, 0, 0, 0, 1175, 1176, 6, 105, 20, 0, 1176, 228, 1, 0, 0, 0, 1177, 1178, 3, 117, 50, 0, 1178, 1179, 1, 0, 0, 0, 1179, 1180, 6, 106, 21, 0, 1180, 230, 1, 0, 0, 0, 1181, 1182, 3, 109, 46, 0, 1182, 1183, 1, 0, 0, 0, 1183, 1184, 6, 107, 22, 0, 1184, 232, 1, 0, 0, 0, 1185, 1186, 7, 2, 0, 0, 1186, 1187, 7, 5, 0, 0, 1187, 1188, 7, 6, 0, 0, 1188, 1189, 7, 14, 0, 0, 1189, 1190, 7, 9, 0, 0, 1190, 1191, 7, 14, 0, 0, 1191, 1192, 7, 6, 0, 0, 1192, 1193, 7, 14, 0, 0, 1193, 234, 1, 0, 0, 0, 1194, 1198, 8, 32, 0, 0, 1195, 1196, 5, 47, 0, 0, 1196, 1198, 8, 33, 0, 0, 1197, 1194, 1, 0, 0, 0, 1197, 1195, 1, 0, 0, 0, 1198, 236, 1, 0, 0, 0, 1199, 1201, 3, 235, 109, 0, 1200, 1199, 1, 0, 0, 0, 1201, 1202, 1, 0, 0, 0, 1202, 1200, 1, 0, 0, 0, 1202, 1203, 1, 0, 0, 0, 1203, 238, 1, 0, 0, 0, 1204, 1205, 3, 237, 110, 0, 1205, 1206, 1, 0, 0, 0, 1206, 1207, 6, 111, 23, 0, 1207, 240, 1, 0, 0, 0, 1208, 1209, 3, 99, 41, 0, 1209, 1210, 1, 0, 0, 0, 1210, 1211, 6, 112, 24, 0, 1211, 242, 1, 0, 0, 0, 1212, 1213, 3, 71, 27, 0, 1213, 1214, 1, 0, 0, 0, 1214, 1215, 6, 113, 12, 0, 1215, 244, 1, 0, 0, 0, 1216, 1217, 3, 73, 28, 0, 1217, 1218, 1, 0, 0, 0, 1218, 1219, 6, 114, 12, 0, 1219, 246, 1, 0, 0, 0, 1220, 1221, 3, 75, 29, 0, 1221, 1222, 1, 0, 0, 0, 1222, 1223, 6, 115, 12, 0, 1223, 248, 1, 0, 0, 0, 1224, 1225, 3, 77, 30, 0, 1225, 1226, 1, 0, 0, 0, 1226, 1227, 6, 116, 17, 0, 1227, 1228, 6, 116, 13, 0, 1228, 250, 1, 0, 0, 0, 1229, 1230, 3, 121, 52, 0, 1230, 1231, 1, 0, 0, 0, 1231, 1232, 6, 117, 25, 0, 1232, 252, 1, 0, 0, 0, 1233, 1234, 3, 117, 50, 0, 1234, 1235, 1, 0, 0, 0, 1235, 1236, 6, 118, 21, 0, 1236, 254, 1, 0, 0, 0, 1237, 1238, 3, 147, 65, 0, 1238, 1239, 1, 0, 0, 0, 1239, 1240, 6, 119, 26, 0, 1240, 256, 1, 0, 0, 0, 1241, 1242, 3, 189, 86, 0, 1242, 1243, 1, 0, 0, 0, 1243, 1244, 6, 120, 27, 0, 1244, 258, 1, 0, 0, 0, 1245, 1246, 3, 185, 84, 0, 1246, 1247, 1, 0, 0, 0, 1247, 1248, 6, 121, 28, 0, 1248, 260, 1, 0, 0, 0, 1249, 1250, 3, 191, 87, 0, 1250, 1251, 1, 0, 0, 0, 1251, 1252, 6, 122, 29, 0, 1252, 262, 1, 0, 0, 0, 1253, 1258, 3, 81, 32, 0, 1254, 1258, 3, 79, 31, 0, 1255, 1258, 3, 95, 39, 0, 1256, 1258, 3, 175, 79, 0, 1257, 1253, 1, 0, 0, 0, 1257, 1254, 1, 0, 0, 0, 1257, 1255, 1, 0, 0, 0, 1257, 1256, 1, 0, 0, 0, 1258, 264, 1, 0, 0, 0, 1259, 1262, 3, 81, 32, 0, 1260, 1262, 3, 175, 79, 0, 1261, 1259, 1, 0, 0, 0, 1261, 1260, 1, 0, 0, 0, 1262, 1266, 1, 0, 0, 0, 1263, 1265, 3, 263, 123, 0, 1264, 1263, 1, 0, 0, 0, 1265, 1268, 1, 0, 0, 0, 1266, 1264, 1, 0, 0, 0, 1266, 1267, 1, 0, 0, 0, 1267, 1279, 1, 0, 0, 0, 1268, 1266, 1, 0, 0, 0, 1269, 1272, 3, 95, 39, 0, 1270, 1272, 3, 89, 36, 0, 1271, 1269, 1, 0, 0, 0, 1271, 1270, 1, 0, 0, 0, 1272, 1274, 1, 0, 0, 0, 1273, 1275, 3, 263, 123, 0, 1274, 1273, 1, 0, 0, 0, 1275, 1276, 1, 0, 0, 0, 1276, 1274, 1, 0, 0, 0, 1276, 1277, 1, 0, 0, 0, 1277, 1279, 1, 0, 0, 0, 1278, 1261, 1, 0, 0, 0, 1278, 1271, 1, 0, 0, 0, 1279, 266, 1, 0, 0, 0, 1280, 1283, 3, 265, 124, 0, 1281, 1283, 3, 199, 91, 0, 1282, 1280, 1, 0, 0, 0, 1282, 1281, 1, 0, 0, 0, 1283, 1284, 1, 0, 0, 0, 1284, 1282, 1, 0, 0, 0, 1284, 1285, 1, 0, 0, 0, 1285, 268, 1, 0, 0, 0, 1286, 1287, 3, 71, 27, 0, 1287, 1288, 1, 0, 0, 0, 1288, 1289, 6, 126, 12, 0, 1289, 270, 1, 0, 0, 0, 1290, 1291, 3, 73, 28, 0, 1291, 1292, 1, 0, 0, 0, 1292, 1293, 6, 127, 12, 0, 1293, 272, 1, 0, 0, 0, 1294, 1295, 3, 75, 29, 0, 1295, 1296, 1, 0, 0, 0, 1296, 1297, 6, 128, 12, 0, 1297, 274, 1, 0, 0, 0, 1298, 1299, 3, 77, 30, 0, 1299, 1300, 1, 0, 0, 0, 1300, 1301, 6, 129, 17, 0, 1301, 1302, 6, 129, 13, 0, 1302, 276, 1, 0, 0, 0, 1303, 1304, 3, 109, 46, 0, 1304, 1305, 1, 0, 0, 0, 1305, 1306, 6, 130, 22, 0, 1306, 278, 1, 0, 0, 0, 1307, 1308, 3, 117, 50, 0, 1308, 1309, 1, 0, 0, 0, 1309, 1310, 6, 131, 21, 0, 1310, 280, 1, 0, 0, 0, 1311, 1312, 3, 121, 52, 0, 1312, 1313, 1, 0, 0, 0, 1313, 1314, 6, 132, 25, 0, 1314, 282, 1, 0, 0, 0, 1315, 1316, 3, 147, 65, 0, 1316, 1317, 1, 0, 0, 0, 1317, 1318, 6, 133, 26, 0, 1318, 284, 1, 0, 0, 0, 1319, 1320, 3, 189, 86, 0, 1320, 1321, 1, 0, 0, 0, 1321, 1322, 6, 134, 27, 0, 1322, 286, 1, 0, 0, 0, 1323, 1324, 3, 185, 84, 0, 1324, 1325, 1, 0, 0, 0, 1325, 1326, 6, 135, 28, 0, 1326, 288, 1, 0, 0, 0, 1327, 1328, 3, 191, 87, 0, 1328, 1329, 1, 0, 0, 0, 1329, 1330, 6, 136, 29, 0, 1330, 290, 1, 0, 0, 0, 1331, 1332, 7, 14, 0, 0, 1332, 1333, 7, 10, 0, 0, 1333, 292, 1, 0, 0, 0, 1334, 1335, 3, 267, 125, 0, 1335, 1336, 1, 0, 0, 0, 1336, 1337, 6, 138, 30, 0, 1337, 294, 1, 0, 0, 0, 1338, 1339, 3, 71, 27, 0, 1339, 1340, 1, 0, 0, 0, 1340, 1341, 6, 139, 12, 0, 1341, 296, 1, 0, 0, 0, 1342, 1343, 3, 73, 28, 0, 1343, 1344, 1, 0, 0, 0, 1344, 1345, 6, 140, 12, 0, 1345, 298, 1, 0, 0, 0, 1346, 1347, 3, 75, 29, 0, 1347, 1348, 1, 0, 0, 0, 1348, 1349, 6, 141, 12, 0, 1349, 300, 1, 0, 0, 0, 1350, 1351, 3, 77, 30, 0, 1351, 1352, 1, 0, 0, 0, 1352, 1353, 6, 142, 17, 0, 1353, 1354, 6, 142, 13, 0, 1354, 302, 1, 0, 0, 0, 1355, 1356, 3, 193, 88, 0, 1356, 1357, 1, 0, 0, 0, 1357, 1358, 6, 143, 15, 0, 1358, 1359, 6, 143, 31, 0, 1359, 304, 1, 0, 0, 0, 1360, 1361, 3, 143, 63, 0, 1361, 1362, 1, 0, 0, 0, 1362, 1363, 6, 144, 32, 0, 1363, 1364, 6, 144, 33, 0, 1364, 306, 1, 0, 0, 0, 1365, 1366, 3, 155, 69, 0, 1366, 1367, 1, 0, 0, 0, 1367, 1368, 6, 145, 34, 0, 1368, 1369, 6, 145, 33, 0, 1369, 308, 1, 0, 0, 0, 1370, 1371, 8, 34, 0, 0, 1371, 310, 1, 0, 0, 0, 1372, 1374, 3, 309, 146, 0, 1373, 1372, 1, 0, 0, 0, 1374, 1375, 1, 0, 0, 0, 1375, 1373, 1, 0, 0, 0, 1375, 1376, 1, 0, 0, 0, 1376, 1377, 1, 0, 0, 0, 1377, 1378, 3, 115, 49, 0, 1378, 1380, 1, 0, 0, 0, 1379, 1373, 1, 0, 0, 0, 1379, 1380, 1, 0, 0, 0, 1380, 1382, 1, 0, 0, 0, 1381, 1383, 3, 309, 146, 0, 1382, 1381, 1, 0, 0, 0, 1383, 1384, 1, 0, 0, 0, 1384, 1382, 1, 0, 0, 0, 1384, 1385, 1, 0, 0, 0, 1385, 312, 1, 0, 0, 0, 1386, 1387, 3, 311, 147, 0, 1387, 1388, 1, 0, 0, 0, 1388, 1389, 6, 148, 35, 0, 1389, 314, 1, 0, 0, 0, 1390, 1391, 3, 71, 27, 0, 1391, 1392, 1, 0, 0, 0, 1392, 1393, 6, 149, 12, 0, 1393, 316, 1, 0, 0, 0, 1394, 1395, 3, 73, 28, 0, 1395, 1396, 1, 0, 0, 0, 1396, 1397, 6, 150, 12, 0, 1397, 318, 1, 0, 0, 0, 1398, 1399, 3, 75, 29, 0, 1399, 1400, 1, 0, 0, 0, 1400, 1401, 6, 151, 12, 0, 1401, 320, 1, 0, 0, 0, 1402, 1403, 3, 77, 30, 0, 1403, 1404, 1, 0, 0, 0, 1404, 1405, 6, 152, 17, 0, 1405, 1406, 6, 152, 13, 0, 1406, 1407, 6, 152, 13, 0, 1407, 322, 1, 0, 0, 0, 1408, 1409, 3, 109, 46, 0, 1409, 1410, 1, 0, 0, 0, 1410, 1411, 6, 153, 22, 0, 1411, 324, 1, 0, 0, 0, 1412, 1413, 3, 117, 50, 0, 1413, 1414, 1, 0, 0, 0, 1414, 1415, 6, 154, 21, 0, 1415, 326, 1, 0, 0, 0, 1416, 1417, 3, 121, 52, 0, 1417, 1418, 1, 0, 0, 0, 1418, 1419, 6, 155, 25, 0, 1419, 328, 1, 0, 0, 0, 1420, 1421, 3, 155, 69, 0, 1421, 1422, 1, 0, 0, 0, 1422, 1423, 6, 156, 34, 0, 1423, 330, 1, 0, 0, 0, 1424, 1425, 3, 267, 125, 0, 1425, 1426, 1, 0, 0, 0, 1426, 1427, 6, 157, 30, 0, 1427, 332, 1, 0, 0, 0, 1428, 1429, 3, 201, 92, 0, 1429, 1430, 1, 0, 0, 0, 1430, 1431, 6, 158, 36, 0, 1431, 334, 1, 0, 0, 0, 1432, 1433, 3, 147, 65, 0, 1433, 1434, 1, 0, 0, 0, 1434, 1435, 6, 159, 26, 0, 1435, 336, 1, 0, 0, 0, 1436, 1437, 3, 189, 86, 0, 1437, 1438, 1, 0, 0, 0, 1438, 1439, 6, 160, 27, 0, 1439, 338, 1, 0, 0, 0, 1440, 1441, 3, 185, 84, 0, 1441, 1442, 1, 0, 0, 0, 1442, 1443, 6, 161, 28, 0, 1443, 340, 1, 0, 0, 0, 1444, 1445, 3, 191, 87, 0, 1445, 1446, 1, 0, 0, 0, 1446, 1447, 6, 162, 29, 0, 1447, 342, 1, 0, 0, 0, 1448, 1449, 3, 71, 27, 0, 1449, 1450, 1, 0, 0, 0, 1450, 1451, 6, 163, 12, 0, 1451, 344, 1, 0, 0, 0, 1452, 1453, 3, 73, 28, 0, 1453, 1454, 1, 0, 0, 0, 1454, 1455, 6, 164, 12, 0, 1455, 346, 1, 0, 0, 0, 1456, 1457, 3, 75, 29, 0, 1457, 1458, 1, 0, 0, 0, 1458, 1459, 6, 165, 12, 0, 1459, 348, 1, 0, 0, 0, 1460, 1461, 3, 77, 30, 0, 1461, 1462, 1, 0, 0, 0, 1462, 1463, 6, 166, 17, 0, 1463, 1464, 6, 166, 13, 0, 1464, 350, 1, 0, 0, 0, 1465, 1466, 3, 121, 52, 0, 1466, 1467, 1, 0, 0, 0, 1467, 1468, 6, 167, 25, 0, 1468, 352, 1, 0, 0, 0, 1469, 1470, 3, 147, 65, 0, 1470, 1471, 1, 0, 0, 0, 1471, 1472, 6, 168, 26, 0, 1472, 354, 1, 0, 0, 0, 1473, 1474, 3, 189, 86, 0, 1474, 1475, 1, 0, 0, 0, 1475, 1476, 6, 169, 27, 0, 1476, 356, 1, 0, 0, 0, 1477, 1478, 3, 185, 84, 0, 1478, 1479, 1, 0, 0, 0, 1479, 1480, 6, 170, 28, 0, 1480, 358, 1, 0, 0, 0, 1481, 1482, 3, 191, 87, 0, 1482, 1483, 1, 0, 0, 0, 1483, 1484, 6, 171, 29, 0, 1484, 360, 1, 0, 0, 0, 1485, 1486, 3, 201, 92, 0, 1486, 1487, 1, 0, 0, 0, 1487, 1488, 6, 172, 36, 0, 1488, 362, 1, 0, 0, 0, 1489, 1490, 3, 197, 90, 0, 1490, 1491, 1, 0, 0, 0, 1491, 1492, 6, 173, 37, 0, 1492, 364, 1, 0, 0, 0, 1493, 1494, 3, 71, 27, 0, 1494, 1495, 1, 0, 0, 0, 1495, 1496, 6, 174, 12, 0, 1496, 366, 1, 0, 0, 0, 1497, 1498, 3, 73, 28, 0, 1498, 1499, 1, 0, 0, 0, 1499, 1500, 6, 175, 12, 0, 1500, 368, 1, 0, 0, 0, 1501, 1502, 3, 75, 29, 0, 1502, 1503, 1, 0, 0, 0, 1503, 1504, 6, 176, 12, 0, 1504, 370, 1, 0, 0, 0, 1505, 1506, 3, 77, 30, 0, 1506, 1507, 1, 0, 0, 0, 1507, 1508, 6, 177, 17, 0, 1508, 1509, 6, 177, 13, 0, 1509, 372, 1, 0, 0, 0, 1510, 1511, 7, 7, 0, 0, 1511, 1512, 7, 8, 0, 0, 1512, 1513, 7, 16, 0, 0, 1513, 1514, 7, 1, 0, 0, 1514, 374, 1, 0, 0, 0, 1515, 1516, 3, 71, 27, 0, 1516, 1517, 1, 0, 0, 0, 1517, 1518, 6, 179, 12, 0, 1518, 376, 1, 0, 0, 0, 1519, 1520, 3, 73, 28, 0, 1520, 1521, 1, 0, 0, 0, 1521, 1522, 6, 180, 12, 0, 1522, 378, 1, 0, 0, 0, 1523, 1524, 3, 75, 29, 0, 1524, 1525, 1, 0, 0, 0, 1525, 1526, 6, 181, 12, 0, 1526, 380, 1, 0, 0, 0, 1527, 1528, 3, 195, 89, 0, 1528, 1529, 1, 0, 0, 0, 1529, 1530, 6, 182, 18, 0, 1530, 1531, 6, 182, 13, 0, 1531, 382, 1, 0, 0, 0, 1532, 1533, 3, 115, 49, 0, 1533, 1534, 1, 0, 0, 0, 1534, 1535, 6, 183, 19, 0, 1535, 384, 1, 0, 0, 0, 1536, 1542, 3, 89, 36, 0, 1537, 1542, 3, 79, 31, 0, 1538, 1542, 3, 121, 52, 0, 1539, 1542, 3, 81, 32, 0, 1540, 1542, 3, 95, 39, 0, 1541, 1536, 1, 0, 0, 0, 1541, 1537, 1, 0, 0, 0, 1541, 1538, 1, 0, 0, 0, 1541, 1539, 1, 0, 0, 0, 1541, 1540, 1, 0, 0, 0, 1542, 1543, 1, 0, 0, 0, 1543, 1541, 1, 0, 0, 0, 1543, 1544, 1, 0, 0, 0, 1544, 386, 1, 0, 0, 0, 1545, 1546, 3, 71, 27, 0, 1546, 1547, 1, 0, 0, 0, 1547, 1548, 6, 185, 12, 0, 1548, 388, 1, 0, 0, 0, 1549, 1550, 3, 73, 28, 0, 1550, 1551, 1, 0, 0, 0, 1551, 1552, 6, 186, 12, 0, 1552, 390, 1, 0, 0, 0, 1553, 1554, 3, 75, 29, 0, 1554, 1555, 1, 0, 0, 0, 1555, 1556, 6, 187, 12, 0, 1556, 392, 1, 0, 0, 0, 1557, 1558, 3, 77, 30, 0, 1558, 1559, 1, 0, 0, 0, 1559, 1560, 6, 188, 17, 0, 1560, 1561, 6, 188, 13, 0, 1561, 394, 1, 0, 0, 0, 1562, 1563, 3, 115, 49, 0, 1563, 1564, 1, 0, 0, 0, 1564, 1565, 6, 189, 19, 0, 1565, 396, 1, 0, 0, 0, 1566, 1567, 3, 117, 50, 0, 1567, 1568, 1, 0, 0, 0, 1568, 1569, 6, 190, 21, 0, 1569, 398, 1, 0, 0, 0, 1570, 1571, 3, 121, 52, 0, 1571, 1572, 1, 0, 0, 0, 1572, 1573, 6, 191, 25, 0, 1573, 400, 1, 0, 0, 0, 1574, 1575, 3, 143, 63, 0, 1575, 1576, 1, 0, 0, 0, 1576, 1577, 6, 192, 32, 0, 1577, 1578, 6, 192, 38, 0, 1578, 402, 1, 0, 0, 0, 1579, 1580, 3, 237, 110, 0, 1580, 1581, 1, 0, 0, 0, 1581, 1582, 6, 193, 23, 0, 1582, 404, 1, 0, 0, 0, 1583, 1584, 3, 99, 41, 0, 1584, 1585, 1, 0, 0, 0, 1585, 1586, 6, 194, 24, 0, 1586, 406, 1, 0, 0, 0, 1587, 1588, 3, 71, 27, 0, 1588, 1589, 1, 0, 0, 0, 1589, 1590, 6, 195, 12, 0, 1590, 408, 1, 0, 0, 0, 1591, 1592, 3, 73, 28, 0, 1592, 1593, 1, 0, 0, 0, 1593, 1594, 6, 196, 12, 0, 1594, 410, 1, 0, 0, 0, 1595, 1596, 3, 75, 29, 0, 1596, 1597, 1, 0, 0, 0, 1597, 1598, 6, 197, 12, 0, 1598, 412, 1, 0, 0, 0, 1599, 1600, 3, 77, 30, 0, 1600, 1601, 1, 0, 0, 0, 1601, 1602, 6, 198, 17, 0, 1602, 1603, 6, 198, 13, 0, 1603, 1604, 6, 198, 13, 0, 1604, 414, 1, 0, 0, 0, 1605, 1606, 3, 117, 50, 0, 1606, 1607, 1, 0, 0, 0, 1607, 1608, 6, 199, 21, 0, 1608, 416, 1, 0, 0, 0, 1609, 1610, 3, 121, 52, 0, 1610, 1611, 1, 0, 0, 0, 1611, 1612, 6, 200, 25, 0, 1612, 418, 1, 0, 0, 0, 1613, 1614, 3, 267, 125, 0, 1614, 1615, 1, 0, 0, 0, 1615, 1616, 6, 201, 30, 0, 1616, 420, 1, 0, 0, 0, 1617, 1618, 3, 71, 27, 0, 1618, 1619, 1, 0, 0, 0, 1619, 1620, 6, 202, 12, 0, 1620, 422, 1, 0, 0, 0, 1621, 1622, 3, 73, 28, 0, 1622, 1623, 1, 0, 0, 0, 1623, 1624, 6, 203, 12, 0, 1624, 424, 1, 0, 0, 0, 1625, 1626, 3, 75, 29, 0, 1626, 1627, 1, 0, 0, 0, 1627, 1628, 6, 204, 12, 0, 1628, 426, 1, 0, 0, 0, 1629, 1630, 3, 77, 30, 0, 1630, 1631, 1, 0, 0, 0, 1631, 1632, 6, 205, 17, 0, 1632, 1633, 6, 205, 13, 0, 1633, 428, 1, 0, 0, 0, 1634, 1635, 7, 35, 0, 0, 1635, 1636, 7, 1, 0, 0, 1636, 1637, 7, 7, 0, 0, 1637, 1638, 7, 8, 0, 0, 1638, 430, 1, 0, 0, 0, 1639, 1640, 3, 291, 137, 0, 1640, 1641, 1, 0, 0, 0, 1641, 1642, 6, 207, 39, 0, 1642, 432, 1, 0, 0, 0, 1643, 1644, 3, 143, 63, 0, 1644, 1645, 1, 0, 0, 0, 1645, 1646, 6, 208, 32, 0, 1646, 1647, 6, 208, 13, 0, 1647, 1648, 6, 208, 0, 0, 1648, 434, 1, 0, 0, 0, 1649, 1650, 7, 20, 0, 0, 1650, 1651, 7, 10, 0, 0, 1651, 1652, 7, 7, 0, 0, 1652, 1653, 7, 8, 0, 0, 1653, 1654, 7, 17, 0, 0, 1654, 1655, 1, 0, 0, 0, 1655, 1656, 6, 209, 13, 0, 1656, 1657, 6, 209, 0, 0, 1657, 436, 1, 0, 0, 0, 1658, 1659, 3, 237, 110, 0, 1659, 1660, 1, 0, 0, 0, 1660, 1661, 6, 210, 23, 0, 1661, 438, 1, 0, 0, 0, 1662, 1663, 3, 99, 41, 0, 1663, 1664, 1, 0, 0, 0, 1664, 1665, 6, 211, 24, 0, 1665, 440, 1, 0, 0, 0, 1666, 1667, 3, 115, 49, 0, 1667, 1668, 1, 0, 0, 0, 1668, 1669, 6, 212, 19, 0, 1669, 442, 1, 0, 0, 0, 1670, 1671, 3, 197, 90, 0, 1671, 1672, 1, 0, 0, 0, 1672, 1673, 6, 213, 37, 0, 1673, 444, 1, 0, 0, 0, 1674, 1675, 3, 201, 92, 0, 1675, 1676, 1, 0, 0, 0, 1676, 1677, 6, 214, 36, 0, 1677, 446, 1, 0, 0, 0, 1678, 1679, 3, 71, 27, 0, 1679, 1680, 1, 0, 0, 0, 1680, 1681, 6, 215, 12, 0, 1681, 448, 1, 0, 0, 0, 1682, 1683, 3, 73, 28, 0, 1683, 1684, 1, 0, 0, 0, 1684, 1685, 6, 216, 12, 0, 1685, 450, 1, 0, 0, 0, 1686, 1687, 3, 75, 29, 0, 1687, 1688, 1, 0, 0, 0, 1688, 1689, 6, 217, 12, 0, 1689, 452, 1, 0, 0, 0, 1690, 1691, 3, 77, 30, 0, 1691, 1692, 1, 0, 0, 0, 1692, 1693, 6, 218, 17, 0, 1693, 1694, 6, 218, 13, 0, 1694, 454, 1, 0, 0, 0, 1695, 1696, 3, 237, 110, 0, 1696, 1697, 1, 0, 0, 0, 1697, 1698, 6, 219, 23, 0, 1698, 1699, 6, 219, 13, 0, 1699, 1700, 6, 219, 40, 0, 1700, 456, 1, 0, 0, 0, 1701, 1702, 3, 99, 41, 0, 1702, 1703, 1, 0, 0, 0, 1703, 1704, 6, 220, 24, 0, 1704, 1705, 6, 220, 13, 0, 1705, 1706, 6, 220, 40, 0, 1706, 458, 1, 0, 0, 0, 1707, 1708, 3, 71, 27, 0, 1708, 1709, 1, 0, 0, 0, 1709, 1710, 6, 221, 12, 0, 1710, 460, 1, 0, 0, 0, 1711, 1712, 3, 73, 28, 0, 1712, 1713, 1, 0, 0, 0, 1713, 1714, 6, 222, 12, 0, 1714, 462, 1, 0, 0, 0, 1715, 1716, 3, 75, 29, 0, 1716, 1717, 1, 0, 0, 0, 1717, 1718, 6, 223, 12, 0, 1718, 464, 1, 0, 0, 0, 1719, 1720, 3, 115, 49, 0, 1720, 1721, 1, 0, 0, 0, 1721, 1722, 6, 224, 19, 0, 1722, 1723, 6, 224, 13, 0, 1723, 1724, 6, 224, 11, 0, 1724, 466, 1, 0, 0, 0, 1725, 1726, 3, 113, 48, 0, 1726, 1727, 1, 0, 0, 0, 1727, 1728, 6, 225, 20, 0, 1728, 1729, 6, 225, 13, 0, 1729, 1730, 6, 225, 11, 0, 1730, 468, 1, 0, 0, 0, 1731, 1732, 3, 117, 50, 0, 1732, 1733, 1, 0, 0, 0, 1733, 1734, 6, 226, 21, 0, 1734, 1735, 6, 226, 13, 0, 1735, 1736, 6, 226, 11, 0, 1736, 470, 1, 0, 0, 0, 1737, 1738, 3, 71, 27, 0, 1738, 1739, 1, 0, 0, 0, 1739, 1740, 6, 227, 12, 0, 1740, 472, 1, 0, 0, 0, 1741, 1742, 3, 73, 28, 0, 1742, 1743, 1, 0, 0, 0, 1743, 1744, 6, 228, 12, 0, 1744, 474, 1, 0, 0, 0, 1745, 1746, 3, 75, 29, 0, 1746, 1747, 1, 0, 0, 0, 1747, 1748, 6, 229, 12, 0, 1748, 476, 1, 0, 0, 0, 1749, 1750, 3, 201, 92, 0, 1750, 1751, 1, 0, 0, 0, 1751, 1752, 6, 230, 13, 0, 1752, 1753, 6, 230, 0, 0, 1753, 1754, 6, 230, 36, 0, 1754, 478, 1, 0, 0, 0, 1755, 1756, 3, 197, 90, 0, 1756, 1757, 1, 0, 0, 0, 1757, 1758, 6, 231, 13, 0, 1758, 1759, 6, 231, 0, 0, 1759, 1760, 6, 231, 37, 0, 1760, 480, 1, 0, 0, 0, 1761, 1762, 3, 111, 47, 0, 1762, 1763, 1, 0, 0, 0, 1763, 1764, 6, 232, 13, 0, 1764, 1765, 6, 232, 0, 0, 1765, 1766, 6, 232, 41, 0, 1766, 482, 1, 0, 0, 0, 1767, 1768, 3, 77, 30, 0, 1768, 1769, 1, 0, 0, 0, 1769, 1770, 6, 233, 17, 0, 1770, 1771, 6, 233, 13, 0, 1771, 484, 1, 0, 0, 0, 1772, 1773, 3, 77, 30, 0, 1773, 1774, 1, 0, 0, 0, 1774, 1775, 6, 234, 17, 0, 1775, 1776, 6, 234, 13, 0, 1776, 486, 1, 0, 0, 0, 1777, 1778, 3, 143, 63, 0, 1778, 1779, 1, 0, 0, 0, 1779, 1780, 6, 235, 32, 0, 1780, 488, 1, 0, 0, 0, 1781, 1782, 3, 291, 137, 0, 1782, 1783, 1, 0, 0, 0, 1783, 1784, 6, 236, 39, 0, 1784, 490, 1, 0, 0, 0, 1785, 1786, 3, 121, 52, 0, 1786, 1787, 1, 0, 0, 0, 1787, 1788, 6, 237, 25, 0, 1788, 492, 1, 0, 0, 0, 1789, 1790, 3, 117, 50, 0, 1790, 1791, 1, 0, 0, 0, 1791, 1792, 6, 238, 21, 0, 1792, 494, 1, 0, 0, 0, 1793, 1794, 3, 201, 92, 0, 1794, 1795, 1, 0, 0, 0, 1795, 1796, 6, 239, 36, 0, 1796, 496, 1, 0, 0, 0, 1797, 1798, 3, 197, 90, 0, 1798, 1799, 1, 0, 0, 0, 1799, 1800, 6, 240, 37, 0, 1800, 498, 1, 0, 0, 0, 1801, 1802, 3, 71, 27, 0, 1802, 1803, 1, 0, 0, 0, 1803, 1804, 6, 241, 12, 0, 1804, 500, 1, 0, 0, 0, 1805, 1806, 3, 73, 28, 0, 1806, 1807, 1, 0, 0, 0, 1807, 1808, 6, 242, 12, 0, 1808, 502, 1, 0, 0, 0, 1809, 1810, 3, 75, 29, 0, 1810, 1811, 1, 0, 0, 0, 1811, 1812, 6, 243, 12, 0, 1812, 504, 1, 0, 0, 0, 71, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 747, 757, 761, 764, 773, 775, 786, 805, 810, 819, 826, 831, 833, 844, 852, 855, 857, 862, 867, 873, 880, 885, 891, 894, 902, 906, 1049, 1054, 1061, 1063, 1068, 1073, 1080, 1082, 1098, 1103, 1108, 1110, 1116, 1197, 1202, 1257, 1261, 1266, 1271, 1276, 1278, 1282, 1284, 1375, 1379, 1384, 1541, 1543, 42, 5, 1, 0, 5, 4, 0, 5, 6, 0, 5, 2, 0, 5, 3, 0, 5, 8, 0, 5, 5, 0, 5, 9, 0, 5, 13, 0, 5, 16, 0, 5, 11, 0, 5, 14, 0, 0, 1, 0, 4, 0, 0, 7, 17, 0, 7, 78, 0, 5, 0, 0, 7, 31, 0, 7, 79, 0, 7, 40, 0, 7, 39, 0, 7, 41, 0, 7, 37, 0, 7, 89, 0, 7, 32, 0, 7, 43, 0, 7, 56, 0, 7, 76, 0, 7, 75, 0, 7, 77, 0, 7, 93, 0, 5, 10, 0, 7, 54, 0, 5, 7, 0, 7, 60, 0, 7, 101, 0, 7, 81, 0, 7, 80, 0, 5, 12, 0, 7, 97, 0, 5, 15, 0, 7, 38, 0] \ No newline at end of file diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java index 53764ba53bc76..32d842d92337e 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseLexer.java @@ -25,35 +25,35 @@ public class EsqlBaseLexer extends LexerConfig { protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache(); public static final int - DISSECT=1, DROP=2, ENRICH=3, EVAL=4, EXPLAIN=5, FROM=6, GROK=7, KEEP=8, - LIMIT=9, MV_EXPAND=10, RENAME=11, ROW=12, SHOW=13, SORT=14, STATS=15, - WHERE=16, JOIN_LOOKUP=17, CHANGE_POINT=18, DEV_INLINESTATS=19, DEV_LOOKUP=20, - DEV_METRICS=21, DEV_JOIN_FULL=22, DEV_JOIN_LEFT=23, DEV_JOIN_RIGHT=24, - UNKNOWN_CMD=25, LINE_COMMENT=26, MULTILINE_COMMENT=27, WS=28, PIPE=29, - QUOTED_STRING=30, INTEGER_LITERAL=31, DECIMAL_LITERAL=32, BY=33, AND=34, - ASC=35, ASSIGN=36, CAST_OP=37, COLON=38, COMMA=39, DESC=40, DOT=41, FALSE=42, - FIRST=43, IN=44, IS=45, LAST=46, LIKE=47, LP=48, NOT=49, NULL=50, NULLS=51, - OR=52, PARAM=53, RLIKE=54, RP=55, TRUE=56, EQ=57, CIEQ=58, NEQ=59, LT=60, - LTE=61, GT=62, GTE=63, PLUS=64, MINUS=65, ASTERISK=66, SLASH=67, PERCENT=68, - LEFT_BRACES=69, RIGHT_BRACES=70, DOUBLE_PARAMS=71, NAMED_OR_POSITIONAL_PARAM=72, - NAMED_OR_POSITIONAL_DOUBLE_PARAMS=73, OPENING_BRACKET=74, CLOSING_BRACKET=75, - UNQUOTED_IDENTIFIER=76, QUOTED_IDENTIFIER=77, EXPR_LINE_COMMENT=78, EXPR_MULTILINE_COMMENT=79, - EXPR_WS=80, EXPLAIN_WS=81, EXPLAIN_LINE_COMMENT=82, EXPLAIN_MULTILINE_COMMENT=83, - METADATA=84, UNQUOTED_SOURCE=85, FROM_LINE_COMMENT=86, FROM_MULTILINE_COMMENT=87, - FROM_WS=88, ID_PATTERN=89, PROJECT_LINE_COMMENT=90, PROJECT_MULTILINE_COMMENT=91, - PROJECT_WS=92, AS=93, RENAME_LINE_COMMENT=94, RENAME_MULTILINE_COMMENT=95, - RENAME_WS=96, ON=97, WITH=98, ENRICH_POLICY_NAME=99, ENRICH_LINE_COMMENT=100, - ENRICH_MULTILINE_COMMENT=101, ENRICH_WS=102, ENRICH_FIELD_LINE_COMMENT=103, - ENRICH_FIELD_MULTILINE_COMMENT=104, ENRICH_FIELD_WS=105, MVEXPAND_LINE_COMMENT=106, - MVEXPAND_MULTILINE_COMMENT=107, MVEXPAND_WS=108, INFO=109, SHOW_LINE_COMMENT=110, - SHOW_MULTILINE_COMMENT=111, SHOW_WS=112, SETTING=113, SETTING_LINE_COMMENT=114, - SETTTING_MULTILINE_COMMENT=115, SETTING_WS=116, LOOKUP_LINE_COMMENT=117, - LOOKUP_MULTILINE_COMMENT=118, LOOKUP_WS=119, LOOKUP_FIELD_LINE_COMMENT=120, - LOOKUP_FIELD_MULTILINE_COMMENT=121, LOOKUP_FIELD_WS=122, JOIN=123, USING=124, - JOIN_LINE_COMMENT=125, JOIN_MULTILINE_COMMENT=126, JOIN_WS=127, METRICS_LINE_COMMENT=128, - METRICS_MULTILINE_COMMENT=129, METRICS_WS=130, CLOSING_METRICS_LINE_COMMENT=131, - CLOSING_METRICS_MULTILINE_COMMENT=132, CLOSING_METRICS_WS=133, CHANGE_POINT_LINE_COMMENT=134, - CHANGE_POINT_MULTILINE_COMMENT=135, CHANGE_POINT_WS=136; + COMPLETION=1, DISSECT=2, DROP=3, ENRICH=4, EVAL=5, EXPLAIN=6, FROM=7, + GROK=8, KEEP=9, LIMIT=10, MV_EXPAND=11, RENAME=12, ROW=13, SHOW=14, SORT=15, + STATS=16, WHERE=17, JOIN_LOOKUP=18, CHANGE_POINT=19, DEV_INLINESTATS=20, + DEV_LOOKUP=21, DEV_METRICS=22, DEV_RERANK=23, DEV_JOIN_FULL=24, DEV_JOIN_LEFT=25, + DEV_JOIN_RIGHT=26, UNKNOWN_CMD=27, LINE_COMMENT=28, MULTILINE_COMMENT=29, + WS=30, PIPE=31, QUOTED_STRING=32, INTEGER_LITERAL=33, DECIMAL_LITERAL=34, + AND=35, ASC=36, ASSIGN=37, BY=38, CAST_OP=39, COLON=40, COMMA=41, DESC=42, + DOT=43, FALSE=44, FIRST=45, IN=46, IS=47, LAST=48, LIKE=49, LP=50, NOT=51, + NULL=52, NULLS=53, ON=54, OR=55, PARAM=56, RLIKE=57, RP=58, TRUE=59, WITH=60, + EQ=61, CIEQ=62, NEQ=63, LT=64, LTE=65, GT=66, GTE=67, PLUS=68, MINUS=69, + ASTERISK=70, SLASH=71, PERCENT=72, LEFT_BRACES=73, RIGHT_BRACES=74, DOUBLE_PARAMS=75, + NAMED_OR_POSITIONAL_PARAM=76, NAMED_OR_POSITIONAL_DOUBLE_PARAMS=77, OPENING_BRACKET=78, + CLOSING_BRACKET=79, UNQUOTED_IDENTIFIER=80, QUOTED_IDENTIFIER=81, EXPR_LINE_COMMENT=82, + EXPR_MULTILINE_COMMENT=83, EXPR_WS=84, EXPLAIN_WS=85, EXPLAIN_LINE_COMMENT=86, + EXPLAIN_MULTILINE_COMMENT=87, METADATA=88, UNQUOTED_SOURCE=89, FROM_LINE_COMMENT=90, + FROM_MULTILINE_COMMENT=91, FROM_WS=92, ID_PATTERN=93, PROJECT_LINE_COMMENT=94, + PROJECT_MULTILINE_COMMENT=95, PROJECT_WS=96, AS=97, RENAME_LINE_COMMENT=98, + RENAME_MULTILINE_COMMENT=99, RENAME_WS=100, ENRICH_POLICY_NAME=101, ENRICH_LINE_COMMENT=102, + ENRICH_MULTILINE_COMMENT=103, ENRICH_WS=104, ENRICH_FIELD_LINE_COMMENT=105, + ENRICH_FIELD_MULTILINE_COMMENT=106, ENRICH_FIELD_WS=107, MVEXPAND_LINE_COMMENT=108, + MVEXPAND_MULTILINE_COMMENT=109, MVEXPAND_WS=110, INFO=111, SHOW_LINE_COMMENT=112, + SHOW_MULTILINE_COMMENT=113, SHOW_WS=114, SETTING=115, SETTING_LINE_COMMENT=116, + SETTTING_MULTILINE_COMMENT=117, SETTING_WS=118, LOOKUP_LINE_COMMENT=119, + LOOKUP_MULTILINE_COMMENT=120, LOOKUP_WS=121, LOOKUP_FIELD_LINE_COMMENT=122, + LOOKUP_FIELD_MULTILINE_COMMENT=123, LOOKUP_FIELD_WS=124, JOIN=125, USING=126, + JOIN_LINE_COMMENT=127, JOIN_MULTILINE_COMMENT=128, JOIN_WS=129, METRICS_LINE_COMMENT=130, + METRICS_MULTILINE_COMMENT=131, METRICS_WS=132, CLOSING_METRICS_LINE_COMMENT=133, + CLOSING_METRICS_MULTILINE_COMMENT=134, CLOSING_METRICS_WS=135, CHANGE_POINT_LINE_COMMENT=136, + CHANGE_POINT_MULTILINE_COMMENT=137, CHANGE_POINT_WS=138; public static final int EXPRESSION_MODE=1, EXPLAIN_MODE=2, FROM_MODE=3, PROJECT_MODE=4, RENAME_MODE=5, ENRICH_MODE=6, ENRICH_FIELD_MODE=7, MVEXPAND_MODE=8, SHOW_MODE=9, SETTING_MODE=10, @@ -72,38 +72,39 @@ public class EsqlBaseLexer extends LexerConfig { private static String[] makeRuleNames() { return new String[] { - "DISSECT", "DROP", "ENRICH", "EVAL", "EXPLAIN", "FROM", "GROK", "KEEP", - "LIMIT", "MV_EXPAND", "RENAME", "ROW", "SHOW", "SORT", "STATS", "WHERE", - "JOIN_LOOKUP", "CHANGE_POINT", "DEV_INLINESTATS", "DEV_LOOKUP", "DEV_METRICS", - "DEV_JOIN_FULL", "DEV_JOIN_LEFT", "DEV_JOIN_RIGHT", "UNKNOWN_CMD", "LINE_COMMENT", - "MULTILINE_COMMENT", "WS", "PIPE", "DIGIT", "LETTER", "ESCAPE_SEQUENCE", - "UNESCAPED_CHARS", "EXPONENT", "ASPERAND", "BACKQUOTE", "BACKQUOTE_BLOCK", - "UNDERSCORE", "UNQUOTED_ID_BODY", "QUOTED_STRING", "INTEGER_LITERAL", - "DECIMAL_LITERAL", "BY", "AND", "ASC", "ASSIGN", "CAST_OP", "COLON", - "COMMA", "DESC", "DOT", "FALSE", "FIRST", "IN", "IS", "LAST", "LIKE", - "LP", "NOT", "NULL", "NULLS", "OR", "PARAM", "RLIKE", "RP", "TRUE", "EQ", - "CIEQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", - "SLASH", "PERCENT", "LEFT_BRACES", "RIGHT_BRACES", "DOUBLE_PARAMS", "NESTED_WHERE", - "NAMED_OR_POSITIONAL_PARAM", "NAMED_OR_POSITIONAL_DOUBLE_PARAMS", "OPENING_BRACKET", - "CLOSING_BRACKET", "UNQUOTED_IDENTIFIER", "QUOTED_ID", "QUOTED_IDENTIFIER", - "EXPR_LINE_COMMENT", "EXPR_MULTILINE_COMMENT", "EXPR_WS", "EXPLAIN_OPENING_BRACKET", - "EXPLAIN_PIPE", "EXPLAIN_WS", "EXPLAIN_LINE_COMMENT", "EXPLAIN_MULTILINE_COMMENT", - "FROM_PIPE", "FROM_OPENING_BRACKET", "FROM_CLOSING_BRACKET", "FROM_COLON", - "FROM_SELECTOR", "FROM_COMMA", "FROM_ASSIGN", "METADATA", "UNQUOTED_SOURCE_PART", - "UNQUOTED_SOURCE", "FROM_UNQUOTED_SOURCE", "FROM_QUOTED_SOURCE", "FROM_LINE_COMMENT", - "FROM_MULTILINE_COMMENT", "FROM_WS", "PROJECT_PIPE", "PROJECT_DOT", "PROJECT_COMMA", - "PROJECT_PARAM", "PROJECT_NAMED_OR_POSITIONAL_PARAM", "PROJECT_DOUBLE_PARAMS", - "PROJECT_NAMED_OR_POSITIONAL_DOUBLE_PARAMS", "UNQUOTED_ID_BODY_WITH_PATTERN", - "UNQUOTED_ID_PATTERN", "ID_PATTERN", "PROJECT_LINE_COMMENT", "PROJECT_MULTILINE_COMMENT", - "PROJECT_WS", "RENAME_PIPE", "RENAME_ASSIGN", "RENAME_COMMA", "RENAME_DOT", - "RENAME_PARAM", "RENAME_NAMED_OR_POSITIONAL_PARAM", "RENAME_DOUBLE_PARAMS", - "RENAME_NAMED_OR_POSITIONAL_DOUBLE_PARAMS", "AS", "RENAME_ID_PATTERN", - "RENAME_LINE_COMMENT", "RENAME_MULTILINE_COMMENT", "RENAME_WS", "ENRICH_PIPE", - "ENRICH_OPENING_BRACKET", "ON", "WITH", "ENRICH_POLICY_NAME_BODY", "ENRICH_POLICY_NAME", - "ENRICH_MODE_UNQUOTED_VALUE", "ENRICH_LINE_COMMENT", "ENRICH_MULTILINE_COMMENT", - "ENRICH_WS", "ENRICH_FIELD_PIPE", "ENRICH_FIELD_ASSIGN", "ENRICH_FIELD_COMMA", - "ENRICH_FIELD_DOT", "ENRICH_FIELD_WITH", "ENRICH_FIELD_ID_PATTERN", "ENRICH_FIELD_QUOTED_IDENTIFIER", - "ENRICH_FIELD_PARAM", "ENRICH_FIELD_NAMED_OR_POSITIONAL_PARAM", "ENRICH_FIELD_DOUBLE_PARAMS", + "COMPLETION", "DISSECT", "DROP", "ENRICH", "EVAL", "EXPLAIN", "FROM", + "GROK", "KEEP", "LIMIT", "MV_EXPAND", "RENAME", "ROW", "SHOW", "SORT", + "STATS", "WHERE", "JOIN_LOOKUP", "CHANGE_POINT", "DEV_INLINESTATS", "DEV_LOOKUP", + "DEV_METRICS", "DEV_RERANK", "DEV_JOIN_FULL", "DEV_JOIN_LEFT", "DEV_JOIN_RIGHT", + "UNKNOWN_CMD", "LINE_COMMENT", "MULTILINE_COMMENT", "WS", "PIPE", "DIGIT", + "LETTER", "ESCAPE_SEQUENCE", "UNESCAPED_CHARS", "EXPONENT", "ASPERAND", + "BACKQUOTE", "BACKQUOTE_BLOCK", "UNDERSCORE", "UNQUOTED_ID_BODY", "QUOTED_STRING", + "INTEGER_LITERAL", "DECIMAL_LITERAL", "AND", "ASC", "ASSIGN", "BY", "CAST_OP", + "COLON", "COMMA", "DESC", "DOT", "FALSE", "FIRST", "IN", "IS", "LAST", + "LIKE", "LP", "NOT", "NULL", "NULLS", "ON", "OR", "PARAM", "RLIKE", "RP", + "TRUE", "WITH", "EQ", "CIEQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", + "MINUS", "ASTERISK", "SLASH", "PERCENT", "LEFT_BRACES", "RIGHT_BRACES", + "DOUBLE_PARAMS", "NESTED_WHERE", "NAMED_OR_POSITIONAL_PARAM", "NAMED_OR_POSITIONAL_DOUBLE_PARAMS", + "OPENING_BRACKET", "CLOSING_BRACKET", "UNQUOTED_IDENTIFIER", "QUOTED_ID", + "QUOTED_IDENTIFIER", "EXPR_LINE_COMMENT", "EXPR_MULTILINE_COMMENT", "EXPR_WS", + "EXPLAIN_OPENING_BRACKET", "EXPLAIN_PIPE", "EXPLAIN_WS", "EXPLAIN_LINE_COMMENT", + "EXPLAIN_MULTILINE_COMMENT", "FROM_PIPE", "FROM_OPENING_BRACKET", "FROM_CLOSING_BRACKET", + "FROM_COLON", "FROM_SELECTOR", "FROM_COMMA", "FROM_ASSIGN", "METADATA", + "UNQUOTED_SOURCE_PART", "UNQUOTED_SOURCE", "FROM_UNQUOTED_SOURCE", "FROM_QUOTED_SOURCE", + "FROM_LINE_COMMENT", "FROM_MULTILINE_COMMENT", "FROM_WS", "PROJECT_PIPE", + "PROJECT_DOT", "PROJECT_COMMA", "PROJECT_PARAM", "PROJECT_NAMED_OR_POSITIONAL_PARAM", + "PROJECT_DOUBLE_PARAMS", "PROJECT_NAMED_OR_POSITIONAL_DOUBLE_PARAMS", + "UNQUOTED_ID_BODY_WITH_PATTERN", "UNQUOTED_ID_PATTERN", "ID_PATTERN", + "PROJECT_LINE_COMMENT", "PROJECT_MULTILINE_COMMENT", "PROJECT_WS", "RENAME_PIPE", + "RENAME_ASSIGN", "RENAME_COMMA", "RENAME_DOT", "RENAME_PARAM", "RENAME_NAMED_OR_POSITIONAL_PARAM", + "RENAME_DOUBLE_PARAMS", "RENAME_NAMED_OR_POSITIONAL_DOUBLE_PARAMS", "AS", + "RENAME_ID_PATTERN", "RENAME_LINE_COMMENT", "RENAME_MULTILINE_COMMENT", + "RENAME_WS", "ENRICH_PIPE", "ENRICH_OPENING_BRACKET", "ENRICH_ON", "ENRICH_WITH", + "ENRICH_POLICY_NAME_BODY", "ENRICH_POLICY_NAME", "ENRICH_MODE_UNQUOTED_VALUE", + "ENRICH_LINE_COMMENT", "ENRICH_MULTILINE_COMMENT", "ENRICH_WS", "ENRICH_FIELD_PIPE", + "ENRICH_FIELD_ASSIGN", "ENRICH_FIELD_COMMA", "ENRICH_FIELD_DOT", "ENRICH_FIELD_WITH", + "ENRICH_FIELD_ID_PATTERN", "ENRICH_FIELD_QUOTED_IDENTIFIER", "ENRICH_FIELD_PARAM", + "ENRICH_FIELD_NAMED_OR_POSITIONAL_PARAM", "ENRICH_FIELD_DOUBLE_PARAMS", "ENRICH_FIELD_NAMED_OR_POSITIONAL_DOUBLE_PARAMS", "ENRICH_FIELD_LINE_COMMENT", "ENRICH_FIELD_MULTILINE_COMMENT", "ENRICH_FIELD_WS", "MVEXPAND_PIPE", "MVEXPAND_DOT", "MVEXPAND_PARAM", "MVEXPAND_NAMED_OR_POSITIONAL_PARAM", @@ -134,43 +135,43 @@ private static String[] makeRuleNames() { private static String[] makeLiteralNames() { return new String[] { - null, "'dissect'", "'drop'", "'enrich'", "'eval'", "'explain'", "'from'", - "'grok'", "'keep'", "'limit'", "'mv_expand'", "'rename'", "'row'", "'show'", - "'sort'", "'stats'", "'where'", "'lookup'", "'change_point'", null, null, - null, null, null, null, null, null, null, null, "'|'", null, null, null, - "'by'", "'and'", "'asc'", "'='", "'::'", "':'", "','", "'desc'", "'.'", - "'false'", "'first'", "'in'", "'is'", "'last'", "'like'", "'('", "'not'", - "'null'", "'nulls'", "'or'", "'?'", "'rlike'", "')'", "'true'", "'=='", - "'=~'", "'!='", "'<'", "'<='", "'>'", "'>='", "'+'", "'-'", "'*'", "'/'", - "'%'", "'{'", "'}'", "'??'", null, null, null, "']'", null, null, null, - null, null, null, null, null, "'metadata'", null, null, null, null, null, - null, null, null, "'as'", null, null, null, "'on'", "'with'", null, null, - null, null, null, null, null, null, null, null, "'info'", null, null, - null, null, null, null, null, null, null, null, null, null, null, "'join'", - "'USING'" + null, "'completion'", "'dissect'", "'drop'", "'enrich'", "'eval'", "'explain'", + "'from'", "'grok'", "'keep'", "'limit'", "'mv_expand'", "'rename'", "'row'", + "'show'", "'sort'", "'stats'", "'where'", "'lookup'", "'change_point'", + null, null, null, null, null, null, null, null, null, null, null, "'|'", + null, null, null, "'and'", "'asc'", "'='", "'by'", "'::'", "':'", "','", + "'desc'", "'.'", "'false'", "'first'", "'in'", "'is'", "'last'", "'like'", + "'('", "'not'", "'null'", "'nulls'", "'on'", "'or'", "'?'", "'rlike'", + "')'", "'true'", "'with'", "'=='", "'=~'", "'!='", "'<'", "'<='", "'>'", + "'>='", "'+'", "'-'", "'*'", "'/'", "'%'", "'{'", "'}'", "'??'", null, + null, null, "']'", null, null, null, null, null, null, null, null, "'metadata'", + null, null, null, null, null, null, null, null, "'as'", null, null, null, + null, null, null, null, null, null, null, null, null, null, "'info'", + null, null, null, null, null, null, null, null, null, null, null, null, + null, "'join'", "'USING'" }; } private static final String[] _LITERAL_NAMES = makeLiteralNames(); private static String[] makeSymbolicNames() { return new String[] { - null, "DISSECT", "DROP", "ENRICH", "EVAL", "EXPLAIN", "FROM", "GROK", - "KEEP", "LIMIT", "MV_EXPAND", "RENAME", "ROW", "SHOW", "SORT", "STATS", - "WHERE", "JOIN_LOOKUP", "CHANGE_POINT", "DEV_INLINESTATS", "DEV_LOOKUP", - "DEV_METRICS", "DEV_JOIN_FULL", "DEV_JOIN_LEFT", "DEV_JOIN_RIGHT", "UNKNOWN_CMD", - "LINE_COMMENT", "MULTILINE_COMMENT", "WS", "PIPE", "QUOTED_STRING", "INTEGER_LITERAL", - "DECIMAL_LITERAL", "BY", "AND", "ASC", "ASSIGN", "CAST_OP", "COLON", - "COMMA", "DESC", "DOT", "FALSE", "FIRST", "IN", "IS", "LAST", "LIKE", - "LP", "NOT", "NULL", "NULLS", "OR", "PARAM", "RLIKE", "RP", "TRUE", "EQ", - "CIEQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", - "SLASH", "PERCENT", "LEFT_BRACES", "RIGHT_BRACES", "DOUBLE_PARAMS", "NAMED_OR_POSITIONAL_PARAM", - "NAMED_OR_POSITIONAL_DOUBLE_PARAMS", "OPENING_BRACKET", "CLOSING_BRACKET", - "UNQUOTED_IDENTIFIER", "QUOTED_IDENTIFIER", "EXPR_LINE_COMMENT", "EXPR_MULTILINE_COMMENT", - "EXPR_WS", "EXPLAIN_WS", "EXPLAIN_LINE_COMMENT", "EXPLAIN_MULTILINE_COMMENT", - "METADATA", "UNQUOTED_SOURCE", "FROM_LINE_COMMENT", "FROM_MULTILINE_COMMENT", - "FROM_WS", "ID_PATTERN", "PROJECT_LINE_COMMENT", "PROJECT_MULTILINE_COMMENT", - "PROJECT_WS", "AS", "RENAME_LINE_COMMENT", "RENAME_MULTILINE_COMMENT", - "RENAME_WS", "ON", "WITH", "ENRICH_POLICY_NAME", "ENRICH_LINE_COMMENT", - "ENRICH_MULTILINE_COMMENT", "ENRICH_WS", "ENRICH_FIELD_LINE_COMMENT", + null, "COMPLETION", "DISSECT", "DROP", "ENRICH", "EVAL", "EXPLAIN", "FROM", + "GROK", "KEEP", "LIMIT", "MV_EXPAND", "RENAME", "ROW", "SHOW", "SORT", + "STATS", "WHERE", "JOIN_LOOKUP", "CHANGE_POINT", "DEV_INLINESTATS", "DEV_LOOKUP", + "DEV_METRICS", "DEV_RERANK", "DEV_JOIN_FULL", "DEV_JOIN_LEFT", "DEV_JOIN_RIGHT", + "UNKNOWN_CMD", "LINE_COMMENT", "MULTILINE_COMMENT", "WS", "PIPE", "QUOTED_STRING", + "INTEGER_LITERAL", "DECIMAL_LITERAL", "AND", "ASC", "ASSIGN", "BY", "CAST_OP", + "COLON", "COMMA", "DESC", "DOT", "FALSE", "FIRST", "IN", "IS", "LAST", + "LIKE", "LP", "NOT", "NULL", "NULLS", "ON", "OR", "PARAM", "RLIKE", "RP", + "TRUE", "WITH", "EQ", "CIEQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", + "MINUS", "ASTERISK", "SLASH", "PERCENT", "LEFT_BRACES", "RIGHT_BRACES", + "DOUBLE_PARAMS", "NAMED_OR_POSITIONAL_PARAM", "NAMED_OR_POSITIONAL_DOUBLE_PARAMS", + "OPENING_BRACKET", "CLOSING_BRACKET", "UNQUOTED_IDENTIFIER", "QUOTED_IDENTIFIER", + "EXPR_LINE_COMMENT", "EXPR_MULTILINE_COMMENT", "EXPR_WS", "EXPLAIN_WS", + "EXPLAIN_LINE_COMMENT", "EXPLAIN_MULTILINE_COMMENT", "METADATA", "UNQUOTED_SOURCE", + "FROM_LINE_COMMENT", "FROM_MULTILINE_COMMENT", "FROM_WS", "ID_PATTERN", + "PROJECT_LINE_COMMENT", "PROJECT_MULTILINE_COMMENT", "PROJECT_WS", "AS", + "RENAME_LINE_COMMENT", "RENAME_MULTILINE_COMMENT", "RENAME_WS", "ENRICH_POLICY_NAME", + "ENRICH_LINE_COMMENT", "ENRICH_MULTILINE_COMMENT", "ENRICH_WS", "ENRICH_FIELD_LINE_COMMENT", "ENRICH_FIELD_MULTILINE_COMMENT", "ENRICH_FIELD_WS", "MVEXPAND_LINE_COMMENT", "MVEXPAND_MULTILINE_COMMENT", "MVEXPAND_WS", "INFO", "SHOW_LINE_COMMENT", "SHOW_MULTILINE_COMMENT", "SHOW_WS", "SETTING", "SETTING_LINE_COMMENT", @@ -245,17 +246,19 @@ public EsqlBaseLexer(CharStream input) { @Override public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { switch (ruleIndex) { - case 18: - return DEV_INLINESTATS_sempred((RuleContext)_localctx, predIndex); case 19: - return DEV_LOOKUP_sempred((RuleContext)_localctx, predIndex); + return DEV_INLINESTATS_sempred((RuleContext)_localctx, predIndex); case 20: - return DEV_METRICS_sempred((RuleContext)_localctx, predIndex); + return DEV_LOOKUP_sempred((RuleContext)_localctx, predIndex); case 21: - return DEV_JOIN_FULL_sempred((RuleContext)_localctx, predIndex); + return DEV_METRICS_sempred((RuleContext)_localctx, predIndex); case 22: - return DEV_JOIN_LEFT_sempred((RuleContext)_localctx, predIndex); + return DEV_RERANK_sempred((RuleContext)_localctx, predIndex); case 23: + return DEV_JOIN_FULL_sempred((RuleContext)_localctx, predIndex); + case 24: + return DEV_JOIN_LEFT_sempred((RuleContext)_localctx, predIndex); + case 25: return DEV_JOIN_RIGHT_sempred((RuleContext)_localctx, predIndex); } return true; @@ -281,30 +284,37 @@ private boolean DEV_METRICS_sempred(RuleContext _localctx, int predIndex) { } return true; } - private boolean DEV_JOIN_FULL_sempred(RuleContext _localctx, int predIndex) { + private boolean DEV_RERANK_sempred(RuleContext _localctx, int predIndex) { switch (predIndex) { case 3: return this.isDevVersion(); } return true; } - private boolean DEV_JOIN_LEFT_sempred(RuleContext _localctx, int predIndex) { + private boolean DEV_JOIN_FULL_sempred(RuleContext _localctx, int predIndex) { switch (predIndex) { case 4: return this.isDevVersion(); } return true; } - private boolean DEV_JOIN_RIGHT_sempred(RuleContext _localctx, int predIndex) { + private boolean DEV_JOIN_LEFT_sempred(RuleContext _localctx, int predIndex) { switch (predIndex) { case 5: return this.isDevVersion(); } return true; } + private boolean DEV_JOIN_RIGHT_sempred(RuleContext _localctx, int predIndex) { + switch (predIndex) { + case 6: + return this.isDevVersion(); + } + return true; + } public static final String _serializedATN = - "\u0004\u0000\u0088\u06f0\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ + "\u0004\u0000\u008a\u0715\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ "\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ "\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ "\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff\uffff\u0006\uffff"+ @@ -375,1095 +385,1120 @@ private boolean DEV_JOIN_RIGHT_sempred(RuleContext _localctx, int predIndex) { "\u0002\u00e6\u0007\u00e6\u0002\u00e7\u0007\u00e7\u0002\u00e8\u0007\u00e8"+ "\u0002\u00e9\u0007\u00e9\u0002\u00ea\u0007\u00ea\u0002\u00eb\u0007\u00eb"+ "\u0002\u00ec\u0007\u00ec\u0002\u00ed\u0007\u00ed\u0002\u00ee\u0007\u00ee"+ - "\u0002\u00ef\u0007\u00ef\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000"+ + "\u0002\u00ef\u0007\u00ef\u0002\u00f0\u0007\u00f0\u0002\u00f1\u0007\u00f1"+ + "\u0002\u00f2\u0007\u00f2\u0002\u00f3\u0007\u00f3\u0001\u0000\u0001\u0000"+ "\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000"+ + "\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001"+ "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002"+ + "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0002"+ "\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003"+ - "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0004"+ - "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ - "\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005"+ - "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006"+ - "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0007"+ - "\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+ - "\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ - "\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+ - "\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+ - "\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+ - "\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\u000e"+ - "\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+ - "\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f"+ - "\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010"+ - "\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010"+ - "\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011"+ - "\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011"+ - "\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012"+ - "\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012"+ - "\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012"+ - "\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+ - "\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013"+ - "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014"+ - "\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015"+ - "\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015"+ - "\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016"+ - "\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0001\u0017"+ - "\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017"+ - "\u0001\u0018\u0004\u0018\u02cb\b\u0018\u000b\u0018\f\u0018\u02cc\u0001"+ - "\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0005"+ - "\u0019\u02d5\b\u0019\n\u0019\f\u0019\u02d8\t\u0019\u0001\u0019\u0003\u0019"+ - "\u02db\b\u0019\u0001\u0019\u0003\u0019\u02de\b\u0019\u0001\u0019\u0001"+ - "\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0005"+ - "\u001a\u02e7\b\u001a\n\u001a\f\u001a\u02ea\t\u001a\u0001\u001a\u0001\u001a"+ - "\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0004\u001b\u02f2\b\u001b"+ - "\u000b\u001b\f\u001b\u02f3\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c"+ - "\u0001\u001c\u0001\u001c\u0001\u001d\u0001\u001d\u0001\u001e\u0001\u001e"+ - "\u0001\u001f\u0001\u001f\u0001\u001f\u0001 \u0001 \u0001!\u0001!\u0003"+ - "!\u0307\b!\u0001!\u0004!\u030a\b!\u000b!\f!\u030b\u0001\"\u0001\"\u0001"+ - "#\u0001#\u0001$\u0001$\u0001$\u0003$\u0315\b$\u0001%\u0001%\u0001&\u0001"+ - "&\u0001&\u0003&\u031c\b&\u0001\'\u0001\'\u0001\'\u0005\'\u0321\b\'\n\'"+ - "\f\'\u0324\t\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0005\'"+ - "\u032c\b\'\n\'\f\'\u032f\t\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0003"+ - "\'\u0336\b\'\u0001\'\u0003\'\u0339\b\'\u0003\'\u033b\b\'\u0001(\u0004"+ - "(\u033e\b(\u000b(\f(\u033f\u0001)\u0004)\u0343\b)\u000b)\f)\u0344\u0001"+ - ")\u0001)\u0005)\u0349\b)\n)\f)\u034c\t)\u0001)\u0001)\u0004)\u0350\b)"+ - "\u000b)\f)\u0351\u0001)\u0004)\u0355\b)\u000b)\f)\u0356\u0001)\u0001)"+ - "\u0005)\u035b\b)\n)\f)\u035e\t)\u0003)\u0360\b)\u0001)\u0001)\u0001)\u0001"+ - ")\u0004)\u0366\b)\u000b)\f)\u0367\u0001)\u0001)\u0003)\u036c\b)\u0001"+ - "*\u0001*\u0001*\u0001+\u0001+\u0001+\u0001+\u0001,\u0001,\u0001,\u0001"+ - ",\u0001-\u0001-\u0001.\u0001.\u0001.\u0001/\u0001/\u00010\u00010\u0001"+ - "1\u00011\u00011\u00011\u00011\u00012\u00012\u00013\u00013\u00013\u0001"+ - "3\u00013\u00013\u00014\u00014\u00014\u00014\u00014\u00014\u00015\u0001"+ - "5\u00015\u00016\u00016\u00016\u00017\u00017\u00017\u00017\u00017\u0001"+ - "8\u00018\u00018\u00018\u00018\u00019\u00019\u0001:\u0001:\u0001:\u0001"+ - ":\u0001;\u0001;\u0001;\u0001;\u0001;\u0001<\u0001<\u0001<\u0001<\u0001"+ - "<\u0001<\u0001=\u0001=\u0001=\u0001>\u0001>\u0001?\u0001?\u0001?\u0001"+ - "?\u0001?\u0001?\u0001@\u0001@\u0001A\u0001A\u0001A\u0001A\u0001A\u0001"+ - "B\u0001B\u0001B\u0001C\u0001C\u0001C\u0001D\u0001D\u0001D\u0001E\u0001"+ - "E\u0001F\u0001F\u0001F\u0001G\u0001G\u0001H\u0001H\u0001H\u0001I\u0001"+ - "I\u0001J\u0001J\u0001K\u0001K\u0001L\u0001L\u0001M\u0001M\u0001N\u0001"+ - "N\u0001O\u0001O\u0001P\u0001P\u0001P\u0001Q\u0001Q\u0001Q\u0001Q\u0001"+ - "R\u0001R\u0001R\u0003R\u03f3\bR\u0001R\u0005R\u03f6\bR\nR\fR\u03f9\tR"+ - "\u0001R\u0001R\u0004R\u03fd\bR\u000bR\fR\u03fe\u0003R\u0401\bR\u0001S"+ - "\u0001S\u0001S\u0003S\u0406\bS\u0001S\u0005S\u0409\bS\nS\fS\u040c\tS\u0001"+ - "S\u0001S\u0004S\u0410\bS\u000bS\fS\u0411\u0003S\u0414\bS\u0001T\u0001"+ - "T\u0001T\u0001T\u0001T\u0001U\u0001U\u0001U\u0001U\u0001U\u0001V\u0001"+ - "V\u0005V\u0422\bV\nV\fV\u0425\tV\u0001V\u0001V\u0003V\u0429\bV\u0001V"+ - "\u0004V\u042c\bV\u000bV\fV\u042d\u0003V\u0430\bV\u0001W\u0001W\u0004W"+ - "\u0434\bW\u000bW\fW\u0435\u0001W\u0001W\u0001X\u0001X\u0001Y\u0001Y\u0001"+ - "Y\u0001Y\u0001Z\u0001Z\u0001Z\u0001Z\u0001[\u0001[\u0001[\u0001[\u0001"+ - "\\\u0001\\\u0001\\\u0001\\\u0001\\\u0001]\u0001]\u0001]\u0001]\u0001]"+ - "\u0001^\u0001^\u0001^\u0001^\u0001_\u0001_\u0001_\u0001_\u0001`\u0001"+ - "`\u0001`\u0001`\u0001a\u0001a\u0001a\u0001a\u0001a\u0001b\u0001b\u0001"+ - "b\u0001b\u0001c\u0001c\u0001c\u0001c\u0001d\u0001d\u0001d\u0001d\u0001"+ - "e\u0001e\u0001e\u0001e\u0001f\u0001f\u0001f\u0001f\u0001g\u0001g\u0001"+ - "g\u0001g\u0001h\u0001h\u0001h\u0001h\u0001h\u0001h\u0001h\u0001h\u0001"+ - "h\u0001i\u0001i\u0001i\u0003i\u0487\bi\u0001j\u0004j\u048a\bj\u000bj\f"+ - "j\u048b\u0001k\u0001k\u0001k\u0001k\u0001l\u0001l\u0001l\u0001l\u0001"+ - "m\u0001m\u0001m\u0001m\u0001n\u0001n\u0001n\u0001n\u0001o\u0001o\u0001"+ - "o\u0001o\u0001p\u0001p\u0001p\u0001p\u0001p\u0001q\u0001q\u0001q\u0001"+ - "q\u0001r\u0001r\u0001r\u0001r\u0001s\u0001s\u0001s\u0001s\u0001t\u0001"+ - "t\u0001t\u0001t\u0001u\u0001u\u0001u\u0001u\u0001v\u0001v\u0001v\u0001"+ - "v\u0001w\u0001w\u0001w\u0001w\u0003w\u04c3\bw\u0001x\u0001x\u0003x\u04c7"+ - "\bx\u0001x\u0005x\u04ca\bx\nx\fx\u04cd\tx\u0001x\u0001x\u0003x\u04d1\b"+ - "x\u0001x\u0004x\u04d4\bx\u000bx\fx\u04d5\u0003x\u04d8\bx\u0001y\u0001"+ - "y\u0004y\u04dc\by\u000by\fy\u04dd\u0001z\u0001z\u0001z\u0001z\u0001{\u0001"+ - "{\u0001{\u0001{\u0001|\u0001|\u0001|\u0001|\u0001}\u0001}\u0001}\u0001"+ - "}\u0001}\u0001~\u0001~\u0001~\u0001~\u0001\u007f\u0001\u007f\u0001\u007f"+ - "\u0001\u007f\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0080\u0001\u0081"+ - "\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0082\u0001\u0082\u0001\u0082"+ - "\u0001\u0082\u0001\u0083\u0001\u0083\u0001\u0083\u0001\u0083\u0001\u0084"+ - "\u0001\u0084\u0001\u0084\u0001\u0084\u0001\u0085\u0001\u0085\u0001\u0085"+ - "\u0001\u0086\u0001\u0086\u0001\u0086\u0001\u0086\u0001\u0087\u0001\u0087"+ - "\u0001\u0087\u0001\u0087\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0088"+ - "\u0001\u0089\u0001\u0089\u0001\u0089\u0001\u0089\u0001\u008a\u0001\u008a"+ - "\u0001\u008a\u0001\u008a\u0001\u008a\u0001\u008b\u0001\u008b\u0001\u008b"+ - "\u0001\u008b\u0001\u008b\u0001\u008c\u0001\u008c\u0001\u008c\u0001\u008c"+ - "\u0001\u008c\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008d"+ - "\u0001\u008d\u0001\u008d\u0001\u008e\u0001\u008e\u0001\u008f\u0004\u008f"+ - "\u0539\b\u008f\u000b\u008f\f\u008f\u053a\u0001\u008f\u0001\u008f\u0003"+ - "\u008f\u053f\b\u008f\u0001\u008f\u0004\u008f\u0542\b\u008f\u000b\u008f"+ - "\f\u008f\u0543\u0001\u0090\u0001\u0090\u0001\u0090\u0001\u0090\u0001\u0091"+ - "\u0001\u0091\u0001\u0091\u0001\u0091\u0001\u0092\u0001\u0092\u0001\u0092"+ - "\u0001\u0092\u0001\u0093\u0001\u0093\u0001\u0093\u0001\u0093\u0001\u0094"+ - "\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0095"+ - "\u0001\u0095\u0001\u0095\u0001\u0095\u0001\u0096\u0001\u0096\u0001\u0096"+ - "\u0001\u0096\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0098"+ - "\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0099\u0001\u0099\u0001\u0099"+ - "\u0001\u0099\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009a\u0001\u009b"+ - "\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009c\u0001\u009c\u0001\u009c"+ - "\u0001\u009c\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009d\u0001\u009e"+ - "\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009f\u0001\u009f\u0001\u009f"+ - "\u0001\u009f\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001\u00a1"+ - "\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a2\u0001\u00a2\u0001\u00a2"+ - "\u0001\u00a2\u0001\u00a2\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001\u00a3"+ - "\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a5\u0001\u00a5"+ - "\u0001\u00a5\u0001\u00a5\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001\u00a6"+ - "\u0001\u00a7\u0001\u00a7\u0001\u00a7\u0001\u00a7\u0001\u00a8\u0001\u00a8"+ - "\u0001\u00a8\u0001\u00a8\u0001\u00a9\u0001\u00a9\u0001\u00a9\u0001\u00a9"+ - "\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00ab\u0001\u00ab"+ - "\u0001\u00ab\u0001\u00ab\u0001\u00ac\u0001\u00ac\u0001\u00ac\u0001\u00ac"+ - "\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ae"+ - "\u0001\u00ae\u0001\u00ae\u0001\u00ae\u0001\u00ae\u0001\u00af\u0001\u00af"+ - "\u0001\u00af\u0001\u00af\u0001\u00b0\u0001\u00b0\u0001\u00b0\u0001\u00b0"+ - "\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b2\u0001\u00b2"+ - "\u0001\u00b2\u0001\u00b2\u0001\u00b2\u0001\u00b3\u0001\u00b3\u0001\u00b3"+ - "\u0001\u00b3\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4"+ - "\u0004\u00b4\u05e1\b\u00b4\u000b\u00b4\f\u00b4\u05e2\u0001\u00b5\u0001"+ - "\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b6\u0001\u00b6\u0001\u00b6\u0001"+ - "\u00b6\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001\u00b8\u0001"+ - "\u00b8\u0001\u00b8\u0001\u00b8\u0001\u00b8\u0001\u00b9\u0001\u00b9\u0001"+ - "\u00b9\u0001\u00b9\u0001\u00ba\u0001\u00ba\u0001\u00ba\u0001\u00ba\u0001"+ - "\u00bb\u0001\u00bb\u0001\u00bb\u0001\u00bb\u0001\u00bc\u0001\u00bc\u0001"+ - "\u00bc\u0001\u00bc\u0001\u00bc\u0001\u00bd\u0001\u00bd\u0001\u00bd\u0001"+ - "\u00bd\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00bf\u0001"+ - "\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00c0\u0001\u00c0\u0001\u00c0\u0001"+ - "\u00c0\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c2\u0001"+ - "\u00c2\u0001\u00c2\u0001\u00c2\u0001\u00c2\u0001\u00c2\u0001\u00c3\u0001"+ - "\u00c3\u0001\u00c3\u0001\u00c3\u0001\u00c4\u0001\u00c4\u0001\u00c4\u0001"+ - "\u00c4\u0001\u00c5\u0001\u00c5\u0001\u00c5\u0001\u00c5\u0001\u00c6\u0001"+ - "\u00c6\u0001\u00c6\u0001\u00c6\u0001\u00c7\u0001\u00c7\u0001\u00c7\u0001"+ - "\u00c7\u0001\u00c8\u0001\u00c8\u0001\u00c8\u0001\u00c8\u0001\u00c9\u0001"+ - "\u00c9\u0001\u00c9\u0001\u00c9\u0001\u00c9\u0001\u00ca\u0001\u00ca\u0001"+ - "\u00ca\u0001\u00ca\u0001\u00ca\u0001\u00cb\u0001\u00cb\u0001\u00cb\u0001"+ - "\u00cb\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001"+ - "\u00cc\u0001\u00cd\u0001\u00cd\u0001\u00cd\u0001\u00cd\u0001\u00cd\u0001"+ - "\u00cd\u0001\u00cd\u0001\u00cd\u0001\u00cd\u0001\u00ce\u0001\u00ce\u0001"+ - "\u00ce\u0001\u00ce\u0001\u00cf\u0001\u00cf\u0001\u00cf\u0001\u00cf\u0001"+ - "\u00d0\u0001\u00d0\u0001\u00d0\u0001\u00d0\u0001\u00d1\u0001\u00d1\u0001"+ - "\u00d1\u0001\u00d1\u0001\u00d2\u0001\u00d2\u0001\u00d2\u0001\u00d2\u0001"+ - "\u00d3\u0001\u00d3\u0001\u00d3\u0001\u00d3\u0001\u00d4\u0001\u00d4\u0001"+ - "\u00d4\u0001\u00d4\u0001\u00d5\u0001\u00d5\u0001\u00d5\u0001\u00d5\u0001"+ - "\u00d6\u0001\u00d6\u0001\u00d6\u0001\u00d6\u0001\u00d6\u0001\u00d7\u0001"+ - "\u00d7\u0001\u00d7\u0001\u00d7\u0001\u00d7\u0001\u00d7\u0001\u00d8\u0001"+ - "\u00d8\u0001\u00d8\u0001\u00d8\u0001\u00d8\u0001\u00d8\u0001\u00d9\u0001"+ - "\u00d9\u0001\u00d9\u0001\u00d9\u0001\u00da\u0001\u00da\u0001\u00da\u0001"+ - "\u00da\u0001\u00db\u0001\u00db\u0001\u00db\u0001\u00db\u0001\u00dc\u0001"+ - "\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dd\u0001"+ - "\u00dd\u0001\u00dd\u0001\u00dd\u0001\u00dd\u0001\u00dd\u0001\u00de\u0001"+ - "\u00de\u0001\u00de\u0001\u00de\u0001\u00de\u0001\u00de\u0001\u00df\u0001"+ - "\u00df\u0001\u00df\u0001\u00df\u0001\u00e0\u0001\u00e0\u0001\u00e0\u0001"+ - "\u00e0\u0001\u00e1\u0001\u00e1\u0001\u00e1\u0001\u00e1\u0001\u00e2\u0001"+ - "\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e3\u0001"+ - "\u00e3\u0001\u00e3\u0001\u00e3\u0001\u00e3\u0001\u00e3\u0001\u00e4\u0001"+ - "\u00e4\u0001\u00e4\u0001\u00e4\u0001\u00e4\u0001\u00e4\u0001\u00e5\u0001"+ - "\u00e5\u0001\u00e5\u0001\u00e5\u0001\u00e5\u0001\u00e6\u0001\u00e6\u0001"+ - "\u00e6\u0001\u00e6\u0001\u00e6\u0001\u00e7\u0001\u00e7\u0001\u00e7\u0001"+ - "\u00e7\u0001\u00e8\u0001\u00e8\u0001\u00e8\u0001\u00e8\u0001\u00e9\u0001"+ - "\u00e9\u0001\u00e9\u0001\u00e9\u0001\u00ea\u0001\u00ea\u0001\u00ea\u0001"+ - "\u00ea\u0001\u00eb\u0001\u00eb\u0001\u00eb\u0001\u00eb\u0001\u00ec\u0001"+ - "\u00ec\u0001\u00ec\u0001\u00ec\u0001\u00ed\u0001\u00ed\u0001\u00ed\u0001"+ - "\u00ed\u0001\u00ee\u0001\u00ee\u0001\u00ee\u0001\u00ee\u0001\u00ef\u0001"+ - "\u00ef\u0001\u00ef\u0001\u00ef\u0002\u02e8\u032d\u0000\u00f0\u0011\u0001"+ - "\u0013\u0002\u0015\u0003\u0017\u0004\u0019\u0005\u001b\u0006\u001d\u0007"+ - "\u001f\b!\t#\n%\u000b\'\f)\r+\u000e-\u000f/\u00101\u00113\u00125\u0013"+ - "7\u00149\u0015;\u0016=\u0017?\u0018A\u0019C\u001aE\u001bG\u001cI\u001d"+ - "K\u0000M\u0000O\u0000Q\u0000S\u0000U\u0000W\u0000Y\u0000[\u0000]\u0000"+ - "_\u001ea\u001fc e!g\"i#k$m%o&q\'s(u)w*y+{,}-\u007f.\u0081/\u00830\u0085"+ - "1\u00872\u00893\u008b4\u008d5\u008f6\u00917\u00938\u00959\u0097:\u0099"+ - ";\u009b<\u009d=\u009f>\u00a1?\u00a3@\u00a5A\u00a7B\u00a9C\u00abD\u00ad"+ - "E\u00afF\u00b1G\u00b3\u0000\u00b5H\u00b7I\u00b9J\u00bbK\u00bdL\u00bf\u0000"+ - "\u00c1M\u00c3N\u00c5O\u00c7P\u00c9\u0000\u00cb\u0000\u00cdQ\u00cfR\u00d1"+ - "S\u00d3\u0000\u00d5\u0000\u00d7\u0000\u00d9\u0000\u00db\u0000\u00dd\u0000"+ - "\u00df\u0000\u00e1T\u00e3\u0000\u00e5U\u00e7\u0000\u00e9\u0000\u00ebV"+ - "\u00edW\u00efX\u00f1\u0000\u00f3\u0000\u00f5\u0000\u00f7\u0000\u00f9\u0000"+ - "\u00fb\u0000\u00fd\u0000\u00ff\u0000\u0101\u0000\u0103Y\u0105Z\u0107["+ - "\u0109\\\u010b\u0000\u010d\u0000\u010f\u0000\u0111\u0000\u0113\u0000\u0115"+ - "\u0000\u0117\u0000\u0119\u0000\u011b]\u011d\u0000\u011f^\u0121_\u0123"+ - "`\u0125\u0000\u0127\u0000\u0129a\u012bb\u012d\u0000\u012fc\u0131\u0000"+ - "\u0133d\u0135e\u0137f\u0139\u0000\u013b\u0000\u013d\u0000\u013f\u0000"+ - "\u0141\u0000\u0143\u0000\u0145\u0000\u0147\u0000\u0149\u0000\u014b\u0000"+ - "\u014d\u0000\u014fg\u0151h\u0153i\u0155\u0000\u0157\u0000\u0159\u0000"+ - "\u015b\u0000\u015d\u0000\u015f\u0000\u0161\u0000\u0163\u0000\u0165j\u0167"+ - "k\u0169l\u016b\u0000\u016dm\u016fn\u0171o\u0173p\u0175\u0000\u0177\u0000"+ - "\u0179q\u017br\u017ds\u017ft\u0181\u0000\u0183\u0000\u0185\u0000\u0187"+ - "\u0000\u0189\u0000\u018b\u0000\u018d\u0000\u018fu\u0191v\u0193w\u0195"+ - "\u0000\u0197\u0000\u0199\u0000\u019b\u0000\u019dx\u019fy\u01a1z\u01a3"+ - "\u0000\u01a5{\u01a7\u0000\u01a9\u0000\u01ab|\u01ad\u0000\u01af\u0000\u01b1"+ - "\u0000\u01b3\u0000\u01b5\u0000\u01b7}\u01b9~\u01bb\u007f\u01bd\u0000\u01bf"+ - "\u0000\u01c1\u0000\u01c3\u0080\u01c5\u0081\u01c7\u0082\u01c9\u0000\u01cb"+ - "\u0000\u01cd\u0000\u01cf\u0083\u01d1\u0084\u01d3\u0085\u01d5\u0000\u01d7"+ - "\u0000\u01d9\u0000\u01db\u0000\u01dd\u0000\u01df\u0000\u01e1\u0000\u01e3"+ - "\u0000\u01e5\u0000\u01e7\u0000\u01e9\u0000\u01eb\u0086\u01ed\u0087\u01ef"+ - "\u0088\u0011\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b"+ - "\f\r\u000e\u000f\u0010$\u0002\u0000DDdd\u0002\u0000IIii\u0002\u0000SS"+ - "ss\u0002\u0000EEee\u0002\u0000CCcc\u0002\u0000TTtt\u0002\u0000RRrr\u0002"+ - "\u0000OOoo\u0002\u0000PPpp\u0002\u0000NNnn\u0002\u0000HHhh\u0002\u0000"+ - "VVvv\u0002\u0000AAaa\u0002\u0000LLll\u0002\u0000XXxx\u0002\u0000FFff\u0002"+ - "\u0000MMmm\u0002\u0000GGgg\u0002\u0000KKkk\u0002\u0000WWww\u0002\u0000"+ - "UUuu\u0006\u0000\t\n\r\r //[[]]\u0002\u0000\n\n\r\r\u0003\u0000\t\n\r"+ - "\r \u0001\u000009\u0002\u0000AZaz\b\u0000\"\"NNRRTT\\\\nnrrtt\u0004\u0000"+ - "\n\n\r\r\"\"\\\\\u0002\u0000++--\u0001\u0000``\u0002\u0000BBbb\u0002\u0000"+ - "YYyy\u000b\u0000\t\n\r\r \"\",,//::==[[]]||\u0002\u0000**//\u000b\u0000"+ - "\t\n\r\r \"#,,//::<<>?\\\\||\u0002\u0000JJjj\u070e\u0000\u0011\u0001"+ - "\u0000\u0000\u0000\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001"+ - "\u0000\u0000\u0000\u0000\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001"+ - "\u0000\u0000\u0000\u0000\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001"+ - "\u0000\u0000\u0000\u0000\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000"+ - "\u0000\u0000\u0000#\u0001\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000"+ - "\u0000\'\u0001\u0000\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000"+ - "+\u0001\u0000\u0000\u0000\u0000-\u0001\u0000\u0000\u0000\u0000/\u0001"+ - "\u0000\u0000\u0000\u00001\u0001\u0000\u0000\u0000\u00003\u0001\u0000\u0000"+ - "\u0000\u00005\u0001\u0000\u0000\u0000\u00007\u0001\u0000\u0000\u0000\u0000"+ - "9\u0001\u0000\u0000\u0000\u0000;\u0001\u0000\u0000\u0000\u0000=\u0001"+ - "\u0000\u0000\u0000\u0000?\u0001\u0000\u0000\u0000\u0000A\u0001\u0000\u0000"+ - "\u0000\u0000C\u0001\u0000\u0000\u0000\u0000E\u0001\u0000\u0000\u0000\u0000"+ - "G\u0001\u0000\u0000\u0000\u0001I\u0001\u0000\u0000\u0000\u0001_\u0001"+ - "\u0000\u0000\u0000\u0001a\u0001\u0000\u0000\u0000\u0001c\u0001\u0000\u0000"+ - "\u0000\u0001e\u0001\u0000\u0000\u0000\u0001g\u0001\u0000\u0000\u0000\u0001"+ - "i\u0001\u0000\u0000\u0000\u0001k\u0001\u0000\u0000\u0000\u0001m\u0001"+ - "\u0000\u0000\u0000\u0001o\u0001\u0000\u0000\u0000\u0001q\u0001\u0000\u0000"+ - "\u0000\u0001s\u0001\u0000\u0000\u0000\u0001u\u0001\u0000\u0000\u0000\u0001"+ - "w\u0001\u0000\u0000\u0000\u0001y\u0001\u0000\u0000\u0000\u0001{\u0001"+ - "\u0000\u0000\u0000\u0001}\u0001\u0000\u0000\u0000\u0001\u007f\u0001\u0000"+ - "\u0000\u0000\u0001\u0081\u0001\u0000\u0000\u0000\u0001\u0083\u0001\u0000"+ - "\u0000\u0000\u0001\u0085\u0001\u0000\u0000\u0000\u0001\u0087\u0001\u0000"+ - "\u0000\u0000\u0001\u0089\u0001\u0000\u0000\u0000\u0001\u008b\u0001\u0000"+ - "\u0000\u0000\u0001\u008d\u0001\u0000\u0000\u0000\u0001\u008f\u0001\u0000"+ - "\u0000\u0000\u0001\u0091\u0001\u0000\u0000\u0000\u0001\u0093\u0001\u0000"+ - "\u0000\u0000\u0001\u0095\u0001\u0000\u0000\u0000\u0001\u0097\u0001\u0000"+ - "\u0000\u0000\u0001\u0099\u0001\u0000\u0000\u0000\u0001\u009b\u0001\u0000"+ - "\u0000\u0000\u0001\u009d\u0001\u0000\u0000\u0000\u0001\u009f\u0001\u0000"+ - "\u0000\u0000\u0001\u00a1\u0001\u0000\u0000\u0000\u0001\u00a3\u0001\u0000"+ - "\u0000\u0000\u0001\u00a5\u0001\u0000\u0000\u0000\u0001\u00a7\u0001\u0000"+ - "\u0000\u0000\u0001\u00a9\u0001\u0000\u0000\u0000\u0001\u00ab\u0001\u0000"+ - "\u0000\u0000\u0001\u00ad\u0001\u0000\u0000\u0000\u0001\u00af\u0001\u0000"+ - "\u0000\u0000\u0001\u00b1\u0001\u0000\u0000\u0000\u0001\u00b3\u0001\u0000"+ - "\u0000\u0000\u0001\u00b5\u0001\u0000\u0000\u0000\u0001\u00b7\u0001\u0000"+ - "\u0000\u0000\u0001\u00b9\u0001\u0000\u0000\u0000\u0001\u00bb\u0001\u0000"+ - "\u0000\u0000\u0001\u00bd\u0001\u0000\u0000\u0000\u0001\u00c1\u0001\u0000"+ - "\u0000\u0000\u0001\u00c3\u0001\u0000\u0000\u0000\u0001\u00c5\u0001\u0000"+ - "\u0000\u0000\u0001\u00c7\u0001\u0000\u0000\u0000\u0002\u00c9\u0001\u0000"+ - "\u0000\u0000\u0002\u00cb\u0001\u0000\u0000\u0000\u0002\u00cd\u0001\u0000"+ - "\u0000\u0000\u0002\u00cf\u0001\u0000\u0000\u0000\u0002\u00d1\u0001\u0000"+ - "\u0000\u0000\u0003\u00d3\u0001\u0000\u0000\u0000\u0003\u00d5\u0001\u0000"+ - "\u0000\u0000\u0003\u00d7\u0001\u0000\u0000\u0000\u0003\u00d9\u0001\u0000"+ - "\u0000\u0000\u0003\u00db\u0001\u0000\u0000\u0000\u0003\u00dd\u0001\u0000"+ - "\u0000\u0000\u0003\u00df\u0001\u0000\u0000\u0000\u0003\u00e1\u0001\u0000"+ - "\u0000\u0000\u0003\u00e5\u0001\u0000\u0000\u0000\u0003\u00e7\u0001\u0000"+ - "\u0000\u0000\u0003\u00e9\u0001\u0000\u0000\u0000\u0003\u00eb\u0001\u0000"+ - "\u0000\u0000\u0003\u00ed\u0001\u0000\u0000\u0000\u0003\u00ef\u0001\u0000"+ - "\u0000\u0000\u0004\u00f1\u0001\u0000\u0000\u0000\u0004\u00f3\u0001\u0000"+ - "\u0000\u0000\u0004\u00f5\u0001\u0000\u0000\u0000\u0004\u00f7\u0001\u0000"+ - "\u0000\u0000\u0004\u00f9\u0001\u0000\u0000\u0000\u0004\u00fb\u0001\u0000"+ - "\u0000\u0000\u0004\u00fd\u0001\u0000\u0000\u0000\u0004\u0103\u0001\u0000"+ - "\u0000\u0000\u0004\u0105\u0001\u0000\u0000\u0000\u0004\u0107\u0001\u0000"+ - "\u0000\u0000\u0004\u0109\u0001\u0000\u0000\u0000\u0005\u010b\u0001\u0000"+ - "\u0000\u0000\u0005\u010d\u0001\u0000\u0000\u0000\u0005\u010f\u0001\u0000"+ - "\u0000\u0000\u0005\u0111\u0001\u0000\u0000\u0000\u0005\u0113\u0001\u0000"+ - "\u0000\u0000\u0005\u0115\u0001\u0000\u0000\u0000\u0005\u0117\u0001\u0000"+ - "\u0000\u0000\u0005\u0119\u0001\u0000\u0000\u0000\u0005\u011b\u0001\u0000"+ - "\u0000\u0000\u0005\u011d\u0001\u0000\u0000\u0000\u0005\u011f\u0001\u0000"+ - "\u0000\u0000\u0005\u0121\u0001\u0000\u0000\u0000\u0005\u0123\u0001\u0000"+ - "\u0000\u0000\u0006\u0125\u0001\u0000\u0000\u0000\u0006\u0127\u0001\u0000"+ - "\u0000\u0000\u0006\u0129\u0001\u0000\u0000\u0000\u0006\u012b\u0001\u0000"+ - "\u0000\u0000\u0006\u012f\u0001\u0000\u0000\u0000\u0006\u0131\u0001\u0000"+ - "\u0000\u0000\u0006\u0133\u0001\u0000\u0000\u0000\u0006\u0135\u0001\u0000"+ - "\u0000\u0000\u0006\u0137\u0001\u0000\u0000\u0000\u0007\u0139\u0001\u0000"+ - "\u0000\u0000\u0007\u013b\u0001\u0000\u0000\u0000\u0007\u013d\u0001\u0000"+ - "\u0000\u0000\u0007\u013f\u0001\u0000\u0000\u0000\u0007\u0141\u0001\u0000"+ - "\u0000\u0000\u0007\u0143\u0001\u0000\u0000\u0000\u0007\u0145\u0001\u0000"+ - "\u0000\u0000\u0007\u0147\u0001\u0000\u0000\u0000\u0007\u0149\u0001\u0000"+ - "\u0000\u0000\u0007\u014b\u0001\u0000\u0000\u0000\u0007\u014d\u0001\u0000"+ - "\u0000\u0000\u0007\u014f\u0001\u0000\u0000\u0000\u0007\u0151\u0001\u0000"+ - "\u0000\u0000\u0007\u0153\u0001\u0000\u0000\u0000\b\u0155\u0001\u0000\u0000"+ - "\u0000\b\u0157\u0001\u0000\u0000\u0000\b\u0159\u0001\u0000\u0000\u0000"+ - "\b\u015b\u0001\u0000\u0000\u0000\b\u015d\u0001\u0000\u0000\u0000\b\u015f"+ - "\u0001\u0000\u0000\u0000\b\u0161\u0001\u0000\u0000\u0000\b\u0163\u0001"+ - "\u0000\u0000\u0000\b\u0165\u0001\u0000\u0000\u0000\b\u0167\u0001\u0000"+ - "\u0000\u0000\b\u0169\u0001\u0000\u0000\u0000\t\u016b\u0001\u0000\u0000"+ - "\u0000\t\u016d\u0001\u0000\u0000\u0000\t\u016f\u0001\u0000\u0000\u0000"+ - "\t\u0171\u0001\u0000\u0000\u0000\t\u0173\u0001\u0000\u0000\u0000\n\u0175"+ - "\u0001\u0000\u0000\u0000\n\u0177\u0001\u0000\u0000\u0000\n\u0179\u0001"+ - "\u0000\u0000\u0000\n\u017b\u0001\u0000\u0000\u0000\n\u017d\u0001\u0000"+ - "\u0000\u0000\n\u017f\u0001\u0000\u0000\u0000\u000b\u0181\u0001\u0000\u0000"+ - "\u0000\u000b\u0183\u0001\u0000\u0000\u0000\u000b\u0185\u0001\u0000\u0000"+ - "\u0000\u000b\u0187\u0001\u0000\u0000\u0000\u000b\u0189\u0001\u0000\u0000"+ - "\u0000\u000b\u018b\u0001\u0000\u0000\u0000\u000b\u018d\u0001\u0000\u0000"+ - "\u0000\u000b\u018f\u0001\u0000\u0000\u0000\u000b\u0191\u0001\u0000\u0000"+ - "\u0000\u000b\u0193\u0001\u0000\u0000\u0000\f\u0195\u0001\u0000\u0000\u0000"+ - "\f\u0197\u0001\u0000\u0000\u0000\f\u0199\u0001\u0000\u0000\u0000\f\u019b"+ + "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ + "\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004"+ + "\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+ + "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+ + "\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ + "\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+ + "\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+ + "\b\u0001\b\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+ + "\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+ + "\n\u0001\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b"+ + "\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001"+ + "\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+ + "\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+ + "\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+ + "\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001"+ + "\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+ + "\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+ + "\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001"+ + "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ + "\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+ + "\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ + "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+ + "\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+ + "\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0015\u0001\u0015\u0001"+ + "\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001"+ + "\u0015\u0001\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ + "\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+ + "\u0016\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001"+ + "\u0017\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018\u0001\u0018\u0001"+ + "\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0018\u0001\u0019\u0001"+ + "\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001\u0019\u0001"+ + "\u0019\u0001\u0019\u0001\u001a\u0004\u001a\u02ea\b\u001a\u000b\u001a\f"+ + "\u001a\u02eb\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001b"+ + "\u0001\u001b\u0005\u001b\u02f4\b\u001b\n\u001b\f\u001b\u02f7\t\u001b\u0001"+ + "\u001b\u0003\u001b\u02fa\b\u001b\u0001\u001b\u0003\u001b\u02fd\b\u001b"+ + "\u0001\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c"+ + "\u0001\u001c\u0005\u001c\u0306\b\u001c\n\u001c\f\u001c\u0309\t\u001c\u0001"+ + "\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001d\u0004"+ + "\u001d\u0311\b\u001d\u000b\u001d\f\u001d\u0312\u0001\u001d\u0001\u001d"+ + "\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001f\u0001\u001f"+ + "\u0001 \u0001 \u0001!\u0001!\u0001!\u0001\"\u0001\"\u0001#\u0001#\u0003"+ + "#\u0326\b#\u0001#\u0004#\u0329\b#\u000b#\f#\u032a\u0001$\u0001$\u0001"+ + "%\u0001%\u0001&\u0001&\u0001&\u0003&\u0334\b&\u0001\'\u0001\'\u0001(\u0001"+ + "(\u0001(\u0003(\u033b\b(\u0001)\u0001)\u0001)\u0005)\u0340\b)\n)\f)\u0343"+ + "\t)\u0001)\u0001)\u0001)\u0001)\u0001)\u0001)\u0005)\u034b\b)\n)\f)\u034e"+ + "\t)\u0001)\u0001)\u0001)\u0001)\u0001)\u0003)\u0355\b)\u0001)\u0003)\u0358"+ + "\b)\u0003)\u035a\b)\u0001*\u0004*\u035d\b*\u000b*\f*\u035e\u0001+\u0004"+ + "+\u0362\b+\u000b+\f+\u0363\u0001+\u0001+\u0005+\u0368\b+\n+\f+\u036b\t"+ + "+\u0001+\u0001+\u0004+\u036f\b+\u000b+\f+\u0370\u0001+\u0004+\u0374\b"+ + "+\u000b+\f+\u0375\u0001+\u0001+\u0005+\u037a\b+\n+\f+\u037d\t+\u0003+"+ + "\u037f\b+\u0001+\u0001+\u0001+\u0001+\u0004+\u0385\b+\u000b+\f+\u0386"+ + "\u0001+\u0001+\u0003+\u038b\b+\u0001,\u0001,\u0001,\u0001,\u0001-\u0001"+ + "-\u0001-\u0001-\u0001.\u0001.\u0001/\u0001/\u0001/\u00010\u00010\u0001"+ + "0\u00011\u00011\u00012\u00012\u00013\u00013\u00013\u00013\u00013\u0001"+ + "4\u00014\u00015\u00015\u00015\u00015\u00015\u00015\u00016\u00016\u0001"+ + "6\u00016\u00016\u00016\u00017\u00017\u00017\u00018\u00018\u00018\u0001"+ + "9\u00019\u00019\u00019\u00019\u0001:\u0001:\u0001:\u0001:\u0001:\u0001"+ + ";\u0001;\u0001<\u0001<\u0001<\u0001<\u0001=\u0001=\u0001=\u0001=\u0001"+ + "=\u0001>\u0001>\u0001>\u0001>\u0001>\u0001>\u0001?\u0001?\u0001?\u0001"+ + "@\u0001@\u0001@\u0001A\u0001A\u0001B\u0001B\u0001B\u0001B\u0001B\u0001"+ + "B\u0001C\u0001C\u0001D\u0001D\u0001D\u0001D\u0001D\u0001E\u0001E\u0001"+ + "E\u0001E\u0001E\u0001F\u0001F\u0001F\u0001G\u0001G\u0001G\u0001H\u0001"+ + "H\u0001H\u0001I\u0001I\u0001J\u0001J\u0001J\u0001K\u0001K\u0001L\u0001"+ + "L\u0001L\u0001M\u0001M\u0001N\u0001N\u0001O\u0001O\u0001P\u0001P\u0001"+ + "Q\u0001Q\u0001R\u0001R\u0001S\u0001S\u0001T\u0001T\u0001T\u0001U\u0001"+ + "U\u0001U\u0001U\u0001V\u0001V\u0001V\u0003V\u041a\bV\u0001V\u0005V\u041d"+ + "\bV\nV\fV\u0420\tV\u0001V\u0001V\u0004V\u0424\bV\u000bV\fV\u0425\u0003"+ + "V\u0428\bV\u0001W\u0001W\u0001W\u0003W\u042d\bW\u0001W\u0005W\u0430\b"+ + "W\nW\fW\u0433\tW\u0001W\u0001W\u0004W\u0437\bW\u000bW\fW\u0438\u0003W"+ + "\u043b\bW\u0001X\u0001X\u0001X\u0001X\u0001X\u0001Y\u0001Y\u0001Y\u0001"+ + "Y\u0001Y\u0001Z\u0001Z\u0005Z\u0449\bZ\nZ\fZ\u044c\tZ\u0001Z\u0001Z\u0003"+ + "Z\u0450\bZ\u0001Z\u0004Z\u0453\bZ\u000bZ\fZ\u0454\u0003Z\u0457\bZ\u0001"+ + "[\u0001[\u0004[\u045b\b[\u000b[\f[\u045c\u0001[\u0001[\u0001\\\u0001\\"+ + "\u0001]\u0001]\u0001]\u0001]\u0001^\u0001^\u0001^\u0001^\u0001_\u0001"+ + "_\u0001_\u0001_\u0001`\u0001`\u0001`\u0001`\u0001`\u0001a\u0001a\u0001"+ + "a\u0001a\u0001a\u0001b\u0001b\u0001b\u0001b\u0001c\u0001c\u0001c\u0001"+ + "c\u0001d\u0001d\u0001d\u0001d\u0001e\u0001e\u0001e\u0001e\u0001e\u0001"+ + "f\u0001f\u0001f\u0001f\u0001g\u0001g\u0001g\u0001g\u0001h\u0001h\u0001"+ + "h\u0001h\u0001i\u0001i\u0001i\u0001i\u0001j\u0001j\u0001j\u0001j\u0001"+ + "k\u0001k\u0001k\u0001k\u0001l\u0001l\u0001l\u0001l\u0001l\u0001l\u0001"+ + "l\u0001l\u0001l\u0001m\u0001m\u0001m\u0003m\u04ae\bm\u0001n\u0004n\u04b1"+ + "\bn\u000bn\fn\u04b2\u0001o\u0001o\u0001o\u0001o\u0001p\u0001p\u0001p\u0001"+ + "p\u0001q\u0001q\u0001q\u0001q\u0001r\u0001r\u0001r\u0001r\u0001s\u0001"+ + "s\u0001s\u0001s\u0001t\u0001t\u0001t\u0001t\u0001t\u0001u\u0001u\u0001"+ + "u\u0001u\u0001v\u0001v\u0001v\u0001v\u0001w\u0001w\u0001w\u0001w\u0001"+ + "x\u0001x\u0001x\u0001x\u0001y\u0001y\u0001y\u0001y\u0001z\u0001z\u0001"+ + "z\u0001z\u0001{\u0001{\u0001{\u0001{\u0003{\u04ea\b{\u0001|\u0001|\u0003"+ + "|\u04ee\b|\u0001|\u0005|\u04f1\b|\n|\f|\u04f4\t|\u0001|\u0001|\u0003|"+ + "\u04f8\b|\u0001|\u0004|\u04fb\b|\u000b|\f|\u04fc\u0003|\u04ff\b|\u0001"+ + "}\u0001}\u0004}\u0503\b}\u000b}\f}\u0504\u0001~\u0001~\u0001~\u0001~\u0001"+ + "\u007f\u0001\u007f\u0001\u007f\u0001\u007f\u0001\u0080\u0001\u0080\u0001"+ + "\u0080\u0001\u0080\u0001\u0081\u0001\u0081\u0001\u0081\u0001\u0081\u0001"+ + "\u0081\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0082\u0001\u0083\u0001"+ + "\u0083\u0001\u0083\u0001\u0083\u0001\u0084\u0001\u0084\u0001\u0084\u0001"+ + "\u0084\u0001\u0085\u0001\u0085\u0001\u0085\u0001\u0085\u0001\u0086\u0001"+ + "\u0086\u0001\u0086\u0001\u0086\u0001\u0087\u0001\u0087\u0001\u0087\u0001"+ + "\u0087\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0088\u0001\u0089\u0001"+ + "\u0089\u0001\u0089\u0001\u008a\u0001\u008a\u0001\u008a\u0001\u008a\u0001"+ + "\u008b\u0001\u008b\u0001\u008b\u0001\u008b\u0001\u008c\u0001\u008c\u0001"+ + "\u008c\u0001\u008c\u0001\u008d\u0001\u008d\u0001\u008d\u0001\u008d\u0001"+ + "\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008e\u0001\u008f\u0001"+ + "\u008f\u0001\u008f\u0001\u008f\u0001\u008f\u0001\u0090\u0001\u0090\u0001"+ + "\u0090\u0001\u0090\u0001\u0090\u0001\u0091\u0001\u0091\u0001\u0091\u0001"+ + "\u0091\u0001\u0091\u0001\u0092\u0001\u0092\u0001\u0093\u0004\u0093\u055e"+ + "\b\u0093\u000b\u0093\f\u0093\u055f\u0001\u0093\u0001\u0093\u0003\u0093"+ + "\u0564\b\u0093\u0001\u0093\u0004\u0093\u0567\b\u0093\u000b\u0093\f\u0093"+ + "\u0568\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0094\u0001\u0095\u0001"+ + "\u0095\u0001\u0095\u0001\u0095\u0001\u0096\u0001\u0096\u0001\u0096\u0001"+ + "\u0096\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0097\u0001\u0098\u0001"+ + "\u0098\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0098\u0001\u0099\u0001"+ + "\u0099\u0001\u0099\u0001\u0099\u0001\u009a\u0001\u009a\u0001\u009a\u0001"+ + "\u009a\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009b\u0001\u009c\u0001"+ + "\u009c\u0001\u009c\u0001\u009c\u0001\u009d\u0001\u009d\u0001\u009d\u0001"+ + "\u009d\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009e\u0001\u009f\u0001"+ + "\u009f\u0001\u009f\u0001\u009f\u0001\u00a0\u0001\u00a0\u0001\u00a0\u0001"+ + "\u00a0\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a1\u0001\u00a2\u0001"+ + "\u00a2\u0001\u00a2\u0001\u00a2\u0001\u00a3\u0001\u00a3\u0001\u00a3\u0001"+ + "\u00a3\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a4\u0001\u00a5\u0001"+ + "\u00a5\u0001\u00a5\u0001\u00a5\u0001\u00a6\u0001\u00a6\u0001\u00a6\u0001"+ + "\u00a6\u0001\u00a6\u0001\u00a7\u0001\u00a7\u0001\u00a7\u0001\u00a7\u0001"+ + "\u00a8\u0001\u00a8\u0001\u00a8\u0001\u00a8\u0001\u00a9\u0001\u00a9\u0001"+ + "\u00a9\u0001\u00a9\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001\u00aa\u0001"+ + "\u00ab\u0001\u00ab\u0001\u00ab\u0001\u00ab\u0001\u00ac\u0001\u00ac\u0001"+ + "\u00ac\u0001\u00ac\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001\u00ad\u0001"+ + "\u00ae\u0001\u00ae\u0001\u00ae\u0001\u00ae\u0001\u00af\u0001\u00af\u0001"+ + "\u00af\u0001\u00af\u0001\u00b0\u0001\u00b0\u0001\u00b0\u0001\u00b0\u0001"+ + "\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b1\u0001\u00b2\u0001"+ + "\u00b2\u0001\u00b2\u0001\u00b2\u0001\u00b2\u0001\u00b3\u0001\u00b3\u0001"+ + "\u00b3\u0001\u00b3\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001\u00b4\u0001"+ + "\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b5\u0001\u00b6\u0001\u00b6\u0001"+ + "\u00b6\u0001\u00b6\u0001\u00b6\u0001\u00b7\u0001\u00b7\u0001\u00b7\u0001"+ + "\u00b7\u0001\u00b8\u0001\u00b8\u0001\u00b8\u0001\u00b8\u0001\u00b8\u0004"+ + "\u00b8\u0606\b\u00b8\u000b\u00b8\f\u00b8\u0607\u0001\u00b9\u0001\u00b9"+ + "\u0001\u00b9\u0001\u00b9\u0001\u00ba\u0001\u00ba\u0001\u00ba\u0001\u00ba"+ + "\u0001\u00bb\u0001\u00bb\u0001\u00bb\u0001\u00bb\u0001\u00bc\u0001\u00bc"+ + "\u0001\u00bc\u0001\u00bc\u0001\u00bc\u0001\u00bd\u0001\u00bd\u0001\u00bd"+ + "\u0001\u00bd\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00be\u0001\u00bf"+ + "\u0001\u00bf\u0001\u00bf\u0001\u00bf\u0001\u00c0\u0001\u00c0\u0001\u00c0"+ + "\u0001\u00c0\u0001\u00c0\u0001\u00c1\u0001\u00c1\u0001\u00c1\u0001\u00c1"+ + "\u0001\u00c2\u0001\u00c2\u0001\u00c2\u0001\u00c2\u0001\u00c3\u0001\u00c3"+ + "\u0001\u00c3\u0001\u00c3\u0001\u00c4\u0001\u00c4\u0001\u00c4\u0001\u00c4"+ + "\u0001\u00c5\u0001\u00c5\u0001\u00c5\u0001\u00c5\u0001\u00c6\u0001\u00c6"+ + "\u0001\u00c6\u0001\u00c6\u0001\u00c6\u0001\u00c6\u0001\u00c7\u0001\u00c7"+ + "\u0001\u00c7\u0001\u00c7\u0001\u00c8\u0001\u00c8\u0001\u00c8\u0001\u00c8"+ + "\u0001\u00c9\u0001\u00c9\u0001\u00c9\u0001\u00c9\u0001\u00ca\u0001\u00ca"+ + "\u0001\u00ca\u0001\u00ca\u0001\u00cb\u0001\u00cb\u0001\u00cb\u0001\u00cb"+ + "\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001\u00cc\u0001\u00cd\u0001\u00cd"+ + "\u0001\u00cd\u0001\u00cd\u0001\u00cd\u0001\u00ce\u0001\u00ce\u0001\u00ce"+ + "\u0001\u00ce\u0001\u00ce\u0001\u00cf\u0001\u00cf\u0001\u00cf\u0001\u00cf"+ + "\u0001\u00d0\u0001\u00d0\u0001\u00d0\u0001\u00d0\u0001\u00d0\u0001\u00d0"+ + "\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d1"+ + "\u0001\u00d1\u0001\u00d1\u0001\u00d1\u0001\u00d2\u0001\u00d2\u0001\u00d2"+ + "\u0001\u00d2\u0001\u00d3\u0001\u00d3\u0001\u00d3\u0001\u00d3\u0001\u00d4"+ + "\u0001\u00d4\u0001\u00d4\u0001\u00d4\u0001\u00d5\u0001\u00d5\u0001\u00d5"+ + "\u0001\u00d5\u0001\u00d6\u0001\u00d6\u0001\u00d6\u0001\u00d6\u0001\u00d7"+ + "\u0001\u00d7\u0001\u00d7\u0001\u00d7\u0001\u00d8\u0001\u00d8\u0001\u00d8"+ + "\u0001\u00d8\u0001\u00d9\u0001\u00d9\u0001\u00d9\u0001\u00d9\u0001\u00da"+ + "\u0001\u00da\u0001\u00da\u0001\u00da\u0001\u00da\u0001\u00db\u0001\u00db"+ + "\u0001\u00db\u0001\u00db\u0001\u00db\u0001\u00db\u0001\u00dc\u0001\u00dc"+ + "\u0001\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dc\u0001\u00dd\u0001\u00dd"+ + "\u0001\u00dd\u0001\u00dd\u0001\u00de\u0001\u00de\u0001\u00de\u0001\u00de"+ + "\u0001\u00df\u0001\u00df\u0001\u00df\u0001\u00df\u0001\u00e0\u0001\u00e0"+ + "\u0001\u00e0\u0001\u00e0\u0001\u00e0\u0001\u00e0\u0001\u00e1\u0001\u00e1"+ + "\u0001\u00e1\u0001\u00e1\u0001\u00e1\u0001\u00e1\u0001\u00e2\u0001\u00e2"+ + "\u0001\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e2\u0001\u00e3\u0001\u00e3"+ + "\u0001\u00e3\u0001\u00e3\u0001\u00e4\u0001\u00e4\u0001\u00e4\u0001\u00e4"+ + "\u0001\u00e5\u0001\u00e5\u0001\u00e5\u0001\u00e5\u0001\u00e6\u0001\u00e6"+ + "\u0001\u00e6\u0001\u00e6\u0001\u00e6\u0001\u00e6\u0001\u00e7\u0001\u00e7"+ + "\u0001\u00e7\u0001\u00e7\u0001\u00e7\u0001\u00e7\u0001\u00e8\u0001\u00e8"+ + "\u0001\u00e8\u0001\u00e8\u0001\u00e8\u0001\u00e8\u0001\u00e9\u0001\u00e9"+ + "\u0001\u00e9\u0001\u00e9\u0001\u00e9\u0001\u00ea\u0001\u00ea\u0001\u00ea"+ + "\u0001\u00ea\u0001\u00ea\u0001\u00eb\u0001\u00eb\u0001\u00eb\u0001\u00eb"+ + "\u0001\u00ec\u0001\u00ec\u0001\u00ec\u0001\u00ec\u0001\u00ed\u0001\u00ed"+ + "\u0001\u00ed\u0001\u00ed\u0001\u00ee\u0001\u00ee\u0001\u00ee\u0001\u00ee"+ + "\u0001\u00ef\u0001\u00ef\u0001\u00ef\u0001\u00ef\u0001\u00f0\u0001\u00f0"+ + "\u0001\u00f0\u0001\u00f0\u0001\u00f1\u0001\u00f1\u0001\u00f1\u0001\u00f1"+ + "\u0001\u00f2\u0001\u00f2\u0001\u00f2\u0001\u00f2\u0001\u00f3\u0001\u00f3"+ + "\u0001\u00f3\u0001\u00f3\u0002\u0307\u034c\u0000\u00f4\u0011\u0001\u0013"+ + "\u0002\u0015\u0003\u0017\u0004\u0019\u0005\u001b\u0006\u001d\u0007\u001f"+ + "\b!\t#\n%\u000b\'\f)\r+\u000e-\u000f/\u00101\u00113\u00125\u00137\u0014"+ + "9\u0015;\u0016=\u0017?\u0018A\u0019C\u001aE\u001bG\u001cI\u001dK\u001e"+ + "M\u001fO\u0000Q\u0000S\u0000U\u0000W\u0000Y\u0000[\u0000]\u0000_\u0000"+ + "a\u0000c e!g\"i#k$m%o&q\'s(u)w*y+{,}-\u007f.\u0081/\u00830\u00851\u0087"+ + "2\u00893\u008b4\u008d5\u008f6\u00917\u00938\u00959\u0097:\u0099;\u009b"+ + "<\u009d=\u009f>\u00a1?\u00a3@\u00a5A\u00a7B\u00a9C\u00abD\u00adE\u00af"+ + "F\u00b1G\u00b3H\u00b5I\u00b7J\u00b9K\u00bb\u0000\u00bdL\u00bfM\u00c1N"+ + "\u00c3O\u00c5P\u00c7\u0000\u00c9Q\u00cbR\u00cdS\u00cfT\u00d1\u0000\u00d3"+ + "\u0000\u00d5U\u00d7V\u00d9W\u00db\u0000\u00dd\u0000\u00df\u0000\u00e1"+ + "\u0000\u00e3\u0000\u00e5\u0000\u00e7\u0000\u00e9X\u00eb\u0000\u00edY\u00ef"+ + "\u0000\u00f1\u0000\u00f3Z\u00f5[\u00f7\\\u00f9\u0000\u00fb\u0000\u00fd"+ + "\u0000\u00ff\u0000\u0101\u0000\u0103\u0000\u0105\u0000\u0107\u0000\u0109"+ + "\u0000\u010b]\u010d^\u010f_\u0111`\u0113\u0000\u0115\u0000\u0117\u0000"+ + "\u0119\u0000\u011b\u0000\u011d\u0000\u011f\u0000\u0121\u0000\u0123a\u0125"+ + "\u0000\u0127b\u0129c\u012bd\u012d\u0000\u012f\u0000\u0131\u0000\u0133"+ + "\u0000\u0135\u0000\u0137e\u0139\u0000\u013bf\u013dg\u013fh\u0141\u0000"+ + "\u0143\u0000\u0145\u0000\u0147\u0000\u0149\u0000\u014b\u0000\u014d\u0000"+ + "\u014f\u0000\u0151\u0000\u0153\u0000\u0155\u0000\u0157i\u0159j\u015bk"+ + "\u015d\u0000\u015f\u0000\u0161\u0000\u0163\u0000\u0165\u0000\u0167\u0000"+ + "\u0169\u0000\u016b\u0000\u016dl\u016fm\u0171n\u0173\u0000\u0175o\u0177"+ + "p\u0179q\u017br\u017d\u0000\u017f\u0000\u0181s\u0183t\u0185u\u0187v\u0189"+ + "\u0000\u018b\u0000\u018d\u0000\u018f\u0000\u0191\u0000\u0193\u0000\u0195"+ + "\u0000\u0197w\u0199x\u019by\u019d\u0000\u019f\u0000\u01a1\u0000\u01a3"+ + "\u0000\u01a5z\u01a7{\u01a9|\u01ab\u0000\u01ad}\u01af\u0000\u01b1\u0000"+ + "\u01b3~\u01b5\u0000\u01b7\u0000\u01b9\u0000\u01bb\u0000\u01bd\u0000\u01bf"+ + "\u007f\u01c1\u0080\u01c3\u0081\u01c5\u0000\u01c7\u0000\u01c9\u0000\u01cb"+ + "\u0082\u01cd\u0083\u01cf\u0084\u01d1\u0000\u01d3\u0000\u01d5\u0000\u01d7"+ + "\u0085\u01d9\u0086\u01db\u0087\u01dd\u0000\u01df\u0000\u01e1\u0000\u01e3"+ + "\u0000\u01e5\u0000\u01e7\u0000\u01e9\u0000\u01eb\u0000\u01ed\u0000\u01ef"+ + "\u0000\u01f1\u0000\u01f3\u0088\u01f5\u0089\u01f7\u008a\u0011\u0000\u0001"+ + "\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010"+ + "$\u0002\u0000CCcc\u0002\u0000OOoo\u0002\u0000MMmm\u0002\u0000PPpp\u0002"+ + "\u0000LLll\u0002\u0000EEee\u0002\u0000TTtt\u0002\u0000IIii\u0002\u0000"+ + "NNnn\u0002\u0000DDdd\u0002\u0000SSss\u0002\u0000RRrr\u0002\u0000HHhh\u0002"+ + "\u0000VVvv\u0002\u0000AAaa\u0002\u0000XXxx\u0002\u0000FFff\u0002\u0000"+ + "GGgg\u0002\u0000KKkk\u0002\u0000WWww\u0002\u0000UUuu\u0006\u0000\t\n\r"+ + "\r //[[]]\u0002\u0000\n\n\r\r\u0003\u0000\t\n\r\r \u0001\u000009\u0002"+ + "\u0000AZaz\b\u0000\"\"NNRRTT\\\\nnrrtt\u0004\u0000\n\n\r\r\"\"\\\\\u0002"+ + "\u0000++--\u0001\u0000``\u0002\u0000BBbb\u0002\u0000YYyy\u000b\u0000\t"+ + "\n\r\r \"\",,//::==[[]]||\u0002\u0000**//\u000b\u0000\t\n\r\r \"#,,"+ + "//::<<>?\\\\||\u0002\u0000JJjj\u0733\u0000\u0011\u0001\u0000\u0000\u0000"+ + "\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000"+ + "\u0000\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000"+ + "\u0000\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000"+ + "\u0000\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000"+ + "#\u0001\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'\u0001"+ + "\u0000\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000\u0000"+ + "\u0000\u0000-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000\u0000"+ + "1\u0001\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00005\u0001"+ + "\u0000\u0000\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001\u0000\u0000"+ + "\u0000\u0000;\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000\u0000\u0000"+ + "?\u0001\u0000\u0000\u0000\u0000A\u0001\u0000\u0000\u0000\u0000C\u0001"+ + "\u0000\u0000\u0000\u0000E\u0001\u0000\u0000\u0000\u0000G\u0001\u0000\u0000"+ + "\u0000\u0000I\u0001\u0000\u0000\u0000\u0000K\u0001\u0000\u0000\u0000\u0001"+ + "M\u0001\u0000\u0000\u0000\u0001c\u0001\u0000\u0000\u0000\u0001e\u0001"+ + "\u0000\u0000\u0000\u0001g\u0001\u0000\u0000\u0000\u0001i\u0001\u0000\u0000"+ + "\u0000\u0001k\u0001\u0000\u0000\u0000\u0001m\u0001\u0000\u0000\u0000\u0001"+ + "o\u0001\u0000\u0000\u0000\u0001q\u0001\u0000\u0000\u0000\u0001s\u0001"+ + "\u0000\u0000\u0000\u0001u\u0001\u0000\u0000\u0000\u0001w\u0001\u0000\u0000"+ + "\u0000\u0001y\u0001\u0000\u0000\u0000\u0001{\u0001\u0000\u0000\u0000\u0001"+ + "}\u0001\u0000\u0000\u0000\u0001\u007f\u0001\u0000\u0000\u0000\u0001\u0081"+ + "\u0001\u0000\u0000\u0000\u0001\u0083\u0001\u0000\u0000\u0000\u0001\u0085"+ + "\u0001\u0000\u0000\u0000\u0001\u0087\u0001\u0000\u0000\u0000\u0001\u0089"+ + "\u0001\u0000\u0000\u0000\u0001\u008b\u0001\u0000\u0000\u0000\u0001\u008d"+ + "\u0001\u0000\u0000\u0000\u0001\u008f\u0001\u0000\u0000\u0000\u0001\u0091"+ + "\u0001\u0000\u0000\u0000\u0001\u0093\u0001\u0000\u0000\u0000\u0001\u0095"+ + "\u0001\u0000\u0000\u0000\u0001\u0097\u0001\u0000\u0000\u0000\u0001\u0099"+ + "\u0001\u0000\u0000\u0000\u0001\u009b\u0001\u0000\u0000\u0000\u0001\u009d"+ + "\u0001\u0000\u0000\u0000\u0001\u009f\u0001\u0000\u0000\u0000\u0001\u00a1"+ + "\u0001\u0000\u0000\u0000\u0001\u00a3\u0001\u0000\u0000\u0000\u0001\u00a5"+ + "\u0001\u0000\u0000\u0000\u0001\u00a7\u0001\u0000\u0000\u0000\u0001\u00a9"+ + "\u0001\u0000\u0000\u0000\u0001\u00ab\u0001\u0000\u0000\u0000\u0001\u00ad"+ + "\u0001\u0000\u0000\u0000\u0001\u00af\u0001\u0000\u0000\u0000\u0001\u00b1"+ + "\u0001\u0000\u0000\u0000\u0001\u00b3\u0001\u0000\u0000\u0000\u0001\u00b5"+ + "\u0001\u0000\u0000\u0000\u0001\u00b7\u0001\u0000\u0000\u0000\u0001\u00b9"+ + "\u0001\u0000\u0000\u0000\u0001\u00bb\u0001\u0000\u0000\u0000\u0001\u00bd"+ + "\u0001\u0000\u0000\u0000\u0001\u00bf\u0001\u0000\u0000\u0000\u0001\u00c1"+ + "\u0001\u0000\u0000\u0000\u0001\u00c3\u0001\u0000\u0000\u0000\u0001\u00c5"+ + "\u0001\u0000\u0000\u0000\u0001\u00c9\u0001\u0000\u0000\u0000\u0001\u00cb"+ + "\u0001\u0000\u0000\u0000\u0001\u00cd\u0001\u0000\u0000\u0000\u0001\u00cf"+ + "\u0001\u0000\u0000\u0000\u0002\u00d1\u0001\u0000\u0000\u0000\u0002\u00d3"+ + "\u0001\u0000\u0000\u0000\u0002\u00d5\u0001\u0000\u0000\u0000\u0002\u00d7"+ + "\u0001\u0000\u0000\u0000\u0002\u00d9\u0001\u0000\u0000\u0000\u0003\u00db"+ + "\u0001\u0000\u0000\u0000\u0003\u00dd\u0001\u0000\u0000\u0000\u0003\u00df"+ + "\u0001\u0000\u0000\u0000\u0003\u00e1\u0001\u0000\u0000\u0000\u0003\u00e3"+ + "\u0001\u0000\u0000\u0000\u0003\u00e5\u0001\u0000\u0000\u0000\u0003\u00e7"+ + "\u0001\u0000\u0000\u0000\u0003\u00e9\u0001\u0000\u0000\u0000\u0003\u00ed"+ + "\u0001\u0000\u0000\u0000\u0003\u00ef\u0001\u0000\u0000\u0000\u0003\u00f1"+ + "\u0001\u0000\u0000\u0000\u0003\u00f3\u0001\u0000\u0000\u0000\u0003\u00f5"+ + "\u0001\u0000\u0000\u0000\u0003\u00f7\u0001\u0000\u0000\u0000\u0004\u00f9"+ + "\u0001\u0000\u0000\u0000\u0004\u00fb\u0001\u0000\u0000\u0000\u0004\u00fd"+ + "\u0001\u0000\u0000\u0000\u0004\u00ff\u0001\u0000\u0000\u0000\u0004\u0101"+ + "\u0001\u0000\u0000\u0000\u0004\u0103\u0001\u0000\u0000\u0000\u0004\u0105"+ + "\u0001\u0000\u0000\u0000\u0004\u010b\u0001\u0000\u0000\u0000\u0004\u010d"+ + "\u0001\u0000\u0000\u0000\u0004\u010f\u0001\u0000\u0000\u0000\u0004\u0111"+ + "\u0001\u0000\u0000\u0000\u0005\u0113\u0001\u0000\u0000\u0000\u0005\u0115"+ + "\u0001\u0000\u0000\u0000\u0005\u0117\u0001\u0000\u0000\u0000\u0005\u0119"+ + "\u0001\u0000\u0000\u0000\u0005\u011b\u0001\u0000\u0000\u0000\u0005\u011d"+ + "\u0001\u0000\u0000\u0000\u0005\u011f\u0001\u0000\u0000\u0000\u0005\u0121"+ + "\u0001\u0000\u0000\u0000\u0005\u0123\u0001\u0000\u0000\u0000\u0005\u0125"+ + "\u0001\u0000\u0000\u0000\u0005\u0127\u0001\u0000\u0000\u0000\u0005\u0129"+ + "\u0001\u0000\u0000\u0000\u0005\u012b\u0001\u0000\u0000\u0000\u0006\u012d"+ + "\u0001\u0000\u0000\u0000\u0006\u012f\u0001\u0000\u0000\u0000\u0006\u0131"+ + "\u0001\u0000\u0000\u0000\u0006\u0133\u0001\u0000\u0000\u0000\u0006\u0137"+ + "\u0001\u0000\u0000\u0000\u0006\u0139\u0001\u0000\u0000\u0000\u0006\u013b"+ + "\u0001\u0000\u0000\u0000\u0006\u013d\u0001\u0000\u0000\u0000\u0006\u013f"+ + "\u0001\u0000\u0000\u0000\u0007\u0141\u0001\u0000\u0000\u0000\u0007\u0143"+ + "\u0001\u0000\u0000\u0000\u0007\u0145\u0001\u0000\u0000\u0000\u0007\u0147"+ + "\u0001\u0000\u0000\u0000\u0007\u0149\u0001\u0000\u0000\u0000\u0007\u014b"+ + "\u0001\u0000\u0000\u0000\u0007\u014d\u0001\u0000\u0000\u0000\u0007\u014f"+ + "\u0001\u0000\u0000\u0000\u0007\u0151\u0001\u0000\u0000\u0000\u0007\u0153"+ + "\u0001\u0000\u0000\u0000\u0007\u0155\u0001\u0000\u0000\u0000\u0007\u0157"+ + "\u0001\u0000\u0000\u0000\u0007\u0159\u0001\u0000\u0000\u0000\u0007\u015b"+ + "\u0001\u0000\u0000\u0000\b\u015d\u0001\u0000\u0000\u0000\b\u015f\u0001"+ + "\u0000\u0000\u0000\b\u0161\u0001\u0000\u0000\u0000\b\u0163\u0001\u0000"+ + "\u0000\u0000\b\u0165\u0001\u0000\u0000\u0000\b\u0167\u0001\u0000\u0000"+ + "\u0000\b\u0169\u0001\u0000\u0000\u0000\b\u016b\u0001\u0000\u0000\u0000"+ + "\b\u016d\u0001\u0000\u0000\u0000\b\u016f\u0001\u0000\u0000\u0000\b\u0171"+ + "\u0001\u0000\u0000\u0000\t\u0173\u0001\u0000\u0000\u0000\t\u0175\u0001"+ + "\u0000\u0000\u0000\t\u0177\u0001\u0000\u0000\u0000\t\u0179\u0001\u0000"+ + "\u0000\u0000\t\u017b\u0001\u0000\u0000\u0000\n\u017d\u0001\u0000\u0000"+ + "\u0000\n\u017f\u0001\u0000\u0000\u0000\n\u0181\u0001\u0000\u0000\u0000"+ + "\n\u0183\u0001\u0000\u0000\u0000\n\u0185\u0001\u0000\u0000\u0000\n\u0187"+ + "\u0001\u0000\u0000\u0000\u000b\u0189\u0001\u0000\u0000\u0000\u000b\u018b"+ + "\u0001\u0000\u0000\u0000\u000b\u018d\u0001\u0000\u0000\u0000\u000b\u018f"+ + "\u0001\u0000\u0000\u0000\u000b\u0191\u0001\u0000\u0000\u0000\u000b\u0193"+ + "\u0001\u0000\u0000\u0000\u000b\u0195\u0001\u0000\u0000\u0000\u000b\u0197"+ + "\u0001\u0000\u0000\u0000\u000b\u0199\u0001\u0000\u0000\u0000\u000b\u019b"+ "\u0001\u0000\u0000\u0000\f\u019d\u0001\u0000\u0000\u0000\f\u019f\u0001"+ - "\u0000\u0000\u0000\f\u01a1\u0001\u0000\u0000\u0000\r\u01a3\u0001\u0000"+ - "\u0000\u0000\r\u01a5\u0001\u0000\u0000\u0000\r\u01a7\u0001\u0000\u0000"+ - "\u0000\r\u01a9\u0001\u0000\u0000\u0000\r\u01ab\u0001\u0000\u0000\u0000"+ + "\u0000\u0000\u0000\f\u01a1\u0001\u0000\u0000\u0000\f\u01a3\u0001\u0000"+ + "\u0000\u0000\f\u01a5\u0001\u0000\u0000\u0000\f\u01a7\u0001\u0000\u0000"+ + "\u0000\f\u01a9\u0001\u0000\u0000\u0000\r\u01ab\u0001\u0000\u0000\u0000"+ "\r\u01ad\u0001\u0000\u0000\u0000\r\u01af\u0001\u0000\u0000\u0000\r\u01b1"+ "\u0001\u0000\u0000\u0000\r\u01b3\u0001\u0000\u0000\u0000\r\u01b5\u0001"+ "\u0000\u0000\u0000\r\u01b7\u0001\u0000\u0000\u0000\r\u01b9\u0001\u0000"+ - "\u0000\u0000\r\u01bb\u0001\u0000\u0000\u0000\u000e\u01bd\u0001\u0000\u0000"+ - "\u0000\u000e\u01bf\u0001\u0000\u0000\u0000\u000e\u01c1\u0001\u0000\u0000"+ - "\u0000\u000e\u01c3\u0001\u0000\u0000\u0000\u000e\u01c5\u0001\u0000\u0000"+ - "\u0000\u000e\u01c7\u0001\u0000\u0000\u0000\u000f\u01c9\u0001\u0000\u0000"+ - "\u0000\u000f\u01cb\u0001\u0000\u0000\u0000\u000f\u01cd\u0001\u0000\u0000"+ - "\u0000\u000f\u01cf\u0001\u0000\u0000\u0000\u000f\u01d1\u0001\u0000\u0000"+ - "\u0000\u000f\u01d3\u0001\u0000\u0000\u0000\u000f\u01d5\u0001\u0000\u0000"+ - "\u0000\u000f\u01d7\u0001\u0000\u0000\u0000\u000f\u01d9\u0001\u0000\u0000"+ - "\u0000\u000f\u01db\u0001\u0000\u0000\u0000\u0010\u01dd\u0001\u0000\u0000"+ - "\u0000\u0010\u01df\u0001\u0000\u0000\u0000\u0010\u01e1\u0001\u0000\u0000"+ - "\u0000\u0010\u01e3\u0001\u0000\u0000\u0000\u0010\u01e5\u0001\u0000\u0000"+ - "\u0000\u0010\u01e7\u0001\u0000\u0000\u0000\u0010\u01e9\u0001\u0000\u0000"+ - "\u0000\u0010\u01eb\u0001\u0000\u0000\u0000\u0010\u01ed\u0001\u0000\u0000"+ - "\u0000\u0010\u01ef\u0001\u0000\u0000\u0000\u0011\u01f1\u0001\u0000\u0000"+ - "\u0000\u0013\u01fb\u0001\u0000\u0000\u0000\u0015\u0202\u0001\u0000\u0000"+ - "\u0000\u0017\u020b\u0001\u0000\u0000\u0000\u0019\u0212\u0001\u0000\u0000"+ - "\u0000\u001b\u021c\u0001\u0000\u0000\u0000\u001d\u0223\u0001\u0000\u0000"+ - "\u0000\u001f\u022a\u0001\u0000\u0000\u0000!\u0231\u0001\u0000\u0000\u0000"+ - "#\u0239\u0001\u0000\u0000\u0000%\u0245\u0001\u0000\u0000\u0000\'\u024e"+ - "\u0001\u0000\u0000\u0000)\u0254\u0001\u0000\u0000\u0000+\u025b\u0001\u0000"+ - "\u0000\u0000-\u0262\u0001\u0000\u0000\u0000/\u026a\u0001\u0000\u0000\u0000"+ - "1\u0272\u0001\u0000\u0000\u00003\u027b\u0001\u0000\u0000\u00005\u028a"+ - "\u0001\u0000\u0000\u00007\u0299\u0001\u0000\u0000\u00009\u02a5\u0001\u0000"+ - "\u0000\u0000;\u02b0\u0001\u0000\u0000\u0000=\u02b8\u0001\u0000\u0000\u0000"+ - "?\u02c0\u0001\u0000\u0000\u0000A\u02ca\u0001\u0000\u0000\u0000C\u02d0"+ - "\u0001\u0000\u0000\u0000E\u02e1\u0001\u0000\u0000\u0000G\u02f1\u0001\u0000"+ - "\u0000\u0000I\u02f7\u0001\u0000\u0000\u0000K\u02fb\u0001\u0000\u0000\u0000"+ - "M\u02fd\u0001\u0000\u0000\u0000O\u02ff\u0001\u0000\u0000\u0000Q\u0302"+ - "\u0001\u0000\u0000\u0000S\u0304\u0001\u0000\u0000\u0000U\u030d\u0001\u0000"+ - "\u0000\u0000W\u030f\u0001\u0000\u0000\u0000Y\u0314\u0001\u0000\u0000\u0000"+ - "[\u0316\u0001\u0000\u0000\u0000]\u031b\u0001\u0000\u0000\u0000_\u033a"+ - "\u0001\u0000\u0000\u0000a\u033d\u0001\u0000\u0000\u0000c\u036b\u0001\u0000"+ - "\u0000\u0000e\u036d\u0001\u0000\u0000\u0000g\u0370\u0001\u0000\u0000\u0000"+ - "i\u0374\u0001\u0000\u0000\u0000k\u0378\u0001\u0000\u0000\u0000m\u037a"+ - "\u0001\u0000\u0000\u0000o\u037d\u0001\u0000\u0000\u0000q\u037f\u0001\u0000"+ - "\u0000\u0000s\u0381\u0001\u0000\u0000\u0000u\u0386\u0001\u0000\u0000\u0000"+ - "w\u0388\u0001\u0000\u0000\u0000y\u038e\u0001\u0000\u0000\u0000{\u0394"+ - "\u0001\u0000\u0000\u0000}\u0397\u0001\u0000\u0000\u0000\u007f\u039a\u0001"+ - "\u0000\u0000\u0000\u0081\u039f\u0001\u0000\u0000\u0000\u0083\u03a4\u0001"+ - "\u0000\u0000\u0000\u0085\u03a6\u0001\u0000\u0000\u0000\u0087\u03aa\u0001"+ - "\u0000\u0000\u0000\u0089\u03af\u0001\u0000\u0000\u0000\u008b\u03b5\u0001"+ - "\u0000\u0000\u0000\u008d\u03b8\u0001\u0000\u0000\u0000\u008f\u03ba\u0001"+ - "\u0000\u0000\u0000\u0091\u03c0\u0001\u0000\u0000\u0000\u0093\u03c2\u0001"+ - "\u0000\u0000\u0000\u0095\u03c7\u0001\u0000\u0000\u0000\u0097\u03ca\u0001"+ - "\u0000\u0000\u0000\u0099\u03cd\u0001\u0000\u0000\u0000\u009b\u03d0\u0001"+ - "\u0000\u0000\u0000\u009d\u03d2\u0001\u0000\u0000\u0000\u009f\u03d5\u0001"+ - "\u0000\u0000\u0000\u00a1\u03d7\u0001\u0000\u0000\u0000\u00a3\u03da\u0001"+ - "\u0000\u0000\u0000\u00a5\u03dc\u0001\u0000\u0000\u0000\u00a7\u03de\u0001"+ - "\u0000\u0000\u0000\u00a9\u03e0\u0001\u0000\u0000\u0000\u00ab\u03e2\u0001"+ - "\u0000\u0000\u0000\u00ad\u03e4\u0001\u0000\u0000\u0000\u00af\u03e6\u0001"+ - "\u0000\u0000\u0000\u00b1\u03e8\u0001\u0000\u0000\u0000\u00b3\u03eb\u0001"+ - "\u0000\u0000\u0000\u00b5\u0400\u0001\u0000\u0000\u0000\u00b7\u0413\u0001"+ - "\u0000\u0000\u0000\u00b9\u0415\u0001\u0000\u0000\u0000\u00bb\u041a\u0001"+ - "\u0000\u0000\u0000\u00bd\u042f\u0001\u0000\u0000\u0000\u00bf\u0431\u0001"+ - "\u0000\u0000\u0000\u00c1\u0439\u0001\u0000\u0000\u0000\u00c3\u043b\u0001"+ - "\u0000\u0000\u0000\u00c5\u043f\u0001\u0000\u0000\u0000\u00c7\u0443\u0001"+ - "\u0000\u0000\u0000\u00c9\u0447\u0001\u0000\u0000\u0000\u00cb\u044c\u0001"+ - "\u0000\u0000\u0000\u00cd\u0451\u0001\u0000\u0000\u0000\u00cf\u0455\u0001"+ - "\u0000\u0000\u0000\u00d1\u0459\u0001\u0000\u0000\u0000\u00d3\u045d\u0001"+ - "\u0000\u0000\u0000\u00d5\u0462\u0001\u0000\u0000\u0000\u00d7\u0466\u0001"+ - "\u0000\u0000\u0000\u00d9\u046a\u0001\u0000\u0000\u0000\u00db\u046e\u0001"+ - "\u0000\u0000\u0000\u00dd\u0472\u0001\u0000\u0000\u0000\u00df\u0476\u0001"+ - "\u0000\u0000\u0000\u00e1\u047a\u0001\u0000\u0000\u0000\u00e3\u0486\u0001"+ - "\u0000\u0000\u0000\u00e5\u0489\u0001\u0000\u0000\u0000\u00e7\u048d\u0001"+ - "\u0000\u0000\u0000\u00e9\u0491\u0001\u0000\u0000\u0000\u00eb\u0495\u0001"+ - "\u0000\u0000\u0000\u00ed\u0499\u0001\u0000\u0000\u0000\u00ef\u049d\u0001"+ - "\u0000\u0000\u0000\u00f1\u04a1\u0001\u0000\u0000\u0000\u00f3\u04a6\u0001"+ - "\u0000\u0000\u0000\u00f5\u04aa\u0001\u0000\u0000\u0000\u00f7\u04ae\u0001"+ - "\u0000\u0000\u0000\u00f9\u04b2\u0001\u0000\u0000\u0000\u00fb\u04b6\u0001"+ - "\u0000\u0000\u0000\u00fd\u04ba\u0001\u0000\u0000\u0000\u00ff\u04c2\u0001"+ - "\u0000\u0000\u0000\u0101\u04d7\u0001\u0000\u0000\u0000\u0103\u04db\u0001"+ - "\u0000\u0000\u0000\u0105\u04df\u0001\u0000\u0000\u0000\u0107\u04e3\u0001"+ - "\u0000\u0000\u0000\u0109\u04e7\u0001\u0000\u0000\u0000\u010b\u04eb\u0001"+ - "\u0000\u0000\u0000\u010d\u04f0\u0001\u0000\u0000\u0000\u010f\u04f4\u0001"+ - "\u0000\u0000\u0000\u0111\u04f8\u0001\u0000\u0000\u0000\u0113\u04fc\u0001"+ - "\u0000\u0000\u0000\u0115\u0500\u0001\u0000\u0000\u0000\u0117\u0504\u0001"+ - "\u0000\u0000\u0000\u0119\u0508\u0001\u0000\u0000\u0000\u011b\u050c\u0001"+ - "\u0000\u0000\u0000\u011d\u050f\u0001\u0000\u0000\u0000\u011f\u0513\u0001"+ - "\u0000\u0000\u0000\u0121\u0517\u0001\u0000\u0000\u0000\u0123\u051b\u0001"+ - "\u0000\u0000\u0000\u0125\u051f\u0001\u0000\u0000\u0000\u0127\u0524\u0001"+ - "\u0000\u0000\u0000\u0129\u0529\u0001\u0000\u0000\u0000\u012b\u052e\u0001"+ - "\u0000\u0000\u0000\u012d\u0535\u0001\u0000\u0000\u0000\u012f\u053e\u0001"+ - "\u0000\u0000\u0000\u0131\u0545\u0001\u0000\u0000\u0000\u0133\u0549\u0001"+ - "\u0000\u0000\u0000\u0135\u054d\u0001\u0000\u0000\u0000\u0137\u0551\u0001"+ - "\u0000\u0000\u0000\u0139\u0555\u0001\u0000\u0000\u0000\u013b\u055b\u0001"+ - "\u0000\u0000\u0000\u013d\u055f\u0001\u0000\u0000\u0000\u013f\u0563\u0001"+ - "\u0000\u0000\u0000\u0141\u0567\u0001\u0000\u0000\u0000\u0143\u056b\u0001"+ - "\u0000\u0000\u0000\u0145\u056f\u0001\u0000\u0000\u0000\u0147\u0573\u0001"+ - "\u0000\u0000\u0000\u0149\u0577\u0001\u0000\u0000\u0000\u014b\u057b\u0001"+ - "\u0000\u0000\u0000\u014d\u057f\u0001\u0000\u0000\u0000\u014f\u0583\u0001"+ - "\u0000\u0000\u0000\u0151\u0587\u0001\u0000\u0000\u0000\u0153\u058b\u0001"+ - "\u0000\u0000\u0000\u0155\u058f\u0001\u0000\u0000\u0000\u0157\u0594\u0001"+ - "\u0000\u0000\u0000\u0159\u0598\u0001\u0000\u0000\u0000\u015b\u059c\u0001"+ - "\u0000\u0000\u0000\u015d\u05a0\u0001\u0000\u0000\u0000\u015f\u05a4\u0001"+ - "\u0000\u0000\u0000\u0161\u05a8\u0001\u0000\u0000\u0000\u0163\u05ac\u0001"+ - "\u0000\u0000\u0000\u0165\u05b0\u0001\u0000\u0000\u0000\u0167\u05b4\u0001"+ - "\u0000\u0000\u0000\u0169\u05b8\u0001\u0000\u0000\u0000\u016b\u05bc\u0001"+ - "\u0000\u0000\u0000\u016d\u05c1\u0001\u0000\u0000\u0000\u016f\u05c6\u0001"+ - "\u0000\u0000\u0000\u0171\u05ca\u0001\u0000\u0000\u0000\u0173\u05ce\u0001"+ - "\u0000\u0000\u0000\u0175\u05d2\u0001\u0000\u0000\u0000\u0177\u05d7\u0001"+ - "\u0000\u0000\u0000\u0179\u05e0\u0001\u0000\u0000\u0000\u017b\u05e4\u0001"+ - "\u0000\u0000\u0000\u017d\u05e8\u0001\u0000\u0000\u0000\u017f\u05ec\u0001"+ - "\u0000\u0000\u0000\u0181\u05f0\u0001\u0000\u0000\u0000\u0183\u05f5\u0001"+ - "\u0000\u0000\u0000\u0185\u05f9\u0001\u0000\u0000\u0000\u0187\u05fd\u0001"+ - "\u0000\u0000\u0000\u0189\u0601\u0001\u0000\u0000\u0000\u018b\u0606\u0001"+ - "\u0000\u0000\u0000\u018d\u060a\u0001\u0000\u0000\u0000\u018f\u060e\u0001"+ - "\u0000\u0000\u0000\u0191\u0612\u0001\u0000\u0000\u0000\u0193\u0616\u0001"+ - "\u0000\u0000\u0000\u0195\u061a\u0001\u0000\u0000\u0000\u0197\u0620\u0001"+ - "\u0000\u0000\u0000\u0199\u0624\u0001\u0000\u0000\u0000\u019b\u0628\u0001"+ - "\u0000\u0000\u0000\u019d\u062c\u0001\u0000\u0000\u0000\u019f\u0630\u0001"+ - "\u0000\u0000\u0000\u01a1\u0634\u0001\u0000\u0000\u0000\u01a3\u0638\u0001"+ - "\u0000\u0000\u0000\u01a5\u063d\u0001\u0000\u0000\u0000\u01a7\u0642\u0001"+ - "\u0000\u0000\u0000\u01a9\u0646\u0001\u0000\u0000\u0000\u01ab\u064c\u0001"+ - "\u0000\u0000\u0000\u01ad\u0655\u0001\u0000\u0000\u0000\u01af\u0659\u0001"+ - "\u0000\u0000\u0000\u01b1\u065d\u0001\u0000\u0000\u0000\u01b3\u0661\u0001"+ - "\u0000\u0000\u0000\u01b5\u0665\u0001\u0000\u0000\u0000\u01b7\u0669\u0001"+ - "\u0000\u0000\u0000\u01b9\u066d\u0001\u0000\u0000\u0000\u01bb\u0671\u0001"+ - "\u0000\u0000\u0000\u01bd\u0675\u0001\u0000\u0000\u0000\u01bf\u067a\u0001"+ - "\u0000\u0000\u0000\u01c1\u0680\u0001\u0000\u0000\u0000\u01c3\u0686\u0001"+ - "\u0000\u0000\u0000\u01c5\u068a\u0001\u0000\u0000\u0000\u01c7\u068e\u0001"+ - "\u0000\u0000\u0000\u01c9\u0692\u0001\u0000\u0000\u0000\u01cb\u0698\u0001"+ - "\u0000\u0000\u0000\u01cd\u069e\u0001\u0000\u0000\u0000\u01cf\u06a4\u0001"+ - "\u0000\u0000\u0000\u01d1\u06a8\u0001\u0000\u0000\u0000\u01d3\u06ac\u0001"+ - "\u0000\u0000\u0000\u01d5\u06b0\u0001\u0000\u0000\u0000\u01d7\u06b6\u0001"+ - "\u0000\u0000\u0000\u01d9\u06bc\u0001\u0000\u0000\u0000\u01db\u06c2\u0001"+ - "\u0000\u0000\u0000\u01dd\u06c7\u0001\u0000\u0000\u0000\u01df\u06cc\u0001"+ - "\u0000\u0000\u0000\u01e1\u06d0\u0001\u0000\u0000\u0000\u01e3\u06d4\u0001"+ - "\u0000\u0000\u0000\u01e5\u06d8\u0001\u0000\u0000\u0000\u01e7\u06dc\u0001"+ - "\u0000\u0000\u0000\u01e9\u06e0\u0001\u0000\u0000\u0000\u01eb\u06e4\u0001"+ - "\u0000\u0000\u0000\u01ed\u06e8\u0001\u0000\u0000\u0000\u01ef\u06ec\u0001"+ - "\u0000\u0000\u0000\u01f1\u01f2\u0007\u0000\u0000\u0000\u01f2\u01f3\u0007"+ - "\u0001\u0000\u0000\u01f3\u01f4\u0007\u0002\u0000\u0000\u01f4\u01f5\u0007"+ - "\u0002\u0000\u0000\u01f5\u01f6\u0007\u0003\u0000\u0000\u01f6\u01f7\u0007"+ - "\u0004\u0000\u0000\u01f7\u01f8\u0007\u0005\u0000\u0000\u01f8\u01f9\u0001"+ - "\u0000\u0000\u0000\u01f9\u01fa\u0006\u0000\u0000\u0000\u01fa\u0012\u0001"+ - "\u0000\u0000\u0000\u01fb\u01fc\u0007\u0000\u0000\u0000\u01fc\u01fd\u0007"+ - "\u0006\u0000\u0000\u01fd\u01fe\u0007\u0007\u0000\u0000\u01fe\u01ff\u0007"+ - "\b\u0000\u0000\u01ff\u0200\u0001\u0000\u0000\u0000\u0200\u0201\u0006\u0001"+ - "\u0001\u0000\u0201\u0014\u0001\u0000\u0000\u0000\u0202\u0203\u0007\u0003"+ - "\u0000\u0000\u0203\u0204\u0007\t\u0000\u0000\u0204\u0205\u0007\u0006\u0000"+ - "\u0000\u0205\u0206\u0007\u0001\u0000\u0000\u0206\u0207\u0007\u0004\u0000"+ - "\u0000\u0207\u0208\u0007\n\u0000\u0000\u0208\u0209\u0001\u0000\u0000\u0000"+ - "\u0209\u020a\u0006\u0002\u0002\u0000\u020a\u0016\u0001\u0000\u0000\u0000"+ - "\u020b\u020c\u0007\u0003\u0000\u0000\u020c\u020d\u0007\u000b\u0000\u0000"+ - "\u020d\u020e\u0007\f\u0000\u0000\u020e\u020f\u0007\r\u0000\u0000\u020f"+ - "\u0210\u0001\u0000\u0000\u0000\u0210\u0211\u0006\u0003\u0000\u0000\u0211"+ - "\u0018\u0001\u0000\u0000\u0000\u0212\u0213\u0007\u0003\u0000\u0000\u0213"+ - "\u0214\u0007\u000e\u0000\u0000\u0214\u0215\u0007\b\u0000\u0000\u0215\u0216"+ - "\u0007\r\u0000\u0000\u0216\u0217\u0007\f\u0000\u0000\u0217\u0218\u0007"+ - "\u0001\u0000\u0000\u0218\u0219\u0007\t\u0000\u0000\u0219\u021a\u0001\u0000"+ - "\u0000\u0000\u021a\u021b\u0006\u0004\u0003\u0000\u021b\u001a\u0001\u0000"+ - "\u0000\u0000\u021c\u021d\u0007\u000f\u0000\u0000\u021d\u021e\u0007\u0006"+ - "\u0000\u0000\u021e\u021f\u0007\u0007\u0000\u0000\u021f\u0220\u0007\u0010"+ - "\u0000\u0000\u0220\u0221\u0001\u0000\u0000\u0000\u0221\u0222\u0006\u0005"+ - "\u0004\u0000\u0222\u001c\u0001\u0000\u0000\u0000\u0223\u0224\u0007\u0011"+ - "\u0000\u0000\u0224\u0225\u0007\u0006\u0000\u0000\u0225\u0226\u0007\u0007"+ - "\u0000\u0000\u0226\u0227\u0007\u0012\u0000\u0000\u0227\u0228\u0001\u0000"+ - "\u0000\u0000\u0228\u0229\u0006\u0006\u0000\u0000\u0229\u001e\u0001\u0000"+ - "\u0000\u0000\u022a\u022b\u0007\u0012\u0000\u0000\u022b\u022c\u0007\u0003"+ - "\u0000\u0000\u022c\u022d\u0007\u0003\u0000\u0000\u022d\u022e\u0007\b\u0000"+ - "\u0000\u022e\u022f\u0001\u0000\u0000\u0000\u022f\u0230\u0006\u0007\u0001"+ - "\u0000\u0230 \u0001\u0000\u0000\u0000\u0231\u0232\u0007\r\u0000\u0000"+ - "\u0232\u0233\u0007\u0001\u0000\u0000\u0233\u0234\u0007\u0010\u0000\u0000"+ - "\u0234\u0235\u0007\u0001\u0000\u0000\u0235\u0236\u0007\u0005\u0000\u0000"+ - "\u0236\u0237\u0001\u0000\u0000\u0000\u0237\u0238\u0006\b\u0000\u0000\u0238"+ - "\"\u0001\u0000\u0000\u0000\u0239\u023a\u0007\u0010\u0000\u0000\u023a\u023b"+ - "\u0007\u000b\u0000\u0000\u023b\u023c\u0005_\u0000\u0000\u023c\u023d\u0007"+ - "\u0003\u0000\u0000\u023d\u023e\u0007\u000e\u0000\u0000\u023e\u023f\u0007"+ - "\b\u0000\u0000\u023f\u0240\u0007\f\u0000\u0000\u0240\u0241\u0007\t\u0000"+ - "\u0000\u0241\u0242\u0007\u0000\u0000\u0000\u0242\u0243\u0001\u0000\u0000"+ - "\u0000\u0243\u0244\u0006\t\u0005\u0000\u0244$\u0001\u0000\u0000\u0000"+ - "\u0245\u0246\u0007\u0006\u0000\u0000\u0246\u0247\u0007\u0003\u0000\u0000"+ - "\u0247\u0248\u0007\t\u0000\u0000\u0248\u0249\u0007\f\u0000\u0000\u0249"+ - "\u024a\u0007\u0010\u0000\u0000\u024a\u024b\u0007\u0003\u0000\u0000\u024b"+ - "\u024c\u0001\u0000\u0000\u0000\u024c\u024d\u0006\n\u0006\u0000\u024d&"+ - "\u0001\u0000\u0000\u0000\u024e\u024f\u0007\u0006\u0000\u0000\u024f\u0250"+ - "\u0007\u0007\u0000\u0000\u0250\u0251\u0007\u0013\u0000\u0000\u0251\u0252"+ - "\u0001\u0000\u0000\u0000\u0252\u0253\u0006\u000b\u0000\u0000\u0253(\u0001"+ - "\u0000\u0000\u0000\u0254\u0255\u0007\u0002\u0000\u0000\u0255\u0256\u0007"+ - "\n\u0000\u0000\u0256\u0257\u0007\u0007\u0000\u0000\u0257\u0258\u0007\u0013"+ - "\u0000\u0000\u0258\u0259\u0001\u0000\u0000\u0000\u0259\u025a\u0006\f\u0007"+ - "\u0000\u025a*\u0001\u0000\u0000\u0000\u025b\u025c\u0007\u0002\u0000\u0000"+ - "\u025c\u025d\u0007\u0007\u0000\u0000\u025d\u025e\u0007\u0006\u0000\u0000"+ - "\u025e\u025f\u0007\u0005\u0000\u0000\u025f\u0260\u0001\u0000\u0000\u0000"+ - "\u0260\u0261\u0006\r\u0000\u0000\u0261,\u0001\u0000\u0000\u0000\u0262"+ - "\u0263\u0007\u0002\u0000\u0000\u0263\u0264\u0007\u0005\u0000\u0000\u0264"+ - "\u0265\u0007\f\u0000\u0000\u0265\u0266\u0007\u0005\u0000\u0000\u0266\u0267"+ - "\u0007\u0002\u0000\u0000\u0267\u0268\u0001\u0000\u0000\u0000\u0268\u0269"+ - "\u0006\u000e\u0000\u0000\u0269.\u0001\u0000\u0000\u0000\u026a\u026b\u0007"+ - "\u0013\u0000\u0000\u026b\u026c\u0007\n\u0000\u0000\u026c\u026d\u0007\u0003"+ - "\u0000\u0000\u026d\u026e\u0007\u0006\u0000\u0000\u026e\u026f\u0007\u0003"+ - "\u0000\u0000\u026f\u0270\u0001\u0000\u0000\u0000\u0270\u0271\u0006\u000f"+ - "\u0000\u0000\u02710\u0001\u0000\u0000\u0000\u0272\u0273\u0007\r\u0000"+ - "\u0000\u0273\u0274\u0007\u0007\u0000\u0000\u0274\u0275\u0007\u0007\u0000"+ - "\u0000\u0275\u0276\u0007\u0012\u0000\u0000\u0276\u0277\u0007\u0014\u0000"+ - "\u0000\u0277\u0278\u0007\b\u0000\u0000\u0278\u0279\u0001\u0000\u0000\u0000"+ - "\u0279\u027a\u0006\u0010\b\u0000\u027a2\u0001\u0000\u0000\u0000\u027b"+ - "\u027c\u0007\u0004\u0000\u0000\u027c\u027d\u0007\n\u0000\u0000\u027d\u027e"+ - "\u0007\f\u0000\u0000\u027e\u027f\u0007\t\u0000\u0000\u027f\u0280\u0007"+ - "\u0011\u0000\u0000\u0280\u0281\u0007\u0003\u0000\u0000\u0281\u0282\u0005"+ - "_\u0000\u0000\u0282\u0283\u0007\b\u0000\u0000\u0283\u0284\u0007\u0007"+ - "\u0000\u0000\u0284\u0285\u0007\u0001\u0000\u0000\u0285\u0286\u0007\t\u0000"+ - "\u0000\u0286\u0287\u0007\u0005\u0000\u0000\u0287\u0288\u0001\u0000\u0000"+ - "\u0000\u0288\u0289\u0006\u0011\t\u0000\u02894\u0001\u0000\u0000\u0000"+ - "\u028a\u028b\u0004\u0012\u0000\u0000\u028b\u028c\u0007\u0001\u0000\u0000"+ - "\u028c\u028d\u0007\t\u0000\u0000\u028d\u028e\u0007\r\u0000\u0000\u028e"+ - "\u028f\u0007\u0001\u0000\u0000\u028f\u0290\u0007\t\u0000\u0000\u0290\u0291"+ - "\u0007\u0003\u0000\u0000\u0291\u0292\u0007\u0002\u0000\u0000\u0292\u0293"+ - "\u0007\u0005\u0000\u0000\u0293\u0294\u0007\f\u0000\u0000\u0294\u0295\u0007"+ - "\u0005\u0000\u0000\u0295\u0296\u0007\u0002\u0000\u0000\u0296\u0297\u0001"+ - "\u0000\u0000\u0000\u0297\u0298\u0006\u0012\u0000\u0000\u02986\u0001\u0000"+ - "\u0000\u0000\u0299\u029a\u0004\u0013\u0001\u0000\u029a\u029b\u0007\r\u0000"+ - "\u0000\u029b\u029c\u0007\u0007\u0000\u0000\u029c\u029d\u0007\u0007\u0000"+ - "\u0000\u029d\u029e\u0007\u0012\u0000\u0000\u029e\u029f\u0007\u0014\u0000"+ - "\u0000\u029f\u02a0\u0007\b\u0000\u0000\u02a0\u02a1\u0005_\u0000\u0000"+ - "\u02a1\u02a2\u0005\u8001\uf414\u0000\u0000\u02a2\u02a3\u0001\u0000\u0000"+ - "\u0000\u02a3\u02a4\u0006\u0013\n\u0000\u02a48\u0001\u0000\u0000\u0000"+ - "\u02a5\u02a6\u0004\u0014\u0002\u0000\u02a6\u02a7\u0007\u0010\u0000\u0000"+ - "\u02a7\u02a8\u0007\u0003\u0000\u0000\u02a8\u02a9\u0007\u0005\u0000\u0000"+ - "\u02a9\u02aa\u0007\u0006\u0000\u0000\u02aa\u02ab\u0007\u0001\u0000\u0000"+ - "\u02ab\u02ac\u0007\u0004\u0000\u0000\u02ac\u02ad\u0007\u0002\u0000\u0000"+ - "\u02ad\u02ae\u0001\u0000\u0000\u0000\u02ae\u02af\u0006\u0014\u000b\u0000"+ - "\u02af:\u0001\u0000\u0000\u0000\u02b0\u02b1\u0004\u0015\u0003\u0000\u02b1"+ - "\u02b2\u0007\u000f\u0000\u0000\u02b2\u02b3\u0007\u0014\u0000\u0000\u02b3"+ - "\u02b4\u0007\r\u0000\u0000\u02b4\u02b5\u0007\r\u0000\u0000\u02b5\u02b6"+ - "\u0001\u0000\u0000\u0000\u02b6\u02b7\u0006\u0015\b\u0000\u02b7<\u0001"+ - "\u0000\u0000\u0000\u02b8\u02b9\u0004\u0016\u0004\u0000\u02b9\u02ba\u0007"+ - "\r\u0000\u0000\u02ba\u02bb\u0007\u0003\u0000\u0000\u02bb\u02bc\u0007\u000f"+ - "\u0000\u0000\u02bc\u02bd\u0007\u0005\u0000\u0000\u02bd\u02be\u0001\u0000"+ - "\u0000\u0000\u02be\u02bf\u0006\u0016\b\u0000\u02bf>\u0001\u0000\u0000"+ - "\u0000\u02c0\u02c1\u0004\u0017\u0005\u0000\u02c1\u02c2\u0007\u0006\u0000"+ - "\u0000\u02c2\u02c3\u0007\u0001\u0000\u0000\u02c3\u02c4\u0007\u0011\u0000"+ - "\u0000\u02c4\u02c5\u0007\n\u0000\u0000\u02c5\u02c6\u0007\u0005\u0000\u0000"+ - "\u02c6\u02c7\u0001\u0000\u0000\u0000\u02c7\u02c8\u0006\u0017\b\u0000\u02c8"+ - "@\u0001\u0000\u0000\u0000\u02c9\u02cb\b\u0015\u0000\u0000\u02ca\u02c9"+ - "\u0001\u0000\u0000\u0000\u02cb\u02cc\u0001\u0000\u0000\u0000\u02cc\u02ca"+ - "\u0001\u0000\u0000\u0000\u02cc\u02cd\u0001\u0000\u0000\u0000\u02cd\u02ce"+ - "\u0001\u0000\u0000\u0000\u02ce\u02cf\u0006\u0018\u0000\u0000\u02cfB\u0001"+ - "\u0000\u0000\u0000\u02d0\u02d1\u0005/\u0000\u0000\u02d1\u02d2\u0005/\u0000"+ - "\u0000\u02d2\u02d6\u0001\u0000\u0000\u0000\u02d3\u02d5\b\u0016\u0000\u0000"+ - "\u02d4\u02d3\u0001\u0000\u0000\u0000\u02d5\u02d8\u0001\u0000\u0000\u0000"+ - "\u02d6\u02d4\u0001\u0000\u0000\u0000\u02d6\u02d7\u0001\u0000\u0000\u0000"+ - "\u02d7\u02da\u0001\u0000\u0000\u0000\u02d8\u02d6\u0001\u0000\u0000\u0000"+ - "\u02d9\u02db\u0005\r\u0000\u0000\u02da\u02d9\u0001\u0000\u0000\u0000\u02da"+ - "\u02db\u0001\u0000\u0000\u0000\u02db\u02dd\u0001\u0000\u0000\u0000\u02dc"+ - "\u02de\u0005\n\u0000\u0000\u02dd\u02dc\u0001\u0000\u0000\u0000\u02dd\u02de"+ - "\u0001\u0000\u0000\u0000\u02de\u02df\u0001\u0000\u0000\u0000\u02df\u02e0"+ - "\u0006\u0019\f\u0000\u02e0D\u0001\u0000\u0000\u0000\u02e1\u02e2\u0005"+ - "/\u0000\u0000\u02e2\u02e3\u0005*\u0000\u0000\u02e3\u02e8\u0001\u0000\u0000"+ - "\u0000\u02e4\u02e7\u0003E\u001a\u0000\u02e5\u02e7\t\u0000\u0000\u0000"+ - "\u02e6\u02e4\u0001\u0000\u0000\u0000\u02e6\u02e5\u0001\u0000\u0000\u0000"+ - "\u02e7\u02ea\u0001\u0000\u0000\u0000\u02e8\u02e9\u0001\u0000\u0000\u0000"+ - "\u02e8\u02e6\u0001\u0000\u0000\u0000\u02e9\u02eb\u0001\u0000\u0000\u0000"+ - "\u02ea\u02e8\u0001\u0000\u0000\u0000\u02eb\u02ec\u0005*\u0000\u0000\u02ec"+ - "\u02ed\u0005/\u0000\u0000\u02ed\u02ee\u0001\u0000\u0000\u0000\u02ee\u02ef"+ - "\u0006\u001a\f\u0000\u02efF\u0001\u0000\u0000\u0000\u02f0\u02f2\u0007"+ - "\u0017\u0000\u0000\u02f1\u02f0\u0001\u0000\u0000\u0000\u02f2\u02f3\u0001"+ - "\u0000\u0000\u0000\u02f3\u02f1\u0001\u0000\u0000\u0000\u02f3\u02f4\u0001"+ - "\u0000\u0000\u0000\u02f4\u02f5\u0001\u0000\u0000\u0000\u02f5\u02f6\u0006"+ - "\u001b\f\u0000\u02f6H\u0001\u0000\u0000\u0000\u02f7\u02f8\u0005|\u0000"+ - "\u0000\u02f8\u02f9\u0001\u0000\u0000\u0000\u02f9\u02fa\u0006\u001c\r\u0000"+ - "\u02faJ\u0001\u0000\u0000\u0000\u02fb\u02fc\u0007\u0018\u0000\u0000\u02fc"+ - "L\u0001\u0000\u0000\u0000\u02fd\u02fe\u0007\u0019\u0000\u0000\u02feN\u0001"+ - "\u0000\u0000\u0000\u02ff\u0300\u0005\\\u0000\u0000\u0300\u0301\u0007\u001a"+ - "\u0000\u0000\u0301P\u0001\u0000\u0000\u0000\u0302\u0303\b\u001b\u0000"+ - "\u0000\u0303R\u0001\u0000\u0000\u0000\u0304\u0306\u0007\u0003\u0000\u0000"+ - "\u0305\u0307\u0007\u001c\u0000\u0000\u0306\u0305\u0001\u0000\u0000\u0000"+ - "\u0306\u0307\u0001\u0000\u0000\u0000\u0307\u0309\u0001\u0000\u0000\u0000"+ - "\u0308\u030a\u0003K\u001d\u0000\u0309\u0308\u0001\u0000\u0000\u0000\u030a"+ - "\u030b\u0001\u0000\u0000\u0000\u030b\u0309\u0001\u0000\u0000\u0000\u030b"+ - "\u030c\u0001\u0000\u0000\u0000\u030cT\u0001\u0000\u0000\u0000\u030d\u030e"+ - "\u0005@\u0000\u0000\u030eV\u0001\u0000\u0000\u0000\u030f\u0310\u0005`"+ - "\u0000\u0000\u0310X\u0001\u0000\u0000\u0000\u0311\u0315\b\u001d\u0000"+ - "\u0000\u0312\u0313\u0005`\u0000\u0000\u0313\u0315\u0005`\u0000\u0000\u0314"+ - "\u0311\u0001\u0000\u0000\u0000\u0314\u0312\u0001\u0000\u0000\u0000\u0315"+ - "Z\u0001\u0000\u0000\u0000\u0316\u0317\u0005_\u0000\u0000\u0317\\\u0001"+ - "\u0000\u0000\u0000\u0318\u031c\u0003M\u001e\u0000\u0319\u031c\u0003K\u001d"+ - "\u0000\u031a\u031c\u0003[%\u0000\u031b\u0318\u0001\u0000\u0000\u0000\u031b"+ - "\u0319\u0001\u0000\u0000\u0000\u031b\u031a\u0001\u0000\u0000\u0000\u031c"+ - "^\u0001\u0000\u0000\u0000\u031d\u0322\u0005\"\u0000\u0000\u031e\u0321"+ - "\u0003O\u001f\u0000\u031f\u0321\u0003Q \u0000\u0320\u031e\u0001\u0000"+ - "\u0000\u0000\u0320\u031f\u0001\u0000\u0000\u0000\u0321\u0324\u0001\u0000"+ - "\u0000\u0000\u0322\u0320\u0001\u0000\u0000\u0000\u0322\u0323\u0001\u0000"+ - "\u0000\u0000\u0323\u0325\u0001\u0000\u0000\u0000\u0324\u0322\u0001\u0000"+ - "\u0000\u0000\u0325\u033b\u0005\"\u0000\u0000\u0326\u0327\u0005\"\u0000"+ - "\u0000\u0327\u0328\u0005\"\u0000\u0000\u0328\u0329\u0005\"\u0000\u0000"+ - "\u0329\u032d\u0001\u0000\u0000\u0000\u032a\u032c\b\u0016\u0000\u0000\u032b"+ - "\u032a\u0001\u0000\u0000\u0000\u032c\u032f\u0001\u0000\u0000\u0000\u032d"+ - "\u032e\u0001\u0000\u0000\u0000\u032d\u032b\u0001\u0000\u0000\u0000\u032e"+ - "\u0330\u0001\u0000\u0000\u0000\u032f\u032d\u0001\u0000\u0000\u0000\u0330"+ - "\u0331\u0005\"\u0000\u0000\u0331\u0332\u0005\"\u0000\u0000\u0332\u0333"+ - "\u0005\"\u0000\u0000\u0333\u0335\u0001\u0000\u0000\u0000\u0334\u0336\u0005"+ - "\"\u0000\u0000\u0335\u0334\u0001\u0000\u0000\u0000\u0335\u0336\u0001\u0000"+ - "\u0000\u0000\u0336\u0338\u0001\u0000\u0000\u0000\u0337\u0339\u0005\"\u0000"+ - "\u0000\u0338\u0337\u0001\u0000\u0000\u0000\u0338\u0339\u0001\u0000\u0000"+ - "\u0000\u0339\u033b\u0001\u0000\u0000\u0000\u033a\u031d\u0001\u0000\u0000"+ - "\u0000\u033a\u0326\u0001\u0000\u0000\u0000\u033b`\u0001\u0000\u0000\u0000"+ - "\u033c\u033e\u0003K\u001d\u0000\u033d\u033c\u0001\u0000\u0000\u0000\u033e"+ - "\u033f\u0001\u0000\u0000\u0000\u033f\u033d\u0001\u0000\u0000\u0000\u033f"+ - "\u0340\u0001\u0000\u0000\u0000\u0340b\u0001\u0000\u0000\u0000\u0341\u0343"+ - "\u0003K\u001d\u0000\u0342\u0341\u0001\u0000\u0000\u0000\u0343\u0344\u0001"+ - "\u0000\u0000\u0000\u0344\u0342\u0001\u0000\u0000\u0000\u0344\u0345\u0001"+ - "\u0000\u0000\u0000\u0345\u0346\u0001\u0000\u0000\u0000\u0346\u034a\u0003"+ - "u2\u0000\u0347\u0349\u0003K\u001d\u0000\u0348\u0347\u0001\u0000\u0000"+ - "\u0000\u0349\u034c\u0001\u0000\u0000\u0000\u034a\u0348\u0001\u0000\u0000"+ - "\u0000\u034a\u034b\u0001\u0000\u0000\u0000\u034b\u036c\u0001\u0000\u0000"+ - "\u0000\u034c\u034a\u0001\u0000\u0000\u0000\u034d\u034f\u0003u2\u0000\u034e"+ - "\u0350\u0003K\u001d\u0000\u034f\u034e\u0001\u0000\u0000\u0000\u0350\u0351"+ - "\u0001\u0000\u0000\u0000\u0351\u034f\u0001\u0000\u0000\u0000\u0351\u0352"+ - "\u0001\u0000\u0000\u0000\u0352\u036c\u0001\u0000\u0000\u0000\u0353\u0355"+ - "\u0003K\u001d\u0000\u0354\u0353\u0001\u0000\u0000\u0000\u0355\u0356\u0001"+ - "\u0000\u0000\u0000\u0356\u0354\u0001\u0000\u0000\u0000\u0356\u0357\u0001"+ - "\u0000\u0000\u0000\u0357\u035f\u0001\u0000\u0000\u0000\u0358\u035c\u0003"+ - "u2\u0000\u0359\u035b\u0003K\u001d\u0000\u035a\u0359\u0001\u0000\u0000"+ - "\u0000\u035b\u035e\u0001\u0000\u0000\u0000\u035c\u035a\u0001\u0000\u0000"+ - "\u0000\u035c\u035d\u0001\u0000\u0000\u0000\u035d\u0360\u0001\u0000\u0000"+ - "\u0000\u035e\u035c\u0001\u0000\u0000\u0000\u035f\u0358\u0001\u0000\u0000"+ - "\u0000\u035f\u0360\u0001\u0000\u0000\u0000\u0360\u0361\u0001\u0000\u0000"+ - "\u0000\u0361\u0362\u0003S!\u0000\u0362\u036c\u0001\u0000\u0000\u0000\u0363"+ - "\u0365\u0003u2\u0000\u0364\u0366\u0003K\u001d\u0000\u0365\u0364\u0001"+ - "\u0000\u0000\u0000\u0366\u0367\u0001\u0000\u0000\u0000\u0367\u0365\u0001"+ - "\u0000\u0000\u0000\u0367\u0368\u0001\u0000\u0000\u0000\u0368\u0369\u0001"+ - "\u0000\u0000\u0000\u0369\u036a\u0003S!\u0000\u036a\u036c\u0001\u0000\u0000"+ - "\u0000\u036b\u0342\u0001\u0000\u0000\u0000\u036b\u034d\u0001\u0000\u0000"+ - "\u0000\u036b\u0354\u0001\u0000\u0000\u0000\u036b\u0363\u0001\u0000\u0000"+ - "\u0000\u036cd\u0001\u0000\u0000\u0000\u036d\u036e\u0007\u001e\u0000\u0000"+ - "\u036e\u036f\u0007\u001f\u0000\u0000\u036ff\u0001\u0000\u0000\u0000\u0370"+ - "\u0371\u0007\f\u0000\u0000\u0371\u0372\u0007\t\u0000\u0000\u0372\u0373"+ - "\u0007\u0000\u0000\u0000\u0373h\u0001\u0000\u0000\u0000\u0374\u0375\u0007"+ - "\f\u0000\u0000\u0375\u0376\u0007\u0002\u0000\u0000\u0376\u0377\u0007\u0004"+ - "\u0000\u0000\u0377j\u0001\u0000\u0000\u0000\u0378\u0379\u0005=\u0000\u0000"+ - "\u0379l\u0001\u0000\u0000\u0000\u037a\u037b\u0005:\u0000\u0000\u037b\u037c"+ - "\u0005:\u0000\u0000\u037cn\u0001\u0000\u0000\u0000\u037d\u037e\u0005:"+ - "\u0000\u0000\u037ep\u0001\u0000\u0000\u0000\u037f\u0380\u0005,\u0000\u0000"+ - "\u0380r\u0001\u0000\u0000\u0000\u0381\u0382\u0007\u0000\u0000\u0000\u0382"+ - "\u0383\u0007\u0003\u0000\u0000\u0383\u0384\u0007\u0002\u0000\u0000\u0384"+ - "\u0385\u0007\u0004\u0000\u0000\u0385t\u0001\u0000\u0000\u0000\u0386\u0387"+ - "\u0005.\u0000\u0000\u0387v\u0001\u0000\u0000\u0000\u0388\u0389\u0007\u000f"+ - "\u0000\u0000\u0389\u038a\u0007\f\u0000\u0000\u038a\u038b\u0007\r\u0000"+ - "\u0000\u038b\u038c\u0007\u0002\u0000\u0000\u038c\u038d\u0007\u0003\u0000"+ - "\u0000\u038dx\u0001\u0000\u0000\u0000\u038e\u038f\u0007\u000f\u0000\u0000"+ - "\u038f\u0390\u0007\u0001\u0000\u0000\u0390\u0391\u0007\u0006\u0000\u0000"+ - "\u0391\u0392\u0007\u0002\u0000\u0000\u0392\u0393\u0007\u0005\u0000\u0000"+ - "\u0393z\u0001\u0000\u0000\u0000\u0394\u0395\u0007\u0001\u0000\u0000\u0395"+ - "\u0396\u0007\t\u0000\u0000\u0396|\u0001\u0000\u0000\u0000\u0397\u0398"+ - "\u0007\u0001\u0000\u0000\u0398\u0399\u0007\u0002\u0000\u0000\u0399~\u0001"+ - "\u0000\u0000\u0000\u039a\u039b\u0007\r\u0000\u0000\u039b\u039c\u0007\f"+ - "\u0000\u0000\u039c\u039d\u0007\u0002\u0000\u0000\u039d\u039e\u0007\u0005"+ - "\u0000\u0000\u039e\u0080\u0001\u0000\u0000\u0000\u039f\u03a0\u0007\r\u0000"+ - "\u0000\u03a0\u03a1\u0007\u0001\u0000\u0000\u03a1\u03a2\u0007\u0012\u0000"+ - "\u0000\u03a2\u03a3\u0007\u0003\u0000\u0000\u03a3\u0082\u0001\u0000\u0000"+ - "\u0000\u03a4\u03a5\u0005(\u0000\u0000\u03a5\u0084\u0001\u0000\u0000\u0000"+ - "\u03a6\u03a7\u0007\t\u0000\u0000\u03a7\u03a8\u0007\u0007\u0000\u0000\u03a8"+ - "\u03a9\u0007\u0005\u0000\u0000\u03a9\u0086\u0001\u0000\u0000\u0000\u03aa"+ - "\u03ab\u0007\t\u0000\u0000\u03ab\u03ac\u0007\u0014\u0000\u0000\u03ac\u03ad"+ - "\u0007\r\u0000\u0000\u03ad\u03ae\u0007\r\u0000\u0000\u03ae\u0088\u0001"+ - "\u0000\u0000\u0000\u03af\u03b0\u0007\t\u0000\u0000\u03b0\u03b1\u0007\u0014"+ - "\u0000\u0000\u03b1\u03b2\u0007\r\u0000\u0000\u03b2\u03b3\u0007\r\u0000"+ - "\u0000\u03b3\u03b4\u0007\u0002\u0000\u0000\u03b4\u008a\u0001\u0000\u0000"+ - "\u0000\u03b5\u03b6\u0007\u0007\u0000\u0000\u03b6\u03b7\u0007\u0006\u0000"+ - "\u0000\u03b7\u008c\u0001\u0000\u0000\u0000\u03b8\u03b9\u0005?\u0000\u0000"+ - "\u03b9\u008e\u0001\u0000\u0000\u0000\u03ba\u03bb\u0007\u0006\u0000\u0000"+ - "\u03bb\u03bc\u0007\r\u0000\u0000\u03bc\u03bd\u0007\u0001\u0000\u0000\u03bd"+ - "\u03be\u0007\u0012\u0000\u0000\u03be\u03bf\u0007\u0003\u0000\u0000\u03bf"+ - "\u0090\u0001\u0000\u0000\u0000\u03c0\u03c1\u0005)\u0000\u0000\u03c1\u0092"+ - "\u0001\u0000\u0000\u0000\u03c2\u03c3\u0007\u0005\u0000\u0000\u03c3\u03c4"+ - "\u0007\u0006\u0000\u0000\u03c4\u03c5\u0007\u0014\u0000\u0000\u03c5\u03c6"+ - "\u0007\u0003\u0000\u0000\u03c6\u0094\u0001\u0000\u0000\u0000\u03c7\u03c8"+ - "\u0005=\u0000\u0000\u03c8\u03c9\u0005=\u0000\u0000\u03c9\u0096\u0001\u0000"+ - "\u0000\u0000\u03ca\u03cb\u0005=\u0000\u0000\u03cb\u03cc\u0005~\u0000\u0000"+ - "\u03cc\u0098\u0001\u0000\u0000\u0000\u03cd\u03ce\u0005!\u0000\u0000\u03ce"+ - "\u03cf\u0005=\u0000\u0000\u03cf\u009a\u0001\u0000\u0000\u0000\u03d0\u03d1"+ - "\u0005<\u0000\u0000\u03d1\u009c\u0001\u0000\u0000\u0000\u03d2\u03d3\u0005"+ - "<\u0000\u0000\u03d3\u03d4\u0005=\u0000\u0000\u03d4\u009e\u0001\u0000\u0000"+ - "\u0000\u03d5\u03d6\u0005>\u0000\u0000\u03d6\u00a0\u0001\u0000\u0000\u0000"+ - "\u03d7\u03d8\u0005>\u0000\u0000\u03d8\u03d9\u0005=\u0000\u0000\u03d9\u00a2"+ - "\u0001\u0000\u0000\u0000\u03da\u03db\u0005+\u0000\u0000\u03db\u00a4\u0001"+ - "\u0000\u0000\u0000\u03dc\u03dd\u0005-\u0000\u0000\u03dd\u00a6\u0001\u0000"+ - "\u0000\u0000\u03de\u03df\u0005*\u0000\u0000\u03df\u00a8\u0001\u0000\u0000"+ - "\u0000\u03e0\u03e1\u0005/\u0000\u0000\u03e1\u00aa\u0001\u0000\u0000\u0000"+ - "\u03e2\u03e3\u0005%\u0000\u0000\u03e3\u00ac\u0001\u0000\u0000\u0000\u03e4"+ - "\u03e5\u0005{\u0000\u0000\u03e5\u00ae\u0001\u0000\u0000\u0000\u03e6\u03e7"+ - "\u0005}\u0000\u0000\u03e7\u00b0\u0001\u0000\u0000\u0000\u03e8\u03e9\u0005"+ - "?\u0000\u0000\u03e9\u03ea\u0005?\u0000\u0000\u03ea\u00b2\u0001\u0000\u0000"+ - "\u0000\u03eb\u03ec\u0003/\u000f\u0000\u03ec\u03ed\u0001\u0000\u0000\u0000"+ - "\u03ed\u03ee\u0006Q\u000e\u0000\u03ee\u00b4\u0001\u0000\u0000\u0000\u03ef"+ - "\u03f2\u0003\u008d>\u0000\u03f0\u03f3\u0003M\u001e\u0000\u03f1\u03f3\u0003"+ - "[%\u0000\u03f2\u03f0\u0001\u0000\u0000\u0000\u03f2\u03f1\u0001\u0000\u0000"+ - "\u0000\u03f3\u03f7\u0001\u0000\u0000\u0000\u03f4\u03f6\u0003]&\u0000\u03f5"+ - "\u03f4\u0001\u0000\u0000\u0000\u03f6\u03f9\u0001\u0000\u0000\u0000\u03f7"+ - "\u03f5\u0001\u0000\u0000\u0000\u03f7\u03f8\u0001\u0000\u0000\u0000\u03f8"+ - "\u0401\u0001\u0000\u0000\u0000\u03f9\u03f7\u0001\u0000\u0000\u0000\u03fa"+ - "\u03fc\u0003\u008d>\u0000\u03fb\u03fd\u0003K\u001d\u0000\u03fc\u03fb\u0001"+ - "\u0000\u0000\u0000\u03fd\u03fe\u0001\u0000\u0000\u0000\u03fe\u03fc\u0001"+ - "\u0000\u0000\u0000\u03fe\u03ff\u0001\u0000\u0000\u0000\u03ff\u0401\u0001"+ - "\u0000\u0000\u0000\u0400\u03ef\u0001\u0000\u0000\u0000\u0400\u03fa\u0001"+ - "\u0000\u0000\u0000\u0401\u00b6\u0001\u0000\u0000\u0000\u0402\u0405\u0003"+ - "\u00b1P\u0000\u0403\u0406\u0003M\u001e\u0000\u0404\u0406\u0003[%\u0000"+ - "\u0405\u0403\u0001\u0000\u0000\u0000\u0405\u0404\u0001\u0000\u0000\u0000"+ - "\u0406\u040a\u0001\u0000\u0000\u0000\u0407\u0409\u0003]&\u0000\u0408\u0407"+ - "\u0001\u0000\u0000\u0000\u0409\u040c\u0001\u0000\u0000\u0000\u040a\u0408"+ - "\u0001\u0000\u0000\u0000\u040a\u040b\u0001\u0000\u0000\u0000\u040b\u0414"+ - "\u0001\u0000\u0000\u0000\u040c\u040a\u0001\u0000\u0000\u0000\u040d\u040f"+ - "\u0003\u00b1P\u0000\u040e\u0410\u0003K\u001d\u0000\u040f\u040e\u0001\u0000"+ - "\u0000\u0000\u0410\u0411\u0001\u0000\u0000\u0000\u0411\u040f\u0001\u0000"+ - "\u0000\u0000\u0411\u0412\u0001\u0000\u0000\u0000\u0412\u0414\u0001\u0000"+ - "\u0000\u0000\u0413\u0402\u0001\u0000\u0000\u0000\u0413\u040d\u0001\u0000"+ - "\u0000\u0000\u0414\u00b8\u0001\u0000\u0000\u0000\u0415\u0416\u0005[\u0000"+ - "\u0000\u0416\u0417\u0001\u0000\u0000\u0000\u0417\u0418\u0006T\u0000\u0000"+ - "\u0418\u0419\u0006T\u0000\u0000\u0419\u00ba\u0001\u0000\u0000\u0000\u041a"+ - "\u041b\u0005]\u0000\u0000\u041b\u041c\u0001\u0000\u0000\u0000\u041c\u041d"+ - "\u0006U\r\u0000\u041d\u041e\u0006U\r\u0000\u041e\u00bc\u0001\u0000\u0000"+ - "\u0000\u041f\u0423\u0003M\u001e\u0000\u0420\u0422\u0003]&\u0000\u0421"+ - "\u0420\u0001\u0000\u0000\u0000\u0422\u0425\u0001\u0000\u0000\u0000\u0423"+ - "\u0421\u0001\u0000\u0000\u0000\u0423\u0424\u0001\u0000\u0000\u0000\u0424"+ - "\u0430\u0001\u0000\u0000\u0000\u0425\u0423\u0001\u0000\u0000\u0000\u0426"+ - "\u0429\u0003[%\u0000\u0427\u0429\u0003U\"\u0000\u0428\u0426\u0001\u0000"+ - "\u0000\u0000\u0428\u0427\u0001\u0000\u0000\u0000\u0429\u042b\u0001\u0000"+ - "\u0000\u0000\u042a\u042c\u0003]&\u0000\u042b\u042a\u0001\u0000\u0000\u0000"+ - "\u042c\u042d\u0001\u0000\u0000\u0000\u042d\u042b\u0001\u0000\u0000\u0000"+ - "\u042d\u042e\u0001\u0000\u0000\u0000\u042e\u0430\u0001\u0000\u0000\u0000"+ - "\u042f\u041f\u0001\u0000\u0000\u0000\u042f\u0428\u0001\u0000\u0000\u0000"+ - "\u0430\u00be\u0001\u0000\u0000\u0000\u0431\u0433\u0003W#\u0000\u0432\u0434"+ - "\u0003Y$\u0000\u0433\u0432\u0001\u0000\u0000\u0000\u0434\u0435\u0001\u0000"+ - "\u0000\u0000\u0435\u0433\u0001\u0000\u0000\u0000\u0435\u0436\u0001\u0000"+ - "\u0000\u0000\u0436\u0437\u0001\u0000\u0000\u0000\u0437\u0438\u0003W#\u0000"+ - "\u0438\u00c0\u0001\u0000\u0000\u0000\u0439\u043a\u0003\u00bfW\u0000\u043a"+ - "\u00c2\u0001\u0000\u0000\u0000\u043b\u043c\u0003C\u0019\u0000\u043c\u043d"+ - "\u0001\u0000\u0000\u0000\u043d\u043e\u0006Y\f\u0000\u043e\u00c4\u0001"+ - "\u0000\u0000\u0000\u043f\u0440\u0003E\u001a\u0000\u0440\u0441\u0001\u0000"+ - "\u0000\u0000\u0441\u0442\u0006Z\f\u0000\u0442\u00c6\u0001\u0000\u0000"+ - "\u0000\u0443\u0444\u0003G\u001b\u0000\u0444\u0445\u0001\u0000\u0000\u0000"+ - "\u0445\u0446\u0006[\f\u0000\u0446\u00c8\u0001\u0000\u0000\u0000\u0447"+ - "\u0448\u0003\u00b9T\u0000\u0448\u0449\u0001\u0000\u0000\u0000\u0449\u044a"+ - "\u0006\\\u000f\u0000\u044a\u044b\u0006\\\u0010\u0000\u044b\u00ca\u0001"+ - "\u0000\u0000\u0000\u044c\u044d\u0003I\u001c\u0000\u044d\u044e\u0001\u0000"+ - "\u0000\u0000\u044e\u044f\u0006]\u0011\u0000\u044f\u0450\u0006]\r\u0000"+ - "\u0450\u00cc\u0001\u0000\u0000\u0000\u0451\u0452\u0003G\u001b\u0000\u0452"+ - "\u0453\u0001\u0000\u0000\u0000\u0453\u0454\u0006^\f\u0000\u0454\u00ce"+ - "\u0001\u0000\u0000\u0000\u0455\u0456\u0003C\u0019\u0000\u0456\u0457\u0001"+ - "\u0000\u0000\u0000\u0457\u0458\u0006_\f\u0000\u0458\u00d0\u0001\u0000"+ - "\u0000\u0000\u0459\u045a\u0003E\u001a\u0000\u045a\u045b\u0001\u0000\u0000"+ - "\u0000\u045b\u045c\u0006`\f\u0000\u045c\u00d2\u0001\u0000\u0000\u0000"+ - "\u045d\u045e\u0003I\u001c\u0000\u045e\u045f\u0001\u0000\u0000\u0000\u045f"+ - "\u0460\u0006a\u0011\u0000\u0460\u0461\u0006a\r\u0000\u0461\u00d4\u0001"+ - "\u0000\u0000\u0000\u0462\u0463\u0003\u00b9T\u0000\u0463\u0464\u0001\u0000"+ - "\u0000\u0000\u0464\u0465\u0006b\u000f\u0000\u0465\u00d6\u0001\u0000\u0000"+ - "\u0000\u0466\u0467\u0003\u00bbU\u0000\u0467\u0468\u0001\u0000\u0000\u0000"+ - "\u0468\u0469\u0006c\u0012\u0000\u0469\u00d8\u0001\u0000\u0000\u0000\u046a"+ - "\u046b\u0003o/\u0000\u046b\u046c\u0001\u0000\u0000\u0000\u046c\u046d\u0006"+ - "d\u0013\u0000\u046d\u00da\u0001\u0000\u0000\u0000\u046e\u046f\u0003m."+ - "\u0000\u046f\u0470\u0001\u0000\u0000\u0000\u0470\u0471\u0006e\u0014\u0000"+ - "\u0471\u00dc\u0001\u0000\u0000\u0000\u0472\u0473\u0003q0\u0000\u0473\u0474"+ - "\u0001\u0000\u0000\u0000\u0474\u0475\u0006f\u0015\u0000\u0475\u00de\u0001"+ - "\u0000\u0000\u0000\u0476\u0477\u0003k-\u0000\u0477\u0478\u0001\u0000\u0000"+ - "\u0000\u0478\u0479\u0006g\u0016\u0000\u0479\u00e0\u0001\u0000\u0000\u0000"+ - "\u047a\u047b\u0007\u0010\u0000\u0000\u047b\u047c\u0007\u0003\u0000\u0000"+ - "\u047c\u047d\u0007\u0005\u0000\u0000\u047d\u047e\u0007\f\u0000\u0000\u047e"+ - "\u047f\u0007\u0000\u0000\u0000\u047f\u0480\u0007\f\u0000\u0000\u0480\u0481"+ - "\u0007\u0005\u0000\u0000\u0481\u0482\u0007\f\u0000\u0000\u0482\u00e2\u0001"+ - "\u0000\u0000\u0000\u0483\u0487\b \u0000\u0000\u0484\u0485\u0005/\u0000"+ - "\u0000\u0485\u0487\b!\u0000\u0000\u0486\u0483\u0001\u0000\u0000\u0000"+ - "\u0486\u0484\u0001\u0000\u0000\u0000\u0487\u00e4\u0001\u0000\u0000\u0000"+ - "\u0488\u048a\u0003\u00e3i\u0000\u0489\u0488\u0001\u0000\u0000\u0000\u048a"+ - "\u048b\u0001\u0000\u0000\u0000\u048b\u0489\u0001\u0000\u0000\u0000\u048b"+ - "\u048c\u0001\u0000\u0000\u0000\u048c\u00e6\u0001\u0000\u0000\u0000\u048d"+ - "\u048e\u0003\u00e5j\u0000\u048e\u048f\u0001\u0000\u0000\u0000\u048f\u0490"+ - "\u0006k\u0017\u0000\u0490\u00e8\u0001\u0000\u0000\u0000\u0491\u0492\u0003"+ - "_\'\u0000\u0492\u0493\u0001\u0000\u0000\u0000\u0493\u0494\u0006l\u0018"+ - "\u0000\u0494\u00ea\u0001\u0000\u0000\u0000\u0495\u0496\u0003C\u0019\u0000"+ - "\u0496\u0497\u0001\u0000\u0000\u0000\u0497\u0498\u0006m\f\u0000\u0498"+ - "\u00ec\u0001\u0000\u0000\u0000\u0499\u049a\u0003E\u001a\u0000\u049a\u049b"+ - "\u0001\u0000\u0000\u0000\u049b\u049c\u0006n\f\u0000\u049c\u00ee\u0001"+ - "\u0000\u0000\u0000\u049d\u049e\u0003G\u001b\u0000\u049e\u049f\u0001\u0000"+ - "\u0000\u0000\u049f\u04a0\u0006o\f\u0000\u04a0\u00f0\u0001\u0000\u0000"+ - "\u0000\u04a1\u04a2\u0003I\u001c\u0000\u04a2\u04a3\u0001\u0000\u0000\u0000"+ - "\u04a3\u04a4\u0006p\u0011\u0000\u04a4\u04a5\u0006p\r\u0000\u04a5\u00f2"+ - "\u0001\u0000\u0000\u0000\u04a6\u04a7\u0003u2\u0000\u04a7\u04a8\u0001\u0000"+ - "\u0000\u0000\u04a8\u04a9\u0006q\u0019\u0000\u04a9\u00f4\u0001\u0000\u0000"+ - "\u0000\u04aa\u04ab\u0003q0\u0000\u04ab\u04ac\u0001\u0000\u0000\u0000\u04ac"+ - "\u04ad\u0006r\u0015\u0000\u04ad\u00f6\u0001\u0000\u0000\u0000\u04ae\u04af"+ - "\u0003\u008d>\u0000\u04af\u04b0\u0001\u0000\u0000\u0000\u04b0\u04b1\u0006"+ - "s\u001a\u0000\u04b1\u00f8\u0001\u0000\u0000\u0000\u04b2\u04b3\u0003\u00b5"+ - "R\u0000\u04b3\u04b4\u0001\u0000\u0000\u0000\u04b4\u04b5\u0006t\u001b\u0000"+ - "\u04b5\u00fa\u0001\u0000\u0000\u0000\u04b6\u04b7\u0003\u00b1P\u0000\u04b7"+ - "\u04b8\u0001\u0000\u0000\u0000\u04b8\u04b9\u0006u\u001c\u0000\u04b9\u00fc"+ - "\u0001\u0000\u0000\u0000\u04ba\u04bb\u0003\u00b7S\u0000\u04bb\u04bc\u0001"+ - "\u0000\u0000\u0000\u04bc\u04bd\u0006v\u001d\u0000\u04bd\u00fe\u0001\u0000"+ - "\u0000\u0000\u04be\u04c3\u0003M\u001e\u0000\u04bf\u04c3\u0003K\u001d\u0000"+ - "\u04c0\u04c3\u0003[%\u0000\u04c1\u04c3\u0003\u00a7K\u0000\u04c2\u04be"+ - "\u0001\u0000\u0000\u0000\u04c2\u04bf\u0001\u0000\u0000\u0000\u04c2\u04c0"+ - "\u0001\u0000\u0000\u0000\u04c2\u04c1\u0001\u0000\u0000\u0000\u04c3\u0100"+ - "\u0001\u0000\u0000\u0000\u04c4\u04c7\u0003M\u001e\u0000\u04c5\u04c7\u0003"+ - "\u00a7K\u0000\u04c6\u04c4\u0001\u0000\u0000\u0000\u04c6\u04c5\u0001\u0000"+ - "\u0000\u0000\u04c7\u04cb\u0001\u0000\u0000\u0000\u04c8\u04ca\u0003\u00ff"+ - "w\u0000\u04c9\u04c8\u0001\u0000\u0000\u0000\u04ca\u04cd\u0001\u0000\u0000"+ - "\u0000\u04cb\u04c9\u0001\u0000\u0000\u0000\u04cb\u04cc\u0001\u0000\u0000"+ - "\u0000\u04cc\u04d8\u0001\u0000\u0000\u0000\u04cd\u04cb\u0001\u0000\u0000"+ - "\u0000\u04ce\u04d1\u0003[%\u0000\u04cf\u04d1\u0003U\"\u0000\u04d0\u04ce"+ - "\u0001\u0000\u0000\u0000\u04d0\u04cf\u0001\u0000\u0000\u0000\u04d1\u04d3"+ - "\u0001\u0000\u0000\u0000\u04d2\u04d4\u0003\u00ffw\u0000\u04d3\u04d2\u0001"+ - "\u0000\u0000\u0000\u04d4\u04d5\u0001\u0000\u0000\u0000\u04d5\u04d3\u0001"+ - "\u0000\u0000\u0000\u04d5\u04d6\u0001\u0000\u0000\u0000\u04d6\u04d8\u0001"+ - "\u0000\u0000\u0000\u04d7\u04c6\u0001\u0000\u0000\u0000\u04d7\u04d0\u0001"+ - "\u0000\u0000\u0000\u04d8\u0102\u0001\u0000\u0000\u0000\u04d9\u04dc\u0003"+ - "\u0101x\u0000\u04da\u04dc\u0003\u00bfW\u0000\u04db\u04d9\u0001\u0000\u0000"+ - "\u0000\u04db\u04da\u0001\u0000\u0000\u0000\u04dc\u04dd\u0001\u0000\u0000"+ - "\u0000\u04dd\u04db\u0001\u0000\u0000\u0000\u04dd\u04de\u0001\u0000\u0000"+ - "\u0000\u04de\u0104\u0001\u0000\u0000\u0000\u04df\u04e0\u0003C\u0019\u0000"+ - "\u04e0\u04e1\u0001\u0000\u0000\u0000\u04e1\u04e2\u0006z\f\u0000\u04e2"+ - "\u0106\u0001\u0000\u0000\u0000\u04e3\u04e4\u0003E\u001a\u0000\u04e4\u04e5"+ - "\u0001\u0000\u0000\u0000\u04e5\u04e6\u0006{\f\u0000\u04e6\u0108\u0001"+ - "\u0000\u0000\u0000\u04e7\u04e8\u0003G\u001b\u0000\u04e8\u04e9\u0001\u0000"+ - "\u0000\u0000\u04e9\u04ea\u0006|\f\u0000\u04ea\u010a\u0001\u0000\u0000"+ - "\u0000\u04eb\u04ec\u0003I\u001c\u0000\u04ec\u04ed\u0001\u0000\u0000\u0000"+ - "\u04ed\u04ee\u0006}\u0011\u0000\u04ee\u04ef\u0006}\r\u0000\u04ef\u010c"+ - "\u0001\u0000\u0000\u0000\u04f0\u04f1\u0003k-\u0000\u04f1\u04f2\u0001\u0000"+ - "\u0000\u0000\u04f2\u04f3\u0006~\u0016\u0000\u04f3\u010e\u0001\u0000\u0000"+ - "\u0000\u04f4\u04f5\u0003q0\u0000\u04f5\u04f6\u0001\u0000\u0000\u0000\u04f6"+ - "\u04f7\u0006\u007f\u0015\u0000\u04f7\u0110\u0001\u0000\u0000\u0000\u04f8"+ - "\u04f9\u0003u2\u0000\u04f9\u04fa\u0001\u0000\u0000\u0000\u04fa\u04fb\u0006"+ - "\u0080\u0019\u0000\u04fb\u0112\u0001\u0000\u0000\u0000\u04fc\u04fd\u0003"+ - "\u008d>\u0000\u04fd\u04fe\u0001\u0000\u0000\u0000\u04fe\u04ff\u0006\u0081"+ - "\u001a\u0000\u04ff\u0114\u0001\u0000\u0000\u0000\u0500\u0501\u0003\u00b5"+ - "R\u0000\u0501\u0502\u0001\u0000\u0000\u0000\u0502\u0503\u0006\u0082\u001b"+ - "\u0000\u0503\u0116\u0001\u0000\u0000\u0000\u0504\u0505\u0003\u00b1P\u0000"+ - "\u0505\u0506\u0001\u0000\u0000\u0000\u0506\u0507\u0006\u0083\u001c\u0000"+ - "\u0507\u0118\u0001\u0000\u0000\u0000\u0508\u0509\u0003\u00b7S\u0000\u0509"+ - "\u050a\u0001\u0000\u0000\u0000\u050a\u050b\u0006\u0084\u001d\u0000\u050b"+ - "\u011a\u0001\u0000\u0000\u0000\u050c\u050d\u0007\f\u0000\u0000\u050d\u050e"+ - "\u0007\u0002\u0000\u0000\u050e\u011c\u0001\u0000\u0000\u0000\u050f\u0510"+ - "\u0003\u0103y\u0000\u0510\u0511\u0001\u0000\u0000\u0000\u0511\u0512\u0006"+ - "\u0086\u001e\u0000\u0512\u011e\u0001\u0000\u0000\u0000\u0513\u0514\u0003"+ - "C\u0019\u0000\u0514\u0515\u0001\u0000\u0000\u0000\u0515\u0516\u0006\u0087"+ - "\f\u0000\u0516\u0120\u0001\u0000\u0000\u0000\u0517\u0518\u0003E\u001a"+ - "\u0000\u0518\u0519\u0001\u0000\u0000\u0000\u0519\u051a\u0006\u0088\f\u0000"+ - "\u051a\u0122\u0001\u0000\u0000\u0000\u051b\u051c\u0003G\u001b\u0000\u051c"+ - "\u051d\u0001\u0000\u0000\u0000\u051d\u051e\u0006\u0089\f\u0000\u051e\u0124"+ - "\u0001\u0000\u0000\u0000\u051f\u0520\u0003I\u001c\u0000\u0520\u0521\u0001"+ - "\u0000\u0000\u0000\u0521\u0522\u0006\u008a\u0011\u0000\u0522\u0523\u0006"+ - "\u008a\r\u0000\u0523\u0126\u0001\u0000\u0000\u0000\u0524\u0525\u0003\u00b9"+ - "T\u0000\u0525\u0526\u0001\u0000\u0000\u0000\u0526\u0527\u0006\u008b\u000f"+ - "\u0000\u0527\u0528\u0006\u008b\u001f\u0000\u0528\u0128\u0001\u0000\u0000"+ - "\u0000\u0529\u052a\u0007\u0007\u0000\u0000\u052a\u052b\u0007\t\u0000\u0000"+ - "\u052b\u052c\u0001\u0000\u0000\u0000\u052c\u052d\u0006\u008c \u0000\u052d"+ - "\u012a\u0001\u0000\u0000\u0000\u052e\u052f\u0007\u0013\u0000\u0000\u052f"+ - "\u0530\u0007\u0001\u0000\u0000\u0530\u0531\u0007\u0005\u0000\u0000\u0531"+ - "\u0532\u0007\n\u0000\u0000\u0532\u0533\u0001\u0000\u0000\u0000\u0533\u0534"+ - "\u0006\u008d \u0000\u0534\u012c\u0001\u0000\u0000\u0000\u0535\u0536\b"+ - "\"\u0000\u0000\u0536\u012e\u0001\u0000\u0000\u0000\u0537\u0539\u0003\u012d"+ - "\u008e\u0000\u0538\u0537\u0001\u0000\u0000\u0000\u0539\u053a\u0001\u0000"+ - "\u0000\u0000\u053a\u0538\u0001\u0000\u0000\u0000\u053a\u053b\u0001\u0000"+ - "\u0000\u0000\u053b\u053c\u0001\u0000\u0000\u0000\u053c\u053d\u0003o/\u0000"+ - "\u053d\u053f\u0001\u0000\u0000\u0000\u053e\u0538\u0001\u0000\u0000\u0000"+ - "\u053e\u053f\u0001\u0000\u0000\u0000\u053f\u0541\u0001\u0000\u0000\u0000"+ - "\u0540\u0542\u0003\u012d\u008e\u0000\u0541\u0540\u0001\u0000\u0000\u0000"+ - "\u0542\u0543\u0001\u0000\u0000\u0000\u0543\u0541\u0001\u0000\u0000\u0000"+ - "\u0543\u0544\u0001\u0000\u0000\u0000\u0544\u0130\u0001\u0000\u0000\u0000"+ - "\u0545\u0546\u0003\u012f\u008f\u0000\u0546\u0547\u0001\u0000\u0000\u0000"+ - "\u0547\u0548\u0006\u0090!\u0000\u0548\u0132\u0001\u0000\u0000\u0000\u0549"+ - "\u054a\u0003C\u0019\u0000\u054a\u054b\u0001\u0000\u0000\u0000\u054b\u054c"+ - "\u0006\u0091\f\u0000\u054c\u0134\u0001\u0000\u0000\u0000\u054d\u054e\u0003"+ - "E\u001a\u0000\u054e\u054f\u0001\u0000\u0000\u0000\u054f\u0550\u0006\u0092"+ - "\f\u0000\u0550\u0136\u0001\u0000\u0000\u0000\u0551\u0552\u0003G\u001b"+ - "\u0000\u0552\u0553\u0001\u0000\u0000\u0000\u0553\u0554\u0006\u0093\f\u0000"+ - "\u0554\u0138\u0001\u0000\u0000\u0000\u0555\u0556\u0003I\u001c\u0000\u0556"+ - "\u0557\u0001\u0000\u0000\u0000\u0557\u0558\u0006\u0094\u0011\u0000\u0558"+ - "\u0559\u0006\u0094\r\u0000\u0559\u055a\u0006\u0094\r\u0000\u055a\u013a"+ - "\u0001\u0000\u0000\u0000\u055b\u055c\u0003k-\u0000\u055c\u055d\u0001\u0000"+ - "\u0000\u0000\u055d\u055e\u0006\u0095\u0016\u0000\u055e\u013c\u0001\u0000"+ - "\u0000\u0000\u055f\u0560\u0003q0\u0000\u0560\u0561\u0001\u0000\u0000\u0000"+ - "\u0561\u0562\u0006\u0096\u0015\u0000\u0562\u013e\u0001\u0000\u0000\u0000"+ - "\u0563\u0564\u0003u2\u0000\u0564\u0565\u0001\u0000\u0000\u0000\u0565\u0566"+ - "\u0006\u0097\u0019\u0000\u0566\u0140\u0001\u0000\u0000\u0000\u0567\u0568"+ - "\u0003\u012b\u008d\u0000\u0568\u0569\u0001\u0000\u0000\u0000\u0569\u056a"+ - "\u0006\u0098\"\u0000\u056a\u0142\u0001\u0000\u0000\u0000\u056b\u056c\u0003"+ - "\u0103y\u0000\u056c\u056d\u0001\u0000\u0000\u0000\u056d\u056e\u0006\u0099"+ - "\u001e\u0000\u056e\u0144\u0001\u0000\u0000\u0000\u056f\u0570\u0003\u00c1"+ - "X\u0000\u0570\u0571\u0001\u0000\u0000\u0000\u0571\u0572\u0006\u009a#\u0000"+ - "\u0572\u0146\u0001\u0000\u0000\u0000\u0573\u0574\u0003\u008d>\u0000\u0574"+ - "\u0575\u0001\u0000\u0000\u0000\u0575\u0576\u0006\u009b\u001a\u0000\u0576"+ - "\u0148\u0001\u0000\u0000\u0000\u0577\u0578\u0003\u00b5R\u0000\u0578\u0579"+ - "\u0001\u0000\u0000\u0000\u0579\u057a\u0006\u009c\u001b\u0000\u057a\u014a"+ - "\u0001\u0000\u0000\u0000\u057b\u057c\u0003\u00b1P\u0000\u057c\u057d\u0001"+ - "\u0000\u0000\u0000\u057d\u057e\u0006\u009d\u001c\u0000\u057e\u014c\u0001"+ - "\u0000\u0000\u0000\u057f\u0580\u0003\u00b7S\u0000\u0580\u0581\u0001\u0000"+ - "\u0000\u0000\u0581\u0582\u0006\u009e\u001d\u0000\u0582\u014e\u0001\u0000"+ - "\u0000\u0000\u0583\u0584\u0003C\u0019\u0000\u0584\u0585\u0001\u0000\u0000"+ - "\u0000\u0585\u0586\u0006\u009f\f\u0000\u0586\u0150\u0001\u0000\u0000\u0000"+ - "\u0587\u0588\u0003E\u001a\u0000\u0588\u0589\u0001\u0000\u0000\u0000\u0589"+ - "\u058a\u0006\u00a0\f\u0000\u058a\u0152\u0001\u0000\u0000\u0000\u058b\u058c"+ - "\u0003G\u001b\u0000\u058c\u058d\u0001\u0000\u0000\u0000\u058d\u058e\u0006"+ - "\u00a1\f\u0000\u058e\u0154\u0001\u0000\u0000\u0000\u058f\u0590\u0003I"+ - "\u001c\u0000\u0590\u0591\u0001\u0000\u0000\u0000\u0591\u0592\u0006\u00a2"+ - "\u0011\u0000\u0592\u0593\u0006\u00a2\r\u0000\u0593\u0156\u0001\u0000\u0000"+ - "\u0000\u0594\u0595\u0003u2\u0000\u0595\u0596\u0001\u0000\u0000\u0000\u0596"+ - "\u0597\u0006\u00a3\u0019\u0000\u0597\u0158\u0001\u0000\u0000\u0000\u0598"+ - "\u0599\u0003\u008d>\u0000\u0599\u059a\u0001\u0000\u0000\u0000\u059a\u059b"+ - "\u0006\u00a4\u001a\u0000\u059b\u015a\u0001\u0000\u0000\u0000\u059c\u059d"+ - "\u0003\u00b5R\u0000\u059d\u059e\u0001\u0000\u0000\u0000\u059e\u059f\u0006"+ - "\u00a5\u001b\u0000\u059f\u015c\u0001\u0000\u0000\u0000\u05a0\u05a1\u0003"+ - "\u00b1P\u0000\u05a1\u05a2\u0001\u0000\u0000\u0000\u05a2\u05a3\u0006\u00a6"+ - "\u001c\u0000\u05a3\u015e\u0001\u0000\u0000\u0000\u05a4\u05a5\u0003\u00b7"+ - "S\u0000\u05a5\u05a6\u0001\u0000\u0000\u0000\u05a6\u05a7\u0006\u00a7\u001d"+ - "\u0000\u05a7\u0160\u0001\u0000\u0000\u0000\u05a8\u05a9\u0003\u00c1X\u0000"+ - "\u05a9\u05aa\u0001\u0000\u0000\u0000\u05aa\u05ab\u0006\u00a8#\u0000\u05ab"+ - "\u0162\u0001\u0000\u0000\u0000\u05ac\u05ad\u0003\u00bdV\u0000\u05ad\u05ae"+ - "\u0001\u0000\u0000\u0000\u05ae\u05af\u0006\u00a9$\u0000\u05af\u0164\u0001"+ - "\u0000\u0000\u0000\u05b0\u05b1\u0003C\u0019\u0000\u05b1\u05b2\u0001\u0000"+ - "\u0000\u0000\u05b2\u05b3\u0006\u00aa\f\u0000\u05b3\u0166\u0001\u0000\u0000"+ - "\u0000\u05b4\u05b5\u0003E\u001a\u0000\u05b5\u05b6\u0001\u0000\u0000\u0000"+ - "\u05b6\u05b7\u0006\u00ab\f\u0000\u05b7\u0168\u0001\u0000\u0000\u0000\u05b8"+ - "\u05b9\u0003G\u001b\u0000\u05b9\u05ba\u0001\u0000\u0000\u0000\u05ba\u05bb"+ - "\u0006\u00ac\f\u0000\u05bb\u016a\u0001\u0000\u0000\u0000\u05bc\u05bd\u0003"+ - "I\u001c\u0000\u05bd\u05be\u0001\u0000\u0000\u0000\u05be\u05bf\u0006\u00ad"+ - "\u0011\u0000\u05bf\u05c0\u0006\u00ad\r\u0000\u05c0\u016c\u0001\u0000\u0000"+ - "\u0000\u05c1\u05c2\u0007\u0001\u0000\u0000\u05c2\u05c3\u0007\t\u0000\u0000"+ - "\u05c3\u05c4\u0007\u000f\u0000\u0000\u05c4\u05c5\u0007\u0007\u0000\u0000"+ - "\u05c5\u016e\u0001\u0000\u0000\u0000\u05c6\u05c7\u0003C\u0019\u0000\u05c7"+ - "\u05c8\u0001\u0000\u0000\u0000\u05c8\u05c9\u0006\u00af\f\u0000\u05c9\u0170"+ - "\u0001\u0000\u0000\u0000\u05ca\u05cb\u0003E\u001a\u0000\u05cb\u05cc\u0001"+ - "\u0000\u0000\u0000\u05cc\u05cd\u0006\u00b0\f\u0000\u05cd\u0172\u0001\u0000"+ - "\u0000\u0000\u05ce\u05cf\u0003G\u001b\u0000\u05cf\u05d0\u0001\u0000\u0000"+ - "\u0000\u05d0\u05d1\u0006\u00b1\f\u0000\u05d1\u0174\u0001\u0000\u0000\u0000"+ - "\u05d2\u05d3\u0003\u00bbU\u0000\u05d3\u05d4\u0001\u0000\u0000\u0000\u05d4"+ - "\u05d5\u0006\u00b2\u0012\u0000\u05d5\u05d6\u0006\u00b2\r\u0000\u05d6\u0176"+ - "\u0001\u0000\u0000\u0000\u05d7\u05d8\u0003o/\u0000\u05d8\u05d9\u0001\u0000"+ - "\u0000\u0000\u05d9\u05da\u0006\u00b3\u0013\u0000\u05da\u0178\u0001\u0000"+ - "\u0000\u0000\u05db\u05e1\u0003U\"\u0000\u05dc\u05e1\u0003K\u001d\u0000"+ - "\u05dd\u05e1\u0003u2\u0000\u05de\u05e1\u0003M\u001e\u0000\u05df\u05e1"+ - "\u0003[%\u0000\u05e0\u05db\u0001\u0000\u0000\u0000\u05e0\u05dc\u0001\u0000"+ - "\u0000\u0000\u05e0\u05dd\u0001\u0000\u0000\u0000\u05e0\u05de\u0001\u0000"+ - "\u0000\u0000\u05e0\u05df\u0001\u0000\u0000\u0000\u05e1\u05e2\u0001\u0000"+ - "\u0000\u0000\u05e2\u05e0\u0001\u0000\u0000\u0000\u05e2\u05e3\u0001\u0000"+ - "\u0000\u0000\u05e3\u017a\u0001\u0000\u0000\u0000\u05e4\u05e5\u0003C\u0019"+ - "\u0000\u05e5\u05e6\u0001\u0000\u0000\u0000\u05e6\u05e7\u0006\u00b5\f\u0000"+ - "\u05e7\u017c\u0001\u0000\u0000\u0000\u05e8\u05e9\u0003E\u001a\u0000\u05e9"+ - "\u05ea\u0001\u0000\u0000\u0000\u05ea\u05eb\u0006\u00b6\f\u0000\u05eb\u017e"+ - "\u0001\u0000\u0000\u0000\u05ec\u05ed\u0003G\u001b\u0000\u05ed\u05ee\u0001"+ - "\u0000\u0000\u0000\u05ee\u05ef\u0006\u00b7\f\u0000\u05ef\u0180\u0001\u0000"+ - "\u0000\u0000\u05f0\u05f1\u0003I\u001c\u0000\u05f1\u05f2\u0001\u0000\u0000"+ - "\u0000\u05f2\u05f3\u0006\u00b8\u0011\u0000\u05f3\u05f4\u0006\u00b8\r\u0000"+ - "\u05f4\u0182\u0001\u0000\u0000\u0000\u05f5\u05f6\u0003o/\u0000\u05f6\u05f7"+ - "\u0001\u0000\u0000\u0000\u05f7\u05f8\u0006\u00b9\u0013\u0000\u05f8\u0184"+ - "\u0001\u0000\u0000\u0000\u05f9\u05fa\u0003q0\u0000\u05fa\u05fb\u0001\u0000"+ - "\u0000\u0000\u05fb\u05fc\u0006\u00ba\u0015\u0000\u05fc\u0186\u0001\u0000"+ - "\u0000\u0000\u05fd\u05fe\u0003u2\u0000\u05fe\u05ff\u0001\u0000\u0000\u0000"+ - "\u05ff\u0600\u0006\u00bb\u0019\u0000\u0600\u0188\u0001\u0000\u0000\u0000"+ - "\u0601\u0602\u0003\u0129\u008c\u0000\u0602\u0603\u0001\u0000\u0000\u0000"+ - "\u0603\u0604\u0006\u00bc%\u0000\u0604\u0605\u0006\u00bc&\u0000\u0605\u018a"+ - "\u0001\u0000\u0000\u0000\u0606\u0607\u0003\u00e5j\u0000\u0607\u0608\u0001"+ - "\u0000\u0000\u0000\u0608\u0609\u0006\u00bd\u0017\u0000\u0609\u018c\u0001"+ - "\u0000\u0000\u0000\u060a\u060b\u0003_\'\u0000\u060b\u060c\u0001\u0000"+ - "\u0000\u0000\u060c\u060d\u0006\u00be\u0018\u0000\u060d\u018e\u0001\u0000"+ - "\u0000\u0000\u060e\u060f\u0003C\u0019\u0000\u060f\u0610\u0001\u0000\u0000"+ - "\u0000\u0610\u0611\u0006\u00bf\f\u0000\u0611\u0190\u0001\u0000\u0000\u0000"+ - "\u0612\u0613\u0003E\u001a\u0000\u0613\u0614\u0001\u0000\u0000\u0000\u0614"+ - "\u0615\u0006\u00c0\f\u0000\u0615\u0192\u0001\u0000\u0000\u0000\u0616\u0617"+ - "\u0003G\u001b\u0000\u0617\u0618\u0001\u0000\u0000\u0000\u0618\u0619\u0006"+ - "\u00c1\f\u0000\u0619\u0194\u0001\u0000\u0000\u0000\u061a\u061b\u0003I"+ - "\u001c\u0000\u061b\u061c\u0001\u0000\u0000\u0000\u061c\u061d\u0006\u00c2"+ - "\u0011\u0000\u061d\u061e\u0006\u00c2\r\u0000\u061e\u061f\u0006\u00c2\r"+ - "\u0000\u061f\u0196\u0001\u0000\u0000\u0000\u0620\u0621\u0003q0\u0000\u0621"+ - "\u0622\u0001\u0000\u0000\u0000\u0622\u0623\u0006\u00c3\u0015\u0000\u0623"+ - "\u0198\u0001\u0000\u0000\u0000\u0624\u0625\u0003u2\u0000\u0625\u0626\u0001"+ - "\u0000\u0000\u0000\u0626\u0627\u0006\u00c4\u0019\u0000\u0627\u019a\u0001"+ - "\u0000\u0000\u0000\u0628\u0629\u0003\u0103y\u0000\u0629\u062a\u0001\u0000"+ - "\u0000\u0000\u062a\u062b\u0006\u00c5\u001e\u0000\u062b\u019c\u0001\u0000"+ - "\u0000\u0000\u062c\u062d\u0003C\u0019\u0000\u062d\u062e\u0001\u0000\u0000"+ - "\u0000\u062e\u062f\u0006\u00c6\f\u0000\u062f\u019e\u0001\u0000\u0000\u0000"+ - "\u0630\u0631\u0003E\u001a\u0000\u0631\u0632\u0001\u0000\u0000\u0000\u0632"+ - "\u0633\u0006\u00c7\f\u0000\u0633\u01a0\u0001\u0000\u0000\u0000\u0634\u0635"+ - "\u0003G\u001b\u0000\u0635\u0636\u0001\u0000\u0000\u0000\u0636\u0637\u0006"+ - "\u00c8\f\u0000\u0637\u01a2\u0001\u0000\u0000\u0000\u0638\u0639\u0003I"+ - "\u001c\u0000\u0639\u063a\u0001\u0000\u0000\u0000\u063a\u063b\u0006\u00c9"+ - "\u0011\u0000\u063b\u063c\u0006\u00c9\r\u0000\u063c\u01a4\u0001\u0000\u0000"+ - "\u0000\u063d\u063e\u0007#\u0000\u0000\u063e\u063f\u0007\u0007\u0000\u0000"+ - "\u063f\u0640\u0007\u0001\u0000\u0000\u0640\u0641\u0007\t\u0000\u0000\u0641"+ - "\u01a6\u0001\u0000\u0000\u0000\u0642\u0643\u0003\u011b\u0085\u0000\u0643"+ - "\u0644\u0001\u0000\u0000\u0000\u0644\u0645\u0006\u00cb\'\u0000\u0645\u01a8"+ - "\u0001\u0000\u0000\u0000\u0646\u0647\u0003\u0129\u008c\u0000\u0647\u0648"+ - "\u0001\u0000\u0000\u0000\u0648\u0649\u0006\u00cc%\u0000\u0649\u064a\u0006"+ - "\u00cc\r\u0000\u064a\u064b\u0006\u00cc\u0000\u0000\u064b\u01aa\u0001\u0000"+ - "\u0000\u0000\u064c\u064d\u0007\u0014\u0000\u0000\u064d\u064e\u0007\u0002"+ - "\u0000\u0000\u064e\u064f\u0007\u0001\u0000\u0000\u064f\u0650\u0007\t\u0000"+ - "\u0000\u0650\u0651\u0007\u0011\u0000\u0000\u0651\u0652\u0001\u0000\u0000"+ - "\u0000\u0652\u0653\u0006\u00cd\r\u0000\u0653\u0654\u0006\u00cd\u0000\u0000"+ - "\u0654\u01ac\u0001\u0000\u0000\u0000\u0655\u0656\u0003\u00e5j\u0000\u0656"+ - "\u0657\u0001\u0000\u0000\u0000\u0657\u0658\u0006\u00ce\u0017\u0000\u0658"+ - "\u01ae\u0001\u0000\u0000\u0000\u0659\u065a\u0003_\'\u0000\u065a\u065b"+ - "\u0001\u0000\u0000\u0000\u065b\u065c\u0006\u00cf\u0018\u0000\u065c\u01b0"+ - "\u0001\u0000\u0000\u0000\u065d\u065e\u0003o/\u0000\u065e\u065f\u0001\u0000"+ - "\u0000\u0000\u065f\u0660\u0006\u00d0\u0013\u0000\u0660\u01b2\u0001\u0000"+ - "\u0000\u0000\u0661\u0662\u0003\u00bdV\u0000\u0662\u0663\u0001\u0000\u0000"+ - "\u0000\u0663\u0664\u0006\u00d1$\u0000\u0664\u01b4\u0001\u0000\u0000\u0000"+ - "\u0665\u0666\u0003\u00c1X\u0000\u0666\u0667\u0001\u0000\u0000\u0000\u0667"+ - "\u0668\u0006\u00d2#\u0000\u0668\u01b6\u0001\u0000\u0000\u0000\u0669\u066a"+ - "\u0003C\u0019\u0000\u066a\u066b\u0001\u0000\u0000\u0000\u066b\u066c\u0006"+ - "\u00d3\f\u0000\u066c\u01b8\u0001\u0000\u0000\u0000\u066d\u066e\u0003E"+ - "\u001a\u0000\u066e\u066f\u0001\u0000\u0000\u0000\u066f\u0670\u0006\u00d4"+ - "\f\u0000\u0670\u01ba\u0001\u0000\u0000\u0000\u0671\u0672\u0003G\u001b"+ - "\u0000\u0672\u0673\u0001\u0000\u0000\u0000\u0673\u0674\u0006\u00d5\f\u0000"+ - "\u0674\u01bc\u0001\u0000\u0000\u0000\u0675\u0676\u0003I\u001c\u0000\u0676"+ - "\u0677\u0001\u0000\u0000\u0000\u0677\u0678\u0006\u00d6\u0011\u0000\u0678"+ - "\u0679\u0006\u00d6\r\u0000\u0679\u01be\u0001\u0000\u0000\u0000\u067a\u067b"+ - "\u0003\u00e5j\u0000\u067b\u067c\u0001\u0000\u0000\u0000\u067c\u067d\u0006"+ - "\u00d7\u0017\u0000\u067d\u067e\u0006\u00d7\r\u0000\u067e\u067f\u0006\u00d7"+ - "(\u0000\u067f\u01c0\u0001\u0000\u0000\u0000\u0680\u0681\u0003_\'\u0000"+ - "\u0681\u0682\u0001\u0000\u0000\u0000\u0682\u0683\u0006\u00d8\u0018\u0000"+ - "\u0683\u0684\u0006\u00d8\r\u0000\u0684\u0685\u0006\u00d8(\u0000\u0685"+ - "\u01c2\u0001\u0000\u0000\u0000\u0686\u0687\u0003C\u0019\u0000\u0687\u0688"+ - "\u0001\u0000\u0000\u0000\u0688\u0689\u0006\u00d9\f\u0000\u0689\u01c4\u0001"+ - "\u0000\u0000\u0000\u068a\u068b\u0003E\u001a\u0000\u068b\u068c\u0001\u0000"+ - "\u0000\u0000\u068c\u068d\u0006\u00da\f\u0000\u068d\u01c6\u0001\u0000\u0000"+ - "\u0000\u068e\u068f\u0003G\u001b\u0000\u068f\u0690\u0001\u0000\u0000\u0000"+ - "\u0690\u0691\u0006\u00db\f\u0000\u0691\u01c8\u0001\u0000\u0000\u0000\u0692"+ - "\u0693\u0003o/\u0000\u0693\u0694\u0001\u0000\u0000\u0000\u0694\u0695\u0006"+ - "\u00dc\u0013\u0000\u0695\u0696\u0006\u00dc\r\u0000\u0696\u0697\u0006\u00dc"+ - "\u000b\u0000\u0697\u01ca\u0001\u0000\u0000\u0000\u0698\u0699\u0003m.\u0000"+ - "\u0699\u069a\u0001\u0000\u0000\u0000\u069a\u069b\u0006\u00dd\u0014\u0000"+ - "\u069b\u069c\u0006\u00dd\r\u0000\u069c\u069d\u0006\u00dd\u000b\u0000\u069d"+ - "\u01cc\u0001\u0000\u0000\u0000\u069e\u069f\u0003q0\u0000\u069f\u06a0\u0001"+ - "\u0000\u0000\u0000\u06a0\u06a1\u0006\u00de\u0015\u0000\u06a1\u06a2\u0006"+ - "\u00de\r\u0000\u06a2\u06a3\u0006\u00de\u000b\u0000\u06a3\u01ce\u0001\u0000"+ - "\u0000\u0000\u06a4\u06a5\u0003C\u0019\u0000\u06a5\u06a6\u0001\u0000\u0000"+ - "\u0000\u06a6\u06a7\u0006\u00df\f\u0000\u06a7\u01d0\u0001\u0000\u0000\u0000"+ - "\u06a8\u06a9\u0003E\u001a\u0000\u06a9\u06aa\u0001\u0000\u0000\u0000\u06aa"+ - "\u06ab\u0006\u00e0\f\u0000\u06ab\u01d2\u0001\u0000\u0000\u0000\u06ac\u06ad"+ - "\u0003G\u001b\u0000\u06ad\u06ae\u0001\u0000\u0000\u0000\u06ae\u06af\u0006"+ - "\u00e1\f\u0000\u06af\u01d4\u0001\u0000\u0000\u0000\u06b0\u06b1\u0003\u00c1"+ - "X\u0000\u06b1\u06b2\u0001\u0000\u0000\u0000\u06b2\u06b3\u0006\u00e2\r"+ - "\u0000\u06b3\u06b4\u0006\u00e2\u0000\u0000\u06b4\u06b5\u0006\u00e2#\u0000"+ - "\u06b5\u01d6\u0001\u0000\u0000\u0000\u06b6\u06b7\u0003\u00bdV\u0000\u06b7"+ - "\u06b8\u0001\u0000\u0000\u0000\u06b8\u06b9\u0006\u00e3\r\u0000\u06b9\u06ba"+ - "\u0006\u00e3\u0000\u0000\u06ba\u06bb\u0006\u00e3$\u0000\u06bb\u01d8\u0001"+ - "\u0000\u0000\u0000\u06bc\u06bd\u0003e*\u0000\u06bd\u06be\u0001\u0000\u0000"+ - "\u0000\u06be\u06bf\u0006\u00e4\r\u0000\u06bf\u06c0\u0006\u00e4\u0000\u0000"+ - "\u06c0\u06c1\u0006\u00e4)\u0000\u06c1\u01da\u0001\u0000\u0000\u0000\u06c2"+ - "\u06c3\u0003I\u001c\u0000\u06c3\u06c4\u0001\u0000\u0000\u0000\u06c4\u06c5"+ - "\u0006\u00e5\u0011\u0000\u06c5\u06c6\u0006\u00e5\r\u0000\u06c6\u01dc\u0001"+ - "\u0000\u0000\u0000\u06c7\u06c8\u0003I\u001c\u0000\u06c8\u06c9\u0001\u0000"+ - "\u0000\u0000\u06c9\u06ca\u0006\u00e6\u0011\u0000\u06ca\u06cb\u0006\u00e6"+ - "\r\u0000\u06cb\u01de\u0001\u0000\u0000\u0000\u06cc\u06cd\u0003\u0129\u008c"+ - "\u0000\u06cd\u06ce\u0001\u0000\u0000\u0000\u06ce\u06cf\u0006\u00e7%\u0000"+ - "\u06cf\u01e0\u0001\u0000\u0000\u0000\u06d0\u06d1\u0003\u011b\u0085\u0000"+ - "\u06d1\u06d2\u0001\u0000\u0000\u0000\u06d2\u06d3\u0006\u00e8\'\u0000\u06d3"+ - "\u01e2\u0001\u0000\u0000\u0000\u06d4\u06d5\u0003u2\u0000\u06d5\u06d6\u0001"+ - "\u0000\u0000\u0000\u06d6\u06d7\u0006\u00e9\u0019\u0000\u06d7\u01e4\u0001"+ - "\u0000\u0000\u0000\u06d8\u06d9\u0003q0\u0000\u06d9\u06da\u0001\u0000\u0000"+ - "\u0000\u06da\u06db\u0006\u00ea\u0015\u0000\u06db\u01e6\u0001\u0000\u0000"+ - "\u0000\u06dc\u06dd\u0003\u00c1X\u0000\u06dd\u06de\u0001\u0000\u0000\u0000"+ - "\u06de\u06df\u0006\u00eb#\u0000\u06df\u01e8\u0001\u0000\u0000\u0000\u06e0"+ - "\u06e1\u0003\u00bdV\u0000\u06e1\u06e2\u0001\u0000\u0000\u0000\u06e2\u06e3"+ - "\u0006\u00ec$\u0000\u06e3\u01ea\u0001\u0000\u0000\u0000\u06e4\u06e5\u0003"+ - "C\u0019\u0000\u06e5\u06e6\u0001\u0000\u0000\u0000\u06e6\u06e7\u0006\u00ed"+ - "\f\u0000\u06e7\u01ec\u0001\u0000\u0000\u0000\u06e8\u06e9\u0003E\u001a"+ - "\u0000\u06e9\u06ea\u0001\u0000\u0000\u0000\u06ea\u06eb\u0006\u00ee\f\u0000"+ - "\u06eb\u01ee\u0001\u0000\u0000\u0000\u06ec\u06ed\u0003G\u001b\u0000\u06ed"+ - "\u06ee\u0001\u0000\u0000\u0000\u06ee\u06ef\u0006\u00ef\f\u0000\u06ef\u01f0"+ - "\u0001\u0000\u0000\u0000G\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007"+ - "\b\t\n\u000b\f\r\u000e\u000f\u0010\u02cc\u02d6\u02da\u02dd\u02e6\u02e8"+ - "\u02f3\u0306\u030b\u0314\u031b\u0320\u0322\u032d\u0335\u0338\u033a\u033f"+ - "\u0344\u034a\u0351\u0356\u035c\u035f\u0367\u036b\u03f2\u03f7\u03fe\u0400"+ - "\u0405\u040a\u0411\u0413\u0423\u0428\u042d\u042f\u0435\u0486\u048b\u04c2"+ - "\u04c6\u04cb\u04d0\u04d5\u04d7\u04db\u04dd\u053a\u053e\u0543\u05e0\u05e2"+ - "*\u0005\u0001\u0000\u0005\u0004\u0000\u0005\u0006\u0000\u0005\u0002\u0000"+ - "\u0005\u0003\u0000\u0005\b\u0000\u0005\u0005\u0000\u0005\t\u0000\u0005"+ - "\r\u0000\u0005\u0010\u0000\u0005\u000b\u0000\u0005\u000e\u0000\u0000\u0001"+ - "\u0000\u0004\u0000\u0000\u0007\u0010\u0000\u0007J\u0000\u0005\u0000\u0000"+ - "\u0007\u001d\u0000\u0007K\u0000\u0007&\u0000\u0007%\u0000\u0007\'\u0000"+ - "\u0007$\u0000\u0007U\u0000\u0007\u001e\u0000\u0007)\u0000\u00075\u0000"+ - "\u0007H\u0000\u0007G\u0000\u0007I\u0000\u0007Y\u0000\u0005\n\u0000\u0005"+ - "\u0007\u0000\u0007c\u0000\u0007b\u0000\u0007M\u0000\u0007L\u0000\u0007"+ - "a\u0000\u0005\f\u0000\u0007]\u0000\u0005\u000f\u0000\u0007!\u0000"; + "\u0000\u0000\r\u01bb\u0001\u0000\u0000\u0000\r\u01bd\u0001\u0000\u0000"+ + "\u0000\r\u01bf\u0001\u0000\u0000\u0000\r\u01c1\u0001\u0000\u0000\u0000"+ + "\r\u01c3\u0001\u0000\u0000\u0000\u000e\u01c5\u0001\u0000\u0000\u0000\u000e"+ + "\u01c7\u0001\u0000\u0000\u0000\u000e\u01c9\u0001\u0000\u0000\u0000\u000e"+ + "\u01cb\u0001\u0000\u0000\u0000\u000e\u01cd\u0001\u0000\u0000\u0000\u000e"+ + "\u01cf\u0001\u0000\u0000\u0000\u000f\u01d1\u0001\u0000\u0000\u0000\u000f"+ + "\u01d3\u0001\u0000\u0000\u0000\u000f\u01d5\u0001\u0000\u0000\u0000\u000f"+ + "\u01d7\u0001\u0000\u0000\u0000\u000f\u01d9\u0001\u0000\u0000\u0000\u000f"+ + "\u01db\u0001\u0000\u0000\u0000\u000f\u01dd\u0001\u0000\u0000\u0000\u000f"+ + "\u01df\u0001\u0000\u0000\u0000\u000f\u01e1\u0001\u0000\u0000\u0000\u000f"+ + "\u01e3\u0001\u0000\u0000\u0000\u0010\u01e5\u0001\u0000\u0000\u0000\u0010"+ + "\u01e7\u0001\u0000\u0000\u0000\u0010\u01e9\u0001\u0000\u0000\u0000\u0010"+ + "\u01eb\u0001\u0000\u0000\u0000\u0010\u01ed\u0001\u0000\u0000\u0000\u0010"+ + "\u01ef\u0001\u0000\u0000\u0000\u0010\u01f1\u0001\u0000\u0000\u0000\u0010"+ + "\u01f3\u0001\u0000\u0000\u0000\u0010\u01f5\u0001\u0000\u0000\u0000\u0010"+ + "\u01f7\u0001\u0000\u0000\u0000\u0011\u01f9\u0001\u0000\u0000\u0000\u0013"+ + "\u0206\u0001\u0000\u0000\u0000\u0015\u0210\u0001\u0000\u0000\u0000\u0017"+ + "\u0217\u0001\u0000\u0000\u0000\u0019\u0220\u0001\u0000\u0000\u0000\u001b"+ + "\u0227\u0001\u0000\u0000\u0000\u001d\u0231\u0001\u0000\u0000\u0000\u001f"+ + "\u0238\u0001\u0000\u0000\u0000!\u023f\u0001\u0000\u0000\u0000#\u0246\u0001"+ + "\u0000\u0000\u0000%\u024e\u0001\u0000\u0000\u0000\'\u025a\u0001\u0000"+ + "\u0000\u0000)\u0263\u0001\u0000\u0000\u0000+\u0269\u0001\u0000\u0000\u0000"+ + "-\u0270\u0001\u0000\u0000\u0000/\u0277\u0001\u0000\u0000\u00001\u027f"+ + "\u0001\u0000\u0000\u00003\u0287\u0001\u0000\u0000\u00005\u0290\u0001\u0000"+ + "\u0000\u00007\u029f\u0001\u0000\u0000\u00009\u02ae\u0001\u0000\u0000\u0000"+ + ";\u02ba\u0001\u0000\u0000\u0000=\u02c5\u0001\u0000\u0000\u0000?\u02cf"+ + "\u0001\u0000\u0000\u0000A\u02d7\u0001\u0000\u0000\u0000C\u02df\u0001\u0000"+ + "\u0000\u0000E\u02e9\u0001\u0000\u0000\u0000G\u02ef\u0001\u0000\u0000\u0000"+ + "I\u0300\u0001\u0000\u0000\u0000K\u0310\u0001\u0000\u0000\u0000M\u0316"+ + "\u0001\u0000\u0000\u0000O\u031a\u0001\u0000\u0000\u0000Q\u031c\u0001\u0000"+ + "\u0000\u0000S\u031e\u0001\u0000\u0000\u0000U\u0321\u0001\u0000\u0000\u0000"+ + "W\u0323\u0001\u0000\u0000\u0000Y\u032c\u0001\u0000\u0000\u0000[\u032e"+ + "\u0001\u0000\u0000\u0000]\u0333\u0001\u0000\u0000\u0000_\u0335\u0001\u0000"+ + "\u0000\u0000a\u033a\u0001\u0000\u0000\u0000c\u0359\u0001\u0000\u0000\u0000"+ + "e\u035c\u0001\u0000\u0000\u0000g\u038a\u0001\u0000\u0000\u0000i\u038c"+ + "\u0001\u0000\u0000\u0000k\u0390\u0001\u0000\u0000\u0000m\u0394\u0001\u0000"+ + "\u0000\u0000o\u0396\u0001\u0000\u0000\u0000q\u0399\u0001\u0000\u0000\u0000"+ + "s\u039c\u0001\u0000\u0000\u0000u\u039e\u0001\u0000\u0000\u0000w\u03a0"+ + "\u0001\u0000\u0000\u0000y\u03a5\u0001\u0000\u0000\u0000{\u03a7\u0001\u0000"+ + "\u0000\u0000}\u03ad\u0001\u0000\u0000\u0000\u007f\u03b3\u0001\u0000\u0000"+ + "\u0000\u0081\u03b6\u0001\u0000\u0000\u0000\u0083\u03b9\u0001\u0000\u0000"+ + "\u0000\u0085\u03be\u0001\u0000\u0000\u0000\u0087\u03c3\u0001\u0000\u0000"+ + "\u0000\u0089\u03c5\u0001\u0000\u0000\u0000\u008b\u03c9\u0001\u0000\u0000"+ + "\u0000\u008d\u03ce\u0001\u0000\u0000\u0000\u008f\u03d4\u0001\u0000\u0000"+ + "\u0000\u0091\u03d7\u0001\u0000\u0000\u0000\u0093\u03da\u0001\u0000\u0000"+ + "\u0000\u0095\u03dc\u0001\u0000\u0000\u0000\u0097\u03e2\u0001\u0000\u0000"+ + "\u0000\u0099\u03e4\u0001\u0000\u0000\u0000\u009b\u03e9\u0001\u0000\u0000"+ + "\u0000\u009d\u03ee\u0001\u0000\u0000\u0000\u009f\u03f1\u0001\u0000\u0000"+ + "\u0000\u00a1\u03f4\u0001\u0000\u0000\u0000\u00a3\u03f7\u0001\u0000\u0000"+ + "\u0000\u00a5\u03f9\u0001\u0000\u0000\u0000\u00a7\u03fc\u0001\u0000\u0000"+ + "\u0000\u00a9\u03fe\u0001\u0000\u0000\u0000\u00ab\u0401\u0001\u0000\u0000"+ + "\u0000\u00ad\u0403\u0001\u0000\u0000\u0000\u00af\u0405\u0001\u0000\u0000"+ + "\u0000\u00b1\u0407\u0001\u0000\u0000\u0000\u00b3\u0409\u0001\u0000\u0000"+ + "\u0000\u00b5\u040b\u0001\u0000\u0000\u0000\u00b7\u040d\u0001\u0000\u0000"+ + "\u0000\u00b9\u040f\u0001\u0000\u0000\u0000\u00bb\u0412\u0001\u0000\u0000"+ + "\u0000\u00bd\u0427\u0001\u0000\u0000\u0000\u00bf\u043a\u0001\u0000\u0000"+ + "\u0000\u00c1\u043c\u0001\u0000\u0000\u0000\u00c3\u0441\u0001\u0000\u0000"+ + "\u0000\u00c5\u0456\u0001\u0000\u0000\u0000\u00c7\u0458\u0001\u0000\u0000"+ + "\u0000\u00c9\u0460\u0001\u0000\u0000\u0000\u00cb\u0462\u0001\u0000\u0000"+ + "\u0000\u00cd\u0466\u0001\u0000\u0000\u0000\u00cf\u046a\u0001\u0000\u0000"+ + "\u0000\u00d1\u046e\u0001\u0000\u0000\u0000\u00d3\u0473\u0001\u0000\u0000"+ + "\u0000\u00d5\u0478\u0001\u0000\u0000\u0000\u00d7\u047c\u0001\u0000\u0000"+ + "\u0000\u00d9\u0480\u0001\u0000\u0000\u0000\u00db\u0484\u0001\u0000\u0000"+ + "\u0000\u00dd\u0489\u0001\u0000\u0000\u0000\u00df\u048d\u0001\u0000\u0000"+ + "\u0000\u00e1\u0491\u0001\u0000\u0000\u0000\u00e3\u0495\u0001\u0000\u0000"+ + "\u0000\u00e5\u0499\u0001\u0000\u0000\u0000\u00e7\u049d\u0001\u0000\u0000"+ + "\u0000\u00e9\u04a1\u0001\u0000\u0000\u0000\u00eb\u04ad\u0001\u0000\u0000"+ + "\u0000\u00ed\u04b0\u0001\u0000\u0000\u0000\u00ef\u04b4\u0001\u0000\u0000"+ + "\u0000\u00f1\u04b8\u0001\u0000\u0000\u0000\u00f3\u04bc\u0001\u0000\u0000"+ + "\u0000\u00f5\u04c0\u0001\u0000\u0000\u0000\u00f7\u04c4\u0001\u0000\u0000"+ + "\u0000\u00f9\u04c8\u0001\u0000\u0000\u0000\u00fb\u04cd\u0001\u0000\u0000"+ + "\u0000\u00fd\u04d1\u0001\u0000\u0000\u0000\u00ff\u04d5\u0001\u0000\u0000"+ + "\u0000\u0101\u04d9\u0001\u0000\u0000\u0000\u0103\u04dd\u0001\u0000\u0000"+ + "\u0000\u0105\u04e1\u0001\u0000\u0000\u0000\u0107\u04e9\u0001\u0000\u0000"+ + "\u0000\u0109\u04fe\u0001\u0000\u0000\u0000\u010b\u0502\u0001\u0000\u0000"+ + "\u0000\u010d\u0506\u0001\u0000\u0000\u0000\u010f\u050a\u0001\u0000\u0000"+ + "\u0000\u0111\u050e\u0001\u0000\u0000\u0000\u0113\u0512\u0001\u0000\u0000"+ + "\u0000\u0115\u0517\u0001\u0000\u0000\u0000\u0117\u051b\u0001\u0000\u0000"+ + "\u0000\u0119\u051f\u0001\u0000\u0000\u0000\u011b\u0523\u0001\u0000\u0000"+ + "\u0000\u011d\u0527\u0001\u0000\u0000\u0000\u011f\u052b\u0001\u0000\u0000"+ + "\u0000\u0121\u052f\u0001\u0000\u0000\u0000\u0123\u0533\u0001\u0000\u0000"+ + "\u0000\u0125\u0536\u0001\u0000\u0000\u0000\u0127\u053a\u0001\u0000\u0000"+ + "\u0000\u0129\u053e\u0001\u0000\u0000\u0000\u012b\u0542\u0001\u0000\u0000"+ + "\u0000\u012d\u0546\u0001\u0000\u0000\u0000\u012f\u054b\u0001\u0000\u0000"+ + "\u0000\u0131\u0550\u0001\u0000\u0000\u0000\u0133\u0555\u0001\u0000\u0000"+ + "\u0000\u0135\u055a\u0001\u0000\u0000\u0000\u0137\u0563\u0001\u0000\u0000"+ + "\u0000\u0139\u056a\u0001\u0000\u0000\u0000\u013b\u056e\u0001\u0000\u0000"+ + "\u0000\u013d\u0572\u0001\u0000\u0000\u0000\u013f\u0576\u0001\u0000\u0000"+ + "\u0000\u0141\u057a\u0001\u0000\u0000\u0000\u0143\u0580\u0001\u0000\u0000"+ + "\u0000\u0145\u0584\u0001\u0000\u0000\u0000\u0147\u0588\u0001\u0000\u0000"+ + "\u0000\u0149\u058c\u0001\u0000\u0000\u0000\u014b\u0590\u0001\u0000\u0000"+ + "\u0000\u014d\u0594\u0001\u0000\u0000\u0000\u014f\u0598\u0001\u0000\u0000"+ + "\u0000\u0151\u059c\u0001\u0000\u0000\u0000\u0153\u05a0\u0001\u0000\u0000"+ + "\u0000\u0155\u05a4\u0001\u0000\u0000\u0000\u0157\u05a8\u0001\u0000\u0000"+ + "\u0000\u0159\u05ac\u0001\u0000\u0000\u0000\u015b\u05b0\u0001\u0000\u0000"+ + "\u0000\u015d\u05b4\u0001\u0000\u0000\u0000\u015f\u05b9\u0001\u0000\u0000"+ + "\u0000\u0161\u05bd\u0001\u0000\u0000\u0000\u0163\u05c1\u0001\u0000\u0000"+ + "\u0000\u0165\u05c5\u0001\u0000\u0000\u0000\u0167\u05c9\u0001\u0000\u0000"+ + "\u0000\u0169\u05cd\u0001\u0000\u0000\u0000\u016b\u05d1\u0001\u0000\u0000"+ + "\u0000\u016d\u05d5\u0001\u0000\u0000\u0000\u016f\u05d9\u0001\u0000\u0000"+ + "\u0000\u0171\u05dd\u0001\u0000\u0000\u0000\u0173\u05e1\u0001\u0000\u0000"+ + "\u0000\u0175\u05e6\u0001\u0000\u0000\u0000\u0177\u05eb\u0001\u0000\u0000"+ + "\u0000\u0179\u05ef\u0001\u0000\u0000\u0000\u017b\u05f3\u0001\u0000\u0000"+ + "\u0000\u017d\u05f7\u0001\u0000\u0000\u0000\u017f\u05fc\u0001\u0000\u0000"+ + "\u0000\u0181\u0605\u0001\u0000\u0000\u0000\u0183\u0609\u0001\u0000\u0000"+ + "\u0000\u0185\u060d\u0001\u0000\u0000\u0000\u0187\u0611\u0001\u0000\u0000"+ + "\u0000\u0189\u0615\u0001\u0000\u0000\u0000\u018b\u061a\u0001\u0000\u0000"+ + "\u0000\u018d\u061e\u0001\u0000\u0000\u0000\u018f\u0622\u0001\u0000\u0000"+ + "\u0000\u0191\u0626\u0001\u0000\u0000\u0000\u0193\u062b\u0001\u0000\u0000"+ + "\u0000\u0195\u062f\u0001\u0000\u0000\u0000\u0197\u0633\u0001\u0000\u0000"+ + "\u0000\u0199\u0637\u0001\u0000\u0000\u0000\u019b\u063b\u0001\u0000\u0000"+ + "\u0000\u019d\u063f\u0001\u0000\u0000\u0000\u019f\u0645\u0001\u0000\u0000"+ + "\u0000\u01a1\u0649\u0001\u0000\u0000\u0000\u01a3\u064d\u0001\u0000\u0000"+ + "\u0000\u01a5\u0651\u0001\u0000\u0000\u0000\u01a7\u0655\u0001\u0000\u0000"+ + "\u0000\u01a9\u0659\u0001\u0000\u0000\u0000\u01ab\u065d\u0001\u0000\u0000"+ + "\u0000\u01ad\u0662\u0001\u0000\u0000\u0000\u01af\u0667\u0001\u0000\u0000"+ + "\u0000\u01b1\u066b\u0001\u0000\u0000\u0000\u01b3\u0671\u0001\u0000\u0000"+ + "\u0000\u01b5\u067a\u0001\u0000\u0000\u0000\u01b7\u067e\u0001\u0000\u0000"+ + "\u0000\u01b9\u0682\u0001\u0000\u0000\u0000\u01bb\u0686\u0001\u0000\u0000"+ + "\u0000\u01bd\u068a\u0001\u0000\u0000\u0000\u01bf\u068e\u0001\u0000\u0000"+ + "\u0000\u01c1\u0692\u0001\u0000\u0000\u0000\u01c3\u0696\u0001\u0000\u0000"+ + "\u0000\u01c5\u069a\u0001\u0000\u0000\u0000\u01c7\u069f\u0001\u0000\u0000"+ + "\u0000\u01c9\u06a5\u0001\u0000\u0000\u0000\u01cb\u06ab\u0001\u0000\u0000"+ + "\u0000\u01cd\u06af\u0001\u0000\u0000\u0000\u01cf\u06b3\u0001\u0000\u0000"+ + "\u0000\u01d1\u06b7\u0001\u0000\u0000\u0000\u01d3\u06bd\u0001\u0000\u0000"+ + "\u0000\u01d5\u06c3\u0001\u0000\u0000\u0000\u01d7\u06c9\u0001\u0000\u0000"+ + "\u0000\u01d9\u06cd\u0001\u0000\u0000\u0000\u01db\u06d1\u0001\u0000\u0000"+ + "\u0000\u01dd\u06d5\u0001\u0000\u0000\u0000\u01df\u06db\u0001\u0000\u0000"+ + "\u0000\u01e1\u06e1\u0001\u0000\u0000\u0000\u01e3\u06e7\u0001\u0000\u0000"+ + "\u0000\u01e5\u06ec\u0001\u0000\u0000\u0000\u01e7\u06f1\u0001\u0000\u0000"+ + "\u0000\u01e9\u06f5\u0001\u0000\u0000\u0000\u01eb\u06f9\u0001\u0000\u0000"+ + "\u0000\u01ed\u06fd\u0001\u0000\u0000\u0000\u01ef\u0701\u0001\u0000\u0000"+ + "\u0000\u01f1\u0705\u0001\u0000\u0000\u0000\u01f3\u0709\u0001\u0000\u0000"+ + "\u0000\u01f5\u070d\u0001\u0000\u0000\u0000\u01f7\u0711\u0001\u0000\u0000"+ + "\u0000\u01f9\u01fa\u0007\u0000\u0000\u0000\u01fa\u01fb\u0007\u0001\u0000"+ + "\u0000\u01fb\u01fc\u0007\u0002\u0000\u0000\u01fc\u01fd\u0007\u0003\u0000"+ + "\u0000\u01fd\u01fe\u0007\u0004\u0000\u0000\u01fe\u01ff\u0007\u0005\u0000"+ + "\u0000\u01ff\u0200\u0007\u0006\u0000\u0000\u0200\u0201\u0007\u0007\u0000"+ + "\u0000\u0201\u0202\u0007\u0001\u0000\u0000\u0202\u0203\u0007\b\u0000\u0000"+ + "\u0203\u0204\u0001\u0000\u0000\u0000\u0204\u0205\u0006\u0000\u0000\u0000"+ + "\u0205\u0012\u0001\u0000\u0000\u0000\u0206\u0207\u0007\t\u0000\u0000\u0207"+ + "\u0208\u0007\u0007\u0000\u0000\u0208\u0209\u0007\n\u0000\u0000\u0209\u020a"+ + "\u0007\n\u0000\u0000\u020a\u020b\u0007\u0005\u0000\u0000\u020b\u020c\u0007"+ + "\u0000\u0000\u0000\u020c\u020d\u0007\u0006\u0000\u0000\u020d\u020e\u0001"+ + "\u0000\u0000\u0000\u020e\u020f\u0006\u0001\u0000\u0000\u020f\u0014\u0001"+ + "\u0000\u0000\u0000\u0210\u0211\u0007\t\u0000\u0000\u0211\u0212\u0007\u000b"+ + "\u0000\u0000\u0212\u0213\u0007\u0001\u0000\u0000\u0213\u0214\u0007\u0003"+ + "\u0000\u0000\u0214\u0215\u0001\u0000\u0000\u0000\u0215\u0216\u0006\u0002"+ + "\u0001\u0000\u0216\u0016\u0001\u0000\u0000\u0000\u0217\u0218\u0007\u0005"+ + "\u0000\u0000\u0218\u0219\u0007\b\u0000\u0000\u0219\u021a\u0007\u000b\u0000"+ + "\u0000\u021a\u021b\u0007\u0007\u0000\u0000\u021b\u021c\u0007\u0000\u0000"+ + "\u0000\u021c\u021d\u0007\f\u0000\u0000\u021d\u021e\u0001\u0000\u0000\u0000"+ + "\u021e\u021f\u0006\u0003\u0002\u0000\u021f\u0018\u0001\u0000\u0000\u0000"+ + "\u0220\u0221\u0007\u0005\u0000\u0000\u0221\u0222\u0007\r\u0000\u0000\u0222"+ + "\u0223\u0007\u000e\u0000\u0000\u0223\u0224\u0007\u0004\u0000\u0000\u0224"+ + "\u0225\u0001\u0000\u0000\u0000\u0225\u0226\u0006\u0004\u0000\u0000\u0226"+ + "\u001a\u0001\u0000\u0000\u0000\u0227\u0228\u0007\u0005\u0000\u0000\u0228"+ + "\u0229\u0007\u000f\u0000\u0000\u0229\u022a\u0007\u0003\u0000\u0000\u022a"+ + "\u022b\u0007\u0004\u0000\u0000\u022b\u022c\u0007\u000e\u0000\u0000\u022c"+ + "\u022d\u0007\u0007\u0000\u0000\u022d\u022e\u0007\b\u0000\u0000\u022e\u022f"+ + "\u0001\u0000\u0000\u0000\u022f\u0230\u0006\u0005\u0003\u0000\u0230\u001c"+ + "\u0001\u0000\u0000\u0000\u0231\u0232\u0007\u0010\u0000\u0000\u0232\u0233"+ + "\u0007\u000b\u0000\u0000\u0233\u0234\u0007\u0001\u0000\u0000\u0234\u0235"+ + "\u0007\u0002\u0000\u0000\u0235\u0236\u0001\u0000\u0000\u0000\u0236\u0237"+ + "\u0006\u0006\u0004\u0000\u0237\u001e\u0001\u0000\u0000\u0000\u0238\u0239"+ + "\u0007\u0011\u0000\u0000\u0239\u023a\u0007\u000b\u0000\u0000\u023a\u023b"+ + "\u0007\u0001\u0000\u0000\u023b\u023c\u0007\u0012\u0000\u0000\u023c\u023d"+ + "\u0001\u0000\u0000\u0000\u023d\u023e\u0006\u0007\u0000\u0000\u023e \u0001"+ + "\u0000\u0000\u0000\u023f\u0240\u0007\u0012\u0000\u0000\u0240\u0241\u0007"+ + "\u0005\u0000\u0000\u0241\u0242\u0007\u0005\u0000\u0000\u0242\u0243\u0007"+ + "\u0003\u0000\u0000\u0243\u0244\u0001\u0000\u0000\u0000\u0244\u0245\u0006"+ + "\b\u0001\u0000\u0245\"\u0001\u0000\u0000\u0000\u0246\u0247\u0007\u0004"+ + "\u0000\u0000\u0247\u0248\u0007\u0007\u0000\u0000\u0248\u0249\u0007\u0002"+ + "\u0000\u0000\u0249\u024a\u0007\u0007\u0000\u0000\u024a\u024b\u0007\u0006"+ + "\u0000\u0000\u024b\u024c\u0001\u0000\u0000\u0000\u024c\u024d\u0006\t\u0000"+ + "\u0000\u024d$\u0001\u0000\u0000\u0000\u024e\u024f\u0007\u0002\u0000\u0000"+ + "\u024f\u0250\u0007\r\u0000\u0000\u0250\u0251\u0005_\u0000\u0000\u0251"+ + "\u0252\u0007\u0005\u0000\u0000\u0252\u0253\u0007\u000f\u0000\u0000\u0253"+ + "\u0254\u0007\u0003\u0000\u0000\u0254\u0255\u0007\u000e\u0000\u0000\u0255"+ + "\u0256\u0007\b\u0000\u0000\u0256\u0257\u0007\t\u0000\u0000\u0257\u0258"+ + "\u0001\u0000\u0000\u0000\u0258\u0259\u0006\n\u0005\u0000\u0259&\u0001"+ + "\u0000\u0000\u0000\u025a\u025b\u0007\u000b\u0000\u0000\u025b\u025c\u0007"+ + "\u0005\u0000\u0000\u025c\u025d\u0007\b\u0000\u0000\u025d\u025e\u0007\u000e"+ + "\u0000\u0000\u025e\u025f\u0007\u0002\u0000\u0000\u025f\u0260\u0007\u0005"+ + "\u0000\u0000\u0260\u0261\u0001\u0000\u0000\u0000\u0261\u0262\u0006\u000b"+ + "\u0006\u0000\u0262(\u0001\u0000\u0000\u0000\u0263\u0264\u0007\u000b\u0000"+ + "\u0000\u0264\u0265\u0007\u0001\u0000\u0000\u0265\u0266\u0007\u0013\u0000"+ + "\u0000\u0266\u0267\u0001\u0000\u0000\u0000\u0267\u0268\u0006\f\u0000\u0000"+ + "\u0268*\u0001\u0000\u0000\u0000\u0269\u026a\u0007\n\u0000\u0000\u026a"+ + "\u026b\u0007\f\u0000\u0000\u026b\u026c\u0007\u0001\u0000\u0000\u026c\u026d"+ + "\u0007\u0013\u0000\u0000\u026d\u026e\u0001\u0000\u0000\u0000\u026e\u026f"+ + "\u0006\r\u0007\u0000\u026f,\u0001\u0000\u0000\u0000\u0270\u0271\u0007"+ + "\n\u0000\u0000\u0271\u0272\u0007\u0001\u0000\u0000\u0272\u0273\u0007\u000b"+ + "\u0000\u0000\u0273\u0274\u0007\u0006\u0000\u0000\u0274\u0275\u0001\u0000"+ + "\u0000\u0000\u0275\u0276\u0006\u000e\u0000\u0000\u0276.\u0001\u0000\u0000"+ + "\u0000\u0277\u0278\u0007\n\u0000\u0000\u0278\u0279\u0007\u0006\u0000\u0000"+ + "\u0279\u027a\u0007\u000e\u0000\u0000\u027a\u027b\u0007\u0006\u0000\u0000"+ + "\u027b\u027c\u0007\n\u0000\u0000\u027c\u027d\u0001\u0000\u0000\u0000\u027d"+ + "\u027e\u0006\u000f\u0000\u0000\u027e0\u0001\u0000\u0000\u0000\u027f\u0280"+ + "\u0007\u0013\u0000\u0000\u0280\u0281\u0007\f\u0000\u0000\u0281\u0282\u0007"+ + "\u0005\u0000\u0000\u0282\u0283\u0007\u000b\u0000\u0000\u0283\u0284\u0007"+ + "\u0005\u0000\u0000\u0284\u0285\u0001\u0000\u0000\u0000\u0285\u0286\u0006"+ + "\u0010\u0000\u0000\u02862\u0001\u0000\u0000\u0000\u0287\u0288\u0007\u0004"+ + "\u0000\u0000\u0288\u0289\u0007\u0001\u0000\u0000\u0289\u028a\u0007\u0001"+ + "\u0000\u0000\u028a\u028b\u0007\u0012\u0000\u0000\u028b\u028c\u0007\u0014"+ + "\u0000\u0000\u028c\u028d\u0007\u0003\u0000\u0000\u028d\u028e\u0001\u0000"+ + "\u0000\u0000\u028e\u028f\u0006\u0011\b\u0000\u028f4\u0001\u0000\u0000"+ + "\u0000\u0290\u0291\u0007\u0000\u0000\u0000\u0291\u0292\u0007\f\u0000\u0000"+ + "\u0292\u0293\u0007\u000e\u0000\u0000\u0293\u0294\u0007\b\u0000\u0000\u0294"+ + "\u0295\u0007\u0011\u0000\u0000\u0295\u0296\u0007\u0005\u0000\u0000\u0296"+ + "\u0297\u0005_\u0000\u0000\u0297\u0298\u0007\u0003\u0000\u0000\u0298\u0299"+ + "\u0007\u0001\u0000\u0000\u0299\u029a\u0007\u0007\u0000\u0000\u029a\u029b"+ + "\u0007\b\u0000\u0000\u029b\u029c\u0007\u0006\u0000\u0000\u029c\u029d\u0001"+ + "\u0000\u0000\u0000\u029d\u029e\u0006\u0012\t\u0000\u029e6\u0001\u0000"+ + "\u0000\u0000\u029f\u02a0\u0004\u0013\u0000\u0000\u02a0\u02a1\u0007\u0007"+ + "\u0000\u0000\u02a1\u02a2\u0007\b\u0000\u0000\u02a2\u02a3\u0007\u0004\u0000"+ + "\u0000\u02a3\u02a4\u0007\u0007\u0000\u0000\u02a4\u02a5\u0007\b\u0000\u0000"+ + "\u02a5\u02a6\u0007\u0005\u0000\u0000\u02a6\u02a7\u0007\n\u0000\u0000\u02a7"+ + "\u02a8\u0007\u0006\u0000\u0000\u02a8\u02a9\u0007\u000e\u0000\u0000\u02a9"+ + "\u02aa\u0007\u0006\u0000\u0000\u02aa\u02ab\u0007\n\u0000\u0000\u02ab\u02ac"+ + "\u0001\u0000\u0000\u0000\u02ac\u02ad\u0006\u0013\u0000\u0000\u02ad8\u0001"+ + "\u0000\u0000\u0000\u02ae\u02af\u0004\u0014\u0001\u0000\u02af\u02b0\u0007"+ + "\u0004\u0000\u0000\u02b0\u02b1\u0007\u0001\u0000\u0000\u02b1\u02b2\u0007"+ + "\u0001\u0000\u0000\u02b2\u02b3\u0007\u0012\u0000\u0000\u02b3\u02b4\u0007"+ + "\u0014\u0000\u0000\u02b4\u02b5\u0007\u0003\u0000\u0000\u02b5\u02b6\u0005"+ + "_\u0000\u0000\u02b6\u02b7\u0005\u8001\uf414\u0000\u0000\u02b7\u02b8\u0001"+ + "\u0000\u0000\u0000\u02b8\u02b9\u0006\u0014\n\u0000\u02b9:\u0001\u0000"+ + "\u0000\u0000\u02ba\u02bb\u0004\u0015\u0002\u0000\u02bb\u02bc\u0007\u0002"+ + "\u0000\u0000\u02bc\u02bd\u0007\u0005\u0000\u0000\u02bd\u02be\u0007\u0006"+ + "\u0000\u0000\u02be\u02bf\u0007\u000b\u0000\u0000\u02bf\u02c0\u0007\u0007"+ + "\u0000\u0000\u02c0\u02c1\u0007\u0000\u0000\u0000\u02c1\u02c2\u0007\n\u0000"+ + "\u0000\u02c2\u02c3\u0001\u0000\u0000\u0000\u02c3\u02c4\u0006\u0015\u000b"+ + "\u0000\u02c4<\u0001\u0000\u0000\u0000\u02c5\u02c6\u0004\u0016\u0003\u0000"+ + "\u02c6\u02c7\u0007\u000b\u0000\u0000\u02c7\u02c8\u0007\u0005\u0000\u0000"+ + "\u02c8\u02c9\u0007\u000b\u0000\u0000\u02c9\u02ca\u0007\u000e\u0000\u0000"+ + "\u02ca\u02cb\u0007\b\u0000\u0000\u02cb\u02cc\u0007\u0012\u0000\u0000\u02cc"+ + "\u02cd\u0001\u0000\u0000\u0000\u02cd\u02ce\u0006\u0016\u0000\u0000\u02ce"+ + ">\u0001\u0000\u0000\u0000\u02cf\u02d0\u0004\u0017\u0004\u0000\u02d0\u02d1"+ + "\u0007\u0010\u0000\u0000\u02d1\u02d2\u0007\u0014\u0000\u0000\u02d2\u02d3"+ + "\u0007\u0004\u0000\u0000\u02d3\u02d4\u0007\u0004\u0000\u0000\u02d4\u02d5"+ + "\u0001\u0000\u0000\u0000\u02d5\u02d6\u0006\u0017\b\u0000\u02d6@\u0001"+ + "\u0000\u0000\u0000\u02d7\u02d8\u0004\u0018\u0005\u0000\u02d8\u02d9\u0007"+ + "\u0004\u0000\u0000\u02d9\u02da\u0007\u0005\u0000\u0000\u02da\u02db\u0007"+ + "\u0010\u0000\u0000\u02db\u02dc\u0007\u0006\u0000\u0000\u02dc\u02dd\u0001"+ + "\u0000\u0000\u0000\u02dd\u02de\u0006\u0018\b\u0000\u02deB\u0001\u0000"+ + "\u0000\u0000\u02df\u02e0\u0004\u0019\u0006\u0000\u02e0\u02e1\u0007\u000b"+ + "\u0000\u0000\u02e1\u02e2\u0007\u0007\u0000\u0000\u02e2\u02e3\u0007\u0011"+ + "\u0000\u0000\u02e3\u02e4\u0007\f\u0000\u0000\u02e4\u02e5\u0007\u0006\u0000"+ + "\u0000\u02e5\u02e6\u0001\u0000\u0000\u0000\u02e6\u02e7\u0006\u0019\b\u0000"+ + "\u02e7D\u0001\u0000\u0000\u0000\u02e8\u02ea\b\u0015\u0000\u0000\u02e9"+ + "\u02e8\u0001\u0000\u0000\u0000\u02ea\u02eb\u0001\u0000\u0000\u0000\u02eb"+ + "\u02e9\u0001\u0000\u0000\u0000\u02eb\u02ec\u0001\u0000\u0000\u0000\u02ec"+ + "\u02ed\u0001\u0000\u0000\u0000\u02ed\u02ee\u0006\u001a\u0000\u0000\u02ee"+ + "F\u0001\u0000\u0000\u0000\u02ef\u02f0\u0005/\u0000\u0000\u02f0\u02f1\u0005"+ + "/\u0000\u0000\u02f1\u02f5\u0001\u0000\u0000\u0000\u02f2\u02f4\b\u0016"+ + "\u0000\u0000\u02f3\u02f2\u0001\u0000\u0000\u0000\u02f4\u02f7\u0001\u0000"+ + "\u0000\u0000\u02f5\u02f3\u0001\u0000\u0000\u0000\u02f5\u02f6\u0001\u0000"+ + "\u0000\u0000\u02f6\u02f9\u0001\u0000\u0000\u0000\u02f7\u02f5\u0001\u0000"+ + "\u0000\u0000\u02f8\u02fa\u0005\r\u0000\u0000\u02f9\u02f8\u0001\u0000\u0000"+ + "\u0000\u02f9\u02fa\u0001\u0000\u0000\u0000\u02fa\u02fc\u0001\u0000\u0000"+ + "\u0000\u02fb\u02fd\u0005\n\u0000\u0000\u02fc\u02fb\u0001\u0000\u0000\u0000"+ + "\u02fc\u02fd\u0001\u0000\u0000\u0000\u02fd\u02fe\u0001\u0000\u0000\u0000"+ + "\u02fe\u02ff\u0006\u001b\f\u0000\u02ffH\u0001\u0000\u0000\u0000\u0300"+ + "\u0301\u0005/\u0000\u0000\u0301\u0302\u0005*\u0000\u0000\u0302\u0307\u0001"+ + "\u0000\u0000\u0000\u0303\u0306\u0003I\u001c\u0000\u0304\u0306\t\u0000"+ + "\u0000\u0000\u0305\u0303\u0001\u0000\u0000\u0000\u0305\u0304\u0001\u0000"+ + "\u0000\u0000\u0306\u0309\u0001\u0000\u0000\u0000\u0307\u0308\u0001\u0000"+ + "\u0000\u0000\u0307\u0305\u0001\u0000\u0000\u0000\u0308\u030a\u0001\u0000"+ + "\u0000\u0000\u0309\u0307\u0001\u0000\u0000\u0000\u030a\u030b\u0005*\u0000"+ + "\u0000\u030b\u030c\u0005/\u0000\u0000\u030c\u030d\u0001\u0000\u0000\u0000"+ + "\u030d\u030e\u0006\u001c\f\u0000\u030eJ\u0001\u0000\u0000\u0000\u030f"+ + "\u0311\u0007\u0017\u0000\u0000\u0310\u030f\u0001\u0000\u0000\u0000\u0311"+ + "\u0312\u0001\u0000\u0000\u0000\u0312\u0310\u0001\u0000\u0000\u0000\u0312"+ + "\u0313\u0001\u0000\u0000\u0000\u0313\u0314\u0001\u0000\u0000\u0000\u0314"+ + "\u0315\u0006\u001d\f\u0000\u0315L\u0001\u0000\u0000\u0000\u0316\u0317"+ + "\u0005|\u0000\u0000\u0317\u0318\u0001\u0000\u0000\u0000\u0318\u0319\u0006"+ + "\u001e\r\u0000\u0319N\u0001\u0000\u0000\u0000\u031a\u031b\u0007\u0018"+ + "\u0000\u0000\u031bP\u0001\u0000\u0000\u0000\u031c\u031d\u0007\u0019\u0000"+ + "\u0000\u031dR\u0001\u0000\u0000\u0000\u031e\u031f\u0005\\\u0000\u0000"+ + "\u031f\u0320\u0007\u001a\u0000\u0000\u0320T\u0001\u0000\u0000\u0000\u0321"+ + "\u0322\b\u001b\u0000\u0000\u0322V\u0001\u0000\u0000\u0000\u0323\u0325"+ + "\u0007\u0005\u0000\u0000\u0324\u0326\u0007\u001c\u0000\u0000\u0325\u0324"+ + "\u0001\u0000\u0000\u0000\u0325\u0326\u0001\u0000\u0000\u0000\u0326\u0328"+ + "\u0001\u0000\u0000\u0000\u0327\u0329\u0003O\u001f\u0000\u0328\u0327\u0001"+ + "\u0000\u0000\u0000\u0329\u032a\u0001\u0000\u0000\u0000\u032a\u0328\u0001"+ + "\u0000\u0000\u0000\u032a\u032b\u0001\u0000\u0000\u0000\u032bX\u0001\u0000"+ + "\u0000\u0000\u032c\u032d\u0005@\u0000\u0000\u032dZ\u0001\u0000\u0000\u0000"+ + "\u032e\u032f\u0005`\u0000\u0000\u032f\\\u0001\u0000\u0000\u0000\u0330"+ + "\u0334\b\u001d\u0000\u0000\u0331\u0332\u0005`\u0000\u0000\u0332\u0334"+ + "\u0005`\u0000\u0000\u0333\u0330\u0001\u0000\u0000\u0000\u0333\u0331\u0001"+ + "\u0000\u0000\u0000\u0334^\u0001\u0000\u0000\u0000\u0335\u0336\u0005_\u0000"+ + "\u0000\u0336`\u0001\u0000\u0000\u0000\u0337\u033b\u0003Q \u0000\u0338"+ + "\u033b\u0003O\u001f\u0000\u0339\u033b\u0003_\'\u0000\u033a\u0337\u0001"+ + "\u0000\u0000\u0000\u033a\u0338\u0001\u0000\u0000\u0000\u033a\u0339\u0001"+ + "\u0000\u0000\u0000\u033bb\u0001\u0000\u0000\u0000\u033c\u0341\u0005\""+ + "\u0000\u0000\u033d\u0340\u0003S!\u0000\u033e\u0340\u0003U\"\u0000\u033f"+ + "\u033d\u0001\u0000\u0000\u0000\u033f\u033e\u0001\u0000\u0000\u0000\u0340"+ + "\u0343\u0001\u0000\u0000\u0000\u0341\u033f\u0001\u0000\u0000\u0000\u0341"+ + "\u0342\u0001\u0000\u0000\u0000\u0342\u0344\u0001\u0000\u0000\u0000\u0343"+ + "\u0341\u0001\u0000\u0000\u0000\u0344\u035a\u0005\"\u0000\u0000\u0345\u0346"+ + "\u0005\"\u0000\u0000\u0346\u0347\u0005\"\u0000\u0000\u0347\u0348\u0005"+ + "\"\u0000\u0000\u0348\u034c\u0001\u0000\u0000\u0000\u0349\u034b\b\u0016"+ + "\u0000\u0000\u034a\u0349\u0001\u0000\u0000\u0000\u034b\u034e\u0001\u0000"+ + "\u0000\u0000\u034c\u034d\u0001\u0000\u0000\u0000\u034c\u034a\u0001\u0000"+ + "\u0000\u0000\u034d\u034f\u0001\u0000\u0000\u0000\u034e\u034c\u0001\u0000"+ + "\u0000\u0000\u034f\u0350\u0005\"\u0000\u0000\u0350\u0351\u0005\"\u0000"+ + "\u0000\u0351\u0352\u0005\"\u0000\u0000\u0352\u0354\u0001\u0000\u0000\u0000"+ + "\u0353\u0355\u0005\"\u0000\u0000\u0354\u0353\u0001\u0000\u0000\u0000\u0354"+ + "\u0355\u0001\u0000\u0000\u0000\u0355\u0357\u0001\u0000\u0000\u0000\u0356"+ + "\u0358\u0005\"\u0000\u0000\u0357\u0356\u0001\u0000\u0000\u0000\u0357\u0358"+ + "\u0001\u0000\u0000\u0000\u0358\u035a\u0001\u0000\u0000\u0000\u0359\u033c"+ + "\u0001\u0000\u0000\u0000\u0359\u0345\u0001\u0000\u0000\u0000\u035ad\u0001"+ + "\u0000\u0000\u0000\u035b\u035d\u0003O\u001f\u0000\u035c\u035b\u0001\u0000"+ + "\u0000\u0000\u035d\u035e\u0001\u0000\u0000\u0000\u035e\u035c\u0001\u0000"+ + "\u0000\u0000\u035e\u035f\u0001\u0000\u0000\u0000\u035ff\u0001\u0000\u0000"+ + "\u0000\u0360\u0362\u0003O\u001f\u0000\u0361\u0360\u0001\u0000\u0000\u0000"+ + "\u0362\u0363\u0001\u0000\u0000\u0000\u0363\u0361\u0001\u0000\u0000\u0000"+ + "\u0363\u0364\u0001\u0000\u0000\u0000\u0364\u0365\u0001\u0000\u0000\u0000"+ + "\u0365\u0369\u0003y4\u0000\u0366\u0368\u0003O\u001f\u0000\u0367\u0366"+ + "\u0001\u0000\u0000\u0000\u0368\u036b\u0001\u0000\u0000\u0000\u0369\u0367"+ + "\u0001\u0000\u0000\u0000\u0369\u036a\u0001\u0000\u0000\u0000\u036a\u038b"+ + "\u0001\u0000\u0000\u0000\u036b\u0369\u0001\u0000\u0000\u0000\u036c\u036e"+ + "\u0003y4\u0000\u036d\u036f\u0003O\u001f\u0000\u036e\u036d\u0001\u0000"+ + "\u0000\u0000\u036f\u0370\u0001\u0000\u0000\u0000\u0370\u036e\u0001\u0000"+ + "\u0000\u0000\u0370\u0371\u0001\u0000\u0000\u0000\u0371\u038b\u0001\u0000"+ + "\u0000\u0000\u0372\u0374\u0003O\u001f\u0000\u0373\u0372\u0001\u0000\u0000"+ + "\u0000\u0374\u0375\u0001\u0000\u0000\u0000\u0375\u0373\u0001\u0000\u0000"+ + "\u0000\u0375\u0376\u0001\u0000\u0000\u0000\u0376\u037e\u0001\u0000\u0000"+ + "\u0000\u0377\u037b\u0003y4\u0000\u0378\u037a\u0003O\u001f\u0000\u0379"+ + "\u0378\u0001\u0000\u0000\u0000\u037a\u037d\u0001\u0000\u0000\u0000\u037b"+ + "\u0379\u0001\u0000\u0000\u0000\u037b\u037c\u0001\u0000\u0000\u0000\u037c"+ + "\u037f\u0001\u0000\u0000\u0000\u037d\u037b\u0001\u0000\u0000\u0000\u037e"+ + "\u0377\u0001\u0000\u0000\u0000\u037e\u037f\u0001\u0000\u0000\u0000\u037f"+ + "\u0380\u0001\u0000\u0000\u0000\u0380\u0381\u0003W#\u0000\u0381\u038b\u0001"+ + "\u0000\u0000\u0000\u0382\u0384\u0003y4\u0000\u0383\u0385\u0003O\u001f"+ + "\u0000\u0384\u0383\u0001\u0000\u0000\u0000\u0385\u0386\u0001\u0000\u0000"+ + "\u0000\u0386\u0384\u0001\u0000\u0000\u0000\u0386\u0387\u0001\u0000\u0000"+ + "\u0000\u0387\u0388\u0001\u0000\u0000\u0000\u0388\u0389\u0003W#\u0000\u0389"+ + "\u038b\u0001\u0000\u0000\u0000\u038a\u0361\u0001\u0000\u0000\u0000\u038a"+ + "\u036c\u0001\u0000\u0000\u0000\u038a\u0373\u0001\u0000\u0000\u0000\u038a"+ + "\u0382\u0001\u0000\u0000\u0000\u038bh\u0001\u0000\u0000\u0000\u038c\u038d"+ + "\u0007\u000e\u0000\u0000\u038d\u038e\u0007\b\u0000\u0000\u038e\u038f\u0007"+ + "\t\u0000\u0000\u038fj\u0001\u0000\u0000\u0000\u0390\u0391\u0007\u000e"+ + "\u0000\u0000\u0391\u0392\u0007\n\u0000\u0000\u0392\u0393\u0007\u0000\u0000"+ + "\u0000\u0393l\u0001\u0000\u0000\u0000\u0394\u0395\u0005=\u0000\u0000\u0395"+ + "n\u0001\u0000\u0000\u0000\u0396\u0397\u0007\u001e\u0000\u0000\u0397\u0398"+ + "\u0007\u001f\u0000\u0000\u0398p\u0001\u0000\u0000\u0000\u0399\u039a\u0005"+ + ":\u0000\u0000\u039a\u039b\u0005:\u0000\u0000\u039br\u0001\u0000\u0000"+ + "\u0000\u039c\u039d\u0005:\u0000\u0000\u039dt\u0001\u0000\u0000\u0000\u039e"+ + "\u039f\u0005,\u0000\u0000\u039fv\u0001\u0000\u0000\u0000\u03a0\u03a1\u0007"+ + "\t\u0000\u0000\u03a1\u03a2\u0007\u0005\u0000\u0000\u03a2\u03a3\u0007\n"+ + "\u0000\u0000\u03a3\u03a4\u0007\u0000\u0000\u0000\u03a4x\u0001\u0000\u0000"+ + "\u0000\u03a5\u03a6\u0005.\u0000\u0000\u03a6z\u0001\u0000\u0000\u0000\u03a7"+ + "\u03a8\u0007\u0010\u0000\u0000\u03a8\u03a9\u0007\u000e\u0000\u0000\u03a9"+ + "\u03aa\u0007\u0004\u0000\u0000\u03aa\u03ab\u0007\n\u0000\u0000\u03ab\u03ac"+ + "\u0007\u0005\u0000\u0000\u03ac|\u0001\u0000\u0000\u0000\u03ad\u03ae\u0007"+ + "\u0010\u0000\u0000\u03ae\u03af\u0007\u0007\u0000\u0000\u03af\u03b0\u0007"+ + "\u000b\u0000\u0000\u03b0\u03b1\u0007\n\u0000\u0000\u03b1\u03b2\u0007\u0006"+ + "\u0000\u0000\u03b2~\u0001\u0000\u0000\u0000\u03b3\u03b4\u0007\u0007\u0000"+ + "\u0000\u03b4\u03b5\u0007\b\u0000\u0000\u03b5\u0080\u0001\u0000\u0000\u0000"+ + "\u03b6\u03b7\u0007\u0007\u0000\u0000\u03b7\u03b8\u0007\n\u0000\u0000\u03b8"+ + "\u0082\u0001\u0000\u0000\u0000\u03b9\u03ba\u0007\u0004\u0000\u0000\u03ba"+ + "\u03bb\u0007\u000e\u0000\u0000\u03bb\u03bc\u0007\n\u0000\u0000\u03bc\u03bd"+ + "\u0007\u0006\u0000\u0000\u03bd\u0084\u0001\u0000\u0000\u0000\u03be\u03bf"+ + "\u0007\u0004\u0000\u0000\u03bf\u03c0\u0007\u0007\u0000\u0000\u03c0\u03c1"+ + "\u0007\u0012\u0000\u0000\u03c1\u03c2\u0007\u0005\u0000\u0000\u03c2\u0086"+ + "\u0001\u0000\u0000\u0000\u03c3\u03c4\u0005(\u0000\u0000\u03c4\u0088\u0001"+ + "\u0000\u0000\u0000\u03c5\u03c6\u0007\b\u0000\u0000\u03c6\u03c7\u0007\u0001"+ + "\u0000\u0000\u03c7\u03c8\u0007\u0006\u0000\u0000\u03c8\u008a\u0001\u0000"+ + "\u0000\u0000\u03c9\u03ca\u0007\b\u0000\u0000\u03ca\u03cb\u0007\u0014\u0000"+ + "\u0000\u03cb\u03cc\u0007\u0004\u0000\u0000\u03cc\u03cd\u0007\u0004\u0000"+ + "\u0000\u03cd\u008c\u0001\u0000\u0000\u0000\u03ce\u03cf\u0007\b\u0000\u0000"+ + "\u03cf\u03d0\u0007\u0014\u0000\u0000\u03d0\u03d1\u0007\u0004\u0000\u0000"+ + "\u03d1\u03d2\u0007\u0004\u0000\u0000\u03d2\u03d3\u0007\n\u0000\u0000\u03d3"+ + "\u008e\u0001\u0000\u0000\u0000\u03d4\u03d5\u0007\u0001\u0000\u0000\u03d5"+ + "\u03d6\u0007\b\u0000\u0000\u03d6\u0090\u0001\u0000\u0000\u0000\u03d7\u03d8"+ + "\u0007\u0001\u0000\u0000\u03d8\u03d9\u0007\u000b\u0000\u0000\u03d9\u0092"+ + "\u0001\u0000\u0000\u0000\u03da\u03db\u0005?\u0000\u0000\u03db\u0094\u0001"+ + "\u0000\u0000\u0000\u03dc\u03dd\u0007\u000b\u0000\u0000\u03dd\u03de\u0007"+ + "\u0004\u0000\u0000\u03de\u03df\u0007\u0007\u0000\u0000\u03df\u03e0\u0007"+ + "\u0012\u0000\u0000\u03e0\u03e1\u0007\u0005\u0000\u0000\u03e1\u0096\u0001"+ + "\u0000\u0000\u0000\u03e2\u03e3\u0005)\u0000\u0000\u03e3\u0098\u0001\u0000"+ + "\u0000\u0000\u03e4\u03e5\u0007\u0006\u0000\u0000\u03e5\u03e6\u0007\u000b"+ + "\u0000\u0000\u03e6\u03e7\u0007\u0014\u0000\u0000\u03e7\u03e8\u0007\u0005"+ + "\u0000\u0000\u03e8\u009a\u0001\u0000\u0000\u0000\u03e9\u03ea\u0007\u0013"+ + "\u0000\u0000\u03ea\u03eb\u0007\u0007\u0000\u0000\u03eb\u03ec\u0007\u0006"+ + "\u0000\u0000\u03ec\u03ed\u0007\f\u0000\u0000\u03ed\u009c\u0001\u0000\u0000"+ + "\u0000\u03ee\u03ef\u0005=\u0000\u0000\u03ef\u03f0\u0005=\u0000\u0000\u03f0"+ + "\u009e\u0001\u0000\u0000\u0000\u03f1\u03f2\u0005=\u0000\u0000\u03f2\u03f3"+ + "\u0005~\u0000\u0000\u03f3\u00a0\u0001\u0000\u0000\u0000\u03f4\u03f5\u0005"+ + "!\u0000\u0000\u03f5\u03f6\u0005=\u0000\u0000\u03f6\u00a2\u0001\u0000\u0000"+ + "\u0000\u03f7\u03f8\u0005<\u0000\u0000\u03f8\u00a4\u0001\u0000\u0000\u0000"+ + "\u03f9\u03fa\u0005<\u0000\u0000\u03fa\u03fb\u0005=\u0000\u0000\u03fb\u00a6"+ + "\u0001\u0000\u0000\u0000\u03fc\u03fd\u0005>\u0000\u0000\u03fd\u00a8\u0001"+ + "\u0000\u0000\u0000\u03fe\u03ff\u0005>\u0000\u0000\u03ff\u0400\u0005=\u0000"+ + "\u0000\u0400\u00aa\u0001\u0000\u0000\u0000\u0401\u0402\u0005+\u0000\u0000"+ + "\u0402\u00ac\u0001\u0000\u0000\u0000\u0403\u0404\u0005-\u0000\u0000\u0404"+ + "\u00ae\u0001\u0000\u0000\u0000\u0405\u0406\u0005*\u0000\u0000\u0406\u00b0"+ + "\u0001\u0000\u0000\u0000\u0407\u0408\u0005/\u0000\u0000\u0408\u00b2\u0001"+ + "\u0000\u0000\u0000\u0409\u040a\u0005%\u0000\u0000\u040a\u00b4\u0001\u0000"+ + "\u0000\u0000\u040b\u040c\u0005{\u0000\u0000\u040c\u00b6\u0001\u0000\u0000"+ + "\u0000\u040d\u040e\u0005}\u0000\u0000\u040e\u00b8\u0001\u0000\u0000\u0000"+ + "\u040f\u0410\u0005?\u0000\u0000\u0410\u0411\u0005?\u0000\u0000\u0411\u00ba"+ + "\u0001\u0000\u0000\u0000\u0412\u0413\u00031\u0010\u0000\u0413\u0414\u0001"+ + "\u0000\u0000\u0000\u0414\u0415\u0006U\u000e\u0000\u0415\u00bc\u0001\u0000"+ + "\u0000\u0000\u0416\u0419\u0003\u0093A\u0000\u0417\u041a\u0003Q \u0000"+ + "\u0418\u041a\u0003_\'\u0000\u0419\u0417\u0001\u0000\u0000\u0000\u0419"+ + "\u0418\u0001\u0000\u0000\u0000\u041a\u041e\u0001\u0000\u0000\u0000\u041b"+ + "\u041d\u0003a(\u0000\u041c\u041b\u0001\u0000\u0000\u0000\u041d\u0420\u0001"+ + "\u0000\u0000\u0000\u041e\u041c\u0001\u0000\u0000\u0000\u041e\u041f\u0001"+ + "\u0000\u0000\u0000\u041f\u0428\u0001\u0000\u0000\u0000\u0420\u041e\u0001"+ + "\u0000\u0000\u0000\u0421\u0423\u0003\u0093A\u0000\u0422\u0424\u0003O\u001f"+ + "\u0000\u0423\u0422\u0001\u0000\u0000\u0000\u0424\u0425\u0001\u0000\u0000"+ + "\u0000\u0425\u0423\u0001\u0000\u0000\u0000\u0425\u0426\u0001\u0000\u0000"+ + "\u0000\u0426\u0428\u0001\u0000\u0000\u0000\u0427\u0416\u0001\u0000\u0000"+ + "\u0000\u0427\u0421\u0001\u0000\u0000\u0000\u0428\u00be\u0001\u0000\u0000"+ + "\u0000\u0429\u042c\u0003\u00b9T\u0000\u042a\u042d\u0003Q \u0000\u042b"+ + "\u042d\u0003_\'\u0000\u042c\u042a\u0001\u0000\u0000\u0000\u042c\u042b"+ + "\u0001\u0000\u0000\u0000\u042d\u0431\u0001\u0000\u0000\u0000\u042e\u0430"+ + "\u0003a(\u0000\u042f\u042e\u0001\u0000\u0000\u0000\u0430\u0433\u0001\u0000"+ + "\u0000\u0000\u0431\u042f\u0001\u0000\u0000\u0000\u0431\u0432\u0001\u0000"+ + "\u0000\u0000\u0432\u043b\u0001\u0000\u0000\u0000\u0433\u0431\u0001\u0000"+ + "\u0000\u0000\u0434\u0436\u0003\u00b9T\u0000\u0435\u0437\u0003O\u001f\u0000"+ + "\u0436\u0435\u0001\u0000\u0000\u0000\u0437\u0438\u0001\u0000\u0000\u0000"+ + "\u0438\u0436\u0001\u0000\u0000\u0000\u0438\u0439\u0001\u0000\u0000\u0000"+ + "\u0439\u043b\u0001\u0000\u0000\u0000\u043a\u0429\u0001\u0000\u0000\u0000"+ + "\u043a\u0434\u0001\u0000\u0000\u0000\u043b\u00c0\u0001\u0000\u0000\u0000"+ + "\u043c\u043d\u0005[\u0000\u0000\u043d\u043e\u0001\u0000\u0000\u0000\u043e"+ + "\u043f\u0006X\u0000\u0000\u043f\u0440\u0006X\u0000\u0000\u0440\u00c2\u0001"+ + "\u0000\u0000\u0000\u0441\u0442\u0005]\u0000\u0000\u0442\u0443\u0001\u0000"+ + "\u0000\u0000\u0443\u0444\u0006Y\r\u0000\u0444\u0445\u0006Y\r\u0000\u0445"+ + "\u00c4\u0001\u0000\u0000\u0000\u0446\u044a\u0003Q \u0000\u0447\u0449\u0003"+ + "a(\u0000\u0448\u0447\u0001\u0000\u0000\u0000\u0449\u044c\u0001\u0000\u0000"+ + "\u0000\u044a\u0448\u0001\u0000\u0000\u0000\u044a\u044b\u0001\u0000\u0000"+ + "\u0000\u044b\u0457\u0001\u0000\u0000\u0000\u044c\u044a\u0001\u0000\u0000"+ + "\u0000\u044d\u0450\u0003_\'\u0000\u044e\u0450\u0003Y$\u0000\u044f\u044d"+ + "\u0001\u0000\u0000\u0000\u044f\u044e\u0001\u0000\u0000\u0000\u0450\u0452"+ + "\u0001\u0000\u0000\u0000\u0451\u0453\u0003a(\u0000\u0452\u0451\u0001\u0000"+ + "\u0000\u0000\u0453\u0454\u0001\u0000\u0000\u0000\u0454\u0452\u0001\u0000"+ + "\u0000\u0000\u0454\u0455\u0001\u0000\u0000\u0000\u0455\u0457\u0001\u0000"+ + "\u0000\u0000\u0456\u0446\u0001\u0000\u0000\u0000\u0456\u044f\u0001\u0000"+ + "\u0000\u0000\u0457\u00c6\u0001\u0000\u0000\u0000\u0458\u045a\u0003[%\u0000"+ + "\u0459\u045b\u0003]&\u0000\u045a\u0459\u0001\u0000\u0000\u0000\u045b\u045c"+ + "\u0001\u0000\u0000\u0000\u045c\u045a\u0001\u0000\u0000\u0000\u045c\u045d"+ + "\u0001\u0000\u0000\u0000\u045d\u045e\u0001\u0000\u0000\u0000\u045e\u045f"+ + "\u0003[%\u0000\u045f\u00c8\u0001\u0000\u0000\u0000\u0460\u0461\u0003\u00c7"+ + "[\u0000\u0461\u00ca\u0001\u0000\u0000\u0000\u0462\u0463\u0003G\u001b\u0000"+ + "\u0463\u0464\u0001\u0000\u0000\u0000\u0464\u0465\u0006]\f\u0000\u0465"+ + "\u00cc\u0001\u0000\u0000\u0000\u0466\u0467\u0003I\u001c\u0000\u0467\u0468"+ + "\u0001\u0000\u0000\u0000\u0468\u0469\u0006^\f\u0000\u0469\u00ce\u0001"+ + "\u0000\u0000\u0000\u046a\u046b\u0003K\u001d\u0000\u046b\u046c\u0001\u0000"+ + "\u0000\u0000\u046c\u046d\u0006_\f\u0000\u046d\u00d0\u0001\u0000\u0000"+ + "\u0000\u046e\u046f\u0003\u00c1X\u0000\u046f\u0470\u0001\u0000\u0000\u0000"+ + "\u0470\u0471\u0006`\u000f\u0000\u0471\u0472\u0006`\u0010\u0000\u0472\u00d2"+ + "\u0001\u0000\u0000\u0000\u0473\u0474\u0003M\u001e\u0000\u0474\u0475\u0001"+ + "\u0000\u0000\u0000\u0475\u0476\u0006a\u0011\u0000\u0476\u0477\u0006a\r"+ + "\u0000\u0477\u00d4\u0001\u0000\u0000\u0000\u0478\u0479\u0003K\u001d\u0000"+ + "\u0479\u047a\u0001\u0000\u0000\u0000\u047a\u047b\u0006b\f\u0000\u047b"+ + "\u00d6\u0001\u0000\u0000\u0000\u047c\u047d\u0003G\u001b\u0000\u047d\u047e"+ + "\u0001\u0000\u0000\u0000\u047e\u047f\u0006c\f\u0000\u047f\u00d8\u0001"+ + "\u0000\u0000\u0000\u0480\u0481\u0003I\u001c\u0000\u0481\u0482\u0001\u0000"+ + "\u0000\u0000\u0482\u0483\u0006d\f\u0000\u0483\u00da\u0001\u0000\u0000"+ + "\u0000\u0484\u0485\u0003M\u001e\u0000\u0485\u0486\u0001\u0000\u0000\u0000"+ + "\u0486\u0487\u0006e\u0011\u0000\u0487\u0488\u0006e\r\u0000\u0488\u00dc"+ + "\u0001\u0000\u0000\u0000\u0489\u048a\u0003\u00c1X\u0000\u048a\u048b\u0001"+ + "\u0000\u0000\u0000\u048b\u048c\u0006f\u000f\u0000\u048c\u00de\u0001\u0000"+ + "\u0000\u0000\u048d\u048e\u0003\u00c3Y\u0000\u048e\u048f\u0001\u0000\u0000"+ + "\u0000\u048f\u0490\u0006g\u0012\u0000\u0490\u00e0\u0001\u0000\u0000\u0000"+ + "\u0491\u0492\u0003s1\u0000\u0492\u0493\u0001\u0000\u0000\u0000\u0493\u0494"+ + "\u0006h\u0013\u0000\u0494\u00e2\u0001\u0000\u0000\u0000\u0495\u0496\u0003"+ + "q0\u0000\u0496\u0497\u0001\u0000\u0000\u0000\u0497\u0498\u0006i\u0014"+ + "\u0000\u0498\u00e4\u0001\u0000\u0000\u0000\u0499\u049a\u0003u2\u0000\u049a"+ + "\u049b\u0001\u0000\u0000\u0000\u049b\u049c\u0006j\u0015\u0000\u049c\u00e6"+ + "\u0001\u0000\u0000\u0000\u049d\u049e\u0003m.\u0000\u049e\u049f\u0001\u0000"+ + "\u0000\u0000\u049f\u04a0\u0006k\u0016\u0000\u04a0\u00e8\u0001\u0000\u0000"+ + "\u0000\u04a1\u04a2\u0007\u0002\u0000\u0000\u04a2\u04a3\u0007\u0005\u0000"+ + "\u0000\u04a3\u04a4\u0007\u0006\u0000\u0000\u04a4\u04a5\u0007\u000e\u0000"+ + "\u0000\u04a5\u04a6\u0007\t\u0000\u0000\u04a6\u04a7\u0007\u000e\u0000\u0000"+ + "\u04a7\u04a8\u0007\u0006\u0000\u0000\u04a8\u04a9\u0007\u000e\u0000\u0000"+ + "\u04a9\u00ea\u0001\u0000\u0000\u0000\u04aa\u04ae\b \u0000\u0000\u04ab"+ + "\u04ac\u0005/\u0000\u0000\u04ac\u04ae\b!\u0000\u0000\u04ad\u04aa\u0001"+ + "\u0000\u0000\u0000\u04ad\u04ab\u0001\u0000\u0000\u0000\u04ae\u00ec\u0001"+ + "\u0000\u0000\u0000\u04af\u04b1\u0003\u00ebm\u0000\u04b0\u04af\u0001\u0000"+ + "\u0000\u0000\u04b1\u04b2\u0001\u0000\u0000\u0000\u04b2\u04b0\u0001\u0000"+ + "\u0000\u0000\u04b2\u04b3\u0001\u0000\u0000\u0000\u04b3\u00ee\u0001\u0000"+ + "\u0000\u0000\u04b4\u04b5\u0003\u00edn\u0000\u04b5\u04b6\u0001\u0000\u0000"+ + "\u0000\u04b6\u04b7\u0006o\u0017\u0000\u04b7\u00f0\u0001\u0000\u0000\u0000"+ + "\u04b8\u04b9\u0003c)\u0000\u04b9\u04ba\u0001\u0000\u0000\u0000\u04ba\u04bb"+ + "\u0006p\u0018\u0000\u04bb\u00f2\u0001\u0000\u0000\u0000\u04bc\u04bd\u0003"+ + "G\u001b\u0000\u04bd\u04be\u0001\u0000\u0000\u0000\u04be\u04bf\u0006q\f"+ + "\u0000\u04bf\u00f4\u0001\u0000\u0000\u0000\u04c0\u04c1\u0003I\u001c\u0000"+ + "\u04c1\u04c2\u0001\u0000\u0000\u0000\u04c2\u04c3\u0006r\f\u0000\u04c3"+ + "\u00f6\u0001\u0000\u0000\u0000\u04c4\u04c5\u0003K\u001d\u0000\u04c5\u04c6"+ + "\u0001\u0000\u0000\u0000\u04c6\u04c7\u0006s\f\u0000\u04c7\u00f8\u0001"+ + "\u0000\u0000\u0000\u04c8\u04c9\u0003M\u001e\u0000\u04c9\u04ca\u0001\u0000"+ + "\u0000\u0000\u04ca\u04cb\u0006t\u0011\u0000\u04cb\u04cc\u0006t\r\u0000"+ + "\u04cc\u00fa\u0001\u0000\u0000\u0000\u04cd\u04ce\u0003y4\u0000\u04ce\u04cf"+ + "\u0001\u0000\u0000\u0000\u04cf\u04d0\u0006u\u0019\u0000\u04d0\u00fc\u0001"+ + "\u0000\u0000\u0000\u04d1\u04d2\u0003u2\u0000\u04d2\u04d3\u0001\u0000\u0000"+ + "\u0000\u04d3\u04d4\u0006v\u0015\u0000\u04d4\u00fe\u0001\u0000\u0000\u0000"+ + "\u04d5\u04d6\u0003\u0093A\u0000\u04d6\u04d7\u0001\u0000\u0000\u0000\u04d7"+ + "\u04d8\u0006w\u001a\u0000\u04d8\u0100\u0001\u0000\u0000\u0000\u04d9\u04da"+ + "\u0003\u00bdV\u0000\u04da\u04db\u0001\u0000\u0000\u0000\u04db\u04dc\u0006"+ + "x\u001b\u0000\u04dc\u0102\u0001\u0000\u0000\u0000\u04dd\u04de\u0003\u00b9"+ + "T\u0000\u04de\u04df\u0001\u0000\u0000\u0000\u04df\u04e0\u0006y\u001c\u0000"+ + "\u04e0\u0104\u0001\u0000\u0000\u0000\u04e1\u04e2\u0003\u00bfW\u0000\u04e2"+ + "\u04e3\u0001\u0000\u0000\u0000\u04e3\u04e4\u0006z\u001d\u0000\u04e4\u0106"+ + "\u0001\u0000\u0000\u0000\u04e5\u04ea\u0003Q \u0000\u04e6\u04ea\u0003O"+ + "\u001f\u0000\u04e7\u04ea\u0003_\'\u0000\u04e8\u04ea\u0003\u00afO\u0000"+ + "\u04e9\u04e5\u0001\u0000\u0000\u0000\u04e9\u04e6\u0001\u0000\u0000\u0000"+ + "\u04e9\u04e7\u0001\u0000\u0000\u0000\u04e9\u04e8\u0001\u0000\u0000\u0000"+ + "\u04ea\u0108\u0001\u0000\u0000\u0000\u04eb\u04ee\u0003Q \u0000\u04ec\u04ee"+ + "\u0003\u00afO\u0000\u04ed\u04eb\u0001\u0000\u0000\u0000\u04ed\u04ec\u0001"+ + "\u0000\u0000\u0000\u04ee\u04f2\u0001\u0000\u0000\u0000\u04ef\u04f1\u0003"+ + "\u0107{\u0000\u04f0\u04ef\u0001\u0000\u0000\u0000\u04f1\u04f4\u0001\u0000"+ + "\u0000\u0000\u04f2\u04f0\u0001\u0000\u0000\u0000\u04f2\u04f3\u0001\u0000"+ + "\u0000\u0000\u04f3\u04ff\u0001\u0000\u0000\u0000\u04f4\u04f2\u0001\u0000"+ + "\u0000\u0000\u04f5\u04f8\u0003_\'\u0000\u04f6\u04f8\u0003Y$\u0000\u04f7"+ + "\u04f5\u0001\u0000\u0000\u0000\u04f7\u04f6\u0001\u0000\u0000\u0000\u04f8"+ + "\u04fa\u0001\u0000\u0000\u0000\u04f9\u04fb\u0003\u0107{\u0000\u04fa\u04f9"+ + "\u0001\u0000\u0000\u0000\u04fb\u04fc\u0001\u0000\u0000\u0000\u04fc\u04fa"+ + "\u0001\u0000\u0000\u0000\u04fc\u04fd\u0001\u0000\u0000\u0000\u04fd\u04ff"+ + "\u0001\u0000\u0000\u0000\u04fe\u04ed\u0001\u0000\u0000\u0000\u04fe\u04f7"+ + "\u0001\u0000\u0000\u0000\u04ff\u010a\u0001\u0000\u0000\u0000\u0500\u0503"+ + "\u0003\u0109|\u0000\u0501\u0503\u0003\u00c7[\u0000\u0502\u0500\u0001\u0000"+ + "\u0000\u0000\u0502\u0501\u0001\u0000\u0000\u0000\u0503\u0504\u0001\u0000"+ + "\u0000\u0000\u0504\u0502\u0001\u0000\u0000\u0000\u0504\u0505\u0001\u0000"+ + "\u0000\u0000\u0505\u010c\u0001\u0000\u0000\u0000\u0506\u0507\u0003G\u001b"+ + "\u0000\u0507\u0508\u0001\u0000\u0000\u0000\u0508\u0509\u0006~\f\u0000"+ + "\u0509\u010e\u0001\u0000\u0000\u0000\u050a\u050b\u0003I\u001c\u0000\u050b"+ + "\u050c\u0001\u0000\u0000\u0000\u050c\u050d\u0006\u007f\f\u0000\u050d\u0110"+ + "\u0001\u0000\u0000\u0000\u050e\u050f\u0003K\u001d\u0000\u050f\u0510\u0001"+ + "\u0000\u0000\u0000\u0510\u0511\u0006\u0080\f\u0000\u0511\u0112\u0001\u0000"+ + "\u0000\u0000\u0512\u0513\u0003M\u001e\u0000\u0513\u0514\u0001\u0000\u0000"+ + "\u0000\u0514\u0515\u0006\u0081\u0011\u0000\u0515\u0516\u0006\u0081\r\u0000"+ + "\u0516\u0114\u0001\u0000\u0000\u0000\u0517\u0518\u0003m.\u0000\u0518\u0519"+ + "\u0001\u0000\u0000\u0000\u0519\u051a\u0006\u0082\u0016\u0000\u051a\u0116"+ + "\u0001\u0000\u0000\u0000\u051b\u051c\u0003u2\u0000\u051c\u051d\u0001\u0000"+ + "\u0000\u0000\u051d\u051e\u0006\u0083\u0015\u0000\u051e\u0118\u0001\u0000"+ + "\u0000\u0000\u051f\u0520\u0003y4\u0000\u0520\u0521\u0001\u0000\u0000\u0000"+ + "\u0521\u0522\u0006\u0084\u0019\u0000\u0522\u011a\u0001\u0000\u0000\u0000"+ + "\u0523\u0524\u0003\u0093A\u0000\u0524\u0525\u0001\u0000\u0000\u0000\u0525"+ + "\u0526\u0006\u0085\u001a\u0000\u0526\u011c\u0001\u0000\u0000\u0000\u0527"+ + "\u0528\u0003\u00bdV\u0000\u0528\u0529\u0001\u0000\u0000\u0000\u0529\u052a"+ + "\u0006\u0086\u001b\u0000\u052a\u011e\u0001\u0000\u0000\u0000\u052b\u052c"+ + "\u0003\u00b9T\u0000\u052c\u052d\u0001\u0000\u0000\u0000\u052d\u052e\u0006"+ + "\u0087\u001c\u0000\u052e\u0120\u0001\u0000\u0000\u0000\u052f\u0530\u0003"+ + "\u00bfW\u0000\u0530\u0531\u0001\u0000\u0000\u0000\u0531\u0532\u0006\u0088"+ + "\u001d\u0000\u0532\u0122\u0001\u0000\u0000\u0000\u0533\u0534\u0007\u000e"+ + "\u0000\u0000\u0534\u0535\u0007\n\u0000\u0000\u0535\u0124\u0001\u0000\u0000"+ + "\u0000\u0536\u0537\u0003\u010b}\u0000\u0537\u0538\u0001\u0000\u0000\u0000"+ + "\u0538\u0539\u0006\u008a\u001e\u0000\u0539\u0126\u0001\u0000\u0000\u0000"+ + "\u053a\u053b\u0003G\u001b\u0000\u053b\u053c\u0001\u0000\u0000\u0000\u053c"+ + "\u053d\u0006\u008b\f\u0000\u053d\u0128\u0001\u0000\u0000\u0000\u053e\u053f"+ + "\u0003I\u001c\u0000\u053f\u0540\u0001\u0000\u0000\u0000\u0540\u0541\u0006"+ + "\u008c\f\u0000\u0541\u012a\u0001\u0000\u0000\u0000\u0542\u0543\u0003K"+ + "\u001d\u0000\u0543\u0544\u0001\u0000\u0000\u0000\u0544\u0545\u0006\u008d"+ + "\f\u0000\u0545\u012c\u0001\u0000\u0000\u0000\u0546\u0547\u0003M\u001e"+ + "\u0000\u0547\u0548\u0001\u0000\u0000\u0000\u0548\u0549\u0006\u008e\u0011"+ + "\u0000\u0549\u054a\u0006\u008e\r\u0000\u054a\u012e\u0001\u0000\u0000\u0000"+ + "\u054b\u054c\u0003\u00c1X\u0000\u054c\u054d\u0001\u0000\u0000\u0000\u054d"+ + "\u054e\u0006\u008f\u000f\u0000\u054e\u054f\u0006\u008f\u001f\u0000\u054f"+ + "\u0130\u0001\u0000\u0000\u0000\u0550\u0551\u0003\u008f?\u0000\u0551\u0552"+ + "\u0001\u0000\u0000\u0000\u0552\u0553\u0006\u0090 \u0000\u0553\u0554\u0006"+ + "\u0090!\u0000\u0554\u0132\u0001\u0000\u0000\u0000\u0555\u0556\u0003\u009b"+ + "E\u0000\u0556\u0557\u0001\u0000\u0000\u0000\u0557\u0558\u0006\u0091\""+ + "\u0000\u0558\u0559\u0006\u0091!\u0000\u0559\u0134\u0001\u0000\u0000\u0000"+ + "\u055a\u055b\b\"\u0000\u0000\u055b\u0136\u0001\u0000\u0000\u0000\u055c"+ + "\u055e\u0003\u0135\u0092\u0000\u055d\u055c\u0001\u0000\u0000\u0000\u055e"+ + "\u055f\u0001\u0000\u0000\u0000\u055f\u055d\u0001\u0000\u0000\u0000\u055f"+ + "\u0560\u0001\u0000\u0000\u0000\u0560\u0561\u0001\u0000\u0000\u0000\u0561"+ + "\u0562\u0003s1\u0000\u0562\u0564\u0001\u0000\u0000\u0000\u0563\u055d\u0001"+ + "\u0000\u0000\u0000\u0563\u0564\u0001\u0000\u0000\u0000\u0564\u0566\u0001"+ + "\u0000\u0000\u0000\u0565\u0567\u0003\u0135\u0092\u0000\u0566\u0565\u0001"+ + "\u0000\u0000\u0000\u0567\u0568\u0001\u0000\u0000\u0000\u0568\u0566\u0001"+ + "\u0000\u0000\u0000\u0568\u0569\u0001\u0000\u0000\u0000\u0569\u0138\u0001"+ + "\u0000\u0000\u0000\u056a\u056b\u0003\u0137\u0093\u0000\u056b\u056c\u0001"+ + "\u0000\u0000\u0000\u056c\u056d\u0006\u0094#\u0000\u056d\u013a\u0001\u0000"+ + "\u0000\u0000\u056e\u056f\u0003G\u001b\u0000\u056f\u0570\u0001\u0000\u0000"+ + "\u0000\u0570\u0571\u0006\u0095\f\u0000\u0571\u013c\u0001\u0000\u0000\u0000"+ + "\u0572\u0573\u0003I\u001c\u0000\u0573\u0574\u0001\u0000\u0000\u0000\u0574"+ + "\u0575\u0006\u0096\f\u0000\u0575\u013e\u0001\u0000\u0000\u0000\u0576\u0577"+ + "\u0003K\u001d\u0000\u0577\u0578\u0001\u0000\u0000\u0000\u0578\u0579\u0006"+ + "\u0097\f\u0000\u0579\u0140\u0001\u0000\u0000\u0000\u057a\u057b\u0003M"+ + "\u001e\u0000\u057b\u057c\u0001\u0000\u0000\u0000\u057c\u057d\u0006\u0098"+ + "\u0011\u0000\u057d\u057e\u0006\u0098\r\u0000\u057e\u057f\u0006\u0098\r"+ + "\u0000\u057f\u0142\u0001\u0000\u0000\u0000\u0580\u0581\u0003m.\u0000\u0581"+ + "\u0582\u0001\u0000\u0000\u0000\u0582\u0583\u0006\u0099\u0016\u0000\u0583"+ + "\u0144\u0001\u0000\u0000\u0000\u0584\u0585\u0003u2\u0000\u0585\u0586\u0001"+ + "\u0000\u0000\u0000\u0586\u0587\u0006\u009a\u0015\u0000\u0587\u0146\u0001"+ + "\u0000\u0000\u0000\u0588\u0589\u0003y4\u0000\u0589\u058a\u0001\u0000\u0000"+ + "\u0000\u058a\u058b\u0006\u009b\u0019\u0000\u058b\u0148\u0001\u0000\u0000"+ + "\u0000\u058c\u058d\u0003\u009bE\u0000\u058d\u058e\u0001\u0000\u0000\u0000"+ + "\u058e\u058f\u0006\u009c\"\u0000\u058f\u014a\u0001\u0000\u0000\u0000\u0590"+ + "\u0591\u0003\u010b}\u0000\u0591\u0592\u0001\u0000\u0000\u0000\u0592\u0593"+ + "\u0006\u009d\u001e\u0000\u0593\u014c\u0001\u0000\u0000\u0000\u0594\u0595"+ + "\u0003\u00c9\\\u0000\u0595\u0596\u0001\u0000\u0000\u0000\u0596\u0597\u0006"+ + "\u009e$\u0000\u0597\u014e\u0001\u0000\u0000\u0000\u0598\u0599\u0003\u0093"+ + "A\u0000\u0599\u059a\u0001\u0000\u0000\u0000\u059a\u059b\u0006\u009f\u001a"+ + "\u0000\u059b\u0150\u0001\u0000\u0000\u0000\u059c\u059d\u0003\u00bdV\u0000"+ + "\u059d\u059e\u0001\u0000\u0000\u0000\u059e\u059f\u0006\u00a0\u001b\u0000"+ + "\u059f\u0152\u0001\u0000\u0000\u0000\u05a0\u05a1\u0003\u00b9T\u0000\u05a1"+ + "\u05a2\u0001\u0000\u0000\u0000\u05a2\u05a3\u0006\u00a1\u001c\u0000\u05a3"+ + "\u0154\u0001\u0000\u0000\u0000\u05a4\u05a5\u0003\u00bfW\u0000\u05a5\u05a6"+ + "\u0001\u0000\u0000\u0000\u05a6\u05a7\u0006\u00a2\u001d\u0000\u05a7\u0156"+ + "\u0001\u0000\u0000\u0000\u05a8\u05a9\u0003G\u001b\u0000\u05a9\u05aa\u0001"+ + "\u0000\u0000\u0000\u05aa\u05ab\u0006\u00a3\f\u0000\u05ab\u0158\u0001\u0000"+ + "\u0000\u0000\u05ac\u05ad\u0003I\u001c\u0000\u05ad\u05ae\u0001\u0000\u0000"+ + "\u0000\u05ae\u05af\u0006\u00a4\f\u0000\u05af\u015a\u0001\u0000\u0000\u0000"+ + "\u05b0\u05b1\u0003K\u001d\u0000\u05b1\u05b2\u0001\u0000\u0000\u0000\u05b2"+ + "\u05b3\u0006\u00a5\f\u0000\u05b3\u015c\u0001\u0000\u0000\u0000\u05b4\u05b5"+ + "\u0003M\u001e\u0000\u05b5\u05b6\u0001\u0000\u0000\u0000\u05b6\u05b7\u0006"+ + "\u00a6\u0011\u0000\u05b7\u05b8\u0006\u00a6\r\u0000\u05b8\u015e\u0001\u0000"+ + "\u0000\u0000\u05b9\u05ba\u0003y4\u0000\u05ba\u05bb\u0001\u0000\u0000\u0000"+ + "\u05bb\u05bc\u0006\u00a7\u0019\u0000\u05bc\u0160\u0001\u0000\u0000\u0000"+ + "\u05bd\u05be\u0003\u0093A\u0000\u05be\u05bf\u0001\u0000\u0000\u0000\u05bf"+ + "\u05c0\u0006\u00a8\u001a\u0000\u05c0\u0162\u0001\u0000\u0000\u0000\u05c1"+ + "\u05c2\u0003\u00bdV\u0000\u05c2\u05c3\u0001\u0000\u0000\u0000\u05c3\u05c4"+ + "\u0006\u00a9\u001b\u0000\u05c4\u0164\u0001\u0000\u0000\u0000\u05c5\u05c6"+ + "\u0003\u00b9T\u0000\u05c6\u05c7\u0001\u0000\u0000\u0000\u05c7\u05c8\u0006"+ + "\u00aa\u001c\u0000\u05c8\u0166\u0001\u0000\u0000\u0000\u05c9\u05ca\u0003"+ + "\u00bfW\u0000\u05ca\u05cb\u0001\u0000\u0000\u0000\u05cb\u05cc\u0006\u00ab"+ + "\u001d\u0000\u05cc\u0168\u0001\u0000\u0000\u0000\u05cd\u05ce\u0003\u00c9"+ + "\\\u0000\u05ce\u05cf\u0001\u0000\u0000\u0000\u05cf\u05d0\u0006\u00ac$"+ + "\u0000\u05d0\u016a\u0001\u0000\u0000\u0000\u05d1\u05d2\u0003\u00c5Z\u0000"+ + "\u05d2\u05d3\u0001\u0000\u0000\u0000\u05d3\u05d4\u0006\u00ad%\u0000\u05d4"+ + "\u016c\u0001\u0000\u0000\u0000\u05d5\u05d6\u0003G\u001b\u0000\u05d6\u05d7"+ + "\u0001\u0000\u0000\u0000\u05d7\u05d8\u0006\u00ae\f\u0000\u05d8\u016e\u0001"+ + "\u0000\u0000\u0000\u05d9\u05da\u0003I\u001c\u0000\u05da\u05db\u0001\u0000"+ + "\u0000\u0000\u05db\u05dc\u0006\u00af\f\u0000\u05dc\u0170\u0001\u0000\u0000"+ + "\u0000\u05dd\u05de\u0003K\u001d\u0000\u05de\u05df\u0001\u0000\u0000\u0000"+ + "\u05df\u05e0\u0006\u00b0\f\u0000\u05e0\u0172\u0001\u0000\u0000\u0000\u05e1"+ + "\u05e2\u0003M\u001e\u0000\u05e2\u05e3\u0001\u0000\u0000\u0000\u05e3\u05e4"+ + "\u0006\u00b1\u0011\u0000\u05e4\u05e5\u0006\u00b1\r\u0000\u05e5\u0174\u0001"+ + "\u0000\u0000\u0000\u05e6\u05e7\u0007\u0007\u0000\u0000\u05e7\u05e8\u0007"+ + "\b\u0000\u0000\u05e8\u05e9\u0007\u0010\u0000\u0000\u05e9\u05ea\u0007\u0001"+ + "\u0000\u0000\u05ea\u0176\u0001\u0000\u0000\u0000\u05eb\u05ec\u0003G\u001b"+ + "\u0000\u05ec\u05ed\u0001\u0000\u0000\u0000\u05ed\u05ee\u0006\u00b3\f\u0000"+ + "\u05ee\u0178\u0001\u0000\u0000\u0000\u05ef\u05f0\u0003I\u001c\u0000\u05f0"+ + "\u05f1\u0001\u0000\u0000\u0000\u05f1\u05f2\u0006\u00b4\f\u0000\u05f2\u017a"+ + "\u0001\u0000\u0000\u0000\u05f3\u05f4\u0003K\u001d\u0000\u05f4\u05f5\u0001"+ + "\u0000\u0000\u0000\u05f5\u05f6\u0006\u00b5\f\u0000\u05f6\u017c\u0001\u0000"+ + "\u0000\u0000\u05f7\u05f8\u0003\u00c3Y\u0000\u05f8\u05f9\u0001\u0000\u0000"+ + "\u0000\u05f9\u05fa\u0006\u00b6\u0012\u0000\u05fa\u05fb\u0006\u00b6\r\u0000"+ + "\u05fb\u017e\u0001\u0000\u0000\u0000\u05fc\u05fd\u0003s1\u0000\u05fd\u05fe"+ + "\u0001\u0000\u0000\u0000\u05fe\u05ff\u0006\u00b7\u0013\u0000\u05ff\u0180"+ + "\u0001\u0000\u0000\u0000\u0600\u0606\u0003Y$\u0000\u0601\u0606\u0003O"+ + "\u001f\u0000\u0602\u0606\u0003y4\u0000\u0603\u0606\u0003Q \u0000\u0604"+ + "\u0606\u0003_\'\u0000\u0605\u0600\u0001\u0000\u0000\u0000\u0605\u0601"+ + "\u0001\u0000\u0000\u0000\u0605\u0602\u0001\u0000\u0000\u0000\u0605\u0603"+ + "\u0001\u0000\u0000\u0000\u0605\u0604\u0001\u0000\u0000\u0000\u0606\u0607"+ + "\u0001\u0000\u0000\u0000\u0607\u0605\u0001\u0000\u0000\u0000\u0607\u0608"+ + "\u0001\u0000\u0000\u0000\u0608\u0182\u0001\u0000\u0000\u0000\u0609\u060a"+ + "\u0003G\u001b\u0000\u060a\u060b\u0001\u0000\u0000\u0000\u060b\u060c\u0006"+ + "\u00b9\f\u0000\u060c\u0184\u0001\u0000\u0000\u0000\u060d\u060e\u0003I"+ + "\u001c\u0000\u060e\u060f\u0001\u0000\u0000\u0000\u060f\u0610\u0006\u00ba"+ + "\f\u0000\u0610\u0186\u0001\u0000\u0000\u0000\u0611\u0612\u0003K\u001d"+ + "\u0000\u0612\u0613\u0001\u0000\u0000\u0000\u0613\u0614\u0006\u00bb\f\u0000"+ + "\u0614\u0188\u0001\u0000\u0000\u0000\u0615\u0616\u0003M\u001e\u0000\u0616"+ + "\u0617\u0001\u0000\u0000\u0000\u0617\u0618\u0006\u00bc\u0011\u0000\u0618"+ + "\u0619\u0006\u00bc\r\u0000\u0619\u018a\u0001\u0000\u0000\u0000\u061a\u061b"+ + "\u0003s1\u0000\u061b\u061c\u0001\u0000\u0000\u0000\u061c\u061d\u0006\u00bd"+ + "\u0013\u0000\u061d\u018c\u0001\u0000\u0000\u0000\u061e\u061f\u0003u2\u0000"+ + "\u061f\u0620\u0001\u0000\u0000\u0000\u0620\u0621\u0006\u00be\u0015\u0000"+ + "\u0621\u018e\u0001\u0000\u0000\u0000\u0622\u0623\u0003y4\u0000\u0623\u0624"+ + "\u0001\u0000\u0000\u0000\u0624\u0625\u0006\u00bf\u0019\u0000\u0625\u0190"+ + "\u0001\u0000\u0000\u0000\u0626\u0627\u0003\u008f?\u0000\u0627\u0628\u0001"+ + "\u0000\u0000\u0000\u0628\u0629\u0006\u00c0 \u0000\u0629\u062a\u0006\u00c0"+ + "&\u0000\u062a\u0192\u0001\u0000\u0000\u0000\u062b\u062c\u0003\u00edn\u0000"+ + "\u062c\u062d\u0001\u0000\u0000\u0000\u062d\u062e\u0006\u00c1\u0017\u0000"+ + "\u062e\u0194\u0001\u0000\u0000\u0000\u062f\u0630\u0003c)\u0000\u0630\u0631"+ + "\u0001\u0000\u0000\u0000\u0631\u0632\u0006\u00c2\u0018\u0000\u0632\u0196"+ + "\u0001\u0000\u0000\u0000\u0633\u0634\u0003G\u001b\u0000\u0634\u0635\u0001"+ + "\u0000\u0000\u0000\u0635\u0636\u0006\u00c3\f\u0000\u0636\u0198\u0001\u0000"+ + "\u0000\u0000\u0637\u0638\u0003I\u001c\u0000\u0638\u0639\u0001\u0000\u0000"+ + "\u0000\u0639\u063a\u0006\u00c4\f\u0000\u063a\u019a\u0001\u0000\u0000\u0000"+ + "\u063b\u063c\u0003K\u001d\u0000\u063c\u063d\u0001\u0000\u0000\u0000\u063d"+ + "\u063e\u0006\u00c5\f\u0000\u063e\u019c\u0001\u0000\u0000\u0000\u063f\u0640"+ + "\u0003M\u001e\u0000\u0640\u0641\u0001\u0000\u0000\u0000\u0641\u0642\u0006"+ + "\u00c6\u0011\u0000\u0642\u0643\u0006\u00c6\r\u0000\u0643\u0644\u0006\u00c6"+ + "\r\u0000\u0644\u019e\u0001\u0000\u0000\u0000\u0645\u0646\u0003u2\u0000"+ + "\u0646\u0647\u0001\u0000\u0000\u0000\u0647\u0648\u0006\u00c7\u0015\u0000"+ + "\u0648\u01a0\u0001\u0000\u0000\u0000\u0649\u064a\u0003y4\u0000\u064a\u064b"+ + "\u0001\u0000\u0000\u0000\u064b\u064c\u0006\u00c8\u0019\u0000\u064c\u01a2"+ + "\u0001\u0000\u0000\u0000\u064d\u064e\u0003\u010b}\u0000\u064e\u064f\u0001"+ + "\u0000\u0000\u0000\u064f\u0650\u0006\u00c9\u001e\u0000\u0650\u01a4\u0001"+ + "\u0000\u0000\u0000\u0651\u0652\u0003G\u001b\u0000\u0652\u0653\u0001\u0000"+ + "\u0000\u0000\u0653\u0654\u0006\u00ca\f\u0000\u0654\u01a6\u0001\u0000\u0000"+ + "\u0000\u0655\u0656\u0003I\u001c\u0000\u0656\u0657\u0001\u0000\u0000\u0000"+ + "\u0657\u0658\u0006\u00cb\f\u0000\u0658\u01a8\u0001\u0000\u0000\u0000\u0659"+ + "\u065a\u0003K\u001d\u0000\u065a\u065b\u0001\u0000\u0000\u0000\u065b\u065c"+ + "\u0006\u00cc\f\u0000\u065c\u01aa\u0001\u0000\u0000\u0000\u065d\u065e\u0003"+ + "M\u001e\u0000\u065e\u065f\u0001\u0000\u0000\u0000\u065f\u0660\u0006\u00cd"+ + "\u0011\u0000\u0660\u0661\u0006\u00cd\r\u0000\u0661\u01ac\u0001\u0000\u0000"+ + "\u0000\u0662\u0663\u0007#\u0000\u0000\u0663\u0664\u0007\u0001\u0000\u0000"+ + "\u0664\u0665\u0007\u0007\u0000\u0000\u0665\u0666\u0007\b\u0000\u0000\u0666"+ + "\u01ae\u0001\u0000\u0000\u0000\u0667\u0668\u0003\u0123\u0089\u0000\u0668"+ + "\u0669\u0001\u0000\u0000\u0000\u0669\u066a\u0006\u00cf\'\u0000\u066a\u01b0"+ + "\u0001\u0000\u0000\u0000\u066b\u066c\u0003\u008f?\u0000\u066c\u066d\u0001"+ + "\u0000\u0000\u0000\u066d\u066e\u0006\u00d0 \u0000\u066e\u066f\u0006\u00d0"+ + "\r\u0000\u066f\u0670\u0006\u00d0\u0000\u0000\u0670\u01b2\u0001\u0000\u0000"+ + "\u0000\u0671\u0672\u0007\u0014\u0000\u0000\u0672\u0673\u0007\n\u0000\u0000"+ + "\u0673\u0674\u0007\u0007\u0000\u0000\u0674\u0675\u0007\b\u0000\u0000\u0675"+ + "\u0676\u0007\u0011\u0000\u0000\u0676\u0677\u0001\u0000\u0000\u0000\u0677"+ + "\u0678\u0006\u00d1\r\u0000\u0678\u0679\u0006\u00d1\u0000\u0000\u0679\u01b4"+ + "\u0001\u0000\u0000\u0000\u067a\u067b\u0003\u00edn\u0000\u067b\u067c\u0001"+ + "\u0000\u0000\u0000\u067c\u067d\u0006\u00d2\u0017\u0000\u067d\u01b6\u0001"+ + "\u0000\u0000\u0000\u067e\u067f\u0003c)\u0000\u067f\u0680\u0001\u0000\u0000"+ + "\u0000\u0680\u0681\u0006\u00d3\u0018\u0000\u0681\u01b8\u0001\u0000\u0000"+ + "\u0000\u0682\u0683\u0003s1\u0000\u0683\u0684\u0001\u0000\u0000\u0000\u0684"+ + "\u0685\u0006\u00d4\u0013\u0000\u0685\u01ba\u0001\u0000\u0000\u0000\u0686"+ + "\u0687\u0003\u00c5Z\u0000\u0687\u0688\u0001\u0000\u0000\u0000\u0688\u0689"+ + "\u0006\u00d5%\u0000\u0689\u01bc\u0001\u0000\u0000\u0000\u068a\u068b\u0003"+ + "\u00c9\\\u0000\u068b\u068c\u0001\u0000\u0000\u0000\u068c\u068d\u0006\u00d6"+ + "$\u0000\u068d\u01be\u0001\u0000\u0000\u0000\u068e\u068f\u0003G\u001b\u0000"+ + "\u068f\u0690\u0001\u0000\u0000\u0000\u0690\u0691\u0006\u00d7\f\u0000\u0691"+ + "\u01c0\u0001\u0000\u0000\u0000\u0692\u0693\u0003I\u001c\u0000\u0693\u0694"+ + "\u0001\u0000\u0000\u0000\u0694\u0695\u0006\u00d8\f\u0000\u0695\u01c2\u0001"+ + "\u0000\u0000\u0000\u0696\u0697\u0003K\u001d\u0000\u0697\u0698\u0001\u0000"+ + "\u0000\u0000\u0698\u0699\u0006\u00d9\f\u0000\u0699\u01c4\u0001\u0000\u0000"+ + "\u0000\u069a\u069b\u0003M\u001e\u0000\u069b\u069c\u0001\u0000\u0000\u0000"+ + "\u069c\u069d\u0006\u00da\u0011\u0000\u069d\u069e\u0006\u00da\r\u0000\u069e"+ + "\u01c6\u0001\u0000\u0000\u0000\u069f\u06a0\u0003\u00edn\u0000\u06a0\u06a1"+ + "\u0001\u0000\u0000\u0000\u06a1\u06a2\u0006\u00db\u0017\u0000\u06a2\u06a3"+ + "\u0006\u00db\r\u0000\u06a3\u06a4\u0006\u00db(\u0000\u06a4\u01c8\u0001"+ + "\u0000\u0000\u0000\u06a5\u06a6\u0003c)\u0000\u06a6\u06a7\u0001\u0000\u0000"+ + "\u0000\u06a7\u06a8\u0006\u00dc\u0018\u0000\u06a8\u06a9\u0006\u00dc\r\u0000"+ + "\u06a9\u06aa\u0006\u00dc(\u0000\u06aa\u01ca\u0001\u0000\u0000\u0000\u06ab"+ + "\u06ac\u0003G\u001b\u0000\u06ac\u06ad\u0001\u0000\u0000\u0000\u06ad\u06ae"+ + "\u0006\u00dd\f\u0000\u06ae\u01cc\u0001\u0000\u0000\u0000\u06af\u06b0\u0003"+ + "I\u001c\u0000\u06b0\u06b1\u0001\u0000\u0000\u0000\u06b1\u06b2\u0006\u00de"+ + "\f\u0000\u06b2\u01ce\u0001\u0000\u0000\u0000\u06b3\u06b4\u0003K\u001d"+ + "\u0000\u06b4\u06b5\u0001\u0000\u0000\u0000\u06b5\u06b6\u0006\u00df\f\u0000"+ + "\u06b6\u01d0\u0001\u0000\u0000\u0000\u06b7\u06b8\u0003s1\u0000\u06b8\u06b9"+ + "\u0001\u0000\u0000\u0000\u06b9\u06ba\u0006\u00e0\u0013\u0000\u06ba\u06bb"+ + "\u0006\u00e0\r\u0000\u06bb\u06bc\u0006\u00e0\u000b\u0000\u06bc\u01d2\u0001"+ + "\u0000\u0000\u0000\u06bd\u06be\u0003q0\u0000\u06be\u06bf\u0001\u0000\u0000"+ + "\u0000\u06bf\u06c0\u0006\u00e1\u0014\u0000\u06c0\u06c1\u0006\u00e1\r\u0000"+ + "\u06c1\u06c2\u0006\u00e1\u000b\u0000\u06c2\u01d4\u0001\u0000\u0000\u0000"+ + "\u06c3\u06c4\u0003u2\u0000\u06c4\u06c5\u0001\u0000\u0000\u0000\u06c5\u06c6"+ + "\u0006\u00e2\u0015\u0000\u06c6\u06c7\u0006\u00e2\r\u0000\u06c7\u06c8\u0006"+ + "\u00e2\u000b\u0000\u06c8\u01d6\u0001\u0000\u0000\u0000\u06c9\u06ca\u0003"+ + "G\u001b\u0000\u06ca\u06cb\u0001\u0000\u0000\u0000\u06cb\u06cc\u0006\u00e3"+ + "\f\u0000\u06cc\u01d8\u0001\u0000\u0000\u0000\u06cd\u06ce\u0003I\u001c"+ + "\u0000\u06ce\u06cf\u0001\u0000\u0000\u0000\u06cf\u06d0\u0006\u00e4\f\u0000"+ + "\u06d0\u01da\u0001\u0000\u0000\u0000\u06d1\u06d2\u0003K\u001d\u0000\u06d2"+ + "\u06d3\u0001\u0000\u0000\u0000\u06d3\u06d4\u0006\u00e5\f\u0000\u06d4\u01dc"+ + "\u0001\u0000\u0000\u0000\u06d5\u06d6\u0003\u00c9\\\u0000\u06d6\u06d7\u0001"+ + "\u0000\u0000\u0000\u06d7\u06d8\u0006\u00e6\r\u0000\u06d8\u06d9\u0006\u00e6"+ + "\u0000\u0000\u06d9\u06da\u0006\u00e6$\u0000\u06da\u01de\u0001\u0000\u0000"+ + "\u0000\u06db\u06dc\u0003\u00c5Z\u0000\u06dc\u06dd\u0001\u0000\u0000\u0000"+ + "\u06dd\u06de\u0006\u00e7\r\u0000\u06de\u06df\u0006\u00e7\u0000\u0000\u06df"+ + "\u06e0\u0006\u00e7%\u0000\u06e0\u01e0\u0001\u0000\u0000\u0000\u06e1\u06e2"+ + "\u0003o/\u0000\u06e2\u06e3\u0001\u0000\u0000\u0000\u06e3\u06e4\u0006\u00e8"+ + "\r\u0000\u06e4\u06e5\u0006\u00e8\u0000\u0000\u06e5\u06e6\u0006\u00e8)"+ + "\u0000\u06e6\u01e2\u0001\u0000\u0000\u0000\u06e7\u06e8\u0003M\u001e\u0000"+ + "\u06e8\u06e9\u0001\u0000\u0000\u0000\u06e9\u06ea\u0006\u00e9\u0011\u0000"+ + "\u06ea\u06eb\u0006\u00e9\r\u0000\u06eb\u01e4\u0001\u0000\u0000\u0000\u06ec"+ + "\u06ed\u0003M\u001e\u0000\u06ed\u06ee\u0001\u0000\u0000\u0000\u06ee\u06ef"+ + "\u0006\u00ea\u0011\u0000\u06ef\u06f0\u0006\u00ea\r\u0000\u06f0\u01e6\u0001"+ + "\u0000\u0000\u0000\u06f1\u06f2\u0003\u008f?\u0000\u06f2\u06f3\u0001\u0000"+ + "\u0000\u0000\u06f3\u06f4\u0006\u00eb \u0000\u06f4\u01e8\u0001\u0000\u0000"+ + "\u0000\u06f5\u06f6\u0003\u0123\u0089\u0000\u06f6\u06f7\u0001\u0000\u0000"+ + "\u0000\u06f7\u06f8\u0006\u00ec\'\u0000\u06f8\u01ea\u0001\u0000\u0000\u0000"+ + "\u06f9\u06fa\u0003y4\u0000\u06fa\u06fb\u0001\u0000\u0000\u0000\u06fb\u06fc"+ + "\u0006\u00ed\u0019\u0000\u06fc\u01ec\u0001\u0000\u0000\u0000\u06fd\u06fe"+ + "\u0003u2\u0000\u06fe\u06ff\u0001\u0000\u0000\u0000\u06ff\u0700\u0006\u00ee"+ + "\u0015\u0000\u0700\u01ee\u0001\u0000\u0000\u0000\u0701\u0702\u0003\u00c9"+ + "\\\u0000\u0702\u0703\u0001\u0000\u0000\u0000\u0703\u0704\u0006\u00ef$"+ + "\u0000\u0704\u01f0\u0001\u0000\u0000\u0000\u0705\u0706\u0003\u00c5Z\u0000"+ + "\u0706\u0707\u0001\u0000\u0000\u0000\u0707\u0708\u0006\u00f0%\u0000\u0708"+ + "\u01f2\u0001\u0000\u0000\u0000\u0709\u070a\u0003G\u001b\u0000\u070a\u070b"+ + "\u0001\u0000\u0000\u0000\u070b\u070c\u0006\u00f1\f\u0000\u070c\u01f4\u0001"+ + "\u0000\u0000\u0000\u070d\u070e\u0003I\u001c\u0000\u070e\u070f\u0001\u0000"+ + "\u0000\u0000\u070f\u0710\u0006\u00f2\f\u0000\u0710\u01f6\u0001\u0000\u0000"+ + "\u0000\u0711\u0712\u0003K\u001d\u0000\u0712\u0713\u0001\u0000\u0000\u0000"+ + "\u0713\u0714\u0006\u00f3\f\u0000\u0714\u01f8\u0001\u0000\u0000\u0000G"+ + "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e"+ + "\u000f\u0010\u02eb\u02f5\u02f9\u02fc\u0305\u0307\u0312\u0325\u032a\u0333"+ + "\u033a\u033f\u0341\u034c\u0354\u0357\u0359\u035e\u0363\u0369\u0370\u0375"+ + "\u037b\u037e\u0386\u038a\u0419\u041e\u0425\u0427\u042c\u0431\u0438\u043a"+ + "\u044a\u044f\u0454\u0456\u045c\u04ad\u04b2\u04e9\u04ed\u04f2\u04f7\u04fc"+ + "\u04fe\u0502\u0504\u055f\u0563\u0568\u0605\u0607*\u0005\u0001\u0000\u0005"+ + "\u0004\u0000\u0005\u0006\u0000\u0005\u0002\u0000\u0005\u0003\u0000\u0005"+ + "\b\u0000\u0005\u0005\u0000\u0005\t\u0000\u0005\r\u0000\u0005\u0010\u0000"+ + "\u0005\u000b\u0000\u0005\u000e\u0000\u0000\u0001\u0000\u0004\u0000\u0000"+ + "\u0007\u0011\u0000\u0007N\u0000\u0005\u0000\u0000\u0007\u001f\u0000\u0007"+ + "O\u0000\u0007(\u0000\u0007\'\u0000\u0007)\u0000\u0007%\u0000\u0007Y\u0000"+ + "\u0007 \u0000\u0007+\u0000\u00078\u0000\u0007L\u0000\u0007K\u0000\u0007"+ + "M\u0000\u0007]\u0000\u0005\n\u0000\u00076\u0000\u0005\u0007\u0000\u0007"+ + "<\u0000\u0007e\u0000\u0007Q\u0000\u0007P\u0000\u0005\f\u0000\u0007a\u0000"+ + "\u0005\u000f\u0000\u0007&\u0000"; 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/EsqlBaseParser.interp b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp index 359948695ac6b..998b4c0823c77 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 @@ -1,5 +1,6 @@ token literal names: null +'completion' 'dissect' 'drop' 'enrich' @@ -28,14 +29,15 @@ null null null null +null '|' null null null -'by' 'and' 'asc' '=' +'by' '::' ':' ',' @@ -51,11 +53,13 @@ null 'not' 'null' 'nulls' +'on' 'or' '?' 'rlike' ')' 'true' +'with' '==' '=~' '!=' @@ -96,8 +100,6 @@ null null null null -'on' -'with' null null null @@ -139,6 +141,7 @@ null token symbolic names: null +COMPLETION DISSECT DROP ENRICH @@ -160,6 +163,7 @@ CHANGE_POINT DEV_INLINESTATS DEV_LOOKUP DEV_METRICS +DEV_RERANK DEV_JOIN_FULL DEV_JOIN_LEFT DEV_JOIN_RIGHT @@ -171,10 +175,10 @@ PIPE QUOTED_STRING INTEGER_LITERAL DECIMAL_LITERAL -BY AND ASC ASSIGN +BY CAST_OP COLON COMMA @@ -190,11 +194,13 @@ LP NOT NULL NULLS +ON OR PARAM RLIKE RP TRUE +WITH EQ CIEQ NEQ @@ -235,8 +241,6 @@ AS RENAME_LINE_COMMENT RENAME_MULTILINE_COMMENT RENAME_WS -ON -WITH ENRICH_POLICY_NAME ENRICH_LINE_COMMENT ENRICH_MULTILINE_COMMENT @@ -296,6 +300,8 @@ dataType rowCommand fields field +rerankFields +rerankField fromCommand indexPattern clusterString @@ -348,7 +354,9 @@ joinCommand joinTarget joinCondition joinPredicate +rerankCommand +completionCommand atn: -[4, 1, 136, 694, 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, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 152, 8, 1, 10, 1, 12, 1, 155, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 163, 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, 3, 3, 183, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 195, 8, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 202, 8, 5, 10, 5, 12, 5, 205, 9, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 212, 8, 5, 1, 5, 1, 5, 1, 5, 3, 5, 217, 8, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 225, 8, 5, 10, 5, 12, 5, 228, 9, 5, 1, 6, 1, 6, 3, 6, 232, 8, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 239, 8, 6, 1, 6, 1, 6, 1, 6, 3, 6, 244, 8, 6, 1, 7, 1, 7, 1, 7, 3, 7, 249, 8, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 259, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 265, 8, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 5, 9, 273, 8, 9, 10, 9, 12, 9, 276, 9, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 286, 8, 10, 1, 10, 1, 10, 1, 10, 5, 10, 291, 8, 10, 10, 10, 12, 10, 294, 9, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 302, 8, 11, 10, 11, 12, 11, 305, 9, 11, 1, 11, 1, 11, 3, 11, 309, 8, 11, 3, 11, 311, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 5, 13, 321, 8, 13, 10, 13, 12, 13, 324, 9, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 340, 8, 17, 10, 17, 12, 17, 343, 9, 17, 1, 18, 1, 18, 1, 18, 3, 18, 348, 8, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 356, 8, 19, 10, 19, 12, 19, 359, 9, 19, 1, 19, 3, 19, 362, 8, 19, 1, 20, 1, 20, 1, 20, 3, 20, 367, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 373, 8, 20, 3, 20, 375, 8, 20, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 3, 24, 385, 8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 5, 25, 391, 8, 25, 10, 25, 12, 25, 394, 9, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 404, 8, 27, 10, 27, 12, 27, 407, 9, 27, 1, 27, 3, 27, 410, 8, 27, 1, 27, 1, 27, 3, 27, 414, 8, 27, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 3, 29, 421, 8, 29, 1, 29, 1, 29, 3, 29, 425, 8, 29, 1, 30, 1, 30, 1, 30, 5, 30, 430, 8, 30, 10, 30, 12, 30, 433, 9, 30, 1, 31, 1, 31, 1, 31, 3, 31, 438, 8, 31, 1, 32, 1, 32, 1, 32, 5, 32, 443, 8, 32, 10, 32, 12, 32, 446, 9, 32, 1, 33, 1, 33, 1, 33, 5, 33, 451, 8, 33, 10, 33, 12, 33, 454, 9, 33, 1, 34, 1, 34, 1, 34, 5, 34, 459, 8, 34, 10, 34, 12, 34, 462, 9, 34, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 3, 36, 469, 8, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 484, 8, 37, 10, 37, 12, 37, 487, 9, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 495, 8, 37, 10, 37, 12, 37, 498, 9, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 506, 8, 37, 10, 37, 12, 37, 509, 9, 37, 1, 37, 1, 37, 3, 37, 513, 8, 37, 1, 38, 1, 38, 3, 38, 517, 8, 38, 1, 39, 1, 39, 3, 39, 521, 8, 39, 1, 40, 1, 40, 1, 40, 3, 40, 526, 8, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 5, 42, 535, 8, 42, 10, 42, 12, 42, 538, 9, 42, 1, 43, 1, 43, 3, 43, 542, 8, 43, 1, 43, 1, 43, 3, 43, 546, 8, 43, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 5, 46, 558, 8, 46, 10, 46, 12, 46, 561, 9, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 571, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 577, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 5, 51, 589, 8, 51, 10, 51, 12, 51, 592, 9, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 54, 1, 54, 3, 54, 602, 8, 54, 1, 55, 3, 55, 605, 8, 55, 1, 55, 1, 55, 1, 56, 3, 56, 610, 8, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 3, 62, 632, 8, 62, 1, 62, 1, 62, 1, 62, 1, 62, 5, 62, 638, 8, 62, 10, 62, 12, 62, 641, 9, 62, 3, 62, 643, 8, 62, 1, 63, 1, 63, 1, 63, 3, 63, 648, 8, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 656, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 663, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 674, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 687, 8, 69, 10, 69, 12, 69, 690, 9, 69, 1, 70, 1, 70, 1, 70, 0, 4, 2, 10, 18, 20, 71, 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, 0, 9, 1, 0, 64, 65, 1, 0, 66, 68, 2, 0, 30, 30, 85, 85, 1, 0, 76, 77, 2, 0, 35, 35, 40, 40, 2, 0, 43, 43, 46, 46, 2, 0, 42, 42, 56, 56, 2, 0, 57, 57, 59, 63, 2, 0, 17, 17, 23, 24, 724, 0, 142, 1, 0, 0, 0, 2, 145, 1, 0, 0, 0, 4, 162, 1, 0, 0, 0, 6, 182, 1, 0, 0, 0, 8, 184, 1, 0, 0, 0, 10, 216, 1, 0, 0, 0, 12, 243, 1, 0, 0, 0, 14, 245, 1, 0, 0, 0, 16, 258, 1, 0, 0, 0, 18, 264, 1, 0, 0, 0, 20, 285, 1, 0, 0, 0, 22, 295, 1, 0, 0, 0, 24, 314, 1, 0, 0, 0, 26, 316, 1, 0, 0, 0, 28, 327, 1, 0, 0, 0, 30, 331, 1, 0, 0, 0, 32, 333, 1, 0, 0, 0, 34, 336, 1, 0, 0, 0, 36, 347, 1, 0, 0, 0, 38, 351, 1, 0, 0, 0, 40, 374, 1, 0, 0, 0, 42, 376, 1, 0, 0, 0, 44, 378, 1, 0, 0, 0, 46, 380, 1, 0, 0, 0, 48, 384, 1, 0, 0, 0, 50, 386, 1, 0, 0, 0, 52, 395, 1, 0, 0, 0, 54, 399, 1, 0, 0, 0, 56, 415, 1, 0, 0, 0, 58, 418, 1, 0, 0, 0, 60, 426, 1, 0, 0, 0, 62, 434, 1, 0, 0, 0, 64, 439, 1, 0, 0, 0, 66, 447, 1, 0, 0, 0, 68, 455, 1, 0, 0, 0, 70, 463, 1, 0, 0, 0, 72, 468, 1, 0, 0, 0, 74, 512, 1, 0, 0, 0, 76, 516, 1, 0, 0, 0, 78, 520, 1, 0, 0, 0, 80, 525, 1, 0, 0, 0, 82, 527, 1, 0, 0, 0, 84, 530, 1, 0, 0, 0, 86, 539, 1, 0, 0, 0, 88, 547, 1, 0, 0, 0, 90, 550, 1, 0, 0, 0, 92, 553, 1, 0, 0, 0, 94, 570, 1, 0, 0, 0, 96, 572, 1, 0, 0, 0, 98, 578, 1, 0, 0, 0, 100, 582, 1, 0, 0, 0, 102, 585, 1, 0, 0, 0, 104, 593, 1, 0, 0, 0, 106, 597, 1, 0, 0, 0, 108, 601, 1, 0, 0, 0, 110, 604, 1, 0, 0, 0, 112, 609, 1, 0, 0, 0, 114, 613, 1, 0, 0, 0, 116, 615, 1, 0, 0, 0, 118, 617, 1, 0, 0, 0, 120, 620, 1, 0, 0, 0, 122, 624, 1, 0, 0, 0, 124, 627, 1, 0, 0, 0, 126, 647, 1, 0, 0, 0, 128, 651, 1, 0, 0, 0, 130, 664, 1, 0, 0, 0, 132, 669, 1, 0, 0, 0, 134, 675, 1, 0, 0, 0, 136, 680, 1, 0, 0, 0, 138, 682, 1, 0, 0, 0, 140, 691, 1, 0, 0, 0, 142, 143, 3, 2, 1, 0, 143, 144, 5, 0, 0, 1, 144, 1, 1, 0, 0, 0, 145, 146, 6, 1, -1, 0, 146, 147, 3, 4, 2, 0, 147, 153, 1, 0, 0, 0, 148, 149, 10, 1, 0, 0, 149, 150, 5, 29, 0, 0, 150, 152, 3, 6, 3, 0, 151, 148, 1, 0, 0, 0, 152, 155, 1, 0, 0, 0, 153, 151, 1, 0, 0, 0, 153, 154, 1, 0, 0, 0, 154, 3, 1, 0, 0, 0, 155, 153, 1, 0, 0, 0, 156, 163, 3, 118, 59, 0, 157, 163, 3, 38, 19, 0, 158, 163, 3, 32, 16, 0, 159, 163, 3, 122, 61, 0, 160, 161, 4, 2, 1, 0, 161, 163, 3, 54, 27, 0, 162, 156, 1, 0, 0, 0, 162, 157, 1, 0, 0, 0, 162, 158, 1, 0, 0, 0, 162, 159, 1, 0, 0, 0, 162, 160, 1, 0, 0, 0, 163, 5, 1, 0, 0, 0, 164, 183, 3, 56, 28, 0, 165, 183, 3, 8, 4, 0, 166, 183, 3, 88, 44, 0, 167, 183, 3, 82, 41, 0, 168, 183, 3, 58, 29, 0, 169, 183, 3, 84, 42, 0, 170, 183, 3, 90, 45, 0, 171, 183, 3, 92, 46, 0, 172, 183, 3, 96, 48, 0, 173, 183, 3, 98, 49, 0, 174, 183, 3, 124, 62, 0, 175, 183, 3, 100, 50, 0, 176, 183, 3, 134, 67, 0, 177, 183, 3, 128, 64, 0, 178, 179, 4, 3, 2, 0, 179, 183, 3, 132, 66, 0, 180, 181, 4, 3, 3, 0, 181, 183, 3, 130, 65, 0, 182, 164, 1, 0, 0, 0, 182, 165, 1, 0, 0, 0, 182, 166, 1, 0, 0, 0, 182, 167, 1, 0, 0, 0, 182, 168, 1, 0, 0, 0, 182, 169, 1, 0, 0, 0, 182, 170, 1, 0, 0, 0, 182, 171, 1, 0, 0, 0, 182, 172, 1, 0, 0, 0, 182, 173, 1, 0, 0, 0, 182, 174, 1, 0, 0, 0, 182, 175, 1, 0, 0, 0, 182, 176, 1, 0, 0, 0, 182, 177, 1, 0, 0, 0, 182, 178, 1, 0, 0, 0, 182, 180, 1, 0, 0, 0, 183, 7, 1, 0, 0, 0, 184, 185, 5, 16, 0, 0, 185, 186, 3, 10, 5, 0, 186, 9, 1, 0, 0, 0, 187, 188, 6, 5, -1, 0, 188, 189, 5, 49, 0, 0, 189, 217, 3, 10, 5, 8, 190, 217, 3, 16, 8, 0, 191, 217, 3, 12, 6, 0, 192, 194, 3, 16, 8, 0, 193, 195, 5, 49, 0, 0, 194, 193, 1, 0, 0, 0, 194, 195, 1, 0, 0, 0, 195, 196, 1, 0, 0, 0, 196, 197, 5, 44, 0, 0, 197, 198, 5, 48, 0, 0, 198, 203, 3, 16, 8, 0, 199, 200, 5, 39, 0, 0, 200, 202, 3, 16, 8, 0, 201, 199, 1, 0, 0, 0, 202, 205, 1, 0, 0, 0, 203, 201, 1, 0, 0, 0, 203, 204, 1, 0, 0, 0, 204, 206, 1, 0, 0, 0, 205, 203, 1, 0, 0, 0, 206, 207, 5, 55, 0, 0, 207, 217, 1, 0, 0, 0, 208, 209, 3, 16, 8, 0, 209, 211, 5, 45, 0, 0, 210, 212, 5, 49, 0, 0, 211, 210, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 213, 1, 0, 0, 0, 213, 214, 5, 50, 0, 0, 214, 217, 1, 0, 0, 0, 215, 217, 3, 14, 7, 0, 216, 187, 1, 0, 0, 0, 216, 190, 1, 0, 0, 0, 216, 191, 1, 0, 0, 0, 216, 192, 1, 0, 0, 0, 216, 208, 1, 0, 0, 0, 216, 215, 1, 0, 0, 0, 217, 226, 1, 0, 0, 0, 218, 219, 10, 5, 0, 0, 219, 220, 5, 34, 0, 0, 220, 225, 3, 10, 5, 6, 221, 222, 10, 4, 0, 0, 222, 223, 5, 52, 0, 0, 223, 225, 3, 10, 5, 5, 224, 218, 1, 0, 0, 0, 224, 221, 1, 0, 0, 0, 225, 228, 1, 0, 0, 0, 226, 224, 1, 0, 0, 0, 226, 227, 1, 0, 0, 0, 227, 11, 1, 0, 0, 0, 228, 226, 1, 0, 0, 0, 229, 231, 3, 16, 8, 0, 230, 232, 5, 49, 0, 0, 231, 230, 1, 0, 0, 0, 231, 232, 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 234, 5, 47, 0, 0, 234, 235, 3, 114, 57, 0, 235, 244, 1, 0, 0, 0, 236, 238, 3, 16, 8, 0, 237, 239, 5, 49, 0, 0, 238, 237, 1, 0, 0, 0, 238, 239, 1, 0, 0, 0, 239, 240, 1, 0, 0, 0, 240, 241, 5, 54, 0, 0, 241, 242, 3, 114, 57, 0, 242, 244, 1, 0, 0, 0, 243, 229, 1, 0, 0, 0, 243, 236, 1, 0, 0, 0, 244, 13, 1, 0, 0, 0, 245, 248, 3, 64, 32, 0, 246, 247, 5, 37, 0, 0, 247, 249, 3, 30, 15, 0, 248, 246, 1, 0, 0, 0, 248, 249, 1, 0, 0, 0, 249, 250, 1, 0, 0, 0, 250, 251, 5, 38, 0, 0, 251, 252, 3, 74, 37, 0, 252, 15, 1, 0, 0, 0, 253, 259, 3, 18, 9, 0, 254, 255, 3, 18, 9, 0, 255, 256, 3, 116, 58, 0, 256, 257, 3, 18, 9, 0, 257, 259, 1, 0, 0, 0, 258, 253, 1, 0, 0, 0, 258, 254, 1, 0, 0, 0, 259, 17, 1, 0, 0, 0, 260, 261, 6, 9, -1, 0, 261, 265, 3, 20, 10, 0, 262, 263, 7, 0, 0, 0, 263, 265, 3, 18, 9, 3, 264, 260, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 265, 274, 1, 0, 0, 0, 266, 267, 10, 2, 0, 0, 267, 268, 7, 1, 0, 0, 268, 273, 3, 18, 9, 3, 269, 270, 10, 1, 0, 0, 270, 271, 7, 0, 0, 0, 271, 273, 3, 18, 9, 2, 272, 266, 1, 0, 0, 0, 272, 269, 1, 0, 0, 0, 273, 276, 1, 0, 0, 0, 274, 272, 1, 0, 0, 0, 274, 275, 1, 0, 0, 0, 275, 19, 1, 0, 0, 0, 276, 274, 1, 0, 0, 0, 277, 278, 6, 10, -1, 0, 278, 286, 3, 74, 37, 0, 279, 286, 3, 64, 32, 0, 280, 286, 3, 22, 11, 0, 281, 282, 5, 48, 0, 0, 282, 283, 3, 10, 5, 0, 283, 284, 5, 55, 0, 0, 284, 286, 1, 0, 0, 0, 285, 277, 1, 0, 0, 0, 285, 279, 1, 0, 0, 0, 285, 280, 1, 0, 0, 0, 285, 281, 1, 0, 0, 0, 286, 292, 1, 0, 0, 0, 287, 288, 10, 1, 0, 0, 288, 289, 5, 37, 0, 0, 289, 291, 3, 30, 15, 0, 290, 287, 1, 0, 0, 0, 291, 294, 1, 0, 0, 0, 292, 290, 1, 0, 0, 0, 292, 293, 1, 0, 0, 0, 293, 21, 1, 0, 0, 0, 294, 292, 1, 0, 0, 0, 295, 296, 3, 24, 12, 0, 296, 310, 5, 48, 0, 0, 297, 311, 5, 66, 0, 0, 298, 303, 3, 10, 5, 0, 299, 300, 5, 39, 0, 0, 300, 302, 3, 10, 5, 0, 301, 299, 1, 0, 0, 0, 302, 305, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 308, 1, 0, 0, 0, 305, 303, 1, 0, 0, 0, 306, 307, 5, 39, 0, 0, 307, 309, 3, 26, 13, 0, 308, 306, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 311, 1, 0, 0, 0, 310, 297, 1, 0, 0, 0, 310, 298, 1, 0, 0, 0, 310, 311, 1, 0, 0, 0, 311, 312, 1, 0, 0, 0, 312, 313, 5, 55, 0, 0, 313, 23, 1, 0, 0, 0, 314, 315, 3, 80, 40, 0, 315, 25, 1, 0, 0, 0, 316, 317, 5, 69, 0, 0, 317, 322, 3, 28, 14, 0, 318, 319, 5, 39, 0, 0, 319, 321, 3, 28, 14, 0, 320, 318, 1, 0, 0, 0, 321, 324, 1, 0, 0, 0, 322, 320, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 325, 1, 0, 0, 0, 324, 322, 1, 0, 0, 0, 325, 326, 5, 70, 0, 0, 326, 27, 1, 0, 0, 0, 327, 328, 3, 114, 57, 0, 328, 329, 5, 38, 0, 0, 329, 330, 3, 74, 37, 0, 330, 29, 1, 0, 0, 0, 331, 332, 3, 70, 35, 0, 332, 31, 1, 0, 0, 0, 333, 334, 5, 12, 0, 0, 334, 335, 3, 34, 17, 0, 335, 33, 1, 0, 0, 0, 336, 341, 3, 36, 18, 0, 337, 338, 5, 39, 0, 0, 338, 340, 3, 36, 18, 0, 339, 337, 1, 0, 0, 0, 340, 343, 1, 0, 0, 0, 341, 339, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 35, 1, 0, 0, 0, 343, 341, 1, 0, 0, 0, 344, 345, 3, 64, 32, 0, 345, 346, 5, 36, 0, 0, 346, 348, 1, 0, 0, 0, 347, 344, 1, 0, 0, 0, 347, 348, 1, 0, 0, 0, 348, 349, 1, 0, 0, 0, 349, 350, 3, 10, 5, 0, 350, 37, 1, 0, 0, 0, 351, 352, 5, 6, 0, 0, 352, 357, 3, 40, 20, 0, 353, 354, 5, 39, 0, 0, 354, 356, 3, 40, 20, 0, 355, 353, 1, 0, 0, 0, 356, 359, 1, 0, 0, 0, 357, 355, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358, 361, 1, 0, 0, 0, 359, 357, 1, 0, 0, 0, 360, 362, 3, 48, 24, 0, 361, 360, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 39, 1, 0, 0, 0, 363, 364, 3, 42, 21, 0, 364, 365, 5, 38, 0, 0, 365, 367, 1, 0, 0, 0, 366, 363, 1, 0, 0, 0, 366, 367, 1, 0, 0, 0, 367, 368, 1, 0, 0, 0, 368, 375, 3, 46, 23, 0, 369, 372, 3, 46, 23, 0, 370, 371, 5, 37, 0, 0, 371, 373, 3, 44, 22, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 375, 1, 0, 0, 0, 374, 366, 1, 0, 0, 0, 374, 369, 1, 0, 0, 0, 375, 41, 1, 0, 0, 0, 376, 377, 7, 2, 0, 0, 377, 43, 1, 0, 0, 0, 378, 379, 7, 2, 0, 0, 379, 45, 1, 0, 0, 0, 380, 381, 7, 2, 0, 0, 381, 47, 1, 0, 0, 0, 382, 385, 3, 50, 25, 0, 383, 385, 3, 52, 26, 0, 384, 382, 1, 0, 0, 0, 384, 383, 1, 0, 0, 0, 385, 49, 1, 0, 0, 0, 386, 387, 5, 84, 0, 0, 387, 392, 5, 85, 0, 0, 388, 389, 5, 39, 0, 0, 389, 391, 5, 85, 0, 0, 390, 388, 1, 0, 0, 0, 391, 394, 1, 0, 0, 0, 392, 390, 1, 0, 0, 0, 392, 393, 1, 0, 0, 0, 393, 51, 1, 0, 0, 0, 394, 392, 1, 0, 0, 0, 395, 396, 5, 74, 0, 0, 396, 397, 3, 50, 25, 0, 397, 398, 5, 75, 0, 0, 398, 53, 1, 0, 0, 0, 399, 400, 5, 21, 0, 0, 400, 405, 3, 40, 20, 0, 401, 402, 5, 39, 0, 0, 402, 404, 3, 40, 20, 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, 409, 1, 0, 0, 0, 407, 405, 1, 0, 0, 0, 408, 410, 3, 60, 30, 0, 409, 408, 1, 0, 0, 0, 409, 410, 1, 0, 0, 0, 410, 413, 1, 0, 0, 0, 411, 412, 5, 33, 0, 0, 412, 414, 3, 34, 17, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 55, 1, 0, 0, 0, 415, 416, 5, 4, 0, 0, 416, 417, 3, 34, 17, 0, 417, 57, 1, 0, 0, 0, 418, 420, 5, 15, 0, 0, 419, 421, 3, 60, 30, 0, 420, 419, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 424, 1, 0, 0, 0, 422, 423, 5, 33, 0, 0, 423, 425, 3, 34, 17, 0, 424, 422, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 59, 1, 0, 0, 0, 426, 431, 3, 62, 31, 0, 427, 428, 5, 39, 0, 0, 428, 430, 3, 62, 31, 0, 429, 427, 1, 0, 0, 0, 430, 433, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 431, 432, 1, 0, 0, 0, 432, 61, 1, 0, 0, 0, 433, 431, 1, 0, 0, 0, 434, 437, 3, 36, 18, 0, 435, 436, 5, 16, 0, 0, 436, 438, 3, 10, 5, 0, 437, 435, 1, 0, 0, 0, 437, 438, 1, 0, 0, 0, 438, 63, 1, 0, 0, 0, 439, 444, 3, 80, 40, 0, 440, 441, 5, 41, 0, 0, 441, 443, 3, 80, 40, 0, 442, 440, 1, 0, 0, 0, 443, 446, 1, 0, 0, 0, 444, 442, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 65, 1, 0, 0, 0, 446, 444, 1, 0, 0, 0, 447, 452, 3, 72, 36, 0, 448, 449, 5, 41, 0, 0, 449, 451, 3, 72, 36, 0, 450, 448, 1, 0, 0, 0, 451, 454, 1, 0, 0, 0, 452, 450, 1, 0, 0, 0, 452, 453, 1, 0, 0, 0, 453, 67, 1, 0, 0, 0, 454, 452, 1, 0, 0, 0, 455, 460, 3, 66, 33, 0, 456, 457, 5, 39, 0, 0, 457, 459, 3, 66, 33, 0, 458, 456, 1, 0, 0, 0, 459, 462, 1, 0, 0, 0, 460, 458, 1, 0, 0, 0, 460, 461, 1, 0, 0, 0, 461, 69, 1, 0, 0, 0, 462, 460, 1, 0, 0, 0, 463, 464, 7, 3, 0, 0, 464, 71, 1, 0, 0, 0, 465, 469, 5, 89, 0, 0, 466, 469, 3, 76, 38, 0, 467, 469, 3, 78, 39, 0, 468, 465, 1, 0, 0, 0, 468, 466, 1, 0, 0, 0, 468, 467, 1, 0, 0, 0, 469, 73, 1, 0, 0, 0, 470, 513, 5, 50, 0, 0, 471, 472, 3, 112, 56, 0, 472, 473, 5, 76, 0, 0, 473, 513, 1, 0, 0, 0, 474, 513, 3, 110, 55, 0, 475, 513, 3, 112, 56, 0, 476, 513, 3, 106, 53, 0, 477, 513, 3, 76, 38, 0, 478, 513, 3, 114, 57, 0, 479, 480, 5, 74, 0, 0, 480, 485, 3, 108, 54, 0, 481, 482, 5, 39, 0, 0, 482, 484, 3, 108, 54, 0, 483, 481, 1, 0, 0, 0, 484, 487, 1, 0, 0, 0, 485, 483, 1, 0, 0, 0, 485, 486, 1, 0, 0, 0, 486, 488, 1, 0, 0, 0, 487, 485, 1, 0, 0, 0, 488, 489, 5, 75, 0, 0, 489, 513, 1, 0, 0, 0, 490, 491, 5, 74, 0, 0, 491, 496, 3, 106, 53, 0, 492, 493, 5, 39, 0, 0, 493, 495, 3, 106, 53, 0, 494, 492, 1, 0, 0, 0, 495, 498, 1, 0, 0, 0, 496, 494, 1, 0, 0, 0, 496, 497, 1, 0, 0, 0, 497, 499, 1, 0, 0, 0, 498, 496, 1, 0, 0, 0, 499, 500, 5, 75, 0, 0, 500, 513, 1, 0, 0, 0, 501, 502, 5, 74, 0, 0, 502, 507, 3, 114, 57, 0, 503, 504, 5, 39, 0, 0, 504, 506, 3, 114, 57, 0, 505, 503, 1, 0, 0, 0, 506, 509, 1, 0, 0, 0, 507, 505, 1, 0, 0, 0, 507, 508, 1, 0, 0, 0, 508, 510, 1, 0, 0, 0, 509, 507, 1, 0, 0, 0, 510, 511, 5, 75, 0, 0, 511, 513, 1, 0, 0, 0, 512, 470, 1, 0, 0, 0, 512, 471, 1, 0, 0, 0, 512, 474, 1, 0, 0, 0, 512, 475, 1, 0, 0, 0, 512, 476, 1, 0, 0, 0, 512, 477, 1, 0, 0, 0, 512, 478, 1, 0, 0, 0, 512, 479, 1, 0, 0, 0, 512, 490, 1, 0, 0, 0, 512, 501, 1, 0, 0, 0, 513, 75, 1, 0, 0, 0, 514, 517, 5, 53, 0, 0, 515, 517, 5, 72, 0, 0, 516, 514, 1, 0, 0, 0, 516, 515, 1, 0, 0, 0, 517, 77, 1, 0, 0, 0, 518, 521, 5, 71, 0, 0, 519, 521, 5, 73, 0, 0, 520, 518, 1, 0, 0, 0, 520, 519, 1, 0, 0, 0, 521, 79, 1, 0, 0, 0, 522, 526, 3, 70, 35, 0, 523, 526, 3, 76, 38, 0, 524, 526, 3, 78, 39, 0, 525, 522, 1, 0, 0, 0, 525, 523, 1, 0, 0, 0, 525, 524, 1, 0, 0, 0, 526, 81, 1, 0, 0, 0, 527, 528, 5, 9, 0, 0, 528, 529, 3, 74, 37, 0, 529, 83, 1, 0, 0, 0, 530, 531, 5, 14, 0, 0, 531, 536, 3, 86, 43, 0, 532, 533, 5, 39, 0, 0, 533, 535, 3, 86, 43, 0, 534, 532, 1, 0, 0, 0, 535, 538, 1, 0, 0, 0, 536, 534, 1, 0, 0, 0, 536, 537, 1, 0, 0, 0, 537, 85, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 539, 541, 3, 10, 5, 0, 540, 542, 7, 4, 0, 0, 541, 540, 1, 0, 0, 0, 541, 542, 1, 0, 0, 0, 542, 545, 1, 0, 0, 0, 543, 544, 5, 51, 0, 0, 544, 546, 7, 5, 0, 0, 545, 543, 1, 0, 0, 0, 545, 546, 1, 0, 0, 0, 546, 87, 1, 0, 0, 0, 547, 548, 5, 8, 0, 0, 548, 549, 3, 68, 34, 0, 549, 89, 1, 0, 0, 0, 550, 551, 5, 2, 0, 0, 551, 552, 3, 68, 34, 0, 552, 91, 1, 0, 0, 0, 553, 554, 5, 11, 0, 0, 554, 559, 3, 94, 47, 0, 555, 556, 5, 39, 0, 0, 556, 558, 3, 94, 47, 0, 557, 555, 1, 0, 0, 0, 558, 561, 1, 0, 0, 0, 559, 557, 1, 0, 0, 0, 559, 560, 1, 0, 0, 0, 560, 93, 1, 0, 0, 0, 561, 559, 1, 0, 0, 0, 562, 563, 3, 66, 33, 0, 563, 564, 5, 93, 0, 0, 564, 565, 3, 66, 33, 0, 565, 571, 1, 0, 0, 0, 566, 567, 3, 66, 33, 0, 567, 568, 5, 36, 0, 0, 568, 569, 3, 66, 33, 0, 569, 571, 1, 0, 0, 0, 570, 562, 1, 0, 0, 0, 570, 566, 1, 0, 0, 0, 571, 95, 1, 0, 0, 0, 572, 573, 5, 1, 0, 0, 573, 574, 3, 20, 10, 0, 574, 576, 3, 114, 57, 0, 575, 577, 3, 102, 51, 0, 576, 575, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 97, 1, 0, 0, 0, 578, 579, 5, 7, 0, 0, 579, 580, 3, 20, 10, 0, 580, 581, 3, 114, 57, 0, 581, 99, 1, 0, 0, 0, 582, 583, 5, 10, 0, 0, 583, 584, 3, 64, 32, 0, 584, 101, 1, 0, 0, 0, 585, 590, 3, 104, 52, 0, 586, 587, 5, 39, 0, 0, 587, 589, 3, 104, 52, 0, 588, 586, 1, 0, 0, 0, 589, 592, 1, 0, 0, 0, 590, 588, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 103, 1, 0, 0, 0, 592, 590, 1, 0, 0, 0, 593, 594, 3, 70, 35, 0, 594, 595, 5, 36, 0, 0, 595, 596, 3, 74, 37, 0, 596, 105, 1, 0, 0, 0, 597, 598, 7, 6, 0, 0, 598, 107, 1, 0, 0, 0, 599, 602, 3, 110, 55, 0, 600, 602, 3, 112, 56, 0, 601, 599, 1, 0, 0, 0, 601, 600, 1, 0, 0, 0, 602, 109, 1, 0, 0, 0, 603, 605, 7, 0, 0, 0, 604, 603, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 606, 1, 0, 0, 0, 606, 607, 5, 32, 0, 0, 607, 111, 1, 0, 0, 0, 608, 610, 7, 0, 0, 0, 609, 608, 1, 0, 0, 0, 609, 610, 1, 0, 0, 0, 610, 611, 1, 0, 0, 0, 611, 612, 5, 31, 0, 0, 612, 113, 1, 0, 0, 0, 613, 614, 5, 30, 0, 0, 614, 115, 1, 0, 0, 0, 615, 616, 7, 7, 0, 0, 616, 117, 1, 0, 0, 0, 617, 618, 5, 5, 0, 0, 618, 619, 3, 120, 60, 0, 619, 119, 1, 0, 0, 0, 620, 621, 5, 74, 0, 0, 621, 622, 3, 2, 1, 0, 622, 623, 5, 75, 0, 0, 623, 121, 1, 0, 0, 0, 624, 625, 5, 13, 0, 0, 625, 626, 5, 109, 0, 0, 626, 123, 1, 0, 0, 0, 627, 628, 5, 3, 0, 0, 628, 631, 5, 99, 0, 0, 629, 630, 5, 97, 0, 0, 630, 632, 3, 66, 33, 0, 631, 629, 1, 0, 0, 0, 631, 632, 1, 0, 0, 0, 632, 642, 1, 0, 0, 0, 633, 634, 5, 98, 0, 0, 634, 639, 3, 126, 63, 0, 635, 636, 5, 39, 0, 0, 636, 638, 3, 126, 63, 0, 637, 635, 1, 0, 0, 0, 638, 641, 1, 0, 0, 0, 639, 637, 1, 0, 0, 0, 639, 640, 1, 0, 0, 0, 640, 643, 1, 0, 0, 0, 641, 639, 1, 0, 0, 0, 642, 633, 1, 0, 0, 0, 642, 643, 1, 0, 0, 0, 643, 125, 1, 0, 0, 0, 644, 645, 3, 66, 33, 0, 645, 646, 5, 36, 0, 0, 646, 648, 1, 0, 0, 0, 647, 644, 1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 649, 1, 0, 0, 0, 649, 650, 3, 66, 33, 0, 650, 127, 1, 0, 0, 0, 651, 652, 5, 18, 0, 0, 652, 655, 3, 64, 32, 0, 653, 654, 5, 97, 0, 0, 654, 656, 3, 64, 32, 0, 655, 653, 1, 0, 0, 0, 655, 656, 1, 0, 0, 0, 656, 662, 1, 0, 0, 0, 657, 658, 5, 93, 0, 0, 658, 659, 3, 64, 32, 0, 659, 660, 5, 39, 0, 0, 660, 661, 3, 64, 32, 0, 661, 663, 1, 0, 0, 0, 662, 657, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 129, 1, 0, 0, 0, 664, 665, 5, 20, 0, 0, 665, 666, 3, 40, 20, 0, 666, 667, 5, 97, 0, 0, 667, 668, 3, 68, 34, 0, 668, 131, 1, 0, 0, 0, 669, 670, 5, 19, 0, 0, 670, 673, 3, 60, 30, 0, 671, 672, 5, 33, 0, 0, 672, 674, 3, 34, 17, 0, 673, 671, 1, 0, 0, 0, 673, 674, 1, 0, 0, 0, 674, 133, 1, 0, 0, 0, 675, 676, 7, 8, 0, 0, 676, 677, 5, 123, 0, 0, 677, 678, 3, 136, 68, 0, 678, 679, 3, 138, 69, 0, 679, 135, 1, 0, 0, 0, 680, 681, 3, 40, 20, 0, 681, 137, 1, 0, 0, 0, 682, 683, 5, 97, 0, 0, 683, 688, 3, 140, 70, 0, 684, 685, 5, 39, 0, 0, 685, 687, 3, 140, 70, 0, 686, 684, 1, 0, 0, 0, 687, 690, 1, 0, 0, 0, 688, 686, 1, 0, 0, 0, 688, 689, 1, 0, 0, 0, 689, 139, 1, 0, 0, 0, 690, 688, 1, 0, 0, 0, 691, 692, 3, 16, 8, 0, 692, 141, 1, 0, 0, 0, 68, 153, 162, 182, 194, 203, 211, 216, 224, 226, 231, 238, 243, 248, 258, 264, 272, 274, 285, 292, 303, 308, 310, 322, 341, 347, 357, 361, 366, 372, 374, 384, 392, 405, 409, 413, 420, 424, 431, 437, 444, 452, 460, 468, 485, 496, 507, 512, 516, 520, 525, 536, 541, 545, 559, 570, 576, 590, 601, 604, 609, 631, 639, 642, 647, 655, 662, 673, 688] \ No newline at end of file +[4, 1, 138, 736, 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, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 160, 8, 1, 10, 1, 12, 1, 163, 9, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 171, 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, 3, 3, 194, 8, 3, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 206, 8, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 213, 8, 5, 10, 5, 12, 5, 216, 9, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 223, 8, 5, 1, 5, 1, 5, 1, 5, 3, 5, 228, 8, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 5, 5, 236, 8, 5, 10, 5, 12, 5, 239, 9, 5, 1, 6, 1, 6, 3, 6, 243, 8, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 3, 6, 250, 8, 6, 1, 6, 1, 6, 1, 6, 3, 6, 255, 8, 6, 1, 7, 1, 7, 1, 7, 3, 7, 260, 8, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 270, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 276, 8, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 5, 9, 284, 8, 9, 10, 9, 12, 9, 287, 9, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 3, 10, 297, 8, 10, 1, 10, 1, 10, 1, 10, 5, 10, 302, 8, 10, 10, 10, 12, 10, 305, 9, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 313, 8, 11, 10, 11, 12, 11, 316, 9, 11, 1, 11, 1, 11, 3, 11, 320, 8, 11, 3, 11, 322, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 13, 5, 13, 332, 8, 13, 10, 13, 12, 13, 335, 9, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 5, 17, 351, 8, 17, 10, 17, 12, 17, 354, 9, 17, 1, 18, 1, 18, 1, 18, 3, 18, 359, 8, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 5, 19, 366, 8, 19, 10, 19, 12, 19, 369, 9, 19, 1, 20, 1, 20, 1, 20, 3, 20, 374, 8, 20, 1, 21, 1, 21, 1, 21, 1, 21, 5, 21, 380, 8, 21, 10, 21, 12, 21, 383, 9, 21, 1, 21, 3, 21, 386, 8, 21, 1, 22, 1, 22, 1, 22, 3, 22, 391, 8, 22, 1, 22, 1, 22, 1, 22, 1, 22, 3, 22, 397, 8, 22, 3, 22, 399, 8, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 3, 26, 409, 8, 26, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 415, 8, 27, 10, 27, 12, 27, 418, 9, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 5, 29, 428, 8, 29, 10, 29, 12, 29, 431, 9, 29, 1, 29, 3, 29, 434, 8, 29, 1, 29, 1, 29, 3, 29, 438, 8, 29, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 3, 31, 445, 8, 31, 1, 31, 1, 31, 3, 31, 449, 8, 31, 1, 32, 1, 32, 1, 32, 5, 32, 454, 8, 32, 10, 32, 12, 32, 457, 9, 32, 1, 33, 1, 33, 1, 33, 3, 33, 462, 8, 33, 1, 34, 1, 34, 1, 34, 5, 34, 467, 8, 34, 10, 34, 12, 34, 470, 9, 34, 1, 35, 1, 35, 1, 35, 5, 35, 475, 8, 35, 10, 35, 12, 35, 478, 9, 35, 1, 36, 1, 36, 1, 36, 5, 36, 483, 8, 36, 10, 36, 12, 36, 486, 9, 36, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 3, 38, 493, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 508, 8, 39, 10, 39, 12, 39, 511, 9, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 519, 8, 39, 10, 39, 12, 39, 522, 9, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 530, 8, 39, 10, 39, 12, 39, 533, 9, 39, 1, 39, 1, 39, 3, 39, 537, 8, 39, 1, 40, 1, 40, 3, 40, 541, 8, 40, 1, 41, 1, 41, 3, 41, 545, 8, 41, 1, 42, 1, 42, 1, 42, 3, 42, 550, 8, 42, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 5, 44, 559, 8, 44, 10, 44, 12, 44, 562, 9, 44, 1, 45, 1, 45, 3, 45, 566, 8, 45, 1, 45, 1, 45, 3, 45, 570, 8, 45, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 5, 48, 582, 8, 48, 10, 48, 12, 48, 585, 9, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 595, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 601, 8, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 5, 53, 613, 8, 53, 10, 53, 12, 53, 616, 9, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 56, 1, 56, 3, 56, 626, 8, 56, 1, 57, 3, 57, 629, 8, 57, 1, 57, 1, 57, 1, 58, 3, 58, 634, 8, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 656, 8, 64, 1, 64, 1, 64, 1, 64, 1, 64, 5, 64, 662, 8, 64, 10, 64, 12, 64, 665, 9, 64, 3, 64, 667, 8, 64, 1, 65, 1, 65, 1, 65, 3, 65, 672, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 680, 8, 66, 1, 66, 1, 66, 1, 66, 1, 66, 1, 66, 3, 66, 687, 8, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 3, 68, 698, 8, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 5, 71, 711, 8, 71, 10, 71, 12, 71, 714, 9, 71, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 3, 73, 724, 8, 73, 1, 74, 1, 74, 1, 74, 1, 74, 3, 74, 730, 8, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 0, 4, 2, 10, 18, 20, 75, 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, 0, 9, 1, 0, 68, 69, 1, 0, 70, 72, 2, 0, 32, 32, 89, 89, 1, 0, 80, 81, 2, 0, 36, 36, 42, 42, 2, 0, 45, 45, 48, 48, 2, 0, 44, 44, 59, 59, 2, 0, 61, 61, 63, 67, 2, 0, 18, 18, 25, 26, 768, 0, 150, 1, 0, 0, 0, 2, 153, 1, 0, 0, 0, 4, 170, 1, 0, 0, 0, 6, 193, 1, 0, 0, 0, 8, 195, 1, 0, 0, 0, 10, 227, 1, 0, 0, 0, 12, 254, 1, 0, 0, 0, 14, 256, 1, 0, 0, 0, 16, 269, 1, 0, 0, 0, 18, 275, 1, 0, 0, 0, 20, 296, 1, 0, 0, 0, 22, 306, 1, 0, 0, 0, 24, 325, 1, 0, 0, 0, 26, 327, 1, 0, 0, 0, 28, 338, 1, 0, 0, 0, 30, 342, 1, 0, 0, 0, 32, 344, 1, 0, 0, 0, 34, 347, 1, 0, 0, 0, 36, 358, 1, 0, 0, 0, 38, 362, 1, 0, 0, 0, 40, 370, 1, 0, 0, 0, 42, 375, 1, 0, 0, 0, 44, 398, 1, 0, 0, 0, 46, 400, 1, 0, 0, 0, 48, 402, 1, 0, 0, 0, 50, 404, 1, 0, 0, 0, 52, 408, 1, 0, 0, 0, 54, 410, 1, 0, 0, 0, 56, 419, 1, 0, 0, 0, 58, 423, 1, 0, 0, 0, 60, 439, 1, 0, 0, 0, 62, 442, 1, 0, 0, 0, 64, 450, 1, 0, 0, 0, 66, 458, 1, 0, 0, 0, 68, 463, 1, 0, 0, 0, 70, 471, 1, 0, 0, 0, 72, 479, 1, 0, 0, 0, 74, 487, 1, 0, 0, 0, 76, 492, 1, 0, 0, 0, 78, 536, 1, 0, 0, 0, 80, 540, 1, 0, 0, 0, 82, 544, 1, 0, 0, 0, 84, 549, 1, 0, 0, 0, 86, 551, 1, 0, 0, 0, 88, 554, 1, 0, 0, 0, 90, 563, 1, 0, 0, 0, 92, 571, 1, 0, 0, 0, 94, 574, 1, 0, 0, 0, 96, 577, 1, 0, 0, 0, 98, 594, 1, 0, 0, 0, 100, 596, 1, 0, 0, 0, 102, 602, 1, 0, 0, 0, 104, 606, 1, 0, 0, 0, 106, 609, 1, 0, 0, 0, 108, 617, 1, 0, 0, 0, 110, 621, 1, 0, 0, 0, 112, 625, 1, 0, 0, 0, 114, 628, 1, 0, 0, 0, 116, 633, 1, 0, 0, 0, 118, 637, 1, 0, 0, 0, 120, 639, 1, 0, 0, 0, 122, 641, 1, 0, 0, 0, 124, 644, 1, 0, 0, 0, 126, 648, 1, 0, 0, 0, 128, 651, 1, 0, 0, 0, 130, 671, 1, 0, 0, 0, 132, 675, 1, 0, 0, 0, 134, 688, 1, 0, 0, 0, 136, 693, 1, 0, 0, 0, 138, 699, 1, 0, 0, 0, 140, 704, 1, 0, 0, 0, 142, 706, 1, 0, 0, 0, 144, 715, 1, 0, 0, 0, 146, 717, 1, 0, 0, 0, 148, 725, 1, 0, 0, 0, 150, 151, 3, 2, 1, 0, 151, 152, 5, 0, 0, 1, 152, 1, 1, 0, 0, 0, 153, 154, 6, 1, -1, 0, 154, 155, 3, 4, 2, 0, 155, 161, 1, 0, 0, 0, 156, 157, 10, 1, 0, 0, 157, 158, 5, 31, 0, 0, 158, 160, 3, 6, 3, 0, 159, 156, 1, 0, 0, 0, 160, 163, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 161, 162, 1, 0, 0, 0, 162, 3, 1, 0, 0, 0, 163, 161, 1, 0, 0, 0, 164, 171, 3, 122, 61, 0, 165, 171, 3, 42, 21, 0, 166, 171, 3, 32, 16, 0, 167, 171, 3, 126, 63, 0, 168, 169, 4, 2, 1, 0, 169, 171, 3, 58, 29, 0, 170, 164, 1, 0, 0, 0, 170, 165, 1, 0, 0, 0, 170, 166, 1, 0, 0, 0, 170, 167, 1, 0, 0, 0, 170, 168, 1, 0, 0, 0, 171, 5, 1, 0, 0, 0, 172, 194, 3, 60, 30, 0, 173, 194, 3, 8, 4, 0, 174, 194, 3, 92, 46, 0, 175, 194, 3, 86, 43, 0, 176, 194, 3, 62, 31, 0, 177, 194, 3, 88, 44, 0, 178, 194, 3, 94, 47, 0, 179, 194, 3, 96, 48, 0, 180, 194, 3, 100, 50, 0, 181, 194, 3, 102, 51, 0, 182, 194, 3, 128, 64, 0, 183, 194, 3, 104, 52, 0, 184, 194, 3, 138, 69, 0, 185, 194, 3, 132, 66, 0, 186, 194, 3, 148, 74, 0, 187, 188, 4, 3, 2, 0, 188, 194, 3, 136, 68, 0, 189, 190, 4, 3, 3, 0, 190, 194, 3, 134, 67, 0, 191, 192, 4, 3, 4, 0, 192, 194, 3, 146, 73, 0, 193, 172, 1, 0, 0, 0, 193, 173, 1, 0, 0, 0, 193, 174, 1, 0, 0, 0, 193, 175, 1, 0, 0, 0, 193, 176, 1, 0, 0, 0, 193, 177, 1, 0, 0, 0, 193, 178, 1, 0, 0, 0, 193, 179, 1, 0, 0, 0, 193, 180, 1, 0, 0, 0, 193, 181, 1, 0, 0, 0, 193, 182, 1, 0, 0, 0, 193, 183, 1, 0, 0, 0, 193, 184, 1, 0, 0, 0, 193, 185, 1, 0, 0, 0, 193, 186, 1, 0, 0, 0, 193, 187, 1, 0, 0, 0, 193, 189, 1, 0, 0, 0, 193, 191, 1, 0, 0, 0, 194, 7, 1, 0, 0, 0, 195, 196, 5, 17, 0, 0, 196, 197, 3, 10, 5, 0, 197, 9, 1, 0, 0, 0, 198, 199, 6, 5, -1, 0, 199, 200, 5, 51, 0, 0, 200, 228, 3, 10, 5, 8, 201, 228, 3, 16, 8, 0, 202, 228, 3, 12, 6, 0, 203, 205, 3, 16, 8, 0, 204, 206, 5, 51, 0, 0, 205, 204, 1, 0, 0, 0, 205, 206, 1, 0, 0, 0, 206, 207, 1, 0, 0, 0, 207, 208, 5, 46, 0, 0, 208, 209, 5, 50, 0, 0, 209, 214, 3, 16, 8, 0, 210, 211, 5, 41, 0, 0, 211, 213, 3, 16, 8, 0, 212, 210, 1, 0, 0, 0, 213, 216, 1, 0, 0, 0, 214, 212, 1, 0, 0, 0, 214, 215, 1, 0, 0, 0, 215, 217, 1, 0, 0, 0, 216, 214, 1, 0, 0, 0, 217, 218, 5, 58, 0, 0, 218, 228, 1, 0, 0, 0, 219, 220, 3, 16, 8, 0, 220, 222, 5, 47, 0, 0, 221, 223, 5, 51, 0, 0, 222, 221, 1, 0, 0, 0, 222, 223, 1, 0, 0, 0, 223, 224, 1, 0, 0, 0, 224, 225, 5, 52, 0, 0, 225, 228, 1, 0, 0, 0, 226, 228, 3, 14, 7, 0, 227, 198, 1, 0, 0, 0, 227, 201, 1, 0, 0, 0, 227, 202, 1, 0, 0, 0, 227, 203, 1, 0, 0, 0, 227, 219, 1, 0, 0, 0, 227, 226, 1, 0, 0, 0, 228, 237, 1, 0, 0, 0, 229, 230, 10, 5, 0, 0, 230, 231, 5, 35, 0, 0, 231, 236, 3, 10, 5, 6, 232, 233, 10, 4, 0, 0, 233, 234, 5, 55, 0, 0, 234, 236, 3, 10, 5, 5, 235, 229, 1, 0, 0, 0, 235, 232, 1, 0, 0, 0, 236, 239, 1, 0, 0, 0, 237, 235, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 11, 1, 0, 0, 0, 239, 237, 1, 0, 0, 0, 240, 242, 3, 16, 8, 0, 241, 243, 5, 51, 0, 0, 242, 241, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 245, 5, 49, 0, 0, 245, 246, 3, 118, 59, 0, 246, 255, 1, 0, 0, 0, 247, 249, 3, 16, 8, 0, 248, 250, 5, 51, 0, 0, 249, 248, 1, 0, 0, 0, 249, 250, 1, 0, 0, 0, 250, 251, 1, 0, 0, 0, 251, 252, 5, 57, 0, 0, 252, 253, 3, 118, 59, 0, 253, 255, 1, 0, 0, 0, 254, 240, 1, 0, 0, 0, 254, 247, 1, 0, 0, 0, 255, 13, 1, 0, 0, 0, 256, 259, 3, 68, 34, 0, 257, 258, 5, 39, 0, 0, 258, 260, 3, 30, 15, 0, 259, 257, 1, 0, 0, 0, 259, 260, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 262, 5, 40, 0, 0, 262, 263, 3, 78, 39, 0, 263, 15, 1, 0, 0, 0, 264, 270, 3, 18, 9, 0, 265, 266, 3, 18, 9, 0, 266, 267, 3, 120, 60, 0, 267, 268, 3, 18, 9, 0, 268, 270, 1, 0, 0, 0, 269, 264, 1, 0, 0, 0, 269, 265, 1, 0, 0, 0, 270, 17, 1, 0, 0, 0, 271, 272, 6, 9, -1, 0, 272, 276, 3, 20, 10, 0, 273, 274, 7, 0, 0, 0, 274, 276, 3, 18, 9, 3, 275, 271, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 276, 285, 1, 0, 0, 0, 277, 278, 10, 2, 0, 0, 278, 279, 7, 1, 0, 0, 279, 284, 3, 18, 9, 3, 280, 281, 10, 1, 0, 0, 281, 282, 7, 0, 0, 0, 282, 284, 3, 18, 9, 2, 283, 277, 1, 0, 0, 0, 283, 280, 1, 0, 0, 0, 284, 287, 1, 0, 0, 0, 285, 283, 1, 0, 0, 0, 285, 286, 1, 0, 0, 0, 286, 19, 1, 0, 0, 0, 287, 285, 1, 0, 0, 0, 288, 289, 6, 10, -1, 0, 289, 297, 3, 78, 39, 0, 290, 297, 3, 68, 34, 0, 291, 297, 3, 22, 11, 0, 292, 293, 5, 50, 0, 0, 293, 294, 3, 10, 5, 0, 294, 295, 5, 58, 0, 0, 295, 297, 1, 0, 0, 0, 296, 288, 1, 0, 0, 0, 296, 290, 1, 0, 0, 0, 296, 291, 1, 0, 0, 0, 296, 292, 1, 0, 0, 0, 297, 303, 1, 0, 0, 0, 298, 299, 10, 1, 0, 0, 299, 300, 5, 39, 0, 0, 300, 302, 3, 30, 15, 0, 301, 298, 1, 0, 0, 0, 302, 305, 1, 0, 0, 0, 303, 301, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 21, 1, 0, 0, 0, 305, 303, 1, 0, 0, 0, 306, 307, 3, 24, 12, 0, 307, 321, 5, 50, 0, 0, 308, 322, 5, 70, 0, 0, 309, 314, 3, 10, 5, 0, 310, 311, 5, 41, 0, 0, 311, 313, 3, 10, 5, 0, 312, 310, 1, 0, 0, 0, 313, 316, 1, 0, 0, 0, 314, 312, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 319, 1, 0, 0, 0, 316, 314, 1, 0, 0, 0, 317, 318, 5, 41, 0, 0, 318, 320, 3, 26, 13, 0, 319, 317, 1, 0, 0, 0, 319, 320, 1, 0, 0, 0, 320, 322, 1, 0, 0, 0, 321, 308, 1, 0, 0, 0, 321, 309, 1, 0, 0, 0, 321, 322, 1, 0, 0, 0, 322, 323, 1, 0, 0, 0, 323, 324, 5, 58, 0, 0, 324, 23, 1, 0, 0, 0, 325, 326, 3, 84, 42, 0, 326, 25, 1, 0, 0, 0, 327, 328, 5, 73, 0, 0, 328, 333, 3, 28, 14, 0, 329, 330, 5, 41, 0, 0, 330, 332, 3, 28, 14, 0, 331, 329, 1, 0, 0, 0, 332, 335, 1, 0, 0, 0, 333, 331, 1, 0, 0, 0, 333, 334, 1, 0, 0, 0, 334, 336, 1, 0, 0, 0, 335, 333, 1, 0, 0, 0, 336, 337, 5, 74, 0, 0, 337, 27, 1, 0, 0, 0, 338, 339, 3, 118, 59, 0, 339, 340, 5, 40, 0, 0, 340, 341, 3, 78, 39, 0, 341, 29, 1, 0, 0, 0, 342, 343, 3, 74, 37, 0, 343, 31, 1, 0, 0, 0, 344, 345, 5, 13, 0, 0, 345, 346, 3, 34, 17, 0, 346, 33, 1, 0, 0, 0, 347, 352, 3, 36, 18, 0, 348, 349, 5, 41, 0, 0, 349, 351, 3, 36, 18, 0, 350, 348, 1, 0, 0, 0, 351, 354, 1, 0, 0, 0, 352, 350, 1, 0, 0, 0, 352, 353, 1, 0, 0, 0, 353, 35, 1, 0, 0, 0, 354, 352, 1, 0, 0, 0, 355, 356, 3, 68, 34, 0, 356, 357, 5, 37, 0, 0, 357, 359, 1, 0, 0, 0, 358, 355, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 1, 0, 0, 0, 360, 361, 3, 10, 5, 0, 361, 37, 1, 0, 0, 0, 362, 367, 3, 40, 20, 0, 363, 364, 5, 41, 0, 0, 364, 366, 3, 40, 20, 0, 365, 363, 1, 0, 0, 0, 366, 369, 1, 0, 0, 0, 367, 365, 1, 0, 0, 0, 367, 368, 1, 0, 0, 0, 368, 39, 1, 0, 0, 0, 369, 367, 1, 0, 0, 0, 370, 373, 3, 68, 34, 0, 371, 372, 5, 37, 0, 0, 372, 374, 3, 10, 5, 0, 373, 371, 1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 41, 1, 0, 0, 0, 375, 376, 5, 7, 0, 0, 376, 381, 3, 44, 22, 0, 377, 378, 5, 41, 0, 0, 378, 380, 3, 44, 22, 0, 379, 377, 1, 0, 0, 0, 380, 383, 1, 0, 0, 0, 381, 379, 1, 0, 0, 0, 381, 382, 1, 0, 0, 0, 382, 385, 1, 0, 0, 0, 383, 381, 1, 0, 0, 0, 384, 386, 3, 52, 26, 0, 385, 384, 1, 0, 0, 0, 385, 386, 1, 0, 0, 0, 386, 43, 1, 0, 0, 0, 387, 388, 3, 46, 23, 0, 388, 389, 5, 40, 0, 0, 389, 391, 1, 0, 0, 0, 390, 387, 1, 0, 0, 0, 390, 391, 1, 0, 0, 0, 391, 392, 1, 0, 0, 0, 392, 399, 3, 50, 25, 0, 393, 396, 3, 50, 25, 0, 394, 395, 5, 39, 0, 0, 395, 397, 3, 48, 24, 0, 396, 394, 1, 0, 0, 0, 396, 397, 1, 0, 0, 0, 397, 399, 1, 0, 0, 0, 398, 390, 1, 0, 0, 0, 398, 393, 1, 0, 0, 0, 399, 45, 1, 0, 0, 0, 400, 401, 7, 2, 0, 0, 401, 47, 1, 0, 0, 0, 402, 403, 7, 2, 0, 0, 403, 49, 1, 0, 0, 0, 404, 405, 7, 2, 0, 0, 405, 51, 1, 0, 0, 0, 406, 409, 3, 54, 27, 0, 407, 409, 3, 56, 28, 0, 408, 406, 1, 0, 0, 0, 408, 407, 1, 0, 0, 0, 409, 53, 1, 0, 0, 0, 410, 411, 5, 88, 0, 0, 411, 416, 5, 89, 0, 0, 412, 413, 5, 41, 0, 0, 413, 415, 5, 89, 0, 0, 414, 412, 1, 0, 0, 0, 415, 418, 1, 0, 0, 0, 416, 414, 1, 0, 0, 0, 416, 417, 1, 0, 0, 0, 417, 55, 1, 0, 0, 0, 418, 416, 1, 0, 0, 0, 419, 420, 5, 78, 0, 0, 420, 421, 3, 54, 27, 0, 421, 422, 5, 79, 0, 0, 422, 57, 1, 0, 0, 0, 423, 424, 5, 22, 0, 0, 424, 429, 3, 44, 22, 0, 425, 426, 5, 41, 0, 0, 426, 428, 3, 44, 22, 0, 427, 425, 1, 0, 0, 0, 428, 431, 1, 0, 0, 0, 429, 427, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 433, 1, 0, 0, 0, 431, 429, 1, 0, 0, 0, 432, 434, 3, 64, 32, 0, 433, 432, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 437, 1, 0, 0, 0, 435, 436, 5, 38, 0, 0, 436, 438, 3, 34, 17, 0, 437, 435, 1, 0, 0, 0, 437, 438, 1, 0, 0, 0, 438, 59, 1, 0, 0, 0, 439, 440, 5, 5, 0, 0, 440, 441, 3, 34, 17, 0, 441, 61, 1, 0, 0, 0, 442, 444, 5, 16, 0, 0, 443, 445, 3, 64, 32, 0, 444, 443, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 448, 1, 0, 0, 0, 446, 447, 5, 38, 0, 0, 447, 449, 3, 34, 17, 0, 448, 446, 1, 0, 0, 0, 448, 449, 1, 0, 0, 0, 449, 63, 1, 0, 0, 0, 450, 455, 3, 66, 33, 0, 451, 452, 5, 41, 0, 0, 452, 454, 3, 66, 33, 0, 453, 451, 1, 0, 0, 0, 454, 457, 1, 0, 0, 0, 455, 453, 1, 0, 0, 0, 455, 456, 1, 0, 0, 0, 456, 65, 1, 0, 0, 0, 457, 455, 1, 0, 0, 0, 458, 461, 3, 36, 18, 0, 459, 460, 5, 17, 0, 0, 460, 462, 3, 10, 5, 0, 461, 459, 1, 0, 0, 0, 461, 462, 1, 0, 0, 0, 462, 67, 1, 0, 0, 0, 463, 468, 3, 84, 42, 0, 464, 465, 5, 43, 0, 0, 465, 467, 3, 84, 42, 0, 466, 464, 1, 0, 0, 0, 467, 470, 1, 0, 0, 0, 468, 466, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 69, 1, 0, 0, 0, 470, 468, 1, 0, 0, 0, 471, 476, 3, 76, 38, 0, 472, 473, 5, 43, 0, 0, 473, 475, 3, 76, 38, 0, 474, 472, 1, 0, 0, 0, 475, 478, 1, 0, 0, 0, 476, 474, 1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 71, 1, 0, 0, 0, 478, 476, 1, 0, 0, 0, 479, 484, 3, 70, 35, 0, 480, 481, 5, 41, 0, 0, 481, 483, 3, 70, 35, 0, 482, 480, 1, 0, 0, 0, 483, 486, 1, 0, 0, 0, 484, 482, 1, 0, 0, 0, 484, 485, 1, 0, 0, 0, 485, 73, 1, 0, 0, 0, 486, 484, 1, 0, 0, 0, 487, 488, 7, 3, 0, 0, 488, 75, 1, 0, 0, 0, 489, 493, 5, 93, 0, 0, 490, 493, 3, 80, 40, 0, 491, 493, 3, 82, 41, 0, 492, 489, 1, 0, 0, 0, 492, 490, 1, 0, 0, 0, 492, 491, 1, 0, 0, 0, 493, 77, 1, 0, 0, 0, 494, 537, 5, 52, 0, 0, 495, 496, 3, 116, 58, 0, 496, 497, 5, 80, 0, 0, 497, 537, 1, 0, 0, 0, 498, 537, 3, 114, 57, 0, 499, 537, 3, 116, 58, 0, 500, 537, 3, 110, 55, 0, 501, 537, 3, 80, 40, 0, 502, 537, 3, 118, 59, 0, 503, 504, 5, 78, 0, 0, 504, 509, 3, 112, 56, 0, 505, 506, 5, 41, 0, 0, 506, 508, 3, 112, 56, 0, 507, 505, 1, 0, 0, 0, 508, 511, 1, 0, 0, 0, 509, 507, 1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 512, 1, 0, 0, 0, 511, 509, 1, 0, 0, 0, 512, 513, 5, 79, 0, 0, 513, 537, 1, 0, 0, 0, 514, 515, 5, 78, 0, 0, 515, 520, 3, 110, 55, 0, 516, 517, 5, 41, 0, 0, 517, 519, 3, 110, 55, 0, 518, 516, 1, 0, 0, 0, 519, 522, 1, 0, 0, 0, 520, 518, 1, 0, 0, 0, 520, 521, 1, 0, 0, 0, 521, 523, 1, 0, 0, 0, 522, 520, 1, 0, 0, 0, 523, 524, 5, 79, 0, 0, 524, 537, 1, 0, 0, 0, 525, 526, 5, 78, 0, 0, 526, 531, 3, 118, 59, 0, 527, 528, 5, 41, 0, 0, 528, 530, 3, 118, 59, 0, 529, 527, 1, 0, 0, 0, 530, 533, 1, 0, 0, 0, 531, 529, 1, 0, 0, 0, 531, 532, 1, 0, 0, 0, 532, 534, 1, 0, 0, 0, 533, 531, 1, 0, 0, 0, 534, 535, 5, 79, 0, 0, 535, 537, 1, 0, 0, 0, 536, 494, 1, 0, 0, 0, 536, 495, 1, 0, 0, 0, 536, 498, 1, 0, 0, 0, 536, 499, 1, 0, 0, 0, 536, 500, 1, 0, 0, 0, 536, 501, 1, 0, 0, 0, 536, 502, 1, 0, 0, 0, 536, 503, 1, 0, 0, 0, 536, 514, 1, 0, 0, 0, 536, 525, 1, 0, 0, 0, 537, 79, 1, 0, 0, 0, 538, 541, 5, 56, 0, 0, 539, 541, 5, 76, 0, 0, 540, 538, 1, 0, 0, 0, 540, 539, 1, 0, 0, 0, 541, 81, 1, 0, 0, 0, 542, 545, 5, 75, 0, 0, 543, 545, 5, 77, 0, 0, 544, 542, 1, 0, 0, 0, 544, 543, 1, 0, 0, 0, 545, 83, 1, 0, 0, 0, 546, 550, 3, 74, 37, 0, 547, 550, 3, 80, 40, 0, 548, 550, 3, 82, 41, 0, 549, 546, 1, 0, 0, 0, 549, 547, 1, 0, 0, 0, 549, 548, 1, 0, 0, 0, 550, 85, 1, 0, 0, 0, 551, 552, 5, 10, 0, 0, 552, 553, 3, 78, 39, 0, 553, 87, 1, 0, 0, 0, 554, 555, 5, 15, 0, 0, 555, 560, 3, 90, 45, 0, 556, 557, 5, 41, 0, 0, 557, 559, 3, 90, 45, 0, 558, 556, 1, 0, 0, 0, 559, 562, 1, 0, 0, 0, 560, 558, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, 561, 89, 1, 0, 0, 0, 562, 560, 1, 0, 0, 0, 563, 565, 3, 10, 5, 0, 564, 566, 7, 4, 0, 0, 565, 564, 1, 0, 0, 0, 565, 566, 1, 0, 0, 0, 566, 569, 1, 0, 0, 0, 567, 568, 5, 53, 0, 0, 568, 570, 7, 5, 0, 0, 569, 567, 1, 0, 0, 0, 569, 570, 1, 0, 0, 0, 570, 91, 1, 0, 0, 0, 571, 572, 5, 9, 0, 0, 572, 573, 3, 72, 36, 0, 573, 93, 1, 0, 0, 0, 574, 575, 5, 3, 0, 0, 575, 576, 3, 72, 36, 0, 576, 95, 1, 0, 0, 0, 577, 578, 5, 12, 0, 0, 578, 583, 3, 98, 49, 0, 579, 580, 5, 41, 0, 0, 580, 582, 3, 98, 49, 0, 581, 579, 1, 0, 0, 0, 582, 585, 1, 0, 0, 0, 583, 581, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, 584, 97, 1, 0, 0, 0, 585, 583, 1, 0, 0, 0, 586, 587, 3, 70, 35, 0, 587, 588, 5, 97, 0, 0, 588, 589, 3, 70, 35, 0, 589, 595, 1, 0, 0, 0, 590, 591, 3, 70, 35, 0, 591, 592, 5, 37, 0, 0, 592, 593, 3, 70, 35, 0, 593, 595, 1, 0, 0, 0, 594, 586, 1, 0, 0, 0, 594, 590, 1, 0, 0, 0, 595, 99, 1, 0, 0, 0, 596, 597, 5, 2, 0, 0, 597, 598, 3, 20, 10, 0, 598, 600, 3, 118, 59, 0, 599, 601, 3, 106, 53, 0, 600, 599, 1, 0, 0, 0, 600, 601, 1, 0, 0, 0, 601, 101, 1, 0, 0, 0, 602, 603, 5, 8, 0, 0, 603, 604, 3, 20, 10, 0, 604, 605, 3, 118, 59, 0, 605, 103, 1, 0, 0, 0, 606, 607, 5, 11, 0, 0, 607, 608, 3, 68, 34, 0, 608, 105, 1, 0, 0, 0, 609, 614, 3, 108, 54, 0, 610, 611, 5, 41, 0, 0, 611, 613, 3, 108, 54, 0, 612, 610, 1, 0, 0, 0, 613, 616, 1, 0, 0, 0, 614, 612, 1, 0, 0, 0, 614, 615, 1, 0, 0, 0, 615, 107, 1, 0, 0, 0, 616, 614, 1, 0, 0, 0, 617, 618, 3, 74, 37, 0, 618, 619, 5, 37, 0, 0, 619, 620, 3, 78, 39, 0, 620, 109, 1, 0, 0, 0, 621, 622, 7, 6, 0, 0, 622, 111, 1, 0, 0, 0, 623, 626, 3, 114, 57, 0, 624, 626, 3, 116, 58, 0, 625, 623, 1, 0, 0, 0, 625, 624, 1, 0, 0, 0, 626, 113, 1, 0, 0, 0, 627, 629, 7, 0, 0, 0, 628, 627, 1, 0, 0, 0, 628, 629, 1, 0, 0, 0, 629, 630, 1, 0, 0, 0, 630, 631, 5, 34, 0, 0, 631, 115, 1, 0, 0, 0, 632, 634, 7, 0, 0, 0, 633, 632, 1, 0, 0, 0, 633, 634, 1, 0, 0, 0, 634, 635, 1, 0, 0, 0, 635, 636, 5, 33, 0, 0, 636, 117, 1, 0, 0, 0, 637, 638, 5, 32, 0, 0, 638, 119, 1, 0, 0, 0, 639, 640, 7, 7, 0, 0, 640, 121, 1, 0, 0, 0, 641, 642, 5, 6, 0, 0, 642, 643, 3, 124, 62, 0, 643, 123, 1, 0, 0, 0, 644, 645, 5, 78, 0, 0, 645, 646, 3, 2, 1, 0, 646, 647, 5, 79, 0, 0, 647, 125, 1, 0, 0, 0, 648, 649, 5, 14, 0, 0, 649, 650, 5, 111, 0, 0, 650, 127, 1, 0, 0, 0, 651, 652, 5, 4, 0, 0, 652, 655, 5, 101, 0, 0, 653, 654, 5, 54, 0, 0, 654, 656, 3, 70, 35, 0, 655, 653, 1, 0, 0, 0, 655, 656, 1, 0, 0, 0, 656, 666, 1, 0, 0, 0, 657, 658, 5, 60, 0, 0, 658, 663, 3, 130, 65, 0, 659, 660, 5, 41, 0, 0, 660, 662, 3, 130, 65, 0, 661, 659, 1, 0, 0, 0, 662, 665, 1, 0, 0, 0, 663, 661, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 667, 1, 0, 0, 0, 665, 663, 1, 0, 0, 0, 666, 657, 1, 0, 0, 0, 666, 667, 1, 0, 0, 0, 667, 129, 1, 0, 0, 0, 668, 669, 3, 70, 35, 0, 669, 670, 5, 37, 0, 0, 670, 672, 1, 0, 0, 0, 671, 668, 1, 0, 0, 0, 671, 672, 1, 0, 0, 0, 672, 673, 1, 0, 0, 0, 673, 674, 3, 70, 35, 0, 674, 131, 1, 0, 0, 0, 675, 676, 5, 19, 0, 0, 676, 679, 3, 68, 34, 0, 677, 678, 5, 54, 0, 0, 678, 680, 3, 68, 34, 0, 679, 677, 1, 0, 0, 0, 679, 680, 1, 0, 0, 0, 680, 686, 1, 0, 0, 0, 681, 682, 5, 97, 0, 0, 682, 683, 3, 68, 34, 0, 683, 684, 5, 41, 0, 0, 684, 685, 3, 68, 34, 0, 685, 687, 1, 0, 0, 0, 686, 681, 1, 0, 0, 0, 686, 687, 1, 0, 0, 0, 687, 133, 1, 0, 0, 0, 688, 689, 5, 21, 0, 0, 689, 690, 3, 44, 22, 0, 690, 691, 5, 54, 0, 0, 691, 692, 3, 72, 36, 0, 692, 135, 1, 0, 0, 0, 693, 694, 5, 20, 0, 0, 694, 697, 3, 64, 32, 0, 695, 696, 5, 38, 0, 0, 696, 698, 3, 34, 17, 0, 697, 695, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 137, 1, 0, 0, 0, 699, 700, 7, 8, 0, 0, 700, 701, 5, 125, 0, 0, 701, 702, 3, 140, 70, 0, 702, 703, 3, 142, 71, 0, 703, 139, 1, 0, 0, 0, 704, 705, 3, 44, 22, 0, 705, 141, 1, 0, 0, 0, 706, 707, 5, 54, 0, 0, 707, 712, 3, 144, 72, 0, 708, 709, 5, 41, 0, 0, 709, 711, 3, 144, 72, 0, 710, 708, 1, 0, 0, 0, 711, 714, 1, 0, 0, 0, 712, 710, 1, 0, 0, 0, 712, 713, 1, 0, 0, 0, 713, 143, 1, 0, 0, 0, 714, 712, 1, 0, 0, 0, 715, 716, 3, 16, 8, 0, 716, 145, 1, 0, 0, 0, 717, 718, 5, 23, 0, 0, 718, 719, 3, 78, 39, 0, 719, 720, 5, 54, 0, 0, 720, 723, 3, 38, 19, 0, 721, 722, 5, 60, 0, 0, 722, 724, 3, 84, 42, 0, 723, 721, 1, 0, 0, 0, 723, 724, 1, 0, 0, 0, 724, 147, 1, 0, 0, 0, 725, 729, 5, 1, 0, 0, 726, 727, 3, 68, 34, 0, 727, 728, 5, 37, 0, 0, 728, 730, 1, 0, 0, 0, 729, 726, 1, 0, 0, 0, 729, 730, 1, 0, 0, 0, 730, 731, 1, 0, 0, 0, 731, 732, 3, 20, 10, 0, 732, 733, 5, 60, 0, 0, 733, 734, 3, 84, 42, 0, 734, 149, 1, 0, 0, 0, 72, 161, 170, 193, 205, 214, 222, 227, 235, 237, 242, 249, 254, 259, 269, 275, 283, 285, 296, 303, 314, 319, 321, 333, 352, 358, 367, 373, 381, 385, 390, 396, 398, 408, 416, 429, 433, 437, 444, 448, 455, 461, 468, 476, 484, 492, 509, 520, 531, 536, 540, 544, 549, 560, 565, 569, 583, 594, 600, 614, 625, 628, 633, 655, 663, 666, 671, 679, 686, 697, 712, 723, 729] \ 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 6161c315fd8da..837b8f8f3e820 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 @@ -25,119 +25,122 @@ public class EsqlBaseParser extends ParserConfig { protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache(); public static final int - DISSECT=1, DROP=2, ENRICH=3, EVAL=4, EXPLAIN=5, FROM=6, GROK=7, KEEP=8, - LIMIT=9, MV_EXPAND=10, RENAME=11, ROW=12, SHOW=13, SORT=14, STATS=15, - WHERE=16, JOIN_LOOKUP=17, CHANGE_POINT=18, DEV_INLINESTATS=19, DEV_LOOKUP=20, - DEV_METRICS=21, DEV_JOIN_FULL=22, DEV_JOIN_LEFT=23, DEV_JOIN_RIGHT=24, - UNKNOWN_CMD=25, LINE_COMMENT=26, MULTILINE_COMMENT=27, WS=28, PIPE=29, - QUOTED_STRING=30, INTEGER_LITERAL=31, DECIMAL_LITERAL=32, BY=33, AND=34, - ASC=35, ASSIGN=36, CAST_OP=37, COLON=38, COMMA=39, DESC=40, DOT=41, FALSE=42, - FIRST=43, IN=44, IS=45, LAST=46, LIKE=47, LP=48, NOT=49, NULL=50, NULLS=51, - OR=52, PARAM=53, RLIKE=54, RP=55, TRUE=56, EQ=57, CIEQ=58, NEQ=59, LT=60, - LTE=61, GT=62, GTE=63, PLUS=64, MINUS=65, ASTERISK=66, SLASH=67, PERCENT=68, - LEFT_BRACES=69, RIGHT_BRACES=70, DOUBLE_PARAMS=71, NAMED_OR_POSITIONAL_PARAM=72, - NAMED_OR_POSITIONAL_DOUBLE_PARAMS=73, OPENING_BRACKET=74, CLOSING_BRACKET=75, - UNQUOTED_IDENTIFIER=76, QUOTED_IDENTIFIER=77, EXPR_LINE_COMMENT=78, EXPR_MULTILINE_COMMENT=79, - EXPR_WS=80, EXPLAIN_WS=81, EXPLAIN_LINE_COMMENT=82, EXPLAIN_MULTILINE_COMMENT=83, - METADATA=84, UNQUOTED_SOURCE=85, FROM_LINE_COMMENT=86, FROM_MULTILINE_COMMENT=87, - FROM_WS=88, ID_PATTERN=89, PROJECT_LINE_COMMENT=90, PROJECT_MULTILINE_COMMENT=91, - PROJECT_WS=92, AS=93, RENAME_LINE_COMMENT=94, RENAME_MULTILINE_COMMENT=95, - RENAME_WS=96, ON=97, WITH=98, ENRICH_POLICY_NAME=99, ENRICH_LINE_COMMENT=100, - ENRICH_MULTILINE_COMMENT=101, ENRICH_WS=102, ENRICH_FIELD_LINE_COMMENT=103, - ENRICH_FIELD_MULTILINE_COMMENT=104, ENRICH_FIELD_WS=105, MVEXPAND_LINE_COMMENT=106, - MVEXPAND_MULTILINE_COMMENT=107, MVEXPAND_WS=108, INFO=109, SHOW_LINE_COMMENT=110, - SHOW_MULTILINE_COMMENT=111, SHOW_WS=112, SETTING=113, SETTING_LINE_COMMENT=114, - SETTTING_MULTILINE_COMMENT=115, SETTING_WS=116, LOOKUP_LINE_COMMENT=117, - LOOKUP_MULTILINE_COMMENT=118, LOOKUP_WS=119, LOOKUP_FIELD_LINE_COMMENT=120, - LOOKUP_FIELD_MULTILINE_COMMENT=121, LOOKUP_FIELD_WS=122, JOIN=123, USING=124, - JOIN_LINE_COMMENT=125, JOIN_MULTILINE_COMMENT=126, JOIN_WS=127, METRICS_LINE_COMMENT=128, - METRICS_MULTILINE_COMMENT=129, METRICS_WS=130, CLOSING_METRICS_LINE_COMMENT=131, - CLOSING_METRICS_MULTILINE_COMMENT=132, CLOSING_METRICS_WS=133, CHANGE_POINT_LINE_COMMENT=134, - CHANGE_POINT_MULTILINE_COMMENT=135, CHANGE_POINT_WS=136; + COMPLETION=1, DISSECT=2, DROP=3, ENRICH=4, EVAL=5, EXPLAIN=6, FROM=7, + GROK=8, KEEP=9, LIMIT=10, MV_EXPAND=11, RENAME=12, ROW=13, SHOW=14, SORT=15, + STATS=16, WHERE=17, JOIN_LOOKUP=18, CHANGE_POINT=19, DEV_INLINESTATS=20, + DEV_LOOKUP=21, DEV_METRICS=22, DEV_RERANK=23, DEV_JOIN_FULL=24, DEV_JOIN_LEFT=25, + DEV_JOIN_RIGHT=26, UNKNOWN_CMD=27, LINE_COMMENT=28, MULTILINE_COMMENT=29, + WS=30, PIPE=31, QUOTED_STRING=32, INTEGER_LITERAL=33, DECIMAL_LITERAL=34, + AND=35, ASC=36, ASSIGN=37, BY=38, CAST_OP=39, COLON=40, COMMA=41, DESC=42, + DOT=43, FALSE=44, FIRST=45, IN=46, IS=47, LAST=48, LIKE=49, LP=50, NOT=51, + NULL=52, NULLS=53, ON=54, OR=55, PARAM=56, RLIKE=57, RP=58, TRUE=59, WITH=60, + EQ=61, CIEQ=62, NEQ=63, LT=64, LTE=65, GT=66, GTE=67, PLUS=68, MINUS=69, + ASTERISK=70, SLASH=71, PERCENT=72, LEFT_BRACES=73, RIGHT_BRACES=74, DOUBLE_PARAMS=75, + NAMED_OR_POSITIONAL_PARAM=76, NAMED_OR_POSITIONAL_DOUBLE_PARAMS=77, OPENING_BRACKET=78, + CLOSING_BRACKET=79, UNQUOTED_IDENTIFIER=80, QUOTED_IDENTIFIER=81, EXPR_LINE_COMMENT=82, + EXPR_MULTILINE_COMMENT=83, EXPR_WS=84, EXPLAIN_WS=85, EXPLAIN_LINE_COMMENT=86, + EXPLAIN_MULTILINE_COMMENT=87, METADATA=88, UNQUOTED_SOURCE=89, FROM_LINE_COMMENT=90, + FROM_MULTILINE_COMMENT=91, FROM_WS=92, ID_PATTERN=93, PROJECT_LINE_COMMENT=94, + PROJECT_MULTILINE_COMMENT=95, PROJECT_WS=96, AS=97, RENAME_LINE_COMMENT=98, + RENAME_MULTILINE_COMMENT=99, RENAME_WS=100, ENRICH_POLICY_NAME=101, ENRICH_LINE_COMMENT=102, + ENRICH_MULTILINE_COMMENT=103, ENRICH_WS=104, ENRICH_FIELD_LINE_COMMENT=105, + ENRICH_FIELD_MULTILINE_COMMENT=106, ENRICH_FIELD_WS=107, MVEXPAND_LINE_COMMENT=108, + MVEXPAND_MULTILINE_COMMENT=109, MVEXPAND_WS=110, INFO=111, SHOW_LINE_COMMENT=112, + SHOW_MULTILINE_COMMENT=113, SHOW_WS=114, SETTING=115, SETTING_LINE_COMMENT=116, + SETTTING_MULTILINE_COMMENT=117, SETTING_WS=118, LOOKUP_LINE_COMMENT=119, + LOOKUP_MULTILINE_COMMENT=120, LOOKUP_WS=121, LOOKUP_FIELD_LINE_COMMENT=122, + LOOKUP_FIELD_MULTILINE_COMMENT=123, LOOKUP_FIELD_WS=124, JOIN=125, USING=126, + JOIN_LINE_COMMENT=127, JOIN_MULTILINE_COMMENT=128, JOIN_WS=129, METRICS_LINE_COMMENT=130, + METRICS_MULTILINE_COMMENT=131, METRICS_WS=132, CLOSING_METRICS_LINE_COMMENT=133, + CLOSING_METRICS_MULTILINE_COMMENT=134, CLOSING_METRICS_WS=135, CHANGE_POINT_LINE_COMMENT=136, + CHANGE_POINT_MULTILINE_COMMENT=137, CHANGE_POINT_WS=138; public static final int RULE_singleStatement = 0, RULE_query = 1, RULE_sourceCommand = 2, RULE_processingCommand = 3, RULE_whereCommand = 4, RULE_booleanExpression = 5, RULE_regexBooleanExpression = 6, RULE_matchBooleanExpression = 7, RULE_valueExpression = 8, RULE_operatorExpression = 9, RULE_primaryExpression = 10, RULE_functionExpression = 11, RULE_functionName = 12, RULE_mapExpression = 13, RULE_entryExpression = 14, RULE_dataType = 15, - RULE_rowCommand = 16, RULE_fields = 17, RULE_field = 18, RULE_fromCommand = 19, - RULE_indexPattern = 20, RULE_clusterString = 21, RULE_selectorString = 22, - RULE_indexString = 23, RULE_metadata = 24, RULE_metadataOption = 25, RULE_deprecated_metadata = 26, - RULE_metricsCommand = 27, RULE_evalCommand = 28, RULE_statsCommand = 29, - RULE_aggFields = 30, RULE_aggField = 31, RULE_qualifiedName = 32, RULE_qualifiedNamePattern = 33, - RULE_qualifiedNamePatterns = 34, RULE_identifier = 35, RULE_identifierPattern = 36, - RULE_constant = 37, RULE_parameter = 38, RULE_doubleParameter = 39, RULE_identifierOrParameter = 40, - RULE_limitCommand = 41, RULE_sortCommand = 42, RULE_orderExpression = 43, - RULE_keepCommand = 44, RULE_dropCommand = 45, RULE_renameCommand = 46, - RULE_renameClause = 47, RULE_dissectCommand = 48, RULE_grokCommand = 49, - RULE_mvExpandCommand = 50, RULE_commandOptions = 51, RULE_commandOption = 52, - RULE_booleanValue = 53, RULE_numericValue = 54, RULE_decimalValue = 55, - RULE_integerValue = 56, RULE_string = 57, RULE_comparisonOperator = 58, - RULE_explainCommand = 59, RULE_subqueryExpression = 60, RULE_showCommand = 61, - RULE_enrichCommand = 62, RULE_enrichWithClause = 63, RULE_changePointCommand = 64, - RULE_lookupCommand = 65, RULE_inlinestatsCommand = 66, RULE_joinCommand = 67, - RULE_joinTarget = 68, RULE_joinCondition = 69, RULE_joinPredicate = 70; + RULE_rowCommand = 16, RULE_fields = 17, RULE_field = 18, RULE_rerankFields = 19, + RULE_rerankField = 20, RULE_fromCommand = 21, RULE_indexPattern = 22, + RULE_clusterString = 23, RULE_selectorString = 24, RULE_indexString = 25, + RULE_metadata = 26, RULE_metadataOption = 27, RULE_deprecated_metadata = 28, + RULE_metricsCommand = 29, RULE_evalCommand = 30, RULE_statsCommand = 31, + RULE_aggFields = 32, RULE_aggField = 33, RULE_qualifiedName = 34, RULE_qualifiedNamePattern = 35, + RULE_qualifiedNamePatterns = 36, RULE_identifier = 37, RULE_identifierPattern = 38, + RULE_constant = 39, RULE_parameter = 40, RULE_doubleParameter = 41, RULE_identifierOrParameter = 42, + RULE_limitCommand = 43, RULE_sortCommand = 44, RULE_orderExpression = 45, + RULE_keepCommand = 46, RULE_dropCommand = 47, RULE_renameCommand = 48, + RULE_renameClause = 49, RULE_dissectCommand = 50, RULE_grokCommand = 51, + RULE_mvExpandCommand = 52, RULE_commandOptions = 53, RULE_commandOption = 54, + RULE_booleanValue = 55, RULE_numericValue = 56, RULE_decimalValue = 57, + RULE_integerValue = 58, RULE_string = 59, RULE_comparisonOperator = 60, + RULE_explainCommand = 61, RULE_subqueryExpression = 62, RULE_showCommand = 63, + RULE_enrichCommand = 64, RULE_enrichWithClause = 65, RULE_changePointCommand = 66, + RULE_lookupCommand = 67, RULE_inlinestatsCommand = 68, RULE_joinCommand = 69, + RULE_joinTarget = 70, RULE_joinCondition = 71, RULE_joinPredicate = 72, + RULE_rerankCommand = 73, RULE_completionCommand = 74; private static String[] makeRuleNames() { return new String[] { "singleStatement", "query", "sourceCommand", "processingCommand", "whereCommand", "booleanExpression", "regexBooleanExpression", "matchBooleanExpression", "valueExpression", "operatorExpression", "primaryExpression", "functionExpression", "functionName", "mapExpression", "entryExpression", "dataType", "rowCommand", - "fields", "field", "fromCommand", "indexPattern", "clusterString", "selectorString", - "indexString", "metadata", "metadataOption", "deprecated_metadata", "metricsCommand", - "evalCommand", "statsCommand", "aggFields", "aggField", "qualifiedName", - "qualifiedNamePattern", "qualifiedNamePatterns", "identifier", "identifierPattern", - "constant", "parameter", "doubleParameter", "identifierOrParameter", - "limitCommand", "sortCommand", "orderExpression", "keepCommand", "dropCommand", - "renameCommand", "renameClause", "dissectCommand", "grokCommand", "mvExpandCommand", - "commandOptions", "commandOption", "booleanValue", "numericValue", "decimalValue", - "integerValue", "string", "comparisonOperator", "explainCommand", "subqueryExpression", - "showCommand", "enrichCommand", "enrichWithClause", "changePointCommand", - "lookupCommand", "inlinestatsCommand", "joinCommand", "joinTarget", "joinCondition", - "joinPredicate" + "fields", "field", "rerankFields", "rerankField", "fromCommand", "indexPattern", + "clusterString", "selectorString", "indexString", "metadata", "metadataOption", + "deprecated_metadata", "metricsCommand", "evalCommand", "statsCommand", + "aggFields", "aggField", "qualifiedName", "qualifiedNamePattern", "qualifiedNamePatterns", + "identifier", "identifierPattern", "constant", "parameter", "doubleParameter", + "identifierOrParameter", "limitCommand", "sortCommand", "orderExpression", + "keepCommand", "dropCommand", "renameCommand", "renameClause", "dissectCommand", + "grokCommand", "mvExpandCommand", "commandOptions", "commandOption", + "booleanValue", "numericValue", "decimalValue", "integerValue", "string", + "comparisonOperator", "explainCommand", "subqueryExpression", "showCommand", + "enrichCommand", "enrichWithClause", "changePointCommand", "lookupCommand", + "inlinestatsCommand", "joinCommand", "joinTarget", "joinCondition", "joinPredicate", + "rerankCommand", "completionCommand" }; } public static final String[] ruleNames = makeRuleNames(); private static String[] makeLiteralNames() { return new String[] { - null, "'dissect'", "'drop'", "'enrich'", "'eval'", "'explain'", "'from'", - "'grok'", "'keep'", "'limit'", "'mv_expand'", "'rename'", "'row'", "'show'", - "'sort'", "'stats'", "'where'", "'lookup'", "'change_point'", null, null, - null, null, null, null, null, null, null, null, "'|'", null, null, null, - "'by'", "'and'", "'asc'", "'='", "'::'", "':'", "','", "'desc'", "'.'", - "'false'", "'first'", "'in'", "'is'", "'last'", "'like'", "'('", "'not'", - "'null'", "'nulls'", "'or'", "'?'", "'rlike'", "')'", "'true'", "'=='", - "'=~'", "'!='", "'<'", "'<='", "'>'", "'>='", "'+'", "'-'", "'*'", "'/'", - "'%'", "'{'", "'}'", "'??'", null, null, null, "']'", null, null, null, - null, null, null, null, null, "'metadata'", null, null, null, null, null, - null, null, null, "'as'", null, null, null, "'on'", "'with'", null, null, - null, null, null, null, null, null, null, null, "'info'", null, null, - null, null, null, null, null, null, null, null, null, null, null, "'join'", - "'USING'" + null, "'completion'", "'dissect'", "'drop'", "'enrich'", "'eval'", "'explain'", + "'from'", "'grok'", "'keep'", "'limit'", "'mv_expand'", "'rename'", "'row'", + "'show'", "'sort'", "'stats'", "'where'", "'lookup'", "'change_point'", + null, null, null, null, null, null, null, null, null, null, null, "'|'", + null, null, null, "'and'", "'asc'", "'='", "'by'", "'::'", "':'", "','", + "'desc'", "'.'", "'false'", "'first'", "'in'", "'is'", "'last'", "'like'", + "'('", "'not'", "'null'", "'nulls'", "'on'", "'or'", "'?'", "'rlike'", + "')'", "'true'", "'with'", "'=='", "'=~'", "'!='", "'<'", "'<='", "'>'", + "'>='", "'+'", "'-'", "'*'", "'/'", "'%'", "'{'", "'}'", "'??'", null, + null, null, "']'", null, null, null, null, null, null, null, null, "'metadata'", + null, null, null, null, null, null, null, null, "'as'", null, null, null, + null, null, null, null, null, null, null, null, null, null, "'info'", + null, null, null, null, null, null, null, null, null, null, null, null, + null, "'join'", "'USING'" }; } private static final String[] _LITERAL_NAMES = makeLiteralNames(); private static String[] makeSymbolicNames() { return new String[] { - null, "DISSECT", "DROP", "ENRICH", "EVAL", "EXPLAIN", "FROM", "GROK", - "KEEP", "LIMIT", "MV_EXPAND", "RENAME", "ROW", "SHOW", "SORT", "STATS", - "WHERE", "JOIN_LOOKUP", "CHANGE_POINT", "DEV_INLINESTATS", "DEV_LOOKUP", - "DEV_METRICS", "DEV_JOIN_FULL", "DEV_JOIN_LEFT", "DEV_JOIN_RIGHT", "UNKNOWN_CMD", - "LINE_COMMENT", "MULTILINE_COMMENT", "WS", "PIPE", "QUOTED_STRING", "INTEGER_LITERAL", - "DECIMAL_LITERAL", "BY", "AND", "ASC", "ASSIGN", "CAST_OP", "COLON", - "COMMA", "DESC", "DOT", "FALSE", "FIRST", "IN", "IS", "LAST", "LIKE", - "LP", "NOT", "NULL", "NULLS", "OR", "PARAM", "RLIKE", "RP", "TRUE", "EQ", - "CIEQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", "ASTERISK", - "SLASH", "PERCENT", "LEFT_BRACES", "RIGHT_BRACES", "DOUBLE_PARAMS", "NAMED_OR_POSITIONAL_PARAM", - "NAMED_OR_POSITIONAL_DOUBLE_PARAMS", "OPENING_BRACKET", "CLOSING_BRACKET", - "UNQUOTED_IDENTIFIER", "QUOTED_IDENTIFIER", "EXPR_LINE_COMMENT", "EXPR_MULTILINE_COMMENT", - "EXPR_WS", "EXPLAIN_WS", "EXPLAIN_LINE_COMMENT", "EXPLAIN_MULTILINE_COMMENT", - "METADATA", "UNQUOTED_SOURCE", "FROM_LINE_COMMENT", "FROM_MULTILINE_COMMENT", - "FROM_WS", "ID_PATTERN", "PROJECT_LINE_COMMENT", "PROJECT_MULTILINE_COMMENT", - "PROJECT_WS", "AS", "RENAME_LINE_COMMENT", "RENAME_MULTILINE_COMMENT", - "RENAME_WS", "ON", "WITH", "ENRICH_POLICY_NAME", "ENRICH_LINE_COMMENT", - "ENRICH_MULTILINE_COMMENT", "ENRICH_WS", "ENRICH_FIELD_LINE_COMMENT", + null, "COMPLETION", "DISSECT", "DROP", "ENRICH", "EVAL", "EXPLAIN", "FROM", + "GROK", "KEEP", "LIMIT", "MV_EXPAND", "RENAME", "ROW", "SHOW", "SORT", + "STATS", "WHERE", "JOIN_LOOKUP", "CHANGE_POINT", "DEV_INLINESTATS", "DEV_LOOKUP", + "DEV_METRICS", "DEV_RERANK", "DEV_JOIN_FULL", "DEV_JOIN_LEFT", "DEV_JOIN_RIGHT", + "UNKNOWN_CMD", "LINE_COMMENT", "MULTILINE_COMMENT", "WS", "PIPE", "QUOTED_STRING", + "INTEGER_LITERAL", "DECIMAL_LITERAL", "AND", "ASC", "ASSIGN", "BY", "CAST_OP", + "COLON", "COMMA", "DESC", "DOT", "FALSE", "FIRST", "IN", "IS", "LAST", + "LIKE", "LP", "NOT", "NULL", "NULLS", "ON", "OR", "PARAM", "RLIKE", "RP", + "TRUE", "WITH", "EQ", "CIEQ", "NEQ", "LT", "LTE", "GT", "GTE", "PLUS", + "MINUS", "ASTERISK", "SLASH", "PERCENT", "LEFT_BRACES", "RIGHT_BRACES", + "DOUBLE_PARAMS", "NAMED_OR_POSITIONAL_PARAM", "NAMED_OR_POSITIONAL_DOUBLE_PARAMS", + "OPENING_BRACKET", "CLOSING_BRACKET", "UNQUOTED_IDENTIFIER", "QUOTED_IDENTIFIER", + "EXPR_LINE_COMMENT", "EXPR_MULTILINE_COMMENT", "EXPR_WS", "EXPLAIN_WS", + "EXPLAIN_LINE_COMMENT", "EXPLAIN_MULTILINE_COMMENT", "METADATA", "UNQUOTED_SOURCE", + "FROM_LINE_COMMENT", "FROM_MULTILINE_COMMENT", "FROM_WS", "ID_PATTERN", + "PROJECT_LINE_COMMENT", "PROJECT_MULTILINE_COMMENT", "PROJECT_WS", "AS", + "RENAME_LINE_COMMENT", "RENAME_MULTILINE_COMMENT", "RENAME_WS", "ENRICH_POLICY_NAME", + "ENRICH_LINE_COMMENT", "ENRICH_MULTILINE_COMMENT", "ENRICH_WS", "ENRICH_FIELD_LINE_COMMENT", "ENRICH_FIELD_MULTILINE_COMMENT", "ENRICH_FIELD_WS", "MVEXPAND_LINE_COMMENT", "MVEXPAND_MULTILINE_COMMENT", "MVEXPAND_WS", "INFO", "SHOW_LINE_COMMENT", "SHOW_MULTILINE_COMMENT", "SHOW_WS", "SETTING", "SETTING_LINE_COMMENT", @@ -234,9 +237,9 @@ public final SingleStatementContext singleStatement() throws RecognitionExceptio try { enterOuterAlt(_localctx, 1); { - setState(142); + setState(150); query(0); - setState(143); + setState(151); match(EOF); } } @@ -332,11 +335,11 @@ private QueryContext query(int _p) throws RecognitionException { _ctx = _localctx; _prevctx = _localctx; - setState(146); + setState(154); sourceCommand(); } _ctx.stop = _input.LT(-1); - setState(153); + setState(161); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,0,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -347,16 +350,16 @@ private QueryContext query(int _p) throws RecognitionException { { _localctx = new CompositeQueryContext(new QueryContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_query); - setState(148); + setState(156); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(149); + setState(157); match(PIPE); - setState(150); + setState(158); processingCommand(); } } } - setState(155); + setState(163); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,0,_ctx); } @@ -414,43 +417,43 @@ public final SourceCommandContext sourceCommand() throws RecognitionException { SourceCommandContext _localctx = new SourceCommandContext(_ctx, getState()); enterRule(_localctx, 4, RULE_sourceCommand); try { - setState(162); + setState(170); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,1,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(156); + setState(164); explainCommand(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(157); + setState(165); fromCommand(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(158); + setState(166); rowCommand(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(159); + setState(167); showCommand(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(160); + setState(168); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(161); + setState(169); metricsCommand(); } break; @@ -511,12 +514,18 @@ public JoinCommandContext joinCommand() { public ChangePointCommandContext changePointCommand() { return getRuleContext(ChangePointCommandContext.class,0); } + public CompletionCommandContext completionCommand() { + return getRuleContext(CompletionCommandContext.class,0); + } public InlinestatsCommandContext inlinestatsCommand() { return getRuleContext(InlinestatsCommandContext.class,0); } public LookupCommandContext lookupCommand() { return getRuleContext(LookupCommandContext.class,0); } + public RerankCommandContext rerankCommand() { + return getRuleContext(RerankCommandContext.class,0); + } @SuppressWarnings("this-escape") public ProcessingCommandContext(ParserRuleContext parent, int invokingState) { super(parent, invokingState); @@ -541,125 +550,141 @@ public final ProcessingCommandContext processingCommand() throws RecognitionExce ProcessingCommandContext _localctx = new ProcessingCommandContext(_ctx, getState()); enterRule(_localctx, 6, RULE_processingCommand); try { - setState(182); + setState(193); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(164); + setState(172); evalCommand(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(165); + setState(173); whereCommand(); } break; case 3: enterOuterAlt(_localctx, 3); { - setState(166); + setState(174); keepCommand(); } break; case 4: enterOuterAlt(_localctx, 4); { - setState(167); + setState(175); limitCommand(); } break; case 5: enterOuterAlt(_localctx, 5); { - setState(168); + setState(176); statsCommand(); } break; case 6: enterOuterAlt(_localctx, 6); { - setState(169); + setState(177); sortCommand(); } break; case 7: enterOuterAlt(_localctx, 7); { - setState(170); + setState(178); dropCommand(); } break; case 8: enterOuterAlt(_localctx, 8); { - setState(171); + setState(179); renameCommand(); } break; case 9: enterOuterAlt(_localctx, 9); { - setState(172); + setState(180); dissectCommand(); } break; case 10: enterOuterAlt(_localctx, 10); { - setState(173); + setState(181); grokCommand(); } break; case 11: enterOuterAlt(_localctx, 11); { - setState(174); + setState(182); enrichCommand(); } break; case 12: enterOuterAlt(_localctx, 12); { - setState(175); + setState(183); mvExpandCommand(); } break; case 13: enterOuterAlt(_localctx, 13); { - setState(176); + setState(184); joinCommand(); } break; case 14: enterOuterAlt(_localctx, 14); { - setState(177); + setState(185); changePointCommand(); } break; case 15: enterOuterAlt(_localctx, 15); { - setState(178); - if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(179); - inlinestatsCommand(); + setState(186); + completionCommand(); } break; case 16: enterOuterAlt(_localctx, 16); { - setState(180); + setState(187); if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); - setState(181); + setState(188); + inlinestatsCommand(); + } + break; + case 17: + enterOuterAlt(_localctx, 17); + { + setState(189); + if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); + setState(190); lookupCommand(); } break; + case 18: + enterOuterAlt(_localctx, 18); + { + setState(191); + if (!(this.isDevVersion())) throw new FailedPredicateException(this, "this.isDevVersion()"); + setState(192); + rerankCommand(); + } + break; } } catch (RecognitionException re) { @@ -705,9 +730,9 @@ public final WhereCommandContext whereCommand() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(184); + setState(195); match(WHERE); - setState(185); + setState(196); booleanExpression(0); } } @@ -923,7 +948,7 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc int _alt; enterOuterAlt(_localctx, 1); { - setState(216); + setState(227); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,6,_ctx) ) { case 1: @@ -932,9 +957,9 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _ctx = _localctx; _prevctx = _localctx; - setState(188); + setState(199); match(NOT); - setState(189); + setState(200); booleanExpression(8); } break; @@ -943,7 +968,7 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new BooleanDefaultContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(190); + setState(201); valueExpression(); } break; @@ -952,7 +977,7 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new RegexExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(191); + setState(202); regexBooleanExpression(); } break; @@ -961,41 +986,41 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new LogicalInContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(192); + setState(203); valueExpression(); - setState(194); + setState(205); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(193); + setState(204); match(NOT); } } - setState(196); + setState(207); match(IN); - setState(197); + setState(208); match(LP); - setState(198); + setState(209); valueExpression(); - setState(203); + setState(214); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(199); + setState(210); match(COMMA); - setState(200); + setState(211); valueExpression(); } } - setState(205); + setState(216); _errHandler.sync(this); _la = _input.LA(1); } - setState(206); + setState(217); match(RP); } break; @@ -1004,21 +1029,21 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new IsNullContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(208); + setState(219); valueExpression(); - setState(209); + setState(220); match(IS); - setState(211); + setState(222); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(210); + setState(221); match(NOT); } } - setState(213); + setState(224); match(NULL); } break; @@ -1027,13 +1052,13 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new MatchExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(215); + setState(226); matchBooleanExpression(); } break; } _ctx.stop = _input.LT(-1); - setState(226); + setState(237); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,8,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -1041,7 +1066,7 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(224); + setState(235); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) { case 1: @@ -1049,11 +1074,11 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState)); ((LogicalBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression); - setState(218); + setState(229); if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)"); - setState(219); + setState(230); ((LogicalBinaryContext)_localctx).operator = match(AND); - setState(220); + setState(231); ((LogicalBinaryContext)_localctx).right = booleanExpression(6); } break; @@ -1062,18 +1087,18 @@ private BooleanExpressionContext booleanExpression(int _p) throws RecognitionExc _localctx = new LogicalBinaryContext(new BooleanExpressionContext(_parentctx, _parentState)); ((LogicalBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_booleanExpression); - setState(221); + setState(232); if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)"); - setState(222); + setState(233); ((LogicalBinaryContext)_localctx).operator = match(OR); - setState(223); + setState(234); ((LogicalBinaryContext)_localctx).right = booleanExpression(5); } break; } } } - setState(228); + setState(239); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,8,_ctx); } @@ -1128,48 +1153,48 @@ public final RegexBooleanExpressionContext regexBooleanExpression() throws Recog enterRule(_localctx, 12, RULE_regexBooleanExpression); int _la; try { - setState(243); + setState(254); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,11,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(229); + setState(240); valueExpression(); - setState(231); + setState(242); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(230); + setState(241); match(NOT); } } - setState(233); + setState(244); ((RegexBooleanExpressionContext)_localctx).kind = match(LIKE); - setState(234); + setState(245); ((RegexBooleanExpressionContext)_localctx).pattern = string(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(236); + setState(247); valueExpression(); - setState(238); + setState(249); _errHandler.sync(this); _la = _input.LA(1); if (_la==NOT) { { - setState(237); + setState(248); match(NOT); } } - setState(240); + setState(251); ((RegexBooleanExpressionContext)_localctx).kind = match(RLIKE); - setState(241); + setState(252); ((RegexBooleanExpressionContext)_localctx).pattern = string(); } break; @@ -1229,23 +1254,23 @@ public final MatchBooleanExpressionContext matchBooleanExpression() throws Recog try { enterOuterAlt(_localctx, 1); { - setState(245); + setState(256); ((MatchBooleanExpressionContext)_localctx).fieldExp = qualifiedName(); - setState(248); + setState(259); _errHandler.sync(this); _la = _input.LA(1); if (_la==CAST_OP) { { - setState(246); + setState(257); match(CAST_OP); - setState(247); + setState(258); ((MatchBooleanExpressionContext)_localctx).fieldType = dataType(); } } - setState(250); + setState(261); match(COLON); - setState(251); + setState(262); ((MatchBooleanExpressionContext)_localctx).matchQuery = constant(); } } @@ -1329,14 +1354,14 @@ public final ValueExpressionContext valueExpression() throws RecognitionExceptio ValueExpressionContext _localctx = new ValueExpressionContext(_ctx, getState()); enterRule(_localctx, 16, RULE_valueExpression); try { - setState(258); + setState(269); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) { case 1: _localctx = new ValueExpressionDefaultContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(253); + setState(264); operatorExpression(0); } break; @@ -1344,11 +1369,11 @@ public final ValueExpressionContext valueExpression() throws RecognitionExceptio _localctx = new ComparisonContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(254); + setState(265); ((ComparisonContext)_localctx).left = operatorExpression(0); - setState(255); + setState(266); comparisonOperator(); - setState(256); + setState(267); ((ComparisonContext)_localctx).right = operatorExpression(0); } break; @@ -1473,7 +1498,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE int _alt; enterOuterAlt(_localctx, 1); { - setState(264); + setState(275); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,14,_ctx) ) { case 1: @@ -1482,7 +1507,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _ctx = _localctx; _prevctx = _localctx; - setState(261); + setState(272); primaryExpression(0); } break; @@ -1491,7 +1516,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _localctx = new ArithmeticUnaryContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(262); + setState(273); ((ArithmeticUnaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -1502,13 +1527,13 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(263); + setState(274); operatorExpression(3); } break; } _ctx.stop = _input.LT(-1); - setState(274); + setState(285); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,16,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -1516,7 +1541,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE if ( _parseListeners!=null ) triggerExitRuleEvent(); _prevctx = _localctx; { - setState(272); + setState(283); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) { case 1: @@ -1524,12 +1549,12 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _localctx = new ArithmeticBinaryContext(new OperatorExpressionContext(_parentctx, _parentState)); ((ArithmeticBinaryContext)_localctx).left = _prevctx; pushNewRecursionContext(_localctx, _startState, RULE_operatorExpression); - setState(266); + setState(277); if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)"); - setState(267); + setState(278); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); - if ( !(((((_la - 66)) & ~0x3f) == 0 && ((1L << (_la - 66)) & 7L) != 0)) ) { + if ( !(((((_la - 70)) & ~0x3f) == 0 && ((1L << (_la - 70)) & 7L) != 0)) ) { ((ArithmeticBinaryContext)_localctx).operator = (Token)_errHandler.recoverInline(this); } else { @@ -1537,7 +1562,7 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(268); + setState(279); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(3); } break; @@ -1546,9 +1571,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(269); + setState(280); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(270); + setState(281); ((ArithmeticBinaryContext)_localctx).operator = _input.LT(1); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { @@ -1559,14 +1584,14 @@ private OperatorExpressionContext operatorExpression(int _p) throws RecognitionE _errHandler.reportMatch(this); consume(); } - setState(271); + setState(282); ((ArithmeticBinaryContext)_localctx).right = operatorExpression(2); } break; } } } - setState(276); + setState(287); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,16,_ctx); } @@ -1724,7 +1749,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc int _alt; enterOuterAlt(_localctx, 1); { - setState(285); + setState(296); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) { case 1: @@ -1733,7 +1758,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _ctx = _localctx; _prevctx = _localctx; - setState(278); + setState(289); constant(); } break; @@ -1742,7 +1767,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new DereferenceContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(279); + setState(290); qualifiedName(); } break; @@ -1751,7 +1776,7 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new FunctionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(280); + setState(291); functionExpression(); } break; @@ -1760,17 +1785,17 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc _localctx = new ParenthesizedExpressionContext(_localctx); _ctx = _localctx; _prevctx = _localctx; - setState(281); + setState(292); match(LP); - setState(282); + setState(293); booleanExpression(0); - setState(283); + setState(294); match(RP); } break; } _ctx.stop = _input.LT(-1); - setState(292); + setState(303); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,18,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { @@ -1781,16 +1806,16 @@ private PrimaryExpressionContext primaryExpression(int _p) throws RecognitionExc { _localctx = new InlineCastContext(new PrimaryExpressionContext(_parentctx, _parentState)); pushNewRecursionContext(_localctx, _startState, RULE_primaryExpression); - setState(287); + setState(298); if (!(precpred(_ctx, 1))) throw new FailedPredicateException(this, "precpred(_ctx, 1)"); - setState(288); + setState(299); match(CAST_OP); - setState(289); + setState(300); dataType(); } } } - setState(294); + setState(305); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,18,_ctx); } @@ -1856,16 +1881,16 @@ public final FunctionExpressionContext functionExpression() throws RecognitionEx int _alt; enterOuterAlt(_localctx, 1); { - setState(295); + setState(306); functionName(); - setState(296); + setState(307); match(LP); - setState(310); + setState(321); _errHandler.sync(this); switch (_input.LA(1)) { case ASTERISK: { - setState(297); + setState(308); match(ASTERISK); } break; @@ -1888,34 +1913,34 @@ public final FunctionExpressionContext functionExpression() throws RecognitionEx case QUOTED_IDENTIFIER: { { - setState(298); + setState(309); booleanExpression(0); - setState(303); + setState(314); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,19,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(299); + setState(310); match(COMMA); - setState(300); + setState(311); booleanExpression(0); } } } - setState(305); + setState(316); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,19,_ctx); } - setState(308); + setState(319); _errHandler.sync(this); _la = _input.LA(1); if (_la==COMMA) { { - setState(306); + setState(317); match(COMMA); - setState(307); + setState(318); mapExpression(); } } @@ -1928,7 +1953,7 @@ public final FunctionExpressionContext functionExpression() throws RecognitionEx default: break; } - setState(312); + setState(323); match(RP); } } @@ -1974,7 +1999,7 @@ public final FunctionNameContext functionName() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(314); + setState(325); identifierOrParameter(); } } @@ -2030,27 +2055,27 @@ public final MapExpressionContext mapExpression() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(316); + setState(327); match(LEFT_BRACES); - setState(317); + setState(328); entryExpression(); - setState(322); + setState(333); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(318); + setState(329); match(COMMA); - setState(319); + setState(330); entryExpression(); } } - setState(324); + setState(335); _errHandler.sync(this); _la = _input.LA(1); } - setState(325); + setState(336); match(RIGHT_BRACES); } } @@ -2102,11 +2127,11 @@ public final EntryExpressionContext entryExpression() throws RecognitionExceptio try { enterOuterAlt(_localctx, 1); { - setState(327); + setState(338); ((EntryExpressionContext)_localctx).key = string(); - setState(328); + setState(339); match(COLON); - setState(329); + setState(340); ((EntryExpressionContext)_localctx).value = constant(); } } @@ -2164,7 +2189,7 @@ public final DataTypeContext dataType() throws RecognitionException { _localctx = new ToDataTypeContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(331); + setState(342); identifier(); } } @@ -2211,9 +2236,9 @@ public final RowCommandContext rowCommand() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(333); + setState(344); match(ROW); - setState(334); + setState(345); fields(); } } @@ -2267,23 +2292,23 @@ public final FieldsContext fields() throws RecognitionException { int _alt; enterOuterAlt(_localctx, 1); { - setState(336); + setState(347); field(); - setState(341); + setState(352); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,23,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(337); + setState(348); match(COMMA); - setState(338); + setState(349); field(); } } } - setState(343); + setState(354); _errHandler.sync(this); _alt = getInterpreter().adaptivePredict(_input,23,_ctx); } @@ -2335,19 +2360,19 @@ public final FieldContext field() throws RecognitionException { try { enterOuterAlt(_localctx, 1); { - setState(347); + setState(358); _errHandler.sync(this); switch ( getInterpreter().adaptivePredict(_input,24,_ctx) ) { case 1: { - setState(344); + setState(355); qualifiedName(); - setState(345); + setState(356); match(ASSIGN); } break; } - setState(349); + setState(360); booleanExpression(0); } } @@ -2362,6 +2387,140 @@ public final FieldContext field() throws RecognitionException { return _localctx; } + @SuppressWarnings("CheckReturnValue") + public static class RerankFieldsContext extends ParserRuleContext { + public List rerankField() { + return getRuleContexts(RerankFieldContext.class); + } + public RerankFieldContext rerankField(int i) { + return getRuleContext(RerankFieldContext.class,i); + } + public List COMMA() { return getTokens(EsqlBaseParser.COMMA); } + public TerminalNode COMMA(int i) { + return getToken(EsqlBaseParser.COMMA, i); + } + @SuppressWarnings("this-escape") + public RerankFieldsContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_rerankFields; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterRerankFields(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitRerankFields(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitRerankFields(this); + else return visitor.visitChildren(this); + } + } + + public final RerankFieldsContext rerankFields() throws RecognitionException { + RerankFieldsContext _localctx = new RerankFieldsContext(_ctx, getState()); + enterRule(_localctx, 38, RULE_rerankFields); + try { + int _alt; + enterOuterAlt(_localctx, 1); + { + setState(362); + rerankField(); + setState(367); + _errHandler.sync(this); + _alt = getInterpreter().adaptivePredict(_input,25,_ctx); + while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { + if ( _alt==1 ) { + { + { + setState(363); + match(COMMA); + setState(364); + rerankField(); + } + } + } + setState(369); + _errHandler.sync(this); + _alt = getInterpreter().adaptivePredict(_input,25,_ctx); + } + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + @SuppressWarnings("CheckReturnValue") + public static class RerankFieldContext extends ParserRuleContext { + public QualifiedNameContext qualifiedName() { + return getRuleContext(QualifiedNameContext.class,0); + } + public TerminalNode ASSIGN() { return getToken(EsqlBaseParser.ASSIGN, 0); } + public BooleanExpressionContext booleanExpression() { + return getRuleContext(BooleanExpressionContext.class,0); + } + @SuppressWarnings("this-escape") + public RerankFieldContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_rerankField; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterRerankField(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitRerankField(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitRerankField(this); + else return visitor.visitChildren(this); + } + } + + public final RerankFieldContext rerankField() throws RecognitionException { + RerankFieldContext _localctx = new RerankFieldContext(_ctx, getState()); + enterRule(_localctx, 40, RULE_rerankField); + try { + enterOuterAlt(_localctx, 1); + { + setState(370); + qualifiedName(); + setState(373); + _errHandler.sync(this); + switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) { + case 1: + { + setState(371); + match(ASSIGN); + setState(372); + booleanExpression(0); + } + break; + } + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + @SuppressWarnings("CheckReturnValue") public static class FromCommandContext extends ParserRuleContext { public TerminalNode FROM() { return getToken(EsqlBaseParser.FROM, 0); } @@ -2400,39 +2559,39 @@ public T accept(ParseTreeVisitor visitor) { public final FromCommandContext fromCommand() throws RecognitionException { FromCommandContext _localctx = new FromCommandContext(_ctx, getState()); - enterRule(_localctx, 38, RULE_fromCommand); + enterRule(_localctx, 42, RULE_fromCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(351); + setState(375); match(FROM); - setState(352); + setState(376); indexPattern(); - setState(357); + setState(381); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,25,_ctx); + _alt = getInterpreter().adaptivePredict(_input,27,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(353); + setState(377); match(COMMA); - setState(354); + setState(378); indexPattern(); } } } - setState(359); + setState(383); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,25,_ctx); + _alt = getInterpreter().adaptivePredict(_input,27,_ctx); } - setState(361); + setState(385); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,28,_ctx) ) { case 1: { - setState(360); + setState(384); metadata(); } break; @@ -2485,43 +2644,43 @@ public T accept(ParseTreeVisitor visitor) { public final IndexPatternContext indexPattern() throws RecognitionException { IndexPatternContext _localctx = new IndexPatternContext(_ctx, getState()); - enterRule(_localctx, 40, RULE_indexPattern); + enterRule(_localctx, 44, RULE_indexPattern); try { - setState(374); + setState(398); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,31,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(366); + setState(390); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,29,_ctx) ) { case 1: { - setState(363); + setState(387); clusterString(); - setState(364); + setState(388); match(COLON); } break; } - setState(368); + setState(392); indexString(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(369); + setState(393); indexString(); - setState(372); + setState(396); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,28,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,30,_ctx) ) { case 1: { - setState(370); + setState(394); match(CAST_OP); - setState(371); + setState(395); selectorString(); } break; @@ -2567,12 +2726,12 @@ public T accept(ParseTreeVisitor visitor) { public final ClusterStringContext clusterString() throws RecognitionException { ClusterStringContext _localctx = new ClusterStringContext(_ctx, getState()); - enterRule(_localctx, 42, RULE_clusterString); + enterRule(_localctx, 46, RULE_clusterString); int _la; try { enterOuterAlt(_localctx, 1); { - setState(376); + setState(400); _la = _input.LA(1); if ( !(_la==QUOTED_STRING || _la==UNQUOTED_SOURCE) ) { _errHandler.recoverInline(this); @@ -2621,12 +2780,12 @@ public T accept(ParseTreeVisitor visitor) { public final SelectorStringContext selectorString() throws RecognitionException { SelectorStringContext _localctx = new SelectorStringContext(_ctx, getState()); - enterRule(_localctx, 44, RULE_selectorString); + enterRule(_localctx, 48, RULE_selectorString); int _la; try { enterOuterAlt(_localctx, 1); { - setState(378); + setState(402); _la = _input.LA(1); if ( !(_la==QUOTED_STRING || _la==UNQUOTED_SOURCE) ) { _errHandler.recoverInline(this); @@ -2675,12 +2834,12 @@ public T accept(ParseTreeVisitor visitor) { public final IndexStringContext indexString() throws RecognitionException { IndexStringContext _localctx = new IndexStringContext(_ctx, getState()); - enterRule(_localctx, 46, RULE_indexString); + enterRule(_localctx, 50, RULE_indexString); int _la; try { enterOuterAlt(_localctx, 1); { - setState(380); + setState(404); _la = _input.LA(1); if ( !(_la==QUOTED_STRING || _la==UNQUOTED_SOURCE) ) { _errHandler.recoverInline(this); @@ -2733,22 +2892,22 @@ public T accept(ParseTreeVisitor visitor) { public final MetadataContext metadata() throws RecognitionException { MetadataContext _localctx = new MetadataContext(_ctx, getState()); - enterRule(_localctx, 48, RULE_metadata); + enterRule(_localctx, 52, RULE_metadata); try { - setState(384); + setState(408); _errHandler.sync(this); switch (_input.LA(1)) { case METADATA: enterOuterAlt(_localctx, 1); { - setState(382); + setState(406); metadataOption(); } break; case OPENING_BRACKET: enterOuterAlt(_localctx, 2); { - setState(383); + setState(407); deprecated_metadata(); } break; @@ -2800,32 +2959,32 @@ public T accept(ParseTreeVisitor visitor) { public final MetadataOptionContext metadataOption() throws RecognitionException { MetadataOptionContext _localctx = new MetadataOptionContext(_ctx, getState()); - enterRule(_localctx, 50, RULE_metadataOption); + enterRule(_localctx, 54, RULE_metadataOption); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(386); + setState(410); match(METADATA); - setState(387); + setState(411); match(UNQUOTED_SOURCE); - setState(392); + setState(416); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,31,_ctx); + _alt = getInterpreter().adaptivePredict(_input,33,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(388); + setState(412); match(COMMA); - setState(389); + setState(413); match(UNQUOTED_SOURCE); } } } - setState(394); + setState(418); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,31,_ctx); + _alt = getInterpreter().adaptivePredict(_input,33,_ctx); } } } @@ -2868,15 +3027,15 @@ public T accept(ParseTreeVisitor visitor) { public final Deprecated_metadataContext deprecated_metadata() throws RecognitionException { Deprecated_metadataContext _localctx = new Deprecated_metadataContext(_ctx, getState()); - enterRule(_localctx, 52, RULE_deprecated_metadata); + enterRule(_localctx, 56, RULE_deprecated_metadata); try { enterOuterAlt(_localctx, 1); { - setState(395); + setState(419); match(OPENING_BRACKET); - setState(396); + setState(420); metadataOption(); - setState(397); + setState(421); match(CLOSING_BRACKET); } } @@ -2935,51 +3094,51 @@ public T accept(ParseTreeVisitor visitor) { public final MetricsCommandContext metricsCommand() throws RecognitionException { MetricsCommandContext _localctx = new MetricsCommandContext(_ctx, getState()); - enterRule(_localctx, 54, RULE_metricsCommand); + enterRule(_localctx, 58, RULE_metricsCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(399); + setState(423); match(DEV_METRICS); - setState(400); + setState(424); indexPattern(); - setState(405); + setState(429); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,32,_ctx); + _alt = getInterpreter().adaptivePredict(_input,34,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(401); + setState(425); match(COMMA); - setState(402); + setState(426); indexPattern(); } } } - setState(407); + setState(431); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,32,_ctx); + _alt = getInterpreter().adaptivePredict(_input,34,_ctx); } - setState(409); + setState(433); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) { case 1: { - setState(408); + setState(432); ((MetricsCommandContext)_localctx).aggregates = aggFields(); } break; } - setState(413); + setState(437); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,34,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) { case 1: { - setState(411); + setState(435); match(BY); - setState(412); + setState(436); ((MetricsCommandContext)_localctx).grouping = fields(); } break; @@ -3025,13 +3184,13 @@ public T accept(ParseTreeVisitor visitor) { public final EvalCommandContext evalCommand() throws RecognitionException { EvalCommandContext _localctx = new EvalCommandContext(_ctx, getState()); - enterRule(_localctx, 56, RULE_evalCommand); + enterRule(_localctx, 60, RULE_evalCommand); try { enterOuterAlt(_localctx, 1); { - setState(415); + setState(439); match(EVAL); - setState(416); + setState(440); fields(); } } @@ -3080,30 +3239,30 @@ public T accept(ParseTreeVisitor visitor) { public final StatsCommandContext statsCommand() throws RecognitionException { StatsCommandContext _localctx = new StatsCommandContext(_ctx, getState()); - enterRule(_localctx, 58, RULE_statsCommand); + enterRule(_localctx, 62, RULE_statsCommand); try { enterOuterAlt(_localctx, 1); { - setState(418); + setState(442); match(STATS); - setState(420); + setState(444); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,35,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,37,_ctx) ) { case 1: { - setState(419); + setState(443); ((StatsCommandContext)_localctx).stats = aggFields(); } break; } - setState(424); + setState(448); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) { case 1: { - setState(422); + setState(446); match(BY); - setState(423); + setState(447); ((StatsCommandContext)_localctx).grouping = fields(); } break; @@ -3155,30 +3314,30 @@ public T accept(ParseTreeVisitor visitor) { public final AggFieldsContext aggFields() throws RecognitionException { AggFieldsContext _localctx = new AggFieldsContext(_ctx, getState()); - enterRule(_localctx, 60, RULE_aggFields); + enterRule(_localctx, 64, RULE_aggFields); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(426); + setState(450); aggField(); - setState(431); + setState(455); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,37,_ctx); + _alt = getInterpreter().adaptivePredict(_input,39,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(427); + setState(451); match(COMMA); - setState(428); + setState(452); aggField(); } } } - setState(433); + setState(457); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,37,_ctx); + _alt = getInterpreter().adaptivePredict(_input,39,_ctx); } } } @@ -3224,20 +3383,20 @@ public T accept(ParseTreeVisitor visitor) { public final AggFieldContext aggField() throws RecognitionException { AggFieldContext _localctx = new AggFieldContext(_ctx, getState()); - enterRule(_localctx, 62, RULE_aggField); + enterRule(_localctx, 66, RULE_aggField); try { enterOuterAlt(_localctx, 1); { - setState(434); + setState(458); field(); - setState(437); + setState(461); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,38,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) { case 1: { - setState(435); + setState(459); match(WHERE); - setState(436); + setState(460); booleanExpression(0); } break; @@ -3289,30 +3448,30 @@ public T accept(ParseTreeVisitor visitor) { public final QualifiedNameContext qualifiedName() throws RecognitionException { QualifiedNameContext _localctx = new QualifiedNameContext(_ctx, getState()); - enterRule(_localctx, 64, RULE_qualifiedName); + enterRule(_localctx, 68, RULE_qualifiedName); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(439); + setState(463); identifierOrParameter(); - setState(444); + setState(468); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,39,_ctx); + _alt = getInterpreter().adaptivePredict(_input,41,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(440); + setState(464); match(DOT); - setState(441); + setState(465); identifierOrParameter(); } } } - setState(446); + setState(470); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,39,_ctx); + _alt = getInterpreter().adaptivePredict(_input,41,_ctx); } } } @@ -3361,30 +3520,30 @@ public T accept(ParseTreeVisitor visitor) { public final QualifiedNamePatternContext qualifiedNamePattern() throws RecognitionException { QualifiedNamePatternContext _localctx = new QualifiedNamePatternContext(_ctx, getState()); - enterRule(_localctx, 66, RULE_qualifiedNamePattern); + enterRule(_localctx, 70, RULE_qualifiedNamePattern); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(447); + setState(471); identifierPattern(); - setState(452); + setState(476); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,40,_ctx); + _alt = getInterpreter().adaptivePredict(_input,42,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(448); + setState(472); match(DOT); - setState(449); + setState(473); identifierPattern(); } } } - setState(454); + setState(478); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,40,_ctx); + _alt = getInterpreter().adaptivePredict(_input,42,_ctx); } } } @@ -3433,30 +3592,30 @@ public T accept(ParseTreeVisitor visitor) { public final QualifiedNamePatternsContext qualifiedNamePatterns() throws RecognitionException { QualifiedNamePatternsContext _localctx = new QualifiedNamePatternsContext(_ctx, getState()); - enterRule(_localctx, 68, RULE_qualifiedNamePatterns); + enterRule(_localctx, 72, RULE_qualifiedNamePatterns); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(455); + setState(479); qualifiedNamePattern(); - setState(460); + setState(484); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,41,_ctx); + _alt = getInterpreter().adaptivePredict(_input,43,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(456); + setState(480); match(COMMA); - setState(457); + setState(481); qualifiedNamePattern(); } } } - setState(462); + setState(486); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,41,_ctx); + _alt = getInterpreter().adaptivePredict(_input,43,_ctx); } } } @@ -3497,12 +3656,12 @@ public T accept(ParseTreeVisitor visitor) { public final IdentifierContext identifier() throws RecognitionException { IdentifierContext _localctx = new IdentifierContext(_ctx, getState()); - enterRule(_localctx, 70, RULE_identifier); + enterRule(_localctx, 74, RULE_identifier); int _la; try { enterOuterAlt(_localctx, 1); { - setState(463); + setState(487); _la = _input.LA(1); if ( !(_la==UNQUOTED_IDENTIFIER || _la==QUOTED_IDENTIFIER) ) { _errHandler.recoverInline(this); @@ -3556,15 +3715,15 @@ public T accept(ParseTreeVisitor visitor) { public final IdentifierPatternContext identifierPattern() throws RecognitionException { IdentifierPatternContext _localctx = new IdentifierPatternContext(_ctx, getState()); - enterRule(_localctx, 72, RULE_identifierPattern); + enterRule(_localctx, 76, RULE_identifierPattern); try { - setState(468); + setState(492); _errHandler.sync(this); switch (_input.LA(1)) { case ID_PATTERN: enterOuterAlt(_localctx, 1); { - setState(465); + setState(489); match(ID_PATTERN); } break; @@ -3572,7 +3731,7 @@ public final IdentifierPatternContext identifierPattern() throws RecognitionExce case NAMED_OR_POSITIONAL_PARAM: enterOuterAlt(_localctx, 2); { - setState(466); + setState(490); parameter(); } break; @@ -3580,7 +3739,7 @@ public final IdentifierPatternContext identifierPattern() throws RecognitionExce case NAMED_OR_POSITIONAL_DOUBLE_PARAMS: enterOuterAlt(_localctx, 3); { - setState(467); + setState(491); doubleParameter(); } break; @@ -3852,17 +4011,17 @@ public T accept(ParseTreeVisitor visitor) { public final ConstantContext constant() throws RecognitionException { ConstantContext _localctx = new ConstantContext(_ctx, getState()); - enterRule(_localctx, 74, RULE_constant); + enterRule(_localctx, 78, RULE_constant); int _la; try { - setState(512); + setState(536); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,48,_ctx) ) { case 1: _localctx = new NullLiteralContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(470); + setState(494); match(NULL); } break; @@ -3870,9 +4029,9 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new QualifiedIntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(471); + setState(495); integerValue(); - setState(472); + setState(496); match(UNQUOTED_IDENTIFIER); } break; @@ -3880,7 +4039,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new DecimalLiteralContext(_localctx); enterOuterAlt(_localctx, 3); { - setState(474); + setState(498); decimalValue(); } break; @@ -3888,7 +4047,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new IntegerLiteralContext(_localctx); enterOuterAlt(_localctx, 4); { - setState(475); + setState(499); integerValue(); } break; @@ -3896,7 +4055,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new BooleanLiteralContext(_localctx); enterOuterAlt(_localctx, 5); { - setState(476); + setState(500); booleanValue(); } break; @@ -3904,7 +4063,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new InputParameterContext(_localctx); enterOuterAlt(_localctx, 6); { - setState(477); + setState(501); parameter(); } break; @@ -3912,7 +4071,7 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new StringLiteralContext(_localctx); enterOuterAlt(_localctx, 7); { - setState(478); + setState(502); string(); } break; @@ -3920,27 +4079,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new NumericArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 8); { - setState(479); + setState(503); match(OPENING_BRACKET); - setState(480); + setState(504); numericValue(); - setState(485); + setState(509); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(481); + setState(505); match(COMMA); - setState(482); + setState(506); numericValue(); } } - setState(487); + setState(511); _errHandler.sync(this); _la = _input.LA(1); } - setState(488); + setState(512); match(CLOSING_BRACKET); } break; @@ -3948,27 +4107,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new BooleanArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 9); { - setState(490); + setState(514); match(OPENING_BRACKET); - setState(491); + setState(515); booleanValue(); - setState(496); + setState(520); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(492); + setState(516); match(COMMA); - setState(493); + setState(517); booleanValue(); } } - setState(498); + setState(522); _errHandler.sync(this); _la = _input.LA(1); } - setState(499); + setState(523); match(CLOSING_BRACKET); } break; @@ -3976,27 +4135,27 @@ public final ConstantContext constant() throws RecognitionException { _localctx = new StringArrayLiteralContext(_localctx); enterOuterAlt(_localctx, 10); { - setState(501); + setState(525); match(OPENING_BRACKET); - setState(502); + setState(526); string(); - setState(507); + setState(531); _errHandler.sync(this); _la = _input.LA(1); while (_la==COMMA) { { { - setState(503); + setState(527); match(COMMA); - setState(504); + setState(528); string(); } } - setState(509); + setState(533); _errHandler.sync(this); _la = _input.LA(1); } - setState(510); + setState(534); match(CLOSING_BRACKET); } break; @@ -4068,16 +4227,16 @@ public T accept(ParseTreeVisitor visitor) { public final ParameterContext parameter() throws RecognitionException { ParameterContext _localctx = new ParameterContext(_ctx, getState()); - enterRule(_localctx, 76, RULE_parameter); + enterRule(_localctx, 80, RULE_parameter); try { - setState(516); + setState(540); _errHandler.sync(this); switch (_input.LA(1)) { case PARAM: _localctx = new InputParamContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(514); + setState(538); match(PARAM); } break; @@ -4085,7 +4244,7 @@ public final ParameterContext parameter() throws RecognitionException { _localctx = new InputNamedOrPositionalParamContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(515); + setState(539); match(NAMED_OR_POSITIONAL_PARAM); } break; @@ -4159,16 +4318,16 @@ public T accept(ParseTreeVisitor visitor) { public final DoubleParameterContext doubleParameter() throws RecognitionException { DoubleParameterContext _localctx = new DoubleParameterContext(_ctx, getState()); - enterRule(_localctx, 78, RULE_doubleParameter); + enterRule(_localctx, 82, RULE_doubleParameter); try { - setState(520); + setState(544); _errHandler.sync(this); switch (_input.LA(1)) { case DOUBLE_PARAMS: _localctx = new InputDoubleParamsContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(518); + setState(542); match(DOUBLE_PARAMS); } break; @@ -4176,7 +4335,7 @@ public final DoubleParameterContext doubleParameter() throws RecognitionExceptio _localctx = new InputNamedOrPositionalDoubleParamsContext(_localctx); enterOuterAlt(_localctx, 2); { - setState(519); + setState(543); match(NAMED_OR_POSITIONAL_DOUBLE_PARAMS); } break; @@ -4228,16 +4387,16 @@ public T accept(ParseTreeVisitor visitor) { public final IdentifierOrParameterContext identifierOrParameter() throws RecognitionException { IdentifierOrParameterContext _localctx = new IdentifierOrParameterContext(_ctx, getState()); - enterRule(_localctx, 80, RULE_identifierOrParameter); + enterRule(_localctx, 84, RULE_identifierOrParameter); try { - setState(525); + setState(549); _errHandler.sync(this); switch (_input.LA(1)) { case UNQUOTED_IDENTIFIER: case QUOTED_IDENTIFIER: enterOuterAlt(_localctx, 1); { - setState(522); + setState(546); identifier(); } break; @@ -4245,7 +4404,7 @@ public final IdentifierOrParameterContext identifierOrParameter() throws Recogni case NAMED_OR_POSITIONAL_PARAM: enterOuterAlt(_localctx, 2); { - setState(523); + setState(547); parameter(); } break; @@ -4253,7 +4412,7 @@ public final IdentifierOrParameterContext identifierOrParameter() throws Recogni case NAMED_OR_POSITIONAL_DOUBLE_PARAMS: enterOuterAlt(_localctx, 3); { - setState(524); + setState(548); doubleParameter(); } break; @@ -4300,13 +4459,13 @@ public T accept(ParseTreeVisitor visitor) { public final LimitCommandContext limitCommand() throws RecognitionException { LimitCommandContext _localctx = new LimitCommandContext(_ctx, getState()); - enterRule(_localctx, 82, RULE_limitCommand); + enterRule(_localctx, 86, RULE_limitCommand); try { enterOuterAlt(_localctx, 1); { - setState(527); + setState(551); match(LIMIT); - setState(528); + setState(552); constant(); } } @@ -4356,32 +4515,32 @@ public T accept(ParseTreeVisitor visitor) { public final SortCommandContext sortCommand() throws RecognitionException { SortCommandContext _localctx = new SortCommandContext(_ctx, getState()); - enterRule(_localctx, 84, RULE_sortCommand); + enterRule(_localctx, 88, RULE_sortCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(530); + setState(554); match(SORT); - setState(531); + setState(555); orderExpression(); - setState(536); + setState(560); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,50,_ctx); + _alt = getInterpreter().adaptivePredict(_input,52,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(532); + setState(556); match(COMMA); - setState(533); + setState(557); orderExpression(); } } } - setState(538); + setState(562); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,50,_ctx); + _alt = getInterpreter().adaptivePredict(_input,52,_ctx); } } } @@ -4430,19 +4589,19 @@ public T accept(ParseTreeVisitor visitor) { public final OrderExpressionContext orderExpression() throws RecognitionException { OrderExpressionContext _localctx = new OrderExpressionContext(_ctx, getState()); - enterRule(_localctx, 86, RULE_orderExpression); + enterRule(_localctx, 90, RULE_orderExpression); int _la; try { enterOuterAlt(_localctx, 1); { - setState(539); + setState(563); booleanExpression(0); - setState(541); + setState(565); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,53,_ctx) ) { case 1: { - setState(540); + setState(564); ((OrderExpressionContext)_localctx).ordering = _input.LT(1); _la = _input.LA(1); if ( !(_la==ASC || _la==DESC) ) { @@ -4456,14 +4615,14 @@ public final OrderExpressionContext orderExpression() throws RecognitionExceptio } break; } - setState(545); + setState(569); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,54,_ctx) ) { case 1: { - setState(543); + setState(567); match(NULLS); - setState(544); + setState(568); ((OrderExpressionContext)_localctx).nullOrdering = _input.LT(1); _la = _input.LA(1); if ( !(_la==FIRST || _la==LAST) ) { @@ -4518,13 +4677,13 @@ public T accept(ParseTreeVisitor visitor) { public final KeepCommandContext keepCommand() throws RecognitionException { KeepCommandContext _localctx = new KeepCommandContext(_ctx, getState()); - enterRule(_localctx, 88, RULE_keepCommand); + enterRule(_localctx, 92, RULE_keepCommand); try { enterOuterAlt(_localctx, 1); { - setState(547); + setState(571); match(KEEP); - setState(548); + setState(572); qualifiedNamePatterns(); } } @@ -4567,13 +4726,13 @@ public T accept(ParseTreeVisitor visitor) { public final DropCommandContext dropCommand() throws RecognitionException { DropCommandContext _localctx = new DropCommandContext(_ctx, getState()); - enterRule(_localctx, 90, RULE_dropCommand); + enterRule(_localctx, 94, RULE_dropCommand); try { enterOuterAlt(_localctx, 1); { - setState(550); + setState(574); match(DROP); - setState(551); + setState(575); qualifiedNamePatterns(); } } @@ -4623,32 +4782,32 @@ public T accept(ParseTreeVisitor visitor) { public final RenameCommandContext renameCommand() throws RecognitionException { RenameCommandContext _localctx = new RenameCommandContext(_ctx, getState()); - enterRule(_localctx, 92, RULE_renameCommand); + enterRule(_localctx, 96, RULE_renameCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(553); + setState(577); match(RENAME); - setState(554); + setState(578); renameClause(); - setState(559); + setState(583); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,53,_ctx); + _alt = getInterpreter().adaptivePredict(_input,55,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(555); + setState(579); match(COMMA); - setState(556); + setState(580); renameClause(); } } } - setState(561); + setState(585); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,53,_ctx); + _alt = getInterpreter().adaptivePredict(_input,55,_ctx); } } } @@ -4697,30 +4856,30 @@ public T accept(ParseTreeVisitor visitor) { public final RenameClauseContext renameClause() throws RecognitionException { RenameClauseContext _localctx = new RenameClauseContext(_ctx, getState()); - enterRule(_localctx, 94, RULE_renameClause); + enterRule(_localctx, 98, RULE_renameClause); try { - setState(570); + setState(594); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,54,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,56,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(562); + setState(586); ((RenameClauseContext)_localctx).oldName = qualifiedNamePattern(); - setState(563); + setState(587); match(AS); - setState(564); + setState(588); ((RenameClauseContext)_localctx).newName = qualifiedNamePattern(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(566); + setState(590); ((RenameClauseContext)_localctx).newName = qualifiedNamePattern(); - setState(567); + setState(591); match(ASSIGN); - setState(568); + setState(592); ((RenameClauseContext)_localctx).oldName = qualifiedNamePattern(); } break; @@ -4771,22 +4930,22 @@ public T accept(ParseTreeVisitor visitor) { public final DissectCommandContext dissectCommand() throws RecognitionException { DissectCommandContext _localctx = new DissectCommandContext(_ctx, getState()); - enterRule(_localctx, 96, RULE_dissectCommand); + enterRule(_localctx, 100, RULE_dissectCommand); try { enterOuterAlt(_localctx, 1); { - setState(572); + setState(596); match(DISSECT); - setState(573); + setState(597); primaryExpression(0); - setState(574); + setState(598); string(); - setState(576); + setState(600); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,55,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,57,_ctx) ) { case 1: { - setState(575); + setState(599); commandOptions(); } break; @@ -4835,15 +4994,15 @@ public T accept(ParseTreeVisitor visitor) { public final GrokCommandContext grokCommand() throws RecognitionException { GrokCommandContext _localctx = new GrokCommandContext(_ctx, getState()); - enterRule(_localctx, 98, RULE_grokCommand); + enterRule(_localctx, 102, RULE_grokCommand); try { enterOuterAlt(_localctx, 1); { - setState(578); + setState(602); match(GROK); - setState(579); + setState(603); primaryExpression(0); - setState(580); + setState(604); string(); } } @@ -4886,13 +5045,13 @@ public T accept(ParseTreeVisitor visitor) { public final MvExpandCommandContext mvExpandCommand() throws RecognitionException { MvExpandCommandContext _localctx = new MvExpandCommandContext(_ctx, getState()); - enterRule(_localctx, 100, RULE_mvExpandCommand); + enterRule(_localctx, 104, RULE_mvExpandCommand); try { enterOuterAlt(_localctx, 1); { - setState(582); + setState(606); match(MV_EXPAND); - setState(583); + setState(607); qualifiedName(); } } @@ -4941,30 +5100,30 @@ public T accept(ParseTreeVisitor visitor) { public final CommandOptionsContext commandOptions() throws RecognitionException { CommandOptionsContext _localctx = new CommandOptionsContext(_ctx, getState()); - enterRule(_localctx, 102, RULE_commandOptions); + enterRule(_localctx, 106, RULE_commandOptions); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(585); + setState(609); commandOption(); - setState(590); + setState(614); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,56,_ctx); + _alt = getInterpreter().adaptivePredict(_input,58,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(586); + setState(610); match(COMMA); - setState(587); + setState(611); commandOption(); } } } - setState(592); + setState(616); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,56,_ctx); + _alt = getInterpreter().adaptivePredict(_input,58,_ctx); } } } @@ -5010,15 +5169,15 @@ public T accept(ParseTreeVisitor visitor) { public final CommandOptionContext commandOption() throws RecognitionException { CommandOptionContext _localctx = new CommandOptionContext(_ctx, getState()); - enterRule(_localctx, 104, RULE_commandOption); + enterRule(_localctx, 108, RULE_commandOption); try { enterOuterAlt(_localctx, 1); { - setState(593); + setState(617); identifier(); - setState(594); + setState(618); match(ASSIGN); - setState(595); + setState(619); constant(); } } @@ -5059,12 +5218,12 @@ public T accept(ParseTreeVisitor visitor) { public final BooleanValueContext booleanValue() throws RecognitionException { BooleanValueContext _localctx = new BooleanValueContext(_ctx, getState()); - enterRule(_localctx, 106, RULE_booleanValue); + enterRule(_localctx, 110, RULE_booleanValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(597); + setState(621); _la = _input.LA(1); if ( !(_la==FALSE || _la==TRUE) ) { _errHandler.recoverInline(this); @@ -5117,22 +5276,22 @@ public T accept(ParseTreeVisitor visitor) { public final NumericValueContext numericValue() throws RecognitionException { NumericValueContext _localctx = new NumericValueContext(_ctx, getState()); - enterRule(_localctx, 108, RULE_numericValue); + enterRule(_localctx, 112, RULE_numericValue); try { - setState(601); + setState(625); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,57,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,59,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { - setState(599); + setState(623); decimalValue(); } break; case 2: enterOuterAlt(_localctx, 2); { - setState(600); + setState(624); integerValue(); } break; @@ -5176,17 +5335,17 @@ public T accept(ParseTreeVisitor visitor) { public final DecimalValueContext decimalValue() throws RecognitionException { DecimalValueContext _localctx = new DecimalValueContext(_ctx, getState()); - enterRule(_localctx, 110, RULE_decimalValue); + enterRule(_localctx, 114, RULE_decimalValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(604); + setState(628); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(603); + setState(627); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -5199,7 +5358,7 @@ public final DecimalValueContext decimalValue() throws RecognitionException { } } - setState(606); + setState(630); match(DECIMAL_LITERAL); } } @@ -5241,17 +5400,17 @@ public T accept(ParseTreeVisitor visitor) { public final IntegerValueContext integerValue() throws RecognitionException { IntegerValueContext _localctx = new IntegerValueContext(_ctx, getState()); - enterRule(_localctx, 112, RULE_integerValue); + enterRule(_localctx, 116, RULE_integerValue); int _la; try { enterOuterAlt(_localctx, 1); { - setState(609); + setState(633); _errHandler.sync(this); _la = _input.LA(1); if (_la==PLUS || _la==MINUS) { { - setState(608); + setState(632); _la = _input.LA(1); if ( !(_la==PLUS || _la==MINUS) ) { _errHandler.recoverInline(this); @@ -5264,7 +5423,7 @@ public final IntegerValueContext integerValue() throws RecognitionException { } } - setState(611); + setState(635); match(INTEGER_LITERAL); } } @@ -5304,11 +5463,11 @@ public T accept(ParseTreeVisitor visitor) { public final StringContext string() throws RecognitionException { StringContext _localctx = new StringContext(_ctx, getState()); - enterRule(_localctx, 114, RULE_string); + enterRule(_localctx, 118, RULE_string); try { enterOuterAlt(_localctx, 1); { - setState(613); + setState(637); match(QUOTED_STRING); } } @@ -5353,14 +5512,14 @@ public T accept(ParseTreeVisitor visitor) { public final ComparisonOperatorContext comparisonOperator() throws RecognitionException { ComparisonOperatorContext _localctx = new ComparisonOperatorContext(_ctx, getState()); - enterRule(_localctx, 116, RULE_comparisonOperator); + enterRule(_localctx, 120, RULE_comparisonOperator); int _la; try { enterOuterAlt(_localctx, 1); { - setState(615); + setState(639); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & -432345564227567616L) != 0)) ) { + if ( !(((((_la - 61)) & ~0x3f) == 0 && ((1L << (_la - 61)) & 125L) != 0)) ) { _errHandler.recoverInline(this); } else { @@ -5409,13 +5568,13 @@ public T accept(ParseTreeVisitor visitor) { public final ExplainCommandContext explainCommand() throws RecognitionException { ExplainCommandContext _localctx = new ExplainCommandContext(_ctx, getState()); - enterRule(_localctx, 118, RULE_explainCommand); + enterRule(_localctx, 122, RULE_explainCommand); try { enterOuterAlt(_localctx, 1); { - setState(617); + setState(641); match(EXPLAIN); - setState(618); + setState(642); subqueryExpression(); } } @@ -5459,15 +5618,15 @@ public T accept(ParseTreeVisitor visitor) { public final SubqueryExpressionContext subqueryExpression() throws RecognitionException { SubqueryExpressionContext _localctx = new SubqueryExpressionContext(_ctx, getState()); - enterRule(_localctx, 120, RULE_subqueryExpression); + enterRule(_localctx, 124, RULE_subqueryExpression); try { enterOuterAlt(_localctx, 1); { - setState(620); + setState(644); match(OPENING_BRACKET); - setState(621); + setState(645); query(0); - setState(622); + setState(646); match(CLOSING_BRACKET); } } @@ -5519,14 +5678,14 @@ public T accept(ParseTreeVisitor visitor) { public final ShowCommandContext showCommand() throws RecognitionException { ShowCommandContext _localctx = new ShowCommandContext(_ctx, getState()); - enterRule(_localctx, 122, RULE_showCommand); + enterRule(_localctx, 126, RULE_showCommand); try { _localctx = new ShowInfoContext(_localctx); enterOuterAlt(_localctx, 1); { - setState(624); + setState(648); match(SHOW); - setState(625); + setState(649); match(INFO); } } @@ -5584,53 +5743,53 @@ public T accept(ParseTreeVisitor visitor) { public final EnrichCommandContext enrichCommand() throws RecognitionException { EnrichCommandContext _localctx = new EnrichCommandContext(_ctx, getState()); - enterRule(_localctx, 124, RULE_enrichCommand); + enterRule(_localctx, 128, RULE_enrichCommand); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(627); + setState(651); match(ENRICH); - setState(628); + setState(652); ((EnrichCommandContext)_localctx).policyName = match(ENRICH_POLICY_NAME); - setState(631); + setState(655); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,60,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,62,_ctx) ) { case 1: { - setState(629); + setState(653); match(ON); - setState(630); + setState(654); ((EnrichCommandContext)_localctx).matchField = qualifiedNamePattern(); } break; } - setState(642); + setState(666); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,62,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) { case 1: { - setState(633); + setState(657); match(WITH); - setState(634); + setState(658); enrichWithClause(); - setState(639); + setState(663); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,61,_ctx); + _alt = getInterpreter().adaptivePredict(_input,63,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(635); + setState(659); match(COMMA); - setState(636); + setState(660); enrichWithClause(); } } } - setState(641); + setState(665); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,61,_ctx); + _alt = getInterpreter().adaptivePredict(_input,63,_ctx); } } break; @@ -5681,23 +5840,23 @@ public T accept(ParseTreeVisitor visitor) { public final EnrichWithClauseContext enrichWithClause() throws RecognitionException { EnrichWithClauseContext _localctx = new EnrichWithClauseContext(_ctx, getState()); - enterRule(_localctx, 126, RULE_enrichWithClause); + enterRule(_localctx, 130, RULE_enrichWithClause); try { enterOuterAlt(_localctx, 1); { - setState(647); + setState(671); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,63,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,65,_ctx) ) { case 1: { - setState(644); + setState(668); ((EnrichWithClauseContext)_localctx).newName = qualifiedNamePattern(); - setState(645); + setState(669); match(ASSIGN); } break; } - setState(649); + setState(673); ((EnrichWithClauseContext)_localctx).enrichField = qualifiedNamePattern(); } } @@ -5750,38 +5909,38 @@ public T accept(ParseTreeVisitor visitor) { public final ChangePointCommandContext changePointCommand() throws RecognitionException { ChangePointCommandContext _localctx = new ChangePointCommandContext(_ctx, getState()); - enterRule(_localctx, 128, RULE_changePointCommand); + enterRule(_localctx, 132, RULE_changePointCommand); try { enterOuterAlt(_localctx, 1); { - setState(651); + setState(675); match(CHANGE_POINT); - setState(652); + setState(676); ((ChangePointCommandContext)_localctx).value = qualifiedName(); - setState(655); + setState(679); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,64,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) { case 1: { - setState(653); + setState(677); match(ON); - setState(654); + setState(678); ((ChangePointCommandContext)_localctx).key = qualifiedName(); } break; } - setState(662); + setState(686); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,65,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,67,_ctx) ) { case 1: { - setState(657); + setState(681); match(AS); - setState(658); + setState(682); ((ChangePointCommandContext)_localctx).targetType = qualifiedName(); - setState(659); + setState(683); match(COMMA); - setState(660); + setState(684); ((ChangePointCommandContext)_localctx).targetPvalue = qualifiedName(); } break; @@ -5833,17 +5992,17 @@ public T accept(ParseTreeVisitor visitor) { public final LookupCommandContext lookupCommand() throws RecognitionException { LookupCommandContext _localctx = new LookupCommandContext(_ctx, getState()); - enterRule(_localctx, 130, RULE_lookupCommand); + enterRule(_localctx, 134, RULE_lookupCommand); try { enterOuterAlt(_localctx, 1); { - setState(664); + setState(688); match(DEV_LOOKUP); - setState(665); + setState(689); ((LookupCommandContext)_localctx).tableName = indexPattern(); - setState(666); + setState(690); match(ON); - setState(667); + setState(691); ((LookupCommandContext)_localctx).matchFields = qualifiedNamePatterns(); } } @@ -5892,22 +6051,22 @@ public T accept(ParseTreeVisitor visitor) { public final InlinestatsCommandContext inlinestatsCommand() throws RecognitionException { InlinestatsCommandContext _localctx = new InlinestatsCommandContext(_ctx, getState()); - enterRule(_localctx, 132, RULE_inlinestatsCommand); + enterRule(_localctx, 136, RULE_inlinestatsCommand); try { enterOuterAlt(_localctx, 1); { - setState(669); + setState(693); match(DEV_INLINESTATS); - setState(670); + setState(694); ((InlinestatsCommandContext)_localctx).stats = aggFields(); - setState(673); + setState(697); _errHandler.sync(this); - switch ( getInterpreter().adaptivePredict(_input,66,_ctx) ) { + switch ( getInterpreter().adaptivePredict(_input,68,_ctx) ) { case 1: { - setState(671); + setState(695); match(BY); - setState(672); + setState(696); ((InlinestatsCommandContext)_localctx).grouping = fields(); } break; @@ -5960,15 +6119,15 @@ public T accept(ParseTreeVisitor visitor) { public final JoinCommandContext joinCommand() throws RecognitionException { JoinCommandContext _localctx = new JoinCommandContext(_ctx, getState()); - enterRule(_localctx, 134, RULE_joinCommand); + enterRule(_localctx, 138, RULE_joinCommand); int _la; try { enterOuterAlt(_localctx, 1); { - setState(675); + setState(699); ((JoinCommandContext)_localctx).type = _input.LT(1); _la = _input.LA(1); - if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 25296896L) != 0)) ) { + if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 100925440L) != 0)) ) { ((JoinCommandContext)_localctx).type = (Token)_errHandler.recoverInline(this); } else { @@ -5976,11 +6135,11 @@ public final JoinCommandContext joinCommand() throws RecognitionException { _errHandler.reportMatch(this); consume(); } - setState(676); + setState(700); match(JOIN); - setState(677); + setState(701); joinTarget(); - setState(678); + setState(702); joinCondition(); } } @@ -6023,11 +6182,11 @@ public T accept(ParseTreeVisitor visitor) { public final JoinTargetContext joinTarget() throws RecognitionException { JoinTargetContext _localctx = new JoinTargetContext(_ctx, getState()); - enterRule(_localctx, 136, RULE_joinTarget); + enterRule(_localctx, 140, RULE_joinTarget); try { enterOuterAlt(_localctx, 1); { - setState(680); + setState(704); ((JoinTargetContext)_localctx).index = indexPattern(); } } @@ -6077,32 +6236,32 @@ public T accept(ParseTreeVisitor visitor) { public final JoinConditionContext joinCondition() throws RecognitionException { JoinConditionContext _localctx = new JoinConditionContext(_ctx, getState()); - enterRule(_localctx, 138, RULE_joinCondition); + enterRule(_localctx, 142, RULE_joinCondition); try { int _alt; enterOuterAlt(_localctx, 1); { - setState(682); + setState(706); match(ON); - setState(683); + setState(707); joinPredicate(); - setState(688); + setState(712); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,67,_ctx); + _alt = getInterpreter().adaptivePredict(_input,69,_ctx); while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) { if ( _alt==1 ) { { { - setState(684); + setState(708); match(COMMA); - setState(685); + setState(709); joinPredicate(); } } } - setState(690); + setState(714); _errHandler.sync(this); - _alt = getInterpreter().adaptivePredict(_input,67,_ctx); + _alt = getInterpreter().adaptivePredict(_input,69,_ctx); } } } @@ -6144,11 +6303,11 @@ public T accept(ParseTreeVisitor visitor) { public final JoinPredicateContext joinPredicate() throws RecognitionException { JoinPredicateContext _localctx = new JoinPredicateContext(_ctx, getState()); - enterRule(_localctx, 140, RULE_joinPredicate); + enterRule(_localctx, 144, RULE_joinPredicate); try { enterOuterAlt(_localctx, 1); { - setState(691); + setState(715); valueExpression(); } } @@ -6163,6 +6322,157 @@ public final JoinPredicateContext joinPredicate() throws RecognitionException { return _localctx; } + @SuppressWarnings("CheckReturnValue") + public static class RerankCommandContext extends ParserRuleContext { + public ConstantContext queryText; + public IdentifierOrParameterContext inferenceId; + public TerminalNode DEV_RERANK() { return getToken(EsqlBaseParser.DEV_RERANK, 0); } + public TerminalNode ON() { return getToken(EsqlBaseParser.ON, 0); } + public RerankFieldsContext rerankFields() { + return getRuleContext(RerankFieldsContext.class,0); + } + public ConstantContext constant() { + return getRuleContext(ConstantContext.class,0); + } + public TerminalNode WITH() { return getToken(EsqlBaseParser.WITH, 0); } + public IdentifierOrParameterContext identifierOrParameter() { + return getRuleContext(IdentifierOrParameterContext.class,0); + } + @SuppressWarnings("this-escape") + public RerankCommandContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_rerankCommand; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterRerankCommand(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitRerankCommand(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitRerankCommand(this); + else return visitor.visitChildren(this); + } + } + + public final RerankCommandContext rerankCommand() throws RecognitionException { + RerankCommandContext _localctx = new RerankCommandContext(_ctx, getState()); + enterRule(_localctx, 146, RULE_rerankCommand); + try { + enterOuterAlt(_localctx, 1); + { + setState(717); + match(DEV_RERANK); + setState(718); + ((RerankCommandContext)_localctx).queryText = constant(); + setState(719); + match(ON); + setState(720); + rerankFields(); + setState(723); + _errHandler.sync(this); + switch ( getInterpreter().adaptivePredict(_input,70,_ctx) ) { + case 1: + { + setState(721); + match(WITH); + setState(722); + ((RerankCommandContext)_localctx).inferenceId = identifierOrParameter(); + } + break; + } + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + + @SuppressWarnings("CheckReturnValue") + public static class CompletionCommandContext extends ParserRuleContext { + public QualifiedNameContext targetField; + public PrimaryExpressionContext prompt; + public IdentifierOrParameterContext inferenceId; + public TerminalNode COMPLETION() { return getToken(EsqlBaseParser.COMPLETION, 0); } + public TerminalNode WITH() { return getToken(EsqlBaseParser.WITH, 0); } + public PrimaryExpressionContext primaryExpression() { + return getRuleContext(PrimaryExpressionContext.class,0); + } + public IdentifierOrParameterContext identifierOrParameter() { + return getRuleContext(IdentifierOrParameterContext.class,0); + } + public TerminalNode ASSIGN() { return getToken(EsqlBaseParser.ASSIGN, 0); } + public QualifiedNameContext qualifiedName() { + return getRuleContext(QualifiedNameContext.class,0); + } + @SuppressWarnings("this-escape") + public CompletionCommandContext(ParserRuleContext parent, int invokingState) { + super(parent, invokingState); + } + @Override public int getRuleIndex() { return RULE_completionCommand; } + @Override + public void enterRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).enterCompletionCommand(this); + } + @Override + public void exitRule(ParseTreeListener listener) { + if ( listener instanceof EsqlBaseParserListener ) ((EsqlBaseParserListener)listener).exitCompletionCommand(this); + } + @Override + public T accept(ParseTreeVisitor visitor) { + if ( visitor instanceof EsqlBaseParserVisitor ) return ((EsqlBaseParserVisitor)visitor).visitCompletionCommand(this); + else return visitor.visitChildren(this); + } + } + + public final CompletionCommandContext completionCommand() throws RecognitionException { + CompletionCommandContext _localctx = new CompletionCommandContext(_ctx, getState()); + enterRule(_localctx, 148, RULE_completionCommand); + try { + enterOuterAlt(_localctx, 1); + { + setState(725); + match(COMPLETION); + setState(729); + _errHandler.sync(this); + switch ( getInterpreter().adaptivePredict(_input,71,_ctx) ) { + case 1: + { + setState(726); + ((CompletionCommandContext)_localctx).targetField = qualifiedName(); + setState(727); + match(ASSIGN); + } + break; + } + setState(731); + ((CompletionCommandContext)_localctx).prompt = primaryExpression(0); + setState(732); + match(WITH); + setState(733); + ((CompletionCommandContext)_localctx).inferenceId = identifierOrParameter(); + } + } + catch (RecognitionException re) { + _localctx.exception = re; + _errHandler.reportError(this, re); + _errHandler.recover(this, re); + } + finally { + exitRule(); + } + return _localctx; + } + public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) { switch (ruleIndex) { case 1: @@ -6200,37 +6510,39 @@ private boolean processingCommand_sempred(ProcessingCommandContext _localctx, in return this.isDevVersion(); case 3: return this.isDevVersion(); + case 4: + return this.isDevVersion(); } return true; } private boolean booleanExpression_sempred(BooleanExpressionContext _localctx, int predIndex) { switch (predIndex) { - case 4: - return precpred(_ctx, 5); case 5: + return precpred(_ctx, 5); + case 6: return precpred(_ctx, 4); } return true; } private boolean operatorExpression_sempred(OperatorExpressionContext _localctx, int predIndex) { switch (predIndex) { - case 6: - return precpred(_ctx, 2); case 7: + return precpred(_ctx, 2); + case 8: return precpred(_ctx, 1); } return true; } private boolean primaryExpression_sempred(PrimaryExpressionContext _localctx, int predIndex) { switch (predIndex) { - case 8: + case 9: return precpred(_ctx, 1); } return true; } public static final String _serializedATN = - "\u0004\u0001\u0088\u02b6\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001"+ + "\u0004\u0001\u008a\u02e0\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"+ @@ -6248,423 +6560,448 @@ private boolean primaryExpression_sempred(PrimaryExpressionContext _localctx, in "6\u00027\u00077\u00028\u00078\u00029\u00079\u0002:\u0007:\u0002;\u0007"+ ";\u0002<\u0007<\u0002=\u0007=\u0002>\u0007>\u0002?\u0007?\u0002@\u0007"+ "@\u0002A\u0007A\u0002B\u0007B\u0002C\u0007C\u0002D\u0007D\u0002E\u0007"+ - "E\u0002F\u0007F\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001"+ - "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0005\u0001\u0098"+ - "\b\u0001\n\u0001\f\u0001\u009b\t\u0001\u0001\u0002\u0001\u0002\u0001\u0002"+ - "\u0001\u0002\u0001\u0002\u0001\u0002\u0003\u0002\u00a3\b\u0002\u0001\u0003"+ + "E\u0002F\u0007F\u0002G\u0007G\u0002H\u0007H\u0002I\u0007I\u0002J\u0007"+ + "J\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001"+ + "\u0001\u0001\u0001\u0001\u0001\u0001\u0005\u0001\u00a0\b\u0001\n\u0001"+ + "\f\u0001\u00a3\t\u0001\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002"+ + "\u0001\u0002\u0001\u0002\u0003\u0002\u00ab\b\u0002\u0001\u0003\u0001\u0003"+ + "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+ - "\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0003\u0003"+ - "\u00b7\b\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005"+ - "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0003\u0005"+ - "\u00c3\b\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+ - "\u0005\u0005\u00ca\b\u0005\n\u0005\f\u0005\u00cd\t\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0003\u0005\u00d4\b\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0003\u0005\u00d9\b\u0005\u0001\u0005\u0001"+ - "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0005\u0005\u00e1"+ - "\b\u0005\n\u0005\f\u0005\u00e4\t\u0005\u0001\u0006\u0001\u0006\u0003\u0006"+ - "\u00e8\b\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ - "\u0003\u0006\u00ef\b\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0003\u0006"+ - "\u00f4\b\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0003\u0007\u00f9\b"+ - "\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001"+ - "\b\u0001\b\u0003\b\u0103\b\b\u0001\t\u0001\t\u0001\t\u0001\t\u0003\t\u0109"+ - "\b\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0005\t\u0111\b\t"+ - "\n\t\f\t\u0114\t\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+ - "\n\u0001\n\u0003\n\u011e\b\n\u0001\n\u0001\n\u0001\n\u0005\n\u0123\b\n"+ - "\n\n\f\n\u0126\t\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001"+ - "\u000b\u0001\u000b\u0005\u000b\u012e\b\u000b\n\u000b\f\u000b\u0131\t\u000b"+ - "\u0001\u000b\u0001\u000b\u0003\u000b\u0135\b\u000b\u0003\u000b\u0137\b"+ - "\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r"+ - "\u0001\r\u0005\r\u0141\b\r\n\r\f\r\u0144\t\r\u0001\r\u0001\r\u0001\u000e"+ - "\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u0010"+ - "\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0005\u0011"+ - "\u0154\b\u0011\n\u0011\f\u0011\u0157\t\u0011\u0001\u0012\u0001\u0012\u0001"+ - "\u0012\u0003\u0012\u015c\b\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001"+ - "\u0013\u0001\u0013\u0001\u0013\u0005\u0013\u0164\b\u0013\n\u0013\f\u0013"+ - "\u0167\t\u0013\u0001\u0013\u0003\u0013\u016a\b\u0013\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0003\u0014\u016f\b\u0014\u0001\u0014\u0001\u0014\u0001"+ - "\u0014\u0001\u0014\u0003\u0014\u0175\b\u0014\u0003\u0014\u0177\b\u0014"+ - "\u0001\u0015\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017"+ - "\u0001\u0018\u0001\u0018\u0003\u0018\u0181\b\u0018\u0001\u0019\u0001\u0019"+ - "\u0001\u0019\u0001\u0019\u0005\u0019\u0187\b\u0019\n\u0019\f\u0019\u018a"+ - "\t\u0019\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001a\u0001\u001b\u0001"+ - "\u001b\u0001\u001b\u0001\u001b\u0005\u001b\u0194\b\u001b\n\u001b\f\u001b"+ - "\u0197\t\u001b\u0001\u001b\u0003\u001b\u019a\b\u001b\u0001\u001b\u0001"+ - "\u001b\u0003\u001b\u019e\b\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0001"+ - "\u001d\u0001\u001d\u0003\u001d\u01a5\b\u001d\u0001\u001d\u0001\u001d\u0003"+ - "\u001d\u01a9\b\u001d\u0001\u001e\u0001\u001e\u0001\u001e\u0005\u001e\u01ae"+ - "\b\u001e\n\u001e\f\u001e\u01b1\t\u001e\u0001\u001f\u0001\u001f\u0001\u001f"+ - "\u0003\u001f\u01b6\b\u001f\u0001 \u0001 \u0001 \u0005 \u01bb\b \n \f "+ - "\u01be\t \u0001!\u0001!\u0001!\u0005!\u01c3\b!\n!\f!\u01c6\t!\u0001\""+ - "\u0001\"\u0001\"\u0005\"\u01cb\b\"\n\"\f\"\u01ce\t\"\u0001#\u0001#\u0001"+ - "$\u0001$\u0001$\u0003$\u01d5\b$\u0001%\u0001%\u0001%\u0001%\u0001%\u0001"+ - "%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0005%\u01e4\b%\n%"+ - "\f%\u01e7\t%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0005%\u01ef\b"+ - "%\n%\f%\u01f2\t%\u0001%\u0001%\u0001%\u0001%\u0001%\u0001%\u0005%\u01fa"+ - "\b%\n%\f%\u01fd\t%\u0001%\u0001%\u0003%\u0201\b%\u0001&\u0001&\u0003&"+ - "\u0205\b&\u0001\'\u0001\'\u0003\'\u0209\b\'\u0001(\u0001(\u0001(\u0003"+ - "(\u020e\b(\u0001)\u0001)\u0001)\u0001*\u0001*\u0001*\u0001*\u0005*\u0217"+ - "\b*\n*\f*\u021a\t*\u0001+\u0001+\u0003+\u021e\b+\u0001+\u0001+\u0003+"+ - "\u0222\b+\u0001,\u0001,\u0001,\u0001-\u0001-\u0001-\u0001.\u0001.\u0001"+ - ".\u0001.\u0005.\u022e\b.\n.\f.\u0231\t.\u0001/\u0001/\u0001/\u0001/\u0001"+ - "/\u0001/\u0001/\u0001/\u0003/\u023b\b/\u00010\u00010\u00010\u00010\u0003"+ - "0\u0241\b0\u00011\u00011\u00011\u00011\u00012\u00012\u00012\u00013\u0001"+ - "3\u00013\u00053\u024d\b3\n3\f3\u0250\t3\u00014\u00014\u00014\u00014\u0001"+ - "5\u00015\u00016\u00016\u00036\u025a\b6\u00017\u00037\u025d\b7\u00017\u0001"+ - "7\u00018\u00038\u0262\b8\u00018\u00018\u00019\u00019\u0001:\u0001:\u0001"+ - ";\u0001;\u0001;\u0001<\u0001<\u0001<\u0001<\u0001=\u0001=\u0001=\u0001"+ - ">\u0001>\u0001>\u0001>\u0003>\u0278\b>\u0001>\u0001>\u0001>\u0001>\u0005"+ - ">\u027e\b>\n>\f>\u0281\t>\u0003>\u0283\b>\u0001?\u0001?\u0001?\u0003?"+ - "\u0288\b?\u0001?\u0001?\u0001@\u0001@\u0001@\u0001@\u0003@\u0290\b@\u0001"+ - "@\u0001@\u0001@\u0001@\u0001@\u0003@\u0297\b@\u0001A\u0001A\u0001A\u0001"+ - "A\u0001A\u0001B\u0001B\u0001B\u0001B\u0003B\u02a2\bB\u0001C\u0001C\u0001"+ - "C\u0001C\u0001C\u0001D\u0001D\u0001E\u0001E\u0001E\u0001E\u0005E\u02af"+ - "\bE\nE\fE\u02b2\tE\u0001F\u0001F\u0001F\u0000\u0004\u0002\n\u0012\u0014"+ - "G\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\u0000\t\u0001\u0000@A\u0001\u0000BD\u0002"+ - "\u0000\u001e\u001eUU\u0001\u0000LM\u0002\u0000##((\u0002\u0000++..\u0002"+ - "\u0000**88\u0002\u000099;?\u0002\u0000\u0011\u0011\u0017\u0018\u02d4\u0000"+ - "\u008e\u0001\u0000\u0000\u0000\u0002\u0091\u0001\u0000\u0000\u0000\u0004"+ - "\u00a2\u0001\u0000\u0000\u0000\u0006\u00b6\u0001\u0000\u0000\u0000\b\u00b8"+ - "\u0001\u0000\u0000\u0000\n\u00d8\u0001\u0000\u0000\u0000\f\u00f3\u0001"+ - "\u0000\u0000\u0000\u000e\u00f5\u0001\u0000\u0000\u0000\u0010\u0102\u0001"+ - "\u0000\u0000\u0000\u0012\u0108\u0001\u0000\u0000\u0000\u0014\u011d\u0001"+ - "\u0000\u0000\u0000\u0016\u0127\u0001\u0000\u0000\u0000\u0018\u013a\u0001"+ - "\u0000\u0000\u0000\u001a\u013c\u0001\u0000\u0000\u0000\u001c\u0147\u0001"+ - "\u0000\u0000\u0000\u001e\u014b\u0001\u0000\u0000\u0000 \u014d\u0001\u0000"+ - "\u0000\u0000\"\u0150\u0001\u0000\u0000\u0000$\u015b\u0001\u0000\u0000"+ - "\u0000&\u015f\u0001\u0000\u0000\u0000(\u0176\u0001\u0000\u0000\u0000*"+ - "\u0178\u0001\u0000\u0000\u0000,\u017a\u0001\u0000\u0000\u0000.\u017c\u0001"+ - "\u0000\u0000\u00000\u0180\u0001\u0000\u0000\u00002\u0182\u0001\u0000\u0000"+ - "\u00004\u018b\u0001\u0000\u0000\u00006\u018f\u0001\u0000\u0000\u00008"+ - "\u019f\u0001\u0000\u0000\u0000:\u01a2\u0001\u0000\u0000\u0000<\u01aa\u0001"+ - "\u0000\u0000\u0000>\u01b2\u0001\u0000\u0000\u0000@\u01b7\u0001\u0000\u0000"+ - "\u0000B\u01bf\u0001\u0000\u0000\u0000D\u01c7\u0001\u0000\u0000\u0000F"+ - "\u01cf\u0001\u0000\u0000\u0000H\u01d4\u0001\u0000\u0000\u0000J\u0200\u0001"+ - "\u0000\u0000\u0000L\u0204\u0001\u0000\u0000\u0000N\u0208\u0001\u0000\u0000"+ - "\u0000P\u020d\u0001\u0000\u0000\u0000R\u020f\u0001\u0000\u0000\u0000T"+ - "\u0212\u0001\u0000\u0000\u0000V\u021b\u0001\u0000\u0000\u0000X\u0223\u0001"+ - "\u0000\u0000\u0000Z\u0226\u0001\u0000\u0000\u0000\\\u0229\u0001\u0000"+ - "\u0000\u0000^\u023a\u0001\u0000\u0000\u0000`\u023c\u0001\u0000\u0000\u0000"+ - "b\u0242\u0001\u0000\u0000\u0000d\u0246\u0001\u0000\u0000\u0000f\u0249"+ - "\u0001\u0000\u0000\u0000h\u0251\u0001\u0000\u0000\u0000j\u0255\u0001\u0000"+ - "\u0000\u0000l\u0259\u0001\u0000\u0000\u0000n\u025c\u0001\u0000\u0000\u0000"+ - "p\u0261\u0001\u0000\u0000\u0000r\u0265\u0001\u0000\u0000\u0000t\u0267"+ - "\u0001\u0000\u0000\u0000v\u0269\u0001\u0000\u0000\u0000x\u026c\u0001\u0000"+ - "\u0000\u0000z\u0270\u0001\u0000\u0000\u0000|\u0273\u0001\u0000\u0000\u0000"+ - "~\u0287\u0001\u0000\u0000\u0000\u0080\u028b\u0001\u0000\u0000\u0000\u0082"+ - "\u0298\u0001\u0000\u0000\u0000\u0084\u029d\u0001\u0000\u0000\u0000\u0086"+ - "\u02a3\u0001\u0000\u0000\u0000\u0088\u02a8\u0001\u0000\u0000\u0000\u008a"+ - "\u02aa\u0001\u0000\u0000\u0000\u008c\u02b3\u0001\u0000\u0000\u0000\u008e"+ - "\u008f\u0003\u0002\u0001\u0000\u008f\u0090\u0005\u0000\u0000\u0001\u0090"+ - "\u0001\u0001\u0000\u0000\u0000\u0091\u0092\u0006\u0001\uffff\uffff\u0000"+ - "\u0092\u0093\u0003\u0004\u0002\u0000\u0093\u0099\u0001\u0000\u0000\u0000"+ - "\u0094\u0095\n\u0001\u0000\u0000\u0095\u0096\u0005\u001d\u0000\u0000\u0096"+ - "\u0098\u0003\u0006\u0003\u0000\u0097\u0094\u0001\u0000\u0000\u0000\u0098"+ - "\u009b\u0001\u0000\u0000\u0000\u0099\u0097\u0001\u0000\u0000\u0000\u0099"+ - "\u009a\u0001\u0000\u0000\u0000\u009a\u0003\u0001\u0000\u0000\u0000\u009b"+ - "\u0099\u0001\u0000\u0000\u0000\u009c\u00a3\u0003v;\u0000\u009d\u00a3\u0003"+ - "&\u0013\u0000\u009e\u00a3\u0003 \u0010\u0000\u009f\u00a3\u0003z=\u0000"+ - "\u00a0\u00a1\u0004\u0002\u0001\u0000\u00a1\u00a3\u00036\u001b\u0000\u00a2"+ - "\u009c\u0001\u0000\u0000\u0000\u00a2\u009d\u0001\u0000\u0000\u0000\u00a2"+ - "\u009e\u0001\u0000\u0000\u0000\u00a2\u009f\u0001\u0000\u0000\u0000\u00a2"+ - "\u00a0\u0001\u0000\u0000\u0000\u00a3\u0005\u0001\u0000\u0000\u0000\u00a4"+ - "\u00b7\u00038\u001c\u0000\u00a5\u00b7\u0003\b\u0004\u0000\u00a6\u00b7"+ - "\u0003X,\u0000\u00a7\u00b7\u0003R)\u0000\u00a8\u00b7\u0003:\u001d\u0000"+ - "\u00a9\u00b7\u0003T*\u0000\u00aa\u00b7\u0003Z-\u0000\u00ab\u00b7\u0003"+ - "\\.\u0000\u00ac\u00b7\u0003`0\u0000\u00ad\u00b7\u0003b1\u0000\u00ae\u00b7"+ - "\u0003|>\u0000\u00af\u00b7\u0003d2\u0000\u00b0\u00b7\u0003\u0086C\u0000"+ - "\u00b1\u00b7\u0003\u0080@\u0000\u00b2\u00b3\u0004\u0003\u0002\u0000\u00b3"+ - "\u00b7\u0003\u0084B\u0000\u00b4\u00b5\u0004\u0003\u0003\u0000\u00b5\u00b7"+ - "\u0003\u0082A\u0000\u00b6\u00a4\u0001\u0000\u0000\u0000\u00b6\u00a5\u0001"+ - "\u0000\u0000\u0000\u00b6\u00a6\u0001\u0000\u0000\u0000\u00b6\u00a7\u0001"+ - "\u0000\u0000\u0000\u00b6\u00a8\u0001\u0000\u0000\u0000\u00b6\u00a9\u0001"+ - "\u0000\u0000\u0000\u00b6\u00aa\u0001\u0000\u0000\u0000\u00b6\u00ab\u0001"+ - "\u0000\u0000\u0000\u00b6\u00ac\u0001\u0000\u0000\u0000\u00b6\u00ad\u0001"+ - "\u0000\u0000\u0000\u00b6\u00ae\u0001\u0000\u0000\u0000\u00b6\u00af\u0001"+ - "\u0000\u0000\u0000\u00b6\u00b0\u0001\u0000\u0000\u0000\u00b6\u00b1\u0001"+ - "\u0000\u0000\u0000\u00b6\u00b2\u0001\u0000\u0000\u0000\u00b6\u00b4\u0001"+ - "\u0000\u0000\u0000\u00b7\u0007\u0001\u0000\u0000\u0000\u00b8\u00b9\u0005"+ - "\u0010\u0000\u0000\u00b9\u00ba\u0003\n\u0005\u0000\u00ba\t\u0001\u0000"+ - "\u0000\u0000\u00bb\u00bc\u0006\u0005\uffff\uffff\u0000\u00bc\u00bd\u0005"+ - "1\u0000\u0000\u00bd\u00d9\u0003\n\u0005\b\u00be\u00d9\u0003\u0010\b\u0000"+ - "\u00bf\u00d9\u0003\f\u0006\u0000\u00c0\u00c2\u0003\u0010\b\u0000\u00c1"+ - "\u00c3\u00051\u0000\u0000\u00c2\u00c1\u0001\u0000\u0000\u0000\u00c2\u00c3"+ - "\u0001\u0000\u0000\u0000\u00c3\u00c4\u0001\u0000\u0000\u0000\u00c4\u00c5"+ - "\u0005,\u0000\u0000\u00c5\u00c6\u00050\u0000\u0000\u00c6\u00cb\u0003\u0010"+ - "\b\u0000\u00c7\u00c8\u0005\'\u0000\u0000\u00c8\u00ca\u0003\u0010\b\u0000"+ - "\u00c9\u00c7\u0001\u0000\u0000\u0000\u00ca\u00cd\u0001\u0000\u0000\u0000"+ - "\u00cb\u00c9\u0001\u0000\u0000\u0000\u00cb\u00cc\u0001\u0000\u0000\u0000"+ - "\u00cc\u00ce\u0001\u0000\u0000\u0000\u00cd\u00cb\u0001\u0000\u0000\u0000"+ - "\u00ce\u00cf\u00057\u0000\u0000\u00cf\u00d9\u0001\u0000\u0000\u0000\u00d0"+ - "\u00d1\u0003\u0010\b\u0000\u00d1\u00d3\u0005-\u0000\u0000\u00d2\u00d4"+ - "\u00051\u0000\u0000\u00d3\u00d2\u0001\u0000\u0000\u0000\u00d3\u00d4\u0001"+ - "\u0000\u0000\u0000\u00d4\u00d5\u0001\u0000\u0000\u0000\u00d5\u00d6\u0005"+ - "2\u0000\u0000\u00d6\u00d9\u0001\u0000\u0000\u0000\u00d7\u00d9\u0003\u000e"+ - "\u0007\u0000\u00d8\u00bb\u0001\u0000\u0000\u0000\u00d8\u00be\u0001\u0000"+ - "\u0000\u0000\u00d8\u00bf\u0001\u0000\u0000\u0000\u00d8\u00c0\u0001\u0000"+ - "\u0000\u0000\u00d8\u00d0\u0001\u0000\u0000\u0000\u00d8\u00d7\u0001\u0000"+ - "\u0000\u0000\u00d9\u00e2\u0001\u0000\u0000\u0000\u00da\u00db\n\u0005\u0000"+ - "\u0000\u00db\u00dc\u0005\"\u0000\u0000\u00dc\u00e1\u0003\n\u0005\u0006"+ - "\u00dd\u00de\n\u0004\u0000\u0000\u00de\u00df\u00054\u0000\u0000\u00df"+ - "\u00e1\u0003\n\u0005\u0005\u00e0\u00da\u0001\u0000\u0000\u0000\u00e0\u00dd"+ - "\u0001\u0000\u0000\u0000\u00e1\u00e4\u0001\u0000\u0000\u0000\u00e2\u00e0"+ - "\u0001\u0000\u0000\u0000\u00e2\u00e3\u0001\u0000\u0000\u0000\u00e3\u000b"+ - "\u0001\u0000\u0000\u0000\u00e4\u00e2\u0001\u0000\u0000\u0000\u00e5\u00e7"+ - "\u0003\u0010\b\u0000\u00e6\u00e8\u00051\u0000\u0000\u00e7\u00e6\u0001"+ - "\u0000\u0000\u0000\u00e7\u00e8\u0001\u0000\u0000\u0000\u00e8\u00e9\u0001"+ - "\u0000\u0000\u0000\u00e9\u00ea\u0005/\u0000\u0000\u00ea\u00eb\u0003r9"+ - "\u0000\u00eb\u00f4\u0001\u0000\u0000\u0000\u00ec\u00ee\u0003\u0010\b\u0000"+ - "\u00ed\u00ef\u00051\u0000\u0000\u00ee\u00ed\u0001\u0000\u0000\u0000\u00ee"+ - "\u00ef\u0001\u0000\u0000\u0000\u00ef\u00f0\u0001\u0000\u0000\u0000\u00f0"+ - "\u00f1\u00056\u0000\u0000\u00f1\u00f2\u0003r9\u0000\u00f2\u00f4\u0001"+ - "\u0000\u0000\u0000\u00f3\u00e5\u0001\u0000\u0000\u0000\u00f3\u00ec\u0001"+ - "\u0000\u0000\u0000\u00f4\r\u0001\u0000\u0000\u0000\u00f5\u00f8\u0003@"+ - " \u0000\u00f6\u00f7\u0005%\u0000\u0000\u00f7\u00f9\u0003\u001e\u000f\u0000"+ - "\u00f8\u00f6\u0001\u0000\u0000\u0000\u00f8\u00f9\u0001\u0000\u0000\u0000"+ - "\u00f9\u00fa\u0001\u0000\u0000\u0000\u00fa\u00fb\u0005&\u0000\u0000\u00fb"+ - "\u00fc\u0003J%\u0000\u00fc\u000f\u0001\u0000\u0000\u0000\u00fd\u0103\u0003"+ - "\u0012\t\u0000\u00fe\u00ff\u0003\u0012\t\u0000\u00ff\u0100\u0003t:\u0000"+ - "\u0100\u0101\u0003\u0012\t\u0000\u0101\u0103\u0001\u0000\u0000\u0000\u0102"+ - "\u00fd\u0001\u0000\u0000\u0000\u0102\u00fe\u0001\u0000\u0000\u0000\u0103"+ - "\u0011\u0001\u0000\u0000\u0000\u0104\u0105\u0006\t\uffff\uffff\u0000\u0105"+ - "\u0109\u0003\u0014\n\u0000\u0106\u0107\u0007\u0000\u0000\u0000\u0107\u0109"+ - "\u0003\u0012\t\u0003\u0108\u0104\u0001\u0000\u0000\u0000\u0108\u0106\u0001"+ - "\u0000\u0000\u0000\u0109\u0112\u0001\u0000\u0000\u0000\u010a\u010b\n\u0002"+ - "\u0000\u0000\u010b\u010c\u0007\u0001\u0000\u0000\u010c\u0111\u0003\u0012"+ - "\t\u0003\u010d\u010e\n\u0001\u0000\u0000\u010e\u010f\u0007\u0000\u0000"+ - "\u0000\u010f\u0111\u0003\u0012\t\u0002\u0110\u010a\u0001\u0000\u0000\u0000"+ - "\u0110\u010d\u0001\u0000\u0000\u0000\u0111\u0114\u0001\u0000\u0000\u0000"+ - "\u0112\u0110\u0001\u0000\u0000\u0000\u0112\u0113\u0001\u0000\u0000\u0000"+ - "\u0113\u0013\u0001\u0000\u0000\u0000\u0114\u0112\u0001\u0000\u0000\u0000"+ - "\u0115\u0116\u0006\n\uffff\uffff\u0000\u0116\u011e\u0003J%\u0000\u0117"+ - "\u011e\u0003@ \u0000\u0118\u011e\u0003\u0016\u000b\u0000\u0119\u011a\u0005"+ - "0\u0000\u0000\u011a\u011b\u0003\n\u0005\u0000\u011b\u011c\u00057\u0000"+ - "\u0000\u011c\u011e\u0001\u0000\u0000\u0000\u011d\u0115\u0001\u0000\u0000"+ - "\u0000\u011d\u0117\u0001\u0000\u0000\u0000\u011d\u0118\u0001\u0000\u0000"+ - "\u0000\u011d\u0119\u0001\u0000\u0000\u0000\u011e\u0124\u0001\u0000\u0000"+ - "\u0000\u011f\u0120\n\u0001\u0000\u0000\u0120\u0121\u0005%\u0000\u0000"+ - "\u0121\u0123\u0003\u001e\u000f\u0000\u0122\u011f\u0001\u0000\u0000\u0000"+ - "\u0123\u0126\u0001\u0000\u0000\u0000\u0124\u0122\u0001\u0000\u0000\u0000"+ - "\u0124\u0125\u0001\u0000\u0000\u0000\u0125\u0015\u0001\u0000\u0000\u0000"+ - "\u0126\u0124\u0001\u0000\u0000\u0000\u0127\u0128\u0003\u0018\f\u0000\u0128"+ - "\u0136\u00050\u0000\u0000\u0129\u0137\u0005B\u0000\u0000\u012a\u012f\u0003"+ - "\n\u0005\u0000\u012b\u012c\u0005\'\u0000\u0000\u012c\u012e\u0003\n\u0005"+ - "\u0000\u012d\u012b\u0001\u0000\u0000\u0000\u012e\u0131\u0001\u0000\u0000"+ + "\u0001\u0003\u0003\u0003\u00c2\b\u0003\u0001\u0004\u0001\u0004\u0001\u0004"+ + "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+ + "\u0001\u0005\u0003\u0005\u00ce\b\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+ + "\u0001\u0005\u0001\u0005\u0005\u0005\u00d5\b\u0005\n\u0005\f\u0005\u00d8"+ + "\t\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0003"+ + "\u0005\u00df\b\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0003\u0005\u00e4"+ + "\b\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+ + "\u0005\u0005\u0005\u00ec\b\u0005\n\u0005\f\u0005\u00ef\t\u0005\u0001\u0006"+ + "\u0001\u0006\u0003\u0006\u00f3\b\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+ + "\u0001\u0006\u0001\u0006\u0003\u0006\u00fa\b\u0006\u0001\u0006\u0001\u0006"+ + "\u0001\u0006\u0003\u0006\u00ff\b\u0006\u0001\u0007\u0001\u0007\u0001\u0007"+ + "\u0003\u0007\u0104\b\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b"+ + "\u0001\b\u0001\b\u0001\b\u0001\b\u0003\b\u010e\b\b\u0001\t\u0001\t\u0001"+ + "\t\u0001\t\u0003\t\u0114\b\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001"+ + "\t\u0005\t\u011c\b\t\n\t\f\t\u011f\t\t\u0001\n\u0001\n\u0001\n\u0001\n"+ + "\u0001\n\u0001\n\u0001\n\u0001\n\u0003\n\u0129\b\n\u0001\n\u0001\n\u0001"+ + "\n\u0005\n\u012e\b\n\n\n\f\n\u0131\t\n\u0001\u000b\u0001\u000b\u0001\u000b"+ + "\u0001\u000b\u0001\u000b\u0001\u000b\u0005\u000b\u0139\b\u000b\n\u000b"+ + "\f\u000b\u013c\t\u000b\u0001\u000b\u0001\u000b\u0003\u000b\u0140\b\u000b"+ + "\u0003\u000b\u0142\b\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001"+ + "\r\u0001\r\u0001\r\u0001\r\u0005\r\u014c\b\r\n\r\f\r\u014f\t\r\u0001\r"+ + "\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001"+ + "\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001"+ + "\u0011\u0005\u0011\u015f\b\u0011\n\u0011\f\u0011\u0162\t\u0011\u0001\u0012"+ + "\u0001\u0012\u0001\u0012\u0003\u0012\u0167\b\u0012\u0001\u0012\u0001\u0012"+ + "\u0001\u0013\u0001\u0013\u0001\u0013\u0005\u0013\u016e\b\u0013\n\u0013"+ + "\f\u0013\u0171\t\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0003\u0014"+ + "\u0176\b\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0005\u0015"+ + "\u017c\b\u0015\n\u0015\f\u0015\u017f\t\u0015\u0001\u0015\u0003\u0015\u0182"+ + "\b\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0003\u0016\u0187\b\u0016"+ + "\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0003\u0016\u018d\b\u0016"+ + "\u0003\u0016\u018f\b\u0016\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018"+ + "\u0001\u0019\u0001\u0019\u0001\u001a\u0001\u001a\u0003\u001a\u0199\b\u001a"+ + "\u0001\u001b\u0001\u001b\u0001\u001b\u0001\u001b\u0005\u001b\u019f\b\u001b"+ + "\n\u001b\f\u001b\u01a2\t\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0001"+ + "\u001c\u0001\u001d\u0001\u001d\u0001\u001d\u0001\u001d\u0005\u001d\u01ac"+ + "\b\u001d\n\u001d\f\u001d\u01af\t\u001d\u0001\u001d\u0003\u001d\u01b2\b"+ + "\u001d\u0001\u001d\u0001\u001d\u0003\u001d\u01b6\b\u001d\u0001\u001e\u0001"+ + "\u001e\u0001\u001e\u0001\u001f\u0001\u001f\u0003\u001f\u01bd\b\u001f\u0001"+ + "\u001f\u0001\u001f\u0003\u001f\u01c1\b\u001f\u0001 \u0001 \u0001 \u0005"+ + " \u01c6\b \n \f \u01c9\t \u0001!\u0001!\u0001!\u0003!\u01ce\b!\u0001\""+ + "\u0001\"\u0001\"\u0005\"\u01d3\b\"\n\"\f\"\u01d6\t\"\u0001#\u0001#\u0001"+ + "#\u0005#\u01db\b#\n#\f#\u01de\t#\u0001$\u0001$\u0001$\u0005$\u01e3\b$"+ + "\n$\f$\u01e6\t$\u0001%\u0001%\u0001&\u0001&\u0001&\u0003&\u01ed\b&\u0001"+ + "\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001"+ + "\'\u0001\'\u0001\'\u0001\'\u0005\'\u01fc\b\'\n\'\f\'\u01ff\t\'\u0001\'"+ + "\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0005\'\u0207\b\'\n\'\f\'\u020a"+ + "\t\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0005\'\u0212\b\'"+ + "\n\'\f\'\u0215\t\'\u0001\'\u0001\'\u0003\'\u0219\b\'\u0001(\u0001(\u0003"+ + "(\u021d\b(\u0001)\u0001)\u0003)\u0221\b)\u0001*\u0001*\u0001*\u0003*\u0226"+ + "\b*\u0001+\u0001+\u0001+\u0001,\u0001,\u0001,\u0001,\u0005,\u022f\b,\n"+ + ",\f,\u0232\t,\u0001-\u0001-\u0003-\u0236\b-\u0001-\u0001-\u0003-\u023a"+ + "\b-\u0001.\u0001.\u0001.\u0001/\u0001/\u0001/\u00010\u00010\u00010\u0001"+ + "0\u00050\u0246\b0\n0\f0\u0249\t0\u00011\u00011\u00011\u00011\u00011\u0001"+ + "1\u00011\u00011\u00031\u0253\b1\u00012\u00012\u00012\u00012\u00032\u0259"+ + "\b2\u00013\u00013\u00013\u00013\u00014\u00014\u00014\u00015\u00015\u0001"+ + "5\u00055\u0265\b5\n5\f5\u0268\t5\u00016\u00016\u00016\u00016\u00017\u0001"+ + "7\u00018\u00018\u00038\u0272\b8\u00019\u00039\u0275\b9\u00019\u00019\u0001"+ + ":\u0003:\u027a\b:\u0001:\u0001:\u0001;\u0001;\u0001<\u0001<\u0001=\u0001"+ + "=\u0001=\u0001>\u0001>\u0001>\u0001>\u0001?\u0001?\u0001?\u0001@\u0001"+ + "@\u0001@\u0001@\u0003@\u0290\b@\u0001@\u0001@\u0001@\u0001@\u0005@\u0296"+ + "\b@\n@\f@\u0299\t@\u0003@\u029b\b@\u0001A\u0001A\u0001A\u0003A\u02a0\b"+ + "A\u0001A\u0001A\u0001B\u0001B\u0001B\u0001B\u0003B\u02a8\bB\u0001B\u0001"+ + "B\u0001B\u0001B\u0001B\u0003B\u02af\bB\u0001C\u0001C\u0001C\u0001C\u0001"+ + "C\u0001D\u0001D\u0001D\u0001D\u0003D\u02ba\bD\u0001E\u0001E\u0001E\u0001"+ + "E\u0001E\u0001F\u0001F\u0001G\u0001G\u0001G\u0001G\u0005G\u02c7\bG\nG"+ + "\fG\u02ca\tG\u0001H\u0001H\u0001I\u0001I\u0001I\u0001I\u0001I\u0001I\u0003"+ + "I\u02d4\bI\u0001J\u0001J\u0001J\u0001J\u0003J\u02da\bJ\u0001J\u0001J\u0001"+ + "J\u0001J\u0001J\u0000\u0004\u0002\n\u0012\u0014K\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\u0000\t\u0001\u0000DE\u0001\u0000"+ + "FH\u0002\u0000 YY\u0001\u0000PQ\u0002\u0000$$**\u0002\u0000--00\u0002"+ + "\u0000,,;;\u0002\u0000==?C\u0002\u0000\u0012\u0012\u0019\u001a\u0300\u0000"+ + "\u0096\u0001\u0000\u0000\u0000\u0002\u0099\u0001\u0000\u0000\u0000\u0004"+ + "\u00aa\u0001\u0000\u0000\u0000\u0006\u00c1\u0001\u0000\u0000\u0000\b\u00c3"+ + "\u0001\u0000\u0000\u0000\n\u00e3\u0001\u0000\u0000\u0000\f\u00fe\u0001"+ + "\u0000\u0000\u0000\u000e\u0100\u0001\u0000\u0000\u0000\u0010\u010d\u0001"+ + "\u0000\u0000\u0000\u0012\u0113\u0001\u0000\u0000\u0000\u0014\u0128\u0001"+ + "\u0000\u0000\u0000\u0016\u0132\u0001\u0000\u0000\u0000\u0018\u0145\u0001"+ + "\u0000\u0000\u0000\u001a\u0147\u0001\u0000\u0000\u0000\u001c\u0152\u0001"+ + "\u0000\u0000\u0000\u001e\u0156\u0001\u0000\u0000\u0000 \u0158\u0001\u0000"+ + "\u0000\u0000\"\u015b\u0001\u0000\u0000\u0000$\u0166\u0001\u0000\u0000"+ + "\u0000&\u016a\u0001\u0000\u0000\u0000(\u0172\u0001\u0000\u0000\u0000*"+ + "\u0177\u0001\u0000\u0000\u0000,\u018e\u0001\u0000\u0000\u0000.\u0190\u0001"+ + "\u0000\u0000\u00000\u0192\u0001\u0000\u0000\u00002\u0194\u0001\u0000\u0000"+ + "\u00004\u0198\u0001\u0000\u0000\u00006\u019a\u0001\u0000\u0000\u00008"+ + "\u01a3\u0001\u0000\u0000\u0000:\u01a7\u0001\u0000\u0000\u0000<\u01b7\u0001"+ + "\u0000\u0000\u0000>\u01ba\u0001\u0000\u0000\u0000@\u01c2\u0001\u0000\u0000"+ + "\u0000B\u01ca\u0001\u0000\u0000\u0000D\u01cf\u0001\u0000\u0000\u0000F"+ + "\u01d7\u0001\u0000\u0000\u0000H\u01df\u0001\u0000\u0000\u0000J\u01e7\u0001"+ + "\u0000\u0000\u0000L\u01ec\u0001\u0000\u0000\u0000N\u0218\u0001\u0000\u0000"+ + "\u0000P\u021c\u0001\u0000\u0000\u0000R\u0220\u0001\u0000\u0000\u0000T"+ + "\u0225\u0001\u0000\u0000\u0000V\u0227\u0001\u0000\u0000\u0000X\u022a\u0001"+ + "\u0000\u0000\u0000Z\u0233\u0001\u0000\u0000\u0000\\\u023b\u0001\u0000"+ + "\u0000\u0000^\u023e\u0001\u0000\u0000\u0000`\u0241\u0001\u0000\u0000\u0000"+ + "b\u0252\u0001\u0000\u0000\u0000d\u0254\u0001\u0000\u0000\u0000f\u025a"+ + "\u0001\u0000\u0000\u0000h\u025e\u0001\u0000\u0000\u0000j\u0261\u0001\u0000"+ + "\u0000\u0000l\u0269\u0001\u0000\u0000\u0000n\u026d\u0001\u0000\u0000\u0000"+ + "p\u0271\u0001\u0000\u0000\u0000r\u0274\u0001\u0000\u0000\u0000t\u0279"+ + "\u0001\u0000\u0000\u0000v\u027d\u0001\u0000\u0000\u0000x\u027f\u0001\u0000"+ + "\u0000\u0000z\u0281\u0001\u0000\u0000\u0000|\u0284\u0001\u0000\u0000\u0000"+ + "~\u0288\u0001\u0000\u0000\u0000\u0080\u028b\u0001\u0000\u0000\u0000\u0082"+ + "\u029f\u0001\u0000\u0000\u0000\u0084\u02a3\u0001\u0000\u0000\u0000\u0086"+ + "\u02b0\u0001\u0000\u0000\u0000\u0088\u02b5\u0001\u0000\u0000\u0000\u008a"+ + "\u02bb\u0001\u0000\u0000\u0000\u008c\u02c0\u0001\u0000\u0000\u0000\u008e"+ + "\u02c2\u0001\u0000\u0000\u0000\u0090\u02cb\u0001\u0000\u0000\u0000\u0092"+ + "\u02cd\u0001\u0000\u0000\u0000\u0094\u02d5\u0001\u0000\u0000\u0000\u0096"+ + "\u0097\u0003\u0002\u0001\u0000\u0097\u0098\u0005\u0000\u0000\u0001\u0098"+ + "\u0001\u0001\u0000\u0000\u0000\u0099\u009a\u0006\u0001\uffff\uffff\u0000"+ + "\u009a\u009b\u0003\u0004\u0002\u0000\u009b\u00a1\u0001\u0000\u0000\u0000"+ + "\u009c\u009d\n\u0001\u0000\u0000\u009d\u009e\u0005\u001f\u0000\u0000\u009e"+ + "\u00a0\u0003\u0006\u0003\u0000\u009f\u009c\u0001\u0000\u0000\u0000\u00a0"+ + "\u00a3\u0001\u0000\u0000\u0000\u00a1\u009f\u0001\u0000\u0000\u0000\u00a1"+ + "\u00a2\u0001\u0000\u0000\u0000\u00a2\u0003\u0001\u0000\u0000\u0000\u00a3"+ + "\u00a1\u0001\u0000\u0000\u0000\u00a4\u00ab\u0003z=\u0000\u00a5\u00ab\u0003"+ + "*\u0015\u0000\u00a6\u00ab\u0003 \u0010\u0000\u00a7\u00ab\u0003~?\u0000"+ + "\u00a8\u00a9\u0004\u0002\u0001\u0000\u00a9\u00ab\u0003:\u001d\u0000\u00aa"+ + "\u00a4\u0001\u0000\u0000\u0000\u00aa\u00a5\u0001\u0000\u0000\u0000\u00aa"+ + "\u00a6\u0001\u0000\u0000\u0000\u00aa\u00a7\u0001\u0000\u0000\u0000\u00aa"+ + "\u00a8\u0001\u0000\u0000\u0000\u00ab\u0005\u0001\u0000\u0000\u0000\u00ac"+ + "\u00c2\u0003<\u001e\u0000\u00ad\u00c2\u0003\b\u0004\u0000\u00ae\u00c2"+ + "\u0003\\.\u0000\u00af\u00c2\u0003V+\u0000\u00b0\u00c2\u0003>\u001f\u0000"+ + "\u00b1\u00c2\u0003X,\u0000\u00b2\u00c2\u0003^/\u0000\u00b3\u00c2\u0003"+ + "`0\u0000\u00b4\u00c2\u0003d2\u0000\u00b5\u00c2\u0003f3\u0000\u00b6\u00c2"+ + "\u0003\u0080@\u0000\u00b7\u00c2\u0003h4\u0000\u00b8\u00c2\u0003\u008a"+ + "E\u0000\u00b9\u00c2\u0003\u0084B\u0000\u00ba\u00c2\u0003\u0094J\u0000"+ + "\u00bb\u00bc\u0004\u0003\u0002\u0000\u00bc\u00c2\u0003\u0088D\u0000\u00bd"+ + "\u00be\u0004\u0003\u0003\u0000\u00be\u00c2\u0003\u0086C\u0000\u00bf\u00c0"+ + "\u0004\u0003\u0004\u0000\u00c0\u00c2\u0003\u0092I\u0000\u00c1\u00ac\u0001"+ + "\u0000\u0000\u0000\u00c1\u00ad\u0001\u0000\u0000\u0000\u00c1\u00ae\u0001"+ + "\u0000\u0000\u0000\u00c1\u00af\u0001\u0000\u0000\u0000\u00c1\u00b0\u0001"+ + "\u0000\u0000\u0000\u00c1\u00b1\u0001\u0000\u0000\u0000\u00c1\u00b2\u0001"+ + "\u0000\u0000\u0000\u00c1\u00b3\u0001\u0000\u0000\u0000\u00c1\u00b4\u0001"+ + "\u0000\u0000\u0000\u00c1\u00b5\u0001\u0000\u0000\u0000\u00c1\u00b6\u0001"+ + "\u0000\u0000\u0000\u00c1\u00b7\u0001\u0000\u0000\u0000\u00c1\u00b8\u0001"+ + "\u0000\u0000\u0000\u00c1\u00b9\u0001\u0000\u0000\u0000\u00c1\u00ba\u0001"+ + "\u0000\u0000\u0000\u00c1\u00bb\u0001\u0000\u0000\u0000\u00c1\u00bd\u0001"+ + "\u0000\u0000\u0000\u00c1\u00bf\u0001\u0000\u0000\u0000\u00c2\u0007\u0001"+ + "\u0000\u0000\u0000\u00c3\u00c4\u0005\u0011\u0000\u0000\u00c4\u00c5\u0003"+ + "\n\u0005\u0000\u00c5\t\u0001\u0000\u0000\u0000\u00c6\u00c7\u0006\u0005"+ + "\uffff\uffff\u0000\u00c7\u00c8\u00053\u0000\u0000\u00c8\u00e4\u0003\n"+ + "\u0005\b\u00c9\u00e4\u0003\u0010\b\u0000\u00ca\u00e4\u0003\f\u0006\u0000"+ + "\u00cb\u00cd\u0003\u0010\b\u0000\u00cc\u00ce\u00053\u0000\u0000\u00cd"+ + "\u00cc\u0001\u0000\u0000\u0000\u00cd\u00ce\u0001\u0000\u0000\u0000\u00ce"+ + "\u00cf\u0001\u0000\u0000\u0000\u00cf\u00d0\u0005.\u0000\u0000\u00d0\u00d1"+ + "\u00052\u0000\u0000\u00d1\u00d6\u0003\u0010\b\u0000\u00d2\u00d3\u0005"+ + ")\u0000\u0000\u00d3\u00d5\u0003\u0010\b\u0000\u00d4\u00d2\u0001\u0000"+ + "\u0000\u0000\u00d5\u00d8\u0001\u0000\u0000\u0000\u00d6\u00d4\u0001\u0000"+ + "\u0000\u0000\u00d6\u00d7\u0001\u0000\u0000\u0000\u00d7\u00d9\u0001\u0000"+ + "\u0000\u0000\u00d8\u00d6\u0001\u0000\u0000\u0000\u00d9\u00da\u0005:\u0000"+ + "\u0000\u00da\u00e4\u0001\u0000\u0000\u0000\u00db\u00dc\u0003\u0010\b\u0000"+ + "\u00dc\u00de\u0005/\u0000\u0000\u00dd\u00df\u00053\u0000\u0000\u00de\u00dd"+ + "\u0001\u0000\u0000\u0000\u00de\u00df\u0001\u0000\u0000\u0000\u00df\u00e0"+ + "\u0001\u0000\u0000\u0000\u00e0\u00e1\u00054\u0000\u0000\u00e1\u00e4\u0001"+ + "\u0000\u0000\u0000\u00e2\u00e4\u0003\u000e\u0007\u0000\u00e3\u00c6\u0001"+ + "\u0000\u0000\u0000\u00e3\u00c9\u0001\u0000\u0000\u0000\u00e3\u00ca\u0001"+ + "\u0000\u0000\u0000\u00e3\u00cb\u0001\u0000\u0000\u0000\u00e3\u00db\u0001"+ + "\u0000\u0000\u0000\u00e3\u00e2\u0001\u0000\u0000\u0000\u00e4\u00ed\u0001"+ + "\u0000\u0000\u0000\u00e5\u00e6\n\u0005\u0000\u0000\u00e6\u00e7\u0005#"+ + "\u0000\u0000\u00e7\u00ec\u0003\n\u0005\u0006\u00e8\u00e9\n\u0004\u0000"+ + "\u0000\u00e9\u00ea\u00057\u0000\u0000\u00ea\u00ec\u0003\n\u0005\u0005"+ + "\u00eb\u00e5\u0001\u0000\u0000\u0000\u00eb\u00e8\u0001\u0000\u0000\u0000"+ + "\u00ec\u00ef\u0001\u0000\u0000\u0000\u00ed\u00eb\u0001\u0000\u0000\u0000"+ + "\u00ed\u00ee\u0001\u0000\u0000\u0000\u00ee\u000b\u0001\u0000\u0000\u0000"+ + "\u00ef\u00ed\u0001\u0000\u0000\u0000\u00f0\u00f2\u0003\u0010\b\u0000\u00f1"+ + "\u00f3\u00053\u0000\u0000\u00f2\u00f1\u0001\u0000\u0000\u0000\u00f2\u00f3"+ + "\u0001\u0000\u0000\u0000\u00f3\u00f4\u0001\u0000\u0000\u0000\u00f4\u00f5"+ + "\u00051\u0000\u0000\u00f5\u00f6\u0003v;\u0000\u00f6\u00ff\u0001\u0000"+ + "\u0000\u0000\u00f7\u00f9\u0003\u0010\b\u0000\u00f8\u00fa\u00053\u0000"+ + "\u0000\u00f9\u00f8\u0001\u0000\u0000\u0000\u00f9\u00fa\u0001\u0000\u0000"+ + "\u0000\u00fa\u00fb\u0001\u0000\u0000\u0000\u00fb\u00fc\u00059\u0000\u0000"+ + "\u00fc\u00fd\u0003v;\u0000\u00fd\u00ff\u0001\u0000\u0000\u0000\u00fe\u00f0"+ + "\u0001\u0000\u0000\u0000\u00fe\u00f7\u0001\u0000\u0000\u0000\u00ff\r\u0001"+ + "\u0000\u0000\u0000\u0100\u0103\u0003D\"\u0000\u0101\u0102\u0005\'\u0000"+ + "\u0000\u0102\u0104\u0003\u001e\u000f\u0000\u0103\u0101\u0001\u0000\u0000"+ + "\u0000\u0103\u0104\u0001\u0000\u0000\u0000\u0104\u0105\u0001\u0000\u0000"+ + "\u0000\u0105\u0106\u0005(\u0000\u0000\u0106\u0107\u0003N\'\u0000\u0107"+ + "\u000f\u0001\u0000\u0000\u0000\u0108\u010e\u0003\u0012\t\u0000\u0109\u010a"+ + "\u0003\u0012\t\u0000\u010a\u010b\u0003x<\u0000\u010b\u010c\u0003\u0012"+ + "\t\u0000\u010c\u010e\u0001\u0000\u0000\u0000\u010d\u0108\u0001\u0000\u0000"+ + "\u0000\u010d\u0109\u0001\u0000\u0000\u0000\u010e\u0011\u0001\u0000\u0000"+ + "\u0000\u010f\u0110\u0006\t\uffff\uffff\u0000\u0110\u0114\u0003\u0014\n"+ + "\u0000\u0111\u0112\u0007\u0000\u0000\u0000\u0112\u0114\u0003\u0012\t\u0003"+ + "\u0113\u010f\u0001\u0000\u0000\u0000\u0113\u0111\u0001\u0000\u0000\u0000"+ + "\u0114\u011d\u0001\u0000\u0000\u0000\u0115\u0116\n\u0002\u0000\u0000\u0116"+ + "\u0117\u0007\u0001\u0000\u0000\u0117\u011c\u0003\u0012\t\u0003\u0118\u0119"+ + "\n\u0001\u0000\u0000\u0119\u011a\u0007\u0000\u0000\u0000\u011a\u011c\u0003"+ + "\u0012\t\u0002\u011b\u0115\u0001\u0000\u0000\u0000\u011b\u0118\u0001\u0000"+ + "\u0000\u0000\u011c\u011f\u0001\u0000\u0000\u0000\u011d\u011b\u0001\u0000"+ + "\u0000\u0000\u011d\u011e\u0001\u0000\u0000\u0000\u011e\u0013\u0001\u0000"+ + "\u0000\u0000\u011f\u011d\u0001\u0000\u0000\u0000\u0120\u0121\u0006\n\uffff"+ + "\uffff\u0000\u0121\u0129\u0003N\'\u0000\u0122\u0129\u0003D\"\u0000\u0123"+ + "\u0129\u0003\u0016\u000b\u0000\u0124\u0125\u00052\u0000\u0000\u0125\u0126"+ + "\u0003\n\u0005\u0000\u0126\u0127\u0005:\u0000\u0000\u0127\u0129\u0001"+ + "\u0000\u0000\u0000\u0128\u0120\u0001\u0000\u0000\u0000\u0128\u0122\u0001"+ + "\u0000\u0000\u0000\u0128\u0123\u0001\u0000\u0000\u0000\u0128\u0124\u0001"+ + "\u0000\u0000\u0000\u0129\u012f\u0001\u0000\u0000\u0000\u012a\u012b\n\u0001"+ + "\u0000\u0000\u012b\u012c\u0005\'\u0000\u0000\u012c\u012e\u0003\u001e\u000f"+ + "\u0000\u012d\u012a\u0001\u0000\u0000\u0000\u012e\u0131\u0001\u0000\u0000"+ "\u0000\u012f\u012d\u0001\u0000\u0000\u0000\u012f\u0130\u0001\u0000\u0000"+ - "\u0000\u0130\u0134\u0001\u0000\u0000\u0000\u0131\u012f\u0001\u0000\u0000"+ - "\u0000\u0132\u0133\u0005\'\u0000\u0000\u0133\u0135\u0003\u001a\r\u0000"+ - "\u0134\u0132\u0001\u0000\u0000\u0000\u0134\u0135\u0001\u0000\u0000\u0000"+ - "\u0135\u0137\u0001\u0000\u0000\u0000\u0136\u0129\u0001\u0000\u0000\u0000"+ - "\u0136\u012a\u0001\u0000\u0000\u0000\u0136\u0137\u0001\u0000\u0000\u0000"+ - "\u0137\u0138\u0001\u0000\u0000\u0000\u0138\u0139\u00057\u0000\u0000\u0139"+ - "\u0017\u0001\u0000\u0000\u0000\u013a\u013b\u0003P(\u0000\u013b\u0019\u0001"+ - "\u0000\u0000\u0000\u013c\u013d\u0005E\u0000\u0000\u013d\u0142\u0003\u001c"+ - "\u000e\u0000\u013e\u013f\u0005\'\u0000\u0000\u013f\u0141\u0003\u001c\u000e"+ - "\u0000\u0140\u013e\u0001\u0000\u0000\u0000\u0141\u0144\u0001\u0000\u0000"+ - "\u0000\u0142\u0140\u0001\u0000\u0000\u0000\u0142\u0143\u0001\u0000\u0000"+ - "\u0000\u0143\u0145\u0001\u0000\u0000\u0000\u0144\u0142\u0001\u0000\u0000"+ - "\u0000\u0145\u0146\u0005F\u0000\u0000\u0146\u001b\u0001\u0000\u0000\u0000"+ - "\u0147\u0148\u0003r9\u0000\u0148\u0149\u0005&\u0000\u0000\u0149\u014a"+ - "\u0003J%\u0000\u014a\u001d\u0001\u0000\u0000\u0000\u014b\u014c\u0003F"+ - "#\u0000\u014c\u001f\u0001\u0000\u0000\u0000\u014d\u014e\u0005\f\u0000"+ - "\u0000\u014e\u014f\u0003\"\u0011\u0000\u014f!\u0001\u0000\u0000\u0000"+ - "\u0150\u0155\u0003$\u0012\u0000\u0151\u0152\u0005\'\u0000\u0000\u0152"+ - "\u0154\u0003$\u0012\u0000\u0153\u0151\u0001\u0000\u0000\u0000\u0154\u0157"+ - "\u0001\u0000\u0000\u0000\u0155\u0153\u0001\u0000\u0000\u0000\u0155\u0156"+ - "\u0001\u0000\u0000\u0000\u0156#\u0001\u0000\u0000\u0000\u0157\u0155\u0001"+ - "\u0000\u0000\u0000\u0158\u0159\u0003@ \u0000\u0159\u015a\u0005$\u0000"+ - "\u0000\u015a\u015c\u0001\u0000\u0000\u0000\u015b\u0158\u0001\u0000\u0000"+ - "\u0000\u015b\u015c\u0001\u0000\u0000\u0000\u015c\u015d\u0001\u0000\u0000"+ - "\u0000\u015d\u015e\u0003\n\u0005\u0000\u015e%\u0001\u0000\u0000\u0000"+ - "\u015f\u0160\u0005\u0006\u0000\u0000\u0160\u0165\u0003(\u0014\u0000\u0161"+ - "\u0162\u0005\'\u0000\u0000\u0162\u0164\u0003(\u0014\u0000\u0163\u0161"+ - "\u0001\u0000\u0000\u0000\u0164\u0167\u0001\u0000\u0000\u0000\u0165\u0163"+ - "\u0001\u0000\u0000\u0000\u0165\u0166\u0001\u0000\u0000\u0000\u0166\u0169"+ - "\u0001\u0000\u0000\u0000\u0167\u0165\u0001\u0000\u0000\u0000\u0168\u016a"+ - "\u00030\u0018\u0000\u0169\u0168\u0001\u0000\u0000\u0000\u0169\u016a\u0001"+ - "\u0000\u0000\u0000\u016a\'\u0001\u0000\u0000\u0000\u016b\u016c\u0003*"+ - "\u0015\u0000\u016c\u016d\u0005&\u0000\u0000\u016d\u016f\u0001\u0000\u0000"+ - "\u0000\u016e\u016b\u0001\u0000\u0000\u0000\u016e\u016f\u0001\u0000\u0000"+ - "\u0000\u016f\u0170\u0001\u0000\u0000\u0000\u0170\u0177\u0003.\u0017\u0000"+ - "\u0171\u0174\u0003.\u0017\u0000\u0172\u0173\u0005%\u0000\u0000\u0173\u0175"+ - "\u0003,\u0016\u0000\u0174\u0172\u0001\u0000\u0000\u0000\u0174\u0175\u0001"+ - "\u0000\u0000\u0000\u0175\u0177\u0001\u0000\u0000\u0000\u0176\u016e\u0001"+ - "\u0000\u0000\u0000\u0176\u0171\u0001\u0000\u0000\u0000\u0177)\u0001\u0000"+ - "\u0000\u0000\u0178\u0179\u0007\u0002\u0000\u0000\u0179+\u0001\u0000\u0000"+ - "\u0000\u017a\u017b\u0007\u0002\u0000\u0000\u017b-\u0001\u0000\u0000\u0000"+ - "\u017c\u017d\u0007\u0002\u0000\u0000\u017d/\u0001\u0000\u0000\u0000\u017e"+ - "\u0181\u00032\u0019\u0000\u017f\u0181\u00034\u001a\u0000\u0180\u017e\u0001"+ - "\u0000\u0000\u0000\u0180\u017f\u0001\u0000\u0000\u0000\u01811\u0001\u0000"+ - "\u0000\u0000\u0182\u0183\u0005T\u0000\u0000\u0183\u0188\u0005U\u0000\u0000"+ - "\u0184\u0185\u0005\'\u0000\u0000\u0185\u0187\u0005U\u0000\u0000\u0186"+ - "\u0184\u0001\u0000\u0000\u0000\u0187\u018a\u0001\u0000\u0000\u0000\u0188"+ - "\u0186\u0001\u0000\u0000\u0000\u0188\u0189\u0001\u0000\u0000\u0000\u0189"+ - "3\u0001\u0000\u0000\u0000\u018a\u0188\u0001\u0000\u0000\u0000\u018b\u018c"+ - "\u0005J\u0000\u0000\u018c\u018d\u00032\u0019\u0000\u018d\u018e\u0005K"+ - "\u0000\u0000\u018e5\u0001\u0000\u0000\u0000\u018f\u0190\u0005\u0015\u0000"+ - "\u0000\u0190\u0195\u0003(\u0014\u0000\u0191\u0192\u0005\'\u0000\u0000"+ - "\u0192\u0194\u0003(\u0014\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\u0196\u0199\u0001\u0000\u0000\u0000\u0197"+ - "\u0195\u0001\u0000\u0000\u0000\u0198\u019a\u0003<\u001e\u0000\u0199\u0198"+ - "\u0001\u0000\u0000\u0000\u0199\u019a\u0001\u0000\u0000\u0000\u019a\u019d"+ - "\u0001\u0000\u0000\u0000\u019b\u019c\u0005!\u0000\u0000\u019c\u019e\u0003"+ - "\"\u0011\u0000\u019d\u019b\u0001\u0000\u0000\u0000\u019d\u019e\u0001\u0000"+ - "\u0000\u0000\u019e7\u0001\u0000\u0000\u0000\u019f\u01a0\u0005\u0004\u0000"+ - "\u0000\u01a0\u01a1\u0003\"\u0011\u0000\u01a19\u0001\u0000\u0000\u0000"+ - "\u01a2\u01a4\u0005\u000f\u0000\u0000\u01a3\u01a5\u0003<\u001e\u0000\u01a4"+ - "\u01a3\u0001\u0000\u0000\u0000\u01a4\u01a5\u0001\u0000\u0000\u0000\u01a5"+ - "\u01a8\u0001\u0000\u0000\u0000\u01a6\u01a7\u0005!\u0000\u0000\u01a7\u01a9"+ - "\u0003\"\u0011\u0000\u01a8\u01a6\u0001\u0000\u0000\u0000\u01a8\u01a9\u0001"+ - "\u0000\u0000\u0000\u01a9;\u0001\u0000\u0000\u0000\u01aa\u01af\u0003>\u001f"+ - "\u0000\u01ab\u01ac\u0005\'\u0000\u0000\u01ac\u01ae\u0003>\u001f\u0000"+ - "\u01ad\u01ab\u0001\u0000\u0000\u0000\u01ae\u01b1\u0001\u0000\u0000\u0000"+ - "\u01af\u01ad\u0001\u0000\u0000\u0000\u01af\u01b0\u0001\u0000\u0000\u0000"+ - "\u01b0=\u0001\u0000\u0000\u0000\u01b1\u01af\u0001\u0000\u0000\u0000\u01b2"+ - "\u01b5\u0003$\u0012\u0000\u01b3\u01b4\u0005\u0010\u0000\u0000\u01b4\u01b6"+ - "\u0003\n\u0005\u0000\u01b5\u01b3\u0001\u0000\u0000\u0000\u01b5\u01b6\u0001"+ - "\u0000\u0000\u0000\u01b6?\u0001\u0000\u0000\u0000\u01b7\u01bc\u0003P("+ - "\u0000\u01b8\u01b9\u0005)\u0000\u0000\u01b9\u01bb\u0003P(\u0000\u01ba"+ - "\u01b8\u0001\u0000\u0000\u0000\u01bb\u01be\u0001\u0000\u0000\u0000\u01bc"+ - "\u01ba\u0001\u0000\u0000\u0000\u01bc\u01bd\u0001\u0000\u0000\u0000\u01bd"+ - "A\u0001\u0000\u0000\u0000\u01be\u01bc\u0001\u0000\u0000\u0000\u01bf\u01c4"+ - "\u0003H$\u0000\u01c0\u01c1\u0005)\u0000\u0000\u01c1\u01c3\u0003H$\u0000"+ - "\u01c2\u01c0\u0001\u0000\u0000\u0000\u01c3\u01c6\u0001\u0000\u0000\u0000"+ - "\u01c4\u01c2\u0001\u0000\u0000\u0000\u01c4\u01c5\u0001\u0000\u0000\u0000"+ - "\u01c5C\u0001\u0000\u0000\u0000\u01c6\u01c4\u0001\u0000\u0000\u0000\u01c7"+ - "\u01cc\u0003B!\u0000\u01c8\u01c9\u0005\'\u0000\u0000\u01c9\u01cb\u0003"+ - "B!\u0000\u01ca\u01c8\u0001\u0000\u0000\u0000\u01cb\u01ce\u0001\u0000\u0000"+ - "\u0000\u01cc\u01ca\u0001\u0000\u0000\u0000\u01cc\u01cd\u0001\u0000\u0000"+ - "\u0000\u01cdE\u0001\u0000\u0000\u0000\u01ce\u01cc\u0001\u0000\u0000\u0000"+ - "\u01cf\u01d0\u0007\u0003\u0000\u0000\u01d0G\u0001\u0000\u0000\u0000\u01d1"+ - "\u01d5\u0005Y\u0000\u0000\u01d2\u01d5\u0003L&\u0000\u01d3\u01d5\u0003"+ - "N\'\u0000\u01d4\u01d1\u0001\u0000\u0000\u0000\u01d4\u01d2\u0001\u0000"+ - "\u0000\u0000\u01d4\u01d3\u0001\u0000\u0000\u0000\u01d5I\u0001\u0000\u0000"+ - "\u0000\u01d6\u0201\u00052\u0000\u0000\u01d7\u01d8\u0003p8\u0000\u01d8"+ - "\u01d9\u0005L\u0000\u0000\u01d9\u0201\u0001\u0000\u0000\u0000\u01da\u0201"+ - "\u0003n7\u0000\u01db\u0201\u0003p8\u0000\u01dc\u0201\u0003j5\u0000\u01dd"+ - "\u0201\u0003L&\u0000\u01de\u0201\u0003r9\u0000\u01df\u01e0\u0005J\u0000"+ - "\u0000\u01e0\u01e5\u0003l6\u0000\u01e1\u01e2\u0005\'\u0000\u0000\u01e2"+ - "\u01e4\u0003l6\u0000\u01e3\u01e1\u0001\u0000\u0000\u0000\u01e4\u01e7\u0001"+ - "\u0000\u0000\u0000\u01e5\u01e3\u0001\u0000\u0000\u0000\u01e5\u01e6\u0001"+ - "\u0000\u0000\u0000\u01e6\u01e8\u0001\u0000\u0000\u0000\u01e7\u01e5\u0001"+ - "\u0000\u0000\u0000\u01e8\u01e9\u0005K\u0000\u0000\u01e9\u0201\u0001\u0000"+ - "\u0000\u0000\u01ea\u01eb\u0005J\u0000\u0000\u01eb\u01f0\u0003j5\u0000"+ - "\u01ec\u01ed\u0005\'\u0000\u0000\u01ed\u01ef\u0003j5\u0000\u01ee\u01ec"+ - "\u0001\u0000\u0000\u0000\u01ef\u01f2\u0001\u0000\u0000\u0000\u01f0\u01ee"+ - "\u0001\u0000\u0000\u0000\u01f0\u01f1\u0001\u0000\u0000\u0000\u01f1\u01f3"+ - "\u0001\u0000\u0000\u0000\u01f2\u01f0\u0001\u0000\u0000\u0000\u01f3\u01f4"+ - "\u0005K\u0000\u0000\u01f4\u0201\u0001\u0000\u0000\u0000\u01f5\u01f6\u0005"+ - "J\u0000\u0000\u01f6\u01fb\u0003r9\u0000\u01f7\u01f8\u0005\'\u0000\u0000"+ - "\u01f8\u01fa\u0003r9\u0000\u01f9\u01f7\u0001\u0000\u0000\u0000\u01fa\u01fd"+ - "\u0001\u0000\u0000\u0000\u01fb\u01f9\u0001\u0000\u0000\u0000\u01fb\u01fc"+ - "\u0001\u0000\u0000\u0000\u01fc\u01fe\u0001\u0000\u0000\u0000\u01fd\u01fb"+ - "\u0001\u0000\u0000\u0000\u01fe\u01ff\u0005K\u0000\u0000\u01ff\u0201\u0001"+ - "\u0000\u0000\u0000\u0200\u01d6\u0001\u0000\u0000\u0000\u0200\u01d7\u0001"+ - "\u0000\u0000\u0000\u0200\u01da\u0001\u0000\u0000\u0000\u0200\u01db\u0001"+ - "\u0000\u0000\u0000\u0200\u01dc\u0001\u0000\u0000\u0000\u0200\u01dd\u0001"+ - "\u0000\u0000\u0000\u0200\u01de\u0001\u0000\u0000\u0000\u0200\u01df\u0001"+ - "\u0000\u0000\u0000\u0200\u01ea\u0001\u0000\u0000\u0000\u0200\u01f5\u0001"+ - "\u0000\u0000\u0000\u0201K\u0001\u0000\u0000\u0000\u0202\u0205\u00055\u0000"+ - "\u0000\u0203\u0205\u0005H\u0000\u0000\u0204\u0202\u0001\u0000\u0000\u0000"+ - "\u0204\u0203\u0001\u0000\u0000\u0000\u0205M\u0001\u0000\u0000\u0000\u0206"+ - "\u0209\u0005G\u0000\u0000\u0207\u0209\u0005I\u0000\u0000\u0208\u0206\u0001"+ - "\u0000\u0000\u0000\u0208\u0207\u0001\u0000\u0000\u0000\u0209O\u0001\u0000"+ - "\u0000\u0000\u020a\u020e\u0003F#\u0000\u020b\u020e\u0003L&\u0000\u020c"+ - "\u020e\u0003N\'\u0000\u020d\u020a\u0001\u0000\u0000\u0000\u020d\u020b"+ - "\u0001\u0000\u0000\u0000\u020d\u020c\u0001\u0000\u0000\u0000\u020eQ\u0001"+ - "\u0000\u0000\u0000\u020f\u0210\u0005\t\u0000\u0000\u0210\u0211\u0003J"+ - "%\u0000\u0211S\u0001\u0000\u0000\u0000\u0212\u0213\u0005\u000e\u0000\u0000"+ - "\u0213\u0218\u0003V+\u0000\u0214\u0215\u0005\'\u0000\u0000\u0215\u0217"+ - "\u0003V+\u0000\u0216\u0214\u0001\u0000\u0000\u0000\u0217\u021a\u0001\u0000"+ - "\u0000\u0000\u0218\u0216\u0001\u0000\u0000\u0000\u0218\u0219\u0001\u0000"+ - "\u0000\u0000\u0219U\u0001\u0000\u0000\u0000\u021a\u0218\u0001\u0000\u0000"+ - "\u0000\u021b\u021d\u0003\n\u0005\u0000\u021c\u021e\u0007\u0004\u0000\u0000"+ - "\u021d\u021c\u0001\u0000\u0000\u0000\u021d\u021e\u0001\u0000\u0000\u0000"+ - "\u021e\u0221\u0001\u0000\u0000\u0000\u021f\u0220\u00053\u0000\u0000\u0220"+ - "\u0222\u0007\u0005\u0000\u0000\u0221\u021f\u0001\u0000\u0000\u0000\u0221"+ - "\u0222\u0001\u0000\u0000\u0000\u0222W\u0001\u0000\u0000\u0000\u0223\u0224"+ - "\u0005\b\u0000\u0000\u0224\u0225\u0003D\"\u0000\u0225Y\u0001\u0000\u0000"+ - "\u0000\u0226\u0227\u0005\u0002\u0000\u0000\u0227\u0228\u0003D\"\u0000"+ - "\u0228[\u0001\u0000\u0000\u0000\u0229\u022a\u0005\u000b\u0000\u0000\u022a"+ - "\u022f\u0003^/\u0000\u022b\u022c\u0005\'\u0000\u0000\u022c\u022e\u0003"+ - "^/\u0000\u022d\u022b\u0001\u0000\u0000\u0000\u022e\u0231\u0001\u0000\u0000"+ - "\u0000\u022f\u022d\u0001\u0000\u0000\u0000\u022f\u0230\u0001\u0000\u0000"+ - "\u0000\u0230]\u0001\u0000\u0000\u0000\u0231\u022f\u0001\u0000\u0000\u0000"+ - "\u0232\u0233\u0003B!\u0000\u0233\u0234\u0005]\u0000\u0000\u0234\u0235"+ - "\u0003B!\u0000\u0235\u023b\u0001\u0000\u0000\u0000\u0236\u0237\u0003B"+ - "!\u0000\u0237\u0238\u0005$\u0000\u0000\u0238\u0239\u0003B!\u0000\u0239"+ - "\u023b\u0001\u0000\u0000\u0000\u023a\u0232\u0001\u0000\u0000\u0000\u023a"+ - "\u0236\u0001\u0000\u0000\u0000\u023b_\u0001\u0000\u0000\u0000\u023c\u023d"+ - "\u0005\u0001\u0000\u0000\u023d\u023e\u0003\u0014\n\u0000\u023e\u0240\u0003"+ - "r9\u0000\u023f\u0241\u0003f3\u0000\u0240\u023f\u0001\u0000\u0000\u0000"+ - "\u0240\u0241\u0001\u0000\u0000\u0000\u0241a\u0001\u0000\u0000\u0000\u0242"+ - "\u0243\u0005\u0007\u0000\u0000\u0243\u0244\u0003\u0014\n\u0000\u0244\u0245"+ - "\u0003r9\u0000\u0245c\u0001\u0000\u0000\u0000\u0246\u0247\u0005\n\u0000"+ - "\u0000\u0247\u0248\u0003@ \u0000\u0248e\u0001\u0000\u0000\u0000\u0249"+ - "\u024e\u0003h4\u0000\u024a\u024b\u0005\'\u0000\u0000\u024b\u024d\u0003"+ - "h4\u0000\u024c\u024a\u0001\u0000\u0000\u0000\u024d\u0250\u0001\u0000\u0000"+ - "\u0000\u024e\u024c\u0001\u0000\u0000\u0000\u024e\u024f\u0001\u0000\u0000"+ - "\u0000\u024fg\u0001\u0000\u0000\u0000\u0250\u024e\u0001\u0000\u0000\u0000"+ - "\u0251\u0252\u0003F#\u0000\u0252\u0253\u0005$\u0000\u0000\u0253\u0254"+ - "\u0003J%\u0000\u0254i\u0001\u0000\u0000\u0000\u0255\u0256\u0007\u0006"+ - "\u0000\u0000\u0256k\u0001\u0000\u0000\u0000\u0257\u025a\u0003n7\u0000"+ - "\u0258\u025a\u0003p8\u0000\u0259\u0257\u0001\u0000\u0000\u0000\u0259\u0258"+ - "\u0001\u0000\u0000\u0000\u025am\u0001\u0000\u0000\u0000\u025b\u025d\u0007"+ - "\u0000\u0000\u0000\u025c\u025b\u0001\u0000\u0000\u0000\u025c\u025d\u0001"+ - "\u0000\u0000\u0000\u025d\u025e\u0001\u0000\u0000\u0000\u025e\u025f\u0005"+ - " \u0000\u0000\u025fo\u0001\u0000\u0000\u0000\u0260\u0262\u0007\u0000\u0000"+ - "\u0000\u0261\u0260\u0001\u0000\u0000\u0000\u0261\u0262\u0001\u0000\u0000"+ - "\u0000\u0262\u0263\u0001\u0000\u0000\u0000\u0263\u0264\u0005\u001f\u0000"+ - "\u0000\u0264q\u0001\u0000\u0000\u0000\u0265\u0266\u0005\u001e\u0000\u0000"+ - "\u0266s\u0001\u0000\u0000\u0000\u0267\u0268\u0007\u0007\u0000\u0000\u0268"+ - "u\u0001\u0000\u0000\u0000\u0269\u026a\u0005\u0005\u0000\u0000\u026a\u026b"+ - "\u0003x<\u0000\u026bw\u0001\u0000\u0000\u0000\u026c\u026d\u0005J\u0000"+ - "\u0000\u026d\u026e\u0003\u0002\u0001\u0000\u026e\u026f\u0005K\u0000\u0000"+ - "\u026fy\u0001\u0000\u0000\u0000\u0270\u0271\u0005\r\u0000\u0000\u0271"+ - "\u0272\u0005m\u0000\u0000\u0272{\u0001\u0000\u0000\u0000\u0273\u0274\u0005"+ - "\u0003\u0000\u0000\u0274\u0277\u0005c\u0000\u0000\u0275\u0276\u0005a\u0000"+ - "\u0000\u0276\u0278\u0003B!\u0000\u0277\u0275\u0001\u0000\u0000\u0000\u0277"+ - "\u0278\u0001\u0000\u0000\u0000\u0278\u0282\u0001\u0000\u0000\u0000\u0279"+ - "\u027a\u0005b\u0000\u0000\u027a\u027f\u0003~?\u0000\u027b\u027c\u0005"+ - "\'\u0000\u0000\u027c\u027e\u0003~?\u0000\u027d\u027b\u0001\u0000\u0000"+ - "\u0000\u027e\u0281\u0001\u0000\u0000\u0000\u027f\u027d\u0001\u0000\u0000"+ - "\u0000\u027f\u0280\u0001\u0000\u0000\u0000\u0280\u0283\u0001\u0000\u0000"+ - "\u0000\u0281\u027f\u0001\u0000\u0000\u0000\u0282\u0279\u0001\u0000\u0000"+ - "\u0000\u0282\u0283\u0001\u0000\u0000\u0000\u0283}\u0001\u0000\u0000\u0000"+ - "\u0284\u0285\u0003B!\u0000\u0285\u0286\u0005$\u0000\u0000\u0286\u0288"+ - "\u0001\u0000\u0000\u0000\u0287\u0284\u0001\u0000\u0000\u0000\u0287\u0288"+ - "\u0001\u0000\u0000\u0000\u0288\u0289\u0001\u0000\u0000\u0000\u0289\u028a"+ - "\u0003B!\u0000\u028a\u007f\u0001\u0000\u0000\u0000\u028b\u028c\u0005\u0012"+ - "\u0000\u0000\u028c\u028f\u0003@ \u0000\u028d\u028e\u0005a\u0000\u0000"+ - "\u028e\u0290\u0003@ \u0000\u028f\u028d\u0001\u0000\u0000\u0000\u028f\u0290"+ - "\u0001\u0000\u0000\u0000\u0290\u0296\u0001\u0000\u0000\u0000\u0291\u0292"+ - "\u0005]\u0000\u0000\u0292\u0293\u0003@ \u0000\u0293\u0294\u0005\'\u0000"+ - "\u0000\u0294\u0295\u0003@ \u0000\u0295\u0297\u0001\u0000\u0000\u0000\u0296"+ - "\u0291\u0001\u0000\u0000\u0000\u0296\u0297\u0001\u0000\u0000\u0000\u0297"+ - "\u0081\u0001\u0000\u0000\u0000\u0298\u0299\u0005\u0014\u0000\u0000\u0299"+ - "\u029a\u0003(\u0014\u0000\u029a\u029b\u0005a\u0000\u0000\u029b\u029c\u0003"+ - "D\"\u0000\u029c\u0083\u0001\u0000\u0000\u0000\u029d\u029e\u0005\u0013"+ - "\u0000\u0000\u029e\u02a1\u0003<\u001e\u0000\u029f\u02a0\u0005!\u0000\u0000"+ - "\u02a0\u02a2\u0003\"\u0011\u0000\u02a1\u029f\u0001\u0000\u0000\u0000\u02a1"+ - "\u02a2\u0001\u0000\u0000\u0000\u02a2\u0085\u0001\u0000\u0000\u0000\u02a3"+ - "\u02a4\u0007\b\u0000\u0000\u02a4\u02a5\u0005{\u0000\u0000\u02a5\u02a6"+ - "\u0003\u0088D\u0000\u02a6\u02a7\u0003\u008aE\u0000\u02a7\u0087\u0001\u0000"+ - "\u0000\u0000\u02a8\u02a9\u0003(\u0014\u0000\u02a9\u0089\u0001\u0000\u0000"+ - "\u0000\u02aa\u02ab\u0005a\u0000\u0000\u02ab\u02b0\u0003\u008cF\u0000\u02ac"+ - "\u02ad\u0005\'\u0000\u0000\u02ad\u02af\u0003\u008cF\u0000\u02ae\u02ac"+ - "\u0001\u0000\u0000\u0000\u02af\u02b2\u0001\u0000\u0000\u0000\u02b0\u02ae"+ - "\u0001\u0000\u0000\u0000\u02b0\u02b1\u0001\u0000\u0000\u0000\u02b1\u008b"+ - "\u0001\u0000\u0000\u0000\u02b2\u02b0\u0001\u0000\u0000\u0000\u02b3\u02b4"+ - "\u0003\u0010\b\u0000\u02b4\u008d\u0001\u0000\u0000\u0000D\u0099\u00a2"+ - "\u00b6\u00c2\u00cb\u00d3\u00d8\u00e0\u00e2\u00e7\u00ee\u00f3\u00f8\u0102"+ - "\u0108\u0110\u0112\u011d\u0124\u012f\u0134\u0136\u0142\u0155\u015b\u0165"+ - "\u0169\u016e\u0174\u0176\u0180\u0188\u0195\u0199\u019d\u01a4\u01a8\u01af"+ - "\u01b5\u01bc\u01c4\u01cc\u01d4\u01e5\u01f0\u01fb\u0200\u0204\u0208\u020d"+ - "\u0218\u021d\u0221\u022f\u023a\u0240\u024e\u0259\u025c\u0261\u0277\u027f"+ - "\u0282\u0287\u028f\u0296\u02a1\u02b0"; + "\u0000\u0130\u0015\u0001\u0000\u0000\u0000\u0131\u012f\u0001\u0000\u0000"+ + "\u0000\u0132\u0133\u0003\u0018\f\u0000\u0133\u0141\u00052\u0000\u0000"+ + "\u0134\u0142\u0005F\u0000\u0000\u0135\u013a\u0003\n\u0005\u0000\u0136"+ + "\u0137\u0005)\u0000\u0000\u0137\u0139\u0003\n\u0005\u0000\u0138\u0136"+ + "\u0001\u0000\u0000\u0000\u0139\u013c\u0001\u0000\u0000\u0000\u013a\u0138"+ + "\u0001\u0000\u0000\u0000\u013a\u013b\u0001\u0000\u0000\u0000\u013b\u013f"+ + "\u0001\u0000\u0000\u0000\u013c\u013a\u0001\u0000\u0000\u0000\u013d\u013e"+ + "\u0005)\u0000\u0000\u013e\u0140\u0003\u001a\r\u0000\u013f\u013d\u0001"+ + "\u0000\u0000\u0000\u013f\u0140\u0001\u0000\u0000\u0000\u0140\u0142\u0001"+ + "\u0000\u0000\u0000\u0141\u0134\u0001\u0000\u0000\u0000\u0141\u0135\u0001"+ + "\u0000\u0000\u0000\u0141\u0142\u0001\u0000\u0000\u0000\u0142\u0143\u0001"+ + "\u0000\u0000\u0000\u0143\u0144\u0005:\u0000\u0000\u0144\u0017\u0001\u0000"+ + "\u0000\u0000\u0145\u0146\u0003T*\u0000\u0146\u0019\u0001\u0000\u0000\u0000"+ + "\u0147\u0148\u0005I\u0000\u0000\u0148\u014d\u0003\u001c\u000e\u0000\u0149"+ + "\u014a\u0005)\u0000\u0000\u014a\u014c\u0003\u001c\u000e\u0000\u014b\u0149"+ + "\u0001\u0000\u0000\u0000\u014c\u014f\u0001\u0000\u0000\u0000\u014d\u014b"+ + "\u0001\u0000\u0000\u0000\u014d\u014e\u0001\u0000\u0000\u0000\u014e\u0150"+ + "\u0001\u0000\u0000\u0000\u014f\u014d\u0001\u0000\u0000\u0000\u0150\u0151"+ + "\u0005J\u0000\u0000\u0151\u001b\u0001\u0000\u0000\u0000\u0152\u0153\u0003"+ + "v;\u0000\u0153\u0154\u0005(\u0000\u0000\u0154\u0155\u0003N\'\u0000\u0155"+ + "\u001d\u0001\u0000\u0000\u0000\u0156\u0157\u0003J%\u0000\u0157\u001f\u0001"+ + "\u0000\u0000\u0000\u0158\u0159\u0005\r\u0000\u0000\u0159\u015a\u0003\""+ + "\u0011\u0000\u015a!\u0001\u0000\u0000\u0000\u015b\u0160\u0003$\u0012\u0000"+ + "\u015c\u015d\u0005)\u0000\u0000\u015d\u015f\u0003$\u0012\u0000\u015e\u015c"+ + "\u0001\u0000\u0000\u0000\u015f\u0162\u0001\u0000\u0000\u0000\u0160\u015e"+ + "\u0001\u0000\u0000\u0000\u0160\u0161\u0001\u0000\u0000\u0000\u0161#\u0001"+ + "\u0000\u0000\u0000\u0162\u0160\u0001\u0000\u0000\u0000\u0163\u0164\u0003"+ + "D\"\u0000\u0164\u0165\u0005%\u0000\u0000\u0165\u0167\u0001\u0000\u0000"+ + "\u0000\u0166\u0163\u0001\u0000\u0000\u0000\u0166\u0167\u0001\u0000\u0000"+ + "\u0000\u0167\u0168\u0001\u0000\u0000\u0000\u0168\u0169\u0003\n\u0005\u0000"+ + "\u0169%\u0001\u0000\u0000\u0000\u016a\u016f\u0003(\u0014\u0000\u016b\u016c"+ + "\u0005)\u0000\u0000\u016c\u016e\u0003(\u0014\u0000\u016d\u016b\u0001\u0000"+ + "\u0000\u0000\u016e\u0171\u0001\u0000\u0000\u0000\u016f\u016d\u0001\u0000"+ + "\u0000\u0000\u016f\u0170\u0001\u0000\u0000\u0000\u0170\'\u0001\u0000\u0000"+ + "\u0000\u0171\u016f\u0001\u0000\u0000\u0000\u0172\u0175\u0003D\"\u0000"+ + "\u0173\u0174\u0005%\u0000\u0000\u0174\u0176\u0003\n\u0005\u0000\u0175"+ + "\u0173\u0001\u0000\u0000\u0000\u0175\u0176\u0001\u0000\u0000\u0000\u0176"+ + ")\u0001\u0000\u0000\u0000\u0177\u0178\u0005\u0007\u0000\u0000\u0178\u017d"+ + "\u0003,\u0016\u0000\u0179\u017a\u0005)\u0000\u0000\u017a\u017c\u0003,"+ + "\u0016\u0000\u017b\u0179\u0001\u0000\u0000\u0000\u017c\u017f\u0001\u0000"+ + "\u0000\u0000\u017d\u017b\u0001\u0000\u0000\u0000\u017d\u017e\u0001\u0000"+ + "\u0000\u0000\u017e\u0181\u0001\u0000\u0000\u0000\u017f\u017d\u0001\u0000"+ + "\u0000\u0000\u0180\u0182\u00034\u001a\u0000\u0181\u0180\u0001\u0000\u0000"+ + "\u0000\u0181\u0182\u0001\u0000\u0000\u0000\u0182+\u0001\u0000\u0000\u0000"+ + "\u0183\u0184\u0003.\u0017\u0000\u0184\u0185\u0005(\u0000\u0000\u0185\u0187"+ + "\u0001\u0000\u0000\u0000\u0186\u0183\u0001\u0000\u0000\u0000\u0186\u0187"+ + "\u0001\u0000\u0000\u0000\u0187\u0188\u0001\u0000\u0000\u0000\u0188\u018f"+ + "\u00032\u0019\u0000\u0189\u018c\u00032\u0019\u0000\u018a\u018b\u0005\'"+ + "\u0000\u0000\u018b\u018d\u00030\u0018\u0000\u018c\u018a\u0001\u0000\u0000"+ + "\u0000\u018c\u018d\u0001\u0000\u0000\u0000\u018d\u018f\u0001\u0000\u0000"+ + "\u0000\u018e\u0186\u0001\u0000\u0000\u0000\u018e\u0189\u0001\u0000\u0000"+ + "\u0000\u018f-\u0001\u0000\u0000\u0000\u0190\u0191\u0007\u0002\u0000\u0000"+ + "\u0191/\u0001\u0000\u0000\u0000\u0192\u0193\u0007\u0002\u0000\u0000\u0193"+ + "1\u0001\u0000\u0000\u0000\u0194\u0195\u0007\u0002\u0000\u0000\u01953\u0001"+ + "\u0000\u0000\u0000\u0196\u0199\u00036\u001b\u0000\u0197\u0199\u00038\u001c"+ + "\u0000\u0198\u0196\u0001\u0000\u0000\u0000\u0198\u0197\u0001\u0000\u0000"+ + "\u0000\u01995\u0001\u0000\u0000\u0000\u019a\u019b\u0005X\u0000\u0000\u019b"+ + "\u01a0\u0005Y\u0000\u0000\u019c\u019d\u0005)\u0000\u0000\u019d\u019f\u0005"+ + "Y\u0000\u0000\u019e\u019c\u0001\u0000\u0000\u0000\u019f\u01a2\u0001\u0000"+ + "\u0000\u0000\u01a0\u019e\u0001\u0000\u0000\u0000\u01a0\u01a1\u0001\u0000"+ + "\u0000\u0000\u01a17\u0001\u0000\u0000\u0000\u01a2\u01a0\u0001\u0000\u0000"+ + "\u0000\u01a3\u01a4\u0005N\u0000\u0000\u01a4\u01a5\u00036\u001b\u0000\u01a5"+ + "\u01a6\u0005O\u0000\u0000\u01a69\u0001\u0000\u0000\u0000\u01a7\u01a8\u0005"+ + "\u0016\u0000\u0000\u01a8\u01ad\u0003,\u0016\u0000\u01a9\u01aa\u0005)\u0000"+ + "\u0000\u01aa\u01ac\u0003,\u0016\u0000\u01ab\u01a9\u0001\u0000\u0000\u0000"+ + "\u01ac\u01af\u0001\u0000\u0000\u0000\u01ad\u01ab\u0001\u0000\u0000\u0000"+ + "\u01ad\u01ae\u0001\u0000\u0000\u0000\u01ae\u01b1\u0001\u0000\u0000\u0000"+ + "\u01af\u01ad\u0001\u0000\u0000\u0000\u01b0\u01b2\u0003@ \u0000\u01b1\u01b0"+ + "\u0001\u0000\u0000\u0000\u01b1\u01b2\u0001\u0000\u0000\u0000\u01b2\u01b5"+ + "\u0001\u0000\u0000\u0000\u01b3\u01b4\u0005&\u0000\u0000\u01b4\u01b6\u0003"+ + "\"\u0011\u0000\u01b5\u01b3\u0001\u0000\u0000\u0000\u01b5\u01b6\u0001\u0000"+ + "\u0000\u0000\u01b6;\u0001\u0000\u0000\u0000\u01b7\u01b8\u0005\u0005\u0000"+ + "\u0000\u01b8\u01b9\u0003\"\u0011\u0000\u01b9=\u0001\u0000\u0000\u0000"+ + "\u01ba\u01bc\u0005\u0010\u0000\u0000\u01bb\u01bd\u0003@ \u0000\u01bc\u01bb"+ + "\u0001\u0000\u0000\u0000\u01bc\u01bd\u0001\u0000\u0000\u0000\u01bd\u01c0"+ + "\u0001\u0000\u0000\u0000\u01be\u01bf\u0005&\u0000\u0000\u01bf\u01c1\u0003"+ + "\"\u0011\u0000\u01c0\u01be\u0001\u0000\u0000\u0000\u01c0\u01c1\u0001\u0000"+ + "\u0000\u0000\u01c1?\u0001\u0000\u0000\u0000\u01c2\u01c7\u0003B!\u0000"+ + "\u01c3\u01c4\u0005)\u0000\u0000\u01c4\u01c6\u0003B!\u0000\u01c5\u01c3"+ + "\u0001\u0000\u0000\u0000\u01c6\u01c9\u0001\u0000\u0000\u0000\u01c7\u01c5"+ + "\u0001\u0000\u0000\u0000\u01c7\u01c8\u0001\u0000\u0000\u0000\u01c8A\u0001"+ + "\u0000\u0000\u0000\u01c9\u01c7\u0001\u0000\u0000\u0000\u01ca\u01cd\u0003"+ + "$\u0012\u0000\u01cb\u01cc\u0005\u0011\u0000\u0000\u01cc\u01ce\u0003\n"+ + "\u0005\u0000\u01cd\u01cb\u0001\u0000\u0000\u0000\u01cd\u01ce\u0001\u0000"+ + "\u0000\u0000\u01ceC\u0001\u0000\u0000\u0000\u01cf\u01d4\u0003T*\u0000"+ + "\u01d0\u01d1\u0005+\u0000\u0000\u01d1\u01d3\u0003T*\u0000\u01d2\u01d0"+ + "\u0001\u0000\u0000\u0000\u01d3\u01d6\u0001\u0000\u0000\u0000\u01d4\u01d2"+ + "\u0001\u0000\u0000\u0000\u01d4\u01d5\u0001\u0000\u0000\u0000\u01d5E\u0001"+ + "\u0000\u0000\u0000\u01d6\u01d4\u0001\u0000\u0000\u0000\u01d7\u01dc\u0003"+ + "L&\u0000\u01d8\u01d9\u0005+\u0000\u0000\u01d9\u01db\u0003L&\u0000\u01da"+ + "\u01d8\u0001\u0000\u0000\u0000\u01db\u01de\u0001\u0000\u0000\u0000\u01dc"+ + "\u01da\u0001\u0000\u0000\u0000\u01dc\u01dd\u0001\u0000\u0000\u0000\u01dd"+ + "G\u0001\u0000\u0000\u0000\u01de\u01dc\u0001\u0000\u0000\u0000\u01df\u01e4"+ + "\u0003F#\u0000\u01e0\u01e1\u0005)\u0000\u0000\u01e1\u01e3\u0003F#\u0000"+ + "\u01e2\u01e0\u0001\u0000\u0000\u0000\u01e3\u01e6\u0001\u0000\u0000\u0000"+ + "\u01e4\u01e2\u0001\u0000\u0000\u0000\u01e4\u01e5\u0001\u0000\u0000\u0000"+ + "\u01e5I\u0001\u0000\u0000\u0000\u01e6\u01e4\u0001\u0000\u0000\u0000\u01e7"+ + "\u01e8\u0007\u0003\u0000\u0000\u01e8K\u0001\u0000\u0000\u0000\u01e9\u01ed"+ + "\u0005]\u0000\u0000\u01ea\u01ed\u0003P(\u0000\u01eb\u01ed\u0003R)\u0000"+ + "\u01ec\u01e9\u0001\u0000\u0000\u0000\u01ec\u01ea\u0001\u0000\u0000\u0000"+ + "\u01ec\u01eb\u0001\u0000\u0000\u0000\u01edM\u0001\u0000\u0000\u0000\u01ee"+ + "\u0219\u00054\u0000\u0000\u01ef\u01f0\u0003t:\u0000\u01f0\u01f1\u0005"+ + "P\u0000\u0000\u01f1\u0219\u0001\u0000\u0000\u0000\u01f2\u0219\u0003r9"+ + "\u0000\u01f3\u0219\u0003t:\u0000\u01f4\u0219\u0003n7\u0000\u01f5\u0219"+ + "\u0003P(\u0000\u01f6\u0219\u0003v;\u0000\u01f7\u01f8\u0005N\u0000\u0000"+ + "\u01f8\u01fd\u0003p8\u0000\u01f9\u01fa\u0005)\u0000\u0000\u01fa\u01fc"+ + "\u0003p8\u0000\u01fb\u01f9\u0001\u0000\u0000\u0000\u01fc\u01ff\u0001\u0000"+ + "\u0000\u0000\u01fd\u01fb\u0001\u0000\u0000\u0000\u01fd\u01fe\u0001\u0000"+ + "\u0000\u0000\u01fe\u0200\u0001\u0000\u0000\u0000\u01ff\u01fd\u0001\u0000"+ + "\u0000\u0000\u0200\u0201\u0005O\u0000\u0000\u0201\u0219\u0001\u0000\u0000"+ + "\u0000\u0202\u0203\u0005N\u0000\u0000\u0203\u0208\u0003n7\u0000\u0204"+ + "\u0205\u0005)\u0000\u0000\u0205\u0207\u0003n7\u0000\u0206\u0204\u0001"+ + "\u0000\u0000\u0000\u0207\u020a\u0001\u0000\u0000\u0000\u0208\u0206\u0001"+ + "\u0000\u0000\u0000\u0208\u0209\u0001\u0000\u0000\u0000\u0209\u020b\u0001"+ + "\u0000\u0000\u0000\u020a\u0208\u0001\u0000\u0000\u0000\u020b\u020c\u0005"+ + "O\u0000\u0000\u020c\u0219\u0001\u0000\u0000\u0000\u020d\u020e\u0005N\u0000"+ + "\u0000\u020e\u0213\u0003v;\u0000\u020f\u0210\u0005)\u0000\u0000\u0210"+ + "\u0212\u0003v;\u0000\u0211\u020f\u0001\u0000\u0000\u0000\u0212\u0215\u0001"+ + "\u0000\u0000\u0000\u0213\u0211\u0001\u0000\u0000\u0000\u0213\u0214\u0001"+ + "\u0000\u0000\u0000\u0214\u0216\u0001\u0000\u0000\u0000\u0215\u0213\u0001"+ + "\u0000\u0000\u0000\u0216\u0217\u0005O\u0000\u0000\u0217\u0219\u0001\u0000"+ + "\u0000\u0000\u0218\u01ee\u0001\u0000\u0000\u0000\u0218\u01ef\u0001\u0000"+ + "\u0000\u0000\u0218\u01f2\u0001\u0000\u0000\u0000\u0218\u01f3\u0001\u0000"+ + "\u0000\u0000\u0218\u01f4\u0001\u0000\u0000\u0000\u0218\u01f5\u0001\u0000"+ + "\u0000\u0000\u0218\u01f6\u0001\u0000\u0000\u0000\u0218\u01f7\u0001\u0000"+ + "\u0000\u0000\u0218\u0202\u0001\u0000\u0000\u0000\u0218\u020d\u0001\u0000"+ + "\u0000\u0000\u0219O\u0001\u0000\u0000\u0000\u021a\u021d\u00058\u0000\u0000"+ + "\u021b\u021d\u0005L\u0000\u0000\u021c\u021a\u0001\u0000\u0000\u0000\u021c"+ + "\u021b\u0001\u0000\u0000\u0000\u021dQ\u0001\u0000\u0000\u0000\u021e\u0221"+ + "\u0005K\u0000\u0000\u021f\u0221\u0005M\u0000\u0000\u0220\u021e\u0001\u0000"+ + "\u0000\u0000\u0220\u021f\u0001\u0000\u0000\u0000\u0221S\u0001\u0000\u0000"+ + "\u0000\u0222\u0226\u0003J%\u0000\u0223\u0226\u0003P(\u0000\u0224\u0226"+ + "\u0003R)\u0000\u0225\u0222\u0001\u0000\u0000\u0000\u0225\u0223\u0001\u0000"+ + "\u0000\u0000\u0225\u0224\u0001\u0000\u0000\u0000\u0226U\u0001\u0000\u0000"+ + "\u0000\u0227\u0228\u0005\n\u0000\u0000\u0228\u0229\u0003N\'\u0000\u0229"+ + "W\u0001\u0000\u0000\u0000\u022a\u022b\u0005\u000f\u0000\u0000\u022b\u0230"+ + "\u0003Z-\u0000\u022c\u022d\u0005)\u0000\u0000\u022d\u022f\u0003Z-\u0000"+ + "\u022e\u022c\u0001\u0000\u0000\u0000\u022f\u0232\u0001\u0000\u0000\u0000"+ + "\u0230\u022e\u0001\u0000\u0000\u0000\u0230\u0231\u0001\u0000\u0000\u0000"+ + "\u0231Y\u0001\u0000\u0000\u0000\u0232\u0230\u0001\u0000\u0000\u0000\u0233"+ + "\u0235\u0003\n\u0005\u0000\u0234\u0236\u0007\u0004\u0000\u0000\u0235\u0234"+ + "\u0001\u0000\u0000\u0000\u0235\u0236\u0001\u0000\u0000\u0000\u0236\u0239"+ + "\u0001\u0000\u0000\u0000\u0237\u0238\u00055\u0000\u0000\u0238\u023a\u0007"+ + "\u0005\u0000\u0000\u0239\u0237\u0001\u0000\u0000\u0000\u0239\u023a\u0001"+ + "\u0000\u0000\u0000\u023a[\u0001\u0000\u0000\u0000\u023b\u023c\u0005\t"+ + "\u0000\u0000\u023c\u023d\u0003H$\u0000\u023d]\u0001\u0000\u0000\u0000"+ + "\u023e\u023f\u0005\u0003\u0000\u0000\u023f\u0240\u0003H$\u0000\u0240_"+ + "\u0001\u0000\u0000\u0000\u0241\u0242\u0005\f\u0000\u0000\u0242\u0247\u0003"+ + "b1\u0000\u0243\u0244\u0005)\u0000\u0000\u0244\u0246\u0003b1\u0000\u0245"+ + "\u0243\u0001\u0000\u0000\u0000\u0246\u0249\u0001\u0000\u0000\u0000\u0247"+ + "\u0245\u0001\u0000\u0000\u0000\u0247\u0248\u0001\u0000\u0000\u0000\u0248"+ + "a\u0001\u0000\u0000\u0000\u0249\u0247\u0001\u0000\u0000\u0000\u024a\u024b"+ + "\u0003F#\u0000\u024b\u024c\u0005a\u0000\u0000\u024c\u024d\u0003F#\u0000"+ + "\u024d\u0253\u0001\u0000\u0000\u0000\u024e\u024f\u0003F#\u0000\u024f\u0250"+ + "\u0005%\u0000\u0000\u0250\u0251\u0003F#\u0000\u0251\u0253\u0001\u0000"+ + "\u0000\u0000\u0252\u024a\u0001\u0000\u0000\u0000\u0252\u024e\u0001\u0000"+ + "\u0000\u0000\u0253c\u0001\u0000\u0000\u0000\u0254\u0255\u0005\u0002\u0000"+ + "\u0000\u0255\u0256\u0003\u0014\n\u0000\u0256\u0258\u0003v;\u0000\u0257"+ + "\u0259\u0003j5\u0000\u0258\u0257\u0001\u0000\u0000\u0000\u0258\u0259\u0001"+ + "\u0000\u0000\u0000\u0259e\u0001\u0000\u0000\u0000\u025a\u025b\u0005\b"+ + "\u0000\u0000\u025b\u025c\u0003\u0014\n\u0000\u025c\u025d\u0003v;\u0000"+ + "\u025dg\u0001\u0000\u0000\u0000\u025e\u025f\u0005\u000b\u0000\u0000\u025f"+ + "\u0260\u0003D\"\u0000\u0260i\u0001\u0000\u0000\u0000\u0261\u0266\u0003"+ + "l6\u0000\u0262\u0263\u0005)\u0000\u0000\u0263\u0265\u0003l6\u0000\u0264"+ + "\u0262\u0001\u0000\u0000\u0000\u0265\u0268\u0001\u0000\u0000\u0000\u0266"+ + "\u0264\u0001\u0000\u0000\u0000\u0266\u0267\u0001\u0000\u0000\u0000\u0267"+ + "k\u0001\u0000\u0000\u0000\u0268\u0266\u0001\u0000\u0000\u0000\u0269\u026a"+ + "\u0003J%\u0000\u026a\u026b\u0005%\u0000\u0000\u026b\u026c\u0003N\'\u0000"+ + "\u026cm\u0001\u0000\u0000\u0000\u026d\u026e\u0007\u0006\u0000\u0000\u026e"+ + "o\u0001\u0000\u0000\u0000\u026f\u0272\u0003r9\u0000\u0270\u0272\u0003"+ + "t:\u0000\u0271\u026f\u0001\u0000\u0000\u0000\u0271\u0270\u0001\u0000\u0000"+ + "\u0000\u0272q\u0001\u0000\u0000\u0000\u0273\u0275\u0007\u0000\u0000\u0000"+ + "\u0274\u0273\u0001\u0000\u0000\u0000\u0274\u0275\u0001\u0000\u0000\u0000"+ + "\u0275\u0276\u0001\u0000\u0000\u0000\u0276\u0277\u0005\"\u0000\u0000\u0277"+ + "s\u0001\u0000\u0000\u0000\u0278\u027a\u0007\u0000\u0000\u0000\u0279\u0278"+ + "\u0001\u0000\u0000\u0000\u0279\u027a\u0001\u0000\u0000\u0000\u027a\u027b"+ + "\u0001\u0000\u0000\u0000\u027b\u027c\u0005!\u0000\u0000\u027cu\u0001\u0000"+ + "\u0000\u0000\u027d\u027e\u0005 \u0000\u0000\u027ew\u0001\u0000\u0000\u0000"+ + "\u027f\u0280\u0007\u0007\u0000\u0000\u0280y\u0001\u0000\u0000\u0000\u0281"+ + "\u0282\u0005\u0006\u0000\u0000\u0282\u0283\u0003|>\u0000\u0283{\u0001"+ + "\u0000\u0000\u0000\u0284\u0285\u0005N\u0000\u0000\u0285\u0286\u0003\u0002"+ + "\u0001\u0000\u0286\u0287\u0005O\u0000\u0000\u0287}\u0001\u0000\u0000\u0000"+ + "\u0288\u0289\u0005\u000e\u0000\u0000\u0289\u028a\u0005o\u0000\u0000\u028a"+ + "\u007f\u0001\u0000\u0000\u0000\u028b\u028c\u0005\u0004\u0000\u0000\u028c"+ + "\u028f\u0005e\u0000\u0000\u028d\u028e\u00056\u0000\u0000\u028e\u0290\u0003"+ + "F#\u0000\u028f\u028d\u0001\u0000\u0000\u0000\u028f\u0290\u0001\u0000\u0000"+ + "\u0000\u0290\u029a\u0001\u0000\u0000\u0000\u0291\u0292\u0005<\u0000\u0000"+ + "\u0292\u0297\u0003\u0082A\u0000\u0293\u0294\u0005)\u0000\u0000\u0294\u0296"+ + "\u0003\u0082A\u0000\u0295\u0293\u0001\u0000\u0000\u0000\u0296\u0299\u0001"+ + "\u0000\u0000\u0000\u0297\u0295\u0001\u0000\u0000\u0000\u0297\u0298\u0001"+ + "\u0000\u0000\u0000\u0298\u029b\u0001\u0000\u0000\u0000\u0299\u0297\u0001"+ + "\u0000\u0000\u0000\u029a\u0291\u0001\u0000\u0000\u0000\u029a\u029b\u0001"+ + "\u0000\u0000\u0000\u029b\u0081\u0001\u0000\u0000\u0000\u029c\u029d\u0003"+ + "F#\u0000\u029d\u029e\u0005%\u0000\u0000\u029e\u02a0\u0001\u0000\u0000"+ + "\u0000\u029f\u029c\u0001\u0000\u0000\u0000\u029f\u02a0\u0001\u0000\u0000"+ + "\u0000\u02a0\u02a1\u0001\u0000\u0000\u0000\u02a1\u02a2\u0003F#\u0000\u02a2"+ + "\u0083\u0001\u0000\u0000\u0000\u02a3\u02a4\u0005\u0013\u0000\u0000\u02a4"+ + "\u02a7\u0003D\"\u0000\u02a5\u02a6\u00056\u0000\u0000\u02a6\u02a8\u0003"+ + "D\"\u0000\u02a7\u02a5\u0001\u0000\u0000\u0000\u02a7\u02a8\u0001\u0000"+ + "\u0000\u0000\u02a8\u02ae\u0001\u0000\u0000\u0000\u02a9\u02aa\u0005a\u0000"+ + "\u0000\u02aa\u02ab\u0003D\"\u0000\u02ab\u02ac\u0005)\u0000\u0000\u02ac"+ + "\u02ad\u0003D\"\u0000\u02ad\u02af\u0001\u0000\u0000\u0000\u02ae\u02a9"+ + "\u0001\u0000\u0000\u0000\u02ae\u02af\u0001\u0000\u0000\u0000\u02af\u0085"+ + "\u0001\u0000\u0000\u0000\u02b0\u02b1\u0005\u0015\u0000\u0000\u02b1\u02b2"+ + "\u0003,\u0016\u0000\u02b2\u02b3\u00056\u0000\u0000\u02b3\u02b4\u0003H"+ + "$\u0000\u02b4\u0087\u0001\u0000\u0000\u0000\u02b5\u02b6\u0005\u0014\u0000"+ + "\u0000\u02b6\u02b9\u0003@ \u0000\u02b7\u02b8\u0005&\u0000\u0000\u02b8"+ + "\u02ba\u0003\"\u0011\u0000\u02b9\u02b7\u0001\u0000\u0000\u0000\u02b9\u02ba"+ + "\u0001\u0000\u0000\u0000\u02ba\u0089\u0001\u0000\u0000\u0000\u02bb\u02bc"+ + "\u0007\b\u0000\u0000\u02bc\u02bd\u0005}\u0000\u0000\u02bd\u02be\u0003"+ + "\u008cF\u0000\u02be\u02bf\u0003\u008eG\u0000\u02bf\u008b\u0001\u0000\u0000"+ + "\u0000\u02c0\u02c1\u0003,\u0016\u0000\u02c1\u008d\u0001\u0000\u0000\u0000"+ + "\u02c2\u02c3\u00056\u0000\u0000\u02c3\u02c8\u0003\u0090H\u0000\u02c4\u02c5"+ + "\u0005)\u0000\u0000\u02c5\u02c7\u0003\u0090H\u0000\u02c6\u02c4\u0001\u0000"+ + "\u0000\u0000\u02c7\u02ca\u0001\u0000\u0000\u0000\u02c8\u02c6\u0001\u0000"+ + "\u0000\u0000\u02c8\u02c9\u0001\u0000\u0000\u0000\u02c9\u008f\u0001\u0000"+ + "\u0000\u0000\u02ca\u02c8\u0001\u0000\u0000\u0000\u02cb\u02cc\u0003\u0010"+ + "\b\u0000\u02cc\u0091\u0001\u0000\u0000\u0000\u02cd\u02ce\u0005\u0017\u0000"+ + "\u0000\u02ce\u02cf\u0003N\'\u0000\u02cf\u02d0\u00056\u0000\u0000\u02d0"+ + "\u02d3\u0003&\u0013\u0000\u02d1\u02d2\u0005<\u0000\u0000\u02d2\u02d4\u0003"+ + "T*\u0000\u02d3\u02d1\u0001\u0000\u0000\u0000\u02d3\u02d4\u0001\u0000\u0000"+ + "\u0000\u02d4\u0093\u0001\u0000\u0000\u0000\u02d5\u02d9\u0005\u0001\u0000"+ + "\u0000\u02d6\u02d7\u0003D\"\u0000\u02d7\u02d8\u0005%\u0000\u0000\u02d8"+ + "\u02da\u0001\u0000\u0000\u0000\u02d9\u02d6\u0001\u0000\u0000\u0000\u02d9"+ + "\u02da\u0001\u0000\u0000\u0000\u02da\u02db\u0001\u0000\u0000\u0000\u02db"+ + "\u02dc\u0003\u0014\n\u0000\u02dc\u02dd\u0005<\u0000\u0000\u02dd\u02de"+ + "\u0003T*\u0000\u02de\u0095\u0001\u0000\u0000\u0000H\u00a1\u00aa\u00c1"+ + "\u00cd\u00d6\u00de\u00e3\u00eb\u00ed\u00f2\u00f9\u00fe\u0103\u010d\u0113"+ + "\u011b\u011d\u0128\u012f\u013a\u013f\u0141\u014d\u0160\u0166\u016f\u0175"+ + "\u017d\u0181\u0186\u018c\u018e\u0198\u01a0\u01ad\u01b1\u01b5\u01bc\u01c0"+ + "\u01c7\u01cd\u01d4\u01dc\u01e4\u01ec\u01fd\u0208\u0213\u0218\u021c\u0220"+ + "\u0225\u0230\u0235\u0239\u0247\u0252\u0258\u0266\u0271\u0274\u0279\u028f"+ + "\u0297\u029a\u029f\u02a7\u02ae\u02b9\u02c8\u02d3\u02d9"; 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 1c3e857ab22c8..c6f7634e660ec 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 @@ -416,6 +416,30 @@ public class EsqlBaseParserBaseListener implements EsqlBaseParserListener { *

The default implementation does nothing.

*/ @Override public void exitField(EsqlBaseParser.FieldContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterRerankFields(EsqlBaseParser.RerankFieldsContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitRerankFields(EsqlBaseParser.RerankFieldsContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterRerankField(EsqlBaseParser.RerankFieldContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitRerankField(EsqlBaseParser.RerankFieldContext ctx) { } /** * {@inheritDoc} * @@ -1172,6 +1196,30 @@ public class EsqlBaseParserBaseListener implements EsqlBaseParserListener { *

The default implementation does nothing.

*/ @Override public void exitJoinPredicate(EsqlBaseParser.JoinPredicateContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterRerankCommand(EsqlBaseParser.RerankCommandContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitRerankCommand(EsqlBaseParser.RerankCommandContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void enterCompletionCommand(EsqlBaseParser.CompletionCommandContext ctx) { } + /** + * {@inheritDoc} + * + *

The default implementation does nothing.

+ */ + @Override public void exitCompletionCommand(EsqlBaseParser.CompletionCommandContext 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 ad6ae790a67dc..108615ac661c7 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 @@ -251,6 +251,20 @@ public class EsqlBaseParserBaseVisitor extends AbstractParseTreeVisitor im * {@link #visitChildren} on {@code ctx}.

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

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

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

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

+ */ + @Override public T visitRerankField(EsqlBaseParser.RerankFieldContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * @@ -692,4 +706,18 @@ public class EsqlBaseParserBaseVisitor extends AbstractParseTreeVisitor im * {@link #visitChildren} on {@code ctx}.

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

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

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

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

+ */ + @Override public T visitCompletionCommand(EsqlBaseParser.CompletionCommandContext ctx) { return visitChildren(ctx); } } 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 c4780ab18d371..427ce1a6b7bd5 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 @@ -385,6 +385,26 @@ public interface EsqlBaseParserListener extends ParseTreeListener { * @param ctx the parse tree */ void exitField(EsqlBaseParser.FieldContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#rerankFields}. + * @param ctx the parse tree + */ + void enterRerankFields(EsqlBaseParser.RerankFieldsContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#rerankFields}. + * @param ctx the parse tree + */ + void exitRerankFields(EsqlBaseParser.RerankFieldsContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#rerankField}. + * @param ctx the parse tree + */ + void enterRerankField(EsqlBaseParser.RerankFieldContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#rerankField}. + * @param ctx the parse tree + */ + void exitRerankField(EsqlBaseParser.RerankFieldContext ctx); /** * Enter a parse tree produced by {@link EsqlBaseParser#fromCommand}. * @param ctx the parse tree @@ -1045,4 +1065,24 @@ public interface EsqlBaseParserListener extends ParseTreeListener { * @param ctx the parse tree */ void exitJoinPredicate(EsqlBaseParser.JoinPredicateContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#rerankCommand}. + * @param ctx the parse tree + */ + void enterRerankCommand(EsqlBaseParser.RerankCommandContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#rerankCommand}. + * @param ctx the parse tree + */ + void exitRerankCommand(EsqlBaseParser.RerankCommandContext ctx); + /** + * Enter a parse tree produced by {@link EsqlBaseParser#completionCommand}. + * @param ctx the parse tree + */ + void enterCompletionCommand(EsqlBaseParser.CompletionCommandContext ctx); + /** + * Exit a parse tree produced by {@link EsqlBaseParser#completionCommand}. + * @param ctx the parse tree + */ + void exitCompletionCommand(EsqlBaseParser.CompletionCommandContext ctx); } 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 91600e77c4e78..3465fdefe33fc 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 @@ -236,6 +236,18 @@ public interface EsqlBaseParserVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitField(EsqlBaseParser.FieldContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#rerankFields}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitRerankFields(EsqlBaseParser.RerankFieldsContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#rerankField}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitRerankField(EsqlBaseParser.RerankFieldContext ctx); /** * Visit a parse tree produced by {@link EsqlBaseParser#fromCommand}. * @param ctx the parse tree @@ -629,4 +641,16 @@ public interface EsqlBaseParserVisitor extends ParseTreeVisitor { * @return the visitor result */ T visitJoinPredicate(EsqlBaseParser.JoinPredicateContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#rerankCommand}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitRerankCommand(EsqlBaseParser.RerankCommandContext ctx); + /** + * Visit a parse tree produced by {@link EsqlBaseParser#completionCommand}. + * @param ctx the parse tree + * @return the visitor result + */ + T visitCompletionCommand(EsqlBaseParser.CompletionCommandContext ctx); } 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 b04a3fd9c1ab2..0a75eba3b112f 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 @@ -826,6 +826,25 @@ public List visitFields(EsqlBaseParser.FieldsContext ctx) { return ctx != null ? visitList(this, ctx.field(), Alias.class) : new ArrayList<>(); } + @Override + public Alias visitRerankField(EsqlBaseParser.RerankFieldContext ctx) { + return visitRerankField(ctx, source(ctx)); + } + + private Alias visitRerankField(EsqlBaseParser.RerankFieldContext ctx, Source source) { + UnresolvedAttribute id = visitQualifiedName(ctx.qualifiedName()); + assert id != null; + + var boolExprCtx = ctx.booleanExpression(); + Expression value = boolExprCtx == null ? id : expression(boolExprCtx); + return new Alias(source, id.name(), value); + } + + @Override + public List visitRerankFields(EsqlBaseParser.RerankFieldsContext ctx) { + return ctx != null ? visitList(this, ctx.rerankField(), Alias.class) : new ArrayList<>(); + } + @Override public NamedExpression visitAggField(EsqlBaseParser.AggFieldContext ctx) { Source source = source(ctx); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java index 397e7cafd7ae2..4ecb907b1769e 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/LogicalPlanBuilder.java @@ -61,6 +61,8 @@ import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.Row; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.LookupJoin; import org.elasticsearch.xpack.esql.plan.logical.show.ShowInfo; import org.elasticsearch.xpack.esql.plugin.EsqlPlugin; @@ -79,6 +81,7 @@ import static java.util.Collections.emptyList; import static org.elasticsearch.common.logging.HeaderWarning.addWarning; +import static org.elasticsearch.xpack.esql.core.type.DataType.KEYWORD; import static org.elasticsearch.xpack.esql.core.util.StringUtils.WILDCARD; import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputExpressions; import static org.elasticsearch.xpack.esql.parser.ParserUtils.source; @@ -461,7 +464,7 @@ public PlanFactory visitEnrichCommand(EsqlBaseParser.EnrichCommandContext ctx) { source, p, mode, - new Literal(source(ctx.policyName), policyNameString, DataType.KEYWORD), + new Literal(source(ctx.policyName), policyNameString, KEYWORD), matchField, null, Map.of(), @@ -478,7 +481,7 @@ public PlanFactory visitChangePointCommand(EsqlBaseParser.ChangePointCommandCont Attribute targetType = new ReferenceAttribute( src, ctx.targetType == null ? "type" : visitQualifiedName(ctx.targetType).name(), - DataType.KEYWORD + KEYWORD ); Attribute targetPvalue = new ReferenceAttribute( src, @@ -531,7 +534,7 @@ public LogicalPlan visitMetricsCommand(EsqlBaseParser.MetricsCommandContext ctx) source, table, false, - List.of(new MetadataAttribute(source, MetadataAttribute.TSID_FIELD, DataType.KEYWORD, false)), + List.of(new MetadataAttribute(source, MetadataAttribute.TSID_FIELD, KEYWORD, false)), IndexMode.TIME_SERIES, null ); @@ -558,7 +561,7 @@ public PlanFactory visitLookupCommand(EsqlBaseParser.LookupCommandContext ctx) { } }); - Literal tableName = new Literal(source, visitIndexPattern(List.of(ctx.indexPattern())), DataType.KEYWORD); + Literal tableName = new Literal(source, visitIndexPattern(List.of(ctx.indexPattern())), KEYWORD); return p -> new Lookup(source, p, tableName, matchFields, null /* localRelation will be resolved later*/); } @@ -638,4 +641,67 @@ public PlanFactory visitJoinCommand(EsqlBaseParser.JoinCommandContext ctx) { return new LookupJoin(source, p, right, joinFields); }; } + + @Override + public PlanFactory visitRerankCommand(EsqlBaseParser.RerankCommandContext ctx) { + Source source = source(ctx); + Expression queryText = expression(ctx.queryText); + if (queryText instanceof Literal queryTextLiteral && DataType.isString(queryText.dataType())) { + if (queryTextLiteral.value() == null) { + throw new ParsingException( + source(ctx.queryText), + "Query text cannot be null or undefined in RERANK", + ctx.queryText.getText() + ); + } + } else { + throw new ParsingException( + source(ctx.queryText), + "RERANK only support string as query text but [{}] cannot be used as string", + ctx.queryText.getText() + ); + } + + Literal inferenceId = ctx.inferenceId != null + ? inferenceId(ctx.inferenceId) + : new Literal(source, Rerank.DEFAULT_INFERENCE_ID, KEYWORD); + + return p -> new Rerank(source, p, inferenceId, queryText, visitRerankFields(ctx.rerankFields())); + } + + @Override + public PlanFactory visitCompletionCommand(EsqlBaseParser.CompletionCommandContext ctx) { + Source source = source(ctx); + Expression prompt = expression(ctx.prompt); + Literal inferenceId = inferenceId(ctx.inferenceId); + Attribute targetField = ctx.targetField == null + ? new UnresolvedAttribute(source, Completion.DEFAULT_OUTPUT_FIELD_NAME) + : visitQualifiedName(ctx.targetField); + + return p -> new Completion(source, p, inferenceId, prompt, targetField); + } + + public Literal inferenceId(EsqlBaseParser.IdentifierOrParameterContext ctx) { + if (ctx.identifier() != null) { + return new Literal(source(ctx), visitIdentifier(ctx.identifier()), KEYWORD); + } + + if (expression(ctx.parameter()) instanceof Literal literalParam) { + if (literalParam.value() != null) { + return literalParam; + } + + throw new ParsingException( + source(ctx.parameter()), + "Query parameter [{}] is null or undefined and cannot be used as inference id", + ctx.parameter().getText() + ); + } + + throw new ParsingException( + source(ctx.parameter()), + "Query parameter [{}] is not a string and cannot be used as inference id", + ctx.parameter().getText() + ); + } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java index ab2b6b6e05858..0662e0870eebc 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/PlanWritables.java @@ -22,6 +22,8 @@ import org.elasticsearch.xpack.esql.plan.logical.OrderBy; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.TopN; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.InlineJoin; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; @@ -47,6 +49,8 @@ import org.elasticsearch.xpack.esql.plan.physical.ShowExec; import org.elasticsearch.xpack.esql.plan.physical.SubqueryExec; import org.elasticsearch.xpack.esql.plan.physical.TopNExec; +import org.elasticsearch.xpack.esql.plan.physical.inference.CompletionExec; +import org.elasticsearch.xpack.esql.plan.physical.inference.RerankExec; import java.util.ArrayList; import java.util.List; @@ -63,6 +67,7 @@ public static List getNamedWriteables() { public static List logical() { return List.of( Aggregate.ENTRY, + Completion.ENTRY, Dissect.ENTRY, Enrich.ENTRY, EsRelation.ENTRY, @@ -79,6 +84,7 @@ public static List logical() { MvExpand.ENTRY, OrderBy.ENTRY, Project.ENTRY, + Rerank.ENTRY, TopN.ENTRY ); } @@ -86,6 +92,7 @@ public static List logical() { public static List physical() { return List.of( AggregateExec.ENTRY, + CompletionExec.ENTRY, DissectExec.ENTRY, EnrichExec.ENTRY, EsQueryExec.ENTRY, @@ -103,6 +110,7 @@ public static List physical() { LocalSourceExec.ENTRY, MvExpandExec.ENTRY, ProjectExec.ENTRY, + RerankExec.ENTRY, ShowExec.ENTRY, SubqueryExec.ENTRY, TopNExec.ENTRY diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java new file mode 100644 index 0000000000000..a577229f51aef --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Completion.java @@ -0,0 +1,170 @@ +/* + * 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.plan.logical.inference; + +import org.elasticsearch.common.io.stream.NamedWriteableRegistry; +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.xpack.esql.capabilities.PostAnalysisVerificationAware; +import org.elasticsearch.xpack.esql.capabilities.TelemetryAware; +import org.elasticsearch.xpack.esql.common.Failures; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.AttributeSet; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.NameId; +import org.elasticsearch.xpack.esql.core.tree.NodeInfo; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; +import org.elasticsearch.xpack.esql.plan.GeneratingPlan; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.SortAgnostic; + +import java.io.IOException; +import java.util.List; +import java.util.Objects; + +import static org.elasticsearch.xpack.esql.common.Failure.fail; +import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT; +import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputAttributes; + +public class Completion extends InferencePlan + implements + GeneratingPlan, + SortAgnostic, + TelemetryAware, + PostAnalysisVerificationAware { + + public static final String DEFAULT_OUTPUT_FIELD_NAME = "completion"; + + public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry( + LogicalPlan.class, + "Completion", + Completion::new + ); + private final Expression prompt; + private final Attribute targetField; + private List lazyOutput; + + public Completion(Source source, LogicalPlan child, Expression inferenceId, Expression prompt, Attribute targetField) { + super(source, child, inferenceId); + this.prompt = prompt; + this.targetField = targetField; + } + + public Completion(StreamInput in) throws IOException { + this( + Source.readFrom((PlanStreamInput) in), + in.readNamedWriteable(LogicalPlan.class), + in.readNamedWriteable(Expression.class), + in.readNamedWriteable(Expression.class), + in.readNamedWriteable(Attribute.class) + ); + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + super.writeTo(out); + out.writeNamedWriteable(prompt); + out.writeNamedWriteable(targetField); + } + + public Expression prompt() { + return prompt; + } + + public Attribute targetField() { + return targetField; + } + + @Override + public Completion withInferenceId(Expression newInferenceId) { + return new Completion(source(), child(), newInferenceId, prompt, targetField); + } + + @Override + public Completion replaceChild(LogicalPlan newChild) { + return new Completion(source(), newChild, inferenceId(), prompt, targetField); + } + + @Override + public TaskType taskType() { + return TaskType.COMPLETION; + } + + @Override + public String getWriteableName() { + return ENTRY.name; + } + + @Override + public List output() { + if (lazyOutput == null) { + lazyOutput = mergeOutputAttributes(List.of(targetField), child().output()); + } + + return lazyOutput; + } + + @Override + public List generatedAttributes() { + return List.of(targetField); + } + + @Override + public Completion withGeneratedNames(List newNames) { + checkNumberOfNewNames(newNames); + return new Completion(source(), child(), inferenceId(), prompt, this.renameTargetField(newNames.get(0))); + } + + private Attribute renameTargetField(String newName) { + if (newName.equals(targetField.name())) { + return targetField; + } + + return targetField.withName(newName).withId(new NameId()); + } + + @Override + protected AttributeSet computeReferences() { + return prompt.references(); + } + + @Override + public boolean expressionsResolved() { + return super.expressionsResolved() && prompt.resolved() && targetField.resolved(); + } + + @Override + public void postAnalysisVerification(Failures failures) { + if (prompt.resolved() && DataType.isString(prompt.dataType()) == false) { + failures.add(fail(prompt, "prompt must be of type [{}] but is [{}]", TEXT.typeName(), prompt.dataType().typeName())); + } + } + + @Override + protected NodeInfo info() { + return NodeInfo.create(this, Completion::new, child(), inferenceId(), prompt, targetField); + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + if (super.equals(o) == false) return false; + Completion completion = (Completion) o; + + return Objects.equals(prompt, completion.prompt) && Objects.equals(targetField, completion.targetField); + } + + @Override + public int hashCode() { + return Objects.hash(super.hashCode(), prompt, targetField); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/InferencePlan.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/InferencePlan.java new file mode 100644 index 0000000000000..3d199fba495c6 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/InferencePlan.java @@ -0,0 +1,67 @@ +/* + * 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.plan.logical.inference; + +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.UnresolvedAttribute; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; + +import java.io.IOException; +import java.util.Objects; + +public abstract class InferencePlan> extends UnaryPlan { + + private final Expression inferenceId; + + protected InferencePlan(Source source, LogicalPlan child, Expression inferenceId) { + super(source, child); + this.inferenceId = inferenceId; + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + source().writeTo(out); + out.writeNamedWriteable(child()); + out.writeNamedWriteable(inferenceId()); + } + + public Expression inferenceId() { + return inferenceId; + } + + @Override + public boolean expressionsResolved() { + return inferenceId.resolved(); + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + if (super.equals(o) == false) return false; + InferencePlan other = (InferencePlan) o; + return Objects.equals(inferenceId(), other.inferenceId()); + } + + @Override + public int hashCode() { + return Objects.hash(super.hashCode(), inferenceId()); + } + + public abstract TaskType taskType(); + + public abstract PlanType withInferenceId(Expression newInferenceId); + + public PlanType withInferenceResolutionError(String inferenceId, String error) { + return withInferenceId(new UnresolvedAttribute(inferenceId().source(), inferenceId, error)); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java new file mode 100644 index 0000000000000..fcfcfb4f21d18 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference/Rerank.java @@ -0,0 +1,192 @@ +/* + * 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.plan.logical.inference; + +import org.elasticsearch.common.io.stream.NamedWriteableRegistry; +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.xpack.esql.capabilities.TelemetryAware; +import org.elasticsearch.xpack.esql.core.capabilities.Resolvables; +import org.elasticsearch.xpack.esql.core.expression.Alias; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.AttributeSet; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.Expressions; +import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.core.expression.UnresolvedAttribute; +import org.elasticsearch.xpack.esql.core.tree.NodeInfo; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.expression.Order; +import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; +import org.elasticsearch.xpack.esql.plan.QueryPlan; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.OrderBy; +import org.elasticsearch.xpack.esql.plan.logical.SortAgnostic; +import org.elasticsearch.xpack.esql.plan.logical.SurrogateLogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; + +import java.io.IOException; +import java.util.List; +import java.util.Objects; + +import static org.elasticsearch.xpack.esql.core.expression.Expressions.asAttributes; +import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputAttributes; + +public class Rerank extends InferencePlan implements SortAgnostic, SurrogateLogicalPlan, TelemetryAware { + + public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry(LogicalPlan.class, "Rerank", Rerank::new); + public static final Object DEFAULT_INFERENCE_ID = ".rerank-v1-elasticsearch"; + private final Attribute scoreAttribute; + private final Expression queryText; + private final List rerankFields; + private List lazyOutput; + + public Rerank(Source source, LogicalPlan child, Expression inferenceId, Expression queryText, List rerankFields) { + super(source, child, inferenceId); + this.queryText = queryText; + this.rerankFields = rerankFields; + this.scoreAttribute = new UnresolvedAttribute(source, MetadataAttribute.SCORE); + } + + public Rerank( + Source source, + LogicalPlan child, + Expression inferenceId, + Expression queryText, + List rerankFields, + Attribute scoreAttribute + ) { + super(source, child, inferenceId); + this.queryText = queryText; + this.rerankFields = rerankFields; + this.scoreAttribute = scoreAttribute; + } + + public Rerank(StreamInput in) throws IOException { + this( + Source.readFrom((PlanStreamInput) in), + in.readNamedWriteable(LogicalPlan.class), + in.readNamedWriteable(Expression.class), + in.readNamedWriteable(Expression.class), + in.readCollectionAsList(Alias::new), + in.readNamedWriteable(Attribute.class) + ); + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + super.writeTo(out); + out.writeNamedWriteable(queryText); + out.writeCollection(rerankFields()); + out.writeNamedWriteable(scoreAttribute); + } + + public Expression queryText() { + return queryText; + } + + public List rerankFields() { + return rerankFields; + } + + public Attribute scoreAttribute() { + return scoreAttribute; + } + + @Override + public TaskType taskType() { + return TaskType.RERANK; + } + + @Override + public Rerank withInferenceId(Expression newInferenceId) { + return new Rerank(source(), child(), newInferenceId, queryText, rerankFields, scoreAttribute); + } + + public Rerank withRerankFields(List newRerankFields) { + return new Rerank(source(), child(), inferenceId(), queryText, newRerankFields, scoreAttribute); + } + + public Rerank withScoreAttribute(Attribute newScoreAttribute) { + return new Rerank(source(), child(), inferenceId(), queryText, rerankFields, newScoreAttribute); + } + + @Override + public String getWriteableName() { + return ENTRY.name; + } + + @Override + public UnaryPlan replaceChild(LogicalPlan newChild) { + return new Rerank(source(), newChild, inferenceId(), queryText, rerankFields, scoreAttribute); + } + + @Override + protected AttributeSet computeReferences() { + AttributeSet.Builder refs = computeReferences(rerankFields).asBuilder(); + + if (planHasAttribute(child(), scoreAttribute)) { + refs.add(scoreAttribute); + } + + return refs.build(); + } + + public static AttributeSet computeReferences(List fields) { + AttributeSet rerankFields = AttributeSet.of(asAttributes(fields)); + return Expressions.references(fields).subtract(rerankFields); + } + + @Override + public boolean expressionsResolved() { + return super.expressionsResolved() && queryText.resolved() && Resolvables.resolved(rerankFields) && scoreAttribute.resolved(); + } + + @Override + protected NodeInfo info() { + return NodeInfo.create(this, Rerank::new, child(), inferenceId(), queryText, rerankFields, scoreAttribute); + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + if (super.equals(o) == false) return false; + Rerank rerank = (Rerank) o; + return Objects.equals(queryText, rerank.queryText) + && Objects.equals(rerankFields, rerank.rerankFields) + && Objects.equals(scoreAttribute, rerank.scoreAttribute); + } + + @Override + public int hashCode() { + return Objects.hash(super.hashCode(), queryText, rerankFields, scoreAttribute); + } + + @Override + public LogicalPlan surrogate() { + Order sortOrder = new Order(source(), scoreAttribute, Order.OrderDirection.DESC, Order.NullsPosition.ANY); + return new OrderBy(source(), this, List.of(sortOrder)); + } + + @Override + public List output() { + if (lazyOutput == null) { + lazyOutput = planHasAttribute(child(), scoreAttribute) + ? child().output() + : mergeOutputAttributes(List.of(scoreAttribute), child().output()); + } + + return lazyOutput; + } + + public static boolean planHasAttribute(QueryPlan plan, Attribute attribute) { + return plan.outputSet().stream().anyMatch(attr -> attr.equals(attribute)); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/CompletionExec.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/CompletionExec.java new file mode 100644 index 0000000000000..80887ad08fe69 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/CompletionExec.java @@ -0,0 +1,114 @@ +/* + * 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.plan.physical.inference; + +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.Attribute; +import org.elasticsearch.xpack.esql.core.expression.AttributeSet; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.tree.NodeInfo; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; +import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; +import org.elasticsearch.xpack.esql.plan.physical.UnaryExec; + +import java.io.IOException; +import java.util.List; +import java.util.Objects; + +import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputAttributes; + +public class CompletionExec extends InferenceExec { + + public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry( + PhysicalPlan.class, + "CompletionExec", + CompletionExec::new + ); + + private final Expression prompt; + private final Attribute targetField; + private List lazyOutput; + + public CompletionExec(Source source, PhysicalPlan child, Expression inferenceId, Expression prompt, Attribute targetField) { + super(source, child, inferenceId); + this.prompt = prompt; + this.targetField = targetField; + } + + public CompletionExec(StreamInput in) throws IOException { + this( + Source.readFrom((PlanStreamInput) in), + in.readNamedWriteable(PhysicalPlan.class), + in.readNamedWriteable(Expression.class), + in.readNamedWriteable(Expression.class), + in.readNamedWriteable(Attribute.class) + ); + } + + @Override + public String getWriteableName() { + return ENTRY.name; + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + super.writeTo(out); + out.writeNamedWriteable(prompt); + out.writeNamedWriteable(targetField); + } + + public Expression prompt() { + return prompt; + } + + public Attribute targetField() { + return targetField; + } + + @Override + protected NodeInfo info() { + return NodeInfo.create(this, CompletionExec::new, child(), inferenceId(), prompt, targetField); + } + + @Override + public UnaryExec replaceChild(PhysicalPlan newChild) { + return new CompletionExec(source(), newChild, inferenceId(), prompt, targetField); + } + + @Override + public List output() { + if (lazyOutput == null) { + lazyOutput = mergeOutputAttributes(List.of(targetField), child().output()); + } + + return lazyOutput; + } + + @Override + protected AttributeSet computeReferences() { + return prompt.references(); + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + if (super.equals(o) == false) return false; + CompletionExec completion = (CompletionExec) o; + + return Objects.equals(prompt, completion.prompt) && Objects.equals(targetField, completion.targetField); + } + + @Override + public int hashCode() { + return Objects.hash(super.hashCode(), prompt, targetField); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/InferenceExec.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/InferenceExec.java new file mode 100644 index 0000000000000..d60a5ecccc384 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/InferenceExec.java @@ -0,0 +1,51 @@ +/* + * 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.plan.physical.inference; + +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; +import org.elasticsearch.xpack.esql.plan.physical.UnaryExec; + +import java.io.IOException; +import java.util.Objects; + +public abstract class InferenceExec extends UnaryExec { + private final Expression inferenceId; + + protected InferenceExec(Source source, PhysicalPlan child, Expression inferenceId) { + super(source, child); + this.inferenceId = inferenceId; + } + + public Expression inferenceId() { + return inferenceId; + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + source().writeTo(out); + out.writeNamedWriteable(child()); + out.writeNamedWriteable(inferenceId()); + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + if (super.equals(o) == false) return false; + InferenceExec that = (InferenceExec) o; + return inferenceId.equals(that.inferenceId); + } + + @Override + public int hashCode() { + return Objects.hash(super.hashCode(), inferenceId()); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExec.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExec.java new file mode 100644 index 0000000000000..4570775af2ed1 --- /dev/null +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExec.java @@ -0,0 +1,138 @@ +/* + * 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.plan.physical.inference; + +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.Alias; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.AttributeSet; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.tree.NodeInfo; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.io.stream.PlanStreamInput; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; +import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; +import org.elasticsearch.xpack.esql.plan.physical.UnaryExec; + +import java.io.IOException; +import java.util.List; +import java.util.Objects; + +import static org.elasticsearch.xpack.esql.expression.NamedExpressions.mergeOutputAttributes; +import static org.elasticsearch.xpack.esql.plan.logical.inference.Rerank.planHasAttribute; + +public class RerankExec extends InferenceExec { + + public static final NamedWriteableRegistry.Entry ENTRY = new NamedWriteableRegistry.Entry( + PhysicalPlan.class, + "RerankExec", + RerankExec::new + ); + + private final Expression queryText; + private final List rerankFields; + private final Attribute scoreAttribute; + + public RerankExec( + Source source, + PhysicalPlan child, + Expression inferenceId, + Expression queryText, + List rerankFields, + Attribute scoreAttribute + ) { + super(source, child, inferenceId); + this.queryText = queryText; + this.rerankFields = rerankFields; + this.scoreAttribute = scoreAttribute; + } + + public RerankExec(StreamInput in) throws IOException { + this( + Source.readFrom((PlanStreamInput) in), + in.readNamedWriteable(PhysicalPlan.class), + in.readNamedWriteable(Expression.class), + in.readNamedWriteable(Expression.class), + in.readCollectionAsList(Alias::new), + in.readNamedWriteable(Attribute.class) + ); + } + + public Expression queryText() { + return queryText; + } + + public List rerankFields() { + return rerankFields; + } + + public Attribute scoreAttribute() { + return scoreAttribute; + } + + @Override + public String getWriteableName() { + return ENTRY.name; + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + super.writeTo(out); + out.writeNamedWriteable(queryText()); + out.writeCollection(rerankFields()); + out.writeNamedWriteable(scoreAttribute); + } + + @Override + protected NodeInfo info() { + return NodeInfo.create(this, RerankExec::new, child(), inferenceId(), queryText, rerankFields, scoreAttribute); + } + + @Override + public UnaryExec replaceChild(PhysicalPlan newChild) { + return new RerankExec(source(), newChild, inferenceId(), queryText, rerankFields, scoreAttribute); + } + + @Override + public List output() { + if (planHasAttribute(child(), scoreAttribute)) { + return child().output(); + } + + return mergeOutputAttributes(List.of(scoreAttribute), child().output()); + } + + @Override + protected AttributeSet computeReferences() { + AttributeSet.Builder refs = Rerank.computeReferences(rerankFields).asBuilder(); + + if (planHasAttribute(child(), scoreAttribute)) { + refs.add(scoreAttribute); + } + + return refs.build(); + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + if (super.equals(o) == false) return false; + RerankExec rerank = (RerankExec) o; + return Objects.equals(queryText, rerank.queryText) + && Objects.equals(rerankFields, rerank.rerankFields) + && Objects.equals(scoreAttribute, rerank.scoreAttribute); + } + + @Override + public int hashCode() { + return Objects.hash(super.hashCode(), queryText, rerankFields, scoreAttribute); + } +} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java index 19ba43066a445..6327a10557130 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java @@ -7,6 +7,7 @@ package org.elasticsearch.xpack.esql.planner; +import org.elasticsearch.common.lucene.BytesRefs; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.util.BigArrays; import org.elasticsearch.compute.Describable; @@ -22,6 +23,7 @@ import org.elasticsearch.compute.operator.ColumnLoadOperator; import org.elasticsearch.compute.operator.Driver; import org.elasticsearch.compute.operator.DriverContext; +import org.elasticsearch.compute.operator.EvalOperator; import org.elasticsearch.compute.operator.EvalOperator.EvalOperatorFactory; import org.elasticsearch.compute.operator.FilterOperator.FilterOperatorFactory; import org.elasticsearch.compute.operator.LimitOperator; @@ -53,6 +55,7 @@ import org.elasticsearch.logging.Logger; import org.elasticsearch.tasks.CancellableTask; import org.elasticsearch.xpack.esql.EsqlIllegalArgumentException; +import org.elasticsearch.xpack.esql.action.ColumnInfoImpl; import org.elasticsearch.xpack.esql.core.expression.Alias; import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.expression.Expression; @@ -74,6 +77,10 @@ import org.elasticsearch.xpack.esql.evaluator.EvalMapper; import org.elasticsearch.xpack.esql.evaluator.command.GrokEvaluatorExtracter; import org.elasticsearch.xpack.esql.expression.Order; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; +import org.elasticsearch.xpack.esql.inference.XContentRowEncoder; +import org.elasticsearch.xpack.esql.inference.completion.CompletionOperator; +import org.elasticsearch.xpack.esql.inference.rerank.RerankOperator; import org.elasticsearch.xpack.esql.plan.physical.AggregateExec; import org.elasticsearch.xpack.esql.plan.physical.ChangePointExec; import org.elasticsearch.xpack.esql.plan.physical.DissectExec; @@ -97,6 +104,8 @@ import org.elasticsearch.xpack.esql.plan.physical.ProjectExec; import org.elasticsearch.xpack.esql.plan.physical.ShowExec; import org.elasticsearch.xpack.esql.plan.physical.TopNExec; +import org.elasticsearch.xpack.esql.plan.physical.inference.CompletionExec; +import org.elasticsearch.xpack.esql.plan.physical.inference.RerankExec; import org.elasticsearch.xpack.esql.planner.EsPhysicalOperationProviders.ShardContext; import org.elasticsearch.xpack.esql.plugin.QueryPragmas; import org.elasticsearch.xpack.esql.score.ScoreMapper; @@ -105,6 +114,7 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Objects; @@ -137,6 +147,7 @@ public class LocalExecutionPlanner { private final Supplier exchangeSinkSupplier; private final EnrichLookupService enrichLookupService; private final LookupFromIndexService lookupFromIndexService; + private final InferenceRunner inferenceRunner; private final PhysicalOperationProviders physicalOperationProviders; private final List shardContexts; @@ -152,6 +163,7 @@ public LocalExecutionPlanner( Supplier exchangeSinkSupplier, EnrichLookupService enrichLookupService, LookupFromIndexService lookupFromIndexService, + InferenceRunner inferenceRunner, PhysicalOperationProviders physicalOperationProviders, List shardContexts ) { @@ -166,6 +178,7 @@ public LocalExecutionPlanner( this.exchangeSinkSupplier = exchangeSinkSupplier; this.enrichLookupService = enrichLookupService; this.lookupFromIndexService = lookupFromIndexService; + this.inferenceRunner = inferenceRunner; this.physicalOperationProviders = physicalOperationProviders; this.configuration = configuration; this.shardContexts = shardContexts; @@ -227,8 +240,12 @@ private PhysicalOperation plan(PhysicalPlan node, LocalExecutionPlannerContext c return planLimit(limit, context); } else if (node instanceof MvExpandExec mvExpand) { return planMvExpand(mvExpand, context); + } else if (node instanceof RerankExec rerank) { + return planRerank(rerank, context); } else if (node instanceof ChangePointExec changePoint) { return planChangePoint(changePoint, context); + } else if (node instanceof CompletionExec completion) { + return planCompletion(completion, context); } // source nodes else if (node instanceof EsQueryExec esQuery) { @@ -260,6 +277,19 @@ else if (node instanceof OutputExec outputExec) { throw new EsqlIllegalArgumentException("unknown physical plan node [" + node.nodeName() + "]"); } + private PhysicalOperation planCompletion(CompletionExec completion, LocalExecutionPlannerContext context) { + PhysicalOperation source = plan(completion.child(), context); + String inferenceId = BytesRefs.toString(completion.inferenceId().fold(context.foldCtx())); + Layout outputLayout = source.layout.builder().append(completion.targetField()).build(); + EvalOperator.ExpressionEvaluator.Factory promptEvaluatorFactory = EvalMapper.toEvaluator( + context.foldCtx(), + completion.prompt(), + source.layout + ); + + return source.with(new CompletionOperator.Factory(inferenceRunner, inferenceId, promptEvaluatorFactory), outputLayout); + } + private PhysicalOperation planAggregation(AggregateExec aggregate, LocalExecutionPlannerContext context) { var source = plan(aggregate.child(), context); return physicalOperationProviders.groupingPhysicalOperation(aggregate, source, context); @@ -503,6 +533,36 @@ private PhysicalOperation planEnrich(EnrichExec enrich, LocalExecutionPlannerCon ); } + private PhysicalOperation planRerank(RerankExec rerank, LocalExecutionPlannerContext context) { + PhysicalOperation source = plan(rerank.child(), context); + + Map rerankFieldsEvaluatorSuppliers = new LinkedHashMap<>(); + + for (var rerankField : rerank.rerankFields()) { + rerankFieldsEvaluatorSuppliers.put( + new ColumnInfoImpl(rerankField.name(), rerankField.dataType(), null), + EvalMapper.toEvaluator(context.foldCtx(), rerankField.child(), source.layout) + ); + } + + XContentRowEncoder.Factory rowEncoderFactory = XContentRowEncoder.yamlRowEncoderFactory(rerankFieldsEvaluatorSuppliers); + + String inferenceId = BytesRefs.toString(rerank.inferenceId().fold(context.foldCtx)); + String queryText = BytesRefs.toString(rerank.queryText().fold(context.foldCtx)); + + Layout outputLayout = source.layout; + if (source.layout.get(rerank.scoreAttribute().id()) == null) { + outputLayout = source.layout.builder().append(rerank.scoreAttribute()).build(); + } + + int scoreChannel = outputLayout.get(rerank.scoreAttribute().id()).channel(); + + return source.with( + new RerankOperator.Factory(inferenceRunner, inferenceId, queryText, rowEncoderFactory, scoreChannel), + outputLayout + ); + } + private PhysicalOperation planHashJoin(HashJoinExec join, LocalExecutionPlannerContext context) { PhysicalOperation source = plan(join.left(), context); int positionsChannel = source.layout.numberOfChannels(); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/Mapper.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/Mapper.java index 8ea19f545e67b..f301503246cc6 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/Mapper.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/Mapper.java @@ -22,6 +22,7 @@ import org.elasticsearch.xpack.esql.plan.logical.OrderBy; import org.elasticsearch.xpack.esql.plan.logical.TopN; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinConfig; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; @@ -35,6 +36,7 @@ import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; import org.elasticsearch.xpack.esql.plan.physical.TopNExec; import org.elasticsearch.xpack.esql.plan.physical.UnaryExec; +import org.elasticsearch.xpack.esql.plan.physical.inference.RerankExec; import java.util.List; @@ -165,6 +167,18 @@ private PhysicalPlan mapUnary(UnaryPlan unary) { return new TopNExec(topN.source(), mappedChild, topN.order(), topN.limit(), null); } + if (unary instanceof Rerank rerank) { + mappedChild = addExchangeForFragment(rerank, mappedChild); + return new RerankExec( + rerank.source(), + mappedChild, + rerank.inferenceId(), + rerank.queryText(), + rerank.rerankFields(), + rerank.scoreAttribute() + ); + } + // // Pipeline operators // diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java index a71c491a03472..5c7c66e9f1236 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/mapper/MapperUtils.java @@ -24,6 +24,8 @@ import org.elasticsearch.xpack.esql.plan.logical.MvExpand; import org.elasticsearch.xpack.esql.plan.logical.Project; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.local.LocalRelation; import org.elasticsearch.xpack.esql.plan.logical.show.ShowInfo; import org.elasticsearch.xpack.esql.plan.physical.AggregateExec; @@ -38,6 +40,8 @@ import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; import org.elasticsearch.xpack.esql.plan.physical.ProjectExec; import org.elasticsearch.xpack.esql.plan.physical.ShowExec; +import org.elasticsearch.xpack.esql.plan.physical.inference.CompletionExec; +import org.elasticsearch.xpack.esql.plan.physical.inference.RerankExec; import org.elasticsearch.xpack.esql.planner.AbstractPhysicalOperationProviders; import java.util.List; @@ -82,6 +86,21 @@ static PhysicalPlan mapUnary(UnaryPlan p, PhysicalPlan child) { return new GrokExec(grok.source(), child, grok.input(), grok.parser(), grok.extractedFields()); } + if (p instanceof Rerank rerank) { + return new RerankExec( + rerank.source(), + child, + rerank.inferenceId(), + rerank.queryText(), + rerank.rerankFields(), + rerank.scoreAttribute() + ); + } + + if (p instanceof Completion completion) { + return new CompletionExec(completion.source(), child, completion.inferenceId(), completion.prompt(), completion.targetField()); + } + if (p instanceof Enrich enrich) { return new EnrichExec( enrich.source(), diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ComputeService.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ComputeService.java index 567be8c1eb2d5..5d5c6fc3f060d 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ComputeService.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ComputeService.java @@ -49,6 +49,7 @@ import org.elasticsearch.xpack.esql.core.expression.FoldContext; import org.elasticsearch.xpack.esql.enrich.EnrichLookupService; import org.elasticsearch.xpack.esql.enrich.LookupFromIndexService; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; import org.elasticsearch.xpack.esql.plan.physical.ExchangeSinkExec; import org.elasticsearch.xpack.esql.plan.physical.ExchangeSourceExec; import org.elasticsearch.xpack.esql.plan.physical.OutputExec; @@ -88,6 +89,7 @@ public class ComputeService { private final DriverTaskRunner driverRunner; private final EnrichLookupService enrichLookupService; private final LookupFromIndexService lookupFromIndexService; + private final InferenceRunner inferenceRunner; private final ClusterService clusterService; private final AtomicLong childSessionIdGenerator = new AtomicLong(); private final DataNodeComputeHandler dataNodeComputeHandler; @@ -98,25 +100,24 @@ public class ComputeService { @SuppressWarnings("this-escape") public ComputeService( - SearchService searchService, - TransportService transportService, - ExchangeService exchangeService, + TransportActionServices transportActionServices, EnrichLookupService enrichLookupService, LookupFromIndexService lookupFromIndexService, - ClusterService clusterService, ThreadPool threadPool, BigArrays bigArrays, BlockFactory blockFactory ) { - this.searchService = searchService; - this.transportService = transportService; + this.searchService = transportActionServices.searchService(); + this.transportService = transportActionServices.transportService(); + this.exchangeService = transportActionServices.exchangeService(); this.bigArrays = bigArrays.withCircuitBreaking(); this.blockFactory = blockFactory; var esqlExecutor = threadPool.executor(ThreadPool.Names.SEARCH); this.driverRunner = new DriverTaskRunner(transportService, esqlExecutor); this.enrichLookupService = enrichLookupService; this.lookupFromIndexService = lookupFromIndexService; - this.clusterService = clusterService; + this.inferenceRunner = transportActionServices.inferenceRunner(); + this.clusterService = transportActionServices.clusterService(); this.dataNodeComputeHandler = new DataNodeComputeHandler( this, clusterService, @@ -132,7 +133,6 @@ public ComputeService( esqlExecutor, dataNodeComputeHandler ); - this.exchangeService = exchangeService; clusterService.getClusterSettings().initializeAndWatch(EsqlPlugin.DEFAULT_DATA_PARTITIONING, v -> this.defaultDataPartitioning = v); } @@ -411,6 +411,7 @@ public SourceProvider createSourceProvider() { context.exchangeSinkSupplier(), enrichLookupService, lookupFromIndexService, + inferenceRunner, physicalOperationProviders, contexts ); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportActionServices.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportActionServices.java index ad112542e000a..0874ff4068227 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportActionServices.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportActionServices.java @@ -13,6 +13,7 @@ import org.elasticsearch.search.SearchService; import org.elasticsearch.transport.TransportService; import org.elasticsearch.usage.UsageService; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; public record TransportActionServices( TransportService transportService, @@ -20,5 +21,6 @@ public record TransportActionServices( ExchangeService exchangeService, ClusterService clusterService, IndexNameExpressionResolver indexNameExpressionResolver, - UsageService usageService + UsageService usageService, + InferenceRunner inferenceRunner ) {} diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportEsqlQueryAction.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportEsqlQueryAction.java index 1225c3b7c78f5..5a5e858fb7c3f 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportEsqlQueryAction.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/TransportEsqlQueryAction.java @@ -49,6 +49,7 @@ import org.elasticsearch.xpack.esql.enrich.EnrichPolicyResolver; import org.elasticsearch.xpack.esql.enrich.LookupFromIndexService; import org.elasticsearch.xpack.esql.execution.PlanExecutor; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; import org.elasticsearch.xpack.esql.session.Configuration; import org.elasticsearch.xpack.esql.session.EsqlSession.PlanRunner; import org.elasticsearch.xpack.esql.session.Result; @@ -130,17 +131,7 @@ public TransportEsqlQueryAction( bigArrays, blockFactoryProvider.blockFactory() ); - this.computeService = new ComputeService( - searchService, - transportService, - exchangeService, - enrichLookupService, - lookupFromIndexService, - clusterService, - threadPool, - bigArrays, - blockFactoryProvider.blockFactory() - ); + this.asyncTaskManagementService = new AsyncTaskManagementService<>( XPackPlugin.ASYNC_RESULTS_INDEX, client, @@ -163,8 +154,19 @@ public TransportEsqlQueryAction( exchangeService, clusterService, indexNameExpressionResolver, - usageService + usageService, + new InferenceRunner(client, threadPool) ); + + this.computeService = new ComputeService( + services, + enrichLookupService, + lookupFromIndexService, + threadPool, + bigArrays, + blockFactoryProvider.blockFactory() + ); + defaultAllowPartialResults = EsqlPlugin.QUERY_ALLOW_PARTIAL_RESULTS.get(clusterService.getSettings()); clusterService.getClusterSettings() .addSettingsUpdateConsumer(EsqlPlugin.QUERY_ALLOW_PARTIAL_RESULTS, v -> defaultAllowPartialResults = v); diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java index 72c792d6f034b..d1afb885b96de 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java @@ -51,6 +51,8 @@ import org.elasticsearch.xpack.esql.index.EsIndex; import org.elasticsearch.xpack.esql.index.IndexResolution; import org.elasticsearch.xpack.esql.index.MappingException; +import org.elasticsearch.xpack.esql.inference.InferenceResolution; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; import org.elasticsearch.xpack.esql.optimizer.LogicalPlanOptimizer; import org.elasticsearch.xpack.esql.optimizer.PhysicalOptimizerContext; import org.elasticsearch.xpack.esql.optimizer.PhysicalPlanOptimizer; @@ -73,6 +75,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.TopN; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; +import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; import org.elasticsearch.xpack.esql.plan.logical.join.InlineJoin; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; import org.elasticsearch.xpack.esql.plan.logical.join.LookupJoin; @@ -126,6 +129,7 @@ public interface PlanRunner { private final PlanTelemetry planTelemetry; private final IndicesExpressionGrouper indicesExpressionGrouper; private Set configuredClusters; + private final InferenceRunner inferenceRunner; public EsqlSession( String sessionId, @@ -153,6 +157,7 @@ public EsqlSession( this.physicalPlanOptimizer = new PhysicalPlanOptimizer(new PhysicalOptimizerContext(configuration)); this.planTelemetry = planTelemetry; this.indicesExpressionGrouper = indicesExpressionGrouper; + this.inferenceRunner = services.inferenceRunner(); this.preMapper = new PreMapper(services); } @@ -305,7 +310,7 @@ public void analyzedPlan( Function analyzeAction = (l) -> { Analyzer analyzer = new Analyzer( - new AnalyzerContext(configuration, functionRegistry, l.indices, l.lookupIndices, l.enrichResolution), + new AnalyzerContext(configuration, functionRegistry, l.indices, l.lookupIndices, l.enrichResolution, l.inferenceResolution), verifier ); LogicalPlan plan = analyzer.analyze(parsed); @@ -331,7 +336,9 @@ public void analyzedPlan( var listener = SubscribableListener.newForked( l -> enrichPolicyResolver.resolvePolicies(unresolvedPolicies, executionInfo, l) - ).andThen((l, enrichResolution) -> resolveFieldNames(parsed, enrichResolution, l)); + ) + .andThen((l, enrichResolution) -> resolveFieldNames(parsed, enrichResolution, l)) + .andThen((l, preAnalysisResult) -> resolveInferences(preAnalysis.inferencePlans, preAnalysisResult, l)); // first resolve the lookup indices, then the main indices for (TableInfo lookupIndex : preAnalysis.lookupIndices) { listener = listener.andThen((l, preAnalysisResult) -> { preAnalyzeLookupIndex(lookupIndex, preAnalysisResult, l); }); @@ -538,6 +545,14 @@ private static void resolveFieldNames(LogicalPlan parsed, EnrichResolution enric } } + private void resolveInferences( + List> inferencePlans, + PreAnalysisResult preAnalysisResult, + ActionListener l + ) { + inferenceRunner.resolveInferenceIds(inferencePlans, l.map(preAnalysisResult::withInferenceResolution)); + } + static PreAnalysisResult fieldNames(LogicalPlan parsed, Set enrichPolicyMatchFields, PreAnalysisResult result) { if (false == parsed.anyMatch(plan -> plan instanceof Aggregate || plan instanceof Project)) { // no explicit columns selection, for example "from employees" @@ -751,18 +766,44 @@ record PreAnalysisResult( Map lookupIndices, EnrichResolution enrichResolution, Set fieldNames, - Set wildcardJoinIndices + Set wildcardJoinIndices, + InferenceResolution inferenceResolution ) { PreAnalysisResult(EnrichResolution newEnrichResolution) { - this(null, new HashMap<>(), newEnrichResolution, Set.of(), Set.of()); + this(null, new HashMap<>(), newEnrichResolution, Set.of(), Set.of(), InferenceResolution.EMPTY); } PreAnalysisResult withEnrichResolution(EnrichResolution newEnrichResolution) { - return new PreAnalysisResult(indices(), lookupIndices(), newEnrichResolution, fieldNames(), wildcardJoinIndices()); + return new PreAnalysisResult( + indices(), + lookupIndices(), + newEnrichResolution, + fieldNames(), + wildcardJoinIndices(), + inferenceResolution() + ); + } + + PreAnalysisResult withInferenceResolution(InferenceResolution newInferenceResolution) { + return new PreAnalysisResult( + indices(), + lookupIndices(), + enrichResolution(), + fieldNames(), + wildcardJoinIndices(), + newInferenceResolution + ); } PreAnalysisResult withIndexResolution(IndexResolution newIndexResolution) { - return new PreAnalysisResult(newIndexResolution, lookupIndices(), enrichResolution(), fieldNames(), wildcardJoinIndices()); + return new PreAnalysisResult( + newIndexResolution, + lookupIndices(), + enrichResolution(), + fieldNames(), + wildcardJoinIndices(), + inferenceResolution() + ); } PreAnalysisResult addLookupIndexResolution(String index, IndexResolution newIndexResolution) { @@ -771,11 +812,25 @@ PreAnalysisResult addLookupIndexResolution(String index, IndexResolution newInde } PreAnalysisResult withFieldNames(Set newFields) { - return new PreAnalysisResult(indices(), lookupIndices(), enrichResolution(), newFields, wildcardJoinIndices()); + return new PreAnalysisResult( + indices(), + lookupIndices(), + enrichResolution(), + newFields, + wildcardJoinIndices(), + inferenceResolution() + ); } public PreAnalysisResult withWildcardJoinIndices(Set wildcardJoinIndices) { - return new PreAnalysisResult(indices(), lookupIndices(), enrichResolution(), fieldNames(), wildcardJoinIndices); + return new PreAnalysisResult( + indices(), + lookupIndices(), + enrichResolution(), + fieldNames(), + wildcardJoinIndices, + inferenceResolution() + ); } } } diff --git a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java index e177118e2bb60..7eaea682a0440 100644 --- a/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java +++ b/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/telemetry/FeatureMetric.java @@ -28,6 +28,8 @@ import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.Row; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.LookupJoin; import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; import org.elasticsearch.xpack.esql.plan.logical.show.ShowInfo; @@ -56,7 +58,9 @@ public enum FeatureMetric { LOOKUP_JOIN(LookupJoin.class::isInstance), LOOKUP(Lookup.class::isInstance), CHANGE_POINT(ChangePoint.class::isInstance), - INLINESTATS(InlineStats.class::isInstance); + INLINESTATS(InlineStats.class::isInstance), + COMPLETION(Completion.class::isInstance), + RERANK(Rerank.class::isInstance); /** * List here plans we want to exclude from telemetry diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java index a86c9de4701ea..d4893194345f2 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java @@ -66,6 +66,7 @@ import org.elasticsearch.xpack.esql.expression.function.EsqlFunctionRegistry; import org.elasticsearch.xpack.esql.index.EsIndex; import org.elasticsearch.xpack.esql.index.IndexResolution; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; import org.elasticsearch.xpack.esql.optimizer.LocalLogicalOptimizerContext; import org.elasticsearch.xpack.esql.optimizer.LocalLogicalPlanOptimizer; import org.elasticsearch.xpack.esql.optimizer.LocalPhysicalOptimizerContext; @@ -119,6 +120,7 @@ import static org.elasticsearch.xpack.esql.CsvTestsDataLoader.CSV_DATASET_MAP; import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_VERIFIER; import static org.elasticsearch.xpack.esql.EsqlTestUtils.classpathResources; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.cap; import static org.hamcrest.Matchers.equalTo; @@ -256,6 +258,14 @@ public final void test() throws Throwable { */ assumeFalse("metadata fields aren't supported", testCase.requiredCapabilities.contains(cap(EsqlFeatures.METADATA_FIELDS))); assumeFalse("enrich can't load fields in csv tests", testCase.requiredCapabilities.contains(cap(EsqlFeatures.ENRICH_LOAD))); + assumeFalse( + "can't use rereank in csv tests", + testCase.requiredCapabilities.contains(EsqlCapabilities.Cap.RERANK.capabilityName()) + ); + assumeFalse( + "can't use completion in csv tests", + testCase.requiredCapabilities.contains(EsqlCapabilities.Cap.COMPLETION.capabilityName()) + ); assumeFalse( "can't use match in csv tests", testCase.requiredCapabilities.contains(EsqlCapabilities.Cap.MATCH_OPERATOR_COLON.capabilityName()) @@ -462,7 +472,10 @@ private static EnrichPolicy loadEnrichPolicyMapping(String policyFileName) { private LogicalPlan analyzedPlan(LogicalPlan parsed, CsvTestsDataLoader.MultiIndexTestDataset datasets) { var indexResolution = loadIndexResolution(datasets); var enrichPolicies = loadEnrichPolicies(); - var analyzer = new Analyzer(new AnalyzerContext(configuration, functionRegistry, indexResolution, enrichPolicies), TEST_VERIFIER); + var analyzer = new Analyzer( + new AnalyzerContext(configuration, functionRegistry, indexResolution, enrichPolicies, emptyInferenceResolution()), + TEST_VERIFIER + ); LogicalPlan plan = analyzer.analyze(parsed); plan.setAnalyzed(); LOGGER.debug("Analyzed plan:\n{}", plan); @@ -647,6 +660,7 @@ void executeSubPlan( () -> exchangeSink.createExchangeSink(() -> {}), Mockito.mock(EnrichLookupService.class), Mockito.mock(LookupFromIndexService.class), + Mockito.mock(InferenceRunner.class), physicalOperationProviders, List.of() ); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java index e0f5c2ac40ca3..eeebc0d9726c0 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTestUtils.java @@ -8,6 +8,7 @@ package org.elasticsearch.xpack.esql.analysis; import org.elasticsearch.index.IndexMode; +import org.elasticsearch.inference.TaskType; import org.elasticsearch.xpack.core.enrich.EnrichPolicy; import org.elasticsearch.xpack.esql.EsqlTestUtils; import org.elasticsearch.xpack.esql.core.type.EsField; @@ -16,6 +17,8 @@ import org.elasticsearch.xpack.esql.expression.function.EsqlFunctionRegistry; import org.elasticsearch.xpack.esql.index.EsIndex; import org.elasticsearch.xpack.esql.index.IndexResolution; +import org.elasticsearch.xpack.esql.inference.InferenceResolution; +import org.elasticsearch.xpack.esql.inference.ResolvedInference; import org.elasticsearch.xpack.esql.parser.EsqlParser; import org.elasticsearch.xpack.esql.parser.QueryParams; import org.elasticsearch.xpack.esql.plan.logical.Enrich; @@ -33,6 +36,7 @@ import static org.elasticsearch.xpack.core.enrich.EnrichPolicy.RANGE_TYPE; import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_VERIFIER; import static org.elasticsearch.xpack.esql.EsqlTestUtils.configuration; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; public final class AnalyzerTestUtils { @@ -61,7 +65,8 @@ public static Analyzer analyzer(IndexResolution indexResolution, Verifier verifi new EsqlFunctionRegistry(), indexResolution, defaultLookupResolution(), - defaultEnrichResolution() + defaultEnrichResolution(), + emptyInferenceResolution() ), verifier ); @@ -74,7 +79,8 @@ public static Analyzer analyzer(IndexResolution indexResolution, Map analyze( + "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH `completion-inference-id`", + "mapping-books.json" + ) + + ); + assertThat( + ve.getMessage(), + containsString( + "cannot use inference endpoint [completion-inference-id] with task type [completion] within a Rerank command. " + + "Only inference endpoints with the task type [rerank] are supported" + ) + ); + } + + { + VerificationException ve = expectThrows( + VerificationException.class, + () -> analyze( + "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH `error-inference-id`", + "mapping-books.json" + ) + + ); + assertThat(ve.getMessage(), containsString("error with inference resolution")); + } + + { + VerificationException ve = expectThrows( + VerificationException.class, + () -> analyze( + "FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH `unknown-inference-id`", + "mapping-books.json" + ) + + ); + assertThat(ve.getMessage(), containsString("unresolved inference [unknown-inference-id]")); + } + } + + public void testResolveRerankFields() { + assumeTrue("Requires RERANK command", EsqlCapabilities.Cap.RERANK.isEnabled()); + + { + // Single field. + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | WHERE title:"italian food recipe" OR description:"italian food recipe" + | KEEP description, title, year, _score + | DROP description + | RERANK "italian food recipe" ON title WITH `reranking-inference-id` + """, "mapping-books.json"); + + Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. + Rerank rerank = as(limit.child(), Rerank.class); + EsqlProject keep = as(rerank.child(), EsqlProject.class); + EsqlProject drop = as(keep.child(), EsqlProject.class); + Filter filter = as(drop.child(), Filter.class); + EsRelation relation = as(filter.child(), EsRelation.class); + + Attribute titleAttribute = getAttributeByName(relation.output(), "title"); + assertThat(getAttributeByName(relation.output(), "title"), notNullValue()); + + assertThat(rerank.queryText(), equalTo(string("italian food recipe"))); + assertThat(rerank.inferenceId(), equalTo(string("reranking-inference-id"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", titleAttribute)))); + assertThat(rerank.scoreAttribute(), equalTo(getAttributeByName(relation.output(), MetadataAttribute.SCORE))); + } + + { + // Multiple fields. + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | WHERE title:"food" + | RERANK "food" ON title, description=SUBSTRING(description, 0, 100), yearRenamed=year WITH `reranking-inference-id` + """, "mapping-books.json"); + + Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. + Rerank rerank = as(limit.child(), Rerank.class); + Filter filter = as(rerank.child(), Filter.class); + EsRelation relation = as(filter.child(), EsRelation.class); + + assertThat(rerank.queryText(), equalTo(string("food"))); + assertThat(rerank.inferenceId(), equalTo(string("reranking-inference-id"))); + + assertThat(rerank.rerankFields(), hasSize(3)); + Attribute titleAttribute = getAttributeByName(relation.output(), "title"); + assertThat(titleAttribute, notNullValue()); + assertThat(rerank.rerankFields().get(0), equalTo(alias("title", titleAttribute))); + + Attribute descriptionAttribute = getAttributeByName(relation.output(), "description"); + assertThat(descriptionAttribute, notNullValue()); + Alias descriptionAlias = rerank.rerankFields().get(1); + assertThat(descriptionAlias.name(), equalTo("description")); + assertThat( + as(descriptionAlias.child(), Substring.class).children(), + equalTo(List.of(descriptionAttribute, literal(0), literal(100))) + ); + + Attribute yearAttribute = getAttributeByName(relation.output(), "year"); + assertThat(yearAttribute, notNullValue()); + assertThat(rerank.rerankFields().get(2), equalTo(alias("yearRenamed", yearAttribute))); + + assertThat(rerank.scoreAttribute(), equalTo(getAttributeByName(relation.output(), MetadataAttribute.SCORE))); + } + + { + // Unnamed field. + try { + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | WHERE title:"food" + | RERANK "food" ON title, SUBSTRING(description, 0, 100), yearRenamed=year WITH `reranking-inference-id` + """, "mapping-books.json"); + } catch (ParsingException ex) { + assertThat( + ex.getMessage(), + containsString("line 3:36: mismatched input '(' expecting {, '|', '=', ',', '.', 'with'}") + ); + } + } + + { + VerificationException ve = expectThrows( + VerificationException.class, + () -> analyze( + "FROM books METADATA _score | RERANK \"italian food recipe\" ON missingField WITH `reranking-inference-id`", + "mapping-books.json" + ) + + ); + assertThat(ve.getMessage(), containsString("Unknown column [missingField]")); + } + } + + public void testResolveRerankScoreField() { + assumeTrue("Requires RERANK command", EsqlCapabilities.Cap.RERANK.isEnabled()); + + { + // When the metadata field is required in FROM, it is reused. + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | WHERE title:"italian food recipe" OR description:"italian food recipe" + | RERANK "italian food recipe" ON title WITH `reranking-inference-id` + """, "mapping-books.json"); + + Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. + Rerank rerank = as(limit.child(), Rerank.class); + Filter filter = as(rerank.child(), Filter.class); + EsRelation relation = as(filter.child(), EsRelation.class); + + Attribute metadataScoreAttribute = getAttributeByName(relation.output(), MetadataAttribute.SCORE); + assertThat(rerank.scoreAttribute(), equalTo(metadataScoreAttribute)); + assertThat(rerank.output(), hasItem(metadataScoreAttribute)); + } + + { + // When the metadata field is not required in FROM, it is added to the output of RERANK + LogicalPlan plan = analyze(""" + FROM books + | WHERE title:"italian food recipe" OR description:"italian food recipe" + | RERANK "italian food recipe" ON title WITH `reranking-inference-id` + """, "mapping-books.json"); + + Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule. + Rerank rerank = as(limit.child(), Rerank.class); + Filter filter = as(rerank.child(), Filter.class); + EsRelation relation = as(filter.child(), EsRelation.class); + + assertThat(relation.output().stream().noneMatch(attr -> attr.name().equals(MetadataAttribute.SCORE)), is(true)); + assertThat(rerank.scoreAttribute(), equalTo(MetadataAttribute.create(EMPTY, MetadataAttribute.SCORE))); + assertThat(rerank.output(), hasItem(rerank.scoreAttribute())); + } + } + + public void testResolveCompletionInferenceId() { + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | COMPLETION CONCAT("Translate the following text in French\\n", description) WITH `completion-inference-id` + """, "mapping-books.json"); + Completion completion = as(as(plan, Limit.class).child(), Completion.class); + assertThat(completion.inferenceId(), equalTo(string("completion-inference-id"))); + } + + public void testResolveCompletionInferenceIdInvalidTaskType() { + assertError( + """ + FROM books METADATA _score + | COMPLETION CONCAT("Translate the following text in French\\n", description) WITH `reranking-inference-id` + """, + "mapping-books.json", + new QueryParams(), + "cannot use inference endpoint [reranking-inference-id] with task type [rerank] within a Completion command." + + " Only inference endpoints with the task type [completion] are supported" + ); + } + + public void testResolveCompletionInferenceMissingInferenceId() { + assertError(""" + FROM books METADATA _score + | COMPLETION CONCAT("Translate the following text in French\\n", description) WITH `unknown-inference-id` + """, "mapping-books.json", new QueryParams(), "unresolved inference [unknown-inference-id]"); + } + + public void testResolveCompletionInferenceIdResolutionError() { + assertError(""" + FROM books METADATA _score + | COMPLETION CONCAT("Translate the following text in French\\n", description) WITH `error-inference-id` + """, "mapping-books.json", new QueryParams(), "error with inference resolution"); + } + + public void testResolveCompletionTargetField() { + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | COMPLETION translation=CONCAT("Translate the following text in French\\n", description) WITH `completion-inference-id` + """, "mapping-books.json"); + + Completion completion = as(as(plan, Limit.class).child(), Completion.class); + assertThat(completion.targetField(), equalTo(referenceAttribute("translation", DataType.KEYWORD))); + } + + public void testResolveCompletionDefaultTargetField() { + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | COMPLETION CONCAT("Translate the following text in French\\n", description) WITH `completion-inference-id` + """, "mapping-books.json"); + + Completion completion = as(as(plan, Limit.class).child(), Completion.class); + assertThat(completion.targetField(), equalTo(referenceAttribute("completion", DataType.KEYWORD))); + } + + public void testResolveCompletionPrompt() { + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | COMPLETION CONCAT("Translate the following text in French\\n", description) WITH `completion-inference-id` + """, "mapping-books.json"); + + Completion completion = as(as(plan, Limit.class).child(), Completion.class); + EsRelation esRelation = as(completion.child(), EsRelation.class); + + assertThat( + as(completion.prompt(), Concat.class).children(), + equalTo(List.of(string("Translate the following text in French\n"), getAttributeByName(esRelation.output(), "description"))) + ); + } + + public void testResolveCompletionPromptInvalidType() { + assertError(""" + FROM books METADATA _score + | COMPLETION LENGTH(description) WITH `completion-inference-id` + """, "mapping-books.json", new QueryParams(), "prompt must be of type [text] but is [integer]"); + } + + public void testResolveCompletionOutputField() { + LogicalPlan plan = analyze(""" + FROM books METADATA _score + | COMPLETION description=CONCAT("Translate the following text in French\\n", description) WITH `completion-inference-id` + """, "mapping-books.json"); + + Completion completion = as(as(plan, Limit.class).child(), Completion.class); + assertThat(completion.targetField(), equalTo(referenceAttribute("description", DataType.KEYWORD))); + + EsRelation esRelation = as(completion.child(), EsRelation.class); + assertThat(getAttributeByName(completion.output(), "description"), equalTo(completion.targetField())); + assertThat(getAttributeByName(esRelation.output(), "description"), not(equalTo(completion.targetField()))); + } + @Override protected IndexAnalyzers createDefaultIndexAnalyzers() { return super.createDefaultIndexAnalyzers(); } + + static Alias alias(String name, Expression value) { + return new Alias(EMPTY, name, value); + } + + static Literal string(String value) { + return new Literal(EMPTY, value, DataType.KEYWORD); + } + + static Literal literal(int value) { + return new Literal(EMPTY, value, DataType.INTEGER); + } } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/ParsingTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/ParsingTests.java index 21a8976546b93..1ba9fb05ca65d 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/ParsingTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/ParsingTests.java @@ -35,6 +35,7 @@ import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_CFG; import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_VERIFIER; import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyPolicyResolution; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.hasSize; @@ -45,7 +46,7 @@ public class ParsingTests extends ESTestCase { private final IndexResolution defaultIndex = loadIndexResolution("mapping-basic.json"); private final Analyzer defaultAnalyzer = new Analyzer( - new AnalyzerContext(TEST_CFG, new EsqlFunctionRegistry(), defaultIndex, emptyPolicyResolution()), + new AnalyzerContext(TEST_CFG, new EsqlFunctionRegistry(), defaultIndex, emptyPolicyResolution(), emptyInferenceResolution()), TEST_VERIFIER ); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/CheckLicenseTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/CheckLicenseTests.java index cf2de30e44456..68a6f38cdd69a 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/CheckLicenseTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/CheckLicenseTests.java @@ -34,6 +34,7 @@ import java.util.List; import java.util.Objects; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.analyzerDefaultMapping; import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.defaultEnrichResolution; import static org.hamcrest.Matchers.containsString; @@ -90,7 +91,13 @@ public EsqlFunctionRegistry snapshotRegistry() { private static Analyzer analyzer(EsqlFunctionRegistry registry, License.OperationMode operationMode) { return new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, registry, analyzerDefaultMapping(), defaultEnrichResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + registry, + analyzerDefaultMapping(), + defaultEnrichResolution(), + emptyInferenceResolution() + ), new Verifier(new Metrics(new EsqlFunctionRegistry()), getLicenseState(operationMode)) ); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/InferenceOperatorTestCase.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/InferenceOperatorTestCase.java new file mode 100644 index 0000000000000..2f666e870abd0 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/InferenceOperatorTestCase.java @@ -0,0 +1,213 @@ +/* + * 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.inference; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.action.ActionListener; +import org.elasticsearch.action.ActionRequest; +import org.elasticsearch.action.ActionResponse; +import org.elasticsearch.action.ActionType; +import org.elasticsearch.client.internal.Client; +import org.elasticsearch.common.logging.LoggerMessageFormat; +import org.elasticsearch.common.settings.Settings; +import org.elasticsearch.common.util.concurrent.EsExecutors; +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.BlockFactory; +import org.elasticsearch.compute.data.BlockUtils; +import org.elasticsearch.compute.data.BooleanBlock; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.data.DoubleBlock; +import org.elasticsearch.compute.data.FloatBlock; +import org.elasticsearch.compute.data.IntBlock; +import org.elasticsearch.compute.data.LongBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.operator.AsyncOperator; +import org.elasticsearch.compute.operator.DriverContext; +import org.elasticsearch.compute.operator.EvalOperator; +import org.elasticsearch.compute.operator.SourceOperator; +import org.elasticsearch.compute.test.AbstractBlockSourceOperator; +import org.elasticsearch.compute.test.OperatorTestCase; +import org.elasticsearch.core.TimeValue; +import org.elasticsearch.inference.InferenceServiceResults; +import org.elasticsearch.test.client.NoOpClient; +import org.elasticsearch.threadpool.FixedExecutorBuilder; +import org.elasticsearch.threadpool.TestThreadPool; +import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.esql.plugin.EsqlPlugin; +import org.junit.After; +import org.junit.Before; + +import java.util.function.BiFunction; +import java.util.function.Consumer; + +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.greaterThanOrEqualTo; +import static org.hamcrest.Matchers.notNullValue; + +public abstract class InferenceOperatorTestCase extends OperatorTestCase { + private ThreadPool threadPool; + + @Before + public void setThreadPool() { + threadPool = new TestThreadPool( + getTestClass().getSimpleName(), + new FixedExecutorBuilder( + Settings.EMPTY, + EsqlPlugin.ESQL_WORKER_THREAD_POOL_NAME, + between(1, 10), + 1024, + "esql", + EsExecutors.TaskTrackingConfig.DEFAULT + ) + ); + } + + @After + public void shutdownThreadPool() { + terminate(threadPool); + } + + protected ThreadPool threadPool() { + return threadPool; + } + + @Override + protected SourceOperator simpleInput(BlockFactory blockFactory, int size) { + return new AbstractBlockSourceOperator(blockFactory, 8 * 1024) { + @Override + protected int remaining() { + return size - currentPosition; + } + + @Override + protected Page createPage(int positionOffset, int length) { + length = Integer.min(length, remaining()); + try (var builder = blockFactory.newBytesRefBlockBuilder(length)) { + for (int i = 0; i < length; i++) { + if (randomInt() % 100 == 0) { + builder.appendNull(); + } else { + builder.appendBytesRef(new BytesRef(randomAlphaOfLength(10))); + } + + } + currentPosition += length; + return new Page(builder.build()); + } + } + }; + } + + @Override + public void testOperatorStatus() { + DriverContext driverContext = driverContext(); + try (var operator = simple().get(driverContext)) { + AsyncOperator.Status status = asInstanceOf(AsyncOperator.Status.class, operator.status()); + + assertThat(status, notNullValue()); + assertThat(status.receivedPages(), equalTo(0L)); + assertThat(status.completedPages(), equalTo(0L)); + assertThat(status.totalTimeInMillis(), greaterThanOrEqualTo(0L)); + } + } + + @SuppressWarnings("unchecked") + protected InferenceRunner mockedSimpleInferenceRunner() { + Client client = new NoOpClient(threadPool) { + @Override + protected void doExecute( + ActionType action, + Request request, + ActionListener listener + ) { + Runnable runnable = () -> { + if (action == InferenceAction.INSTANCE && request instanceof InferenceAction.Request inferenceRequest) { + InferenceAction.Response inferenceResponse = new InferenceAction.Response(mockInferenceResult(inferenceRequest)); + listener.onResponse((Response) inferenceResponse); + return; + } + + fail("Unexpected call to action [" + action.name() + "]"); + }; + + if (randomBoolean()) { + runnable.run(); + } else { + threadPool.schedule(runnable, TimeValue.timeValueNanos(between(1, 100)), threadPool.executor(ThreadPool.Names.SEARCH)); + } + } + }; + + return new InferenceRunner(client, threadPool); + } + + protected abstract InferenceResultsType mockInferenceResult(InferenceAction.Request request); + + protected void assertBlockContentEquals(Block input, Block result) { + BytesRef scratch = new BytesRef(); + switch (input.elementType()) { + case BOOLEAN -> assertBlockContentEquals(input, result, BooleanBlock::getBoolean, BooleanBlock.class); + case INT -> assertBlockContentEquals(input, result, IntBlock::getInt, IntBlock.class); + case LONG -> assertBlockContentEquals(input, result, LongBlock::getLong, LongBlock.class); + case FLOAT -> assertBlockContentEquals(input, result, FloatBlock::getFloat, FloatBlock.class); + case DOUBLE -> assertBlockContentEquals(input, result, DoubleBlock::getDouble, DoubleBlock.class); + case BYTES_REF -> assertByteRefsBlockContentEquals(input, result, scratch); + default -> throw new AssertionError(LoggerMessageFormat.format("Unexpected block type {}", input.elementType())); + } + } + + private void assertBlockContentEquals( + Block input, + Block result, + BiFunction valueReader, + Class blockClass + ) { + V inputBlock = asInstanceOf(blockClass, input); + V resultBlock = asInstanceOf(blockClass, result); + + assertAllPositions(inputBlock, (pos) -> { + if (inputBlock.isNull(pos)) { + assertThat(resultBlock.isNull(pos), equalTo(inputBlock.isNull(pos))); + } else { + assertThat(resultBlock.getValueCount(pos), equalTo(inputBlock.getValueCount(pos))); + assertThat(resultBlock.getFirstValueIndex(pos), equalTo(inputBlock.getFirstValueIndex(pos))); + for (int i = 0; i < inputBlock.getValueCount(pos); i++) { + assertThat( + valueReader.apply(resultBlock, resultBlock.getFirstValueIndex(pos) + i), + equalTo(valueReader.apply(inputBlock, inputBlock.getFirstValueIndex(pos) + i)) + ); + } + } + }); + } + + private void assertAllPositions(Block block, Consumer consumer) { + for (int pos = 0; pos < block.getPositionCount(); pos++) { + consumer.accept(pos); + } + } + + private void assertByteRefsBlockContentEquals(Block input, Block result, BytesRef readBuffer) { + assertBlockContentEquals(input, result, (BytesRefBlock b, Integer pos) -> b.getBytesRef(pos, readBuffer), BytesRefBlock.class); + } + + protected EvalOperator.ExpressionEvaluator.Factory evaluatorFactory(int channel) { + return context -> new EvalOperator.ExpressionEvaluator() { + @Override + public Block eval(Page page) { + return BlockUtils.deepCopyOf(page.getBlock(channel), blockFactory()); + } + + @Override + public void close() { + + } + }; + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/InferenceRunnerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/InferenceRunnerTests.java new file mode 100644 index 0000000000000..1a22da2701b53 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/InferenceRunnerTests.java @@ -0,0 +1,188 @@ +/* + * 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.inference; + +import org.apache.lucene.util.SetOnce; +import org.elasticsearch.ResourceNotFoundException; +import org.elasticsearch.action.ActionListener; +import org.elasticsearch.action.ActionResponse; +import org.elasticsearch.client.internal.Client; +import org.elasticsearch.common.settings.Settings; +import org.elasticsearch.common.util.concurrent.EsExecutors; +import org.elasticsearch.core.TimeValue; +import org.elasticsearch.inference.ModelConfigurations; +import org.elasticsearch.inference.ServiceSettings; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.test.ESTestCase; +import org.elasticsearch.threadpool.FixedExecutorBuilder; +import org.elasticsearch.threadpool.TestThreadPool; +import org.elasticsearch.xpack.core.inference.action.GetInferenceModelAction; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.plan.logical.inference.InferencePlan; +import org.elasticsearch.xpack.esql.plugin.EsqlPlugin; +import org.junit.After; +import org.junit.Before; + +import java.util.List; + +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.empty; +import static org.hamcrest.Matchers.equalTo; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + +public class InferenceRunnerTests extends ESTestCase { + private TestThreadPool threadPool; + + @Before + public void setThreadPool() { + threadPool = new TestThreadPool( + getTestClass().getSimpleName(), + new FixedExecutorBuilder( + Settings.EMPTY, + EsqlPlugin.ESQL_WORKER_THREAD_POOL_NAME, + between(1, 10), + 1024, + "esql", + EsExecutors.TaskTrackingConfig.DEFAULT + ) + ); + } + + @After + public void shutdownThreadPool() { + terminate(threadPool); + } + + public void testResolveInferenceIds() throws Exception { + InferenceRunner inferenceRunner = new InferenceRunner(mockClient(), threadPool); + List> inferencePlans = List.of(mockInferencePlan("rerank-plan")); + SetOnce inferenceResolutionSetOnce = new SetOnce<>(); + + inferenceRunner.resolveInferenceIds(inferencePlans, ActionListener.wrap(inferenceResolutionSetOnce::set, e -> { + throw new RuntimeException(e); + })); + + assertBusy(() -> { + InferenceResolution inferenceResolution = inferenceResolutionSetOnce.get(); + assertNotNull(inferenceResolution); + assertThat(inferenceResolution.resolvedInferences(), contains(new ResolvedInference("rerank-plan", TaskType.RERANK))); + assertThat(inferenceResolution.hasError(), equalTo(false)); + }); + } + + public void testResolveMultipleInferenceIds() throws Exception { + InferenceRunner inferenceRunner = new InferenceRunner(mockClient(), threadPool); + List> inferencePlans = List.of( + mockInferencePlan("rerank-plan"), + mockInferencePlan("rerank-plan"), + mockInferencePlan("completion-plan") + ); + SetOnce inferenceResolutionSetOnce = new SetOnce<>(); + + inferenceRunner.resolveInferenceIds(inferencePlans, ActionListener.wrap(inferenceResolutionSetOnce::set, e -> { + throw new RuntimeException(e); + })); + + assertBusy(() -> { + InferenceResolution inferenceResolution = inferenceResolutionSetOnce.get(); + assertNotNull(inferenceResolution); + + assertThat( + inferenceResolution.resolvedInferences(), + contains( + new ResolvedInference("rerank-plan", TaskType.RERANK), + new ResolvedInference("completion-plan", TaskType.COMPLETION) + ) + ); + assertThat(inferenceResolution.hasError(), equalTo(false)); + }); + } + + public void testResolveMissingInferenceIds() throws Exception { + InferenceRunner inferenceRunner = new InferenceRunner(mockClient(), threadPool); + List> inferencePlans = List.of(mockInferencePlan("missing-plan")); + + SetOnce inferenceResolutionSetOnce = new SetOnce<>(); + + inferenceRunner.resolveInferenceIds(inferencePlans, ActionListener.wrap(inferenceResolutionSetOnce::set, e -> { + throw new RuntimeException(e); + })); + + assertBusy(() -> { + InferenceResolution inferenceResolution = inferenceResolutionSetOnce.get(); + assertNotNull(inferenceResolution); + + assertThat(inferenceResolution.resolvedInferences(), empty()); + assertThat(inferenceResolution.hasError(), equalTo(true)); + assertThat(inferenceResolution.getError("missing-plan"), equalTo("inference endpoint not found")); + }); + } + + @SuppressWarnings({ "unchecked", "raw-types" }) + private Client mockClient() { + Client client = mock(Client.class); + doAnswer(i -> { + Runnable sendResponse = () -> { + GetInferenceModelAction.Request request = i.getArgument(1, GetInferenceModelAction.Request.class); + ActionListener listener = (ActionListener) i.getArgument(2, ActionListener.class); + ActionResponse response = getInferenceModelResponse(request); + + if (response == null) { + listener.onFailure(new ResourceNotFoundException("inference endpoint not found")); + } else { + listener.onResponse(response); + } + }; + + if (randomBoolean()) { + sendResponse.run(); + } else { + threadPool.schedule( + sendResponse, + TimeValue.timeValueNanos(between(1, 1_000)), + threadPool.executor(EsqlPlugin.ESQL_WORKER_THREAD_POOL_NAME) + ); + } + + return null; + }).when(client).execute(eq(GetInferenceModelAction.INSTANCE), any(), any()); + return client; + } + + private static ActionResponse getInferenceModelResponse(GetInferenceModelAction.Request request) { + GetInferenceModelAction.Response response = mock(GetInferenceModelAction.Response.class); + + if (request.getInferenceEntityId().equals("rerank-plan")) { + when(response.getEndpoints()).thenReturn(List.of(mockModelConfig("rerank-plan", TaskType.RERANK))); + return response; + } + + if (request.getInferenceEntityId().equals("completion-plan")) { + when(response.getEndpoints()).thenReturn(List.of(mockModelConfig("completion-plan", TaskType.COMPLETION))); + return response; + } + + return null; + } + + private static ModelConfigurations mockModelConfig(String inferenceId, TaskType taskType) { + return new ModelConfigurations(inferenceId, taskType, randomIdentifier(), mock(ServiceSettings.class)); + } + + private static InferencePlan mockInferencePlan(String inferenceId) { + InferencePlan plan = mock(InferencePlan.class); + when(plan.inferenceId()).thenReturn(new Literal(Source.EMPTY, inferenceId, DataType.KEYWORD)); + return plan; + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/ResolvedInferenceTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/ResolvedInferenceTests.java new file mode 100644 index 0000000000000..b4dfd87224a3a --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/ResolvedInferenceTests.java @@ -0,0 +1,41 @@ +/* + * 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.inference; + +import org.elasticsearch.TransportVersion; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.test.AbstractWireTestCase; +import org.elasticsearch.test.ESTestCase; + +import java.io.IOException; + +public class ResolvedInferenceTests extends AbstractWireTestCase { + + @Override + protected ResolvedInference createTestInstance() { + return new ResolvedInference(randomIdentifier(), randomTaskType()); + } + + @Override + protected ResolvedInference mutateInstance(ResolvedInference instance) throws IOException { + if (randomBoolean()) { + return new ResolvedInference(randomValueOtherThan(instance.inferenceId(), ESTestCase::randomIdentifier), instance.taskType()); + } + + return new ResolvedInference(instance.inferenceId(), randomValueOtherThan(instance.taskType(), this::randomTaskType)); + } + + @Override + protected ResolvedInference copyInstance(ResolvedInference instance, TransportVersion version) throws IOException { + return copyInstance(instance, getNamedWriteableRegistry(), (out, v) -> v.writeTo(out), in -> new ResolvedInference(in), version); + } + + private TaskType randomTaskType() { + return randomFrom(TaskType.values()); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java new file mode 100644 index 0000000000000..e539a8ec775b6 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java @@ -0,0 +1,205 @@ +/* + * 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.inference.bulk; + +import org.elasticsearch.action.ActionListener; +import org.elasticsearch.common.settings.Settings; +import org.elasticsearch.common.util.concurrent.EsExecutors; +import org.elasticsearch.core.TimeValue; +import org.elasticsearch.test.ESTestCase; +import org.elasticsearch.threadpool.FixedExecutorBuilder; +import org.elasticsearch.threadpool.TestThreadPool; +import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.core.inference.results.RankedDocsResults; +import org.elasticsearch.xpack.esql.inference.InferenceRunner; +import org.elasticsearch.xpack.esql.plugin.EsqlPlugin; +import org.junit.After; +import org.junit.Before; +import org.mockito.stubbing.Answer; + +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.concurrent.atomic.AtomicReference; + +import static org.hamcrest.Matchers.allOf; +import static org.hamcrest.Matchers.empty; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.notNullValue; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + +public class BulkInferenceExecutorTests extends ESTestCase { + private ThreadPool threadPool; + + @Before + public void setThreadPool() { + threadPool = new TestThreadPool( + getTestClass().getSimpleName(), + new FixedExecutorBuilder( + Settings.EMPTY, + EsqlPlugin.ESQL_WORKER_THREAD_POOL_NAME, + between(1, 20), + 1024, + "esql", + EsExecutors.TaskTrackingConfig.DEFAULT + ) + ); + } + + @After + public void shutdownThreadPool() { + terminate(threadPool); + } + + public void testSuccessfulExecution() throws Exception { + List requests = randomInferenceRequestList(between(1, 10_000)); + List responses = randomInferenceResponseList(requests.size()); + + InferenceRunner inferenceRunner = mockInferenceRunner(invocation -> { + runWithRandomDelay(() -> { + ActionListener l = invocation.getArgument(1); + l.onResponse(responses.get(requests.indexOf(invocation.getArgument(0, InferenceAction.Request.class)))); + }); + return null; + }); + + AtomicReference> output = new AtomicReference<>(); + ActionListener> listener = ActionListener.wrap(output::set, r -> fail("Unexpected exception")); + + bulkExecutor(inferenceRunner).execute(requestIterator(requests), listener); + + assertBusy(() -> assertThat(output.get(), allOf(notNullValue(), equalTo(responses)))); + } + + public void testSuccessfulExecutionOnEmptyRequest() throws Exception { + BulkInferenceRequestIterator requestIterator = mock(BulkInferenceRequestIterator.class); + when(requestIterator.hasNext()).thenReturn(false); + + AtomicReference> output = new AtomicReference<>(); + ActionListener> listener = ActionListener.wrap(output::set, r -> fail("Unexpected exception")); + + bulkExecutor(mock(InferenceRunner.class)).execute(requestIterator, listener); + + assertBusy(() -> assertThat(output.get(), allOf(notNullValue(), empty()))); + } + + public void testInferenceRunnerAlwaysFails() throws Exception { + List requests = randomInferenceRequestList(between(1, 10_000)); + + InferenceRunner inferenceRunner = mock(invocation -> { + runWithRandomDelay(() -> { + ActionListener listener = invocation.getArgument(1); + listener.onFailure(new RuntimeException("inference failure")); + }); + return null; + }); + + AtomicReference exception = new AtomicReference<>(); + ActionListener> listener = ActionListener.wrap(r -> fail("Expceted exception"), exception::set); + + bulkExecutor(inferenceRunner).execute(requestIterator(requests), listener); + + assertBusy(() -> { + assertThat(exception.get(), notNullValue()); + assertThat(exception.get().getMessage(), equalTo("inference failure")); + }); + } + + public void testInferenceRunnerSometimesFails() throws Exception { + List requests = randomInferenceRequestList(between(1, 10_000)); + + InferenceRunner inferenceRunner = mockInferenceRunner(invocation -> { + ActionListener listener = invocation.getArgument(1); + runWithRandomDelay(() -> { + if ((requests.indexOf(invocation.getArgument(0, InferenceAction.Request.class)) % requests.size()) == 0) { + listener.onFailure(new RuntimeException("inference failure")); + } else { + listener.onResponse(mockInferenceResponse()); + } + }); + + return null; + }); + + AtomicReference exception = new AtomicReference<>(); + ActionListener> listener = ActionListener.wrap(r -> fail("Expceted exception"), exception::set); + + bulkExecutor(inferenceRunner).execute(requestIterator(requests), listener); + + assertBusy(() -> { + assertThat(exception.get(), notNullValue()); + assertThat(exception.get().getMessage(), equalTo("inference failure")); + }); + } + + private BulkInferenceExecutor bulkExecutor(InferenceRunner inferenceRunner) { + return new BulkInferenceExecutor(inferenceRunner, threadPool, randomBulkExecutionConfig()); + } + + private InferenceAction.Request mockInferenceRequest() { + return mock(InferenceAction.Request.class); + } + + private InferenceAction.Response mockInferenceResponse() { + InferenceAction.Response response = mock(InferenceAction.Response.class); + when(response.getResults()).thenReturn(mock(RankedDocsResults.class)); + return response; + } + + private BulkInferenceExecutionConfig randomBulkExecutionConfig() { + return new BulkInferenceExecutionConfig(between(1, 100), between(1, 100)); + } + + private BulkInferenceRequestIterator requestIterator(List requests) { + final Iterator delegate = requests.iterator(); + BulkInferenceRequestIterator iterator = mock(BulkInferenceRequestIterator.class); + doAnswer(i -> delegate.hasNext()).when(iterator).hasNext(); + doAnswer(i -> delegate.next()).when(iterator).next(); + doAnswer(i -> requests.size()).when(iterator).estimatedSize(); + return iterator; + } + + private List randomInferenceRequestList(int size) { + List requests = new ArrayList<>(size); + while (requests.size() < size) { + requests.add(this.mockInferenceRequest()); + } + return requests; + + } + + private List randomInferenceResponseList(int size) { + List response = new ArrayList<>(size); + while (response.size() < size) { + response.add(mock(InferenceAction.Response.class)); + } + return response; + } + + private InferenceRunner mockInferenceRunner(Answer doInferenceAnswer) { + InferenceRunner inferenceRunner = mock(InferenceRunner.class); + doAnswer(doInferenceAnswer).when(inferenceRunner).doInference(any(), any()); + return inferenceRunner; + } + + private void runWithRandomDelay(Runnable runnable) { + if (randomBoolean()) { + runnable.run(); + } else { + threadPool.schedule( + runnable, + TimeValue.timeValueNanos(between(1, 1_000)), + threadPool.executor(EsqlPlugin.ESQL_WORKER_THREAD_POOL_NAME) + ); + } + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorOutputBuilderTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorOutputBuilderTests.java new file mode 100644 index 0000000000000..77d50ca5ee981 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorOutputBuilderTests.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.inference.completion; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.test.ComputeTestCase; +import org.elasticsearch.compute.test.RandomBlock; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.core.inference.results.ChatCompletionResults; + +import java.util.List; + +import static org.hamcrest.Matchers.equalTo; + +public class CompletionOperatorOutputBuilderTests extends ComputeTestCase { + + public void testBuildSmallOutput() { + assertBuildOutput(between(1, 100)); + } + + public void testBuildLargeOutput() { + assertBuildOutput(between(10_000, 100_000)); + } + + private void assertBuildOutput(int size) { + final Page inputPage = randomInputPage(size, between(1, 20)); + try ( + CompletionOperatorOutputBuilder outputBuilder = new CompletionOperatorOutputBuilder( + blockFactory().newBytesRefBlockBuilder(size), + inputPage + ) + ) { + for (int currentPos = 0; currentPos < inputPage.getPositionCount(); currentPos++) { + List results = List.of(new ChatCompletionResults.Result("Completion result #" + currentPos)); + outputBuilder.addInferenceResponse(new InferenceAction.Response(new ChatCompletionResults(results))); + } + + final Page outputPage = outputBuilder.buildOutput(); + assertThat(outputPage.getPositionCount(), equalTo(inputPage.getPositionCount())); + assertThat(outputPage.getBlockCount(), equalTo(inputPage.getBlockCount() + 1)); + assertOutputContent(outputPage.getBlock(outputPage.getBlockCount() - 1)); + + outputPage.releaseBlocks(); + + } finally { + inputPage.releaseBlocks(); + } + + } + + private void assertOutputContent(BytesRefBlock block) { + BytesRef scratch = new BytesRef(); + + for (int currentPos = 0; currentPos < block.getPositionCount(); currentPos++) { + assertThat(block.isNull(currentPos), equalTo(false)); + scratch = block.getBytesRef(block.getFirstValueIndex(currentPos), scratch); + assertThat(scratch.utf8ToString(), equalTo("Completion result #" + currentPos)); + } + } + + private Page randomInputPage(int positionCount, int columnCount) { + final Block[] blocks = new Block[columnCount]; + try { + for (int i = 0; i < columnCount; i++) { + blocks[i] = RandomBlock.randomBlock( + blockFactory(), + RandomBlock.randomElementType(), + positionCount, + randomBoolean(), + 0, + 0, + randomInt(10), + randomInt(10) + ).block(); + } + + return new Page(blocks); + } catch (Exception e) { + Releasables.close(blocks); + throw (e); + } + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorRequestIteratorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorRequestIteratorTests.java new file mode 100644 index 0000000000000..ff6c775540bc2 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorRequestIteratorTests.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.inference.completion; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.test.ComputeTestCase; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; + +import static org.hamcrest.Matchers.equalTo; + +public class CompletionOperatorRequestIteratorTests extends ComputeTestCase { + + public void testIterateSmallInput() { + assertIterate(between(1, 100)); + } + + public void testIterateLargeInput() { + assertIterate(between(10_000, 100_000)); + } + + private void assertIterate(int size) { + final String inferenceId = randomIdentifier(); + + try ( + BytesRefBlock inputBlock = randomInputBlock(size); + CompletionOperatorRequestIterator requestIterator = new CompletionOperatorRequestIterator(inputBlock, inferenceId) + ) { + BytesRef scratch = new BytesRef(); + + for (int currentPos = 0; requestIterator.hasNext(); currentPos++) { + InferenceAction.Request request = requestIterator.next(); + assertThat(request.getInferenceEntityId(), equalTo(inferenceId)); + scratch = inputBlock.getBytesRef(inputBlock.getFirstValueIndex(currentPos), scratch); + assertThat(request.getInput().get(0), equalTo(scratch.utf8ToString())); + } + } + } + + private BytesRefBlock randomInputBlock(int size) { + try (BytesRefBlock.Builder blockBuilder = blockFactory().newBytesRefBlockBuilder(size)) { + for (int i = 0; i < size; i++) { + blockBuilder.appendBytesRef(new BytesRef(randomAlphaOfLength(10))); + } + + return blockBuilder.build(); + } + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorTests.java new file mode 100644 index 0000000000000..16bf12e05a591 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/completion/CompletionOperatorTests.java @@ -0,0 +1,98 @@ +/* + * 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.inference.completion; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.operator.Operator; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.core.inference.results.ChatCompletionResults; +import org.elasticsearch.xpack.esql.inference.InferenceOperatorTestCase; +import org.hamcrest.Matcher; + +import java.util.ArrayList; +import java.util.List; +import java.util.Locale; + +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.hasSize; + +public class CompletionOperatorTests extends InferenceOperatorTestCase { + private static final String SIMPLE_INFERENCE_ID = "test_completion"; + + @Override + protected Operator.OperatorFactory simple() { + return new CompletionOperator.Factory(mockedSimpleInferenceRunner(), SIMPLE_INFERENCE_ID, evaluatorFactory(0)); + } + + @Override + protected void assertSimpleOutput(List input, List results) { + assertThat(results, hasSize(input.size())); + + for (int curPage = 0; curPage < input.size(); curPage++) { + Page inputPage = input.get(curPage); + Page resultPage = results.get(curPage); + + assertEquals(inputPage.getPositionCount(), resultPage.getPositionCount()); + assertEquals(inputPage.getBlockCount() + 1, resultPage.getBlockCount()); + + for (int channel = 0; channel < inputPage.getBlockCount(); channel++) { + Block inputBlock = inputPage.getBlock(channel); + Block resultBlock = resultPage.getBlock(channel); + assertBlockContentEquals(inputBlock, resultBlock); + } + + assertCompletionResults(inputPage, resultPage); + } + } + + private void assertCompletionResults(Page inputPage, Page resultPage) { + BytesRefBlock inputBlock = resultPage.getBlock(0); + BytesRefBlock resultBlock = resultPage.getBlock(inputPage.getBlockCount()); + + BytesRef scratch = new BytesRef(); + StringBuilder inputBuilder = new StringBuilder(); + + for (int curPos = 0; curPos < inputPage.getPositionCount(); curPos++) { + inputBuilder.setLength(0); + int valueIndex = inputBlock.getFirstValueIndex(curPos); + while (valueIndex < inputBlock.getFirstValueIndex(curPos) + inputBlock.getValueCount(curPos)) { + scratch = inputBlock.getBytesRef(valueIndex, scratch); + inputBuilder.append(scratch.utf8ToString()); + if (valueIndex < inputBlock.getValueCount(curPos) - 1) { + inputBuilder.append("\n"); + } + valueIndex++; + } + scratch = resultBlock.getBytesRef(resultBlock.getFirstValueIndex(curPos), scratch); + + assertThat(scratch.utf8ToString(), equalTo(inputBuilder.toString().toUpperCase(Locale.ROOT))); + } + } + + @Override + protected ChatCompletionResults mockInferenceResult(InferenceAction.Request request) { + List results = new ArrayList<>(); + for (String input : request.getInput()) { + results.add(new ChatCompletionResults.Result(input.toUpperCase(Locale.ROOT))); + } + return new ChatCompletionResults(results); + } + + @Override + protected Matcher expectedDescriptionOfSimple() { + return expectedToStringOfSimple(); + } + + @Override + protected Matcher expectedToStringOfSimple() { + return equalTo("CompletionOperator[inference_id=[" + SIMPLE_INFERENCE_ID + "]]"); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorOutputBuilderTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorOutputBuilderTests.java new file mode 100644 index 0000000000000..7117ccc19005e --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorOutputBuilderTests.java @@ -0,0 +1,112 @@ +/* + * 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.inference.rerank; + +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.DoubleBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.test.ComputeTestCase; +import org.elasticsearch.compute.test.RandomBlock; +import org.elasticsearch.core.Releasables; +import org.elasticsearch.logging.LogManager; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.core.inference.results.RankedDocsResults; + +import java.util.ArrayList; +import java.util.List; + +import static org.hamcrest.Matchers.equalTo; + +public class RerankOperatorOutputBuilderTests extends ComputeTestCase { + + public void testBuildSmallOutput() { + assertBuildOutput(between(1, 100)); + } + + public void testBuildLargeOutput() { + assertBuildOutput(between(10_000, 100_000)); + } + + private void assertBuildOutput(int size) { + final Page inputPage = randomInputPage(size, between(1, 20)); + final int scoreChannel = randomIntBetween(0, inputPage.getBlockCount()); + try ( + RerankOperatorOutputBuilder outputBuilder = new RerankOperatorOutputBuilder( + blockFactory().newDoubleBlockBuilder(size), + inputPage, + scoreChannel + ) + ) { + int batchSize = randomIntBetween(1, size); + for (int currentPos = 0; currentPos < inputPage.getPositionCount();) { + List rankedDocs = new ArrayList<>(); + for (int rankedDocIndex = 0; rankedDocIndex < batchSize && currentPos < inputPage.getPositionCount(); rankedDocIndex++) { + rankedDocs.add(new RankedDocsResults.RankedDoc(rankedDocIndex, relevanceScore(currentPos), randomIdentifier())); + currentPos++; + } + + outputBuilder.addInferenceResponse(new InferenceAction.Response(new RankedDocsResults(rankedDocs))); + } + + final Page outputPage = outputBuilder.buildOutput(); + try { + assertThat(outputPage.getPositionCount(), equalTo(inputPage.getPositionCount())); + LogManager.getLogger(RerankOperatorOutputBuilderTests.class) + .info( + "{} , {}, {}, {}", + scoreChannel, + inputPage.getBlockCount(), + outputPage.getBlockCount(), + Math.max(scoreChannel + 1, inputPage.getBlockCount()) + ); + assertThat(outputPage.getBlockCount(), equalTo(Integer.max(scoreChannel + 1, inputPage.getBlockCount()))); + assertOutputContent(outputPage.getBlock(scoreChannel)); + } finally { + outputPage.releaseBlocks(); + } + + } finally { + inputPage.releaseBlocks(); + } + } + + private float relevanceScore(int position) { + return (float) 1 / (1 + position); + } + + private void assertOutputContent(DoubleBlock block) { + for (int currentPos = 0; currentPos < block.getPositionCount(); currentPos++) { + assertThat(block.isNull(currentPos), equalTo(false)); + assertThat(block.getValueCount(currentPos), equalTo(1)); + assertThat(block.getDouble(block.getFirstValueIndex(currentPos)), equalTo((double) relevanceScore(currentPos))); + } + } + + private Page randomInputPage(int positionCount, int columnCount) { + final Block[] blocks = new Block[columnCount]; + try { + for (int i = 0; i < columnCount; i++) { + blocks[i] = RandomBlock.randomBlock( + blockFactory(), + RandomBlock.randomElementType(), + positionCount, + randomBoolean(), + 0, + 0, + randomInt(10), + randomInt(10) + ).block(); + } + + return new Page(blocks); + } catch (Exception e) { + Releasables.close(blocks); + throw (e); + } + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorRequestIteratorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorRequestIteratorTests.java new file mode 100644 index 0000000000000..133bfeaaf02ad --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorRequestIteratorTests.java @@ -0,0 +1,63 @@ +/* + * 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.inference.rerank; + +import org.apache.lucene.util.BytesRef; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.test.ComputeTestCase; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; + +import java.util.List; + +import static org.hamcrest.Matchers.equalTo; + +public class RerankOperatorRequestIteratorTests extends ComputeTestCase { + + public void testIterateSmallInput() { + assertIterate(between(1, 100), randomIntBetween(1, 1_000)); + } + + public void testIterateLargeInput() { + assertIterate(between(10_000, 100_000), randomIntBetween(1, 1_000)); + } + + private void assertIterate(int size, int batchSize) { + final String inferenceId = randomIdentifier(); + final String queryText = randomIdentifier(); + + try ( + BytesRefBlock inputBlock = randomInputBlock(size); + RerankOperatorRequestIterator requestIterator = new RerankOperatorRequestIterator(inputBlock, inferenceId, queryText, batchSize) + ) { + BytesRef scratch = new BytesRef(); + + for (int currentPos = 0; requestIterator.hasNext();) { + InferenceAction.Request request = requestIterator.next(); + + assertThat(request.getInferenceEntityId(), equalTo(inferenceId)); + assertThat(request.getQuery(), equalTo(queryText)); + List inputs = request.getInput(); + for (String input : inputs) { + scratch = inputBlock.getBytesRef(inputBlock.getFirstValueIndex(currentPos), scratch); + assertThat(input, equalTo(scratch.utf8ToString())); + currentPos++; + } + } + } + } + + private BytesRefBlock randomInputBlock(int size) { + try (BytesRefBlock.Builder blockBuilder = blockFactory().newBytesRefBlockBuilder(size)) { + for (int i = 0; i < size; i++) { + blockBuilder.appendBytesRef(new BytesRef(randomAlphaOfLength(10))); + } + + return blockBuilder.build(); + } + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorTests.java new file mode 100644 index 0000000000000..0130c8553f4ef --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/rerank/RerankOperatorTests.java @@ -0,0 +1,99 @@ +/* + * 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.inference.rerank; + +import org.elasticsearch.compute.data.Block; +import org.elasticsearch.compute.data.BytesRefBlock; +import org.elasticsearch.compute.data.DoubleBlock; +import org.elasticsearch.compute.data.Page; +import org.elasticsearch.compute.operator.Operator; +import org.elasticsearch.xpack.core.inference.action.InferenceAction; +import org.elasticsearch.xpack.core.inference.results.RankedDocsResults; +import org.elasticsearch.xpack.esql.inference.InferenceOperatorTestCase; +import org.hamcrest.Matcher; + +import java.util.ArrayList; +import java.util.List; + +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.hasSize; + +public class RerankOperatorTests extends InferenceOperatorTestCase { + + private static final String SIMPLE_INFERENCE_ID = "test_reranker"; + private static final String SIMPLE_QUERY = "query text"; + + @Override + protected Operator.OperatorFactory simple() { + return new RerankOperator.Factory(mockedSimpleInferenceRunner(), SIMPLE_INFERENCE_ID, SIMPLE_QUERY, evaluatorFactory(0), 1); + } + + @Override + protected void assertSimpleOutput(List inputPages, List resultPages) { + assertThat(inputPages, hasSize(resultPages.size())); + + for (int pageId = 0; pageId < inputPages.size(); pageId++) { + Page inputPage = inputPages.get(pageId); + Page resultPage = resultPages.get(pageId); + + assertThat(resultPage.getPositionCount(), equalTo(inputPage.getPositionCount())); + assertThat(resultPage.getBlockCount(), equalTo(Integer.max(2, inputPage.getBlockCount()))); + + for (int channel = 0; channel < inputPage.getBlockCount(); channel++) { + Block inputBlock = inputPage.getBlock(channel); + Block resultBlock = resultPage.getBlock(channel); + + assertThat(resultBlock.getPositionCount(), equalTo(resultPage.getPositionCount())); + assertThat(resultBlock.elementType(), equalTo(inputBlock.elementType())); + + if (channel != 1) { + assertBlockContentEquals(inputBlock, resultBlock); + } + + if (channel == 0) { + assertExpectedScore((BytesRefBlock) inputBlock, resultPage.getBlock(1)); + } + } + } + } + + private void assertExpectedScore(BytesRefBlock inputBlock, DoubleBlock scoreBlock) { + assertThat(scoreBlock.getPositionCount(), equalTo(inputBlock.getPositionCount())); + for (int pos = 0; pos < inputBlock.getPositionCount(); pos++) { + double score = scoreBlock.getDouble(scoreBlock.getFirstValueIndex(pos)); + double expectedScore = score(pos); + assertThat(score, equalTo(expectedScore)); + } + } + + @Override + protected Matcher expectedDescriptionOfSimple() { + return expectedToStringOfSimple(); + } + + @Override + protected Matcher expectedToStringOfSimple() { + return equalTo( + "RerankOperator[inference_id=[" + SIMPLE_INFERENCE_ID + "], query=[" + SIMPLE_QUERY + "], score_channel=[" + 1 + "]]" + ); + } + + @Override + protected RankedDocsResults mockInferenceResult(InferenceAction.Request request) { + List rankedDocs = new ArrayList<>(); + for (int rank = 0; rank < request.getInput().size(); rank++) { + rankedDocs.add(new RankedDocsResults.RankedDoc(rank, score(rank), request.getInput().get(rank))); + } + + return new RankedDocsResults(rankedDocs); + } + + private float score(int rank) { + return 1f / (rank % 20); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalLogicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalLogicalPlanOptimizerTests.java index 34cfac9605691..a86bcd4078c68 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalLogicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalLogicalPlanOptimizerTests.java @@ -73,6 +73,8 @@ import static org.elasticsearch.xpack.esql.EsqlTestUtils.TWO; import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; import static org.elasticsearch.xpack.esql.EsqlTestUtils.asLimit; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyPolicyResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.getFieldAttribute; import static org.elasticsearch.xpack.esql.EsqlTestUtils.greaterThanOf; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; @@ -106,7 +108,13 @@ public static void init() { logicalOptimizer = new LogicalPlanOptimizer(unboundLogicalOptimizerContext()); analyzer = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, EsqlTestUtils.emptyPolicyResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + emptyPolicyResolution(), + emptyInferenceResolution() + ), TEST_VERIFIER ); } @@ -490,7 +498,13 @@ public void testSparseDocument() throws Exception { var logicalOptimizer = new LogicalPlanOptimizer(unboundLogicalOptimizerContext()); var analyzer = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, EsqlTestUtils.emptyPolicyResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + emptyPolicyResolution(), + emptyInferenceResolution() + ), TEST_VERIFIER ); @@ -778,7 +792,13 @@ private static Analyzer analyzerWithUnionTypeMapping() { IndexResolution getIndexResult = IndexResolution.valid(test); return new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, EsqlTestUtils.emptyPolicyResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + EsqlTestUtils.emptyPolicyResolution(), + emptyInferenceResolution() + ), TEST_VERIFIER ); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java index 422a765b976c6..859b52368ea96 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LocalPhysicalPlanOptimizerTests.java @@ -116,9 +116,11 @@ import static org.elasticsearch.index.query.QueryBuilders.termsQuery; import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; import static org.elasticsearch.xpack.esql.EsqlTestUtils.configuration; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext; import static org.elasticsearch.xpack.esql.EsqlTestUtils.withDefaultLimitWarning; +import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.defaultInferenceResolution; import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.defaultLookupResolution; import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.indexWithDateDateNanosUnionType; import static org.elasticsearch.xpack.esql.core.querydsl.query.Query.unscore; @@ -215,14 +217,21 @@ private Analyzer makeAnalyzer(String mappingFileName, EnrichResolution enrichRes IndexResolution getIndexResult = IndexResolution.valid(test); return new Analyzer( - new AnalyzerContext(config, new EsqlFunctionRegistry(), getIndexResult, defaultLookupResolution(), enrichResolution), + new AnalyzerContext( + config, + new EsqlFunctionRegistry(), + getIndexResult, + defaultLookupResolution(), + enrichResolution, + emptyInferenceResolution() + ), new Verifier(new Metrics(new EsqlFunctionRegistry()), new XPackLicenseState(() -> 0L)) ); } private Analyzer makeAnalyzer(IndexResolution indexResolution) { return new Analyzer( - new AnalyzerContext(config, new EsqlFunctionRegistry(), indexResolution, new EnrichResolution()), + new AnalyzerContext(config, new EsqlFunctionRegistry(), indexResolution, new EnrichResolution(), defaultInferenceResolution()), new Verifier(new Metrics(new EsqlFunctionRegistry()), new XPackLicenseState(() -> 0L)) ); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java index cc13a3fa0a34a..f819b506cace6 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java @@ -98,6 +98,7 @@ import org.elasticsearch.xpack.esql.optimizer.rules.logical.OptimizerRules; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PruneRedundantOrderBy; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownAndCombineLimits; +import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownCompletion; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEnrich; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownEval; import org.elasticsearch.xpack.esql.optimizer.rules.logical.PushDownRegexExtract; @@ -120,6 +121,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Row; import org.elasticsearch.xpack.esql.plan.logical.TopN; import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; import org.elasticsearch.xpack.esql.plan.logical.join.InlineJoin; import org.elasticsearch.xpack.esql.plan.logical.join.Join; import org.elasticsearch.xpack.esql.plan.logical.join.JoinConfig; @@ -151,16 +153,19 @@ import static org.elasticsearch.xpack.esql.EsqlTestUtils.TWO; import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; import static org.elasticsearch.xpack.esql.EsqlTestUtils.asLimit; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptySource; import static org.elasticsearch.xpack.esql.EsqlTestUtils.fieldAttribute; import static org.elasticsearch.xpack.esql.EsqlTestUtils.getFieldAttribute; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.EsqlTestUtils.localSource; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.randomLiteral; import static org.elasticsearch.xpack.esql.EsqlTestUtils.referenceAttribute; import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext; import static org.elasticsearch.xpack.esql.EsqlTestUtils.withDefaultLimitWarning; import static org.elasticsearch.xpack.esql.analysis.Analyzer.NO_FIELDS; import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.analyze; +import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.defaultInferenceResolution; import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.defaultLookupResolution; import static org.elasticsearch.xpack.esql.core.expression.Literal.NULL; import static org.elasticsearch.xpack.esql.core.tree.Source.EMPTY; @@ -169,6 +174,7 @@ import static org.elasticsearch.xpack.esql.core.type.DataType.INTEGER; import static org.elasticsearch.xpack.esql.core.type.DataType.KEYWORD; import static org.elasticsearch.xpack.esql.core.type.DataType.LONG; +import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT; import static org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison.BinaryComparisonOperation.EQ; import static org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison.BinaryComparisonOperation.GT; import static org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.EsqlBinaryComparison.BinaryComparisonOperation.GTE; @@ -241,7 +247,8 @@ public static void init() { new EsqlFunctionRegistry(), getIndexResult, defaultLookupResolution(), - enrichResolution + enrichResolution, + emptyInferenceResolution() ), TEST_VERIFIER ); @@ -251,7 +258,13 @@ public static void init() { EsIndex airports = new EsIndex("airports", mappingAirports, Map.of("airports", IndexMode.STANDARD)); IndexResolution getIndexResultAirports = IndexResolution.valid(airports); analyzerAirports = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResultAirports, enrichResolution), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResultAirports, + enrichResolution, + emptyInferenceResolution() + ), TEST_VERIFIER ); @@ -260,7 +273,13 @@ public static void init() { EsIndex types = new EsIndex("types", mappingTypes, Map.of("types", IndexMode.STANDARD)); IndexResolution getIndexResultTypes = IndexResolution.valid(types); analyzerTypes = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResultTypes, enrichResolution), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResultTypes, + enrichResolution, + emptyInferenceResolution() + ), TEST_VERIFIER ); @@ -269,14 +288,26 @@ public static void init() { EsIndex extra = new EsIndex("extra", mappingExtra, Map.of("extra", IndexMode.STANDARD)); IndexResolution getIndexResultExtra = IndexResolution.valid(extra); analyzerExtra = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResultExtra, enrichResolution), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResultExtra, + enrichResolution, + emptyInferenceResolution() + ), TEST_VERIFIER ); metricMapping = loadMapping("k8s-mappings.json"); var metricsIndex = IndexResolution.valid(new EsIndex("k8s", metricMapping, Map.of("k8s", IndexMode.TIME_SERIES))); metricsAnalyzer = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), metricsIndex, enrichResolution), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + metricsIndex, + enrichResolution, + emptyInferenceResolution() + ), TEST_VERIFIER ); } @@ -5290,7 +5321,13 @@ public void testEmptyMappingIndex() { EsIndex empty = new EsIndex("empty_test", emptyMap(), Map.of()); IndexResolution getIndexResultAirports = IndexResolution.valid(empty); var analyzer = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResultAirports, enrichResolution), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResultAirports, + enrichResolution, + defaultInferenceResolution() + ), TEST_VERIFIER ); @@ -5539,6 +5576,17 @@ record PushdownShadowingGeneratingPlanTestCase( ) ), new PushDownEnrich() + ), + // | COMPLETION y=CONCAT(some text, x) WITH inferenceID + new PushdownShadowingGeneratingPlanTestCase( + (plan, attr) -> new Completion( + EMPTY, + plan, + randomLiteral(TEXT), + new Concat(EMPTY, randomLiteral(TEXT), List.of(attr)), + new ReferenceAttribute(EMPTY, "y", KEYWORD) + ), + new PushDownCompletion() ) }; /** diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/PhysicalPlanOptimizerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/PhysicalPlanOptimizerTests.java index 8a599318e2773..cc25c9bd02090 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/PhysicalPlanOptimizerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/PhysicalPlanOptimizerTests.java @@ -168,6 +168,7 @@ import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_VERIFIER; import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; import static org.elasticsearch.xpack.esql.EsqlTestUtils.configuration; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.EsqlTestUtils.statsForMissingField; import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext; @@ -362,7 +363,7 @@ TestDataSource makeTestDataSource( EsIndex index = new EsIndex(indexName, mapping, Map.of("test", IndexMode.STANDARD)); IndexResolution getIndexResult = IndexResolution.valid(index); Analyzer analyzer = new Analyzer( - new AnalyzerContext(config, functionRegistry, getIndexResult, lookupResolution, enrichResolution), + new AnalyzerContext(config, functionRegistry, getIndexResult, lookupResolution, enrichResolution, emptyInferenceResolution()), TEST_VERIFIER ); return new TestDataSource(mapping, index, analyzer, stats); @@ -7848,6 +7849,7 @@ private LocalExecutionPlanner.LocalExecutionPlan physicalOperationsFromPhysicalP () -> exchangeSinkHandler.createExchangeSink(() -> {}), null, null, + null, new EsPhysicalOperationProviders(FoldContext.small(), List.of(), null, DataPartitioning.AUTO), List.of() ); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java index df8b494a87e2c..3c3b9c405cb67 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineFiltersTests.java @@ -8,12 +8,15 @@ package org.elasticsearch.xpack.esql.optimizer.rules.logical; import org.elasticsearch.index.IndexMode; +import org.elasticsearch.index.query.QueryBuilder; import org.elasticsearch.test.ESTestCase; import org.elasticsearch.xpack.esql.core.expression.Alias; import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; +import org.elasticsearch.xpack.esql.core.type.DataType; import org.elasticsearch.xpack.esql.expression.function.aggregate.Count; +import org.elasticsearch.xpack.esql.expression.function.fulltext.Match; import org.elasticsearch.xpack.esql.expression.function.scalar.math.Pow; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.RLike; import org.elasticsearch.xpack.esql.expression.function.scalar.string.regex.WildcardLike; @@ -28,6 +31,7 @@ import org.elasticsearch.xpack.esql.plan.logical.Filter; import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; import org.elasticsearch.xpack.esql.plan.logical.Project; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; import org.elasticsearch.xpack.esql.plan.logical.local.EsqlProject; import java.util.ArrayList; @@ -45,9 +49,12 @@ import static org.elasticsearch.xpack.esql.EsqlTestUtils.greaterThanOf; import static org.elasticsearch.xpack.esql.EsqlTestUtils.greaterThanOrEqualOf; import static org.elasticsearch.xpack.esql.EsqlTestUtils.lessThanOf; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.randomLiteral; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.referenceAttribute; import static org.elasticsearch.xpack.esql.EsqlTestUtils.rlike; import static org.elasticsearch.xpack.esql.EsqlTestUtils.wildcardLike; import static org.elasticsearch.xpack.esql.core.tree.Source.EMPTY; +import static org.mockito.Mockito.mock; public class PushDownAndCombineFiltersTests extends ESTestCase { @@ -245,6 +252,53 @@ public void testSelectivelyPushDownFilterPastFunctionAgg() { assertEquals(expected, new PushDownAndCombineFilters().apply(fb)); } + // from ... | where a > 1 | COMPLETION completion="some prompt" WITH reranker | where b < 2 and match(completion, some text) + // => ... | where a > 1 AND b < 2| COMPLETION completion="some prompt" WITH reranker | match(completion, some text) + public void testPushDownFilterPastCompletion() { + FieldAttribute a = getFieldAttribute("a"); + FieldAttribute b = getFieldAttribute("b"); + EsRelation relation = relation(List.of(a, b)); + + GreaterThan conditionA = greaterThanOf(getFieldAttribute("a"), ONE); + Filter filterA = new Filter(EMPTY, relation, conditionA); + + Completion completion = completion(filterA); + + LessThan conditionB = lessThanOf(getFieldAttribute("b"), TWO); + Match conditionCompletion = new Match( + EMPTY, + completion.targetField(), + randomLiteral(DataType.TEXT), + mock(Expression.class), + mock(QueryBuilder.class) + ); + Filter filterB = new Filter(EMPTY, completion, new And(EMPTY, conditionB, conditionCompletion)); + + LogicalPlan expectedOptimizedPlan = new Filter( + EMPTY, + new Completion( + EMPTY, + new Filter(EMPTY, relation, new And(EMPTY, conditionA, conditionB)), + completion.inferenceId(), + completion.prompt(), + completion.targetField() + ), + conditionCompletion + ); + + assertEquals(expectedOptimizedPlan, new PushDownAndCombineFilters().apply(filterB)); + } + + private static Completion completion(LogicalPlan child) { + return new Completion( + EMPTY, + child, + randomLiteral(DataType.TEXT), + randomLiteral(DataType.TEXT), + referenceAttribute(randomIdentifier(), DataType.TEXT) + ); + } + private static EsRelation relation() { return relation(List.of()); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimitsTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimitsTests.java new file mode 100644 index 0000000000000..f5d88618b352d --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/rules/logical/PushDownAndCombineLimitsTests.java @@ -0,0 +1,159 @@ +/* + * 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.optimizer.rules.logical; + +import org.elasticsearch.test.ESTestCase; +import org.elasticsearch.xpack.esql.core.expression.Alias; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.FieldAttribute; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.expression.Order; +import org.elasticsearch.xpack.esql.expression.function.scalar.convert.ToInteger; +import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.Equals; +import org.elasticsearch.xpack.esql.plan.logical.EsRelation; +import org.elasticsearch.xpack.esql.plan.logical.Eval; +import org.elasticsearch.xpack.esql.plan.logical.Filter; +import org.elasticsearch.xpack.esql.plan.logical.Limit; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; +import org.elasticsearch.xpack.esql.plan.logical.OrderBy; +import org.elasticsearch.xpack.esql.plan.logical.UnaryPlan; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; + +import java.util.List; +import java.util.function.BiConsumer; +import java.util.function.BiFunction; + +import static org.elasticsearch.xpack.esql.EsqlTestUtils.as; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.getFieldAttribute; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.randomLiteral; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext; +import static org.elasticsearch.xpack.esql.core.tree.Source.EMPTY; +import static org.elasticsearch.xpack.esql.core.type.DataType.INTEGER; +import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT; +import static org.elasticsearch.xpack.esql.optimizer.LocalLogicalPlanOptimizerTests.relation; + +public class PushDownAndCombineLimitsTests extends ESTestCase { + + private static class PushDownLimitTestCase { + private final Class clazz; + private final BiFunction planBuilder; + private final BiConsumer planChecker; + + PushDownLimitTestCase( + Class clazz, + BiFunction planBuilder, + BiConsumer planChecker + ) { + this.clazz = clazz; + this.planBuilder = planBuilder; + this.planChecker = planChecker; + } + + public PlanType buildPlan(LogicalPlan child, Attribute attr) { + return planBuilder.apply(child, attr); + } + + public void checkOptimizedPlan(LogicalPlan basePlan, LogicalPlan optimizedPlan) { + planChecker.accept(as(basePlan, clazz), as(optimizedPlan, clazz)); + } + } + + private static final List> PUSHABLE_LIMIT_TEST_CASES = List.of( + new PushDownLimitTestCase<>( + Eval.class, + (plan, attr) -> new Eval(EMPTY, plan, List.of(new Alias(EMPTY, "y", new ToInteger(EMPTY, attr)))), + (basePlan, optimizedPlan) -> { + assertEquals(basePlan.source(), optimizedPlan.source()); + assertEquals(basePlan.fields(), optimizedPlan.fields()); + } + ), + new PushDownLimitTestCase<>( + Completion.class, + (plan, attr) -> new Completion(EMPTY, plan, randomLiteral(TEXT), randomLiteral(TEXT), attr), + (basePlan, optimizedPlan) -> { + assertEquals(basePlan.source(), optimizedPlan.source()); + assertEquals(basePlan.inferenceId(), optimizedPlan.inferenceId()); + assertEquals(basePlan.prompt(), optimizedPlan.prompt()); + assertEquals(basePlan.targetField(), optimizedPlan.targetField()); + } + ) + ); + + private static final List> NON_PUSHABLE_LIMIT_TEST_CASES = List.of( + new PushDownLimitTestCase<>( + Filter.class, + (plan, attr) -> new Filter(EMPTY, plan, new Equals(EMPTY, attr, new Literal(EMPTY, "right", TEXT))), + (basePlan, optimizedPlan) -> { + assertEquals(basePlan.source(), optimizedPlan.source()); + assertEquals(basePlan.condition(), optimizedPlan.condition()); + } + ), + new PushDownLimitTestCase<>( + OrderBy.class, + (plan, attr) -> new OrderBy(EMPTY, plan, List.of(new Order(EMPTY, attr, Order.OrderDirection.DESC, null))), + (basePlan, optimizedPlan) -> { + assertEquals(basePlan.source(), optimizedPlan.source()); + assertEquals(basePlan.order(), optimizedPlan.order()); + } + ) + ); + + public void testPushableLimit() { + FieldAttribute a = getFieldAttribute("a"); + FieldAttribute b = getFieldAttribute("b"); + EsRelation relation = relation().withAttributes(List.of(a, b)); + + for (PushDownLimitTestCase pushableLimitTestCase : PUSHABLE_LIMIT_TEST_CASES) { + int precedingLimitValue = randomIntBetween(1, 10_000); + Limit precedingLimit = new Limit(EMPTY, new Literal(EMPTY, precedingLimitValue, INTEGER), relation); + + LogicalPlan pushableLimitTestPlan = pushableLimitTestCase.buildPlan(precedingLimit, a); + + int pushableLimitValue = randomIntBetween(1, 10_000); + Limit pushableLimit = new Limit(EMPTY, new Literal(EMPTY, pushableLimitValue, INTEGER), pushableLimitTestPlan); + + LogicalPlan optimizedPlan = optimizePlan(pushableLimit); + + pushableLimitTestCase.checkOptimizedPlan(pushableLimitTestPlan, optimizedPlan); + + assertEquals( + as(optimizedPlan, UnaryPlan.class).child(), + new Limit(EMPTY, new Literal(EMPTY, Math.min(pushableLimitValue, precedingLimitValue), INTEGER), relation) + ); + } + } + + public void testNonPushableLimit() { + FieldAttribute a = getFieldAttribute("a"); + FieldAttribute b = getFieldAttribute("b"); + EsRelation relation = relation().withAttributes(List.of(a, b)); + + for (PushDownLimitTestCase nonPushableLimitTestCase : NON_PUSHABLE_LIMIT_TEST_CASES) { + int precedingLimitValue = randomIntBetween(1, 10_000); + Limit precedingLimit = new Limit(EMPTY, new Literal(EMPTY, precedingLimitValue, INTEGER), relation); + UnaryPlan nonPushableLimitTestPlan = nonPushableLimitTestCase.buildPlan(precedingLimit, a); + int nonPushableLimitValue = randomIntBetween(1, 10_000); + Limit nonPushableLimit = new Limit(EMPTY, new Literal(EMPTY, nonPushableLimitValue, INTEGER), nonPushableLimitTestPlan); + Limit optimizedPlan = as(optimizePlan(nonPushableLimit), Limit.class); + nonPushableLimitTestCase.checkOptimizedPlan(nonPushableLimitTestPlan, optimizedPlan.child()); + assertEquals( + optimizedPlan, + new Limit( + EMPTY, + new Literal(EMPTY, Math.min(nonPushableLimitValue, precedingLimitValue), INTEGER), + nonPushableLimitTestPlan + ) + ); + assertEquals(as(optimizedPlan.child(), UnaryPlan.class).child(), nonPushableLimitTestPlan.child()); + } + } + + private LogicalPlan optimizePlan(LogicalPlan plan) { + return new PushDownAndCombineLimits().apply(plan, unboundLogicalOptimizerContext()); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/GrammarInDevelopmentParsingTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/GrammarInDevelopmentParsingTests.java index 2ca1d8c4d1288..dea1d62743b66 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/GrammarInDevelopmentParsingTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/GrammarInDevelopmentParsingTests.java @@ -30,6 +30,10 @@ public void testDevelopmentMatch() throws Exception { parse("row a = 1 | match foo", "match"); } + public void testDevelopmentRerank() { + parse("row a = 1 | rerank \"foo\" on title with reranker", "rerank"); + } + void parse(String query, String errorMessage) { ParsingException pe = expectThrows(ParsingException.class, () -> parser().createStatement(query)); assertThat(pe.getMessage(), containsString("mismatched input '" + errorMessage + "'")); 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 12fd1707e2dd8..344d90ae6c4f1 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 @@ -16,6 +16,7 @@ import org.elasticsearch.xpack.esql.core.expression.Alias; import org.elasticsearch.xpack.esql.core.expression.Attribute; import org.elasticsearch.xpack.esql.core.expression.EmptyAttribute; +import org.elasticsearch.xpack.esql.core.expression.Expression; import org.elasticsearch.xpack.esql.core.expression.Expressions; import org.elasticsearch.xpack.esql.core.expression.FoldContext; import org.elasticsearch.xpack.esql.core.expression.Literal; @@ -62,6 +63,8 @@ import org.elasticsearch.xpack.esql.plan.logical.Rename; import org.elasticsearch.xpack.esql.plan.logical.Row; import org.elasticsearch.xpack.esql.plan.logical.UnresolvedRelation; +import org.elasticsearch.xpack.esql.plan.logical.inference.Completion; +import org.elasticsearch.xpack.esql.plan.logical.inference.Rerank; import org.elasticsearch.xpack.esql.plan.logical.join.JoinTypes; import org.elasticsearch.xpack.esql.plan.logical.join.LookupJoin; @@ -3217,6 +3220,149 @@ public void testInvalidJoinPatterns() { } } + public void testRerankDefaultInferenceId() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title"); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.inferenceId(), equalTo(literalString(".rerank-v1-elasticsearch"))); + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + } + + public void testRerankSingleField() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title WITH inferenceID"); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.inferenceId(), equalTo(literalString("inferenceID"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + } + + public void testRerankMultipleFields() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title, description, authors_renamed=authors WITH inferenceID"); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.inferenceId(), equalTo(literalString("inferenceID"))); + assertThat( + rerank.rerankFields(), + equalTo( + List.of( + alias("title", attribute("title")), + alias("description", attribute("description")), + alias("authors_renamed", attribute("authors")) + ) + ) + ); + } + + public void testRerankComputedFields() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var plan = processingCommand("RERANK \"query text\" ON title, short_description = SUBSTRING(description, 0, 100) WITH inferenceID"); + var rerank = as(plan, Rerank.class); + + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.inferenceId(), equalTo(literalString("inferenceID"))); + assertThat( + rerank.rerankFields(), + equalTo( + List.of( + alias("title", attribute("title")), + alias("short_description", function("SUBSTRING", List.of(attribute("description"), integer(0), integer(100)))) + ) + ) + ); + } + + public void testRerankWithPositionalParameters() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var queryParams = new QueryParams(List.of(paramAsConstant(null, "query text"), paramAsConstant(null, "reranker"))); + var rerank = as(parser.createStatement("row a = 1 | RERANK ? ON title WITH ?", queryParams), Rerank.class); + + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.inferenceId(), equalTo(literalString("reranker"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + } + + public void testRerankWithNamedParameters() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + + var queryParams = new QueryParams(List.of(paramAsConstant("queryText", "query text"), paramAsConstant("inferenceId", "reranker"))); + var rerank = as(parser.createStatement("row a = 1 | RERANK ?queryText ON title WITH ?inferenceId", queryParams), Rerank.class); + + assertThat(rerank.queryText(), equalTo(literalString("query text"))); + assertThat(rerank.inferenceId(), equalTo(literalString("reranker"))); + assertThat(rerank.rerankFields(), equalTo(List.of(alias("title", attribute("title"))))); + } + + public void testInvalidRerank() { + assumeTrue("RERANK requires corresponding capability", EsqlCapabilities.Cap.RERANK.isEnabled()); + expectError("FROM foo* | RERANK ON title WITH inferenceId", "line 1:20: mismatched input 'ON' expecting {QUOTED_STRING"); + expectError("FROM foo* | RERANK \"query text\" WITH inferenceId", "line 1:33: mismatched input 'WITH' expecting 'on'"); + } + + public void testCompletionUsingFieldAsPrompt() { + var plan = as(processingCommand("COMPLETION targetField=prompt_field WITH inferenceID"), Completion.class); + + assertThat(plan.prompt(), equalTo(attribute("prompt_field"))); + assertThat(plan.inferenceId(), equalTo(literalString("inferenceID"))); + assertThat(plan.targetField(), equalTo(attribute("targetField"))); + } + + public void testCompletionUsingFunctionAsPrompt() { + var plan = as(processingCommand("COMPLETION targetField=CONCAT(fieldA, fieldB) WITH inferenceID"), Completion.class); + + assertThat(plan.prompt(), equalTo(function("CONCAT", List.of(attribute("fieldA"), attribute("fieldB"))))); + assertThat(plan.inferenceId(), equalTo(literalString("inferenceID"))); + assertThat(plan.targetField(), equalTo(attribute("targetField"))); + } + + public void testCompletionDefaultFieldName() { + var plan = as(processingCommand("COMPLETION prompt_field WITH inferenceID"), Completion.class); + + assertThat(plan.prompt(), equalTo(attribute("prompt_field"))); + assertThat(plan.inferenceId(), equalTo(literalString("inferenceID"))); + assertThat(plan.targetField(), equalTo(attribute("completion"))); + } + + public void testCompletionWithPositionalParameters() { + var queryParams = new QueryParams(List.of(paramAsConstant(null, "inferenceId"))); + var plan = as(parser.createStatement("row a = 1 | COMPLETION prompt_field WITH ?", queryParams), Completion.class); + + assertThat(plan.prompt(), equalTo(attribute("prompt_field"))); + assertThat(plan.inferenceId(), equalTo(literalString("inferenceId"))); + assertThat(plan.targetField(), equalTo(attribute("completion"))); + } + + public void testCompletionWithNamedParameters() { + var queryParams = new QueryParams(List.of(paramAsConstant("inferenceId", "myInference"))); + var plan = as(parser.createStatement("row a = 1 | COMPLETION prompt_field WITH ?inferenceId", queryParams), Completion.class); + + assertThat(plan.prompt(), equalTo(attribute("prompt_field"))); + assertThat(plan.inferenceId(), equalTo(literalString("myInference"))); + assertThat(plan.targetField(), equalTo(attribute("completion"))); + } + + public void testInvalidCompletion() { + expectError("FROM foo* | COMPLETION WITH inferenceId", "line 1:24: extraneous input 'WITH' expecting {"); + + expectError("FROM foo* | COMPLETION completion=prompt WITH", "line 1:46: mismatched input '' expecting {"); + + expectError("FROM foo* | COMPLETION completion=prompt", "line 1:41: mismatched input '' expecting {"); + } + + static Alias alias(String name, Expression value) { + return new Alias(EMPTY, name, value); + } + public void testDoubleParamsForIdentifier() { assumeTrue("double parameters markers for identifiers", EsqlCapabilities.Cap.DOUBLE_PARAMETER_MARKERS_FOR_IDENTIFIERS.isEnabled()); // There are three variations of double parameters - named, positional or anonymous, e.g. ??n, ??1 or ??, covered. diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/inference/CompletionSerializationTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/inference/CompletionSerializationTests.java new file mode 100644 index 0000000000000..0b6c1f4eb1b2c --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/inference/CompletionSerializationTests.java @@ -0,0 +1,55 @@ +/* + * 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.plan.logical.inference; + +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.expression.function.ReferenceAttributeTests; +import org.elasticsearch.xpack.esql.plan.logical.AbstractLogicalPlanSerializationTests; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; + +import java.io.IOException; + +public class CompletionSerializationTests extends AbstractLogicalPlanSerializationTests { + + @Override + protected Completion createTestInstance() { + return new Completion(randomSource(), randomChild(0), randomInferenceId(), randomPrompt(), randomAttribute()); + } + + @Override + protected Completion mutateInstance(Completion instance) throws IOException { + LogicalPlan child = instance.child(); + Expression inferenceId = instance.inferenceId(); + Expression prompt = instance.prompt(); + Attribute targetField = instance.targetField(); + + switch (between(0, 3)) { + case 0 -> child = randomValueOtherThan(child, () -> randomChild(0)); + case 1 -> inferenceId = randomValueOtherThan(inferenceId, this::randomInferenceId); + case 2 -> prompt = randomValueOtherThan(prompt, this::randomPrompt); + case 3 -> targetField = randomValueOtherThan(targetField, this::randomAttribute); + } + return new Completion(instance.source(), child, inferenceId, prompt, targetField); + } + + private Literal randomInferenceId() { + return new Literal(Source.EMPTY, randomIdentifier(), DataType.KEYWORD); + } + + private Expression randomPrompt() { + return randomBoolean() ? new Literal(Source.EMPTY, randomIdentifier(), DataType.KEYWORD) : randomAttribute(); + } + + private Attribute randomAttribute() { + return ReferenceAttributeTests.randomReferenceAttribute(randomBoolean()); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/inference/RerankSerializationTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/inference/RerankSerializationTests.java new file mode 100644 index 0000000000000..22f60c78ec842 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/logical/inference/RerankSerializationTests.java @@ -0,0 +1,61 @@ +/* + * 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.plan.logical.inference; + +import org.elasticsearch.xpack.esql.core.expression.Alias; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.expression.AliasTests; +import org.elasticsearch.xpack.esql.plan.logical.AbstractLogicalPlanSerializationTests; +import org.elasticsearch.xpack.esql.plan.logical.LogicalPlan; + +import java.io.IOException; +import java.util.List; + +import static org.elasticsearch.xpack.esql.core.tree.Source.EMPTY; + +public class RerankSerializationTests extends AbstractLogicalPlanSerializationTests { + @Override + protected Rerank createTestInstance() { + Source source = randomSource(); + LogicalPlan child = randomChild(0); + return new Rerank(source, child, string(randomIdentifier()), string(randomIdentifier()), randomFields(), scoreAttribute()); + } + + @Override + protected Rerank mutateInstance(Rerank instance) throws IOException { + LogicalPlan child = instance.child(); + Expression inferenceId = instance.inferenceId(); + Expression queryText = instance.queryText(); + List fields = instance.rerankFields(); + + switch (between(0, 3)) { + case 0 -> child = randomValueOtherThan(child, () -> randomChild(0)); + case 1 -> inferenceId = randomValueOtherThan(inferenceId, () -> string(RerankSerializationTests.randomIdentifier())); + case 2 -> queryText = randomValueOtherThan(queryText, () -> string(RerankSerializationTests.randomIdentifier())); + case 3 -> fields = randomValueOtherThan(fields, this::randomFields); + } + return new Rerank(instance.source(), child, inferenceId, queryText, fields, instance.scoreAttribute()); + } + + private List randomFields() { + return randomList(0, 10, AliasTests::randomAlias); + } + + private Literal string(String value) { + return new Literal(EMPTY, value, DataType.KEYWORD); + } + + private Attribute scoreAttribute() { + return new MetadataAttribute(EMPTY, MetadataAttribute.SCORE, DataType.DOUBLE, randomBoolean()); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/physical/inference/CompletionExecSerializationTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/physical/inference/CompletionExecSerializationTests.java new file mode 100644 index 0000000000000..92d2a4b445c6a --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/physical/inference/CompletionExecSerializationTests.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.plan.physical.inference; + +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.expression.function.ReferenceAttributeTests; +import org.elasticsearch.xpack.esql.plan.physical.AbstractPhysicalPlanSerializationTests; +import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; + +import java.io.IOException; + +public class CompletionExecSerializationTests extends AbstractPhysicalPlanSerializationTests { + @Override + protected CompletionExec createTestInstance() { + return new CompletionExec(randomSource(), randomChild(0), randomInferenceId(), randomPrompt(), randomAttribute()); + } + + @Override + protected CompletionExec mutateInstance(CompletionExec instance) throws IOException { + PhysicalPlan child = instance.child(); + Expression inferenceId = instance.inferenceId(); + Expression prompt = instance.prompt(); + Attribute targetField = instance.targetField(); + + switch (between(0, 3)) { + case 0 -> child = randomValueOtherThan(child, () -> randomChild(0)); + case 1 -> inferenceId = randomValueOtherThan(inferenceId, this::randomInferenceId); + case 2 -> prompt = randomValueOtherThan(prompt, this::randomPrompt); + case 3 -> targetField = randomValueOtherThan(targetField, this::randomAttribute); + } + return new CompletionExec(instance.source(), child, inferenceId, prompt, targetField); + } + + private Literal randomInferenceId() { + return new Literal(Source.EMPTY, randomIdentifier(), DataType.KEYWORD); + } + + private Expression randomPrompt() { + return randomBoolean() ? new Literal(Source.EMPTY, randomIdentifier(), DataType.KEYWORD) : randomAttribute(); + } + + private Attribute randomAttribute() { + return ReferenceAttributeTests.randomReferenceAttribute(randomBoolean()); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExecSerializationTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExecSerializationTests.java new file mode 100644 index 0000000000000..f5ba1718c7ea0 --- /dev/null +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plan/physical/inference/RerankExecSerializationTests.java @@ -0,0 +1,61 @@ +/* + * 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.plan.physical.inference; + +import org.elasticsearch.xpack.esql.core.expression.Alias; +import org.elasticsearch.xpack.esql.core.expression.Attribute; +import org.elasticsearch.xpack.esql.core.expression.Expression; +import org.elasticsearch.xpack.esql.core.expression.Literal; +import org.elasticsearch.xpack.esql.core.expression.MetadataAttribute; +import org.elasticsearch.xpack.esql.core.tree.Source; +import org.elasticsearch.xpack.esql.core.type.DataType; +import org.elasticsearch.xpack.esql.expression.AliasTests; +import org.elasticsearch.xpack.esql.plan.physical.AbstractPhysicalPlanSerializationTests; +import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; + +import java.io.IOException; +import java.util.List; + +import static org.elasticsearch.xpack.esql.core.tree.Source.EMPTY; + +public class RerankExecSerializationTests extends AbstractPhysicalPlanSerializationTests { + @Override + protected RerankExec createTestInstance() { + Source source = randomSource(); + PhysicalPlan child = randomChild(0); + return new RerankExec(source, child, string(randomIdentifier()), string(randomIdentifier()), randomFields(), scoreAttribute()); + } + + @Override + protected RerankExec mutateInstance(RerankExec instance) throws IOException { + PhysicalPlan child = instance.child(); + Expression inferenceId = instance.inferenceId(); + Expression queryText = instance.queryText(); + List fields = instance.rerankFields(); + + switch (between(0, 3)) { + case 0 -> child = randomValueOtherThan(child, () -> randomChild(0)); + case 1 -> inferenceId = randomValueOtherThan(inferenceId, () -> string(RerankExecSerializationTests.randomIdentifier())); + case 2 -> queryText = randomValueOtherThan(queryText, () -> string(RerankExecSerializationTests.randomIdentifier())); + case 3 -> fields = randomValueOtherThan(fields, this::randomFields); + } + return new RerankExec(instance.source(), child, inferenceId, queryText, fields, scoreAttribute()); + } + + private List randomFields() { + return randomList(0, 10, AliasTests::randomAlias); + } + + static Literal string(String value) { + return new Literal(EMPTY, value, DataType.KEYWORD); + } + + private Attribute scoreAttribute() { + return new MetadataAttribute(EMPTY, MetadataAttribute.SCORE, DataType.DOUBLE, randomBoolean()); + } +} diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/FilterTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/FilterTests.java index 4c1b009e847ed..04d2cac31af55 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/FilterTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/FilterTests.java @@ -50,6 +50,7 @@ import static org.elasticsearch.index.query.QueryBuilders.rangeQuery; import static org.elasticsearch.xpack.esql.ConfigurationTestUtils.randomConfiguration; import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_VERIFIER; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext; import static org.elasticsearch.xpack.esql.EsqlTestUtils.withDefaultLimitWarning; @@ -84,7 +85,13 @@ public static void init() { mapper = new Mapper(); analyzer = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, EsqlTestUtils.emptyPolicyResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + EsqlTestUtils.emptyPolicyResolution(), + emptyInferenceResolution() + ), TEST_VERIFIER ); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlannerTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlannerTests.java index 02c0f639f8e3c..000bb9bf359f5 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlannerTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlannerTests.java @@ -205,6 +205,7 @@ private LocalExecutionPlanner planner() throws IOException { null, null, null, + null, esPhysicalOperationProviders(shardContexts), shardContexts ); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/QueryTranslatorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/QueryTranslatorTests.java index 057784f0d4f24..96b51ce269c10 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/QueryTranslatorTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/planner/QueryTranslatorTests.java @@ -19,6 +19,7 @@ import org.elasticsearch.xpack.esql.expression.function.EsqlFunctionRegistry; import org.elasticsearch.xpack.esql.index.EsIndex; import org.elasticsearch.xpack.esql.index.IndexResolution; +import org.elasticsearch.xpack.esql.inference.InferenceResolution; import org.elasticsearch.xpack.esql.optimizer.TestPlannerOptimizer; import org.elasticsearch.xpack.esql.plan.physical.EsQueryExec; import org.elasticsearch.xpack.esql.plan.physical.PhysicalPlan; @@ -30,6 +31,8 @@ import java.util.List; import java.util.Map; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyPolicyResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.EsqlTestUtils.withDefaultLimitWarning; import static org.elasticsearch.xpack.esql.analysis.AnalyzerTestUtils.indexWithDateDateNanosUnionType; @@ -51,14 +54,26 @@ private static Analyzer makeAnalyzer(String mappingFileName) { IndexResolution getIndexResult = IndexResolution.valid(test); return new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, new EnrichResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + emptyPolicyResolution(), + emptyInferenceResolution() + ), new Verifier(new Metrics(new EsqlFunctionRegistry()), new XPackLicenseState(() -> 0L)) ); } public static Analyzer makeAnalyzer(IndexResolution indexResolution) { return new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), indexResolution, new EnrichResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + indexResolution, + new EnrichResolution(), + InferenceResolution.builder().build() + ), new Verifier(new Metrics(new EsqlFunctionRegistry()), new XPackLicenseState(() -> 0L)) ); } diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/ClusterRequestTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/ClusterRequestTests.java index e58824290c49e..9b7615d0cc37e 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/ClusterRequestTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/ClusterRequestTests.java @@ -39,6 +39,7 @@ import static org.elasticsearch.xpack.esql.ConfigurationTestUtils.randomConfiguration; import static org.elasticsearch.xpack.esql.ConfigurationTestUtils.randomTables; import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_VERIFIER; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyPolicyResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.EsqlTestUtils.unboundLogicalOptimizerContext; @@ -191,7 +192,13 @@ static LogicalPlan parse(String query) { IndexResolution getIndexResult = IndexResolution.valid(test); var logicalOptimizer = new LogicalPlanOptimizer(unboundLogicalOptimizerContext()); var analyzer = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, emptyPolicyResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + emptyPolicyResolution(), + emptyInferenceResolution() + ), TEST_VERIFIER ); return logicalOptimizer.optimize(analyzer.analyze(new EsqlParser().createStatement(query))); diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/DataNodeRequestSerializationTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/DataNodeRequestSerializationTests.java index fac3495697da8..abf9b527f008d 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/DataNodeRequestSerializationTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/plugin/DataNodeRequestSerializationTests.java @@ -44,6 +44,7 @@ import static org.elasticsearch.xpack.esql.ConfigurationTestUtils.randomTables; import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_CFG; import static org.elasticsearch.xpack.esql.EsqlTestUtils.TEST_VERIFIER; +import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyInferenceResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.emptyPolicyResolution; import static org.elasticsearch.xpack.esql.EsqlTestUtils.loadMapping; import static org.elasticsearch.xpack.esql.EsqlTestUtils.withDefaultLimitWarning; @@ -292,7 +293,13 @@ static LogicalPlan parse(String query) { IndexResolution getIndexResult = IndexResolution.valid(test); var logicalOptimizer = new LogicalPlanOptimizer(new LogicalOptimizerContext(TEST_CFG, FoldContext.small())); var analyzer = new Analyzer( - new AnalyzerContext(EsqlTestUtils.TEST_CFG, new EsqlFunctionRegistry(), getIndexResult, emptyPolicyResolution()), + new AnalyzerContext( + EsqlTestUtils.TEST_CFG, + new EsqlFunctionRegistry(), + getIndexResult, + emptyPolicyResolution(), + emptyInferenceResolution() + ), TEST_VERIFIER ); return logicalOptimizer.optimize(analyzer.analyze(new EsqlParser().createStatement(query))); diff --git a/x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceGetServicesIT.java b/x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceGetServicesIT.java index 39d43ef8cc7fa..65c55e5210c7a 100644 --- a/x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceGetServicesIT.java +++ b/x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceGetServicesIT.java @@ -32,7 +32,7 @@ public static void init() { public void testGetServicesWithoutTaskType() throws IOException { List services = getAllServices(); - assertThat(services.size(), equalTo(23)); + assertThat(services.size(), equalTo(24)); var providers = providers(services); @@ -57,6 +57,7 @@ public void testGetServicesWithoutTaskType() throws IOException { "mistral", "openai", "streaming_completion_test_service", + "completion_test_service", "test_reranking_service", "test_service", "text_embedding_test_service", @@ -134,7 +135,7 @@ public void testGetServicesWithRerankTaskType() throws IOException { public void testGetServicesWithCompletionTaskType() throws IOException { List services = getServices(TaskType.COMPLETION); - assertThat(services.size(), equalTo(15)); + assertThat(services.size(), equalTo(16)); var providers = providers(services); @@ -153,6 +154,7 @@ public void testGetServicesWithCompletionTaskType() throws IOException { "googleaistudio", "openai", "streaming_completion_test_service", + "completion_test_service", "hugging_face", "amazon_sagemaker", "googlevertexai", diff --git a/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestCompletionServiceExtension.java b/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestCompletionServiceExtension.java new file mode 100644 index 0000000000000..9c15ac77cc13f --- /dev/null +++ b/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestCompletionServiceExtension.java @@ -0,0 +1,233 @@ +/* + * 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.inference.mock; + +import org.elasticsearch.ElasticsearchStatusException; +import org.elasticsearch.TransportVersion; +import org.elasticsearch.action.ActionListener; +import org.elasticsearch.common.ValidationException; +import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.io.stream.StreamOutput; +import org.elasticsearch.common.util.LazyInitializable; +import org.elasticsearch.core.Nullable; +import org.elasticsearch.core.TimeValue; +import org.elasticsearch.inference.ChunkInferenceInput; +import org.elasticsearch.inference.ChunkedInference; +import org.elasticsearch.inference.InferenceServiceConfiguration; +import org.elasticsearch.inference.InferenceServiceExtension; +import org.elasticsearch.inference.InferenceServiceResults; +import org.elasticsearch.inference.InputType; +import org.elasticsearch.inference.Model; +import org.elasticsearch.inference.ModelConfigurations; +import org.elasticsearch.inference.ServiceSettings; +import org.elasticsearch.inference.SettingsConfiguration; +import org.elasticsearch.inference.TaskType; +import org.elasticsearch.inference.UnifiedCompletionRequest; +import org.elasticsearch.inference.configuration.SettingsConfigurationFieldType; +import org.elasticsearch.rest.RestStatus; +import org.elasticsearch.xcontent.ToXContentObject; +import org.elasticsearch.xcontent.XContentBuilder; +import org.elasticsearch.xpack.core.inference.results.ChatCompletionResults; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.List; +import java.util.Locale; +import java.util.Map; + +public class TestCompletionServiceExtension implements InferenceServiceExtension { + @Override + public List getInferenceServiceFactories() { + return List.of(TestInferenceService::new); + } + + public static class TestInferenceService extends AbstractTestInferenceService { + private static final String NAME = "completion_test_service"; + private static final EnumSet SUPPORTED_TASK_TYPES = EnumSet.of(TaskType.COMPLETION); + + public TestInferenceService(InferenceServiceFactoryContext context) {} + + @Override + public String name() { + return NAME; + } + + @Override + protected ServiceSettings getServiceSettingsFromMap(Map serviceSettingsMap) { + return TestServiceSettings.fromMap(serviceSettingsMap); + } + + @Override + @SuppressWarnings("unchecked") + public void parseRequestConfig( + String modelId, + TaskType taskType, + Map config, + ActionListener parsedModelListener + ) { + var serviceSettingsMap = (Map) config.remove(ModelConfigurations.SERVICE_SETTINGS); + var serviceSettings = TestSparseInferenceServiceExtension.TestServiceSettings.fromMap(serviceSettingsMap); + var secretSettings = TestSecretSettings.fromMap(serviceSettingsMap); + + var taskSettingsMap = getTaskSettingsMap(config); + var taskSettings = TestTaskSettings.fromMap(taskSettingsMap); + + parsedModelListener.onResponse(new TestServiceModel(modelId, taskType, name(), serviceSettings, taskSettings, secretSettings)); + } + + @Override + public InferenceServiceConfiguration getConfiguration() { + return Configuration.get(); + } + + @Override + public EnumSet supportedTaskTypes() { + return SUPPORTED_TASK_TYPES; + } + + @Override + public void infer( + Model model, + String query, + @Nullable Boolean returnDocuments, + @Nullable Integer topN, + List input, + boolean stream, + Map taskSettings, + InputType inputType, + TimeValue timeout, + ActionListener listener + ) { + switch (model.getConfigurations().getTaskType()) { + case COMPLETION -> listener.onResponse(makeChatCompletionResults(input)); + default -> listener.onFailure( + new ElasticsearchStatusException( + TaskType.unsupportedTaskTypeErrorMsg(model.getConfigurations().getTaskType(), name()), + RestStatus.BAD_REQUEST + ) + ); + } + } + + @Override + public void unifiedCompletionInfer( + Model model, + UnifiedCompletionRequest request, + TimeValue timeout, + ActionListener listener + ) { + listener.onFailure( + new ElasticsearchStatusException( + TaskType.unsupportedTaskTypeErrorMsg(model.getConfigurations().getTaskType(), name()), + RestStatus.BAD_REQUEST + ) + ); + } + + @Override + public void chunkedInfer( + Model model, + String query, + List input, + Map taskSettings, + InputType inputType, + TimeValue timeout, + ActionListener> listener + ) { + listener.onFailure( + new ElasticsearchStatusException( + TaskType.unsupportedTaskTypeErrorMsg(model.getConfigurations().getTaskType(), name()), + RestStatus.BAD_REQUEST + ) + ); + } + + private InferenceServiceResults makeChatCompletionResults(List inputs) { + List results = new ArrayList<>(); + for (String text : inputs) { + results.add(new ChatCompletionResults.Result(text.toUpperCase(Locale.ROOT))); + } + + return new ChatCompletionResults(results); + } + + public static class Configuration { + public static InferenceServiceConfiguration get() { + return configuration.getOrCompute(); + } + + private static final LazyInitializable configuration = new LazyInitializable<>( + () -> { + var configurationMap = new HashMap(); + + configurationMap.put( + "model_id", + new SettingsConfiguration.Builder(EnumSet.of(TaskType.COMPLETION)).setDescription("") + .setLabel("Model ID") + .setRequired(true) + .setSensitive(true) + .setType(SettingsConfigurationFieldType.STRING) + .build() + ); + + return new InferenceServiceConfiguration.Builder().setService(NAME) + .setTaskTypes(SUPPORTED_TASK_TYPES) + .setConfigurations(configurationMap) + .build(); + } + ); + } + } + + public record TestServiceSettings(String modelId) implements ServiceSettings { + public static final String NAME = "completion_test_service_settings"; + + public TestServiceSettings(StreamInput in) throws IOException { + this(in.readString()); + } + + public static TestServiceSettings fromMap(Map map) { + var modelId = map.remove("model").toString(); + + if (modelId == null) { + ValidationException validationException = new ValidationException(); + validationException.addValidationError("missing model id"); + throw validationException; + } + + return new TestServiceSettings(modelId); + } + + @Override + public String getWriteableName() { + return NAME; + } + + @Override + public TransportVersion getMinimalSupportedVersion() { + return TransportVersion.current(); // fine for these tests but will not work for cluster upgrade tests + } + + @Override + public void writeTo(StreamOutput out) throws IOException { + out.writeString(modelId()); + } + + @Override + public ToXContentObject getFilteredXContentObject() { + return this; + } + + @Override + public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { + return builder.startObject().field("model", modelId()).endObject(); + } + } +} diff --git a/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestInferenceServicePlugin.java b/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestInferenceServicePlugin.java index 1d04aab022f91..4cfc7e388a911 100644 --- a/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestInferenceServicePlugin.java +++ b/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestInferenceServicePlugin.java @@ -54,6 +54,11 @@ public List getNamedWriteables() { ServiceSettings.class, TestStreamingCompletionServiceExtension.TestServiceSettings.NAME, TestStreamingCompletionServiceExtension.TestServiceSettings::new + ), + new NamedWriteableRegistry.Entry( + ServiceSettings.class, + TestCompletionServiceExtension.TestServiceSettings.NAME, + TestCompletionServiceExtension.TestServiceSettings::new ) ); } diff --git a/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestRerankingServiceExtension.java b/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestRerankingServiceExtension.java index 7575cf5197dff..b496ea783c002 100644 --- a/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestRerankingServiceExtension.java +++ b/x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestRerankingServiceExtension.java @@ -92,7 +92,6 @@ public void parseRequestConfig( parsedModelListener.onResponse(new TestServiceModel(modelId, taskType, name(), serviceSettings, taskSettings, secretSettings)); } - @Override protected TaskSettings getTasksSettingsFromMap(Map taskSettingsMap) { return TestRerankingServiceExtension.TestTaskSettings.fromMap(taskSettingsMap); } diff --git a/x-pack/plugin/inference/qa/test-service-plugin/src/main/resources/META-INF/services/org.elasticsearch.inference.InferenceServiceExtension b/x-pack/plugin/inference/qa/test-service-plugin/src/main/resources/META-INF/services/org.elasticsearch.inference.InferenceServiceExtension index c996a33d1e916..a481e2a4a0451 100644 --- a/x-pack/plugin/inference/qa/test-service-plugin/src/main/resources/META-INF/services/org.elasticsearch.inference.InferenceServiceExtension +++ b/x-pack/plugin/inference/qa/test-service-plugin/src/main/resources/META-INF/services/org.elasticsearch.inference.InferenceServiceExtension @@ -2,3 +2,4 @@ org.elasticsearch.xpack.inference.mock.TestSparseInferenceServiceExtension org.elasticsearch.xpack.inference.mock.TestDenseInferenceServiceExtension org.elasticsearch.xpack.inference.mock.TestRerankingServiceExtension org.elasticsearch.xpack.inference.mock.TestStreamingCompletionServiceExtension +org.elasticsearch.xpack.inference.mock.TestCompletionServiceExtension diff --git a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml index 8f83936eca3e0..058c3f0e2cde7 100644 --- a/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml +++ b/x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml @@ -37,7 +37,7 @@ setup: - do: {xpack.usage: {}} - match: { esql.available: true } - match: { esql.enabled: true } - - length: { esql.features: 19 } + - length: { esql.features: 21 } - set: {esql.features.dissect: dissect_counter} - set: {esql.features.drop: drop_counter} - set: {esql.features.eval: eval_counter} @@ -57,6 +57,8 @@ setup: - set: {esql.features.lookup: lookup_counter} - set: {esql.features.change_point: change_point_counter} - set: {esql.features.inlinestats: inlinestats_counter} + - set: {esql.features.rerank: rerank_counter} + - set: {esql.features.completion: completion_counter} - length: { esql.queries: 3 } - set: {esql.queries.rest.total: rest_total_counter} - set: {esql.queries.rest.failed: rest_failed_counter} @@ -89,6 +91,8 @@ setup: - match: {esql.features.lookup: $lookup_counter} - match: {esql.features.change_point: $change_point_counter} - match: {esql.features.inlinestats: $inlinestats_counter} + - match: {esql.features.rerank: $rerank_counter} + - match: {esql.features.completion: $completion_counter} - gt: {esql.queries.rest.total: $rest_total_counter} - match: {esql.queries.rest.failed: $rest_failed_counter} - match: {esql.queries.kibana.total: $kibana_total_counter} @@ -117,7 +121,7 @@ setup: - do: {xpack.usage: {}} - match: { esql.available: true } - match: { esql.enabled: true } - - length: { esql.features: 19 } + - length: { esql.features: 21 } - set: {esql.features.dissect: dissect_counter} - set: {esql.features.drop: drop_counter} - set: {esql.features.eval: eval_counter} @@ -149,6 +153,8 @@ setup: - set: {esql.functions.cos: functions_cos} - set: {esql.functions.to_long: functions_to_long} - set: {esql.functions.coalesce: functions_coalesce} + - set: {esql.features.rerank: rerank_counter} + - set: {esql.features.completion: completion_counter} - do: esql.query: @@ -169,6 +175,8 @@ setup: - match: {esql.features.lookup: $lookup_counter} - match: {esql.features.change_point: $change_point_counter} - match: {esql.features.inlinestats: $inlinestats_counter} + - match: { esql.features.rerank: $rerank_counter } + - match: { esql.features.completion: $completion_counter } - gt: {esql.queries.rest.total: $rest_total_counter} - match: {esql.queries.rest.failed: $rest_failed_counter} - match: {esql.queries.kibana.total: $kibana_total_counter}