@tuprolog/arg2p-causality-solver 0.16.7 → 0.17.0
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 +2568 -2568
- package/2p-core.js.map +1 -1
- package/2p-solve-prolog.js +913 -913
- package/2p-solve-prolog.js.map +1 -1
- package/2p-solve.js +4047 -4047
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1613 -1613
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +333 -333
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +374 -374
- package/2p-utils.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1814 -1814
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1454 -1454
- package/kt-math.js.map +1 -1
- package/package.json +1 -1
package/2p-utils.js
CHANGED
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
//region block: pre-declaration
|
|
75
75
|
initMetadataForCompanion(Companion);
|
|
76
76
|
function getOrSet(key, valueGenerator) {
|
|
77
|
-
var got = this.
|
|
77
|
+
var got = this.j2(key);
|
|
78
78
|
var tmp;
|
|
79
79
|
if (got instanceof Some) {
|
|
80
|
-
tmp = got.
|
|
80
|
+
tmp = got.uo_1;
|
|
81
81
|
} else {
|
|
82
82
|
// Inline function 'kotlin.also' call
|
|
83
83
|
var this_0 = valueGenerator();
|
|
84
|
-
this.
|
|
84
|
+
this.so(key, this_0);
|
|
85
85
|
tmp = this_0;
|
|
86
86
|
}
|
|
87
87
|
return tmp;
|
|
@@ -90,13 +90,13 @@
|
|
|
90
90
|
initMetadataForCompanion(Companion_0);
|
|
91
91
|
function ifValid(consumer) {
|
|
92
92
|
var tmp;
|
|
93
|
-
if (this.
|
|
93
|
+
if (this.wo()) {
|
|
94
94
|
var tmp_0 = Companion_instance_4;
|
|
95
95
|
// Inline function 'kotlin.let' call
|
|
96
|
-
var tmp$ret$0 = consumer(this.
|
|
97
|
-
tmp = tmp_0.
|
|
96
|
+
var tmp$ret$0 = consumer(this.g2());
|
|
97
|
+
tmp = tmp_0.ap(tmp$ret$0);
|
|
98
98
|
} else {
|
|
99
|
-
tmp = Companion_instance_4.
|
|
99
|
+
tmp = Companion_instance_4.zo();
|
|
100
100
|
}
|
|
101
101
|
return tmp;
|
|
102
102
|
}
|
|
@@ -118,15 +118,15 @@
|
|
|
118
118
|
}
|
|
119
119
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
120
120
|
function component1() {
|
|
121
|
-
return this.
|
|
121
|
+
return this.jp();
|
|
122
122
|
}
|
|
123
123
|
function component2() {
|
|
124
|
-
return this.
|
|
124
|
+
return this.g2();
|
|
125
125
|
}
|
|
126
126
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
127
127
|
initMetadataForCompanion(Companion_2);
|
|
128
128
|
function compareTo_0(other) {
|
|
129
|
-
return compareTo(this.
|
|
129
|
+
return compareTo(this.jp(), other.jp());
|
|
130
130
|
}
|
|
131
131
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
132
132
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
137
137
|
initMetadataForCompanion(Companion_3);
|
|
138
138
|
function compareTo_1(other) {
|
|
139
|
-
return compareTo(this.
|
|
139
|
+
return compareTo(this.jp(), other.jp());
|
|
140
140
|
}
|
|
141
141
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
142
142
|
initMetadataForCompanion(Companion_4);
|
|
@@ -144,13 +144,13 @@
|
|
|
144
144
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
145
145
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
146
146
|
function getTag(name) {
|
|
147
|
-
return this.
|
|
147
|
+
return this.ir().j2(name);
|
|
148
148
|
}
|
|
149
149
|
function containsTag(name) {
|
|
150
150
|
// Inline function 'kotlin.collections.contains' call
|
|
151
151
|
// Inline function 'kotlin.collections.containsKey' call
|
|
152
|
-
var this_0 = this.
|
|
153
|
-
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
152
|
+
var this_0 = this.ir();
|
|
153
|
+
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).h2(name);
|
|
154
154
|
}
|
|
155
155
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
156
156
|
initMetadataForCompanion(Companion_5);
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
//endregion
|
|
170
170
|
function Companion() {
|
|
171
171
|
}
|
|
172
|
-
protoOf(Companion).
|
|
172
|
+
protoOf(Companion).ro = function (capacity) {
|
|
173
173
|
return new SimpleLRUCache(capacity);
|
|
174
174
|
};
|
|
175
175
|
var Companion_instance;
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
}
|
|
181
181
|
function Companion_0() {
|
|
182
182
|
}
|
|
183
|
-
protoOf(Companion_0).
|
|
183
|
+
protoOf(Companion_0).vo = function (generator) {
|
|
184
184
|
return new CachedImpl(generator);
|
|
185
185
|
};
|
|
186
186
|
var Companion_instance_0;
|
|
@@ -207,39 +207,39 @@
|
|
|
207
207
|
return Companion_instance_1;
|
|
208
208
|
}
|
|
209
209
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
210
|
-
this.
|
|
210
|
+
this.cp_1 = this$0;
|
|
211
211
|
}
|
|
212
|
-
protoOf(Cursor$asIterable$$inlined$Iterable$1).
|
|
213
|
-
return this.
|
|
212
|
+
protoOf(Cursor$asIterable$$inlined$Iterable$1).n = function () {
|
|
213
|
+
return this.cp_1.iterator();
|
|
214
214
|
};
|
|
215
215
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
216
|
-
this.
|
|
216
|
+
this.dp_1 = this$0;
|
|
217
217
|
}
|
|
218
|
-
protoOf(Cursor$asSequence$$inlined$Sequence$1).
|
|
219
|
-
return this.
|
|
218
|
+
protoOf(Cursor$asSequence$$inlined$Sequence$1).n = function () {
|
|
219
|
+
return this.dp_1.iterator();
|
|
220
220
|
};
|
|
221
221
|
function Cursor() {
|
|
222
222
|
}
|
|
223
223
|
function cursor(_this__u8e3s4) {
|
|
224
|
-
return toCursor(_this__u8e3s4.
|
|
224
|
+
return toCursor(_this__u8e3s4.n());
|
|
225
225
|
}
|
|
226
226
|
function plus(_this__u8e3s4, other) {
|
|
227
|
-
return other.
|
|
227
|
+
return other.gp() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.gp() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
228
228
|
}
|
|
229
229
|
function cursor_0(_this__u8e3s4) {
|
|
230
|
-
return toCursor(_this__u8e3s4.
|
|
230
|
+
return toCursor(_this__u8e3s4.n());
|
|
231
231
|
}
|
|
232
232
|
function cursor_1(_this__u8e3s4) {
|
|
233
233
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
234
234
|
}
|
|
235
235
|
function toCursor(_this__u8e3s4) {
|
|
236
|
-
return Companion_instance_5.
|
|
236
|
+
return Companion_instance_5.ip(_this__u8e3s4);
|
|
237
237
|
}
|
|
238
238
|
function Indexed() {
|
|
239
239
|
}
|
|
240
240
|
function Companion_2() {
|
|
241
241
|
}
|
|
242
|
-
protoOf(Companion_2).
|
|
242
|
+
protoOf(Companion_2).kp = function (index, value) {
|
|
243
243
|
return new IntIndexedImpl(index, value);
|
|
244
244
|
};
|
|
245
245
|
var Companion_instance_2;
|
|
@@ -259,10 +259,10 @@
|
|
|
259
259
|
}
|
|
260
260
|
function itemWiseHashCode_0(iterable) {
|
|
261
261
|
var hash = 13;
|
|
262
|
-
var i = iterable.
|
|
263
|
-
while (i.
|
|
262
|
+
var i = iterable.n();
|
|
263
|
+
while (i.q()) {
|
|
264
264
|
var tmp = imul(31, hash);
|
|
265
|
-
var tmp0_safe_receiver = i.
|
|
265
|
+
var tmp0_safe_receiver = i.r();
|
|
266
266
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
267
267
|
hash = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
268
268
|
}
|
|
@@ -276,11 +276,11 @@
|
|
|
276
276
|
// Inline function 'kotlin.collections.map' call
|
|
277
277
|
// Inline function 'kotlin.collections.mapTo' call
|
|
278
278
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
|
|
279
|
-
var _iterator__ex2g4s = iterables.
|
|
280
|
-
while (_iterator__ex2g4s.
|
|
281
|
-
var item = _iterator__ex2g4s.
|
|
279
|
+
var _iterator__ex2g4s = iterables.n();
|
|
280
|
+
while (_iterator__ex2g4s.q()) {
|
|
281
|
+
var item = _iterator__ex2g4s.r();
|
|
282
282
|
var tmp$ret$2 = asIterable_0(item);
|
|
283
|
-
destination.
|
|
283
|
+
destination.l(tmp$ret$2);
|
|
284
284
|
}
|
|
285
285
|
return merge(tmp, destination);
|
|
286
286
|
}
|
|
@@ -297,16 +297,16 @@
|
|
|
297
297
|
return sequence(insertAt$slambda_0(_this__u8e3s4, index, item, items, null));
|
|
298
298
|
}
|
|
299
299
|
function itemWiseEquals_1(iterable1, iterable2, comparator) {
|
|
300
|
-
var i = iterable1.
|
|
301
|
-
var j = iterable2.
|
|
302
|
-
while (i.
|
|
303
|
-
var a = i.
|
|
304
|
-
var b = j.
|
|
300
|
+
var i = iterable1.n();
|
|
301
|
+
var j = iterable2.n();
|
|
302
|
+
while (i.q() && j.q()) {
|
|
303
|
+
var a = i.r();
|
|
304
|
+
var b = j.r();
|
|
305
305
|
if (!comparator(a, b)) {
|
|
306
306
|
return false;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
return i.
|
|
309
|
+
return i.q() === j.q();
|
|
310
310
|
}
|
|
311
311
|
function merge(comparator, iterables) {
|
|
312
312
|
return sequence(merge$slambda_0(iterables, comparator, null));
|
|
@@ -316,23 +316,23 @@
|
|
|
316
316
|
return zip(_this__u8e3s4, tmp, indexed$lambda);
|
|
317
317
|
}
|
|
318
318
|
function sam$kotlin_Comparator$0(function_0) {
|
|
319
|
-
this.
|
|
319
|
+
this.mp_1 = function_0;
|
|
320
320
|
}
|
|
321
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
322
|
-
return this.
|
|
321
|
+
protoOf(sam$kotlin_Comparator$0).bb = function (a, b) {
|
|
322
|
+
return this.mp_1(a, b);
|
|
323
323
|
};
|
|
324
324
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
325
|
-
return this.
|
|
325
|
+
return this.bb(a, b);
|
|
326
326
|
};
|
|
327
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
328
|
-
return this.
|
|
327
|
+
protoOf(sam$kotlin_Comparator$0).r2 = function () {
|
|
328
|
+
return this.mp_1;
|
|
329
329
|
};
|
|
330
330
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
331
331
|
var tmp;
|
|
332
332
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
333
333
|
var tmp_0;
|
|
334
334
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
335
|
-
tmp_0 = equals(this.
|
|
335
|
+
tmp_0 = equals(this.r2(), other.r2());
|
|
336
336
|
} else {
|
|
337
337
|
tmp_0 = false;
|
|
338
338
|
}
|
|
@@ -343,202 +343,202 @@
|
|
|
343
343
|
return tmp;
|
|
344
344
|
};
|
|
345
345
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
346
|
-
return hashCode(this.
|
|
346
|
+
return hashCode(this.r2());
|
|
347
347
|
};
|
|
348
348
|
function itemWiseEquals$lambda(a, b) {
|
|
349
349
|
return equals(a, b);
|
|
350
350
|
}
|
|
351
351
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
352
|
-
this
|
|
352
|
+
this.vp_1 = $this_dropLast;
|
|
353
353
|
CoroutineImpl.call(this, resultContinuation);
|
|
354
354
|
}
|
|
355
|
-
protoOf(dropLast$slambda).
|
|
356
|
-
var tmp = this.
|
|
357
|
-
tmp.
|
|
358
|
-
tmp.
|
|
359
|
-
return tmp.
|
|
355
|
+
protoOf(dropLast$slambda).yp = function ($this$sequence, $completion) {
|
|
356
|
+
var tmp = this.zp($this$sequence, $completion);
|
|
357
|
+
tmp.e8_1 = Unit_instance;
|
|
358
|
+
tmp.f8_1 = null;
|
|
359
|
+
return tmp.k8();
|
|
360
360
|
};
|
|
361
|
-
protoOf(dropLast$slambda).
|
|
362
|
-
return this.
|
|
361
|
+
protoOf(dropLast$slambda).b9 = function (p1, $completion) {
|
|
362
|
+
return this.yp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
363
363
|
};
|
|
364
|
-
protoOf(dropLast$slambda).
|
|
365
|
-
var suspendResult = this.
|
|
364
|
+
protoOf(dropLast$slambda).k8 = function () {
|
|
365
|
+
var suspendResult = this.e8_1;
|
|
366
366
|
$sm: do
|
|
367
367
|
try {
|
|
368
|
-
var tmp = this.
|
|
368
|
+
var tmp = this.c8_1;
|
|
369
369
|
switch (tmp) {
|
|
370
370
|
case 0:
|
|
371
|
-
this.
|
|
372
|
-
this.
|
|
373
|
-
this.
|
|
371
|
+
this.d8_1 = 5;
|
|
372
|
+
this.xp_1 = this.vp_1.n();
|
|
373
|
+
this.c8_1 = 1;
|
|
374
374
|
continue $sm;
|
|
375
375
|
case 1:
|
|
376
|
-
if (!this.
|
|
377
|
-
this.
|
|
376
|
+
if (!this.xp_1.q()) {
|
|
377
|
+
this.c8_1 = 4;
|
|
378
378
|
continue $sm;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
var current = this.
|
|
382
|
-
if (this.
|
|
383
|
-
this.
|
|
384
|
-
suspendResult = this
|
|
381
|
+
var current = this.xp_1.r();
|
|
382
|
+
if (this.xp_1.q()) {
|
|
383
|
+
this.c8_1 = 2;
|
|
384
|
+
suspendResult = this.wp_1.nc(current, this);
|
|
385
385
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
386
386
|
return suspendResult;
|
|
387
387
|
}
|
|
388
388
|
continue $sm;
|
|
389
389
|
} else {
|
|
390
|
-
this.
|
|
390
|
+
this.c8_1 = 3;
|
|
391
391
|
continue $sm;
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
case 2:
|
|
395
|
-
this.
|
|
395
|
+
this.c8_1 = 3;
|
|
396
396
|
continue $sm;
|
|
397
397
|
case 3:
|
|
398
|
-
this.
|
|
398
|
+
this.c8_1 = 1;
|
|
399
399
|
continue $sm;
|
|
400
400
|
case 4:
|
|
401
401
|
return Unit_instance;
|
|
402
402
|
case 5:
|
|
403
|
-
throw this.
|
|
403
|
+
throw this.f8_1;
|
|
404
404
|
}
|
|
405
405
|
} catch ($p) {
|
|
406
406
|
var e = $p;
|
|
407
|
-
if (this.
|
|
407
|
+
if (this.d8_1 === 5) {
|
|
408
408
|
throw e;
|
|
409
409
|
} else {
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
410
|
+
this.c8_1 = this.d8_1;
|
|
411
|
+
this.f8_1 = e;
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
414
|
while (true);
|
|
415
415
|
};
|
|
416
|
-
protoOf(dropLast$slambda).
|
|
417
|
-
var i = new dropLast$slambda(this
|
|
418
|
-
i
|
|
416
|
+
protoOf(dropLast$slambda).zp = function ($this$sequence, completion) {
|
|
417
|
+
var i = new dropLast$slambda(this.vp_1, completion);
|
|
418
|
+
i.wp_1 = $this$sequence;
|
|
419
419
|
return i;
|
|
420
420
|
};
|
|
421
421
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
422
422
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
423
423
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
424
|
-
return i.
|
|
424
|
+
return i.yp($this$sequence, $completion);
|
|
425
425
|
}, 1);
|
|
426
426
|
}
|
|
427
427
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
428
|
-
this
|
|
429
|
-
this
|
|
430
|
-
this
|
|
431
|
-
this
|
|
428
|
+
this.iq_1 = $this_insertAt;
|
|
429
|
+
this.jq_1 = $index;
|
|
430
|
+
this.kq_1 = $item;
|
|
431
|
+
this.lq_1 = $items;
|
|
432
432
|
CoroutineImpl.call(this, resultContinuation);
|
|
433
433
|
}
|
|
434
|
-
protoOf(insertAt$slambda).
|
|
435
|
-
var tmp = this.
|
|
436
|
-
tmp.
|
|
437
|
-
tmp.
|
|
438
|
-
return tmp.
|
|
434
|
+
protoOf(insertAt$slambda).yp = function ($this$sequence, $completion) {
|
|
435
|
+
var tmp = this.zp($this$sequence, $completion);
|
|
436
|
+
tmp.e8_1 = Unit_instance;
|
|
437
|
+
tmp.f8_1 = null;
|
|
438
|
+
return tmp.k8();
|
|
439
439
|
};
|
|
440
|
-
protoOf(insertAt$slambda).
|
|
441
|
-
return this.
|
|
440
|
+
protoOf(insertAt$slambda).b9 = function (p1, $completion) {
|
|
441
|
+
return this.yp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
442
442
|
};
|
|
443
|
-
protoOf(insertAt$slambda).
|
|
444
|
-
var suspendResult = this.
|
|
443
|
+
protoOf(insertAt$slambda).k8 = function () {
|
|
444
|
+
var suspendResult = this.e8_1;
|
|
445
445
|
$sm: do
|
|
446
446
|
try {
|
|
447
|
-
var tmp = this.
|
|
447
|
+
var tmp = this.c8_1;
|
|
448
448
|
switch (tmp) {
|
|
449
449
|
case 0:
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
450
|
+
this.d8_1 = 7;
|
|
451
|
+
this.oq_1 = asIterable_0(withIndex(this.iq_1)).n();
|
|
452
|
+
this.c8_1 = 1;
|
|
453
453
|
continue $sm;
|
|
454
454
|
case 1:
|
|
455
|
-
if (!this.
|
|
456
|
-
this.
|
|
455
|
+
if (!this.oq_1.q()) {
|
|
456
|
+
this.c8_1 = 6;
|
|
457
457
|
continue $sm;
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
-
var _destruct__k2r9zo = this.
|
|
461
|
-
var i = _destruct__k2r9zo.
|
|
462
|
-
this.
|
|
463
|
-
if (i === this
|
|
464
|
-
this.
|
|
465
|
-
suspendResult = this
|
|
460
|
+
var _destruct__k2r9zo = this.oq_1.r();
|
|
461
|
+
var i = _destruct__k2r9zo.ac();
|
|
462
|
+
this.nq_1 = _destruct__k2r9zo.bc();
|
|
463
|
+
if (i === this.jq_1) {
|
|
464
|
+
this.c8_1 = 2;
|
|
465
|
+
suspendResult = this.mq_1.nc(this.kq_1, this);
|
|
466
466
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
467
467
|
return suspendResult;
|
|
468
468
|
}
|
|
469
469
|
continue $sm;
|
|
470
470
|
} else {
|
|
471
|
-
this.
|
|
471
|
+
this.c8_1 = 4;
|
|
472
472
|
continue $sm;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
case 2:
|
|
476
|
-
this.
|
|
477
|
-
suspendResult = this
|
|
476
|
+
this.c8_1 = 3;
|
|
477
|
+
suspendResult = this.mq_1.pc(asIterable(this.lq_1), this);
|
|
478
478
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
479
479
|
return suspendResult;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
continue $sm;
|
|
483
483
|
case 3:
|
|
484
|
-
this.
|
|
484
|
+
this.c8_1 = 4;
|
|
485
485
|
continue $sm;
|
|
486
486
|
case 4:
|
|
487
|
-
this.
|
|
488
|
-
suspendResult = this
|
|
487
|
+
this.c8_1 = 5;
|
|
488
|
+
suspendResult = this.mq_1.nc(this.nq_1, this);
|
|
489
489
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
490
490
|
return suspendResult;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
continue $sm;
|
|
494
494
|
case 5:
|
|
495
|
-
this.
|
|
495
|
+
this.c8_1 = 1;
|
|
496
496
|
continue $sm;
|
|
497
497
|
case 6:
|
|
498
498
|
return Unit_instance;
|
|
499
499
|
case 7:
|
|
500
|
-
throw this.
|
|
500
|
+
throw this.f8_1;
|
|
501
501
|
}
|
|
502
502
|
} catch ($p) {
|
|
503
503
|
var e = $p;
|
|
504
|
-
if (this.
|
|
504
|
+
if (this.d8_1 === 7) {
|
|
505
505
|
throw e;
|
|
506
506
|
} else {
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
507
|
+
this.c8_1 = this.d8_1;
|
|
508
|
+
this.f8_1 = e;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
while (true);
|
|
512
512
|
};
|
|
513
|
-
protoOf(insertAt$slambda).
|
|
514
|
-
var i = new insertAt$slambda(this
|
|
515
|
-
i
|
|
513
|
+
protoOf(insertAt$slambda).zp = function ($this$sequence, completion) {
|
|
514
|
+
var i = new insertAt$slambda(this.iq_1, this.jq_1, this.kq_1, this.lq_1, completion);
|
|
515
|
+
i.mq_1 = $this$sequence;
|
|
516
516
|
return i;
|
|
517
517
|
};
|
|
518
518
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
519
519
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
520
520
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
521
|
-
return i.
|
|
521
|
+
return i.yp($this$sequence, $completion);
|
|
522
522
|
}, 1);
|
|
523
523
|
}
|
|
524
524
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
525
|
-
this.
|
|
525
|
+
this.pq_1 = function_0;
|
|
526
526
|
}
|
|
527
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
528
|
-
return this.
|
|
527
|
+
protoOf(sam$kotlin_Comparator$0_0).bb = function (a, b) {
|
|
528
|
+
return this.pq_1(a, b);
|
|
529
529
|
};
|
|
530
530
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
531
|
-
return this.
|
|
531
|
+
return this.bb(a, b);
|
|
532
532
|
};
|
|
533
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
534
|
-
return this.
|
|
533
|
+
protoOf(sam$kotlin_Comparator$0_0).r2 = function () {
|
|
534
|
+
return this.pq_1;
|
|
535
535
|
};
|
|
536
536
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
537
537
|
var tmp;
|
|
538
538
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
539
539
|
var tmp_0;
|
|
540
540
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
541
|
-
tmp_0 = equals(this.
|
|
541
|
+
tmp_0 = equals(this.r2(), other.r2());
|
|
542
542
|
} else {
|
|
543
543
|
tmp_0 = false;
|
|
544
544
|
}
|
|
@@ -549,114 +549,114 @@
|
|
|
549
549
|
return tmp;
|
|
550
550
|
};
|
|
551
551
|
protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
552
|
-
return hashCode(this.
|
|
552
|
+
return hashCode(this.r2());
|
|
553
553
|
};
|
|
554
554
|
function merge$slambda$lambda(it) {
|
|
555
555
|
return cursor_0(it);
|
|
556
556
|
}
|
|
557
557
|
function merge$slambda$lambda_0(it) {
|
|
558
|
-
return it.
|
|
558
|
+
return it.hp();
|
|
559
559
|
}
|
|
560
560
|
function merge$slambda$lambda_1(it) {
|
|
561
|
-
return ensureNotNull(it.
|
|
561
|
+
return ensureNotNull(it.fp());
|
|
562
562
|
}
|
|
563
563
|
function merge$slambda$lambda_2($comparator) {
|
|
564
564
|
return function (a, b) {
|
|
565
|
-
return $comparator.compare(a.
|
|
565
|
+
return $comparator.compare(a.g2(), b.g2());
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
569
|
-
this
|
|
570
|
-
this
|
|
569
|
+
this.yq_1 = $iterables;
|
|
570
|
+
this.zq_1 = $comparator;
|
|
571
571
|
CoroutineImpl.call(this, resultContinuation);
|
|
572
572
|
}
|
|
573
|
-
protoOf(merge$slambda).
|
|
574
|
-
var tmp = this.
|
|
575
|
-
tmp.
|
|
576
|
-
tmp.
|
|
577
|
-
return tmp.
|
|
573
|
+
protoOf(merge$slambda).yp = function ($this$sequence, $completion) {
|
|
574
|
+
var tmp = this.zp($this$sequence, $completion);
|
|
575
|
+
tmp.e8_1 = Unit_instance;
|
|
576
|
+
tmp.f8_1 = null;
|
|
577
|
+
return tmp.k8();
|
|
578
578
|
};
|
|
579
|
-
protoOf(merge$slambda).
|
|
580
|
-
return this.
|
|
579
|
+
protoOf(merge$slambda).b9 = function (p1, $completion) {
|
|
580
|
+
return this.yp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
581
581
|
};
|
|
582
|
-
protoOf(merge$slambda).
|
|
583
|
-
var suspendResult = this.
|
|
582
|
+
protoOf(merge$slambda).k8 = function () {
|
|
583
|
+
var suspendResult = this.e8_1;
|
|
584
584
|
$sm: do
|
|
585
585
|
try {
|
|
586
|
-
var tmp = this.
|
|
586
|
+
var tmp = this.c8_1;
|
|
587
587
|
switch (tmp) {
|
|
588
588
|
case 0:
|
|
589
|
-
this.
|
|
589
|
+
this.d8_1 = 3;
|
|
590
590
|
var tmp_0 = this;
|
|
591
|
-
var tmp_1 = asSequence(this
|
|
591
|
+
var tmp_1 = asSequence(this.yq_1);
|
|
592
592
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
593
|
-
tmp_0.
|
|
594
|
-
this.
|
|
593
|
+
tmp_0.cr_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
594
|
+
this.c8_1 = 1;
|
|
595
595
|
continue $sm;
|
|
596
596
|
case 1:
|
|
597
|
-
if (!!this.
|
|
598
|
-
this.
|
|
597
|
+
if (!!this.cr_1.i()) {
|
|
598
|
+
this.c8_1 = 4;
|
|
599
599
|
continue $sm;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
var tmp_3 = asSequence(this.
|
|
602
|
+
var tmp_3 = asSequence(this.cr_1);
|
|
603
603
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
604
|
-
var tmp_5 = merge$slambda$lambda_2(this
|
|
604
|
+
var tmp_5 = merge$slambda$lambda_2(this.zq_1);
|
|
605
605
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
606
|
-
this.
|
|
607
|
-
var minValue = _destruct__k2r9zo.
|
|
608
|
-
this.
|
|
609
|
-
suspendResult = this
|
|
606
|
+
this.br_1 = _destruct__k2r9zo.ac();
|
|
607
|
+
var minValue = _destruct__k2r9zo.bc();
|
|
608
|
+
this.c8_1 = 2;
|
|
609
|
+
suspendResult = this.ar_1.nc(minValue, this);
|
|
610
610
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
611
611
|
return suspendResult;
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
continue $sm;
|
|
615
615
|
case 2:
|
|
616
|
-
var it = this.
|
|
616
|
+
var it = this.cr_1.u(this.br_1).ep();
|
|
617
617
|
var tmp_6;
|
|
618
|
-
if (it.
|
|
619
|
-
tmp_6 = this.
|
|
618
|
+
if (it.hp()) {
|
|
619
|
+
tmp_6 = this.cr_1.k3(this.br_1);
|
|
620
620
|
} else {
|
|
621
|
-
this.
|
|
621
|
+
this.cr_1.c3(this.br_1, it);
|
|
622
622
|
tmp_6 = Unit_instance;
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
this.
|
|
625
|
+
this.c8_1 = 1;
|
|
626
626
|
continue $sm;
|
|
627
627
|
case 3:
|
|
628
|
-
throw this.
|
|
628
|
+
throw this.f8_1;
|
|
629
629
|
case 4:
|
|
630
630
|
return Unit_instance;
|
|
631
631
|
}
|
|
632
632
|
} catch ($p) {
|
|
633
633
|
var e = $p;
|
|
634
|
-
if (this.
|
|
634
|
+
if (this.d8_1 === 3) {
|
|
635
635
|
throw e;
|
|
636
636
|
} else {
|
|
637
|
-
this.
|
|
638
|
-
this.
|
|
637
|
+
this.c8_1 = this.d8_1;
|
|
638
|
+
this.f8_1 = e;
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
while (true);
|
|
642
642
|
};
|
|
643
|
-
protoOf(merge$slambda).
|
|
644
|
-
var i = new merge$slambda(this
|
|
645
|
-
i
|
|
643
|
+
protoOf(merge$slambda).zp = function ($this$sequence, completion) {
|
|
644
|
+
var i = new merge$slambda(this.yq_1, this.zq_1, completion);
|
|
645
|
+
i.ar_1 = $this$sequence;
|
|
646
646
|
return i;
|
|
647
647
|
};
|
|
648
648
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
649
649
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
650
650
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
651
|
-
return i.
|
|
651
|
+
return i.yp($this$sequence, $completion);
|
|
652
652
|
}, 1);
|
|
653
653
|
}
|
|
654
654
|
function indexed$lambda(it, i) {
|
|
655
|
-
return Companion_instance_2.
|
|
655
|
+
return Companion_instance_2.kp(i, it);
|
|
656
656
|
}
|
|
657
657
|
function Companion_3() {
|
|
658
658
|
}
|
|
659
|
-
protoOf(Companion_3).
|
|
659
|
+
protoOf(Companion_3).dr = function (index, value) {
|
|
660
660
|
return new LongIndexedImpl(index, value);
|
|
661
661
|
};
|
|
662
662
|
var Companion_instance_3;
|
|
@@ -667,19 +667,19 @@
|
|
|
667
667
|
}
|
|
668
668
|
function Companion_4() {
|
|
669
669
|
}
|
|
670
|
-
protoOf(Companion_4).
|
|
670
|
+
protoOf(Companion_4).fr = function (value) {
|
|
671
671
|
return new Some(value);
|
|
672
672
|
};
|
|
673
|
-
protoOf(Companion_4).
|
|
673
|
+
protoOf(Companion_4).ap = function (value) {
|
|
674
674
|
var tmp;
|
|
675
675
|
if (value == null) {
|
|
676
|
-
tmp = this.
|
|
676
|
+
tmp = this.zo();
|
|
677
677
|
} else {
|
|
678
|
-
tmp = this.
|
|
678
|
+
tmp = this.fr(value);
|
|
679
679
|
}
|
|
680
680
|
return tmp;
|
|
681
681
|
};
|
|
682
|
-
protoOf(Companion_4).
|
|
682
|
+
protoOf(Companion_4).zo = function () {
|
|
683
683
|
return None_getInstance();
|
|
684
684
|
};
|
|
685
685
|
var Companion_instance_4;
|
|
@@ -688,26 +688,26 @@
|
|
|
688
688
|
}
|
|
689
689
|
function Some(value) {
|
|
690
690
|
Optional.call(this);
|
|
691
|
-
this.
|
|
691
|
+
this.uo_1 = value;
|
|
692
692
|
}
|
|
693
|
-
protoOf(Some).
|
|
694
|
-
return this.
|
|
693
|
+
protoOf(Some).g2 = function () {
|
|
694
|
+
return this.uo_1;
|
|
695
695
|
};
|
|
696
|
-
protoOf(Some).
|
|
696
|
+
protoOf(Some).gr = function () {
|
|
697
697
|
return true;
|
|
698
698
|
};
|
|
699
699
|
protoOf(Some).toString = function () {
|
|
700
|
-
return 'Some(' + toString(this.
|
|
700
|
+
return 'Some(' + toString(this.uo_1) + ')';
|
|
701
701
|
};
|
|
702
702
|
protoOf(Some).hashCode = function () {
|
|
703
|
-
return this.
|
|
703
|
+
return this.uo_1 == null ? 0 : hashCode(this.uo_1);
|
|
704
704
|
};
|
|
705
705
|
protoOf(Some).equals = function (other) {
|
|
706
706
|
if (this === other)
|
|
707
707
|
return true;
|
|
708
708
|
if (!(other instanceof Some))
|
|
709
709
|
return false;
|
|
710
|
-
if (!equals(this.
|
|
710
|
+
if (!equals(this.uo_1, other.uo_1))
|
|
711
711
|
return false;
|
|
712
712
|
return true;
|
|
713
713
|
};
|
|
@@ -715,10 +715,10 @@
|
|
|
715
715
|
None_instance = this;
|
|
716
716
|
Optional.call(this);
|
|
717
717
|
}
|
|
718
|
-
protoOf(None).
|
|
718
|
+
protoOf(None).g2 = function () {
|
|
719
719
|
return null;
|
|
720
720
|
};
|
|
721
|
-
protoOf(None).
|
|
721
|
+
protoOf(None).gr = function () {
|
|
722
722
|
return false;
|
|
723
723
|
};
|
|
724
724
|
protoOf(None).toString = function () {
|
|
@@ -732,8 +732,8 @@
|
|
|
732
732
|
}
|
|
733
733
|
function Optional() {
|
|
734
734
|
}
|
|
735
|
-
protoOf(Optional).
|
|
736
|
-
return !this.
|
|
735
|
+
protoOf(Optional).hr = function () {
|
|
736
|
+
return !this.gr();
|
|
737
737
|
};
|
|
738
738
|
function Taggable() {
|
|
739
739
|
}
|
|
@@ -746,9 +746,9 @@
|
|
|
746
746
|
}
|
|
747
747
|
function Companion_5() {
|
|
748
748
|
}
|
|
749
|
-
protoOf(Companion_5).
|
|
749
|
+
protoOf(Companion_5).ip = function (source) {
|
|
750
750
|
var tmp;
|
|
751
|
-
if (source.
|
|
751
|
+
if (source.q()) {
|
|
752
752
|
tmp = new LazyCursor(source);
|
|
753
753
|
} else {
|
|
754
754
|
tmp = EmptyCursor_getInstance();
|
|
@@ -760,105 +760,105 @@
|
|
|
760
760
|
return Companion_instance_5;
|
|
761
761
|
}
|
|
762
762
|
function AbstractCursor$iterator$1(this$0) {
|
|
763
|
-
this.
|
|
763
|
+
this.jr_1 = this$0;
|
|
764
764
|
}
|
|
765
|
-
protoOf(AbstractCursor$iterator$1).
|
|
766
|
-
return !this.
|
|
765
|
+
protoOf(AbstractCursor$iterator$1).q = function () {
|
|
766
|
+
return !this.jr_1.hp();
|
|
767
767
|
};
|
|
768
|
-
protoOf(AbstractCursor$iterator$1).
|
|
769
|
-
var result = this.
|
|
770
|
-
this.
|
|
768
|
+
protoOf(AbstractCursor$iterator$1).r = function () {
|
|
769
|
+
var result = this.jr_1.fp();
|
|
770
|
+
this.jr_1 = this.jr_1.ep();
|
|
771
771
|
return ensureNotNull(result);
|
|
772
772
|
};
|
|
773
773
|
function AbstractCursor() {
|
|
774
774
|
}
|
|
775
775
|
protoOf(AbstractCursor).toString = function () {
|
|
776
|
-
return this.
|
|
776
|
+
return this.hp() ? '[]' : !this.gp() ? '[' + toString(this.fp()) + ']' : '[' + toString(this.fp()) + ', ...]';
|
|
777
777
|
};
|
|
778
|
-
protoOf(AbstractCursor).
|
|
778
|
+
protoOf(AbstractCursor).n = function () {
|
|
779
779
|
return new AbstractCursor$iterator$1(this);
|
|
780
780
|
};
|
|
781
781
|
protoOf(AbstractCursor).iterator = function () {
|
|
782
|
-
return this.
|
|
782
|
+
return this.n();
|
|
783
783
|
};
|
|
784
|
-
protoOf(AbstractCursor).
|
|
784
|
+
protoOf(AbstractCursor).kr = function () {
|
|
785
785
|
return false;
|
|
786
786
|
};
|
|
787
|
-
protoOf(AbstractCursor).
|
|
787
|
+
protoOf(AbstractCursor).lr = function (mapper) {
|
|
788
788
|
return new MapperCursor(this, mapper);
|
|
789
789
|
};
|
|
790
790
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
791
|
-
return this.
|
|
791
|
+
return this.lr(mapper);
|
|
792
792
|
};
|
|
793
793
|
function CachedImpl(generator) {
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
794
|
+
this.mr_1 = generator;
|
|
795
|
+
this.nr_1 = Companion_instance_4.zo();
|
|
796
796
|
}
|
|
797
|
-
protoOf(CachedImpl).
|
|
798
|
-
return this.
|
|
797
|
+
protoOf(CachedImpl).wo = function () {
|
|
798
|
+
return this.nr_1.gr();
|
|
799
799
|
};
|
|
800
|
-
protoOf(CachedImpl).
|
|
801
|
-
return this.
|
|
800
|
+
protoOf(CachedImpl).pr = function () {
|
|
801
|
+
return this.nr_1.hr();
|
|
802
802
|
};
|
|
803
|
-
protoOf(CachedImpl).
|
|
804
|
-
this.
|
|
805
|
-
return ensureNotNull(this.
|
|
803
|
+
protoOf(CachedImpl).g2 = function () {
|
|
804
|
+
this.qr();
|
|
805
|
+
return ensureNotNull(this.nr_1.g2());
|
|
806
806
|
};
|
|
807
|
-
protoOf(CachedImpl).
|
|
808
|
-
if (this.
|
|
809
|
-
this.
|
|
807
|
+
protoOf(CachedImpl).qr = function () {
|
|
808
|
+
if (this.pr()) {
|
|
809
|
+
this.nr_1 = Companion_instance_4.fr(this.mr_1());
|
|
810
810
|
}
|
|
811
811
|
};
|
|
812
|
-
protoOf(CachedImpl).
|
|
813
|
-
this.
|
|
812
|
+
protoOf(CachedImpl).xo = function () {
|
|
813
|
+
this.nr_1 = Companion_instance_4.zo();
|
|
814
814
|
};
|
|
815
815
|
protoOf(CachedImpl).toString = function () {
|
|
816
|
-
return 'CachedImpl(generator=' + toString_0(this.
|
|
816
|
+
return 'CachedImpl(generator=' + toString_0(this.mr_1) + ')';
|
|
817
817
|
};
|
|
818
818
|
protoOf(CachedImpl).hashCode = function () {
|
|
819
|
-
return hashCode(this.
|
|
819
|
+
return hashCode(this.mr_1);
|
|
820
820
|
};
|
|
821
821
|
protoOf(CachedImpl).equals = function (other) {
|
|
822
822
|
if (this === other)
|
|
823
823
|
return true;
|
|
824
824
|
if (!(other instanceof CachedImpl))
|
|
825
825
|
return false;
|
|
826
|
-
if (!equals(this.
|
|
826
|
+
if (!equals(this.mr_1, other.mr_1))
|
|
827
827
|
return false;
|
|
828
828
|
return true;
|
|
829
829
|
};
|
|
830
830
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
831
831
|
return function () {
|
|
832
|
-
return this$0.
|
|
832
|
+
return this$0.rr_1.gp() ? new ConjunctionCursor(this$0.rr_1.ep(), this$0.sr_1) : this$0.sr_1.kr() ? this$0.sr_1.ep() : this$0.sr_1;
|
|
833
833
|
};
|
|
834
834
|
}
|
|
835
835
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
836
836
|
return constructCallableReference(function (p0) {
|
|
837
|
-
return p0.
|
|
837
|
+
return p0.ep();
|
|
838
838
|
}, 1, 0, 2);
|
|
839
839
|
}
|
|
840
840
|
function ConjunctionCursor(first, second) {
|
|
841
841
|
AbstractCursor.call(this);
|
|
842
|
-
this.
|
|
843
|
-
this.
|
|
842
|
+
this.rr_1 = first;
|
|
843
|
+
this.sr_1 = second;
|
|
844
844
|
var tmp = this;
|
|
845
|
-
tmp.
|
|
845
|
+
tmp.tr_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
846
846
|
}
|
|
847
|
-
protoOf(ConjunctionCursor).
|
|
848
|
-
return this.
|
|
847
|
+
protoOf(ConjunctionCursor).hp = function () {
|
|
848
|
+
return this.rr_1.hp() && this.sr_1.hp();
|
|
849
849
|
};
|
|
850
|
-
protoOf(ConjunctionCursor).
|
|
851
|
-
var tmp0 = this.
|
|
850
|
+
protoOf(ConjunctionCursor).ep = function () {
|
|
851
|
+
var tmp0 = this.tr_1;
|
|
852
852
|
var tmp = KProperty1;
|
|
853
853
|
// Inline function 'kotlin.getValue' call
|
|
854
854
|
/* dead property reference removed */
|
|
855
|
-
return tmp0.
|
|
855
|
+
return tmp0.g2();
|
|
856
856
|
};
|
|
857
|
-
protoOf(ConjunctionCursor).
|
|
858
|
-
return this.
|
|
857
|
+
protoOf(ConjunctionCursor).fp = function () {
|
|
858
|
+
return this.rr_1.gp() ? this.rr_1.fp() : this.sr_1.fp();
|
|
859
859
|
};
|
|
860
|
-
protoOf(ConjunctionCursor).
|
|
861
|
-
return this.
|
|
860
|
+
protoOf(ConjunctionCursor).gp = function () {
|
|
861
|
+
return this.rr_1.gp() || this.sr_1.gp();
|
|
862
862
|
};
|
|
863
863
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
864
864
|
if (this === other)
|
|
@@ -867,44 +867,44 @@
|
|
|
867
867
|
return false;
|
|
868
868
|
if (!(other instanceof ConjunctionCursor))
|
|
869
869
|
THROW_CCE();
|
|
870
|
-
if (!equals(this.
|
|
870
|
+
if (!equals(this.rr_1, other.rr_1))
|
|
871
871
|
return false;
|
|
872
|
-
if (!equals(this.
|
|
872
|
+
if (!equals(this.sr_1, other.sr_1))
|
|
873
873
|
return false;
|
|
874
874
|
return true;
|
|
875
875
|
};
|
|
876
876
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
877
|
-
var result = hashCode(this.
|
|
878
|
-
result = imul(31, result) + hashCode(this.
|
|
877
|
+
var result = hashCode(this.rr_1);
|
|
878
|
+
result = imul(31, result) + hashCode(this.sr_1) | 0;
|
|
879
879
|
return result;
|
|
880
880
|
};
|
|
881
881
|
function EmptyCursor() {
|
|
882
882
|
EmptyCursor_instance = this;
|
|
883
883
|
AbstractCursor.call(this);
|
|
884
884
|
}
|
|
885
|
-
protoOf(EmptyCursor).
|
|
885
|
+
protoOf(EmptyCursor).ep = function () {
|
|
886
886
|
throw NoSuchElementException_init_$Create$();
|
|
887
887
|
};
|
|
888
|
-
protoOf(EmptyCursor).
|
|
888
|
+
protoOf(EmptyCursor).fp = function () {
|
|
889
889
|
return null;
|
|
890
890
|
};
|
|
891
|
-
protoOf(EmptyCursor).
|
|
891
|
+
protoOf(EmptyCursor).gp = function () {
|
|
892
892
|
return false;
|
|
893
893
|
};
|
|
894
|
-
protoOf(EmptyCursor).
|
|
894
|
+
protoOf(EmptyCursor).hp = function () {
|
|
895
895
|
return true;
|
|
896
896
|
};
|
|
897
897
|
protoOf(EmptyCursor).toString = function () {
|
|
898
898
|
return protoOf(AbstractCursor).toString.call(this);
|
|
899
899
|
};
|
|
900
|
-
protoOf(EmptyCursor).
|
|
900
|
+
protoOf(EmptyCursor).ur = function (mapper) {
|
|
901
901
|
return this;
|
|
902
902
|
};
|
|
903
903
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
904
|
-
return this.
|
|
904
|
+
return this.ur(mapper);
|
|
905
905
|
};
|
|
906
|
-
protoOf(EmptyCursor).
|
|
907
|
-
return this.
|
|
906
|
+
protoOf(EmptyCursor).lr = function (mapper) {
|
|
907
|
+
return this.ur(mapper);
|
|
908
908
|
};
|
|
909
909
|
var EmptyCursor_instance;
|
|
910
910
|
function EmptyCursor_getInstance() {
|
|
@@ -913,27 +913,27 @@
|
|
|
913
913
|
return EmptyCursor_instance;
|
|
914
914
|
}
|
|
915
915
|
function IntIndexedImpl(index, value) {
|
|
916
|
-
this.
|
|
917
|
-
this.
|
|
916
|
+
this.vr_1 = index;
|
|
917
|
+
this.wr_1 = value;
|
|
918
918
|
}
|
|
919
|
-
protoOf(IntIndexedImpl).
|
|
920
|
-
return this.
|
|
919
|
+
protoOf(IntIndexedImpl).jp = function () {
|
|
920
|
+
return this.vr_1;
|
|
921
921
|
};
|
|
922
|
-
protoOf(IntIndexedImpl).
|
|
923
|
-
return this.
|
|
922
|
+
protoOf(IntIndexedImpl).g2 = function () {
|
|
923
|
+
return this.wr_1;
|
|
924
924
|
};
|
|
925
|
-
protoOf(IntIndexedImpl).
|
|
926
|
-
return this.
|
|
925
|
+
protoOf(IntIndexedImpl).ac = function () {
|
|
926
|
+
return this.vr_1;
|
|
927
927
|
};
|
|
928
|
-
protoOf(IntIndexedImpl).
|
|
929
|
-
return this.
|
|
928
|
+
protoOf(IntIndexedImpl).bc = function () {
|
|
929
|
+
return this.wr_1;
|
|
930
930
|
};
|
|
931
931
|
protoOf(IntIndexedImpl).toString = function () {
|
|
932
|
-
return 'IntIndexedImpl(index=' + this.
|
|
932
|
+
return 'IntIndexedImpl(index=' + this.vr_1 + ', value=' + toString(this.wr_1) + ')';
|
|
933
933
|
};
|
|
934
934
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
935
|
-
var result = this.
|
|
936
|
-
result = imul(result, 31) + (this.
|
|
935
|
+
var result = this.vr_1;
|
|
936
|
+
result = imul(result, 31) + (this.wr_1 == null ? 0 : hashCode(this.wr_1)) | 0;
|
|
937
937
|
return result;
|
|
938
938
|
};
|
|
939
939
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -941,25 +941,25 @@
|
|
|
941
941
|
return true;
|
|
942
942
|
if (!(other instanceof IntIndexedImpl))
|
|
943
943
|
return false;
|
|
944
|
-
if (!(this.
|
|
944
|
+
if (!(this.vr_1 === other.vr_1))
|
|
945
945
|
return false;
|
|
946
|
-
if (!equals(this.
|
|
946
|
+
if (!equals(this.wr_1, other.wr_1))
|
|
947
947
|
return false;
|
|
948
948
|
return true;
|
|
949
949
|
};
|
|
950
|
-
protoOf(IntIndexedImpl).
|
|
951
|
-
return this.
|
|
950
|
+
protoOf(IntIndexedImpl).d = function (other) {
|
|
951
|
+
return this.lp((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
952
952
|
};
|
|
953
953
|
function _get_wrapped__s2ip8($this) {
|
|
954
|
-
var tmp0 = $this.
|
|
954
|
+
var tmp0 = $this.yr_1;
|
|
955
955
|
var tmp = KProperty1;
|
|
956
956
|
// Inline function 'kotlin.getValue' call
|
|
957
957
|
/* dead property reference removed */
|
|
958
|
-
return tmp0.
|
|
958
|
+
return tmp0.g2();
|
|
959
959
|
}
|
|
960
960
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
961
961
|
return function () {
|
|
962
|
-
return new NonLastCursor(this$0.
|
|
962
|
+
return new NonLastCursor(this$0.xr_1);
|
|
963
963
|
};
|
|
964
964
|
}
|
|
965
965
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
@@ -969,74 +969,74 @@
|
|
|
969
969
|
}
|
|
970
970
|
function LazyCursor(delegate) {
|
|
971
971
|
AbstractCursor.call(this);
|
|
972
|
-
this.
|
|
972
|
+
this.xr_1 = delegate;
|
|
973
973
|
var tmp = this;
|
|
974
|
-
tmp.
|
|
974
|
+
tmp.yr_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
975
975
|
}
|
|
976
|
-
protoOf(LazyCursor).
|
|
976
|
+
protoOf(LazyCursor).kr = function () {
|
|
977
977
|
return true;
|
|
978
978
|
};
|
|
979
|
-
protoOf(LazyCursor).
|
|
980
|
-
return _get_wrapped__s2ip8(this).
|
|
979
|
+
protoOf(LazyCursor).ep = function () {
|
|
980
|
+
return _get_wrapped__s2ip8(this).ep();
|
|
981
981
|
};
|
|
982
|
-
protoOf(LazyCursor).
|
|
983
|
-
return _get_wrapped__s2ip8(this).
|
|
982
|
+
protoOf(LazyCursor).fp = function () {
|
|
983
|
+
return _get_wrapped__s2ip8(this).fp();
|
|
984
984
|
};
|
|
985
|
-
protoOf(LazyCursor).
|
|
985
|
+
protoOf(LazyCursor).gp = function () {
|
|
986
986
|
return true;
|
|
987
987
|
};
|
|
988
|
-
protoOf(LazyCursor).
|
|
988
|
+
protoOf(LazyCursor).hp = function () {
|
|
989
989
|
return false;
|
|
990
990
|
};
|
|
991
991
|
protoOf(LazyCursor).toString = function () {
|
|
992
992
|
return protoOf(AbstractCursor).toString.call(this);
|
|
993
993
|
};
|
|
994
|
-
protoOf(LazyCursor).
|
|
995
|
-
return _get_wrapped__s2ip8(this).
|
|
994
|
+
protoOf(LazyCursor).n = function () {
|
|
995
|
+
return _get_wrapped__s2ip8(this).n();
|
|
996
996
|
};
|
|
997
997
|
protoOf(LazyCursor).iterator = function () {
|
|
998
|
-
return this.
|
|
998
|
+
return this.n();
|
|
999
999
|
};
|
|
1000
1000
|
protoOf(LazyCursor).hashCode = function () {
|
|
1001
|
-
return hashCode(this.
|
|
1001
|
+
return hashCode(this.xr_1);
|
|
1002
1002
|
};
|
|
1003
1003
|
protoOf(LazyCursor).equals = function (other) {
|
|
1004
1004
|
if (this === other)
|
|
1005
1005
|
return true;
|
|
1006
1006
|
if (!(other instanceof LazyCursor))
|
|
1007
1007
|
return false;
|
|
1008
|
-
if (!equals(this.
|
|
1008
|
+
if (!equals(this.xr_1, other.xr_1))
|
|
1009
1009
|
return false;
|
|
1010
1010
|
return true;
|
|
1011
1011
|
};
|
|
1012
1012
|
function LongIndexedImpl(index, value) {
|
|
1013
|
-
this.
|
|
1014
|
-
this.
|
|
1013
|
+
this.zr_1 = index;
|
|
1014
|
+
this.as_1 = value;
|
|
1015
1015
|
}
|
|
1016
|
-
protoOf(LongIndexedImpl).
|
|
1017
|
-
return this.
|
|
1016
|
+
protoOf(LongIndexedImpl).jp = function () {
|
|
1017
|
+
return this.zr_1;
|
|
1018
1018
|
};
|
|
1019
|
-
protoOf(LongIndexedImpl).
|
|
1020
|
-
return this.
|
|
1019
|
+
protoOf(LongIndexedImpl).g2 = function () {
|
|
1020
|
+
return this.as_1;
|
|
1021
1021
|
};
|
|
1022
|
-
protoOf(LongIndexedImpl).
|
|
1023
|
-
return convertToInt(subtract(this.
|
|
1022
|
+
protoOf(LongIndexedImpl).er = function (other) {
|
|
1023
|
+
return convertToInt(subtract(this.zr_1, other.jp()));
|
|
1024
1024
|
};
|
|
1025
|
-
protoOf(LongIndexedImpl).
|
|
1026
|
-
return this.
|
|
1025
|
+
protoOf(LongIndexedImpl).d = function (other) {
|
|
1026
|
+
return this.er((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1027
1027
|
};
|
|
1028
|
-
protoOf(LongIndexedImpl).
|
|
1029
|
-
return this.
|
|
1028
|
+
protoOf(LongIndexedImpl).ac = function () {
|
|
1029
|
+
return this.zr_1;
|
|
1030
1030
|
};
|
|
1031
|
-
protoOf(LongIndexedImpl).
|
|
1032
|
-
return this.
|
|
1031
|
+
protoOf(LongIndexedImpl).bc = function () {
|
|
1032
|
+
return this.as_1;
|
|
1033
1033
|
};
|
|
1034
1034
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1035
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1035
|
+
return 'LongIndexedImpl(index=' + this.zr_1.toString() + ', value=' + toString(this.as_1) + ')';
|
|
1036
1036
|
};
|
|
1037
1037
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1038
|
-
var result = getBigIntHashCode(this.
|
|
1039
|
-
result = imul(result, 31) + (this.
|
|
1038
|
+
var result = getBigIntHashCode(this.zr_1);
|
|
1039
|
+
result = imul(result, 31) + (this.as_1 == null ? 0 : hashCode(this.as_1)) | 0;
|
|
1040
1040
|
return result;
|
|
1041
1041
|
};
|
|
1042
1042
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1044,43 +1044,43 @@
|
|
|
1044
1044
|
return true;
|
|
1045
1045
|
if (!(other instanceof LongIndexedImpl))
|
|
1046
1046
|
return false;
|
|
1047
|
-
if (!(this.
|
|
1047
|
+
if (!(this.zr_1 === other.zr_1))
|
|
1048
1048
|
return false;
|
|
1049
|
-
if (!equals(this.
|
|
1049
|
+
if (!equals(this.as_1, other.as_1))
|
|
1050
1050
|
return false;
|
|
1051
1051
|
return true;
|
|
1052
1052
|
};
|
|
1053
1053
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1054
1054
|
return function () {
|
|
1055
|
-
return this$0.
|
|
1055
|
+
return this$0.cs_1(ensureNotNull(this$0.bs_1.fp()));
|
|
1056
1056
|
};
|
|
1057
1057
|
}
|
|
1058
1058
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1059
1059
|
return constructCallableReference(function (p0) {
|
|
1060
|
-
return p0.
|
|
1060
|
+
return p0.fp();
|
|
1061
1061
|
}, 1, 0, 4);
|
|
1062
1062
|
}
|
|
1063
1063
|
function MapperCursor(wrapped, mapper) {
|
|
1064
1064
|
AbstractCursor.call(this);
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1065
|
+
this.bs_1 = wrapped;
|
|
1066
|
+
this.cs_1 = mapper;
|
|
1067
1067
|
var tmp = this;
|
|
1068
|
-
tmp.
|
|
1068
|
+
tmp.ds_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1069
1069
|
}
|
|
1070
|
-
protoOf(MapperCursor).
|
|
1071
|
-
return this.
|
|
1070
|
+
protoOf(MapperCursor).ep = function () {
|
|
1071
|
+
return this.bs_1.ep().lr(this.cs_1);
|
|
1072
1072
|
};
|
|
1073
|
-
protoOf(MapperCursor).
|
|
1074
|
-
var tmp0 = this.
|
|
1073
|
+
protoOf(MapperCursor).fp = function () {
|
|
1074
|
+
var tmp0 = this.ds_1;
|
|
1075
1075
|
var tmp = KProperty1;
|
|
1076
1076
|
// Inline function 'kotlin.getValue' call
|
|
1077
1077
|
/* dead property reference removed */
|
|
1078
|
-
return tmp0.
|
|
1078
|
+
return tmp0.g2();
|
|
1079
1079
|
};
|
|
1080
|
-
protoOf(MapperCursor).
|
|
1080
|
+
protoOf(MapperCursor).gp = function () {
|
|
1081
1081
|
return true;
|
|
1082
1082
|
};
|
|
1083
|
-
protoOf(MapperCursor).
|
|
1083
|
+
protoOf(MapperCursor).hp = function () {
|
|
1084
1084
|
return false;
|
|
1085
1085
|
};
|
|
1086
1086
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1090,60 +1090,60 @@
|
|
|
1090
1090
|
return false;
|
|
1091
1091
|
if (!(other instanceof MapperCursor))
|
|
1092
1092
|
THROW_CCE();
|
|
1093
|
-
if (!equals(this.
|
|
1093
|
+
if (!equals(this.bs_1, other.bs_1))
|
|
1094
1094
|
return false;
|
|
1095
|
-
if (!equals(this.
|
|
1095
|
+
if (!equals(this.cs_1, other.cs_1))
|
|
1096
1096
|
return false;
|
|
1097
1097
|
return true;
|
|
1098
1098
|
};
|
|
1099
1099
|
protoOf(MapperCursor).hashCode = function () {
|
|
1100
|
-
var result = hashCode(this.
|
|
1101
|
-
result = imul(31, result) + hashCode(this.
|
|
1100
|
+
var result = hashCode(this.bs_1);
|
|
1101
|
+
result = imul(31, result) + hashCode(this.cs_1) | 0;
|
|
1102
1102
|
return result;
|
|
1103
1103
|
};
|
|
1104
|
-
protoOf(MapperCursor).
|
|
1105
|
-
return new ValueCursor(mapper(this.
|
|
1104
|
+
protoOf(MapperCursor).es = function (mapper) {
|
|
1105
|
+
return new ValueCursor(mapper(this.fp()), this.ep().lr(mapper));
|
|
1106
1106
|
};
|
|
1107
1107
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1108
|
-
return this.
|
|
1108
|
+
return this.es(mapper);
|
|
1109
1109
|
};
|
|
1110
|
-
protoOf(MapperCursor).
|
|
1111
|
-
return this.
|
|
1110
|
+
protoOf(MapperCursor).lr = function (mapper) {
|
|
1111
|
+
return this.es(mapper);
|
|
1112
1112
|
};
|
|
1113
1113
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1114
1114
|
return function () {
|
|
1115
1115
|
// Inline function 'kotlin.also' call
|
|
1116
|
-
var this_0 = Companion_instance_5.
|
|
1117
|
-
this$0.
|
|
1116
|
+
var this_0 = Companion_instance_5.ip($source);
|
|
1117
|
+
this$0.fs_1 = null;
|
|
1118
1118
|
return this_0;
|
|
1119
1119
|
};
|
|
1120
1120
|
}
|
|
1121
1121
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1122
1122
|
return constructCallableReference(function (p0) {
|
|
1123
|
-
return p0.
|
|
1123
|
+
return p0.ep();
|
|
1124
1124
|
}, 1, 0, 5);
|
|
1125
1125
|
}
|
|
1126
1126
|
function NonLastCursor(source) {
|
|
1127
1127
|
AbstractCursor.call(this);
|
|
1128
|
-
this.
|
|
1128
|
+
this.fs_1 = source;
|
|
1129
1129
|
var tmp = this;
|
|
1130
|
-
tmp.
|
|
1131
|
-
this.
|
|
1130
|
+
tmp.gs_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1131
|
+
this.hs_1 = source.r();
|
|
1132
1132
|
}
|
|
1133
|
-
protoOf(NonLastCursor).
|
|
1134
|
-
var tmp0 = this.
|
|
1133
|
+
protoOf(NonLastCursor).ep = function () {
|
|
1134
|
+
var tmp0 = this.gs_1;
|
|
1135
1135
|
var tmp = KProperty1;
|
|
1136
1136
|
// Inline function 'kotlin.getValue' call
|
|
1137
1137
|
/* dead property reference removed */
|
|
1138
|
-
return tmp0.
|
|
1138
|
+
return tmp0.g2();
|
|
1139
1139
|
};
|
|
1140
|
-
protoOf(NonLastCursor).
|
|
1141
|
-
return this.
|
|
1140
|
+
protoOf(NonLastCursor).fp = function () {
|
|
1141
|
+
return this.hs_1;
|
|
1142
1142
|
};
|
|
1143
|
-
protoOf(NonLastCursor).
|
|
1143
|
+
protoOf(NonLastCursor).gp = function () {
|
|
1144
1144
|
return true;
|
|
1145
1145
|
};
|
|
1146
|
-
protoOf(NonLastCursor).
|
|
1146
|
+
protoOf(NonLastCursor).hp = function () {
|
|
1147
1147
|
return false;
|
|
1148
1148
|
};
|
|
1149
1149
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1151,53 +1151,53 @@
|
|
|
1151
1151
|
};
|
|
1152
1152
|
function removeLeastRecent($this) {
|
|
1153
1153
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1154
|
-
var tmp$ret$0 = $this.
|
|
1154
|
+
var tmp$ret$0 = $this.js_1.c1();
|
|
1155
1155
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1156
1156
|
// Inline function 'kotlin.collections.component1' call
|
|
1157
|
-
var key = _destruct__k2r9zo.
|
|
1157
|
+
var key = _destruct__k2r9zo.f2();
|
|
1158
1158
|
// Inline function 'kotlin.collections.component2' call
|
|
1159
|
-
var value = _destruct__k2r9zo.
|
|
1160
|
-
$this.
|
|
1161
|
-
return Companion_instance_4.
|
|
1159
|
+
var value = _destruct__k2r9zo.g2();
|
|
1160
|
+
$this.js_1.n4(key);
|
|
1161
|
+
return Companion_instance_4.fr(to(key, value));
|
|
1162
1162
|
}
|
|
1163
1163
|
function removeLeastRecentIfNecessary($this) {
|
|
1164
1164
|
var tmp;
|
|
1165
|
-
if ($this.
|
|
1165
|
+
if ($this.js_1.t() >= $this.is_1) {
|
|
1166
1166
|
tmp = removeLeastRecent($this);
|
|
1167
1167
|
} else {
|
|
1168
|
-
tmp = Companion_instance_4.
|
|
1168
|
+
tmp = Companion_instance_4.zo();
|
|
1169
1169
|
}
|
|
1170
1170
|
return tmp;
|
|
1171
1171
|
}
|
|
1172
1172
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1173
1173
|
return function () {
|
|
1174
1174
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1175
|
-
var tmp0 = this$0.
|
|
1175
|
+
var tmp0 = this$0.js_1;
|
|
1176
1176
|
var tmp2 = $key;
|
|
1177
1177
|
// Inline function 'kotlin.collections.set' call
|
|
1178
1178
|
var value = $value;
|
|
1179
|
-
tmp0.
|
|
1179
|
+
tmp0.m4(tmp2, value);
|
|
1180
1180
|
return evicted;
|
|
1181
1181
|
};
|
|
1182
1182
|
}
|
|
1183
1183
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1184
1184
|
return function () {
|
|
1185
1185
|
var tmp;
|
|
1186
|
-
if (this$0.
|
|
1187
|
-
tmp = Companion_instance_4.
|
|
1186
|
+
if (this$0.js_1.h2($key)) {
|
|
1187
|
+
tmp = Companion_instance_4.ap(this$0.js_1.j2($key));
|
|
1188
1188
|
} else {
|
|
1189
|
-
tmp = Companion_instance_4.
|
|
1189
|
+
tmp = Companion_instance_4.zo();
|
|
1190
1190
|
}
|
|
1191
1191
|
return tmp;
|
|
1192
1192
|
};
|
|
1193
1193
|
}
|
|
1194
1194
|
function SimpleLRUCache$toSequence$lambda$lambda(it) {
|
|
1195
1195
|
// Inline function 'kotlin.collections.toPair' call
|
|
1196
|
-
return new Pair(it.
|
|
1196
|
+
return new Pair(it.f2(), it.g2());
|
|
1197
1197
|
}
|
|
1198
1198
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1199
1199
|
return function () {
|
|
1200
|
-
var tmp = asSequence(this$0.
|
|
1200
|
+
var tmp = asSequence(this$0.js_1.c1());
|
|
1201
1201
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1202
1202
|
};
|
|
1203
1203
|
}
|
|
@@ -1205,19 +1205,19 @@
|
|
|
1205
1205
|
return toString(it.first) + ' = ' + toString(it.second);
|
|
1206
1206
|
}
|
|
1207
1207
|
function SimpleLRUCache(capacity) {
|
|
1208
|
-
this.
|
|
1208
|
+
this.is_1 = capacity;
|
|
1209
1209
|
// Inline function 'kotlin.require' call
|
|
1210
1210
|
// Inline function 'kotlin.require' call
|
|
1211
|
-
if (!(this.
|
|
1211
|
+
if (!(this.is_1 > 0)) {
|
|
1212
1212
|
var message = 'Failed requirement.';
|
|
1213
1213
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1214
1214
|
}
|
|
1215
|
-
this.
|
|
1215
|
+
this.js_1 = LinkedHashMap_init_$Create$();
|
|
1216
1216
|
}
|
|
1217
|
-
protoOf(SimpleLRUCache).
|
|
1217
|
+
protoOf(SimpleLRUCache).so = function (key, value) {
|
|
1218
1218
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1219
1219
|
};
|
|
1220
|
-
protoOf(SimpleLRUCache).
|
|
1220
|
+
protoOf(SimpleLRUCache).j2 = function (key) {
|
|
1221
1221
|
return synchronizedOnSelf(this, SimpleLRUCache$get$lambda(this, key));
|
|
1222
1222
|
};
|
|
1223
1223
|
protoOf(SimpleLRUCache).equals = function (other) {
|
|
@@ -1227,39 +1227,39 @@
|
|
|
1227
1227
|
return false;
|
|
1228
1228
|
if (!(other instanceof SimpleLRUCache))
|
|
1229
1229
|
THROW_CCE();
|
|
1230
|
-
if (!(this.
|
|
1230
|
+
if (!(this.is_1 === other.is_1))
|
|
1231
1231
|
return false;
|
|
1232
|
-
if (!this.
|
|
1232
|
+
if (!this.js_1.equals(other.js_1))
|
|
1233
1233
|
return false;
|
|
1234
1234
|
return true;
|
|
1235
1235
|
};
|
|
1236
1236
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1237
|
-
var result = this.
|
|
1238
|
-
result = imul(31, result) + this.
|
|
1237
|
+
var result = this.is_1;
|
|
1238
|
+
result = imul(31, result) + this.js_1.hashCode() | 0;
|
|
1239
1239
|
return result;
|
|
1240
1240
|
};
|
|
1241
|
-
protoOf(SimpleLRUCache).
|
|
1241
|
+
protoOf(SimpleLRUCache).ks = function () {
|
|
1242
1242
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1243
1243
|
};
|
|
1244
1244
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1245
|
-
var tmp = this.
|
|
1245
|
+
var tmp = this.ks();
|
|
1246
1246
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1247
1247
|
};
|
|
1248
1248
|
function ValueCursor(current, next) {
|
|
1249
1249
|
AbstractCursor.call(this);
|
|
1250
|
-
this.
|
|
1251
|
-
this.
|
|
1250
|
+
this.ls_1 = current;
|
|
1251
|
+
this.ms_1 = next;
|
|
1252
1252
|
}
|
|
1253
|
-
protoOf(ValueCursor).
|
|
1254
|
-
return this.
|
|
1253
|
+
protoOf(ValueCursor).fp = function () {
|
|
1254
|
+
return this.ls_1;
|
|
1255
1255
|
};
|
|
1256
|
-
protoOf(ValueCursor).
|
|
1257
|
-
return this.
|
|
1256
|
+
protoOf(ValueCursor).ep = function () {
|
|
1257
|
+
return this.ms_1;
|
|
1258
1258
|
};
|
|
1259
|
-
protoOf(ValueCursor).
|
|
1259
|
+
protoOf(ValueCursor).gp = function () {
|
|
1260
1260
|
return true;
|
|
1261
1261
|
};
|
|
1262
|
-
protoOf(ValueCursor).
|
|
1262
|
+
protoOf(ValueCursor).hp = function () {
|
|
1263
1263
|
return false;
|
|
1264
1264
|
};
|
|
1265
1265
|
function dequeOf(items) {
|
|
@@ -1276,21 +1276,21 @@
|
|
|
1276
1276
|
return toMutableList(items);
|
|
1277
1277
|
}
|
|
1278
1278
|
function takeFirst(_this__u8e3s4) {
|
|
1279
|
-
if (_this__u8e3s4.
|
|
1279
|
+
if (_this__u8e3s4.i())
|
|
1280
1280
|
return null;
|
|
1281
|
-
var first = _this__u8e3s4.
|
|
1282
|
-
_this__u8e3s4.
|
|
1281
|
+
var first = _this__u8e3s4.u(0);
|
|
1282
|
+
_this__u8e3s4.k3(0);
|
|
1283
1283
|
return first;
|
|
1284
1284
|
}
|
|
1285
1285
|
function addFirst(_this__u8e3s4, item) {
|
|
1286
|
-
_this__u8e3s4.
|
|
1286
|
+
_this__u8e3s4.v3(0, item);
|
|
1287
1287
|
}
|
|
1288
1288
|
function addFirst_0(_this__u8e3s4, items) {
|
|
1289
|
-
var i = _this__u8e3s4.
|
|
1290
|
-
var _iterator__ex2g4s = items.
|
|
1291
|
-
while (_iterator__ex2g4s.
|
|
1292
|
-
var item = _iterator__ex2g4s.
|
|
1293
|
-
i.
|
|
1289
|
+
var i = _this__u8e3s4.d2();
|
|
1290
|
+
var _iterator__ex2g4s = items.n();
|
|
1291
|
+
while (_iterator__ex2g4s.q()) {
|
|
1292
|
+
var item = _iterator__ex2g4s.r();
|
|
1293
|
+
i.w3(item);
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
1296
|
function synchronizedOn(obj, action) {
|
|
@@ -1303,9 +1303,9 @@
|
|
|
1303
1303
|
//region block: post-declaration
|
|
1304
1304
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1305
1305
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1306
|
-
protoOf(CachedImpl).
|
|
1307
|
-
protoOf(IntIndexedImpl).
|
|
1308
|
-
protoOf(SimpleLRUCache).
|
|
1306
|
+
protoOf(CachedImpl).yo = ifValid;
|
|
1307
|
+
protoOf(IntIndexedImpl).lp = compareTo_0;
|
|
1308
|
+
protoOf(SimpleLRUCache).to = getOrSet;
|
|
1309
1309
|
//endregion
|
|
1310
1310
|
//region block: init
|
|
1311
1311
|
Companion_instance = new Companion();
|