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