@flock/wirespec 0.19.0-RC.2 → 0.19.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 (83) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +163 -163
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt-mordant.mjs.map +1 -1
  5. package/clikt-clikt.mjs +1566 -1566
  6. package/clikt-clikt.mjs.map +1 -1
  7. package/colormath-root-colormath.mjs +444 -444
  8. package/kotlin-kotlin-stdlib.mjs +2571 -5539
  9. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  10. package/kotlin-openapi-bindings.mjs +20696 -6702
  11. package/kotlin-openapi-bindings.mjs.map +1 -1
  12. package/kotlin-rgxgen.mjs +1818 -1818
  13. package/kotlinx-io-kotlinx-io-core.mjs +453 -453
  14. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  15. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2224 -2061
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  17. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1956 -1481
  18. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  19. package/mordant-mordant.mjs +1361 -1361
  20. package/package.json +14 -9
  21. package/wirespec-lsp.mjs +7 -0
  22. package/wirespec-msw.d.ts +53 -0
  23. package/wirespec-msw.mjs +83 -0
  24. package/wirespec-src-compiler-core.mjs +1760 -1696
  25. package/wirespec-src-compiler-core.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-java.mjs +461 -425
  27. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-kotlin.mjs +408 -309
  29. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-python.mjs +382 -383
  31. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  32. package/wirespec-src-compiler-emitters-rust.mjs +448 -425
  33. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  34. package/wirespec-src-compiler-emitters-scala.mjs +171 -172
  35. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  36. package/wirespec-src-compiler-emitters-typescript.mjs +508 -477
  37. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  38. package/wirespec-src-compiler-emitters-wirespec.mjs +83 -83
  39. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  40. package/wirespec-src-compiler-ir.mjs +3869 -3919
  41. package/wirespec-src-compiler-ir.mjs.map +1 -1
  42. package/wirespec-src-compiler-lib.mjs +418 -418
  43. package/wirespec-src-compiler-lib.mjs.map +1 -1
  44. package/wirespec-src-converter-avro.mjs +512 -512
  45. package/wirespec-src-converter-avro.mjs.map +1 -1
  46. package/wirespec-src-converter-openapi.mjs +1596 -1522
  47. package/wirespec-src-converter-openapi.mjs.map +1 -1
  48. package/wirespec-src-ide-lsp.mjs +4928 -0
  49. package/wirespec-src-ide-lsp.mjs.map +1 -0
  50. package/wirespec-src-plugin-arguments.mjs +185 -185
  51. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  52. package/wirespec-src-plugin-cli.mjs +106 -106
  53. package/wirespec-src-plugin-npm.d.mts +2 -11
  54. package/wirespec-src-plugin-npm.mjs +47 -42
  55. package/wirespec-src-plugin-npm.mjs.map +1 -1
  56. package/wirespec-src-tools-generator.mjs +53 -53
  57. package/wirespec-src-tools-generator.mjs.map +1 -1
  58. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +0 -4
  59. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +0 -1
  60. package/kotest-kotest-assertions-kotest-assertions-core.mjs +0 -4
  61. package/kotest-kotest-assertions-kotest-assertions-core.mjs.map +0 -1
  62. package/kotest-kotest-assertions-kotest-assertions-shared.mjs +0 -4
  63. package/kotest-kotest-assertions-kotest-assertions-shared.mjs.map +0 -1
  64. package/kotest-kotest-common.mjs +0 -56
  65. package/kotest-kotest-common.mjs.map +0 -1
  66. package/kotest-kotest-framework-kotest-framework-engine.mjs +0 -4
  67. package/kotest-kotest-framework-kotest-framework-engine.mjs.map +0 -1
  68. package/kotest-kotest-property-kotest-property-datetime.mjs +0 -4
  69. package/kotest-kotest-property-kotest-property-datetime.mjs.map +0 -1
  70. package/kotest-kotest-property.mjs +0 -3230
  71. package/kotest-kotest-property.mjs.map +0 -1
  72. package/kotest-property-arbs.mjs +0 -482
  73. package/kotest-property-arbs.mjs.map +0 -1
  74. package/kotlinx-coroutines-test.mjs +0 -4
  75. package/kotlinx-coroutines-test.mjs.map +0 -1
  76. package/wirespec-generator.d.ts +0 -52
  77. package/wirespec-generator.mjs +0 -9
  78. package/wirespec-src-integration-kotest.mjs +0 -1537
  79. package/wirespec-src-integration-kotest.mjs.map +0 -1
  80. package/xmlutil-core.mjs +0 -4
  81. package/xmlutil-core.mjs.map +0 -1
  82. package/xmlutil-serialization.mjs +0 -4
  83. package/xmlutil-serialization.mjs.map +0 -1
@@ -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.rq(_this__u8e3s4.dq_1);
60
+ this.rm(_this__u8e3s4.dm_1);
61
61
  } else {
62
62
  if (_this__u8e3s4 instanceof Right)
63
- return _this__u8e3s4.fq_1;
63
+ return _this__u8e3s4.fm_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.vq(item);
78
+ var tmp$ret$0 = this.vm(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.qq() == null);
92
+ return !(this.qm() == 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.cq_1 = new Right(Unit_instance);
107
+ this.cm_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.dq_1 = value;
117
+ this.dm_1 = value;
118
118
  }
119
119
  protoOf(Left).toString = function () {
120
- return 'Either.Left(' + toString(this.dq_1) + ')';
120
+ return 'Either.Left(' + toString(this.dm_1) + ')';
121
121
  };
122
122
  protoOf(Left).hashCode = function () {
123
- return this.dq_1 == null ? 0 : hashCode(this.dq_1);
123
+ return this.dm_1 == null ? 0 : hashCode(this.dm_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.dq_1, other.dq_1))
130
+ if (!equals(this.dm_1, other.dm_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.fq_1 = value;
137
+ this.fm_1 = value;
138
138
  }
139
139
  protoOf(Right).toString = function () {
140
- return 'Either.Right(' + toString(this.fq_1) + ')';
140
+ return 'Either.Right(' + toString(this.fm_1) + ')';
141
141
  };
142
142
  protoOf(Right).hashCode = function () {
143
- return this.fq_1 == null ? 0 : hashCode(this.fq_1);
143
+ return this.fm_1 == null ? 0 : hashCode(this.fm_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.fq_1, other.fq_1))
150
+ if (!equals(this.fm_1, other.fm_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).eq = function () {
162
+ protoOf(Either).em = function () {
163
163
  // Inline function 'arrow.core.getOrElse' call
164
164
  var tmp;
165
165
  if (this instanceof Left) {
166
- this.dq_1;
166
+ this.dm_1;
167
167
  tmp = null;
168
168
  } else {
169
169
  if (this instanceof Right) {
170
- tmp = this.fq_1;
170
+ tmp = this.fm_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.fq_1;
181
+ var it = this.fm_1;
182
182
  tmp = 'Either.Right(' + toString(it) + ')';
183
183
  } else {
184
184
  if (this instanceof Left) {
185
- var it_0 = this.dq_1;
185
+ var it_0 = this.dm_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.jq();
240
+ var hasErrors = $this$accumulating.jm();
241
241
  // Inline function 'kotlin.also' call
242
- var this_2 = $this$accumulating.kq(element);
242
+ var this_2 = $this$accumulating.km(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.nq();
247
+ raise_1.nm();
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.nq();
255
- var p0 = raisedOrRethrow(e, raise_1).oq_1;
256
- tmp_3 = this_1.pq(p0);
254
+ raise_1.nm();
255
+ var p0 = raisedOrRethrow(e, raise_1).om_1;
256
+ tmp_3 = this_1.pm(p0);
257
257
  } else {
258
258
  if ($p instanceof Error) {
259
259
  var e_0 = $p;
260
- raise_1.nq();
260
+ raise_1.nm();
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.nq();
269
+ raise_0.nm();
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.nq();
276
+ raise_0.nm();
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.nq();
282
+ raise_0.nm();
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.jq()) {
293
- var tmp0_safe_receiver = $this$with.qq();
292
+ if ($this$with.jm()) {
293
+ var tmp0_safe_receiver = $this$with.qm();
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
- var res_1 = this_0.u5();
302
- raise.nq();
301
+ var res_1 = this_0.o5();
302
+ raise.nm();
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.nq();
308
+ raise.nm();
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.nq();
314
+ raise.nm();
315
315
  throw nonFatalOrThrow(e_4);
316
316
  } else {
317
317
  throw $p;
@@ -324,7 +324,7 @@ function flattenOrAccumulate(_this__u8e3s4) {
324
324
  function collectionSizeOrDefault_0(_this__u8e3s4, default_0) {
325
325
  var tmp;
326
326
  if (isInterface(_this__u8e3s4, Collection)) {
327
- tmp = _this__u8e3s4.b1();
327
+ tmp = _this__u8e3s4.a1();
328
328
  } else {
329
329
  tmp = default_0;
330
330
  }
@@ -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.rq(new NonEmptyList(tmp$ret$0));
337
+ $$this$recover.rm(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.oq_1));
352
+ tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.om_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).r2(1, _NonEmptyList___get_all__impl__pmf509($this).b1());
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.sq_1 = nonEmptyListOf(Unit_instance, []);
384
+ this.sm_1 = nonEmptyListOf(Unit_instance, []);
385
385
  }
386
386
  var Companion_instance_2;
387
387
  function Companion_getInstance_2() {
@@ -390,56 +390,56 @@ function Companion_getInstance_2() {
390
390
  return Companion_instance_2;
391
391
  }
392
392
  function NonEmptyList__contains_impl_w1668g($this, element) {
393
- return $this.a2(element);
393
+ return $this.u1(element);
394
394
  }
395
395
  function NonEmptyList__iterator_impl_kgqsin($this) {
396
396
  return $this.t();
397
397
  }
398
398
  function NonEmptyList__get_impl_oqktx($this, index) {
399
- return $this.g1(index);
399
+ return $this.b1(index);
400
400
  }
401
401
  function NonEmptyList__listIterator_impl_8vm28t($this, index) {
402
- return $this.h1(index);
402
+ return $this.g1(index);
403
403
  }
404
404
  function NonEmptyList__subList_impl_8uxff1($this, fromIndex, toIndex) {
405
- return $this.r2(fromIndex, toIndex);
405
+ return $this.l2(fromIndex, toIndex);
406
406
  }
407
407
  function _NonEmptyList___get_size__impl__xcrchh($this) {
408
- return $this.b1();
408
+ return $this.a1();
409
409
  }
410
410
  function NonEmptyList(all) {
411
411
  Companion_getInstance_2();
412
- this.oq_1 = all;
412
+ this.om_1 = all;
413
413
  }
414
414
  protoOf(NonEmptyList).equals = function (other) {
415
- return NonEmptyList__equals_impl_crn5lc(this.oq_1, other);
415
+ return NonEmptyList__equals_impl_crn5lc(this.om_1, other);
416
416
  };
417
417
  protoOf(NonEmptyList).hashCode = function () {
418
- return NonEmptyList__hashCode_impl_38rpg4(this.oq_1);
418
+ return NonEmptyList__hashCode_impl_38rpg4(this.om_1);
419
419
  };
420
420
  protoOf(NonEmptyList).r = function () {
421
- return NonEmptyList__isEmpty_impl_cueu5k(this.oq_1);
421
+ return NonEmptyList__isEmpty_impl_cueu5k(this.om_1);
422
422
  };
423
423
  protoOf(NonEmptyList).toString = function () {
424
- return NonEmptyList__toString_impl_ozxm8z(this.oq_1);
424
+ return NonEmptyList__toString_impl_ozxm8z(this.om_1);
425
425
  };
426
- protoOf(NonEmptyList).a2 = function (element) {
427
- return NonEmptyList__contains_impl_w1668g(this.oq_1, element);
426
+ protoOf(NonEmptyList).u1 = function (element) {
427
+ return NonEmptyList__contains_impl_w1668g(this.om_1, element);
428
428
  };
429
429
  protoOf(NonEmptyList).t = function () {
430
- return NonEmptyList__iterator_impl_kgqsin(this.oq_1);
430
+ return NonEmptyList__iterator_impl_kgqsin(this.om_1);
431
431
  };
432
- protoOf(NonEmptyList).g1 = function (index) {
433
- return NonEmptyList__get_impl_oqktx(this.oq_1, index);
432
+ protoOf(NonEmptyList).b1 = function (index) {
433
+ return NonEmptyList__get_impl_oqktx(this.om_1, index);
434
434
  };
435
- protoOf(NonEmptyList).h1 = function (index) {
436
- return NonEmptyList__listIterator_impl_8vm28t(this.oq_1, index);
435
+ protoOf(NonEmptyList).g1 = function (index) {
436
+ return NonEmptyList__listIterator_impl_8vm28t(this.om_1, index);
437
437
  };
438
- protoOf(NonEmptyList).r2 = function (fromIndex, toIndex) {
439
- return NonEmptyList__subList_impl_8uxff1(this.oq_1, fromIndex, toIndex);
438
+ protoOf(NonEmptyList).l2 = function (fromIndex, toIndex) {
439
+ return NonEmptyList__subList_impl_8uxff1(this.om_1, fromIndex, toIndex);
440
440
  };
441
- protoOf(NonEmptyList).b1 = function () {
442
- return _NonEmptyList___get_size__impl__xcrchh(this.oq_1);
441
+ protoOf(NonEmptyList).a1 = function () {
442
+ return _NonEmptyList___get_size__impl__xcrchh(this.om_1);
443
443
  };
444
444
  function nonEmptyListOf(head, t) {
445
445
  return _NonEmptyList___init__impl__fxd0xp(plus_1(listOf(head), t));
@@ -503,43 +503,43 @@ function Companion_getInstance_3() {
503
503
  return Companion_instance_3;
504
504
  }
505
505
  function NonEmptySet__contains_impl_tkiyt0($this, element) {
506
- return $this.a2(element);
506
+ return $this.u1(element);
507
507
  }
508
508
  function NonEmptySet__iterator_impl_b1bvkz($this) {
509
509
  return $this.t();
510
510
  }
511
511
  function NonEmptySet__containsAll_impl_kivnxv($this, elements) {
512
- return $this.s2(elements);
512
+ return $this.m2(elements);
513
513
  }
514
514
  function _NonEmptySet___get_size__impl__tvkxr($this) {
515
- return $this.b1();
515
+ return $this.a1();
516
516
  }
517
517
  function NonEmptySet(elements) {
518
- this.tq_1 = elements;
518
+ this.tm_1 = elements;
519
519
  }
520
520
  protoOf(NonEmptySet).r = function () {
521
- return NonEmptySet__isEmpty_impl_56jel0(this.tq_1);
521
+ return NonEmptySet__isEmpty_impl_56jel0(this.tm_1);
522
522
  };
523
523
  protoOf(NonEmptySet).toString = function () {
524
- return NonEmptySet__toString_impl_yfcj6n(this.tq_1);
524
+ return NonEmptySet__toString_impl_yfcj6n(this.tm_1);
525
525
  };
526
526
  protoOf(NonEmptySet).equals = function (other) {
527
- return NonEmptySet__equals_impl_2ou2p8(this.tq_1, other);
527
+ return NonEmptySet__equals_impl_2ou2p8(this.tm_1, other);
528
528
  };
529
529
  protoOf(NonEmptySet).hashCode = function () {
530
- return NonEmptySet__hashCode_impl_co6mds(this.tq_1);
530
+ return NonEmptySet__hashCode_impl_co6mds(this.tm_1);
531
531
  };
532
- protoOf(NonEmptySet).a2 = function (element) {
533
- return NonEmptySet__contains_impl_tkiyt0(this.tq_1, element);
532
+ protoOf(NonEmptySet).u1 = function (element) {
533
+ return NonEmptySet__contains_impl_tkiyt0(this.tm_1, element);
534
534
  };
535
535
  protoOf(NonEmptySet).t = function () {
536
- return NonEmptySet__iterator_impl_b1bvkz(this.tq_1);
536
+ return NonEmptySet__iterator_impl_b1bvkz(this.tm_1);
537
537
  };
538
- protoOf(NonEmptySet).s2 = function (elements) {
539
- return NonEmptySet__containsAll_impl_kivnxv(this.tq_1, elements);
538
+ protoOf(NonEmptySet).m2 = function (elements) {
539
+ return NonEmptySet__containsAll_impl_kivnxv(this.tm_1, elements);
540
540
  };
541
- protoOf(NonEmptySet).b1 = function () {
542
- return _NonEmptySet___get_size__impl__tvkxr(this.tq_1);
541
+ protoOf(NonEmptySet).a1 = function () {
542
+ return _NonEmptySet___get_size__impl__tvkxr(this.tm_1);
543
543
  };
544
544
  function nonEmptySetOf(first, rest) {
545
545
  return _NonEmptySet___init__impl__248bef_0(first, asIterable(rest));
@@ -551,33 +551,33 @@ function wrapAsNonEmptySetOrNull(_this__u8e3s4) {
551
551
  return _this__u8e3s4.r() ? null : _NonEmptySet___init__impl__248bef(_this__u8e3s4);
552
552
  }
553
553
  function DefaultRaise(isTraced) {
554
- this.lq_1 = isTraced;
555
- this.mq_1 = new AtomicBoolean(true);
554
+ this.lm_1 = isTraced;
555
+ this.mm_1 = new AtomicBoolean(true);
556
556
  }
557
- protoOf(DefaultRaise).nq = function () {
558
- return this.mq_1.yp(false);
557
+ protoOf(DefaultRaise).nm = function () {
558
+ return this.mm_1.yl(false);
559
559
  };
560
- protoOf(DefaultRaise).uq = function (r) {
560
+ protoOf(DefaultRaise).um = function (r) {
561
561
  var tmp;
562
- if (this.mq_1.n1()) {
563
- throw this.lq_1 ? new Traced(r, this) : NoTrace(r, this);
562
+ if (this.mm_1.l1()) {
563
+ throw this.lm_1 ? new Traced(r, this) : NoTrace(r, this);
564
564
  } else {
565
565
  throw new RaiseLeakedException();
566
566
  }
567
567
  };
568
- protoOf(DefaultRaise).rq = function (r) {
569
- return this.uq((r == null ? true : !(r == null)) ? r : THROW_CCE());
568
+ protoOf(DefaultRaise).rm = function (r) {
569
+ return this.um((r == null ? true : !(r == null)) ? r : THROW_CCE());
570
570
  };
571
571
  function raisedOrRethrow(_this__u8e3s4, raise) {
572
572
  var tmp;
573
573
  var tmp_0;
574
574
  if (_this__u8e3s4 instanceof RaiseCancellationException) {
575
- tmp_0 = _this__u8e3s4.zq() === raise;
575
+ tmp_0 = _this__u8e3s4.zm() === raise;
576
576
  } else {
577
577
  tmp_0 = false;
578
578
  }
579
579
  if (tmp_0) {
580
- var tmp_1 = _this__u8e3s4.ar();
580
+ var tmp_1 = _this__u8e3s4.an();
581
581
  tmp = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
582
582
  } else {
583
583
  throw _this__u8e3s4;
@@ -588,11 +588,11 @@ function Traced(raised, raise, cause) {
588
588
  cause = cause === VOID ? null : cause;
589
589
  RaiseCancellationException.call(this, raised, raise);
590
590
  captureStack(this, Traced);
591
- this.dr_1 = cause;
591
+ this.dn_1 = cause;
592
592
  delete this.cause;
593
593
  }
594
594
  protoOf(Traced).f = function () {
595
- return this.dr_1;
595
+ return this.dn_1;
596
596
  };
597
597
  function RaiseLeakedException() {
598
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);
@@ -615,22 +615,22 @@ function Value() {
615
615
  }
616
616
  function Error_0(raise) {
617
617
  Value.call(this);
618
- this.er_1 = raise;
618
+ this.en_1 = raise;
619
619
  }
620
- protoOf(Error_0).n1 = function () {
621
- this.er_1();
620
+ protoOf(Error_0).l1 = function () {
621
+ this.en_1();
622
622
  return throwKotlinNothingValueException();
623
623
  };
624
624
  function Ok(value) {
625
625
  Value.call(this);
626
- this.fr_1 = value;
626
+ this.fn_1 = value;
627
627
  }
628
- protoOf(Ok).n1 = function () {
629
- return this.fr_1;
628
+ protoOf(Ok).l1 = function () {
629
+ return this.fn_1;
630
630
  };
631
631
  function ListAccumulate$raiseSingle$ref(p0) {
632
632
  var l = function (_this__u8e3s4) {
633
- p0.jr(_this__u8e3s4);
633
+ p0.jn(_this__u8e3s4);
634
634
  };
635
635
  l.callableName = 'raiseSingle';
636
636
  return l;
@@ -639,22 +639,22 @@ function RaiseAccumulate$bindAll$lambda($$this$recover) {
639
639
  return function (it) {
640
640
  // Inline function 'arrow.core.nel' call
641
641
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
642
- $$this$recover.rq(new NonEmptyList(tmp$ret$0));
642
+ $$this$recover.rm(new NonEmptyList(tmp$ret$0));
643
643
  };
644
644
  }
645
645
  function RaiseAccumulate(accumulate, raise, raiseErrorsWith) {
646
- this.gq_1 = accumulate;
647
- this.hq_1 = raise;
648
- this.iq_1 = raiseErrorsWith;
646
+ this.gm_1 = accumulate;
647
+ this.hm_1 = raise;
648
+ this.im_1 = raiseErrorsWith;
649
649
  }
650
- protoOf(RaiseAccumulate).rq = function (r) {
651
- this.iq_1(r);
650
+ protoOf(RaiseAccumulate).rm = function (r) {
651
+ this.im_1(r);
652
652
  return throwKotlinNothingValueException();
653
653
  };
654
- protoOf(RaiseAccumulate).wq = function (_this__u8e3s4) {
654
+ protoOf(RaiseAccumulate).wm = function (_this__u8e3s4) {
655
655
  // Inline function 'arrow.core.raise.RaiseAccumulate.mapOrAccumulate' call
656
656
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
657
- var tmp0 = this.hq_1;
657
+ var tmp0 = this.hm_1;
658
658
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
659
659
  var iterable = _NonEmptyList___get_all__impl__pmf509(_this__u8e3s4);
660
660
  // Inline function 'kotlin.collections.buildList' call
@@ -689,27 +689,27 @@ protoOf(RaiseAccumulate).wq = function (_this__u8e3s4) {
689
689
  try {
690
690
  var tmp_1 = tolerant(this_1, raise);
691
691
  var $this$accumulating = new RaiseAccumulate(tmp_1, raise_0, RaiseAccumulate$bindAll$lambda(raise_0));
692
- var hasErrors = $this$accumulating.jq();
692
+ var hasErrors = $this$accumulating.jm();
693
693
  // Inline function 'kotlin.also' call
694
- var this_2 = $this$accumulating.vq(element);
694
+ var this_2 = $this$accumulating.vm(element);
695
695
  if (!hasErrors) {
696
696
  this_0.x(this_2);
697
697
  }
698
698
  var res = new Ok(Unit_instance);
699
- raise_0.nq();
699
+ raise_0.nm();
700
700
  // Inline function 'arrow.core.identity' call
701
701
  tmp_0 = res;
702
702
  } catch ($p) {
703
703
  var tmp_2;
704
704
  if ($p instanceof RaiseCancellationException) {
705
705
  var e = $p;
706
- raise_0.nq();
707
- var p0 = raisedOrRethrow(e, raise_0).oq_1;
708
- tmp_2 = this_1.pq(p0);
706
+ raise_0.nm();
707
+ var p0 = raisedOrRethrow(e, raise_0).om_1;
708
+ tmp_2 = this_1.pm(p0);
709
709
  } else {
710
710
  if ($p instanceof Error) {
711
711
  var e_0 = $p;
712
- raise_0.nq();
712
+ raise_0.nm();
713
713
  throw nonFatalOrThrow(e_0);
714
714
  } else {
715
715
  throw $p;
@@ -718,20 +718,20 @@ protoOf(RaiseAccumulate).wq = function (_this__u8e3s4) {
718
718
  tmp_0 = tmp_2;
719
719
  }
720
720
  var res_0 = tmp_0;
721
- raise.nq();
721
+ raise.nm();
722
722
  // Inline function 'arrow.core.identity' call
723
723
  tmp = res_0;
724
724
  } catch ($p) {
725
725
  var tmp_3;
726
726
  if ($p instanceof RaiseCancellationException) {
727
727
  var e_1 = $p;
728
- raise.nq();
728
+ raise.nm();
729
729
  // Inline function 'arrow.core.identity' call
730
730
  tmp_3 = raisedOrRethrow(e_1, raise);
731
731
  } else {
732
732
  if ($p instanceof Error) {
733
733
  var e_2 = $p;
734
- raise.nq();
734
+ raise.nm();
735
735
  throw nonFatalOrThrow(e_2);
736
736
  } else {
737
737
  throw $p;
@@ -741,66 +741,66 @@ protoOf(RaiseAccumulate).wq = function (_this__u8e3s4) {
741
741
  }
742
742
  }
743
743
  var result = Unit_instance;
744
- if ($this$with.jq()) {
745
- var tmp0_safe_receiver = $this$with.qq();
744
+ if ($this$with.jm()) {
745
+ var tmp0_safe_receiver = $this$with.qm();
746
746
  if (tmp0_safe_receiver == null)
747
747
  null;
748
748
  else {
749
- tmp0_safe_receiver.n1();
749
+ tmp0_safe_receiver.l1();
750
750
  throwKotlinNothingValueException();
751
751
  }
752
752
  }
753
753
  // Inline function 'kotlin.let' call
754
- var p0_0 = this_0.u5();
754
+ var p0_0 = this_0.o5();
755
755
  return _NonEmptyList___init__impl__fxd0xp(p0_0);
756
756
  };
757
- protoOf(RaiseAccumulate).kq = function (_this__u8e3s4) {
757
+ protoOf(RaiseAccumulate).km = function (_this__u8e3s4) {
758
758
  // Inline function 'kotlin.with' call
759
- return this.hq_1.vq(_this__u8e3s4);
759
+ return this.hm_1.vm(_this__u8e3s4);
760
760
  };
761
- protoOf(RaiseAccumulate).pq = function (errors) {
762
- return this.gq_1.pq(errors);
761
+ protoOf(RaiseAccumulate).pm = function (errors) {
762
+ return this.gm_1.pm(errors);
763
763
  };
764
- protoOf(RaiseAccumulate).jq = function () {
765
- return this.gq_1.jq();
764
+ protoOf(RaiseAccumulate).jm = function () {
765
+ return this.gm_1.jm();
766
766
  };
767
- protoOf(RaiseAccumulate).qq = function () {
768
- return this.gq_1.qq();
767
+ protoOf(RaiseAccumulate).qm = function () {
768
+ return this.gm_1.qm();
769
769
  };
770
770
  function Accumulate() {
771
771
  }
772
772
  function ListAccumulate$error$lambda(this$0) {
773
773
  return function () {
774
- this$0.gr_1.rq(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.hr_1)));
774
+ this$0.gn_1.rm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.hn_1)));
775
775
  };
776
776
  }
777
777
  function ListAccumulate(raise) {
778
- this.gr_1 = raise;
778
+ this.gn_1 = raise;
779
779
  var tmp = this;
780
780
  // Inline function 'kotlin.collections.mutableListOf' call
781
- tmp.hr_1 = ArrayList_init_$Create$_0();
781
+ tmp.hn_1 = ArrayList_init_$Create$_0();
782
782
  var tmp_0 = this;
783
- tmp_0.ir_1 = new Error_0(ListAccumulate$error$lambda(this));
783
+ tmp_0.in_1 = new Error_0(ListAccumulate$error$lambda(this));
784
784
  }
785
- protoOf(ListAccumulate).jr = function (r) {
786
- this.gr_1.rq(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.hr_1, r))));
785
+ protoOf(ListAccumulate).jn = function (r) {
786
+ this.gn_1.rm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.hn_1, r))));
787
787
  };
788
- protoOf(ListAccumulate).kr = function (r) {
789
- this.gr_1.rq(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.hr_1, _NonEmptyList___get_all__impl__pmf509(r)))));
788
+ protoOf(ListAccumulate).kn = function (r) {
789
+ this.gn_1.rm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.hn_1, _NonEmptyList___get_all__impl__pmf509(r)))));
790
790
  };
791
- protoOf(ListAccumulate).rq = function (r) {
792
- return this.kr(r instanceof NonEmptyList ? r.oq_1 : THROW_CCE());
791
+ protoOf(ListAccumulate).rm = function (r) {
792
+ return this.kn(r instanceof NonEmptyList ? r.om_1 : THROW_CCE());
793
793
  };
794
- protoOf(ListAccumulate).pq = function (errors) {
795
- this.hr_1.f1(new NonEmptyList(errors));
796
- return this.ir_1;
794
+ protoOf(ListAccumulate).pm = function (errors) {
795
+ this.hn_1.f1(new NonEmptyList(errors));
796
+ return this.in_1;
797
797
  };
798
- protoOf(ListAccumulate).qq = function () {
798
+ protoOf(ListAccumulate).qm = function () {
799
799
  // Inline function 'kotlin.takeIf' call
800
- var this_0 = this.ir_1;
800
+ var this_0 = this.in_1;
801
801
  var tmp;
802
802
  // Inline function 'kotlin.collections.isNotEmpty' call
803
- if (!this.hr_1.r()) {
803
+ if (!this.hn_1.r()) {
804
804
  tmp = this_0;
805
805
  } else {
806
806
  tmp = null;
@@ -812,24 +812,24 @@ function tolerant(_this__u8e3s4, raise) {
812
812
  }
813
813
  function TolerantAccumulate$accumulateAll$lambda(this$0, $error) {
814
814
  return function () {
815
- this$0.mr_1.rq($error);
815
+ this$0.mn_1.rm($error);
816
816
  };
817
817
  }
818
818
  function TolerantAccumulate$_get_latestError_$lambda_m5qmvg(this$0, $error) {
819
819
  return function () {
820
- this$0.mr_1.rq($error);
820
+ this$0.mn_1.rm($error);
821
821
  };
822
822
  }
823
823
  function TolerantAccumulate(underlying, raise) {
824
- this.lr_1 = underlying;
825
- this.mr_1 = raise;
824
+ this.ln_1 = underlying;
825
+ this.mn_1 = raise;
826
826
  }
827
- protoOf(TolerantAccumulate).pq = function (errors) {
828
- var error = this.lr_1.pq(errors);
827
+ protoOf(TolerantAccumulate).pm = function (errors) {
828
+ var error = this.ln_1.pm(errors);
829
829
  return new Error_0(TolerantAccumulate$accumulateAll$lambda(this, error));
830
830
  };
831
- protoOf(TolerantAccumulate).qq = function () {
832
- var tmp0_elvis_lhs = this.lr_1.qq();
831
+ protoOf(TolerantAccumulate).qm = function () {
832
+ var tmp0_elvis_lhs = this.ln_1.qm();
833
833
  var tmp;
834
834
  if (tmp0_elvis_lhs == null) {
835
835
  return null;
@@ -859,32 +859,32 @@ function NoTrace(raised, raise) {
859
859
  function RaiseCancellationException(raised, raise) {
860
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);
861
861
  captureStack(this, RaiseCancellationException);
862
- this.xq_1 = raised;
863
- this.yq_1 = raise;
862
+ this.xm_1 = raised;
863
+ this.ym_1 = raise;
864
864
  }
865
- protoOf(RaiseCancellationException).ar = function () {
865
+ protoOf(RaiseCancellationException).an = function () {
866
866
  // Inline function 'kotlin.js.unsafeCast' call
867
867
  // Inline function 'kotlin.js.asDynamic' call
868
868
  var tmp1_elvis_lhs = this == null ? null : this.raised;
869
- return tmp1_elvis_lhs == null ? this.xq_1 : tmp1_elvis_lhs;
869
+ return tmp1_elvis_lhs == null ? this.xm_1 : tmp1_elvis_lhs;
870
870
  };
871
- protoOf(RaiseCancellationException).zq = function () {
871
+ protoOf(RaiseCancellationException).zm = function () {
872
872
  // Inline function 'kotlin.js.unsafeCast' call
873
873
  // Inline function 'kotlin.js.asDynamic' call
874
874
  var tmp1_elvis_lhs = this == null ? null : this.raise;
875
- return tmp1_elvis_lhs == null ? this.yq_1 : tmp1_elvis_lhs;
875
+ return tmp1_elvis_lhs == null ? this.ym_1 : tmp1_elvis_lhs;
876
876
  };
877
877
  //region block: post-declaration
878
- protoOf(DefaultRaise).vq = bind;
879
- protoOf(DefaultRaise).wq = bindAll;
878
+ protoOf(DefaultRaise).vm = bind;
879
+ protoOf(DefaultRaise).wm = bindAll;
880
880
  defineProp(protoOf(Traced), 'cause', function () {
881
881
  return this.f();
882
882
  });
883
- protoOf(RaiseAccumulate).vq = bind;
884
- protoOf(ListAccumulate).jq = get_hasAccumulatedErrors;
885
- protoOf(ListAccumulate).vq = bind;
886
- protoOf(ListAccumulate).wq = bindAll;
887
- protoOf(TolerantAccumulate).jq = get_hasAccumulatedErrors;
883
+ protoOf(RaiseAccumulate).vm = bind;
884
+ protoOf(ListAccumulate).jm = get_hasAccumulatedErrors;
885
+ protoOf(ListAccumulate).vm = bind;
886
+ protoOf(ListAccumulate).wm = bindAll;
887
+ protoOf(TolerantAccumulate).jm = get_hasAccumulatedErrors;
888
888
  //endregion
889
889
  //region block: init
890
890
  Companion_instance = new Companion();