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