@flock/wirespec 0.21.1 → 0.22.1

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.
Files changed (66) hide show
  1. package/arrow-arrow-atomic.mjs +14 -14
  2. package/arrow-arrow-atomic.mjs.map +1 -1
  3. package/arrow-arrow-core.mjs +187 -182
  4. package/arrow-arrow-core.mjs.map +1 -1
  5. package/clikt-clikt-mordant.mjs +89 -89
  6. package/clikt-clikt-mordant.mjs.map +1 -1
  7. package/clikt-clikt.mjs +1704 -1706
  8. package/clikt-clikt.mjs.map +1 -1
  9. package/colormath-root-colormath.mjs +465 -465
  10. package/colormath-root-colormath.mjs.map +1 -1
  11. package/kotlin-kotlin-stdlib.mjs +2644 -2481
  12. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  13. package/kotlin-openapi-bindings.mjs +10373 -10346
  14. package/kotlin-openapi-bindings.mjs.map +1 -1
  15. package/kotlin-rgxgen.mjs +1851 -1855
  16. package/kotlin-rgxgen.mjs.map +1 -1
  17. package/kotlinx-io-kotlinx-io-core.mjs +469 -469
  18. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  19. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2038 -2046
  20. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  21. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1859 -1813
  22. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  23. package/mordant-mordant.mjs +1452 -1447
  24. package/mordant-mordant.mjs.map +1 -1
  25. package/package.json +1 -1
  26. package/wirespec-src-compiler-core.mjs +25964 -3598
  27. package/wirespec-src-compiler-core.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-java.mjs +373 -469
  29. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-kotlin.mjs +327 -382
  31. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  32. package/wirespec-src-compiler-emitters-python.mjs +355 -354
  33. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  34. package/wirespec-src-compiler-emitters-rust.mjs +756 -754
  35. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  36. package/wirespec-src-compiler-emitters-scala.mjs +361 -361
  37. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  38. package/wirespec-src-compiler-emitters-typescript.mjs +484 -472
  39. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  40. package/wirespec-src-compiler-emitters-wirespec.mjs +434 -153
  41. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  42. package/wirespec-src-compiler-lib.mjs +978 -441
  43. package/wirespec-src-compiler-lib.mjs.map +1 -1
  44. package/wirespec-src-converter-asyncapi.mjs +5382 -0
  45. package/wirespec-src-converter-asyncapi.mjs.map +1 -0
  46. package/wirespec-src-converter-avro.mjs +1297 -725
  47. package/wirespec-src-converter-avro.mjs.map +1 -1
  48. package/wirespec-src-converter-common.mjs +267 -0
  49. package/wirespec-src-converter-common.mjs.map +1 -1
  50. package/wirespec-src-converter-graphql.mjs +5691 -0
  51. package/wirespec-src-converter-graphql.mjs.map +1 -0
  52. package/wirespec-src-converter-openapi.mjs +1304 -1225
  53. package/wirespec-src-converter-openapi.mjs.map +1 -1
  54. package/wirespec-src-ide-lsp.mjs +1728 -1642
  55. package/wirespec-src-ide-lsp.mjs.map +1 -1
  56. package/wirespec-src-plugin-arguments.mjs +301 -240
  57. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  58. package/wirespec-src-plugin-cli.mjs +161 -133
  59. package/wirespec-src-plugin-cli.mjs.map +1 -1
  60. package/wirespec-src-plugin-npm.d.mts +216 -29
  61. package/wirespec-src-plugin-npm.mjs +188 -95
  62. package/wirespec-src-plugin-npm.mjs.map +1 -1
  63. package/wirespec-src-tools-generator.mjs +61 -53
  64. package/wirespec-src-tools-generator.mjs.map +1 -1
  65. package/wirespec-src-compiler-ir.mjs +0 -18912
  66. package/wirespec-src-compiler-ir.mjs.map +0 -1
@@ -3,17 +3,17 @@ import {
3
3
  protoOf180f3jzyo7rfj as protoOf,
4
4
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
5
5
  enumEntries20mr21zbe3az4 as enumEntries,
6
- Unit_instance28fytmsmm6r23 as Unit_instance,
6
+ Unit_instancev9v8hjid95df as Unit_instance,
7
7
  Enum3alwj03lh1n41 as Enum,
8
8
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
9
9
  VOID3gxj6tk5isa35 as VOID,
10
10
  collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
11
11
  mapCapacity1h45rc3eh9p2l as mapCapacity,
12
12
  coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
13
- LinkedHashMap_init_$Create$1s75e1k23v4xj as LinkedHashMap_init_$Create$,
13
+ LinkedHashMap_init_$Create$1gzy1x4a46gd4 as LinkedHashMap_init_$Create$,
14
14
  noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
15
- ArrayList_init_$Create$3ivpeip4ouddx as ArrayList_init_$Create$,
16
- ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$_0,
15
+ ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$,
16
+ ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
17
17
  addAll1k27qatfgp3k5 as addAll,
18
18
  toString1pkumu07cwy4m as toString,
19
19
  hashCodeq5arwsb9dgti as hashCode,
@@ -24,59 +24,62 @@ import {
24
24
  dropLast1vpiyky649o34 as dropLast,
25
25
  last1vo29oleiqj36 as last,
26
26
  plus310ted5e4i90h as plus,
27
- IllegalStateException_init_$Create$2429fvs1h56dm as IllegalStateException_init_$Create$,
27
+ IllegalStateException_init_$Create$1h4bcfod21ri0 as IllegalStateException_init_$Create$,
28
28
  substringAfter35b3qhto7hchb as substringAfter,
29
29
  startsWith26w8qjqapeeq6 as startsWith,
30
30
  throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException,
31
31
  to2cs3ny02qtbcb as to,
32
32
  checkIndexOverflow3frtmheghr0th as checkIndexOverflow,
33
- _Char___init__impl__6a9atx1csff5kwtduxl as _Char___init__impl__6a9atx,
33
+ _Char___init__impl__6a9atx2gndcvjvc5pke as _Char___init__impl__6a9atx,
34
34
  substringAfterLast3r0t0my8cpqhk as substringAfterLast,
35
35
  } from './kotlin-kotlin-stdlib.mjs';
36
- import { JavaIrEmittereoab4zj7i4gq as JavaIrEmitter } from './wirespec-src-compiler-emitters-java.mjs';
37
- import { KotlinIrEmitterbehcpsqpuupy as KotlinIrEmitter } from './wirespec-src-compiler-emitters-kotlin.mjs';
38
- import { PythonIrEmittergogj1wcisct7 as PythonIrEmitter } from './wirespec-src-compiler-emitters-python.mjs';
39
- import { RustIrEmitterluw00jp360tz as RustIrEmitter } from './wirespec-src-compiler-emitters-rust.mjs';
40
- import { ScalaIrEmitterytuwlk19c8ah as ScalaIrEmitter } from './wirespec-src-compiler-emitters-scala.mjs';
41
- import { TypeScriptIrEmitter3q01omscsvyj9 as TypeScriptIrEmitter } from './wirespec-src-compiler-emitters-typescript.mjs';
36
+ import { JavaEmitter1ye60adpym6m1 as JavaEmitter } from './wirespec-src-compiler-emitters-java.mjs';
37
+ import { KotlinEmitterddb8247fx90i as KotlinEmitter } from './wirespec-src-compiler-emitters-kotlin.mjs';
38
+ import { PythonEmitter2pjclp0u1gkmn as PythonEmitter } from './wirespec-src-compiler-emitters-python.mjs';
39
+ import { RustEmitter1jgbjguzalmhv as RustEmitter } from './wirespec-src-compiler-emitters-rust.mjs';
40
+ import { ScalaEmitter3fpajh5neerxm as ScalaEmitter } from './wirespec-src-compiler-emitters-scala.mjs';
41
+ import { TypeScriptEmitter1b8xo1btx35xi as TypeScriptEmitter } from './wirespec-src-compiler-emitters-typescript.mjs';
42
42
  import { WirespecEmitter2ad9je4ecrvjk as WirespecEmitter } from './wirespec-src-compiler-emitters-wirespec.mjs';
43
43
  import {
44
- OpenAPIV2Emitter_getInstance102n45c081e7p as OpenAPIV2Emitter_getInstance,
45
- OpenAPIV3Emitter_getInstance1fafdn8z2657y as OpenAPIV3Emitter_getInstance,
46
- OpenAPIV2Parser_instance13nnqqmpglx58 as OpenAPIV2Parser_instance,
47
- OpenAPIV3Parser_instance2np8yf419qqkk as OpenAPIV3Parser_instance,
44
+ OpenAPIV2Emitter_getInstance225k4773lxme5 as OpenAPIV2Emitter_getInstance,
45
+ OpenAPIV3Emitter_getInstance1xw545fw8ct0e as OpenAPIV3Emitter_getInstance,
46
+ OpenAPIV2Parser_instanceod31xfqmuuw4 as OpenAPIV2Parser_instance,
47
+ OpenAPIV3Parser_instance2nsxoj7s65j71 as OpenAPIV3Parser_instance,
48
48
  } from './wirespec-src-converter-openapi.mjs';
49
49
  import {
50
- AvroJsonEmitter_getInstancef4slytin56up as AvroJsonEmitter_getInstance,
51
- AvroJsonParser_instance1463wx3c6teur as AvroJsonParser_instance,
50
+ AvroJsonEmitter_getInstanceqxb8ioshyd02 as AvroJsonEmitter_getInstance,
51
+ AvroJsonParser_instance5zz3bwjsci7v as AvroJsonParser_instance,
52
52
  } from './wirespec-src-converter-avro.mjs';
53
53
  import {
54
- NonEmptySet__map_impl_ngjswdysdff23qrf5g as NonEmptySet__map_impl_ngjswd,
55
- _NonEmptyList___get_all__impl__pmf5092svcdxelgy1aa as _NonEmptyList___get_all__impl__pmf509,
56
- _NonEmptyList___init__impl__fxd0xp3qwfhfa83yk9f as _NonEmptyList___init__impl__fxd0xp,
54
+ NonEmptySet__map_impl_ngjswd1fxcincnj6e60 as NonEmptySet__map_impl_ngjswd,
55
+ _NonEmptyList___get_all__impl__pmf5092xnz0i2teaa6d as _NonEmptyList___get_all__impl__pmf509,
56
+ _NonEmptyList___init__impl__fxd0xprpnd63likgzm as _NonEmptyList___init__impl__fxd0xp,
57
57
  NonEmptyList3ak25ihy2gcvs as NonEmptyList,
58
58
  DefaultRaisevd10gc79qxh8 as DefaultRaise,
59
59
  Right351sh2v8odavg as Right,
60
60
  raisedOrRethrow397oyvsdde7oq as raisedOrRethrow,
61
61
  Left2oemzq1tpcg4i as Left,
62
62
  RaiseCancellationException3n5raogfhbd1l as RaiseCancellationException,
63
- NonEmptySet__flatMap_impl_ovm5jg1j1barqpxmulx as NonEmptySet__flatMap_impl_ovm5jg,
64
- NonEmptySet__toString_impl_yfcj6n10o2ez3sxh9oh as NonEmptySet__toString_impl_yfcj6n,
65
- NonEmptySet__hashCode_impl_co6mds289rsl9k37rro as NonEmptySet__hashCode_impl_co6mds,
63
+ NonEmptySet__flatMap_impl_ovm5jg3sic4v1sa4qlf as NonEmptySet__flatMap_impl_ovm5jg,
64
+ NonEmptySet__toString_impl_yfcj6ns81v4qijlr42 as NonEmptySet__toString_impl_yfcj6n,
65
+ NonEmptySet__hashCode_impl_co6mdsl81ll59f92cp as NonEmptySet__hashCode_impl_co6mds,
66
66
  NonEmptySet1rtvr2guloo52 as NonEmptySet,
67
67
  toNonEmptySetOrNull1tjnd9jrkd4bs as toNonEmptySetOrNull,
68
68
  } from './arrow-arrow-core.mjs';
69
69
  import {
70
- compile2rgmakz9u3swp as compile,
70
+ compile2gnmwcihhk0tg as compile,
71
71
  ParseOptionspl50698nv4gs as ParseOptions,
72
- Validator_instance2w1xy20d0awvb as Validator_instance,
72
+ Validator_instance3rdxavtegfyrs as Validator_instance,
73
+ withoutDefaults3uvx7w3zn9naw as withoutDefaults,
73
74
  get_spec3cnzsbb1ufwje as get_spec,
74
75
  HasLanguageSpec1fo5x3q6dcifj as HasLanguageSpec,
75
76
  FileUri2xjkmf4jmvpab as FileUri,
76
77
  ModuleContent750xezzquzy9 as ModuleContent,
77
78
  get_entries1b334j69qpu9d as get_entries,
78
- FileExtension_Wirespec_getInstance29avtvqk6h59d as FileExtension_Wirespec_getInstance,
79
+ FileExtension_Wirespec_getInstance3awesett59616 as FileExtension_Wirespec_getInstance,
79
80
  } from './wirespec-src-compiler-core.mjs';
81
+ import { GraphQLParser_instancea59ka24ixfoj as GraphQLParser_instance } from './wirespec-src-converter-graphql.mjs';
82
+ import { AsyncAPIParser_instance1afg6q7t1ch1g as AsyncAPIParser_instance } from './wirespec-src-converter-asyncapi.mjs';
80
83
  import { nonFatalOrThrow35agffkx4bbtz as nonFatalOrThrow } from './arrow-arrow-exception-utils.mjs';
81
84
  import {
82
85
  Path21qufdfgaayly as Path,
@@ -113,6 +116,8 @@ initMetadataForClass(OutputShouldBeADirectory, 'OutputShouldBeADirectory', Outpu
113
116
  var Format_OpenAPIV2_instance;
114
117
  var Format_OpenAPIV3_instance;
115
118
  var Format_Avro_instance;
119
+ var Format_GraphQL_instance;
120
+ var Format_AsyncAPI_instance;
116
121
  function Companion() {
117
122
  }
118
123
  protoOf(Companion).toString = function () {
@@ -123,7 +128,7 @@ function Companion_getInstance() {
123
128
  return Companion_instance;
124
129
  }
125
130
  function values() {
126
- return [Format_OpenAPIV2_getInstance(), Format_OpenAPIV3_getInstance(), Format_Avro_getInstance()];
131
+ return [Format_OpenAPIV2_getInstance(), Format_OpenAPIV3_getInstance(), Format_Avro_getInstance(), Format_GraphQL_getInstance(), Format_AsyncAPI_getInstance()];
127
132
  }
128
133
  function get_entries_0() {
129
134
  if ($ENTRIES == null)
@@ -138,6 +143,8 @@ function Format_initEntries() {
138
143
  Format_OpenAPIV2_instance = new Format('OpenAPIV2', 0);
139
144
  Format_OpenAPIV3_instance = new Format('OpenAPIV3', 1);
140
145
  Format_Avro_instance = new Format('Avro', 2);
146
+ Format_GraphQL_instance = new Format('GraphQL', 3);
147
+ Format_AsyncAPI_instance = new Format('AsyncAPI', 4);
141
148
  }
142
149
  var $ENTRIES;
143
150
  function Format(name, ordinal) {
@@ -155,6 +162,14 @@ function Format_Avro_getInstance() {
155
162
  Format_initEntries();
156
163
  return Format_Avro_instance;
157
164
  }
165
+ function Format_GraphQL_getInstance() {
166
+ Format_initEntries();
167
+ return Format_GraphQL_instance;
168
+ }
169
+ function Format_AsyncAPI_getInstance() {
170
+ Format_initEntries();
171
+ return Format_AsyncAPI_instance;
172
+ }
158
173
  var Language_Java_instance;
159
174
  var Language_Kotlin_instance;
160
175
  var Language_TypeScript_instance;
@@ -167,7 +182,7 @@ var Language_OpenAPIV3_instance;
167
182
  var Language_Avro_instance;
168
183
  function Companion_0() {
169
184
  }
170
- protoOf(Companion_0).x4b = function () {
185
+ protoOf(Companion_0).z4p = function () {
171
186
  // Inline function 'kotlin.collections.associateBy' call
172
187
  var this_0 = get_entries_1();
173
188
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
@@ -176,8 +191,8 @@ protoOf(Companion_0).x4b = function () {
176
191
  var _iterator__ex2g4s = this_0.t();
177
192
  while (_iterator__ex2g4s.u()) {
178
193
  var element = _iterator__ex2g4s.v();
179
- var tmp$ret$0 = element.b3_1;
180
- destination.t2(tmp$ret$0, element);
194
+ var tmp$ret$2 = element.d3_1;
195
+ destination.v2(tmp$ret$2, element);
181
196
  }
182
197
  return destination;
183
198
  };
@@ -218,24 +233,24 @@ function Language(name, ordinal) {
218
233
  }
219
234
  function toEmitter(_this__u8e3s4, packageName, emitShared) {
220
235
  var tmp;
221
- switch (_this__u8e3s4.c3_1) {
236
+ switch (_this__u8e3s4.e3_1) {
222
237
  case 0:
223
- tmp = new JavaIrEmitter(packageName, emitShared);
238
+ tmp = new JavaEmitter(packageName, emitShared);
224
239
  break;
225
240
  case 1:
226
- tmp = new KotlinIrEmitter(packageName, emitShared);
241
+ tmp = new KotlinEmitter(packageName, emitShared);
227
242
  break;
228
243
  case 3:
229
- tmp = new PythonIrEmitter(packageName, emitShared);
244
+ tmp = new PythonEmitter(packageName, emitShared);
230
245
  break;
231
246
  case 4:
232
- tmp = new RustIrEmitter(packageName, emitShared);
247
+ tmp = new RustEmitter(packageName, emitShared);
233
248
  break;
234
249
  case 5:
235
- tmp = new ScalaIrEmitter(packageName, emitShared);
250
+ tmp = new ScalaEmitter(packageName, emitShared);
236
251
  break;
237
252
  case 2:
238
- tmp = new TypeScriptIrEmitter();
253
+ tmp = new TypeScriptEmitter();
239
254
  break;
240
255
  case 6:
241
256
  tmp = new WirespecEmitter();
@@ -297,11 +312,11 @@ function Language_Avro_getInstance() {
297
312
  }
298
313
  function compile_0(arguments_0) {
299
314
  var ctx = new compile$ctx$1(arguments_0);
300
- fold(compile(ctx, NonEmptySet__map_impl_ngjswd(arguments_0.y4b_1, compile$lambda)), arguments_0);
315
+ fold(compile(ctx, NonEmptySet__map_impl_ngjswd(arguments_0.a4q_1, compile$lambda), arguments_0.i4q_1), arguments_0);
301
316
  }
302
317
  function convert(arguments_0) {
303
318
  var tmp;
304
- switch (arguments_0.g4c_1.c3_1) {
319
+ switch (arguments_0.j4q_1.e3_1) {
305
320
  case 0:
306
321
  tmp = OpenAPIV2Parser_instance;
307
322
  break;
@@ -311,14 +326,20 @@ function convert(arguments_0) {
311
326
  case 2:
312
327
  tmp = AvroJsonParser_instance;
313
328
  break;
329
+ case 3:
330
+ tmp = GraphQLParser_instance;
331
+ break;
332
+ case 4:
333
+ tmp = AsyncAPIParser_instance;
334
+ break;
314
335
  default:
315
336
  noWhenBranchMatchedException();
316
337
  break;
317
338
  }
318
339
  var parser = tmp;
319
- var options = new ParseOptions(arguments_0.o4c_1);
340
+ var options = new ParseOptions(arguments_0.r4q_1);
320
341
  // Inline function 'arrow.core.NonEmptyList.map' call
321
- var this_0 = NonEmptySet__map_impl_ngjswd(arguments_0.h4c_1, convert$lambda);
342
+ var this_0 = NonEmptySet__map_impl_ngjswd(arguments_0.k4q_1, convert$lambda);
322
343
  // Inline function 'kotlin.collections.map' call
323
344
  var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
324
345
  // Inline function 'kotlin.collections.mapTo' call
@@ -326,8 +347,8 @@ function convert(arguments_0) {
326
347
  var _iterator__ex2g4s = this_1.t();
327
348
  while (_iterator__ex2g4s.u()) {
328
349
  var item = _iterator__ex2g4s.v();
329
- var tmp$ret$0 = parser.j46(item, arguments_0.o4c_1);
330
- destination.x(tmp$ret$0);
350
+ var tmp$ret$3 = parser.r48(item, arguments_0.r4q_1);
351
+ destination.x(tmp$ret$3);
331
352
  }
332
353
  // Inline function 'arrow.core.NonEmptyList.map' call
333
354
  var this_2 = _NonEmptyList___init__impl__fxd0xp(destination);
@@ -338,8 +359,8 @@ function convert(arguments_0) {
338
359
  var _iterator__ex2g4s_0 = this_3.t();
339
360
  while (_iterator__ex2g4s_0.u()) {
340
361
  var item_0 = _iterator__ex2g4s_0.v();
341
- var tmp$ret$4 = Validator_instance.nt(options, item_0);
342
- destination_0.x(tmp$ret$4);
362
+ var tmp$ret$7 = Validator_instance.z1b(options, item_0);
363
+ destination_0.x(tmp$ret$7);
343
364
  }
344
365
  // Inline function 'kotlin.let' call
345
366
  var it = _NonEmptyList___init__impl__fxd0xp(destination_0);
@@ -349,20 +370,20 @@ function convert(arguments_0) {
349
370
  var raise = new DefaultRaise(false);
350
371
  var tmp_0;
351
372
  try {
352
- var res = new NonEmptyList(raise.fn(it));
353
- raise.wm();
373
+ var res = new NonEmptyList(raise.ln(it));
374
+ raise.cn();
354
375
  tmp_0 = new Right(res);
355
376
  } catch ($p) {
356
377
  var tmp_1;
357
378
  if ($p instanceof RaiseCancellationException) {
358
379
  var e = $p;
359
- raise.wm();
380
+ raise.cn();
360
381
  var it_0 = raisedOrRethrow(e, raise);
361
382
  tmp_1 = new Left(it_0);
362
383
  } else {
363
384
  if ($p instanceof Error) {
364
385
  var e_0 = $p;
365
- raise.wm();
386
+ raise.cn();
366
387
  throw nonFatalOrThrow(e_0);
367
388
  } else {
368
389
  throw $p;
@@ -375,20 +396,20 @@ function convert(arguments_0) {
375
396
  var this_4 = tmp_0;
376
397
  var tmp_2;
377
398
  if (this_4 instanceof Right) {
378
- // Inline function 'arrow.core.NonEmptyList.flatMap' call
379
- var this_5 = this_4.om_1.xm_1;
380
- // Inline function 'kotlin.collections.flatMap' call
381
- var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_5);
382
- // Inline function 'kotlin.collections.flatMapTo' call
383
- var destination_1 = ArrayList_init_$Create$_0();
384
- var _iterator__ex2g4s_1 = tmp0.t();
399
+ // Inline function 'arrow.core.NonEmptyList.map' call
400
+ var this_5 = this_4.um_1.dn_1;
401
+ // Inline function 'kotlin.collections.map' call
402
+ var this_6 = _NonEmptyList___get_all__impl__pmf509(this_5);
403
+ // Inline function 'kotlin.collections.mapTo' call
404
+ var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_6, 10));
405
+ var _iterator__ex2g4s_1 = this_6.t();
385
406
  while (_iterator__ex2g4s_1.u()) {
386
- var element = _iterator__ex2g4s_1.v();
387
- var list = new NonEmptyList(NonEmptySet__flatMap_impl_ovm5jg(arguments_0.i4c_1, convert$lambda_0(element, arguments_0)));
388
- addAll(destination_1, list);
407
+ var item_1 = _iterator__ex2g4s_1.v();
408
+ var tmp$ret$24 = arguments_0.s4q_1 ? withoutDefaults(item_1) : item_1;
409
+ destination_1.x(tmp$ret$24);
389
410
  }
390
- var tmp$ret$19 = _NonEmptyList___init__impl__fxd0xp(destination_1);
391
- var tmp$ret$20 = new NonEmptyList(tmp$ret$19);
411
+ var tmp$ret$21 = _NonEmptyList___init__impl__fxd0xp(destination_1);
412
+ var tmp$ret$20 = new NonEmptyList(tmp$ret$21);
392
413
  tmp_2 = new Right(tmp$ret$20);
393
414
  } else {
394
415
  if (this_4 instanceof Left) {
@@ -397,15 +418,42 @@ function convert(arguments_0) {
397
418
  noWhenBranchMatchedException();
398
419
  }
399
420
  }
400
- var tmp$ret$23 = tmp_2;
401
- fold(tmp$ret$23, arguments_0);
421
+ // Inline function 'arrow.core.Either.map' call
422
+ // Inline function 'arrow.core.flatMap' call
423
+ var this_7 = tmp_2;
424
+ var tmp_3;
425
+ if (this_7 instanceof Right) {
426
+ // Inline function 'arrow.core.NonEmptyList.flatMap' call
427
+ var this_8 = this_7.um_1.dn_1;
428
+ // Inline function 'kotlin.collections.flatMap' call
429
+ var tmp0 = _NonEmptyList___get_all__impl__pmf509(this_8);
430
+ // Inline function 'kotlin.collections.flatMapTo' call
431
+ var destination_2 = ArrayList_init_$Create$_0();
432
+ var _iterator__ex2g4s_2 = tmp0.t();
433
+ while (_iterator__ex2g4s_2.u()) {
434
+ var element = _iterator__ex2g4s_2.v();
435
+ var list = new NonEmptyList(NonEmptySet__flatMap_impl_ovm5jg(arguments_0.l4q_1, convert$lambda_0(element, arguments_0)));
436
+ addAll(destination_2, list);
437
+ }
438
+ var tmp$ret$29 = _NonEmptyList___init__impl__fxd0xp(destination_2);
439
+ var tmp$ret$28 = new NonEmptyList(tmp$ret$29);
440
+ tmp_3 = new Right(tmp$ret$28);
441
+ } else {
442
+ if (this_7 instanceof Left) {
443
+ tmp_3 = this_7;
444
+ } else {
445
+ noWhenBranchMatchedException();
446
+ }
447
+ }
448
+ var tmp$ret$25 = tmp_3;
449
+ fold(tmp$ret$25, arguments_0);
402
450
  }
403
451
  function fold(_this__u8e3s4, arguments_0) {
404
452
  // Inline function 'arrow.core.Either.mapLeft' call
405
453
  var tmp;
406
454
  if (_this__u8e3s4 instanceof Left) {
407
455
  // Inline function 'arrow.core.NonEmptyList.map' call
408
- var this_0 = _this__u8e3s4.mm_1.xm_1;
456
+ var this_0 = _this__u8e3s4.sm_1.dn_1;
409
457
  // Inline function 'kotlin.collections.map' call
410
458
  var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
411
459
  // Inline function 'kotlin.collections.mapTo' call
@@ -413,15 +461,15 @@ function fold(_this__u8e3s4, arguments_0) {
413
461
  var _iterator__ex2g4s = this_1.t();
414
462
  while (_iterator__ex2g4s.u()) {
415
463
  var item = _iterator__ex2g4s.v();
416
- var tmp$ret$0 = item.e();
417
- destination.x(tmp$ret$0);
464
+ var tmp$ret$5 = item.e();
465
+ destination.x(tmp$ret$5);
418
466
  }
419
- var tmp$ret$3 = _NonEmptyList___init__impl__fxd0xp(destination);
420
- var tmp$ret$4 = new NonEmptyList(tmp$ret$3);
421
- tmp = new Left(tmp$ret$4);
467
+ var tmp$ret$2 = _NonEmptyList___init__impl__fxd0xp(destination);
468
+ var tmp$ret$1 = new NonEmptyList(tmp$ret$2);
469
+ tmp = new Left(tmp$ret$1);
422
470
  } else {
423
471
  if (_this__u8e3s4 instanceof Right) {
424
- tmp = new Right(_this__u8e3s4.om_1);
472
+ tmp = new Right(_this__u8e3s4.um_1);
425
473
  } else {
426
474
  noWhenBranchMatchedException();
427
475
  }
@@ -430,25 +478,25 @@ function fold(_this__u8e3s4, arguments_0) {
430
478
  var this_2 = tmp;
431
479
  var tmp_0;
432
480
  if (this_2 instanceof Left) {
433
- var it = this_2.mm_1.xm_1;
434
- var tmp$ret$6 = joinToString(new NonEmptyList(it));
435
- tmp_0 = new Left(tmp$ret$6);
481
+ var it = this_2.sm_1.dn_1;
482
+ var tmp$ret$7 = joinToString(new NonEmptyList(it));
483
+ tmp_0 = new Left(tmp$ret$7);
436
484
  } else {
437
485
  if (this_2 instanceof Right) {
438
- tmp_0 = new Right(this_2.om_1);
486
+ tmp_0 = new Right(this_2.um_1);
439
487
  } else {
440
488
  noWhenBranchMatchedException();
441
489
  }
442
490
  }
443
491
  var tmp0 = tmp_0;
444
- var tmp2 = arguments_0.ex();
492
+ var tmp2 = arguments_0.n1f();
445
493
  // Inline function 'arrow.core.Either.fold' call
446
- var ifRight = arguments_0.p4c();
494
+ var ifRight = arguments_0.t4q();
447
495
  if (tmp0 instanceof Right)
448
- ifRight(tmp0.om_1);
496
+ ifRight(tmp0.um_1);
449
497
  else {
450
498
  if (tmp0 instanceof Left)
451
- tmp2(tmp0.mm_1);
499
+ tmp2(tmp0.sm_1);
452
500
  else {
453
501
  noWhenBranchMatchedException();
454
502
  }
@@ -456,54 +504,57 @@ function fold(_this__u8e3s4, arguments_0) {
456
504
  return Unit_instance;
457
505
  }
458
506
  function compile$ctx$1($arguments) {
459
- this.q4c_1 = $arguments.d4c_1;
460
- this.r4c_1 = $arguments.z4b_1;
507
+ this.u4q_1 = $arguments.f4q_1;
508
+ this.v4q_1 = $arguments.b4q_1;
461
509
  }
462
- protoOf(compile$ctx$1).go = function () {
463
- return this.q4c_1;
464
- };
465
510
  protoOf(compile$ctx$1).mo = function () {
466
- return this.r4c_1;
511
+ return this.u4q_1;
512
+ };
513
+ protoOf(compile$ctx$1).so = function () {
514
+ return this.v4q_1;
467
515
  };
468
516
  function compile$lambda(it) {
469
- return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.s4c_1)), it.t4c_1);
517
+ return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.w4q_1)), it.x4q_1);
470
518
  }
471
519
  function convert$lambda(it) {
472
- return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.s4c_1)), it.t4c_1);
520
+ return new ModuleContent(new FileUri(_Name___get_value__impl__3tbxxy(it.w4q_1)), it.x4q_1);
473
521
  }
474
522
  function convert$lambda_0($ast, $arguments) {
475
523
  return function (it) {
476
- return new NonEmptyList(it.no($ast, $arguments.m4c_1));
524
+ return new NonEmptyList(it.to($ast, $arguments.p4q_1));
477
525
  };
478
526
  }
479
- function CompilerArguments(input, emitters, writer, error, packageName, logger, shared, strict) {
480
- this.y4b_1 = input;
481
- this.z4b_1 = emitters;
482
- this.a4c_1 = writer;
483
- this.b4c_1 = error;
484
- this.c4c_1 = packageName;
485
- this.d4c_1 = logger;
486
- this.e4c_1 = shared;
487
- this.f4c_1 = strict;
488
- }
489
- protoOf(CompilerArguments).p4c = function () {
490
- return this.a4c_1;
527
+ function CompilerArguments(input, emitters, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
528
+ ignoreDefaults = ignoreDefaults === VOID ? false : ignoreDefaults;
529
+ this.a4q_1 = input;
530
+ this.b4q_1 = emitters;
531
+ this.c4q_1 = writer;
532
+ this.d4q_1 = error;
533
+ this.e4q_1 = packageName;
534
+ this.f4q_1 = logger;
535
+ this.g4q_1 = shared;
536
+ this.h4q_1 = strict;
537
+ this.i4q_1 = ignoreDefaults;
538
+ }
539
+ protoOf(CompilerArguments).t4q = function () {
540
+ return this.c4q_1;
491
541
  };
492
- protoOf(CompilerArguments).ex = function () {
493
- return this.b4c_1;
542
+ protoOf(CompilerArguments).n1f = function () {
543
+ return this.d4q_1;
494
544
  };
495
545
  protoOf(CompilerArguments).toString = function () {
496
- return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.y4b_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.z4b_1) + ', writer=' + toString(this.a4c_1) + ', error=' + toString(this.b4c_1) + ', packageName=' + this.c4c_1.toString() + ', logger=' + toString(this.d4c_1) + ', shared=' + this.e4c_1 + ', strict=' + this.f4c_1 + ')';
546
+ return 'CompilerArguments(input=' + NonEmptySet__toString_impl_yfcj6n(this.a4q_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.b4q_1) + ', writer=' + toString(this.c4q_1) + ', error=' + toString(this.d4q_1) + ', packageName=' + this.e4q_1.toString() + ', logger=' + toString(this.f4q_1) + ', shared=' + this.g4q_1 + ', strict=' + this.h4q_1 + ', ignoreDefaults=' + this.i4q_1 + ')';
497
547
  };
498
548
  protoOf(CompilerArguments).hashCode = function () {
499
- var result = NonEmptySet__hashCode_impl_co6mds(this.y4b_1);
500
- result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.z4b_1) | 0;
501
- result = imul(result, 31) + hashCode(this.a4c_1) | 0;
502
- result = imul(result, 31) + hashCode(this.b4c_1) | 0;
503
- result = imul(result, 31) + hashCode(this.c4c_1) | 0;
504
- result = imul(result, 31) + hashCode(this.d4c_1) | 0;
505
- result = imul(result, 31) + getBooleanHashCode(this.e4c_1) | 0;
506
- result = imul(result, 31) + getBooleanHashCode(this.f4c_1) | 0;
549
+ var result = NonEmptySet__hashCode_impl_co6mds(this.a4q_1);
550
+ result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.b4q_1) | 0;
551
+ result = imul(result, 31) + hashCode(this.c4q_1) | 0;
552
+ result = imul(result, 31) + hashCode(this.d4q_1) | 0;
553
+ result = imul(result, 31) + hashCode(this.e4q_1) | 0;
554
+ result = imul(result, 31) + hashCode(this.f4q_1) | 0;
555
+ result = imul(result, 31) + getBooleanHashCode(this.g4q_1) | 0;
556
+ result = imul(result, 31) + getBooleanHashCode(this.h4q_1) | 0;
557
+ result = imul(result, 31) + getBooleanHashCode(this.i4q_1) | 0;
507
558
  return result;
508
559
  };
509
560
  protoOf(CompilerArguments).equals = function (other) {
@@ -511,54 +562,59 @@ protoOf(CompilerArguments).equals = function (other) {
511
562
  return true;
512
563
  if (!(other instanceof CompilerArguments))
513
564
  return false;
514
- if (!equals(new NonEmptySet(this.y4b_1), new NonEmptySet(other.y4b_1)))
565
+ if (!equals(new NonEmptySet(this.a4q_1), new NonEmptySet(other.a4q_1)))
566
+ return false;
567
+ if (!equals(new NonEmptySet(this.b4q_1), new NonEmptySet(other.b4q_1)))
515
568
  return false;
516
- if (!equals(new NonEmptySet(this.z4b_1), new NonEmptySet(other.z4b_1)))
569
+ if (!equals(this.c4q_1, other.c4q_1))
517
570
  return false;
518
- if (!equals(this.a4c_1, other.a4c_1))
571
+ if (!equals(this.d4q_1, other.d4q_1))
519
572
  return false;
520
- if (!equals(this.b4c_1, other.b4c_1))
573
+ if (!equals(this.e4q_1, other.e4q_1))
521
574
  return false;
522
- if (!equals(this.c4c_1, other.c4c_1))
575
+ if (!equals(this.f4q_1, other.f4q_1))
523
576
  return false;
524
- if (!equals(this.d4c_1, other.d4c_1))
577
+ if (!(this.g4q_1 === other.g4q_1))
525
578
  return false;
526
- if (!(this.e4c_1 === other.e4c_1))
579
+ if (!(this.h4q_1 === other.h4q_1))
527
580
  return false;
528
- if (!(this.f4c_1 === other.f4c_1))
581
+ if (!(this.i4q_1 === other.i4q_1))
529
582
  return false;
530
583
  return true;
531
584
  };
532
- function ConverterArguments(format, input, emitters, writer, error, packageName, logger, shared, strict) {
533
- this.g4c_1 = format;
534
- this.h4c_1 = input;
535
- this.i4c_1 = emitters;
536
- this.j4c_1 = writer;
537
- this.k4c_1 = error;
538
- this.l4c_1 = packageName;
539
- this.m4c_1 = logger;
540
- this.n4c_1 = shared;
541
- this.o4c_1 = strict;
542
- }
543
- protoOf(ConverterArguments).p4c = function () {
544
- return this.j4c_1;
585
+ function ConverterArguments(format, input, emitters, writer, error, packageName, logger, shared, strict, ignoreDefaults) {
586
+ ignoreDefaults = ignoreDefaults === VOID ? false : ignoreDefaults;
587
+ this.j4q_1 = format;
588
+ this.k4q_1 = input;
589
+ this.l4q_1 = emitters;
590
+ this.m4q_1 = writer;
591
+ this.n4q_1 = error;
592
+ this.o4q_1 = packageName;
593
+ this.p4q_1 = logger;
594
+ this.q4q_1 = shared;
595
+ this.r4q_1 = strict;
596
+ this.s4q_1 = ignoreDefaults;
597
+ }
598
+ protoOf(ConverterArguments).t4q = function () {
599
+ return this.m4q_1;
545
600
  };
546
- protoOf(ConverterArguments).ex = function () {
547
- return this.k4c_1;
601
+ protoOf(ConverterArguments).n1f = function () {
602
+ return this.n4q_1;
548
603
  };
549
604
  protoOf(ConverterArguments).toString = function () {
550
- return 'ConverterArguments(format=' + this.g4c_1.toString() + ', input=' + NonEmptySet__toString_impl_yfcj6n(this.h4c_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.i4c_1) + ', writer=' + toString(this.j4c_1) + ', error=' + toString(this.k4c_1) + ', packageName=' + this.l4c_1.toString() + ', logger=' + toString(this.m4c_1) + ', shared=' + this.n4c_1 + ', strict=' + this.o4c_1 + ')';
605
+ return 'ConverterArguments(format=' + this.j4q_1.toString() + ', input=' + NonEmptySet__toString_impl_yfcj6n(this.k4q_1) + ', emitters=' + NonEmptySet__toString_impl_yfcj6n(this.l4q_1) + ', writer=' + toString(this.m4q_1) + ', error=' + toString(this.n4q_1) + ', packageName=' + this.o4q_1.toString() + ', logger=' + toString(this.p4q_1) + ', shared=' + this.q4q_1 + ', strict=' + this.r4q_1 + ', ignoreDefaults=' + this.s4q_1 + ')';
551
606
  };
552
607
  protoOf(ConverterArguments).hashCode = function () {
553
- var result = this.g4c_1.hashCode();
554
- result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.h4c_1) | 0;
555
- result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.i4c_1) | 0;
556
- result = imul(result, 31) + hashCode(this.j4c_1) | 0;
557
- result = imul(result, 31) + hashCode(this.k4c_1) | 0;
558
- result = imul(result, 31) + hashCode(this.l4c_1) | 0;
559
- result = imul(result, 31) + hashCode(this.m4c_1) | 0;
560
- result = imul(result, 31) + getBooleanHashCode(this.n4c_1) | 0;
561
- result = imul(result, 31) + getBooleanHashCode(this.o4c_1) | 0;
608
+ var result = this.j4q_1.hashCode();
609
+ result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.k4q_1) | 0;
610
+ result = imul(result, 31) + NonEmptySet__hashCode_impl_co6mds(this.l4q_1) | 0;
611
+ result = imul(result, 31) + hashCode(this.m4q_1) | 0;
612
+ result = imul(result, 31) + hashCode(this.n4q_1) | 0;
613
+ result = imul(result, 31) + hashCode(this.o4q_1) | 0;
614
+ result = imul(result, 31) + hashCode(this.p4q_1) | 0;
615
+ result = imul(result, 31) + getBooleanHashCode(this.q4q_1) | 0;
616
+ result = imul(result, 31) + getBooleanHashCode(this.r4q_1) | 0;
617
+ result = imul(result, 31) + getBooleanHashCode(this.s4q_1) | 0;
562
618
  return result;
563
619
  };
564
620
  protoOf(ConverterArguments).equals = function (other) {
@@ -566,36 +622,38 @@ protoOf(ConverterArguments).equals = function (other) {
566
622
  return true;
567
623
  if (!(other instanceof ConverterArguments))
568
624
  return false;
569
- if (!this.g4c_1.equals(other.g4c_1))
625
+ if (!this.j4q_1.equals(other.j4q_1))
626
+ return false;
627
+ if (!equals(new NonEmptySet(this.k4q_1), new NonEmptySet(other.k4q_1)))
570
628
  return false;
571
- if (!equals(new NonEmptySet(this.h4c_1), new NonEmptySet(other.h4c_1)))
629
+ if (!equals(new NonEmptySet(this.l4q_1), new NonEmptySet(other.l4q_1)))
572
630
  return false;
573
- if (!equals(new NonEmptySet(this.i4c_1), new NonEmptySet(other.i4c_1)))
631
+ if (!equals(this.m4q_1, other.m4q_1))
574
632
  return false;
575
- if (!equals(this.j4c_1, other.j4c_1))
633
+ if (!equals(this.n4q_1, other.n4q_1))
576
634
  return false;
577
- if (!equals(this.k4c_1, other.k4c_1))
635
+ if (!equals(this.o4q_1, other.o4q_1))
578
636
  return false;
579
- if (!equals(this.l4c_1, other.l4c_1))
637
+ if (!equals(this.p4q_1, other.p4q_1))
580
638
  return false;
581
- if (!equals(this.m4c_1, other.m4c_1))
639
+ if (!(this.q4q_1 === other.q4q_1))
582
640
  return false;
583
- if (!(this.n4c_1 === other.n4c_1))
641
+ if (!(this.r4q_1 === other.r4q_1))
584
642
  return false;
585
- if (!(this.o4c_1 === other.o4c_1))
643
+ if (!(this.s4q_1 === other.s4q_1))
586
644
  return false;
587
645
  return true;
588
646
  };
589
647
  function Source(name, content) {
590
- this.s4c_1 = name;
591
- this.t4c_1 = content;
648
+ this.w4q_1 = name;
649
+ this.x4q_1 = content;
592
650
  }
593
651
  protoOf(Source).toString = function () {
594
- return 'Source(name=' + Name__toString_impl_61tomu(this.s4c_1) + ', content=' + this.t4c_1 + ')';
652
+ return 'Source(name=' + Name__toString_impl_61tomu(this.w4q_1) + ', content=' + this.x4q_1 + ')';
595
653
  };
596
654
  protoOf(Source).hashCode = function () {
597
- var result = Name__hashCode_impl_fpc861(this.s4c_1);
598
- result = imul(result, 31) + getStringHashCode(this.t4c_1) | 0;
655
+ var result = Name__hashCode_impl_fpc861(this.w4q_1);
656
+ result = imul(result, 31) + getStringHashCode(this.x4q_1) | 0;
599
657
  return result;
600
658
  };
601
659
  protoOf(Source).equals = function (other) {
@@ -603,9 +661,9 @@ protoOf(Source).equals = function (other) {
603
661
  return true;
604
662
  if (!(other instanceof Source))
605
663
  return false;
606
- if (!(this.s4c_1 === other.s4c_1))
664
+ if (!(this.w4q_1 === other.w4q_1))
607
665
  return false;
608
- if (!(this.t4c_1 === other.t4c_1))
666
+ if (!(this.x4q_1 === other.x4q_1))
609
667
  return false;
610
668
  return true;
611
669
  };
@@ -636,24 +694,24 @@ function ClassPath__hashCode_impl_cciyyd($this) {
636
694
  function ClassPath__equals_impl_kffpch($this, other) {
637
695
  if (!(other instanceof ClassPath))
638
696
  return false;
639
- if (!($this === other.u4c_1))
697
+ if (!($this === other.y4q_1))
640
698
  return false;
641
699
  return true;
642
700
  }
643
701
  function ClassPath(value) {
644
- this.u4c_1 = value;
702
+ this.y4q_1 = value;
645
703
  }
646
- protoOf(ClassPath).m1 = function () {
647
- return _ClassPath___get_value__impl__lfuxg0(this.u4c_1);
704
+ protoOf(ClassPath).o1 = function () {
705
+ return _ClassPath___get_value__impl__lfuxg0(this.y4q_1);
648
706
  };
649
707
  protoOf(ClassPath).toString = function () {
650
- return ClassPath__toString_impl_y3ovr8(this.u4c_1);
708
+ return ClassPath__toString_impl_y3ovr8(this.y4q_1);
651
709
  };
652
710
  protoOf(ClassPath).hashCode = function () {
653
- return ClassPath__hashCode_impl_cciyyd(this.u4c_1);
711
+ return ClassPath__hashCode_impl_cciyyd(this.y4q_1);
654
712
  };
655
713
  protoOf(ClassPath).equals = function (other) {
656
- return ClassPath__equals_impl_kffpch(this.u4c_1, other);
714
+ return ClassPath__equals_impl_kffpch(this.y4q_1, other);
657
715
  };
658
716
  function _DirectoryPath___init__impl__5bzkjd(value) {
659
717
  return value;
@@ -670,31 +728,31 @@ function DirectoryPath__hashCode_impl_cv3skg($this) {
670
728
  function DirectoryPath__equals_impl_c2rwsc($this, other) {
671
729
  if (!(other instanceof DirectoryPath))
672
730
  return false;
673
- if (!($this === other.v4c_1))
731
+ if (!($this === other.z4q_1))
674
732
  return false;
675
733
  return true;
676
734
  }
677
735
  function DirectoryPath(value) {
678
- this.v4c_1 = value;
736
+ this.z4q_1 = value;
679
737
  }
680
- protoOf(DirectoryPath).m1 = function () {
681
- return _DirectoryPath___get_value__impl__hdy2e3(this.v4c_1);
738
+ protoOf(DirectoryPath).o1 = function () {
739
+ return _DirectoryPath___get_value__impl__hdy2e3(this.z4q_1);
682
740
  };
683
741
  protoOf(DirectoryPath).toString = function () {
684
- return DirectoryPath__toString_impl_ym9pdb(this.v4c_1);
742
+ return DirectoryPath__toString_impl_ym9pdb(this.z4q_1);
685
743
  };
686
744
  protoOf(DirectoryPath).hashCode = function () {
687
- return DirectoryPath__hashCode_impl_cv3skg(this.v4c_1);
745
+ return DirectoryPath__hashCode_impl_cv3skg(this.z4q_1);
688
746
  };
689
747
  protoOf(DirectoryPath).equals = function (other) {
690
- return DirectoryPath__equals_impl_c2rwsc(this.v4c_1, other);
748
+ return DirectoryPath__equals_impl_c2rwsc(this.z4q_1, other);
691
749
  };
692
750
  function Directory(path) {
693
- this.w4c_1 = path;
751
+ this.a4r_1 = path;
694
752
  }
695
753
  function Companion_1() {
696
754
  }
697
- protoOf(Companion_1).x4c = function (input) {
755
+ protoOf(Companion_1).b4r = function (input) {
698
756
  // Inline function 'kotlin.let' call
699
757
  var it = split(input, ['/']);
700
758
  var list = plus(dropLast(it, 1), split(last(it), ['.']));
@@ -709,7 +767,7 @@ protoOf(Companion_1).x4c = function (input) {
709
767
  var _iterator__ex2g4s = tmp0.t();
710
768
  while (_iterator__ex2g4s.u()) {
711
769
  var element = _iterator__ex2g4s.v();
712
- if (element.cr_1 === ext) {
770
+ if (element.wr_1 === ext) {
713
771
  tmp$ret$5 = element;
714
772
  break $l$block;
715
773
  }
@@ -719,6 +777,7 @@ protoOf(Companion_1).x4c = function (input) {
719
777
  var tmp0_elvis_lhs = tmp$ret$5;
720
778
  var tmp;
721
779
  if (tmp0_elvis_lhs == null) {
780
+ // Inline function 'kotlin.error' call
722
781
  var message = 'Invalid file extension: ' + ext;
723
782
  throw IllegalStateException_init_$Create$(toString(message));
724
783
  } else {
@@ -727,7 +786,7 @@ protoOf(Companion_1).x4c = function (input) {
727
786
  var extension = tmp;
728
787
  var idxOfFileName = list.b1() - 2 | 0;
729
788
  var filename = _Name___init__impl__o4q07e(list.c1(idxOfFileName));
730
- var path = joinToString(list.m2(0, idxOfFileName), '/');
789
+ var path = joinToString(list.o2(0, idxOfFileName), '/');
731
790
  return new FilePath(_DirectoryPath___init__impl__5bzkjd(path), filename, extension);
732
791
  };
733
792
  var Companion_instance_1;
@@ -735,17 +794,17 @@ function Companion_getInstance_1() {
735
794
  return Companion_instance_1;
736
795
  }
737
796
  function FilePath(directory, name, extension) {
738
- this.y4c_1 = directory;
739
- this.z4c_1 = name;
740
- this.a4d_1 = extension;
797
+ this.c4r_1 = directory;
798
+ this.d4r_1 = name;
799
+ this.e4r_1 = extension;
741
800
  }
742
801
  protoOf(FilePath).toString = function () {
743
- return DirectoryPath__toString_impl_ym9pdb(this.y4c_1) + '/' + _Name___get_value__impl__3tbxxy(this.z4c_1) + '.' + this.a4d_1.cr_1;
802
+ return DirectoryPath__toString_impl_ym9pdb(this.c4r_1) + '/' + _Name___get_value__impl__3tbxxy(this.d4r_1) + '.' + this.e4r_1.wr_1;
744
803
  };
745
804
  protoOf(FilePath).hashCode = function () {
746
- var result = DirectoryPath__hashCode_impl_cv3skg(this.y4c_1);
747
- result = imul(result, 31) + Name__hashCode_impl_fpc861(this.z4c_1) | 0;
748
- result = imul(result, 31) + this.a4d_1.hashCode() | 0;
805
+ var result = DirectoryPath__hashCode_impl_cv3skg(this.c4r_1);
806
+ result = imul(result, 31) + Name__hashCode_impl_fpc861(this.d4r_1) | 0;
807
+ result = imul(result, 31) + this.e4r_1.hashCode() | 0;
749
808
  return result;
750
809
  };
751
810
  protoOf(FilePath).equals = function (other) {
@@ -753,24 +812,24 @@ protoOf(FilePath).equals = function (other) {
753
812
  return true;
754
813
  if (!(other instanceof FilePath))
755
814
  return false;
756
- if (!(this.y4c_1 === other.y4c_1))
815
+ if (!(this.c4r_1 === other.c4r_1))
757
816
  return false;
758
- if (!(this.z4c_1 === other.z4c_1))
817
+ if (!(this.d4r_1 === other.d4r_1))
759
818
  return false;
760
- if (!this.a4d_1.equals(other.a4d_1))
819
+ if (!this.e4r_1.equals(other.e4r_1))
761
820
  return false;
762
821
  return true;
763
822
  };
764
823
  function path(_this__u8e3s4) {
765
824
  var tmp;
766
825
  if (_this__u8e3s4 instanceof ClassPath) {
767
- tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.u4c_1);
826
+ tmp = _ClassPath___get_value__impl__lfuxg0(_this__u8e3s4.y4q_1);
768
827
  } else {
769
828
  if (_this__u8e3s4 instanceof DirectoryPath) {
770
- tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.v4c_1);
829
+ tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.z4q_1);
771
830
  } else {
772
831
  if (_this__u8e3s4 instanceof FilePath) {
773
- tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.y4c_1);
832
+ tmp = _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.c4r_1);
774
833
  } else {
775
834
  noWhenBranchMatchedException();
776
835
  }
@@ -779,13 +838,13 @@ function path(_this__u8e3s4) {
779
838
  return tmp;
780
839
  }
781
840
  function IOError(message) {
782
- this.b4d_1 = message;
841
+ this.f4r_1 = message;
783
842
  }
784
843
  function WirespecFileError() {
785
844
  SpecificFile.call(this, FileExtension_Wirespec_getInstance());
786
845
  }
787
846
  function SpecificFile(extension) {
788
- IOError.call(this, 'No ' + extension.b3_1 + ' file found');
847
+ IOError.call(this, 'No ' + extension.d3_1 + ' file found');
789
848
  }
790
849
  function CannotAccessFileOrDirectory(input) {
791
850
  IOError.call(this, 'Cannot access file or directory: ' + input + '.');
@@ -811,39 +870,39 @@ function getFullPath(input, createIfNotExists_0) {
811
870
  tmp_0 = new ClassPath(_ClassPath___init__impl__obyw3o(substringAfter(input, 'classpath:')));
812
871
  } else {
813
872
  var path = createIfNotExists(Path(input), createIfNotExists_0);
814
- var tmp0_elvis_lhs = get_SystemFileSystem().m4b(path);
873
+ var tmp0_elvis_lhs = get_SystemFileSystem().o4p(path);
815
874
  var tmp_1;
816
875
  if (tmp0_elvis_lhs == null) {
817
- raise.an(new CannotAccessFileOrDirectory(input));
876
+ raise.gn(new CannotAccessFileOrDirectory(input));
818
877
  } else {
819
878
  tmp_1 = tmp0_elvis_lhs;
820
879
  }
821
880
  var meta = tmp_1;
822
881
  var pathString = path.toString();
823
882
  var tmp_2;
824
- if (meta.f4b_1) {
883
+ if (meta.h4p_1) {
825
884
  tmp_2 = new DirectoryPath(_DirectoryPath___init__impl__5bzkjd(pathString));
826
- } else if (meta.e4b_1) {
827
- tmp_2 = Companion_instance_1.x4c(pathString);
885
+ } else if (meta.g4p_1) {
886
+ tmp_2 = Companion_instance_1.b4r(pathString);
828
887
  } else {
829
- raise.an(new IsNotAFileOrDirectory(pathString));
888
+ raise.gn(new IsNotAFileOrDirectory(pathString));
830
889
  }
831
890
  tmp_0 = tmp_2;
832
891
  }
833
892
  var res = tmp_0;
834
- raise.wm();
893
+ raise.cn();
835
894
  tmp = new Right(res);
836
895
  } catch ($p) {
837
896
  var tmp_3;
838
897
  if ($p instanceof RaiseCancellationException) {
839
898
  var e = $p;
840
- raise.wm();
899
+ raise.cn();
841
900
  var it = raisedOrRethrow(e, raise);
842
901
  tmp_3 = new Left(it);
843
902
  } else {
844
903
  if ($p instanceof Error) {
845
904
  var e_0 = $p;
846
- raise.wm();
905
+ raise.cn();
847
906
  throw nonFatalOrThrow(e_0);
848
907
  } else {
849
908
  throw $p;
@@ -857,11 +916,13 @@ function or(_this__u8e3s4, errorFn) {
857
916
  // Inline function 'arrow.core.getOrElse' call
858
917
  var tmp;
859
918
  if (_this__u8e3s4 instanceof Left) {
860
- errorFn(_this__u8e3s4.mm_1.b4d_1);
861
- tmp = throwKotlinNothingValueException();
919
+ var tmp$ret$1;
920
+ errorFn(_this__u8e3s4.sm_1.f4r_1);
921
+ throwKotlinNothingValueException();
922
+ tmp = tmp$ret$1;
862
923
  } else {
863
924
  if (_this__u8e3s4 instanceof Right) {
864
- tmp = _this__u8e3s4.om_1;
925
+ tmp = _this__u8e3s4.um_1;
865
926
  } else {
866
927
  noWhenBranchMatchedException();
867
928
  }
@@ -875,10 +936,10 @@ function wirespecSources(_this__u8e3s4, logger) {
875
936
  var raise = new DefaultRaise(false);
876
937
  var tmp;
877
938
  try {
878
- var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.w4c_1));
939
+ var tmp0 = Path(_DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.a4r_1));
879
940
  // Inline function 'kotlin.let' call
880
941
  // Inline function 'kotlin.collections.filter' call
881
- var tmp0_0 = get_SystemFileSystem().n4b(tmp0);
942
+ var tmp0_0 = get_SystemFileSystem().p4p(tmp0);
882
943
  // Inline function 'kotlin.collections.filterTo' call
883
944
  var destination = ArrayList_init_$Create$_0();
884
945
  var _iterator__ex2g4s = tmp0_0.t();
@@ -904,11 +965,11 @@ function wirespecSources(_this__u8e3s4, logger) {
904
965
  var _iterator__ex2g4s_1 = destination_0.t();
905
966
  while (_iterator__ex2g4s_1.u()) {
906
967
  var item = _iterator__ex2g4s_1.v();
907
- var tmp$ret$8 = to(Companion_instance_1.x4c(item.toString()), readString(buffered(get_SystemFileSystem().j4b(item))));
908
- destination_1.x(tmp$ret$8);
968
+ var tmp$ret$14 = to(Companion_instance_1.b4r(item.toString()), readString(buffered(get_SystemFileSystem().l4p(item))));
969
+ destination_1.x(tmp$ret$14);
909
970
  }
910
971
  // Inline function 'kotlin.also' call
911
- logger.ir('Found ' + destination_1.b1() + ' file(s) to process in ' + _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.w4c_1));
972
+ logger.zr('Found ' + destination_1.b1() + ' file(s) to process in ' + _DirectoryPath___get_value__impl__hdy2e3(_this__u8e3s4.a4r_1));
912
973
  // Inline function 'kotlin.collections.forEachIndexed' call
913
974
  var index = 0;
914
975
  var _iterator__ex2g4s_2 = destination_1.t();
@@ -917,7 +978,7 @@ function wirespecSources(_this__u8e3s4, logger) {
917
978
  var _unary__edvuaz = index;
918
979
  index = _unary__edvuaz + 1 | 0;
919
980
  var prefix = checkIndexOverflow(_unary__edvuaz) < (destination_1.b1() - 1 | 0) ? '\u251C\u2500\u2500 ' : '\u2514\u2500\u2500 ';
920
- logger.ir(' ' + prefix + ' ' + _Name___get_value__impl__3tbxxy(item_0.ff_1.z4c_1) + '.' + item_0.ff_1.a4d_1.cr_1);
981
+ logger.zr(' ' + prefix + ' ' + _Name___get_value__impl__3tbxxy(item_0.ef_1.d4r_1) + '.' + item_0.ef_1.e4r_1.wr_1);
921
982
  }
922
983
  // Inline function 'kotlin.collections.map' call
923
984
  // Inline function 'kotlin.collections.mapTo' call
@@ -925,33 +986,33 @@ function wirespecSources(_this__u8e3s4, logger) {
925
986
  var _iterator__ex2g4s_3 = destination_1.t();
926
987
  while (_iterator__ex2g4s_3.u()) {
927
988
  var item_1 = _iterator__ex2g4s_3.v();
928
- var path = item_1.we();
929
- var source = item_1.xe();
930
- var tmp$ret$15 = new Source(path.z4c_1, source);
931
- destination_2.x(tmp$ret$15);
989
+ var path = item_1.ye();
990
+ var source = item_1.ze();
991
+ var tmp$ret$21 = new Source(path.d4r_1, source);
992
+ destination_2.x(tmp$ret$21);
932
993
  }
933
994
  var tmp0_elvis_lhs = toNonEmptySetOrNull(destination_2);
934
995
  var tmp_0;
935
996
  var tmp_1 = tmp0_elvis_lhs;
936
997
  if ((tmp_1 == null ? null : new NonEmptySet(tmp_1)) == null) {
937
- raise.an(new WirespecFileError());
998
+ raise.gn(new WirespecFileError());
938
999
  } else {
939
1000
  tmp_0 = tmp0_elvis_lhs;
940
1001
  }
941
1002
  var res = new NonEmptySet(tmp_0);
942
- raise.wm();
1003
+ raise.cn();
943
1004
  tmp = new Right(res);
944
1005
  } catch ($p) {
945
1006
  var tmp_2;
946
1007
  if ($p instanceof RaiseCancellationException) {
947
1008
  var e = $p;
948
- raise.wm();
1009
+ raise.cn();
949
1010
  var it = raisedOrRethrow(e, raise);
950
1011
  tmp_2 = new Left(it);
951
1012
  } else {
952
1013
  if ($p instanceof Error) {
953
1014
  var e_0 = $p;
954
- raise.wm();
1015
+ raise.cn();
955
1016
  throw nonFatalOrThrow(e_0);
956
1017
  } else {
957
1018
  throw $p;
@@ -964,7 +1025,7 @@ function wirespecSources(_this__u8e3s4, logger) {
964
1025
  function read(_this__u8e3s4) {
965
1026
  // Inline function 'kotlin.let' call
966
1027
  var it = Path(_this__u8e3s4.toString());
967
- return readString(buffered(get_SystemFileSystem().j4b(it)));
1028
+ return readString(buffered(get_SystemFileSystem().l4p(it)));
968
1029
  }
969
1030
  function getOutPutPath(inputPath, output) {
970
1031
  // Inline function 'arrow.core.raise.either' call
@@ -973,13 +1034,13 @@ function getOutPutPath(inputPath, output) {
973
1034
  var raise = new DefaultRaise(false);
974
1035
  var tmp;
975
1036
  try {
976
- var it = raise.en(getFullPath(output, true));
1037
+ var it = raise.kn(getFullPath(output, true));
977
1038
  var tmp_0;
978
1039
  if (it == null) {
979
1040
  tmp_0 = _DirectoryPath___init__impl__5bzkjd(path(inputPath) + '/out');
980
1041
  } else {
981
1042
  if (it instanceof DirectoryPath) {
982
- tmp_0 = it.v4c_1;
1043
+ tmp_0 = it.z4q_1;
983
1044
  } else {
984
1045
  var tmp_1;
985
1046
  if (it instanceof FilePath) {
@@ -988,26 +1049,26 @@ function getOutPutPath(inputPath, output) {
988
1049
  tmp_1 = it instanceof ClassPath;
989
1050
  }
990
1051
  if (tmp_1) {
991
- raise.an(new OutputShouldBeADirectory());
1052
+ raise.gn(new OutputShouldBeADirectory());
992
1053
  } else {
993
1054
  noWhenBranchMatchedException();
994
1055
  }
995
1056
  }
996
1057
  }
997
1058
  var res = new DirectoryPath(tmp_0);
998
- raise.wm();
1059
+ raise.cn();
999
1060
  tmp = new Right(res);
1000
1061
  } catch ($p) {
1001
1062
  var tmp_2;
1002
1063
  if ($p instanceof RaiseCancellationException) {
1003
1064
  var e = $p;
1004
- raise.wm();
1065
+ raise.cn();
1005
1066
  var it_0 = raisedOrRethrow(e, raise);
1006
1067
  tmp_2 = new Left(it_0);
1007
1068
  } else {
1008
1069
  if ($p instanceof Error) {
1009
1070
  var e_0 = $p;
1010
- raise.wm();
1071
+ raise.cn();
1011
1072
  throw nonFatalOrThrow(e_0);
1012
1073
  } else {
1013
1074
  throw $p;
@@ -1020,38 +1081,38 @@ function getOutPutPath(inputPath, output) {
1020
1081
  function write(_this__u8e3s4, string) {
1021
1082
  // Inline function 'kotlin.also' call
1022
1083
  var this_0 = Path(_this__u8e3s4.toString());
1023
- var tmp0_safe_receiver = this_0.p4b();
1084
+ var tmp0_safe_receiver = this_0.r4p();
1024
1085
  if (tmp0_safe_receiver == null)
1025
1086
  null;
1026
1087
  else
1027
1088
  createIfNotExists(tmp0_safe_receiver);
1028
1089
  // Inline function 'kotlin.let' call
1029
1090
  // Inline function 'kotlin.apply' call
1030
- var this_1 = buffered_0(get_SystemFileSystem().l4b(this_0));
1091
+ var this_1 = buffered_0(get_SystemFileSystem().n4p(this_0));
1031
1092
  writeString(this_1, string);
1032
- this_1.a9();
1093
+ this_1.c9();
1033
1094
  return Unit_instance;
1034
1095
  }
1035
1096
  function createIfNotExists(_this__u8e3s4, create) {
1036
1097
  create = create === VOID ? true : create;
1037
1098
  // Inline function 'kotlin.also' call
1038
- if (create && !get_SystemFileSystem().h4b(_this__u8e3s4)) {
1039
- get_SystemFileSystem().i4b(_this__u8e3s4, true);
1099
+ if (create && !get_SystemFileSystem().j4p(_this__u8e3s4)) {
1100
+ get_SystemFileSystem().k4p(_this__u8e3s4, true);
1040
1101
  }
1041
1102
  return _this__u8e3s4;
1042
1103
  }
1043
1104
  function isRegularFile(path) {
1044
- var tmp0_safe_receiver = get_SystemFileSystem().m4b(path);
1045
- return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e4b_1) === true;
1105
+ var tmp0_safe_receiver = get_SystemFileSystem().o4p(path);
1106
+ return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g4p_1) === true;
1046
1107
  }
1047
1108
  function isWirespecFile(path) {
1048
- return get_extension(path) === FileExtension_Wirespec_getInstance().cr_1;
1109
+ return get_extension(path) === FileExtension_Wirespec_getInstance().wr_1;
1049
1110
  }
1050
1111
  function get_extension(_this__u8e3s4) {
1051
1112
  return substringAfterLast(_this__u8e3s4.m(), _Char___init__impl__6a9atx(46), '');
1052
1113
  }
1053
1114
  //region block: post-declaration
1054
- protoOf(compile$ctx$1).fo = get_spec;
1115
+ protoOf(compile$ctx$1).lo = get_spec;
1055
1116
  //endregion
1056
1117
  //region block: init
1057
1118
  Companion_instance = new Companion();
@@ -1077,11 +1138,11 @@ export {
1077
1138
  compile_0 as compile3ocumkpx3p9ko,
1078
1139
  convert as convert3g5kyi4d6y9kc,
1079
1140
  toEmitter as toEmitter3vk7m5bivtqhk,
1080
- Language_Kotlin_getInstance as Language_Kotlin_getInstance86uxb9qtensx,
1081
- _DirectoryPath___get_value__impl__hdy2e3 as _DirectoryPath___get_value__impl__hdy2e33f4bkvzwyu6et,
1082
- _Name___init__impl__o4q07e as _Name___init__impl__o4q07e2eria0k23tn4,
1083
- Companion_instance_1 as Companion_instance2lab4vlj8rrht,
1084
- Companion_instance_0 as Companion_instance1z5eikg0ignsi,
1141
+ Companion_instance_1 as Companion_instance3u189ncjgxp6,
1142
+ Companion_instance_0 as Companion_instanceostrm0i8dq1p,
1143
+ Language_Kotlin_getInstance as Language_Kotlin_getInstancel9flkgp6e3q4,
1144
+ _DirectoryPath___get_value__impl__hdy2e3 as _DirectoryPath___get_value__impl__hdy2e31of6jj3zjtzs5,
1145
+ _Name___init__impl__o4q07e as _Name___init__impl__o4q07e3vb5gulc0hok1,
1085
1146
  };
1086
1147
  //endregion
1087
1148