@tuprolog/arg2p 0.13.2 → 0.14.2
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-core.js +2267 -2267
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +442 -442
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +246 -246
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +152 -152
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +15 -15
- package/2p-parser-core.js +160 -160
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-js.js +1 -1
- package/2p-parser-theory.js +17 -17
- package/2p-solve-classic.js +869 -869
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve.js +3095 -3095
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1351 -1351
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +227 -227
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +323 -323
- package/2p-utils.js.map +1 -1
- package/arg2p-causality-solver.js +90 -90
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +1707 -1488
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +89 -88
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1784 -1225
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1514 -1512
- package/kt-math.js.map +1 -1
- package/package.json +1 -1
package/2p-utils.js
CHANGED
|
@@ -16,66 +16,66 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
21
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
22
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
24
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
25
|
-
var Iterable = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.n6;
|
|
20
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.b6;
|
|
21
|
+
var Unit_instance = kotlin_kotlin.$_$.l1;
|
|
22
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.c6;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.qa;
|
|
24
|
+
var isInterface = kotlin_kotlin.$_$.h6;
|
|
25
|
+
var Iterable = kotlin_kotlin.$_$.n1;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.a6;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.b;
|
|
28
|
-
var Sequence = kotlin_kotlin.$_$.
|
|
29
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
30
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
31
|
-
var toList = kotlin_kotlin.$_$.
|
|
32
|
-
var asSequence = kotlin_kotlin.$_$.
|
|
33
|
-
var asIterable = kotlin_kotlin.$_$.
|
|
34
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
35
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
28
|
+
var Sequence = kotlin_kotlin.$_$.j7;
|
|
29
|
+
var arrayIterator = kotlin_kotlin.$_$.l5;
|
|
30
|
+
var Comparable = kotlin_kotlin.$_$.fa;
|
|
31
|
+
var toList = kotlin_kotlin.$_$.v8;
|
|
32
|
+
var asSequence = kotlin_kotlin.$_$.a2;
|
|
33
|
+
var asIterable = kotlin_kotlin.$_$.v1;
|
|
34
|
+
var hashCode = kotlin_kotlin.$_$.z5;
|
|
35
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.c2;
|
|
36
36
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
|
|
37
|
-
var asIterable_0 = kotlin_kotlin.$_$.
|
|
38
|
-
var sequence = kotlin_kotlin.$_$.
|
|
39
|
-
var IntRange = kotlin_kotlin.$_$.
|
|
40
|
-
var zip = kotlin_kotlin.$_$.
|
|
41
|
-
var map = kotlin_kotlin.$_$.
|
|
37
|
+
var asIterable_0 = kotlin_kotlin.$_$.l7;
|
|
38
|
+
var sequence = kotlin_kotlin.$_$.o8;
|
|
39
|
+
var IntRange = kotlin_kotlin.$_$.a7;
|
|
40
|
+
var zip = kotlin_kotlin.$_$.z8;
|
|
41
|
+
var map = kotlin_kotlin.$_$.g8;
|
|
42
42
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
43
|
-
var KtList = kotlin_kotlin.$_$.
|
|
44
|
-
var equals = kotlin_kotlin.$_$.
|
|
45
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
46
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
47
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
48
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
49
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
50
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
51
|
-
var withIndex = kotlin_kotlin.$_$.
|
|
52
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
53
|
-
var filterNot = kotlin_kotlin.$_$.
|
|
54
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
55
|
-
var minWithOrNull = kotlin_kotlin.$_$.
|
|
56
|
-
var subtract = kotlin_kotlin.$_$.
|
|
57
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
43
|
+
var KtList = kotlin_kotlin.$_$.o1;
|
|
44
|
+
var equals = kotlin_kotlin.$_$.u5;
|
|
45
|
+
var FunctionAdapter = kotlin_kotlin.$_$.k5;
|
|
46
|
+
var Comparator = kotlin_kotlin.$_$.ga;
|
|
47
|
+
var CoroutineImpl = kotlin_kotlin.$_$.r4;
|
|
48
|
+
var SequenceScope = kotlin_kotlin.$_$.i7;
|
|
49
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.q4;
|
|
50
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.d6;
|
|
51
|
+
var withIndex = kotlin_kotlin.$_$.y8;
|
|
52
|
+
var ensureNotNull = kotlin_kotlin.$_$.ua;
|
|
53
|
+
var filterNot = kotlin_kotlin.$_$.t7;
|
|
54
|
+
var toMutableList = kotlin_kotlin.$_$.w8;
|
|
55
|
+
var minWithOrNull = kotlin_kotlin.$_$.h8;
|
|
56
|
+
var subtract = kotlin_kotlin.$_$.i5;
|
|
57
|
+
var convertToInt = kotlin_kotlin.$_$.x4;
|
|
58
58
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
59
|
-
var toString = kotlin_kotlin.$_$.
|
|
59
|
+
var toString = kotlin_kotlin.$_$.q6;
|
|
60
60
|
var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.e;
|
|
61
61
|
var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.d;
|
|
62
62
|
var toString_0 = kotlin_kotlin.$_$.bb;
|
|
63
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
64
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
65
|
-
var lazy = kotlin_kotlin.$_$.
|
|
66
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
67
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
68
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
63
|
+
var initMetadataForObject = kotlin_kotlin.$_$.e6;
|
|
64
|
+
var KtMap = kotlin_kotlin.$_$.q1;
|
|
65
|
+
var lazy = kotlin_kotlin.$_$.wa;
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.h7;
|
|
67
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.x5;
|
|
68
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.e7;
|
|
69
69
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
70
|
-
var getBigIntHashCode = kotlin_kotlin.$_$.
|
|
71
|
-
var first = kotlin_kotlin.$_$.
|
|
70
|
+
var getBigIntHashCode = kotlin_kotlin.$_$.v5;
|
|
71
|
+
var first = kotlin_kotlin.$_$.s2;
|
|
72
72
|
var to = kotlin_kotlin.$_$.cb;
|
|
73
|
-
var Pair = kotlin_kotlin.$_$.
|
|
73
|
+
var Pair = kotlin_kotlin.$_$.oa;
|
|
74
74
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.f;
|
|
75
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
76
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
75
|
+
var joinToString = kotlin_kotlin.$_$.c8;
|
|
76
|
+
var mutableListOf = kotlin_kotlin.$_$.o3;
|
|
77
77
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.d;
|
|
78
|
-
var addAll = kotlin_kotlin.$_$.
|
|
78
|
+
var addAll = kotlin_kotlin.$_$.s1;
|
|
79
79
|
//endregion
|
|
80
80
|
//region block: pre-declaration
|
|
81
81
|
initMetadataForCompanion(Companion);
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
var got = this.h2(key);
|
|
84
84
|
var tmp;
|
|
85
85
|
if (got instanceof Some) {
|
|
86
|
-
tmp = got.
|
|
86
|
+
tmp = got.xp_1;
|
|
87
87
|
} else {
|
|
88
88
|
// Inline function 'kotlin.also' call
|
|
89
89
|
var this_0 = valueGenerator();
|
|
90
|
-
this.
|
|
90
|
+
this.vp(key, this_0);
|
|
91
91
|
tmp = this_0;
|
|
92
92
|
}
|
|
93
93
|
return tmp;
|
|
@@ -96,13 +96,13 @@
|
|
|
96
96
|
initMetadataForCompanion(Companion_0);
|
|
97
97
|
function ifValid(consumer) {
|
|
98
98
|
var tmp;
|
|
99
|
-
if (this.
|
|
99
|
+
if (this.zp()) {
|
|
100
100
|
var tmp_0 = Companion_instance_5;
|
|
101
101
|
// Inline function 'kotlin.let' call
|
|
102
102
|
var tmp$ret$0 = consumer(this.e2());
|
|
103
|
-
tmp = tmp_0.
|
|
103
|
+
tmp = tmp_0.dq(tmp$ret$0);
|
|
104
104
|
} else {
|
|
105
|
-
tmp = Companion_instance_5.
|
|
105
|
+
tmp = Companion_instance_5.cq();
|
|
106
106
|
}
|
|
107
107
|
return tmp;
|
|
108
108
|
}
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
}
|
|
125
125
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
126
126
|
function component1() {
|
|
127
|
-
return this.
|
|
127
|
+
return this.mq();
|
|
128
128
|
}
|
|
129
129
|
function component2() {
|
|
130
130
|
return this.e2();
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
133
133
|
initMetadataForCompanion(Companion_2);
|
|
134
134
|
function compareTo(other) {
|
|
135
|
-
return this.
|
|
135
|
+
return this.mq() - other.mq() | 0;
|
|
136
136
|
}
|
|
137
137
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
138
138
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
143
143
|
initMetadataForCompanion(Companion_3);
|
|
144
144
|
function compareTo_0(other) {
|
|
145
|
-
return convertToInt(subtract(this.
|
|
145
|
+
return convertToInt(subtract(this.mq(), other.mq()));
|
|
146
146
|
}
|
|
147
147
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
148
148
|
initMetadataForCompanion(Companion_4);
|
|
@@ -152,13 +152,13 @@
|
|
|
152
152
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
153
153
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
154
154
|
function getTag(name) {
|
|
155
|
-
var tmp = this.
|
|
155
|
+
var tmp = this.us().h2(name);
|
|
156
156
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
157
157
|
}
|
|
158
158
|
function containsTag(name) {
|
|
159
159
|
// Inline function 'kotlin.collections.contains' call
|
|
160
160
|
// Inline function 'kotlin.collections.containsKey' call
|
|
161
|
-
var this_0 = this.
|
|
161
|
+
var this_0 = this.us();
|
|
162
162
|
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).f2(name);
|
|
163
163
|
}
|
|
164
164
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
//endregion
|
|
179
179
|
function Companion() {
|
|
180
180
|
}
|
|
181
|
-
protoOf(Companion).
|
|
181
|
+
protoOf(Companion).up = function (capacity) {
|
|
182
182
|
return new SimpleLRUCache(capacity);
|
|
183
183
|
};
|
|
184
184
|
var Companion_instance;
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
}
|
|
190
190
|
function Companion_0() {
|
|
191
191
|
}
|
|
192
|
-
protoOf(Companion_0).
|
|
192
|
+
protoOf(Companion_0).yp = function (generator) {
|
|
193
193
|
return new CachedImpl(generator);
|
|
194
194
|
};
|
|
195
195
|
var Companion_instance_0;
|
|
@@ -216,16 +216,16 @@
|
|
|
216
216
|
return Companion_instance_1;
|
|
217
217
|
}
|
|
218
218
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
219
|
-
this.
|
|
219
|
+
this.fq_1 = this$0;
|
|
220
220
|
}
|
|
221
221
|
protoOf(Cursor$asIterable$$inlined$Iterable$1).p = function () {
|
|
222
|
-
return this.
|
|
222
|
+
return this.fq_1.iterator();
|
|
223
223
|
};
|
|
224
224
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
225
|
-
this.
|
|
225
|
+
this.gq_1 = this$0;
|
|
226
226
|
}
|
|
227
227
|
protoOf(Cursor$asSequence$$inlined$Sequence$1).p = function () {
|
|
228
|
-
return this.
|
|
228
|
+
return this.gq_1.iterator();
|
|
229
229
|
};
|
|
230
230
|
function Cursor() {
|
|
231
231
|
}
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
return toCursor(_this__u8e3s4.p());
|
|
234
234
|
}
|
|
235
235
|
function plus(_this__u8e3s4, other) {
|
|
236
|
-
return other.
|
|
236
|
+
return other.jq() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.jq() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
237
237
|
}
|
|
238
238
|
function cursor_0(_this__u8e3s4) {
|
|
239
239
|
return toCursor(_this__u8e3s4.p());
|
|
@@ -242,13 +242,13 @@
|
|
|
242
242
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
243
243
|
}
|
|
244
244
|
function toCursor(_this__u8e3s4) {
|
|
245
|
-
return Companion_instance_6.
|
|
245
|
+
return Companion_instance_6.lq(_this__u8e3s4);
|
|
246
246
|
}
|
|
247
247
|
function Indexed() {
|
|
248
248
|
}
|
|
249
249
|
function Companion_2() {
|
|
250
250
|
}
|
|
251
|
-
protoOf(Companion_2).
|
|
251
|
+
protoOf(Companion_2).nq = function (index, value) {
|
|
252
252
|
return new IntIndexedImpl(index, value);
|
|
253
253
|
};
|
|
254
254
|
var Companion_instance_2;
|
|
@@ -345,16 +345,16 @@
|
|
|
345
345
|
return isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4 : THROW_CCE();
|
|
346
346
|
}
|
|
347
347
|
function sam$kotlin_Comparator$0(function_0) {
|
|
348
|
-
this.
|
|
348
|
+
this.pq_1 = function_0;
|
|
349
349
|
}
|
|
350
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
351
|
-
return this.
|
|
350
|
+
protoOf(sam$kotlin_Comparator$0).zb = function (a, b) {
|
|
351
|
+
return this.pq_1(a, b);
|
|
352
352
|
};
|
|
353
353
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
354
|
-
return this.
|
|
354
|
+
return this.zb(a, b);
|
|
355
355
|
};
|
|
356
356
|
protoOf(sam$kotlin_Comparator$0).p2 = function () {
|
|
357
|
-
return this.
|
|
357
|
+
return this.pq_1;
|
|
358
358
|
};
|
|
359
359
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
360
360
|
var tmp;
|
|
@@ -378,17 +378,17 @@
|
|
|
378
378
|
return equals(a, b);
|
|
379
379
|
}
|
|
380
380
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
381
|
-
this.
|
|
381
|
+
this.yq_1 = $this_dropLast;
|
|
382
382
|
CoroutineImpl.call(this, resultContinuation);
|
|
383
383
|
}
|
|
384
|
-
protoOf(dropLast$slambda).
|
|
385
|
-
var tmp = this.
|
|
384
|
+
protoOf(dropLast$slambda).br = function ($this$sequence, $completion) {
|
|
385
|
+
var tmp = this.cr($this$sequence, $completion);
|
|
386
386
|
tmp.d8_1 = Unit_instance;
|
|
387
387
|
tmp.e8_1 = null;
|
|
388
388
|
return tmp.j8();
|
|
389
389
|
};
|
|
390
390
|
protoOf(dropLast$slambda).a9 = function (p1, $completion) {
|
|
391
|
-
return this.
|
|
391
|
+
return this.br(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
392
392
|
};
|
|
393
393
|
protoOf(dropLast$slambda).j8 = function () {
|
|
394
394
|
var suspendResult = this.d8_1;
|
|
@@ -398,19 +398,19 @@
|
|
|
398
398
|
switch (tmp) {
|
|
399
399
|
case 0:
|
|
400
400
|
this.c8_1 = 5;
|
|
401
|
-
this.
|
|
401
|
+
this.ar_1 = this.yq_1.p();
|
|
402
402
|
this.b8_1 = 1;
|
|
403
403
|
continue $sm;
|
|
404
404
|
case 1:
|
|
405
|
-
if (!this.
|
|
405
|
+
if (!this.ar_1.s()) {
|
|
406
406
|
this.b8_1 = 4;
|
|
407
407
|
continue $sm;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
var current = this.
|
|
411
|
-
if (this.
|
|
410
|
+
var current = this.ar_1.t();
|
|
411
|
+
if (this.ar_1.s()) {
|
|
412
412
|
this.b8_1 = 2;
|
|
413
|
-
suspendResult = this.
|
|
413
|
+
suspendResult = this.zq_1.nd(current, this);
|
|
414
414
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
415
415
|
return suspendResult;
|
|
416
416
|
}
|
|
@@ -442,34 +442,34 @@
|
|
|
442
442
|
}
|
|
443
443
|
while (true);
|
|
444
444
|
};
|
|
445
|
-
protoOf(dropLast$slambda).
|
|
446
|
-
var i = new dropLast$slambda(this.
|
|
447
|
-
i.
|
|
445
|
+
protoOf(dropLast$slambda).cr = function ($this$sequence, completion) {
|
|
446
|
+
var i = new dropLast$slambda(this.yq_1, completion);
|
|
447
|
+
i.zq_1 = $this$sequence;
|
|
448
448
|
return i;
|
|
449
449
|
};
|
|
450
450
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
451
451
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
452
452
|
var l = function ($this$sequence, $completion) {
|
|
453
|
-
return i.
|
|
453
|
+
return i.br($this$sequence, $completion);
|
|
454
454
|
};
|
|
455
455
|
l.$arity = 1;
|
|
456
456
|
return l;
|
|
457
457
|
}
|
|
458
458
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
462
|
-
this.
|
|
459
|
+
this.lr_1 = $this_insertAt;
|
|
460
|
+
this.mr_1 = $index;
|
|
461
|
+
this.nr_1 = $item;
|
|
462
|
+
this.pr_1 = $items;
|
|
463
463
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
464
|
}
|
|
465
|
-
protoOf(insertAt$slambda).
|
|
466
|
-
var tmp = this.
|
|
465
|
+
protoOf(insertAt$slambda).br = function ($this$sequence, $completion) {
|
|
466
|
+
var tmp = this.cr($this$sequence, $completion);
|
|
467
467
|
tmp.d8_1 = Unit_instance;
|
|
468
468
|
tmp.e8_1 = null;
|
|
469
469
|
return tmp.j8();
|
|
470
470
|
};
|
|
471
471
|
protoOf(insertAt$slambda).a9 = function (p1, $completion) {
|
|
472
|
-
return this.
|
|
472
|
+
return this.br(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
473
473
|
};
|
|
474
474
|
protoOf(insertAt$slambda).j8 = function () {
|
|
475
475
|
var suspendResult = this.d8_1;
|
|
@@ -479,21 +479,21 @@
|
|
|
479
479
|
switch (tmp) {
|
|
480
480
|
case 0:
|
|
481
481
|
this.c8_1 = 7;
|
|
482
|
-
this.
|
|
482
|
+
this.sr_1 = asIterable_0(withIndex(this.lr_1)).p();
|
|
483
483
|
this.b8_1 = 1;
|
|
484
484
|
continue $sm;
|
|
485
485
|
case 1:
|
|
486
|
-
if (!this.
|
|
486
|
+
if (!this.sr_1.s()) {
|
|
487
487
|
this.b8_1 = 6;
|
|
488
488
|
continue $sm;
|
|
489
489
|
}
|
|
490
490
|
|
|
491
|
-
var _destruct__k2r9zo = this.
|
|
492
|
-
var i = _destruct__k2r9zo.
|
|
493
|
-
this.
|
|
494
|
-
if (i === this.
|
|
491
|
+
var _destruct__k2r9zo = this.sr_1.t();
|
|
492
|
+
var i = _destruct__k2r9zo.zc();
|
|
493
|
+
this.rr_1 = _destruct__k2r9zo.ad();
|
|
494
|
+
if (i === this.mr_1) {
|
|
495
495
|
this.b8_1 = 2;
|
|
496
|
-
suspendResult = this.
|
|
496
|
+
suspendResult = this.qr_1.nd(this.nr_1, this);
|
|
497
497
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
498
498
|
return suspendResult;
|
|
499
499
|
}
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
|
|
506
506
|
case 2:
|
|
507
507
|
this.b8_1 = 3;
|
|
508
|
-
suspendResult = this.
|
|
508
|
+
suspendResult = this.qr_1.pd(asIterable(this.pr_1), this);
|
|
509
509
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
510
510
|
return suspendResult;
|
|
511
511
|
}
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
continue $sm;
|
|
517
517
|
case 4:
|
|
518
518
|
this.b8_1 = 5;
|
|
519
|
-
suspendResult = this.
|
|
519
|
+
suspendResult = this.qr_1.nd(this.rr_1, this);
|
|
520
520
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
521
521
|
return suspendResult;
|
|
522
522
|
}
|
|
@@ -541,30 +541,30 @@
|
|
|
541
541
|
}
|
|
542
542
|
while (true);
|
|
543
543
|
};
|
|
544
|
-
protoOf(insertAt$slambda).
|
|
545
|
-
var i = new insertAt$slambda(this.
|
|
546
|
-
i.
|
|
544
|
+
protoOf(insertAt$slambda).cr = function ($this$sequence, completion) {
|
|
545
|
+
var i = new insertAt$slambda(this.lr_1, this.mr_1, this.nr_1, this.pr_1, completion);
|
|
546
|
+
i.qr_1 = $this$sequence;
|
|
547
547
|
return i;
|
|
548
548
|
};
|
|
549
549
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
550
550
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
551
551
|
var l = function ($this$sequence, $completion) {
|
|
552
|
-
return i.
|
|
552
|
+
return i.br($this$sequence, $completion);
|
|
553
553
|
};
|
|
554
554
|
l.$arity = 1;
|
|
555
555
|
return l;
|
|
556
556
|
}
|
|
557
557
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
558
|
-
this.
|
|
558
|
+
this.tr_1 = function_0;
|
|
559
559
|
}
|
|
560
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
561
|
-
return this.
|
|
560
|
+
protoOf(sam$kotlin_Comparator$0_0).zb = function (a, b) {
|
|
561
|
+
return this.tr_1(a, b);
|
|
562
562
|
};
|
|
563
563
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
564
|
-
return this.
|
|
564
|
+
return this.zb(a, b);
|
|
565
565
|
};
|
|
566
566
|
protoOf(sam$kotlin_Comparator$0_0).p2 = function () {
|
|
567
|
-
return this.
|
|
567
|
+
return this.tr_1;
|
|
568
568
|
};
|
|
569
569
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
570
570
|
var tmp;
|
|
@@ -588,10 +588,10 @@
|
|
|
588
588
|
return cursor_0(it);
|
|
589
589
|
}
|
|
590
590
|
function merge$slambda$lambda_0(it) {
|
|
591
|
-
return it.
|
|
591
|
+
return it.kq();
|
|
592
592
|
}
|
|
593
593
|
function merge$slambda$lambda_1(it) {
|
|
594
|
-
return ensureNotNull(it.
|
|
594
|
+
return ensureNotNull(it.iq());
|
|
595
595
|
}
|
|
596
596
|
function merge$slambda$lambda_2($comparator) {
|
|
597
597
|
return function (a, b) {
|
|
@@ -599,18 +599,18 @@
|
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
601
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
602
|
+
this.cs_1 = $iterables;
|
|
603
|
+
this.ds_1 = $comparator;
|
|
604
604
|
CoroutineImpl.call(this, resultContinuation);
|
|
605
605
|
}
|
|
606
|
-
protoOf(merge$slambda).
|
|
607
|
-
var tmp = this.
|
|
606
|
+
protoOf(merge$slambda).br = function ($this$sequence, $completion) {
|
|
607
|
+
var tmp = this.cr($this$sequence, $completion);
|
|
608
608
|
tmp.d8_1 = Unit_instance;
|
|
609
609
|
tmp.e8_1 = null;
|
|
610
610
|
return tmp.j8();
|
|
611
611
|
};
|
|
612
612
|
protoOf(merge$slambda).a9 = function (p1, $completion) {
|
|
613
|
-
return this.
|
|
613
|
+
return this.br(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
614
614
|
};
|
|
615
615
|
protoOf(merge$slambda).j8 = function () {
|
|
616
616
|
var suspendResult = this.d8_1;
|
|
@@ -621,37 +621,37 @@
|
|
|
621
621
|
case 0:
|
|
622
622
|
this.c8_1 = 3;
|
|
623
623
|
var tmp_0 = this;
|
|
624
|
-
var tmp_1 = asSequence(this.
|
|
624
|
+
var tmp_1 = asSequence(this.cs_1);
|
|
625
625
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
626
|
-
tmp_0.
|
|
626
|
+
tmp_0.gs_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
627
627
|
this.b8_1 = 1;
|
|
628
628
|
continue $sm;
|
|
629
629
|
case 1:
|
|
630
|
-
if (!!this.
|
|
630
|
+
if (!!this.gs_1.j()) {
|
|
631
631
|
this.b8_1 = 4;
|
|
632
632
|
continue $sm;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
|
-
var tmp_3 = asSequence(this.
|
|
635
|
+
var tmp_3 = asSequence(this.gs_1);
|
|
636
636
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
637
|
-
var tmp_5 = merge$slambda$lambda_2(this.
|
|
637
|
+
var tmp_5 = merge$slambda$lambda_2(this.ds_1);
|
|
638
638
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
639
|
-
this.
|
|
640
|
-
var minValue = _destruct__k2r9zo.
|
|
639
|
+
this.fs_1 = _destruct__k2r9zo.zc();
|
|
640
|
+
var minValue = _destruct__k2r9zo.ad();
|
|
641
641
|
this.b8_1 = 2;
|
|
642
|
-
suspendResult = this.
|
|
642
|
+
suspendResult = this.es_1.nd(minValue, this);
|
|
643
643
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
644
644
|
return suspendResult;
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
continue $sm;
|
|
648
648
|
case 2:
|
|
649
|
-
var it = this.
|
|
649
|
+
var it = this.gs_1.w(this.fs_1).hq();
|
|
650
650
|
var tmp_6;
|
|
651
|
-
if (it.
|
|
652
|
-
tmp_6 = this.
|
|
651
|
+
if (it.kq()) {
|
|
652
|
+
tmp_6 = this.gs_1.i3(this.fs_1);
|
|
653
653
|
} else {
|
|
654
|
-
this.
|
|
654
|
+
this.gs_1.z2(this.fs_1, it);
|
|
655
655
|
tmp_6 = Unit_instance;
|
|
656
656
|
}
|
|
657
657
|
|
|
@@ -673,27 +673,27 @@
|
|
|
673
673
|
}
|
|
674
674
|
while (true);
|
|
675
675
|
};
|
|
676
|
-
protoOf(merge$slambda).
|
|
677
|
-
var i = new merge$slambda(this.
|
|
678
|
-
i.
|
|
676
|
+
protoOf(merge$slambda).cr = function ($this$sequence, completion) {
|
|
677
|
+
var i = new merge$slambda(this.cs_1, this.ds_1, completion);
|
|
678
|
+
i.es_1 = $this$sequence;
|
|
679
679
|
return i;
|
|
680
680
|
};
|
|
681
681
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
682
682
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
683
683
|
var l = function ($this$sequence, $completion) {
|
|
684
|
-
return i.
|
|
684
|
+
return i.br($this$sequence, $completion);
|
|
685
685
|
};
|
|
686
686
|
l.$arity = 1;
|
|
687
687
|
return l;
|
|
688
688
|
}
|
|
689
689
|
function indexed$lambda(it, i) {
|
|
690
|
-
return Companion_instance_2.
|
|
690
|
+
return Companion_instance_2.nq(i, it);
|
|
691
691
|
}
|
|
692
692
|
function assertItemsAreNotNull$lambda(it) {
|
|
693
693
|
var value = it.e2();
|
|
694
694
|
var tmp;
|
|
695
695
|
if (value == null) {
|
|
696
|
-
throw IllegalArgumentException_init_$Create$('Item at index ' + it.
|
|
696
|
+
throw IllegalArgumentException_init_$Create$('Item at index ' + it.mq() + ' is null');
|
|
697
697
|
} else {
|
|
698
698
|
tmp = value;
|
|
699
699
|
}
|
|
@@ -701,7 +701,7 @@
|
|
|
701
701
|
}
|
|
702
702
|
function Companion_3() {
|
|
703
703
|
}
|
|
704
|
-
protoOf(Companion_3).
|
|
704
|
+
protoOf(Companion_3).hs = function (index, value) {
|
|
705
705
|
return new LongIndexedImpl(index, value);
|
|
706
706
|
};
|
|
707
707
|
var Companion_instance_3;
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
Companion_instance_4 = this;
|
|
715
715
|
var tmp = this;
|
|
716
716
|
// Inline function 'kotlin.text.toRegex' call
|
|
717
|
-
tmp.
|
|
717
|
+
tmp.js_1 = Regex_init_$Create$('[0-9]+');
|
|
718
718
|
}
|
|
719
719
|
var Companion_instance_4;
|
|
720
720
|
function Companion_getInstance_6() {
|
|
@@ -723,7 +723,7 @@
|
|
|
723
723
|
return Companion_instance_4;
|
|
724
724
|
}
|
|
725
725
|
function _get_stringRepresentation__xuqjt9($this, _this__u8e3s4) {
|
|
726
|
-
return $this.
|
|
726
|
+
return $this.ks_1.wp(_this__u8e3s4, NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg(_this__u8e3s4));
|
|
727
727
|
}
|
|
728
728
|
function NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($this_stringRepresentation) {
|
|
729
729
|
return function () {
|
|
@@ -732,41 +732,41 @@
|
|
|
732
732
|
}
|
|
733
733
|
function NumberTypeTester() {
|
|
734
734
|
Companion_getInstance_6();
|
|
735
|
-
this.
|
|
735
|
+
this.ks_1 = Companion_instance.up(8);
|
|
736
736
|
}
|
|
737
|
-
protoOf(NumberTypeTester).
|
|
738
|
-
return Companion_getInstance_6().
|
|
737
|
+
protoOf(NumberTypeTester).ls = function (_this__u8e3s4) {
|
|
738
|
+
return Companion_getInstance_6().js_1.ua(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
739
739
|
};
|
|
740
|
-
protoOf(NumberTypeTester).
|
|
740
|
+
protoOf(NumberTypeTester).ms = function (_this__u8e3s4) {
|
|
741
741
|
return Companion_getInstance().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
742
742
|
};
|
|
743
|
-
protoOf(NumberTypeTester).
|
|
743
|
+
protoOf(NumberTypeTester).ns = function (_this__u8e3s4) {
|
|
744
744
|
return Companion_getInstance_0().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
745
745
|
};
|
|
746
|
-
protoOf(NumberTypeTester).
|
|
747
|
-
return this.
|
|
746
|
+
protoOf(NumberTypeTester).os = function (number) {
|
|
747
|
+
return this.ls(number);
|
|
748
748
|
};
|
|
749
|
-
protoOf(NumberTypeTester).
|
|
750
|
-
return this.
|
|
749
|
+
protoOf(NumberTypeTester).ps = function (number) {
|
|
750
|
+
return this.ms(number);
|
|
751
751
|
};
|
|
752
|
-
protoOf(NumberTypeTester).
|
|
753
|
-
return this.
|
|
752
|
+
protoOf(NumberTypeTester).qs = function (number) {
|
|
753
|
+
return this.ns(number);
|
|
754
754
|
};
|
|
755
755
|
function Companion_5() {
|
|
756
756
|
}
|
|
757
|
-
protoOf(Companion_5).
|
|
757
|
+
protoOf(Companion_5).rs = function (value) {
|
|
758
758
|
return new Some(value);
|
|
759
759
|
};
|
|
760
|
-
protoOf(Companion_5).
|
|
760
|
+
protoOf(Companion_5).dq = function (value) {
|
|
761
761
|
var tmp;
|
|
762
762
|
if (value == null) {
|
|
763
|
-
tmp = this.
|
|
763
|
+
tmp = this.cq();
|
|
764
764
|
} else {
|
|
765
|
-
tmp = this.
|
|
765
|
+
tmp = this.rs(value);
|
|
766
766
|
}
|
|
767
767
|
return tmp;
|
|
768
768
|
};
|
|
769
|
-
protoOf(Companion_5).
|
|
769
|
+
protoOf(Companion_5).cq = function () {
|
|
770
770
|
return None_getInstance();
|
|
771
771
|
};
|
|
772
772
|
var Companion_instance_5;
|
|
@@ -775,26 +775,26 @@
|
|
|
775
775
|
}
|
|
776
776
|
function Some(value) {
|
|
777
777
|
Optional.call(this);
|
|
778
|
-
this.
|
|
778
|
+
this.xp_1 = value;
|
|
779
779
|
}
|
|
780
780
|
protoOf(Some).e2 = function () {
|
|
781
|
-
return this.
|
|
781
|
+
return this.xp_1;
|
|
782
782
|
};
|
|
783
|
-
protoOf(Some).
|
|
783
|
+
protoOf(Some).ss = function () {
|
|
784
784
|
return true;
|
|
785
785
|
};
|
|
786
786
|
protoOf(Some).toString = function () {
|
|
787
|
-
return 'Some(' + toString_0(this.
|
|
787
|
+
return 'Some(' + toString_0(this.xp_1) + ')';
|
|
788
788
|
};
|
|
789
789
|
protoOf(Some).hashCode = function () {
|
|
790
|
-
return this.
|
|
790
|
+
return this.xp_1 == null ? 0 : hashCode(this.xp_1);
|
|
791
791
|
};
|
|
792
792
|
protoOf(Some).equals = function (other) {
|
|
793
793
|
if (this === other)
|
|
794
794
|
return true;
|
|
795
795
|
if (!(other instanceof Some))
|
|
796
796
|
return false;
|
|
797
|
-
if (!equals(this.
|
|
797
|
+
if (!equals(this.xp_1, other.xp_1))
|
|
798
798
|
return false;
|
|
799
799
|
return true;
|
|
800
800
|
};
|
|
@@ -805,7 +805,7 @@
|
|
|
805
805
|
protoOf(None).e2 = function () {
|
|
806
806
|
return null;
|
|
807
807
|
};
|
|
808
|
-
protoOf(None).
|
|
808
|
+
protoOf(None).ss = function () {
|
|
809
809
|
return false;
|
|
810
810
|
};
|
|
811
811
|
protoOf(None).toString = function () {
|
|
@@ -819,8 +819,8 @@
|
|
|
819
819
|
}
|
|
820
820
|
function Optional() {
|
|
821
821
|
}
|
|
822
|
-
protoOf(Optional).
|
|
823
|
-
return !this.
|
|
822
|
+
protoOf(Optional).ts = function () {
|
|
823
|
+
return !this.ss();
|
|
824
824
|
};
|
|
825
825
|
function Taggable() {
|
|
826
826
|
}
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
}
|
|
834
834
|
function Companion_6() {
|
|
835
835
|
}
|
|
836
|
-
protoOf(Companion_6).
|
|
836
|
+
protoOf(Companion_6).lq = function (source) {
|
|
837
837
|
var tmp;
|
|
838
838
|
if (source.s()) {
|
|
839
839
|
tmp = new LazyCursor(source);
|
|
@@ -847,20 +847,20 @@
|
|
|
847
847
|
return Companion_instance_6;
|
|
848
848
|
}
|
|
849
849
|
function AbstractCursor$iterator$1(this$0) {
|
|
850
|
-
this.
|
|
850
|
+
this.vs_1 = this$0;
|
|
851
851
|
}
|
|
852
852
|
protoOf(AbstractCursor$iterator$1).s = function () {
|
|
853
|
-
return !this.
|
|
853
|
+
return !this.vs_1.kq();
|
|
854
854
|
};
|
|
855
855
|
protoOf(AbstractCursor$iterator$1).t = function () {
|
|
856
|
-
var result = this.
|
|
857
|
-
this.
|
|
856
|
+
var result = this.vs_1.iq();
|
|
857
|
+
this.vs_1 = this.vs_1.hq();
|
|
858
858
|
return ensureNotNull(result);
|
|
859
859
|
};
|
|
860
860
|
function AbstractCursor() {
|
|
861
861
|
}
|
|
862
862
|
protoOf(AbstractCursor).toString = function () {
|
|
863
|
-
return this.
|
|
863
|
+
return this.kq() ? '[]' : !this.jq() ? '[' + toString_0(this.iq()) + ']' : '[' + toString_0(this.iq()) + ', ...]';
|
|
864
864
|
};
|
|
865
865
|
protoOf(AbstractCursor).p = function () {
|
|
866
866
|
return new AbstractCursor$iterator$1(this);
|
|
@@ -868,84 +868,84 @@
|
|
|
868
868
|
protoOf(AbstractCursor).iterator = function () {
|
|
869
869
|
return this.p();
|
|
870
870
|
};
|
|
871
|
-
protoOf(AbstractCursor).
|
|
871
|
+
protoOf(AbstractCursor).ws = function () {
|
|
872
872
|
return false;
|
|
873
873
|
};
|
|
874
|
-
protoOf(AbstractCursor).
|
|
874
|
+
protoOf(AbstractCursor).xs = function (mapper) {
|
|
875
875
|
return new MapperCursor(this, mapper);
|
|
876
876
|
};
|
|
877
877
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
878
|
-
return this.
|
|
878
|
+
return this.xs(mapper);
|
|
879
879
|
};
|
|
880
880
|
function CachedImpl(generator) {
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
881
|
+
this.ys_1 = generator;
|
|
882
|
+
this.zs_1 = Companion_instance_5.cq();
|
|
883
883
|
}
|
|
884
|
-
protoOf(CachedImpl).
|
|
885
|
-
return this.
|
|
884
|
+
protoOf(CachedImpl).zp = function () {
|
|
885
|
+
return this.zs_1.ss();
|
|
886
886
|
};
|
|
887
|
-
protoOf(CachedImpl).
|
|
888
|
-
return this.
|
|
887
|
+
protoOf(CachedImpl).at = function () {
|
|
888
|
+
return this.zs_1.ts();
|
|
889
889
|
};
|
|
890
890
|
protoOf(CachedImpl).e2 = function () {
|
|
891
|
-
this.
|
|
892
|
-
return ensureNotNull(this.
|
|
891
|
+
this.bt();
|
|
892
|
+
return ensureNotNull(this.zs_1.e2());
|
|
893
893
|
};
|
|
894
|
-
protoOf(CachedImpl).
|
|
895
|
-
if (this.
|
|
896
|
-
this.
|
|
894
|
+
protoOf(CachedImpl).bt = function () {
|
|
895
|
+
if (this.at()) {
|
|
896
|
+
this.zs_1 = Companion_instance_5.rs(this.ys_1());
|
|
897
897
|
}
|
|
898
898
|
};
|
|
899
|
-
protoOf(CachedImpl).
|
|
900
|
-
this.
|
|
899
|
+
protoOf(CachedImpl).aq = function () {
|
|
900
|
+
this.zs_1 = Companion_instance_5.cq();
|
|
901
901
|
};
|
|
902
902
|
protoOf(CachedImpl).toString = function () {
|
|
903
|
-
return 'CachedImpl(generator=' + toString(this.
|
|
903
|
+
return 'CachedImpl(generator=' + toString(this.ys_1) + ')';
|
|
904
904
|
};
|
|
905
905
|
protoOf(CachedImpl).hashCode = function () {
|
|
906
|
-
return hashCode(this.
|
|
906
|
+
return hashCode(this.ys_1);
|
|
907
907
|
};
|
|
908
908
|
protoOf(CachedImpl).equals = function (other) {
|
|
909
909
|
if (this === other)
|
|
910
910
|
return true;
|
|
911
911
|
if (!(other instanceof CachedImpl))
|
|
912
912
|
return false;
|
|
913
|
-
if (!equals(this.
|
|
913
|
+
if (!equals(this.ys_1, other.ys_1))
|
|
914
914
|
return false;
|
|
915
915
|
return true;
|
|
916
916
|
};
|
|
917
917
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
918
918
|
return function () {
|
|
919
|
-
return this$0.
|
|
919
|
+
return this$0.ct_1.jq() ? new ConjunctionCursor(this$0.ct_1.hq(), this$0.dt_1) : this$0.dt_1.ws() ? this$0.dt_1.hq() : this$0.dt_1;
|
|
920
920
|
};
|
|
921
921
|
}
|
|
922
922
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
923
923
|
return function (p0) {
|
|
924
|
-
return p0.
|
|
924
|
+
return p0.hq();
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
927
|
function ConjunctionCursor(first, second) {
|
|
928
928
|
AbstractCursor.call(this);
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
929
|
+
this.ct_1 = first;
|
|
930
|
+
this.dt_1 = second;
|
|
931
931
|
var tmp = this;
|
|
932
|
-
tmp.
|
|
932
|
+
tmp.et_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
933
933
|
}
|
|
934
|
-
protoOf(ConjunctionCursor).
|
|
935
|
-
return this.
|
|
934
|
+
protoOf(ConjunctionCursor).kq = function () {
|
|
935
|
+
return this.ct_1.kq() && this.dt_1.kq();
|
|
936
936
|
};
|
|
937
|
-
protoOf(ConjunctionCursor).
|
|
938
|
-
var tmp0 = this.
|
|
937
|
+
protoOf(ConjunctionCursor).hq = function () {
|
|
938
|
+
var tmp0 = this.et_1;
|
|
939
939
|
var tmp = KProperty1;
|
|
940
940
|
// Inline function 'kotlin.getValue' call
|
|
941
941
|
getPropertyCallableRef('next', 1, tmp, ConjunctionCursor$_get_next_$ref_xfvrtr(), null);
|
|
942
942
|
return tmp0.e2();
|
|
943
943
|
};
|
|
944
|
-
protoOf(ConjunctionCursor).
|
|
945
|
-
return this.
|
|
944
|
+
protoOf(ConjunctionCursor).iq = function () {
|
|
945
|
+
return this.ct_1.jq() ? this.ct_1.iq() : this.dt_1.iq();
|
|
946
946
|
};
|
|
947
|
-
protoOf(ConjunctionCursor).
|
|
948
|
-
return this.
|
|
947
|
+
protoOf(ConjunctionCursor).jq = function () {
|
|
948
|
+
return this.ct_1.jq() || this.dt_1.jq();
|
|
949
949
|
};
|
|
950
950
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
951
951
|
if (this === other)
|
|
@@ -954,44 +954,44 @@
|
|
|
954
954
|
return false;
|
|
955
955
|
if (!(other instanceof ConjunctionCursor))
|
|
956
956
|
THROW_CCE();
|
|
957
|
-
if (!equals(this.
|
|
957
|
+
if (!equals(this.ct_1, other.ct_1))
|
|
958
958
|
return false;
|
|
959
|
-
if (!equals(this.
|
|
959
|
+
if (!equals(this.dt_1, other.dt_1))
|
|
960
960
|
return false;
|
|
961
961
|
return true;
|
|
962
962
|
};
|
|
963
963
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
964
|
-
var result = hashCode(this.
|
|
965
|
-
result = imul(31, result) + hashCode(this.
|
|
964
|
+
var result = hashCode(this.ct_1);
|
|
965
|
+
result = imul(31, result) + hashCode(this.dt_1) | 0;
|
|
966
966
|
return result;
|
|
967
967
|
};
|
|
968
968
|
function EmptyCursor() {
|
|
969
969
|
EmptyCursor_instance = this;
|
|
970
970
|
AbstractCursor.call(this);
|
|
971
971
|
}
|
|
972
|
-
protoOf(EmptyCursor).
|
|
972
|
+
protoOf(EmptyCursor).hq = function () {
|
|
973
973
|
throw NoSuchElementException_init_$Create$();
|
|
974
974
|
};
|
|
975
|
-
protoOf(EmptyCursor).
|
|
975
|
+
protoOf(EmptyCursor).iq = function () {
|
|
976
976
|
return null;
|
|
977
977
|
};
|
|
978
|
-
protoOf(EmptyCursor).
|
|
978
|
+
protoOf(EmptyCursor).jq = function () {
|
|
979
979
|
return false;
|
|
980
980
|
};
|
|
981
|
-
protoOf(EmptyCursor).
|
|
981
|
+
protoOf(EmptyCursor).kq = function () {
|
|
982
982
|
return true;
|
|
983
983
|
};
|
|
984
984
|
protoOf(EmptyCursor).toString = function () {
|
|
985
985
|
return protoOf(AbstractCursor).toString.call(this);
|
|
986
986
|
};
|
|
987
|
-
protoOf(EmptyCursor).
|
|
987
|
+
protoOf(EmptyCursor).ft = function (mapper) {
|
|
988
988
|
return this;
|
|
989
989
|
};
|
|
990
990
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
991
|
-
return this.
|
|
991
|
+
return this.ft(mapper);
|
|
992
992
|
};
|
|
993
|
-
protoOf(EmptyCursor).
|
|
994
|
-
return this.
|
|
993
|
+
protoOf(EmptyCursor).xs = function (mapper) {
|
|
994
|
+
return this.ft(mapper);
|
|
995
995
|
};
|
|
996
996
|
var EmptyCursor_instance;
|
|
997
997
|
function EmptyCursor_getInstance() {
|
|
@@ -1000,27 +1000,27 @@
|
|
|
1000
1000
|
return EmptyCursor_instance;
|
|
1001
1001
|
}
|
|
1002
1002
|
function IntIndexedImpl(index, value) {
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1003
|
+
this.gt_1 = index;
|
|
1004
|
+
this.ht_1 = value;
|
|
1005
1005
|
}
|
|
1006
|
-
protoOf(IntIndexedImpl).
|
|
1007
|
-
return this.
|
|
1006
|
+
protoOf(IntIndexedImpl).mq = function () {
|
|
1007
|
+
return this.gt_1;
|
|
1008
1008
|
};
|
|
1009
1009
|
protoOf(IntIndexedImpl).e2 = function () {
|
|
1010
|
-
return this.
|
|
1010
|
+
return this.ht_1;
|
|
1011
1011
|
};
|
|
1012
|
-
protoOf(IntIndexedImpl).
|
|
1013
|
-
return this.
|
|
1012
|
+
protoOf(IntIndexedImpl).zc = function () {
|
|
1013
|
+
return this.gt_1;
|
|
1014
1014
|
};
|
|
1015
|
-
protoOf(IntIndexedImpl).
|
|
1016
|
-
return this.
|
|
1015
|
+
protoOf(IntIndexedImpl).ad = function () {
|
|
1016
|
+
return this.ht_1;
|
|
1017
1017
|
};
|
|
1018
1018
|
protoOf(IntIndexedImpl).toString = function () {
|
|
1019
|
-
return 'IntIndexedImpl(index=' + this.
|
|
1019
|
+
return 'IntIndexedImpl(index=' + this.gt_1 + ', value=' + toString_0(this.ht_1) + ')';
|
|
1020
1020
|
};
|
|
1021
1021
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
1022
|
-
var result = this.
|
|
1023
|
-
result = imul(result, 31) + (this.
|
|
1022
|
+
var result = this.gt_1;
|
|
1023
|
+
result = imul(result, 31) + (this.ht_1 == null ? 0 : hashCode(this.ht_1)) | 0;
|
|
1024
1024
|
return result;
|
|
1025
1025
|
};
|
|
1026
1026
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -1028,17 +1028,17 @@
|
|
|
1028
1028
|
return true;
|
|
1029
1029
|
if (!(other instanceof IntIndexedImpl))
|
|
1030
1030
|
return false;
|
|
1031
|
-
if (!(this.
|
|
1031
|
+
if (!(this.gt_1 === other.gt_1))
|
|
1032
1032
|
return false;
|
|
1033
|
-
if (!equals(this.
|
|
1033
|
+
if (!equals(this.ht_1, other.ht_1))
|
|
1034
1034
|
return false;
|
|
1035
1035
|
return true;
|
|
1036
1036
|
};
|
|
1037
1037
|
protoOf(IntIndexedImpl).d = function (other) {
|
|
1038
|
-
return this.
|
|
1038
|
+
return this.oq((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
1039
1039
|
};
|
|
1040
1040
|
function _get_wrapped__s2ip8($this) {
|
|
1041
|
-
var tmp0 = $this.
|
|
1041
|
+
var tmp0 = $this.jt_1;
|
|
1042
1042
|
var tmp = KProperty1;
|
|
1043
1043
|
// Inline function 'kotlin.getValue' call
|
|
1044
1044
|
getPropertyCallableRef('wrapped', 1, tmp, LazyCursor$_get_wrapped_$ref_p28zr5(), null);
|
|
@@ -1046,7 +1046,7 @@
|
|
|
1046
1046
|
}
|
|
1047
1047
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
1048
1048
|
return function () {
|
|
1049
|
-
return new NonLastCursor(this$0.
|
|
1049
|
+
return new NonLastCursor(this$0.it_1);
|
|
1050
1050
|
};
|
|
1051
1051
|
}
|
|
1052
1052
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
@@ -1056,23 +1056,23 @@
|
|
|
1056
1056
|
}
|
|
1057
1057
|
function LazyCursor(delegate) {
|
|
1058
1058
|
AbstractCursor.call(this);
|
|
1059
|
-
this.
|
|
1059
|
+
this.it_1 = delegate;
|
|
1060
1060
|
var tmp = this;
|
|
1061
|
-
tmp.
|
|
1061
|
+
tmp.jt_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
1062
1062
|
}
|
|
1063
|
-
protoOf(LazyCursor).
|
|
1063
|
+
protoOf(LazyCursor).ws = function () {
|
|
1064
1064
|
return true;
|
|
1065
1065
|
};
|
|
1066
|
-
protoOf(LazyCursor).
|
|
1067
|
-
return _get_wrapped__s2ip8(this).
|
|
1066
|
+
protoOf(LazyCursor).hq = function () {
|
|
1067
|
+
return _get_wrapped__s2ip8(this).hq();
|
|
1068
1068
|
};
|
|
1069
|
-
protoOf(LazyCursor).
|
|
1070
|
-
return _get_wrapped__s2ip8(this).
|
|
1069
|
+
protoOf(LazyCursor).iq = function () {
|
|
1070
|
+
return _get_wrapped__s2ip8(this).iq();
|
|
1071
1071
|
};
|
|
1072
|
-
protoOf(LazyCursor).
|
|
1072
|
+
protoOf(LazyCursor).jq = function () {
|
|
1073
1073
|
return true;
|
|
1074
1074
|
};
|
|
1075
|
-
protoOf(LazyCursor).
|
|
1075
|
+
protoOf(LazyCursor).kq = function () {
|
|
1076
1076
|
return false;
|
|
1077
1077
|
};
|
|
1078
1078
|
protoOf(LazyCursor).toString = function () {
|
|
@@ -1085,45 +1085,45 @@
|
|
|
1085
1085
|
return this.p();
|
|
1086
1086
|
};
|
|
1087
1087
|
protoOf(LazyCursor).hashCode = function () {
|
|
1088
|
-
return hashCode(this.
|
|
1088
|
+
return hashCode(this.it_1);
|
|
1089
1089
|
};
|
|
1090
1090
|
protoOf(LazyCursor).equals = function (other) {
|
|
1091
1091
|
if (this === other)
|
|
1092
1092
|
return true;
|
|
1093
1093
|
if (!(other instanceof LazyCursor))
|
|
1094
1094
|
return false;
|
|
1095
|
-
if (!equals(this.
|
|
1095
|
+
if (!equals(this.it_1, other.it_1))
|
|
1096
1096
|
return false;
|
|
1097
1097
|
return true;
|
|
1098
1098
|
};
|
|
1099
1099
|
function LongIndexedImpl(index, value) {
|
|
1100
|
-
this.
|
|
1101
|
-
this.
|
|
1100
|
+
this.kt_1 = index;
|
|
1101
|
+
this.lt_1 = value;
|
|
1102
1102
|
}
|
|
1103
|
-
protoOf(LongIndexedImpl).
|
|
1104
|
-
return this.
|
|
1103
|
+
protoOf(LongIndexedImpl).mq = function () {
|
|
1104
|
+
return this.kt_1;
|
|
1105
1105
|
};
|
|
1106
1106
|
protoOf(LongIndexedImpl).e2 = function () {
|
|
1107
|
-
return this.
|
|
1107
|
+
return this.lt_1;
|
|
1108
1108
|
};
|
|
1109
|
-
protoOf(LongIndexedImpl).
|
|
1110
|
-
return convertToInt(subtract(this.
|
|
1109
|
+
protoOf(LongIndexedImpl).is = function (other) {
|
|
1110
|
+
return convertToInt(subtract(this.kt_1, other.mq()));
|
|
1111
1111
|
};
|
|
1112
1112
|
protoOf(LongIndexedImpl).d = function (other) {
|
|
1113
|
-
return this.
|
|
1113
|
+
return this.is((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1114
1114
|
};
|
|
1115
|
-
protoOf(LongIndexedImpl).
|
|
1116
|
-
return this.
|
|
1115
|
+
protoOf(LongIndexedImpl).zc = function () {
|
|
1116
|
+
return this.kt_1;
|
|
1117
1117
|
};
|
|
1118
|
-
protoOf(LongIndexedImpl).
|
|
1119
|
-
return this.
|
|
1118
|
+
protoOf(LongIndexedImpl).ad = function () {
|
|
1119
|
+
return this.lt_1;
|
|
1120
1120
|
};
|
|
1121
1121
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1122
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1122
|
+
return 'LongIndexedImpl(index=' + this.kt_1.toString() + ', value=' + toString_0(this.lt_1) + ')';
|
|
1123
1123
|
};
|
|
1124
1124
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1125
|
-
var result = getBigIntHashCode(this.
|
|
1126
|
-
result = imul(result, 31) + (this.
|
|
1125
|
+
var result = getBigIntHashCode(this.kt_1);
|
|
1126
|
+
result = imul(result, 31) + (this.lt_1 == null ? 0 : hashCode(this.lt_1)) | 0;
|
|
1127
1127
|
return result;
|
|
1128
1128
|
};
|
|
1129
1129
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1131,43 +1131,43 @@
|
|
|
1131
1131
|
return true;
|
|
1132
1132
|
if (!(other instanceof LongIndexedImpl))
|
|
1133
1133
|
return false;
|
|
1134
|
-
if (!(this.
|
|
1134
|
+
if (!(this.kt_1 === other.kt_1))
|
|
1135
1135
|
return false;
|
|
1136
|
-
if (!equals(this.
|
|
1136
|
+
if (!equals(this.lt_1, other.lt_1))
|
|
1137
1137
|
return false;
|
|
1138
1138
|
return true;
|
|
1139
1139
|
};
|
|
1140
1140
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1141
1141
|
return function () {
|
|
1142
|
-
return this$0.
|
|
1142
|
+
return this$0.nt_1(ensureNotNull(this$0.mt_1.iq()));
|
|
1143
1143
|
};
|
|
1144
1144
|
}
|
|
1145
1145
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1146
1146
|
return function (p0) {
|
|
1147
|
-
return p0.
|
|
1147
|
+
return p0.iq();
|
|
1148
1148
|
};
|
|
1149
1149
|
}
|
|
1150
1150
|
function MapperCursor(wrapped, mapper) {
|
|
1151
1151
|
AbstractCursor.call(this);
|
|
1152
|
-
this.
|
|
1153
|
-
this.
|
|
1152
|
+
this.mt_1 = wrapped;
|
|
1153
|
+
this.nt_1 = mapper;
|
|
1154
1154
|
var tmp = this;
|
|
1155
|
-
tmp.
|
|
1155
|
+
tmp.ot_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1156
1156
|
}
|
|
1157
|
-
protoOf(MapperCursor).
|
|
1158
|
-
return this.
|
|
1157
|
+
protoOf(MapperCursor).hq = function () {
|
|
1158
|
+
return this.mt_1.hq().xs(this.nt_1);
|
|
1159
1159
|
};
|
|
1160
|
-
protoOf(MapperCursor).
|
|
1161
|
-
var tmp0 = this.
|
|
1160
|
+
protoOf(MapperCursor).iq = function () {
|
|
1161
|
+
var tmp0 = this.ot_1;
|
|
1162
1162
|
var tmp = KProperty1;
|
|
1163
1163
|
// Inline function 'kotlin.getValue' call
|
|
1164
1164
|
getPropertyCallableRef('current', 1, tmp, MapperCursor$_get_current_$ref_lsggiu(), null);
|
|
1165
1165
|
return tmp0.e2();
|
|
1166
1166
|
};
|
|
1167
|
-
protoOf(MapperCursor).
|
|
1167
|
+
protoOf(MapperCursor).jq = function () {
|
|
1168
1168
|
return true;
|
|
1169
1169
|
};
|
|
1170
|
-
protoOf(MapperCursor).
|
|
1170
|
+
protoOf(MapperCursor).kq = function () {
|
|
1171
1171
|
return false;
|
|
1172
1172
|
};
|
|
1173
1173
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1177,60 +1177,60 @@
|
|
|
1177
1177
|
return false;
|
|
1178
1178
|
if (!(other instanceof MapperCursor))
|
|
1179
1179
|
THROW_CCE();
|
|
1180
|
-
if (!equals(this.
|
|
1180
|
+
if (!equals(this.mt_1, other.mt_1))
|
|
1181
1181
|
return false;
|
|
1182
|
-
if (!equals(this.
|
|
1182
|
+
if (!equals(this.nt_1, other.nt_1))
|
|
1183
1183
|
return false;
|
|
1184
1184
|
return true;
|
|
1185
1185
|
};
|
|
1186
1186
|
protoOf(MapperCursor).hashCode = function () {
|
|
1187
|
-
var result = hashCode(this.
|
|
1188
|
-
result = imul(31, result) + hashCode(this.
|
|
1187
|
+
var result = hashCode(this.mt_1);
|
|
1188
|
+
result = imul(31, result) + hashCode(this.nt_1) | 0;
|
|
1189
1189
|
return result;
|
|
1190
1190
|
};
|
|
1191
|
-
protoOf(MapperCursor).
|
|
1192
|
-
return new ValueCursor(mapper(this.
|
|
1191
|
+
protoOf(MapperCursor).pt = function (mapper) {
|
|
1192
|
+
return new ValueCursor(mapper(this.iq()), this.hq().xs(mapper));
|
|
1193
1193
|
};
|
|
1194
1194
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1195
|
-
return this.
|
|
1195
|
+
return this.pt(mapper);
|
|
1196
1196
|
};
|
|
1197
|
-
protoOf(MapperCursor).
|
|
1198
|
-
return this.
|
|
1197
|
+
protoOf(MapperCursor).xs = function (mapper) {
|
|
1198
|
+
return this.pt(mapper);
|
|
1199
1199
|
};
|
|
1200
1200
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1201
1201
|
return function () {
|
|
1202
1202
|
// Inline function 'kotlin.also' call
|
|
1203
|
-
var this_0 = Companion_instance_6.
|
|
1204
|
-
this$0.
|
|
1203
|
+
var this_0 = Companion_instance_6.lq($source);
|
|
1204
|
+
this$0.qt_1 = null;
|
|
1205
1205
|
return this_0;
|
|
1206
1206
|
};
|
|
1207
1207
|
}
|
|
1208
1208
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1209
1209
|
return function (p0) {
|
|
1210
|
-
return p0.
|
|
1210
|
+
return p0.hq();
|
|
1211
1211
|
};
|
|
1212
1212
|
}
|
|
1213
1213
|
function NonLastCursor(source) {
|
|
1214
1214
|
AbstractCursor.call(this);
|
|
1215
|
-
this.
|
|
1215
|
+
this.qt_1 = source;
|
|
1216
1216
|
var tmp = this;
|
|
1217
|
-
tmp.
|
|
1218
|
-
this.
|
|
1217
|
+
tmp.rt_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1218
|
+
this.st_1 = source.t();
|
|
1219
1219
|
}
|
|
1220
|
-
protoOf(NonLastCursor).
|
|
1221
|
-
var tmp0 = this.
|
|
1220
|
+
protoOf(NonLastCursor).hq = function () {
|
|
1221
|
+
var tmp0 = this.rt_1;
|
|
1222
1222
|
var tmp = KProperty1;
|
|
1223
1223
|
// Inline function 'kotlin.getValue' call
|
|
1224
1224
|
getPropertyCallableRef('next', 1, tmp, NonLastCursor$_get_next_$ref_gp6ycu(), null);
|
|
1225
1225
|
return tmp0.e2();
|
|
1226
1226
|
};
|
|
1227
|
-
protoOf(NonLastCursor).
|
|
1228
|
-
return this.
|
|
1227
|
+
protoOf(NonLastCursor).iq = function () {
|
|
1228
|
+
return this.st_1;
|
|
1229
1229
|
};
|
|
1230
|
-
protoOf(NonLastCursor).
|
|
1230
|
+
protoOf(NonLastCursor).jq = function () {
|
|
1231
1231
|
return true;
|
|
1232
1232
|
};
|
|
1233
|
-
protoOf(NonLastCursor).
|
|
1233
|
+
protoOf(NonLastCursor).kq = function () {
|
|
1234
1234
|
return false;
|
|
1235
1235
|
};
|
|
1236
1236
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1238,28 +1238,28 @@
|
|
|
1238
1238
|
};
|
|
1239
1239
|
function removeLeastRecent($this) {
|
|
1240
1240
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1241
|
-
var tmp$ret$0 = $this.
|
|
1241
|
+
var tmp$ret$0 = $this.ut_1.f1();
|
|
1242
1242
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1243
1243
|
// Inline function 'kotlin.collections.component1' call
|
|
1244
1244
|
var key = _destruct__k2r9zo.d2();
|
|
1245
1245
|
// Inline function 'kotlin.collections.component2' call
|
|
1246
1246
|
var value = _destruct__k2r9zo.e2();
|
|
1247
|
-
$this.
|
|
1248
|
-
return Companion_instance_5.
|
|
1247
|
+
$this.ut_1.l4(key);
|
|
1248
|
+
return Companion_instance_5.rs(to(key, value));
|
|
1249
1249
|
}
|
|
1250
1250
|
function removeLeastRecentIfNecessary($this) {
|
|
1251
1251
|
var tmp;
|
|
1252
|
-
if ($this.
|
|
1252
|
+
if ($this.ut_1.v() >= $this.tt_1) {
|
|
1253
1253
|
tmp = removeLeastRecent($this);
|
|
1254
1254
|
} else {
|
|
1255
|
-
tmp = Companion_instance_5.
|
|
1255
|
+
tmp = Companion_instance_5.cq();
|
|
1256
1256
|
}
|
|
1257
1257
|
return tmp;
|
|
1258
1258
|
}
|
|
1259
1259
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1260
1260
|
return function () {
|
|
1261
1261
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1262
|
-
var tmp0 = this$0.
|
|
1262
|
+
var tmp0 = this$0.ut_1;
|
|
1263
1263
|
var tmp2 = $key;
|
|
1264
1264
|
// Inline function 'kotlin.collections.set' call
|
|
1265
1265
|
var value = $value;
|
|
@@ -1270,10 +1270,10 @@
|
|
|
1270
1270
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1271
1271
|
return function () {
|
|
1272
1272
|
var tmp;
|
|
1273
|
-
if (this$0.
|
|
1274
|
-
tmp = Companion_instance_5.
|
|
1273
|
+
if (this$0.ut_1.f2($key)) {
|
|
1274
|
+
tmp = Companion_instance_5.dq(this$0.ut_1.h2($key));
|
|
1275
1275
|
} else {
|
|
1276
|
-
tmp = Companion_instance_5.
|
|
1276
|
+
tmp = Companion_instance_5.cq();
|
|
1277
1277
|
}
|
|
1278
1278
|
return tmp;
|
|
1279
1279
|
};
|
|
@@ -1284,24 +1284,24 @@
|
|
|
1284
1284
|
}
|
|
1285
1285
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1286
1286
|
return function () {
|
|
1287
|
-
var tmp = asSequence(this$0.
|
|
1287
|
+
var tmp = asSequence(this$0.ut_1.f1());
|
|
1288
1288
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1289
1289
|
};
|
|
1290
1290
|
}
|
|
1291
1291
|
function SimpleLRUCache$toString$lambda(it) {
|
|
1292
|
-
return toString_0(it.
|
|
1292
|
+
return toString_0(it.first) + ' = ' + toString_0(it.second);
|
|
1293
1293
|
}
|
|
1294
1294
|
function SimpleLRUCache(capacity) {
|
|
1295
|
-
this.
|
|
1295
|
+
this.tt_1 = capacity;
|
|
1296
1296
|
// Inline function 'kotlin.require' call
|
|
1297
1297
|
// Inline function 'kotlin.require' call
|
|
1298
|
-
if (!(this.
|
|
1298
|
+
if (!(this.tt_1 > 0)) {
|
|
1299
1299
|
var message = 'Failed requirement.';
|
|
1300
1300
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1301
1301
|
}
|
|
1302
|
-
this.
|
|
1302
|
+
this.ut_1 = LinkedHashMap_init_$Create$();
|
|
1303
1303
|
}
|
|
1304
|
-
protoOf(SimpleLRUCache).
|
|
1304
|
+
protoOf(SimpleLRUCache).vp = function (key, value) {
|
|
1305
1305
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1306
1306
|
};
|
|
1307
1307
|
protoOf(SimpleLRUCache).h2 = function (key) {
|
|
@@ -1314,39 +1314,39 @@
|
|
|
1314
1314
|
return false;
|
|
1315
1315
|
if (!(other instanceof SimpleLRUCache))
|
|
1316
1316
|
THROW_CCE();
|
|
1317
|
-
if (!(this.
|
|
1317
|
+
if (!(this.tt_1 === other.tt_1))
|
|
1318
1318
|
return false;
|
|
1319
|
-
if (!this.
|
|
1319
|
+
if (!this.ut_1.equals(other.ut_1))
|
|
1320
1320
|
return false;
|
|
1321
1321
|
return true;
|
|
1322
1322
|
};
|
|
1323
1323
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1324
|
-
var result = this.
|
|
1325
|
-
result = imul(31, result) + this.
|
|
1324
|
+
var result = this.tt_1;
|
|
1325
|
+
result = imul(31, result) + this.ut_1.hashCode() | 0;
|
|
1326
1326
|
return result;
|
|
1327
1327
|
};
|
|
1328
|
-
protoOf(SimpleLRUCache).
|
|
1328
|
+
protoOf(SimpleLRUCache).vt = function () {
|
|
1329
1329
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1330
1330
|
};
|
|
1331
1331
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1332
|
-
var tmp = this.
|
|
1332
|
+
var tmp = this.vt();
|
|
1333
1333
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1334
1334
|
};
|
|
1335
1335
|
function ValueCursor(current, next) {
|
|
1336
1336
|
AbstractCursor.call(this);
|
|
1337
|
-
this.
|
|
1338
|
-
this.
|
|
1337
|
+
this.wt_1 = current;
|
|
1338
|
+
this.xt_1 = next;
|
|
1339
1339
|
}
|
|
1340
|
-
protoOf(ValueCursor).
|
|
1341
|
-
return this.
|
|
1340
|
+
protoOf(ValueCursor).iq = function () {
|
|
1341
|
+
return this.wt_1;
|
|
1342
1342
|
};
|
|
1343
|
-
protoOf(ValueCursor).
|
|
1344
|
-
return this.
|
|
1343
|
+
protoOf(ValueCursor).hq = function () {
|
|
1344
|
+
return this.xt_1;
|
|
1345
1345
|
};
|
|
1346
|
-
protoOf(ValueCursor).
|
|
1346
|
+
protoOf(ValueCursor).jq = function () {
|
|
1347
1347
|
return true;
|
|
1348
1348
|
};
|
|
1349
|
-
protoOf(ValueCursor).
|
|
1349
|
+
protoOf(ValueCursor).kq = function () {
|
|
1350
1350
|
return false;
|
|
1351
1351
|
};
|
|
1352
1352
|
function dequeOf(items) {
|
|
@@ -1390,9 +1390,9 @@
|
|
|
1390
1390
|
//region block: post-declaration
|
|
1391
1391
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1392
1392
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1393
|
-
protoOf(CachedImpl).
|
|
1394
|
-
protoOf(IntIndexedImpl).
|
|
1395
|
-
protoOf(SimpleLRUCache).
|
|
1393
|
+
protoOf(CachedImpl).bq = ifValid;
|
|
1394
|
+
protoOf(IntIndexedImpl).oq = compareTo;
|
|
1395
|
+
protoOf(SimpleLRUCache).wp = getOrSet;
|
|
1396
1396
|
//endregion
|
|
1397
1397
|
//region block: init
|
|
1398
1398
|
Companion_instance = new Companion();
|