@flock/wirespec 0.19.0-RC.2 → 0.19.0-RC.3
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.
- package/arrow-arrow-atomic.mjs +12 -12
- package/arrow-arrow-core.mjs +163 -163
- package/clikt-clikt-mordant.mjs +80 -80
- package/clikt-clikt.mjs +1570 -1570
- package/colormath-root-colormath.mjs +444 -444
- package/kotest-kotest-property.mjs +605 -1435
- package/kotest-kotest-property.mjs.map +1 -1
- package/kotest-property-arbs.mjs +0 -478
- package/kotest-property-arbs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +2478 -2738
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +4926 -4926
- package/kotlin-openapi-bindings.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1819 -1819
- package/kotlinx-io-kotlinx-io-core.mjs +440 -440
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1792 -1792
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1395 -1395
- package/mordant-mordant.mjs +1362 -1362
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +1541 -1541
- package/wirespec-src-compiler-emitters-java.mjs +387 -387
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +341 -341
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +371 -371
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +416 -416
- package/wirespec-src-compiler-emitters-scala.mjs +168 -168
- package/wirespec-src-compiler-emitters-typescript.mjs +471 -471
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +87 -87
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-ir.mjs +3672 -3672
- package/wirespec-src-compiler-lib.mjs +418 -418
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-avro.mjs +512 -512
- package/wirespec-src-converter-openapi.mjs +772 -772
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-integration-kotest.mjs +490 -572
- package/wirespec-src-integration-kotest.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +185 -185
- package/wirespec-src-plugin-cli.mjs +106 -106
- package/wirespec-src-plugin-npm.d.mts +1 -1
- package/wirespec-src-plugin-npm.mjs +40 -40
- package/wirespec-src-tools-generator.mjs +35 -35
|
@@ -18,16 +18,13 @@ import {
|
|
|
18
18
|
emptyList1g2z5xcrvp2zy as emptyList,
|
|
19
19
|
lazy2hsh8ze7j6ikd as lazy,
|
|
20
20
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
21
|
-
ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$_0,
|
|
22
21
|
distinct10qe1scfdvu5k as distinct,
|
|
22
|
+
ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$_0,
|
|
23
23
|
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
24
|
-
|
|
25
|
-
take2rh6pen3z50h7 as take,
|
|
26
|
-
plus310ted5e4i90h as plus,
|
|
24
|
+
listOf1jh22dvmctj1r as listOf,
|
|
27
25
|
CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
|
|
28
26
|
isInterface3d6p8outrmvmk as isInterface,
|
|
29
27
|
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
30
|
-
listOf1jh22dvmctj1r as listOf,
|
|
31
28
|
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
|
|
32
29
|
Enum3alwj03lh1n41 as Enum,
|
|
33
30
|
EmptyCoroutineContext_getInstance10e98b8bnsvr1 as EmptyCoroutineContext_getInstance,
|
|
@@ -53,7 +50,7 @@ import {
|
|
|
53
50
|
filter184huxd00uyfg as filter,
|
|
54
51
|
firstqtqxwgtggxw8 as first_0,
|
|
55
52
|
UIntRangemvq5a1vbdqql as UIntRange,
|
|
56
|
-
take3onnpy6q7ctcz as
|
|
53
|
+
take3onnpy6q7ctcz as take,
|
|
57
54
|
dropLast1vpiyky649o34 as dropLast,
|
|
58
55
|
drop3na99dw9feawf as drop,
|
|
59
56
|
listOfvhqybd2zx248 as listOf_0,
|
|
@@ -61,15 +58,10 @@ import {
|
|
|
61
58
|
firstOrNull1982767dljvdy as firstOrNull,
|
|
62
59
|
listOfNotNull2woi2boe01ub4 as listOfNotNull,
|
|
63
60
|
nextInt2pxj3bzg1eemu as nextInt,
|
|
61
|
+
take2rh6pen3z50h7 as take_0,
|
|
64
62
|
toListx6x8nvfmvvht as toList,
|
|
65
|
-
_Char___init__impl__6a9atx1csff5kwtduxl as _Char___init__impl__6a9atx,
|
|
66
|
-
Char19o2r8palgjof as Char,
|
|
67
|
-
StringBuilder_init_$Create$39ouzl6b47q8d as StringBuilder_init_$Create$,
|
|
68
|
-
joinToStringooja5rkatz3u as joinToString,
|
|
69
|
-
Char__rangeTo_impl_tkncvp2rh7j0ueljywd as Char__rangeTo_impl_tkncvp,
|
|
70
|
-
plus39kp8wyage607 as plus_0,
|
|
71
|
-
plus20p0vtfmu0596 as plus_1,
|
|
72
63
|
rangeTo5xinnemk0fd3 as rangeTo,
|
|
64
|
+
plus310ted5e4i90h as plus,
|
|
73
65
|
RegexOption_IGNORE_CASE_getInstance2ohbx186qe23p as RegexOption_IGNORE_CASE_getInstance,
|
|
74
66
|
Regex_init_$Create$o3w44y7t0smx as Regex_init_$Create$,
|
|
75
67
|
isFinite2t9l5a275mxm6 as isFinite,
|
|
@@ -78,25 +70,18 @@ import {
|
|
|
78
70
|
isCharSequence1ju9jr1w86plq as isCharSequence,
|
|
79
71
|
charSequenceLength3278n89t01tmv as charSequenceLength,
|
|
80
72
|
charSequenceGet1vxk1y5n17t1z as charSequenceGet,
|
|
73
|
+
_Char___init__impl__6a9atx1csff5kwtduxl as _Char___init__impl__6a9atx,
|
|
81
74
|
charSequenceSubSequence1iwpdba8s3jc7 as charSequenceSubSequence,
|
|
82
75
|
last2n4gf5az1lkn4 as last,
|
|
83
76
|
isDigit3mimrri4wkzop as isDigit,
|
|
84
77
|
take9j4462mea726 as take_1,
|
|
85
78
|
takeLast2r8kr8e6g6hi7 as takeLast,
|
|
86
79
|
dropLastlqc2oyv04br0 as dropLast_0,
|
|
87
|
-
toListcthpck5qntdg as toList_0,
|
|
88
|
-
minus1djrl64vbav3y as minus,
|
|
89
|
-
joinToString1cxrrlmo0chqs as joinToString_0,
|
|
90
|
-
toString3dhdjl9yf50de as toString_1,
|
|
91
|
-
Regex_init_$Create$9xrx4twz2i6q as Regex_init_$Create$_0,
|
|
92
|
-
sequenceOfdrc6uefhtiet as sequenceOf,
|
|
93
|
-
plus2l6bq32n2wlna as plus_2,
|
|
94
|
-
firstOrNull175qkyx53x0vd as firstOrNull_0,
|
|
95
80
|
rangeToeizvz34h11nd as rangeTo_0,
|
|
96
81
|
isFinite1tx0gn65nl9tj as isFinite_0,
|
|
97
82
|
abs1kdzbjes1idip as abs,
|
|
98
83
|
reversed22y3au42jl32b as reversed,
|
|
99
|
-
plus2lupu3ot2lvhl as
|
|
84
|
+
plus2lupu3ot2lvhl as plus_0,
|
|
100
85
|
distinct24ithjwsnuqq8 as distinct_0,
|
|
101
86
|
uintDivide3r5nfwgstcow1 as uintDivide,
|
|
102
87
|
UInt__toInt_impl_93yt4d1l5chk3dckogz as UInt__toInt_impl_93yt4d,
|
|
@@ -115,6 +100,7 @@ import {
|
|
|
115
100
|
equalsLong28bsrfhwvd686 as equalsLong,
|
|
116
101
|
nextLong1aiee7lbc67js as nextLong,
|
|
117
102
|
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
103
|
+
plus20p0vtfmu0596 as plus_1,
|
|
118
104
|
toLongkk4waq8msp1k as toLong,
|
|
119
105
|
Randomei1bbeye8rr8 as Random,
|
|
120
106
|
Default_getInstance1yflkybdrpcz6 as Default_getInstance,
|
|
@@ -143,8 +129,6 @@ initMetadataForClass(ShrinkingMode, 'ShrinkingMode');
|
|
|
143
129
|
initMetadataForObject(Off, 'Off', VOID, ShrinkingMode);
|
|
144
130
|
initMetadataForObject(Unbounded, 'Unbounded', VOID, ShrinkingMode);
|
|
145
131
|
initMetadataForClass(Bounded, 'Bounded', VOID, ShrinkingMode);
|
|
146
|
-
initMetadataForClass(bindN$1, VOID, VOID, Arb);
|
|
147
|
-
initMetadataForLambda(unit$slambda, CoroutineImpl, VOID, [2]);
|
|
148
132
|
initMetadataForLambda(boolean$slambda, CoroutineImpl, VOID, [2]);
|
|
149
133
|
initMetadataForInterface(ArbitraryBuilderContext, 'ArbitraryBuilderContext', VOID, VOID, VOID, [1]);
|
|
150
134
|
initMetadataForClass(SingleShotGenerationMode, 'SingleShotGenerationMode', VOID, Enum);
|
|
@@ -153,26 +137,21 @@ initMetadataForClass(Restricted, 'Restricted', VOID, SingleShotArbContinuation,
|
|
|
153
137
|
initMetadataForCompanion(Companion_1);
|
|
154
138
|
initMetadataForClass(ArbitraryBuilder$build$1, VOID, VOID, Arb);
|
|
155
139
|
initMetadataForClass(ArbitraryBuilder, 'ArbitraryBuilder');
|
|
156
|
-
initMetadataForLambda(arbitrary$slambda, CoroutineImpl, VOID, [2]);
|
|
157
140
|
initMetadataForLambda(arbitrary$o$delegate$slambda, CoroutineImpl, VOID, [2]);
|
|
158
|
-
initMetadataForClass(arbitrary$
|
|
141
|
+
initMetadataForClass(arbitrary$1, VOID, VOID, Arb);
|
|
159
142
|
initMetadataForLambda(arbitraryBuilder$o$runBuilderFn$slambda, CoroutineImpl, VOID, [1]);
|
|
160
143
|
initMetadataForClass(arbitraryBuilder$1, VOID, VOID, Arb);
|
|
161
144
|
initMetadataForLambda(arbitrary$o$delegate$slambda_1, CoroutineImpl, VOID, [2]);
|
|
162
|
-
initMetadataForClass(arbitrary$
|
|
145
|
+
initMetadataForClass(arbitrary$2, VOID, VOID, Arb);
|
|
146
|
+
initMetadataForLambda(arbitrary$slambda, CoroutineImpl, VOID, [2]);
|
|
163
147
|
initMetadataForLambda(arbitrary$o$delegate$slambda_3, CoroutineImpl, VOID, [2]);
|
|
164
148
|
initMetadataForClass(arbitrary$5, VOID, VOID, Arb);
|
|
165
149
|
initMetadataForLambda(byte$slambda, CoroutineImpl, VOID, [2]);
|
|
166
150
|
initMetadataForClass(ListShrinker, 'ListShrinker');
|
|
167
151
|
initMetadataForLambda(element$slambda, CoroutineImpl, VOID, [2]);
|
|
168
152
|
initMetadataForLambda(list$slambda, CoroutineImpl, VOID, [2]);
|
|
169
|
-
initMetadataForLambda(_labelArb$slambda, CoroutineImpl, VOID, [2]);
|
|
170
|
-
initMetadataForLambda(validCharsArb$slambda, CoroutineImpl, VOID, [2]);
|
|
171
|
-
initMetadataForLambda(domain$slambda, CoroutineImpl, VOID, [2]);
|
|
172
153
|
initMetadataForObject(DoubleShrinker, 'DoubleShrinker');
|
|
173
154
|
initMetadataForLambda(double$slambda, CoroutineImpl, VOID, [2]);
|
|
174
|
-
initMetadataForLambda(emailLocalPart$slambda, CoroutineImpl, VOID, [2]);
|
|
175
|
-
initMetadataForClass(filter$2$1, VOID, VOID, Arb);
|
|
176
155
|
initMetadataForObject(FloatShrinker, 'FloatShrinker');
|
|
177
156
|
initMetadataForLambda(float$slambda, CoroutineImpl, VOID, [2]);
|
|
178
157
|
initMetadataForClass(IntShrinker, 'IntShrinker');
|
|
@@ -180,7 +159,6 @@ initMetadataForClass(UIntShrinker, 'UIntShrinker');
|
|
|
180
159
|
initMetadataForClass(LongShrinker, 'LongShrinker');
|
|
181
160
|
initMetadataForClass(TrampolineArb, 'TrampolineArb', VOID, Arb);
|
|
182
161
|
initMetadataForClass(map$2$1, VOID, VOID, Arb);
|
|
183
|
-
initMetadataForLambda(ipAddressV4$slambda, CoroutineImpl, VOID, [2]);
|
|
184
162
|
initMetadataForClass(IntClassifier, 'IntClassifier');
|
|
185
163
|
initMetadataForClass(LongClassifier, 'LongClassifier');
|
|
186
164
|
initMetadataForObject(PropertyTesting, 'PropertyTesting');
|
|
@@ -198,21 +176,21 @@ function Companion_getInstance() {
|
|
|
198
176
|
}
|
|
199
177
|
function Arb$samples$lambda(this$0, $rs) {
|
|
200
178
|
return function () {
|
|
201
|
-
return this$0.
|
|
179
|
+
return this$0.t5q($rs);
|
|
202
180
|
};
|
|
203
181
|
}
|
|
204
182
|
function Arb() {
|
|
205
183
|
Gen.call(this);
|
|
206
184
|
}
|
|
207
|
-
protoOf(Arb).
|
|
185
|
+
protoOf(Arb).v5q = function (rs) {
|
|
208
186
|
return generateSequence(Arb$samples$lambda(this, rs));
|
|
209
187
|
};
|
|
210
188
|
function Gen$generate$lambda($rs, $edgeConfig, this$0, $samples) {
|
|
211
189
|
return function () {
|
|
212
|
-
var isEdgeCase = $rs.
|
|
190
|
+
var isEdgeCase = $rs.z5q_1.mi(0.0, 1.0) < $edgeConfig.b5r_1;
|
|
213
191
|
var tmp;
|
|
214
192
|
if (isEdgeCase) {
|
|
215
|
-
var tmp0_elvis_lhs = this$0.
|
|
193
|
+
var tmp0_elvis_lhs = this$0.u5q($rs);
|
|
216
194
|
tmp = tmp0_elvis_lhs == null ? $samples.v() : tmp0_elvis_lhs;
|
|
217
195
|
} else {
|
|
218
196
|
tmp = $samples.v();
|
|
@@ -223,7 +201,7 @@ function Gen$generate$lambda($rs, $edgeConfig, this$0, $samples) {
|
|
|
223
201
|
function Gen$generate$lambda_0(this$0) {
|
|
224
202
|
return function () {
|
|
225
203
|
// Inline function 'kotlin.collections.map' call
|
|
226
|
-
var this_0 = this$0.
|
|
204
|
+
var this_0 = this$0.s2();
|
|
227
205
|
// Inline function 'kotlin.collections.mapTo' call
|
|
228
206
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
229
207
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -236,18 +214,18 @@ function Gen$generate$lambda_0(this$0) {
|
|
|
236
214
|
};
|
|
237
215
|
}
|
|
238
216
|
function Gen() {
|
|
239
|
-
this.
|
|
217
|
+
this.w5q_1 = null;
|
|
240
218
|
}
|
|
241
|
-
protoOf(Gen).
|
|
219
|
+
protoOf(Gen).x5q = function (rs, edgeConfig) {
|
|
242
220
|
var tmp;
|
|
243
221
|
if (this instanceof Arb) {
|
|
244
|
-
var samples = this.
|
|
222
|
+
var samples = this.v5q(rs).t();
|
|
245
223
|
tmp = generateSequence(Gen$generate$lambda(rs, edgeConfig, this, samples));
|
|
246
224
|
} else {
|
|
247
225
|
if (this instanceof Exhaustive) {
|
|
248
226
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
249
227
|
// Inline function 'kotlin.check' call
|
|
250
|
-
if (!!this.
|
|
228
|
+
if (!!this.s2().r()) {
|
|
251
229
|
var message = "Exhaustive.values shouldn't be a empty list.";
|
|
252
230
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
253
231
|
}
|
|
@@ -258,9 +236,9 @@ protoOf(Gen).p5r = function (rs, edgeConfig) {
|
|
|
258
236
|
}
|
|
259
237
|
return tmp;
|
|
260
238
|
};
|
|
261
|
-
protoOf(Gen).
|
|
239
|
+
protoOf(Gen).y5q = function (rs, edgeConfig, $super) {
|
|
262
240
|
edgeConfig = edgeConfig === VOID ? default_0(Companion_instance_0) : edgeConfig;
|
|
263
|
-
return $super === VOID ? this.
|
|
241
|
+
return $super === VOID ? this.x5q(rs, edgeConfig) : $super.x5q.call(this, rs, edgeConfig);
|
|
264
242
|
};
|
|
265
243
|
function Sample$_init_$lambda_a4a8db($value) {
|
|
266
244
|
return function () {
|
|
@@ -275,21 +253,15 @@ function Sample(value, shrinks) {
|
|
|
275
253
|
tmp = shrinks;
|
|
276
254
|
}
|
|
277
255
|
shrinks = tmp;
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
256
|
+
this.d5r_1 = value;
|
|
257
|
+
this.e5r_1 = shrinks;
|
|
280
258
|
}
|
|
281
|
-
protoOf(Sample).pf = function () {
|
|
282
|
-
return this.v5r_1;
|
|
283
|
-
};
|
|
284
|
-
protoOf(Sample).qf = function () {
|
|
285
|
-
return this.w5r_1;
|
|
286
|
-
};
|
|
287
259
|
protoOf(Sample).toString = function () {
|
|
288
|
-
return 'Sample(value=' + toString_0(this.
|
|
260
|
+
return 'Sample(value=' + toString_0(this.d5r_1) + ', shrinks=' + this.e5r_1.toString() + ')';
|
|
289
261
|
};
|
|
290
262
|
protoOf(Sample).hashCode = function () {
|
|
291
|
-
var result = this.
|
|
292
|
-
result = imul(result, 31) + this.
|
|
263
|
+
var result = this.d5r_1 == null ? 0 : hashCode(this.d5r_1);
|
|
264
|
+
result = imul(result, 31) + this.e5r_1.hashCode() | 0;
|
|
293
265
|
return result;
|
|
294
266
|
};
|
|
295
267
|
protoOf(Sample).equals = function (other) {
|
|
@@ -297,9 +269,9 @@ protoOf(Sample).equals = function (other) {
|
|
|
297
269
|
return true;
|
|
298
270
|
if (!(other instanceof Sample))
|
|
299
271
|
return false;
|
|
300
|
-
if (!equals(this.
|
|
272
|
+
if (!equals(this.d5r_1, other.d5r_1))
|
|
301
273
|
return false;
|
|
302
|
-
if (!this.
|
|
274
|
+
if (!this.e5r_1.equals(other.e5r_1))
|
|
303
275
|
return false;
|
|
304
276
|
return true;
|
|
305
277
|
};
|
|
@@ -310,34 +282,34 @@ function Companion_getInstance_0() {
|
|
|
310
282
|
return Companion_instance_0;
|
|
311
283
|
}
|
|
312
284
|
function EdgeConfig(edgecasesGenerationProbability) {
|
|
313
|
-
edgecasesGenerationProbability = edgecasesGenerationProbability === VOID ? PropertyTesting_getInstance().
|
|
314
|
-
this.
|
|
315
|
-
var containsArg = this.
|
|
285
|
+
edgecasesGenerationProbability = edgecasesGenerationProbability === VOID ? PropertyTesting_getInstance().s5r_1 : edgecasesGenerationProbability;
|
|
286
|
+
this.b5r_1 = edgecasesGenerationProbability;
|
|
287
|
+
var containsArg = this.b5r_1;
|
|
316
288
|
// Inline function 'kotlin.check' call
|
|
317
289
|
if (!(0.0 <= containsArg ? containsArg <= 1.0 : false)) {
|
|
318
|
-
var message = 'provided edgecasesProbability ' + this.
|
|
290
|
+
var message = 'provided edgecasesProbability ' + this.b5r_1 + ' is not between 0.0 and 1.0';
|
|
319
291
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
320
292
|
}
|
|
321
293
|
}
|
|
322
294
|
protoOf(EdgeConfig).toString = function () {
|
|
323
|
-
return 'EdgeConfig(edgecasesGenerationProbability=' + this.
|
|
295
|
+
return 'EdgeConfig(edgecasesGenerationProbability=' + this.b5r_1 + ')';
|
|
324
296
|
};
|
|
325
297
|
protoOf(EdgeConfig).hashCode = function () {
|
|
326
|
-
return getNumberHashCode(this.
|
|
298
|
+
return getNumberHashCode(this.b5r_1);
|
|
327
299
|
};
|
|
328
300
|
protoOf(EdgeConfig).equals = function (other) {
|
|
329
301
|
if (this === other)
|
|
330
302
|
return true;
|
|
331
303
|
if (!(other instanceof EdgeConfig))
|
|
332
304
|
return false;
|
|
333
|
-
if (!equals(this.
|
|
305
|
+
if (!equals(this.b5r_1, other.b5r_1))
|
|
334
306
|
return false;
|
|
335
307
|
return true;
|
|
336
308
|
};
|
|
337
309
|
function Exhaustive() {
|
|
338
310
|
}
|
|
339
|
-
protoOf(Exhaustive).
|
|
340
|
-
return of(Companion_instance, this.
|
|
311
|
+
protoOf(Exhaustive).b5s = function () {
|
|
312
|
+
return of(Companion_instance, this.s2());
|
|
341
313
|
};
|
|
342
314
|
function asSample(_this__u8e3s4) {
|
|
343
315
|
return new Sample(_this__u8e3s4);
|
|
@@ -356,15 +328,15 @@ function RTree(value, children) {
|
|
|
356
328
|
tmp = children;
|
|
357
329
|
}
|
|
358
330
|
children = tmp;
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
331
|
+
this.c5s_1 = value;
|
|
332
|
+
this.d5s_1 = children;
|
|
361
333
|
}
|
|
362
334
|
protoOf(RTree).toString = function () {
|
|
363
|
-
return 'RTree(value=' + toString(this.
|
|
335
|
+
return 'RTree(value=' + toString(this.c5s_1) + ', children=' + toString(this.d5s_1) + ')';
|
|
364
336
|
};
|
|
365
337
|
protoOf(RTree).hashCode = function () {
|
|
366
|
-
var result = hashCode(this.
|
|
367
|
-
result = imul(result, 31) + hashCode(this.
|
|
338
|
+
var result = hashCode(this.c5s_1);
|
|
339
|
+
result = imul(result, 31) + hashCode(this.d5s_1) | 0;
|
|
368
340
|
return result;
|
|
369
341
|
};
|
|
370
342
|
protoOf(RTree).equals = function (other) {
|
|
@@ -372,31 +344,15 @@ protoOf(RTree).equals = function (other) {
|
|
|
372
344
|
return true;
|
|
373
345
|
if (!(other instanceof RTree))
|
|
374
346
|
return false;
|
|
375
|
-
if (!equals(this.
|
|
347
|
+
if (!equals(this.c5s_1, other.c5s_1))
|
|
376
348
|
return false;
|
|
377
|
-
if (!equals(this.
|
|
349
|
+
if (!equals(this.d5s_1, other.d5s_1))
|
|
378
350
|
return false;
|
|
379
351
|
return true;
|
|
380
352
|
};
|
|
381
353
|
function bimap(_this__u8e3s4, f, g) {
|
|
382
354
|
return new bimap$1(_this__u8e3s4, f, g);
|
|
383
355
|
}
|
|
384
|
-
function filter_0(_this__u8e3s4, predicate) {
|
|
385
|
-
var a = _this__u8e3s4.u5s_1();
|
|
386
|
-
var tmp;
|
|
387
|
-
if (predicate(a)) {
|
|
388
|
-
var tmp_0 = filter$lambda(a);
|
|
389
|
-
tmp = new RTree(tmp_0, lazy(filter$lambda_0(_this__u8e3s4, predicate)));
|
|
390
|
-
} else {
|
|
391
|
-
tmp = null;
|
|
392
|
-
}
|
|
393
|
-
return tmp;
|
|
394
|
-
}
|
|
395
|
-
function map_0(_this__u8e3s4, f) {
|
|
396
|
-
var b = map$lambda(f, _this__u8e3s4);
|
|
397
|
-
var c = lazy(map$lambda_0(_this__u8e3s4, f));
|
|
398
|
-
return new RTree(b, c);
|
|
399
|
-
}
|
|
400
356
|
function rtree(_this__u8e3s4, value) {
|
|
401
357
|
var fn = rtree$lambda(value);
|
|
402
358
|
return rtree_0(_this__u8e3s4, fn);
|
|
@@ -404,15 +360,20 @@ function rtree(_this__u8e3s4, value) {
|
|
|
404
360
|
function rtree_0(_this__u8e3s4, value) {
|
|
405
361
|
return new RTree(value, lazy(rtree$lambda_0(value, _this__u8e3s4)));
|
|
406
362
|
}
|
|
363
|
+
function map(_this__u8e3s4, f) {
|
|
364
|
+
var b = map$lambda(f, _this__u8e3s4);
|
|
365
|
+
var c = lazy(map$lambda_0(_this__u8e3s4, f));
|
|
366
|
+
return new RTree(b, c);
|
|
367
|
+
}
|
|
407
368
|
function bimap$1($this_bimap, $f, $g) {
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
369
|
+
this.e5s_1 = $this_bimap;
|
|
370
|
+
this.f5s_1 = $f;
|
|
371
|
+
this.g5s_1 = $g;
|
|
411
372
|
}
|
|
412
|
-
protoOf(bimap$1).
|
|
413
|
-
var tmp0 = this.
|
|
373
|
+
protoOf(bimap$1).h5s = function (value) {
|
|
374
|
+
var tmp0 = this.e5s_1.i5s(this.f5s_1(value));
|
|
414
375
|
// Inline function 'kotlin.collections.map' call
|
|
415
|
-
var transform = this.
|
|
376
|
+
var transform = this.g5s_1;
|
|
416
377
|
// Inline function 'kotlin.collections.mapTo' call
|
|
417
378
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0, 10));
|
|
418
379
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -422,55 +383,9 @@ protoOf(bimap$1).z5s = function (value) {
|
|
|
422
383
|
}
|
|
423
384
|
return destination;
|
|
424
385
|
};
|
|
425
|
-
protoOf(bimap$1).
|
|
426
|
-
return this.
|
|
386
|
+
protoOf(bimap$1).i5s = function (value) {
|
|
387
|
+
return this.h5s((value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
427
388
|
};
|
|
428
|
-
function filter$lambda($a) {
|
|
429
|
-
return function () {
|
|
430
|
-
return $a;
|
|
431
|
-
};
|
|
432
|
-
}
|
|
433
|
-
function filter$lambda_0($this_filter, $predicate) {
|
|
434
|
-
return function () {
|
|
435
|
-
// Inline function 'kotlin.collections.mapNotNull' call
|
|
436
|
-
var tmp0 = $this_filter.v5s_1.n1();
|
|
437
|
-
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
438
|
-
var destination = ArrayList_init_$Create$_0();
|
|
439
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
440
|
-
var _iterator__ex2g4s = tmp0.t();
|
|
441
|
-
while (_iterator__ex2g4s.u()) {
|
|
442
|
-
var element = _iterator__ex2g4s.v();
|
|
443
|
-
var tmp0_safe_receiver = filter_0(element, $predicate);
|
|
444
|
-
if (tmp0_safe_receiver == null)
|
|
445
|
-
null;
|
|
446
|
-
else {
|
|
447
|
-
// Inline function 'kotlin.let' call
|
|
448
|
-
destination.x(tmp0_safe_receiver);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
return destination;
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
function map$lambda($f, $this_map) {
|
|
455
|
-
return function () {
|
|
456
|
-
return $f($this_map.u5s_1());
|
|
457
|
-
};
|
|
458
|
-
}
|
|
459
|
-
function map$lambda_0($this_map, $f) {
|
|
460
|
-
return function () {
|
|
461
|
-
// Inline function 'kotlin.collections.map' call
|
|
462
|
-
var this_0 = $this_map.v5s_1.n1();
|
|
463
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
464
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
465
|
-
var _iterator__ex2g4s = this_0.t();
|
|
466
|
-
while (_iterator__ex2g4s.u()) {
|
|
467
|
-
var item = _iterator__ex2g4s.v();
|
|
468
|
-
var tmp$ret$0 = map_0(item, $f);
|
|
469
|
-
destination.x(tmp$ret$0);
|
|
470
|
-
}
|
|
471
|
-
return destination;
|
|
472
|
-
};
|
|
473
|
-
}
|
|
474
389
|
function rtree$lambda($value) {
|
|
475
390
|
return function () {
|
|
476
391
|
return $value;
|
|
@@ -480,7 +395,7 @@ function rtree$lambda_0($value, $this_rtree) {
|
|
|
480
395
|
return function () {
|
|
481
396
|
var a = $value();
|
|
482
397
|
// Inline function 'kotlin.collections.filter' call
|
|
483
|
-
var tmp0 = distinct($this_rtree.
|
|
398
|
+
var tmp0 = distinct($this_rtree.i5s(a));
|
|
484
399
|
// Inline function 'kotlin.collections.filterTo' call
|
|
485
400
|
var destination = ArrayList_init_$Create$_0();
|
|
486
401
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -502,6 +417,26 @@ function rtree$lambda_0($value, $this_rtree) {
|
|
|
502
417
|
return destination_0;
|
|
503
418
|
};
|
|
504
419
|
}
|
|
420
|
+
function map$lambda($f, $this_map) {
|
|
421
|
+
return function () {
|
|
422
|
+
return $f($this_map.c5s_1());
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
function map$lambda_0($this_map, $f) {
|
|
426
|
+
return function () {
|
|
427
|
+
// Inline function 'kotlin.collections.map' call
|
|
428
|
+
var this_0 = $this_map.d5s_1.m1();
|
|
429
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
430
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
431
|
+
var _iterator__ex2g4s = this_0.t();
|
|
432
|
+
while (_iterator__ex2g4s.u()) {
|
|
433
|
+
var item = _iterator__ex2g4s.v();
|
|
434
|
+
var tmp$ret$0 = map(item, $f);
|
|
435
|
+
destination.x(tmp$ret$0);
|
|
436
|
+
}
|
|
437
|
+
return destination;
|
|
438
|
+
};
|
|
439
|
+
}
|
|
505
440
|
function Off() {
|
|
506
441
|
Off_instance = this;
|
|
507
442
|
ShrinkingMode.call(this);
|
|
@@ -524,443 +459,60 @@ function Unbounded_getInstance() {
|
|
|
524
459
|
}
|
|
525
460
|
function Bounded(bound) {
|
|
526
461
|
ShrinkingMode.call(this);
|
|
527
|
-
this.
|
|
462
|
+
this.j5s_1 = bound;
|
|
528
463
|
}
|
|
529
464
|
protoOf(Bounded).toString = function () {
|
|
530
|
-
return 'Bounded(bound=' + this.
|
|
465
|
+
return 'Bounded(bound=' + this.j5s_1 + ')';
|
|
531
466
|
};
|
|
532
467
|
protoOf(Bounded).hashCode = function () {
|
|
533
|
-
return this.
|
|
468
|
+
return this.j5s_1;
|
|
534
469
|
};
|
|
535
470
|
protoOf(Bounded).equals = function (other) {
|
|
536
471
|
if (this === other)
|
|
537
472
|
return true;
|
|
538
473
|
if (!(other instanceof Bounded))
|
|
539
474
|
return false;
|
|
540
|
-
if (!(this.
|
|
475
|
+
if (!(this.j5s_1 === other.j5s_1))
|
|
541
476
|
return false;
|
|
542
477
|
return true;
|
|
543
478
|
};
|
|
544
479
|
function ShrinkingMode() {
|
|
545
480
|
}
|
|
546
481
|
function next(_this__u8e3s4, rs) {
|
|
547
|
-
rs = rs === VOID ? Companion_instance_2.
|
|
482
|
+
rs = rs === VOID ? Companion_instance_2.k5s() : rs;
|
|
548
483
|
return single(_this__u8e3s4, rs);
|
|
549
484
|
}
|
|
550
485
|
function single(_this__u8e3s4, rs) {
|
|
551
|
-
rs = rs === VOID ? Companion_instance_2.
|
|
552
|
-
return _this__u8e3s4.
|
|
553
|
-
}
|
|
554
|
-
function take_2(_this__u8e3s4, count, rs) {
|
|
555
|
-
rs = rs === VOID ? Companion_instance_2.c5t() : rs;
|
|
556
|
-
var tmp = _this__u8e3s4.n5r(rs);
|
|
557
|
-
return take(map(tmp, take$lambda), count);
|
|
558
|
-
}
|
|
559
|
-
function take$lambda(it) {
|
|
560
|
-
return it.v5r_1;
|
|
561
|
-
}
|
|
562
|
-
function bind(_this__u8e3s4, genA, genB, bindFn) {
|
|
563
|
-
var tmp = Companion_instance;
|
|
564
|
-
var tmp_0 = unit(Companion_instance);
|
|
565
|
-
var tmp_1 = unit(Companion_instance);
|
|
566
|
-
var tmp_2 = unit(Companion_instance);
|
|
567
|
-
var tmp_3 = unit(Companion_instance);
|
|
568
|
-
var tmp_4 = unit(Companion_instance);
|
|
569
|
-
var tmp_5 = unit(Companion_instance);
|
|
570
|
-
var tmp_6 = unit(Companion_instance);
|
|
571
|
-
var tmp_7 = unit(Companion_instance);
|
|
572
|
-
var tmp_8 = unit(Companion_instance);
|
|
573
|
-
var tmp_9 = unit(Companion_instance);
|
|
574
|
-
var tmp_10 = unit(Companion_instance);
|
|
575
|
-
var tmp_11 = unit(Companion_instance);
|
|
576
|
-
return bindN(tmp, genA, genB, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, tmp_11, bind$lambda(bindFn));
|
|
577
|
-
}
|
|
578
|
-
function bindN(_this__u8e3s4, genA, genB, genC, genD, genE, genF, genG, genH, genI, genJ, genK, genL, genM, genN, bindFn) {
|
|
579
|
-
var arbA = toArb(genA);
|
|
580
|
-
var arbB = toArb(genB);
|
|
581
|
-
var arbC = toArb(genC);
|
|
582
|
-
var arbD = toArb(genD);
|
|
583
|
-
var arbE = toArb(genE);
|
|
584
|
-
var arbF = toArb(genF);
|
|
585
|
-
var arbG = toArb(genG);
|
|
586
|
-
var arbH = toArb(genH);
|
|
587
|
-
var arbI = toArb(genI);
|
|
588
|
-
var arbJ = toArb(genJ);
|
|
589
|
-
var arbK = toArb(genK);
|
|
590
|
-
var arbL = toArb(genL);
|
|
591
|
-
var arbM = toArb(genM);
|
|
592
|
-
var arbN = toArb(genN);
|
|
593
|
-
return new bindN$1(bindFn, arbA, arbB, arbC, arbD, arbE, arbF, arbG, arbH, arbI, arbJ, arbK, arbL, arbM, arbN);
|
|
594
|
-
}
|
|
595
|
-
function unit(_this__u8e3s4) {
|
|
596
|
-
return arbitrary(unit$slambda_0(null));
|
|
597
|
-
}
|
|
598
|
-
function toArb(_this__u8e3s4) {
|
|
599
|
-
var tmp;
|
|
600
|
-
if (_this__u8e3s4 instanceof Arb) {
|
|
601
|
-
tmp = _this__u8e3s4;
|
|
602
|
-
} else {
|
|
603
|
-
if (_this__u8e3s4 instanceof Exhaustive) {
|
|
604
|
-
tmp = _this__u8e3s4.t5s();
|
|
605
|
-
} else {
|
|
606
|
-
noWhenBranchMatchedException();
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
return tmp;
|
|
610
|
-
}
|
|
611
|
-
function bind$lambda($bindFn) {
|
|
612
|
-
return function (a, b, _unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1, _unused_var__etf5q3_2, _unused_var__etf5q3_3, _unused_var__etf5q3_4, _unused_var__etf5q3_5, _unused_var__etf5q3_6, _unused_var__etf5q3_7, _unused_var__etf5q3_8, _unused_var__etf5q3_9, _unused_var__etf5q3_10) {
|
|
613
|
-
return $bindFn(a, b);
|
|
614
|
-
};
|
|
615
|
-
}
|
|
616
|
-
function bindN$combineShrinks$lambda($bindFn, $a, $b, $c, $d, $e, $f, $g, $h, $i, $j, $k, $l, $m, $n) {
|
|
617
|
-
return function () {
|
|
618
|
-
return $bindFn($a.u5s_1(), $b.u5s_1(), $c.u5s_1(), $d.u5s_1(), $e.u5s_1(), $f.u5s_1(), $g.u5s_1(), $h.u5s_1(), $i.u5s_1(), $j.u5s_1(), $k.u5s_1(), $l.u5s_1(), $m.u5s_1(), $n.u5s_1());
|
|
619
|
-
};
|
|
620
|
-
}
|
|
621
|
-
function bindN$combineShrinks$lambda_0($a, $b, $c, $d, $e, $f, $g, $h, $i, $j, $k, $l, $m, $n, $bindFn) {
|
|
622
|
-
return function () {
|
|
623
|
-
// Inline function 'kotlin.collections.map' call
|
|
624
|
-
var this_0 = bindN$shrink($a);
|
|
625
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
626
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
627
|
-
var _iterator__ex2g4s = this_0.t();
|
|
628
|
-
while (_iterator__ex2g4s.u()) {
|
|
629
|
-
var item = _iterator__ex2g4s.v();
|
|
630
|
-
var tmp$ret$0 = bindN$combineShrinks($bindFn, item, $b, $c, $d, $e, $f, $g, $h, $i, $j, $k, $l, $m, $n);
|
|
631
|
-
destination.x(tmp$ret$0);
|
|
632
|
-
}
|
|
633
|
-
var tmp = destination;
|
|
634
|
-
// Inline function 'kotlin.collections.map' call
|
|
635
|
-
var this_1 = bindN$shrink($b);
|
|
636
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
637
|
-
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
638
|
-
var _iterator__ex2g4s_0 = this_1.t();
|
|
639
|
-
while (_iterator__ex2g4s_0.u()) {
|
|
640
|
-
var item_0 = _iterator__ex2g4s_0.v();
|
|
641
|
-
var tmp$ret$3 = bindN$combineShrinks($bindFn, $a, item_0, $c, $d, $e, $f, $g, $h, $i, $j, $k, $l, $m, $n);
|
|
642
|
-
destination_0.x(tmp$ret$3);
|
|
643
|
-
}
|
|
644
|
-
var tmp_0 = plus(tmp, destination_0);
|
|
645
|
-
// Inline function 'kotlin.collections.map' call
|
|
646
|
-
var this_2 = bindN$shrink($c);
|
|
647
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
648
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
649
|
-
var _iterator__ex2g4s_1 = this_2.t();
|
|
650
|
-
while (_iterator__ex2g4s_1.u()) {
|
|
651
|
-
var item_1 = _iterator__ex2g4s_1.v();
|
|
652
|
-
var tmp$ret$6 = bindN$combineShrinks($bindFn, $a, $b, item_1, $d, $e, $f, $g, $h, $i, $j, $k, $l, $m, $n);
|
|
653
|
-
destination_1.x(tmp$ret$6);
|
|
654
|
-
}
|
|
655
|
-
var tmp_1 = plus(tmp_0, destination_1);
|
|
656
|
-
// Inline function 'kotlin.collections.map' call
|
|
657
|
-
var this_3 = bindN$shrink($d);
|
|
658
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
659
|
-
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
660
|
-
var _iterator__ex2g4s_2 = this_3.t();
|
|
661
|
-
while (_iterator__ex2g4s_2.u()) {
|
|
662
|
-
var item_2 = _iterator__ex2g4s_2.v();
|
|
663
|
-
var tmp$ret$9 = bindN$combineShrinks($bindFn, $a, $b, $c, item_2, $e, $f, $g, $h, $i, $j, $k, $l, $m, $n);
|
|
664
|
-
destination_2.x(tmp$ret$9);
|
|
665
|
-
}
|
|
666
|
-
var tmp_2 = plus(tmp_1, destination_2);
|
|
667
|
-
// Inline function 'kotlin.collections.map' call
|
|
668
|
-
var this_4 = bindN$shrink($e);
|
|
669
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
670
|
-
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_4, 10));
|
|
671
|
-
var _iterator__ex2g4s_3 = this_4.t();
|
|
672
|
-
while (_iterator__ex2g4s_3.u()) {
|
|
673
|
-
var item_3 = _iterator__ex2g4s_3.v();
|
|
674
|
-
var tmp$ret$12 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, item_3, $f, $g, $h, $i, $j, $k, $l, $m, $n);
|
|
675
|
-
destination_3.x(tmp$ret$12);
|
|
676
|
-
}
|
|
677
|
-
var tmp_3 = plus(tmp_2, destination_3);
|
|
678
|
-
// Inline function 'kotlin.collections.map' call
|
|
679
|
-
var this_5 = bindN$shrink($f);
|
|
680
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
681
|
-
var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(this_5, 10));
|
|
682
|
-
var _iterator__ex2g4s_4 = this_5.t();
|
|
683
|
-
while (_iterator__ex2g4s_4.u()) {
|
|
684
|
-
var item_4 = _iterator__ex2g4s_4.v();
|
|
685
|
-
var tmp$ret$15 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, item_4, $g, $h, $i, $j, $k, $l, $m, $n);
|
|
686
|
-
destination_4.x(tmp$ret$15);
|
|
687
|
-
}
|
|
688
|
-
var tmp_4 = plus(tmp_3, destination_4);
|
|
689
|
-
// Inline function 'kotlin.collections.map' call
|
|
690
|
-
var this_6 = bindN$shrink($g);
|
|
691
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
692
|
-
var destination_5 = ArrayList_init_$Create$(collectionSizeOrDefault(this_6, 10));
|
|
693
|
-
var _iterator__ex2g4s_5 = this_6.t();
|
|
694
|
-
while (_iterator__ex2g4s_5.u()) {
|
|
695
|
-
var item_5 = _iterator__ex2g4s_5.v();
|
|
696
|
-
var tmp$ret$18 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, item_5, $h, $i, $j, $k, $l, $m, $n);
|
|
697
|
-
destination_5.x(tmp$ret$18);
|
|
698
|
-
}
|
|
699
|
-
var tmp_5 = plus(tmp_4, destination_5);
|
|
700
|
-
// Inline function 'kotlin.collections.map' call
|
|
701
|
-
var this_7 = bindN$shrink($h);
|
|
702
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
703
|
-
var destination_6 = ArrayList_init_$Create$(collectionSizeOrDefault(this_7, 10));
|
|
704
|
-
var _iterator__ex2g4s_6 = this_7.t();
|
|
705
|
-
while (_iterator__ex2g4s_6.u()) {
|
|
706
|
-
var item_6 = _iterator__ex2g4s_6.v();
|
|
707
|
-
var tmp$ret$21 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, $g, item_6, $i, $j, $k, $l, $m, $n);
|
|
708
|
-
destination_6.x(tmp$ret$21);
|
|
709
|
-
}
|
|
710
|
-
var tmp_6 = plus(tmp_5, destination_6);
|
|
711
|
-
// Inline function 'kotlin.collections.map' call
|
|
712
|
-
var this_8 = bindN$shrink($i);
|
|
713
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
714
|
-
var destination_7 = ArrayList_init_$Create$(collectionSizeOrDefault(this_8, 10));
|
|
715
|
-
var _iterator__ex2g4s_7 = this_8.t();
|
|
716
|
-
while (_iterator__ex2g4s_7.u()) {
|
|
717
|
-
var item_7 = _iterator__ex2g4s_7.v();
|
|
718
|
-
var tmp$ret$24 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, $g, $h, item_7, $j, $k, $l, $m, $n);
|
|
719
|
-
destination_7.x(tmp$ret$24);
|
|
720
|
-
}
|
|
721
|
-
var tmp_7 = plus(tmp_6, destination_7);
|
|
722
|
-
// Inline function 'kotlin.collections.map' call
|
|
723
|
-
var this_9 = bindN$shrink($j);
|
|
724
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
725
|
-
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(this_9, 10));
|
|
726
|
-
var _iterator__ex2g4s_8 = this_9.t();
|
|
727
|
-
while (_iterator__ex2g4s_8.u()) {
|
|
728
|
-
var item_8 = _iterator__ex2g4s_8.v();
|
|
729
|
-
var tmp$ret$27 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, $g, $h, $i, item_8, $k, $l, $m, $n);
|
|
730
|
-
destination_8.x(tmp$ret$27);
|
|
731
|
-
}
|
|
732
|
-
var tmp_8 = plus(tmp_7, destination_8);
|
|
733
|
-
// Inline function 'kotlin.collections.map' call
|
|
734
|
-
var this_10 = bindN$shrink($k);
|
|
735
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
736
|
-
var destination_9 = ArrayList_init_$Create$(collectionSizeOrDefault(this_10, 10));
|
|
737
|
-
var _iterator__ex2g4s_9 = this_10.t();
|
|
738
|
-
while (_iterator__ex2g4s_9.u()) {
|
|
739
|
-
var item_9 = _iterator__ex2g4s_9.v();
|
|
740
|
-
var tmp$ret$30 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, $g, $h, $i, $j, item_9, $l, $m, $n);
|
|
741
|
-
destination_9.x(tmp$ret$30);
|
|
742
|
-
}
|
|
743
|
-
var tmp_9 = plus(tmp_8, destination_9);
|
|
744
|
-
// Inline function 'kotlin.collections.map' call
|
|
745
|
-
var this_11 = bindN$shrink($l);
|
|
746
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
747
|
-
var destination_10 = ArrayList_init_$Create$(collectionSizeOrDefault(this_11, 10));
|
|
748
|
-
var _iterator__ex2g4s_10 = this_11.t();
|
|
749
|
-
while (_iterator__ex2g4s_10.u()) {
|
|
750
|
-
var item_10 = _iterator__ex2g4s_10.v();
|
|
751
|
-
var tmp$ret$33 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, $g, $h, $i, $j, $k, item_10, $m, $n);
|
|
752
|
-
destination_10.x(tmp$ret$33);
|
|
753
|
-
}
|
|
754
|
-
var tmp_10 = plus(tmp_9, destination_10);
|
|
755
|
-
// Inline function 'kotlin.collections.map' call
|
|
756
|
-
var this_12 = bindN$shrink($m);
|
|
757
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
758
|
-
var destination_11 = ArrayList_init_$Create$(collectionSizeOrDefault(this_12, 10));
|
|
759
|
-
var _iterator__ex2g4s_11 = this_12.t();
|
|
760
|
-
while (_iterator__ex2g4s_11.u()) {
|
|
761
|
-
var item_11 = _iterator__ex2g4s_11.v();
|
|
762
|
-
var tmp$ret$36 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, $g, $h, $i, $j, $k, $l, item_11, $n);
|
|
763
|
-
destination_11.x(tmp$ret$36);
|
|
764
|
-
}
|
|
765
|
-
var tmp_11 = plus(tmp_10, destination_11);
|
|
766
|
-
// Inline function 'kotlin.collections.map' call
|
|
767
|
-
var this_13 = bindN$shrink($n);
|
|
768
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
769
|
-
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(this_13, 10));
|
|
770
|
-
var _iterator__ex2g4s_12 = this_13.t();
|
|
771
|
-
while (_iterator__ex2g4s_12.u()) {
|
|
772
|
-
var item_12 = _iterator__ex2g4s_12.v();
|
|
773
|
-
var tmp$ret$39 = bindN$combineShrinks($bindFn, $a, $b, $c, $d, $e, $f, $g, $h, $i, $j, $k, $l, $m, item_12);
|
|
774
|
-
destination_12.x(tmp$ret$39);
|
|
775
|
-
}
|
|
776
|
-
return plus(tmp_11, destination_12);
|
|
777
|
-
};
|
|
778
|
-
}
|
|
779
|
-
function bindN$shrink(tree) {
|
|
780
|
-
return tree.v5s_1.n1();
|
|
781
|
-
}
|
|
782
|
-
function bindN$combineShrinks($bindFn, a, b, c, d, e, f, g, h, i, j, k, l, m, n) {
|
|
783
|
-
var tmp = bindN$combineShrinks$lambda($bindFn, a, b, c, d, e, f, g, h, i, j, k, l, m, n);
|
|
784
|
-
return new RTree(tmp, lazy(bindN$combineShrinks$lambda_0(a, b, c, d, e, f, g, h, i, j, k, l, m, n, $bindFn)));
|
|
785
|
-
}
|
|
786
|
-
function bindN$1($bindFn, $arbA, $arbB, $arbC, $arbD, $arbE, $arbF, $arbG, $arbH, $arbI, $arbJ, $arbK, $arbL, $arbM, $arbN) {
|
|
787
|
-
this.e5t_1 = $bindFn;
|
|
788
|
-
this.f5t_1 = $arbA;
|
|
789
|
-
this.g5t_1 = $arbB;
|
|
790
|
-
this.h5t_1 = $arbC;
|
|
791
|
-
this.i5t_1 = $arbD;
|
|
792
|
-
this.j5t_1 = $arbE;
|
|
793
|
-
this.k5t_1 = $arbF;
|
|
794
|
-
this.l5t_1 = $arbG;
|
|
795
|
-
this.m5t_1 = $arbH;
|
|
796
|
-
this.n5t_1 = $arbI;
|
|
797
|
-
this.o5t_1 = $arbJ;
|
|
798
|
-
this.p5t_1 = $arbK;
|
|
799
|
-
this.q5t_1 = $arbL;
|
|
800
|
-
this.r5t_1 = $arbM;
|
|
801
|
-
this.s5t_1 = $arbN;
|
|
802
|
-
Arb.call(this);
|
|
803
|
-
}
|
|
804
|
-
protoOf(bindN$1).m5r = function (rs) {
|
|
805
|
-
var tmp0_safe_receiver = this.f5t_1.m5r(rs);
|
|
806
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v5r_1;
|
|
807
|
-
var tmp = tmp1_elvis_lhs == null ? next(this.f5t_1, rs) : tmp1_elvis_lhs;
|
|
808
|
-
var tmp2_safe_receiver = this.g5t_1.m5r(rs);
|
|
809
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.v5r_1;
|
|
810
|
-
var tmp_0 = tmp3_elvis_lhs == null ? next(this.g5t_1, rs) : tmp3_elvis_lhs;
|
|
811
|
-
var tmp4_safe_receiver = this.h5t_1.m5r(rs);
|
|
812
|
-
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.v5r_1;
|
|
813
|
-
var tmp_1 = tmp5_elvis_lhs == null ? next(this.h5t_1, rs) : tmp5_elvis_lhs;
|
|
814
|
-
var tmp6_safe_receiver = this.i5t_1.m5r(rs);
|
|
815
|
-
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.v5r_1;
|
|
816
|
-
var tmp_2 = tmp7_elvis_lhs == null ? next(this.i5t_1, rs) : tmp7_elvis_lhs;
|
|
817
|
-
var tmp8_safe_receiver = this.j5t_1.m5r(rs);
|
|
818
|
-
var tmp9_elvis_lhs = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.v5r_1;
|
|
819
|
-
var tmp_3 = tmp9_elvis_lhs == null ? next(this.j5t_1, rs) : tmp9_elvis_lhs;
|
|
820
|
-
var tmp10_safe_receiver = this.k5t_1.m5r(rs);
|
|
821
|
-
var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : tmp10_safe_receiver.v5r_1;
|
|
822
|
-
var tmp_4 = tmp11_elvis_lhs == null ? next(this.k5t_1, rs) : tmp11_elvis_lhs;
|
|
823
|
-
var tmp12_safe_receiver = this.l5t_1.m5r(rs);
|
|
824
|
-
var tmp13_elvis_lhs = tmp12_safe_receiver == null ? null : tmp12_safe_receiver.v5r_1;
|
|
825
|
-
var tmp_5 = tmp13_elvis_lhs == null ? next(this.l5t_1, rs) : tmp13_elvis_lhs;
|
|
826
|
-
var tmp14_safe_receiver = this.m5t_1.m5r(rs);
|
|
827
|
-
var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : tmp14_safe_receiver.v5r_1;
|
|
828
|
-
var tmp_6 = tmp15_elvis_lhs == null ? next(this.m5t_1, rs) : tmp15_elvis_lhs;
|
|
829
|
-
var tmp16_safe_receiver = this.n5t_1.m5r(rs);
|
|
830
|
-
var tmp17_elvis_lhs = tmp16_safe_receiver == null ? null : tmp16_safe_receiver.v5r_1;
|
|
831
|
-
var tmp_7 = tmp17_elvis_lhs == null ? next(this.n5t_1, rs) : tmp17_elvis_lhs;
|
|
832
|
-
var tmp18_safe_receiver = this.o5t_1.m5r(rs);
|
|
833
|
-
var tmp19_elvis_lhs = tmp18_safe_receiver == null ? null : tmp18_safe_receiver.v5r_1;
|
|
834
|
-
var tmp_8 = tmp19_elvis_lhs == null ? next(this.o5t_1, rs) : tmp19_elvis_lhs;
|
|
835
|
-
var tmp20_safe_receiver = this.p5t_1.m5r(rs);
|
|
836
|
-
var tmp21_elvis_lhs = tmp20_safe_receiver == null ? null : tmp20_safe_receiver.v5r_1;
|
|
837
|
-
var tmp_9 = tmp21_elvis_lhs == null ? next(this.p5t_1, rs) : tmp21_elvis_lhs;
|
|
838
|
-
var tmp22_safe_receiver = this.q5t_1.m5r(rs);
|
|
839
|
-
var tmp23_elvis_lhs = tmp22_safe_receiver == null ? null : tmp22_safe_receiver.v5r_1;
|
|
840
|
-
var tmp_10 = tmp23_elvis_lhs == null ? next(this.q5t_1, rs) : tmp23_elvis_lhs;
|
|
841
|
-
var tmp24_safe_receiver = this.r5t_1.m5r(rs);
|
|
842
|
-
var tmp25_elvis_lhs = tmp24_safe_receiver == null ? null : tmp24_safe_receiver.v5r_1;
|
|
843
|
-
var tmp_11 = tmp25_elvis_lhs == null ? next(this.r5t_1, rs) : tmp25_elvis_lhs;
|
|
844
|
-
var tmp26_safe_receiver = this.s5t_1.m5r(rs);
|
|
845
|
-
var tmp27_elvis_lhs = tmp26_safe_receiver == null ? null : tmp26_safe_receiver.v5r_1;
|
|
846
|
-
return asSample(this.e5t_1(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, tmp_11, tmp27_elvis_lhs == null ? next(this.s5t_1, rs) : tmp27_elvis_lhs));
|
|
847
|
-
};
|
|
848
|
-
protoOf(bindN$1).l5r = function (rs) {
|
|
849
|
-
var _destruct__k2r9zo = this.f5t_1.l5r(rs);
|
|
850
|
-
var av = _destruct__k2r9zo.pf();
|
|
851
|
-
var ar = _destruct__k2r9zo.qf();
|
|
852
|
-
var _destruct__k2r9zo_0 = this.g5t_1.l5r(rs);
|
|
853
|
-
var bv = _destruct__k2r9zo_0.pf();
|
|
854
|
-
var br = _destruct__k2r9zo_0.qf();
|
|
855
|
-
var _destruct__k2r9zo_1 = this.h5t_1.l5r(rs);
|
|
856
|
-
var cv = _destruct__k2r9zo_1.pf();
|
|
857
|
-
var cr = _destruct__k2r9zo_1.qf();
|
|
858
|
-
var _destruct__k2r9zo_2 = this.i5t_1.l5r(rs);
|
|
859
|
-
var dv = _destruct__k2r9zo_2.pf();
|
|
860
|
-
var dr = _destruct__k2r9zo_2.qf();
|
|
861
|
-
var _destruct__k2r9zo_3 = this.j5t_1.l5r(rs);
|
|
862
|
-
var ev = _destruct__k2r9zo_3.pf();
|
|
863
|
-
var er = _destruct__k2r9zo_3.qf();
|
|
864
|
-
var _destruct__k2r9zo_4 = this.k5t_1.l5r(rs);
|
|
865
|
-
var fv = _destruct__k2r9zo_4.pf();
|
|
866
|
-
var fr = _destruct__k2r9zo_4.qf();
|
|
867
|
-
var _destruct__k2r9zo_5 = this.l5t_1.l5r(rs);
|
|
868
|
-
var gv = _destruct__k2r9zo_5.pf();
|
|
869
|
-
var gr = _destruct__k2r9zo_5.qf();
|
|
870
|
-
var _destruct__k2r9zo_6 = this.m5t_1.l5r(rs);
|
|
871
|
-
var hv = _destruct__k2r9zo_6.pf();
|
|
872
|
-
var hr = _destruct__k2r9zo_6.qf();
|
|
873
|
-
var _destruct__k2r9zo_7 = this.n5t_1.l5r(rs);
|
|
874
|
-
var iv = _destruct__k2r9zo_7.pf();
|
|
875
|
-
var ir = _destruct__k2r9zo_7.qf();
|
|
876
|
-
var _destruct__k2r9zo_8 = this.o5t_1.l5r(rs);
|
|
877
|
-
var jv = _destruct__k2r9zo_8.pf();
|
|
878
|
-
var jr = _destruct__k2r9zo_8.qf();
|
|
879
|
-
var _destruct__k2r9zo_9 = this.p5t_1.l5r(rs);
|
|
880
|
-
var kv = _destruct__k2r9zo_9.pf();
|
|
881
|
-
var kr = _destruct__k2r9zo_9.qf();
|
|
882
|
-
var _destruct__k2r9zo_10 = this.q5t_1.l5r(rs);
|
|
883
|
-
var lv = _destruct__k2r9zo_10.pf();
|
|
884
|
-
var lr = _destruct__k2r9zo_10.qf();
|
|
885
|
-
var _destruct__k2r9zo_11 = this.r5t_1.l5r(rs);
|
|
886
|
-
var mv = _destruct__k2r9zo_11.pf();
|
|
887
|
-
var mr = _destruct__k2r9zo_11.qf();
|
|
888
|
-
var _destruct__k2r9zo_12 = this.s5t_1.l5r(rs);
|
|
889
|
-
var nv = _destruct__k2r9zo_12.pf();
|
|
890
|
-
var nr = _destruct__k2r9zo_12.qf();
|
|
891
|
-
return new Sample(this.e5t_1(av, bv, cv, dv, ev, fv, gv, hv, iv, jv, kv, lv, mv, nv), bindN$combineShrinks(this.e5t_1, ar, br, cr, dr, er, fr, gr, hr, ir, jr, kr, lr, mr, nr));
|
|
892
|
-
};
|
|
893
|
-
function unit$slambda(resultContinuation) {
|
|
894
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
895
|
-
}
|
|
896
|
-
protoOf(unit$slambda).d5u = function ($this$arbitrary, it, $completion) {
|
|
897
|
-
var tmp = this.e5u($this$arbitrary, it, $completion);
|
|
898
|
-
tmp.k9_1 = Unit_instance;
|
|
899
|
-
tmp.l9_1 = null;
|
|
900
|
-
return tmp.q9();
|
|
901
|
-
};
|
|
902
|
-
protoOf(unit$slambda).w9 = function (p1, p2, $completion) {
|
|
903
|
-
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
904
|
-
return this.d5u(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
905
|
-
};
|
|
906
|
-
protoOf(unit$slambda).q9 = function () {
|
|
907
|
-
var suspendResult = this.k9_1;
|
|
908
|
-
$sm: do
|
|
909
|
-
try {
|
|
910
|
-
var tmp = this.i9_1;
|
|
911
|
-
if (tmp === 0) {
|
|
912
|
-
this.j9_1 = 1;
|
|
913
|
-
return Unit_instance;
|
|
914
|
-
} else if (tmp === 1) {
|
|
915
|
-
throw this.l9_1;
|
|
916
|
-
}
|
|
917
|
-
} catch ($p) {
|
|
918
|
-
var e = $p;
|
|
919
|
-
throw e;
|
|
920
|
-
}
|
|
921
|
-
while (true);
|
|
922
|
-
};
|
|
923
|
-
protoOf(unit$slambda).e5u = function ($this$arbitrary, it, completion) {
|
|
924
|
-
var i = new unit$slambda(completion);
|
|
925
|
-
i.b5u_1 = $this$arbitrary;
|
|
926
|
-
i.c5u_1 = it;
|
|
927
|
-
return i;
|
|
928
|
-
};
|
|
929
|
-
function unit$slambda_0(resultContinuation) {
|
|
930
|
-
var i = new unit$slambda(resultContinuation);
|
|
931
|
-
var l = function ($this$arbitrary, it, $completion) {
|
|
932
|
-
return i.d5u($this$arbitrary, it, $completion);
|
|
933
|
-
};
|
|
934
|
-
l.$arity = 2;
|
|
935
|
-
return l;
|
|
486
|
+
rs = rs === VOID ? Companion_instance_2.k5s() : rs;
|
|
487
|
+
return _this__u8e3s4.t5q(rs).d5r_1;
|
|
936
488
|
}
|
|
937
489
|
function boolean(_this__u8e3s4) {
|
|
938
490
|
var tmp = listOf([true, false]);
|
|
939
|
-
return
|
|
491
|
+
return arbitrary(tmp, boolean$slambda_0(null));
|
|
940
492
|
}
|
|
941
493
|
function boolean$slambda(resultContinuation) {
|
|
942
494
|
CoroutineImpl.call(this, resultContinuation);
|
|
943
495
|
}
|
|
944
|
-
protoOf(boolean$slambda).
|
|
945
|
-
var tmp = this.
|
|
946
|
-
tmp.
|
|
947
|
-
tmp.
|
|
948
|
-
return tmp.
|
|
496
|
+
protoOf(boolean$slambda).v5s = function ($this$arbitrary, it, $completion) {
|
|
497
|
+
var tmp = this.w5s($this$arbitrary, it, $completion);
|
|
498
|
+
tmp.f9_1 = Unit_instance;
|
|
499
|
+
tmp.g9_1 = null;
|
|
500
|
+
return tmp.l9();
|
|
949
501
|
};
|
|
950
|
-
protoOf(boolean$slambda).
|
|
502
|
+
protoOf(boolean$slambda).r9 = function (p1, p2, $completion) {
|
|
951
503
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
952
|
-
return this.
|
|
504
|
+
return this.v5s(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
953
505
|
};
|
|
954
|
-
protoOf(boolean$slambda).
|
|
955
|
-
var suspendResult = this.
|
|
506
|
+
protoOf(boolean$slambda).l9 = function () {
|
|
507
|
+
var suspendResult = this.f9_1;
|
|
956
508
|
$sm: do
|
|
957
509
|
try {
|
|
958
|
-
var tmp = this.
|
|
510
|
+
var tmp = this.d9_1;
|
|
959
511
|
if (tmp === 0) {
|
|
960
|
-
this.
|
|
961
|
-
return this.
|
|
512
|
+
this.e9_1 = 1;
|
|
513
|
+
return this.u5s_1.z5q_1.ki();
|
|
962
514
|
} else if (tmp === 1) {
|
|
963
|
-
throw this.
|
|
515
|
+
throw this.g9_1;
|
|
964
516
|
}
|
|
965
517
|
} catch ($p) {
|
|
966
518
|
var e = $p;
|
|
@@ -968,28 +520,25 @@ protoOf(boolean$slambda).q9 = function () {
|
|
|
968
520
|
}
|
|
969
521
|
while (true);
|
|
970
522
|
};
|
|
971
|
-
protoOf(boolean$slambda).
|
|
523
|
+
protoOf(boolean$slambda).w5s = function ($this$arbitrary, it, completion) {
|
|
972
524
|
var i = new boolean$slambda(completion);
|
|
973
|
-
i.
|
|
974
|
-
i.
|
|
525
|
+
i.t5s_1 = $this$arbitrary;
|
|
526
|
+
i.u5s_1 = it;
|
|
975
527
|
return i;
|
|
976
528
|
};
|
|
977
529
|
function boolean$slambda_0(resultContinuation) {
|
|
978
530
|
var i = new boolean$slambda(resultContinuation);
|
|
979
531
|
var l = function ($this$arbitrary, it, $completion) {
|
|
980
|
-
return i.
|
|
532
|
+
return i.v5s($this$arbitrary, it, $completion);
|
|
981
533
|
};
|
|
982
534
|
l.$arity = 2;
|
|
983
535
|
return l;
|
|
984
536
|
}
|
|
985
|
-
function arbitrary(fn) {
|
|
986
|
-
return
|
|
537
|
+
function arbitrary(edgecases, fn) {
|
|
538
|
+
return new arbitrary$1(edgecases, fn);
|
|
987
539
|
}
|
|
988
540
|
function ArbitraryBuilderContext() {
|
|
989
541
|
}
|
|
990
|
-
function arbitrary_0(edgecases, fn) {
|
|
991
|
-
return new arbitrary$3(edgecases, fn);
|
|
992
|
-
}
|
|
993
542
|
function arbitraryBuilder(shrinker, classifier, edgecaseFn, builderFn) {
|
|
994
543
|
shrinker = shrinker === VOID ? null : shrinker;
|
|
995
544
|
classifier = classifier === VOID ? null : classifier;
|
|
@@ -1013,42 +562,45 @@ function Restricted(genMode, rs, fn) {
|
|
|
1013
562
|
SingleShotArbContinuation.call(this, EmptyCoroutineContext_getInstance(), genMode, rs, fn);
|
|
1014
563
|
}
|
|
1015
564
|
function SingleShotArbContinuation(context, generationMode, randomSource, fn) {
|
|
1016
|
-
this.
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1019
|
-
this.
|
|
1020
|
-
this.
|
|
565
|
+
this.x5s_1 = context;
|
|
566
|
+
this.y5s_1 = generationMode;
|
|
567
|
+
this.z5s_1 = randomSource;
|
|
568
|
+
this.a5t_1 = fn;
|
|
569
|
+
this.b5t_1 = false;
|
|
1021
570
|
}
|
|
1022
|
-
protoOf(SingleShotArbContinuation).
|
|
1023
|
-
return this.
|
|
571
|
+
protoOf(SingleShotArbContinuation).j9 = function () {
|
|
572
|
+
return this.x5s_1;
|
|
1024
573
|
};
|
|
1025
|
-
protoOf(SingleShotArbContinuation).
|
|
574
|
+
protoOf(SingleShotArbContinuation).c5t = function (result) {
|
|
1026
575
|
// Inline function 'kotlin.getOrThrow' call
|
|
1027
576
|
throwOnFailure(result);
|
|
1028
577
|
var tmp = _Result___get_value__impl__bjfvqg(result);
|
|
1029
578
|
(tmp == null ? true : !(tmp == null)) || THROW_CCE();
|
|
1030
579
|
};
|
|
1031
|
-
protoOf(SingleShotArbContinuation).
|
|
1032
|
-
return this.
|
|
580
|
+
protoOf(SingleShotArbContinuation).o9 = function (result) {
|
|
581
|
+
return this.c5t(result);
|
|
1033
582
|
};
|
|
1034
|
-
protoOf(SingleShotArbContinuation).
|
|
583
|
+
protoOf(SingleShotArbContinuation).d5t = function (_this__u8e3s4) {
|
|
1035
584
|
// Inline function 'kotlin.require' call
|
|
1036
|
-
if (!!this.
|
|
585
|
+
if (!!this.b5t_1) {
|
|
1037
586
|
var message = 'continuation has already been executed, if you see this error please raise a bug report';
|
|
1038
587
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1039
588
|
}
|
|
1040
|
-
this.
|
|
589
|
+
this.b5t_1 = true;
|
|
1041
590
|
// Inline function 'kotlin.coroutines.intrinsics.startCoroutineUninterceptedOrReturn' call
|
|
1042
|
-
var this_0 = this.
|
|
591
|
+
var this_0 = this.a5t_1;
|
|
1043
592
|
var result = startCoroutineUninterceptedOrReturnNonGeneratorVersion(this_0, _this__u8e3s4, this);
|
|
1044
593
|
return (result == null ? true : !(result == null)) ? result : THROW_CCE();
|
|
1045
594
|
};
|
|
1046
|
-
function
|
|
1047
|
-
return new arbitrary$
|
|
595
|
+
function arbitrary_0(edgecases, shrinker, fn) {
|
|
596
|
+
return new arbitrary$2(shrinker, edgecases, fn);
|
|
597
|
+
}
|
|
598
|
+
function arbitrary_1(fn) {
|
|
599
|
+
return arbitraryBuilder(VOID, VOID, VOID, arbitrary$slambda_0(fn, null));
|
|
1048
600
|
}
|
|
1049
601
|
function Companion_1() {
|
|
1050
602
|
}
|
|
1051
|
-
protoOf(Companion_1).
|
|
603
|
+
protoOf(Companion_1).e5t = function (f) {
|
|
1052
604
|
return new ArbitraryBuilder(f, null, null, null);
|
|
1053
605
|
};
|
|
1054
606
|
var Companion_instance_1;
|
|
@@ -1057,67 +609,67 @@ function Companion_getInstance_1() {
|
|
|
1057
609
|
}
|
|
1058
610
|
function ArbitraryBuilder$withEdgecases$lambda($edgecases) {
|
|
1059
611
|
return function (it) {
|
|
1060
|
-
return $edgecases.r() ? null : asSample(random($edgecases, it.
|
|
612
|
+
return $edgecases.r() ? null : asSample(random($edgecases, it.z5q_1));
|
|
1061
613
|
};
|
|
1062
614
|
}
|
|
1063
615
|
function ArbitraryBuilder$build$1(this$0) {
|
|
1064
|
-
this.
|
|
616
|
+
this.h5t_1 = this$0;
|
|
1065
617
|
Arb.call(this);
|
|
1066
|
-
this.
|
|
618
|
+
this.g5t_1 = this$0.j5t_1;
|
|
1067
619
|
}
|
|
1068
|
-
protoOf(ArbitraryBuilder$build$1).
|
|
1069
|
-
var tmp0_safe_receiver = this.
|
|
620
|
+
protoOf(ArbitraryBuilder$build$1).u5q = function (rs) {
|
|
621
|
+
var tmp0_safe_receiver = this.h5t_1.l5t_1;
|
|
1070
622
|
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver(rs);
|
|
1071
623
|
};
|
|
1072
|
-
protoOf(ArbitraryBuilder$build$1).
|
|
1073
|
-
var sample = this.
|
|
1074
|
-
return this.
|
|
624
|
+
protoOf(ArbitraryBuilder$build$1).t5q = function (rs) {
|
|
625
|
+
var sample = this.h5t_1.i5t_1(rs);
|
|
626
|
+
return this.h5t_1.k5t_1 == null ? new Sample(sample) : sampleOf(sample, this.h5t_1.k5t_1);
|
|
1075
627
|
};
|
|
1076
628
|
function ArbitraryBuilder(sampleFn, classifier, shrinker, edgecaseFn) {
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1079
|
-
this.
|
|
1080
|
-
this.
|
|
629
|
+
this.i5t_1 = sampleFn;
|
|
630
|
+
this.j5t_1 = classifier;
|
|
631
|
+
this.k5t_1 = shrinker;
|
|
632
|
+
this.l5t_1 = edgecaseFn;
|
|
1081
633
|
}
|
|
1082
|
-
protoOf(ArbitraryBuilder).
|
|
1083
|
-
return new ArbitraryBuilder(this.
|
|
634
|
+
protoOf(ArbitraryBuilder).m5t = function (classifier) {
|
|
635
|
+
return new ArbitraryBuilder(this.i5t_1, classifier, this.k5t_1, this.l5t_1);
|
|
1084
636
|
};
|
|
1085
|
-
protoOf(ArbitraryBuilder).
|
|
1086
|
-
return new ArbitraryBuilder(this.
|
|
637
|
+
protoOf(ArbitraryBuilder).n5t = function (shrinker) {
|
|
638
|
+
return new ArbitraryBuilder(this.i5t_1, this.j5t_1, shrinker, this.l5t_1);
|
|
1087
639
|
};
|
|
1088
|
-
protoOf(ArbitraryBuilder).
|
|
1089
|
-
return new ArbitraryBuilder(this.
|
|
640
|
+
protoOf(ArbitraryBuilder).o5t = function (edgecases) {
|
|
641
|
+
return new ArbitraryBuilder(this.i5t_1, this.j5t_1, this.k5t_1, ArbitraryBuilder$withEdgecases$lambda(edgecases));
|
|
1090
642
|
};
|
|
1091
|
-
protoOf(ArbitraryBuilder).
|
|
643
|
+
protoOf(ArbitraryBuilder).p1x = function () {
|
|
1092
644
|
return new ArbitraryBuilder$build$1(this);
|
|
1093
645
|
};
|
|
1094
646
|
function arbitrary_2(edgecaseFn, shrinker, sampleFn) {
|
|
1095
647
|
return new arbitrary$5(shrinker, edgecaseFn, sampleFn);
|
|
1096
648
|
}
|
|
1097
|
-
function arbitrary$slambda($fn, resultContinuation) {
|
|
1098
|
-
this.
|
|
649
|
+
function arbitrary$o$delegate$slambda($fn, resultContinuation) {
|
|
650
|
+
this.x5t_1 = $fn;
|
|
1099
651
|
CoroutineImpl.call(this, resultContinuation);
|
|
1100
652
|
}
|
|
1101
|
-
protoOf(arbitrary$slambda).
|
|
1102
|
-
var tmp = this.
|
|
1103
|
-
tmp.
|
|
1104
|
-
tmp.
|
|
1105
|
-
return tmp.
|
|
653
|
+
protoOf(arbitrary$o$delegate$slambda).a5u = function ($this$arbitraryBuilder, rs, $completion) {
|
|
654
|
+
var tmp = this.w5s($this$arbitraryBuilder, rs, $completion);
|
|
655
|
+
tmp.f9_1 = Unit_instance;
|
|
656
|
+
tmp.g9_1 = null;
|
|
657
|
+
return tmp.l9();
|
|
1106
658
|
};
|
|
1107
|
-
protoOf(arbitrary$slambda).
|
|
659
|
+
protoOf(arbitrary$o$delegate$slambda).r9 = function (p1, p2, $completion) {
|
|
1108
660
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1109
|
-
return this.
|
|
661
|
+
return this.a5u(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1110
662
|
};
|
|
1111
|
-
protoOf(arbitrary$slambda).
|
|
1112
|
-
var suspendResult = this.
|
|
663
|
+
protoOf(arbitrary$o$delegate$slambda).l9 = function () {
|
|
664
|
+
var suspendResult = this.f9_1;
|
|
1113
665
|
$sm: do
|
|
1114
666
|
try {
|
|
1115
|
-
var tmp = this.
|
|
667
|
+
var tmp = this.d9_1;
|
|
1116
668
|
switch (tmp) {
|
|
1117
669
|
case 0:
|
|
1118
|
-
this.
|
|
1119
|
-
this.
|
|
1120
|
-
suspendResult = this.
|
|
670
|
+
this.e9_1 = 2;
|
|
671
|
+
this.d9_1 = 1;
|
|
672
|
+
suspendResult = this.x5t_1(this.y5t_1, this.z5t_1, this);
|
|
1121
673
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1122
674
|
return suspendResult;
|
|
1123
675
|
}
|
|
@@ -1126,57 +678,74 @@ protoOf(arbitrary$slambda).q9 = function () {
|
|
|
1126
678
|
case 1:
|
|
1127
679
|
return suspendResult;
|
|
1128
680
|
case 2:
|
|
1129
|
-
throw this.
|
|
681
|
+
throw this.g9_1;
|
|
1130
682
|
}
|
|
1131
683
|
} catch ($p) {
|
|
1132
684
|
var e = $p;
|
|
1133
|
-
if (this.
|
|
685
|
+
if (this.e9_1 === 2) {
|
|
1134
686
|
throw e;
|
|
1135
687
|
} else {
|
|
1136
|
-
this.
|
|
1137
|
-
this.
|
|
688
|
+
this.d9_1 = this.e9_1;
|
|
689
|
+
this.g9_1 = e;
|
|
1138
690
|
}
|
|
1139
691
|
}
|
|
1140
692
|
while (true);
|
|
1141
693
|
};
|
|
1142
|
-
protoOf(arbitrary$slambda).
|
|
1143
|
-
var i = new arbitrary$slambda(this.
|
|
1144
|
-
i.
|
|
1145
|
-
i.
|
|
694
|
+
protoOf(arbitrary$o$delegate$slambda).w5s = function ($this$arbitraryBuilder, rs, completion) {
|
|
695
|
+
var i = new arbitrary$o$delegate$slambda(this.x5t_1, completion);
|
|
696
|
+
i.y5t_1 = $this$arbitraryBuilder;
|
|
697
|
+
i.z5t_1 = rs;
|
|
1146
698
|
return i;
|
|
1147
699
|
};
|
|
1148
|
-
function arbitrary$slambda_0($fn, resultContinuation) {
|
|
1149
|
-
var i = new arbitrary$slambda($fn, resultContinuation);
|
|
700
|
+
function arbitrary$o$delegate$slambda_0($fn, resultContinuation) {
|
|
701
|
+
var i = new arbitrary$o$delegate$slambda($fn, resultContinuation);
|
|
1150
702
|
var l = function ($this$arbitraryBuilder, rs, $completion) {
|
|
1151
|
-
return i.
|
|
703
|
+
return i.a5u($this$arbitraryBuilder, rs, $completion);
|
|
1152
704
|
};
|
|
1153
705
|
l.$arity = 2;
|
|
1154
706
|
return l;
|
|
1155
707
|
}
|
|
1156
|
-
function arbitrary$
|
|
1157
|
-
this.
|
|
708
|
+
function arbitrary$1($edgecases, $fn) {
|
|
709
|
+
this.d5u_1 = $edgecases;
|
|
710
|
+
Arb.call(this);
|
|
711
|
+
var tmp = this;
|
|
712
|
+
tmp.c5u_1 = arbitraryBuilder(VOID, VOID, VOID, arbitrary$o$delegate$slambda_0($fn, null));
|
|
713
|
+
}
|
|
714
|
+
protoOf(arbitrary$1).u5q = function (rs) {
|
|
715
|
+
return this.d5u_1.r() ? null : asSample(random(this.d5u_1, rs.z5q_1));
|
|
716
|
+
};
|
|
717
|
+
protoOf(arbitrary$1).t5q = function (rs) {
|
|
718
|
+
return this.c5u_1.t5q(rs);
|
|
719
|
+
};
|
|
720
|
+
function runBuilderFn($this, mode, rs) {
|
|
721
|
+
var cont = new Restricted(mode, rs, arbitraryBuilder$o$runBuilderFn$slambda_0($this.i5u_1, rs, null));
|
|
722
|
+
// Inline function 'kotlin.with' call
|
|
723
|
+
return cont.d5t(cont);
|
|
724
|
+
}
|
|
725
|
+
function arbitraryBuilder$o$runBuilderFn$slambda($builderFn, $rs, resultContinuation) {
|
|
726
|
+
this.r5u_1 = $builderFn;
|
|
727
|
+
this.s5u_1 = $rs;
|
|
1158
728
|
CoroutineImpl.call(this, resultContinuation);
|
|
1159
729
|
}
|
|
1160
|
-
protoOf(
|
|
1161
|
-
var tmp = this.
|
|
1162
|
-
tmp.
|
|
1163
|
-
tmp.
|
|
1164
|
-
return tmp.
|
|
730
|
+
protoOf(arbitraryBuilder$o$runBuilderFn$slambda).u5u = function ($this$Restricted, $completion) {
|
|
731
|
+
var tmp = this.v5u($this$Restricted, $completion);
|
|
732
|
+
tmp.f9_1 = Unit_instance;
|
|
733
|
+
tmp.g9_1 = null;
|
|
734
|
+
return tmp.l9();
|
|
1165
735
|
};
|
|
1166
|
-
protoOf(
|
|
1167
|
-
|
|
1168
|
-
return this.t5v(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
736
|
+
protoOf(arbitraryBuilder$o$runBuilderFn$slambda).s9 = function (p1, $completion) {
|
|
737
|
+
return this.u5u((!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE(), $completion);
|
|
1169
738
|
};
|
|
1170
|
-
protoOf(
|
|
1171
|
-
var suspendResult = this.
|
|
739
|
+
protoOf(arbitraryBuilder$o$runBuilderFn$slambda).l9 = function () {
|
|
740
|
+
var suspendResult = this.f9_1;
|
|
1172
741
|
$sm: do
|
|
1173
742
|
try {
|
|
1174
|
-
var tmp = this.
|
|
743
|
+
var tmp = this.d9_1;
|
|
1175
744
|
switch (tmp) {
|
|
1176
745
|
case 0:
|
|
1177
|
-
this.
|
|
1178
|
-
this.
|
|
1179
|
-
suspendResult = this.
|
|
746
|
+
this.e9_1 = 2;
|
|
747
|
+
this.d9_1 = 1;
|
|
748
|
+
suspendResult = this.r5u_1(this.t5u_1, this.s5u_1, this);
|
|
1180
749
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1181
750
|
return suspendResult;
|
|
1182
751
|
}
|
|
@@ -1185,74 +754,73 @@ protoOf(arbitrary$o$delegate$slambda).q9 = function () {
|
|
|
1185
754
|
case 1:
|
|
1186
755
|
return suspendResult;
|
|
1187
756
|
case 2:
|
|
1188
|
-
throw this.
|
|
757
|
+
throw this.g9_1;
|
|
1189
758
|
}
|
|
1190
759
|
} catch ($p) {
|
|
1191
760
|
var e = $p;
|
|
1192
|
-
if (this.
|
|
761
|
+
if (this.e9_1 === 2) {
|
|
1193
762
|
throw e;
|
|
1194
763
|
} else {
|
|
1195
|
-
this.
|
|
1196
|
-
this.
|
|
764
|
+
this.d9_1 = this.e9_1;
|
|
765
|
+
this.g9_1 = e;
|
|
1197
766
|
}
|
|
1198
767
|
}
|
|
1199
768
|
while (true);
|
|
1200
769
|
};
|
|
1201
|
-
protoOf(
|
|
1202
|
-
var i = new
|
|
1203
|
-
i.
|
|
1204
|
-
i.e5w_1 = rs;
|
|
770
|
+
protoOf(arbitraryBuilder$o$runBuilderFn$slambda).v5u = function ($this$Restricted, completion) {
|
|
771
|
+
var i = new arbitraryBuilder$o$runBuilderFn$slambda(this.r5u_1, this.s5u_1, completion);
|
|
772
|
+
i.t5u_1 = $this$Restricted;
|
|
1205
773
|
return i;
|
|
1206
774
|
};
|
|
1207
|
-
function
|
|
1208
|
-
var i = new
|
|
1209
|
-
var l = function ($this$
|
|
1210
|
-
return i.
|
|
775
|
+
function arbitraryBuilder$o$runBuilderFn$slambda_0($builderFn, $rs, resultContinuation) {
|
|
776
|
+
var i = new arbitraryBuilder$o$runBuilderFn$slambda($builderFn, $rs, resultContinuation);
|
|
777
|
+
var l = function ($this$Restricted, $completion) {
|
|
778
|
+
return i.u5u($this$Restricted, $completion);
|
|
1211
779
|
};
|
|
1212
|
-
l.$arity =
|
|
780
|
+
l.$arity = 1;
|
|
1213
781
|
return l;
|
|
1214
782
|
}
|
|
1215
|
-
function
|
|
1216
|
-
this.
|
|
783
|
+
function arbitraryBuilder$1($classifier, $shrinker, $edgecaseFn, $builderFn) {
|
|
784
|
+
this.g5u_1 = $shrinker;
|
|
785
|
+
this.h5u_1 = $edgecaseFn;
|
|
786
|
+
this.i5u_1 = $builderFn;
|
|
1217
787
|
Arb.call(this);
|
|
1218
|
-
|
|
1219
|
-
tmp.g5w_1 = arbitraryBuilder(VOID, VOID, VOID, arbitrary$o$delegate$slambda_0($fn, null));
|
|
788
|
+
this.f5u_1 = $classifier;
|
|
1220
789
|
}
|
|
1221
|
-
protoOf(
|
|
1222
|
-
|
|
790
|
+
protoOf(arbitraryBuilder$1).t5q = function (rs) {
|
|
791
|
+
var value = runBuilderFn(this, SingleShotGenerationMode_Sample_getInstance(), rs);
|
|
792
|
+
return this.g5u_1 == null ? new Sample(value) : sampleOf(value, this.g5u_1);
|
|
1223
793
|
};
|
|
1224
|
-
protoOf(
|
|
1225
|
-
|
|
794
|
+
protoOf(arbitraryBuilder$1).u5q = function (rs) {
|
|
795
|
+
var value = runBuilderFn(this, SingleShotGenerationMode_Edgecase_getInstance(), rs);
|
|
796
|
+
var tmp0_safe_receiver = this.h5u_1;
|
|
797
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(rs);
|
|
798
|
+
return tmp1_elvis_lhs == null ? asSample(value) : tmp1_elvis_lhs;
|
|
1226
799
|
};
|
|
1227
|
-
function
|
|
1228
|
-
|
|
1229
|
-
// Inline function 'kotlin.with' call
|
|
1230
|
-
return cont.w5u(cont);
|
|
1231
|
-
}
|
|
1232
|
-
function arbitraryBuilder$o$runBuilderFn$slambda($builderFn, $rs, resultContinuation) {
|
|
1233
|
-
this.v5w_1 = $builderFn;
|
|
1234
|
-
this.w5w_1 = $rs;
|
|
800
|
+
function arbitrary$o$delegate$slambda_1($fn, resultContinuation) {
|
|
801
|
+
this.e5v_1 = $fn;
|
|
1235
802
|
CoroutineImpl.call(this, resultContinuation);
|
|
1236
803
|
}
|
|
1237
|
-
protoOf(
|
|
1238
|
-
var tmp = this.
|
|
1239
|
-
tmp.
|
|
1240
|
-
tmp.
|
|
1241
|
-
return tmp.
|
|
804
|
+
protoOf(arbitrary$o$delegate$slambda_1).a5u = function ($this$arbitraryBuilder, rs, $completion) {
|
|
805
|
+
var tmp = this.w5s($this$arbitraryBuilder, rs, $completion);
|
|
806
|
+
tmp.f9_1 = Unit_instance;
|
|
807
|
+
tmp.g9_1 = null;
|
|
808
|
+
return tmp.l9();
|
|
1242
809
|
};
|
|
1243
|
-
protoOf(
|
|
1244
|
-
|
|
810
|
+
protoOf(arbitrary$o$delegate$slambda_1).r9 = function (p1, p2, $completion) {
|
|
811
|
+
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
812
|
+
return this.a5u(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1245
813
|
};
|
|
1246
|
-
protoOf(
|
|
1247
|
-
var suspendResult = this.
|
|
814
|
+
protoOf(arbitrary$o$delegate$slambda_1).l9 = function () {
|
|
815
|
+
var suspendResult = this.f9_1;
|
|
1248
816
|
$sm: do
|
|
1249
817
|
try {
|
|
1250
|
-
var tmp = this.
|
|
818
|
+
var tmp = this.d9_1;
|
|
1251
819
|
switch (tmp) {
|
|
1252
820
|
case 0:
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1255
|
-
suspendResult = this.
|
|
821
|
+
this.e9_1 = 2;
|
|
822
|
+
this.d9_1 = 1;
|
|
823
|
+
suspendResult = this.e5v_1(this.f5v_1, this.g5v_1, this);
|
|
1256
824
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1257
825
|
return suspendResult;
|
|
1258
826
|
}
|
|
@@ -1261,73 +829,69 @@ protoOf(arbitraryBuilder$o$runBuilderFn$slambda).q9 = function () {
|
|
|
1261
829
|
case 1:
|
|
1262
830
|
return suspendResult;
|
|
1263
831
|
case 2:
|
|
1264
|
-
throw this.
|
|
832
|
+
throw this.g9_1;
|
|
1265
833
|
}
|
|
1266
834
|
} catch ($p) {
|
|
1267
835
|
var e = $p;
|
|
1268
|
-
if (this.
|
|
836
|
+
if (this.e9_1 === 2) {
|
|
1269
837
|
throw e;
|
|
1270
838
|
} else {
|
|
1271
|
-
this.
|
|
1272
|
-
this.
|
|
839
|
+
this.d9_1 = this.e9_1;
|
|
840
|
+
this.g9_1 = e;
|
|
1273
841
|
}
|
|
1274
842
|
}
|
|
1275
843
|
while (true);
|
|
1276
844
|
};
|
|
1277
|
-
protoOf(
|
|
1278
|
-
var i = new
|
|
1279
|
-
i.
|
|
845
|
+
protoOf(arbitrary$o$delegate$slambda_1).w5s = function ($this$arbitraryBuilder, rs, completion) {
|
|
846
|
+
var i = new arbitrary$o$delegate$slambda_1(this.e5v_1, completion);
|
|
847
|
+
i.f5v_1 = $this$arbitraryBuilder;
|
|
848
|
+
i.g5v_1 = rs;
|
|
1280
849
|
return i;
|
|
1281
850
|
};
|
|
1282
|
-
function
|
|
1283
|
-
var i = new
|
|
1284
|
-
var l = function ($this$
|
|
1285
|
-
return i.
|
|
851
|
+
function arbitrary$o$delegate$slambda_2($fn, resultContinuation) {
|
|
852
|
+
var i = new arbitrary$o$delegate$slambda_1($fn, resultContinuation);
|
|
853
|
+
var l = function ($this$arbitraryBuilder, rs, $completion) {
|
|
854
|
+
return i.a5u($this$arbitraryBuilder, rs, $completion);
|
|
1286
855
|
};
|
|
1287
|
-
l.$arity =
|
|
856
|
+
l.$arity = 2;
|
|
1288
857
|
return l;
|
|
1289
858
|
}
|
|
1290
|
-
function
|
|
1291
|
-
this.
|
|
1292
|
-
this.l5w_1 = $edgecaseFn;
|
|
1293
|
-
this.m5w_1 = $builderFn;
|
|
859
|
+
function arbitrary$2($shrinker, $edgecases, $fn) {
|
|
860
|
+
this.j5v_1 = $edgecases;
|
|
1294
861
|
Arb.call(this);
|
|
1295
|
-
|
|
862
|
+
var tmp = this;
|
|
863
|
+
tmp.i5v_1 = arbitraryBuilder($shrinker, VOID, VOID, arbitrary$o$delegate$slambda_2($fn, null));
|
|
1296
864
|
}
|
|
1297
|
-
protoOf(
|
|
1298
|
-
|
|
1299
|
-
return this.k5w_1 == null ? new Sample(value) : sampleOf(value, this.k5w_1);
|
|
865
|
+
protoOf(arbitrary$2).u5q = function (rs) {
|
|
866
|
+
return this.j5v_1.r() ? null : asSample(random(this.j5v_1, rs.z5q_1));
|
|
1300
867
|
};
|
|
1301
|
-
protoOf(
|
|
1302
|
-
|
|
1303
|
-
var tmp0_safe_receiver = this.l5w_1;
|
|
1304
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(rs);
|
|
1305
|
-
return tmp1_elvis_lhs == null ? asSample(value) : tmp1_elvis_lhs;
|
|
868
|
+
protoOf(arbitrary$2).t5q = function (rs) {
|
|
869
|
+
return this.i5v_1.t5q(rs);
|
|
1306
870
|
};
|
|
1307
|
-
function arbitrary$
|
|
1308
|
-
this.
|
|
871
|
+
function arbitrary$slambda($fn, resultContinuation) {
|
|
872
|
+
this.s5v_1 = $fn;
|
|
1309
873
|
CoroutineImpl.call(this, resultContinuation);
|
|
1310
874
|
}
|
|
1311
|
-
protoOf(arbitrary$
|
|
1312
|
-
var tmp = this.
|
|
1313
|
-
tmp.
|
|
1314
|
-
tmp.
|
|
1315
|
-
return tmp.
|
|
875
|
+
protoOf(arbitrary$slambda).a5u = function ($this$arbitraryBuilder, rs, $completion) {
|
|
876
|
+
var tmp = this.w5s($this$arbitraryBuilder, rs, $completion);
|
|
877
|
+
tmp.f9_1 = Unit_instance;
|
|
878
|
+
tmp.g9_1 = null;
|
|
879
|
+
return tmp.l9();
|
|
1316
880
|
};
|
|
1317
|
-
protoOf(arbitrary$
|
|
881
|
+
protoOf(arbitrary$slambda).r9 = function (p1, p2, $completion) {
|
|
1318
882
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1319
|
-
return this.
|
|
883
|
+
return this.a5u(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1320
884
|
};
|
|
1321
|
-
protoOf(arbitrary$
|
|
1322
|
-
var suspendResult = this.
|
|
885
|
+
protoOf(arbitrary$slambda).l9 = function () {
|
|
886
|
+
var suspendResult = this.f9_1;
|
|
1323
887
|
$sm: do
|
|
1324
888
|
try {
|
|
1325
|
-
var tmp = this.
|
|
889
|
+
var tmp = this.d9_1;
|
|
1326
890
|
switch (tmp) {
|
|
1327
891
|
case 0:
|
|
1328
|
-
this.
|
|
1329
|
-
this.
|
|
1330
|
-
suspendResult = this.
|
|
892
|
+
this.e9_1 = 2;
|
|
893
|
+
this.d9_1 = 1;
|
|
894
|
+
suspendResult = this.s5v_1(this.t5v_1, this.u5v_1, this);
|
|
1331
895
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1332
896
|
return suspendResult;
|
|
1333
897
|
}
|
|
@@ -1336,69 +900,57 @@ protoOf(arbitrary$o$delegate$slambda_1).q9 = function () {
|
|
|
1336
900
|
case 1:
|
|
1337
901
|
return suspendResult;
|
|
1338
902
|
case 2:
|
|
1339
|
-
throw this.
|
|
903
|
+
throw this.g9_1;
|
|
1340
904
|
}
|
|
1341
905
|
} catch ($p) {
|
|
1342
906
|
var e = $p;
|
|
1343
|
-
if (this.
|
|
907
|
+
if (this.e9_1 === 2) {
|
|
1344
908
|
throw e;
|
|
1345
909
|
} else {
|
|
1346
|
-
this.
|
|
1347
|
-
this.
|
|
910
|
+
this.d9_1 = this.e9_1;
|
|
911
|
+
this.g9_1 = e;
|
|
1348
912
|
}
|
|
1349
913
|
}
|
|
1350
914
|
while (true);
|
|
1351
915
|
};
|
|
1352
|
-
protoOf(arbitrary$
|
|
1353
|
-
var i = new arbitrary$
|
|
1354
|
-
i.
|
|
1355
|
-
i.
|
|
916
|
+
protoOf(arbitrary$slambda).w5s = function ($this$arbitraryBuilder, rs, completion) {
|
|
917
|
+
var i = new arbitrary$slambda(this.s5v_1, completion);
|
|
918
|
+
i.t5v_1 = $this$arbitraryBuilder;
|
|
919
|
+
i.u5v_1 = rs;
|
|
1356
920
|
return i;
|
|
1357
921
|
};
|
|
1358
|
-
function arbitrary$
|
|
1359
|
-
var i = new arbitrary$
|
|
922
|
+
function arbitrary$slambda_0($fn, resultContinuation) {
|
|
923
|
+
var i = new arbitrary$slambda($fn, resultContinuation);
|
|
1360
924
|
var l = function ($this$arbitraryBuilder, rs, $completion) {
|
|
1361
|
-
return i.
|
|
925
|
+
return i.a5u($this$arbitraryBuilder, rs, $completion);
|
|
1362
926
|
};
|
|
1363
927
|
l.$arity = 2;
|
|
1364
928
|
return l;
|
|
1365
929
|
}
|
|
1366
|
-
function arbitrary$4($shrinker, $edgecases, $fn) {
|
|
1367
|
-
this.n5x_1 = $edgecases;
|
|
1368
|
-
Arb.call(this);
|
|
1369
|
-
var tmp = this;
|
|
1370
|
-
tmp.m5x_1 = arbitraryBuilder($shrinker, VOID, VOID, arbitrary$o$delegate$slambda_2($fn, null));
|
|
1371
|
-
}
|
|
1372
|
-
protoOf(arbitrary$4).m5r = function (rs) {
|
|
1373
|
-
return this.n5x_1.r() ? null : asSample(random(this.n5x_1, rs.r5r_1));
|
|
1374
|
-
};
|
|
1375
|
-
protoOf(arbitrary$4).l5r = function (rs) {
|
|
1376
|
-
return this.m5x_1.l5r(rs);
|
|
1377
|
-
};
|
|
1378
930
|
function arbitrary$o$delegate$slambda_3($sampleFn, resultContinuation) {
|
|
1379
|
-
this.
|
|
931
|
+
this.d5w_1 = $sampleFn;
|
|
1380
932
|
CoroutineImpl.call(this, resultContinuation);
|
|
1381
933
|
}
|
|
1382
|
-
protoOf(arbitrary$o$delegate$slambda_3).
|
|
1383
|
-
var tmp = this.
|
|
1384
|
-
tmp.
|
|
1385
|
-
tmp.
|
|
1386
|
-
return tmp.
|
|
934
|
+
protoOf(arbitrary$o$delegate$slambda_3).a5u = function ($this$arbitraryBuilder, rs, $completion) {
|
|
935
|
+
var tmp = this.w5s($this$arbitraryBuilder, rs, $completion);
|
|
936
|
+
tmp.f9_1 = Unit_instance;
|
|
937
|
+
tmp.g9_1 = null;
|
|
938
|
+
return tmp.l9();
|
|
1387
939
|
};
|
|
1388
|
-
protoOf(arbitrary$o$delegate$slambda_3).
|
|
940
|
+
protoOf(arbitrary$o$delegate$slambda_3).r9 = function (p1, p2, $completion) {
|
|
1389
941
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1390
|
-
return this.
|
|
942
|
+
return this.a5u(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1391
943
|
};
|
|
1392
|
-
protoOf(arbitrary$o$delegate$slambda_3).
|
|
1393
|
-
var suspendResult = this.
|
|
944
|
+
protoOf(arbitrary$o$delegate$slambda_3).l9 = function () {
|
|
945
|
+
var suspendResult = this.f9_1;
|
|
1394
946
|
$sm: do
|
|
1395
947
|
try {
|
|
1396
|
-
var tmp = this.
|
|
948
|
+
var tmp = this.d9_1;
|
|
1397
949
|
switch (tmp) {
|
|
1398
950
|
case 0:
|
|
1399
|
-
this.
|
|
1400
|
-
this.
|
|
1401
|
-
suspendResult = this.
|
|
951
|
+
this.e9_1 = 2;
|
|
952
|
+
this.d9_1 = 1;
|
|
953
|
+
suspendResult = this.d5w_1(this.e5w_1, this.f5w_1, this);
|
|
1402
954
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1403
955
|
return suspendResult;
|
|
1404
956
|
}
|
|
@@ -1407,44 +959,44 @@ protoOf(arbitrary$o$delegate$slambda_3).q9 = function () {
|
|
|
1407
959
|
case 1:
|
|
1408
960
|
return suspendResult;
|
|
1409
961
|
case 2:
|
|
1410
|
-
throw this.
|
|
962
|
+
throw this.g9_1;
|
|
1411
963
|
}
|
|
1412
964
|
} catch ($p) {
|
|
1413
965
|
var e = $p;
|
|
1414
|
-
if (this.
|
|
966
|
+
if (this.e9_1 === 2) {
|
|
1415
967
|
throw e;
|
|
1416
968
|
} else {
|
|
1417
|
-
this.
|
|
1418
|
-
this.
|
|
969
|
+
this.d9_1 = this.e9_1;
|
|
970
|
+
this.g9_1 = e;
|
|
1419
971
|
}
|
|
1420
972
|
}
|
|
1421
973
|
while (true);
|
|
1422
974
|
};
|
|
1423
|
-
protoOf(arbitrary$o$delegate$slambda_3).
|
|
1424
|
-
var i = new arbitrary$o$delegate$slambda_3(this.
|
|
1425
|
-
i.
|
|
1426
|
-
i.
|
|
975
|
+
protoOf(arbitrary$o$delegate$slambda_3).w5s = function ($this$arbitraryBuilder, rs, completion) {
|
|
976
|
+
var i = new arbitrary$o$delegate$slambda_3(this.d5w_1, completion);
|
|
977
|
+
i.e5w_1 = $this$arbitraryBuilder;
|
|
978
|
+
i.f5w_1 = rs;
|
|
1427
979
|
return i;
|
|
1428
980
|
};
|
|
1429
981
|
function arbitrary$o$delegate$slambda_4($sampleFn, resultContinuation) {
|
|
1430
982
|
var i = new arbitrary$o$delegate$slambda_3($sampleFn, resultContinuation);
|
|
1431
983
|
var l = function ($this$arbitraryBuilder, rs, $completion) {
|
|
1432
|
-
return i.
|
|
984
|
+
return i.a5u($this$arbitraryBuilder, rs, $completion);
|
|
1433
985
|
};
|
|
1434
986
|
l.$arity = 2;
|
|
1435
987
|
return l;
|
|
1436
988
|
}
|
|
1437
989
|
function arbitrary$5($shrinker, $edgecaseFn, $sampleFn) {
|
|
1438
|
-
this.
|
|
990
|
+
this.i5w_1 = $edgecaseFn;
|
|
1439
991
|
Arb.call(this);
|
|
1440
992
|
var tmp = this;
|
|
1441
|
-
tmp.
|
|
993
|
+
tmp.h5w_1 = arbitraryBuilder($shrinker, VOID, VOID, arbitrary$o$delegate$slambda_4($sampleFn, null));
|
|
1442
994
|
}
|
|
1443
|
-
protoOf(arbitrary$5).
|
|
1444
|
-
return this.
|
|
995
|
+
protoOf(arbitrary$5).u5q = function (rs) {
|
|
996
|
+
return this.i5w_1(rs);
|
|
1445
997
|
};
|
|
1446
|
-
protoOf(arbitrary$5).
|
|
1447
|
-
return this.
|
|
998
|
+
protoOf(arbitrary$5).t5q = function (rs) {
|
|
999
|
+
return this.h5w_1.t5q(rs);
|
|
1448
1000
|
};
|
|
1449
1001
|
function SingleShotGenerationMode_Edgecase_getInstance() {
|
|
1450
1002
|
SingleShotGenerationMode_initEntries();
|
|
@@ -1468,14 +1020,14 @@ function byteArray(_this__u8e3s4, length, content) {
|
|
|
1468
1020
|
tmp = length;
|
|
1469
1021
|
} else {
|
|
1470
1022
|
if (length instanceof Exhaustive) {
|
|
1471
|
-
tmp = length.
|
|
1023
|
+
tmp = length.b5s();
|
|
1472
1024
|
} else {
|
|
1473
1025
|
noWhenBranchMatchedException();
|
|
1474
1026
|
}
|
|
1475
1027
|
}
|
|
1476
1028
|
var tmp_0 = tmp;
|
|
1477
1029
|
var tmp_1 = flatMap(tmp_0, byteArray$lambda(content));
|
|
1478
|
-
return
|
|
1030
|
+
return map_0(tmp_1, byteArray$lambda_0);
|
|
1479
1031
|
}
|
|
1480
1032
|
function byte(_this__u8e3s4, min, max) {
|
|
1481
1033
|
min = min === VOID ? -128 : min;
|
|
@@ -1499,7 +1051,7 @@ function byte(_this__u8e3s4, min, max) {
|
|
|
1499
1051
|
}
|
|
1500
1052
|
var tmp = distinct(destination);
|
|
1501
1053
|
var tmp_0 = get_ByteShrinker();
|
|
1502
|
-
return
|
|
1054
|
+
return arbitrary_0(tmp, tmp_0, byte$slambda_0(min, max, null));
|
|
1503
1055
|
}
|
|
1504
1056
|
function ByteShrinker$lambda(it) {
|
|
1505
1057
|
_init_properties_bytes_kt__yz6anb();
|
|
@@ -1512,14 +1064,14 @@ function ByteShrinker$lambda_0(it) {
|
|
|
1512
1064
|
function UByteShrinker$lambda(it) {
|
|
1513
1065
|
_init_properties_bytes_kt__yz6anb();
|
|
1514
1066
|
// Inline function 'kotlin.UByte.toUInt' call
|
|
1515
|
-
var this_0 = it.
|
|
1067
|
+
var this_0 = it.en_1;
|
|
1516
1068
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(this_0) & 255);
|
|
1517
1069
|
return new UInt(tmp$ret$0);
|
|
1518
1070
|
}
|
|
1519
1071
|
function UByteShrinker$lambda_0(it) {
|
|
1520
1072
|
_init_properties_bytes_kt__yz6anb();
|
|
1521
1073
|
// Inline function 'kotlin.UInt.toUByte' call
|
|
1522
|
-
var this_0 = it.
|
|
1074
|
+
var this_0 = it.pn_1;
|
|
1523
1075
|
// Inline function 'kotlin.toUByte' call
|
|
1524
1076
|
var this_1 = _UInt___get_data__impl__f0vqqw(this_0);
|
|
1525
1077
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(toByte(this_1));
|
|
@@ -1536,7 +1088,7 @@ function byteArray$lambda_0(it) {
|
|
|
1536
1088
|
}
|
|
1537
1089
|
function byte$slambda$lambda($it) {
|
|
1538
1090
|
return function () {
|
|
1539
|
-
return first($it.
|
|
1091
|
+
return first($it.z5q_1.oi(1));
|
|
1540
1092
|
};
|
|
1541
1093
|
}
|
|
1542
1094
|
function byte$slambda$lambda_0($min, $max) {
|
|
@@ -1547,31 +1099,31 @@ function byte$slambda$lambda_0($min, $max) {
|
|
|
1547
1099
|
};
|
|
1548
1100
|
}
|
|
1549
1101
|
function byte$slambda($min, $max, resultContinuation) {
|
|
1550
|
-
this.
|
|
1551
|
-
this.
|
|
1102
|
+
this.r5w_1 = $min;
|
|
1103
|
+
this.s5w_1 = $max;
|
|
1552
1104
|
CoroutineImpl.call(this, resultContinuation);
|
|
1553
1105
|
}
|
|
1554
|
-
protoOf(byte$slambda).
|
|
1555
|
-
var tmp = this.
|
|
1556
|
-
tmp.
|
|
1557
|
-
tmp.
|
|
1558
|
-
return tmp.
|
|
1106
|
+
protoOf(byte$slambda).v5w = function ($this$arbitrary, it, $completion) {
|
|
1107
|
+
var tmp = this.w5s($this$arbitrary, it, $completion);
|
|
1108
|
+
tmp.f9_1 = Unit_instance;
|
|
1109
|
+
tmp.g9_1 = null;
|
|
1110
|
+
return tmp.l9();
|
|
1559
1111
|
};
|
|
1560
|
-
protoOf(byte$slambda).
|
|
1112
|
+
protoOf(byte$slambda).r9 = function (p1, p2, $completion) {
|
|
1561
1113
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1562
|
-
return this.
|
|
1114
|
+
return this.v5w(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1563
1115
|
};
|
|
1564
|
-
protoOf(byte$slambda).
|
|
1565
|
-
var suspendResult = this.
|
|
1116
|
+
protoOf(byte$slambda).l9 = function () {
|
|
1117
|
+
var suspendResult = this.f9_1;
|
|
1566
1118
|
$sm: do
|
|
1567
1119
|
try {
|
|
1568
|
-
var tmp = this.
|
|
1120
|
+
var tmp = this.d9_1;
|
|
1569
1121
|
if (tmp === 0) {
|
|
1570
|
-
this.
|
|
1571
|
-
var tmp_0 = generateSequence(byte$slambda$lambda(this.
|
|
1572
|
-
return first_0(filter(tmp_0, byte$slambda$lambda_0(this.
|
|
1122
|
+
this.e9_1 = 1;
|
|
1123
|
+
var tmp_0 = generateSequence(byte$slambda$lambda(this.u5w_1));
|
|
1124
|
+
return first_0(filter(tmp_0, byte$slambda$lambda_0(this.r5w_1, this.s5w_1)));
|
|
1573
1125
|
} else if (tmp === 1) {
|
|
1574
|
-
throw this.
|
|
1126
|
+
throw this.g9_1;
|
|
1575
1127
|
}
|
|
1576
1128
|
} catch ($p) {
|
|
1577
1129
|
var e = $p;
|
|
@@ -1579,16 +1131,16 @@ protoOf(byte$slambda).q9 = function () {
|
|
|
1579
1131
|
}
|
|
1580
1132
|
while (true);
|
|
1581
1133
|
};
|
|
1582
|
-
protoOf(byte$slambda).
|
|
1583
|
-
var i = new byte$slambda(this.
|
|
1584
|
-
i.
|
|
1585
|
-
i.
|
|
1134
|
+
protoOf(byte$slambda).w5s = function ($this$arbitrary, it, completion) {
|
|
1135
|
+
var i = new byte$slambda(this.r5w_1, this.s5w_1, completion);
|
|
1136
|
+
i.t5w_1 = $this$arbitrary;
|
|
1137
|
+
i.u5w_1 = it;
|
|
1586
1138
|
return i;
|
|
1587
1139
|
};
|
|
1588
1140
|
function byte$slambda_0($min, $max, resultContinuation) {
|
|
1589
1141
|
var i = new byte$slambda($min, $max, resultContinuation);
|
|
1590
1142
|
var l = function ($this$arbitrary, it, $completion) {
|
|
1591
|
-
return i.
|
|
1143
|
+
return i.v5w($this$arbitrary, it, $completion);
|
|
1592
1144
|
};
|
|
1593
1145
|
l.$arity = 2;
|
|
1594
1146
|
return l;
|
|
@@ -1620,19 +1172,19 @@ function element(_this__u8e3s4, collection) {
|
|
|
1620
1172
|
var message = 'The supplied collection must not be empty.';
|
|
1621
1173
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1622
1174
|
}
|
|
1623
|
-
return
|
|
1175
|
+
return arbitrary_1(element$slambda_0(collection, null));
|
|
1624
1176
|
}
|
|
1625
1177
|
function of(_this__u8e3s4, collection) {
|
|
1626
1178
|
return element(_this__u8e3s4, collection);
|
|
1627
1179
|
}
|
|
1628
1180
|
function list(_this__u8e3s4, gen, range) {
|
|
1629
|
-
range = range === VOID ? PropertyTesting_getInstance().
|
|
1181
|
+
range = range === VOID ? PropertyTesting_getInstance().a5s_1 : range;
|
|
1630
1182
|
// Inline function 'kotlin.check' call
|
|
1631
1183
|
if (!!range.r()) {
|
|
1632
1184
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
1633
1185
|
}
|
|
1634
1186
|
// Inline function 'kotlin.check' call
|
|
1635
|
-
if (!(range.
|
|
1187
|
+
if (!(range.p1_1 >= 0)) {
|
|
1636
1188
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
1637
1189
|
}
|
|
1638
1190
|
var tmp = list$lambda(gen, range);
|
|
@@ -1640,26 +1192,26 @@ function list(_this__u8e3s4, gen, range) {
|
|
|
1640
1192
|
return arbitrary_2(tmp, tmp_0, list$slambda_0(range, gen, null));
|
|
1641
1193
|
}
|
|
1642
1194
|
function ListShrinker(range) {
|
|
1643
|
-
this.
|
|
1195
|
+
this.w5w_1 = range;
|
|
1644
1196
|
}
|
|
1645
|
-
protoOf(ListShrinker).
|
|
1197
|
+
protoOf(ListShrinker).x5w = function (value) {
|
|
1646
1198
|
var tmp;
|
|
1647
1199
|
if (value.r()) {
|
|
1648
1200
|
tmp = emptyList();
|
|
1649
|
-
} else if (value.
|
|
1650
|
-
tmp = this.
|
|
1201
|
+
} else if (value.a1() === 1) {
|
|
1202
|
+
tmp = this.w5w_1.dj(0) ? listOf_0(emptyList()) : emptyList();
|
|
1651
1203
|
} else {
|
|
1652
1204
|
// Inline function 'kotlin.collections.filter' call
|
|
1653
|
-
var tmp0 = listOf([
|
|
1205
|
+
var tmp0 = listOf([take(value, 1), dropLast(value, 1), take(value, value.a1() / 2 | 0), drop(value, 1)]);
|
|
1654
1206
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1655
1207
|
var destination = ArrayList_init_$Create$_0();
|
|
1656
1208
|
var _iterator__ex2g4s = tmp0.t();
|
|
1657
1209
|
while (_iterator__ex2g4s.u()) {
|
|
1658
1210
|
var element = _iterator__ex2g4s.v();
|
|
1659
|
-
var progression = this.
|
|
1660
|
-
var containsLower = progression.
|
|
1661
|
-
var containsUpper = progression.
|
|
1662
|
-
var containsArg = element.
|
|
1211
|
+
var progression = this.w5w_1;
|
|
1212
|
+
var containsLower = progression.p1_1;
|
|
1213
|
+
var containsUpper = progression.q1_1;
|
|
1214
|
+
var containsArg = element.a1();
|
|
1663
1215
|
if (containsLower <= containsArg ? containsArg <= containsUpper : false) {
|
|
1664
1216
|
destination.x(element);
|
|
1665
1217
|
}
|
|
@@ -1668,33 +1220,33 @@ protoOf(ListShrinker).q5y = function (value) {
|
|
|
1668
1220
|
}
|
|
1669
1221
|
return tmp;
|
|
1670
1222
|
};
|
|
1671
|
-
protoOf(ListShrinker).
|
|
1672
|
-
return this.
|
|
1223
|
+
protoOf(ListShrinker).i5s = function (value) {
|
|
1224
|
+
return this.x5w((!(value == null) ? isInterface(value, KtList) : false) ? value : THROW_CCE());
|
|
1673
1225
|
};
|
|
1674
1226
|
function element$slambda($collection, resultContinuation) {
|
|
1675
|
-
this.
|
|
1227
|
+
this.g5x_1 = $collection;
|
|
1676
1228
|
CoroutineImpl.call(this, resultContinuation);
|
|
1677
1229
|
}
|
|
1678
|
-
protoOf(element$slambda).
|
|
1679
|
-
var tmp = this.
|
|
1680
|
-
tmp.
|
|
1681
|
-
tmp.
|
|
1682
|
-
return tmp.
|
|
1230
|
+
protoOf(element$slambda).j5x = function ($this$arbitrary, it, $completion) {
|
|
1231
|
+
var tmp = this.w5s($this$arbitrary, it, $completion);
|
|
1232
|
+
tmp.f9_1 = Unit_instance;
|
|
1233
|
+
tmp.g9_1 = null;
|
|
1234
|
+
return tmp.l9();
|
|
1683
1235
|
};
|
|
1684
|
-
protoOf(element$slambda).
|
|
1236
|
+
protoOf(element$slambda).r9 = function (p1, p2, $completion) {
|
|
1685
1237
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1686
|
-
return this.
|
|
1238
|
+
return this.j5x(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1687
1239
|
};
|
|
1688
|
-
protoOf(element$slambda).
|
|
1689
|
-
var suspendResult = this.
|
|
1240
|
+
protoOf(element$slambda).l9 = function () {
|
|
1241
|
+
var suspendResult = this.f9_1;
|
|
1690
1242
|
$sm: do
|
|
1691
1243
|
try {
|
|
1692
|
-
var tmp = this.
|
|
1244
|
+
var tmp = this.d9_1;
|
|
1693
1245
|
if (tmp === 0) {
|
|
1694
|
-
this.
|
|
1695
|
-
return random(this.
|
|
1246
|
+
this.e9_1 = 1;
|
|
1247
|
+
return random(this.g5x_1, this.i5x_1.z5q_1);
|
|
1696
1248
|
} else if (tmp === 1) {
|
|
1697
|
-
throw this.
|
|
1249
|
+
throw this.g9_1;
|
|
1698
1250
|
}
|
|
1699
1251
|
} catch ($p) {
|
|
1700
1252
|
var e = $p;
|
|
@@ -1702,16 +1254,16 @@ protoOf(element$slambda).q9 = function () {
|
|
|
1702
1254
|
}
|
|
1703
1255
|
while (true);
|
|
1704
1256
|
};
|
|
1705
|
-
protoOf(element$slambda).
|
|
1706
|
-
var i = new element$slambda(this.
|
|
1707
|
-
i.
|
|
1708
|
-
i.
|
|
1257
|
+
protoOf(element$slambda).w5s = function ($this$arbitrary, it, completion) {
|
|
1258
|
+
var i = new element$slambda(this.g5x_1, completion);
|
|
1259
|
+
i.h5x_1 = $this$arbitrary;
|
|
1260
|
+
i.i5x_1 = it;
|
|
1709
1261
|
return i;
|
|
1710
1262
|
};
|
|
1711
1263
|
function element$slambda_0($collection, resultContinuation) {
|
|
1712
1264
|
var i = new element$slambda($collection, resultContinuation);
|
|
1713
1265
|
var l = function ($this$arbitrary, it, $completion) {
|
|
1714
|
-
return i.
|
|
1266
|
+
return i.j5x($this$arbitrary, it, $completion);
|
|
1715
1267
|
};
|
|
1716
1268
|
l.$arity = 2;
|
|
1717
1269
|
return l;
|
|
@@ -1722,11 +1274,11 @@ function list$lambda($gen, $range) {
|
|
|
1722
1274
|
var tmp0_subject = $gen;
|
|
1723
1275
|
var tmp;
|
|
1724
1276
|
if (tmp0_subject instanceof Arb) {
|
|
1725
|
-
var tmp1_elvis_lhs = $gen.
|
|
1726
|
-
tmp = listOf_0((tmp1_elvis_lhs == null ? $gen.
|
|
1277
|
+
var tmp1_elvis_lhs = $gen.u5q(rs);
|
|
1278
|
+
tmp = listOf_0((tmp1_elvis_lhs == null ? $gen.t5q(rs) : tmp1_elvis_lhs).d5r_1);
|
|
1727
1279
|
} else {
|
|
1728
1280
|
if (tmp0_subject instanceof Exhaustive) {
|
|
1729
|
-
var tmp2_safe_receiver = firstOrNull($gen.
|
|
1281
|
+
var tmp2_safe_receiver = firstOrNull($gen.s2());
|
|
1730
1282
|
var tmp_0;
|
|
1731
1283
|
if (tmp2_safe_receiver == null) {
|
|
1732
1284
|
tmp_0 = null;
|
|
@@ -1741,12 +1293,12 @@ function list$lambda($gen, $range) {
|
|
|
1741
1293
|
}
|
|
1742
1294
|
var singleList = tmp;
|
|
1743
1295
|
var tmp_1;
|
|
1744
|
-
if ($range.
|
|
1296
|
+
if ($range.q1_1 < 2) {
|
|
1745
1297
|
tmp_1 = null;
|
|
1746
1298
|
} else {
|
|
1747
1299
|
if ($gen instanceof Arb) {
|
|
1748
1300
|
// Inline function 'kotlin.math.max' call
|
|
1749
|
-
var b = $range.
|
|
1301
|
+
var b = $range.p1_1;
|
|
1750
1302
|
// Inline function 'kotlin.collections.List' call
|
|
1751
1303
|
// Inline function 'kotlin.collections.MutableList' call
|
|
1752
1304
|
var size = Math.max(2, b);
|
|
@@ -1757,22 +1309,22 @@ function list$lambda($gen, $range) {
|
|
|
1757
1309
|
do {
|
|
1758
1310
|
var index = inductionVariable;
|
|
1759
1311
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1760
|
-
var tmp0_elvis_lhs = $gen.
|
|
1761
|
-
var tmp$ret$3 = (tmp0_elvis_lhs == null ? $gen.
|
|
1312
|
+
var tmp0_elvis_lhs = $gen.u5q(rs);
|
|
1313
|
+
var tmp$ret$3 = (tmp0_elvis_lhs == null ? $gen.t5q(rs) : tmp0_elvis_lhs).d5r_1;
|
|
1762
1314
|
list.x(tmp$ret$3);
|
|
1763
1315
|
}
|
|
1764
1316
|
while (inductionVariable < size);
|
|
1765
1317
|
tmp_1 = list;
|
|
1766
1318
|
} else {
|
|
1767
1319
|
if ($gen instanceof Exhaustive) {
|
|
1768
|
-
var tmp3_safe_receiver = firstOrNull($gen.
|
|
1320
|
+
var tmp3_safe_receiver = firstOrNull($gen.s2());
|
|
1769
1321
|
var tmp_2;
|
|
1770
1322
|
if (tmp3_safe_receiver == null) {
|
|
1771
1323
|
tmp_2 = null;
|
|
1772
1324
|
} else {
|
|
1773
1325
|
// Inline function 'kotlin.let' call
|
|
1774
1326
|
// Inline function 'kotlin.math.max' call
|
|
1775
|
-
var b_0 = $range.
|
|
1327
|
+
var b_0 = $range.p1_1;
|
|
1776
1328
|
// Inline function 'kotlin.collections.List' call
|
|
1777
1329
|
// Inline function 'kotlin.collections.MutableList' call
|
|
1778
1330
|
var size_0 = Math.max(2, b_0);
|
|
@@ -1802,9 +1354,9 @@ function list$lambda($gen, $range) {
|
|
|
1802
1354
|
var _iterator__ex2g4s = tmp0.t();
|
|
1803
1355
|
while (_iterator__ex2g4s.u()) {
|
|
1804
1356
|
var element = _iterator__ex2g4s.v();
|
|
1805
|
-
var containsLower = $range.
|
|
1806
|
-
var containsUpper = $range.
|
|
1807
|
-
var containsArg = element.
|
|
1357
|
+
var containsLower = $range.p1_1;
|
|
1358
|
+
var containsUpper = $range.q1_1;
|
|
1359
|
+
var containsArg = element.a1();
|
|
1808
1360
|
if (containsLower <= containsArg ? containsArg <= containsUpper : false) {
|
|
1809
1361
|
destination.x(element);
|
|
1810
1362
|
}
|
|
@@ -1819,43 +1371,43 @@ function list$lambda($gen, $range) {
|
|
|
1819
1371
|
}
|
|
1820
1372
|
var tmp4_safe_receiver = tmp_3;
|
|
1821
1373
|
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : distinct(tmp4_safe_receiver);
|
|
1822
|
-
var tmp6_safe_receiver = tmp5_safe_receiver == null ? null : random(tmp5_safe_receiver, rs.
|
|
1374
|
+
var tmp6_safe_receiver = tmp5_safe_receiver == null ? null : random(tmp5_safe_receiver, rs.z5q_1);
|
|
1823
1375
|
return tmp6_safe_receiver == null ? null : asSample(tmp6_safe_receiver);
|
|
1824
1376
|
};
|
|
1825
1377
|
}
|
|
1826
1378
|
function list$slambda($range, $gen, resultContinuation) {
|
|
1827
|
-
this.
|
|
1828
|
-
this.
|
|
1379
|
+
this.s5x_1 = $range;
|
|
1380
|
+
this.t5x_1 = $gen;
|
|
1829
1381
|
CoroutineImpl.call(this, resultContinuation);
|
|
1830
1382
|
}
|
|
1831
|
-
protoOf(list$slambda).
|
|
1832
|
-
var tmp = this.
|
|
1833
|
-
tmp.
|
|
1834
|
-
tmp.
|
|
1835
|
-
return tmp.
|
|
1383
|
+
protoOf(list$slambda).w5x = function ($this$arbitrary, rs, $completion) {
|
|
1384
|
+
var tmp = this.w5s($this$arbitrary, rs, $completion);
|
|
1385
|
+
tmp.f9_1 = Unit_instance;
|
|
1386
|
+
tmp.g9_1 = null;
|
|
1387
|
+
return tmp.l9();
|
|
1836
1388
|
};
|
|
1837
|
-
protoOf(list$slambda).
|
|
1389
|
+
protoOf(list$slambda).r9 = function (p1, p2, $completion) {
|
|
1838
1390
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1839
|
-
return this.
|
|
1391
|
+
return this.w5x(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1840
1392
|
};
|
|
1841
|
-
protoOf(list$slambda).
|
|
1842
|
-
var suspendResult = this.
|
|
1393
|
+
protoOf(list$slambda).l9 = function () {
|
|
1394
|
+
var suspendResult = this.f9_1;
|
|
1843
1395
|
$sm: do
|
|
1844
1396
|
try {
|
|
1845
|
-
var tmp = this.
|
|
1397
|
+
var tmp = this.d9_1;
|
|
1846
1398
|
if (tmp === 0) {
|
|
1847
|
-
this.
|
|
1848
|
-
var targetSize = nextInt(this.
|
|
1849
|
-
var this_0 = toList(
|
|
1399
|
+
this.e9_1 = 1;
|
|
1400
|
+
var targetSize = nextInt(this.v5x_1.z5q_1, this.s5x_1);
|
|
1401
|
+
var this_0 = toList(take_0(this.t5x_1.y5q(this.v5x_1), targetSize));
|
|
1850
1402
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
1851
1403
|
var _iterator__ex2g4s = this_0.t();
|
|
1852
1404
|
while (_iterator__ex2g4s.u()) {
|
|
1853
1405
|
var item = _iterator__ex2g4s.v();
|
|
1854
|
-
destination.x(item.
|
|
1406
|
+
destination.x(item.d5r_1);
|
|
1855
1407
|
}
|
|
1856
1408
|
return destination;
|
|
1857
1409
|
} else if (tmp === 1) {
|
|
1858
|
-
throw this.
|
|
1410
|
+
throw this.g9_1;
|
|
1859
1411
|
}
|
|
1860
1412
|
} catch ($p) {
|
|
1861
1413
|
var e = $p;
|
|
@@ -1863,210 +1415,20 @@ protoOf(list$slambda).q9 = function () {
|
|
|
1863
1415
|
}
|
|
1864
1416
|
while (true);
|
|
1865
1417
|
};
|
|
1866
|
-
protoOf(list$slambda).
|
|
1867
|
-
var i = new list$slambda(this.
|
|
1868
|
-
i.
|
|
1869
|
-
i.
|
|
1418
|
+
protoOf(list$slambda).w5s = function ($this$arbitrary, rs, completion) {
|
|
1419
|
+
var i = new list$slambda(this.s5x_1, this.t5x_1, completion);
|
|
1420
|
+
i.u5x_1 = $this$arbitrary;
|
|
1421
|
+
i.v5x_1 = rs;
|
|
1870
1422
|
return i;
|
|
1871
1423
|
};
|
|
1872
1424
|
function list$slambda_0($range, $gen, resultContinuation) {
|
|
1873
1425
|
var i = new list$slambda($range, $gen, resultContinuation);
|
|
1874
1426
|
var l = function ($this$arbitrary, rs, $completion) {
|
|
1875
|
-
return i.
|
|
1876
|
-
};
|
|
1877
|
-
l.$arity = 2;
|
|
1878
|
-
return l;
|
|
1879
|
-
}
|
|
1880
|
-
function get__labelArb() {
|
|
1881
|
-
_init_properties_domain_kt__9c301w();
|
|
1882
|
-
return _labelArb;
|
|
1883
|
-
}
|
|
1884
|
-
var _labelArb;
|
|
1885
|
-
function get_validCharsArb() {
|
|
1886
|
-
_init_properties_domain_kt__9c301w();
|
|
1887
|
-
return validCharsArb;
|
|
1888
|
-
}
|
|
1889
|
-
var validCharsArb;
|
|
1890
|
-
function get_top120TLDs() {
|
|
1891
|
-
_init_properties_domain_kt__9c301w();
|
|
1892
|
-
return top120TLDs;
|
|
1893
|
-
}
|
|
1894
|
-
var top120TLDs;
|
|
1895
|
-
function domain(_this__u8e3s4, tlds, labelArb) {
|
|
1896
|
-
tlds = tlds === VOID ? get_top120TLDs() : tlds;
|
|
1897
|
-
labelArb = labelArb === VOID ? get__labelArb() : labelArb;
|
|
1898
|
-
_init_properties_domain_kt__9c301w();
|
|
1899
|
-
return arbitrary(domain$slambda_0(labelArb, tlds, null));
|
|
1900
|
-
}
|
|
1901
|
-
function _labelArb$slambda$lambda(it) {
|
|
1902
|
-
return !equals(it, new Char(_Char___init__impl__6a9atx(45)));
|
|
1903
|
-
}
|
|
1904
|
-
function _labelArb$slambda$lambda_0(it) {
|
|
1905
|
-
return !equals(it, new Char(_Char___init__impl__6a9atx(45)));
|
|
1906
|
-
}
|
|
1907
|
-
function _labelArb$slambda$lambda_1(it) {
|
|
1908
|
-
return !equals(it, new Char(_Char___init__impl__6a9atx(45)));
|
|
1909
|
-
}
|
|
1910
|
-
function _labelArb$slambda(resultContinuation) {
|
|
1911
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1912
|
-
}
|
|
1913
|
-
protoOf(_labelArb$slambda).a60 = function ($this$arbitrary, it, $completion) {
|
|
1914
|
-
var tmp = this.e5u($this$arbitrary, it, $completion);
|
|
1915
|
-
tmp.k9_1 = Unit_instance;
|
|
1916
|
-
tmp.l9_1 = null;
|
|
1917
|
-
return tmp.q9();
|
|
1918
|
-
};
|
|
1919
|
-
protoOf(_labelArb$slambda).w9 = function (p1, p2, $completion) {
|
|
1920
|
-
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1921
|
-
return this.a60(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1922
|
-
};
|
|
1923
|
-
protoOf(_labelArb$slambda).q9 = function () {
|
|
1924
|
-
var suspendResult = this.k9_1;
|
|
1925
|
-
$sm: do
|
|
1926
|
-
try {
|
|
1927
|
-
var tmp = this.i9_1;
|
|
1928
|
-
if (tmp === 0) {
|
|
1929
|
-
this.j9_1 = 1;
|
|
1930
|
-
var this_0 = StringBuilder_init_$Create$(63);
|
|
1931
|
-
var tmp_0 = get_validCharsArb();
|
|
1932
|
-
this_0.s(single(filter_1(tmp_0, _labelArb$slambda$lambda), this.z5z_1).i1_1);
|
|
1933
|
-
this_0.q(joinToString(take_2(get_validCharsArb(), this.z5z_1.r5r_1.t1(0, 61), this.z5z_1), ''));
|
|
1934
|
-
var tmp_1 = get_validCharsArb();
|
|
1935
|
-
this_0.s(single(filter_1(tmp_1, _labelArb$slambda$lambda_0), this.z5z_1).i1_1);
|
|
1936
|
-
if (this_0.a() >= 4) {
|
|
1937
|
-
if (this_0.b(2) === _Char___init__impl__6a9atx(45) && this_0.b(3) === _Char___init__impl__6a9atx(45)) {
|
|
1938
|
-
var tmp_2 = get_validCharsArb();
|
|
1939
|
-
this_0.ec(3, single(filter_1(tmp_2, _labelArb$slambda$lambda_1), this.z5z_1).i1_1);
|
|
1940
|
-
}
|
|
1941
|
-
}
|
|
1942
|
-
return this_0.toString();
|
|
1943
|
-
} else if (tmp === 1) {
|
|
1944
|
-
throw this.l9_1;
|
|
1945
|
-
}
|
|
1946
|
-
} catch ($p) {
|
|
1947
|
-
var e = $p;
|
|
1948
|
-
throw e;
|
|
1949
|
-
}
|
|
1950
|
-
while (true);
|
|
1951
|
-
};
|
|
1952
|
-
protoOf(_labelArb$slambda).e5u = function ($this$arbitrary, it, completion) {
|
|
1953
|
-
var i = new _labelArb$slambda(completion);
|
|
1954
|
-
i.y5z_1 = $this$arbitrary;
|
|
1955
|
-
i.z5z_1 = it;
|
|
1956
|
-
return i;
|
|
1957
|
-
};
|
|
1958
|
-
function _labelArb$slambda_0(resultContinuation) {
|
|
1959
|
-
var i = new _labelArb$slambda(resultContinuation);
|
|
1960
|
-
var l = function ($this$arbitrary, it, $completion) {
|
|
1961
|
-
return i.a60($this$arbitrary, it, $completion);
|
|
1962
|
-
};
|
|
1963
|
-
l.$arity = 2;
|
|
1964
|
-
return l;
|
|
1965
|
-
}
|
|
1966
|
-
function validCharsArb$slambda(resultContinuation) {
|
|
1967
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1968
|
-
}
|
|
1969
|
-
protoOf(validCharsArb$slambda).l60 = function ($this$arbitrary, it, $completion) {
|
|
1970
|
-
var tmp = this.e5u($this$arbitrary, it, $completion);
|
|
1971
|
-
tmp.k9_1 = Unit_instance;
|
|
1972
|
-
tmp.l9_1 = null;
|
|
1973
|
-
var tmp_0 = tmp.q9();
|
|
1974
|
-
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
1975
|
-
return tmp_0;
|
|
1976
|
-
return tmp_0;
|
|
1977
|
-
};
|
|
1978
|
-
protoOf(validCharsArb$slambda).w9 = function (p1, p2, $completion) {
|
|
1979
|
-
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
1980
|
-
return this.l60(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
1981
|
-
};
|
|
1982
|
-
protoOf(validCharsArb$slambda).q9 = function () {
|
|
1983
|
-
var suspendResult = this.k9_1;
|
|
1984
|
-
$sm: do
|
|
1985
|
-
try {
|
|
1986
|
-
var tmp = this.i9_1;
|
|
1987
|
-
if (tmp === 0) {
|
|
1988
|
-
this.j9_1 = 1;
|
|
1989
|
-
return random(plus_1(plus(plus_0(Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(97), _Char___init__impl__6a9atx(122)), Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(65), _Char___init__impl__6a9atx(90))), Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(48), _Char___init__impl__6a9atx(57))), new Char(_Char___init__impl__6a9atx(45))), this.k60_1.r5r_1);
|
|
1990
|
-
} else if (tmp === 1) {
|
|
1991
|
-
throw this.l9_1;
|
|
1992
|
-
}
|
|
1993
|
-
} catch ($p) {
|
|
1994
|
-
var e = $p;
|
|
1995
|
-
throw e;
|
|
1996
|
-
}
|
|
1997
|
-
while (true);
|
|
1998
|
-
};
|
|
1999
|
-
protoOf(validCharsArb$slambda).e5u = function ($this$arbitrary, it, completion) {
|
|
2000
|
-
var i = new validCharsArb$slambda(completion);
|
|
2001
|
-
i.j60_1 = $this$arbitrary;
|
|
2002
|
-
i.k60_1 = it;
|
|
2003
|
-
return i;
|
|
2004
|
-
};
|
|
2005
|
-
function validCharsArb$slambda_0(resultContinuation) {
|
|
2006
|
-
var i = new validCharsArb$slambda(resultContinuation);
|
|
2007
|
-
var l = function ($this$arbitrary, it, $completion) {
|
|
2008
|
-
return i.l60($this$arbitrary, it, $completion);
|
|
1427
|
+
return i.w5x($this$arbitrary, rs, $completion);
|
|
2009
1428
|
};
|
|
2010
1429
|
l.$arity = 2;
|
|
2011
1430
|
return l;
|
|
2012
1431
|
}
|
|
2013
|
-
function domain$slambda($labelArb, $tlds, resultContinuation) {
|
|
2014
|
-
this.u60_1 = $labelArb;
|
|
2015
|
-
this.v60_1 = $tlds;
|
|
2016
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
2017
|
-
}
|
|
2018
|
-
protoOf(domain$slambda).a60 = function ($this$arbitrary, rs, $completion) {
|
|
2019
|
-
var tmp = this.e5u($this$arbitrary, rs, $completion);
|
|
2020
|
-
tmp.k9_1 = Unit_instance;
|
|
2021
|
-
tmp.l9_1 = null;
|
|
2022
|
-
return tmp.q9();
|
|
2023
|
-
};
|
|
2024
|
-
protoOf(domain$slambda).w9 = function (p1, p2, $completion) {
|
|
2025
|
-
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
2026
|
-
return this.a60(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
2027
|
-
};
|
|
2028
|
-
protoOf(domain$slambda).q9 = function () {
|
|
2029
|
-
var suspendResult = this.k9_1;
|
|
2030
|
-
$sm: do
|
|
2031
|
-
try {
|
|
2032
|
-
var tmp = this.i9_1;
|
|
2033
|
-
if (tmp === 0) {
|
|
2034
|
-
this.j9_1 = 1;
|
|
2035
|
-
var amountOfLabels = this.x60_1.r5r_1.t1(1, 4);
|
|
2036
|
-
var labels = joinToString(take_2(this.u60_1, amountOfLabels, this.x60_1), '.', VOID, '.');
|
|
2037
|
-
return labels + random(this.v60_1, this.x60_1.r5r_1);
|
|
2038
|
-
} else if (tmp === 1) {
|
|
2039
|
-
throw this.l9_1;
|
|
2040
|
-
}
|
|
2041
|
-
} catch ($p) {
|
|
2042
|
-
var e = $p;
|
|
2043
|
-
throw e;
|
|
2044
|
-
}
|
|
2045
|
-
while (true);
|
|
2046
|
-
};
|
|
2047
|
-
protoOf(domain$slambda).e5u = function ($this$arbitrary, rs, completion) {
|
|
2048
|
-
var i = new domain$slambda(this.u60_1, this.v60_1, completion);
|
|
2049
|
-
i.w60_1 = $this$arbitrary;
|
|
2050
|
-
i.x60_1 = rs;
|
|
2051
|
-
return i;
|
|
2052
|
-
};
|
|
2053
|
-
function domain$slambda_0($labelArb, $tlds, resultContinuation) {
|
|
2054
|
-
var i = new domain$slambda($labelArb, $tlds, resultContinuation);
|
|
2055
|
-
var l = function ($this$arbitrary, rs, $completion) {
|
|
2056
|
-
return i.a60($this$arbitrary, rs, $completion);
|
|
2057
|
-
};
|
|
2058
|
-
l.$arity = 2;
|
|
2059
|
-
return l;
|
|
2060
|
-
}
|
|
2061
|
-
var properties_initialized_domain_kt_dssuhm;
|
|
2062
|
-
function _init_properties_domain_kt__9c301w() {
|
|
2063
|
-
if (!properties_initialized_domain_kt_dssuhm) {
|
|
2064
|
-
properties_initialized_domain_kt_dssuhm = true;
|
|
2065
|
-
_labelArb = arbitrary(_labelArb$slambda_0(null));
|
|
2066
|
-
validCharsArb = arbitrary(validCharsArb$slambda_0(null));
|
|
2067
|
-
top120TLDs = listOf(['com', 'net', 'org', 'jp', 'de', 'uk', 'fr', 'br', 'it', 'ru', 'es', 'me', 'gov', 'pl', 'ca', 'au', 'cn', 'co', 'in', 'nl', 'edu', 'info', 'eu', 'ch', 'id', 'at', 'kr', 'cz', 'mx', 'be', 'tv', 'se', 'tr', 'tw', 'al', 'ua', 'ir', 'vn', 'cl', 'sk', 'ly', 'cc', 'to', 'no', 'fi', 'us', 'pt', 'dk', 'ar', 'hu', 'tk', 'gr', 'il', 'news', 'ro', 'my', 'biz', 'ie', 'za', 'nz', 'sg', 'ee', 'th', 'io', 'xyz', 'pe', 'bg', 'hk', 'rs', 'lt', 'link', 'ph', 'club', 'si', 'site', 'mobi', 'by', 'cat', 'wiki', 'la', 'ga', 'xxx', 'cf', 'hr', 'ng', 'jobs', 'online', 'kz', 'ug', 'gq', 'ae', 'is', 'lv', 'pro', 'fm', 'tips', 'ms', 'sa', 'app', 'lat', 'pk', 'ws', 'top', 'xn--p1ai', 'pw', 'ai', 'kw', 'ml', 'su', 'lu', 'nu', 'ec', 'uy', 'az', 'ma', 'st', 'asia', 'im', 'am', 'email']);
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
1432
|
function get_numericEdgeCases() {
|
|
2071
1433
|
_init_properties_doubles_kt__m69t1s();
|
|
2072
1434
|
return numericEdgeCases;
|
|
@@ -2090,13 +1452,13 @@ function double_0(_this__u8e3s4, range, includeNaNs) {
|
|
|
2090
1452
|
var _iterator__ex2g4s = tmp0.t();
|
|
2091
1453
|
while (_iterator__ex2g4s.u()) {
|
|
2092
1454
|
var element = _iterator__ex2g4s.v();
|
|
2093
|
-
if (range.
|
|
1455
|
+
if (range.s1(element)) {
|
|
2094
1456
|
destination.x(element);
|
|
2095
1457
|
}
|
|
2096
1458
|
}
|
|
2097
|
-
var tmp = plus(distinct(plus(destination, listOf([range.
|
|
1459
|
+
var tmp = plus(distinct(plus(destination, listOf([range.xc(), range.yc()]))), getNonFiniteEdgeCases(range, includeNaNs));
|
|
2098
1460
|
var tmp_0 = DoubleShrinker_getInstance();
|
|
2099
|
-
return
|
|
1461
|
+
return arbitrary_0(tmp, tmp_0, double$slambda_0(range, null));
|
|
2100
1462
|
}
|
|
2101
1463
|
function getNonFiniteEdgeCases(range, includeNaNs) {
|
|
2102
1464
|
_init_properties_doubles_kt__m69t1s();
|
|
@@ -2107,13 +1469,13 @@ function getNonFiniteEdgeCases(range, includeNaNs) {
|
|
|
2107
1469
|
// Inline function 'kotlin.apply' call
|
|
2108
1470
|
var this_0 = ArrayList_init_$Create$_0();
|
|
2109
1471
|
this_0.x(NaN);
|
|
2110
|
-
if (range.
|
|
1472
|
+
if (range.xc() === -Infinity) {
|
|
2111
1473
|
this_0.x(-Infinity);
|
|
2112
1474
|
}
|
|
2113
|
-
if (range.
|
|
1475
|
+
if (range.yc() === Infinity) {
|
|
2114
1476
|
this_0.x(Infinity);
|
|
2115
1477
|
}
|
|
2116
|
-
tmp = this_0.
|
|
1478
|
+
tmp = this_0.p5();
|
|
2117
1479
|
} else {
|
|
2118
1480
|
tmp = emptyList();
|
|
2119
1481
|
}
|
|
@@ -2121,9 +1483,9 @@ function getNonFiniteEdgeCases(range, includeNaNs) {
|
|
|
2121
1483
|
}
|
|
2122
1484
|
function DoubleShrinker() {
|
|
2123
1485
|
DoubleShrinker_instance = this;
|
|
2124
|
-
this.
|
|
1486
|
+
this.x5x_1 = Regex_init_$Create$('([+-]|)([0-9]*)(\\.[0-9]*|)(e[+-]?[0-9]+|)', RegexOption_IGNORE_CASE_getInstance());
|
|
2125
1487
|
}
|
|
2126
|
-
protoOf(DoubleShrinker).
|
|
1488
|
+
protoOf(DoubleShrinker).y5x = function (value) {
|
|
2127
1489
|
var tmp;
|
|
2128
1490
|
var tmp_0;
|
|
2129
1491
|
if (value === 0.0 || !isFinite(value)) {
|
|
@@ -2135,16 +1497,16 @@ protoOf(DoubleShrinker).z60 = function (value) {
|
|
|
2135
1497
|
if (tmp_0) {
|
|
2136
1498
|
tmp = emptyList();
|
|
2137
1499
|
} else {
|
|
2138
|
-
var tmp0_safe_receiver = this.
|
|
1500
|
+
var tmp0_safe_receiver = this.z5x(value.toString());
|
|
2139
1501
|
tmp = listOfNotNull_0(tmp0_safe_receiver == null ? null : toDouble(tmp0_safe_receiver));
|
|
2140
1502
|
}
|
|
2141
1503
|
return tmp;
|
|
2142
1504
|
};
|
|
2143
|
-
protoOf(DoubleShrinker).
|
|
2144
|
-
return this.
|
|
1505
|
+
protoOf(DoubleShrinker).i5s = function (value) {
|
|
1506
|
+
return this.y5x((!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2145
1507
|
};
|
|
2146
|
-
protoOf(DoubleShrinker).
|
|
2147
|
-
var tmp0_elvis_lhs = this.
|
|
1508
|
+
protoOf(DoubleShrinker).z5x = function (value) {
|
|
1509
|
+
var tmp0_elvis_lhs = this.x5x_1.tc(value);
|
|
2148
1510
|
var tmp;
|
|
2149
1511
|
if (tmp0_elvis_lhs == null) {
|
|
2150
1512
|
return null;
|
|
@@ -2152,15 +1514,15 @@ protoOf(DoubleShrinker).a61 = function (value) {
|
|
|
2152
1514
|
tmp = tmp0_elvis_lhs;
|
|
2153
1515
|
}
|
|
2154
1516
|
var matches = tmp;
|
|
2155
|
-
var parts = drop(matches.
|
|
1517
|
+
var parts = drop(matches.qd(), 1);
|
|
2156
1518
|
// Inline function 'kotlin.collections.component1' call
|
|
2157
|
-
var signPart = parts.
|
|
1519
|
+
var signPart = parts.f1(0);
|
|
2158
1520
|
// Inline function 'kotlin.collections.component2' call
|
|
2159
|
-
var intPart = parts.
|
|
1521
|
+
var intPart = parts.f1(1);
|
|
2160
1522
|
// Inline function 'kotlin.collections.component3' call
|
|
2161
|
-
var fracPart_ = parts.
|
|
1523
|
+
var fracPart_ = parts.f1(2);
|
|
2162
1524
|
// Inline function 'kotlin.collections.component4' call
|
|
2163
|
-
var expPart = parts.
|
|
1525
|
+
var expPart = parts.f1(3);
|
|
2164
1526
|
// Inline function 'kotlin.text.trimEnd' call
|
|
2165
1527
|
var tmp0 = isCharSequence(fracPart_) ? fracPart_ : THROW_CCE();
|
|
2166
1528
|
var tmp$ret$5;
|
|
@@ -2228,29 +1590,29 @@ function DoubleShrinker_getInstance() {
|
|
|
2228
1590
|
return DoubleShrinker_instance;
|
|
2229
1591
|
}
|
|
2230
1592
|
function double$slambda($range, resultContinuation) {
|
|
2231
|
-
this.
|
|
1593
|
+
this.i5y_1 = $range;
|
|
2232
1594
|
CoroutineImpl.call(this, resultContinuation);
|
|
2233
1595
|
}
|
|
2234
|
-
protoOf(double$slambda).
|
|
2235
|
-
var tmp = this.
|
|
2236
|
-
tmp.
|
|
2237
|
-
tmp.
|
|
2238
|
-
return tmp.
|
|
1596
|
+
protoOf(double$slambda).l5y = function ($this$arbitrary, it, $completion) {
|
|
1597
|
+
var tmp = this.w5s($this$arbitrary, it, $completion);
|
|
1598
|
+
tmp.f9_1 = Unit_instance;
|
|
1599
|
+
tmp.g9_1 = null;
|
|
1600
|
+
return tmp.l9();
|
|
2239
1601
|
};
|
|
2240
|
-
protoOf(double$slambda).
|
|
1602
|
+
protoOf(double$slambda).r9 = function (p1, p2, $completion) {
|
|
2241
1603
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
2242
|
-
return this.
|
|
1604
|
+
return this.l5y(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
2243
1605
|
};
|
|
2244
|
-
protoOf(double$slambda).
|
|
2245
|
-
var suspendResult = this.
|
|
1606
|
+
protoOf(double$slambda).l9 = function () {
|
|
1607
|
+
var suspendResult = this.f9_1;
|
|
2246
1608
|
$sm: do
|
|
2247
1609
|
try {
|
|
2248
|
-
var tmp = this.
|
|
1610
|
+
var tmp = this.d9_1;
|
|
2249
1611
|
if (tmp === 0) {
|
|
2250
|
-
this.
|
|
2251
|
-
return this.
|
|
1612
|
+
this.e9_1 = 1;
|
|
1613
|
+
return this.k5y_1.z5q_1.mi(this.i5y_1.xc(), this.i5y_1.yc());
|
|
2252
1614
|
} else if (tmp === 1) {
|
|
2253
|
-
throw this.
|
|
1615
|
+
throw this.g9_1;
|
|
2254
1616
|
}
|
|
2255
1617
|
} catch ($p) {
|
|
2256
1618
|
var e = $p;
|
|
@@ -2258,16 +1620,16 @@ protoOf(double$slambda).q9 = function () {
|
|
|
2258
1620
|
}
|
|
2259
1621
|
while (true);
|
|
2260
1622
|
};
|
|
2261
|
-
protoOf(double$slambda).
|
|
2262
|
-
var i = new double$slambda(this.
|
|
2263
|
-
i.
|
|
2264
|
-
i.
|
|
1623
|
+
protoOf(double$slambda).w5s = function ($this$arbitrary, it, completion) {
|
|
1624
|
+
var i = new double$slambda(this.i5y_1, completion);
|
|
1625
|
+
i.j5y_1 = $this$arbitrary;
|
|
1626
|
+
i.k5y_1 = it;
|
|
2265
1627
|
return i;
|
|
2266
1628
|
};
|
|
2267
1629
|
function double$slambda_0($range, resultContinuation) {
|
|
2268
1630
|
var i = new double$slambda($range, resultContinuation);
|
|
2269
1631
|
var l = function ($this$arbitrary, it, $completion) {
|
|
2270
|
-
return i.
|
|
1632
|
+
return i.l5y($this$arbitrary, it, $completion);
|
|
2271
1633
|
};
|
|
2272
1634
|
l.$arity = 2;
|
|
2273
1635
|
return l;
|
|
@@ -2279,143 +1641,6 @@ function _init_properties_doubles_kt__m69t1s() {
|
|
|
2279
1641
|
numericEdgeCases = listOf([-1.0, -4.9E-324, -0.0, 0.0, 4.9E-324, 1.0]);
|
|
2280
1642
|
}
|
|
2281
1643
|
}
|
|
2282
|
-
function email(_this__u8e3s4, localPartGen, domainGen) {
|
|
2283
|
-
localPartGen = localPartGen === VOID ? emailLocalPart(_this__u8e3s4) : localPartGen;
|
|
2284
|
-
domainGen = domainGen === VOID ? domain(_this__u8e3s4) : domainGen;
|
|
2285
|
-
return bind(_this__u8e3s4, localPartGen, domainGen, email$lambda);
|
|
2286
|
-
}
|
|
2287
|
-
function emailLocalPart(_this__u8e3s4) {
|
|
2288
|
-
return arbitrary(emailLocalPart$slambda_0(null));
|
|
2289
|
-
}
|
|
2290
|
-
function email$lambda(localPart, domain) {
|
|
2291
|
-
return localPart + '@' + domain;
|
|
2292
|
-
}
|
|
2293
|
-
function emailLocalPart$slambda(resultContinuation) {
|
|
2294
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
2295
|
-
}
|
|
2296
|
-
protoOf(emailLocalPart$slambda).a60 = function ($this$arbitrary, rs, $completion) {
|
|
2297
|
-
var tmp = this.e5u($this$arbitrary, rs, $completion);
|
|
2298
|
-
tmp.k9_1 = Unit_instance;
|
|
2299
|
-
tmp.l9_1 = null;
|
|
2300
|
-
return tmp.q9();
|
|
2301
|
-
};
|
|
2302
|
-
protoOf(emailLocalPart$slambda).w9 = function (p1, p2, $completion) {
|
|
2303
|
-
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
2304
|
-
return this.a60(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
2305
|
-
};
|
|
2306
|
-
protoOf(emailLocalPart$slambda).q9 = function () {
|
|
2307
|
-
var suspendResult = this.k9_1;
|
|
2308
|
-
$sm: do
|
|
2309
|
-
try {
|
|
2310
|
-
var tmp = this.i9_1;
|
|
2311
|
-
if (tmp === 0) {
|
|
2312
|
-
this.j9_1 = 1;
|
|
2313
|
-
var possibleChars = plus(plus(plus_0(Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(65), _Char___init__impl__6a9atx(90)), Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(97), _Char___init__impl__6a9atx(122))), Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(48), _Char___init__impl__6a9atx(57))), toList_0("!#$%&'*+-/=?^_`{|}~."));
|
|
2314
|
-
var firstAndLastChars = minus(possibleChars, new Char(_Char___init__impl__6a9atx(46)));
|
|
2315
|
-
var size = nextInt(this.w61_1.r5r_1, numberRangeToNumber(1, 64));
|
|
2316
|
-
var tmp_0;
|
|
2317
|
-
if (size <= 2) {
|
|
2318
|
-
var list = ArrayList_init_$Create$(size);
|
|
2319
|
-
var inductionVariable = 0;
|
|
2320
|
-
if (inductionVariable < size)
|
|
2321
|
-
do {
|
|
2322
|
-
var index = inductionVariable;
|
|
2323
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
2324
|
-
list.x(random(firstAndLastChars, this.w61_1.r5r_1));
|
|
2325
|
-
}
|
|
2326
|
-
while (inductionVariable < size);
|
|
2327
|
-
tmp_0 = joinToString_0(list, '');
|
|
2328
|
-
} else {
|
|
2329
|
-
var tmp0 = random(firstAndLastChars, this.w61_1.r5r_1).i1_1;
|
|
2330
|
-
var size_0 = size - 2 | 0;
|
|
2331
|
-
var list_0 = ArrayList_init_$Create$(size_0);
|
|
2332
|
-
var inductionVariable_0 = 0;
|
|
2333
|
-
if (inductionVariable_0 < size_0)
|
|
2334
|
-
do {
|
|
2335
|
-
var index_0 = inductionVariable_0;
|
|
2336
|
-
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2337
|
-
list_0.x(random(possibleChars, this.w61_1.r5r_1));
|
|
2338
|
-
}
|
|
2339
|
-
while (inductionVariable_0 < size_0);
|
|
2340
|
-
var other = joinToString_0(list_0, '');
|
|
2341
|
-
tmp_0 = toString_1(tmp0) + other + toString_1(random(firstAndLastChars, this.w61_1.r5r_1).i1_1);
|
|
2342
|
-
}
|
|
2343
|
-
var str = tmp_0;
|
|
2344
|
-
return Regex_init_$Create$_0('\\.+').zc(str, '.');
|
|
2345
|
-
} else if (tmp === 1) {
|
|
2346
|
-
throw this.l9_1;
|
|
2347
|
-
}
|
|
2348
|
-
} catch ($p) {
|
|
2349
|
-
var e = $p;
|
|
2350
|
-
throw e;
|
|
2351
|
-
}
|
|
2352
|
-
while (true);
|
|
2353
|
-
};
|
|
2354
|
-
protoOf(emailLocalPart$slambda).e5u = function ($this$arbitrary, rs, completion) {
|
|
2355
|
-
var i = new emailLocalPart$slambda(completion);
|
|
2356
|
-
i.v61_1 = $this$arbitrary;
|
|
2357
|
-
i.w61_1 = rs;
|
|
2358
|
-
return i;
|
|
2359
|
-
};
|
|
2360
|
-
function emailLocalPart$slambda_0(resultContinuation) {
|
|
2361
|
-
var i = new emailLocalPart$slambda(resultContinuation);
|
|
2362
|
-
var l = function ($this$arbitrary, rs, $completion) {
|
|
2363
|
-
return i.a60($this$arbitrary, rs, $completion);
|
|
2364
|
-
};
|
|
2365
|
-
l.$arity = 2;
|
|
2366
|
-
return l;
|
|
2367
|
-
}
|
|
2368
|
-
function filter_1(_this__u8e3s4, predicate) {
|
|
2369
|
-
return trampoline(_this__u8e3s4, filter$lambda_1(_this__u8e3s4, predicate));
|
|
2370
|
-
}
|
|
2371
|
-
function filter$lambda$o$edgecase$lambda($this_filter, $rs) {
|
|
2372
|
-
return function () {
|
|
2373
|
-
return $this_filter.m5r($rs);
|
|
2374
|
-
};
|
|
2375
|
-
}
|
|
2376
|
-
function filter$lambda$o$edgecase$lambda_0($predicate) {
|
|
2377
|
-
return function (it) {
|
|
2378
|
-
return $predicate(it.v5r_1);
|
|
2379
|
-
};
|
|
2380
|
-
}
|
|
2381
|
-
function filter$lambda$o$sample$lambda($predicate) {
|
|
2382
|
-
return function (it) {
|
|
2383
|
-
return $predicate(it.v5r_1);
|
|
2384
|
-
};
|
|
2385
|
-
}
|
|
2386
|
-
function filter$lambda$o$sample$lambda_0($sample) {
|
|
2387
|
-
return function () {
|
|
2388
|
-
return $sample.v5r_1;
|
|
2389
|
-
};
|
|
2390
|
-
}
|
|
2391
|
-
function filter$2$1($sampleA, $this_filter, $predicate) {
|
|
2392
|
-
this.y61_1 = $sampleA;
|
|
2393
|
-
this.z61_1 = $this_filter;
|
|
2394
|
-
this.a62_1 = $predicate;
|
|
2395
|
-
Arb.call(this);
|
|
2396
|
-
}
|
|
2397
|
-
protoOf(filter$2$1).m5r = function (rs) {
|
|
2398
|
-
var tmp = sequenceOf(this.y61_1);
|
|
2399
|
-
var tmp_0 = take(plus_2(tmp, generateSequence(filter$lambda$o$edgecase$lambda(this.z61_1, rs))), PropertyTesting_getInstance().x5r_1);
|
|
2400
|
-
return firstOrNull_0(filter(tmp_0, filter$lambda$o$edgecase$lambda_0(this.a62_1)));
|
|
2401
|
-
};
|
|
2402
|
-
protoOf(filter$2$1).l5r = function (rs) {
|
|
2403
|
-
var tmp = plus_2(sequenceOf(this.y61_1), this.z61_1.n5r(rs));
|
|
2404
|
-
var sample = first_0(filter(tmp, filter$lambda$o$sample$lambda(this.a62_1)));
|
|
2405
|
-
var tmp0_elvis_lhs = filter_0(sample.w5r_1, this.a62_1);
|
|
2406
|
-
var tmp_0;
|
|
2407
|
-
if (tmp0_elvis_lhs == null) {
|
|
2408
|
-
tmp_0 = new RTree(filter$lambda$o$sample$lambda_0(sample));
|
|
2409
|
-
} else {
|
|
2410
|
-
tmp_0 = tmp0_elvis_lhs;
|
|
2411
|
-
}
|
|
2412
|
-
return new Sample(sample.v5r_1, tmp_0);
|
|
2413
|
-
};
|
|
2414
|
-
function filter$lambda_1($this_filter, $predicate) {
|
|
2415
|
-
return function (sampleA) {
|
|
2416
|
-
return new filter$2$1(sampleA, $this_filter, $predicate);
|
|
2417
|
-
};
|
|
2418
|
-
}
|
|
2419
1644
|
function get_numericEdgeCases_0() {
|
|
2420
1645
|
_init_properties_floats_kt__ddosbb();
|
|
2421
1646
|
return numericEdgeCases_0;
|
|
@@ -2439,13 +1664,13 @@ function float_0(_this__u8e3s4, range, includeNaNs) {
|
|
|
2439
1664
|
var _iterator__ex2g4s = tmp0.t();
|
|
2440
1665
|
while (_iterator__ex2g4s.u()) {
|
|
2441
1666
|
var element = _iterator__ex2g4s.v();
|
|
2442
|
-
if (range.
|
|
1667
|
+
if (range.s1(element)) {
|
|
2443
1668
|
destination.x(element);
|
|
2444
1669
|
}
|
|
2445
1670
|
}
|
|
2446
|
-
var tmp = plus(distinct(plus(destination, listOf([range.
|
|
1671
|
+
var tmp = plus(distinct(plus(destination, listOf([range.xc(), range.yc()]))), getNonFiniteEdgeCases_0(range, includeNaNs));
|
|
2447
1672
|
var tmp_0 = FloatShrinker_instance;
|
|
2448
|
-
return
|
|
1673
|
+
return arbitrary_0(tmp, tmp_0, float$slambda_0(range, null));
|
|
2449
1674
|
}
|
|
2450
1675
|
function getNonFiniteEdgeCases_0(range, includeNaNs) {
|
|
2451
1676
|
_init_properties_floats_kt__ddosbb();
|
|
@@ -2456,13 +1681,13 @@ function getNonFiniteEdgeCases_0(range, includeNaNs) {
|
|
|
2456
1681
|
// Inline function 'kotlin.apply' call
|
|
2457
1682
|
var this_0 = ArrayList_init_$Create$_0();
|
|
2458
1683
|
this_0.x(NaN);
|
|
2459
|
-
if (range.
|
|
1684
|
+
if (range.xc() === -Infinity) {
|
|
2460
1685
|
this_0.x(-Infinity);
|
|
2461
1686
|
}
|
|
2462
|
-
if (range.
|
|
1687
|
+
if (range.yc() === Infinity) {
|
|
2463
1688
|
this_0.x(Infinity);
|
|
2464
1689
|
}
|
|
2465
|
-
tmp = this_0.
|
|
1690
|
+
tmp = this_0.p5();
|
|
2466
1691
|
} else {
|
|
2467
1692
|
tmp = emptyList();
|
|
2468
1693
|
}
|
|
@@ -2470,7 +1695,7 @@ function getNonFiniteEdgeCases_0(range, includeNaNs) {
|
|
|
2470
1695
|
}
|
|
2471
1696
|
function FloatShrinker() {
|
|
2472
1697
|
}
|
|
2473
|
-
protoOf(FloatShrinker).
|
|
1698
|
+
protoOf(FloatShrinker).m5y = function (value) {
|
|
2474
1699
|
var tmp;
|
|
2475
1700
|
var tmp_0;
|
|
2476
1701
|
if (value === 0.0 || !isFinite_0(value)) {
|
|
@@ -2482,7 +1707,7 @@ protoOf(FloatShrinker).b62 = function (value) {
|
|
|
2482
1707
|
if (tmp_0) {
|
|
2483
1708
|
tmp = emptyList();
|
|
2484
1709
|
} else {
|
|
2485
|
-
var tmp0_safe_receiver = DoubleShrinker_getInstance().
|
|
1710
|
+
var tmp0_safe_receiver = DoubleShrinker_getInstance().z5x(value.toString());
|
|
2486
1711
|
var tmp_1;
|
|
2487
1712
|
if (tmp0_safe_receiver == null) {
|
|
2488
1713
|
tmp_1 = null;
|
|
@@ -2496,37 +1721,37 @@ protoOf(FloatShrinker).b62 = function (value) {
|
|
|
2496
1721
|
}
|
|
2497
1722
|
return tmp;
|
|
2498
1723
|
};
|
|
2499
|
-
protoOf(FloatShrinker).
|
|
2500
|
-
return this.
|
|
1724
|
+
protoOf(FloatShrinker).i5s = function (value) {
|
|
1725
|
+
return this.m5y((!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2501
1726
|
};
|
|
2502
1727
|
var FloatShrinker_instance;
|
|
2503
1728
|
function FloatShrinker_getInstance() {
|
|
2504
1729
|
return FloatShrinker_instance;
|
|
2505
1730
|
}
|
|
2506
1731
|
function float$slambda($range, resultContinuation) {
|
|
2507
|
-
this.
|
|
1732
|
+
this.v5y_1 = $range;
|
|
2508
1733
|
CoroutineImpl.call(this, resultContinuation);
|
|
2509
1734
|
}
|
|
2510
|
-
protoOf(float$slambda).
|
|
2511
|
-
var tmp = this.
|
|
2512
|
-
tmp.
|
|
2513
|
-
tmp.
|
|
2514
|
-
return tmp.
|
|
1735
|
+
protoOf(float$slambda).y5y = function ($this$arbitrary, it, $completion) {
|
|
1736
|
+
var tmp = this.w5s($this$arbitrary, it, $completion);
|
|
1737
|
+
tmp.f9_1 = Unit_instance;
|
|
1738
|
+
tmp.g9_1 = null;
|
|
1739
|
+
return tmp.l9();
|
|
2515
1740
|
};
|
|
2516
|
-
protoOf(float$slambda).
|
|
1741
|
+
protoOf(float$slambda).r9 = function (p1, p2, $completion) {
|
|
2517
1742
|
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
2518
|
-
return this.
|
|
1743
|
+
return this.y5y(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
2519
1744
|
};
|
|
2520
|
-
protoOf(float$slambda).
|
|
2521
|
-
var suspendResult = this.
|
|
1745
|
+
protoOf(float$slambda).l9 = function () {
|
|
1746
|
+
var suspendResult = this.f9_1;
|
|
2522
1747
|
$sm: do
|
|
2523
1748
|
try {
|
|
2524
|
-
var tmp = this.
|
|
1749
|
+
var tmp = this.d9_1;
|
|
2525
1750
|
if (tmp === 0) {
|
|
2526
|
-
this.
|
|
2527
|
-
return this.
|
|
1751
|
+
this.e9_1 = 1;
|
|
1752
|
+
return this.x5y_1.z5q_1.mi(this.v5y_1.xc(), this.v5y_1.yc());
|
|
2528
1753
|
} else if (tmp === 1) {
|
|
2529
|
-
throw this.
|
|
1754
|
+
throw this.g9_1;
|
|
2530
1755
|
}
|
|
2531
1756
|
} catch ($p) {
|
|
2532
1757
|
var e = $p;
|
|
@@ -2534,16 +1759,16 @@ protoOf(float$slambda).q9 = function () {
|
|
|
2534
1759
|
}
|
|
2535
1760
|
while (true);
|
|
2536
1761
|
};
|
|
2537
|
-
protoOf(float$slambda).
|
|
2538
|
-
var i = new float$slambda(this.
|
|
2539
|
-
i.
|
|
2540
|
-
i.
|
|
1762
|
+
protoOf(float$slambda).w5s = function ($this$arbitrary, it, completion) {
|
|
1763
|
+
var i = new float$slambda(this.v5y_1, completion);
|
|
1764
|
+
i.w5y_1 = $this$arbitrary;
|
|
1765
|
+
i.x5y_1 = it;
|
|
2541
1766
|
return i;
|
|
2542
1767
|
};
|
|
2543
1768
|
function float$slambda_0($range, resultContinuation) {
|
|
2544
1769
|
var i = new float$slambda($range, resultContinuation);
|
|
2545
1770
|
var l = function ($this$arbitrary, it, $completion) {
|
|
2546
|
-
return i.
|
|
1771
|
+
return i.y5y($this$arbitrary, it, $completion);
|
|
2547
1772
|
};
|
|
2548
1773
|
l.$arity = 2;
|
|
2549
1774
|
return l;
|
|
@@ -2559,7 +1784,7 @@ function int(_this__u8e3s4, range) {
|
|
|
2559
1784
|
range = range === VOID ? numberRangeToNumber(-2147483648, 2147483647) : range;
|
|
2560
1785
|
// Inline function 'kotlin.intArrayOf' call
|
|
2561
1786
|
// Inline function 'kotlin.collections.filter' call
|
|
2562
|
-
var tmp0 = new Int32Array([range.
|
|
1787
|
+
var tmp0 = new Int32Array([range.p1_1, -1, 0, 1, range.q1_1]);
|
|
2563
1788
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2564
1789
|
var destination = ArrayList_init_$Create$_0();
|
|
2565
1790
|
var inductionVariable = 0;
|
|
@@ -2567,19 +1792,19 @@ function int(_this__u8e3s4, range) {
|
|
|
2567
1792
|
while (inductionVariable < last) {
|
|
2568
1793
|
var element = tmp0[inductionVariable];
|
|
2569
1794
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2570
|
-
var containsLower = range.
|
|
2571
|
-
if (element <= range.
|
|
1795
|
+
var containsLower = range.p1_1;
|
|
1796
|
+
if (element <= range.q1_1 ? containsLower <= element : false) {
|
|
2572
1797
|
destination.x(element);
|
|
2573
1798
|
}
|
|
2574
1799
|
}
|
|
2575
1800
|
var edgeCases = distinct(destination);
|
|
2576
1801
|
var tmp = Companion_instance_1;
|
|
2577
|
-
return tmp.
|
|
1802
|
+
return tmp.e5t(int$lambda(range)).o5t(edgeCases).n5t(new IntShrinker(range)).m5t(IntClassifier_init_$Create$(range)).p1x();
|
|
2578
1803
|
}
|
|
2579
1804
|
function IntShrinker(range) {
|
|
2580
|
-
this.
|
|
1805
|
+
this.z5y_1 = range;
|
|
2581
1806
|
}
|
|
2582
|
-
protoOf(IntShrinker).
|
|
1807
|
+
protoOf(IntShrinker).a5z = function (value) {
|
|
2583
1808
|
var tmp;
|
|
2584
1809
|
switch (value) {
|
|
2585
1810
|
case 0:
|
|
@@ -2596,9 +1821,9 @@ protoOf(IntShrinker).p62 = function (value) {
|
|
|
2596
1821
|
var _iterator__ex2g4s = tmp0.t();
|
|
2597
1822
|
while (_iterator__ex2g4s.u()) {
|
|
2598
1823
|
var element = _iterator__ex2g4s.v();
|
|
2599
|
-
var progression = this.
|
|
2600
|
-
var containsLower = progression.
|
|
2601
|
-
if (element <= progression.
|
|
1824
|
+
var progression = this.z5y_1;
|
|
1825
|
+
var containsLower = progression.p1_1;
|
|
1826
|
+
if (element <= progression.q1_1 ? containsLower <= element : false) {
|
|
2602
1827
|
destination.x(element);
|
|
2603
1828
|
}
|
|
2604
1829
|
}
|
|
@@ -2615,8 +1840,8 @@ protoOf(IntShrinker).p62 = function (value) {
|
|
|
2615
1840
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2616
1841
|
|
|
2617
1842
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2618
|
-
var inductionVariable = this_0.
|
|
2619
|
-
var last = this_0.
|
|
1843
|
+
var inductionVariable = this_0.p1_1;
|
|
1844
|
+
var last = this_0.q1_1;
|
|
2620
1845
|
if (inductionVariable <= last)
|
|
2621
1846
|
do {
|
|
2622
1847
|
var item = inductionVariable;
|
|
@@ -2642,7 +1867,7 @@ protoOf(IntShrinker).p62 = function (value) {
|
|
|
2642
1867
|
var b = destination_1;
|
|
2643
1868
|
// Inline function 'kotlin.collections.filterNot' call
|
|
2644
1869
|
|
|
2645
|
-
var tmp0_1 = distinct_0(
|
|
1870
|
+
var tmp0_1 = distinct_0(plus_0(a, b));
|
|
2646
1871
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
2647
1872
|
|
|
2648
1873
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
@@ -2662,9 +1887,9 @@ protoOf(IntShrinker).p62 = function (value) {
|
|
|
2662
1887
|
var _iterator__ex2g4s_2 = destination_2.t();
|
|
2663
1888
|
while (_iterator__ex2g4s_2.u()) {
|
|
2664
1889
|
var element_2 = _iterator__ex2g4s_2.v();
|
|
2665
|
-
var progression_0 = this.
|
|
2666
|
-
var containsLower_0 = progression_0.
|
|
2667
|
-
if (element_2 <= progression_0.
|
|
1890
|
+
var progression_0 = this.z5y_1;
|
|
1891
|
+
var containsLower_0 = progression_0.p1_1;
|
|
1892
|
+
if (element_2 <= progression_0.q1_1 ? containsLower_0 <= element_2 : false) {
|
|
2668
1893
|
destination_3.x(element_2);
|
|
2669
1894
|
}
|
|
2670
1895
|
}
|
|
@@ -2674,13 +1899,13 @@ protoOf(IntShrinker).p62 = function (value) {
|
|
|
2674
1899
|
}
|
|
2675
1900
|
return tmp;
|
|
2676
1901
|
};
|
|
2677
|
-
protoOf(IntShrinker).
|
|
2678
|
-
return this.
|
|
1902
|
+
protoOf(IntShrinker).i5s = function (value) {
|
|
1903
|
+
return this.a5z((!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2679
1904
|
};
|
|
2680
1905
|
function UIntShrinker(range) {
|
|
2681
|
-
this.
|
|
1906
|
+
this.b5z_1 = range;
|
|
2682
1907
|
}
|
|
2683
|
-
protoOf(UIntShrinker).
|
|
1908
|
+
protoOf(UIntShrinker).c5z = function (value) {
|
|
2684
1909
|
var tmp;
|
|
2685
1910
|
if (value === _UInt___init__impl__l7qpdl(0)) {
|
|
2686
1911
|
tmp = emptyList();
|
|
@@ -2692,10 +1917,10 @@ protoOf(UIntShrinker).r62 = function (value) {
|
|
|
2692
1917
|
var _iterator__ex2g4s = tmp0.t();
|
|
2693
1918
|
while (_iterator__ex2g4s.u()) {
|
|
2694
1919
|
var element = _iterator__ex2g4s.v();
|
|
2695
|
-
var it = element.
|
|
2696
|
-
var progression = this.
|
|
2697
|
-
var containsLower = progression.
|
|
2698
|
-
if (UInt__compareTo_impl_yacclj(it, progression.
|
|
1920
|
+
var it = element.pn_1;
|
|
1921
|
+
var progression = this.b5z_1;
|
|
1922
|
+
var containsLower = progression.bo_1;
|
|
1923
|
+
if (UInt__compareTo_impl_yacclj(it, progression.co_1) <= 0 ? 0 <= UInt__compareTo_impl_yacclj(it, containsLower) : false) {
|
|
2699
1924
|
destination.x(element);
|
|
2700
1925
|
}
|
|
2701
1926
|
}
|
|
@@ -2723,19 +1948,19 @@ protoOf(UIntShrinker).r62 = function (value) {
|
|
|
2723
1948
|
var this_0 = new UIntRange(tmp0_1, other_3);
|
|
2724
1949
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2725
1950
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2726
|
-
var inductionVariable = UInt__toInt_impl_93yt4d(this_0.
|
|
2727
|
-
var last = UInt__toInt_impl_93yt4d(this_0.
|
|
1951
|
+
var inductionVariable = UInt__toInt_impl_93yt4d(this_0.bo_1);
|
|
1952
|
+
var last = UInt__toInt_impl_93yt4d(this_0.co_1);
|
|
2728
1953
|
if (UInt__compareTo_impl_yacclj(toUInt(inductionVariable), toUInt(last)) <= 0)
|
|
2729
1954
|
do {
|
|
2730
1955
|
var item = new UInt(toUInt(inductionVariable));
|
|
2731
1956
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2732
1957
|
// Inline function 'kotlin.UInt.minus' call
|
|
2733
|
-
var other_4 = item.
|
|
1958
|
+
var other_4 = item.pn_1;
|
|
2734
1959
|
var tmp$ret$8 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(value) - _UInt___get_data__impl__f0vqqw(other_4) | 0);
|
|
2735
1960
|
var tmp$ret$9 = new UInt(tmp$ret$8);
|
|
2736
1961
|
destination_0.x(tmp$ret$9);
|
|
2737
1962
|
}
|
|
2738
|
-
while (!(UInt__toInt_impl_93yt4d(item.
|
|
1963
|
+
while (!(UInt__toInt_impl_93yt4d(item.pn_1) === last));
|
|
2739
1964
|
// Inline function 'kotlin.collections.filter' call
|
|
2740
1965
|
var tmp0_2 = reversed(destination_0);
|
|
2741
1966
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -2743,7 +1968,7 @@ protoOf(UIntShrinker).r62 = function (value) {
|
|
|
2743
1968
|
var _iterator__ex2g4s_0 = tmp0_2.t();
|
|
2744
1969
|
while (_iterator__ex2g4s_0.u()) {
|
|
2745
1970
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2746
|
-
var tmp0_3 = element_0.
|
|
1971
|
+
var tmp0_3 = element_0.pn_1;
|
|
2747
1972
|
// Inline function 'kotlin.UInt.compareTo' call
|
|
2748
1973
|
var other_5 = _UInt___init__impl__l7qpdl(0);
|
|
2749
1974
|
if (uintCompare(_UInt___get_data__impl__f0vqqw(tmp0_3), _UInt___get_data__impl__f0vqqw(other_5)) > 0) {
|
|
@@ -2758,7 +1983,7 @@ protoOf(UIntShrinker).r62 = function (value) {
|
|
|
2758
1983
|
var _iterator__ex2g4s_1 = tmp0_4.t();
|
|
2759
1984
|
while (_iterator__ex2g4s_1.u()) {
|
|
2760
1985
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
2761
|
-
if (!(element_1.
|
|
1986
|
+
if (!(element_1.pn_1 === value)) {
|
|
2762
1987
|
destination_2.x(element_1);
|
|
2763
1988
|
}
|
|
2764
1989
|
}
|
|
@@ -2768,10 +1993,10 @@ protoOf(UIntShrinker).r62 = function (value) {
|
|
|
2768
1993
|
var _iterator__ex2g4s_2 = destination_2.t();
|
|
2769
1994
|
while (_iterator__ex2g4s_2.u()) {
|
|
2770
1995
|
var element_2 = _iterator__ex2g4s_2.v();
|
|
2771
|
-
var it_0 = element_2.
|
|
2772
|
-
var progression_0 = this.
|
|
2773
|
-
var containsLower_0 = progression_0.
|
|
2774
|
-
if (UInt__compareTo_impl_yacclj(it_0, progression_0.
|
|
1996
|
+
var it_0 = element_2.pn_1;
|
|
1997
|
+
var progression_0 = this.b5z_1;
|
|
1998
|
+
var containsLower_0 = progression_0.bo_1;
|
|
1999
|
+
if (UInt__compareTo_impl_yacclj(it_0, progression_0.co_1) <= 0 ? 0 <= UInt__compareTo_impl_yacclj(it_0, containsLower_0) : false) {
|
|
2775
2000
|
destination_3.x(element_2);
|
|
2776
2001
|
}
|
|
2777
2002
|
}
|
|
@@ -2779,19 +2004,19 @@ protoOf(UIntShrinker).r62 = function (value) {
|
|
|
2779
2004
|
}
|
|
2780
2005
|
return tmp;
|
|
2781
2006
|
};
|
|
2782
|
-
protoOf(UIntShrinker).
|
|
2783
|
-
return this.
|
|
2007
|
+
protoOf(UIntShrinker).i5s = function (value) {
|
|
2008
|
+
return this.c5z(value instanceof UInt ? value.pn_1 : THROW_CCE());
|
|
2784
2009
|
};
|
|
2785
2010
|
function int$lambda($range) {
|
|
2786
2011
|
return function (it) {
|
|
2787
|
-
return nextInt(it.
|
|
2012
|
+
return nextInt(it.z5q_1, $range);
|
|
2788
2013
|
};
|
|
2789
2014
|
}
|
|
2790
2015
|
function long(_this__u8e3s4, range) {
|
|
2791
2016
|
range = range === VOID ? longRangeToLong(new Long(0, -2147483648), new Long(-1, 2147483647)) : range;
|
|
2792
2017
|
// Inline function 'kotlin.longArrayOf' call
|
|
2793
2018
|
// Inline function 'kotlin.collections.filter' call
|
|
2794
|
-
var tmp0 = longArrayOf([range.
|
|
2019
|
+
var tmp0 = longArrayOf([range.qi_1, new Long(-1, -1), new Long(0, 0), new Long(1, 0), range.ri_1]);
|
|
2795
2020
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2796
2021
|
var destination = ArrayList_init_$Create$_0();
|
|
2797
2022
|
var inductionVariable = 0;
|
|
@@ -2799,19 +2024,19 @@ function long(_this__u8e3s4, range) {
|
|
|
2799
2024
|
while (inductionVariable < last) {
|
|
2800
2025
|
var element = tmp0[inductionVariable];
|
|
2801
2026
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2802
|
-
var containsLower = range.
|
|
2803
|
-
if (compare(element, range.
|
|
2027
|
+
var containsLower = range.qi_1;
|
|
2028
|
+
if (compare(element, range.ri_1) <= 0 ? compare(containsLower, element) <= 0 : false) {
|
|
2804
2029
|
destination.x(element);
|
|
2805
2030
|
}
|
|
2806
2031
|
}
|
|
2807
2032
|
var edgeCases = distinct(destination);
|
|
2808
2033
|
var tmp = Companion_instance_1;
|
|
2809
|
-
return tmp.
|
|
2034
|
+
return tmp.e5t(long$lambda(range)).o5t(edgeCases).n5t(new LongShrinker(range)).m5t(LongClassifier_init_$Create$(range)).p1x();
|
|
2810
2035
|
}
|
|
2811
2036
|
function LongShrinker(range) {
|
|
2812
|
-
this.
|
|
2037
|
+
this.d5z_1 = range;
|
|
2813
2038
|
}
|
|
2814
|
-
protoOf(LongShrinker).
|
|
2039
|
+
protoOf(LongShrinker).e5z = function (value) {
|
|
2815
2040
|
var tmp;
|
|
2816
2041
|
if (equalsLong(value, new Long(0, 0))) {
|
|
2817
2042
|
tmp = emptyList();
|
|
@@ -2823,9 +2048,9 @@ protoOf(LongShrinker).t62 = function (value) {
|
|
|
2823
2048
|
var _iterator__ex2g4s = tmp0.t();
|
|
2824
2049
|
while (_iterator__ex2g4s.u()) {
|
|
2825
2050
|
var element = _iterator__ex2g4s.v();
|
|
2826
|
-
var progression = this.
|
|
2827
|
-
var containsLower = progression.
|
|
2828
|
-
if (compare(element, progression.
|
|
2051
|
+
var progression = this.d5z_1;
|
|
2052
|
+
var containsLower = progression.qi_1;
|
|
2053
|
+
if (compare(element, progression.ri_1) <= 0 ? compare(containsLower, element) <= 0 : false) {
|
|
2829
2054
|
destination.x(element);
|
|
2830
2055
|
}
|
|
2831
2056
|
}
|
|
@@ -2848,8 +2073,8 @@ protoOf(LongShrinker).t62 = function (value) {
|
|
|
2848
2073
|
var this_1 = numberRangeToNumber(1, 5);
|
|
2849
2074
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2850
2075
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2851
|
-
var inductionVariable = this_1.
|
|
2852
|
-
var last = this_1.
|
|
2076
|
+
var inductionVariable = this_1.p1_1;
|
|
2077
|
+
var last = this_1.q1_1;
|
|
2853
2078
|
if (inductionVariable <= last)
|
|
2854
2079
|
do {
|
|
2855
2080
|
var item = inductionVariable;
|
|
@@ -2889,9 +2114,9 @@ protoOf(LongShrinker).t62 = function (value) {
|
|
|
2889
2114
|
var _iterator__ex2g4s_2 = destination_2.t();
|
|
2890
2115
|
while (_iterator__ex2g4s_2.u()) {
|
|
2891
2116
|
var element_2 = _iterator__ex2g4s_2.v();
|
|
2892
|
-
var progression_0 = this.
|
|
2893
|
-
var containsLower_0 = progression_0.
|
|
2894
|
-
if (compare(element_2, progression_0.
|
|
2117
|
+
var progression_0 = this.d5z_1;
|
|
2118
|
+
var containsLower_0 = progression_0.qi_1;
|
|
2119
|
+
if (compare(element_2, progression_0.ri_1) <= 0 ? compare(containsLower_0, element_2) <= 0 : false) {
|
|
2895
2120
|
destination_3.x(element_2);
|
|
2896
2121
|
}
|
|
2897
2122
|
}
|
|
@@ -2899,26 +2124,20 @@ protoOf(LongShrinker).t62 = function (value) {
|
|
|
2899
2124
|
}
|
|
2900
2125
|
return tmp;
|
|
2901
2126
|
};
|
|
2902
|
-
protoOf(LongShrinker).
|
|
2903
|
-
return this.
|
|
2127
|
+
protoOf(LongShrinker).i5s = function (value) {
|
|
2128
|
+
return this.e5z(value instanceof Long ? value : THROW_CCE());
|
|
2904
2129
|
};
|
|
2905
2130
|
function long$lambda($range) {
|
|
2906
2131
|
return function (it) {
|
|
2907
|
-
return nextLong(it.
|
|
2132
|
+
return nextLong(it.z5q_1, $range);
|
|
2908
2133
|
};
|
|
2909
2134
|
}
|
|
2910
|
-
function map_1(_this__u8e3s4, fn) {
|
|
2911
|
-
return trampoline(_this__u8e3s4, map$lambda_1(fn));
|
|
2912
|
-
}
|
|
2913
|
-
function flatMap(_this__u8e3s4, fn) {
|
|
2914
|
-
return trampoline(_this__u8e3s4, flatMap$lambda(fn));
|
|
2915
|
-
}
|
|
2916
2135
|
function trampoline(_this__u8e3s4, next) {
|
|
2917
2136
|
var tmp;
|
|
2918
2137
|
if (_this__u8e3s4 instanceof TrampolineArb) {
|
|
2919
|
-
tmp = _this__u8e3s4.
|
|
2138
|
+
tmp = _this__u8e3s4.i5z(next);
|
|
2920
2139
|
} else {
|
|
2921
|
-
tmp = TrampolineArb_init_$Create$(_this__u8e3s4).
|
|
2140
|
+
tmp = TrampolineArb_init_$Create$(_this__u8e3s4).i5z(next);
|
|
2922
2141
|
}
|
|
2923
2142
|
return tmp;
|
|
2924
2143
|
}
|
|
@@ -2931,52 +2150,58 @@ function TrampolineArb_init_$Create$(first) {
|
|
|
2931
2150
|
}
|
|
2932
2151
|
function TrampolineArb(first, commands) {
|
|
2933
2152
|
Arb.call(this);
|
|
2934
|
-
this.
|
|
2935
|
-
this.
|
|
2153
|
+
this.g5z_1 = first;
|
|
2154
|
+
this.h5z_1 = commands;
|
|
2936
2155
|
}
|
|
2937
|
-
protoOf(TrampolineArb).
|
|
2938
|
-
var tmp = new TrampolineArb(this.
|
|
2156
|
+
protoOf(TrampolineArb).i5z = function (fn) {
|
|
2157
|
+
var tmp = new TrampolineArb(this.g5z_1, plus_1(this.h5z_1, typeof fn === 'function' ? fn : THROW_CCE()));
|
|
2939
2158
|
return tmp instanceof TrampolineArb ? tmp : THROW_CCE();
|
|
2940
2159
|
};
|
|
2941
|
-
protoOf(TrampolineArb).
|
|
2942
|
-
var tmp0 = this.
|
|
2160
|
+
protoOf(TrampolineArb).u5q = function (rs) {
|
|
2161
|
+
var tmp0 = this.h5z_1;
|
|
2943
2162
|
// Inline function 'kotlin.collections.fold' call
|
|
2944
|
-
var accumulator = this.
|
|
2163
|
+
var accumulator = this.g5z_1;
|
|
2945
2164
|
var _iterator__ex2g4s = tmp0.t();
|
|
2946
2165
|
while (_iterator__ex2g4s.u()) {
|
|
2947
2166
|
var element = _iterator__ex2g4s.v();
|
|
2948
2167
|
var currentArb = accumulator;
|
|
2949
|
-
var tmp0_elvis_lhs = currentArb.
|
|
2950
|
-
var currentEdge = tmp0_elvis_lhs == null ? currentArb.
|
|
2168
|
+
var tmp0_elvis_lhs = currentArb.u5q(rs);
|
|
2169
|
+
var currentEdge = tmp0_elvis_lhs == null ? currentArb.t5q(rs) : tmp0_elvis_lhs;
|
|
2951
2170
|
var tmp = element(currentEdge instanceof Sample ? currentEdge : THROW_CCE());
|
|
2952
2171
|
accumulator = tmp instanceof Arb ? tmp : THROW_CCE();
|
|
2953
2172
|
}
|
|
2954
|
-
return accumulator.
|
|
2173
|
+
return accumulator.u5q(rs);
|
|
2955
2174
|
};
|
|
2956
|
-
protoOf(TrampolineArb).
|
|
2957
|
-
var tmp0 = this.
|
|
2958
|
-
var tmp = this.
|
|
2175
|
+
protoOf(TrampolineArb).t5q = function (rs) {
|
|
2176
|
+
var tmp0 = this.h5z_1;
|
|
2177
|
+
var tmp = this.g5z_1;
|
|
2959
2178
|
// Inline function 'kotlin.collections.fold' call
|
|
2960
2179
|
var accumulator = tmp instanceof Arb ? tmp : THROW_CCE();
|
|
2961
2180
|
var _iterator__ex2g4s = tmp0.t();
|
|
2962
2181
|
while (_iterator__ex2g4s.u()) {
|
|
2963
2182
|
var element = _iterator__ex2g4s.v();
|
|
2964
|
-
accumulator = element(accumulator.
|
|
2183
|
+
accumulator = element(accumulator.t5q(rs));
|
|
2965
2184
|
}
|
|
2966
|
-
var tmp_0 = accumulator.
|
|
2185
|
+
var tmp_0 = accumulator.t5q(rs);
|
|
2967
2186
|
return tmp_0 instanceof Sample ? tmp_0 : THROW_CCE();
|
|
2968
2187
|
};
|
|
2188
|
+
function map_0(_this__u8e3s4, fn) {
|
|
2189
|
+
return trampoline(_this__u8e3s4, map$lambda_1(fn));
|
|
2190
|
+
}
|
|
2191
|
+
function flatMap(_this__u8e3s4, fn) {
|
|
2192
|
+
return trampoline(_this__u8e3s4, flatMap$lambda(fn));
|
|
2193
|
+
}
|
|
2969
2194
|
function map$2$1($fn, $sampleA) {
|
|
2970
|
-
this.
|
|
2971
|
-
this.
|
|
2195
|
+
this.k5z_1 = $fn;
|
|
2196
|
+
this.l5z_1 = $sampleA;
|
|
2972
2197
|
Arb.call(this);
|
|
2973
2198
|
}
|
|
2974
|
-
protoOf(map$2$1).
|
|
2975
|
-
return asSample(this.
|
|
2199
|
+
protoOf(map$2$1).u5q = function (rs) {
|
|
2200
|
+
return asSample(this.k5z_1(this.l5z_1.d5r_1));
|
|
2976
2201
|
};
|
|
2977
|
-
protoOf(map$2$1).
|
|
2978
|
-
var value = this.
|
|
2979
|
-
var shrinks =
|
|
2202
|
+
protoOf(map$2$1).t5q = function (rs) {
|
|
2203
|
+
var value = this.k5z_1(this.l5z_1.d5r_1);
|
|
2204
|
+
var shrinks = map(this.l5z_1.e5r_1, this.k5z_1);
|
|
2980
2205
|
return new Sample(value, shrinks);
|
|
2981
2206
|
};
|
|
2982
2207
|
function map$lambda_1($fn) {
|
|
@@ -2986,98 +2211,51 @@ function map$lambda_1($fn) {
|
|
|
2986
2211
|
}
|
|
2987
2212
|
function flatMap$lambda($fn) {
|
|
2988
2213
|
return function (it) {
|
|
2989
|
-
return $fn(it.
|
|
2214
|
+
return $fn(it.d5r_1);
|
|
2990
2215
|
};
|
|
2991
2216
|
}
|
|
2992
|
-
function ipAddressV4(_this__u8e3s4) {
|
|
2993
|
-
return arbitrary(ipAddressV4$slambda_0(null));
|
|
2994
|
-
}
|
|
2995
|
-
function ipAddressV4$slambda(resultContinuation) {
|
|
2996
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
2997
|
-
}
|
|
2998
|
-
protoOf(ipAddressV4$slambda).a60 = function ($this$arbitrary, it, $completion) {
|
|
2999
|
-
var tmp = this.e5u($this$arbitrary, it, $completion);
|
|
3000
|
-
tmp.k9_1 = Unit_instance;
|
|
3001
|
-
tmp.l9_1 = null;
|
|
3002
|
-
return tmp.q9();
|
|
3003
|
-
};
|
|
3004
|
-
protoOf(ipAddressV4$slambda).w9 = function (p1, p2, $completion) {
|
|
3005
|
-
var tmp = (!(p1 == null) ? isInterface(p1, ArbitraryBuilderContext) : false) ? p1 : THROW_CCE();
|
|
3006
|
-
return this.a60(tmp, p2 instanceof RandomSource ? p2 : THROW_CCE(), $completion);
|
|
3007
|
-
};
|
|
3008
|
-
protoOf(ipAddressV4$slambda).q9 = function () {
|
|
3009
|
-
var suspendResult = this.k9_1;
|
|
3010
|
-
$sm: do
|
|
3011
|
-
try {
|
|
3012
|
-
var tmp = this.i9_1;
|
|
3013
|
-
if (tmp === 0) {
|
|
3014
|
-
this.j9_1 = 1;
|
|
3015
|
-
return joinToString_0(listOf([this.k63_1.r5r_1.t1(1, 255), this.k63_1.r5r_1.t1(0, 255), this.k63_1.r5r_1.t1(0, 255), this.k63_1.r5r_1.t1(0, 255)]), '.');
|
|
3016
|
-
} else if (tmp === 1) {
|
|
3017
|
-
throw this.l9_1;
|
|
3018
|
-
}
|
|
3019
|
-
} catch ($p) {
|
|
3020
|
-
var e = $p;
|
|
3021
|
-
throw e;
|
|
3022
|
-
}
|
|
3023
|
-
while (true);
|
|
3024
|
-
};
|
|
3025
|
-
protoOf(ipAddressV4$slambda).e5u = function ($this$arbitrary, it, completion) {
|
|
3026
|
-
var i = new ipAddressV4$slambda(completion);
|
|
3027
|
-
i.j63_1 = $this$arbitrary;
|
|
3028
|
-
i.k63_1 = it;
|
|
3029
|
-
return i;
|
|
3030
|
-
};
|
|
3031
|
-
function ipAddressV4$slambda_0(resultContinuation) {
|
|
3032
|
-
var i = new ipAddressV4$slambda(resultContinuation);
|
|
3033
|
-
var l = function ($this$arbitrary, it, $completion) {
|
|
3034
|
-
return i.a60($this$arbitrary, it, $completion);
|
|
3035
|
-
};
|
|
3036
|
-
l.$arity = 2;
|
|
3037
|
-
return l;
|
|
3038
|
-
}
|
|
3039
2217
|
function IntClassifier_init_$Init$(range, $this) {
|
|
3040
|
-
IntClassifier.call($this, range.
|
|
2218
|
+
IntClassifier.call($this, range.p1_1, range.q1_1);
|
|
3041
2219
|
return $this;
|
|
3042
2220
|
}
|
|
3043
2221
|
function IntClassifier_init_$Create$(range) {
|
|
3044
2222
|
return IntClassifier_init_$Init$(range, objectCreate(protoOf(IntClassifier)));
|
|
3045
2223
|
}
|
|
3046
2224
|
function IntClassifier(min, max) {
|
|
3047
|
-
this.
|
|
3048
|
-
this.
|
|
2225
|
+
this.m5z_1 = min;
|
|
2226
|
+
this.n5z_1 = max;
|
|
3049
2227
|
}
|
|
3050
2228
|
function LongClassifier_init_$Init$(range, $this) {
|
|
3051
|
-
LongClassifier.call($this, range.
|
|
2229
|
+
LongClassifier.call($this, range.qi_1, range.ri_1);
|
|
3052
2230
|
return $this;
|
|
3053
2231
|
}
|
|
3054
2232
|
function LongClassifier_init_$Create$(range) {
|
|
3055
2233
|
return LongClassifier_init_$Init$(range, objectCreate(protoOf(LongClassifier)));
|
|
3056
2234
|
}
|
|
3057
2235
|
function LongClassifier(min, max) {
|
|
3058
|
-
this.
|
|
3059
|
-
this.
|
|
2236
|
+
this.o5z_1 = min;
|
|
2237
|
+
this.p5z_1 = max;
|
|
3060
2238
|
}
|
|
3061
2239
|
function default_0(_this__u8e3s4) {
|
|
3062
|
-
return new EdgeConfig(PropertyTesting_getInstance().
|
|
2240
|
+
return new EdgeConfig(PropertyTesting_getInstance().s5r_1);
|
|
3063
2241
|
}
|
|
3064
2242
|
function PropertyTesting$defaultSeed$lambda(it) {
|
|
3065
2243
|
return toLong(it);
|
|
3066
2244
|
}
|
|
3067
2245
|
function PropertyTesting() {
|
|
3068
2246
|
PropertyTesting_instance = this;
|
|
3069
|
-
this.
|
|
3070
|
-
this.
|
|
3071
|
-
this.
|
|
3072
|
-
this.
|
|
3073
|
-
this.
|
|
3074
|
-
this.
|
|
3075
|
-
this.
|
|
2247
|
+
this.f5r_1 = 10;
|
|
2248
|
+
this.g5r_1 = sysprop('kotest.proptest.output.shrink-steps', true);
|
|
2249
|
+
this.h5r_1 = sysprop('kotest.proptest.output.generated-values', false);
|
|
2250
|
+
this.i5r_1 = sysprop('kotest.proptest.output.config', false);
|
|
2251
|
+
this.j5r_1 = sysprop_0('kotest.proptest.arb.edgecases-bind-determinism', 0.9);
|
|
2252
|
+
this.k5r_1 = sysprop_1('kotest.proptest.max.discard.percentage', 20);
|
|
2253
|
+
this.l5r_1 = sysprop_1('kotest.proptest.discard.threshold', 50);
|
|
3076
2254
|
var tmp = this;
|
|
3077
|
-
tmp.
|
|
3078
|
-
this.
|
|
3079
|
-
this.
|
|
3080
|
-
this.
|
|
2255
|
+
tmp.m5r_1 = sysprop_2('kotest.proptest.default.seed', null, PropertyTesting$defaultSeed$lambda);
|
|
2256
|
+
this.n5r_1 = sysprop_1('kotest.proptest.default.min-success', 2147483647);
|
|
2257
|
+
this.o5r_1 = sysprop_1('kotest.proptest.default.max-failure', 0);
|
|
2258
|
+
this.p5r_1 = sysprop_1('kotest.proptest.default.iteration.count', 1000);
|
|
3081
2259
|
var tmp_0 = this;
|
|
3082
2260
|
var mode = sysprop_3('kotest.proptest.default.shrinking.mode', 'bounded');
|
|
3083
2261
|
var tmp_1;
|
|
@@ -3095,19 +2273,19 @@ function PropertyTesting() {
|
|
|
3095
2273
|
var message = 'Invalid shrinking mode: ' + mode;
|
|
3096
2274
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
3097
2275
|
}
|
|
3098
|
-
tmp_0.
|
|
2276
|
+
tmp_0.q5r_1 = tmp_1;
|
|
3099
2277
|
var tmp_2 = this;
|
|
3100
2278
|
// Inline function 'kotlin.collections.listOf' call
|
|
3101
|
-
tmp_2.
|
|
3102
|
-
this.
|
|
3103
|
-
this.
|
|
3104
|
-
this.
|
|
3105
|
-
this.
|
|
3106
|
-
this.
|
|
3107
|
-
this.
|
|
3108
|
-
this.
|
|
3109
|
-
this.
|
|
3110
|
-
this.
|
|
2279
|
+
tmp_2.r5r_1 = emptyList();
|
|
2280
|
+
this.s5r_1 = sysprop_0('kotest.proptest.arb.edgecases-generation-probability', 0.02);
|
|
2281
|
+
this.t5r_1 = sysprop('kotest.proptest.arb.output.classifications', false);
|
|
2282
|
+
this.u5r_1 = sysprop('kotest.proptest.seed.fail-if-set', false);
|
|
2283
|
+
this.v5r_1 = sysprop('kotest.proptest.seed.write-failed', true);
|
|
2284
|
+
this.w5r_1 = LabelOrder_Quantity_getInstance();
|
|
2285
|
+
this.x5r_1 = DefaultStatisticsReporter_instance;
|
|
2286
|
+
this.y5r_1 = StatisticsReportMode_ON_getInstance();
|
|
2287
|
+
this.z5r_1 = sysprop('kotest.proptest.arb.string.output-hex-for-unprintable-chars', false);
|
|
2288
|
+
this.a5s_1 = numberRangeToNumber(0, 100);
|
|
3111
2289
|
}
|
|
3112
2290
|
var PropertyTesting_instance;
|
|
3113
2291
|
function PropertyTesting_getInstance() {
|
|
@@ -3134,11 +2312,11 @@ function LabelOrder_Quantity_getInstance() {
|
|
|
3134
2312
|
}
|
|
3135
2313
|
function Companion_2() {
|
|
3136
2314
|
}
|
|
3137
|
-
protoOf(Companion_2).
|
|
2315
|
+
protoOf(Companion_2).q5z = function (seed) {
|
|
3138
2316
|
return new RandomSource(Random(seed), seed);
|
|
3139
2317
|
};
|
|
3140
|
-
protoOf(Companion_2).
|
|
3141
|
-
var seed = Default_getInstance().
|
|
2318
|
+
protoOf(Companion_2).k5s = function () {
|
|
2319
|
+
var seed = Default_getInstance().wf();
|
|
3142
2320
|
return new RandomSource(Random(seed), seed);
|
|
3143
2321
|
};
|
|
3144
2322
|
var Companion_instance_2;
|
|
@@ -3146,15 +2324,15 @@ function Companion_getInstance_2() {
|
|
|
3146
2324
|
return Companion_instance_2;
|
|
3147
2325
|
}
|
|
3148
2326
|
function RandomSource(random, seed) {
|
|
3149
|
-
this.
|
|
3150
|
-
this.
|
|
2327
|
+
this.z5q_1 = random;
|
|
2328
|
+
this.a5r_1 = seed;
|
|
3151
2329
|
}
|
|
3152
2330
|
protoOf(RandomSource).toString = function () {
|
|
3153
|
-
return 'RandomSource(random=' + toString(this.
|
|
2331
|
+
return 'RandomSource(random=' + toString(this.z5q_1) + ', seed=' + this.a5r_1.toString() + ')';
|
|
3154
2332
|
};
|
|
3155
2333
|
protoOf(RandomSource).hashCode = function () {
|
|
3156
|
-
var result = hashCode(this.
|
|
3157
|
-
result = imul(result, 31) + this.
|
|
2334
|
+
var result = hashCode(this.z5q_1);
|
|
2335
|
+
result = imul(result, 31) + this.a5r_1.hashCode() | 0;
|
|
3158
2336
|
return result;
|
|
3159
2337
|
};
|
|
3160
2338
|
protoOf(RandomSource).equals = function (other) {
|
|
@@ -3162,9 +2340,9 @@ protoOf(RandomSource).equals = function (other) {
|
|
|
3162
2340
|
return true;
|
|
3163
2341
|
if (!(other instanceof RandomSource))
|
|
3164
2342
|
return false;
|
|
3165
|
-
if (!equals(this.
|
|
2343
|
+
if (!equals(this.z5q_1, other.z5q_1))
|
|
3166
2344
|
return false;
|
|
3167
|
-
if (!equalsLong(this.
|
|
2345
|
+
if (!equalsLong(this.a5r_1, other.a5r_1))
|
|
3168
2346
|
return false;
|
|
3169
2347
|
return true;
|
|
3170
2348
|
};
|
|
@@ -3207,23 +2385,15 @@ DefaultStatisticsReporter_instance = new DefaultStatisticsReporter();
|
|
|
3207
2385
|
export {
|
|
3208
2386
|
Companion_instance as Companion_instance21ufaak2k5re2,
|
|
3209
2387
|
Companion_instance_2 as Companion_instance3s3n1oxamd1r4,
|
|
3210
|
-
ArbitraryBuilderContext as ArbitraryBuilderContext36lhfoq8yjoa7,
|
|
3211
|
-
arbitrary as arbitrary1ik44attdm5sy,
|
|
3212
2388
|
boolean as boolean22whamdaxmlpn,
|
|
3213
2389
|
byteArray as byteArray2qqx36w76cyb0,
|
|
3214
2390
|
byte as byte3rz7pgzhi6m64,
|
|
3215
2391
|
double as doubletnd0mywl30ny,
|
|
3216
2392
|
element as element2c9vnyy5405af,
|
|
3217
|
-
email as email3ic8oj0n0oyrf,
|
|
3218
|
-
flatMap as flatMap3iwebhd6tqaug,
|
|
3219
2393
|
float as float3e4skrs0ychqj,
|
|
3220
2394
|
int as int2h4godnt2s0rr,
|
|
3221
|
-
ipAddressV4 as ipAddressV4jthf5xa96f07,
|
|
3222
2395
|
long as long1rc5doehwhlin,
|
|
3223
|
-
map_1 as maptmwiddfug6qu,
|
|
3224
2396
|
next as next3ubxtqgi6adv7,
|
|
3225
|
-
of as of1e4klt09ujwgo,
|
|
3226
|
-
RandomSource as RandomSource31setsds6o53y,
|
|
3227
2397
|
};
|
|
3228
2398
|
//endregion
|
|
3229
2399
|
|