@contractkit/plugin-typescript 0.19.1 → 0.21.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/.turbo/turbo-build$colon$ci.log +6 -6
- package/.turbo/turbo-test$colon$ci.log +15 -15
- package/CHANGELOG.md +27 -0
- package/coverage/clover.xml +432 -394
- package/coverage/coverage-final.json +3 -3
- package/coverage/index.html +17 -17
- package/coverage/src/codegen-contract.ts.html +1 -1
- package/coverage/src/codegen-operation.ts.html +1 -1
- package/coverage/src/codegen-plain-types.ts.html +1 -1
- package/coverage/src/codegen-sdk.ts.html +291 -180
- package/coverage/src/index.html +36 -36
- package/coverage/src/index.ts.html +291 -81
- package/coverage/src/path-utils.ts.html +109 -13
- package/coverage/src/ts-render.ts.html +1 -1
- package/coverage/tests/helpers.ts.html +1 -1
- package/coverage/tests/index.html +1 -1
- package/dist/codegen-sdk.d.ts +40 -15
- package/dist/codegen-sdk.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +190 -99
- package/dist/index.js.map +1 -1
- package/dist/path-utils.d.ts +11 -0
- package/dist/path-utils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/codegen-sdk.ts +133 -96
- package/src/index.ts +114 -44
- package/src/path-utils.ts +32 -0
- package/tests/codegen-sdk.test.ts +73 -78
- package/tests/codegen-server.test.ts +29 -16
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">41.04% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>55/134</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">31.32% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>26/83</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">78.57% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>11/14</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">42.47% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>48/113</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -251,19 +251,51 @@
|
|
|
251
251
|
<a name='L186'></a><a href='#L186'>186</a>
|
|
252
252
|
<a name='L187'></a><a href='#L187'>187</a>
|
|
253
253
|
<a name='L188'></a><a href='#L188'>188</a>
|
|
254
|
-
<a name='L189'></a><a href='#L189'>189</a
|
|
254
|
+
<a name='L189'></a><a href='#L189'>189</a>
|
|
255
|
+
<a name='L190'></a><a href='#L190'>190</a>
|
|
256
|
+
<a name='L191'></a><a href='#L191'>191</a>
|
|
257
|
+
<a name='L192'></a><a href='#L192'>192</a>
|
|
258
|
+
<a name='L193'></a><a href='#L193'>193</a>
|
|
259
|
+
<a name='L194'></a><a href='#L194'>194</a>
|
|
260
|
+
<a name='L195'></a><a href='#L195'>195</a>
|
|
261
|
+
<a name='L196'></a><a href='#L196'>196</a>
|
|
262
|
+
<a name='L197'></a><a href='#L197'>197</a>
|
|
263
|
+
<a name='L198'></a><a href='#L198'>198</a>
|
|
264
|
+
<a name='L199'></a><a href='#L199'>199</a>
|
|
265
|
+
<a name='L200'></a><a href='#L200'>200</a>
|
|
266
|
+
<a name='L201'></a><a href='#L201'>201</a>
|
|
267
|
+
<a name='L202'></a><a href='#L202'>202</a>
|
|
268
|
+
<a name='L203'></a><a href='#L203'>203</a>
|
|
269
|
+
<a name='L204'></a><a href='#L204'>204</a>
|
|
270
|
+
<a name='L205'></a><a href='#L205'>205</a>
|
|
271
|
+
<a name='L206'></a><a href='#L206'>206</a>
|
|
272
|
+
<a name='L207'></a><a href='#L207'>207</a>
|
|
273
|
+
<a name='L208'></a><a href='#L208'>208</a>
|
|
274
|
+
<a name='L209'></a><a href='#L209'>209</a>
|
|
275
|
+
<a name='L210'></a><a href='#L210'>210</a>
|
|
276
|
+
<a name='L211'></a><a href='#L211'>211</a>
|
|
277
|
+
<a name='L212'></a><a href='#L212'>212</a>
|
|
278
|
+
<a name='L213'></a><a href='#L213'>213</a>
|
|
279
|
+
<a name='L214'></a><a href='#L214'>214</a>
|
|
280
|
+
<a name='L215'></a><a href='#L215'>215</a>
|
|
281
|
+
<a name='L216'></a><a href='#L216'>216</a>
|
|
282
|
+
<a name='L217'></a><a href='#L217'>217</a>
|
|
283
|
+
<a name='L218'></a><a href='#L218'>218</a>
|
|
284
|
+
<a name='L219'></a><a href='#L219'>219</a>
|
|
285
|
+
<a name='L220'></a><a href='#L220'>220</a>
|
|
286
|
+
<a name='L221'></a><a href='#L221'>221</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
255
287
|
<span class="cline-any cline-neutral"> </span>
|
|
256
288
|
<span class="cline-any cline-neutral"> </span>
|
|
257
289
|
<span class="cline-any cline-neutral"> </span>
|
|
258
290
|
<span class="cline-any cline-yes">1x</span>
|
|
259
291
|
<span class="cline-any cline-neutral"> </span>
|
|
260
292
|
<span class="cline-any cline-neutral"> </span>
|
|
261
|
-
<span class="cline-any cline-yes">
|
|
293
|
+
<span class="cline-any cline-yes">22x</span>
|
|
262
294
|
<span class="cline-any cline-neutral"> </span>
|
|
263
295
|
<span class="cline-any cline-neutral"> </span>
|
|
264
296
|
<span class="cline-any cline-neutral"> </span>
|
|
265
|
-
<span class="cline-any cline-yes">
|
|
266
|
-
<span class="cline-any cline-yes">
|
|
297
|
+
<span class="cline-any cline-yes">15x</span>
|
|
298
|
+
<span class="cline-any cline-yes">15x</span>
|
|
267
299
|
<span class="cline-any cline-neutral"> </span>
|
|
268
300
|
<span class="cline-any cline-neutral"> </span>
|
|
269
301
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -356,6 +388,38 @@
|
|
|
356
388
|
<span class="cline-any cline-neutral"> </span>
|
|
357
389
|
<span class="cline-any cline-neutral"> </span>
|
|
358
390
|
<span class="cline-any cline-neutral"> </span>
|
|
391
|
+
<span class="cline-any cline-neutral"> </span>
|
|
392
|
+
<span class="cline-any cline-neutral"> </span>
|
|
393
|
+
<span class="cline-any cline-neutral"> </span>
|
|
394
|
+
<span class="cline-any cline-neutral"> </span>
|
|
395
|
+
<span class="cline-any cline-yes">3x</span>
|
|
396
|
+
<span class="cline-any cline-yes">3x</span>
|
|
397
|
+
<span class="cline-any cline-yes">3x</span>
|
|
398
|
+
<span class="cline-any cline-yes">3x</span>
|
|
399
|
+
<span class="cline-any cline-yes">3x</span>
|
|
400
|
+
<span class="cline-any cline-yes">3x</span>
|
|
401
|
+
<span class="cline-any cline-yes">3x</span>
|
|
402
|
+
<span class="cline-any cline-neutral"> </span>
|
|
403
|
+
<span class="cline-any cline-yes">3x</span>
|
|
404
|
+
<span class="cline-any cline-yes">3x</span>
|
|
405
|
+
<span class="cline-any cline-yes">3x</span>
|
|
406
|
+
<span class="cline-any cline-yes">3x</span>
|
|
407
|
+
<span class="cline-any cline-no"> </span>
|
|
408
|
+
<span class="cline-any cline-neutral"> </span>
|
|
409
|
+
<span class="cline-any cline-no"> </span>
|
|
410
|
+
<span class="cline-any cline-no"> </span>
|
|
411
|
+
<span class="cline-any cline-no"> </span>
|
|
412
|
+
<span class="cline-any cline-neutral"> </span>
|
|
413
|
+
<span class="cline-any cline-no"> </span>
|
|
414
|
+
<span class="cline-any cline-neutral"> </span>
|
|
415
|
+
<span class="cline-any cline-neutral"> </span>
|
|
416
|
+
<span class="cline-any cline-neutral"> </span>
|
|
417
|
+
<span class="cline-any cline-neutral"> </span>
|
|
418
|
+
<span class="cline-any cline-neutral"> </span>
|
|
419
|
+
<span class="cline-any cline-neutral"> </span>
|
|
420
|
+
<span class="cline-any cline-neutral"> </span>
|
|
421
|
+
<span class="cline-any cline-neutral"> </span>
|
|
422
|
+
<span class="cline-any cline-neutral"> </span>
|
|
359
423
|
<span class="cline-any cline-no"> </span>
|
|
360
424
|
<span class="cline-any cline-no"> </span>
|
|
361
425
|
<span class="cline-any cline-no"> </span>
|
|
@@ -537,6 +601,38 @@ export function computeSdkOutPath(
|
|
|
537
601
|
<span class="cstat-no" title="statement not covered" > return join(baseOutDir, relDir, defaultOutName);</span>
|
|
538
602
|
}
|
|
539
603
|
|
|
604
|
+
/**
|
|
605
|
+
* Resolve the output path for a synthesized `<area>.client.ts` — the file holding the
|
|
606
|
+
* `<Area>Client` class that aggregates an area's inlined methods and subarea wiring.
|
|
607
|
+
*
|
|
608
|
+
* Uses the same `output.clients` template as leaf clients, with `{filename}` and `{area}`
|
|
609
|
+
* substituted to the area name and `{subarea}` substituted to the empty string. Resulting
|
|
610
|
+
* double-slashes from the empty substitution are collapsed, and a final segment that
|
|
611
|
+
* would otherwise begin with a dot (e.g. `.client.ts` from `{subarea}.client.ts`) is
|
|
612
|
+
* prefixed with the area so the file isn't hidden.
|
|
613
|
+
*/
|
|
614
|
+
export function computeSdkAreaClientOutPath(area: string, rootDir: string, clientOutput: string | undefined): string {
|
|
615
|
+
const filename = area;
|
|
616
|
+
const baseOutDir = resolve(rootDir);
|
|
617
|
+
const fixHiddenSegment = (path: string): string => {
|
|
618
|
+
const segments = path.split('/');
|
|
619
|
+
const last = segments[segments.length - 1] ?? <span class="branch-1 cbranch-no" title="branch not covered" >'';</span>
|
|
620
|
+
if (last.startsWith('.')) segments[segments.length - 1] = `${filename}${last}`;
|
|
621
|
+
return segments.join('/');
|
|
622
|
+
};
|
|
623
|
+
<span class="missing-if-branch" title="else path not taken" >E</span>if (clientOutput && TEMPLATE_VAR_RE.test(clientOutput)) {
|
|
624
|
+
const resolved = resolveTemplate(clientOutput, { filename, dir: '', ext: 'ck', area, subarea: '' });
|
|
625
|
+
const cleaned = fixHiddenSegment(resolved.replace(/\/+/g, '/').replace(/^\//, ''));
|
|
626
|
+
<span class="missing-if-branch" title="else path not taken" >E</span>if (includesFilename(cleaned)) return join(baseOutDir, cleaned);
|
|
627
|
+
<span class="cstat-no" title="statement not covered" > return join(baseOutDir, cleaned, `${filename}.client.ts`);</span>
|
|
628
|
+
}
|
|
629
|
+
<span class="cstat-no" title="statement not covered" > if (clientOutput) {</span>
|
|
630
|
+
<span class="cstat-no" title="statement not covered" > if (includesFilename(clientOutput)) <span class="cstat-no" title="statement not covered" >return join(baseOutDir, clientOutput);</span></span>
|
|
631
|
+
<span class="cstat-no" title="statement not covered" > return join(baseOutDir, clientOutput, `${filename}.client.ts`);</span>
|
|
632
|
+
}
|
|
633
|
+
<span class="cstat-no" title="statement not covered" > return join(baseOutDir, `${filename}.client.ts`);</span>
|
|
634
|
+
}
|
|
635
|
+
|
|
540
636
|
export function <span class="fstat-no" title="function not covered" >computeSdkTypeOutPath(</span>
|
|
541
637
|
filePath: string,
|
|
542
638
|
rootDir: string,
|
|
@@ -634,7 +730,7 @@ export function <span class="fstat-no" title="function not covered" >computePubl
|
|
|
634
730
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
635
731
|
Code coverage generated by
|
|
636
732
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
637
|
-
at 2026-05-07T11:
|
|
733
|
+
at 2026-05-07T11:53:53.335Z
|
|
638
734
|
</div>
|
|
639
735
|
<script src="../prettify.js"></script>
|
|
640
736
|
<script>
|
|
@@ -577,7 +577,7 @@ export function renderOutputTsType(type: ContractTypeNode, modelsWithOutput?: Se
|
|
|
577
577
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
578
578
|
Code coverage generated by
|
|
579
579
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
580
|
-
at 2026-05-07T11:
|
|
580
|
+
at 2026-05-07T11:53:53.335Z
|
|
581
581
|
</div>
|
|
582
582
|
<script src="../prettify.js"></script>
|
|
583
583
|
<script>
|
|
@@ -811,7 +811,7 @@ operation /users/{id}: {
|
|
|
811
811
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
812
812
|
Code coverage generated by
|
|
813
813
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
814
|
-
at 2026-05-07T11:
|
|
814
|
+
at 2026-05-07T11:53:53.335Z
|
|
815
815
|
</div>
|
|
816
816
|
<script src="../prettify.js"></script>
|
|
817
817
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2026-05-07T11:
|
|
104
|
+
at 2026-05-07T11:53:53.335Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
package/dist/codegen-sdk.d.ts
CHANGED
|
@@ -89,25 +89,24 @@ export interface SdkClientInfo {
|
|
|
89
89
|
importPath: string;
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* One area-level (no-subarea) `.ck` file whose methods are
|
|
93
|
-
*
|
|
92
|
+
* One area-level (no-subarea) `.ck` file whose methods are merged into the area's
|
|
93
|
+
* `<Area>Client` (emitted to its own `<area>.client.ts`).
|
|
94
94
|
*/
|
|
95
95
|
export interface SdkAreaInlineFile {
|
|
96
96
|
/** Parsed AST. */
|
|
97
97
|
root: OpRootNode;
|
|
98
|
-
/** Codegen options for this file (must have `outPath` pointing at the
|
|
98
|
+
/** Codegen options for this file (must have `outPath` pointing at the area client file so type-import paths resolve correctly). */
|
|
99
99
|
codegenOptions: SdkCodegenOptions;
|
|
100
100
|
}
|
|
101
101
|
/** A grouping of files that share the same `keys.area`. */
|
|
102
102
|
export interface SdkAreaInfo {
|
|
103
103
|
area: string;
|
|
104
|
-
/**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}[];
|
|
104
|
+
/**
|
|
105
|
+
* Reference to the `<Area>Client` class — the file that holds it lives at
|
|
106
|
+
* `client.importPath` (relative to `sdk.ts`) and is generated separately by
|
|
107
|
+
* {@link generateAreaClient}. The aggregator just imports it.
|
|
108
|
+
*/
|
|
109
|
+
client: SdkClientInfo;
|
|
111
110
|
}
|
|
112
111
|
export interface SdkAggregatorInput {
|
|
113
112
|
/** Files with no `keys.area` — kept as flat `Sdk.<filename>` properties (legacy behavior). */
|
|
@@ -119,14 +118,40 @@ export interface SdkAggregatorInput {
|
|
|
119
118
|
/** Name of the top-level aggregator class. Defaults to `Sdk`. */
|
|
120
119
|
sdkClassName?: string;
|
|
121
120
|
}
|
|
121
|
+
/** Inputs to {@link generateAreaClient}. */
|
|
122
|
+
export interface AreaClientInput {
|
|
123
|
+
/** Area name (e.g. `payments`). Drives the generated class name (`PaymentsClient`). */
|
|
124
|
+
area: string;
|
|
125
|
+
/** Output path of the generated `<area>.client.ts` file. Used to resolve relative type / leaf-client / sdk-options imports. */
|
|
126
|
+
outPath: string;
|
|
127
|
+
/** Files contributing inlined methods to the area client (typically area-level files with no subarea). */
|
|
128
|
+
inlineFiles: SdkAreaInlineFile[];
|
|
129
|
+
/** Subarea leaf clients exposed as named properties on the area client. */
|
|
130
|
+
subareaClients: {
|
|
131
|
+
propertyName: string;
|
|
132
|
+
client: SdkClientInfo;
|
|
133
|
+
}[];
|
|
134
|
+
/** Path to `sdk-options.ts`, used for `SdkFetch` and runtime helpers. */
|
|
135
|
+
sdkOptionsPath: string;
|
|
136
|
+
}
|
|
122
137
|
/**
|
|
123
|
-
* Generate
|
|
138
|
+
* Generate a complete `<area>.client.ts` file: the `<Area>Client` class with
|
|
139
|
+
* subarea property fields, a constructor that wires them, and inlined methods
|
|
140
|
+
* merged from every area-level file in `inlineFiles`.
|
|
124
141
|
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
142
|
+
* Emitted by the plugin alongside the per-leaf `*.client.ts` files. The SDK
|
|
143
|
+
* aggregator just imports the resulting class — see {@link generateSdkAggregator}.
|
|
144
|
+
*
|
|
145
|
+
* @throws if two area-level files contribute the same method name to the area —
|
|
146
|
+
* disambiguate via `sdk:` on the operation, or move one into a subarea.
|
|
147
|
+
*/
|
|
148
|
+
export declare function generateAreaClient(input: AreaClientInput): string;
|
|
149
|
+
/**
|
|
150
|
+
* Generate the SDK aggregator (`sdk.ts`) — the entry-point file consumers import.
|
|
128
151
|
*
|
|
129
|
-
*
|
|
152
|
+
* Imports every `<Area>Client` (one per area, generated by {@link generateAreaClient}
|
|
153
|
+
* to its own `<area>.client.ts`) and every leaf top-level client, then emits a
|
|
154
|
+
* `class Sdk` that exposes them as properties.
|
|
130
155
|
*/
|
|
131
156
|
export declare function generateSdkAggregator(input: SdkAggregatorInput): string;
|
|
132
157
|
//# sourceMappingURL=codegen-sdk.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codegen-sdk.d.ts","sourceRoot":"","sources":["../src/codegen-sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAkF,MAAM,mBAAmB,CAAC;AA2DpI,+DAA+D;AAC/D,MAAM,WAAW,iBAAiB;IAC9B,6GAA6G;IAC7G,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,6FAA6F;IAC7F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sFAAsF;IACtF,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,8GAA8G;IAC9G,cAAc,CAAC,EAAE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mI;IACnI,cAAc,EAAE,iBAAiB,CAAC;CACrC;AAED,2DAA2D;AAC3D,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,aAAa,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IAC/B,8FAA8F;IAC9F,eAAe,EAAE,aAAa,EAAE,CAAC;IACjC,iCAAiC;IACjC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,kFAAkF;IAClF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,4CAA4C;AAC5C,MAAM,WAAW,eAAe;IAC5B,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;IACb,+HAA+H;IAC/H,OAAO,EAAE,MAAM,CAAC;IAChB,0GAA0G;IAC1G,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,2EAA2E;IAC3E,cAAc,EAAE;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,aAAa,CAAA;KAAE,EAAE,CAAC;IAClE,yEAAyE;IACzE,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CA8GjE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,CAyCvE"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACR,iBAAiB,EAQpB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACR,iBAAiB,EAQpB,MAAM,mBAAmB,CAAC;A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