@panproto/core 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/coverage.d.ts +58 -0
- package/dist/coverage.d.ts.map +1 -0
- package/dist/enrichment.d.ts +146 -0
- package/dist/enrichment.d.ts.map +1 -0
- package/dist/expr.d.ts +145 -0
- package/dist/expr.d.ts.map +1 -0
- package/dist/index.cjs +536 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +536 -0
- package/dist/index.js.map +1 -1
- package/dist/panproto.d.ts +3 -1
- package/dist/panproto.d.ts.map +1 -1
- package/dist/types.d.ts +178 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { CoverageReport, OpticKind } from './types.js';
|
|
2
|
+
import { BuiltSchema } from './schema.js';
|
|
3
|
+
import { CompiledMigration } from './migration.js';
|
|
4
|
+
import { ProtolensChainHandle } from './lens.js';
|
|
5
|
+
import { Panproto } from './panproto.js';
|
|
6
|
+
/**
|
|
7
|
+
* Migration analysis utilities for dry-run testing and optic classification.
|
|
8
|
+
*
|
|
9
|
+
* Wraps a `Panproto` instance and provides coverage analysis for migrations
|
|
10
|
+
* and optic kind classification for protolens chains.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* const panproto = await Panproto.init();
|
|
15
|
+
* const analysis = new MigrationAnalysis(panproto);
|
|
16
|
+
*
|
|
17
|
+
* const report = analysis.dryRun(compiled, records, srcSchema, tgtSchema);
|
|
18
|
+
* console.log(`Coverage: ${(report.coverageRatio * 100).toFixed(1)}%`);
|
|
19
|
+
*
|
|
20
|
+
* const chain = panproto.protolensChain(srcSchema, tgtSchema);
|
|
21
|
+
* const kind = analysis.opticKind(chain, srcSchema);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class MigrationAnalysis {
|
|
25
|
+
#private;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new migration analysis instance.
|
|
28
|
+
*
|
|
29
|
+
* @param panproto - The Panproto instance providing WASM access
|
|
30
|
+
*/
|
|
31
|
+
constructor(panproto: Panproto);
|
|
32
|
+
/**
|
|
33
|
+
* Run a dry-run migration and return a coverage report.
|
|
34
|
+
*
|
|
35
|
+
* Tests each instance record against the compiled migration without
|
|
36
|
+
* persisting results, producing detailed failure information for
|
|
37
|
+
* records that cannot be migrated.
|
|
38
|
+
*
|
|
39
|
+
* @param compiled - The compiled migration to test
|
|
40
|
+
* @param instances - Array of instance records (plain objects)
|
|
41
|
+
* @param srcSchema - The source schema the instances conform to
|
|
42
|
+
* @param tgtSchema - The target schema
|
|
43
|
+
* @returns A coverage report with per-record success/failure data
|
|
44
|
+
*/
|
|
45
|
+
dryRun(compiled: CompiledMigration, instances: unknown[], srcSchema: BuiltSchema, tgtSchema: BuiltSchema): CoverageReport;
|
|
46
|
+
/**
|
|
47
|
+
* Classify the optic kind of a protolens chain.
|
|
48
|
+
*
|
|
49
|
+
* Determines whether the chain represents an isomorphism, lens, prism,
|
|
50
|
+
* affine transformation, or traversal based on its complement structure.
|
|
51
|
+
*
|
|
52
|
+
* @param chain - The protolens chain to classify
|
|
53
|
+
* @param schema - The schema to check the chain against
|
|
54
|
+
* @returns The optic kind classification
|
|
55
|
+
*/
|
|
56
|
+
opticKind(chain: ProtolensChainHandle, schema: BuiltSchema): OpticKind;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=coverage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coverage.d.ts","sourceRoot":"","sources":["../src/coverage.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAEV,cAAc,EAGd,SAAS,EACV,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAuJ9C;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,iBAAiB;;IAG5B;;;;OAIG;gBACS,QAAQ,EAAE,QAAQ;IAI9B;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,QAAQ,EAAE,iBAAiB,EAC3B,SAAS,EAAE,OAAO,EAAE,EACpB,SAAS,EAAE,WAAW,EACtB,SAAS,EAAE,WAAW,GACrB,cAAc;IAIjB;;;;;;;;;OASG;IACH,SAAS,CAAC,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,WAAW,GAAG,SAAS;CAGvE"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { Expr, ConflictStrategy, EnrichmentSummary } from './types.js';
|
|
2
|
+
import { BuiltSchema } from './schema.js';
|
|
3
|
+
/**
|
|
4
|
+
* An individual default enrichment entry.
|
|
5
|
+
*
|
|
6
|
+
* Binds a default expression to a vertex, used when forward migration
|
|
7
|
+
* encounters a missing value.
|
|
8
|
+
*/
|
|
9
|
+
interface DefaultEntry {
|
|
10
|
+
readonly vertex: string;
|
|
11
|
+
readonly expr: Expr;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* An individual coercion enrichment entry.
|
|
15
|
+
*
|
|
16
|
+
* Defines how to convert values from one kind to another.
|
|
17
|
+
*/
|
|
18
|
+
interface CoercionEntry {
|
|
19
|
+
readonly from: string;
|
|
20
|
+
readonly to: string;
|
|
21
|
+
readonly expr: Expr;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* An individual merger enrichment entry.
|
|
25
|
+
*
|
|
26
|
+
* Defines how to merge two values at a given vertex during conflict resolution.
|
|
27
|
+
*/
|
|
28
|
+
interface MergerEntry {
|
|
29
|
+
readonly vertex: string;
|
|
30
|
+
readonly expr: Expr;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* An individual conflict policy enrichment entry.
|
|
34
|
+
*
|
|
35
|
+
* Determines the strategy for resolving conflicts at a vertex.
|
|
36
|
+
*/
|
|
37
|
+
interface PolicyEntry {
|
|
38
|
+
readonly vertex: string;
|
|
39
|
+
readonly strategy: ConflictStrategy;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Immutable fluent builder for enriching a schema with default expressions,
|
|
43
|
+
* coercion functions, merge strategies, and conflict policies.
|
|
44
|
+
*
|
|
45
|
+
* Each mutation method returns a new `SchemaEnrichment` instance,
|
|
46
|
+
* leaving the original unchanged.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import { SchemaEnrichment } from '@panproto/core';
|
|
51
|
+
* import { ExprBuilder } from '@panproto/core';
|
|
52
|
+
*
|
|
53
|
+
* const enriched = new SchemaEnrichment(schema)
|
|
54
|
+
* .addDefault('post:title', ExprBuilder.lit({ type: 'str', value: 'Untitled' }))
|
|
55
|
+
* .addCoercion('int', 'float', ExprBuilder.builtin('IntToFloat', ExprBuilder.var_('x')))
|
|
56
|
+
* .addPolicy('post:body', { type: 'keep_left' })
|
|
57
|
+
* .build();
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare class SchemaEnrichment {
|
|
61
|
+
#private;
|
|
62
|
+
constructor(schema: BuiltSchema, defaults?: readonly DefaultEntry[], coercions?: readonly CoercionEntry[], mergers?: readonly MergerEntry[], policies?: readonly PolicyEntry[]);
|
|
63
|
+
/**
|
|
64
|
+
* Add a default expression for a vertex.
|
|
65
|
+
*
|
|
66
|
+
* The expression is evaluated when forward migration encounters a
|
|
67
|
+
* missing value at the given vertex.
|
|
68
|
+
*
|
|
69
|
+
* @param vertex - The vertex identifier to attach the default to
|
|
70
|
+
* @param expr - The default expression
|
|
71
|
+
* @returns A new enrichment with the default added
|
|
72
|
+
* @throws {@link PanprotoError} if the vertex is not in the schema
|
|
73
|
+
*/
|
|
74
|
+
addDefault(vertex: string, expr: Expr): SchemaEnrichment;
|
|
75
|
+
/**
|
|
76
|
+
* Add a coercion function between two value kinds.
|
|
77
|
+
*
|
|
78
|
+
* The expression defines how to convert values from `fromKind` to
|
|
79
|
+
* `toKind`. It receives a single argument (the source value) and
|
|
80
|
+
* must produce a value of the target kind.
|
|
81
|
+
*
|
|
82
|
+
* @param fromKind - Source value kind (e.g., 'int')
|
|
83
|
+
* @param toKind - Target value kind (e.g., 'float')
|
|
84
|
+
* @param expr - The coercion expression
|
|
85
|
+
* @returns A new enrichment with the coercion added
|
|
86
|
+
* @throws {@link PanprotoError} if a coercion for this pair already exists
|
|
87
|
+
*/
|
|
88
|
+
addCoercion(fromKind: string, toKind: string, expr: Expr): SchemaEnrichment;
|
|
89
|
+
/**
|
|
90
|
+
* Add a merger expression for a vertex.
|
|
91
|
+
*
|
|
92
|
+
* The expression defines how to merge two conflicting values at the
|
|
93
|
+
* given vertex. It receives two arguments (left and right values)
|
|
94
|
+
* and must produce a single merged value.
|
|
95
|
+
*
|
|
96
|
+
* @param vertex - The vertex identifier to attach the merger to
|
|
97
|
+
* @param expr - The merger expression
|
|
98
|
+
* @returns A new enrichment with the merger added
|
|
99
|
+
* @throws {@link PanprotoError} if the vertex is not in the schema
|
|
100
|
+
*/
|
|
101
|
+
addMerger(vertex: string, expr: Expr): SchemaEnrichment;
|
|
102
|
+
/**
|
|
103
|
+
* Add a conflict resolution policy for a vertex.
|
|
104
|
+
*
|
|
105
|
+
* @param vertex - The vertex identifier
|
|
106
|
+
* @param strategy - The conflict resolution strategy
|
|
107
|
+
* @returns A new enrichment with the policy added
|
|
108
|
+
* @throws {@link PanprotoError} if the vertex is not in the schema
|
|
109
|
+
*/
|
|
110
|
+
addPolicy(vertex: string, strategy: ConflictStrategy): SchemaEnrichment;
|
|
111
|
+
/**
|
|
112
|
+
* Remove the default expression for a vertex.
|
|
113
|
+
*
|
|
114
|
+
* @param vertex - The vertex identifier
|
|
115
|
+
* @returns A new enrichment with the default removed
|
|
116
|
+
* @throws {@link PanprotoError} if no default exists for the vertex
|
|
117
|
+
*/
|
|
118
|
+
removeDefault(vertex: string): SchemaEnrichment;
|
|
119
|
+
/**
|
|
120
|
+
* Remove the coercion function for a value kind pair.
|
|
121
|
+
*
|
|
122
|
+
* @param fromKind - Source value kind
|
|
123
|
+
* @param toKind - Target value kind
|
|
124
|
+
* @returns A new enrichment with the coercion removed
|
|
125
|
+
* @throws {@link PanprotoError} if no coercion exists for the pair
|
|
126
|
+
*/
|
|
127
|
+
removeCoercion(fromKind: string, toKind: string): SchemaEnrichment;
|
|
128
|
+
/**
|
|
129
|
+
* List all enrichments currently attached.
|
|
130
|
+
*
|
|
131
|
+
* @returns An enrichment summary with defaults, coercions, mergers, and policies
|
|
132
|
+
*/
|
|
133
|
+
listEnrichments(): EnrichmentSummary;
|
|
134
|
+
/**
|
|
135
|
+
* Build the enriched schema.
|
|
136
|
+
*
|
|
137
|
+
* Returns a new `BuiltSchema` with the enrichments recorded in the
|
|
138
|
+
* schema data. The underlying WASM handle is shared with the original
|
|
139
|
+
* schema (enrichments are metadata that the SDK tracks client-side).
|
|
140
|
+
*
|
|
141
|
+
* @returns A new BuiltSchema with enrichment metadata
|
|
142
|
+
*/
|
|
143
|
+
build(): BuiltSchema;
|
|
144
|
+
}
|
|
145
|
+
export {};
|
|
146
|
+
//# sourceMappingURL=enrichment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enrichment.d.ts","sourceRoot":"","sources":["../src/enrichment.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,IAAI,EACJ,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;;;;GAKG;AACH,UAAU,YAAY;I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B/C;;;;;;;OAOG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB;IAmBlE;;;;OAIG;IACH,eAAe,IAAI,iBAAiB;IASpC;;;;;;;;OAQG;IACH,KAAK,IAAI,WAAW;CAyErB"}
|
package/dist/expr.d.ts
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { Expr, Literal, Pattern, BuiltinOp } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Static factory for constructing expression AST nodes.
|
|
4
|
+
*
|
|
5
|
+
* All methods return immutable {@link Expr} values suitable for use in
|
|
6
|
+
* schema enrichments, directed equations, and conflict policies.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import { ExprBuilder as E } from '@panproto/core';
|
|
11
|
+
*
|
|
12
|
+
* // Lambda that adds 1 to its argument
|
|
13
|
+
* const addOne = E.lam('x', E.add(E.var_('x'), E.lit({ type: 'int', value: 1 })));
|
|
14
|
+
*
|
|
15
|
+
* // Record literal
|
|
16
|
+
* const record = E.record({ name: E.lit({ type: 'str', value: 'default' }) });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare class ExprBuilder {
|
|
20
|
+
/** This class is not instantiable; all methods are static. */
|
|
21
|
+
private constructor();
|
|
22
|
+
/**
|
|
23
|
+
* Create a variable reference expression.
|
|
24
|
+
*
|
|
25
|
+
* @param name - The variable name to reference
|
|
26
|
+
* @returns A variable expression node
|
|
27
|
+
*/
|
|
28
|
+
static var_(name: string): Expr;
|
|
29
|
+
/**
|
|
30
|
+
* Create a literal expression.
|
|
31
|
+
*
|
|
32
|
+
* @param value - The literal value
|
|
33
|
+
* @returns A literal expression node
|
|
34
|
+
*/
|
|
35
|
+
static lit(value: Literal): Expr;
|
|
36
|
+
/**
|
|
37
|
+
* Create a lambda (anonymous function) expression.
|
|
38
|
+
*
|
|
39
|
+
* @param param - The parameter name
|
|
40
|
+
* @param body - The function body expression
|
|
41
|
+
* @returns A lambda expression node
|
|
42
|
+
*/
|
|
43
|
+
static lam(param: string, body: Expr): Expr;
|
|
44
|
+
/**
|
|
45
|
+
* Create a function application expression.
|
|
46
|
+
*
|
|
47
|
+
* When multiple arguments are provided, they are applied left-to-right
|
|
48
|
+
* via currying: `app(f, a, b)` becomes `app(app(f, a), b)`.
|
|
49
|
+
*
|
|
50
|
+
* @param func - The function expression
|
|
51
|
+
* @param args - One or more argument expressions
|
|
52
|
+
* @returns An application expression node (possibly nested)
|
|
53
|
+
*/
|
|
54
|
+
static app(func: Expr, ...args: Expr[]): Expr;
|
|
55
|
+
/**
|
|
56
|
+
* Create a let-binding expression.
|
|
57
|
+
*
|
|
58
|
+
* Binds `value` to `name` in the scope of `body`.
|
|
59
|
+
*
|
|
60
|
+
* @param name - The variable name to bind
|
|
61
|
+
* @param value - The value expression to bind
|
|
62
|
+
* @param body - The body expression where the binding is in scope
|
|
63
|
+
* @returns A let expression node
|
|
64
|
+
*/
|
|
65
|
+
static let_(name: string, value: Expr, body: Expr): Expr;
|
|
66
|
+
/**
|
|
67
|
+
* Create a field access expression.
|
|
68
|
+
*
|
|
69
|
+
* @param expr - The record expression to access
|
|
70
|
+
* @param name - The field name
|
|
71
|
+
* @returns A field access expression node
|
|
72
|
+
*/
|
|
73
|
+
static field(expr: Expr, name: string): Expr;
|
|
74
|
+
/**
|
|
75
|
+
* Create a record literal expression.
|
|
76
|
+
*
|
|
77
|
+
* @param fields - A mapping of field names to expressions
|
|
78
|
+
* @returns A record expression node
|
|
79
|
+
*/
|
|
80
|
+
static record(fields: Record<string, Expr>): Expr;
|
|
81
|
+
/**
|
|
82
|
+
* Create a list literal expression.
|
|
83
|
+
*
|
|
84
|
+
* @param items - The list element expressions
|
|
85
|
+
* @returns A list expression node
|
|
86
|
+
*/
|
|
87
|
+
static list(...items: Expr[]): Expr;
|
|
88
|
+
/**
|
|
89
|
+
* Create a pattern-match expression.
|
|
90
|
+
*
|
|
91
|
+
* @param scrutinee - The expression to match against
|
|
92
|
+
* @param arms - Pattern-expression pairs tried in order
|
|
93
|
+
* @returns A match expression node
|
|
94
|
+
*/
|
|
95
|
+
static match_(scrutinee: Expr, arms: [Pattern, Expr][]): Expr;
|
|
96
|
+
/**
|
|
97
|
+
* Create a builtin operation expression.
|
|
98
|
+
*
|
|
99
|
+
* @param op - The builtin operation name
|
|
100
|
+
* @param args - Argument expressions for the operation
|
|
101
|
+
* @returns A builtin expression node
|
|
102
|
+
*/
|
|
103
|
+
static builtin(op: BuiltinOp, ...args: Expr[]): Expr;
|
|
104
|
+
/**
|
|
105
|
+
* Create an index expression for list or record access.
|
|
106
|
+
*
|
|
107
|
+
* @param expr - The collection expression
|
|
108
|
+
* @param index - The index expression
|
|
109
|
+
* @returns An index expression node
|
|
110
|
+
*/
|
|
111
|
+
static index(expr: Expr, index: Expr): Expr;
|
|
112
|
+
/**
|
|
113
|
+
* Add two expressions.
|
|
114
|
+
*
|
|
115
|
+
* @param a - Left operand
|
|
116
|
+
* @param b - Right operand
|
|
117
|
+
* @returns A builtin 'Add' expression
|
|
118
|
+
*/
|
|
119
|
+
static add(a: Expr, b: Expr): Expr;
|
|
120
|
+
/**
|
|
121
|
+
* Subtract two expressions.
|
|
122
|
+
*
|
|
123
|
+
* @param a - Left operand
|
|
124
|
+
* @param b - Right operand
|
|
125
|
+
* @returns A builtin 'Sub' expression
|
|
126
|
+
*/
|
|
127
|
+
static sub(a: Expr, b: Expr): Expr;
|
|
128
|
+
/**
|
|
129
|
+
* Multiply two expressions.
|
|
130
|
+
*
|
|
131
|
+
* @param a - Left operand
|
|
132
|
+
* @param b - Right operand
|
|
133
|
+
* @returns A builtin 'Mul' expression
|
|
134
|
+
*/
|
|
135
|
+
static mul(a: Expr, b: Expr): Expr;
|
|
136
|
+
/**
|
|
137
|
+
* Concatenate two expressions (strings or lists).
|
|
138
|
+
*
|
|
139
|
+
* @param a - Left operand
|
|
140
|
+
* @param b - Right operand
|
|
141
|
+
* @returns A builtin 'Concat' expression
|
|
142
|
+
*/
|
|
143
|
+
static concat(a: Expr, b: Expr): Expr;
|
|
144
|
+
}
|
|
145
|
+
//# sourceMappingURL=expr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expr.d.ts","sourceRoot":"","sources":["../src/expr.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEpE;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,WAAW;IACtB,8DAA8D;IAC9D,OAAO;IAIP;;;;;OAKG;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAI/B;;;;;OAKG;IACH,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAIhC;;;;;;OAMG;IACH,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI;IAI3C;;;;;;;;;OASG;IACH,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI;IAQ7C;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI;IAIxD;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAI5C;;;;;OAKG;IACH,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI;IAKjD;;;;;OAKG;IACH,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI;IAInC;;;;;;O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