@flock/wirespec 0.20.2 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/clikt-clikt-mordant.mjs +79 -79
  2. package/clikt-clikt.mjs +1329 -1329
  3. package/clikt-clikt.mjs.map +1 -1
  4. package/colormath-root-colormath.mjs +433 -433
  5. package/kotlin-kotlin-stdlib.mjs +6 -6
  6. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  7. package/kotlin-openapi-bindings.mjs +10144 -10144
  8. package/kotlin-rgxgen.mjs +1760 -1760
  9. package/kotlinx-io-kotlinx-io-core.mjs +404 -404
  10. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1810 -1810
  11. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1488 -1488
  12. package/mordant-mordant.mjs +1198 -1198
  13. package/package.json +1 -1
  14. package/wirespec-src-compiler-core.mjs +1652 -1139
  15. package/wirespec-src-compiler-core.mjs.map +1 -1
  16. package/wirespec-src-compiler-emitters-java.mjs +206 -191
  17. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-kotlin.mjs +153 -138
  19. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-python.mjs +182 -153
  21. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-rust.mjs +439 -379
  23. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-scala.mjs +175 -160
  25. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-typescript.mjs +268 -224
  27. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-wirespec.mjs +98 -77
  29. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  30. package/wirespec-src-compiler-ir.mjs +3704 -3619
  31. package/wirespec-src-compiler-ir.mjs.map +1 -1
  32. package/wirespec-src-compiler-lib.mjs +308 -227
  33. package/wirespec-src-compiler-lib.mjs.map +1 -1
  34. package/wirespec-src-converter-avro.mjs +503 -503
  35. package/wirespec-src-converter-openapi.mjs +581 -569
  36. package/wirespec-src-converter-openapi.mjs.map +1 -1
  37. package/wirespec-src-ide-lsp.mjs +1352 -1352
  38. package/wirespec-src-plugin-arguments.mjs +136 -136
  39. package/wirespec-src-plugin-cli.mjs +85 -85
  40. package/wirespec-src-plugin-npm.d.mts +15 -0
  41. package/wirespec-src-plugin-npm.mjs +26 -26
  42. package/wirespec-src-tools-generator.mjs +29 -24
  43. package/wirespec-src-tools-generator.mjs.map +1 -1
@@ -127,6 +127,7 @@ import {
127
127
  markMembersAsOverride3r1zpft8nbmxg as markMembersAsOverride,
128
128
  convert32tuiui3czihh as convert_3,
129
129
  convert1cn4bolzoed8c as convert_4,
130
+ convert3ewo9inue7gua as convert_5,
130
131
  emitEndpointClient1meajc90wf3el as emitEndpointClient,
131
132
  emitClient32kfwzg2hm5vj as emitClient,
132
133
  get_extensions31c4or738wbxz as get_extensions,
@@ -146,7 +147,7 @@ initMetadataForCompanion(Companion);
146
147
  initMetadataForClass(ScalaIrEmitter, 'ScalaIrEmitter', ScalaIrEmitter, VOID, [IrEmitter]);
147
148
  //endregion
148
149
  function _get_sanitizationConfig__sns434($this) {
149
- var tmp0 = $this.i1z_1;
150
+ var tmp0 = $this.s1z_1;
150
151
  var tmp = KProperty1;
151
152
  // Inline function 'kotlin.getValue' call
152
153
  getPropertyCallableRef('sanitizationConfig', 1, tmp, ScalaIrEmitter$_get_sanitizationConfig_$ref_ydarb0(), null);
@@ -163,7 +164,7 @@ function sanitize($this, _this__u8e3s4) {
163
164
  var item = _iterator__ex2g4s.v();
164
165
  var _unary__edvuaz = index;
165
166
  index = _unary__edvuaz + 1 | 0;
166
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.xq(item) : item;
167
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.dr(item) : item;
167
168
  destination.x(tmp$ret$0);
168
169
  }
169
170
  // Inline function 'kotlin.text.filter' call
@@ -211,7 +212,7 @@ function sanitizeFirstIsDigit($this, _this__u8e3s4) {
211
212
  return tmp;
212
213
  }
213
214
  function sanitizeKeywords($this, _this__u8e3s4) {
214
- return Companion_getInstance_0().l1x().v1(_this__u8e3s4) ? addBackticks(_this__u8e3s4) : _this__u8e3s4;
215
+ return Companion_getInstance_0().v1x().v1(_this__u8e3s4) ? addBackticks(_this__u8e3s4) : _this__u8e3s4;
215
216
  }
216
217
  function sanitizeSymbol($this, _this__u8e3s4) {
217
218
  // Inline function 'kotlin.collections.mapIndexed' call
@@ -224,7 +225,7 @@ function sanitizeSymbol($this, _this__u8e3s4) {
224
225
  var item = _iterator__ex2g4s.v();
225
226
  var _unary__edvuaz = index;
226
227
  index = _unary__edvuaz + 1 | 0;
227
- var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.xq(item) : item;
228
+ var tmp$ret$0 = checkIndexOverflow(_unary__edvuaz) > 0 ? Companion_instance.dr(item) : item;
228
229
  destination.x(tmp$ret$0);
229
230
  }
230
231
  // Inline function 'kotlin.text.filter' call
@@ -251,10 +252,10 @@ function sanitizeEnum($this, _this__u8e3s4) {
251
252
  }
252
253
  function Companion() {
253
254
  Companion_instance_2 = this;
254
- this.j1z_1 = ScalaGenerator_getInstance();
255
+ this.t1z_1 = ScalaGenerator_getInstance();
255
256
  }
256
- protoOf(Companion).l1x = function () {
257
- return this.j1z_1.s1w_1;
257
+ protoOf(Companion).v1x = function () {
258
+ return this.t1z_1.c1x_1;
258
259
  };
259
260
  var Companion_instance_2;
260
261
  function Companion_getInstance_0() {
@@ -267,13 +268,13 @@ function ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda(it) {
267
268
  }
268
269
  function ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0) {
269
270
  return function (name) {
270
- var sanitized = name.v1g_1.b1() > 1 ? name.j1m() : sanitizeSymbol(this$0, name.w1i());
271
+ var sanitized = name.f1h_1.b1() > 1 ? name.t1m() : sanitizeSymbol(this$0, name.g1j());
271
272
  return new Name(listOf(sanitized));
272
273
  };
273
274
  }
274
275
  function ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0) {
275
276
  return function (name) {
276
- return new Name(listOf(sanitizeSymbol(this$0, name.j1m())));
277
+ return new Name(listOf(sanitizeSymbol(this$0, name.t1m())));
277
278
  };
278
279
  }
279
280
  function ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_2(this$0) {
@@ -286,17 +287,17 @@ function ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
286
287
  var tmp;
287
288
  var tmp_0;
288
289
  if (stmt instanceof FunctionCall) {
289
- tmp_0 = stmt.t1m_1.w1i() === 'validate';
290
+ tmp_0 = stmt.d1n_1.g1j() === 'validate';
290
291
  } else {
291
292
  tmp_0 = false;
292
293
  }
293
294
  if (tmp_0) {
294
- tmp = transformChildren(stmt.x1m(VOID, emptyList()), tr);
295
+ tmp = transformChildren(stmt.h1n(VOID, emptyList()), tr);
295
296
  } else {
296
297
  if (stmt instanceof ConstructorStatement) {
297
- var tmp_1 = tr.i1v(stmt.o1n_1);
298
+ var tmp_1 = tr.s1v(stmt.y1n_1);
298
299
  // Inline function 'kotlin.collections.map' call
299
- var this_0 = stmt.p1n_1;
300
+ var this_0 = stmt.z1n_1;
300
301
  // Inline function 'kotlin.collections.mapTo' call
301
302
  var destination = ArrayList_init_$Create$(this_0.b1());
302
303
  // Inline function 'kotlin.collections.iterator' call
@@ -307,7 +308,7 @@ function ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
307
308
  var name = item.l1();
308
309
  // Inline function 'kotlin.collections.component2' call
309
310
  var expr = item.m1();
310
- var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), name), tr.l1v(expr));
311
+ var tmp$ret$3 = to(sanitizeFieldName(_get_sanitizationConfig__sns434(this$0), name), tr.v1v(expr));
311
312
  destination.x(tmp$ret$3);
312
313
  }
313
314
  tmp = new ConstructorStatement(tmp_1, toMap(destination));
@@ -320,7 +321,7 @@ function ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_3(this$0) {
320
321
  }
321
322
  function ScalaIrEmitter$sanitizationConfig$delegate$lambda(this$0) {
322
323
  return function () {
323
- var tmp = Companion_getInstance_0().l1x();
324
+ var tmp = Companion_getInstance_0().v1x();
324
325
  var tmp_0 = ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda;
325
326
  var tmp_1 = ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_0(this$0);
326
327
  var tmp_2 = ScalaIrEmitter$sanitizationConfig$delegate$lambda$lambda_1(this$0);
@@ -334,21 +335,21 @@ function ScalaIrEmitter$_get_sanitizationConfig_$ref_ydarb0() {
334
335
  };
335
336
  }
336
337
  function ScalaIrEmitter$emitShared$lambda($this$struct) {
337
- $this$struct.l1k(Custom_init_$Create$('PathSegment'));
338
- $this$struct.g1k('value', String_instance);
338
+ $this$struct.v1k(Custom_init_$Create$('PathSegment'));
339
+ $this$struct.q1k('value', String_instance);
339
340
  return Unit_instance;
340
341
  }
341
342
  function ScalaIrEmitter$emitShared$lambda_0($this$struct) {
342
- $this$struct.l1k(Custom_init_$Create$('PathSegment'));
343
- $this$struct.g1k('name', String_instance);
344
- $this$struct.g1k('type', Reflect_instance);
343
+ $this$struct.v1k(Custom_init_$Create$('PathSegment'));
344
+ $this$struct.q1k('name', String_instance);
345
+ $this$struct.q1k('type', Reflect_instance);
345
346
  return Unit_instance;
346
347
  }
347
348
  function ScalaIrEmitter$emitShared$lambda_1(element, transformer) {
348
349
  var tmp;
349
350
  if (element instanceof File) {
350
351
  // Inline function 'kotlin.collections.partition' call
351
- var this_0 = element.t1n_1;
352
+ var this_0 = element.d1o_1;
352
353
  var first = ArrayList_init_$Create$_0();
353
354
  var second = ArrayList_init_$Create$_0();
354
355
  var _iterator__ex2g4s = this_0.t();
@@ -363,7 +364,7 @@ function ScalaIrEmitter$emitShared$lambda_1(element, transformer) {
363
364
  var _destruct__k2r9zo = new Pair(first, second);
364
365
  var packageElements = _destruct__k2r9zo.we();
365
366
  var rest = _destruct__k2r9zo.xe();
366
- tmp = element.w1n(VOID, plus(packageElements, rest));
367
+ tmp = element.g1o(VOID, plus(packageElements, rest));
367
368
  } else {
368
369
  tmp = element;
369
370
  }
@@ -375,12 +376,12 @@ function ScalaIrEmitter$emitShared$lambda_2(element, transformer) {
375
376
  if (element instanceof Namespace) {
376
377
  var tmp$ret$0;
377
378
  $l$block: {
378
- if (!element.y1n_1.equals(Companion_getInstance().x1g('Wirespec'))) {
379
+ if (!element.i1o_1.equals(Companion_getInstance().h1h('Wirespec'))) {
379
380
  tmp$ret$0 = element;
380
381
  break $l$block;
381
382
  }
382
383
  // Inline function 'kotlin.collections.flatMap' call
383
- var tmp0 = element.z1n_1;
384
+ var tmp0 = element.j1o_1;
384
385
  // Inline function 'kotlin.collections.flatMapTo' call
385
386
  var destination = ArrayList_init_$Create$_0();
386
387
  var _iterator__ex2g4s = tmp0.t();
@@ -392,14 +393,14 @@ function ScalaIrEmitter$emitShared$lambda_2(element, transformer) {
392
393
  if (!(element_0 instanceof Interface)) {
393
394
  tmp_0 = true;
394
395
  } else {
395
- tmp_0 = !setOf(['Request', 'Response']).v1(element_0.e1o_1.y1g());
396
+ tmp_0 = !setOf(['Request', 'Response']).v1(element_0.o1o_1.i1h());
396
397
  }
397
398
  if (tmp_0) {
398
399
  tmp$ret$1 = listOf(element_0);
399
400
  break $l$block_2;
400
401
  }
401
402
  // Inline function 'kotlin.collections.filterIsInstance' call
402
- var tmp0_0 = element_0.f1o_1;
403
+ var tmp0_0 = element_0.p1o_1;
403
404
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
404
405
  var destination_0 = ArrayList_init_$Create$_0();
405
406
  var _iterator__ex2g4s_0 = tmp0_0.t();
@@ -415,7 +416,7 @@ function ScalaIrEmitter$emitShared$lambda_2(element, transformer) {
415
416
  var _iterator__ex2g4s_1 = destination_0.t();
416
417
  while (_iterator__ex2g4s_1.u()) {
417
418
  var element_2 = _iterator__ex2g4s_1.v();
418
- if (element_2.e1o_1.y1g() === 'Headers') {
419
+ if (element_2.o1o_1.i1h() === 'Headers') {
419
420
  tmp$ret$5 = element_2;
420
421
  break $l$block_1;
421
422
  }
@@ -431,9 +432,9 @@ function ScalaIrEmitter$emitShared$lambda_2(element, transformer) {
431
432
  tmp_1 = tmp0_elvis_lhs;
432
433
  }
433
434
  var nestedHeaders = tmp_1;
434
- var tmp_2 = new Namespace(element_0.e1o_1, listOf(nestedHeaders));
435
+ var tmp_2 = new Namespace(element_0.o1o_1, listOf(nestedHeaders));
435
436
  // Inline function 'kotlin.collections.filter' call
436
- var tmp0_1 = element_0.f1o_1;
437
+ var tmp0_1 = element_0.p1o_1;
437
438
  // Inline function 'kotlin.collections.filterTo' call
438
439
  var destination_1 = ArrayList_init_$Create$_0();
439
440
  var _iterator__ex2g4s_2 = tmp0_1.t();
@@ -441,7 +442,7 @@ function ScalaIrEmitter$emitShared$lambda_2(element, transformer) {
441
442
  var element_3 = _iterator__ex2g4s_2.v();
442
443
  var tmp_3;
443
444
  if (element_3 instanceof Interface) {
444
- tmp_3 = element_3.e1o_1.y1g() === 'Headers';
445
+ tmp_3 = element_3.o1o_1.i1h() === 'Headers';
445
446
  } else {
446
447
  tmp_3 = false;
447
448
  }
@@ -451,28 +452,28 @@ function ScalaIrEmitter$emitShared$lambda_2(element, transformer) {
451
452
  }
452
453
  var tmp_4 = destination_1;
453
454
  // Inline function 'kotlin.collections.map' call
454
- var this_0 = element_0.j1o_1;
455
+ var this_0 = element_0.t1o_1;
455
456
  // Inline function 'kotlin.collections.mapTo' call
456
457
  var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
457
458
  var _iterator__ex2g4s_3 = this_0.t();
458
459
  while (_iterator__ex2g4s_3.u()) {
459
460
  var item = _iterator__ex2g4s_3.v();
460
461
  var tmp_5;
461
- if (item.n1o_1.w1i() === 'headers') {
462
- tmp_5 = item.x1o(VOID, Custom_init_$Create$(element_0.e1o_1.y1g() + '.Headers'));
462
+ if (item.x1o_1.g1j() === 'headers') {
463
+ tmp_5 = item.h1p(VOID, Custom_init_$Create$(element_0.o1o_1.i1h() + '.Headers'));
463
464
  } else {
464
465
  tmp_5 = item;
465
466
  }
466
467
  var tmp$ret$9 = tmp_5;
467
468
  destination_2.x(tmp$ret$9);
468
469
  }
469
- tmp$ret$1 = listOf_0([tmp_2, element_0.m1o(VOID, tmp_4, VOID, VOID, VOID, destination_2)]);
470
+ tmp$ret$1 = listOf_0([tmp_2, element_0.w1o(VOID, tmp_4, VOID, VOID, VOID, destination_2)]);
470
471
  }
471
472
  var list = tmp$ret$1;
472
473
  addAll(destination, list);
473
474
  }
474
475
  var newElements = destination;
475
- tmp$ret$0 = element.d1o(VOID, newElements);
476
+ tmp$ret$0 = element.n1o(VOID, newElements);
476
477
  }
477
478
  tmp = tmp$ret$0;
478
479
  } else {
@@ -485,27 +486,27 @@ function ScalaIrEmitter$emitShared$lambda_3($clientServer) {
485
486
  return function (element, transformer) {
486
487
  var tmp;
487
488
  if (element instanceof Namespace) {
488
- var injected = element.y1n_1.equals(Companion_getInstance().x1g('Wirespec')) ? $clientServer : emptyList();
489
+ var injected = element.i1o_1.equals(Companion_getInstance().h1h('Wirespec')) ? $clientServer : emptyList();
489
490
  var tmp_0;
490
491
  // Inline function 'kotlin.collections.isNotEmpty' call
491
492
  if (!injected.r()) {
492
493
  // Inline function 'community.flock.wirespec.ir.core.withElements' call
493
- var elements = plus(element.u1n(), injected);
494
+ var elements = plus(element.e1o(), injected);
494
495
  var tmp_1;
495
496
  if (element instanceof File) {
496
- tmp_1 = element.w1n(VOID, elements);
497
+ tmp_1 = element.g1o(VOID, elements);
497
498
  } else {
498
499
  if (element instanceof Struct) {
499
- tmp_1 = element.d1q(VOID, VOID, VOID, VOID, elements);
500
+ tmp_1 = element.n1q(VOID, VOID, VOID, VOID, elements);
500
501
  } else {
501
502
  if (element instanceof Namespace) {
502
- tmp_1 = element.d1o(VOID, elements);
503
+ tmp_1 = element.n1o(VOID, elements);
503
504
  } else {
504
505
  if (element instanceof Interface) {
505
- tmp_1 = element.m1o(VOID, elements);
506
+ tmp_1 = element.w1o(VOID, elements);
506
507
  } else {
507
508
  if (element instanceof Enum_0) {
508
- tmp_1 = element.r1p(VOID, VOID, VOID, VOID, VOID, elements);
509
+ tmp_1 = element.b1q(VOID, VOID, VOID, VOID, VOID, elements);
509
510
  } else {
510
511
  if (element instanceof Main) {
511
512
  tmp_1 = element;
@@ -548,30 +549,30 @@ function ScalaIrEmitter$emit$lambda(this$0) {
548
549
  }
549
550
  function ScalaIrEmitter(packageName, emitShared) {
550
551
  Companion_getInstance_0();
551
- packageName = packageName === VOID ? Companion_instance_0.bs('community.flock.wirespec.generated') : packageName;
552
+ packageName = packageName === VOID ? Companion_instance_0.is('community.flock.wirespec.generated') : packageName;
552
553
  emitShared = emitShared === VOID ? Companion_instance_1.fp() : emitShared;
553
- this.d1z_1 = packageName;
554
- this.e1z_1 = emitShared;
555
- this.f1z_1 = ScalaGenerator_getInstance();
556
- this.g1z_1 = FileExtension_Scala_getInstance();
557
- this.h1z_1 = listOf_0([import_0('community.flock.wirespec.scala', 'Wirespec'), import_0('scala.reflect', 'ClassTag')]);
554
+ this.n1z_1 = packageName;
555
+ this.o1z_1 = emitShared;
556
+ this.p1z_1 = ScalaGenerator_getInstance();
557
+ this.q1z_1 = FileExtension_Scala_getInstance();
558
+ this.r1z_1 = listOf_0([import_0('community.flock.wirespec.scala', 'Wirespec'), import_0('scala.reflect', 'ClassTag')]);
558
559
  var tmp = this;
559
- tmp.i1z_1 = lazy(ScalaIrEmitter$sanitizationConfig$delegate$lambda(this));
560
+ tmp.s1z_1 = lazy(ScalaIrEmitter$sanitizationConfig$delegate$lambda(this));
560
561
  }
561
- protoOf(ScalaIrEmitter).s1x = function () {
562
- return this.d1z_1;
562
+ protoOf(ScalaIrEmitter).c1y = function () {
563
+ return this.n1z_1;
563
564
  };
564
- protoOf(ScalaIrEmitter).d1w = function () {
565
- return this.f1z_1;
565
+ protoOf(ScalaIrEmitter).n1w = function () {
566
+ return this.p1z_1;
566
567
  };
567
- protoOf(ScalaIrEmitter).er = function () {
568
- return this.g1z_1;
568
+ protoOf(ScalaIrEmitter).kr = function () {
569
+ return this.q1z_1;
569
570
  };
570
- protoOf(ScalaIrEmitter).k1w = function (allFiles) {
571
- ScalaGenerator_getInstance().w1w(allFiles);
571
+ protoOf(ScalaIrEmitter).u1w = function (allFiles) {
572
+ ScalaGenerator_getInstance().g1x(allFiles);
572
573
  };
573
- protoOf(ScalaIrEmitter).h1w = function () {
574
- var packageName = Companion_instance_0.bs('community.flock.wirespec.scala');
574
+ protoOf(ScalaIrEmitter).r1w = function () {
575
+ var packageName = Companion_instance_0.is('community.flock.wirespec.scala');
575
576
  var tmp = interface_0('PathSegment', true);
576
577
  var tmp_0 = struct('Literal', ScalaIrEmitter$emitShared$lambda);
577
578
  var pathSegmentTypes = listOf_0([tmp, tmp_0, struct('Param', ScalaIrEmitter$emitShared$lambda_0)]);
@@ -585,12 +586,12 @@ protoOf(ScalaIrEmitter).h1w = function () {
585
586
  var tmp_1;
586
587
  var tmp_2;
587
588
  if (item instanceof Interface) {
588
- tmp_2 = setOf(['Client', 'Server']).v1(item.e1o_1.y1g());
589
+ tmp_2 = setOf(['Client', 'Server']).v1(item.o1o_1.i1h());
589
590
  } else {
590
591
  tmp_2 = false;
591
592
  }
592
593
  if (tmp_2) {
593
- tmp_1 = item.m1o(VOID, VOID, VOID, VOID, VOID, plus_0(item.j1o_1, new Field(Companion_getInstance().x1g('pathSegments'), new Array_0(Custom_init_$Create$('PathSegment')))));
594
+ tmp_1 = item.w1o(VOID, VOID, VOID, VOID, VOID, plus_0(item.t1o_1, new Field(Companion_getInstance().h1h('pathSegments'), new Array_0(Custom_init_$Create$('PathSegment')))));
594
595
  } else {
595
596
  tmp_1 = item;
596
597
  }
@@ -604,58 +605,58 @@ protoOf(ScalaIrEmitter).h1w = function () {
604
605
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
605
606
  var tmp_3 = scope;
606
607
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
607
- var this_2 = scope.q1v_1;
608
+ var this_2 = scope.a1w_1;
608
609
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
609
610
  // Inline function 'kotlin.apply' call
610
611
  var this_3 = new TransformerBuilder();
611
- this_3.k1i(ScalaIrEmitter$emitShared$lambda_1);
612
- var tmp$ret$5 = this_3.l1i();
613
- tmp_3.q1v_1 = transform(this_2, tmp$ret$5);
612
+ this_3.u1i(ScalaIrEmitter$emitShared$lambda_1);
613
+ var tmp$ret$5 = this_3.v1i();
614
+ tmp_3.a1w_1 = transform(this_2, tmp$ret$5);
614
615
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
615
616
  var tmp_4 = scope;
616
617
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
617
- var this_4 = scope.q1v_1;
618
+ var this_4 = scope.a1w_1;
618
619
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
619
620
  // Inline function 'kotlin.apply' call
620
621
  var this_5 = new TransformerBuilder();
621
- this_5.k1i(ScalaIrEmitter$emitShared$lambda_2);
622
- var tmp$ret$10 = this_5.l1i();
623
- tmp_4.q1v_1 = transform(this_4, tmp$ret$10);
622
+ this_5.u1i(ScalaIrEmitter$emitShared$lambda_2);
623
+ var tmp$ret$10 = this_5.v1i();
624
+ tmp_4.a1w_1 = transform(this_4, tmp$ret$10);
624
625
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.injectAfter' call
625
626
  var tmp_5 = scope;
626
627
  // Inline function 'community.flock.wirespec.ir.core.injectAfter' call
627
628
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
628
- var this_6 = scope.q1v_1;
629
+ var this_6 = scope.a1w_1;
629
630
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
630
631
  // Inline function 'kotlin.apply' call
631
632
  var this_7 = new TransformerBuilder();
632
- this_7.k1i(ScalaIrEmitter$emitShared$lambda_3(clientServer));
633
- var tmp$ret$15 = this_7.l1i();
634
- tmp_5.q1v_1 = transform(this_6, tmp$ret$15);
635
- var tmp_6 = scope.q1v_1;
633
+ this_7.u1i(ScalaIrEmitter$emitShared$lambda_3(clientServer));
634
+ var tmp$ret$15 = this_7.v1i();
635
+ tmp_5.a1w_1 = transform(this_6, tmp$ret$15);
636
+ var tmp_6 = scope.a1w_1;
636
637
  var wirespecShared = isInterface(tmp_6, Element) ? tmp_6 : THROW_CCE();
637
638
  var tmp_7;
638
- if (this.e1z_1.gp_1) {
639
- tmp_7 = wirespecShared.w1n(Companion_getInstance().x1g(packageName.es() + 'Wirespec'));
639
+ if (this.o1z_1.gp_1) {
640
+ tmp_7 = wirespecShared.g1o(Companion_getInstance().h1h(packageName.ls() + 'Wirespec'));
640
641
  } else {
641
642
  tmp_7 = null;
642
643
  }
643
644
  return tmp_7;
644
645
  };
645
- protoOf(ScalaIrEmitter).fr = function (definition, module_0, logger) {
646
+ protoOf(ScalaIrEmitter).lr = function (definition, module_0, logger) {
646
647
  var file = emit.call(this, definition, module_0, logger);
647
648
  // Inline function 'kotlin.takeIf' call
648
- var this_0 = this.h1z_1;
649
+ var this_0 = this.r1z_1;
649
650
  var tmp;
650
- if (Companion_instance.yq(module_0)) {
651
+ if (Companion_instance.er(module_0)) {
651
652
  tmp = this_0;
652
653
  } else {
653
654
  tmp = null;
654
655
  }
655
656
  var tmp$ret$1 = tmp;
656
- return placeInPackage(prependImports(file, tmp$ret$1), this.s1x(), definition);
657
+ return placeInPackage(prependImports(file, tmp$ret$1), this.c1y(), definition);
657
658
  };
658
- protoOf(ScalaIrEmitter).m1w = function (definition, module_0) {
659
+ protoOf(ScalaIrEmitter).w1w = function (definition, module_0) {
659
660
  var tmp;
660
661
  if (definition instanceof Type) {
661
662
  tmp = convertToGenerator_2(definition, module_0);
@@ -676,7 +677,7 @@ protoOf(ScalaIrEmitter).m1w = function (definition, module_0) {
676
677
  }
677
678
  var generatorFile = tmp;
678
679
  var sanitized = sanitizeNames(generatorFile, _get_sanitizationConfig__sns434(this));
679
- var generatorOwnName = definition.gr().m1() + 'Generator';
680
+ var generatorOwnName = definition.mr().m1() + 'Generator';
680
681
  var tmp_0 = asSequence(collectCustomTypeNames(sanitized));
681
682
  var tmp_1 = filterNot(tmp_0, ScalaIrEmitter$emitGenerator$lambda);
682
683
  var tmp_2 = filterNot(tmp_1, ScalaIrEmitter$emitGenerator$lambda_0(generatorOwnName));
@@ -697,27 +698,27 @@ protoOf(ScalaIrEmitter).m1w = function (definition, module_0) {
697
698
  var _iterator__ex2g4s_0 = destination.t();
698
699
  while (_iterator__ex2g4s_0.u()) {
699
700
  var item = _iterator__ex2g4s_0.v();
700
- var tmp$ret$3 = import_0(this.s1x().cs_1 + '.model', item);
701
+ var tmp$ret$3 = import_0(this.c1y().js_1 + '.model', item);
701
702
  destination_0.x(tmp$ret$3);
702
703
  }
703
704
  var modelImports = destination_0;
704
- return placeInPackage_0(prependImports(sanitized, plus(this.h1z_1, modelImports)), this.s1x(), 'generator');
705
+ return placeInPackage_0(prependImports(sanitized, plus(this.r1z_1, modelImports)), this.c1y(), 'generator');
705
706
  };
706
- protoOf(ScalaIrEmitter).vr = function (type, module_0) {
707
+ protoOf(ScalaIrEmitter).cs = function (type, module_0) {
707
708
  return ensureEmptyStructHasConstructor(sanitizeNames(convertWithValidation(type, module_0), _get_sanitizationConfig__sns434(this)));
708
709
  };
709
- protoOf(ScalaIrEmitter).tr = function (enum_0, module_0) {
710
+ protoOf(ScalaIrEmitter).as = function (enum_0, module_0) {
710
711
  var tmp = sanitizeNames(convert_0(enum_0), _get_sanitizationConfig__sns434(this));
711
712
  return injectEnumLabelField(tmp, ScalaIrEmitter$emit$lambda(this));
712
713
  };
713
- protoOf(ScalaIrEmitter).jr = function (union) {
714
+ protoOf(ScalaIrEmitter).qr = function (union) {
714
715
  return sanitizeNames(convert_1(union), _get_sanitizationConfig__sns434(this));
715
716
  };
716
- protoOf(ScalaIrEmitter).or = function (refined) {
717
+ protoOf(ScalaIrEmitter).vr = function (refined) {
717
718
  var file = sanitizeNames(convert_2(refined), _get_sanitizationConfig__sns434(this));
718
719
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
719
720
  // Inline function 'kotlin.collections.filterIsInstance' call
720
- var tmp0 = file.u1n();
721
+ var tmp0 = file.e1o();
721
722
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
722
723
  var destination = ArrayList_init_$Create$_0();
723
724
  var _iterator__ex2g4s = tmp0.t();
@@ -729,12 +730,12 @@ protoOf(ScalaIrEmitter).or = function (refined) {
729
730
  }
730
731
  var tmp$ret$2 = firstOrNull_0(destination);
731
732
  var updatedStruct = convertToStringCallsToFieldAccess(markMembersAsOverride(ensureNotNull(tmp$ret$2)));
732
- return new File(Companion_getInstance().x1g(sanitize(this, refined.mr_1)), listOf(updatedStruct));
733
+ return new File(Companion_getInstance().h1h(sanitize(this, refined.tr_1)), listOf(updatedStruct));
733
734
  };
734
- protoOf(ScalaIrEmitter).ur = function (endpoint) {
735
+ protoOf(ScalaIrEmitter).bs = function (endpoint) {
735
736
  // Inline function 'community.flock.wirespec.ir.core.findElement' call
736
737
  // Inline function 'kotlin.collections.filterIsInstance' call
737
- var tmp0 = convert_3(endpoint).u1n();
738
+ var tmp0 = convert_3(endpoint).e1o();
738
739
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
739
740
  var destination = ArrayList_init_$Create$_0();
740
741
  var _iterator__ex2g4s = tmp0.t();
@@ -747,9 +748,9 @@ protoOf(ScalaIrEmitter).ur = function (endpoint) {
747
748
  var tmp$ret$2 = firstOrNull_0(destination);
748
749
  var endpointNamespace = ensureNotNull(tmp$ret$2);
749
750
  var body = appendClientServerObjects(injectHandleFunction(endpointNamespace), endpoint, isRequestObject(endpointNamespace));
750
- var tmp = sanitizeNames(new File(Companion_getInstance().x1g(sanitize(this, endpoint.eq_1)), listOf(body)), _get_sanitizationConfig__sns434(this));
751
+ var tmp = sanitizeNames(new File(Companion_getInstance().h1h(sanitize(this, endpoint.kq_1)), listOf(body)), _get_sanitizationConfig__sns434(this));
751
752
  // Inline function 'kotlin.takeIf' call
752
- var this_0 = buildModelImports(endpoint, this.s1x());
753
+ var this_0 = buildModelImports(endpoint, this.c1y());
753
754
  var tmp_0;
754
755
  // Inline function 'kotlin.collections.isNotEmpty' call
755
756
  if (!this_0.r()) {
@@ -760,10 +761,10 @@ protoOf(ScalaIrEmitter).ur = function (endpoint) {
760
761
  var tmp$ret$5 = tmp_0;
761
762
  return prependImports(tmp, tmp$ret$5);
762
763
  };
763
- protoOf(ScalaIrEmitter).ir = function (channel) {
764
+ protoOf(ScalaIrEmitter).pr = function (channel) {
764
765
  var tmp = sanitizeNames(convert_4(channel), _get_sanitizationConfig__sns434(this));
765
766
  // Inline function 'kotlin.takeIf' call
766
- var this_0 = buildModelImports(channel, this.s1x());
767
+ var this_0 = buildModelImports(channel, this.c1y());
767
768
  var tmp_0;
768
769
  // Inline function 'kotlin.collections.isNotEmpty' call
769
770
  if (!this_0.r()) {
@@ -774,25 +775,39 @@ protoOf(ScalaIrEmitter).ir = function (channel) {
774
775
  var tmp$ret$2 = tmp_0;
775
776
  return prependImports(tmp, tmp$ret$2);
776
777
  };
777
- protoOf(ScalaIrEmitter).l1w = function (endpoint) {
778
- var imports = buildModelImports(endpoint, this.s1x());
779
- var endpointImport = import_0(this.s1x().cs_1 + '.endpoint', endpoint.eq_1.m1());
778
+ protoOf(ScalaIrEmitter).or = function (rpc) {
779
+ var tmp = sanitizeNames(convert_5(rpc), _get_sanitizationConfig__sns434(this));
780
+ // Inline function 'kotlin.takeIf' call
781
+ var this_0 = buildModelImports(rpc, this.c1y());
782
+ var tmp_0;
783
+ // Inline function 'kotlin.collections.isNotEmpty' call
784
+ if (!this_0.r()) {
785
+ tmp_0 = this_0;
786
+ } else {
787
+ tmp_0 = null;
788
+ }
789
+ var tmp$ret$2 = tmp_0;
790
+ return prependImports(tmp, tmp$ret$2);
791
+ };
792
+ protoOf(ScalaIrEmitter).v1w = function (endpoint) {
793
+ var imports = buildModelImports(endpoint, this.c1y());
794
+ var endpointImport = import_0(this.c1y().js_1 + '.endpoint', endpoint.kq_1.m1());
780
795
  var file = addIdentityTypeToCall(sanitizeNames(emitEndpointClient.call(this, endpoint), _get_sanitizationConfig__sns434(this)));
781
- var subPackageName = plus_1(this.s1x(), 'client');
782
- var tmp = Companion_getInstance().x1g(subPackageName.es() + file.s1n_1.y1g());
796
+ var subPackageName = plus_1(this.c1y(), 'client');
797
+ var tmp = Companion_getInstance().h1h(subPackageName.ls() + file.c1o_1.i1h());
783
798
  // Inline function 'kotlin.collections.buildList' call
784
799
  // Inline function 'kotlin.collections.buildListInternal' call
785
800
  // Inline function 'kotlin.apply' call
786
801
  var this_0 = ArrayList_init_$Create$_0();
787
- this_0.x(new Package(subPackageName.cs_1));
788
- this_0.g1(this.h1z_1);
802
+ this_0.x(new Package(subPackageName.js_1));
803
+ this_0.g1(this.r1z_1);
789
804
  this_0.g1(imports);
790
805
  this_0.x(endpointImport);
791
- this_0.g1(file.t1n_1);
806
+ this_0.g1(file.d1o_1);
792
807
  var tmp$ret$3 = this_0.p5();
793
808
  return new File(tmp, tmp$ret$3);
794
809
  };
795
- protoOf(ScalaIrEmitter).i1w = function (endpoints, logger) {
810
+ protoOf(ScalaIrEmitter).s1w = function (endpoints, logger) {
796
811
  // Inline function 'kotlin.collections.flatMap' call
797
812
  // Inline function 'kotlin.collections.flatMapTo' call
798
813
  var destination = ArrayList_init_$Create$_0();
@@ -808,7 +823,7 @@ protoOf(ScalaIrEmitter).i1w = function (endpoints, logger) {
808
823
  var _iterator__ex2g4s_0 = destination.t();
809
824
  while (_iterator__ex2g4s_0.u()) {
810
825
  var e = _iterator__ex2g4s_0.v();
811
- var key = e.dv_1;
826
+ var key = e.lv_1;
812
827
  if (set.x(key)) {
813
828
  list_0.x(e);
814
829
  }
@@ -819,7 +834,7 @@ protoOf(ScalaIrEmitter).i1w = function (endpoints, logger) {
819
834
  var _iterator__ex2g4s_1 = list_0.t();
820
835
  while (_iterator__ex2g4s_1.u()) {
821
836
  var item = _iterator__ex2g4s_1.v();
822
- var tmp$ret$5 = import_0(this.s1x().cs_1 + '.model', item.dv_1);
837
+ var tmp$ret$5 = import_0(this.c1y().js_1 + '.model', item.lv_1);
823
838
  destination_0.x(tmp$ret$5);
824
839
  }
825
840
  var imports = destination_0;
@@ -829,7 +844,7 @@ protoOf(ScalaIrEmitter).i1w = function (endpoints, logger) {
829
844
  var _iterator__ex2g4s_2 = endpoints.t();
830
845
  while (_iterator__ex2g4s_2.u()) {
831
846
  var item_0 = _iterator__ex2g4s_2.v();
832
- var tmp$ret$8 = import_0(this.s1x().cs_1 + '.endpoint', item_0.eq_1.m1());
847
+ var tmp$ret$8 = import_0(this.c1y().js_1 + '.endpoint', item_0.kq_1.m1());
833
848
  destination_1.x(tmp$ret$8);
834
849
  }
835
850
  var endpointImports = destination_1;
@@ -839,38 +854,38 @@ protoOf(ScalaIrEmitter).i1w = function (endpoints, logger) {
839
854
  var _iterator__ex2g4s_3 = endpoints.t();
840
855
  while (_iterator__ex2g4s_3.u()) {
841
856
  var item_1 = _iterator__ex2g4s_3.v();
842
- var tmp$ret$11 = import_0(this.s1x().cs_1 + '.client', item_1.eq_1.m1() + 'Client');
857
+ var tmp$ret$11 = import_0(this.c1y().js_1 + '.client', item_1.kq_1.m1() + 'Client');
843
858
  destination_2.x(tmp$ret$11);
844
859
  }
845
860
  var clientImports = destination_2;
846
861
  var allImports = plus(plus(imports, endpointImports), clientImports);
847
862
  var file = addIdentityTypeToCall(sanitizeNames(emitClient.call(this, endpoints, logger), _get_sanitizationConfig__sns434(this)));
848
- var tmp = Companion_getInstance().x1g(this.s1x().es() + file.s1n_1.y1g());
863
+ var tmp = Companion_getInstance().h1h(this.c1y().ls() + file.c1o_1.i1h());
849
864
  // Inline function 'kotlin.collections.buildList' call
850
865
  // Inline function 'kotlin.collections.buildListInternal' call
851
866
  // Inline function 'kotlin.apply' call
852
867
  var this_0 = ArrayList_init_$Create$_0();
853
- this_0.x(new Package(this.s1x().cs_1));
854
- this_0.g1(this.h1z_1);
868
+ this_0.x(new Package(this.c1y().js_1));
869
+ this_0.g1(this.r1z_1);
855
870
  this_0.g1(allImports);
856
- this_0.g1(file.t1n_1);
871
+ this_0.g1(file.d1o_1);
857
872
  var tmp$ret$17 = this_0.p5();
858
873
  return new File(tmp, tmp$ret$17);
859
874
  };
860
875
  function convertToStringCallsToFieldAccess(_this__u8e3s4) {
861
876
  // Inline function 'community.flock.wirespec.ir.core.transform' call
862
877
  var scope = new TransformScope(_this__u8e3s4);
863
- scope.y1v(convertToStringCallsToFieldAccess$lambda);
864
- var tmp = scope.q1v_1;
878
+ scope.i1w(convertToStringCallsToFieldAccess$lambda);
879
+ var tmp = scope.a1w_1;
865
880
  return isInterface(tmp, Element) ? tmp : THROW_CCE();
866
881
  }
867
882
  function appendClientServerObjects(_this__u8e3s4, endpoint, requestIsObject) {
868
883
  var reqType = requestIsObject ? 'Request.type' : 'Request';
869
- var pathTemplate = '/' + joinToString(endpoint.gq_1, '/', VOID, VOID, VOID, VOID, appendClientServerObjects$lambda);
870
- var pathSegmentsCode = joinToString(endpoint.gq_1, ', ', VOID, VOID, VOID, VOID, appendClientServerObjects$lambda_0);
871
- var clientObject = raw(trimMargin('\n |object Client extends Wirespec.Client[' + reqType + ', Response[?]] {\n | override val pathTemplate: String = "' + pathTemplate + '"\n | override val method: String = "' + endpoint.fq_1.toString() + '"\n | override val pathSegments: List[Wirespec.PathSegment] = List(' + pathSegmentsCode + ')\n | override def client(serialization: Wirespec.Serialization): Wirespec.ClientEdge[' + reqType + ', Response[?]] = new Wirespec.ClientEdge[' + reqType + ', Response[?]] {\n | override def to(request: ' + reqType + '): Wirespec.RawRequest = toRawRequest(serialization, request)\n | override def from(response: Wirespec.RawResponse): Response[?] = fromRawResponse(serialization, response)\n | }\n |}\n '));
872
- var serverObject = raw(trimMargin('\n |object Server extends Wirespec.Server[' + reqType + ', Response[?]] {\n | override val pathTemplate: String = "' + pathTemplate + '"\n | override val method: String = "' + endpoint.fq_1.toString() + '"\n | override val pathSegments: List[Wirespec.PathSegment] = List(' + pathSegmentsCode + ')\n | override def server(serialization: Wirespec.Serialization): Wirespec.ServerEdge[' + reqType + ', Response[?]] = new Wirespec.ServerEdge[' + reqType + ', Response[?]] {\n | override def from(request: Wirespec.RawRequest): ' + reqType + ' = fromRawRequest(serialization, request)\n | override def to(response: Response[?]): Wirespec.RawResponse = toRawResponse(serialization, response)\n | }\n |}\n '));
873
- return _this__u8e3s4.d1o(VOID, plus_0(plus_0(_this__u8e3s4.z1n_1, clientObject), serverObject));
884
+ var pathTemplate = '/' + joinToString(endpoint.mq_1, '/', VOID, VOID, VOID, VOID, appendClientServerObjects$lambda);
885
+ var pathSegmentsCode = joinToString(endpoint.mq_1, ', ', VOID, VOID, VOID, VOID, appendClientServerObjects$lambda_0);
886
+ var clientObject = raw(trimMargin('\n |object Client extends Wirespec.Client[' + reqType + ', Response[?]] {\n | override val pathTemplate: String = "' + pathTemplate + '"\n | override val method: String = "' + endpoint.lq_1.toString() + '"\n | override val pathSegments: List[Wirespec.PathSegment] = List(' + pathSegmentsCode + ')\n | override def client(serialization: Wirespec.Serialization): Wirespec.ClientEdge[' + reqType + ', Response[?]] = new Wirespec.ClientEdge[' + reqType + ', Response[?]] {\n | override def to(request: ' + reqType + '): Wirespec.RawRequest = toRawRequest(serialization, request)\n | override def from(response: Wirespec.RawResponse): Response[?] = fromRawResponse(serialization, response)\n | }\n |}\n '));
887
+ var serverObject = raw(trimMargin('\n |object Server extends Wirespec.Server[' + reqType + ', Response[?]] {\n | override val pathTemplate: String = "' + pathTemplate + '"\n | override val method: String = "' + endpoint.lq_1.toString() + '"\n | override val pathSegments: List[Wirespec.PathSegment] = List(' + pathSegmentsCode + ')\n | override def server(serialization: Wirespec.Serialization): Wirespec.ServerEdge[' + reqType + ', Response[?]] = new Wirespec.ServerEdge[' + reqType + ', Response[?]] {\n | override def from(request: Wirespec.RawRequest): ' + reqType + ' = fromRawRequest(serialization, request)\n | override def to(response: Response[?]): Wirespec.RawResponse = toRawResponse(serialization, response)\n | }\n |}\n '));
888
+ return _this__u8e3s4.n1o(VOID, plus_0(plus_0(_this__u8e3s4.j1o_1, clientObject), serverObject));
874
889
  }
875
890
  function injectHandleFunction(_this__u8e3s4) {
876
891
  // Inline function 'community.flock.wirespec.ir.core.transform' call
@@ -878,19 +893,19 @@ function injectHandleFunction(_this__u8e3s4) {
878
893
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
879
894
  var tmp = scope;
880
895
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
881
- var this_0 = scope.q1v_1;
896
+ var this_0 = scope.a1w_1;
882
897
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
883
898
  // Inline function 'kotlin.apply' call
884
899
  var this_1 = new TransformerBuilder();
885
- this_1.k1i(injectHandleFunction$lambda);
886
- var tmp$ret$2 = this_1.l1i();
887
- tmp.q1v_1 = transform(this_0, tmp$ret$2);
888
- var tmp_0 = scope.q1v_1;
900
+ this_1.u1i(injectHandleFunction$lambda);
901
+ var tmp$ret$2 = this_1.v1i();
902
+ tmp.a1w_1 = transform(this_0, tmp$ret$2);
903
+ var tmp_0 = scope.a1w_1;
889
904
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
890
905
  }
891
906
  function isRequestObject(namespace) {
892
907
  // Inline function 'kotlin.collections.filterIsInstance' call
893
- var tmp0 = namespace.z1n_1;
908
+ var tmp0 = namespace.j1o_1;
894
909
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
895
910
  var destination = ArrayList_init_$Create$_0();
896
911
  var _iterator__ex2g4s = tmp0.t();
@@ -906,7 +921,7 @@ function isRequestObject(namespace) {
906
921
  var _iterator__ex2g4s_0 = destination.t();
907
922
  while (_iterator__ex2g4s_0.u()) {
908
923
  var element_0 = _iterator__ex2g4s_0.v();
909
- if (element_0.s1p_1.y1g() === 'Request') {
924
+ if (element_0.c1q_1.i1h() === 'Request') {
910
925
  tmp$ret$3 = element_0;
911
926
  break $l$block;
912
927
  }
@@ -921,7 +936,7 @@ function isRequestObject(namespace) {
921
936
  tmp = tmp0_elvis_lhs;
922
937
  }
923
938
  var requestStruct = tmp;
924
- return requestStruct.u1p_1.b1() === 1 && single(requestStruct.u1p_1).a1s_1.r() || (requestStruct.t1p_1.r() && requestStruct.u1p_1.r());
939
+ return requestStruct.e1q_1.b1() === 1 && single(requestStruct.e1q_1).k1s_1.r() || (requestStruct.d1q_1.r() && requestStruct.e1q_1.r());
925
940
  }
926
941
  function buildModelImports(_this__u8e3s4, packageName) {
927
942
  // Inline function 'kotlin.collections.distinctBy' call
@@ -931,7 +946,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
931
946
  var _iterator__ex2g4s = this_0.t();
932
947
  while (_iterator__ex2g4s.u()) {
933
948
  var e = _iterator__ex2g4s.v();
934
- var key = e.dv_1;
949
+ var key = e.lv_1;
935
950
  if (set.x(key)) {
936
951
  list.x(e);
937
952
  }
@@ -942,7 +957,7 @@ function buildModelImports(_this__u8e3s4, packageName) {
942
957
  var _iterator__ex2g4s_0 = list.t();
943
958
  while (_iterator__ex2g4s_0.u()) {
944
959
  var item = _iterator__ex2g4s_0.v();
945
- var tmp$ret$2 = import_0(packageName.cs_1 + '.model', Companion_getInstance().x1g(item.dv_1).y1g());
960
+ var tmp$ret$2 = import_0(packageName.js_1 + '.model', Companion_getInstance().h1h(item.lv_1).i1h());
946
961
  destination.x(tmp$ret$2);
947
962
  }
948
963
  return destination;
@@ -953,29 +968,29 @@ function addIdentityTypeToCall(_this__u8e3s4) {
953
968
  // Inline function 'community.flock.wirespec.ir.core.TransformScope.matchingElements' call
954
969
  var tmp = scope;
955
970
  // Inline function 'community.flock.wirespec.ir.core.transformMatchingElements' call
956
- var this_0 = scope.q1v_1;
971
+ var this_0 = scope.a1w_1;
957
972
  // Inline function 'community.flock.wirespec.ir.core.transformer' call
958
973
  // Inline function 'kotlin.apply' call
959
974
  var this_1 = new TransformerBuilder();
960
- this_1.k1i(addIdentityTypeToCall$lambda);
961
- var tmp$ret$2 = this_1.l1i();
962
- tmp.q1v_1 = transform(this_0, tmp$ret$2);
963
- var tmp_0 = scope.q1v_1;
975
+ this_1.u1i(addIdentityTypeToCall$lambda);
976
+ var tmp$ret$2 = this_1.v1i();
977
+ tmp.a1w_1 = transform(this_0, tmp$ret$2);
978
+ var tmp_0 = scope.a1w_1;
964
979
  return isInterface(tmp_0, Element) ? tmp_0 : THROW_CCE();
965
980
  }
966
981
  function toScalaTypeName(_this__u8e3s4) {
967
982
  var tmp;
968
983
  if (_this__u8e3s4 instanceof Primitive) {
969
- var t = _this__u8e3s4.ot_1;
984
+ var t = _this__u8e3s4.wt_1;
970
985
  var tmp_0;
971
986
  if (t instanceof String_0) {
972
987
  tmp_0 = 'String';
973
988
  } else {
974
989
  if (t instanceof Integer) {
975
- tmp_0 = t.lu_1.equals(Precision_P32_getInstance()) ? 'Int' : 'Long';
990
+ tmp_0 = t.tu_1.equals(Precision_P32_getInstance()) ? 'Int' : 'Long';
976
991
  } else {
977
992
  if (t instanceof Number_0) {
978
- tmp_0 = t.ou_1.equals(Precision_P32_getInstance()) ? 'Float' : 'Double';
993
+ tmp_0 = t.wu_1.equals(Precision_P32_getInstance()) ? 'Float' : 'Double';
979
994
  } else {
980
995
  if (equals(t, Boolean_instance)) {
981
996
  tmp_0 = 'Boolean';
@@ -992,7 +1007,7 @@ function toScalaTypeName(_this__u8e3s4) {
992
1007
  tmp = tmp_0;
993
1008
  } else {
994
1009
  if (_this__u8e3s4 instanceof Custom) {
995
- tmp = _this__u8e3s4.dv_1;
1010
+ tmp = _this__u8e3s4.lv_1;
996
1011
  } else {
997
1012
  if (_this__u8e3s4 instanceof Iterable) {
998
1013
  tmp = 'List[' + toScalaTypeName(_this__u8e3s4.yo_1) + ']';
@@ -1014,32 +1029,32 @@ function toScalaTypeName(_this__u8e3s4) {
1014
1029
  }
1015
1030
  }
1016
1031
  var base = tmp;
1017
- return _this__u8e3s4.vu() ? 'Option[' + base + ']' : base;
1032
+ return _this__u8e3s4.dv() ? 'Option[' + base + ']' : base;
1018
1033
  }
1019
1034
  function convertToStringCallsToFieldAccess$lambda(expr, tr) {
1020
1035
  var tmp;
1021
1036
  var tmp_0;
1022
1037
  var tmp_1;
1023
1038
  if (expr instanceof FunctionCall) {
1024
- tmp_1 = expr.t1m_1.j1m() === 'toString';
1039
+ tmp_1 = expr.d1n_1.t1m() === 'toString';
1025
1040
  } else {
1026
1041
  tmp_1 = false;
1027
1042
  }
1028
1043
  if (tmp_1) {
1029
- tmp_0 = !(expr.r1m_1 == null);
1044
+ tmp_0 = !(expr.b1n_1 == null);
1030
1045
  } else {
1031
1046
  tmp_0 = false;
1032
1047
  }
1033
1048
  if (tmp_0) {
1034
- var tmp0_safe_receiver = expr.r1m_1;
1049
+ var tmp0_safe_receiver = expr.b1n_1;
1035
1050
  var tmp_2;
1036
1051
  if (tmp0_safe_receiver == null) {
1037
1052
  tmp_2 = null;
1038
1053
  } else {
1039
1054
  // Inline function 'kotlin.let' call
1040
- tmp_2 = tr.l1v(tmp0_safe_receiver);
1055
+ tmp_2 = tr.v1v(tmp0_safe_receiver);
1041
1056
  }
1042
- tmp = new FieldCall(tmp_2, Companion_getInstance().x1g('toString'));
1057
+ tmp = new FieldCall(tmp_2, Companion_getInstance().h1h('toString'));
1043
1058
  } else {
1044
1059
  tmp = transformChildren_1(expr, tr);
1045
1060
  }
@@ -1048,10 +1063,10 @@ function convertToStringCallsToFieldAccess$lambda(expr, tr) {
1048
1063
  function appendClientServerObjects$lambda(it) {
1049
1064
  var tmp;
1050
1065
  if (it instanceof Literal) {
1051
- tmp = it.tt_1;
1066
+ tmp = it.bu_1;
1052
1067
  } else {
1053
1068
  if (it instanceof Param) {
1054
- tmp = '{' + it.lq_1.m1() + '}';
1069
+ tmp = '{' + it.rq_1.m1() + '}';
1055
1070
  } else {
1056
1071
  noWhenBranchMatchedException();
1057
1072
  }
@@ -1061,10 +1076,10 @@ function appendClientServerObjects$lambda(it) {
1061
1076
  function appendClientServerObjects$lambda_0(segment) {
1062
1077
  var tmp;
1063
1078
  if (segment instanceof Literal) {
1064
- tmp = 'Wirespec.Literal("' + segment.tt_1 + '")';
1079
+ tmp = 'Wirespec.Literal("' + segment.bu_1 + '")';
1065
1080
  } else {
1066
1081
  if (segment instanceof Param) {
1067
- tmp = 'Wirespec.Param("' + segment.lq_1.m1() + '", scala.reflect.classTag[' + toScalaTypeName(segment.mq_1) + '])';
1082
+ tmp = 'Wirespec.Param("' + segment.rq_1.m1() + '", scala.reflect.classTag[' + toScalaTypeName(segment.sq_1) + '])';
1068
1083
  } else {
1069
1084
  noWhenBranchMatchedException();
1070
1085
  }
@@ -1076,13 +1091,13 @@ function injectHandleFunction$lambda(element, transformer) {
1076
1091
  if (element instanceof Interface) {
1077
1092
  var tmp$ret$0;
1078
1093
  $l$block: {
1079
- if (!element.e1o_1.equals(Companion_getInstance().x1g('Handler')) && !element.e1o_1.equals(Companion_getInstance().x1g('Call'))) {
1094
+ if (!element.o1o_1.equals(Companion_getInstance().h1h('Handler')) && !element.o1o_1.equals(Companion_getInstance().h1h('Call'))) {
1080
1095
  tmp$ret$0 = element;
1081
1096
  break $l$block;
1082
1097
  }
1083
1098
  var tmp0_typeParameters = listOf(new TypeParameter(Custom_init_$Create$('F[_]')));
1084
1099
  // Inline function 'kotlin.collections.map' call
1085
- var this_0 = element.f1o_1;
1100
+ var this_0 = element.p1o_1;
1086
1101
  // Inline function 'kotlin.collections.mapTo' call
1087
1102
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1088
1103
  var _iterator__ex2g4s = this_0.t();
@@ -1093,7 +1108,7 @@ function injectHandleFunction$lambda(element, transformer) {
1093
1108
  if (tmp0_safe_receiver == null) {
1094
1109
  tmp_0 = null;
1095
1110
  } else {
1096
- var tmp1_safe_receiver = item.x1k_1;
1111
+ var tmp1_safe_receiver = item.h1l_1;
1097
1112
  var tmp_1;
1098
1113
  if (tmp1_safe_receiver == null) {
1099
1114
  tmp_1 = null;
@@ -1102,13 +1117,13 @@ function injectHandleFunction$lambda(element, transformer) {
1102
1117
  tmp_1 = Custom_init_$Create$('F', listOf(tmp1_safe_receiver));
1103
1118
  }
1104
1119
  var tmp3_returnType = tmp_1;
1105
- tmp_0 = tmp0_safe_receiver.f1l(VOID, VOID, VOID, tmp3_returnType, VOID, false);
1120
+ tmp_0 = tmp0_safe_receiver.p1l(VOID, VOID, VOID, tmp3_returnType, VOID, false);
1106
1121
  }
1107
1122
  var tmp4_elvis_lhs = tmp_0;
1108
1123
  var tmp$ret$3 = tmp4_elvis_lhs == null ? item : tmp4_elvis_lhs;
1109
1124
  destination.x(tmp$ret$3);
1110
1125
  }
1111
- tmp$ret$0 = element.m1o(VOID, destination, VOID, VOID, tmp0_typeParameters);
1126
+ tmp$ret$0 = element.w1o(VOID, destination, VOID, VOID, tmp0_typeParameters);
1112
1127
  }
1113
1128
  tmp = tmp$ret$0;
1114
1129
  } else {
@@ -1121,7 +1136,7 @@ function addIdentityTypeToCall$lambda(element, transformer) {
1121
1136
  var tmp;
1122
1137
  if (element instanceof Struct) {
1123
1138
  // Inline function 'kotlin.collections.map' call
1124
- var this_0 = element.v1p_1;
1139
+ var this_0 = element.f1q_1;
1125
1140
  // Inline function 'kotlin.collections.mapTo' call
1126
1141
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1127
1142
  var _iterator__ex2g4s = this_0.t();
@@ -1129,17 +1144,17 @@ function addIdentityTypeToCall$lambda(element, transformer) {
1129
1144
  var item = _iterator__ex2g4s.v();
1130
1145
  // Inline function 'kotlin.takeIf' call
1131
1146
  var tmp_0;
1132
- if (endsWith(item.u1i_1.y1g(), '.Call')) {
1147
+ if (endsWith(item.e1j_1.i1h(), '.Call')) {
1133
1148
  tmp_0 = item;
1134
1149
  } else {
1135
1150
  tmp_0 = null;
1136
1151
  }
1137
1152
  var tmp0_safe_receiver = tmp_0;
1138
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f1n(VOID, listOf(Custom_init_$Create$('[A] =>> A')));
1153
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p1n(VOID, listOf(Custom_init_$Create$('[A] =>> A')));
1139
1154
  var tmp$ret$2 = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
1140
1155
  destination.x(tmp$ret$2);
1141
1156
  }
1142
- tmp = element.d1q(VOID, VOID, VOID, destination);
1157
+ tmp = element.n1q(VOID, VOID, VOID, destination);
1143
1158
  } else {
1144
1159
  tmp = element;
1145
1160
  }
@@ -1147,9 +1162,9 @@ function addIdentityTypeToCall$lambda(element, transformer) {
1147
1162
  return transformChildren_0(transformed, transformer);
1148
1163
  }
1149
1164
  //region block: post-declaration
1150
- protoOf(ScalaIrEmitter).f1w = get_extensions;
1165
+ protoOf(ScalaIrEmitter).p1w = get_extensions;
1151
1166
  protoOf(ScalaIrEmitter).no = emit_0;
1152
- protoOf(ScalaIrEmitter).g1w = emit_1;
1167
+ protoOf(ScalaIrEmitter).q1w = emit_1;
1153
1168
  //endregion
1154
1169
  //region block: exports
1155
1170
  export {