dl-common-util 0.1.3 → 0.3.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/Kotlin-DateTime-library-kotlinx-datetime.js +3 -3
- package/dl-common-util.js +547 -484
- package/dl-common-util.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1770 -1048
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-atomicfu.js +3 -3
- package/kotlinx-coroutines-core.js +3 -3
- package/kotlinx-serialization-kotlinx-serialization-core.js +3 -3
- package/kotlinx-serialization-kotlinx-serialization-json.js +3 -3
- package/package.json +1 -2
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -58,14 +58,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
58
58
|
}(Math.log, Math.LN2);
|
|
59
59
|
}
|
|
60
60
|
//endregion
|
|
61
|
-
(function (
|
|
61
|
+
(function (factory) {
|
|
62
62
|
if (typeof define === 'function' && define.amd)
|
|
63
63
|
define(['exports'], factory);
|
|
64
64
|
else if (typeof exports === 'object')
|
|
65
65
|
factory(module.exports);
|
|
66
66
|
else
|
|
67
|
-
|
|
68
|
-
}(
|
|
67
|
+
globalThis['kotlin-kotlin-stdlib'] = factory(typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined' ? {} : globalThis['kotlin-kotlin-stdlib']);
|
|
68
|
+
}(function (_) {
|
|
69
69
|
'use strict';
|
|
70
70
|
//region block: imports
|
|
71
71
|
var imul = Math.imul;
|
|
@@ -77,6 +77,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
77
77
|
initMetadataForClass(Number_0, 'Number');
|
|
78
78
|
initMetadataForObject(Unit, 'Unit');
|
|
79
79
|
initMetadataForClass(_no_name_provided__qut3iv);
|
|
80
|
+
initMetadataForClass(_no_name_provided__qut3iv_0);
|
|
80
81
|
initMetadataForCompanion(Companion);
|
|
81
82
|
initMetadataForClass(Char, 'Char');
|
|
82
83
|
initMetadataForInterface(Collection, 'Collection');
|
|
@@ -88,17 +89,24 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
88
89
|
initMetadataForClass(Enum, 'Enum');
|
|
89
90
|
initMetadataForCompanion(Companion_1);
|
|
90
91
|
initMetadataForClass(Long, 'Long', VOID, Number_0);
|
|
92
|
+
initMetadataForInterface(FunctionAdapter, 'FunctionAdapter');
|
|
91
93
|
initMetadataForClass(arrayIterator$1);
|
|
92
94
|
initMetadataForObject(Digit, 'Digit');
|
|
93
95
|
initMetadataForObject(Letter, 'Letter');
|
|
96
|
+
initMetadataForInterface(Comparator, 'Comparator');
|
|
94
97
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
95
98
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection]);
|
|
96
99
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
97
100
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
98
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection,
|
|
101
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtList]);
|
|
102
|
+
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
103
|
+
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
|
|
99
104
|
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
|
|
100
105
|
initMetadataForCompanion(Companion_2);
|
|
101
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList,
|
|
106
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, Collection, KtList]);
|
|
107
|
+
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
|
|
108
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
|
|
109
|
+
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
102
110
|
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, Collection, KtSet]);
|
|
103
111
|
initMetadataForCompanion(Companion_3);
|
|
104
112
|
initMetadataForClass(Itr, 'Itr');
|
|
@@ -111,7 +119,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
111
119
|
// Inline function 'kotlin.collections.all' call
|
|
112
120
|
var tmp;
|
|
113
121
|
if (isInterface(m, Collection)) {
|
|
114
|
-
tmp = m.
|
|
122
|
+
tmp = m.y();
|
|
115
123
|
} else {
|
|
116
124
|
tmp = false;
|
|
117
125
|
}
|
|
@@ -119,16 +127,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
119
127
|
tmp$ret$0 = true;
|
|
120
128
|
break $l$block_0;
|
|
121
129
|
}
|
|
122
|
-
var tmp0_iterator = m.
|
|
123
|
-
while (tmp0_iterator.
|
|
124
|
-
var element = tmp0_iterator.
|
|
130
|
+
var tmp0_iterator = m.g();
|
|
131
|
+
while (tmp0_iterator.h()) {
|
|
132
|
+
var element = tmp0_iterator.i();
|
|
125
133
|
// Inline function 'kotlin.collections.InternalMap.containsAllEntries.<anonymous>' call
|
|
126
134
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
127
135
|
// Inline function 'kotlin.js.asDynamic' call
|
|
128
136
|
var entry = element;
|
|
129
137
|
var tmp_0;
|
|
130
138
|
if (!(entry == null) ? isInterface(entry, Entry) : false) {
|
|
131
|
-
tmp_0 = this.
|
|
139
|
+
tmp_0 = this.h6(entry);
|
|
132
140
|
} else {
|
|
133
141
|
tmp_0 = false;
|
|
134
142
|
}
|
|
@@ -143,6 +151,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
143
151
|
}
|
|
144
152
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
145
153
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
154
|
+
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMap]);
|
|
146
155
|
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, Collection, KtSet]);
|
|
147
156
|
initMetadataForClass(BaseOutput, 'BaseOutput');
|
|
148
157
|
initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
|
|
@@ -155,6 +164,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
155
164
|
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException_init_$Create$, RuntimeException);
|
|
156
165
|
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException_init_$Create$, RuntimeException);
|
|
157
166
|
initMetadataForClass(NoSuchElementException, 'NoSuchElementException', NoSuchElementException_init_$Create$, RuntimeException);
|
|
167
|
+
initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException_init_$Create$, RuntimeException);
|
|
158
168
|
initMetadataForClass(NumberFormatException, 'NumberFormatException', NumberFormatException_init_$Create$, IllegalArgumentException);
|
|
159
169
|
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException_init_$Create$, RuntimeException);
|
|
160
170
|
initMetadataForClass(NullPointerException, 'NullPointerException', NullPointerException_init_$Create$, RuntimeException);
|
|
@@ -168,9 +178,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
168
178
|
initMetadataForInterface(MatchNamedGroupCollection, 'MatchNamedGroupCollection', VOID, VOID, [Collection]);
|
|
169
179
|
initMetadataForClass(findNext$1$groups$1, VOID, VOID, AbstractCollection, [MatchNamedGroupCollection, AbstractCollection]);
|
|
170
180
|
initMetadataForClass(findNext$1);
|
|
171
|
-
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0');
|
|
181
|
+
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
172
182
|
initMetadataForCompanion(Companion_5);
|
|
173
183
|
initMetadataForCompanion(Companion_6);
|
|
184
|
+
initMetadataForCompanion(Companion_7);
|
|
174
185
|
initMetadataForObject(EmptyList, 'EmptyList', VOID, VOID, [KtList]);
|
|
175
186
|
initMetadataForClass(ArrayAsCollection, 'ArrayAsCollection', VOID, VOID, [Collection]);
|
|
176
187
|
initMetadataForObject(EmptyIterator, 'EmptyIterator');
|
|
@@ -183,22 +194,24 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
183
194
|
initMetadataForObject(EmptySet, 'EmptySet', VOID, VOID, [KtSet]);
|
|
184
195
|
initMetadataForClass(Random, 'Random');
|
|
185
196
|
initMetadataForObject(Default, 'Default', VOID, Random);
|
|
186
|
-
initMetadataForCompanion(Companion_7);
|
|
187
|
-
initMetadataForClass(XorWowRandom, 'XorWowRandom', VOID, Random);
|
|
188
197
|
initMetadataForCompanion(Companion_8);
|
|
198
|
+
initMetadataForClass(XorWowRandom, 'XorWowRandom', VOID, Random);
|
|
199
|
+
initMetadataForCompanion(Companion_9);
|
|
189
200
|
initMetadataForClass(IntProgression, 'IntProgression');
|
|
190
201
|
initMetadataForClass(IntRange, 'IntRange', VOID, IntProgression);
|
|
191
202
|
initMetadataForClass(IntProgressionIterator, 'IntProgressionIterator', VOID, IntIterator);
|
|
192
|
-
initMetadataForCompanion(Companion_9);
|
|
193
203
|
initMetadataForCompanion(Companion_10);
|
|
194
204
|
initMetadataForCompanion(Companion_11);
|
|
205
|
+
initMetadataForCompanion(Companion_12);
|
|
195
206
|
initMetadataForClass(BytesHexFormat, 'BytesHexFormat');
|
|
196
207
|
initMetadataForClass(NumberHexFormat, 'NumberHexFormat');
|
|
197
|
-
initMetadataForCompanion(
|
|
208
|
+
initMetadataForCompanion(Companion_13);
|
|
198
209
|
initMetadataForClass(HexFormat, 'HexFormat');
|
|
210
|
+
initMetadataForClass(DelimitedRangesSequence$iterator$1);
|
|
211
|
+
initMetadataForClass(DelimitedRangesSequence, 'DelimitedRangesSequence');
|
|
199
212
|
initMetadataForClass(iterator$1, VOID, VOID, CharIterator);
|
|
200
213
|
initMetadataForClass(Pair, 'Pair');
|
|
201
|
-
initMetadataForCompanion(
|
|
214
|
+
initMetadataForCompanion(Companion_14);
|
|
202
215
|
initMetadataForClass(UInt, 'UInt');
|
|
203
216
|
//endregion
|
|
204
217
|
function CharSequence() {
|
|
@@ -310,7 +323,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
310
323
|
buffer.e(separator);
|
|
311
324
|
}
|
|
312
325
|
if (limit < 0 || count <= limit) {
|
|
313
|
-
|
|
326
|
+
if (!(transform == null)) {
|
|
327
|
+
buffer.e(transform(new Char(element)));
|
|
328
|
+
} else {
|
|
329
|
+
buffer.f(element);
|
|
330
|
+
}
|
|
314
331
|
} else
|
|
315
332
|
break $l$loop;
|
|
316
333
|
}
|
|
@@ -338,9 +355,47 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
338
355
|
transform = transform === VOID ? null : transform;
|
|
339
356
|
buffer.e(prefix);
|
|
340
357
|
var count = 0;
|
|
341
|
-
var
|
|
342
|
-
|
|
343
|
-
|
|
358
|
+
var inductionVariable = 0;
|
|
359
|
+
var last = _this__u8e3s4.length;
|
|
360
|
+
$l$loop: while (inductionVariable < last) {
|
|
361
|
+
var element = _this__u8e3s4[inductionVariable];
|
|
362
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
363
|
+
count = count + 1 | 0;
|
|
364
|
+
if (count > 1) {
|
|
365
|
+
buffer.e(separator);
|
|
366
|
+
}
|
|
367
|
+
if (limit < 0 || count <= limit) {
|
|
368
|
+
appendElement(buffer, element, transform);
|
|
369
|
+
} else
|
|
370
|
+
break $l$loop;
|
|
371
|
+
}
|
|
372
|
+
if (limit >= 0 && count > limit) {
|
|
373
|
+
buffer.e(truncated);
|
|
374
|
+
}
|
|
375
|
+
buffer.e(postfix);
|
|
376
|
+
return buffer;
|
|
377
|
+
}
|
|
378
|
+
function joinToString_1(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
379
|
+
separator = separator === VOID ? ', ' : separator;
|
|
380
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
381
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
382
|
+
limit = limit === VOID ? -1 : limit;
|
|
383
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
384
|
+
transform = transform === VOID ? null : transform;
|
|
385
|
+
return joinTo_1(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
386
|
+
}
|
|
387
|
+
function joinTo_1(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
388
|
+
separator = separator === VOID ? ', ' : separator;
|
|
389
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
390
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
391
|
+
limit = limit === VOID ? -1 : limit;
|
|
392
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
393
|
+
transform = transform === VOID ? null : transform;
|
|
394
|
+
buffer.e(prefix);
|
|
395
|
+
var count = 0;
|
|
396
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
397
|
+
$l$loop: while (tmp0_iterator.h()) {
|
|
398
|
+
var element = tmp0_iterator.i();
|
|
344
399
|
count = count + 1 | 0;
|
|
345
400
|
if (count > 1) {
|
|
346
401
|
buffer.e(separator);
|
|
@@ -359,92 +414,131 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
359
414
|
function toSet(_this__u8e3s4) {
|
|
360
415
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
361
416
|
var tmp;
|
|
362
|
-
switch (_this__u8e3s4.
|
|
417
|
+
switch (_this__u8e3s4.j()) {
|
|
363
418
|
case 0:
|
|
364
419
|
tmp = emptySet();
|
|
365
420
|
break;
|
|
366
421
|
case 1:
|
|
367
422
|
var tmp_0;
|
|
368
423
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
369
|
-
tmp_0 = _this__u8e3s4.
|
|
424
|
+
tmp_0 = _this__u8e3s4.k(0);
|
|
370
425
|
} else {
|
|
371
|
-
tmp_0 = _this__u8e3s4.
|
|
426
|
+
tmp_0 = _this__u8e3s4.g().i();
|
|
372
427
|
}
|
|
373
428
|
|
|
374
429
|
tmp = setOf(tmp_0);
|
|
375
430
|
break;
|
|
376
431
|
default:
|
|
377
|
-
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.
|
|
432
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.j())));
|
|
378
433
|
break;
|
|
379
434
|
}
|
|
380
435
|
return tmp;
|
|
381
436
|
}
|
|
382
437
|
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
|
|
383
438
|
}
|
|
439
|
+
function single_0(_this__u8e3s4) {
|
|
440
|
+
var tmp;
|
|
441
|
+
switch (_this__u8e3s4.j()) {
|
|
442
|
+
case 0:
|
|
443
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
444
|
+
case 1:
|
|
445
|
+
tmp = _this__u8e3s4.k(0);
|
|
446
|
+
break;
|
|
447
|
+
default:
|
|
448
|
+
throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
|
|
449
|
+
}
|
|
450
|
+
return tmp;
|
|
451
|
+
}
|
|
384
452
|
function toCollection_0(_this__u8e3s4, destination) {
|
|
385
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
386
|
-
while (tmp0_iterator.
|
|
387
|
-
var item = tmp0_iterator.
|
|
453
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
454
|
+
while (tmp0_iterator.h()) {
|
|
455
|
+
var item = tmp0_iterator.i();
|
|
388
456
|
destination.d(item);
|
|
389
457
|
}
|
|
390
458
|
return destination;
|
|
391
459
|
}
|
|
460
|
+
function single_1(_this__u8e3s4) {
|
|
461
|
+
if (isInterface(_this__u8e3s4, KtList))
|
|
462
|
+
return single_0(_this__u8e3s4);
|
|
463
|
+
else {
|
|
464
|
+
var iterator = _this__u8e3s4.g();
|
|
465
|
+
if (!iterator.h())
|
|
466
|
+
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
467
|
+
var single = iterator.i();
|
|
468
|
+
if (iterator.h())
|
|
469
|
+
throw IllegalArgumentException_init_$Create$_0('Collection has more than one element.');
|
|
470
|
+
return single;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
392
473
|
function asSequence(_this__u8e3s4) {
|
|
393
474
|
// Inline function 'kotlin.sequences.Sequence' call
|
|
394
475
|
return new _no_name_provided__qut3iv(_this__u8e3s4);
|
|
395
476
|
}
|
|
396
477
|
function _no_name_provided__qut3iv($this_asSequence) {
|
|
397
|
-
this.
|
|
478
|
+
this.l_1 = $this_asSequence;
|
|
398
479
|
}
|
|
399
|
-
protoOf(_no_name_provided__qut3iv).
|
|
480
|
+
protoOf(_no_name_provided__qut3iv).g = function () {
|
|
400
481
|
// Inline function 'kotlin.collections.asSequence.<anonymous>' call
|
|
401
|
-
return this.
|
|
482
|
+
return this.l_1.g();
|
|
402
483
|
};
|
|
403
484
|
function until(_this__u8e3s4, to) {
|
|
404
485
|
if (to <= -2147483648)
|
|
405
|
-
return
|
|
486
|
+
return Companion_getInstance_9().m_1;
|
|
406
487
|
return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
|
|
407
488
|
}
|
|
408
489
|
function step(_this__u8e3s4, step) {
|
|
409
490
|
checkStepIsPositive(step > 0, step);
|
|
410
|
-
return
|
|
491
|
+
return Companion_instance_10.q(_this__u8e3s4.n_1, _this__u8e3s4.o_1, _this__u8e3s4.p_1 > 0 ? step : -step | 0);
|
|
411
492
|
}
|
|
412
493
|
function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
413
494
|
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
414
495
|
}
|
|
415
496
|
function downTo(_this__u8e3s4, to) {
|
|
416
|
-
return
|
|
497
|
+
return Companion_instance_10.q(_this__u8e3s4, to, -1);
|
|
417
498
|
}
|
|
418
499
|
function coerceAtMost(_this__u8e3s4, maximumValue) {
|
|
419
500
|
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
|
|
420
501
|
}
|
|
421
|
-
function
|
|
502
|
+
function coerceIn(_this__u8e3s4, minimumValue, maximumValue) {
|
|
503
|
+
if (minimumValue > maximumValue)
|
|
504
|
+
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
505
|
+
if (_this__u8e3s4 < minimumValue)
|
|
506
|
+
return minimumValue;
|
|
507
|
+
if (_this__u8e3s4 > maximumValue)
|
|
508
|
+
return maximumValue;
|
|
509
|
+
return _this__u8e3s4;
|
|
510
|
+
}
|
|
511
|
+
function joinToString_2(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
422
512
|
separator = separator === VOID ? ', ' : separator;
|
|
423
513
|
prefix = prefix === VOID ? '' : prefix;
|
|
424
514
|
postfix = postfix === VOID ? '' : postfix;
|
|
425
515
|
limit = limit === VOID ? -1 : limit;
|
|
426
516
|
truncated = truncated === VOID ? '...' : truncated;
|
|
427
517
|
transform = transform === VOID ? null : transform;
|
|
428
|
-
return
|
|
518
|
+
return joinTo_2(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
429
519
|
}
|
|
430
520
|
function map(_this__u8e3s4, transform) {
|
|
431
521
|
return new TransformingSequence(_this__u8e3s4, transform);
|
|
432
522
|
}
|
|
433
523
|
function toList(_this__u8e3s4) {
|
|
434
|
-
var it = _this__u8e3s4.
|
|
435
|
-
if (!it.
|
|
524
|
+
var it = _this__u8e3s4.g();
|
|
525
|
+
if (!it.h())
|
|
436
526
|
return emptyList();
|
|
437
|
-
var element = it.
|
|
438
|
-
if (!it.
|
|
527
|
+
var element = it.i();
|
|
528
|
+
if (!it.h())
|
|
439
529
|
return listOf(element);
|
|
440
530
|
var dst = ArrayList_init_$Create$();
|
|
441
531
|
dst.d(element);
|
|
442
|
-
while (it.
|
|
443
|
-
dst.d(it.
|
|
532
|
+
while (it.h()) {
|
|
533
|
+
dst.d(it.i());
|
|
444
534
|
}
|
|
445
535
|
return dst;
|
|
446
536
|
}
|
|
447
|
-
function
|
|
537
|
+
function asIterable(_this__u8e3s4) {
|
|
538
|
+
// Inline function 'kotlin.collections.Iterable' call
|
|
539
|
+
return new _no_name_provided__qut3iv_0(_this__u8e3s4);
|
|
540
|
+
}
|
|
541
|
+
function joinTo_2(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
448
542
|
separator = separator === VOID ? ', ' : separator;
|
|
449
543
|
prefix = prefix === VOID ? '' : prefix;
|
|
450
544
|
postfix = postfix === VOID ? '' : postfix;
|
|
@@ -453,9 +547,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
453
547
|
transform = transform === VOID ? null : transform;
|
|
454
548
|
buffer.e(prefix);
|
|
455
549
|
var count = 0;
|
|
456
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
457
|
-
$l$loop: while (tmp0_iterator.
|
|
458
|
-
var element = tmp0_iterator.
|
|
550
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
551
|
+
$l$loop: while (tmp0_iterator.h()) {
|
|
552
|
+
var element = tmp0_iterator.i();
|
|
459
553
|
count = count + 1 | 0;
|
|
460
554
|
if (count > 1) {
|
|
461
555
|
buffer.e(separator);
|
|
@@ -471,8 +565,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
471
565
|
buffer.e(postfix);
|
|
472
566
|
return buffer;
|
|
473
567
|
}
|
|
568
|
+
function _no_name_provided__qut3iv_0($this_asIterable) {
|
|
569
|
+
this.u_1 = $this_asIterable;
|
|
570
|
+
}
|
|
571
|
+
protoOf(_no_name_provided__qut3iv_0).g = function () {
|
|
572
|
+
// Inline function 'kotlin.sequences.asIterable.<anonymous>' call
|
|
573
|
+
return this.u_1.g();
|
|
574
|
+
};
|
|
474
575
|
function slice(_this__u8e3s4, indices) {
|
|
475
|
-
if (indices.
|
|
576
|
+
if (indices.y())
|
|
476
577
|
return '';
|
|
477
578
|
return substring(_this__u8e3s4, indices);
|
|
478
579
|
}
|
|
@@ -491,7 +592,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
491
592
|
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
492
593
|
}
|
|
493
594
|
function Char__compareTo_impl_ypi4mb_0($this, other) {
|
|
494
|
-
return Char__compareTo_impl_ypi4mb($this.
|
|
595
|
+
return Char__compareTo_impl_ypi4mb($this.z_1, other instanceof Char ? other.z_1 : THROW_CCE());
|
|
495
596
|
}
|
|
496
597
|
function Char__minus_impl_a2frrh($this, other) {
|
|
497
598
|
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
@@ -506,23 +607,23 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
506
607
|
function Char__equals_impl_x6719k($this, other) {
|
|
507
608
|
if (!(other instanceof Char))
|
|
508
609
|
return false;
|
|
509
|
-
return _get_value__a43j40($this) === _get_value__a43j40(other.
|
|
610
|
+
return _get_value__a43j40($this) === _get_value__a43j40(other.z_1);
|
|
510
611
|
}
|
|
511
612
|
function Char__hashCode_impl_otmys($this) {
|
|
512
613
|
return _get_value__a43j40($this);
|
|
513
614
|
}
|
|
514
615
|
function Companion() {
|
|
515
616
|
Companion_instance = this;
|
|
516
|
-
this.
|
|
517
|
-
this.
|
|
518
|
-
this.
|
|
519
|
-
this.
|
|
520
|
-
this.
|
|
521
|
-
this.d1_1 = _Char___init__impl__6a9atx(57343);
|
|
522
|
-
this.e1_1 = _Char___init__impl__6a9atx(55296);
|
|
617
|
+
this.a1_1 = _Char___init__impl__6a9atx(0);
|
|
618
|
+
this.b1_1 = _Char___init__impl__6a9atx(65535);
|
|
619
|
+
this.c1_1 = _Char___init__impl__6a9atx(55296);
|
|
620
|
+
this.d1_1 = _Char___init__impl__6a9atx(56319);
|
|
621
|
+
this.e1_1 = _Char___init__impl__6a9atx(56320);
|
|
523
622
|
this.f1_1 = _Char___init__impl__6a9atx(57343);
|
|
524
|
-
this.g1_1 =
|
|
525
|
-
this.h1_1 =
|
|
623
|
+
this.g1_1 = _Char___init__impl__6a9atx(55296);
|
|
624
|
+
this.h1_1 = _Char___init__impl__6a9atx(57343);
|
|
625
|
+
this.i1_1 = 2;
|
|
626
|
+
this.j1_1 = 16;
|
|
526
627
|
}
|
|
527
628
|
var Companion_instance;
|
|
528
629
|
function Companion_getInstance() {
|
|
@@ -532,22 +633,22 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
532
633
|
}
|
|
533
634
|
function Char(value) {
|
|
534
635
|
Companion_getInstance();
|
|
535
|
-
this.
|
|
636
|
+
this.z_1 = value;
|
|
536
637
|
}
|
|
537
|
-
protoOf(Char).
|
|
538
|
-
return Char__compareTo_impl_ypi4mb(this.
|
|
638
|
+
protoOf(Char).k1 = function (other) {
|
|
639
|
+
return Char__compareTo_impl_ypi4mb(this.z_1, other);
|
|
539
640
|
};
|
|
540
|
-
protoOf(Char).
|
|
641
|
+
protoOf(Char).l1 = function (other) {
|
|
541
642
|
return Char__compareTo_impl_ypi4mb_0(this, other);
|
|
542
643
|
};
|
|
543
644
|
protoOf(Char).toString = function () {
|
|
544
|
-
return toString(this.
|
|
645
|
+
return toString(this.z_1);
|
|
545
646
|
};
|
|
546
647
|
protoOf(Char).equals = function (other) {
|
|
547
|
-
return Char__equals_impl_x6719k(this.
|
|
648
|
+
return Char__equals_impl_x6719k(this.z_1, other);
|
|
548
649
|
};
|
|
549
650
|
protoOf(Char).hashCode = function () {
|
|
550
|
-
return Char__hashCode_impl_otmys(this.
|
|
651
|
+
return Char__hashCode_impl_otmys(this.z_1);
|
|
551
652
|
};
|
|
552
653
|
function KtList() {
|
|
553
654
|
}
|
|
@@ -566,20 +667,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
566
667
|
return Companion_instance_0;
|
|
567
668
|
}
|
|
568
669
|
function Enum(name, ordinal) {
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
670
|
+
this.u1_1 = name;
|
|
671
|
+
this.v1_1 = ordinal;
|
|
571
672
|
}
|
|
572
|
-
protoOf(Enum).
|
|
573
|
-
return this.
|
|
673
|
+
protoOf(Enum).w1 = function () {
|
|
674
|
+
return this.u1_1;
|
|
574
675
|
};
|
|
575
|
-
protoOf(Enum).
|
|
576
|
-
return this.
|
|
676
|
+
protoOf(Enum).x1 = function () {
|
|
677
|
+
return this.v1_1;
|
|
577
678
|
};
|
|
578
|
-
protoOf(Enum).
|
|
579
|
-
return compareTo(this.
|
|
679
|
+
protoOf(Enum).y1 = function (other) {
|
|
680
|
+
return compareTo(this.v1_1, other.v1_1);
|
|
580
681
|
};
|
|
581
|
-
protoOf(Enum).
|
|
582
|
-
return this.
|
|
682
|
+
protoOf(Enum).l1 = function (other) {
|
|
683
|
+
return this.y1(other instanceof Enum ? other : THROW_CCE());
|
|
583
684
|
};
|
|
584
685
|
protoOf(Enum).equals = function (other) {
|
|
585
686
|
return this === other;
|
|
@@ -588,7 +689,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
588
689
|
return identityHashCode(this);
|
|
589
690
|
};
|
|
590
691
|
protoOf(Enum).toString = function () {
|
|
591
|
-
return this.
|
|
692
|
+
return this.u1_1;
|
|
592
693
|
};
|
|
593
694
|
function toString_0(_this__u8e3s4) {
|
|
594
695
|
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_1(_this__u8e3s4);
|
|
@@ -596,10 +697,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
596
697
|
}
|
|
597
698
|
function Companion_1() {
|
|
598
699
|
Companion_instance_1 = this;
|
|
599
|
-
this.
|
|
600
|
-
this.
|
|
601
|
-
this.
|
|
602
|
-
this.
|
|
700
|
+
this.z1_1 = new Long(0, -2147483648);
|
|
701
|
+
this.a2_1 = new Long(-1, 2147483647);
|
|
702
|
+
this.b2_1 = 8;
|
|
703
|
+
this.c2_1 = 64;
|
|
603
704
|
}
|
|
604
705
|
var Companion_instance_1;
|
|
605
706
|
function Companion_getInstance_1() {
|
|
@@ -610,46 +711,46 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
610
711
|
function Long(low, high) {
|
|
611
712
|
Companion_getInstance_1();
|
|
612
713
|
Number_0.call(this);
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
714
|
+
this.d2_1 = low;
|
|
715
|
+
this.e2_1 = high;
|
|
615
716
|
}
|
|
616
|
-
protoOf(Long).
|
|
717
|
+
protoOf(Long).f2 = function (other) {
|
|
617
718
|
return compare(this, other);
|
|
618
719
|
};
|
|
619
|
-
protoOf(Long).
|
|
620
|
-
return this.
|
|
720
|
+
protoOf(Long).l1 = function (other) {
|
|
721
|
+
return this.f2(other instanceof Long ? other : THROW_CCE());
|
|
621
722
|
};
|
|
622
|
-
protoOf(Long).
|
|
723
|
+
protoOf(Long).g2 = function (other) {
|
|
623
724
|
return add(this, other);
|
|
624
725
|
};
|
|
625
|
-
protoOf(Long).
|
|
726
|
+
protoOf(Long).h2 = function (other) {
|
|
626
727
|
return subtract(this, other);
|
|
627
728
|
};
|
|
628
|
-
protoOf(Long).
|
|
729
|
+
protoOf(Long).i2 = function (other) {
|
|
629
730
|
return multiply(this, other);
|
|
630
731
|
};
|
|
631
|
-
protoOf(Long).
|
|
732
|
+
protoOf(Long).j2 = function (other) {
|
|
632
733
|
return divide(this, other);
|
|
633
734
|
};
|
|
634
|
-
protoOf(Long).
|
|
635
|
-
return this.
|
|
735
|
+
protoOf(Long).k2 = function () {
|
|
736
|
+
return this.l2().g2(new Long(1, 0));
|
|
636
737
|
};
|
|
637
|
-
protoOf(Long).
|
|
738
|
+
protoOf(Long).m2 = function (bitCount) {
|
|
638
739
|
return shiftLeft(this, bitCount);
|
|
639
740
|
};
|
|
640
|
-
protoOf(Long).
|
|
641
|
-
return new Long(this.
|
|
741
|
+
protoOf(Long).n2 = function (other) {
|
|
742
|
+
return new Long(this.d2_1 & other.d2_1, this.e2_1 & other.e2_1);
|
|
642
743
|
};
|
|
643
|
-
protoOf(Long).
|
|
644
|
-
return new Long(this.
|
|
645
|
-
};
|
|
646
|
-
protoOf(Long).h2 = function () {
|
|
647
|
-
return new Long(~this.z1_1, ~this.a2_1);
|
|
744
|
+
protoOf(Long).o2 = function (other) {
|
|
745
|
+
return new Long(this.d2_1 | other.d2_1, this.e2_1 | other.e2_1);
|
|
648
746
|
};
|
|
649
747
|
protoOf(Long).l2 = function () {
|
|
650
|
-
return this.
|
|
748
|
+
return new Long(~this.d2_1, ~this.e2_1);
|
|
749
|
+
};
|
|
750
|
+
protoOf(Long).p2 = function () {
|
|
751
|
+
return this.d2_1;
|
|
651
752
|
};
|
|
652
|
-
protoOf(Long).
|
|
753
|
+
protoOf(Long).q2 = function () {
|
|
653
754
|
return toNumber(this);
|
|
654
755
|
};
|
|
655
756
|
protoOf(Long).toString = function () {
|
|
@@ -668,7 +769,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
668
769
|
return hashCode_0(this);
|
|
669
770
|
};
|
|
670
771
|
protoOf(Long).valueOf = function () {
|
|
671
|
-
return this.
|
|
772
|
+
return this.q2();
|
|
672
773
|
};
|
|
673
774
|
function implement(interfaces) {
|
|
674
775
|
var maxSize = 1;
|
|
@@ -742,6 +843,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
742
843
|
var numberWithSettledBit = 1 << positionInNumber;
|
|
743
844
|
return !((_this__u8e3s4[numberIndex] & numberWithSettledBit) === 0);
|
|
744
845
|
}
|
|
846
|
+
function FunctionAdapter() {
|
|
847
|
+
}
|
|
745
848
|
function fillArrayVal(array, initValue) {
|
|
746
849
|
var inductionVariable = 0;
|
|
747
850
|
var last = array.length - 1 | 0;
|
|
@@ -782,20 +885,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
782
885
|
return array;
|
|
783
886
|
}
|
|
784
887
|
function arrayIterator$1($array) {
|
|
785
|
-
this.
|
|
786
|
-
this.
|
|
888
|
+
this.t2_1 = $array;
|
|
889
|
+
this.s2_1 = 0;
|
|
787
890
|
}
|
|
788
|
-
protoOf(arrayIterator$1).g = function () {
|
|
789
|
-
return !(this.n2_1 === this.o2_1.length);
|
|
790
|
-
};
|
|
791
891
|
protoOf(arrayIterator$1).h = function () {
|
|
892
|
+
return !(this.s2_1 === this.t2_1.length);
|
|
893
|
+
};
|
|
894
|
+
protoOf(arrayIterator$1).i = function () {
|
|
792
895
|
var tmp;
|
|
793
|
-
if (!(this.
|
|
794
|
-
var tmp1 = this.
|
|
795
|
-
this.
|
|
796
|
-
tmp = this.
|
|
896
|
+
if (!(this.s2_1 === this.t2_1.length)) {
|
|
897
|
+
var tmp1 = this.s2_1;
|
|
898
|
+
this.s2_1 = tmp1 + 1 | 0;
|
|
899
|
+
tmp = this.t2_1[tmp1];
|
|
797
900
|
} else {
|
|
798
|
-
throw NoSuchElementException_init_$Create$_0('' + this.
|
|
901
|
+
throw NoSuchElementException_init_$Create$_0('' + this.s2_1);
|
|
799
902
|
}
|
|
800
903
|
return tmp;
|
|
801
904
|
};
|
|
@@ -910,7 +1013,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
910
1013
|
return tmp;
|
|
911
1014
|
}
|
|
912
1015
|
function arrayToString(array) {
|
|
913
|
-
return
|
|
1016
|
+
return joinToString_0(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
|
|
914
1017
|
}
|
|
915
1018
|
function arrayToString$lambda(it) {
|
|
916
1019
|
return toString_1(it);
|
|
@@ -924,7 +1027,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
924
1027
|
tmp_0 = doubleCompareTo(a, b);
|
|
925
1028
|
} else {
|
|
926
1029
|
if (b instanceof Long) {
|
|
927
|
-
tmp_0 = doubleCompareTo(a, b.
|
|
1030
|
+
tmp_0 = doubleCompareTo(a, b.q2());
|
|
928
1031
|
} else {
|
|
929
1032
|
tmp_0 = primitiveCompareTo(a, b);
|
|
930
1033
|
}
|
|
@@ -980,7 +1083,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
980
1083
|
return a < b ? -1 : a > b ? 1 : 0;
|
|
981
1084
|
}
|
|
982
1085
|
function compareToDoNotIntrinsicify(a, b) {
|
|
983
|
-
return a.
|
|
1086
|
+
return a.l1(b);
|
|
984
1087
|
}
|
|
985
1088
|
function identityHashCode(obj) {
|
|
986
1089
|
return getObjectHashCode(obj);
|
|
@@ -1262,14 +1365,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1262
1365
|
}
|
|
1263
1366
|
function add(_this__u8e3s4, other) {
|
|
1264
1367
|
_init_properties_longJs_kt__elc2w5();
|
|
1265
|
-
var a48 = _this__u8e3s4.
|
|
1266
|
-
var a32 = _this__u8e3s4.
|
|
1267
|
-
var a16 = _this__u8e3s4.
|
|
1268
|
-
var a00 = _this__u8e3s4.
|
|
1269
|
-
var b48 = other.
|
|
1270
|
-
var b32 = other.
|
|
1271
|
-
var b16 = other.
|
|
1272
|
-
var b00 = other.
|
|
1368
|
+
var a48 = _this__u8e3s4.e2_1 >>> 16 | 0;
|
|
1369
|
+
var a32 = _this__u8e3s4.e2_1 & 65535;
|
|
1370
|
+
var a16 = _this__u8e3s4.d2_1 >>> 16 | 0;
|
|
1371
|
+
var a00 = _this__u8e3s4.d2_1 & 65535;
|
|
1372
|
+
var b48 = other.e2_1 >>> 16 | 0;
|
|
1373
|
+
var b32 = other.e2_1 & 65535;
|
|
1374
|
+
var b16 = other.d2_1 >>> 16 | 0;
|
|
1375
|
+
var b00 = other.d2_1 & 65535;
|
|
1273
1376
|
var c48 = 0;
|
|
1274
1377
|
var c32 = 0;
|
|
1275
1378
|
var c16 = 0;
|
|
@@ -1289,7 +1392,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1289
1392
|
}
|
|
1290
1393
|
function subtract(_this__u8e3s4, other) {
|
|
1291
1394
|
_init_properties_longJs_kt__elc2w5();
|
|
1292
|
-
return add(_this__u8e3s4, other.
|
|
1395
|
+
return add(_this__u8e3s4, other.k2());
|
|
1293
1396
|
}
|
|
1294
1397
|
function multiply(_this__u8e3s4, other) {
|
|
1295
1398
|
_init_properties_longJs_kt__elc2w5();
|
|
@@ -1317,14 +1420,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1317
1420
|
if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) && lessThan(other, get_TWO_PWR_24_())) {
|
|
1318
1421
|
return fromNumber(toNumber(_this__u8e3s4) * toNumber(other));
|
|
1319
1422
|
}
|
|
1320
|
-
var a48 = _this__u8e3s4.
|
|
1321
|
-
var a32 = _this__u8e3s4.
|
|
1322
|
-
var a16 = _this__u8e3s4.
|
|
1323
|
-
var a00 = _this__u8e3s4.
|
|
1324
|
-
var b48 = other.
|
|
1325
|
-
var b32 = other.
|
|
1326
|
-
var b16 = other.
|
|
1327
|
-
var b00 = other.
|
|
1423
|
+
var a48 = _this__u8e3s4.e2_1 >>> 16 | 0;
|
|
1424
|
+
var a32 = _this__u8e3s4.e2_1 & 65535;
|
|
1425
|
+
var a16 = _this__u8e3s4.d2_1 >>> 16 | 0;
|
|
1426
|
+
var a00 = _this__u8e3s4.d2_1 & 65535;
|
|
1427
|
+
var b48 = other.e2_1 >>> 16 | 0;
|
|
1428
|
+
var b32 = other.e2_1 & 65535;
|
|
1429
|
+
var b16 = other.d2_1 >>> 16 | 0;
|
|
1430
|
+
var b00 = other.d2_1 & 65535;
|
|
1328
1431
|
var c48 = 0;
|
|
1329
1432
|
var c32 = 0;
|
|
1330
1433
|
var c16 = 0;
|
|
@@ -1365,12 +1468,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1365
1468
|
return get_ONE();
|
|
1366
1469
|
} else {
|
|
1367
1470
|
var halfThis = shiftRight(_this__u8e3s4, 1);
|
|
1368
|
-
var approx = shiftLeft(halfThis.
|
|
1471
|
+
var approx = shiftLeft(halfThis.j2(other), 1);
|
|
1369
1472
|
if (equalsLong(approx, get_ZERO())) {
|
|
1370
1473
|
return isNegative(other) ? get_ONE() : get_NEG_ONE();
|
|
1371
1474
|
} else {
|
|
1372
1475
|
var rem = subtract(_this__u8e3s4, multiply(other, approx));
|
|
1373
|
-
return add(approx, rem.
|
|
1476
|
+
return add(approx, rem.j2(other));
|
|
1374
1477
|
}
|
|
1375
1478
|
}
|
|
1376
1479
|
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
@@ -1379,13 +1482,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1379
1482
|
if (isNegative(_this__u8e3s4)) {
|
|
1380
1483
|
var tmp;
|
|
1381
1484
|
if (isNegative(other)) {
|
|
1382
|
-
tmp = negate(_this__u8e3s4).
|
|
1485
|
+
tmp = negate(_this__u8e3s4).j2(negate(other));
|
|
1383
1486
|
} else {
|
|
1384
|
-
tmp = negate(negate(_this__u8e3s4).
|
|
1487
|
+
tmp = negate(negate(_this__u8e3s4).j2(other));
|
|
1385
1488
|
}
|
|
1386
1489
|
return tmp;
|
|
1387
1490
|
} else if (isNegative(other)) {
|
|
1388
|
-
return negate(_this__u8e3s4.
|
|
1491
|
+
return negate(_this__u8e3s4.j2(negate(other)));
|
|
1389
1492
|
}
|
|
1390
1493
|
var res = get_ZERO();
|
|
1391
1494
|
var rem_0 = _this__u8e3s4;
|
|
@@ -1416,9 +1519,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1416
1519
|
return _this__u8e3s4;
|
|
1417
1520
|
} else {
|
|
1418
1521
|
if (numBits_0 < 32) {
|
|
1419
|
-
return new Long(_this__u8e3s4.
|
|
1522
|
+
return new Long(_this__u8e3s4.d2_1 << numBits_0, _this__u8e3s4.e2_1 << numBits_0 | (_this__u8e3s4.d2_1 >>> (32 - numBits_0 | 0) | 0));
|
|
1420
1523
|
} else {
|
|
1421
|
-
return new Long(0, _this__u8e3s4.
|
|
1524
|
+
return new Long(0, _this__u8e3s4.d2_1 << (numBits_0 - 32 | 0));
|
|
1422
1525
|
}
|
|
1423
1526
|
}
|
|
1424
1527
|
}
|
|
@@ -1429,15 +1532,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1429
1532
|
return _this__u8e3s4;
|
|
1430
1533
|
} else {
|
|
1431
1534
|
if (numBits_0 < 32) {
|
|
1432
|
-
return new Long(_this__u8e3s4.
|
|
1535
|
+
return new Long(_this__u8e3s4.d2_1 >>> numBits_0 | 0 | _this__u8e3s4.e2_1 << (32 - numBits_0 | 0), _this__u8e3s4.e2_1 >> numBits_0);
|
|
1433
1536
|
} else {
|
|
1434
|
-
return new Long(_this__u8e3s4.
|
|
1537
|
+
return new Long(_this__u8e3s4.e2_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.e2_1 >= 0 ? 0 : -1);
|
|
1435
1538
|
}
|
|
1436
1539
|
}
|
|
1437
1540
|
}
|
|
1438
1541
|
function toNumber(_this__u8e3s4) {
|
|
1439
1542
|
_init_properties_longJs_kt__elc2w5();
|
|
1440
|
-
return _this__u8e3s4.
|
|
1543
|
+
return _this__u8e3s4.e2_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
|
|
1441
1544
|
}
|
|
1442
1545
|
function toStringImpl(_this__u8e3s4, radix) {
|
|
1443
1546
|
_init_properties_longJs_kt__elc2w5();
|
|
@@ -1450,8 +1553,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1450
1553
|
if (isNegative(_this__u8e3s4)) {
|
|
1451
1554
|
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
1452
1555
|
var radixLong = fromInt(radix);
|
|
1453
|
-
var div = _this__u8e3s4.
|
|
1454
|
-
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).
|
|
1556
|
+
var div = _this__u8e3s4.j2(radixLong);
|
|
1557
|
+
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).p2();
|
|
1455
1558
|
var tmp = toStringImpl(div, radix);
|
|
1456
1559
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1457
1560
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1465,8 +1568,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1465
1568
|
var rem_0 = _this__u8e3s4;
|
|
1466
1569
|
var result = '';
|
|
1467
1570
|
while (true) {
|
|
1468
|
-
var remDiv = rem_0.
|
|
1469
|
-
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).
|
|
1571
|
+
var remDiv = rem_0.j2(radixToPower);
|
|
1572
|
+
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).p2();
|
|
1470
1573
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1471
1574
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1472
1575
|
var digits = intval.toString(radix);
|
|
@@ -1483,11 +1586,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1483
1586
|
}
|
|
1484
1587
|
function equalsLong(_this__u8e3s4, other) {
|
|
1485
1588
|
_init_properties_longJs_kt__elc2w5();
|
|
1486
|
-
return _this__u8e3s4.
|
|
1589
|
+
return _this__u8e3s4.e2_1 === other.e2_1 && _this__u8e3s4.d2_1 === other.d2_1;
|
|
1487
1590
|
}
|
|
1488
1591
|
function hashCode_0(l) {
|
|
1489
1592
|
_init_properties_longJs_kt__elc2w5();
|
|
1490
|
-
return l.
|
|
1593
|
+
return l.d2_1 ^ l.e2_1;
|
|
1491
1594
|
}
|
|
1492
1595
|
function fromInt(value) {
|
|
1493
1596
|
_init_properties_longJs_kt__elc2w5();
|
|
@@ -1495,19 +1598,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1495
1598
|
}
|
|
1496
1599
|
function isNegative(_this__u8e3s4) {
|
|
1497
1600
|
_init_properties_longJs_kt__elc2w5();
|
|
1498
|
-
return _this__u8e3s4.
|
|
1601
|
+
return _this__u8e3s4.e2_1 < 0;
|
|
1499
1602
|
}
|
|
1500
1603
|
function isZero(_this__u8e3s4) {
|
|
1501
1604
|
_init_properties_longJs_kt__elc2w5();
|
|
1502
|
-
return _this__u8e3s4.
|
|
1605
|
+
return _this__u8e3s4.e2_1 === 0 && _this__u8e3s4.d2_1 === 0;
|
|
1503
1606
|
}
|
|
1504
1607
|
function isOdd(_this__u8e3s4) {
|
|
1505
1608
|
_init_properties_longJs_kt__elc2w5();
|
|
1506
|
-
return (_this__u8e3s4.
|
|
1609
|
+
return (_this__u8e3s4.d2_1 & 1) === 1;
|
|
1507
1610
|
}
|
|
1508
1611
|
function negate(_this__u8e3s4) {
|
|
1509
1612
|
_init_properties_longJs_kt__elc2w5();
|
|
1510
|
-
return _this__u8e3s4.
|
|
1613
|
+
return _this__u8e3s4.k2();
|
|
1511
1614
|
}
|
|
1512
1615
|
function lessThan(_this__u8e3s4, other) {
|
|
1513
1616
|
_init_properties_longJs_kt__elc2w5();
|
|
@@ -1542,7 +1645,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1542
1645
|
}
|
|
1543
1646
|
function getLowBitsUnsigned(_this__u8e3s4) {
|
|
1544
1647
|
_init_properties_longJs_kt__elc2w5();
|
|
1545
|
-
return _this__u8e3s4.
|
|
1648
|
+
return _this__u8e3s4.d2_1 >= 0 ? _this__u8e3s4.d2_1 : 4.294967296E9 + _this__u8e3s4.d2_1;
|
|
1546
1649
|
}
|
|
1547
1650
|
var properties_initialized_longJs_kt_4syf89;
|
|
1548
1651
|
function _init_properties_longJs_kt__elc2w5() {
|
|
@@ -1664,7 +1767,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1664
1767
|
function numberToInt(a) {
|
|
1665
1768
|
var tmp;
|
|
1666
1769
|
if (a instanceof Long) {
|
|
1667
|
-
tmp = a.
|
|
1770
|
+
tmp = a.p2();
|
|
1668
1771
|
} else {
|
|
1669
1772
|
tmp = doubleToInt(a);
|
|
1670
1773
|
}
|
|
@@ -1777,13 +1880,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1777
1880
|
VOID = void 0;
|
|
1778
1881
|
}
|
|
1779
1882
|
}
|
|
1780
|
-
function
|
|
1781
|
-
|
|
1782
|
-
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
1783
|
-
Companion_instance_5.q2(fromIndex, toIndex, _this__u8e3s4.length);
|
|
1784
|
-
// Inline function 'kotlin.js.nativeFill' call
|
|
1883
|
+
function asList(_this__u8e3s4) {
|
|
1884
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1785
1885
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1786
|
-
|
|
1886
|
+
return new ArrayList(_this__u8e3s4);
|
|
1787
1887
|
}
|
|
1788
1888
|
function copyOf(_this__u8e3s4, newSize) {
|
|
1789
1889
|
// Inline function 'kotlin.require' call
|
|
@@ -1806,18 +1906,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1806
1906
|
return fillFrom(_this__u8e3s4, new Int8Array(newSize));
|
|
1807
1907
|
}
|
|
1808
1908
|
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
|
|
1809
|
-
Companion_instance_5.
|
|
1909
|
+
Companion_instance_5.v2(fromIndex, toIndex, _this__u8e3s4.length);
|
|
1810
1910
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1811
1911
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
1812
1912
|
}
|
|
1813
1913
|
function copyOfRange_0(_this__u8e3s4, fromIndex, toIndex) {
|
|
1814
|
-
Companion_instance_5.
|
|
1914
|
+
Companion_instance_5.v2(fromIndex, toIndex, _this__u8e3s4.length);
|
|
1815
1915
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1816
1916
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
1817
1917
|
}
|
|
1818
|
-
function toTypedArray(_this__u8e3s4) {
|
|
1819
|
-
return [].slice.call(_this__u8e3s4);
|
|
1820
|
-
}
|
|
1821
1918
|
function copyOf_1(_this__u8e3s4, newSize) {
|
|
1822
1919
|
// Inline function 'kotlin.require' call
|
|
1823
1920
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1856,8 +1953,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1856
1953
|
function digitToIntImpl(_this__u8e3s4) {
|
|
1857
1954
|
// Inline function 'kotlin.code' call
|
|
1858
1955
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
1859
|
-
var index = binarySearchRange(Digit_getInstance().
|
|
1860
|
-
var diff = ch - Digit_getInstance().
|
|
1956
|
+
var index = binarySearchRange(Digit_getInstance().w2_1, ch);
|
|
1957
|
+
var diff = ch - Digit_getInstance().w2_1[index] | 0;
|
|
1861
1958
|
return diff < 10 ? diff : -1;
|
|
1862
1959
|
}
|
|
1863
1960
|
function binarySearchRange(array, needle) {
|
|
@@ -1881,7 +1978,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1881
1978
|
Digit_instance = this;
|
|
1882
1979
|
var tmp = this;
|
|
1883
1980
|
// Inline function 'kotlin.intArrayOf' call
|
|
1884
|
-
tmp.
|
|
1981
|
+
tmp.w2_1 = new Int32Array([48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160, 6470, 6608, 6784, 6800, 6992, 7088, 7232, 7248, 42528, 43216, 43264, 43472, 43504, 43600, 44016, 65296]);
|
|
1885
1982
|
}
|
|
1886
1983
|
var Digit_instance;
|
|
1887
1984
|
function Digit_getInstance() {
|
|
@@ -1895,10 +1992,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1895
1992
|
function getLetterType(_this__u8e3s4) {
|
|
1896
1993
|
// Inline function 'kotlin.code' call
|
|
1897
1994
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
1898
|
-
var index = binarySearchRange(Letter_getInstance().
|
|
1899
|
-
var rangeStart = Letter_getInstance().
|
|
1900
|
-
var rangeEnd = (rangeStart + Letter_getInstance().
|
|
1901
|
-
var code = Letter_getInstance().
|
|
1995
|
+
var index = binarySearchRange(Letter_getInstance().x2_1, ch);
|
|
1996
|
+
var rangeStart = Letter_getInstance().x2_1[index];
|
|
1997
|
+
var rangeEnd = (rangeStart + Letter_getInstance().y2_1[index] | 0) - 1 | 0;
|
|
1998
|
+
var code = Letter_getInstance().z2_1[index];
|
|
1902
1999
|
if (ch > rangeEnd) {
|
|
1903
2000
|
return 0;
|
|
1904
2001
|
}
|
|
@@ -1963,11 +2060,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1963
2060
|
}
|
|
1964
2061
|
}
|
|
1965
2062
|
while (inductionVariable_0 <= last_0);
|
|
1966
|
-
this.
|
|
2063
|
+
this.x2_1 = start;
|
|
1967
2064
|
var rangeLength = 'aaMBXHYH5BRpBPPPPPPRMP5BPPlCPPzBDOOPPcPXPzBvBjB3BOhDmBBpB7DoDYxB+EiBP1DoExBkBQhBekBPmBgBhBctBiBMWOOXhCsBpBkBUV3Ba4BkB0DlCgBXgBtD4FSdBfPhBPpKP0BvBXjEQ2CGsT8DhBtCqDpFvD1D3E0IrD2EkBJrBDOBsB+BPiBlB1EIjDPPPPPPPPPPPGPPMNLsBNPNPKCvBvBPPCkDPBmBPhDXXgD4B6FzEgDguG9vUtkB9JcuBSckEP/BPPPPPPBPf4FrBjEhBpC3B5BKaWPrBOwCk/KsCuLqDHPbPxPsFtEaaqDL';
|
|
1968
|
-
this.
|
|
2065
|
+
this.y2_1 = decodeVarLenBase64(rangeLength, fromBase64, 222);
|
|
1969
2066
|
var rangeCategory = 'GFjgggUHGGFFZZZmzpz5qB6s6020B60ptltB6smt2sB60mz22B1+vv+8BZZ5s2850BW5q1ymtB506smzBF3q1q1qB1q1q1+Bgii4wDTm74g3KiggxqM60q1q1Bq1o1q1BF1qlrqrBZ2q5wprBGFZWWZGHFsjiooLowgmOowjkwCkgoiIk7ligGogiioBkwkiYkzj2oNoi+sbkwj04DghhkQ8wgiYkgoioDsgnkwC4gikQ//v+85BkwvoIsgoyI4yguI0whiwEowri4CoghsJowgqYowgm4DkwgsY/nwnzPowhmYkg6wI8yggZswikwHgxgmIoxgqYkwgk4DkxgmIkgoioBsgssoBgzgyI8g9gL8g9kI0wgwJoxgkoC0wgioFkw/wI0w53iF4gioYowjmgBHGq1qkgwBF1q1q8qBHwghuIwghyKk0goQkwgoQk3goQHGFHkyg0pBgxj6IoinkxDswno7Ikwhz9Bo0gioB8z48Rwli0xN0mpjoX8w78pDwltoqKHFGGwwgsIHFH3q1q16BFHWFZ1q10q1B2qlwq1B1q10q1B2q1yq1B6q1gq1Biq1qhxBir1qp1Bqt1q1qB1g1q1+B//3q16B///q1qBH/qlqq9Bholqq9B1i00a1q10qD1op1HkwmigEigiy6Cptogq1Bixo1kDq7/j00B2qgoBWGFm1lz50B6s5q1+BGWhggzhwBFFhgk4//Bo2jigE8wguI8wguI8wgugUog1qoB4qjmIwwi2KgkYHHH4lBgiFWkgIWoghssMmz5smrBZ3q1y50B5sm7gzBtz1smzB5smz50BqzqtmzB5sgzqzBF2/9//5BowgoIwmnkzPkwgk4C8ys65BkgoqI0wgy6FghquZo2giY0ghiIsgh24B4ghsQ8QF/v1q1OFs0O8iCHHF1qggz/B8wg6Iznv+//B08QgohsjK0QGFk7hsQ4gB';
|
|
1970
|
-
this.
|
|
2067
|
+
this.z2_1 = decodeVarLenBase64(rangeCategory, fromBase64, 222);
|
|
1971
2068
|
}
|
|
1972
2069
|
var Letter_instance;
|
|
1973
2070
|
function Letter_getInstance() {
|
|
@@ -1980,6 +2077,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1980
2077
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
1981
2078
|
return (9 <= ch ? ch <= 13 : false) || (28 <= ch ? ch <= 32 : false) || ch === 160 || (ch > 4096 && (ch === 5760 || (8192 <= ch ? ch <= 8202 : false) || ch === 8232 || ch === 8233 || ch === 8239 || ch === 8287 || ch === 12288));
|
|
1982
2079
|
}
|
|
2080
|
+
function Comparator() {
|
|
2081
|
+
}
|
|
1983
2082
|
function isNaN_0(_this__u8e3s4) {
|
|
1984
2083
|
return !(_this__u8e3s4 === _this__u8e3s4);
|
|
1985
2084
|
}
|
|
@@ -2001,13 +2100,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2001
2100
|
// Inline function 'kotlin.UInt.toLong' call
|
|
2002
2101
|
// Inline function 'kotlin.uintToLong' call
|
|
2003
2102
|
var value = _UInt___get_data__impl__f0vqqw(v1);
|
|
2004
|
-
var tmp = toLong(value).
|
|
2103
|
+
var tmp = toLong(value).n2(new Long(-1, 0));
|
|
2005
2104
|
// Inline function 'kotlin.UInt.toLong' call
|
|
2006
2105
|
// Inline function 'kotlin.uintToLong' call
|
|
2007
2106
|
var value_0 = _UInt___get_data__impl__f0vqqw(v2);
|
|
2008
|
-
var tmp$ret$3 = toLong(value_0).
|
|
2009
|
-
var this_0 = tmp.
|
|
2010
|
-
return _UInt___init__impl__l7qpdl(this_0.
|
|
2107
|
+
var tmp$ret$3 = toLong(value_0).n2(new Long(-1, 0));
|
|
2108
|
+
var this_0 = tmp.j2(tmp$ret$3);
|
|
2109
|
+
return _UInt___init__impl__l7qpdl(this_0.p2());
|
|
2011
2110
|
}
|
|
2012
2111
|
function collectionToArray(collection) {
|
|
2013
2112
|
return collectionToArrayCommonImpl(collection);
|
|
@@ -2036,9 +2135,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2036
2135
|
return tmp;
|
|
2037
2136
|
}
|
|
2038
2137
|
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
2039
|
-
Companion_instance_5.
|
|
2138
|
+
Companion_instance_5.v2(startIndex, endIndex, source.length);
|
|
2040
2139
|
var rangeSize = endIndex - startIndex | 0;
|
|
2041
|
-
Companion_instance_5.
|
|
2140
|
+
Companion_instance_5.v2(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
|
|
2042
2141
|
if (isView(destination) && isView(source)) {
|
|
2043
2142
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2044
2143
|
var subrange = source.subarray(startIndex, endIndex);
|
|
@@ -2066,76 +2165,93 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2066
2165
|
}
|
|
2067
2166
|
}
|
|
2068
2167
|
}
|
|
2168
|
+
function checkIndexOverflow(index) {
|
|
2169
|
+
if (index < 0) {
|
|
2170
|
+
throwIndexOverflow();
|
|
2171
|
+
}
|
|
2172
|
+
return index;
|
|
2173
|
+
}
|
|
2069
2174
|
function AbstractMutableCollection() {
|
|
2070
2175
|
AbstractCollection.call(this);
|
|
2071
2176
|
}
|
|
2177
|
+
protoOf(AbstractMutableCollection).a3 = function (elements) {
|
|
2178
|
+
this.b3();
|
|
2179
|
+
var modified = false;
|
|
2180
|
+
var tmp0_iterator = elements.g();
|
|
2181
|
+
while (tmp0_iterator.h()) {
|
|
2182
|
+
var element = tmp0_iterator.i();
|
|
2183
|
+
if (this.d(element))
|
|
2184
|
+
modified = true;
|
|
2185
|
+
}
|
|
2186
|
+
return modified;
|
|
2187
|
+
};
|
|
2072
2188
|
protoOf(AbstractMutableCollection).toJSON = function () {
|
|
2073
2189
|
return this.toArray();
|
|
2074
2190
|
};
|
|
2075
|
-
protoOf(AbstractMutableCollection).
|
|
2191
|
+
protoOf(AbstractMutableCollection).b3 = function () {
|
|
2076
2192
|
};
|
|
2077
2193
|
function IteratorImpl($outer) {
|
|
2078
|
-
this.
|
|
2079
|
-
this.
|
|
2080
|
-
this.
|
|
2194
|
+
this.e3_1 = $outer;
|
|
2195
|
+
this.c3_1 = 0;
|
|
2196
|
+
this.d3_1 = -1;
|
|
2081
2197
|
}
|
|
2082
|
-
protoOf(IteratorImpl).g = function () {
|
|
2083
|
-
return this.w2_1 < this.y2_1.i();
|
|
2084
|
-
};
|
|
2085
2198
|
protoOf(IteratorImpl).h = function () {
|
|
2086
|
-
|
|
2199
|
+
return this.c3_1 < this.e3_1.j();
|
|
2200
|
+
};
|
|
2201
|
+
protoOf(IteratorImpl).i = function () {
|
|
2202
|
+
if (!this.h())
|
|
2087
2203
|
throw NoSuchElementException_init_$Create$();
|
|
2088
2204
|
var tmp = this;
|
|
2089
|
-
var tmp1 = this.
|
|
2090
|
-
this.
|
|
2091
|
-
tmp.
|
|
2092
|
-
return this.
|
|
2205
|
+
var tmp1 = this.c3_1;
|
|
2206
|
+
this.c3_1 = tmp1 + 1 | 0;
|
|
2207
|
+
tmp.d3_1 = tmp1;
|
|
2208
|
+
return this.e3_1.k(this.d3_1);
|
|
2093
2209
|
};
|
|
2094
|
-
protoOf(IteratorImpl).
|
|
2210
|
+
protoOf(IteratorImpl).f3 = function () {
|
|
2095
2211
|
// Inline function 'kotlin.check' call
|
|
2096
2212
|
// Inline function 'kotlin.contracts.contract' call
|
|
2097
|
-
if (!!(this.
|
|
2213
|
+
if (!!(this.d3_1 === -1)) {
|
|
2098
2214
|
// Inline function 'kotlin.collections.IteratorImpl.remove.<anonymous>' call
|
|
2099
2215
|
var message = 'Call next() or previous() before removing element from the iterator.';
|
|
2100
2216
|
throw IllegalStateException_init_$Create$_0(toString_1(message));
|
|
2101
2217
|
}
|
|
2102
|
-
this.
|
|
2103
|
-
this.
|
|
2104
|
-
this.
|
|
2218
|
+
this.e3_1.h3(this.d3_1);
|
|
2219
|
+
this.c3_1 = this.d3_1;
|
|
2220
|
+
this.d3_1 = -1;
|
|
2105
2221
|
};
|
|
2106
2222
|
function ListIteratorImpl($outer, index) {
|
|
2107
|
-
this.
|
|
2223
|
+
this.l3_1 = $outer;
|
|
2108
2224
|
IteratorImpl.call(this, $outer);
|
|
2109
|
-
Companion_instance_5.
|
|
2110
|
-
this.
|
|
2225
|
+
Companion_instance_5.m3(index, this.l3_1.j());
|
|
2226
|
+
this.c3_1 = index;
|
|
2111
2227
|
}
|
|
2112
2228
|
function AbstractMutableList() {
|
|
2113
2229
|
AbstractMutableCollection.call(this);
|
|
2114
|
-
this.
|
|
2230
|
+
this.g3_1 = 0;
|
|
2115
2231
|
}
|
|
2116
2232
|
protoOf(AbstractMutableList).d = function (element) {
|
|
2117
|
-
this.
|
|
2118
|
-
this.
|
|
2233
|
+
this.b3();
|
|
2234
|
+
this.n3(this.j(), element);
|
|
2119
2235
|
return true;
|
|
2120
2236
|
};
|
|
2121
|
-
protoOf(AbstractMutableList).
|
|
2122
|
-
this.
|
|
2123
|
-
this.
|
|
2237
|
+
protoOf(AbstractMutableList).o3 = function () {
|
|
2238
|
+
this.b3();
|
|
2239
|
+
this.p3(0, this.j());
|
|
2124
2240
|
};
|
|
2125
|
-
protoOf(AbstractMutableList).
|
|
2241
|
+
protoOf(AbstractMutableList).g = function () {
|
|
2126
2242
|
return new IteratorImpl(this);
|
|
2127
2243
|
};
|
|
2128
|
-
protoOf(AbstractMutableList).k1 = function (element) {
|
|
2129
|
-
return this.m1(element) >= 0;
|
|
2130
|
-
};
|
|
2131
2244
|
protoOf(AbstractMutableList).m1 = function (element) {
|
|
2245
|
+
return this.o1(element) >= 0;
|
|
2246
|
+
};
|
|
2247
|
+
protoOf(AbstractMutableList).o1 = function (element) {
|
|
2132
2248
|
var tmp$ret$1;
|
|
2133
2249
|
$l$block: {
|
|
2134
2250
|
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
2135
2251
|
var index = 0;
|
|
2136
|
-
var tmp0_iterator = this.
|
|
2137
|
-
while (tmp0_iterator.
|
|
2138
|
-
var item = tmp0_iterator.
|
|
2252
|
+
var tmp0_iterator = this.g();
|
|
2253
|
+
while (tmp0_iterator.h()) {
|
|
2254
|
+
var item = tmp0_iterator.i();
|
|
2139
2255
|
// Inline function 'kotlin.collections.AbstractMutableList.indexOf.<anonymous>' call
|
|
2140
2256
|
if (equals(item, element)) {
|
|
2141
2257
|
tmp$ret$1 = index;
|
|
@@ -2147,11 +2263,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2147
2263
|
}
|
|
2148
2264
|
return tmp$ret$1;
|
|
2149
2265
|
};
|
|
2150
|
-
protoOf(AbstractMutableList).
|
|
2266
|
+
protoOf(AbstractMutableList).q3 = function (index) {
|
|
2151
2267
|
return new ListIteratorImpl(this, index);
|
|
2152
2268
|
};
|
|
2153
|
-
protoOf(AbstractMutableList).
|
|
2154
|
-
var iterator = this.
|
|
2269
|
+
protoOf(AbstractMutableList).p3 = function (fromIndex, toIndex) {
|
|
2270
|
+
var iterator = this.q3(fromIndex);
|
|
2155
2271
|
// Inline function 'kotlin.repeat' call
|
|
2156
2272
|
var times = toIndex - fromIndex | 0;
|
|
2157
2273
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2161,8 +2277,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2161
2277
|
var index = inductionVariable;
|
|
2162
2278
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2163
2279
|
// Inline function 'kotlin.collections.AbstractMutableList.removeRange.<anonymous>' call
|
|
2164
|
-
iterator.
|
|
2165
|
-
iterator.
|
|
2280
|
+
iterator.i();
|
|
2281
|
+
iterator.f3();
|
|
2166
2282
|
}
|
|
2167
2283
|
while (inductionVariable < times);
|
|
2168
2284
|
};
|
|
@@ -2171,11 +2287,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2171
2287
|
return true;
|
|
2172
2288
|
if (!(!(other == null) ? isInterface(other, KtList) : false))
|
|
2173
2289
|
return false;
|
|
2174
|
-
return Companion_instance_5.
|
|
2290
|
+
return Companion_instance_5.r3(this, other);
|
|
2175
2291
|
};
|
|
2176
2292
|
protoOf(AbstractMutableList).hashCode = function () {
|
|
2177
|
-
return Companion_instance_5.
|
|
2293
|
+
return Companion_instance_5.s3(this);
|
|
2178
2294
|
};
|
|
2295
|
+
function AbstractMutableMap() {
|
|
2296
|
+
AbstractMap.call(this);
|
|
2297
|
+
this.v3_1 = null;
|
|
2298
|
+
this.w3_1 = null;
|
|
2299
|
+
}
|
|
2179
2300
|
function AbstractMutableSet() {
|
|
2180
2301
|
AbstractMutableCollection.call(this);
|
|
2181
2302
|
}
|
|
@@ -2184,10 +2305,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2184
2305
|
return true;
|
|
2185
2306
|
if (!(!(other == null) ? isInterface(other, KtSet) : false))
|
|
2186
2307
|
return false;
|
|
2187
|
-
return
|
|
2308
|
+
return Companion_instance_7.b4(this, other);
|
|
2188
2309
|
};
|
|
2189
2310
|
protoOf(AbstractMutableSet).hashCode = function () {
|
|
2190
|
-
return
|
|
2311
|
+
return Companion_instance_7.c4(this);
|
|
2191
2312
|
};
|
|
2192
2313
|
function arrayOfUninitializedElements(capacity) {
|
|
2193
2314
|
// Inline function 'kotlin.require' call
|
|
@@ -2219,8 +2340,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2219
2340
|
var this_0 = ArrayList_init_$Create$_0(0);
|
|
2220
2341
|
// Inline function 'kotlin.contracts.contract' call
|
|
2221
2342
|
// Inline function 'kotlin.collections.Companion.Empty.<anonymous>' call
|
|
2222
|
-
this_0.
|
|
2223
|
-
tmp.
|
|
2343
|
+
this_0.t_1 = true;
|
|
2344
|
+
tmp.d4_1 = this_0;
|
|
2224
2345
|
}
|
|
2225
2346
|
var Companion_instance_2;
|
|
2226
2347
|
function Companion_getInstance_2() {
|
|
@@ -2262,93 +2383,208 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2262
2383
|
function ArrayList_init_$Create$_1(elements) {
|
|
2263
2384
|
return ArrayList_init_$Init$_1(elements, objectCreate(protoOf(ArrayList)));
|
|
2264
2385
|
}
|
|
2386
|
+
function increaseLength($this, amount) {
|
|
2387
|
+
var previous = $this.j();
|
|
2388
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2389
|
+
$this.s_1.length = $this.j() + amount | 0;
|
|
2390
|
+
return previous;
|
|
2391
|
+
}
|
|
2265
2392
|
function rangeCheck($this, index) {
|
|
2266
2393
|
// Inline function 'kotlin.apply' call
|
|
2267
2394
|
// Inline function 'kotlin.contracts.contract' call
|
|
2268
2395
|
// Inline function 'kotlin.collections.ArrayList.rangeCheck.<anonymous>' call
|
|
2269
|
-
Companion_instance_5.
|
|
2396
|
+
Companion_instance_5.e4(index, $this.j());
|
|
2270
2397
|
return index;
|
|
2271
2398
|
}
|
|
2272
2399
|
function insertionRangeCheck($this, index) {
|
|
2273
2400
|
// Inline function 'kotlin.apply' call
|
|
2274
2401
|
// Inline function 'kotlin.contracts.contract' call
|
|
2275
2402
|
// Inline function 'kotlin.collections.ArrayList.insertionRangeCheck.<anonymous>' call
|
|
2276
|
-
Companion_instance_5.
|
|
2403
|
+
Companion_instance_5.m3(index, $this.j());
|
|
2277
2404
|
return index;
|
|
2278
2405
|
}
|
|
2279
2406
|
function ArrayList(array) {
|
|
2280
2407
|
Companion_getInstance_2();
|
|
2281
2408
|
AbstractMutableList.call(this);
|
|
2282
|
-
this.
|
|
2283
|
-
this.
|
|
2409
|
+
this.s_1 = array;
|
|
2410
|
+
this.t_1 = false;
|
|
2284
2411
|
}
|
|
2285
|
-
protoOf(ArrayList).
|
|
2286
|
-
return this.
|
|
2412
|
+
protoOf(ArrayList).j = function () {
|
|
2413
|
+
return this.s_1.length;
|
|
2287
2414
|
};
|
|
2288
|
-
protoOf(ArrayList).
|
|
2289
|
-
var tmp = this.
|
|
2415
|
+
protoOf(ArrayList).k = function (index) {
|
|
2416
|
+
var tmp = this.s_1[rangeCheck(this, index)];
|
|
2290
2417
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
2291
2418
|
};
|
|
2292
2419
|
protoOf(ArrayList).d = function (element) {
|
|
2293
|
-
this.
|
|
2420
|
+
this.b3();
|
|
2294
2421
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2295
|
-
this.
|
|
2296
|
-
this.
|
|
2422
|
+
this.s_1.push(element);
|
|
2423
|
+
this.g3_1 = this.g3_1 + 1 | 0;
|
|
2297
2424
|
return true;
|
|
2298
2425
|
};
|
|
2299
|
-
protoOf(ArrayList).
|
|
2300
|
-
this.
|
|
2426
|
+
protoOf(ArrayList).n3 = function (index, element) {
|
|
2427
|
+
this.b3();
|
|
2301
2428
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2302
|
-
this.
|
|
2303
|
-
this.
|
|
2429
|
+
this.s_1.splice(insertionRangeCheck(this, index), 0, element);
|
|
2430
|
+
this.g3_1 = this.g3_1 + 1 | 0;
|
|
2304
2431
|
};
|
|
2305
|
-
protoOf(ArrayList).
|
|
2306
|
-
this.
|
|
2432
|
+
protoOf(ArrayList).a3 = function (elements) {
|
|
2433
|
+
this.b3();
|
|
2434
|
+
if (elements.y())
|
|
2435
|
+
return false;
|
|
2436
|
+
var offset = increaseLength(this, elements.j());
|
|
2437
|
+
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
2438
|
+
var index = 0;
|
|
2439
|
+
var tmp0_iterator = elements.g();
|
|
2440
|
+
while (tmp0_iterator.h()) {
|
|
2441
|
+
var item = tmp0_iterator.i();
|
|
2442
|
+
// Inline function 'kotlin.collections.ArrayList.addAll.<anonymous>' call
|
|
2443
|
+
var tmp1 = index;
|
|
2444
|
+
index = tmp1 + 1 | 0;
|
|
2445
|
+
var index_0 = checkIndexOverflow(tmp1);
|
|
2446
|
+
this.s_1[offset + index_0 | 0] = item;
|
|
2447
|
+
}
|
|
2448
|
+
this.g3_1 = this.g3_1 + 1 | 0;
|
|
2449
|
+
return true;
|
|
2450
|
+
};
|
|
2451
|
+
protoOf(ArrayList).h3 = function (index) {
|
|
2452
|
+
this.b3();
|
|
2307
2453
|
rangeCheck(this, index);
|
|
2308
|
-
this.
|
|
2454
|
+
this.g3_1 = this.g3_1 + 1 | 0;
|
|
2309
2455
|
var tmp;
|
|
2310
2456
|
if (index === get_lastIndex(this)) {
|
|
2311
2457
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2312
|
-
tmp = this.
|
|
2458
|
+
tmp = this.s_1.pop();
|
|
2313
2459
|
} else {
|
|
2314
2460
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2315
|
-
tmp = this.
|
|
2461
|
+
tmp = this.s_1.splice(index, 1)[0];
|
|
2316
2462
|
}
|
|
2317
2463
|
return tmp;
|
|
2318
2464
|
};
|
|
2319
|
-
protoOf(ArrayList).
|
|
2320
|
-
this.
|
|
2321
|
-
this.
|
|
2465
|
+
protoOf(ArrayList).p3 = function (fromIndex, toIndex) {
|
|
2466
|
+
this.b3();
|
|
2467
|
+
this.g3_1 = this.g3_1 + 1 | 0;
|
|
2322
2468
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2323
|
-
this.
|
|
2469
|
+
this.s_1.splice(fromIndex, toIndex - fromIndex | 0);
|
|
2324
2470
|
};
|
|
2325
|
-
protoOf(ArrayList).
|
|
2326
|
-
this.
|
|
2471
|
+
protoOf(ArrayList).o3 = function () {
|
|
2472
|
+
this.b3();
|
|
2327
2473
|
var tmp = this;
|
|
2328
2474
|
// Inline function 'kotlin.emptyArray' call
|
|
2329
|
-
tmp.
|
|
2330
|
-
this.
|
|
2475
|
+
tmp.s_1 = [];
|
|
2476
|
+
this.g3_1 = this.g3_1 + 1 | 0;
|
|
2331
2477
|
};
|
|
2332
|
-
protoOf(ArrayList).
|
|
2333
|
-
return indexOf_0(this.
|
|
2478
|
+
protoOf(ArrayList).o1 = function (element) {
|
|
2479
|
+
return indexOf_0(this.s_1, element);
|
|
2334
2480
|
};
|
|
2335
2481
|
protoOf(ArrayList).toString = function () {
|
|
2336
|
-
return arrayToString(this.
|
|
2482
|
+
return arrayToString(this.s_1);
|
|
2337
2483
|
};
|
|
2338
|
-
protoOf(ArrayList).
|
|
2339
|
-
return [].slice.call(this.
|
|
2484
|
+
protoOf(ArrayList).f4 = function () {
|
|
2485
|
+
return [].slice.call(this.s_1);
|
|
2340
2486
|
};
|
|
2341
2487
|
protoOf(ArrayList).toArray = function () {
|
|
2342
|
-
return this.
|
|
2488
|
+
return this.f4();
|
|
2343
2489
|
};
|
|
2344
|
-
protoOf(ArrayList).
|
|
2345
|
-
if (this.
|
|
2490
|
+
protoOf(ArrayList).b3 = function () {
|
|
2491
|
+
if (this.t_1)
|
|
2346
2492
|
throw UnsupportedOperationException_init_$Create$();
|
|
2347
2493
|
};
|
|
2494
|
+
function HashMap_init_$Init$(internalMap, $this) {
|
|
2495
|
+
AbstractMutableMap.call($this);
|
|
2496
|
+
HashMap.call($this);
|
|
2497
|
+
$this.k4_1 = internalMap;
|
|
2498
|
+
return $this;
|
|
2499
|
+
}
|
|
2500
|
+
function HashMap_init_$Init$_0($this) {
|
|
2501
|
+
HashMap_init_$Init$(InternalHashMap_init_$Create$(), $this);
|
|
2502
|
+
return $this;
|
|
2503
|
+
}
|
|
2504
|
+
function HashMap_init_$Create$() {
|
|
2505
|
+
return HashMap_init_$Init$_0(objectCreate(protoOf(HashMap)));
|
|
2506
|
+
}
|
|
2507
|
+
function HashMap_init_$Init$_1(initialCapacity, loadFactor, $this) {
|
|
2508
|
+
HashMap_init_$Init$(InternalHashMap_init_$Create$_0(initialCapacity, loadFactor), $this);
|
|
2509
|
+
return $this;
|
|
2510
|
+
}
|
|
2511
|
+
function HashMap_init_$Init$_2(initialCapacity, $this) {
|
|
2512
|
+
HashMap_init_$Init$_1(initialCapacity, 1.0, $this);
|
|
2513
|
+
return $this;
|
|
2514
|
+
}
|
|
2515
|
+
protoOf(HashMap).r1 = function (key) {
|
|
2516
|
+
return this.k4_1.m4(key);
|
|
2517
|
+
};
|
|
2518
|
+
protoOf(HashMap).t1 = function () {
|
|
2519
|
+
var tmp0_elvis_lhs = this.l4_1;
|
|
2520
|
+
var tmp;
|
|
2521
|
+
if (tmp0_elvis_lhs == null) {
|
|
2522
|
+
// Inline function 'kotlin.also' call
|
|
2523
|
+
var this_0 = new HashMapEntrySet(this.k4_1);
|
|
2524
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2525
|
+
// Inline function 'kotlin.collections.HashMap.<get-entries>.<anonymous>' call
|
|
2526
|
+
this.l4_1 = this_0;
|
|
2527
|
+
tmp = this_0;
|
|
2528
|
+
} else {
|
|
2529
|
+
tmp = tmp0_elvis_lhs;
|
|
2530
|
+
}
|
|
2531
|
+
return tmp;
|
|
2532
|
+
};
|
|
2533
|
+
protoOf(HashMap).s1 = function (key) {
|
|
2534
|
+
return this.k4_1.s1(key);
|
|
2535
|
+
};
|
|
2536
|
+
protoOf(HashMap).x3 = function (key, value) {
|
|
2537
|
+
return this.k4_1.x3(key, value);
|
|
2538
|
+
};
|
|
2539
|
+
protoOf(HashMap).j = function () {
|
|
2540
|
+
return this.k4_1.j();
|
|
2541
|
+
};
|
|
2542
|
+
function HashMap() {
|
|
2543
|
+
this.l4_1 = null;
|
|
2544
|
+
}
|
|
2545
|
+
function HashMapEntrySet(backing) {
|
|
2546
|
+
HashMapEntrySetBase.call(this, backing);
|
|
2547
|
+
}
|
|
2548
|
+
protoOf(HashMapEntrySet).g = function () {
|
|
2549
|
+
return this.o4_1.p4();
|
|
2550
|
+
};
|
|
2551
|
+
function HashMapEntrySetBase(backing) {
|
|
2552
|
+
AbstractMutableSet.call(this);
|
|
2553
|
+
this.o4_1 = backing;
|
|
2554
|
+
}
|
|
2555
|
+
protoOf(HashMapEntrySetBase).j = function () {
|
|
2556
|
+
return this.o4_1.j();
|
|
2557
|
+
};
|
|
2558
|
+
protoOf(HashMapEntrySetBase).y = function () {
|
|
2559
|
+
return this.o4_1.j() === 0;
|
|
2560
|
+
};
|
|
2561
|
+
protoOf(HashMapEntrySetBase).q4 = function (element) {
|
|
2562
|
+
return this.o4_1.s4(element);
|
|
2563
|
+
};
|
|
2564
|
+
protoOf(HashMapEntrySetBase).m1 = function (element) {
|
|
2565
|
+
if (!(!(element == null) ? isInterface(element, Entry) : false))
|
|
2566
|
+
return false;
|
|
2567
|
+
return this.q4((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
|
|
2568
|
+
};
|
|
2569
|
+
protoOf(HashMapEntrySetBase).r4 = function (element) {
|
|
2570
|
+
throw UnsupportedOperationException_init_$Create$();
|
|
2571
|
+
};
|
|
2572
|
+
protoOf(HashMapEntrySetBase).d = function (element) {
|
|
2573
|
+
return this.r4((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
|
|
2574
|
+
};
|
|
2575
|
+
protoOf(HashMapEntrySetBase).a3 = function (elements) {
|
|
2576
|
+
throw UnsupportedOperationException_init_$Create$();
|
|
2577
|
+
};
|
|
2578
|
+
protoOf(HashMapEntrySetBase).n1 = function (elements) {
|
|
2579
|
+
return this.o4_1.t4(elements);
|
|
2580
|
+
};
|
|
2581
|
+
protoOf(HashMapEntrySetBase).b3 = function () {
|
|
2582
|
+
return this.o4_1.u4();
|
|
2583
|
+
};
|
|
2348
2584
|
function HashSet_init_$Init$(map, $this) {
|
|
2349
2585
|
AbstractMutableSet.call($this);
|
|
2350
2586
|
HashSet.call($this);
|
|
2351
|
-
$this.
|
|
2587
|
+
$this.v4_1 = map;
|
|
2352
2588
|
return $this;
|
|
2353
2589
|
}
|
|
2354
2590
|
function HashSet_init_$Init$_0($this) {
|
|
@@ -2370,19 +2606,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2370
2606
|
return HashSet_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
2371
2607
|
}
|
|
2372
2608
|
protoOf(HashSet).d = function (element) {
|
|
2373
|
-
return this.
|
|
2609
|
+
return this.v4_1.x3(element, true) == null;
|
|
2374
2610
|
};
|
|
2375
|
-
protoOf(HashSet).
|
|
2376
|
-
return this.
|
|
2611
|
+
protoOf(HashSet).m1 = function (element) {
|
|
2612
|
+
return this.v4_1.m4(element);
|
|
2377
2613
|
};
|
|
2378
|
-
protoOf(HashSet).
|
|
2379
|
-
return this.
|
|
2614
|
+
protoOf(HashSet).y = function () {
|
|
2615
|
+
return this.v4_1.j() === 0;
|
|
2380
2616
|
};
|
|
2381
|
-
protoOf(HashSet).
|
|
2382
|
-
return this.
|
|
2617
|
+
protoOf(HashSet).g = function () {
|
|
2618
|
+
return this.v4_1.w4();
|
|
2383
2619
|
};
|
|
2384
|
-
protoOf(HashSet).
|
|
2385
|
-
return this.
|
|
2620
|
+
protoOf(HashSet).j = function () {
|
|
2621
|
+
return this.v4_1.j();
|
|
2386
2622
|
};
|
|
2387
2623
|
function HashSet() {
|
|
2388
2624
|
}
|
|
@@ -2419,36 +2655,36 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2419
2655
|
return InternalHashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap)));
|
|
2420
2656
|
}
|
|
2421
2657
|
function _get_capacity__a9k9f3($this) {
|
|
2422
|
-
return $this.
|
|
2658
|
+
return $this.x4_1.length;
|
|
2423
2659
|
}
|
|
2424
2660
|
function _get_hashSize__tftcho($this) {
|
|
2425
|
-
return $this.
|
|
2661
|
+
return $this.a5_1.length;
|
|
2426
2662
|
}
|
|
2427
2663
|
function registerModification($this) {
|
|
2428
|
-
$this.
|
|
2664
|
+
$this.e5_1 = $this.e5_1 + 1 | 0;
|
|
2429
2665
|
}
|
|
2430
2666
|
function ensureExtraCapacity($this, n) {
|
|
2431
2667
|
if (shouldCompact($this, n)) {
|
|
2432
|
-
|
|
2668
|
+
compact($this, true);
|
|
2433
2669
|
} else {
|
|
2434
|
-
ensureCapacity($this, $this.
|
|
2670
|
+
ensureCapacity($this, $this.c5_1 + n | 0);
|
|
2435
2671
|
}
|
|
2436
2672
|
}
|
|
2437
2673
|
function shouldCompact($this, extraCapacity) {
|
|
2438
|
-
var spareCapacity = _get_capacity__a9k9f3($this) - $this.
|
|
2439
|
-
var gaps = $this.
|
|
2674
|
+
var spareCapacity = _get_capacity__a9k9f3($this) - $this.c5_1 | 0;
|
|
2675
|
+
var gaps = $this.c5_1 - $this.j() | 0;
|
|
2440
2676
|
return spareCapacity < extraCapacity && (gaps + spareCapacity | 0) >= extraCapacity && gaps >= (_get_capacity__a9k9f3($this) / 4 | 0);
|
|
2441
2677
|
}
|
|
2442
2678
|
function ensureCapacity($this, minCapacity) {
|
|
2443
2679
|
if (minCapacity < 0)
|
|
2444
2680
|
throw RuntimeException_init_$Create$_0('too many elements');
|
|
2445
2681
|
if (minCapacity > _get_capacity__a9k9f3($this)) {
|
|
2446
|
-
var newSize = Companion_instance_5.
|
|
2447
|
-
$this.
|
|
2682
|
+
var newSize = Companion_instance_5.h5(_get_capacity__a9k9f3($this), minCapacity);
|
|
2683
|
+
$this.x4_1 = copyOfUninitializedElements($this.x4_1, newSize);
|
|
2448
2684
|
var tmp = $this;
|
|
2449
|
-
var tmp0_safe_receiver = $this.
|
|
2450
|
-
tmp.
|
|
2451
|
-
$this.
|
|
2685
|
+
var tmp0_safe_receiver = $this.y4_1;
|
|
2686
|
+
tmp.y4_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
|
|
2687
|
+
$this.z4_1 = copyOf($this.z4_1, newSize);
|
|
2452
2688
|
var newHashSize = computeHashSize(Companion_instance_3, newSize);
|
|
2453
2689
|
if (newHashSize > _get_hashSize__tftcho($this)) {
|
|
2454
2690
|
rehash($this, newHashSize);
|
|
@@ -2456,51 +2692,52 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2456
2692
|
}
|
|
2457
2693
|
}
|
|
2458
2694
|
function allocateValuesArray($this) {
|
|
2459
|
-
var curValuesArray = $this.
|
|
2695
|
+
var curValuesArray = $this.y4_1;
|
|
2460
2696
|
if (!(curValuesArray == null))
|
|
2461
2697
|
return curValuesArray;
|
|
2462
2698
|
var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
|
|
2463
|
-
$this.
|
|
2699
|
+
$this.y4_1 = newValuesArray;
|
|
2464
2700
|
return newValuesArray;
|
|
2465
2701
|
}
|
|
2466
2702
|
function hash($this, key) {
|
|
2467
|
-
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.
|
|
2703
|
+
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.d5_1 | 0;
|
|
2468
2704
|
}
|
|
2469
|
-
function compact($this) {
|
|
2705
|
+
function compact($this, updateHashArray) {
|
|
2470
2706
|
var i = 0;
|
|
2471
2707
|
var j = 0;
|
|
2472
|
-
var valuesArray = $this.
|
|
2473
|
-
while (i < $this.
|
|
2474
|
-
|
|
2475
|
-
|
|
2708
|
+
var valuesArray = $this.y4_1;
|
|
2709
|
+
while (i < $this.c5_1) {
|
|
2710
|
+
var hash = $this.z4_1[i];
|
|
2711
|
+
if (hash >= 0) {
|
|
2712
|
+
$this.x4_1[j] = $this.x4_1[i];
|
|
2476
2713
|
if (!(valuesArray == null)) {
|
|
2477
2714
|
valuesArray[j] = valuesArray[i];
|
|
2478
2715
|
}
|
|
2716
|
+
if (updateHashArray) {
|
|
2717
|
+
$this.z4_1[j] = hash;
|
|
2718
|
+
$this.a5_1[hash] = j + 1 | 0;
|
|
2719
|
+
}
|
|
2479
2720
|
j = j + 1 | 0;
|
|
2480
2721
|
}
|
|
2481
2722
|
i = i + 1 | 0;
|
|
2482
2723
|
}
|
|
2483
|
-
resetRange($this.
|
|
2724
|
+
resetRange($this.x4_1, j, $this.c5_1);
|
|
2484
2725
|
if (valuesArray == null)
|
|
2485
2726
|
null;
|
|
2486
2727
|
else {
|
|
2487
|
-
resetRange(valuesArray, j, $this.
|
|
2728
|
+
resetRange(valuesArray, j, $this.c5_1);
|
|
2488
2729
|
}
|
|
2489
|
-
$this.
|
|
2730
|
+
$this.c5_1 = j;
|
|
2490
2731
|
}
|
|
2491
2732
|
function rehash($this, newHashSize) {
|
|
2492
2733
|
registerModification($this);
|
|
2493
|
-
if ($this.
|
|
2494
|
-
compact($this);
|
|
2495
|
-
}
|
|
2496
|
-
if (!(newHashSize === _get_hashSize__tftcho($this))) {
|
|
2497
|
-
$this.z3_1 = new Int32Array(newHashSize);
|
|
2498
|
-
$this.c4_1 = computeShift(Companion_instance_3, newHashSize);
|
|
2499
|
-
} else {
|
|
2500
|
-
fill($this.z3_1, 0, 0, _get_hashSize__tftcho($this));
|
|
2734
|
+
if ($this.c5_1 > $this.f5_1) {
|
|
2735
|
+
compact($this, false);
|
|
2501
2736
|
}
|
|
2737
|
+
$this.a5_1 = new Int32Array(newHashSize);
|
|
2738
|
+
$this.d5_1 = computeShift(Companion_instance_3, newHashSize);
|
|
2502
2739
|
var i = 0;
|
|
2503
|
-
while (i < $this.
|
|
2740
|
+
while (i < $this.c5_1) {
|
|
2504
2741
|
var tmp0 = i;
|
|
2505
2742
|
i = tmp0 + 1 | 0;
|
|
2506
2743
|
if (!putRehash($this, tmp0)) {
|
|
@@ -2509,13 +2746,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2509
2746
|
}
|
|
2510
2747
|
}
|
|
2511
2748
|
function putRehash($this, i) {
|
|
2512
|
-
var hash_0 = hash($this, $this.
|
|
2513
|
-
var probesLeft = $this.
|
|
2749
|
+
var hash_0 = hash($this, $this.x4_1[i]);
|
|
2750
|
+
var probesLeft = $this.b5_1;
|
|
2514
2751
|
while (true) {
|
|
2515
|
-
var index = $this.
|
|
2752
|
+
var index = $this.a5_1[hash_0];
|
|
2516
2753
|
if (index === 0) {
|
|
2517
|
-
$this.
|
|
2518
|
-
$this.
|
|
2754
|
+
$this.a5_1[hash_0] = i + 1 | 0;
|
|
2755
|
+
$this.z4_1[i] = hash_0;
|
|
2519
2756
|
return true;
|
|
2520
2757
|
}
|
|
2521
2758
|
probesLeft = probesLeft - 1 | 0;
|
|
@@ -2529,12 +2766,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2529
2766
|
}
|
|
2530
2767
|
function findKey($this, key) {
|
|
2531
2768
|
var hash_0 = hash($this, key);
|
|
2532
|
-
var probesLeft = $this.
|
|
2769
|
+
var probesLeft = $this.b5_1;
|
|
2533
2770
|
while (true) {
|
|
2534
|
-
var index = $this.
|
|
2771
|
+
var index = $this.a5_1[hash_0];
|
|
2535
2772
|
if (index === 0)
|
|
2536
2773
|
return -1;
|
|
2537
|
-
if (index > 0 && equals($this.
|
|
2774
|
+
if (index > 0 && equals($this.x4_1[index - 1 | 0], key))
|
|
2538
2775
|
return index - 1 | 0;
|
|
2539
2776
|
probesLeft = probesLeft - 1 | 0;
|
|
2540
2777
|
if (probesLeft < 0)
|
|
@@ -2546,31 +2783,31 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2546
2783
|
}
|
|
2547
2784
|
}
|
|
2548
2785
|
function addKey($this, key) {
|
|
2549
|
-
$this.
|
|
2786
|
+
$this.u4();
|
|
2550
2787
|
retry: while (true) {
|
|
2551
2788
|
var hash_0 = hash($this, key);
|
|
2552
|
-
var tentativeMaxProbeDistance = coerceAtMost(imul($this.
|
|
2789
|
+
var tentativeMaxProbeDistance = coerceAtMost(imul($this.b5_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
|
|
2553
2790
|
var probeDistance = 0;
|
|
2554
2791
|
while (true) {
|
|
2555
|
-
var index = $this.
|
|
2792
|
+
var index = $this.a5_1[hash_0];
|
|
2556
2793
|
if (index <= 0) {
|
|
2557
|
-
if ($this.
|
|
2794
|
+
if ($this.c5_1 >= _get_capacity__a9k9f3($this)) {
|
|
2558
2795
|
ensureExtraCapacity($this, 1);
|
|
2559
2796
|
continue retry;
|
|
2560
2797
|
}
|
|
2561
|
-
var tmp1 = $this.
|
|
2562
|
-
$this.
|
|
2798
|
+
var tmp1 = $this.c5_1;
|
|
2799
|
+
$this.c5_1 = tmp1 + 1 | 0;
|
|
2563
2800
|
var putIndex = tmp1;
|
|
2564
|
-
$this.
|
|
2565
|
-
$this.
|
|
2566
|
-
$this.
|
|
2567
|
-
$this.
|
|
2801
|
+
$this.x4_1[putIndex] = key;
|
|
2802
|
+
$this.z4_1[putIndex] = hash_0;
|
|
2803
|
+
$this.a5_1[hash_0] = putIndex + 1 | 0;
|
|
2804
|
+
$this.f5_1 = $this.f5_1 + 1 | 0;
|
|
2568
2805
|
registerModification($this);
|
|
2569
|
-
if (probeDistance > $this.
|
|
2570
|
-
$this.
|
|
2806
|
+
if (probeDistance > $this.b5_1)
|
|
2807
|
+
$this.b5_1 = probeDistance;
|
|
2571
2808
|
return putIndex;
|
|
2572
2809
|
}
|
|
2573
|
-
if (equals($this.
|
|
2810
|
+
if (equals($this.x4_1[index - 1 | 0], key)) {
|
|
2574
2811
|
return -index | 0;
|
|
2575
2812
|
}
|
|
2576
2813
|
probeDistance = probeDistance + 1 | 0;
|
|
@@ -2586,127 +2823,127 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2586
2823
|
}
|
|
2587
2824
|
}
|
|
2588
2825
|
function contentEquals($this, other) {
|
|
2589
|
-
return $this.
|
|
2826
|
+
return $this.f5_1 === other.j() && $this.t4(other.t1());
|
|
2590
2827
|
}
|
|
2591
2828
|
function Companion_3() {
|
|
2592
|
-
this.
|
|
2593
|
-
this.
|
|
2594
|
-
this.
|
|
2595
|
-
this.
|
|
2829
|
+
this.i5_1 = -1640531527;
|
|
2830
|
+
this.j5_1 = 8;
|
|
2831
|
+
this.k5_1 = 2;
|
|
2832
|
+
this.l5_1 = -1;
|
|
2596
2833
|
}
|
|
2597
2834
|
var Companion_instance_3;
|
|
2598
2835
|
function Companion_getInstance_3() {
|
|
2599
2836
|
return Companion_instance_3;
|
|
2600
2837
|
}
|
|
2601
2838
|
function Itr(map) {
|
|
2602
|
-
this.
|
|
2603
|
-
this.
|
|
2604
|
-
this.
|
|
2605
|
-
this.
|
|
2606
|
-
this.
|
|
2839
|
+
this.m5_1 = map;
|
|
2840
|
+
this.n5_1 = 0;
|
|
2841
|
+
this.o5_1 = -1;
|
|
2842
|
+
this.p5_1 = this.m5_1.e5_1;
|
|
2843
|
+
this.q5();
|
|
2607
2844
|
}
|
|
2608
|
-
protoOf(Itr).
|
|
2609
|
-
while (this.
|
|
2610
|
-
this.
|
|
2845
|
+
protoOf(Itr).q5 = function () {
|
|
2846
|
+
while (this.n5_1 < this.m5_1.c5_1 && this.m5_1.z4_1[this.n5_1] < 0) {
|
|
2847
|
+
this.n5_1 = this.n5_1 + 1 | 0;
|
|
2611
2848
|
}
|
|
2612
2849
|
};
|
|
2613
|
-
protoOf(Itr).
|
|
2614
|
-
return this.
|
|
2850
|
+
protoOf(Itr).h = function () {
|
|
2851
|
+
return this.n5_1 < this.m5_1.c5_1;
|
|
2615
2852
|
};
|
|
2616
|
-
protoOf(Itr).
|
|
2617
|
-
if (!(this.
|
|
2853
|
+
protoOf(Itr).r5 = function () {
|
|
2854
|
+
if (!(this.m5_1.e5_1 === this.p5_1))
|
|
2618
2855
|
throw ConcurrentModificationException_init_$Create$();
|
|
2619
2856
|
};
|
|
2620
2857
|
function KeysItr(map) {
|
|
2621
2858
|
Itr.call(this, map);
|
|
2622
2859
|
}
|
|
2623
|
-
protoOf(KeysItr).
|
|
2624
|
-
this.
|
|
2625
|
-
if (this.
|
|
2860
|
+
protoOf(KeysItr).i = function () {
|
|
2861
|
+
this.r5();
|
|
2862
|
+
if (this.n5_1 >= this.m5_1.c5_1)
|
|
2626
2863
|
throw NoSuchElementException_init_$Create$();
|
|
2627
2864
|
var tmp = this;
|
|
2628
|
-
var tmp1 = this.
|
|
2629
|
-
this.
|
|
2630
|
-
tmp.
|
|
2631
|
-
var result = this.
|
|
2632
|
-
this.
|
|
2865
|
+
var tmp1 = this.n5_1;
|
|
2866
|
+
this.n5_1 = tmp1 + 1 | 0;
|
|
2867
|
+
tmp.o5_1 = tmp1;
|
|
2868
|
+
var result = this.m5_1.x4_1[this.o5_1];
|
|
2869
|
+
this.q5();
|
|
2633
2870
|
return result;
|
|
2634
2871
|
};
|
|
2635
2872
|
function EntriesItr(map) {
|
|
2636
2873
|
Itr.call(this, map);
|
|
2637
2874
|
}
|
|
2638
|
-
protoOf(EntriesItr).
|
|
2639
|
-
this.
|
|
2640
|
-
if (this.
|
|
2875
|
+
protoOf(EntriesItr).i = function () {
|
|
2876
|
+
this.r5();
|
|
2877
|
+
if (this.n5_1 >= this.m5_1.c5_1)
|
|
2641
2878
|
throw NoSuchElementException_init_$Create$();
|
|
2642
2879
|
var tmp = this;
|
|
2643
|
-
var tmp1 = this.
|
|
2644
|
-
this.
|
|
2645
|
-
tmp.
|
|
2646
|
-
var result = new EntryRef(this.
|
|
2647
|
-
this.
|
|
2880
|
+
var tmp1 = this.n5_1;
|
|
2881
|
+
this.n5_1 = tmp1 + 1 | 0;
|
|
2882
|
+
tmp.o5_1 = tmp1;
|
|
2883
|
+
var result = new EntryRef(this.m5_1, this.o5_1);
|
|
2884
|
+
this.q5();
|
|
2648
2885
|
return result;
|
|
2649
2886
|
};
|
|
2650
|
-
protoOf(EntriesItr).
|
|
2651
|
-
if (this.
|
|
2887
|
+
protoOf(EntriesItr).a6 = function () {
|
|
2888
|
+
if (this.n5_1 >= this.m5_1.c5_1)
|
|
2652
2889
|
throw NoSuchElementException_init_$Create$();
|
|
2653
2890
|
var tmp = this;
|
|
2654
|
-
var tmp1 = this.
|
|
2655
|
-
this.
|
|
2656
|
-
tmp.
|
|
2891
|
+
var tmp1 = this.n5_1;
|
|
2892
|
+
this.n5_1 = tmp1 + 1 | 0;
|
|
2893
|
+
tmp.o5_1 = tmp1;
|
|
2657
2894
|
// Inline function 'kotlin.hashCode' call
|
|
2658
|
-
var tmp0_safe_receiver = this.
|
|
2895
|
+
var tmp0_safe_receiver = this.m5_1.x4_1[this.o5_1];
|
|
2659
2896
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2660
2897
|
var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
2661
2898
|
// Inline function 'kotlin.hashCode' call
|
|
2662
|
-
var tmp0_safe_receiver_0 = ensureNotNull(this.
|
|
2899
|
+
var tmp0_safe_receiver_0 = ensureNotNull(this.m5_1.y4_1)[this.o5_1];
|
|
2663
2900
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
2664
2901
|
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
2665
|
-
this.
|
|
2902
|
+
this.q5();
|
|
2666
2903
|
return result;
|
|
2667
2904
|
};
|
|
2668
|
-
protoOf(EntriesItr).
|
|
2669
|
-
if (this.
|
|
2905
|
+
protoOf(EntriesItr).b6 = function (sb) {
|
|
2906
|
+
if (this.n5_1 >= this.m5_1.c5_1)
|
|
2670
2907
|
throw NoSuchElementException_init_$Create$();
|
|
2671
2908
|
var tmp = this;
|
|
2672
|
-
var tmp1 = this.
|
|
2673
|
-
this.
|
|
2674
|
-
tmp.
|
|
2675
|
-
var key = this.
|
|
2676
|
-
if (equals(key, this.
|
|
2677
|
-
sb.
|
|
2909
|
+
var tmp1 = this.n5_1;
|
|
2910
|
+
this.n5_1 = tmp1 + 1 | 0;
|
|
2911
|
+
tmp.o5_1 = tmp1;
|
|
2912
|
+
var key = this.m5_1.x4_1[this.o5_1];
|
|
2913
|
+
if (equals(key, this.m5_1)) {
|
|
2914
|
+
sb.e6('(this Map)');
|
|
2678
2915
|
} else {
|
|
2679
|
-
sb.
|
|
2916
|
+
sb.d6(key);
|
|
2680
2917
|
}
|
|
2681
|
-
sb.
|
|
2682
|
-
var value = ensureNotNull(this.
|
|
2683
|
-
if (equals(value, this.
|
|
2684
|
-
sb.
|
|
2918
|
+
sb.f(_Char___init__impl__6a9atx(61));
|
|
2919
|
+
var value = ensureNotNull(this.m5_1.y4_1)[this.o5_1];
|
|
2920
|
+
if (equals(value, this.m5_1)) {
|
|
2921
|
+
sb.e6('(this Map)');
|
|
2685
2922
|
} else {
|
|
2686
|
-
sb.
|
|
2923
|
+
sb.d6(value);
|
|
2687
2924
|
}
|
|
2688
|
-
this.
|
|
2925
|
+
this.q5();
|
|
2689
2926
|
};
|
|
2690
2927
|
function EntryRef(map, index) {
|
|
2691
|
-
this.
|
|
2692
|
-
this.
|
|
2928
|
+
this.f6_1 = map;
|
|
2929
|
+
this.g6_1 = index;
|
|
2693
2930
|
}
|
|
2694
|
-
protoOf(EntryRef).
|
|
2695
|
-
return this.
|
|
2931
|
+
protoOf(EntryRef).p1 = function () {
|
|
2932
|
+
return this.f6_1.x4_1[this.g6_1];
|
|
2696
2933
|
};
|
|
2697
|
-
protoOf(EntryRef).
|
|
2698
|
-
return ensureNotNull(this.
|
|
2934
|
+
protoOf(EntryRef).q1 = function () {
|
|
2935
|
+
return ensureNotNull(this.f6_1.y4_1)[this.g6_1];
|
|
2699
2936
|
};
|
|
2700
2937
|
protoOf(EntryRef).equals = function (other) {
|
|
2701
2938
|
var tmp;
|
|
2702
2939
|
var tmp_0;
|
|
2703
2940
|
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
2704
|
-
tmp_0 = equals(other.
|
|
2941
|
+
tmp_0 = equals(other.p1(), this.p1());
|
|
2705
2942
|
} else {
|
|
2706
2943
|
tmp_0 = false;
|
|
2707
2944
|
}
|
|
2708
2945
|
if (tmp_0) {
|
|
2709
|
-
tmp = equals(other.
|
|
2946
|
+
tmp = equals(other.q1(), this.q1());
|
|
2710
2947
|
} else {
|
|
2711
2948
|
tmp = false;
|
|
2712
2949
|
}
|
|
@@ -2714,36 +2951,42 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2714
2951
|
};
|
|
2715
2952
|
protoOf(EntryRef).hashCode = function () {
|
|
2716
2953
|
// Inline function 'kotlin.hashCode' call
|
|
2717
|
-
var tmp0_safe_receiver = this.
|
|
2954
|
+
var tmp0_safe_receiver = this.p1();
|
|
2718
2955
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2719
2956
|
var tmp = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
2720
2957
|
// Inline function 'kotlin.hashCode' call
|
|
2721
|
-
var tmp0_safe_receiver_0 = this.
|
|
2958
|
+
var tmp0_safe_receiver_0 = this.q1();
|
|
2722
2959
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
2723
2960
|
return tmp ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
2724
2961
|
};
|
|
2725
2962
|
protoOf(EntryRef).toString = function () {
|
|
2726
|
-
return toString_0(this.
|
|
2963
|
+
return toString_0(this.p1()) + '=' + toString_0(this.q1());
|
|
2727
2964
|
};
|
|
2728
2965
|
function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
|
|
2729
|
-
this.
|
|
2730
|
-
this.
|
|
2731
|
-
this.
|
|
2732
|
-
this.
|
|
2733
|
-
this.
|
|
2734
|
-
this.
|
|
2735
|
-
this.
|
|
2736
|
-
this.
|
|
2737
|
-
this.
|
|
2738
|
-
this.
|
|
2739
|
-
}
|
|
2740
|
-
protoOf(InternalHashMap).
|
|
2741
|
-
return this.
|
|
2742
|
-
};
|
|
2743
|
-
protoOf(InternalHashMap).
|
|
2966
|
+
this.x4_1 = keysArray;
|
|
2967
|
+
this.y4_1 = valuesArray;
|
|
2968
|
+
this.z4_1 = presenceArray;
|
|
2969
|
+
this.a5_1 = hashArray;
|
|
2970
|
+
this.b5_1 = maxProbeDistance;
|
|
2971
|
+
this.c5_1 = length;
|
|
2972
|
+
this.d5_1 = computeShift(Companion_instance_3, _get_hashSize__tftcho(this));
|
|
2973
|
+
this.e5_1 = 0;
|
|
2974
|
+
this.f5_1 = 0;
|
|
2975
|
+
this.g5_1 = false;
|
|
2976
|
+
}
|
|
2977
|
+
protoOf(InternalHashMap).j = function () {
|
|
2978
|
+
return this.f5_1;
|
|
2979
|
+
};
|
|
2980
|
+
protoOf(InternalHashMap).s1 = function (key) {
|
|
2981
|
+
var index = findKey(this, key);
|
|
2982
|
+
if (index < 0)
|
|
2983
|
+
return null;
|
|
2984
|
+
return ensureNotNull(this.y4_1)[index];
|
|
2985
|
+
};
|
|
2986
|
+
protoOf(InternalHashMap).m4 = function (key) {
|
|
2744
2987
|
return findKey(this, key) >= 0;
|
|
2745
2988
|
};
|
|
2746
|
-
protoOf(InternalHashMap).
|
|
2989
|
+
protoOf(InternalHashMap).x3 = function (key, value) {
|
|
2747
2990
|
var index = addKey(this, key);
|
|
2748
2991
|
var valuesArray = allocateValuesArray(this);
|
|
2749
2992
|
if (index < 0) {
|
|
@@ -2772,48 +3015,66 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2772
3015
|
};
|
|
2773
3016
|
protoOf(InternalHashMap).hashCode = function () {
|
|
2774
3017
|
var result = 0;
|
|
2775
|
-
var it = this.
|
|
2776
|
-
while (it.
|
|
2777
|
-
result = result + it.
|
|
3018
|
+
var it = this.p4();
|
|
3019
|
+
while (it.h()) {
|
|
3020
|
+
result = result + it.a6() | 0;
|
|
2778
3021
|
}
|
|
2779
3022
|
return result;
|
|
2780
3023
|
};
|
|
2781
3024
|
protoOf(InternalHashMap).toString = function () {
|
|
2782
|
-
var sb = StringBuilder_init_$Create$(2 + imul(this.
|
|
2783
|
-
sb.
|
|
3025
|
+
var sb = StringBuilder_init_$Create$(2 + imul(this.f5_1, 3) | 0);
|
|
3026
|
+
sb.e6('{');
|
|
2784
3027
|
var i = 0;
|
|
2785
|
-
var it = this.
|
|
2786
|
-
while (it.
|
|
3028
|
+
var it = this.p4();
|
|
3029
|
+
while (it.h()) {
|
|
2787
3030
|
if (i > 0) {
|
|
2788
|
-
sb.
|
|
3031
|
+
sb.e6(', ');
|
|
2789
3032
|
}
|
|
2790
|
-
it.
|
|
3033
|
+
it.b6(sb);
|
|
2791
3034
|
i = i + 1 | 0;
|
|
2792
3035
|
}
|
|
2793
|
-
sb.
|
|
3036
|
+
sb.e6('}');
|
|
2794
3037
|
return sb.toString();
|
|
2795
3038
|
};
|
|
2796
|
-
protoOf(InternalHashMap).
|
|
2797
|
-
if (this.
|
|
3039
|
+
protoOf(InternalHashMap).u4 = function () {
|
|
3040
|
+
if (this.g5_1)
|
|
2798
3041
|
throw UnsupportedOperationException_init_$Create$();
|
|
2799
3042
|
};
|
|
2800
|
-
protoOf(InternalHashMap).
|
|
2801
|
-
var index = findKey(this, entry.
|
|
3043
|
+
protoOf(InternalHashMap).s4 = function (entry) {
|
|
3044
|
+
var index = findKey(this, entry.p1());
|
|
2802
3045
|
if (index < 0)
|
|
2803
3046
|
return false;
|
|
2804
|
-
return equals(ensureNotNull(this.
|
|
3047
|
+
return equals(ensureNotNull(this.y4_1)[index], entry.q1());
|
|
2805
3048
|
};
|
|
2806
|
-
protoOf(InternalHashMap).
|
|
2807
|
-
return this.
|
|
3049
|
+
protoOf(InternalHashMap).h6 = function (entry) {
|
|
3050
|
+
return this.s4(isInterface(entry, Entry) ? entry : THROW_CCE());
|
|
2808
3051
|
};
|
|
2809
|
-
protoOf(InternalHashMap).
|
|
3052
|
+
protoOf(InternalHashMap).w4 = function () {
|
|
2810
3053
|
return new KeysItr(this);
|
|
2811
3054
|
};
|
|
2812
|
-
protoOf(InternalHashMap).
|
|
3055
|
+
protoOf(InternalHashMap).p4 = function () {
|
|
2813
3056
|
return new EntriesItr(this);
|
|
2814
3057
|
};
|
|
2815
3058
|
function InternalMap() {
|
|
2816
3059
|
}
|
|
3060
|
+
function LinkedHashMap_init_$Init$($this) {
|
|
3061
|
+
HashMap_init_$Init$_0($this);
|
|
3062
|
+
LinkedHashMap.call($this);
|
|
3063
|
+
return $this;
|
|
3064
|
+
}
|
|
3065
|
+
function LinkedHashMap_init_$Create$() {
|
|
3066
|
+
return LinkedHashMap_init_$Init$(objectCreate(protoOf(LinkedHashMap)));
|
|
3067
|
+
}
|
|
3068
|
+
function LinkedHashMap_init_$Init$_0(initialCapacity, $this) {
|
|
3069
|
+
HashMap_init_$Init$_2(initialCapacity, $this);
|
|
3070
|
+
LinkedHashMap.call($this);
|
|
3071
|
+
return $this;
|
|
3072
|
+
}
|
|
3073
|
+
function LinkedHashMap_init_$Create$_0(initialCapacity) {
|
|
3074
|
+
return LinkedHashMap_init_$Init$_0(initialCapacity, objectCreate(protoOf(LinkedHashMap)));
|
|
3075
|
+
}
|
|
3076
|
+
function LinkedHashMap() {
|
|
3077
|
+
}
|
|
2817
3078
|
function LinkedHashSet_init_$Init$($this) {
|
|
2818
3079
|
HashSet_init_$Init$_0($this);
|
|
2819
3080
|
LinkedHashSet.call($this);
|
|
@@ -2834,6 +3095,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2834
3095
|
function LinkedHashSet_init_$Create$_0(initialCapacity) {
|
|
2835
3096
|
return LinkedHashSet_init_$Init$_1(initialCapacity, objectCreate(protoOf(LinkedHashSet)));
|
|
2836
3097
|
}
|
|
3098
|
+
protoOf(LinkedHashSet).b3 = function () {
|
|
3099
|
+
return this.v4_1.u4();
|
|
3100
|
+
};
|
|
2837
3101
|
function LinkedHashSet() {
|
|
2838
3102
|
}
|
|
2839
3103
|
function get_output() {
|
|
@@ -2843,26 +3107,26 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2843
3107
|
var output;
|
|
2844
3108
|
function BaseOutput() {
|
|
2845
3109
|
}
|
|
2846
|
-
protoOf(BaseOutput).
|
|
2847
|
-
this.
|
|
3110
|
+
protoOf(BaseOutput).j6 = function () {
|
|
3111
|
+
this.k6('\n');
|
|
2848
3112
|
};
|
|
2849
|
-
protoOf(BaseOutput).
|
|
2850
|
-
this.
|
|
2851
|
-
this.
|
|
3113
|
+
protoOf(BaseOutput).l6 = function (message) {
|
|
3114
|
+
this.k6(message);
|
|
3115
|
+
this.j6();
|
|
2852
3116
|
};
|
|
2853
3117
|
function NodeJsOutput(outputStream) {
|
|
2854
3118
|
BaseOutput.call(this);
|
|
2855
|
-
this.
|
|
3119
|
+
this.m6_1 = outputStream;
|
|
2856
3120
|
}
|
|
2857
|
-
protoOf(NodeJsOutput).
|
|
3121
|
+
protoOf(NodeJsOutput).k6 = function (message) {
|
|
2858
3122
|
// Inline function 'kotlin.io.String' call
|
|
2859
3123
|
var messageString = String(message);
|
|
2860
|
-
this.
|
|
3124
|
+
this.m6_1.write(messageString);
|
|
2861
3125
|
};
|
|
2862
3126
|
function BufferedOutputToConsoleLog() {
|
|
2863
3127
|
BufferedOutput.call(this);
|
|
2864
3128
|
}
|
|
2865
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
3129
|
+
protoOf(BufferedOutputToConsoleLog).k6 = function (message) {
|
|
2866
3130
|
// Inline function 'kotlin.io.String' call
|
|
2867
3131
|
var s = String(message);
|
|
2868
3132
|
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
@@ -2870,36 +3134,36 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2870
3134
|
var i = s.lastIndexOf('\n', 0);
|
|
2871
3135
|
if (i >= 0) {
|
|
2872
3136
|
var tmp = this;
|
|
2873
|
-
var tmp_0 = this.
|
|
3137
|
+
var tmp_0 = this.o6_1;
|
|
2874
3138
|
// Inline function 'kotlin.text.substring' call
|
|
2875
3139
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2876
|
-
tmp.
|
|
2877
|
-
this.
|
|
3140
|
+
tmp.o6_1 = tmp_0 + s.substring(0, i);
|
|
3141
|
+
this.p6();
|
|
2878
3142
|
// Inline function 'kotlin.text.substring' call
|
|
2879
3143
|
var this_0 = s;
|
|
2880
3144
|
var startIndex = i + 1 | 0;
|
|
2881
3145
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2882
3146
|
s = this_0.substring(startIndex);
|
|
2883
3147
|
}
|
|
2884
|
-
this.
|
|
3148
|
+
this.o6_1 = this.o6_1 + s;
|
|
2885
3149
|
};
|
|
2886
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
2887
|
-
console.log(this.
|
|
2888
|
-
this.
|
|
3150
|
+
protoOf(BufferedOutputToConsoleLog).p6 = function () {
|
|
3151
|
+
console.log(this.o6_1);
|
|
3152
|
+
this.o6_1 = '';
|
|
2889
3153
|
};
|
|
2890
3154
|
function BufferedOutput() {
|
|
2891
3155
|
BaseOutput.call(this);
|
|
2892
|
-
this.
|
|
3156
|
+
this.o6_1 = '';
|
|
2893
3157
|
}
|
|
2894
|
-
protoOf(BufferedOutput).
|
|
3158
|
+
protoOf(BufferedOutput).k6 = function (message) {
|
|
2895
3159
|
var tmp = this;
|
|
2896
|
-
var tmp_0 = this.
|
|
3160
|
+
var tmp_0 = this.o6_1;
|
|
2897
3161
|
// Inline function 'kotlin.io.String' call
|
|
2898
|
-
tmp.
|
|
3162
|
+
tmp.o6_1 = tmp_0 + String(message);
|
|
2899
3163
|
};
|
|
2900
3164
|
function println(message) {
|
|
2901
3165
|
_init_properties_console_kt__rfg7jv();
|
|
2902
|
-
get_output().
|
|
3166
|
+
get_output().l6(message);
|
|
2903
3167
|
}
|
|
2904
3168
|
var properties_initialized_console_kt_gll9dl;
|
|
2905
3169
|
function _init_properties_console_kt__rfg7jv() {
|
|
@@ -3073,6 +3337,29 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3073
3337
|
function NoSuchElementException() {
|
|
3074
3338
|
captureStack(this, NoSuchElementException);
|
|
3075
3339
|
}
|
|
3340
|
+
function ArithmeticException_init_$Init$($this) {
|
|
3341
|
+
RuntimeException_init_$Init$($this);
|
|
3342
|
+
ArithmeticException.call($this);
|
|
3343
|
+
return $this;
|
|
3344
|
+
}
|
|
3345
|
+
function ArithmeticException_init_$Create$() {
|
|
3346
|
+
var tmp = ArithmeticException_init_$Init$(objectCreate(protoOf(ArithmeticException)));
|
|
3347
|
+
captureStack(tmp, ArithmeticException_init_$Create$);
|
|
3348
|
+
return tmp;
|
|
3349
|
+
}
|
|
3350
|
+
function ArithmeticException_init_$Init$_0(message, $this) {
|
|
3351
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
3352
|
+
ArithmeticException.call($this);
|
|
3353
|
+
return $this;
|
|
3354
|
+
}
|
|
3355
|
+
function ArithmeticException_init_$Create$_0(message) {
|
|
3356
|
+
var tmp = ArithmeticException_init_$Init$_0(message, objectCreate(protoOf(ArithmeticException)));
|
|
3357
|
+
captureStack(tmp, ArithmeticException_init_$Create$_0);
|
|
3358
|
+
return tmp;
|
|
3359
|
+
}
|
|
3360
|
+
function ArithmeticException() {
|
|
3361
|
+
captureStack(this, ArithmeticException);
|
|
3362
|
+
}
|
|
3076
3363
|
function NumberFormatException_init_$Init$($this) {
|
|
3077
3364
|
IllegalArgumentException_init_$Init$($this);
|
|
3078
3365
|
NumberFormatException.call($this);
|
|
@@ -3255,15 +3542,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3255
3542
|
return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder)));
|
|
3256
3543
|
}
|
|
3257
3544
|
function StringBuilder(content) {
|
|
3258
|
-
this.
|
|
3545
|
+
this.c6_1 = !(content === undefined) ? content : '';
|
|
3259
3546
|
}
|
|
3260
3547
|
protoOf(StringBuilder).a = function () {
|
|
3261
3548
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3262
|
-
return this.
|
|
3549
|
+
return this.c6_1.length;
|
|
3263
3550
|
};
|
|
3264
3551
|
protoOf(StringBuilder).b = function (index) {
|
|
3265
3552
|
// Inline function 'kotlin.text.getOrElse' call
|
|
3266
|
-
var this_0 = this.
|
|
3553
|
+
var this_0 = this.c6_1;
|
|
3267
3554
|
// Inline function 'kotlin.contracts.contract' call
|
|
3268
3555
|
var tmp;
|
|
3269
3556
|
if (0 <= index ? index <= (charSequenceLength(this_0) - 1 | 0) : false) {
|
|
@@ -3276,47 +3563,47 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3276
3563
|
protoOf(StringBuilder).c = function (startIndex, endIndex) {
|
|
3277
3564
|
// Inline function 'kotlin.text.substring' call
|
|
3278
3565
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3279
|
-
return this.
|
|
3566
|
+
return this.c6_1.substring(startIndex, endIndex);
|
|
3280
3567
|
};
|
|
3281
|
-
protoOf(StringBuilder).
|
|
3282
|
-
this.
|
|
3568
|
+
protoOf(StringBuilder).f = function (value) {
|
|
3569
|
+
this.c6_1 = this.c6_1 + toString(value);
|
|
3283
3570
|
return this;
|
|
3284
3571
|
};
|
|
3285
3572
|
protoOf(StringBuilder).e = function (value) {
|
|
3286
|
-
this.
|
|
3573
|
+
this.c6_1 = this.c6_1 + toString_0(value);
|
|
3287
3574
|
return this;
|
|
3288
3575
|
};
|
|
3289
|
-
protoOf(StringBuilder).
|
|
3290
|
-
return this.
|
|
3576
|
+
protoOf(StringBuilder).s6 = function (value, startIndex, endIndex) {
|
|
3577
|
+
return this.t6(value == null ? 'null' : value, startIndex, endIndex);
|
|
3291
3578
|
};
|
|
3292
|
-
protoOf(StringBuilder).
|
|
3293
|
-
this.
|
|
3579
|
+
protoOf(StringBuilder).d6 = function (value) {
|
|
3580
|
+
this.c6_1 = this.c6_1 + toString_0(value);
|
|
3294
3581
|
return this;
|
|
3295
3582
|
};
|
|
3296
|
-
protoOf(StringBuilder).
|
|
3297
|
-
this.
|
|
3583
|
+
protoOf(StringBuilder).u6 = function (value) {
|
|
3584
|
+
this.c6_1 = this.c6_1 + value;
|
|
3298
3585
|
return this;
|
|
3299
3586
|
};
|
|
3300
|
-
protoOf(StringBuilder).
|
|
3301
|
-
return this.
|
|
3587
|
+
protoOf(StringBuilder).v6 = function (value) {
|
|
3588
|
+
return this.e6(value.toString());
|
|
3302
3589
|
};
|
|
3303
|
-
protoOf(StringBuilder).
|
|
3590
|
+
protoOf(StringBuilder).e6 = function (value) {
|
|
3304
3591
|
var tmp = this;
|
|
3305
|
-
var tmp_0 = this.
|
|
3306
|
-
tmp.
|
|
3592
|
+
var tmp_0 = this.c6_1;
|
|
3593
|
+
tmp.c6_1 = tmp_0 + (value == null ? 'null' : value);
|
|
3307
3594
|
return this;
|
|
3308
3595
|
};
|
|
3309
3596
|
protoOf(StringBuilder).toString = function () {
|
|
3310
|
-
return this.
|
|
3597
|
+
return this.c6_1;
|
|
3311
3598
|
};
|
|
3312
|
-
protoOf(StringBuilder).
|
|
3599
|
+
protoOf(StringBuilder).t6 = function (value, startIndex, endIndex) {
|
|
3313
3600
|
var stringCsq = toString_1(value);
|
|
3314
|
-
Companion_instance_5.
|
|
3601
|
+
Companion_instance_5.w6(startIndex, endIndex, stringCsq.length);
|
|
3315
3602
|
var tmp = this;
|
|
3316
|
-
var tmp_0 = this.
|
|
3603
|
+
var tmp_0 = this.c6_1;
|
|
3317
3604
|
// Inline function 'kotlin.text.substring' call
|
|
3318
3605
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3319
|
-
tmp.
|
|
3606
|
+
tmp.c6_1 = tmp_0 + stringCsq.substring(startIndex, endIndex);
|
|
3320
3607
|
return this;
|
|
3321
3608
|
};
|
|
3322
3609
|
function uppercaseChar(_this__u8e3s4) {
|
|
@@ -3411,19 +3698,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3411
3698
|
}
|
|
3412
3699
|
function Companion_4() {
|
|
3413
3700
|
Companion_instance_4 = this;
|
|
3414
|
-
this.
|
|
3415
|
-
this.
|
|
3416
|
-
this.
|
|
3701
|
+
this.x6_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
|
|
3702
|
+
this.y6_1 = new RegExp('[\\\\$]', 'g');
|
|
3703
|
+
this.z6_1 = new RegExp('\\$', 'g');
|
|
3417
3704
|
}
|
|
3418
|
-
protoOf(Companion_4).
|
|
3705
|
+
protoOf(Companion_4).a7 = function (literal) {
|
|
3419
3706
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3420
|
-
var pattern = this.
|
|
3707
|
+
var pattern = this.x6_1;
|
|
3421
3708
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3422
3709
|
return literal.replace(pattern, '\\$&');
|
|
3423
3710
|
};
|
|
3424
|
-
protoOf(Companion_4).
|
|
3711
|
+
protoOf(Companion_4).b7 = function (literal) {
|
|
3425
3712
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3426
|
-
var pattern = this.
|
|
3713
|
+
var pattern = this.z6_1;
|
|
3427
3714
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3428
3715
|
return literal.replace(pattern, '$$$$');
|
|
3429
3716
|
};
|
|
@@ -3435,11 +3722,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3435
3722
|
}
|
|
3436
3723
|
function Regex$findAll$lambda(this$0, $input, $startIndex) {
|
|
3437
3724
|
return function () {
|
|
3438
|
-
return this$0.
|
|
3725
|
+
return this$0.h7($input, $startIndex);
|
|
3439
3726
|
};
|
|
3440
3727
|
}
|
|
3441
3728
|
function Regex$findAll$lambda_0(match) {
|
|
3442
|
-
return match.
|
|
3729
|
+
return match.i();
|
|
3443
3730
|
}
|
|
3444
3731
|
function Regex$replace$lambda($replacement) {
|
|
3445
3732
|
return function (it) {
|
|
@@ -3448,50 +3735,50 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3448
3735
|
}
|
|
3449
3736
|
function Regex(pattern, options) {
|
|
3450
3737
|
Companion_getInstance_4();
|
|
3451
|
-
this.
|
|
3452
|
-
this.
|
|
3453
|
-
this.
|
|
3454
|
-
this.
|
|
3455
|
-
this.
|
|
3456
|
-
}
|
|
3457
|
-
protoOf(Regex).
|
|
3458
|
-
reset(this.
|
|
3459
|
-
var match = this.
|
|
3460
|
-
return !(match == null) && match.index === 0 && this.
|
|
3461
|
-
};
|
|
3462
|
-
protoOf(Regex).
|
|
3738
|
+
this.c7_1 = pattern;
|
|
3739
|
+
this.d7_1 = toSet(options);
|
|
3740
|
+
this.e7_1 = new RegExp(pattern, toFlags(options, 'gu'));
|
|
3741
|
+
this.f7_1 = null;
|
|
3742
|
+
this.g7_1 = null;
|
|
3743
|
+
}
|
|
3744
|
+
protoOf(Regex).i7 = function (input) {
|
|
3745
|
+
reset(this.e7_1);
|
|
3746
|
+
var match = this.e7_1.exec(toString_1(input));
|
|
3747
|
+
return !(match == null) && match.index === 0 && this.e7_1.lastIndex === charSequenceLength(input);
|
|
3748
|
+
};
|
|
3749
|
+
protoOf(Regex).h7 = function (input, startIndex) {
|
|
3463
3750
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3464
3751
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3465
3752
|
}
|
|
3466
|
-
return findNext(this.
|
|
3753
|
+
return findNext(this.e7_1, toString_1(input), startIndex, this.e7_1);
|
|
3467
3754
|
};
|
|
3468
|
-
protoOf(Regex).
|
|
3755
|
+
protoOf(Regex).j7 = function (input, startIndex, $super) {
|
|
3469
3756
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3470
|
-
return $super === VOID ? this.
|
|
3757
|
+
return $super === VOID ? this.h7(input, startIndex) : $super.h7.call(this, input, startIndex);
|
|
3471
3758
|
};
|
|
3472
|
-
protoOf(Regex).
|
|
3759
|
+
protoOf(Regex).k7 = function (input, startIndex) {
|
|
3473
3760
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3474
3761
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3475
3762
|
}
|
|
3476
3763
|
var tmp = Regex$findAll$lambda(this, input, startIndex);
|
|
3477
3764
|
return generateSequence(tmp, Regex$findAll$lambda_0);
|
|
3478
3765
|
};
|
|
3479
|
-
protoOf(Regex).
|
|
3766
|
+
protoOf(Regex).l7 = function (input, startIndex, $super) {
|
|
3480
3767
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3481
|
-
return $super === VOID ? this.
|
|
3768
|
+
return $super === VOID ? this.k7(input, startIndex) : $super.k7.call(this, input, startIndex);
|
|
3482
3769
|
};
|
|
3483
|
-
protoOf(Regex).
|
|
3770
|
+
protoOf(Regex).m7 = function (input, replacement) {
|
|
3484
3771
|
if (!contains_1(replacement, _Char___init__impl__6a9atx(92)) && !contains_1(replacement, _Char___init__impl__6a9atx(36))) {
|
|
3485
3772
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3486
3773
|
var this_0 = toString_1(input);
|
|
3487
|
-
var pattern = this.
|
|
3774
|
+
var pattern = this.e7_1;
|
|
3488
3775
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3489
3776
|
return this_0.replace(pattern, replacement);
|
|
3490
3777
|
}
|
|
3491
|
-
return this.
|
|
3778
|
+
return this.n7(input, Regex$replace$lambda(replacement));
|
|
3492
3779
|
};
|
|
3493
|
-
protoOf(Regex).
|
|
3494
|
-
var match = this.
|
|
3780
|
+
protoOf(Regex).n7 = function (input, transform) {
|
|
3781
|
+
var match = this.j7(input);
|
|
3495
3782
|
if (match == null)
|
|
3496
3783
|
return toString_1(input);
|
|
3497
3784
|
var lastStart = 0;
|
|
@@ -3499,22 +3786,22 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3499
3786
|
var sb = StringBuilder_init_$Create$(length);
|
|
3500
3787
|
do {
|
|
3501
3788
|
var foundMatch = ensureNotNull(match);
|
|
3502
|
-
sb.
|
|
3789
|
+
sb.s6(input, lastStart, foundMatch.o7().p7());
|
|
3503
3790
|
sb.e(transform(foundMatch));
|
|
3504
|
-
lastStart = foundMatch.
|
|
3505
|
-
match = foundMatch.
|
|
3791
|
+
lastStart = foundMatch.o7().q7() + 1 | 0;
|
|
3792
|
+
match = foundMatch.i();
|
|
3506
3793
|
}
|
|
3507
3794
|
while (lastStart < length && !(match == null));
|
|
3508
3795
|
if (lastStart < length) {
|
|
3509
|
-
sb.
|
|
3796
|
+
sb.s6(input, lastStart, length);
|
|
3510
3797
|
}
|
|
3511
3798
|
return sb.toString();
|
|
3512
3799
|
};
|
|
3513
3800
|
protoOf(Regex).toString = function () {
|
|
3514
|
-
return this.
|
|
3801
|
+
return this.e7_1.toString();
|
|
3515
3802
|
};
|
|
3516
3803
|
function toFlags(_this__u8e3s4, prepend) {
|
|
3517
|
-
return
|
|
3804
|
+
return joinToString_1(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
|
|
3518
3805
|
}
|
|
3519
3806
|
function findNext(_this__u8e3s4, input, from, nextPattern) {
|
|
3520
3807
|
_this__u8e3s4.lastIndex = from;
|
|
@@ -3536,7 +3823,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3536
3823
|
throw IllegalArgumentException_init_$Create$_0('The Char to be escaped is missing');
|
|
3537
3824
|
var tmp1 = index;
|
|
3538
3825
|
index = tmp1 + 1 | 0;
|
|
3539
|
-
result.
|
|
3826
|
+
result.f(charSequenceGet(replacement, tmp1));
|
|
3540
3827
|
} else if (char === _Char___init__impl__6a9atx(36)) {
|
|
3541
3828
|
if (index === replacement.length)
|
|
3542
3829
|
throw IllegalArgumentException_init_$Create$_0('Capturing group index is missing');
|
|
@@ -3551,42 +3838,42 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3551
3838
|
var startIndex = index;
|
|
3552
3839
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3553
3840
|
var groupName = replacement.substring(startIndex, endIndex);
|
|
3554
|
-
var tmp2_safe_receiver = get(match.
|
|
3555
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3556
|
-
result.
|
|
3841
|
+
var tmp2_safe_receiver = get(match.r7(), groupName);
|
|
3842
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s7_1;
|
|
3843
|
+
result.e6(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
3557
3844
|
index = endIndex + 1 | 0;
|
|
3558
3845
|
} else {
|
|
3559
3846
|
var containsArg = charSequenceGet(replacement, index);
|
|
3560
3847
|
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
3561
3848
|
throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
|
|
3562
|
-
var groups = match.
|
|
3563
|
-
var endIndex_0 = readGroupIndex(replacement, index, groups.
|
|
3849
|
+
var groups = match.r7();
|
|
3850
|
+
var endIndex_0 = readGroupIndex(replacement, index, groups.j());
|
|
3564
3851
|
// Inline function 'kotlin.text.substring' call
|
|
3565
3852
|
var startIndex_0 = index;
|
|
3566
3853
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3567
3854
|
var tmp$ret$3 = replacement.substring(startIndex_0, endIndex_0);
|
|
3568
3855
|
var groupIndex = toInt_0(tmp$ret$3);
|
|
3569
|
-
if (groupIndex >= groups.
|
|
3856
|
+
if (groupIndex >= groups.j())
|
|
3570
3857
|
throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
|
|
3571
|
-
var tmp4_safe_receiver = groups.
|
|
3572
|
-
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.
|
|
3573
|
-
result.
|
|
3858
|
+
var tmp4_safe_receiver = groups.k(groupIndex);
|
|
3859
|
+
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.s7_1;
|
|
3860
|
+
result.e6(tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs);
|
|
3574
3861
|
index = endIndex_0;
|
|
3575
3862
|
}
|
|
3576
3863
|
} else {
|
|
3577
|
-
result.
|
|
3864
|
+
result.f(char);
|
|
3578
3865
|
}
|
|
3579
3866
|
}
|
|
3580
3867
|
return result.toString();
|
|
3581
3868
|
}
|
|
3582
3869
|
function MatchGroup(value) {
|
|
3583
|
-
this.
|
|
3870
|
+
this.s7_1 = value;
|
|
3584
3871
|
}
|
|
3585
3872
|
protoOf(MatchGroup).toString = function () {
|
|
3586
|
-
return 'MatchGroup(value=' + this.
|
|
3873
|
+
return 'MatchGroup(value=' + this.s7_1 + ')';
|
|
3587
3874
|
};
|
|
3588
3875
|
protoOf(MatchGroup).hashCode = function () {
|
|
3589
|
-
return getStringHashCode(this.
|
|
3876
|
+
return getStringHashCode(this.s7_1);
|
|
3590
3877
|
};
|
|
3591
3878
|
protoOf(MatchGroup).equals = function (other) {
|
|
3592
3879
|
if (this === other)
|
|
@@ -3594,7 +3881,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3594
3881
|
if (!(other instanceof MatchGroup))
|
|
3595
3882
|
return false;
|
|
3596
3883
|
var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE();
|
|
3597
|
-
if (!(this.
|
|
3884
|
+
if (!(this.s7_1 === tmp0_other_with_cast.s7_1))
|
|
3598
3885
|
return false;
|
|
3599
3886
|
return true;
|
|
3600
3887
|
};
|
|
@@ -3618,7 +3905,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3618
3905
|
tmp = tmp0_elvis_lhs;
|
|
3619
3906
|
}
|
|
3620
3907
|
var namedGroups = tmp;
|
|
3621
|
-
return namedGroups.
|
|
3908
|
+
return namedGroups.t7(name);
|
|
3622
3909
|
}
|
|
3623
3910
|
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
3624
3911
|
var index = startIndex + 1 | 0;
|
|
@@ -3645,11 +3932,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3645
3932
|
return index;
|
|
3646
3933
|
}
|
|
3647
3934
|
function toFlags$lambda(it) {
|
|
3648
|
-
return it.
|
|
3935
|
+
return it.w7_1;
|
|
3649
3936
|
}
|
|
3650
3937
|
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
3651
3938
|
return function (it) {
|
|
3652
|
-
return this$0.
|
|
3939
|
+
return this$0.k(it);
|
|
3653
3940
|
};
|
|
3654
3941
|
}
|
|
3655
3942
|
function hasOwnPrototypeProperty($this, o, name) {
|
|
@@ -3657,14 +3944,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3657
3944
|
return Object.prototype.hasOwnProperty.call(o, name);
|
|
3658
3945
|
}
|
|
3659
3946
|
function advanceToNextCharacter($this, index) {
|
|
3660
|
-
if (index < get_lastIndex_0($this.
|
|
3947
|
+
if (index < get_lastIndex_0($this.f8_1)) {
|
|
3661
3948
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3662
3949
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3663
|
-
var code1 = $this.
|
|
3950
|
+
var code1 = $this.f8_1.charCodeAt(index);
|
|
3664
3951
|
if (55296 <= code1 ? code1 <= 56319 : false) {
|
|
3665
3952
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3666
3953
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3667
|
-
var code2 = $this.
|
|
3954
|
+
var code2 = $this.f8_1.charCodeAt(index + 1 | 0);
|
|
3668
3955
|
if (56320 <= code2 ? code2 <= 57343 : false) {
|
|
3669
3956
|
return index + 2 | 0;
|
|
3670
3957
|
}
|
|
@@ -3673,21 +3960,21 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3673
3960
|
return index + 1 | 0;
|
|
3674
3961
|
}
|
|
3675
3962
|
function findNext$1$groups$1($match, this$0) {
|
|
3676
|
-
this.
|
|
3677
|
-
this.
|
|
3963
|
+
this.x7_1 = $match;
|
|
3964
|
+
this.y7_1 = this$0;
|
|
3678
3965
|
AbstractCollection.call(this);
|
|
3679
3966
|
}
|
|
3680
|
-
protoOf(findNext$1$groups$1).
|
|
3681
|
-
return this.
|
|
3967
|
+
protoOf(findNext$1$groups$1).j = function () {
|
|
3968
|
+
return this.x7_1.length;
|
|
3682
3969
|
};
|
|
3683
|
-
protoOf(findNext$1$groups$1).
|
|
3970
|
+
protoOf(findNext$1$groups$1).g = function () {
|
|
3684
3971
|
var tmp = asSequence(get_indices(this));
|
|
3685
|
-
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).
|
|
3972
|
+
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).g();
|
|
3686
3973
|
};
|
|
3687
|
-
protoOf(findNext$1$groups$1).
|
|
3974
|
+
protoOf(findNext$1$groups$1).k = function (index) {
|
|
3688
3975
|
// Inline function 'kotlin.js.get' call
|
|
3689
3976
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3690
|
-
var tmp0_safe_receiver = this.
|
|
3977
|
+
var tmp0_safe_receiver = this.x7_1[index];
|
|
3691
3978
|
var tmp;
|
|
3692
3979
|
if (tmp0_safe_receiver == null) {
|
|
3693
3980
|
tmp = null;
|
|
@@ -3699,9 +3986,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3699
3986
|
}
|
|
3700
3987
|
return tmp;
|
|
3701
3988
|
};
|
|
3702
|
-
protoOf(findNext$1$groups$1).
|
|
3989
|
+
protoOf(findNext$1$groups$1).t7 = function (name) {
|
|
3703
3990
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3704
|
-
var tmp0_elvis_lhs = this.
|
|
3991
|
+
var tmp0_elvis_lhs = this.x7_1.groups;
|
|
3705
3992
|
var tmp;
|
|
3706
3993
|
if (tmp0_elvis_lhs == null) {
|
|
3707
3994
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
|
|
@@ -3709,7 +3996,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3709
3996
|
tmp = tmp0_elvis_lhs;
|
|
3710
3997
|
}
|
|
3711
3998
|
var groups = tmp;
|
|
3712
|
-
if (!hasOwnPrototypeProperty(this.
|
|
3999
|
+
if (!hasOwnPrototypeProperty(this.y7_1, groups, name))
|
|
3713
4000
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist');
|
|
3714
4001
|
var value = groups[name];
|
|
3715
4002
|
var tmp_0;
|
|
@@ -3721,29 +4008,29 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3721
4008
|
return tmp_0;
|
|
3722
4009
|
};
|
|
3723
4010
|
function findNext$1($range, $match, $nextPattern, $input) {
|
|
3724
|
-
this.
|
|
3725
|
-
this.
|
|
3726
|
-
this.
|
|
3727
|
-
this.
|
|
3728
|
-
this.
|
|
4011
|
+
this.c8_1 = $range;
|
|
4012
|
+
this.d8_1 = $match;
|
|
4013
|
+
this.e8_1 = $nextPattern;
|
|
4014
|
+
this.f8_1 = $input;
|
|
4015
|
+
this.z7_1 = $range;
|
|
3729
4016
|
var tmp = this;
|
|
3730
|
-
tmp.
|
|
3731
|
-
this.
|
|
4017
|
+
tmp.a8_1 = new findNext$1$groups$1($match, this);
|
|
4018
|
+
this.b8_1 = null;
|
|
3732
4019
|
}
|
|
3733
|
-
protoOf(findNext$1).
|
|
3734
|
-
return this.
|
|
4020
|
+
protoOf(findNext$1).o7 = function () {
|
|
4021
|
+
return this.z7_1;
|
|
3735
4022
|
};
|
|
3736
|
-
protoOf(findNext$1).
|
|
4023
|
+
protoOf(findNext$1).q1 = function () {
|
|
3737
4024
|
// Inline function 'kotlin.js.get' call
|
|
3738
4025
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3739
|
-
var tmp$ret$1 = this.
|
|
4026
|
+
var tmp$ret$1 = this.d8_1[0];
|
|
3740
4027
|
return ensureNotNull(tmp$ret$1);
|
|
3741
4028
|
};
|
|
3742
|
-
protoOf(findNext$1).
|
|
3743
|
-
return this.
|
|
4029
|
+
protoOf(findNext$1).r7 = function () {
|
|
4030
|
+
return this.a8_1;
|
|
3744
4031
|
};
|
|
3745
|
-
protoOf(findNext$1).
|
|
3746
|
-
return findNext(this.
|
|
4032
|
+
protoOf(findNext$1).i = function () {
|
|
4033
|
+
return findNext(this.e8_1, this.f8_1, this.c8_1.y() ? advanceToNextCharacter(this, this.c8_1.p7()) : this.c8_1.q7() + 1 | 0, this.e8_1);
|
|
3747
4034
|
};
|
|
3748
4035
|
var STRING_CASE_INSENSITIVE_ORDER;
|
|
3749
4036
|
function compareTo_0(_this__u8e3s4, other, ignoreCase) {
|
|
@@ -3814,13 +4101,34 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3814
4101
|
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
3815
4102
|
}
|
|
3816
4103
|
function sam$kotlin_Comparator$0(function_0) {
|
|
3817
|
-
this.
|
|
4104
|
+
this.g8_1 = function_0;
|
|
3818
4105
|
}
|
|
3819
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
3820
|
-
return this.
|
|
4106
|
+
protoOf(sam$kotlin_Comparator$0).h8 = function (a, b) {
|
|
4107
|
+
return this.g8_1(a, b);
|
|
3821
4108
|
};
|
|
3822
4109
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
3823
|
-
return this.
|
|
4110
|
+
return this.h8(a, b);
|
|
4111
|
+
};
|
|
4112
|
+
protoOf(sam$kotlin_Comparator$0).r2 = function () {
|
|
4113
|
+
return this.g8_1;
|
|
4114
|
+
};
|
|
4115
|
+
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
4116
|
+
var tmp;
|
|
4117
|
+
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
4118
|
+
var tmp_0;
|
|
4119
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
4120
|
+
tmp_0 = equals(this.r2(), other.r2());
|
|
4121
|
+
} else {
|
|
4122
|
+
tmp_0 = false;
|
|
4123
|
+
}
|
|
4124
|
+
tmp = tmp_0;
|
|
4125
|
+
} else {
|
|
4126
|
+
tmp = false;
|
|
4127
|
+
}
|
|
4128
|
+
return tmp;
|
|
4129
|
+
};
|
|
4130
|
+
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
4131
|
+
return hashCode(this.r2());
|
|
3824
4132
|
};
|
|
3825
4133
|
function STRING_CASE_INSENSITIVE_ORDER$lambda(a, b) {
|
|
3826
4134
|
_init_properties_stringJs_kt__bg7zye();
|
|
@@ -3837,8 +4145,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3837
4145
|
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
3838
4146
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
3839
4147
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3840
|
-
var pattern = new RegExp(Companion_getInstance_4().
|
|
3841
|
-
var replacement = Companion_getInstance_4().
|
|
4148
|
+
var pattern = new RegExp(Companion_getInstance_4().a7(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
4149
|
+
var replacement = Companion_getInstance_4().b7(newValue);
|
|
3842
4150
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3843
4151
|
return _this__u8e3s4.replace(pattern, replacement);
|
|
3844
4152
|
}
|
|
@@ -3941,40 +4249,40 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3941
4249
|
byteIndex = tmp0 + 1 | 0;
|
|
3942
4250
|
var byte = bytes[tmp0];
|
|
3943
4251
|
if (byte >= 0) {
|
|
3944
|
-
stringBuilder.
|
|
4252
|
+
stringBuilder.f(numberToChar(byte));
|
|
3945
4253
|
} else if (byte >> 5 === -2) {
|
|
3946
4254
|
var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
3947
4255
|
if (code <= 0) {
|
|
3948
|
-
stringBuilder.
|
|
4256
|
+
stringBuilder.f(_Char___init__impl__6a9atx(65533));
|
|
3949
4257
|
byteIndex = byteIndex + (-code | 0) | 0;
|
|
3950
4258
|
} else {
|
|
3951
|
-
stringBuilder.
|
|
4259
|
+
stringBuilder.f(numberToChar(code));
|
|
3952
4260
|
byteIndex = byteIndex + 1 | 0;
|
|
3953
4261
|
}
|
|
3954
4262
|
} else if (byte >> 4 === -2) {
|
|
3955
4263
|
var code_0 = codePointFrom3(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
3956
4264
|
if (code_0 <= 0) {
|
|
3957
|
-
stringBuilder.
|
|
4265
|
+
stringBuilder.f(_Char___init__impl__6a9atx(65533));
|
|
3958
4266
|
byteIndex = byteIndex + (-code_0 | 0) | 0;
|
|
3959
4267
|
} else {
|
|
3960
|
-
stringBuilder.
|
|
4268
|
+
stringBuilder.f(numberToChar(code_0));
|
|
3961
4269
|
byteIndex = byteIndex + 2 | 0;
|
|
3962
4270
|
}
|
|
3963
4271
|
} else if (byte >> 3 === -2) {
|
|
3964
4272
|
var code_1 = codePointFrom4(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
3965
4273
|
if (code_1 <= 0) {
|
|
3966
|
-
stringBuilder.
|
|
4274
|
+
stringBuilder.f(_Char___init__impl__6a9atx(65533));
|
|
3967
4275
|
byteIndex = byteIndex + (-code_1 | 0) | 0;
|
|
3968
4276
|
} else {
|
|
3969
4277
|
var high = (code_1 - 65536 | 0) >> 10 | 55296;
|
|
3970
4278
|
var low = code_1 & 1023 | 56320;
|
|
3971
|
-
stringBuilder.
|
|
3972
|
-
stringBuilder.
|
|
4279
|
+
stringBuilder.f(numberToChar(high));
|
|
4280
|
+
stringBuilder.f(numberToChar(low));
|
|
3973
4281
|
byteIndex = byteIndex + 3 | 0;
|
|
3974
4282
|
}
|
|
3975
4283
|
} else {
|
|
3976
4284
|
malformed(0, byteIndex, throwOnMalformed);
|
|
3977
|
-
stringBuilder.
|
|
4285
|
+
stringBuilder.f(_Char___init__impl__6a9atx(65533));
|
|
3978
4286
|
}
|
|
3979
4287
|
}
|
|
3980
4288
|
return stringBuilder.toString();
|
|
@@ -4032,7 +4340,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4032
4340
|
function codePointFrom4(bytes, byte1, index, endIndex, throwOnMalformed) {
|
|
4033
4341
|
_init_properties_utf8Encoding_kt__9thjs4();
|
|
4034
4342
|
if (index >= endIndex) {
|
|
4035
|
-
malformed(0, index, throwOnMalformed);
|
|
4343
|
+
return malformed(0, index, throwOnMalformed);
|
|
4036
4344
|
}
|
|
4037
4345
|
var byte2 = bytes[index];
|
|
4038
4346
|
if ((byte1 & 15) === 0) {
|
|
@@ -4045,7 +4353,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4045
4353
|
}
|
|
4046
4354
|
} else if ((byte1 & 15) > 4) {
|
|
4047
4355
|
return malformed(0, index, throwOnMalformed);
|
|
4048
|
-
}
|
|
4356
|
+
}
|
|
4357
|
+
if (!((byte2 & 192) === 128)) {
|
|
4049
4358
|
return malformed(0, index, throwOnMalformed);
|
|
4050
4359
|
}
|
|
4051
4360
|
if ((index + 1 | 0) === endIndex) {
|
|
@@ -4085,13 +4394,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4085
4394
|
}
|
|
4086
4395
|
function AbstractCollection() {
|
|
4087
4396
|
}
|
|
4088
|
-
protoOf(AbstractCollection).
|
|
4397
|
+
protoOf(AbstractCollection).m1 = function (element) {
|
|
4089
4398
|
var tmp$ret$0;
|
|
4090
4399
|
$l$block_0: {
|
|
4091
4400
|
// Inline function 'kotlin.collections.any' call
|
|
4092
4401
|
var tmp;
|
|
4093
4402
|
if (isInterface(this, Collection)) {
|
|
4094
|
-
tmp = this.
|
|
4403
|
+
tmp = this.y();
|
|
4095
4404
|
} else {
|
|
4096
4405
|
tmp = false;
|
|
4097
4406
|
}
|
|
@@ -4099,9 +4408,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4099
4408
|
tmp$ret$0 = false;
|
|
4100
4409
|
break $l$block_0;
|
|
4101
4410
|
}
|
|
4102
|
-
var tmp0_iterator = this.
|
|
4103
|
-
while (tmp0_iterator.
|
|
4104
|
-
var element_0 = tmp0_iterator.
|
|
4411
|
+
var tmp0_iterator = this.g();
|
|
4412
|
+
while (tmp0_iterator.h()) {
|
|
4413
|
+
var element_0 = tmp0_iterator.i();
|
|
4105
4414
|
// Inline function 'kotlin.collections.AbstractCollection.contains.<anonymous>' call
|
|
4106
4415
|
if (equals(element_0, element)) {
|
|
4107
4416
|
tmp$ret$0 = true;
|
|
@@ -4112,13 +4421,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4112
4421
|
}
|
|
4113
4422
|
return tmp$ret$0;
|
|
4114
4423
|
};
|
|
4115
|
-
protoOf(AbstractCollection).
|
|
4424
|
+
protoOf(AbstractCollection).n1 = function (elements) {
|
|
4116
4425
|
var tmp$ret$0;
|
|
4117
4426
|
$l$block_0: {
|
|
4118
4427
|
// Inline function 'kotlin.collections.all' call
|
|
4119
4428
|
var tmp;
|
|
4120
4429
|
if (isInterface(elements, Collection)) {
|
|
4121
|
-
tmp = elements.
|
|
4430
|
+
tmp = elements.y();
|
|
4122
4431
|
} else {
|
|
4123
4432
|
tmp = false;
|
|
4124
4433
|
}
|
|
@@ -4126,11 +4435,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4126
4435
|
tmp$ret$0 = true;
|
|
4127
4436
|
break $l$block_0;
|
|
4128
4437
|
}
|
|
4129
|
-
var tmp0_iterator = elements.
|
|
4130
|
-
while (tmp0_iterator.
|
|
4131
|
-
var element = tmp0_iterator.
|
|
4438
|
+
var tmp0_iterator = elements.g();
|
|
4439
|
+
while (tmp0_iterator.h()) {
|
|
4440
|
+
var element = tmp0_iterator.i();
|
|
4132
4441
|
// Inline function 'kotlin.collections.AbstractCollection.containsAll.<anonymous>' call
|
|
4133
|
-
if (!this.
|
|
4442
|
+
if (!this.m1(element)) {
|
|
4134
4443
|
tmp$ret$0 = false;
|
|
4135
4444
|
break $l$block_0;
|
|
4136
4445
|
}
|
|
@@ -4139,29 +4448,29 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4139
4448
|
}
|
|
4140
4449
|
return tmp$ret$0;
|
|
4141
4450
|
};
|
|
4142
|
-
protoOf(AbstractCollection).
|
|
4143
|
-
return this.
|
|
4451
|
+
protoOf(AbstractCollection).y = function () {
|
|
4452
|
+
return this.j() === 0;
|
|
4144
4453
|
};
|
|
4145
4454
|
protoOf(AbstractCollection).toString = function () {
|
|
4146
|
-
return
|
|
4455
|
+
return joinToString_1(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
|
|
4147
4456
|
};
|
|
4148
4457
|
protoOf(AbstractCollection).toArray = function () {
|
|
4149
4458
|
return collectionToArray(this);
|
|
4150
4459
|
};
|
|
4151
4460
|
function Companion_5() {
|
|
4152
|
-
this.
|
|
4461
|
+
this.u2_1 = 2147483639;
|
|
4153
4462
|
}
|
|
4154
|
-
protoOf(Companion_5).
|
|
4463
|
+
protoOf(Companion_5).e4 = function (index, size) {
|
|
4155
4464
|
if (index < 0 || index >= size) {
|
|
4156
4465
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4157
4466
|
}
|
|
4158
4467
|
};
|
|
4159
|
-
protoOf(Companion_5).
|
|
4468
|
+
protoOf(Companion_5).m3 = function (index, size) {
|
|
4160
4469
|
if (index < 0 || index > size) {
|
|
4161
4470
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4162
4471
|
}
|
|
4163
4472
|
};
|
|
4164
|
-
protoOf(Companion_5).
|
|
4473
|
+
protoOf(Companion_5).v2 = function (fromIndex, toIndex, size) {
|
|
4165
4474
|
if (fromIndex < 0 || toIndex > size) {
|
|
4166
4475
|
throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
4167
4476
|
}
|
|
@@ -4169,7 +4478,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4169
4478
|
throw IllegalArgumentException_init_$Create$_0('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
4170
4479
|
}
|
|
4171
4480
|
};
|
|
4172
|
-
protoOf(Companion_5).
|
|
4481
|
+
protoOf(Companion_5).w6 = function (startIndex, endIndex, size) {
|
|
4173
4482
|
if (startIndex < 0 || endIndex > size) {
|
|
4174
4483
|
throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
4175
4484
|
}
|
|
@@ -4177,7 +4486,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4177
4486
|
throw IllegalArgumentException_init_$Create$_0('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
4178
4487
|
}
|
|
4179
4488
|
};
|
|
4180
|
-
protoOf(Companion_5).
|
|
4489
|
+
protoOf(Companion_5).h5 = function (oldCapacity, minCapacity) {
|
|
4181
4490
|
var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
|
|
4182
4491
|
if ((newCapacity - minCapacity | 0) < 0)
|
|
4183
4492
|
newCapacity = minCapacity;
|
|
@@ -4185,25 +4494,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4185
4494
|
newCapacity = minCapacity > 2147483639 ? 2147483647 : 2147483639;
|
|
4186
4495
|
return newCapacity;
|
|
4187
4496
|
};
|
|
4188
|
-
protoOf(Companion_5).
|
|
4497
|
+
protoOf(Companion_5).s3 = function (c) {
|
|
4189
4498
|
var hashCode_0 = 1;
|
|
4190
|
-
var tmp0_iterator = c.
|
|
4191
|
-
while (tmp0_iterator.
|
|
4192
|
-
var e = tmp0_iterator.
|
|
4499
|
+
var tmp0_iterator = c.g();
|
|
4500
|
+
while (tmp0_iterator.h()) {
|
|
4501
|
+
var e = tmp0_iterator.i();
|
|
4193
4502
|
var tmp = imul(31, hashCode_0);
|
|
4194
4503
|
var tmp2_elvis_lhs = e == null ? null : hashCode(e);
|
|
4195
4504
|
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
4196
4505
|
}
|
|
4197
4506
|
return hashCode_0;
|
|
4198
4507
|
};
|
|
4199
|
-
protoOf(Companion_5).
|
|
4200
|
-
if (!(c.
|
|
4508
|
+
protoOf(Companion_5).r3 = function (c, other) {
|
|
4509
|
+
if (!(c.j() === other.j()))
|
|
4201
4510
|
return false;
|
|
4202
|
-
var otherIterator = other.
|
|
4203
|
-
var tmp0_iterator = c.
|
|
4204
|
-
while (tmp0_iterator.
|
|
4205
|
-
var elem = tmp0_iterator.
|
|
4206
|
-
var elemOther = otherIterator.
|
|
4511
|
+
var otherIterator = other.g();
|
|
4512
|
+
var tmp0_iterator = c.g();
|
|
4513
|
+
while (tmp0_iterator.h()) {
|
|
4514
|
+
var elem = tmp0_iterator.i();
|
|
4515
|
+
var elemOther = otherIterator.i();
|
|
4207
4516
|
if (!equals(elem, elemOther)) {
|
|
4208
4517
|
return false;
|
|
4209
4518
|
}
|
|
@@ -4214,43 +4523,154 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4214
4523
|
function Companion_getInstance_5() {
|
|
4215
4524
|
return Companion_instance_5;
|
|
4216
4525
|
}
|
|
4526
|
+
function toString_4($this, o) {
|
|
4527
|
+
return o === $this ? '(this Map)' : toString_0(o);
|
|
4528
|
+
}
|
|
4529
|
+
function implFindEntry($this, key) {
|
|
4530
|
+
var tmp$ret$1;
|
|
4531
|
+
$l$block: {
|
|
4532
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
4533
|
+
var tmp0_iterator = $this.t1().g();
|
|
4534
|
+
while (tmp0_iterator.h()) {
|
|
4535
|
+
var element = tmp0_iterator.i();
|
|
4536
|
+
// Inline function 'kotlin.collections.AbstractMap.implFindEntry.<anonymous>' call
|
|
4537
|
+
if (equals(element.p1(), key)) {
|
|
4538
|
+
tmp$ret$1 = element;
|
|
4539
|
+
break $l$block;
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4542
|
+
tmp$ret$1 = null;
|
|
4543
|
+
}
|
|
4544
|
+
return tmp$ret$1;
|
|
4545
|
+
}
|
|
4217
4546
|
function Companion_6() {
|
|
4218
4547
|
}
|
|
4219
|
-
|
|
4548
|
+
var Companion_instance_6;
|
|
4549
|
+
function Companion_getInstance_6() {
|
|
4550
|
+
return Companion_instance_6;
|
|
4551
|
+
}
|
|
4552
|
+
function AbstractMap$toString$lambda(this$0) {
|
|
4553
|
+
return function (it) {
|
|
4554
|
+
return this$0.i8(it);
|
|
4555
|
+
};
|
|
4556
|
+
}
|
|
4557
|
+
function AbstractMap() {
|
|
4558
|
+
this.y3_1 = null;
|
|
4559
|
+
this.z3_1 = null;
|
|
4560
|
+
}
|
|
4561
|
+
protoOf(AbstractMap).r1 = function (key) {
|
|
4562
|
+
return !(implFindEntry(this, key) == null);
|
|
4563
|
+
};
|
|
4564
|
+
protoOf(AbstractMap).a4 = function (entry) {
|
|
4565
|
+
if (!(!(entry == null) ? isInterface(entry, Entry) : false))
|
|
4566
|
+
return false;
|
|
4567
|
+
var key = entry.p1();
|
|
4568
|
+
var value = entry.q1();
|
|
4569
|
+
// Inline function 'kotlin.collections.get' call
|
|
4570
|
+
var ourValue = (isInterface(this, KtMap) ? this : THROW_CCE()).s1(key);
|
|
4571
|
+
if (!equals(value, ourValue)) {
|
|
4572
|
+
return false;
|
|
4573
|
+
}
|
|
4574
|
+
var tmp;
|
|
4575
|
+
if (ourValue == null) {
|
|
4576
|
+
// Inline function 'kotlin.collections.containsKey' call
|
|
4577
|
+
tmp = !(isInterface(this, KtMap) ? this : THROW_CCE()).r1(key);
|
|
4578
|
+
} else {
|
|
4579
|
+
tmp = false;
|
|
4580
|
+
}
|
|
4581
|
+
if (tmp) {
|
|
4582
|
+
return false;
|
|
4583
|
+
}
|
|
4584
|
+
return true;
|
|
4585
|
+
};
|
|
4586
|
+
protoOf(AbstractMap).equals = function (other) {
|
|
4587
|
+
if (other === this)
|
|
4588
|
+
return true;
|
|
4589
|
+
if (!(!(other == null) ? isInterface(other, KtMap) : false))
|
|
4590
|
+
return false;
|
|
4591
|
+
if (!(this.j() === other.j()))
|
|
4592
|
+
return false;
|
|
4593
|
+
var tmp$ret$0;
|
|
4594
|
+
$l$block_0: {
|
|
4595
|
+
// Inline function 'kotlin.collections.all' call
|
|
4596
|
+
var this_0 = other.t1();
|
|
4597
|
+
var tmp;
|
|
4598
|
+
if (isInterface(this_0, Collection)) {
|
|
4599
|
+
tmp = this_0.y();
|
|
4600
|
+
} else {
|
|
4601
|
+
tmp = false;
|
|
4602
|
+
}
|
|
4603
|
+
if (tmp) {
|
|
4604
|
+
tmp$ret$0 = true;
|
|
4605
|
+
break $l$block_0;
|
|
4606
|
+
}
|
|
4607
|
+
var tmp0_iterator = this_0.g();
|
|
4608
|
+
while (tmp0_iterator.h()) {
|
|
4609
|
+
var element = tmp0_iterator.i();
|
|
4610
|
+
// Inline function 'kotlin.collections.AbstractMap.equals.<anonymous>' call
|
|
4611
|
+
if (!this.a4(element)) {
|
|
4612
|
+
tmp$ret$0 = false;
|
|
4613
|
+
break $l$block_0;
|
|
4614
|
+
}
|
|
4615
|
+
}
|
|
4616
|
+
tmp$ret$0 = true;
|
|
4617
|
+
}
|
|
4618
|
+
return tmp$ret$0;
|
|
4619
|
+
};
|
|
4620
|
+
protoOf(AbstractMap).s1 = function (key) {
|
|
4621
|
+
var tmp0_safe_receiver = implFindEntry(this, key);
|
|
4622
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q1();
|
|
4623
|
+
};
|
|
4624
|
+
protoOf(AbstractMap).hashCode = function () {
|
|
4625
|
+
return hashCode(this.t1());
|
|
4626
|
+
};
|
|
4627
|
+
protoOf(AbstractMap).j = function () {
|
|
4628
|
+
return this.t1().j();
|
|
4629
|
+
};
|
|
4630
|
+
protoOf(AbstractMap).toString = function () {
|
|
4631
|
+
var tmp = this.t1();
|
|
4632
|
+
return joinToString_1(tmp, ', ', '{', '}', VOID, VOID, AbstractMap$toString$lambda(this));
|
|
4633
|
+
};
|
|
4634
|
+
protoOf(AbstractMap).i8 = function (entry) {
|
|
4635
|
+
return toString_4(this, entry.p1()) + '=' + toString_4(this, entry.q1());
|
|
4636
|
+
};
|
|
4637
|
+
function Companion_7() {
|
|
4638
|
+
}
|
|
4639
|
+
protoOf(Companion_7).c4 = function (c) {
|
|
4220
4640
|
var hashCode_0 = 0;
|
|
4221
|
-
var tmp0_iterator = c.
|
|
4222
|
-
while (tmp0_iterator.
|
|
4223
|
-
var element = tmp0_iterator.
|
|
4641
|
+
var tmp0_iterator = c.g();
|
|
4642
|
+
while (tmp0_iterator.h()) {
|
|
4643
|
+
var element = tmp0_iterator.i();
|
|
4224
4644
|
var tmp = hashCode_0;
|
|
4225
4645
|
var tmp2_elvis_lhs = element == null ? null : hashCode(element);
|
|
4226
4646
|
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
4227
4647
|
}
|
|
4228
4648
|
return hashCode_0;
|
|
4229
4649
|
};
|
|
4230
|
-
protoOf(
|
|
4231
|
-
if (!(c.
|
|
4650
|
+
protoOf(Companion_7).b4 = function (c, other) {
|
|
4651
|
+
if (!(c.j() === other.j()))
|
|
4232
4652
|
return false;
|
|
4233
4653
|
// Inline function 'kotlin.collections.containsAll' call
|
|
4234
|
-
return c.
|
|
4654
|
+
return c.n1(other);
|
|
4235
4655
|
};
|
|
4236
|
-
var
|
|
4237
|
-
function
|
|
4238
|
-
return
|
|
4656
|
+
var Companion_instance_7;
|
|
4657
|
+
function Companion_getInstance_7() {
|
|
4658
|
+
return Companion_instance_7;
|
|
4239
4659
|
}
|
|
4240
4660
|
function collectionToArrayCommonImpl(collection) {
|
|
4241
|
-
if (collection.
|
|
4661
|
+
if (collection.y()) {
|
|
4242
4662
|
// Inline function 'kotlin.emptyArray' call
|
|
4243
4663
|
return [];
|
|
4244
4664
|
}
|
|
4245
4665
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4246
|
-
var size = collection.
|
|
4666
|
+
var size = collection.j();
|
|
4247
4667
|
var destination = fillArrayVal(Array(size), null);
|
|
4248
|
-
var iterator = collection.
|
|
4668
|
+
var iterator = collection.g();
|
|
4249
4669
|
var index = 0;
|
|
4250
|
-
while (iterator.
|
|
4670
|
+
while (iterator.h()) {
|
|
4251
4671
|
var tmp0 = index;
|
|
4252
4672
|
index = tmp0 + 1 | 0;
|
|
4253
|
-
destination[tmp0] = iterator.
|
|
4673
|
+
destination[tmp0] = iterator.i();
|
|
4254
4674
|
}
|
|
4255
4675
|
return destination;
|
|
4256
4676
|
}
|
|
@@ -4258,16 +4678,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4258
4678
|
return EmptyList_getInstance();
|
|
4259
4679
|
}
|
|
4260
4680
|
function get_indices(_this__u8e3s4) {
|
|
4261
|
-
return numberRangeToNumber(0, _this__u8e3s4.
|
|
4681
|
+
return numberRangeToNumber(0, _this__u8e3s4.j() - 1 | 0);
|
|
4262
4682
|
}
|
|
4263
4683
|
function EmptyList() {
|
|
4264
4684
|
EmptyList_instance = this;
|
|
4265
|
-
this.
|
|
4685
|
+
this.j8_1 = new Long(-1478467534, -1720727600);
|
|
4266
4686
|
}
|
|
4267
4687
|
protoOf(EmptyList).equals = function (other) {
|
|
4268
4688
|
var tmp;
|
|
4269
4689
|
if (!(other == null) ? isInterface(other, KtList) : false) {
|
|
4270
|
-
tmp = other.
|
|
4690
|
+
tmp = other.y();
|
|
4271
4691
|
} else {
|
|
4272
4692
|
tmp = false;
|
|
4273
4693
|
}
|
|
@@ -4279,25 +4699,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4279
4699
|
protoOf(EmptyList).toString = function () {
|
|
4280
4700
|
return '[]';
|
|
4281
4701
|
};
|
|
4282
|
-
protoOf(EmptyList).
|
|
4702
|
+
protoOf(EmptyList).j = function () {
|
|
4283
4703
|
return 0;
|
|
4284
4704
|
};
|
|
4285
|
-
protoOf(EmptyList).
|
|
4705
|
+
protoOf(EmptyList).y = function () {
|
|
4286
4706
|
return true;
|
|
4287
4707
|
};
|
|
4288
|
-
protoOf(EmptyList).
|
|
4289
|
-
return elements.
|
|
4708
|
+
protoOf(EmptyList).k8 = function (elements) {
|
|
4709
|
+
return elements.y();
|
|
4290
4710
|
};
|
|
4291
|
-
protoOf(EmptyList).
|
|
4292
|
-
return this.
|
|
4711
|
+
protoOf(EmptyList).n1 = function (elements) {
|
|
4712
|
+
return this.k8(elements);
|
|
4293
4713
|
};
|
|
4294
|
-
protoOf(EmptyList).
|
|
4714
|
+
protoOf(EmptyList).k = function (index) {
|
|
4295
4715
|
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
|
|
4296
4716
|
};
|
|
4297
|
-
protoOf(EmptyList).
|
|
4717
|
+
protoOf(EmptyList).l8 = function (element) {
|
|
4298
4718
|
return -1;
|
|
4299
4719
|
};
|
|
4300
|
-
protoOf(EmptyList).
|
|
4720
|
+
protoOf(EmptyList).o1 = function (element) {
|
|
4301
4721
|
if (!false)
|
|
4302
4722
|
return -1;
|
|
4303
4723
|
var tmp;
|
|
@@ -4306,9 +4726,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4306
4726
|
} else {
|
|
4307
4727
|
tmp = THROW_CCE();
|
|
4308
4728
|
}
|
|
4309
|
-
return this.
|
|
4729
|
+
return this.l8(tmp);
|
|
4310
4730
|
};
|
|
4311
|
-
protoOf(EmptyList).
|
|
4731
|
+
protoOf(EmptyList).g = function () {
|
|
4312
4732
|
return EmptyIterator_instance;
|
|
4313
4733
|
};
|
|
4314
4734
|
var EmptyList_instance;
|
|
@@ -4318,26 +4738,26 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4318
4738
|
return EmptyList_instance;
|
|
4319
4739
|
}
|
|
4320
4740
|
function ArrayAsCollection(values, isVarargs) {
|
|
4321
|
-
this.
|
|
4322
|
-
this.
|
|
4741
|
+
this.m8_1 = values;
|
|
4742
|
+
this.n8_1 = isVarargs;
|
|
4323
4743
|
}
|
|
4324
|
-
protoOf(ArrayAsCollection).
|
|
4325
|
-
return this.
|
|
4744
|
+
protoOf(ArrayAsCollection).j = function () {
|
|
4745
|
+
return this.m8_1.length;
|
|
4326
4746
|
};
|
|
4327
|
-
protoOf(ArrayAsCollection).
|
|
4747
|
+
protoOf(ArrayAsCollection).y = function () {
|
|
4328
4748
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
4329
|
-
return this.
|
|
4749
|
+
return this.m8_1.length === 0;
|
|
4330
4750
|
};
|
|
4331
|
-
protoOf(ArrayAsCollection).
|
|
4332
|
-
return contains(this.
|
|
4751
|
+
protoOf(ArrayAsCollection).o8 = function (element) {
|
|
4752
|
+
return contains(this.m8_1, element);
|
|
4333
4753
|
};
|
|
4334
|
-
protoOf(ArrayAsCollection).
|
|
4754
|
+
protoOf(ArrayAsCollection).p8 = function (elements) {
|
|
4335
4755
|
var tmp$ret$0;
|
|
4336
4756
|
$l$block_0: {
|
|
4337
4757
|
// Inline function 'kotlin.collections.all' call
|
|
4338
4758
|
var tmp;
|
|
4339
4759
|
if (isInterface(elements, Collection)) {
|
|
4340
|
-
tmp = elements.
|
|
4760
|
+
tmp = elements.y();
|
|
4341
4761
|
} else {
|
|
4342
4762
|
tmp = false;
|
|
4343
4763
|
}
|
|
@@ -4345,11 +4765,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4345
4765
|
tmp$ret$0 = true;
|
|
4346
4766
|
break $l$block_0;
|
|
4347
4767
|
}
|
|
4348
|
-
var tmp0_iterator = elements.
|
|
4349
|
-
while (tmp0_iterator.
|
|
4350
|
-
var element = tmp0_iterator.
|
|
4768
|
+
var tmp0_iterator = elements.g();
|
|
4769
|
+
while (tmp0_iterator.h()) {
|
|
4770
|
+
var element = tmp0_iterator.i();
|
|
4351
4771
|
// Inline function 'kotlin.collections.ArrayAsCollection.containsAll.<anonymous>' call
|
|
4352
|
-
if (!this.
|
|
4772
|
+
if (!this.o8(element)) {
|
|
4353
4773
|
tmp$ret$0 = false;
|
|
4354
4774
|
break $l$block_0;
|
|
4355
4775
|
}
|
|
@@ -4358,18 +4778,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4358
4778
|
}
|
|
4359
4779
|
return tmp$ret$0;
|
|
4360
4780
|
};
|
|
4361
|
-
protoOf(ArrayAsCollection).
|
|
4362
|
-
return this.
|
|
4781
|
+
protoOf(ArrayAsCollection).n1 = function (elements) {
|
|
4782
|
+
return this.p8(elements);
|
|
4363
4783
|
};
|
|
4364
|
-
protoOf(ArrayAsCollection).
|
|
4365
|
-
return arrayIterator(this.
|
|
4784
|
+
protoOf(ArrayAsCollection).g = function () {
|
|
4785
|
+
return arrayIterator(this.m8_1);
|
|
4366
4786
|
};
|
|
4367
4787
|
function EmptyIterator() {
|
|
4368
4788
|
}
|
|
4369
|
-
protoOf(EmptyIterator).
|
|
4789
|
+
protoOf(EmptyIterator).h = function () {
|
|
4370
4790
|
return false;
|
|
4371
4791
|
};
|
|
4372
|
-
protoOf(EmptyIterator).
|
|
4792
|
+
protoOf(EmptyIterator).i = function () {
|
|
4373
4793
|
throw NoSuchElementException_init_$Create$();
|
|
4374
4794
|
};
|
|
4375
4795
|
var EmptyIterator_instance;
|
|
@@ -4377,15 +4797,27 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4377
4797
|
return EmptyIterator_instance;
|
|
4378
4798
|
}
|
|
4379
4799
|
function get_lastIndex(_this__u8e3s4) {
|
|
4380
|
-
return _this__u8e3s4.
|
|
4800
|
+
return _this__u8e3s4.j() - 1 | 0;
|
|
4381
4801
|
}
|
|
4382
4802
|
function arrayListOf(elements) {
|
|
4383
4803
|
return elements.length === 0 ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, true));
|
|
4384
4804
|
}
|
|
4805
|
+
function throwIndexOverflow() {
|
|
4806
|
+
throw ArithmeticException_init_$Create$_0('Index overflow has happened.');
|
|
4807
|
+
}
|
|
4808
|
+
function flatten(_this__u8e3s4) {
|
|
4809
|
+
var result = ArrayList_init_$Create$();
|
|
4810
|
+
var tmp0_iterator = _this__u8e3s4.g();
|
|
4811
|
+
while (tmp0_iterator.h()) {
|
|
4812
|
+
var element = tmp0_iterator.i();
|
|
4813
|
+
addAll(result, element);
|
|
4814
|
+
}
|
|
4815
|
+
return result;
|
|
4816
|
+
}
|
|
4385
4817
|
function collectionSizeOrDefault(_this__u8e3s4, default_0) {
|
|
4386
4818
|
var tmp;
|
|
4387
4819
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
4388
|
-
tmp = _this__u8e3s4.
|
|
4820
|
+
tmp = _this__u8e3s4.j();
|
|
4389
4821
|
} else {
|
|
4390
4822
|
tmp = default_0;
|
|
4391
4823
|
}
|
|
@@ -4393,87 +4825,101 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4393
4825
|
}
|
|
4394
4826
|
function removeLast(_this__u8e3s4) {
|
|
4395
4827
|
var tmp;
|
|
4396
|
-
if (_this__u8e3s4.
|
|
4828
|
+
if (_this__u8e3s4.y()) {
|
|
4397
4829
|
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
4398
4830
|
} else {
|
|
4399
|
-
tmp = _this__u8e3s4.
|
|
4831
|
+
tmp = _this__u8e3s4.h3(get_lastIndex(_this__u8e3s4));
|
|
4400
4832
|
}
|
|
4401
4833
|
return tmp;
|
|
4402
4834
|
}
|
|
4835
|
+
function addAll(_this__u8e3s4, elements) {
|
|
4836
|
+
if (isInterface(elements, Collection))
|
|
4837
|
+
return _this__u8e3s4.a3(elements);
|
|
4838
|
+
else {
|
|
4839
|
+
var result = false;
|
|
4840
|
+
var tmp1_iterator = elements.g();
|
|
4841
|
+
while (tmp1_iterator.h()) {
|
|
4842
|
+
var item = tmp1_iterator.i();
|
|
4843
|
+
if (_this__u8e3s4.d(item))
|
|
4844
|
+
result = true;
|
|
4845
|
+
}
|
|
4846
|
+
return result;
|
|
4847
|
+
}
|
|
4848
|
+
}
|
|
4403
4849
|
function IntIterator() {
|
|
4404
4850
|
}
|
|
4405
|
-
protoOf(IntIterator).
|
|
4406
|
-
return this.
|
|
4851
|
+
protoOf(IntIterator).i = function () {
|
|
4852
|
+
return this.q8();
|
|
4407
4853
|
};
|
|
4408
4854
|
function CharIterator() {
|
|
4409
4855
|
}
|
|
4410
|
-
protoOf(CharIterator).
|
|
4411
|
-
return this.
|
|
4856
|
+
protoOf(CharIterator).r8 = function () {
|
|
4857
|
+
return this.s8();
|
|
4412
4858
|
};
|
|
4413
|
-
protoOf(CharIterator).
|
|
4414
|
-
return new Char(this.
|
|
4859
|
+
protoOf(CharIterator).i = function () {
|
|
4860
|
+
return new Char(this.r8());
|
|
4415
4861
|
};
|
|
4416
4862
|
function generateSequence(seedFunction, nextFunction) {
|
|
4417
4863
|
return new GeneratorSequence(seedFunction, nextFunction);
|
|
4418
4864
|
}
|
|
4419
4865
|
function TransformingSequence$iterator$1(this$0) {
|
|
4420
|
-
this.
|
|
4421
|
-
this.
|
|
4866
|
+
this.u8_1 = this$0;
|
|
4867
|
+
this.t8_1 = this$0.v8_1.g();
|
|
4422
4868
|
}
|
|
4423
|
-
protoOf(TransformingSequence$iterator$1).
|
|
4424
|
-
return this.
|
|
4869
|
+
protoOf(TransformingSequence$iterator$1).i = function () {
|
|
4870
|
+
return this.u8_1.w8_1(this.t8_1.i());
|
|
4425
4871
|
};
|
|
4426
|
-
protoOf(TransformingSequence$iterator$1).
|
|
4427
|
-
return this.
|
|
4872
|
+
protoOf(TransformingSequence$iterator$1).h = function () {
|
|
4873
|
+
return this.t8_1.h();
|
|
4428
4874
|
};
|
|
4429
4875
|
function TransformingSequence(sequence, transformer) {
|
|
4430
|
-
this.
|
|
4431
|
-
this.
|
|
4876
|
+
this.v8_1 = sequence;
|
|
4877
|
+
this.w8_1 = transformer;
|
|
4432
4878
|
}
|
|
4433
|
-
protoOf(TransformingSequence).
|
|
4879
|
+
protoOf(TransformingSequence).g = function () {
|
|
4434
4880
|
return new TransformingSequence$iterator$1(this);
|
|
4435
4881
|
};
|
|
4436
4882
|
function calcNext($this) {
|
|
4437
|
-
$this.
|
|
4438
|
-
$this.
|
|
4883
|
+
$this.x8_1 = $this.y8_1 === -2 ? $this.z8_1.a9_1() : $this.z8_1.b9_1(ensureNotNull($this.x8_1));
|
|
4884
|
+
$this.y8_1 = $this.x8_1 == null ? 0 : 1;
|
|
4439
4885
|
}
|
|
4440
4886
|
function GeneratorSequence$iterator$1(this$0) {
|
|
4441
|
-
this.
|
|
4442
|
-
this.
|
|
4443
|
-
this.
|
|
4887
|
+
this.z8_1 = this$0;
|
|
4888
|
+
this.x8_1 = null;
|
|
4889
|
+
this.y8_1 = -2;
|
|
4444
4890
|
}
|
|
4445
|
-
protoOf(GeneratorSequence$iterator$1).
|
|
4446
|
-
if (this.
|
|
4891
|
+
protoOf(GeneratorSequence$iterator$1).i = function () {
|
|
4892
|
+
if (this.y8_1 < 0) {
|
|
4447
4893
|
calcNext(this);
|
|
4448
4894
|
}
|
|
4449
|
-
if (this.
|
|
4895
|
+
if (this.y8_1 === 0)
|
|
4450
4896
|
throw NoSuchElementException_init_$Create$();
|
|
4451
|
-
var tmp = this.
|
|
4897
|
+
var tmp = this.x8_1;
|
|
4452
4898
|
var result = !(tmp == null) ? tmp : THROW_CCE();
|
|
4453
|
-
this.
|
|
4899
|
+
this.y8_1 = -1;
|
|
4454
4900
|
return result;
|
|
4455
4901
|
};
|
|
4456
|
-
protoOf(GeneratorSequence$iterator$1).
|
|
4457
|
-
if (this.
|
|
4902
|
+
protoOf(GeneratorSequence$iterator$1).h = function () {
|
|
4903
|
+
if (this.y8_1 < 0) {
|
|
4458
4904
|
calcNext(this);
|
|
4459
4905
|
}
|
|
4460
|
-
return this.
|
|
4906
|
+
return this.y8_1 === 1;
|
|
4461
4907
|
};
|
|
4462
4908
|
function GeneratorSequence(getInitialValue, getNextValue) {
|
|
4463
|
-
this.
|
|
4464
|
-
this.
|
|
4909
|
+
this.a9_1 = getInitialValue;
|
|
4910
|
+
this.b9_1 = getNextValue;
|
|
4465
4911
|
}
|
|
4466
|
-
protoOf(GeneratorSequence).
|
|
4912
|
+
protoOf(GeneratorSequence).g = function () {
|
|
4467
4913
|
return new GeneratorSequence$iterator$1(this);
|
|
4468
4914
|
};
|
|
4469
4915
|
function EmptySet() {
|
|
4470
4916
|
EmptySet_instance = this;
|
|
4471
|
-
this.
|
|
4917
|
+
this.c9_1 = new Long(1993859828, 793161749);
|
|
4472
4918
|
}
|
|
4473
4919
|
protoOf(EmptySet).equals = function (other) {
|
|
4474
4920
|
var tmp;
|
|
4475
4921
|
if (!(other == null) ? isInterface(other, KtSet) : false) {
|
|
4476
|
-
tmp = other.
|
|
4922
|
+
tmp = other.y();
|
|
4477
4923
|
} else {
|
|
4478
4924
|
tmp = false;
|
|
4479
4925
|
}
|
|
@@ -4485,19 +4931,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4485
4931
|
protoOf(EmptySet).toString = function () {
|
|
4486
4932
|
return '[]';
|
|
4487
4933
|
};
|
|
4488
|
-
protoOf(EmptySet).
|
|
4934
|
+
protoOf(EmptySet).j = function () {
|
|
4489
4935
|
return 0;
|
|
4490
4936
|
};
|
|
4491
|
-
protoOf(EmptySet).
|
|
4937
|
+
protoOf(EmptySet).y = function () {
|
|
4492
4938
|
return true;
|
|
4493
4939
|
};
|
|
4494
|
-
protoOf(EmptySet).
|
|
4495
|
-
return elements.
|
|
4940
|
+
protoOf(EmptySet).k8 = function (elements) {
|
|
4941
|
+
return elements.y();
|
|
4496
4942
|
};
|
|
4497
|
-
protoOf(EmptySet).
|
|
4498
|
-
return this.
|
|
4943
|
+
protoOf(EmptySet).n1 = function (elements) {
|
|
4944
|
+
return this.k8(elements);
|
|
4499
4945
|
};
|
|
4500
|
-
protoOf(EmptySet).
|
|
4946
|
+
protoOf(EmptySet).g = function () {
|
|
4501
4947
|
return EmptyIterator_instance;
|
|
4502
4948
|
};
|
|
4503
4949
|
var EmptySet_instance;
|
|
@@ -4510,11 +4956,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4510
4956
|
return EmptySet_getInstance();
|
|
4511
4957
|
}
|
|
4512
4958
|
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
4513
|
-
switch (_this__u8e3s4.
|
|
4959
|
+
switch (_this__u8e3s4.j()) {
|
|
4514
4960
|
case 0:
|
|
4515
4961
|
return emptySet();
|
|
4516
4962
|
case 1:
|
|
4517
|
-
return setOf(_this__u8e3s4.
|
|
4963
|
+
return setOf(_this__u8e3s4.g().i());
|
|
4518
4964
|
default:
|
|
4519
4965
|
return _this__u8e3s4;
|
|
4520
4966
|
}
|
|
@@ -4543,13 +4989,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4543
4989
|
function Default() {
|
|
4544
4990
|
Default_instance = this;
|
|
4545
4991
|
Random.call(this);
|
|
4546
|
-
this.
|
|
4992
|
+
this.d9_1 = defaultPlatformRandom();
|
|
4547
4993
|
}
|
|
4548
|
-
protoOf(Default).
|
|
4549
|
-
return this.
|
|
4994
|
+
protoOf(Default).e9 = function (bitCount) {
|
|
4995
|
+
return this.d9_1.e9(bitCount);
|
|
4550
4996
|
};
|
|
4551
|
-
protoOf(Default).
|
|
4552
|
-
return this.
|
|
4997
|
+
protoOf(Default).f9 = function () {
|
|
4998
|
+
return this.d9_1.f9();
|
|
4553
4999
|
};
|
|
4554
5000
|
var Default_instance;
|
|
4555
5001
|
function Default_getInstance() {
|
|
@@ -4560,8 +5006,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4560
5006
|
function Random() {
|
|
4561
5007
|
Default_getInstance();
|
|
4562
5008
|
}
|
|
4563
|
-
protoOf(Random).
|
|
4564
|
-
return doubleFromParts(this.
|
|
5009
|
+
protoOf(Random).f9 = function () {
|
|
5010
|
+
return doubleFromParts(this.e9(26), this.e9(27));
|
|
4565
5011
|
};
|
|
4566
5012
|
function Random_0(seed) {
|
|
4567
5013
|
return XorWowRandom_init_$Create$(seed, seed >> 31);
|
|
@@ -4576,28 +5022,28 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4576
5022
|
function XorWowRandom_init_$Create$(seed1, seed2) {
|
|
4577
5023
|
return XorWowRandom_init_$Init$(seed1, seed2, objectCreate(protoOf(XorWowRandom)));
|
|
4578
5024
|
}
|
|
4579
|
-
function
|
|
4580
|
-
|
|
4581
|
-
this.
|
|
5025
|
+
function Companion_8() {
|
|
5026
|
+
Companion_instance_8 = this;
|
|
5027
|
+
this.g9_1 = new Long(0, 0);
|
|
4582
5028
|
}
|
|
4583
|
-
var
|
|
4584
|
-
function
|
|
4585
|
-
if (
|
|
4586
|
-
new
|
|
4587
|
-
return
|
|
5029
|
+
var Companion_instance_8;
|
|
5030
|
+
function Companion_getInstance_8() {
|
|
5031
|
+
if (Companion_instance_8 == null)
|
|
5032
|
+
new Companion_8();
|
|
5033
|
+
return Companion_instance_8;
|
|
4588
5034
|
}
|
|
4589
5035
|
function XorWowRandom(x, y, z, w, v, addend) {
|
|
4590
|
-
|
|
5036
|
+
Companion_getInstance_8();
|
|
4591
5037
|
Random.call(this);
|
|
4592
|
-
this.
|
|
4593
|
-
this.
|
|
4594
|
-
this.
|
|
4595
|
-
this.
|
|
4596
|
-
this.
|
|
4597
|
-
this.
|
|
5038
|
+
this.h9_1 = x;
|
|
5039
|
+
this.i9_1 = y;
|
|
5040
|
+
this.j9_1 = z;
|
|
5041
|
+
this.k9_1 = w;
|
|
5042
|
+
this.l9_1 = v;
|
|
5043
|
+
this.m9_1 = addend;
|
|
4598
5044
|
// Inline function 'kotlin.require' call
|
|
4599
5045
|
// Inline function 'kotlin.contracts.contract' call
|
|
4600
|
-
if (!!((this.
|
|
5046
|
+
if (!!((this.h9_1 | this.i9_1 | this.j9_1 | this.k9_1 | this.l9_1) === 0)) {
|
|
4601
5047
|
// Inline function 'kotlin.random.XorWowRandom.<anonymous>' call
|
|
4602
5048
|
var message = 'Initial state must have at least one non-zero element.';
|
|
4603
5049
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
@@ -4610,123 +5056,123 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4610
5056
|
var index = inductionVariable;
|
|
4611
5057
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4612
5058
|
// Inline function 'kotlin.random.XorWowRandom.<anonymous>' call
|
|
4613
|
-
this.
|
|
5059
|
+
this.q8();
|
|
4614
5060
|
}
|
|
4615
5061
|
while (inductionVariable < 64);
|
|
4616
5062
|
}
|
|
4617
|
-
protoOf(XorWowRandom).
|
|
4618
|
-
var t = this.
|
|
5063
|
+
protoOf(XorWowRandom).q8 = function () {
|
|
5064
|
+
var t = this.h9_1;
|
|
4619
5065
|
t = t ^ (t >>> 2 | 0);
|
|
4620
|
-
this.
|
|
4621
|
-
this.
|
|
4622
|
-
this.
|
|
4623
|
-
var v0 = this.
|
|
4624
|
-
this.
|
|
5066
|
+
this.h9_1 = this.i9_1;
|
|
5067
|
+
this.i9_1 = this.j9_1;
|
|
5068
|
+
this.j9_1 = this.k9_1;
|
|
5069
|
+
var v0 = this.l9_1;
|
|
5070
|
+
this.k9_1 = v0;
|
|
4625
5071
|
t = t ^ t << 1 ^ v0 ^ v0 << 4;
|
|
4626
|
-
this.
|
|
4627
|
-
this.
|
|
4628
|
-
return t + this.
|
|
5072
|
+
this.l9_1 = t;
|
|
5073
|
+
this.m9_1 = this.m9_1 + 362437 | 0;
|
|
5074
|
+
return t + this.m9_1 | 0;
|
|
4629
5075
|
};
|
|
4630
|
-
protoOf(XorWowRandom).
|
|
4631
|
-
return takeUpperBits(this.
|
|
5076
|
+
protoOf(XorWowRandom).e9 = function (bitCount) {
|
|
5077
|
+
return takeUpperBits(this.q8(), bitCount);
|
|
4632
5078
|
};
|
|
4633
|
-
function
|
|
4634
|
-
|
|
4635
|
-
this.
|
|
5079
|
+
function Companion_9() {
|
|
5080
|
+
Companion_instance_9 = this;
|
|
5081
|
+
this.m_1 = new IntRange(1, 0);
|
|
4636
5082
|
}
|
|
4637
|
-
var
|
|
4638
|
-
function
|
|
4639
|
-
if (
|
|
4640
|
-
new
|
|
4641
|
-
return
|
|
5083
|
+
var Companion_instance_9;
|
|
5084
|
+
function Companion_getInstance_9() {
|
|
5085
|
+
if (Companion_instance_9 == null)
|
|
5086
|
+
new Companion_9();
|
|
5087
|
+
return Companion_instance_9;
|
|
4642
5088
|
}
|
|
4643
5089
|
function IntRange(start, endInclusive) {
|
|
4644
|
-
|
|
5090
|
+
Companion_getInstance_9();
|
|
4645
5091
|
IntProgression.call(this, start, endInclusive, 1);
|
|
4646
5092
|
}
|
|
4647
|
-
protoOf(IntRange).
|
|
4648
|
-
return this.m_1;
|
|
4649
|
-
};
|
|
4650
|
-
protoOf(IntRange).t6 = function () {
|
|
5093
|
+
protoOf(IntRange).p7 = function () {
|
|
4651
5094
|
return this.n_1;
|
|
4652
5095
|
};
|
|
4653
|
-
protoOf(IntRange).
|
|
4654
|
-
return this.
|
|
5096
|
+
protoOf(IntRange).q7 = function () {
|
|
5097
|
+
return this.o_1;
|
|
5098
|
+
};
|
|
5099
|
+
protoOf(IntRange).y = function () {
|
|
5100
|
+
return this.n_1 > this.o_1;
|
|
4655
5101
|
};
|
|
4656
5102
|
protoOf(IntRange).equals = function (other) {
|
|
4657
5103
|
var tmp;
|
|
4658
5104
|
if (other instanceof IntRange) {
|
|
4659
|
-
tmp = this.
|
|
5105
|
+
tmp = this.y() && other.y() || (this.n_1 === other.n_1 && this.o_1 === other.o_1);
|
|
4660
5106
|
} else {
|
|
4661
5107
|
tmp = false;
|
|
4662
5108
|
}
|
|
4663
5109
|
return tmp;
|
|
4664
5110
|
};
|
|
4665
5111
|
protoOf(IntRange).hashCode = function () {
|
|
4666
|
-
return this.
|
|
5112
|
+
return this.y() ? -1 : imul(31, this.n_1) + this.o_1 | 0;
|
|
4667
5113
|
};
|
|
4668
5114
|
protoOf(IntRange).toString = function () {
|
|
4669
|
-
return '' + this.
|
|
5115
|
+
return '' + this.n_1 + '..' + this.o_1;
|
|
4670
5116
|
};
|
|
4671
5117
|
function IntProgressionIterator(first, last, step) {
|
|
4672
5118
|
IntIterator.call(this);
|
|
4673
|
-
this.
|
|
4674
|
-
this.
|
|
4675
|
-
this.
|
|
4676
|
-
this.
|
|
4677
|
-
}
|
|
4678
|
-
protoOf(IntProgressionIterator).
|
|
4679
|
-
return this.
|
|
4680
|
-
};
|
|
4681
|
-
protoOf(IntProgressionIterator).
|
|
4682
|
-
var value = this.
|
|
4683
|
-
if (value === this.
|
|
4684
|
-
if (!this.
|
|
5119
|
+
this.n9_1 = step;
|
|
5120
|
+
this.o9_1 = last;
|
|
5121
|
+
this.p9_1 = this.n9_1 > 0 ? first <= last : first >= last;
|
|
5122
|
+
this.q9_1 = this.p9_1 ? first : this.o9_1;
|
|
5123
|
+
}
|
|
5124
|
+
protoOf(IntProgressionIterator).h = function () {
|
|
5125
|
+
return this.p9_1;
|
|
5126
|
+
};
|
|
5127
|
+
protoOf(IntProgressionIterator).q8 = function () {
|
|
5128
|
+
var value = this.q9_1;
|
|
5129
|
+
if (value === this.o9_1) {
|
|
5130
|
+
if (!this.p9_1)
|
|
4685
5131
|
throw NoSuchElementException_init_$Create$();
|
|
4686
|
-
this.
|
|
5132
|
+
this.p9_1 = false;
|
|
4687
5133
|
} else {
|
|
4688
|
-
this.
|
|
5134
|
+
this.q9_1 = this.q9_1 + this.n9_1 | 0;
|
|
4689
5135
|
}
|
|
4690
5136
|
return value;
|
|
4691
5137
|
};
|
|
4692
|
-
function
|
|
5138
|
+
function Companion_10() {
|
|
4693
5139
|
}
|
|
4694
|
-
protoOf(
|
|
5140
|
+
protoOf(Companion_10).q = function (rangeStart, rangeEnd, step) {
|
|
4695
5141
|
return new IntProgression(rangeStart, rangeEnd, step);
|
|
4696
5142
|
};
|
|
4697
|
-
var
|
|
4698
|
-
function
|
|
4699
|
-
return
|
|
5143
|
+
var Companion_instance_10;
|
|
5144
|
+
function Companion_getInstance_10() {
|
|
5145
|
+
return Companion_instance_10;
|
|
4700
5146
|
}
|
|
4701
5147
|
function IntProgression(start, endInclusive, step) {
|
|
4702
5148
|
if (step === 0)
|
|
4703
5149
|
throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
|
|
4704
5150
|
if (step === -2147483648)
|
|
4705
5151
|
throw IllegalArgumentException_init_$Create$_0('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
|
|
4706
|
-
this.
|
|
4707
|
-
this.
|
|
4708
|
-
this.
|
|
5152
|
+
this.n_1 = start;
|
|
5153
|
+
this.o_1 = getProgressionLastElement(start, endInclusive, step);
|
|
5154
|
+
this.p_1 = step;
|
|
4709
5155
|
}
|
|
4710
|
-
protoOf(IntProgression).
|
|
4711
|
-
return new IntProgressionIterator(this.
|
|
5156
|
+
protoOf(IntProgression).g = function () {
|
|
5157
|
+
return new IntProgressionIterator(this.n_1, this.o_1, this.p_1);
|
|
4712
5158
|
};
|
|
4713
|
-
protoOf(IntProgression).
|
|
4714
|
-
return this.
|
|
5159
|
+
protoOf(IntProgression).y = function () {
|
|
5160
|
+
return this.p_1 > 0 ? this.n_1 > this.o_1 : this.n_1 < this.o_1;
|
|
4715
5161
|
};
|
|
4716
5162
|
protoOf(IntProgression).equals = function (other) {
|
|
4717
5163
|
var tmp;
|
|
4718
5164
|
if (other instanceof IntProgression) {
|
|
4719
|
-
tmp = this.
|
|
5165
|
+
tmp = this.y() && other.y() || (this.n_1 === other.n_1 && this.o_1 === other.o_1 && this.p_1 === other.p_1);
|
|
4720
5166
|
} else {
|
|
4721
5167
|
tmp = false;
|
|
4722
5168
|
}
|
|
4723
5169
|
return tmp;
|
|
4724
5170
|
};
|
|
4725
5171
|
protoOf(IntProgression).hashCode = function () {
|
|
4726
|
-
return this.
|
|
5172
|
+
return this.y() ? -1 : imul(31, imul(31, this.n_1) + this.o_1 | 0) + this.p_1 | 0;
|
|
4727
5173
|
};
|
|
4728
5174
|
protoOf(IntProgression).toString = function () {
|
|
4729
|
-
return this.
|
|
5175
|
+
return this.p_1 > 0 ? '' + this.n_1 + '..' + this.o_1 + ' step ' + this.p_1 : '' + this.n_1 + ' downTo ' + this.o_1 + ' step ' + (-this.p_1 | 0);
|
|
4730
5176
|
};
|
|
4731
5177
|
function checkStepIsPositive(isPositive, step) {
|
|
4732
5178
|
if (!isPositive)
|
|
@@ -4740,7 +5186,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4740
5186
|
_this__u8e3s4.e(element);
|
|
4741
5187
|
} else {
|
|
4742
5188
|
if (element instanceof Char) {
|
|
4743
|
-
_this__u8e3s4.
|
|
5189
|
+
_this__u8e3s4.f(element.z_1);
|
|
4744
5190
|
} else {
|
|
4745
5191
|
_this__u8e3s4.e(toString_0(element));
|
|
4746
5192
|
}
|
|
@@ -4783,34 +5229,34 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4783
5229
|
var HEX_DIGITS_TO_DECIMAL;
|
|
4784
5230
|
var HEX_DIGITS_TO_LONG_DECIMAL;
|
|
4785
5231
|
function hexToByte(_this__u8e3s4, format) {
|
|
4786
|
-
format = format === VOID ?
|
|
5232
|
+
format = format === VOID ? Companion_getInstance_13().r9_1 : format;
|
|
4787
5233
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4788
5234
|
return hexToByte_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
4789
5235
|
}
|
|
4790
5236
|
function hexToByteArray(_this__u8e3s4, format) {
|
|
4791
|
-
format = format === VOID ?
|
|
5237
|
+
format = format === VOID ? Companion_getInstance_13().r9_1 : format;
|
|
4792
5238
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4793
5239
|
return hexToByteArray_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
4794
5240
|
}
|
|
4795
5241
|
function hexToByte_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
4796
5242
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
4797
5243
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
4798
|
-
format = format === VOID ?
|
|
5244
|
+
format = format === VOID ? Companion_getInstance_13().r9_1 : format;
|
|
4799
5245
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4800
5246
|
return toByte(hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, 2));
|
|
4801
5247
|
}
|
|
4802
5248
|
function hexToByteArray_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
4803
5249
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
4804
5250
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
4805
|
-
format = format === VOID ?
|
|
5251
|
+
format = format === VOID ? Companion_getInstance_13().r9_1 : format;
|
|
4806
5252
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4807
|
-
Companion_instance_5.
|
|
5253
|
+
Companion_instance_5.w6(startIndex, endIndex, _this__u8e3s4.length);
|
|
4808
5254
|
if (startIndex === endIndex) {
|
|
4809
5255
|
// Inline function 'kotlin.byteArrayOf' call
|
|
4810
5256
|
return new Int8Array([]);
|
|
4811
5257
|
}
|
|
4812
|
-
var bytesFormat = format.
|
|
4813
|
-
if (bytesFormat.
|
|
5258
|
+
var bytesFormat = format.u9_1;
|
|
5259
|
+
if (bytesFormat.ca_1) {
|
|
4814
5260
|
var tmp0_safe_receiver = hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
4815
5261
|
if (tmp0_safe_receiver == null)
|
|
4816
5262
|
null;
|
|
@@ -4822,35 +5268,35 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4822
5268
|
}
|
|
4823
5269
|
return hexToByteArraySlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
4824
5270
|
}
|
|
4825
|
-
function hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format,
|
|
5271
|
+
function hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, typeHexLength) {
|
|
4826
5272
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4827
|
-
Companion_instance_5.
|
|
4828
|
-
var numberFormat = format.
|
|
4829
|
-
if (numberFormat.
|
|
4830
|
-
|
|
5273
|
+
Companion_instance_5.w6(startIndex, endIndex, _this__u8e3s4.length);
|
|
5274
|
+
var numberFormat = format.v9_1;
|
|
5275
|
+
if (numberFormat.ja_1) {
|
|
5276
|
+
checkNumberOfDigits(_this__u8e3s4, startIndex, endIndex, typeHexLength);
|
|
4831
5277
|
return parseInt(_this__u8e3s4, startIndex, endIndex);
|
|
4832
5278
|
}
|
|
4833
|
-
var prefix = numberFormat.
|
|
4834
|
-
var suffix = numberFormat.
|
|
4835
|
-
|
|
5279
|
+
var prefix = numberFormat.fa_1;
|
|
5280
|
+
var suffix = numberFormat.ga_1;
|
|
5281
|
+
checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, numberFormat.la_1, typeHexLength);
|
|
4836
5282
|
return parseInt(_this__u8e3s4, startIndex + prefix.length | 0, endIndex - suffix.length | 0);
|
|
4837
5283
|
}
|
|
4838
5284
|
function hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
4839
5285
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4840
|
-
if (bytesFormat.
|
|
5286
|
+
if (bytesFormat.da_1) {
|
|
4841
5287
|
return hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
4842
5288
|
}
|
|
4843
5289
|
return hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
4844
5290
|
}
|
|
4845
5291
|
function hexToByteArraySlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
4846
5292
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4847
|
-
var bytesPerLine = bytesFormat.
|
|
4848
|
-
var bytesPerGroup = bytesFormat.
|
|
4849
|
-
var bytePrefix = bytesFormat.
|
|
4850
|
-
var byteSuffix = bytesFormat.
|
|
4851
|
-
var byteSeparator = bytesFormat.
|
|
4852
|
-
var groupSeparator = bytesFormat.
|
|
4853
|
-
var ignoreCase = bytesFormat.
|
|
5293
|
+
var bytesPerLine = bytesFormat.w9_1;
|
|
5294
|
+
var bytesPerGroup = bytesFormat.x9_1;
|
|
5295
|
+
var bytePrefix = bytesFormat.aa_1;
|
|
5296
|
+
var byteSuffix = bytesFormat.ba_1;
|
|
5297
|
+
var byteSeparator = bytesFormat.z9_1;
|
|
5298
|
+
var groupSeparator = bytesFormat.y9_1;
|
|
5299
|
+
var ignoreCase = bytesFormat.ea_1;
|
|
4854
5300
|
var parseMaxSize = parsedByteArrayMaxSize(endIndex - startIndex | 0, bytesPerLine, bytesPerGroup, groupSeparator.length, byteSeparator.length, bytePrefix.length, byteSuffix.length);
|
|
4855
5301
|
var byteArray = new Int8Array(parseMaxSize);
|
|
4856
5302
|
var charIndex = startIndex;
|
|
@@ -4941,7 +5387,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4941
5387
|
}
|
|
4942
5388
|
charIndex = tmp$ret$5;
|
|
4943
5389
|
if ((endIndex - 2 | 0) < charIndex) {
|
|
4944
|
-
throwInvalidNumberOfDigits(_this__u8e3s4, charIndex, endIndex,
|
|
5390
|
+
throwInvalidNumberOfDigits(_this__u8e3s4, charIndex, endIndex, 'exactly', 2);
|
|
4945
5391
|
}
|
|
4946
5392
|
var tmp0 = byteIndex;
|
|
4947
5393
|
byteIndex = tmp0 + 1 | 0;
|
|
@@ -4973,10 +5419,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4973
5419
|
}
|
|
4974
5420
|
return byteIndex === byteArray.length ? byteArray : copyOf_0(byteArray, byteIndex);
|
|
4975
5421
|
}
|
|
4976
|
-
function
|
|
5422
|
+
function checkNumberOfDigits(_this__u8e3s4, startIndex, endIndex, typeHexLength) {
|
|
4977
5423
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4978
|
-
|
|
4979
|
-
|
|
5424
|
+
var digits = endIndex - startIndex | 0;
|
|
5425
|
+
if (digits < 1) {
|
|
5426
|
+
throwInvalidNumberOfDigits(_this__u8e3s4, startIndex, endIndex, 'at least', 1);
|
|
5427
|
+
} else if (digits > typeHexLength) {
|
|
5428
|
+
checkZeroDigits(_this__u8e3s4, startIndex, (startIndex + digits | 0) - typeHexLength | 0);
|
|
4980
5429
|
}
|
|
4981
5430
|
}
|
|
4982
5431
|
function parseInt(_this__u8e3s4, startIndex, endIndex) {
|
|
@@ -5005,7 +5454,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5005
5454
|
while (inductionVariable < endIndex);
|
|
5006
5455
|
return result;
|
|
5007
5456
|
}
|
|
5008
|
-
function
|
|
5457
|
+
function checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, ignoreCase, typeHexLength) {
|
|
5009
5458
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5010
5459
|
if (((endIndex - startIndex | 0) - prefix.length | 0) <= suffix.length) {
|
|
5011
5460
|
throwInvalidPrefixSuffix(_this__u8e3s4, startIndex, endIndex, prefix, suffix);
|
|
@@ -5052,11 +5501,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5052
5501
|
while (inductionVariable_0 <= last_0);
|
|
5053
5502
|
suffix.length;
|
|
5054
5503
|
}
|
|
5055
|
-
|
|
5504
|
+
checkNumberOfDigits(_this__u8e3s4, digitsStartIndex, digitsEndIndex, typeHexLength);
|
|
5056
5505
|
}
|
|
5057
5506
|
function hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5058
5507
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5059
|
-
var byteSeparatorLength = bytesFormat.
|
|
5508
|
+
var byteSeparatorLength = bytesFormat.z9_1.length;
|
|
5060
5509
|
// Inline function 'kotlin.require' call
|
|
5061
5510
|
// Inline function 'kotlin.contracts.contract' call
|
|
5062
5511
|
// Inline function 'kotlin.require' call
|
|
@@ -5088,7 +5537,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5088
5537
|
return null;
|
|
5089
5538
|
var numberOfBytes_0 = (numberOfChars / 3 | 0) + 1 | 0;
|
|
5090
5539
|
var byteArray_0 = new Int8Array(numberOfBytes_0);
|
|
5091
|
-
var byteSeparatorChar = charSequenceGet(bytesFormat.
|
|
5540
|
+
var byteSeparatorChar = charSequenceGet(bytesFormat.z9_1, 0);
|
|
5092
5541
|
byteArray_0[0] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5093
5542
|
charIndex = charIndex + 2 | 0;
|
|
5094
5543
|
var inductionVariable_0 = 1;
|
|
@@ -5100,8 +5549,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5100
5549
|
$l$block: {
|
|
5101
5550
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5102
5551
|
var index = charIndex;
|
|
5103
|
-
var part = bytesFormat.
|
|
5104
|
-
var ignoreCase = bytesFormat.
|
|
5552
|
+
var part = bytesFormat.z9_1;
|
|
5553
|
+
var ignoreCase = bytesFormat.ea_1;
|
|
5105
5554
|
var partName = 'byte separator';
|
|
5106
5555
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5107
5556
|
if (charSequenceLength(part) === 0) {
|
|
@@ -5130,26 +5579,26 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5130
5579
|
}
|
|
5131
5580
|
function hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5132
5581
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5133
|
-
var bytePrefix = bytesFormat.
|
|
5134
|
-
var byteSuffix = bytesFormat.
|
|
5135
|
-
var byteSeparator = bytesFormat.
|
|
5582
|
+
var bytePrefix = bytesFormat.aa_1;
|
|
5583
|
+
var byteSuffix = bytesFormat.ba_1;
|
|
5584
|
+
var byteSeparator = bytesFormat.z9_1;
|
|
5136
5585
|
var byteSeparatorLength = byteSeparator.length;
|
|
5137
5586
|
// Inline function 'kotlin.Long.plus' call
|
|
5138
5587
|
// Inline function 'kotlin.Long.plus' call
|
|
5139
5588
|
// Inline function 'kotlin.Long.plus' call
|
|
5140
5589
|
var this_0 = new Long(2, 0);
|
|
5141
5590
|
var other = bytePrefix.length;
|
|
5142
|
-
var this_1 = this_0.
|
|
5591
|
+
var this_1 = this_0.g2(toLong(other));
|
|
5143
5592
|
var other_0 = byteSuffix.length;
|
|
5144
|
-
var charsPerByte = this_1.
|
|
5593
|
+
var charsPerByte = this_1.g2(toLong(other_0)).g2(toLong(byteSeparatorLength));
|
|
5145
5594
|
var numberOfChars = toLong(endIndex - startIndex | 0);
|
|
5146
5595
|
// Inline function 'kotlin.Long.plus' call
|
|
5147
|
-
var numberOfBytes = numberOfChars.
|
|
5596
|
+
var numberOfBytes = numberOfChars.g2(toLong(byteSeparatorLength)).j2(charsPerByte).p2();
|
|
5148
5597
|
// Inline function 'kotlin.Long.minus' call
|
|
5149
|
-
if (!numberToLong(numberOfBytes).
|
|
5598
|
+
if (!numberToLong(numberOfBytes).i2(charsPerByte).h2(toLong(byteSeparatorLength)).equals(numberOfChars)) {
|
|
5150
5599
|
return null;
|
|
5151
5600
|
}
|
|
5152
|
-
var ignoreCase = bytesFormat.
|
|
5601
|
+
var ignoreCase = bytesFormat.ea_1;
|
|
5153
5602
|
var byteArray = new Int8Array(numberOfBytes);
|
|
5154
5603
|
var charIndex = startIndex;
|
|
5155
5604
|
var tmp$ret$6;
|
|
@@ -5246,7 +5695,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5246
5695
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
5247
5696
|
}
|
|
5248
5697
|
// Inline function 'kotlin.Long.plus' call
|
|
5249
|
-
var charsPerByte = numberToLong(bytePrefixLength).
|
|
5698
|
+
var charsPerByte = numberToLong(bytePrefixLength).g2(new Long(2, 0)).g2(toLong(byteSuffixLength));
|
|
5250
5699
|
var charsPerGroup = charsPerSet(charsPerByte, bytesPerGroup, byteSeparatorLength);
|
|
5251
5700
|
var tmp;
|
|
5252
5701
|
if (bytesPerLine <= bytesPerGroup) {
|
|
@@ -5257,8 +5706,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5257
5706
|
var bytesPerLastGroupInLine = bytesPerLine % bytesPerGroup | 0;
|
|
5258
5707
|
if (!(bytesPerLastGroupInLine === 0)) {
|
|
5259
5708
|
// Inline function 'kotlin.Long.plus' call
|
|
5260
|
-
result = result.
|
|
5261
|
-
result = result.
|
|
5709
|
+
result = result.g2(toLong(groupSeparatorLength));
|
|
5710
|
+
result = result.g2(charsPerSet(charsPerByte, bytesPerLastGroupInLine, byteSeparatorLength));
|
|
5262
5711
|
}
|
|
5263
5712
|
tmp = result;
|
|
5264
5713
|
}
|
|
@@ -5267,25 +5716,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5267
5716
|
var wholeLines = wholeElementsPerSet(numberOfChars, charsPerLine, 1);
|
|
5268
5717
|
var tmp_0 = numberOfChars;
|
|
5269
5718
|
// Inline function 'kotlin.Long.plus' call
|
|
5270
|
-
var tmp$ret$3 = charsPerLine.
|
|
5271
|
-
numberOfChars = tmp_0.
|
|
5719
|
+
var tmp$ret$3 = charsPerLine.g2(toLong(1));
|
|
5720
|
+
numberOfChars = tmp_0.h2(wholeLines.i2(tmp$ret$3));
|
|
5272
5721
|
var wholeGroupsInLastLine = wholeElementsPerSet(numberOfChars, charsPerGroup, groupSeparatorLength);
|
|
5273
5722
|
var tmp_1 = numberOfChars;
|
|
5274
5723
|
// Inline function 'kotlin.Long.plus' call
|
|
5275
|
-
var tmp$ret$4 = charsPerGroup.
|
|
5276
|
-
numberOfChars = tmp_1.
|
|
5724
|
+
var tmp$ret$4 = charsPerGroup.g2(toLong(groupSeparatorLength));
|
|
5725
|
+
numberOfChars = tmp_1.h2(wholeGroupsInLastLine.i2(tmp$ret$4));
|
|
5277
5726
|
var wholeBytesInLastGroup = wholeElementsPerSet(numberOfChars, charsPerByte, byteSeparatorLength);
|
|
5278
5727
|
var tmp_2 = numberOfChars;
|
|
5279
5728
|
// Inline function 'kotlin.Long.plus' call
|
|
5280
|
-
var tmp$ret$5 = charsPerByte.
|
|
5281
|
-
numberOfChars = tmp_2.
|
|
5282
|
-
var spare = numberOfChars.
|
|
5729
|
+
var tmp$ret$5 = charsPerByte.g2(toLong(byteSeparatorLength));
|
|
5730
|
+
numberOfChars = tmp_2.h2(wholeBytesInLastGroup.i2(tmp$ret$5));
|
|
5731
|
+
var spare = numberOfChars.f2(new Long(0, 0)) > 0 ? 1 : 0;
|
|
5283
5732
|
// Inline function 'kotlin.Long.plus' call
|
|
5284
5733
|
// Inline function 'kotlin.Long.times' call
|
|
5285
|
-
var tmp_3 = wholeLines.
|
|
5734
|
+
var tmp_3 = wholeLines.i2(toLong(bytesPerLine));
|
|
5286
5735
|
// Inline function 'kotlin.Long.times' call
|
|
5287
|
-
var tmp$ret$7 = wholeGroupsInLastLine.
|
|
5288
|
-
return tmp_3.
|
|
5736
|
+
var tmp$ret$7 = wholeGroupsInLastLine.i2(toLong(bytesPerGroup));
|
|
5737
|
+
return tmp_3.g2(tmp$ret$7).g2(wholeBytesInLastGroup).g2(toLong(spare)).p2();
|
|
5289
5738
|
}
|
|
5290
5739
|
function checkNewLineAt(_this__u8e3s4, index, endIndex) {
|
|
5291
5740
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
@@ -5299,13 +5748,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5299
5748
|
}
|
|
5300
5749
|
return tmp;
|
|
5301
5750
|
}
|
|
5302
|
-
function throwInvalidNumberOfDigits(_this__u8e3s4, startIndex, endIndex,
|
|
5751
|
+
function throwInvalidNumberOfDigits(_this__u8e3s4, startIndex, endIndex, specifier, expected) {
|
|
5303
5752
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5304
|
-
var specifier = requireMaxLength ? 'exactly' : 'at most';
|
|
5305
5753
|
// Inline function 'kotlin.text.substring' call
|
|
5306
5754
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5307
5755
|
var substring = _this__u8e3s4.substring(startIndex, endIndex);
|
|
5308
|
-
throw NumberFormatException_init_$Create$_0('Expected ' + specifier + ' ' +
|
|
5756
|
+
throw NumberFormatException_init_$Create$_0('Expected ' + specifier + ' ' + expected + ' hexadecimal digits at index ' + startIndex + ', but was "' + substring + '" of length ' + (endIndex - startIndex | 0));
|
|
5309
5757
|
}
|
|
5310
5758
|
function parseByteAt(_this__u8e3s4, index) {
|
|
5311
5759
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
@@ -5338,6 +5786,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5338
5786
|
var low = tmp$ret$3;
|
|
5339
5787
|
return toByte(high << 4 | low);
|
|
5340
5788
|
}
|
|
5789
|
+
function checkZeroDigits(_this__u8e3s4, startIndex, endIndex) {
|
|
5790
|
+
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5791
|
+
var inductionVariable = startIndex;
|
|
5792
|
+
if (inductionVariable < endIndex)
|
|
5793
|
+
do {
|
|
5794
|
+
var index = inductionVariable;
|
|
5795
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
5796
|
+
if (!(charSequenceGet(_this__u8e3s4, index) === _Char___init__impl__6a9atx(48))) {
|
|
5797
|
+
throw NumberFormatException_init_$Create$_0("Expected the hexadecimal digit '0' at index " + index + ", but was '" + toString(charSequenceGet(_this__u8e3s4, index)) + "'.\n" + "The result won't fit the type being parsed.");
|
|
5798
|
+
}
|
|
5799
|
+
}
|
|
5800
|
+
while (inductionVariable < endIndex);
|
|
5801
|
+
}
|
|
5341
5802
|
function throwInvalidPrefixSuffix(_this__u8e3s4, startIndex, endIndex, prefix, suffix) {
|
|
5342
5803
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5343
5804
|
// Inline function 'kotlin.text.substring' call
|
|
@@ -5357,19 +5818,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5357
5818
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
5358
5819
|
}
|
|
5359
5820
|
// Inline function 'kotlin.Long.times' call
|
|
5360
|
-
return charsPerElement.
|
|
5821
|
+
return charsPerElement.i2(toLong(elementsPerSet)).g2(numberToLong(elementSeparatorLength).i2(numberToLong(elementsPerSet).h2(new Long(1, 0))));
|
|
5361
5822
|
}
|
|
5362
5823
|
function wholeElementsPerSet(charsPerSet, charsPerElement, elementSeparatorLength) {
|
|
5363
5824
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5364
5825
|
var tmp;
|
|
5365
|
-
if (charsPerSet.
|
|
5826
|
+
if (charsPerSet.f2(new Long(0, 0)) <= 0 || charsPerElement.f2(new Long(0, 0)) <= 0) {
|
|
5366
5827
|
tmp = new Long(0, 0);
|
|
5367
5828
|
} else {
|
|
5368
5829
|
// Inline function 'kotlin.Long.plus' call
|
|
5369
|
-
var tmp_0 = charsPerSet.
|
|
5830
|
+
var tmp_0 = charsPerSet.g2(toLong(elementSeparatorLength));
|
|
5370
5831
|
// Inline function 'kotlin.Long.plus' call
|
|
5371
|
-
var tmp$ret$1 = charsPerElement.
|
|
5372
|
-
tmp = tmp_0.
|
|
5832
|
+
var tmp$ret$1 = charsPerElement.g2(toLong(elementSeparatorLength));
|
|
5833
|
+
tmp = tmp_0.j2(tmp$ret$1);
|
|
5373
5834
|
}
|
|
5374
5835
|
return tmp;
|
|
5375
5836
|
}
|
|
@@ -5501,19 +5962,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5501
5962
|
HEX_DIGITS_TO_LONG_DECIMAL = tmp_10;
|
|
5502
5963
|
}
|
|
5503
5964
|
}
|
|
5504
|
-
function Companion_10() {
|
|
5505
|
-
Companion_instance_10 = this;
|
|
5506
|
-
this.m9_1 = new BytesHexFormat(2147483647, 2147483647, ' ', '', '', '');
|
|
5507
|
-
}
|
|
5508
|
-
var Companion_instance_10;
|
|
5509
|
-
function Companion_getInstance_10() {
|
|
5510
|
-
if (Companion_instance_10 == null)
|
|
5511
|
-
new Companion_10();
|
|
5512
|
-
return Companion_instance_10;
|
|
5513
|
-
}
|
|
5514
5965
|
function Companion_11() {
|
|
5515
5966
|
Companion_instance_11 = this;
|
|
5516
|
-
this.
|
|
5967
|
+
this.ma_1 = new BytesHexFormat(2147483647, 2147483647, ' ', '', '', '');
|
|
5517
5968
|
}
|
|
5518
5969
|
var Companion_instance_11;
|
|
5519
5970
|
function Companion_getInstance_11() {
|
|
@@ -5521,34 +5972,44 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5521
5972
|
new Companion_11();
|
|
5522
5973
|
return Companion_instance_11;
|
|
5523
5974
|
}
|
|
5975
|
+
function Companion_12() {
|
|
5976
|
+
Companion_instance_12 = this;
|
|
5977
|
+
this.na_1 = new NumberHexFormat('', '', false, 1);
|
|
5978
|
+
}
|
|
5979
|
+
var Companion_instance_12;
|
|
5980
|
+
function Companion_getInstance_12() {
|
|
5981
|
+
if (Companion_instance_12 == null)
|
|
5982
|
+
new Companion_12();
|
|
5983
|
+
return Companion_instance_12;
|
|
5984
|
+
}
|
|
5524
5985
|
function BytesHexFormat(bytesPerLine, bytesPerGroup, groupSeparator, byteSeparator, bytePrefix, byteSuffix) {
|
|
5525
|
-
|
|
5526
|
-
this.
|
|
5527
|
-
this.
|
|
5528
|
-
this.
|
|
5529
|
-
this.
|
|
5530
|
-
this.
|
|
5531
|
-
this.
|
|
5532
|
-
this.
|
|
5986
|
+
Companion_getInstance_11();
|
|
5987
|
+
this.w9_1 = bytesPerLine;
|
|
5988
|
+
this.x9_1 = bytesPerGroup;
|
|
5989
|
+
this.y9_1 = groupSeparator;
|
|
5990
|
+
this.z9_1 = byteSeparator;
|
|
5991
|
+
this.aa_1 = bytePrefix;
|
|
5992
|
+
this.ba_1 = byteSuffix;
|
|
5993
|
+
this.ca_1 = (this.w9_1 === 2147483647 && this.x9_1 === 2147483647);
|
|
5533
5994
|
var tmp = this;
|
|
5534
5995
|
var tmp_0;
|
|
5535
5996
|
var tmp_1;
|
|
5536
5997
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5537
|
-
var this_0 = this.
|
|
5998
|
+
var this_0 = this.aa_1;
|
|
5538
5999
|
if (charSequenceLength(this_0) === 0) {
|
|
5539
6000
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5540
|
-
var this_1 = this.
|
|
6001
|
+
var this_1 = this.ba_1;
|
|
5541
6002
|
tmp_1 = charSequenceLength(this_1) === 0;
|
|
5542
6003
|
} else {
|
|
5543
6004
|
tmp_1 = false;
|
|
5544
6005
|
}
|
|
5545
6006
|
if (tmp_1) {
|
|
5546
|
-
tmp_0 = this.
|
|
6007
|
+
tmp_0 = this.z9_1.length <= 1;
|
|
5547
6008
|
} else {
|
|
5548
6009
|
tmp_0 = false;
|
|
5549
6010
|
}
|
|
5550
|
-
tmp.
|
|
5551
|
-
this.
|
|
6011
|
+
tmp.da_1 = tmp_0;
|
|
6012
|
+
this.ea_1 = isCaseSensitive(this.y9_1) || isCaseSensitive(this.z9_1) || isCaseSensitive(this.aa_1) || isCaseSensitive(this.ba_1);
|
|
5552
6013
|
}
|
|
5553
6014
|
protoOf(BytesHexFormat).toString = function () {
|
|
5554
6015
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -5558,49 +6019,51 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5558
6019
|
// Inline function 'kotlin.contracts.contract' call
|
|
5559
6020
|
// Inline function 'kotlin.text.BytesHexFormat.toString.<anonymous>' call
|
|
5560
6021
|
// Inline function 'kotlin.text.appendLine' call
|
|
5561
|
-
this_0.
|
|
6022
|
+
this_0.e6('BytesHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
5562
6023
|
// Inline function 'kotlin.text.appendLine' call
|
|
5563
|
-
this.
|
|
5564
|
-
this_0.
|
|
6024
|
+
this.oa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6025
|
+
this_0.e6(')');
|
|
5565
6026
|
return this_0.toString();
|
|
5566
6027
|
};
|
|
5567
|
-
protoOf(BytesHexFormat).
|
|
6028
|
+
protoOf(BytesHexFormat).oa = function (sb, indent) {
|
|
5568
6029
|
// Inline function 'kotlin.text.appendLine' call
|
|
5569
6030
|
// Inline function 'kotlin.text.appendLine' call
|
|
5570
|
-
sb.
|
|
6031
|
+
sb.e6(indent).e6('bytesPerLine = ').v6(this.w9_1).e6(',').f(_Char___init__impl__6a9atx(10));
|
|
5571
6032
|
// Inline function 'kotlin.text.appendLine' call
|
|
5572
6033
|
// Inline function 'kotlin.text.appendLine' call
|
|
5573
|
-
sb.
|
|
6034
|
+
sb.e6(indent).e6('bytesPerGroup = ').v6(this.x9_1).e6(',').f(_Char___init__impl__6a9atx(10));
|
|
5574
6035
|
// Inline function 'kotlin.text.appendLine' call
|
|
5575
6036
|
// Inline function 'kotlin.text.appendLine' call
|
|
5576
|
-
sb.
|
|
6037
|
+
sb.e6(indent).e6('groupSeparator = "').e6(this.y9_1).e6('",').f(_Char___init__impl__6a9atx(10));
|
|
5577
6038
|
// Inline function 'kotlin.text.appendLine' call
|
|
5578
6039
|
// Inline function 'kotlin.text.appendLine' call
|
|
5579
|
-
sb.
|
|
6040
|
+
sb.e6(indent).e6('byteSeparator = "').e6(this.z9_1).e6('",').f(_Char___init__impl__6a9atx(10));
|
|
5580
6041
|
// Inline function 'kotlin.text.appendLine' call
|
|
5581
6042
|
// Inline function 'kotlin.text.appendLine' call
|
|
5582
|
-
sb.
|
|
5583
|
-
sb.
|
|
6043
|
+
sb.e6(indent).e6('bytePrefix = "').e6(this.aa_1).e6('",').f(_Char___init__impl__6a9atx(10));
|
|
6044
|
+
sb.e6(indent).e6('byteSuffix = "').e6(this.ba_1).e6('"');
|
|
5584
6045
|
return sb;
|
|
5585
6046
|
};
|
|
5586
|
-
function NumberHexFormat(prefix, suffix, removeLeadingZeros) {
|
|
5587
|
-
|
|
5588
|
-
this.
|
|
5589
|
-
this.
|
|
5590
|
-
this.
|
|
6047
|
+
function NumberHexFormat(prefix, suffix, removeLeadingZeros, minLength) {
|
|
6048
|
+
Companion_getInstance_12();
|
|
6049
|
+
this.fa_1 = prefix;
|
|
6050
|
+
this.ga_1 = suffix;
|
|
6051
|
+
this.ha_1 = removeLeadingZeros;
|
|
6052
|
+
this.ia_1 = minLength;
|
|
5591
6053
|
var tmp = this;
|
|
5592
6054
|
var tmp_0;
|
|
5593
6055
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5594
|
-
var this_0 = this.
|
|
6056
|
+
var this_0 = this.fa_1;
|
|
5595
6057
|
if (charSequenceLength(this_0) === 0) {
|
|
5596
6058
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5597
|
-
var this_1 = this.
|
|
6059
|
+
var this_1 = this.ga_1;
|
|
5598
6060
|
tmp_0 = charSequenceLength(this_1) === 0;
|
|
5599
6061
|
} else {
|
|
5600
6062
|
tmp_0 = false;
|
|
5601
6063
|
}
|
|
5602
|
-
tmp.
|
|
5603
|
-
this.
|
|
6064
|
+
tmp.ja_1 = tmp_0;
|
|
6065
|
+
this.ka_1 = (this.ja_1 && this.ia_1 === 1);
|
|
6066
|
+
this.la_1 = isCaseSensitive(this.fa_1) || isCaseSensitive(this.ga_1);
|
|
5604
6067
|
}
|
|
5605
6068
|
protoOf(NumberHexFormat).toString = function () {
|
|
5606
6069
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -5610,38 +6073,43 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5610
6073
|
// Inline function 'kotlin.contracts.contract' call
|
|
5611
6074
|
// Inline function 'kotlin.text.NumberHexFormat.toString.<anonymous>' call
|
|
5612
6075
|
// Inline function 'kotlin.text.appendLine' call
|
|
5613
|
-
this_0.
|
|
6076
|
+
this_0.e6('NumberHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
5614
6077
|
// Inline function 'kotlin.text.appendLine' call
|
|
5615
|
-
this.
|
|
5616
|
-
this_0.
|
|
6078
|
+
this.oa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6079
|
+
this_0.e6(')');
|
|
5617
6080
|
return this_0.toString();
|
|
5618
6081
|
};
|
|
5619
|
-
protoOf(NumberHexFormat).
|
|
6082
|
+
protoOf(NumberHexFormat).oa = function (sb, indent) {
|
|
6083
|
+
// Inline function 'kotlin.text.appendLine' call
|
|
6084
|
+
// Inline function 'kotlin.text.appendLine' call
|
|
6085
|
+
sb.e6(indent).e6('prefix = "').e6(this.fa_1).e6('",').f(_Char___init__impl__6a9atx(10));
|
|
5620
6086
|
// Inline function 'kotlin.text.appendLine' call
|
|
5621
6087
|
// Inline function 'kotlin.text.appendLine' call
|
|
5622
|
-
sb.
|
|
6088
|
+
sb.e6(indent).e6('suffix = "').e6(this.ga_1).e6('",').f(_Char___init__impl__6a9atx(10));
|
|
5623
6089
|
// Inline function 'kotlin.text.appendLine' call
|
|
6090
|
+
var this_0 = sb.e6(indent).e6('removeLeadingZeros = ').u6(this.ha_1);
|
|
6091
|
+
var value = _Char___init__impl__6a9atx(44);
|
|
5624
6092
|
// Inline function 'kotlin.text.appendLine' call
|
|
5625
|
-
|
|
5626
|
-
sb.
|
|
6093
|
+
this_0.f(value).f(_Char___init__impl__6a9atx(10));
|
|
6094
|
+
sb.e6(indent).e6('minLength = ').v6(this.ia_1);
|
|
5627
6095
|
return sb;
|
|
5628
6096
|
};
|
|
5629
|
-
function
|
|
5630
|
-
|
|
5631
|
-
this.
|
|
5632
|
-
this.
|
|
6097
|
+
function Companion_13() {
|
|
6098
|
+
Companion_instance_13 = this;
|
|
6099
|
+
this.r9_1 = new HexFormat(false, Companion_getInstance_11().ma_1, Companion_getInstance_12().na_1);
|
|
6100
|
+
this.s9_1 = new HexFormat(true, Companion_getInstance_11().ma_1, Companion_getInstance_12().na_1);
|
|
5633
6101
|
}
|
|
5634
|
-
var
|
|
5635
|
-
function
|
|
5636
|
-
if (
|
|
5637
|
-
new
|
|
5638
|
-
return
|
|
6102
|
+
var Companion_instance_13;
|
|
6103
|
+
function Companion_getInstance_13() {
|
|
6104
|
+
if (Companion_instance_13 == null)
|
|
6105
|
+
new Companion_13();
|
|
6106
|
+
return Companion_instance_13;
|
|
5639
6107
|
}
|
|
5640
6108
|
function HexFormat(upperCase, bytes, number) {
|
|
5641
|
-
|
|
5642
|
-
this.
|
|
5643
|
-
this.
|
|
5644
|
-
this.
|
|
6109
|
+
Companion_getInstance_13();
|
|
6110
|
+
this.t9_1 = upperCase;
|
|
6111
|
+
this.u9_1 = bytes;
|
|
6112
|
+
this.v9_1 = number;
|
|
5645
6113
|
}
|
|
5646
6114
|
protoOf(HexFormat).toString = function () {
|
|
5647
6115
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -5651,23 +6119,23 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5651
6119
|
// Inline function 'kotlin.contracts.contract' call
|
|
5652
6120
|
// Inline function 'kotlin.text.HexFormat.toString.<anonymous>' call
|
|
5653
6121
|
// Inline function 'kotlin.text.appendLine' call
|
|
5654
|
-
this_0.
|
|
6122
|
+
this_0.e6('HexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
5655
6123
|
// Inline function 'kotlin.text.appendLine' call
|
|
5656
6124
|
// Inline function 'kotlin.text.appendLine' call
|
|
5657
|
-
this_0.
|
|
6125
|
+
this_0.e6(' upperCase = ').u6(this.t9_1).e6(',').f(_Char___init__impl__6a9atx(10));
|
|
5658
6126
|
// Inline function 'kotlin.text.appendLine' call
|
|
5659
|
-
this_0.
|
|
6127
|
+
this_0.e6(' bytes = BytesHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
5660
6128
|
// Inline function 'kotlin.text.appendLine' call
|
|
5661
|
-
this.
|
|
6129
|
+
this.u9_1.oa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
5662
6130
|
// Inline function 'kotlin.text.appendLine' call
|
|
5663
|
-
this_0.
|
|
6131
|
+
this_0.e6(' ),').f(_Char___init__impl__6a9atx(10));
|
|
5664
6132
|
// Inline function 'kotlin.text.appendLine' call
|
|
5665
|
-
this_0.
|
|
6133
|
+
this_0.e6(' number = NumberHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
5666
6134
|
// Inline function 'kotlin.text.appendLine' call
|
|
5667
|
-
this.
|
|
6135
|
+
this.v9_1.oa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
5668
6136
|
// Inline function 'kotlin.text.appendLine' call
|
|
5669
|
-
this_0.
|
|
5670
|
-
this_0.
|
|
6137
|
+
this_0.e6(' )').f(_Char___init__impl__6a9atx(10));
|
|
6138
|
+
this_0.e6(')');
|
|
5671
6139
|
return this_0.toString();
|
|
5672
6140
|
};
|
|
5673
6141
|
function isCaseSensitive(_this__u8e3s4) {
|
|
@@ -5787,8 +6255,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5787
6255
|
}
|
|
5788
6256
|
function substring(_this__u8e3s4, range) {
|
|
5789
6257
|
// Inline function 'kotlin.text.substring' call
|
|
5790
|
-
var startIndex = range.
|
|
5791
|
-
var endIndex = range.
|
|
6258
|
+
var startIndex = range.p7();
|
|
6259
|
+
var endIndex = range.q7() + 1 | 0;
|
|
5792
6260
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5793
6261
|
return _this__u8e3s4.substring(startIndex, endIndex);
|
|
5794
6262
|
}
|
|
@@ -5796,6 +6264,29 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5796
6264
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
5797
6265
|
return toString_1(padEnd_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
5798
6266
|
}
|
|
6267
|
+
function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
6268
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6269
|
+
limit = limit === VOID ? 0 : limit;
|
|
6270
|
+
if (delimiters.length === 1) {
|
|
6271
|
+
var delimiter = delimiters[0];
|
|
6272
|
+
// Inline function 'kotlin.text.isEmpty' call
|
|
6273
|
+
if (!(charSequenceLength(delimiter) === 0)) {
|
|
6274
|
+
return split_0(_this__u8e3s4, delimiter, ignoreCase, limit);
|
|
6275
|
+
}
|
|
6276
|
+
}
|
|
6277
|
+
// Inline function 'kotlin.collections.map' call
|
|
6278
|
+
var this_0 = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
6279
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
6280
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
6281
|
+
var tmp0_iterator = this_0.g();
|
|
6282
|
+
while (tmp0_iterator.h()) {
|
|
6283
|
+
var item = tmp0_iterator.i();
|
|
6284
|
+
// Inline function 'kotlin.text.split.<anonymous>' call
|
|
6285
|
+
var tmp$ret$1 = substring_0(_this__u8e3s4, item);
|
|
6286
|
+
destination.d(tmp$ret$1);
|
|
6287
|
+
}
|
|
6288
|
+
return destination;
|
|
6289
|
+
}
|
|
5799
6290
|
function contains_1(_this__u8e3s4, char, ignoreCase) {
|
|
5800
6291
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
5801
6292
|
return indexOf_2(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
@@ -5857,7 +6348,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5857
6348
|
do {
|
|
5858
6349
|
var i = inductionVariable;
|
|
5859
6350
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5860
|
-
sb.
|
|
6351
|
+
sb.f(padChar);
|
|
5861
6352
|
}
|
|
5862
6353
|
while (!(i === last));
|
|
5863
6354
|
sb.e(_this__u8e3s4);
|
|
@@ -5885,7 +6376,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5885
6376
|
var startFound = false;
|
|
5886
6377
|
$l$loop: while (startIndex <= endIndex) {
|
|
5887
6378
|
var index = !startFound ? startIndex : endIndex;
|
|
5888
|
-
var
|
|
6379
|
+
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
6380
|
+
var match = isWhitespace(p0);
|
|
5889
6381
|
if (!startFound) {
|
|
5890
6382
|
if (!match)
|
|
5891
6383
|
startFound = true;
|
|
@@ -5910,9 +6402,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5910
6402
|
tmp = false;
|
|
5911
6403
|
}
|
|
5912
6404
|
if (tmp) {
|
|
5913
|
-
var inductionVariable = indices.
|
|
5914
|
-
var last_0 = indices.
|
|
5915
|
-
var step = indices.
|
|
6405
|
+
var inductionVariable = indices.n_1;
|
|
6406
|
+
var last_0 = indices.o_1;
|
|
6407
|
+
var step = indices.p_1;
|
|
5916
6408
|
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
|
|
5917
6409
|
do {
|
|
5918
6410
|
var index = inductionVariable;
|
|
@@ -5922,9 +6414,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5922
6414
|
}
|
|
5923
6415
|
while (!(index === last_0));
|
|
5924
6416
|
} else {
|
|
5925
|
-
var inductionVariable_0 = indices.
|
|
5926
|
-
var last_1 = indices.
|
|
5927
|
-
var step_0 = indices.
|
|
6417
|
+
var inductionVariable_0 = indices.n_1;
|
|
6418
|
+
var last_1 = indices.o_1;
|
|
6419
|
+
var step_0 = indices.p_1;
|
|
5928
6420
|
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
|
|
5929
6421
|
do {
|
|
5930
6422
|
var index_0 = inductionVariable_0;
|
|
@@ -5937,15 +6429,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5937
6429
|
return -1;
|
|
5938
6430
|
}
|
|
5939
6431
|
function replaceRange(_this__u8e3s4, range, replacement) {
|
|
5940
|
-
return replaceRange_0(_this__u8e3s4, range.
|
|
6432
|
+
return replaceRange_0(_this__u8e3s4, range.p7(), range.q7() + 1 | 0, replacement);
|
|
5941
6433
|
}
|
|
5942
6434
|
function replaceRange_0(_this__u8e3s4, startIndex, endIndex, replacement) {
|
|
5943
6435
|
if (endIndex < startIndex)
|
|
5944
6436
|
throw IndexOutOfBoundsException_init_$Create$_0('End index (' + endIndex + ') is less than start index (' + startIndex + ').');
|
|
5945
6437
|
var sb = StringBuilder_init_$Create$_0();
|
|
5946
|
-
sb.
|
|
6438
|
+
sb.t6(_this__u8e3s4, 0, startIndex);
|
|
5947
6439
|
sb.e(replacement);
|
|
5948
|
-
sb.
|
|
6440
|
+
sb.t6(_this__u8e3s4, endIndex, charSequenceLength(_this__u8e3s4));
|
|
5949
6441
|
return sb;
|
|
5950
6442
|
}
|
|
5951
6443
|
function padEnd_0(_this__u8e3s4, length, padChar) {
|
|
@@ -5962,11 +6454,50 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5962
6454
|
do {
|
|
5963
6455
|
var i = inductionVariable;
|
|
5964
6456
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5965
|
-
sb.
|
|
6457
|
+
sb.f(padChar);
|
|
5966
6458
|
}
|
|
5967
6459
|
while (!(i === last));
|
|
5968
6460
|
return sb;
|
|
5969
6461
|
}
|
|
6462
|
+
function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
6463
|
+
requireNonNegativeLimit(limit);
|
|
6464
|
+
var currentOffset = 0;
|
|
6465
|
+
var nextIndex = indexOf_1(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6466
|
+
if (nextIndex === -1 || limit === 1) {
|
|
6467
|
+
return listOf(toString_1(_this__u8e3s4));
|
|
6468
|
+
}
|
|
6469
|
+
var isLimited = limit > 0;
|
|
6470
|
+
var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
|
|
6471
|
+
$l$loop: do {
|
|
6472
|
+
// Inline function 'kotlin.text.substring' call
|
|
6473
|
+
var startIndex = currentOffset;
|
|
6474
|
+
var endIndex = nextIndex;
|
|
6475
|
+
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex));
|
|
6476
|
+
result.d(tmp$ret$0);
|
|
6477
|
+
currentOffset = nextIndex + delimiter.length | 0;
|
|
6478
|
+
if (isLimited && result.j() === (limit - 1 | 0))
|
|
6479
|
+
break $l$loop;
|
|
6480
|
+
nextIndex = indexOf_1(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6481
|
+
}
|
|
6482
|
+
while (!(nextIndex === -1));
|
|
6483
|
+
// Inline function 'kotlin.text.substring' call
|
|
6484
|
+
var startIndex_0 = currentOffset;
|
|
6485
|
+
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
6486
|
+
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, startIndex_0, endIndex_0));
|
|
6487
|
+
result.d(tmp$ret$1);
|
|
6488
|
+
return result;
|
|
6489
|
+
}
|
|
6490
|
+
function substring_0(_this__u8e3s4, range) {
|
|
6491
|
+
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.p7(), range.q7() + 1 | 0));
|
|
6492
|
+
}
|
|
6493
|
+
function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
6494
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6495
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6496
|
+
limit = limit === VOID ? 0 : limit;
|
|
6497
|
+
requireNonNegativeLimit(limit);
|
|
6498
|
+
var delimitersList = asList(delimiters);
|
|
6499
|
+
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
|
|
6500
|
+
}
|
|
5970
6501
|
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
5971
6502
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5972
6503
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -6013,31 +6544,217 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6013
6544
|
while (!(index === last));
|
|
6014
6545
|
return -1;
|
|
6015
6546
|
}
|
|
6547
|
+
function requireNonNegativeLimit(limit) {
|
|
6548
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
6549
|
+
var tmp;
|
|
6550
|
+
if (!(limit >= 0)) {
|
|
6551
|
+
// Inline function 'kotlin.text.requireNonNegativeLimit.<anonymous>' call
|
|
6552
|
+
var message = 'Limit must be non-negative, but was ' + limit;
|
|
6553
|
+
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
6554
|
+
}
|
|
6555
|
+
return tmp;
|
|
6556
|
+
}
|
|
6557
|
+
function calcNext_0($this) {
|
|
6558
|
+
if ($this.ra_1 < 0) {
|
|
6559
|
+
$this.pa_1 = 0;
|
|
6560
|
+
$this.sa_1 = null;
|
|
6561
|
+
} else {
|
|
6562
|
+
var tmp;
|
|
6563
|
+
var tmp_0;
|
|
6564
|
+
if ($this.ua_1.xa_1 > 0) {
|
|
6565
|
+
$this.ta_1 = $this.ta_1 + 1 | 0;
|
|
6566
|
+
tmp_0 = $this.ta_1 >= $this.ua_1.xa_1;
|
|
6567
|
+
} else {
|
|
6568
|
+
tmp_0 = false;
|
|
6569
|
+
}
|
|
6570
|
+
if (tmp_0) {
|
|
6571
|
+
tmp = true;
|
|
6572
|
+
} else {
|
|
6573
|
+
tmp = $this.ra_1 > charSequenceLength($this.ua_1.va_1);
|
|
6574
|
+
}
|
|
6575
|
+
if (tmp) {
|
|
6576
|
+
$this.sa_1 = numberRangeToNumber($this.qa_1, get_lastIndex_0($this.ua_1.va_1));
|
|
6577
|
+
$this.ra_1 = -1;
|
|
6578
|
+
} else {
|
|
6579
|
+
var match = $this.ua_1.ya_1($this.ua_1.va_1, $this.ra_1);
|
|
6580
|
+
if (match == null) {
|
|
6581
|
+
$this.sa_1 = numberRangeToNumber($this.qa_1, get_lastIndex_0($this.ua_1.va_1));
|
|
6582
|
+
$this.ra_1 = -1;
|
|
6583
|
+
} else {
|
|
6584
|
+
var index = match.bb();
|
|
6585
|
+
var length = match.cb();
|
|
6586
|
+
$this.sa_1 = until($this.qa_1, index);
|
|
6587
|
+
$this.qa_1 = index + length | 0;
|
|
6588
|
+
$this.ra_1 = $this.qa_1 + (length === 0 ? 1 : 0) | 0;
|
|
6589
|
+
}
|
|
6590
|
+
}
|
|
6591
|
+
$this.pa_1 = 1;
|
|
6592
|
+
}
|
|
6593
|
+
}
|
|
6594
|
+
function DelimitedRangesSequence$iterator$1(this$0) {
|
|
6595
|
+
this.ua_1 = this$0;
|
|
6596
|
+
this.pa_1 = -1;
|
|
6597
|
+
this.qa_1 = coerceIn(this$0.wa_1, 0, charSequenceLength(this$0.va_1));
|
|
6598
|
+
this.ra_1 = this.qa_1;
|
|
6599
|
+
this.sa_1 = null;
|
|
6600
|
+
this.ta_1 = 0;
|
|
6601
|
+
}
|
|
6602
|
+
protoOf(DelimitedRangesSequence$iterator$1).i = function () {
|
|
6603
|
+
if (this.pa_1 === -1) {
|
|
6604
|
+
calcNext_0(this);
|
|
6605
|
+
}
|
|
6606
|
+
if (this.pa_1 === 0)
|
|
6607
|
+
throw NoSuchElementException_init_$Create$();
|
|
6608
|
+
var tmp = this.sa_1;
|
|
6609
|
+
var result = tmp instanceof IntRange ? tmp : THROW_CCE();
|
|
6610
|
+
this.sa_1 = null;
|
|
6611
|
+
this.pa_1 = -1;
|
|
6612
|
+
return result;
|
|
6613
|
+
};
|
|
6614
|
+
protoOf(DelimitedRangesSequence$iterator$1).h = function () {
|
|
6615
|
+
if (this.pa_1 === -1) {
|
|
6616
|
+
calcNext_0(this);
|
|
6617
|
+
}
|
|
6618
|
+
return this.pa_1 === 1;
|
|
6619
|
+
};
|
|
6620
|
+
function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) {
|
|
6621
|
+
this.va_1 = input;
|
|
6622
|
+
this.wa_1 = startIndex;
|
|
6623
|
+
this.xa_1 = limit;
|
|
6624
|
+
this.ya_1 = getNextMatch;
|
|
6625
|
+
}
|
|
6626
|
+
protoOf(DelimitedRangesSequence).g = function () {
|
|
6627
|
+
return new DelimitedRangesSequence$iterator$1(this);
|
|
6628
|
+
};
|
|
6629
|
+
function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
6630
|
+
if (!ignoreCase && strings.j() === 1) {
|
|
6631
|
+
var string = single_1(strings);
|
|
6632
|
+
var index = !last ? indexOf_1(_this__u8e3s4, string, startIndex) : lastIndexOf(_this__u8e3s4, string, startIndex);
|
|
6633
|
+
return index < 0 ? null : to(index, string);
|
|
6634
|
+
}
|
|
6635
|
+
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_0(_this__u8e3s4)), 0);
|
|
6636
|
+
if (typeof _this__u8e3s4 === 'string') {
|
|
6637
|
+
var inductionVariable = indices.n_1;
|
|
6638
|
+
var last_0 = indices.o_1;
|
|
6639
|
+
var step = indices.p_1;
|
|
6640
|
+
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
|
|
6641
|
+
do {
|
|
6642
|
+
var index_0 = inductionVariable;
|
|
6643
|
+
inductionVariable = inductionVariable + step | 0;
|
|
6644
|
+
var tmp$ret$1;
|
|
6645
|
+
$l$block: {
|
|
6646
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6647
|
+
var tmp0_iterator = strings.g();
|
|
6648
|
+
while (tmp0_iterator.h()) {
|
|
6649
|
+
var element = tmp0_iterator.i();
|
|
6650
|
+
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
6651
|
+
if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) {
|
|
6652
|
+
tmp$ret$1 = element;
|
|
6653
|
+
break $l$block;
|
|
6654
|
+
}
|
|
6655
|
+
}
|
|
6656
|
+
tmp$ret$1 = null;
|
|
6657
|
+
}
|
|
6658
|
+
var matchingString = tmp$ret$1;
|
|
6659
|
+
if (!(matchingString == null))
|
|
6660
|
+
return to(index_0, matchingString);
|
|
6661
|
+
}
|
|
6662
|
+
while (!(index_0 === last_0));
|
|
6663
|
+
} else {
|
|
6664
|
+
var inductionVariable_0 = indices.n_1;
|
|
6665
|
+
var last_1 = indices.o_1;
|
|
6666
|
+
var step_0 = indices.p_1;
|
|
6667
|
+
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
|
|
6668
|
+
do {
|
|
6669
|
+
var index_1 = inductionVariable_0;
|
|
6670
|
+
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
|
|
6671
|
+
var tmp$ret$3;
|
|
6672
|
+
$l$block_0: {
|
|
6673
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6674
|
+
var tmp0_iterator_0 = strings.g();
|
|
6675
|
+
while (tmp0_iterator_0.h()) {
|
|
6676
|
+
var element_0 = tmp0_iterator_0.i();
|
|
6677
|
+
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
6678
|
+
if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) {
|
|
6679
|
+
tmp$ret$3 = element_0;
|
|
6680
|
+
break $l$block_0;
|
|
6681
|
+
}
|
|
6682
|
+
}
|
|
6683
|
+
tmp$ret$3 = null;
|
|
6684
|
+
}
|
|
6685
|
+
var matchingString_0 = tmp$ret$3;
|
|
6686
|
+
if (!(matchingString_0 == null))
|
|
6687
|
+
return to(index_1, matchingString_0);
|
|
6688
|
+
}
|
|
6689
|
+
while (!(index_1 === last_1));
|
|
6690
|
+
}
|
|
6691
|
+
return null;
|
|
6692
|
+
}
|
|
6693
|
+
function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
6694
|
+
startIndex = startIndex === VOID ? get_lastIndex_0(_this__u8e3s4) : startIndex;
|
|
6695
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6696
|
+
var tmp;
|
|
6697
|
+
var tmp_0;
|
|
6698
|
+
if (ignoreCase) {
|
|
6699
|
+
tmp_0 = true;
|
|
6700
|
+
} else {
|
|
6701
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
6702
|
+
}
|
|
6703
|
+
if (tmp_0) {
|
|
6704
|
+
tmp = indexOf_3(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
|
|
6705
|
+
} else {
|
|
6706
|
+
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
6707
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
6708
|
+
tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
|
|
6709
|
+
}
|
|
6710
|
+
return tmp;
|
|
6711
|
+
}
|
|
6016
6712
|
function iterator$1($this_iterator) {
|
|
6017
|
-
this.
|
|
6713
|
+
this.eb_1 = $this_iterator;
|
|
6018
6714
|
CharIterator.call(this);
|
|
6019
|
-
this.
|
|
6715
|
+
this.db_1 = 0;
|
|
6020
6716
|
}
|
|
6021
|
-
protoOf(iterator$1).
|
|
6022
|
-
var tmp1 = this.
|
|
6023
|
-
this.
|
|
6024
|
-
return charSequenceGet(this.
|
|
6717
|
+
protoOf(iterator$1).s8 = function () {
|
|
6718
|
+
var tmp1 = this.db_1;
|
|
6719
|
+
this.db_1 = tmp1 + 1 | 0;
|
|
6720
|
+
return charSequenceGet(this.eb_1, tmp1);
|
|
6025
6721
|
};
|
|
6026
|
-
protoOf(iterator$1).
|
|
6027
|
-
return this.
|
|
6722
|
+
protoOf(iterator$1).h = function () {
|
|
6723
|
+
return this.db_1 < charSequenceLength(this.eb_1);
|
|
6028
6724
|
};
|
|
6725
|
+
function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
|
|
6726
|
+
return function ($this$$receiver, currentIndex) {
|
|
6727
|
+
var tmp0_safe_receiver = findAnyOf($this$$receiver, $delimitersList, currentIndex, $ignoreCase, false);
|
|
6728
|
+
var tmp;
|
|
6729
|
+
if (tmp0_safe_receiver == null) {
|
|
6730
|
+
tmp = null;
|
|
6731
|
+
} else {
|
|
6732
|
+
// Inline function 'kotlin.let' call
|
|
6733
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
6734
|
+
// Inline function 'kotlin.text.rangesDelimitedBy.<anonymous>.<anonymous>' call
|
|
6735
|
+
tmp = to(tmp0_safe_receiver.za_1, tmp0_safe_receiver.ab_1.length);
|
|
6736
|
+
}
|
|
6737
|
+
return tmp;
|
|
6738
|
+
};
|
|
6739
|
+
}
|
|
6029
6740
|
function MatchNamedGroupCollection() {
|
|
6030
6741
|
}
|
|
6031
6742
|
function Pair(first, second) {
|
|
6032
|
-
this.
|
|
6033
|
-
this.
|
|
6743
|
+
this.za_1 = first;
|
|
6744
|
+
this.ab_1 = second;
|
|
6034
6745
|
}
|
|
6035
6746
|
protoOf(Pair).toString = function () {
|
|
6036
|
-
return '(' + toString_0(this.
|
|
6747
|
+
return '(' + toString_0(this.za_1) + ', ' + toString_0(this.ab_1) + ')';
|
|
6748
|
+
};
|
|
6749
|
+
protoOf(Pair).bb = function () {
|
|
6750
|
+
return this.za_1;
|
|
6751
|
+
};
|
|
6752
|
+
protoOf(Pair).cb = function () {
|
|
6753
|
+
return this.ab_1;
|
|
6037
6754
|
};
|
|
6038
6755
|
protoOf(Pair).hashCode = function () {
|
|
6039
|
-
var result = this.
|
|
6040
|
-
result = imul(result, 31) + (this.
|
|
6756
|
+
var result = this.za_1 == null ? 0 : hashCode(this.za_1);
|
|
6757
|
+
result = imul(result, 31) + (this.ab_1 == null ? 0 : hashCode(this.ab_1)) | 0;
|
|
6041
6758
|
return result;
|
|
6042
6759
|
};
|
|
6043
6760
|
protoOf(Pair).equals = function (other) {
|
|
@@ -6046,9 +6763,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6046
6763
|
if (!(other instanceof Pair))
|
|
6047
6764
|
return false;
|
|
6048
6765
|
var tmp0_other_with_cast = other instanceof Pair ? other : THROW_CCE();
|
|
6049
|
-
if (!equals(this.
|
|
6766
|
+
if (!equals(this.za_1, tmp0_other_with_cast.za_1))
|
|
6050
6767
|
return false;
|
|
6051
|
-
if (!equals(this.
|
|
6768
|
+
if (!equals(this.ab_1, tmp0_other_with_cast.ab_1))
|
|
6052
6769
|
return false;
|
|
6053
6770
|
return true;
|
|
6054
6771
|
};
|
|
@@ -6067,30 +6784,30 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6067
6784
|
function _UInt___get_data__impl__f0vqqw($this) {
|
|
6068
6785
|
return $this;
|
|
6069
6786
|
}
|
|
6070
|
-
function
|
|
6071
|
-
|
|
6072
|
-
this.
|
|
6073
|
-
this.
|
|
6074
|
-
this.
|
|
6075
|
-
this.
|
|
6787
|
+
function Companion_14() {
|
|
6788
|
+
Companion_instance_14 = this;
|
|
6789
|
+
this.fb_1 = _UInt___init__impl__l7qpdl(0);
|
|
6790
|
+
this.gb_1 = _UInt___init__impl__l7qpdl(-1);
|
|
6791
|
+
this.hb_1 = 4;
|
|
6792
|
+
this.ib_1 = 32;
|
|
6076
6793
|
}
|
|
6077
|
-
var
|
|
6078
|
-
function
|
|
6079
|
-
if (
|
|
6080
|
-
new
|
|
6081
|
-
return
|
|
6794
|
+
var Companion_instance_14;
|
|
6795
|
+
function Companion_getInstance_14() {
|
|
6796
|
+
if (Companion_instance_14 == null)
|
|
6797
|
+
new Companion_14();
|
|
6798
|
+
return Companion_instance_14;
|
|
6082
6799
|
}
|
|
6083
6800
|
function UInt__compareTo_impl_yacclj($this, other) {
|
|
6084
6801
|
return uintCompare(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other));
|
|
6085
6802
|
}
|
|
6086
6803
|
function UInt__compareTo_impl_yacclj_0($this, other) {
|
|
6087
|
-
return UInt__compareTo_impl_yacclj($this.
|
|
6804
|
+
return UInt__compareTo_impl_yacclj($this.jb_1, other instanceof UInt ? other.jb_1 : THROW_CCE());
|
|
6088
6805
|
}
|
|
6089
6806
|
function UInt__toString_impl_dbgl21($this) {
|
|
6090
6807
|
// Inline function 'kotlin.uintToString' call
|
|
6091
6808
|
// Inline function 'kotlin.uintToLong' call
|
|
6092
6809
|
var value = _UInt___get_data__impl__f0vqqw($this);
|
|
6093
|
-
return toLong(value).
|
|
6810
|
+
return toLong(value).n2(new Long(-1, 0)).toString();
|
|
6094
6811
|
}
|
|
6095
6812
|
function UInt__hashCode_impl_z2mhuw($this) {
|
|
6096
6813
|
return $this;
|
|
@@ -6098,28 +6815,28 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6098
6815
|
function UInt__equals_impl_ffdoxg($this, other) {
|
|
6099
6816
|
if (!(other instanceof UInt))
|
|
6100
6817
|
return false;
|
|
6101
|
-
if (!($this === (other instanceof UInt ? other.
|
|
6818
|
+
if (!($this === (other instanceof UInt ? other.jb_1 : THROW_CCE())))
|
|
6102
6819
|
return false;
|
|
6103
6820
|
return true;
|
|
6104
6821
|
}
|
|
6105
6822
|
function UInt(data) {
|
|
6106
|
-
|
|
6107
|
-
this.
|
|
6823
|
+
Companion_getInstance_14();
|
|
6824
|
+
this.jb_1 = data;
|
|
6108
6825
|
}
|
|
6109
|
-
protoOf(UInt).
|
|
6110
|
-
return UInt__compareTo_impl_yacclj(this.
|
|
6826
|
+
protoOf(UInt).kb = function (other) {
|
|
6827
|
+
return UInt__compareTo_impl_yacclj(this.jb_1, other);
|
|
6111
6828
|
};
|
|
6112
|
-
protoOf(UInt).
|
|
6829
|
+
protoOf(UInt).l1 = function (other) {
|
|
6113
6830
|
return UInt__compareTo_impl_yacclj_0(this, other);
|
|
6114
6831
|
};
|
|
6115
6832
|
protoOf(UInt).toString = function () {
|
|
6116
|
-
return UInt__toString_impl_dbgl21(this.
|
|
6833
|
+
return UInt__toString_impl_dbgl21(this.jb_1);
|
|
6117
6834
|
};
|
|
6118
6835
|
protoOf(UInt).hashCode = function () {
|
|
6119
|
-
return UInt__hashCode_impl_z2mhuw(this.
|
|
6836
|
+
return UInt__hashCode_impl_z2mhuw(this.jb_1);
|
|
6120
6837
|
};
|
|
6121
6838
|
protoOf(UInt).equals = function (other) {
|
|
6122
|
-
return UInt__equals_impl_ffdoxg(this.
|
|
6839
|
+
return UInt__equals_impl_ffdoxg(this.jb_1, other);
|
|
6123
6840
|
};
|
|
6124
6841
|
function _UShort___init__impl__jigrne(data) {
|
|
6125
6842
|
return data;
|
|
@@ -6127,7 +6844,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6127
6844
|
function _UShort___get_data__impl__g0245($this) {
|
|
6128
6845
|
return $this;
|
|
6129
6846
|
}
|
|
6130
|
-
function
|
|
6847
|
+
function toString_5(_this__u8e3s4, radix) {
|
|
6131
6848
|
// Inline function 'kotlin.UByte.toInt' call
|
|
6132
6849
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(_this__u8e3s4) & 255;
|
|
6133
6850
|
return toString_2(tmp$ret$0, radix);
|
|
@@ -6206,7 +6923,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6206
6923
|
return result;
|
|
6207
6924
|
}
|
|
6208
6925
|
//region block: post-declaration
|
|
6209
|
-
protoOf(InternalHashMap).
|
|
6926
|
+
protoOf(InternalHashMap).t4 = containsAllEntries;
|
|
6210
6927
|
//endregion
|
|
6211
6928
|
//region block: init
|
|
6212
6929
|
Unit_instance = new Unit();
|
|
@@ -6214,8 +6931,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6214
6931
|
Companion_instance_3 = new Companion_3();
|
|
6215
6932
|
Companion_instance_5 = new Companion_5();
|
|
6216
6933
|
Companion_instance_6 = new Companion_6();
|
|
6934
|
+
Companion_instance_7 = new Companion_7();
|
|
6217
6935
|
EmptyIterator_instance = new EmptyIterator();
|
|
6218
|
-
|
|
6936
|
+
Companion_instance_10 = new Companion_10();
|
|
6219
6937
|
//endregion
|
|
6220
6938
|
//region block: exports
|
|
6221
6939
|
_.$_$ = _.$_$ || {};
|
|
@@ -6223,85 +6941,89 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6223
6941
|
_.$_$.b = VOID;
|
|
6224
6942
|
_.$_$.c = ArrayList_init_$Create$_0;
|
|
6225
6943
|
_.$_$.d = ArrayList_init_$Create$;
|
|
6226
|
-
_.$_$.e =
|
|
6227
|
-
_.$_$.f =
|
|
6228
|
-
_.$_$.g =
|
|
6229
|
-
_.$_$.h =
|
|
6230
|
-
_.$_$.i =
|
|
6231
|
-
_.$_$.j =
|
|
6232
|
-
_.$_$.k =
|
|
6233
|
-
_.$_$.l =
|
|
6234
|
-
_.$_$.m =
|
|
6235
|
-
_.$_$.n =
|
|
6236
|
-
_.$_$.o =
|
|
6237
|
-
_.$_$.p =
|
|
6238
|
-
_.$_$.q =
|
|
6239
|
-
_.$_$.r =
|
|
6240
|
-
_.$_$.s =
|
|
6241
|
-
_.$_$.t =
|
|
6242
|
-
_.$_$.u =
|
|
6243
|
-
_.$_$.v =
|
|
6244
|
-
_.$_$.w =
|
|
6245
|
-
_.$_$.x =
|
|
6246
|
-
_.$_$.y =
|
|
6247
|
-
_.$_$.z =
|
|
6248
|
-
_.$_$.a1 =
|
|
6249
|
-
_.$_$.b1 =
|
|
6250
|
-
_.$_$.c1 =
|
|
6251
|
-
_.$_$.d1 =
|
|
6252
|
-
_.$_$.e1 =
|
|
6253
|
-
_.$_$.f1 =
|
|
6254
|
-
_.$_$.g1 =
|
|
6255
|
-
_.$_$.h1 =
|
|
6256
|
-
_.$_$.i1 =
|
|
6257
|
-
_.$_$.j1 =
|
|
6258
|
-
_.$_$.k1 =
|
|
6259
|
-
_.$_$.l1 =
|
|
6260
|
-
_.$_$.m1 =
|
|
6261
|
-
_.$_$.n1 =
|
|
6262
|
-
_.$_$.o1 =
|
|
6263
|
-
_.$_$.p1 =
|
|
6264
|
-
_.$_$.q1 =
|
|
6265
|
-
_.$_$.r1 =
|
|
6266
|
-
_.$_$.s1 =
|
|
6267
|
-
_.$_$.t1 =
|
|
6268
|
-
_.$_$.u1 =
|
|
6269
|
-
_.$_$.v1 =
|
|
6270
|
-
_.$_$.w1 =
|
|
6271
|
-
_.$_$.x1 =
|
|
6272
|
-
_.$_$.y1 =
|
|
6273
|
-
_.$_$.z1 =
|
|
6274
|
-
_.$_$.a2 =
|
|
6275
|
-
_.$_$.b2 =
|
|
6276
|
-
_.$_$.c2 =
|
|
6277
|
-
_.$_$.d2 =
|
|
6278
|
-
_.$_$.e2 =
|
|
6279
|
-
_.$_$.f2 =
|
|
6280
|
-
_.$_$.g2 =
|
|
6281
|
-
_.$_$.h2 =
|
|
6282
|
-
_.$_$.i2 =
|
|
6283
|
-
_.$_$.j2 =
|
|
6284
|
-
_.$_$.k2 =
|
|
6285
|
-
_.$_$.l2 =
|
|
6286
|
-
_.$_$.m2 =
|
|
6287
|
-
_.$_$.n2 =
|
|
6288
|
-
_.$_$.o2 =
|
|
6289
|
-
_.$_$.p2 =
|
|
6290
|
-
_.$_$.q2 =
|
|
6291
|
-
_.$_$.r2 =
|
|
6292
|
-
_.$_$.s2 =
|
|
6293
|
-
_.$_$.t2 =
|
|
6294
|
-
_.$_$.u2 =
|
|
6295
|
-
_.$_$.v2 =
|
|
6296
|
-
_.$_$.w2 =
|
|
6297
|
-
_.$_$.x2 =
|
|
6298
|
-
_.$_$.y2 =
|
|
6299
|
-
_.$_$.z2 =
|
|
6300
|
-
_.$_$.a3 =
|
|
6301
|
-
_.$_$.b3 =
|
|
6302
|
-
_.$_$.c3 =
|
|
6303
|
-
_.$_$.d3 =
|
|
6304
|
-
_.$_$.e3 =
|
|
6944
|
+
_.$_$.e = LinkedHashMap_init_$Create$_0;
|
|
6945
|
+
_.$_$.f = Regex_init_$Create$;
|
|
6946
|
+
_.$_$.g = StringBuilder_init_$Create$_0;
|
|
6947
|
+
_.$_$.h = IllegalArgumentException_init_$Create$_0;
|
|
6948
|
+
_.$_$.i = IndexOutOfBoundsException_init_$Create$_0;
|
|
6949
|
+
_.$_$.j = NoSuchElementException_init_$Create$;
|
|
6950
|
+
_.$_$.k = RuntimeException_init_$Create$_0;
|
|
6951
|
+
_.$_$.l = _Char___init__impl__6a9atx;
|
|
6952
|
+
_.$_$.m = Char__toInt_impl_vasixd;
|
|
6953
|
+
_.$_$.n = toString;
|
|
6954
|
+
_.$_$.o = _UByte___init__impl__g9hnc4;
|
|
6955
|
+
_.$_$.p = _UByte___get_data__impl__jof9qr;
|
|
6956
|
+
_.$_$.q = _UInt___get_data__impl__f0vqqw;
|
|
6957
|
+
_.$_$.r = Default_getInstance;
|
|
6958
|
+
_.$_$.s = Unit_instance;
|
|
6959
|
+
_.$_$.t = arrayCopy;
|
|
6960
|
+
_.$_$.u = collectionSizeOrDefault;
|
|
6961
|
+
_.$_$.v = copyOfRange_0;
|
|
6962
|
+
_.$_$.w = copyOfRange;
|
|
6963
|
+
_.$_$.x = copyToArray;
|
|
6964
|
+
_.$_$.y = flatten;
|
|
6965
|
+
_.$_$.z = indexOf;
|
|
6966
|
+
_.$_$.a1 = joinToString;
|
|
6967
|
+
_.$_$.b1 = mapCapacity;
|
|
6968
|
+
_.$_$.c1 = removeLast;
|
|
6969
|
+
_.$_$.d1 = getProgressionLastElement;
|
|
6970
|
+
_.$_$.e1 = println;
|
|
6971
|
+
_.$_$.f1 = charSequenceGet;
|
|
6972
|
+
_.$_$.g1 = charSequenceLength;
|
|
6973
|
+
_.$_$.h1 = compareTo;
|
|
6974
|
+
_.$_$.i1 = defineProp;
|
|
6975
|
+
_.$_$.j1 = equals;
|
|
6976
|
+
_.$_$.k1 = getNumberHashCode;
|
|
6977
|
+
_.$_$.l1 = initMetadataForClass;
|
|
6978
|
+
_.$_$.m1 = initMetadataForCompanion;
|
|
6979
|
+
_.$_$.n1 = initMetadataForObject;
|
|
6980
|
+
_.$_$.o1 = isCharSequence;
|
|
6981
|
+
_.$_$.p1 = numberToChar;
|
|
6982
|
+
_.$_$.q1 = numberToInt;
|
|
6983
|
+
_.$_$.r1 = numberToLong;
|
|
6984
|
+
_.$_$.s1 = protoOf;
|
|
6985
|
+
_.$_$.t1 = toByte;
|
|
6986
|
+
_.$_$.u1 = toLong;
|
|
6987
|
+
_.$_$.v1 = toString_1;
|
|
6988
|
+
_.$_$.w1 = roundToInt;
|
|
6989
|
+
_.$_$.x1 = coerceAtLeast;
|
|
6990
|
+
_.$_$.y1 = step;
|
|
6991
|
+
_.$_$.z1 = until;
|
|
6992
|
+
_.$_$.a2 = joinToString_2;
|
|
6993
|
+
_.$_$.b2 = map;
|
|
6994
|
+
_.$_$.c2 = toList;
|
|
6995
|
+
_.$_$.d2 = contains_0;
|
|
6996
|
+
_.$_$.e2 = decodeToString;
|
|
6997
|
+
_.$_$.f2 = encodeToByteArray;
|
|
6998
|
+
_.$_$.g2 = hexToByteArray;
|
|
6999
|
+
_.$_$.h2 = hexToByte;
|
|
7000
|
+
_.$_$.i2 = indexOf_1;
|
|
7001
|
+
_.$_$.j2 = iterator;
|
|
7002
|
+
_.$_$.k2 = padEnd;
|
|
7003
|
+
_.$_$.l2 = padStart;
|
|
7004
|
+
_.$_$.m2 = replaceRange;
|
|
7005
|
+
_.$_$.n2 = replaceRange_0;
|
|
7006
|
+
_.$_$.o2 = replace;
|
|
7007
|
+
_.$_$.p2 = slice;
|
|
7008
|
+
_.$_$.q2 = split;
|
|
7009
|
+
_.$_$.r2 = substring;
|
|
7010
|
+
_.$_$.s2 = toCharArray;
|
|
7011
|
+
_.$_$.t2 = toDouble;
|
|
7012
|
+
_.$_$.u2 = toIntOrNull_0;
|
|
7013
|
+
_.$_$.v2 = toInt_0;
|
|
7014
|
+
_.$_$.w2 = toInt;
|
|
7015
|
+
_.$_$.x2 = toString_2;
|
|
7016
|
+
_.$_$.y2 = toString_3;
|
|
7017
|
+
_.$_$.z2 = toString_5;
|
|
7018
|
+
_.$_$.a3 = toUInt;
|
|
7019
|
+
_.$_$.b3 = trim;
|
|
7020
|
+
_.$_$.c3 = Char;
|
|
7021
|
+
_.$_$.d3 = Enum;
|
|
7022
|
+
_.$_$.e3 = Long;
|
|
7023
|
+
_.$_$.f3 = THROW_CCE;
|
|
7024
|
+
_.$_$.g3 = THROW_IAE;
|
|
7025
|
+
_.$_$.h3 = noWhenBranchMatchedException;
|
|
7026
|
+
_.$_$.i3 = to;
|
|
6305
7027
|
//endregion
|
|
6306
7028
|
return _;
|
|
6307
7029
|
}));
|