@tuprolog/arg2p-core 0.14.2 → 0.16.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 +3200 -2994
- package/2p-core.js.map +1 -1
- package/{2p-parser-js.js → 2p-parser-impl.js} +2 -2
- package/2p-solve-classic.js +1071 -1077
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve.js +3818 -3850
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1807 -1827
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +645 -364
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +447 -452
- package/2p-utils.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2348 -2312
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1593 -1593
- package/kt-math.js.map +1 -1
- package/package.json +2 -5
- /package/{2p-parser-js.js.map → 2p-parser-impl.js.map} +0 -0
package/2p-utils.js
CHANGED
|
@@ -13,72 +13,74 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
18
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
19
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
20
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
21
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
22
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
23
|
-
var Sequence = kotlin_kotlin.$_$.
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.g6;
|
|
17
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.u5;
|
|
18
|
+
var Unit_instance = kotlin_kotlin.$_$.m;
|
|
19
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.v5;
|
|
20
|
+
var THROW_CCE = kotlin_kotlin.$_$.z9;
|
|
21
|
+
var isInterface = kotlin_kotlin.$_$.a6;
|
|
22
|
+
var initMetadataForClass = kotlin_kotlin.$_$.t5;
|
|
23
|
+
var Sequence = kotlin_kotlin.$_$.z6;
|
|
24
24
|
var VOID = kotlin_kotlin.$_$.b;
|
|
25
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var toString = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
53
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
54
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
55
|
-
var lazy = kotlin_kotlin.$_$.
|
|
56
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
57
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
58
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
59
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
69
|
-
var
|
|
25
|
+
var arrayIterator = kotlin_kotlin.$_$.d5;
|
|
26
|
+
var compareTo = kotlin_kotlin.$_$.k5;
|
|
27
|
+
var toList = kotlin_kotlin.$_$.i8;
|
|
28
|
+
var asSequence = kotlin_kotlin.$_$.z1;
|
|
29
|
+
var asIterable = kotlin_kotlin.$_$.v1;
|
|
30
|
+
var hashCode = kotlin_kotlin.$_$.s5;
|
|
31
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.b2;
|
|
32
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
33
|
+
var asIterable_0 = kotlin_kotlin.$_$.b7;
|
|
34
|
+
var sequence = kotlin_kotlin.$_$.c8;
|
|
35
|
+
var IntRange = kotlin_kotlin.$_$.s6;
|
|
36
|
+
var zip = kotlin_kotlin.$_$.m8;
|
|
37
|
+
var equals = kotlin_kotlin.$_$.n5;
|
|
38
|
+
var FunctionAdapter = kotlin_kotlin.$_$.c5;
|
|
39
|
+
var Comparator = kotlin_kotlin.$_$.p9;
|
|
40
|
+
var CoroutineImpl = kotlin_kotlin.$_$.j4;
|
|
41
|
+
var SequenceScope = kotlin_kotlin.$_$.y6;
|
|
42
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.i4;
|
|
43
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.w5;
|
|
44
|
+
var constructCallableReference = kotlin_kotlin.$_$.l5;
|
|
45
|
+
var withIndex = kotlin_kotlin.$_$.l8;
|
|
46
|
+
var ensureNotNull = kotlin_kotlin.$_$.da;
|
|
47
|
+
var map = kotlin_kotlin.$_$.v7;
|
|
48
|
+
var filterNot = kotlin_kotlin.$_$.j7;
|
|
49
|
+
var toMutableList = kotlin_kotlin.$_$.j8;
|
|
50
|
+
var minWithOrNull = kotlin_kotlin.$_$.w7;
|
|
51
|
+
var toString = kotlin_kotlin.$_$.ja;
|
|
52
|
+
var initMetadataForObject = kotlin_kotlin.$_$.x5;
|
|
53
|
+
var KtMap = kotlin_kotlin.$_$.q1;
|
|
54
|
+
var toString_0 = kotlin_kotlin.$_$.j6;
|
|
55
|
+
var lazy = kotlin_kotlin.$_$.fa;
|
|
56
|
+
var KProperty1 = kotlin_kotlin.$_$.x6;
|
|
57
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.q5;
|
|
58
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.v6;
|
|
59
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
60
|
+
var subtract = kotlin_kotlin.$_$.a5;
|
|
61
|
+
var convertToInt = kotlin_kotlin.$_$.p4;
|
|
62
|
+
var getBigIntHashCode = kotlin_kotlin.$_$.o5;
|
|
63
|
+
var first = kotlin_kotlin.$_$.n2;
|
|
64
|
+
var to = kotlin_kotlin.$_$.ka;
|
|
65
|
+
var Pair = kotlin_kotlin.$_$.x9;
|
|
66
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
67
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
68
|
+
var joinToString = kotlin_kotlin.$_$.r7;
|
|
69
|
+
var mutableListOf = kotlin_kotlin.$_$.i3;
|
|
70
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
71
|
+
var addAll = kotlin_kotlin.$_$.s1;
|
|
70
72
|
//endregion
|
|
71
73
|
//region block: pre-declaration
|
|
72
74
|
initMetadataForCompanion(Companion);
|
|
73
75
|
function getOrSet(key, valueGenerator) {
|
|
74
|
-
var got = this.
|
|
76
|
+
var got = this.g2(key);
|
|
75
77
|
var tmp;
|
|
76
78
|
if (got instanceof Some) {
|
|
77
|
-
tmp = got.
|
|
79
|
+
tmp = got.do_1;
|
|
78
80
|
} else {
|
|
79
81
|
// Inline function 'kotlin.also' call
|
|
80
82
|
var this_0 = valueGenerator();
|
|
81
|
-
this.
|
|
83
|
+
this.bo(key, this_0);
|
|
82
84
|
tmp = this_0;
|
|
83
85
|
}
|
|
84
86
|
return tmp;
|
|
@@ -87,13 +89,13 @@
|
|
|
87
89
|
initMetadataForCompanion(Companion_0);
|
|
88
90
|
function ifValid(consumer) {
|
|
89
91
|
var tmp;
|
|
90
|
-
if (this.
|
|
92
|
+
if (this.fo()) {
|
|
91
93
|
var tmp_0 = Companion_instance_4;
|
|
92
94
|
// Inline function 'kotlin.let' call
|
|
93
|
-
var tmp$ret$0 = consumer(this.
|
|
94
|
-
tmp = tmp_0.
|
|
95
|
+
var tmp$ret$0 = consumer(this.d2());
|
|
96
|
+
tmp = tmp_0.jo(tmp$ret$0);
|
|
95
97
|
} else {
|
|
96
|
-
tmp = Companion_instance_4.
|
|
98
|
+
tmp = Companion_instance_4.io();
|
|
97
99
|
}
|
|
98
100
|
return tmp;
|
|
99
101
|
}
|
|
@@ -115,15 +117,15 @@
|
|
|
115
117
|
}
|
|
116
118
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
117
119
|
function component1() {
|
|
118
|
-
return this.
|
|
120
|
+
return this.so();
|
|
119
121
|
}
|
|
120
122
|
function component2() {
|
|
121
|
-
return this.
|
|
123
|
+
return this.d2();
|
|
122
124
|
}
|
|
123
125
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
124
126
|
initMetadataForCompanion(Companion_2);
|
|
125
|
-
function
|
|
126
|
-
return this.
|
|
127
|
+
function compareTo_0(other) {
|
|
128
|
+
return compareTo(this.so(), other.so());
|
|
127
129
|
}
|
|
128
130
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed]);
|
|
129
131
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -132,8 +134,8 @@
|
|
|
132
134
|
initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
133
135
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
134
136
|
initMetadataForCompanion(Companion_3);
|
|
135
|
-
function
|
|
136
|
-
return
|
|
137
|
+
function compareTo_1(other) {
|
|
138
|
+
return compareTo(this.so(), other.so());
|
|
137
139
|
}
|
|
138
140
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed]);
|
|
139
141
|
initMetadataForCompanion(Companion_4);
|
|
@@ -141,14 +143,13 @@
|
|
|
141
143
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
142
144
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
143
145
|
function getTag(name) {
|
|
144
|
-
|
|
145
|
-
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
146
|
+
return this.rq().g2(name);
|
|
146
147
|
}
|
|
147
148
|
function containsTag(name) {
|
|
148
149
|
// Inline function 'kotlin.collections.contains' call
|
|
149
150
|
// Inline function 'kotlin.collections.containsKey' call
|
|
150
|
-
var this_0 = this.
|
|
151
|
-
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
151
|
+
var this_0 = this.rq();
|
|
152
|
+
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).e2(name);
|
|
152
153
|
}
|
|
153
154
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
154
155
|
initMetadataForCompanion(Companion_5);
|
|
@@ -167,7 +168,7 @@
|
|
|
167
168
|
//endregion
|
|
168
169
|
function Companion() {
|
|
169
170
|
}
|
|
170
|
-
protoOf(Companion).
|
|
171
|
+
protoOf(Companion).ao = function (capacity) {
|
|
171
172
|
return new SimpleLRUCache(capacity);
|
|
172
173
|
};
|
|
173
174
|
var Companion_instance;
|
|
@@ -178,7 +179,7 @@
|
|
|
178
179
|
}
|
|
179
180
|
function Companion_0() {
|
|
180
181
|
}
|
|
181
|
-
protoOf(Companion_0).
|
|
182
|
+
protoOf(Companion_0).eo = function (generator) {
|
|
182
183
|
return new CachedImpl(generator);
|
|
183
184
|
};
|
|
184
185
|
var Companion_instance_0;
|
|
@@ -205,39 +206,39 @@
|
|
|
205
206
|
return Companion_instance_1;
|
|
206
207
|
}
|
|
207
208
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
208
|
-
this.
|
|
209
|
+
this.lo_1 = this$0;
|
|
209
210
|
}
|
|
210
|
-
protoOf(Cursor$asIterable$$inlined$Iterable$1).
|
|
211
|
-
return this.
|
|
211
|
+
protoOf(Cursor$asIterable$$inlined$Iterable$1).m = function () {
|
|
212
|
+
return this.lo_1.iterator();
|
|
212
213
|
};
|
|
213
214
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
214
|
-
this.
|
|
215
|
+
this.mo_1 = this$0;
|
|
215
216
|
}
|
|
216
|
-
protoOf(Cursor$asSequence$$inlined$Sequence$1).
|
|
217
|
-
return this.
|
|
217
|
+
protoOf(Cursor$asSequence$$inlined$Sequence$1).m = function () {
|
|
218
|
+
return this.mo_1.iterator();
|
|
218
219
|
};
|
|
219
220
|
function Cursor() {
|
|
220
221
|
}
|
|
221
222
|
function cursor(_this__u8e3s4) {
|
|
222
|
-
return toCursor(_this__u8e3s4.
|
|
223
|
+
return toCursor(_this__u8e3s4.m());
|
|
223
224
|
}
|
|
224
225
|
function plus(_this__u8e3s4, other) {
|
|
225
|
-
return other.
|
|
226
|
+
return other.po() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.po() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
226
227
|
}
|
|
227
228
|
function cursor_0(_this__u8e3s4) {
|
|
228
|
-
return toCursor(_this__u8e3s4.
|
|
229
|
+
return toCursor(_this__u8e3s4.m());
|
|
229
230
|
}
|
|
230
231
|
function cursor_1(_this__u8e3s4) {
|
|
231
232
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
232
233
|
}
|
|
233
234
|
function toCursor(_this__u8e3s4) {
|
|
234
|
-
return Companion_instance_5.
|
|
235
|
+
return Companion_instance_5.ro(_this__u8e3s4);
|
|
235
236
|
}
|
|
236
237
|
function Indexed() {
|
|
237
238
|
}
|
|
238
239
|
function Companion_2() {
|
|
239
240
|
}
|
|
240
|
-
protoOf(Companion_2).
|
|
241
|
+
protoOf(Companion_2).to = function (index, value) {
|
|
241
242
|
return new IntIndexedImpl(index, value);
|
|
242
243
|
};
|
|
243
244
|
var Companion_instance_2;
|
|
@@ -257,10 +258,10 @@
|
|
|
257
258
|
}
|
|
258
259
|
function itemWiseHashCode_0(iterable) {
|
|
259
260
|
var hash = 13;
|
|
260
|
-
var i = iterable.
|
|
261
|
-
while (i.
|
|
261
|
+
var i = iterable.m();
|
|
262
|
+
while (i.p()) {
|
|
262
263
|
var tmp = imul(31, hash);
|
|
263
|
-
var tmp0_safe_receiver = i.
|
|
264
|
+
var tmp0_safe_receiver = i.q();
|
|
264
265
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
265
266
|
hash = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
266
267
|
}
|
|
@@ -274,11 +275,11 @@
|
|
|
274
275
|
// Inline function 'kotlin.collections.map' call
|
|
275
276
|
// Inline function 'kotlin.collections.mapTo' call
|
|
276
277
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
|
|
277
|
-
var _iterator__ex2g4s = iterables.
|
|
278
|
-
while (_iterator__ex2g4s.
|
|
279
|
-
var item = _iterator__ex2g4s.
|
|
280
|
-
var tmp$ret$
|
|
281
|
-
destination.
|
|
278
|
+
var _iterator__ex2g4s = iterables.m();
|
|
279
|
+
while (_iterator__ex2g4s.p()) {
|
|
280
|
+
var item = _iterator__ex2g4s.q();
|
|
281
|
+
var tmp$ret$2 = asIterable_0(item);
|
|
282
|
+
destination.j(tmp$ret$2);
|
|
282
283
|
}
|
|
283
284
|
return merge(tmp, destination);
|
|
284
285
|
}
|
|
@@ -295,16 +296,16 @@
|
|
|
295
296
|
return sequence(insertAt$slambda_0(_this__u8e3s4, index, item, items, null));
|
|
296
297
|
}
|
|
297
298
|
function itemWiseEquals_1(iterable1, iterable2, comparator) {
|
|
298
|
-
var i = iterable1.
|
|
299
|
-
var j = iterable2.
|
|
300
|
-
while (i.
|
|
301
|
-
var a = i.
|
|
302
|
-
var b = j.
|
|
299
|
+
var i = iterable1.m();
|
|
300
|
+
var j = iterable2.m();
|
|
301
|
+
while (i.p() && j.p()) {
|
|
302
|
+
var a = i.q();
|
|
303
|
+
var b = j.q();
|
|
303
304
|
if (!comparator(a, b)) {
|
|
304
305
|
return false;
|
|
305
306
|
}
|
|
306
307
|
}
|
|
307
|
-
return i.
|
|
308
|
+
return i.p() === j.p();
|
|
308
309
|
}
|
|
309
310
|
function merge(comparator, iterables) {
|
|
310
311
|
return sequence(merge$slambda_0(iterables, comparator, null));
|
|
@@ -314,23 +315,23 @@
|
|
|
314
315
|
return zip(_this__u8e3s4, tmp, indexed$lambda);
|
|
315
316
|
}
|
|
316
317
|
function sam$kotlin_Comparator$0(function_0) {
|
|
317
|
-
this.
|
|
318
|
+
this.vo_1 = function_0;
|
|
318
319
|
}
|
|
319
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
320
|
-
return this.
|
|
320
|
+
protoOf(sam$kotlin_Comparator$0).xa = function (a, b) {
|
|
321
|
+
return this.vo_1(a, b);
|
|
321
322
|
};
|
|
322
323
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
323
|
-
return this.
|
|
324
|
+
return this.xa(a, b);
|
|
324
325
|
};
|
|
325
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
326
|
-
return this.
|
|
326
|
+
protoOf(sam$kotlin_Comparator$0).o2 = function () {
|
|
327
|
+
return this.vo_1;
|
|
327
328
|
};
|
|
328
329
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
329
330
|
var tmp;
|
|
330
331
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
331
332
|
var tmp_0;
|
|
332
333
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
333
|
-
tmp_0 = equals(this.
|
|
334
|
+
tmp_0 = equals(this.o2(), other.o2());
|
|
334
335
|
} else {
|
|
335
336
|
tmp_0 = false;
|
|
336
337
|
}
|
|
@@ -341,206 +342,202 @@
|
|
|
341
342
|
return tmp;
|
|
342
343
|
};
|
|
343
344
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
344
|
-
return hashCode(this.
|
|
345
|
+
return hashCode(this.o2());
|
|
345
346
|
};
|
|
346
347
|
function itemWiseEquals$lambda(a, b) {
|
|
347
348
|
return equals(a, b);
|
|
348
349
|
}
|
|
349
350
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
350
|
-
this.
|
|
351
|
+
this.ep_1 = $this_dropLast;
|
|
351
352
|
CoroutineImpl.call(this, resultContinuation);
|
|
352
353
|
}
|
|
353
|
-
protoOf(dropLast$slambda).
|
|
354
|
-
var tmp = this.
|
|
355
|
-
tmp.
|
|
356
|
-
tmp.
|
|
357
|
-
return tmp.
|
|
354
|
+
protoOf(dropLast$slambda).hp = function ($this$sequence, $completion) {
|
|
355
|
+
var tmp = this.ip($this$sequence, $completion);
|
|
356
|
+
tmp.c8_1 = Unit_instance;
|
|
357
|
+
tmp.d8_1 = null;
|
|
358
|
+
return tmp.i8();
|
|
358
359
|
};
|
|
359
|
-
protoOf(dropLast$slambda).
|
|
360
|
-
return this.
|
|
360
|
+
protoOf(dropLast$slambda).z8 = function (p1, $completion) {
|
|
361
|
+
return this.hp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
361
362
|
};
|
|
362
|
-
protoOf(dropLast$slambda).
|
|
363
|
-
var suspendResult = this.
|
|
363
|
+
protoOf(dropLast$slambda).i8 = function () {
|
|
364
|
+
var suspendResult = this.c8_1;
|
|
364
365
|
$sm: do
|
|
365
366
|
try {
|
|
366
|
-
var tmp = this.
|
|
367
|
+
var tmp = this.a8_1;
|
|
367
368
|
switch (tmp) {
|
|
368
369
|
case 0:
|
|
369
|
-
this.
|
|
370
|
-
this.
|
|
371
|
-
this.
|
|
370
|
+
this.b8_1 = 5;
|
|
371
|
+
this.gp_1 = this.ep_1.m();
|
|
372
|
+
this.a8_1 = 1;
|
|
372
373
|
continue $sm;
|
|
373
374
|
case 1:
|
|
374
|
-
if (!this.
|
|
375
|
-
this.
|
|
375
|
+
if (!this.gp_1.p()) {
|
|
376
|
+
this.a8_1 = 4;
|
|
376
377
|
continue $sm;
|
|
377
378
|
}
|
|
378
379
|
|
|
379
|
-
var current = this.
|
|
380
|
-
if (this.
|
|
381
|
-
this.
|
|
382
|
-
suspendResult = this.
|
|
380
|
+
var current = this.gp_1.q();
|
|
381
|
+
if (this.gp_1.p()) {
|
|
382
|
+
this.a8_1 = 2;
|
|
383
|
+
suspendResult = this.fp_1.hc(current, this);
|
|
383
384
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
384
385
|
return suspendResult;
|
|
385
386
|
}
|
|
386
387
|
continue $sm;
|
|
387
388
|
} else {
|
|
388
|
-
this.
|
|
389
|
+
this.a8_1 = 3;
|
|
389
390
|
continue $sm;
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
case 2:
|
|
393
|
-
this.
|
|
394
|
+
this.a8_1 = 3;
|
|
394
395
|
continue $sm;
|
|
395
396
|
case 3:
|
|
396
|
-
this.
|
|
397
|
+
this.a8_1 = 1;
|
|
397
398
|
continue $sm;
|
|
398
399
|
case 4:
|
|
399
400
|
return Unit_instance;
|
|
400
401
|
case 5:
|
|
401
|
-
throw this.
|
|
402
|
+
throw this.d8_1;
|
|
402
403
|
}
|
|
403
404
|
} catch ($p) {
|
|
404
405
|
var e = $p;
|
|
405
|
-
if (this.
|
|
406
|
+
if (this.b8_1 === 5) {
|
|
406
407
|
throw e;
|
|
407
408
|
} else {
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
409
|
+
this.a8_1 = this.b8_1;
|
|
410
|
+
this.d8_1 = e;
|
|
410
411
|
}
|
|
411
412
|
}
|
|
412
413
|
while (true);
|
|
413
414
|
};
|
|
414
|
-
protoOf(dropLast$slambda).
|
|
415
|
-
var i = new dropLast$slambda(this.
|
|
416
|
-
i.
|
|
415
|
+
protoOf(dropLast$slambda).ip = function ($this$sequence, completion) {
|
|
416
|
+
var i = new dropLast$slambda(this.ep_1, completion);
|
|
417
|
+
i.fp_1 = $this$sequence;
|
|
417
418
|
return i;
|
|
418
419
|
};
|
|
419
420
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
420
421
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
421
|
-
|
|
422
|
-
return i.
|
|
423
|
-
};
|
|
424
|
-
l.$arity = 1;
|
|
425
|
-
return l;
|
|
422
|
+
return constructCallableReference(function ($this$sequence, $completion) {
|
|
423
|
+
return i.hp($this$sequence, $completion);
|
|
424
|
+
}, 1);
|
|
426
425
|
}
|
|
427
426
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
427
|
+
this.rp_1 = $this_insertAt;
|
|
428
|
+
this.sp_1 = $index;
|
|
429
|
+
this.tp_1 = $item;
|
|
430
|
+
this.up_1 = $items;
|
|
432
431
|
CoroutineImpl.call(this, resultContinuation);
|
|
433
432
|
}
|
|
434
|
-
protoOf(insertAt$slambda).
|
|
435
|
-
var tmp = this.
|
|
436
|
-
tmp.
|
|
437
|
-
tmp.
|
|
438
|
-
return tmp.
|
|
433
|
+
protoOf(insertAt$slambda).hp = function ($this$sequence, $completion) {
|
|
434
|
+
var tmp = this.ip($this$sequence, $completion);
|
|
435
|
+
tmp.c8_1 = Unit_instance;
|
|
436
|
+
tmp.d8_1 = null;
|
|
437
|
+
return tmp.i8();
|
|
439
438
|
};
|
|
440
|
-
protoOf(insertAt$slambda).
|
|
441
|
-
return this.
|
|
439
|
+
protoOf(insertAt$slambda).z8 = function (p1, $completion) {
|
|
440
|
+
return this.hp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
442
441
|
};
|
|
443
|
-
protoOf(insertAt$slambda).
|
|
444
|
-
var suspendResult = this.
|
|
442
|
+
protoOf(insertAt$slambda).i8 = function () {
|
|
443
|
+
var suspendResult = this.c8_1;
|
|
445
444
|
$sm: do
|
|
446
445
|
try {
|
|
447
|
-
var tmp = this.
|
|
446
|
+
var tmp = this.a8_1;
|
|
448
447
|
switch (tmp) {
|
|
449
448
|
case 0:
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
449
|
+
this.b8_1 = 7;
|
|
450
|
+
this.xp_1 = asIterable_0(withIndex(this.rp_1)).m();
|
|
451
|
+
this.a8_1 = 1;
|
|
453
452
|
continue $sm;
|
|
454
453
|
case 1:
|
|
455
|
-
if (!this.
|
|
456
|
-
this.
|
|
454
|
+
if (!this.xp_1.p()) {
|
|
455
|
+
this.a8_1 = 6;
|
|
457
456
|
continue $sm;
|
|
458
457
|
}
|
|
459
458
|
|
|
460
|
-
var _destruct__k2r9zo = this.
|
|
461
|
-
var i = _destruct__k2r9zo.
|
|
462
|
-
this.
|
|
463
|
-
if (i === this.
|
|
464
|
-
this.
|
|
465
|
-
suspendResult = this.
|
|
459
|
+
var _destruct__k2r9zo = this.xp_1.q();
|
|
460
|
+
var i = _destruct__k2r9zo.ub();
|
|
461
|
+
this.wp_1 = _destruct__k2r9zo.vb();
|
|
462
|
+
if (i === this.sp_1) {
|
|
463
|
+
this.a8_1 = 2;
|
|
464
|
+
suspendResult = this.vp_1.hc(this.tp_1, this);
|
|
466
465
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
467
466
|
return suspendResult;
|
|
468
467
|
}
|
|
469
468
|
continue $sm;
|
|
470
469
|
} else {
|
|
471
|
-
this.
|
|
470
|
+
this.a8_1 = 4;
|
|
472
471
|
continue $sm;
|
|
473
472
|
}
|
|
474
473
|
|
|
475
474
|
case 2:
|
|
476
|
-
this.
|
|
477
|
-
suspendResult = this.
|
|
475
|
+
this.a8_1 = 3;
|
|
476
|
+
suspendResult = this.vp_1.jc(asIterable(this.up_1), this);
|
|
478
477
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
479
478
|
return suspendResult;
|
|
480
479
|
}
|
|
481
480
|
|
|
482
481
|
continue $sm;
|
|
483
482
|
case 3:
|
|
484
|
-
this.
|
|
483
|
+
this.a8_1 = 4;
|
|
485
484
|
continue $sm;
|
|
486
485
|
case 4:
|
|
487
|
-
this.
|
|
488
|
-
suspendResult = this.
|
|
486
|
+
this.a8_1 = 5;
|
|
487
|
+
suspendResult = this.vp_1.hc(this.wp_1, this);
|
|
489
488
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
490
489
|
return suspendResult;
|
|
491
490
|
}
|
|
492
491
|
|
|
493
492
|
continue $sm;
|
|
494
493
|
case 5:
|
|
495
|
-
this.
|
|
494
|
+
this.a8_1 = 1;
|
|
496
495
|
continue $sm;
|
|
497
496
|
case 6:
|
|
498
497
|
return Unit_instance;
|
|
499
498
|
case 7:
|
|
500
|
-
throw this.
|
|
499
|
+
throw this.d8_1;
|
|
501
500
|
}
|
|
502
501
|
} catch ($p) {
|
|
503
502
|
var e = $p;
|
|
504
|
-
if (this.
|
|
503
|
+
if (this.b8_1 === 7) {
|
|
505
504
|
throw e;
|
|
506
505
|
} else {
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
506
|
+
this.a8_1 = this.b8_1;
|
|
507
|
+
this.d8_1 = e;
|
|
509
508
|
}
|
|
510
509
|
}
|
|
511
510
|
while (true);
|
|
512
511
|
};
|
|
513
|
-
protoOf(insertAt$slambda).
|
|
514
|
-
var i = new insertAt$slambda(this.
|
|
515
|
-
i.
|
|
512
|
+
protoOf(insertAt$slambda).ip = function ($this$sequence, completion) {
|
|
513
|
+
var i = new insertAt$slambda(this.rp_1, this.sp_1, this.tp_1, this.up_1, completion);
|
|
514
|
+
i.vp_1 = $this$sequence;
|
|
516
515
|
return i;
|
|
517
516
|
};
|
|
518
517
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
519
518
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
520
|
-
|
|
521
|
-
return i.
|
|
522
|
-
};
|
|
523
|
-
l.$arity = 1;
|
|
524
|
-
return l;
|
|
519
|
+
return constructCallableReference(function ($this$sequence, $completion) {
|
|
520
|
+
return i.hp($this$sequence, $completion);
|
|
521
|
+
}, 1);
|
|
525
522
|
}
|
|
526
523
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
527
|
-
this.
|
|
524
|
+
this.yp_1 = function_0;
|
|
528
525
|
}
|
|
529
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
530
|
-
return this.
|
|
526
|
+
protoOf(sam$kotlin_Comparator$0_0).xa = function (a, b) {
|
|
527
|
+
return this.yp_1(a, b);
|
|
531
528
|
};
|
|
532
529
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
533
|
-
return this.
|
|
530
|
+
return this.xa(a, b);
|
|
534
531
|
};
|
|
535
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
536
|
-
return this.
|
|
532
|
+
protoOf(sam$kotlin_Comparator$0_0).o2 = function () {
|
|
533
|
+
return this.yp_1;
|
|
537
534
|
};
|
|
538
535
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
539
536
|
var tmp;
|
|
540
537
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
541
538
|
var tmp_0;
|
|
542
539
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
543
|
-
tmp_0 = equals(this.
|
|
540
|
+
tmp_0 = equals(this.o2(), other.o2());
|
|
544
541
|
} else {
|
|
545
542
|
tmp_0 = false;
|
|
546
543
|
}
|
|
@@ -551,116 +548,114 @@
|
|
|
551
548
|
return tmp;
|
|
552
549
|
};
|
|
553
550
|
protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
554
|
-
return hashCode(this.
|
|
551
|
+
return hashCode(this.o2());
|
|
555
552
|
};
|
|
556
553
|
function merge$slambda$lambda(it) {
|
|
557
554
|
return cursor_0(it);
|
|
558
555
|
}
|
|
559
556
|
function merge$slambda$lambda_0(it) {
|
|
560
|
-
return it.
|
|
557
|
+
return it.qo();
|
|
561
558
|
}
|
|
562
559
|
function merge$slambda$lambda_1(it) {
|
|
563
|
-
return ensureNotNull(it.
|
|
560
|
+
return ensureNotNull(it.oo());
|
|
564
561
|
}
|
|
565
562
|
function merge$slambda$lambda_2($comparator) {
|
|
566
563
|
return function (a, b) {
|
|
567
|
-
return $comparator.compare(a.
|
|
564
|
+
return $comparator.compare(a.d2(), b.d2());
|
|
568
565
|
};
|
|
569
566
|
}
|
|
570
567
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
568
|
+
this.hq_1 = $iterables;
|
|
569
|
+
this.iq_1 = $comparator;
|
|
573
570
|
CoroutineImpl.call(this, resultContinuation);
|
|
574
571
|
}
|
|
575
|
-
protoOf(merge$slambda).
|
|
576
|
-
var tmp = this.
|
|
577
|
-
tmp.
|
|
578
|
-
tmp.
|
|
579
|
-
return tmp.
|
|
572
|
+
protoOf(merge$slambda).hp = function ($this$sequence, $completion) {
|
|
573
|
+
var tmp = this.ip($this$sequence, $completion);
|
|
574
|
+
tmp.c8_1 = Unit_instance;
|
|
575
|
+
tmp.d8_1 = null;
|
|
576
|
+
return tmp.i8();
|
|
580
577
|
};
|
|
581
|
-
protoOf(merge$slambda).
|
|
582
|
-
return this.
|
|
578
|
+
protoOf(merge$slambda).z8 = function (p1, $completion) {
|
|
579
|
+
return this.hp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
583
580
|
};
|
|
584
|
-
protoOf(merge$slambda).
|
|
585
|
-
var suspendResult = this.
|
|
581
|
+
protoOf(merge$slambda).i8 = function () {
|
|
582
|
+
var suspendResult = this.c8_1;
|
|
586
583
|
$sm: do
|
|
587
584
|
try {
|
|
588
|
-
var tmp = this.
|
|
585
|
+
var tmp = this.a8_1;
|
|
589
586
|
switch (tmp) {
|
|
590
587
|
case 0:
|
|
591
|
-
this.
|
|
588
|
+
this.b8_1 = 3;
|
|
592
589
|
var tmp_0 = this;
|
|
593
|
-
var tmp_1 = asSequence(this.
|
|
590
|
+
var tmp_1 = asSequence(this.hq_1);
|
|
594
591
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
595
|
-
tmp_0.
|
|
596
|
-
this.
|
|
592
|
+
tmp_0.lq_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
593
|
+
this.a8_1 = 1;
|
|
597
594
|
continue $sm;
|
|
598
595
|
case 1:
|
|
599
|
-
if (!!this.
|
|
600
|
-
this.
|
|
596
|
+
if (!!this.lq_1.g()) {
|
|
597
|
+
this.a8_1 = 4;
|
|
601
598
|
continue $sm;
|
|
602
599
|
}
|
|
603
600
|
|
|
604
|
-
var tmp_3 = asSequence(this.
|
|
601
|
+
var tmp_3 = asSequence(this.lq_1);
|
|
605
602
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
606
|
-
var tmp_5 = merge$slambda$lambda_2(this.
|
|
603
|
+
var tmp_5 = merge$slambda$lambda_2(this.iq_1);
|
|
607
604
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
608
|
-
this.
|
|
609
|
-
var minValue = _destruct__k2r9zo.
|
|
610
|
-
this.
|
|
611
|
-
suspendResult = this.
|
|
605
|
+
this.kq_1 = _destruct__k2r9zo.ub();
|
|
606
|
+
var minValue = _destruct__k2r9zo.vb();
|
|
607
|
+
this.a8_1 = 2;
|
|
608
|
+
suspendResult = this.jq_1.hc(minValue, this);
|
|
612
609
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
613
610
|
return suspendResult;
|
|
614
611
|
}
|
|
615
612
|
|
|
616
613
|
continue $sm;
|
|
617
614
|
case 2:
|
|
618
|
-
var it = this.
|
|
615
|
+
var it = this.lq_1.t(this.kq_1).no();
|
|
619
616
|
var tmp_6;
|
|
620
|
-
if (it.
|
|
621
|
-
tmp_6 = this.
|
|
617
|
+
if (it.qo()) {
|
|
618
|
+
tmp_6 = this.lq_1.f3(this.kq_1);
|
|
622
619
|
} else {
|
|
623
|
-
this.
|
|
620
|
+
this.lq_1.x3(this.kq_1, it);
|
|
624
621
|
tmp_6 = Unit_instance;
|
|
625
622
|
}
|
|
626
623
|
|
|
627
|
-
this.
|
|
624
|
+
this.a8_1 = 1;
|
|
628
625
|
continue $sm;
|
|
629
626
|
case 3:
|
|
630
|
-
throw this.
|
|
627
|
+
throw this.d8_1;
|
|
631
628
|
case 4:
|
|
632
629
|
return Unit_instance;
|
|
633
630
|
}
|
|
634
631
|
} catch ($p) {
|
|
635
632
|
var e = $p;
|
|
636
|
-
if (this.
|
|
633
|
+
if (this.b8_1 === 3) {
|
|
637
634
|
throw e;
|
|
638
635
|
} else {
|
|
639
|
-
this.
|
|
640
|
-
this.
|
|
636
|
+
this.a8_1 = this.b8_1;
|
|
637
|
+
this.d8_1 = e;
|
|
641
638
|
}
|
|
642
639
|
}
|
|
643
640
|
while (true);
|
|
644
641
|
};
|
|
645
|
-
protoOf(merge$slambda).
|
|
646
|
-
var i = new merge$slambda(this.
|
|
647
|
-
i.
|
|
642
|
+
protoOf(merge$slambda).ip = function ($this$sequence, completion) {
|
|
643
|
+
var i = new merge$slambda(this.hq_1, this.iq_1, completion);
|
|
644
|
+
i.jq_1 = $this$sequence;
|
|
648
645
|
return i;
|
|
649
646
|
};
|
|
650
647
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
651
648
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
652
|
-
|
|
653
|
-
return i.
|
|
654
|
-
};
|
|
655
|
-
l.$arity = 1;
|
|
656
|
-
return l;
|
|
649
|
+
return constructCallableReference(function ($this$sequence, $completion) {
|
|
650
|
+
return i.hp($this$sequence, $completion);
|
|
651
|
+
}, 1);
|
|
657
652
|
}
|
|
658
653
|
function indexed$lambda(it, i) {
|
|
659
|
-
return Companion_instance_2.
|
|
654
|
+
return Companion_instance_2.to(i, it);
|
|
660
655
|
}
|
|
661
656
|
function Companion_3() {
|
|
662
657
|
}
|
|
663
|
-
protoOf(Companion_3).
|
|
658
|
+
protoOf(Companion_3).mq = function (index, value) {
|
|
664
659
|
return new LongIndexedImpl(index, value);
|
|
665
660
|
};
|
|
666
661
|
var Companion_instance_3;
|
|
@@ -671,19 +666,19 @@
|
|
|
671
666
|
}
|
|
672
667
|
function Companion_4() {
|
|
673
668
|
}
|
|
674
|
-
protoOf(Companion_4).
|
|
669
|
+
protoOf(Companion_4).oq = function (value) {
|
|
675
670
|
return new Some(value);
|
|
676
671
|
};
|
|
677
|
-
protoOf(Companion_4).
|
|
672
|
+
protoOf(Companion_4).jo = function (value) {
|
|
678
673
|
var tmp;
|
|
679
674
|
if (value == null) {
|
|
680
|
-
tmp = this.
|
|
675
|
+
tmp = this.io();
|
|
681
676
|
} else {
|
|
682
|
-
tmp = this.
|
|
677
|
+
tmp = this.oq(value);
|
|
683
678
|
}
|
|
684
679
|
return tmp;
|
|
685
680
|
};
|
|
686
|
-
protoOf(Companion_4).
|
|
681
|
+
protoOf(Companion_4).io = function () {
|
|
687
682
|
return None_getInstance();
|
|
688
683
|
};
|
|
689
684
|
var Companion_instance_4;
|
|
@@ -692,26 +687,26 @@
|
|
|
692
687
|
}
|
|
693
688
|
function Some(value) {
|
|
694
689
|
Optional.call(this);
|
|
695
|
-
this.
|
|
690
|
+
this.do_1 = value;
|
|
696
691
|
}
|
|
697
|
-
protoOf(Some).
|
|
698
|
-
return this.
|
|
692
|
+
protoOf(Some).d2 = function () {
|
|
693
|
+
return this.do_1;
|
|
699
694
|
};
|
|
700
|
-
protoOf(Some).
|
|
695
|
+
protoOf(Some).pq = function () {
|
|
701
696
|
return true;
|
|
702
697
|
};
|
|
703
698
|
protoOf(Some).toString = function () {
|
|
704
|
-
return 'Some(' + toString(this.
|
|
699
|
+
return 'Some(' + toString(this.do_1) + ')';
|
|
705
700
|
};
|
|
706
701
|
protoOf(Some).hashCode = function () {
|
|
707
|
-
return this.
|
|
702
|
+
return this.do_1 == null ? 0 : hashCode(this.do_1);
|
|
708
703
|
};
|
|
709
704
|
protoOf(Some).equals = function (other) {
|
|
710
705
|
if (this === other)
|
|
711
706
|
return true;
|
|
712
707
|
if (!(other instanceof Some))
|
|
713
708
|
return false;
|
|
714
|
-
if (!equals(this.
|
|
709
|
+
if (!equals(this.do_1, other.do_1))
|
|
715
710
|
return false;
|
|
716
711
|
return true;
|
|
717
712
|
};
|
|
@@ -719,10 +714,10 @@
|
|
|
719
714
|
None_instance = this;
|
|
720
715
|
Optional.call(this);
|
|
721
716
|
}
|
|
722
|
-
protoOf(None).
|
|
717
|
+
protoOf(None).d2 = function () {
|
|
723
718
|
return null;
|
|
724
719
|
};
|
|
725
|
-
protoOf(None).
|
|
720
|
+
protoOf(None).pq = function () {
|
|
726
721
|
return false;
|
|
727
722
|
};
|
|
728
723
|
protoOf(None).toString = function () {
|
|
@@ -736,8 +731,8 @@
|
|
|
736
731
|
}
|
|
737
732
|
function Optional() {
|
|
738
733
|
}
|
|
739
|
-
protoOf(Optional).
|
|
740
|
-
return !this.
|
|
734
|
+
protoOf(Optional).qq = function () {
|
|
735
|
+
return !this.pq();
|
|
741
736
|
};
|
|
742
737
|
function Taggable() {
|
|
743
738
|
}
|
|
@@ -750,9 +745,9 @@
|
|
|
750
745
|
}
|
|
751
746
|
function Companion_5() {
|
|
752
747
|
}
|
|
753
|
-
protoOf(Companion_5).
|
|
748
|
+
protoOf(Companion_5).ro = function (source) {
|
|
754
749
|
var tmp;
|
|
755
|
-
if (source.
|
|
750
|
+
if (source.p()) {
|
|
756
751
|
tmp = new LazyCursor(source);
|
|
757
752
|
} else {
|
|
758
753
|
tmp = EmptyCursor_getInstance();
|
|
@@ -764,105 +759,105 @@
|
|
|
764
759
|
return Companion_instance_5;
|
|
765
760
|
}
|
|
766
761
|
function AbstractCursor$iterator$1(this$0) {
|
|
767
|
-
this.
|
|
762
|
+
this.sq_1 = this$0;
|
|
768
763
|
}
|
|
769
|
-
protoOf(AbstractCursor$iterator$1).
|
|
770
|
-
return !this.
|
|
764
|
+
protoOf(AbstractCursor$iterator$1).p = function () {
|
|
765
|
+
return !this.sq_1.qo();
|
|
771
766
|
};
|
|
772
|
-
protoOf(AbstractCursor$iterator$1).
|
|
773
|
-
var result = this.
|
|
774
|
-
this.
|
|
767
|
+
protoOf(AbstractCursor$iterator$1).q = function () {
|
|
768
|
+
var result = this.sq_1.oo();
|
|
769
|
+
this.sq_1 = this.sq_1.no();
|
|
775
770
|
return ensureNotNull(result);
|
|
776
771
|
};
|
|
777
772
|
function AbstractCursor() {
|
|
778
773
|
}
|
|
779
774
|
protoOf(AbstractCursor).toString = function () {
|
|
780
|
-
return this.
|
|
775
|
+
return this.qo() ? '[]' : !this.po() ? '[' + toString(this.oo()) + ']' : '[' + toString(this.oo()) + ', ...]';
|
|
781
776
|
};
|
|
782
|
-
protoOf(AbstractCursor).
|
|
777
|
+
protoOf(AbstractCursor).m = function () {
|
|
783
778
|
return new AbstractCursor$iterator$1(this);
|
|
784
779
|
};
|
|
785
780
|
protoOf(AbstractCursor).iterator = function () {
|
|
786
|
-
return this.
|
|
781
|
+
return this.m();
|
|
787
782
|
};
|
|
788
|
-
protoOf(AbstractCursor).
|
|
783
|
+
protoOf(AbstractCursor).tq = function () {
|
|
789
784
|
return false;
|
|
790
785
|
};
|
|
791
|
-
protoOf(AbstractCursor).
|
|
786
|
+
protoOf(AbstractCursor).uq = function (mapper) {
|
|
792
787
|
return new MapperCursor(this, mapper);
|
|
793
788
|
};
|
|
794
789
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
795
|
-
return this.
|
|
790
|
+
return this.uq(mapper);
|
|
796
791
|
};
|
|
797
792
|
function CachedImpl(generator) {
|
|
798
|
-
this.
|
|
799
|
-
this.
|
|
793
|
+
this.vq_1 = generator;
|
|
794
|
+
this.wq_1 = Companion_instance_4.io();
|
|
800
795
|
}
|
|
801
|
-
protoOf(CachedImpl).
|
|
802
|
-
return this.
|
|
796
|
+
protoOf(CachedImpl).fo = function () {
|
|
797
|
+
return this.wq_1.pq();
|
|
803
798
|
};
|
|
804
|
-
protoOf(CachedImpl).
|
|
805
|
-
return this.
|
|
799
|
+
protoOf(CachedImpl).xq = function () {
|
|
800
|
+
return this.wq_1.qq();
|
|
806
801
|
};
|
|
807
|
-
protoOf(CachedImpl).
|
|
808
|
-
this.
|
|
809
|
-
return ensureNotNull(this.
|
|
802
|
+
protoOf(CachedImpl).d2 = function () {
|
|
803
|
+
this.yq();
|
|
804
|
+
return ensureNotNull(this.wq_1.d2());
|
|
810
805
|
};
|
|
811
|
-
protoOf(CachedImpl).
|
|
812
|
-
if (this.
|
|
813
|
-
this.
|
|
806
|
+
protoOf(CachedImpl).yq = function () {
|
|
807
|
+
if (this.xq()) {
|
|
808
|
+
this.wq_1 = Companion_instance_4.oq(this.vq_1());
|
|
814
809
|
}
|
|
815
810
|
};
|
|
816
|
-
protoOf(CachedImpl).
|
|
817
|
-
this.
|
|
811
|
+
protoOf(CachedImpl).go = function () {
|
|
812
|
+
this.wq_1 = Companion_instance_4.io();
|
|
818
813
|
};
|
|
819
814
|
protoOf(CachedImpl).toString = function () {
|
|
820
|
-
return 'CachedImpl(generator=' + toString_0(this.
|
|
815
|
+
return 'CachedImpl(generator=' + toString_0(this.vq_1) + ')';
|
|
821
816
|
};
|
|
822
817
|
protoOf(CachedImpl).hashCode = function () {
|
|
823
|
-
return hashCode(this.
|
|
818
|
+
return hashCode(this.vq_1);
|
|
824
819
|
};
|
|
825
820
|
protoOf(CachedImpl).equals = function (other) {
|
|
826
821
|
if (this === other)
|
|
827
822
|
return true;
|
|
828
823
|
if (!(other instanceof CachedImpl))
|
|
829
824
|
return false;
|
|
830
|
-
if (!equals(this.
|
|
825
|
+
if (!equals(this.vq_1, other.vq_1))
|
|
831
826
|
return false;
|
|
832
827
|
return true;
|
|
833
828
|
};
|
|
834
829
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
835
830
|
return function () {
|
|
836
|
-
return this$0.
|
|
831
|
+
return this$0.zq_1.po() ? new ConjunctionCursor(this$0.zq_1.no(), this$0.ar_1) : this$0.ar_1.tq() ? this$0.ar_1.no() : this$0.ar_1;
|
|
837
832
|
};
|
|
838
833
|
}
|
|
839
834
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
840
|
-
return function (p0) {
|
|
841
|
-
return p0.
|
|
842
|
-
};
|
|
835
|
+
return constructCallableReference(function (p0) {
|
|
836
|
+
return p0.no();
|
|
837
|
+
}, 1, 0, 1);
|
|
843
838
|
}
|
|
844
839
|
function ConjunctionCursor(first, second) {
|
|
845
840
|
AbstractCursor.call(this);
|
|
846
|
-
this.
|
|
847
|
-
this.
|
|
841
|
+
this.zq_1 = first;
|
|
842
|
+
this.ar_1 = second;
|
|
848
843
|
var tmp = this;
|
|
849
|
-
tmp.
|
|
844
|
+
tmp.br_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
850
845
|
}
|
|
851
|
-
protoOf(ConjunctionCursor).
|
|
852
|
-
return this.
|
|
846
|
+
protoOf(ConjunctionCursor).qo = function () {
|
|
847
|
+
return this.zq_1.qo() && this.ar_1.qo();
|
|
853
848
|
};
|
|
854
|
-
protoOf(ConjunctionCursor).
|
|
855
|
-
var tmp0 = this.
|
|
849
|
+
protoOf(ConjunctionCursor).no = function () {
|
|
850
|
+
var tmp0 = this.br_1;
|
|
856
851
|
var tmp = KProperty1;
|
|
857
852
|
// Inline function 'kotlin.getValue' call
|
|
858
|
-
|
|
859
|
-
return tmp0.
|
|
860
|
-
};
|
|
861
|
-
protoOf(ConjunctionCursor).no = function () {
|
|
862
|
-
return this.yq_1.oo() ? this.yq_1.no() : this.zq_1.no();
|
|
853
|
+
/* dead property reference removed */
|
|
854
|
+
return tmp0.d2();
|
|
863
855
|
};
|
|
864
856
|
protoOf(ConjunctionCursor).oo = function () {
|
|
865
|
-
return this.
|
|
857
|
+
return this.zq_1.po() ? this.zq_1.oo() : this.ar_1.oo();
|
|
858
|
+
};
|
|
859
|
+
protoOf(ConjunctionCursor).po = function () {
|
|
860
|
+
return this.zq_1.po() || this.ar_1.po();
|
|
866
861
|
};
|
|
867
862
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
868
863
|
if (this === other)
|
|
@@ -871,44 +866,44 @@
|
|
|
871
866
|
return false;
|
|
872
867
|
if (!(other instanceof ConjunctionCursor))
|
|
873
868
|
THROW_CCE();
|
|
874
|
-
if (!equals(this.yq_1, other.yq_1))
|
|
875
|
-
return false;
|
|
876
869
|
if (!equals(this.zq_1, other.zq_1))
|
|
877
870
|
return false;
|
|
871
|
+
if (!equals(this.ar_1, other.ar_1))
|
|
872
|
+
return false;
|
|
878
873
|
return true;
|
|
879
874
|
};
|
|
880
875
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
881
|
-
var result = hashCode(this.
|
|
882
|
-
result = imul(31, result) + hashCode(this.
|
|
876
|
+
var result = hashCode(this.zq_1);
|
|
877
|
+
result = imul(31, result) + hashCode(this.ar_1) | 0;
|
|
883
878
|
return result;
|
|
884
879
|
};
|
|
885
880
|
function EmptyCursor() {
|
|
886
881
|
EmptyCursor_instance = this;
|
|
887
882
|
AbstractCursor.call(this);
|
|
888
883
|
}
|
|
889
|
-
protoOf(EmptyCursor).
|
|
884
|
+
protoOf(EmptyCursor).no = function () {
|
|
890
885
|
throw NoSuchElementException_init_$Create$();
|
|
891
886
|
};
|
|
892
|
-
protoOf(EmptyCursor).
|
|
887
|
+
protoOf(EmptyCursor).oo = function () {
|
|
893
888
|
return null;
|
|
894
889
|
};
|
|
895
|
-
protoOf(EmptyCursor).
|
|
890
|
+
protoOf(EmptyCursor).po = function () {
|
|
896
891
|
return false;
|
|
897
892
|
};
|
|
898
|
-
protoOf(EmptyCursor).
|
|
893
|
+
protoOf(EmptyCursor).qo = function () {
|
|
899
894
|
return true;
|
|
900
895
|
};
|
|
901
896
|
protoOf(EmptyCursor).toString = function () {
|
|
902
897
|
return protoOf(AbstractCursor).toString.call(this);
|
|
903
898
|
};
|
|
904
|
-
protoOf(EmptyCursor).
|
|
899
|
+
protoOf(EmptyCursor).cr = function (mapper) {
|
|
905
900
|
return this;
|
|
906
901
|
};
|
|
907
902
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
908
|
-
return this.
|
|
903
|
+
return this.cr(mapper);
|
|
909
904
|
};
|
|
910
|
-
protoOf(EmptyCursor).
|
|
911
|
-
return this.
|
|
905
|
+
protoOf(EmptyCursor).uq = function (mapper) {
|
|
906
|
+
return this.cr(mapper);
|
|
912
907
|
};
|
|
913
908
|
var EmptyCursor_instance;
|
|
914
909
|
function EmptyCursor_getInstance() {
|
|
@@ -917,27 +912,27 @@
|
|
|
917
912
|
return EmptyCursor_instance;
|
|
918
913
|
}
|
|
919
914
|
function IntIndexedImpl(index, value) {
|
|
920
|
-
this.
|
|
921
|
-
this.
|
|
915
|
+
this.dr_1 = index;
|
|
916
|
+
this.er_1 = value;
|
|
922
917
|
}
|
|
923
|
-
protoOf(IntIndexedImpl).
|
|
924
|
-
return this.cr_1;
|
|
925
|
-
};
|
|
926
|
-
protoOf(IntIndexedImpl).c2 = function () {
|
|
918
|
+
protoOf(IntIndexedImpl).so = function () {
|
|
927
919
|
return this.dr_1;
|
|
928
920
|
};
|
|
929
|
-
protoOf(IntIndexedImpl).
|
|
930
|
-
return this.
|
|
921
|
+
protoOf(IntIndexedImpl).d2 = function () {
|
|
922
|
+
return this.er_1;
|
|
931
923
|
};
|
|
932
|
-
protoOf(IntIndexedImpl).
|
|
924
|
+
protoOf(IntIndexedImpl).ub = function () {
|
|
933
925
|
return this.dr_1;
|
|
934
926
|
};
|
|
927
|
+
protoOf(IntIndexedImpl).vb = function () {
|
|
928
|
+
return this.er_1;
|
|
929
|
+
};
|
|
935
930
|
protoOf(IntIndexedImpl).toString = function () {
|
|
936
|
-
return 'IntIndexedImpl(index=' + this.
|
|
931
|
+
return 'IntIndexedImpl(index=' + this.dr_1 + ', value=' + toString(this.er_1) + ')';
|
|
937
932
|
};
|
|
938
933
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
939
|
-
var result = this.
|
|
940
|
-
result = imul(result, 31) + (this.
|
|
934
|
+
var result = this.dr_1;
|
|
935
|
+
result = imul(result, 31) + (this.er_1 == null ? 0 : hashCode(this.er_1)) | 0;
|
|
941
936
|
return result;
|
|
942
937
|
};
|
|
943
938
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -945,102 +940,102 @@
|
|
|
945
940
|
return true;
|
|
946
941
|
if (!(other instanceof IntIndexedImpl))
|
|
947
942
|
return false;
|
|
948
|
-
if (!(this.
|
|
943
|
+
if (!(this.dr_1 === other.dr_1))
|
|
949
944
|
return false;
|
|
950
|
-
if (!equals(this.
|
|
945
|
+
if (!equals(this.er_1, other.er_1))
|
|
951
946
|
return false;
|
|
952
947
|
return true;
|
|
953
948
|
};
|
|
954
|
-
protoOf(IntIndexedImpl).
|
|
955
|
-
return this.
|
|
949
|
+
protoOf(IntIndexedImpl).z1 = function (other) {
|
|
950
|
+
return this.uo((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
956
951
|
};
|
|
957
952
|
function _get_wrapped__s2ip8($this) {
|
|
958
|
-
var tmp0 = $this.
|
|
953
|
+
var tmp0 = $this.gr_1;
|
|
959
954
|
var tmp = KProperty1;
|
|
960
955
|
// Inline function 'kotlin.getValue' call
|
|
961
|
-
|
|
962
|
-
return tmp0.
|
|
956
|
+
/* dead property reference removed */
|
|
957
|
+
return tmp0.d2();
|
|
963
958
|
}
|
|
964
959
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
965
960
|
return function () {
|
|
966
|
-
return new NonLastCursor(this$0.
|
|
961
|
+
return new NonLastCursor(this$0.fr_1);
|
|
967
962
|
};
|
|
968
963
|
}
|
|
969
964
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
970
|
-
return function (p0) {
|
|
965
|
+
return constructCallableReference(function (p0) {
|
|
971
966
|
return _get_wrapped__s2ip8(p0);
|
|
972
|
-
};
|
|
967
|
+
}, 1, 0, 2);
|
|
973
968
|
}
|
|
974
969
|
function LazyCursor(delegate) {
|
|
975
970
|
AbstractCursor.call(this);
|
|
976
|
-
this.
|
|
971
|
+
this.fr_1 = delegate;
|
|
977
972
|
var tmp = this;
|
|
978
|
-
tmp.
|
|
973
|
+
tmp.gr_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
979
974
|
}
|
|
980
|
-
protoOf(LazyCursor).
|
|
975
|
+
protoOf(LazyCursor).tq = function () {
|
|
981
976
|
return true;
|
|
982
977
|
};
|
|
983
|
-
protoOf(LazyCursor).mo = function () {
|
|
984
|
-
return _get_wrapped__s2ip8(this).mo();
|
|
985
|
-
};
|
|
986
978
|
protoOf(LazyCursor).no = function () {
|
|
987
979
|
return _get_wrapped__s2ip8(this).no();
|
|
988
980
|
};
|
|
989
981
|
protoOf(LazyCursor).oo = function () {
|
|
990
|
-
return
|
|
982
|
+
return _get_wrapped__s2ip8(this).oo();
|
|
991
983
|
};
|
|
992
984
|
protoOf(LazyCursor).po = function () {
|
|
985
|
+
return true;
|
|
986
|
+
};
|
|
987
|
+
protoOf(LazyCursor).qo = function () {
|
|
993
988
|
return false;
|
|
994
989
|
};
|
|
995
990
|
protoOf(LazyCursor).toString = function () {
|
|
996
991
|
return protoOf(AbstractCursor).toString.call(this);
|
|
997
992
|
};
|
|
998
|
-
protoOf(LazyCursor).
|
|
999
|
-
return _get_wrapped__s2ip8(this).
|
|
993
|
+
protoOf(LazyCursor).m = function () {
|
|
994
|
+
return _get_wrapped__s2ip8(this).m();
|
|
1000
995
|
};
|
|
1001
996
|
protoOf(LazyCursor).iterator = function () {
|
|
1002
|
-
return this.
|
|
997
|
+
return this.m();
|
|
1003
998
|
};
|
|
1004
999
|
protoOf(LazyCursor).hashCode = function () {
|
|
1005
|
-
return hashCode(this.
|
|
1000
|
+
return hashCode(this.fr_1);
|
|
1006
1001
|
};
|
|
1007
1002
|
protoOf(LazyCursor).equals = function (other) {
|
|
1008
1003
|
if (this === other)
|
|
1009
1004
|
return true;
|
|
1010
1005
|
if (!(other instanceof LazyCursor))
|
|
1011
1006
|
return false;
|
|
1012
|
-
if (!equals(this.
|
|
1007
|
+
if (!equals(this.fr_1, other.fr_1))
|
|
1013
1008
|
return false;
|
|
1014
1009
|
return true;
|
|
1015
1010
|
};
|
|
1016
1011
|
function LongIndexedImpl(index, value) {
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1012
|
+
this.hr_1 = index;
|
|
1013
|
+
this.ir_1 = value;
|
|
1019
1014
|
}
|
|
1020
|
-
protoOf(LongIndexedImpl).
|
|
1021
|
-
return this.gr_1;
|
|
1022
|
-
};
|
|
1023
|
-
protoOf(LongIndexedImpl).c2 = function () {
|
|
1015
|
+
protoOf(LongIndexedImpl).so = function () {
|
|
1024
1016
|
return this.hr_1;
|
|
1025
1017
|
};
|
|
1026
|
-
protoOf(LongIndexedImpl).
|
|
1027
|
-
return
|
|
1018
|
+
protoOf(LongIndexedImpl).d2 = function () {
|
|
1019
|
+
return this.ir_1;
|
|
1028
1020
|
};
|
|
1029
|
-
protoOf(LongIndexedImpl).
|
|
1030
|
-
return this.
|
|
1021
|
+
protoOf(LongIndexedImpl).nq = function (other) {
|
|
1022
|
+
return convertToInt(subtract(this.hr_1, other.so()));
|
|
1031
1023
|
};
|
|
1032
|
-
protoOf(LongIndexedImpl).
|
|
1033
|
-
return this.
|
|
1024
|
+
protoOf(LongIndexedImpl).z1 = function (other) {
|
|
1025
|
+
return this.nq((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1034
1026
|
};
|
|
1035
|
-
protoOf(LongIndexedImpl).
|
|
1027
|
+
protoOf(LongIndexedImpl).ub = function () {
|
|
1036
1028
|
return this.hr_1;
|
|
1037
1029
|
};
|
|
1030
|
+
protoOf(LongIndexedImpl).vb = function () {
|
|
1031
|
+
return this.ir_1;
|
|
1032
|
+
};
|
|
1038
1033
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1039
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1034
|
+
return 'LongIndexedImpl(index=' + this.hr_1.toString() + ', value=' + toString(this.ir_1) + ')';
|
|
1040
1035
|
};
|
|
1041
1036
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1042
|
-
var result = getBigIntHashCode(this.
|
|
1043
|
-
result = imul(result, 31) + (this.
|
|
1037
|
+
var result = getBigIntHashCode(this.hr_1);
|
|
1038
|
+
result = imul(result, 31) + (this.ir_1 == null ? 0 : hashCode(this.ir_1)) | 0;
|
|
1044
1039
|
return result;
|
|
1045
1040
|
};
|
|
1046
1041
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1048,43 +1043,43 @@
|
|
|
1048
1043
|
return true;
|
|
1049
1044
|
if (!(other instanceof LongIndexedImpl))
|
|
1050
1045
|
return false;
|
|
1051
|
-
if (!(this.
|
|
1046
|
+
if (!(this.hr_1 === other.hr_1))
|
|
1052
1047
|
return false;
|
|
1053
|
-
if (!equals(this.
|
|
1048
|
+
if (!equals(this.ir_1, other.ir_1))
|
|
1054
1049
|
return false;
|
|
1055
1050
|
return true;
|
|
1056
1051
|
};
|
|
1057
1052
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1058
1053
|
return function () {
|
|
1059
|
-
return this$0.
|
|
1054
|
+
return this$0.kr_1(ensureNotNull(this$0.jr_1.oo()));
|
|
1060
1055
|
};
|
|
1061
1056
|
}
|
|
1062
1057
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1063
|
-
return function (p0) {
|
|
1064
|
-
return p0.
|
|
1065
|
-
};
|
|
1058
|
+
return constructCallableReference(function (p0) {
|
|
1059
|
+
return p0.oo();
|
|
1060
|
+
}, 1, 0, 3);
|
|
1066
1061
|
}
|
|
1067
1062
|
function MapperCursor(wrapped, mapper) {
|
|
1068
1063
|
AbstractCursor.call(this);
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1064
|
+
this.jr_1 = wrapped;
|
|
1065
|
+
this.kr_1 = mapper;
|
|
1071
1066
|
var tmp = this;
|
|
1072
|
-
tmp.
|
|
1067
|
+
tmp.lr_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1073
1068
|
}
|
|
1074
|
-
protoOf(MapperCursor).mo = function () {
|
|
1075
|
-
return this.ir_1.mo().tq(this.jr_1);
|
|
1076
|
-
};
|
|
1077
1069
|
protoOf(MapperCursor).no = function () {
|
|
1078
|
-
|
|
1070
|
+
return this.jr_1.no().uq(this.kr_1);
|
|
1071
|
+
};
|
|
1072
|
+
protoOf(MapperCursor).oo = function () {
|
|
1073
|
+
var tmp0 = this.lr_1;
|
|
1079
1074
|
var tmp = KProperty1;
|
|
1080
1075
|
// Inline function 'kotlin.getValue' call
|
|
1081
|
-
|
|
1082
|
-
return tmp0.
|
|
1076
|
+
/* dead property reference removed */
|
|
1077
|
+
return tmp0.d2();
|
|
1083
1078
|
};
|
|
1084
|
-
protoOf(MapperCursor).
|
|
1079
|
+
protoOf(MapperCursor).po = function () {
|
|
1085
1080
|
return true;
|
|
1086
1081
|
};
|
|
1087
|
-
protoOf(MapperCursor).
|
|
1082
|
+
protoOf(MapperCursor).qo = function () {
|
|
1088
1083
|
return false;
|
|
1089
1084
|
};
|
|
1090
1085
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1094,60 +1089,60 @@
|
|
|
1094
1089
|
return false;
|
|
1095
1090
|
if (!(other instanceof MapperCursor))
|
|
1096
1091
|
THROW_CCE();
|
|
1097
|
-
if (!equals(this.ir_1, other.ir_1))
|
|
1098
|
-
return false;
|
|
1099
1092
|
if (!equals(this.jr_1, other.jr_1))
|
|
1100
1093
|
return false;
|
|
1094
|
+
if (!equals(this.kr_1, other.kr_1))
|
|
1095
|
+
return false;
|
|
1101
1096
|
return true;
|
|
1102
1097
|
};
|
|
1103
1098
|
protoOf(MapperCursor).hashCode = function () {
|
|
1104
|
-
var result = hashCode(this.
|
|
1105
|
-
result = imul(31, result) + hashCode(this.
|
|
1099
|
+
var result = hashCode(this.jr_1);
|
|
1100
|
+
result = imul(31, result) + hashCode(this.kr_1) | 0;
|
|
1106
1101
|
return result;
|
|
1107
1102
|
};
|
|
1108
|
-
protoOf(MapperCursor).
|
|
1109
|
-
return new ValueCursor(mapper(this.
|
|
1103
|
+
protoOf(MapperCursor).mr = function (mapper) {
|
|
1104
|
+
return new ValueCursor(mapper(this.oo()), this.no().uq(mapper));
|
|
1110
1105
|
};
|
|
1111
1106
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1112
|
-
return this.
|
|
1107
|
+
return this.mr(mapper);
|
|
1113
1108
|
};
|
|
1114
|
-
protoOf(MapperCursor).
|
|
1115
|
-
return this.
|
|
1109
|
+
protoOf(MapperCursor).uq = function (mapper) {
|
|
1110
|
+
return this.mr(mapper);
|
|
1116
1111
|
};
|
|
1117
1112
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1118
1113
|
return function () {
|
|
1119
1114
|
// Inline function 'kotlin.also' call
|
|
1120
|
-
var this_0 = Companion_instance_5.
|
|
1121
|
-
this$0.
|
|
1115
|
+
var this_0 = Companion_instance_5.ro($source);
|
|
1116
|
+
this$0.nr_1 = null;
|
|
1122
1117
|
return this_0;
|
|
1123
1118
|
};
|
|
1124
1119
|
}
|
|
1125
1120
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1126
|
-
return function (p0) {
|
|
1127
|
-
return p0.
|
|
1128
|
-
};
|
|
1121
|
+
return constructCallableReference(function (p0) {
|
|
1122
|
+
return p0.no();
|
|
1123
|
+
}, 1, 0, 4);
|
|
1129
1124
|
}
|
|
1130
1125
|
function NonLastCursor(source) {
|
|
1131
1126
|
AbstractCursor.call(this);
|
|
1132
|
-
this.
|
|
1127
|
+
this.nr_1 = source;
|
|
1133
1128
|
var tmp = this;
|
|
1134
|
-
tmp.
|
|
1135
|
-
this.
|
|
1129
|
+
tmp.pr_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1130
|
+
this.qr_1 = source.q();
|
|
1136
1131
|
}
|
|
1137
|
-
protoOf(NonLastCursor).
|
|
1138
|
-
var tmp0 = this.
|
|
1132
|
+
protoOf(NonLastCursor).no = function () {
|
|
1133
|
+
var tmp0 = this.pr_1;
|
|
1139
1134
|
var tmp = KProperty1;
|
|
1140
1135
|
// Inline function 'kotlin.getValue' call
|
|
1141
|
-
|
|
1142
|
-
return tmp0.
|
|
1143
|
-
};
|
|
1144
|
-
protoOf(NonLastCursor).no = function () {
|
|
1145
|
-
return this.pr_1;
|
|
1136
|
+
/* dead property reference removed */
|
|
1137
|
+
return tmp0.d2();
|
|
1146
1138
|
};
|
|
1147
1139
|
protoOf(NonLastCursor).oo = function () {
|
|
1148
|
-
return
|
|
1140
|
+
return this.qr_1;
|
|
1149
1141
|
};
|
|
1150
1142
|
protoOf(NonLastCursor).po = function () {
|
|
1143
|
+
return true;
|
|
1144
|
+
};
|
|
1145
|
+
protoOf(NonLastCursor).qo = function () {
|
|
1151
1146
|
return false;
|
|
1152
1147
|
};
|
|
1153
1148
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1155,53 +1150,53 @@
|
|
|
1155
1150
|
};
|
|
1156
1151
|
function removeLeastRecent($this) {
|
|
1157
1152
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1158
|
-
var tmp$ret$0 = $this.
|
|
1153
|
+
var tmp$ret$0 = $this.sr_1.b1();
|
|
1159
1154
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1160
1155
|
// Inline function 'kotlin.collections.component1' call
|
|
1161
|
-
var key = _destruct__k2r9zo.
|
|
1156
|
+
var key = _destruct__k2r9zo.c2();
|
|
1162
1157
|
// Inline function 'kotlin.collections.component2' call
|
|
1163
|
-
var value = _destruct__k2r9zo.
|
|
1164
|
-
$this.
|
|
1165
|
-
return Companion_instance_4.
|
|
1158
|
+
var value = _destruct__k2r9zo.d2();
|
|
1159
|
+
$this.sr_1.k4(key);
|
|
1160
|
+
return Companion_instance_4.oq(to(key, value));
|
|
1166
1161
|
}
|
|
1167
1162
|
function removeLeastRecentIfNecessary($this) {
|
|
1168
1163
|
var tmp;
|
|
1169
|
-
if ($this.
|
|
1164
|
+
if ($this.sr_1.s() >= $this.rr_1) {
|
|
1170
1165
|
tmp = removeLeastRecent($this);
|
|
1171
1166
|
} else {
|
|
1172
|
-
tmp = Companion_instance_4.
|
|
1167
|
+
tmp = Companion_instance_4.io();
|
|
1173
1168
|
}
|
|
1174
1169
|
return tmp;
|
|
1175
1170
|
}
|
|
1176
1171
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1177
1172
|
return function () {
|
|
1178
1173
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1179
|
-
var tmp0 = this$0.
|
|
1174
|
+
var tmp0 = this$0.sr_1;
|
|
1180
1175
|
var tmp2 = $key;
|
|
1181
1176
|
// Inline function 'kotlin.collections.set' call
|
|
1182
1177
|
var value = $value;
|
|
1183
|
-
tmp0.
|
|
1178
|
+
tmp0.j4(tmp2, value);
|
|
1184
1179
|
return evicted;
|
|
1185
1180
|
};
|
|
1186
1181
|
}
|
|
1187
1182
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1188
1183
|
return function () {
|
|
1189
1184
|
var tmp;
|
|
1190
|
-
if (this$0.
|
|
1191
|
-
tmp = Companion_instance_4.
|
|
1185
|
+
if (this$0.sr_1.e2($key)) {
|
|
1186
|
+
tmp = Companion_instance_4.jo(this$0.sr_1.g2($key));
|
|
1192
1187
|
} else {
|
|
1193
|
-
tmp = Companion_instance_4.
|
|
1188
|
+
tmp = Companion_instance_4.io();
|
|
1194
1189
|
}
|
|
1195
1190
|
return tmp;
|
|
1196
1191
|
};
|
|
1197
1192
|
}
|
|
1198
1193
|
function SimpleLRUCache$toSequence$lambda$lambda(it) {
|
|
1199
1194
|
// Inline function 'kotlin.collections.toPair' call
|
|
1200
|
-
return new Pair(it.
|
|
1195
|
+
return new Pair(it.c2(), it.d2());
|
|
1201
1196
|
}
|
|
1202
1197
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1203
1198
|
return function () {
|
|
1204
|
-
var tmp = asSequence(this$0.
|
|
1199
|
+
var tmp = asSequence(this$0.sr_1.b1());
|
|
1205
1200
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1206
1201
|
};
|
|
1207
1202
|
}
|
|
@@ -1209,19 +1204,19 @@
|
|
|
1209
1204
|
return toString(it.first) + ' = ' + toString(it.second);
|
|
1210
1205
|
}
|
|
1211
1206
|
function SimpleLRUCache(capacity) {
|
|
1212
|
-
this.
|
|
1207
|
+
this.rr_1 = capacity;
|
|
1213
1208
|
// Inline function 'kotlin.require' call
|
|
1214
1209
|
// Inline function 'kotlin.require' call
|
|
1215
|
-
if (!(this.
|
|
1210
|
+
if (!(this.rr_1 > 0)) {
|
|
1216
1211
|
var message = 'Failed requirement.';
|
|
1217
1212
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1218
1213
|
}
|
|
1219
|
-
this.
|
|
1214
|
+
this.sr_1 = LinkedHashMap_init_$Create$();
|
|
1220
1215
|
}
|
|
1221
|
-
protoOf(SimpleLRUCache).
|
|
1216
|
+
protoOf(SimpleLRUCache).bo = function (key, value) {
|
|
1222
1217
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1223
1218
|
};
|
|
1224
|
-
protoOf(SimpleLRUCache).
|
|
1219
|
+
protoOf(SimpleLRUCache).g2 = function (key) {
|
|
1225
1220
|
return synchronizedOnSelf(this, SimpleLRUCache$get$lambda(this, key));
|
|
1226
1221
|
};
|
|
1227
1222
|
protoOf(SimpleLRUCache).equals = function (other) {
|
|
@@ -1231,39 +1226,39 @@
|
|
|
1231
1226
|
return false;
|
|
1232
1227
|
if (!(other instanceof SimpleLRUCache))
|
|
1233
1228
|
THROW_CCE();
|
|
1234
|
-
if (!(this.
|
|
1229
|
+
if (!(this.rr_1 === other.rr_1))
|
|
1235
1230
|
return false;
|
|
1236
|
-
if (!this.
|
|
1231
|
+
if (!this.sr_1.equals(other.sr_1))
|
|
1237
1232
|
return false;
|
|
1238
1233
|
return true;
|
|
1239
1234
|
};
|
|
1240
1235
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1241
|
-
var result = this.
|
|
1242
|
-
result = imul(31, result) + this.
|
|
1236
|
+
var result = this.rr_1;
|
|
1237
|
+
result = imul(31, result) + this.sr_1.hashCode() | 0;
|
|
1243
1238
|
return result;
|
|
1244
1239
|
};
|
|
1245
|
-
protoOf(SimpleLRUCache).
|
|
1240
|
+
protoOf(SimpleLRUCache).tr = function () {
|
|
1246
1241
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1247
1242
|
};
|
|
1248
1243
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1249
|
-
var tmp = this.
|
|
1244
|
+
var tmp = this.tr();
|
|
1250
1245
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1251
1246
|
};
|
|
1252
1247
|
function ValueCursor(current, next) {
|
|
1253
1248
|
AbstractCursor.call(this);
|
|
1254
|
-
this.
|
|
1255
|
-
this.
|
|
1249
|
+
this.ur_1 = current;
|
|
1250
|
+
this.vr_1 = next;
|
|
1256
1251
|
}
|
|
1257
|
-
protoOf(ValueCursor).
|
|
1258
|
-
return this.tr_1;
|
|
1259
|
-
};
|
|
1260
|
-
protoOf(ValueCursor).mo = function () {
|
|
1252
|
+
protoOf(ValueCursor).oo = function () {
|
|
1261
1253
|
return this.ur_1;
|
|
1262
1254
|
};
|
|
1263
|
-
protoOf(ValueCursor).
|
|
1264
|
-
return
|
|
1255
|
+
protoOf(ValueCursor).no = function () {
|
|
1256
|
+
return this.vr_1;
|
|
1265
1257
|
};
|
|
1266
1258
|
protoOf(ValueCursor).po = function () {
|
|
1259
|
+
return true;
|
|
1260
|
+
};
|
|
1261
|
+
protoOf(ValueCursor).qo = function () {
|
|
1267
1262
|
return false;
|
|
1268
1263
|
};
|
|
1269
1264
|
function dequeOf(items) {
|
|
@@ -1280,21 +1275,21 @@
|
|
|
1280
1275
|
return toMutableList(items);
|
|
1281
1276
|
}
|
|
1282
1277
|
function takeFirst(_this__u8e3s4) {
|
|
1283
|
-
if (_this__u8e3s4.
|
|
1278
|
+
if (_this__u8e3s4.g())
|
|
1284
1279
|
return null;
|
|
1285
|
-
var first = _this__u8e3s4.
|
|
1286
|
-
_this__u8e3s4.
|
|
1280
|
+
var first = _this__u8e3s4.t(0);
|
|
1281
|
+
_this__u8e3s4.f3(0);
|
|
1287
1282
|
return first;
|
|
1288
1283
|
}
|
|
1289
1284
|
function addFirst(_this__u8e3s4, item) {
|
|
1290
|
-
_this__u8e3s4.
|
|
1285
|
+
_this__u8e3s4.q3(0, item);
|
|
1291
1286
|
}
|
|
1292
1287
|
function addFirst_0(_this__u8e3s4, items) {
|
|
1293
|
-
var i = _this__u8e3s4.
|
|
1294
|
-
var _iterator__ex2g4s = items.
|
|
1295
|
-
while (_iterator__ex2g4s.
|
|
1296
|
-
var item = _iterator__ex2g4s.
|
|
1297
|
-
i.
|
|
1288
|
+
var i = _this__u8e3s4.a4();
|
|
1289
|
+
var _iterator__ex2g4s = items.m();
|
|
1290
|
+
while (_iterator__ex2g4s.p()) {
|
|
1291
|
+
var item = _iterator__ex2g4s.q();
|
|
1292
|
+
i.r3(item);
|
|
1298
1293
|
}
|
|
1299
1294
|
}
|
|
1300
1295
|
function synchronizedOn(obj, action) {
|
|
@@ -1307,9 +1302,9 @@
|
|
|
1307
1302
|
//region block: post-declaration
|
|
1308
1303
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1309
1304
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1310
|
-
protoOf(CachedImpl).
|
|
1311
|
-
protoOf(IntIndexedImpl).
|
|
1312
|
-
protoOf(SimpleLRUCache).
|
|
1305
|
+
protoOf(CachedImpl).ho = ifValid;
|
|
1306
|
+
protoOf(IntIndexedImpl).uo = compareTo_0;
|
|
1307
|
+
protoOf(SimpleLRUCache).co = getOrSet;
|
|
1313
1308
|
//endregion
|
|
1314
1309
|
//region block: init
|
|
1315
1310
|
Companion_instance = new Companion();
|
|
@@ -1330,7 +1325,7 @@
|
|
|
1330
1325
|
_.$_$.f = Castable;
|
|
1331
1326
|
_.$_$.g = component1;
|
|
1332
1327
|
_.$_$.h = component2;
|
|
1333
|
-
_.$_$.i =
|
|
1328
|
+
_.$_$.i = compareTo_1;
|
|
1334
1329
|
_.$_$.j = LongIndexed;
|
|
1335
1330
|
_.$_$.k = Some;
|
|
1336
1331
|
_.$_$.l = containsTag;
|