From cd131209375bcc4be9dd76e4d66c07494ed1aae9 Mon Sep 17 00:00:00 2001 From: "Timothy J. Aveni" Date: Thu, 17 Sep 2026 14:34:16 -0700 Subject: [PATCH] Implement query execution, scoped RPC enrichment, live collections, and scaffold integration --- grammar/QuixosCapability.g4 | 15 +- proto/camino/api.proto | 83 + proto/camino/schema.proto | 1 + proto/quixos/orch.proto | 26 + proto/quixos/refs.proto | 1 + src/bindings/generics.ts | 5 + src/bindings/index.ts | 46 +- src/bindings/react-platform.ts | 9 + src/bindings/react.ts | 33 +- src/capability-language/assembly.ts | 6 + .../generated/QuixosCapability.interp | 5 +- .../generated/QuixosCapability.tokens | 496 +-- .../generated/QuixosCapabilityLexer.interp | 5 +- .../generated/QuixosCapabilityLexer.tokens | 496 +-- .../generated/QuixosCapabilityLexer.ts | 1133 +++--- .../generated/QuixosCapabilityParser.ts | 3130 +++++++++-------- .../generated/QuixosCapabilityVisitor.ts | 7 + src/capability-language/parser.ts | 331 +- src/capability-language/structural-plan.ts | 2 +- src/capability-model/evolution.ts | 15 + src/capability-model/generic-packages.ts | 3 + src/capability-model/generics.ts | 1 + src/capability-model/types.ts | 4 + src/capability-model/validation.ts | 80 +- src/gen/camino/api_pb.ts | 415 ++- src/gen/camino/schema_pb.ts | 7 +- src/gen/quixos/orch_pb.ts | 192 +- src/gen/quixos/refs_pb.ts | 8 +- src/query/compile.ts | 84 +- src/query/link.ts | 14 +- src/query/proto.ts | 1 + src/query/schema.ts | 12 +- src/query/templates.ts | 136 + src/query/types.ts | 21 +- test/fixtures/query-workspace.ts | 117 + test/query-compiler.test.ts | 93 + test/query-workspace.test.ts | 20 + 37 files changed, 4406 insertions(+), 2647 deletions(-) create mode 100644 src/query/templates.ts create mode 100644 test/fixtures/query-workspace.ts create mode 100644 test/query-workspace.test.ts diff --git a/grammar/QuixosCapability.g4 b/grammar/QuixosCapability.g4 index 38b5ffd..eb3b1e9 100644 --- a/grammar/QuixosCapability.g4 +++ b/grammar/QuixosCapability.g4 @@ -111,7 +111,7 @@ valueMemberOperation ; relationshipMember - : queryReadContract? RELATION identifier ID stringLiteral COLON cardinality targetConstraint ORDERED? + : queryReadContract? RELATION identifier ID stringLiteral COLON cardinality targetConstraint ORDERED? (KEYED stringLiteral)? LBRACE relationshipOperation* RBRACE ; @@ -143,16 +143,21 @@ packageExport | packageFunctionExport | packageConstructorExport | packageQuery + | packageQuerySpecialization ; packageQuery - : QUERY identifier ID stringLiteral ROOT interfaceType + : QUERY identifier typeParameters? ID stringLiteral ROOT interfaceType DOCUMENT stringLiteral OPERATION stringLiteral LBRACE queryClause* RBRACE ; +packageQuerySpecialization + : QUERY identifier ID stringLiteral SPECIALIZE identifier typeArguments SEMI + ; + queryClause : FRAGMENTS stringLiteral SEMI - | VIEW identifier AS interfaceType SEMI + | VIEW OBJECT? identifier AS interfaceType SEMI | MAX identifier INTEGER SEMI | ALLOW interfaceType DOT identifier identifier stringLiteral SEMI | WATCH SEMI @@ -206,6 +211,7 @@ dependencyPort | EDGE identifier ID stringLiteral COLON cardinality targetConstraint primitiveList SEMI | INTERFACE identifier ID stringLiteral COLON identifier typeArguments? SEMI | CONSTRUCTOR identifier ID stringLiteral COLON identifier (INPUT valueType)? SEMI + | QUERY identifier ID stringLiteral COLON identifier DOT identifier SEMI ; primitiveList @@ -322,6 +328,7 @@ dependencyBinding | identifier TO EDGE identifier DOT identifier (VIA EDGE identifier DOT identifier)? SEMI | identifier TO INTERFACE identifier typeArguments? (VIA EDGE identifier DOT identifier)? SEMI | identifier TO CONSTRUCTOR identifier SEMI + | identifier TO QUERY identifier DOT identifier (VIA EDGE identifier DOT identifier)? SEMI ; constructorBindingDecl @@ -391,6 +398,7 @@ identifier : IDENTIFIER | SOURCE | QUERY + | SPECIALIZE | ROOT | DOCUMENT | FRAGMENTS @@ -408,6 +416,7 @@ stringLiteral WORKSPACE: 'workspace'; QUERY: 'query'; +SPECIALIZE: 'specialize'; ROOT: 'root'; DOCUMENT: 'document'; FRAGMENTS: 'fragments'; diff --git a/proto/camino/api.proto b/proto/camino/api.proto index f277459..a673e18 100644 --- a/proto/camino/api.proto +++ b/proto/camino/api.proto @@ -5,6 +5,8 @@ package camino; import "camino/schema.proto"; service CaminoService { + rpc ExecuteQuery(QueryRequest) returns (QueryResponse); + rpc QueryChanges(QueryChangesRequest) returns (QueryChangesResponse); rpc InstallPersistencePlan(InstallPersistencePlanRequest) returns (InstallPersistencePlanResponse); rpc GetPersistencePlan(GetPersistencePlanRequest) returns (GetPersistencePlanResponse); rpc CreateObject(CreateObjectRequest) returns (CreateObjectResponse); @@ -214,3 +216,84 @@ message CaminoOp { string created_at = 6; string client_mutation_id = 7; } + +message QueryRequest { + string query_id = 1; + string object_id = 2; + map variables = 3; + // Typed callers require this exact checked definition. Administrative/raw + // callers may omit it to explicitly select the currently installed definition. + string expected_definition_digest = 4; +} +message QueryPathPart { + oneof part { + string field = 1; + uint32 index = 2; + } +} +message QueryPendingField { + repeated QueryPathPart path = 1; + string object_id = 2; + string interface_revision_id = 3; + string member_id = 4; + string operation_id = 5; + string value_type_json = 6; + // Internal residual facts are separate from the authored result projection. + optional uint32 residual_window = 7; + uint32 residual_row = 8; + string residual_field = 9; +} +message QueryStats { + uint32 sql_count = 1; + double sql_ms = 2; + uint32 rpc_count = 3; + double rpc_ms = 4; + uint32 result_bytes = 5; + double preparation_ms = 6; + double total_ms = 7; +} +message QueryResponse { + Value value = 1; + string data_version = 2; + string binding_digest = 3; + repeated QueryPendingField pending = 4; + QueryStats stats = 5; + // Redeemable only through the host's private control socket, not an RPC grant. + string preparation_token = 6; + repeated QueryFieldFailure errors = 7; + repeated QueryResidualWindow residual_windows = 8; + // Native reads share one database snapshot; package enrichment does not. + string consistency = 9; // native-snapshot | mixed +} + +message QueryResidualRow { + string entry_id = 1; + map fields = 2; +} +message QueryResidualOrder { + string field = 1; + bool descending = 2; +} +message QueryResidualWindow { + repeated QueryPathPart path = 1; + repeated QueryResidualRow rows = 2; + string predicate_json = 3; + repeated QueryResidualOrder order = 4; + uint32 limit = 5; + bool bounded_all = 6; + repeated QuerySelection selection = 7; + map field_types = 8; +} + +message QueryFieldFailure { + repeated QueryPathPart path = 1; + string error = 2; +} +message QueryChangesRequest { + string query_id = 1; + string object_id = 2; + string data_version = 3; +} +message QueryChangesResponse { + bool changed = 1; +} diff --git a/proto/camino/schema.proto b/proto/camino/schema.proto index 14e0192..9565d82 100644 --- a/proto/camino/schema.proto +++ b/proto/camino/schema.proto @@ -117,6 +117,7 @@ message QueryReadBinding { string field_name = 11; string value_type_json = 12; Cardinality cardinality = 13; + string key_type = 14; } message QueryBudgets { uint32 rows = 1; diff --git a/proto/quixos/orch.proto b/proto/quixos/orch.proto index d454d78..d086022 100644 --- a/proto/quixos/orch.proto +++ b/proto/quixos/orch.proto @@ -3,11 +3,14 @@ syntax = "proto3"; package quixos.orch; import "camino/api.proto"; +import "camino/schema.proto"; import "quixos/package.proto"; import "quixos/refs.proto"; import "quixos/runtime.proto"; service OrchestratorRuntime { + rpc ExecuteQuery(camino.QueryRequest) returns (camino.QueryResponse); + rpc WatchQuery(camino.QueryRequest) returns (stream QueryEvent); rpc TryConform(TryConformRequest) returns (TryConformResponse); rpc InvokeCapability(InvokeCapabilityRequest) returns (InvokeCapabilityResponse); rpc EditCapabilityField(EditCapabilityFieldRequest) returns (InvokeCapabilityResponse); @@ -23,6 +26,16 @@ service OrchestratorRuntime { rpc CloseActivation(CloseActivationRequest) returns (CloseActivationResponse); } +message QueryEvent { + string run_id = 1; + uint64 sequence = 2; + string kind = 3; + camino.QueryResponse snapshot = 4; + repeated camino.QueryPathPart path = 5; + camino.Value value = 6; + string error = 7; +} + // Exact closed interface lookup; no policy selection or competing conformances. message TryConformRequest { string object_id = 1; @@ -110,6 +123,7 @@ message WatchCapabilityEvent { message GetWorkspaceRequest { // Revision polling must not download the entire interface graph. bool include_interface_contracts = 1; + bool include_query_contracts = 2; } message GetWorkspaceResponse { string workspace_id = 1; @@ -123,6 +137,18 @@ message GetWorkspaceResponse { // Exact closed interface contracts used by checked presentation consumers. string interfaces_json = 7; repeated ClassCapability class_capabilities = 8; + repeated QueryDescription queries = 9; + uint32 active_query_executions = 10; +} +message QueryDescription { + string id = 1; + string name = 2; + string package_revision_id = 3; + string document = 4; + string schema = 5; + repeated string source_files = 6; + string effects_json = 7; + camino.InstalledQuery plan = 8; } message ClassCapability { string conformance_id = 1; diff --git a/proto/quixos/refs.proto b/proto/quixos/refs.proto index 9213cea..7b0efc5 100644 --- a/proto/quixos/refs.proto +++ b/proto/quixos/refs.proto @@ -29,6 +29,7 @@ message InjectedDependency { EdgeDependency edge = 3; string interface_revision_id = 4; string constructor_atom_id = 5; + string query_id = 7; } // Defaults to the invocation receiver. A checked dependency traversal can // select a related object explicitly before the package runtime starts. diff --git a/src/bindings/generics.ts b/src/bindings/generics.ts index e2fa66a..fc275a1 100644 --- a/src/bindings/generics.ts +++ b/src/bindings/generics.ts @@ -13,6 +13,9 @@ export const genericImplementationType = ( definition: GenericPackageExport, interfaces: InterfaceRevision[], concrete: (type: ValueType) => string, + queryPort: (requirement: Extract) => string = () => { + throw new Error("Query binding schema required"); + }, ): string => { const names = new Map(definition.parameters.map((parameter, index) => [parameter.id, `T${index}`])); type Scope = { arguments: Map; aliases: ValueAliasDefinition[] }; @@ -108,6 +111,8 @@ export const genericImplementationType = ( ]); return object(methods); } + case "query": + return queryPort(requirement); case "constructor": return object([ [ diff --git a/src/bindings/index.ts b/src/bindings/index.ts index 26e92f2..3891275 100644 --- a/src/bindings/index.ts +++ b/src/bindings/index.ts @@ -144,6 +144,33 @@ export const generateTypeScriptBindings = ( const port = (entry: DependencyPort): { type: string; spec: unknown } => { const requirement = entry.requirement; switch (requirement.kind) { + case "query": { + const query = schema.packages + .find((candidate) => candidate.revisionId === requirement.packageRevisionId) + ?.checkedQueries?.find((query) => query.declaration.id === requirement.queryId); + if (!query) throw new Error(`Missing checked query ${requirement.packageRevisionId}:${requirement.queryId}`); + return { + type: object([ + ["execute", `(variables: ${type(query.variables)}) => Promise<${type(query.output)}>`], + ...(query.declaration.watch + ? ([ + [ + "watch", + `(variables: ${type(query.variables)}, signal: AbortSignal) => AsyncIterable>`, + ], + ] as [string, string][]) + : []), + ]), + spec: { + kind: "query", + id: entry.id, + definitionDigest: query.definitionDigest, + variables: query.variables, + output: query.output, + watch: query.declaration.watch, + }, + }; + } case "state": { const methods = requirement.primitives.map((primitive): [string, string] => { if (primitive === "read") return ["get", `() => Promise<${type(requirement.valueType)}>`]; @@ -282,7 +309,12 @@ export const generateTypeScriptBindings = ( for (const definition of pkg.genericExports ?? []) { handlers.push([ definition.displayName, - genericImplementationType(definition, [...schema.interfaces, ...(schema.interfaceTemplates ?? [])], type), + genericImplementationType( + definition, + [...schema.interfaces, ...(schema.interfaceTemplates ?? [])], + type, + (requirement) => port({ id: capabilityId.dependencyPort("query"), displayName: "query", requirement }).type, + ), ]); } // Unused imported interfaces must not introduce new message-codec obligations. @@ -326,7 +358,13 @@ export const generateTypeScriptBindings = ( const queryResults = object( (pkg.checkedQueries ?? []).map((query) => [query.declaration.displayName, type(query.output)]), ); - const signatures = `${object(contexts)} ${object(handlers)} ${object(results)} ${queryVariables} ${queryResults} ${contracts.map((entry) => entry.type).join(" ")}`; + const queryDescriptors = object( + (pkg.checkedQueries ?? []).map((query) => [ + query.declaration.displayName, + `QxQueryDescriptor`, + ]), + ); + const signatures = `${object(contexts)} ${object(handlers)} ${object(results)} ${queryVariables} ${queryResults} ${queryDescriptors} ${contracts.map((entry) => entry.type).join(" ")}`; const typeImports = [ "BindingValue", "QxObjectRef", @@ -339,6 +377,8 @@ export const generateTypeScriptBindings = ( "QxLiveValue", "RelationshipCollection", "RelationshipEntry", + "QxQuerySnapshot", + "QxQueryDescriptor", ].filter((name) => new RegExp(`\\b${name}\\b`).test(signatures)); return ( `// Generated by quixos-codegen-ts. Do not edit. Binding ABI version 1.\n` + @@ -348,7 +388,7 @@ export const generateTypeScriptBindings = ( `declare const appliedType: unique symbol;\ntype QxApplied = string & {readonly [appliedType]: (value: [Definition, Arguments]) => [Definition, Arguments]};\n` + `export type Contexts = ${object(contexts)};\nexport type Results = ${object(results)};\nexport type Implementation = ${object(handlers)};\n` + `export type QueryVariables = ${queryVariables};\nexport type QueryResults = ${queryResults};\n` + - `export const queries = ${JSON.stringify(Object.fromEntries((pkg.checkedQueries ?? []).map((query) => [query.declaration.displayName, { id: `${pkg.revisionId}:${query.declaration.id}`, definitionDigest: query.definitionDigest, rootInterfaceRevisionId: query.declaration.root, variables: query.variables, output: query.output, watch: query.declaration.watch }])), null, 2)} as const;\n` + + `export const queries: ${queryDescriptors} = ${JSON.stringify(Object.fromEntries((pkg.checkedQueries ?? []).map((query) => [query.declaration.displayName, { id: `${pkg.revisionId}:${query.declaration.id}`, definitionDigest: query.definitionDigest, rootInterfaceRevisionId: query.declaration.root, variables: query.variables, output: query.output, watch: query.declaration.watch }])), null, 2)} as const;\n` + `export const contracts = {${contracts.map((entry) => `${q(entry.iface.revisionId)}: ${entry.code}`).join(",\n")}};\n` + `export const interfaces = {${contracts .filter((entry) => contracts.filter((other) => other.iface.displayName === entry.iface.displayName).length === 1) diff --git a/src/bindings/react-platform.ts b/src/bindings/react-platform.ts index 039c267..bc90192 100644 --- a/src/bindings/react-platform.ts +++ b/src/bindings/react-platform.ts @@ -20,6 +20,15 @@ declare module "@quixos/web-studio-react-runtime" { export function tryConform(object: string | {readonly $quixosRef: string}, contract: ReactInterfaceContract, options?: {signal?: AbortSignal}): Promise; export type ConformanceResult = {status: "loading"} | {status: "absent"} | {status: "available"; view: View} | {status: "error"; error: Error}; export function useTryConform(object: string | {readonly $quixosRef: string}, contract: ReactInterfaceContract): ConformanceResult; + export type QueryValueType = {kind: "builtin" | "scalar"; name: string} | {kind: "record"; fields: Record} | {kind: "optional" | "list"; value: QueryValueType} | {kind: "object-ref"; expectation: {kind: "atom"; atomId: string} | {kind: "interface"; interfaceRevisionId: string}}; + export type QueryReference = {readonly $quixosRef: string; readonly queryContract: Contract}; + export interface QueryDescriptor {readonly id: string; readonly definitionDigest: string; readonly rootInterfaceRevisionId: string; readonly variables: QueryValueType; readonly output: QueryValueType; readonly watch: boolean; readonly $types?: (variables: Variables, result: Result) => [Variables, Result]} + export type QueryPartial = T extends QueryReference ? T : T extends readonly (infer Item)[] ? QueryPartial[] : T extends object ? {[Key in keyof T]?: QueryPartial} : T; + export type QueryFieldState = {path: readonly (string | number)[]; status: "pending" | "error"; error?: string}; + export type QueryState = {refreshing: boolean; fields: QueryFieldState[]; runId?: string; sequence?: bigint; consistency?: string} & ({status: "loading"; data?: undefined; error?: undefined} | {status: "ready"; data: T; error?: undefined} | {status: "partial"; data: QueryPartial; error?: undefined} | {status: "error"; data?: T | QueryPartial; error: Error}); + export function useQuery(descriptor: QueryDescriptor, options: {root: string | {readonly $quixosRef: string}; variables: Variables}): QueryState & {refresh(): void}; + export interface QueryConnection {entries: {key: string; node: Row; cursor?: string | null}[]; pageInfo: {hasNextPage: boolean; endCursor?: string | null}} + export function CollectionView(props: {result: QueryState & {refresh(): void}; connection(data: QueryPartial): QueryPartial> | undefined; renderItem(row: QueryPartial, entryKey: string): React.ReactNode; onCreate?: () => void; onLoadMore?: (cursor: string | null) => void; onReset?: () => void; loadingMore?: boolean; empty?: React.ReactNode; prefetch?: boolean}): React.ReactElement; export type ReactComponentHostProps = { onAction?: (action: Action) => void; fallback?: React.ReactNode; diff --git a/src/bindings/react.ts b/src/bindings/react.ts index 4622560..589bfc5 100644 --- a/src/bindings/react.ts +++ b/src/bindings/react.ts @@ -116,8 +116,39 @@ export function generateReactBindings( ); return { iface, view: `${reference} & {call: {${calls.join(";")}}}` }; }); + const queryType = (value: ValueType): string => { + if (value.kind === "object-ref") + return `QueryReference<${q(value.expectation.kind === "atom" ? value.expectation.atomId : value.expectation.interfaceRevisionId)}>`; + if (value.kind === "optional") return `(${queryType(value.value)} | null)`; + if (value.kind === "list") return `Array<${queryType(value.value)}>`; + if (value.kind === "record") + return `{${Object.entries(value.fields) + .map(([name, field]) => `${q(name)}: ${queryType(field)}`) + .join(";")}}`; + return type(value); + }; + const queries = pkg.checkedQueries ?? []; + const queryCode = + `export type QueryVariables = {${queries.map((query) => `${q(query.declaration.displayName)}: ${queryType(query.variables)}`).join(";")}};\n` + + `export type QueryResults = {${queries.map((query) => `${q(query.declaration.displayName)}: ${queryType(query.output)}`).join(";")}};\n` + + `export const queries: {${queries.map((query) => `${q(query.declaration.displayName)}: QueryDescriptor`).join(";")}} = ${JSON.stringify( + Object.fromEntries( + queries.map((query) => [ + query.declaration.displayName, + { + id: `${pkg.revisionId}:${query.declaration.id}`, + definitionDigest: query.definitionDigest, + rootInterfaceRevisionId: query.declaration.root, + variables: query.variables, + output: query.output, + watch: query.declaration.watch, + }, + ]), + ), + )};\n`; return ( - `// Generated from checked QX contracts. Do not edit.\nimport {defineReactInterfaceContract} from "@quixos/web-studio-react-runtime";\nimport type {ObjectRef, InterfaceReference, ReadableField, WritableField} from "@quixos/web-studio-react-runtime";\n${declarations.join("\n")}\nexport type ReactResults = {${results.join(";\n")}};\n` + + `// Generated from checked QX contracts. Do not edit.\nimport {defineReactInterfaceContract} from "@quixos/web-studio-react-runtime";\nimport type {ObjectRef, InterfaceReference, ReadableField, WritableField, QueryDescriptor, QueryReference} from "@quixos/web-studio-react-runtime";\n${declarations.join("\n")}\nexport type ReactResults = {${results.join(";\n")}};\n` + + queryCode + `const contractsData = ${JSON.stringify(schema.interfaces)};\n` + `export const reactContracts = {${contracts.map(({ iface, view }) => `${q(iface.revisionId)}: defineReactInterfaceContract<${view}>(${q(iface.revisionId)}, contractsData)`).join(",\n")}};\n` + `export const reactInterfaces = {${contracts diff --git a/src/capability-language/assembly.ts b/src/capability-language/assembly.ts index 55098e1..d388d02 100644 --- a/src/capability-language/assembly.ts +++ b/src/capability-language/assembly.ts @@ -2,6 +2,8 @@ import { readFile, realpath } from "node:fs/promises"; import path from "node:path"; import { loadQxSources, resolveQxSources } from "./source-loader.js"; import { compileRepositoryQuery } from "../query/compile.js"; +import { checkQueryTemplate } from "../query/templates.js"; +import { readRepositorySource } from "./source-loader.js"; import { linkQueries } from "../query/link.js"; import { capabilityId, @@ -237,6 +239,10 @@ const createResourceGraphResolver = (quixosCommit: string, resolveResource: Capa ...(environment.interfaceClosure ?? []), ...(compiled.resource.specializations ?? []), ]; + for (const template of compiled.resource.revision.queryTemplates ?? []) + await checkQueryTemplate(template, queryInterfaces, (name) => + readRepositorySource(snapshot.directory, name), + ); if (compiled.resource.revision.queries?.length) compiled.resource.revision.checkedQueries = await Promise.all( compiled.resource.revision.queries.map((query) => diff --git a/src/capability-language/generated/QuixosCapability.interp b/src/capability-language/generated/QuixosCapability.interp index e087c40..d60fbbf 100644 --- a/src/capability-language/generated/QuixosCapability.interp +++ b/src/capability-language/generated/QuixosCapability.interp @@ -2,6 +2,7 @@ token literal names: null 'workspace' 'query' +'specialize' 'root' 'document' 'fragments' @@ -134,6 +135,7 @@ token symbolic names: null WORKSPACE QUERY +SPECIALIZE ROOT DOCUMENT FRAGMENTS @@ -291,6 +293,7 @@ targetConstraint packageResourceDecl packageExport packageQuery +packageQuerySpecialization queryClause packageOperationExport packageFunctionExport @@ -335,4 +338,4 @@ stringLiteral atn: -[4, 1, 129, 1043, 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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 9, 1, 9, 1, 10, 5, 10, 236, 8, 10, 10, 10, 12, 10, 239, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 244, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 254, 8, 10, 10, 10, 12, 10, 257, 9, 10, 3, 10, 259, 8, 10, 1, 10, 1, 10, 5, 10, 263, 8, 10, 10, 10, 12, 10, 266, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 274, 8, 11, 10, 11, 12, 11, 277, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 285, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 293, 8, 12, 10, 12, 12, 12, 296, 9, 12, 3, 12, 298, 8, 12, 3, 12, 300, 8, 12, 1, 13, 1, 13, 3, 13, 304, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 310, 8, 14, 10, 14, 12, 14, 313, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 324, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 329, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 3, 17, 338, 8, 17, 1, 18, 3, 18, 341, 8, 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, 18, 1, 19, 3, 19, 359, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 369, 8, 19, 10, 19, 12, 19, 372, 9, 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, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 395, 8, 20, 1, 21, 3, 21, 398, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 408, 8, 21, 1, 21, 1, 21, 5, 21, 412, 8, 21, 10, 21, 12, 21, 415, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 3, 22, 421, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 447, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 454, 8, 24, 1, 24, 1, 24, 3, 24, 458, 8, 24, 1, 25, 5, 25, 461, 8, 25, 10, 25, 12, 25, 464, 9, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 474, 8, 25, 1, 25, 1, 25, 5, 25, 478, 8, 25, 10, 25, 12, 25, 481, 9, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 489, 8, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 503, 8, 27, 10, 27, 12, 27, 506, 9, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 3, 28, 540, 8, 28, 1, 29, 1, 29, 1, 29, 3, 29, 545, 8, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 556, 8, 29, 1, 29, 1, 29, 1, 29, 3, 29, 561, 8, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 3, 30, 568, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 577, 8, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 590, 8, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 5, 34, 609, 8, 34, 10, 34, 12, 34, 612, 9, 34, 3, 34, 614, 8, 34, 1, 34, 3, 34, 617, 8, 34, 1, 35, 1, 35, 1, 35, 5, 35, 622, 8, 35, 10, 35, 12, 35, 625, 9, 35, 1, 36, 1, 36, 1, 36, 5, 36, 630, 8, 36, 10, 36, 12, 36, 633, 9, 36, 1, 36, 1, 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, 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, 3, 37, 663, 8, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 3, 37, 675, 8, 37, 1, 37, 1, 37, 3, 37, 679, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 5, 38, 685, 8, 38, 10, 38, 12, 38, 688, 9, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 3, 41, 699, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 713, 8, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 723, 8, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 741, 8, 45, 1, 45, 1, 45, 3, 45, 745, 8, 45, 1, 45, 3, 45, 748, 8, 45, 1, 45, 1, 45, 3, 45, 752, 8, 45, 1, 45, 3, 45, 755, 8, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 764, 8, 46, 1, 46, 1, 46, 3, 46, 768, 8, 46, 1, 46, 1, 46, 3, 46, 772, 8, 46, 1, 46, 1, 46, 5, 46, 776, 8, 46, 10, 46, 12, 46, 779, 9, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 788, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 3, 50, 817, 8, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 52, 3, 52, 836, 8, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 855, 8, 53, 1, 53, 3, 53, 858, 8, 53, 3, 53, 860, 8, 53, 1, 54, 1, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 5, 56, 869, 8, 56, 10, 56, 12, 56, 872, 9, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 886, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 902, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 911, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 919, 8, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 3, 57, 929, 8, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 938, 8, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 956, 8, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 978, 8, 59, 10, 59, 12, 59, 981, 9, 59, 1, 59, 1, 59, 1, 59, 3, 59, 986, 8, 59, 3, 59, 988, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 3, 63, 1007, 8, 63, 1, 64, 1, 64, 1, 64, 1, 64, 5, 64, 1013, 8, 64, 10, 64, 12, 64, 1016, 9, 64, 3, 64, 1018, 8, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 5, 66, 1030, 8, 66, 10, 66, 12, 66, 1033, 9, 66, 3, 66, 1035, 8, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 0, 0, 69, 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, 0, 7, 1, 0, 77, 81, 2, 0, 72, 76, 78, 79, 2, 0, 72, 73, 78, 79, 2, 0, 74, 76, 78, 79, 1, 0, 97, 104, 1, 0, 84, 87, 3, 0, 2, 11, 51, 51, 125, 125, 1116, 0, 150, 1, 0, 0, 0, 2, 152, 1, 0, 0, 0, 4, 162, 1, 0, 0, 0, 6, 166, 1, 0, 0, 0, 8, 190, 1, 0, 0, 0, 10, 202, 1, 0, 0, 0, 12, 204, 1, 0, 0, 0, 14, 211, 1, 0, 0, 0, 16, 222, 1, 0, 0, 0, 18, 224, 1, 0, 0, 0, 20, 237, 1, 0, 0, 0, 22, 269, 1, 0, 0, 0, 24, 299, 1, 0, 0, 0, 26, 301, 1, 0, 0, 0, 28, 305, 1, 0, 0, 0, 30, 323, 1, 0, 0, 0, 32, 325, 1, 0, 0, 0, 34, 337, 1, 0, 0, 0, 36, 340, 1, 0, 0, 0, 38, 358, 1, 0, 0, 0, 40, 394, 1, 0, 0, 0, 42, 397, 1, 0, 0, 0, 44, 418, 1, 0, 0, 0, 46, 446, 1, 0, 0, 0, 48, 457, 1, 0, 0, 0, 50, 462, 1, 0, 0, 0, 52, 488, 1, 0, 0, 0, 54, 490, 1, 0, 0, 0, 56, 539, 1, 0, 0, 0, 58, 541, 1, 0, 0, 0, 60, 564, 1, 0, 0, 0, 62, 580, 1, 0, 0, 0, 64, 593, 1, 0, 0, 0, 66, 596, 1, 0, 0, 0, 68, 616, 1, 0, 0, 0, 70, 618, 1, 0, 0, 0, 72, 626, 1, 0, 0, 0, 74, 678, 1, 0, 0, 0, 76, 680, 1, 0, 0, 0, 78, 691, 1, 0, 0, 0, 80, 693, 1, 0, 0, 0, 82, 698, 1, 0, 0, 0, 84, 700, 1, 0, 0, 0, 86, 722, 1, 0, 0, 0, 88, 724, 1, 0, 0, 0, 90, 733, 1, 0, 0, 0, 92, 758, 1, 0, 0, 0, 94, 787, 1, 0, 0, 0, 96, 789, 1, 0, 0, 0, 98, 796, 1, 0, 0, 0, 100, 810, 1, 0, 0, 0, 102, 820, 1, 0, 0, 0, 104, 835, 1, 0, 0, 0, 106, 859, 1, 0, 0, 0, 108, 861, 1, 0, 0, 0, 110, 863, 1, 0, 0, 0, 112, 865, 1, 0, 0, 0, 114, 928, 1, 0, 0, 0, 116, 930, 1, 0, 0, 0, 118, 987, 1, 0, 0, 0, 120, 989, 1, 0, 0, 0, 122, 994, 1, 0, 0, 0, 124, 996, 1, 0, 0, 0, 126, 1006, 1, 0, 0, 0, 128, 1008, 1, 0, 0, 0, 130, 1021, 1, 0, 0, 0, 132, 1025, 1, 0, 0, 0, 134, 1038, 1, 0, 0, 0, 136, 1040, 1, 0, 0, 0, 138, 139, 3, 6, 3, 0, 139, 140, 5, 0, 0, 1, 140, 151, 1, 0, 0, 0, 141, 142, 3, 20, 10, 0, 142, 143, 5, 0, 0, 1, 143, 151, 1, 0, 0, 0, 144, 145, 3, 50, 25, 0, 145, 146, 5, 0, 0, 1, 146, 151, 1, 0, 0, 0, 147, 148, 3, 2, 1, 0, 148, 149, 5, 0, 0, 1, 149, 151, 1, 0, 0, 0, 150, 138, 1, 0, 0, 0, 150, 141, 1, 0, 0, 0, 150, 144, 1, 0, 0, 0, 150, 147, 1, 0, 0, 0, 151, 1, 1, 0, 0, 0, 152, 153, 5, 18, 0, 0, 153, 157, 5, 113, 0, 0, 154, 156, 3, 8, 4, 0, 155, 154, 1, 0, 0, 0, 156, 159, 1, 0, 0, 0, 157, 155, 1, 0, 0, 0, 157, 158, 1, 0, 0, 0, 158, 160, 1, 0, 0, 0, 159, 157, 1, 0, 0, 0, 160, 161, 5, 114, 0, 0, 161, 3, 1, 0, 0, 0, 162, 163, 5, 19, 0, 0, 163, 164, 3, 136, 68, 0, 164, 165, 5, 110, 0, 0, 165, 5, 1, 0, 0, 0, 166, 167, 5, 1, 0, 0, 167, 168, 3, 134, 67, 0, 168, 169, 5, 60, 0, 0, 169, 170, 3, 136, 68, 0, 170, 171, 5, 54, 0, 0, 171, 172, 3, 136, 68, 0, 172, 173, 5, 53, 0, 0, 173, 174, 3, 136, 68, 0, 174, 178, 5, 113, 0, 0, 175, 177, 3, 8, 4, 0, 176, 175, 1, 0, 0, 0, 177, 180, 1, 0, 0, 0, 178, 176, 1, 0, 0, 0, 178, 179, 1, 0, 0, 0, 179, 181, 1, 0, 0, 0, 180, 178, 1, 0, 0, 0, 181, 182, 5, 114, 0, 0, 182, 7, 1, 0, 0, 0, 183, 191, 3, 4, 2, 0, 184, 191, 3, 18, 9, 0, 185, 191, 3, 10, 5, 0, 186, 191, 3, 80, 40, 0, 187, 191, 3, 92, 46, 0, 188, 191, 3, 116, 58, 0, 189, 191, 3, 32, 16, 0, 190, 183, 1, 0, 0, 0, 190, 184, 1, 0, 0, 0, 190, 185, 1, 0, 0, 0, 190, 186, 1, 0, 0, 0, 190, 187, 1, 0, 0, 0, 190, 188, 1, 0, 0, 0, 190, 189, 1, 0, 0, 0, 191, 9, 1, 0, 0, 0, 192, 193, 5, 19, 0, 0, 193, 194, 5, 22, 0, 0, 194, 195, 3, 134, 67, 0, 195, 196, 5, 110, 0, 0, 196, 203, 1, 0, 0, 0, 197, 198, 5, 19, 0, 0, 198, 199, 5, 24, 0, 0, 199, 200, 3, 134, 67, 0, 200, 201, 5, 110, 0, 0, 201, 203, 1, 0, 0, 0, 202, 192, 1, 0, 0, 0, 202, 197, 1, 0, 0, 0, 203, 11, 1, 0, 0, 0, 204, 205, 5, 20, 0, 0, 205, 206, 5, 21, 0, 0, 206, 207, 3, 134, 67, 0, 207, 208, 5, 60, 0, 0, 208, 209, 3, 136, 68, 0, 209, 210, 5, 110, 0, 0, 210, 13, 1, 0, 0, 0, 211, 212, 5, 20, 0, 0, 212, 213, 5, 22, 0, 0, 213, 214, 3, 134, 67, 0, 214, 215, 5, 54, 0, 0, 215, 216, 3, 136, 68, 0, 216, 217, 5, 110, 0, 0, 217, 15, 1, 0, 0, 0, 218, 223, 3, 10, 5, 0, 219, 223, 3, 12, 6, 0, 220, 223, 3, 14, 7, 0, 221, 223, 3, 32, 16, 0, 222, 218, 1, 0, 0, 0, 222, 219, 1, 0, 0, 0, 222, 220, 1, 0, 0, 0, 222, 221, 1, 0, 0, 0, 223, 17, 1, 0, 0, 0, 224, 225, 5, 21, 0, 0, 225, 226, 3, 134, 67, 0, 226, 227, 5, 60, 0, 0, 227, 230, 3, 136, 68, 0, 228, 229, 5, 61, 0, 0, 229, 231, 3, 136, 68, 0, 230, 228, 1, 0, 0, 0, 230, 231, 1, 0, 0, 0, 231, 232, 1, 0, 0, 0, 232, 233, 5, 110, 0, 0, 233, 19, 1, 0, 0, 0, 234, 236, 3, 16, 8, 0, 235, 234, 1, 0, 0, 0, 236, 239, 1, 0, 0, 0, 237, 235, 1, 0, 0, 0, 237, 238, 1, 0, 0, 0, 238, 240, 1, 0, 0, 0, 239, 237, 1, 0, 0, 0, 240, 241, 5, 22, 0, 0, 241, 243, 3, 134, 67, 0, 242, 244, 3, 22, 11, 0, 243, 242, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244, 245, 1, 0, 0, 0, 245, 246, 5, 60, 0, 0, 246, 247, 3, 136, 68, 0, 247, 248, 5, 54, 0, 0, 248, 258, 3, 136, 68, 0, 249, 250, 5, 65, 0, 0, 250, 255, 3, 26, 13, 0, 251, 252, 5, 111, 0, 0, 252, 254, 3, 26, 13, 0, 253, 251, 1, 0, 0, 0, 254, 257, 1, 0, 0, 0, 255, 253, 1, 0, 0, 0, 255, 256, 1, 0, 0, 0, 256, 259, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 258, 249, 1, 0, 0, 0, 258, 259, 1, 0, 0, 0, 259, 260, 1, 0, 0, 0, 260, 264, 5, 113, 0, 0, 261, 263, 3, 34, 17, 0, 262, 261, 1, 0, 0, 0, 263, 266, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 264, 265, 1, 0, 0, 0, 265, 267, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 267, 268, 5, 114, 0, 0, 268, 21, 1, 0, 0, 0, 269, 270, 5, 119, 0, 0, 270, 275, 3, 24, 12, 0, 271, 272, 5, 111, 0, 0, 272, 274, 3, 24, 12, 0, 273, 271, 1, 0, 0, 0, 274, 277, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 275, 276, 1, 0, 0, 0, 276, 278, 1, 0, 0, 0, 277, 275, 1, 0, 0, 0, 278, 279, 5, 120, 0, 0, 279, 23, 1, 0, 0, 0, 280, 281, 5, 25, 0, 0, 281, 284, 3, 134, 67, 0, 282, 283, 5, 109, 0, 0, 283, 285, 5, 15, 0, 0, 284, 282, 1, 0, 0, 0, 284, 285, 1, 0, 0, 0, 285, 300, 1, 0, 0, 0, 286, 287, 5, 14, 0, 0, 287, 297, 3, 134, 67, 0, 288, 289, 5, 16, 0, 0, 289, 294, 3, 26, 13, 0, 290, 291, 5, 121, 0, 0, 291, 293, 3, 26, 13, 0, 292, 290, 1, 0, 0, 0, 293, 296, 1, 0, 0, 0, 294, 292, 1, 0, 0, 0, 294, 295, 1, 0, 0, 0, 295, 298, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 297, 288, 1, 0, 0, 0, 297, 298, 1, 0, 0, 0, 298, 300, 1, 0, 0, 0, 299, 280, 1, 0, 0, 0, 299, 286, 1, 0, 0, 0, 300, 25, 1, 0, 0, 0, 301, 303, 3, 134, 67, 0, 302, 304, 3, 28, 14, 0, 303, 302, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 27, 1, 0, 0, 0, 305, 306, 5, 119, 0, 0, 306, 311, 3, 30, 15, 0, 307, 308, 5, 111, 0, 0, 308, 310, 3, 30, 15, 0, 309, 307, 1, 0, 0, 0, 310, 313, 1, 0, 0, 0, 311, 309, 1, 0, 0, 0, 311, 312, 1, 0, 0, 0, 312, 314, 1, 0, 0, 0, 313, 311, 1, 0, 0, 0, 314, 315, 5, 120, 0, 0, 315, 29, 1, 0, 0, 0, 316, 317, 5, 21, 0, 0, 317, 324, 3, 134, 67, 0, 318, 319, 5, 22, 0, 0, 319, 324, 3, 26, 13, 0, 320, 321, 5, 14, 0, 0, 321, 324, 3, 134, 67, 0, 322, 324, 3, 118, 59, 0, 323, 316, 1, 0, 0, 0, 323, 318, 1, 0, 0, 0, 323, 320, 1, 0, 0, 0, 323, 322, 1, 0, 0, 0, 324, 31, 1, 0, 0, 0, 325, 326, 5, 13, 0, 0, 326, 328, 3, 134, 67, 0, 327, 329, 3, 22, 11, 0, 328, 327, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329, 330, 1, 0, 0, 0, 330, 331, 5, 122, 0, 0, 331, 332, 3, 118, 59, 0, 332, 333, 5, 110, 0, 0, 333, 33, 1, 0, 0, 0, 334, 338, 3, 38, 19, 0, 335, 338, 3, 42, 21, 0, 336, 338, 3, 36, 18, 0, 337, 334, 1, 0, 0, 0, 337, 335, 1, 0, 0, 0, 337, 336, 1, 0, 0, 0, 338, 35, 1, 0, 0, 0, 339, 341, 5, 35, 0, 0, 340, 339, 1, 0, 0, 0, 340, 341, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 343, 5, 27, 0, 0, 343, 344, 3, 134, 67, 0, 344, 345, 5, 60, 0, 0, 345, 346, 3, 136, 68, 0, 346, 347, 5, 109, 0, 0, 347, 348, 3, 118, 59, 0, 348, 349, 5, 108, 0, 0, 349, 350, 3, 118, 59, 0, 350, 351, 5, 113, 0, 0, 351, 352, 5, 77, 0, 0, 352, 353, 5, 60, 0, 0, 353, 354, 3, 136, 68, 0, 354, 355, 5, 110, 0, 0, 355, 356, 5, 114, 0, 0, 356, 37, 1, 0, 0, 0, 357, 359, 3, 44, 22, 0, 358, 357, 1, 0, 0, 0, 358, 359, 1, 0, 0, 0, 359, 360, 1, 0, 0, 0, 360, 361, 5, 25, 0, 0, 361, 362, 3, 134, 67, 0, 362, 363, 5, 60, 0, 0, 363, 364, 3, 136, 68, 0, 364, 365, 5, 109, 0, 0, 365, 366, 3, 118, 59, 0, 366, 370, 5, 113, 0, 0, 367, 369, 3, 40, 20, 0, 368, 367, 1, 0, 0, 0, 369, 372, 1, 0, 0, 0, 370, 368, 1, 0, 0, 0, 370, 371, 1, 0, 0, 0, 371, 373, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 373, 374, 5, 114, 0, 0, 374, 39, 1, 0, 0, 0, 375, 376, 5, 67, 0, 0, 376, 377, 5, 60, 0, 0, 377, 378, 3, 136, 68, 0, 378, 379, 5, 110, 0, 0, 379, 395, 1, 0, 0, 0, 380, 381, 5, 68, 0, 0, 381, 382, 5, 60, 0, 0, 382, 383, 3, 136, 68, 0, 383, 384, 5, 110, 0, 0, 384, 395, 1, 0, 0, 0, 385, 386, 5, 69, 0, 0, 386, 387, 5, 70, 0, 0, 387, 388, 5, 60, 0, 0, 388, 389, 3, 136, 68, 0, 389, 390, 5, 71, 0, 0, 390, 391, 5, 60, 0, 0, 391, 392, 3, 136, 68, 0, 392, 393, 5, 110, 0, 0, 393, 395, 1, 0, 0, 0, 394, 375, 1, 0, 0, 0, 394, 380, 1, 0, 0, 0, 394, 385, 1, 0, 0, 0, 395, 41, 1, 0, 0, 0, 396, 398, 3, 44, 22, 0, 397, 396, 1, 0, 0, 0, 397, 398, 1, 0, 0, 0, 398, 399, 1, 0, 0, 0, 399, 400, 5, 26, 0, 0, 400, 401, 3, 134, 67, 0, 401, 402, 5, 60, 0, 0, 402, 403, 3, 136, 68, 0, 403, 404, 5, 109, 0, 0, 404, 405, 3, 124, 62, 0, 405, 407, 3, 48, 24, 0, 406, 408, 5, 88, 0, 0, 407, 406, 1, 0, 0, 0, 407, 408, 1, 0, 0, 0, 408, 409, 1, 0, 0, 0, 409, 413, 5, 113, 0, 0, 410, 412, 3, 46, 23, 0, 411, 410, 1, 0, 0, 0, 412, 415, 1, 0, 0, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 416, 1, 0, 0, 0, 415, 413, 1, 0, 0, 0, 416, 417, 5, 114, 0, 0, 417, 43, 1, 0, 0, 0, 418, 420, 5, 10, 0, 0, 419, 421, 5, 11, 0, 0, 420, 419, 1, 0, 0, 0, 420, 421, 1, 0, 0, 0, 421, 45, 1, 0, 0, 0, 422, 423, 5, 74, 0, 0, 423, 424, 5, 60, 0, 0, 424, 425, 3, 136, 68, 0, 425, 426, 5, 110, 0, 0, 426, 447, 1, 0, 0, 0, 427, 428, 5, 75, 0, 0, 428, 429, 5, 60, 0, 0, 429, 430, 3, 136, 68, 0, 430, 431, 5, 110, 0, 0, 431, 447, 1, 0, 0, 0, 432, 433, 5, 76, 0, 0, 433, 434, 5, 60, 0, 0, 434, 435, 3, 136, 68, 0, 435, 436, 5, 110, 0, 0, 436, 447, 1, 0, 0, 0, 437, 438, 5, 69, 0, 0, 438, 439, 5, 70, 0, 0, 439, 440, 5, 60, 0, 0, 440, 441, 3, 136, 68, 0, 441, 442, 5, 71, 0, 0, 442, 443, 5, 60, 0, 0, 443, 444, 3, 136, 68, 0, 444, 445, 5, 110, 0, 0, 445, 447, 1, 0, 0, 0, 446, 422, 1, 0, 0, 0, 446, 427, 1, 0, 0, 0, 446, 432, 1, 0, 0, 0, 446, 437, 1, 0, 0, 0, 447, 47, 1, 0, 0, 0, 448, 449, 5, 21, 0, 0, 449, 458, 3, 134, 67, 0, 450, 451, 5, 22, 0, 0, 451, 453, 3, 134, 67, 0, 452, 454, 3, 28, 14, 0, 453, 452, 1, 0, 0, 0, 453, 454, 1, 0, 0, 0, 454, 458, 1, 0, 0, 0, 455, 456, 5, 14, 0, 0, 456, 458, 3, 134, 67, 0, 457, 448, 1, 0, 0, 0, 457, 450, 1, 0, 0, 0, 457, 455, 1, 0, 0, 0, 458, 49, 1, 0, 0, 0, 459, 461, 3, 16, 8, 0, 460, 459, 1, 0, 0, 0, 461, 464, 1, 0, 0, 0, 462, 460, 1, 0, 0, 0, 462, 463, 1, 0, 0, 0, 463, 465, 1, 0, 0, 0, 464, 462, 1, 0, 0, 0, 465, 466, 5, 24, 0, 0, 466, 467, 3, 134, 67, 0, 467, 468, 5, 60, 0, 0, 468, 469, 3, 136, 68, 0, 469, 470, 5, 54, 0, 0, 470, 473, 3, 136, 68, 0, 471, 472, 5, 55, 0, 0, 472, 474, 5, 123, 0, 0, 473, 471, 1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 479, 5, 113, 0, 0, 476, 478, 3, 52, 26, 0, 477, 476, 1, 0, 0, 0, 478, 481, 1, 0, 0, 0, 479, 477, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 482, 1, 0, 0, 0, 481, 479, 1, 0, 0, 0, 482, 483, 5, 114, 0, 0, 483, 51, 1, 0, 0, 0, 484, 489, 3, 58, 29, 0, 485, 489, 3, 60, 30, 0, 486, 489, 3, 62, 31, 0, 487, 489, 3, 54, 27, 0, 488, 484, 1, 0, 0, 0, 488, 485, 1, 0, 0, 0, 488, 486, 1, 0, 0, 0, 488, 487, 1, 0, 0, 0, 489, 53, 1, 0, 0, 0, 490, 491, 5, 2, 0, 0, 491, 492, 3, 134, 67, 0, 492, 493, 5, 60, 0, 0, 493, 494, 3, 136, 68, 0, 494, 495, 5, 3, 0, 0, 495, 496, 3, 26, 13, 0, 496, 497, 5, 4, 0, 0, 497, 498, 3, 136, 68, 0, 498, 499, 5, 27, 0, 0, 499, 500, 3, 136, 68, 0, 500, 504, 5, 113, 0, 0, 501, 503, 3, 56, 28, 0, 502, 501, 1, 0, 0, 0, 503, 506, 1, 0, 0, 0, 504, 502, 1, 0, 0, 0, 504, 505, 1, 0, 0, 0, 505, 507, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 507, 508, 5, 114, 0, 0, 508, 55, 1, 0, 0, 0, 509, 510, 5, 5, 0, 0, 510, 511, 3, 136, 68, 0, 511, 512, 5, 110, 0, 0, 512, 540, 1, 0, 0, 0, 513, 514, 5, 6, 0, 0, 514, 515, 3, 134, 67, 0, 515, 516, 5, 33, 0, 0, 516, 517, 3, 26, 13, 0, 517, 518, 5, 110, 0, 0, 518, 540, 1, 0, 0, 0, 519, 520, 5, 7, 0, 0, 520, 521, 3, 134, 67, 0, 521, 522, 5, 123, 0, 0, 522, 523, 5, 110, 0, 0, 523, 540, 1, 0, 0, 0, 524, 525, 5, 8, 0, 0, 525, 526, 3, 26, 13, 0, 526, 527, 5, 112, 0, 0, 527, 528, 3, 134, 67, 0, 528, 529, 3, 134, 67, 0, 529, 530, 3, 136, 68, 0, 530, 531, 5, 110, 0, 0, 531, 540, 1, 0, 0, 0, 532, 533, 5, 69, 0, 0, 533, 540, 5, 110, 0, 0, 534, 535, 5, 9, 0, 0, 535, 536, 5, 123, 0, 0, 536, 537, 3, 136, 68, 0, 537, 538, 5, 110, 0, 0, 538, 540, 1, 0, 0, 0, 539, 509, 1, 0, 0, 0, 539, 513, 1, 0, 0, 0, 539, 519, 1, 0, 0, 0, 539, 524, 1, 0, 0, 0, 539, 532, 1, 0, 0, 0, 539, 534, 1, 0, 0, 0, 540, 57, 1, 0, 0, 0, 541, 542, 5, 27, 0, 0, 542, 544, 3, 134, 67, 0, 543, 545, 3, 22, 11, 0, 544, 543, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 546, 1, 0, 0, 0, 546, 547, 5, 60, 0, 0, 547, 548, 3, 136, 68, 0, 548, 549, 5, 109, 0, 0, 549, 550, 3, 118, 59, 0, 550, 551, 5, 108, 0, 0, 551, 552, 3, 118, 59, 0, 552, 553, 5, 62, 0, 0, 553, 555, 3, 66, 33, 0, 554, 556, 3, 64, 32, 0, 555, 554, 1, 0, 0, 0, 555, 556, 1, 0, 0, 0, 556, 557, 1, 0, 0, 0, 557, 558, 5, 64, 0, 0, 558, 560, 3, 68, 34, 0, 559, 561, 3, 72, 36, 0, 560, 559, 1, 0, 0, 0, 560, 561, 1, 0, 0, 0, 561, 562, 1, 0, 0, 0, 562, 563, 5, 110, 0, 0, 563, 59, 1, 0, 0, 0, 564, 565, 5, 28, 0, 0, 565, 567, 3, 134, 67, 0, 566, 568, 3, 22, 11, 0, 567, 566, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 569, 1, 0, 0, 0, 569, 570, 5, 60, 0, 0, 570, 571, 3, 136, 68, 0, 571, 572, 5, 109, 0, 0, 572, 573, 3, 118, 59, 0, 573, 574, 5, 108, 0, 0, 574, 576, 3, 118, 59, 0, 575, 577, 3, 72, 36, 0, 576, 575, 1, 0, 0, 0, 576, 577, 1, 0, 0, 0, 577, 578, 1, 0, 0, 0, 578, 579, 5, 110, 0, 0, 579, 61, 1, 0, 0, 0, 580, 581, 5, 29, 0, 0, 581, 582, 3, 134, 67, 0, 582, 583, 5, 60, 0, 0, 583, 584, 3, 136, 68, 0, 584, 585, 5, 30, 0, 0, 585, 586, 3, 134, 67, 0, 586, 587, 5, 109, 0, 0, 587, 589, 3, 118, 59, 0, 588, 590, 3, 72, 36, 0, 589, 588, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 592, 5, 110, 0, 0, 592, 63, 1, 0, 0, 0, 593, 594, 5, 63, 0, 0, 594, 595, 3, 118, 59, 0, 595, 65, 1, 0, 0, 0, 596, 597, 7, 0, 0, 0, 597, 67, 1, 0, 0, 0, 598, 617, 5, 66, 0, 0, 599, 600, 5, 21, 0, 0, 600, 617, 3, 134, 67, 0, 601, 602, 5, 14, 0, 0, 602, 617, 3, 134, 67, 0, 603, 604, 5, 23, 0, 0, 604, 613, 5, 115, 0, 0, 605, 610, 3, 26, 13, 0, 606, 607, 5, 111, 0, 0, 607, 609, 3, 26, 13, 0, 608, 606, 1, 0, 0, 0, 609, 612, 1, 0, 0, 0, 610, 608, 1, 0, 0, 0, 610, 611, 1, 0, 0, 0, 611, 614, 1, 0, 0, 0, 612, 610, 1, 0, 0, 0, 613, 605, 1, 0, 0, 0, 613, 614, 1, 0, 0, 0, 614, 615, 1, 0, 0, 0, 615, 617, 5, 116, 0, 0, 616, 598, 1, 0, 0, 0, 616, 599, 1, 0, 0, 0, 616, 601, 1, 0, 0, 0, 616, 603, 1, 0, 0, 0, 617, 69, 1, 0, 0, 0, 618, 623, 3, 134, 67, 0, 619, 620, 5, 111, 0, 0, 620, 622, 3, 134, 67, 0, 621, 619, 1, 0, 0, 0, 622, 625, 1, 0, 0, 0, 623, 621, 1, 0, 0, 0, 623, 624, 1, 0, 0, 0, 624, 71, 1, 0, 0, 0, 625, 623, 1, 0, 0, 0, 626, 627, 5, 65, 0, 0, 627, 631, 5, 113, 0, 0, 628, 630, 3, 74, 37, 0, 629, 628, 1, 0, 0, 0, 630, 633, 1, 0, 0, 0, 631, 629, 1, 0, 0, 0, 631, 632, 1, 0, 0, 0, 632, 634, 1, 0, 0, 0, 633, 631, 1, 0, 0, 0, 634, 635, 5, 114, 0, 0, 635, 73, 1, 0, 0, 0, 636, 637, 5, 39, 0, 0, 637, 638, 3, 134, 67, 0, 638, 639, 5, 60, 0, 0, 639, 640, 3, 136, 68, 0, 640, 641, 5, 109, 0, 0, 641, 642, 3, 118, 59, 0, 642, 643, 3, 76, 38, 0, 643, 644, 5, 110, 0, 0, 644, 679, 1, 0, 0, 0, 645, 646, 5, 40, 0, 0, 646, 647, 3, 134, 67, 0, 647, 648, 5, 60, 0, 0, 648, 649, 3, 136, 68, 0, 649, 650, 5, 109, 0, 0, 650, 651, 3, 124, 62, 0, 651, 652, 3, 48, 24, 0, 652, 653, 3, 76, 38, 0, 653, 654, 5, 110, 0, 0, 654, 679, 1, 0, 0, 0, 655, 656, 5, 22, 0, 0, 656, 657, 3, 134, 67, 0, 657, 658, 5, 60, 0, 0, 658, 659, 3, 136, 68, 0, 659, 660, 5, 109, 0, 0, 660, 662, 3, 134, 67, 0, 661, 663, 3, 28, 14, 0, 662, 661, 1, 0, 0, 0, 662, 663, 1, 0, 0, 0, 663, 664, 1, 0, 0, 0, 664, 665, 5, 110, 0, 0, 665, 679, 1, 0, 0, 0, 666, 667, 5, 29, 0, 0, 667, 668, 3, 134, 67, 0, 668, 669, 5, 60, 0, 0, 669, 670, 3, 136, 68, 0, 670, 671, 5, 109, 0, 0, 671, 674, 3, 134, 67, 0, 672, 673, 5, 31, 0, 0, 673, 675, 3, 118, 59, 0, 674, 672, 1, 0, 0, 0, 674, 675, 1, 0, 0, 0, 675, 676, 1, 0, 0, 0, 676, 677, 5, 110, 0, 0, 677, 679, 1, 0, 0, 0, 678, 636, 1, 0, 0, 0, 678, 645, 1, 0, 0, 0, 678, 655, 1, 0, 0, 0, 678, 666, 1, 0, 0, 0, 679, 75, 1, 0, 0, 0, 680, 681, 5, 115, 0, 0, 681, 686, 3, 78, 39, 0, 682, 683, 5, 111, 0, 0, 683, 685, 3, 78, 39, 0, 684, 682, 1, 0, 0, 0, 685, 688, 1, 0, 0, 0, 686, 684, 1, 0, 0, 0, 686, 687, 1, 0, 0, 0, 687, 689, 1, 0, 0, 0, 688, 686, 1, 0, 0, 0, 689, 690, 5, 116, 0, 0, 690, 77, 1, 0, 0, 0, 691, 692, 7, 1, 0, 0, 692, 79, 1, 0, 0, 0, 693, 694, 5, 38, 0, 0, 694, 695, 3, 82, 41, 0, 695, 81, 1, 0, 0, 0, 696, 699, 3, 84, 42, 0, 697, 699, 3, 88, 44, 0, 698, 696, 1, 0, 0, 0, 698, 697, 1, 0, 0, 0, 699, 83, 1, 0, 0, 0, 700, 701, 5, 39, 0, 0, 701, 702, 3, 134, 67, 0, 702, 703, 5, 60, 0, 0, 703, 704, 3, 136, 68, 0, 704, 705, 5, 48, 0, 0, 705, 706, 3, 134, 67, 0, 706, 707, 5, 109, 0, 0, 707, 708, 3, 118, 59, 0, 708, 709, 5, 49, 0, 0, 709, 712, 3, 86, 43, 0, 710, 711, 5, 50, 0, 0, 711, 713, 3, 126, 63, 0, 712, 710, 1, 0, 0, 0, 712, 713, 1, 0, 0, 0, 713, 714, 1, 0, 0, 0, 714, 715, 5, 110, 0, 0, 715, 85, 1, 0, 0, 0, 716, 723, 5, 82, 0, 0, 717, 718, 5, 83, 0, 0, 718, 719, 5, 117, 0, 0, 719, 720, 3, 118, 59, 0, 720, 721, 5, 118, 0, 0, 721, 723, 1, 0, 0, 0, 722, 716, 1, 0, 0, 0, 722, 717, 1, 0, 0, 0, 723, 87, 1, 0, 0, 0, 724, 725, 5, 40, 0, 0, 725, 726, 3, 134, 67, 0, 726, 727, 5, 60, 0, 0, 727, 728, 3, 136, 68, 0, 728, 729, 5, 113, 0, 0, 729, 730, 3, 90, 45, 0, 730, 731, 3, 90, 45, 0, 731, 732, 5, 114, 0, 0, 732, 89, 1, 0, 0, 0, 733, 734, 3, 48, 24, 0, 734, 735, 5, 41, 0, 0, 735, 736, 3, 134, 67, 0, 736, 737, 5, 60, 0, 0, 737, 738, 3, 136, 68, 0, 738, 740, 3, 124, 62, 0, 739, 741, 5, 88, 0, 0, 740, 739, 1, 0, 0, 0, 740, 741, 1, 0, 0, 0, 741, 744, 1, 0, 0, 0, 742, 743, 5, 56, 0, 0, 743, 745, 3, 136, 68, 0, 744, 742, 1, 0, 0, 0, 744, 745, 1, 0, 0, 0, 745, 747, 1, 0, 0, 0, 746, 748, 5, 57, 0, 0, 747, 746, 1, 0, 0, 0, 747, 748, 1, 0, 0, 0, 748, 751, 1, 0, 0, 0, 749, 750, 5, 58, 0, 0, 750, 752, 3, 136, 68, 0, 751, 749, 1, 0, 0, 0, 751, 752, 1, 0, 0, 0, 752, 754, 1, 0, 0, 0, 753, 755, 5, 59, 0, 0, 754, 753, 1, 0, 0, 0, 754, 755, 1, 0, 0, 0, 755, 756, 1, 0, 0, 0, 756, 757, 5, 110, 0, 0, 757, 91, 1, 0, 0, 0, 758, 759, 5, 32, 0, 0, 759, 760, 3, 134, 67, 0, 760, 761, 5, 33, 0, 0, 761, 763, 3, 134, 67, 0, 762, 764, 3, 28, 14, 0, 763, 762, 1, 0, 0, 0, 763, 764, 1, 0, 0, 0, 764, 767, 1, 0, 0, 0, 765, 766, 5, 60, 0, 0, 766, 768, 3, 136, 68, 0, 767, 765, 1, 0, 0, 0, 767, 768, 1, 0, 0, 0, 768, 771, 1, 0, 0, 0, 769, 770, 5, 55, 0, 0, 770, 772, 5, 123, 0, 0, 771, 769, 1, 0, 0, 0, 771, 772, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 777, 5, 113, 0, 0, 774, 776, 3, 94, 47, 0, 775, 774, 1, 0, 0, 0, 776, 779, 1, 0, 0, 0, 777, 775, 1, 0, 0, 0, 777, 778, 1, 0, 0, 0, 778, 780, 1, 0, 0, 0, 779, 777, 1, 0, 0, 0, 780, 781, 5, 114, 0, 0, 781, 93, 1, 0, 0, 0, 782, 783, 5, 37, 0, 0, 783, 788, 3, 82, 41, 0, 784, 788, 3, 100, 50, 0, 785, 788, 3, 96, 48, 0, 786, 788, 3, 98, 49, 0, 787, 782, 1, 0, 0, 0, 787, 784, 1, 0, 0, 0, 787, 785, 1, 0, 0, 0, 787, 786, 1, 0, 0, 0, 788, 95, 1, 0, 0, 0, 789, 790, 5, 34, 0, 0, 790, 791, 3, 134, 67, 0, 791, 792, 5, 36, 0, 0, 792, 793, 5, 39, 0, 0, 793, 794, 3, 134, 67, 0, 794, 795, 5, 110, 0, 0, 795, 97, 1, 0, 0, 0, 796, 797, 5, 45, 0, 0, 797, 798, 3, 134, 67, 0, 798, 799, 5, 46, 0, 0, 799, 800, 5, 47, 0, 0, 800, 801, 5, 43, 0, 0, 801, 802, 5, 29, 0, 0, 802, 803, 3, 134, 67, 0, 803, 804, 5, 44, 0, 0, 804, 805, 5, 40, 0, 0, 805, 806, 3, 134, 67, 0, 806, 807, 5, 112, 0, 0, 807, 808, 3, 134, 67, 0, 808, 809, 5, 110, 0, 0, 809, 99, 1, 0, 0, 0, 810, 811, 5, 34, 0, 0, 811, 812, 3, 102, 51, 0, 812, 813, 5, 36, 0, 0, 813, 816, 3, 106, 53, 0, 814, 815, 5, 12, 0, 0, 815, 817, 3, 136, 68, 0, 816, 814, 1, 0, 0, 0, 816, 817, 1, 0, 0, 0, 817, 818, 1, 0, 0, 0, 818, 819, 5, 110, 0, 0, 819, 101, 1, 0, 0, 0, 820, 821, 3, 134, 67, 0, 821, 822, 5, 112, 0, 0, 822, 823, 3, 104, 52, 0, 823, 103, 1, 0, 0, 0, 824, 836, 3, 134, 67, 0, 825, 836, 5, 77, 0, 0, 826, 836, 5, 67, 0, 0, 827, 836, 5, 68, 0, 0, 828, 836, 5, 74, 0, 0, 829, 836, 5, 75, 0, 0, 830, 836, 5, 76, 0, 0, 831, 836, 5, 78, 0, 0, 832, 836, 5, 79, 0, 0, 833, 836, 5, 80, 0, 0, 834, 836, 5, 81, 0, 0, 835, 824, 1, 0, 0, 0, 835, 825, 1, 0, 0, 0, 835, 826, 1, 0, 0, 0, 835, 827, 1, 0, 0, 0, 835, 828, 1, 0, 0, 0, 835, 829, 1, 0, 0, 0, 835, 830, 1, 0, 0, 0, 835, 831, 1, 0, 0, 0, 835, 832, 1, 0, 0, 0, 835, 833, 1, 0, 0, 0, 835, 834, 1, 0, 0, 0, 836, 105, 1, 0, 0, 0, 837, 838, 5, 39, 0, 0, 838, 839, 3, 134, 67, 0, 839, 840, 5, 112, 0, 0, 840, 841, 3, 108, 54, 0, 841, 860, 1, 0, 0, 0, 842, 843, 5, 40, 0, 0, 843, 844, 3, 134, 67, 0, 844, 845, 5, 112, 0, 0, 845, 846, 3, 134, 67, 0, 846, 847, 5, 112, 0, 0, 847, 848, 3, 110, 55, 0, 848, 860, 1, 0, 0, 0, 849, 850, 5, 24, 0, 0, 850, 851, 3, 134, 67, 0, 851, 852, 5, 112, 0, 0, 852, 854, 3, 134, 67, 0, 853, 855, 3, 28, 14, 0, 854, 853, 1, 0, 0, 0, 854, 855, 1, 0, 0, 0, 855, 857, 1, 0, 0, 0, 856, 858, 3, 112, 56, 0, 857, 856, 1, 0, 0, 0, 857, 858, 1, 0, 0, 0, 858, 860, 1, 0, 0, 0, 859, 837, 1, 0, 0, 0, 859, 842, 1, 0, 0, 0, 859, 849, 1, 0, 0, 0, 860, 107, 1, 0, 0, 0, 861, 862, 7, 2, 0, 0, 862, 109, 1, 0, 0, 0, 863, 864, 7, 3, 0, 0, 864, 111, 1, 0, 0, 0, 865, 866, 5, 42, 0, 0, 866, 870, 5, 113, 0, 0, 867, 869, 3, 114, 57, 0, 868, 867, 1, 0, 0, 0, 869, 872, 1, 0, 0, 0, 870, 868, 1, 0, 0, 0, 870, 871, 1, 0, 0, 0, 871, 873, 1, 0, 0, 0, 872, 870, 1, 0, 0, 0, 873, 874, 5, 114, 0, 0, 874, 113, 1, 0, 0, 0, 875, 876, 3, 134, 67, 0, 876, 877, 5, 36, 0, 0, 877, 878, 5, 39, 0, 0, 878, 885, 3, 134, 67, 0, 879, 880, 5, 44, 0, 0, 880, 881, 5, 40, 0, 0, 881, 882, 3, 134, 67, 0, 882, 883, 5, 112, 0, 0, 883, 884, 3, 134, 67, 0, 884, 886, 1, 0, 0, 0, 885, 879, 1, 0, 0, 0, 885, 886, 1, 0, 0, 0, 886, 887, 1, 0, 0, 0, 887, 888, 5, 110, 0, 0, 888, 929, 1, 0, 0, 0, 889, 890, 3, 134, 67, 0, 890, 891, 5, 36, 0, 0, 891, 892, 5, 40, 0, 0, 892, 893, 3, 134, 67, 0, 893, 894, 5, 112, 0, 0, 894, 901, 3, 134, 67, 0, 895, 896, 5, 44, 0, 0, 896, 897, 5, 40, 0, 0, 897, 898, 3, 134, 67, 0, 898, 899, 5, 112, 0, 0, 899, 900, 3, 134, 67, 0, 900, 902, 1, 0, 0, 0, 901, 895, 1, 0, 0, 0, 901, 902, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 904, 5, 110, 0, 0, 904, 929, 1, 0, 0, 0, 905, 906, 3, 134, 67, 0, 906, 907, 5, 36, 0, 0, 907, 908, 5, 22, 0, 0, 908, 910, 3, 134, 67, 0, 909, 911, 3, 28, 14, 0, 910, 909, 1, 0, 0, 0, 910, 911, 1, 0, 0, 0, 911, 918, 1, 0, 0, 0, 912, 913, 5, 44, 0, 0, 913, 914, 5, 40, 0, 0, 914, 915, 3, 134, 67, 0, 915, 916, 5, 112, 0, 0, 916, 917, 3, 134, 67, 0, 917, 919, 1, 0, 0, 0, 918, 912, 1, 0, 0, 0, 918, 919, 1, 0, 0, 0, 919, 920, 1, 0, 0, 0, 920, 921, 5, 110, 0, 0, 921, 929, 1, 0, 0, 0, 922, 923, 3, 134, 67, 0, 923, 924, 5, 36, 0, 0, 924, 925, 5, 29, 0, 0, 925, 926, 3, 134, 67, 0, 926, 927, 5, 110, 0, 0, 927, 929, 1, 0, 0, 0, 928, 875, 1, 0, 0, 0, 928, 889, 1, 0, 0, 0, 928, 905, 1, 0, 0, 0, 928, 922, 1, 0, 0, 0, 929, 115, 1, 0, 0, 0, 930, 931, 5, 29, 0, 0, 931, 932, 3, 134, 67, 0, 932, 933, 5, 36, 0, 0, 933, 934, 3, 134, 67, 0, 934, 935, 5, 112, 0, 0, 935, 937, 3, 134, 67, 0, 936, 938, 3, 112, 56, 0, 937, 936, 1, 0, 0, 0, 937, 938, 1, 0, 0, 0, 938, 939, 1, 0, 0, 0, 939, 940, 5, 110, 0, 0, 940, 117, 1, 0, 0, 0, 941, 988, 3, 122, 61, 0, 942, 988, 5, 89, 0, 0, 943, 988, 5, 90, 0, 0, 944, 945, 5, 91, 0, 0, 945, 988, 3, 136, 68, 0, 946, 947, 5, 92, 0, 0, 947, 948, 5, 119, 0, 0, 948, 949, 3, 134, 67, 0, 949, 950, 5, 120, 0, 0, 950, 988, 1, 0, 0, 0, 951, 952, 5, 93, 0, 0, 952, 953, 5, 119, 0, 0, 953, 955, 3, 134, 67, 0, 954, 956, 3, 28, 14, 0, 955, 954, 1, 0, 0, 0, 955, 956, 1, 0, 0, 0, 956, 957, 1, 0, 0, 0, 957, 958, 5, 120, 0, 0, 958, 988, 1, 0, 0, 0, 959, 960, 5, 17, 0, 0, 960, 961, 5, 119, 0, 0, 961, 962, 3, 134, 67, 0, 962, 963, 5, 120, 0, 0, 963, 988, 1, 0, 0, 0, 964, 965, 5, 94, 0, 0, 965, 966, 5, 119, 0, 0, 966, 967, 3, 118, 59, 0, 967, 968, 5, 120, 0, 0, 968, 988, 1, 0, 0, 0, 969, 970, 5, 95, 0, 0, 970, 971, 5, 119, 0, 0, 971, 972, 3, 118, 59, 0, 972, 973, 5, 120, 0, 0, 973, 988, 1, 0, 0, 0, 974, 975, 5, 96, 0, 0, 975, 979, 5, 113, 0, 0, 976, 978, 3, 120, 60, 0, 977, 976, 1, 0, 0, 0, 978, 981, 1, 0, 0, 0, 979, 977, 1, 0, 0, 0, 979, 980, 1, 0, 0, 0, 980, 982, 1, 0, 0, 0, 981, 979, 1, 0, 0, 0, 982, 988, 5, 114, 0, 0, 983, 985, 3, 134, 67, 0, 984, 986, 3, 28, 14, 0, 985, 984, 1, 0, 0, 0, 985, 986, 1, 0, 0, 0, 986, 988, 1, 0, 0, 0, 987, 941, 1, 0, 0, 0, 987, 942, 1, 0, 0, 0, 987, 943, 1, 0, 0, 0, 987, 944, 1, 0, 0, 0, 987, 946, 1, 0, 0, 0, 987, 951, 1, 0, 0, 0, 987, 959, 1, 0, 0, 0, 987, 964, 1, 0, 0, 0, 987, 969, 1, 0, 0, 0, 987, 974, 1, 0, 0, 0, 987, 983, 1, 0, 0, 0, 988, 119, 1, 0, 0, 0, 989, 990, 3, 134, 67, 0, 990, 991, 5, 109, 0, 0, 991, 992, 3, 118, 59, 0, 992, 993, 5, 110, 0, 0, 993, 121, 1, 0, 0, 0, 994, 995, 7, 4, 0, 0, 995, 123, 1, 0, 0, 0, 996, 997, 7, 5, 0, 0, 997, 125, 1, 0, 0, 0, 998, 1007, 3, 136, 68, 0, 999, 1007, 5, 123, 0, 0, 1000, 1007, 5, 124, 0, 0, 1001, 1007, 5, 105, 0, 0, 1002, 1007, 5, 106, 0, 0, 1003, 1007, 5, 107, 0, 0, 1004, 1007, 3, 128, 64, 0, 1005, 1007, 3, 132, 66, 0, 1006, 998, 1, 0, 0, 0, 1006, 999, 1, 0, 0, 0, 1006, 1000, 1, 0, 0, 0, 1006, 1001, 1, 0, 0, 0, 1006, 1002, 1, 0, 0, 0, 1006, 1003, 1, 0, 0, 0, 1006, 1004, 1, 0, 0, 0, 1006, 1005, 1, 0, 0, 0, 1007, 127, 1, 0, 0, 0, 1008, 1017, 5, 113, 0, 0, 1009, 1014, 3, 130, 65, 0, 1010, 1011, 5, 111, 0, 0, 1011, 1013, 3, 130, 65, 0, 1012, 1010, 1, 0, 0, 0, 1013, 1016, 1, 0, 0, 0, 1014, 1012, 1, 0, 0, 0, 1014, 1015, 1, 0, 0, 0, 1015, 1018, 1, 0, 0, 0, 1016, 1014, 1, 0, 0, 0, 1017, 1009, 1, 0, 0, 0, 1017, 1018, 1, 0, 0, 0, 1018, 1019, 1, 0, 0, 0, 1019, 1020, 5, 114, 0, 0, 1020, 129, 1, 0, 0, 0, 1021, 1022, 3, 136, 68, 0, 1022, 1023, 5, 109, 0, 0, 1023, 1024, 3, 126, 63, 0, 1024, 131, 1, 0, 0, 0, 1025, 1034, 5, 115, 0, 0, 1026, 1031, 3, 126, 63, 0, 1027, 1028, 5, 111, 0, 0, 1028, 1030, 3, 126, 63, 0, 1029, 1027, 1, 0, 0, 0, 1030, 1033, 1, 0, 0, 0, 1031, 1029, 1, 0, 0, 0, 1031, 1032, 1, 0, 0, 0, 1032, 1035, 1, 0, 0, 0, 1033, 1031, 1, 0, 0, 0, 1034, 1026, 1, 0, 0, 0, 1034, 1035, 1, 0, 0, 0, 1035, 1036, 1, 0, 0, 0, 1036, 1037, 5, 116, 0, 0, 1037, 133, 1, 0, 0, 0, 1038, 1039, 7, 6, 0, 0, 1039, 135, 1, 0, 0, 0, 1040, 1041, 5, 126, 0, 0, 1041, 137, 1, 0, 0, 0, 88, 150, 157, 178, 190, 202, 222, 230, 237, 243, 255, 258, 264, 275, 284, 294, 297, 299, 303, 311, 323, 328, 337, 340, 358, 370, 394, 397, 407, 413, 420, 446, 453, 457, 462, 473, 479, 488, 504, 539, 544, 555, 560, 567, 576, 589, 610, 613, 616, 623, 631, 662, 674, 678, 686, 698, 712, 722, 740, 744, 747, 751, 754, 763, 767, 771, 777, 787, 816, 835, 854, 857, 859, 870, 885, 901, 910, 918, 928, 937, 955, 979, 985, 987, 1006, 1014, 1017, 1031, 1034] \ No newline at end of file +[4, 1, 130, 1091, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 153, 8, 0, 1, 1, 1, 1, 1, 1, 5, 1, 158, 8, 1, 10, 1, 12, 1, 161, 9, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 179, 8, 3, 10, 3, 12, 3, 182, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 193, 8, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 3, 5, 205, 8, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 225, 8, 8, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 3, 9, 233, 8, 9, 1, 9, 1, 9, 1, 10, 5, 10, 238, 8, 10, 10, 10, 12, 10, 241, 9, 10, 1, 10, 1, 10, 1, 10, 3, 10, 246, 8, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 5, 10, 256, 8, 10, 10, 10, 12, 10, 259, 9, 10, 3, 10, 261, 8, 10, 1, 10, 1, 10, 5, 10, 265, 8, 10, 10, 10, 12, 10, 268, 9, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 5, 11, 276, 8, 11, 10, 11, 12, 11, 279, 9, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 3, 12, 287, 8, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 5, 12, 295, 8, 12, 10, 12, 12, 12, 298, 9, 12, 3, 12, 300, 8, 12, 3, 12, 302, 8, 12, 1, 13, 1, 13, 3, 13, 306, 8, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 312, 8, 14, 10, 14, 12, 14, 315, 9, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 3, 15, 326, 8, 15, 1, 16, 1, 16, 1, 16, 3, 16, 331, 8, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 3, 17, 340, 8, 17, 1, 18, 3, 18, 343, 8, 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, 18, 1, 19, 3, 19, 361, 8, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19, 371, 8, 19, 10, 19, 12, 19, 374, 9, 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, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 397, 8, 20, 1, 21, 3, 21, 400, 8, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 3, 21, 410, 8, 21, 1, 21, 1, 21, 3, 21, 414, 8, 21, 1, 21, 1, 21, 5, 21, 418, 8, 21, 10, 21, 12, 21, 421, 9, 21, 1, 21, 1, 21, 1, 22, 1, 22, 3, 22, 427, 8, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 3, 23, 453, 8, 23, 1, 24, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 460, 8, 24, 1, 24, 1, 24, 3, 24, 464, 8, 24, 1, 25, 5, 25, 467, 8, 25, 10, 25, 12, 25, 470, 9, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 3, 25, 480, 8, 25, 1, 25, 1, 25, 5, 25, 484, 8, 25, 10, 25, 12, 25, 487, 9, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 3, 26, 496, 8, 26, 1, 27, 1, 27, 1, 27, 3, 27, 501, 8, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 5, 27, 513, 8, 27, 10, 27, 12, 27, 516, 9, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 535, 8, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 3, 29, 562, 8, 29, 1, 30, 1, 30, 1, 30, 3, 30, 567, 8, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 3, 30, 578, 8, 30, 1, 30, 1, 30, 1, 30, 3, 30, 583, 8, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 3, 31, 590, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 599, 8, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 3, 32, 612, 8, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 5, 35, 631, 8, 35, 10, 35, 12, 35, 634, 9, 35, 3, 35, 636, 8, 35, 1, 35, 3, 35, 639, 8, 35, 1, 36, 1, 36, 1, 36, 5, 36, 644, 8, 36, 10, 36, 12, 36, 647, 9, 36, 1, 37, 1, 37, 1, 37, 5, 37, 652, 8, 37, 10, 37, 12, 37, 655, 9, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 685, 8, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 697, 8, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 3, 38, 711, 8, 38, 1, 39, 1, 39, 1, 39, 1, 39, 5, 39, 717, 8, 39, 10, 39, 12, 39, 720, 9, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 3, 42, 731, 8, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 3, 43, 745, 8, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 3, 44, 755, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 773, 8, 46, 1, 46, 1, 46, 3, 46, 777, 8, 46, 1, 46, 3, 46, 780, 8, 46, 1, 46, 1, 46, 3, 46, 784, 8, 46, 1, 46, 3, 46, 787, 8, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 3, 47, 796, 8, 47, 1, 47, 1, 47, 3, 47, 800, 8, 47, 1, 47, 1, 47, 3, 47, 804, 8, 47, 1, 47, 1, 47, 5, 47, 808, 8, 47, 10, 47, 12, 47, 811, 9, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 3, 48, 820, 8, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 3, 51, 849, 8, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 1, 53, 3, 53, 868, 8, 53, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 3, 54, 887, 8, 54, 1, 54, 3, 54, 890, 8, 54, 3, 54, 892, 8, 54, 1, 55, 1, 55, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 5, 57, 901, 8, 57, 10, 57, 12, 57, 904, 9, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 918, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 934, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 943, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 951, 8, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 3, 58, 973, 8, 58, 1, 58, 1, 58, 3, 58, 977, 8, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 3, 59, 986, 8, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1004, 8, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 5, 60, 1026, 8, 60, 10, 60, 12, 60, 1029, 9, 60, 1, 60, 1, 60, 1, 60, 3, 60, 1034, 8, 60, 3, 60, 1036, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 3, 64, 1055, 8, 64, 1, 65, 1, 65, 1, 65, 1, 65, 5, 65, 1061, 8, 65, 10, 65, 12, 65, 1064, 9, 65, 3, 65, 1066, 8, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 5, 67, 1078, 8, 67, 10, 67, 12, 67, 1081, 9, 67, 3, 67, 1083, 8, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 0, 0, 70, 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, 0, 7, 1, 0, 78, 82, 2, 0, 73, 77, 79, 80, 2, 0, 73, 74, 79, 80, 2, 0, 75, 77, 79, 80, 1, 0, 98, 105, 1, 0, 85, 88, 3, 0, 2, 12, 52, 52, 126, 126, 1170, 0, 152, 1, 0, 0, 0, 2, 154, 1, 0, 0, 0, 4, 164, 1, 0, 0, 0, 6, 168, 1, 0, 0, 0, 8, 192, 1, 0, 0, 0, 10, 204, 1, 0, 0, 0, 12, 206, 1, 0, 0, 0, 14, 213, 1, 0, 0, 0, 16, 224, 1, 0, 0, 0, 18, 226, 1, 0, 0, 0, 20, 239, 1, 0, 0, 0, 22, 271, 1, 0, 0, 0, 24, 301, 1, 0, 0, 0, 26, 303, 1, 0, 0, 0, 28, 307, 1, 0, 0, 0, 30, 325, 1, 0, 0, 0, 32, 327, 1, 0, 0, 0, 34, 339, 1, 0, 0, 0, 36, 342, 1, 0, 0, 0, 38, 360, 1, 0, 0, 0, 40, 396, 1, 0, 0, 0, 42, 399, 1, 0, 0, 0, 44, 424, 1, 0, 0, 0, 46, 452, 1, 0, 0, 0, 48, 463, 1, 0, 0, 0, 50, 468, 1, 0, 0, 0, 52, 495, 1, 0, 0, 0, 54, 497, 1, 0, 0, 0, 56, 519, 1, 0, 0, 0, 58, 561, 1, 0, 0, 0, 60, 563, 1, 0, 0, 0, 62, 586, 1, 0, 0, 0, 64, 602, 1, 0, 0, 0, 66, 615, 1, 0, 0, 0, 68, 618, 1, 0, 0, 0, 70, 638, 1, 0, 0, 0, 72, 640, 1, 0, 0, 0, 74, 648, 1, 0, 0, 0, 76, 710, 1, 0, 0, 0, 78, 712, 1, 0, 0, 0, 80, 723, 1, 0, 0, 0, 82, 725, 1, 0, 0, 0, 84, 730, 1, 0, 0, 0, 86, 732, 1, 0, 0, 0, 88, 754, 1, 0, 0, 0, 90, 756, 1, 0, 0, 0, 92, 765, 1, 0, 0, 0, 94, 790, 1, 0, 0, 0, 96, 819, 1, 0, 0, 0, 98, 821, 1, 0, 0, 0, 100, 828, 1, 0, 0, 0, 102, 842, 1, 0, 0, 0, 104, 852, 1, 0, 0, 0, 106, 867, 1, 0, 0, 0, 108, 891, 1, 0, 0, 0, 110, 893, 1, 0, 0, 0, 112, 895, 1, 0, 0, 0, 114, 897, 1, 0, 0, 0, 116, 976, 1, 0, 0, 0, 118, 978, 1, 0, 0, 0, 120, 1035, 1, 0, 0, 0, 122, 1037, 1, 0, 0, 0, 124, 1042, 1, 0, 0, 0, 126, 1044, 1, 0, 0, 0, 128, 1054, 1, 0, 0, 0, 130, 1056, 1, 0, 0, 0, 132, 1069, 1, 0, 0, 0, 134, 1073, 1, 0, 0, 0, 136, 1086, 1, 0, 0, 0, 138, 1088, 1, 0, 0, 0, 140, 141, 3, 6, 3, 0, 141, 142, 5, 0, 0, 1, 142, 153, 1, 0, 0, 0, 143, 144, 3, 20, 10, 0, 144, 145, 5, 0, 0, 1, 145, 153, 1, 0, 0, 0, 146, 147, 3, 50, 25, 0, 147, 148, 5, 0, 0, 1, 148, 153, 1, 0, 0, 0, 149, 150, 3, 2, 1, 0, 150, 151, 5, 0, 0, 1, 151, 153, 1, 0, 0, 0, 152, 140, 1, 0, 0, 0, 152, 143, 1, 0, 0, 0, 152, 146, 1, 0, 0, 0, 152, 149, 1, 0, 0, 0, 153, 1, 1, 0, 0, 0, 154, 155, 5, 19, 0, 0, 155, 159, 5, 114, 0, 0, 156, 158, 3, 8, 4, 0, 157, 156, 1, 0, 0, 0, 158, 161, 1, 0, 0, 0, 159, 157, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 1, 0, 0, 0, 161, 159, 1, 0, 0, 0, 162, 163, 5, 115, 0, 0, 163, 3, 1, 0, 0, 0, 164, 165, 5, 20, 0, 0, 165, 166, 3, 138, 69, 0, 166, 167, 5, 111, 0, 0, 167, 5, 1, 0, 0, 0, 168, 169, 5, 1, 0, 0, 169, 170, 3, 136, 68, 0, 170, 171, 5, 61, 0, 0, 171, 172, 3, 138, 69, 0, 172, 173, 5, 55, 0, 0, 173, 174, 3, 138, 69, 0, 174, 175, 5, 54, 0, 0, 175, 176, 3, 138, 69, 0, 176, 180, 5, 114, 0, 0, 177, 179, 3, 8, 4, 0, 178, 177, 1, 0, 0, 0, 179, 182, 1, 0, 0, 0, 180, 178, 1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 183, 1, 0, 0, 0, 182, 180, 1, 0, 0, 0, 183, 184, 5, 115, 0, 0, 184, 7, 1, 0, 0, 0, 185, 193, 3, 4, 2, 0, 186, 193, 3, 18, 9, 0, 187, 193, 3, 10, 5, 0, 188, 193, 3, 82, 41, 0, 189, 193, 3, 94, 47, 0, 190, 193, 3, 118, 59, 0, 191, 193, 3, 32, 16, 0, 192, 185, 1, 0, 0, 0, 192, 186, 1, 0, 0, 0, 192, 187, 1, 0, 0, 0, 192, 188, 1, 0, 0, 0, 192, 189, 1, 0, 0, 0, 192, 190, 1, 0, 0, 0, 192, 191, 1, 0, 0, 0, 193, 9, 1, 0, 0, 0, 194, 195, 5, 20, 0, 0, 195, 196, 5, 23, 0, 0, 196, 197, 3, 136, 68, 0, 197, 198, 5, 111, 0, 0, 198, 205, 1, 0, 0, 0, 199, 200, 5, 20, 0, 0, 200, 201, 5, 25, 0, 0, 201, 202, 3, 136, 68, 0, 202, 203, 5, 111, 0, 0, 203, 205, 1, 0, 0, 0, 204, 194, 1, 0, 0, 0, 204, 199, 1, 0, 0, 0, 205, 11, 1, 0, 0, 0, 206, 207, 5, 21, 0, 0, 207, 208, 5, 22, 0, 0, 208, 209, 3, 136, 68, 0, 209, 210, 5, 61, 0, 0, 210, 211, 3, 138, 69, 0, 211, 212, 5, 111, 0, 0, 212, 13, 1, 0, 0, 0, 213, 214, 5, 21, 0, 0, 214, 215, 5, 23, 0, 0, 215, 216, 3, 136, 68, 0, 216, 217, 5, 55, 0, 0, 217, 218, 3, 138, 69, 0, 218, 219, 5, 111, 0, 0, 219, 15, 1, 0, 0, 0, 220, 225, 3, 10, 5, 0, 221, 225, 3, 12, 6, 0, 222, 225, 3, 14, 7, 0, 223, 225, 3, 32, 16, 0, 224, 220, 1, 0, 0, 0, 224, 221, 1, 0, 0, 0, 224, 222, 1, 0, 0, 0, 224, 223, 1, 0, 0, 0, 225, 17, 1, 0, 0, 0, 226, 227, 5, 22, 0, 0, 227, 228, 3, 136, 68, 0, 228, 229, 5, 61, 0, 0, 229, 232, 3, 138, 69, 0, 230, 231, 5, 62, 0, 0, 231, 233, 3, 138, 69, 0, 232, 230, 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 234, 1, 0, 0, 0, 234, 235, 5, 111, 0, 0, 235, 19, 1, 0, 0, 0, 236, 238, 3, 16, 8, 0, 237, 236, 1, 0, 0, 0, 238, 241, 1, 0, 0, 0, 239, 237, 1, 0, 0, 0, 239, 240, 1, 0, 0, 0, 240, 242, 1, 0, 0, 0, 241, 239, 1, 0, 0, 0, 242, 243, 5, 23, 0, 0, 243, 245, 3, 136, 68, 0, 244, 246, 3, 22, 11, 0, 245, 244, 1, 0, 0, 0, 245, 246, 1, 0, 0, 0, 246, 247, 1, 0, 0, 0, 247, 248, 5, 61, 0, 0, 248, 249, 3, 138, 69, 0, 249, 250, 5, 55, 0, 0, 250, 260, 3, 138, 69, 0, 251, 252, 5, 66, 0, 0, 252, 257, 3, 26, 13, 0, 253, 254, 5, 112, 0, 0, 254, 256, 3, 26, 13, 0, 255, 253, 1, 0, 0, 0, 256, 259, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0, 0, 0, 258, 261, 1, 0, 0, 0, 259, 257, 1, 0, 0, 0, 260, 251, 1, 0, 0, 0, 260, 261, 1, 0, 0, 0, 261, 262, 1, 0, 0, 0, 262, 266, 5, 114, 0, 0, 263, 265, 3, 34, 17, 0, 264, 263, 1, 0, 0, 0, 265, 268, 1, 0, 0, 0, 266, 264, 1, 0, 0, 0, 266, 267, 1, 0, 0, 0, 267, 269, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 269, 270, 5, 115, 0, 0, 270, 21, 1, 0, 0, 0, 271, 272, 5, 120, 0, 0, 272, 277, 3, 24, 12, 0, 273, 274, 5, 112, 0, 0, 274, 276, 3, 24, 12, 0, 275, 273, 1, 0, 0, 0, 276, 279, 1, 0, 0, 0, 277, 275, 1, 0, 0, 0, 277, 278, 1, 0, 0, 0, 278, 280, 1, 0, 0, 0, 279, 277, 1, 0, 0, 0, 280, 281, 5, 121, 0, 0, 281, 23, 1, 0, 0, 0, 282, 283, 5, 26, 0, 0, 283, 286, 3, 136, 68, 0, 284, 285, 5, 110, 0, 0, 285, 287, 5, 16, 0, 0, 286, 284, 1, 0, 0, 0, 286, 287, 1, 0, 0, 0, 287, 302, 1, 0, 0, 0, 288, 289, 5, 15, 0, 0, 289, 299, 3, 136, 68, 0, 290, 291, 5, 17, 0, 0, 291, 296, 3, 26, 13, 0, 292, 293, 5, 122, 0, 0, 293, 295, 3, 26, 13, 0, 294, 292, 1, 0, 0, 0, 295, 298, 1, 0, 0, 0, 296, 294, 1, 0, 0, 0, 296, 297, 1, 0, 0, 0, 297, 300, 1, 0, 0, 0, 298, 296, 1, 0, 0, 0, 299, 290, 1, 0, 0, 0, 299, 300, 1, 0, 0, 0, 300, 302, 1, 0, 0, 0, 301, 282, 1, 0, 0, 0, 301, 288, 1, 0, 0, 0, 302, 25, 1, 0, 0, 0, 303, 305, 3, 136, 68, 0, 304, 306, 3, 28, 14, 0, 305, 304, 1, 0, 0, 0, 305, 306, 1, 0, 0, 0, 306, 27, 1, 0, 0, 0, 307, 308, 5, 120, 0, 0, 308, 313, 3, 30, 15, 0, 309, 310, 5, 112, 0, 0, 310, 312, 3, 30, 15, 0, 311, 309, 1, 0, 0, 0, 312, 315, 1, 0, 0, 0, 313, 311, 1, 0, 0, 0, 313, 314, 1, 0, 0, 0, 314, 316, 1, 0, 0, 0, 315, 313, 1, 0, 0, 0, 316, 317, 5, 121, 0, 0, 317, 29, 1, 0, 0, 0, 318, 319, 5, 22, 0, 0, 319, 326, 3, 136, 68, 0, 320, 321, 5, 23, 0, 0, 321, 326, 3, 26, 13, 0, 322, 323, 5, 15, 0, 0, 323, 326, 3, 136, 68, 0, 324, 326, 3, 120, 60, 0, 325, 318, 1, 0, 0, 0, 325, 320, 1, 0, 0, 0, 325, 322, 1, 0, 0, 0, 325, 324, 1, 0, 0, 0, 326, 31, 1, 0, 0, 0, 327, 328, 5, 14, 0, 0, 328, 330, 3, 136, 68, 0, 329, 331, 3, 22, 11, 0, 330, 329, 1, 0, 0, 0, 330, 331, 1, 0, 0, 0, 331, 332, 1, 0, 0, 0, 332, 333, 5, 123, 0, 0, 333, 334, 3, 120, 60, 0, 334, 335, 5, 111, 0, 0, 335, 33, 1, 0, 0, 0, 336, 340, 3, 38, 19, 0, 337, 340, 3, 42, 21, 0, 338, 340, 3, 36, 18, 0, 339, 336, 1, 0, 0, 0, 339, 337, 1, 0, 0, 0, 339, 338, 1, 0, 0, 0, 340, 35, 1, 0, 0, 0, 341, 343, 5, 36, 0, 0, 342, 341, 1, 0, 0, 0, 342, 343, 1, 0, 0, 0, 343, 344, 1, 0, 0, 0, 344, 345, 5, 28, 0, 0, 345, 346, 3, 136, 68, 0, 346, 347, 5, 61, 0, 0, 347, 348, 3, 138, 69, 0, 348, 349, 5, 110, 0, 0, 349, 350, 3, 120, 60, 0, 350, 351, 5, 109, 0, 0, 351, 352, 3, 120, 60, 0, 352, 353, 5, 114, 0, 0, 353, 354, 5, 78, 0, 0, 354, 355, 5, 61, 0, 0, 355, 356, 3, 138, 69, 0, 356, 357, 5, 111, 0, 0, 357, 358, 5, 115, 0, 0, 358, 37, 1, 0, 0, 0, 359, 361, 3, 44, 22, 0, 360, 359, 1, 0, 0, 0, 360, 361, 1, 0, 0, 0, 361, 362, 1, 0, 0, 0, 362, 363, 5, 26, 0, 0, 363, 364, 3, 136, 68, 0, 364, 365, 5, 61, 0, 0, 365, 366, 3, 138, 69, 0, 366, 367, 5, 110, 0, 0, 367, 368, 3, 120, 60, 0, 368, 372, 5, 114, 0, 0, 369, 371, 3, 40, 20, 0, 370, 369, 1, 0, 0, 0, 371, 374, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 375, 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 375, 376, 5, 115, 0, 0, 376, 39, 1, 0, 0, 0, 377, 378, 5, 68, 0, 0, 378, 379, 5, 61, 0, 0, 379, 380, 3, 138, 69, 0, 380, 381, 5, 111, 0, 0, 381, 397, 1, 0, 0, 0, 382, 383, 5, 69, 0, 0, 383, 384, 5, 61, 0, 0, 384, 385, 3, 138, 69, 0, 385, 386, 5, 111, 0, 0, 386, 397, 1, 0, 0, 0, 387, 388, 5, 70, 0, 0, 388, 389, 5, 71, 0, 0, 389, 390, 5, 61, 0, 0, 390, 391, 3, 138, 69, 0, 391, 392, 5, 72, 0, 0, 392, 393, 5, 61, 0, 0, 393, 394, 3, 138, 69, 0, 394, 395, 5, 111, 0, 0, 395, 397, 1, 0, 0, 0, 396, 377, 1, 0, 0, 0, 396, 382, 1, 0, 0, 0, 396, 387, 1, 0, 0, 0, 397, 41, 1, 0, 0, 0, 398, 400, 3, 44, 22, 0, 399, 398, 1, 0, 0, 0, 399, 400, 1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 402, 5, 27, 0, 0, 402, 403, 3, 136, 68, 0, 403, 404, 5, 61, 0, 0, 404, 405, 3, 138, 69, 0, 405, 406, 5, 110, 0, 0, 406, 407, 3, 126, 63, 0, 407, 409, 3, 48, 24, 0, 408, 410, 5, 89, 0, 0, 409, 408, 1, 0, 0, 0, 409, 410, 1, 0, 0, 0, 410, 413, 1, 0, 0, 0, 411, 412, 5, 59, 0, 0, 412, 414, 3, 138, 69, 0, 413, 411, 1, 0, 0, 0, 413, 414, 1, 0, 0, 0, 414, 415, 1, 0, 0, 0, 415, 419, 5, 114, 0, 0, 416, 418, 3, 46, 23, 0, 417, 416, 1, 0, 0, 0, 418, 421, 1, 0, 0, 0, 419, 417, 1, 0, 0, 0, 419, 420, 1, 0, 0, 0, 420, 422, 1, 0, 0, 0, 421, 419, 1, 0, 0, 0, 422, 423, 5, 115, 0, 0, 423, 43, 1, 0, 0, 0, 424, 426, 5, 11, 0, 0, 425, 427, 5, 12, 0, 0, 426, 425, 1, 0, 0, 0, 426, 427, 1, 0, 0, 0, 427, 45, 1, 0, 0, 0, 428, 429, 5, 75, 0, 0, 429, 430, 5, 61, 0, 0, 430, 431, 3, 138, 69, 0, 431, 432, 5, 111, 0, 0, 432, 453, 1, 0, 0, 0, 433, 434, 5, 76, 0, 0, 434, 435, 5, 61, 0, 0, 435, 436, 3, 138, 69, 0, 436, 437, 5, 111, 0, 0, 437, 453, 1, 0, 0, 0, 438, 439, 5, 77, 0, 0, 439, 440, 5, 61, 0, 0, 440, 441, 3, 138, 69, 0, 441, 442, 5, 111, 0, 0, 442, 453, 1, 0, 0, 0, 443, 444, 5, 70, 0, 0, 444, 445, 5, 71, 0, 0, 445, 446, 5, 61, 0, 0, 446, 447, 3, 138, 69, 0, 447, 448, 5, 72, 0, 0, 448, 449, 5, 61, 0, 0, 449, 450, 3, 138, 69, 0, 450, 451, 5, 111, 0, 0, 451, 453, 1, 0, 0, 0, 452, 428, 1, 0, 0, 0, 452, 433, 1, 0, 0, 0, 452, 438, 1, 0, 0, 0, 452, 443, 1, 0, 0, 0, 453, 47, 1, 0, 0, 0, 454, 455, 5, 22, 0, 0, 455, 464, 3, 136, 68, 0, 456, 457, 5, 23, 0, 0, 457, 459, 3, 136, 68, 0, 458, 460, 3, 28, 14, 0, 459, 458, 1, 0, 0, 0, 459, 460, 1, 0, 0, 0, 460, 464, 1, 0, 0, 0, 461, 462, 5, 15, 0, 0, 462, 464, 3, 136, 68, 0, 463, 454, 1, 0, 0, 0, 463, 456, 1, 0, 0, 0, 463, 461, 1, 0, 0, 0, 464, 49, 1, 0, 0, 0, 465, 467, 3, 16, 8, 0, 466, 465, 1, 0, 0, 0, 467, 470, 1, 0, 0, 0, 468, 466, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 471, 1, 0, 0, 0, 470, 468, 1, 0, 0, 0, 471, 472, 5, 25, 0, 0, 472, 473, 3, 136, 68, 0, 473, 474, 5, 61, 0, 0, 474, 475, 3, 138, 69, 0, 475, 476, 5, 55, 0, 0, 476, 479, 3, 138, 69, 0, 477, 478, 5, 56, 0, 0, 478, 480, 5, 124, 0, 0, 479, 477, 1, 0, 0, 0, 479, 480, 1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 485, 5, 114, 0, 0, 482, 484, 3, 52, 26, 0, 483, 482, 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, 115, 0, 0, 489, 51, 1, 0, 0, 0, 490, 496, 3, 60, 30, 0, 491, 496, 3, 62, 31, 0, 492, 496, 3, 64, 32, 0, 493, 496, 3, 54, 27, 0, 494, 496, 3, 56, 28, 0, 495, 490, 1, 0, 0, 0, 495, 491, 1, 0, 0, 0, 495, 492, 1, 0, 0, 0, 495, 493, 1, 0, 0, 0, 495, 494, 1, 0, 0, 0, 496, 53, 1, 0, 0, 0, 497, 498, 5, 2, 0, 0, 498, 500, 3, 136, 68, 0, 499, 501, 3, 22, 11, 0, 500, 499, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, 502, 1, 0, 0, 0, 502, 503, 5, 61, 0, 0, 503, 504, 3, 138, 69, 0, 504, 505, 5, 4, 0, 0, 505, 506, 3, 26, 13, 0, 506, 507, 5, 5, 0, 0, 507, 508, 3, 138, 69, 0, 508, 509, 5, 28, 0, 0, 509, 510, 3, 138, 69, 0, 510, 514, 5, 114, 0, 0, 511, 513, 3, 58, 29, 0, 512, 511, 1, 0, 0, 0, 513, 516, 1, 0, 0, 0, 514, 512, 1, 0, 0, 0, 514, 515, 1, 0, 0, 0, 515, 517, 1, 0, 0, 0, 516, 514, 1, 0, 0, 0, 517, 518, 5, 115, 0, 0, 518, 55, 1, 0, 0, 0, 519, 520, 5, 2, 0, 0, 520, 521, 3, 136, 68, 0, 521, 522, 5, 61, 0, 0, 522, 523, 3, 138, 69, 0, 523, 524, 5, 3, 0, 0, 524, 525, 3, 136, 68, 0, 525, 526, 3, 28, 14, 0, 526, 527, 5, 111, 0, 0, 527, 57, 1, 0, 0, 0, 528, 529, 5, 6, 0, 0, 529, 530, 3, 138, 69, 0, 530, 531, 5, 111, 0, 0, 531, 562, 1, 0, 0, 0, 532, 534, 5, 7, 0, 0, 533, 535, 5, 15, 0, 0, 534, 533, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 536, 1, 0, 0, 0, 536, 537, 3, 136, 68, 0, 537, 538, 5, 34, 0, 0, 538, 539, 3, 26, 13, 0, 539, 540, 5, 111, 0, 0, 540, 562, 1, 0, 0, 0, 541, 542, 5, 8, 0, 0, 542, 543, 3, 136, 68, 0, 543, 544, 5, 124, 0, 0, 544, 545, 5, 111, 0, 0, 545, 562, 1, 0, 0, 0, 546, 547, 5, 9, 0, 0, 547, 548, 3, 26, 13, 0, 548, 549, 5, 113, 0, 0, 549, 550, 3, 136, 68, 0, 550, 551, 3, 136, 68, 0, 551, 552, 3, 138, 69, 0, 552, 553, 5, 111, 0, 0, 553, 562, 1, 0, 0, 0, 554, 555, 5, 70, 0, 0, 555, 562, 5, 111, 0, 0, 556, 557, 5, 10, 0, 0, 557, 558, 5, 124, 0, 0, 558, 559, 3, 138, 69, 0, 559, 560, 5, 111, 0, 0, 560, 562, 1, 0, 0, 0, 561, 528, 1, 0, 0, 0, 561, 532, 1, 0, 0, 0, 561, 541, 1, 0, 0, 0, 561, 546, 1, 0, 0, 0, 561, 554, 1, 0, 0, 0, 561, 556, 1, 0, 0, 0, 562, 59, 1, 0, 0, 0, 563, 564, 5, 28, 0, 0, 564, 566, 3, 136, 68, 0, 565, 567, 3, 22, 11, 0, 566, 565, 1, 0, 0, 0, 566, 567, 1, 0, 0, 0, 567, 568, 1, 0, 0, 0, 568, 569, 5, 61, 0, 0, 569, 570, 3, 138, 69, 0, 570, 571, 5, 110, 0, 0, 571, 572, 3, 120, 60, 0, 572, 573, 5, 109, 0, 0, 573, 574, 3, 120, 60, 0, 574, 575, 5, 63, 0, 0, 575, 577, 3, 68, 34, 0, 576, 578, 3, 66, 33, 0, 577, 576, 1, 0, 0, 0, 577, 578, 1, 0, 0, 0, 578, 579, 1, 0, 0, 0, 579, 580, 5, 65, 0, 0, 580, 582, 3, 70, 35, 0, 581, 583, 3, 74, 37, 0, 582, 581, 1, 0, 0, 0, 582, 583, 1, 0, 0, 0, 583, 584, 1, 0, 0, 0, 584, 585, 5, 111, 0, 0, 585, 61, 1, 0, 0, 0, 586, 587, 5, 29, 0, 0, 587, 589, 3, 136, 68, 0, 588, 590, 3, 22, 11, 0, 589, 588, 1, 0, 0, 0, 589, 590, 1, 0, 0, 0, 590, 591, 1, 0, 0, 0, 591, 592, 5, 61, 0, 0, 592, 593, 3, 138, 69, 0, 593, 594, 5, 110, 0, 0, 594, 595, 3, 120, 60, 0, 595, 596, 5, 109, 0, 0, 596, 598, 3, 120, 60, 0, 597, 599, 3, 74, 37, 0, 598, 597, 1, 0, 0, 0, 598, 599, 1, 0, 0, 0, 599, 600, 1, 0, 0, 0, 600, 601, 5, 111, 0, 0, 601, 63, 1, 0, 0, 0, 602, 603, 5, 30, 0, 0, 603, 604, 3, 136, 68, 0, 604, 605, 5, 61, 0, 0, 605, 606, 3, 138, 69, 0, 606, 607, 5, 31, 0, 0, 607, 608, 3, 136, 68, 0, 608, 609, 5, 110, 0, 0, 609, 611, 3, 120, 60, 0, 610, 612, 3, 74, 37, 0, 611, 610, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 613, 1, 0, 0, 0, 613, 614, 5, 111, 0, 0, 614, 65, 1, 0, 0, 0, 615, 616, 5, 64, 0, 0, 616, 617, 3, 120, 60, 0, 617, 67, 1, 0, 0, 0, 618, 619, 7, 0, 0, 0, 619, 69, 1, 0, 0, 0, 620, 639, 5, 67, 0, 0, 621, 622, 5, 22, 0, 0, 622, 639, 3, 136, 68, 0, 623, 624, 5, 15, 0, 0, 624, 639, 3, 136, 68, 0, 625, 626, 5, 24, 0, 0, 626, 635, 5, 116, 0, 0, 627, 632, 3, 26, 13, 0, 628, 629, 5, 112, 0, 0, 629, 631, 3, 26, 13, 0, 630, 628, 1, 0, 0, 0, 631, 634, 1, 0, 0, 0, 632, 630, 1, 0, 0, 0, 632, 633, 1, 0, 0, 0, 633, 636, 1, 0, 0, 0, 634, 632, 1, 0, 0, 0, 635, 627, 1, 0, 0, 0, 635, 636, 1, 0, 0, 0, 636, 637, 1, 0, 0, 0, 637, 639, 5, 117, 0, 0, 638, 620, 1, 0, 0, 0, 638, 621, 1, 0, 0, 0, 638, 623, 1, 0, 0, 0, 638, 625, 1, 0, 0, 0, 639, 71, 1, 0, 0, 0, 640, 645, 3, 136, 68, 0, 641, 642, 5, 112, 0, 0, 642, 644, 3, 136, 68, 0, 643, 641, 1, 0, 0, 0, 644, 647, 1, 0, 0, 0, 645, 643, 1, 0, 0, 0, 645, 646, 1, 0, 0, 0, 646, 73, 1, 0, 0, 0, 647, 645, 1, 0, 0, 0, 648, 649, 5, 66, 0, 0, 649, 653, 5, 114, 0, 0, 650, 652, 3, 76, 38, 0, 651, 650, 1, 0, 0, 0, 652, 655, 1, 0, 0, 0, 653, 651, 1, 0, 0, 0, 653, 654, 1, 0, 0, 0, 654, 656, 1, 0, 0, 0, 655, 653, 1, 0, 0, 0, 656, 657, 5, 115, 0, 0, 657, 75, 1, 0, 0, 0, 658, 659, 5, 40, 0, 0, 659, 660, 3, 136, 68, 0, 660, 661, 5, 61, 0, 0, 661, 662, 3, 138, 69, 0, 662, 663, 5, 110, 0, 0, 663, 664, 3, 120, 60, 0, 664, 665, 3, 78, 39, 0, 665, 666, 5, 111, 0, 0, 666, 711, 1, 0, 0, 0, 667, 668, 5, 41, 0, 0, 668, 669, 3, 136, 68, 0, 669, 670, 5, 61, 0, 0, 670, 671, 3, 138, 69, 0, 671, 672, 5, 110, 0, 0, 672, 673, 3, 126, 63, 0, 673, 674, 3, 48, 24, 0, 674, 675, 3, 78, 39, 0, 675, 676, 5, 111, 0, 0, 676, 711, 1, 0, 0, 0, 677, 678, 5, 23, 0, 0, 678, 679, 3, 136, 68, 0, 679, 680, 5, 61, 0, 0, 680, 681, 3, 138, 69, 0, 681, 682, 5, 110, 0, 0, 682, 684, 3, 136, 68, 0, 683, 685, 3, 28, 14, 0, 684, 683, 1, 0, 0, 0, 684, 685, 1, 0, 0, 0, 685, 686, 1, 0, 0, 0, 686, 687, 5, 111, 0, 0, 687, 711, 1, 0, 0, 0, 688, 689, 5, 30, 0, 0, 689, 690, 3, 136, 68, 0, 690, 691, 5, 61, 0, 0, 691, 692, 3, 138, 69, 0, 692, 693, 5, 110, 0, 0, 693, 696, 3, 136, 68, 0, 694, 695, 5, 32, 0, 0, 695, 697, 3, 120, 60, 0, 696, 694, 1, 0, 0, 0, 696, 697, 1, 0, 0, 0, 697, 698, 1, 0, 0, 0, 698, 699, 5, 111, 0, 0, 699, 711, 1, 0, 0, 0, 700, 701, 5, 2, 0, 0, 701, 702, 3, 136, 68, 0, 702, 703, 5, 61, 0, 0, 703, 704, 3, 138, 69, 0, 704, 705, 5, 110, 0, 0, 705, 706, 3, 136, 68, 0, 706, 707, 5, 113, 0, 0, 707, 708, 3, 136, 68, 0, 708, 709, 5, 111, 0, 0, 709, 711, 1, 0, 0, 0, 710, 658, 1, 0, 0, 0, 710, 667, 1, 0, 0, 0, 710, 677, 1, 0, 0, 0, 710, 688, 1, 0, 0, 0, 710, 700, 1, 0, 0, 0, 711, 77, 1, 0, 0, 0, 712, 713, 5, 116, 0, 0, 713, 718, 3, 80, 40, 0, 714, 715, 5, 112, 0, 0, 715, 717, 3, 80, 40, 0, 716, 714, 1, 0, 0, 0, 717, 720, 1, 0, 0, 0, 718, 716, 1, 0, 0, 0, 718, 719, 1, 0, 0, 0, 719, 721, 1, 0, 0, 0, 720, 718, 1, 0, 0, 0, 721, 722, 5, 117, 0, 0, 722, 79, 1, 0, 0, 0, 723, 724, 7, 1, 0, 0, 724, 81, 1, 0, 0, 0, 725, 726, 5, 39, 0, 0, 726, 727, 3, 84, 42, 0, 727, 83, 1, 0, 0, 0, 728, 731, 3, 86, 43, 0, 729, 731, 3, 90, 45, 0, 730, 728, 1, 0, 0, 0, 730, 729, 1, 0, 0, 0, 731, 85, 1, 0, 0, 0, 732, 733, 5, 40, 0, 0, 733, 734, 3, 136, 68, 0, 734, 735, 5, 61, 0, 0, 735, 736, 3, 138, 69, 0, 736, 737, 5, 49, 0, 0, 737, 738, 3, 136, 68, 0, 738, 739, 5, 110, 0, 0, 739, 740, 3, 120, 60, 0, 740, 741, 5, 50, 0, 0, 741, 744, 3, 88, 44, 0, 742, 743, 5, 51, 0, 0, 743, 745, 3, 128, 64, 0, 744, 742, 1, 0, 0, 0, 744, 745, 1, 0, 0, 0, 745, 746, 1, 0, 0, 0, 746, 747, 5, 111, 0, 0, 747, 87, 1, 0, 0, 0, 748, 755, 5, 83, 0, 0, 749, 750, 5, 84, 0, 0, 750, 751, 5, 118, 0, 0, 751, 752, 3, 120, 60, 0, 752, 753, 5, 119, 0, 0, 753, 755, 1, 0, 0, 0, 754, 748, 1, 0, 0, 0, 754, 749, 1, 0, 0, 0, 755, 89, 1, 0, 0, 0, 756, 757, 5, 41, 0, 0, 757, 758, 3, 136, 68, 0, 758, 759, 5, 61, 0, 0, 759, 760, 3, 138, 69, 0, 760, 761, 5, 114, 0, 0, 761, 762, 3, 92, 46, 0, 762, 763, 3, 92, 46, 0, 763, 764, 5, 115, 0, 0, 764, 91, 1, 0, 0, 0, 765, 766, 3, 48, 24, 0, 766, 767, 5, 42, 0, 0, 767, 768, 3, 136, 68, 0, 768, 769, 5, 61, 0, 0, 769, 770, 3, 138, 69, 0, 770, 772, 3, 126, 63, 0, 771, 773, 5, 89, 0, 0, 772, 771, 1, 0, 0, 0, 772, 773, 1, 0, 0, 0, 773, 776, 1, 0, 0, 0, 774, 775, 5, 57, 0, 0, 775, 777, 3, 138, 69, 0, 776, 774, 1, 0, 0, 0, 776, 777, 1, 0, 0, 0, 777, 779, 1, 0, 0, 0, 778, 780, 5, 58, 0, 0, 779, 778, 1, 0, 0, 0, 779, 780, 1, 0, 0, 0, 780, 783, 1, 0, 0, 0, 781, 782, 5, 59, 0, 0, 782, 784, 3, 138, 69, 0, 783, 781, 1, 0, 0, 0, 783, 784, 1, 0, 0, 0, 784, 786, 1, 0, 0, 0, 785, 787, 5, 60, 0, 0, 786, 785, 1, 0, 0, 0, 786, 787, 1, 0, 0, 0, 787, 788, 1, 0, 0, 0, 788, 789, 5, 111, 0, 0, 789, 93, 1, 0, 0, 0, 790, 791, 5, 33, 0, 0, 791, 792, 3, 136, 68, 0, 792, 793, 5, 34, 0, 0, 793, 795, 3, 136, 68, 0, 794, 796, 3, 28, 14, 0, 795, 794, 1, 0, 0, 0, 795, 796, 1, 0, 0, 0, 796, 799, 1, 0, 0, 0, 797, 798, 5, 61, 0, 0, 798, 800, 3, 138, 69, 0, 799, 797, 1, 0, 0, 0, 799, 800, 1, 0, 0, 0, 800, 803, 1, 0, 0, 0, 801, 802, 5, 56, 0, 0, 802, 804, 5, 124, 0, 0, 803, 801, 1, 0, 0, 0, 803, 804, 1, 0, 0, 0, 804, 805, 1, 0, 0, 0, 805, 809, 5, 114, 0, 0, 806, 808, 3, 96, 48, 0, 807, 806, 1, 0, 0, 0, 808, 811, 1, 0, 0, 0, 809, 807, 1, 0, 0, 0, 809, 810, 1, 0, 0, 0, 810, 812, 1, 0, 0, 0, 811, 809, 1, 0, 0, 0, 812, 813, 5, 115, 0, 0, 813, 95, 1, 0, 0, 0, 814, 815, 5, 38, 0, 0, 815, 820, 3, 84, 42, 0, 816, 820, 3, 102, 51, 0, 817, 820, 3, 98, 49, 0, 818, 820, 3, 100, 50, 0, 819, 814, 1, 0, 0, 0, 819, 816, 1, 0, 0, 0, 819, 817, 1, 0, 0, 0, 819, 818, 1, 0, 0, 0, 820, 97, 1, 0, 0, 0, 821, 822, 5, 35, 0, 0, 822, 823, 3, 136, 68, 0, 823, 824, 5, 37, 0, 0, 824, 825, 5, 40, 0, 0, 825, 826, 3, 136, 68, 0, 826, 827, 5, 111, 0, 0, 827, 99, 1, 0, 0, 0, 828, 829, 5, 46, 0, 0, 829, 830, 3, 136, 68, 0, 830, 831, 5, 47, 0, 0, 831, 832, 5, 48, 0, 0, 832, 833, 5, 44, 0, 0, 833, 834, 5, 30, 0, 0, 834, 835, 3, 136, 68, 0, 835, 836, 5, 45, 0, 0, 836, 837, 5, 41, 0, 0, 837, 838, 3, 136, 68, 0, 838, 839, 5, 113, 0, 0, 839, 840, 3, 136, 68, 0, 840, 841, 5, 111, 0, 0, 841, 101, 1, 0, 0, 0, 842, 843, 5, 35, 0, 0, 843, 844, 3, 104, 52, 0, 844, 845, 5, 37, 0, 0, 845, 848, 3, 108, 54, 0, 846, 847, 5, 13, 0, 0, 847, 849, 3, 138, 69, 0, 848, 846, 1, 0, 0, 0, 848, 849, 1, 0, 0, 0, 849, 850, 1, 0, 0, 0, 850, 851, 5, 111, 0, 0, 851, 103, 1, 0, 0, 0, 852, 853, 3, 136, 68, 0, 853, 854, 5, 113, 0, 0, 854, 855, 3, 106, 53, 0, 855, 105, 1, 0, 0, 0, 856, 868, 3, 136, 68, 0, 857, 868, 5, 78, 0, 0, 858, 868, 5, 68, 0, 0, 859, 868, 5, 69, 0, 0, 860, 868, 5, 75, 0, 0, 861, 868, 5, 76, 0, 0, 862, 868, 5, 77, 0, 0, 863, 868, 5, 79, 0, 0, 864, 868, 5, 80, 0, 0, 865, 868, 5, 81, 0, 0, 866, 868, 5, 82, 0, 0, 867, 856, 1, 0, 0, 0, 867, 857, 1, 0, 0, 0, 867, 858, 1, 0, 0, 0, 867, 859, 1, 0, 0, 0, 867, 860, 1, 0, 0, 0, 867, 861, 1, 0, 0, 0, 867, 862, 1, 0, 0, 0, 867, 863, 1, 0, 0, 0, 867, 864, 1, 0, 0, 0, 867, 865, 1, 0, 0, 0, 867, 866, 1, 0, 0, 0, 868, 107, 1, 0, 0, 0, 869, 870, 5, 40, 0, 0, 870, 871, 3, 136, 68, 0, 871, 872, 5, 113, 0, 0, 872, 873, 3, 110, 55, 0, 873, 892, 1, 0, 0, 0, 874, 875, 5, 41, 0, 0, 875, 876, 3, 136, 68, 0, 876, 877, 5, 113, 0, 0, 877, 878, 3, 136, 68, 0, 878, 879, 5, 113, 0, 0, 879, 880, 3, 112, 56, 0, 880, 892, 1, 0, 0, 0, 881, 882, 5, 25, 0, 0, 882, 883, 3, 136, 68, 0, 883, 884, 5, 113, 0, 0, 884, 886, 3, 136, 68, 0, 885, 887, 3, 28, 14, 0, 886, 885, 1, 0, 0, 0, 886, 887, 1, 0, 0, 0, 887, 889, 1, 0, 0, 0, 888, 890, 3, 114, 57, 0, 889, 888, 1, 0, 0, 0, 889, 890, 1, 0, 0, 0, 890, 892, 1, 0, 0, 0, 891, 869, 1, 0, 0, 0, 891, 874, 1, 0, 0, 0, 891, 881, 1, 0, 0, 0, 892, 109, 1, 0, 0, 0, 893, 894, 7, 2, 0, 0, 894, 111, 1, 0, 0, 0, 895, 896, 7, 3, 0, 0, 896, 113, 1, 0, 0, 0, 897, 898, 5, 43, 0, 0, 898, 902, 5, 114, 0, 0, 899, 901, 3, 116, 58, 0, 900, 899, 1, 0, 0, 0, 901, 904, 1, 0, 0, 0, 902, 900, 1, 0, 0, 0, 902, 903, 1, 0, 0, 0, 903, 905, 1, 0, 0, 0, 904, 902, 1, 0, 0, 0, 905, 906, 5, 115, 0, 0, 906, 115, 1, 0, 0, 0, 907, 908, 3, 136, 68, 0, 908, 909, 5, 37, 0, 0, 909, 910, 5, 40, 0, 0, 910, 917, 3, 136, 68, 0, 911, 912, 5, 45, 0, 0, 912, 913, 5, 41, 0, 0, 913, 914, 3, 136, 68, 0, 914, 915, 5, 113, 0, 0, 915, 916, 3, 136, 68, 0, 916, 918, 1, 0, 0, 0, 917, 911, 1, 0, 0, 0, 917, 918, 1, 0, 0, 0, 918, 919, 1, 0, 0, 0, 919, 920, 5, 111, 0, 0, 920, 977, 1, 0, 0, 0, 921, 922, 3, 136, 68, 0, 922, 923, 5, 37, 0, 0, 923, 924, 5, 41, 0, 0, 924, 925, 3, 136, 68, 0, 925, 926, 5, 113, 0, 0, 926, 933, 3, 136, 68, 0, 927, 928, 5, 45, 0, 0, 928, 929, 5, 41, 0, 0, 929, 930, 3, 136, 68, 0, 930, 931, 5, 113, 0, 0, 931, 932, 3, 136, 68, 0, 932, 934, 1, 0, 0, 0, 933, 927, 1, 0, 0, 0, 933, 934, 1, 0, 0, 0, 934, 935, 1, 0, 0, 0, 935, 936, 5, 111, 0, 0, 936, 977, 1, 0, 0, 0, 937, 938, 3, 136, 68, 0, 938, 939, 5, 37, 0, 0, 939, 940, 5, 23, 0, 0, 940, 942, 3, 136, 68, 0, 941, 943, 3, 28, 14, 0, 942, 941, 1, 0, 0, 0, 942, 943, 1, 0, 0, 0, 943, 950, 1, 0, 0, 0, 944, 945, 5, 45, 0, 0, 945, 946, 5, 41, 0, 0, 946, 947, 3, 136, 68, 0, 947, 948, 5, 113, 0, 0, 948, 949, 3, 136, 68, 0, 949, 951, 1, 0, 0, 0, 950, 944, 1, 0, 0, 0, 950, 951, 1, 0, 0, 0, 951, 952, 1, 0, 0, 0, 952, 953, 5, 111, 0, 0, 953, 977, 1, 0, 0, 0, 954, 955, 3, 136, 68, 0, 955, 956, 5, 37, 0, 0, 956, 957, 5, 30, 0, 0, 957, 958, 3, 136, 68, 0, 958, 959, 5, 111, 0, 0, 959, 977, 1, 0, 0, 0, 960, 961, 3, 136, 68, 0, 961, 962, 5, 37, 0, 0, 962, 963, 5, 2, 0, 0, 963, 964, 3, 136, 68, 0, 964, 965, 5, 113, 0, 0, 965, 972, 3, 136, 68, 0, 966, 967, 5, 45, 0, 0, 967, 968, 5, 41, 0, 0, 968, 969, 3, 136, 68, 0, 969, 970, 5, 113, 0, 0, 970, 971, 3, 136, 68, 0, 971, 973, 1, 0, 0, 0, 972, 966, 1, 0, 0, 0, 972, 973, 1, 0, 0, 0, 973, 974, 1, 0, 0, 0, 974, 975, 5, 111, 0, 0, 975, 977, 1, 0, 0, 0, 976, 907, 1, 0, 0, 0, 976, 921, 1, 0, 0, 0, 976, 937, 1, 0, 0, 0, 976, 954, 1, 0, 0, 0, 976, 960, 1, 0, 0, 0, 977, 117, 1, 0, 0, 0, 978, 979, 5, 30, 0, 0, 979, 980, 3, 136, 68, 0, 980, 981, 5, 37, 0, 0, 981, 982, 3, 136, 68, 0, 982, 983, 5, 113, 0, 0, 983, 985, 3, 136, 68, 0, 984, 986, 3, 114, 57, 0, 985, 984, 1, 0, 0, 0, 985, 986, 1, 0, 0, 0, 986, 987, 1, 0, 0, 0, 987, 988, 5, 111, 0, 0, 988, 119, 1, 0, 0, 0, 989, 1036, 3, 124, 62, 0, 990, 1036, 5, 90, 0, 0, 991, 1036, 5, 91, 0, 0, 992, 993, 5, 92, 0, 0, 993, 1036, 3, 138, 69, 0, 994, 995, 5, 93, 0, 0, 995, 996, 5, 120, 0, 0, 996, 997, 3, 136, 68, 0, 997, 998, 5, 121, 0, 0, 998, 1036, 1, 0, 0, 0, 999, 1000, 5, 94, 0, 0, 1000, 1001, 5, 120, 0, 0, 1001, 1003, 3, 136, 68, 0, 1002, 1004, 3, 28, 14, 0, 1003, 1002, 1, 0, 0, 0, 1003, 1004, 1, 0, 0, 0, 1004, 1005, 1, 0, 0, 0, 1005, 1006, 5, 121, 0, 0, 1006, 1036, 1, 0, 0, 0, 1007, 1008, 5, 18, 0, 0, 1008, 1009, 5, 120, 0, 0, 1009, 1010, 3, 136, 68, 0, 1010, 1011, 5, 121, 0, 0, 1011, 1036, 1, 0, 0, 0, 1012, 1013, 5, 95, 0, 0, 1013, 1014, 5, 120, 0, 0, 1014, 1015, 3, 120, 60, 0, 1015, 1016, 5, 121, 0, 0, 1016, 1036, 1, 0, 0, 0, 1017, 1018, 5, 96, 0, 0, 1018, 1019, 5, 120, 0, 0, 1019, 1020, 3, 120, 60, 0, 1020, 1021, 5, 121, 0, 0, 1021, 1036, 1, 0, 0, 0, 1022, 1023, 5, 97, 0, 0, 1023, 1027, 5, 114, 0, 0, 1024, 1026, 3, 122, 61, 0, 1025, 1024, 1, 0, 0, 0, 1026, 1029, 1, 0, 0, 0, 1027, 1025, 1, 0, 0, 0, 1027, 1028, 1, 0, 0, 0, 1028, 1030, 1, 0, 0, 0, 1029, 1027, 1, 0, 0, 0, 1030, 1036, 5, 115, 0, 0, 1031, 1033, 3, 136, 68, 0, 1032, 1034, 3, 28, 14, 0, 1033, 1032, 1, 0, 0, 0, 1033, 1034, 1, 0, 0, 0, 1034, 1036, 1, 0, 0, 0, 1035, 989, 1, 0, 0, 0, 1035, 990, 1, 0, 0, 0, 1035, 991, 1, 0, 0, 0, 1035, 992, 1, 0, 0, 0, 1035, 994, 1, 0, 0, 0, 1035, 999, 1, 0, 0, 0, 1035, 1007, 1, 0, 0, 0, 1035, 1012, 1, 0, 0, 0, 1035, 1017, 1, 0, 0, 0, 1035, 1022, 1, 0, 0, 0, 1035, 1031, 1, 0, 0, 0, 1036, 121, 1, 0, 0, 0, 1037, 1038, 3, 136, 68, 0, 1038, 1039, 5, 110, 0, 0, 1039, 1040, 3, 120, 60, 0, 1040, 1041, 5, 111, 0, 0, 1041, 123, 1, 0, 0, 0, 1042, 1043, 7, 4, 0, 0, 1043, 125, 1, 0, 0, 0, 1044, 1045, 7, 5, 0, 0, 1045, 127, 1, 0, 0, 0, 1046, 1055, 3, 138, 69, 0, 1047, 1055, 5, 124, 0, 0, 1048, 1055, 5, 125, 0, 0, 1049, 1055, 5, 106, 0, 0, 1050, 1055, 5, 107, 0, 0, 1051, 1055, 5, 108, 0, 0, 1052, 1055, 3, 130, 65, 0, 1053, 1055, 3, 134, 67, 0, 1054, 1046, 1, 0, 0, 0, 1054, 1047, 1, 0, 0, 0, 1054, 1048, 1, 0, 0, 0, 1054, 1049, 1, 0, 0, 0, 1054, 1050, 1, 0, 0, 0, 1054, 1051, 1, 0, 0, 0, 1054, 1052, 1, 0, 0, 0, 1054, 1053, 1, 0, 0, 0, 1055, 129, 1, 0, 0, 0, 1056, 1065, 5, 114, 0, 0, 1057, 1062, 3, 132, 66, 0, 1058, 1059, 5, 112, 0, 0, 1059, 1061, 3, 132, 66, 0, 1060, 1058, 1, 0, 0, 0, 1061, 1064, 1, 0, 0, 0, 1062, 1060, 1, 0, 0, 0, 1062, 1063, 1, 0, 0, 0, 1063, 1066, 1, 0, 0, 0, 1064, 1062, 1, 0, 0, 0, 1065, 1057, 1, 0, 0, 0, 1065, 1066, 1, 0, 0, 0, 1066, 1067, 1, 0, 0, 0, 1067, 1068, 5, 115, 0, 0, 1068, 131, 1, 0, 0, 0, 1069, 1070, 3, 138, 69, 0, 1070, 1071, 5, 110, 0, 0, 1071, 1072, 3, 128, 64, 0, 1072, 133, 1, 0, 0, 0, 1073, 1082, 5, 116, 0, 0, 1074, 1079, 3, 128, 64, 0, 1075, 1076, 5, 112, 0, 0, 1076, 1078, 3, 128, 64, 0, 1077, 1075, 1, 0, 0, 0, 1078, 1081, 1, 0, 0, 0, 1079, 1077, 1, 0, 0, 0, 1079, 1080, 1, 0, 0, 0, 1080, 1083, 1, 0, 0, 0, 1081, 1079, 1, 0, 0, 0, 1082, 1074, 1, 0, 0, 0, 1082, 1083, 1, 0, 0, 0, 1083, 1084, 1, 0, 0, 0, 1084, 1085, 5, 117, 0, 0, 1085, 135, 1, 0, 0, 0, 1086, 1087, 7, 6, 0, 0, 1087, 137, 1, 0, 0, 0, 1088, 1089, 5, 127, 0, 0, 1089, 139, 1, 0, 0, 0, 92, 152, 159, 180, 192, 204, 224, 232, 239, 245, 257, 260, 266, 277, 286, 296, 299, 301, 305, 313, 325, 330, 339, 342, 360, 372, 396, 399, 409, 413, 419, 426, 452, 459, 463, 468, 479, 485, 495, 500, 514, 534, 561, 566, 577, 582, 589, 598, 611, 632, 635, 638, 645, 653, 684, 696, 710, 718, 730, 744, 754, 772, 776, 779, 783, 786, 795, 799, 803, 809, 819, 848, 867, 886, 889, 891, 902, 917, 933, 942, 950, 972, 976, 985, 1003, 1027, 1033, 1035, 1054, 1062, 1065, 1079, 1082] \ No newline at end of file diff --git a/src/capability-language/generated/QuixosCapability.tokens b/src/capability-language/generated/QuixosCapability.tokens index 59cfd6f..d498b01 100644 --- a/src/capability-language/generated/QuixosCapability.tokens +++ b/src/capability-language/generated/QuixosCapability.tokens @@ -1,251 +1,253 @@ WORKSPACE=1 QUERY=2 -ROOT=3 -DOCUMENT=4 -FRAGMENTS=5 -VIEW=6 -MAX=7 -ALLOW=8 -POLL=9 -QUERYABLE=10 -RPC=11 -QUERY_REASON=12 -TYPE=13 -OBJECT=14 -STORABLE=15 -IMPLEMENTS=16 -REF=17 -FRAGMENT=18 -IMPORT=19 -EXTERNAL=20 -ATOM=21 -INTERFACE=22 -INTERFACES=23 -PACKAGE=24 -VALUE=25 -RELATION=26 -OPERATION=27 -FUNCTION=28 -CONSTRUCTOR=29 -CONSTRUCTS=30 -INPUT=31 -CONFORM=32 -AS=33 -BIND=34 -STATIC=35 -TO=36 -PRIVATE=37 -SHARED=38 -STATE=39 -EDGE=40 -PROJECTION=41 -WITH=42 -USING=43 -VIA=44 -MATERIALIZE=45 -IF=46 -ABSENT=47 -ON=48 -POLICY=49 -DEFAULT=50 -SOURCE=51 -REPOSITORY=52 -COMMIT=53 -REVISION=54 -SEMANTIC_MAJOR=55 -ON_DELETE=56 -RETAIN_OTHER=57 -KEYED=58 -PUBLIC_TRAVERSAL=59 -ID=60 -DOC=61 -MODE=62 -EMITS=63 -RECEIVER=64 -REQUIRES=65 -ANY=66 -GET=67 -SET=68 -WATCH=69 -START=70 -STOP=71 -READ=72 -WRITE=73 -RESOLVE=74 -CONNECT=75 -DISCONNECT=76 -CALL=77 -WATCH_START=78 -WATCH_STOP=79 -SUBSCRIBE=80 -UNSUBSCRIBE=81 -OPTIMISTIC_REGISTER=82 -CRDT=83 -OPTIONAL_ONE=84 -EXACTLY_ONE=85 -MANY_UNIQUE=86 -MANY=87 -ORDERED=88 -UNIT=89 -WATCH_HANDLE=90 -MESSAGE=91 -ATOM_REF=92 -INTERFACE_REF=93 -OPTIONAL=94 -LIST=95 -RECORD=96 -BOOL=97 -BYTES=98 -DOUBLE=99 -INT32=100 -INT64=101 -STRING=102 -UINT32=103 -UINT64=104 -TRUE=105 -FALSE=106 -NULL=107 -ARROW=108 -COLON=109 -SEMI=110 -COMMA=111 -DOT=112 -LBRACE=113 -RBRACE=114 -LBRACK=115 -RBRACK=116 -LPAREN=117 -RPAREN=118 -LT=119 -GT=120 -AMP=121 -EQUAL=122 -INTEGER=123 -JSON_NUMBER=124 -IDENTIFIER=125 -STRING_LITERAL=126 -LINE_COMMENT=127 -BLOCK_COMMENT=128 -WS=129 +SPECIALIZE=3 +ROOT=4 +DOCUMENT=5 +FRAGMENTS=6 +VIEW=7 +MAX=8 +ALLOW=9 +POLL=10 +QUERYABLE=11 +RPC=12 +QUERY_REASON=13 +TYPE=14 +OBJECT=15 +STORABLE=16 +IMPLEMENTS=17 +REF=18 +FRAGMENT=19 +IMPORT=20 +EXTERNAL=21 +ATOM=22 +INTERFACE=23 +INTERFACES=24 +PACKAGE=25 +VALUE=26 +RELATION=27 +OPERATION=28 +FUNCTION=29 +CONSTRUCTOR=30 +CONSTRUCTS=31 +INPUT=32 +CONFORM=33 +AS=34 +BIND=35 +STATIC=36 +TO=37 +PRIVATE=38 +SHARED=39 +STATE=40 +EDGE=41 +PROJECTION=42 +WITH=43 +USING=44 +VIA=45 +MATERIALIZE=46 +IF=47 +ABSENT=48 +ON=49 +POLICY=50 +DEFAULT=51 +SOURCE=52 +REPOSITORY=53 +COMMIT=54 +REVISION=55 +SEMANTIC_MAJOR=56 +ON_DELETE=57 +RETAIN_OTHER=58 +KEYED=59 +PUBLIC_TRAVERSAL=60 +ID=61 +DOC=62 +MODE=63 +EMITS=64 +RECEIVER=65 +REQUIRES=66 +ANY=67 +GET=68 +SET=69 +WATCH=70 +START=71 +STOP=72 +READ=73 +WRITE=74 +RESOLVE=75 +CONNECT=76 +DISCONNECT=77 +CALL=78 +WATCH_START=79 +WATCH_STOP=80 +SUBSCRIBE=81 +UNSUBSCRIBE=82 +OPTIMISTIC_REGISTER=83 +CRDT=84 +OPTIONAL_ONE=85 +EXACTLY_ONE=86 +MANY_UNIQUE=87 +MANY=88 +ORDERED=89 +UNIT=90 +WATCH_HANDLE=91 +MESSAGE=92 +ATOM_REF=93 +INTERFACE_REF=94 +OPTIONAL=95 +LIST=96 +RECORD=97 +BOOL=98 +BYTES=99 +DOUBLE=100 +INT32=101 +INT64=102 +STRING=103 +UINT32=104 +UINT64=105 +TRUE=106 +FALSE=107 +NULL=108 +ARROW=109 +COLON=110 +SEMI=111 +COMMA=112 +DOT=113 +LBRACE=114 +RBRACE=115 +LBRACK=116 +RBRACK=117 +LPAREN=118 +RPAREN=119 +LT=120 +GT=121 +AMP=122 +EQUAL=123 +INTEGER=124 +JSON_NUMBER=125 +IDENTIFIER=126 +STRING_LITERAL=127 +LINE_COMMENT=128 +BLOCK_COMMENT=129 +WS=130 'workspace'=1 'query'=2 -'root'=3 -'document'=4 -'fragments'=5 -'view'=6 -'max'=7 -'allow'=8 -'poll'=9 -'queryable'=10 -'rpc'=11 -'query-reason'=12 -'type'=13 -'object'=14 -'storable'=15 -'implements'=16 -'ref'=17 -'fragment'=18 -'import'=19 -'external'=20 -'atom'=21 -'interface'=22 -'interfaces'=23 -'package'=24 -'value'=25 -'relation'=26 -'operation'=27 -'function'=28 -'constructor'=29 -'constructs'=30 -'input'=31 -'conform'=32 -'as'=33 -'bind'=34 -'static'=35 -'to'=36 -'private'=37 -'shared'=38 -'state'=39 -'edge'=40 -'projection'=41 -'with'=42 -'using'=43 -'via'=44 -'materialize'=45 -'if'=46 -'absent'=47 -'on'=48 -'policy'=49 -'default'=50 -'source'=51 -'repository'=52 -'commit'=53 -'revision'=54 -'semantic-major'=55 -'on-delete'=56 -'retain-other'=57 -'keyed'=58 -'public-traversal'=59 -'id'=60 -'doc'=61 -'mode'=62 -'emits'=63 -'receiver'=64 -'requires'=65 -'any'=66 -'get'=67 -'set'=68 -'watch'=69 -'start'=70 -'stop'=71 -'read'=72 -'write'=73 -'resolve'=74 -'connect'=75 -'disconnect'=76 -'call'=77 -'watch-start'=78 -'watch-stop'=79 -'subscribe'=80 -'unsubscribe'=81 -'optimistic-register'=82 -'crdt'=83 -'optional-one'=84 -'exactly-one'=85 -'many-unique'=86 -'many'=87 -'ordered'=88 -'unit'=89 -'watch-handle'=90 -'message'=91 -'atom-ref'=92 -'interface-ref'=93 -'optional'=94 -'list'=95 -'record'=96 -'bool'=97 -'bytes'=98 -'double'=99 -'int32'=100 -'int64'=101 -'string'=102 -'uint32'=103 -'uint64'=104 -'true'=105 -'false'=106 -'null'=107 -'->'=108 -':'=109 -';'=110 -','=111 -'.'=112 -'{'=113 -'}'=114 -'['=115 -']'=116 -'('=117 -')'=118 -'<'=119 -'>'=120 -'&'=121 -'='=122 +'specialize'=3 +'root'=4 +'document'=5 +'fragments'=6 +'view'=7 +'max'=8 +'allow'=9 +'poll'=10 +'queryable'=11 +'rpc'=12 +'query-reason'=13 +'type'=14 +'object'=15 +'storable'=16 +'implements'=17 +'ref'=18 +'fragment'=19 +'import'=20 +'external'=21 +'atom'=22 +'interface'=23 +'interfaces'=24 +'package'=25 +'value'=26 +'relation'=27 +'operation'=28 +'function'=29 +'constructor'=30 +'constructs'=31 +'input'=32 +'conform'=33 +'as'=34 +'bind'=35 +'static'=36 +'to'=37 +'private'=38 +'shared'=39 +'state'=40 +'edge'=41 +'projection'=42 +'with'=43 +'using'=44 +'via'=45 +'materialize'=46 +'if'=47 +'absent'=48 +'on'=49 +'policy'=50 +'default'=51 +'source'=52 +'repository'=53 +'commit'=54 +'revision'=55 +'semantic-major'=56 +'on-delete'=57 +'retain-other'=58 +'keyed'=59 +'public-traversal'=60 +'id'=61 +'doc'=62 +'mode'=63 +'emits'=64 +'receiver'=65 +'requires'=66 +'any'=67 +'get'=68 +'set'=69 +'watch'=70 +'start'=71 +'stop'=72 +'read'=73 +'write'=74 +'resolve'=75 +'connect'=76 +'disconnect'=77 +'call'=78 +'watch-start'=79 +'watch-stop'=80 +'subscribe'=81 +'unsubscribe'=82 +'optimistic-register'=83 +'crdt'=84 +'optional-one'=85 +'exactly-one'=86 +'many-unique'=87 +'many'=88 +'ordered'=89 +'unit'=90 +'watch-handle'=91 +'message'=92 +'atom-ref'=93 +'interface-ref'=94 +'optional'=95 +'list'=96 +'record'=97 +'bool'=98 +'bytes'=99 +'double'=100 +'int32'=101 +'int64'=102 +'string'=103 +'uint32'=104 +'uint64'=105 +'true'=106 +'false'=107 +'null'=108 +'->'=109 +':'=110 +';'=111 +','=112 +'.'=113 +'{'=114 +'}'=115 +'['=116 +']'=117 +'('=118 +')'=119 +'<'=120 +'>'=121 +'&'=122 +'='=123 diff --git a/src/capability-language/generated/QuixosCapabilityLexer.interp b/src/capability-language/generated/QuixosCapabilityLexer.interp index b6aa8a4..fda8656 100644 --- a/src/capability-language/generated/QuixosCapabilityLexer.interp +++ b/src/capability-language/generated/QuixosCapabilityLexer.interp @@ -2,6 +2,7 @@ token literal names: null 'workspace' 'query' +'specialize' 'root' 'document' 'fragments' @@ -134,6 +135,7 @@ token symbolic names: null WORKSPACE QUERY +SPECIALIZE ROOT DOCUMENT FRAGMENTS @@ -265,6 +267,7 @@ WS rule names: WORKSPACE QUERY +SPECIALIZE ROOT DOCUMENT FRAGMENTS @@ -403,4 +406,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 129, 1218, 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, 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, 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, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 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, 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, 11, 1, 11, 1, 11, 1, 11, 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, 14, 1, 15, 1, 15, 1, 15, 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, 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, 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, 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, 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, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 51, 1, 51, 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, 52, 1, 53, 1, 53, 1, 53, 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, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 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, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 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, 97, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 109, 1, 109, 1, 110, 1, 110, 1, 111, 1, 111, 1, 112, 1, 112, 1, 113, 1, 113, 1, 114, 1, 114, 1, 115, 1, 115, 1, 116, 1, 116, 1, 117, 1, 117, 1, 118, 1, 118, 1, 119, 1, 119, 1, 120, 1, 120, 1, 121, 1, 121, 1, 122, 3, 122, 1119, 8, 122, 1, 122, 4, 122, 1122, 8, 122, 11, 122, 12, 122, 1123, 1, 123, 3, 123, 1127, 8, 123, 1, 123, 1, 123, 1, 123, 5, 123, 1132, 8, 123, 10, 123, 12, 123, 1135, 9, 123, 3, 123, 1137, 8, 123, 1, 123, 1, 123, 4, 123, 1141, 8, 123, 11, 123, 12, 123, 1142, 3, 123, 1145, 8, 123, 1, 123, 1, 123, 3, 123, 1149, 8, 123, 1, 123, 4, 123, 1152, 8, 123, 11, 123, 12, 123, 1153, 3, 123, 1156, 8, 123, 1, 124, 1, 124, 5, 124, 1160, 8, 124, 10, 124, 12, 124, 1163, 9, 124, 1, 125, 1, 125, 1, 125, 5, 125, 1168, 8, 125, 10, 125, 12, 125, 1171, 9, 125, 1, 125, 1, 125, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 1, 126, 3, 126, 1183, 8, 126, 1, 127, 1, 127, 1, 128, 1, 128, 1, 128, 1, 128, 5, 128, 1191, 8, 128, 10, 128, 12, 128, 1194, 9, 128, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 5, 129, 1202, 8, 129, 10, 129, 12, 129, 1205, 9, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 129, 1, 130, 4, 130, 1213, 8, 130, 11, 130, 12, 130, 1214, 1, 130, 1, 130, 1, 1203, 0, 131, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 114, 229, 115, 231, 116, 233, 117, 235, 118, 237, 119, 239, 120, 241, 121, 243, 122, 245, 123, 247, 124, 249, 125, 251, 126, 253, 0, 255, 0, 257, 127, 259, 128, 261, 129, 1, 0, 11, 1, 0, 48, 57, 1, 0, 49, 57, 2, 0, 69, 69, 101, 101, 2, 0, 43, 43, 45, 45, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 8, 0, 34, 34, 47, 47, 92, 92, 98, 98, 102, 102, 110, 110, 114, 114, 116, 116, 3, 0, 48, 57, 65, 70, 97, 102, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 1232, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 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, 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, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 227, 1, 0, 0, 0, 0, 229, 1, 0, 0, 0, 0, 231, 1, 0, 0, 0, 0, 233, 1, 0, 0, 0, 0, 235, 1, 0, 0, 0, 0, 237, 1, 0, 0, 0, 0, 239, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 0, 243, 1, 0, 0, 0, 0, 245, 1, 0, 0, 0, 0, 247, 1, 0, 0, 0, 0, 249, 1, 0, 0, 0, 0, 251, 1, 0, 0, 0, 0, 257, 1, 0, 0, 0, 0, 259, 1, 0, 0, 0, 0, 261, 1, 0, 0, 0, 1, 263, 1, 0, 0, 0, 3, 273, 1, 0, 0, 0, 5, 279, 1, 0, 0, 0, 7, 284, 1, 0, 0, 0, 9, 293, 1, 0, 0, 0, 11, 303, 1, 0, 0, 0, 13, 308, 1, 0, 0, 0, 15, 312, 1, 0, 0, 0, 17, 318, 1, 0, 0, 0, 19, 323, 1, 0, 0, 0, 21, 333, 1, 0, 0, 0, 23, 337, 1, 0, 0, 0, 25, 350, 1, 0, 0, 0, 27, 355, 1, 0, 0, 0, 29, 362, 1, 0, 0, 0, 31, 371, 1, 0, 0, 0, 33, 382, 1, 0, 0, 0, 35, 386, 1, 0, 0, 0, 37, 395, 1, 0, 0, 0, 39, 402, 1, 0, 0, 0, 41, 411, 1, 0, 0, 0, 43, 416, 1, 0, 0, 0, 45, 426, 1, 0, 0, 0, 47, 437, 1, 0, 0, 0, 49, 445, 1, 0, 0, 0, 51, 451, 1, 0, 0, 0, 53, 460, 1, 0, 0, 0, 55, 470, 1, 0, 0, 0, 57, 479, 1, 0, 0, 0, 59, 491, 1, 0, 0, 0, 61, 502, 1, 0, 0, 0, 63, 508, 1, 0, 0, 0, 65, 516, 1, 0, 0, 0, 67, 519, 1, 0, 0, 0, 69, 524, 1, 0, 0, 0, 71, 531, 1, 0, 0, 0, 73, 534, 1, 0, 0, 0, 75, 542, 1, 0, 0, 0, 77, 549, 1, 0, 0, 0, 79, 555, 1, 0, 0, 0, 81, 560, 1, 0, 0, 0, 83, 571, 1, 0, 0, 0, 85, 576, 1, 0, 0, 0, 87, 582, 1, 0, 0, 0, 89, 586, 1, 0, 0, 0, 91, 598, 1, 0, 0, 0, 93, 601, 1, 0, 0, 0, 95, 608, 1, 0, 0, 0, 97, 611, 1, 0, 0, 0, 99, 618, 1, 0, 0, 0, 101, 626, 1, 0, 0, 0, 103, 633, 1, 0, 0, 0, 105, 644, 1, 0, 0, 0, 107, 651, 1, 0, 0, 0, 109, 660, 1, 0, 0, 0, 111, 675, 1, 0, 0, 0, 113, 685, 1, 0, 0, 0, 115, 698, 1, 0, 0, 0, 117, 704, 1, 0, 0, 0, 119, 721, 1, 0, 0, 0, 121, 724, 1, 0, 0, 0, 123, 728, 1, 0, 0, 0, 125, 733, 1, 0, 0, 0, 127, 739, 1, 0, 0, 0, 129, 748, 1, 0, 0, 0, 131, 757, 1, 0, 0, 0, 133, 761, 1, 0, 0, 0, 135, 765, 1, 0, 0, 0, 137, 769, 1, 0, 0, 0, 139, 775, 1, 0, 0, 0, 141, 781, 1, 0, 0, 0, 143, 786, 1, 0, 0, 0, 145, 791, 1, 0, 0, 0, 147, 797, 1, 0, 0, 0, 149, 805, 1, 0, 0, 0, 151, 813, 1, 0, 0, 0, 153, 824, 1, 0, 0, 0, 155, 829, 1, 0, 0, 0, 157, 841, 1, 0, 0, 0, 159, 852, 1, 0, 0, 0, 161, 862, 1, 0, 0, 0, 163, 874, 1, 0, 0, 0, 165, 894, 1, 0, 0, 0, 167, 899, 1, 0, 0, 0, 169, 912, 1, 0, 0, 0, 171, 924, 1, 0, 0, 0, 173, 936, 1, 0, 0, 0, 175, 941, 1, 0, 0, 0, 177, 949, 1, 0, 0, 0, 179, 954, 1, 0, 0, 0, 181, 967, 1, 0, 0, 0, 183, 975, 1, 0, 0, 0, 185, 984, 1, 0, 0, 0, 187, 998, 1, 0, 0, 0, 189, 1007, 1, 0, 0, 0, 191, 1012, 1, 0, 0, 0, 193, 1019, 1, 0, 0, 0, 195, 1024, 1, 0, 0, 0, 197, 1030, 1, 0, 0, 0, 199, 1037, 1, 0, 0, 0, 201, 1043, 1, 0, 0, 0, 203, 1049, 1, 0, 0, 0, 205, 1056, 1, 0, 0, 0, 207, 1063, 1, 0, 0, 0, 209, 1070, 1, 0, 0, 0, 211, 1075, 1, 0, 0, 0, 213, 1081, 1, 0, 0, 0, 215, 1086, 1, 0, 0, 0, 217, 1089, 1, 0, 0, 0, 219, 1091, 1, 0, 0, 0, 221, 1093, 1, 0, 0, 0, 223, 1095, 1, 0, 0, 0, 225, 1097, 1, 0, 0, 0, 227, 1099, 1, 0, 0, 0, 229, 1101, 1, 0, 0, 0, 231, 1103, 1, 0, 0, 0, 233, 1105, 1, 0, 0, 0, 235, 1107, 1, 0, 0, 0, 237, 1109, 1, 0, 0, 0, 239, 1111, 1, 0, 0, 0, 241, 1113, 1, 0, 0, 0, 243, 1115, 1, 0, 0, 0, 245, 1118, 1, 0, 0, 0, 247, 1126, 1, 0, 0, 0, 249, 1157, 1, 0, 0, 0, 251, 1164, 1, 0, 0, 0, 253, 1174, 1, 0, 0, 0, 255, 1184, 1, 0, 0, 0, 257, 1186, 1, 0, 0, 0, 259, 1197, 1, 0, 0, 0, 261, 1212, 1, 0, 0, 0, 263, 264, 5, 119, 0, 0, 264, 265, 5, 111, 0, 0, 265, 266, 5, 114, 0, 0, 266, 267, 5, 107, 0, 0, 267, 268, 5, 115, 0, 0, 268, 269, 5, 112, 0, 0, 269, 270, 5, 97, 0, 0, 270, 271, 5, 99, 0, 0, 271, 272, 5, 101, 0, 0, 272, 2, 1, 0, 0, 0, 273, 274, 5, 113, 0, 0, 274, 275, 5, 117, 0, 0, 275, 276, 5, 101, 0, 0, 276, 277, 5, 114, 0, 0, 277, 278, 5, 121, 0, 0, 278, 4, 1, 0, 0, 0, 279, 280, 5, 114, 0, 0, 280, 281, 5, 111, 0, 0, 281, 282, 5, 111, 0, 0, 282, 283, 5, 116, 0, 0, 283, 6, 1, 0, 0, 0, 284, 285, 5, 100, 0, 0, 285, 286, 5, 111, 0, 0, 286, 287, 5, 99, 0, 0, 287, 288, 5, 117, 0, 0, 288, 289, 5, 109, 0, 0, 289, 290, 5, 101, 0, 0, 290, 291, 5, 110, 0, 0, 291, 292, 5, 116, 0, 0, 292, 8, 1, 0, 0, 0, 293, 294, 5, 102, 0, 0, 294, 295, 5, 114, 0, 0, 295, 296, 5, 97, 0, 0, 296, 297, 5, 103, 0, 0, 297, 298, 5, 109, 0, 0, 298, 299, 5, 101, 0, 0, 299, 300, 5, 110, 0, 0, 300, 301, 5, 116, 0, 0, 301, 302, 5, 115, 0, 0, 302, 10, 1, 0, 0, 0, 303, 304, 5, 118, 0, 0, 304, 305, 5, 105, 0, 0, 305, 306, 5, 101, 0, 0, 306, 307, 5, 119, 0, 0, 307, 12, 1, 0, 0, 0, 308, 309, 5, 109, 0, 0, 309, 310, 5, 97, 0, 0, 310, 311, 5, 120, 0, 0, 311, 14, 1, 0, 0, 0, 312, 313, 5, 97, 0, 0, 313, 314, 5, 108, 0, 0, 314, 315, 5, 108, 0, 0, 315, 316, 5, 111, 0, 0, 316, 317, 5, 119, 0, 0, 317, 16, 1, 0, 0, 0, 318, 319, 5, 112, 0, 0, 319, 320, 5, 111, 0, 0, 320, 321, 5, 108, 0, 0, 321, 322, 5, 108, 0, 0, 322, 18, 1, 0, 0, 0, 323, 324, 5, 113, 0, 0, 324, 325, 5, 117, 0, 0, 325, 326, 5, 101, 0, 0, 326, 327, 5, 114, 0, 0, 327, 328, 5, 121, 0, 0, 328, 329, 5, 97, 0, 0, 329, 330, 5, 98, 0, 0, 330, 331, 5, 108, 0, 0, 331, 332, 5, 101, 0, 0, 332, 20, 1, 0, 0, 0, 333, 334, 5, 114, 0, 0, 334, 335, 5, 112, 0, 0, 335, 336, 5, 99, 0, 0, 336, 22, 1, 0, 0, 0, 337, 338, 5, 113, 0, 0, 338, 339, 5, 117, 0, 0, 339, 340, 5, 101, 0, 0, 340, 341, 5, 114, 0, 0, 341, 342, 5, 121, 0, 0, 342, 343, 5, 45, 0, 0, 343, 344, 5, 114, 0, 0, 344, 345, 5, 101, 0, 0, 345, 346, 5, 97, 0, 0, 346, 347, 5, 115, 0, 0, 347, 348, 5, 111, 0, 0, 348, 349, 5, 110, 0, 0, 349, 24, 1, 0, 0, 0, 350, 351, 5, 116, 0, 0, 351, 352, 5, 121, 0, 0, 352, 353, 5, 112, 0, 0, 353, 354, 5, 101, 0, 0, 354, 26, 1, 0, 0, 0, 355, 356, 5, 111, 0, 0, 356, 357, 5, 98, 0, 0, 357, 358, 5, 106, 0, 0, 358, 359, 5, 101, 0, 0, 359, 360, 5, 99, 0, 0, 360, 361, 5, 116, 0, 0, 361, 28, 1, 0, 0, 0, 362, 363, 5, 115, 0, 0, 363, 364, 5, 116, 0, 0, 364, 365, 5, 111, 0, 0, 365, 366, 5, 114, 0, 0, 366, 367, 5, 97, 0, 0, 367, 368, 5, 98, 0, 0, 368, 369, 5, 108, 0, 0, 369, 370, 5, 101, 0, 0, 370, 30, 1, 0, 0, 0, 371, 372, 5, 105, 0, 0, 372, 373, 5, 109, 0, 0, 373, 374, 5, 112, 0, 0, 374, 375, 5, 108, 0, 0, 375, 376, 5, 101, 0, 0, 376, 377, 5, 109, 0, 0, 377, 378, 5, 101, 0, 0, 378, 379, 5, 110, 0, 0, 379, 380, 5, 116, 0, 0, 380, 381, 5, 115, 0, 0, 381, 32, 1, 0, 0, 0, 382, 383, 5, 114, 0, 0, 383, 384, 5, 101, 0, 0, 384, 385, 5, 102, 0, 0, 385, 34, 1, 0, 0, 0, 386, 387, 5, 102, 0, 0, 387, 388, 5, 114, 0, 0, 388, 389, 5, 97, 0, 0, 389, 390, 5, 103, 0, 0, 390, 391, 5, 109, 0, 0, 391, 392, 5, 101, 0, 0, 392, 393, 5, 110, 0, 0, 393, 394, 5, 116, 0, 0, 394, 36, 1, 0, 0, 0, 395, 396, 5, 105, 0, 0, 396, 397, 5, 109, 0, 0, 397, 398, 5, 112, 0, 0, 398, 399, 5, 111, 0, 0, 399, 400, 5, 114, 0, 0, 400, 401, 5, 116, 0, 0, 401, 38, 1, 0, 0, 0, 402, 403, 5, 101, 0, 0, 403, 404, 5, 120, 0, 0, 404, 405, 5, 116, 0, 0, 405, 406, 5, 101, 0, 0, 406, 407, 5, 114, 0, 0, 407, 408, 5, 110, 0, 0, 408, 409, 5, 97, 0, 0, 409, 410, 5, 108, 0, 0, 410, 40, 1, 0, 0, 0, 411, 412, 5, 97, 0, 0, 412, 413, 5, 116, 0, 0, 413, 414, 5, 111, 0, 0, 414, 415, 5, 109, 0, 0, 415, 42, 1, 0, 0, 0, 416, 417, 5, 105, 0, 0, 417, 418, 5, 110, 0, 0, 418, 419, 5, 116, 0, 0, 419, 420, 5, 101, 0, 0, 420, 421, 5, 114, 0, 0, 421, 422, 5, 102, 0, 0, 422, 423, 5, 97, 0, 0, 423, 424, 5, 99, 0, 0, 424, 425, 5, 101, 0, 0, 425, 44, 1, 0, 0, 0, 426, 427, 5, 105, 0, 0, 427, 428, 5, 110, 0, 0, 428, 429, 5, 116, 0, 0, 429, 430, 5, 101, 0, 0, 430, 431, 5, 114, 0, 0, 431, 432, 5, 102, 0, 0, 432, 433, 5, 97, 0, 0, 433, 434, 5, 99, 0, 0, 434, 435, 5, 101, 0, 0, 435, 436, 5, 115, 0, 0, 436, 46, 1, 0, 0, 0, 437, 438, 5, 112, 0, 0, 438, 439, 5, 97, 0, 0, 439, 440, 5, 99, 0, 0, 440, 441, 5, 107, 0, 0, 441, 442, 5, 97, 0, 0, 442, 443, 5, 103, 0, 0, 443, 444, 5, 101, 0, 0, 444, 48, 1, 0, 0, 0, 445, 446, 5, 118, 0, 0, 446, 447, 5, 97, 0, 0, 447, 448, 5, 108, 0, 0, 448, 449, 5, 117, 0, 0, 449, 450, 5, 101, 0, 0, 450, 50, 1, 0, 0, 0, 451, 452, 5, 114, 0, 0, 452, 453, 5, 101, 0, 0, 453, 454, 5, 108, 0, 0, 454, 455, 5, 97, 0, 0, 455, 456, 5, 116, 0, 0, 456, 457, 5, 105, 0, 0, 457, 458, 5, 111, 0, 0, 458, 459, 5, 110, 0, 0, 459, 52, 1, 0, 0, 0, 460, 461, 5, 111, 0, 0, 461, 462, 5, 112, 0, 0, 462, 463, 5, 101, 0, 0, 463, 464, 5, 114, 0, 0, 464, 465, 5, 97, 0, 0, 465, 466, 5, 116, 0, 0, 466, 467, 5, 105, 0, 0, 467, 468, 5, 111, 0, 0, 468, 469, 5, 110, 0, 0, 469, 54, 1, 0, 0, 0, 470, 471, 5, 102, 0, 0, 471, 472, 5, 117, 0, 0, 472, 473, 5, 110, 0, 0, 473, 474, 5, 99, 0, 0, 474, 475, 5, 116, 0, 0, 475, 476, 5, 105, 0, 0, 476, 477, 5, 111, 0, 0, 477, 478, 5, 110, 0, 0, 478, 56, 1, 0, 0, 0, 479, 480, 5, 99, 0, 0, 480, 481, 5, 111, 0, 0, 481, 482, 5, 110, 0, 0, 482, 483, 5, 115, 0, 0, 483, 484, 5, 116, 0, 0, 484, 485, 5, 114, 0, 0, 485, 486, 5, 117, 0, 0, 486, 487, 5, 99, 0, 0, 487, 488, 5, 116, 0, 0, 488, 489, 5, 111, 0, 0, 489, 490, 5, 114, 0, 0, 490, 58, 1, 0, 0, 0, 491, 492, 5, 99, 0, 0, 492, 493, 5, 111, 0, 0, 493, 494, 5, 110, 0, 0, 494, 495, 5, 115, 0, 0, 495, 496, 5, 116, 0, 0, 496, 497, 5, 114, 0, 0, 497, 498, 5, 117, 0, 0, 498, 499, 5, 99, 0, 0, 499, 500, 5, 116, 0, 0, 500, 501, 5, 115, 0, 0, 501, 60, 1, 0, 0, 0, 502, 503, 5, 105, 0, 0, 503, 504, 5, 110, 0, 0, 504, 505, 5, 112, 0, 0, 505, 506, 5, 117, 0, 0, 506, 507, 5, 116, 0, 0, 507, 62, 1, 0, 0, 0, 508, 509, 5, 99, 0, 0, 509, 510, 5, 111, 0, 0, 510, 511, 5, 110, 0, 0, 511, 512, 5, 102, 0, 0, 512, 513, 5, 111, 0, 0, 513, 514, 5, 114, 0, 0, 514, 515, 5, 109, 0, 0, 515, 64, 1, 0, 0, 0, 516, 517, 5, 97, 0, 0, 517, 518, 5, 115, 0, 0, 518, 66, 1, 0, 0, 0, 519, 520, 5, 98, 0, 0, 520, 521, 5, 105, 0, 0, 521, 522, 5, 110, 0, 0, 522, 523, 5, 100, 0, 0, 523, 68, 1, 0, 0, 0, 524, 525, 5, 115, 0, 0, 525, 526, 5, 116, 0, 0, 526, 527, 5, 97, 0, 0, 527, 528, 5, 116, 0, 0, 528, 529, 5, 105, 0, 0, 529, 530, 5, 99, 0, 0, 530, 70, 1, 0, 0, 0, 531, 532, 5, 116, 0, 0, 532, 533, 5, 111, 0, 0, 533, 72, 1, 0, 0, 0, 534, 535, 5, 112, 0, 0, 535, 536, 5, 114, 0, 0, 536, 537, 5, 105, 0, 0, 537, 538, 5, 118, 0, 0, 538, 539, 5, 97, 0, 0, 539, 540, 5, 116, 0, 0, 540, 541, 5, 101, 0, 0, 541, 74, 1, 0, 0, 0, 542, 543, 5, 115, 0, 0, 543, 544, 5, 104, 0, 0, 544, 545, 5, 97, 0, 0, 545, 546, 5, 114, 0, 0, 546, 547, 5, 101, 0, 0, 547, 548, 5, 100, 0, 0, 548, 76, 1, 0, 0, 0, 549, 550, 5, 115, 0, 0, 550, 551, 5, 116, 0, 0, 551, 552, 5, 97, 0, 0, 552, 553, 5, 116, 0, 0, 553, 554, 5, 101, 0, 0, 554, 78, 1, 0, 0, 0, 555, 556, 5, 101, 0, 0, 556, 557, 5, 100, 0, 0, 557, 558, 5, 103, 0, 0, 558, 559, 5, 101, 0, 0, 559, 80, 1, 0, 0, 0, 560, 561, 5, 112, 0, 0, 561, 562, 5, 114, 0, 0, 562, 563, 5, 111, 0, 0, 563, 564, 5, 106, 0, 0, 564, 565, 5, 101, 0, 0, 565, 566, 5, 99, 0, 0, 566, 567, 5, 116, 0, 0, 567, 568, 5, 105, 0, 0, 568, 569, 5, 111, 0, 0, 569, 570, 5, 110, 0, 0, 570, 82, 1, 0, 0, 0, 571, 572, 5, 119, 0, 0, 572, 573, 5, 105, 0, 0, 573, 574, 5, 116, 0, 0, 574, 575, 5, 104, 0, 0, 575, 84, 1, 0, 0, 0, 576, 577, 5, 117, 0, 0, 577, 578, 5, 115, 0, 0, 578, 579, 5, 105, 0, 0, 579, 580, 5, 110, 0, 0, 580, 581, 5, 103, 0, 0, 581, 86, 1, 0, 0, 0, 582, 583, 5, 118, 0, 0, 583, 584, 5, 105, 0, 0, 584, 585, 5, 97, 0, 0, 585, 88, 1, 0, 0, 0, 586, 587, 5, 109, 0, 0, 587, 588, 5, 97, 0, 0, 588, 589, 5, 116, 0, 0, 589, 590, 5, 101, 0, 0, 590, 591, 5, 114, 0, 0, 591, 592, 5, 105, 0, 0, 592, 593, 5, 97, 0, 0, 593, 594, 5, 108, 0, 0, 594, 595, 5, 105, 0, 0, 595, 596, 5, 122, 0, 0, 596, 597, 5, 101, 0, 0, 597, 90, 1, 0, 0, 0, 598, 599, 5, 105, 0, 0, 599, 600, 5, 102, 0, 0, 600, 92, 1, 0, 0, 0, 601, 602, 5, 97, 0, 0, 602, 603, 5, 98, 0, 0, 603, 604, 5, 115, 0, 0, 604, 605, 5, 101, 0, 0, 605, 606, 5, 110, 0, 0, 606, 607, 5, 116, 0, 0, 607, 94, 1, 0, 0, 0, 608, 609, 5, 111, 0, 0, 609, 610, 5, 110, 0, 0, 610, 96, 1, 0, 0, 0, 611, 612, 5, 112, 0, 0, 612, 613, 5, 111, 0, 0, 613, 614, 5, 108, 0, 0, 614, 615, 5, 105, 0, 0, 615, 616, 5, 99, 0, 0, 616, 617, 5, 121, 0, 0, 617, 98, 1, 0, 0, 0, 618, 619, 5, 100, 0, 0, 619, 620, 5, 101, 0, 0, 620, 621, 5, 102, 0, 0, 621, 622, 5, 97, 0, 0, 622, 623, 5, 117, 0, 0, 623, 624, 5, 108, 0, 0, 624, 625, 5, 116, 0, 0, 625, 100, 1, 0, 0, 0, 626, 627, 5, 115, 0, 0, 627, 628, 5, 111, 0, 0, 628, 629, 5, 117, 0, 0, 629, 630, 5, 114, 0, 0, 630, 631, 5, 99, 0, 0, 631, 632, 5, 101, 0, 0, 632, 102, 1, 0, 0, 0, 633, 634, 5, 114, 0, 0, 634, 635, 5, 101, 0, 0, 635, 636, 5, 112, 0, 0, 636, 637, 5, 111, 0, 0, 637, 638, 5, 115, 0, 0, 638, 639, 5, 105, 0, 0, 639, 640, 5, 116, 0, 0, 640, 641, 5, 111, 0, 0, 641, 642, 5, 114, 0, 0, 642, 643, 5, 121, 0, 0, 643, 104, 1, 0, 0, 0, 644, 645, 5, 99, 0, 0, 645, 646, 5, 111, 0, 0, 646, 647, 5, 109, 0, 0, 647, 648, 5, 109, 0, 0, 648, 649, 5, 105, 0, 0, 649, 650, 5, 116, 0, 0, 650, 106, 1, 0, 0, 0, 651, 652, 5, 114, 0, 0, 652, 653, 5, 101, 0, 0, 653, 654, 5, 118, 0, 0, 654, 655, 5, 105, 0, 0, 655, 656, 5, 115, 0, 0, 656, 657, 5, 105, 0, 0, 657, 658, 5, 111, 0, 0, 658, 659, 5, 110, 0, 0, 659, 108, 1, 0, 0, 0, 660, 661, 5, 115, 0, 0, 661, 662, 5, 101, 0, 0, 662, 663, 5, 109, 0, 0, 663, 664, 5, 97, 0, 0, 664, 665, 5, 110, 0, 0, 665, 666, 5, 116, 0, 0, 666, 667, 5, 105, 0, 0, 667, 668, 5, 99, 0, 0, 668, 669, 5, 45, 0, 0, 669, 670, 5, 109, 0, 0, 670, 671, 5, 97, 0, 0, 671, 672, 5, 106, 0, 0, 672, 673, 5, 111, 0, 0, 673, 674, 5, 114, 0, 0, 674, 110, 1, 0, 0, 0, 675, 676, 5, 111, 0, 0, 676, 677, 5, 110, 0, 0, 677, 678, 5, 45, 0, 0, 678, 679, 5, 100, 0, 0, 679, 680, 5, 101, 0, 0, 680, 681, 5, 108, 0, 0, 681, 682, 5, 101, 0, 0, 682, 683, 5, 116, 0, 0, 683, 684, 5, 101, 0, 0, 684, 112, 1, 0, 0, 0, 685, 686, 5, 114, 0, 0, 686, 687, 5, 101, 0, 0, 687, 688, 5, 116, 0, 0, 688, 689, 5, 97, 0, 0, 689, 690, 5, 105, 0, 0, 690, 691, 5, 110, 0, 0, 691, 692, 5, 45, 0, 0, 692, 693, 5, 111, 0, 0, 693, 694, 5, 116, 0, 0, 694, 695, 5, 104, 0, 0, 695, 696, 5, 101, 0, 0, 696, 697, 5, 114, 0, 0, 697, 114, 1, 0, 0, 0, 698, 699, 5, 107, 0, 0, 699, 700, 5, 101, 0, 0, 700, 701, 5, 121, 0, 0, 701, 702, 5, 101, 0, 0, 702, 703, 5, 100, 0, 0, 703, 116, 1, 0, 0, 0, 704, 705, 5, 112, 0, 0, 705, 706, 5, 117, 0, 0, 706, 707, 5, 98, 0, 0, 707, 708, 5, 108, 0, 0, 708, 709, 5, 105, 0, 0, 709, 710, 5, 99, 0, 0, 710, 711, 5, 45, 0, 0, 711, 712, 5, 116, 0, 0, 712, 713, 5, 114, 0, 0, 713, 714, 5, 97, 0, 0, 714, 715, 5, 118, 0, 0, 715, 716, 5, 101, 0, 0, 716, 717, 5, 114, 0, 0, 717, 718, 5, 115, 0, 0, 718, 719, 5, 97, 0, 0, 719, 720, 5, 108, 0, 0, 720, 118, 1, 0, 0, 0, 721, 722, 5, 105, 0, 0, 722, 723, 5, 100, 0, 0, 723, 120, 1, 0, 0, 0, 724, 725, 5, 100, 0, 0, 725, 726, 5, 111, 0, 0, 726, 727, 5, 99, 0, 0, 727, 122, 1, 0, 0, 0, 728, 729, 5, 109, 0, 0, 729, 730, 5, 111, 0, 0, 730, 731, 5, 100, 0, 0, 731, 732, 5, 101, 0, 0, 732, 124, 1, 0, 0, 0, 733, 734, 5, 101, 0, 0, 734, 735, 5, 109, 0, 0, 735, 736, 5, 105, 0, 0, 736, 737, 5, 116, 0, 0, 737, 738, 5, 115, 0, 0, 738, 126, 1, 0, 0, 0, 739, 740, 5, 114, 0, 0, 740, 741, 5, 101, 0, 0, 741, 742, 5, 99, 0, 0, 742, 743, 5, 101, 0, 0, 743, 744, 5, 105, 0, 0, 744, 745, 5, 118, 0, 0, 745, 746, 5, 101, 0, 0, 746, 747, 5, 114, 0, 0, 747, 128, 1, 0, 0, 0, 748, 749, 5, 114, 0, 0, 749, 750, 5, 101, 0, 0, 750, 751, 5, 113, 0, 0, 751, 752, 5, 117, 0, 0, 752, 753, 5, 105, 0, 0, 753, 754, 5, 114, 0, 0, 754, 755, 5, 101, 0, 0, 755, 756, 5, 115, 0, 0, 756, 130, 1, 0, 0, 0, 757, 758, 5, 97, 0, 0, 758, 759, 5, 110, 0, 0, 759, 760, 5, 121, 0, 0, 760, 132, 1, 0, 0, 0, 761, 762, 5, 103, 0, 0, 762, 763, 5, 101, 0, 0, 763, 764, 5, 116, 0, 0, 764, 134, 1, 0, 0, 0, 765, 766, 5, 115, 0, 0, 766, 767, 5, 101, 0, 0, 767, 768, 5, 116, 0, 0, 768, 136, 1, 0, 0, 0, 769, 770, 5, 119, 0, 0, 770, 771, 5, 97, 0, 0, 771, 772, 5, 116, 0, 0, 772, 773, 5, 99, 0, 0, 773, 774, 5, 104, 0, 0, 774, 138, 1, 0, 0, 0, 775, 776, 5, 115, 0, 0, 776, 777, 5, 116, 0, 0, 777, 778, 5, 97, 0, 0, 778, 779, 5, 114, 0, 0, 779, 780, 5, 116, 0, 0, 780, 140, 1, 0, 0, 0, 781, 782, 5, 115, 0, 0, 782, 783, 5, 116, 0, 0, 783, 784, 5, 111, 0, 0, 784, 785, 5, 112, 0, 0, 785, 142, 1, 0, 0, 0, 786, 787, 5, 114, 0, 0, 787, 788, 5, 101, 0, 0, 788, 789, 5, 97, 0, 0, 789, 790, 5, 100, 0, 0, 790, 144, 1, 0, 0, 0, 791, 792, 5, 119, 0, 0, 792, 793, 5, 114, 0, 0, 793, 794, 5, 105, 0, 0, 794, 795, 5, 116, 0, 0, 795, 796, 5, 101, 0, 0, 796, 146, 1, 0, 0, 0, 797, 798, 5, 114, 0, 0, 798, 799, 5, 101, 0, 0, 799, 800, 5, 115, 0, 0, 800, 801, 5, 111, 0, 0, 801, 802, 5, 108, 0, 0, 802, 803, 5, 118, 0, 0, 803, 804, 5, 101, 0, 0, 804, 148, 1, 0, 0, 0, 805, 806, 5, 99, 0, 0, 806, 807, 5, 111, 0, 0, 807, 808, 5, 110, 0, 0, 808, 809, 5, 110, 0, 0, 809, 810, 5, 101, 0, 0, 810, 811, 5, 99, 0, 0, 811, 812, 5, 116, 0, 0, 812, 150, 1, 0, 0, 0, 813, 814, 5, 100, 0, 0, 814, 815, 5, 105, 0, 0, 815, 816, 5, 115, 0, 0, 816, 817, 5, 99, 0, 0, 817, 818, 5, 111, 0, 0, 818, 819, 5, 110, 0, 0, 819, 820, 5, 110, 0, 0, 820, 821, 5, 101, 0, 0, 821, 822, 5, 99, 0, 0, 822, 823, 5, 116, 0, 0, 823, 152, 1, 0, 0, 0, 824, 825, 5, 99, 0, 0, 825, 826, 5, 97, 0, 0, 826, 827, 5, 108, 0, 0, 827, 828, 5, 108, 0, 0, 828, 154, 1, 0, 0, 0, 829, 830, 5, 119, 0, 0, 830, 831, 5, 97, 0, 0, 831, 832, 5, 116, 0, 0, 832, 833, 5, 99, 0, 0, 833, 834, 5, 104, 0, 0, 834, 835, 5, 45, 0, 0, 835, 836, 5, 115, 0, 0, 836, 837, 5, 116, 0, 0, 837, 838, 5, 97, 0, 0, 838, 839, 5, 114, 0, 0, 839, 840, 5, 116, 0, 0, 840, 156, 1, 0, 0, 0, 841, 842, 5, 119, 0, 0, 842, 843, 5, 97, 0, 0, 843, 844, 5, 116, 0, 0, 844, 845, 5, 99, 0, 0, 845, 846, 5, 104, 0, 0, 846, 847, 5, 45, 0, 0, 847, 848, 5, 115, 0, 0, 848, 849, 5, 116, 0, 0, 849, 850, 5, 111, 0, 0, 850, 851, 5, 112, 0, 0, 851, 158, 1, 0, 0, 0, 852, 853, 5, 115, 0, 0, 853, 854, 5, 117, 0, 0, 854, 855, 5, 98, 0, 0, 855, 856, 5, 115, 0, 0, 856, 857, 5, 99, 0, 0, 857, 858, 5, 114, 0, 0, 858, 859, 5, 105, 0, 0, 859, 860, 5, 98, 0, 0, 860, 861, 5, 101, 0, 0, 861, 160, 1, 0, 0, 0, 862, 863, 5, 117, 0, 0, 863, 864, 5, 110, 0, 0, 864, 865, 5, 115, 0, 0, 865, 866, 5, 117, 0, 0, 866, 867, 5, 98, 0, 0, 867, 868, 5, 115, 0, 0, 868, 869, 5, 99, 0, 0, 869, 870, 5, 114, 0, 0, 870, 871, 5, 105, 0, 0, 871, 872, 5, 98, 0, 0, 872, 873, 5, 101, 0, 0, 873, 162, 1, 0, 0, 0, 874, 875, 5, 111, 0, 0, 875, 876, 5, 112, 0, 0, 876, 877, 5, 116, 0, 0, 877, 878, 5, 105, 0, 0, 878, 879, 5, 109, 0, 0, 879, 880, 5, 105, 0, 0, 880, 881, 5, 115, 0, 0, 881, 882, 5, 116, 0, 0, 882, 883, 5, 105, 0, 0, 883, 884, 5, 99, 0, 0, 884, 885, 5, 45, 0, 0, 885, 886, 5, 114, 0, 0, 886, 887, 5, 101, 0, 0, 887, 888, 5, 103, 0, 0, 888, 889, 5, 105, 0, 0, 889, 890, 5, 115, 0, 0, 890, 891, 5, 116, 0, 0, 891, 892, 5, 101, 0, 0, 892, 893, 5, 114, 0, 0, 893, 164, 1, 0, 0, 0, 894, 895, 5, 99, 0, 0, 895, 896, 5, 114, 0, 0, 896, 897, 5, 100, 0, 0, 897, 898, 5, 116, 0, 0, 898, 166, 1, 0, 0, 0, 899, 900, 5, 111, 0, 0, 900, 901, 5, 112, 0, 0, 901, 902, 5, 116, 0, 0, 902, 903, 5, 105, 0, 0, 903, 904, 5, 111, 0, 0, 904, 905, 5, 110, 0, 0, 905, 906, 5, 97, 0, 0, 906, 907, 5, 108, 0, 0, 907, 908, 5, 45, 0, 0, 908, 909, 5, 111, 0, 0, 909, 910, 5, 110, 0, 0, 910, 911, 5, 101, 0, 0, 911, 168, 1, 0, 0, 0, 912, 913, 5, 101, 0, 0, 913, 914, 5, 120, 0, 0, 914, 915, 5, 97, 0, 0, 915, 916, 5, 99, 0, 0, 916, 917, 5, 116, 0, 0, 917, 918, 5, 108, 0, 0, 918, 919, 5, 121, 0, 0, 919, 920, 5, 45, 0, 0, 920, 921, 5, 111, 0, 0, 921, 922, 5, 110, 0, 0, 922, 923, 5, 101, 0, 0, 923, 170, 1, 0, 0, 0, 924, 925, 5, 109, 0, 0, 925, 926, 5, 97, 0, 0, 926, 927, 5, 110, 0, 0, 927, 928, 5, 121, 0, 0, 928, 929, 5, 45, 0, 0, 929, 930, 5, 117, 0, 0, 930, 931, 5, 110, 0, 0, 931, 932, 5, 105, 0, 0, 932, 933, 5, 113, 0, 0, 933, 934, 5, 117, 0, 0, 934, 935, 5, 101, 0, 0, 935, 172, 1, 0, 0, 0, 936, 937, 5, 109, 0, 0, 937, 938, 5, 97, 0, 0, 938, 939, 5, 110, 0, 0, 939, 940, 5, 121, 0, 0, 940, 174, 1, 0, 0, 0, 941, 942, 5, 111, 0, 0, 942, 943, 5, 114, 0, 0, 943, 944, 5, 100, 0, 0, 944, 945, 5, 101, 0, 0, 945, 946, 5, 114, 0, 0, 946, 947, 5, 101, 0, 0, 947, 948, 5, 100, 0, 0, 948, 176, 1, 0, 0, 0, 949, 950, 5, 117, 0, 0, 950, 951, 5, 110, 0, 0, 951, 952, 5, 105, 0, 0, 952, 953, 5, 116, 0, 0, 953, 178, 1, 0, 0, 0, 954, 955, 5, 119, 0, 0, 955, 956, 5, 97, 0, 0, 956, 957, 5, 116, 0, 0, 957, 958, 5, 99, 0, 0, 958, 959, 5, 104, 0, 0, 959, 960, 5, 45, 0, 0, 960, 961, 5, 104, 0, 0, 961, 962, 5, 97, 0, 0, 962, 963, 5, 110, 0, 0, 963, 964, 5, 100, 0, 0, 964, 965, 5, 108, 0, 0, 965, 966, 5, 101, 0, 0, 966, 180, 1, 0, 0, 0, 967, 968, 5, 109, 0, 0, 968, 969, 5, 101, 0, 0, 969, 970, 5, 115, 0, 0, 970, 971, 5, 115, 0, 0, 971, 972, 5, 97, 0, 0, 972, 973, 5, 103, 0, 0, 973, 974, 5, 101, 0, 0, 974, 182, 1, 0, 0, 0, 975, 976, 5, 97, 0, 0, 976, 977, 5, 116, 0, 0, 977, 978, 5, 111, 0, 0, 978, 979, 5, 109, 0, 0, 979, 980, 5, 45, 0, 0, 980, 981, 5, 114, 0, 0, 981, 982, 5, 101, 0, 0, 982, 983, 5, 102, 0, 0, 983, 184, 1, 0, 0, 0, 984, 985, 5, 105, 0, 0, 985, 986, 5, 110, 0, 0, 986, 987, 5, 116, 0, 0, 987, 988, 5, 101, 0, 0, 988, 989, 5, 114, 0, 0, 989, 990, 5, 102, 0, 0, 990, 991, 5, 97, 0, 0, 991, 992, 5, 99, 0, 0, 992, 993, 5, 101, 0, 0, 993, 994, 5, 45, 0, 0, 994, 995, 5, 114, 0, 0, 995, 996, 5, 101, 0, 0, 996, 997, 5, 102, 0, 0, 997, 186, 1, 0, 0, 0, 998, 999, 5, 111, 0, 0, 999, 1000, 5, 112, 0, 0, 1000, 1001, 5, 116, 0, 0, 1001, 1002, 5, 105, 0, 0, 1002, 1003, 5, 111, 0, 0, 1003, 1004, 5, 110, 0, 0, 1004, 1005, 5, 97, 0, 0, 1005, 1006, 5, 108, 0, 0, 1006, 188, 1, 0, 0, 0, 1007, 1008, 5, 108, 0, 0, 1008, 1009, 5, 105, 0, 0, 1009, 1010, 5, 115, 0, 0, 1010, 1011, 5, 116, 0, 0, 1011, 190, 1, 0, 0, 0, 1012, 1013, 5, 114, 0, 0, 1013, 1014, 5, 101, 0, 0, 1014, 1015, 5, 99, 0, 0, 1015, 1016, 5, 111, 0, 0, 1016, 1017, 5, 114, 0, 0, 1017, 1018, 5, 100, 0, 0, 1018, 192, 1, 0, 0, 0, 1019, 1020, 5, 98, 0, 0, 1020, 1021, 5, 111, 0, 0, 1021, 1022, 5, 111, 0, 0, 1022, 1023, 5, 108, 0, 0, 1023, 194, 1, 0, 0, 0, 1024, 1025, 5, 98, 0, 0, 1025, 1026, 5, 121, 0, 0, 1026, 1027, 5, 116, 0, 0, 1027, 1028, 5, 101, 0, 0, 1028, 1029, 5, 115, 0, 0, 1029, 196, 1, 0, 0, 0, 1030, 1031, 5, 100, 0, 0, 1031, 1032, 5, 111, 0, 0, 1032, 1033, 5, 117, 0, 0, 1033, 1034, 5, 98, 0, 0, 1034, 1035, 5, 108, 0, 0, 1035, 1036, 5, 101, 0, 0, 1036, 198, 1, 0, 0, 0, 1037, 1038, 5, 105, 0, 0, 1038, 1039, 5, 110, 0, 0, 1039, 1040, 5, 116, 0, 0, 1040, 1041, 5, 51, 0, 0, 1041, 1042, 5, 50, 0, 0, 1042, 200, 1, 0, 0, 0, 1043, 1044, 5, 105, 0, 0, 1044, 1045, 5, 110, 0, 0, 1045, 1046, 5, 116, 0, 0, 1046, 1047, 5, 54, 0, 0, 1047, 1048, 5, 52, 0, 0, 1048, 202, 1, 0, 0, 0, 1049, 1050, 5, 115, 0, 0, 1050, 1051, 5, 116, 0, 0, 1051, 1052, 5, 114, 0, 0, 1052, 1053, 5, 105, 0, 0, 1053, 1054, 5, 110, 0, 0, 1054, 1055, 5, 103, 0, 0, 1055, 204, 1, 0, 0, 0, 1056, 1057, 5, 117, 0, 0, 1057, 1058, 5, 105, 0, 0, 1058, 1059, 5, 110, 0, 0, 1059, 1060, 5, 116, 0, 0, 1060, 1061, 5, 51, 0, 0, 1061, 1062, 5, 50, 0, 0, 1062, 206, 1, 0, 0, 0, 1063, 1064, 5, 117, 0, 0, 1064, 1065, 5, 105, 0, 0, 1065, 1066, 5, 110, 0, 0, 1066, 1067, 5, 116, 0, 0, 1067, 1068, 5, 54, 0, 0, 1068, 1069, 5, 52, 0, 0, 1069, 208, 1, 0, 0, 0, 1070, 1071, 5, 116, 0, 0, 1071, 1072, 5, 114, 0, 0, 1072, 1073, 5, 117, 0, 0, 1073, 1074, 5, 101, 0, 0, 1074, 210, 1, 0, 0, 0, 1075, 1076, 5, 102, 0, 0, 1076, 1077, 5, 97, 0, 0, 1077, 1078, 5, 108, 0, 0, 1078, 1079, 5, 115, 0, 0, 1079, 1080, 5, 101, 0, 0, 1080, 212, 1, 0, 0, 0, 1081, 1082, 5, 110, 0, 0, 1082, 1083, 5, 117, 0, 0, 1083, 1084, 5, 108, 0, 0, 1084, 1085, 5, 108, 0, 0, 1085, 214, 1, 0, 0, 0, 1086, 1087, 5, 45, 0, 0, 1087, 1088, 5, 62, 0, 0, 1088, 216, 1, 0, 0, 0, 1089, 1090, 5, 58, 0, 0, 1090, 218, 1, 0, 0, 0, 1091, 1092, 5, 59, 0, 0, 1092, 220, 1, 0, 0, 0, 1093, 1094, 5, 44, 0, 0, 1094, 222, 1, 0, 0, 0, 1095, 1096, 5, 46, 0, 0, 1096, 224, 1, 0, 0, 0, 1097, 1098, 5, 123, 0, 0, 1098, 226, 1, 0, 0, 0, 1099, 1100, 5, 125, 0, 0, 1100, 228, 1, 0, 0, 0, 1101, 1102, 5, 91, 0, 0, 1102, 230, 1, 0, 0, 0, 1103, 1104, 5, 93, 0, 0, 1104, 232, 1, 0, 0, 0, 1105, 1106, 5, 40, 0, 0, 1106, 234, 1, 0, 0, 0, 1107, 1108, 5, 41, 0, 0, 1108, 236, 1, 0, 0, 0, 1109, 1110, 5, 60, 0, 0, 1110, 238, 1, 0, 0, 0, 1111, 1112, 5, 62, 0, 0, 1112, 240, 1, 0, 0, 0, 1113, 1114, 5, 38, 0, 0, 1114, 242, 1, 0, 0, 0, 1115, 1116, 5, 61, 0, 0, 1116, 244, 1, 0, 0, 0, 1117, 1119, 5, 45, 0, 0, 1118, 1117, 1, 0, 0, 0, 1118, 1119, 1, 0, 0, 0, 1119, 1121, 1, 0, 0, 0, 1120, 1122, 7, 0, 0, 0, 1121, 1120, 1, 0, 0, 0, 1122, 1123, 1, 0, 0, 0, 1123, 1121, 1, 0, 0, 0, 1123, 1124, 1, 0, 0, 0, 1124, 246, 1, 0, 0, 0, 1125, 1127, 5, 45, 0, 0, 1126, 1125, 1, 0, 0, 0, 1126, 1127, 1, 0, 0, 0, 1127, 1136, 1, 0, 0, 0, 1128, 1137, 5, 48, 0, 0, 1129, 1133, 7, 1, 0, 0, 1130, 1132, 7, 0, 0, 0, 1131, 1130, 1, 0, 0, 0, 1132, 1135, 1, 0, 0, 0, 1133, 1131, 1, 0, 0, 0, 1133, 1134, 1, 0, 0, 0, 1134, 1137, 1, 0, 0, 0, 1135, 1133, 1, 0, 0, 0, 1136, 1128, 1, 0, 0, 0, 1136, 1129, 1, 0, 0, 0, 1137, 1144, 1, 0, 0, 0, 1138, 1140, 5, 46, 0, 0, 1139, 1141, 7, 0, 0, 0, 1140, 1139, 1, 0, 0, 0, 1141, 1142, 1, 0, 0, 0, 1142, 1140, 1, 0, 0, 0, 1142, 1143, 1, 0, 0, 0, 1143, 1145, 1, 0, 0, 0, 1144, 1138, 1, 0, 0, 0, 1144, 1145, 1, 0, 0, 0, 1145, 1155, 1, 0, 0, 0, 1146, 1148, 7, 2, 0, 0, 1147, 1149, 7, 3, 0, 0, 1148, 1147, 1, 0, 0, 0, 1148, 1149, 1, 0, 0, 0, 1149, 1151, 1, 0, 0, 0, 1150, 1152, 7, 0, 0, 0, 1151, 1150, 1, 0, 0, 0, 1152, 1153, 1, 0, 0, 0, 1153, 1151, 1, 0, 0, 0, 1153, 1154, 1, 0, 0, 0, 1154, 1156, 1, 0, 0, 0, 1155, 1146, 1, 0, 0, 0, 1155, 1156, 1, 0, 0, 0, 1156, 248, 1, 0, 0, 0, 1157, 1161, 7, 4, 0, 0, 1158, 1160, 7, 5, 0, 0, 1159, 1158, 1, 0, 0, 0, 1160, 1163, 1, 0, 0, 0, 1161, 1159, 1, 0, 0, 0, 1161, 1162, 1, 0, 0, 0, 1162, 250, 1, 0, 0, 0, 1163, 1161, 1, 0, 0, 0, 1164, 1169, 5, 34, 0, 0, 1165, 1168, 3, 253, 126, 0, 1166, 1168, 8, 6, 0, 0, 1167, 1165, 1, 0, 0, 0, 1167, 1166, 1, 0, 0, 0, 1168, 1171, 1, 0, 0, 0, 1169, 1167, 1, 0, 0, 0, 1169, 1170, 1, 0, 0, 0, 1170, 1172, 1, 0, 0, 0, 1171, 1169, 1, 0, 0, 0, 1172, 1173, 5, 34, 0, 0, 1173, 252, 1, 0, 0, 0, 1174, 1182, 5, 92, 0, 0, 1175, 1183, 7, 7, 0, 0, 1176, 1177, 5, 117, 0, 0, 1177, 1178, 3, 255, 127, 0, 1178, 1179, 3, 255, 127, 0, 1179, 1180, 3, 255, 127, 0, 1180, 1181, 3, 255, 127, 0, 1181, 1183, 1, 0, 0, 0, 1182, 1175, 1, 0, 0, 0, 1182, 1176, 1, 0, 0, 0, 1183, 254, 1, 0, 0, 0, 1184, 1185, 7, 8, 0, 0, 1185, 256, 1, 0, 0, 0, 1186, 1187, 5, 47, 0, 0, 1187, 1188, 5, 47, 0, 0, 1188, 1192, 1, 0, 0, 0, 1189, 1191, 8, 9, 0, 0, 1190, 1189, 1, 0, 0, 0, 1191, 1194, 1, 0, 0, 0, 1192, 1190, 1, 0, 0, 0, 1192, 1193, 1, 0, 0, 0, 1193, 1195, 1, 0, 0, 0, 1194, 1192, 1, 0, 0, 0, 1195, 1196, 6, 128, 0, 0, 1196, 258, 1, 0, 0, 0, 1197, 1198, 5, 47, 0, 0, 1198, 1199, 5, 42, 0, 0, 1199, 1203, 1, 0, 0, 0, 1200, 1202, 9, 0, 0, 0, 1201, 1200, 1, 0, 0, 0, 1202, 1205, 1, 0, 0, 0, 1203, 1204, 1, 0, 0, 0, 1203, 1201, 1, 0, 0, 0, 1204, 1206, 1, 0, 0, 0, 1205, 1203, 1, 0, 0, 0, 1206, 1207, 5, 42, 0, 0, 1207, 1208, 5, 47, 0, 0, 1208, 1209, 1, 0, 0, 0, 1209, 1210, 6, 129, 0, 0, 1210, 260, 1, 0, 0, 0, 1211, 1213, 7, 10, 0, 0, 1212, 1211, 1, 0, 0, 0, 1213, 1214, 1, 0, 0, 0, 1214, 1212, 1, 0, 0, 0, 1214, 1215, 1, 0, 0, 0, 1215, 1216, 1, 0, 0, 0, 1216, 1217, 6, 130, 0, 0, 1217, 262, 1, 0, 0, 0, 18, 0, 1118, 1123, 1126, 1133, 1136, 1142, 1144, 1148, 1153, 1155, 1161, 1167, 1169, 1182, 1192, 1203, 1214, 1, 0, 1, 0] \ No newline at end of file +[4, 0, 130, 1231, 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, 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, 2, 1, 2, 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, 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, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 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, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 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, 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, 15, 1, 16, 1, 16, 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, 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, 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, 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, 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, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 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, 52, 1, 52, 1, 52, 1, 52, 1, 52, 1, 53, 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, 54, 1, 54, 1, 54, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 64, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 65, 1, 66, 1, 66, 1, 66, 1, 66, 1, 67, 1, 67, 1, 67, 1, 67, 1, 68, 1, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 69, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 70, 1, 71, 1, 71, 1, 71, 1, 71, 1, 71, 1, 72, 1, 72, 1, 72, 1, 72, 1, 72, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 73, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 74, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 75, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 76, 1, 77, 1, 77, 1, 77, 1, 77, 1, 77, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 78, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 79, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 80, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 81, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 82, 1, 83, 1, 83, 1, 83, 1, 83, 1, 83, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 84, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 85, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 86, 1, 87, 1, 87, 1, 87, 1, 87, 1, 87, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 88, 1, 89, 1, 89, 1, 89, 1, 89, 1, 89, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 90, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 91, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 92, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 93, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 94, 1, 95, 1, 95, 1, 95, 1, 95, 1, 95, 1, 96, 1, 96, 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, 98, 1, 98, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 99, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 100, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 101, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 102, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 103, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 104, 1, 105, 1, 105, 1, 105, 1, 105, 1, 105, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 106, 1, 107, 1, 107, 1, 107, 1, 107, 1, 107, 1, 108, 1, 108, 1, 108, 1, 109, 1, 109, 1, 110, 1, 110, 1, 111, 1, 111, 1, 112, 1, 112, 1, 113, 1, 113, 1, 114, 1, 114, 1, 115, 1, 115, 1, 116, 1, 116, 1, 117, 1, 117, 1, 118, 1, 118, 1, 119, 1, 119, 1, 120, 1, 120, 1, 121, 1, 121, 1, 122, 1, 122, 1, 123, 3, 123, 1132, 8, 123, 1, 123, 4, 123, 1135, 8, 123, 11, 123, 12, 123, 1136, 1, 124, 3, 124, 1140, 8, 124, 1, 124, 1, 124, 1, 124, 5, 124, 1145, 8, 124, 10, 124, 12, 124, 1148, 9, 124, 3, 124, 1150, 8, 124, 1, 124, 1, 124, 4, 124, 1154, 8, 124, 11, 124, 12, 124, 1155, 3, 124, 1158, 8, 124, 1, 124, 1, 124, 3, 124, 1162, 8, 124, 1, 124, 4, 124, 1165, 8, 124, 11, 124, 12, 124, 1166, 3, 124, 1169, 8, 124, 1, 125, 1, 125, 5, 125, 1173, 8, 125, 10, 125, 12, 125, 1176, 9, 125, 1, 126, 1, 126, 1, 126, 5, 126, 1181, 8, 126, 10, 126, 12, 126, 1184, 9, 126, 1, 126, 1, 126, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 1, 127, 3, 127, 1196, 8, 127, 1, 128, 1, 128, 1, 129, 1, 129, 1, 129, 1, 129, 5, 129, 1204, 8, 129, 10, 129, 12, 129, 1207, 9, 129, 1, 129, 1, 129, 1, 130, 1, 130, 1, 130, 1, 130, 5, 130, 1215, 8, 130, 10, 130, 12, 130, 1218, 9, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 130, 1, 131, 4, 131, 1226, 8, 131, 11, 131, 12, 131, 1227, 1, 131, 1, 131, 1, 1216, 0, 132, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39, 79, 40, 81, 41, 83, 42, 85, 43, 87, 44, 89, 45, 91, 46, 93, 47, 95, 48, 97, 49, 99, 50, 101, 51, 103, 52, 105, 53, 107, 54, 109, 55, 111, 56, 113, 57, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127, 64, 129, 65, 131, 66, 133, 67, 135, 68, 137, 69, 139, 70, 141, 71, 143, 72, 145, 73, 147, 74, 149, 75, 151, 76, 153, 77, 155, 78, 157, 79, 159, 80, 161, 81, 163, 82, 165, 83, 167, 84, 169, 85, 171, 86, 173, 87, 175, 88, 177, 89, 179, 90, 181, 91, 183, 92, 185, 93, 187, 94, 189, 95, 191, 96, 193, 97, 195, 98, 197, 99, 199, 100, 201, 101, 203, 102, 205, 103, 207, 104, 209, 105, 211, 106, 213, 107, 215, 108, 217, 109, 219, 110, 221, 111, 223, 112, 225, 113, 227, 114, 229, 115, 231, 116, 233, 117, 235, 118, 237, 119, 239, 120, 241, 121, 243, 122, 245, 123, 247, 124, 249, 125, 251, 126, 253, 127, 255, 0, 257, 0, 259, 128, 261, 129, 263, 130, 1, 0, 11, 1, 0, 48, 57, 1, 0, 49, 57, 2, 0, 69, 69, 101, 101, 2, 0, 43, 43, 45, 45, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 4, 0, 10, 10, 13, 13, 34, 34, 92, 92, 8, 0, 34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, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107, 1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 111, 1, 0, 0, 0, 0, 113, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0, 0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 127, 1, 0, 0, 0, 0, 129, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1, 0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 0, 143, 1, 0, 0, 0, 0, 145, 1, 0, 0, 0, 0, 147, 1, 0, 0, 0, 0, 149, 1, 0, 0, 0, 0, 151, 1, 0, 0, 0, 0, 153, 1, 0, 0, 0, 0, 155, 1, 0, 0, 0, 0, 157, 1, 0, 0, 0, 0, 159, 1, 0, 0, 0, 0, 161, 1, 0, 0, 0, 0, 163, 1, 0, 0, 0, 0, 165, 1, 0, 0, 0, 0, 167, 1, 0, 0, 0, 0, 169, 1, 0, 0, 0, 0, 171, 1, 0, 0, 0, 0, 173, 1, 0, 0, 0, 0, 175, 1, 0, 0, 0, 0, 177, 1, 0, 0, 0, 0, 179, 1, 0, 0, 0, 0, 181, 1, 0, 0, 0, 0, 183, 1, 0, 0, 0, 0, 185, 1, 0, 0, 0, 0, 187, 1, 0, 0, 0, 0, 189, 1, 0, 0, 0, 0, 191, 1, 0, 0, 0, 0, 193, 1, 0, 0, 0, 0, 195, 1, 0, 0, 0, 0, 197, 1, 0, 0, 0, 0, 199, 1, 0, 0, 0, 0, 201, 1, 0, 0, 0, 0, 203, 1, 0, 0, 0, 0, 205, 1, 0, 0, 0, 0, 207, 1, 0, 0, 0, 0, 209, 1, 0, 0, 0, 0, 211, 1, 0, 0, 0, 0, 213, 1, 0, 0, 0, 0, 215, 1, 0, 0, 0, 0, 217, 1, 0, 0, 0, 0, 219, 1, 0, 0, 0, 0, 221, 1, 0, 0, 0, 0, 223, 1, 0, 0, 0, 0, 225, 1, 0, 0, 0, 0, 227, 1, 0, 0, 0, 0, 229, 1, 0, 0, 0, 0, 231, 1, 0, 0, 0, 0, 233, 1, 0, 0, 0, 0, 235, 1, 0, 0, 0, 0, 237, 1, 0, 0, 0, 0, 239, 1, 0, 0, 0, 0, 241, 1, 0, 0, 0, 0, 243, 1, 0, 0, 0, 0, 245, 1, 0, 0, 0, 0, 247, 1, 0, 0, 0, 0, 249, 1, 0, 0, 0, 0, 251, 1, 0, 0, 0, 0, 253, 1, 0, 0, 0, 0, 259, 1, 0, 0, 0, 0, 261, 1, 0, 0, 0, 0, 263, 1, 0, 0, 0, 1, 265, 1, 0, 0, 0, 3, 275, 1, 0, 0, 0, 5, 281, 1, 0, 0, 0, 7, 292, 1, 0, 0, 0, 9, 297, 1, 0, 0, 0, 11, 306, 1, 0, 0, 0, 13, 316, 1, 0, 0, 0, 15, 321, 1, 0, 0, 0, 17, 325, 1, 0, 0, 0, 19, 331, 1, 0, 0, 0, 21, 336, 1, 0, 0, 0, 23, 346, 1, 0, 0, 0, 25, 350, 1, 0, 0, 0, 27, 363, 1, 0, 0, 0, 29, 368, 1, 0, 0, 0, 31, 375, 1, 0, 0, 0, 33, 384, 1, 0, 0, 0, 35, 395, 1, 0, 0, 0, 37, 399, 1, 0, 0, 0, 39, 408, 1, 0, 0, 0, 41, 415, 1, 0, 0, 0, 43, 424, 1, 0, 0, 0, 45, 429, 1, 0, 0, 0, 47, 439, 1, 0, 0, 0, 49, 450, 1, 0, 0, 0, 51, 458, 1, 0, 0, 0, 53, 464, 1, 0, 0, 0, 55, 473, 1, 0, 0, 0, 57, 483, 1, 0, 0, 0, 59, 492, 1, 0, 0, 0, 61, 504, 1, 0, 0, 0, 63, 515, 1, 0, 0, 0, 65, 521, 1, 0, 0, 0, 67, 529, 1, 0, 0, 0, 69, 532, 1, 0, 0, 0, 71, 537, 1, 0, 0, 0, 73, 544, 1, 0, 0, 0, 75, 547, 1, 0, 0, 0, 77, 555, 1, 0, 0, 0, 79, 562, 1, 0, 0, 0, 81, 568, 1, 0, 0, 0, 83, 573, 1, 0, 0, 0, 85, 584, 1, 0, 0, 0, 87, 589, 1, 0, 0, 0, 89, 595, 1, 0, 0, 0, 91, 599, 1, 0, 0, 0, 93, 611, 1, 0, 0, 0, 95, 614, 1, 0, 0, 0, 97, 621, 1, 0, 0, 0, 99, 624, 1, 0, 0, 0, 101, 631, 1, 0, 0, 0, 103, 639, 1, 0, 0, 0, 105, 646, 1, 0, 0, 0, 107, 657, 1, 0, 0, 0, 109, 664, 1, 0, 0, 0, 111, 673, 1, 0, 0, 0, 113, 688, 1, 0, 0, 0, 115, 698, 1, 0, 0, 0, 117, 711, 1, 0, 0, 0, 119, 717, 1, 0, 0, 0, 121, 734, 1, 0, 0, 0, 123, 737, 1, 0, 0, 0, 125, 741, 1, 0, 0, 0, 127, 746, 1, 0, 0, 0, 129, 752, 1, 0, 0, 0, 131, 761, 1, 0, 0, 0, 133, 770, 1, 0, 0, 0, 135, 774, 1, 0, 0, 0, 137, 778, 1, 0, 0, 0, 139, 782, 1, 0, 0, 0, 141, 788, 1, 0, 0, 0, 143, 794, 1, 0, 0, 0, 145, 799, 1, 0, 0, 0, 147, 804, 1, 0, 0, 0, 149, 810, 1, 0, 0, 0, 151, 818, 1, 0, 0, 0, 153, 826, 1, 0, 0, 0, 155, 837, 1, 0, 0, 0, 157, 842, 1, 0, 0, 0, 159, 854, 1, 0, 0, 0, 161, 865, 1, 0, 0, 0, 163, 875, 1, 0, 0, 0, 165, 887, 1, 0, 0, 0, 167, 907, 1, 0, 0, 0, 169, 912, 1, 0, 0, 0, 171, 925, 1, 0, 0, 0, 173, 937, 1, 0, 0, 0, 175, 949, 1, 0, 0, 0, 177, 954, 1, 0, 0, 0, 179, 962, 1, 0, 0, 0, 181, 967, 1, 0, 0, 0, 183, 980, 1, 0, 0, 0, 185, 988, 1, 0, 0, 0, 187, 997, 1, 0, 0, 0, 189, 1011, 1, 0, 0, 0, 191, 1020, 1, 0, 0, 0, 193, 1025, 1, 0, 0, 0, 195, 1032, 1, 0, 0, 0, 197, 1037, 1, 0, 0, 0, 199, 1043, 1, 0, 0, 0, 201, 1050, 1, 0, 0, 0, 203, 1056, 1, 0, 0, 0, 205, 1062, 1, 0, 0, 0, 207, 1069, 1, 0, 0, 0, 209, 1076, 1, 0, 0, 0, 211, 1083, 1, 0, 0, 0, 213, 1088, 1, 0, 0, 0, 215, 1094, 1, 0, 0, 0, 217, 1099, 1, 0, 0, 0, 219, 1102, 1, 0, 0, 0, 221, 1104, 1, 0, 0, 0, 223, 1106, 1, 0, 0, 0, 225, 1108, 1, 0, 0, 0, 227, 1110, 1, 0, 0, 0, 229, 1112, 1, 0, 0, 0, 231, 1114, 1, 0, 0, 0, 233, 1116, 1, 0, 0, 0, 235, 1118, 1, 0, 0, 0, 237, 1120, 1, 0, 0, 0, 239, 1122, 1, 0, 0, 0, 241, 1124, 1, 0, 0, 0, 243, 1126, 1, 0, 0, 0, 245, 1128, 1, 0, 0, 0, 247, 1131, 1, 0, 0, 0, 249, 1139, 1, 0, 0, 0, 251, 1170, 1, 0, 0, 0, 253, 1177, 1, 0, 0, 0, 255, 1187, 1, 0, 0, 0, 257, 1197, 1, 0, 0, 0, 259, 1199, 1, 0, 0, 0, 261, 1210, 1, 0, 0, 0, 263, 1225, 1, 0, 0, 0, 265, 266, 5, 119, 0, 0, 266, 267, 5, 111, 0, 0, 267, 268, 5, 114, 0, 0, 268, 269, 5, 107, 0, 0, 269, 270, 5, 115, 0, 0, 270, 271, 5, 112, 0, 0, 271, 272, 5, 97, 0, 0, 272, 273, 5, 99, 0, 0, 273, 274, 5, 101, 0, 0, 274, 2, 1, 0, 0, 0, 275, 276, 5, 113, 0, 0, 276, 277, 5, 117, 0, 0, 277, 278, 5, 101, 0, 0, 278, 279, 5, 114, 0, 0, 279, 280, 5, 121, 0, 0, 280, 4, 1, 0, 0, 0, 281, 282, 5, 115, 0, 0, 282, 283, 5, 112, 0, 0, 283, 284, 5, 101, 0, 0, 284, 285, 5, 99, 0, 0, 285, 286, 5, 105, 0, 0, 286, 287, 5, 97, 0, 0, 287, 288, 5, 108, 0, 0, 288, 289, 5, 105, 0, 0, 289, 290, 5, 122, 0, 0, 290, 291, 5, 101, 0, 0, 291, 6, 1, 0, 0, 0, 292, 293, 5, 114, 0, 0, 293, 294, 5, 111, 0, 0, 294, 295, 5, 111, 0, 0, 295, 296, 5, 116, 0, 0, 296, 8, 1, 0, 0, 0, 297, 298, 5, 100, 0, 0, 298, 299, 5, 111, 0, 0, 299, 300, 5, 99, 0, 0, 300, 301, 5, 117, 0, 0, 301, 302, 5, 109, 0, 0, 302, 303, 5, 101, 0, 0, 303, 304, 5, 110, 0, 0, 304, 305, 5, 116, 0, 0, 305, 10, 1, 0, 0, 0, 306, 307, 5, 102, 0, 0, 307, 308, 5, 114, 0, 0, 308, 309, 5, 97, 0, 0, 309, 310, 5, 103, 0, 0, 310, 311, 5, 109, 0, 0, 311, 312, 5, 101, 0, 0, 312, 313, 5, 110, 0, 0, 313, 314, 5, 116, 0, 0, 314, 315, 5, 115, 0, 0, 315, 12, 1, 0, 0, 0, 316, 317, 5, 118, 0, 0, 317, 318, 5, 105, 0, 0, 318, 319, 5, 101, 0, 0, 319, 320, 5, 119, 0, 0, 320, 14, 1, 0, 0, 0, 321, 322, 5, 109, 0, 0, 322, 323, 5, 97, 0, 0, 323, 324, 5, 120, 0, 0, 324, 16, 1, 0, 0, 0, 325, 326, 5, 97, 0, 0, 326, 327, 5, 108, 0, 0, 327, 328, 5, 108, 0, 0, 328, 329, 5, 111, 0, 0, 329, 330, 5, 119, 0, 0, 330, 18, 1, 0, 0, 0, 331, 332, 5, 112, 0, 0, 332, 333, 5, 111, 0, 0, 333, 334, 5, 108, 0, 0, 334, 335, 5, 108, 0, 0, 335, 20, 1, 0, 0, 0, 336, 337, 5, 113, 0, 0, 337, 338, 5, 117, 0, 0, 338, 339, 5, 101, 0, 0, 339, 340, 5, 114, 0, 0, 340, 341, 5, 121, 0, 0, 341, 342, 5, 97, 0, 0, 342, 343, 5, 98, 0, 0, 343, 344, 5, 108, 0, 0, 344, 345, 5, 101, 0, 0, 345, 22, 1, 0, 0, 0, 346, 347, 5, 114, 0, 0, 347, 348, 5, 112, 0, 0, 348, 349, 5, 99, 0, 0, 349, 24, 1, 0, 0, 0, 350, 351, 5, 113, 0, 0, 351, 352, 5, 117, 0, 0, 352, 353, 5, 101, 0, 0, 353, 354, 5, 114, 0, 0, 354, 355, 5, 121, 0, 0, 355, 356, 5, 45, 0, 0, 356, 357, 5, 114, 0, 0, 357, 358, 5, 101, 0, 0, 358, 359, 5, 97, 0, 0, 359, 360, 5, 115, 0, 0, 360, 361, 5, 111, 0, 0, 361, 362, 5, 110, 0, 0, 362, 26, 1, 0, 0, 0, 363, 364, 5, 116, 0, 0, 364, 365, 5, 121, 0, 0, 365, 366, 5, 112, 0, 0, 366, 367, 5, 101, 0, 0, 367, 28, 1, 0, 0, 0, 368, 369, 5, 111, 0, 0, 369, 370, 5, 98, 0, 0, 370, 371, 5, 106, 0, 0, 371, 372, 5, 101, 0, 0, 372, 373, 5, 99, 0, 0, 373, 374, 5, 116, 0, 0, 374, 30, 1, 0, 0, 0, 375, 376, 5, 115, 0, 0, 376, 377, 5, 116, 0, 0, 377, 378, 5, 111, 0, 0, 378, 379, 5, 114, 0, 0, 379, 380, 5, 97, 0, 0, 380, 381, 5, 98, 0, 0, 381, 382, 5, 108, 0, 0, 382, 383, 5, 101, 0, 0, 383, 32, 1, 0, 0, 0, 384, 385, 5, 105, 0, 0, 385, 386, 5, 109, 0, 0, 386, 387, 5, 112, 0, 0, 387, 388, 5, 108, 0, 0, 388, 389, 5, 101, 0, 0, 389, 390, 5, 109, 0, 0, 390, 391, 5, 101, 0, 0, 391, 392, 5, 110, 0, 0, 392, 393, 5, 116, 0, 0, 393, 394, 5, 115, 0, 0, 394, 34, 1, 0, 0, 0, 395, 396, 5, 114, 0, 0, 396, 397, 5, 101, 0, 0, 397, 398, 5, 102, 0, 0, 398, 36, 1, 0, 0, 0, 399, 400, 5, 102, 0, 0, 400, 401, 5, 114, 0, 0, 401, 402, 5, 97, 0, 0, 402, 403, 5, 103, 0, 0, 403, 404, 5, 109, 0, 0, 404, 405, 5, 101, 0, 0, 405, 406, 5, 110, 0, 0, 406, 407, 5, 116, 0, 0, 407, 38, 1, 0, 0, 0, 408, 409, 5, 105, 0, 0, 409, 410, 5, 109, 0, 0, 410, 411, 5, 112, 0, 0, 411, 412, 5, 111, 0, 0, 412, 413, 5, 114, 0, 0, 413, 414, 5, 116, 0, 0, 414, 40, 1, 0, 0, 0, 415, 416, 5, 101, 0, 0, 416, 417, 5, 120, 0, 0, 417, 418, 5, 116, 0, 0, 418, 419, 5, 101, 0, 0, 419, 420, 5, 114, 0, 0, 420, 421, 5, 110, 0, 0, 421, 422, 5, 97, 0, 0, 422, 423, 5, 108, 0, 0, 423, 42, 1, 0, 0, 0, 424, 425, 5, 97, 0, 0, 425, 426, 5, 116, 0, 0, 426, 427, 5, 111, 0, 0, 427, 428, 5, 109, 0, 0, 428, 44, 1, 0, 0, 0, 429, 430, 5, 105, 0, 0, 430, 431, 5, 110, 0, 0, 431, 432, 5, 116, 0, 0, 432, 433, 5, 101, 0, 0, 433, 434, 5, 114, 0, 0, 434, 435, 5, 102, 0, 0, 435, 436, 5, 97, 0, 0, 436, 437, 5, 99, 0, 0, 437, 438, 5, 101, 0, 0, 438, 46, 1, 0, 0, 0, 439, 440, 5, 105, 0, 0, 440, 441, 5, 110, 0, 0, 441, 442, 5, 116, 0, 0, 442, 443, 5, 101, 0, 0, 443, 444, 5, 114, 0, 0, 444, 445, 5, 102, 0, 0, 445, 446, 5, 97, 0, 0, 446, 447, 5, 99, 0, 0, 447, 448, 5, 101, 0, 0, 448, 449, 5, 115, 0, 0, 449, 48, 1, 0, 0, 0, 450, 451, 5, 112, 0, 0, 451, 452, 5, 97, 0, 0, 452, 453, 5, 99, 0, 0, 453, 454, 5, 107, 0, 0, 454, 455, 5, 97, 0, 0, 455, 456, 5, 103, 0, 0, 456, 457, 5, 101, 0, 0, 457, 50, 1, 0, 0, 0, 458, 459, 5, 118, 0, 0, 459, 460, 5, 97, 0, 0, 460, 461, 5, 108, 0, 0, 461, 462, 5, 117, 0, 0, 462, 463, 5, 101, 0, 0, 463, 52, 1, 0, 0, 0, 464, 465, 5, 114, 0, 0, 465, 466, 5, 101, 0, 0, 466, 467, 5, 108, 0, 0, 467, 468, 5, 97, 0, 0, 468, 469, 5, 116, 0, 0, 469, 470, 5, 105, 0, 0, 470, 471, 5, 111, 0, 0, 471, 472, 5, 110, 0, 0, 472, 54, 1, 0, 0, 0, 473, 474, 5, 111, 0, 0, 474, 475, 5, 112, 0, 0, 475, 476, 5, 101, 0, 0, 476, 477, 5, 114, 0, 0, 477, 478, 5, 97, 0, 0, 478, 479, 5, 116, 0, 0, 479, 480, 5, 105, 0, 0, 480, 481, 5, 111, 0, 0, 481, 482, 5, 110, 0, 0, 482, 56, 1, 0, 0, 0, 483, 484, 5, 102, 0, 0, 484, 485, 5, 117, 0, 0, 485, 486, 5, 110, 0, 0, 486, 487, 5, 99, 0, 0, 487, 488, 5, 116, 0, 0, 488, 489, 5, 105, 0, 0, 489, 490, 5, 111, 0, 0, 490, 491, 5, 110, 0, 0, 491, 58, 1, 0, 0, 0, 492, 493, 5, 99, 0, 0, 493, 494, 5, 111, 0, 0, 494, 495, 5, 110, 0, 0, 495, 496, 5, 115, 0, 0, 496, 497, 5, 116, 0, 0, 497, 498, 5, 114, 0, 0, 498, 499, 5, 117, 0, 0, 499, 500, 5, 99, 0, 0, 500, 501, 5, 116, 0, 0, 501, 502, 5, 111, 0, 0, 502, 503, 5, 114, 0, 0, 503, 60, 1, 0, 0, 0, 504, 505, 5, 99, 0, 0, 505, 506, 5, 111, 0, 0, 506, 507, 5, 110, 0, 0, 507, 508, 5, 115, 0, 0, 508, 509, 5, 116, 0, 0, 509, 510, 5, 114, 0, 0, 510, 511, 5, 117, 0, 0, 511, 512, 5, 99, 0, 0, 512, 513, 5, 116, 0, 0, 513, 514, 5, 115, 0, 0, 514, 62, 1, 0, 0, 0, 515, 516, 5, 105, 0, 0, 516, 517, 5, 110, 0, 0, 517, 518, 5, 112, 0, 0, 518, 519, 5, 117, 0, 0, 519, 520, 5, 116, 0, 0, 520, 64, 1, 0, 0, 0, 521, 522, 5, 99, 0, 0, 522, 523, 5, 111, 0, 0, 523, 524, 5, 110, 0, 0, 524, 525, 5, 102, 0, 0, 525, 526, 5, 111, 0, 0, 526, 527, 5, 114, 0, 0, 527, 528, 5, 109, 0, 0, 528, 66, 1, 0, 0, 0, 529, 530, 5, 97, 0, 0, 530, 531, 5, 115, 0, 0, 531, 68, 1, 0, 0, 0, 532, 533, 5, 98, 0, 0, 533, 534, 5, 105, 0, 0, 534, 535, 5, 110, 0, 0, 535, 536, 5, 100, 0, 0, 536, 70, 1, 0, 0, 0, 537, 538, 5, 115, 0, 0, 538, 539, 5, 116, 0, 0, 539, 540, 5, 97, 0, 0, 540, 541, 5, 116, 0, 0, 541, 542, 5, 105, 0, 0, 542, 543, 5, 99, 0, 0, 543, 72, 1, 0, 0, 0, 544, 545, 5, 116, 0, 0, 545, 546, 5, 111, 0, 0, 546, 74, 1, 0, 0, 0, 547, 548, 5, 112, 0, 0, 548, 549, 5, 114, 0, 0, 549, 550, 5, 105, 0, 0, 550, 551, 5, 118, 0, 0, 551, 552, 5, 97, 0, 0, 552, 553, 5, 116, 0, 0, 553, 554, 5, 101, 0, 0, 554, 76, 1, 0, 0, 0, 555, 556, 5, 115, 0, 0, 556, 557, 5, 104, 0, 0, 557, 558, 5, 97, 0, 0, 558, 559, 5, 114, 0, 0, 559, 560, 5, 101, 0, 0, 560, 561, 5, 100, 0, 0, 561, 78, 1, 0, 0, 0, 562, 563, 5, 115, 0, 0, 563, 564, 5, 116, 0, 0, 564, 565, 5, 97, 0, 0, 565, 566, 5, 116, 0, 0, 566, 567, 5, 101, 0, 0, 567, 80, 1, 0, 0, 0, 568, 569, 5, 101, 0, 0, 569, 570, 5, 100, 0, 0, 570, 571, 5, 103, 0, 0, 571, 572, 5, 101, 0, 0, 572, 82, 1, 0, 0, 0, 573, 574, 5, 112, 0, 0, 574, 575, 5, 114, 0, 0, 575, 576, 5, 111, 0, 0, 576, 577, 5, 106, 0, 0, 577, 578, 5, 101, 0, 0, 578, 579, 5, 99, 0, 0, 579, 580, 5, 116, 0, 0, 580, 581, 5, 105, 0, 0, 581, 582, 5, 111, 0, 0, 582, 583, 5, 110, 0, 0, 583, 84, 1, 0, 0, 0, 584, 585, 5, 119, 0, 0, 585, 586, 5, 105, 0, 0, 586, 587, 5, 116, 0, 0, 587, 588, 5, 104, 0, 0, 588, 86, 1, 0, 0, 0, 589, 590, 5, 117, 0, 0, 590, 591, 5, 115, 0, 0, 591, 592, 5, 105, 0, 0, 592, 593, 5, 110, 0, 0, 593, 594, 5, 103, 0, 0, 594, 88, 1, 0, 0, 0, 595, 596, 5, 118, 0, 0, 596, 597, 5, 105, 0, 0, 597, 598, 5, 97, 0, 0, 598, 90, 1, 0, 0, 0, 599, 600, 5, 109, 0, 0, 600, 601, 5, 97, 0, 0, 601, 602, 5, 116, 0, 0, 602, 603, 5, 101, 0, 0, 603, 604, 5, 114, 0, 0, 604, 605, 5, 105, 0, 0, 605, 606, 5, 97, 0, 0, 606, 607, 5, 108, 0, 0, 607, 608, 5, 105, 0, 0, 608, 609, 5, 122, 0, 0, 609, 610, 5, 101, 0, 0, 610, 92, 1, 0, 0, 0, 611, 612, 5, 105, 0, 0, 612, 613, 5, 102, 0, 0, 613, 94, 1, 0, 0, 0, 614, 615, 5, 97, 0, 0, 615, 616, 5, 98, 0, 0, 616, 617, 5, 115, 0, 0, 617, 618, 5, 101, 0, 0, 618, 619, 5, 110, 0, 0, 619, 620, 5, 116, 0, 0, 620, 96, 1, 0, 0, 0, 621, 622, 5, 111, 0, 0, 622, 623, 5, 110, 0, 0, 623, 98, 1, 0, 0, 0, 624, 625, 5, 112, 0, 0, 625, 626, 5, 111, 0, 0, 626, 627, 5, 108, 0, 0, 627, 628, 5, 105, 0, 0, 628, 629, 5, 99, 0, 0, 629, 630, 5, 121, 0, 0, 630, 100, 1, 0, 0, 0, 631, 632, 5, 100, 0, 0, 632, 633, 5, 101, 0, 0, 633, 634, 5, 102, 0, 0, 634, 635, 5, 97, 0, 0, 635, 636, 5, 117, 0, 0, 636, 637, 5, 108, 0, 0, 637, 638, 5, 116, 0, 0, 638, 102, 1, 0, 0, 0, 639, 640, 5, 115, 0, 0, 640, 641, 5, 111, 0, 0, 641, 642, 5, 117, 0, 0, 642, 643, 5, 114, 0, 0, 643, 644, 5, 99, 0, 0, 644, 645, 5, 101, 0, 0, 645, 104, 1, 0, 0, 0, 646, 647, 5, 114, 0, 0, 647, 648, 5, 101, 0, 0, 648, 649, 5, 112, 0, 0, 649, 650, 5, 111, 0, 0, 650, 651, 5, 115, 0, 0, 651, 652, 5, 105, 0, 0, 652, 653, 5, 116, 0, 0, 653, 654, 5, 111, 0, 0, 654, 655, 5, 114, 0, 0, 655, 656, 5, 121, 0, 0, 656, 106, 1, 0, 0, 0, 657, 658, 5, 99, 0, 0, 658, 659, 5, 111, 0, 0, 659, 660, 5, 109, 0, 0, 660, 661, 5, 109, 0, 0, 661, 662, 5, 105, 0, 0, 662, 663, 5, 116, 0, 0, 663, 108, 1, 0, 0, 0, 664, 665, 5, 114, 0, 0, 665, 666, 5, 101, 0, 0, 666, 667, 5, 118, 0, 0, 667, 668, 5, 105, 0, 0, 668, 669, 5, 115, 0, 0, 669, 670, 5, 105, 0, 0, 670, 671, 5, 111, 0, 0, 671, 672, 5, 110, 0, 0, 672, 110, 1, 0, 0, 0, 673, 674, 5, 115, 0, 0, 674, 675, 5, 101, 0, 0, 675, 676, 5, 109, 0, 0, 676, 677, 5, 97, 0, 0, 677, 678, 5, 110, 0, 0, 678, 679, 5, 116, 0, 0, 679, 680, 5, 105, 0, 0, 680, 681, 5, 99, 0, 0, 681, 682, 5, 45, 0, 0, 682, 683, 5, 109, 0, 0, 683, 684, 5, 97, 0, 0, 684, 685, 5, 106, 0, 0, 685, 686, 5, 111, 0, 0, 686, 687, 5, 114, 0, 0, 687, 112, 1, 0, 0, 0, 688, 689, 5, 111, 0, 0, 689, 690, 5, 110, 0, 0, 690, 691, 5, 45, 0, 0, 691, 692, 5, 100, 0, 0, 692, 693, 5, 101, 0, 0, 693, 694, 5, 108, 0, 0, 694, 695, 5, 101, 0, 0, 695, 696, 5, 116, 0, 0, 696, 697, 5, 101, 0, 0, 697, 114, 1, 0, 0, 0, 698, 699, 5, 114, 0, 0, 699, 700, 5, 101, 0, 0, 700, 701, 5, 116, 0, 0, 701, 702, 5, 97, 0, 0, 702, 703, 5, 105, 0, 0, 703, 704, 5, 110, 0, 0, 704, 705, 5, 45, 0, 0, 705, 706, 5, 111, 0, 0, 706, 707, 5, 116, 0, 0, 707, 708, 5, 104, 0, 0, 708, 709, 5, 101, 0, 0, 709, 710, 5, 114, 0, 0, 710, 116, 1, 0, 0, 0, 711, 712, 5, 107, 0, 0, 712, 713, 5, 101, 0, 0, 713, 714, 5, 121, 0, 0, 714, 715, 5, 101, 0, 0, 715, 716, 5, 100, 0, 0, 716, 118, 1, 0, 0, 0, 717, 718, 5, 112, 0, 0, 718, 719, 5, 117, 0, 0, 719, 720, 5, 98, 0, 0, 720, 721, 5, 108, 0, 0, 721, 722, 5, 105, 0, 0, 722, 723, 5, 99, 0, 0, 723, 724, 5, 45, 0, 0, 724, 725, 5, 116, 0, 0, 725, 726, 5, 114, 0, 0, 726, 727, 5, 97, 0, 0, 727, 728, 5, 118, 0, 0, 728, 729, 5, 101, 0, 0, 729, 730, 5, 114, 0, 0, 730, 731, 5, 115, 0, 0, 731, 732, 5, 97, 0, 0, 732, 733, 5, 108, 0, 0, 733, 120, 1, 0, 0, 0, 734, 735, 5, 105, 0, 0, 735, 736, 5, 100, 0, 0, 736, 122, 1, 0, 0, 0, 737, 738, 5, 100, 0, 0, 738, 739, 5, 111, 0, 0, 739, 740, 5, 99, 0, 0, 740, 124, 1, 0, 0, 0, 741, 742, 5, 109, 0, 0, 742, 743, 5, 111, 0, 0, 743, 744, 5, 100, 0, 0, 744, 745, 5, 101, 0, 0, 745, 126, 1, 0, 0, 0, 746, 747, 5, 101, 0, 0, 747, 748, 5, 109, 0, 0, 748, 749, 5, 105, 0, 0, 749, 750, 5, 116, 0, 0, 750, 751, 5, 115, 0, 0, 751, 128, 1, 0, 0, 0, 752, 753, 5, 114, 0, 0, 753, 754, 5, 101, 0, 0, 754, 755, 5, 99, 0, 0, 755, 756, 5, 101, 0, 0, 756, 757, 5, 105, 0, 0, 757, 758, 5, 118, 0, 0, 758, 759, 5, 101, 0, 0, 759, 760, 5, 114, 0, 0, 760, 130, 1, 0, 0, 0, 761, 762, 5, 114, 0, 0, 762, 763, 5, 101, 0, 0, 763, 764, 5, 113, 0, 0, 764, 765, 5, 117, 0, 0, 765, 766, 5, 105, 0, 0, 766, 767, 5, 114, 0, 0, 767, 768, 5, 101, 0, 0, 768, 769, 5, 115, 0, 0, 769, 132, 1, 0, 0, 0, 770, 771, 5, 97, 0, 0, 771, 772, 5, 110, 0, 0, 772, 773, 5, 121, 0, 0, 773, 134, 1, 0, 0, 0, 774, 775, 5, 103, 0, 0, 775, 776, 5, 101, 0, 0, 776, 777, 5, 116, 0, 0, 777, 136, 1, 0, 0, 0, 778, 779, 5, 115, 0, 0, 779, 780, 5, 101, 0, 0, 780, 781, 5, 116, 0, 0, 781, 138, 1, 0, 0, 0, 782, 783, 5, 119, 0, 0, 783, 784, 5, 97, 0, 0, 784, 785, 5, 116, 0, 0, 785, 786, 5, 99, 0, 0, 786, 787, 5, 104, 0, 0, 787, 140, 1, 0, 0, 0, 788, 789, 5, 115, 0, 0, 789, 790, 5, 116, 0, 0, 790, 791, 5, 97, 0, 0, 791, 792, 5, 114, 0, 0, 792, 793, 5, 116, 0, 0, 793, 142, 1, 0, 0, 0, 794, 795, 5, 115, 0, 0, 795, 796, 5, 116, 0, 0, 796, 797, 5, 111, 0, 0, 797, 798, 5, 112, 0, 0, 798, 144, 1, 0, 0, 0, 799, 800, 5, 114, 0, 0, 800, 801, 5, 101, 0, 0, 801, 802, 5, 97, 0, 0, 802, 803, 5, 100, 0, 0, 803, 146, 1, 0, 0, 0, 804, 805, 5, 119, 0, 0, 805, 806, 5, 114, 0, 0, 806, 807, 5, 105, 0, 0, 807, 808, 5, 116, 0, 0, 808, 809, 5, 101, 0, 0, 809, 148, 1, 0, 0, 0, 810, 811, 5, 114, 0, 0, 811, 812, 5, 101, 0, 0, 812, 813, 5, 115, 0, 0, 813, 814, 5, 111, 0, 0, 814, 815, 5, 108, 0, 0, 815, 816, 5, 118, 0, 0, 816, 817, 5, 101, 0, 0, 817, 150, 1, 0, 0, 0, 818, 819, 5, 99, 0, 0, 819, 820, 5, 111, 0, 0, 820, 821, 5, 110, 0, 0, 821, 822, 5, 110, 0, 0, 822, 823, 5, 101, 0, 0, 823, 824, 5, 99, 0, 0, 824, 825, 5, 116, 0, 0, 825, 152, 1, 0, 0, 0, 826, 827, 5, 100, 0, 0, 827, 828, 5, 105, 0, 0, 828, 829, 5, 115, 0, 0, 829, 830, 5, 99, 0, 0, 830, 831, 5, 111, 0, 0, 831, 832, 5, 110, 0, 0, 832, 833, 5, 110, 0, 0, 833, 834, 5, 101, 0, 0, 834, 835, 5, 99, 0, 0, 835, 836, 5, 116, 0, 0, 836, 154, 1, 0, 0, 0, 837, 838, 5, 99, 0, 0, 838, 839, 5, 97, 0, 0, 839, 840, 5, 108, 0, 0, 840, 841, 5, 108, 0, 0, 841, 156, 1, 0, 0, 0, 842, 843, 5, 119, 0, 0, 843, 844, 5, 97, 0, 0, 844, 845, 5, 116, 0, 0, 845, 846, 5, 99, 0, 0, 846, 847, 5, 104, 0, 0, 847, 848, 5, 45, 0, 0, 848, 849, 5, 115, 0, 0, 849, 850, 5, 116, 0, 0, 850, 851, 5, 97, 0, 0, 851, 852, 5, 114, 0, 0, 852, 853, 5, 116, 0, 0, 853, 158, 1, 0, 0, 0, 854, 855, 5, 119, 0, 0, 855, 856, 5, 97, 0, 0, 856, 857, 5, 116, 0, 0, 857, 858, 5, 99, 0, 0, 858, 859, 5, 104, 0, 0, 859, 860, 5, 45, 0, 0, 860, 861, 5, 115, 0, 0, 861, 862, 5, 116, 0, 0, 862, 863, 5, 111, 0, 0, 863, 864, 5, 112, 0, 0, 864, 160, 1, 0, 0, 0, 865, 866, 5, 115, 0, 0, 866, 867, 5, 117, 0, 0, 867, 868, 5, 98, 0, 0, 868, 869, 5, 115, 0, 0, 869, 870, 5, 99, 0, 0, 870, 871, 5, 114, 0, 0, 871, 872, 5, 105, 0, 0, 872, 873, 5, 98, 0, 0, 873, 874, 5, 101, 0, 0, 874, 162, 1, 0, 0, 0, 875, 876, 5, 117, 0, 0, 876, 877, 5, 110, 0, 0, 877, 878, 5, 115, 0, 0, 878, 879, 5, 117, 0, 0, 879, 880, 5, 98, 0, 0, 880, 881, 5, 115, 0, 0, 881, 882, 5, 99, 0, 0, 882, 883, 5, 114, 0, 0, 883, 884, 5, 105, 0, 0, 884, 885, 5, 98, 0, 0, 885, 886, 5, 101, 0, 0, 886, 164, 1, 0, 0, 0, 887, 888, 5, 111, 0, 0, 888, 889, 5, 112, 0, 0, 889, 890, 5, 116, 0, 0, 890, 891, 5, 105, 0, 0, 891, 892, 5, 109, 0, 0, 892, 893, 5, 105, 0, 0, 893, 894, 5, 115, 0, 0, 894, 895, 5, 116, 0, 0, 895, 896, 5, 105, 0, 0, 896, 897, 5, 99, 0, 0, 897, 898, 5, 45, 0, 0, 898, 899, 5, 114, 0, 0, 899, 900, 5, 101, 0, 0, 900, 901, 5, 103, 0, 0, 901, 902, 5, 105, 0, 0, 902, 903, 5, 115, 0, 0, 903, 904, 5, 116, 0, 0, 904, 905, 5, 101, 0, 0, 905, 906, 5, 114, 0, 0, 906, 166, 1, 0, 0, 0, 907, 908, 5, 99, 0, 0, 908, 909, 5, 114, 0, 0, 909, 910, 5, 100, 0, 0, 910, 911, 5, 116, 0, 0, 911, 168, 1, 0, 0, 0, 912, 913, 5, 111, 0, 0, 913, 914, 5, 112, 0, 0, 914, 915, 5, 116, 0, 0, 915, 916, 5, 105, 0, 0, 916, 917, 5, 111, 0, 0, 917, 918, 5, 110, 0, 0, 918, 919, 5, 97, 0, 0, 919, 920, 5, 108, 0, 0, 920, 921, 5, 45, 0, 0, 921, 922, 5, 111, 0, 0, 922, 923, 5, 110, 0, 0, 923, 924, 5, 101, 0, 0, 924, 170, 1, 0, 0, 0, 925, 926, 5, 101, 0, 0, 926, 927, 5, 120, 0, 0, 927, 928, 5, 97, 0, 0, 928, 929, 5, 99, 0, 0, 929, 930, 5, 116, 0, 0, 930, 931, 5, 108, 0, 0, 931, 932, 5, 121, 0, 0, 932, 933, 5, 45, 0, 0, 933, 934, 5, 111, 0, 0, 934, 935, 5, 110, 0, 0, 935, 936, 5, 101, 0, 0, 936, 172, 1, 0, 0, 0, 937, 938, 5, 109, 0, 0, 938, 939, 5, 97, 0, 0, 939, 940, 5, 110, 0, 0, 940, 941, 5, 121, 0, 0, 941, 942, 5, 45, 0, 0, 942, 943, 5, 117, 0, 0, 943, 944, 5, 110, 0, 0, 944, 945, 5, 105, 0, 0, 945, 946, 5, 113, 0, 0, 946, 947, 5, 117, 0, 0, 947, 948, 5, 101, 0, 0, 948, 174, 1, 0, 0, 0, 949, 950, 5, 109, 0, 0, 950, 951, 5, 97, 0, 0, 951, 952, 5, 110, 0, 0, 952, 953, 5, 121, 0, 0, 953, 176, 1, 0, 0, 0, 954, 955, 5, 111, 0, 0, 955, 956, 5, 114, 0, 0, 956, 957, 5, 100, 0, 0, 957, 958, 5, 101, 0, 0, 958, 959, 5, 114, 0, 0, 959, 960, 5, 101, 0, 0, 960, 961, 5, 100, 0, 0, 961, 178, 1, 0, 0, 0, 962, 963, 5, 117, 0, 0, 963, 964, 5, 110, 0, 0, 964, 965, 5, 105, 0, 0, 965, 966, 5, 116, 0, 0, 966, 180, 1, 0, 0, 0, 967, 968, 5, 119, 0, 0, 968, 969, 5, 97, 0, 0, 969, 970, 5, 116, 0, 0, 970, 971, 5, 99, 0, 0, 971, 972, 5, 104, 0, 0, 972, 973, 5, 45, 0, 0, 973, 974, 5, 104, 0, 0, 974, 975, 5, 97, 0, 0, 975, 976, 5, 110, 0, 0, 976, 977, 5, 100, 0, 0, 977, 978, 5, 108, 0, 0, 978, 979, 5, 101, 0, 0, 979, 182, 1, 0, 0, 0, 980, 981, 5, 109, 0, 0, 981, 982, 5, 101, 0, 0, 982, 983, 5, 115, 0, 0, 983, 984, 5, 115, 0, 0, 984, 985, 5, 97, 0, 0, 985, 986, 5, 103, 0, 0, 986, 987, 5, 101, 0, 0, 987, 184, 1, 0, 0, 0, 988, 989, 5, 97, 0, 0, 989, 990, 5, 116, 0, 0, 990, 991, 5, 111, 0, 0, 991, 992, 5, 109, 0, 0, 992, 993, 5, 45, 0, 0, 993, 994, 5, 114, 0, 0, 994, 995, 5, 101, 0, 0, 995, 996, 5, 102, 0, 0, 996, 186, 1, 0, 0, 0, 997, 998, 5, 105, 0, 0, 998, 999, 5, 110, 0, 0, 999, 1000, 5, 116, 0, 0, 1000, 1001, 5, 101, 0, 0, 1001, 1002, 5, 114, 0, 0, 1002, 1003, 5, 102, 0, 0, 1003, 1004, 5, 97, 0, 0, 1004, 1005, 5, 99, 0, 0, 1005, 1006, 5, 101, 0, 0, 1006, 1007, 5, 45, 0, 0, 1007, 1008, 5, 114, 0, 0, 1008, 1009, 5, 101, 0, 0, 1009, 1010, 5, 102, 0, 0, 1010, 188, 1, 0, 0, 0, 1011, 1012, 5, 111, 0, 0, 1012, 1013, 5, 112, 0, 0, 1013, 1014, 5, 116, 0, 0, 1014, 1015, 5, 105, 0, 0, 1015, 1016, 5, 111, 0, 0, 1016, 1017, 5, 110, 0, 0, 1017, 1018, 5, 97, 0, 0, 1018, 1019, 5, 108, 0, 0, 1019, 190, 1, 0, 0, 0, 1020, 1021, 5, 108, 0, 0, 1021, 1022, 5, 105, 0, 0, 1022, 1023, 5, 115, 0, 0, 1023, 1024, 5, 116, 0, 0, 1024, 192, 1, 0, 0, 0, 1025, 1026, 5, 114, 0, 0, 1026, 1027, 5, 101, 0, 0, 1027, 1028, 5, 99, 0, 0, 1028, 1029, 5, 111, 0, 0, 1029, 1030, 5, 114, 0, 0, 1030, 1031, 5, 100, 0, 0, 1031, 194, 1, 0, 0, 0, 1032, 1033, 5, 98, 0, 0, 1033, 1034, 5, 111, 0, 0, 1034, 1035, 5, 111, 0, 0, 1035, 1036, 5, 108, 0, 0, 1036, 196, 1, 0, 0, 0, 1037, 1038, 5, 98, 0, 0, 1038, 1039, 5, 121, 0, 0, 1039, 1040, 5, 116, 0, 0, 1040, 1041, 5, 101, 0, 0, 1041, 1042, 5, 115, 0, 0, 1042, 198, 1, 0, 0, 0, 1043, 1044, 5, 100, 0, 0, 1044, 1045, 5, 111, 0, 0, 1045, 1046, 5, 117, 0, 0, 1046, 1047, 5, 98, 0, 0, 1047, 1048, 5, 108, 0, 0, 1048, 1049, 5, 101, 0, 0, 1049, 200, 1, 0, 0, 0, 1050, 1051, 5, 105, 0, 0, 1051, 1052, 5, 110, 0, 0, 1052, 1053, 5, 116, 0, 0, 1053, 1054, 5, 51, 0, 0, 1054, 1055, 5, 50, 0, 0, 1055, 202, 1, 0, 0, 0, 1056, 1057, 5, 105, 0, 0, 1057, 1058, 5, 110, 0, 0, 1058, 1059, 5, 116, 0, 0, 1059, 1060, 5, 54, 0, 0, 1060, 1061, 5, 52, 0, 0, 1061, 204, 1, 0, 0, 0, 1062, 1063, 5, 115, 0, 0, 1063, 1064, 5, 116, 0, 0, 1064, 1065, 5, 114, 0, 0, 1065, 1066, 5, 105, 0, 0, 1066, 1067, 5, 110, 0, 0, 1067, 1068, 5, 103, 0, 0, 1068, 206, 1, 0, 0, 0, 1069, 1070, 5, 117, 0, 0, 1070, 1071, 5, 105, 0, 0, 1071, 1072, 5, 110, 0, 0, 1072, 1073, 5, 116, 0, 0, 1073, 1074, 5, 51, 0, 0, 1074, 1075, 5, 50, 0, 0, 1075, 208, 1, 0, 0, 0, 1076, 1077, 5, 117, 0, 0, 1077, 1078, 5, 105, 0, 0, 1078, 1079, 5, 110, 0, 0, 1079, 1080, 5, 116, 0, 0, 1080, 1081, 5, 54, 0, 0, 1081, 1082, 5, 52, 0, 0, 1082, 210, 1, 0, 0, 0, 1083, 1084, 5, 116, 0, 0, 1084, 1085, 5, 114, 0, 0, 1085, 1086, 5, 117, 0, 0, 1086, 1087, 5, 101, 0, 0, 1087, 212, 1, 0, 0, 0, 1088, 1089, 5, 102, 0, 0, 1089, 1090, 5, 97, 0, 0, 1090, 1091, 5, 108, 0, 0, 1091, 1092, 5, 115, 0, 0, 1092, 1093, 5, 101, 0, 0, 1093, 214, 1, 0, 0, 0, 1094, 1095, 5, 110, 0, 0, 1095, 1096, 5, 117, 0, 0, 1096, 1097, 5, 108, 0, 0, 1097, 1098, 5, 108, 0, 0, 1098, 216, 1, 0, 0, 0, 1099, 1100, 5, 45, 0, 0, 1100, 1101, 5, 62, 0, 0, 1101, 218, 1, 0, 0, 0, 1102, 1103, 5, 58, 0, 0, 1103, 220, 1, 0, 0, 0, 1104, 1105, 5, 59, 0, 0, 1105, 222, 1, 0, 0, 0, 1106, 1107, 5, 44, 0, 0, 1107, 224, 1, 0, 0, 0, 1108, 1109, 5, 46, 0, 0, 1109, 226, 1, 0, 0, 0, 1110, 1111, 5, 123, 0, 0, 1111, 228, 1, 0, 0, 0, 1112, 1113, 5, 125, 0, 0, 1113, 230, 1, 0, 0, 0, 1114, 1115, 5, 91, 0, 0, 1115, 232, 1, 0, 0, 0, 1116, 1117, 5, 93, 0, 0, 1117, 234, 1, 0, 0, 0, 1118, 1119, 5, 40, 0, 0, 1119, 236, 1, 0, 0, 0, 1120, 1121, 5, 41, 0, 0, 1121, 238, 1, 0, 0, 0, 1122, 1123, 5, 60, 0, 0, 1123, 240, 1, 0, 0, 0, 1124, 1125, 5, 62, 0, 0, 1125, 242, 1, 0, 0, 0, 1126, 1127, 5, 38, 0, 0, 1127, 244, 1, 0, 0, 0, 1128, 1129, 5, 61, 0, 0, 1129, 246, 1, 0, 0, 0, 1130, 1132, 5, 45, 0, 0, 1131, 1130, 1, 0, 0, 0, 1131, 1132, 1, 0, 0, 0, 1132, 1134, 1, 0, 0, 0, 1133, 1135, 7, 0, 0, 0, 1134, 1133, 1, 0, 0, 0, 1135, 1136, 1, 0, 0, 0, 1136, 1134, 1, 0, 0, 0, 1136, 1137, 1, 0, 0, 0, 1137, 248, 1, 0, 0, 0, 1138, 1140, 5, 45, 0, 0, 1139, 1138, 1, 0, 0, 0, 1139, 1140, 1, 0, 0, 0, 1140, 1149, 1, 0, 0, 0, 1141, 1150, 5, 48, 0, 0, 1142, 1146, 7, 1, 0, 0, 1143, 1145, 7, 0, 0, 0, 1144, 1143, 1, 0, 0, 0, 1145, 1148, 1, 0, 0, 0, 1146, 1144, 1, 0, 0, 0, 1146, 1147, 1, 0, 0, 0, 1147, 1150, 1, 0, 0, 0, 1148, 1146, 1, 0, 0, 0, 1149, 1141, 1, 0, 0, 0, 1149, 1142, 1, 0, 0, 0, 1150, 1157, 1, 0, 0, 0, 1151, 1153, 5, 46, 0, 0, 1152, 1154, 7, 0, 0, 0, 1153, 1152, 1, 0, 0, 0, 1154, 1155, 1, 0, 0, 0, 1155, 1153, 1, 0, 0, 0, 1155, 1156, 1, 0, 0, 0, 1156, 1158, 1, 0, 0, 0, 1157, 1151, 1, 0, 0, 0, 1157, 1158, 1, 0, 0, 0, 1158, 1168, 1, 0, 0, 0, 1159, 1161, 7, 2, 0, 0, 1160, 1162, 7, 3, 0, 0, 1161, 1160, 1, 0, 0, 0, 1161, 1162, 1, 0, 0, 0, 1162, 1164, 1, 0, 0, 0, 1163, 1165, 7, 0, 0, 0, 1164, 1163, 1, 0, 0, 0, 1165, 1166, 1, 0, 0, 0, 1166, 1164, 1, 0, 0, 0, 1166, 1167, 1, 0, 0, 0, 1167, 1169, 1, 0, 0, 0, 1168, 1159, 1, 0, 0, 0, 1168, 1169, 1, 0, 0, 0, 1169, 250, 1, 0, 0, 0, 1170, 1174, 7, 4, 0, 0, 1171, 1173, 7, 5, 0, 0, 1172, 1171, 1, 0, 0, 0, 1173, 1176, 1, 0, 0, 0, 1174, 1172, 1, 0, 0, 0, 1174, 1175, 1, 0, 0, 0, 1175, 252, 1, 0, 0, 0, 1176, 1174, 1, 0, 0, 0, 1177, 1182, 5, 34, 0, 0, 1178, 1181, 3, 255, 127, 0, 1179, 1181, 8, 6, 0, 0, 1180, 1178, 1, 0, 0, 0, 1180, 1179, 1, 0, 0, 0, 1181, 1184, 1, 0, 0, 0, 1182, 1180, 1, 0, 0, 0, 1182, 1183, 1, 0, 0, 0, 1183, 1185, 1, 0, 0, 0, 1184, 1182, 1, 0, 0, 0, 1185, 1186, 5, 34, 0, 0, 1186, 254, 1, 0, 0, 0, 1187, 1195, 5, 92, 0, 0, 1188, 1196, 7, 7, 0, 0, 1189, 1190, 5, 117, 0, 0, 1190, 1191, 3, 257, 128, 0, 1191, 1192, 3, 257, 128, 0, 1192, 1193, 3, 257, 128, 0, 1193, 1194, 3, 257, 128, 0, 1194, 1196, 1, 0, 0, 0, 1195, 1188, 1, 0, 0, 0, 1195, 1189, 1, 0, 0, 0, 1196, 256, 1, 0, 0, 0, 1197, 1198, 7, 8, 0, 0, 1198, 258, 1, 0, 0, 0, 1199, 1200, 5, 47, 0, 0, 1200, 1201, 5, 47, 0, 0, 1201, 1205, 1, 0, 0, 0, 1202, 1204, 8, 9, 0, 0, 1203, 1202, 1, 0, 0, 0, 1204, 1207, 1, 0, 0, 0, 1205, 1203, 1, 0, 0, 0, 1205, 1206, 1, 0, 0, 0, 1206, 1208, 1, 0, 0, 0, 1207, 1205, 1, 0, 0, 0, 1208, 1209, 6, 129, 0, 0, 1209, 260, 1, 0, 0, 0, 1210, 1211, 5, 47, 0, 0, 1211, 1212, 5, 42, 0, 0, 1212, 1216, 1, 0, 0, 0, 1213, 1215, 9, 0, 0, 0, 1214, 1213, 1, 0, 0, 0, 1215, 1218, 1, 0, 0, 0, 1216, 1217, 1, 0, 0, 0, 1216, 1214, 1, 0, 0, 0, 1217, 1219, 1, 0, 0, 0, 1218, 1216, 1, 0, 0, 0, 1219, 1220, 5, 42, 0, 0, 1220, 1221, 5, 47, 0, 0, 1221, 1222, 1, 0, 0, 0, 1222, 1223, 6, 130, 0, 0, 1223, 262, 1, 0, 0, 0, 1224, 1226, 7, 10, 0, 0, 1225, 1224, 1, 0, 0, 0, 1226, 1227, 1, 0, 0, 0, 1227, 1225, 1, 0, 0, 0, 1227, 1228, 1, 0, 0, 0, 1228, 1229, 1, 0, 0, 0, 1229, 1230, 6, 131, 0, 0, 1230, 264, 1, 0, 0, 0, 18, 0, 1131, 1136, 1139, 1146, 1149, 1155, 1157, 1161, 1166, 1168, 1174, 1180, 1182, 1195, 1205, 1216, 1227, 1, 0, 1, 0] \ No newline at end of file diff --git a/src/capability-language/generated/QuixosCapabilityLexer.tokens b/src/capability-language/generated/QuixosCapabilityLexer.tokens index 59cfd6f..d498b01 100644 --- a/src/capability-language/generated/QuixosCapabilityLexer.tokens +++ b/src/capability-language/generated/QuixosCapabilityLexer.tokens @@ -1,251 +1,253 @@ WORKSPACE=1 QUERY=2 -ROOT=3 -DOCUMENT=4 -FRAGMENTS=5 -VIEW=6 -MAX=7 -ALLOW=8 -POLL=9 -QUERYABLE=10 -RPC=11 -QUERY_REASON=12 -TYPE=13 -OBJECT=14 -STORABLE=15 -IMPLEMENTS=16 -REF=17 -FRAGMENT=18 -IMPORT=19 -EXTERNAL=20 -ATOM=21 -INTERFACE=22 -INTERFACES=23 -PACKAGE=24 -VALUE=25 -RELATION=26 -OPERATION=27 -FUNCTION=28 -CONSTRUCTOR=29 -CONSTRUCTS=30 -INPUT=31 -CONFORM=32 -AS=33 -BIND=34 -STATIC=35 -TO=36 -PRIVATE=37 -SHARED=38 -STATE=39 -EDGE=40 -PROJECTION=41 -WITH=42 -USING=43 -VIA=44 -MATERIALIZE=45 -IF=46 -ABSENT=47 -ON=48 -POLICY=49 -DEFAULT=50 -SOURCE=51 -REPOSITORY=52 -COMMIT=53 -REVISION=54 -SEMANTIC_MAJOR=55 -ON_DELETE=56 -RETAIN_OTHER=57 -KEYED=58 -PUBLIC_TRAVERSAL=59 -ID=60 -DOC=61 -MODE=62 -EMITS=63 -RECEIVER=64 -REQUIRES=65 -ANY=66 -GET=67 -SET=68 -WATCH=69 -START=70 -STOP=71 -READ=72 -WRITE=73 -RESOLVE=74 -CONNECT=75 -DISCONNECT=76 -CALL=77 -WATCH_START=78 -WATCH_STOP=79 -SUBSCRIBE=80 -UNSUBSCRIBE=81 -OPTIMISTIC_REGISTER=82 -CRDT=83 -OPTIONAL_ONE=84 -EXACTLY_ONE=85 -MANY_UNIQUE=86 -MANY=87 -ORDERED=88 -UNIT=89 -WATCH_HANDLE=90 -MESSAGE=91 -ATOM_REF=92 -INTERFACE_REF=93 -OPTIONAL=94 -LIST=95 -RECORD=96 -BOOL=97 -BYTES=98 -DOUBLE=99 -INT32=100 -INT64=101 -STRING=102 -UINT32=103 -UINT64=104 -TRUE=105 -FALSE=106 -NULL=107 -ARROW=108 -COLON=109 -SEMI=110 -COMMA=111 -DOT=112 -LBRACE=113 -RBRACE=114 -LBRACK=115 -RBRACK=116 -LPAREN=117 -RPAREN=118 -LT=119 -GT=120 -AMP=121 -EQUAL=122 -INTEGER=123 -JSON_NUMBER=124 -IDENTIFIER=125 -STRING_LITERAL=126 -LINE_COMMENT=127 -BLOCK_COMMENT=128 -WS=129 +SPECIALIZE=3 +ROOT=4 +DOCUMENT=5 +FRAGMENTS=6 +VIEW=7 +MAX=8 +ALLOW=9 +POLL=10 +QUERYABLE=11 +RPC=12 +QUERY_REASON=13 +TYPE=14 +OBJECT=15 +STORABLE=16 +IMPLEMENTS=17 +REF=18 +FRAGMENT=19 +IMPORT=20 +EXTERNAL=21 +ATOM=22 +INTERFACE=23 +INTERFACES=24 +PACKAGE=25 +VALUE=26 +RELATION=27 +OPERATION=28 +FUNCTION=29 +CONSTRUCTOR=30 +CONSTRUCTS=31 +INPUT=32 +CONFORM=33 +AS=34 +BIND=35 +STATIC=36 +TO=37 +PRIVATE=38 +SHARED=39 +STATE=40 +EDGE=41 +PROJECTION=42 +WITH=43 +USING=44 +VIA=45 +MATERIALIZE=46 +IF=47 +ABSENT=48 +ON=49 +POLICY=50 +DEFAULT=51 +SOURCE=52 +REPOSITORY=53 +COMMIT=54 +REVISION=55 +SEMANTIC_MAJOR=56 +ON_DELETE=57 +RETAIN_OTHER=58 +KEYED=59 +PUBLIC_TRAVERSAL=60 +ID=61 +DOC=62 +MODE=63 +EMITS=64 +RECEIVER=65 +REQUIRES=66 +ANY=67 +GET=68 +SET=69 +WATCH=70 +START=71 +STOP=72 +READ=73 +WRITE=74 +RESOLVE=75 +CONNECT=76 +DISCONNECT=77 +CALL=78 +WATCH_START=79 +WATCH_STOP=80 +SUBSCRIBE=81 +UNSUBSCRIBE=82 +OPTIMISTIC_REGISTER=83 +CRDT=84 +OPTIONAL_ONE=85 +EXACTLY_ONE=86 +MANY_UNIQUE=87 +MANY=88 +ORDERED=89 +UNIT=90 +WATCH_HANDLE=91 +MESSAGE=92 +ATOM_REF=93 +INTERFACE_REF=94 +OPTIONAL=95 +LIST=96 +RECORD=97 +BOOL=98 +BYTES=99 +DOUBLE=100 +INT32=101 +INT64=102 +STRING=103 +UINT32=104 +UINT64=105 +TRUE=106 +FALSE=107 +NULL=108 +ARROW=109 +COLON=110 +SEMI=111 +COMMA=112 +DOT=113 +LBRACE=114 +RBRACE=115 +LBRACK=116 +RBRACK=117 +LPAREN=118 +RPAREN=119 +LT=120 +GT=121 +AMP=122 +EQUAL=123 +INTEGER=124 +JSON_NUMBER=125 +IDENTIFIER=126 +STRING_LITERAL=127 +LINE_COMMENT=128 +BLOCK_COMMENT=129 +WS=130 'workspace'=1 'query'=2 -'root'=3 -'document'=4 -'fragments'=5 -'view'=6 -'max'=7 -'allow'=8 -'poll'=9 -'queryable'=10 -'rpc'=11 -'query-reason'=12 -'type'=13 -'object'=14 -'storable'=15 -'implements'=16 -'ref'=17 -'fragment'=18 -'import'=19 -'external'=20 -'atom'=21 -'interface'=22 -'interfaces'=23 -'package'=24 -'value'=25 -'relation'=26 -'operation'=27 -'function'=28 -'constructor'=29 -'constructs'=30 -'input'=31 -'conform'=32 -'as'=33 -'bind'=34 -'static'=35 -'to'=36 -'private'=37 -'shared'=38 -'state'=39 -'edge'=40 -'projection'=41 -'with'=42 -'using'=43 -'via'=44 -'materialize'=45 -'if'=46 -'absent'=47 -'on'=48 -'policy'=49 -'default'=50 -'source'=51 -'repository'=52 -'commit'=53 -'revision'=54 -'semantic-major'=55 -'on-delete'=56 -'retain-other'=57 -'keyed'=58 -'public-traversal'=59 -'id'=60 -'doc'=61 -'mode'=62 -'emits'=63 -'receiver'=64 -'requires'=65 -'any'=66 -'get'=67 -'set'=68 -'watch'=69 -'start'=70 -'stop'=71 -'read'=72 -'write'=73 -'resolve'=74 -'connect'=75 -'disconnect'=76 -'call'=77 -'watch-start'=78 -'watch-stop'=79 -'subscribe'=80 -'unsubscribe'=81 -'optimistic-register'=82 -'crdt'=83 -'optional-one'=84 -'exactly-one'=85 -'many-unique'=86 -'many'=87 -'ordered'=88 -'unit'=89 -'watch-handle'=90 -'message'=91 -'atom-ref'=92 -'interface-ref'=93 -'optional'=94 -'list'=95 -'record'=96 -'bool'=97 -'bytes'=98 -'double'=99 -'int32'=100 -'int64'=101 -'string'=102 -'uint32'=103 -'uint64'=104 -'true'=105 -'false'=106 -'null'=107 -'->'=108 -':'=109 -';'=110 -','=111 -'.'=112 -'{'=113 -'}'=114 -'['=115 -']'=116 -'('=117 -')'=118 -'<'=119 -'>'=120 -'&'=121 -'='=122 +'specialize'=3 +'root'=4 +'document'=5 +'fragments'=6 +'view'=7 +'max'=8 +'allow'=9 +'poll'=10 +'queryable'=11 +'rpc'=12 +'query-reason'=13 +'type'=14 +'object'=15 +'storable'=16 +'implements'=17 +'ref'=18 +'fragment'=19 +'import'=20 +'external'=21 +'atom'=22 +'interface'=23 +'interfaces'=24 +'package'=25 +'value'=26 +'relation'=27 +'operation'=28 +'function'=29 +'constructor'=30 +'constructs'=31 +'input'=32 +'conform'=33 +'as'=34 +'bind'=35 +'static'=36 +'to'=37 +'private'=38 +'shared'=39 +'state'=40 +'edge'=41 +'projection'=42 +'with'=43 +'using'=44 +'via'=45 +'materialize'=46 +'if'=47 +'absent'=48 +'on'=49 +'policy'=50 +'default'=51 +'source'=52 +'repository'=53 +'commit'=54 +'revision'=55 +'semantic-major'=56 +'on-delete'=57 +'retain-other'=58 +'keyed'=59 +'public-traversal'=60 +'id'=61 +'doc'=62 +'mode'=63 +'emits'=64 +'receiver'=65 +'requires'=66 +'any'=67 +'get'=68 +'set'=69 +'watch'=70 +'start'=71 +'stop'=72 +'read'=73 +'write'=74 +'resolve'=75 +'connect'=76 +'disconnect'=77 +'call'=78 +'watch-start'=79 +'watch-stop'=80 +'subscribe'=81 +'unsubscribe'=82 +'optimistic-register'=83 +'crdt'=84 +'optional-one'=85 +'exactly-one'=86 +'many-unique'=87 +'many'=88 +'ordered'=89 +'unit'=90 +'watch-handle'=91 +'message'=92 +'atom-ref'=93 +'interface-ref'=94 +'optional'=95 +'list'=96 +'record'=97 +'bool'=98 +'bytes'=99 +'double'=100 +'int32'=101 +'int64'=102 +'string'=103 +'uint32'=104 +'uint64'=105 +'true'=106 +'false'=107 +'null'=108 +'->'=109 +':'=110 +';'=111 +','=112 +'.'=113 +'{'=114 +'}'=115 +'['=116 +']'=117 +'('=118 +')'=119 +'<'=120 +'>'=121 +'&'=122 +'='=123 diff --git a/src/capability-language/generated/QuixosCapabilityLexer.ts b/src/capability-language/generated/QuixosCapabilityLexer.ts index 6a84196..cc84617 100644 --- a/src/capability-language/generated/QuixosCapabilityLexer.ts +++ b/src/capability-language/generated/QuixosCapabilityLexer.ts @@ -6,142 +6,143 @@ import { Token } from "antlr4ng"; export class QuixosCapabilityLexer extends antlr.Lexer { public static readonly WORKSPACE = 1; public static readonly QUERY = 2; - public static readonly ROOT = 3; - public static readonly DOCUMENT = 4; - public static readonly FRAGMENTS = 5; - public static readonly VIEW = 6; - public static readonly MAX = 7; - public static readonly ALLOW = 8; - public static readonly POLL = 9; - public static readonly QUERYABLE = 10; - public static readonly RPC = 11; - public static readonly QUERY_REASON = 12; - public static readonly TYPE = 13; - public static readonly OBJECT = 14; - public static readonly STORABLE = 15; - public static readonly IMPLEMENTS = 16; - public static readonly REF = 17; - public static readonly FRAGMENT = 18; - public static readonly IMPORT = 19; - public static readonly EXTERNAL = 20; - public static readonly ATOM = 21; - public static readonly INTERFACE = 22; - public static readonly INTERFACES = 23; - public static readonly PACKAGE = 24; - public static readonly VALUE = 25; - public static readonly RELATION = 26; - public static readonly OPERATION = 27; - public static readonly FUNCTION = 28; - public static readonly CONSTRUCTOR = 29; - public static readonly CONSTRUCTS = 30; - public static readonly INPUT = 31; - public static readonly CONFORM = 32; - public static readonly AS = 33; - public static readonly BIND = 34; - public static readonly STATIC = 35; - public static readonly TO = 36; - public static readonly PRIVATE = 37; - public static readonly SHARED = 38; - public static readonly STATE = 39; - public static readonly EDGE = 40; - public static readonly PROJECTION = 41; - public static readonly WITH = 42; - public static readonly USING = 43; - public static readonly VIA = 44; - public static readonly MATERIALIZE = 45; - public static readonly IF = 46; - public static readonly ABSENT = 47; - public static readonly ON = 48; - public static readonly POLICY = 49; - public static readonly DEFAULT = 50; - public static readonly SOURCE = 51; - public static readonly REPOSITORY = 52; - public static readonly COMMIT = 53; - public static readonly REVISION = 54; - public static readonly SEMANTIC_MAJOR = 55; - public static readonly ON_DELETE = 56; - public static readonly RETAIN_OTHER = 57; - public static readonly KEYED = 58; - public static readonly PUBLIC_TRAVERSAL = 59; - public static readonly ID = 60; - public static readonly DOC = 61; - public static readonly MODE = 62; - public static readonly EMITS = 63; - public static readonly RECEIVER = 64; - public static readonly REQUIRES = 65; - public static readonly ANY = 66; - public static readonly GET = 67; - public static readonly SET = 68; - public static readonly WATCH = 69; - public static readonly START = 70; - public static readonly STOP = 71; - public static readonly READ = 72; - public static readonly WRITE = 73; - public static readonly RESOLVE = 74; - public static readonly CONNECT = 75; - public static readonly DISCONNECT = 76; - public static readonly CALL = 77; - public static readonly WATCH_START = 78; - public static readonly WATCH_STOP = 79; - public static readonly SUBSCRIBE = 80; - public static readonly UNSUBSCRIBE = 81; - public static readonly OPTIMISTIC_REGISTER = 82; - public static readonly CRDT = 83; - public static readonly OPTIONAL_ONE = 84; - public static readonly EXACTLY_ONE = 85; - public static readonly MANY_UNIQUE = 86; - public static readonly MANY = 87; - public static readonly ORDERED = 88; - public static readonly UNIT = 89; - public static readonly WATCH_HANDLE = 90; - public static readonly MESSAGE = 91; - public static readonly ATOM_REF = 92; - public static readonly INTERFACE_REF = 93; - public static readonly OPTIONAL = 94; - public static readonly LIST = 95; - public static readonly RECORD = 96; - public static readonly BOOL = 97; - public static readonly BYTES = 98; - public static readonly DOUBLE = 99; - public static readonly INT32 = 100; - public static readonly INT64 = 101; - public static readonly STRING = 102; - public static readonly UINT32 = 103; - public static readonly UINT64 = 104; - public static readonly TRUE = 105; - public static readonly FALSE = 106; - public static readonly NULL = 107; - public static readonly ARROW = 108; - public static readonly COLON = 109; - public static readonly SEMI = 110; - public static readonly COMMA = 111; - public static readonly DOT = 112; - public static readonly LBRACE = 113; - public static readonly RBRACE = 114; - public static readonly LBRACK = 115; - public static readonly RBRACK = 116; - public static readonly LPAREN = 117; - public static readonly RPAREN = 118; - public static readonly LT = 119; - public static readonly GT = 120; - public static readonly AMP = 121; - public static readonly EQUAL = 122; - public static readonly INTEGER = 123; - public static readonly JSON_NUMBER = 124; - public static readonly IDENTIFIER = 125; - public static readonly STRING_LITERAL = 126; - public static readonly LINE_COMMENT = 127; - public static readonly BLOCK_COMMENT = 128; - public static readonly WS = 129; + public static readonly SPECIALIZE = 3; + public static readonly ROOT = 4; + public static readonly DOCUMENT = 5; + public static readonly FRAGMENTS = 6; + public static readonly VIEW = 7; + public static readonly MAX = 8; + public static readonly ALLOW = 9; + public static readonly POLL = 10; + public static readonly QUERYABLE = 11; + public static readonly RPC = 12; + public static readonly QUERY_REASON = 13; + public static readonly TYPE = 14; + public static readonly OBJECT = 15; + public static readonly STORABLE = 16; + public static readonly IMPLEMENTS = 17; + public static readonly REF = 18; + public static readonly FRAGMENT = 19; + public static readonly IMPORT = 20; + public static readonly EXTERNAL = 21; + public static readonly ATOM = 22; + public static readonly INTERFACE = 23; + public static readonly INTERFACES = 24; + public static readonly PACKAGE = 25; + public static readonly VALUE = 26; + public static readonly RELATION = 27; + public static readonly OPERATION = 28; + public static readonly FUNCTION = 29; + public static readonly CONSTRUCTOR = 30; + public static readonly CONSTRUCTS = 31; + public static readonly INPUT = 32; + public static readonly CONFORM = 33; + public static readonly AS = 34; + public static readonly BIND = 35; + public static readonly STATIC = 36; + public static readonly TO = 37; + public static readonly PRIVATE = 38; + public static readonly SHARED = 39; + public static readonly STATE = 40; + public static readonly EDGE = 41; + public static readonly PROJECTION = 42; + public static readonly WITH = 43; + public static readonly USING = 44; + public static readonly VIA = 45; + public static readonly MATERIALIZE = 46; + public static readonly IF = 47; + public static readonly ABSENT = 48; + public static readonly ON = 49; + public static readonly POLICY = 50; + public static readonly DEFAULT = 51; + public static readonly SOURCE = 52; + public static readonly REPOSITORY = 53; + public static readonly COMMIT = 54; + public static readonly REVISION = 55; + public static readonly SEMANTIC_MAJOR = 56; + public static readonly ON_DELETE = 57; + public static readonly RETAIN_OTHER = 58; + public static readonly KEYED = 59; + public static readonly PUBLIC_TRAVERSAL = 60; + public static readonly ID = 61; + public static readonly DOC = 62; + public static readonly MODE = 63; + public static readonly EMITS = 64; + public static readonly RECEIVER = 65; + public static readonly REQUIRES = 66; + public static readonly ANY = 67; + public static readonly GET = 68; + public static readonly SET = 69; + public static readonly WATCH = 70; + public static readonly START = 71; + public static readonly STOP = 72; + public static readonly READ = 73; + public static readonly WRITE = 74; + public static readonly RESOLVE = 75; + public static readonly CONNECT = 76; + public static readonly DISCONNECT = 77; + public static readonly CALL = 78; + public static readonly WATCH_START = 79; + public static readonly WATCH_STOP = 80; + public static readonly SUBSCRIBE = 81; + public static readonly UNSUBSCRIBE = 82; + public static readonly OPTIMISTIC_REGISTER = 83; + public static readonly CRDT = 84; + public static readonly OPTIONAL_ONE = 85; + public static readonly EXACTLY_ONE = 86; + public static readonly MANY_UNIQUE = 87; + public static readonly MANY = 88; + public static readonly ORDERED = 89; + public static readonly UNIT = 90; + public static readonly WATCH_HANDLE = 91; + public static readonly MESSAGE = 92; + public static readonly ATOM_REF = 93; + public static readonly INTERFACE_REF = 94; + public static readonly OPTIONAL = 95; + public static readonly LIST = 96; + public static readonly RECORD = 97; + public static readonly BOOL = 98; + public static readonly BYTES = 99; + public static readonly DOUBLE = 100; + public static readonly INT32 = 101; + public static readonly INT64 = 102; + public static readonly STRING = 103; + public static readonly UINT32 = 104; + public static readonly UINT64 = 105; + public static readonly TRUE = 106; + public static readonly FALSE = 107; + public static readonly NULL = 108; + public static readonly ARROW = 109; + public static readonly COLON = 110; + public static readonly SEMI = 111; + public static readonly COMMA = 112; + public static readonly DOT = 113; + public static readonly LBRACE = 114; + public static readonly RBRACE = 115; + public static readonly LBRACK = 116; + public static readonly RBRACK = 117; + public static readonly LPAREN = 118; + public static readonly RPAREN = 119; + public static readonly LT = 120; + public static readonly GT = 121; + public static readonly AMP = 122; + public static readonly EQUAL = 123; + public static readonly INTEGER = 124; + public static readonly JSON_NUMBER = 125; + public static readonly IDENTIFIER = 126; + public static readonly STRING_LITERAL = 127; + public static readonly LINE_COMMENT = 128; + public static readonly BLOCK_COMMENT = 129; + public static readonly WS = 130; public static readonly channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ]; public static readonly literalNames = [ - null, "'workspace'", "'query'", "'root'", "'document'", "'fragments'", - "'view'", "'max'", "'allow'", "'poll'", "'queryable'", "'rpc'", - "'query-reason'", "'type'", "'object'", "'storable'", "'implements'", + null, "'workspace'", "'query'", "'specialize'", "'root'", "'document'", + "'fragments'", "'view'", "'max'", "'allow'", "'poll'", "'queryable'", + "'rpc'", "'query-reason'", "'type'", "'object'", "'storable'", "'implements'", "'ref'", "'fragment'", "'import'", "'external'", "'atom'", "'interface'", "'interfaces'", "'package'", "'value'", "'relation'", "'operation'", "'function'", "'constructor'", "'constructs'", "'input'", "'conform'", @@ -163,9 +164,9 @@ export class QuixosCapabilityLexer extends antlr.Lexer { ]; public static readonly symbolicNames = [ - null, "WORKSPACE", "QUERY", "ROOT", "DOCUMENT", "FRAGMENTS", "VIEW", - "MAX", "ALLOW", "POLL", "QUERYABLE", "RPC", "QUERY_REASON", "TYPE", - "OBJECT", "STORABLE", "IMPLEMENTS", "REF", "FRAGMENT", "IMPORT", + null, "WORKSPACE", "QUERY", "SPECIALIZE", "ROOT", "DOCUMENT", "FRAGMENTS", + "VIEW", "MAX", "ALLOW", "POLL", "QUERYABLE", "RPC", "QUERY_REASON", + "TYPE", "OBJECT", "STORABLE", "IMPLEMENTS", "REF", "FRAGMENT", "IMPORT", "EXTERNAL", "ATOM", "INTERFACE", "INTERFACES", "PACKAGE", "VALUE", "RELATION", "OPERATION", "FUNCTION", "CONSTRUCTOR", "CONSTRUCTS", "INPUT", "CONFORM", "AS", "BIND", "STATIC", "TO", "PRIVATE", "SHARED", @@ -191,26 +192,27 @@ export class QuixosCapabilityLexer extends antlr.Lexer { ]; public static readonly ruleNames = [ - "WORKSPACE", "QUERY", "ROOT", "DOCUMENT", "FRAGMENTS", "VIEW", "MAX", - "ALLOW", "POLL", "QUERYABLE", "RPC", "QUERY_REASON", "TYPE", "OBJECT", - "STORABLE", "IMPLEMENTS", "REF", "FRAGMENT", "IMPORT", "EXTERNAL", - "ATOM", "INTERFACE", "INTERFACES", "PACKAGE", "VALUE", "RELATION", - "OPERATION", "FUNCTION", "CONSTRUCTOR", "CONSTRUCTS", "INPUT", "CONFORM", - "AS", "BIND", "STATIC", "TO", "PRIVATE", "SHARED", "STATE", "EDGE", - "PROJECTION", "WITH", "USING", "VIA", "MATERIALIZE", "IF", "ABSENT", - "ON", "POLICY", "DEFAULT", "SOURCE", "REPOSITORY", "COMMIT", "REVISION", - "SEMANTIC_MAJOR", "ON_DELETE", "RETAIN_OTHER", "KEYED", "PUBLIC_TRAVERSAL", - "ID", "DOC", "MODE", "EMITS", "RECEIVER", "REQUIRES", "ANY", "GET", - "SET", "WATCH", "START", "STOP", "READ", "WRITE", "RESOLVE", "CONNECT", - "DISCONNECT", "CALL", "WATCH_START", "WATCH_STOP", "SUBSCRIBE", - "UNSUBSCRIBE", "OPTIMISTIC_REGISTER", "CRDT", "OPTIONAL_ONE", "EXACTLY_ONE", - "MANY_UNIQUE", "MANY", "ORDERED", "UNIT", "WATCH_HANDLE", "MESSAGE", - "ATOM_REF", "INTERFACE_REF", "OPTIONAL", "LIST", "RECORD", "BOOL", - "BYTES", "DOUBLE", "INT32", "INT64", "STRING", "UINT32", "UINT64", - "TRUE", "FALSE", "NULL", "ARROW", "COLON", "SEMI", "COMMA", "DOT", - "LBRACE", "RBRACE", "LBRACK", "RBRACK", "LPAREN", "RPAREN", "LT", - "GT", "AMP", "EQUAL", "INTEGER", "JSON_NUMBER", "IDENTIFIER", "STRING_LITERAL", - "ESC", "HEX", "LINE_COMMENT", "BLOCK_COMMENT", "WS", + "WORKSPACE", "QUERY", "SPECIALIZE", "ROOT", "DOCUMENT", "FRAGMENTS", + "VIEW", "MAX", "ALLOW", "POLL", "QUERYABLE", "RPC", "QUERY_REASON", + "TYPE", "OBJECT", "STORABLE", "IMPLEMENTS", "REF", "FRAGMENT", "IMPORT", + "EXTERNAL", "ATOM", "INTERFACE", "INTERFACES", "PACKAGE", "VALUE", + "RELATION", "OPERATION", "FUNCTION", "CONSTRUCTOR", "CONSTRUCTS", + "INPUT", "CONFORM", "AS", "BIND", "STATIC", "TO", "PRIVATE", "SHARED", + "STATE", "EDGE", "PROJECTION", "WITH", "USING", "VIA", "MATERIALIZE", + "IF", "ABSENT", "ON", "POLICY", "DEFAULT", "SOURCE", "REPOSITORY", + "COMMIT", "REVISION", "SEMANTIC_MAJOR", "ON_DELETE", "RETAIN_OTHER", + "KEYED", "PUBLIC_TRAVERSAL", "ID", "DOC", "MODE", "EMITS", "RECEIVER", + "REQUIRES", "ANY", "GET", "SET", "WATCH", "START", "STOP", "READ", + "WRITE", "RESOLVE", "CONNECT", "DISCONNECT", "CALL", "WATCH_START", + "WATCH_STOP", "SUBSCRIBE", "UNSUBSCRIBE", "OPTIMISTIC_REGISTER", + "CRDT", "OPTIONAL_ONE", "EXACTLY_ONE", "MANY_UNIQUE", "MANY", "ORDERED", + "UNIT", "WATCH_HANDLE", "MESSAGE", "ATOM_REF", "INTERFACE_REF", + "OPTIONAL", "LIST", "RECORD", "BOOL", "BYTES", "DOUBLE", "INT32", + "INT64", "STRING", "UINT32", "UINT64", "TRUE", "FALSE", "NULL", + "ARROW", "COLON", "SEMI", "COMMA", "DOT", "LBRACE", "RBRACE", "LBRACK", + "RBRACK", "LPAREN", "RPAREN", "LT", "GT", "AMP", "EQUAL", "INTEGER", + "JSON_NUMBER", "IDENTIFIER", "STRING_LITERAL", "ESC", "HEX", "LINE_COMMENT", + "BLOCK_COMMENT", "WS", ]; @@ -232,7 +234,7 @@ export class QuixosCapabilityLexer extends antlr.Lexer { public get modeNames(): string[] { return QuixosCapabilityLexer.modeNames; } public static readonly _serializedATN: number[] = [ - 4,0,129,1218,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, + 4,0,130,1231,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, @@ -253,84 +255,85 @@ export class QuixosCapabilityLexer extends antlr.Lexer { 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, - 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,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,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6, - 1,6,1,7,1,7,1,7,1,7,1,7,1,7,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,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,11,1,11,1,11,1,11,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,14,1,15,1,15,1,15,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,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,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,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,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,25,1,25,1,25,1,25,1,25,1,25,1,25, - 1,25,1,25,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,27, - 1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28, - 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29,1,29, - 1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31, - 1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,33,1,33,1,33,1,33, - 1,33,1,34,1,34,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,36,1,36, - 1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,40,1,40, - 1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41, - 1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44, - 1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45, - 1,46,1,46,1,46,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48, - 1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50, - 1,50,1,50,1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,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,52,1,53,1,53, - 1,53,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,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,55,1,55,1,55,1,55, - 1,55,1,55,1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,56,1,56,1,56, - 1,56,1,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,57,1,57,1,58, - 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58, - 1,58,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,61,1,61,1,62,1,62,1,62,1,62,1,62,1,62,1,63,1,63,1,63,1,63,1,63, - 1,63,1,63,1,63,1,63,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64, - 1,65,1,65,1,65,1,65,1,66,1,66,1,66,1,66,1,67,1,67,1,67,1,67,1,68, - 1,68,1,68,1,68,1,68,1,68,1,69,1,69,1,69,1,69,1,69,1,69,1,70,1,70, - 1,70,1,70,1,70,1,71,1,71,1,71,1,71,1,71,1,72,1,72,1,72,1,72,1,72, - 1,72,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,73,1,74,1,74,1,74,1,74, - 1,74,1,74,1,74,1,74,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75,1,75, - 1,75,1,75,1,76,1,76,1,76,1,76,1,76,1,77,1,77,1,77,1,77,1,77,1,77, - 1,77,1,77,1,77,1,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78,1,78,1,78, - 1,78,1,78,1,78,1,78,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79,1,79, - 1,79,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80, - 1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81, - 1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,82,1,82,1,82,1,82,1,82,1,83, - 1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,83,1,84, - 1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,85,1,85, - 1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,86,1,86,1,86, - 1,86,1,86,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,87,1,88,1,88,1,88, - 1,88,1,88,1,89,1,89,1,89,1,89,1,89,1,89,1,89,1,89,1,89,1,89,1,89, - 1,89,1,89,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,91,1,91,1,91, - 1,91,1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92,1,92,1,92,1,92,1,92, - 1,92,1,92,1,92,1,92,1,92,1,92,1,92,1,93,1,93,1,93,1,93,1,93,1,93, - 1,93,1,93,1,93,1,94,1,94,1,94,1,94,1,94,1,95,1,95,1,95,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,97, - 1,98,1,98,1,98,1,98,1,98,1,98,1,98,1,99,1,99,1,99,1,99,1,99,1,99, - 1,100,1,100,1,100,1,100,1,100,1,100,1,101,1,101,1,101,1,101,1,101, - 1,101,1,101,1,102,1,102,1,102,1,102,1,102,1,102,1,102,1,103,1,103, - 1,103,1,103,1,103,1,103,1,103,1,104,1,104,1,104,1,104,1,104,1,105, - 1,105,1,105,1,105,1,105,1,105,1,106,1,106,1,106,1,106,1,106,1,107, - 1,107,1,107,1,108,1,108,1,109,1,109,1,110,1,110,1,111,1,111,1,112, - 1,112,1,113,1,113,1,114,1,114,1,115,1,115,1,116,1,116,1,117,1,117, - 1,118,1,118,1,119,1,119,1,120,1,120,1,121,1,121,1,122,3,122,1119, - 8,122,1,122,4,122,1122,8,122,11,122,12,122,1123,1,123,3,123,1127, - 8,123,1,123,1,123,1,123,5,123,1132,8,123,10,123,12,123,1135,9,123, - 3,123,1137,8,123,1,123,1,123,4,123,1141,8,123,11,123,12,123,1142, - 3,123,1145,8,123,1,123,1,123,3,123,1149,8,123,1,123,4,123,1152,8, - 123,11,123,12,123,1153,3,123,1156,8,123,1,124,1,124,5,124,1160,8, - 124,10,124,12,124,1163,9,124,1,125,1,125,1,125,5,125,1168,8,125, - 10,125,12,125,1171,9,125,1,125,1,125,1,126,1,126,1,126,1,126,1,126, - 1,126,1,126,1,126,3,126,1183,8,126,1,127,1,127,1,128,1,128,1,128, - 1,128,5,128,1191,8,128,10,128,12,128,1194,9,128,1,128,1,128,1,129, - 1,129,1,129,1,129,5,129,1202,8,129,10,129,12,129,1205,9,129,1,129, - 1,129,1,129,1,129,1,129,1,130,4,130,1213,8,130,11,130,12,130,1214, - 1,130,1,130,1,1203,0,131,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9, + 2,131,7,131,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,2,1,2,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,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,5,1,5,1,5,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,8, + 1,8,1,8,1,8,1,8,1,8,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,11,1,11,1,11,1,11,1,12,1,12,1,12,1,12, + 1,12,1,12,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,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,15,1,16,1,16,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,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,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,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,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,26,1,26,1,26,1,26,1,26,1,26,1,26, + 1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,27,1,28, + 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1,29,1,29, + 1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30,1,30,1,30,1,30, + 1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32, + 1,32,1,32,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,34,1,34,1,34,1,34, + 1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,37,1,37, + 1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38, + 1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,40,1,40,1,41,1,41, + 1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42, + 1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45, + 1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46, + 1,47,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,49,1,49,1,49, + 1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,51, + 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,52, + 1,52,1,52,1,52,1,52,1,53,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,54,1,54,1,54,1,55,1,55,1,55,1,55,1,55,1,55, + 1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56, + 1,56,1,56,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,57,1,57,1,57, + 1,57,1,57,1,57,1,57,1,57,1,57,1,58,1,58,1,58,1,58,1,58,1,58,1,59, + 1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59, + 1,59,1,59,1,59,1,60,1,60,1,60,1,61,1,61,1,61,1,61,1,62,1,62,1,62, + 1,62,1,62,1,63,1,63,1,63,1,63,1,63,1,63,1,64,1,64,1,64,1,64,1,64, + 1,64,1,64,1,64,1,64,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65,1,65, + 1,66,1,66,1,66,1,66,1,67,1,67,1,67,1,67,1,68,1,68,1,68,1,68,1,69, + 1,69,1,69,1,69,1,69,1,69,1,70,1,70,1,70,1,70,1,70,1,70,1,71,1,71, + 1,71,1,71,1,71,1,72,1,72,1,72,1,72,1,72,1,73,1,73,1,73,1,73,1,73, + 1,73,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,74,1,75,1,75,1,75,1,75, + 1,75,1,75,1,75,1,75,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76,1,76, + 1,76,1,76,1,77,1,77,1,77,1,77,1,77,1,78,1,78,1,78,1,78,1,78,1,78, + 1,78,1,78,1,78,1,78,1,78,1,78,1,79,1,79,1,79,1,79,1,79,1,79,1,79, + 1,79,1,79,1,79,1,79,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80,1,80, + 1,80,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81,1,81, + 1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,82, + 1,82,1,82,1,82,1,82,1,82,1,82,1,82,1,83,1,83,1,83,1,83,1,83,1,84, + 1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,84,1,85, + 1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,85,1,86,1,86, + 1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,86,1,87,1,87,1,87, + 1,87,1,87,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,88,1,89,1,89,1,89, + 1,89,1,89,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90,1,90, + 1,90,1,90,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,91,1,92,1,92,1,92, + 1,92,1,92,1,92,1,92,1,92,1,92,1,93,1,93,1,93,1,93,1,93,1,93,1,93, + 1,93,1,93,1,93,1,93,1,93,1,93,1,93,1,94,1,94,1,94,1,94,1,94,1,94, + 1,94,1,94,1,94,1,95,1,95,1,95,1,95,1,95,1,96,1,96,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,98,1,98, + 1,99,1,99,1,99,1,99,1,99,1,99,1,99,1,100,1,100,1,100,1,100,1,100, + 1,100,1,101,1,101,1,101,1,101,1,101,1,101,1,102,1,102,1,102,1,102, + 1,102,1,102,1,102,1,103,1,103,1,103,1,103,1,103,1,103,1,103,1,104, + 1,104,1,104,1,104,1,104,1,104,1,104,1,105,1,105,1,105,1,105,1,105, + 1,106,1,106,1,106,1,106,1,106,1,106,1,107,1,107,1,107,1,107,1,107, + 1,108,1,108,1,108,1,109,1,109,1,110,1,110,1,111,1,111,1,112,1,112, + 1,113,1,113,1,114,1,114,1,115,1,115,1,116,1,116,1,117,1,117,1,118, + 1,118,1,119,1,119,1,120,1,120,1,121,1,121,1,122,1,122,1,123,3,123, + 1132,8,123,1,123,4,123,1135,8,123,11,123,12,123,1136,1,124,3,124, + 1140,8,124,1,124,1,124,1,124,5,124,1145,8,124,10,124,12,124,1148, + 9,124,3,124,1150,8,124,1,124,1,124,4,124,1154,8,124,11,124,12,124, + 1155,3,124,1158,8,124,1,124,1,124,3,124,1162,8,124,1,124,4,124,1165, + 8,124,11,124,12,124,1166,3,124,1169,8,124,1,125,1,125,5,125,1173, + 8,125,10,125,12,125,1176,9,125,1,126,1,126,1,126,5,126,1181,8,126, + 10,126,12,126,1184,9,126,1,126,1,126,1,127,1,127,1,127,1,127,1,127, + 1,127,1,127,1,127,3,127,1196,8,127,1,128,1,128,1,129,1,129,1,129, + 1,129,5,129,1204,8,129,10,129,12,129,1207,9,129,1,129,1,129,1,130, + 1,130,1,130,1,130,5,130,1215,8,130,10,130,12,130,1218,9,130,1,130, + 1,130,1,130,1,130,1,130,1,131,4,131,1226,8,131,11,131,12,131,1227, + 1,131,1,131,1,1216,0,132,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9, 19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37,19,39,20, 41,21,43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29,59,30,61,31, 63,32,65,33,67,34,69,35,71,36,73,37,75,38,77,39,79,40,81,41,83,42, @@ -343,337 +346,341 @@ export class QuixosCapabilityLexer extends antlr.Lexer { 201,101,203,102,205,103,207,104,209,105,211,106,213,107,215,108, 217,109,219,110,221,111,223,112,225,113,227,114,229,115,231,116, 233,117,235,118,237,119,239,120,241,121,243,122,245,123,247,124, - 249,125,251,126,253,0,255,0,257,127,259,128,261,129,1,0,11,1,0,48, - 57,1,0,49,57,2,0,69,69,101,101,2,0,43,43,45,45,3,0,65,90,95,95,97, - 122,4,0,48,57,65,90,95,95,97,122,4,0,10,10,13,13,34,34,92,92,8,0, - 34,34,47,47,92,92,98,98,102,102,110,110,114,114,116,116,3,0,48,57, - 65,70,97,102,2,0,10,10,13,13,3,0,9,10,13,13,32,32,1232,0,1,1,0,0, - 0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0, - 13,1,0,0,0,0,15,1,0,0,0,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,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0, - 83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0, - 93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0, - 0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1, - 0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0, - 121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0, - 0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139, - 1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0,0,0,0,147,1,0,0,0, - 0,149,1,0,0,0,0,151,1,0,0,0,0,153,1,0,0,0,0,155,1,0,0,0,0,157,1, - 0,0,0,0,159,1,0,0,0,0,161,1,0,0,0,0,163,1,0,0,0,0,165,1,0,0,0,0, - 167,1,0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0,173,1,0,0,0,0,175,1,0, - 0,0,0,177,1,0,0,0,0,179,1,0,0,0,0,181,1,0,0,0,0,183,1,0,0,0,0,185, - 1,0,0,0,0,187,1,0,0,0,0,189,1,0,0,0,0,191,1,0,0,0,0,193,1,0,0,0, - 0,195,1,0,0,0,0,197,1,0,0,0,0,199,1,0,0,0,0,201,1,0,0,0,0,203,1, - 0,0,0,0,205,1,0,0,0,0,207,1,0,0,0,0,209,1,0,0,0,0,211,1,0,0,0,0, - 213,1,0,0,0,0,215,1,0,0,0,0,217,1,0,0,0,0,219,1,0,0,0,0,221,1,0, - 0,0,0,223,1,0,0,0,0,225,1,0,0,0,0,227,1,0,0,0,0,229,1,0,0,0,0,231, - 1,0,0,0,0,233,1,0,0,0,0,235,1,0,0,0,0,237,1,0,0,0,0,239,1,0,0,0, - 0,241,1,0,0,0,0,243,1,0,0,0,0,245,1,0,0,0,0,247,1,0,0,0,0,249,1, - 0,0,0,0,251,1,0,0,0,0,257,1,0,0,0,0,259,1,0,0,0,0,261,1,0,0,0,1, - 263,1,0,0,0,3,273,1,0,0,0,5,279,1,0,0,0,7,284,1,0,0,0,9,293,1,0, - 0,0,11,303,1,0,0,0,13,308,1,0,0,0,15,312,1,0,0,0,17,318,1,0,0,0, - 19,323,1,0,0,0,21,333,1,0,0,0,23,337,1,0,0,0,25,350,1,0,0,0,27,355, - 1,0,0,0,29,362,1,0,0,0,31,371,1,0,0,0,33,382,1,0,0,0,35,386,1,0, - 0,0,37,395,1,0,0,0,39,402,1,0,0,0,41,411,1,0,0,0,43,416,1,0,0,0, - 45,426,1,0,0,0,47,437,1,0,0,0,49,445,1,0,0,0,51,451,1,0,0,0,53,460, - 1,0,0,0,55,470,1,0,0,0,57,479,1,0,0,0,59,491,1,0,0,0,61,502,1,0, - 0,0,63,508,1,0,0,0,65,516,1,0,0,0,67,519,1,0,0,0,69,524,1,0,0,0, - 71,531,1,0,0,0,73,534,1,0,0,0,75,542,1,0,0,0,77,549,1,0,0,0,79,555, - 1,0,0,0,81,560,1,0,0,0,83,571,1,0,0,0,85,576,1,0,0,0,87,582,1,0, - 0,0,89,586,1,0,0,0,91,598,1,0,0,0,93,601,1,0,0,0,95,608,1,0,0,0, - 97,611,1,0,0,0,99,618,1,0,0,0,101,626,1,0,0,0,103,633,1,0,0,0,105, - 644,1,0,0,0,107,651,1,0,0,0,109,660,1,0,0,0,111,675,1,0,0,0,113, - 685,1,0,0,0,115,698,1,0,0,0,117,704,1,0,0,0,119,721,1,0,0,0,121, - 724,1,0,0,0,123,728,1,0,0,0,125,733,1,0,0,0,127,739,1,0,0,0,129, - 748,1,0,0,0,131,757,1,0,0,0,133,761,1,0,0,0,135,765,1,0,0,0,137, - 769,1,0,0,0,139,775,1,0,0,0,141,781,1,0,0,0,143,786,1,0,0,0,145, - 791,1,0,0,0,147,797,1,0,0,0,149,805,1,0,0,0,151,813,1,0,0,0,153, - 824,1,0,0,0,155,829,1,0,0,0,157,841,1,0,0,0,159,852,1,0,0,0,161, - 862,1,0,0,0,163,874,1,0,0,0,165,894,1,0,0,0,167,899,1,0,0,0,169, - 912,1,0,0,0,171,924,1,0,0,0,173,936,1,0,0,0,175,941,1,0,0,0,177, - 949,1,0,0,0,179,954,1,0,0,0,181,967,1,0,0,0,183,975,1,0,0,0,185, - 984,1,0,0,0,187,998,1,0,0,0,189,1007,1,0,0,0,191,1012,1,0,0,0,193, - 1019,1,0,0,0,195,1024,1,0,0,0,197,1030,1,0,0,0,199,1037,1,0,0,0, - 201,1043,1,0,0,0,203,1049,1,0,0,0,205,1056,1,0,0,0,207,1063,1,0, - 0,0,209,1070,1,0,0,0,211,1075,1,0,0,0,213,1081,1,0,0,0,215,1086, - 1,0,0,0,217,1089,1,0,0,0,219,1091,1,0,0,0,221,1093,1,0,0,0,223,1095, - 1,0,0,0,225,1097,1,0,0,0,227,1099,1,0,0,0,229,1101,1,0,0,0,231,1103, - 1,0,0,0,233,1105,1,0,0,0,235,1107,1,0,0,0,237,1109,1,0,0,0,239,1111, - 1,0,0,0,241,1113,1,0,0,0,243,1115,1,0,0,0,245,1118,1,0,0,0,247,1126, - 1,0,0,0,249,1157,1,0,0,0,251,1164,1,0,0,0,253,1174,1,0,0,0,255,1184, - 1,0,0,0,257,1186,1,0,0,0,259,1197,1,0,0,0,261,1212,1,0,0,0,263,264, - 5,119,0,0,264,265,5,111,0,0,265,266,5,114,0,0,266,267,5,107,0,0, - 267,268,5,115,0,0,268,269,5,112,0,0,269,270,5,97,0,0,270,271,5,99, - 0,0,271,272,5,101,0,0,272,2,1,0,0,0,273,274,5,113,0,0,274,275,5, - 117,0,0,275,276,5,101,0,0,276,277,5,114,0,0,277,278,5,121,0,0,278, - 4,1,0,0,0,279,280,5,114,0,0,280,281,5,111,0,0,281,282,5,111,0,0, - 282,283,5,116,0,0,283,6,1,0,0,0,284,285,5,100,0,0,285,286,5,111, - 0,0,286,287,5,99,0,0,287,288,5,117,0,0,288,289,5,109,0,0,289,290, - 5,101,0,0,290,291,5,110,0,0,291,292,5,116,0,0,292,8,1,0,0,0,293, - 294,5,102,0,0,294,295,5,114,0,0,295,296,5,97,0,0,296,297,5,103,0, - 0,297,298,5,109,0,0,298,299,5,101,0,0,299,300,5,110,0,0,300,301, - 5,116,0,0,301,302,5,115,0,0,302,10,1,0,0,0,303,304,5,118,0,0,304, - 305,5,105,0,0,305,306,5,101,0,0,306,307,5,119,0,0,307,12,1,0,0,0, - 308,309,5,109,0,0,309,310,5,97,0,0,310,311,5,120,0,0,311,14,1,0, - 0,0,312,313,5,97,0,0,313,314,5,108,0,0,314,315,5,108,0,0,315,316, - 5,111,0,0,316,317,5,119,0,0,317,16,1,0,0,0,318,319,5,112,0,0,319, - 320,5,111,0,0,320,321,5,108,0,0,321,322,5,108,0,0,322,18,1,0,0,0, - 323,324,5,113,0,0,324,325,5,117,0,0,325,326,5,101,0,0,326,327,5, - 114,0,0,327,328,5,121,0,0,328,329,5,97,0,0,329,330,5,98,0,0,330, - 331,5,108,0,0,331,332,5,101,0,0,332,20,1,0,0,0,333,334,5,114,0,0, - 334,335,5,112,0,0,335,336,5,99,0,0,336,22,1,0,0,0,337,338,5,113, - 0,0,338,339,5,117,0,0,339,340,5,101,0,0,340,341,5,114,0,0,341,342, - 5,121,0,0,342,343,5,45,0,0,343,344,5,114,0,0,344,345,5,101,0,0,345, - 346,5,97,0,0,346,347,5,115,0,0,347,348,5,111,0,0,348,349,5,110,0, - 0,349,24,1,0,0,0,350,351,5,116,0,0,351,352,5,121,0,0,352,353,5,112, - 0,0,353,354,5,101,0,0,354,26,1,0,0,0,355,356,5,111,0,0,356,357,5, - 98,0,0,357,358,5,106,0,0,358,359,5,101,0,0,359,360,5,99,0,0,360, - 361,5,116,0,0,361,28,1,0,0,0,362,363,5,115,0,0,363,364,5,116,0,0, - 364,365,5,111,0,0,365,366,5,114,0,0,366,367,5,97,0,0,367,368,5,98, - 0,0,368,369,5,108,0,0,369,370,5,101,0,0,370,30,1,0,0,0,371,372,5, - 105,0,0,372,373,5,109,0,0,373,374,5,112,0,0,374,375,5,108,0,0,375, - 376,5,101,0,0,376,377,5,109,0,0,377,378,5,101,0,0,378,379,5,110, - 0,0,379,380,5,116,0,0,380,381,5,115,0,0,381,32,1,0,0,0,382,383,5, - 114,0,0,383,384,5,101,0,0,384,385,5,102,0,0,385,34,1,0,0,0,386,387, - 5,102,0,0,387,388,5,114,0,0,388,389,5,97,0,0,389,390,5,103,0,0,390, - 391,5,109,0,0,391,392,5,101,0,0,392,393,5,110,0,0,393,394,5,116, - 0,0,394,36,1,0,0,0,395,396,5,105,0,0,396,397,5,109,0,0,397,398,5, - 112,0,0,398,399,5,111,0,0,399,400,5,114,0,0,400,401,5,116,0,0,401, - 38,1,0,0,0,402,403,5,101,0,0,403,404,5,120,0,0,404,405,5,116,0,0, - 405,406,5,101,0,0,406,407,5,114,0,0,407,408,5,110,0,0,408,409,5, - 97,0,0,409,410,5,108,0,0,410,40,1,0,0,0,411,412,5,97,0,0,412,413, - 5,116,0,0,413,414,5,111,0,0,414,415,5,109,0,0,415,42,1,0,0,0,416, - 417,5,105,0,0,417,418,5,110,0,0,418,419,5,116,0,0,419,420,5,101, - 0,0,420,421,5,114,0,0,421,422,5,102,0,0,422,423,5,97,0,0,423,424, - 5,99,0,0,424,425,5,101,0,0,425,44,1,0,0,0,426,427,5,105,0,0,427, - 428,5,110,0,0,428,429,5,116,0,0,429,430,5,101,0,0,430,431,5,114, - 0,0,431,432,5,102,0,0,432,433,5,97,0,0,433,434,5,99,0,0,434,435, - 5,101,0,0,435,436,5,115,0,0,436,46,1,0,0,0,437,438,5,112,0,0,438, - 439,5,97,0,0,439,440,5,99,0,0,440,441,5,107,0,0,441,442,5,97,0,0, - 442,443,5,103,0,0,443,444,5,101,0,0,444,48,1,0,0,0,445,446,5,118, - 0,0,446,447,5,97,0,0,447,448,5,108,0,0,448,449,5,117,0,0,449,450, - 5,101,0,0,450,50,1,0,0,0,451,452,5,114,0,0,452,453,5,101,0,0,453, - 454,5,108,0,0,454,455,5,97,0,0,455,456,5,116,0,0,456,457,5,105,0, - 0,457,458,5,111,0,0,458,459,5,110,0,0,459,52,1,0,0,0,460,461,5,111, - 0,0,461,462,5,112,0,0,462,463,5,101,0,0,463,464,5,114,0,0,464,465, - 5,97,0,0,465,466,5,116,0,0,466,467,5,105,0,0,467,468,5,111,0,0,468, - 469,5,110,0,0,469,54,1,0,0,0,470,471,5,102,0,0,471,472,5,117,0,0, - 472,473,5,110,0,0,473,474,5,99,0,0,474,475,5,116,0,0,475,476,5,105, - 0,0,476,477,5,111,0,0,477,478,5,110,0,0,478,56,1,0,0,0,479,480,5, - 99,0,0,480,481,5,111,0,0,481,482,5,110,0,0,482,483,5,115,0,0,483, - 484,5,116,0,0,484,485,5,114,0,0,485,486,5,117,0,0,486,487,5,99,0, - 0,487,488,5,116,0,0,488,489,5,111,0,0,489,490,5,114,0,0,490,58,1, - 0,0,0,491,492,5,99,0,0,492,493,5,111,0,0,493,494,5,110,0,0,494,495, - 5,115,0,0,495,496,5,116,0,0,496,497,5,114,0,0,497,498,5,117,0,0, - 498,499,5,99,0,0,499,500,5,116,0,0,500,501,5,115,0,0,501,60,1,0, - 0,0,502,503,5,105,0,0,503,504,5,110,0,0,504,505,5,112,0,0,505,506, - 5,117,0,0,506,507,5,116,0,0,507,62,1,0,0,0,508,509,5,99,0,0,509, - 510,5,111,0,0,510,511,5,110,0,0,511,512,5,102,0,0,512,513,5,111, - 0,0,513,514,5,114,0,0,514,515,5,109,0,0,515,64,1,0,0,0,516,517,5, - 97,0,0,517,518,5,115,0,0,518,66,1,0,0,0,519,520,5,98,0,0,520,521, - 5,105,0,0,521,522,5,110,0,0,522,523,5,100,0,0,523,68,1,0,0,0,524, - 525,5,115,0,0,525,526,5,116,0,0,526,527,5,97,0,0,527,528,5,116,0, - 0,528,529,5,105,0,0,529,530,5,99,0,0,530,70,1,0,0,0,531,532,5,116, - 0,0,532,533,5,111,0,0,533,72,1,0,0,0,534,535,5,112,0,0,535,536,5, - 114,0,0,536,537,5,105,0,0,537,538,5,118,0,0,538,539,5,97,0,0,539, - 540,5,116,0,0,540,541,5,101,0,0,541,74,1,0,0,0,542,543,5,115,0,0, - 543,544,5,104,0,0,544,545,5,97,0,0,545,546,5,114,0,0,546,547,5,101, - 0,0,547,548,5,100,0,0,548,76,1,0,0,0,549,550,5,115,0,0,550,551,5, - 116,0,0,551,552,5,97,0,0,552,553,5,116,0,0,553,554,5,101,0,0,554, - 78,1,0,0,0,555,556,5,101,0,0,556,557,5,100,0,0,557,558,5,103,0,0, - 558,559,5,101,0,0,559,80,1,0,0,0,560,561,5,112,0,0,561,562,5,114, - 0,0,562,563,5,111,0,0,563,564,5,106,0,0,564,565,5,101,0,0,565,566, - 5,99,0,0,566,567,5,116,0,0,567,568,5,105,0,0,568,569,5,111,0,0,569, - 570,5,110,0,0,570,82,1,0,0,0,571,572,5,119,0,0,572,573,5,105,0,0, - 573,574,5,116,0,0,574,575,5,104,0,0,575,84,1,0,0,0,576,577,5,117, - 0,0,577,578,5,115,0,0,578,579,5,105,0,0,579,580,5,110,0,0,580,581, - 5,103,0,0,581,86,1,0,0,0,582,583,5,118,0,0,583,584,5,105,0,0,584, - 585,5,97,0,0,585,88,1,0,0,0,586,587,5,109,0,0,587,588,5,97,0,0,588, - 589,5,116,0,0,589,590,5,101,0,0,590,591,5,114,0,0,591,592,5,105, - 0,0,592,593,5,97,0,0,593,594,5,108,0,0,594,595,5,105,0,0,595,596, - 5,122,0,0,596,597,5,101,0,0,597,90,1,0,0,0,598,599,5,105,0,0,599, - 600,5,102,0,0,600,92,1,0,0,0,601,602,5,97,0,0,602,603,5,98,0,0,603, - 604,5,115,0,0,604,605,5,101,0,0,605,606,5,110,0,0,606,607,5,116, - 0,0,607,94,1,0,0,0,608,609,5,111,0,0,609,610,5,110,0,0,610,96,1, - 0,0,0,611,612,5,112,0,0,612,613,5,111,0,0,613,614,5,108,0,0,614, - 615,5,105,0,0,615,616,5,99,0,0,616,617,5,121,0,0,617,98,1,0,0,0, - 618,619,5,100,0,0,619,620,5,101,0,0,620,621,5,102,0,0,621,622,5, - 97,0,0,622,623,5,117,0,0,623,624,5,108,0,0,624,625,5,116,0,0,625, - 100,1,0,0,0,626,627,5,115,0,0,627,628,5,111,0,0,628,629,5,117,0, - 0,629,630,5,114,0,0,630,631,5,99,0,0,631,632,5,101,0,0,632,102,1, - 0,0,0,633,634,5,114,0,0,634,635,5,101,0,0,635,636,5,112,0,0,636, - 637,5,111,0,0,637,638,5,115,0,0,638,639,5,105,0,0,639,640,5,116, - 0,0,640,641,5,111,0,0,641,642,5,114,0,0,642,643,5,121,0,0,643,104, - 1,0,0,0,644,645,5,99,0,0,645,646,5,111,0,0,646,647,5,109,0,0,647, - 648,5,109,0,0,648,649,5,105,0,0,649,650,5,116,0,0,650,106,1,0,0, - 0,651,652,5,114,0,0,652,653,5,101,0,0,653,654,5,118,0,0,654,655, - 5,105,0,0,655,656,5,115,0,0,656,657,5,105,0,0,657,658,5,111,0,0, - 658,659,5,110,0,0,659,108,1,0,0,0,660,661,5,115,0,0,661,662,5,101, - 0,0,662,663,5,109,0,0,663,664,5,97,0,0,664,665,5,110,0,0,665,666, - 5,116,0,0,666,667,5,105,0,0,667,668,5,99,0,0,668,669,5,45,0,0,669, - 670,5,109,0,0,670,671,5,97,0,0,671,672,5,106,0,0,672,673,5,111,0, - 0,673,674,5,114,0,0,674,110,1,0,0,0,675,676,5,111,0,0,676,677,5, - 110,0,0,677,678,5,45,0,0,678,679,5,100,0,0,679,680,5,101,0,0,680, - 681,5,108,0,0,681,682,5,101,0,0,682,683,5,116,0,0,683,684,5,101, - 0,0,684,112,1,0,0,0,685,686,5,114,0,0,686,687,5,101,0,0,687,688, - 5,116,0,0,688,689,5,97,0,0,689,690,5,105,0,0,690,691,5,110,0,0,691, - 692,5,45,0,0,692,693,5,111,0,0,693,694,5,116,0,0,694,695,5,104,0, - 0,695,696,5,101,0,0,696,697,5,114,0,0,697,114,1,0,0,0,698,699,5, - 107,0,0,699,700,5,101,0,0,700,701,5,121,0,0,701,702,5,101,0,0,702, - 703,5,100,0,0,703,116,1,0,0,0,704,705,5,112,0,0,705,706,5,117,0, - 0,706,707,5,98,0,0,707,708,5,108,0,0,708,709,5,105,0,0,709,710,5, - 99,0,0,710,711,5,45,0,0,711,712,5,116,0,0,712,713,5,114,0,0,713, - 714,5,97,0,0,714,715,5,118,0,0,715,716,5,101,0,0,716,717,5,114,0, - 0,717,718,5,115,0,0,718,719,5,97,0,0,719,720,5,108,0,0,720,118,1, - 0,0,0,721,722,5,105,0,0,722,723,5,100,0,0,723,120,1,0,0,0,724,725, - 5,100,0,0,725,726,5,111,0,0,726,727,5,99,0,0,727,122,1,0,0,0,728, - 729,5,109,0,0,729,730,5,111,0,0,730,731,5,100,0,0,731,732,5,101, - 0,0,732,124,1,0,0,0,733,734,5,101,0,0,734,735,5,109,0,0,735,736, - 5,105,0,0,736,737,5,116,0,0,737,738,5,115,0,0,738,126,1,0,0,0,739, - 740,5,114,0,0,740,741,5,101,0,0,741,742,5,99,0,0,742,743,5,101,0, - 0,743,744,5,105,0,0,744,745,5,118,0,0,745,746,5,101,0,0,746,747, - 5,114,0,0,747,128,1,0,0,0,748,749,5,114,0,0,749,750,5,101,0,0,750, - 751,5,113,0,0,751,752,5,117,0,0,752,753,5,105,0,0,753,754,5,114, - 0,0,754,755,5,101,0,0,755,756,5,115,0,0,756,130,1,0,0,0,757,758, - 5,97,0,0,758,759,5,110,0,0,759,760,5,121,0,0,760,132,1,0,0,0,761, - 762,5,103,0,0,762,763,5,101,0,0,763,764,5,116,0,0,764,134,1,0,0, - 0,765,766,5,115,0,0,766,767,5,101,0,0,767,768,5,116,0,0,768,136, - 1,0,0,0,769,770,5,119,0,0,770,771,5,97,0,0,771,772,5,116,0,0,772, - 773,5,99,0,0,773,774,5,104,0,0,774,138,1,0,0,0,775,776,5,115,0,0, - 776,777,5,116,0,0,777,778,5,97,0,0,778,779,5,114,0,0,779,780,5,116, - 0,0,780,140,1,0,0,0,781,782,5,115,0,0,782,783,5,116,0,0,783,784, - 5,111,0,0,784,785,5,112,0,0,785,142,1,0,0,0,786,787,5,114,0,0,787, - 788,5,101,0,0,788,789,5,97,0,0,789,790,5,100,0,0,790,144,1,0,0,0, - 791,792,5,119,0,0,792,793,5,114,0,0,793,794,5,105,0,0,794,795,5, - 116,0,0,795,796,5,101,0,0,796,146,1,0,0,0,797,798,5,114,0,0,798, - 799,5,101,0,0,799,800,5,115,0,0,800,801,5,111,0,0,801,802,5,108, - 0,0,802,803,5,118,0,0,803,804,5,101,0,0,804,148,1,0,0,0,805,806, - 5,99,0,0,806,807,5,111,0,0,807,808,5,110,0,0,808,809,5,110,0,0,809, - 810,5,101,0,0,810,811,5,99,0,0,811,812,5,116,0,0,812,150,1,0,0,0, - 813,814,5,100,0,0,814,815,5,105,0,0,815,816,5,115,0,0,816,817,5, - 99,0,0,817,818,5,111,0,0,818,819,5,110,0,0,819,820,5,110,0,0,820, - 821,5,101,0,0,821,822,5,99,0,0,822,823,5,116,0,0,823,152,1,0,0,0, - 824,825,5,99,0,0,825,826,5,97,0,0,826,827,5,108,0,0,827,828,5,108, - 0,0,828,154,1,0,0,0,829,830,5,119,0,0,830,831,5,97,0,0,831,832,5, - 116,0,0,832,833,5,99,0,0,833,834,5,104,0,0,834,835,5,45,0,0,835, - 836,5,115,0,0,836,837,5,116,0,0,837,838,5,97,0,0,838,839,5,114,0, - 0,839,840,5,116,0,0,840,156,1,0,0,0,841,842,5,119,0,0,842,843,5, - 97,0,0,843,844,5,116,0,0,844,845,5,99,0,0,845,846,5,104,0,0,846, - 847,5,45,0,0,847,848,5,115,0,0,848,849,5,116,0,0,849,850,5,111,0, - 0,850,851,5,112,0,0,851,158,1,0,0,0,852,853,5,115,0,0,853,854,5, - 117,0,0,854,855,5,98,0,0,855,856,5,115,0,0,856,857,5,99,0,0,857, - 858,5,114,0,0,858,859,5,105,0,0,859,860,5,98,0,0,860,861,5,101,0, - 0,861,160,1,0,0,0,862,863,5,117,0,0,863,864,5,110,0,0,864,865,5, - 115,0,0,865,866,5,117,0,0,866,867,5,98,0,0,867,868,5,115,0,0,868, - 869,5,99,0,0,869,870,5,114,0,0,870,871,5,105,0,0,871,872,5,98,0, - 0,872,873,5,101,0,0,873,162,1,0,0,0,874,875,5,111,0,0,875,876,5, - 112,0,0,876,877,5,116,0,0,877,878,5,105,0,0,878,879,5,109,0,0,879, - 880,5,105,0,0,880,881,5,115,0,0,881,882,5,116,0,0,882,883,5,105, - 0,0,883,884,5,99,0,0,884,885,5,45,0,0,885,886,5,114,0,0,886,887, - 5,101,0,0,887,888,5,103,0,0,888,889,5,105,0,0,889,890,5,115,0,0, - 890,891,5,116,0,0,891,892,5,101,0,0,892,893,5,114,0,0,893,164,1, - 0,0,0,894,895,5,99,0,0,895,896,5,114,0,0,896,897,5,100,0,0,897,898, - 5,116,0,0,898,166,1,0,0,0,899,900,5,111,0,0,900,901,5,112,0,0,901, - 902,5,116,0,0,902,903,5,105,0,0,903,904,5,111,0,0,904,905,5,110, - 0,0,905,906,5,97,0,0,906,907,5,108,0,0,907,908,5,45,0,0,908,909, - 5,111,0,0,909,910,5,110,0,0,910,911,5,101,0,0,911,168,1,0,0,0,912, - 913,5,101,0,0,913,914,5,120,0,0,914,915,5,97,0,0,915,916,5,99,0, - 0,916,917,5,116,0,0,917,918,5,108,0,0,918,919,5,121,0,0,919,920, - 5,45,0,0,920,921,5,111,0,0,921,922,5,110,0,0,922,923,5,101,0,0,923, - 170,1,0,0,0,924,925,5,109,0,0,925,926,5,97,0,0,926,927,5,110,0,0, - 927,928,5,121,0,0,928,929,5,45,0,0,929,930,5,117,0,0,930,931,5,110, - 0,0,931,932,5,105,0,0,932,933,5,113,0,0,933,934,5,117,0,0,934,935, - 5,101,0,0,935,172,1,0,0,0,936,937,5,109,0,0,937,938,5,97,0,0,938, - 939,5,110,0,0,939,940,5,121,0,0,940,174,1,0,0,0,941,942,5,111,0, - 0,942,943,5,114,0,0,943,944,5,100,0,0,944,945,5,101,0,0,945,946, - 5,114,0,0,946,947,5,101,0,0,947,948,5,100,0,0,948,176,1,0,0,0,949, - 950,5,117,0,0,950,951,5,110,0,0,951,952,5,105,0,0,952,953,5,116, - 0,0,953,178,1,0,0,0,954,955,5,119,0,0,955,956,5,97,0,0,956,957,5, - 116,0,0,957,958,5,99,0,0,958,959,5,104,0,0,959,960,5,45,0,0,960, - 961,5,104,0,0,961,962,5,97,0,0,962,963,5,110,0,0,963,964,5,100,0, - 0,964,965,5,108,0,0,965,966,5,101,0,0,966,180,1,0,0,0,967,968,5, - 109,0,0,968,969,5,101,0,0,969,970,5,115,0,0,970,971,5,115,0,0,971, - 972,5,97,0,0,972,973,5,103,0,0,973,974,5,101,0,0,974,182,1,0,0,0, - 975,976,5,97,0,0,976,977,5,116,0,0,977,978,5,111,0,0,978,979,5,109, - 0,0,979,980,5,45,0,0,980,981,5,114,0,0,981,982,5,101,0,0,982,983, - 5,102,0,0,983,184,1,0,0,0,984,985,5,105,0,0,985,986,5,110,0,0,986, - 987,5,116,0,0,987,988,5,101,0,0,988,989,5,114,0,0,989,990,5,102, - 0,0,990,991,5,97,0,0,991,992,5,99,0,0,992,993,5,101,0,0,993,994, - 5,45,0,0,994,995,5,114,0,0,995,996,5,101,0,0,996,997,5,102,0,0,997, - 186,1,0,0,0,998,999,5,111,0,0,999,1000,5,112,0,0,1000,1001,5,116, - 0,0,1001,1002,5,105,0,0,1002,1003,5,111,0,0,1003,1004,5,110,0,0, - 1004,1005,5,97,0,0,1005,1006,5,108,0,0,1006,188,1,0,0,0,1007,1008, - 5,108,0,0,1008,1009,5,105,0,0,1009,1010,5,115,0,0,1010,1011,5,116, - 0,0,1011,190,1,0,0,0,1012,1013,5,114,0,0,1013,1014,5,101,0,0,1014, - 1015,5,99,0,0,1015,1016,5,111,0,0,1016,1017,5,114,0,0,1017,1018, - 5,100,0,0,1018,192,1,0,0,0,1019,1020,5,98,0,0,1020,1021,5,111,0, - 0,1021,1022,5,111,0,0,1022,1023,5,108,0,0,1023,194,1,0,0,0,1024, - 1025,5,98,0,0,1025,1026,5,121,0,0,1026,1027,5,116,0,0,1027,1028, - 5,101,0,0,1028,1029,5,115,0,0,1029,196,1,0,0,0,1030,1031,5,100,0, - 0,1031,1032,5,111,0,0,1032,1033,5,117,0,0,1033,1034,5,98,0,0,1034, - 1035,5,108,0,0,1035,1036,5,101,0,0,1036,198,1,0,0,0,1037,1038,5, - 105,0,0,1038,1039,5,110,0,0,1039,1040,5,116,0,0,1040,1041,5,51,0, - 0,1041,1042,5,50,0,0,1042,200,1,0,0,0,1043,1044,5,105,0,0,1044,1045, - 5,110,0,0,1045,1046,5,116,0,0,1046,1047,5,54,0,0,1047,1048,5,52, - 0,0,1048,202,1,0,0,0,1049,1050,5,115,0,0,1050,1051,5,116,0,0,1051, - 1052,5,114,0,0,1052,1053,5,105,0,0,1053,1054,5,110,0,0,1054,1055, - 5,103,0,0,1055,204,1,0,0,0,1056,1057,5,117,0,0,1057,1058,5,105,0, - 0,1058,1059,5,110,0,0,1059,1060,5,116,0,0,1060,1061,5,51,0,0,1061, - 1062,5,50,0,0,1062,206,1,0,0,0,1063,1064,5,117,0,0,1064,1065,5,105, - 0,0,1065,1066,5,110,0,0,1066,1067,5,116,0,0,1067,1068,5,54,0,0,1068, - 1069,5,52,0,0,1069,208,1,0,0,0,1070,1071,5,116,0,0,1071,1072,5,114, - 0,0,1072,1073,5,117,0,0,1073,1074,5,101,0,0,1074,210,1,0,0,0,1075, - 1076,5,102,0,0,1076,1077,5,97,0,0,1077,1078,5,108,0,0,1078,1079, - 5,115,0,0,1079,1080,5,101,0,0,1080,212,1,0,0,0,1081,1082,5,110,0, - 0,1082,1083,5,117,0,0,1083,1084,5,108,0,0,1084,1085,5,108,0,0,1085, - 214,1,0,0,0,1086,1087,5,45,0,0,1087,1088,5,62,0,0,1088,216,1,0,0, - 0,1089,1090,5,58,0,0,1090,218,1,0,0,0,1091,1092,5,59,0,0,1092,220, - 1,0,0,0,1093,1094,5,44,0,0,1094,222,1,0,0,0,1095,1096,5,46,0,0,1096, - 224,1,0,0,0,1097,1098,5,123,0,0,1098,226,1,0,0,0,1099,1100,5,125, - 0,0,1100,228,1,0,0,0,1101,1102,5,91,0,0,1102,230,1,0,0,0,1103,1104, - 5,93,0,0,1104,232,1,0,0,0,1105,1106,5,40,0,0,1106,234,1,0,0,0,1107, - 1108,5,41,0,0,1108,236,1,0,0,0,1109,1110,5,60,0,0,1110,238,1,0,0, - 0,1111,1112,5,62,0,0,1112,240,1,0,0,0,1113,1114,5,38,0,0,1114,242, - 1,0,0,0,1115,1116,5,61,0,0,1116,244,1,0,0,0,1117,1119,5,45,0,0,1118, - 1117,1,0,0,0,1118,1119,1,0,0,0,1119,1121,1,0,0,0,1120,1122,7,0,0, - 0,1121,1120,1,0,0,0,1122,1123,1,0,0,0,1123,1121,1,0,0,0,1123,1124, - 1,0,0,0,1124,246,1,0,0,0,1125,1127,5,45,0,0,1126,1125,1,0,0,0,1126, - 1127,1,0,0,0,1127,1136,1,0,0,0,1128,1137,5,48,0,0,1129,1133,7,1, - 0,0,1130,1132,7,0,0,0,1131,1130,1,0,0,0,1132,1135,1,0,0,0,1133,1131, - 1,0,0,0,1133,1134,1,0,0,0,1134,1137,1,0,0,0,1135,1133,1,0,0,0,1136, - 1128,1,0,0,0,1136,1129,1,0,0,0,1137,1144,1,0,0,0,1138,1140,5,46, - 0,0,1139,1141,7,0,0,0,1140,1139,1,0,0,0,1141,1142,1,0,0,0,1142,1140, - 1,0,0,0,1142,1143,1,0,0,0,1143,1145,1,0,0,0,1144,1138,1,0,0,0,1144, - 1145,1,0,0,0,1145,1155,1,0,0,0,1146,1148,7,2,0,0,1147,1149,7,3,0, - 0,1148,1147,1,0,0,0,1148,1149,1,0,0,0,1149,1151,1,0,0,0,1150,1152, - 7,0,0,0,1151,1150,1,0,0,0,1152,1153,1,0,0,0,1153,1151,1,0,0,0,1153, - 1154,1,0,0,0,1154,1156,1,0,0,0,1155,1146,1,0,0,0,1155,1156,1,0,0, - 0,1156,248,1,0,0,0,1157,1161,7,4,0,0,1158,1160,7,5,0,0,1159,1158, - 1,0,0,0,1160,1163,1,0,0,0,1161,1159,1,0,0,0,1161,1162,1,0,0,0,1162, - 250,1,0,0,0,1163,1161,1,0,0,0,1164,1169,5,34,0,0,1165,1168,3,253, - 126,0,1166,1168,8,6,0,0,1167,1165,1,0,0,0,1167,1166,1,0,0,0,1168, - 1171,1,0,0,0,1169,1167,1,0,0,0,1169,1170,1,0,0,0,1170,1172,1,0,0, - 0,1171,1169,1,0,0,0,1172,1173,5,34,0,0,1173,252,1,0,0,0,1174,1182, - 5,92,0,0,1175,1183,7,7,0,0,1176,1177,5,117,0,0,1177,1178,3,255,127, - 0,1178,1179,3,255,127,0,1179,1180,3,255,127,0,1180,1181,3,255,127, - 0,1181,1183,1,0,0,0,1182,1175,1,0,0,0,1182,1176,1,0,0,0,1183,254, - 1,0,0,0,1184,1185,7,8,0,0,1185,256,1,0,0,0,1186,1187,5,47,0,0,1187, - 1188,5,47,0,0,1188,1192,1,0,0,0,1189,1191,8,9,0,0,1190,1189,1,0, - 0,0,1191,1194,1,0,0,0,1192,1190,1,0,0,0,1192,1193,1,0,0,0,1193,1195, - 1,0,0,0,1194,1192,1,0,0,0,1195,1196,6,128,0,0,1196,258,1,0,0,0,1197, - 1198,5,47,0,0,1198,1199,5,42,0,0,1199,1203,1,0,0,0,1200,1202,9,0, - 0,0,1201,1200,1,0,0,0,1202,1205,1,0,0,0,1203,1204,1,0,0,0,1203,1201, - 1,0,0,0,1204,1206,1,0,0,0,1205,1203,1,0,0,0,1206,1207,5,42,0,0,1207, - 1208,5,47,0,0,1208,1209,1,0,0,0,1209,1210,6,129,0,0,1210,260,1,0, - 0,0,1211,1213,7,10,0,0,1212,1211,1,0,0,0,1213,1214,1,0,0,0,1214, - 1212,1,0,0,0,1214,1215,1,0,0,0,1215,1216,1,0,0,0,1216,1217,6,130, - 0,0,1217,262,1,0,0,0,18,0,1118,1123,1126,1133,1136,1142,1144,1148, - 1153,1155,1161,1167,1169,1182,1192,1203,1214,1,0,1,0 + 249,125,251,126,253,127,255,0,257,0,259,128,261,129,263,130,1,0, + 11,1,0,48,57,1,0,49,57,2,0,69,69,101,101,2,0,43,43,45,45,3,0,65, + 90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,4,0,10,10,13,13,34, + 34,92,92,8,0,34,34,47,47,92,92,98,98,102,102,110,110,114,114,116, + 116,3,0,48,57,65,70,97,102,2,0,10,10,13,13,3,0,9,10,13,13,32,32, + 1245,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0, + 0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,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,0,77,1,0,0,0,0,79,1,0,0,0, + 0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0, + 0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0, + 0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1, + 0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0, + 119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,0,127,1,0, + 0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,0,0,0,135,1,0,0,0,0,137, + 1,0,0,0,0,139,1,0,0,0,0,141,1,0,0,0,0,143,1,0,0,0,0,145,1,0,0,0, + 0,147,1,0,0,0,0,149,1,0,0,0,0,151,1,0,0,0,0,153,1,0,0,0,0,155,1, + 0,0,0,0,157,1,0,0,0,0,159,1,0,0,0,0,161,1,0,0,0,0,163,1,0,0,0,0, + 165,1,0,0,0,0,167,1,0,0,0,0,169,1,0,0,0,0,171,1,0,0,0,0,173,1,0, + 0,0,0,175,1,0,0,0,0,177,1,0,0,0,0,179,1,0,0,0,0,181,1,0,0,0,0,183, + 1,0,0,0,0,185,1,0,0,0,0,187,1,0,0,0,0,189,1,0,0,0,0,191,1,0,0,0, + 0,193,1,0,0,0,0,195,1,0,0,0,0,197,1,0,0,0,0,199,1,0,0,0,0,201,1, + 0,0,0,0,203,1,0,0,0,0,205,1,0,0,0,0,207,1,0,0,0,0,209,1,0,0,0,0, + 211,1,0,0,0,0,213,1,0,0,0,0,215,1,0,0,0,0,217,1,0,0,0,0,219,1,0, + 0,0,0,221,1,0,0,0,0,223,1,0,0,0,0,225,1,0,0,0,0,227,1,0,0,0,0,229, + 1,0,0,0,0,231,1,0,0,0,0,233,1,0,0,0,0,235,1,0,0,0,0,237,1,0,0,0, + 0,239,1,0,0,0,0,241,1,0,0,0,0,243,1,0,0,0,0,245,1,0,0,0,0,247,1, + 0,0,0,0,249,1,0,0,0,0,251,1,0,0,0,0,253,1,0,0,0,0,259,1,0,0,0,0, + 261,1,0,0,0,0,263,1,0,0,0,1,265,1,0,0,0,3,275,1,0,0,0,5,281,1,0, + 0,0,7,292,1,0,0,0,9,297,1,0,0,0,11,306,1,0,0,0,13,316,1,0,0,0,15, + 321,1,0,0,0,17,325,1,0,0,0,19,331,1,0,0,0,21,336,1,0,0,0,23,346, + 1,0,0,0,25,350,1,0,0,0,27,363,1,0,0,0,29,368,1,0,0,0,31,375,1,0, + 0,0,33,384,1,0,0,0,35,395,1,0,0,0,37,399,1,0,0,0,39,408,1,0,0,0, + 41,415,1,0,0,0,43,424,1,0,0,0,45,429,1,0,0,0,47,439,1,0,0,0,49,450, + 1,0,0,0,51,458,1,0,0,0,53,464,1,0,0,0,55,473,1,0,0,0,57,483,1,0, + 0,0,59,492,1,0,0,0,61,504,1,0,0,0,63,515,1,0,0,0,65,521,1,0,0,0, + 67,529,1,0,0,0,69,532,1,0,0,0,71,537,1,0,0,0,73,544,1,0,0,0,75,547, + 1,0,0,0,77,555,1,0,0,0,79,562,1,0,0,0,81,568,1,0,0,0,83,573,1,0, + 0,0,85,584,1,0,0,0,87,589,1,0,0,0,89,595,1,0,0,0,91,599,1,0,0,0, + 93,611,1,0,0,0,95,614,1,0,0,0,97,621,1,0,0,0,99,624,1,0,0,0,101, + 631,1,0,0,0,103,639,1,0,0,0,105,646,1,0,0,0,107,657,1,0,0,0,109, + 664,1,0,0,0,111,673,1,0,0,0,113,688,1,0,0,0,115,698,1,0,0,0,117, + 711,1,0,0,0,119,717,1,0,0,0,121,734,1,0,0,0,123,737,1,0,0,0,125, + 741,1,0,0,0,127,746,1,0,0,0,129,752,1,0,0,0,131,761,1,0,0,0,133, + 770,1,0,0,0,135,774,1,0,0,0,137,778,1,0,0,0,139,782,1,0,0,0,141, + 788,1,0,0,0,143,794,1,0,0,0,145,799,1,0,0,0,147,804,1,0,0,0,149, + 810,1,0,0,0,151,818,1,0,0,0,153,826,1,0,0,0,155,837,1,0,0,0,157, + 842,1,0,0,0,159,854,1,0,0,0,161,865,1,0,0,0,163,875,1,0,0,0,165, + 887,1,0,0,0,167,907,1,0,0,0,169,912,1,0,0,0,171,925,1,0,0,0,173, + 937,1,0,0,0,175,949,1,0,0,0,177,954,1,0,0,0,179,962,1,0,0,0,181, + 967,1,0,0,0,183,980,1,0,0,0,185,988,1,0,0,0,187,997,1,0,0,0,189, + 1011,1,0,0,0,191,1020,1,0,0,0,193,1025,1,0,0,0,195,1032,1,0,0,0, + 197,1037,1,0,0,0,199,1043,1,0,0,0,201,1050,1,0,0,0,203,1056,1,0, + 0,0,205,1062,1,0,0,0,207,1069,1,0,0,0,209,1076,1,0,0,0,211,1083, + 1,0,0,0,213,1088,1,0,0,0,215,1094,1,0,0,0,217,1099,1,0,0,0,219,1102, + 1,0,0,0,221,1104,1,0,0,0,223,1106,1,0,0,0,225,1108,1,0,0,0,227,1110, + 1,0,0,0,229,1112,1,0,0,0,231,1114,1,0,0,0,233,1116,1,0,0,0,235,1118, + 1,0,0,0,237,1120,1,0,0,0,239,1122,1,0,0,0,241,1124,1,0,0,0,243,1126, + 1,0,0,0,245,1128,1,0,0,0,247,1131,1,0,0,0,249,1139,1,0,0,0,251,1170, + 1,0,0,0,253,1177,1,0,0,0,255,1187,1,0,0,0,257,1197,1,0,0,0,259,1199, + 1,0,0,0,261,1210,1,0,0,0,263,1225,1,0,0,0,265,266,5,119,0,0,266, + 267,5,111,0,0,267,268,5,114,0,0,268,269,5,107,0,0,269,270,5,115, + 0,0,270,271,5,112,0,0,271,272,5,97,0,0,272,273,5,99,0,0,273,274, + 5,101,0,0,274,2,1,0,0,0,275,276,5,113,0,0,276,277,5,117,0,0,277, + 278,5,101,0,0,278,279,5,114,0,0,279,280,5,121,0,0,280,4,1,0,0,0, + 281,282,5,115,0,0,282,283,5,112,0,0,283,284,5,101,0,0,284,285,5, + 99,0,0,285,286,5,105,0,0,286,287,5,97,0,0,287,288,5,108,0,0,288, + 289,5,105,0,0,289,290,5,122,0,0,290,291,5,101,0,0,291,6,1,0,0,0, + 292,293,5,114,0,0,293,294,5,111,0,0,294,295,5,111,0,0,295,296,5, + 116,0,0,296,8,1,0,0,0,297,298,5,100,0,0,298,299,5,111,0,0,299,300, + 5,99,0,0,300,301,5,117,0,0,301,302,5,109,0,0,302,303,5,101,0,0,303, + 304,5,110,0,0,304,305,5,116,0,0,305,10,1,0,0,0,306,307,5,102,0,0, + 307,308,5,114,0,0,308,309,5,97,0,0,309,310,5,103,0,0,310,311,5,109, + 0,0,311,312,5,101,0,0,312,313,5,110,0,0,313,314,5,116,0,0,314,315, + 5,115,0,0,315,12,1,0,0,0,316,317,5,118,0,0,317,318,5,105,0,0,318, + 319,5,101,0,0,319,320,5,119,0,0,320,14,1,0,0,0,321,322,5,109,0,0, + 322,323,5,97,0,0,323,324,5,120,0,0,324,16,1,0,0,0,325,326,5,97,0, + 0,326,327,5,108,0,0,327,328,5,108,0,0,328,329,5,111,0,0,329,330, + 5,119,0,0,330,18,1,0,0,0,331,332,5,112,0,0,332,333,5,111,0,0,333, + 334,5,108,0,0,334,335,5,108,0,0,335,20,1,0,0,0,336,337,5,113,0,0, + 337,338,5,117,0,0,338,339,5,101,0,0,339,340,5,114,0,0,340,341,5, + 121,0,0,341,342,5,97,0,0,342,343,5,98,0,0,343,344,5,108,0,0,344, + 345,5,101,0,0,345,22,1,0,0,0,346,347,5,114,0,0,347,348,5,112,0,0, + 348,349,5,99,0,0,349,24,1,0,0,0,350,351,5,113,0,0,351,352,5,117, + 0,0,352,353,5,101,0,0,353,354,5,114,0,0,354,355,5,121,0,0,355,356, + 5,45,0,0,356,357,5,114,0,0,357,358,5,101,0,0,358,359,5,97,0,0,359, + 360,5,115,0,0,360,361,5,111,0,0,361,362,5,110,0,0,362,26,1,0,0,0, + 363,364,5,116,0,0,364,365,5,121,0,0,365,366,5,112,0,0,366,367,5, + 101,0,0,367,28,1,0,0,0,368,369,5,111,0,0,369,370,5,98,0,0,370,371, + 5,106,0,0,371,372,5,101,0,0,372,373,5,99,0,0,373,374,5,116,0,0,374, + 30,1,0,0,0,375,376,5,115,0,0,376,377,5,116,0,0,377,378,5,111,0,0, + 378,379,5,114,0,0,379,380,5,97,0,0,380,381,5,98,0,0,381,382,5,108, + 0,0,382,383,5,101,0,0,383,32,1,0,0,0,384,385,5,105,0,0,385,386,5, + 109,0,0,386,387,5,112,0,0,387,388,5,108,0,0,388,389,5,101,0,0,389, + 390,5,109,0,0,390,391,5,101,0,0,391,392,5,110,0,0,392,393,5,116, + 0,0,393,394,5,115,0,0,394,34,1,0,0,0,395,396,5,114,0,0,396,397,5, + 101,0,0,397,398,5,102,0,0,398,36,1,0,0,0,399,400,5,102,0,0,400,401, + 5,114,0,0,401,402,5,97,0,0,402,403,5,103,0,0,403,404,5,109,0,0,404, + 405,5,101,0,0,405,406,5,110,0,0,406,407,5,116,0,0,407,38,1,0,0,0, + 408,409,5,105,0,0,409,410,5,109,0,0,410,411,5,112,0,0,411,412,5, + 111,0,0,412,413,5,114,0,0,413,414,5,116,0,0,414,40,1,0,0,0,415,416, + 5,101,0,0,416,417,5,120,0,0,417,418,5,116,0,0,418,419,5,101,0,0, + 419,420,5,114,0,0,420,421,5,110,0,0,421,422,5,97,0,0,422,423,5,108, + 0,0,423,42,1,0,0,0,424,425,5,97,0,0,425,426,5,116,0,0,426,427,5, + 111,0,0,427,428,5,109,0,0,428,44,1,0,0,0,429,430,5,105,0,0,430,431, + 5,110,0,0,431,432,5,116,0,0,432,433,5,101,0,0,433,434,5,114,0,0, + 434,435,5,102,0,0,435,436,5,97,0,0,436,437,5,99,0,0,437,438,5,101, + 0,0,438,46,1,0,0,0,439,440,5,105,0,0,440,441,5,110,0,0,441,442,5, + 116,0,0,442,443,5,101,0,0,443,444,5,114,0,0,444,445,5,102,0,0,445, + 446,5,97,0,0,446,447,5,99,0,0,447,448,5,101,0,0,448,449,5,115,0, + 0,449,48,1,0,0,0,450,451,5,112,0,0,451,452,5,97,0,0,452,453,5,99, + 0,0,453,454,5,107,0,0,454,455,5,97,0,0,455,456,5,103,0,0,456,457, + 5,101,0,0,457,50,1,0,0,0,458,459,5,118,0,0,459,460,5,97,0,0,460, + 461,5,108,0,0,461,462,5,117,0,0,462,463,5,101,0,0,463,52,1,0,0,0, + 464,465,5,114,0,0,465,466,5,101,0,0,466,467,5,108,0,0,467,468,5, + 97,0,0,468,469,5,116,0,0,469,470,5,105,0,0,470,471,5,111,0,0,471, + 472,5,110,0,0,472,54,1,0,0,0,473,474,5,111,0,0,474,475,5,112,0,0, + 475,476,5,101,0,0,476,477,5,114,0,0,477,478,5,97,0,0,478,479,5,116, + 0,0,479,480,5,105,0,0,480,481,5,111,0,0,481,482,5,110,0,0,482,56, + 1,0,0,0,483,484,5,102,0,0,484,485,5,117,0,0,485,486,5,110,0,0,486, + 487,5,99,0,0,487,488,5,116,0,0,488,489,5,105,0,0,489,490,5,111,0, + 0,490,491,5,110,0,0,491,58,1,0,0,0,492,493,5,99,0,0,493,494,5,111, + 0,0,494,495,5,110,0,0,495,496,5,115,0,0,496,497,5,116,0,0,497,498, + 5,114,0,0,498,499,5,117,0,0,499,500,5,99,0,0,500,501,5,116,0,0,501, + 502,5,111,0,0,502,503,5,114,0,0,503,60,1,0,0,0,504,505,5,99,0,0, + 505,506,5,111,0,0,506,507,5,110,0,0,507,508,5,115,0,0,508,509,5, + 116,0,0,509,510,5,114,0,0,510,511,5,117,0,0,511,512,5,99,0,0,512, + 513,5,116,0,0,513,514,5,115,0,0,514,62,1,0,0,0,515,516,5,105,0,0, + 516,517,5,110,0,0,517,518,5,112,0,0,518,519,5,117,0,0,519,520,5, + 116,0,0,520,64,1,0,0,0,521,522,5,99,0,0,522,523,5,111,0,0,523,524, + 5,110,0,0,524,525,5,102,0,0,525,526,5,111,0,0,526,527,5,114,0,0, + 527,528,5,109,0,0,528,66,1,0,0,0,529,530,5,97,0,0,530,531,5,115, + 0,0,531,68,1,0,0,0,532,533,5,98,0,0,533,534,5,105,0,0,534,535,5, + 110,0,0,535,536,5,100,0,0,536,70,1,0,0,0,537,538,5,115,0,0,538,539, + 5,116,0,0,539,540,5,97,0,0,540,541,5,116,0,0,541,542,5,105,0,0,542, + 543,5,99,0,0,543,72,1,0,0,0,544,545,5,116,0,0,545,546,5,111,0,0, + 546,74,1,0,0,0,547,548,5,112,0,0,548,549,5,114,0,0,549,550,5,105, + 0,0,550,551,5,118,0,0,551,552,5,97,0,0,552,553,5,116,0,0,553,554, + 5,101,0,0,554,76,1,0,0,0,555,556,5,115,0,0,556,557,5,104,0,0,557, + 558,5,97,0,0,558,559,5,114,0,0,559,560,5,101,0,0,560,561,5,100,0, + 0,561,78,1,0,0,0,562,563,5,115,0,0,563,564,5,116,0,0,564,565,5,97, + 0,0,565,566,5,116,0,0,566,567,5,101,0,0,567,80,1,0,0,0,568,569,5, + 101,0,0,569,570,5,100,0,0,570,571,5,103,0,0,571,572,5,101,0,0,572, + 82,1,0,0,0,573,574,5,112,0,0,574,575,5,114,0,0,575,576,5,111,0,0, + 576,577,5,106,0,0,577,578,5,101,0,0,578,579,5,99,0,0,579,580,5,116, + 0,0,580,581,5,105,0,0,581,582,5,111,0,0,582,583,5,110,0,0,583,84, + 1,0,0,0,584,585,5,119,0,0,585,586,5,105,0,0,586,587,5,116,0,0,587, + 588,5,104,0,0,588,86,1,0,0,0,589,590,5,117,0,0,590,591,5,115,0,0, + 591,592,5,105,0,0,592,593,5,110,0,0,593,594,5,103,0,0,594,88,1,0, + 0,0,595,596,5,118,0,0,596,597,5,105,0,0,597,598,5,97,0,0,598,90, + 1,0,0,0,599,600,5,109,0,0,600,601,5,97,0,0,601,602,5,116,0,0,602, + 603,5,101,0,0,603,604,5,114,0,0,604,605,5,105,0,0,605,606,5,97,0, + 0,606,607,5,108,0,0,607,608,5,105,0,0,608,609,5,122,0,0,609,610, + 5,101,0,0,610,92,1,0,0,0,611,612,5,105,0,0,612,613,5,102,0,0,613, + 94,1,0,0,0,614,615,5,97,0,0,615,616,5,98,0,0,616,617,5,115,0,0,617, + 618,5,101,0,0,618,619,5,110,0,0,619,620,5,116,0,0,620,96,1,0,0,0, + 621,622,5,111,0,0,622,623,5,110,0,0,623,98,1,0,0,0,624,625,5,112, + 0,0,625,626,5,111,0,0,626,627,5,108,0,0,627,628,5,105,0,0,628,629, + 5,99,0,0,629,630,5,121,0,0,630,100,1,0,0,0,631,632,5,100,0,0,632, + 633,5,101,0,0,633,634,5,102,0,0,634,635,5,97,0,0,635,636,5,117,0, + 0,636,637,5,108,0,0,637,638,5,116,0,0,638,102,1,0,0,0,639,640,5, + 115,0,0,640,641,5,111,0,0,641,642,5,117,0,0,642,643,5,114,0,0,643, + 644,5,99,0,0,644,645,5,101,0,0,645,104,1,0,0,0,646,647,5,114,0,0, + 647,648,5,101,0,0,648,649,5,112,0,0,649,650,5,111,0,0,650,651,5, + 115,0,0,651,652,5,105,0,0,652,653,5,116,0,0,653,654,5,111,0,0,654, + 655,5,114,0,0,655,656,5,121,0,0,656,106,1,0,0,0,657,658,5,99,0,0, + 658,659,5,111,0,0,659,660,5,109,0,0,660,661,5,109,0,0,661,662,5, + 105,0,0,662,663,5,116,0,0,663,108,1,0,0,0,664,665,5,114,0,0,665, + 666,5,101,0,0,666,667,5,118,0,0,667,668,5,105,0,0,668,669,5,115, + 0,0,669,670,5,105,0,0,670,671,5,111,0,0,671,672,5,110,0,0,672,110, + 1,0,0,0,673,674,5,115,0,0,674,675,5,101,0,0,675,676,5,109,0,0,676, + 677,5,97,0,0,677,678,5,110,0,0,678,679,5,116,0,0,679,680,5,105,0, + 0,680,681,5,99,0,0,681,682,5,45,0,0,682,683,5,109,0,0,683,684,5, + 97,0,0,684,685,5,106,0,0,685,686,5,111,0,0,686,687,5,114,0,0,687, + 112,1,0,0,0,688,689,5,111,0,0,689,690,5,110,0,0,690,691,5,45,0,0, + 691,692,5,100,0,0,692,693,5,101,0,0,693,694,5,108,0,0,694,695,5, + 101,0,0,695,696,5,116,0,0,696,697,5,101,0,0,697,114,1,0,0,0,698, + 699,5,114,0,0,699,700,5,101,0,0,700,701,5,116,0,0,701,702,5,97,0, + 0,702,703,5,105,0,0,703,704,5,110,0,0,704,705,5,45,0,0,705,706,5, + 111,0,0,706,707,5,116,0,0,707,708,5,104,0,0,708,709,5,101,0,0,709, + 710,5,114,0,0,710,116,1,0,0,0,711,712,5,107,0,0,712,713,5,101,0, + 0,713,714,5,121,0,0,714,715,5,101,0,0,715,716,5,100,0,0,716,118, + 1,0,0,0,717,718,5,112,0,0,718,719,5,117,0,0,719,720,5,98,0,0,720, + 721,5,108,0,0,721,722,5,105,0,0,722,723,5,99,0,0,723,724,5,45,0, + 0,724,725,5,116,0,0,725,726,5,114,0,0,726,727,5,97,0,0,727,728,5, + 118,0,0,728,729,5,101,0,0,729,730,5,114,0,0,730,731,5,115,0,0,731, + 732,5,97,0,0,732,733,5,108,0,0,733,120,1,0,0,0,734,735,5,105,0,0, + 735,736,5,100,0,0,736,122,1,0,0,0,737,738,5,100,0,0,738,739,5,111, + 0,0,739,740,5,99,0,0,740,124,1,0,0,0,741,742,5,109,0,0,742,743,5, + 111,0,0,743,744,5,100,0,0,744,745,5,101,0,0,745,126,1,0,0,0,746, + 747,5,101,0,0,747,748,5,109,0,0,748,749,5,105,0,0,749,750,5,116, + 0,0,750,751,5,115,0,0,751,128,1,0,0,0,752,753,5,114,0,0,753,754, + 5,101,0,0,754,755,5,99,0,0,755,756,5,101,0,0,756,757,5,105,0,0,757, + 758,5,118,0,0,758,759,5,101,0,0,759,760,5,114,0,0,760,130,1,0,0, + 0,761,762,5,114,0,0,762,763,5,101,0,0,763,764,5,113,0,0,764,765, + 5,117,0,0,765,766,5,105,0,0,766,767,5,114,0,0,767,768,5,101,0,0, + 768,769,5,115,0,0,769,132,1,0,0,0,770,771,5,97,0,0,771,772,5,110, + 0,0,772,773,5,121,0,0,773,134,1,0,0,0,774,775,5,103,0,0,775,776, + 5,101,0,0,776,777,5,116,0,0,777,136,1,0,0,0,778,779,5,115,0,0,779, + 780,5,101,0,0,780,781,5,116,0,0,781,138,1,0,0,0,782,783,5,119,0, + 0,783,784,5,97,0,0,784,785,5,116,0,0,785,786,5,99,0,0,786,787,5, + 104,0,0,787,140,1,0,0,0,788,789,5,115,0,0,789,790,5,116,0,0,790, + 791,5,97,0,0,791,792,5,114,0,0,792,793,5,116,0,0,793,142,1,0,0,0, + 794,795,5,115,0,0,795,796,5,116,0,0,796,797,5,111,0,0,797,798,5, + 112,0,0,798,144,1,0,0,0,799,800,5,114,0,0,800,801,5,101,0,0,801, + 802,5,97,0,0,802,803,5,100,0,0,803,146,1,0,0,0,804,805,5,119,0,0, + 805,806,5,114,0,0,806,807,5,105,0,0,807,808,5,116,0,0,808,809,5, + 101,0,0,809,148,1,0,0,0,810,811,5,114,0,0,811,812,5,101,0,0,812, + 813,5,115,0,0,813,814,5,111,0,0,814,815,5,108,0,0,815,816,5,118, + 0,0,816,817,5,101,0,0,817,150,1,0,0,0,818,819,5,99,0,0,819,820,5, + 111,0,0,820,821,5,110,0,0,821,822,5,110,0,0,822,823,5,101,0,0,823, + 824,5,99,0,0,824,825,5,116,0,0,825,152,1,0,0,0,826,827,5,100,0,0, + 827,828,5,105,0,0,828,829,5,115,0,0,829,830,5,99,0,0,830,831,5,111, + 0,0,831,832,5,110,0,0,832,833,5,110,0,0,833,834,5,101,0,0,834,835, + 5,99,0,0,835,836,5,116,0,0,836,154,1,0,0,0,837,838,5,99,0,0,838, + 839,5,97,0,0,839,840,5,108,0,0,840,841,5,108,0,0,841,156,1,0,0,0, + 842,843,5,119,0,0,843,844,5,97,0,0,844,845,5,116,0,0,845,846,5,99, + 0,0,846,847,5,104,0,0,847,848,5,45,0,0,848,849,5,115,0,0,849,850, + 5,116,0,0,850,851,5,97,0,0,851,852,5,114,0,0,852,853,5,116,0,0,853, + 158,1,0,0,0,854,855,5,119,0,0,855,856,5,97,0,0,856,857,5,116,0,0, + 857,858,5,99,0,0,858,859,5,104,0,0,859,860,5,45,0,0,860,861,5,115, + 0,0,861,862,5,116,0,0,862,863,5,111,0,0,863,864,5,112,0,0,864,160, + 1,0,0,0,865,866,5,115,0,0,866,867,5,117,0,0,867,868,5,98,0,0,868, + 869,5,115,0,0,869,870,5,99,0,0,870,871,5,114,0,0,871,872,5,105,0, + 0,872,873,5,98,0,0,873,874,5,101,0,0,874,162,1,0,0,0,875,876,5,117, + 0,0,876,877,5,110,0,0,877,878,5,115,0,0,878,879,5,117,0,0,879,880, + 5,98,0,0,880,881,5,115,0,0,881,882,5,99,0,0,882,883,5,114,0,0,883, + 884,5,105,0,0,884,885,5,98,0,0,885,886,5,101,0,0,886,164,1,0,0,0, + 887,888,5,111,0,0,888,889,5,112,0,0,889,890,5,116,0,0,890,891,5, + 105,0,0,891,892,5,109,0,0,892,893,5,105,0,0,893,894,5,115,0,0,894, + 895,5,116,0,0,895,896,5,105,0,0,896,897,5,99,0,0,897,898,5,45,0, + 0,898,899,5,114,0,0,899,900,5,101,0,0,900,901,5,103,0,0,901,902, + 5,105,0,0,902,903,5,115,0,0,903,904,5,116,0,0,904,905,5,101,0,0, + 905,906,5,114,0,0,906,166,1,0,0,0,907,908,5,99,0,0,908,909,5,114, + 0,0,909,910,5,100,0,0,910,911,5,116,0,0,911,168,1,0,0,0,912,913, + 5,111,0,0,913,914,5,112,0,0,914,915,5,116,0,0,915,916,5,105,0,0, + 916,917,5,111,0,0,917,918,5,110,0,0,918,919,5,97,0,0,919,920,5,108, + 0,0,920,921,5,45,0,0,921,922,5,111,0,0,922,923,5,110,0,0,923,924, + 5,101,0,0,924,170,1,0,0,0,925,926,5,101,0,0,926,927,5,120,0,0,927, + 928,5,97,0,0,928,929,5,99,0,0,929,930,5,116,0,0,930,931,5,108,0, + 0,931,932,5,121,0,0,932,933,5,45,0,0,933,934,5,111,0,0,934,935,5, + 110,0,0,935,936,5,101,0,0,936,172,1,0,0,0,937,938,5,109,0,0,938, + 939,5,97,0,0,939,940,5,110,0,0,940,941,5,121,0,0,941,942,5,45,0, + 0,942,943,5,117,0,0,943,944,5,110,0,0,944,945,5,105,0,0,945,946, + 5,113,0,0,946,947,5,117,0,0,947,948,5,101,0,0,948,174,1,0,0,0,949, + 950,5,109,0,0,950,951,5,97,0,0,951,952,5,110,0,0,952,953,5,121,0, + 0,953,176,1,0,0,0,954,955,5,111,0,0,955,956,5,114,0,0,956,957,5, + 100,0,0,957,958,5,101,0,0,958,959,5,114,0,0,959,960,5,101,0,0,960, + 961,5,100,0,0,961,178,1,0,0,0,962,963,5,117,0,0,963,964,5,110,0, + 0,964,965,5,105,0,0,965,966,5,116,0,0,966,180,1,0,0,0,967,968,5, + 119,0,0,968,969,5,97,0,0,969,970,5,116,0,0,970,971,5,99,0,0,971, + 972,5,104,0,0,972,973,5,45,0,0,973,974,5,104,0,0,974,975,5,97,0, + 0,975,976,5,110,0,0,976,977,5,100,0,0,977,978,5,108,0,0,978,979, + 5,101,0,0,979,182,1,0,0,0,980,981,5,109,0,0,981,982,5,101,0,0,982, + 983,5,115,0,0,983,984,5,115,0,0,984,985,5,97,0,0,985,986,5,103,0, + 0,986,987,5,101,0,0,987,184,1,0,0,0,988,989,5,97,0,0,989,990,5,116, + 0,0,990,991,5,111,0,0,991,992,5,109,0,0,992,993,5,45,0,0,993,994, + 5,114,0,0,994,995,5,101,0,0,995,996,5,102,0,0,996,186,1,0,0,0,997, + 998,5,105,0,0,998,999,5,110,0,0,999,1000,5,116,0,0,1000,1001,5,101, + 0,0,1001,1002,5,114,0,0,1002,1003,5,102,0,0,1003,1004,5,97,0,0,1004, + 1005,5,99,0,0,1005,1006,5,101,0,0,1006,1007,5,45,0,0,1007,1008,5, + 114,0,0,1008,1009,5,101,0,0,1009,1010,5,102,0,0,1010,188,1,0,0,0, + 1011,1012,5,111,0,0,1012,1013,5,112,0,0,1013,1014,5,116,0,0,1014, + 1015,5,105,0,0,1015,1016,5,111,0,0,1016,1017,5,110,0,0,1017,1018, + 5,97,0,0,1018,1019,5,108,0,0,1019,190,1,0,0,0,1020,1021,5,108,0, + 0,1021,1022,5,105,0,0,1022,1023,5,115,0,0,1023,1024,5,116,0,0,1024, + 192,1,0,0,0,1025,1026,5,114,0,0,1026,1027,5,101,0,0,1027,1028,5, + 99,0,0,1028,1029,5,111,0,0,1029,1030,5,114,0,0,1030,1031,5,100,0, + 0,1031,194,1,0,0,0,1032,1033,5,98,0,0,1033,1034,5,111,0,0,1034,1035, + 5,111,0,0,1035,1036,5,108,0,0,1036,196,1,0,0,0,1037,1038,5,98,0, + 0,1038,1039,5,121,0,0,1039,1040,5,116,0,0,1040,1041,5,101,0,0,1041, + 1042,5,115,0,0,1042,198,1,0,0,0,1043,1044,5,100,0,0,1044,1045,5, + 111,0,0,1045,1046,5,117,0,0,1046,1047,5,98,0,0,1047,1048,5,108,0, + 0,1048,1049,5,101,0,0,1049,200,1,0,0,0,1050,1051,5,105,0,0,1051, + 1052,5,110,0,0,1052,1053,5,116,0,0,1053,1054,5,51,0,0,1054,1055, + 5,50,0,0,1055,202,1,0,0,0,1056,1057,5,105,0,0,1057,1058,5,110,0, + 0,1058,1059,5,116,0,0,1059,1060,5,54,0,0,1060,1061,5,52,0,0,1061, + 204,1,0,0,0,1062,1063,5,115,0,0,1063,1064,5,116,0,0,1064,1065,5, + 114,0,0,1065,1066,5,105,0,0,1066,1067,5,110,0,0,1067,1068,5,103, + 0,0,1068,206,1,0,0,0,1069,1070,5,117,0,0,1070,1071,5,105,0,0,1071, + 1072,5,110,0,0,1072,1073,5,116,0,0,1073,1074,5,51,0,0,1074,1075, + 5,50,0,0,1075,208,1,0,0,0,1076,1077,5,117,0,0,1077,1078,5,105,0, + 0,1078,1079,5,110,0,0,1079,1080,5,116,0,0,1080,1081,5,54,0,0,1081, + 1082,5,52,0,0,1082,210,1,0,0,0,1083,1084,5,116,0,0,1084,1085,5,114, + 0,0,1085,1086,5,117,0,0,1086,1087,5,101,0,0,1087,212,1,0,0,0,1088, + 1089,5,102,0,0,1089,1090,5,97,0,0,1090,1091,5,108,0,0,1091,1092, + 5,115,0,0,1092,1093,5,101,0,0,1093,214,1,0,0,0,1094,1095,5,110,0, + 0,1095,1096,5,117,0,0,1096,1097,5,108,0,0,1097,1098,5,108,0,0,1098, + 216,1,0,0,0,1099,1100,5,45,0,0,1100,1101,5,62,0,0,1101,218,1,0,0, + 0,1102,1103,5,58,0,0,1103,220,1,0,0,0,1104,1105,5,59,0,0,1105,222, + 1,0,0,0,1106,1107,5,44,0,0,1107,224,1,0,0,0,1108,1109,5,46,0,0,1109, + 226,1,0,0,0,1110,1111,5,123,0,0,1111,228,1,0,0,0,1112,1113,5,125, + 0,0,1113,230,1,0,0,0,1114,1115,5,91,0,0,1115,232,1,0,0,0,1116,1117, + 5,93,0,0,1117,234,1,0,0,0,1118,1119,5,40,0,0,1119,236,1,0,0,0,1120, + 1121,5,41,0,0,1121,238,1,0,0,0,1122,1123,5,60,0,0,1123,240,1,0,0, + 0,1124,1125,5,62,0,0,1125,242,1,0,0,0,1126,1127,5,38,0,0,1127,244, + 1,0,0,0,1128,1129,5,61,0,0,1129,246,1,0,0,0,1130,1132,5,45,0,0,1131, + 1130,1,0,0,0,1131,1132,1,0,0,0,1132,1134,1,0,0,0,1133,1135,7,0,0, + 0,1134,1133,1,0,0,0,1135,1136,1,0,0,0,1136,1134,1,0,0,0,1136,1137, + 1,0,0,0,1137,248,1,0,0,0,1138,1140,5,45,0,0,1139,1138,1,0,0,0,1139, + 1140,1,0,0,0,1140,1149,1,0,0,0,1141,1150,5,48,0,0,1142,1146,7,1, + 0,0,1143,1145,7,0,0,0,1144,1143,1,0,0,0,1145,1148,1,0,0,0,1146,1144, + 1,0,0,0,1146,1147,1,0,0,0,1147,1150,1,0,0,0,1148,1146,1,0,0,0,1149, + 1141,1,0,0,0,1149,1142,1,0,0,0,1150,1157,1,0,0,0,1151,1153,5,46, + 0,0,1152,1154,7,0,0,0,1153,1152,1,0,0,0,1154,1155,1,0,0,0,1155,1153, + 1,0,0,0,1155,1156,1,0,0,0,1156,1158,1,0,0,0,1157,1151,1,0,0,0,1157, + 1158,1,0,0,0,1158,1168,1,0,0,0,1159,1161,7,2,0,0,1160,1162,7,3,0, + 0,1161,1160,1,0,0,0,1161,1162,1,0,0,0,1162,1164,1,0,0,0,1163,1165, + 7,0,0,0,1164,1163,1,0,0,0,1165,1166,1,0,0,0,1166,1164,1,0,0,0,1166, + 1167,1,0,0,0,1167,1169,1,0,0,0,1168,1159,1,0,0,0,1168,1169,1,0,0, + 0,1169,250,1,0,0,0,1170,1174,7,4,0,0,1171,1173,7,5,0,0,1172,1171, + 1,0,0,0,1173,1176,1,0,0,0,1174,1172,1,0,0,0,1174,1175,1,0,0,0,1175, + 252,1,0,0,0,1176,1174,1,0,0,0,1177,1182,5,34,0,0,1178,1181,3,255, + 127,0,1179,1181,8,6,0,0,1180,1178,1,0,0,0,1180,1179,1,0,0,0,1181, + 1184,1,0,0,0,1182,1180,1,0,0,0,1182,1183,1,0,0,0,1183,1185,1,0,0, + 0,1184,1182,1,0,0,0,1185,1186,5,34,0,0,1186,254,1,0,0,0,1187,1195, + 5,92,0,0,1188,1196,7,7,0,0,1189,1190,5,117,0,0,1190,1191,3,257,128, + 0,1191,1192,3,257,128,0,1192,1193,3,257,128,0,1193,1194,3,257,128, + 0,1194,1196,1,0,0,0,1195,1188,1,0,0,0,1195,1189,1,0,0,0,1196,256, + 1,0,0,0,1197,1198,7,8,0,0,1198,258,1,0,0,0,1199,1200,5,47,0,0,1200, + 1201,5,47,0,0,1201,1205,1,0,0,0,1202,1204,8,9,0,0,1203,1202,1,0, + 0,0,1204,1207,1,0,0,0,1205,1203,1,0,0,0,1205,1206,1,0,0,0,1206,1208, + 1,0,0,0,1207,1205,1,0,0,0,1208,1209,6,129,0,0,1209,260,1,0,0,0,1210, + 1211,5,47,0,0,1211,1212,5,42,0,0,1212,1216,1,0,0,0,1213,1215,9,0, + 0,0,1214,1213,1,0,0,0,1215,1218,1,0,0,0,1216,1217,1,0,0,0,1216,1214, + 1,0,0,0,1217,1219,1,0,0,0,1218,1216,1,0,0,0,1219,1220,5,42,0,0,1220, + 1221,5,47,0,0,1221,1222,1,0,0,0,1222,1223,6,130,0,0,1223,262,1,0, + 0,0,1224,1226,7,10,0,0,1225,1224,1,0,0,0,1226,1227,1,0,0,0,1227, + 1225,1,0,0,0,1227,1228,1,0,0,0,1228,1229,1,0,0,0,1229,1230,6,131, + 0,0,1230,264,1,0,0,0,18,0,1131,1136,1139,1146,1149,1155,1157,1161, + 1166,1168,1174,1180,1182,1195,1205,1216,1227,1,0,1,0 ]; private static __ATN: antlr.ATN; diff --git a/src/capability-language/generated/QuixosCapabilityParser.ts b/src/capability-language/generated/QuixosCapabilityParser.ts index 8c5197c..2ddf655 100644 --- a/src/capability-language/generated/QuixosCapabilityParser.ts +++ b/src/capability-language/generated/QuixosCapabilityParser.ts @@ -12,133 +12,134 @@ type int = number; export class QuixosCapabilityParser extends antlr.Parser { public static readonly WORKSPACE = 1; public static readonly QUERY = 2; - public static readonly ROOT = 3; - public static readonly DOCUMENT = 4; - public static readonly FRAGMENTS = 5; - public static readonly VIEW = 6; - public static readonly MAX = 7; - public static readonly ALLOW = 8; - public static readonly POLL = 9; - public static readonly QUERYABLE = 10; - public static readonly RPC = 11; - public static readonly QUERY_REASON = 12; - public static readonly TYPE = 13; - public static readonly OBJECT = 14; - public static readonly STORABLE = 15; - public static readonly IMPLEMENTS = 16; - public static readonly REF = 17; - public static readonly FRAGMENT = 18; - public static readonly IMPORT = 19; - public static readonly EXTERNAL = 20; - public static readonly ATOM = 21; - public static readonly INTERFACE = 22; - public static readonly INTERFACES = 23; - public static readonly PACKAGE = 24; - public static readonly VALUE = 25; - public static readonly RELATION = 26; - public static readonly OPERATION = 27; - public static readonly FUNCTION = 28; - public static readonly CONSTRUCTOR = 29; - public static readonly CONSTRUCTS = 30; - public static readonly INPUT = 31; - public static readonly CONFORM = 32; - public static readonly AS = 33; - public static readonly BIND = 34; - public static readonly STATIC = 35; - public static readonly TO = 36; - public static readonly PRIVATE = 37; - public static readonly SHARED = 38; - public static readonly STATE = 39; - public static readonly EDGE = 40; - public static readonly PROJECTION = 41; - public static readonly WITH = 42; - public static readonly USING = 43; - public static readonly VIA = 44; - public static readonly MATERIALIZE = 45; - public static readonly IF = 46; - public static readonly ABSENT = 47; - public static readonly ON = 48; - public static readonly POLICY = 49; - public static readonly DEFAULT = 50; - public static readonly SOURCE = 51; - public static readonly REPOSITORY = 52; - public static readonly COMMIT = 53; - public static readonly REVISION = 54; - public static readonly SEMANTIC_MAJOR = 55; - public static readonly ON_DELETE = 56; - public static readonly RETAIN_OTHER = 57; - public static readonly KEYED = 58; - public static readonly PUBLIC_TRAVERSAL = 59; - public static readonly ID = 60; - public static readonly DOC = 61; - public static readonly MODE = 62; - public static readonly EMITS = 63; - public static readonly RECEIVER = 64; - public static readonly REQUIRES = 65; - public static readonly ANY = 66; - public static readonly GET = 67; - public static readonly SET = 68; - public static readonly WATCH = 69; - public static readonly START = 70; - public static readonly STOP = 71; - public static readonly READ = 72; - public static readonly WRITE = 73; - public static readonly RESOLVE = 74; - public static readonly CONNECT = 75; - public static readonly DISCONNECT = 76; - public static readonly CALL = 77; - public static readonly WATCH_START = 78; - public static readonly WATCH_STOP = 79; - public static readonly SUBSCRIBE = 80; - public static readonly UNSUBSCRIBE = 81; - public static readonly OPTIMISTIC_REGISTER = 82; - public static readonly CRDT = 83; - public static readonly OPTIONAL_ONE = 84; - public static readonly EXACTLY_ONE = 85; - public static readonly MANY_UNIQUE = 86; - public static readonly MANY = 87; - public static readonly ORDERED = 88; - public static readonly UNIT = 89; - public static readonly WATCH_HANDLE = 90; - public static readonly MESSAGE = 91; - public static readonly ATOM_REF = 92; - public static readonly INTERFACE_REF = 93; - public static readonly OPTIONAL = 94; - public static readonly LIST = 95; - public static readonly RECORD = 96; - public static readonly BOOL = 97; - public static readonly BYTES = 98; - public static readonly DOUBLE = 99; - public static readonly INT32 = 100; - public static readonly INT64 = 101; - public static readonly STRING = 102; - public static readonly UINT32 = 103; - public static readonly UINT64 = 104; - public static readonly TRUE = 105; - public static readonly FALSE = 106; - public static readonly NULL = 107; - public static readonly ARROW = 108; - public static readonly COLON = 109; - public static readonly SEMI = 110; - public static readonly COMMA = 111; - public static readonly DOT = 112; - public static readonly LBRACE = 113; - public static readonly RBRACE = 114; - public static readonly LBRACK = 115; - public static readonly RBRACK = 116; - public static readonly LPAREN = 117; - public static readonly RPAREN = 118; - public static readonly LT = 119; - public static readonly GT = 120; - public static readonly AMP = 121; - public static readonly EQUAL = 122; - public static readonly INTEGER = 123; - public static readonly JSON_NUMBER = 124; - public static readonly IDENTIFIER = 125; - public static readonly STRING_LITERAL = 126; - public static readonly LINE_COMMENT = 127; - public static readonly BLOCK_COMMENT = 128; - public static readonly WS = 129; + public static readonly SPECIALIZE = 3; + public static readonly ROOT = 4; + public static readonly DOCUMENT = 5; + public static readonly FRAGMENTS = 6; + public static readonly VIEW = 7; + public static readonly MAX = 8; + public static readonly ALLOW = 9; + public static readonly POLL = 10; + public static readonly QUERYABLE = 11; + public static readonly RPC = 12; + public static readonly QUERY_REASON = 13; + public static readonly TYPE = 14; + public static readonly OBJECT = 15; + public static readonly STORABLE = 16; + public static readonly IMPLEMENTS = 17; + public static readonly REF = 18; + public static readonly FRAGMENT = 19; + public static readonly IMPORT = 20; + public static readonly EXTERNAL = 21; + public static readonly ATOM = 22; + public static readonly INTERFACE = 23; + public static readonly INTERFACES = 24; + public static readonly PACKAGE = 25; + public static readonly VALUE = 26; + public static readonly RELATION = 27; + public static readonly OPERATION = 28; + public static readonly FUNCTION = 29; + public static readonly CONSTRUCTOR = 30; + public static readonly CONSTRUCTS = 31; + public static readonly INPUT = 32; + public static readonly CONFORM = 33; + public static readonly AS = 34; + public static readonly BIND = 35; + public static readonly STATIC = 36; + public static readonly TO = 37; + public static readonly PRIVATE = 38; + public static readonly SHARED = 39; + public static readonly STATE = 40; + public static readonly EDGE = 41; + public static readonly PROJECTION = 42; + public static readonly WITH = 43; + public static readonly USING = 44; + public static readonly VIA = 45; + public static readonly MATERIALIZE = 46; + public static readonly IF = 47; + public static readonly ABSENT = 48; + public static readonly ON = 49; + public static readonly POLICY = 50; + public static readonly DEFAULT = 51; + public static readonly SOURCE = 52; + public static readonly REPOSITORY = 53; + public static readonly COMMIT = 54; + public static readonly REVISION = 55; + public static readonly SEMANTIC_MAJOR = 56; + public static readonly ON_DELETE = 57; + public static readonly RETAIN_OTHER = 58; + public static readonly KEYED = 59; + public static readonly PUBLIC_TRAVERSAL = 60; + public static readonly ID = 61; + public static readonly DOC = 62; + public static readonly MODE = 63; + public static readonly EMITS = 64; + public static readonly RECEIVER = 65; + public static readonly REQUIRES = 66; + public static readonly ANY = 67; + public static readonly GET = 68; + public static readonly SET = 69; + public static readonly WATCH = 70; + public static readonly START = 71; + public static readonly STOP = 72; + public static readonly READ = 73; + public static readonly WRITE = 74; + public static readonly RESOLVE = 75; + public static readonly CONNECT = 76; + public static readonly DISCONNECT = 77; + public static readonly CALL = 78; + public static readonly WATCH_START = 79; + public static readonly WATCH_STOP = 80; + public static readonly SUBSCRIBE = 81; + public static readonly UNSUBSCRIBE = 82; + public static readonly OPTIMISTIC_REGISTER = 83; + public static readonly CRDT = 84; + public static readonly OPTIONAL_ONE = 85; + public static readonly EXACTLY_ONE = 86; + public static readonly MANY_UNIQUE = 87; + public static readonly MANY = 88; + public static readonly ORDERED = 89; + public static readonly UNIT = 90; + public static readonly WATCH_HANDLE = 91; + public static readonly MESSAGE = 92; + public static readonly ATOM_REF = 93; + public static readonly INTERFACE_REF = 94; + public static readonly OPTIONAL = 95; + public static readonly LIST = 96; + public static readonly RECORD = 97; + public static readonly BOOL = 98; + public static readonly BYTES = 99; + public static readonly DOUBLE = 100; + public static readonly INT32 = 101; + public static readonly INT64 = 102; + public static readonly STRING = 103; + public static readonly UINT32 = 104; + public static readonly UINT64 = 105; + public static readonly TRUE = 106; + public static readonly FALSE = 107; + public static readonly NULL = 108; + public static readonly ARROW = 109; + public static readonly COLON = 110; + public static readonly SEMI = 111; + public static readonly COMMA = 112; + public static readonly DOT = 113; + public static readonly LBRACE = 114; + public static readonly RBRACE = 115; + public static readonly LBRACK = 116; + public static readonly RBRACK = 117; + public static readonly LPAREN = 118; + public static readonly RPAREN = 119; + public static readonly LT = 120; + public static readonly GT = 121; + public static readonly AMP = 122; + public static readonly EQUAL = 123; + public static readonly INTEGER = 124; + public static readonly JSON_NUMBER = 125; + public static readonly IDENTIFIER = 126; + public static readonly STRING_LITERAL = 127; + public static readonly LINE_COMMENT = 128; + public static readonly BLOCK_COMMENT = 129; + public static readonly WS = 130; public static readonly RULE_document = 0; public static readonly RULE_fragmentDecl = 1; public static readonly RULE_sourceImportDecl = 2; @@ -167,52 +168,53 @@ export class QuixosCapabilityParser extends antlr.Parser { public static readonly RULE_packageResourceDecl = 25; public static readonly RULE_packageExport = 26; public static readonly RULE_packageQuery = 27; - public static readonly RULE_queryClause = 28; - public static readonly RULE_packageOperationExport = 29; - public static readonly RULE_packageFunctionExport = 30; - public static readonly RULE_packageConstructorExport = 31; - public static readonly RULE_eventClause = 32; - public static readonly RULE_operationMode = 33; - public static readonly RULE_receiverRequirement = 34; - public static readonly RULE_identifierList = 35; - public static readonly RULE_dependencyBlock = 36; - public static readonly RULE_dependencyPort = 37; - public static readonly RULE_primitiveList = 38; - public static readonly RULE_primitive = 39; - public static readonly RULE_sharedAttachmentDecl = 40; - public static readonly RULE_attachmentDecl = 41; - public static readonly RULE_stateDecl = 42; - public static readonly RULE_storagePolicy = 43; - public static readonly RULE_edgeDecl = 44; - public static readonly RULE_edgeEndpoint = 45; - public static readonly RULE_conformanceDecl = 46; - public static readonly RULE_conformanceItem = 47; - public static readonly RULE_stateFieldBindingDecl = 48; - public static readonly RULE_relationshipMaterializationDecl = 49; - public static readonly RULE_operationBindingDecl = 50; - public static readonly RULE_memberOperationRef = 51; - public static readonly RULE_operationName = 52; - public static readonly RULE_operationProvider = 53; - public static readonly RULE_statePrimitive = 54; - public static readonly RULE_edgePrimitive = 55; - public static readonly RULE_dependencyBindingBlock = 56; - public static readonly RULE_dependencyBinding = 57; - public static readonly RULE_constructorBindingDecl = 58; - public static readonly RULE_valueType = 59; - public static readonly RULE_recordField = 60; - public static readonly RULE_scalarType = 61; - public static readonly RULE_cardinality = 62; - public static readonly RULE_jsonLiteral = 63; - public static readonly RULE_jsonObject = 64; - public static readonly RULE_jsonMember = 65; - public static readonly RULE_jsonArray = 66; - public static readonly RULE_identifier = 67; - public static readonly RULE_stringLiteral = 68; + public static readonly RULE_packageQuerySpecialization = 28; + public static readonly RULE_queryClause = 29; + public static readonly RULE_packageOperationExport = 30; + public static readonly RULE_packageFunctionExport = 31; + public static readonly RULE_packageConstructorExport = 32; + public static readonly RULE_eventClause = 33; + public static readonly RULE_operationMode = 34; + public static readonly RULE_receiverRequirement = 35; + public static readonly RULE_identifierList = 36; + public static readonly RULE_dependencyBlock = 37; + public static readonly RULE_dependencyPort = 38; + public static readonly RULE_primitiveList = 39; + public static readonly RULE_primitive = 40; + public static readonly RULE_sharedAttachmentDecl = 41; + public static readonly RULE_attachmentDecl = 42; + public static readonly RULE_stateDecl = 43; + public static readonly RULE_storagePolicy = 44; + public static readonly RULE_edgeDecl = 45; + public static readonly RULE_edgeEndpoint = 46; + public static readonly RULE_conformanceDecl = 47; + public static readonly RULE_conformanceItem = 48; + public static readonly RULE_stateFieldBindingDecl = 49; + public static readonly RULE_relationshipMaterializationDecl = 50; + public static readonly RULE_operationBindingDecl = 51; + public static readonly RULE_memberOperationRef = 52; + public static readonly RULE_operationName = 53; + public static readonly RULE_operationProvider = 54; + public static readonly RULE_statePrimitive = 55; + public static readonly RULE_edgePrimitive = 56; + public static readonly RULE_dependencyBindingBlock = 57; + public static readonly RULE_dependencyBinding = 58; + public static readonly RULE_constructorBindingDecl = 59; + public static readonly RULE_valueType = 60; + public static readonly RULE_recordField = 61; + public static readonly RULE_scalarType = 62; + public static readonly RULE_cardinality = 63; + public static readonly RULE_jsonLiteral = 64; + public static readonly RULE_jsonObject = 65; + public static readonly RULE_jsonMember = 66; + public static readonly RULE_jsonArray = 67; + public static readonly RULE_identifier = 68; + public static readonly RULE_stringLiteral = 69; public static readonly literalNames = [ - null, "'workspace'", "'query'", "'root'", "'document'", "'fragments'", - "'view'", "'max'", "'allow'", "'poll'", "'queryable'", "'rpc'", - "'query-reason'", "'type'", "'object'", "'storable'", "'implements'", + null, "'workspace'", "'query'", "'specialize'", "'root'", "'document'", + "'fragments'", "'view'", "'max'", "'allow'", "'poll'", "'queryable'", + "'rpc'", "'query-reason'", "'type'", "'object'", "'storable'", "'implements'", "'ref'", "'fragment'", "'import'", "'external'", "'atom'", "'interface'", "'interfaces'", "'package'", "'value'", "'relation'", "'operation'", "'function'", "'constructor'", "'constructs'", "'input'", "'conform'", @@ -234,9 +236,9 @@ export class QuixosCapabilityParser extends antlr.Parser { ]; public static readonly symbolicNames = [ - null, "WORKSPACE", "QUERY", "ROOT", "DOCUMENT", "FRAGMENTS", "VIEW", - "MAX", "ALLOW", "POLL", "QUERYABLE", "RPC", "QUERY_REASON", "TYPE", - "OBJECT", "STORABLE", "IMPLEMENTS", "REF", "FRAGMENT", "IMPORT", + null, "WORKSPACE", "QUERY", "SPECIALIZE", "ROOT", "DOCUMENT", "FRAGMENTS", + "VIEW", "MAX", "ALLOW", "POLL", "QUERYABLE", "RPC", "QUERY_REASON", + "TYPE", "OBJECT", "STORABLE", "IMPLEMENTS", "REF", "FRAGMENT", "IMPORT", "EXTERNAL", "ATOM", "INTERFACE", "INTERFACES", "PACKAGE", "VALUE", "RELATION", "OPERATION", "FUNCTION", "CONSTRUCTOR", "CONSTRUCTS", "INPUT", "CONFORM", "AS", "BIND", "STATIC", "TO", "PRIVATE", "SHARED", @@ -264,14 +266,15 @@ export class QuixosCapabilityParser extends antlr.Parser { "typeAliasDecl", "interfaceMember", "operationMember", "valueMember", "valueMemberOperation", "relationshipMember", "queryReadContract", "relationshipOperation", "targetConstraint", "packageResourceDecl", - "packageExport", "packageQuery", "queryClause", "packageOperationExport", - "packageFunctionExport", "packageConstructorExport", "eventClause", - "operationMode", "receiverRequirement", "identifierList", "dependencyBlock", - "dependencyPort", "primitiveList", "primitive", "sharedAttachmentDecl", - "attachmentDecl", "stateDecl", "storagePolicy", "edgeDecl", "edgeEndpoint", - "conformanceDecl", "conformanceItem", "stateFieldBindingDecl", "relationshipMaterializationDecl", - "operationBindingDecl", "memberOperationRef", "operationName", "operationProvider", - "statePrimitive", "edgePrimitive", "dependencyBindingBlock", "dependencyBinding", + "packageExport", "packageQuery", "packageQuerySpecialization", "queryClause", + "packageOperationExport", "packageFunctionExport", "packageConstructorExport", + "eventClause", "operationMode", "receiverRequirement", "identifierList", + "dependencyBlock", "dependencyPort", "primitiveList", "primitive", + "sharedAttachmentDecl", "attachmentDecl", "stateDecl", "storagePolicy", + "edgeDecl", "edgeEndpoint", "conformanceDecl", "conformanceItem", + "stateFieldBindingDecl", "relationshipMaterializationDecl", "operationBindingDecl", + "memberOperationRef", "operationName", "operationProvider", "statePrimitive", + "edgePrimitive", "dependencyBindingBlock", "dependencyBinding", "constructorBindingDecl", "valueType", "recordField", "scalarType", "cardinality", "jsonLiteral", "jsonObject", "jsonMember", "jsonArray", "identifier", "stringLiteral", @@ -295,42 +298,42 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new DocumentContext(this.context, this.state); this.enterRule(localContext, 0, QuixosCapabilityParser.RULE_document); try { - this.state = 150; + this.state = 152; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 0, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 138; + this.state = 140; this.workspaceDecl(); - this.state = 139; + this.state = 141; this.match(QuixosCapabilityParser.EOF); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 141; + this.state = 143; this.interfaceResourceDecl(); - this.state = 142; + this.state = 144; this.match(QuixosCapabilityParser.EOF); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 144; + this.state = 146; this.packageResourceDecl(); - this.state = 145; + this.state = 147; this.match(QuixosCapabilityParser.EOF); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 147; + this.state = 149; this.fragmentDecl(); - this.state = 148; + this.state = 150; this.match(QuixosCapabilityParser.EOF); } break; @@ -356,25 +359,25 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 152; + this.state = 154; this.match(QuixosCapabilityParser.FRAGMENT); - this.state = 153; + this.state = 155; this.match(QuixosCapabilityParser.LBRACE); - this.state = 157; + this.state = 159; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (((((_la - 13)) & ~0x1F) === 0 && ((1 << (_la - 13)) & 34144577) !== 0)) { + while (((((_la - 14)) & ~0x1F) === 0 && ((1 << (_la - 14)) & 34144577) !== 0)) { { { - this.state = 154; + this.state = 156; this.workspaceItem(); } } - this.state = 159; + this.state = 161; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 160; + this.state = 162; this.match(QuixosCapabilityParser.RBRACE); } } @@ -397,11 +400,11 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 162; - this.match(QuixosCapabilityParser.IMPORT); - this.state = 163; - this.stringLiteral(); this.state = 164; + this.match(QuixosCapabilityParser.IMPORT); + this.state = 165; + this.stringLiteral(); + this.state = 166; this.match(QuixosCapabilityParser.SEMI); } } @@ -425,39 +428,39 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 166; - this.match(QuixosCapabilityParser.WORKSPACE); - this.state = 167; - this.identifier(); this.state = 168; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.WORKSPACE); this.state = 169; - this.stringLiteral(); + this.identifier(); this.state = 170; - this.match(QuixosCapabilityParser.REVISION); + this.match(QuixosCapabilityParser.ID); this.state = 171; this.stringLiteral(); this.state = 172; - this.match(QuixosCapabilityParser.COMMIT); + this.match(QuixosCapabilityParser.REVISION); this.state = 173; this.stringLiteral(); this.state = 174; + this.match(QuixosCapabilityParser.COMMIT); + this.state = 175; + this.stringLiteral(); + this.state = 176; this.match(QuixosCapabilityParser.LBRACE); - this.state = 178; + this.state = 180; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (((((_la - 13)) & ~0x1F) === 0 && ((1 << (_la - 13)) & 34144577) !== 0)) { + while (((((_la - 14)) & ~0x1F) === 0 && ((1 << (_la - 14)) & 34144577) !== 0)) { { { - this.state = 175; + this.state = 177; this.workspaceItem(); } } - this.state = 180; + this.state = 182; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 181; + this.state = 183; this.match(QuixosCapabilityParser.RBRACE); } } @@ -478,55 +481,55 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new WorkspaceItemContext(this.context, this.state); this.enterRule(localContext, 8, QuixosCapabilityParser.RULE_workspaceItem); try { - this.state = 190; + this.state = 192; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 3, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 183; + this.state = 185; this.sourceImportDecl(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 184; + this.state = 186; this.atomDecl(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 185; + this.state = 187; this.resourceImportDecl(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 186; + this.state = 188; this.sharedAttachmentDecl(); } break; case 5: this.enterOuterAlt(localContext, 5); { - this.state = 187; + this.state = 189; this.conformanceDecl(); } break; case 6: this.enterOuterAlt(localContext, 6); { - this.state = 188; + this.state = 190; this.constructorBindingDecl(); } break; case 7: this.enterOuterAlt(localContext, 7); { - this.state = 189; + this.state = 191; this.typeAliasDecl(); } break; @@ -549,32 +552,32 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new ResourceImportDeclContext(this.context, this.state); this.enterRule(localContext, 10, QuixosCapabilityParser.RULE_resourceImportDecl); try { - this.state = 202; + this.state = 204; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 4, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 192; - this.match(QuixosCapabilityParser.IMPORT); - this.state = 193; - this.match(QuixosCapabilityParser.INTERFACE); this.state = 194; - this.identifier(); + this.match(QuixosCapabilityParser.IMPORT); this.state = 195; + this.match(QuixosCapabilityParser.INTERFACE); + this.state = 196; + this.identifier(); + this.state = 197; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 197; - this.match(QuixosCapabilityParser.IMPORT); - this.state = 198; - this.match(QuixosCapabilityParser.PACKAGE); this.state = 199; - this.identifier(); + this.match(QuixosCapabilityParser.IMPORT); this.state = 200; + this.match(QuixosCapabilityParser.PACKAGE); + this.state = 201; + this.identifier(); + this.state = 202; this.match(QuixosCapabilityParser.SEMI); } break; @@ -599,17 +602,17 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 204; - this.match(QuixosCapabilityParser.EXTERNAL); - this.state = 205; - this.match(QuixosCapabilityParser.ATOM); this.state = 206; - this.identifier(); + this.match(QuixosCapabilityParser.EXTERNAL); this.state = 207; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.ATOM); this.state = 208; - this.stringLiteral(); + this.identifier(); this.state = 209; + this.match(QuixosCapabilityParser.ID); + this.state = 210; + this.stringLiteral(); + this.state = 211; this.match(QuixosCapabilityParser.SEMI); } } @@ -632,17 +635,17 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 211; - this.match(QuixosCapabilityParser.EXTERNAL); - this.state = 212; - this.match(QuixosCapabilityParser.INTERFACE); this.state = 213; - this.identifier(); + this.match(QuixosCapabilityParser.EXTERNAL); this.state = 214; - this.match(QuixosCapabilityParser.REVISION); + this.match(QuixosCapabilityParser.INTERFACE); this.state = 215; - this.stringLiteral(); + this.identifier(); this.state = 216; + this.match(QuixosCapabilityParser.REVISION); + this.state = 217; + this.stringLiteral(); + this.state = 218; this.match(QuixosCapabilityParser.SEMI); } } @@ -663,34 +666,34 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new ResourcePreambleContext(this.context, this.state); this.enterRule(localContext, 16, QuixosCapabilityParser.RULE_resourcePreamble); try { - this.state = 222; + this.state = 224; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 5, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 218; + this.state = 220; this.resourceImportDecl(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 219; + this.state = 221; this.externalAtomDecl(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 220; + this.state = 222; this.externalInterfaceDecl(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 221; + this.state = 223; this.typeAliasDecl(); } break; @@ -716,27 +719,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 224; - this.match(QuixosCapabilityParser.ATOM); - this.state = 225; - this.identifier(); this.state = 226; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.ATOM); this.state = 227; + this.identifier(); + this.state = 228; + this.match(QuixosCapabilityParser.ID); + this.state = 229; this.stringLiteral(); - this.state = 230; + this.state = 232; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 61) { + if (_la === 62) { { - this.state = 228; + this.state = 230; this.match(QuixosCapabilityParser.DOC); - this.state = 229; + this.state = 231; this.stringLiteral(); } } - this.state = 232; + this.state = 234; this.match(QuixosCapabilityParser.SEMI); } } @@ -760,87 +763,87 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 237; + this.state = 239; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 1581056) !== 0)) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3162112) !== 0)) { { { - this.state = 234; + this.state = 236; this.resourcePreamble(); } } - this.state = 239; + this.state = 241; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 240; + this.state = 242; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 241; - this.identifier(); this.state = 243; + this.identifier(); + this.state = 245; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 242; + this.state = 244; this.typeParameters(); } } - this.state = 245; - this.match(QuixosCapabilityParser.ID); - this.state = 246; - this.stringLiteral(); this.state = 247; - this.match(QuixosCapabilityParser.REVISION); + this.match(QuixosCapabilityParser.ID); this.state = 248; this.stringLiteral(); - this.state = 258; + this.state = 249; + this.match(QuixosCapabilityParser.REVISION); + this.state = 250; + this.stringLiteral(); + this.state = 260; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 65) { + if (_la === 66) { { - this.state = 249; + this.state = 251; this.match(QuixosCapabilityParser.REQUIRES); - this.state = 250; + this.state = 252; this.interfaceType(); - this.state = 255; + this.state = 257; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 251; + this.state = 253; this.match(QuixosCapabilityParser.COMMA); - this.state = 252; + this.state = 254; this.interfaceType(); } } - this.state = 257; + this.state = 259; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 260; + this.state = 262; this.match(QuixosCapabilityParser.LBRACE); - this.state = 264; + this.state = 266; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (((((_la - 10)) & ~0x1F) === 0 && ((1 << (_la - 10)) & 33783809) !== 0)) { + while (((((_la - 11)) & ~0x1F) === 0 && ((1 << (_la - 11)) & 33783809) !== 0)) { { { - this.state = 261; + this.state = 263; this.interfaceMember(); } } - this.state = 266; + this.state = 268; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 267; + this.state = 269; this.match(QuixosCapabilityParser.RBRACE); } } @@ -864,27 +867,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 269; + this.state = 271; this.match(QuixosCapabilityParser.LT); - this.state = 270; + this.state = 272; this.typeParameter(); - this.state = 275; + this.state = 277; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 271; + this.state = 273; this.match(QuixosCapabilityParser.COMMA); - this.state = 272; + this.state = 274; this.typeParameter(); } } - this.state = 277; + this.state = 279; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 278; + this.state = 280; this.match(QuixosCapabilityParser.GT); } } @@ -906,24 +909,24 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 24, QuixosCapabilityParser.RULE_typeParameter); let _la: number; try { - this.state = 299; + this.state = 301; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.VALUE: this.enterOuterAlt(localContext, 1); { - this.state = 280; + this.state = 282; this.match(QuixosCapabilityParser.VALUE); - this.state = 281; + this.state = 283; this.identifier(); - this.state = 284; + this.state = 286; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 109) { + if (_la === 110) { { - this.state = 282; + this.state = 284; this.match(QuixosCapabilityParser.COLON); - this.state = 283; + this.state = 285; this.match(QuixosCapabilityParser.STORABLE); } } @@ -933,32 +936,32 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 2); { - this.state = 286; + this.state = 288; this.match(QuixosCapabilityParser.OBJECT); - this.state = 287; + this.state = 289; this.identifier(); - this.state = 297; + this.state = 299; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 16) { + if (_la === 17) { { - this.state = 288; + this.state = 290; this.match(QuixosCapabilityParser.IMPLEMENTS); - this.state = 289; + this.state = 291; this.interfaceType(); - this.state = 294; + this.state = 296; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 121) { + while (_la === 122) { { { - this.state = 290; + this.state = 292; this.match(QuixosCapabilityParser.AMP); - this.state = 291; + this.state = 293; this.interfaceType(); } } - this.state = 296; + this.state = 298; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -991,14 +994,14 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 301; - this.identifier(); this.state = 303; + this.identifier(); + this.state = 305; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 302; + this.state = 304; this.typeArguments(); } } @@ -1025,27 +1028,27 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 305; + this.state = 307; this.match(QuixosCapabilityParser.LT); - this.state = 306; + this.state = 308; this.typeArgument(); - this.state = 311; + this.state = 313; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 307; + this.state = 309; this.match(QuixosCapabilityParser.COMMA); - this.state = 308; + this.state = 310; this.typeArgument(); } } - this.state = 313; + this.state = 315; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 314; + this.state = 316; this.match(QuixosCapabilityParser.GT); } } @@ -1066,37 +1069,38 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new TypeArgumentContext(this.context, this.state); this.enterRule(localContext, 30, QuixosCapabilityParser.RULE_typeArgument); try { - this.state = 323; + this.state = 325; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.ATOM: this.enterOuterAlt(localContext, 1); { - this.state = 316; + this.state = 318; this.match(QuixosCapabilityParser.ATOM); - this.state = 317; + this.state = 319; this.identifier(); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 2); { - this.state = 318; + this.state = 320; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 319; + this.state = 321; this.interfaceType(); } break; case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 3); { - this.state = 320; + this.state = 322; this.match(QuixosCapabilityParser.OBJECT); - this.state = 321; + this.state = 323; this.identifier(); } break; case QuixosCapabilityParser.QUERY: + case QuixosCapabilityParser.SPECIALIZE: case QuixosCapabilityParser.ROOT: case QuixosCapabilityParser.DOCUMENT: case QuixosCapabilityParser.FRAGMENTS: @@ -1127,7 +1131,7 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.IDENTIFIER: this.enterOuterAlt(localContext, 4); { - this.state = 322; + this.state = 324; this.valueType(); } break; @@ -1155,25 +1159,25 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 325; + this.state = 327; this.match(QuixosCapabilityParser.TYPE); - this.state = 326; - this.identifier(); this.state = 328; + this.identifier(); + this.state = 330; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 327; + this.state = 329; this.typeParameters(); } } - this.state = 330; - this.match(QuixosCapabilityParser.EQUAL); - this.state = 331; - this.valueType(); this.state = 332; + this.match(QuixosCapabilityParser.EQUAL); + this.state = 333; + this.valueType(); + this.state = 334; this.match(QuixosCapabilityParser.SEMI); } } @@ -1194,27 +1198,27 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new InterfaceMemberContext(this.context, this.state); this.enterRule(localContext, 34, QuixosCapabilityParser.RULE_interfaceMember); try { - this.state = 337; + this.state = 339; this.errorHandler.sync(this); switch (this.interpreter.adaptivePredict(this.tokenStream, 21, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 334; + this.state = 336; this.valueMember(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 335; + this.state = 337; this.relationshipMember(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 336; + this.state = 338; this.operationMember(); } break; @@ -1240,43 +1244,43 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 340; + this.state = 342; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 35) { + if (_la === 36) { { - this.state = 339; + this.state = 341; this.match(QuixosCapabilityParser.STATIC); } } - this.state = 342; - this.match(QuixosCapabilityParser.OPERATION); - this.state = 343; - this.identifier(); this.state = 344; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.OPERATION); this.state = 345; - this.stringLiteral(); + this.identifier(); this.state = 346; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.ID); this.state = 347; - this.valueType(); + this.stringLiteral(); this.state = 348; - this.match(QuixosCapabilityParser.ARROW); + this.match(QuixosCapabilityParser.COLON); this.state = 349; this.valueType(); this.state = 350; - this.match(QuixosCapabilityParser.LBRACE); + this.match(QuixosCapabilityParser.ARROW); this.state = 351; - this.match(QuixosCapabilityParser.CALL); + this.valueType(); this.state = 352; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.LBRACE); this.state = 353; - this.stringLiteral(); + this.match(QuixosCapabilityParser.CALL); this.state = 354; - this.match(QuixosCapabilityParser.SEMI); + this.match(QuixosCapabilityParser.ID); this.state = 355; + this.stringLiteral(); + this.state = 356; + this.match(QuixosCapabilityParser.SEMI); + this.state = 357; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1300,45 +1304,45 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 358; + this.state = 360; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 10) { + if (_la === 11) { { - this.state = 357; + this.state = 359; this.queryReadContract(); } } - this.state = 360; - this.match(QuixosCapabilityParser.VALUE); - this.state = 361; - this.identifier(); this.state = 362; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.VALUE); this.state = 363; - this.stringLiteral(); + this.identifier(); this.state = 364; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.ID); this.state = 365; - this.valueType(); + this.stringLiteral(); this.state = 366; + this.match(QuixosCapabilityParser.COLON); + this.state = 367; + this.valueType(); + this.state = 368; this.match(QuixosCapabilityParser.LBRACE); - this.state = 370; + this.state = 372; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (((((_la - 67)) & ~0x1F) === 0 && ((1 << (_la - 67)) & 7) !== 0)) { + while (((((_la - 68)) & ~0x1F) === 0 && ((1 << (_la - 68)) & 7) !== 0)) { { { - this.state = 367; + this.state = 369; this.valueMemberOperation(); } } - this.state = 372; + this.state = 374; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 373; + this.state = 375; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1359,53 +1363,53 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new ValueMemberOperationContext(this.context, this.state); this.enterRule(localContext, 40, QuixosCapabilityParser.RULE_valueMemberOperation); try { - this.state = 394; + this.state = 396; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.GET: this.enterOuterAlt(localContext, 1); { - this.state = 375; - this.match(QuixosCapabilityParser.GET); - this.state = 376; - this.match(QuixosCapabilityParser.ID); this.state = 377; - this.stringLiteral(); + this.match(QuixosCapabilityParser.GET); this.state = 378; + this.match(QuixosCapabilityParser.ID); + this.state = 379; + this.stringLiteral(); + this.state = 380; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.SET: this.enterOuterAlt(localContext, 2); { - this.state = 380; - this.match(QuixosCapabilityParser.SET); - this.state = 381; - this.match(QuixosCapabilityParser.ID); this.state = 382; - this.stringLiteral(); + this.match(QuixosCapabilityParser.SET); this.state = 383; + this.match(QuixosCapabilityParser.ID); + this.state = 384; + this.stringLiteral(); + this.state = 385; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.WATCH: this.enterOuterAlt(localContext, 3); { - this.state = 385; - this.match(QuixosCapabilityParser.WATCH); - this.state = 386; - this.match(QuixosCapabilityParser.START); this.state = 387; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.WATCH); this.state = 388; - this.stringLiteral(); + this.match(QuixosCapabilityParser.START); this.state = 389; - this.match(QuixosCapabilityParser.STOP); - this.state = 390; this.match(QuixosCapabilityParser.ID); - this.state = 391; + this.state = 390; this.stringLiteral(); + this.state = 391; + this.match(QuixosCapabilityParser.STOP); this.state = 392; + this.match(QuixosCapabilityParser.ID); + this.state = 393; + this.stringLiteral(); + this.state = 394; this.match(QuixosCapabilityParser.SEMI); } break; @@ -1433,57 +1437,69 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 397; + this.state = 399; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 10) { + if (_la === 11) { { - this.state = 396; + this.state = 398; this.queryReadContract(); } } - this.state = 399; - this.match(QuixosCapabilityParser.RELATION); - this.state = 400; - this.identifier(); this.state = 401; - this.match(QuixosCapabilityParser.ID); + this.match(QuixosCapabilityParser.RELATION); this.state = 402; - this.stringLiteral(); + this.identifier(); this.state = 403; - this.match(QuixosCapabilityParser.COLON); + this.match(QuixosCapabilityParser.ID); this.state = 404; - this.cardinality(); + this.stringLiteral(); this.state = 405; - this.targetConstraint(); + this.match(QuixosCapabilityParser.COLON); + this.state = 406; + this.cardinality(); this.state = 407; + this.targetConstraint(); + this.state = 409; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 88) { + if (_la === 89) { { - this.state = 406; + this.state = 408; this.match(QuixosCapabilityParser.ORDERED); } } - this.state = 409; - this.match(QuixosCapabilityParser.LBRACE); this.state = 413; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (((((_la - 69)) & ~0x1F) === 0 && ((1 << (_la - 69)) & 225) !== 0)) { + if (_la === 59) { + { + this.state = 411; + this.match(QuixosCapabilityParser.KEYED); + this.state = 412; + this.stringLiteral(); + } + } + + this.state = 415; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 419; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while (((((_la - 70)) & ~0x1F) === 0 && ((1 << (_la - 70)) & 225) !== 0)) { { { - this.state = 410; + this.state = 416; this.relationshipOperation(); } } - this.state = 415; + this.state = 421; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 416; + this.state = 422; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1507,14 +1523,14 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 418; + this.state = 424; this.match(QuixosCapabilityParser.QUERYABLE); - this.state = 420; + this.state = 426; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 11) { + if (_la === 12) { { - this.state = 419; + this.state = 425; this.match(QuixosCapabilityParser.RPC); } } @@ -1538,66 +1554,66 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new RelationshipOperationContext(this.context, this.state); this.enterRule(localContext, 46, QuixosCapabilityParser.RULE_relationshipOperation); try { - this.state = 446; + this.state = 452; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.RESOLVE: this.enterOuterAlt(localContext, 1); { - this.state = 422; + this.state = 428; this.match(QuixosCapabilityParser.RESOLVE); - this.state = 423; + this.state = 429; this.match(QuixosCapabilityParser.ID); - this.state = 424; + this.state = 430; this.stringLiteral(); - this.state = 425; + this.state = 431; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.CONNECT: this.enterOuterAlt(localContext, 2); { - this.state = 427; + this.state = 433; this.match(QuixosCapabilityParser.CONNECT); - this.state = 428; + this.state = 434; this.match(QuixosCapabilityParser.ID); - this.state = 429; + this.state = 435; this.stringLiteral(); - this.state = 430; + this.state = 436; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.DISCONNECT: this.enterOuterAlt(localContext, 3); { - this.state = 432; + this.state = 438; this.match(QuixosCapabilityParser.DISCONNECT); - this.state = 433; + this.state = 439; this.match(QuixosCapabilityParser.ID); - this.state = 434; + this.state = 440; this.stringLiteral(); - this.state = 435; + this.state = 441; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.WATCH: this.enterOuterAlt(localContext, 4); { - this.state = 437; - this.match(QuixosCapabilityParser.WATCH); - this.state = 438; - this.match(QuixosCapabilityParser.START); - this.state = 439; - this.match(QuixosCapabilityParser.ID); - this.state = 440; - this.stringLiteral(); - this.state = 441; - this.match(QuixosCapabilityParser.STOP); - this.state = 442; - this.match(QuixosCapabilityParser.ID); this.state = 443; - this.stringLiteral(); + this.match(QuixosCapabilityParser.WATCH); this.state = 444; + this.match(QuixosCapabilityParser.START); + this.state = 445; + this.match(QuixosCapabilityParser.ID); + this.state = 446; + this.stringLiteral(); + this.state = 447; + this.match(QuixosCapabilityParser.STOP); + this.state = 448; + this.match(QuixosCapabilityParser.ID); + this.state = 449; + this.stringLiteral(); + this.state = 450; this.match(QuixosCapabilityParser.SEMI); } break; @@ -1623,31 +1639,31 @@ export class QuixosCapabilityParser extends antlr.Parser { this.enterRule(localContext, 48, QuixosCapabilityParser.RULE_targetConstraint); let _la: number; try { - this.state = 457; + this.state = 463; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.ATOM: this.enterOuterAlt(localContext, 1); { - this.state = 448; + this.state = 454; this.match(QuixosCapabilityParser.ATOM); - this.state = 449; + this.state = 455; this.identifier(); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 2); { - this.state = 450; + this.state = 456; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 451; + this.state = 457; this.identifier(); - this.state = 453; + this.state = 459; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 452; + this.state = 458; this.typeArguments(); } } @@ -1657,9 +1673,9 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 3); { - this.state = 455; + this.state = 461; this.match(QuixosCapabilityParser.OBJECT); - this.state = 456; + this.state = 462; this.identifier(); } break; @@ -1687,61 +1703,61 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 462; + this.state = 468; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 1581056) !== 0)) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 3162112) !== 0)) { { { - this.state = 459; + this.state = 465; this.resourcePreamble(); } } - this.state = 464; + this.state = 470; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 465; + this.state = 471; this.match(QuixosCapabilityParser.PACKAGE); - this.state = 466; + this.state = 472; this.identifier(); - this.state = 467; - this.match(QuixosCapabilityParser.ID); - this.state = 468; - this.stringLiteral(); - this.state = 469; - this.match(QuixosCapabilityParser.REVISION); - this.state = 470; - this.stringLiteral(); this.state = 473; + this.match(QuixosCapabilityParser.ID); + this.state = 474; + this.stringLiteral(); + this.state = 475; + this.match(QuixosCapabilityParser.REVISION); + this.state = 476; + this.stringLiteral(); + this.state = 479; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 55) { + if (_la === 56) { { - this.state = 471; + this.state = 477; this.match(QuixosCapabilityParser.SEMANTIC_MAJOR); - this.state = 472; + this.state = 478; this.match(QuixosCapabilityParser.INTEGER); } } - this.state = 475; + this.state = 481; this.match(QuixosCapabilityParser.LBRACE); - this.state = 479; + this.state = 485; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 939524100) !== 0)) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 1879048196) !== 0)) { { { - this.state = 476; + this.state = 482; this.packageExport(); } } - this.state = 481; + this.state = 487; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 482; + this.state = 488; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1762,39 +1778,44 @@ export class QuixosCapabilityParser extends antlr.Parser { let localContext = new PackageExportContext(this.context, this.state); this.enterRule(localContext, 52, QuixosCapabilityParser.RULE_packageExport); try { - this.state = 488; + this.state = 495; this.errorHandler.sync(this); - switch (this.tokenStream.LA(1)) { - case QuixosCapabilityParser.OPERATION: + switch (this.interpreter.adaptivePredict(this.tokenStream, 37, this.context) ) { + case 1: this.enterOuterAlt(localContext, 1); { - this.state = 484; + this.state = 490; this.packageOperationExport(); } break; - case QuixosCapabilityParser.FUNCTION: + case 2: this.enterOuterAlt(localContext, 2); { - this.state = 485; + this.state = 491; this.packageFunctionExport(); } break; - case QuixosCapabilityParser.CONSTRUCTOR: + case 3: this.enterOuterAlt(localContext, 3); { - this.state = 486; + this.state = 492; this.packageConstructorExport(); } break; - case QuixosCapabilityParser.QUERY: + case 4: this.enterOuterAlt(localContext, 4); { - this.state = 487; + this.state = 493; this.packageQuery(); } break; - default: - throw new antlr.NoViableAltException(this); + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 494; + this.packageQuerySpecialization(); + } + break; } } catch (re) { @@ -1817,43 +1838,53 @@ export class QuixosCapabilityParser extends antlr.Parser { try { this.enterOuterAlt(localContext, 1); { - this.state = 490; - this.match(QuixosCapabilityParser.QUERY); - this.state = 491; - this.identifier(); - this.state = 492; - this.match(QuixosCapabilityParser.ID); - this.state = 493; - this.stringLiteral(); - this.state = 494; - this.match(QuixosCapabilityParser.ROOT); - this.state = 495; - this.interfaceType(); - this.state = 496; - this.match(QuixosCapabilityParser.DOCUMENT); this.state = 497; - this.stringLiteral(); + this.match(QuixosCapabilityParser.QUERY); this.state = 498; - this.match(QuixosCapabilityParser.OPERATION); - this.state = 499; - this.stringLiteral(); + this.identifier(); this.state = 500; - this.match(QuixosCapabilityParser.LBRACE); - this.state = 504; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 992) !== 0) || _la === 69) { + if (_la === 120) { + { + this.state = 499; + this.typeParameters(); + } + } + + this.state = 502; + this.match(QuixosCapabilityParser.ID); + this.state = 503; + this.stringLiteral(); + this.state = 504; + this.match(QuixosCapabilityParser.ROOT); + this.state = 505; + this.interfaceType(); + this.state = 506; + this.match(QuixosCapabilityParser.DOCUMENT); + this.state = 507; + this.stringLiteral(); + this.state = 508; + this.match(QuixosCapabilityParser.OPERATION); + this.state = 509; + this.stringLiteral(); + this.state = 510; + this.match(QuixosCapabilityParser.LBRACE); + this.state = 514; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 1984) !== 0) || _la === 70) { { { - this.state = 501; + this.state = 511; this.queryClause(); } } - this.state = 506; + this.state = 516; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 507; + this.state = 517; this.match(QuixosCapabilityParser.RBRACE); } } @@ -1870,90 +1901,138 @@ export class QuixosCapabilityParser extends antlr.Parser { } return localContext; } + public packageQuerySpecialization(): PackageQuerySpecializationContext { + let localContext = new PackageQuerySpecializationContext(this.context, this.state); + this.enterRule(localContext, 56, QuixosCapabilityParser.RULE_packageQuerySpecialization); + try { + this.enterOuterAlt(localContext, 1); + { + this.state = 519; + this.match(QuixosCapabilityParser.QUERY); + this.state = 520; + this.identifier(); + this.state = 521; + this.match(QuixosCapabilityParser.ID); + this.state = 522; + this.stringLiteral(); + this.state = 523; + this.match(QuixosCapabilityParser.SPECIALIZE); + this.state = 524; + this.identifier(); + this.state = 525; + this.typeArguments(); + this.state = 526; + this.match(QuixosCapabilityParser.SEMI); + } + } + catch (re) { + if (re instanceof antlr.RecognitionException) { + this.errorHandler.reportError(this, re); + this.errorHandler.recover(this, re); + } else { + throw re; + } + } + finally { + this.exitRule(); + } + return localContext; + } public queryClause(): QueryClauseContext { let localContext = new QueryClauseContext(this.context, this.state); - this.enterRule(localContext, 56, QuixosCapabilityParser.RULE_queryClause); + this.enterRule(localContext, 58, QuixosCapabilityParser.RULE_queryClause); + let _la: number; try { - this.state = 539; + this.state = 561; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.FRAGMENTS: this.enterOuterAlt(localContext, 1); { - this.state = 509; - this.match(QuixosCapabilityParser.FRAGMENTS); - this.state = 510; - this.stringLiteral(); - this.state = 511; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.VIEW: - this.enterOuterAlt(localContext, 2); - { - this.state = 513; - this.match(QuixosCapabilityParser.VIEW); - this.state = 514; - this.identifier(); - this.state = 515; - this.match(QuixosCapabilityParser.AS); - this.state = 516; - this.interfaceType(); - this.state = 517; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.MAX: - this.enterOuterAlt(localContext, 3); - { - this.state = 519; - this.match(QuixosCapabilityParser.MAX); - this.state = 520; - this.identifier(); - this.state = 521; - this.match(QuixosCapabilityParser.INTEGER); - this.state = 522; - this.match(QuixosCapabilityParser.SEMI); - } - break; - case QuixosCapabilityParser.ALLOW: - this.enterOuterAlt(localContext, 4); - { - this.state = 524; - this.match(QuixosCapabilityParser.ALLOW); - this.state = 525; - this.interfaceType(); - this.state = 526; - this.match(QuixosCapabilityParser.DOT); - this.state = 527; - this.identifier(); this.state = 528; - this.identifier(); + this.match(QuixosCapabilityParser.FRAGMENTS); this.state = 529; this.stringLiteral(); this.state = 530; this.match(QuixosCapabilityParser.SEMI); } break; + case QuixosCapabilityParser.VIEW: + this.enterOuterAlt(localContext, 2); + { + this.state = 532; + this.match(QuixosCapabilityParser.VIEW); + this.state = 534; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 15) { + { + this.state = 533; + this.match(QuixosCapabilityParser.OBJECT); + } + } + + this.state = 536; + this.identifier(); + this.state = 537; + this.match(QuixosCapabilityParser.AS); + this.state = 538; + this.interfaceType(); + this.state = 539; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case QuixosCapabilityParser.MAX: + this.enterOuterAlt(localContext, 3); + { + this.state = 541; + this.match(QuixosCapabilityParser.MAX); + this.state = 542; + this.identifier(); + this.state = 543; + this.match(QuixosCapabilityParser.INTEGER); + this.state = 544; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case QuixosCapabilityParser.ALLOW: + this.enterOuterAlt(localContext, 4); + { + this.state = 546; + this.match(QuixosCapabilityParser.ALLOW); + this.state = 547; + this.interfaceType(); + this.state = 548; + this.match(QuixosCapabilityParser.DOT); + this.state = 549; + this.identifier(); + this.state = 550; + this.identifier(); + this.state = 551; + this.stringLiteral(); + this.state = 552; + this.match(QuixosCapabilityParser.SEMI); + } + break; case QuixosCapabilityParser.WATCH: this.enterOuterAlt(localContext, 5); { - this.state = 532; + this.state = 554; this.match(QuixosCapabilityParser.WATCH); - this.state = 533; + this.state = 555; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.POLL: this.enterOuterAlt(localContext, 6); { - this.state = 534; + this.state = 556; this.match(QuixosCapabilityParser.POLL); - this.state = 535; + this.state = 557; this.match(QuixosCapabilityParser.INTEGER); - this.state = 536; + this.state = 558; this.stringLiteral(); - this.state = 537; + this.state = 559; this.match(QuixosCapabilityParser.SEMI); } break; @@ -1976,66 +2055,66 @@ export class QuixosCapabilityParser extends antlr.Parser { } public packageOperationExport(): PackageOperationExportContext { let localContext = new PackageOperationExportContext(this.context, this.state); - this.enterRule(localContext, 58, QuixosCapabilityParser.RULE_packageOperationExport); + this.enterRule(localContext, 60, QuixosCapabilityParser.RULE_packageOperationExport); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 541; + this.state = 563; this.match(QuixosCapabilityParser.OPERATION); - this.state = 542; + this.state = 564; this.identifier(); - this.state = 544; + this.state = 566; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 543; + this.state = 565; this.typeParameters(); } } - this.state = 546; + this.state = 568; this.match(QuixosCapabilityParser.ID); - this.state = 547; + this.state = 569; this.stringLiteral(); - this.state = 548; + this.state = 570; this.match(QuixosCapabilityParser.COLON); - this.state = 549; + this.state = 571; this.valueType(); - this.state = 550; + this.state = 572; this.match(QuixosCapabilityParser.ARROW); - this.state = 551; + this.state = 573; this.valueType(); - this.state = 552; + this.state = 574; this.match(QuixosCapabilityParser.MODE); - this.state = 553; + this.state = 575; this.operationMode(); - this.state = 555; + this.state = 577; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 63) { + if (_la === 64) { { - this.state = 554; + this.state = 576; this.eventClause(); } } - this.state = 557; + this.state = 579; this.match(QuixosCapabilityParser.RECEIVER); - this.state = 558; + this.state = 580; this.receiverRequirement(); - this.state = 560; + this.state = 582; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 65) { + if (_la === 66) { { - this.state = 559; + this.state = 581; this.dependencyBlock(); } } - this.state = 562; + this.state = 584; this.match(QuixosCapabilityParser.SEMI); } } @@ -2054,48 +2133,48 @@ export class QuixosCapabilityParser extends antlr.Parser { } public packageFunctionExport(): PackageFunctionExportContext { let localContext = new PackageFunctionExportContext(this.context, this.state); - this.enterRule(localContext, 60, QuixosCapabilityParser.RULE_packageFunctionExport); + this.enterRule(localContext, 62, QuixosCapabilityParser.RULE_packageFunctionExport); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 564; + this.state = 586; this.match(QuixosCapabilityParser.FUNCTION); - this.state = 565; + this.state = 587; this.identifier(); - this.state = 567; + this.state = 589; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 566; + this.state = 588; this.typeParameters(); } } - this.state = 569; + this.state = 591; this.match(QuixosCapabilityParser.ID); - this.state = 570; + this.state = 592; this.stringLiteral(); - this.state = 571; + this.state = 593; this.match(QuixosCapabilityParser.COLON); - this.state = 572; + this.state = 594; this.valueType(); - this.state = 573; + this.state = 595; this.match(QuixosCapabilityParser.ARROW); - this.state = 574; + this.state = 596; this.valueType(); - this.state = 576; + this.state = 598; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 65) { + if (_la === 66) { { - this.state = 575; + this.state = 597; this.dependencyBlock(); } } - this.state = 578; + this.state = 600; this.match(QuixosCapabilityParser.SEMI); } } @@ -2114,38 +2193,38 @@ export class QuixosCapabilityParser extends antlr.Parser { } public packageConstructorExport(): PackageConstructorExportContext { let localContext = new PackageConstructorExportContext(this.context, this.state); - this.enterRule(localContext, 62, QuixosCapabilityParser.RULE_packageConstructorExport); + this.enterRule(localContext, 64, QuixosCapabilityParser.RULE_packageConstructorExport); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 580; + this.state = 602; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 581; + this.state = 603; this.identifier(); - this.state = 582; + this.state = 604; this.match(QuixosCapabilityParser.ID); - this.state = 583; + this.state = 605; this.stringLiteral(); - this.state = 584; + this.state = 606; this.match(QuixosCapabilityParser.CONSTRUCTS); - this.state = 585; + this.state = 607; this.identifier(); - this.state = 586; + this.state = 608; this.match(QuixosCapabilityParser.COLON); - this.state = 587; + this.state = 609; this.valueType(); - this.state = 589; + this.state = 611; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 65) { + if (_la === 66) { { - this.state = 588; + this.state = 610; this.dependencyBlock(); } } - this.state = 591; + this.state = 613; this.match(QuixosCapabilityParser.SEMI); } } @@ -2164,13 +2243,13 @@ export class QuixosCapabilityParser extends antlr.Parser { } public eventClause(): EventClauseContext { let localContext = new EventClauseContext(this.context, this.state); - this.enterRule(localContext, 64, QuixosCapabilityParser.RULE_eventClause); + this.enterRule(localContext, 66, QuixosCapabilityParser.RULE_eventClause); try { this.enterOuterAlt(localContext, 1); { - this.state = 593; + this.state = 615; this.match(QuixosCapabilityParser.EMITS); - this.state = 594; + this.state = 616; this.valueType(); } } @@ -2189,14 +2268,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationMode(): OperationModeContext { let localContext = new OperationModeContext(this.context, this.state); - this.enterRule(localContext, 66, QuixosCapabilityParser.RULE_operationMode); + this.enterRule(localContext, 68, QuixosCapabilityParser.RULE_operationMode); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 596; + this.state = 618; _la = this.tokenStream.LA(1); - if(!(((((_la - 77)) & ~0x1F) === 0 && ((1 << (_la - 77)) & 31) !== 0))) { + if(!(((((_la - 78)) & ~0x1F) === 0 && ((1 << (_la - 78)) & 31) !== 0))) { this.errorHandler.recoverInline(this); } else { @@ -2220,71 +2299,71 @@ export class QuixosCapabilityParser extends antlr.Parser { } public receiverRequirement(): ReceiverRequirementContext { let localContext = new ReceiverRequirementContext(this.context, this.state); - this.enterRule(localContext, 68, QuixosCapabilityParser.RULE_receiverRequirement); + this.enterRule(localContext, 70, QuixosCapabilityParser.RULE_receiverRequirement); let _la: number; try { - this.state = 616; + this.state = 638; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.ANY: this.enterOuterAlt(localContext, 1); { - this.state = 598; + this.state = 620; this.match(QuixosCapabilityParser.ANY); } break; case QuixosCapabilityParser.ATOM: this.enterOuterAlt(localContext, 2); { - this.state = 599; + this.state = 621; this.match(QuixosCapabilityParser.ATOM); - this.state = 600; + this.state = 622; this.identifier(); } break; case QuixosCapabilityParser.OBJECT: this.enterOuterAlt(localContext, 3); { - this.state = 601; + this.state = 623; this.match(QuixosCapabilityParser.OBJECT); - this.state = 602; + this.state = 624; this.identifier(); } break; case QuixosCapabilityParser.INTERFACES: this.enterOuterAlt(localContext, 4); { - this.state = 603; + this.state = 625; this.match(QuixosCapabilityParser.INTERFACES); - this.state = 604; + this.state = 626; this.match(QuixosCapabilityParser.LBRACK); - this.state = 613; + this.state = 635; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4092) !== 0) || _la === 51 || _la === 125) { + if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 8188) !== 0) || _la === 52 || _la === 126) { { - this.state = 605; + this.state = 627; this.interfaceType(); - this.state = 610; + this.state = 632; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 606; + this.state = 628; this.match(QuixosCapabilityParser.COMMA); - this.state = 607; + this.state = 629; this.interfaceType(); } } - this.state = 612; + this.state = 634; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 615; + this.state = 637; this.match(QuixosCapabilityParser.RBRACK); } break; @@ -2307,26 +2386,26 @@ export class QuixosCapabilityParser extends antlr.Parser { } public identifierList(): IdentifierListContext { let localContext = new IdentifierListContext(this.context, this.state); - this.enterRule(localContext, 70, QuixosCapabilityParser.RULE_identifierList); + this.enterRule(localContext, 72, QuixosCapabilityParser.RULE_identifierList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 618; + this.state = 640; this.identifier(); - this.state = 623; + this.state = 645; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 619; + this.state = 641; this.match(QuixosCapabilityParser.COMMA); - this.state = 620; + this.state = 642; this.identifier(); } } - this.state = 625; + this.state = 647; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } @@ -2347,30 +2426,30 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyBlock(): DependencyBlockContext { let localContext = new DependencyBlockContext(this.context, this.state); - this.enterRule(localContext, 72, QuixosCapabilityParser.RULE_dependencyBlock); + this.enterRule(localContext, 74, QuixosCapabilityParser.RULE_dependencyBlock); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 626; + this.state = 648; this.match(QuixosCapabilityParser.REQUIRES); - this.state = 627; + this.state = 649; this.match(QuixosCapabilityParser.LBRACE); - this.state = 631; + this.state = 653; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (((((_la - 22)) & ~0x1F) === 0 && ((1 << (_la - 22)) & 393345) !== 0)) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 1082130436) !== 0) || _la === 40 || _la === 41) { { { - this.state = 628; + this.state = 650; this.dependencyPort(); } } - this.state = 633; + this.state = 655; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 634; + this.state = 656; this.match(QuixosCapabilityParser.RBRACE); } } @@ -2389,113 +2468,136 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyPort(): DependencyPortContext { let localContext = new DependencyPortContext(this.context, this.state); - this.enterRule(localContext, 74, QuixosCapabilityParser.RULE_dependencyPort); + this.enterRule(localContext, 76, QuixosCapabilityParser.RULE_dependencyPort); let _la: number; try { - this.state = 678; + this.state = 710; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STATE: this.enterOuterAlt(localContext, 1); { - this.state = 636; + this.state = 658; this.match(QuixosCapabilityParser.STATE); - this.state = 637; + this.state = 659; this.identifier(); - this.state = 638; + this.state = 660; this.match(QuixosCapabilityParser.ID); - this.state = 639; + this.state = 661; this.stringLiteral(); - this.state = 640; + this.state = 662; this.match(QuixosCapabilityParser.COLON); - this.state = 641; + this.state = 663; this.valueType(); - this.state = 642; + this.state = 664; this.primitiveList(); - this.state = 643; + this.state = 665; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.EDGE: this.enterOuterAlt(localContext, 2); { - this.state = 645; + this.state = 667; this.match(QuixosCapabilityParser.EDGE); - this.state = 646; + this.state = 668; this.identifier(); - this.state = 647; + this.state = 669; this.match(QuixosCapabilityParser.ID); - this.state = 648; + this.state = 670; this.stringLiteral(); - this.state = 649; + this.state = 671; this.match(QuixosCapabilityParser.COLON); - this.state = 650; + this.state = 672; this.cardinality(); - this.state = 651; + this.state = 673; this.targetConstraint(); - this.state = 652; + this.state = 674; this.primitiveList(); - this.state = 653; + this.state = 675; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.INTERFACE: this.enterOuterAlt(localContext, 3); { - this.state = 655; + this.state = 677; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 656; + this.state = 678; this.identifier(); - this.state = 657; + this.state = 679; this.match(QuixosCapabilityParser.ID); - this.state = 658; + this.state = 680; this.stringLiteral(); - this.state = 659; + this.state = 681; this.match(QuixosCapabilityParser.COLON); - this.state = 660; + this.state = 682; this.identifier(); - this.state = 662; + this.state = 684; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 661; + this.state = 683; this.typeArguments(); } } - this.state = 664; + this.state = 686; this.match(QuixosCapabilityParser.SEMI); } break; case QuixosCapabilityParser.CONSTRUCTOR: this.enterOuterAlt(localContext, 4); { - this.state = 666; + this.state = 688; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 667; + this.state = 689; this.identifier(); - this.state = 668; + this.state = 690; this.match(QuixosCapabilityParser.ID); - this.state = 669; + this.state = 691; this.stringLiteral(); - this.state = 670; + this.state = 692; this.match(QuixosCapabilityParser.COLON); - this.state = 671; + this.state = 693; this.identifier(); - this.state = 674; + this.state = 696; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 31) { + if (_la === 32) { { - this.state = 672; + this.state = 694; this.match(QuixosCapabilityParser.INPUT); - this.state = 673; + this.state = 695; this.valueType(); } } - this.state = 676; + this.state = 698; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case QuixosCapabilityParser.QUERY: + this.enterOuterAlt(localContext, 5); + { + this.state = 700; + this.match(QuixosCapabilityParser.QUERY); + this.state = 701; + this.identifier(); + this.state = 702; + this.match(QuixosCapabilityParser.ID); + this.state = 703; + this.stringLiteral(); + this.state = 704; + this.match(QuixosCapabilityParser.COLON); + this.state = 705; + this.identifier(); + this.state = 706; + this.match(QuixosCapabilityParser.DOT); + this.state = 707; + this.identifier(); + this.state = 708; this.match(QuixosCapabilityParser.SEMI); } break; @@ -2518,32 +2620,32 @@ export class QuixosCapabilityParser extends antlr.Parser { } public primitiveList(): PrimitiveListContext { let localContext = new PrimitiveListContext(this.context, this.state); - this.enterRule(localContext, 76, QuixosCapabilityParser.RULE_primitiveList); + this.enterRule(localContext, 78, QuixosCapabilityParser.RULE_primitiveList); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 680; + this.state = 712; this.match(QuixosCapabilityParser.LBRACK); - this.state = 681; + this.state = 713; this.primitive(); - this.state = 686; + this.state = 718; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 682; + this.state = 714; this.match(QuixosCapabilityParser.COMMA); - this.state = 683; + this.state = 715; this.primitive(); } } - this.state = 688; + this.state = 720; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 689; + this.state = 721; this.match(QuixosCapabilityParser.RBRACK); } } @@ -2562,14 +2664,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public primitive(): PrimitiveContext { let localContext = new PrimitiveContext(this.context, this.state); - this.enterRule(localContext, 78, QuixosCapabilityParser.RULE_primitive); + this.enterRule(localContext, 80, QuixosCapabilityParser.RULE_primitive); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 691; + this.state = 723; _la = this.tokenStream.LA(1); - if(!(((((_la - 72)) & ~0x1F) === 0 && ((1 << (_la - 72)) & 223) !== 0))) { + if(!(((((_la - 73)) & ~0x1F) === 0 && ((1 << (_la - 73)) & 223) !== 0))) { this.errorHandler.recoverInline(this); } else { @@ -2593,13 +2695,13 @@ export class QuixosCapabilityParser extends antlr.Parser { } public sharedAttachmentDecl(): SharedAttachmentDeclContext { let localContext = new SharedAttachmentDeclContext(this.context, this.state); - this.enterRule(localContext, 80, QuixosCapabilityParser.RULE_sharedAttachmentDecl); + this.enterRule(localContext, 82, QuixosCapabilityParser.RULE_sharedAttachmentDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 693; + this.state = 725; this.match(QuixosCapabilityParser.SHARED); - this.state = 694; + this.state = 726; this.attachmentDecl(); } } @@ -2618,22 +2720,22 @@ export class QuixosCapabilityParser extends antlr.Parser { } public attachmentDecl(): AttachmentDeclContext { let localContext = new AttachmentDeclContext(this.context, this.state); - this.enterRule(localContext, 82, QuixosCapabilityParser.RULE_attachmentDecl); + this.enterRule(localContext, 84, QuixosCapabilityParser.RULE_attachmentDecl); try { - this.state = 698; + this.state = 730; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STATE: this.enterOuterAlt(localContext, 1); { - this.state = 696; + this.state = 728; this.stateDecl(); } break; case QuixosCapabilityParser.EDGE: this.enterOuterAlt(localContext, 2); { - this.state = 697; + this.state = 729; this.edgeDecl(); } break; @@ -2656,44 +2758,44 @@ export class QuixosCapabilityParser extends antlr.Parser { } public stateDecl(): StateDeclContext { let localContext = new StateDeclContext(this.context, this.state); - this.enterRule(localContext, 84, QuixosCapabilityParser.RULE_stateDecl); + this.enterRule(localContext, 86, QuixosCapabilityParser.RULE_stateDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 700; + this.state = 732; this.match(QuixosCapabilityParser.STATE); - this.state = 701; + this.state = 733; this.identifier(); - this.state = 702; + this.state = 734; this.match(QuixosCapabilityParser.ID); - this.state = 703; + this.state = 735; this.stringLiteral(); - this.state = 704; + this.state = 736; this.match(QuixosCapabilityParser.ON); - this.state = 705; + this.state = 737; this.identifier(); - this.state = 706; + this.state = 738; this.match(QuixosCapabilityParser.COLON); - this.state = 707; + this.state = 739; this.valueType(); - this.state = 708; + this.state = 740; this.match(QuixosCapabilityParser.POLICY); - this.state = 709; + this.state = 741; this.storagePolicy(); - this.state = 712; + this.state = 744; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 50) { + if (_la === 51) { { - this.state = 710; + this.state = 742; this.match(QuixosCapabilityParser.DEFAULT); - this.state = 711; + this.state = 743; this.jsonLiteral(); } } - this.state = 714; + this.state = 746; this.match(QuixosCapabilityParser.SEMI); } } @@ -2712,28 +2814,28 @@ export class QuixosCapabilityParser extends antlr.Parser { } public storagePolicy(): StoragePolicyContext { let localContext = new StoragePolicyContext(this.context, this.state); - this.enterRule(localContext, 86, QuixosCapabilityParser.RULE_storagePolicy); + this.enterRule(localContext, 88, QuixosCapabilityParser.RULE_storagePolicy); try { - this.state = 722; + this.state = 754; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.OPTIMISTIC_REGISTER: this.enterOuterAlt(localContext, 1); { - this.state = 716; + this.state = 748; this.match(QuixosCapabilityParser.OPTIMISTIC_REGISTER); } break; case QuixosCapabilityParser.CRDT: this.enterOuterAlt(localContext, 2); { - this.state = 717; + this.state = 749; this.match(QuixosCapabilityParser.CRDT); - this.state = 718; + this.state = 750; this.match(QuixosCapabilityParser.LPAREN); - this.state = 719; + this.state = 751; this.valueType(); - this.state = 720; + this.state = 752; this.match(QuixosCapabilityParser.RPAREN); } break; @@ -2756,25 +2858,25 @@ export class QuixosCapabilityParser extends antlr.Parser { } public edgeDecl(): EdgeDeclContext { let localContext = new EdgeDeclContext(this.context, this.state); - this.enterRule(localContext, 88, QuixosCapabilityParser.RULE_edgeDecl); + this.enterRule(localContext, 90, QuixosCapabilityParser.RULE_edgeDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 724; + this.state = 756; this.match(QuixosCapabilityParser.EDGE); - this.state = 725; + this.state = 757; this.identifier(); - this.state = 726; + this.state = 758; this.match(QuixosCapabilityParser.ID); - this.state = 727; + this.state = 759; this.stringLiteral(); - this.state = 728; + this.state = 760; this.match(QuixosCapabilityParser.LBRACE); - this.state = 729; + this.state = 761; this.edgeEndpoint(); - this.state = 730; + this.state = 762; this.edgeEndpoint(); - this.state = 731; + this.state = 763; this.match(QuixosCapabilityParser.RBRACE); } } @@ -2793,78 +2895,78 @@ export class QuixosCapabilityParser extends antlr.Parser { } public edgeEndpoint(): EdgeEndpointContext { let localContext = new EdgeEndpointContext(this.context, this.state); - this.enterRule(localContext, 90, QuixosCapabilityParser.RULE_edgeEndpoint); + this.enterRule(localContext, 92, QuixosCapabilityParser.RULE_edgeEndpoint); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 733; + this.state = 765; this.targetConstraint(); - this.state = 734; + this.state = 766; this.match(QuixosCapabilityParser.PROJECTION); - this.state = 735; + this.state = 767; this.identifier(); - this.state = 736; + this.state = 768; this.match(QuixosCapabilityParser.ID); - this.state = 737; + this.state = 769; this.stringLiteral(); - this.state = 738; + this.state = 770; this.cardinality(); - this.state = 740; + this.state = 772; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 88) { + if (_la === 89) { { - this.state = 739; + this.state = 771; this.match(QuixosCapabilityParser.ORDERED); } } - this.state = 744; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 56) { - { - this.state = 742; - this.match(QuixosCapabilityParser.ON_DELETE); - this.state = 743; - this.stringLiteral(); - } - } - - this.state = 747; + this.state = 776; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 57) { { - this.state = 746; - this.match(QuixosCapabilityParser.RETAIN_OTHER); - } - } - - this.state = 751; - this.errorHandler.sync(this); - _la = this.tokenStream.LA(1); - if (_la === 58) { - { - this.state = 749; - this.match(QuixosCapabilityParser.KEYED); - this.state = 750; + this.state = 774; + this.match(QuixosCapabilityParser.ON_DELETE); + this.state = 775; this.stringLiteral(); } } - this.state = 754; + this.state = 779; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 58) { + { + this.state = 778; + this.match(QuixosCapabilityParser.RETAIN_OTHER); + } + } + + this.state = 783; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); if (_la === 59) { { - this.state = 753; + this.state = 781; + this.match(QuixosCapabilityParser.KEYED); + this.state = 782; + this.stringLiteral(); + } + } + + this.state = 786; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 60) { + { + this.state = 785; this.match(QuixosCapabilityParser.PUBLIC_TRAVERSAL); } } - this.state = 756; + this.state = 788; this.match(QuixosCapabilityParser.SEMI); } } @@ -2883,70 +2985,70 @@ export class QuixosCapabilityParser extends antlr.Parser { } public conformanceDecl(): ConformanceDeclContext { let localContext = new ConformanceDeclContext(this.context, this.state); - this.enterRule(localContext, 92, QuixosCapabilityParser.RULE_conformanceDecl); + this.enterRule(localContext, 94, QuixosCapabilityParser.RULE_conformanceDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 758; + this.state = 790; this.match(QuixosCapabilityParser.CONFORM); - this.state = 759; + this.state = 791; this.identifier(); - this.state = 760; + this.state = 792; this.match(QuixosCapabilityParser.AS); - this.state = 761; + this.state = 793; this.identifier(); - this.state = 763; + this.state = 795; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 762; + this.state = 794; this.typeArguments(); } } - this.state = 767; + this.state = 799; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 60) { + if (_la === 61) { { - this.state = 765; + this.state = 797; this.match(QuixosCapabilityParser.ID); - this.state = 766; + this.state = 798; this.stringLiteral(); } } - this.state = 771; + this.state = 803; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 55) { + if (_la === 56) { { - this.state = 769; + this.state = 801; this.match(QuixosCapabilityParser.SEMANTIC_MAJOR); - this.state = 770; + this.state = 802; this.match(QuixosCapabilityParser.INTEGER); } } - this.state = 773; + this.state = 805; this.match(QuixosCapabilityParser.LBRACE); - this.state = 777; + this.state = 809; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (((((_la - 34)) & ~0x1F) === 0 && ((1 << (_la - 34)) & 2057) !== 0)) { + while (((((_la - 35)) & ~0x1F) === 0 && ((1 << (_la - 35)) & 2057) !== 0)) { { { - this.state = 774; + this.state = 806; this.conformanceItem(); } } - this.state = 779; + this.state = 811; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 780; + this.state = 812; this.match(QuixosCapabilityParser.RBRACE); } } @@ -2965,38 +3067,38 @@ export class QuixosCapabilityParser extends antlr.Parser { } public conformanceItem(): ConformanceItemContext { let localContext = new ConformanceItemContext(this.context, this.state); - this.enterRule(localContext, 94, QuixosCapabilityParser.RULE_conformanceItem); + this.enterRule(localContext, 96, QuixosCapabilityParser.RULE_conformanceItem); try { - this.state = 787; + this.state = 819; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 66, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 69, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 782; + this.state = 814; this.match(QuixosCapabilityParser.PRIVATE); - this.state = 783; + this.state = 815; this.attachmentDecl(); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 784; + this.state = 816; this.operationBindingDecl(); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 785; + this.state = 817; this.stateFieldBindingDecl(); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 786; + this.state = 818; this.relationshipMaterializationDecl(); } break; @@ -3017,21 +3119,21 @@ export class QuixosCapabilityParser extends antlr.Parser { } public stateFieldBindingDecl(): StateFieldBindingDeclContext { let localContext = new StateFieldBindingDeclContext(this.context, this.state); - this.enterRule(localContext, 96, QuixosCapabilityParser.RULE_stateFieldBindingDecl); + this.enterRule(localContext, 98, QuixosCapabilityParser.RULE_stateFieldBindingDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 789; + this.state = 821; this.match(QuixosCapabilityParser.BIND); - this.state = 790; + this.state = 822; this.identifier(); - this.state = 791; + this.state = 823; this.match(QuixosCapabilityParser.TO); - this.state = 792; + this.state = 824; this.match(QuixosCapabilityParser.STATE); - this.state = 793; + this.state = 825; this.identifier(); - this.state = 794; + this.state = 826; this.match(QuixosCapabilityParser.SEMI); } } @@ -3050,35 +3152,35 @@ export class QuixosCapabilityParser extends antlr.Parser { } public relationshipMaterializationDecl(): RelationshipMaterializationDeclContext { let localContext = new RelationshipMaterializationDeclContext(this.context, this.state); - this.enterRule(localContext, 98, QuixosCapabilityParser.RULE_relationshipMaterializationDecl); + this.enterRule(localContext, 100, QuixosCapabilityParser.RULE_relationshipMaterializationDecl); try { this.enterOuterAlt(localContext, 1); { - this.state = 796; + this.state = 828; this.match(QuixosCapabilityParser.MATERIALIZE); - this.state = 797; + this.state = 829; this.identifier(); - this.state = 798; + this.state = 830; this.match(QuixosCapabilityParser.IF); - this.state = 799; + this.state = 831; this.match(QuixosCapabilityParser.ABSENT); - this.state = 800; + this.state = 832; this.match(QuixosCapabilityParser.USING); - this.state = 801; + this.state = 833; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 802; + this.state = 834; this.identifier(); - this.state = 803; + this.state = 835; this.match(QuixosCapabilityParser.VIA); - this.state = 804; + this.state = 836; this.match(QuixosCapabilityParser.EDGE); - this.state = 805; + this.state = 837; this.identifier(); - this.state = 806; + this.state = 838; this.match(QuixosCapabilityParser.DOT); - this.state = 807; + this.state = 839; this.identifier(); - this.state = 808; + this.state = 840; this.match(QuixosCapabilityParser.SEMI); } } @@ -3097,32 +3199,32 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationBindingDecl(): OperationBindingDeclContext { let localContext = new OperationBindingDeclContext(this.context, this.state); - this.enterRule(localContext, 100, QuixosCapabilityParser.RULE_operationBindingDecl); + this.enterRule(localContext, 102, QuixosCapabilityParser.RULE_operationBindingDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 810; + this.state = 842; this.match(QuixosCapabilityParser.BIND); - this.state = 811; + this.state = 843; this.memberOperationRef(); - this.state = 812; + this.state = 844; this.match(QuixosCapabilityParser.TO); - this.state = 813; + this.state = 845; this.operationProvider(); - this.state = 816; + this.state = 848; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 12) { + if (_la === 13) { { - this.state = 814; + this.state = 846; this.match(QuixosCapabilityParser.QUERY_REASON); - this.state = 815; + this.state = 847; this.stringLiteral(); } } - this.state = 818; + this.state = 850; this.match(QuixosCapabilityParser.SEMI); } } @@ -3141,15 +3243,15 @@ export class QuixosCapabilityParser extends antlr.Parser { } public memberOperationRef(): MemberOperationRefContext { let localContext = new MemberOperationRefContext(this.context, this.state); - this.enterRule(localContext, 102, QuixosCapabilityParser.RULE_memberOperationRef); + this.enterRule(localContext, 104, QuixosCapabilityParser.RULE_memberOperationRef); try { this.enterOuterAlt(localContext, 1); { - this.state = 820; + this.state = 852; this.identifier(); - this.state = 821; + this.state = 853; this.match(QuixosCapabilityParser.DOT); - this.state = 822; + this.state = 854; this.operationName(); } } @@ -3168,12 +3270,13 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationName(): OperationNameContext { let localContext = new OperationNameContext(this.context, this.state); - this.enterRule(localContext, 104, QuixosCapabilityParser.RULE_operationName); + this.enterRule(localContext, 106, QuixosCapabilityParser.RULE_operationName); try { - this.state = 835; + this.state = 867; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.QUERY: + case QuixosCapabilityParser.SPECIALIZE: case QuixosCapabilityParser.ROOT: case QuixosCapabilityParser.DOCUMENT: case QuixosCapabilityParser.FRAGMENTS: @@ -3187,77 +3290,77 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.IDENTIFIER: this.enterOuterAlt(localContext, 1); { - this.state = 824; + this.state = 856; this.identifier(); } break; case QuixosCapabilityParser.CALL: this.enterOuterAlt(localContext, 2); { - this.state = 825; + this.state = 857; this.match(QuixosCapabilityParser.CALL); } break; case QuixosCapabilityParser.GET: this.enterOuterAlt(localContext, 3); { - this.state = 826; + this.state = 858; this.match(QuixosCapabilityParser.GET); } break; case QuixosCapabilityParser.SET: this.enterOuterAlt(localContext, 4); { - this.state = 827; + this.state = 859; this.match(QuixosCapabilityParser.SET); } break; case QuixosCapabilityParser.RESOLVE: this.enterOuterAlt(localContext, 5); { - this.state = 828; + this.state = 860; this.match(QuixosCapabilityParser.RESOLVE); } break; case QuixosCapabilityParser.CONNECT: this.enterOuterAlt(localContext, 6); { - this.state = 829; + this.state = 861; this.match(QuixosCapabilityParser.CONNECT); } break; case QuixosCapabilityParser.DISCONNECT: this.enterOuterAlt(localContext, 7); { - this.state = 830; + this.state = 862; this.match(QuixosCapabilityParser.DISCONNECT); } break; case QuixosCapabilityParser.WATCH_START: this.enterOuterAlt(localContext, 8); { - this.state = 831; + this.state = 863; this.match(QuixosCapabilityParser.WATCH_START); } break; case QuixosCapabilityParser.WATCH_STOP: this.enterOuterAlt(localContext, 9); { - this.state = 832; + this.state = 864; this.match(QuixosCapabilityParser.WATCH_STOP); } break; case QuixosCapabilityParser.SUBSCRIBE: this.enterOuterAlt(localContext, 10); { - this.state = 833; + this.state = 865; this.match(QuixosCapabilityParser.SUBSCRIBE); } break; case QuixosCapabilityParser.UNSUBSCRIBE: this.enterOuterAlt(localContext, 11); { - this.state = 834; + this.state = 866; this.match(QuixosCapabilityParser.UNSUBSCRIBE); } break; @@ -3280,69 +3383,69 @@ export class QuixosCapabilityParser extends antlr.Parser { } public operationProvider(): OperationProviderContext { let localContext = new OperationProviderContext(this.context, this.state); - this.enterRule(localContext, 106, QuixosCapabilityParser.RULE_operationProvider); + this.enterRule(localContext, 108, QuixosCapabilityParser.RULE_operationProvider); let _la: number; try { - this.state = 859; + this.state = 891; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STATE: this.enterOuterAlt(localContext, 1); { - this.state = 837; + this.state = 869; this.match(QuixosCapabilityParser.STATE); - this.state = 838; + this.state = 870; this.identifier(); - this.state = 839; + this.state = 871; this.match(QuixosCapabilityParser.DOT); - this.state = 840; + this.state = 872; this.statePrimitive(); } break; case QuixosCapabilityParser.EDGE: this.enterOuterAlt(localContext, 2); { - this.state = 842; + this.state = 874; this.match(QuixosCapabilityParser.EDGE); - this.state = 843; + this.state = 875; this.identifier(); - this.state = 844; + this.state = 876; this.match(QuixosCapabilityParser.DOT); - this.state = 845; + this.state = 877; this.identifier(); - this.state = 846; + this.state = 878; this.match(QuixosCapabilityParser.DOT); - this.state = 847; + this.state = 879; this.edgePrimitive(); } break; case QuixosCapabilityParser.PACKAGE: this.enterOuterAlt(localContext, 3); { - this.state = 849; + this.state = 881; this.match(QuixosCapabilityParser.PACKAGE); - this.state = 850; + this.state = 882; this.identifier(); - this.state = 851; + this.state = 883; this.match(QuixosCapabilityParser.DOT); - this.state = 852; + this.state = 884; this.identifier(); - this.state = 854; + this.state = 886; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 853; + this.state = 885; this.typeArguments(); } } - this.state = 857; + this.state = 889; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 42) { + if (_la === 43) { { - this.state = 856; + this.state = 888; this.dependencyBindingBlock(); } } @@ -3368,14 +3471,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public statePrimitive(): StatePrimitiveContext { let localContext = new StatePrimitiveContext(this.context, this.state); - this.enterRule(localContext, 108, QuixosCapabilityParser.RULE_statePrimitive); + this.enterRule(localContext, 110, QuixosCapabilityParser.RULE_statePrimitive); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 861; + this.state = 893; _la = this.tokenStream.LA(1); - if(!(((((_la - 72)) & ~0x1F) === 0 && ((1 << (_la - 72)) & 195) !== 0))) { + if(!(((((_la - 73)) & ~0x1F) === 0 && ((1 << (_la - 73)) & 195) !== 0))) { this.errorHandler.recoverInline(this); } else { @@ -3399,14 +3502,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public edgePrimitive(): EdgePrimitiveContext { let localContext = new EdgePrimitiveContext(this.context, this.state); - this.enterRule(localContext, 110, QuixosCapabilityParser.RULE_edgePrimitive); + this.enterRule(localContext, 112, QuixosCapabilityParser.RULE_edgePrimitive); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 863; + this.state = 895; _la = this.tokenStream.LA(1); - if(!(((((_la - 74)) & ~0x1F) === 0 && ((1 << (_la - 74)) & 55) !== 0))) { + if(!(((((_la - 75)) & ~0x1F) === 0 && ((1 << (_la - 75)) & 55) !== 0))) { this.errorHandler.recoverInline(this); } else { @@ -3430,30 +3533,30 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyBindingBlock(): DependencyBindingBlockContext { let localContext = new DependencyBindingBlockContext(this.context, this.state); - this.enterRule(localContext, 112, QuixosCapabilityParser.RULE_dependencyBindingBlock); + this.enterRule(localContext, 114, QuixosCapabilityParser.RULE_dependencyBindingBlock); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 865; + this.state = 897; this.match(QuixosCapabilityParser.WITH); - this.state = 866; + this.state = 898; this.match(QuixosCapabilityParser.LBRACE); - this.state = 870; + this.state = 902; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4092) !== 0) || _la === 51 || _la === 125) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 8188) !== 0) || _la === 52 || _la === 126) { { { - this.state = 867; + this.state = 899; this.dependencyBinding(); } } - this.state = 872; + this.state = 904; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 873; + this.state = 905; this.match(QuixosCapabilityParser.RBRACE); } } @@ -3472,137 +3575,174 @@ export class QuixosCapabilityParser extends antlr.Parser { } public dependencyBinding(): DependencyBindingContext { let localContext = new DependencyBindingContext(this.context, this.state); - this.enterRule(localContext, 114, QuixosCapabilityParser.RULE_dependencyBinding); + this.enterRule(localContext, 116, QuixosCapabilityParser.RULE_dependencyBinding); let _la: number; try { - this.state = 928; + this.state = 976; this.errorHandler.sync(this); - switch (this.interpreter.adaptivePredict(this.tokenStream, 77, this.context) ) { + switch (this.interpreter.adaptivePredict(this.tokenStream, 81, this.context) ) { case 1: this.enterOuterAlt(localContext, 1); { - this.state = 875; + this.state = 907; this.identifier(); - this.state = 876; + this.state = 908; this.match(QuixosCapabilityParser.TO); - this.state = 877; + this.state = 909; this.match(QuixosCapabilityParser.STATE); - this.state = 878; + this.state = 910; this.identifier(); - this.state = 885; + this.state = 917; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 44) { + if (_la === 45) { { - this.state = 879; + this.state = 911; this.match(QuixosCapabilityParser.VIA); - this.state = 880; + this.state = 912; this.match(QuixosCapabilityParser.EDGE); - this.state = 881; + this.state = 913; this.identifier(); - this.state = 882; + this.state = 914; this.match(QuixosCapabilityParser.DOT); - this.state = 883; + this.state = 915; this.identifier(); } } - this.state = 887; + this.state = 919; this.match(QuixosCapabilityParser.SEMI); } break; case 2: this.enterOuterAlt(localContext, 2); { - this.state = 889; + this.state = 921; this.identifier(); - this.state = 890; + this.state = 922; this.match(QuixosCapabilityParser.TO); - this.state = 891; + this.state = 923; this.match(QuixosCapabilityParser.EDGE); - this.state = 892; + this.state = 924; this.identifier(); - this.state = 893; + this.state = 925; this.match(QuixosCapabilityParser.DOT); - this.state = 894; + this.state = 926; this.identifier(); - this.state = 901; + this.state = 933; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 44) { + if (_la === 45) { { - this.state = 895; + this.state = 927; this.match(QuixosCapabilityParser.VIA); - this.state = 896; + this.state = 928; this.match(QuixosCapabilityParser.EDGE); - this.state = 897; + this.state = 929; this.identifier(); - this.state = 898; + this.state = 930; this.match(QuixosCapabilityParser.DOT); - this.state = 899; + this.state = 931; this.identifier(); } } - this.state = 903; + this.state = 935; this.match(QuixosCapabilityParser.SEMI); } break; case 3: this.enterOuterAlt(localContext, 3); { - this.state = 905; + this.state = 937; this.identifier(); - this.state = 906; + this.state = 938; this.match(QuixosCapabilityParser.TO); - this.state = 907; + this.state = 939; this.match(QuixosCapabilityParser.INTERFACE); - this.state = 908; + this.state = 940; this.identifier(); - this.state = 910; + this.state = 942; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 909; + this.state = 941; this.typeArguments(); } } - this.state = 918; + this.state = 950; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 44) { + if (_la === 45) { { - this.state = 912; + this.state = 944; this.match(QuixosCapabilityParser.VIA); - this.state = 913; + this.state = 945; this.match(QuixosCapabilityParser.EDGE); - this.state = 914; + this.state = 946; this.identifier(); - this.state = 915; + this.state = 947; this.match(QuixosCapabilityParser.DOT); - this.state = 916; + this.state = 948; this.identifier(); } } - this.state = 920; + this.state = 952; this.match(QuixosCapabilityParser.SEMI); } break; case 4: this.enterOuterAlt(localContext, 4); { - this.state = 922; + this.state = 954; this.identifier(); - this.state = 923; + this.state = 955; this.match(QuixosCapabilityParser.TO); - this.state = 924; + this.state = 956; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 925; + this.state = 957; this.identifier(); - this.state = 926; + this.state = 958; + this.match(QuixosCapabilityParser.SEMI); + } + break; + case 5: + this.enterOuterAlt(localContext, 5); + { + this.state = 960; + this.identifier(); + this.state = 961; + this.match(QuixosCapabilityParser.TO); + this.state = 962; + this.match(QuixosCapabilityParser.QUERY); + this.state = 963; + this.identifier(); + this.state = 964; + this.match(QuixosCapabilityParser.DOT); + this.state = 965; + this.identifier(); + this.state = 972; + this.errorHandler.sync(this); + _la = this.tokenStream.LA(1); + if (_la === 45) { + { + this.state = 966; + this.match(QuixosCapabilityParser.VIA); + this.state = 967; + this.match(QuixosCapabilityParser.EDGE); + this.state = 968; + this.identifier(); + this.state = 969; + this.match(QuixosCapabilityParser.DOT); + this.state = 970; + this.identifier(); + } + } + + this.state = 974; this.match(QuixosCapabilityParser.SEMI); } break; @@ -3623,34 +3763,34 @@ export class QuixosCapabilityParser extends antlr.Parser { } public constructorBindingDecl(): ConstructorBindingDeclContext { let localContext = new ConstructorBindingDeclContext(this.context, this.state); - this.enterRule(localContext, 116, QuixosCapabilityParser.RULE_constructorBindingDecl); + this.enterRule(localContext, 118, QuixosCapabilityParser.RULE_constructorBindingDecl); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 930; + this.state = 978; this.match(QuixosCapabilityParser.CONSTRUCTOR); - this.state = 931; + this.state = 979; this.identifier(); - this.state = 932; + this.state = 980; this.match(QuixosCapabilityParser.TO); - this.state = 933; + this.state = 981; this.identifier(); - this.state = 934; + this.state = 982; this.match(QuixosCapabilityParser.DOT); - this.state = 935; + this.state = 983; this.identifier(); - this.state = 937; + this.state = 985; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 42) { + if (_la === 43) { { - this.state = 936; + this.state = 984; this.dependencyBindingBlock(); } } - this.state = 939; + this.state = 987; this.match(QuixosCapabilityParser.SEMI); } } @@ -3669,10 +3809,10 @@ export class QuixosCapabilityParser extends antlr.Parser { } public valueType(): ValueTypeContext { let localContext = new ValueTypeContext(this.context, this.state); - this.enterRule(localContext, 118, QuixosCapabilityParser.RULE_valueType); + this.enterRule(localContext, 120, QuixosCapabilityParser.RULE_valueType); let _la: number; try { - this.state = 987; + this.state = 1035; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.BOOL: @@ -3685,134 +3825,135 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.UINT64: this.enterOuterAlt(localContext, 1); { - this.state = 941; + this.state = 989; this.scalarType(); } break; case QuixosCapabilityParser.UNIT: this.enterOuterAlt(localContext, 2); { - this.state = 942; + this.state = 990; this.match(QuixosCapabilityParser.UNIT); } break; case QuixosCapabilityParser.WATCH_HANDLE: this.enterOuterAlt(localContext, 3); { - this.state = 943; + this.state = 991; this.match(QuixosCapabilityParser.WATCH_HANDLE); } break; case QuixosCapabilityParser.MESSAGE: this.enterOuterAlt(localContext, 4); { - this.state = 944; + this.state = 992; this.match(QuixosCapabilityParser.MESSAGE); - this.state = 945; + this.state = 993; this.stringLiteral(); } break; case QuixosCapabilityParser.ATOM_REF: this.enterOuterAlt(localContext, 5); { - this.state = 946; + this.state = 994; this.match(QuixosCapabilityParser.ATOM_REF); - this.state = 947; + this.state = 995; this.match(QuixosCapabilityParser.LT); - this.state = 948; + this.state = 996; this.identifier(); - this.state = 949; + this.state = 997; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.INTERFACE_REF: this.enterOuterAlt(localContext, 6); { - this.state = 951; + this.state = 999; this.match(QuixosCapabilityParser.INTERFACE_REF); - this.state = 952; + this.state = 1000; this.match(QuixosCapabilityParser.LT); - this.state = 953; + this.state = 1001; this.identifier(); - this.state = 955; + this.state = 1003; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 954; + this.state = 1002; this.typeArguments(); } } - this.state = 957; + this.state = 1005; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.REF: this.enterOuterAlt(localContext, 7); { - this.state = 959; + this.state = 1007; this.match(QuixosCapabilityParser.REF); - this.state = 960; + this.state = 1008; this.match(QuixosCapabilityParser.LT); - this.state = 961; + this.state = 1009; this.identifier(); - this.state = 962; + this.state = 1010; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.OPTIONAL: this.enterOuterAlt(localContext, 8); { - this.state = 964; + this.state = 1012; this.match(QuixosCapabilityParser.OPTIONAL); - this.state = 965; + this.state = 1013; this.match(QuixosCapabilityParser.LT); - this.state = 966; + this.state = 1014; this.valueType(); - this.state = 967; + this.state = 1015; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.LIST: this.enterOuterAlt(localContext, 9); { - this.state = 969; + this.state = 1017; this.match(QuixosCapabilityParser.LIST); - this.state = 970; + this.state = 1018; this.match(QuixosCapabilityParser.LT); - this.state = 971; + this.state = 1019; this.valueType(); - this.state = 972; + this.state = 1020; this.match(QuixosCapabilityParser.GT); } break; case QuixosCapabilityParser.RECORD: this.enterOuterAlt(localContext, 10); { - this.state = 974; + this.state = 1022; this.match(QuixosCapabilityParser.RECORD); - this.state = 975; + this.state = 1023; this.match(QuixosCapabilityParser.LBRACE); - this.state = 979; + this.state = 1027; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 4092) !== 0) || _la === 51 || _la === 125) { + while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 8188) !== 0) || _la === 52 || _la === 126) { { { - this.state = 976; + this.state = 1024; this.recordField(); } } - this.state = 981; + this.state = 1029; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } - this.state = 982; + this.state = 1030; this.match(QuixosCapabilityParser.RBRACE); } break; case QuixosCapabilityParser.QUERY: + case QuixosCapabilityParser.SPECIALIZE: case QuixosCapabilityParser.ROOT: case QuixosCapabilityParser.DOCUMENT: case QuixosCapabilityParser.FRAGMENTS: @@ -3826,14 +3967,14 @@ export class QuixosCapabilityParser extends antlr.Parser { case QuixosCapabilityParser.IDENTIFIER: this.enterOuterAlt(localContext, 11); { - this.state = 983; + this.state = 1031; this.identifier(); - this.state = 985; + this.state = 1033; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 119) { + if (_la === 120) { { - this.state = 984; + this.state = 1032; this.typeArguments(); } } @@ -3859,17 +4000,17 @@ export class QuixosCapabilityParser extends antlr.Parser { } public recordField(): RecordFieldContext { let localContext = new RecordFieldContext(this.context, this.state); - this.enterRule(localContext, 120, QuixosCapabilityParser.RULE_recordField); + this.enterRule(localContext, 122, QuixosCapabilityParser.RULE_recordField); try { this.enterOuterAlt(localContext, 1); { - this.state = 989; + this.state = 1037; this.identifier(); - this.state = 990; + this.state = 1038; this.match(QuixosCapabilityParser.COLON); - this.state = 991; + this.state = 1039; this.valueType(); - this.state = 992; + this.state = 1040; this.match(QuixosCapabilityParser.SEMI); } } @@ -3888,14 +4029,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public scalarType(): ScalarTypeContext { let localContext = new ScalarTypeContext(this.context, this.state); - this.enterRule(localContext, 122, QuixosCapabilityParser.RULE_scalarType); + this.enterRule(localContext, 124, QuixosCapabilityParser.RULE_scalarType); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 994; + this.state = 1042; _la = this.tokenStream.LA(1); - if(!(((((_la - 97)) & ~0x1F) === 0 && ((1 << (_la - 97)) & 255) !== 0))) { + if(!(((((_la - 98)) & ~0x1F) === 0 && ((1 << (_la - 98)) & 255) !== 0))) { this.errorHandler.recoverInline(this); } else { @@ -3919,14 +4060,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public cardinality(): CardinalityContext { let localContext = new CardinalityContext(this.context, this.state); - this.enterRule(localContext, 124, QuixosCapabilityParser.RULE_cardinality); + this.enterRule(localContext, 126, QuixosCapabilityParser.RULE_cardinality); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 996; + this.state = 1044; _la = this.tokenStream.LA(1); - if(!(((((_la - 84)) & ~0x1F) === 0 && ((1 << (_la - 84)) & 15) !== 0))) { + if(!(((((_la - 85)) & ~0x1F) === 0 && ((1 << (_la - 85)) & 15) !== 0))) { this.errorHandler.recoverInline(this); } else { @@ -3950,64 +4091,64 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonLiteral(): JsonLiteralContext { let localContext = new JsonLiteralContext(this.context, this.state); - this.enterRule(localContext, 126, QuixosCapabilityParser.RULE_jsonLiteral); + this.enterRule(localContext, 128, QuixosCapabilityParser.RULE_jsonLiteral); try { - this.state = 1006; + this.state = 1054; this.errorHandler.sync(this); switch (this.tokenStream.LA(1)) { case QuixosCapabilityParser.STRING_LITERAL: this.enterOuterAlt(localContext, 1); { - this.state = 998; + this.state = 1046; this.stringLiteral(); } break; case QuixosCapabilityParser.INTEGER: this.enterOuterAlt(localContext, 2); { - this.state = 999; + this.state = 1047; this.match(QuixosCapabilityParser.INTEGER); } break; case QuixosCapabilityParser.JSON_NUMBER: this.enterOuterAlt(localContext, 3); { - this.state = 1000; + this.state = 1048; this.match(QuixosCapabilityParser.JSON_NUMBER); } break; case QuixosCapabilityParser.TRUE: this.enterOuterAlt(localContext, 4); { - this.state = 1001; + this.state = 1049; this.match(QuixosCapabilityParser.TRUE); } break; case QuixosCapabilityParser.FALSE: this.enterOuterAlt(localContext, 5); { - this.state = 1002; + this.state = 1050; this.match(QuixosCapabilityParser.FALSE); } break; case QuixosCapabilityParser.NULL: this.enterOuterAlt(localContext, 6); { - this.state = 1003; + this.state = 1051; this.match(QuixosCapabilityParser.NULL); } break; case QuixosCapabilityParser.LBRACE: this.enterOuterAlt(localContext, 7); { - this.state = 1004; + this.state = 1052; this.jsonObject(); } break; case QuixosCapabilityParser.LBRACK: this.enterOuterAlt(localContext, 8); { - this.state = 1005; + this.state = 1053; this.jsonArray(); } break; @@ -4030,40 +4171,40 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonObject(): JsonObjectContext { let localContext = new JsonObjectContext(this.context, this.state); - this.enterRule(localContext, 128, QuixosCapabilityParser.RULE_jsonObject); + this.enterRule(localContext, 130, QuixosCapabilityParser.RULE_jsonObject); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1008; + this.state = 1056; this.match(QuixosCapabilityParser.LBRACE); - this.state = 1017; + this.state = 1065; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (_la === 126) { + if (_la === 127) { { - this.state = 1009; + this.state = 1057; this.jsonMember(); - this.state = 1014; + this.state = 1062; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 1010; + this.state = 1058; this.match(QuixosCapabilityParser.COMMA); - this.state = 1011; + this.state = 1059; this.jsonMember(); } } - this.state = 1016; + this.state = 1064; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1019; + this.state = 1067; this.match(QuixosCapabilityParser.RBRACE); } } @@ -4082,15 +4223,15 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonMember(): JsonMemberContext { let localContext = new JsonMemberContext(this.context, this.state); - this.enterRule(localContext, 130, QuixosCapabilityParser.RULE_jsonMember); + this.enterRule(localContext, 132, QuixosCapabilityParser.RULE_jsonMember); try { this.enterOuterAlt(localContext, 1); { - this.state = 1021; + this.state = 1069; this.stringLiteral(); - this.state = 1022; + this.state = 1070; this.match(QuixosCapabilityParser.COLON); - this.state = 1023; + this.state = 1071; this.jsonLiteral(); } } @@ -4109,40 +4250,40 @@ export class QuixosCapabilityParser extends antlr.Parser { } public jsonArray(): JsonArrayContext { let localContext = new JsonArrayContext(this.context, this.state); - this.enterRule(localContext, 132, QuixosCapabilityParser.RULE_jsonArray); + this.enterRule(localContext, 134, QuixosCapabilityParser.RULE_jsonArray); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1025; + this.state = 1073; this.match(QuixosCapabilityParser.LBRACK); - this.state = 1034; + this.state = 1082; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - if (((((_la - 105)) & ~0x1F) === 0 && ((1 << (_la - 105)) & 2884871) !== 0)) { + if (((((_la - 106)) & ~0x1F) === 0 && ((1 << (_la - 106)) & 2884871) !== 0)) { { - this.state = 1026; + this.state = 1074; this.jsonLiteral(); - this.state = 1031; + this.state = 1079; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); - while (_la === 111) { + while (_la === 112) { { { - this.state = 1027; + this.state = 1075; this.match(QuixosCapabilityParser.COMMA); - this.state = 1028; + this.state = 1076; this.jsonLiteral(); } } - this.state = 1033; + this.state = 1081; this.errorHandler.sync(this); _la = this.tokenStream.LA(1); } } } - this.state = 1036; + this.state = 1084; this.match(QuixosCapabilityParser.RBRACK); } } @@ -4161,14 +4302,14 @@ export class QuixosCapabilityParser extends antlr.Parser { } public identifier(): IdentifierContext { let localContext = new IdentifierContext(this.context, this.state); - this.enterRule(localContext, 134, QuixosCapabilityParser.RULE_identifier); + this.enterRule(localContext, 136, QuixosCapabilityParser.RULE_identifier); let _la: number; try { this.enterOuterAlt(localContext, 1); { - this.state = 1038; + this.state = 1086; _la = this.tokenStream.LA(1); - if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 4092) !== 0) || _la === 51 || _la === 125)) { + if(!((((_la) & ~0x1F) === 0 && ((1 << _la) & 8188) !== 0) || _la === 52 || _la === 126)) { this.errorHandler.recoverInline(this); } else { @@ -4192,11 +4333,11 @@ export class QuixosCapabilityParser extends antlr.Parser { } public stringLiteral(): StringLiteralContext { let localContext = new StringLiteralContext(this.context, this.state); - this.enterRule(localContext, 136, QuixosCapabilityParser.RULE_stringLiteral); + this.enterRule(localContext, 138, QuixosCapabilityParser.RULE_stringLiteral); try { this.enterOuterAlt(localContext, 1); { - this.state = 1040; + this.state = 1088; this.match(QuixosCapabilityParser.STRING_LITERAL); } } @@ -4215,7 +4356,7 @@ export class QuixosCapabilityParser extends antlr.Parser { } public static readonly _serializedATN: number[] = [ - 4,1,129,1043,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6, + 4,1,130,1091,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, @@ -4225,385 +4366,406 @@ export class QuixosCapabilityParser extends antlr.Parser { 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,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0, - 1,0,1,0,1,0,1,0,3,0,151,8,0,1,1,1,1,1,1,5,1,156,8,1,10,1,12,1,159, - 9,1,1,1,1,1,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3, - 1,3,5,3,177,8,3,10,3,12,3,180,9,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1, - 4,1,4,3,4,191,8,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,3,5,203, - 8,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,1,8, - 1,8,1,8,1,8,3,8,223,8,8,1,9,1,9,1,9,1,9,1,9,1,9,3,9,231,8,9,1,9, - 1,9,1,10,5,10,236,8,10,10,10,12,10,239,9,10,1,10,1,10,1,10,3,10, - 244,8,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,5,10,254,8,10,10, - 10,12,10,257,9,10,3,10,259,8,10,1,10,1,10,5,10,263,8,10,10,10,12, - 10,266,9,10,1,10,1,10,1,11,1,11,1,11,1,11,5,11,274,8,11,10,11,12, - 11,277,9,11,1,11,1,11,1,12,1,12,1,12,1,12,3,12,285,8,12,1,12,1,12, - 1,12,1,12,1,12,1,12,5,12,293,8,12,10,12,12,12,296,9,12,3,12,298, - 8,12,3,12,300,8,12,1,13,1,13,3,13,304,8,13,1,14,1,14,1,14,1,14,5, - 14,310,8,14,10,14,12,14,313,9,14,1,14,1,14,1,15,1,15,1,15,1,15,1, - 15,1,15,1,15,3,15,324,8,15,1,16,1,16,1,16,3,16,329,8,16,1,16,1,16, - 1,16,1,16,1,17,1,17,1,17,3,17,338,8,17,1,18,3,18,341,8,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, - 18,1,19,3,19,359,8,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,1,19,5, - 19,369,8,19,10,19,12,19,372,9,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,20,1,20,1,20,1,20,1,20,1, - 20,1,20,3,20,395,8,20,1,21,3,21,398,8,21,1,21,1,21,1,21,1,21,1,21, - 1,21,1,21,1,21,3,21,408,8,21,1,21,1,21,5,21,412,8,21,10,21,12,21, - 415,9,21,1,21,1,21,1,22,1,22,3,22,421,8,22,1,23,1,23,1,23,1,23,1, - 23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1, - 23,1,23,1,23,1,23,1,23,1,23,1,23,3,23,447,8,23,1,24,1,24,1,24,1, - 24,1,24,3,24,454,8,24,1,24,1,24,3,24,458,8,24,1,25,5,25,461,8,25, - 10,25,12,25,464,9,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,3,25, - 474,8,25,1,25,1,25,5,25,478,8,25,10,25,12,25,481,9,25,1,25,1,25, - 1,26,1,26,1,26,1,26,3,26,489,8,26,1,27,1,27,1,27,1,27,1,27,1,27, - 1,27,1,27,1,27,1,27,1,27,1,27,5,27,503,8,27,10,27,12,27,506,9,27, - 1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28, - 1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28, - 1,28,1,28,1,28,1,28,1,28,1,28,3,28,540,8,28,1,29,1,29,1,29,3,29, - 545,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,556,8, - 29,1,29,1,29,1,29,3,29,561,8,29,1,29,1,29,1,30,1,30,1,30,3,30,568, - 8,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,3,30,577,8,30,1,30,1,30, - 1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,1,31,3,31,590,8,31,1,31, - 1,31,1,32,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,34,1,34, - 1,34,1,34,1,34,5,34,609,8,34,10,34,12,34,612,9,34,3,34,614,8,34, - 1,34,3,34,617,8,34,1,35,1,35,1,35,5,35,622,8,35,10,35,12,35,625, - 9,35,1,36,1,36,1,36,5,36,630,8,36,10,36,12,36,633,9,36,1,36,1,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, - 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, - 3,37,663,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37,1,37, - 3,37,675,8,37,1,37,1,37,3,37,679,8,37,1,38,1,38,1,38,1,38,5,38,685, - 8,38,10,38,12,38,688,9,38,1,38,1,38,1,39,1,39,1,40,1,40,1,40,1,41, - 1,41,3,41,699,8,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,42, - 1,42,1,42,1,42,3,42,713,8,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43, - 1,43,3,43,723,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44, - 1,45,1,45,1,45,1,45,1,45,1,45,1,45,3,45,741,8,45,1,45,1,45,3,45, - 745,8,45,1,45,3,45,748,8,45,1,45,1,45,3,45,752,8,45,1,45,3,45,755, - 8,45,1,45,1,45,1,46,1,46,1,46,1,46,1,46,3,46,764,8,46,1,46,1,46, - 3,46,768,8,46,1,46,1,46,3,46,772,8,46,1,46,1,46,5,46,776,8,46,10, - 46,12,46,779,9,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,3,47,788,8, - 47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1, - 49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1, - 50,1,50,3,50,817,8,50,1,50,1,50,1,51,1,51,1,51,1,51,1,52,1,52,1, - 52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,836,8,52,1,53,1, - 53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1, - 53,1,53,1,53,3,53,855,8,53,1,53,3,53,858,8,53,3,53,860,8,53,1,54, - 1,54,1,55,1,55,1,56,1,56,1,56,5,56,869,8,56,10,56,12,56,872,9,56, - 1,56,1,56,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,3,57, - 886,8,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57, - 1,57,1,57,1,57,3,57,902,8,57,1,57,1,57,1,57,1,57,1,57,1,57,1,57, - 3,57,911,8,57,1,57,1,57,1,57,1,57,1,57,1,57,3,57,919,8,57,1,57,1, - 57,1,57,1,57,1,57,1,57,1,57,1,57,3,57,929,8,57,1,58,1,58,1,58,1, - 58,1,58,1,58,1,58,3,58,938,8,58,1,58,1,58,1,59,1,59,1,59,1,59,1, - 59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,3,59,956,8,59,1, - 59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1,59,1, - 59,1,59,1,59,1,59,1,59,1,59,1,59,5,59,978,8,59,10,59,12,59,981,9, - 59,1,59,1,59,1,59,3,59,986,8,59,3,59,988,8,59,1,60,1,60,1,60,1,60, - 1,60,1,61,1,61,1,62,1,62,1,63,1,63,1,63,1,63,1,63,1,63,1,63,1,63, - 3,63,1007,8,63,1,64,1,64,1,64,1,64,5,64,1013,8,64,10,64,12,64,1016, - 9,64,3,64,1018,8,64,1,64,1,64,1,65,1,65,1,65,1,65,1,66,1,66,1,66, - 1,66,5,66,1030,8,66,10,66,12,66,1033,9,66,3,66,1035,8,66,1,66,1, - 66,1,67,1,67,1,68,1,68,1,68,0,0,69,0,2,4,6,8,10,12,14,16,18,20,22, + 65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,1,0,1,0,1,0,1,0,1,0,1, + 0,1,0,1,0,1,0,1,0,1,0,1,0,3,0,153,8,0,1,1,1,1,1,1,5,1,158,8,1,10, + 1,12,1,161,9,1,1,1,1,1,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1, + 3,1,3,1,3,1,3,5,3,179,8,3,10,3,12,3,182,9,3,1,3,1,3,1,4,1,4,1,4, + 1,4,1,4,1,4,1,4,3,4,193,8,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5, + 1,5,3,5,205,8,5,1,6,1,6,1,6,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,7,1,7, + 1,7,1,7,1,8,1,8,1,8,1,8,3,8,225,8,8,1,9,1,9,1,9,1,9,1,9,1,9,3,9, + 233,8,9,1,9,1,9,1,10,5,10,238,8,10,10,10,12,10,241,9,10,1,10,1,10, + 1,10,3,10,246,8,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,5,10, + 256,8,10,10,10,12,10,259,9,10,3,10,261,8,10,1,10,1,10,5,10,265,8, + 10,10,10,12,10,268,9,10,1,10,1,10,1,11,1,11,1,11,1,11,5,11,276,8, + 11,10,11,12,11,279,9,11,1,11,1,11,1,12,1,12,1,12,1,12,3,12,287,8, + 12,1,12,1,12,1,12,1,12,1,12,1,12,5,12,295,8,12,10,12,12,12,298,9, + 12,3,12,300,8,12,3,12,302,8,12,1,13,1,13,3,13,306,8,13,1,14,1,14, + 1,14,1,14,5,14,312,8,14,10,14,12,14,315,9,14,1,14,1,14,1,15,1,15, + 1,15,1,15,1,15,1,15,1,15,3,15,326,8,15,1,16,1,16,1,16,3,16,331,8, + 16,1,16,1,16,1,16,1,16,1,17,1,17,1,17,3,17,340,8,17,1,18,3,18,343, + 8,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,18,1,19,3,19,361,8,19,1,19,1,19,1,19,1,19,1,19,1,19, + 1,19,1,19,5,19,371,8,19,10,19,12,19,374,9,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,20,1,20,1,20, + 1,20,1,20,1,20,1,20,3,20,397,8,20,1,21,3,21,400,8,21,1,21,1,21,1, + 21,1,21,1,21,1,21,1,21,1,21,3,21,410,8,21,1,21,1,21,3,21,414,8,21, + 1,21,1,21,5,21,418,8,21,10,21,12,21,421,9,21,1,21,1,21,1,22,1,22, + 3,22,427,8,22,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23, + 1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23,1,23, + 1,23,3,23,453,8,23,1,24,1,24,1,24,1,24,1,24,3,24,460,8,24,1,24,1, + 24,3,24,464,8,24,1,25,5,25,467,8,25,10,25,12,25,470,9,25,1,25,1, + 25,1,25,1,25,1,25,1,25,1,25,1,25,3,25,480,8,25,1,25,1,25,5,25,484, + 8,25,10,25,12,25,487,9,25,1,25,1,25,1,26,1,26,1,26,1,26,1,26,3,26, + 496,8,26,1,27,1,27,1,27,3,27,501,8,27,1,27,1,27,1,27,1,27,1,27,1, + 27,1,27,1,27,1,27,1,27,5,27,513,8,27,10,27,12,27,516,9,27,1,27,1, + 27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,29,1,29,1,29,1, + 29,1,29,1,29,3,29,535,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1, + 29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1, + 29,1,29,1,29,1,29,1,29,3,29,562,8,29,1,30,1,30,1,30,3,30,567,8,30, + 1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,3,30,578,8,30,1,30, + 1,30,1,30,3,30,583,8,30,1,30,1,30,1,31,1,31,1,31,3,31,590,8,31,1, + 31,1,31,1,31,1,31,1,31,1,31,1,31,3,31,599,8,31,1,31,1,31,1,32,1, + 32,1,32,1,32,1,32,1,32,1,32,1,32,1,32,3,32,612,8,32,1,32,1,32,1, + 33,1,33,1,33,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1, + 35,1,35,5,35,631,8,35,10,35,12,35,634,9,35,3,35,636,8,35,1,35,3, + 35,639,8,35,1,36,1,36,1,36,5,36,644,8,36,10,36,12,36,647,9,36,1, + 37,1,37,1,37,5,37,652,8,37,10,37,12,37,655,9,37,1,37,1,37,1,38,1, + 38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1, + 38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,3,38,685, + 8,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,3,38,697, + 8,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,38, + 3,38,711,8,38,1,39,1,39,1,39,1,39,5,39,717,8,39,10,39,12,39,720, + 9,39,1,39,1,39,1,40,1,40,1,41,1,41,1,41,1,42,1,42,3,42,731,8,42, + 1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,1,43,3,43, + 745,8,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,3,44,755,8,44,1, + 45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1, + 46,1,46,1,46,3,46,773,8,46,1,46,1,46,3,46,777,8,46,1,46,3,46,780, + 8,46,1,46,1,46,3,46,784,8,46,1,46,3,46,787,8,46,1,46,1,46,1,47,1, + 47,1,47,1,47,1,47,3,47,796,8,47,1,47,1,47,3,47,800,8,47,1,47,1,47, + 3,47,804,8,47,1,47,1,47,5,47,808,8,47,10,47,12,47,811,9,47,1,47, + 1,47,1,48,1,48,1,48,1,48,1,48,3,48,820,8,48,1,49,1,49,1,49,1,49, + 1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50, + 1,50,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,51,3,51,849,8,51, + 1,51,1,51,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53, + 1,53,1,53,1,53,1,53,3,53,868,8,53,1,54,1,54,1,54,1,54,1,54,1,54, + 1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,1,54,3,54,887, + 8,54,1,54,3,54,890,8,54,3,54,892,8,54,1,55,1,55,1,56,1,56,1,57,1, + 57,1,57,5,57,901,8,57,10,57,12,57,904,9,57,1,57,1,57,1,58,1,58,1, + 58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,918,8,58,1,58,1,58,1, + 58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,934, + 8,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,3,58,943,8,58,1,58,1,58, + 1,58,1,58,1,58,1,58,3,58,951,8,58,1,58,1,58,1,58,1,58,1,58,1,58, + 1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58, + 1,58,3,58,973,8,58,1,58,1,58,3,58,977,8,58,1,59,1,59,1,59,1,59,1, + 59,1,59,1,59,3,59,986,8,59,1,59,1,59,1,60,1,60,1,60,1,60,1,60,1, + 60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,3,60,1004,8,60,1,60,1, + 60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1,60,1, + 60,1,60,1,60,1,60,1,60,1,60,5,60,1026,8,60,10,60,12,60,1029,9,60, + 1,60,1,60,1,60,3,60,1034,8,60,3,60,1036,8,60,1,61,1,61,1,61,1,61, + 1,61,1,62,1,62,1,63,1,63,1,64,1,64,1,64,1,64,1,64,1,64,1,64,1,64, + 3,64,1055,8,64,1,65,1,65,1,65,1,65,5,65,1061,8,65,10,65,12,65,1064, + 9,65,3,65,1066,8,65,1,65,1,65,1,66,1,66,1,66,1,66,1,67,1,67,1,67, + 1,67,5,67,1078,8,67,10,67,12,67,1081,9,67,3,67,1083,8,67,1,67,1, + 67,1,68,1,68,1,69,1,69,1,69,0,0,70,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,0,7, - 1,0,77,81,2,0,72,76,78,79,2,0,72,73,78,79,2,0,74,76,78,79,1,0,97, - 104,1,0,84,87,3,0,2,11,51,51,125,125,1116,0,150,1,0,0,0,2,152,1, - 0,0,0,4,162,1,0,0,0,6,166,1,0,0,0,8,190,1,0,0,0,10,202,1,0,0,0,12, - 204,1,0,0,0,14,211,1,0,0,0,16,222,1,0,0,0,18,224,1,0,0,0,20,237, - 1,0,0,0,22,269,1,0,0,0,24,299,1,0,0,0,26,301,1,0,0,0,28,305,1,0, - 0,0,30,323,1,0,0,0,32,325,1,0,0,0,34,337,1,0,0,0,36,340,1,0,0,0, - 38,358,1,0,0,0,40,394,1,0,0,0,42,397,1,0,0,0,44,418,1,0,0,0,46,446, - 1,0,0,0,48,457,1,0,0,0,50,462,1,0,0,0,52,488,1,0,0,0,54,490,1,0, - 0,0,56,539,1,0,0,0,58,541,1,0,0,0,60,564,1,0,0,0,62,580,1,0,0,0, - 64,593,1,0,0,0,66,596,1,0,0,0,68,616,1,0,0,0,70,618,1,0,0,0,72,626, - 1,0,0,0,74,678,1,0,0,0,76,680,1,0,0,0,78,691,1,0,0,0,80,693,1,0, - 0,0,82,698,1,0,0,0,84,700,1,0,0,0,86,722,1,0,0,0,88,724,1,0,0,0, - 90,733,1,0,0,0,92,758,1,0,0,0,94,787,1,0,0,0,96,789,1,0,0,0,98,796, - 1,0,0,0,100,810,1,0,0,0,102,820,1,0,0,0,104,835,1,0,0,0,106,859, - 1,0,0,0,108,861,1,0,0,0,110,863,1,0,0,0,112,865,1,0,0,0,114,928, - 1,0,0,0,116,930,1,0,0,0,118,987,1,0,0,0,120,989,1,0,0,0,122,994, - 1,0,0,0,124,996,1,0,0,0,126,1006,1,0,0,0,128,1008,1,0,0,0,130,1021, - 1,0,0,0,132,1025,1,0,0,0,134,1038,1,0,0,0,136,1040,1,0,0,0,138,139, - 3,6,3,0,139,140,5,0,0,1,140,151,1,0,0,0,141,142,3,20,10,0,142,143, - 5,0,0,1,143,151,1,0,0,0,144,145,3,50,25,0,145,146,5,0,0,1,146,151, - 1,0,0,0,147,148,3,2,1,0,148,149,5,0,0,1,149,151,1,0,0,0,150,138, - 1,0,0,0,150,141,1,0,0,0,150,144,1,0,0,0,150,147,1,0,0,0,151,1,1, - 0,0,0,152,153,5,18,0,0,153,157,5,113,0,0,154,156,3,8,4,0,155,154, - 1,0,0,0,156,159,1,0,0,0,157,155,1,0,0,0,157,158,1,0,0,0,158,160, - 1,0,0,0,159,157,1,0,0,0,160,161,5,114,0,0,161,3,1,0,0,0,162,163, - 5,19,0,0,163,164,3,136,68,0,164,165,5,110,0,0,165,5,1,0,0,0,166, - 167,5,1,0,0,167,168,3,134,67,0,168,169,5,60,0,0,169,170,3,136,68, - 0,170,171,5,54,0,0,171,172,3,136,68,0,172,173,5,53,0,0,173,174,3, - 136,68,0,174,178,5,113,0,0,175,177,3,8,4,0,176,175,1,0,0,0,177,180, - 1,0,0,0,178,176,1,0,0,0,178,179,1,0,0,0,179,181,1,0,0,0,180,178, - 1,0,0,0,181,182,5,114,0,0,182,7,1,0,0,0,183,191,3,4,2,0,184,191, - 3,18,9,0,185,191,3,10,5,0,186,191,3,80,40,0,187,191,3,92,46,0,188, - 191,3,116,58,0,189,191,3,32,16,0,190,183,1,0,0,0,190,184,1,0,0,0, - 190,185,1,0,0,0,190,186,1,0,0,0,190,187,1,0,0,0,190,188,1,0,0,0, - 190,189,1,0,0,0,191,9,1,0,0,0,192,193,5,19,0,0,193,194,5,22,0,0, - 194,195,3,134,67,0,195,196,5,110,0,0,196,203,1,0,0,0,197,198,5,19, - 0,0,198,199,5,24,0,0,199,200,3,134,67,0,200,201,5,110,0,0,201,203, - 1,0,0,0,202,192,1,0,0,0,202,197,1,0,0,0,203,11,1,0,0,0,204,205,5, - 20,0,0,205,206,5,21,0,0,206,207,3,134,67,0,207,208,5,60,0,0,208, - 209,3,136,68,0,209,210,5,110,0,0,210,13,1,0,0,0,211,212,5,20,0,0, - 212,213,5,22,0,0,213,214,3,134,67,0,214,215,5,54,0,0,215,216,3,136, - 68,0,216,217,5,110,0,0,217,15,1,0,0,0,218,223,3,10,5,0,219,223,3, - 12,6,0,220,223,3,14,7,0,221,223,3,32,16,0,222,218,1,0,0,0,222,219, - 1,0,0,0,222,220,1,0,0,0,222,221,1,0,0,0,223,17,1,0,0,0,224,225,5, - 21,0,0,225,226,3,134,67,0,226,227,5,60,0,0,227,230,3,136,68,0,228, - 229,5,61,0,0,229,231,3,136,68,0,230,228,1,0,0,0,230,231,1,0,0,0, - 231,232,1,0,0,0,232,233,5,110,0,0,233,19,1,0,0,0,234,236,3,16,8, - 0,235,234,1,0,0,0,236,239,1,0,0,0,237,235,1,0,0,0,237,238,1,0,0, - 0,238,240,1,0,0,0,239,237,1,0,0,0,240,241,5,22,0,0,241,243,3,134, - 67,0,242,244,3,22,11,0,243,242,1,0,0,0,243,244,1,0,0,0,244,245,1, - 0,0,0,245,246,5,60,0,0,246,247,3,136,68,0,247,248,5,54,0,0,248,258, - 3,136,68,0,249,250,5,65,0,0,250,255,3,26,13,0,251,252,5,111,0,0, - 252,254,3,26,13,0,253,251,1,0,0,0,254,257,1,0,0,0,255,253,1,0,0, - 0,255,256,1,0,0,0,256,259,1,0,0,0,257,255,1,0,0,0,258,249,1,0,0, - 0,258,259,1,0,0,0,259,260,1,0,0,0,260,264,5,113,0,0,261,263,3,34, - 17,0,262,261,1,0,0,0,263,266,1,0,0,0,264,262,1,0,0,0,264,265,1,0, - 0,0,265,267,1,0,0,0,266,264,1,0,0,0,267,268,5,114,0,0,268,21,1,0, - 0,0,269,270,5,119,0,0,270,275,3,24,12,0,271,272,5,111,0,0,272,274, - 3,24,12,0,273,271,1,0,0,0,274,277,1,0,0,0,275,273,1,0,0,0,275,276, - 1,0,0,0,276,278,1,0,0,0,277,275,1,0,0,0,278,279,5,120,0,0,279,23, - 1,0,0,0,280,281,5,25,0,0,281,284,3,134,67,0,282,283,5,109,0,0,283, - 285,5,15,0,0,284,282,1,0,0,0,284,285,1,0,0,0,285,300,1,0,0,0,286, - 287,5,14,0,0,287,297,3,134,67,0,288,289,5,16,0,0,289,294,3,26,13, - 0,290,291,5,121,0,0,291,293,3,26,13,0,292,290,1,0,0,0,293,296,1, - 0,0,0,294,292,1,0,0,0,294,295,1,0,0,0,295,298,1,0,0,0,296,294,1, - 0,0,0,297,288,1,0,0,0,297,298,1,0,0,0,298,300,1,0,0,0,299,280,1, - 0,0,0,299,286,1,0,0,0,300,25,1,0,0,0,301,303,3,134,67,0,302,304, - 3,28,14,0,303,302,1,0,0,0,303,304,1,0,0,0,304,27,1,0,0,0,305,306, - 5,119,0,0,306,311,3,30,15,0,307,308,5,111,0,0,308,310,3,30,15,0, - 309,307,1,0,0,0,310,313,1,0,0,0,311,309,1,0,0,0,311,312,1,0,0,0, - 312,314,1,0,0,0,313,311,1,0,0,0,314,315,5,120,0,0,315,29,1,0,0,0, - 316,317,5,21,0,0,317,324,3,134,67,0,318,319,5,22,0,0,319,324,3,26, - 13,0,320,321,5,14,0,0,321,324,3,134,67,0,322,324,3,118,59,0,323, - 316,1,0,0,0,323,318,1,0,0,0,323,320,1,0,0,0,323,322,1,0,0,0,324, - 31,1,0,0,0,325,326,5,13,0,0,326,328,3,134,67,0,327,329,3,22,11,0, - 328,327,1,0,0,0,328,329,1,0,0,0,329,330,1,0,0,0,330,331,5,122,0, - 0,331,332,3,118,59,0,332,333,5,110,0,0,333,33,1,0,0,0,334,338,3, - 38,19,0,335,338,3,42,21,0,336,338,3,36,18,0,337,334,1,0,0,0,337, - 335,1,0,0,0,337,336,1,0,0,0,338,35,1,0,0,0,339,341,5,35,0,0,340, - 339,1,0,0,0,340,341,1,0,0,0,341,342,1,0,0,0,342,343,5,27,0,0,343, - 344,3,134,67,0,344,345,5,60,0,0,345,346,3,136,68,0,346,347,5,109, - 0,0,347,348,3,118,59,0,348,349,5,108,0,0,349,350,3,118,59,0,350, - 351,5,113,0,0,351,352,5,77,0,0,352,353,5,60,0,0,353,354,3,136,68, - 0,354,355,5,110,0,0,355,356,5,114,0,0,356,37,1,0,0,0,357,359,3,44, - 22,0,358,357,1,0,0,0,358,359,1,0,0,0,359,360,1,0,0,0,360,361,5,25, - 0,0,361,362,3,134,67,0,362,363,5,60,0,0,363,364,3,136,68,0,364,365, - 5,109,0,0,365,366,3,118,59,0,366,370,5,113,0,0,367,369,3,40,20,0, - 368,367,1,0,0,0,369,372,1,0,0,0,370,368,1,0,0,0,370,371,1,0,0,0, - 371,373,1,0,0,0,372,370,1,0,0,0,373,374,5,114,0,0,374,39,1,0,0,0, - 375,376,5,67,0,0,376,377,5,60,0,0,377,378,3,136,68,0,378,379,5,110, - 0,0,379,395,1,0,0,0,380,381,5,68,0,0,381,382,5,60,0,0,382,383,3, - 136,68,0,383,384,5,110,0,0,384,395,1,0,0,0,385,386,5,69,0,0,386, - 387,5,70,0,0,387,388,5,60,0,0,388,389,3,136,68,0,389,390,5,71,0, - 0,390,391,5,60,0,0,391,392,3,136,68,0,392,393,5,110,0,0,393,395, - 1,0,0,0,394,375,1,0,0,0,394,380,1,0,0,0,394,385,1,0,0,0,395,41,1, - 0,0,0,396,398,3,44,22,0,397,396,1,0,0,0,397,398,1,0,0,0,398,399, - 1,0,0,0,399,400,5,26,0,0,400,401,3,134,67,0,401,402,5,60,0,0,402, - 403,3,136,68,0,403,404,5,109,0,0,404,405,3,124,62,0,405,407,3,48, - 24,0,406,408,5,88,0,0,407,406,1,0,0,0,407,408,1,0,0,0,408,409,1, - 0,0,0,409,413,5,113,0,0,410,412,3,46,23,0,411,410,1,0,0,0,412,415, - 1,0,0,0,413,411,1,0,0,0,413,414,1,0,0,0,414,416,1,0,0,0,415,413, - 1,0,0,0,416,417,5,114,0,0,417,43,1,0,0,0,418,420,5,10,0,0,419,421, - 5,11,0,0,420,419,1,0,0,0,420,421,1,0,0,0,421,45,1,0,0,0,422,423, - 5,74,0,0,423,424,5,60,0,0,424,425,3,136,68,0,425,426,5,110,0,0,426, - 447,1,0,0,0,427,428,5,75,0,0,428,429,5,60,0,0,429,430,3,136,68,0, - 430,431,5,110,0,0,431,447,1,0,0,0,432,433,5,76,0,0,433,434,5,60, - 0,0,434,435,3,136,68,0,435,436,5,110,0,0,436,447,1,0,0,0,437,438, - 5,69,0,0,438,439,5,70,0,0,439,440,5,60,0,0,440,441,3,136,68,0,441, - 442,5,71,0,0,442,443,5,60,0,0,443,444,3,136,68,0,444,445,5,110,0, - 0,445,447,1,0,0,0,446,422,1,0,0,0,446,427,1,0,0,0,446,432,1,0,0, - 0,446,437,1,0,0,0,447,47,1,0,0,0,448,449,5,21,0,0,449,458,3,134, - 67,0,450,451,5,22,0,0,451,453,3,134,67,0,452,454,3,28,14,0,453,452, - 1,0,0,0,453,454,1,0,0,0,454,458,1,0,0,0,455,456,5,14,0,0,456,458, - 3,134,67,0,457,448,1,0,0,0,457,450,1,0,0,0,457,455,1,0,0,0,458,49, - 1,0,0,0,459,461,3,16,8,0,460,459,1,0,0,0,461,464,1,0,0,0,462,460, - 1,0,0,0,462,463,1,0,0,0,463,465,1,0,0,0,464,462,1,0,0,0,465,466, - 5,24,0,0,466,467,3,134,67,0,467,468,5,60,0,0,468,469,3,136,68,0, - 469,470,5,54,0,0,470,473,3,136,68,0,471,472,5,55,0,0,472,474,5,123, - 0,0,473,471,1,0,0,0,473,474,1,0,0,0,474,475,1,0,0,0,475,479,5,113, - 0,0,476,478,3,52,26,0,477,476,1,0,0,0,478,481,1,0,0,0,479,477,1, - 0,0,0,479,480,1,0,0,0,480,482,1,0,0,0,481,479,1,0,0,0,482,483,5, - 114,0,0,483,51,1,0,0,0,484,489,3,58,29,0,485,489,3,60,30,0,486,489, - 3,62,31,0,487,489,3,54,27,0,488,484,1,0,0,0,488,485,1,0,0,0,488, - 486,1,0,0,0,488,487,1,0,0,0,489,53,1,0,0,0,490,491,5,2,0,0,491,492, - 3,134,67,0,492,493,5,60,0,0,493,494,3,136,68,0,494,495,5,3,0,0,495, - 496,3,26,13,0,496,497,5,4,0,0,497,498,3,136,68,0,498,499,5,27,0, - 0,499,500,3,136,68,0,500,504,5,113,0,0,501,503,3,56,28,0,502,501, - 1,0,0,0,503,506,1,0,0,0,504,502,1,0,0,0,504,505,1,0,0,0,505,507, - 1,0,0,0,506,504,1,0,0,0,507,508,5,114,0,0,508,55,1,0,0,0,509,510, - 5,5,0,0,510,511,3,136,68,0,511,512,5,110,0,0,512,540,1,0,0,0,513, - 514,5,6,0,0,514,515,3,134,67,0,515,516,5,33,0,0,516,517,3,26,13, - 0,517,518,5,110,0,0,518,540,1,0,0,0,519,520,5,7,0,0,520,521,3,134, - 67,0,521,522,5,123,0,0,522,523,5,110,0,0,523,540,1,0,0,0,524,525, - 5,8,0,0,525,526,3,26,13,0,526,527,5,112,0,0,527,528,3,134,67,0,528, - 529,3,134,67,0,529,530,3,136,68,0,530,531,5,110,0,0,531,540,1,0, - 0,0,532,533,5,69,0,0,533,540,5,110,0,0,534,535,5,9,0,0,535,536,5, - 123,0,0,536,537,3,136,68,0,537,538,5,110,0,0,538,540,1,0,0,0,539, - 509,1,0,0,0,539,513,1,0,0,0,539,519,1,0,0,0,539,524,1,0,0,0,539, - 532,1,0,0,0,539,534,1,0,0,0,540,57,1,0,0,0,541,542,5,27,0,0,542, - 544,3,134,67,0,543,545,3,22,11,0,544,543,1,0,0,0,544,545,1,0,0,0, - 545,546,1,0,0,0,546,547,5,60,0,0,547,548,3,136,68,0,548,549,5,109, - 0,0,549,550,3,118,59,0,550,551,5,108,0,0,551,552,3,118,59,0,552, - 553,5,62,0,0,553,555,3,66,33,0,554,556,3,64,32,0,555,554,1,0,0,0, - 555,556,1,0,0,0,556,557,1,0,0,0,557,558,5,64,0,0,558,560,3,68,34, - 0,559,561,3,72,36,0,560,559,1,0,0,0,560,561,1,0,0,0,561,562,1,0, - 0,0,562,563,5,110,0,0,563,59,1,0,0,0,564,565,5,28,0,0,565,567,3, - 134,67,0,566,568,3,22,11,0,567,566,1,0,0,0,567,568,1,0,0,0,568,569, - 1,0,0,0,569,570,5,60,0,0,570,571,3,136,68,0,571,572,5,109,0,0,572, - 573,3,118,59,0,573,574,5,108,0,0,574,576,3,118,59,0,575,577,3,72, - 36,0,576,575,1,0,0,0,576,577,1,0,0,0,577,578,1,0,0,0,578,579,5,110, - 0,0,579,61,1,0,0,0,580,581,5,29,0,0,581,582,3,134,67,0,582,583,5, - 60,0,0,583,584,3,136,68,0,584,585,5,30,0,0,585,586,3,134,67,0,586, - 587,5,109,0,0,587,589,3,118,59,0,588,590,3,72,36,0,589,588,1,0,0, - 0,589,590,1,0,0,0,590,591,1,0,0,0,591,592,5,110,0,0,592,63,1,0,0, - 0,593,594,5,63,0,0,594,595,3,118,59,0,595,65,1,0,0,0,596,597,7,0, - 0,0,597,67,1,0,0,0,598,617,5,66,0,0,599,600,5,21,0,0,600,617,3,134, - 67,0,601,602,5,14,0,0,602,617,3,134,67,0,603,604,5,23,0,0,604,613, - 5,115,0,0,605,610,3,26,13,0,606,607,5,111,0,0,607,609,3,26,13,0, - 608,606,1,0,0,0,609,612,1,0,0,0,610,608,1,0,0,0,610,611,1,0,0,0, - 611,614,1,0,0,0,612,610,1,0,0,0,613,605,1,0,0,0,613,614,1,0,0,0, - 614,615,1,0,0,0,615,617,5,116,0,0,616,598,1,0,0,0,616,599,1,0,0, - 0,616,601,1,0,0,0,616,603,1,0,0,0,617,69,1,0,0,0,618,623,3,134,67, - 0,619,620,5,111,0,0,620,622,3,134,67,0,621,619,1,0,0,0,622,625,1, - 0,0,0,623,621,1,0,0,0,623,624,1,0,0,0,624,71,1,0,0,0,625,623,1,0, - 0,0,626,627,5,65,0,0,627,631,5,113,0,0,628,630,3,74,37,0,629,628, - 1,0,0,0,630,633,1,0,0,0,631,629,1,0,0,0,631,632,1,0,0,0,632,634, - 1,0,0,0,633,631,1,0,0,0,634,635,5,114,0,0,635,73,1,0,0,0,636,637, - 5,39,0,0,637,638,3,134,67,0,638,639,5,60,0,0,639,640,3,136,68,0, - 640,641,5,109,0,0,641,642,3,118,59,0,642,643,3,76,38,0,643,644,5, - 110,0,0,644,679,1,0,0,0,645,646,5,40,0,0,646,647,3,134,67,0,647, - 648,5,60,0,0,648,649,3,136,68,0,649,650,5,109,0,0,650,651,3,124, - 62,0,651,652,3,48,24,0,652,653,3,76,38,0,653,654,5,110,0,0,654,679, - 1,0,0,0,655,656,5,22,0,0,656,657,3,134,67,0,657,658,5,60,0,0,658, - 659,3,136,68,0,659,660,5,109,0,0,660,662,3,134,67,0,661,663,3,28, - 14,0,662,661,1,0,0,0,662,663,1,0,0,0,663,664,1,0,0,0,664,665,5,110, - 0,0,665,679,1,0,0,0,666,667,5,29,0,0,667,668,3,134,67,0,668,669, - 5,60,0,0,669,670,3,136,68,0,670,671,5,109,0,0,671,674,3,134,67,0, - 672,673,5,31,0,0,673,675,3,118,59,0,674,672,1,0,0,0,674,675,1,0, - 0,0,675,676,1,0,0,0,676,677,5,110,0,0,677,679,1,0,0,0,678,636,1, - 0,0,0,678,645,1,0,0,0,678,655,1,0,0,0,678,666,1,0,0,0,679,75,1,0, - 0,0,680,681,5,115,0,0,681,686,3,78,39,0,682,683,5,111,0,0,683,685, - 3,78,39,0,684,682,1,0,0,0,685,688,1,0,0,0,686,684,1,0,0,0,686,687, - 1,0,0,0,687,689,1,0,0,0,688,686,1,0,0,0,689,690,5,116,0,0,690,77, - 1,0,0,0,691,692,7,1,0,0,692,79,1,0,0,0,693,694,5,38,0,0,694,695, - 3,82,41,0,695,81,1,0,0,0,696,699,3,84,42,0,697,699,3,88,44,0,698, - 696,1,0,0,0,698,697,1,0,0,0,699,83,1,0,0,0,700,701,5,39,0,0,701, - 702,3,134,67,0,702,703,5,60,0,0,703,704,3,136,68,0,704,705,5,48, - 0,0,705,706,3,134,67,0,706,707,5,109,0,0,707,708,3,118,59,0,708, - 709,5,49,0,0,709,712,3,86,43,0,710,711,5,50,0,0,711,713,3,126,63, - 0,712,710,1,0,0,0,712,713,1,0,0,0,713,714,1,0,0,0,714,715,5,110, - 0,0,715,85,1,0,0,0,716,723,5,82,0,0,717,718,5,83,0,0,718,719,5,117, - 0,0,719,720,3,118,59,0,720,721,5,118,0,0,721,723,1,0,0,0,722,716, - 1,0,0,0,722,717,1,0,0,0,723,87,1,0,0,0,724,725,5,40,0,0,725,726, - 3,134,67,0,726,727,5,60,0,0,727,728,3,136,68,0,728,729,5,113,0,0, - 729,730,3,90,45,0,730,731,3,90,45,0,731,732,5,114,0,0,732,89,1,0, - 0,0,733,734,3,48,24,0,734,735,5,41,0,0,735,736,3,134,67,0,736,737, - 5,60,0,0,737,738,3,136,68,0,738,740,3,124,62,0,739,741,5,88,0,0, - 740,739,1,0,0,0,740,741,1,0,0,0,741,744,1,0,0,0,742,743,5,56,0,0, - 743,745,3,136,68,0,744,742,1,0,0,0,744,745,1,0,0,0,745,747,1,0,0, - 0,746,748,5,57,0,0,747,746,1,0,0,0,747,748,1,0,0,0,748,751,1,0,0, - 0,749,750,5,58,0,0,750,752,3,136,68,0,751,749,1,0,0,0,751,752,1, - 0,0,0,752,754,1,0,0,0,753,755,5,59,0,0,754,753,1,0,0,0,754,755,1, - 0,0,0,755,756,1,0,0,0,756,757,5,110,0,0,757,91,1,0,0,0,758,759,5, - 32,0,0,759,760,3,134,67,0,760,761,5,33,0,0,761,763,3,134,67,0,762, - 764,3,28,14,0,763,762,1,0,0,0,763,764,1,0,0,0,764,767,1,0,0,0,765, - 766,5,60,0,0,766,768,3,136,68,0,767,765,1,0,0,0,767,768,1,0,0,0, - 768,771,1,0,0,0,769,770,5,55,0,0,770,772,5,123,0,0,771,769,1,0,0, - 0,771,772,1,0,0,0,772,773,1,0,0,0,773,777,5,113,0,0,774,776,3,94, - 47,0,775,774,1,0,0,0,776,779,1,0,0,0,777,775,1,0,0,0,777,778,1,0, - 0,0,778,780,1,0,0,0,779,777,1,0,0,0,780,781,5,114,0,0,781,93,1,0, - 0,0,782,783,5,37,0,0,783,788,3,82,41,0,784,788,3,100,50,0,785,788, - 3,96,48,0,786,788,3,98,49,0,787,782,1,0,0,0,787,784,1,0,0,0,787, - 785,1,0,0,0,787,786,1,0,0,0,788,95,1,0,0,0,789,790,5,34,0,0,790, - 791,3,134,67,0,791,792,5,36,0,0,792,793,5,39,0,0,793,794,3,134,67, - 0,794,795,5,110,0,0,795,97,1,0,0,0,796,797,5,45,0,0,797,798,3,134, - 67,0,798,799,5,46,0,0,799,800,5,47,0,0,800,801,5,43,0,0,801,802, - 5,29,0,0,802,803,3,134,67,0,803,804,5,44,0,0,804,805,5,40,0,0,805, - 806,3,134,67,0,806,807,5,112,0,0,807,808,3,134,67,0,808,809,5,110, - 0,0,809,99,1,0,0,0,810,811,5,34,0,0,811,812,3,102,51,0,812,813,5, - 36,0,0,813,816,3,106,53,0,814,815,5,12,0,0,815,817,3,136,68,0,816, - 814,1,0,0,0,816,817,1,0,0,0,817,818,1,0,0,0,818,819,5,110,0,0,819, - 101,1,0,0,0,820,821,3,134,67,0,821,822,5,112,0,0,822,823,3,104,52, - 0,823,103,1,0,0,0,824,836,3,134,67,0,825,836,5,77,0,0,826,836,5, - 67,0,0,827,836,5,68,0,0,828,836,5,74,0,0,829,836,5,75,0,0,830,836, - 5,76,0,0,831,836,5,78,0,0,832,836,5,79,0,0,833,836,5,80,0,0,834, - 836,5,81,0,0,835,824,1,0,0,0,835,825,1,0,0,0,835,826,1,0,0,0,835, - 827,1,0,0,0,835,828,1,0,0,0,835,829,1,0,0,0,835,830,1,0,0,0,835, - 831,1,0,0,0,835,832,1,0,0,0,835,833,1,0,0,0,835,834,1,0,0,0,836, - 105,1,0,0,0,837,838,5,39,0,0,838,839,3,134,67,0,839,840,5,112,0, - 0,840,841,3,108,54,0,841,860,1,0,0,0,842,843,5,40,0,0,843,844,3, - 134,67,0,844,845,5,112,0,0,845,846,3,134,67,0,846,847,5,112,0,0, - 847,848,3,110,55,0,848,860,1,0,0,0,849,850,5,24,0,0,850,851,3,134, - 67,0,851,852,5,112,0,0,852,854,3,134,67,0,853,855,3,28,14,0,854, - 853,1,0,0,0,854,855,1,0,0,0,855,857,1,0,0,0,856,858,3,112,56,0,857, - 856,1,0,0,0,857,858,1,0,0,0,858,860,1,0,0,0,859,837,1,0,0,0,859, - 842,1,0,0,0,859,849,1,0,0,0,860,107,1,0,0,0,861,862,7,2,0,0,862, - 109,1,0,0,0,863,864,7,3,0,0,864,111,1,0,0,0,865,866,5,42,0,0,866, - 870,5,113,0,0,867,869,3,114,57,0,868,867,1,0,0,0,869,872,1,0,0,0, - 870,868,1,0,0,0,870,871,1,0,0,0,871,873,1,0,0,0,872,870,1,0,0,0, - 873,874,5,114,0,0,874,113,1,0,0,0,875,876,3,134,67,0,876,877,5,36, - 0,0,877,878,5,39,0,0,878,885,3,134,67,0,879,880,5,44,0,0,880,881, - 5,40,0,0,881,882,3,134,67,0,882,883,5,112,0,0,883,884,3,134,67,0, - 884,886,1,0,0,0,885,879,1,0,0,0,885,886,1,0,0,0,886,887,1,0,0,0, - 887,888,5,110,0,0,888,929,1,0,0,0,889,890,3,134,67,0,890,891,5,36, - 0,0,891,892,5,40,0,0,892,893,3,134,67,0,893,894,5,112,0,0,894,901, - 3,134,67,0,895,896,5,44,0,0,896,897,5,40,0,0,897,898,3,134,67,0, - 898,899,5,112,0,0,899,900,3,134,67,0,900,902,1,0,0,0,901,895,1,0, - 0,0,901,902,1,0,0,0,902,903,1,0,0,0,903,904,5,110,0,0,904,929,1, - 0,0,0,905,906,3,134,67,0,906,907,5,36,0,0,907,908,5,22,0,0,908,910, - 3,134,67,0,909,911,3,28,14,0,910,909,1,0,0,0,910,911,1,0,0,0,911, - 918,1,0,0,0,912,913,5,44,0,0,913,914,5,40,0,0,914,915,3,134,67,0, - 915,916,5,112,0,0,916,917,3,134,67,0,917,919,1,0,0,0,918,912,1,0, - 0,0,918,919,1,0,0,0,919,920,1,0,0,0,920,921,5,110,0,0,921,929,1, - 0,0,0,922,923,3,134,67,0,923,924,5,36,0,0,924,925,5,29,0,0,925,926, - 3,134,67,0,926,927,5,110,0,0,927,929,1,0,0,0,928,875,1,0,0,0,928, - 889,1,0,0,0,928,905,1,0,0,0,928,922,1,0,0,0,929,115,1,0,0,0,930, - 931,5,29,0,0,931,932,3,134,67,0,932,933,5,36,0,0,933,934,3,134,67, - 0,934,935,5,112,0,0,935,937,3,134,67,0,936,938,3,112,56,0,937,936, - 1,0,0,0,937,938,1,0,0,0,938,939,1,0,0,0,939,940,5,110,0,0,940,117, - 1,0,0,0,941,988,3,122,61,0,942,988,5,89,0,0,943,988,5,90,0,0,944, - 945,5,91,0,0,945,988,3,136,68,0,946,947,5,92,0,0,947,948,5,119,0, - 0,948,949,3,134,67,0,949,950,5,120,0,0,950,988,1,0,0,0,951,952,5, - 93,0,0,952,953,5,119,0,0,953,955,3,134,67,0,954,956,3,28,14,0,955, - 954,1,0,0,0,955,956,1,0,0,0,956,957,1,0,0,0,957,958,5,120,0,0,958, - 988,1,0,0,0,959,960,5,17,0,0,960,961,5,119,0,0,961,962,3,134,67, - 0,962,963,5,120,0,0,963,988,1,0,0,0,964,965,5,94,0,0,965,966,5,119, - 0,0,966,967,3,118,59,0,967,968,5,120,0,0,968,988,1,0,0,0,969,970, - 5,95,0,0,970,971,5,119,0,0,971,972,3,118,59,0,972,973,5,120,0,0, - 973,988,1,0,0,0,974,975,5,96,0,0,975,979,5,113,0,0,976,978,3,120, - 60,0,977,976,1,0,0,0,978,981,1,0,0,0,979,977,1,0,0,0,979,980,1,0, - 0,0,980,982,1,0,0,0,981,979,1,0,0,0,982,988,5,114,0,0,983,985,3, - 134,67,0,984,986,3,28,14,0,985,984,1,0,0,0,985,986,1,0,0,0,986,988, - 1,0,0,0,987,941,1,0,0,0,987,942,1,0,0,0,987,943,1,0,0,0,987,944, - 1,0,0,0,987,946,1,0,0,0,987,951,1,0,0,0,987,959,1,0,0,0,987,964, - 1,0,0,0,987,969,1,0,0,0,987,974,1,0,0,0,987,983,1,0,0,0,988,119, - 1,0,0,0,989,990,3,134,67,0,990,991,5,109,0,0,991,992,3,118,59,0, - 992,993,5,110,0,0,993,121,1,0,0,0,994,995,7,4,0,0,995,123,1,0,0, - 0,996,997,7,5,0,0,997,125,1,0,0,0,998,1007,3,136,68,0,999,1007,5, - 123,0,0,1000,1007,5,124,0,0,1001,1007,5,105,0,0,1002,1007,5,106, - 0,0,1003,1007,5,107,0,0,1004,1007,3,128,64,0,1005,1007,3,132,66, - 0,1006,998,1,0,0,0,1006,999,1,0,0,0,1006,1000,1,0,0,0,1006,1001, - 1,0,0,0,1006,1002,1,0,0,0,1006,1003,1,0,0,0,1006,1004,1,0,0,0,1006, - 1005,1,0,0,0,1007,127,1,0,0,0,1008,1017,5,113,0,0,1009,1014,3,130, - 65,0,1010,1011,5,111,0,0,1011,1013,3,130,65,0,1012,1010,1,0,0,0, - 1013,1016,1,0,0,0,1014,1012,1,0,0,0,1014,1015,1,0,0,0,1015,1018, - 1,0,0,0,1016,1014,1,0,0,0,1017,1009,1,0,0,0,1017,1018,1,0,0,0,1018, - 1019,1,0,0,0,1019,1020,5,114,0,0,1020,129,1,0,0,0,1021,1022,3,136, - 68,0,1022,1023,5,109,0,0,1023,1024,3,126,63,0,1024,131,1,0,0,0,1025, - 1034,5,115,0,0,1026,1031,3,126,63,0,1027,1028,5,111,0,0,1028,1030, - 3,126,63,0,1029,1027,1,0,0,0,1030,1033,1,0,0,0,1031,1029,1,0,0,0, - 1031,1032,1,0,0,0,1032,1035,1,0,0,0,1033,1031,1,0,0,0,1034,1026, - 1,0,0,0,1034,1035,1,0,0,0,1035,1036,1,0,0,0,1036,1037,5,116,0,0, - 1037,133,1,0,0,0,1038,1039,7,6,0,0,1039,135,1,0,0,0,1040,1041,5, - 126,0,0,1041,137,1,0,0,0,88,150,157,178,190,202,222,230,237,243, - 255,258,264,275,284,294,297,299,303,311,323,328,337,340,358,370, - 394,397,407,413,420,446,453,457,462,473,479,488,504,539,544,555, - 560,567,576,589,610,613,616,623,631,662,674,678,686,698,712,722, - 740,744,747,751,754,763,767,771,777,787,816,835,854,857,859,870, - 885,901,910,918,928,937,955,979,985,987,1006,1014,1017,1031,1034 + 108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138, + 0,7,1,0,78,82,2,0,73,77,79,80,2,0,73,74,79,80,2,0,75,77,79,80,1, + 0,98,105,1,0,85,88,3,0,2,12,52,52,126,126,1170,0,152,1,0,0,0,2,154, + 1,0,0,0,4,164,1,0,0,0,6,168,1,0,0,0,8,192,1,0,0,0,10,204,1,0,0,0, + 12,206,1,0,0,0,14,213,1,0,0,0,16,224,1,0,0,0,18,226,1,0,0,0,20,239, + 1,0,0,0,22,271,1,0,0,0,24,301,1,0,0,0,26,303,1,0,0,0,28,307,1,0, + 0,0,30,325,1,0,0,0,32,327,1,0,0,0,34,339,1,0,0,0,36,342,1,0,0,0, + 38,360,1,0,0,0,40,396,1,0,0,0,42,399,1,0,0,0,44,424,1,0,0,0,46,452, + 1,0,0,0,48,463,1,0,0,0,50,468,1,0,0,0,52,495,1,0,0,0,54,497,1,0, + 0,0,56,519,1,0,0,0,58,561,1,0,0,0,60,563,1,0,0,0,62,586,1,0,0,0, + 64,602,1,0,0,0,66,615,1,0,0,0,68,618,1,0,0,0,70,638,1,0,0,0,72,640, + 1,0,0,0,74,648,1,0,0,0,76,710,1,0,0,0,78,712,1,0,0,0,80,723,1,0, + 0,0,82,725,1,0,0,0,84,730,1,0,0,0,86,732,1,0,0,0,88,754,1,0,0,0, + 90,756,1,0,0,0,92,765,1,0,0,0,94,790,1,0,0,0,96,819,1,0,0,0,98,821, + 1,0,0,0,100,828,1,0,0,0,102,842,1,0,0,0,104,852,1,0,0,0,106,867, + 1,0,0,0,108,891,1,0,0,0,110,893,1,0,0,0,112,895,1,0,0,0,114,897, + 1,0,0,0,116,976,1,0,0,0,118,978,1,0,0,0,120,1035,1,0,0,0,122,1037, + 1,0,0,0,124,1042,1,0,0,0,126,1044,1,0,0,0,128,1054,1,0,0,0,130,1056, + 1,0,0,0,132,1069,1,0,0,0,134,1073,1,0,0,0,136,1086,1,0,0,0,138,1088, + 1,0,0,0,140,141,3,6,3,0,141,142,5,0,0,1,142,153,1,0,0,0,143,144, + 3,20,10,0,144,145,5,0,0,1,145,153,1,0,0,0,146,147,3,50,25,0,147, + 148,5,0,0,1,148,153,1,0,0,0,149,150,3,2,1,0,150,151,5,0,0,1,151, + 153,1,0,0,0,152,140,1,0,0,0,152,143,1,0,0,0,152,146,1,0,0,0,152, + 149,1,0,0,0,153,1,1,0,0,0,154,155,5,19,0,0,155,159,5,114,0,0,156, + 158,3,8,4,0,157,156,1,0,0,0,158,161,1,0,0,0,159,157,1,0,0,0,159, + 160,1,0,0,0,160,162,1,0,0,0,161,159,1,0,0,0,162,163,5,115,0,0,163, + 3,1,0,0,0,164,165,5,20,0,0,165,166,3,138,69,0,166,167,5,111,0,0, + 167,5,1,0,0,0,168,169,5,1,0,0,169,170,3,136,68,0,170,171,5,61,0, + 0,171,172,3,138,69,0,172,173,5,55,0,0,173,174,3,138,69,0,174,175, + 5,54,0,0,175,176,3,138,69,0,176,180,5,114,0,0,177,179,3,8,4,0,178, + 177,1,0,0,0,179,182,1,0,0,0,180,178,1,0,0,0,180,181,1,0,0,0,181, + 183,1,0,0,0,182,180,1,0,0,0,183,184,5,115,0,0,184,7,1,0,0,0,185, + 193,3,4,2,0,186,193,3,18,9,0,187,193,3,10,5,0,188,193,3,82,41,0, + 189,193,3,94,47,0,190,193,3,118,59,0,191,193,3,32,16,0,192,185,1, + 0,0,0,192,186,1,0,0,0,192,187,1,0,0,0,192,188,1,0,0,0,192,189,1, + 0,0,0,192,190,1,0,0,0,192,191,1,0,0,0,193,9,1,0,0,0,194,195,5,20, + 0,0,195,196,5,23,0,0,196,197,3,136,68,0,197,198,5,111,0,0,198,205, + 1,0,0,0,199,200,5,20,0,0,200,201,5,25,0,0,201,202,3,136,68,0,202, + 203,5,111,0,0,203,205,1,0,0,0,204,194,1,0,0,0,204,199,1,0,0,0,205, + 11,1,0,0,0,206,207,5,21,0,0,207,208,5,22,0,0,208,209,3,136,68,0, + 209,210,5,61,0,0,210,211,3,138,69,0,211,212,5,111,0,0,212,13,1,0, + 0,0,213,214,5,21,0,0,214,215,5,23,0,0,215,216,3,136,68,0,216,217, + 5,55,0,0,217,218,3,138,69,0,218,219,5,111,0,0,219,15,1,0,0,0,220, + 225,3,10,5,0,221,225,3,12,6,0,222,225,3,14,7,0,223,225,3,32,16,0, + 224,220,1,0,0,0,224,221,1,0,0,0,224,222,1,0,0,0,224,223,1,0,0,0, + 225,17,1,0,0,0,226,227,5,22,0,0,227,228,3,136,68,0,228,229,5,61, + 0,0,229,232,3,138,69,0,230,231,5,62,0,0,231,233,3,138,69,0,232,230, + 1,0,0,0,232,233,1,0,0,0,233,234,1,0,0,0,234,235,5,111,0,0,235,19, + 1,0,0,0,236,238,3,16,8,0,237,236,1,0,0,0,238,241,1,0,0,0,239,237, + 1,0,0,0,239,240,1,0,0,0,240,242,1,0,0,0,241,239,1,0,0,0,242,243, + 5,23,0,0,243,245,3,136,68,0,244,246,3,22,11,0,245,244,1,0,0,0,245, + 246,1,0,0,0,246,247,1,0,0,0,247,248,5,61,0,0,248,249,3,138,69,0, + 249,250,5,55,0,0,250,260,3,138,69,0,251,252,5,66,0,0,252,257,3,26, + 13,0,253,254,5,112,0,0,254,256,3,26,13,0,255,253,1,0,0,0,256,259, + 1,0,0,0,257,255,1,0,0,0,257,258,1,0,0,0,258,261,1,0,0,0,259,257, + 1,0,0,0,260,251,1,0,0,0,260,261,1,0,0,0,261,262,1,0,0,0,262,266, + 5,114,0,0,263,265,3,34,17,0,264,263,1,0,0,0,265,268,1,0,0,0,266, + 264,1,0,0,0,266,267,1,0,0,0,267,269,1,0,0,0,268,266,1,0,0,0,269, + 270,5,115,0,0,270,21,1,0,0,0,271,272,5,120,0,0,272,277,3,24,12,0, + 273,274,5,112,0,0,274,276,3,24,12,0,275,273,1,0,0,0,276,279,1,0, + 0,0,277,275,1,0,0,0,277,278,1,0,0,0,278,280,1,0,0,0,279,277,1,0, + 0,0,280,281,5,121,0,0,281,23,1,0,0,0,282,283,5,26,0,0,283,286,3, + 136,68,0,284,285,5,110,0,0,285,287,5,16,0,0,286,284,1,0,0,0,286, + 287,1,0,0,0,287,302,1,0,0,0,288,289,5,15,0,0,289,299,3,136,68,0, + 290,291,5,17,0,0,291,296,3,26,13,0,292,293,5,122,0,0,293,295,3,26, + 13,0,294,292,1,0,0,0,295,298,1,0,0,0,296,294,1,0,0,0,296,297,1,0, + 0,0,297,300,1,0,0,0,298,296,1,0,0,0,299,290,1,0,0,0,299,300,1,0, + 0,0,300,302,1,0,0,0,301,282,1,0,0,0,301,288,1,0,0,0,302,25,1,0,0, + 0,303,305,3,136,68,0,304,306,3,28,14,0,305,304,1,0,0,0,305,306,1, + 0,0,0,306,27,1,0,0,0,307,308,5,120,0,0,308,313,3,30,15,0,309,310, + 5,112,0,0,310,312,3,30,15,0,311,309,1,0,0,0,312,315,1,0,0,0,313, + 311,1,0,0,0,313,314,1,0,0,0,314,316,1,0,0,0,315,313,1,0,0,0,316, + 317,5,121,0,0,317,29,1,0,0,0,318,319,5,22,0,0,319,326,3,136,68,0, + 320,321,5,23,0,0,321,326,3,26,13,0,322,323,5,15,0,0,323,326,3,136, + 68,0,324,326,3,120,60,0,325,318,1,0,0,0,325,320,1,0,0,0,325,322, + 1,0,0,0,325,324,1,0,0,0,326,31,1,0,0,0,327,328,5,14,0,0,328,330, + 3,136,68,0,329,331,3,22,11,0,330,329,1,0,0,0,330,331,1,0,0,0,331, + 332,1,0,0,0,332,333,5,123,0,0,333,334,3,120,60,0,334,335,5,111,0, + 0,335,33,1,0,0,0,336,340,3,38,19,0,337,340,3,42,21,0,338,340,3,36, + 18,0,339,336,1,0,0,0,339,337,1,0,0,0,339,338,1,0,0,0,340,35,1,0, + 0,0,341,343,5,36,0,0,342,341,1,0,0,0,342,343,1,0,0,0,343,344,1,0, + 0,0,344,345,5,28,0,0,345,346,3,136,68,0,346,347,5,61,0,0,347,348, + 3,138,69,0,348,349,5,110,0,0,349,350,3,120,60,0,350,351,5,109,0, + 0,351,352,3,120,60,0,352,353,5,114,0,0,353,354,5,78,0,0,354,355, + 5,61,0,0,355,356,3,138,69,0,356,357,5,111,0,0,357,358,5,115,0,0, + 358,37,1,0,0,0,359,361,3,44,22,0,360,359,1,0,0,0,360,361,1,0,0,0, + 361,362,1,0,0,0,362,363,5,26,0,0,363,364,3,136,68,0,364,365,5,61, + 0,0,365,366,3,138,69,0,366,367,5,110,0,0,367,368,3,120,60,0,368, + 372,5,114,0,0,369,371,3,40,20,0,370,369,1,0,0,0,371,374,1,0,0,0, + 372,370,1,0,0,0,372,373,1,0,0,0,373,375,1,0,0,0,374,372,1,0,0,0, + 375,376,5,115,0,0,376,39,1,0,0,0,377,378,5,68,0,0,378,379,5,61,0, + 0,379,380,3,138,69,0,380,381,5,111,0,0,381,397,1,0,0,0,382,383,5, + 69,0,0,383,384,5,61,0,0,384,385,3,138,69,0,385,386,5,111,0,0,386, + 397,1,0,0,0,387,388,5,70,0,0,388,389,5,71,0,0,389,390,5,61,0,0,390, + 391,3,138,69,0,391,392,5,72,0,0,392,393,5,61,0,0,393,394,3,138,69, + 0,394,395,5,111,0,0,395,397,1,0,0,0,396,377,1,0,0,0,396,382,1,0, + 0,0,396,387,1,0,0,0,397,41,1,0,0,0,398,400,3,44,22,0,399,398,1,0, + 0,0,399,400,1,0,0,0,400,401,1,0,0,0,401,402,5,27,0,0,402,403,3,136, + 68,0,403,404,5,61,0,0,404,405,3,138,69,0,405,406,5,110,0,0,406,407, + 3,126,63,0,407,409,3,48,24,0,408,410,5,89,0,0,409,408,1,0,0,0,409, + 410,1,0,0,0,410,413,1,0,0,0,411,412,5,59,0,0,412,414,3,138,69,0, + 413,411,1,0,0,0,413,414,1,0,0,0,414,415,1,0,0,0,415,419,5,114,0, + 0,416,418,3,46,23,0,417,416,1,0,0,0,418,421,1,0,0,0,419,417,1,0, + 0,0,419,420,1,0,0,0,420,422,1,0,0,0,421,419,1,0,0,0,422,423,5,115, + 0,0,423,43,1,0,0,0,424,426,5,11,0,0,425,427,5,12,0,0,426,425,1,0, + 0,0,426,427,1,0,0,0,427,45,1,0,0,0,428,429,5,75,0,0,429,430,5,61, + 0,0,430,431,3,138,69,0,431,432,5,111,0,0,432,453,1,0,0,0,433,434, + 5,76,0,0,434,435,5,61,0,0,435,436,3,138,69,0,436,437,5,111,0,0,437, + 453,1,0,0,0,438,439,5,77,0,0,439,440,5,61,0,0,440,441,3,138,69,0, + 441,442,5,111,0,0,442,453,1,0,0,0,443,444,5,70,0,0,444,445,5,71, + 0,0,445,446,5,61,0,0,446,447,3,138,69,0,447,448,5,72,0,0,448,449, + 5,61,0,0,449,450,3,138,69,0,450,451,5,111,0,0,451,453,1,0,0,0,452, + 428,1,0,0,0,452,433,1,0,0,0,452,438,1,0,0,0,452,443,1,0,0,0,453, + 47,1,0,0,0,454,455,5,22,0,0,455,464,3,136,68,0,456,457,5,23,0,0, + 457,459,3,136,68,0,458,460,3,28,14,0,459,458,1,0,0,0,459,460,1,0, + 0,0,460,464,1,0,0,0,461,462,5,15,0,0,462,464,3,136,68,0,463,454, + 1,0,0,0,463,456,1,0,0,0,463,461,1,0,0,0,464,49,1,0,0,0,465,467,3, + 16,8,0,466,465,1,0,0,0,467,470,1,0,0,0,468,466,1,0,0,0,468,469,1, + 0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,25,0,0,472,473,3, + 136,68,0,473,474,5,61,0,0,474,475,3,138,69,0,475,476,5,55,0,0,476, + 479,3,138,69,0,477,478,5,56,0,0,478,480,5,124,0,0,479,477,1,0,0, + 0,479,480,1,0,0,0,480,481,1,0,0,0,481,485,5,114,0,0,482,484,3,52, + 26,0,483,482,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,115,0,0,489,51,1,0, + 0,0,490,496,3,60,30,0,491,496,3,62,31,0,492,496,3,64,32,0,493,496, + 3,54,27,0,494,496,3,56,28,0,495,490,1,0,0,0,495,491,1,0,0,0,495, + 492,1,0,0,0,495,493,1,0,0,0,495,494,1,0,0,0,496,53,1,0,0,0,497,498, + 5,2,0,0,498,500,3,136,68,0,499,501,3,22,11,0,500,499,1,0,0,0,500, + 501,1,0,0,0,501,502,1,0,0,0,502,503,5,61,0,0,503,504,3,138,69,0, + 504,505,5,4,0,0,505,506,3,26,13,0,506,507,5,5,0,0,507,508,3,138, + 69,0,508,509,5,28,0,0,509,510,3,138,69,0,510,514,5,114,0,0,511,513, + 3,58,29,0,512,511,1,0,0,0,513,516,1,0,0,0,514,512,1,0,0,0,514,515, + 1,0,0,0,515,517,1,0,0,0,516,514,1,0,0,0,517,518,5,115,0,0,518,55, + 1,0,0,0,519,520,5,2,0,0,520,521,3,136,68,0,521,522,5,61,0,0,522, + 523,3,138,69,0,523,524,5,3,0,0,524,525,3,136,68,0,525,526,3,28,14, + 0,526,527,5,111,0,0,527,57,1,0,0,0,528,529,5,6,0,0,529,530,3,138, + 69,0,530,531,5,111,0,0,531,562,1,0,0,0,532,534,5,7,0,0,533,535,5, + 15,0,0,534,533,1,0,0,0,534,535,1,0,0,0,535,536,1,0,0,0,536,537,3, + 136,68,0,537,538,5,34,0,0,538,539,3,26,13,0,539,540,5,111,0,0,540, + 562,1,0,0,0,541,542,5,8,0,0,542,543,3,136,68,0,543,544,5,124,0,0, + 544,545,5,111,0,0,545,562,1,0,0,0,546,547,5,9,0,0,547,548,3,26,13, + 0,548,549,5,113,0,0,549,550,3,136,68,0,550,551,3,136,68,0,551,552, + 3,138,69,0,552,553,5,111,0,0,553,562,1,0,0,0,554,555,5,70,0,0,555, + 562,5,111,0,0,556,557,5,10,0,0,557,558,5,124,0,0,558,559,3,138,69, + 0,559,560,5,111,0,0,560,562,1,0,0,0,561,528,1,0,0,0,561,532,1,0, + 0,0,561,541,1,0,0,0,561,546,1,0,0,0,561,554,1,0,0,0,561,556,1,0, + 0,0,562,59,1,0,0,0,563,564,5,28,0,0,564,566,3,136,68,0,565,567,3, + 22,11,0,566,565,1,0,0,0,566,567,1,0,0,0,567,568,1,0,0,0,568,569, + 5,61,0,0,569,570,3,138,69,0,570,571,5,110,0,0,571,572,3,120,60,0, + 572,573,5,109,0,0,573,574,3,120,60,0,574,575,5,63,0,0,575,577,3, + 68,34,0,576,578,3,66,33,0,577,576,1,0,0,0,577,578,1,0,0,0,578,579, + 1,0,0,0,579,580,5,65,0,0,580,582,3,70,35,0,581,583,3,74,37,0,582, + 581,1,0,0,0,582,583,1,0,0,0,583,584,1,0,0,0,584,585,5,111,0,0,585, + 61,1,0,0,0,586,587,5,29,0,0,587,589,3,136,68,0,588,590,3,22,11,0, + 589,588,1,0,0,0,589,590,1,0,0,0,590,591,1,0,0,0,591,592,5,61,0,0, + 592,593,3,138,69,0,593,594,5,110,0,0,594,595,3,120,60,0,595,596, + 5,109,0,0,596,598,3,120,60,0,597,599,3,74,37,0,598,597,1,0,0,0,598, + 599,1,0,0,0,599,600,1,0,0,0,600,601,5,111,0,0,601,63,1,0,0,0,602, + 603,5,30,0,0,603,604,3,136,68,0,604,605,5,61,0,0,605,606,3,138,69, + 0,606,607,5,31,0,0,607,608,3,136,68,0,608,609,5,110,0,0,609,611, + 3,120,60,0,610,612,3,74,37,0,611,610,1,0,0,0,611,612,1,0,0,0,612, + 613,1,0,0,0,613,614,5,111,0,0,614,65,1,0,0,0,615,616,5,64,0,0,616, + 617,3,120,60,0,617,67,1,0,0,0,618,619,7,0,0,0,619,69,1,0,0,0,620, + 639,5,67,0,0,621,622,5,22,0,0,622,639,3,136,68,0,623,624,5,15,0, + 0,624,639,3,136,68,0,625,626,5,24,0,0,626,635,5,116,0,0,627,632, + 3,26,13,0,628,629,5,112,0,0,629,631,3,26,13,0,630,628,1,0,0,0,631, + 634,1,0,0,0,632,630,1,0,0,0,632,633,1,0,0,0,633,636,1,0,0,0,634, + 632,1,0,0,0,635,627,1,0,0,0,635,636,1,0,0,0,636,637,1,0,0,0,637, + 639,5,117,0,0,638,620,1,0,0,0,638,621,1,0,0,0,638,623,1,0,0,0,638, + 625,1,0,0,0,639,71,1,0,0,0,640,645,3,136,68,0,641,642,5,112,0,0, + 642,644,3,136,68,0,643,641,1,0,0,0,644,647,1,0,0,0,645,643,1,0,0, + 0,645,646,1,0,0,0,646,73,1,0,0,0,647,645,1,0,0,0,648,649,5,66,0, + 0,649,653,5,114,0,0,650,652,3,76,38,0,651,650,1,0,0,0,652,655,1, + 0,0,0,653,651,1,0,0,0,653,654,1,0,0,0,654,656,1,0,0,0,655,653,1, + 0,0,0,656,657,5,115,0,0,657,75,1,0,0,0,658,659,5,40,0,0,659,660, + 3,136,68,0,660,661,5,61,0,0,661,662,3,138,69,0,662,663,5,110,0,0, + 663,664,3,120,60,0,664,665,3,78,39,0,665,666,5,111,0,0,666,711,1, + 0,0,0,667,668,5,41,0,0,668,669,3,136,68,0,669,670,5,61,0,0,670,671, + 3,138,69,0,671,672,5,110,0,0,672,673,3,126,63,0,673,674,3,48,24, + 0,674,675,3,78,39,0,675,676,5,111,0,0,676,711,1,0,0,0,677,678,5, + 23,0,0,678,679,3,136,68,0,679,680,5,61,0,0,680,681,3,138,69,0,681, + 682,5,110,0,0,682,684,3,136,68,0,683,685,3,28,14,0,684,683,1,0,0, + 0,684,685,1,0,0,0,685,686,1,0,0,0,686,687,5,111,0,0,687,711,1,0, + 0,0,688,689,5,30,0,0,689,690,3,136,68,0,690,691,5,61,0,0,691,692, + 3,138,69,0,692,693,5,110,0,0,693,696,3,136,68,0,694,695,5,32,0,0, + 695,697,3,120,60,0,696,694,1,0,0,0,696,697,1,0,0,0,697,698,1,0,0, + 0,698,699,5,111,0,0,699,711,1,0,0,0,700,701,5,2,0,0,701,702,3,136, + 68,0,702,703,5,61,0,0,703,704,3,138,69,0,704,705,5,110,0,0,705,706, + 3,136,68,0,706,707,5,113,0,0,707,708,3,136,68,0,708,709,5,111,0, + 0,709,711,1,0,0,0,710,658,1,0,0,0,710,667,1,0,0,0,710,677,1,0,0, + 0,710,688,1,0,0,0,710,700,1,0,0,0,711,77,1,0,0,0,712,713,5,116,0, + 0,713,718,3,80,40,0,714,715,5,112,0,0,715,717,3,80,40,0,716,714, + 1,0,0,0,717,720,1,0,0,0,718,716,1,0,0,0,718,719,1,0,0,0,719,721, + 1,0,0,0,720,718,1,0,0,0,721,722,5,117,0,0,722,79,1,0,0,0,723,724, + 7,1,0,0,724,81,1,0,0,0,725,726,5,39,0,0,726,727,3,84,42,0,727,83, + 1,0,0,0,728,731,3,86,43,0,729,731,3,90,45,0,730,728,1,0,0,0,730, + 729,1,0,0,0,731,85,1,0,0,0,732,733,5,40,0,0,733,734,3,136,68,0,734, + 735,5,61,0,0,735,736,3,138,69,0,736,737,5,49,0,0,737,738,3,136,68, + 0,738,739,5,110,0,0,739,740,3,120,60,0,740,741,5,50,0,0,741,744, + 3,88,44,0,742,743,5,51,0,0,743,745,3,128,64,0,744,742,1,0,0,0,744, + 745,1,0,0,0,745,746,1,0,0,0,746,747,5,111,0,0,747,87,1,0,0,0,748, + 755,5,83,0,0,749,750,5,84,0,0,750,751,5,118,0,0,751,752,3,120,60, + 0,752,753,5,119,0,0,753,755,1,0,0,0,754,748,1,0,0,0,754,749,1,0, + 0,0,755,89,1,0,0,0,756,757,5,41,0,0,757,758,3,136,68,0,758,759,5, + 61,0,0,759,760,3,138,69,0,760,761,5,114,0,0,761,762,3,92,46,0,762, + 763,3,92,46,0,763,764,5,115,0,0,764,91,1,0,0,0,765,766,3,48,24,0, + 766,767,5,42,0,0,767,768,3,136,68,0,768,769,5,61,0,0,769,770,3,138, + 69,0,770,772,3,126,63,0,771,773,5,89,0,0,772,771,1,0,0,0,772,773, + 1,0,0,0,773,776,1,0,0,0,774,775,5,57,0,0,775,777,3,138,69,0,776, + 774,1,0,0,0,776,777,1,0,0,0,777,779,1,0,0,0,778,780,5,58,0,0,779, + 778,1,0,0,0,779,780,1,0,0,0,780,783,1,0,0,0,781,782,5,59,0,0,782, + 784,3,138,69,0,783,781,1,0,0,0,783,784,1,0,0,0,784,786,1,0,0,0,785, + 787,5,60,0,0,786,785,1,0,0,0,786,787,1,0,0,0,787,788,1,0,0,0,788, + 789,5,111,0,0,789,93,1,0,0,0,790,791,5,33,0,0,791,792,3,136,68,0, + 792,793,5,34,0,0,793,795,3,136,68,0,794,796,3,28,14,0,795,794,1, + 0,0,0,795,796,1,0,0,0,796,799,1,0,0,0,797,798,5,61,0,0,798,800,3, + 138,69,0,799,797,1,0,0,0,799,800,1,0,0,0,800,803,1,0,0,0,801,802, + 5,56,0,0,802,804,5,124,0,0,803,801,1,0,0,0,803,804,1,0,0,0,804,805, + 1,0,0,0,805,809,5,114,0,0,806,808,3,96,48,0,807,806,1,0,0,0,808, + 811,1,0,0,0,809,807,1,0,0,0,809,810,1,0,0,0,810,812,1,0,0,0,811, + 809,1,0,0,0,812,813,5,115,0,0,813,95,1,0,0,0,814,815,5,38,0,0,815, + 820,3,84,42,0,816,820,3,102,51,0,817,820,3,98,49,0,818,820,3,100, + 50,0,819,814,1,0,0,0,819,816,1,0,0,0,819,817,1,0,0,0,819,818,1,0, + 0,0,820,97,1,0,0,0,821,822,5,35,0,0,822,823,3,136,68,0,823,824,5, + 37,0,0,824,825,5,40,0,0,825,826,3,136,68,0,826,827,5,111,0,0,827, + 99,1,0,0,0,828,829,5,46,0,0,829,830,3,136,68,0,830,831,5,47,0,0, + 831,832,5,48,0,0,832,833,5,44,0,0,833,834,5,30,0,0,834,835,3,136, + 68,0,835,836,5,45,0,0,836,837,5,41,0,0,837,838,3,136,68,0,838,839, + 5,113,0,0,839,840,3,136,68,0,840,841,5,111,0,0,841,101,1,0,0,0,842, + 843,5,35,0,0,843,844,3,104,52,0,844,845,5,37,0,0,845,848,3,108,54, + 0,846,847,5,13,0,0,847,849,3,138,69,0,848,846,1,0,0,0,848,849,1, + 0,0,0,849,850,1,0,0,0,850,851,5,111,0,0,851,103,1,0,0,0,852,853, + 3,136,68,0,853,854,5,113,0,0,854,855,3,106,53,0,855,105,1,0,0,0, + 856,868,3,136,68,0,857,868,5,78,0,0,858,868,5,68,0,0,859,868,5,69, + 0,0,860,868,5,75,0,0,861,868,5,76,0,0,862,868,5,77,0,0,863,868,5, + 79,0,0,864,868,5,80,0,0,865,868,5,81,0,0,866,868,5,82,0,0,867,856, + 1,0,0,0,867,857,1,0,0,0,867,858,1,0,0,0,867,859,1,0,0,0,867,860, + 1,0,0,0,867,861,1,0,0,0,867,862,1,0,0,0,867,863,1,0,0,0,867,864, + 1,0,0,0,867,865,1,0,0,0,867,866,1,0,0,0,868,107,1,0,0,0,869,870, + 5,40,0,0,870,871,3,136,68,0,871,872,5,113,0,0,872,873,3,110,55,0, + 873,892,1,0,0,0,874,875,5,41,0,0,875,876,3,136,68,0,876,877,5,113, + 0,0,877,878,3,136,68,0,878,879,5,113,0,0,879,880,3,112,56,0,880, + 892,1,0,0,0,881,882,5,25,0,0,882,883,3,136,68,0,883,884,5,113,0, + 0,884,886,3,136,68,0,885,887,3,28,14,0,886,885,1,0,0,0,886,887,1, + 0,0,0,887,889,1,0,0,0,888,890,3,114,57,0,889,888,1,0,0,0,889,890, + 1,0,0,0,890,892,1,0,0,0,891,869,1,0,0,0,891,874,1,0,0,0,891,881, + 1,0,0,0,892,109,1,0,0,0,893,894,7,2,0,0,894,111,1,0,0,0,895,896, + 7,3,0,0,896,113,1,0,0,0,897,898,5,43,0,0,898,902,5,114,0,0,899,901, + 3,116,58,0,900,899,1,0,0,0,901,904,1,0,0,0,902,900,1,0,0,0,902,903, + 1,0,0,0,903,905,1,0,0,0,904,902,1,0,0,0,905,906,5,115,0,0,906,115, + 1,0,0,0,907,908,3,136,68,0,908,909,5,37,0,0,909,910,5,40,0,0,910, + 917,3,136,68,0,911,912,5,45,0,0,912,913,5,41,0,0,913,914,3,136,68, + 0,914,915,5,113,0,0,915,916,3,136,68,0,916,918,1,0,0,0,917,911,1, + 0,0,0,917,918,1,0,0,0,918,919,1,0,0,0,919,920,5,111,0,0,920,977, + 1,0,0,0,921,922,3,136,68,0,922,923,5,37,0,0,923,924,5,41,0,0,924, + 925,3,136,68,0,925,926,5,113,0,0,926,933,3,136,68,0,927,928,5,45, + 0,0,928,929,5,41,0,0,929,930,3,136,68,0,930,931,5,113,0,0,931,932, + 3,136,68,0,932,934,1,0,0,0,933,927,1,0,0,0,933,934,1,0,0,0,934,935, + 1,0,0,0,935,936,5,111,0,0,936,977,1,0,0,0,937,938,3,136,68,0,938, + 939,5,37,0,0,939,940,5,23,0,0,940,942,3,136,68,0,941,943,3,28,14, + 0,942,941,1,0,0,0,942,943,1,0,0,0,943,950,1,0,0,0,944,945,5,45,0, + 0,945,946,5,41,0,0,946,947,3,136,68,0,947,948,5,113,0,0,948,949, + 3,136,68,0,949,951,1,0,0,0,950,944,1,0,0,0,950,951,1,0,0,0,951,952, + 1,0,0,0,952,953,5,111,0,0,953,977,1,0,0,0,954,955,3,136,68,0,955, + 956,5,37,0,0,956,957,5,30,0,0,957,958,3,136,68,0,958,959,5,111,0, + 0,959,977,1,0,0,0,960,961,3,136,68,0,961,962,5,37,0,0,962,963,5, + 2,0,0,963,964,3,136,68,0,964,965,5,113,0,0,965,972,3,136,68,0,966, + 967,5,45,0,0,967,968,5,41,0,0,968,969,3,136,68,0,969,970,5,113,0, + 0,970,971,3,136,68,0,971,973,1,0,0,0,972,966,1,0,0,0,972,973,1,0, + 0,0,973,974,1,0,0,0,974,975,5,111,0,0,975,977,1,0,0,0,976,907,1, + 0,0,0,976,921,1,0,0,0,976,937,1,0,0,0,976,954,1,0,0,0,976,960,1, + 0,0,0,977,117,1,0,0,0,978,979,5,30,0,0,979,980,3,136,68,0,980,981, + 5,37,0,0,981,982,3,136,68,0,982,983,5,113,0,0,983,985,3,136,68,0, + 984,986,3,114,57,0,985,984,1,0,0,0,985,986,1,0,0,0,986,987,1,0,0, + 0,987,988,5,111,0,0,988,119,1,0,0,0,989,1036,3,124,62,0,990,1036, + 5,90,0,0,991,1036,5,91,0,0,992,993,5,92,0,0,993,1036,3,138,69,0, + 994,995,5,93,0,0,995,996,5,120,0,0,996,997,3,136,68,0,997,998,5, + 121,0,0,998,1036,1,0,0,0,999,1000,5,94,0,0,1000,1001,5,120,0,0,1001, + 1003,3,136,68,0,1002,1004,3,28,14,0,1003,1002,1,0,0,0,1003,1004, + 1,0,0,0,1004,1005,1,0,0,0,1005,1006,5,121,0,0,1006,1036,1,0,0,0, + 1007,1008,5,18,0,0,1008,1009,5,120,0,0,1009,1010,3,136,68,0,1010, + 1011,5,121,0,0,1011,1036,1,0,0,0,1012,1013,5,95,0,0,1013,1014,5, + 120,0,0,1014,1015,3,120,60,0,1015,1016,5,121,0,0,1016,1036,1,0,0, + 0,1017,1018,5,96,0,0,1018,1019,5,120,0,0,1019,1020,3,120,60,0,1020, + 1021,5,121,0,0,1021,1036,1,0,0,0,1022,1023,5,97,0,0,1023,1027,5, + 114,0,0,1024,1026,3,122,61,0,1025,1024,1,0,0,0,1026,1029,1,0,0,0, + 1027,1025,1,0,0,0,1027,1028,1,0,0,0,1028,1030,1,0,0,0,1029,1027, + 1,0,0,0,1030,1036,5,115,0,0,1031,1033,3,136,68,0,1032,1034,3,28, + 14,0,1033,1032,1,0,0,0,1033,1034,1,0,0,0,1034,1036,1,0,0,0,1035, + 989,1,0,0,0,1035,990,1,0,0,0,1035,991,1,0,0,0,1035,992,1,0,0,0,1035, + 994,1,0,0,0,1035,999,1,0,0,0,1035,1007,1,0,0,0,1035,1012,1,0,0,0, + 1035,1017,1,0,0,0,1035,1022,1,0,0,0,1035,1031,1,0,0,0,1036,121,1, + 0,0,0,1037,1038,3,136,68,0,1038,1039,5,110,0,0,1039,1040,3,120,60, + 0,1040,1041,5,111,0,0,1041,123,1,0,0,0,1042,1043,7,4,0,0,1043,125, + 1,0,0,0,1044,1045,7,5,0,0,1045,127,1,0,0,0,1046,1055,3,138,69,0, + 1047,1055,5,124,0,0,1048,1055,5,125,0,0,1049,1055,5,106,0,0,1050, + 1055,5,107,0,0,1051,1055,5,108,0,0,1052,1055,3,130,65,0,1053,1055, + 3,134,67,0,1054,1046,1,0,0,0,1054,1047,1,0,0,0,1054,1048,1,0,0,0, + 1054,1049,1,0,0,0,1054,1050,1,0,0,0,1054,1051,1,0,0,0,1054,1052, + 1,0,0,0,1054,1053,1,0,0,0,1055,129,1,0,0,0,1056,1065,5,114,0,0,1057, + 1062,3,132,66,0,1058,1059,5,112,0,0,1059,1061,3,132,66,0,1060,1058, + 1,0,0,0,1061,1064,1,0,0,0,1062,1060,1,0,0,0,1062,1063,1,0,0,0,1063, + 1066,1,0,0,0,1064,1062,1,0,0,0,1065,1057,1,0,0,0,1065,1066,1,0,0, + 0,1066,1067,1,0,0,0,1067,1068,5,115,0,0,1068,131,1,0,0,0,1069,1070, + 3,138,69,0,1070,1071,5,110,0,0,1071,1072,3,128,64,0,1072,133,1,0, + 0,0,1073,1082,5,116,0,0,1074,1079,3,128,64,0,1075,1076,5,112,0,0, + 1076,1078,3,128,64,0,1077,1075,1,0,0,0,1078,1081,1,0,0,0,1079,1077, + 1,0,0,0,1079,1080,1,0,0,0,1080,1083,1,0,0,0,1081,1079,1,0,0,0,1082, + 1074,1,0,0,0,1082,1083,1,0,0,0,1083,1084,1,0,0,0,1084,1085,5,117, + 0,0,1085,135,1,0,0,0,1086,1087,7,6,0,0,1087,137,1,0,0,0,1088,1089, + 5,127,0,0,1089,139,1,0,0,0,92,152,159,180,192,204,224,232,239,245, + 257,260,266,277,286,296,299,301,305,313,325,330,339,342,360,372, + 396,399,409,413,419,426,452,459,463,468,479,485,495,500,514,534, + 561,566,577,582,589,598,611,632,635,638,645,653,684,696,710,718, + 730,744,754,772,776,779,783,786,795,799,803,809,819,848,867,886, + 889,891,902,917,933,942,950,972,976,985,1003,1027,1033,1035,1054, + 1062,1065,1079,1082 ]; private static __ATN: antlr.ATN; @@ -5514,8 +5676,14 @@ export class RelationshipMemberContext extends antlr.ParserRuleContext { public ID(): antlr.TerminalNode { return this.getToken(QuixosCapabilityParser.ID, 0)!; } - public stringLiteral(): StringLiteralContext { - return this.getRuleContext(0, StringLiteralContext)!; + public stringLiteral(): StringLiteralContext[]; + public stringLiteral(i: number): StringLiteralContext | null; + public stringLiteral(i?: number): StringLiteralContext[] | StringLiteralContext | null { + if (i === undefined) { + return this.getRuleContexts(StringLiteralContext); + } + + return this.getRuleContext(i, StringLiteralContext); } public COLON(): antlr.TerminalNode { return this.getToken(QuixosCapabilityParser.COLON, 0)!; @@ -5538,6 +5706,9 @@ export class RelationshipMemberContext extends antlr.ParserRuleContext { public ORDERED(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.ORDERED, 0); } + public KEYED(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.KEYED, 0); + } public relationshipOperation(): RelationshipOperationContext[]; public relationshipOperation(i: number): RelationshipOperationContext | null; public relationshipOperation(i?: number): RelationshipOperationContext[] | RelationshipOperationContext | null { @@ -5755,6 +5926,9 @@ export class PackageExportContext extends antlr.ParserRuleContext { public packageQuery(): PackageQueryContext | null { return this.getRuleContext(0, PackageQueryContext); } + public packageQuerySpecialization(): PackageQuerySpecializationContext | null { + return this.getRuleContext(0, PackageQuerySpecializationContext); + } public override get ruleIndex(): number { return QuixosCapabilityParser.RULE_packageExport; } @@ -5808,6 +5982,9 @@ export class PackageQueryContext extends antlr.ParserRuleContext { public RBRACE(): antlr.TerminalNode { return this.getToken(QuixosCapabilityParser.RBRACE, 0)!; } + public typeParameters(): TypeParametersContext | null { + return this.getRuleContext(0, TypeParametersContext); + } public queryClause(): QueryClauseContext[]; public queryClause(i: number): QueryClauseContext | null; public queryClause(i?: number): QueryClauseContext[] | QueryClauseContext | null { @@ -5830,6 +6007,50 @@ export class PackageQueryContext extends antlr.ParserRuleContext { } +export class PackageQuerySpecializationContext extends antlr.ParserRuleContext { + public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { + super(parent, invokingState); + } + public QUERY(): antlr.TerminalNode { + return this.getToken(QuixosCapabilityParser.QUERY, 0)!; + } + public identifier(): IdentifierContext[]; + public identifier(i: number): IdentifierContext | null; + public identifier(i?: number): IdentifierContext[] | IdentifierContext | null { + if (i === undefined) { + return this.getRuleContexts(IdentifierContext); + } + + return this.getRuleContext(i, IdentifierContext); + } + public ID(): antlr.TerminalNode { + return this.getToken(QuixosCapabilityParser.ID, 0)!; + } + public stringLiteral(): StringLiteralContext { + return this.getRuleContext(0, StringLiteralContext)!; + } + public SPECIALIZE(): antlr.TerminalNode { + return this.getToken(QuixosCapabilityParser.SPECIALIZE, 0)!; + } + public typeArguments(): TypeArgumentsContext { + return this.getRuleContext(0, TypeArgumentsContext)!; + } + public SEMI(): antlr.TerminalNode { + return this.getToken(QuixosCapabilityParser.SEMI, 0)!; + } + public override get ruleIndex(): number { + return QuixosCapabilityParser.RULE_packageQuerySpecialization; + } + public override accept(visitor: QuixosCapabilityVisitor): Result | null { + if (visitor.visitPackageQuerySpecialization) { + return visitor.visitPackageQuerySpecialization(this); + } else { + return visitor.visitChildren(this); + } + } +} + + export class QueryClauseContext extends antlr.ParserRuleContext { public constructor(parent: antlr.ParserRuleContext | null, invokingState: number) { super(parent, invokingState); @@ -5861,6 +6082,9 @@ export class QueryClauseContext extends antlr.ParserRuleContext { public interfaceType(): InterfaceTypeContext | null { return this.getRuleContext(0, InterfaceTypeContext); } + public OBJECT(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.OBJECT, 0); + } public MAX(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.MAX, 0); } @@ -6299,6 +6523,12 @@ export class DependencyPortContext extends antlr.ParserRuleContext { public INPUT(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.INPUT, 0); } + public QUERY(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.QUERY, 0); + } + public DOT(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.DOT, 0); + } public override get ruleIndex(): number { return QuixosCapabilityParser.RULE_dependencyPort; } @@ -7134,6 +7364,9 @@ export class DependencyBindingContext extends antlr.ParserRuleContext { public CONSTRUCTOR(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.CONSTRUCTOR, 0); } + public QUERY(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.QUERY, 0); + } public override get ruleIndex(): number { return QuixosCapabilityParser.RULE_dependencyBinding; } @@ -7529,6 +7762,9 @@ export class IdentifierContext extends antlr.ParserRuleContext { public QUERY(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.QUERY, 0); } + public SPECIALIZE(): antlr.TerminalNode | null { + return this.getToken(QuixosCapabilityParser.SPECIALIZE, 0); + } public ROOT(): antlr.TerminalNode | null { return this.getToken(QuixosCapabilityParser.ROOT, 0); } diff --git a/src/capability-language/generated/QuixosCapabilityVisitor.ts b/src/capability-language/generated/QuixosCapabilityVisitor.ts index a65a130..c852287 100644 --- a/src/capability-language/generated/QuixosCapabilityVisitor.ts +++ b/src/capability-language/generated/QuixosCapabilityVisitor.ts @@ -30,6 +30,7 @@ import { TargetConstraintContext } from "./QuixosCapabilityParser.js"; import { PackageResourceDeclContext } from "./QuixosCapabilityParser.js"; import { PackageExportContext } from "./QuixosCapabilityParser.js"; import { PackageQueryContext } from "./QuixosCapabilityParser.js"; +import { PackageQuerySpecializationContext } from "./QuixosCapabilityParser.js"; import { QueryClauseContext } from "./QuixosCapabilityParser.js"; import { PackageOperationExportContext } from "./QuixosCapabilityParser.js"; import { PackageFunctionExportContext } from "./QuixosCapabilityParser.js"; @@ -249,6 +250,12 @@ export class QuixosCapabilityVisitor extends AbstractParseTreeVisitor Result; + /** + * Visit a parse tree produced by `QuixosCapabilityParser.packageQuerySpecialization`. + * @param ctx the parse tree + * @return the visitor result + */ + visitPackageQuerySpecialization?: (ctx: PackageQuerySpecializationContext) => Result; /** * Visit a parse tree produced by `QuixosCapabilityParser.queryClause`. * @param ctx the parse tree diff --git a/src/capability-language/parser.ts b/src/capability-language/parser.ts index 6390482..98f7d25 100644 --- a/src/capability-language/parser.ts +++ b/src/capability-language/parser.ts @@ -46,7 +46,14 @@ import { specializePackageExport, } from "../capability-model/index.js"; import { GenericSourceTypes } from "./generic-types.js"; -import { defaultQueryBudgets, type QueryDeclaration, type QueryBudgets, type QueryUse } from "../query/types.js"; +import { + defaultQueryBudgets, + type QueryDeclaration, + type QueryBudgets, + type QueryUse, + type QueryTemplate, +} from "../query/types.js"; +import { specializeQueryTemplate } from "../query/templates.js"; import { QuixosCapabilityLexer } from "./generated/QuixosCapabilityLexer.js"; import { QuixosCapabilityParser, @@ -177,6 +184,7 @@ interface PackageExportSymbol { } interface PackageSymbol { + queries?: Map; definition?: PackageRevision; revisionId: PackageRevision["revisionId"]; exports: Map; @@ -535,6 +543,7 @@ const lowerRelationshipMember = ( } return { kind: "relationship", + ...(context.KEYED() ? { keyType: stringValue(context.stringLiteral(1)) as "string" | "boolean" | "int64" } : {}), ...(context.queryReadContract() ? { queryRead: { @@ -542,7 +551,7 @@ const lowerRelationshipMember = ( }, } : {}), - id: capabilityId.member(stringValue(context.stringLiteral())), + id: capabilityId.member(stringValue(context.stringLiteral(0))), displayName: identifier(context.identifier()), target, cardinality, @@ -747,6 +756,9 @@ const lowerInterfaceTemplate = ( : { kind: cardinality === "optional-one" ? "optional" : "list", value: targetType }; return { kind: "relationship", + ...(relationship.KEYED() + ? { keyType: stringValue(relationship.stringLiteral(1)) as "string" | "boolean" | "int64" } + : {}), ...(relationship.queryReadContract() ? { queryRead: { @@ -754,7 +766,7 @@ const lowerInterfaceTemplate = ( }, } : {}), - id: capabilityId.member(stringValue(relationship.stringLiteral())), + id: capabilityId.member(stringValue(relationship.stringLiteral(0))), displayName: identifier(relationship.identifier()), target, cardinality, @@ -818,9 +830,34 @@ const lowerInterfaceTemplate = ( }; }; +const lowerQueryReference = ( + state: LoweringState, + packageName: string, + queryName: string, + context: ParserRuleContext, +) => { + const pkg = requireSymbol(state, state.packages, packageName, context, "package"); + const queryId = + pkg?.queries?.get(queryName) ?? pkg?.definition?.queries?.find((query) => query.displayName === queryName)?.id; + if (!pkg || !queryId) { + loweringIssue(state, context, "unknown-query", `Unknown query export ${packageName}.${queryName}`); + return undefined; + } + return { packageRevisionId: pkg.revisionId, queryId }; +}; + const lowerDependencyPort = (state: LoweringState, context: DependencyPortContext): DependencyPort | undefined => { const name = identifier(context.identifier(0)); const id = capabilityId.dependencyPort(stringValue(context.stringLiteral())); + if (context.QUERY()) { + const query = lowerQueryReference( + state, + identifier(context.identifier(1)), + identifier(context.identifier(2)), + context, + ); + return query ? { id, displayName: name, requirement: { kind: "query", ...query } } : undefined; + } if (context.STATE()) { const primitives = context .primitiveList()! @@ -1060,6 +1097,16 @@ const lowerGenericPackageExport = ( .primitiveList() ?.primitive() .map((item) => text(item)) ?? []; + if (port.QUERY()) { + const query = lowerQueryReference(state, identifier(port.identifier(1)), identifier(port.identifier(2)), port); + if (!query) + throw new GenericTypeError( + "unknown-query", + base.displayName, + "Query port requires an existing closed query export", + ); + return { ...base, requirement: { kind: "query", ...query } }; + } if (port.STATE()) return { ...base, @@ -1158,91 +1205,178 @@ const lowerPackage = ( source: SourceRevision, ): PackageRevision => { const alias = identifier(context.identifier()); + state.packages.get(alias)!.queries = new Map( + context.packageExport().flatMap((entry) => { + const query = entry.packageQuery(); + const specialization = entry.packageQuerySpecialization(); + return query && !query.typeParameters() + ? [[identifier(query.identifier()), stringValue(query.stringLiteral(0))] as const] + : specialization + ? [[identifier(specialization.identifier(0)), stringValue(specialization.stringLiteral())] as const] + : []; + }), + ); const genericExports: GenericPackageExport[] = []; const queries: QueryDeclaration[] = []; + const queryTemplates: QueryTemplate[] = []; const exports = context.packageExport().flatMap((exportContext): PackageExport[] => { + if (exportContext.packageQuerySpecialization()) return []; const query = exportContext.packageQuery(); if (query) { - const close = (ctx: import("./generated/QuixosCapabilityParser.js").InterfaceTypeContext) => - new TypeSubstitution(state.types.environment()).application(state.types.interface(ctx)); - const declaration: QueryDeclaration = { - id: stringValue(query.stringLiteral(0)), - displayName: identifier(query.identifier()), - root: close(query.interfaceType()), - document: stringValue(query.stringLiteral(1)), - operation: stringValue(query.stringLiteral(2)), - fragments: [], - views: [], - allowances: [], - budgets: { ...defaultQueryBudgets }, - watch: false, - }; - const budgetNames: Record = { - rows: "rows", - depth: "depth", - "result-bytes": "resultBytes", - candidates: "candidates", - "rpc-calls": "rpcCalls", - concurrency: "concurrency", - "deadline-ms": "deadlineMs", - }; - const assigned = new Set(); - for (const clause of query.queryClause()) { - if (clause.FRAGMENTS()) declaration.fragments.push(stringValue(clause.stringLiteral()!)); - else if (clause.VIEW()) { - const name = identifier(clause.identifier(0)); - const atomId = requireSymbol(state, state.atoms, name, clause, "atom"); - if (atomId) declaration.views.push({ atomId, interfaceRevisionId: close(clause.interfaceType()!) }); - } else if (clause.MAX()) { - const name = identifier(clause.identifier(0)); - const key = budgetNames[name], - n = Number(clause.INTEGER()!.getText()); - if (!key || assigned.has(name) || !Number.isSafeInteger(n) || n < 1 || n > defaultQueryBudgets[key]) - loweringIssue( - state, - clause, - "invalid-query-budget", - `Invalid, duplicate, or excessive query budget ${name}`, + const previousParameters = state.types.parameters; + state.types.parameters = new Map(); + try { + const parameters = state.types.declareParameters( + query.typeParameters(), + `query:${stringValue(query.stringLiteral(0))}`, + ); + const expressions = new Map>(); + const templateViews: QueryTemplate["views"] = []; + const templateAllowances: QueryTemplate["allowances"] = []; + const close = (ctx: import("./generated/QuixosCapabilityParser.js").InterfaceTypeContext) => + parameters.length + ? (() => { + const id = capabilityId.interfaceRevision(`query-expression:${expressions.size}`); + expressions.set(id, state.types.interface(ctx)); + return id; + })() + : new TypeSubstitution(state.types.environment()).application(state.types.interface(ctx)); + const declaration: QueryDeclaration = { + id: stringValue(query.stringLiteral(0)), + displayName: identifier(query.identifier()), + root: close(query.interfaceType()), + document: stringValue(query.stringLiteral(1)), + operation: stringValue(query.stringLiteral(2)), + fragments: [], + views: [], + allowances: [], + budgets: { ...defaultQueryBudgets }, + watch: false, + }; + const budgetNames: Record = { + rows: "rows", + depth: "depth", + "result-bytes": "resultBytes", + candidates: "candidates", + "rpc-calls": "rpcCalls", + concurrency: "concurrency", + "deadline-ms": "deadlineMs", + }; + const assigned = new Set(); + for (const clause of query.queryClause()) { + if (clause.FRAGMENTS()) declaration.fragments.push(stringValue(clause.stringLiteral()!)); + else if (clause.VIEW()) { + const name = identifier(clause.identifier(0)); + if (parameters.length) { + const parameter = state.types.parameters.get(name); + const atomId = state.atoms.get(name); + if (clause.OBJECT() && parameter?.kind === "object") + templateViews.push({ + target: { kind: "parameter", parameterId: parameter.id }, + interface: state.types.interface(clause.interfaceType()!), + }); + else if (!clause.OBJECT() && atomId) + templateViews.push({ + target: { kind: "atom", atomId }, + interface: state.types.interface(clause.interfaceType()!), + }); + else + loweringIssue(state, clause, "invalid-query-view", "Expected declared object parameter or atom view"); + continue; + } + if (clause.OBJECT()) + loweringIssue(state, clause, "invalid-query-view", "Object parameter views require a query template"); + const atomId = requireSymbol(state, state.atoms, name, clause, "atom"); + if (atomId) declaration.views.push({ atomId, interfaceRevisionId: close(clause.interfaceType()!) }); + } else if (clause.MAX()) { + const name = identifier(clause.identifier(0)); + const key = budgetNames[name], + n = Number(clause.INTEGER()!.getText()); + if (!key || assigned.has(name) || !Number.isSafeInteger(n) || n < 1 || n > defaultQueryBudgets[key]) + loweringIssue( + state, + clause, + "invalid-query-budget", + `Invalid, duplicate, or excessive query budget ${name}`, + ); + else { + declaration.budgets[key] = n; + assigned.add(name); + } + } else if (clause.ALLOW()) { + if (parameters.length) { + const use = identifier(clause.identifier(1)); + const reason = stringValue(clause.stringLiteral()!); + if (!["select", "predicate", "order"].includes(use) || !reason.trim()) + loweringIssue( + state, + clause, + "invalid-query-allowance", + "Expected select/predicate/order and a nonempty reason", + ); + templateAllowances.push({ + interface: state.types.interface(clause.interfaceType()!), + memberName: identifier(clause.identifier(0)), + uses: [use as QueryUse], + reason, + }); + continue; + } + const interfaceRevisionId = close(clause.interfaceType()!); + const contract = [...state.types.interfaces.values(), ...state.types.applications.values()].find( + (entry) => entry.revisionId === interfaceRevisionId, ); - else { - declaration.budgets[key] = n; - assigned.add(name); + const member = contract?.members.find((entry) => entry.displayName === identifier(clause.identifier(0))); + const use = identifier(clause.identifier(1)); + const reason = stringValue(clause.stringLiteral()!); + if (!member || !["select", "predicate", "order"].includes(use) || !reason.trim()) + loweringIssue( + state, + clause, + "invalid-query-allowance", + "Query allowances name an exact member, use (select/predicate/order), and nonempty reason", + ); + else + declaration.allowances.push({ + interfaceRevisionId, + memberId: member.id, + uses: [use as QueryUse], + reason, + }); + } else if (clause.WATCH()) declaration.watch = true; + else if (clause.POLL()) { + const intervalMs = Number(clause.INTEGER()!.getText()), + reason = stringValue(clause.stringLiteral()!); + if (declaration.polling || !Number.isSafeInteger(intervalMs) || intervalMs < 1000 || !reason.trim()) + loweringIssue( + state, + clause, + "invalid-query-polling", + "Polling needs one interval of at least 1000ms and a reason", + ); + else declaration.polling = { intervalMs, reason }; } - } else if (clause.ALLOW()) { - const interfaceRevisionId = close(clause.interfaceType()!); - const contract = [...state.types.interfaces.values(), ...state.types.applications.values()].find( - (entry) => entry.revisionId === interfaceRevisionId, - ); - const member = contract?.members.find((entry) => entry.displayName === identifier(clause.identifier(0))); - const use = identifier(clause.identifier(1)); - const reason = stringValue(clause.stringLiteral()!); - if (!member || !["select", "predicate", "order"].includes(use) || !reason.trim()) - loweringIssue( - state, - clause, - "invalid-query-allowance", - "Query allowances name an exact member, use (select/predicate/order), and nonempty reason", - ); - else - declaration.allowances.push({ interfaceRevisionId, memberId: member.id, uses: [use as QueryUse], reason }); - } else if (clause.WATCH()) declaration.watch = true; - else if (clause.POLL()) { - const intervalMs = Number(clause.INTEGER()!.getText()), - reason = stringValue(clause.stringLiteral()!); - if (declaration.polling || !Number.isSafeInteger(intervalMs) || intervalMs < 1000 || !reason.trim()) - loweringIssue( - state, - clause, - "invalid-query-polling", - "Polling needs one interval of at least 1000ms and a reason", - ); - else declaration.polling = { intervalMs, reason }; } + if ( + [...queries, ...queryTemplates.map((entry) => entry.declaration)].some( + (entry) => entry.id === declaration.id || entry.displayName === declaration.displayName, + ) + ) + loweringIssue(state, query, "duplicate-query", "Duplicate query name or ID"); + if (parameters.length) { + const { root, views: _views, allowances: _allowances, ...common } = declaration; + queryTemplates.push({ + declaration: common, + parameters, + root: expressions.get(root)!, + views: templateViews, + allowances: templateAllowances, + }); + } else queries.push(declaration); + return []; + } finally { + state.types.parameters = previousParameters; } - if (queries.some((entry) => entry.id === declaration.id || entry.displayName === declaration.displayName)) - loweringIssue(state, query, "duplicate-query", "Duplicate query name or ID"); - queries.push(declaration); - return []; } const operation = exportContext.packageOperationExport(); const generic = operation ?? exportContext.packageFunctionExport(); @@ -1268,6 +1402,34 @@ const lowerPackage = ( state.types.self = previousSelf; } }); + for (const entry of context.packageExport()) { + const specialized = entry.packageQuerySpecialization(); + if (!specialized) continue; + const templateName = identifier(specialized.identifier(1)); + const template = queryTemplates.find((entry) => entry.declaration.displayName === templateName); + if (!template) { + loweringIssue(state, specialized, "unknown-query-template", `Unknown local query template ${templateName}`); + continue; + } + const substitution = new TypeSubstitution(state.types.environment()); + const arguments_ = state.types + .arguments(specialized.typeArguments()) + .map((argument) => substitution.argument(argument)); + const declaration = specializeQueryTemplate( + template, + arguments_, + state.types.environment(), + () => [...state.types.definitions.values()], + { id: stringValue(specialized.stringLiteral()), displayName: identifier(specialized.identifier(0)) }, + ); + if ( + [...queries, ...queryTemplates.map((entry) => entry.declaration)].some( + (entry) => entry.id === declaration.id || entry.displayName === declaration.displayName, + ) + ) + loweringIssue(state, specialized, "duplicate-query", "Duplicate query name or ID"); + queries.push(declaration); + } return { packageId: capabilityId.package(stringValue(context.stringLiteral(0))), revisionId: state.packages.get(alias)!.revisionId, @@ -1276,6 +1438,10 @@ const lowerPackage = ( source, exports, ...(queries.length ? { queries } : {}), + ...(queryTemplates.length ? { queryTemplates } : {}), + ...(queries.some((query) => query.argumentRequirements?.length) + ? { argumentRequirements: queries.flatMap((query) => query.argumentRequirements ?? []) } + : {}), ...(genericExports.length ? { genericExports } : {}), }; }; @@ -1405,6 +1571,13 @@ const lowerBoundDependencies = ( ); return projectionId ? { edgeTypeId: attachment.attachment.id, projectionId } : undefined; }; + if (entry.QUERY()) { + const query = lowerQueryReference(state, identifier(entry.identifier(1)), identifier(entry.identifier(2)), entry); + const via = entry.VIA() ? traversal(identifier(entry.identifier(3)), identifier(entry.identifier(4))) : undefined; + return query && (!entry.VIA() || via) + ? [{ portId, binding: { kind: "query", ...query, ...(via ? { via } : {}) } }] + : []; + } if (entry.STATE()) { const attachmentName = identifier(entry.identifier(1)); const attachment = requireSymbol(state, state.attachments, attachmentName, entry, "attachment"); diff --git a/src/capability-language/structural-plan.ts b/src/capability-language/structural-plan.ts index e389fcb..f831f1c 100644 --- a/src/capability-language/structural-plan.ts +++ b/src/capability-language/structural-plan.ts @@ -28,7 +28,7 @@ type Change = { file: string; before: string | null; after: string; mode: number type Journal = { schemaVersion: 1; id: string; root: string; phase: "prepared" | "complete"; changes: Change[] }; const safeFile = (file: string) => { if ( - !/^(?:[A-Za-z0-9_-][A-Za-z0-9_.-]*\/)*(?:\.gitignore|\.yarnrc.yml|[A-Za-z0-9_-][A-Za-z0-9_.-]*\.(?:qx|lock|ts|tsx|css|mjs|json|nix|txtpb|md))$/.test( + !/^(?:[A-Za-z0-9_-][A-Za-z0-9_.-]*\/)*(?:\.gitignore|\.yarnrc.yml|[A-Za-z0-9_-][A-Za-z0-9_.-]*\.(?:qx|graphql|lock|ts|tsx|css|mjs|json|nix|txtpb|md))$/.test( file, ) || file.split("/").some((part) => [".git", ".jj", ".quixos", "node_modules"].includes(part)) diff --git a/src/capability-model/evolution.ts b/src/capability-model/evolution.ts index e9b1747..f276208 100644 --- a/src/capability-model/evolution.ts +++ b/src/capability-model/evolution.ts @@ -132,6 +132,21 @@ export const runtimeContracts = (workspace: WorkspaceRevision): RuntimeContract[ })), }); const dependency = (parent: GraphNode, binding: DependencyBinding, atomId: string, reviews?: Set) => { + if (binding.kind === "query") { + const pkg = workspace.packageImports.find((pkg) => pkg.revisionId === binding.packageRevisionId); + const query = pkg?.checkedQueries?.find((query) => query.declaration.id === binding.queryId); + if (!query) throw new Error(`Missing checked query contract ${binding.packageRevisionId}:${binding.queryId}`); + const key = `query:${binding.packageRevisionId}:${binding.queryId}`; + const queryNode = nodes.get(key) ?? node(key, query); + parent.dependencies.add(key); + for (const effect of query.effects) { + queryNode.dependencies.add(`interface:${effect.interfaceRevisionId}`); + for (const conformance of workspace.conformances.filter( + (entry) => entry.interfaceRevisionId === effect.interfaceRevisionId, + )) + queryNode.dependencies.add(conformanceKey(conformance.atomId, conformance.interfaceRevisionId)); + } + } if (binding.kind === "state") parent.dependencies.add(`attachment:${binding.slotId}`); if (binding.kind === "edge") parent.dependencies.add(`attachment:${binding.edgeTypeId}`); if (binding.kind === "constructor") { diff --git a/src/capability-model/generic-packages.ts b/src/capability-model/generic-packages.ts index 5bcb0fc..19faca4 100644 --- a/src/capability-model/generic-packages.ts +++ b/src/capability-model/generic-packages.ts @@ -22,6 +22,7 @@ import { export type GenericDependencyPort = Omit & { requirement: + | Extract | { kind: "state"; valueType: ValueTypeExpression; @@ -79,6 +80,8 @@ export const specializePackageExport = ( const ports: DependencyPort[] = definition.dependencyPorts.map((port) => { const requirement = port.requirement; switch (requirement.kind) { + case "query": + return { ...port, requirement }; case "state": return { ...port, requirement: { ...requirement, valueType: substitution.value(requirement.valueType) } }; case "edge": diff --git a/src/capability-model/generics.ts b/src/capability-model/generics.ts index bc2ba0f..9955463 100644 --- a/src/capability-model/generics.ts +++ b/src/capability-model/generics.ts @@ -101,6 +101,7 @@ export const instantiateInterface = ( target: substitution.object(member.target, member.displayName), cardinality: member.cardinality, ordered: member.ordered, + ...(member.keyType ? { keyType: member.keyType } : {}), }; case "operation": return { diff --git a/src/capability-model/types.ts b/src/capability-model/types.ts index ff6c6f1..be7c336 100644 --- a/src/capability-model/types.ts +++ b/src/capability-model/types.ts @@ -148,6 +148,7 @@ export interface RelationshipInterfaceMember< target: Target; cardinality: EdgeCardinality; ordered: boolean; + keyType?: "string" | "boolean" | "int64"; } /** A named callable capability that is not value or relationship sugar. */ @@ -222,6 +223,7 @@ export type PackageReceiverRequirement = }; export type DependencyPortRequirement = + | { kind: "query"; packageRevisionId: PackageRevisionId; queryId: string } | { kind: "state"; valueType: ValueType; @@ -276,6 +278,7 @@ export type PackageExport = PackageOperationExport | PackageFunctionExport | Pac export interface PackageRevision { queries?: import("../query/types.js").QueryDeclaration[]; checkedQueries?: import("../query/types.js").CheckedQuery[]; + queryTemplates?: import("../query/types.js").QueryTemplate[]; genericExports?: import("./generic-packages.js").GenericPackageExport[]; argumentRequirements?: { target: ObjectExpectation; required: InterfaceRevisionId }[]; migrationCatalog?: import("./migrations.js").MigrationCatalog; @@ -289,6 +292,7 @@ export interface PackageRevision { } export type DependencyBinding = + | { kind: "query"; packageRevisionId: PackageRevisionId; queryId: string; via?: EdgeTraversal } | { kind: "state"; slotId: SlotId; via?: EdgeTraversal } | { kind: "edge"; diff --git a/src/capability-model/validation.ts b/src/capability-model/validation.ts index 6377d35..979311e 100644 --- a/src/capability-model/validation.ts +++ b/src/capability-model/validation.ts @@ -504,6 +504,18 @@ const collectIdentityIndexes = ( const operations = new Map(); for (const [memberIndex, member] of revision.members.entries()) { const memberPath = `${path}.members[${memberIndex}]`; + if ( + member.kind === "relationship" && + member.keyType !== undefined && + (!["string", "boolean", "int64"].includes(member.keyType) || + !["many", "many-unique"].includes(member.cardinality)) + ) + issue( + issues, + "invalid-query-contract", + memberPath, + "Keyed relationships require many cardinality and string, boolean or int64 keys", + ); if (member.kind !== "operation" && member.queryRead) { const contract = member.queryRead.execution; const getter = member.kind === "value" ? "get" : "resolve"; @@ -984,6 +996,21 @@ const validatePackages = ( for (const [portIndex, port] of entry.dependencyPorts.entries()) { const portPath = `${exportPath}.dependencyPorts[${portIndex}]`; switch (port.requirement.kind) { + case "query": + if ( + !indexes.packages + .get(port.requirement.packageRevisionId) + ?.revision.queries?.some( + (query) => port.requirement.kind === "query" && query.id === port.requirement.queryId, + ) + ) + issue( + issues, + "unresolved-reference", + portPath, + `Unknown query ${port.requirement.packageRevisionId}:${port.requirement.queryId}`, + ); + break; case "state": validateValueType(issues, port.requirement.valueType, `${portPath}.requirement.valueType`, indexes); uniquePrimitiveList(issues, port.requirement.primitives, `${portPath}.requirement.primitives`); @@ -1133,6 +1160,41 @@ const validateBoundDependencies = ( continue; } switch (requirement.kind) { + case "query": { + const selected = binding as Extract; + const query = params.indexes.packages + .get(requirement.packageRevisionId) + ?.revision.queries?.find((query) => query.id === requirement.queryId); + if ( + !query || + selected.queryId !== requirement.queryId || + selected.packageRevisionId !== requirement.packageRevisionId + ) { + issue(issues, "invalid-dependency-binding", path, "Query port must bind its exact checked query export"); + break; + } + const traversal = selected.via + ? validateTraversal( + issues, + params.indexes, + params.atomId, + selected.via, + `${path}.binding.via`, + params.conformance, + ) + : undefined; + const targets = selected.via + ? traversal + ? [...params.indexes.atoms.keys()].filter((atom) => + atomSatisfiesConstraint(atom as AtomId, traversal.target.constraint, params.indexes.conformances), + ) + : [] + : [params.atomId]; + for (const atom of targets) + if (!params.indexes.conformances.has(conformanceKey(atom as AtomId, query.root))) + issue(issues, "unsatisfied-interface", path, `Query root ${atom} does not conform to ${query.root}`); + break; + } case "state": { const stateBinding = binding as Extract; const attachment = findAttachment(params.indexes, "state", stateBinding.slotId); @@ -1583,7 +1645,8 @@ const validateConformances = ( operationEntry.member.target, indexes.conformances, ) || - operationEntry.member.cardinality !== projection.endpoint.cardinality + operationEntry.member.cardinality !== projection.endpoint.cardinality || + (operationEntry.member.keyType !== undefined && operationEntry.member.keyType !== projection.endpoint.keyType) ) { issue( issues, @@ -2091,6 +2154,21 @@ export const computeCapabilityClosure = ( const includeDependencies = (atomId: AtomId, dependencies: readonly BoundDependency[]) => { for (const dependency of dependencies) { switch (dependency.binding.kind) { + case "query": { + packages.add(dependency.binding.packageRevisionId); + const query = plan.packages + .get(dependency.binding.packageRevisionId) + ?.checkedQueries?.find( + (query) => dependency.binding.kind === "query" && query.declaration.id === dependency.binding.queryId, + ); + if (dependency.binding.via) attachments.add(dependency.binding.via.edgeTypeId); + for (const effect of query?.effects ?? []) { + for (const conformance of sourceConformances.values()) + if (conformance.interfaceRevisionId === effect.interfaceRevisionId) + queued.push({ atomId: conformance.atomId, interfaceRevisionId: conformance.interfaceRevisionId }); + } + break; + } case "state": attachments.add(dependency.binding.slotId); if (dependency.binding.via) { diff --git a/src/gen/camino/api_pb.ts b/src/gen/camino/api_pb.ts index a8fe5e1..7511178 100644 --- a/src/gen/camino/api_pb.ts +++ b/src/gen/camino/api_pb.ts @@ -4,7 +4,7 @@ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { PersistencePlan } from "./schema_pb.js"; +import type { PersistencePlan, QuerySelection } from "./schema_pb.js"; import { file_camino_schema } from "./schema_pb.js"; import type { Message } from "@bufbuild/protobuf"; @@ -12,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file camino/api.proto. */ export const file_camino_api: GenFile = /*@__PURE__*/ - fileDesc("ChBjYW1pbm8vYXBpLnByb3RvEgZjYW1pbm8iCwoJTnVsbFZhbHVlInwKC09iamVjdFZhbHVlEi8KBmZpZWxkcxgBIAMoCzIfLmNhbWluby5PYmplY3RWYWx1ZS5GaWVsZHNFbnRyeRo8CgtGaWVsZHNFbnRyeRILCgNrZXkYASABKAkSHAoFdmFsdWUYAiABKAsyDS5jYW1pbm8uVmFsdWU6AjgBIioKCUxpc3RWYWx1ZRIdCgZ2YWx1ZXMYASADKAsyDS5jYW1pbm8uVmFsdWUiHQoIUmVmVmFsdWUSEQoJb2JqZWN0X2lkGAEgASgJIjwKCUNyZHRWYWx1ZRIMCgR0eXBlGAEgASgJEhAKCGVuY29kaW5nGAIgASgJEg8KB3BheWxvYWQYAyABKAwiqAEKEFN0YXRlVmFsdWVTb3VyY2USEQoJb2JqZWN0X2lkGAEgASgJEg8KB3Nsb3RfaWQYAiABKAkSFwoPdmFsdWVfdHlwZV9qc29uGAMgASgJEhsKE3N0b3JhZ2VfcG9saW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ZXN0Gh4uY2FtaW5vLlJlYWRDb2xsZWN0aW9uUmVzcG9uc2USVQoRUmVwbGFjZUNvbGxlY3Rpb24SIC5jYW1pbm8uUmVwbGFjZUNvbGxlY3Rpb25SZXF1ZXN0Gh4uY2FtaW5vLlJlYWRDb2xsZWN0aW9uUmVzcG9uc2USOgoHTGlzdE9wcxIWLmNhbWluby5MaXN0T3BzUmVxdWVzdBoXLmNhbWluby5MaXN0T3BzUmVzcG9uc2USRQoLV2F0Y2hPYmplY3QSGi5jYW1pbm8uV2F0Y2hPYmplY3RSZXF1ZXN0GhguY2FtaW5vLldhdGNoT2JqZWN0RXZlbnQwAWIGcHJvdG8z", [file_camino_schema]); /** * @generated from message camino.NullValue @@ -995,10 +995,421 @@ export type CaminoOp = Message<"camino.CaminoOp"> & { export const CaminoOpSchema: GenMessage = /*@__PURE__*/ messageDesc(file_camino_api, 37); +/** + * @generated from message camino.QueryRequest + */ +export type QueryRequest = Message<"camino.QueryRequest"> & { + /** + * @generated from field: string query_id = 1; + */ + queryId: string; + + /** + * @generated from field: string object_id = 2; + */ + objectId: string; + + /** + * @generated from field: map variables = 3; + */ + variables: { [key: string]: Value }; + + /** + * Typed callers require this exact checked definition. Administrative/raw + * callers may omit it to explicitly select the currently installed definition. + * + * @generated from field: string expected_definition_digest = 4; + */ + expectedDefinitionDigest: string; +}; + +/** + * Describes the message camino.QueryRequest. + * Use `create(QueryRequestSchema)` to create a new message. + */ +export const QueryRequestSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 38); + +/** + * @generated from message camino.QueryPathPart + */ +export type QueryPathPart = Message<"camino.QueryPathPart"> & { + /** + * @generated from oneof camino.QueryPathPart.part + */ + part: { + /** + * @generated from field: string field = 1; + */ + value: string; + case: "field"; + } | { + /** + * @generated from field: uint32 index = 2; + */ + value: number; + case: "index"; + } | { case: undefined; value?: undefined }; +}; + +/** + * Describes the message camino.QueryPathPart. + * Use `create(QueryPathPartSchema)` to create a new message. + */ +export const QueryPathPartSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 39); + +/** + * @generated from message camino.QueryPendingField + */ +export type QueryPendingField = Message<"camino.QueryPendingField"> & { + /** + * @generated from field: repeated camino.QueryPathPart path = 1; + */ + path: QueryPathPart[]; + + /** + * @generated from field: string object_id = 2; + */ + objectId: string; + + /** + * @generated from field: string interface_revision_id = 3; + */ + interfaceRevisionId: string; + + /** + * @generated from field: string member_id = 4; + */ + memberId: string; + + /** + * @generated from field: string operation_id = 5; + */ + operationId: string; + + /** + * @generated from field: string value_type_json = 6; + */ + valueTypeJson: string; + + /** + * Internal residual facts are separate from the authored result projection. + * + * @generated from field: optional uint32 residual_window = 7; + */ + residualWindow?: number | undefined; + + /** + * @generated from field: uint32 residual_row = 8; + */ + residualRow: number; + + /** + * @generated from field: string residual_field = 9; + */ + residualField: string; +}; + +/** + * Describes the message camino.QueryPendingField. + * Use `create(QueryPendingFieldSchema)` to create a new message. + */ +export const QueryPendingFieldSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 40); + +/** + * @generated from message camino.QueryStats + */ +export type QueryStats = Message<"camino.QueryStats"> & { + /** + * @generated from field: uint32 sql_count = 1; + */ + sqlCount: number; + + /** + * @generated from field: double sql_ms = 2; + */ + sqlMs: number; + + /** + * @generated from field: uint32 rpc_count = 3; + */ + rpcCount: number; + + /** + * @generated from field: double rpc_ms = 4; + */ + rpcMs: number; + + /** + * @generated from field: uint32 result_bytes = 5; + */ + resultBytes: number; + + /** + * @generated from field: double preparation_ms = 6; + */ + preparationMs: number; + + /** + * @generated from field: double total_ms = 7; + */ + totalMs: number; +}; + +/** + * Describes the message camino.QueryStats. + * Use `create(QueryStatsSchema)` to create a new message. + */ +export const QueryStatsSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 41); + +/** + * @generated from message camino.QueryResponse + */ +export type QueryResponse = Message<"camino.QueryResponse"> & { + /** + * @generated from field: camino.Value value = 1; + */ + value?: Value | undefined; + + /** + * @generated from field: string data_version = 2; + */ + dataVersion: string; + + /** + * @generated from field: string binding_digest = 3; + */ + bindingDigest: string; + + /** + * @generated from field: repeated camino.QueryPendingField pending = 4; + */ + pending: QueryPendingField[]; + + /** + * @generated from field: camino.QueryStats stats = 5; + */ + stats?: QueryStats | undefined; + + /** + * Redeemable only through the host's private control socket, not an RPC grant. + * + * @generated from field: string preparation_token = 6; + */ + preparationToken: string; + + /** + * @generated from field: repeated camino.QueryFieldFailure errors = 7; + */ + errors: QueryFieldFailure[]; + + /** + * @generated from field: repeated camino.QueryResidualWindow residual_windows = 8; + */ + residualWindows: QueryResidualWindow[]; + + /** + * Native reads share one database snapshot; package enrichment does not. + * + * native-snapshot | mixed + * + * @generated from field: string consistency = 9; + */ + consistency: string; +}; + +/** + * Describes the message camino.QueryResponse. + * Use `create(QueryResponseSchema)` to create a new message. + */ +export const QueryResponseSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 42); + +/** + * @generated from message camino.QueryResidualRow + */ +export type QueryResidualRow = Message<"camino.QueryResidualRow"> & { + /** + * @generated from field: string entry_id = 1; + */ + entryId: string; + + /** + * @generated from field: map fields = 2; + */ + fields: { [key: string]: Value }; +}; + +/** + * Describes the message camino.QueryResidualRow. + * Use `create(QueryResidualRowSchema)` to create a new message. + */ +export const QueryResidualRowSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 43); + +/** + * @generated from message camino.QueryResidualOrder + */ +export type QueryResidualOrder = Message<"camino.QueryResidualOrder"> & { + /** + * @generated from field: string field = 1; + */ + field: string; + + /** + * @generated from field: bool descending = 2; + */ + descending: boolean; +}; + +/** + * Describes the message camino.QueryResidualOrder. + * Use `create(QueryResidualOrderSchema)` to create a new message. + */ +export const QueryResidualOrderSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 44); + +/** + * @generated from message camino.QueryResidualWindow + */ +export type QueryResidualWindow = Message<"camino.QueryResidualWindow"> & { + /** + * @generated from field: repeated camino.QueryPathPart path = 1; + */ + path: QueryPathPart[]; + + /** + * @generated from field: repeated camino.QueryResidualRow rows = 2; + */ + rows: QueryResidualRow[]; + + /** + * @generated from field: string predicate_json = 3; + */ + predicateJson: string; + + /** + * @generated from field: repeated camino.QueryResidualOrder order = 4; + */ + order: QueryResidualOrder[]; + + /** + * @generated from field: uint32 limit = 5; + */ + limit: number; + + /** + * @generated from field: bool bounded_all = 6; + */ + boundedAll: boolean; + + /** + * @generated from field: repeated camino.QuerySelection selection = 7; + */ + selection: QuerySelection[]; + + /** + * @generated from field: map field_types = 8; + */ + fieldTypes: { [key: string]: string }; +}; + +/** + * Describes the message camino.QueryResidualWindow. + * Use `create(QueryResidualWindowSchema)` to create a new message. + */ +export const QueryResidualWindowSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 45); + +/** + * @generated from message camino.QueryFieldFailure + */ +export type QueryFieldFailure = Message<"camino.QueryFieldFailure"> & { + /** + * @generated from field: repeated camino.QueryPathPart path = 1; + */ + path: QueryPathPart[]; + + /** + * @generated from field: string error = 2; + */ + error: string; +}; + +/** + * Describes the message camino.QueryFieldFailure. + * Use `create(QueryFieldFailureSchema)` to create a new message. + */ +export const QueryFieldFailureSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 46); + +/** + * @generated from message camino.QueryChangesRequest + */ +export type QueryChangesRequest = Message<"camino.QueryChangesRequest"> & { + /** + * @generated from field: string query_id = 1; + */ + queryId: string; + + /** + * @generated from field: string object_id = 2; + */ + objectId: string; + + /** + * @generated from field: string data_version = 3; + */ + dataVersion: string; +}; + +/** + * Describes the message camino.QueryChangesRequest. + * Use `create(QueryChangesRequestSchema)` to create a new message. + */ +export const QueryChangesRequestSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 47); + +/** + * @generated from message camino.QueryChangesResponse + */ +export type QueryChangesResponse = Message<"camino.QueryChangesResponse"> & { + /** + * @generated from field: bool changed = 1; + */ + changed: boolean; +}; + +/** + * Describes the message camino.QueryChangesResponse. + * Use `create(QueryChangesResponseSchema)` to create a new message. + */ +export const QueryChangesResponseSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_camino_api, 48); + /** * @generated from service camino.CaminoService */ export const CaminoService: GenService<{ + /** + * @generated from rpc camino.CaminoService.ExecuteQuery + */ + executeQuery: { + methodKind: "unary"; + input: typeof QueryRequestSchema; + output: typeof QueryResponseSchema; + }, + /** + * @generated from rpc camino.CaminoService.QueryChanges + */ + queryChanges: { + methodKind: "unary"; + input: typeof QueryChangesRequestSchema; + output: typeof QueryChangesResponseSchema; + }, /** * @generated from rpc camino.CaminoService.InstallPersistencePlan */ diff --git a/src/gen/camino/schema_pb.ts b/src/gen/camino/schema_pb.ts index 43f11a1..fe7cdf3 100644 --- a/src/gen/camino/schema_pb.ts +++ b/src/gen/camino/schema_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file camino/schema.proto. */ export const file_camino_schema: GenFile = /*@__PURE__*/ - fileDesc("ChNjYW1pbm8vc2NoZW1hLnByb3RvEgZjYW1pbm8iNwoOQXRvbURlZmluaXRpb24SDwoHYXRvbV9pZBgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkiWQoPQXRvbUNvbmZvcm1hbmNlEg8KB2F0b21faWQYASABKAkSHQoVaW50ZXJmYWNlX3JldmlzaW9uX2lkGAIgASgJEhYKDmNvbmZvcm1hbmNlX2lkGAMgASgJIsIBCg9TdGF0ZUF0dGFjaG1lbnQSDwoHc2xvdF9pZBgBIAEoCRIYChBhdHRhY2hlZF9hdG9tX2lkGAIgASgJEhQKDGRpc3BsYXlfbmFtZRgDIAEoCRIXCg92YWx1ZV90eXBlX2pzb24YBCABKAkSGwoTc3RvcmFnZV9wb2xpY3lfanNvbhgFIAEoCRIaChJkZWZhdWx0X3ZhbHVlX2pzb24YBiABKAkSHAoUb3duZXJfY29uZm9ybWFuY2VfaWQYByABKAkiUAoSRW5kcG9pbnRDb25zdHJhaW50EhEKB2F0b21faWQYASABK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KAsyFS5jYW1pbm8uUXVlcnlBcmd1bWVudDoCOAEqaAoLQ2FyZGluYWxpdHkSGwoXQ0FSRElOQUxJVFlfVU5TUEVDSUZJRUQQABIQCgxPUFRJT05BTF9PTkUQARIPCgtFWEFDVExZX09ORRACEggKBE1BTlkQAxIPCgtNQU5ZX1VOSVFVRRAEYgZwcm90bzM"); /** * @generated from message camino.AtomDefinition @@ -507,6 +507,11 @@ export type QueryReadBinding = Message<"camino.QueryReadBinding"> & { * @generated from field: camino.Cardinality cardinality = 13; */ cardinality: Cardinality; + + /** + * @generated from field: string key_type = 14; + */ + keyType: string; }; /** diff --git a/src/gen/quixos/orch_pb.ts b/src/gen/quixos/orch_pb.ts index f699575..714d782 100644 --- a/src/gen/quixos/orch_pb.ts +++ b/src/gen/quixos/orch_pb.ts @@ -4,8 +4,10 @@ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; -import type { CaminoObject, CrdtValue, Value } from "../camino/api_pb.js"; +import type { CaminoObject, CrdtValue, QueryPathPart, QueryRequestSchema, QueryResponse, QueryResponseSchema, Value } from "../camino/api_pb.js"; import { file_camino_api } from "../camino/api_pb.js"; +import type { InstalledQuery } from "../camino/schema_pb.js"; +import { file_camino_schema } from "../camino/schema_pb.js"; import type { PackageDescriptor } from "./package_pb.js"; import { file_quixos_package } from "./package_pb.js"; import type { CapabilityRef, ConformanceWitness, PackageExportRef } from "./refs_pb.js"; @@ -18,7 +20,54 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file quixos/orch.proto. */ export const file_quixos_orch: GenFile = /*@__PURE__*/ - fileDesc("ChFxdWl4b3Mvb3JjaC5wcm90bxILcXVpeG9zLm9yY2giRQoRVHJ5Q29uZm9ybVJlcXVlc3QSEQoJb2JqZWN0X2lkGAEgASgJEh0KFWludGVyZmFjZV9yZXZpc2lvbl9pZBgCIAEoCSJFChJUcnlDb25mb3JtUmVzcG9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Mub3JjaC5HZXRXb3Jrc3BhY2VSZXF1ZXN0GiEucXVpeG9zLm9yY2guR2V0V29ya3NwYWNlUmVzcG9uc2UScQoWTGlzdFBhY2thZ2VEZXNjcmlwdG9ycxIqLnF1aXhvcy5vcmNoLkxpc3RQYWNrYWdlRGVzY3JpcHRvcnNSZXF1ZXN0GisucXVpeG9zLm9yY2guTGlzdFBhY2thZ2VEZXNjcmlwdG9yc1Jlc3BvbnNlEmgKE0xpc3RQYWNrYWdlUnVudGltZXMSJy5xdWl4b3Mub3JjaC5MaXN0UGFja2FnZVJ1bnRpbWVzUmVxdWVzdBooLnF1aXhvcy5vcmNoLkxpc3RQYWNrYWdlUnVudGltZXNSZXNwb25zZRJcCg9MaXN0QWN0aXZhdGlvbnMSIy5xdWl4b3Mub3JjaC5MaXN0QWN0aXZhdGlvbnNSZXF1ZXN0GiQucXVpeG9zLm9yY2guTGlzdEFjdGl2YXRpb25zUmVzcG9uc2USXAoPQ2xvc2VBY3RpdmF0aW9uEiMucXVpeG9zLm9yY2guQ2xvc2VBY3RpdmF0aW9uUmVxdWVzdBokLnF1aXhvcy5vcmNoLkNsb3NlQWN0aXZhdGlvblJlc3BvbnNlYgZwcm90bzM", [file_camino_api, file_camino_schema, file_quixos_package, file_quixos_refs, file_quixos_runtime]); + +/** + * @generated from message quixos.orch.QueryEvent + */ +export type QueryEvent = Message<"quixos.orch.QueryEvent"> & { + /** + * @generated from field: string run_id = 1; + */ + runId: string; + + /** + * @generated from field: uint64 sequence = 2; + */ + sequence: bigint; + + /** + * @generated from field: string kind = 3; + */ + kind: string; + + /** + * @generated from field: camino.QueryResponse snapshot = 4; + */ + snapshot?: QueryResponse | undefined; + + /** + * @generated from field: repeated camino.QueryPathPart path = 5; + */ + path: QueryPathPart[]; + + /** + * @generated from field: camino.Value value = 6; + */ + value?: Value | undefined; + + /** + * @generated from field: string error = 7; + */ + error: string; +}; + +/** + * Describes the message quixos.orch.QueryEvent. + * Use `create(QueryEventSchema)` to create a new message. + */ +export const QueryEventSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_quixos_orch, 0); /** * Exact closed interface lookup; no policy selection or competing conformances. @@ -42,7 +91,7 @@ export type TryConformRequest = Message<"quixos.orch.TryConformRequest"> & { * Use `create(TryConformRequestSchema)` to create a new message. */ export const TryConformRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 0); + messageDesc(file_quixos_orch, 1); /** * @generated from message quixos.orch.TryConformResponse @@ -61,7 +110,7 @@ export type TryConformResponse = Message<"quixos.orch.TryConformResponse"> & { * Use `create(TryConformResponseSchema)` to create a new message. */ export const TryConformResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 1); + messageDesc(file_quixos_orch, 2); /** * @generated from message quixos.orch.ConstructObjectRequest @@ -83,7 +132,7 @@ export type ConstructObjectRequest = Message<"quixos.orch.ConstructObjectRequest * Use `create(ConstructObjectRequestSchema)` to create a new message. */ export const ConstructObjectRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 2); + messageDesc(file_quixos_orch, 3); /** * @generated from message quixos.orch.ConstructObjectResponse @@ -100,7 +149,7 @@ export type ConstructObjectResponse = Message<"quixos.orch.ConstructObjectRespon * Use `create(ConstructObjectResponseSchema)` to create a new message. */ export const ConstructObjectResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 3); + messageDesc(file_quixos_orch, 4); /** * @generated from message quixos.orch.ResolveOrConstructRelatedObjectRequest @@ -127,7 +176,7 @@ export type ResolveOrConstructRelatedObjectRequest = Message<"quixos.orch.Resolv * Use `create(ResolveOrConstructRelatedObjectRequestSchema)` to create a new message. */ export const ResolveOrConstructRelatedObjectRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 4); + messageDesc(file_quixos_orch, 5); /** * @generated from message quixos.orch.ResolveOrConstructRelatedObjectResponse @@ -149,7 +198,7 @@ export type ResolveOrConstructRelatedObjectResponse = Message<"quixos.orch.Resol * Use `create(ResolveOrConstructRelatedObjectResponseSchema)` to create a new message. */ export const ResolveOrConstructRelatedObjectResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 5); + messageDesc(file_quixos_orch, 6); /** * @generated from message quixos.orch.InvokeCapabilityRequest @@ -184,7 +233,7 @@ export type InvokeCapabilityRequest = Message<"quixos.orch.InvokeCapabilityReque * Use `create(InvokeCapabilityRequestSchema)` to create a new message. */ export const InvokeCapabilityRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 6); + messageDesc(file_quixos_orch, 7); /** * @generated from message quixos.orch.InvokeClassCapabilityRequest @@ -211,7 +260,7 @@ export type InvokeClassCapabilityRequest = Message<"quixos.orch.InvokeClassCapab * Use `create(InvokeClassCapabilityRequestSchema)` to create a new message. */ export const InvokeClassCapabilityRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 7); + messageDesc(file_quixos_orch, 8); /** * @generated from message quixos.orch.InvokeCapabilityResponse @@ -258,7 +307,7 @@ export type InvokeCapabilityResponse = Message<"quixos.orch.InvokeCapabilityResp * Use `create(InvokeCapabilityResponseSchema)` to create a new message. */ export const InvokeCapabilityResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 8); + messageDesc(file_quixos_orch, 9); /** * Resolved from the checked native getter/setter binding, not Value.source. @@ -292,7 +341,7 @@ export type FieldEditing = Message<"quixos.orch.FieldEditing"> & { * Use `create(FieldEditingSchema)` to create a new message. */ export const FieldEditingSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 9); + messageDesc(file_quixos_orch, 10); /** * @generated from message quixos.orch.EditCapabilityFieldRequest @@ -336,7 +385,7 @@ export type EditCapabilityFieldRequest = Message<"quixos.orch.EditCapabilityFiel * Use `create(EditCapabilityFieldRequestSchema)` to create a new message. */ export const EditCapabilityFieldRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 10); + messageDesc(file_quixos_orch, 11); /** * @generated from message quixos.orch.WatchCapabilityRequest @@ -363,7 +412,7 @@ export type WatchCapabilityRequest = Message<"quixos.orch.WatchCapabilityRequest * Use `create(WatchCapabilityRequestSchema)` to create a new message. */ export const WatchCapabilityRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 11); + messageDesc(file_quixos_orch, 12); /** * @generated from message quixos.orch.WatchCapabilityEvent @@ -415,7 +464,7 @@ export type WatchCapabilityEvent = Message<"quixos.orch.WatchCapabilityEvent"> & * Use `create(WatchCapabilityEventSchema)` to create a new message. */ export const WatchCapabilityEventSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 12); + messageDesc(file_quixos_orch, 13); /** * @generated from message quixos.orch.GetWorkspaceRequest @@ -427,6 +476,11 @@ export type GetWorkspaceRequest = Message<"quixos.orch.GetWorkspaceRequest"> & { * @generated from field: bool include_interface_contracts = 1; */ includeInterfaceContracts: boolean; + + /** + * @generated from field: bool include_query_contracts = 2; + */ + includeQueryContracts: boolean; }; /** @@ -434,7 +488,7 @@ export type GetWorkspaceRequest = Message<"quixos.orch.GetWorkspaceRequest"> & { * Use `create(GetWorkspaceRequestSchema)` to create a new message. */ export const GetWorkspaceRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 13); + messageDesc(file_quixos_orch, 14); /** * @generated from message quixos.orch.GetWorkspaceResponse @@ -484,6 +538,16 @@ export type GetWorkspaceResponse = Message<"quixos.orch.GetWorkspaceResponse"> & * @generated from field: repeated quixos.orch.ClassCapability class_capabilities = 8; */ classCapabilities: ClassCapability[]; + + /** + * @generated from field: repeated quixos.orch.QueryDescription queries = 9; + */ + queries: QueryDescription[]; + + /** + * @generated from field: uint32 active_query_executions = 10; + */ + activeQueryExecutions: number; }; /** @@ -491,7 +555,59 @@ export type GetWorkspaceResponse = Message<"quixos.orch.GetWorkspaceResponse"> & * Use `create(GetWorkspaceResponseSchema)` to create a new message. */ export const GetWorkspaceResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 14); + messageDesc(file_quixos_orch, 15); + +/** + * @generated from message quixos.orch.QueryDescription + */ +export type QueryDescription = Message<"quixos.orch.QueryDescription"> & { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string name = 2; + */ + name: string; + + /** + * @generated from field: string package_revision_id = 3; + */ + packageRevisionId: string; + + /** + * @generated from field: string document = 4; + */ + document: string; + + /** + * @generated from field: string schema = 5; + */ + schema: string; + + /** + * @generated from field: repeated string source_files = 6; + */ + sourceFiles: string[]; + + /** + * @generated from field: string effects_json = 7; + */ + effectsJson: string; + + /** + * @generated from field: camino.InstalledQuery plan = 8; + */ + plan?: InstalledQuery | undefined; +}; + +/** + * Describes the message quixos.orch.QueryDescription. + * Use `create(QueryDescriptionSchema)` to create a new message. + */ +export const QueryDescriptionSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_quixos_orch, 16); /** * @generated from message quixos.orch.ClassCapability @@ -538,7 +654,7 @@ export type ClassCapability = Message<"quixos.orch.ClassCapability"> & { * Use `create(ClassCapabilitySchema)` to create a new message. */ export const ClassCapabilitySchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 15); + messageDesc(file_quixos_orch, 17); /** * @generated from message quixos.orch.CapabilityInputContract @@ -565,7 +681,7 @@ export type CapabilityInputContract = Message<"quixos.orch.CapabilityInputContra * Use `create(CapabilityInputContractSchema)` to create a new message. */ export const CapabilityInputContractSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 16); + messageDesc(file_quixos_orch, 18); /** * @generated from message quixos.orch.ConstructorInputContract @@ -587,7 +703,7 @@ export type ConstructorInputContract = Message<"quixos.orch.ConstructorInputCont * Use `create(ConstructorInputContractSchema)` to create a new message. */ export const ConstructorInputContractSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 17); + messageDesc(file_quixos_orch, 19); /** * @generated from message quixos.orch.ListActivationsRequest @@ -600,7 +716,7 @@ export type ListActivationsRequest = Message<"quixos.orch.ListActivationsRequest * Use `create(ListActivationsRequestSchema)` to create a new message. */ export const ListActivationsRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 18); + messageDesc(file_quixos_orch, 20); /** * @generated from message quixos.orch.ListPackageDescriptorsRequest @@ -613,7 +729,7 @@ export type ListPackageDescriptorsRequest = Message<"quixos.orch.ListPackageDesc * Use `create(ListPackageDescriptorsRequestSchema)` to create a new message. */ export const ListPackageDescriptorsRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 19); + messageDesc(file_quixos_orch, 21); /** * @generated from message quixos.orch.ListPackageDescriptorsResponse @@ -630,7 +746,7 @@ export type ListPackageDescriptorsResponse = Message<"quixos.orch.ListPackageDes * Use `create(ListPackageDescriptorsResponseSchema)` to create a new message. */ export const ListPackageDescriptorsResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 20); + messageDesc(file_quixos_orch, 22); /** * @generated from message quixos.orch.ListPackageRuntimesRequest @@ -643,7 +759,7 @@ export type ListPackageRuntimesRequest = Message<"quixos.orch.ListPackageRuntime * Use `create(ListPackageRuntimesRequestSchema)` to create a new message. */ export const ListPackageRuntimesRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 21); + messageDesc(file_quixos_orch, 23); /** * @generated from message quixos.orch.ListPackageRuntimesResponse @@ -660,7 +776,7 @@ export type ListPackageRuntimesResponse = Message<"quixos.orch.ListPackageRuntim * Use `create(ListPackageRuntimesResponseSchema)` to create a new message. */ export const ListPackageRuntimesResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 22); + messageDesc(file_quixos_orch, 24); /** * @generated from message quixos.orch.ListActivationsResponse @@ -677,7 +793,7 @@ export type ListActivationsResponse = Message<"quixos.orch.ListActivationsRespon * Use `create(ListActivationsResponseSchema)` to create a new message. */ export const ListActivationsResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 23); + messageDesc(file_quixos_orch, 25); /** * @generated from message quixos.orch.CloseActivationRequest @@ -699,7 +815,7 @@ export type CloseActivationRequest = Message<"quixos.orch.CloseActivationRequest * Use `create(CloseActivationRequestSchema)` to create a new message. */ export const CloseActivationRequestSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 24); + messageDesc(file_quixos_orch, 26); /** * @generated from message quixos.orch.CloseActivationResponse @@ -716,7 +832,7 @@ export type CloseActivationResponse = Message<"quixos.orch.CloseActivationRespon * Use `create(CloseActivationResponseSchema)` to create a new message. */ export const CloseActivationResponseSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 25); + messageDesc(file_quixos_orch, 27); /** * @generated from message quixos.orch.Activation @@ -778,7 +894,7 @@ export type Activation = Message<"quixos.orch.Activation"> & { * Use `create(ActivationSchema)` to create a new message. */ export const ActivationSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 26); + messageDesc(file_quixos_orch, 28); /** * @generated from message quixos.orch.PackageRuntimeStatus @@ -850,12 +966,28 @@ export type PackageRuntimeStatus = Message<"quixos.orch.PackageRuntimeStatus"> & * Use `create(PackageRuntimeStatusSchema)` to create a new message. */ export const PackageRuntimeStatusSchema: GenMessage = /*@__PURE__*/ - messageDesc(file_quixos_orch, 27); + messageDesc(file_quixos_orch, 29); /** * @generated from service quixos.orch.OrchestratorRuntime */ export const OrchestratorRuntime: GenService<{ + /** + * @generated from rpc quixos.orch.OrchestratorRuntime.ExecuteQuery + */ + executeQuery: { + methodKind: "unary"; + input: typeof QueryRequestSchema; + output: typeof QueryResponseSchema; + }, + /** + * @generated from rpc quixos.orch.OrchestratorRuntime.WatchQuery + */ + watchQuery: { + methodKind: "server_streaming"; + input: typeof QueryRequestSchema; + output: typeof QueryEventSchema; + }, /** * @generated from rpc quixos.orch.OrchestratorRuntime.TryConform */ diff --git a/src/gen/quixos/refs_pb.ts b/src/gen/quixos/refs_pb.ts index 28dea6c..f6e0675 100644 --- a/src/gen/quixos/refs_pb.ts +++ b/src/gen/quixos/refs_pb.ts @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file quixos/refs.proto. */ export const file_quixos_refs: GenFile = /*@__PURE__*/ - fileDesc("ChFxdWl4b3MvcmVmcy5wcm90bxIGcXVpeG9zInUKDUNhcGFiaWxpdHlSZWYSHQoVaW50ZXJmYWNlX3JldmlzaW9uX2lkGAEgASgJEhQKDG9wZXJhdGlvbl9pZBgCIAEoCRIvCgtjb25mb3JtYW5jZRgDIAEoCzIaLnF1aXhvcy5Db25mb3JtYW5jZVdpdG5lc3MilgEKEkNvbmZvcm1hbmNlV2l0bmVzcxIRCglvYmplY3RfaWQYASABKAkSHQoVaW50ZXJmYWNlX3JldmlzaW9uX2lkGAIgASgJEhYKDmNvbmZvcm1hbmNlX2lkGAMgASgJEh0KFXdvcmtzcGFjZV9yZXZpc2lvbl9pZBgEIAEoCRIXCg93b3Jrc3BhY2VfZXBvY2gYBSABKAkiQgoQUGFja2FnZUV4cG9ydFJlZhIbChNwYWNrYWdlX3JldmlzaW9uX2lkGAEgASgJEhEKCWV4cG9ydF9pZBgCIAEoCSLEAQoSSW5qZWN0ZWREZXBlbmRlbmN5Eg8KB3BvcnRfaWQYASABKAkSFwoNc3RhdGVfc2xvdF9pZBgCIAEoCUgAEiYKBGVkZ2UYAyABKAsyFi5xdWl4b3MuRWRnZURlcGVuZGVuY3lIABIfChVpbnRlcmZhY2VfcmV2aXNpb25faWQYBCABKAlIABIdChNjb25zdHJ1Y3Rvcl9hdG9tX2lkGAUgASgJSAASEQoJb2JqZWN0X2lkGAYgASgJQgkKB2JpbmRpbmciPQoORWRnZURlcGVuZGVuY3kSFAoMZWRnZV90eXBlX2lkGAEgASgJEhUKDXByb2plY3Rpb25faWQYAiABKAliBnByb3RvMw"); + fileDesc("ChFxdWl4b3MvcmVmcy5wcm90bxIGcXVpeG9zInUKDUNhcGFiaWxpdHlSZWYSHQoVaW50ZXJmYWNlX3JldmlzaW9uX2lkGAEgASgJEhQKDG9wZXJhdGlvbl9pZBgCIAEoCRIvCgtjb25mb3JtYW5jZRgDIAEoCzIaLnF1aXhvcy5Db25mb3JtYW5jZVdpdG5lc3MilgEKEkNvbmZvcm1hbmNlV2l0bmVzcxIRCglvYmplY3RfaWQYASABKAkSHQoVaW50ZXJmYWNlX3JldmlzaW9uX2lkGAIgASgJEhYKDmNvbmZvcm1hbmNlX2lkGAMgASgJEh0KFXdvcmtzcGFjZV9yZXZpc2lvbl9pZBgEIAEoCRIXCg93b3Jrc3BhY2VfZXBvY2gYBSABKAkiQgoQUGFja2FnZUV4cG9ydFJlZhIbChNwYWNrYWdlX3JldmlzaW9uX2lkGAEgASgJEhEKCWV4cG9ydF9pZBgCIAEoCSLYAQoSSW5qZWN0ZWREZXBlbmRlbmN5Eg8KB3BvcnRfaWQYASABKAkSFwoNc3RhdGVfc2xvdF9pZBgCIAEoCUgAEiYKBGVkZ2UYAyABKAsyFi5xdWl4b3MuRWRnZURlcGVuZGVuY3lIABIfChVpbnRlcmZhY2VfcmV2aXNpb25faWQYBCABKAlIABIdChNjb25zdHJ1Y3Rvcl9hdG9tX2lkGAUgASgJSAASEgoIcXVlcnlfaWQYByABKAlIABIRCglvYmplY3RfaWQYBiABKAlCCQoHYmluZGluZyI9Cg5FZGdlRGVwZW5kZW5jeRIUCgxlZGdlX3R5cGVfaWQYASABKAkSFQoNcHJvamVjdGlvbl9pZBgCIAEoCWIGcHJvdG8z"); /** * @generated from message quixos.CapabilityRef @@ -136,6 +136,12 @@ export type InjectedDependency = Message<"quixos.InjectedDependency"> & { */ value: string; case: "constructorAtomId"; + } | { + /** + * @generated from field: string query_id = 7; + */ + value: string; + case: "queryId"; } | { case: undefined; value?: undefined }; /** diff --git a/src/query/compile.ts b/src/query/compile.ts index fab02be..752c130 100644 --- a/src/query/compile.ts +++ b/src/query/compile.ts @@ -25,6 +25,7 @@ import { type DirectiveNode, } from "graphql"; import { createHash } from "node:crypto"; +import { canonicalJson } from "../capability-model/evolution.js"; import { readRepositorySource } from "../capability-language/source-loader.js"; import { valueType, @@ -192,18 +193,28 @@ export async function compileQuery( if (member.kind !== "relationship" || (member.cardinality !== "many" && member.cardinality !== "many-unique")) return; const target = generated.target(member); + const bounds = (node.arguments ?? []).filter( + (argument) => argument.name.value === "first" || argument.name.value === "all", + ); + if (bounds.length !== 1) fail("QUERY_ROW_LIMIT", "Specify exactly one of first or all", node); + if (bounds[0]!.name.value === "all" && node.arguments?.some((argument) => argument.name.value === "after")) + fail("QUERY_UNSUPPORTED_FEATURE", "Bounded-all does not accept a continuation", node); for (const argument of node.arguments ?? []) { if (argument.name.value === "where") inputEffects(target, argument.value, "predicate"); if (argument.name.value === "orderBy") inputEffects(target, argument.value, "order"); if (argument.name.value === "after") hasContinuation = true; if ( - argument.name.value === "first" && + ["first", "all"].includes(argument.name.value) && argument.value.kind !== "Variable" && (argument.value.kind !== "IntValue" || Number(argument.value.value) < 1 || Number(argument.value.value) > declaration.budgets.rows) ) - fail("QUERY_ROW_LIMIT", `first must be between 1 and ${declaration.budgets.rows}`, argument); + fail( + "QUERY_ROW_LIMIT", + `${argument.name.value} must be between 1 and ${declaration.budgets.rows}`, + argument, + ); } }, FragmentSpread(node) { @@ -228,26 +239,47 @@ export async function compileQuery( .map((entry) => [entry.name.value, entry]), ); let expandedFields = 0; - const output = (type: GraphQLType, selections?: SelectionSetNode, depth = 0): ValueType => { - if (depth > declaration.budgets.depth * 4 + 4) fail("QUERY_DEPTH_LIMIT", "Expanded query exceeds its depth budget"); - if (isNonNullType(type)) return required(type.ofType, selections, depth); - return valueType.optional(required(type, selections, depth)); + // GraphQL merges repeated response keys. In particular, fragments may each + // contribute different children of one relationship; last-write-wins would + // silently remove fields from both the generated type and the wire codec. + const mergeOutput = (left: ValueType, right: ValueType): ValueType => { + const a = left.kind === "optional" ? left.value : left; + const b = right.kind === "optional" ? right.value : right; + let result = a; + if (a.kind === "record" && b.kind === "record") { + const fields = { ...a.fields }; + for (const [key, type] of Object.entries(b.fields)) + fields[key] = fields[key] ? mergeOutput(fields[key], type) : type; + result = { kind: "record", fields }; + } else if (a.kind === "list" && b.kind === "list") result = valueType.list(mergeOutput(a.value, b.value)); + return left.kind === "optional" && right.kind === "optional" ? valueType.optional(result) : result; }; - const required = (type: GraphQLType, selections?: SelectionSetNode, depth = 0): ValueType => { - if (isListType(type)) return valueType.list(output(type.ofType, selections, depth)); + const output = (type: GraphQLType, selections?: SelectionSetNode, depth = 0, conditional = false): ValueType => { + if (depth > declaration.budgets.depth * 4 + 4) fail("QUERY_DEPTH_LIMIT", "Expanded query exceeds its depth budget"); + if (isNonNullType(type)) return required(type.ofType, selections, depth, conditional); + return valueType.optional(required(type, selections, depth, conditional)); + }; + const required = (type: GraphQLType, selections?: SelectionSetNode, depth = 0, conditional = false): ValueType => { + if (isListType(type)) return valueType.list(output(type.ofType, selections, depth, conditional)); if (isObjectType(type)) { const fields: Record = {}; - const add = (set: SelectionSetNode) => { + const add = (set: SelectionSetNode, conditional = false) => { for (const selection of set.selections) { if (++expandedFields > 10000) fail("QUERY_WORK_LIMIT", "Expanded query exceeds 10000 fields", selection); if (selection.kind === "FragmentSpread") { - add(fragments.get(selection.name.value)!.selectionSet); + add(fragments.get(selection.name.value)!.selectionSet, conditional || !!selection.directives?.length); continue; } if (selection.kind !== "Field") continue; const key = selection.alias?.value ?? selection.name.value; const field = type.getFields()[selection.name.value]!; - fields[key] = output(field.type, selection.selectionSet, depth + 1); + const previous = fields[key]; + fields[key] = output( + field.type, + selection.selectionSet, + depth + 1, + conditional || !!selection.directives?.length, + ); if (selection.name.value === "_qx") { const contract = generated.byName.get(type.name)!; const metadataFields: Record = {}; @@ -258,11 +290,12 @@ export async function compileQuery( } fields[key] = { kind: "record", fields: metadataFields }; } - if (selection.directives?.length && fields[key]!.kind !== "optional") + if ((conditional || selection.directives?.length) && fields[key]!.kind !== "optional") fields[key] = valueType.optional(fields[key]!); + if (previous) fields[key] = mergeOutput(previous, fields[key]!); } }; - if (selections) add(selections); + if (selections) add(selections, conditional); return { kind: "record", fields }; } return shapeScalar(getNamedType(type)!.name); @@ -354,7 +387,16 @@ export async function compileQuery( const normalized = print(document), schema = printSchema(generated.schema); const definitionDigest = createHash("sha256") - .update(JSON.stringify({ semantics: 1, declaration, normalized, interfaces })) + .update( + canonicalJson({ + semantics: 1, + declaration, + normalized, + interfaces: [...generated.byName.values()].sort((a, b) => + a.revisionId < b.revisionId ? -1 : a.revisionId > b.revisionId ? 1 : 0, + ), + }), + ) .digest("hex"); return { declaration, @@ -374,8 +416,18 @@ export async function compileQuery( }; } -export const compileRepositoryQuery = ( +export const compileRepositoryQuery = async ( root: string, declaration: QueryDeclaration, interfaces: readonly InterfaceRevision[], -) => compileQuery(declaration, interfaces, (name) => readRepositorySource(root, name)); +) => { + const started = performance.now(); + try { + return await compileQuery(declaration, interfaces, (name) => readRepositorySource(root, name)); + } finally { + // Timing belongs in check logs, never in immutable artifact identities. + console.error( + `[query-check] ${JSON.stringify(declaration.displayName)}: ${(performance.now() - started).toFixed(1)}ms`, + ); + } +}; diff --git a/src/query/link.ts b/src/query/link.ts index f5ad886..e11da31 100644 --- a/src/query/link.ts +++ b/src/query/link.ts @@ -9,6 +9,7 @@ import type { } from "../capability-model/types.js"; import { QueryCompileError, type CheckedQuery } from "./types.js"; import { queryRuntimePlan } from "./proto.js"; +import { canonicalJson } from "../capability-model/evolution.js"; export interface LinkedQueryField { atomId: AtomId; @@ -128,7 +129,13 @@ export function linkQueries(workspace: WorkspaceRevision): LinkedQuery[] { } const storage = attachments.filter((entry) => needed.has(entry.id)); const bindingDigest = createHash("sha256") - .update(JSON.stringify({ definition: checked.definitionDigest, fields, storage })) + .update( + canonicalJson({ + definition: checked.definitionDigest, + fields: [...fields].sort((a, b) => canonicalJson(a).localeCompare(canonicalJson(b))), + storage: [...storage].sort((a, b) => a.id.localeCompare(b.id)), + }), + ) .digest("hex"); linked.push({ id: `${pkg.revisionId}:${declaration.id}`, @@ -140,5 +147,10 @@ export function linkQueries(workspace: WorkspaceRevision): LinkedQuery[] { }); } for (const entry of linked) entry.runtime = queryRuntimePlan(entry, workspace); + if (new Set(linked.map((entry) => entry.id)).size !== linked.length) + throw new QueryCompileError( + "QUERY_ID_COLLISION", + "Query export identities collide; choose distinct package/query IDs", + ); return linked; } diff --git a/src/query/proto.ts b/src/query/proto.ts index e6c02fb..f6be26b 100644 --- a/src/query/proto.ts +++ b/src/query/proto.ts @@ -66,6 +66,7 @@ export const queryRuntimePlan = (linked: LinkedQuery, workspace: WorkspaceRevisi memberId: field.memberId, getterOperationId: field.getter, fieldName: member.displayName, + keyType: member.kind === "relationship" ? member.keyType : undefined, valueTypeJson: member.kind === "value" ? JSON.stringify(member.valueType) : "", cardinality: member.kind === "relationship" diff --git a/src/query/schema.ts b/src/query/schema.ts index 8c92811..900a310 100644 --- a/src/query/schema.ts +++ b/src/query/schema.ts @@ -203,6 +203,15 @@ export function querySchema(declaration: QueryDeclaration, interfaces: readonly name: `${name(id)}_${member.displayName}_Entry`, fields: { key: { type: new GraphQLNonNull(GraphQLString) }, + ...(member.keyType + ? { + mapKey: { + type: new GraphQLNonNull( + queryScalars[member.keyType === "boolean" ? "bool" : member.keyType], + ), + }, + } + : {}), cursor: { type: cursorScalar }, node: { type: new GraphQLNonNull(node) }, }, @@ -218,7 +227,8 @@ export function querySchema(declaration: QueryDeclaration, interfaces: readonly fields[member.displayName] = { type: new GraphQLNonNull(connection), args: { - first: { type: new GraphQLNonNull(GraphQLInt) }, + first: { type: GraphQLInt }, + all: { type: GraphQLInt }, after: { type: cursorScalar }, where: { type: filter(targetId) }, ...(ordering ? { orderBy: { type: new GraphQLList(new GraphQLNonNull(ordering)) } } : {}), diff --git a/src/query/templates.ts b/src/query/templates.ts new file mode 100644 index 0000000..f37cafa --- /dev/null +++ b/src/query/templates.ts @@ -0,0 +1,136 @@ +import { capabilityId, type InterfaceRevision, type InterfaceRevisionId } from "../capability-model/types.js"; +import { + TypeSubstitution, + bindTypeParameters, + type ClosedTypeArgument, + type GenericTypeEnvironment, +} from "../capability-model/generics.js"; +import { GenericSourceTypes } from "../capability-language/generic-types.js"; +import { compileQuery } from "./compile.js"; +import { QueryCompileError, type QueryDeclaration, type QueryTemplate } from "./types.js"; + +export function specializeQueryTemplate( + template: QueryTemplate, + arguments_: ClosedTypeArgument[], + environment: GenericTypeEnvironment, + interfaces: () => readonly InterfaceRevision[], + identity: { id: string; displayName: string }, +): QueryDeclaration { + const obligations: NonNullable = []; + const checked = { + ...environment, + implementsInterface: ( + target: Parameters[0], + required: InterfaceRevisionId, + ) => { + obligations.push({ target, required }); + return environment.implementsInterface(target, required); + }, + }; + const substitution = new TypeSubstitution({ + ...checked, + arguments: bindTypeParameters(template.parameters, arguments_, checked, template.declaration.displayName), + }); + return { + ...structuredClone(template.declaration), + ...identity, + root: substitution.application(template.root), + views: template.views + .map((view) => { + const target = substitution.object(view.target); + const interfaceRevisionId = substitution.application(view.interface); + if (target.kind === "interface") { + if (target.interfaceRevisionId !== interfaceRevisionId) + throw new QueryCompileError( + "QUERY_VIEW_REQUIRED", + "An interface argument must use its exact selected query view", + ); + return undefined; + } + return { atomId: target.atomId, interfaceRevisionId }; + }) + .filter((view): view is NonNullable => !!view), + allowances: template.allowances.map((allowance) => { + const interfaceRevisionId = substitution.application(allowance.interface); + const member = interfaces() + .find((entry) => entry.revisionId === interfaceRevisionId) + ?.members.find((entry) => entry.displayName === allowance.memberName); + if (!member) throw new QueryCompileError("QUERY_ALLOWANCE", `Unknown template field ${allowance.memberName}`); + return { interfaceRevisionId, memberId: member.id, uses: allowance.uses, reason: allowance.reason }; + }), + application: { templateId: template.declaration.id, arguments: structuredClone(arguments_) }, + argumentRequirements: obligations, + }; +} + +/** Check a document with only its declared bounds available, even if no concrete + * specialization is installed. No concrete atom fields can leak into this check. */ +export async function checkQueryTemplate( + template: QueryTemplate, + interfaces: readonly InterfaceRevision[], + read: (name: string) => Promise, +) { + const types = new GenericSourceTypes(new Map()); + for (const contract of interfaces) types.register(contract.displayName, contract); + const arguments_: ClosedTypeArgument[] = template.parameters.map((parameter) => { + if (parameter.kind !== "object") + throw new QueryCompileError( + "QUERY_TEMPLATE_PARAMETER", + "Query templates currently require object parameters with explicit interface views; scalar/value polymorphism is not queryable", + ); + return { + kind: "object", + target: { kind: "atom", atomId: capabilityId.atom(`query-bound:${template.declaration.id}:${parameter.id}`) }, + }; + }); + const bindings = new Map(template.parameters.map((parameter, index) => [parameter.id, arguments_[index]!])); + const substitution = new TypeSubstitution({ ...types.environment(), arguments: bindings }); + const evidence = new Map( + arguments_.map((argument, index) => { + const parameter = template.parameters[index]!; + const target = argument.kind === "object" && argument.target.kind === "atom" ? argument.target.atomId : ""; + return [ + target, + new Set( + parameter.kind === "object" ? parameter.implements.map((bound) => substitution.application(bound)) : [], + ), + ]; + }), + ); + const implies = (offered: string, required: string, seen = new Set()): boolean => { + if (offered === required) return true; + if (seen.has(offered)) return false; + seen.add(offered); + const contract = types.definitions.get(offered); + return (contract?.requiredInterfaces ?? []).some((parent) => implies(parent, required, seen)); + }; + const environment = { + ...types.environment(), + implementsInterface: ( + target: Parameters[0], + required: InterfaceRevisionId, + ) => + target.kind === "atom" && [...(evidence.get(target.atomId) ?? [])].some((offered) => implies(offered, required)), + }; + const declaration = specializeQueryTemplate( + template, + arguments_, + environment, + () => [...types.definitions.values()], + template.declaration, + ); + for (const view of declaration.views) + if (!environment.implementsInterface({ kind: "atom", atomId: view.atomId }, view.interfaceRevisionId)) + throw new QueryCompileError( + "QUERY_TEMPLATE_BOUND", + `The declared bounds do not guarantee the selected view ${view.interfaceRevisionId}`, + ); + for (const application of types.applications.values()) + for (const obligation of application.argumentRequirements ?? []) + if (!environment.implementsInterface(obligation.target, obligation.required)) + throw new QueryCompileError( + "QUERY_TEMPLATE_BOUND", + `Template arguments do not guarantee ${obligation.required}`, + ); + return compileQuery(declaration, [...types.definitions.values()], read); +} diff --git a/src/query/types.ts b/src/query/types.ts index 12bc2bc..9d5768b 100644 --- a/src/query/types.ts +++ b/src/query/types.ts @@ -1,4 +1,10 @@ import type { AtomId, InterfaceRevisionId, MemberId, ValueType } from "../capability-model/types.js"; +import type { + TypeParameter, + InterfaceApplicationExpression, + ObjectTypeExpression, + ClosedTypeArgument, +} from "../capability-model/generics.js"; export type QueryUse = "select" | "predicate" | "order"; export interface QueryAllowance { @@ -37,6 +43,19 @@ export interface QueryDeclaration { budgets: QueryBudgets; watch: boolean; polling?: { intervalMs: number; reason: string }; + application?: { templateId: string; arguments: ClosedTypeArgument[] }; + argumentRequirements?: { + target: import("../capability-model/types.js").ObjectExpectation; + required: InterfaceRevisionId; + }[]; +} +/** Source-only template; neither parameters nor synthetic bound witnesses are installed. */ +export interface QueryTemplate { + declaration: Omit; + parameters: TypeParameter[]; + root: InterfaceApplicationExpression; + views: { target: ObjectTypeExpression; interface: InterfaceApplicationExpression }[]; + allowances: { interface: InterfaceApplicationExpression; memberName: string; uses: QueryUse[]; reason: string }[]; } export interface QueryFieldEffect { interfaceRevisionId: InterfaceRevisionId; @@ -55,7 +74,7 @@ export class QueryCompileError extends Error { message: string, readonly location?: QuerySourceLocation, ) { - super(message); + super(`${code}${location ? ` ${location.file}:${location.line}:${location.column}` : ""}: ${message}`); this.name = "QueryCompileError"; } } diff --git a/test/fixtures/query-workspace.ts b/test/fixtures/query-workspace.ts new file mode 100644 index 0000000..fe63e9d --- /dev/null +++ b/test/fixtures/query-workspace.ts @@ -0,0 +1,117 @@ +import assert from "node:assert/strict"; +import { compileCapabilityResourceSource, compileCapabilitySource } from "../../src/capability-language/index.js"; +import { compileQuery } from "../../src/query/compile.js"; +import { linkQueries } from "../../src/query/link.js"; +import type { InterfaceRevision, PackageRevision } from "../../src/capability-model/types.js"; + +export const queryFixtureSource = { + repository: "https://query-fixture.example.test/source.git", + commit: "1".repeat(40), +}; +export async function queryWorkspaceFixture() { + const interfaces = new Map(); + const sources: Record = {}; + function iface(name: string, members: string, parameters = "") { + const text = `${[...interfaces.keys()].map((name) => `import interface ${name};`).join("\n")} + interface ${name}${parameters} id "${name}" revision "${name}@1" {${members}}`; + sources[name] = text; + const result = compileCapabilityResourceSource(text, { + source: queryFixtureSource, + environment: { interfaces, interfaceClosure: [...interfaces.values()] }, + }); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + if (result.resource.kind !== "interface") throw new Error("interface expected"); + interfaces.set(name, result.resource.revision); + } + iface("PersonFacts", `queryable value name id "name" : string {get id "name:get";}`); + iface( + "TaskFacts", + ` + queryable value title id "title" : string {get id "title:get"; set id "title:set";} + queryable value done id "done" : bool {get id "done:get";} + queryable value rank id "rank" : int64 {get id "rank:get";} + queryable relation assignee id "assignee" : optional-one interface PersonFacts {resolve id "assignee:resolve";} + queryable rpc value score id "score" : int32 {get id "score:get";} + `, + ); + iface( + "Collection", + `queryable relation items id "items" : many object Item ordered {resolve id "items:resolve";}`, + "", + ); + const packageSource = `${[...interfaces.keys()].map((name) => `import interface ${name};`).join("\n")} + package Queries id "queries" revision "queries@1" { + operation titleSet id "title-set" : string -> unit mode call receiver any + requires {state title id "title-port" : string [write];}; + operation score id "score" : unit -> int32 mode call receiver any; + query Upcoming id "upcoming" root Collection document "upcoming.graphql" operation "Upcoming" { + fragments "row.graphql"; max rows 30; watch; + } + query Enriched id "enriched" root Collection document "enriched.graphql" operation "Enriched" { + max rows 30; allow TaskFacts.score select "Small visible page only"; + } + query Ranked id "ranked" root Collection document "ranked.graphql" operation "Ranked" { + max rows 30; max candidates 60; + allow TaskFacts.score predicate "Bounded local collection"; + allow TaskFacts.score order "Bounded local collection"; + } + }`; + sources.Queries = packageSource; + const pkgResult = compileCapabilityResourceSource(packageSource, { + source: queryFixtureSource, + environment: { interfaces, interfaceClosure: [...interfaces.values()] }, + }); + assert.ok(pkgResult.ok, JSON.stringify(pkgResult.diagnostics)); + if (pkgResult.resource.kind !== "package") throw new Error("package expected"); + const pkg: PackageRevision = pkgResult.resource.revision; + const allInterfaces = [...interfaces.values(), ...(pkgResult.resource.specializations ?? [])]; + const documents: Record = { + "upcoming.graphql": `query Upcoming($first: Int!, $after: Cursor) {root {items(first: $first, after: $after, where: {done: {eq: false}}, orderBy: [{rank: ASC}]) {entries {key cursor node {_qx {ref} ...TaskRow}} pageInfo {hasNextPage endCursor}}}}`, + "row.graphql": `fragment TaskRow on TaskFacts {title rank done assignee {name}}`, + "enriched.graphql": `query Enriched {root {items(first: 3) {entries {key node {_qx {ref} title score}}}}}`, + "ranked.graphql": `query Ranked {root {items(first: 3, where: {score: {gt: 0}}, orderBy: [{score: DESC}]) {entries {key node {_qx {ref} title}}}}}`, + }; + pkg.checkedQueries = await Promise.all( + pkg.queries!.map((query) => compileQuery(query, allInterfaces, async (name) => documents[name]!)), + ); + const implementation = (atom: string) => `conform ${atom} as TaskFacts id "${atom}-facts" { + private state Title${atom} id "${atom}:title" on ${atom} : string policy crdt(string) default "Untitled"; + private state Done${atom} id "${atom}:done" on ${atom} : bool policy optimistic-register default false; + private state Rank${atom} id "${atom}:rank" on ${atom} : int64 policy optimistic-register default 0; + private edge Assignee${atom} id "${atom}:assignee" { + atom ${atom} projection assignee id "${atom}:assignee:forward" optional-one; + interface PersonFacts projection tasks id "${atom}:assignee:inverse" many; + } + bind title.get to state Title${atom}.read; + bind title.set to package Queries.titleSet with {title to state Title${atom};}; + bind done to state Done${atom}; bind rank to state Rank${atom}; + bind assignee.resolve to edge Assignee${atom}.assignee.resolve; + bind score.get to package Queries.score query-reason "Explicit bounded score computation"; + }`; + const workspaceSource = `workspace QueryFixture id "query-fixture" revision "query-fixture@1" commit "${queryFixtureSource.commit}" { + import interface PersonFacts; import interface TaskFacts; import interface Collection; import package Queries; + atom Task id "Task"; atom Reminder id "Reminder"; atom Person id "Person"; atom Tasks id "Tasks"; + conform Person as PersonFacts id "person-facts" { + private state Name id "person:name" on Person : string policy optimistic-register default "Nobody"; + bind name to state Name; + } + ${implementation("Task")} ${implementation("Reminder")} + conform Tasks as Collection id "tasks-collection" { + private edge Items id "items" { + atom Tasks projection items id "items:forward" many ordered; + interface TaskFacts projection collections id "items:inverse" many; + } + bind items.resolve to edge Items.items.resolve; + } + }`; + sources.workspace = workspaceSource; + const result = compileCapabilitySource(workspaceSource, "workspace.qx", { + interfaces, + interfaceClosure: allInterfaces, + packages: new Map([["Queries", pkg]]), + packageClosure: [pkg], + }); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + const workspace = { ...result.workspace, linkedQueries: linkQueries(result.workspace) }; + return { workspace, pkg, interfaces: allInterfaces, sources, documents }; +} diff --git a/test/query-compiler.test.ts b/test/query-compiler.test.ts index b333962..89e2267 100644 --- a/test/query-compiler.test.ts +++ b/test/query-compiler.test.ts @@ -3,6 +3,7 @@ import { test } from "node:test"; import { compileCapabilityResourceSource } from "../src/capability-language/index.js"; import { compileQuery } from "../src/query/compile.js"; import { QueryCompileError } from "../src/query/types.js"; +import { checkQueryTemplate } from "../src/query/templates.js"; import type { InterfaceRevision } from "../src/capability-model/types.js"; const source = { repository: "https://example.test/queries.git", commit: "a".repeat(40) }; @@ -33,6 +34,64 @@ interface Tasks id "tasks" revision "tasks@1" { }`, [facts], ); + +test("generic query templates check declared bounds before closed specialization", async () => { + const generic = iface( + `import interface TaskFacts; + interface Collection id "generic-collection" revision "generic-collection@1" { + queryable relation items id "items" : many object Item { resolve id "items:resolve"; } + }`, + [facts], + ); + const build = (bound: string) => + compileCapabilityResourceSource( + `import interface Collection; import interface TaskFacts; + package GenericQueries id "generic-queries" revision "generic-queries@1" { + query Rows id "rows-template" root Collection + document "rows.graphql" operation "Rows" { view object Item as TaskFacts; max rows 30; } + query TaskRows id "task-rows" specialize Rows; + }`, + { + source, + environment: { + interfaces: new Map([ + ["Collection", generic], + ["TaskFacts", facts], + ]), + interfaceClosure: [generic, facts], + }, + }, + ); + const result = build("implements TaskFacts"); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + if (result.resource.kind !== "package") throw new Error("package expected"); + const pkg = result.resource.revision; + assert.equal(pkg.queries?.length, 1); + assert.equal(pkg.queryTemplates?.length, 1); + assert.equal(pkg.queries![0]!.application!.templateId, "rows-template"); + const read = async () => `query Rows { root { items(first: 3) { entries { node { title } } } } }`; + const universal = await checkQueryTemplate(pkg.queryTemplates![0]!, [generic, facts], read); + assert.equal( + universal.effects.some((effect) => effect.memberId === "title"), + true, + ); + const specialized = await compileQuery( + pkg.queries![0]!, + [generic, facts, ...(result.resource.specializations ?? [])], + read, + ); + assert.equal( + specialized.effects.some((effect) => effect.memberId === "title"), + true, + ); + const invalid = build(""); + assert.ok(invalid.ok, JSON.stringify(invalid.diagnostics)); + if (invalid.resource.kind !== "package") throw new Error("package expected"); + await assert.rejects( + checkQueryTemplate(invalid.resource.revision.queryTemplates![0]!, [generic, facts], read), + /bound|guarantee|implement/i, + ); +}); function fixture(clauses = "") { const result = compileCapabilityResourceSource( `import interface Tasks; import interface TaskFacts; @@ -66,6 +125,40 @@ const document = `query Upcoming($first: Int!, $before: Int64!) { const compile = (query = document, row = "fragment Row on TaskFacts { title due }", clauses = "") => compileQuery(fixture(clauses), [collection, facts], async (name) => (name.endsWith("row.graphql") ? row : query)); +test("query dependency ports resolve exact exports without declaration ordering constraints", () => { + const result = compileCapabilityResourceSource( + `import interface Tasks; + package Queries id "queries" revision "queries@1" { + operation load id "read" : unit -> unit mode call receiver interfaces [Tasks] + requires { query upcoming id "upcoming-port" : Queries.Upcoming; }; + query Upcoming id "upcoming" root Tasks document "upcoming.graphql" operation "Upcoming" { max rows 30; } + }`, + { source, environment: { interfaces: new Map([["Tasks", collection]]), interfaceClosure: [collection, facts] } }, + ); + assert.ok(result.ok, JSON.stringify(result.diagnostics)); + assert.equal(result.resource.kind, "package"); + if (result.resource.kind !== "package") throw new Error("package expected"); + assert.deepEqual(result.resource.revision.exports[0]!.dependencyPorts[0]!.requirement, { + kind: "query", + packageRevisionId: "queries@1", + queryId: "upcoming", + }); +}); + +test("result types merge repeated selections and preserve conditional fragment fields", async () => { + const checked = await compile( + `query Upcoming($show: Boolean!) { + root { items(first: 3) { entries { node { title } } } } + root { items(first: 3) { entries { node { ...Row @include(if: $show) } } } } + }`, + "fragment Row on TaskFacts { due done }", + ); + const output = JSON.stringify(checked.output); + assert.match(output, /\"title\":\{\"kind\":\"scalar\",\"name\":\"string\"\}/); + assert.match(output, /\"done\":\{\"kind\":\"optional\",\"value\":\{\"kind\":\"scalar\",\"name\":\"bool\"\}\}/); + assert.match(output, /\"due\"/); +}); + test("fixed GraphQL yields exact effects, typed references and distinct query artifacts", async () => { const checked = await compile(); assert.deepEqual(checked.variables, { diff --git a/test/query-workspace.test.ts b/test/query-workspace.test.ts new file mode 100644 index 0000000..d30b120 --- /dev/null +++ b/test/query-workspace.test.ts @@ -0,0 +1,20 @@ +import assert from "node:assert/strict"; +import test from "node:test"; +import { queryWorkspaceFixture } from "./fixtures/query-workspace.js"; +import { linkQueries } from "../src/query/link.js"; + +test("query fixture links generic collections, both implementations, and native getter/RPC setter", async () => { + const { workspace } = await queryWorkspaceFixture(); + const query = workspace.linkedQueries.find((query) => query.id.endsWith(":upcoming"))!; + assert.ok(query); + assert.equal(query.fields.filter((field) => field.memberId === "title").length, 2); + assert.ok( + query.fields.filter((field) => field.memberId === "title").every((field) => field.binding.kind === "state"), + ); + const broken = structuredClone(workspace); + const facts = broken.interfaceImports.find((iface) => iface.displayName === "TaskFacts")!; + const title = facts.members.find((member) => member.id === "title")!; + assert.equal(title.kind, "value"); + delete title.queryRead; + assert.throws(() => linkQueries(broken), /changed/); +});