@tuprolog/arg2p 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 +3265 -3058
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +526 -620
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +259 -259
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +172 -171
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +6 -6
- package/2p-dsl-unify.js.map +1 -1
- package/2p-parser-core.js +266 -875
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +5554 -0
- package/2p-parser-impl.js.map +1 -0
- package/2p-parser-theory.js +199 -45
- package/2p-parser-theory.js.map +1 -1
- package/2p-solve-classic.js +1075 -1081
- package/2p-solve-classic.js.map +1 -1
- package/2p-solve.js +4008 -4039
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1814 -1834
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +648 -367
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +475 -479
- package/2p-utils.js.map +1 -1
- package/arg2p-causality-solver.js +571 -265
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +2199 -2029
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +125 -125
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2965 -2707
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1598 -1598
- package/kt-math.js.map +1 -1
- package/package.json +2 -5
- package/2p-parser-js.js +0 -39
- package/2p-parser-js.js.map +0 -1
package/2p-utils.js
CHANGED
|
@@ -16,78 +16,80 @@
|
|
|
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.$_$.f7;
|
|
20
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.t6;
|
|
21
|
+
var Unit_instance = kotlin_kotlin.$_$.o;
|
|
22
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.u6;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.nb;
|
|
24
|
+
var isInterface = kotlin_kotlin.$_$.z6;
|
|
25
|
+
var Iterable = kotlin_kotlin.$_$.s1;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.s6;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.b;
|
|
28
|
-
var Sequence = kotlin_kotlin.$_$.
|
|
29
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
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
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var Regex_init_$Create$ = kotlin_kotlin.$_$.
|
|
59
|
-
var toString = kotlin_kotlin.$_$.
|
|
60
|
-
var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.
|
|
61
|
-
var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.
|
|
62
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
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.$_$.
|
|
69
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
var
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var
|
|
78
|
-
var
|
|
28
|
+
var Sequence = kotlin_kotlin.$_$.c8;
|
|
29
|
+
var arrayIterator = kotlin_kotlin.$_$.b6;
|
|
30
|
+
var compareTo = kotlin_kotlin.$_$.i6;
|
|
31
|
+
var Comparable = kotlin_kotlin.$_$.cb;
|
|
32
|
+
var toList = kotlin_kotlin.$_$.o9;
|
|
33
|
+
var asSequence = kotlin_kotlin.$_$.g2;
|
|
34
|
+
var asIterable = kotlin_kotlin.$_$.b2;
|
|
35
|
+
var hashCode = kotlin_kotlin.$_$.r6;
|
|
36
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.j2;
|
|
37
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
38
|
+
var asIterable_0 = kotlin_kotlin.$_$.e8;
|
|
39
|
+
var sequence = kotlin_kotlin.$_$.h9;
|
|
40
|
+
var IntRange = kotlin_kotlin.$_$.s7;
|
|
41
|
+
var zip = kotlin_kotlin.$_$.s9;
|
|
42
|
+
var map = kotlin_kotlin.$_$.z8;
|
|
43
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
44
|
+
var KtList = kotlin_kotlin.$_$.t1;
|
|
45
|
+
var equals = kotlin_kotlin.$_$.l6;
|
|
46
|
+
var FunctionAdapter = kotlin_kotlin.$_$.a6;
|
|
47
|
+
var Comparator = kotlin_kotlin.$_$.db;
|
|
48
|
+
var CoroutineImpl = kotlin_kotlin.$_$.g5;
|
|
49
|
+
var SequenceScope = kotlin_kotlin.$_$.b8;
|
|
50
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f5;
|
|
51
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.v6;
|
|
52
|
+
var constructCallableReference = kotlin_kotlin.$_$.j6;
|
|
53
|
+
var withIndex = kotlin_kotlin.$_$.r9;
|
|
54
|
+
var ensureNotNull = kotlin_kotlin.$_$.sb;
|
|
55
|
+
var filterNot = kotlin_kotlin.$_$.m8;
|
|
56
|
+
var toMutableList = kotlin_kotlin.$_$.p9;
|
|
57
|
+
var minWithOrNull = kotlin_kotlin.$_$.a9;
|
|
58
|
+
var Regex_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
59
|
+
var toString = kotlin_kotlin.$_$.i7;
|
|
60
|
+
var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.b;
|
|
61
|
+
var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.a;
|
|
62
|
+
var toString_0 = kotlin_kotlin.$_$.yb;
|
|
63
|
+
var initMetadataForObject = kotlin_kotlin.$_$.w6;
|
|
64
|
+
var KtMap = kotlin_kotlin.$_$.v1;
|
|
65
|
+
var lazy = kotlin_kotlin.$_$.ub;
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.a8;
|
|
67
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.p6;
|
|
68
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.x7;
|
|
69
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.k1;
|
|
70
|
+
var subtract = kotlin_kotlin.$_$.y5;
|
|
71
|
+
var convertToInt = kotlin_kotlin.$_$.n5;
|
|
72
|
+
var getBigIntHashCode = kotlin_kotlin.$_$.n6;
|
|
73
|
+
var first = kotlin_kotlin.$_$.z2;
|
|
74
|
+
var to = kotlin_kotlin.$_$.zb;
|
|
75
|
+
var Pair = kotlin_kotlin.$_$.lb;
|
|
76
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
77
|
+
var joinToString = kotlin_kotlin.$_$.v8;
|
|
78
|
+
var mutableListOf = kotlin_kotlin.$_$.y3;
|
|
79
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
80
|
+
var addAll = kotlin_kotlin.$_$.x1;
|
|
79
81
|
//endregion
|
|
80
82
|
//region block: pre-declaration
|
|
81
83
|
initMetadataForCompanion(Companion);
|
|
82
84
|
function getOrSet(key, valueGenerator) {
|
|
83
|
-
var got = this.
|
|
85
|
+
var got = this.i2(key);
|
|
84
86
|
var tmp;
|
|
85
87
|
if (got instanceof Some) {
|
|
86
|
-
tmp = got.
|
|
88
|
+
tmp = got.gq_1;
|
|
87
89
|
} else {
|
|
88
90
|
// Inline function 'kotlin.also' call
|
|
89
91
|
var this_0 = valueGenerator();
|
|
90
|
-
this.
|
|
92
|
+
this.eq(key, this_0);
|
|
91
93
|
tmp = this_0;
|
|
92
94
|
}
|
|
93
95
|
return tmp;
|
|
@@ -96,13 +98,13 @@
|
|
|
96
98
|
initMetadataForCompanion(Companion_0);
|
|
97
99
|
function ifValid(consumer) {
|
|
98
100
|
var tmp;
|
|
99
|
-
if (this.
|
|
101
|
+
if (this.iq()) {
|
|
100
102
|
var tmp_0 = Companion_instance_5;
|
|
101
103
|
// Inline function 'kotlin.let' call
|
|
102
|
-
var tmp$ret$0 = consumer(this.
|
|
103
|
-
tmp = tmp_0.
|
|
104
|
+
var tmp$ret$0 = consumer(this.f2());
|
|
105
|
+
tmp = tmp_0.mq(tmp$ret$0);
|
|
104
106
|
} else {
|
|
105
|
-
tmp = Companion_instance_5.
|
|
107
|
+
tmp = Companion_instance_5.lq();
|
|
106
108
|
}
|
|
107
109
|
return tmp;
|
|
108
110
|
}
|
|
@@ -124,15 +126,15 @@
|
|
|
124
126
|
}
|
|
125
127
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
126
128
|
function component1() {
|
|
127
|
-
return this.
|
|
129
|
+
return this.vq();
|
|
128
130
|
}
|
|
129
131
|
function component2() {
|
|
130
|
-
return this.
|
|
132
|
+
return this.f2();
|
|
131
133
|
}
|
|
132
134
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
133
135
|
initMetadataForCompanion(Companion_2);
|
|
134
|
-
function
|
|
135
|
-
return this.
|
|
136
|
+
function compareTo_0(other) {
|
|
137
|
+
return compareTo(this.vq(), other.vq());
|
|
136
138
|
}
|
|
137
139
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
138
140
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -141,8 +143,8 @@
|
|
|
141
143
|
initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
142
144
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
143
145
|
initMetadataForCompanion(Companion_3);
|
|
144
|
-
function
|
|
145
|
-
return
|
|
146
|
+
function compareTo_1(other) {
|
|
147
|
+
return compareTo(this.vq(), other.vq());
|
|
146
148
|
}
|
|
147
149
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
148
150
|
initMetadataForCompanion(Companion_4);
|
|
@@ -152,14 +154,13 @@
|
|
|
152
154
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
153
155
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
154
156
|
function getTag(name) {
|
|
155
|
-
|
|
156
|
-
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
157
|
+
return this.dt().i2(name);
|
|
157
158
|
}
|
|
158
159
|
function containsTag(name) {
|
|
159
160
|
// Inline function 'kotlin.collections.contains' call
|
|
160
161
|
// Inline function 'kotlin.collections.containsKey' call
|
|
161
|
-
var this_0 = this.
|
|
162
|
-
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
162
|
+
var this_0 = this.dt();
|
|
163
|
+
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).g2(name);
|
|
163
164
|
}
|
|
164
165
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
165
166
|
initMetadataForCompanion(Companion_6);
|
|
@@ -178,7 +179,7 @@
|
|
|
178
179
|
//endregion
|
|
179
180
|
function Companion() {
|
|
180
181
|
}
|
|
181
|
-
protoOf(Companion).
|
|
182
|
+
protoOf(Companion).dq = function (capacity) {
|
|
182
183
|
return new SimpleLRUCache(capacity);
|
|
183
184
|
};
|
|
184
185
|
var Companion_instance;
|
|
@@ -189,7 +190,7 @@
|
|
|
189
190
|
}
|
|
190
191
|
function Companion_0() {
|
|
191
192
|
}
|
|
192
|
-
protoOf(Companion_0).
|
|
193
|
+
protoOf(Companion_0).hq = function (generator) {
|
|
193
194
|
return new CachedImpl(generator);
|
|
194
195
|
};
|
|
195
196
|
var Companion_instance_0;
|
|
@@ -216,39 +217,39 @@
|
|
|
216
217
|
return Companion_instance_1;
|
|
217
218
|
}
|
|
218
219
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
219
|
-
this.
|
|
220
|
+
this.oq_1 = this$0;
|
|
220
221
|
}
|
|
221
|
-
protoOf(Cursor$asIterable$$inlined$Iterable$1).
|
|
222
|
-
return this.
|
|
222
|
+
protoOf(Cursor$asIterable$$inlined$Iterable$1).n = function () {
|
|
223
|
+
return this.oq_1.iterator();
|
|
223
224
|
};
|
|
224
225
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
225
|
-
this.
|
|
226
|
+
this.pq_1 = this$0;
|
|
226
227
|
}
|
|
227
|
-
protoOf(Cursor$asSequence$$inlined$Sequence$1).
|
|
228
|
-
return this.
|
|
228
|
+
protoOf(Cursor$asSequence$$inlined$Sequence$1).n = function () {
|
|
229
|
+
return this.pq_1.iterator();
|
|
229
230
|
};
|
|
230
231
|
function Cursor() {
|
|
231
232
|
}
|
|
232
233
|
function cursor(_this__u8e3s4) {
|
|
233
|
-
return toCursor(_this__u8e3s4.
|
|
234
|
+
return toCursor(_this__u8e3s4.n());
|
|
234
235
|
}
|
|
235
236
|
function plus(_this__u8e3s4, other) {
|
|
236
|
-
return other.
|
|
237
|
+
return other.sq() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.sq() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
237
238
|
}
|
|
238
239
|
function cursor_0(_this__u8e3s4) {
|
|
239
|
-
return toCursor(_this__u8e3s4.
|
|
240
|
+
return toCursor(_this__u8e3s4.n());
|
|
240
241
|
}
|
|
241
242
|
function cursor_1(_this__u8e3s4) {
|
|
242
243
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
243
244
|
}
|
|
244
245
|
function toCursor(_this__u8e3s4) {
|
|
245
|
-
return Companion_instance_6.
|
|
246
|
+
return Companion_instance_6.uq(_this__u8e3s4);
|
|
246
247
|
}
|
|
247
248
|
function Indexed() {
|
|
248
249
|
}
|
|
249
250
|
function Companion_2() {
|
|
250
251
|
}
|
|
251
|
-
protoOf(Companion_2).
|
|
252
|
+
protoOf(Companion_2).wq = function (index, value) {
|
|
252
253
|
return new IntIndexedImpl(index, value);
|
|
253
254
|
};
|
|
254
255
|
var Companion_instance_2;
|
|
@@ -268,10 +269,10 @@
|
|
|
268
269
|
}
|
|
269
270
|
function itemWiseHashCode_0(iterable) {
|
|
270
271
|
var hash = 13;
|
|
271
|
-
var i = iterable.
|
|
272
|
-
while (i.
|
|
272
|
+
var i = iterable.n();
|
|
273
|
+
while (i.q()) {
|
|
273
274
|
var tmp = imul(31, hash);
|
|
274
|
-
var tmp0_safe_receiver = i.
|
|
275
|
+
var tmp0_safe_receiver = i.r();
|
|
275
276
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
276
277
|
hash = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
277
278
|
}
|
|
@@ -285,11 +286,11 @@
|
|
|
285
286
|
// Inline function 'kotlin.collections.map' call
|
|
286
287
|
// Inline function 'kotlin.collections.mapTo' call
|
|
287
288
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
|
|
288
|
-
var _iterator__ex2g4s = iterables.
|
|
289
|
-
while (_iterator__ex2g4s.
|
|
290
|
-
var item = _iterator__ex2g4s.
|
|
291
|
-
var tmp$ret$
|
|
292
|
-
destination.
|
|
289
|
+
var _iterator__ex2g4s = iterables.n();
|
|
290
|
+
while (_iterator__ex2g4s.q()) {
|
|
291
|
+
var item = _iterator__ex2g4s.r();
|
|
292
|
+
var tmp$ret$2 = asIterable_0(item);
|
|
293
|
+
destination.k(tmp$ret$2);
|
|
293
294
|
}
|
|
294
295
|
return merge(tmp, destination);
|
|
295
296
|
}
|
|
@@ -306,16 +307,16 @@
|
|
|
306
307
|
return sequence(insertAt$slambda_0(_this__u8e3s4, index, item, items, null));
|
|
307
308
|
}
|
|
308
309
|
function itemWiseEquals_1(iterable1, iterable2, comparator) {
|
|
309
|
-
var i = iterable1.
|
|
310
|
-
var j = iterable2.
|
|
311
|
-
while (i.
|
|
312
|
-
var a = i.
|
|
313
|
-
var b = j.
|
|
310
|
+
var i = iterable1.n();
|
|
311
|
+
var j = iterable2.n();
|
|
312
|
+
while (i.q() && j.q()) {
|
|
313
|
+
var a = i.r();
|
|
314
|
+
var b = j.r();
|
|
314
315
|
if (!comparator(a, b)) {
|
|
315
316
|
return false;
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
|
-
return i.
|
|
319
|
+
return i.q() === j.q();
|
|
319
320
|
}
|
|
320
321
|
function merge(comparator, iterables) {
|
|
321
322
|
return sequence(merge$slambda_0(iterables, comparator, null));
|
|
@@ -332,12 +333,12 @@
|
|
|
332
333
|
return map(tmp, assertItemsAreNotNull$lambda);
|
|
333
334
|
}
|
|
334
335
|
function assertItemsAreNotNull_1(_this__u8e3s4) {
|
|
335
|
-
var iterator = _this__u8e3s4.
|
|
336
|
+
var iterator = _this__u8e3s4.n();
|
|
336
337
|
var index = 0;
|
|
337
|
-
while (iterator.
|
|
338
|
+
while (iterator.q()) {
|
|
338
339
|
var index_0 = index;
|
|
339
340
|
index = index + 1 | 0;
|
|
340
|
-
var value = iterator.
|
|
341
|
+
var value = iterator.r();
|
|
341
342
|
if (value == null) {
|
|
342
343
|
throw IllegalArgumentException_init_$Create$('Item at index ' + index_0 + ' is null');
|
|
343
344
|
}
|
|
@@ -345,23 +346,23 @@
|
|
|
345
346
|
return isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4 : THROW_CCE();
|
|
346
347
|
}
|
|
347
348
|
function sam$kotlin_Comparator$0(function_0) {
|
|
348
|
-
this.
|
|
349
|
+
this.yq_1 = function_0;
|
|
349
350
|
}
|
|
350
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
351
|
-
return this.
|
|
351
|
+
protoOf(sam$kotlin_Comparator$0).gc = function (a, b) {
|
|
352
|
+
return this.yq_1(a, b);
|
|
352
353
|
};
|
|
353
354
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
354
|
-
return this.
|
|
355
|
+
return this.gc(a, b);
|
|
355
356
|
};
|
|
356
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
357
|
-
return this.
|
|
357
|
+
protoOf(sam$kotlin_Comparator$0).q2 = function () {
|
|
358
|
+
return this.yq_1;
|
|
358
359
|
};
|
|
359
360
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
360
361
|
var tmp;
|
|
361
362
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
362
363
|
var tmp_0;
|
|
363
364
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
364
|
-
tmp_0 = equals(this.
|
|
365
|
+
tmp_0 = equals(this.q2(), other.q2());
|
|
365
366
|
} else {
|
|
366
367
|
tmp_0 = false;
|
|
367
368
|
}
|
|
@@ -372,206 +373,202 @@
|
|
|
372
373
|
return tmp;
|
|
373
374
|
};
|
|
374
375
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
375
|
-
return hashCode(this.
|
|
376
|
+
return hashCode(this.q2());
|
|
376
377
|
};
|
|
377
378
|
function itemWiseEquals$lambda(a, b) {
|
|
378
379
|
return equals(a, b);
|
|
379
380
|
}
|
|
380
381
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
381
|
-
this.
|
|
382
|
+
this.hr_1 = $this_dropLast;
|
|
382
383
|
CoroutineImpl.call(this, resultContinuation);
|
|
383
384
|
}
|
|
384
|
-
protoOf(dropLast$slambda).
|
|
385
|
-
var tmp = this.
|
|
386
|
-
tmp.
|
|
387
|
-
tmp.
|
|
388
|
-
return tmp.
|
|
385
|
+
protoOf(dropLast$slambda).kr = function ($this$sequence, $completion) {
|
|
386
|
+
var tmp = this.lr($this$sequence, $completion);
|
|
387
|
+
tmp.g8_1 = Unit_instance;
|
|
388
|
+
tmp.h8_1 = null;
|
|
389
|
+
return tmp.m8();
|
|
389
390
|
};
|
|
390
|
-
protoOf(dropLast$slambda).
|
|
391
|
-
return this.
|
|
391
|
+
protoOf(dropLast$slambda).d9 = function (p1, $completion) {
|
|
392
|
+
return this.kr(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
392
393
|
};
|
|
393
|
-
protoOf(dropLast$slambda).
|
|
394
|
-
var suspendResult = this.
|
|
394
|
+
protoOf(dropLast$slambda).m8 = function () {
|
|
395
|
+
var suspendResult = this.g8_1;
|
|
395
396
|
$sm: do
|
|
396
397
|
try {
|
|
397
|
-
var tmp = this.
|
|
398
|
+
var tmp = this.e8_1;
|
|
398
399
|
switch (tmp) {
|
|
399
400
|
case 0:
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
401
|
+
this.f8_1 = 5;
|
|
402
|
+
this.jr_1 = this.hr_1.n();
|
|
403
|
+
this.e8_1 = 1;
|
|
403
404
|
continue $sm;
|
|
404
405
|
case 1:
|
|
405
|
-
if (!this.
|
|
406
|
-
this.
|
|
406
|
+
if (!this.jr_1.q()) {
|
|
407
|
+
this.e8_1 = 4;
|
|
407
408
|
continue $sm;
|
|
408
409
|
}
|
|
409
410
|
|
|
410
|
-
var current = this.
|
|
411
|
-
if (this.
|
|
412
|
-
this.
|
|
413
|
-
suspendResult = this.
|
|
411
|
+
var current = this.jr_1.r();
|
|
412
|
+
if (this.jr_1.q()) {
|
|
413
|
+
this.e8_1 = 2;
|
|
414
|
+
suspendResult = this.ir_1.rd(current, this);
|
|
414
415
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
415
416
|
return suspendResult;
|
|
416
417
|
}
|
|
417
418
|
continue $sm;
|
|
418
419
|
} else {
|
|
419
|
-
this.
|
|
420
|
+
this.e8_1 = 3;
|
|
420
421
|
continue $sm;
|
|
421
422
|
}
|
|
422
423
|
|
|
423
424
|
case 2:
|
|
424
|
-
this.
|
|
425
|
+
this.e8_1 = 3;
|
|
425
426
|
continue $sm;
|
|
426
427
|
case 3:
|
|
427
|
-
this.
|
|
428
|
+
this.e8_1 = 1;
|
|
428
429
|
continue $sm;
|
|
429
430
|
case 4:
|
|
430
431
|
return Unit_instance;
|
|
431
432
|
case 5:
|
|
432
|
-
throw this.
|
|
433
|
+
throw this.h8_1;
|
|
433
434
|
}
|
|
434
435
|
} catch ($p) {
|
|
435
436
|
var e = $p;
|
|
436
|
-
if (this.
|
|
437
|
+
if (this.f8_1 === 5) {
|
|
437
438
|
throw e;
|
|
438
439
|
} else {
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
440
|
+
this.e8_1 = this.f8_1;
|
|
441
|
+
this.h8_1 = e;
|
|
441
442
|
}
|
|
442
443
|
}
|
|
443
444
|
while (true);
|
|
444
445
|
};
|
|
445
|
-
protoOf(dropLast$slambda).
|
|
446
|
-
var i = new dropLast$slambda(this.
|
|
447
|
-
i.
|
|
446
|
+
protoOf(dropLast$slambda).lr = function ($this$sequence, completion) {
|
|
447
|
+
var i = new dropLast$slambda(this.hr_1, completion);
|
|
448
|
+
i.ir_1 = $this$sequence;
|
|
448
449
|
return i;
|
|
449
450
|
};
|
|
450
451
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
451
452
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
452
|
-
|
|
453
|
-
return i.
|
|
454
|
-
};
|
|
455
|
-
l.$arity = 1;
|
|
456
|
-
return l;
|
|
453
|
+
return constructCallableReference(function ($this$sequence, $completion) {
|
|
454
|
+
return i.kr($this$sequence, $completion);
|
|
455
|
+
}, 1);
|
|
457
456
|
}
|
|
458
457
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
462
|
-
this.
|
|
458
|
+
this.vr_1 = $this_insertAt;
|
|
459
|
+
this.wr_1 = $index;
|
|
460
|
+
this.xr_1 = $item;
|
|
461
|
+
this.yr_1 = $items;
|
|
463
462
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
463
|
}
|
|
465
|
-
protoOf(insertAt$slambda).
|
|
466
|
-
var tmp = this.
|
|
467
|
-
tmp.
|
|
468
|
-
tmp.
|
|
469
|
-
return tmp.
|
|
464
|
+
protoOf(insertAt$slambda).kr = function ($this$sequence, $completion) {
|
|
465
|
+
var tmp = this.lr($this$sequence, $completion);
|
|
466
|
+
tmp.g8_1 = Unit_instance;
|
|
467
|
+
tmp.h8_1 = null;
|
|
468
|
+
return tmp.m8();
|
|
470
469
|
};
|
|
471
|
-
protoOf(insertAt$slambda).
|
|
472
|
-
return this.
|
|
470
|
+
protoOf(insertAt$slambda).d9 = function (p1, $completion) {
|
|
471
|
+
return this.kr(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
473
472
|
};
|
|
474
|
-
protoOf(insertAt$slambda).
|
|
475
|
-
var suspendResult = this.
|
|
473
|
+
protoOf(insertAt$slambda).m8 = function () {
|
|
474
|
+
var suspendResult = this.g8_1;
|
|
476
475
|
$sm: do
|
|
477
476
|
try {
|
|
478
|
-
var tmp = this.
|
|
477
|
+
var tmp = this.e8_1;
|
|
479
478
|
switch (tmp) {
|
|
480
479
|
case 0:
|
|
481
|
-
this.
|
|
482
|
-
this.
|
|
483
|
-
this.
|
|
480
|
+
this.f8_1 = 7;
|
|
481
|
+
this.bs_1 = asIterable_0(withIndex(this.vr_1)).n();
|
|
482
|
+
this.e8_1 = 1;
|
|
484
483
|
continue $sm;
|
|
485
484
|
case 1:
|
|
486
|
-
if (!this.
|
|
487
|
-
this.
|
|
485
|
+
if (!this.bs_1.q()) {
|
|
486
|
+
this.e8_1 = 6;
|
|
488
487
|
continue $sm;
|
|
489
488
|
}
|
|
490
489
|
|
|
491
|
-
var _destruct__k2r9zo = this.
|
|
492
|
-
var i = _destruct__k2r9zo.
|
|
493
|
-
this.
|
|
494
|
-
if (i === this.
|
|
495
|
-
this.
|
|
496
|
-
suspendResult = this.
|
|
490
|
+
var _destruct__k2r9zo = this.bs_1.r();
|
|
491
|
+
var i = _destruct__k2r9zo.dd();
|
|
492
|
+
this.as_1 = _destruct__k2r9zo.ed();
|
|
493
|
+
if (i === this.wr_1) {
|
|
494
|
+
this.e8_1 = 2;
|
|
495
|
+
suspendResult = this.zr_1.rd(this.xr_1, this);
|
|
497
496
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
498
497
|
return suspendResult;
|
|
499
498
|
}
|
|
500
499
|
continue $sm;
|
|
501
500
|
} else {
|
|
502
|
-
this.
|
|
501
|
+
this.e8_1 = 4;
|
|
503
502
|
continue $sm;
|
|
504
503
|
}
|
|
505
504
|
|
|
506
505
|
case 2:
|
|
507
|
-
this.
|
|
508
|
-
suspendResult = this.
|
|
506
|
+
this.e8_1 = 3;
|
|
507
|
+
suspendResult = this.zr_1.td(asIterable(this.yr_1), this);
|
|
509
508
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
510
509
|
return suspendResult;
|
|
511
510
|
}
|
|
512
511
|
|
|
513
512
|
continue $sm;
|
|
514
513
|
case 3:
|
|
515
|
-
this.
|
|
514
|
+
this.e8_1 = 4;
|
|
516
515
|
continue $sm;
|
|
517
516
|
case 4:
|
|
518
|
-
this.
|
|
519
|
-
suspendResult = this.
|
|
517
|
+
this.e8_1 = 5;
|
|
518
|
+
suspendResult = this.zr_1.rd(this.as_1, this);
|
|
520
519
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
521
520
|
return suspendResult;
|
|
522
521
|
}
|
|
523
522
|
|
|
524
523
|
continue $sm;
|
|
525
524
|
case 5:
|
|
526
|
-
this.
|
|
525
|
+
this.e8_1 = 1;
|
|
527
526
|
continue $sm;
|
|
528
527
|
case 6:
|
|
529
528
|
return Unit_instance;
|
|
530
529
|
case 7:
|
|
531
|
-
throw this.
|
|
530
|
+
throw this.h8_1;
|
|
532
531
|
}
|
|
533
532
|
} catch ($p) {
|
|
534
533
|
var e = $p;
|
|
535
|
-
if (this.
|
|
534
|
+
if (this.f8_1 === 7) {
|
|
536
535
|
throw e;
|
|
537
536
|
} else {
|
|
538
|
-
this.
|
|
539
|
-
this.
|
|
537
|
+
this.e8_1 = this.f8_1;
|
|
538
|
+
this.h8_1 = e;
|
|
540
539
|
}
|
|
541
540
|
}
|
|
542
541
|
while (true);
|
|
543
542
|
};
|
|
544
|
-
protoOf(insertAt$slambda).
|
|
545
|
-
var i = new insertAt$slambda(this.
|
|
546
|
-
i.
|
|
543
|
+
protoOf(insertAt$slambda).lr = function ($this$sequence, completion) {
|
|
544
|
+
var i = new insertAt$slambda(this.vr_1, this.wr_1, this.xr_1, this.yr_1, completion);
|
|
545
|
+
i.zr_1 = $this$sequence;
|
|
547
546
|
return i;
|
|
548
547
|
};
|
|
549
548
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
550
549
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
551
|
-
|
|
552
|
-
return i.
|
|
553
|
-
};
|
|
554
|
-
l.$arity = 1;
|
|
555
|
-
return l;
|
|
550
|
+
return constructCallableReference(function ($this$sequence, $completion) {
|
|
551
|
+
return i.kr($this$sequence, $completion);
|
|
552
|
+
}, 1);
|
|
556
553
|
}
|
|
557
554
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
558
|
-
this.
|
|
555
|
+
this.cs_1 = function_0;
|
|
559
556
|
}
|
|
560
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
561
|
-
return this.
|
|
557
|
+
protoOf(sam$kotlin_Comparator$0_0).gc = function (a, b) {
|
|
558
|
+
return this.cs_1(a, b);
|
|
562
559
|
};
|
|
563
560
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
564
|
-
return this.
|
|
561
|
+
return this.gc(a, b);
|
|
565
562
|
};
|
|
566
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
567
|
-
return this.
|
|
563
|
+
protoOf(sam$kotlin_Comparator$0_0).q2 = function () {
|
|
564
|
+
return this.cs_1;
|
|
568
565
|
};
|
|
569
566
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
570
567
|
var tmp;
|
|
571
568
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
572
569
|
var tmp_0;
|
|
573
570
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
574
|
-
tmp_0 = equals(this.
|
|
571
|
+
tmp_0 = equals(this.q2(), other.q2());
|
|
575
572
|
} else {
|
|
576
573
|
tmp_0 = false;
|
|
577
574
|
}
|
|
@@ -582,118 +579,116 @@
|
|
|
582
579
|
return tmp;
|
|
583
580
|
};
|
|
584
581
|
protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
585
|
-
return hashCode(this.
|
|
582
|
+
return hashCode(this.q2());
|
|
586
583
|
};
|
|
587
584
|
function merge$slambda$lambda(it) {
|
|
588
585
|
return cursor_0(it);
|
|
589
586
|
}
|
|
590
587
|
function merge$slambda$lambda_0(it) {
|
|
591
|
-
return it.
|
|
588
|
+
return it.tq();
|
|
592
589
|
}
|
|
593
590
|
function merge$slambda$lambda_1(it) {
|
|
594
|
-
return ensureNotNull(it.
|
|
591
|
+
return ensureNotNull(it.rq());
|
|
595
592
|
}
|
|
596
593
|
function merge$slambda$lambda_2($comparator) {
|
|
597
594
|
return function (a, b) {
|
|
598
|
-
return $comparator.compare(a.
|
|
595
|
+
return $comparator.compare(a.f2(), b.f2());
|
|
599
596
|
};
|
|
600
597
|
}
|
|
601
598
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
599
|
+
this.ls_1 = $iterables;
|
|
600
|
+
this.ms_1 = $comparator;
|
|
604
601
|
CoroutineImpl.call(this, resultContinuation);
|
|
605
602
|
}
|
|
606
|
-
protoOf(merge$slambda).
|
|
607
|
-
var tmp = this.
|
|
608
|
-
tmp.
|
|
609
|
-
tmp.
|
|
610
|
-
return tmp.
|
|
603
|
+
protoOf(merge$slambda).kr = function ($this$sequence, $completion) {
|
|
604
|
+
var tmp = this.lr($this$sequence, $completion);
|
|
605
|
+
tmp.g8_1 = Unit_instance;
|
|
606
|
+
tmp.h8_1 = null;
|
|
607
|
+
return tmp.m8();
|
|
611
608
|
};
|
|
612
|
-
protoOf(merge$slambda).
|
|
613
|
-
return this.
|
|
609
|
+
protoOf(merge$slambda).d9 = function (p1, $completion) {
|
|
610
|
+
return this.kr(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
614
611
|
};
|
|
615
|
-
protoOf(merge$slambda).
|
|
616
|
-
var suspendResult = this.
|
|
612
|
+
protoOf(merge$slambda).m8 = function () {
|
|
613
|
+
var suspendResult = this.g8_1;
|
|
617
614
|
$sm: do
|
|
618
615
|
try {
|
|
619
|
-
var tmp = this.
|
|
616
|
+
var tmp = this.e8_1;
|
|
620
617
|
switch (tmp) {
|
|
621
618
|
case 0:
|
|
622
|
-
this.
|
|
619
|
+
this.f8_1 = 3;
|
|
623
620
|
var tmp_0 = this;
|
|
624
|
-
var tmp_1 = asSequence(this.
|
|
621
|
+
var tmp_1 = asSequence(this.ls_1);
|
|
625
622
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
626
|
-
tmp_0.
|
|
627
|
-
this.
|
|
623
|
+
tmp_0.ps_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
624
|
+
this.e8_1 = 1;
|
|
628
625
|
continue $sm;
|
|
629
626
|
case 1:
|
|
630
|
-
if (!!this.
|
|
631
|
-
this.
|
|
627
|
+
if (!!this.ps_1.h()) {
|
|
628
|
+
this.e8_1 = 4;
|
|
632
629
|
continue $sm;
|
|
633
630
|
}
|
|
634
631
|
|
|
635
|
-
var tmp_3 = asSequence(this.
|
|
632
|
+
var tmp_3 = asSequence(this.ps_1);
|
|
636
633
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
637
|
-
var tmp_5 = merge$slambda$lambda_2(this.
|
|
634
|
+
var tmp_5 = merge$slambda$lambda_2(this.ms_1);
|
|
638
635
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
639
|
-
this.
|
|
640
|
-
var minValue = _destruct__k2r9zo.
|
|
641
|
-
this.
|
|
642
|
-
suspendResult = this.
|
|
636
|
+
this.os_1 = _destruct__k2r9zo.dd();
|
|
637
|
+
var minValue = _destruct__k2r9zo.ed();
|
|
638
|
+
this.e8_1 = 2;
|
|
639
|
+
suspendResult = this.ns_1.rd(minValue, this);
|
|
643
640
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
644
641
|
return suspendResult;
|
|
645
642
|
}
|
|
646
643
|
|
|
647
644
|
continue $sm;
|
|
648
645
|
case 2:
|
|
649
|
-
var it = this.
|
|
646
|
+
var it = this.ps_1.u(this.os_1).qq();
|
|
650
647
|
var tmp_6;
|
|
651
|
-
if (it.
|
|
652
|
-
tmp_6 = this.
|
|
648
|
+
if (it.tq()) {
|
|
649
|
+
tmp_6 = this.ps_1.j3(this.os_1);
|
|
653
650
|
} else {
|
|
654
|
-
this.
|
|
651
|
+
this.ps_1.a3(this.os_1, it);
|
|
655
652
|
tmp_6 = Unit_instance;
|
|
656
653
|
}
|
|
657
654
|
|
|
658
|
-
this.
|
|
655
|
+
this.e8_1 = 1;
|
|
659
656
|
continue $sm;
|
|
660
657
|
case 3:
|
|
661
|
-
throw this.
|
|
658
|
+
throw this.h8_1;
|
|
662
659
|
case 4:
|
|
663
660
|
return Unit_instance;
|
|
664
661
|
}
|
|
665
662
|
} catch ($p) {
|
|
666
663
|
var e = $p;
|
|
667
|
-
if (this.
|
|
664
|
+
if (this.f8_1 === 3) {
|
|
668
665
|
throw e;
|
|
669
666
|
} else {
|
|
670
|
-
this.
|
|
671
|
-
this.
|
|
667
|
+
this.e8_1 = this.f8_1;
|
|
668
|
+
this.h8_1 = e;
|
|
672
669
|
}
|
|
673
670
|
}
|
|
674
671
|
while (true);
|
|
675
672
|
};
|
|
676
|
-
protoOf(merge$slambda).
|
|
677
|
-
var i = new merge$slambda(this.
|
|
678
|
-
i.
|
|
673
|
+
protoOf(merge$slambda).lr = function ($this$sequence, completion) {
|
|
674
|
+
var i = new merge$slambda(this.ls_1, this.ms_1, completion);
|
|
675
|
+
i.ns_1 = $this$sequence;
|
|
679
676
|
return i;
|
|
680
677
|
};
|
|
681
678
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
682
679
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
683
|
-
|
|
684
|
-
return i.
|
|
685
|
-
};
|
|
686
|
-
l.$arity = 1;
|
|
687
|
-
return l;
|
|
680
|
+
return constructCallableReference(function ($this$sequence, $completion) {
|
|
681
|
+
return i.kr($this$sequence, $completion);
|
|
682
|
+
}, 1);
|
|
688
683
|
}
|
|
689
684
|
function indexed$lambda(it, i) {
|
|
690
|
-
return Companion_instance_2.
|
|
685
|
+
return Companion_instance_2.wq(i, it);
|
|
691
686
|
}
|
|
692
687
|
function assertItemsAreNotNull$lambda(it) {
|
|
693
|
-
var value = it.
|
|
688
|
+
var value = it.f2();
|
|
694
689
|
var tmp;
|
|
695
690
|
if (value == null) {
|
|
696
|
-
throw IllegalArgumentException_init_$Create$('Item at index ' + it.
|
|
691
|
+
throw IllegalArgumentException_init_$Create$('Item at index ' + it.vq() + ' is null');
|
|
697
692
|
} else {
|
|
698
693
|
tmp = value;
|
|
699
694
|
}
|
|
@@ -701,7 +696,7 @@
|
|
|
701
696
|
}
|
|
702
697
|
function Companion_3() {
|
|
703
698
|
}
|
|
704
|
-
protoOf(Companion_3).
|
|
699
|
+
protoOf(Companion_3).qs = function (index, value) {
|
|
705
700
|
return new LongIndexedImpl(index, value);
|
|
706
701
|
};
|
|
707
702
|
var Companion_instance_3;
|
|
@@ -714,7 +709,8 @@
|
|
|
714
709
|
Companion_instance_4 = this;
|
|
715
710
|
var tmp = this;
|
|
716
711
|
// Inline function 'kotlin.text.toRegex' call
|
|
717
|
-
|
|
712
|
+
var this_0 = '-?[0-9]+';
|
|
713
|
+
tmp.ss_1 = Regex_init_$Create$(this_0);
|
|
718
714
|
}
|
|
719
715
|
var Companion_instance_4;
|
|
720
716
|
function Companion_getInstance_6() {
|
|
@@ -722,8 +718,8 @@
|
|
|
722
718
|
new Companion_4();
|
|
723
719
|
return Companion_instance_4;
|
|
724
720
|
}
|
|
725
|
-
function _get_stringRepresentation__xuqjt9($this,
|
|
726
|
-
return $this.
|
|
721
|
+
function _get_stringRepresentation__xuqjt9($this, $receiver) {
|
|
722
|
+
return $this.ts_1.fq($receiver, NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($receiver));
|
|
727
723
|
}
|
|
728
724
|
function NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($this_stringRepresentation) {
|
|
729
725
|
return function () {
|
|
@@ -732,41 +728,41 @@
|
|
|
732
728
|
}
|
|
733
729
|
function NumberTypeTester() {
|
|
734
730
|
Companion_getInstance_6();
|
|
735
|
-
this.
|
|
731
|
+
this.ts_1 = Companion_instance.dq(8);
|
|
736
732
|
}
|
|
737
|
-
protoOf(NumberTypeTester).
|
|
738
|
-
return Companion_getInstance_6().
|
|
733
|
+
protoOf(NumberTypeTester).us = function (_this__u8e3s4) {
|
|
734
|
+
return Companion_getInstance_6().ss_1.ab(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
739
735
|
};
|
|
740
|
-
protoOf(NumberTypeTester).
|
|
736
|
+
protoOf(NumberTypeTester).vs = function (_this__u8e3s4) {
|
|
741
737
|
return Companion_getInstance().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
742
738
|
};
|
|
743
|
-
protoOf(NumberTypeTester).
|
|
739
|
+
protoOf(NumberTypeTester).ws = function (_this__u8e3s4) {
|
|
744
740
|
return Companion_getInstance_0().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
745
741
|
};
|
|
746
|
-
protoOf(NumberTypeTester).
|
|
747
|
-
return this.
|
|
742
|
+
protoOf(NumberTypeTester).xs = function (number) {
|
|
743
|
+
return this.us(number);
|
|
748
744
|
};
|
|
749
|
-
protoOf(NumberTypeTester).
|
|
750
|
-
return this.
|
|
745
|
+
protoOf(NumberTypeTester).ys = function (number) {
|
|
746
|
+
return this.vs(number);
|
|
751
747
|
};
|
|
752
|
-
protoOf(NumberTypeTester).
|
|
753
|
-
return this.
|
|
748
|
+
protoOf(NumberTypeTester).zs = function (number) {
|
|
749
|
+
return this.ws(number);
|
|
754
750
|
};
|
|
755
751
|
function Companion_5() {
|
|
756
752
|
}
|
|
757
|
-
protoOf(Companion_5).
|
|
753
|
+
protoOf(Companion_5).at = function (value) {
|
|
758
754
|
return new Some(value);
|
|
759
755
|
};
|
|
760
|
-
protoOf(Companion_5).
|
|
756
|
+
protoOf(Companion_5).mq = function (value) {
|
|
761
757
|
var tmp;
|
|
762
758
|
if (value == null) {
|
|
763
|
-
tmp = this.
|
|
759
|
+
tmp = this.lq();
|
|
764
760
|
} else {
|
|
765
|
-
tmp = this.
|
|
761
|
+
tmp = this.at(value);
|
|
766
762
|
}
|
|
767
763
|
return tmp;
|
|
768
764
|
};
|
|
769
|
-
protoOf(Companion_5).
|
|
765
|
+
protoOf(Companion_5).lq = function () {
|
|
770
766
|
return None_getInstance();
|
|
771
767
|
};
|
|
772
768
|
var Companion_instance_5;
|
|
@@ -775,26 +771,26 @@
|
|
|
775
771
|
}
|
|
776
772
|
function Some(value) {
|
|
777
773
|
Optional.call(this);
|
|
778
|
-
this.
|
|
774
|
+
this.gq_1 = value;
|
|
779
775
|
}
|
|
780
|
-
protoOf(Some).
|
|
781
|
-
return this.
|
|
776
|
+
protoOf(Some).f2 = function () {
|
|
777
|
+
return this.gq_1;
|
|
782
778
|
};
|
|
783
|
-
protoOf(Some).
|
|
779
|
+
protoOf(Some).bt = function () {
|
|
784
780
|
return true;
|
|
785
781
|
};
|
|
786
782
|
protoOf(Some).toString = function () {
|
|
787
|
-
return 'Some(' + toString_0(this.
|
|
783
|
+
return 'Some(' + toString_0(this.gq_1) + ')';
|
|
788
784
|
};
|
|
789
785
|
protoOf(Some).hashCode = function () {
|
|
790
|
-
return this.
|
|
786
|
+
return this.gq_1 == null ? 0 : hashCode(this.gq_1);
|
|
791
787
|
};
|
|
792
788
|
protoOf(Some).equals = function (other) {
|
|
793
789
|
if (this === other)
|
|
794
790
|
return true;
|
|
795
791
|
if (!(other instanceof Some))
|
|
796
792
|
return false;
|
|
797
|
-
if (!equals(this.
|
|
793
|
+
if (!equals(this.gq_1, other.gq_1))
|
|
798
794
|
return false;
|
|
799
795
|
return true;
|
|
800
796
|
};
|
|
@@ -802,10 +798,10 @@
|
|
|
802
798
|
None_instance = this;
|
|
803
799
|
Optional.call(this);
|
|
804
800
|
}
|
|
805
|
-
protoOf(None).
|
|
801
|
+
protoOf(None).f2 = function () {
|
|
806
802
|
return null;
|
|
807
803
|
};
|
|
808
|
-
protoOf(None).
|
|
804
|
+
protoOf(None).bt = function () {
|
|
809
805
|
return false;
|
|
810
806
|
};
|
|
811
807
|
protoOf(None).toString = function () {
|
|
@@ -819,8 +815,8 @@
|
|
|
819
815
|
}
|
|
820
816
|
function Optional() {
|
|
821
817
|
}
|
|
822
|
-
protoOf(Optional).
|
|
823
|
-
return !this.
|
|
818
|
+
protoOf(Optional).ct = function () {
|
|
819
|
+
return !this.bt();
|
|
824
820
|
};
|
|
825
821
|
function Taggable() {
|
|
826
822
|
}
|
|
@@ -833,9 +829,9 @@
|
|
|
833
829
|
}
|
|
834
830
|
function Companion_6() {
|
|
835
831
|
}
|
|
836
|
-
protoOf(Companion_6).
|
|
832
|
+
protoOf(Companion_6).uq = function (source) {
|
|
837
833
|
var tmp;
|
|
838
|
-
if (source.
|
|
834
|
+
if (source.q()) {
|
|
839
835
|
tmp = new LazyCursor(source);
|
|
840
836
|
} else {
|
|
841
837
|
tmp = EmptyCursor_getInstance();
|
|
@@ -847,105 +843,105 @@
|
|
|
847
843
|
return Companion_instance_6;
|
|
848
844
|
}
|
|
849
845
|
function AbstractCursor$iterator$1(this$0) {
|
|
850
|
-
this.
|
|
846
|
+
this.et_1 = this$0;
|
|
851
847
|
}
|
|
852
|
-
protoOf(AbstractCursor$iterator$1).
|
|
853
|
-
return !this.
|
|
848
|
+
protoOf(AbstractCursor$iterator$1).q = function () {
|
|
849
|
+
return !this.et_1.tq();
|
|
854
850
|
};
|
|
855
|
-
protoOf(AbstractCursor$iterator$1).
|
|
856
|
-
var result = this.
|
|
857
|
-
this.
|
|
851
|
+
protoOf(AbstractCursor$iterator$1).r = function () {
|
|
852
|
+
var result = this.et_1.rq();
|
|
853
|
+
this.et_1 = this.et_1.qq();
|
|
858
854
|
return ensureNotNull(result);
|
|
859
855
|
};
|
|
860
856
|
function AbstractCursor() {
|
|
861
857
|
}
|
|
862
858
|
protoOf(AbstractCursor).toString = function () {
|
|
863
|
-
return this.
|
|
859
|
+
return this.tq() ? '[]' : !this.sq() ? '[' + toString_0(this.rq()) + ']' : '[' + toString_0(this.rq()) + ', ...]';
|
|
864
860
|
};
|
|
865
|
-
protoOf(AbstractCursor).
|
|
861
|
+
protoOf(AbstractCursor).n = function () {
|
|
866
862
|
return new AbstractCursor$iterator$1(this);
|
|
867
863
|
};
|
|
868
864
|
protoOf(AbstractCursor).iterator = function () {
|
|
869
|
-
return this.
|
|
865
|
+
return this.n();
|
|
870
866
|
};
|
|
871
|
-
protoOf(AbstractCursor).
|
|
867
|
+
protoOf(AbstractCursor).ft = function () {
|
|
872
868
|
return false;
|
|
873
869
|
};
|
|
874
|
-
protoOf(AbstractCursor).
|
|
870
|
+
protoOf(AbstractCursor).gt = function (mapper) {
|
|
875
871
|
return new MapperCursor(this, mapper);
|
|
876
872
|
};
|
|
877
873
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
878
|
-
return this.
|
|
874
|
+
return this.gt(mapper);
|
|
879
875
|
};
|
|
880
876
|
function CachedImpl(generator) {
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
877
|
+
this.ht_1 = generator;
|
|
878
|
+
this.it_1 = Companion_instance_5.lq();
|
|
883
879
|
}
|
|
884
|
-
protoOf(CachedImpl).
|
|
885
|
-
return this.
|
|
880
|
+
protoOf(CachedImpl).iq = function () {
|
|
881
|
+
return this.it_1.bt();
|
|
886
882
|
};
|
|
887
|
-
protoOf(CachedImpl).
|
|
888
|
-
return this.
|
|
883
|
+
protoOf(CachedImpl).jt = function () {
|
|
884
|
+
return this.it_1.ct();
|
|
889
885
|
};
|
|
890
|
-
protoOf(CachedImpl).
|
|
891
|
-
this.
|
|
892
|
-
return ensureNotNull(this.
|
|
886
|
+
protoOf(CachedImpl).f2 = function () {
|
|
887
|
+
this.kt();
|
|
888
|
+
return ensureNotNull(this.it_1.f2());
|
|
893
889
|
};
|
|
894
|
-
protoOf(CachedImpl).
|
|
895
|
-
if (this.
|
|
896
|
-
this.
|
|
890
|
+
protoOf(CachedImpl).kt = function () {
|
|
891
|
+
if (this.jt()) {
|
|
892
|
+
this.it_1 = Companion_instance_5.at(this.ht_1());
|
|
897
893
|
}
|
|
898
894
|
};
|
|
899
|
-
protoOf(CachedImpl).
|
|
900
|
-
this.
|
|
895
|
+
protoOf(CachedImpl).jq = function () {
|
|
896
|
+
this.it_1 = Companion_instance_5.lq();
|
|
901
897
|
};
|
|
902
898
|
protoOf(CachedImpl).toString = function () {
|
|
903
|
-
return 'CachedImpl(generator=' + toString(this.
|
|
899
|
+
return 'CachedImpl(generator=' + toString(this.ht_1) + ')';
|
|
904
900
|
};
|
|
905
901
|
protoOf(CachedImpl).hashCode = function () {
|
|
906
|
-
return hashCode(this.
|
|
902
|
+
return hashCode(this.ht_1);
|
|
907
903
|
};
|
|
908
904
|
protoOf(CachedImpl).equals = function (other) {
|
|
909
905
|
if (this === other)
|
|
910
906
|
return true;
|
|
911
907
|
if (!(other instanceof CachedImpl))
|
|
912
908
|
return false;
|
|
913
|
-
if (!equals(this.
|
|
909
|
+
if (!equals(this.ht_1, other.ht_1))
|
|
914
910
|
return false;
|
|
915
911
|
return true;
|
|
916
912
|
};
|
|
917
913
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
918
914
|
return function () {
|
|
919
|
-
return this$0.
|
|
915
|
+
return this$0.lt_1.sq() ? new ConjunctionCursor(this$0.lt_1.qq(), this$0.mt_1) : this$0.mt_1.ft() ? this$0.mt_1.qq() : this$0.mt_1;
|
|
920
916
|
};
|
|
921
917
|
}
|
|
922
918
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
923
|
-
return function (p0) {
|
|
924
|
-
return p0.
|
|
925
|
-
};
|
|
919
|
+
return constructCallableReference(function (p0) {
|
|
920
|
+
return p0.qq();
|
|
921
|
+
}, 1, 0, 2);
|
|
926
922
|
}
|
|
927
923
|
function ConjunctionCursor(first, second) {
|
|
928
924
|
AbstractCursor.call(this);
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
925
|
+
this.lt_1 = first;
|
|
926
|
+
this.mt_1 = second;
|
|
931
927
|
var tmp = this;
|
|
932
|
-
tmp.
|
|
928
|
+
tmp.nt_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
933
929
|
}
|
|
934
|
-
protoOf(ConjunctionCursor).
|
|
935
|
-
return this.
|
|
930
|
+
protoOf(ConjunctionCursor).tq = function () {
|
|
931
|
+
return this.lt_1.tq() && this.mt_1.tq();
|
|
936
932
|
};
|
|
937
|
-
protoOf(ConjunctionCursor).
|
|
938
|
-
var tmp0 = this.
|
|
933
|
+
protoOf(ConjunctionCursor).qq = function () {
|
|
934
|
+
var tmp0 = this.nt_1;
|
|
939
935
|
var tmp = KProperty1;
|
|
940
936
|
// Inline function 'kotlin.getValue' call
|
|
941
|
-
|
|
942
|
-
return tmp0.
|
|
937
|
+
/* dead property reference removed */
|
|
938
|
+
return tmp0.f2();
|
|
943
939
|
};
|
|
944
|
-
protoOf(ConjunctionCursor).
|
|
945
|
-
return this.
|
|
940
|
+
protoOf(ConjunctionCursor).rq = function () {
|
|
941
|
+
return this.lt_1.sq() ? this.lt_1.rq() : this.mt_1.rq();
|
|
946
942
|
};
|
|
947
|
-
protoOf(ConjunctionCursor).
|
|
948
|
-
return this.
|
|
943
|
+
protoOf(ConjunctionCursor).sq = function () {
|
|
944
|
+
return this.lt_1.sq() || this.mt_1.sq();
|
|
949
945
|
};
|
|
950
946
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
951
947
|
if (this === other)
|
|
@@ -954,44 +950,44 @@
|
|
|
954
950
|
return false;
|
|
955
951
|
if (!(other instanceof ConjunctionCursor))
|
|
956
952
|
THROW_CCE();
|
|
957
|
-
if (!equals(this.
|
|
953
|
+
if (!equals(this.lt_1, other.lt_1))
|
|
958
954
|
return false;
|
|
959
|
-
if (!equals(this.
|
|
955
|
+
if (!equals(this.mt_1, other.mt_1))
|
|
960
956
|
return false;
|
|
961
957
|
return true;
|
|
962
958
|
};
|
|
963
959
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
964
|
-
var result = hashCode(this.
|
|
965
|
-
result = imul(31, result) + hashCode(this.
|
|
960
|
+
var result = hashCode(this.lt_1);
|
|
961
|
+
result = imul(31, result) + hashCode(this.mt_1) | 0;
|
|
966
962
|
return result;
|
|
967
963
|
};
|
|
968
964
|
function EmptyCursor() {
|
|
969
965
|
EmptyCursor_instance = this;
|
|
970
966
|
AbstractCursor.call(this);
|
|
971
967
|
}
|
|
972
|
-
protoOf(EmptyCursor).
|
|
968
|
+
protoOf(EmptyCursor).qq = function () {
|
|
973
969
|
throw NoSuchElementException_init_$Create$();
|
|
974
970
|
};
|
|
975
|
-
protoOf(EmptyCursor).
|
|
971
|
+
protoOf(EmptyCursor).rq = function () {
|
|
976
972
|
return null;
|
|
977
973
|
};
|
|
978
|
-
protoOf(EmptyCursor).
|
|
974
|
+
protoOf(EmptyCursor).sq = function () {
|
|
979
975
|
return false;
|
|
980
976
|
};
|
|
981
|
-
protoOf(EmptyCursor).
|
|
977
|
+
protoOf(EmptyCursor).tq = function () {
|
|
982
978
|
return true;
|
|
983
979
|
};
|
|
984
980
|
protoOf(EmptyCursor).toString = function () {
|
|
985
981
|
return protoOf(AbstractCursor).toString.call(this);
|
|
986
982
|
};
|
|
987
|
-
protoOf(EmptyCursor).
|
|
983
|
+
protoOf(EmptyCursor).ot = function (mapper) {
|
|
988
984
|
return this;
|
|
989
985
|
};
|
|
990
986
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
991
|
-
return this.
|
|
987
|
+
return this.ot(mapper);
|
|
992
988
|
};
|
|
993
|
-
protoOf(EmptyCursor).
|
|
994
|
-
return this.
|
|
989
|
+
protoOf(EmptyCursor).gt = function (mapper) {
|
|
990
|
+
return this.ot(mapper);
|
|
995
991
|
};
|
|
996
992
|
var EmptyCursor_instance;
|
|
997
993
|
function EmptyCursor_getInstance() {
|
|
@@ -1000,27 +996,27 @@
|
|
|
1000
996
|
return EmptyCursor_instance;
|
|
1001
997
|
}
|
|
1002
998
|
function IntIndexedImpl(index, value) {
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
999
|
+
this.pt_1 = index;
|
|
1000
|
+
this.qt_1 = value;
|
|
1005
1001
|
}
|
|
1006
|
-
protoOf(IntIndexedImpl).
|
|
1007
|
-
return this.
|
|
1002
|
+
protoOf(IntIndexedImpl).vq = function () {
|
|
1003
|
+
return this.pt_1;
|
|
1008
1004
|
};
|
|
1009
|
-
protoOf(IntIndexedImpl).
|
|
1010
|
-
return this.
|
|
1005
|
+
protoOf(IntIndexedImpl).f2 = function () {
|
|
1006
|
+
return this.qt_1;
|
|
1011
1007
|
};
|
|
1012
|
-
protoOf(IntIndexedImpl).
|
|
1013
|
-
return this.
|
|
1008
|
+
protoOf(IntIndexedImpl).dd = function () {
|
|
1009
|
+
return this.pt_1;
|
|
1014
1010
|
};
|
|
1015
|
-
protoOf(IntIndexedImpl).
|
|
1016
|
-
return this.
|
|
1011
|
+
protoOf(IntIndexedImpl).ed = function () {
|
|
1012
|
+
return this.qt_1;
|
|
1017
1013
|
};
|
|
1018
1014
|
protoOf(IntIndexedImpl).toString = function () {
|
|
1019
|
-
return 'IntIndexedImpl(index=' + this.
|
|
1015
|
+
return 'IntIndexedImpl(index=' + this.pt_1 + ', value=' + toString_0(this.qt_1) + ')';
|
|
1020
1016
|
};
|
|
1021
1017
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
1022
|
-
var result = this.
|
|
1023
|
-
result = imul(result, 31) + (this.
|
|
1018
|
+
var result = this.pt_1;
|
|
1019
|
+
result = imul(result, 31) + (this.qt_1 == null ? 0 : hashCode(this.qt_1)) | 0;
|
|
1024
1020
|
return result;
|
|
1025
1021
|
};
|
|
1026
1022
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -1028,102 +1024,102 @@
|
|
|
1028
1024
|
return true;
|
|
1029
1025
|
if (!(other instanceof IntIndexedImpl))
|
|
1030
1026
|
return false;
|
|
1031
|
-
if (!(this.
|
|
1027
|
+
if (!(this.pt_1 === other.pt_1))
|
|
1032
1028
|
return false;
|
|
1033
|
-
if (!equals(this.
|
|
1029
|
+
if (!equals(this.qt_1, other.qt_1))
|
|
1034
1030
|
return false;
|
|
1035
1031
|
return true;
|
|
1036
1032
|
};
|
|
1037
1033
|
protoOf(IntIndexedImpl).d = function (other) {
|
|
1038
|
-
return this.
|
|
1034
|
+
return this.xq((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
1039
1035
|
};
|
|
1040
1036
|
function _get_wrapped__s2ip8($this) {
|
|
1041
|
-
var tmp0 = $this.
|
|
1037
|
+
var tmp0 = $this.st_1;
|
|
1042
1038
|
var tmp = KProperty1;
|
|
1043
1039
|
// Inline function 'kotlin.getValue' call
|
|
1044
|
-
|
|
1045
|
-
return tmp0.
|
|
1040
|
+
/* dead property reference removed */
|
|
1041
|
+
return tmp0.f2();
|
|
1046
1042
|
}
|
|
1047
1043
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
1048
1044
|
return function () {
|
|
1049
|
-
return new NonLastCursor(this$0.
|
|
1045
|
+
return new NonLastCursor(this$0.rt_1);
|
|
1050
1046
|
};
|
|
1051
1047
|
}
|
|
1052
1048
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
1053
|
-
return function (p0) {
|
|
1049
|
+
return constructCallableReference(function (p0) {
|
|
1054
1050
|
return _get_wrapped__s2ip8(p0);
|
|
1055
|
-
};
|
|
1051
|
+
}, 1, 0, 3);
|
|
1056
1052
|
}
|
|
1057
1053
|
function LazyCursor(delegate) {
|
|
1058
1054
|
AbstractCursor.call(this);
|
|
1059
|
-
this.
|
|
1055
|
+
this.rt_1 = delegate;
|
|
1060
1056
|
var tmp = this;
|
|
1061
|
-
tmp.
|
|
1057
|
+
tmp.st_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
1062
1058
|
}
|
|
1063
|
-
protoOf(LazyCursor).
|
|
1059
|
+
protoOf(LazyCursor).ft = function () {
|
|
1064
1060
|
return true;
|
|
1065
1061
|
};
|
|
1066
|
-
protoOf(LazyCursor).
|
|
1067
|
-
return _get_wrapped__s2ip8(this).
|
|
1062
|
+
protoOf(LazyCursor).qq = function () {
|
|
1063
|
+
return _get_wrapped__s2ip8(this).qq();
|
|
1068
1064
|
};
|
|
1069
|
-
protoOf(LazyCursor).
|
|
1070
|
-
return _get_wrapped__s2ip8(this).
|
|
1065
|
+
protoOf(LazyCursor).rq = function () {
|
|
1066
|
+
return _get_wrapped__s2ip8(this).rq();
|
|
1071
1067
|
};
|
|
1072
|
-
protoOf(LazyCursor).
|
|
1068
|
+
protoOf(LazyCursor).sq = function () {
|
|
1073
1069
|
return true;
|
|
1074
1070
|
};
|
|
1075
|
-
protoOf(LazyCursor).
|
|
1071
|
+
protoOf(LazyCursor).tq = function () {
|
|
1076
1072
|
return false;
|
|
1077
1073
|
};
|
|
1078
1074
|
protoOf(LazyCursor).toString = function () {
|
|
1079
1075
|
return protoOf(AbstractCursor).toString.call(this);
|
|
1080
1076
|
};
|
|
1081
|
-
protoOf(LazyCursor).
|
|
1082
|
-
return _get_wrapped__s2ip8(this).
|
|
1077
|
+
protoOf(LazyCursor).n = function () {
|
|
1078
|
+
return _get_wrapped__s2ip8(this).n();
|
|
1083
1079
|
};
|
|
1084
1080
|
protoOf(LazyCursor).iterator = function () {
|
|
1085
|
-
return this.
|
|
1081
|
+
return this.n();
|
|
1086
1082
|
};
|
|
1087
1083
|
protoOf(LazyCursor).hashCode = function () {
|
|
1088
|
-
return hashCode(this.
|
|
1084
|
+
return hashCode(this.rt_1);
|
|
1089
1085
|
};
|
|
1090
1086
|
protoOf(LazyCursor).equals = function (other) {
|
|
1091
1087
|
if (this === other)
|
|
1092
1088
|
return true;
|
|
1093
1089
|
if (!(other instanceof LazyCursor))
|
|
1094
1090
|
return false;
|
|
1095
|
-
if (!equals(this.
|
|
1091
|
+
if (!equals(this.rt_1, other.rt_1))
|
|
1096
1092
|
return false;
|
|
1097
1093
|
return true;
|
|
1098
1094
|
};
|
|
1099
1095
|
function LongIndexedImpl(index, value) {
|
|
1100
|
-
this.
|
|
1101
|
-
this.
|
|
1096
|
+
this.tt_1 = index;
|
|
1097
|
+
this.ut_1 = value;
|
|
1102
1098
|
}
|
|
1103
|
-
protoOf(LongIndexedImpl).
|
|
1104
|
-
return this.
|
|
1099
|
+
protoOf(LongIndexedImpl).vq = function () {
|
|
1100
|
+
return this.tt_1;
|
|
1105
1101
|
};
|
|
1106
|
-
protoOf(LongIndexedImpl).
|
|
1107
|
-
return this.
|
|
1102
|
+
protoOf(LongIndexedImpl).f2 = function () {
|
|
1103
|
+
return this.ut_1;
|
|
1108
1104
|
};
|
|
1109
|
-
protoOf(LongIndexedImpl).
|
|
1110
|
-
return convertToInt(subtract(this.
|
|
1105
|
+
protoOf(LongIndexedImpl).rs = function (other) {
|
|
1106
|
+
return convertToInt(subtract(this.tt_1, other.vq()));
|
|
1111
1107
|
};
|
|
1112
1108
|
protoOf(LongIndexedImpl).d = function (other) {
|
|
1113
|
-
return this.
|
|
1109
|
+
return this.rs((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1114
1110
|
};
|
|
1115
|
-
protoOf(LongIndexedImpl).
|
|
1116
|
-
return this.
|
|
1111
|
+
protoOf(LongIndexedImpl).dd = function () {
|
|
1112
|
+
return this.tt_1;
|
|
1117
1113
|
};
|
|
1118
|
-
protoOf(LongIndexedImpl).
|
|
1119
|
-
return this.
|
|
1114
|
+
protoOf(LongIndexedImpl).ed = function () {
|
|
1115
|
+
return this.ut_1;
|
|
1120
1116
|
};
|
|
1121
1117
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1122
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1118
|
+
return 'LongIndexedImpl(index=' + this.tt_1.toString() + ', value=' + toString_0(this.ut_1) + ')';
|
|
1123
1119
|
};
|
|
1124
1120
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1125
|
-
var result = getBigIntHashCode(this.
|
|
1126
|
-
result = imul(result, 31) + (this.
|
|
1121
|
+
var result = getBigIntHashCode(this.tt_1);
|
|
1122
|
+
result = imul(result, 31) + (this.ut_1 == null ? 0 : hashCode(this.ut_1)) | 0;
|
|
1127
1123
|
return result;
|
|
1128
1124
|
};
|
|
1129
1125
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1131,43 +1127,43 @@
|
|
|
1131
1127
|
return true;
|
|
1132
1128
|
if (!(other instanceof LongIndexedImpl))
|
|
1133
1129
|
return false;
|
|
1134
|
-
if (!(this.
|
|
1130
|
+
if (!(this.tt_1 === other.tt_1))
|
|
1135
1131
|
return false;
|
|
1136
|
-
if (!equals(this.
|
|
1132
|
+
if (!equals(this.ut_1, other.ut_1))
|
|
1137
1133
|
return false;
|
|
1138
1134
|
return true;
|
|
1139
1135
|
};
|
|
1140
1136
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1141
1137
|
return function () {
|
|
1142
|
-
return this$0.
|
|
1138
|
+
return this$0.wt_1(ensureNotNull(this$0.vt_1.rq()));
|
|
1143
1139
|
};
|
|
1144
1140
|
}
|
|
1145
1141
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1146
|
-
return function (p0) {
|
|
1147
|
-
return p0.
|
|
1148
|
-
};
|
|
1142
|
+
return constructCallableReference(function (p0) {
|
|
1143
|
+
return p0.rq();
|
|
1144
|
+
}, 1, 0, 4);
|
|
1149
1145
|
}
|
|
1150
1146
|
function MapperCursor(wrapped, mapper) {
|
|
1151
1147
|
AbstractCursor.call(this);
|
|
1152
|
-
this.
|
|
1153
|
-
this.
|
|
1148
|
+
this.vt_1 = wrapped;
|
|
1149
|
+
this.wt_1 = mapper;
|
|
1154
1150
|
var tmp = this;
|
|
1155
|
-
tmp.
|
|
1151
|
+
tmp.xt_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1156
1152
|
}
|
|
1157
|
-
protoOf(MapperCursor).
|
|
1158
|
-
return this.
|
|
1153
|
+
protoOf(MapperCursor).qq = function () {
|
|
1154
|
+
return this.vt_1.qq().gt(this.wt_1);
|
|
1159
1155
|
};
|
|
1160
|
-
protoOf(MapperCursor).
|
|
1161
|
-
var tmp0 = this.
|
|
1156
|
+
protoOf(MapperCursor).rq = function () {
|
|
1157
|
+
var tmp0 = this.xt_1;
|
|
1162
1158
|
var tmp = KProperty1;
|
|
1163
1159
|
// Inline function 'kotlin.getValue' call
|
|
1164
|
-
|
|
1165
|
-
return tmp0.
|
|
1160
|
+
/* dead property reference removed */
|
|
1161
|
+
return tmp0.f2();
|
|
1166
1162
|
};
|
|
1167
|
-
protoOf(MapperCursor).
|
|
1163
|
+
protoOf(MapperCursor).sq = function () {
|
|
1168
1164
|
return true;
|
|
1169
1165
|
};
|
|
1170
|
-
protoOf(MapperCursor).
|
|
1166
|
+
protoOf(MapperCursor).tq = function () {
|
|
1171
1167
|
return false;
|
|
1172
1168
|
};
|
|
1173
1169
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1177,60 +1173,60 @@
|
|
|
1177
1173
|
return false;
|
|
1178
1174
|
if (!(other instanceof MapperCursor))
|
|
1179
1175
|
THROW_CCE();
|
|
1180
|
-
if (!equals(this.
|
|
1176
|
+
if (!equals(this.vt_1, other.vt_1))
|
|
1181
1177
|
return false;
|
|
1182
|
-
if (!equals(this.
|
|
1178
|
+
if (!equals(this.wt_1, other.wt_1))
|
|
1183
1179
|
return false;
|
|
1184
1180
|
return true;
|
|
1185
1181
|
};
|
|
1186
1182
|
protoOf(MapperCursor).hashCode = function () {
|
|
1187
|
-
var result = hashCode(this.
|
|
1188
|
-
result = imul(31, result) + hashCode(this.
|
|
1183
|
+
var result = hashCode(this.vt_1);
|
|
1184
|
+
result = imul(31, result) + hashCode(this.wt_1) | 0;
|
|
1189
1185
|
return result;
|
|
1190
1186
|
};
|
|
1191
|
-
protoOf(MapperCursor).
|
|
1192
|
-
return new ValueCursor(mapper(this.
|
|
1187
|
+
protoOf(MapperCursor).yt = function (mapper) {
|
|
1188
|
+
return new ValueCursor(mapper(this.rq()), this.qq().gt(mapper));
|
|
1193
1189
|
};
|
|
1194
1190
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1195
|
-
return this.
|
|
1191
|
+
return this.yt(mapper);
|
|
1196
1192
|
};
|
|
1197
|
-
protoOf(MapperCursor).
|
|
1198
|
-
return this.
|
|
1193
|
+
protoOf(MapperCursor).gt = function (mapper) {
|
|
1194
|
+
return this.yt(mapper);
|
|
1199
1195
|
};
|
|
1200
1196
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1201
1197
|
return function () {
|
|
1202
1198
|
// Inline function 'kotlin.also' call
|
|
1203
|
-
var this_0 = Companion_instance_6.
|
|
1204
|
-
this$0.
|
|
1199
|
+
var this_0 = Companion_instance_6.uq($source);
|
|
1200
|
+
this$0.zt_1 = null;
|
|
1205
1201
|
return this_0;
|
|
1206
1202
|
};
|
|
1207
1203
|
}
|
|
1208
1204
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1209
|
-
return function (p0) {
|
|
1210
|
-
return p0.
|
|
1211
|
-
};
|
|
1205
|
+
return constructCallableReference(function (p0) {
|
|
1206
|
+
return p0.qq();
|
|
1207
|
+
}, 1, 0, 5);
|
|
1212
1208
|
}
|
|
1213
1209
|
function NonLastCursor(source) {
|
|
1214
1210
|
AbstractCursor.call(this);
|
|
1215
|
-
this.
|
|
1211
|
+
this.zt_1 = source;
|
|
1216
1212
|
var tmp = this;
|
|
1217
|
-
tmp.
|
|
1218
|
-
this.
|
|
1213
|
+
tmp.au_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1214
|
+
this.bu_1 = source.r();
|
|
1219
1215
|
}
|
|
1220
|
-
protoOf(NonLastCursor).
|
|
1221
|
-
var tmp0 = this.
|
|
1216
|
+
protoOf(NonLastCursor).qq = function () {
|
|
1217
|
+
var tmp0 = this.au_1;
|
|
1222
1218
|
var tmp = KProperty1;
|
|
1223
1219
|
// Inline function 'kotlin.getValue' call
|
|
1224
|
-
|
|
1225
|
-
return tmp0.
|
|
1220
|
+
/* dead property reference removed */
|
|
1221
|
+
return tmp0.f2();
|
|
1226
1222
|
};
|
|
1227
|
-
protoOf(NonLastCursor).
|
|
1228
|
-
return this.
|
|
1223
|
+
protoOf(NonLastCursor).rq = function () {
|
|
1224
|
+
return this.bu_1;
|
|
1229
1225
|
};
|
|
1230
|
-
protoOf(NonLastCursor).
|
|
1226
|
+
protoOf(NonLastCursor).sq = function () {
|
|
1231
1227
|
return true;
|
|
1232
1228
|
};
|
|
1233
|
-
protoOf(NonLastCursor).
|
|
1229
|
+
protoOf(NonLastCursor).tq = function () {
|
|
1234
1230
|
return false;
|
|
1235
1231
|
};
|
|
1236
1232
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1238,53 +1234,53 @@
|
|
|
1238
1234
|
};
|
|
1239
1235
|
function removeLeastRecent($this) {
|
|
1240
1236
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1241
|
-
var tmp$ret$0 = $this.
|
|
1237
|
+
var tmp$ret$0 = $this.du_1.d1();
|
|
1242
1238
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1243
1239
|
// Inline function 'kotlin.collections.component1' call
|
|
1244
|
-
var key = _destruct__k2r9zo.
|
|
1240
|
+
var key = _destruct__k2r9zo.e2();
|
|
1245
1241
|
// Inline function 'kotlin.collections.component2' call
|
|
1246
|
-
var value = _destruct__k2r9zo.
|
|
1247
|
-
$this.
|
|
1248
|
-
return Companion_instance_5.
|
|
1242
|
+
var value = _destruct__k2r9zo.f2();
|
|
1243
|
+
$this.du_1.m4(key);
|
|
1244
|
+
return Companion_instance_5.at(to(key, value));
|
|
1249
1245
|
}
|
|
1250
1246
|
function removeLeastRecentIfNecessary($this) {
|
|
1251
1247
|
var tmp;
|
|
1252
|
-
if ($this.
|
|
1248
|
+
if ($this.du_1.t() >= $this.cu_1) {
|
|
1253
1249
|
tmp = removeLeastRecent($this);
|
|
1254
1250
|
} else {
|
|
1255
|
-
tmp = Companion_instance_5.
|
|
1251
|
+
tmp = Companion_instance_5.lq();
|
|
1256
1252
|
}
|
|
1257
1253
|
return tmp;
|
|
1258
1254
|
}
|
|
1259
1255
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1260
1256
|
return function () {
|
|
1261
1257
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1262
|
-
var tmp0 = this$0.
|
|
1258
|
+
var tmp0 = this$0.du_1;
|
|
1263
1259
|
var tmp2 = $key;
|
|
1264
1260
|
// Inline function 'kotlin.collections.set' call
|
|
1265
1261
|
var value = $value;
|
|
1266
|
-
tmp0.
|
|
1262
|
+
tmp0.l4(tmp2, value);
|
|
1267
1263
|
return evicted;
|
|
1268
1264
|
};
|
|
1269
1265
|
}
|
|
1270
1266
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1271
1267
|
return function () {
|
|
1272
1268
|
var tmp;
|
|
1273
|
-
if (this$0.
|
|
1274
|
-
tmp = Companion_instance_5.
|
|
1269
|
+
if (this$0.du_1.g2($key)) {
|
|
1270
|
+
tmp = Companion_instance_5.mq(this$0.du_1.i2($key));
|
|
1275
1271
|
} else {
|
|
1276
|
-
tmp = Companion_instance_5.
|
|
1272
|
+
tmp = Companion_instance_5.lq();
|
|
1277
1273
|
}
|
|
1278
1274
|
return tmp;
|
|
1279
1275
|
};
|
|
1280
1276
|
}
|
|
1281
1277
|
function SimpleLRUCache$toSequence$lambda$lambda(it) {
|
|
1282
1278
|
// Inline function 'kotlin.collections.toPair' call
|
|
1283
|
-
return new Pair(it.
|
|
1279
|
+
return new Pair(it.e2(), it.f2());
|
|
1284
1280
|
}
|
|
1285
1281
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1286
1282
|
return function () {
|
|
1287
|
-
var tmp = asSequence(this$0.
|
|
1283
|
+
var tmp = asSequence(this$0.du_1.d1());
|
|
1288
1284
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1289
1285
|
};
|
|
1290
1286
|
}
|
|
@@ -1292,19 +1288,19 @@
|
|
|
1292
1288
|
return toString_0(it.first) + ' = ' + toString_0(it.second);
|
|
1293
1289
|
}
|
|
1294
1290
|
function SimpleLRUCache(capacity) {
|
|
1295
|
-
this.
|
|
1291
|
+
this.cu_1 = capacity;
|
|
1296
1292
|
// Inline function 'kotlin.require' call
|
|
1297
1293
|
// Inline function 'kotlin.require' call
|
|
1298
|
-
if (!(this.
|
|
1294
|
+
if (!(this.cu_1 > 0)) {
|
|
1299
1295
|
var message = 'Failed requirement.';
|
|
1300
1296
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1301
1297
|
}
|
|
1302
|
-
this.
|
|
1298
|
+
this.du_1 = LinkedHashMap_init_$Create$();
|
|
1303
1299
|
}
|
|
1304
|
-
protoOf(SimpleLRUCache).
|
|
1300
|
+
protoOf(SimpleLRUCache).eq = function (key, value) {
|
|
1305
1301
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1306
1302
|
};
|
|
1307
|
-
protoOf(SimpleLRUCache).
|
|
1303
|
+
protoOf(SimpleLRUCache).i2 = function (key) {
|
|
1308
1304
|
return synchronizedOnSelf(this, SimpleLRUCache$get$lambda(this, key));
|
|
1309
1305
|
};
|
|
1310
1306
|
protoOf(SimpleLRUCache).equals = function (other) {
|
|
@@ -1314,39 +1310,39 @@
|
|
|
1314
1310
|
return false;
|
|
1315
1311
|
if (!(other instanceof SimpleLRUCache))
|
|
1316
1312
|
THROW_CCE();
|
|
1317
|
-
if (!(this.
|
|
1313
|
+
if (!(this.cu_1 === other.cu_1))
|
|
1318
1314
|
return false;
|
|
1319
|
-
if (!this.
|
|
1315
|
+
if (!this.du_1.equals(other.du_1))
|
|
1320
1316
|
return false;
|
|
1321
1317
|
return true;
|
|
1322
1318
|
};
|
|
1323
1319
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1324
|
-
var result = this.
|
|
1325
|
-
result = imul(31, result) + this.
|
|
1320
|
+
var result = this.cu_1;
|
|
1321
|
+
result = imul(31, result) + this.du_1.hashCode() | 0;
|
|
1326
1322
|
return result;
|
|
1327
1323
|
};
|
|
1328
|
-
protoOf(SimpleLRUCache).
|
|
1324
|
+
protoOf(SimpleLRUCache).eu = function () {
|
|
1329
1325
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1330
1326
|
};
|
|
1331
1327
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1332
|
-
var tmp = this.
|
|
1328
|
+
var tmp = this.eu();
|
|
1333
1329
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1334
1330
|
};
|
|
1335
1331
|
function ValueCursor(current, next) {
|
|
1336
1332
|
AbstractCursor.call(this);
|
|
1337
|
-
this.
|
|
1338
|
-
this.
|
|
1333
|
+
this.fu_1 = current;
|
|
1334
|
+
this.gu_1 = next;
|
|
1339
1335
|
}
|
|
1340
|
-
protoOf(ValueCursor).
|
|
1341
|
-
return this.
|
|
1336
|
+
protoOf(ValueCursor).rq = function () {
|
|
1337
|
+
return this.fu_1;
|
|
1342
1338
|
};
|
|
1343
|
-
protoOf(ValueCursor).
|
|
1344
|
-
return this.
|
|
1339
|
+
protoOf(ValueCursor).qq = function () {
|
|
1340
|
+
return this.gu_1;
|
|
1345
1341
|
};
|
|
1346
|
-
protoOf(ValueCursor).
|
|
1342
|
+
protoOf(ValueCursor).sq = function () {
|
|
1347
1343
|
return true;
|
|
1348
1344
|
};
|
|
1349
|
-
protoOf(ValueCursor).
|
|
1345
|
+
protoOf(ValueCursor).tq = function () {
|
|
1350
1346
|
return false;
|
|
1351
1347
|
};
|
|
1352
1348
|
function dequeOf(items) {
|
|
@@ -1363,21 +1359,21 @@
|
|
|
1363
1359
|
return toMutableList(items);
|
|
1364
1360
|
}
|
|
1365
1361
|
function takeFirst(_this__u8e3s4) {
|
|
1366
|
-
if (_this__u8e3s4.
|
|
1362
|
+
if (_this__u8e3s4.h())
|
|
1367
1363
|
return null;
|
|
1368
|
-
var first = _this__u8e3s4.
|
|
1369
|
-
_this__u8e3s4.
|
|
1364
|
+
var first = _this__u8e3s4.u(0);
|
|
1365
|
+
_this__u8e3s4.j3(0);
|
|
1370
1366
|
return first;
|
|
1371
1367
|
}
|
|
1372
1368
|
function addFirst(_this__u8e3s4, item) {
|
|
1373
|
-
_this__u8e3s4.
|
|
1369
|
+
_this__u8e3s4.u3(0, item);
|
|
1374
1370
|
}
|
|
1375
1371
|
function addFirst_0(_this__u8e3s4, items) {
|
|
1376
|
-
var i = _this__u8e3s4.
|
|
1377
|
-
var _iterator__ex2g4s = items.
|
|
1378
|
-
while (_iterator__ex2g4s.
|
|
1379
|
-
var item = _iterator__ex2g4s.
|
|
1380
|
-
i.
|
|
1372
|
+
var i = _this__u8e3s4.c4();
|
|
1373
|
+
var _iterator__ex2g4s = items.n();
|
|
1374
|
+
while (_iterator__ex2g4s.q()) {
|
|
1375
|
+
var item = _iterator__ex2g4s.r();
|
|
1376
|
+
i.v3(item);
|
|
1381
1377
|
}
|
|
1382
1378
|
}
|
|
1383
1379
|
function synchronizedOn(obj, action) {
|
|
@@ -1390,9 +1386,9 @@
|
|
|
1390
1386
|
//region block: post-declaration
|
|
1391
1387
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1392
1388
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1393
|
-
protoOf(CachedImpl).
|
|
1394
|
-
protoOf(IntIndexedImpl).
|
|
1395
|
-
protoOf(SimpleLRUCache).
|
|
1389
|
+
protoOf(CachedImpl).kq = ifValid;
|
|
1390
|
+
protoOf(IntIndexedImpl).xq = compareTo_0;
|
|
1391
|
+
protoOf(SimpleLRUCache).fq = getOrSet;
|
|
1396
1392
|
//endregion
|
|
1397
1393
|
//region block: init
|
|
1398
1394
|
Companion_instance = new Companion();
|
|
@@ -1413,7 +1409,7 @@
|
|
|
1413
1409
|
_.$_$.f = Castable;
|
|
1414
1410
|
_.$_$.g = component1;
|
|
1415
1411
|
_.$_$.h = component2;
|
|
1416
|
-
_.$_$.i =
|
|
1412
|
+
_.$_$.i = compareTo_1;
|
|
1417
1413
|
_.$_$.j = LongIndexed;
|
|
1418
1414
|
_.$_$.k = NumberTypeTester;
|
|
1419
1415
|
_.$_$.l = Some;
|