@flock/wirespec 0.8.46 → 0.8.47

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.
@@ -12,10 +12,10 @@
12
12
  }(this, function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
- var protoOf = kotlin_kotlin.$_$.q9;
16
- var classMeta = kotlin_kotlin.$_$.l8;
17
- var VOID = kotlin_kotlin.$_$.ke;
18
- var setMetadataFor = kotlin_kotlin.$_$.r9;
15
+ var protoOf = kotlin_kotlin.$_$.n7;
16
+ var classMeta = kotlin_kotlin.$_$.m6;
17
+ var VOID = kotlin_kotlin.$_$.pa;
18
+ var setMetadataFor = kotlin_kotlin.$_$.o7;
19
19
  //endregion
20
20
  //region block: pre-declaration
21
21
  setMetadataFor(AtomicBoolean, 'AtomicBoolean', classMeta);
@@ -25,26 +25,26 @@
25
25
  return _this__u8e3s4 ? 1 : 0;
26
26
  }
27
27
  function AtomicBoolean(value) {
28
- this.k1p_1 = new AtomicInt(toInt(value, this));
28
+ this.c1n_1 = new AtomicInt(toInt(value, this));
29
29
  }
30
- protoOf(AtomicBoolean).y = function () {
31
- return !(get_value(this.k1p_1) === 0);
30
+ protoOf(AtomicBoolean).q = function () {
31
+ return !(get_value(this.c1n_1) === 0);
32
32
  };
33
- protoOf(AtomicBoolean).l1p = function (value) {
34
- return this.k1p_1.n1p(toInt(value, this)) === 1;
33
+ protoOf(AtomicBoolean).d1n = function (value) {
34
+ return this.c1n_1.f1n(toInt(value, this)) === 1;
35
35
  };
36
36
  function get_value(_this__u8e3s4) {
37
- return _this__u8e3s4.o1p();
37
+ return _this__u8e3s4.g1n();
38
38
  }
39
39
  function AtomicInt(initialValue) {
40
- this.m1p_1 = initialValue;
40
+ this.e1n_1 = initialValue;
41
41
  }
42
- protoOf(AtomicInt).o1p = function () {
43
- return this.m1p_1;
42
+ protoOf(AtomicInt).g1n = function () {
43
+ return this.e1n_1;
44
44
  };
45
- protoOf(AtomicInt).n1p = function (value) {
46
- var current = this.m1p_1;
47
- this.m1p_1 = value;
45
+ protoOf(AtomicInt).f1n = function (value) {
46
+ var current = this.e1n_1;
47
+ this.e1n_1 = value;
48
48
  return current;
49
49
  };
50
50
  //region block: exports
@@ -12,9 +12,9 @@
12
12
  }(this, function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
- var classMeta = kotlin_kotlin.$_$.l8;
16
- var VOID = kotlin_kotlin.$_$.ke;
17
- var setMetadataFor = kotlin_kotlin.$_$.r9;
15
+ var classMeta = kotlin_kotlin.$_$.m6;
16
+ var VOID = kotlin_kotlin.$_$.pa;
17
+ var setMetadataFor = kotlin_kotlin.$_$.o7;
18
18
  //endregion
19
19
  //region block: pre-declaration
20
20
  setMetadataFor(ControlThrowable, 'ControlThrowable', classMeta, Error);
@@ -18,37 +18,37 @@
18
18
  }(this, function (_, kotlin_kotlin, kotlin_io_arrow_kt_arrow_atomic, kotlin_io_arrow_kt_arrow_continuations) {
19
19
  'use strict';
20
20
  //region block: imports
21
- var Unit_getInstance = kotlin_kotlin.$_$.t3;
22
- var protoOf = kotlin_kotlin.$_$.q9;
23
- var objectMeta = kotlin_kotlin.$_$.p9;
24
- var VOID = kotlin_kotlin.$_$.ke;
25
- var setMetadataFor = kotlin_kotlin.$_$.r9;
26
- var hashCode = kotlin_kotlin.$_$.t8;
27
- var THROW_CCE = kotlin_kotlin.$_$.ld;
28
- var equals = kotlin_kotlin.$_$.o8;
29
- var classMeta = kotlin_kotlin.$_$.l8;
30
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ge;
31
- var drop = kotlin_kotlin.$_$.g5;
32
- var objectCreate = kotlin_kotlin.$_$.o9;
33
- var AbstractList = kotlin_kotlin.$_$.u3;
34
- var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.l1;
35
- var listOf = kotlin_kotlin.$_$.k6;
36
- var plus = kotlin_kotlin.$_$.u6;
37
- var plus_0 = kotlin_kotlin.$_$.v6;
38
- var joinToString = kotlin_kotlin.$_$.x5;
39
- var Collection = kotlin_kotlin.$_$.x3;
40
- var firstOrNull = kotlin_kotlin.$_$.m5;
41
- var asList = kotlin_kotlin.$_$.l4;
21
+ var Unit_getInstance = kotlin_kotlin.$_$.f3;
22
+ var protoOf = kotlin_kotlin.$_$.n7;
23
+ var objectMeta = kotlin_kotlin.$_$.m7;
24
+ var VOID = kotlin_kotlin.$_$.pa;
25
+ var setMetadataFor = kotlin_kotlin.$_$.o7;
26
+ var hashCode = kotlin_kotlin.$_$.t6;
27
+ var THROW_CCE = kotlin_kotlin.$_$.r9;
28
+ var equals = kotlin_kotlin.$_$.o6;
29
+ var classMeta = kotlin_kotlin.$_$.m6;
30
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ma;
31
+ var drop = kotlin_kotlin.$_$.m4;
32
+ var objectCreate = kotlin_kotlin.$_$.l7;
33
+ var AbstractList = kotlin_kotlin.$_$.g3;
34
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d1;
35
+ var listOf = kotlin_kotlin.$_$.f5;
36
+ var plus = kotlin_kotlin.$_$.l5;
37
+ var plus_0 = kotlin_kotlin.$_$.m5;
38
+ var joinToString = kotlin_kotlin.$_$.z4;
39
+ var Collection = kotlin_kotlin.$_$.j3;
40
+ var firstOrNull = kotlin_kotlin.$_$.s4;
41
+ var asList = kotlin_kotlin.$_$.w3;
42
42
  var AtomicBoolean = kotlin_io_arrow_kt_arrow_atomic.$_$.a;
43
- var isObject = kotlin_kotlin.$_$.f9;
44
- var CancellationException = kotlin_kotlin.$_$.v7;
45
- var CancellationException_init_$Init$ = kotlin_kotlin.$_$.w;
46
- var captureStack = kotlin_kotlin.$_$.f8;
47
- var IllegalStateException = kotlin_kotlin.$_$.fd;
48
- var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.i1;
49
- var interfaceMeta = kotlin_kotlin.$_$.u8;
43
+ var isObject = kotlin_kotlin.$_$.f7;
44
+ var CancellationException = kotlin_kotlin.$_$.a6;
45
+ var CancellationException_init_$Init$ = kotlin_kotlin.$_$.t;
46
+ var captureStack = kotlin_kotlin.$_$.h6;
47
+ var IllegalStateException = kotlin_kotlin.$_$.l9;
48
+ var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.b1;
49
+ var interfaceMeta = kotlin_kotlin.$_$.u6;
50
50
  var ControlThrowable = kotlin_io_arrow_kt_arrow_continuations.$_$.a;
51
- var CancellationException_init_$Init$_0 = kotlin_kotlin.$_$.x;
51
+ var CancellationException_init_$Init$_0 = kotlin_kotlin.$_$.u;
52
52
  //endregion
53
53
  //region block: pre-declaration
54
54
  setMetadataFor(Companion, 'Companion', objectMeta);
@@ -63,10 +63,10 @@
63
63
  var tmp0_subject = _this__u8e3s4;
64
64
  var tmp;
65
65
  if (tmp0_subject instanceof Left) {
66
- this.k1q(_this__u8e3s4.r1p_1);
66
+ this.c1o(_this__u8e3s4.j1n_1);
67
67
  } else {
68
68
  if (tmp0_subject instanceof Right) {
69
- tmp = _this__u8e3s4.w1p_1;
69
+ tmp = _this__u8e3s4.o1n_1;
70
70
  } else {
71
71
  noWhenBranchMatchedException();
72
72
  }
@@ -82,7 +82,7 @@
82
82
  //endregion
83
83
  function Companion() {
84
84
  Companion_instance = this;
85
- this.p1p_1 = new Left(Unit_getInstance());
85
+ this.h1n_1 = new Left(Unit_getInstance());
86
86
  }
87
87
  var Companion_instance;
88
88
  function Companion_getInstance() {
@@ -92,7 +92,7 @@
92
92
  }
93
93
  function Companion_0() {
94
94
  Companion_instance_0 = this;
95
- this.q1p_1 = new Right(Unit_getInstance());
95
+ this.i1n_1 = new Right(Unit_getInstance());
96
96
  }
97
97
  var Companion_instance_0;
98
98
  function Companion_getInstance_0() {
@@ -103,21 +103,21 @@
103
103
  function Left(value) {
104
104
  Companion_getInstance();
105
105
  Either.call(this);
106
- this.r1p_1 = value;
107
- this.s1p_1 = true;
108
- this.t1p_1 = false;
106
+ this.j1n_1 = value;
107
+ this.k1n_1 = true;
108
+ this.l1n_1 = false;
109
109
  }
110
- protoOf(Left).u1p = function () {
111
- return this.s1p_1;
110
+ protoOf(Left).m1n = function () {
111
+ return this.k1n_1;
112
112
  };
113
- protoOf(Left).v1p = function () {
114
- return this.t1p_1;
113
+ protoOf(Left).n1n = function () {
114
+ return this.l1n_1;
115
115
  };
116
116
  protoOf(Left).toString = function () {
117
- return 'Either.Left(' + this.r1p_1 + ')';
117
+ return 'Either.Left(' + this.j1n_1 + ')';
118
118
  };
119
119
  protoOf(Left).hashCode = function () {
120
- return this.r1p_1 == null ? 0 : hashCode(this.r1p_1);
120
+ return this.j1n_1 == null ? 0 : hashCode(this.j1n_1);
121
121
  };
122
122
  protoOf(Left).equals = function (other) {
123
123
  if (this === other)
@@ -125,28 +125,28 @@
125
125
  if (!(other instanceof Left))
126
126
  return false;
127
127
  var tmp0_other_with_cast = other instanceof Left ? other : THROW_CCE();
128
- if (!equals(this.r1p_1, tmp0_other_with_cast.r1p_1))
128
+ if (!equals(this.j1n_1, tmp0_other_with_cast.j1n_1))
129
129
  return false;
130
130
  return true;
131
131
  };
132
132
  function Right(value) {
133
133
  Companion_getInstance_0();
134
134
  Either.call(this);
135
- this.w1p_1 = value;
136
- this.x1p_1 = false;
137
- this.y1p_1 = true;
135
+ this.o1n_1 = value;
136
+ this.p1n_1 = false;
137
+ this.q1n_1 = true;
138
138
  }
139
- protoOf(Right).u1p = function () {
140
- return this.x1p_1;
139
+ protoOf(Right).m1n = function () {
140
+ return this.p1n_1;
141
141
  };
142
- protoOf(Right).v1p = function () {
143
- return this.y1p_1;
142
+ protoOf(Right).n1n = function () {
143
+ return this.q1n_1;
144
144
  };
145
145
  protoOf(Right).toString = function () {
146
- return 'Either.Right(' + this.w1p_1 + ')';
146
+ return 'Either.Right(' + this.o1n_1 + ')';
147
147
  };
148
148
  protoOf(Right).hashCode = function () {
149
- return this.w1p_1 == null ? 0 : hashCode(this.w1p_1);
149
+ return this.o1n_1 == null ? 0 : hashCode(this.o1n_1);
150
150
  };
151
151
  protoOf(Right).equals = function (other) {
152
152
  if (this === other)
@@ -154,7 +154,7 @@
154
154
  if (!(other instanceof Right))
155
155
  return false;
156
156
  var tmp0_other_with_cast = other instanceof Right ? other : THROW_CCE();
157
- if (!equals(this.w1p_1, tmp0_other_with_cast.w1p_1))
157
+ if (!equals(this.o1n_1, tmp0_other_with_cast.o1n_1))
158
158
  return false;
159
159
  return true;
160
160
  };
@@ -176,11 +176,11 @@
176
176
  var tmp;
177
177
  if (this instanceof Right) {
178
178
  // Inline function 'arrow.core.Either.toString.<anonymous>' call
179
- tmp = 'Either.Right(' + this.w1p_1 + ')';
179
+ tmp = 'Either.Right(' + this.o1n_1 + ')';
180
180
  } else {
181
181
  if (this instanceof Left) {
182
182
  // Inline function 'arrow.core.Either.toString.<anonymous>' call
183
- tmp = 'Either.Left(' + this.r1p_1 + ')';
183
+ tmp = 'Either.Left(' + this.j1n_1 + ')';
184
184
  } else {
185
185
  noWhenBranchMatchedException();
186
186
  }
@@ -188,7 +188,7 @@
188
188
  return tmp;
189
189
  };
190
190
  function NonEmptyList_init_$Init$(list, $this) {
191
- NonEmptyList.call($this, list.k(0), drop(list, 1));
191
+ NonEmptyList.call($this, list.h(0), drop(list, 1));
192
192
  return $this;
193
193
  }
194
194
  function NonEmptyList_init_$Create$(list) {
@@ -196,7 +196,7 @@
196
196
  }
197
197
  function Companion_2() {
198
198
  Companion_instance_2 = this;
199
- this.z1p_1 = nonEmptyListOf(Unit_getInstance(), []);
199
+ this.r1n_1 = nonEmptyListOf(Unit_getInstance(), []);
200
200
  }
201
201
  var Companion_instance_2;
202
202
  function Companion_getInstance_2() {
@@ -207,29 +207,29 @@
207
207
  function NonEmptyList(head, tail) {
208
208
  Companion_getInstance_2();
209
209
  AbstractList.call(this);
210
- this.a1q_1 = head;
211
- this.b1q_1 = tail;
212
- this.c1q_1 = 1 + this.b1q_1.f() | 0;
210
+ this.s1n_1 = head;
211
+ this.t1n_1 = tail;
212
+ this.u1n_1 = 1 + this.t1n_1.f() | 0;
213
213
  }
214
214
  protoOf(NonEmptyList).f = function () {
215
- return this.c1q_1;
215
+ return this.u1n_1;
216
216
  };
217
- protoOf(NonEmptyList).d1q = function () {
218
- return this.e1q();
217
+ protoOf(NonEmptyList).v1n = function () {
218
+ return this.w1n();
219
219
  };
220
- protoOf(NonEmptyList).k = function (index) {
221
- if (index < 0 ? true : index >= this.c1q_1)
222
- throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in 1..' + (this.c1q_1 - 1 | 0));
223
- return index === 0 ? this.a1q_1 : this.b1q_1.k(index - 1 | 0);
220
+ protoOf(NonEmptyList).h = function (index) {
221
+ if (index < 0 ? true : index >= this.u1n_1)
222
+ throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in 1..' + (this.u1n_1 - 1 | 0));
223
+ return index === 0 ? this.s1n_1 : this.t1n_1.h(index - 1 | 0);
224
224
  };
225
- protoOf(NonEmptyList).l = function () {
225
+ protoOf(NonEmptyList).g = function () {
226
226
  return false;
227
227
  };
228
- protoOf(NonEmptyList).e1q = function () {
229
- return plus(listOf(this.a1q_1), this.b1q_1);
228
+ protoOf(NonEmptyList).w1n = function () {
229
+ return plus(listOf(this.s1n_1), this.t1n_1);
230
230
  };
231
- protoOf(NonEmptyList).f1q = function (element) {
232
- return NonEmptyList_init_$Create$(plus_0(this.d1q(), element));
231
+ protoOf(NonEmptyList).x1n = function (element) {
232
+ return NonEmptyList_init_$Create$(plus_0(this.v1n(), element));
233
233
  };
234
234
  protoOf(NonEmptyList).equals = function (other) {
235
235
  return protoOf(AbstractList).equals.call(this, other);
@@ -238,7 +238,7 @@
238
238
  return protoOf(AbstractList).hashCode.call(this);
239
239
  };
240
240
  protoOf(NonEmptyList).toString = function () {
241
- return 'NonEmptyList(' + joinToString(this.d1q()) + ')';
241
+ return 'NonEmptyList(' + joinToString(this.v1n()) + ')';
242
242
  };
243
243
  function toNonEmptyListOrNull(_this__u8e3s4) {
244
244
  var tmp0_safe_receiver = firstOrNull(_this__u8e3s4);
@@ -266,43 +266,43 @@
266
266
  return tmp;
267
267
  }
268
268
  function DefaultRaise(isTraced) {
269
- this.g1q_1 = isTraced;
270
- this.h1q_1 = new AtomicBoolean(true);
269
+ this.y1n_1 = isTraced;
270
+ this.z1n_1 = new AtomicBoolean(true);
271
271
  }
272
- protoOf(DefaultRaise).i1q = function () {
273
- return this.h1q_1.l1p(false);
272
+ protoOf(DefaultRaise).a1o = function () {
273
+ return this.z1n_1.d1n(false);
274
274
  };
275
- protoOf(DefaultRaise).j1q = function (r) {
275
+ protoOf(DefaultRaise).b1o = function (r) {
276
276
  var tmp;
277
- if (this.h1q_1.y()) {
278
- throw this.g1q_1 ? new RaiseCancellationException(r, this) : new RaiseCancellationExceptionNoTrace(r, this);
277
+ if (this.z1n_1.q()) {
278
+ throw this.y1n_1 ? new RaiseCancellationException(r, this) : new RaiseCancellationExceptionNoTrace(r, this);
279
279
  } else {
280
280
  throw new RaiseLeakedException();
281
281
  }
282
282
  };
283
- protoOf(DefaultRaise).k1q = function (r) {
284
- return this.j1q((r == null ? true : isObject(r)) ? r : THROW_CCE());
283
+ protoOf(DefaultRaise).c1o = function (r) {
284
+ return this.b1o((r == null ? true : isObject(r)) ? r : THROW_CCE());
285
285
  };
286
286
  function raisedOrRethrow(_this__u8e3s4, raise) {
287
287
  var tmp;
288
288
  var tmp_0;
289
289
  if (_this__u8e3s4 instanceof RaiseCancellationExceptionNoTrace) {
290
- tmp_0 = _this__u8e3s4.n1q_1 === raise;
290
+ tmp_0 = _this__u8e3s4.f1o_1 === raise;
291
291
  } else {
292
292
  tmp_0 = false;
293
293
  }
294
294
  if (tmp_0) {
295
- var tmp_1 = _this__u8e3s4.m1q_1;
295
+ var tmp_1 = _this__u8e3s4.e1o_1;
296
296
  tmp = (tmp_1 == null ? true : isObject(tmp_1)) ? tmp_1 : THROW_CCE();
297
297
  } else {
298
298
  var tmp_2;
299
299
  if (_this__u8e3s4 instanceof RaiseCancellationException) {
300
- tmp_2 = _this__u8e3s4.p1q_1 === raise;
300
+ tmp_2 = _this__u8e3s4.h1o_1 === raise;
301
301
  } else {
302
302
  tmp_2 = false;
303
303
  }
304
304
  if (tmp_2) {
305
- var tmp_3 = _this__u8e3s4.o1q_1;
305
+ var tmp_3 = _this__u8e3s4.g1o_1;
306
306
  tmp = (tmp_3 == null ? true : isObject(tmp_3)) ? tmp_3 : THROW_CCE();
307
307
  } else {
308
308
  throw _this__u8e3s4;
@@ -313,14 +313,14 @@
313
313
  function RaiseCancellationException(raised, raise) {
314
314
  CancellationException_init_$Init$(this);
315
315
  captureStack(this, RaiseCancellationException);
316
- this.o1q_1 = raised;
317
- this.p1q_1 = raise;
316
+ this.g1o_1 = raised;
317
+ this.h1o_1 = raise;
318
318
  }
319
319
  function RaiseCancellationExceptionNoTrace(raised, raise) {
320
320
  CancellationExceptionNoTrace.call(this);
321
321
  captureStack(this, RaiseCancellationExceptionNoTrace);
322
- this.m1q_1 = raised;
323
- this.n1q_1 = raise;
322
+ this.e1o_1 = raised;
323
+ this.f1o_1 = raise;
324
324
  }
325
325
  function RaiseLeakedException() {
326
326
  IllegalStateException_init_$Init$('raise or bind was called outside of its DSL scope, and the DSL Scoped operator was leaked\nThis is kind of usage is incorrect, make sure all calls to raise or bind occur within the lifecycle of effect { }, either { } or similar builders.\n\nSee: Effect documentation for additional information.', this);
@@ -352,7 +352,7 @@
352
352
  captureStack(this, CancellationExceptionNoTrace);
353
353
  }
354
354
  //region block: post-declaration
355
- protoOf(DefaultRaise).l1q = bind;
355
+ protoOf(DefaultRaise).d1o = bind;
356
356
  //endregion
357
357
  //region block: init
358
358
  RaiseCancellationExceptionCaptured = "kotlin.coroutines.cancellation.CancellationException should never get cancelled. 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.";