@flock/wirespec 0.18.0-RC.1 → 0.18.1-RC.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +152 -158
  3. package/arrow-arrow-core.mjs.map +1 -1
  4. package/clikt-clikt-mordant.mjs +80 -80
  5. package/clikt-clikt.mjs +1442 -1442
  6. package/clikt-clikt.mjs.map +1 -1
  7. package/colormath-root-colormath.mjs +439 -439
  8. package/kotlin-kotlin-stdlib.mjs +1067 -1131
  9. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  10. package/kotlin-openapi-bindings.mjs +4857 -4857
  11. package/kotlin-rgxgen.mjs +1793 -1793
  12. package/kotlinx-io-kotlinx-io-core.mjs +415 -415
  13. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1752 -1752
  14. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1348 -1356
  15. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  16. package/mordant-mordant.mjs +1303 -1311
  17. package/mordant-mordant.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/wirespec-src-compiler-core.mjs +1527 -1527
  20. package/wirespec-src-compiler-emitters-java.mjs +477 -451
  21. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-kotlin.mjs +413 -408
  23. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-python.mjs +379 -378
  25. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-rust.mjs +939 -725
  27. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-scala.mjs +225 -233
  29. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-typescript.mjs +558 -589
  31. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  32. package/wirespec-src-compiler-emitters-wirespec.mjs +82 -82
  33. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  34. package/wirespec-src-compiler-ir.mjs +3738 -3708
  35. package/wirespec-src-compiler-ir.mjs.map +1 -1
  36. package/wirespec-src-compiler-lib.mjs +418 -418
  37. package/wirespec-src-converter-avro.mjs +506 -506
  38. package/wirespec-src-converter-openapi.mjs +684 -684
  39. package/wirespec-src-plugin-arguments.mjs +181 -181
  40. package/wirespec-src-plugin-cli.mjs +106 -106
  41. package/wirespec-src-plugin-npm.mjs +36 -36
  42. package/wirespec-src-tools-generator.mjs +34 -34
@@ -57,10 +57,10 @@ initMetadataForCompanion(Companion_3);
57
57
  initMetadataForClass(NonEmptySet, 'NonEmptySet', VOID, VOID, [KtSet, Collection]);
58
58
  function bind(_this__u8e3s4) {
59
59
  if (_this__u8e3s4 instanceof Left) {
60
- this.dm(_this__u8e3s4.pl_1);
60
+ this.bm(_this__u8e3s4.nl_1);
61
61
  } else {
62
62
  if (_this__u8e3s4 instanceof Right)
63
- return _this__u8e3s4.rl_1;
63
+ return _this__u8e3s4.pl_1;
64
64
  else {
65
65
  noWhenBranchMatchedException();
66
66
  }
@@ -75,7 +75,7 @@ function bindAll(_this__u8e3s4) {
75
75
  var _iterator__ex2g4s = this_0.t();
76
76
  while (_iterator__ex2g4s.u()) {
77
77
  var item = _iterator__ex2g4s.v();
78
- var tmp$ret$0 = this.hm(item);
78
+ var tmp$ret$0 = this.fm(item);
79
79
  destination.x(tmp$ret$0);
80
80
  }
81
81
  return _NonEmptyList___init__impl__fxd0xp(destination);
@@ -89,7 +89,7 @@ initMetadataForClass(Value, 'Value');
89
89
  initMetadataForClass(Error_0, 'Error', VOID, Value);
90
90
  initMetadataForClass(Ok, 'Ok', VOID, Value);
91
91
  function get_hasAccumulatedErrors() {
92
- return !(this.cm() == null);
92
+ return !(this.am() == null);
93
93
  }
94
94
  initMetadataForInterface(Accumulate, 'Accumulate');
95
95
  initMetadataForClass(RaiseAccumulate, 'RaiseAccumulate', VOID, VOID, [Accumulate, Raise], [1]);
@@ -104,7 +104,7 @@ function Companion_getInstance() {
104
104
  }
105
105
  function Companion_0() {
106
106
  Companion_instance_0 = this;
107
- this.ol_1 = new Right(Unit_instance);
107
+ this.ml_1 = new Right(Unit_instance);
108
108
  }
109
109
  var Companion_instance_0;
110
110
  function Companion_getInstance_0() {
@@ -114,40 +114,40 @@ function Companion_getInstance_0() {
114
114
  }
115
115
  function Left(value) {
116
116
  Either.call(this);
117
- this.pl_1 = value;
117
+ this.nl_1 = value;
118
118
  }
119
119
  protoOf(Left).toString = function () {
120
- return 'Either.Left(' + toString(this.pl_1) + ')';
120
+ return 'Either.Left(' + toString(this.nl_1) + ')';
121
121
  };
122
122
  protoOf(Left).hashCode = function () {
123
- return this.pl_1 == null ? 0 : hashCode(this.pl_1);
123
+ return this.nl_1 == null ? 0 : hashCode(this.nl_1);
124
124
  };
125
125
  protoOf(Left).equals = function (other) {
126
126
  if (this === other)
127
127
  return true;
128
128
  if (!(other instanceof Left))
129
129
  return false;
130
- if (!equals(this.pl_1, other.pl_1))
130
+ if (!equals(this.nl_1, other.nl_1))
131
131
  return false;
132
132
  return true;
133
133
  };
134
134
  function Right(value) {
135
135
  Companion_getInstance_0();
136
136
  Either.call(this);
137
- this.rl_1 = value;
137
+ this.pl_1 = value;
138
138
  }
139
139
  protoOf(Right).toString = function () {
140
- return 'Either.Right(' + toString(this.rl_1) + ')';
140
+ return 'Either.Right(' + toString(this.pl_1) + ')';
141
141
  };
142
142
  protoOf(Right).hashCode = function () {
143
- return this.rl_1 == null ? 0 : hashCode(this.rl_1);
143
+ return this.pl_1 == null ? 0 : hashCode(this.pl_1);
144
144
  };
145
145
  protoOf(Right).equals = function (other) {
146
146
  if (this === other)
147
147
  return true;
148
148
  if (!(other instanceof Right))
149
149
  return false;
150
- if (!equals(this.rl_1, other.rl_1))
150
+ if (!equals(this.pl_1, other.pl_1))
151
151
  return false;
152
152
  return true;
153
153
  };
@@ -159,15 +159,15 @@ function Companion_getInstance_1() {
159
159
  }
160
160
  function Either() {
161
161
  }
162
- protoOf(Either).ql = function () {
162
+ protoOf(Either).ol = function () {
163
163
  // Inline function 'arrow.core.getOrElse' call
164
164
  var tmp;
165
165
  if (this instanceof Left) {
166
- this.pl_1;
166
+ this.nl_1;
167
167
  tmp = null;
168
168
  } else {
169
169
  if (this instanceof Right) {
170
- tmp = this.rl_1;
170
+ tmp = this.pl_1;
171
171
  } else {
172
172
  noWhenBranchMatchedException();
173
173
  }
@@ -178,11 +178,11 @@ protoOf(Either).toString = function () {
178
178
  // Inline function 'arrow.core.Either.fold' call
179
179
  var tmp;
180
180
  if (this instanceof Right) {
181
- var it = this.rl_1;
181
+ var it = this.pl_1;
182
182
  tmp = 'Either.Right(' + toString(it) + ')';
183
183
  } else {
184
184
  if (this instanceof Left) {
185
- var it_0 = this.pl_1;
185
+ var it_0 = this.nl_1;
186
186
  tmp = 'Either.Left(' + toString(it_0) + ')';
187
187
  } else {
188
188
  noWhenBranchMatchedException();
@@ -237,27 +237,27 @@ function flattenOrAccumulate(_this__u8e3s4) {
237
237
  try {
238
238
  var tmp_2 = tolerant(this_1, raise_0);
239
239
  var $this$accumulating = new RaiseAccumulate(tmp_2, raise_1, flattenOrAccumulate$lambda(raise_1));
240
- var hasErrors = $this$accumulating.vl();
240
+ var hasErrors = $this$accumulating.tl();
241
241
  // Inline function 'kotlin.also' call
242
- var this_2 = $this$accumulating.wl(element);
242
+ var this_2 = $this$accumulating.ul(element);
243
243
  if (!hasErrors) {
244
244
  this_0.x(this_2);
245
245
  }
246
246
  var res = new Ok(Unit_instance);
247
- raise_1.zl();
247
+ raise_1.xl();
248
248
  // Inline function 'arrow.core.identity' call
249
249
  tmp_1 = res;
250
250
  } catch ($p) {
251
251
  var tmp_3;
252
252
  if ($p instanceof RaiseCancellationException) {
253
253
  var e = $p;
254
- raise_1.zl();
255
- var p0 = raisedOrRethrow(e, raise_1).am_1;
256
- tmp_3 = this_1.bm(p0);
254
+ raise_1.xl();
255
+ var p0 = raisedOrRethrow(e, raise_1).yl_1;
256
+ tmp_3 = this_1.zl(p0);
257
257
  } else {
258
258
  if ($p instanceof Error) {
259
259
  var e_0 = $p;
260
- raise_1.zl();
260
+ raise_1.xl();
261
261
  throw nonFatalOrThrow(e_0);
262
262
  } else {
263
263
  throw $p;
@@ -266,20 +266,20 @@ function flattenOrAccumulate(_this__u8e3s4) {
266
266
  tmp_1 = tmp_3;
267
267
  }
268
268
  var res_0 = tmp_1;
269
- raise_0.zl();
269
+ raise_0.xl();
270
270
  // Inline function 'arrow.core.identity' call
271
271
  tmp_0 = res_0;
272
272
  } catch ($p) {
273
273
  var tmp_4;
274
274
  if ($p instanceof RaiseCancellationException) {
275
275
  var e_1 = $p;
276
- raise_0.zl();
276
+ raise_0.xl();
277
277
  // Inline function 'arrow.core.identity' call
278
278
  tmp_4 = raisedOrRethrow(e_1, raise_0);
279
279
  } else {
280
280
  if ($p instanceof Error) {
281
281
  var e_2 = $p;
282
- raise_0.zl();
282
+ raise_0.xl();
283
283
  throw nonFatalOrThrow(e_2);
284
284
  } else {
285
285
  throw $p;
@@ -289,29 +289,29 @@ function flattenOrAccumulate(_this__u8e3s4) {
289
289
  }
290
290
  }
291
291
  var result = Unit_instance;
292
- if ($this$with.vl()) {
293
- var tmp0_safe_receiver = $this$with.cm();
292
+ if ($this$with.tl()) {
293
+ var tmp0_safe_receiver = $this$with.am();
294
294
  if (tmp0_safe_receiver == null)
295
295
  null;
296
296
  else {
297
- tmp0_safe_receiver.n1();
297
+ tmp0_safe_receiver.l1();
298
298
  throwKotlinNothingValueException();
299
299
  }
300
300
  }
301
301
  var res_1 = this_0.o5();
302
- raise.zl();
302
+ raise.xl();
303
303
  tmp = new Right(res_1);
304
304
  } catch ($p) {
305
305
  var tmp_5;
306
306
  if ($p instanceof RaiseCancellationException) {
307
307
  var e_3 = $p;
308
- raise.zl();
308
+ raise.xl();
309
309
  var it = raisedOrRethrow(e_3, raise);
310
310
  tmp_5 = new Left(it);
311
311
  } else {
312
312
  if ($p instanceof Error) {
313
313
  var e_4 = $p;
314
- raise.zl();
314
+ raise.xl();
315
315
  throw nonFatalOrThrow(e_4);
316
316
  } else {
317
317
  throw $p;
@@ -334,7 +334,7 @@ function flattenOrAccumulate$lambda($$this$recover) {
334
334
  return function (it) {
335
335
  // Inline function 'arrow.core.nel' call
336
336
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
337
- $$this$recover.dm(new NonEmptyList(tmp$ret$0));
337
+ $$this$recover.bm(new NonEmptyList(tmp$ret$0));
338
338
  };
339
339
  }
340
340
  function _NonEmptyList___init__impl__fxd0xp(all) {
@@ -349,7 +349,7 @@ function _NonEmptyList___init__impl__fxd0xp_0(head, tail) {
349
349
  function NonEmptyList__equals_impl_crn5lc($this, other) {
350
350
  var tmp;
351
351
  if (other instanceof NonEmptyList) {
352
- tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.am_1));
352
+ tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.yl_1));
353
353
  } else {
354
354
  tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), other);
355
355
  }
@@ -368,7 +368,7 @@ function _NonEmptyList___get_head__impl__q9oenq($this) {
368
368
  return first(_NonEmptyList___get_all__impl__pmf509($this));
369
369
  }
370
370
  function _NonEmptyList___get_tail__impl__t91bd2($this) {
371
- return _NonEmptyList___get_all__impl__pmf509($this).m2(1, _NonEmptyList___get_all__impl__pmf509($this).a1());
371
+ return _NonEmptyList___get_all__impl__pmf509($this).l2(1, _NonEmptyList___get_all__impl__pmf509($this).a1());
372
372
  }
373
373
  function NonEmptyList__plus_impl_xqmb9($this, elements) {
374
374
  return _NonEmptyList___init__impl__fxd0xp(plus(_NonEmptyList___get_all__impl__pmf509($this), elements));
@@ -381,7 +381,7 @@ function NonEmptyList__toString_impl_ozxm8z($this) {
381
381
  }
382
382
  function Companion_2() {
383
383
  Companion_instance_2 = this;
384
- this.em_1 = nonEmptyListOf(Unit_instance, []);
384
+ this.cm_1 = nonEmptyListOf(Unit_instance, []);
385
385
  }
386
386
  var Companion_instance_2;
387
387
  function Companion_getInstance_2() {
@@ -390,7 +390,7 @@ function Companion_getInstance_2() {
390
390
  return Companion_instance_2;
391
391
  }
392
392
  function NonEmptyList__contains_impl_w1668g($this, element) {
393
- return $this.h1(element);
393
+ return $this.u1(element);
394
394
  }
395
395
  function NonEmptyList__iterator_impl_kgqsin($this) {
396
396
  return $this.t();
@@ -398,54 +398,48 @@ function NonEmptyList__iterator_impl_kgqsin($this) {
398
398
  function NonEmptyList__get_impl_oqktx($this, index) {
399
399
  return $this.f1(index);
400
400
  }
401
- function NonEmptyList__indexOf_impl_lnwyla($this, element) {
402
- return $this.i1(element);
403
- }
404
401
  function NonEmptyList__listIterator_impl_8vm28t($this, index) {
405
402
  return $this.g1(index);
406
403
  }
407
404
  function NonEmptyList__subList_impl_8uxff1($this, fromIndex, toIndex) {
408
- return $this.m2(fromIndex, toIndex);
405
+ return $this.l2(fromIndex, toIndex);
409
406
  }
410
407
  function _NonEmptyList___get_size__impl__xcrchh($this) {
411
408
  return $this.a1();
412
409
  }
413
410
  function NonEmptyList(all) {
414
411
  Companion_getInstance_2();
415
- this.am_1 = all;
412
+ this.yl_1 = all;
416
413
  }
417
414
  protoOf(NonEmptyList).equals = function (other) {
418
- return NonEmptyList__equals_impl_crn5lc(this.am_1, other);
415
+ return NonEmptyList__equals_impl_crn5lc(this.yl_1, other);
419
416
  };
420
417
  protoOf(NonEmptyList).hashCode = function () {
421
- return NonEmptyList__hashCode_impl_38rpg4(this.am_1);
418
+ return NonEmptyList__hashCode_impl_38rpg4(this.yl_1);
422
419
  };
423
420
  protoOf(NonEmptyList).r = function () {
424
- return NonEmptyList__isEmpty_impl_cueu5k(this.am_1);
421
+ return NonEmptyList__isEmpty_impl_cueu5k(this.yl_1);
425
422
  };
426
423
  protoOf(NonEmptyList).toString = function () {
427
- return NonEmptyList__toString_impl_ozxm8z(this.am_1);
424
+ return NonEmptyList__toString_impl_ozxm8z(this.yl_1);
428
425
  };
429
- protoOf(NonEmptyList).h1 = function (element) {
430
- return NonEmptyList__contains_impl_w1668g(this.am_1, element);
426
+ protoOf(NonEmptyList).u1 = function (element) {
427
+ return NonEmptyList__contains_impl_w1668g(this.yl_1, element);
431
428
  };
432
429
  protoOf(NonEmptyList).t = function () {
433
- return NonEmptyList__iterator_impl_kgqsin(this.am_1);
430
+ return NonEmptyList__iterator_impl_kgqsin(this.yl_1);
434
431
  };
435
432
  protoOf(NonEmptyList).f1 = function (index) {
436
- return NonEmptyList__get_impl_oqktx(this.am_1, index);
437
- };
438
- protoOf(NonEmptyList).i1 = function (element) {
439
- return NonEmptyList__indexOf_impl_lnwyla(this.am_1, element);
433
+ return NonEmptyList__get_impl_oqktx(this.yl_1, index);
440
434
  };
441
435
  protoOf(NonEmptyList).g1 = function (index) {
442
- return NonEmptyList__listIterator_impl_8vm28t(this.am_1, index);
436
+ return NonEmptyList__listIterator_impl_8vm28t(this.yl_1, index);
443
437
  };
444
- protoOf(NonEmptyList).m2 = function (fromIndex, toIndex) {
445
- return NonEmptyList__subList_impl_8uxff1(this.am_1, fromIndex, toIndex);
438
+ protoOf(NonEmptyList).l2 = function (fromIndex, toIndex) {
439
+ return NonEmptyList__subList_impl_8uxff1(this.yl_1, fromIndex, toIndex);
446
440
  };
447
441
  protoOf(NonEmptyList).a1 = function () {
448
- return _NonEmptyList___get_size__impl__xcrchh(this.am_1);
442
+ return _NonEmptyList___get_size__impl__xcrchh(this.yl_1);
449
443
  };
450
444
  function nonEmptyListOf(head, t) {
451
445
  return _NonEmptyList___init__impl__fxd0xp(plus_1(listOf(head), t));
@@ -509,43 +503,43 @@ function Companion_getInstance_3() {
509
503
  return Companion_instance_3;
510
504
  }
511
505
  function NonEmptySet__contains_impl_tkiyt0($this, element) {
512
- return $this.h1(element);
506
+ return $this.u1(element);
513
507
  }
514
508
  function NonEmptySet__iterator_impl_b1bvkz($this) {
515
509
  return $this.t();
516
510
  }
517
511
  function NonEmptySet__containsAll_impl_kivnxv($this, elements) {
518
- return $this.n2(elements);
512
+ return $this.m2(elements);
519
513
  }
520
514
  function _NonEmptySet___get_size__impl__tvkxr($this) {
521
515
  return $this.a1();
522
516
  }
523
517
  function NonEmptySet(elements) {
524
- this.fm_1 = elements;
518
+ this.dm_1 = elements;
525
519
  }
526
520
  protoOf(NonEmptySet).r = function () {
527
- return NonEmptySet__isEmpty_impl_56jel0(this.fm_1);
521
+ return NonEmptySet__isEmpty_impl_56jel0(this.dm_1);
528
522
  };
529
523
  protoOf(NonEmptySet).toString = function () {
530
- return NonEmptySet__toString_impl_yfcj6n(this.fm_1);
524
+ return NonEmptySet__toString_impl_yfcj6n(this.dm_1);
531
525
  };
532
526
  protoOf(NonEmptySet).equals = function (other) {
533
- return NonEmptySet__equals_impl_2ou2p8(this.fm_1, other);
527
+ return NonEmptySet__equals_impl_2ou2p8(this.dm_1, other);
534
528
  };
535
529
  protoOf(NonEmptySet).hashCode = function () {
536
- return NonEmptySet__hashCode_impl_co6mds(this.fm_1);
530
+ return NonEmptySet__hashCode_impl_co6mds(this.dm_1);
537
531
  };
538
- protoOf(NonEmptySet).h1 = function (element) {
539
- return NonEmptySet__contains_impl_tkiyt0(this.fm_1, element);
532
+ protoOf(NonEmptySet).u1 = function (element) {
533
+ return NonEmptySet__contains_impl_tkiyt0(this.dm_1, element);
540
534
  };
541
535
  protoOf(NonEmptySet).t = function () {
542
- return NonEmptySet__iterator_impl_b1bvkz(this.fm_1);
536
+ return NonEmptySet__iterator_impl_b1bvkz(this.dm_1);
543
537
  };
544
- protoOf(NonEmptySet).n2 = function (elements) {
545
- return NonEmptySet__containsAll_impl_kivnxv(this.fm_1, elements);
538
+ protoOf(NonEmptySet).m2 = function (elements) {
539
+ return NonEmptySet__containsAll_impl_kivnxv(this.dm_1, elements);
546
540
  };
547
541
  protoOf(NonEmptySet).a1 = function () {
548
- return _NonEmptySet___get_size__impl__tvkxr(this.fm_1);
542
+ return _NonEmptySet___get_size__impl__tvkxr(this.dm_1);
549
543
  };
550
544
  function nonEmptySetOf(first, rest) {
551
545
  return _NonEmptySet___init__impl__248bef_0(first, asIterable(rest));
@@ -557,33 +551,33 @@ function wrapAsNonEmptySetOrNull(_this__u8e3s4) {
557
551
  return _this__u8e3s4.r() ? null : _NonEmptySet___init__impl__248bef(_this__u8e3s4);
558
552
  }
559
553
  function DefaultRaise(isTraced) {
560
- this.xl_1 = isTraced;
561
- this.yl_1 = new AtomicBoolean(true);
554
+ this.vl_1 = isTraced;
555
+ this.wl_1 = new AtomicBoolean(true);
562
556
  }
563
- protoOf(DefaultRaise).zl = function () {
564
- return this.yl_1.kl(false);
557
+ protoOf(DefaultRaise).xl = function () {
558
+ return this.wl_1.il(false);
565
559
  };
566
- protoOf(DefaultRaise).gm = function (r) {
560
+ protoOf(DefaultRaise).em = function (r) {
567
561
  var tmp;
568
- if (this.yl_1.n1()) {
569
- throw this.xl_1 ? new Traced(r, this) : NoTrace(r, this);
562
+ if (this.wl_1.l1()) {
563
+ throw this.vl_1 ? new Traced(r, this) : NoTrace(r, this);
570
564
  } else {
571
565
  throw new RaiseLeakedException();
572
566
  }
573
567
  };
574
- protoOf(DefaultRaise).dm = function (r) {
575
- return this.gm((r == null ? true : !(r == null)) ? r : THROW_CCE());
568
+ protoOf(DefaultRaise).bm = function (r) {
569
+ return this.em((r == null ? true : !(r == null)) ? r : THROW_CCE());
576
570
  };
577
571
  function raisedOrRethrow(_this__u8e3s4, raise) {
578
572
  var tmp;
579
573
  var tmp_0;
580
574
  if (_this__u8e3s4 instanceof RaiseCancellationException) {
581
- tmp_0 = _this__u8e3s4.lm() === raise;
575
+ tmp_0 = _this__u8e3s4.jm() === raise;
582
576
  } else {
583
577
  tmp_0 = false;
584
578
  }
585
579
  if (tmp_0) {
586
- var tmp_1 = _this__u8e3s4.mm();
580
+ var tmp_1 = _this__u8e3s4.km();
587
581
  tmp = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
588
582
  } else {
589
583
  throw _this__u8e3s4;
@@ -594,11 +588,11 @@ function Traced(raised, raise, cause) {
594
588
  cause = cause === VOID ? null : cause;
595
589
  RaiseCancellationException.call(this, raised, raise);
596
590
  captureStack(this, Traced);
597
- this.pm_1 = cause;
591
+ this.nm_1 = cause;
598
592
  delete this.cause;
599
593
  }
600
594
  protoOf(Traced).f = function () {
601
- return this.pm_1;
595
+ return this.nm_1;
602
596
  };
603
597
  function RaiseLeakedException() {
604
598
  IllegalStateException_init_$Init$("'raise' or 'bind' was leaked outside of its context scope.\nMake sure all calls to 'raise' and 'bind' occur within the lifecycle of nullable { }, either { } or similar builders.\n\nSee Arrow documentation on 'Typed errors' for further information.", this);
@@ -621,22 +615,22 @@ function Value() {
621
615
  }
622
616
  function Error_0(raise) {
623
617
  Value.call(this);
624
- this.qm_1 = raise;
618
+ this.om_1 = raise;
625
619
  }
626
- protoOf(Error_0).n1 = function () {
627
- this.qm_1();
620
+ protoOf(Error_0).l1 = function () {
621
+ this.om_1();
628
622
  return throwKotlinNothingValueException();
629
623
  };
630
624
  function Ok(value) {
631
625
  Value.call(this);
632
- this.rm_1 = value;
626
+ this.pm_1 = value;
633
627
  }
634
- protoOf(Ok).n1 = function () {
635
- return this.rm_1;
628
+ protoOf(Ok).l1 = function () {
629
+ return this.pm_1;
636
630
  };
637
631
  function ListAccumulate$raiseSingle$ref(p0) {
638
632
  var l = function (_this__u8e3s4) {
639
- p0.vm(_this__u8e3s4);
633
+ p0.tm(_this__u8e3s4);
640
634
  };
641
635
  l.callableName = 'raiseSingle';
642
636
  return l;
@@ -645,22 +639,22 @@ function RaiseAccumulate$bindAll$lambda($$this$recover) {
645
639
  return function (it) {
646
640
  // Inline function 'arrow.core.nel' call
647
641
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
648
- $$this$recover.dm(new NonEmptyList(tmp$ret$0));
642
+ $$this$recover.bm(new NonEmptyList(tmp$ret$0));
649
643
  };
650
644
  }
651
645
  function RaiseAccumulate(accumulate, raise, raiseErrorsWith) {
652
- this.sl_1 = accumulate;
653
- this.tl_1 = raise;
654
- this.ul_1 = raiseErrorsWith;
646
+ this.ql_1 = accumulate;
647
+ this.rl_1 = raise;
648
+ this.sl_1 = raiseErrorsWith;
655
649
  }
656
- protoOf(RaiseAccumulate).dm = function (r) {
657
- this.ul_1(r);
650
+ protoOf(RaiseAccumulate).bm = function (r) {
651
+ this.sl_1(r);
658
652
  return throwKotlinNothingValueException();
659
653
  };
660
- protoOf(RaiseAccumulate).im = function (_this__u8e3s4) {
654
+ protoOf(RaiseAccumulate).gm = function (_this__u8e3s4) {
661
655
  // Inline function 'arrow.core.raise.RaiseAccumulate.mapOrAccumulate' call
662
656
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
663
- var tmp0 = this.tl_1;
657
+ var tmp0 = this.rl_1;
664
658
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
665
659
  var iterable = _NonEmptyList___get_all__impl__pmf509(_this__u8e3s4);
666
660
  // Inline function 'kotlin.collections.buildList' call
@@ -695,27 +689,27 @@ protoOf(RaiseAccumulate).im = function (_this__u8e3s4) {
695
689
  try {
696
690
  var tmp_1 = tolerant(this_1, raise);
697
691
  var $this$accumulating = new RaiseAccumulate(tmp_1, raise_0, RaiseAccumulate$bindAll$lambda(raise_0));
698
- var hasErrors = $this$accumulating.vl();
692
+ var hasErrors = $this$accumulating.tl();
699
693
  // Inline function 'kotlin.also' call
700
- var this_2 = $this$accumulating.hm(element);
694
+ var this_2 = $this$accumulating.fm(element);
701
695
  if (!hasErrors) {
702
696
  this_0.x(this_2);
703
697
  }
704
698
  var res = new Ok(Unit_instance);
705
- raise_0.zl();
699
+ raise_0.xl();
706
700
  // Inline function 'arrow.core.identity' call
707
701
  tmp_0 = res;
708
702
  } catch ($p) {
709
703
  var tmp_2;
710
704
  if ($p instanceof RaiseCancellationException) {
711
705
  var e = $p;
712
- raise_0.zl();
713
- var p0 = raisedOrRethrow(e, raise_0).am_1;
714
- tmp_2 = this_1.bm(p0);
706
+ raise_0.xl();
707
+ var p0 = raisedOrRethrow(e, raise_0).yl_1;
708
+ tmp_2 = this_1.zl(p0);
715
709
  } else {
716
710
  if ($p instanceof Error) {
717
711
  var e_0 = $p;
718
- raise_0.zl();
712
+ raise_0.xl();
719
713
  throw nonFatalOrThrow(e_0);
720
714
  } else {
721
715
  throw $p;
@@ -724,20 +718,20 @@ protoOf(RaiseAccumulate).im = function (_this__u8e3s4) {
724
718
  tmp_0 = tmp_2;
725
719
  }
726
720
  var res_0 = tmp_0;
727
- raise.zl();
721
+ raise.xl();
728
722
  // Inline function 'arrow.core.identity' call
729
723
  tmp = res_0;
730
724
  } catch ($p) {
731
725
  var tmp_3;
732
726
  if ($p instanceof RaiseCancellationException) {
733
727
  var e_1 = $p;
734
- raise.zl();
728
+ raise.xl();
735
729
  // Inline function 'arrow.core.identity' call
736
730
  tmp_3 = raisedOrRethrow(e_1, raise);
737
731
  } else {
738
732
  if ($p instanceof Error) {
739
733
  var e_2 = $p;
740
- raise.zl();
734
+ raise.xl();
741
735
  throw nonFatalOrThrow(e_2);
742
736
  } else {
743
737
  throw $p;
@@ -747,12 +741,12 @@ protoOf(RaiseAccumulate).im = function (_this__u8e3s4) {
747
741
  }
748
742
  }
749
743
  var result = Unit_instance;
750
- if ($this$with.vl()) {
751
- var tmp0_safe_receiver = $this$with.cm();
744
+ if ($this$with.tl()) {
745
+ var tmp0_safe_receiver = $this$with.am();
752
746
  if (tmp0_safe_receiver == null)
753
747
  null;
754
748
  else {
755
- tmp0_safe_receiver.n1();
749
+ tmp0_safe_receiver.l1();
756
750
  throwKotlinNothingValueException();
757
751
  }
758
752
  }
@@ -760,53 +754,53 @@ protoOf(RaiseAccumulate).im = function (_this__u8e3s4) {
760
754
  var p0_0 = this_0.o5();
761
755
  return _NonEmptyList___init__impl__fxd0xp(p0_0);
762
756
  };
763
- protoOf(RaiseAccumulate).wl = function (_this__u8e3s4) {
757
+ protoOf(RaiseAccumulate).ul = function (_this__u8e3s4) {
764
758
  // Inline function 'kotlin.with' call
765
- return this.tl_1.hm(_this__u8e3s4);
759
+ return this.rl_1.fm(_this__u8e3s4);
766
760
  };
767
- protoOf(RaiseAccumulate).bm = function (errors) {
768
- return this.sl_1.bm(errors);
761
+ protoOf(RaiseAccumulate).zl = function (errors) {
762
+ return this.ql_1.zl(errors);
769
763
  };
770
- protoOf(RaiseAccumulate).vl = function () {
771
- return this.sl_1.vl();
764
+ protoOf(RaiseAccumulate).tl = function () {
765
+ return this.ql_1.tl();
772
766
  };
773
- protoOf(RaiseAccumulate).cm = function () {
774
- return this.sl_1.cm();
767
+ protoOf(RaiseAccumulate).am = function () {
768
+ return this.ql_1.am();
775
769
  };
776
770
  function Accumulate() {
777
771
  }
778
772
  function ListAccumulate$error$lambda(this$0) {
779
773
  return function () {
780
- this$0.sm_1.dm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.tm_1)));
774
+ this$0.qm_1.bm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.rm_1)));
781
775
  };
782
776
  }
783
777
  function ListAccumulate(raise) {
784
- this.sm_1 = raise;
778
+ this.qm_1 = raise;
785
779
  var tmp = this;
786
780
  // Inline function 'kotlin.collections.mutableListOf' call
787
- tmp.tm_1 = ArrayList_init_$Create$_0();
781
+ tmp.rm_1 = ArrayList_init_$Create$_0();
788
782
  var tmp_0 = this;
789
- tmp_0.um_1 = new Error_0(ListAccumulate$error$lambda(this));
783
+ tmp_0.sm_1 = new Error_0(ListAccumulate$error$lambda(this));
790
784
  }
791
- protoOf(ListAccumulate).vm = function (r) {
792
- this.sm_1.dm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.tm_1, r))));
785
+ protoOf(ListAccumulate).tm = function (r) {
786
+ this.qm_1.bm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.rm_1, r))));
793
787
  };
794
- protoOf(ListAccumulate).wm = function (r) {
795
- this.sm_1.dm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.tm_1, _NonEmptyList___get_all__impl__pmf509(r)))));
788
+ protoOf(ListAccumulate).um = function (r) {
789
+ this.qm_1.bm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.rm_1, _NonEmptyList___get_all__impl__pmf509(r)))));
796
790
  };
797
- protoOf(ListAccumulate).dm = function (r) {
798
- return this.wm(r instanceof NonEmptyList ? r.am_1 : THROW_CCE());
791
+ protoOf(ListAccumulate).bm = function (r) {
792
+ return this.um(r instanceof NonEmptyList ? r.yl_1 : THROW_CCE());
799
793
  };
800
- protoOf(ListAccumulate).bm = function (errors) {
801
- this.tm_1.e1(new NonEmptyList(errors));
802
- return this.um_1;
794
+ protoOf(ListAccumulate).zl = function (errors) {
795
+ this.rm_1.e1(new NonEmptyList(errors));
796
+ return this.sm_1;
803
797
  };
804
- protoOf(ListAccumulate).cm = function () {
798
+ protoOf(ListAccumulate).am = function () {
805
799
  // Inline function 'kotlin.takeIf' call
806
- var this_0 = this.um_1;
800
+ var this_0 = this.sm_1;
807
801
  var tmp;
808
802
  // Inline function 'kotlin.collections.isNotEmpty' call
809
- if (!this.tm_1.r()) {
803
+ if (!this.rm_1.r()) {
810
804
  tmp = this_0;
811
805
  } else {
812
806
  tmp = null;
@@ -818,24 +812,24 @@ function tolerant(_this__u8e3s4, raise) {
818
812
  }
819
813
  function TolerantAccumulate$accumulateAll$lambda(this$0, $error) {
820
814
  return function () {
821
- this$0.ym_1.dm($error);
815
+ this$0.wm_1.bm($error);
822
816
  };
823
817
  }
824
818
  function TolerantAccumulate$_get_latestError_$lambda_m5qmvg(this$0, $error) {
825
819
  return function () {
826
- this$0.ym_1.dm($error);
820
+ this$0.wm_1.bm($error);
827
821
  };
828
822
  }
829
823
  function TolerantAccumulate(underlying, raise) {
830
- this.xm_1 = underlying;
831
- this.ym_1 = raise;
824
+ this.vm_1 = underlying;
825
+ this.wm_1 = raise;
832
826
  }
833
- protoOf(TolerantAccumulate).bm = function (errors) {
834
- var error = this.xm_1.bm(errors);
827
+ protoOf(TolerantAccumulate).zl = function (errors) {
828
+ var error = this.vm_1.zl(errors);
835
829
  return new Error_0(TolerantAccumulate$accumulateAll$lambda(this, error));
836
830
  };
837
- protoOf(TolerantAccumulate).cm = function () {
838
- var tmp0_elvis_lhs = this.xm_1.cm();
831
+ protoOf(TolerantAccumulate).am = function () {
832
+ var tmp0_elvis_lhs = this.vm_1.am();
839
833
  var tmp;
840
834
  if (tmp0_elvis_lhs == null) {
841
835
  return null;
@@ -865,32 +859,32 @@ function NoTrace(raised, raise) {
865
859
  function RaiseCancellationException(raised, raise) {
866
860
  CancellationException_init_$Init$("kotlin.coroutines.cancellation.CancellationException should never get swallowed. Always re-throw it if captured.This swallows the exception of Arrow's Raise, and leads to unexpected behavior.When working with Arrow prefer Either.catch or arrow.core.raise.catch to automatically rethrow CancellationException.", this);
867
861
  captureStack(this, RaiseCancellationException);
868
- this.jm_1 = raised;
869
- this.km_1 = raise;
862
+ this.hm_1 = raised;
863
+ this.im_1 = raise;
870
864
  }
871
- protoOf(RaiseCancellationException).mm = function () {
865
+ protoOf(RaiseCancellationException).km = function () {
872
866
  // Inline function 'kotlin.js.unsafeCast' call
873
867
  // Inline function 'kotlin.js.asDynamic' call
874
868
  var tmp1_elvis_lhs = this == null ? null : this.raised;
875
- return tmp1_elvis_lhs == null ? this.jm_1 : tmp1_elvis_lhs;
869
+ return tmp1_elvis_lhs == null ? this.hm_1 : tmp1_elvis_lhs;
876
870
  };
877
- protoOf(RaiseCancellationException).lm = function () {
871
+ protoOf(RaiseCancellationException).jm = function () {
878
872
  // Inline function 'kotlin.js.unsafeCast' call
879
873
  // Inline function 'kotlin.js.asDynamic' call
880
874
  var tmp1_elvis_lhs = this == null ? null : this.raise;
881
- return tmp1_elvis_lhs == null ? this.km_1 : tmp1_elvis_lhs;
875
+ return tmp1_elvis_lhs == null ? this.im_1 : tmp1_elvis_lhs;
882
876
  };
883
877
  //region block: post-declaration
884
- protoOf(DefaultRaise).hm = bind;
885
- protoOf(DefaultRaise).im = bindAll;
878
+ protoOf(DefaultRaise).fm = bind;
879
+ protoOf(DefaultRaise).gm = bindAll;
886
880
  defineProp(protoOf(Traced), 'cause', function () {
887
881
  return this.f();
888
882
  });
889
- protoOf(RaiseAccumulate).hm = bind;
890
- protoOf(ListAccumulate).vl = get_hasAccumulatedErrors;
891
- protoOf(ListAccumulate).hm = bind;
892
- protoOf(ListAccumulate).im = bindAll;
893
- protoOf(TolerantAccumulate).vl = get_hasAccumulatedErrors;
883
+ protoOf(RaiseAccumulate).fm = bind;
884
+ protoOf(ListAccumulate).tl = get_hasAccumulatedErrors;
885
+ protoOf(ListAccumulate).fm = bind;
886
+ protoOf(ListAccumulate).gm = bindAll;
887
+ protoOf(TolerantAccumulate).tl = get_hasAccumulatedErrors;
894
888
  //endregion
895
889
  //region block: init
896
890
  Companion_instance = new Companion();