@flock/wirespec 0.18.1-RC.3 → 0.18.5

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 (43) hide show
  1. package/clikt-clikt-mordant.mjs +79 -79
  2. package/clikt-clikt.mjs +1265 -1265
  3. package/clikt-clikt.mjs.map +1 -1
  4. package/colormath-root-colormath.mjs +433 -433
  5. package/kotlin-kotlin-stdlib.mjs +40 -34
  6. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  7. package/kotlin-openapi-bindings.mjs +5407 -5405
  8. package/kotlin-openapi-bindings.mjs.map +1 -1
  9. package/kotlin-rgxgen.mjs +1760 -1760
  10. package/kotlinx-io-kotlinx-io-core.mjs +404 -404
  11. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1701 -1701
  12. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1320 -1319
  13. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  14. package/mordant-mordant.mjs +1198 -1198
  15. package/package.json +1 -1
  16. package/wirespec-src-compiler-core.mjs +193 -206
  17. package/wirespec-src-compiler-core.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-java.mjs +758 -824
  19. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-kotlin.mjs +319 -426
  21. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-python.mjs +629 -758
  23. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-rust.mjs +1582 -1708
  25. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-scala.mjs +680 -635
  27. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-typescript.mjs +626 -609
  29. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-wirespec.mjs +41 -41
  31. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  32. package/wirespec-src-compiler-ir.mjs +5428 -6057
  33. package/wirespec-src-compiler-ir.mjs.map +1 -1
  34. package/wirespec-src-compiler-lib.mjs +279 -279
  35. package/wirespec-src-converter-avro.mjs +559 -559
  36. package/wirespec-src-converter-avro.mjs.map +1 -1
  37. package/wirespec-src-converter-openapi.mjs +802 -404
  38. package/wirespec-src-converter-openapi.mjs.map +1 -1
  39. package/wirespec-src-plugin-arguments.mjs +144 -144
  40. package/wirespec-src-plugin-cli.mjs +87 -87
  41. package/wirespec-src-plugin-npm.mjs +44 -25
  42. package/wirespec-src-plugin-npm.mjs.map +1 -1
  43. package/wirespec-src-tools-generator.mjs +13 -13
@@ -57,6 +57,7 @@ import {
57
57
  createInvariantKTypeProjection3h5364czc0a8w as createInvariantKTypeProjection,
58
58
  THROW_CCE2g6jy02ryeudk as THROW_CCE,
59
59
  toList3jhuyej2anx2q as toList,
60
+ plus20p0vtfmu0596 as plus_0,
60
61
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
61
62
  objectCreate1ve4bgxiu4x98 as objectCreate,
62
63
  copyToArray2j022khrow2yi as copyToArray,
@@ -70,7 +71,6 @@ import {
70
71
  hashCodeq5arwsb9dgti as hashCode,
71
72
  equals2au1ep9vhcato as equals,
72
73
  StringCompanionObject_instance3sox3h548pjra as StringCompanionObject_instance,
73
- plus20p0vtfmu0596 as plus_0,
74
74
  } from './kotlin-kotlin-stdlib.mjs';
75
75
  import {
76
76
  NonEmptyList__toList_impl_t5xcy2362qtlja6arn8 as NonEmptyList__toList_impl_t5xcy2,
@@ -82,11 +82,11 @@ import {
82
82
  } from './arrow-arrow-core.mjs';
83
83
  import {
84
84
  Default_getInstancejkv49nkel8hp as Default_getInstance,
85
+ Jsonsmkyu9xjl7fv as Json,
85
86
  JsonDecoder1rijst5ne6qla as JsonDecoder,
86
87
  JsonObjectee06ihoeeiqj as JsonObject,
87
88
  JsonArray2urf8ey7u44sd as JsonArray,
88
89
  JsonPrimitive3ttzjh2ft5dnx as JsonPrimitive,
89
- Jsonsmkyu9xjl7fv as Json,
90
90
  } from './kotlinx-serialization-kotlinx-serialization-json.mjs';
91
91
  import {
92
92
  serializer1i4e9ym37oxmo as serializer,
@@ -112,7 +112,8 @@ var imul = Math.imul;
112
112
  //endregion
113
113
  //region block: pre-declaration
114
114
  initMetadataForObject(AvroConverter, 'AvroConverter');
115
- initMetadataForObject(AvroEmitter, 'AvroEmitter');
115
+ initMetadataForObject(AvroJsonEmitter, 'AvroJsonEmitter');
116
+ initMetadataForObject(AvroJsonParser, 'AvroJsonParser');
116
117
  initMetadataForCompanion(Companion);
117
118
  initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
118
119
  initMetadataForCompanion(Companion_0);
@@ -143,14 +144,13 @@ initMetadataForClass(UnionType, 'UnionType', VOID, VOID, [Type_0], VOID, VOID, {
143
144
  initMetadataForClass(LogicalType, 'LogicalType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_6});
144
145
  initMetadataForObject(TypeListSerializer, 'TypeListSerializer', VOID, VOID, [KSerializer]);
145
146
  initMetadataForObject(TypeSerializer, 'TypeSerializer', VOID, VOID, [KSerializer]);
146
- initMetadataForObject(AvroParser, 'AvroParser');
147
147
  //endregion
148
148
  function isNullable($this, _this__u8e3s4) {
149
- return _this__u8e3s4.u1($this.l3i_1);
149
+ return _this__u8e3s4.u1($this.y3g_1);
150
150
  }
151
151
  function toPrimitive($this, _this__u8e3s4) {
152
152
  var tmp;
153
- switch (_this__u8e3s4.m3i_1) {
153
+ switch (_this__u8e3s4.z3g_1) {
154
154
  case 'boolean':
155
155
  tmp = Boolean_instance;
156
156
  break;
@@ -173,7 +173,7 @@ function toPrimitive($this, _this__u8e3s4) {
173
173
  tmp = new String_0(null);
174
174
  break;
175
175
  default:
176
- var reason = 'primitive not mapped ' + _this__u8e3s4.m3i_1;
176
+ var reason = 'primitive not mapped ' + _this__u8e3s4.z3g_1;
177
177
  throw new NotImplementedError('An operation is not implemented: ' + reason);
178
178
  }
179
179
  return tmp;
@@ -181,7 +181,7 @@ function toPrimitive($this, _this__u8e3s4) {
181
181
  function toReference($this, _this__u8e3s4, isNullable) {
182
182
  var tmp;
183
183
  if (_this__u8e3s4 instanceof SimpleType) {
184
- switch (_this__u8e3s4.m3i_1) {
184
+ switch (_this__u8e3s4.z3g_1) {
185
185
  case 'null':
186
186
  tmp = new Unit(isNullable);
187
187
  break;
@@ -195,27 +195,27 @@ function toReference($this, _this__u8e3s4, isNullable) {
195
195
  tmp = new Primitive(toPrimitive($this, _this__u8e3s4), isNullable);
196
196
  break;
197
197
  default:
198
- tmp = new Custom(_this__u8e3s4.m3i_1, isNullable);
198
+ tmp = new Custom(_this__u8e3s4.z3g_1, isNullable);
199
199
  break;
200
200
  }
201
201
  } else {
202
202
  if (_this__u8e3s4 instanceof ArrayType) {
203
- tmp = new Iterable(toReference($this, _this__u8e3s4.f3j_1, false), isNullable);
203
+ tmp = new Iterable(toReference($this, _this__u8e3s4.s3h_1, false), isNullable);
204
204
  } else {
205
205
  if (_this__u8e3s4 instanceof RecordType) {
206
- tmp = new Custom(_this__u8e3s4.a3j_1, isNullable);
206
+ tmp = new Custom(_this__u8e3s4.n3h_1, isNullable);
207
207
  } else {
208
208
  if (_this__u8e3s4 instanceof EnumType) {
209
- tmp = new Custom(_this__u8e3s4.w3i_1, isNullable);
209
+ tmp = new Custom(_this__u8e3s4.j3h_1, isNullable);
210
210
  } else {
211
211
  if (_this__u8e3s4 instanceof LogicalType) {
212
- tmp = toReference($this, new SimpleType(_this__u8e3s4.r3i_1), isNullable);
212
+ tmp = toReference($this, new SimpleType(_this__u8e3s4.e3h_1), isNullable);
213
213
  } else {
214
214
  if (_this__u8e3s4 instanceof MapType) {
215
- tmp = new Dict(toReference($this, _this__u8e3s4.q3i_1, false), isNullable);
215
+ tmp = new Dict(toReference($this, _this__u8e3s4.d3h_1, false), isNullable);
216
216
  } else {
217
217
  if (_this__u8e3s4 instanceof UnionType) {
218
- tmp = new Custom(_this__u8e3s4.n3i_1, isNullable);
218
+ tmp = new Custom(_this__u8e3s4.a3h_1, isNullable);
219
219
  } else {
220
220
  noWhenBranchMatchedException();
221
221
  }
@@ -228,7 +228,7 @@ function toReference($this, _this__u8e3s4, isNullable) {
228
228
  return tmp;
229
229
  }
230
230
  function toReference_0($this, _this__u8e3s4) {
231
- var list = minus(_this__u8e3s4, $this.l3i_1);
231
+ var list = minus(_this__u8e3s4, $this.y3g_1);
232
232
  var tmp;
233
233
  if (list.a1() === 1) {
234
234
  tmp = toReference($this, first(list), isNullable($this, _this__u8e3s4));
@@ -268,18 +268,18 @@ function toReference_0($this, _this__u8e3s4) {
268
268
  }
269
269
  function toType($this, _this__u8e3s4) {
270
270
  var tmp0_annotations = emptyList();
271
- var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.a3j_1);
271
+ var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.n3h_1);
272
272
  var tmp2_extends = emptyList();
273
273
  // Inline function 'kotlin.collections.map' call
274
- var this_0 = _this__u8e3s4.c3j_1;
274
+ var this_0 = _this__u8e3s4.p3h_1;
275
275
  // Inline function 'kotlin.collections.mapTo' call
276
276
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
277
277
  var _iterator__ex2g4s = this_0.t();
278
278
  while (_iterator__ex2g4s.u()) {
279
279
  var item = _iterator__ex2g4s.v();
280
- var tmp0_identifier = new FieldIdentifier(item.g3j_1);
280
+ var tmp0_identifier = new FieldIdentifier(item.t3h_1);
281
281
  var tmp1_annotations = emptyList();
282
- var tmp2_reference = toReference_0(AvroConverter_getInstance(), item.h3j_1);
282
+ var tmp2_reference = toReference_0(AvroConverter_getInstance(), item.u3h_1);
283
283
  var tmp$ret$0 = new Field(tmp1_annotations, tmp0_identifier, tmp2_reference);
284
284
  destination.x(tmp$ret$0);
285
285
  }
@@ -287,13 +287,13 @@ function toType($this, _this__u8e3s4) {
287
287
  return new Type(null, tmp0_annotations, tmp1_identifier, tmp3_shape, tmp2_extends);
288
288
  }
289
289
  function toEnum($this, _this__u8e3s4) {
290
- return new Enum(null, emptyList(), new DefinitionIdentifier(_this__u8e3s4.w3i_1), toSet(_this__u8e3s4.y3i_1));
290
+ return new Enum(null, emptyList(), new DefinitionIdentifier(_this__u8e3s4.j3h_1), toSet(_this__u8e3s4.l3h_1));
291
291
  }
292
292
  function toUnion($this, _this__u8e3s4, name) {
293
293
  var tmp = emptyList();
294
294
  var tmp_0 = new DefinitionIdentifier(name);
295
295
  // Inline function 'kotlin.collections.map' call
296
- var this_0 = _this__u8e3s4.o3i_1;
296
+ var this_0 = _this__u8e3s4.b3h_1;
297
297
  // Inline function 'kotlin.collections.mapTo' call
298
298
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
299
299
  var _iterator__ex2g4s = this_0.t();
@@ -306,9 +306,9 @@ function toUnion($this, _this__u8e3s4, name) {
306
306
  }
307
307
  function AvroConverter() {
308
308
  AvroConverter_instance = this;
309
- this.l3i_1 = new SimpleType('null');
309
+ this.y3g_1 = new SimpleType('null');
310
310
  }
311
- protoOf(AvroConverter).k3j = function (_this__u8e3s4, name) {
311
+ protoOf(AvroConverter).x3h = function (_this__u8e3s4, name) {
312
312
  var tmp;
313
313
  if (_this__u8e3s4 instanceof SimpleType) {
314
314
  tmp = emptyList();
@@ -316,20 +316,20 @@ protoOf(AvroConverter).k3j = function (_this__u8e3s4, name) {
316
316
  if (_this__u8e3s4 instanceof RecordType) {
317
317
  var tmp_0 = listOf(toType(this, _this__u8e3s4));
318
318
  // Inline function 'kotlin.collections.flatMap' call
319
- var tmp0 = _this__u8e3s4.c3j_1;
319
+ var tmp0 = _this__u8e3s4.p3h_1;
320
320
  // Inline function 'kotlin.collections.flatMapTo' call
321
321
  var destination = ArrayList_init_$Create$_0();
322
322
  var _iterator__ex2g4s = tmp0.t();
323
323
  while (_iterator__ex2g4s.u()) {
324
324
  var element = _iterator__ex2g4s.v();
325
325
  // Inline function 'kotlin.collections.flatMap' call
326
- var tmp0_0 = element.h3j_1;
326
+ var tmp0_0 = element.u3h_1;
327
327
  // Inline function 'kotlin.collections.flatMapTo' call
328
328
  var destination_0 = ArrayList_init_$Create$_0();
329
329
  var _iterator__ex2g4s_0 = tmp0_0.t();
330
330
  while (_iterator__ex2g4s_0.u()) {
331
331
  var element_0 = _iterator__ex2g4s_0.v();
332
- var list = AvroConverter_getInstance().k3j(element_0, name);
332
+ var list = AvroConverter_getInstance().x3h(element_0, name);
333
333
  addAll(destination_0, list);
334
334
  }
335
335
  var list_0 = destination_0;
@@ -338,7 +338,7 @@ protoOf(AvroConverter).k3j = function (_this__u8e3s4, name) {
338
338
  tmp = plus(tmp_0, destination);
339
339
  } else {
340
340
  if (_this__u8e3s4 instanceof ArrayType) {
341
- tmp = this.k3j(_this__u8e3s4.f3j_1, name);
341
+ tmp = this.x3h(_this__u8e3s4.s3h_1, name);
342
342
  } else {
343
343
  if (_this__u8e3s4 instanceof EnumType) {
344
344
  tmp = listOf(toEnum(this, _this__u8e3s4));
@@ -347,7 +347,7 @@ protoOf(AvroConverter).k3j = function (_this__u8e3s4, name) {
347
347
  tmp = emptyList();
348
348
  } else {
349
349
  if (_this__u8e3s4 instanceof MapType) {
350
- tmp = this.k3j(_this__u8e3s4.q3i_1, name);
350
+ tmp = this.x3h(_this__u8e3s4.d3h_1, name);
351
351
  } else {
352
352
  if (_this__u8e3s4 instanceof UnionType) {
353
353
  tmp = listOf(toUnion(this, _this__u8e3s4, name));
@@ -362,9 +362,9 @@ protoOf(AvroConverter).k3j = function (_this__u8e3s4, name) {
362
362
  }
363
363
  return tmp;
364
364
  };
365
- protoOf(AvroConverter).l3j = function (_this__u8e3s4, name, $super) {
365
+ protoOf(AvroConverter).y3h = function (_this__u8e3s4, name, $super) {
366
366
  name = name === VOID ? '' : name;
367
- return $super === VOID ? this.k3j(_this__u8e3s4, name) : $super.k3j.call(this, _this__u8e3s4, name);
367
+ return $super === VOID ? this.x3h(_this__u8e3s4, name) : $super.x3h.call(this, _this__u8e3s4, name);
368
368
  };
369
369
  var AvroConverter_instance;
370
370
  function AvroConverter_getInstance() {
@@ -390,14 +390,14 @@ function findType($this, _this__u8e3s4, name) {
390
390
  }
391
391
  return tmp$ret$1;
392
392
  }
393
- function AvroEmitter() {
394
- AvroEmitter_instance = this;
395
- this.m3j_1 = FileExtension_JSON_getInstance();
393
+ function AvroJsonEmitter() {
394
+ AvroJsonEmitter_instance = this;
395
+ this.z3h_1 = FileExtension_JSON_getInstance();
396
396
  }
397
- protoOf(AvroEmitter).eq = function () {
398
- return this.m3j_1;
397
+ protoOf(AvroJsonEmitter).eq = function () {
398
+ return this.z3h_1;
399
399
  };
400
- protoOf(AvroEmitter).on = function (ast, logger) {
400
+ protoOf(AvroJsonEmitter).on = function (ast, logger) {
401
401
  // Inline function 'arrow.core.NonEmptyList.map' call
402
402
  var this_0 = ast.bq_1;
403
403
  // Inline function 'kotlin.collections.map' call
@@ -408,7 +408,7 @@ protoOf(AvroEmitter).on = function (ast, logger) {
408
408
  while (_iterator__ex2g4s.u()) {
409
409
  var item = _iterator__ex2g4s.v();
410
410
  logger.sq('Emitting Nodes from ' + item.cq_1.dn_1 + ' ');
411
- var tmp$ret$0 = AvroEmitter_getInstance().n3j(item);
411
+ var tmp$ret$0 = AvroJsonEmitter_getInstance().a3i(item);
412
412
  destination.x(tmp$ret$0);
413
413
  }
414
414
  // Inline function 'arrow.core.NonEmptyList.map' call
@@ -423,11 +423,11 @@ protoOf(AvroEmitter).on = function (ast, logger) {
423
423
  // Inline function 'kotlinx.serialization.encodeToString' call
424
424
  var this_4 = Default_getInstance();
425
425
  // Inline function 'kotlinx.serialization.serializer' call
426
- var this_5 = this_4.y24();
426
+ var this_5 = this_4.d23();
427
427
  // Inline function 'kotlinx.serialization.internal.cast' call
428
428
  var this_6 = serializer(this_5, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(Type_0), arrayOf([]), false))]), false));
429
429
  var tmp$ret$5 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
430
- var tmp$ret$7 = this_4.l2l(tmp$ret$5, item_0);
430
+ var tmp$ret$7 = this_4.q2j(tmp$ret$5, item_0);
431
431
  destination_0.x(tmp$ret$7);
432
432
  }
433
433
  // Inline function 'arrow.core.NonEmptyList.map' call
@@ -444,10 +444,10 @@ protoOf(AvroEmitter).on = function (ast, logger) {
444
444
  }
445
445
  return _NonEmptyList___init__impl__fxd0xp(destination_1);
446
446
  };
447
- protoOf(AvroEmitter).o3j = function (_this__u8e3s4) {
447
+ protoOf(AvroJsonEmitter).b3i = function (_this__u8e3s4) {
448
448
  return new EnumType('enum', _this__u8e3s4.gr_1.l1(), VOID, toList(_this__u8e3s4.hr_1));
449
449
  };
450
- protoOf(AvroEmitter).p3j = function (_this__u8e3s4) {
450
+ protoOf(AvroJsonEmitter).c3i = function (_this__u8e3s4) {
451
451
  var tmp = _this__u8e3s4.qo_1.l1();
452
452
  // Inline function 'kotlin.collections.map' call
453
453
  var this_0 = _this__u8e3s4.ro_1;
@@ -461,23 +461,23 @@ protoOf(AvroEmitter).p3j = function (_this__u8e3s4) {
461
461
  }
462
462
  return new UnionType(tmp, TypeList_init_$Create$(destination));
463
463
  };
464
- protoOf(AvroEmitter).q3j = function (_this__u8e3s4, module_0, hasEmitted) {
464
+ protoOf(AvroJsonEmitter).d3i = function (_this__u8e3s4, module_0, hasEmitted) {
465
465
  var tmp;
466
466
  if (_this__u8e3s4 instanceof Dict) {
467
- tmp = new MapType('map', this.q3j(_this__u8e3s4.co_1, module_0, hasEmitted));
467
+ tmp = new MapType('map', this.d3i(_this__u8e3s4.co_1, module_0, hasEmitted));
468
468
  } else {
469
469
  if (_this__u8e3s4 instanceof Iterable) {
470
- tmp = new ArrayType('array', this.q3j(_this__u8e3s4.zn_1, module_0, hasEmitted));
470
+ tmp = new ArrayType('array', this.d3i(_this__u8e3s4.zn_1, module_0, hasEmitted));
471
471
  } else {
472
472
  if (_this__u8e3s4 instanceof Primitive) {
473
- var type = _this__u8e3s4.pu_1;
473
+ var type = _this__u8e3s4.ou_1;
474
474
  var tmp_0;
475
475
  if (type instanceof String_0) {
476
476
  tmp_0 = new SimpleType('string');
477
477
  } else {
478
478
  if (type instanceof Integer) {
479
479
  var tmp_1;
480
- switch (type.tt_1.b3_1) {
480
+ switch (type.st_1.b3_1) {
481
481
  case 0:
482
482
  tmp_1 = new SimpleType('int');
483
483
  break;
@@ -492,7 +492,7 @@ protoOf(AvroEmitter).q3j = function (_this__u8e3s4, module_0, hasEmitted) {
492
492
  } else {
493
493
  if (type instanceof Number_0) {
494
494
  var tmp_2;
495
- switch (type.wt_1.b3_1) {
495
+ switch (type.vt_1.b3_1) {
496
496
  case 0:
497
497
  tmp_2 = new SimpleType('float');
498
498
  break;
@@ -520,7 +520,7 @@ protoOf(AvroEmitter).q3j = function (_this__u8e3s4, module_0, hasEmitted) {
520
520
  tmp = tmp_0;
521
521
  } else {
522
522
  if (_this__u8e3s4 instanceof Custom) {
523
- var def = findType(this, module_0, _this__u8e3s4.lu_1);
523
+ var def = findType(this, module_0, _this__u8e3s4.ku_1);
524
524
  var tmp_3;
525
525
  if (def instanceof Type) {
526
526
  var tmp_4;
@@ -531,7 +531,7 @@ protoOf(AvroEmitter).q3j = function (_this__u8e3s4, module_0, hasEmitted) {
531
531
  } else {
532
532
  // Inline function 'kotlin.also' call
533
533
  hasEmitted.x(def.vo_1.l1());
534
- tmp_4 = this.r3j(def, module_0, hasEmitted);
534
+ tmp_4 = this.e3i(def, module_0, hasEmitted);
535
535
  }
536
536
  tmp_3 = tmp_4;
537
537
  } else {
@@ -541,7 +541,7 @@ protoOf(AvroEmitter).q3j = function (_this__u8e3s4, module_0, hasEmitted) {
541
541
  if (def instanceof Refined) {
542
542
  tmp_3 = new SimpleType('string');
543
543
  } else {
544
- tmp_3 = new SimpleType(_this__u8e3s4.lu_1);
544
+ tmp_3 = new SimpleType(_this__u8e3s4.ku_1);
545
545
  }
546
546
  }
547
547
  }
@@ -562,17 +562,17 @@ protoOf(AvroEmitter).q3j = function (_this__u8e3s4, module_0, hasEmitted) {
562
562
  }
563
563
  return tmp;
564
564
  };
565
- protoOf(AvroEmitter).s3j = function (_this__u8e3s4, module_0, hasEmitted) {
565
+ protoOf(AvroJsonEmitter).f3i = function (_this__u8e3s4, module_0, hasEmitted) {
566
566
  var ref = _this__u8e3s4.bp_1;
567
567
  var tmp;
568
568
  if (ref instanceof Iterable) {
569
- tmp = new ArrayType('array', this.q3j(ref.zn_1, module_0, hasEmitted));
569
+ tmp = new ArrayType('array', this.d3i(ref.zn_1, module_0, hasEmitted));
570
570
  } else {
571
- tmp = this.q3j(ref, module_0, hasEmitted);
571
+ tmp = this.d3i(ref, module_0, hasEmitted);
572
572
  }
573
573
  return tmp;
574
574
  };
575
- protoOf(AvroEmitter).r3j = function (_this__u8e3s4, module_0, hasEmitted) {
575
+ protoOf(AvroJsonEmitter).e3i = function (_this__u8e3s4, module_0, hasEmitted) {
576
576
  var tmp0_name = _this__u8e3s4.vo_1.l1();
577
577
  // Inline function 'kotlin.collections.map' call
578
578
  var this_0 = _this__u8e3s4.wo_1.so_1;
@@ -583,17 +583,17 @@ protoOf(AvroEmitter).r3j = function (_this__u8e3s4, module_0, hasEmitted) {
583
583
  var item = _iterator__ex2g4s.v();
584
584
  var tmp = item.ap_1.l1();
585
585
  var tmp_0;
586
- if (item.bp_1.du()) {
587
- tmp_0 = new TypeList([new SimpleType('null'), AvroEmitter_getInstance().s3j(item, module_0, hasEmitted)]);
586
+ if (item.bp_1.cu()) {
587
+ tmp_0 = new TypeList([new SimpleType('null'), AvroJsonEmitter_getInstance().f3i(item, module_0, hasEmitted)]);
588
588
  } else {
589
- tmp_0 = new TypeList([AvroEmitter_getInstance().s3j(item, module_0, hasEmitted)]);
589
+ tmp_0 = new TypeList([AvroJsonEmitter_getInstance().f3i(item, module_0, hasEmitted)]);
590
590
  }
591
591
  var tmp$ret$0 = new Field_0(tmp, tmp_0);
592
592
  destination.x(tmp$ret$0);
593
593
  }
594
594
  return new RecordType('record', tmp0_name, VOID, destination);
595
595
  };
596
- protoOf(AvroEmitter).n3j = function (module_0) {
596
+ protoOf(AvroJsonEmitter).a3i = function (module_0) {
597
597
  // Inline function 'kotlin.collections.mutableListOf' call
598
598
  var hasEmitted = ArrayList_init_$Create$_0();
599
599
  // Inline function 'kotlin.collections.mapNotNull' call
@@ -606,13 +606,13 @@ protoOf(AvroEmitter).n3j = function (module_0) {
606
606
  var element = _iterator__ex2g4s.v();
607
607
  var tmp;
608
608
  if (element instanceof Type) {
609
- tmp = AvroEmitter_getInstance().r3j(element, module_0, hasEmitted);
609
+ tmp = AvroJsonEmitter_getInstance().e3i(element, module_0, hasEmitted);
610
610
  } else {
611
611
  if (element instanceof Enum) {
612
- tmp = AvroEmitter_getInstance().o3j(element);
612
+ tmp = AvroJsonEmitter_getInstance().b3i(element);
613
613
  } else {
614
614
  if (element instanceof Union) {
615
- tmp = AvroEmitter_getInstance().p3j(element);
615
+ tmp = AvroJsonEmitter_getInstance().c3i(element);
616
616
  } else {
617
617
  tmp = null;
618
618
  }
@@ -628,11 +628,75 @@ protoOf(AvroEmitter).n3j = function (module_0) {
628
628
  }
629
629
  return destination;
630
630
  };
631
- var AvroEmitter_instance;
632
- function AvroEmitter_getInstance() {
633
- if (AvroEmitter_instance == null)
634
- new AvroEmitter();
635
- return AvroEmitter_instance;
631
+ var AvroJsonEmitter_instance;
632
+ function AvroJsonEmitter_getInstance() {
633
+ if (AvroJsonEmitter_instance == null)
634
+ new AvroJsonEmitter();
635
+ return AvroJsonEmitter_instance;
636
+ }
637
+ function AvroJsonParser$parse$lambda($this$Json) {
638
+ $this$Json.k2k_1 = true;
639
+ $this$Json.l2k_1 = true;
640
+ return Unit_instance;
641
+ }
642
+ function AvroJsonParser() {
643
+ }
644
+ protoOf(AvroJsonParser).s3g = function (moduleContent, strict) {
645
+ var json = Json(VOID, AvroJsonParser$parse$lambda);
646
+ // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
647
+ var string = moduleContent.ym_1;
648
+ // Inline function 'kotlinx.serialization.serializer' call
649
+ var this_0 = json.d23();
650
+ // Inline function 'kotlinx.serialization.internal.cast' call
651
+ var this_1 = serializer(this_0, createKType(getKClass(Type_0), arrayOf([]), false));
652
+ var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
653
+ var avro = json.r2j(tmp$ret$1, string);
654
+ var tmp = AvroConverter_getInstance().y3h(avro);
655
+ var tmp_0;
656
+ if (avro instanceof RecordType) {
657
+ tmp_0 = new Channel(null, emptyList(), new DefinitionIdentifier(avro.n3h_1), new Custom(avro.n3h_1, false));
658
+ } else {
659
+ if (avro instanceof ArrayType) {
660
+ throw new NotImplementedError();
661
+ } else {
662
+ if (avro instanceof EnumType) {
663
+ throw new NotImplementedError();
664
+ } else {
665
+ if (avro instanceof SimpleType) {
666
+ throw new NotImplementedError();
667
+ } else {
668
+ if (avro instanceof LogicalType) {
669
+ throw new NotImplementedError();
670
+ } else {
671
+ if (avro instanceof MapType) {
672
+ throw new NotImplementedError();
673
+ } else {
674
+ if (avro instanceof UnionType) {
675
+ throw new NotImplementedError();
676
+ } else {
677
+ noWhenBranchMatchedException();
678
+ }
679
+ }
680
+ }
681
+ }
682
+ }
683
+ }
684
+ }
685
+ var result = plus_0(tmp, tmp_0);
686
+ var tmp1_elvis_lhs = toNonEmptyListOrNull(result);
687
+ var tmp_1;
688
+ var tmp_2 = tmp1_elvis_lhs;
689
+ if ((tmp_2 == null ? null : new NonEmptyList(tmp_2)) == null) {
690
+ var message = 'Cannot yield non empty AST';
691
+ throw IllegalStateException_init_$Create$(toString(message));
692
+ } else {
693
+ tmp_1 = tmp1_elvis_lhs;
694
+ }
695
+ return new Root(nonEmptyListOf(new Module(moduleContent.xm_1, tmp_1), []));
696
+ };
697
+ var AvroJsonParser_instance;
698
+ function AvroJsonParser_getInstance() {
699
+ return AvroJsonParser_instance;
636
700
  }
637
701
  function Companion() {
638
702
  }
@@ -643,30 +707,30 @@ function Companion_getInstance() {
643
707
  function $serializer() {
644
708
  $serializer_instance = this;
645
709
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.Field', this, 4);
646
- tmp0_serialDesc.t2b('name', false);
647
- tmp0_serialDesc.t2b('type', false);
648
- tmp0_serialDesc.t2b('doc', true);
649
- tmp0_serialDesc.t2b('default', true);
650
- this.t3j_1 = tmp0_serialDesc;
651
- }
652
- protoOf($serializer).u3j = function (encoder, value) {
653
- var tmp0_desc = this.t3j_1;
654
- var tmp1_output = encoder.j24(tmp0_desc);
655
- tmp1_output.y25(tmp0_desc, 0, value.g3j_1);
656
- tmp1_output.a26(tmp0_desc, 1, TypeListSerializer_getInstance(), value.h3j_1);
657
- if (tmp1_output.g26(tmp0_desc, 2) ? true : !(value.i3j_1 == null)) {
658
- tmp1_output.c26(tmp0_desc, 2, StringSerializer_getInstance(), value.i3j_1);
710
+ tmp0_serialDesc.y29('name', false);
711
+ tmp0_serialDesc.y29('type', false);
712
+ tmp0_serialDesc.y29('doc', true);
713
+ tmp0_serialDesc.y29('default', true);
714
+ this.g3i_1 = tmp0_serialDesc;
715
+ }
716
+ protoOf($serializer).h3i = function (encoder, value) {
717
+ var tmp0_desc = this.g3i_1;
718
+ var tmp1_output = encoder.o22(tmp0_desc);
719
+ tmp1_output.d24(tmp0_desc, 0, value.t3h_1);
720
+ tmp1_output.f24(tmp0_desc, 1, TypeListSerializer_getInstance(), value.u3h_1);
721
+ if (tmp1_output.l24(tmp0_desc, 2) ? true : !(value.v3h_1 == null)) {
722
+ tmp1_output.h24(tmp0_desc, 2, StringSerializer_getInstance(), value.v3h_1);
659
723
  }
660
- if (tmp1_output.g26(tmp0_desc, 3) ? true : !(value.j3j_1 == null)) {
661
- tmp1_output.c26(tmp0_desc, 3, StringSerializer_getInstance(), value.j3j_1);
724
+ if (tmp1_output.l24(tmp0_desc, 3) ? true : !(value.w3h_1 == null)) {
725
+ tmp1_output.h24(tmp0_desc, 3, StringSerializer_getInstance(), value.w3h_1);
662
726
  }
663
- tmp1_output.k24(tmp0_desc);
727
+ tmp1_output.p22(tmp0_desc);
664
728
  };
665
- protoOf($serializer).k21 = function (encoder, value) {
666
- return this.u3j(encoder, value instanceof Field_0 ? value : THROW_CCE());
729
+ protoOf($serializer).p1z = function (encoder, value) {
730
+ return this.h3i(encoder, value instanceof Field_0 ? value : THROW_CCE());
667
731
  };
668
- protoOf($serializer).l21 = function (decoder) {
669
- var tmp0_desc = this.t3j_1;
732
+ protoOf($serializer).q1z = function (decoder) {
733
+ var tmp0_desc = this.g3i_1;
670
734
  var tmp1_flag = true;
671
735
  var tmp2_index = 0;
672
736
  var tmp3_bitMask0 = 0;
@@ -674,50 +738,50 @@ protoOf($serializer).l21 = function (decoder) {
674
738
  var tmp5_local1 = null;
675
739
  var tmp6_local2 = null;
676
740
  var tmp7_local3 = null;
677
- var tmp8_input = decoder.j24(tmp0_desc);
678
- if (tmp8_input.z24()) {
679
- tmp4_local0 = tmp8_input.t24(tmp0_desc, 0);
741
+ var tmp8_input = decoder.o22(tmp0_desc);
742
+ if (tmp8_input.e23()) {
743
+ tmp4_local0 = tmp8_input.y22(tmp0_desc, 0);
680
744
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
681
- tmp5_local1 = tmp8_input.v24(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
745
+ tmp5_local1 = tmp8_input.a23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
682
746
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
683
- tmp6_local2 = tmp8_input.x24(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
747
+ tmp6_local2 = tmp8_input.c23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
684
748
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
685
- tmp7_local3 = tmp8_input.x24(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
749
+ tmp7_local3 = tmp8_input.c23(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
686
750
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
687
751
  } else
688
752
  while (tmp1_flag) {
689
- tmp2_index = tmp8_input.a25(tmp0_desc);
753
+ tmp2_index = tmp8_input.f23(tmp0_desc);
690
754
  switch (tmp2_index) {
691
755
  case -1:
692
756
  tmp1_flag = false;
693
757
  break;
694
758
  case 0:
695
- tmp4_local0 = tmp8_input.t24(tmp0_desc, 0);
759
+ tmp4_local0 = tmp8_input.y22(tmp0_desc, 0);
696
760
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
697
761
  break;
698
762
  case 1:
699
- tmp5_local1 = tmp8_input.v24(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
763
+ tmp5_local1 = tmp8_input.a23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
700
764
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
701
765
  break;
702
766
  case 2:
703
- tmp6_local2 = tmp8_input.x24(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
767
+ tmp6_local2 = tmp8_input.c23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
704
768
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
705
769
  break;
706
770
  case 3:
707
- tmp7_local3 = tmp8_input.x24(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
771
+ tmp7_local3 = tmp8_input.c23(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
708
772
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
709
773
  break;
710
774
  default:
711
775
  throw UnknownFieldException_init_$Create$(tmp2_index);
712
776
  }
713
777
  }
714
- tmp8_input.k24(tmp0_desc);
778
+ tmp8_input.p22(tmp0_desc);
715
779
  return Field_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
716
780
  };
717
- protoOf($serializer).j21 = function () {
718
- return this.t3j_1;
781
+ protoOf($serializer).o1z = function () {
782
+ return this.g3i_1;
719
783
  };
720
- protoOf($serializer).m2c = function () {
784
+ protoOf($serializer).r2a = function () {
721
785
  // Inline function 'kotlin.arrayOf' call
722
786
  // Inline function 'kotlin.js.unsafeCast' call
723
787
  // Inline function 'kotlin.js.asDynamic' call
@@ -731,18 +795,18 @@ function $serializer_getInstance() {
731
795
  }
732
796
  function Field_init_$Init$(seen0, name, type, doc, default_0, serializationConstructorMarker, $this) {
733
797
  if (!(3 === (3 & seen0))) {
734
- throwMissingFieldException(seen0, 3, $serializer_getInstance().t3j_1);
798
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().g3i_1);
735
799
  }
736
- $this.g3j_1 = name;
737
- $this.h3j_1 = type;
800
+ $this.t3h_1 = name;
801
+ $this.u3h_1 = type;
738
802
  if (0 === (seen0 & 4))
739
- $this.i3j_1 = null;
803
+ $this.v3h_1 = null;
740
804
  else
741
- $this.i3j_1 = doc;
805
+ $this.v3h_1 = doc;
742
806
  if (0 === (seen0 & 8))
743
- $this.j3j_1 = null;
807
+ $this.w3h_1 = null;
744
808
  else
745
- $this.j3j_1 = default_0;
809
+ $this.w3h_1 = default_0;
746
810
  return $this;
747
811
  }
748
812
  function Field_init_$Create$(seen0, name, type, doc, default_0, serializationConstructorMarker) {
@@ -765,11 +829,11 @@ function Companion_getInstance_0() {
765
829
  }
766
830
  function Companion_1() {
767
831
  }
768
- protoOf(Companion_1).v2n = function () {
832
+ protoOf(Companion_1).a2m = function () {
769
833
  return TypeSerializer_getInstance();
770
834
  };
771
- protoOf(Companion_1).x2c = function (typeParamsSerializers) {
772
- return this.v2n();
835
+ protoOf(Companion_1).c2b = function (typeParamsSerializers) {
836
+ return this.a2m();
773
837
  };
774
838
  var Companion_instance_1;
775
839
  function Companion_getInstance_1() {
@@ -784,50 +848,50 @@ function Companion_getInstance_2() {
784
848
  function $serializer_0() {
785
849
  $serializer_instance_0 = this;
786
850
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.SimpleType', this, 1);
787
- tmp0_serialDesc.t2b('value', false);
788
- this.v3j_1 = tmp0_serialDesc;
851
+ tmp0_serialDesc.y29('value', false);
852
+ this.i3i_1 = tmp0_serialDesc;
789
853
  }
790
- protoOf($serializer_0).w3j = function (encoder, value) {
791
- var tmp0_desc = this.v3j_1;
792
- var tmp1_output = encoder.j24(tmp0_desc);
793
- tmp1_output.y25(tmp0_desc, 0, value.m3i_1);
794
- tmp1_output.k24(tmp0_desc);
854
+ protoOf($serializer_0).j3i = function (encoder, value) {
855
+ var tmp0_desc = this.i3i_1;
856
+ var tmp1_output = encoder.o22(tmp0_desc);
857
+ tmp1_output.d24(tmp0_desc, 0, value.z3g_1);
858
+ tmp1_output.p22(tmp0_desc);
795
859
  };
796
- protoOf($serializer_0).k21 = function (encoder, value) {
797
- return this.w3j(encoder, value instanceof SimpleType ? value : THROW_CCE());
860
+ protoOf($serializer_0).p1z = function (encoder, value) {
861
+ return this.j3i(encoder, value instanceof SimpleType ? value : THROW_CCE());
798
862
  };
799
- protoOf($serializer_0).l21 = function (decoder) {
800
- var tmp0_desc = this.v3j_1;
863
+ protoOf($serializer_0).q1z = function (decoder) {
864
+ var tmp0_desc = this.i3i_1;
801
865
  var tmp1_flag = true;
802
866
  var tmp2_index = 0;
803
867
  var tmp3_bitMask0 = 0;
804
868
  var tmp4_local0 = null;
805
- var tmp5_input = decoder.j24(tmp0_desc);
806
- if (tmp5_input.z24()) {
807
- tmp4_local0 = tmp5_input.t24(tmp0_desc, 0);
869
+ var tmp5_input = decoder.o22(tmp0_desc);
870
+ if (tmp5_input.e23()) {
871
+ tmp4_local0 = tmp5_input.y22(tmp0_desc, 0);
808
872
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
809
873
  } else
810
874
  while (tmp1_flag) {
811
- tmp2_index = tmp5_input.a25(tmp0_desc);
875
+ tmp2_index = tmp5_input.f23(tmp0_desc);
812
876
  switch (tmp2_index) {
813
877
  case -1:
814
878
  tmp1_flag = false;
815
879
  break;
816
880
  case 0:
817
- tmp4_local0 = tmp5_input.t24(tmp0_desc, 0);
881
+ tmp4_local0 = tmp5_input.y22(tmp0_desc, 0);
818
882
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
819
883
  break;
820
884
  default:
821
885
  throw UnknownFieldException_init_$Create$(tmp2_index);
822
886
  }
823
887
  }
824
- tmp5_input.k24(tmp0_desc);
888
+ tmp5_input.p22(tmp0_desc);
825
889
  return SimpleType_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
826
890
  };
827
- protoOf($serializer_0).j21 = function () {
828
- return this.v3j_1;
891
+ protoOf($serializer_0).o1z = function () {
892
+ return this.i3i_1;
829
893
  };
830
- protoOf($serializer_0).m2c = function () {
894
+ protoOf($serializer_0).r2a = function () {
831
895
  // Inline function 'kotlin.arrayOf' call
832
896
  // Inline function 'kotlin.js.unsafeCast' call
833
897
  // Inline function 'kotlin.js.asDynamic' call
@@ -841,9 +905,9 @@ function $serializer_getInstance_0() {
841
905
  }
842
906
  function SimpleType_init_$Init$(seen0, value, serializationConstructorMarker, $this) {
843
907
  if (!(1 === (1 & seen0))) {
844
- throwMissingFieldException(seen0, 1, $serializer_getInstance_0().v3j_1);
908
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_0().i3i_1);
845
909
  }
846
- $this.m3i_1 = value;
910
+ $this.z3g_1 = value;
847
911
  return $this;
848
912
  }
849
913
  function SimpleType_init_$Create$(seen0, value, serializationConstructorMarker) {
@@ -859,9 +923,9 @@ function Companion_3() {
859
923
  // Inline function 'kotlin.arrayOf' call
860
924
  // Inline function 'kotlin.js.unsafeCast' call
861
925
  // Inline function 'kotlin.js.asDynamic' call
862
- tmp.x3j_1 = [null, null, null, lazy(tmp_0, AvroModel$RecordType$Companion$$childSerializers$_anonymous__y3fmeq), null];
926
+ tmp.k3i_1 = [null, null, null, lazy(tmp_0, AvroModel$RecordType$Companion$$childSerializers$_anonymous__y3fmeq), null];
863
927
  }
864
- protoOf(Companion_3).v2n = function () {
928
+ protoOf(Companion_3).a2m = function () {
865
929
  return $serializer_getInstance_1();
866
930
  };
867
931
  var Companion_instance_3;
@@ -873,33 +937,33 @@ function Companion_getInstance_3() {
873
937
  function $serializer_1() {
874
938
  $serializer_instance_1 = this;
875
939
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.RecordType', this, 5);
876
- tmp0_serialDesc.t2b('type', false);
877
- tmp0_serialDesc.t2b('name', false);
878
- tmp0_serialDesc.t2b('namespace', true);
879
- tmp0_serialDesc.t2b('fields', false);
880
- tmp0_serialDesc.t2b('doc', true);
881
- this.y3j_1 = tmp0_serialDesc;
882
- }
883
- protoOf($serializer_1).z3j = function (encoder, value) {
884
- var tmp0_desc = this.y3j_1;
885
- var tmp1_output = encoder.j24(tmp0_desc);
886
- var tmp2_cached = Companion_getInstance_3().x3j_1;
887
- tmp1_output.y25(tmp0_desc, 0, value.z3i_1);
888
- tmp1_output.y25(tmp0_desc, 1, value.a3j_1);
889
- if (tmp1_output.g26(tmp0_desc, 2) ? true : !(value.b3j_1 == null)) {
890
- tmp1_output.c26(tmp0_desc, 2, StringSerializer_getInstance(), value.b3j_1);
940
+ tmp0_serialDesc.y29('type', false);
941
+ tmp0_serialDesc.y29('name', false);
942
+ tmp0_serialDesc.y29('namespace', true);
943
+ tmp0_serialDesc.y29('fields', false);
944
+ tmp0_serialDesc.y29('doc', true);
945
+ this.l3i_1 = tmp0_serialDesc;
946
+ }
947
+ protoOf($serializer_1).m3i = function (encoder, value) {
948
+ var tmp0_desc = this.l3i_1;
949
+ var tmp1_output = encoder.o22(tmp0_desc);
950
+ var tmp2_cached = Companion_getInstance_3().k3i_1;
951
+ tmp1_output.d24(tmp0_desc, 0, value.m3h_1);
952
+ tmp1_output.d24(tmp0_desc, 1, value.n3h_1);
953
+ if (tmp1_output.l24(tmp0_desc, 2) ? true : !(value.o3h_1 == null)) {
954
+ tmp1_output.h24(tmp0_desc, 2, StringSerializer_getInstance(), value.o3h_1);
891
955
  }
892
- tmp1_output.a26(tmp0_desc, 3, tmp2_cached[3].l1(), value.c3j_1);
893
- if (tmp1_output.g26(tmp0_desc, 4) ? true : !(value.d3j_1 == null)) {
894
- tmp1_output.c26(tmp0_desc, 4, StringSerializer_getInstance(), value.d3j_1);
956
+ tmp1_output.f24(tmp0_desc, 3, tmp2_cached[3].l1(), value.p3h_1);
957
+ if (tmp1_output.l24(tmp0_desc, 4) ? true : !(value.q3h_1 == null)) {
958
+ tmp1_output.h24(tmp0_desc, 4, StringSerializer_getInstance(), value.q3h_1);
895
959
  }
896
- tmp1_output.k24(tmp0_desc);
960
+ tmp1_output.p22(tmp0_desc);
897
961
  };
898
- protoOf($serializer_1).k21 = function (encoder, value) {
899
- return this.z3j(encoder, value instanceof RecordType ? value : THROW_CCE());
962
+ protoOf($serializer_1).p1z = function (encoder, value) {
963
+ return this.m3i(encoder, value instanceof RecordType ? value : THROW_CCE());
900
964
  };
901
- protoOf($serializer_1).l21 = function (decoder) {
902
- var tmp0_desc = this.y3j_1;
965
+ protoOf($serializer_1).q1z = function (decoder) {
966
+ var tmp0_desc = this.l3i_1;
903
967
  var tmp1_flag = true;
904
968
  var tmp2_index = 0;
905
969
  var tmp3_bitMask0 = 0;
@@ -908,58 +972,58 @@ protoOf($serializer_1).l21 = function (decoder) {
908
972
  var tmp6_local2 = null;
909
973
  var tmp7_local3 = null;
910
974
  var tmp8_local4 = null;
911
- var tmp9_input = decoder.j24(tmp0_desc);
912
- var tmp10_cached = Companion_getInstance_3().x3j_1;
913
- if (tmp9_input.z24()) {
914
- tmp4_local0 = tmp9_input.t24(tmp0_desc, 0);
975
+ var tmp9_input = decoder.o22(tmp0_desc);
976
+ var tmp10_cached = Companion_getInstance_3().k3i_1;
977
+ if (tmp9_input.e23()) {
978
+ tmp4_local0 = tmp9_input.y22(tmp0_desc, 0);
915
979
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
916
- tmp5_local1 = tmp9_input.t24(tmp0_desc, 1);
980
+ tmp5_local1 = tmp9_input.y22(tmp0_desc, 1);
917
981
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
918
- tmp6_local2 = tmp9_input.x24(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
982
+ tmp6_local2 = tmp9_input.c23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
919
983
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
920
- tmp7_local3 = tmp9_input.v24(tmp0_desc, 3, tmp10_cached[3].l1(), tmp7_local3);
984
+ tmp7_local3 = tmp9_input.a23(tmp0_desc, 3, tmp10_cached[3].l1(), tmp7_local3);
921
985
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
922
- tmp8_local4 = tmp9_input.x24(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
986
+ tmp8_local4 = tmp9_input.c23(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
923
987
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
924
988
  } else
925
989
  while (tmp1_flag) {
926
- tmp2_index = tmp9_input.a25(tmp0_desc);
990
+ tmp2_index = tmp9_input.f23(tmp0_desc);
927
991
  switch (tmp2_index) {
928
992
  case -1:
929
993
  tmp1_flag = false;
930
994
  break;
931
995
  case 0:
932
- tmp4_local0 = tmp9_input.t24(tmp0_desc, 0);
996
+ tmp4_local0 = tmp9_input.y22(tmp0_desc, 0);
933
997
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
934
998
  break;
935
999
  case 1:
936
- tmp5_local1 = tmp9_input.t24(tmp0_desc, 1);
1000
+ tmp5_local1 = tmp9_input.y22(tmp0_desc, 1);
937
1001
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
938
1002
  break;
939
1003
  case 2:
940
- tmp6_local2 = tmp9_input.x24(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1004
+ tmp6_local2 = tmp9_input.c23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
941
1005
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
942
1006
  break;
943
1007
  case 3:
944
- tmp7_local3 = tmp9_input.v24(tmp0_desc, 3, tmp10_cached[3].l1(), tmp7_local3);
1008
+ tmp7_local3 = tmp9_input.a23(tmp0_desc, 3, tmp10_cached[3].l1(), tmp7_local3);
945
1009
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
946
1010
  break;
947
1011
  case 4:
948
- tmp8_local4 = tmp9_input.x24(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1012
+ tmp8_local4 = tmp9_input.c23(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
949
1013
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
950
1014
  break;
951
1015
  default:
952
1016
  throw UnknownFieldException_init_$Create$(tmp2_index);
953
1017
  }
954
1018
  }
955
- tmp9_input.k24(tmp0_desc);
1019
+ tmp9_input.p22(tmp0_desc);
956
1020
  return RecordType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
957
1021
  };
958
- protoOf($serializer_1).j21 = function () {
959
- return this.y3j_1;
1022
+ protoOf($serializer_1).o1z = function () {
1023
+ return this.l3i_1;
960
1024
  };
961
- protoOf($serializer_1).m2c = function () {
962
- var tmp0_cached = Companion_getInstance_3().x3j_1;
1025
+ protoOf($serializer_1).r2a = function () {
1026
+ var tmp0_cached = Companion_getInstance_3().k3i_1;
963
1027
  // Inline function 'kotlin.arrayOf' call
964
1028
  // Inline function 'kotlin.js.unsafeCast' call
965
1029
  // Inline function 'kotlin.js.asDynamic' call
@@ -973,19 +1037,19 @@ function $serializer_getInstance_1() {
973
1037
  }
974
1038
  function RecordType_init_$Init$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker, $this) {
975
1039
  if (!(11 === (11 & seen0))) {
976
- throwMissingFieldException(seen0, 11, $serializer_getInstance_1().y3j_1);
1040
+ throwMissingFieldException(seen0, 11, $serializer_getInstance_1().l3i_1);
977
1041
  }
978
- $this.z3i_1 = type;
979
- $this.a3j_1 = name;
1042
+ $this.m3h_1 = type;
1043
+ $this.n3h_1 = name;
980
1044
  if (0 === (seen0 & 4))
981
- $this.b3j_1 = null;
1045
+ $this.o3h_1 = null;
982
1046
  else
983
- $this.b3j_1 = namespace;
984
- $this.c3j_1 = fields;
1047
+ $this.o3h_1 = namespace;
1048
+ $this.p3h_1 = fields;
985
1049
  if (0 === (seen0 & 16))
986
- $this.d3j_1 = null;
1050
+ $this.q3h_1 = null;
987
1051
  else
988
- $this.d3j_1 = doc;
1052
+ $this.q3h_1 = doc;
989
1053
  return $this;
990
1054
  }
991
1055
  function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker) {
@@ -993,7 +1057,7 @@ function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, ser
993
1057
  }
994
1058
  function Companion_4() {
995
1059
  }
996
- protoOf(Companion_4).v2n = function () {
1060
+ protoOf(Companion_4).a2m = function () {
997
1061
  return $serializer_getInstance_2();
998
1062
  };
999
1063
  var Companion_instance_4;
@@ -1003,59 +1067,59 @@ function Companion_getInstance_4() {
1003
1067
  function $serializer_2() {
1004
1068
  $serializer_instance_2 = this;
1005
1069
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.ArrayType', this, 2);
1006
- tmp0_serialDesc.t2b('type', false);
1007
- tmp0_serialDesc.t2b('items', false);
1008
- this.a3k_1 = tmp0_serialDesc;
1009
- }
1010
- protoOf($serializer_2).b3k = function (encoder, value) {
1011
- var tmp0_desc = this.a3k_1;
1012
- var tmp1_output = encoder.j24(tmp0_desc);
1013
- tmp1_output.y25(tmp0_desc, 0, value.e3j_1);
1014
- tmp1_output.a26(tmp0_desc, 1, TypeSerializer_getInstance(), value.f3j_1);
1015
- tmp1_output.k24(tmp0_desc);
1016
- };
1017
- protoOf($serializer_2).k21 = function (encoder, value) {
1018
- return this.b3k(encoder, value instanceof ArrayType ? value : THROW_CCE());
1019
- };
1020
- protoOf($serializer_2).l21 = function (decoder) {
1021
- var tmp0_desc = this.a3k_1;
1070
+ tmp0_serialDesc.y29('type', false);
1071
+ tmp0_serialDesc.y29('items', false);
1072
+ this.n3i_1 = tmp0_serialDesc;
1073
+ }
1074
+ protoOf($serializer_2).o3i = function (encoder, value) {
1075
+ var tmp0_desc = this.n3i_1;
1076
+ var tmp1_output = encoder.o22(tmp0_desc);
1077
+ tmp1_output.d24(tmp0_desc, 0, value.r3h_1);
1078
+ tmp1_output.f24(tmp0_desc, 1, TypeSerializer_getInstance(), value.s3h_1);
1079
+ tmp1_output.p22(tmp0_desc);
1080
+ };
1081
+ protoOf($serializer_2).p1z = function (encoder, value) {
1082
+ return this.o3i(encoder, value instanceof ArrayType ? value : THROW_CCE());
1083
+ };
1084
+ protoOf($serializer_2).q1z = function (decoder) {
1085
+ var tmp0_desc = this.n3i_1;
1022
1086
  var tmp1_flag = true;
1023
1087
  var tmp2_index = 0;
1024
1088
  var tmp3_bitMask0 = 0;
1025
1089
  var tmp4_local0 = null;
1026
1090
  var tmp5_local1 = null;
1027
- var tmp6_input = decoder.j24(tmp0_desc);
1028
- if (tmp6_input.z24()) {
1029
- tmp4_local0 = tmp6_input.t24(tmp0_desc, 0);
1091
+ var tmp6_input = decoder.o22(tmp0_desc);
1092
+ if (tmp6_input.e23()) {
1093
+ tmp4_local0 = tmp6_input.y22(tmp0_desc, 0);
1030
1094
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1031
- tmp5_local1 = tmp6_input.v24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1095
+ tmp5_local1 = tmp6_input.a23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1032
1096
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1033
1097
  } else
1034
1098
  while (tmp1_flag) {
1035
- tmp2_index = tmp6_input.a25(tmp0_desc);
1099
+ tmp2_index = tmp6_input.f23(tmp0_desc);
1036
1100
  switch (tmp2_index) {
1037
1101
  case -1:
1038
1102
  tmp1_flag = false;
1039
1103
  break;
1040
1104
  case 0:
1041
- tmp4_local0 = tmp6_input.t24(tmp0_desc, 0);
1105
+ tmp4_local0 = tmp6_input.y22(tmp0_desc, 0);
1042
1106
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1043
1107
  break;
1044
1108
  case 1:
1045
- tmp5_local1 = tmp6_input.v24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1109
+ tmp5_local1 = tmp6_input.a23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1046
1110
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1047
1111
  break;
1048
1112
  default:
1049
1113
  throw UnknownFieldException_init_$Create$(tmp2_index);
1050
1114
  }
1051
1115
  }
1052
- tmp6_input.k24(tmp0_desc);
1116
+ tmp6_input.p22(tmp0_desc);
1053
1117
  return ArrayType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1054
1118
  };
1055
- protoOf($serializer_2).j21 = function () {
1056
- return this.a3k_1;
1119
+ protoOf($serializer_2).o1z = function () {
1120
+ return this.n3i_1;
1057
1121
  };
1058
- protoOf($serializer_2).m2c = function () {
1122
+ protoOf($serializer_2).r2a = function () {
1059
1123
  // Inline function 'kotlin.arrayOf' call
1060
1124
  // Inline function 'kotlin.js.unsafeCast' call
1061
1125
  // Inline function 'kotlin.js.asDynamic' call
@@ -1069,10 +1133,10 @@ function $serializer_getInstance_2() {
1069
1133
  }
1070
1134
  function ArrayType_init_$Init$(seen0, type, items, serializationConstructorMarker, $this) {
1071
1135
  if (!(3 === (3 & seen0))) {
1072
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().a3k_1);
1136
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().n3i_1);
1073
1137
  }
1074
- $this.e3j_1 = type;
1075
- $this.f3j_1 = items;
1138
+ $this.r3h_1 = type;
1139
+ $this.s3h_1 = items;
1076
1140
  return $this;
1077
1141
  }
1078
1142
  function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMarker) {
@@ -1080,7 +1144,7 @@ function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMar
1080
1144
  }
1081
1145
  function Companion_5() {
1082
1146
  }
1083
- protoOf(Companion_5).v2n = function () {
1147
+ protoOf(Companion_5).a2m = function () {
1084
1148
  return $serializer_getInstance_3();
1085
1149
  };
1086
1150
  var Companion_instance_5;
@@ -1090,59 +1154,59 @@ function Companion_getInstance_5() {
1090
1154
  function $serializer_3() {
1091
1155
  $serializer_instance_3 = this;
1092
1156
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.MapType', this, 2);
1093
- tmp0_serialDesc.t2b('type', false);
1094
- tmp0_serialDesc.t2b('values', false);
1095
- this.c3k_1 = tmp0_serialDesc;
1096
- }
1097
- protoOf($serializer_3).d3k = function (encoder, value) {
1098
- var tmp0_desc = this.c3k_1;
1099
- var tmp1_output = encoder.j24(tmp0_desc);
1100
- tmp1_output.y25(tmp0_desc, 0, value.p3i_1);
1101
- tmp1_output.a26(tmp0_desc, 1, TypeSerializer_getInstance(), value.q3i_1);
1102
- tmp1_output.k24(tmp0_desc);
1103
- };
1104
- protoOf($serializer_3).k21 = function (encoder, value) {
1105
- return this.d3k(encoder, value instanceof MapType ? value : THROW_CCE());
1106
- };
1107
- protoOf($serializer_3).l21 = function (decoder) {
1108
- var tmp0_desc = this.c3k_1;
1157
+ tmp0_serialDesc.y29('type', false);
1158
+ tmp0_serialDesc.y29('values', false);
1159
+ this.p3i_1 = tmp0_serialDesc;
1160
+ }
1161
+ protoOf($serializer_3).q3i = function (encoder, value) {
1162
+ var tmp0_desc = this.p3i_1;
1163
+ var tmp1_output = encoder.o22(tmp0_desc);
1164
+ tmp1_output.d24(tmp0_desc, 0, value.c3h_1);
1165
+ tmp1_output.f24(tmp0_desc, 1, TypeSerializer_getInstance(), value.d3h_1);
1166
+ tmp1_output.p22(tmp0_desc);
1167
+ };
1168
+ protoOf($serializer_3).p1z = function (encoder, value) {
1169
+ return this.q3i(encoder, value instanceof MapType ? value : THROW_CCE());
1170
+ };
1171
+ protoOf($serializer_3).q1z = function (decoder) {
1172
+ var tmp0_desc = this.p3i_1;
1109
1173
  var tmp1_flag = true;
1110
1174
  var tmp2_index = 0;
1111
1175
  var tmp3_bitMask0 = 0;
1112
1176
  var tmp4_local0 = null;
1113
1177
  var tmp5_local1 = null;
1114
- var tmp6_input = decoder.j24(tmp0_desc);
1115
- if (tmp6_input.z24()) {
1116
- tmp4_local0 = tmp6_input.t24(tmp0_desc, 0);
1178
+ var tmp6_input = decoder.o22(tmp0_desc);
1179
+ if (tmp6_input.e23()) {
1180
+ tmp4_local0 = tmp6_input.y22(tmp0_desc, 0);
1117
1181
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1118
- tmp5_local1 = tmp6_input.v24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1182
+ tmp5_local1 = tmp6_input.a23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1119
1183
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1120
1184
  } else
1121
1185
  while (tmp1_flag) {
1122
- tmp2_index = tmp6_input.a25(tmp0_desc);
1186
+ tmp2_index = tmp6_input.f23(tmp0_desc);
1123
1187
  switch (tmp2_index) {
1124
1188
  case -1:
1125
1189
  tmp1_flag = false;
1126
1190
  break;
1127
1191
  case 0:
1128
- tmp4_local0 = tmp6_input.t24(tmp0_desc, 0);
1192
+ tmp4_local0 = tmp6_input.y22(tmp0_desc, 0);
1129
1193
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1130
1194
  break;
1131
1195
  case 1:
1132
- tmp5_local1 = tmp6_input.v24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1196
+ tmp5_local1 = tmp6_input.a23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1133
1197
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1134
1198
  break;
1135
1199
  default:
1136
1200
  throw UnknownFieldException_init_$Create$(tmp2_index);
1137
1201
  }
1138
1202
  }
1139
- tmp6_input.k24(tmp0_desc);
1203
+ tmp6_input.p22(tmp0_desc);
1140
1204
  return MapType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1141
1205
  };
1142
- protoOf($serializer_3).j21 = function () {
1143
- return this.c3k_1;
1206
+ protoOf($serializer_3).o1z = function () {
1207
+ return this.p3i_1;
1144
1208
  };
1145
- protoOf($serializer_3).m2c = function () {
1209
+ protoOf($serializer_3).r2a = function () {
1146
1210
  // Inline function 'kotlin.arrayOf' call
1147
1211
  // Inline function 'kotlin.js.unsafeCast' call
1148
1212
  // Inline function 'kotlin.js.asDynamic' call
@@ -1156,10 +1220,10 @@ function $serializer_getInstance_3() {
1156
1220
  }
1157
1221
  function MapType_init_$Init$(seen0, type, values, serializationConstructorMarker, $this) {
1158
1222
  if (!(3 === (3 & seen0))) {
1159
- throwMissingFieldException(seen0, 3, $serializer_getInstance_3().c3k_1);
1223
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_3().p3i_1);
1160
1224
  }
1161
- $this.p3i_1 = type;
1162
- $this.q3i_1 = values;
1225
+ $this.c3h_1 = type;
1226
+ $this.d3h_1 = values;
1163
1227
  return $this;
1164
1228
  }
1165
1229
  function MapType_init_$Create$(seen0, type, values, serializationConstructorMarker) {
@@ -1175,9 +1239,9 @@ function Companion_6() {
1175
1239
  // Inline function 'kotlin.arrayOf' call
1176
1240
  // Inline function 'kotlin.js.unsafeCast' call
1177
1241
  // Inline function 'kotlin.js.asDynamic' call
1178
- tmp.e3k_1 = [null, null, null, lazy(tmp_0, AvroModel$EnumType$Companion$$childSerializers$_anonymous__vqfr9a)];
1242
+ tmp.r3i_1 = [null, null, null, lazy(tmp_0, AvroModel$EnumType$Companion$$childSerializers$_anonymous__vqfr9a)];
1179
1243
  }
1180
- protoOf(Companion_6).v2n = function () {
1244
+ protoOf(Companion_6).a2m = function () {
1181
1245
  return $serializer_getInstance_4();
1182
1246
  };
1183
1247
  var Companion_instance_6;
@@ -1189,29 +1253,29 @@ function Companion_getInstance_6() {
1189
1253
  function $serializer_4() {
1190
1254
  $serializer_instance_4 = this;
1191
1255
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.EnumType', this, 4);
1192
- tmp0_serialDesc.t2b('type', false);
1193
- tmp0_serialDesc.t2b('name', false);
1194
- tmp0_serialDesc.t2b('doc', true);
1195
- tmp0_serialDesc.t2b('symbols', false);
1196
- this.f3k_1 = tmp0_serialDesc;
1197
- }
1198
- protoOf($serializer_4).g3k = function (encoder, value) {
1199
- var tmp0_desc = this.f3k_1;
1200
- var tmp1_output = encoder.j24(tmp0_desc);
1201
- var tmp2_cached = Companion_getInstance_6().e3k_1;
1202
- tmp1_output.y25(tmp0_desc, 0, value.v3i_1);
1203
- tmp1_output.y25(tmp0_desc, 1, value.w3i_1);
1204
- if (tmp1_output.g26(tmp0_desc, 2) ? true : !(value.x3i_1 == null)) {
1205
- tmp1_output.c26(tmp0_desc, 2, StringSerializer_getInstance(), value.x3i_1);
1256
+ tmp0_serialDesc.y29('type', false);
1257
+ tmp0_serialDesc.y29('name', false);
1258
+ tmp0_serialDesc.y29('doc', true);
1259
+ tmp0_serialDesc.y29('symbols', false);
1260
+ this.s3i_1 = tmp0_serialDesc;
1261
+ }
1262
+ protoOf($serializer_4).t3i = function (encoder, value) {
1263
+ var tmp0_desc = this.s3i_1;
1264
+ var tmp1_output = encoder.o22(tmp0_desc);
1265
+ var tmp2_cached = Companion_getInstance_6().r3i_1;
1266
+ tmp1_output.d24(tmp0_desc, 0, value.i3h_1);
1267
+ tmp1_output.d24(tmp0_desc, 1, value.j3h_1);
1268
+ if (tmp1_output.l24(tmp0_desc, 2) ? true : !(value.k3h_1 == null)) {
1269
+ tmp1_output.h24(tmp0_desc, 2, StringSerializer_getInstance(), value.k3h_1);
1206
1270
  }
1207
- tmp1_output.a26(tmp0_desc, 3, tmp2_cached[3].l1(), value.y3i_1);
1208
- tmp1_output.k24(tmp0_desc);
1271
+ tmp1_output.f24(tmp0_desc, 3, tmp2_cached[3].l1(), value.l3h_1);
1272
+ tmp1_output.p22(tmp0_desc);
1209
1273
  };
1210
- protoOf($serializer_4).k21 = function (encoder, value) {
1211
- return this.g3k(encoder, value instanceof EnumType ? value : THROW_CCE());
1274
+ protoOf($serializer_4).p1z = function (encoder, value) {
1275
+ return this.t3i(encoder, value instanceof EnumType ? value : THROW_CCE());
1212
1276
  };
1213
- protoOf($serializer_4).l21 = function (decoder) {
1214
- var tmp0_desc = this.f3k_1;
1277
+ protoOf($serializer_4).q1z = function (decoder) {
1278
+ var tmp0_desc = this.s3i_1;
1215
1279
  var tmp1_flag = true;
1216
1280
  var tmp2_index = 0;
1217
1281
  var tmp3_bitMask0 = 0;
@@ -1219,52 +1283,52 @@ protoOf($serializer_4).l21 = function (decoder) {
1219
1283
  var tmp5_local1 = null;
1220
1284
  var tmp6_local2 = null;
1221
1285
  var tmp7_local3 = null;
1222
- var tmp8_input = decoder.j24(tmp0_desc);
1223
- var tmp9_cached = Companion_getInstance_6().e3k_1;
1224
- if (tmp8_input.z24()) {
1225
- tmp4_local0 = tmp8_input.t24(tmp0_desc, 0);
1286
+ var tmp8_input = decoder.o22(tmp0_desc);
1287
+ var tmp9_cached = Companion_getInstance_6().r3i_1;
1288
+ if (tmp8_input.e23()) {
1289
+ tmp4_local0 = tmp8_input.y22(tmp0_desc, 0);
1226
1290
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1227
- tmp5_local1 = tmp8_input.t24(tmp0_desc, 1);
1291
+ tmp5_local1 = tmp8_input.y22(tmp0_desc, 1);
1228
1292
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1229
- tmp6_local2 = tmp8_input.x24(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1293
+ tmp6_local2 = tmp8_input.c23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1230
1294
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1231
- tmp7_local3 = tmp8_input.v24(tmp0_desc, 3, tmp9_cached[3].l1(), tmp7_local3);
1295
+ tmp7_local3 = tmp8_input.a23(tmp0_desc, 3, tmp9_cached[3].l1(), tmp7_local3);
1232
1296
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1233
1297
  } else
1234
1298
  while (tmp1_flag) {
1235
- tmp2_index = tmp8_input.a25(tmp0_desc);
1299
+ tmp2_index = tmp8_input.f23(tmp0_desc);
1236
1300
  switch (tmp2_index) {
1237
1301
  case -1:
1238
1302
  tmp1_flag = false;
1239
1303
  break;
1240
1304
  case 0:
1241
- tmp4_local0 = tmp8_input.t24(tmp0_desc, 0);
1305
+ tmp4_local0 = tmp8_input.y22(tmp0_desc, 0);
1242
1306
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1243
1307
  break;
1244
1308
  case 1:
1245
- tmp5_local1 = tmp8_input.t24(tmp0_desc, 1);
1309
+ tmp5_local1 = tmp8_input.y22(tmp0_desc, 1);
1246
1310
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1247
1311
  break;
1248
1312
  case 2:
1249
- tmp6_local2 = tmp8_input.x24(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1313
+ tmp6_local2 = tmp8_input.c23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1250
1314
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1251
1315
  break;
1252
1316
  case 3:
1253
- tmp7_local3 = tmp8_input.v24(tmp0_desc, 3, tmp9_cached[3].l1(), tmp7_local3);
1317
+ tmp7_local3 = tmp8_input.a23(tmp0_desc, 3, tmp9_cached[3].l1(), tmp7_local3);
1254
1318
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1255
1319
  break;
1256
1320
  default:
1257
1321
  throw UnknownFieldException_init_$Create$(tmp2_index);
1258
1322
  }
1259
1323
  }
1260
- tmp8_input.k24(tmp0_desc);
1324
+ tmp8_input.p22(tmp0_desc);
1261
1325
  return EnumType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1262
1326
  };
1263
- protoOf($serializer_4).j21 = function () {
1264
- return this.f3k_1;
1327
+ protoOf($serializer_4).o1z = function () {
1328
+ return this.s3i_1;
1265
1329
  };
1266
- protoOf($serializer_4).m2c = function () {
1267
- var tmp0_cached = Companion_getInstance_6().e3k_1;
1330
+ protoOf($serializer_4).r2a = function () {
1331
+ var tmp0_cached = Companion_getInstance_6().r3i_1;
1268
1332
  // Inline function 'kotlin.arrayOf' call
1269
1333
  // Inline function 'kotlin.js.unsafeCast' call
1270
1334
  // Inline function 'kotlin.js.asDynamic' call
@@ -1278,15 +1342,15 @@ function $serializer_getInstance_4() {
1278
1342
  }
1279
1343
  function EnumType_init_$Init$(seen0, type, name, doc, symbols, serializationConstructorMarker, $this) {
1280
1344
  if (!(11 === (11 & seen0))) {
1281
- throwMissingFieldException(seen0, 11, $serializer_getInstance_4().f3k_1);
1345
+ throwMissingFieldException(seen0, 11, $serializer_getInstance_4().s3i_1);
1282
1346
  }
1283
- $this.v3i_1 = type;
1284
- $this.w3i_1 = name;
1347
+ $this.i3h_1 = type;
1348
+ $this.j3h_1 = name;
1285
1349
  if (0 === (seen0 & 4))
1286
- $this.x3i_1 = null;
1350
+ $this.k3h_1 = null;
1287
1351
  else
1288
- $this.x3i_1 = doc;
1289
- $this.y3i_1 = symbols;
1352
+ $this.k3h_1 = doc;
1353
+ $this.l3h_1 = symbols;
1290
1354
  return $this;
1291
1355
  }
1292
1356
  function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationConstructorMarker) {
@@ -1294,7 +1358,7 @@ function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationCo
1294
1358
  }
1295
1359
  function Companion_7() {
1296
1360
  }
1297
- protoOf(Companion_7).v2n = function () {
1361
+ protoOf(Companion_7).a2m = function () {
1298
1362
  return $serializer_getInstance_5();
1299
1363
  };
1300
1364
  var Companion_instance_7;
@@ -1304,59 +1368,59 @@ function Companion_getInstance_7() {
1304
1368
  function $serializer_5() {
1305
1369
  $serializer_instance_5 = this;
1306
1370
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.UnionType', this, 2);
1307
- tmp0_serialDesc.t2b('name', false);
1308
- tmp0_serialDesc.t2b('type', false);
1309
- this.h3k_1 = tmp0_serialDesc;
1310
- }
1311
- protoOf($serializer_5).i3k = function (encoder, value) {
1312
- var tmp0_desc = this.h3k_1;
1313
- var tmp1_output = encoder.j24(tmp0_desc);
1314
- tmp1_output.y25(tmp0_desc, 0, value.n3i_1);
1315
- tmp1_output.a26(tmp0_desc, 1, TypeListSerializer_getInstance(), value.o3i_1);
1316
- tmp1_output.k24(tmp0_desc);
1317
- };
1318
- protoOf($serializer_5).k21 = function (encoder, value) {
1319
- return this.i3k(encoder, value instanceof UnionType ? value : THROW_CCE());
1320
- };
1321
- protoOf($serializer_5).l21 = function (decoder) {
1322
- var tmp0_desc = this.h3k_1;
1371
+ tmp0_serialDesc.y29('name', false);
1372
+ tmp0_serialDesc.y29('type', false);
1373
+ this.u3i_1 = tmp0_serialDesc;
1374
+ }
1375
+ protoOf($serializer_5).v3i = function (encoder, value) {
1376
+ var tmp0_desc = this.u3i_1;
1377
+ var tmp1_output = encoder.o22(tmp0_desc);
1378
+ tmp1_output.d24(tmp0_desc, 0, value.a3h_1);
1379
+ tmp1_output.f24(tmp0_desc, 1, TypeListSerializer_getInstance(), value.b3h_1);
1380
+ tmp1_output.p22(tmp0_desc);
1381
+ };
1382
+ protoOf($serializer_5).p1z = function (encoder, value) {
1383
+ return this.v3i(encoder, value instanceof UnionType ? value : THROW_CCE());
1384
+ };
1385
+ protoOf($serializer_5).q1z = function (decoder) {
1386
+ var tmp0_desc = this.u3i_1;
1323
1387
  var tmp1_flag = true;
1324
1388
  var tmp2_index = 0;
1325
1389
  var tmp3_bitMask0 = 0;
1326
1390
  var tmp4_local0 = null;
1327
1391
  var tmp5_local1 = null;
1328
- var tmp6_input = decoder.j24(tmp0_desc);
1329
- if (tmp6_input.z24()) {
1330
- tmp4_local0 = tmp6_input.t24(tmp0_desc, 0);
1392
+ var tmp6_input = decoder.o22(tmp0_desc);
1393
+ if (tmp6_input.e23()) {
1394
+ tmp4_local0 = tmp6_input.y22(tmp0_desc, 0);
1331
1395
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1332
- tmp5_local1 = tmp6_input.v24(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1396
+ tmp5_local1 = tmp6_input.a23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1333
1397
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1334
1398
  } else
1335
1399
  while (tmp1_flag) {
1336
- tmp2_index = tmp6_input.a25(tmp0_desc);
1400
+ tmp2_index = tmp6_input.f23(tmp0_desc);
1337
1401
  switch (tmp2_index) {
1338
1402
  case -1:
1339
1403
  tmp1_flag = false;
1340
1404
  break;
1341
1405
  case 0:
1342
- tmp4_local0 = tmp6_input.t24(tmp0_desc, 0);
1406
+ tmp4_local0 = tmp6_input.y22(tmp0_desc, 0);
1343
1407
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1344
1408
  break;
1345
1409
  case 1:
1346
- tmp5_local1 = tmp6_input.v24(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1410
+ tmp5_local1 = tmp6_input.a23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1347
1411
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1348
1412
  break;
1349
1413
  default:
1350
1414
  throw UnknownFieldException_init_$Create$(tmp2_index);
1351
1415
  }
1352
1416
  }
1353
- tmp6_input.k24(tmp0_desc);
1417
+ tmp6_input.p22(tmp0_desc);
1354
1418
  return UnionType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1355
1419
  };
1356
- protoOf($serializer_5).j21 = function () {
1357
- return this.h3k_1;
1420
+ protoOf($serializer_5).o1z = function () {
1421
+ return this.u3i_1;
1358
1422
  };
1359
- protoOf($serializer_5).m2c = function () {
1423
+ protoOf($serializer_5).r2a = function () {
1360
1424
  // Inline function 'kotlin.arrayOf' call
1361
1425
  // Inline function 'kotlin.js.unsafeCast' call
1362
1426
  // Inline function 'kotlin.js.asDynamic' call
@@ -1370,10 +1434,10 @@ function $serializer_getInstance_5() {
1370
1434
  }
1371
1435
  function UnionType_init_$Init$(seen0, name, type, serializationConstructorMarker, $this) {
1372
1436
  if (!(3 === (3 & seen0))) {
1373
- throwMissingFieldException(seen0, 3, $serializer_getInstance_5().h3k_1);
1437
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_5().u3i_1);
1374
1438
  }
1375
- $this.n3i_1 = name;
1376
- $this.o3i_1 = type;
1439
+ $this.a3h_1 = name;
1440
+ $this.b3h_1 = type;
1377
1441
  return $this;
1378
1442
  }
1379
1443
  function UnionType_init_$Create$(seen0, name, type, serializationConstructorMarker) {
@@ -1381,7 +1445,7 @@ function UnionType_init_$Create$(seen0, name, type, serializationConstructorMark
1381
1445
  }
1382
1446
  function Companion_8() {
1383
1447
  }
1384
- protoOf(Companion_8).v2n = function () {
1448
+ protoOf(Companion_8).a2m = function () {
1385
1449
  return $serializer_getInstance_6();
1386
1450
  };
1387
1451
  var Companion_instance_8;
@@ -1391,30 +1455,30 @@ function Companion_getInstance_8() {
1391
1455
  function $serializer_6() {
1392
1456
  $serializer_instance_6 = this;
1393
1457
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.LogicalType', this, 4);
1394
- tmp0_serialDesc.t2b('type', false);
1395
- tmp0_serialDesc.t2b('logicalType', false);
1396
- tmp0_serialDesc.t2b('precision', true);
1397
- tmp0_serialDesc.t2b('scale', true);
1398
- this.j3k_1 = tmp0_serialDesc;
1399
- }
1400
- protoOf($serializer_6).k3k = function (encoder, value) {
1401
- var tmp0_desc = this.j3k_1;
1402
- var tmp1_output = encoder.j24(tmp0_desc);
1403
- tmp1_output.y25(tmp0_desc, 0, value.r3i_1);
1404
- tmp1_output.y25(tmp0_desc, 1, value.s3i_1);
1405
- if (tmp1_output.g26(tmp0_desc, 2) ? true : !(value.t3i_1 == null)) {
1406
- tmp1_output.c26(tmp0_desc, 2, IntSerializer_getInstance(), value.t3i_1);
1458
+ tmp0_serialDesc.y29('type', false);
1459
+ tmp0_serialDesc.y29('logicalType', false);
1460
+ tmp0_serialDesc.y29('precision', true);
1461
+ tmp0_serialDesc.y29('scale', true);
1462
+ this.w3i_1 = tmp0_serialDesc;
1463
+ }
1464
+ protoOf($serializer_6).x3i = function (encoder, value) {
1465
+ var tmp0_desc = this.w3i_1;
1466
+ var tmp1_output = encoder.o22(tmp0_desc);
1467
+ tmp1_output.d24(tmp0_desc, 0, value.e3h_1);
1468
+ tmp1_output.d24(tmp0_desc, 1, value.f3h_1);
1469
+ if (tmp1_output.l24(tmp0_desc, 2) ? true : !(value.g3h_1 == null)) {
1470
+ tmp1_output.h24(tmp0_desc, 2, IntSerializer_getInstance(), value.g3h_1);
1407
1471
  }
1408
- if (tmp1_output.g26(tmp0_desc, 3) ? true : !(value.u3i_1 == null)) {
1409
- tmp1_output.c26(tmp0_desc, 3, IntSerializer_getInstance(), value.u3i_1);
1472
+ if (tmp1_output.l24(tmp0_desc, 3) ? true : !(value.h3h_1 == null)) {
1473
+ tmp1_output.h24(tmp0_desc, 3, IntSerializer_getInstance(), value.h3h_1);
1410
1474
  }
1411
- tmp1_output.k24(tmp0_desc);
1475
+ tmp1_output.p22(tmp0_desc);
1412
1476
  };
1413
- protoOf($serializer_6).k21 = function (encoder, value) {
1414
- return this.k3k(encoder, value instanceof LogicalType ? value : THROW_CCE());
1477
+ protoOf($serializer_6).p1z = function (encoder, value) {
1478
+ return this.x3i(encoder, value instanceof LogicalType ? value : THROW_CCE());
1415
1479
  };
1416
- protoOf($serializer_6).l21 = function (decoder) {
1417
- var tmp0_desc = this.j3k_1;
1480
+ protoOf($serializer_6).q1z = function (decoder) {
1481
+ var tmp0_desc = this.w3i_1;
1418
1482
  var tmp1_flag = true;
1419
1483
  var tmp2_index = 0;
1420
1484
  var tmp3_bitMask0 = 0;
@@ -1422,50 +1486,50 @@ protoOf($serializer_6).l21 = function (decoder) {
1422
1486
  var tmp5_local1 = null;
1423
1487
  var tmp6_local2 = null;
1424
1488
  var tmp7_local3 = null;
1425
- var tmp8_input = decoder.j24(tmp0_desc);
1426
- if (tmp8_input.z24()) {
1427
- tmp4_local0 = tmp8_input.t24(tmp0_desc, 0);
1489
+ var tmp8_input = decoder.o22(tmp0_desc);
1490
+ if (tmp8_input.e23()) {
1491
+ tmp4_local0 = tmp8_input.y22(tmp0_desc, 0);
1428
1492
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1429
- tmp5_local1 = tmp8_input.t24(tmp0_desc, 1);
1493
+ tmp5_local1 = tmp8_input.y22(tmp0_desc, 1);
1430
1494
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1431
- tmp6_local2 = tmp8_input.x24(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1495
+ tmp6_local2 = tmp8_input.c23(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1432
1496
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1433
- tmp7_local3 = tmp8_input.x24(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1497
+ tmp7_local3 = tmp8_input.c23(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1434
1498
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1435
1499
  } else
1436
1500
  while (tmp1_flag) {
1437
- tmp2_index = tmp8_input.a25(tmp0_desc);
1501
+ tmp2_index = tmp8_input.f23(tmp0_desc);
1438
1502
  switch (tmp2_index) {
1439
1503
  case -1:
1440
1504
  tmp1_flag = false;
1441
1505
  break;
1442
1506
  case 0:
1443
- tmp4_local0 = tmp8_input.t24(tmp0_desc, 0);
1507
+ tmp4_local0 = tmp8_input.y22(tmp0_desc, 0);
1444
1508
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1445
1509
  break;
1446
1510
  case 1:
1447
- tmp5_local1 = tmp8_input.t24(tmp0_desc, 1);
1511
+ tmp5_local1 = tmp8_input.y22(tmp0_desc, 1);
1448
1512
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1449
1513
  break;
1450
1514
  case 2:
1451
- tmp6_local2 = tmp8_input.x24(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1515
+ tmp6_local2 = tmp8_input.c23(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1452
1516
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1453
1517
  break;
1454
1518
  case 3:
1455
- tmp7_local3 = tmp8_input.x24(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1519
+ tmp7_local3 = tmp8_input.c23(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1456
1520
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1457
1521
  break;
1458
1522
  default:
1459
1523
  throw UnknownFieldException_init_$Create$(tmp2_index);
1460
1524
  }
1461
1525
  }
1462
- tmp8_input.k24(tmp0_desc);
1526
+ tmp8_input.p22(tmp0_desc);
1463
1527
  return LogicalType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1464
1528
  };
1465
- protoOf($serializer_6).j21 = function () {
1466
- return this.j3k_1;
1529
+ protoOf($serializer_6).o1z = function () {
1530
+ return this.w3i_1;
1467
1531
  };
1468
- protoOf($serializer_6).m2c = function () {
1532
+ protoOf($serializer_6).r2a = function () {
1469
1533
  // Inline function 'kotlin.arrayOf' call
1470
1534
  // Inline function 'kotlin.js.unsafeCast' call
1471
1535
  // Inline function 'kotlin.js.asDynamic' call
@@ -1479,18 +1543,18 @@ function $serializer_getInstance_6() {
1479
1543
  }
1480
1544
  function LogicalType_init_$Init$(seen0, type, logicalType, precision, scale, serializationConstructorMarker, $this) {
1481
1545
  if (!(3 === (3 & seen0))) {
1482
- throwMissingFieldException(seen0, 3, $serializer_getInstance_6().j3k_1);
1546
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_6().w3i_1);
1483
1547
  }
1484
- $this.r3i_1 = type;
1485
- $this.s3i_1 = logicalType;
1548
+ $this.e3h_1 = type;
1549
+ $this.f3h_1 = logicalType;
1486
1550
  if (0 === (seen0 & 4))
1487
- $this.t3i_1 = null;
1551
+ $this.g3h_1 = null;
1488
1552
  else
1489
- $this.t3i_1 = precision;
1553
+ $this.g3h_1 = precision;
1490
1554
  if (0 === (seen0 & 8))
1491
- $this.u3i_1 = null;
1555
+ $this.h3h_1 = null;
1492
1556
  else
1493
- $this.u3i_1 = scale;
1557
+ $this.h3h_1 = scale;
1494
1558
  return $this;
1495
1559
  }
1496
1560
  function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, serializationConstructorMarker) {
@@ -1499,19 +1563,19 @@ function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, s
1499
1563
  function Field_0(name, type, doc, default_0) {
1500
1564
  doc = doc === VOID ? null : doc;
1501
1565
  default_0 = default_0 === VOID ? null : default_0;
1502
- this.g3j_1 = name;
1503
- this.h3j_1 = type;
1504
- this.i3j_1 = doc;
1505
- this.j3j_1 = default_0;
1566
+ this.t3h_1 = name;
1567
+ this.u3h_1 = type;
1568
+ this.v3h_1 = doc;
1569
+ this.w3h_1 = default_0;
1506
1570
  }
1507
1571
  protoOf(Field_0).toString = function () {
1508
- return 'Field(name=' + this.g3j_1 + ', type=' + this.h3j_1.toString() + ', doc=' + this.i3j_1 + ', default=' + this.j3j_1 + ')';
1572
+ return 'Field(name=' + this.t3h_1 + ', type=' + this.u3h_1.toString() + ', doc=' + this.v3h_1 + ', default=' + this.w3h_1 + ')';
1509
1573
  };
1510
1574
  protoOf(Field_0).hashCode = function () {
1511
- var result = getStringHashCode(this.g3j_1);
1512
- result = imul(result, 31) + this.h3j_1.hashCode() | 0;
1513
- result = imul(result, 31) + (this.i3j_1 == null ? 0 : getStringHashCode(this.i3j_1)) | 0;
1514
- result = imul(result, 31) + (this.j3j_1 == null ? 0 : getStringHashCode(this.j3j_1)) | 0;
1575
+ var result = getStringHashCode(this.t3h_1);
1576
+ result = imul(result, 31) + this.u3h_1.hashCode() | 0;
1577
+ result = imul(result, 31) + (this.v3h_1 == null ? 0 : getStringHashCode(this.v3h_1)) | 0;
1578
+ result = imul(result, 31) + (this.w3h_1 == null ? 0 : getStringHashCode(this.w3h_1)) | 0;
1515
1579
  return result;
1516
1580
  };
1517
1581
  protoOf(Field_0).equals = function (other) {
@@ -1519,44 +1583,44 @@ protoOf(Field_0).equals = function (other) {
1519
1583
  return true;
1520
1584
  if (!(other instanceof Field_0))
1521
1585
  return false;
1522
- if (!(this.g3j_1 === other.g3j_1))
1586
+ if (!(this.t3h_1 === other.t3h_1))
1523
1587
  return false;
1524
- if (!this.h3j_1.equals(other.h3j_1))
1588
+ if (!this.u3h_1.equals(other.u3h_1))
1525
1589
  return false;
1526
- if (!(this.i3j_1 == other.i3j_1))
1590
+ if (!(this.v3h_1 == other.v3h_1))
1527
1591
  return false;
1528
- if (!(this.j3j_1 == other.j3j_1))
1592
+ if (!(this.w3h_1 == other.w3h_1))
1529
1593
  return false;
1530
1594
  return true;
1531
1595
  };
1532
1596
  function TypeList(type) {
1533
1597
  AbstractList.call(this);
1534
- this.l3k_1 = toList_0(type);
1535
- this.m3k_1 = this.l3k_1.a1();
1598
+ this.y3i_1 = toList_0(type);
1599
+ this.z3i_1 = this.y3i_1.a1();
1536
1600
  }
1537
1601
  protoOf(TypeList).a1 = function () {
1538
- return this.m3k_1;
1602
+ return this.z3i_1;
1539
1603
  };
1540
1604
  protoOf(TypeList).f1 = function (index) {
1541
- return this.l3k_1.f1(index);
1605
+ return this.y3i_1.f1(index);
1542
1606
  };
1543
1607
  function Type_0() {
1544
1608
  }
1545
1609
  function SimpleType(value) {
1546
- this.m3i_1 = value;
1610
+ this.z3g_1 = value;
1547
1611
  }
1548
1612
  protoOf(SimpleType).toString = function () {
1549
- return 'SimpleType(value=' + this.m3i_1 + ')';
1613
+ return 'SimpleType(value=' + this.z3g_1 + ')';
1550
1614
  };
1551
1615
  protoOf(SimpleType).hashCode = function () {
1552
- return getStringHashCode(this.m3i_1);
1616
+ return getStringHashCode(this.z3g_1);
1553
1617
  };
1554
1618
  protoOf(SimpleType).equals = function (other) {
1555
1619
  if (this === other)
1556
1620
  return true;
1557
1621
  if (!(other instanceof SimpleType))
1558
1622
  return false;
1559
- if (!(this.m3i_1 === other.m3i_1))
1623
+ if (!(this.z3g_1 === other.z3g_1))
1560
1624
  return false;
1561
1625
  return true;
1562
1626
  };
@@ -1564,21 +1628,21 @@ function RecordType(type, name, namespace, fields, doc) {
1564
1628
  Companion_getInstance_3();
1565
1629
  namespace = namespace === VOID ? null : namespace;
1566
1630
  doc = doc === VOID ? null : doc;
1567
- this.z3i_1 = type;
1568
- this.a3j_1 = name;
1569
- this.b3j_1 = namespace;
1570
- this.c3j_1 = fields;
1571
- this.d3j_1 = doc;
1631
+ this.m3h_1 = type;
1632
+ this.n3h_1 = name;
1633
+ this.o3h_1 = namespace;
1634
+ this.p3h_1 = fields;
1635
+ this.q3h_1 = doc;
1572
1636
  }
1573
1637
  protoOf(RecordType).toString = function () {
1574
- return 'RecordType(type=' + this.z3i_1 + ', name=' + this.a3j_1 + ', namespace=' + this.b3j_1 + ', fields=' + toString(this.c3j_1) + ', doc=' + this.d3j_1 + ')';
1638
+ return 'RecordType(type=' + this.m3h_1 + ', name=' + this.n3h_1 + ', namespace=' + this.o3h_1 + ', fields=' + toString(this.p3h_1) + ', doc=' + this.q3h_1 + ')';
1575
1639
  };
1576
1640
  protoOf(RecordType).hashCode = function () {
1577
- var result = getStringHashCode(this.z3i_1);
1578
- result = imul(result, 31) + getStringHashCode(this.a3j_1) | 0;
1579
- result = imul(result, 31) + (this.b3j_1 == null ? 0 : getStringHashCode(this.b3j_1)) | 0;
1580
- result = imul(result, 31) + hashCode(this.c3j_1) | 0;
1581
- result = imul(result, 31) + (this.d3j_1 == null ? 0 : getStringHashCode(this.d3j_1)) | 0;
1641
+ var result = getStringHashCode(this.m3h_1);
1642
+ result = imul(result, 31) + getStringHashCode(this.n3h_1) | 0;
1643
+ result = imul(result, 31) + (this.o3h_1 == null ? 0 : getStringHashCode(this.o3h_1)) | 0;
1644
+ result = imul(result, 31) + hashCode(this.p3h_1) | 0;
1645
+ result = imul(result, 31) + (this.q3h_1 == null ? 0 : getStringHashCode(this.q3h_1)) | 0;
1582
1646
  return result;
1583
1647
  };
1584
1648
  protoOf(RecordType).equals = function (other) {
@@ -1586,28 +1650,28 @@ protoOf(RecordType).equals = function (other) {
1586
1650
  return true;
1587
1651
  if (!(other instanceof RecordType))
1588
1652
  return false;
1589
- if (!(this.z3i_1 === other.z3i_1))
1653
+ if (!(this.m3h_1 === other.m3h_1))
1590
1654
  return false;
1591
- if (!(this.a3j_1 === other.a3j_1))
1655
+ if (!(this.n3h_1 === other.n3h_1))
1592
1656
  return false;
1593
- if (!(this.b3j_1 == other.b3j_1))
1657
+ if (!(this.o3h_1 == other.o3h_1))
1594
1658
  return false;
1595
- if (!equals(this.c3j_1, other.c3j_1))
1659
+ if (!equals(this.p3h_1, other.p3h_1))
1596
1660
  return false;
1597
- if (!(this.d3j_1 == other.d3j_1))
1661
+ if (!(this.q3h_1 == other.q3h_1))
1598
1662
  return false;
1599
1663
  return true;
1600
1664
  };
1601
1665
  function ArrayType(type, items) {
1602
- this.e3j_1 = type;
1603
- this.f3j_1 = items;
1666
+ this.r3h_1 = type;
1667
+ this.s3h_1 = items;
1604
1668
  }
1605
1669
  protoOf(ArrayType).toString = function () {
1606
- return 'ArrayType(type=' + this.e3j_1 + ', items=' + toString(this.f3j_1) + ')';
1670
+ return 'ArrayType(type=' + this.r3h_1 + ', items=' + toString(this.s3h_1) + ')';
1607
1671
  };
1608
1672
  protoOf(ArrayType).hashCode = function () {
1609
- var result = getStringHashCode(this.e3j_1);
1610
- result = imul(result, 31) + hashCode(this.f3j_1) | 0;
1673
+ var result = getStringHashCode(this.r3h_1);
1674
+ result = imul(result, 31) + hashCode(this.s3h_1) | 0;
1611
1675
  return result;
1612
1676
  };
1613
1677
  protoOf(ArrayType).equals = function (other) {
@@ -1615,22 +1679,22 @@ protoOf(ArrayType).equals = function (other) {
1615
1679
  return true;
1616
1680
  if (!(other instanceof ArrayType))
1617
1681
  return false;
1618
- if (!(this.e3j_1 === other.e3j_1))
1682
+ if (!(this.r3h_1 === other.r3h_1))
1619
1683
  return false;
1620
- if (!equals(this.f3j_1, other.f3j_1))
1684
+ if (!equals(this.s3h_1, other.s3h_1))
1621
1685
  return false;
1622
1686
  return true;
1623
1687
  };
1624
1688
  function MapType(type, values) {
1625
- this.p3i_1 = type;
1626
- this.q3i_1 = values;
1689
+ this.c3h_1 = type;
1690
+ this.d3h_1 = values;
1627
1691
  }
1628
1692
  protoOf(MapType).toString = function () {
1629
- return 'MapType(type=' + this.p3i_1 + ', values=' + toString(this.q3i_1) + ')';
1693
+ return 'MapType(type=' + this.c3h_1 + ', values=' + toString(this.d3h_1) + ')';
1630
1694
  };
1631
1695
  protoOf(MapType).hashCode = function () {
1632
- var result = getStringHashCode(this.p3i_1);
1633
- result = imul(result, 31) + hashCode(this.q3i_1) | 0;
1696
+ var result = getStringHashCode(this.c3h_1);
1697
+ result = imul(result, 31) + hashCode(this.d3h_1) | 0;
1634
1698
  return result;
1635
1699
  };
1636
1700
  protoOf(MapType).equals = function (other) {
@@ -1638,28 +1702,28 @@ protoOf(MapType).equals = function (other) {
1638
1702
  return true;
1639
1703
  if (!(other instanceof MapType))
1640
1704
  return false;
1641
- if (!(this.p3i_1 === other.p3i_1))
1705
+ if (!(this.c3h_1 === other.c3h_1))
1642
1706
  return false;
1643
- if (!equals(this.q3i_1, other.q3i_1))
1707
+ if (!equals(this.d3h_1, other.d3h_1))
1644
1708
  return false;
1645
1709
  return true;
1646
1710
  };
1647
1711
  function EnumType(type, name, doc, symbols) {
1648
1712
  Companion_getInstance_6();
1649
1713
  doc = doc === VOID ? null : doc;
1650
- this.v3i_1 = type;
1651
- this.w3i_1 = name;
1652
- this.x3i_1 = doc;
1653
- this.y3i_1 = symbols;
1714
+ this.i3h_1 = type;
1715
+ this.j3h_1 = name;
1716
+ this.k3h_1 = doc;
1717
+ this.l3h_1 = symbols;
1654
1718
  }
1655
1719
  protoOf(EnumType).toString = function () {
1656
- return 'EnumType(type=' + this.v3i_1 + ', name=' + this.w3i_1 + ', doc=' + this.x3i_1 + ', symbols=' + toString(this.y3i_1) + ')';
1720
+ return 'EnumType(type=' + this.i3h_1 + ', name=' + this.j3h_1 + ', doc=' + this.k3h_1 + ', symbols=' + toString(this.l3h_1) + ')';
1657
1721
  };
1658
1722
  protoOf(EnumType).hashCode = function () {
1659
- var result = getStringHashCode(this.v3i_1);
1660
- result = imul(result, 31) + getStringHashCode(this.w3i_1) | 0;
1661
- result = imul(result, 31) + (this.x3i_1 == null ? 0 : getStringHashCode(this.x3i_1)) | 0;
1662
- result = imul(result, 31) + hashCode(this.y3i_1) | 0;
1723
+ var result = getStringHashCode(this.i3h_1);
1724
+ result = imul(result, 31) + getStringHashCode(this.j3h_1) | 0;
1725
+ result = imul(result, 31) + (this.k3h_1 == null ? 0 : getStringHashCode(this.k3h_1)) | 0;
1726
+ result = imul(result, 31) + hashCode(this.l3h_1) | 0;
1663
1727
  return result;
1664
1728
  };
1665
1729
  protoOf(EnumType).equals = function (other) {
@@ -1667,26 +1731,26 @@ protoOf(EnumType).equals = function (other) {
1667
1731
  return true;
1668
1732
  if (!(other instanceof EnumType))
1669
1733
  return false;
1670
- if (!(this.v3i_1 === other.v3i_1))
1734
+ if (!(this.i3h_1 === other.i3h_1))
1671
1735
  return false;
1672
- if (!(this.w3i_1 === other.w3i_1))
1736
+ if (!(this.j3h_1 === other.j3h_1))
1673
1737
  return false;
1674
- if (!(this.x3i_1 == other.x3i_1))
1738
+ if (!(this.k3h_1 == other.k3h_1))
1675
1739
  return false;
1676
- if (!equals(this.y3i_1, other.y3i_1))
1740
+ if (!equals(this.l3h_1, other.l3h_1))
1677
1741
  return false;
1678
1742
  return true;
1679
1743
  };
1680
1744
  function UnionType(name, type) {
1681
- this.n3i_1 = name;
1682
- this.o3i_1 = type;
1745
+ this.a3h_1 = name;
1746
+ this.b3h_1 = type;
1683
1747
  }
1684
1748
  protoOf(UnionType).toString = function () {
1685
- return 'UnionType(name=' + this.n3i_1 + ', type=' + this.o3i_1.toString() + ')';
1749
+ return 'UnionType(name=' + this.a3h_1 + ', type=' + this.b3h_1.toString() + ')';
1686
1750
  };
1687
1751
  protoOf(UnionType).hashCode = function () {
1688
- var result = getStringHashCode(this.n3i_1);
1689
- result = imul(result, 31) + this.o3i_1.hashCode() | 0;
1752
+ var result = getStringHashCode(this.a3h_1);
1753
+ result = imul(result, 31) + this.b3h_1.hashCode() | 0;
1690
1754
  return result;
1691
1755
  };
1692
1756
  protoOf(UnionType).equals = function (other) {
@@ -1694,22 +1758,22 @@ protoOf(UnionType).equals = function (other) {
1694
1758
  return true;
1695
1759
  if (!(other instanceof UnionType))
1696
1760
  return false;
1697
- if (!(this.n3i_1 === other.n3i_1))
1761
+ if (!(this.a3h_1 === other.a3h_1))
1698
1762
  return false;
1699
- if (!this.o3i_1.equals(other.o3i_1))
1763
+ if (!this.b3h_1.equals(other.b3h_1))
1700
1764
  return false;
1701
1765
  return true;
1702
1766
  };
1703
1767
  function LogicalType() {
1704
1768
  }
1705
1769
  protoOf(LogicalType).toString = function () {
1706
- return 'LogicalType(type=' + this.r3i_1 + ', logicalType=' + this.s3i_1 + ', precision=' + this.t3i_1 + ', scale=' + this.u3i_1 + ')';
1770
+ return 'LogicalType(type=' + this.e3h_1 + ', logicalType=' + this.f3h_1 + ', precision=' + this.g3h_1 + ', scale=' + this.h3h_1 + ')';
1707
1771
  };
1708
1772
  protoOf(LogicalType).hashCode = function () {
1709
- var result = getStringHashCode(this.r3i_1);
1710
- result = imul(result, 31) + getStringHashCode(this.s3i_1) | 0;
1711
- result = imul(result, 31) + (this.t3i_1 == null ? 0 : this.t3i_1) | 0;
1712
- result = imul(result, 31) + (this.u3i_1 == null ? 0 : this.u3i_1) | 0;
1773
+ var result = getStringHashCode(this.e3h_1);
1774
+ result = imul(result, 31) + getStringHashCode(this.f3h_1) | 0;
1775
+ result = imul(result, 31) + (this.g3h_1 == null ? 0 : this.g3h_1) | 0;
1776
+ result = imul(result, 31) + (this.h3h_1 == null ? 0 : this.h3h_1) | 0;
1713
1777
  return result;
1714
1778
  };
1715
1779
  protoOf(LogicalType).equals = function (other) {
@@ -1717,34 +1781,34 @@ protoOf(LogicalType).equals = function (other) {
1717
1781
  return true;
1718
1782
  if (!(other instanceof LogicalType))
1719
1783
  return false;
1720
- if (!(this.r3i_1 === other.r3i_1))
1784
+ if (!(this.e3h_1 === other.e3h_1))
1721
1785
  return false;
1722
- if (!(this.s3i_1 === other.s3i_1))
1786
+ if (!(this.f3h_1 === other.f3h_1))
1723
1787
  return false;
1724
- if (!(this.t3i_1 == other.t3i_1))
1788
+ if (!(this.g3h_1 == other.g3h_1))
1725
1789
  return false;
1726
- if (!(this.u3i_1 == other.u3i_1))
1790
+ if (!(this.h3h_1 == other.h3h_1))
1727
1791
  return false;
1728
1792
  return true;
1729
1793
  };
1730
1794
  function TypeListSerializer() {
1731
1795
  TypeListSerializer_instance = this;
1732
- this.n3k_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
1796
+ this.a3j_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
1733
1797
  }
1734
- protoOf(TypeListSerializer).j21 = function () {
1735
- return this.n3k_1;
1798
+ protoOf(TypeListSerializer).o1z = function () {
1799
+ return this.a3j_1;
1736
1800
  };
1737
- protoOf(TypeListSerializer).o3k = function (encoder, value) {
1738
- if (value.m3k_1 > 1) {
1739
- encoder.b26(ListSerializer(Companion_instance_1.v2n()), value);
1801
+ protoOf(TypeListSerializer).b3j = function (encoder, value) {
1802
+ if (value.z3i_1 > 1) {
1803
+ encoder.g24(ListSerializer(Companion_instance_1.a2m()), value);
1740
1804
  } else {
1741
- encoder.b26(Companion_instance_1.v2n(), first(value));
1805
+ encoder.g24(Companion_instance_1.a2m(), first(value));
1742
1806
  }
1743
1807
  };
1744
- protoOf(TypeListSerializer).k21 = function (encoder, value) {
1745
- return this.o3k(encoder, value instanceof TypeList ? value : THROW_CCE());
1808
+ protoOf(TypeListSerializer).p1z = function (encoder, value) {
1809
+ return this.b3j(encoder, value instanceof TypeList ? value : THROW_CCE());
1746
1810
  };
1747
- protoOf(TypeListSerializer).l21 = function (decoder) {
1811
+ protoOf(TypeListSerializer).q1z = function (decoder) {
1748
1812
  var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
1749
1813
  var tmp;
1750
1814
  if (tmp0_elvis_lhs == null) {
@@ -1753,10 +1817,10 @@ protoOf(TypeListSerializer).l21 = function (decoder) {
1753
1817
  tmp = tmp0_elvis_lhs;
1754
1818
  }
1755
1819
  var input = tmp;
1756
- var element = input.o2n();
1820
+ var element = input.t2l();
1757
1821
  var tmp_0;
1758
1822
  if (element instanceof JsonPrimitive) {
1759
- tmp_0 = new TypeList([input.n2n().n2l(Companion_instance_1.v2n(), element)]);
1823
+ tmp_0 = new TypeList([input.s2l().s2j(Companion_instance_1.a2m(), element)]);
1760
1824
  } else {
1761
1825
  if (element instanceof JsonArray) {
1762
1826
  // Inline function 'kotlin.collections.map' call
@@ -1765,7 +1829,7 @@ protoOf(TypeListSerializer).l21 = function (decoder) {
1765
1829
  var _iterator__ex2g4s = element.t();
1766
1830
  while (_iterator__ex2g4s.u()) {
1767
1831
  var item = _iterator__ex2g4s.v();
1768
- var tmp$ret$0 = input.n2n().n2l(Companion_instance_1.v2n(), item);
1832
+ var tmp$ret$0 = input.s2l().s2j(Companion_instance_1.a2m(), item);
1769
1833
  destination.x(tmp$ret$0);
1770
1834
  }
1771
1835
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -1773,7 +1837,7 @@ protoOf(TypeListSerializer).l21 = function (decoder) {
1773
1837
  tmp_0 = new TypeList(tmp$ret$3.slice());
1774
1838
  } else {
1775
1839
  if (element instanceof JsonObject) {
1776
- tmp_0 = new TypeList([input.n2n().n2l(Companion_instance_1.v2n(), element)]);
1840
+ tmp_0 = new TypeList([input.s2l().s2j(Companion_instance_1.a2m(), element)]);
1777
1841
  } else {
1778
1842
  noWhenBranchMatchedException();
1779
1843
  }
@@ -1789,29 +1853,29 @@ function TypeListSerializer_getInstance() {
1789
1853
  }
1790
1854
  function TypeSerializer() {
1791
1855
  TypeSerializer_instance = this;
1792
- this.p3k_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
1856
+ this.c3j_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
1793
1857
  }
1794
- protoOf(TypeSerializer).j21 = function () {
1795
- return this.p3k_1;
1858
+ protoOf(TypeSerializer).o1z = function () {
1859
+ return this.c3j_1;
1796
1860
  };
1797
- protoOf(TypeSerializer).q3k = function (encoder, value) {
1861
+ protoOf(TypeSerializer).d3j = function (encoder, value) {
1798
1862
  if (value instanceof SimpleType) {
1799
- encoder.b26(serializer_0(StringCompanionObject_instance), value.m3i_1);
1863
+ encoder.g24(serializer_0(StringCompanionObject_instance), value.z3g_1);
1800
1864
  } else {
1801
1865
  if (value instanceof RecordType) {
1802
- encoder.b26(Companion_getInstance_3().v2n(), value);
1866
+ encoder.g24(Companion_getInstance_3().a2m(), value);
1803
1867
  } else {
1804
1868
  if (value instanceof ArrayType) {
1805
- encoder.b26(Companion_instance_4.v2n(), value);
1869
+ encoder.g24(Companion_instance_4.a2m(), value);
1806
1870
  } else {
1807
1871
  if (value instanceof MapType) {
1808
- encoder.b26(Companion_instance_5.v2n(), value);
1872
+ encoder.g24(Companion_instance_5.a2m(), value);
1809
1873
  } else {
1810
1874
  if (value instanceof EnumType) {
1811
- encoder.b26(Companion_getInstance_6().v2n(), value);
1875
+ encoder.g24(Companion_getInstance_6().a2m(), value);
1812
1876
  } else {
1813
1877
  if (value instanceof UnionType) {
1814
- encoder.b26(Companion_instance_7.v2n(), value);
1878
+ encoder.g24(Companion_instance_7.a2m(), value);
1815
1879
  } else {
1816
1880
  if (value instanceof LogicalType) {
1817
1881
  // Inline function 'kotlin.TODO' call
@@ -1826,10 +1890,10 @@ protoOf(TypeSerializer).q3k = function (encoder, value) {
1826
1890
  }
1827
1891
  }
1828
1892
  };
1829
- protoOf(TypeSerializer).k21 = function (encoder, value) {
1830
- return this.q3k(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
1893
+ protoOf(TypeSerializer).p1z = function (encoder, value) {
1894
+ return this.d3j(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
1831
1895
  };
1832
- protoOf(TypeSerializer).l21 = function (decoder) {
1896
+ protoOf(TypeSerializer).q1z = function (decoder) {
1833
1897
  var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
1834
1898
  var tmp;
1835
1899
  if (tmp0_elvis_lhs == null) {
@@ -1838,18 +1902,18 @@ protoOf(TypeSerializer).l21 = function (decoder) {
1838
1902
  tmp = tmp0_elvis_lhs;
1839
1903
  }
1840
1904
  var input = tmp;
1841
- var element = input.o2n();
1905
+ var element = input.t2l();
1842
1906
  var tmp_0;
1843
1907
  if (element instanceof JsonObject) {
1844
1908
  var tmp_1;
1845
- if (element.s2n('items')) {
1846
- tmp_1 = input.n2n().n2l(Companion_instance_4.v2n(), element);
1847
- } else if (element.s2n('fields')) {
1848
- tmp_1 = input.n2n().n2l(Companion_getInstance_3().v2n(), element);
1849
- } else if (element.s2n('symbols')) {
1850
- tmp_1 = input.n2n().n2l(Companion_getInstance_6().v2n(), element);
1851
- } else if (element.s2n('logicalType')) {
1852
- tmp_1 = input.n2n().n2l(Companion_instance_8.v2n(), element);
1909
+ if (element.x2l('items')) {
1910
+ tmp_1 = input.s2l().s2j(Companion_instance_4.a2m(), element);
1911
+ } else if (element.x2l('fields')) {
1912
+ tmp_1 = input.s2l().s2j(Companion_getInstance_3().a2m(), element);
1913
+ } else if (element.x2l('symbols')) {
1914
+ tmp_1 = input.s2l().s2j(Companion_getInstance_6().a2m(), element);
1915
+ } else if (element.x2l('logicalType')) {
1916
+ tmp_1 = input.s2l().s2j(Companion_instance_8.a2m(), element);
1853
1917
  } else {
1854
1918
  var reason = 'Unknown object type: ' + element.toString();
1855
1919
  throw new NotImplementedError('An operation is not implemented: ' + reason);
@@ -1857,7 +1921,7 @@ protoOf(TypeSerializer).l21 = function (decoder) {
1857
1921
  tmp_0 = tmp_1;
1858
1922
  } else {
1859
1923
  if (element instanceof JsonPrimitive) {
1860
- tmp_0 = new SimpleType(element.ix());
1924
+ tmp_0 = new SimpleType(element.hx());
1861
1925
  } else {
1862
1926
  if (element instanceof JsonArray) {
1863
1927
  var reason_0 = 'Type can never be an array';
@@ -1875,81 +1939,18 @@ function TypeSerializer_getInstance() {
1875
1939
  new TypeSerializer();
1876
1940
  return TypeSerializer_instance;
1877
1941
  }
1878
- function AvroParser$parse$lambda($this$Json) {
1879
- $this$Json.f2m_1 = true;
1880
- $this$Json.g2m_1 = true;
1881
- return Unit_instance;
1882
- }
1883
- function AvroParser() {
1884
- }
1885
- protoOf(AvroParser).f3i = function (moduleContent, strict) {
1886
- var json = Json(VOID, AvroParser$parse$lambda);
1887
- // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
1888
- var string = moduleContent.ym_1;
1889
- // Inline function 'kotlinx.serialization.serializer' call
1890
- var this_0 = json.y24();
1891
- // Inline function 'kotlinx.serialization.internal.cast' call
1892
- var this_1 = serializer(this_0, createKType(getKClass(Type_0), arrayOf([]), false));
1893
- var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
1894
- var avro = json.m2l(tmp$ret$1, string);
1895
- var tmp = AvroConverter_getInstance().l3j(avro);
1896
- var tmp_0;
1897
- if (avro instanceof RecordType) {
1898
- tmp_0 = new Channel(null, emptyList(), new DefinitionIdentifier(avro.a3j_1), new Custom(avro.a3j_1, false));
1899
- } else {
1900
- if (avro instanceof ArrayType) {
1901
- throw new NotImplementedError();
1902
- } else {
1903
- if (avro instanceof EnumType) {
1904
- throw new NotImplementedError();
1905
- } else {
1906
- if (avro instanceof SimpleType) {
1907
- throw new NotImplementedError();
1908
- } else {
1909
- if (avro instanceof LogicalType) {
1910
- throw new NotImplementedError();
1911
- } else {
1912
- if (avro instanceof MapType) {
1913
- throw new NotImplementedError();
1914
- } else {
1915
- if (avro instanceof UnionType) {
1916
- throw new NotImplementedError();
1917
- } else {
1918
- noWhenBranchMatchedException();
1919
- }
1920
- }
1921
- }
1922
- }
1923
- }
1924
- }
1925
- }
1926
- var result = plus_0(tmp, tmp_0);
1927
- var tmp1_elvis_lhs = toNonEmptyListOrNull(result);
1928
- var tmp_1;
1929
- var tmp_2 = tmp1_elvis_lhs;
1930
- if ((tmp_2 == null ? null : new NonEmptyList(tmp_2)) == null) {
1931
- var message = 'Cannot yield non empty AST';
1932
- throw IllegalStateException_init_$Create$(toString(message));
1933
- } else {
1934
- tmp_1 = tmp1_elvis_lhs;
1935
- }
1936
- return new Root(nonEmptyListOf(new Module(moduleContent.xm_1, tmp_1), []));
1937
- };
1938
- var AvroParser_instance;
1939
- function AvroParser_getInstance() {
1940
- return AvroParser_instance;
1941
- }
1942
1942
  //region block: post-declaration
1943
- protoOf($serializer).n2c = typeParametersSerializers;
1944
- protoOf($serializer_0).n2c = typeParametersSerializers;
1945
- protoOf($serializer_1).n2c = typeParametersSerializers;
1946
- protoOf($serializer_2).n2c = typeParametersSerializers;
1947
- protoOf($serializer_3).n2c = typeParametersSerializers;
1948
- protoOf($serializer_4).n2c = typeParametersSerializers;
1949
- protoOf($serializer_5).n2c = typeParametersSerializers;
1950
- protoOf($serializer_6).n2c = typeParametersSerializers;
1943
+ protoOf($serializer).s2a = typeParametersSerializers;
1944
+ protoOf($serializer_0).s2a = typeParametersSerializers;
1945
+ protoOf($serializer_1).s2a = typeParametersSerializers;
1946
+ protoOf($serializer_2).s2a = typeParametersSerializers;
1947
+ protoOf($serializer_3).s2a = typeParametersSerializers;
1948
+ protoOf($serializer_4).s2a = typeParametersSerializers;
1949
+ protoOf($serializer_5).s2a = typeParametersSerializers;
1950
+ protoOf($serializer_6).s2a = typeParametersSerializers;
1951
1951
  //endregion
1952
1952
  //region block: init
1953
+ AvroJsonParser_instance = new AvroJsonParser();
1953
1954
  Companion_instance = new Companion();
1954
1955
  Companion_instance_0 = new Companion_0();
1955
1956
  Companion_instance_1 = new Companion_1();
@@ -1958,13 +1959,12 @@ Companion_instance_4 = new Companion_4();
1958
1959
  Companion_instance_5 = new Companion_5();
1959
1960
  Companion_instance_7 = new Companion_7();
1960
1961
  Companion_instance_8 = new Companion_8();
1961
- AvroParser_instance = new AvroParser();
1962
1962
  //endregion
1963
1963
  //region block: exports
1964
1964
  export {
1965
1965
  Type_0 as Typel89stdvlxo83,
1966
- AvroEmitter_getInstance as AvroEmitter_getInstancesm3gayvnct4k,
1967
- AvroParser_instance as AvroParser_instanceyxg9ykrsu04j,
1966
+ AvroJsonEmitter_getInstance as AvroJsonEmitter_getInstancef4slytin56up,
1967
+ AvroJsonParser_instance as AvroJsonParser_instance1463wx3c6teur,
1968
1968
  };
1969
1969
  //endregion
1970
1970