@tuprolog/2p-full 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-bdd.js +152 -152
- package/2p-core.js +2379 -2379
- package/2p-core.js.map +1 -1
- package/2p-solve-classic.js +853 -853
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve-plp.js +2 -2
- package/2p-solve-problog.js +1166 -1166
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-streams.js +818 -818
- package/2p-solve.js +3245 -3250
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1352 -1352
- package/2p-unify.js +321 -321
- package/2p-utils.js +352 -352
- package/README.md +4 -3
- package/kotlin-kotlin-stdlib.js +1282 -1244
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1460 -1460
- package/okio-parent-okio-nodefilesystem.js +15 -0
- package/okio-parent-okio-nodefilesystem.js.map +1 -0
- package/okio-parent-okio.js +15 -0
- package/okio-parent-okio.js.map +1 -0
- package/package.json +1 -1
package/2p-utils.js
CHANGED
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
var initMetadataForCompanion = kotlin_kotlin.$_$.b6;
|
|
18
18
|
var Unit_instance = kotlin_kotlin.$_$.m;
|
|
19
19
|
var initMetadataForInterface = kotlin_kotlin.$_$.d6;
|
|
20
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
20
|
+
var THROW_CCE = kotlin_kotlin.$_$.oa;
|
|
21
21
|
var isInterface = kotlin_kotlin.$_$.j6;
|
|
22
22
|
var initMetadataForClass = kotlin_kotlin.$_$.a6;
|
|
23
23
|
var Sequence = kotlin_kotlin.$_$.j7;
|
|
24
24
|
var VOID = kotlin_kotlin.$_$.b;
|
|
25
25
|
var arrayIterator = kotlin_kotlin.$_$.j5;
|
|
26
26
|
var compareTo = kotlin_kotlin.$_$.q5;
|
|
27
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
27
|
+
var Comparable = kotlin_kotlin.$_$.da;
|
|
28
28
|
var toList = kotlin_kotlin.$_$.v8;
|
|
29
29
|
var asSequence = kotlin_kotlin.$_$.a2;
|
|
30
30
|
var asIterable = kotlin_kotlin.$_$.w1;
|
|
@@ -37,24 +37,24 @@
|
|
|
37
37
|
var zip = kotlin_kotlin.$_$.z8;
|
|
38
38
|
var equals = kotlin_kotlin.$_$.t5;
|
|
39
39
|
var FunctionAdapter = kotlin_kotlin.$_$.i5;
|
|
40
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
40
|
+
var Comparator = kotlin_kotlin.$_$.ea;
|
|
41
41
|
var CoroutineImpl = kotlin_kotlin.$_$.p4;
|
|
42
42
|
var SequenceScope = kotlin_kotlin.$_$.i7;
|
|
43
43
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.o4;
|
|
44
44
|
var initMetadataForLambda = kotlin_kotlin.$_$.e6;
|
|
45
45
|
var constructCallableReference = kotlin_kotlin.$_$.r5;
|
|
46
46
|
var withIndex = kotlin_kotlin.$_$.y8;
|
|
47
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
47
|
+
var ensureNotNull = kotlin_kotlin.$_$.sa;
|
|
48
48
|
var map = kotlin_kotlin.$_$.h8;
|
|
49
49
|
var filterNot = kotlin_kotlin.$_$.u7;
|
|
50
50
|
var toMutableList = kotlin_kotlin.$_$.w8;
|
|
51
51
|
var minWithOrNull = kotlin_kotlin.$_$.i8;
|
|
52
|
-
var toString = kotlin_kotlin.$_$.
|
|
52
|
+
var toString = kotlin_kotlin.$_$.ya;
|
|
53
53
|
var initMetadataForObject = kotlin_kotlin.$_$.f6;
|
|
54
54
|
var KtMap = kotlin_kotlin.$_$.r1;
|
|
55
55
|
var toMutableMap = kotlin_kotlin.$_$.l4;
|
|
56
56
|
var toString_0 = kotlin_kotlin.$_$.s6;
|
|
57
|
-
var lazy = kotlin_kotlin.$_$.
|
|
57
|
+
var lazy = kotlin_kotlin.$_$.ua;
|
|
58
58
|
var KProperty1 = kotlin_kotlin.$_$.h7;
|
|
59
59
|
var getPropertyCallableRef = kotlin_kotlin.$_$.x5;
|
|
60
60
|
var getKClassFromExpression = kotlin_kotlin.$_$.f7;
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
var convertToInt = kotlin_kotlin.$_$.v4;
|
|
64
64
|
var getBigIntHashCode = kotlin_kotlin.$_$.u5;
|
|
65
65
|
var first = kotlin_kotlin.$_$.q2;
|
|
66
|
-
var to = kotlin_kotlin.$_$.
|
|
67
|
-
var Pair = kotlin_kotlin.$_$.
|
|
66
|
+
var to = kotlin_kotlin.$_$.za;
|
|
67
|
+
var Pair = kotlin_kotlin.$_$.ma;
|
|
68
68
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
69
69
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
70
70
|
var joinToString = kotlin_kotlin.$_$.d8;
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
//region block: pre-declaration
|
|
76
76
|
initMetadataForCompanion(Companion);
|
|
77
77
|
function getOrSet(key, valueGenerator) {
|
|
78
|
-
var got = this.
|
|
78
|
+
var got = this.i2(key);
|
|
79
79
|
var tmp;
|
|
80
80
|
if (got instanceof Some) {
|
|
81
|
-
tmp = got.
|
|
81
|
+
tmp = got.ap_1;
|
|
82
82
|
} else {
|
|
83
83
|
// Inline function 'kotlin.also' call
|
|
84
84
|
var this_0 = valueGenerator();
|
|
85
|
-
this.
|
|
85
|
+
this.yo(key, this_0);
|
|
86
86
|
tmp = this_0;
|
|
87
87
|
}
|
|
88
88
|
return tmp;
|
|
@@ -91,13 +91,13 @@
|
|
|
91
91
|
initMetadataForCompanion(Companion_0);
|
|
92
92
|
function ifValid(consumer) {
|
|
93
93
|
var tmp;
|
|
94
|
-
if (this.
|
|
94
|
+
if (this.cp()) {
|
|
95
95
|
var tmp_0 = Companion_instance_4;
|
|
96
96
|
// Inline function 'kotlin.let' call
|
|
97
|
-
var tmp$ret$0 = consumer(this.
|
|
98
|
-
tmp = tmp_0.
|
|
97
|
+
var tmp$ret$0 = consumer(this.f2());
|
|
98
|
+
tmp = tmp_0.gp(tmp$ret$0);
|
|
99
99
|
} else {
|
|
100
|
-
tmp = Companion_instance_4.
|
|
100
|
+
tmp = Companion_instance_4.fp();
|
|
101
101
|
}
|
|
102
102
|
return tmp;
|
|
103
103
|
}
|
|
@@ -119,15 +119,15 @@
|
|
|
119
119
|
}
|
|
120
120
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
121
121
|
function component1() {
|
|
122
|
-
return this.
|
|
122
|
+
return this.pp();
|
|
123
123
|
}
|
|
124
124
|
function component2() {
|
|
125
|
-
return this.
|
|
125
|
+
return this.f2();
|
|
126
126
|
}
|
|
127
127
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
128
128
|
initMetadataForCompanion(Companion_2);
|
|
129
129
|
function compareTo_0(other) {
|
|
130
|
-
return compareTo(this.
|
|
130
|
+
return compareTo(this.pp(), other.pp());
|
|
131
131
|
}
|
|
132
132
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
133
133
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
138
138
|
initMetadataForCompanion(Companion_3);
|
|
139
139
|
function compareTo_1(other) {
|
|
140
|
-
return compareTo(this.
|
|
140
|
+
return compareTo(this.pp(), other.pp());
|
|
141
141
|
}
|
|
142
142
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
143
143
|
initMetadataForCompanion(Companion_4);
|
|
@@ -145,13 +145,13 @@
|
|
|
145
145
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
146
146
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
147
147
|
function getTag(name) {
|
|
148
|
-
return this.
|
|
148
|
+
return this.pr().i2(name);
|
|
149
149
|
}
|
|
150
150
|
function containsTag(name) {
|
|
151
151
|
// Inline function 'kotlin.collections.contains' call
|
|
152
152
|
// Inline function 'kotlin.collections.containsKey' call
|
|
153
|
-
var this_0 = this.
|
|
154
|
-
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
153
|
+
var this_0 = this.pr();
|
|
154
|
+
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).g2(name);
|
|
155
155
|
}
|
|
156
156
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
157
157
|
initMetadataForCompanion(Companion_5);
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
//endregion
|
|
171
171
|
function Companion() {
|
|
172
172
|
}
|
|
173
|
-
protoOf(Companion).
|
|
173
|
+
protoOf(Companion).xo = function (capacity) {
|
|
174
174
|
return new SimpleLRUCache(capacity);
|
|
175
175
|
};
|
|
176
176
|
var Companion_instance;
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
}
|
|
182
182
|
function Companion_0() {
|
|
183
183
|
}
|
|
184
|
-
protoOf(Companion_0).
|
|
184
|
+
protoOf(Companion_0).bp = function (generator) {
|
|
185
185
|
return new CachedImpl(generator);
|
|
186
186
|
};
|
|
187
187
|
var Companion_instance_0;
|
|
@@ -208,16 +208,16 @@
|
|
|
208
208
|
return Companion_instance_1;
|
|
209
209
|
}
|
|
210
210
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
211
|
-
this.
|
|
211
|
+
this.ip_1 = this$0;
|
|
212
212
|
}
|
|
213
213
|
protoOf(Cursor$asIterable$$inlined$Iterable$1).n = function () {
|
|
214
|
-
return this.
|
|
214
|
+
return this.ip_1.iterator();
|
|
215
215
|
};
|
|
216
216
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
217
|
-
this.
|
|
217
|
+
this.jp_1 = this$0;
|
|
218
218
|
}
|
|
219
219
|
protoOf(Cursor$asSequence$$inlined$Sequence$1).n = function () {
|
|
220
|
-
return this.
|
|
220
|
+
return this.jp_1.iterator();
|
|
221
221
|
};
|
|
222
222
|
function Cursor() {
|
|
223
223
|
}
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
return toCursor(_this__u8e3s4.n());
|
|
226
226
|
}
|
|
227
227
|
function plus(_this__u8e3s4, other) {
|
|
228
|
-
return other.
|
|
228
|
+
return other.mp() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.mp() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
229
229
|
}
|
|
230
230
|
function cursor_0(_this__u8e3s4) {
|
|
231
231
|
return toCursor(_this__u8e3s4.n());
|
|
@@ -234,13 +234,13 @@
|
|
|
234
234
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
235
235
|
}
|
|
236
236
|
function toCursor(_this__u8e3s4) {
|
|
237
|
-
return Companion_instance_5.
|
|
237
|
+
return Companion_instance_5.op(_this__u8e3s4);
|
|
238
238
|
}
|
|
239
239
|
function Indexed() {
|
|
240
240
|
}
|
|
241
241
|
function Companion_2() {
|
|
242
242
|
}
|
|
243
|
-
protoOf(Companion_2).
|
|
243
|
+
protoOf(Companion_2).qp = function (index, value) {
|
|
244
244
|
return new IntIndexedImpl(index, value);
|
|
245
245
|
};
|
|
246
246
|
var Companion_instance_2;
|
|
@@ -317,23 +317,23 @@
|
|
|
317
317
|
return zip(_this__u8e3s4, tmp, indexed$lambda);
|
|
318
318
|
}
|
|
319
319
|
function sam$kotlin_Comparator$0(function_0) {
|
|
320
|
-
this.
|
|
320
|
+
this.sp_1 = function_0;
|
|
321
321
|
}
|
|
322
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
323
|
-
return this.
|
|
322
|
+
protoOf(sam$kotlin_Comparator$0).ub = function (a, b) {
|
|
323
|
+
return this.sp_1(a, b);
|
|
324
324
|
};
|
|
325
325
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
326
|
-
return this.
|
|
326
|
+
return this.ub(a, b);
|
|
327
327
|
};
|
|
328
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
329
|
-
return this.
|
|
328
|
+
protoOf(sam$kotlin_Comparator$0).q2 = function () {
|
|
329
|
+
return this.sp_1;
|
|
330
330
|
};
|
|
331
331
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
332
332
|
var tmp;
|
|
333
333
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
334
334
|
var tmp_0;
|
|
335
335
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
336
|
-
tmp_0 = equals(this.
|
|
336
|
+
tmp_0 = equals(this.q2(), other.q2());
|
|
337
337
|
} else {
|
|
338
338
|
tmp_0 = false;
|
|
339
339
|
}
|
|
@@ -344,202 +344,202 @@
|
|
|
344
344
|
return tmp;
|
|
345
345
|
};
|
|
346
346
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
347
|
-
return hashCode(this.
|
|
347
|
+
return hashCode(this.q2());
|
|
348
348
|
};
|
|
349
349
|
function itemWiseEquals$lambda(a, b) {
|
|
350
350
|
return equals(a, b);
|
|
351
351
|
}
|
|
352
352
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
353
|
-
this.
|
|
353
|
+
this.bq_1 = $this_dropLast;
|
|
354
354
|
CoroutineImpl.call(this, resultContinuation);
|
|
355
355
|
}
|
|
356
|
-
protoOf(dropLast$slambda).
|
|
357
|
-
var tmp = this.
|
|
358
|
-
tmp.
|
|
359
|
-
tmp.
|
|
360
|
-
return tmp.
|
|
356
|
+
protoOf(dropLast$slambda).eq = function ($this$sequence, $completion) {
|
|
357
|
+
var tmp = this.fq($this$sequence, $completion);
|
|
358
|
+
tmp.e8_1 = Unit_instance;
|
|
359
|
+
tmp.f8_1 = null;
|
|
360
|
+
return tmp.k8();
|
|
361
361
|
};
|
|
362
|
-
protoOf(dropLast$slambda).
|
|
363
|
-
return this.
|
|
362
|
+
protoOf(dropLast$slambda).b9 = function (p1, $completion) {
|
|
363
|
+
return this.eq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
364
364
|
};
|
|
365
|
-
protoOf(dropLast$slambda).
|
|
366
|
-
var suspendResult = this.
|
|
365
|
+
protoOf(dropLast$slambda).k8 = function () {
|
|
366
|
+
var suspendResult = this.e8_1;
|
|
367
367
|
$sm: do
|
|
368
368
|
try {
|
|
369
|
-
var tmp = this.
|
|
369
|
+
var tmp = this.c8_1;
|
|
370
370
|
switch (tmp) {
|
|
371
371
|
case 0:
|
|
372
|
-
this.
|
|
373
|
-
this.
|
|
374
|
-
this.
|
|
372
|
+
this.d8_1 = 5;
|
|
373
|
+
this.dq_1 = this.bq_1.n();
|
|
374
|
+
this.c8_1 = 1;
|
|
375
375
|
continue $sm;
|
|
376
376
|
case 1:
|
|
377
|
-
if (!this.
|
|
378
|
-
this.
|
|
377
|
+
if (!this.dq_1.q()) {
|
|
378
|
+
this.c8_1 = 4;
|
|
379
379
|
continue $sm;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
var current = this.
|
|
383
|
-
if (this.
|
|
384
|
-
this.
|
|
385
|
-
suspendResult = this.
|
|
382
|
+
var current = this.dq_1.r();
|
|
383
|
+
if (this.dq_1.q()) {
|
|
384
|
+
this.c8_1 = 2;
|
|
385
|
+
suspendResult = this.cq_1.cd(current, this);
|
|
386
386
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
387
387
|
return suspendResult;
|
|
388
388
|
}
|
|
389
389
|
continue $sm;
|
|
390
390
|
} else {
|
|
391
|
-
this.
|
|
391
|
+
this.c8_1 = 3;
|
|
392
392
|
continue $sm;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
case 2:
|
|
396
|
-
this.
|
|
396
|
+
this.c8_1 = 3;
|
|
397
397
|
continue $sm;
|
|
398
398
|
case 3:
|
|
399
|
-
this.
|
|
399
|
+
this.c8_1 = 1;
|
|
400
400
|
continue $sm;
|
|
401
401
|
case 4:
|
|
402
402
|
return Unit_instance;
|
|
403
403
|
case 5:
|
|
404
|
-
throw this.
|
|
404
|
+
throw this.f8_1;
|
|
405
405
|
}
|
|
406
406
|
} catch ($p) {
|
|
407
407
|
var e = $p;
|
|
408
|
-
if (this.
|
|
408
|
+
if (this.d8_1 === 5) {
|
|
409
409
|
throw e;
|
|
410
410
|
} else {
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
411
|
+
this.c8_1 = this.d8_1;
|
|
412
|
+
this.f8_1 = e;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
while (true);
|
|
416
416
|
};
|
|
417
|
-
protoOf(dropLast$slambda).
|
|
418
|
-
var i = new dropLast$slambda(this.
|
|
419
|
-
i.
|
|
417
|
+
protoOf(dropLast$slambda).fq = function ($this$sequence, completion) {
|
|
418
|
+
var i = new dropLast$slambda(this.bq_1, completion);
|
|
419
|
+
i.cq_1 = $this$sequence;
|
|
420
420
|
return i;
|
|
421
421
|
};
|
|
422
422
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
423
423
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
424
424
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
425
|
-
return i.
|
|
425
|
+
return i.eq($this$sequence, $completion);
|
|
426
426
|
}, 1);
|
|
427
427
|
}
|
|
428
428
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
429
|
+
this.oq_1 = $this_insertAt;
|
|
430
|
+
this.pq_1 = $index;
|
|
431
|
+
this.qq_1 = $item;
|
|
432
|
+
this.rq_1 = $items;
|
|
433
433
|
CoroutineImpl.call(this, resultContinuation);
|
|
434
434
|
}
|
|
435
|
-
protoOf(insertAt$slambda).
|
|
436
|
-
var tmp = this.
|
|
437
|
-
tmp.
|
|
438
|
-
tmp.
|
|
439
|
-
return tmp.
|
|
435
|
+
protoOf(insertAt$slambda).eq = function ($this$sequence, $completion) {
|
|
436
|
+
var tmp = this.fq($this$sequence, $completion);
|
|
437
|
+
tmp.e8_1 = Unit_instance;
|
|
438
|
+
tmp.f8_1 = null;
|
|
439
|
+
return tmp.k8();
|
|
440
440
|
};
|
|
441
|
-
protoOf(insertAt$slambda).
|
|
442
|
-
return this.
|
|
441
|
+
protoOf(insertAt$slambda).b9 = function (p1, $completion) {
|
|
442
|
+
return this.eq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
443
443
|
};
|
|
444
|
-
protoOf(insertAt$slambda).
|
|
445
|
-
var suspendResult = this.
|
|
444
|
+
protoOf(insertAt$slambda).k8 = function () {
|
|
445
|
+
var suspendResult = this.e8_1;
|
|
446
446
|
$sm: do
|
|
447
447
|
try {
|
|
448
|
-
var tmp = this.
|
|
448
|
+
var tmp = this.c8_1;
|
|
449
449
|
switch (tmp) {
|
|
450
450
|
case 0:
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
453
|
-
this.
|
|
451
|
+
this.d8_1 = 7;
|
|
452
|
+
this.uq_1 = asIterable_0(withIndex(this.oq_1)).n();
|
|
453
|
+
this.c8_1 = 1;
|
|
454
454
|
continue $sm;
|
|
455
455
|
case 1:
|
|
456
|
-
if (!this.
|
|
457
|
-
this.
|
|
456
|
+
if (!this.uq_1.q()) {
|
|
457
|
+
this.c8_1 = 6;
|
|
458
458
|
continue $sm;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
var _destruct__k2r9zo = this.
|
|
462
|
-
var i = _destruct__k2r9zo.
|
|
463
|
-
this.
|
|
464
|
-
if (i === this.
|
|
465
|
-
this.
|
|
466
|
-
suspendResult = this.
|
|
461
|
+
var _destruct__k2r9zo = this.uq_1.r();
|
|
462
|
+
var i = _destruct__k2r9zo.pc();
|
|
463
|
+
this.tq_1 = _destruct__k2r9zo.qc();
|
|
464
|
+
if (i === this.pq_1) {
|
|
465
|
+
this.c8_1 = 2;
|
|
466
|
+
suspendResult = this.sq_1.cd(this.qq_1, this);
|
|
467
467
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
468
468
|
return suspendResult;
|
|
469
469
|
}
|
|
470
470
|
continue $sm;
|
|
471
471
|
} else {
|
|
472
|
-
this.
|
|
472
|
+
this.c8_1 = 4;
|
|
473
473
|
continue $sm;
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
case 2:
|
|
477
|
-
this.
|
|
478
|
-
suspendResult = this.
|
|
477
|
+
this.c8_1 = 3;
|
|
478
|
+
suspendResult = this.sq_1.ed(asIterable(this.rq_1), this);
|
|
479
479
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
480
480
|
return suspendResult;
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
continue $sm;
|
|
484
484
|
case 3:
|
|
485
|
-
this.
|
|
485
|
+
this.c8_1 = 4;
|
|
486
486
|
continue $sm;
|
|
487
487
|
case 4:
|
|
488
|
-
this.
|
|
489
|
-
suspendResult = this.
|
|
488
|
+
this.c8_1 = 5;
|
|
489
|
+
suspendResult = this.sq_1.cd(this.tq_1, this);
|
|
490
490
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
491
491
|
return suspendResult;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
continue $sm;
|
|
495
495
|
case 5:
|
|
496
|
-
this.
|
|
496
|
+
this.c8_1 = 1;
|
|
497
497
|
continue $sm;
|
|
498
498
|
case 6:
|
|
499
499
|
return Unit_instance;
|
|
500
500
|
case 7:
|
|
501
|
-
throw this.
|
|
501
|
+
throw this.f8_1;
|
|
502
502
|
}
|
|
503
503
|
} catch ($p) {
|
|
504
504
|
var e = $p;
|
|
505
|
-
if (this.
|
|
505
|
+
if (this.d8_1 === 7) {
|
|
506
506
|
throw e;
|
|
507
507
|
} else {
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
508
|
+
this.c8_1 = this.d8_1;
|
|
509
|
+
this.f8_1 = e;
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
while (true);
|
|
513
513
|
};
|
|
514
|
-
protoOf(insertAt$slambda).
|
|
515
|
-
var i = new insertAt$slambda(this.
|
|
516
|
-
i.
|
|
514
|
+
protoOf(insertAt$slambda).fq = function ($this$sequence, completion) {
|
|
515
|
+
var i = new insertAt$slambda(this.oq_1, this.pq_1, this.qq_1, this.rq_1, completion);
|
|
516
|
+
i.sq_1 = $this$sequence;
|
|
517
517
|
return i;
|
|
518
518
|
};
|
|
519
519
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
520
520
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
521
521
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
522
|
-
return i.
|
|
522
|
+
return i.eq($this$sequence, $completion);
|
|
523
523
|
}, 1);
|
|
524
524
|
}
|
|
525
525
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
526
|
-
this.
|
|
526
|
+
this.vq_1 = function_0;
|
|
527
527
|
}
|
|
528
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
529
|
-
return this.
|
|
528
|
+
protoOf(sam$kotlin_Comparator$0_0).ub = function (a, b) {
|
|
529
|
+
return this.vq_1(a, b);
|
|
530
530
|
};
|
|
531
531
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
532
|
-
return this.
|
|
532
|
+
return this.ub(a, b);
|
|
533
533
|
};
|
|
534
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
535
|
-
return this.
|
|
534
|
+
protoOf(sam$kotlin_Comparator$0_0).q2 = function () {
|
|
535
|
+
return this.vq_1;
|
|
536
536
|
};
|
|
537
537
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
538
538
|
var tmp;
|
|
539
539
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
540
540
|
var tmp_0;
|
|
541
541
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
542
|
-
tmp_0 = equals(this.
|
|
542
|
+
tmp_0 = equals(this.q2(), other.q2());
|
|
543
543
|
} else {
|
|
544
544
|
tmp_0 = false;
|
|
545
545
|
}
|
|
@@ -550,114 +550,114 @@
|
|
|
550
550
|
return tmp;
|
|
551
551
|
};
|
|
552
552
|
protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
553
|
-
return hashCode(this.
|
|
553
|
+
return hashCode(this.q2());
|
|
554
554
|
};
|
|
555
555
|
function merge$slambda$lambda(it) {
|
|
556
556
|
return cursor_0(it);
|
|
557
557
|
}
|
|
558
558
|
function merge$slambda$lambda_0(it) {
|
|
559
|
-
return it.
|
|
559
|
+
return it.np();
|
|
560
560
|
}
|
|
561
561
|
function merge$slambda$lambda_1(it) {
|
|
562
|
-
return ensureNotNull(it.
|
|
562
|
+
return ensureNotNull(it.lp());
|
|
563
563
|
}
|
|
564
564
|
function merge$slambda$lambda_2($comparator) {
|
|
565
565
|
return function (a, b) {
|
|
566
|
-
return $comparator.compare(a.
|
|
566
|
+
return $comparator.compare(a.f2(), b.f2());
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
569
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
570
|
+
this.er_1 = $iterables;
|
|
571
|
+
this.fr_1 = $comparator;
|
|
572
572
|
CoroutineImpl.call(this, resultContinuation);
|
|
573
573
|
}
|
|
574
|
-
protoOf(merge$slambda).
|
|
575
|
-
var tmp = this.
|
|
576
|
-
tmp.
|
|
577
|
-
tmp.
|
|
578
|
-
return tmp.
|
|
574
|
+
protoOf(merge$slambda).eq = function ($this$sequence, $completion) {
|
|
575
|
+
var tmp = this.fq($this$sequence, $completion);
|
|
576
|
+
tmp.e8_1 = Unit_instance;
|
|
577
|
+
tmp.f8_1 = null;
|
|
578
|
+
return tmp.k8();
|
|
579
579
|
};
|
|
580
|
-
protoOf(merge$slambda).
|
|
581
|
-
return this.
|
|
580
|
+
protoOf(merge$slambda).b9 = function (p1, $completion) {
|
|
581
|
+
return this.eq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
582
582
|
};
|
|
583
|
-
protoOf(merge$slambda).
|
|
584
|
-
var suspendResult = this.
|
|
583
|
+
protoOf(merge$slambda).k8 = function () {
|
|
584
|
+
var suspendResult = this.e8_1;
|
|
585
585
|
$sm: do
|
|
586
586
|
try {
|
|
587
|
-
var tmp = this.
|
|
587
|
+
var tmp = this.c8_1;
|
|
588
588
|
switch (tmp) {
|
|
589
589
|
case 0:
|
|
590
|
-
this.
|
|
590
|
+
this.d8_1 = 3;
|
|
591
591
|
var tmp_0 = this;
|
|
592
|
-
var tmp_1 = asSequence(this.
|
|
592
|
+
var tmp_1 = asSequence(this.er_1);
|
|
593
593
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
594
|
-
tmp_0.
|
|
595
|
-
this.
|
|
594
|
+
tmp_0.ir_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
595
|
+
this.c8_1 = 1;
|
|
596
596
|
continue $sm;
|
|
597
597
|
case 1:
|
|
598
|
-
if (!!this.
|
|
599
|
-
this.
|
|
598
|
+
if (!!this.ir_1.h()) {
|
|
599
|
+
this.c8_1 = 4;
|
|
600
600
|
continue $sm;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
var tmp_3 = asSequence(this.
|
|
603
|
+
var tmp_3 = asSequence(this.ir_1);
|
|
604
604
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
605
|
-
var tmp_5 = merge$slambda$lambda_2(this.
|
|
605
|
+
var tmp_5 = merge$slambda$lambda_2(this.fr_1);
|
|
606
606
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
607
|
-
this.
|
|
608
|
-
var minValue = _destruct__k2r9zo.
|
|
609
|
-
this.
|
|
610
|
-
suspendResult = this.
|
|
607
|
+
this.hr_1 = _destruct__k2r9zo.pc();
|
|
608
|
+
var minValue = _destruct__k2r9zo.qc();
|
|
609
|
+
this.c8_1 = 2;
|
|
610
|
+
suspendResult = this.gr_1.cd(minValue, this);
|
|
611
611
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
612
612
|
return suspendResult;
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
continue $sm;
|
|
616
616
|
case 2:
|
|
617
|
-
var it = this.
|
|
617
|
+
var it = this.ir_1.x(this.hr_1).kp();
|
|
618
618
|
var tmp_6;
|
|
619
|
-
if (it.
|
|
620
|
-
tmp_6 = this.
|
|
619
|
+
if (it.np()) {
|
|
620
|
+
tmp_6 = this.ir_1.h3(this.hr_1);
|
|
621
621
|
} else {
|
|
622
|
-
this.
|
|
622
|
+
this.ir_1.z3(this.hr_1, it);
|
|
623
623
|
tmp_6 = Unit_instance;
|
|
624
624
|
}
|
|
625
625
|
|
|
626
|
-
this.
|
|
626
|
+
this.c8_1 = 1;
|
|
627
627
|
continue $sm;
|
|
628
628
|
case 3:
|
|
629
|
-
throw this.
|
|
629
|
+
throw this.f8_1;
|
|
630
630
|
case 4:
|
|
631
631
|
return Unit_instance;
|
|
632
632
|
}
|
|
633
633
|
} catch ($p) {
|
|
634
634
|
var e = $p;
|
|
635
|
-
if (this.
|
|
635
|
+
if (this.d8_1 === 3) {
|
|
636
636
|
throw e;
|
|
637
637
|
} else {
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
638
|
+
this.c8_1 = this.d8_1;
|
|
639
|
+
this.f8_1 = e;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
while (true);
|
|
643
643
|
};
|
|
644
|
-
protoOf(merge$slambda).
|
|
645
|
-
var i = new merge$slambda(this.
|
|
646
|
-
i.
|
|
644
|
+
protoOf(merge$slambda).fq = function ($this$sequence, completion) {
|
|
645
|
+
var i = new merge$slambda(this.er_1, this.fr_1, completion);
|
|
646
|
+
i.gr_1 = $this$sequence;
|
|
647
647
|
return i;
|
|
648
648
|
};
|
|
649
649
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
650
650
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
651
651
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
652
|
-
return i.
|
|
652
|
+
return i.eq($this$sequence, $completion);
|
|
653
653
|
}, 1);
|
|
654
654
|
}
|
|
655
655
|
function indexed$lambda(it, i) {
|
|
656
|
-
return Companion_instance_2.
|
|
656
|
+
return Companion_instance_2.qp(i, it);
|
|
657
657
|
}
|
|
658
658
|
function Companion_3() {
|
|
659
659
|
}
|
|
660
|
-
protoOf(Companion_3).
|
|
660
|
+
protoOf(Companion_3).jr = function (index, value) {
|
|
661
661
|
return new LongIndexedImpl(index, value);
|
|
662
662
|
};
|
|
663
663
|
var Companion_instance_3;
|
|
@@ -668,19 +668,19 @@
|
|
|
668
668
|
}
|
|
669
669
|
function Companion_4() {
|
|
670
670
|
}
|
|
671
|
-
protoOf(Companion_4).
|
|
671
|
+
protoOf(Companion_4).lr = function (value) {
|
|
672
672
|
return new Some(value);
|
|
673
673
|
};
|
|
674
|
-
protoOf(Companion_4).
|
|
674
|
+
protoOf(Companion_4).gp = function (value) {
|
|
675
675
|
var tmp;
|
|
676
676
|
if (value == null) {
|
|
677
|
-
tmp = this.
|
|
677
|
+
tmp = this.fp();
|
|
678
678
|
} else {
|
|
679
|
-
tmp = this.
|
|
679
|
+
tmp = this.lr(value);
|
|
680
680
|
}
|
|
681
681
|
return tmp;
|
|
682
682
|
};
|
|
683
|
-
protoOf(Companion_4).
|
|
683
|
+
protoOf(Companion_4).fp = function () {
|
|
684
684
|
return None_getInstance();
|
|
685
685
|
};
|
|
686
686
|
var Companion_instance_4;
|
|
@@ -689,26 +689,26 @@
|
|
|
689
689
|
}
|
|
690
690
|
function Some(value) {
|
|
691
691
|
Optional.call(this);
|
|
692
|
-
this.
|
|
692
|
+
this.ap_1 = value;
|
|
693
693
|
}
|
|
694
|
-
protoOf(Some).
|
|
695
|
-
return this.
|
|
694
|
+
protoOf(Some).f2 = function () {
|
|
695
|
+
return this.ap_1;
|
|
696
696
|
};
|
|
697
|
-
protoOf(Some).
|
|
697
|
+
protoOf(Some).mr = function () {
|
|
698
698
|
return true;
|
|
699
699
|
};
|
|
700
700
|
protoOf(Some).toString = function () {
|
|
701
|
-
return 'Some(' + toString(this.
|
|
701
|
+
return 'Some(' + toString(this.ap_1) + ')';
|
|
702
702
|
};
|
|
703
703
|
protoOf(Some).hashCode = function () {
|
|
704
|
-
return this.
|
|
704
|
+
return this.ap_1 == null ? 0 : hashCode(this.ap_1);
|
|
705
705
|
};
|
|
706
706
|
protoOf(Some).equals = function (other) {
|
|
707
707
|
if (this === other)
|
|
708
708
|
return true;
|
|
709
709
|
if (!(other instanceof Some))
|
|
710
710
|
return false;
|
|
711
|
-
if (!equals(this.
|
|
711
|
+
if (!equals(this.ap_1, other.ap_1))
|
|
712
712
|
return false;
|
|
713
713
|
return true;
|
|
714
714
|
};
|
|
@@ -716,10 +716,10 @@
|
|
|
716
716
|
None_instance = this;
|
|
717
717
|
Optional.call(this);
|
|
718
718
|
}
|
|
719
|
-
protoOf(None).
|
|
719
|
+
protoOf(None).f2 = function () {
|
|
720
720
|
return null;
|
|
721
721
|
};
|
|
722
|
-
protoOf(None).
|
|
722
|
+
protoOf(None).mr = function () {
|
|
723
723
|
return false;
|
|
724
724
|
};
|
|
725
725
|
protoOf(None).toString = function () {
|
|
@@ -733,16 +733,16 @@
|
|
|
733
733
|
}
|
|
734
734
|
function Optional() {
|
|
735
735
|
}
|
|
736
|
-
protoOf(Optional).
|
|
737
|
-
return !this.
|
|
736
|
+
protoOf(Optional).nr = function () {
|
|
737
|
+
return !this.mr();
|
|
738
738
|
};
|
|
739
739
|
function Taggable() {
|
|
740
740
|
}
|
|
741
741
|
function setTag(_this__u8e3s4, key, value) {
|
|
742
742
|
// Inline function 'kotlin.also' call
|
|
743
|
-
var this_0 = toMutableMap(_this__u8e3s4.
|
|
743
|
+
var this_0 = toMutableMap(_this__u8e3s4.pr());
|
|
744
744
|
// Inline function 'kotlin.collections.set' call
|
|
745
|
-
this_0.
|
|
745
|
+
this_0.l4(key, value);
|
|
746
746
|
return setTags(_this__u8e3s4, this_0);
|
|
747
747
|
}
|
|
748
748
|
function setTags(_this__u8e3s4, tags) {
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
}
|
|
755
755
|
function Companion_5() {
|
|
756
756
|
}
|
|
757
|
-
protoOf(Companion_5).
|
|
757
|
+
protoOf(Companion_5).op = function (source) {
|
|
758
758
|
var tmp;
|
|
759
759
|
if (source.q()) {
|
|
760
760
|
tmp = new LazyCursor(source);
|
|
@@ -768,20 +768,20 @@
|
|
|
768
768
|
return Companion_instance_5;
|
|
769
769
|
}
|
|
770
770
|
function AbstractCursor$iterator$1(this$0) {
|
|
771
|
-
this.
|
|
771
|
+
this.qr_1 = this$0;
|
|
772
772
|
}
|
|
773
773
|
protoOf(AbstractCursor$iterator$1).q = function () {
|
|
774
|
-
return !this.
|
|
774
|
+
return !this.qr_1.np();
|
|
775
775
|
};
|
|
776
776
|
protoOf(AbstractCursor$iterator$1).r = function () {
|
|
777
|
-
var result = this.
|
|
778
|
-
this.
|
|
777
|
+
var result = this.qr_1.lp();
|
|
778
|
+
this.qr_1 = this.qr_1.kp();
|
|
779
779
|
return ensureNotNull(result);
|
|
780
780
|
};
|
|
781
781
|
function AbstractCursor() {
|
|
782
782
|
}
|
|
783
783
|
protoOf(AbstractCursor).toString = function () {
|
|
784
|
-
return this.
|
|
784
|
+
return this.np() ? '[]' : !this.mp() ? '[' + toString(this.lp()) + ']' : '[' + toString(this.lp()) + ', ...]';
|
|
785
785
|
};
|
|
786
786
|
protoOf(AbstractCursor).n = function () {
|
|
787
787
|
return new AbstractCursor$iterator$1(this);
|
|
@@ -789,84 +789,84 @@
|
|
|
789
789
|
protoOf(AbstractCursor).iterator = function () {
|
|
790
790
|
return this.n();
|
|
791
791
|
};
|
|
792
|
-
protoOf(AbstractCursor).
|
|
792
|
+
protoOf(AbstractCursor).rr = function () {
|
|
793
793
|
return false;
|
|
794
794
|
};
|
|
795
|
-
protoOf(AbstractCursor).
|
|
795
|
+
protoOf(AbstractCursor).sr = function (mapper) {
|
|
796
796
|
return new MapperCursor(this, mapper);
|
|
797
797
|
};
|
|
798
798
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
799
|
-
return this.
|
|
799
|
+
return this.sr(mapper);
|
|
800
800
|
};
|
|
801
801
|
function CachedImpl(generator) {
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
802
|
+
this.tr_1 = generator;
|
|
803
|
+
this.ur_1 = Companion_instance_4.fp();
|
|
804
804
|
}
|
|
805
|
-
protoOf(CachedImpl).
|
|
806
|
-
return this.
|
|
805
|
+
protoOf(CachedImpl).cp = function () {
|
|
806
|
+
return this.ur_1.mr();
|
|
807
807
|
};
|
|
808
|
-
protoOf(CachedImpl).
|
|
809
|
-
return this.
|
|
808
|
+
protoOf(CachedImpl).vr = function () {
|
|
809
|
+
return this.ur_1.nr();
|
|
810
810
|
};
|
|
811
|
-
protoOf(CachedImpl).
|
|
812
|
-
this.
|
|
813
|
-
return ensureNotNull(this.
|
|
811
|
+
protoOf(CachedImpl).f2 = function () {
|
|
812
|
+
this.wr();
|
|
813
|
+
return ensureNotNull(this.ur_1.f2());
|
|
814
814
|
};
|
|
815
|
-
protoOf(CachedImpl).
|
|
816
|
-
if (this.
|
|
817
|
-
this.
|
|
815
|
+
protoOf(CachedImpl).wr = function () {
|
|
816
|
+
if (this.vr()) {
|
|
817
|
+
this.ur_1 = Companion_instance_4.lr(this.tr_1());
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
|
-
protoOf(CachedImpl).
|
|
821
|
-
this.
|
|
820
|
+
protoOf(CachedImpl).dp = function () {
|
|
821
|
+
this.ur_1 = Companion_instance_4.fp();
|
|
822
822
|
};
|
|
823
823
|
protoOf(CachedImpl).toString = function () {
|
|
824
|
-
return 'CachedImpl(generator=' + toString_0(this.
|
|
824
|
+
return 'CachedImpl(generator=' + toString_0(this.tr_1) + ')';
|
|
825
825
|
};
|
|
826
826
|
protoOf(CachedImpl).hashCode = function () {
|
|
827
|
-
return hashCode(this.
|
|
827
|
+
return hashCode(this.tr_1);
|
|
828
828
|
};
|
|
829
829
|
protoOf(CachedImpl).equals = function (other) {
|
|
830
830
|
if (this === other)
|
|
831
831
|
return true;
|
|
832
832
|
if (!(other instanceof CachedImpl))
|
|
833
833
|
return false;
|
|
834
|
-
if (!equals(this.
|
|
834
|
+
if (!equals(this.tr_1, other.tr_1))
|
|
835
835
|
return false;
|
|
836
836
|
return true;
|
|
837
837
|
};
|
|
838
838
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
839
839
|
return function () {
|
|
840
|
-
return this$0.
|
|
840
|
+
return this$0.xr_1.mp() ? new ConjunctionCursor(this$0.xr_1.kp(), this$0.yr_1) : this$0.yr_1.rr() ? this$0.yr_1.kp() : this$0.yr_1;
|
|
841
841
|
};
|
|
842
842
|
}
|
|
843
843
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
844
844
|
return constructCallableReference(function (p0) {
|
|
845
|
-
return p0.
|
|
845
|
+
return p0.kp();
|
|
846
846
|
}, 1, 0, 1);
|
|
847
847
|
}
|
|
848
848
|
function ConjunctionCursor(first, second) {
|
|
849
849
|
AbstractCursor.call(this);
|
|
850
|
-
this.
|
|
851
|
-
this.
|
|
850
|
+
this.xr_1 = first;
|
|
851
|
+
this.yr_1 = second;
|
|
852
852
|
var tmp = this;
|
|
853
|
-
tmp.
|
|
853
|
+
tmp.zr_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
854
854
|
}
|
|
855
|
-
protoOf(ConjunctionCursor).
|
|
856
|
-
return this.
|
|
855
|
+
protoOf(ConjunctionCursor).np = function () {
|
|
856
|
+
return this.xr_1.np() && this.yr_1.np();
|
|
857
857
|
};
|
|
858
|
-
protoOf(ConjunctionCursor).
|
|
859
|
-
var tmp0 = this.
|
|
858
|
+
protoOf(ConjunctionCursor).kp = function () {
|
|
859
|
+
var tmp0 = this.zr_1;
|
|
860
860
|
var tmp = KProperty1;
|
|
861
861
|
// Inline function 'kotlin.getValue' call
|
|
862
862
|
getPropertyCallableRef('next', 1, tmp, ConjunctionCursor$_get_next_$ref_xfvrtr(), null);
|
|
863
|
-
return tmp0.
|
|
863
|
+
return tmp0.f2();
|
|
864
864
|
};
|
|
865
|
-
protoOf(ConjunctionCursor).
|
|
866
|
-
return this.
|
|
865
|
+
protoOf(ConjunctionCursor).lp = function () {
|
|
866
|
+
return this.xr_1.mp() ? this.xr_1.lp() : this.yr_1.lp();
|
|
867
867
|
};
|
|
868
|
-
protoOf(ConjunctionCursor).
|
|
869
|
-
return this.
|
|
868
|
+
protoOf(ConjunctionCursor).mp = function () {
|
|
869
|
+
return this.xr_1.mp() || this.yr_1.mp();
|
|
870
870
|
};
|
|
871
871
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
872
872
|
if (this === other)
|
|
@@ -875,44 +875,44 @@
|
|
|
875
875
|
return false;
|
|
876
876
|
if (!(other instanceof ConjunctionCursor))
|
|
877
877
|
THROW_CCE();
|
|
878
|
-
if (!equals(this.
|
|
878
|
+
if (!equals(this.xr_1, other.xr_1))
|
|
879
879
|
return false;
|
|
880
|
-
if (!equals(this.
|
|
880
|
+
if (!equals(this.yr_1, other.yr_1))
|
|
881
881
|
return false;
|
|
882
882
|
return true;
|
|
883
883
|
};
|
|
884
884
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
885
|
-
var result = hashCode(this.
|
|
886
|
-
result = imul(31, result) + hashCode(this.
|
|
885
|
+
var result = hashCode(this.xr_1);
|
|
886
|
+
result = imul(31, result) + hashCode(this.yr_1) | 0;
|
|
887
887
|
return result;
|
|
888
888
|
};
|
|
889
889
|
function EmptyCursor() {
|
|
890
890
|
EmptyCursor_instance = this;
|
|
891
891
|
AbstractCursor.call(this);
|
|
892
892
|
}
|
|
893
|
-
protoOf(EmptyCursor).
|
|
893
|
+
protoOf(EmptyCursor).kp = function () {
|
|
894
894
|
throw NoSuchElementException_init_$Create$();
|
|
895
895
|
};
|
|
896
|
-
protoOf(EmptyCursor).
|
|
896
|
+
protoOf(EmptyCursor).lp = function () {
|
|
897
897
|
return null;
|
|
898
898
|
};
|
|
899
|
-
protoOf(EmptyCursor).
|
|
899
|
+
protoOf(EmptyCursor).mp = function () {
|
|
900
900
|
return false;
|
|
901
901
|
};
|
|
902
|
-
protoOf(EmptyCursor).
|
|
902
|
+
protoOf(EmptyCursor).np = function () {
|
|
903
903
|
return true;
|
|
904
904
|
};
|
|
905
905
|
protoOf(EmptyCursor).toString = function () {
|
|
906
906
|
return protoOf(AbstractCursor).toString.call(this);
|
|
907
907
|
};
|
|
908
|
-
protoOf(EmptyCursor).
|
|
908
|
+
protoOf(EmptyCursor).as = function (mapper) {
|
|
909
909
|
return this;
|
|
910
910
|
};
|
|
911
911
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
912
|
-
return this.
|
|
912
|
+
return this.as(mapper);
|
|
913
913
|
};
|
|
914
|
-
protoOf(EmptyCursor).
|
|
915
|
-
return this.
|
|
914
|
+
protoOf(EmptyCursor).sr = function (mapper) {
|
|
915
|
+
return this.as(mapper);
|
|
916
916
|
};
|
|
917
917
|
var EmptyCursor_instance;
|
|
918
918
|
function EmptyCursor_getInstance() {
|
|
@@ -921,27 +921,27 @@
|
|
|
921
921
|
return EmptyCursor_instance;
|
|
922
922
|
}
|
|
923
923
|
function IntIndexedImpl(index, value) {
|
|
924
|
-
this.
|
|
925
|
-
this.
|
|
924
|
+
this.bs_1 = index;
|
|
925
|
+
this.cs_1 = value;
|
|
926
926
|
}
|
|
927
|
-
protoOf(IntIndexedImpl).
|
|
928
|
-
return this.
|
|
929
|
-
};
|
|
930
|
-
protoOf(IntIndexedImpl).e2 = function () {
|
|
931
|
-
return this.zr_1;
|
|
927
|
+
protoOf(IntIndexedImpl).pp = function () {
|
|
928
|
+
return this.bs_1;
|
|
932
929
|
};
|
|
933
|
-
protoOf(IntIndexedImpl).
|
|
934
|
-
return this.
|
|
930
|
+
protoOf(IntIndexedImpl).f2 = function () {
|
|
931
|
+
return this.cs_1;
|
|
935
932
|
};
|
|
936
933
|
protoOf(IntIndexedImpl).pc = function () {
|
|
937
|
-
return this.
|
|
934
|
+
return this.bs_1;
|
|
935
|
+
};
|
|
936
|
+
protoOf(IntIndexedImpl).qc = function () {
|
|
937
|
+
return this.cs_1;
|
|
938
938
|
};
|
|
939
939
|
protoOf(IntIndexedImpl).toString = function () {
|
|
940
|
-
return 'IntIndexedImpl(index=' + this.
|
|
940
|
+
return 'IntIndexedImpl(index=' + this.bs_1 + ', value=' + toString(this.cs_1) + ')';
|
|
941
941
|
};
|
|
942
942
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
943
|
-
var result = this.
|
|
944
|
-
result = imul(result, 31) + (this.
|
|
943
|
+
var result = this.bs_1;
|
|
944
|
+
result = imul(result, 31) + (this.cs_1 == null ? 0 : hashCode(this.cs_1)) | 0;
|
|
945
945
|
return result;
|
|
946
946
|
};
|
|
947
947
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -949,25 +949,25 @@
|
|
|
949
949
|
return true;
|
|
950
950
|
if (!(other instanceof IntIndexedImpl))
|
|
951
951
|
return false;
|
|
952
|
-
if (!(this.
|
|
952
|
+
if (!(this.bs_1 === other.bs_1))
|
|
953
953
|
return false;
|
|
954
|
-
if (!equals(this.
|
|
954
|
+
if (!equals(this.cs_1, other.cs_1))
|
|
955
955
|
return false;
|
|
956
956
|
return true;
|
|
957
957
|
};
|
|
958
958
|
protoOf(IntIndexedImpl).d = function (other) {
|
|
959
|
-
return this.
|
|
959
|
+
return this.rp((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
960
960
|
};
|
|
961
961
|
function _get_wrapped__s2ip8($this) {
|
|
962
|
-
var tmp0 = $this.
|
|
962
|
+
var tmp0 = $this.es_1;
|
|
963
963
|
var tmp = KProperty1;
|
|
964
964
|
// Inline function 'kotlin.getValue' call
|
|
965
965
|
getPropertyCallableRef('wrapped', 1, tmp, LazyCursor$_get_wrapped_$ref_p28zr5(), null);
|
|
966
|
-
return tmp0.
|
|
966
|
+
return tmp0.f2();
|
|
967
967
|
}
|
|
968
968
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
969
969
|
return function () {
|
|
970
|
-
return new NonLastCursor(this$0.
|
|
970
|
+
return new NonLastCursor(this$0.ds_1);
|
|
971
971
|
};
|
|
972
972
|
}
|
|
973
973
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
@@ -977,23 +977,23 @@
|
|
|
977
977
|
}
|
|
978
978
|
function LazyCursor(delegate) {
|
|
979
979
|
AbstractCursor.call(this);
|
|
980
|
-
this.
|
|
980
|
+
this.ds_1 = delegate;
|
|
981
981
|
var tmp = this;
|
|
982
|
-
tmp.
|
|
982
|
+
tmp.es_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
983
983
|
}
|
|
984
|
-
protoOf(LazyCursor).
|
|
984
|
+
protoOf(LazyCursor).rr = function () {
|
|
985
985
|
return true;
|
|
986
986
|
};
|
|
987
|
-
protoOf(LazyCursor).
|
|
988
|
-
return _get_wrapped__s2ip8(this).
|
|
987
|
+
protoOf(LazyCursor).kp = function () {
|
|
988
|
+
return _get_wrapped__s2ip8(this).kp();
|
|
989
989
|
};
|
|
990
|
-
protoOf(LazyCursor).
|
|
991
|
-
return _get_wrapped__s2ip8(this).
|
|
990
|
+
protoOf(LazyCursor).lp = function () {
|
|
991
|
+
return _get_wrapped__s2ip8(this).lp();
|
|
992
992
|
};
|
|
993
|
-
protoOf(LazyCursor).
|
|
993
|
+
protoOf(LazyCursor).mp = function () {
|
|
994
994
|
return true;
|
|
995
995
|
};
|
|
996
|
-
protoOf(LazyCursor).
|
|
996
|
+
protoOf(LazyCursor).np = function () {
|
|
997
997
|
return false;
|
|
998
998
|
};
|
|
999
999
|
protoOf(LazyCursor).toString = function () {
|
|
@@ -1006,45 +1006,45 @@
|
|
|
1006
1006
|
return this.n();
|
|
1007
1007
|
};
|
|
1008
1008
|
protoOf(LazyCursor).hashCode = function () {
|
|
1009
|
-
return hashCode(this.
|
|
1009
|
+
return hashCode(this.ds_1);
|
|
1010
1010
|
};
|
|
1011
1011
|
protoOf(LazyCursor).equals = function (other) {
|
|
1012
1012
|
if (this === other)
|
|
1013
1013
|
return true;
|
|
1014
1014
|
if (!(other instanceof LazyCursor))
|
|
1015
1015
|
return false;
|
|
1016
|
-
if (!equals(this.
|
|
1016
|
+
if (!equals(this.ds_1, other.ds_1))
|
|
1017
1017
|
return false;
|
|
1018
1018
|
return true;
|
|
1019
1019
|
};
|
|
1020
1020
|
function LongIndexedImpl(index, value) {
|
|
1021
|
-
this.
|
|
1022
|
-
this.
|
|
1021
|
+
this.fs_1 = index;
|
|
1022
|
+
this.gs_1 = value;
|
|
1023
1023
|
}
|
|
1024
|
-
protoOf(LongIndexedImpl).
|
|
1025
|
-
return this.
|
|
1024
|
+
protoOf(LongIndexedImpl).pp = function () {
|
|
1025
|
+
return this.fs_1;
|
|
1026
1026
|
};
|
|
1027
|
-
protoOf(LongIndexedImpl).
|
|
1028
|
-
return this.
|
|
1027
|
+
protoOf(LongIndexedImpl).f2 = function () {
|
|
1028
|
+
return this.gs_1;
|
|
1029
1029
|
};
|
|
1030
|
-
protoOf(LongIndexedImpl).
|
|
1031
|
-
return convertToInt(subtract(this.
|
|
1030
|
+
protoOf(LongIndexedImpl).kr = function (other) {
|
|
1031
|
+
return convertToInt(subtract(this.fs_1, other.pp()));
|
|
1032
1032
|
};
|
|
1033
1033
|
protoOf(LongIndexedImpl).d = function (other) {
|
|
1034
|
-
return this.
|
|
1035
|
-
};
|
|
1036
|
-
protoOf(LongIndexedImpl).oc = function () {
|
|
1037
|
-
return this.cs_1;
|
|
1034
|
+
return this.kr((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1038
1035
|
};
|
|
1039
1036
|
protoOf(LongIndexedImpl).pc = function () {
|
|
1040
|
-
return this.
|
|
1037
|
+
return this.fs_1;
|
|
1038
|
+
};
|
|
1039
|
+
protoOf(LongIndexedImpl).qc = function () {
|
|
1040
|
+
return this.gs_1;
|
|
1041
1041
|
};
|
|
1042
1042
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1043
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1043
|
+
return 'LongIndexedImpl(index=' + this.fs_1.toString() + ', value=' + toString(this.gs_1) + ')';
|
|
1044
1044
|
};
|
|
1045
1045
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1046
|
-
var result = getBigIntHashCode(this.
|
|
1047
|
-
result = imul(result, 31) + (this.
|
|
1046
|
+
var result = getBigIntHashCode(this.fs_1);
|
|
1047
|
+
result = imul(result, 31) + (this.gs_1 == null ? 0 : hashCode(this.gs_1)) | 0;
|
|
1048
1048
|
return result;
|
|
1049
1049
|
};
|
|
1050
1050
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1052,43 +1052,43 @@
|
|
|
1052
1052
|
return true;
|
|
1053
1053
|
if (!(other instanceof LongIndexedImpl))
|
|
1054
1054
|
return false;
|
|
1055
|
-
if (!(this.
|
|
1055
|
+
if (!(this.fs_1 === other.fs_1))
|
|
1056
1056
|
return false;
|
|
1057
|
-
if (!equals(this.
|
|
1057
|
+
if (!equals(this.gs_1, other.gs_1))
|
|
1058
1058
|
return false;
|
|
1059
1059
|
return true;
|
|
1060
1060
|
};
|
|
1061
1061
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1062
1062
|
return function () {
|
|
1063
|
-
return this$0.
|
|
1063
|
+
return this$0.is_1(ensureNotNull(this$0.hs_1.lp()));
|
|
1064
1064
|
};
|
|
1065
1065
|
}
|
|
1066
1066
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1067
1067
|
return constructCallableReference(function (p0) {
|
|
1068
|
-
return p0.
|
|
1068
|
+
return p0.lp();
|
|
1069
1069
|
}, 1, 0, 3);
|
|
1070
1070
|
}
|
|
1071
1071
|
function MapperCursor(wrapped, mapper) {
|
|
1072
1072
|
AbstractCursor.call(this);
|
|
1073
|
-
this.
|
|
1074
|
-
this.
|
|
1073
|
+
this.hs_1 = wrapped;
|
|
1074
|
+
this.is_1 = mapper;
|
|
1075
1075
|
var tmp = this;
|
|
1076
|
-
tmp.
|
|
1076
|
+
tmp.js_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1077
1077
|
}
|
|
1078
|
-
protoOf(MapperCursor).
|
|
1079
|
-
return this.
|
|
1078
|
+
protoOf(MapperCursor).kp = function () {
|
|
1079
|
+
return this.hs_1.kp().sr(this.is_1);
|
|
1080
1080
|
};
|
|
1081
|
-
protoOf(MapperCursor).
|
|
1082
|
-
var tmp0 = this.
|
|
1081
|
+
protoOf(MapperCursor).lp = function () {
|
|
1082
|
+
var tmp0 = this.js_1;
|
|
1083
1083
|
var tmp = KProperty1;
|
|
1084
1084
|
// Inline function 'kotlin.getValue' call
|
|
1085
1085
|
getPropertyCallableRef('current', 1, tmp, MapperCursor$_get_current_$ref_lsggiu(), null);
|
|
1086
|
-
return tmp0.
|
|
1086
|
+
return tmp0.f2();
|
|
1087
1087
|
};
|
|
1088
|
-
protoOf(MapperCursor).
|
|
1088
|
+
protoOf(MapperCursor).mp = function () {
|
|
1089
1089
|
return true;
|
|
1090
1090
|
};
|
|
1091
|
-
protoOf(MapperCursor).
|
|
1091
|
+
protoOf(MapperCursor).np = function () {
|
|
1092
1092
|
return false;
|
|
1093
1093
|
};
|
|
1094
1094
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1098,60 +1098,60 @@
|
|
|
1098
1098
|
return false;
|
|
1099
1099
|
if (!(other instanceof MapperCursor))
|
|
1100
1100
|
THROW_CCE();
|
|
1101
|
-
if (!equals(this.
|
|
1101
|
+
if (!equals(this.hs_1, other.hs_1))
|
|
1102
1102
|
return false;
|
|
1103
|
-
if (!equals(this.
|
|
1103
|
+
if (!equals(this.is_1, other.is_1))
|
|
1104
1104
|
return false;
|
|
1105
1105
|
return true;
|
|
1106
1106
|
};
|
|
1107
1107
|
protoOf(MapperCursor).hashCode = function () {
|
|
1108
|
-
var result = hashCode(this.
|
|
1109
|
-
result = imul(31, result) + hashCode(this.
|
|
1108
|
+
var result = hashCode(this.hs_1);
|
|
1109
|
+
result = imul(31, result) + hashCode(this.is_1) | 0;
|
|
1110
1110
|
return result;
|
|
1111
1111
|
};
|
|
1112
|
-
protoOf(MapperCursor).
|
|
1113
|
-
return new ValueCursor(mapper(this.
|
|
1112
|
+
protoOf(MapperCursor).ks = function (mapper) {
|
|
1113
|
+
return new ValueCursor(mapper(this.lp()), this.kp().sr(mapper));
|
|
1114
1114
|
};
|
|
1115
1115
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1116
|
-
return this.
|
|
1116
|
+
return this.ks(mapper);
|
|
1117
1117
|
};
|
|
1118
|
-
protoOf(MapperCursor).
|
|
1119
|
-
return this.
|
|
1118
|
+
protoOf(MapperCursor).sr = function (mapper) {
|
|
1119
|
+
return this.ks(mapper);
|
|
1120
1120
|
};
|
|
1121
1121
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1122
1122
|
return function () {
|
|
1123
1123
|
// Inline function 'kotlin.also' call
|
|
1124
|
-
var this_0 = Companion_instance_5.
|
|
1125
|
-
this$0.
|
|
1124
|
+
var this_0 = Companion_instance_5.op($source);
|
|
1125
|
+
this$0.ls_1 = null;
|
|
1126
1126
|
return this_0;
|
|
1127
1127
|
};
|
|
1128
1128
|
}
|
|
1129
1129
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1130
1130
|
return constructCallableReference(function (p0) {
|
|
1131
|
-
return p0.
|
|
1131
|
+
return p0.kp();
|
|
1132
1132
|
}, 1, 0, 4);
|
|
1133
1133
|
}
|
|
1134
1134
|
function NonLastCursor(source) {
|
|
1135
1135
|
AbstractCursor.call(this);
|
|
1136
|
-
this.
|
|
1136
|
+
this.ls_1 = source;
|
|
1137
1137
|
var tmp = this;
|
|
1138
|
-
tmp.
|
|
1139
|
-
this.
|
|
1138
|
+
tmp.ms_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1139
|
+
this.ns_1 = source.r();
|
|
1140
1140
|
}
|
|
1141
|
-
protoOf(NonLastCursor).
|
|
1142
|
-
var tmp0 = this.
|
|
1141
|
+
protoOf(NonLastCursor).kp = function () {
|
|
1142
|
+
var tmp0 = this.ms_1;
|
|
1143
1143
|
var tmp = KProperty1;
|
|
1144
1144
|
// Inline function 'kotlin.getValue' call
|
|
1145
1145
|
getPropertyCallableRef('next', 1, tmp, NonLastCursor$_get_next_$ref_gp6ycu(), null);
|
|
1146
|
-
return tmp0.
|
|
1146
|
+
return tmp0.f2();
|
|
1147
1147
|
};
|
|
1148
|
-
protoOf(NonLastCursor).
|
|
1149
|
-
return this.
|
|
1148
|
+
protoOf(NonLastCursor).lp = function () {
|
|
1149
|
+
return this.ns_1;
|
|
1150
1150
|
};
|
|
1151
|
-
protoOf(NonLastCursor).
|
|
1151
|
+
protoOf(NonLastCursor).mp = function () {
|
|
1152
1152
|
return true;
|
|
1153
1153
|
};
|
|
1154
|
-
protoOf(NonLastCursor).
|
|
1154
|
+
protoOf(NonLastCursor).np = function () {
|
|
1155
1155
|
return false;
|
|
1156
1156
|
};
|
|
1157
1157
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1159,53 +1159,53 @@
|
|
|
1159
1159
|
};
|
|
1160
1160
|
function removeLeastRecent($this) {
|
|
1161
1161
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1162
|
-
var tmp$ret$0 = $this.
|
|
1162
|
+
var tmp$ret$0 = $this.ps_1.d1();
|
|
1163
1163
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1164
1164
|
// Inline function 'kotlin.collections.component1' call
|
|
1165
|
-
var key = _destruct__k2r9zo.
|
|
1165
|
+
var key = _destruct__k2r9zo.e2();
|
|
1166
1166
|
// Inline function 'kotlin.collections.component2' call
|
|
1167
|
-
var value = _destruct__k2r9zo.
|
|
1168
|
-
$this.
|
|
1169
|
-
return Companion_instance_4.
|
|
1167
|
+
var value = _destruct__k2r9zo.f2();
|
|
1168
|
+
$this.ps_1.m4(key);
|
|
1169
|
+
return Companion_instance_4.lr(to(key, value));
|
|
1170
1170
|
}
|
|
1171
1171
|
function removeLeastRecentIfNecessary($this) {
|
|
1172
1172
|
var tmp;
|
|
1173
|
-
if ($this.
|
|
1173
|
+
if ($this.ps_1.s() >= $this.os_1) {
|
|
1174
1174
|
tmp = removeLeastRecent($this);
|
|
1175
1175
|
} else {
|
|
1176
|
-
tmp = Companion_instance_4.
|
|
1176
|
+
tmp = Companion_instance_4.fp();
|
|
1177
1177
|
}
|
|
1178
1178
|
return tmp;
|
|
1179
1179
|
}
|
|
1180
1180
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1181
1181
|
return function () {
|
|
1182
1182
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1183
|
-
var tmp0 = this$0.
|
|
1183
|
+
var tmp0 = this$0.ps_1;
|
|
1184
1184
|
var tmp2 = $key;
|
|
1185
1185
|
// Inline function 'kotlin.collections.set' call
|
|
1186
1186
|
var value = $value;
|
|
1187
|
-
tmp0.
|
|
1187
|
+
tmp0.l4(tmp2, value);
|
|
1188
1188
|
return evicted;
|
|
1189
1189
|
};
|
|
1190
1190
|
}
|
|
1191
1191
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1192
1192
|
return function () {
|
|
1193
1193
|
var tmp;
|
|
1194
|
-
if (this$0.
|
|
1195
|
-
tmp = Companion_instance_4.
|
|
1194
|
+
if (this$0.ps_1.g2($key)) {
|
|
1195
|
+
tmp = Companion_instance_4.gp(this$0.ps_1.i2($key));
|
|
1196
1196
|
} else {
|
|
1197
|
-
tmp = Companion_instance_4.
|
|
1197
|
+
tmp = Companion_instance_4.fp();
|
|
1198
1198
|
}
|
|
1199
1199
|
return tmp;
|
|
1200
1200
|
};
|
|
1201
1201
|
}
|
|
1202
1202
|
function SimpleLRUCache$toSequence$lambda$lambda(it) {
|
|
1203
1203
|
// Inline function 'kotlin.collections.toPair' call
|
|
1204
|
-
return new Pair(it.
|
|
1204
|
+
return new Pair(it.e2(), it.f2());
|
|
1205
1205
|
}
|
|
1206
1206
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1207
1207
|
return function () {
|
|
1208
|
-
var tmp = asSequence(this$0.
|
|
1208
|
+
var tmp = asSequence(this$0.ps_1.d1());
|
|
1209
1209
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1210
1210
|
};
|
|
1211
1211
|
}
|
|
@@ -1213,19 +1213,19 @@
|
|
|
1213
1213
|
return toString(it.first) + ' = ' + toString(it.second);
|
|
1214
1214
|
}
|
|
1215
1215
|
function SimpleLRUCache(capacity) {
|
|
1216
|
-
this.
|
|
1216
|
+
this.os_1 = capacity;
|
|
1217
1217
|
// Inline function 'kotlin.require' call
|
|
1218
1218
|
// Inline function 'kotlin.require' call
|
|
1219
|
-
if (!(this.
|
|
1219
|
+
if (!(this.os_1 > 0)) {
|
|
1220
1220
|
var message = 'Failed requirement.';
|
|
1221
1221
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1222
1222
|
}
|
|
1223
|
-
this.
|
|
1223
|
+
this.ps_1 = LinkedHashMap_init_$Create$();
|
|
1224
1224
|
}
|
|
1225
|
-
protoOf(SimpleLRUCache).
|
|
1225
|
+
protoOf(SimpleLRUCache).yo = function (key, value) {
|
|
1226
1226
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1227
1227
|
};
|
|
1228
|
-
protoOf(SimpleLRUCache).
|
|
1228
|
+
protoOf(SimpleLRUCache).i2 = function (key) {
|
|
1229
1229
|
return synchronizedOnSelf(this, SimpleLRUCache$get$lambda(this, key));
|
|
1230
1230
|
};
|
|
1231
1231
|
protoOf(SimpleLRUCache).equals = function (other) {
|
|
@@ -1235,39 +1235,39 @@
|
|
|
1235
1235
|
return false;
|
|
1236
1236
|
if (!(other instanceof SimpleLRUCache))
|
|
1237
1237
|
THROW_CCE();
|
|
1238
|
-
if (!(this.
|
|
1238
|
+
if (!(this.os_1 === other.os_1))
|
|
1239
1239
|
return false;
|
|
1240
|
-
if (!this.
|
|
1240
|
+
if (!this.ps_1.equals(other.ps_1))
|
|
1241
1241
|
return false;
|
|
1242
1242
|
return true;
|
|
1243
1243
|
};
|
|
1244
1244
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1245
|
-
var result = this.
|
|
1246
|
-
result = imul(31, result) + this.
|
|
1245
|
+
var result = this.os_1;
|
|
1246
|
+
result = imul(31, result) + this.ps_1.hashCode() | 0;
|
|
1247
1247
|
return result;
|
|
1248
1248
|
};
|
|
1249
|
-
protoOf(SimpleLRUCache).
|
|
1249
|
+
protoOf(SimpleLRUCache).qs = function () {
|
|
1250
1250
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1251
1251
|
};
|
|
1252
1252
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1253
|
-
var tmp = this.
|
|
1253
|
+
var tmp = this.qs();
|
|
1254
1254
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1255
1255
|
};
|
|
1256
1256
|
function ValueCursor(current, next) {
|
|
1257
1257
|
AbstractCursor.call(this);
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1258
|
+
this.rs_1 = current;
|
|
1259
|
+
this.ss_1 = next;
|
|
1260
1260
|
}
|
|
1261
|
-
protoOf(ValueCursor).
|
|
1262
|
-
return this.
|
|
1261
|
+
protoOf(ValueCursor).lp = function () {
|
|
1262
|
+
return this.rs_1;
|
|
1263
1263
|
};
|
|
1264
|
-
protoOf(ValueCursor).
|
|
1265
|
-
return this.
|
|
1264
|
+
protoOf(ValueCursor).kp = function () {
|
|
1265
|
+
return this.ss_1;
|
|
1266
1266
|
};
|
|
1267
|
-
protoOf(ValueCursor).
|
|
1267
|
+
protoOf(ValueCursor).mp = function () {
|
|
1268
1268
|
return true;
|
|
1269
1269
|
};
|
|
1270
|
-
protoOf(ValueCursor).
|
|
1270
|
+
protoOf(ValueCursor).np = function () {
|
|
1271
1271
|
return false;
|
|
1272
1272
|
};
|
|
1273
1273
|
function dequeOf(items) {
|
|
@@ -1287,18 +1287,18 @@
|
|
|
1287
1287
|
if (_this__u8e3s4.h())
|
|
1288
1288
|
return null;
|
|
1289
1289
|
var first = _this__u8e3s4.x(0);
|
|
1290
|
-
_this__u8e3s4.
|
|
1290
|
+
_this__u8e3s4.h3(0);
|
|
1291
1291
|
return first;
|
|
1292
1292
|
}
|
|
1293
1293
|
function addFirst(_this__u8e3s4, item) {
|
|
1294
|
-
_this__u8e3s4.
|
|
1294
|
+
_this__u8e3s4.s3(0, item);
|
|
1295
1295
|
}
|
|
1296
1296
|
function addFirst_0(_this__u8e3s4, items) {
|
|
1297
|
-
var i = _this__u8e3s4.
|
|
1297
|
+
var i = _this__u8e3s4.c4();
|
|
1298
1298
|
var _iterator__ex2g4s = items.n();
|
|
1299
1299
|
while (_iterator__ex2g4s.q()) {
|
|
1300
1300
|
var item = _iterator__ex2g4s.r();
|
|
1301
|
-
i.
|
|
1301
|
+
i.t3(item);
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
function synchronizedOn(obj, action) {
|
|
@@ -1311,9 +1311,9 @@
|
|
|
1311
1311
|
//region block: post-declaration
|
|
1312
1312
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1313
1313
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1314
|
-
protoOf(CachedImpl).
|
|
1315
|
-
protoOf(IntIndexedImpl).
|
|
1316
|
-
protoOf(SimpleLRUCache).
|
|
1314
|
+
protoOf(CachedImpl).ep = ifValid;
|
|
1315
|
+
protoOf(IntIndexedImpl).rp = compareTo_0;
|
|
1316
|
+
protoOf(SimpleLRUCache).zo = getOrSet;
|
|
1317
1317
|
//endregion
|
|
1318
1318
|
//region block: init
|
|
1319
1319
|
Companion_instance = new Companion();
|