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