@flock/wirespec 0.11.9 → 0.12.2
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/arrow-arrow-annotations.mjs +4 -0
- package/{kotlinx-io-kotlinx-io-bytestring.js.map → arrow-arrow-annotations.mjs.map} +1 -1
- package/arrow-arrow-atomic.mjs +43 -0
- package/arrow-arrow-atomic.mjs.map +1 -0
- package/arrow-arrow-continuations.mjs +18 -0
- package/{kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map → arrow-arrow-continuations.mjs.map} +1 -1
- package/arrow-arrow-core.mjs +532 -0
- package/arrow-arrow-core.mjs.map +1 -0
- package/clikt-clikt.mjs +6648 -0
- package/clikt-clikt.mjs.map +1 -0
- package/colormath-root-colormath.mjs +1696 -0
- package/colormath-root-colormath.mjs.map +1 -0
- package/kotlin-kotlin-stdlib.mjs +13106 -0
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin-openapi-bindings.mjs +13769 -0
- package/kotlin-openapi-bindings.mjs.map +1 -0
- package/kotlin-rgxgen.mjs +4298 -0
- package/kotlin-rgxgen.mjs.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
- package/{arrow-arrow-annotations.js.map → kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map} +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +4 -0
- package/{kotlin-kotlin-test.js.map → kotlinx-io-kotlinx-io-bytestring.mjs.map} +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +2201 -0
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +5880 -0
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +5109 -0
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/markdown.mjs +6753 -0
- package/markdown.mjs.map +1 -0
- package/mordant-mordant.mjs +11839 -0
- package/mordant-mordant.mjs.map +1 -0
- package/package.json +4 -6
- package/wirespec-bin.mjs +18 -0
- package/wirespec-src-compiler-core.mjs +8313 -0
- package/wirespec-src-compiler-core.mjs.map +1 -0
- package/wirespec-src-compiler-lib.mjs +2565 -0
- package/wirespec-src-compiler-lib.mjs.map +1 -0
- package/wirespec-src-converter-avro.mjs +1933 -0
- package/wirespec-src-converter-avro.mjs.map +1 -0
- package/wirespec-src-converter-openapi.mjs +5301 -0
- package/wirespec-src-converter-openapi.mjs.map +1 -0
- package/wirespec-src-plugin-arguments.mjs +587 -0
- package/wirespec-src-plugin-arguments.mjs.map +1 -0
- package/wirespec-src-plugin-cli.mjs +1487 -0
- package/wirespec-src-plugin-cli.mjs.map +1 -0
- package/wirespec-src-plugin-npm.d.ts +485 -466
- package/wirespec-src-plugin-npm.mjs +622 -0
- package/wirespec-src-plugin-npm.mjs.map +1 -0
- package/wirespec-src-tools-generator.mjs +284 -0
- package/wirespec-src-tools-generator.mjs.map +1 -0
- package/arrow-arrow-annotations.js +0 -15
- package/arrow-arrow-atomic.js +0 -55
- package/arrow-arrow-atomic.js.map +0 -1
- package/arrow-arrow-continuations.js +0 -30
- package/arrow-arrow-continuations.js.map +0 -1
- package/arrow-arrow-core.js +0 -410
- package/arrow-arrow-core.js.map +0 -1
- package/clikt-clikt.js +0 -6713
- package/clikt-clikt.js.map +0 -1
- package/colormath-root-colormath.js +0 -1727
- package/colormath-root-colormath.js.map +0 -1
- package/kotlin-kotlin-stdlib.js +0 -13263
- package/kotlin-kotlin-stdlib.js.map +0 -1
- package/kotlin-kotlin-test.js +0 -15
- package/kotlin-openapi-bindings.js +0 -13787
- package/kotlin-openapi-bindings.js.map +0 -1
- package/kotlin-rgxgen.js +0 -4315
- package/kotlin-rgxgen.js.map +0 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -15
- package/kotlinx-io-kotlinx-io-bytestring.js +0 -15
- package/kotlinx-io-kotlinx-io-core.js +0 -2219
- package/kotlinx-io-kotlinx-io-core.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +0 -5914
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +0 -5126
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
- package/markdown.js +0 -6768
- package/markdown.js.map +0 -1
- package/mordant-mordant.js +0 -11981
- package/mordant-mordant.js.map +0 -1
- package/resources-library.js +0 -15
- package/resources-library.js.map +0 -1
- package/wirespec-bin.js +0 -3
- package/wirespec-src-compiler-core.js +0 -7894
- package/wirespec-src-compiler-core.js.map +0 -1
- package/wirespec-src-compiler-lib.js +0 -2603
- package/wirespec-src-compiler-lib.js.map +0 -1
- package/wirespec-src-converter-avro.js +0 -1650
- package/wirespec-src-converter-avro.js.map +0 -1
- package/wirespec-src-converter-openapi.js +0 -5366
- package/wirespec-src-converter-openapi.js.map +0 -1
- package/wirespec-src-plugin-arguments.js +0 -640
- package/wirespec-src-plugin-arguments.js.map +0 -1
- package/wirespec-src-plugin-cli.js +0 -1222
- package/wirespec-src-plugin-cli.js.map +0 -1
- package/wirespec-src-plugin-npm.js +0 -480
- package/wirespec-src-plugin-npm.js.map +0 -1
- package/wirespec-src-tools-generator.js +0 -306
- package/wirespec-src-tools-generator.js.map +0 -1
|
@@ -0,0 +1,622 @@
|
|
|
1
|
+
import {
|
|
2
|
+
THROW_IAE23kobfj9wdoxr as THROW_IAE,
|
|
3
|
+
Unit_instance14hm69wy3kr8u as Unit_instance,
|
|
4
|
+
Enum3alwj03lh1n41 as Enum,
|
|
5
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
6
|
+
defineProp3hxgpk2knu2px as defineProp,
|
|
7
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
8
|
+
VOID7hggqo3abtya as VOID,
|
|
9
|
+
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
10
|
+
ArrayList_init_$Create$3m1kyiqequwm5 as ArrayList_init_$Create$,
|
|
11
|
+
copyToArray2j022khrow2yi as copyToArray,
|
|
12
|
+
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
13
|
+
toString1pkumu07cwy4m as toString,
|
|
14
|
+
IllegalStateException_init_$Create$1nm9y6jd3c9iy as IllegalStateException_init_$Create$,
|
|
15
|
+
listOfvhqybd2zx248 as listOf,
|
|
16
|
+
KtList3hktaavzmj137 as KtList,
|
|
17
|
+
getKClass1s3j9wy1cofik as getKClass,
|
|
18
|
+
arrayOf1akklvh2at202 as arrayOf,
|
|
19
|
+
createKType1lgox3mzhchp5 as createKType,
|
|
20
|
+
createInvariantKTypeProjection3sfd0u0y62ozd as createInvariantKTypeProjection,
|
|
21
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
22
|
+
isInterface3d6p8outrmvmk as isInterface,
|
|
23
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
24
|
+
import {
|
|
25
|
+
KotlinShared_getInstance114scpqa1akim as KotlinShared_getInstance,
|
|
26
|
+
JavaShared_getInstance39az9bxbzjcau as JavaShared_getInstance,
|
|
27
|
+
ScalaShared_getInstance2o4p7v3l7c5um as ScalaShared_getInstance,
|
|
28
|
+
TypeScriptShared_getInstance1bw05v0xeggat as TypeScriptShared_getInstance,
|
|
29
|
+
WirespecSpec_getInstance1f3kvr92zi4ov as WirespecSpec_getInstance,
|
|
30
|
+
tokenize2ymgjd76lr1sl as tokenize,
|
|
31
|
+
parse3fl6l5wpdax7w as parse,
|
|
32
|
+
WirespecEmitterzy8hsjgf4ddx as WirespecEmitter,
|
|
33
|
+
get_noLogger1h44wq0vgj38h as get_noLogger,
|
|
34
|
+
TypeScriptEmitter15xnhgx1fp785 as TypeScriptEmitter,
|
|
35
|
+
PackageName35p0zgv8tekor as PackageName,
|
|
36
|
+
JavaEmitter1iajkiqm8e1w2 as JavaEmitter,
|
|
37
|
+
KotlinEmitter3u2bd89c6zjpn as KotlinEmitter,
|
|
38
|
+
ScalaEmittergcrbho15xuc5 as ScalaEmitter,
|
|
39
|
+
get_spec3cnzsbb1ufwje as get_spec,
|
|
40
|
+
get_logger18kl6wyy7pz6k as get_logger,
|
|
41
|
+
HasLanguageSpec1fo5x3q6dcifj as HasLanguageSpec,
|
|
42
|
+
NoLoggero51bdi3we1s0 as NoLogger,
|
|
43
|
+
Emitted3cm6ez40hij29 as Emitted,
|
|
44
|
+
} from './wirespec-src-compiler-core.mjs';
|
|
45
|
+
import { main18ozy59zvnjcv as main } from './wirespec-src-plugin-cli.mjs';
|
|
46
|
+
import {
|
|
47
|
+
produce6u3tkbj47p5z as produce,
|
|
48
|
+
produce3thhnkulyo1qk as produce_0,
|
|
49
|
+
produce2f383nmeeyviz as produce_1,
|
|
50
|
+
produceuh9i6jdi4fz0 as produce_2,
|
|
51
|
+
consume3dsljser5mmw1 as consume,
|
|
52
|
+
produce1d55z03ypnj45 as produce_3,
|
|
53
|
+
} from './wirespec-src-compiler-lib.mjs';
|
|
54
|
+
import {
|
|
55
|
+
NonEmptyList3ak25ihy2gcvs as NonEmptyList,
|
|
56
|
+
Left2oemzq1tpcg4i as Left,
|
|
57
|
+
Right351sh2v8odavg as Right,
|
|
58
|
+
toNonEmptyListOrNull2ovnnazjb3msz as toNonEmptyListOrNull,
|
|
59
|
+
curriedvu30mssefbqd as curried,
|
|
60
|
+
} from './arrow-arrow-core.mjs';
|
|
61
|
+
import {
|
|
62
|
+
OpenAPIV2Parser_instance1xcejlvmy4a3a as OpenAPIV2Parser_instance,
|
|
63
|
+
OpenAPIV3Parser_instance292ngistbqurv as OpenAPIV3Parser_instance,
|
|
64
|
+
OpenAPIV2Emitter_getInstance339m3dn2m5b6v as OpenAPIV2Emitter_getInstance,
|
|
65
|
+
OpenAPIV3Emitter_getInstanceja53nca07ivb as OpenAPIV3Emitter_getInstance,
|
|
66
|
+
} from './wirespec-src-converter-openapi.mjs';
|
|
67
|
+
import {
|
|
68
|
+
AvroParser_instance25ibqzb3yimhc as AvroParser_instance,
|
|
69
|
+
AvroEmitter_instance8wqbtzdfh4t3 as AvroEmitter_instance,
|
|
70
|
+
Typel89stdvlxo83 as Type,
|
|
71
|
+
} from './wirespec-src-converter-avro.mjs';
|
|
72
|
+
import { generate1a9715ur2d4ba as generate } from './wirespec-src-tools-generator.mjs';
|
|
73
|
+
import {
|
|
74
|
+
Companion_getInstance2vtqdn0c5f5w9 as Companion_getInstance,
|
|
75
|
+
Companion_getInstance1m5a009nr2dv6 as Companion_getInstance_0,
|
|
76
|
+
} from './kotlin-openapi-bindings.mjs';
|
|
77
|
+
import { Default_getInstance2p0knxgw5u8xj as Default_getInstance } from './kotlinx-serialization-kotlinx-serialization-json.mjs';
|
|
78
|
+
import {
|
|
79
|
+
serializer1i4e9ym37oxmo as serializer,
|
|
80
|
+
KSerializerzf77vz1967fq as KSerializer,
|
|
81
|
+
} from './kotlinx-serialization-kotlinx-serialization-core.mjs';
|
|
82
|
+
//region block: imports
|
|
83
|
+
//endregion
|
|
84
|
+
//region block: pre-declaration
|
|
85
|
+
initMetadataForClass(Shared, 'Shared', VOID, Enum);
|
|
86
|
+
initMetadataForClass(Emitters, 'Emitters', VOID, Enum);
|
|
87
|
+
initMetadataForClass(Converters, 'Converters', VOID, Enum);
|
|
88
|
+
initMetadataForClass(parse$1, VOID, VOID, VOID, [HasLanguageSpec, NoLogger]);
|
|
89
|
+
initMetadataForClass(generate$1, VOID, VOID, VOID, [HasLanguageSpec, NoLogger]);
|
|
90
|
+
//endregion
|
|
91
|
+
var Shared_KOTLIN_instance;
|
|
92
|
+
var Shared_JAVA_instance;
|
|
93
|
+
var Shared_SCALA_instance;
|
|
94
|
+
var Shared_TYPESCRIPT_instance;
|
|
95
|
+
function values() {
|
|
96
|
+
return [Shared_KOTLIN_getInstance(), Shared_JAVA_getInstance(), Shared_SCALA_getInstance(), Shared_TYPESCRIPT_getInstance()];
|
|
97
|
+
}
|
|
98
|
+
function valueOf(value) {
|
|
99
|
+
switch (value) {
|
|
100
|
+
case 'KOTLIN':
|
|
101
|
+
return Shared_KOTLIN_getInstance();
|
|
102
|
+
case 'JAVA':
|
|
103
|
+
return Shared_JAVA_getInstance();
|
|
104
|
+
case 'SCALA':
|
|
105
|
+
return Shared_SCALA_getInstance();
|
|
106
|
+
case 'TYPESCRIPT':
|
|
107
|
+
return Shared_TYPESCRIPT_getInstance();
|
|
108
|
+
default:
|
|
109
|
+
Shared_initEntries();
|
|
110
|
+
THROW_IAE('No enum constant value.');
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
var Shared_entriesInitialized;
|
|
115
|
+
function Shared_initEntries() {
|
|
116
|
+
if (Shared_entriesInitialized)
|
|
117
|
+
return Unit_instance;
|
|
118
|
+
Shared_entriesInitialized = true;
|
|
119
|
+
Shared_KOTLIN_instance = new Shared('KOTLIN', 0, KotlinShared_getInstance().q28_1);
|
|
120
|
+
Shared_JAVA_instance = new Shared('JAVA', 1, JavaShared_getInstance().o28_1);
|
|
121
|
+
Shared_SCALA_instance = new Shared('SCALA', 2, ScalaShared_getInstance().s28_1);
|
|
122
|
+
Shared_TYPESCRIPT_instance = new Shared('TYPESCRIPT', 3, TypeScriptShared_getInstance().g28_1);
|
|
123
|
+
}
|
|
124
|
+
function Shared(name, ordinal, source) {
|
|
125
|
+
Enum.call(this, name, ordinal);
|
|
126
|
+
this.source = source;
|
|
127
|
+
}
|
|
128
|
+
protoOf(Shared).f1g = function () {
|
|
129
|
+
return this.source;
|
|
130
|
+
};
|
|
131
|
+
var Emitters_WIRESPEC_instance;
|
|
132
|
+
var Emitters_TYPESCRIPT_instance;
|
|
133
|
+
var Emitters_JAVA_instance;
|
|
134
|
+
var Emitters_KOTLIN_instance;
|
|
135
|
+
var Emitters_SCALA_instance;
|
|
136
|
+
var Emitters_OPENAPI_V2_instance;
|
|
137
|
+
var Emitters_OPENAPI_V3_instance;
|
|
138
|
+
var Emitters_AVRO_instance;
|
|
139
|
+
function values_0() {
|
|
140
|
+
return [Emitters_WIRESPEC_getInstance(), Emitters_TYPESCRIPT_getInstance(), Emitters_JAVA_getInstance(), Emitters_KOTLIN_getInstance(), Emitters_SCALA_getInstance(), Emitters_OPENAPI_V2_getInstance(), Emitters_OPENAPI_V3_getInstance(), Emitters_AVRO_getInstance()];
|
|
141
|
+
}
|
|
142
|
+
function valueOf_0(value) {
|
|
143
|
+
switch (value) {
|
|
144
|
+
case 'WIRESPEC':
|
|
145
|
+
return Emitters_WIRESPEC_getInstance();
|
|
146
|
+
case 'TYPESCRIPT':
|
|
147
|
+
return Emitters_TYPESCRIPT_getInstance();
|
|
148
|
+
case 'JAVA':
|
|
149
|
+
return Emitters_JAVA_getInstance();
|
|
150
|
+
case 'KOTLIN':
|
|
151
|
+
return Emitters_KOTLIN_getInstance();
|
|
152
|
+
case 'SCALA':
|
|
153
|
+
return Emitters_SCALA_getInstance();
|
|
154
|
+
case 'OPENAPI_V2':
|
|
155
|
+
return Emitters_OPENAPI_V2_getInstance();
|
|
156
|
+
case 'OPENAPI_V3':
|
|
157
|
+
return Emitters_OPENAPI_V3_getInstance();
|
|
158
|
+
case 'AVRO':
|
|
159
|
+
return Emitters_AVRO_getInstance();
|
|
160
|
+
default:
|
|
161
|
+
Emitters_initEntries();
|
|
162
|
+
THROW_IAE('No enum constant value.');
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
var Emitters_entriesInitialized;
|
|
167
|
+
function Emitters_initEntries() {
|
|
168
|
+
if (Emitters_entriesInitialized)
|
|
169
|
+
return Unit_instance;
|
|
170
|
+
Emitters_entriesInitialized = true;
|
|
171
|
+
Emitters_WIRESPEC_instance = new Emitters('WIRESPEC', 0);
|
|
172
|
+
Emitters_TYPESCRIPT_instance = new Emitters('TYPESCRIPT', 1);
|
|
173
|
+
Emitters_JAVA_instance = new Emitters('JAVA', 2);
|
|
174
|
+
Emitters_KOTLIN_instance = new Emitters('KOTLIN', 3);
|
|
175
|
+
Emitters_SCALA_instance = new Emitters('SCALA', 4);
|
|
176
|
+
Emitters_OPENAPI_V2_instance = new Emitters('OPENAPI_V2', 5);
|
|
177
|
+
Emitters_OPENAPI_V3_instance = new Emitters('OPENAPI_V3', 6);
|
|
178
|
+
Emitters_AVRO_instance = new Emitters('AVRO', 7);
|
|
179
|
+
}
|
|
180
|
+
function Emitters(name, ordinal) {
|
|
181
|
+
Enum.call(this, name, ordinal);
|
|
182
|
+
}
|
|
183
|
+
var Converters_OPENAPI_V2_instance;
|
|
184
|
+
var Converters_OPENAPI_V3_instance;
|
|
185
|
+
var Converters_AVRO_instance;
|
|
186
|
+
function values_1() {
|
|
187
|
+
return [Converters_OPENAPI_V2_getInstance(), Converters_OPENAPI_V3_getInstance(), Converters_AVRO_getInstance()];
|
|
188
|
+
}
|
|
189
|
+
function valueOf_1(value) {
|
|
190
|
+
switch (value) {
|
|
191
|
+
case 'OPENAPI_V2':
|
|
192
|
+
return Converters_OPENAPI_V2_getInstance();
|
|
193
|
+
case 'OPENAPI_V3':
|
|
194
|
+
return Converters_OPENAPI_V3_getInstance();
|
|
195
|
+
case 'AVRO':
|
|
196
|
+
return Converters_AVRO_getInstance();
|
|
197
|
+
default:
|
|
198
|
+
Converters_initEntries();
|
|
199
|
+
THROW_IAE('No enum constant value.');
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
var Converters_entriesInitialized;
|
|
204
|
+
function Converters_initEntries() {
|
|
205
|
+
if (Converters_entriesInitialized)
|
|
206
|
+
return Unit_instance;
|
|
207
|
+
Converters_entriesInitialized = true;
|
|
208
|
+
Converters_OPENAPI_V2_instance = new Converters('OPENAPI_V2', 0);
|
|
209
|
+
Converters_OPENAPI_V3_instance = new Converters('OPENAPI_V3', 1);
|
|
210
|
+
Converters_AVRO_instance = new Converters('AVRO', 2);
|
|
211
|
+
}
|
|
212
|
+
function Converters(name, ordinal) {
|
|
213
|
+
Enum.call(this, name, ordinal);
|
|
214
|
+
}
|
|
215
|
+
function cli(args) {
|
|
216
|
+
return main(args);
|
|
217
|
+
}
|
|
218
|
+
function tokenize_0(source) {
|
|
219
|
+
// Inline function 'arrow.core.NonEmptyList.map' call
|
|
220
|
+
var this_0 = tokenize(WirespecSpec_getInstance(), source);
|
|
221
|
+
// Inline function 'community.flock.wirespec.plugin.npm.tokenize.<anonymous>' call
|
|
222
|
+
var it = this_0.uk_1;
|
|
223
|
+
var tmp = produce(it);
|
|
224
|
+
// Inline function 'kotlin.collections.map' call
|
|
225
|
+
var this_1 = this_0.vk_1;
|
|
226
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
227
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
228
|
+
var _iterator__ex2g4s = this_1.g();
|
|
229
|
+
while (_iterator__ex2g4s.h()) {
|
|
230
|
+
var item = _iterator__ex2g4s.i();
|
|
231
|
+
// Inline function 'community.flock.wirespec.plugin.npm.tokenize.<anonymous>' call
|
|
232
|
+
var tmp$ret$1 = produce(item);
|
|
233
|
+
destination.e(tmp$ret$1);
|
|
234
|
+
}
|
|
235
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
236
|
+
var this_2 = new NonEmptyList(tmp, destination);
|
|
237
|
+
return copyToArray(this_2);
|
|
238
|
+
}
|
|
239
|
+
function parse_0(source) {
|
|
240
|
+
return produce_0(parse(new parse$1(), source));
|
|
241
|
+
}
|
|
242
|
+
function convert(source, converters) {
|
|
243
|
+
var tmp;
|
|
244
|
+
switch (converters.p2_1) {
|
|
245
|
+
case 0:
|
|
246
|
+
tmp = produce_1(OpenAPIV2Parser_instance.q2b(source));
|
|
247
|
+
break;
|
|
248
|
+
case 1:
|
|
249
|
+
tmp = produce_1(OpenAPIV3Parser_instance.h2c(source));
|
|
250
|
+
break;
|
|
251
|
+
case 2:
|
|
252
|
+
tmp = produce_1(AvroParser_instance.d2g(source));
|
|
253
|
+
break;
|
|
254
|
+
default:
|
|
255
|
+
noWhenBranchMatchedException();
|
|
256
|
+
break;
|
|
257
|
+
}
|
|
258
|
+
return tmp;
|
|
259
|
+
}
|
|
260
|
+
function generate_0(source, type) {
|
|
261
|
+
// Inline function 'arrow.core.Either.map' call
|
|
262
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
263
|
+
// Inline function 'arrow.core.flatMap' call
|
|
264
|
+
var this_0 = parse(new generate$1(), source);
|
|
265
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
266
|
+
var tmp;
|
|
267
|
+
if (this_0 instanceof Right) {
|
|
268
|
+
// Inline function 'arrow.core.Either.map.<anonymous>' call
|
|
269
|
+
// Inline function 'community.flock.wirespec.plugin.npm.generate.<anonymous>' call
|
|
270
|
+
var it = this_0.pk_1;
|
|
271
|
+
var tmp$ret$0 = toString(generate(it, type));
|
|
272
|
+
tmp = new Right(tmp$ret$0);
|
|
273
|
+
} else {
|
|
274
|
+
if (this_0 instanceof Left) {
|
|
275
|
+
tmp = this_0;
|
|
276
|
+
} else {
|
|
277
|
+
noWhenBranchMatchedException();
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
var tmp$ret$3 = tmp;
|
|
281
|
+
return produce_2(tmp$ret$3);
|
|
282
|
+
}
|
|
283
|
+
function emit(ast, emitter, packageName) {
|
|
284
|
+
// Inline function 'kotlin.collections.map' call
|
|
285
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
286
|
+
var destination = ArrayList_init_$Create$(ast.length);
|
|
287
|
+
var inductionVariable = 0;
|
|
288
|
+
var last = ast.length;
|
|
289
|
+
while (inductionVariable < last) {
|
|
290
|
+
var item = ast[inductionVariable];
|
|
291
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
292
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
293
|
+
var tmp$ret$0 = consume(item);
|
|
294
|
+
destination.e(tmp$ret$0);
|
|
295
|
+
}
|
|
296
|
+
// Inline function 'kotlin.let' call
|
|
297
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
298
|
+
var tmp0_elvis_lhs = toNonEmptyListOrNull(destination);
|
|
299
|
+
var tmp;
|
|
300
|
+
if (tmp0_elvis_lhs == null) {
|
|
301
|
+
var message = 'Cannot emit empty AST';
|
|
302
|
+
throw IllegalStateException_init_$Create$(toString(message));
|
|
303
|
+
} else {
|
|
304
|
+
tmp = tmp0_elvis_lhs;
|
|
305
|
+
}
|
|
306
|
+
// Inline function 'kotlin.let' call
|
|
307
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
308
|
+
var it = tmp;
|
|
309
|
+
var tmp_0;
|
|
310
|
+
switch (emitter.p2_1) {
|
|
311
|
+
case 0:
|
|
312
|
+
tmp_0 = (new WirespecEmitter()).k23(it, get_noLogger());
|
|
313
|
+
break;
|
|
314
|
+
case 1:
|
|
315
|
+
tmp_0 = (new TypeScriptEmitter()).k23(it, get_noLogger());
|
|
316
|
+
break;
|
|
317
|
+
case 2:
|
|
318
|
+
tmp_0 = (new JavaEmitter(new PackageName(packageName))).k23(it, get_noLogger());
|
|
319
|
+
break;
|
|
320
|
+
case 3:
|
|
321
|
+
tmp_0 = (new KotlinEmitter(new PackageName(packageName))).k23(it, get_noLogger());
|
|
322
|
+
break;
|
|
323
|
+
case 4:
|
|
324
|
+
tmp_0 = (new ScalaEmitter(new PackageName(packageName))).k23(it, get_noLogger());
|
|
325
|
+
break;
|
|
326
|
+
case 5:
|
|
327
|
+
var tmp0 = listOf(it);
|
|
328
|
+
var tmp1_map_$receiver = OpenAPIV2Emitter_getInstance();
|
|
329
|
+
// Inline function 'kotlin.collections.map' call
|
|
330
|
+
|
|
331
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
332
|
+
|
|
333
|
+
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0, 10));
|
|
334
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
335
|
+
while (_iterator__ex2g4s.h()) {
|
|
336
|
+
var item_0 = _iterator__ex2g4s.i();
|
|
337
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>.stub_for_inlining' call
|
|
338
|
+
var tmp$ret$5 = tmp1_map_$receiver.b2b(item_0);
|
|
339
|
+
destination_0.e(tmp$ret$5);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// Inline function 'kotlin.collections.map' call
|
|
343
|
+
|
|
344
|
+
var transform = encode(Companion_getInstance().g18());
|
|
345
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
346
|
+
|
|
347
|
+
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_0, 10));
|
|
348
|
+
var _iterator__ex2g4s_0 = destination_0.g();
|
|
349
|
+
while (_iterator__ex2g4s_0.h()) {
|
|
350
|
+
var item_1 = _iterator__ex2g4s_0.i();
|
|
351
|
+
destination_1.e(transform(item_1));
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
var tmp7_map_$receiver = curried(Emitted$_init_$ref_9uzepx())('openapi');
|
|
355
|
+
// Inline function 'kotlin.collections.map' call
|
|
356
|
+
|
|
357
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
358
|
+
|
|
359
|
+
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_1, 10));
|
|
360
|
+
var _iterator__ex2g4s_1 = destination_1.g();
|
|
361
|
+
while (_iterator__ex2g4s_1.h()) {
|
|
362
|
+
var item_2 = _iterator__ex2g4s_1.i();
|
|
363
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>.stub_for_inlining' call
|
|
364
|
+
var tmp$ret$10 = tmp7_map_$receiver(item_2);
|
|
365
|
+
destination_2.e(tmp$ret$10);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
tmp_0 = destination_2;
|
|
369
|
+
break;
|
|
370
|
+
case 6:
|
|
371
|
+
// Inline function 'kotlin.collections.map' call
|
|
372
|
+
|
|
373
|
+
var this_0 = listOf(it);
|
|
374
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
375
|
+
|
|
376
|
+
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
377
|
+
var _iterator__ex2g4s_2 = this_0.g();
|
|
378
|
+
while (_iterator__ex2g4s_2.h()) {
|
|
379
|
+
var item_3 = _iterator__ex2g4s_2.i();
|
|
380
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>.<anonymous>' call
|
|
381
|
+
var tmp$ret$13 = OpenAPIV3Emitter_getInstance().t2b(item_3, null);
|
|
382
|
+
destination_3.e(tmp$ret$13);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
// Inline function 'kotlin.collections.map' call
|
|
386
|
+
|
|
387
|
+
var transform_0 = encode(Companion_getInstance_0().g18());
|
|
388
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
389
|
+
|
|
390
|
+
var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_3, 10));
|
|
391
|
+
var _iterator__ex2g4s_3 = destination_3.g();
|
|
392
|
+
while (_iterator__ex2g4s_3.h()) {
|
|
393
|
+
var item_4 = _iterator__ex2g4s_3.i();
|
|
394
|
+
destination_4.e(transform_0(item_4));
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
var tmp15_map_$receiver = curried(Emitted$_init_$ref_9uzepx_0())('openapi');
|
|
398
|
+
// Inline function 'kotlin.collections.map' call
|
|
399
|
+
|
|
400
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
401
|
+
|
|
402
|
+
var destination_5 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
403
|
+
var _iterator__ex2g4s_4 = destination_4.g();
|
|
404
|
+
while (_iterator__ex2g4s_4.h()) {
|
|
405
|
+
var item_5 = _iterator__ex2g4s_4.i();
|
|
406
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>.stub_for_inlining' call
|
|
407
|
+
var tmp$ret$18 = tmp15_map_$receiver(item_5);
|
|
408
|
+
destination_5.e(tmp$ret$18);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
tmp_0 = destination_5;
|
|
412
|
+
break;
|
|
413
|
+
case 7:
|
|
414
|
+
// Inline function 'kotlin.collections.map' call
|
|
415
|
+
|
|
416
|
+
var this_1 = listOf(it);
|
|
417
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
418
|
+
|
|
419
|
+
var destination_6 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
420
|
+
var _iterator__ex2g4s_5 = this_1.g();
|
|
421
|
+
while (_iterator__ex2g4s_5.h()) {
|
|
422
|
+
var item_6 = _iterator__ex2g4s_5.i();
|
|
423
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>.<anonymous>' call
|
|
424
|
+
var tmp$ret$21 = AvroEmitter_instance.e2f(item_6);
|
|
425
|
+
destination_6.e(tmp$ret$21);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
// Inline function 'kotlin.collections.map' call
|
|
429
|
+
|
|
430
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
431
|
+
|
|
432
|
+
var destination_7 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_6, 10));
|
|
433
|
+
var _iterator__ex2g4s_6 = destination_6.g();
|
|
434
|
+
while (_iterator__ex2g4s_6.h()) {
|
|
435
|
+
var item_7 = _iterator__ex2g4s_6.i();
|
|
436
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>.<anonymous>' call
|
|
437
|
+
// Inline function 'kotlinx.serialization.encodeToString' call
|
|
438
|
+
var this_2 = Default_getInstance();
|
|
439
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
440
|
+
var this_3 = this_2.ip();
|
|
441
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
442
|
+
var this_4 = serializer(this_3, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(Type), arrayOf([]), false))]), false));
|
|
443
|
+
var tmp$ret$25 = isInterface(this_4, KSerializer) ? this_4 : THROW_CCE();
|
|
444
|
+
var tmp$ret$27 = this_2.v15(tmp$ret$25, item_7);
|
|
445
|
+
destination_7.e(tmp$ret$27);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
var tmp23_map_$receiver = curried(Emitted$_init_$ref_9uzepx_1())('avro');
|
|
449
|
+
// Inline function 'kotlin.collections.map' call
|
|
450
|
+
|
|
451
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
452
|
+
|
|
453
|
+
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_7, 10));
|
|
454
|
+
var _iterator__ex2g4s_7 = destination_7.g();
|
|
455
|
+
while (_iterator__ex2g4s_7.h()) {
|
|
456
|
+
var item_8 = _iterator__ex2g4s_7.i();
|
|
457
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>.stub_for_inlining' call
|
|
458
|
+
var tmp$ret$30 = tmp23_map_$receiver(item_8);
|
|
459
|
+
destination_8.e(tmp$ret$30);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
tmp_0 = destination_8;
|
|
463
|
+
break;
|
|
464
|
+
default:
|
|
465
|
+
noWhenBranchMatchedException();
|
|
466
|
+
break;
|
|
467
|
+
}
|
|
468
|
+
// Inline function 'kotlin.collections.map' call
|
|
469
|
+
var this_5 = tmp_0;
|
|
470
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
471
|
+
var destination_9 = ArrayList_init_$Create$(collectionSizeOrDefault(this_5, 10));
|
|
472
|
+
var _iterator__ex2g4s_8 = this_5.g();
|
|
473
|
+
while (_iterator__ex2g4s_8.h()) {
|
|
474
|
+
var item_9 = _iterator__ex2g4s_8.i();
|
|
475
|
+
// Inline function 'community.flock.wirespec.plugin.npm.emit.<anonymous>' call
|
|
476
|
+
var tmp$ret$35 = produce_3(item_9);
|
|
477
|
+
destination_9.e(tmp$ret$35);
|
|
478
|
+
}
|
|
479
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
480
|
+
return copyToArray(destination_9);
|
|
481
|
+
}
|
|
482
|
+
function encode(serializer) {
|
|
483
|
+
return encode$lambda(serializer);
|
|
484
|
+
}
|
|
485
|
+
function parse$1() {
|
|
486
|
+
}
|
|
487
|
+
function generate$1() {
|
|
488
|
+
}
|
|
489
|
+
function Emitted$_init_$ref_9uzepx() {
|
|
490
|
+
var l = function (p0, p1) {
|
|
491
|
+
return new Emitted(p0, p1);
|
|
492
|
+
};
|
|
493
|
+
l.callableName = '<init>';
|
|
494
|
+
return l;
|
|
495
|
+
}
|
|
496
|
+
function Emitted$_init_$ref_9uzepx_0() {
|
|
497
|
+
var l = function (p0, p1) {
|
|
498
|
+
return new Emitted(p0, p1);
|
|
499
|
+
};
|
|
500
|
+
l.callableName = '<init>';
|
|
501
|
+
return l;
|
|
502
|
+
}
|
|
503
|
+
function Emitted$_init_$ref_9uzepx_1() {
|
|
504
|
+
var l = function (p0, p1) {
|
|
505
|
+
return new Emitted(p0, p1);
|
|
506
|
+
};
|
|
507
|
+
l.callableName = '<init>';
|
|
508
|
+
return l;
|
|
509
|
+
}
|
|
510
|
+
function encode$lambda($serializer) {
|
|
511
|
+
return function (value) {
|
|
512
|
+
return Default_getInstance().v15($serializer, value);
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
function Shared_KOTLIN_getInstance() {
|
|
516
|
+
Shared_initEntries();
|
|
517
|
+
return Shared_KOTLIN_instance;
|
|
518
|
+
}
|
|
519
|
+
function Shared_JAVA_getInstance() {
|
|
520
|
+
Shared_initEntries();
|
|
521
|
+
return Shared_JAVA_instance;
|
|
522
|
+
}
|
|
523
|
+
function Shared_SCALA_getInstance() {
|
|
524
|
+
Shared_initEntries();
|
|
525
|
+
return Shared_SCALA_instance;
|
|
526
|
+
}
|
|
527
|
+
function Shared_TYPESCRIPT_getInstance() {
|
|
528
|
+
Shared_initEntries();
|
|
529
|
+
return Shared_TYPESCRIPT_instance;
|
|
530
|
+
}
|
|
531
|
+
function Emitters_WIRESPEC_getInstance() {
|
|
532
|
+
Emitters_initEntries();
|
|
533
|
+
return Emitters_WIRESPEC_instance;
|
|
534
|
+
}
|
|
535
|
+
function Emitters_TYPESCRIPT_getInstance() {
|
|
536
|
+
Emitters_initEntries();
|
|
537
|
+
return Emitters_TYPESCRIPT_instance;
|
|
538
|
+
}
|
|
539
|
+
function Emitters_JAVA_getInstance() {
|
|
540
|
+
Emitters_initEntries();
|
|
541
|
+
return Emitters_JAVA_instance;
|
|
542
|
+
}
|
|
543
|
+
function Emitters_KOTLIN_getInstance() {
|
|
544
|
+
Emitters_initEntries();
|
|
545
|
+
return Emitters_KOTLIN_instance;
|
|
546
|
+
}
|
|
547
|
+
function Emitters_SCALA_getInstance() {
|
|
548
|
+
Emitters_initEntries();
|
|
549
|
+
return Emitters_SCALA_instance;
|
|
550
|
+
}
|
|
551
|
+
function Emitters_OPENAPI_V2_getInstance() {
|
|
552
|
+
Emitters_initEntries();
|
|
553
|
+
return Emitters_OPENAPI_V2_instance;
|
|
554
|
+
}
|
|
555
|
+
function Emitters_OPENAPI_V3_getInstance() {
|
|
556
|
+
Emitters_initEntries();
|
|
557
|
+
return Emitters_OPENAPI_V3_instance;
|
|
558
|
+
}
|
|
559
|
+
function Emitters_AVRO_getInstance() {
|
|
560
|
+
Emitters_initEntries();
|
|
561
|
+
return Emitters_AVRO_instance;
|
|
562
|
+
}
|
|
563
|
+
function Converters_OPENAPI_V2_getInstance() {
|
|
564
|
+
Converters_initEntries();
|
|
565
|
+
return Converters_OPENAPI_V2_instance;
|
|
566
|
+
}
|
|
567
|
+
function Converters_OPENAPI_V3_getInstance() {
|
|
568
|
+
Converters_initEntries();
|
|
569
|
+
return Converters_OPENAPI_V3_instance;
|
|
570
|
+
}
|
|
571
|
+
function Converters_AVRO_getInstance() {
|
|
572
|
+
Converters_initEntries();
|
|
573
|
+
return Converters_AVRO_instance;
|
|
574
|
+
}
|
|
575
|
+
//region block: post-declaration
|
|
576
|
+
defineProp(protoOf(Shared), 'name', protoOf(Shared).q2);
|
|
577
|
+
defineProp(protoOf(Shared), 'ordinal', protoOf(Shared).r2);
|
|
578
|
+
defineProp(protoOf(Emitters), 'name', protoOf(Emitters).q2);
|
|
579
|
+
defineProp(protoOf(Emitters), 'ordinal', protoOf(Emitters).r2);
|
|
580
|
+
defineProp(protoOf(Converters), 'name', protoOf(Converters).q2);
|
|
581
|
+
defineProp(protoOf(Converters), 'ordinal', protoOf(Converters).r2);
|
|
582
|
+
protoOf(parse$1).h23 = get_spec;
|
|
583
|
+
protoOf(parse$1).y22 = get_logger;
|
|
584
|
+
protoOf(generate$1).h23 = get_spec;
|
|
585
|
+
protoOf(generate$1).y22 = get_logger;
|
|
586
|
+
//endregion
|
|
587
|
+
//region block: exports
|
|
588
|
+
Shared.values = values;
|
|
589
|
+
Shared.valueOf = valueOf;
|
|
590
|
+
defineProp(Shared, 'KOTLIN', Shared_KOTLIN_getInstance);
|
|
591
|
+
defineProp(Shared, 'JAVA', Shared_JAVA_getInstance);
|
|
592
|
+
defineProp(Shared, 'SCALA', Shared_SCALA_getInstance);
|
|
593
|
+
defineProp(Shared, 'TYPESCRIPT', Shared_TYPESCRIPT_getInstance);
|
|
594
|
+
Emitters.values = values_0;
|
|
595
|
+
Emitters.valueOf = valueOf_0;
|
|
596
|
+
defineProp(Emitters, 'WIRESPEC', Emitters_WIRESPEC_getInstance);
|
|
597
|
+
defineProp(Emitters, 'TYPESCRIPT', Emitters_TYPESCRIPT_getInstance);
|
|
598
|
+
defineProp(Emitters, 'JAVA', Emitters_JAVA_getInstance);
|
|
599
|
+
defineProp(Emitters, 'KOTLIN', Emitters_KOTLIN_getInstance);
|
|
600
|
+
defineProp(Emitters, 'SCALA', Emitters_SCALA_getInstance);
|
|
601
|
+
defineProp(Emitters, 'OPENAPI_V2', Emitters_OPENAPI_V2_getInstance);
|
|
602
|
+
defineProp(Emitters, 'OPENAPI_V3', Emitters_OPENAPI_V3_getInstance);
|
|
603
|
+
defineProp(Emitters, 'AVRO', Emitters_AVRO_getInstance);
|
|
604
|
+
Converters.values = values_1;
|
|
605
|
+
Converters.valueOf = valueOf_1;
|
|
606
|
+
defineProp(Converters, 'OPENAPI_V2', Converters_OPENAPI_V2_getInstance);
|
|
607
|
+
defineProp(Converters, 'OPENAPI_V3', Converters_OPENAPI_V3_getInstance);
|
|
608
|
+
defineProp(Converters, 'AVRO', Converters_AVRO_getInstance);
|
|
609
|
+
export {
|
|
610
|
+
Shared as Shared,
|
|
611
|
+
Emitters as Emitters,
|
|
612
|
+
Converters as Converters,
|
|
613
|
+
cli as cli,
|
|
614
|
+
tokenize_0 as tokenize,
|
|
615
|
+
parse_0 as parse,
|
|
616
|
+
convert as convert,
|
|
617
|
+
generate_0 as generate,
|
|
618
|
+
emit as emit,
|
|
619
|
+
};
|
|
620
|
+
//endregion
|
|
621
|
+
|
|
622
|
+
//# sourceMappingURL=wirespec-src-plugin-npm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/jsMain/kotlin/community/flock/wirespec/plugin/npm/Main.kt","../../../../../../../../../../../../../../Users/runner/work/arrow/arrow/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/NonEmptyList.kt","common/src/generated/_Collections.kt","js/src/kotlin/collectionJs.kt","../../../../../../../../../../../../../../Users/runner/work/arrow/arrow/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Either.kt","common/src/generated/_Arrays.kt","Z:/BuildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/SerialFormat.kt","Z:/BuildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/Serializers.kt","Z:/BuildAgent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/Platform.common.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":["values","valueOf","value","<init>","source","<get-source>","cli","args","tokenize","item","parse","convert","converters","generate","type","emit","ast","emitter","package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