@flock/wirespec 0.12.4 → 0.12.9

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 (33) hide show
  1. package/arrow-arrow-atomic.mjs.map +1 -1
  2. package/arrow-arrow-core.mjs.map +1 -1
  3. package/clikt-clikt.mjs +1167 -1167
  4. package/clikt-clikt.mjs.map +1 -1
  5. package/colormath-root-colormath.mjs +425 -425
  6. package/colormath-root-colormath.mjs.map +1 -1
  7. package/kotlin-kotlin-stdlib.mjs +71 -56
  8. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  9. package/kotlin-openapi-bindings.mjs.map +1 -1
  10. package/kotlin-rgxgen.mjs +1767 -1767
  11. package/kotlin-rgxgen.mjs.map +1 -1
  12. package/kotlinx-io-kotlinx-io-core.mjs +380 -380
  13. package/markdown.mjs +1884 -1884
  14. package/mordant-mordant.mjs +1640 -1640
  15. package/mordant-mordant.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/wirespec-src-compiler-core.mjs +1721 -1459
  18. package/wirespec-src-compiler-core.mjs.map +1 -1
  19. package/wirespec-src-compiler-lib.mjs +586 -467
  20. package/wirespec-src-compiler-lib.mjs.map +1 -1
  21. package/wirespec-src-converter-avro.mjs +355 -322
  22. package/wirespec-src-converter-avro.mjs.map +1 -1
  23. package/wirespec-src-converter-openapi.mjs +419 -357
  24. package/wirespec-src-converter-openapi.mjs.map +1 -1
  25. package/wirespec-src-plugin-arguments.mjs +1031 -393
  26. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  27. package/wirespec-src-plugin-cli.mjs +396 -963
  28. package/wirespec-src-plugin-cli.mjs.map +1 -1
  29. package/wirespec-src-plugin-npm.d.ts +41 -17
  30. package/wirespec-src-plugin-npm.mjs +171 -173
  31. package/wirespec-src-plugin-npm.mjs.map +1 -1
  32. package/wirespec-src-tools-generator.mjs +35 -30
  33. package/wirespec-src-tools-generator.mjs.map +1 -1
@@ -18,13 +18,16 @@ import {
18
18
  Type11a5scrd50tqk as Type,
19
19
  Enum13738b9tl6w6v as Enum,
20
20
  Union171cmlm23mwcq as Union,
21
- Definition175ejj0ddy3gi as Definition,
21
+ Emitter1jsaltl7ktuoe as Emitter,
22
+ FileExtension_JSON_getInstance3s3hcc6ynarq8 as FileExtension_JSON_getInstance,
22
23
  Any268baxyo9do19 as Any,
23
24
  Refined3fn8nn8ume24i as Refined,
24
25
  Bytes2moci2lqqzua3 as Bytes,
25
26
  Boolean1v54w5v4qjba1 as Boolean_0,
26
27
  String23kqvhe3sk098 as String_0,
27
28
  Channel2rnyzzgwpojjq as Channel,
29
+ Module1hus0d150u4qt as Module,
30
+ ASTjmzmwcb0kkkg as AST,
28
31
  } from './wirespec-src-compiler-core.mjs';
29
32
  import {
30
33
  NotImplementedErrorfzlkpv14xxr8 as NotImplementedError,
@@ -92,13 +95,16 @@ import {
92
95
  JsonPrimitive3ttzjh2ft5dnx as JsonPrimitive,
93
96
  Jsonsmkyu9xjl7fv as Json,
94
97
  } from './kotlinx-serialization-kotlinx-serialization-json.mjs';
95
- import { toNonEmptyListOrNull2ovnnazjb3msz as toNonEmptyListOrNull } from './arrow-arrow-core.mjs';
98
+ import {
99
+ toNonEmptyListOrNull2ovnnazjb3msz as toNonEmptyListOrNull,
100
+ nonEmptyListOf17xawqyzwrlrt as nonEmptyListOf,
101
+ } from './arrow-arrow-core.mjs';
96
102
  //region block: imports
97
103
  var imul = Math.imul;
98
104
  //endregion
99
105
  //region block: pre-declaration
100
106
  initMetadataForObject(AvroConverter, 'AvroConverter');
101
- initMetadataForObject(AvroEmitter, 'AvroEmitter');
107
+ initMetadataForObject(AvroEmitter, 'AvroEmitter', VOID, Emitter);
102
108
  initMetadataForCompanion(Companion);
103
109
  initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
104
110
  initMetadataForCompanion(Companion_0);
@@ -132,11 +138,11 @@ initMetadataForObject(TypeSerializer, 'TypeSerializer', VOID, VOID, [KSerializer
132
138
  initMetadataForObject(AvroParser, 'AvroParser');
133
139
  //endregion
134
140
  function isNullable(_this__u8e3s4, $this) {
135
- return _this__u8e3s4.o1($this.y2d_1);
141
+ return _this__u8e3s4.o1($this.t2b_1);
136
142
  }
137
143
  function toPrimitive(_this__u8e3s4, $this) {
138
144
  var tmp;
139
- switch (_this__u8e3s4.z2d_1) {
145
+ switch (_this__u8e3s4.u2b_1) {
140
146
  case 'boolean':
141
147
  tmp = Boolean_instance;
142
148
  break;
@@ -159,7 +165,7 @@ function toPrimitive(_this__u8e3s4, $this) {
159
165
  tmp = String_instance;
160
166
  break;
161
167
  default:
162
- var reason = 'primitive not mapped ' + _this__u8e3s4.z2d_1;
168
+ var reason = 'primitive not mapped ' + _this__u8e3s4.u2b_1;
163
169
  throw new NotImplementedError('An operation is not implemented: ' + reason);
164
170
  }
165
171
  return tmp;
@@ -167,7 +173,7 @@ function toPrimitive(_this__u8e3s4, $this) {
167
173
  function toReference(_this__u8e3s4, $this, isNullable) {
168
174
  var tmp;
169
175
  if (_this__u8e3s4 instanceof SimpleType) {
170
- switch (_this__u8e3s4.z2d_1) {
176
+ switch (_this__u8e3s4.u2b_1) {
171
177
  case 'null':
172
178
  tmp = new Unit(isNullable);
173
179
  break;
@@ -181,27 +187,27 @@ function toReference(_this__u8e3s4, $this, isNullable) {
181
187
  tmp = new Primitive(toPrimitive(_this__u8e3s4, $this), isNullable);
182
188
  break;
183
189
  default:
184
- tmp = new Custom(_this__u8e3s4.z2d_1, isNullable);
190
+ tmp = new Custom(_this__u8e3s4.u2b_1, isNullable);
185
191
  break;
186
192
  }
187
193
  } else {
188
194
  if (_this__u8e3s4 instanceof ArrayType) {
189
- tmp = new Iterable(toReference(_this__u8e3s4.s2e_1, $this, false), isNullable);
195
+ tmp = new Iterable(toReference(_this__u8e3s4.n2c_1, $this, false), isNullable);
190
196
  } else {
191
197
  if (_this__u8e3s4 instanceof RecordType) {
192
- tmp = new Custom(_this__u8e3s4.n2e_1, isNullable);
198
+ tmp = new Custom(_this__u8e3s4.i2c_1, isNullable);
193
199
  } else {
194
200
  if (_this__u8e3s4 instanceof EnumType) {
195
- tmp = new Custom(_this__u8e3s4.j2e_1, isNullable);
201
+ tmp = new Custom(_this__u8e3s4.e2c_1, isNullable);
196
202
  } else {
197
203
  if (_this__u8e3s4 instanceof LogicalType) {
198
- tmp = toReference(new SimpleType(_this__u8e3s4.e2e_1), $this, isNullable);
204
+ tmp = toReference(new SimpleType(_this__u8e3s4.z2b_1), $this, isNullable);
199
205
  } else {
200
206
  if (_this__u8e3s4 instanceof MapType) {
201
- tmp = new Dict(toReference(_this__u8e3s4.d2e_1, $this, false), isNullable);
207
+ tmp = new Dict(toReference(_this__u8e3s4.y2b_1, $this, false), isNullable);
202
208
  } else {
203
209
  if (_this__u8e3s4 instanceof UnionType) {
204
- tmp = new Custom(_this__u8e3s4.a2e_1, isNullable);
210
+ tmp = new Custom(_this__u8e3s4.v2b_1, isNullable);
205
211
  } else {
206
212
  noWhenBranchMatchedException();
207
213
  }
@@ -214,7 +220,7 @@ function toReference(_this__u8e3s4, $this, isNullable) {
214
220
  return tmp;
215
221
  }
216
222
  function toReference_0(_this__u8e3s4, $this) {
217
- var list = minus(_this__u8e3s4, $this.y2d_1);
223
+ var list = minus(_this__u8e3s4, $this.t2b_1);
218
224
  var tmp;
219
225
  if (list.j() === 1) {
220
226
  tmp = toReference(first(list), $this, isNullable(_this__u8e3s4, $this));
@@ -254,29 +260,29 @@ function toReference_0(_this__u8e3s4, $this) {
254
260
  return tmp;
255
261
  }
256
262
  function toType(_this__u8e3s4, $this) {
257
- var tmp0_identifier = new DefinitionIdentifier(_this__u8e3s4.n2e_1);
263
+ var tmp0_identifier = new DefinitionIdentifier(_this__u8e3s4.i2c_1);
258
264
  var tmp1_extends = emptyList();
259
265
  // Inline function 'kotlin.collections.map' call
260
- var this_0 = _this__u8e3s4.p2e_1;
266
+ var this_0 = _this__u8e3s4.k2c_1;
261
267
  // Inline function 'kotlin.collections.mapTo' call
262
268
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
263
269
  var _iterator__ex2g4s = this_0.g();
264
270
  while (_iterator__ex2g4s.h()) {
265
271
  var item = _iterator__ex2g4s.i();
266
272
  // Inline function 'community.flock.wirespec.converter.avro.AvroConverter.toType.<anonymous>' call
267
- var tmp$ret$0 = new Field(new FieldIdentifier(item.t2e_1), toReference_0(item.u2e_1, AvroConverter_getInstance()));
273
+ var tmp$ret$0 = new Field(new FieldIdentifier(item.o2c_1), toReference_0(item.p2c_1, AvroConverter_getInstance()));
268
274
  destination.e(tmp$ret$0);
269
275
  }
270
276
  var tmp2_shape = new Shape(destination);
271
277
  return new Type(null, tmp0_identifier, tmp2_shape, tmp1_extends);
272
278
  }
273
279
  function toEnum(_this__u8e3s4, $this) {
274
- return new Enum(null, new DefinitionIdentifier(_this__u8e3s4.j2e_1), toSet(_this__u8e3s4.l2e_1));
280
+ return new Enum(null, new DefinitionIdentifier(_this__u8e3s4.e2c_1), toSet(_this__u8e3s4.g2c_1));
275
281
  }
276
282
  function toUnion(_this__u8e3s4, $this, name) {
277
283
  var tmp = new DefinitionIdentifier(name);
278
284
  // Inline function 'kotlin.collections.map' call
279
- var this_0 = _this__u8e3s4.b2e_1;
285
+ var this_0 = _this__u8e3s4.w2b_1;
280
286
  // Inline function 'kotlin.collections.mapTo' call
281
287
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
282
288
  var _iterator__ex2g4s = this_0.g();
@@ -290,9 +296,9 @@ function toUnion(_this__u8e3s4, $this, name) {
290
296
  }
291
297
  function AvroConverter() {
292
298
  AvroConverter_instance = this;
293
- this.y2d_1 = new SimpleType('null');
299
+ this.t2b_1 = new SimpleType('null');
294
300
  }
295
- protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
301
+ protoOf(AvroConverter).s2c = function (_this__u8e3s4, name) {
296
302
  var tmp;
297
303
  if (_this__u8e3s4 instanceof SimpleType) {
298
304
  tmp = emptyList();
@@ -300,7 +306,7 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
300
306
  if (_this__u8e3s4 instanceof RecordType) {
301
307
  var tmp_0 = listOf(toType(_this__u8e3s4, this));
302
308
  // Inline function 'kotlin.collections.flatMap' call
303
- var tmp0 = _this__u8e3s4.p2e_1;
309
+ var tmp0 = _this__u8e3s4.k2c_1;
304
310
  // Inline function 'kotlin.collections.flatMapTo' call
305
311
  var destination = ArrayList_init_$Create$_0();
306
312
  var _iterator__ex2g4s = tmp0.g();
@@ -308,14 +314,14 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
308
314
  var element = _iterator__ex2g4s.i();
309
315
  // Inline function 'community.flock.wirespec.converter.avro.AvroConverter.flatten.<anonymous>' call
310
316
  // Inline function 'kotlin.collections.flatMap' call
311
- var tmp0_0 = element.u2e_1;
317
+ var tmp0_0 = element.p2c_1;
312
318
  // Inline function 'kotlin.collections.flatMapTo' call
313
319
  var destination_0 = ArrayList_init_$Create$_0();
314
320
  var _iterator__ex2g4s_0 = tmp0_0.g();
315
321
  while (_iterator__ex2g4s_0.h()) {
316
322
  var element_0 = _iterator__ex2g4s_0.i();
317
323
  // Inline function 'community.flock.wirespec.converter.avro.AvroConverter.flatten.<anonymous>.<anonymous>' call
318
- var list = AvroConverter_getInstance().x2e(element_0, name);
324
+ var list = AvroConverter_getInstance().s2c(element_0, name);
319
325
  addAll(destination_0, list);
320
326
  }
321
327
  var list_0 = destination_0;
@@ -324,7 +330,7 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
324
330
  tmp = plus(tmp_0, destination);
325
331
  } else {
326
332
  if (_this__u8e3s4 instanceof ArrayType) {
327
- tmp = this.x2e(_this__u8e3s4.s2e_1, name);
333
+ tmp = this.s2c(_this__u8e3s4.n2c_1, name);
328
334
  } else {
329
335
  if (_this__u8e3s4 instanceof EnumType) {
330
336
  tmp = listOf(toEnum(_this__u8e3s4, this));
@@ -333,7 +339,7 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
333
339
  tmp = emptyList();
334
340
  } else {
335
341
  if (_this__u8e3s4 instanceof MapType) {
336
- tmp = this.x2e(_this__u8e3s4.d2e_1, name);
342
+ tmp = this.s2c(_this__u8e3s4.y2b_1, name);
337
343
  } else {
338
344
  if (_this__u8e3s4 instanceof UnionType) {
339
345
  tmp = listOf(toUnion(_this__u8e3s4, this, name));
@@ -348,9 +354,9 @@ protoOf(AvroConverter).x2e = function (_this__u8e3s4, name) {
348
354
  }
349
355
  return tmp;
350
356
  };
351
- protoOf(AvroConverter).y2e = function (_this__u8e3s4, name, $super) {
357
+ protoOf(AvroConverter).t2c = function (_this__u8e3s4, name, $super) {
352
358
  name = name === VOID ? '' : name;
353
- return $super === VOID ? this.x2e(_this__u8e3s4, name) : $super.x2e.call(this, _this__u8e3s4, name);
359
+ return $super === VOID ? this.s2c(_this__u8e3s4, name) : $super.s2c.call(this, _this__u8e3s4, name);
354
360
  };
355
361
  var AvroConverter_instance;
356
362
  function AvroConverter_getInstance() {
@@ -359,42 +365,48 @@ function AvroConverter_getInstance() {
359
365
  return AvroConverter_instance;
360
366
  }
361
367
  function findType(_this__u8e3s4, $this, name) {
362
- // Inline function 'kotlin.collections.filterIsInstance' call
363
- // Inline function 'kotlin.collections.filterIsInstanceTo' call
364
- var destination = ArrayList_init_$Create$_0();
365
- var _iterator__ex2g4s = _this__u8e3s4.g();
366
- while (_iterator__ex2g4s.h()) {
367
- var element = _iterator__ex2g4s.i();
368
- if (!(element == null) ? isInterface(element, Definition) : false) {
369
- destination.e(element);
370
- }
371
- }
372
368
  // Inline function 'kotlin.collections.find' call
373
- var tmp$ret$3;
369
+ var tmp0 = _this__u8e3s4.f27_1.yk();
370
+ var tmp$ret$1;
374
371
  $l$block: {
375
372
  // Inline function 'kotlin.collections.firstOrNull' call
376
- var _iterator__ex2g4s_0 = destination.g();
377
- while (_iterator__ex2g4s_0.h()) {
378
- var element_0 = _iterator__ex2g4s_0.i();
373
+ var _iterator__ex2g4s = tmp0.g();
374
+ while (_iterator__ex2g4s.h()) {
375
+ var element = _iterator__ex2g4s.i();
379
376
  // Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.findType.<anonymous>' call
380
- if (element_0.o29().b1() === name) {
381
- tmp$ret$3 = element_0;
377
+ if (element.k2a().b1() === name) {
378
+ tmp$ret$1 = element;
382
379
  break $l$block;
383
380
  }
384
381
  }
385
- tmp$ret$3 = null;
382
+ tmp$ret$1 = null;
386
383
  }
387
- return tmp$ret$3;
384
+ return tmp$ret$1;
388
385
  }
389
386
  function AvroEmitter() {
387
+ AvroEmitter_instance = this;
388
+ Emitter.call(this);
389
+ this.v2c_1 = FileExtension_JSON_getInstance();
390
+ this.w2c_1 = null;
390
391
  }
391
- protoOf(AvroEmitter).z2e = function (_this__u8e3s4) {
392
- return new EnumType('enum', _this__u8e3s4.g26_1.b1(), VOID, toList(_this__u8e3s4.h26_1));
392
+ protoOf(AvroEmitter).d26 = function () {
393
+ return this.v2c_1;
393
394
  };
394
- protoOf(AvroEmitter).a2f = function (_this__u8e3s4) {
395
- var tmp = _this__u8e3s4.w25_1.b1();
395
+ protoOf(AvroEmitter).e26 = function () {
396
+ return this.w2c_1;
397
+ };
398
+ protoOf(AvroEmitter).b27 = function (type, module_0) {
399
+ // Inline function 'kotlin.TODO' call
400
+ var reason = 'Not yet implemented';
401
+ throw new NotImplementedError('An operation is not implemented: ' + reason);
402
+ };
403
+ protoOf(AvroEmitter).x2c = function (_this__u8e3s4) {
404
+ return new EnumType('enum', _this__u8e3s4.r26_1.b1(), VOID, toList(_this__u8e3s4.s26_1));
405
+ };
406
+ protoOf(AvroEmitter).y2c = function (_this__u8e3s4) {
407
+ var tmp = _this__u8e3s4.h26_1.b1();
396
408
  // Inline function 'kotlin.collections.map' call
397
- var this_0 = _this__u8e3s4.x25_1;
409
+ var this_0 = _this__u8e3s4.i26_1;
398
410
  // Inline function 'kotlin.collections.mapTo' call
399
411
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
400
412
  var _iterator__ex2g4s = this_0.g();
@@ -406,23 +418,23 @@ protoOf(AvroEmitter).a2f = function (_this__u8e3s4) {
406
418
  }
407
419
  return new UnionType(tmp, TypeList_init_$Create$(destination));
408
420
  };
409
- protoOf(AvroEmitter).b2f = function (_this__u8e3s4, ast, hasEmitted) {
421
+ protoOf(AvroEmitter).z2c = function (_this__u8e3s4, module_0, hasEmitted) {
410
422
  var tmp;
411
423
  if (_this__u8e3s4 instanceof Dict) {
412
- tmp = new MapType('map', this.b2f(_this__u8e3s4.w26_1, ast, hasEmitted));
424
+ tmp = new MapType('map', this.z2c(_this__u8e3s4.h24_1, module_0, hasEmitted));
413
425
  } else {
414
426
  if (_this__u8e3s4 instanceof Iterable) {
415
- tmp = new ArrayType('array', this.b2f(_this__u8e3s4.t26_1, ast, hasEmitted));
427
+ tmp = new ArrayType('array', this.z2c(_this__u8e3s4.x23_1, module_0, hasEmitted));
416
428
  } else {
417
429
  if (_this__u8e3s4 instanceof Primitive) {
418
- var type = _this__u8e3s4.c24_1;
430
+ var type = _this__u8e3s4.k24_1;
419
431
  var tmp_0;
420
432
  if (type instanceof String_0) {
421
433
  tmp_0 = new SimpleType('string');
422
434
  } else {
423
435
  if (type instanceof Integer) {
424
436
  var tmp_1;
425
- switch (type.h24_1.p2_1) {
437
+ switch (type.p24_1.p2_1) {
426
438
  case 0:
427
439
  tmp_1 = new SimpleType('int');
428
440
  break;
@@ -437,7 +449,7 @@ protoOf(AvroEmitter).b2f = function (_this__u8e3s4, ast, hasEmitted) {
437
449
  } else {
438
450
  if (type instanceof Number_0) {
439
451
  var tmp_2;
440
- switch (type.f24_1.p2_1) {
452
+ switch (type.n24_1.p2_1) {
441
453
  case 0:
442
454
  tmp_2 = new SimpleType('float');
443
455
  break;
@@ -465,25 +477,25 @@ protoOf(AvroEmitter).b2f = function (_this__u8e3s4, ast, hasEmitted) {
465
477
  tmp = tmp_0;
466
478
  } else {
467
479
  if (_this__u8e3s4 instanceof Custom) {
468
- var def = findType(ast, this, _this__u8e3s4.v23_1);
480
+ var def = findType(module_0, this, _this__u8e3s4.v23_1);
469
481
  var tmp_3;
470
482
  if (def instanceof Type) {
471
483
  var tmp_4;
472
- if (hasEmitted.o1(def.z25_1.b1())) {
484
+ if (hasEmitted.o1(def.k26_1.b1())) {
473
485
  // Inline function 'kotlin.let' call
474
486
  // Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.stub_for_inlining' call
475
- var p0 = def.z25_1.b1();
487
+ var p0 = def.k26_1.b1();
476
488
  tmp_4 = new SimpleType(p0);
477
489
  } else {
478
490
  // Inline function 'kotlin.also' call
479
491
  // Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.<anonymous>' call
480
- hasEmitted.e(def.z25_1.b1());
481
- tmp_4 = this.c2f(def, ast, hasEmitted);
492
+ hasEmitted.e(def.k26_1.b1());
493
+ tmp_4 = this.a2d(def, module_0, hasEmitted);
482
494
  }
483
495
  tmp_3 = tmp_4;
484
496
  } else {
485
497
  if (def instanceof Enum) {
486
- tmp_3 = new SimpleType(def.g26_1.b1());
498
+ tmp_3 = new SimpleType(def.r26_1.b1());
487
499
  } else {
488
500
  if (def instanceof Refined) {
489
501
  tmp_3 = new SimpleType('string');
@@ -509,69 +521,60 @@ protoOf(AvroEmitter).b2f = function (_this__u8e3s4, ast, hasEmitted) {
509
521
  }
510
522
  return tmp;
511
523
  };
512
- protoOf(AvroEmitter).d2f = function (_this__u8e3s4, ast, hasEmitted) {
513
- var ref = _this__u8e3s4.f25_1;
524
+ protoOf(AvroEmitter).b2d = function (_this__u8e3s4, module_0, hasEmitted) {
525
+ var ref = _this__u8e3s4.o25_1;
514
526
  var tmp;
515
527
  if (ref instanceof Iterable) {
516
- tmp = new ArrayType('array', this.b2f(ref.t26_1, ast, hasEmitted));
528
+ tmp = new ArrayType('array', this.z2c(ref.x23_1, module_0, hasEmitted));
517
529
  } else {
518
- tmp = this.b2f(ref, ast, hasEmitted);
530
+ tmp = this.z2c(ref, module_0, hasEmitted);
519
531
  }
520
532
  return tmp;
521
533
  };
522
- protoOf(AvroEmitter).c2f = function (_this__u8e3s4, ast, hasEmitted) {
523
- var tmp0_name = _this__u8e3s4.z25_1.b1();
534
+ protoOf(AvroEmitter).a2d = function (_this__u8e3s4, module_0, hasEmitted) {
535
+ var tmp0_name = _this__u8e3s4.k26_1.b1();
524
536
  // Inline function 'kotlin.collections.map' call
525
- var this_0 = _this__u8e3s4.a26_1.s26_1;
537
+ var this_0 = _this__u8e3s4.l26_1.g27_1;
526
538
  // Inline function 'kotlin.collections.mapTo' call
527
539
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
528
540
  var _iterator__ex2g4s = this_0.g();
529
541
  while (_iterator__ex2g4s.h()) {
530
542
  var item = _iterator__ex2g4s.i();
531
543
  // Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.<anonymous>' call
532
- var tmp = item.e25_1.b1();
544
+ var tmp = item.n25_1.b1();
533
545
  var tmp_0;
534
- if (item.f25_1.sm()) {
535
- tmp_0 = new TypeList([new SimpleType('null'), AvroEmitter_instance.d2f(item, ast, hasEmitted)]);
546
+ if (item.o25_1.sm()) {
547
+ tmp_0 = new TypeList([new SimpleType('null'), AvroEmitter_getInstance().b2d(item, module_0, hasEmitted)]);
536
548
  } else {
537
- tmp_0 = new TypeList([AvroEmitter_instance.d2f(item, ast, hasEmitted)]);
549
+ tmp_0 = new TypeList([AvroEmitter_getInstance().b2d(item, module_0, hasEmitted)]);
538
550
  }
539
551
  var tmp$ret$0 = new Field_0(tmp, tmp_0);
540
552
  destination.e(tmp$ret$0);
541
553
  }
542
554
  return new RecordType('record', tmp0_name, VOID, destination);
543
555
  };
544
- protoOf(AvroEmitter).e2f = function (ast) {
556
+ protoOf(AvroEmitter).c2d = function (module_0) {
545
557
  // Inline function 'kotlin.collections.mutableListOf' call
546
558
  var hasEmitted = ArrayList_init_$Create$_0();
547
- // Inline function 'kotlin.collections.filterIsInstance' call
548
- // Inline function 'kotlin.collections.filterIsInstanceTo' call
549
- var destination = ArrayList_init_$Create$_0();
550
- var _iterator__ex2g4s = ast.g();
551
- while (_iterator__ex2g4s.h()) {
552
- var element = _iterator__ex2g4s.i();
553
- if (!(element == null) ? isInterface(element, Definition) : false) {
554
- destination.e(element);
555
- }
556
- }
557
559
  // Inline function 'kotlin.collections.mapNotNull' call
560
+ var tmp0 = module_0.f27_1.yk();
558
561
  // Inline function 'kotlin.collections.mapNotNullTo' call
559
- var destination_0 = ArrayList_init_$Create$_0();
562
+ var destination = ArrayList_init_$Create$_0();
560
563
  // Inline function 'kotlin.collections.forEach' call
561
- var _iterator__ex2g4s_0 = destination.g();
562
- while (_iterator__ex2g4s_0.h()) {
563
- var element_0 = _iterator__ex2g4s_0.i();
564
+ var _iterator__ex2g4s = tmp0.g();
565
+ while (_iterator__ex2g4s.h()) {
566
+ var element = _iterator__ex2g4s.i();
564
567
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
565
568
  // Inline function 'community.flock.wirespec.converter.avro.AvroEmitter.emit.<anonymous>' call
566
569
  var tmp;
567
- if (element_0 instanceof Type) {
568
- tmp = AvroEmitter_instance.c2f(element_0, ast, hasEmitted);
570
+ if (element instanceof Type) {
571
+ tmp = AvroEmitter_getInstance().a2d(element, module_0, hasEmitted);
569
572
  } else {
570
- if (element_0 instanceof Enum) {
571
- tmp = AvroEmitter_instance.z2e(element_0);
573
+ if (element instanceof Enum) {
574
+ tmp = AvroEmitter_getInstance().x2c(element);
572
575
  } else {
573
- if (element_0 instanceof Union) {
574
- tmp = AvroEmitter_instance.a2f(element_0);
576
+ if (element instanceof Union) {
577
+ tmp = AvroEmitter_getInstance().y2c(element);
575
578
  } else {
576
579
  tmp = null;
577
580
  }
@@ -583,13 +586,44 @@ protoOf(AvroEmitter).e2f = function (ast) {
583
586
  else {
584
587
  // Inline function 'kotlin.let' call
585
588
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
586
- destination_0.e(tmp0_safe_receiver);
589
+ destination.e(tmp0_safe_receiver);
587
590
  }
588
591
  }
589
- return destination_0;
592
+ return destination;
593
+ };
594
+ protoOf(AvroEmitter).l27 = function (enum_0, module_0) {
595
+ // Inline function 'kotlin.TODO' call
596
+ var reason = 'Not yet implemented';
597
+ throw new NotImplementedError('An operation is not implemented: ' + reason);
598
+ };
599
+ protoOf(AvroEmitter).h27 = function (refined) {
600
+ // Inline function 'kotlin.TODO' call
601
+ var reason = 'Not yet implemented';
602
+ throw new NotImplementedError('An operation is not implemented: ' + reason);
603
+ };
604
+ protoOf(AvroEmitter).p27 = function (endpoint) {
605
+ // Inline function 'kotlin.TODO' call
606
+ var reason = 'Not yet implemented';
607
+ throw new NotImplementedError('An operation is not implemented: ' + reason);
608
+ };
609
+ protoOf(AvroEmitter).n27 = function (union) {
610
+ // Inline function 'kotlin.TODO' call
611
+ var reason = 'Not yet implemented';
612
+ throw new NotImplementedError('An operation is not implemented: ' + reason);
613
+ };
614
+ protoOf(AvroEmitter).o27 = function (channel) {
615
+ // Inline function 'kotlin.TODO' call
616
+ var reason = 'Not yet implemented';
617
+ throw new NotImplementedError('An operation is not implemented: ' + reason);
618
+ };
619
+ protoOf(AvroEmitter).w26 = function () {
620
+ var reason = 'Not yet implemented';
621
+ throw new NotImplementedError('An operation is not implemented: ' + reason);
590
622
  };
591
623
  var AvroEmitter_instance;
592
624
  function AvroEmitter_getInstance() {
625
+ if (AvroEmitter_instance == null)
626
+ new AvroEmitter();
593
627
  return AvroEmitter_instance;
594
628
  }
595
629
  function Companion() {
@@ -605,26 +639,26 @@ function $serializer() {
605
639
  tmp0_serialDesc.dw('type', false);
606
640
  tmp0_serialDesc.dw('doc', true);
607
641
  tmp0_serialDesc.dw('default', true);
608
- this.f2f_1 = tmp0_serialDesc;
642
+ this.d2d_1 = tmp0_serialDesc;
609
643
  }
610
- protoOf($serializer).g2f = function (encoder, value) {
611
- var tmp0_desc = this.f2f_1;
644
+ protoOf($serializer).e2d = function (encoder, value) {
645
+ var tmp0_desc = this.d2d_1;
612
646
  var tmp1_output = encoder.to(tmp0_desc);
613
- tmp1_output.iq(tmp0_desc, 0, value.t2e_1);
614
- tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.u2e_1);
615
- if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.v2e_1 == null)) {
616
- tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.v2e_1);
647
+ tmp1_output.iq(tmp0_desc, 0, value.o2c_1);
648
+ tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.p2c_1);
649
+ if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.q2c_1 == null)) {
650
+ tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.q2c_1);
617
651
  }
618
- if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.w2e_1 == null)) {
619
- tmp1_output.mq(tmp0_desc, 3, StringSerializer_getInstance(), value.w2e_1);
652
+ if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.r2c_1 == null)) {
653
+ tmp1_output.mq(tmp0_desc, 3, StringSerializer_getInstance(), value.r2c_1);
620
654
  }
621
655
  tmp1_output.uo(tmp0_desc);
622
656
  };
623
657
  protoOf($serializer).tl = function (encoder, value) {
624
- return this.g2f(encoder, value instanceof Field_0 ? value : THROW_CCE());
658
+ return this.e2d(encoder, value instanceof Field_0 ? value : THROW_CCE());
625
659
  };
626
660
  protoOf($serializer).ul = function (decoder) {
627
- var tmp0_desc = this.f2f_1;
661
+ var tmp0_desc = this.d2d_1;
628
662
  var tmp1_flag = true;
629
663
  var tmp2_index = 0;
630
664
  var tmp3_bitMask0 = 0;
@@ -673,7 +707,7 @@ protoOf($serializer).ul = function (decoder) {
673
707
  return Field_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
674
708
  };
675
709
  protoOf($serializer).sl = function () {
676
- return this.f2f_1;
710
+ return this.d2d_1;
677
711
  };
678
712
  protoOf($serializer).ww = function () {
679
713
  // Inline function 'kotlin.arrayOf' call
@@ -689,18 +723,18 @@ function $serializer_getInstance() {
689
723
  }
690
724
  function Field_init_$Init$(seen0, name, type, doc, default_0, serializationConstructorMarker, $this) {
691
725
  if (!(3 === (3 & seen0))) {
692
- throwMissingFieldException(seen0, 3, $serializer_getInstance().f2f_1);
726
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().d2d_1);
693
727
  }
694
- $this.t2e_1 = name;
695
- $this.u2e_1 = type;
728
+ $this.o2c_1 = name;
729
+ $this.p2c_1 = type;
696
730
  if (0 === (seen0 & 4))
697
- $this.v2e_1 = null;
731
+ $this.q2c_1 = null;
698
732
  else
699
- $this.v2e_1 = doc;
733
+ $this.q2c_1 = doc;
700
734
  if (0 === (seen0 & 8))
701
- $this.w2e_1 = null;
735
+ $this.r2c_1 = null;
702
736
  else
703
- $this.w2e_1 = default_0;
737
+ $this.r2c_1 = default_0;
704
738
  return $this;
705
739
  }
706
740
  function Field_init_$Create$(seen0, name, type, doc, default_0, serializationConstructorMarker) {
@@ -743,19 +777,19 @@ function $serializer_0() {
743
777
  $serializer_instance_0 = this;
744
778
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.SimpleType', this, 1);
745
779
  tmp0_serialDesc.dw('value', false);
746
- this.h2f_1 = tmp0_serialDesc;
780
+ this.f2d_1 = tmp0_serialDesc;
747
781
  }
748
- protoOf($serializer_0).i2f = function (encoder, value) {
749
- var tmp0_desc = this.h2f_1;
782
+ protoOf($serializer_0).g2d = function (encoder, value) {
783
+ var tmp0_desc = this.f2d_1;
750
784
  var tmp1_output = encoder.to(tmp0_desc);
751
- tmp1_output.iq(tmp0_desc, 0, value.z2d_1);
785
+ tmp1_output.iq(tmp0_desc, 0, value.u2b_1);
752
786
  tmp1_output.uo(tmp0_desc);
753
787
  };
754
788
  protoOf($serializer_0).tl = function (encoder, value) {
755
- return this.i2f(encoder, value instanceof SimpleType ? value : THROW_CCE());
789
+ return this.g2d(encoder, value instanceof SimpleType ? value : THROW_CCE());
756
790
  };
757
791
  protoOf($serializer_0).ul = function (decoder) {
758
- var tmp0_desc = this.h2f_1;
792
+ var tmp0_desc = this.f2d_1;
759
793
  var tmp1_flag = true;
760
794
  var tmp2_index = 0;
761
795
  var tmp3_bitMask0 = 0;
@@ -783,7 +817,7 @@ protoOf($serializer_0).ul = function (decoder) {
783
817
  return SimpleType_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
784
818
  };
785
819
  protoOf($serializer_0).sl = function () {
786
- return this.h2f_1;
820
+ return this.f2d_1;
787
821
  };
788
822
  protoOf($serializer_0).ww = function () {
789
823
  // Inline function 'kotlin.arrayOf' call
@@ -799,9 +833,9 @@ function $serializer_getInstance_0() {
799
833
  }
800
834
  function SimpleType_init_$Init$(seen0, value, serializationConstructorMarker, $this) {
801
835
  if (!(1 === (1 & seen0))) {
802
- throwMissingFieldException(seen0, 1, $serializer_getInstance_0().h2f_1);
836
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_0().f2d_1);
803
837
  }
804
- $this.z2d_1 = value;
838
+ $this.u2b_1 = value;
805
839
  return $this;
806
840
  }
807
841
  function SimpleType_init_$Create$(seen0, value, serializationConstructorMarker) {
@@ -813,7 +847,7 @@ function Companion_3() {
813
847
  // Inline function 'kotlin.arrayOf' call
814
848
  // Inline function 'kotlin.js.unsafeCast' call
815
849
  // Inline function 'kotlin.js.asDynamic' call
816
- tmp.j2f_1 = [null, null, null, new ArrayListSerializer($serializer_getInstance()), null];
850
+ tmp.h2d_1 = [null, null, null, new ArrayListSerializer($serializer_getInstance()), null];
817
851
  }
818
852
  protoOf(Companion_3).g18 = function () {
819
853
  return $serializer_getInstance_1();
@@ -832,28 +866,28 @@ function $serializer_1() {
832
866
  tmp0_serialDesc.dw('namespace', true);
833
867
  tmp0_serialDesc.dw('fields', false);
834
868
  tmp0_serialDesc.dw('doc', true);
835
- this.k2f_1 = tmp0_serialDesc;
869
+ this.i2d_1 = tmp0_serialDesc;
836
870
  }
837
- protoOf($serializer_1).l2f = function (encoder, value) {
838
- var tmp0_desc = this.k2f_1;
871
+ protoOf($serializer_1).j2d = function (encoder, value) {
872
+ var tmp0_desc = this.i2d_1;
839
873
  var tmp1_output = encoder.to(tmp0_desc);
840
- var tmp2_cached = Companion_getInstance_3().j2f_1;
841
- tmp1_output.iq(tmp0_desc, 0, value.m2e_1);
842
- tmp1_output.iq(tmp0_desc, 1, value.n2e_1);
843
- if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.o2e_1 == null)) {
844
- tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.o2e_1);
874
+ var tmp2_cached = Companion_getInstance_3().h2d_1;
875
+ tmp1_output.iq(tmp0_desc, 0, value.h2c_1);
876
+ tmp1_output.iq(tmp0_desc, 1, value.i2c_1);
877
+ if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.j2c_1 == null)) {
878
+ tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.j2c_1);
845
879
  }
846
- tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.p2e_1);
847
- if (tmp1_output.qq(tmp0_desc, 4) ? true : !(value.q2e_1 == null)) {
848
- tmp1_output.mq(tmp0_desc, 4, StringSerializer_getInstance(), value.q2e_1);
880
+ tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.k2c_1);
881
+ if (tmp1_output.qq(tmp0_desc, 4) ? true : !(value.l2c_1 == null)) {
882
+ tmp1_output.mq(tmp0_desc, 4, StringSerializer_getInstance(), value.l2c_1);
849
883
  }
850
884
  tmp1_output.uo(tmp0_desc);
851
885
  };
852
886
  protoOf($serializer_1).tl = function (encoder, value) {
853
- return this.l2f(encoder, value instanceof RecordType ? value : THROW_CCE());
887
+ return this.j2d(encoder, value instanceof RecordType ? value : THROW_CCE());
854
888
  };
855
889
  protoOf($serializer_1).ul = function (decoder) {
856
- var tmp0_desc = this.k2f_1;
890
+ var tmp0_desc = this.i2d_1;
857
891
  var tmp1_flag = true;
858
892
  var tmp2_index = 0;
859
893
  var tmp3_bitMask0 = 0;
@@ -863,7 +897,7 @@ protoOf($serializer_1).ul = function (decoder) {
863
897
  var tmp7_local3 = null;
864
898
  var tmp8_local4 = null;
865
899
  var tmp9_input = decoder.to(tmp0_desc);
866
- var tmp10_cached = Companion_getInstance_3().j2f_1;
900
+ var tmp10_cached = Companion_getInstance_3().h2d_1;
867
901
  if (tmp9_input.jp()) {
868
902
  tmp4_local0 = tmp9_input.dp(tmp0_desc, 0);
869
903
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -910,10 +944,10 @@ protoOf($serializer_1).ul = function (decoder) {
910
944
  return RecordType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
911
945
  };
912
946
  protoOf($serializer_1).sl = function () {
913
- return this.k2f_1;
947
+ return this.i2d_1;
914
948
  };
915
949
  protoOf($serializer_1).ww = function () {
916
- var tmp0_cached = Companion_getInstance_3().j2f_1;
950
+ var tmp0_cached = Companion_getInstance_3().h2d_1;
917
951
  // Inline function 'kotlin.arrayOf' call
918
952
  // Inline function 'kotlin.js.unsafeCast' call
919
953
  // Inline function 'kotlin.js.asDynamic' call
@@ -927,19 +961,19 @@ function $serializer_getInstance_1() {
927
961
  }
928
962
  function RecordType_init_$Init$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker, $this) {
929
963
  if (!(11 === (11 & seen0))) {
930
- throwMissingFieldException(seen0, 11, $serializer_getInstance_1().k2f_1);
964
+ throwMissingFieldException(seen0, 11, $serializer_getInstance_1().i2d_1);
931
965
  }
932
- $this.m2e_1 = type;
933
- $this.n2e_1 = name;
966
+ $this.h2c_1 = type;
967
+ $this.i2c_1 = name;
934
968
  if (0 === (seen0 & 4))
935
- $this.o2e_1 = null;
969
+ $this.j2c_1 = null;
936
970
  else
937
- $this.o2e_1 = namespace;
938
- $this.p2e_1 = fields;
971
+ $this.j2c_1 = namespace;
972
+ $this.k2c_1 = fields;
939
973
  if (0 === (seen0 & 16))
940
- $this.q2e_1 = null;
974
+ $this.l2c_1 = null;
941
975
  else
942
- $this.q2e_1 = doc;
976
+ $this.l2c_1 = doc;
943
977
  return $this;
944
978
  }
945
979
  function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker) {
@@ -959,20 +993,20 @@ function $serializer_2() {
959
993
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.ArrayType', this, 2);
960
994
  tmp0_serialDesc.dw('type', false);
961
995
  tmp0_serialDesc.dw('items', false);
962
- this.m2f_1 = tmp0_serialDesc;
996
+ this.k2d_1 = tmp0_serialDesc;
963
997
  }
964
- protoOf($serializer_2).n2f = function (encoder, value) {
965
- var tmp0_desc = this.m2f_1;
998
+ protoOf($serializer_2).l2d = function (encoder, value) {
999
+ var tmp0_desc = this.k2d_1;
966
1000
  var tmp1_output = encoder.to(tmp0_desc);
967
- tmp1_output.iq(tmp0_desc, 0, value.r2e_1);
968
- tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.s2e_1);
1001
+ tmp1_output.iq(tmp0_desc, 0, value.m2c_1);
1002
+ tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.n2c_1);
969
1003
  tmp1_output.uo(tmp0_desc);
970
1004
  };
971
1005
  protoOf($serializer_2).tl = function (encoder, value) {
972
- return this.n2f(encoder, value instanceof ArrayType ? value : THROW_CCE());
1006
+ return this.l2d(encoder, value instanceof ArrayType ? value : THROW_CCE());
973
1007
  };
974
1008
  protoOf($serializer_2).ul = function (decoder) {
975
- var tmp0_desc = this.m2f_1;
1009
+ var tmp0_desc = this.k2d_1;
976
1010
  var tmp1_flag = true;
977
1011
  var tmp2_index = 0;
978
1012
  var tmp3_bitMask0 = 0;
@@ -1007,7 +1041,7 @@ protoOf($serializer_2).ul = function (decoder) {
1007
1041
  return ArrayType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1008
1042
  };
1009
1043
  protoOf($serializer_2).sl = function () {
1010
- return this.m2f_1;
1044
+ return this.k2d_1;
1011
1045
  };
1012
1046
  protoOf($serializer_2).ww = function () {
1013
1047
  // Inline function 'kotlin.arrayOf' call
@@ -1023,10 +1057,10 @@ function $serializer_getInstance_2() {
1023
1057
  }
1024
1058
  function ArrayType_init_$Init$(seen0, type, items, serializationConstructorMarker, $this) {
1025
1059
  if (!(3 === (3 & seen0))) {
1026
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().m2f_1);
1060
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().k2d_1);
1027
1061
  }
1028
- $this.r2e_1 = type;
1029
- $this.s2e_1 = items;
1062
+ $this.m2c_1 = type;
1063
+ $this.n2c_1 = items;
1030
1064
  return $this;
1031
1065
  }
1032
1066
  function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMarker) {
@@ -1046,20 +1080,20 @@ function $serializer_3() {
1046
1080
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.MapType', this, 2);
1047
1081
  tmp0_serialDesc.dw('type', false);
1048
1082
  tmp0_serialDesc.dw('values', false);
1049
- this.o2f_1 = tmp0_serialDesc;
1083
+ this.m2d_1 = tmp0_serialDesc;
1050
1084
  }
1051
- protoOf($serializer_3).p2f = function (encoder, value) {
1052
- var tmp0_desc = this.o2f_1;
1085
+ protoOf($serializer_3).n2d = function (encoder, value) {
1086
+ var tmp0_desc = this.m2d_1;
1053
1087
  var tmp1_output = encoder.to(tmp0_desc);
1054
- tmp1_output.iq(tmp0_desc, 0, value.c2e_1);
1055
- tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.d2e_1);
1088
+ tmp1_output.iq(tmp0_desc, 0, value.x2b_1);
1089
+ tmp1_output.kq(tmp0_desc, 1, TypeSerializer_getInstance(), value.y2b_1);
1056
1090
  tmp1_output.uo(tmp0_desc);
1057
1091
  };
1058
1092
  protoOf($serializer_3).tl = function (encoder, value) {
1059
- return this.p2f(encoder, value instanceof MapType ? value : THROW_CCE());
1093
+ return this.n2d(encoder, value instanceof MapType ? value : THROW_CCE());
1060
1094
  };
1061
1095
  protoOf($serializer_3).ul = function (decoder) {
1062
- var tmp0_desc = this.o2f_1;
1096
+ var tmp0_desc = this.m2d_1;
1063
1097
  var tmp1_flag = true;
1064
1098
  var tmp2_index = 0;
1065
1099
  var tmp3_bitMask0 = 0;
@@ -1094,7 +1128,7 @@ protoOf($serializer_3).ul = function (decoder) {
1094
1128
  return MapType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1095
1129
  };
1096
1130
  protoOf($serializer_3).sl = function () {
1097
- return this.o2f_1;
1131
+ return this.m2d_1;
1098
1132
  };
1099
1133
  protoOf($serializer_3).ww = function () {
1100
1134
  // Inline function 'kotlin.arrayOf' call
@@ -1110,10 +1144,10 @@ function $serializer_getInstance_3() {
1110
1144
  }
1111
1145
  function MapType_init_$Init$(seen0, type, values, serializationConstructorMarker, $this) {
1112
1146
  if (!(3 === (3 & seen0))) {
1113
- throwMissingFieldException(seen0, 3, $serializer_getInstance_3().o2f_1);
1147
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_3().m2d_1);
1114
1148
  }
1115
- $this.c2e_1 = type;
1116
- $this.d2e_1 = values;
1149
+ $this.x2b_1 = type;
1150
+ $this.y2b_1 = values;
1117
1151
  return $this;
1118
1152
  }
1119
1153
  function MapType_init_$Create$(seen0, type, values, serializationConstructorMarker) {
@@ -1125,7 +1159,7 @@ function Companion_6() {
1125
1159
  // Inline function 'kotlin.arrayOf' call
1126
1160
  // Inline function 'kotlin.js.unsafeCast' call
1127
1161
  // Inline function 'kotlin.js.asDynamic' call
1128
- tmp.q2f_1 = [null, null, null, new ArrayListSerializer(StringSerializer_getInstance())];
1162
+ tmp.o2d_1 = [null, null, null, new ArrayListSerializer(StringSerializer_getInstance())];
1129
1163
  }
1130
1164
  protoOf(Companion_6).g18 = function () {
1131
1165
  return $serializer_getInstance_4();
@@ -1143,25 +1177,25 @@ function $serializer_4() {
1143
1177
  tmp0_serialDesc.dw('name', false);
1144
1178
  tmp0_serialDesc.dw('doc', true);
1145
1179
  tmp0_serialDesc.dw('symbols', false);
1146
- this.r2f_1 = tmp0_serialDesc;
1180
+ this.p2d_1 = tmp0_serialDesc;
1147
1181
  }
1148
- protoOf($serializer_4).s2f = function (encoder, value) {
1149
- var tmp0_desc = this.r2f_1;
1182
+ protoOf($serializer_4).q2d = function (encoder, value) {
1183
+ var tmp0_desc = this.p2d_1;
1150
1184
  var tmp1_output = encoder.to(tmp0_desc);
1151
- var tmp2_cached = Companion_getInstance_6().q2f_1;
1152
- tmp1_output.iq(tmp0_desc, 0, value.i2e_1);
1153
- tmp1_output.iq(tmp0_desc, 1, value.j2e_1);
1154
- if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.k2e_1 == null)) {
1155
- tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.k2e_1);
1185
+ var tmp2_cached = Companion_getInstance_6().o2d_1;
1186
+ tmp1_output.iq(tmp0_desc, 0, value.d2c_1);
1187
+ tmp1_output.iq(tmp0_desc, 1, value.e2c_1);
1188
+ if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.f2c_1 == null)) {
1189
+ tmp1_output.mq(tmp0_desc, 2, StringSerializer_getInstance(), value.f2c_1);
1156
1190
  }
1157
- tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.l2e_1);
1191
+ tmp1_output.kq(tmp0_desc, 3, tmp2_cached[3], value.g2c_1);
1158
1192
  tmp1_output.uo(tmp0_desc);
1159
1193
  };
1160
1194
  protoOf($serializer_4).tl = function (encoder, value) {
1161
- return this.s2f(encoder, value instanceof EnumType ? value : THROW_CCE());
1195
+ return this.q2d(encoder, value instanceof EnumType ? value : THROW_CCE());
1162
1196
  };
1163
1197
  protoOf($serializer_4).ul = function (decoder) {
1164
- var tmp0_desc = this.r2f_1;
1198
+ var tmp0_desc = this.p2d_1;
1165
1199
  var tmp1_flag = true;
1166
1200
  var tmp2_index = 0;
1167
1201
  var tmp3_bitMask0 = 0;
@@ -1170,7 +1204,7 @@ protoOf($serializer_4).ul = function (decoder) {
1170
1204
  var tmp6_local2 = null;
1171
1205
  var tmp7_local3 = null;
1172
1206
  var tmp8_input = decoder.to(tmp0_desc);
1173
- var tmp9_cached = Companion_getInstance_6().q2f_1;
1207
+ var tmp9_cached = Companion_getInstance_6().o2d_1;
1174
1208
  if (tmp8_input.jp()) {
1175
1209
  tmp4_local0 = tmp8_input.dp(tmp0_desc, 0);
1176
1210
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1211,10 +1245,10 @@ protoOf($serializer_4).ul = function (decoder) {
1211
1245
  return EnumType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1212
1246
  };
1213
1247
  protoOf($serializer_4).sl = function () {
1214
- return this.r2f_1;
1248
+ return this.p2d_1;
1215
1249
  };
1216
1250
  protoOf($serializer_4).ww = function () {
1217
- var tmp0_cached = Companion_getInstance_6().q2f_1;
1251
+ var tmp0_cached = Companion_getInstance_6().o2d_1;
1218
1252
  // Inline function 'kotlin.arrayOf' call
1219
1253
  // Inline function 'kotlin.js.unsafeCast' call
1220
1254
  // Inline function 'kotlin.js.asDynamic' call
@@ -1228,15 +1262,15 @@ function $serializer_getInstance_4() {
1228
1262
  }
1229
1263
  function EnumType_init_$Init$(seen0, type, name, doc, symbols, serializationConstructorMarker, $this) {
1230
1264
  if (!(11 === (11 & seen0))) {
1231
- throwMissingFieldException(seen0, 11, $serializer_getInstance_4().r2f_1);
1265
+ throwMissingFieldException(seen0, 11, $serializer_getInstance_4().p2d_1);
1232
1266
  }
1233
- $this.i2e_1 = type;
1234
- $this.j2e_1 = name;
1267
+ $this.d2c_1 = type;
1268
+ $this.e2c_1 = name;
1235
1269
  if (0 === (seen0 & 4))
1236
- $this.k2e_1 = null;
1270
+ $this.f2c_1 = null;
1237
1271
  else
1238
- $this.k2e_1 = doc;
1239
- $this.l2e_1 = symbols;
1272
+ $this.f2c_1 = doc;
1273
+ $this.g2c_1 = symbols;
1240
1274
  return $this;
1241
1275
  }
1242
1276
  function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationConstructorMarker) {
@@ -1256,20 +1290,20 @@ function $serializer_5() {
1256
1290
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.UnionType', this, 2);
1257
1291
  tmp0_serialDesc.dw('name', false);
1258
1292
  tmp0_serialDesc.dw('type', false);
1259
- this.t2f_1 = tmp0_serialDesc;
1293
+ this.r2d_1 = tmp0_serialDesc;
1260
1294
  }
1261
- protoOf($serializer_5).u2f = function (encoder, value) {
1262
- var tmp0_desc = this.t2f_1;
1295
+ protoOf($serializer_5).s2d = function (encoder, value) {
1296
+ var tmp0_desc = this.r2d_1;
1263
1297
  var tmp1_output = encoder.to(tmp0_desc);
1264
- tmp1_output.iq(tmp0_desc, 0, value.a2e_1);
1265
- tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.b2e_1);
1298
+ tmp1_output.iq(tmp0_desc, 0, value.v2b_1);
1299
+ tmp1_output.kq(tmp0_desc, 1, TypeListSerializer_getInstance(), value.w2b_1);
1266
1300
  tmp1_output.uo(tmp0_desc);
1267
1301
  };
1268
1302
  protoOf($serializer_5).tl = function (encoder, value) {
1269
- return this.u2f(encoder, value instanceof UnionType ? value : THROW_CCE());
1303
+ return this.s2d(encoder, value instanceof UnionType ? value : THROW_CCE());
1270
1304
  };
1271
1305
  protoOf($serializer_5).ul = function (decoder) {
1272
- var tmp0_desc = this.t2f_1;
1306
+ var tmp0_desc = this.r2d_1;
1273
1307
  var tmp1_flag = true;
1274
1308
  var tmp2_index = 0;
1275
1309
  var tmp3_bitMask0 = 0;
@@ -1304,7 +1338,7 @@ protoOf($serializer_5).ul = function (decoder) {
1304
1338
  return UnionType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1305
1339
  };
1306
1340
  protoOf($serializer_5).sl = function () {
1307
- return this.t2f_1;
1341
+ return this.r2d_1;
1308
1342
  };
1309
1343
  protoOf($serializer_5).ww = function () {
1310
1344
  // Inline function 'kotlin.arrayOf' call
@@ -1320,10 +1354,10 @@ function $serializer_getInstance_5() {
1320
1354
  }
1321
1355
  function UnionType_init_$Init$(seen0, name, type, serializationConstructorMarker, $this) {
1322
1356
  if (!(3 === (3 & seen0))) {
1323
- throwMissingFieldException(seen0, 3, $serializer_getInstance_5().t2f_1);
1357
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_5().r2d_1);
1324
1358
  }
1325
- $this.a2e_1 = name;
1326
- $this.b2e_1 = type;
1359
+ $this.v2b_1 = name;
1360
+ $this.w2b_1 = type;
1327
1361
  return $this;
1328
1362
  }
1329
1363
  function UnionType_init_$Create$(seen0, name, type, serializationConstructorMarker) {
@@ -1345,26 +1379,26 @@ function $serializer_6() {
1345
1379
  tmp0_serialDesc.dw('logicalType', false);
1346
1380
  tmp0_serialDesc.dw('precision', true);
1347
1381
  tmp0_serialDesc.dw('scale', true);
1348
- this.v2f_1 = tmp0_serialDesc;
1382
+ this.t2d_1 = tmp0_serialDesc;
1349
1383
  }
1350
- protoOf($serializer_6).w2f = function (encoder, value) {
1351
- var tmp0_desc = this.v2f_1;
1384
+ protoOf($serializer_6).u2d = function (encoder, value) {
1385
+ var tmp0_desc = this.t2d_1;
1352
1386
  var tmp1_output = encoder.to(tmp0_desc);
1353
- tmp1_output.iq(tmp0_desc, 0, value.e2e_1);
1354
- tmp1_output.iq(tmp0_desc, 1, value.f2e_1);
1355
- if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.g2e_1 == null)) {
1356
- tmp1_output.mq(tmp0_desc, 2, IntSerializer_getInstance(), value.g2e_1);
1387
+ tmp1_output.iq(tmp0_desc, 0, value.z2b_1);
1388
+ tmp1_output.iq(tmp0_desc, 1, value.a2c_1);
1389
+ if (tmp1_output.qq(tmp0_desc, 2) ? true : !(value.b2c_1 == null)) {
1390
+ tmp1_output.mq(tmp0_desc, 2, IntSerializer_getInstance(), value.b2c_1);
1357
1391
  }
1358
- if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.h2e_1 == null)) {
1359
- tmp1_output.mq(tmp0_desc, 3, IntSerializer_getInstance(), value.h2e_1);
1392
+ if (tmp1_output.qq(tmp0_desc, 3) ? true : !(value.c2c_1 == null)) {
1393
+ tmp1_output.mq(tmp0_desc, 3, IntSerializer_getInstance(), value.c2c_1);
1360
1394
  }
1361
1395
  tmp1_output.uo(tmp0_desc);
1362
1396
  };
1363
1397
  protoOf($serializer_6).tl = function (encoder, value) {
1364
- return this.w2f(encoder, value instanceof LogicalType ? value : THROW_CCE());
1398
+ return this.u2d(encoder, value instanceof LogicalType ? value : THROW_CCE());
1365
1399
  };
1366
1400
  protoOf($serializer_6).ul = function (decoder) {
1367
- var tmp0_desc = this.v2f_1;
1401
+ var tmp0_desc = this.t2d_1;
1368
1402
  var tmp1_flag = true;
1369
1403
  var tmp2_index = 0;
1370
1404
  var tmp3_bitMask0 = 0;
@@ -1413,7 +1447,7 @@ protoOf($serializer_6).ul = function (decoder) {
1413
1447
  return LogicalType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1414
1448
  };
1415
1449
  protoOf($serializer_6).sl = function () {
1416
- return this.v2f_1;
1450
+ return this.t2d_1;
1417
1451
  };
1418
1452
  protoOf($serializer_6).ww = function () {
1419
1453
  // Inline function 'kotlin.arrayOf' call
@@ -1429,18 +1463,18 @@ function $serializer_getInstance_6() {
1429
1463
  }
1430
1464
  function LogicalType_init_$Init$(seen0, type, logicalType, precision, scale, serializationConstructorMarker, $this) {
1431
1465
  if (!(3 === (3 & seen0))) {
1432
- throwMissingFieldException(seen0, 3, $serializer_getInstance_6().v2f_1);
1466
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_6().t2d_1);
1433
1467
  }
1434
- $this.e2e_1 = type;
1435
- $this.f2e_1 = logicalType;
1468
+ $this.z2b_1 = type;
1469
+ $this.a2c_1 = logicalType;
1436
1470
  if (0 === (seen0 & 4))
1437
- $this.g2e_1 = null;
1471
+ $this.b2c_1 = null;
1438
1472
  else
1439
- $this.g2e_1 = precision;
1473
+ $this.b2c_1 = precision;
1440
1474
  if (0 === (seen0 & 8))
1441
- $this.h2e_1 = null;
1475
+ $this.c2c_1 = null;
1442
1476
  else
1443
- $this.h2e_1 = scale;
1477
+ $this.c2c_1 = scale;
1444
1478
  return $this;
1445
1479
  }
1446
1480
  function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, serializationConstructorMarker) {
@@ -1449,19 +1483,19 @@ function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, s
1449
1483
  function Field_0(name, type, doc, default_0) {
1450
1484
  doc = doc === VOID ? null : doc;
1451
1485
  default_0 = default_0 === VOID ? null : default_0;
1452
- this.t2e_1 = name;
1453
- this.u2e_1 = type;
1454
- this.v2e_1 = doc;
1455
- this.w2e_1 = default_0;
1486
+ this.o2c_1 = name;
1487
+ this.p2c_1 = type;
1488
+ this.q2c_1 = doc;
1489
+ this.r2c_1 = default_0;
1456
1490
  }
1457
1491
  protoOf(Field_0).toString = function () {
1458
- return 'Field(name=' + this.t2e_1 + ', type=' + this.u2e_1.toString() + ', doc=' + this.v2e_1 + ', default=' + this.w2e_1 + ')';
1492
+ return 'Field(name=' + this.o2c_1 + ', type=' + this.p2c_1.toString() + ', doc=' + this.q2c_1 + ', default=' + this.r2c_1 + ')';
1459
1493
  };
1460
1494
  protoOf(Field_0).hashCode = function () {
1461
- var result = getStringHashCode(this.t2e_1);
1462
- result = imul(result, 31) + this.u2e_1.hashCode() | 0;
1463
- result = imul(result, 31) + (this.v2e_1 == null ? 0 : getStringHashCode(this.v2e_1)) | 0;
1464
- result = imul(result, 31) + (this.w2e_1 == null ? 0 : getStringHashCode(this.w2e_1)) | 0;
1495
+ var result = getStringHashCode(this.o2c_1);
1496
+ result = imul(result, 31) + this.p2c_1.hashCode() | 0;
1497
+ result = imul(result, 31) + (this.q2c_1 == null ? 0 : getStringHashCode(this.q2c_1)) | 0;
1498
+ result = imul(result, 31) + (this.r2c_1 == null ? 0 : getStringHashCode(this.r2c_1)) | 0;
1465
1499
  return result;
1466
1500
  };
1467
1501
  protoOf(Field_0).equals = function (other) {
@@ -1470,37 +1504,37 @@ protoOf(Field_0).equals = function (other) {
1470
1504
  if (!(other instanceof Field_0))
1471
1505
  return false;
1472
1506
  var tmp0_other_with_cast = other instanceof Field_0 ? other : THROW_CCE();
1473
- if (!(this.t2e_1 === tmp0_other_with_cast.t2e_1))
1507
+ if (!(this.o2c_1 === tmp0_other_with_cast.o2c_1))
1474
1508
  return false;
1475
- if (!this.u2e_1.equals(tmp0_other_with_cast.u2e_1))
1509
+ if (!this.p2c_1.equals(tmp0_other_with_cast.p2c_1))
1476
1510
  return false;
1477
- if (!(this.v2e_1 == tmp0_other_with_cast.v2e_1))
1511
+ if (!(this.q2c_1 == tmp0_other_with_cast.q2c_1))
1478
1512
  return false;
1479
- if (!(this.w2e_1 == tmp0_other_with_cast.w2e_1))
1513
+ if (!(this.r2c_1 == tmp0_other_with_cast.r2c_1))
1480
1514
  return false;
1481
1515
  return true;
1482
1516
  };
1483
1517
  function TypeList(type) {
1484
1518
  AbstractList.call(this);
1485
- this.x2f_1 = toList_0(type);
1486
- this.y2f_1 = this.x2f_1.j();
1519
+ this.v2d_1 = toList_0(type);
1520
+ this.w2d_1 = this.v2d_1.j();
1487
1521
  }
1488
1522
  protoOf(TypeList).j = function () {
1489
- return this.y2f_1;
1523
+ return this.w2d_1;
1490
1524
  };
1491
1525
  protoOf(TypeList).k = function (index) {
1492
- return this.x2f_1.k(index);
1526
+ return this.v2d_1.k(index);
1493
1527
  };
1494
1528
  function Type_0() {
1495
1529
  }
1496
1530
  function SimpleType(value) {
1497
- this.z2d_1 = value;
1531
+ this.u2b_1 = value;
1498
1532
  }
1499
1533
  protoOf(SimpleType).toString = function () {
1500
- return 'SimpleType(value=' + this.z2d_1 + ')';
1534
+ return 'SimpleType(value=' + this.u2b_1 + ')';
1501
1535
  };
1502
1536
  protoOf(SimpleType).hashCode = function () {
1503
- return getStringHashCode(this.z2d_1);
1537
+ return getStringHashCode(this.u2b_1);
1504
1538
  };
1505
1539
  protoOf(SimpleType).equals = function (other) {
1506
1540
  if (this === other)
@@ -1508,7 +1542,7 @@ protoOf(SimpleType).equals = function (other) {
1508
1542
  if (!(other instanceof SimpleType))
1509
1543
  return false;
1510
1544
  var tmp0_other_with_cast = other instanceof SimpleType ? other : THROW_CCE();
1511
- if (!(this.z2d_1 === tmp0_other_with_cast.z2d_1))
1545
+ if (!(this.u2b_1 === tmp0_other_with_cast.u2b_1))
1512
1546
  return false;
1513
1547
  return true;
1514
1548
  };
@@ -1516,21 +1550,21 @@ function RecordType(type, name, namespace, fields, doc) {
1516
1550
  Companion_getInstance_3();
1517
1551
  namespace = namespace === VOID ? null : namespace;
1518
1552
  doc = doc === VOID ? null : doc;
1519
- this.m2e_1 = type;
1520
- this.n2e_1 = name;
1521
- this.o2e_1 = namespace;
1522
- this.p2e_1 = fields;
1523
- this.q2e_1 = doc;
1553
+ this.h2c_1 = type;
1554
+ this.i2c_1 = name;
1555
+ this.j2c_1 = namespace;
1556
+ this.k2c_1 = fields;
1557
+ this.l2c_1 = doc;
1524
1558
  }
1525
1559
  protoOf(RecordType).toString = function () {
1526
- return 'RecordType(type=' + this.m2e_1 + ', name=' + this.n2e_1 + ', namespace=' + this.o2e_1 + ', fields=' + toString(this.p2e_1) + ', doc=' + this.q2e_1 + ')';
1560
+ return 'RecordType(type=' + this.h2c_1 + ', name=' + this.i2c_1 + ', namespace=' + this.j2c_1 + ', fields=' + toString(this.k2c_1) + ', doc=' + this.l2c_1 + ')';
1527
1561
  };
1528
1562
  protoOf(RecordType).hashCode = function () {
1529
- var result = getStringHashCode(this.m2e_1);
1530
- result = imul(result, 31) + getStringHashCode(this.n2e_1) | 0;
1531
- result = imul(result, 31) + (this.o2e_1 == null ? 0 : getStringHashCode(this.o2e_1)) | 0;
1532
- result = imul(result, 31) + hashCode(this.p2e_1) | 0;
1533
- result = imul(result, 31) + (this.q2e_1 == null ? 0 : getStringHashCode(this.q2e_1)) | 0;
1563
+ var result = getStringHashCode(this.h2c_1);
1564
+ result = imul(result, 31) + getStringHashCode(this.i2c_1) | 0;
1565
+ result = imul(result, 31) + (this.j2c_1 == null ? 0 : getStringHashCode(this.j2c_1)) | 0;
1566
+ result = imul(result, 31) + hashCode(this.k2c_1) | 0;
1567
+ result = imul(result, 31) + (this.l2c_1 == null ? 0 : getStringHashCode(this.l2c_1)) | 0;
1534
1568
  return result;
1535
1569
  };
1536
1570
  protoOf(RecordType).equals = function (other) {
@@ -1539,28 +1573,28 @@ protoOf(RecordType).equals = function (other) {
1539
1573
  if (!(other instanceof RecordType))
1540
1574
  return false;
1541
1575
  var tmp0_other_with_cast = other instanceof RecordType ? other : THROW_CCE();
1542
- if (!(this.m2e_1 === tmp0_other_with_cast.m2e_1))
1576
+ if (!(this.h2c_1 === tmp0_other_with_cast.h2c_1))
1543
1577
  return false;
1544
- if (!(this.n2e_1 === tmp0_other_with_cast.n2e_1))
1578
+ if (!(this.i2c_1 === tmp0_other_with_cast.i2c_1))
1545
1579
  return false;
1546
- if (!(this.o2e_1 == tmp0_other_with_cast.o2e_1))
1580
+ if (!(this.j2c_1 == tmp0_other_with_cast.j2c_1))
1547
1581
  return false;
1548
- if (!equals(this.p2e_1, tmp0_other_with_cast.p2e_1))
1582
+ if (!equals(this.k2c_1, tmp0_other_with_cast.k2c_1))
1549
1583
  return false;
1550
- if (!(this.q2e_1 == tmp0_other_with_cast.q2e_1))
1584
+ if (!(this.l2c_1 == tmp0_other_with_cast.l2c_1))
1551
1585
  return false;
1552
1586
  return true;
1553
1587
  };
1554
1588
  function ArrayType(type, items) {
1555
- this.r2e_1 = type;
1556
- this.s2e_1 = items;
1589
+ this.m2c_1 = type;
1590
+ this.n2c_1 = items;
1557
1591
  }
1558
1592
  protoOf(ArrayType).toString = function () {
1559
- return 'ArrayType(type=' + this.r2e_1 + ', items=' + toString(this.s2e_1) + ')';
1593
+ return 'ArrayType(type=' + this.m2c_1 + ', items=' + toString(this.n2c_1) + ')';
1560
1594
  };
1561
1595
  protoOf(ArrayType).hashCode = function () {
1562
- var result = getStringHashCode(this.r2e_1);
1563
- result = imul(result, 31) + hashCode(this.s2e_1) | 0;
1596
+ var result = getStringHashCode(this.m2c_1);
1597
+ result = imul(result, 31) + hashCode(this.n2c_1) | 0;
1564
1598
  return result;
1565
1599
  };
1566
1600
  protoOf(ArrayType).equals = function (other) {
@@ -1569,22 +1603,22 @@ protoOf(ArrayType).equals = function (other) {
1569
1603
  if (!(other instanceof ArrayType))
1570
1604
  return false;
1571
1605
  var tmp0_other_with_cast = other instanceof ArrayType ? other : THROW_CCE();
1572
- if (!(this.r2e_1 === tmp0_other_with_cast.r2e_1))
1606
+ if (!(this.m2c_1 === tmp0_other_with_cast.m2c_1))
1573
1607
  return false;
1574
- if (!equals(this.s2e_1, tmp0_other_with_cast.s2e_1))
1608
+ if (!equals(this.n2c_1, tmp0_other_with_cast.n2c_1))
1575
1609
  return false;
1576
1610
  return true;
1577
1611
  };
1578
1612
  function MapType(type, values) {
1579
- this.c2e_1 = type;
1580
- this.d2e_1 = values;
1613
+ this.x2b_1 = type;
1614
+ this.y2b_1 = values;
1581
1615
  }
1582
1616
  protoOf(MapType).toString = function () {
1583
- return 'MapType(type=' + this.c2e_1 + ', values=' + toString(this.d2e_1) + ')';
1617
+ return 'MapType(type=' + this.x2b_1 + ', values=' + toString(this.y2b_1) + ')';
1584
1618
  };
1585
1619
  protoOf(MapType).hashCode = function () {
1586
- var result = getStringHashCode(this.c2e_1);
1587
- result = imul(result, 31) + hashCode(this.d2e_1) | 0;
1620
+ var result = getStringHashCode(this.x2b_1);
1621
+ result = imul(result, 31) + hashCode(this.y2b_1) | 0;
1588
1622
  return result;
1589
1623
  };
1590
1624
  protoOf(MapType).equals = function (other) {
@@ -1593,28 +1627,28 @@ protoOf(MapType).equals = function (other) {
1593
1627
  if (!(other instanceof MapType))
1594
1628
  return false;
1595
1629
  var tmp0_other_with_cast = other instanceof MapType ? other : THROW_CCE();
1596
- if (!(this.c2e_1 === tmp0_other_with_cast.c2e_1))
1630
+ if (!(this.x2b_1 === tmp0_other_with_cast.x2b_1))
1597
1631
  return false;
1598
- if (!equals(this.d2e_1, tmp0_other_with_cast.d2e_1))
1632
+ if (!equals(this.y2b_1, tmp0_other_with_cast.y2b_1))
1599
1633
  return false;
1600
1634
  return true;
1601
1635
  };
1602
1636
  function EnumType(type, name, doc, symbols) {
1603
1637
  Companion_getInstance_6();
1604
1638
  doc = doc === VOID ? null : doc;
1605
- this.i2e_1 = type;
1606
- this.j2e_1 = name;
1607
- this.k2e_1 = doc;
1608
- this.l2e_1 = symbols;
1639
+ this.d2c_1 = type;
1640
+ this.e2c_1 = name;
1641
+ this.f2c_1 = doc;
1642
+ this.g2c_1 = symbols;
1609
1643
  }
1610
1644
  protoOf(EnumType).toString = function () {
1611
- return 'EnumType(type=' + this.i2e_1 + ', name=' + this.j2e_1 + ', doc=' + this.k2e_1 + ', symbols=' + toString(this.l2e_1) + ')';
1645
+ return 'EnumType(type=' + this.d2c_1 + ', name=' + this.e2c_1 + ', doc=' + this.f2c_1 + ', symbols=' + toString(this.g2c_1) + ')';
1612
1646
  };
1613
1647
  protoOf(EnumType).hashCode = function () {
1614
- var result = getStringHashCode(this.i2e_1);
1615
- result = imul(result, 31) + getStringHashCode(this.j2e_1) | 0;
1616
- result = imul(result, 31) + (this.k2e_1 == null ? 0 : getStringHashCode(this.k2e_1)) | 0;
1617
- result = imul(result, 31) + hashCode(this.l2e_1) | 0;
1648
+ var result = getStringHashCode(this.d2c_1);
1649
+ result = imul(result, 31) + getStringHashCode(this.e2c_1) | 0;
1650
+ result = imul(result, 31) + (this.f2c_1 == null ? 0 : getStringHashCode(this.f2c_1)) | 0;
1651
+ result = imul(result, 31) + hashCode(this.g2c_1) | 0;
1618
1652
  return result;
1619
1653
  };
1620
1654
  protoOf(EnumType).equals = function (other) {
@@ -1623,26 +1657,26 @@ protoOf(EnumType).equals = function (other) {
1623
1657
  if (!(other instanceof EnumType))
1624
1658
  return false;
1625
1659
  var tmp0_other_with_cast = other instanceof EnumType ? other : THROW_CCE();
1626
- if (!(this.i2e_1 === tmp0_other_with_cast.i2e_1))
1660
+ if (!(this.d2c_1 === tmp0_other_with_cast.d2c_1))
1627
1661
  return false;
1628
- if (!(this.j2e_1 === tmp0_other_with_cast.j2e_1))
1662
+ if (!(this.e2c_1 === tmp0_other_with_cast.e2c_1))
1629
1663
  return false;
1630
- if (!(this.k2e_1 == tmp0_other_with_cast.k2e_1))
1664
+ if (!(this.f2c_1 == tmp0_other_with_cast.f2c_1))
1631
1665
  return false;
1632
- if (!equals(this.l2e_1, tmp0_other_with_cast.l2e_1))
1666
+ if (!equals(this.g2c_1, tmp0_other_with_cast.g2c_1))
1633
1667
  return false;
1634
1668
  return true;
1635
1669
  };
1636
1670
  function UnionType(name, type) {
1637
- this.a2e_1 = name;
1638
- this.b2e_1 = type;
1671
+ this.v2b_1 = name;
1672
+ this.w2b_1 = type;
1639
1673
  }
1640
1674
  protoOf(UnionType).toString = function () {
1641
- return 'UnionType(name=' + this.a2e_1 + ', type=' + this.b2e_1.toString() + ')';
1675
+ return 'UnionType(name=' + this.v2b_1 + ', type=' + this.w2b_1.toString() + ')';
1642
1676
  };
1643
1677
  protoOf(UnionType).hashCode = function () {
1644
- var result = getStringHashCode(this.a2e_1);
1645
- result = imul(result, 31) + this.b2e_1.hashCode() | 0;
1678
+ var result = getStringHashCode(this.v2b_1);
1679
+ result = imul(result, 31) + this.w2b_1.hashCode() | 0;
1646
1680
  return result;
1647
1681
  };
1648
1682
  protoOf(UnionType).equals = function (other) {
@@ -1651,22 +1685,22 @@ protoOf(UnionType).equals = function (other) {
1651
1685
  if (!(other instanceof UnionType))
1652
1686
  return false;
1653
1687
  var tmp0_other_with_cast = other instanceof UnionType ? other : THROW_CCE();
1654
- if (!(this.a2e_1 === tmp0_other_with_cast.a2e_1))
1688
+ if (!(this.v2b_1 === tmp0_other_with_cast.v2b_1))
1655
1689
  return false;
1656
- if (!this.b2e_1.equals(tmp0_other_with_cast.b2e_1))
1690
+ if (!this.w2b_1.equals(tmp0_other_with_cast.w2b_1))
1657
1691
  return false;
1658
1692
  return true;
1659
1693
  };
1660
1694
  function LogicalType() {
1661
1695
  }
1662
1696
  protoOf(LogicalType).toString = function () {
1663
- return 'LogicalType(type=' + this.e2e_1 + ', logicalType=' + this.f2e_1 + ', precision=' + this.g2e_1 + ', scale=' + this.h2e_1 + ')';
1697
+ return 'LogicalType(type=' + this.z2b_1 + ', logicalType=' + this.a2c_1 + ', precision=' + this.b2c_1 + ', scale=' + this.c2c_1 + ')';
1664
1698
  };
1665
1699
  protoOf(LogicalType).hashCode = function () {
1666
- var result = getStringHashCode(this.e2e_1);
1667
- result = imul(result, 31) + getStringHashCode(this.f2e_1) | 0;
1668
- result = imul(result, 31) + (this.g2e_1 == null ? 0 : this.g2e_1) | 0;
1669
- result = imul(result, 31) + (this.h2e_1 == null ? 0 : this.h2e_1) | 0;
1700
+ var result = getStringHashCode(this.z2b_1);
1701
+ result = imul(result, 31) + getStringHashCode(this.a2c_1) | 0;
1702
+ result = imul(result, 31) + (this.b2c_1 == null ? 0 : this.b2c_1) | 0;
1703
+ result = imul(result, 31) + (this.c2c_1 == null ? 0 : this.c2c_1) | 0;
1670
1704
  return result;
1671
1705
  };
1672
1706
  protoOf(LogicalType).equals = function (other) {
@@ -1675,32 +1709,32 @@ protoOf(LogicalType).equals = function (other) {
1675
1709
  if (!(other instanceof LogicalType))
1676
1710
  return false;
1677
1711
  var tmp0_other_with_cast = other instanceof LogicalType ? other : THROW_CCE();
1678
- if (!(this.e2e_1 === tmp0_other_with_cast.e2e_1))
1712
+ if (!(this.z2b_1 === tmp0_other_with_cast.z2b_1))
1679
1713
  return false;
1680
- if (!(this.f2e_1 === tmp0_other_with_cast.f2e_1))
1714
+ if (!(this.a2c_1 === tmp0_other_with_cast.a2c_1))
1681
1715
  return false;
1682
- if (!(this.g2e_1 == tmp0_other_with_cast.g2e_1))
1716
+ if (!(this.b2c_1 == tmp0_other_with_cast.b2c_1))
1683
1717
  return false;
1684
- if (!(this.h2e_1 == tmp0_other_with_cast.h2e_1))
1718
+ if (!(this.c2c_1 == tmp0_other_with_cast.c2c_1))
1685
1719
  return false;
1686
1720
  return true;
1687
1721
  };
1688
1722
  function TypeListSerializer() {
1689
1723
  TypeListSerializer_instance = this;
1690
- this.z2f_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
1724
+ this.x2d_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
1691
1725
  }
1692
1726
  protoOf(TypeListSerializer).sl = function () {
1693
- return this.z2f_1;
1727
+ return this.x2d_1;
1694
1728
  };
1695
- protoOf(TypeListSerializer).a2g = function (encoder, value) {
1696
- if (value.y2f_1 > 1) {
1729
+ protoOf(TypeListSerializer).y2d = function (encoder, value) {
1730
+ if (value.w2d_1 > 1) {
1697
1731
  encoder.lq(ListSerializer(Companion_instance_1.g18()), value);
1698
1732
  } else {
1699
1733
  encoder.lq(Companion_instance_1.g18(), first(value));
1700
1734
  }
1701
1735
  };
1702
1736
  protoOf(TypeListSerializer).tl = function (encoder, value) {
1703
- return this.a2g(encoder, value instanceof TypeList ? value : THROW_CCE());
1737
+ return this.y2d(encoder, value instanceof TypeList ? value : THROW_CCE());
1704
1738
  };
1705
1739
  protoOf(TypeListSerializer).ul = function (decoder) {
1706
1740
  var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
@@ -1748,14 +1782,14 @@ function TypeListSerializer_getInstance() {
1748
1782
  }
1749
1783
  function TypeSerializer() {
1750
1784
  TypeSerializer_instance = this;
1751
- this.b2g_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
1785
+ this.z2d_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
1752
1786
  }
1753
1787
  protoOf(TypeSerializer).sl = function () {
1754
- return this.b2g_1;
1788
+ return this.z2d_1;
1755
1789
  };
1756
- protoOf(TypeSerializer).c2g = function (encoder, value) {
1790
+ protoOf(TypeSerializer).a2e = function (encoder, value) {
1757
1791
  if (value instanceof SimpleType) {
1758
- encoder.lq(serializer(StringCompanionObject_instance), value.z2d_1);
1792
+ encoder.lq(serializer(StringCompanionObject_instance), value.u2b_1);
1759
1793
  } else {
1760
1794
  if (value instanceof RecordType) {
1761
1795
  encoder.lq(Companion_getInstance_3().g18(), value);
@@ -1786,7 +1820,7 @@ protoOf(TypeSerializer).c2g = function (encoder, value) {
1786
1820
  }
1787
1821
  };
1788
1822
  protoOf(TypeSerializer).tl = function (encoder, value) {
1789
- return this.c2g(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
1823
+ return this.a2e(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
1790
1824
  };
1791
1825
  protoOf(TypeSerializer).ul = function (decoder) {
1792
1826
  var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
@@ -1841,7 +1875,7 @@ function AvroParser$parse$lambda($this$Json) {
1841
1875
  }
1842
1876
  function AvroParser() {
1843
1877
  }
1844
- protoOf(AvroParser).o2b = function (schemaContent, strict) {
1878
+ protoOf(AvroParser).b2e = function (schemaContent, strict) {
1845
1879
  var json = Json(VOID, AvroParser$parse$lambda);
1846
1880
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
1847
1881
  // Inline function 'kotlinx.serialization.serializer' call
@@ -1850,10 +1884,10 @@ protoOf(AvroParser).o2b = function (schemaContent, strict) {
1850
1884
  var this_1 = serializer_0(this_0, createKType(getKClass(Type_0), arrayOf([]), false));
1851
1885
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
1852
1886
  var avro = json.w15(tmp$ret$1, schemaContent);
1853
- var tmp = AvroConverter_getInstance().y2e(avro);
1887
+ var tmp = AvroConverter_getInstance().t2c(avro);
1854
1888
  var tmp_0;
1855
1889
  if (avro instanceof RecordType) {
1856
- tmp_0 = new Channel(null, new DefinitionIdentifier(avro.n2e_1), new Custom(avro.n2e_1, false));
1890
+ tmp_0 = new Channel(null, new DefinitionIdentifier(avro.i2c_1), new Custom(avro.i2c_1, false));
1857
1891
  } else {
1858
1892
  if (avro instanceof ArrayType) {
1859
1893
  throw new NotImplementedError();
@@ -1890,11 +1924,11 @@ protoOf(AvroParser).o2b = function (schemaContent, strict) {
1890
1924
  } else {
1891
1925
  tmp_1 = tmp1_elvis_lhs;
1892
1926
  }
1893
- return tmp_1;
1927
+ return new AST(nonEmptyListOf(new Module('', tmp_1), []));
1894
1928
  };
1895
- protoOf(AvroParser).d2g = function (schemaContent, strict, $super) {
1929
+ protoOf(AvroParser).c2e = function (schemaContent, strict, $super) {
1896
1930
  strict = strict === VOID ? true : strict;
1897
- return $super === VOID ? this.o2b(schemaContent, strict) : $super.o2b.call(this, schemaContent, strict);
1931
+ return $super === VOID ? this.b2e(schemaContent, strict) : $super.b2e.call(this, schemaContent, strict);
1898
1932
  };
1899
1933
  var AvroParser_instance;
1900
1934
  function AvroParser_getInstance() {
@@ -1911,7 +1945,6 @@ protoOf($serializer_5).xw = typeParametersSerializers;
1911
1945
  protoOf($serializer_6).xw = typeParametersSerializers;
1912
1946
  //endregion
1913
1947
  //region block: init
1914
- AvroEmitter_instance = new AvroEmitter();
1915
1948
  Companion_instance = new Companion();
1916
1949
  Companion_instance_0 = new Companion_0();
1917
1950
  Companion_instance_1 = new Companion_1();
@@ -1925,7 +1958,7 @@ AvroParser_instance = new AvroParser();
1925
1958
  //region block: exports
1926
1959
  export {
1927
1960
  Type_0 as Typel89stdvlxo83,
1928
- AvroEmitter_instance as AvroEmitter_instance8wqbtzdfh4t3,
1961
+ AvroEmitter_getInstance as AvroEmitter_getInstance2fev0i0aysjmp,
1929
1962
  AvroParser_instance as AvroParser_instance25ibqzb3yimhc,
1930
1963
  };
1931
1964
  //endregion