dl-common-util 0.5.3 → 0.6.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/dl-common-util.d.ts +4 -2
- package/dl-common-util.js +330 -354
- package/dl-common-util.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +905 -994
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
- package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -75,9 +75,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
75
75
|
//region block: pre-declaration
|
|
76
76
|
initMetadataForInterface(CharSequence, 'CharSequence');
|
|
77
77
|
initMetadataForClass(Number_0, 'Number');
|
|
78
|
-
|
|
79
|
-
initMetadataForClass(
|
|
80
|
-
initMetadataForClass(_no_name_provided__qut3iv_0);
|
|
78
|
+
initMetadataForClass(asSequence$$inlined$Sequence$1);
|
|
79
|
+
initMetadataForClass(asIterable$$inlined$Iterable$1);
|
|
81
80
|
initMetadataForCompanion(Companion);
|
|
82
81
|
initMetadataForClass(Char, 'Char');
|
|
83
82
|
initMetadataForInterface(Collection, 'Collection');
|
|
@@ -96,20 +95,21 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
96
95
|
initMetadataForObject(Digit, 'Digit');
|
|
97
96
|
initMetadataForObject(Letter, 'Letter');
|
|
98
97
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
98
|
+
initMetadataForObject(Unit, 'Unit');
|
|
99
99
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
100
100
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection]);
|
|
101
101
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
102
102
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
103
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection,
|
|
103
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtList]);
|
|
104
104
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
105
105
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
|
|
106
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection,
|
|
106
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
|
|
107
107
|
initMetadataForCompanion(Companion_2);
|
|
108
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList,
|
|
108
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, Collection, KtList]);
|
|
109
109
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
|
|
110
|
-
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [
|
|
110
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
|
|
111
111
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
112
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet,
|
|
112
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, Collection, KtSet]);
|
|
113
113
|
initMetadataForCompanion(Companion_3);
|
|
114
114
|
initMetadataForClass(Itr, 'Itr');
|
|
115
115
|
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
|
|
@@ -129,16 +129,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
129
129
|
tmp$ret$0 = true;
|
|
130
130
|
break $l$block_0;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
133
|
-
while (
|
|
134
|
-
var element =
|
|
132
|
+
var _iterator__ex2g4s = m.g();
|
|
133
|
+
while (_iterator__ex2g4s.h()) {
|
|
134
|
+
var element = _iterator__ex2g4s.i();
|
|
135
135
|
// Inline function 'kotlin.collections.InternalMap.containsAllEntries.<anonymous>' call
|
|
136
136
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
137
137
|
// Inline function 'kotlin.js.asDynamic' call
|
|
138
138
|
var entry = element;
|
|
139
139
|
var tmp_0;
|
|
140
140
|
if (!(entry == null) ? isInterface(entry, Entry) : false) {
|
|
141
|
-
tmp_0 = this.
|
|
141
|
+
tmp_0 = this.s6(entry);
|
|
142
142
|
} else {
|
|
143
143
|
tmp_0 = false;
|
|
144
144
|
}
|
|
@@ -154,7 +154,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
154
154
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
155
155
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
156
156
|
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMap]);
|
|
157
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet,
|
|
157
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, Collection, KtSet]);
|
|
158
158
|
initMetadataForClass(BaseOutput, 'BaseOutput');
|
|
159
159
|
initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
|
|
160
160
|
initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);
|
|
@@ -162,10 +162,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
162
162
|
initMetadataForClass(Exception, 'Exception', Exception_init_$Create$, Error);
|
|
163
163
|
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException_init_$Create$, Exception);
|
|
164
164
|
initMetadataForClass(IllegalArgumentException, 'IllegalArgumentException', IllegalArgumentException_init_$Create$, RuntimeException);
|
|
165
|
-
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException_init_$Create$, RuntimeException);
|
|
166
165
|
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException_init_$Create$, RuntimeException);
|
|
167
166
|
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException_init_$Create$, RuntimeException);
|
|
168
167
|
initMetadataForClass(NoSuchElementException, 'NoSuchElementException', NoSuchElementException_init_$Create$, RuntimeException);
|
|
168
|
+
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException_init_$Create$, RuntimeException);
|
|
169
169
|
initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException_init_$Create$, RuntimeException);
|
|
170
170
|
initMetadataForClass(NumberFormatException, 'NumberFormatException', NumberFormatException_init_$Create$, IllegalArgumentException);
|
|
171
171
|
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException_init_$Create$, RuntimeException);
|
|
@@ -201,7 +201,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
201
201
|
initMetadataForCompanion(Companion_9);
|
|
202
202
|
initMetadataForClass(IntProgression, 'IntProgression');
|
|
203
203
|
function contains(value) {
|
|
204
|
-
return compareTo(value, this.
|
|
204
|
+
return compareTo(value, this.a8()) >= 0 && compareTo(value, this.b8()) <= 0;
|
|
205
205
|
}
|
|
206
206
|
initMetadataForInterface(ClosedRange, 'ClosedRange');
|
|
207
207
|
initMetadataForClass(IntRange, 'IntRange', VOID, IntProgression, [IntProgression, ClosedRange]);
|
|
@@ -224,15 +224,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
224
224
|
}
|
|
225
225
|
function Number_0() {
|
|
226
226
|
}
|
|
227
|
-
function Unit() {
|
|
228
|
-
}
|
|
229
|
-
protoOf(Unit).toString = function () {
|
|
230
|
-
return 'kotlin.Unit';
|
|
231
|
-
};
|
|
232
|
-
var Unit_instance;
|
|
233
|
-
function Unit_getInstance() {
|
|
234
|
-
return Unit_instance;
|
|
235
|
-
}
|
|
236
227
|
function indexOf(_this__u8e3s4, element) {
|
|
237
228
|
var inductionVariable = 0;
|
|
238
229
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
@@ -273,9 +264,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
273
264
|
transform = transform === VOID ? null : transform;
|
|
274
265
|
return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
275
266
|
}
|
|
276
|
-
function contains_0(_this__u8e3s4, element) {
|
|
277
|
-
return indexOf_0(_this__u8e3s4, element) >= 0;
|
|
278
|
-
}
|
|
279
267
|
function indexOf_0(_this__u8e3s4, element) {
|
|
280
268
|
if (element == null) {
|
|
281
269
|
var inductionVariable = 0;
|
|
@@ -349,11 +337,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
349
337
|
buffer.e(separator);
|
|
350
338
|
}
|
|
351
339
|
if (limit < 0 || count <= limit) {
|
|
352
|
-
if (!(transform == null))
|
|
340
|
+
if (!(transform == null))
|
|
353
341
|
buffer.e(transform(new Char(element)));
|
|
354
|
-
|
|
342
|
+
else
|
|
355
343
|
buffer.f(element);
|
|
356
|
-
}
|
|
357
344
|
} else
|
|
358
345
|
break $l$loop;
|
|
359
346
|
}
|
|
@@ -419,9 +406,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
419
406
|
transform = transform === VOID ? null : transform;
|
|
420
407
|
buffer.e(prefix);
|
|
421
408
|
var count = 0;
|
|
422
|
-
var
|
|
423
|
-
$l$loop: while (
|
|
424
|
-
var element =
|
|
409
|
+
var _iterator__ex2g4s = _this__u8e3s4.g();
|
|
410
|
+
$l$loop: while (_iterator__ex2g4s.h()) {
|
|
411
|
+
var element = _iterator__ex2g4s.i();
|
|
425
412
|
count = count + 1 | 0;
|
|
426
413
|
if (count > 1) {
|
|
427
414
|
buffer.e(separator);
|
|
@@ -476,9 +463,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
476
463
|
return tmp;
|
|
477
464
|
}
|
|
478
465
|
function toCollection_0(_this__u8e3s4, destination) {
|
|
479
|
-
var
|
|
480
|
-
while (
|
|
481
|
-
var item =
|
|
466
|
+
var _iterator__ex2g4s = _this__u8e3s4.g();
|
|
467
|
+
while (_iterator__ex2g4s.h()) {
|
|
468
|
+
var item = _iterator__ex2g4s.i();
|
|
482
469
|
destination.d(item);
|
|
483
470
|
}
|
|
484
471
|
return destination;
|
|
@@ -498,12 +485,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
498
485
|
}
|
|
499
486
|
function asSequence(_this__u8e3s4) {
|
|
500
487
|
// Inline function 'kotlin.sequences.Sequence' call
|
|
501
|
-
return new
|
|
488
|
+
return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
|
|
502
489
|
}
|
|
503
|
-
function
|
|
490
|
+
function asSequence$$inlined$Sequence$1($this_asSequence) {
|
|
504
491
|
this.l_1 = $this_asSequence;
|
|
505
492
|
}
|
|
506
|
-
protoOf(
|
|
493
|
+
protoOf(asSequence$$inlined$Sequence$1).g = function () {
|
|
507
494
|
// Inline function 'kotlin.collections.asSequence.<anonymous>' call
|
|
508
495
|
return this.l_1.g();
|
|
509
496
|
};
|
|
@@ -522,14 +509,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
522
509
|
function downTo(_this__u8e3s4, to) {
|
|
523
510
|
return Companion_instance_10.q(_this__u8e3s4, to, -1);
|
|
524
511
|
}
|
|
525
|
-
function
|
|
512
|
+
function contains_0(_this__u8e3s4, value) {
|
|
526
513
|
// Inline function 'kotlin.let' call
|
|
527
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
528
514
|
// Inline function 'kotlin.ranges.contains.<anonymous>' call
|
|
529
515
|
var it = toIntExactOrNull(value);
|
|
530
516
|
return !(it == null) ? _this__u8e3s4.r(it) : false;
|
|
531
517
|
}
|
|
532
|
-
function
|
|
518
|
+
function contains_1(_this__u8e3s4, value) {
|
|
533
519
|
return _this__u8e3s4.r(value);
|
|
534
520
|
}
|
|
535
521
|
function toIntExactOrNull(_this__u8e3s4) {
|
|
@@ -575,7 +561,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
575
561
|
}
|
|
576
562
|
function asIterable(_this__u8e3s4) {
|
|
577
563
|
// Inline function 'kotlin.collections.Iterable' call
|
|
578
|
-
return new
|
|
564
|
+
return new asIterable$$inlined$Iterable$1(_this__u8e3s4);
|
|
579
565
|
}
|
|
580
566
|
function joinTo_2(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
581
567
|
separator = separator === VOID ? ', ' : separator;
|
|
@@ -586,9 +572,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
586
572
|
transform = transform === VOID ? null : transform;
|
|
587
573
|
buffer.e(prefix);
|
|
588
574
|
var count = 0;
|
|
589
|
-
var
|
|
590
|
-
$l$loop: while (
|
|
591
|
-
var element =
|
|
575
|
+
var _iterator__ex2g4s = _this__u8e3s4.g();
|
|
576
|
+
$l$loop: while (_iterator__ex2g4s.h()) {
|
|
577
|
+
var element = _iterator__ex2g4s.i();
|
|
592
578
|
count = count + 1 | 0;
|
|
593
579
|
if (count > 1) {
|
|
594
580
|
buffer.e(separator);
|
|
@@ -604,10 +590,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
604
590
|
buffer.e(postfix);
|
|
605
591
|
return buffer;
|
|
606
592
|
}
|
|
607
|
-
function
|
|
593
|
+
function asIterable$$inlined$Iterable$1($this_asIterable) {
|
|
608
594
|
this.z_1 = $this_asIterable;
|
|
609
595
|
}
|
|
610
|
-
protoOf(
|
|
596
|
+
protoOf(asIterable$$inlined$Iterable$1).g = function () {
|
|
611
597
|
// Inline function 'kotlin.sequences.asIterable.<anonymous>' call
|
|
612
598
|
return this.z_1.g();
|
|
613
599
|
};
|
|
@@ -825,8 +811,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
825
811
|
var i = interfaces[inductionVariable];
|
|
826
812
|
inductionVariable = inductionVariable + 1 | 0;
|
|
827
813
|
var currentSize = maxSize;
|
|
828
|
-
var
|
|
829
|
-
var imask =
|
|
814
|
+
var tmp0_elvis_lhs = i.prototype.$imask$;
|
|
815
|
+
var imask = tmp0_elvis_lhs == null ? i.$imask$ : tmp0_elvis_lhs;
|
|
830
816
|
if (!(imask == null)) {
|
|
831
817
|
masks.push(imask);
|
|
832
818
|
currentSize = imask.length;
|
|
@@ -837,7 +823,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
837
823
|
tmp = null;
|
|
838
824
|
} else {
|
|
839
825
|
// Inline function 'kotlin.let' call
|
|
840
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
841
826
|
// Inline function 'kotlin.js.implement.<anonymous>' call
|
|
842
827
|
tmp = bitMaskWith(iid);
|
|
843
828
|
}
|
|
@@ -906,27 +891,27 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
906
891
|
return new arrayIterator$1(array);
|
|
907
892
|
}
|
|
908
893
|
function charArray(size) {
|
|
909
|
-
|
|
894
|
+
var tmp0 = 'CharArray';
|
|
910
895
|
// Inline function 'withType' call
|
|
911
|
-
var type = 'CharArray';
|
|
912
896
|
var array = new Uint16Array(size);
|
|
913
|
-
array.$type$ =
|
|
897
|
+
array.$type$ = tmp0;
|
|
898
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
914
899
|
return array;
|
|
915
900
|
}
|
|
916
901
|
function longArray(size) {
|
|
917
|
-
|
|
902
|
+
var tmp0 = 'LongArray';
|
|
918
903
|
// Inline function 'withType' call
|
|
919
|
-
var type = 'LongArray';
|
|
920
904
|
var array = fillArrayVal(Array(size), new Long(0, 0));
|
|
921
|
-
array.$type$ =
|
|
905
|
+
array.$type$ = tmp0;
|
|
906
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
922
907
|
return array;
|
|
923
908
|
}
|
|
924
909
|
function charArrayOf(arr) {
|
|
925
|
-
|
|
910
|
+
var tmp0 = 'CharArray';
|
|
926
911
|
// Inline function 'withType' call
|
|
927
|
-
var type = 'CharArray';
|
|
928
912
|
var array = new Uint16Array(arr);
|
|
929
|
-
array.$type$ =
|
|
913
|
+
array.$type$ = tmp0;
|
|
914
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
930
915
|
return array;
|
|
931
916
|
}
|
|
932
917
|
function arrayIterator$1($array) {
|
|
@@ -939,9 +924,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
939
924
|
protoOf(arrayIterator$1).i = function () {
|
|
940
925
|
var tmp;
|
|
941
926
|
if (!(this.v2_1 === this.w2_1.length)) {
|
|
942
|
-
var
|
|
943
|
-
this.v2_1 =
|
|
944
|
-
tmp = this.w2_1[
|
|
927
|
+
var _unary__edvuaz = this.v2_1;
|
|
928
|
+
this.v2_1 = _unary__edvuaz + 1 | 0;
|
|
929
|
+
tmp = this.w2_1[_unary__edvuaz];
|
|
945
930
|
} else {
|
|
946
931
|
throw NoSuchElementException_init_$Create$_0('' + this.v2_1);
|
|
947
932
|
}
|
|
@@ -1000,8 +985,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1000
985
|
}
|
|
1001
986
|
function getNumberHashCode(obj) {
|
|
1002
987
|
_init_properties_bitUtils_kt__nfcg4k();
|
|
1003
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1004
988
|
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
989
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1005
990
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1006
991
|
if ((obj | 0) === obj) {
|
|
1007
992
|
return numberToInt(obj);
|
|
@@ -1024,7 +1009,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1024
1009
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1025
1010
|
bufInt32 = new Int32Array(get_buf());
|
|
1026
1011
|
// Inline function 'kotlin.run' call
|
|
1027
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1028
1012
|
// Inline function 'kotlin.js.lowIndex.<anonymous>' call
|
|
1029
1013
|
get_bufFloat64()[0] = -1.0;
|
|
1030
1014
|
lowIndex = !(get_bufInt32()[0] === 0) ? 1 : 0;
|
|
@@ -1034,9 +1018,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1034
1018
|
function charSequenceGet(a, index) {
|
|
1035
1019
|
var tmp;
|
|
1036
1020
|
if (isString(a)) {
|
|
1037
|
-
// Inline function 'kotlin.Char' call
|
|
1038
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1039
1021
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1022
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1023
|
+
// Inline function 'kotlin.Char' call
|
|
1040
1024
|
var code = a.charCodeAt(index);
|
|
1041
1025
|
var tmp_0;
|
|
1042
1026
|
// Inline function 'kotlin.code' call
|
|
@@ -1063,8 +1047,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1063
1047
|
function charSequenceLength(a) {
|
|
1064
1048
|
var tmp;
|
|
1065
1049
|
if (isString(a)) {
|
|
1066
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1067
1050
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1051
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1068
1052
|
tmp = a.length;
|
|
1069
1053
|
} else {
|
|
1070
1054
|
tmp = a.a();
|
|
@@ -1074,8 +1058,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1074
1058
|
function charSequenceSubSequence(a, startIndex, endIndex) {
|
|
1075
1059
|
var tmp;
|
|
1076
1060
|
if (isString(a)) {
|
|
1077
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1078
1061
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1062
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1079
1063
|
tmp = a.substring(startIndex, endIndex);
|
|
1080
1064
|
} else {
|
|
1081
1065
|
tmp = a.c(startIndex, endIndex);
|
|
@@ -1174,13 +1158,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1174
1158
|
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
1175
1159
|
return Math.random() * 4.294967296E9 | 0;
|
|
1176
1160
|
}
|
|
1161
|
+
function defineProp(obj, name, getter, setter) {
|
|
1162
|
+
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
|
|
1163
|
+
}
|
|
1177
1164
|
function objectCreate(proto) {
|
|
1178
1165
|
proto = proto === VOID ? null : proto;
|
|
1179
1166
|
return Object.create(proto);
|
|
1180
1167
|
}
|
|
1181
|
-
function defineProp(obj, name, getter, setter) {
|
|
1182
|
-
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
|
|
1183
|
-
}
|
|
1184
1168
|
function toString_1(o) {
|
|
1185
1169
|
var tmp;
|
|
1186
1170
|
if (o == null) {
|
|
@@ -1626,8 +1610,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1626
1610
|
var div = _this__u8e3s4.l2(radixLong);
|
|
1627
1611
|
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).u();
|
|
1628
1612
|
var tmp = toStringImpl(div, radix);
|
|
1629
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1630
1613
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1614
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1631
1615
|
return tmp + rem.toString(radix);
|
|
1632
1616
|
} else {
|
|
1633
1617
|
return '-' + toStringImpl(negate(_this__u8e3s4), radix);
|
|
@@ -1640,8 +1624,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1640
1624
|
while (true) {
|
|
1641
1625
|
var remDiv = rem_0.l2(radixToPower);
|
|
1642
1626
|
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).u();
|
|
1643
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1644
1627
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1628
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1645
1629
|
var digits = intval.toString(radix);
|
|
1646
1630
|
rem_0 = remDiv;
|
|
1647
1631
|
if (isZero(rem_0)) {
|
|
@@ -1799,8 +1783,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1799
1783
|
var result = new a.constructor(size_local);
|
|
1800
1784
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1801
1785
|
if (a.$type$ != null) {
|
|
1802
|
-
// Inline function 'withType' call
|
|
1803
1786
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1787
|
+
// Inline function 'withType' call
|
|
1804
1788
|
result.$type$ = a.$type$;
|
|
1805
1789
|
}
|
|
1806
1790
|
size_local = 0;
|
|
@@ -1819,9 +1803,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1819
1803
|
do {
|
|
1820
1804
|
var j = inductionVariable_1;
|
|
1821
1805
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
1822
|
-
var
|
|
1823
|
-
size_local =
|
|
1824
|
-
result[
|
|
1806
|
+
var _unary__edvuaz = size_local;
|
|
1807
|
+
size_local = _unary__edvuaz + 1 | 0;
|
|
1808
|
+
result[_unary__edvuaz] = arr[j];
|
|
1825
1809
|
}
|
|
1826
1810
|
while (!(j === last_1));
|
|
1827
1811
|
}
|
|
@@ -1981,7 +1965,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1981
1965
|
null;
|
|
1982
1966
|
else {
|
|
1983
1967
|
// Inline function 'kotlin.let' call
|
|
1984
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
1985
1968
|
return tmp2_safe_receiver;
|
|
1986
1969
|
}
|
|
1987
1970
|
var result = 0;
|
|
@@ -2025,7 +2008,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2025
2008
|
}
|
|
2026
2009
|
function copyOf(_this__u8e3s4, newSize) {
|
|
2027
2010
|
// Inline function 'kotlin.require' call
|
|
2028
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2029
2011
|
if (!(newSize >= 0)) {
|
|
2030
2012
|
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
2031
2013
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
@@ -2035,7 +2017,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2035
2017
|
}
|
|
2036
2018
|
function copyOf_0(_this__u8e3s4, newSize) {
|
|
2037
2019
|
// Inline function 'kotlin.require' call
|
|
2038
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2039
2020
|
if (!(newSize >= 0)) {
|
|
2040
2021
|
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
2041
2022
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
@@ -2055,7 +2036,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2055
2036
|
}
|
|
2056
2037
|
function copyOf_1(_this__u8e3s4, newSize) {
|
|
2057
2038
|
// Inline function 'kotlin.require' call
|
|
2058
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2059
2039
|
if (!(newSize >= 0)) {
|
|
2060
2040
|
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
2061
2041
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
@@ -2077,9 +2057,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2077
2057
|
var sixBit = fromBase64[Char__toInt_impl_vasixd(char)];
|
|
2078
2058
|
int = int | (sixBit & 31) << shift;
|
|
2079
2059
|
if (sixBit < 32) {
|
|
2080
|
-
var
|
|
2081
|
-
index =
|
|
2082
|
-
result[
|
|
2060
|
+
var _unary__edvuaz = index;
|
|
2061
|
+
index = _unary__edvuaz + 1 | 0;
|
|
2062
|
+
result[_unary__edvuaz] = int;
|
|
2083
2063
|
int = 0;
|
|
2084
2064
|
shift = 0;
|
|
2085
2065
|
} else {
|
|
@@ -2221,22 +2201,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2221
2201
|
return !(_this__u8e3s4 === _this__u8e3s4);
|
|
2222
2202
|
}
|
|
2223
2203
|
function toBits(_this__u8e3s4) {
|
|
2224
|
-
|
|
2225
|
-
if (isNaN_0(_this__u8e3s4)) {
|
|
2226
|
-
tmp = NaN;
|
|
2227
|
-
} else {
|
|
2228
|
-
tmp = _this__u8e3s4;
|
|
2229
|
-
}
|
|
2230
|
-
return doubleToRawBits(tmp);
|
|
2204
|
+
return doubleToRawBits(isNaN_0(_this__u8e3s4) ? NaN : _this__u8e3s4);
|
|
2231
2205
|
}
|
|
2232
2206
|
function toBits_0(_this__u8e3s4) {
|
|
2233
|
-
|
|
2234
|
-
if (isNaN_1(_this__u8e3s4)) {
|
|
2235
|
-
tmp = NaN;
|
|
2236
|
-
} else {
|
|
2237
|
-
tmp = _this__u8e3s4;
|
|
2238
|
-
}
|
|
2239
|
-
return floatToRawBits(tmp);
|
|
2207
|
+
return floatToRawBits(isNaN_1(_this__u8e3s4) ? NaN : _this__u8e3s4);
|
|
2240
2208
|
}
|
|
2241
2209
|
function isNaN_1(_this__u8e3s4) {
|
|
2242
2210
|
return !(_this__u8e3s4 === _this__u8e3s4);
|
|
@@ -2251,11 +2219,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2251
2219
|
}
|
|
2252
2220
|
return tmp;
|
|
2253
2221
|
}
|
|
2222
|
+
function Unit() {
|
|
2223
|
+
}
|
|
2224
|
+
protoOf(Unit).toString = function () {
|
|
2225
|
+
return 'kotlin.Unit';
|
|
2226
|
+
};
|
|
2227
|
+
var Unit_instance;
|
|
2228
|
+
function Unit_getInstance() {
|
|
2229
|
+
return Unit_instance;
|
|
2230
|
+
}
|
|
2254
2231
|
function uintCompare(v1, v2) {
|
|
2255
2232
|
return compareTo(v1 ^ -2147483648, v2 ^ -2147483648);
|
|
2256
2233
|
}
|
|
2257
2234
|
function uintDivide(v1, v2) {
|
|
2258
|
-
// Inline function 'kotlin.toUInt' call
|
|
2259
2235
|
// Inline function 'kotlin.UInt.toLong' call
|
|
2260
2236
|
// Inline function 'kotlin.uintToLong' call
|
|
2261
2237
|
var value = _UInt___get_data__impl__f0vqqw(v1);
|
|
@@ -2264,6 +2240,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2264
2240
|
// Inline function 'kotlin.uintToLong' call
|
|
2265
2241
|
var value_0 = _UInt___get_data__impl__f0vqqw(v2);
|
|
2266
2242
|
var tmp$ret$3 = toLong(value_0).q2(new Long(-1, 0));
|
|
2243
|
+
// Inline function 'kotlin.toUInt' call
|
|
2267
2244
|
var this_0 = tmp.l2(tmp$ret$3);
|
|
2268
2245
|
return _UInt___init__impl__l7qpdl(this_0.u());
|
|
2269
2246
|
}
|
|
@@ -2283,8 +2260,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2283
2260
|
var tmp;
|
|
2284
2261
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2285
2262
|
if (collection.toArray !== undefined) {
|
|
2286
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
2287
2263
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2264
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2288
2265
|
tmp = collection.toArray();
|
|
2289
2266
|
} else {
|
|
2290
2267
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2336,9 +2313,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2336
2313
|
protoOf(AbstractMutableCollection).k3 = function (elements) {
|
|
2337
2314
|
this.l3();
|
|
2338
2315
|
var modified = false;
|
|
2339
|
-
var
|
|
2340
|
-
while (
|
|
2341
|
-
var element =
|
|
2316
|
+
var _iterator__ex2g4s = elements.g();
|
|
2317
|
+
while (_iterator__ex2g4s.h()) {
|
|
2318
|
+
var element = _iterator__ex2g4s.i();
|
|
2342
2319
|
if (this.d(element))
|
|
2343
2320
|
modified = true;
|
|
2344
2321
|
}
|
|
@@ -2361,14 +2338,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2361
2338
|
if (!this.h())
|
|
2362
2339
|
throw NoSuchElementException_init_$Create$();
|
|
2363
2340
|
var tmp = this;
|
|
2364
|
-
var
|
|
2365
|
-
this.m3_1 =
|
|
2366
|
-
tmp.n3_1 =
|
|
2341
|
+
var _unary__edvuaz = this.m3_1;
|
|
2342
|
+
this.m3_1 = _unary__edvuaz + 1 | 0;
|
|
2343
|
+
tmp.n3_1 = _unary__edvuaz;
|
|
2367
2344
|
return this.o3_1.k(this.n3_1);
|
|
2368
2345
|
};
|
|
2369
2346
|
protoOf(IteratorImpl).p3 = function () {
|
|
2370
2347
|
// Inline function 'kotlin.check' call
|
|
2371
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2372
2348
|
if (!!(this.n3_1 === -1)) {
|
|
2373
2349
|
// Inline function 'kotlin.collections.IteratorImpl.remove.<anonymous>' call
|
|
2374
2350
|
var message = 'Call next() or previous() before removing element from the iterator.';
|
|
@@ -2401,16 +2377,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2401
2377
|
return new IteratorImpl(this);
|
|
2402
2378
|
};
|
|
2403
2379
|
protoOf(AbstractMutableList).r1 = function (element) {
|
|
2404
|
-
return this.
|
|
2380
|
+
return this.s1(element) >= 0;
|
|
2405
2381
|
};
|
|
2406
|
-
protoOf(AbstractMutableList).
|
|
2382
|
+
protoOf(AbstractMutableList).s1 = function (element) {
|
|
2407
2383
|
var tmp$ret$1;
|
|
2408
2384
|
$l$block: {
|
|
2409
2385
|
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
2410
2386
|
var index = 0;
|
|
2411
|
-
var
|
|
2412
|
-
while (
|
|
2413
|
-
var item =
|
|
2387
|
+
var _iterator__ex2g4s = this.g();
|
|
2388
|
+
while (_iterator__ex2g4s.h()) {
|
|
2389
|
+
var item = _iterator__ex2g4s.i();
|
|
2414
2390
|
// Inline function 'kotlin.collections.AbstractMutableList.indexOf.<anonymous>' call
|
|
2415
2391
|
if (equals(item, element)) {
|
|
2416
2392
|
tmp$ret$1 = index;
|
|
@@ -2429,7 +2405,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2429
2405
|
var iterator = this.a4(fromIndex);
|
|
2430
2406
|
// Inline function 'kotlin.repeat' call
|
|
2431
2407
|
var times = toIndex - fromIndex | 0;
|
|
2432
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2433
2408
|
var inductionVariable = 0;
|
|
2434
2409
|
if (inductionVariable < times)
|
|
2435
2410
|
do {
|
|
@@ -2471,14 +2446,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2471
2446
|
};
|
|
2472
2447
|
function arrayOfUninitializedElements(capacity) {
|
|
2473
2448
|
// Inline function 'kotlin.require' call
|
|
2474
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2475
2449
|
if (!(capacity >= 0)) {
|
|
2476
2450
|
// Inline function 'kotlin.collections.arrayOfUninitializedElements.<anonymous>' call
|
|
2477
2451
|
var message = 'capacity must be non-negative.';
|
|
2478
2452
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
2479
2453
|
}
|
|
2480
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
2481
2454
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2455
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2482
2456
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2483
2457
|
return fillArrayVal(Array(capacity), null);
|
|
2484
2458
|
}
|
|
@@ -2497,7 +2471,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2497
2471
|
var tmp = this;
|
|
2498
2472
|
// Inline function 'kotlin.also' call
|
|
2499
2473
|
var this_0 = ArrayList_init_$Create$_0(0);
|
|
2500
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2501
2474
|
// Inline function 'kotlin.collections.Companion.Empty.<anonymous>' call
|
|
2502
2475
|
this_0.y_1 = true;
|
|
2503
2476
|
tmp.n4_1 = this_0;
|
|
@@ -2522,7 +2495,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2522
2495
|
var tmp$ret$0 = [];
|
|
2523
2496
|
ArrayList.call($this, tmp$ret$0);
|
|
2524
2497
|
// Inline function 'kotlin.require' call
|
|
2525
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2526
2498
|
if (!(initialCapacity >= 0)) {
|
|
2527
2499
|
// Inline function 'kotlin.collections.ArrayList.<init>.<anonymous>' call
|
|
2528
2500
|
var message = 'Negative initial capacity: ' + initialCapacity;
|
|
@@ -2550,14 +2522,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2550
2522
|
}
|
|
2551
2523
|
function rangeCheck($this, index) {
|
|
2552
2524
|
// Inline function 'kotlin.apply' call
|
|
2553
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2554
2525
|
// Inline function 'kotlin.collections.ArrayList.rangeCheck.<anonymous>' call
|
|
2555
2526
|
Companion_instance_5.o4(index, $this.j());
|
|
2556
2527
|
return index;
|
|
2557
2528
|
}
|
|
2558
2529
|
function insertionRangeCheck($this, index) {
|
|
2559
2530
|
// Inline function 'kotlin.apply' call
|
|
2560
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2561
2531
|
// Inline function 'kotlin.collections.ArrayList.insertionRangeCheck.<anonymous>' call
|
|
2562
2532
|
Companion_instance_5.w3(index, $this.j());
|
|
2563
2533
|
return index;
|
|
@@ -2595,13 +2565,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2595
2565
|
var offset = increaseLength(this, elements.j());
|
|
2596
2566
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
2597
2567
|
var index = 0;
|
|
2598
|
-
var
|
|
2599
|
-
while (
|
|
2600
|
-
var item =
|
|
2568
|
+
var _iterator__ex2g4s = elements.g();
|
|
2569
|
+
while (_iterator__ex2g4s.h()) {
|
|
2570
|
+
var item = _iterator__ex2g4s.i();
|
|
2571
|
+
var _unary__edvuaz = index;
|
|
2572
|
+
index = _unary__edvuaz + 1 | 0;
|
|
2601
2573
|
// Inline function 'kotlin.collections.ArrayList.addAll.<anonymous>' call
|
|
2602
|
-
var
|
|
2603
|
-
index = tmp1 + 1 | 0;
|
|
2604
|
-
var index_0 = checkIndexOverflow(tmp1);
|
|
2574
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
2605
2575
|
this.x_1[offset + index_0 | 0] = item;
|
|
2606
2576
|
}
|
|
2607
2577
|
this.q3_1 = this.q3_1 + 1 | 0;
|
|
@@ -2634,7 +2604,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2634
2604
|
tmp.x_1 = [];
|
|
2635
2605
|
this.q3_1 = this.q3_1 + 1 | 0;
|
|
2636
2606
|
};
|
|
2637
|
-
protoOf(ArrayList).
|
|
2607
|
+
protoOf(ArrayList).s1 = function (element) {
|
|
2638
2608
|
return indexOf_0(this.x_1, element);
|
|
2639
2609
|
};
|
|
2640
2610
|
protoOf(ArrayList).toString = function () {
|
|
@@ -2680,7 +2650,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2680
2650
|
if (tmp0_elvis_lhs == null) {
|
|
2681
2651
|
// Inline function 'kotlin.also' call
|
|
2682
2652
|
var this_0 = new HashMapEntrySet(this.u4_1);
|
|
2683
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2684
2653
|
// Inline function 'kotlin.collections.HashMap.<get-entries>.<anonymous>' call
|
|
2685
2654
|
this.v4_1 = this_0;
|
|
2686
2655
|
tmp = this_0;
|
|
@@ -2734,7 +2703,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2734
2703
|
protoOf(HashMapEntrySetBase).k3 = function (elements) {
|
|
2735
2704
|
throw UnsupportedOperationException_init_$Create$();
|
|
2736
2705
|
};
|
|
2737
|
-
protoOf(HashMapEntrySetBase).
|
|
2706
|
+
protoOf(HashMapEntrySetBase).t1 = function (elements) {
|
|
2738
2707
|
return this.y4_1.d5(elements);
|
|
2739
2708
|
};
|
|
2740
2709
|
protoOf(HashMapEntrySetBase).l3 = function () {
|
|
@@ -2788,6 +2757,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2788
2757
|
// Inline function 'kotlin.countLeadingZeroBits' call
|
|
2789
2758
|
return clz32(hashSize) + 1 | 0;
|
|
2790
2759
|
}
|
|
2760
|
+
function checkForComodification($this) {
|
|
2761
|
+
if (!($this.r5_1.o5_1 === $this.t5_1))
|
|
2762
|
+
throw ConcurrentModificationException_init_$Create$_0('The backing map has been modified after this entry was obtained.');
|
|
2763
|
+
}
|
|
2791
2764
|
function InternalHashMap_init_$Init$($this) {
|
|
2792
2765
|
InternalHashMap_init_$Init$_0(8, $this);
|
|
2793
2766
|
return $this;
|
|
@@ -2802,7 +2775,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2802
2775
|
function InternalHashMap_init_$Init$_1(initialCapacity, loadFactor, $this) {
|
|
2803
2776
|
InternalHashMap_init_$Init$_0(initialCapacity, $this);
|
|
2804
2777
|
// Inline function 'kotlin.require' call
|
|
2805
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2806
2778
|
if (!(loadFactor > 0)) {
|
|
2807
2779
|
// Inline function 'kotlin.collections.InternalHashMap.<init>.<anonymous>' call
|
|
2808
2780
|
var message = 'Non-positive load factor: ' + loadFactor;
|
|
@@ -2838,7 +2810,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2838
2810
|
if (minCapacity < 0)
|
|
2839
2811
|
throw RuntimeException_init_$Create$_0('too many elements');
|
|
2840
2812
|
if (minCapacity > _get_capacity__a9k9f3($this)) {
|
|
2841
|
-
var newSize = Companion_instance_5.
|
|
2813
|
+
var newSize = Companion_instance_5.u5(_get_capacity__a9k9f3($this), minCapacity);
|
|
2842
2814
|
$this.h5_1 = copyOfUninitializedElements($this.h5_1, newSize);
|
|
2843
2815
|
var tmp = $this;
|
|
2844
2816
|
var tmp0_safe_receiver = $this.i5_1;
|
|
@@ -2897,9 +2869,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2897
2869
|
$this.n5_1 = computeShift(Companion_instance_3, newHashSize);
|
|
2898
2870
|
var i = 0;
|
|
2899
2871
|
while (i < $this.m5_1) {
|
|
2900
|
-
var
|
|
2901
|
-
i =
|
|
2902
|
-
if (!putRehash($this,
|
|
2872
|
+
var _unary__edvuaz = i;
|
|
2873
|
+
i = _unary__edvuaz + 1 | 0;
|
|
2874
|
+
if (!putRehash($this, _unary__edvuaz)) {
|
|
2903
2875
|
throw IllegalStateException_init_$Create$_0('This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?');
|
|
2904
2876
|
}
|
|
2905
2877
|
}
|
|
@@ -2917,9 +2889,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2917
2889
|
probesLeft = probesLeft - 1 | 0;
|
|
2918
2890
|
if (probesLeft < 0)
|
|
2919
2891
|
return false;
|
|
2920
|
-
var
|
|
2921
|
-
hash_0 =
|
|
2922
|
-
if (
|
|
2892
|
+
var _unary__edvuaz = hash_0;
|
|
2893
|
+
hash_0 = _unary__edvuaz - 1 | 0;
|
|
2894
|
+
if (_unary__edvuaz === 0)
|
|
2923
2895
|
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
|
|
2924
2896
|
}
|
|
2925
2897
|
}
|
|
@@ -2935,9 +2907,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2935
2907
|
probesLeft = probesLeft - 1 | 0;
|
|
2936
2908
|
if (probesLeft < 0)
|
|
2937
2909
|
return -1;
|
|
2938
|
-
var
|
|
2939
|
-
hash_0 =
|
|
2940
|
-
if (
|
|
2910
|
+
var _unary__edvuaz = hash_0;
|
|
2911
|
+
hash_0 = _unary__edvuaz - 1 | 0;
|
|
2912
|
+
if (_unary__edvuaz === 0)
|
|
2941
2913
|
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
|
|
2942
2914
|
}
|
|
2943
2915
|
}
|
|
@@ -2954,9 +2926,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2954
2926
|
ensureExtraCapacity($this, 1);
|
|
2955
2927
|
continue retry;
|
|
2956
2928
|
}
|
|
2957
|
-
var
|
|
2958
|
-
$this.m5_1 =
|
|
2959
|
-
var putIndex =
|
|
2929
|
+
var _unary__edvuaz = $this.m5_1;
|
|
2930
|
+
$this.m5_1 = _unary__edvuaz + 1 | 0;
|
|
2931
|
+
var putIndex = _unary__edvuaz;
|
|
2960
2932
|
$this.h5_1[putIndex] = key;
|
|
2961
2933
|
$this.j5_1[putIndex] = hash_0;
|
|
2962
2934
|
$this.k5_1[hash_0] = putIndex + 1 | 0;
|
|
@@ -2974,9 +2946,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2974
2946
|
rehash($this, imul(_get_hashSize__tftcho($this), 2));
|
|
2975
2947
|
continue retry;
|
|
2976
2948
|
}
|
|
2977
|
-
var
|
|
2978
|
-
hash_0 =
|
|
2979
|
-
if (
|
|
2949
|
+
var _unary__edvuaz_0 = hash_0;
|
|
2950
|
+
hash_0 = _unary__edvuaz_0 - 1 | 0;
|
|
2951
|
+
if (_unary__edvuaz_0 === 0)
|
|
2980
2952
|
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
|
|
2981
2953
|
}
|
|
2982
2954
|
}
|
|
@@ -2985,113 +2957,114 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2985
2957
|
return $this.p5_1 === other.j() && $this.d5(other.y1());
|
|
2986
2958
|
}
|
|
2987
2959
|
function Companion_3() {
|
|
2988
|
-
this.
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2991
|
-
this.
|
|
2960
|
+
this.v5_1 = -1640531527;
|
|
2961
|
+
this.w5_1 = 8;
|
|
2962
|
+
this.x5_1 = 2;
|
|
2963
|
+
this.y5_1 = -1;
|
|
2992
2964
|
}
|
|
2993
2965
|
var Companion_instance_3;
|
|
2994
2966
|
function Companion_getInstance_3() {
|
|
2995
2967
|
return Companion_instance_3;
|
|
2996
2968
|
}
|
|
2997
2969
|
function Itr(map) {
|
|
2998
|
-
this.
|
|
2999
|
-
this.
|
|
3000
|
-
this.
|
|
3001
|
-
this.
|
|
3002
|
-
this.
|
|
2970
|
+
this.z5_1 = map;
|
|
2971
|
+
this.a6_1 = 0;
|
|
2972
|
+
this.b6_1 = -1;
|
|
2973
|
+
this.c6_1 = this.z5_1.o5_1;
|
|
2974
|
+
this.d6();
|
|
3003
2975
|
}
|
|
3004
|
-
protoOf(Itr).
|
|
3005
|
-
while (this.
|
|
3006
|
-
this.
|
|
2976
|
+
protoOf(Itr).d6 = function () {
|
|
2977
|
+
while (this.a6_1 < this.z5_1.m5_1 && this.z5_1.j5_1[this.a6_1] < 0) {
|
|
2978
|
+
this.a6_1 = this.a6_1 + 1 | 0;
|
|
3007
2979
|
}
|
|
3008
2980
|
};
|
|
3009
2981
|
protoOf(Itr).h = function () {
|
|
3010
|
-
return this.
|
|
2982
|
+
return this.a6_1 < this.z5_1.m5_1;
|
|
3011
2983
|
};
|
|
3012
|
-
protoOf(Itr).
|
|
3013
|
-
if (!(this.
|
|
2984
|
+
protoOf(Itr).e6 = function () {
|
|
2985
|
+
if (!(this.z5_1.o5_1 === this.c6_1))
|
|
3014
2986
|
throw ConcurrentModificationException_init_$Create$();
|
|
3015
2987
|
};
|
|
3016
2988
|
function KeysItr(map) {
|
|
3017
2989
|
Itr.call(this, map);
|
|
3018
2990
|
}
|
|
3019
2991
|
protoOf(KeysItr).i = function () {
|
|
3020
|
-
this.
|
|
3021
|
-
if (this.
|
|
2992
|
+
this.e6();
|
|
2993
|
+
if (this.a6_1 >= this.z5_1.m5_1)
|
|
3022
2994
|
throw NoSuchElementException_init_$Create$();
|
|
3023
2995
|
var tmp = this;
|
|
3024
|
-
var
|
|
3025
|
-
this.
|
|
3026
|
-
tmp.
|
|
3027
|
-
var result = this.
|
|
3028
|
-
this.
|
|
2996
|
+
var _unary__edvuaz = this.a6_1;
|
|
2997
|
+
this.a6_1 = _unary__edvuaz + 1 | 0;
|
|
2998
|
+
tmp.b6_1 = _unary__edvuaz;
|
|
2999
|
+
var result = this.z5_1.h5_1[this.b6_1];
|
|
3000
|
+
this.d6();
|
|
3029
3001
|
return result;
|
|
3030
3002
|
};
|
|
3031
3003
|
function EntriesItr(map) {
|
|
3032
3004
|
Itr.call(this, map);
|
|
3033
3005
|
}
|
|
3034
3006
|
protoOf(EntriesItr).i = function () {
|
|
3035
|
-
this.
|
|
3036
|
-
if (this.
|
|
3007
|
+
this.e6();
|
|
3008
|
+
if (this.a6_1 >= this.z5_1.m5_1)
|
|
3037
3009
|
throw NoSuchElementException_init_$Create$();
|
|
3038
3010
|
var tmp = this;
|
|
3039
|
-
var
|
|
3040
|
-
this.
|
|
3041
|
-
tmp.
|
|
3042
|
-
var result = new EntryRef(this.
|
|
3043
|
-
this.
|
|
3011
|
+
var _unary__edvuaz = this.a6_1;
|
|
3012
|
+
this.a6_1 = _unary__edvuaz + 1 | 0;
|
|
3013
|
+
tmp.b6_1 = _unary__edvuaz;
|
|
3014
|
+
var result = new EntryRef(this.z5_1, this.b6_1);
|
|
3015
|
+
this.d6();
|
|
3044
3016
|
return result;
|
|
3045
3017
|
};
|
|
3046
|
-
protoOf(EntriesItr).
|
|
3047
|
-
if (this.
|
|
3018
|
+
protoOf(EntriesItr).n6 = function () {
|
|
3019
|
+
if (this.a6_1 >= this.z5_1.m5_1)
|
|
3048
3020
|
throw NoSuchElementException_init_$Create$();
|
|
3049
3021
|
var tmp = this;
|
|
3050
|
-
var
|
|
3051
|
-
this.
|
|
3052
|
-
tmp.
|
|
3022
|
+
var _unary__edvuaz = this.a6_1;
|
|
3023
|
+
this.a6_1 = _unary__edvuaz + 1 | 0;
|
|
3024
|
+
tmp.b6_1 = _unary__edvuaz;
|
|
3053
3025
|
// Inline function 'kotlin.hashCode' call
|
|
3054
|
-
var tmp0_safe_receiver = this.
|
|
3026
|
+
var tmp0_safe_receiver = this.z5_1.h5_1[this.b6_1];
|
|
3055
3027
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
3056
3028
|
var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
3057
3029
|
// Inline function 'kotlin.hashCode' call
|
|
3058
|
-
var tmp0_safe_receiver_0 = ensureNotNull(this.
|
|
3030
|
+
var tmp0_safe_receiver_0 = ensureNotNull(this.z5_1.i5_1)[this.b6_1];
|
|
3059
3031
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
3060
3032
|
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
3061
|
-
this.
|
|
3033
|
+
this.d6();
|
|
3062
3034
|
return result;
|
|
3063
3035
|
};
|
|
3064
|
-
protoOf(EntriesItr).
|
|
3065
|
-
if (this.
|
|
3036
|
+
protoOf(EntriesItr).o6 = function (sb) {
|
|
3037
|
+
if (this.a6_1 >= this.z5_1.m5_1)
|
|
3066
3038
|
throw NoSuchElementException_init_$Create$();
|
|
3067
3039
|
var tmp = this;
|
|
3068
|
-
var
|
|
3069
|
-
this.
|
|
3070
|
-
tmp.
|
|
3071
|
-
var key = this.
|
|
3072
|
-
if (equals(key, this.
|
|
3073
|
-
sb.
|
|
3074
|
-
|
|
3075
|
-
sb.
|
|
3076
|
-
}
|
|
3040
|
+
var _unary__edvuaz = this.a6_1;
|
|
3041
|
+
this.a6_1 = _unary__edvuaz + 1 | 0;
|
|
3042
|
+
tmp.b6_1 = _unary__edvuaz;
|
|
3043
|
+
var key = this.z5_1.h5_1[this.b6_1];
|
|
3044
|
+
if (equals(key, this.z5_1))
|
|
3045
|
+
sb.r6('(this Map)');
|
|
3046
|
+
else
|
|
3047
|
+
sb.q6(key);
|
|
3077
3048
|
sb.f(_Char___init__impl__6a9atx(61));
|
|
3078
|
-
var value = ensureNotNull(this.
|
|
3079
|
-
if (equals(value, this.
|
|
3080
|
-
sb.
|
|
3081
|
-
|
|
3082
|
-
sb.
|
|
3083
|
-
|
|
3084
|
-
this.a6();
|
|
3049
|
+
var value = ensureNotNull(this.z5_1.i5_1)[this.b6_1];
|
|
3050
|
+
if (equals(value, this.z5_1))
|
|
3051
|
+
sb.r6('(this Map)');
|
|
3052
|
+
else
|
|
3053
|
+
sb.q6(value);
|
|
3054
|
+
this.d6();
|
|
3085
3055
|
};
|
|
3086
3056
|
function EntryRef(map, index) {
|
|
3087
|
-
this.
|
|
3088
|
-
this.
|
|
3057
|
+
this.r5_1 = map;
|
|
3058
|
+
this.s5_1 = index;
|
|
3059
|
+
this.t5_1 = this.r5_1.o5_1;
|
|
3089
3060
|
}
|
|
3090
3061
|
protoOf(EntryRef).u1 = function () {
|
|
3091
|
-
|
|
3062
|
+
checkForComodification(this);
|
|
3063
|
+
return this.r5_1.h5_1[this.s5_1];
|
|
3092
3064
|
};
|
|
3093
3065
|
protoOf(EntryRef).v1 = function () {
|
|
3094
|
-
|
|
3066
|
+
checkForComodification(this);
|
|
3067
|
+
return ensureNotNull(this.r5_1.i5_1)[this.s5_1];
|
|
3095
3068
|
};
|
|
3096
3069
|
protoOf(EntryRef).equals = function (other) {
|
|
3097
3070
|
var tmp;
|
|
@@ -3176,23 +3149,23 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3176
3149
|
var result = 0;
|
|
3177
3150
|
var it = this.z4();
|
|
3178
3151
|
while (it.h()) {
|
|
3179
|
-
result = result + it.
|
|
3152
|
+
result = result + it.n6() | 0;
|
|
3180
3153
|
}
|
|
3181
3154
|
return result;
|
|
3182
3155
|
};
|
|
3183
3156
|
protoOf(InternalHashMap).toString = function () {
|
|
3184
3157
|
var sb = StringBuilder_init_$Create$(2 + imul(this.p5_1, 3) | 0);
|
|
3185
|
-
sb.
|
|
3158
|
+
sb.r6('{');
|
|
3186
3159
|
var i = 0;
|
|
3187
3160
|
var it = this.z4();
|
|
3188
3161
|
while (it.h()) {
|
|
3189
3162
|
if (i > 0) {
|
|
3190
|
-
sb.
|
|
3163
|
+
sb.r6(', ');
|
|
3191
3164
|
}
|
|
3192
|
-
it.
|
|
3165
|
+
it.o6(sb);
|
|
3193
3166
|
i = i + 1 | 0;
|
|
3194
3167
|
}
|
|
3195
|
-
sb.
|
|
3168
|
+
sb.r6('}');
|
|
3196
3169
|
return sb.toString();
|
|
3197
3170
|
};
|
|
3198
3171
|
protoOf(InternalHashMap).e5 = function () {
|
|
@@ -3205,7 +3178,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3205
3178
|
return false;
|
|
3206
3179
|
return equals(ensureNotNull(this.i5_1)[index], entry.v1());
|
|
3207
3180
|
};
|
|
3208
|
-
protoOf(InternalHashMap).
|
|
3181
|
+
protoOf(InternalHashMap).s6 = function (entry) {
|
|
3209
3182
|
return this.c5(isInterface(entry, Entry) ? entry : THROW_CCE());
|
|
3210
3183
|
};
|
|
3211
3184
|
protoOf(InternalHashMap).g5 = function () {
|
|
@@ -3266,70 +3239,72 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3266
3239
|
var output;
|
|
3267
3240
|
function BaseOutput() {
|
|
3268
3241
|
}
|
|
3269
|
-
protoOf(BaseOutput).
|
|
3270
|
-
this.
|
|
3242
|
+
protoOf(BaseOutput).u6 = function () {
|
|
3243
|
+
this.v6('\n');
|
|
3271
3244
|
};
|
|
3272
|
-
protoOf(BaseOutput).
|
|
3273
|
-
this.
|
|
3274
|
-
this.
|
|
3245
|
+
protoOf(BaseOutput).w6 = function (message) {
|
|
3246
|
+
this.v6(message);
|
|
3247
|
+
this.u6();
|
|
3275
3248
|
};
|
|
3276
3249
|
function NodeJsOutput(outputStream) {
|
|
3277
3250
|
BaseOutput.call(this);
|
|
3278
|
-
this.
|
|
3251
|
+
this.x6_1 = outputStream;
|
|
3279
3252
|
}
|
|
3280
|
-
protoOf(NodeJsOutput).
|
|
3253
|
+
protoOf(NodeJsOutput).v6 = function (message) {
|
|
3281
3254
|
// Inline function 'kotlin.io.String' call
|
|
3282
|
-
var
|
|
3283
|
-
|
|
3255
|
+
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
3256
|
+
var messageString = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
3257
|
+
this.x6_1.write(messageString);
|
|
3284
3258
|
};
|
|
3285
3259
|
function BufferedOutputToConsoleLog() {
|
|
3286
3260
|
BufferedOutput.call(this);
|
|
3287
3261
|
}
|
|
3288
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
3262
|
+
protoOf(BufferedOutputToConsoleLog).v6 = function (message) {
|
|
3289
3263
|
// Inline function 'kotlin.io.String' call
|
|
3290
|
-
var
|
|
3264
|
+
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
3265
|
+
var s = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
3291
3266
|
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
3292
3267
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3293
3268
|
var i = s.lastIndexOf('\n', 0);
|
|
3294
3269
|
if (i >= 0) {
|
|
3295
3270
|
var tmp = this;
|
|
3296
|
-
var tmp_0 = this.
|
|
3271
|
+
var tmp_0 = this.z6_1;
|
|
3297
3272
|
// Inline function 'kotlin.text.substring' call
|
|
3298
3273
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3299
|
-
tmp.
|
|
3300
|
-
this.
|
|
3274
|
+
tmp.z6_1 = tmp_0 + s.substring(0, i);
|
|
3275
|
+
this.a7();
|
|
3276
|
+
var tmp6 = s;
|
|
3301
3277
|
// Inline function 'kotlin.text.substring' call
|
|
3302
|
-
var this_0 = s;
|
|
3303
3278
|
var startIndex = i + 1 | 0;
|
|
3304
3279
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3305
|
-
s =
|
|
3280
|
+
s = tmp6.substring(startIndex);
|
|
3306
3281
|
}
|
|
3307
|
-
this.
|
|
3282
|
+
this.z6_1 = this.z6_1 + s;
|
|
3308
3283
|
};
|
|
3309
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
3310
|
-
console.log(this.
|
|
3311
|
-
this.
|
|
3284
|
+
protoOf(BufferedOutputToConsoleLog).a7 = function () {
|
|
3285
|
+
console.log(this.z6_1);
|
|
3286
|
+
this.z6_1 = '';
|
|
3312
3287
|
};
|
|
3313
3288
|
function BufferedOutput() {
|
|
3314
3289
|
BaseOutput.call(this);
|
|
3315
|
-
this.
|
|
3290
|
+
this.z6_1 = '';
|
|
3316
3291
|
}
|
|
3317
|
-
protoOf(BufferedOutput).
|
|
3292
|
+
protoOf(BufferedOutput).v6 = function (message) {
|
|
3318
3293
|
var tmp = this;
|
|
3319
|
-
var tmp_0 = this.
|
|
3294
|
+
var tmp_0 = this.z6_1;
|
|
3320
3295
|
// Inline function 'kotlin.io.String' call
|
|
3321
|
-
|
|
3296
|
+
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
3297
|
+
tmp.z6_1 = tmp_0 + (tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs);
|
|
3322
3298
|
};
|
|
3323
3299
|
function println(message) {
|
|
3324
3300
|
_init_properties_console_kt__rfg7jv();
|
|
3325
|
-
get_output().
|
|
3301
|
+
get_output().w6(message);
|
|
3326
3302
|
}
|
|
3327
3303
|
var properties_initialized_console_kt_gll9dl;
|
|
3328
3304
|
function _init_properties_console_kt__rfg7jv() {
|
|
3329
3305
|
if (!properties_initialized_console_kt_gll9dl) {
|
|
3330
3306
|
properties_initialized_console_kt_gll9dl = true;
|
|
3331
3307
|
// Inline function 'kotlin.run' call
|
|
3332
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
3333
3308
|
// Inline function 'kotlin.io.output.<anonymous>' call
|
|
3334
3309
|
var isNode = typeof process !== 'undefined' && process.versions && !!process.versions.node;
|
|
3335
3310
|
output = isNode ? new NodeJsOutput(process.stdout) : new BufferedOutputToConsoleLog();
|
|
@@ -3381,29 +3356,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3381
3356
|
function IllegalArgumentException() {
|
|
3382
3357
|
captureStack(this, IllegalArgumentException);
|
|
3383
3358
|
}
|
|
3384
|
-
function IndexOutOfBoundsException_init_$Init$($this) {
|
|
3385
|
-
RuntimeException_init_$Init$($this);
|
|
3386
|
-
IndexOutOfBoundsException.call($this);
|
|
3387
|
-
return $this;
|
|
3388
|
-
}
|
|
3389
|
-
function IndexOutOfBoundsException_init_$Create$() {
|
|
3390
|
-
var tmp = IndexOutOfBoundsException_init_$Init$(objectCreate(protoOf(IndexOutOfBoundsException)));
|
|
3391
|
-
captureStack(tmp, IndexOutOfBoundsException_init_$Create$);
|
|
3392
|
-
return tmp;
|
|
3393
|
-
}
|
|
3394
|
-
function IndexOutOfBoundsException_init_$Init$_0(message, $this) {
|
|
3395
|
-
RuntimeException_init_$Init$_0(message, $this);
|
|
3396
|
-
IndexOutOfBoundsException.call($this);
|
|
3397
|
-
return $this;
|
|
3398
|
-
}
|
|
3399
|
-
function IndexOutOfBoundsException_init_$Create$_0(message) {
|
|
3400
|
-
var tmp = IndexOutOfBoundsException_init_$Init$_0(message, objectCreate(protoOf(IndexOutOfBoundsException)));
|
|
3401
|
-
captureStack(tmp, IndexOutOfBoundsException_init_$Create$_0);
|
|
3402
|
-
return tmp;
|
|
3403
|
-
}
|
|
3404
|
-
function IndexOutOfBoundsException() {
|
|
3405
|
-
captureStack(this, IndexOutOfBoundsException);
|
|
3406
|
-
}
|
|
3407
3359
|
function IllegalStateException_init_$Init$($this) {
|
|
3408
3360
|
RuntimeException_init_$Init$($this);
|
|
3409
3361
|
IllegalStateException.call($this);
|
|
@@ -3496,6 +3448,29 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3496
3448
|
function NoSuchElementException() {
|
|
3497
3449
|
captureStack(this, NoSuchElementException);
|
|
3498
3450
|
}
|
|
3451
|
+
function IndexOutOfBoundsException_init_$Init$($this) {
|
|
3452
|
+
RuntimeException_init_$Init$($this);
|
|
3453
|
+
IndexOutOfBoundsException.call($this);
|
|
3454
|
+
return $this;
|
|
3455
|
+
}
|
|
3456
|
+
function IndexOutOfBoundsException_init_$Create$() {
|
|
3457
|
+
var tmp = IndexOutOfBoundsException_init_$Init$(objectCreate(protoOf(IndexOutOfBoundsException)));
|
|
3458
|
+
captureStack(tmp, IndexOutOfBoundsException_init_$Create$);
|
|
3459
|
+
return tmp;
|
|
3460
|
+
}
|
|
3461
|
+
function IndexOutOfBoundsException_init_$Init$_0(message, $this) {
|
|
3462
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
3463
|
+
IndexOutOfBoundsException.call($this);
|
|
3464
|
+
return $this;
|
|
3465
|
+
}
|
|
3466
|
+
function IndexOutOfBoundsException_init_$Create$_0(message) {
|
|
3467
|
+
var tmp = IndexOutOfBoundsException_init_$Init$_0(message, objectCreate(protoOf(IndexOutOfBoundsException)));
|
|
3468
|
+
captureStack(tmp, IndexOutOfBoundsException_init_$Create$_0);
|
|
3469
|
+
return tmp;
|
|
3470
|
+
}
|
|
3471
|
+
function IndexOutOfBoundsException() {
|
|
3472
|
+
captureStack(this, IndexOutOfBoundsException);
|
|
3473
|
+
}
|
|
3499
3474
|
function ArithmeticException_init_$Init$($this) {
|
|
3500
3475
|
RuntimeException_init_$Init$($this);
|
|
3501
3476
|
ArithmeticException.call($this);
|
|
@@ -3552,6 +3527,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3552
3527
|
captureStack(tmp, ConcurrentModificationException_init_$Create$);
|
|
3553
3528
|
return tmp;
|
|
3554
3529
|
}
|
|
3530
|
+
function ConcurrentModificationException_init_$Init$_0(message, $this) {
|
|
3531
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
3532
|
+
ConcurrentModificationException.call($this);
|
|
3533
|
+
return $this;
|
|
3534
|
+
}
|
|
3535
|
+
function ConcurrentModificationException_init_$Create$_0(message) {
|
|
3536
|
+
var tmp = ConcurrentModificationException_init_$Init$_0(message, objectCreate(protoOf(ConcurrentModificationException)));
|
|
3537
|
+
captureStack(tmp, ConcurrentModificationException_init_$Create$_0);
|
|
3538
|
+
return tmp;
|
|
3539
|
+
}
|
|
3555
3540
|
function ConcurrentModificationException() {
|
|
3556
3541
|
captureStack(this, ConcurrentModificationException);
|
|
3557
3542
|
}
|
|
@@ -3602,9 +3587,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3602
3587
|
var arr = dst;
|
|
3603
3588
|
while (index < srcLen && index < dstLen) {
|
|
3604
3589
|
var tmp = index;
|
|
3605
|
-
var
|
|
3606
|
-
index =
|
|
3607
|
-
arr[tmp] = src[
|
|
3590
|
+
var _unary__edvuaz = index;
|
|
3591
|
+
index = _unary__edvuaz + 1 | 0;
|
|
3592
|
+
arr[tmp] = src[_unary__edvuaz];
|
|
3608
3593
|
}
|
|
3609
3594
|
return dst;
|
|
3610
3595
|
}
|
|
@@ -3620,9 +3605,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3620
3605
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3621
3606
|
result.length = newSize;
|
|
3622
3607
|
while (index < newSize) {
|
|
3623
|
-
var
|
|
3624
|
-
index =
|
|
3625
|
-
result[
|
|
3608
|
+
var _unary__edvuaz = index;
|
|
3609
|
+
index = _unary__edvuaz + 1 | 0;
|
|
3610
|
+
result[_unary__edvuaz] = defaultValue;
|
|
3626
3611
|
}
|
|
3627
3612
|
}
|
|
3628
3613
|
return result;
|
|
@@ -3701,16 +3686,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3701
3686
|
return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder)));
|
|
3702
3687
|
}
|
|
3703
3688
|
function StringBuilder(content) {
|
|
3704
|
-
this.
|
|
3689
|
+
this.p6_1 = content;
|
|
3705
3690
|
}
|
|
3706
3691
|
protoOf(StringBuilder).a = function () {
|
|
3707
3692
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3708
|
-
return this.
|
|
3693
|
+
return this.p6_1.length;
|
|
3709
3694
|
};
|
|
3710
3695
|
protoOf(StringBuilder).b = function (index) {
|
|
3711
3696
|
// Inline function 'kotlin.text.getOrElse' call
|
|
3712
|
-
var this_0 = this.
|
|
3713
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
3697
|
+
var this_0 = this.p6_1;
|
|
3714
3698
|
var tmp;
|
|
3715
3699
|
if (0 <= index ? index <= (charSequenceLength(this_0) - 1 | 0) : false) {
|
|
3716
3700
|
tmp = charSequenceGet(this_0, index);
|
|
@@ -3722,53 +3706,53 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3722
3706
|
protoOf(StringBuilder).c = function (startIndex, endIndex) {
|
|
3723
3707
|
// Inline function 'kotlin.text.substring' call
|
|
3724
3708
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3725
|
-
return this.
|
|
3709
|
+
return this.p6_1.substring(startIndex, endIndex);
|
|
3726
3710
|
};
|
|
3727
3711
|
protoOf(StringBuilder).f = function (value) {
|
|
3728
|
-
this.
|
|
3712
|
+
this.p6_1 = this.p6_1 + toString(value);
|
|
3729
3713
|
return this;
|
|
3730
3714
|
};
|
|
3731
3715
|
protoOf(StringBuilder).e = function (value) {
|
|
3732
|
-
this.
|
|
3716
|
+
this.p6_1 = this.p6_1 + toString_0(value);
|
|
3733
3717
|
return this;
|
|
3734
3718
|
};
|
|
3735
|
-
protoOf(StringBuilder).
|
|
3736
|
-
return this.
|
|
3719
|
+
protoOf(StringBuilder).d7 = function (value, startIndex, endIndex) {
|
|
3720
|
+
return this.e7(value == null ? 'null' : value, startIndex, endIndex);
|
|
3737
3721
|
};
|
|
3738
|
-
protoOf(StringBuilder).
|
|
3739
|
-
this.
|
|
3722
|
+
protoOf(StringBuilder).q6 = function (value) {
|
|
3723
|
+
this.p6_1 = this.p6_1 + toString_0(value);
|
|
3740
3724
|
return this;
|
|
3741
3725
|
};
|
|
3742
|
-
protoOf(StringBuilder).
|
|
3743
|
-
this.
|
|
3726
|
+
protoOf(StringBuilder).f7 = function (value) {
|
|
3727
|
+
this.p6_1 = this.p6_1 + value;
|
|
3744
3728
|
return this;
|
|
3745
3729
|
};
|
|
3746
|
-
protoOf(StringBuilder).
|
|
3747
|
-
return this.
|
|
3730
|
+
protoOf(StringBuilder).g7 = function (value) {
|
|
3731
|
+
return this.r6(value.toString());
|
|
3748
3732
|
};
|
|
3749
|
-
protoOf(StringBuilder).
|
|
3733
|
+
protoOf(StringBuilder).r6 = function (value) {
|
|
3750
3734
|
var tmp = this;
|
|
3751
|
-
var tmp_0 = this.
|
|
3752
|
-
tmp.
|
|
3735
|
+
var tmp_0 = this.p6_1;
|
|
3736
|
+
tmp.p6_1 = tmp_0 + (value == null ? 'null' : value);
|
|
3753
3737
|
return this;
|
|
3754
3738
|
};
|
|
3755
3739
|
protoOf(StringBuilder).toString = function () {
|
|
3756
|
-
return this.
|
|
3740
|
+
return this.p6_1;
|
|
3757
3741
|
};
|
|
3758
|
-
protoOf(StringBuilder).
|
|
3742
|
+
protoOf(StringBuilder).e7 = function (value, startIndex, endIndex) {
|
|
3759
3743
|
var stringCsq = toString_1(value);
|
|
3760
|
-
Companion_instance_5.
|
|
3744
|
+
Companion_instance_5.h7(startIndex, endIndex, stringCsq.length);
|
|
3761
3745
|
var tmp = this;
|
|
3762
|
-
var tmp_0 = this.
|
|
3746
|
+
var tmp_0 = this.p6_1;
|
|
3763
3747
|
// Inline function 'kotlin.text.substring' call
|
|
3764
3748
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3765
|
-
tmp.
|
|
3749
|
+
tmp.p6_1 = tmp_0 + stringCsq.substring(startIndex, endIndex);
|
|
3766
3750
|
return this;
|
|
3767
3751
|
};
|
|
3768
3752
|
function uppercaseChar(_this__u8e3s4) {
|
|
3769
3753
|
// Inline function 'kotlin.text.uppercase' call
|
|
3770
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
3771
3754
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3755
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3772
3756
|
var uppercase = toString(_this__u8e3s4).toUpperCase();
|
|
3773
3757
|
return uppercase.length > 1 ? _this__u8e3s4 : charSequenceGet(uppercase, 0);
|
|
3774
3758
|
}
|
|
@@ -3784,10 +3768,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3784
3768
|
}
|
|
3785
3769
|
return isLetterImpl(_this__u8e3s4);
|
|
3786
3770
|
}
|
|
3787
|
-
function toString_2(_this__u8e3s4, radix) {
|
|
3788
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3789
|
-
return _this__u8e3s4.toString(checkRadix(radix));
|
|
3790
|
-
}
|
|
3791
3771
|
function checkRadix(radix) {
|
|
3792
3772
|
if (!(2 <= radix ? radix <= 36 : false)) {
|
|
3793
3773
|
throw IllegalArgumentException_init_$Create$_0('radix ' + radix + ' was not in valid range 2..36');
|
|
@@ -3804,12 +3784,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3804
3784
|
}
|
|
3805
3785
|
return tmp;
|
|
3806
3786
|
}
|
|
3787
|
+
function toString_2(_this__u8e3s4, radix) {
|
|
3788
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3789
|
+
return _this__u8e3s4.toString(checkRadix(radix));
|
|
3790
|
+
}
|
|
3807
3791
|
function toDouble(_this__u8e3s4) {
|
|
3808
|
-
// Inline function 'kotlin.also' call
|
|
3809
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
3810
3792
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3793
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3794
|
+
// Inline function 'kotlin.also' call
|
|
3811
3795
|
var this_0 = +_this__u8e3s4;
|
|
3812
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
3813
3796
|
// Inline function 'kotlin.text.toDouble.<anonymous>' call
|
|
3814
3797
|
if (isNaN_0(this_0) && !isNaN_2(_this__u8e3s4) || (this_0 === 0.0 && isBlank(_this__u8e3s4))) {
|
|
3815
3798
|
numberFormatError(_this__u8e3s4);
|
|
@@ -3828,7 +3811,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3828
3811
|
}
|
|
3829
3812
|
function digitOf(char, radix) {
|
|
3830
3813
|
// Inline function 'kotlin.let' call
|
|
3831
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
3832
3814
|
// Inline function 'kotlin.text.digitOf.<anonymous>' call
|
|
3833
3815
|
var it = Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(48)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(57)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(48)) : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(90)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(97)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(122)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(97)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(128)) < 0 ? -1 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65313)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65338)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65313)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65345)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65370)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65345)) + 10 | 0 : digitToIntImpl(char);
|
|
3834
3816
|
return it >= radix ? -1 : it;
|
|
@@ -3854,19 +3836,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3854
3836
|
}
|
|
3855
3837
|
function Companion_4() {
|
|
3856
3838
|
Companion_instance_4 = this;
|
|
3857
|
-
this.
|
|
3858
|
-
this.
|
|
3859
|
-
this.
|
|
3839
|
+
this.i7_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
|
|
3840
|
+
this.j7_1 = new RegExp('[\\\\$]', 'g');
|
|
3841
|
+
this.k7_1 = new RegExp('\\$', 'g');
|
|
3860
3842
|
}
|
|
3861
|
-
protoOf(Companion_4).
|
|
3843
|
+
protoOf(Companion_4).l7 = function (literal) {
|
|
3862
3844
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3863
|
-
var pattern = this.
|
|
3845
|
+
var pattern = this.i7_1;
|
|
3864
3846
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3865
3847
|
return literal.replace(pattern, '\\$&');
|
|
3866
3848
|
};
|
|
3867
|
-
protoOf(Companion_4).
|
|
3849
|
+
protoOf(Companion_4).m7 = function (literal) {
|
|
3868
3850
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3869
|
-
var pattern = this.
|
|
3851
|
+
var pattern = this.k7_1;
|
|
3870
3852
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3871
3853
|
return literal.replace(pattern, '$$$$');
|
|
3872
3854
|
};
|
|
@@ -3878,7 +3860,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3878
3860
|
}
|
|
3879
3861
|
function Regex$findAll$lambda(this$0, $input, $startIndex) {
|
|
3880
3862
|
return function () {
|
|
3881
|
-
return this$0.
|
|
3863
|
+
return this$0.s7($input, $startIndex);
|
|
3882
3864
|
};
|
|
3883
3865
|
}
|
|
3884
3866
|
function Regex$findAll$lambda_0(match) {
|
|
@@ -3891,50 +3873,50 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3891
3873
|
}
|
|
3892
3874
|
function Regex(pattern, options) {
|
|
3893
3875
|
Companion_getInstance_4();
|
|
3894
|
-
this.
|
|
3895
|
-
this.
|
|
3896
|
-
this.
|
|
3897
|
-
this.p7_1 = null;
|
|
3876
|
+
this.n7_1 = pattern;
|
|
3877
|
+
this.o7_1 = toSet(options);
|
|
3878
|
+
this.p7_1 = new RegExp(pattern, toFlags(options, 'gu'));
|
|
3898
3879
|
this.q7_1 = null;
|
|
3880
|
+
this.r7_1 = null;
|
|
3899
3881
|
}
|
|
3900
|
-
protoOf(Regex).
|
|
3901
|
-
reset(this.
|
|
3902
|
-
var match = this.
|
|
3903
|
-
return !(match == null) && match.index === 0 && this.
|
|
3882
|
+
protoOf(Regex).t7 = function (input) {
|
|
3883
|
+
reset(this.p7_1);
|
|
3884
|
+
var match = this.p7_1.exec(toString_1(input));
|
|
3885
|
+
return !(match == null) && match.index === 0 && this.p7_1.lastIndex === charSequenceLength(input);
|
|
3904
3886
|
};
|
|
3905
|
-
protoOf(Regex).
|
|
3887
|
+
protoOf(Regex).s7 = function (input, startIndex) {
|
|
3906
3888
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3907
3889
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3908
3890
|
}
|
|
3909
|
-
return findNext(this.
|
|
3891
|
+
return findNext(this.p7_1, toString_1(input), startIndex, this.p7_1);
|
|
3910
3892
|
};
|
|
3911
|
-
protoOf(Regex).
|
|
3893
|
+
protoOf(Regex).u7 = function (input, startIndex, $super) {
|
|
3912
3894
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3913
|
-
return $super === VOID ? this.
|
|
3895
|
+
return $super === VOID ? this.s7(input, startIndex) : $super.s7.call(this, input, startIndex);
|
|
3914
3896
|
};
|
|
3915
|
-
protoOf(Regex).
|
|
3897
|
+
protoOf(Regex).v7 = function (input, startIndex) {
|
|
3916
3898
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3917
3899
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3918
3900
|
}
|
|
3919
3901
|
var tmp = Regex$findAll$lambda(this, input, startIndex);
|
|
3920
3902
|
return generateSequence(tmp, Regex$findAll$lambda_0);
|
|
3921
3903
|
};
|
|
3922
|
-
protoOf(Regex).
|
|
3904
|
+
protoOf(Regex).w7 = function (input, startIndex, $super) {
|
|
3923
3905
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3924
|
-
return $super === VOID ? this.
|
|
3906
|
+
return $super === VOID ? this.v7(input, startIndex) : $super.v7.call(this, input, startIndex);
|
|
3925
3907
|
};
|
|
3926
|
-
protoOf(Regex).
|
|
3927
|
-
if (!
|
|
3908
|
+
protoOf(Regex).x7 = function (input, replacement) {
|
|
3909
|
+
if (!contains_2(replacement, _Char___init__impl__6a9atx(92)) && !contains_2(replacement, _Char___init__impl__6a9atx(36))) {
|
|
3910
|
+
var tmp0 = toString_1(input);
|
|
3928
3911
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3929
|
-
var
|
|
3930
|
-
var pattern = this.o7_1;
|
|
3912
|
+
var pattern = this.p7_1;
|
|
3931
3913
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3932
|
-
return
|
|
3914
|
+
return tmp0.replace(pattern, replacement);
|
|
3933
3915
|
}
|
|
3934
|
-
return this.
|
|
3916
|
+
return this.y7(input, Regex$replace$lambda(replacement));
|
|
3935
3917
|
};
|
|
3936
|
-
protoOf(Regex).
|
|
3937
|
-
var match = this.
|
|
3918
|
+
protoOf(Regex).y7 = function (input, transform) {
|
|
3919
|
+
var match = this.u7(input);
|
|
3938
3920
|
if (match == null)
|
|
3939
3921
|
return toString_1(input);
|
|
3940
3922
|
var lastStart = 0;
|
|
@@ -3942,19 +3924,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3942
3924
|
var sb = StringBuilder_init_$Create$(length);
|
|
3943
3925
|
do {
|
|
3944
3926
|
var foundMatch = ensureNotNull(match);
|
|
3945
|
-
sb.
|
|
3927
|
+
sb.d7(input, lastStart, foundMatch.z7().a8());
|
|
3946
3928
|
sb.e(transform(foundMatch));
|
|
3947
|
-
lastStart = foundMatch.
|
|
3929
|
+
lastStart = foundMatch.z7().b8() + 1 | 0;
|
|
3948
3930
|
match = foundMatch.i();
|
|
3949
3931
|
}
|
|
3950
3932
|
while (lastStart < length && !(match == null));
|
|
3951
3933
|
if (lastStart < length) {
|
|
3952
|
-
sb.
|
|
3934
|
+
sb.d7(input, lastStart, length);
|
|
3953
3935
|
}
|
|
3954
3936
|
return sb.toString();
|
|
3955
3937
|
};
|
|
3956
3938
|
protoOf(Regex).toString = function () {
|
|
3957
|
-
return this.
|
|
3939
|
+
return this.p7_1.toString();
|
|
3958
3940
|
};
|
|
3959
3941
|
function toFlags(_this__u8e3s4, prepend) {
|
|
3960
3942
|
return joinToString_1(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
|
|
@@ -3971,15 +3953,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3971
3953
|
var index = 0;
|
|
3972
3954
|
var result = StringBuilder_init_$Create$_0();
|
|
3973
3955
|
while (index < replacement.length) {
|
|
3974
|
-
var
|
|
3975
|
-
index =
|
|
3976
|
-
var char = charSequenceGet(replacement,
|
|
3956
|
+
var _unary__edvuaz = index;
|
|
3957
|
+
index = _unary__edvuaz + 1 | 0;
|
|
3958
|
+
var char = charSequenceGet(replacement, _unary__edvuaz);
|
|
3977
3959
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
3978
3960
|
if (index === replacement.length)
|
|
3979
3961
|
throw IllegalArgumentException_init_$Create$_0('The Char to be escaped is missing');
|
|
3980
|
-
var
|
|
3981
|
-
index =
|
|
3982
|
-
result.f(charSequenceGet(replacement,
|
|
3962
|
+
var _unary__edvuaz_0 = index;
|
|
3963
|
+
index = _unary__edvuaz_0 + 1 | 0;
|
|
3964
|
+
result.f(charSequenceGet(replacement, _unary__edvuaz_0));
|
|
3983
3965
|
} else if (char === _Char___init__impl__6a9atx(36)) {
|
|
3984
3966
|
if (index === replacement.length)
|
|
3985
3967
|
throw IllegalArgumentException_init_$Create$_0('Capturing group index is missing');
|
|
@@ -3994,15 +3976,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3994
3976
|
var startIndex = index;
|
|
3995
3977
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3996
3978
|
var groupName = replacement.substring(startIndex, endIndex);
|
|
3997
|
-
var
|
|
3998
|
-
var
|
|
3999
|
-
result.
|
|
3979
|
+
var tmp0_safe_receiver = get(match.c8(), groupName);
|
|
3980
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d8_1;
|
|
3981
|
+
result.r6(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
4000
3982
|
index = endIndex + 1 | 0;
|
|
4001
3983
|
} else {
|
|
4002
3984
|
var containsArg = charSequenceGet(replacement, index);
|
|
4003
3985
|
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
4004
3986
|
throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
|
|
4005
|
-
var groups = match.
|
|
3987
|
+
var groups = match.c8();
|
|
4006
3988
|
var endIndex_0 = readGroupIndex(replacement, index, groups.j());
|
|
4007
3989
|
// Inline function 'kotlin.text.substring' call
|
|
4008
3990
|
var startIndex_0 = index;
|
|
@@ -4011,9 +3993,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4011
3993
|
var groupIndex = toInt_0(tmp$ret$3);
|
|
4012
3994
|
if (groupIndex >= groups.j())
|
|
4013
3995
|
throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
|
|
4014
|
-
var
|
|
4015
|
-
var
|
|
4016
|
-
result.
|
|
3996
|
+
var tmp2_safe_receiver = groups.k(groupIndex);
|
|
3997
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d8_1;
|
|
3998
|
+
result.r6(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
4017
3999
|
index = endIndex_0;
|
|
4018
4000
|
}
|
|
4019
4001
|
} else {
|
|
@@ -4023,13 +4005,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4023
4005
|
return result.toString();
|
|
4024
4006
|
}
|
|
4025
4007
|
function MatchGroup(value) {
|
|
4026
|
-
this.
|
|
4008
|
+
this.d8_1 = value;
|
|
4027
4009
|
}
|
|
4028
4010
|
protoOf(MatchGroup).toString = function () {
|
|
4029
|
-
return 'MatchGroup(value=' + this.
|
|
4011
|
+
return 'MatchGroup(value=' + this.d8_1 + ')';
|
|
4030
4012
|
};
|
|
4031
4013
|
protoOf(MatchGroup).hashCode = function () {
|
|
4032
|
-
return getStringHashCode(this.
|
|
4014
|
+
return getStringHashCode(this.d8_1);
|
|
4033
4015
|
};
|
|
4034
4016
|
protoOf(MatchGroup).equals = function (other) {
|
|
4035
4017
|
if (this === other)
|
|
@@ -4037,7 +4019,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4037
4019
|
if (!(other instanceof MatchGroup))
|
|
4038
4020
|
return false;
|
|
4039
4021
|
var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE();
|
|
4040
|
-
if (!(this.
|
|
4022
|
+
if (!(this.d8_1 === tmp0_other_with_cast.d8_1))
|
|
4041
4023
|
return false;
|
|
4042
4024
|
return true;
|
|
4043
4025
|
};
|
|
@@ -4061,7 +4043,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4061
4043
|
tmp = tmp0_elvis_lhs;
|
|
4062
4044
|
}
|
|
4063
4045
|
var namedGroups = tmp;
|
|
4064
|
-
return namedGroups.
|
|
4046
|
+
return namedGroups.e8(name);
|
|
4065
4047
|
}
|
|
4066
4048
|
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
4067
4049
|
var index = startIndex + 1 | 0;
|
|
@@ -4088,7 +4070,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4088
4070
|
return index;
|
|
4089
4071
|
}
|
|
4090
4072
|
function toFlags$lambda(it) {
|
|
4091
|
-
return it.
|
|
4073
|
+
return it.h8_1;
|
|
4092
4074
|
}
|
|
4093
4075
|
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
4094
4076
|
return function (it) {
|
|
@@ -4100,14 +4082,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4100
4082
|
return Object.prototype.hasOwnProperty.call(o, name);
|
|
4101
4083
|
}
|
|
4102
4084
|
function advanceToNextCharacter($this, index) {
|
|
4103
|
-
if (index < get_lastIndex_1($this.
|
|
4104
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
4085
|
+
if (index < get_lastIndex_1($this.q8_1)) {
|
|
4105
4086
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4106
|
-
|
|
4087
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4088
|
+
var code1 = $this.q8_1.charCodeAt(index);
|
|
4107
4089
|
if (55296 <= code1 ? code1 <= 56319 : false) {
|
|
4108
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
4109
4090
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4110
|
-
|
|
4091
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4092
|
+
var code2 = $this.q8_1.charCodeAt(index + 1 | 0);
|
|
4111
4093
|
if (56320 <= code2 ? code2 <= 57343 : false) {
|
|
4112
4094
|
return index + 2 | 0;
|
|
4113
4095
|
}
|
|
@@ -4116,12 +4098,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4116
4098
|
return index + 1 | 0;
|
|
4117
4099
|
}
|
|
4118
4100
|
function findNext$1$groups$1($match, this$0) {
|
|
4119
|
-
this.
|
|
4120
|
-
this.
|
|
4101
|
+
this.i8_1 = $match;
|
|
4102
|
+
this.j8_1 = this$0;
|
|
4121
4103
|
AbstractCollection.call(this);
|
|
4122
4104
|
}
|
|
4123
4105
|
protoOf(findNext$1$groups$1).j = function () {
|
|
4124
|
-
return this.
|
|
4106
|
+
return this.i8_1.length;
|
|
4125
4107
|
};
|
|
4126
4108
|
protoOf(findNext$1$groups$1).g = function () {
|
|
4127
4109
|
var tmp = asSequence(get_indices(this));
|
|
@@ -4130,21 +4112,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4130
4112
|
protoOf(findNext$1$groups$1).k = function (index) {
|
|
4131
4113
|
// Inline function 'kotlin.js.get' call
|
|
4132
4114
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4133
|
-
var tmp0_safe_receiver = this.
|
|
4115
|
+
var tmp0_safe_receiver = this.i8_1[index];
|
|
4134
4116
|
var tmp;
|
|
4135
4117
|
if (tmp0_safe_receiver == null) {
|
|
4136
4118
|
tmp = null;
|
|
4137
4119
|
} else {
|
|
4138
4120
|
// Inline function 'kotlin.let' call
|
|
4139
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4140
4121
|
// Inline function 'kotlin.text.<no name provided>.get.<anonymous>' call
|
|
4141
4122
|
tmp = new MatchGroup(tmp0_safe_receiver);
|
|
4142
4123
|
}
|
|
4143
4124
|
return tmp;
|
|
4144
4125
|
};
|
|
4145
|
-
protoOf(findNext$1$groups$1).
|
|
4126
|
+
protoOf(findNext$1$groups$1).e8 = function (name) {
|
|
4146
4127
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4147
|
-
var tmp0_elvis_lhs = this.
|
|
4128
|
+
var tmp0_elvis_lhs = this.i8_1.groups;
|
|
4148
4129
|
var tmp;
|
|
4149
4130
|
if (tmp0_elvis_lhs == null) {
|
|
4150
4131
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
|
|
@@ -4152,7 +4133,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4152
4133
|
tmp = tmp0_elvis_lhs;
|
|
4153
4134
|
}
|
|
4154
4135
|
var groups = tmp;
|
|
4155
|
-
if (!hasOwnPrototypeProperty(this.
|
|
4136
|
+
if (!hasOwnPrototypeProperty(this.j8_1, groups, name))
|
|
4156
4137
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist');
|
|
4157
4138
|
var value = groups[name];
|
|
4158
4139
|
var tmp_0;
|
|
@@ -4164,29 +4145,29 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4164
4145
|
return tmp_0;
|
|
4165
4146
|
};
|
|
4166
4147
|
function findNext$1($range, $match, $nextPattern, $input) {
|
|
4167
|
-
this.
|
|
4168
|
-
this.
|
|
4169
|
-
this.
|
|
4170
|
-
this.
|
|
4171
|
-
this.
|
|
4148
|
+
this.n8_1 = $range;
|
|
4149
|
+
this.o8_1 = $match;
|
|
4150
|
+
this.p8_1 = $nextPattern;
|
|
4151
|
+
this.q8_1 = $input;
|
|
4152
|
+
this.k8_1 = $range;
|
|
4172
4153
|
var tmp = this;
|
|
4173
|
-
tmp.
|
|
4174
|
-
this.
|
|
4154
|
+
tmp.l8_1 = new findNext$1$groups$1($match, this);
|
|
4155
|
+
this.m8_1 = null;
|
|
4175
4156
|
}
|
|
4176
|
-
protoOf(findNext$1).
|
|
4177
|
-
return this.
|
|
4157
|
+
protoOf(findNext$1).z7 = function () {
|
|
4158
|
+
return this.k8_1;
|
|
4178
4159
|
};
|
|
4179
4160
|
protoOf(findNext$1).v1 = function () {
|
|
4180
4161
|
// Inline function 'kotlin.js.get' call
|
|
4181
4162
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4182
|
-
var tmp$ret$1 = this.
|
|
4163
|
+
var tmp$ret$1 = this.o8_1[0];
|
|
4183
4164
|
return ensureNotNull(tmp$ret$1);
|
|
4184
4165
|
};
|
|
4185
|
-
protoOf(findNext$1).
|
|
4186
|
-
return this.
|
|
4166
|
+
protoOf(findNext$1).c8 = function () {
|
|
4167
|
+
return this.l8_1;
|
|
4187
4168
|
};
|
|
4188
4169
|
protoOf(findNext$1).i = function () {
|
|
4189
|
-
return findNext(this.
|
|
4170
|
+
return findNext(this.p8_1, this.q8_1, this.n8_1.d1() ? advanceToNextCharacter(this, this.n8_1.a8()) : this.n8_1.b8() + 1 | 0, this.p8_1);
|
|
4190
4171
|
};
|
|
4191
4172
|
var STRING_CASE_INSENSITIVE_ORDER;
|
|
4192
4173
|
function compareTo_0(_this__u8e3s4, other, ignoreCase) {
|
|
@@ -4213,15 +4194,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4213
4194
|
// Inline function 'kotlin.text.lowercaseChar' call
|
|
4214
4195
|
// Inline function 'kotlin.text.lowercase' call
|
|
4215
4196
|
var this_0 = thisChar;
|
|
4216
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
4217
4197
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4198
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4218
4199
|
var tmp$ret$3 = toString(this_0).toLowerCase();
|
|
4219
4200
|
thisChar = charSequenceGet(tmp$ret$3, 0);
|
|
4220
4201
|
// Inline function 'kotlin.text.lowercaseChar' call
|
|
4221
4202
|
// Inline function 'kotlin.text.lowercase' call
|
|
4222
4203
|
var this_1 = otherChar;
|
|
4223
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
4224
4204
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4205
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4225
4206
|
var tmp$ret$7 = toString(this_1).toLowerCase();
|
|
4226
4207
|
otherChar = charSequenceGet(tmp$ret$7, 0);
|
|
4227
4208
|
if (!(thisChar === otherChar)) {
|
|
@@ -4257,16 +4238,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4257
4238
|
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
4258
4239
|
}
|
|
4259
4240
|
function sam$kotlin_Comparator$0(function_0) {
|
|
4260
|
-
this.
|
|
4241
|
+
this.r8_1 = function_0;
|
|
4261
4242
|
}
|
|
4262
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
4263
|
-
return this.
|
|
4243
|
+
protoOf(sam$kotlin_Comparator$0).s8 = function (a, b) {
|
|
4244
|
+
return this.r8_1(a, b);
|
|
4264
4245
|
};
|
|
4265
4246
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
4266
|
-
return this.
|
|
4247
|
+
return this.s8(a, b);
|
|
4267
4248
|
};
|
|
4268
4249
|
protoOf(sam$kotlin_Comparator$0).u2 = function () {
|
|
4269
|
-
return this.
|
|
4250
|
+
return this.r8_1;
|
|
4270
4251
|
};
|
|
4271
4252
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
4272
4253
|
var tmp;
|
|
@@ -4300,11 +4281,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4300
4281
|
}
|
|
4301
4282
|
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
4302
4283
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
4284
|
+
var tmp1 = new RegExp(Companion_getInstance_4().l7(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
4303
4285
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
4304
|
-
var
|
|
4305
|
-
var replacement = Companion_getInstance_4().l7(newValue);
|
|
4286
|
+
var replacement = Companion_getInstance_4().m7(newValue);
|
|
4306
4287
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4307
|
-
return _this__u8e3s4.replace(
|
|
4288
|
+
return _this__u8e3s4.replace(tmp1, replacement);
|
|
4308
4289
|
}
|
|
4309
4290
|
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
4310
4291
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -4318,9 +4299,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4318
4299
|
function encodeUtf8(string, startIndex, endIndex, throwOnMalformed) {
|
|
4319
4300
|
_init_properties_utf8Encoding_kt__9thjs4();
|
|
4320
4301
|
// Inline function 'kotlin.require' call
|
|
4321
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4322
4302
|
// Inline function 'kotlin.require' call
|
|
4323
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4324
4303
|
if (!(startIndex >= 0 && endIndex <= string.length && startIndex <= endIndex)) {
|
|
4325
4304
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
4326
4305
|
var message = 'Failed requirement.';
|
|
@@ -4330,57 +4309,57 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4330
4309
|
var byteIndex = 0;
|
|
4331
4310
|
var charIndex = startIndex;
|
|
4332
4311
|
while (charIndex < endIndex) {
|
|
4312
|
+
var _unary__edvuaz = charIndex;
|
|
4313
|
+
charIndex = _unary__edvuaz + 1 | 0;
|
|
4333
4314
|
// Inline function 'kotlin.code' call
|
|
4334
|
-
var
|
|
4335
|
-
charIndex = tmp0 + 1 | 0;
|
|
4336
|
-
var this_0 = charSequenceGet(string, tmp0);
|
|
4315
|
+
var this_0 = charSequenceGet(string, _unary__edvuaz);
|
|
4337
4316
|
var code = Char__toInt_impl_vasixd(this_0);
|
|
4338
4317
|
if (code < 128) {
|
|
4339
|
-
var
|
|
4340
|
-
byteIndex =
|
|
4341
|
-
bytes[
|
|
4318
|
+
var _unary__edvuaz_0 = byteIndex;
|
|
4319
|
+
byteIndex = _unary__edvuaz_0 + 1 | 0;
|
|
4320
|
+
bytes[_unary__edvuaz_0] = toByte(code);
|
|
4342
4321
|
} else if (code < 2048) {
|
|
4343
|
-
var
|
|
4344
|
-
byteIndex =
|
|
4345
|
-
bytes[
|
|
4346
|
-
var
|
|
4347
|
-
byteIndex =
|
|
4348
|
-
bytes[
|
|
4322
|
+
var _unary__edvuaz_1 = byteIndex;
|
|
4323
|
+
byteIndex = _unary__edvuaz_1 + 1 | 0;
|
|
4324
|
+
bytes[_unary__edvuaz_1] = toByte(code >> 6 | 192);
|
|
4325
|
+
var _unary__edvuaz_2 = byteIndex;
|
|
4326
|
+
byteIndex = _unary__edvuaz_2 + 1 | 0;
|
|
4327
|
+
bytes[_unary__edvuaz_2] = toByte(code & 63 | 128);
|
|
4349
4328
|
} else if (code < 55296 || code >= 57344) {
|
|
4350
|
-
var
|
|
4351
|
-
byteIndex =
|
|
4352
|
-
bytes[
|
|
4353
|
-
var
|
|
4354
|
-
byteIndex =
|
|
4355
|
-
bytes[
|
|
4356
|
-
var
|
|
4357
|
-
byteIndex =
|
|
4358
|
-
bytes[
|
|
4329
|
+
var _unary__edvuaz_3 = byteIndex;
|
|
4330
|
+
byteIndex = _unary__edvuaz_3 + 1 | 0;
|
|
4331
|
+
bytes[_unary__edvuaz_3] = toByte(code >> 12 | 224);
|
|
4332
|
+
var _unary__edvuaz_4 = byteIndex;
|
|
4333
|
+
byteIndex = _unary__edvuaz_4 + 1 | 0;
|
|
4334
|
+
bytes[_unary__edvuaz_4] = toByte(code >> 6 & 63 | 128);
|
|
4335
|
+
var _unary__edvuaz_5 = byteIndex;
|
|
4336
|
+
byteIndex = _unary__edvuaz_5 + 1 | 0;
|
|
4337
|
+
bytes[_unary__edvuaz_5] = toByte(code & 63 | 128);
|
|
4359
4338
|
} else {
|
|
4360
4339
|
var codePoint = codePointFromSurrogate(string, code, charIndex, endIndex, throwOnMalformed);
|
|
4361
4340
|
if (codePoint <= 0) {
|
|
4362
|
-
var
|
|
4363
|
-
byteIndex =
|
|
4364
|
-
bytes[
|
|
4365
|
-
var
|
|
4366
|
-
byteIndex =
|
|
4367
|
-
bytes[
|
|
4368
|
-
var
|
|
4369
|
-
byteIndex =
|
|
4370
|
-
bytes[
|
|
4341
|
+
var _unary__edvuaz_6 = byteIndex;
|
|
4342
|
+
byteIndex = _unary__edvuaz_6 + 1 | 0;
|
|
4343
|
+
bytes[_unary__edvuaz_6] = get_REPLACEMENT_BYTE_SEQUENCE()[0];
|
|
4344
|
+
var _unary__edvuaz_7 = byteIndex;
|
|
4345
|
+
byteIndex = _unary__edvuaz_7 + 1 | 0;
|
|
4346
|
+
bytes[_unary__edvuaz_7] = get_REPLACEMENT_BYTE_SEQUENCE()[1];
|
|
4347
|
+
var _unary__edvuaz_8 = byteIndex;
|
|
4348
|
+
byteIndex = _unary__edvuaz_8 + 1 | 0;
|
|
4349
|
+
bytes[_unary__edvuaz_8] = get_REPLACEMENT_BYTE_SEQUENCE()[2];
|
|
4371
4350
|
} else {
|
|
4372
|
-
var
|
|
4373
|
-
byteIndex =
|
|
4374
|
-
bytes[
|
|
4375
|
-
var
|
|
4376
|
-
byteIndex =
|
|
4377
|
-
bytes[
|
|
4378
|
-
var
|
|
4379
|
-
byteIndex =
|
|
4380
|
-
bytes[
|
|
4381
|
-
var
|
|
4382
|
-
byteIndex =
|
|
4383
|
-
bytes[
|
|
4351
|
+
var _unary__edvuaz_9 = byteIndex;
|
|
4352
|
+
byteIndex = _unary__edvuaz_9 + 1 | 0;
|
|
4353
|
+
bytes[_unary__edvuaz_9] = toByte(codePoint >> 18 | 240);
|
|
4354
|
+
var _unary__edvuaz_10 = byteIndex;
|
|
4355
|
+
byteIndex = _unary__edvuaz_10 + 1 | 0;
|
|
4356
|
+
bytes[_unary__edvuaz_10] = toByte(codePoint >> 12 & 63 | 128);
|
|
4357
|
+
var _unary__edvuaz_11 = byteIndex;
|
|
4358
|
+
byteIndex = _unary__edvuaz_11 + 1 | 0;
|
|
4359
|
+
bytes[_unary__edvuaz_11] = toByte(codePoint >> 6 & 63 | 128);
|
|
4360
|
+
var _unary__edvuaz_12 = byteIndex;
|
|
4361
|
+
byteIndex = _unary__edvuaz_12 + 1 | 0;
|
|
4362
|
+
bytes[_unary__edvuaz_12] = toByte(codePoint & 63 | 128);
|
|
4384
4363
|
charIndex = charIndex + 1 | 0;
|
|
4385
4364
|
}
|
|
4386
4365
|
}
|
|
@@ -4390,9 +4369,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4390
4369
|
function decodeUtf8(bytes, startIndex, endIndex, throwOnMalformed) {
|
|
4391
4370
|
_init_properties_utf8Encoding_kt__9thjs4();
|
|
4392
4371
|
// Inline function 'kotlin.require' call
|
|
4393
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4394
4372
|
// Inline function 'kotlin.require' call
|
|
4395
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
4396
4373
|
if (!(startIndex >= 0 && endIndex <= bytes.length && startIndex <= endIndex)) {
|
|
4397
4374
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
4398
4375
|
var message = 'Failed requirement.';
|
|
@@ -4401,12 +4378,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4401
4378
|
var byteIndex = startIndex;
|
|
4402
4379
|
var stringBuilder = StringBuilder_init_$Create$_0();
|
|
4403
4380
|
while (byteIndex < endIndex) {
|
|
4404
|
-
var
|
|
4405
|
-
byteIndex =
|
|
4406
|
-
var byte = bytes[
|
|
4407
|
-
if (byte >= 0)
|
|
4381
|
+
var _unary__edvuaz = byteIndex;
|
|
4382
|
+
byteIndex = _unary__edvuaz + 1 | 0;
|
|
4383
|
+
var byte = bytes[_unary__edvuaz];
|
|
4384
|
+
if (byte >= 0)
|
|
4408
4385
|
stringBuilder.f(numberToChar(byte));
|
|
4409
|
-
|
|
4386
|
+
else if (byte >> 5 === -2) {
|
|
4410
4387
|
var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
4411
4388
|
if (code <= 0) {
|
|
4412
4389
|
stringBuilder.f(_Char___init__impl__6a9atx(65533));
|
|
@@ -4564,9 +4541,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4564
4541
|
tmp$ret$0 = false;
|
|
4565
4542
|
break $l$block_0;
|
|
4566
4543
|
}
|
|
4567
|
-
var
|
|
4568
|
-
while (
|
|
4569
|
-
var element_0 =
|
|
4544
|
+
var _iterator__ex2g4s = this.g();
|
|
4545
|
+
while (_iterator__ex2g4s.h()) {
|
|
4546
|
+
var element_0 = _iterator__ex2g4s.i();
|
|
4570
4547
|
// Inline function 'kotlin.collections.AbstractCollection.contains.<anonymous>' call
|
|
4571
4548
|
if (equals(element_0, element)) {
|
|
4572
4549
|
tmp$ret$0 = true;
|
|
@@ -4577,7 +4554,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4577
4554
|
}
|
|
4578
4555
|
return tmp$ret$0;
|
|
4579
4556
|
};
|
|
4580
|
-
protoOf(AbstractCollection).
|
|
4557
|
+
protoOf(AbstractCollection).t1 = function (elements) {
|
|
4581
4558
|
var tmp$ret$0;
|
|
4582
4559
|
$l$block_0: {
|
|
4583
4560
|
// Inline function 'kotlin.collections.all' call
|
|
@@ -4591,9 +4568,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4591
4568
|
tmp$ret$0 = true;
|
|
4592
4569
|
break $l$block_0;
|
|
4593
4570
|
}
|
|
4594
|
-
var
|
|
4595
|
-
while (
|
|
4596
|
-
var element =
|
|
4571
|
+
var _iterator__ex2g4s = elements.g();
|
|
4572
|
+
while (_iterator__ex2g4s.h()) {
|
|
4573
|
+
var element = _iterator__ex2g4s.i();
|
|
4597
4574
|
// Inline function 'kotlin.collections.AbstractCollection.containsAll.<anonymous>' call
|
|
4598
4575
|
if (!this.r1(element)) {
|
|
4599
4576
|
tmp$ret$0 = false;
|
|
@@ -4634,7 +4611,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4634
4611
|
throw IllegalArgumentException_init_$Create$_0('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
4635
4612
|
}
|
|
4636
4613
|
};
|
|
4637
|
-
protoOf(Companion_5).
|
|
4614
|
+
protoOf(Companion_5).h7 = function (startIndex, endIndex, size) {
|
|
4638
4615
|
if (startIndex < 0 || endIndex > size) {
|
|
4639
4616
|
throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
4640
4617
|
}
|
|
@@ -4642,7 +4619,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4642
4619
|
throw IllegalArgumentException_init_$Create$_0('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
4643
4620
|
}
|
|
4644
4621
|
};
|
|
4645
|
-
protoOf(Companion_5).
|
|
4622
|
+
protoOf(Companion_5).u5 = function (oldCapacity, minCapacity) {
|
|
4646
4623
|
var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
|
|
4647
4624
|
if ((newCapacity - minCapacity | 0) < 0)
|
|
4648
4625
|
newCapacity = minCapacity;
|
|
@@ -4652,12 +4629,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4652
4629
|
};
|
|
4653
4630
|
protoOf(Companion_5).c4 = function (c) {
|
|
4654
4631
|
var hashCode_0 = 1;
|
|
4655
|
-
var
|
|
4656
|
-
while (
|
|
4657
|
-
var e =
|
|
4632
|
+
var _iterator__ex2g4s = c.g();
|
|
4633
|
+
while (_iterator__ex2g4s.h()) {
|
|
4634
|
+
var e = _iterator__ex2g4s.i();
|
|
4658
4635
|
var tmp = imul(31, hashCode_0);
|
|
4659
|
-
var
|
|
4660
|
-
hashCode_0 = tmp + (
|
|
4636
|
+
var tmp1_elvis_lhs = e == null ? null : hashCode(e);
|
|
4637
|
+
hashCode_0 = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
4661
4638
|
}
|
|
4662
4639
|
return hashCode_0;
|
|
4663
4640
|
};
|
|
@@ -4665,9 +4642,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4665
4642
|
if (!(c.j() === other.j()))
|
|
4666
4643
|
return false;
|
|
4667
4644
|
var otherIterator = other.g();
|
|
4668
|
-
var
|
|
4669
|
-
while (
|
|
4670
|
-
var elem =
|
|
4645
|
+
var _iterator__ex2g4s = c.g();
|
|
4646
|
+
while (_iterator__ex2g4s.h()) {
|
|
4647
|
+
var elem = _iterator__ex2g4s.i();
|
|
4671
4648
|
var elemOther = otherIterator.i();
|
|
4672
4649
|
if (!equals(elem, elemOther)) {
|
|
4673
4650
|
return false;
|
|
@@ -4679,16 +4656,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4679
4656
|
function Companion_getInstance_5() {
|
|
4680
4657
|
return Companion_instance_5;
|
|
4681
4658
|
}
|
|
4682
|
-
function toString_3($this,
|
|
4659
|
+
function toString_3($this, entry) {
|
|
4660
|
+
return toString_4($this, entry.u1()) + '=' + toString_4($this, entry.v1());
|
|
4661
|
+
}
|
|
4662
|
+
function toString_4($this, o) {
|
|
4683
4663
|
return o === $this ? '(this Map)' : toString_0(o);
|
|
4684
4664
|
}
|
|
4685
4665
|
function implFindEntry($this, key) {
|
|
4666
|
+
var tmp0 = $this.y1();
|
|
4686
4667
|
var tmp$ret$1;
|
|
4687
4668
|
$l$block: {
|
|
4688
4669
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
4689
|
-
var
|
|
4690
|
-
while (
|
|
4691
|
-
var element =
|
|
4670
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
4671
|
+
while (_iterator__ex2g4s.h()) {
|
|
4672
|
+
var element = _iterator__ex2g4s.i();
|
|
4692
4673
|
// Inline function 'kotlin.collections.AbstractMap.implFindEntry.<anonymous>' call
|
|
4693
4674
|
if (equals(element.u1(), key)) {
|
|
4694
4675
|
tmp$ret$1 = element;
|
|
@@ -4707,7 +4688,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4707
4688
|
}
|
|
4708
4689
|
function AbstractMap$toString$lambda(this$0) {
|
|
4709
4690
|
return function (it) {
|
|
4710
|
-
return this$0
|
|
4691
|
+
return toString_3(this$0, it);
|
|
4711
4692
|
};
|
|
4712
4693
|
}
|
|
4713
4694
|
function AbstractMap() {
|
|
@@ -4746,13 +4727,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4746
4727
|
return false;
|
|
4747
4728
|
if (!(this.j() === other.j()))
|
|
4748
4729
|
return false;
|
|
4730
|
+
var tmp0 = other.y1();
|
|
4749
4731
|
var tmp$ret$0;
|
|
4750
4732
|
$l$block_0: {
|
|
4751
4733
|
// Inline function 'kotlin.collections.all' call
|
|
4752
|
-
var this_0 = other.y1();
|
|
4753
4734
|
var tmp;
|
|
4754
|
-
if (isInterface(
|
|
4755
|
-
tmp =
|
|
4735
|
+
if (isInterface(tmp0, Collection)) {
|
|
4736
|
+
tmp = tmp0.d1();
|
|
4756
4737
|
} else {
|
|
4757
4738
|
tmp = false;
|
|
4758
4739
|
}
|
|
@@ -4760,9 +4741,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4760
4741
|
tmp$ret$0 = true;
|
|
4761
4742
|
break $l$block_0;
|
|
4762
4743
|
}
|
|
4763
|
-
var
|
|
4764
|
-
while (
|
|
4765
|
-
var element =
|
|
4744
|
+
var _iterator__ex2g4s = tmp0.g();
|
|
4745
|
+
while (_iterator__ex2g4s.h()) {
|
|
4746
|
+
var element = _iterator__ex2g4s.i();
|
|
4766
4747
|
// Inline function 'kotlin.collections.AbstractMap.equals.<anonymous>' call
|
|
4767
4748
|
if (!this.k4(element)) {
|
|
4768
4749
|
tmp$ret$0 = false;
|
|
@@ -4787,27 +4768,23 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4787
4768
|
var tmp = this.y1();
|
|
4788
4769
|
return joinToString_1(tmp, ', ', '{', '}', VOID, VOID, AbstractMap$toString$lambda(this));
|
|
4789
4770
|
};
|
|
4790
|
-
protoOf(AbstractMap).s8 = function (entry) {
|
|
4791
|
-
return toString_3(this, entry.u1()) + '=' + toString_3(this, entry.v1());
|
|
4792
|
-
};
|
|
4793
4771
|
function Companion_7() {
|
|
4794
4772
|
}
|
|
4795
4773
|
protoOf(Companion_7).m4 = function (c) {
|
|
4796
4774
|
var hashCode_0 = 0;
|
|
4797
|
-
var
|
|
4798
|
-
while (
|
|
4799
|
-
var element =
|
|
4775
|
+
var _iterator__ex2g4s = c.g();
|
|
4776
|
+
while (_iterator__ex2g4s.h()) {
|
|
4777
|
+
var element = _iterator__ex2g4s.i();
|
|
4800
4778
|
var tmp = hashCode_0;
|
|
4801
|
-
var
|
|
4802
|
-
hashCode_0 = tmp + (
|
|
4779
|
+
var tmp1_elvis_lhs = element == null ? null : hashCode(element);
|
|
4780
|
+
hashCode_0 = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
4803
4781
|
}
|
|
4804
4782
|
return hashCode_0;
|
|
4805
4783
|
};
|
|
4806
4784
|
protoOf(Companion_7).l4 = function (c, other) {
|
|
4807
4785
|
if (!(c.j() === other.j()))
|
|
4808
4786
|
return false;
|
|
4809
|
-
|
|
4810
|
-
return c.s1(other);
|
|
4787
|
+
return c.t1(other);
|
|
4811
4788
|
};
|
|
4812
4789
|
var Companion_instance_7;
|
|
4813
4790
|
function Companion_getInstance_7() {
|
|
@@ -4824,9 +4801,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4824
4801
|
var iterator = collection.g();
|
|
4825
4802
|
var index = 0;
|
|
4826
4803
|
while (iterator.h()) {
|
|
4827
|
-
var
|
|
4828
|
-
index =
|
|
4829
|
-
destination[
|
|
4804
|
+
var _unary__edvuaz = index;
|
|
4805
|
+
index = _unary__edvuaz + 1 | 0;
|
|
4806
|
+
destination[_unary__edvuaz] = iterator.i();
|
|
4830
4807
|
}
|
|
4831
4808
|
return destination;
|
|
4832
4809
|
}
|
|
@@ -4861,19 +4838,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4861
4838
|
protoOf(EmptyList).d1 = function () {
|
|
4862
4839
|
return true;
|
|
4863
4840
|
};
|
|
4864
|
-
protoOf(EmptyList).u8 = function (elements) {
|
|
4865
|
-
return elements.d1();
|
|
4866
|
-
};
|
|
4867
|
-
protoOf(EmptyList).s1 = function (elements) {
|
|
4868
|
-
return this.u8(elements);
|
|
4869
|
-
};
|
|
4870
4841
|
protoOf(EmptyList).k = function (index) {
|
|
4871
4842
|
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
|
|
4872
4843
|
};
|
|
4873
|
-
protoOf(EmptyList).
|
|
4844
|
+
protoOf(EmptyList).u8 = function (element) {
|
|
4874
4845
|
return -1;
|
|
4875
4846
|
};
|
|
4876
|
-
protoOf(EmptyList).
|
|
4847
|
+
protoOf(EmptyList).s1 = function (element) {
|
|
4877
4848
|
if (!false)
|
|
4878
4849
|
return -1;
|
|
4879
4850
|
var tmp;
|
|
@@ -4882,7 +4853,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4882
4853
|
} else {
|
|
4883
4854
|
tmp = THROW_CCE();
|
|
4884
4855
|
}
|
|
4885
|
-
return this.
|
|
4856
|
+
return this.u8(tmp);
|
|
4886
4857
|
};
|
|
4887
4858
|
protoOf(EmptyList).g = function () {
|
|
4888
4859
|
return EmptyIterator_instance;
|
|
@@ -4894,51 +4865,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4894
4865
|
return EmptyList_instance;
|
|
4895
4866
|
}
|
|
4896
4867
|
function ArrayAsCollection(values, isVarargs) {
|
|
4897
|
-
this.
|
|
4898
|
-
this.
|
|
4868
|
+
this.v8_1 = values;
|
|
4869
|
+
this.w8_1 = isVarargs;
|
|
4899
4870
|
}
|
|
4900
4871
|
protoOf(ArrayAsCollection).j = function () {
|
|
4901
|
-
return this.
|
|
4872
|
+
return this.v8_1.length;
|
|
4902
4873
|
};
|
|
4903
4874
|
protoOf(ArrayAsCollection).d1 = function () {
|
|
4904
4875
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
4905
|
-
return this.
|
|
4906
|
-
};
|
|
4907
|
-
protoOf(ArrayAsCollection).y8 = function (element) {
|
|
4908
|
-
return contains_0(this.w8_1, element);
|
|
4909
|
-
};
|
|
4910
|
-
protoOf(ArrayAsCollection).z8 = function (elements) {
|
|
4911
|
-
var tmp$ret$0;
|
|
4912
|
-
$l$block_0: {
|
|
4913
|
-
// Inline function 'kotlin.collections.all' call
|
|
4914
|
-
var tmp;
|
|
4915
|
-
if (isInterface(elements, Collection)) {
|
|
4916
|
-
tmp = elements.d1();
|
|
4917
|
-
} else {
|
|
4918
|
-
tmp = false;
|
|
4919
|
-
}
|
|
4920
|
-
if (tmp) {
|
|
4921
|
-
tmp$ret$0 = true;
|
|
4922
|
-
break $l$block_0;
|
|
4923
|
-
}
|
|
4924
|
-
var tmp0_iterator = elements.g();
|
|
4925
|
-
while (tmp0_iterator.h()) {
|
|
4926
|
-
var element = tmp0_iterator.i();
|
|
4927
|
-
// Inline function 'kotlin.collections.ArrayAsCollection.containsAll.<anonymous>' call
|
|
4928
|
-
if (!this.y8(element)) {
|
|
4929
|
-
tmp$ret$0 = false;
|
|
4930
|
-
break $l$block_0;
|
|
4931
|
-
}
|
|
4932
|
-
}
|
|
4933
|
-
tmp$ret$0 = true;
|
|
4934
|
-
}
|
|
4935
|
-
return tmp$ret$0;
|
|
4936
|
-
};
|
|
4937
|
-
protoOf(ArrayAsCollection).s1 = function (elements) {
|
|
4938
|
-
return this.z8(elements);
|
|
4876
|
+
return this.v8_1.length === 0;
|
|
4939
4877
|
};
|
|
4940
4878
|
protoOf(ArrayAsCollection).g = function () {
|
|
4941
|
-
return arrayIterator(this.
|
|
4879
|
+
return arrayIterator(this.v8_1);
|
|
4942
4880
|
};
|
|
4943
4881
|
function EmptyIterator() {
|
|
4944
4882
|
}
|
|
@@ -4963,9 +4901,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4963
4901
|
}
|
|
4964
4902
|
function flatten(_this__u8e3s4) {
|
|
4965
4903
|
var result = ArrayList_init_$Create$();
|
|
4966
|
-
var
|
|
4967
|
-
while (
|
|
4968
|
-
var element =
|
|
4904
|
+
var _iterator__ex2g4s = _this__u8e3s4.g();
|
|
4905
|
+
while (_iterator__ex2g4s.h()) {
|
|
4906
|
+
var element = _iterator__ex2g4s.i();
|
|
4969
4907
|
addAll(result, element);
|
|
4970
4908
|
}
|
|
4971
4909
|
return result;
|
|
@@ -4993,9 +4931,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4993
4931
|
return _this__u8e3s4.k3(elements);
|
|
4994
4932
|
else {
|
|
4995
4933
|
var result = false;
|
|
4996
|
-
var
|
|
4997
|
-
while (
|
|
4998
|
-
var item =
|
|
4934
|
+
var _iterator__ex2g4s = elements.g();
|
|
4935
|
+
while (_iterator__ex2g4s.h()) {
|
|
4936
|
+
var item = _iterator__ex2g4s.i();
|
|
4999
4937
|
if (_this__u8e3s4.d(item))
|
|
5000
4938
|
result = true;
|
|
5001
4939
|
}
|
|
@@ -5005,72 +4943,72 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5005
4943
|
function IntIterator() {
|
|
5006
4944
|
}
|
|
5007
4945
|
protoOf(IntIterator).i = function () {
|
|
5008
|
-
return this.
|
|
4946
|
+
return this.x8();
|
|
5009
4947
|
};
|
|
5010
4948
|
function CharIterator() {
|
|
5011
4949
|
}
|
|
5012
|
-
protoOf(CharIterator).
|
|
5013
|
-
return this.
|
|
4950
|
+
protoOf(CharIterator).y8 = function () {
|
|
4951
|
+
return this.z8();
|
|
5014
4952
|
};
|
|
5015
4953
|
protoOf(CharIterator).i = function () {
|
|
5016
|
-
return new Char(this.
|
|
4954
|
+
return new Char(this.y8());
|
|
5017
4955
|
};
|
|
5018
4956
|
function generateSequence(seedFunction, nextFunction) {
|
|
5019
4957
|
return new GeneratorSequence(seedFunction, nextFunction);
|
|
5020
4958
|
}
|
|
5021
4959
|
function TransformingSequence$iterator$1(this$0) {
|
|
5022
|
-
this.
|
|
5023
|
-
this.
|
|
4960
|
+
this.b9_1 = this$0;
|
|
4961
|
+
this.a9_1 = this$0.c9_1.g();
|
|
5024
4962
|
}
|
|
5025
4963
|
protoOf(TransformingSequence$iterator$1).i = function () {
|
|
5026
|
-
return this.
|
|
4964
|
+
return this.b9_1.d9_1(this.a9_1.i());
|
|
5027
4965
|
};
|
|
5028
4966
|
protoOf(TransformingSequence$iterator$1).h = function () {
|
|
5029
|
-
return this.
|
|
4967
|
+
return this.a9_1.h();
|
|
5030
4968
|
};
|
|
5031
4969
|
function TransformingSequence(sequence, transformer) {
|
|
5032
|
-
this.
|
|
5033
|
-
this.
|
|
4970
|
+
this.c9_1 = sequence;
|
|
4971
|
+
this.d9_1 = transformer;
|
|
5034
4972
|
}
|
|
5035
4973
|
protoOf(TransformingSequence).g = function () {
|
|
5036
4974
|
return new TransformingSequence$iterator$1(this);
|
|
5037
4975
|
};
|
|
5038
4976
|
function calcNext($this) {
|
|
5039
|
-
$this.
|
|
5040
|
-
$this.
|
|
4977
|
+
$this.e9_1 = $this.f9_1 === -2 ? $this.g9_1.h9_1() : $this.g9_1.i9_1(ensureNotNull($this.e9_1));
|
|
4978
|
+
$this.f9_1 = $this.e9_1 == null ? 0 : 1;
|
|
5041
4979
|
}
|
|
5042
4980
|
function GeneratorSequence$iterator$1(this$0) {
|
|
5043
|
-
this.
|
|
5044
|
-
this.
|
|
5045
|
-
this.
|
|
4981
|
+
this.g9_1 = this$0;
|
|
4982
|
+
this.e9_1 = null;
|
|
4983
|
+
this.f9_1 = -2;
|
|
5046
4984
|
}
|
|
5047
4985
|
protoOf(GeneratorSequence$iterator$1).i = function () {
|
|
5048
|
-
if (this.
|
|
4986
|
+
if (this.f9_1 < 0) {
|
|
5049
4987
|
calcNext(this);
|
|
5050
4988
|
}
|
|
5051
|
-
if (this.
|
|
4989
|
+
if (this.f9_1 === 0)
|
|
5052
4990
|
throw NoSuchElementException_init_$Create$();
|
|
5053
|
-
var tmp = this.
|
|
4991
|
+
var tmp = this.e9_1;
|
|
5054
4992
|
var result = !(tmp == null) ? tmp : THROW_CCE();
|
|
5055
|
-
this.
|
|
4993
|
+
this.f9_1 = -1;
|
|
5056
4994
|
return result;
|
|
5057
4995
|
};
|
|
5058
4996
|
protoOf(GeneratorSequence$iterator$1).h = function () {
|
|
5059
|
-
if (this.
|
|
4997
|
+
if (this.f9_1 < 0) {
|
|
5060
4998
|
calcNext(this);
|
|
5061
4999
|
}
|
|
5062
|
-
return this.
|
|
5000
|
+
return this.f9_1 === 1;
|
|
5063
5001
|
};
|
|
5064
5002
|
function GeneratorSequence(getInitialValue, getNextValue) {
|
|
5065
|
-
this.
|
|
5066
|
-
this.
|
|
5003
|
+
this.h9_1 = getInitialValue;
|
|
5004
|
+
this.i9_1 = getNextValue;
|
|
5067
5005
|
}
|
|
5068
5006
|
protoOf(GeneratorSequence).g = function () {
|
|
5069
5007
|
return new GeneratorSequence$iterator$1(this);
|
|
5070
5008
|
};
|
|
5071
5009
|
function EmptySet() {
|
|
5072
5010
|
EmptySet_instance = this;
|
|
5073
|
-
this.
|
|
5011
|
+
this.j9_1 = new Long(1993859828, 793161749);
|
|
5074
5012
|
}
|
|
5075
5013
|
protoOf(EmptySet).equals = function (other) {
|
|
5076
5014
|
var tmp;
|
|
@@ -5093,11 +5031,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5093
5031
|
protoOf(EmptySet).d1 = function () {
|
|
5094
5032
|
return true;
|
|
5095
5033
|
};
|
|
5096
|
-
protoOf(EmptySet).
|
|
5034
|
+
protoOf(EmptySet).k9 = function (elements) {
|
|
5097
5035
|
return elements.d1();
|
|
5098
5036
|
};
|
|
5099
|
-
protoOf(EmptySet).
|
|
5100
|
-
return this.
|
|
5037
|
+
protoOf(EmptySet).t1 = function (elements) {
|
|
5038
|
+
return this.k9(elements);
|
|
5101
5039
|
};
|
|
5102
5040
|
protoOf(EmptySet).g = function () {
|
|
5103
5041
|
return EmptyIterator_instance;
|
|
@@ -5145,13 +5083,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5145
5083
|
function Default() {
|
|
5146
5084
|
Default_instance = this;
|
|
5147
5085
|
Random.call(this);
|
|
5148
|
-
this.
|
|
5086
|
+
this.l9_1 = defaultPlatformRandom();
|
|
5149
5087
|
}
|
|
5150
|
-
protoOf(Default).
|
|
5151
|
-
return this.
|
|
5088
|
+
protoOf(Default).m9 = function (bitCount) {
|
|
5089
|
+
return this.l9_1.m9(bitCount);
|
|
5152
5090
|
};
|
|
5153
|
-
protoOf(Default).
|
|
5154
|
-
return this.
|
|
5091
|
+
protoOf(Default).n9 = function () {
|
|
5092
|
+
return this.l9_1.n9();
|
|
5155
5093
|
};
|
|
5156
5094
|
var Default_instance;
|
|
5157
5095
|
function Default_getInstance() {
|
|
@@ -5162,8 +5100,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5162
5100
|
function Random() {
|
|
5163
5101
|
Default_getInstance();
|
|
5164
5102
|
}
|
|
5165
|
-
protoOf(Random).
|
|
5166
|
-
return doubleFromParts(this.
|
|
5103
|
+
protoOf(Random).n9 = function () {
|
|
5104
|
+
return doubleFromParts(this.m9(26), this.m9(27));
|
|
5167
5105
|
};
|
|
5168
5106
|
function Random_0(seed) {
|
|
5169
5107
|
return XorWowRandom_init_$Create$(seed, seed >> 31);
|
|
@@ -5180,7 +5118,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5180
5118
|
}
|
|
5181
5119
|
function Companion_8() {
|
|
5182
5120
|
Companion_instance_8 = this;
|
|
5183
|
-
this.
|
|
5121
|
+
this.o9_1 = new Long(0, 0);
|
|
5184
5122
|
}
|
|
5185
5123
|
var Companion_instance_8;
|
|
5186
5124
|
function Companion_getInstance_8() {
|
|
@@ -5191,46 +5129,44 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5191
5129
|
function XorWowRandom(x, y, z, w, v, addend) {
|
|
5192
5130
|
Companion_getInstance_8();
|
|
5193
5131
|
Random.call(this);
|
|
5194
|
-
this.
|
|
5195
|
-
this.
|
|
5196
|
-
this.
|
|
5197
|
-
this.
|
|
5198
|
-
this.
|
|
5199
|
-
this.
|
|
5132
|
+
this.p9_1 = x;
|
|
5133
|
+
this.q9_1 = y;
|
|
5134
|
+
this.r9_1 = z;
|
|
5135
|
+
this.s9_1 = w;
|
|
5136
|
+
this.t9_1 = v;
|
|
5137
|
+
this.u9_1 = addend;
|
|
5200
5138
|
// Inline function 'kotlin.require' call
|
|
5201
|
-
|
|
5202
|
-
if (!!((this.r9_1 | this.s9_1 | this.t9_1 | this.u9_1 | this.v9_1) === 0)) {
|
|
5139
|
+
if (!!((this.p9_1 | this.q9_1 | this.r9_1 | this.s9_1 | this.t9_1) === 0)) {
|
|
5203
5140
|
// Inline function 'kotlin.random.XorWowRandom.<anonymous>' call
|
|
5204
5141
|
var message = 'Initial state must have at least one non-zero element.';
|
|
5205
5142
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
5206
5143
|
}
|
|
5207
5144
|
// Inline function 'kotlin.repeat' call
|
|
5208
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5209
5145
|
var inductionVariable = 0;
|
|
5210
5146
|
if (inductionVariable < 64)
|
|
5211
5147
|
do {
|
|
5212
5148
|
var index = inductionVariable;
|
|
5213
5149
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5214
5150
|
// Inline function 'kotlin.random.XorWowRandom.<anonymous>' call
|
|
5215
|
-
this.
|
|
5151
|
+
this.x8();
|
|
5216
5152
|
}
|
|
5217
5153
|
while (inductionVariable < 64);
|
|
5218
5154
|
}
|
|
5219
|
-
protoOf(XorWowRandom).
|
|
5220
|
-
var t = this.
|
|
5155
|
+
protoOf(XorWowRandom).x8 = function () {
|
|
5156
|
+
var t = this.p9_1;
|
|
5221
5157
|
t = t ^ (t >>> 2 | 0);
|
|
5158
|
+
this.p9_1 = this.q9_1;
|
|
5159
|
+
this.q9_1 = this.r9_1;
|
|
5222
5160
|
this.r9_1 = this.s9_1;
|
|
5223
|
-
|
|
5224
|
-
this.
|
|
5225
|
-
var v0 = this.v9_1;
|
|
5226
|
-
this.u9_1 = v0;
|
|
5161
|
+
var v0 = this.t9_1;
|
|
5162
|
+
this.s9_1 = v0;
|
|
5227
5163
|
t = t ^ t << 1 ^ v0 ^ v0 << 4;
|
|
5228
|
-
this.
|
|
5229
|
-
this.
|
|
5230
|
-
return t + this.
|
|
5164
|
+
this.t9_1 = t;
|
|
5165
|
+
this.u9_1 = this.u9_1 + 362437 | 0;
|
|
5166
|
+
return t + this.u9_1 | 0;
|
|
5231
5167
|
};
|
|
5232
|
-
protoOf(XorWowRandom).
|
|
5233
|
-
return takeUpperBits(this.
|
|
5168
|
+
protoOf(XorWowRandom).m9 = function (bitCount) {
|
|
5169
|
+
return takeUpperBits(this.x8(), bitCount);
|
|
5234
5170
|
};
|
|
5235
5171
|
function Companion_9() {
|
|
5236
5172
|
Companion_instance_9 = this;
|
|
@@ -5246,17 +5182,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5246
5182
|
Companion_getInstance_9();
|
|
5247
5183
|
IntProgression.call(this, start, endInclusive, 1);
|
|
5248
5184
|
}
|
|
5249
|
-
protoOf(IntRange).
|
|
5185
|
+
protoOf(IntRange).a8 = function () {
|
|
5250
5186
|
return this.n_1;
|
|
5251
5187
|
};
|
|
5252
|
-
protoOf(IntRange).
|
|
5188
|
+
protoOf(IntRange).b8 = function () {
|
|
5253
5189
|
return this.o_1;
|
|
5254
5190
|
};
|
|
5255
|
-
protoOf(IntRange).
|
|
5191
|
+
protoOf(IntRange).v9 = function (value) {
|
|
5256
5192
|
return this.n_1 <= value && value <= this.o_1;
|
|
5257
5193
|
};
|
|
5258
5194
|
protoOf(IntRange).r = function (value) {
|
|
5259
|
-
return this.
|
|
5195
|
+
return this.v9(typeof value === 'number' ? value : THROW_CCE());
|
|
5260
5196
|
};
|
|
5261
5197
|
protoOf(IntRange).d1 = function () {
|
|
5262
5198
|
return this.n_1 > this.o_1;
|
|
@@ -5278,22 +5214,22 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5278
5214
|
};
|
|
5279
5215
|
function IntProgressionIterator(first, last, step) {
|
|
5280
5216
|
IntIterator.call(this);
|
|
5281
|
-
this.
|
|
5282
|
-
this.
|
|
5283
|
-
this.
|
|
5284
|
-
this.
|
|
5217
|
+
this.w9_1 = step;
|
|
5218
|
+
this.x9_1 = last;
|
|
5219
|
+
this.y9_1 = this.w9_1 > 0 ? first <= last : first >= last;
|
|
5220
|
+
this.z9_1 = this.y9_1 ? first : this.x9_1;
|
|
5285
5221
|
}
|
|
5286
5222
|
protoOf(IntProgressionIterator).h = function () {
|
|
5287
|
-
return this.
|
|
5223
|
+
return this.y9_1;
|
|
5288
5224
|
};
|
|
5289
|
-
protoOf(IntProgressionIterator).
|
|
5290
|
-
var value = this.
|
|
5291
|
-
if (value === this.
|
|
5292
|
-
if (!this.
|
|
5225
|
+
protoOf(IntProgressionIterator).x8 = function () {
|
|
5226
|
+
var value = this.z9_1;
|
|
5227
|
+
if (value === this.x9_1) {
|
|
5228
|
+
if (!this.y9_1)
|
|
5293
5229
|
throw NoSuchElementException_init_$Create$();
|
|
5294
|
-
this.
|
|
5230
|
+
this.y9_1 = false;
|
|
5295
5231
|
} else {
|
|
5296
|
-
this.
|
|
5232
|
+
this.z9_1 = this.z9_1 + this.w9_1 | 0;
|
|
5297
5233
|
}
|
|
5298
5234
|
return value;
|
|
5299
5235
|
};
|
|
@@ -5343,16 +5279,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5343
5279
|
throw IllegalArgumentException_init_$Create$_0('Step must be positive, was: ' + toString_1(step) + '.');
|
|
5344
5280
|
}
|
|
5345
5281
|
function appendElement(_this__u8e3s4, element, transform) {
|
|
5346
|
-
if (!(transform == null))
|
|
5282
|
+
if (!(transform == null))
|
|
5347
5283
|
_this__u8e3s4.e(transform(element));
|
|
5348
|
-
|
|
5349
|
-
if (element == null ? true : isCharSequence(element))
|
|
5284
|
+
else {
|
|
5285
|
+
if (element == null ? true : isCharSequence(element))
|
|
5350
5286
|
_this__u8e3s4.e(element);
|
|
5351
|
-
|
|
5352
|
-
if (element instanceof Char)
|
|
5287
|
+
else {
|
|
5288
|
+
if (element instanceof Char)
|
|
5353
5289
|
_this__u8e3s4.f(element.e1_1);
|
|
5354
|
-
|
|
5355
|
-
_this__u8e3s4.e(
|
|
5290
|
+
else {
|
|
5291
|
+
_this__u8e3s4.e(toString_1(element));
|
|
5356
5292
|
}
|
|
5357
5293
|
}
|
|
5358
5294
|
}
|
|
@@ -5371,14 +5307,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5371
5307
|
} else {
|
|
5372
5308
|
// Inline function 'kotlin.text.lowercaseChar' call
|
|
5373
5309
|
// Inline function 'kotlin.text.lowercase' call
|
|
5374
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
5375
5310
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5311
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
5376
5312
|
var tmp$ret$2 = toString(thisUpper).toLowerCase();
|
|
5377
5313
|
var tmp_0 = charSequenceGet(tmp$ret$2, 0);
|
|
5378
5314
|
// Inline function 'kotlin.text.lowercaseChar' call
|
|
5379
5315
|
// Inline function 'kotlin.text.lowercase' call
|
|
5380
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
5381
5316
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5317
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
5382
5318
|
var tmp$ret$6 = toString(otherUpper).toLowerCase();
|
|
5383
5319
|
tmp = tmp_0 === charSequenceGet(tmp$ret$6, 0);
|
|
5384
5320
|
}
|
|
@@ -5393,40 +5329,39 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5393
5329
|
var HEX_DIGITS_TO_DECIMAL;
|
|
5394
5330
|
var HEX_DIGITS_TO_LONG_DECIMAL;
|
|
5395
5331
|
function hexToByte(_this__u8e3s4, format) {
|
|
5396
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5332
|
+
format = format === VOID ? Companion_getInstance_13().aa_1 : format;
|
|
5397
5333
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5398
5334
|
return hexToByte_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
5399
5335
|
}
|
|
5400
5336
|
function hexToByteArray(_this__u8e3s4, format) {
|
|
5401
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5337
|
+
format = format === VOID ? Companion_getInstance_13().aa_1 : format;
|
|
5402
5338
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5403
5339
|
return hexToByteArray_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
5404
5340
|
}
|
|
5405
5341
|
function hexToByte_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
5406
5342
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5407
5343
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
5408
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5344
|
+
format = format === VOID ? Companion_getInstance_13().aa_1 : format;
|
|
5409
5345
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5410
5346
|
return toByte(hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, 2));
|
|
5411
5347
|
}
|
|
5412
5348
|
function hexToByteArray_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
5413
5349
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5414
5350
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
5415
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5351
|
+
format = format === VOID ? Companion_getInstance_13().aa_1 : format;
|
|
5416
5352
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5417
|
-
Companion_instance_5.
|
|
5353
|
+
Companion_instance_5.h7(startIndex, endIndex, _this__u8e3s4.length);
|
|
5418
5354
|
if (startIndex === endIndex) {
|
|
5419
5355
|
// Inline function 'kotlin.byteArrayOf' call
|
|
5420
5356
|
return new Int8Array([]);
|
|
5421
5357
|
}
|
|
5422
|
-
var bytesFormat = format.
|
|
5423
|
-
if (bytesFormat.
|
|
5358
|
+
var bytesFormat = format.da_1;
|
|
5359
|
+
if (bytesFormat.la_1) {
|
|
5424
5360
|
var tmp0_safe_receiver = hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5425
5361
|
if (tmp0_safe_receiver == null)
|
|
5426
5362
|
null;
|
|
5427
5363
|
else {
|
|
5428
5364
|
// Inline function 'kotlin.let' call
|
|
5429
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5430
5365
|
return tmp0_safe_receiver;
|
|
5431
5366
|
}
|
|
5432
5367
|
}
|
|
@@ -5434,33 +5369,33 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5434
5369
|
}
|
|
5435
5370
|
function hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, typeHexLength) {
|
|
5436
5371
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5437
|
-
Companion_instance_5.
|
|
5438
|
-
var numberFormat = format.
|
|
5439
|
-
if (numberFormat.
|
|
5372
|
+
Companion_instance_5.h7(startIndex, endIndex, _this__u8e3s4.length);
|
|
5373
|
+
var numberFormat = format.ea_1;
|
|
5374
|
+
if (numberFormat.sa_1) {
|
|
5440
5375
|
checkNumberOfDigits(_this__u8e3s4, startIndex, endIndex, typeHexLength);
|
|
5441
5376
|
return parseInt(_this__u8e3s4, startIndex, endIndex);
|
|
5442
5377
|
}
|
|
5443
|
-
var prefix = numberFormat.
|
|
5444
|
-
var suffix = numberFormat.
|
|
5445
|
-
checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, numberFormat.
|
|
5378
|
+
var prefix = numberFormat.oa_1;
|
|
5379
|
+
var suffix = numberFormat.pa_1;
|
|
5380
|
+
checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, numberFormat.ua_1, typeHexLength);
|
|
5446
5381
|
return parseInt(_this__u8e3s4, startIndex + prefix.length | 0, endIndex - suffix.length | 0);
|
|
5447
5382
|
}
|
|
5448
5383
|
function hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5449
5384
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5450
|
-
if (bytesFormat.
|
|
5385
|
+
if (bytesFormat.ma_1) {
|
|
5451
5386
|
return hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5452
5387
|
}
|
|
5453
5388
|
return hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5454
5389
|
}
|
|
5455
5390
|
function hexToByteArraySlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5456
5391
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5457
|
-
var bytesPerLine = bytesFormat.
|
|
5458
|
-
var bytesPerGroup = bytesFormat.
|
|
5459
|
-
var bytePrefix = bytesFormat.
|
|
5460
|
-
var byteSuffix = bytesFormat.
|
|
5461
|
-
var byteSeparator = bytesFormat.
|
|
5462
|
-
var groupSeparator = bytesFormat.
|
|
5463
|
-
var ignoreCase = bytesFormat.
|
|
5392
|
+
var bytesPerLine = bytesFormat.fa_1;
|
|
5393
|
+
var bytesPerGroup = bytesFormat.ga_1;
|
|
5394
|
+
var bytePrefix = bytesFormat.ja_1;
|
|
5395
|
+
var byteSuffix = bytesFormat.ka_1;
|
|
5396
|
+
var byteSeparator = bytesFormat.ia_1;
|
|
5397
|
+
var groupSeparator = bytesFormat.ha_1;
|
|
5398
|
+
var ignoreCase = bytesFormat.na_1;
|
|
5464
5399
|
var parseMaxSize = parsedByteArrayMaxSize(endIndex - startIndex | 0, bytesPerLine, bytesPerGroup, groupSeparator.length, byteSeparator.length, bytePrefix.length, byteSuffix.length);
|
|
5465
5400
|
var byteArray = new Int8Array(parseMaxSize);
|
|
5466
5401
|
var charIndex = startIndex;
|
|
@@ -5473,14 +5408,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5473
5408
|
indexInLine = 0;
|
|
5474
5409
|
indexInGroup = 0;
|
|
5475
5410
|
} else if (indexInGroup === bytesPerGroup) {
|
|
5411
|
+
var tmp1 = charIndex;
|
|
5412
|
+
var tmp5 = 'group separator';
|
|
5476
5413
|
var tmp$ret$1;
|
|
5477
5414
|
$l$block: {
|
|
5478
5415
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5479
|
-
var index = charIndex;
|
|
5480
|
-
var partName = 'group separator';
|
|
5481
5416
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5482
5417
|
if (charSequenceLength(groupSeparator) === 0) {
|
|
5483
|
-
tmp$ret$1 =
|
|
5418
|
+
tmp$ret$1 = tmp1;
|
|
5484
5419
|
break $l$block;
|
|
5485
5420
|
}
|
|
5486
5421
|
var inductionVariable = 0;
|
|
@@ -5489,24 +5424,24 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5489
5424
|
do {
|
|
5490
5425
|
var i = inductionVariable;
|
|
5491
5426
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5492
|
-
if (!equals_0(charSequenceGet(groupSeparator, i), charSequenceGet(_this__u8e3s4,
|
|
5493
|
-
throwNotContainedAt
|
|
5427
|
+
if (!equals_0(charSequenceGet(groupSeparator, i), charSequenceGet(_this__u8e3s4, tmp1 + i | 0), ignoreCase)) {
|
|
5428
|
+
throwNotContainedAt(_this__u8e3s4, tmp1, endIndex, groupSeparator, tmp5);
|
|
5494
5429
|
}
|
|
5495
5430
|
}
|
|
5496
5431
|
while (inductionVariable <= last);
|
|
5497
|
-
tmp$ret$1 =
|
|
5432
|
+
tmp$ret$1 = tmp1 + groupSeparator.length | 0;
|
|
5498
5433
|
}
|
|
5499
5434
|
charIndex = tmp$ret$1;
|
|
5500
5435
|
indexInGroup = 0;
|
|
5501
5436
|
} else if (!(indexInGroup === 0)) {
|
|
5437
|
+
var tmp7 = charIndex;
|
|
5438
|
+
var tmp11 = 'byte separator';
|
|
5502
5439
|
var tmp$ret$3;
|
|
5503
5440
|
$l$block_0: {
|
|
5504
5441
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5505
|
-
var index_0 = charIndex;
|
|
5506
|
-
var partName_0 = 'byte separator';
|
|
5507
5442
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5508
5443
|
if (charSequenceLength(byteSeparator) === 0) {
|
|
5509
|
-
tmp$ret$3 =
|
|
5444
|
+
tmp$ret$3 = tmp7;
|
|
5510
5445
|
break $l$block_0;
|
|
5511
5446
|
}
|
|
5512
5447
|
var inductionVariable_0 = 0;
|
|
@@ -5515,25 +5450,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5515
5450
|
do {
|
|
5516
5451
|
var i_0 = inductionVariable_0;
|
|
5517
5452
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5518
|
-
if (!equals_0(charSequenceGet(byteSeparator, i_0), charSequenceGet(_this__u8e3s4,
|
|
5519
|
-
throwNotContainedAt
|
|
5453
|
+
if (!equals_0(charSequenceGet(byteSeparator, i_0), charSequenceGet(_this__u8e3s4, tmp7 + i_0 | 0), ignoreCase)) {
|
|
5454
|
+
throwNotContainedAt(_this__u8e3s4, tmp7, endIndex, byteSeparator, tmp11);
|
|
5520
5455
|
}
|
|
5521
5456
|
}
|
|
5522
5457
|
while (inductionVariable_0 <= last_0);
|
|
5523
|
-
tmp$ret$3 =
|
|
5458
|
+
tmp$ret$3 = tmp7 + byteSeparator.length | 0;
|
|
5524
5459
|
}
|
|
5525
5460
|
charIndex = tmp$ret$3;
|
|
5526
5461
|
}
|
|
5527
5462
|
indexInLine = indexInLine + 1 | 0;
|
|
5528
5463
|
indexInGroup = indexInGroup + 1 | 0;
|
|
5464
|
+
var tmp13 = charIndex;
|
|
5465
|
+
var tmp17 = 'byte prefix';
|
|
5529
5466
|
var tmp$ret$5;
|
|
5530
5467
|
$l$block_1: {
|
|
5531
5468
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5532
|
-
var index_1 = charIndex;
|
|
5533
|
-
var partName_1 = 'byte prefix';
|
|
5534
5469
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5535
5470
|
if (charSequenceLength(bytePrefix) === 0) {
|
|
5536
|
-
tmp$ret$5 =
|
|
5471
|
+
tmp$ret$5 = tmp13;
|
|
5537
5472
|
break $l$block_1;
|
|
5538
5473
|
}
|
|
5539
5474
|
var inductionVariable_1 = 0;
|
|
@@ -5542,28 +5477,28 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5542
5477
|
do {
|
|
5543
5478
|
var i_1 = inductionVariable_1;
|
|
5544
5479
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5545
|
-
if (!equals_0(charSequenceGet(bytePrefix, i_1), charSequenceGet(_this__u8e3s4,
|
|
5546
|
-
throwNotContainedAt
|
|
5480
|
+
if (!equals_0(charSequenceGet(bytePrefix, i_1), charSequenceGet(_this__u8e3s4, tmp13 + i_1 | 0), ignoreCase)) {
|
|
5481
|
+
throwNotContainedAt(_this__u8e3s4, tmp13, endIndex, bytePrefix, tmp17);
|
|
5547
5482
|
}
|
|
5548
5483
|
}
|
|
5549
5484
|
while (inductionVariable_1 <= last_1);
|
|
5550
|
-
tmp$ret$5 =
|
|
5485
|
+
tmp$ret$5 = tmp13 + bytePrefix.length | 0;
|
|
5551
5486
|
}
|
|
5552
5487
|
charIndex = tmp$ret$5;
|
|
5553
5488
|
if ((endIndex - 2 | 0) < charIndex) {
|
|
5554
5489
|
throwInvalidNumberOfDigits(_this__u8e3s4, charIndex, endIndex, 'exactly', 2);
|
|
5555
5490
|
}
|
|
5556
|
-
var
|
|
5557
|
-
byteIndex =
|
|
5558
|
-
byteArray[
|
|
5491
|
+
var _unary__edvuaz = byteIndex;
|
|
5492
|
+
byteIndex = _unary__edvuaz + 1 | 0;
|
|
5493
|
+
byteArray[_unary__edvuaz] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5494
|
+
var tmp19 = charIndex + 2 | 0;
|
|
5495
|
+
var tmp23 = 'byte suffix';
|
|
5559
5496
|
var tmp$ret$7;
|
|
5560
5497
|
$l$block_2: {
|
|
5561
5498
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5562
|
-
var index_2 = charIndex + 2 | 0;
|
|
5563
|
-
var partName_2 = 'byte suffix';
|
|
5564
5499
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5565
5500
|
if (charSequenceLength(byteSuffix) === 0) {
|
|
5566
|
-
tmp$ret$7 =
|
|
5501
|
+
tmp$ret$7 = tmp19;
|
|
5567
5502
|
break $l$block_2;
|
|
5568
5503
|
}
|
|
5569
5504
|
var inductionVariable_2 = 0;
|
|
@@ -5572,12 +5507,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5572
5507
|
do {
|
|
5573
5508
|
var i_2 = inductionVariable_2;
|
|
5574
5509
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
5575
|
-
if (!equals_0(charSequenceGet(byteSuffix, i_2), charSequenceGet(_this__u8e3s4,
|
|
5576
|
-
throwNotContainedAt
|
|
5510
|
+
if (!equals_0(charSequenceGet(byteSuffix, i_2), charSequenceGet(_this__u8e3s4, tmp19 + i_2 | 0), ignoreCase)) {
|
|
5511
|
+
throwNotContainedAt(_this__u8e3s4, tmp19, endIndex, byteSuffix, tmp23);
|
|
5577
5512
|
}
|
|
5578
5513
|
}
|
|
5579
5514
|
while (inductionVariable_2 <= last_2);
|
|
5580
|
-
tmp$ret$7 =
|
|
5515
|
+
tmp$ret$7 = tmp19 + byteSuffix.length | 0;
|
|
5581
5516
|
}
|
|
5582
5517
|
charIndex = tmp$ret$7;
|
|
5583
5518
|
}
|
|
@@ -5612,7 +5547,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5612
5547
|
var i = inductionVariable;
|
|
5613
5548
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5614
5549
|
if (!equals_0(charSequenceGet(prefix, i), charSequenceGet(_this__u8e3s4, startIndex + i | 0), ignoreCase)) {
|
|
5615
|
-
throwNotContainedAt
|
|
5550
|
+
throwNotContainedAt(_this__u8e3s4, startIndex, endIndex, prefix, 'prefix');
|
|
5616
5551
|
}
|
|
5617
5552
|
}
|
|
5618
5553
|
while (inductionVariable <= last);
|
|
@@ -5633,7 +5568,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5633
5568
|
var i_0 = inductionVariable_0;
|
|
5634
5569
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5635
5570
|
if (!equals_0(charSequenceGet(suffix, i_0), charSequenceGet(_this__u8e3s4, digitsEndIndex + i_0 | 0), ignoreCase)) {
|
|
5636
|
-
throwNotContainedAt
|
|
5571
|
+
throwNotContainedAt(_this__u8e3s4, digitsEndIndex, endIndex, suffix, 'suffix');
|
|
5637
5572
|
}
|
|
5638
5573
|
}
|
|
5639
5574
|
while (inductionVariable_0 <= last_0);
|
|
@@ -5656,11 +5591,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5656
5591
|
// Inline function 'kotlin.code' call
|
|
5657
5592
|
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
5658
5593
|
var code = Char__toInt_impl_vasixd(this_0);
|
|
5659
|
-
if ((code >>> 8 | 0) === 0 &&
|
|
5660
|
-
tmp$ret$1 =
|
|
5594
|
+
if ((code >>> 8 | 0) === 0 && get_HEX_DIGITS_TO_DECIMAL()[code] >= 0) {
|
|
5595
|
+
tmp$ret$1 = get_HEX_DIGITS_TO_DECIMAL()[code];
|
|
5661
5596
|
break $l$block;
|
|
5662
5597
|
}
|
|
5663
|
-
throwInvalidDigitAt
|
|
5598
|
+
throwInvalidDigitAt(_this__u8e3s4, i);
|
|
5664
5599
|
}
|
|
5665
5600
|
result = tmp | tmp$ret$1;
|
|
5666
5601
|
}
|
|
@@ -5669,11 +5604,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5669
5604
|
}
|
|
5670
5605
|
function hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5671
5606
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5672
|
-
var byteSeparatorLength = bytesFormat.
|
|
5607
|
+
var byteSeparatorLength = bytesFormat.ia_1.length;
|
|
5673
5608
|
// Inline function 'kotlin.require' call
|
|
5674
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5675
5609
|
// Inline function 'kotlin.require' call
|
|
5676
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5677
5610
|
if (!(byteSeparatorLength <= 1)) {
|
|
5678
5611
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
5679
5612
|
var message = 'Failed requirement.';
|
|
@@ -5701,7 +5634,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5701
5634
|
return null;
|
|
5702
5635
|
var numberOfBytes_0 = (numberOfChars / 3 | 0) + 1 | 0;
|
|
5703
5636
|
var byteArray_0 = new Int8Array(numberOfBytes_0);
|
|
5704
|
-
var byteSeparatorChar = charSequenceGet(bytesFormat.
|
|
5637
|
+
var byteSeparatorChar = charSequenceGet(bytesFormat.ia_1, 0);
|
|
5705
5638
|
byteArray_0[0] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5706
5639
|
charIndex = charIndex + 2 | 0;
|
|
5707
5640
|
var inductionVariable_0 = 1;
|
|
@@ -5710,28 +5643,28 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5710
5643
|
var byteIndex_0 = inductionVariable_0;
|
|
5711
5644
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5712
5645
|
if (!(charSequenceGet(_this__u8e3s4, charIndex) === byteSeparatorChar)) {
|
|
5646
|
+
var tmp1 = charIndex;
|
|
5647
|
+
var tmp3 = bytesFormat.ia_1;
|
|
5648
|
+
var tmp4 = bytesFormat.na_1;
|
|
5649
|
+
var tmp5 = 'byte separator';
|
|
5713
5650
|
$l$block: {
|
|
5714
5651
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5715
|
-
var index = charIndex;
|
|
5716
|
-
var part = bytesFormat.ka_1;
|
|
5717
|
-
var ignoreCase = bytesFormat.pa_1;
|
|
5718
|
-
var partName = 'byte separator';
|
|
5719
5652
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5720
|
-
if (charSequenceLength(
|
|
5653
|
+
if (charSequenceLength(tmp3) === 0) {
|
|
5721
5654
|
break $l$block;
|
|
5722
5655
|
}
|
|
5723
5656
|
var inductionVariable_1 = 0;
|
|
5724
|
-
var last = charSequenceLength(
|
|
5657
|
+
var last = charSequenceLength(tmp3) - 1 | 0;
|
|
5725
5658
|
if (inductionVariable_1 <= last)
|
|
5726
5659
|
do {
|
|
5727
5660
|
var i = inductionVariable_1;
|
|
5728
5661
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5729
|
-
if (!equals_0(charSequenceGet(
|
|
5730
|
-
throwNotContainedAt
|
|
5662
|
+
if (!equals_0(charSequenceGet(tmp3, i), charSequenceGet(_this__u8e3s4, tmp1 + i | 0), tmp4)) {
|
|
5663
|
+
throwNotContainedAt(_this__u8e3s4, tmp1, endIndex, tmp3, tmp5);
|
|
5731
5664
|
}
|
|
5732
5665
|
}
|
|
5733
5666
|
while (inductionVariable_1 <= last);
|
|
5734
|
-
|
|
5667
|
+
tmp3.length;
|
|
5735
5668
|
}
|
|
5736
5669
|
}
|
|
5737
5670
|
byteArray_0[byteIndex_0] = parseByteAt(_this__u8e3s4, charIndex + 1 | 0);
|
|
@@ -5743,18 +5676,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5743
5676
|
}
|
|
5744
5677
|
function hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5745
5678
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5746
|
-
var bytePrefix = bytesFormat.
|
|
5747
|
-
var byteSuffix = bytesFormat.
|
|
5748
|
-
var byteSeparator = bytesFormat.
|
|
5679
|
+
var bytePrefix = bytesFormat.ja_1;
|
|
5680
|
+
var byteSuffix = bytesFormat.ka_1;
|
|
5681
|
+
var byteSeparator = bytesFormat.ia_1;
|
|
5749
5682
|
var byteSeparatorLength = byteSeparator.length;
|
|
5683
|
+
var tmp0 = new Long(2, 0);
|
|
5750
5684
|
// Inline function 'kotlin.Long.plus' call
|
|
5751
|
-
// Inline function 'kotlin.Long.plus' call
|
|
5752
|
-
// Inline function 'kotlin.Long.plus' call
|
|
5753
|
-
var this_0 = new Long(2, 0);
|
|
5754
5685
|
var other = bytePrefix.length;
|
|
5755
|
-
var
|
|
5686
|
+
var tmp2 = tmp0.i2(toLong(other));
|
|
5687
|
+
// Inline function 'kotlin.Long.plus' call
|
|
5756
5688
|
var other_0 = byteSuffix.length;
|
|
5757
|
-
|
|
5689
|
+
// Inline function 'kotlin.Long.plus' call
|
|
5690
|
+
var charsPerByte = tmp2.i2(toLong(other_0)).i2(toLong(byteSeparatorLength));
|
|
5758
5691
|
var numberOfChars = toLong(endIndex - startIndex | 0);
|
|
5759
5692
|
// Inline function 'kotlin.Long.plus' call
|
|
5760
5693
|
var numberOfBytes = numberOfChars.i2(toLong(byteSeparatorLength)).l2(charsPerByte).u();
|
|
@@ -5762,17 +5695,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5762
5695
|
if (!numberToLong(numberOfBytes).k2(charsPerByte).j2(toLong(byteSeparatorLength)).equals(numberOfChars)) {
|
|
5763
5696
|
return null;
|
|
5764
5697
|
}
|
|
5765
|
-
var ignoreCase = bytesFormat.
|
|
5698
|
+
var ignoreCase = bytesFormat.na_1;
|
|
5766
5699
|
var byteArray = new Int8Array(numberOfBytes);
|
|
5767
5700
|
var charIndex = startIndex;
|
|
5701
|
+
var tmp1 = charIndex;
|
|
5702
|
+
var tmp5 = 'byte prefix';
|
|
5768
5703
|
var tmp$ret$6;
|
|
5769
5704
|
$l$block: {
|
|
5770
5705
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5771
|
-
var index = charIndex;
|
|
5772
|
-
var partName = 'byte prefix';
|
|
5773
5706
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5774
5707
|
if (charSequenceLength(bytePrefix) === 0) {
|
|
5775
|
-
tmp$ret$6 =
|
|
5708
|
+
tmp$ret$6 = tmp1;
|
|
5776
5709
|
break $l$block;
|
|
5777
5710
|
}
|
|
5778
5711
|
var inductionVariable = 0;
|
|
@@ -5781,12 +5714,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5781
5714
|
do {
|
|
5782
5715
|
var i = inductionVariable;
|
|
5783
5716
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5784
|
-
if (!equals_0(charSequenceGet(bytePrefix, i), charSequenceGet(_this__u8e3s4,
|
|
5785
|
-
throwNotContainedAt
|
|
5717
|
+
if (!equals_0(charSequenceGet(bytePrefix, i), charSequenceGet(_this__u8e3s4, tmp1 + i | 0), ignoreCase)) {
|
|
5718
|
+
throwNotContainedAt(_this__u8e3s4, tmp1, endIndex, bytePrefix, tmp5);
|
|
5786
5719
|
}
|
|
5787
5720
|
}
|
|
5788
5721
|
while (inductionVariable <= last);
|
|
5789
|
-
tmp$ret$6 =
|
|
5722
|
+
tmp$ret$6 = tmp1 + bytePrefix.length | 0;
|
|
5790
5723
|
}
|
|
5791
5724
|
charIndex = tmp$ret$6;
|
|
5792
5725
|
var between = byteSuffix + byteSeparator + bytePrefix;
|
|
@@ -5797,14 +5730,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5797
5730
|
var byteIndex = inductionVariable_0;
|
|
5798
5731
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5799
5732
|
byteArray[byteIndex] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5733
|
+
var tmp7 = charIndex + 2 | 0;
|
|
5734
|
+
var tmp11 = 'byte suffix + byte separator + byte prefix';
|
|
5800
5735
|
var tmp$ret$8;
|
|
5801
5736
|
$l$block_0: {
|
|
5802
5737
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5803
|
-
var index_0 = charIndex + 2 | 0;
|
|
5804
|
-
var partName_0 = 'byte suffix + byte separator + byte prefix';
|
|
5805
5738
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5806
5739
|
if (charSequenceLength(between) === 0) {
|
|
5807
|
-
tmp$ret$8 =
|
|
5740
|
+
tmp$ret$8 = tmp7;
|
|
5808
5741
|
break $l$block_0;
|
|
5809
5742
|
}
|
|
5810
5743
|
var inductionVariable_1 = 0;
|
|
@@ -5813,21 +5746,21 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5813
5746
|
do {
|
|
5814
5747
|
var i_0 = inductionVariable_1;
|
|
5815
5748
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5816
|
-
if (!equals_0(charSequenceGet(between, i_0), charSequenceGet(_this__u8e3s4,
|
|
5817
|
-
throwNotContainedAt
|
|
5749
|
+
if (!equals_0(charSequenceGet(between, i_0), charSequenceGet(_this__u8e3s4, tmp7 + i_0 | 0), ignoreCase)) {
|
|
5750
|
+
throwNotContainedAt(_this__u8e3s4, tmp7, endIndex, between, tmp11);
|
|
5818
5751
|
}
|
|
5819
5752
|
}
|
|
5820
5753
|
while (inductionVariable_1 <= last_1);
|
|
5821
|
-
tmp$ret$8 =
|
|
5754
|
+
tmp$ret$8 = tmp7 + between.length | 0;
|
|
5822
5755
|
}
|
|
5823
5756
|
charIndex = tmp$ret$8;
|
|
5824
5757
|
}
|
|
5825
5758
|
while (inductionVariable_0 < last_0);
|
|
5826
5759
|
byteArray[numberOfBytes - 1 | 0] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5760
|
+
var tmp13 = charIndex + 2 | 0;
|
|
5761
|
+
var tmp17 = 'byte suffix';
|
|
5827
5762
|
$l$block_1: {
|
|
5828
5763
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5829
|
-
var index_1 = charIndex + 2 | 0;
|
|
5830
|
-
var partName_1 = 'byte suffix';
|
|
5831
5764
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5832
5765
|
if (charSequenceLength(byteSuffix) === 0) {
|
|
5833
5766
|
break $l$block_1;
|
|
@@ -5838,8 +5771,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5838
5771
|
do {
|
|
5839
5772
|
var i_1 = inductionVariable_2;
|
|
5840
5773
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
5841
|
-
if (!equals_0(charSequenceGet(byteSuffix, i_1), charSequenceGet(_this__u8e3s4,
|
|
5842
|
-
throwNotContainedAt
|
|
5774
|
+
if (!equals_0(charSequenceGet(byteSuffix, i_1), charSequenceGet(_this__u8e3s4, tmp13 + i_1 | 0), ignoreCase)) {
|
|
5775
|
+
throwNotContainedAt(_this__u8e3s4, tmp13, endIndex, byteSuffix, tmp17);
|
|
5843
5776
|
}
|
|
5844
5777
|
}
|
|
5845
5778
|
while (inductionVariable_2 <= last_2);
|
|
@@ -5850,9 +5783,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5850
5783
|
function parsedByteArrayMaxSize(stringLength, bytesPerLine, bytesPerGroup, groupSeparatorLength, byteSeparatorLength, bytePrefixLength, byteSuffixLength) {
|
|
5851
5784
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5852
5785
|
// Inline function 'kotlin.require' call
|
|
5853
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5854
5786
|
// Inline function 'kotlin.require' call
|
|
5855
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5856
5787
|
if (!(stringLength > 0)) {
|
|
5857
5788
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
5858
5789
|
var message = 'Failed requirement.';
|
|
@@ -5893,11 +5824,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5893
5824
|
var tmp$ret$5 = charsPerByte.i2(toLong(byteSeparatorLength));
|
|
5894
5825
|
numberOfChars = tmp_2.j2(wholeBytesInLastGroup.k2(tmp$ret$5));
|
|
5895
5826
|
var spare = numberOfChars.v(new Long(0, 0)) > 0 ? 1 : 0;
|
|
5896
|
-
// Inline function 'kotlin.Long.plus' call
|
|
5897
5827
|
// Inline function 'kotlin.Long.times' call
|
|
5898
5828
|
var tmp_3 = wholeLines.k2(toLong(bytesPerLine));
|
|
5899
5829
|
// Inline function 'kotlin.Long.times' call
|
|
5900
5830
|
var tmp$ret$7 = wholeGroupsInLastLine.k2(toLong(bytesPerGroup));
|
|
5831
|
+
// Inline function 'kotlin.Long.plus' call
|
|
5901
5832
|
return tmp_3.i2(tmp$ret$7).i2(wholeBytesInLastGroup).i2(toLong(spare)).u();
|
|
5902
5833
|
}
|
|
5903
5834
|
function checkNewLineAt(_this__u8e3s4, index, endIndex) {
|
|
@@ -5927,25 +5858,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5927
5858
|
// Inline function 'kotlin.code' call
|
|
5928
5859
|
var this_0 = charSequenceGet(_this__u8e3s4, index);
|
|
5929
5860
|
var code = Char__toInt_impl_vasixd(this_0);
|
|
5930
|
-
if ((code >>> 8 | 0) === 0 &&
|
|
5931
|
-
tmp$ret$1 =
|
|
5861
|
+
if ((code >>> 8 | 0) === 0 && get_HEX_DIGITS_TO_DECIMAL()[code] >= 0) {
|
|
5862
|
+
tmp$ret$1 = get_HEX_DIGITS_TO_DECIMAL()[code];
|
|
5932
5863
|
break $l$block;
|
|
5933
5864
|
}
|
|
5934
|
-
throwInvalidDigitAt
|
|
5865
|
+
throwInvalidDigitAt(_this__u8e3s4, index);
|
|
5935
5866
|
}
|
|
5936
5867
|
var high = tmp$ret$1;
|
|
5868
|
+
var tmp3 = index + 1 | 0;
|
|
5937
5869
|
var tmp$ret$3;
|
|
5938
5870
|
$l$block_0: {
|
|
5939
5871
|
// Inline function 'kotlin.text.decimalFromHexDigitAt' call
|
|
5940
|
-
var index_0 = index + 1 | 0;
|
|
5941
5872
|
// Inline function 'kotlin.code' call
|
|
5942
|
-
var this_1 = charSequenceGet(_this__u8e3s4,
|
|
5873
|
+
var this_1 = charSequenceGet(_this__u8e3s4, tmp3);
|
|
5943
5874
|
var code_0 = Char__toInt_impl_vasixd(this_1);
|
|
5944
|
-
if ((code_0 >>> 8 | 0) === 0 &&
|
|
5945
|
-
tmp$ret$3 =
|
|
5875
|
+
if ((code_0 >>> 8 | 0) === 0 && get_HEX_DIGITS_TO_DECIMAL()[code_0] >= 0) {
|
|
5876
|
+
tmp$ret$3 = get_HEX_DIGITS_TO_DECIMAL()[code_0];
|
|
5946
5877
|
break $l$block_0;
|
|
5947
5878
|
}
|
|
5948
|
-
throwInvalidDigitAt
|
|
5879
|
+
throwInvalidDigitAt(_this__u8e3s4, tmp3);
|
|
5949
5880
|
}
|
|
5950
5881
|
var low = tmp$ret$3;
|
|
5951
5882
|
return toByte(high << 4 | low);
|
|
@@ -5973,9 +5904,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5973
5904
|
function charsPerSet(charsPerElement, elementsPerSet, elementSeparatorLength) {
|
|
5974
5905
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5975
5906
|
// Inline function 'kotlin.require' call
|
|
5976
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5977
5907
|
// Inline function 'kotlin.require' call
|
|
5978
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5979
5908
|
if (!(elementsPerSet > 0)) {
|
|
5980
5909
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
5981
5910
|
var message = 'Failed requirement.';
|
|
@@ -6010,18 +5939,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6010
5939
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
6011
5940
|
throw NumberFormatException_init_$Create$_0('Expected a hexadecimal digit at index ' + index + ', but was ' + toString(charSequenceGet(_this__u8e3s4, index)));
|
|
6012
5941
|
}
|
|
6013
|
-
function throwNotContainedAt$accessor$7lg4o7(_this__u8e3s4, index, endIndex, part, partName) {
|
|
6014
|
-
_init_properties_HexExtensions_kt__wu8rc3();
|
|
6015
|
-
return throwNotContainedAt(_this__u8e3s4, index, endIndex, part, partName);
|
|
6016
|
-
}
|
|
6017
|
-
function _get_HEX_DIGITS_TO_DECIMAL_$accessor$7lg4o7_2he1vy() {
|
|
6018
|
-
_init_properties_HexExtensions_kt__wu8rc3();
|
|
6019
|
-
return get_HEX_DIGITS_TO_DECIMAL();
|
|
6020
|
-
}
|
|
6021
|
-
function throwInvalidDigitAt$accessor$7lg4o7(_this__u8e3s4, index) {
|
|
6022
|
-
_init_properties_HexExtensions_kt__wu8rc3();
|
|
6023
|
-
throwInvalidDigitAt(_this__u8e3s4, index);
|
|
6024
|
-
}
|
|
6025
5942
|
var properties_initialized_HexExtensions_kt_h16sbl;
|
|
6026
5943
|
function _init_properties_HexExtensions_kt__wu8rc3() {
|
|
6027
5944
|
if (!properties_initialized_HexExtensions_kt_h16sbl) {
|
|
@@ -6052,14 +5969,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6052
5969
|
tmp_3 = tmp_3 + 1 | 0;
|
|
6053
5970
|
}
|
|
6054
5971
|
BYTE_TO_UPPER_CASE_HEX_DIGITS = tmp_4;
|
|
6055
|
-
// Inline function 'kotlin.apply' call
|
|
6056
5972
|
var tmp_7 = 0;
|
|
6057
5973
|
var tmp_8 = new Int32Array(256);
|
|
6058
5974
|
while (tmp_7 < 256) {
|
|
6059
5975
|
tmp_8[tmp_7] = -1;
|
|
6060
5976
|
tmp_7 = tmp_7 + 1 | 0;
|
|
6061
5977
|
}
|
|
6062
|
-
// Inline function 'kotlin.
|
|
5978
|
+
// Inline function 'kotlin.apply' call
|
|
6063
5979
|
// Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL.<anonymous>' call
|
|
6064
5980
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
6065
5981
|
var index = 0;
|
|
@@ -6068,11 +5984,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6068
5984
|
while (inductionVariable < charSequenceLength(indexedObject)) {
|
|
6069
5985
|
var item = charSequenceGet(indexedObject, inductionVariable);
|
|
6070
5986
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5987
|
+
var _unary__edvuaz = index;
|
|
5988
|
+
index = _unary__edvuaz + 1 | 0;
|
|
6071
5989
|
// Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL.<anonymous>.<anonymous>' call
|
|
6072
|
-
var tmp1 = index;
|
|
6073
|
-
index = tmp1 + 1 | 0;
|
|
6074
5990
|
// Inline function 'kotlin.code' call
|
|
6075
|
-
tmp_8[Char__toInt_impl_vasixd(item)] =
|
|
5991
|
+
tmp_8[Char__toInt_impl_vasixd(item)] = _unary__edvuaz;
|
|
6076
5992
|
}
|
|
6077
5993
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
6078
5994
|
var index_0 = 0;
|
|
@@ -6081,21 +5997,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6081
5997
|
while (inductionVariable_0 < charSequenceLength(indexedObject_0)) {
|
|
6082
5998
|
var item_0 = charSequenceGet(indexedObject_0, inductionVariable_0);
|
|
6083
5999
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6000
|
+
var _unary__edvuaz_0 = index_0;
|
|
6001
|
+
index_0 = _unary__edvuaz_0 + 1 | 0;
|
|
6084
6002
|
// Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL.<anonymous>.<anonymous>' call
|
|
6085
|
-
var tmp1_0 = index_0;
|
|
6086
|
-
index_0 = tmp1_0 + 1 | 0;
|
|
6087
6003
|
// Inline function 'kotlin.code' call
|
|
6088
|
-
tmp_8[Char__toInt_impl_vasixd(item_0)] =
|
|
6004
|
+
tmp_8[Char__toInt_impl_vasixd(item_0)] = _unary__edvuaz_0;
|
|
6089
6005
|
}
|
|
6090
6006
|
HEX_DIGITS_TO_DECIMAL = tmp_8;
|
|
6091
|
-
// Inline function 'kotlin.apply' call
|
|
6092
6007
|
var tmp_9 = 0;
|
|
6093
6008
|
var tmp_10 = longArray(256);
|
|
6094
6009
|
while (tmp_9 < 256) {
|
|
6095
6010
|
tmp_10[tmp_9] = new Long(-1, -1);
|
|
6096
6011
|
tmp_9 = tmp_9 + 1 | 0;
|
|
6097
6012
|
}
|
|
6098
|
-
// Inline function 'kotlin.
|
|
6013
|
+
// Inline function 'kotlin.apply' call
|
|
6099
6014
|
// Inline function 'kotlin.text.HEX_DIGITS_TO_LONG_DECIMAL.<anonymous>' call
|
|
6100
6015
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
6101
6016
|
var index_1 = 0;
|
|
@@ -6104,11 +6019,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6104
6019
|
while (inductionVariable_1 < charSequenceLength(indexedObject_1)) {
|
|
6105
6020
|
var item_1 = charSequenceGet(indexedObject_1, inductionVariable_1);
|
|
6106
6021
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
6022
|
+
var _unary__edvuaz_1 = index_1;
|
|
6023
|
+
index_1 = _unary__edvuaz_1 + 1 | 0;
|
|
6107
6024
|
// Inline function 'kotlin.text.HEX_DIGITS_TO_LONG_DECIMAL.<anonymous>.<anonymous>' call
|
|
6108
|
-
var tmp1_1 = index_1;
|
|
6109
|
-
index_1 = tmp1_1 + 1 | 0;
|
|
6110
6025
|
// Inline function 'kotlin.code' call
|
|
6111
|
-
tmp_10[Char__toInt_impl_vasixd(item_1)] = toLong(
|
|
6026
|
+
tmp_10[Char__toInt_impl_vasixd(item_1)] = toLong(_unary__edvuaz_1);
|
|
6112
6027
|
}
|
|
6113
6028
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
6114
6029
|
var index_2 = 0;
|
|
@@ -6117,18 +6032,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6117
6032
|
while (inductionVariable_2 < charSequenceLength(indexedObject_2)) {
|
|
6118
6033
|
var item_2 = charSequenceGet(indexedObject_2, inductionVariable_2);
|
|
6119
6034
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
6035
|
+
var _unary__edvuaz_2 = index_2;
|
|
6036
|
+
index_2 = _unary__edvuaz_2 + 1 | 0;
|
|
6120
6037
|
// Inline function 'kotlin.text.HEX_DIGITS_TO_LONG_DECIMAL.<anonymous>.<anonymous>' call
|
|
6121
|
-
var tmp1_2 = index_2;
|
|
6122
|
-
index_2 = tmp1_2 + 1 | 0;
|
|
6123
6038
|
// Inline function 'kotlin.code' call
|
|
6124
|
-
tmp_10[Char__toInt_impl_vasixd(item_2)] = toLong(
|
|
6039
|
+
tmp_10[Char__toInt_impl_vasixd(item_2)] = toLong(_unary__edvuaz_2);
|
|
6125
6040
|
}
|
|
6126
6041
|
HEX_DIGITS_TO_LONG_DECIMAL = tmp_10;
|
|
6127
6042
|
}
|
|
6128
6043
|
}
|
|
6129
6044
|
function Companion_11() {
|
|
6130
6045
|
Companion_instance_11 = this;
|
|
6131
|
-
this.
|
|
6046
|
+
this.va_1 = new BytesHexFormat(2147483647, 2147483647, ' ', '', '', '');
|
|
6132
6047
|
}
|
|
6133
6048
|
var Companion_instance_11;
|
|
6134
6049
|
function Companion_getInstance_11() {
|
|
@@ -6138,7 +6053,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6138
6053
|
}
|
|
6139
6054
|
function Companion_12() {
|
|
6140
6055
|
Companion_instance_12 = this;
|
|
6141
|
-
this.
|
|
6056
|
+
this.wa_1 = new NumberHexFormat('', '', false, 1);
|
|
6142
6057
|
}
|
|
6143
6058
|
var Companion_instance_12;
|
|
6144
6059
|
function Companion_getInstance_12() {
|
|
@@ -6148,120 +6063,116 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6148
6063
|
}
|
|
6149
6064
|
function BytesHexFormat(bytesPerLine, bytesPerGroup, groupSeparator, byteSeparator, bytePrefix, byteSuffix) {
|
|
6150
6065
|
Companion_getInstance_11();
|
|
6151
|
-
this.
|
|
6152
|
-
this.
|
|
6153
|
-
this.
|
|
6154
|
-
this.
|
|
6155
|
-
this.
|
|
6156
|
-
this.
|
|
6157
|
-
this.
|
|
6066
|
+
this.fa_1 = bytesPerLine;
|
|
6067
|
+
this.ga_1 = bytesPerGroup;
|
|
6068
|
+
this.ha_1 = groupSeparator;
|
|
6069
|
+
this.ia_1 = byteSeparator;
|
|
6070
|
+
this.ja_1 = bytePrefix;
|
|
6071
|
+
this.ka_1 = byteSuffix;
|
|
6072
|
+
this.la_1 = (this.fa_1 === 2147483647 && this.ga_1 === 2147483647);
|
|
6158
6073
|
var tmp = this;
|
|
6159
6074
|
var tmp_0;
|
|
6160
6075
|
var tmp_1;
|
|
6161
6076
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6162
|
-
var this_0 = this.
|
|
6077
|
+
var this_0 = this.ja_1;
|
|
6163
6078
|
if (charSequenceLength(this_0) === 0) {
|
|
6164
6079
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6165
|
-
var this_1 = this.
|
|
6080
|
+
var this_1 = this.ka_1;
|
|
6166
6081
|
tmp_1 = charSequenceLength(this_1) === 0;
|
|
6167
6082
|
} else {
|
|
6168
6083
|
tmp_1 = false;
|
|
6169
6084
|
}
|
|
6170
6085
|
if (tmp_1) {
|
|
6171
|
-
tmp_0 = this.
|
|
6086
|
+
tmp_0 = this.ia_1.length <= 1;
|
|
6172
6087
|
} else {
|
|
6173
6088
|
tmp_0 = false;
|
|
6174
6089
|
}
|
|
6175
|
-
tmp.
|
|
6176
|
-
this.
|
|
6090
|
+
tmp.ma_1 = tmp_0;
|
|
6091
|
+
this.na_1 = isCaseSensitive(this.ha_1) || isCaseSensitive(this.ia_1) || isCaseSensitive(this.ja_1) || isCaseSensitive(this.ka_1);
|
|
6177
6092
|
}
|
|
6178
6093
|
protoOf(BytesHexFormat).toString = function () {
|
|
6179
6094
|
// Inline function 'kotlin.text.buildString' call
|
|
6180
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6181
6095
|
// Inline function 'kotlin.apply' call
|
|
6182
6096
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6183
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6184
6097
|
// Inline function 'kotlin.text.BytesHexFormat.toString.<anonymous>' call
|
|
6185
6098
|
// Inline function 'kotlin.text.appendLine' call
|
|
6186
|
-
this_0.
|
|
6099
|
+
this_0.r6('BytesHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6187
6100
|
// Inline function 'kotlin.text.appendLine' call
|
|
6188
|
-
this.
|
|
6189
|
-
this_0.
|
|
6101
|
+
this.xa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6102
|
+
this_0.r6(')');
|
|
6190
6103
|
return this_0.toString();
|
|
6191
6104
|
};
|
|
6192
|
-
protoOf(BytesHexFormat).
|
|
6105
|
+
protoOf(BytesHexFormat).xa = function (sb, indent) {
|
|
6193
6106
|
// Inline function 'kotlin.text.appendLine' call
|
|
6194
6107
|
// Inline function 'kotlin.text.appendLine' call
|
|
6195
|
-
sb.
|
|
6108
|
+
sb.r6(indent).r6('bytesPerLine = ').g7(this.fa_1).r6(',').f(_Char___init__impl__6a9atx(10));
|
|
6196
6109
|
// Inline function 'kotlin.text.appendLine' call
|
|
6197
6110
|
// Inline function 'kotlin.text.appendLine' call
|
|
6198
|
-
sb.
|
|
6111
|
+
sb.r6(indent).r6('bytesPerGroup = ').g7(this.ga_1).r6(',').f(_Char___init__impl__6a9atx(10));
|
|
6199
6112
|
// Inline function 'kotlin.text.appendLine' call
|
|
6200
6113
|
// Inline function 'kotlin.text.appendLine' call
|
|
6201
|
-
sb.
|
|
6114
|
+
sb.r6(indent).r6('groupSeparator = "').r6(this.ha_1).r6('",').f(_Char___init__impl__6a9atx(10));
|
|
6202
6115
|
// Inline function 'kotlin.text.appendLine' call
|
|
6203
6116
|
// Inline function 'kotlin.text.appendLine' call
|
|
6204
|
-
sb.
|
|
6117
|
+
sb.r6(indent).r6('byteSeparator = "').r6(this.ia_1).r6('",').f(_Char___init__impl__6a9atx(10));
|
|
6205
6118
|
// Inline function 'kotlin.text.appendLine' call
|
|
6206
6119
|
// Inline function 'kotlin.text.appendLine' call
|
|
6207
|
-
sb.
|
|
6208
|
-
sb.
|
|
6120
|
+
sb.r6(indent).r6('bytePrefix = "').r6(this.ja_1).r6('",').f(_Char___init__impl__6a9atx(10));
|
|
6121
|
+
sb.r6(indent).r6('byteSuffix = "').r6(this.ka_1).r6('"');
|
|
6209
6122
|
return sb;
|
|
6210
6123
|
};
|
|
6211
6124
|
function NumberHexFormat(prefix, suffix, removeLeadingZeros, minLength) {
|
|
6212
6125
|
Companion_getInstance_12();
|
|
6213
|
-
this.
|
|
6214
|
-
this.
|
|
6215
|
-
this.
|
|
6216
|
-
this.
|
|
6126
|
+
this.oa_1 = prefix;
|
|
6127
|
+
this.pa_1 = suffix;
|
|
6128
|
+
this.qa_1 = removeLeadingZeros;
|
|
6129
|
+
this.ra_1 = minLength;
|
|
6217
6130
|
var tmp = this;
|
|
6218
6131
|
var tmp_0;
|
|
6219
6132
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6220
|
-
var this_0 = this.
|
|
6133
|
+
var this_0 = this.oa_1;
|
|
6221
6134
|
if (charSequenceLength(this_0) === 0) {
|
|
6222
6135
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6223
|
-
var this_1 = this.
|
|
6136
|
+
var this_1 = this.pa_1;
|
|
6224
6137
|
tmp_0 = charSequenceLength(this_1) === 0;
|
|
6225
6138
|
} else {
|
|
6226
6139
|
tmp_0 = false;
|
|
6227
6140
|
}
|
|
6228
|
-
tmp.
|
|
6229
|
-
this.
|
|
6230
|
-
this.
|
|
6141
|
+
tmp.sa_1 = tmp_0;
|
|
6142
|
+
this.ta_1 = (this.sa_1 && this.ra_1 === 1);
|
|
6143
|
+
this.ua_1 = isCaseSensitive(this.oa_1) || isCaseSensitive(this.pa_1);
|
|
6231
6144
|
}
|
|
6232
6145
|
protoOf(NumberHexFormat).toString = function () {
|
|
6233
6146
|
// Inline function 'kotlin.text.buildString' call
|
|
6234
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6235
6147
|
// Inline function 'kotlin.apply' call
|
|
6236
6148
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6237
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6238
6149
|
// Inline function 'kotlin.text.NumberHexFormat.toString.<anonymous>' call
|
|
6239
6150
|
// Inline function 'kotlin.text.appendLine' call
|
|
6240
|
-
this_0.
|
|
6151
|
+
this_0.r6('NumberHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6241
6152
|
// Inline function 'kotlin.text.appendLine' call
|
|
6242
|
-
this.
|
|
6243
|
-
this_0.
|
|
6153
|
+
this.xa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6154
|
+
this_0.r6(')');
|
|
6244
6155
|
return this_0.toString();
|
|
6245
6156
|
};
|
|
6246
|
-
protoOf(NumberHexFormat).
|
|
6157
|
+
protoOf(NumberHexFormat).xa = function (sb, indent) {
|
|
6247
6158
|
// Inline function 'kotlin.text.appendLine' call
|
|
6248
6159
|
// Inline function 'kotlin.text.appendLine' call
|
|
6249
|
-
sb.
|
|
6160
|
+
sb.r6(indent).r6('prefix = "').r6(this.oa_1).r6('",').f(_Char___init__impl__6a9atx(10));
|
|
6250
6161
|
// Inline function 'kotlin.text.appendLine' call
|
|
6251
6162
|
// Inline function 'kotlin.text.appendLine' call
|
|
6252
|
-
sb.
|
|
6163
|
+
sb.r6(indent).r6('suffix = "').r6(this.pa_1).r6('",').f(_Char___init__impl__6a9atx(10));
|
|
6164
|
+
var tmp4 = sb.r6(indent).r6('removeLeadingZeros = ').f7(this.qa_1);
|
|
6253
6165
|
// Inline function 'kotlin.text.appendLine' call
|
|
6254
|
-
var this_0 = sb.o6(indent).o6('removeLeadingZeros = ').e7(this.sa_1);
|
|
6255
6166
|
var value = _Char___init__impl__6a9atx(44);
|
|
6256
6167
|
// Inline function 'kotlin.text.appendLine' call
|
|
6257
|
-
|
|
6258
|
-
sb.
|
|
6168
|
+
tmp4.f(value).f(_Char___init__impl__6a9atx(10));
|
|
6169
|
+
sb.r6(indent).r6('minLength = ').g7(this.ra_1);
|
|
6259
6170
|
return sb;
|
|
6260
6171
|
};
|
|
6261
6172
|
function Companion_13() {
|
|
6262
6173
|
Companion_instance_13 = this;
|
|
6263
|
-
this.
|
|
6264
|
-
this.
|
|
6174
|
+
this.aa_1 = new HexFormat(false, Companion_getInstance_11().va_1, Companion_getInstance_12().wa_1);
|
|
6175
|
+
this.ba_1 = new HexFormat(true, Companion_getInstance_11().va_1, Companion_getInstance_12().wa_1);
|
|
6265
6176
|
}
|
|
6266
6177
|
var Companion_instance_13;
|
|
6267
6178
|
function Companion_getInstance_13() {
|
|
@@ -6271,35 +6182,33 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6271
6182
|
}
|
|
6272
6183
|
function HexFormat(upperCase, bytes, number) {
|
|
6273
6184
|
Companion_getInstance_13();
|
|
6274
|
-
this.
|
|
6275
|
-
this.
|
|
6276
|
-
this.
|
|
6185
|
+
this.ca_1 = upperCase;
|
|
6186
|
+
this.da_1 = bytes;
|
|
6187
|
+
this.ea_1 = number;
|
|
6277
6188
|
}
|
|
6278
6189
|
protoOf(HexFormat).toString = function () {
|
|
6279
6190
|
// Inline function 'kotlin.text.buildString' call
|
|
6280
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6281
6191
|
// Inline function 'kotlin.apply' call
|
|
6282
6192
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6283
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6284
6193
|
// Inline function 'kotlin.text.HexFormat.toString.<anonymous>' call
|
|
6285
6194
|
// Inline function 'kotlin.text.appendLine' call
|
|
6286
|
-
this_0.
|
|
6195
|
+
this_0.r6('HexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6287
6196
|
// Inline function 'kotlin.text.appendLine' call
|
|
6288
6197
|
// Inline function 'kotlin.text.appendLine' call
|
|
6289
|
-
this_0.
|
|
6198
|
+
this_0.r6(' upperCase = ').f7(this.ca_1).r6(',').f(_Char___init__impl__6a9atx(10));
|
|
6290
6199
|
// Inline function 'kotlin.text.appendLine' call
|
|
6291
|
-
this_0.
|
|
6200
|
+
this_0.r6(' bytes = BytesHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6292
6201
|
// Inline function 'kotlin.text.appendLine' call
|
|
6293
|
-
this.
|
|
6202
|
+
this.da_1.xa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6294
6203
|
// Inline function 'kotlin.text.appendLine' call
|
|
6295
|
-
this_0.
|
|
6204
|
+
this_0.r6(' ),').f(_Char___init__impl__6a9atx(10));
|
|
6296
6205
|
// Inline function 'kotlin.text.appendLine' call
|
|
6297
|
-
this_0.
|
|
6206
|
+
this_0.r6(' number = NumberHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6298
6207
|
// Inline function 'kotlin.text.appendLine' call
|
|
6299
|
-
this.
|
|
6208
|
+
this.ea_1.xa(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6300
6209
|
// Inline function 'kotlin.text.appendLine' call
|
|
6301
|
-
this_0.
|
|
6302
|
-
this_0.
|
|
6210
|
+
this_0.r6(' )').f(_Char___init__impl__6a9atx(10));
|
|
6211
|
+
this_0.r6(')');
|
|
6303
6212
|
return this_0.toString();
|
|
6304
6213
|
};
|
|
6305
6214
|
function isCaseSensitive(_this__u8e3s4) {
|
|
@@ -6388,7 +6297,34 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6388
6297
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
6389
6298
|
return toString_1(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
6390
6299
|
}
|
|
6391
|
-
function
|
|
6300
|
+
function contains_2(_this__u8e3s4, char, ignoreCase) {
|
|
6301
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6302
|
+
return indexOf_1(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
6303
|
+
}
|
|
6304
|
+
function indexOf_1(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
6305
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6306
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6307
|
+
var tmp;
|
|
6308
|
+
var tmp_0;
|
|
6309
|
+
if (ignoreCase) {
|
|
6310
|
+
tmp_0 = true;
|
|
6311
|
+
} else {
|
|
6312
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
6313
|
+
}
|
|
6314
|
+
if (tmp_0) {
|
|
6315
|
+
// Inline function 'kotlin.charArrayOf' call
|
|
6316
|
+
var tmp$ret$0 = charArrayOf([char]);
|
|
6317
|
+
tmp = indexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
|
|
6318
|
+
} else {
|
|
6319
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6320
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6321
|
+
var str = toString(char);
|
|
6322
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
6323
|
+
tmp = _this__u8e3s4.indexOf(str, startIndex);
|
|
6324
|
+
}
|
|
6325
|
+
return tmp;
|
|
6326
|
+
}
|
|
6327
|
+
function indexOf_2(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
6392
6328
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6393
6329
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6394
6330
|
var tmp;
|
|
@@ -6411,18 +6347,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6411
6347
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6412
6348
|
var tmp;
|
|
6413
6349
|
if (typeof other === 'string') {
|
|
6414
|
-
tmp =
|
|
6350
|
+
tmp = indexOf_2(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
|
|
6415
6351
|
} else {
|
|
6416
6352
|
tmp = indexOf_3(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
|
|
6417
6353
|
}
|
|
6418
6354
|
return tmp;
|
|
6419
6355
|
}
|
|
6420
6356
|
function substring(_this__u8e3s4, range) {
|
|
6357
|
+
var tmp1 = range.a8();
|
|
6421
6358
|
// Inline function 'kotlin.text.substring' call
|
|
6422
|
-
var
|
|
6423
|
-
var endIndex = range.a8() + 1 | 0;
|
|
6359
|
+
var endIndex = range.b8() + 1 | 0;
|
|
6424
6360
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6425
|
-
return _this__u8e3s4.substring(
|
|
6361
|
+
return _this__u8e3s4.substring(tmp1, endIndex);
|
|
6426
6362
|
}
|
|
6427
6363
|
function padEnd(_this__u8e3s4, length, padChar) {
|
|
6428
6364
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
@@ -6442,42 +6378,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6442
6378
|
var this_0 = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
6443
6379
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6444
6380
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
6445
|
-
var
|
|
6446
|
-
while (
|
|
6447
|
-
var item =
|
|
6381
|
+
var _iterator__ex2g4s = this_0.g();
|
|
6382
|
+
while (_iterator__ex2g4s.h()) {
|
|
6383
|
+
var item = _iterator__ex2g4s.i();
|
|
6448
6384
|
// Inline function 'kotlin.text.split.<anonymous>' call
|
|
6449
6385
|
var tmp$ret$1 = substring_0(_this__u8e3s4, item);
|
|
6450
6386
|
destination.d(tmp$ret$1);
|
|
6451
6387
|
}
|
|
6452
6388
|
return destination;
|
|
6453
6389
|
}
|
|
6454
|
-
function contains_4(_this__u8e3s4, char, ignoreCase) {
|
|
6455
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6456
|
-
return indexOf_2(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
6457
|
-
}
|
|
6458
|
-
function indexOf_2(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
6459
|
-
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6460
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6461
|
-
var tmp;
|
|
6462
|
-
var tmp_0;
|
|
6463
|
-
if (ignoreCase) {
|
|
6464
|
-
tmp_0 = true;
|
|
6465
|
-
} else {
|
|
6466
|
-
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
6467
|
-
}
|
|
6468
|
-
if (tmp_0) {
|
|
6469
|
-
// Inline function 'kotlin.charArrayOf' call
|
|
6470
|
-
var tmp$ret$0 = charArrayOf([char]);
|
|
6471
|
-
tmp = indexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
|
|
6472
|
-
} else {
|
|
6473
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6474
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6475
|
-
var str = toString(char);
|
|
6476
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
6477
|
-
tmp = _this__u8e3s4.indexOf(str, startIndex);
|
|
6478
|
-
}
|
|
6479
|
-
return tmp;
|
|
6480
|
-
}
|
|
6481
6390
|
function get_lastIndex_1(_this__u8e3s4) {
|
|
6482
6391
|
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
6483
6392
|
}
|
|
@@ -6533,6 +6442,52 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6533
6442
|
while (inductionVariable < length);
|
|
6534
6443
|
return true;
|
|
6535
6444
|
}
|
|
6445
|
+
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
6446
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6447
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6448
|
+
var tmp;
|
|
6449
|
+
if (!ignoreCase && chars.length === 1) {
|
|
6450
|
+
tmp = typeof _this__u8e3s4 === 'string';
|
|
6451
|
+
} else {
|
|
6452
|
+
tmp = false;
|
|
6453
|
+
}
|
|
6454
|
+
if (tmp) {
|
|
6455
|
+
var char = single(chars);
|
|
6456
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6457
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6458
|
+
var str = toString(char);
|
|
6459
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
6460
|
+
return _this__u8e3s4.indexOf(str, startIndex);
|
|
6461
|
+
}
|
|
6462
|
+
var inductionVariable = coerceAtLeast(startIndex, 0);
|
|
6463
|
+
var last = get_lastIndex_1(_this__u8e3s4);
|
|
6464
|
+
if (inductionVariable <= last)
|
|
6465
|
+
do {
|
|
6466
|
+
var index = inductionVariable;
|
|
6467
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
6468
|
+
var charAtIndex = charSequenceGet(_this__u8e3s4, index);
|
|
6469
|
+
var tmp$ret$4;
|
|
6470
|
+
$l$block: {
|
|
6471
|
+
// Inline function 'kotlin.collections.any' call
|
|
6472
|
+
var inductionVariable_0 = 0;
|
|
6473
|
+
var last_0 = chars.length;
|
|
6474
|
+
while (inductionVariable_0 < last_0) {
|
|
6475
|
+
var element = chars[inductionVariable_0];
|
|
6476
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6477
|
+
// Inline function 'kotlin.text.indexOfAny.<anonymous>' call
|
|
6478
|
+
if (equals_0(element, charAtIndex, ignoreCase)) {
|
|
6479
|
+
tmp$ret$4 = true;
|
|
6480
|
+
break $l$block;
|
|
6481
|
+
}
|
|
6482
|
+
}
|
|
6483
|
+
tmp$ret$4 = false;
|
|
6484
|
+
}
|
|
6485
|
+
if (tmp$ret$4)
|
|
6486
|
+
return index;
|
|
6487
|
+
}
|
|
6488
|
+
while (!(index === last));
|
|
6489
|
+
return -1;
|
|
6490
|
+
}
|
|
6536
6491
|
function trim(_this__u8e3s4) {
|
|
6537
6492
|
// Inline function 'kotlin.text.trim' call
|
|
6538
6493
|
var startIndex = 0;
|
|
@@ -6540,6 +6495,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6540
6495
|
var startFound = false;
|
|
6541
6496
|
$l$loop: while (startIndex <= endIndex) {
|
|
6542
6497
|
var index = !startFound ? startIndex : endIndex;
|
|
6498
|
+
// Inline function 'kotlin.text.trim.stub_for_inlining' call
|
|
6543
6499
|
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
6544
6500
|
var match = isWhitespace(p0);
|
|
6545
6501
|
if (!startFound) {
|
|
@@ -6573,7 +6529,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6573
6529
|
do {
|
|
6574
6530
|
var index = inductionVariable;
|
|
6575
6531
|
inductionVariable = inductionVariable + step | 0;
|
|
6576
|
-
if (regionMatches(other, 0, _this__u8e3s4, index,
|
|
6532
|
+
if (regionMatches(other, 0, _this__u8e3s4, index, other.length, ignoreCase))
|
|
6577
6533
|
return index;
|
|
6578
6534
|
}
|
|
6579
6535
|
while (!(index === last_0));
|
|
@@ -6593,15 +6549,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6593
6549
|
return -1;
|
|
6594
6550
|
}
|
|
6595
6551
|
function replaceRange(_this__u8e3s4, range, replacement) {
|
|
6596
|
-
return replaceRange_0(_this__u8e3s4, range.
|
|
6552
|
+
return replaceRange_0(_this__u8e3s4, range.a8(), range.b8() + 1 | 0, replacement);
|
|
6597
6553
|
}
|
|
6598
6554
|
function replaceRange_0(_this__u8e3s4, startIndex, endIndex, replacement) {
|
|
6599
6555
|
if (endIndex < startIndex)
|
|
6600
6556
|
throw IndexOutOfBoundsException_init_$Create$_0('End index (' + endIndex + ') is less than start index (' + startIndex + ').');
|
|
6601
6557
|
var sb = StringBuilder_init_$Create$_0();
|
|
6602
|
-
|
|
6558
|
+
// Inline function 'kotlin.text.appendRange' call
|
|
6559
|
+
sb.e7(_this__u8e3s4, 0, startIndex);
|
|
6603
6560
|
sb.e(replacement);
|
|
6604
|
-
|
|
6561
|
+
// Inline function 'kotlin.text.appendRange' call
|
|
6562
|
+
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
6563
|
+
sb.e7(_this__u8e3s4, endIndex, endIndex_0);
|
|
6605
6564
|
return sb;
|
|
6606
6565
|
}
|
|
6607
6566
|
function padEnd_0(_this__u8e3s4, length, padChar) {
|
|
@@ -6626,33 +6585,33 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6626
6585
|
function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
6627
6586
|
requireNonNegativeLimit(limit);
|
|
6628
6587
|
var currentOffset = 0;
|
|
6629
|
-
var nextIndex =
|
|
6588
|
+
var nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6630
6589
|
if (nextIndex === -1 || limit === 1) {
|
|
6631
6590
|
return listOf(toString_1(_this__u8e3s4));
|
|
6632
6591
|
}
|
|
6633
6592
|
var isLimited = limit > 0;
|
|
6634
6593
|
var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
|
|
6635
6594
|
$l$loop: do {
|
|
6595
|
+
var tmp1 = currentOffset;
|
|
6636
6596
|
// Inline function 'kotlin.text.substring' call
|
|
6637
|
-
var startIndex = currentOffset;
|
|
6638
6597
|
var endIndex = nextIndex;
|
|
6639
|
-
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4,
|
|
6598
|
+
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp1, endIndex));
|
|
6640
6599
|
result.d(tmp$ret$0);
|
|
6641
6600
|
currentOffset = nextIndex + delimiter.length | 0;
|
|
6642
6601
|
if (isLimited && result.j() === (limit - 1 | 0))
|
|
6643
6602
|
break $l$loop;
|
|
6644
|
-
nextIndex =
|
|
6603
|
+
nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6645
6604
|
}
|
|
6646
6605
|
while (!(nextIndex === -1));
|
|
6606
|
+
var tmp4 = currentOffset;
|
|
6647
6607
|
// Inline function 'kotlin.text.substring' call
|
|
6648
|
-
var startIndex_0 = currentOffset;
|
|
6649
6608
|
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
6650
|
-
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4,
|
|
6609
|
+
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp4, endIndex_0));
|
|
6651
6610
|
result.d(tmp$ret$1);
|
|
6652
6611
|
return result;
|
|
6653
6612
|
}
|
|
6654
6613
|
function substring_0(_this__u8e3s4, range) {
|
|
6655
|
-
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.
|
|
6614
|
+
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.a8(), range.b8() + 1 | 0));
|
|
6656
6615
|
}
|
|
6657
6616
|
function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
6658
6617
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
@@ -6662,54 +6621,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6662
6621
|
var delimitersList = asList(delimiters);
|
|
6663
6622
|
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
|
|
6664
6623
|
}
|
|
6665
|
-
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
6666
|
-
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6667
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6668
|
-
var tmp;
|
|
6669
|
-
if (!ignoreCase && chars.length === 1) {
|
|
6670
|
-
tmp = typeof _this__u8e3s4 === 'string';
|
|
6671
|
-
} else {
|
|
6672
|
-
tmp = false;
|
|
6673
|
-
}
|
|
6674
|
-
if (tmp) {
|
|
6675
|
-
var char = single(chars);
|
|
6676
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6677
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6678
|
-
var str = toString(char);
|
|
6679
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
6680
|
-
return _this__u8e3s4.indexOf(str, startIndex);
|
|
6681
|
-
}
|
|
6682
|
-
var inductionVariable = coerceAtLeast(startIndex, 0);
|
|
6683
|
-
var last = get_lastIndex_1(_this__u8e3s4);
|
|
6684
|
-
if (inductionVariable <= last)
|
|
6685
|
-
do {
|
|
6686
|
-
var index = inductionVariable;
|
|
6687
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
6688
|
-
var charAtIndex = charSequenceGet(_this__u8e3s4, index);
|
|
6689
|
-
var tmp$ret$4;
|
|
6690
|
-
$l$block: {
|
|
6691
|
-
// Inline function 'kotlin.collections.any' call
|
|
6692
|
-
var inductionVariable_0 = 0;
|
|
6693
|
-
var last_0 = chars.length;
|
|
6694
|
-
while (inductionVariable_0 < last_0) {
|
|
6695
|
-
var element = chars[inductionVariable_0];
|
|
6696
|
-
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6697
|
-
// Inline function 'kotlin.text.indexOfAny.<anonymous>' call
|
|
6698
|
-
if (equals_0(element, charAtIndex, ignoreCase)) {
|
|
6699
|
-
tmp$ret$4 = true;
|
|
6700
|
-
break $l$block;
|
|
6701
|
-
}
|
|
6702
|
-
}
|
|
6703
|
-
tmp$ret$4 = false;
|
|
6704
|
-
}
|
|
6705
|
-
if (tmp$ret$4)
|
|
6706
|
-
return index;
|
|
6707
|
-
}
|
|
6708
|
-
while (!(index === last));
|
|
6709
|
-
return -1;
|
|
6710
|
-
}
|
|
6711
6624
|
function requireNonNegativeLimit(limit) {
|
|
6712
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6713
6625
|
var tmp;
|
|
6714
6626
|
if (!(limit >= 0)) {
|
|
6715
6627
|
// Inline function 'kotlin.text.requireNonNegativeLimit.<anonymous>' call
|
|
@@ -6719,73 +6631,73 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6719
6631
|
return tmp;
|
|
6720
6632
|
}
|
|
6721
6633
|
function calcNext_0($this) {
|
|
6722
|
-
if ($this.
|
|
6723
|
-
$this.
|
|
6724
|
-
$this.
|
|
6634
|
+
if ($this.ab_1 < 0) {
|
|
6635
|
+
$this.ya_1 = 0;
|
|
6636
|
+
$this.bb_1 = null;
|
|
6725
6637
|
} else {
|
|
6726
6638
|
var tmp;
|
|
6727
6639
|
var tmp_0;
|
|
6728
|
-
if ($this.
|
|
6729
|
-
$this.
|
|
6730
|
-
tmp_0 = $this.
|
|
6640
|
+
if ($this.db_1.gb_1 > 0) {
|
|
6641
|
+
$this.cb_1 = $this.cb_1 + 1 | 0;
|
|
6642
|
+
tmp_0 = $this.cb_1 >= $this.db_1.gb_1;
|
|
6731
6643
|
} else {
|
|
6732
6644
|
tmp_0 = false;
|
|
6733
6645
|
}
|
|
6734
6646
|
if (tmp_0) {
|
|
6735
6647
|
tmp = true;
|
|
6736
6648
|
} else {
|
|
6737
|
-
tmp = $this.
|
|
6649
|
+
tmp = $this.ab_1 > charSequenceLength($this.db_1.eb_1);
|
|
6738
6650
|
}
|
|
6739
6651
|
if (tmp) {
|
|
6740
|
-
$this.
|
|
6741
|
-
$this.
|
|
6652
|
+
$this.bb_1 = numberRangeToNumber($this.za_1, get_lastIndex_1($this.db_1.eb_1));
|
|
6653
|
+
$this.ab_1 = -1;
|
|
6742
6654
|
} else {
|
|
6743
|
-
var match = $this.
|
|
6655
|
+
var match = $this.db_1.hb_1($this.db_1.eb_1, $this.ab_1);
|
|
6744
6656
|
if (match == null) {
|
|
6745
|
-
$this.
|
|
6746
|
-
$this.
|
|
6657
|
+
$this.bb_1 = numberRangeToNumber($this.za_1, get_lastIndex_1($this.db_1.eb_1));
|
|
6658
|
+
$this.ab_1 = -1;
|
|
6747
6659
|
} else {
|
|
6748
|
-
var index = match.
|
|
6749
|
-
var length = match.
|
|
6750
|
-
$this.
|
|
6751
|
-
$this.
|
|
6752
|
-
$this.
|
|
6660
|
+
var index = match.kb();
|
|
6661
|
+
var length = match.lb();
|
|
6662
|
+
$this.bb_1 = until($this.za_1, index);
|
|
6663
|
+
$this.za_1 = index + length | 0;
|
|
6664
|
+
$this.ab_1 = $this.za_1 + (length === 0 ? 1 : 0) | 0;
|
|
6753
6665
|
}
|
|
6754
6666
|
}
|
|
6755
|
-
$this.
|
|
6667
|
+
$this.ya_1 = 1;
|
|
6756
6668
|
}
|
|
6757
6669
|
}
|
|
6758
6670
|
function DelimitedRangesSequence$iterator$1(this$0) {
|
|
6759
|
-
this.
|
|
6760
|
-
this.
|
|
6761
|
-
this.
|
|
6762
|
-
this.
|
|
6763
|
-
this.
|
|
6764
|
-
this.
|
|
6671
|
+
this.db_1 = this$0;
|
|
6672
|
+
this.ya_1 = -1;
|
|
6673
|
+
this.za_1 = coerceIn(this$0.fb_1, 0, charSequenceLength(this$0.eb_1));
|
|
6674
|
+
this.ab_1 = this.za_1;
|
|
6675
|
+
this.bb_1 = null;
|
|
6676
|
+
this.cb_1 = 0;
|
|
6765
6677
|
}
|
|
6766
6678
|
protoOf(DelimitedRangesSequence$iterator$1).i = function () {
|
|
6767
|
-
if (this.
|
|
6679
|
+
if (this.ya_1 === -1) {
|
|
6768
6680
|
calcNext_0(this);
|
|
6769
6681
|
}
|
|
6770
|
-
if (this.
|
|
6682
|
+
if (this.ya_1 === 0)
|
|
6771
6683
|
throw NoSuchElementException_init_$Create$();
|
|
6772
|
-
var tmp = this.
|
|
6684
|
+
var tmp = this.bb_1;
|
|
6773
6685
|
var result = tmp instanceof IntRange ? tmp : THROW_CCE();
|
|
6774
|
-
this.
|
|
6775
|
-
this.
|
|
6686
|
+
this.bb_1 = null;
|
|
6687
|
+
this.ya_1 = -1;
|
|
6776
6688
|
return result;
|
|
6777
6689
|
};
|
|
6778
6690
|
protoOf(DelimitedRangesSequence$iterator$1).h = function () {
|
|
6779
|
-
if (this.
|
|
6691
|
+
if (this.ya_1 === -1) {
|
|
6780
6692
|
calcNext_0(this);
|
|
6781
6693
|
}
|
|
6782
|
-
return this.
|
|
6694
|
+
return this.ya_1 === 1;
|
|
6783
6695
|
};
|
|
6784
6696
|
function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) {
|
|
6785
|
-
this.
|
|
6786
|
-
this.
|
|
6787
|
-
this.
|
|
6788
|
-
this.
|
|
6697
|
+
this.eb_1 = input;
|
|
6698
|
+
this.fb_1 = startIndex;
|
|
6699
|
+
this.gb_1 = limit;
|
|
6700
|
+
this.hb_1 = getNextMatch;
|
|
6789
6701
|
}
|
|
6790
6702
|
protoOf(DelimitedRangesSequence).g = function () {
|
|
6791
6703
|
return new DelimitedRangesSequence$iterator$1(this);
|
|
@@ -6793,7 +6705,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6793
6705
|
function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
6794
6706
|
if (!ignoreCase && strings.j() === 1) {
|
|
6795
6707
|
var string = single_1(strings);
|
|
6796
|
-
var index = !last ?
|
|
6708
|
+
var index = !last ? indexOf_2(_this__u8e3s4, string, startIndex) : lastIndexOf(_this__u8e3s4, string, startIndex);
|
|
6797
6709
|
return index < 0 ? null : to(index, string);
|
|
6798
6710
|
}
|
|
6799
6711
|
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_1(_this__u8e3s4)), 0);
|
|
@@ -6808,9 +6720,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6808
6720
|
var tmp$ret$1;
|
|
6809
6721
|
$l$block: {
|
|
6810
6722
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6811
|
-
var
|
|
6812
|
-
while (
|
|
6813
|
-
var element =
|
|
6723
|
+
var _iterator__ex2g4s = strings.g();
|
|
6724
|
+
while (_iterator__ex2g4s.h()) {
|
|
6725
|
+
var element = _iterator__ex2g4s.i();
|
|
6814
6726
|
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
6815
6727
|
if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) {
|
|
6816
6728
|
tmp$ret$1 = element;
|
|
@@ -6835,9 +6747,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6835
6747
|
var tmp$ret$3;
|
|
6836
6748
|
$l$block_0: {
|
|
6837
6749
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6838
|
-
var
|
|
6839
|
-
while (
|
|
6840
|
-
var element_0 =
|
|
6750
|
+
var _iterator__ex2g4s_0 = strings.g();
|
|
6751
|
+
while (_iterator__ex2g4s_0.h()) {
|
|
6752
|
+
var element_0 = _iterator__ex2g4s_0.i();
|
|
6841
6753
|
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
6842
6754
|
if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) {
|
|
6843
6755
|
tmp$ret$3 = element_0;
|
|
@@ -6874,29 +6786,28 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6874
6786
|
return tmp;
|
|
6875
6787
|
}
|
|
6876
6788
|
function iterator$1($this_iterator) {
|
|
6877
|
-
this.
|
|
6789
|
+
this.nb_1 = $this_iterator;
|
|
6878
6790
|
CharIterator.call(this);
|
|
6879
|
-
this.
|
|
6791
|
+
this.mb_1 = 0;
|
|
6880
6792
|
}
|
|
6881
|
-
protoOf(iterator$1).
|
|
6882
|
-
var
|
|
6883
|
-
this.
|
|
6884
|
-
return charSequenceGet(this.
|
|
6793
|
+
protoOf(iterator$1).z8 = function () {
|
|
6794
|
+
var _unary__edvuaz = this.mb_1;
|
|
6795
|
+
this.mb_1 = _unary__edvuaz + 1 | 0;
|
|
6796
|
+
return charSequenceGet(this.nb_1, _unary__edvuaz);
|
|
6885
6797
|
};
|
|
6886
6798
|
protoOf(iterator$1).h = function () {
|
|
6887
|
-
return this.
|
|
6799
|
+
return this.mb_1 < charSequenceLength(this.nb_1);
|
|
6888
6800
|
};
|
|
6889
6801
|
function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
|
|
6890
|
-
return function ($this
|
|
6891
|
-
var tmp0_safe_receiver = findAnyOf($this
|
|
6802
|
+
return function ($this$DelimitedRangesSequence, currentIndex) {
|
|
6803
|
+
var tmp0_safe_receiver = findAnyOf($this$DelimitedRangesSequence, $delimitersList, currentIndex, $ignoreCase, false);
|
|
6892
6804
|
var tmp;
|
|
6893
6805
|
if (tmp0_safe_receiver == null) {
|
|
6894
6806
|
tmp = null;
|
|
6895
6807
|
} else {
|
|
6896
6808
|
// Inline function 'kotlin.let' call
|
|
6897
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
6898
6809
|
// Inline function 'kotlin.text.rangesDelimitedBy.<anonymous>.<anonymous>' call
|
|
6899
|
-
tmp = to(tmp0_safe_receiver.
|
|
6810
|
+
tmp = to(tmp0_safe_receiver.ib_1, tmp0_safe_receiver.jb_1.length);
|
|
6900
6811
|
}
|
|
6901
6812
|
return tmp;
|
|
6902
6813
|
};
|
|
@@ -6904,21 +6815,21 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6904
6815
|
function MatchNamedGroupCollection() {
|
|
6905
6816
|
}
|
|
6906
6817
|
function Pair(first, second) {
|
|
6907
|
-
this.
|
|
6908
|
-
this.
|
|
6818
|
+
this.ib_1 = first;
|
|
6819
|
+
this.jb_1 = second;
|
|
6909
6820
|
}
|
|
6910
6821
|
protoOf(Pair).toString = function () {
|
|
6911
|
-
return '(' + toString_0(this.
|
|
6822
|
+
return '(' + toString_0(this.ib_1) + ', ' + toString_0(this.jb_1) + ')';
|
|
6912
6823
|
};
|
|
6913
|
-
protoOf(Pair).
|
|
6914
|
-
return this.
|
|
6824
|
+
protoOf(Pair).kb = function () {
|
|
6825
|
+
return this.ib_1;
|
|
6915
6826
|
};
|
|
6916
|
-
protoOf(Pair).
|
|
6917
|
-
return this.
|
|
6827
|
+
protoOf(Pair).lb = function () {
|
|
6828
|
+
return this.jb_1;
|
|
6918
6829
|
};
|
|
6919
6830
|
protoOf(Pair).hashCode = function () {
|
|
6920
|
-
var result = this.
|
|
6921
|
-
result = imul(result, 31) + (this.
|
|
6831
|
+
var result = this.ib_1 == null ? 0 : hashCode(this.ib_1);
|
|
6832
|
+
result = imul(result, 31) + (this.jb_1 == null ? 0 : hashCode(this.jb_1)) | 0;
|
|
6922
6833
|
return result;
|
|
6923
6834
|
};
|
|
6924
6835
|
protoOf(Pair).equals = function (other) {
|
|
@@ -6927,9 +6838,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6927
6838
|
if (!(other instanceof Pair))
|
|
6928
6839
|
return false;
|
|
6929
6840
|
var tmp0_other_with_cast = other instanceof Pair ? other : THROW_CCE();
|
|
6930
|
-
if (!equals(this.
|
|
6841
|
+
if (!equals(this.ib_1, tmp0_other_with_cast.ib_1))
|
|
6931
6842
|
return false;
|
|
6932
|
-
if (!equals(this.
|
|
6843
|
+
if (!equals(this.jb_1, tmp0_other_with_cast.jb_1))
|
|
6933
6844
|
return false;
|
|
6934
6845
|
return true;
|
|
6935
6846
|
};
|
|
@@ -6950,10 +6861,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6950
6861
|
}
|
|
6951
6862
|
function Companion_14() {
|
|
6952
6863
|
Companion_instance_14 = this;
|
|
6953
|
-
this.
|
|
6954
|
-
this.
|
|
6955
|
-
this.
|
|
6956
|
-
this.
|
|
6864
|
+
this.ob_1 = _UInt___init__impl__l7qpdl(0);
|
|
6865
|
+
this.pb_1 = _UInt___init__impl__l7qpdl(-1);
|
|
6866
|
+
this.qb_1 = 4;
|
|
6867
|
+
this.rb_1 = 32;
|
|
6957
6868
|
}
|
|
6958
6869
|
var Companion_instance_14;
|
|
6959
6870
|
function Companion_getInstance_14() {
|
|
@@ -6965,7 +6876,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6965
6876
|
return uintCompare(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other));
|
|
6966
6877
|
}
|
|
6967
6878
|
function UInt__compareTo_impl_yacclj_0($this, other) {
|
|
6968
|
-
return UInt__compareTo_impl_yacclj($this.
|
|
6879
|
+
return UInt__compareTo_impl_yacclj($this.sb_1, other instanceof UInt ? other.sb_1 : THROW_CCE());
|
|
6969
6880
|
}
|
|
6970
6881
|
function UInt__toString_impl_dbgl21($this) {
|
|
6971
6882
|
// Inline function 'kotlin.uintToString' call
|
|
@@ -6979,28 +6890,28 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6979
6890
|
function UInt__equals_impl_ffdoxg($this, other) {
|
|
6980
6891
|
if (!(other instanceof UInt))
|
|
6981
6892
|
return false;
|
|
6982
|
-
if (!($this === (other instanceof UInt ? other.
|
|
6893
|
+
if (!($this === (other instanceof UInt ? other.sb_1 : THROW_CCE())))
|
|
6983
6894
|
return false;
|
|
6984
6895
|
return true;
|
|
6985
6896
|
}
|
|
6986
6897
|
function UInt(data) {
|
|
6987
6898
|
Companion_getInstance_14();
|
|
6988
|
-
this.
|
|
6899
|
+
this.sb_1 = data;
|
|
6989
6900
|
}
|
|
6990
|
-
protoOf(UInt).
|
|
6991
|
-
return UInt__compareTo_impl_yacclj(this.
|
|
6901
|
+
protoOf(UInt).tb = function (other) {
|
|
6902
|
+
return UInt__compareTo_impl_yacclj(this.sb_1, other);
|
|
6992
6903
|
};
|
|
6993
6904
|
protoOf(UInt).q1 = function (other) {
|
|
6994
6905
|
return UInt__compareTo_impl_yacclj_0(this, other);
|
|
6995
6906
|
};
|
|
6996
6907
|
protoOf(UInt).toString = function () {
|
|
6997
|
-
return UInt__toString_impl_dbgl21(this.
|
|
6908
|
+
return UInt__toString_impl_dbgl21(this.sb_1);
|
|
6998
6909
|
};
|
|
6999
6910
|
protoOf(UInt).hashCode = function () {
|
|
7000
|
-
return UInt__hashCode_impl_z2mhuw(this.
|
|
6911
|
+
return UInt__hashCode_impl_z2mhuw(this.sb_1);
|
|
7001
6912
|
};
|
|
7002
6913
|
protoOf(UInt).equals = function (other) {
|
|
7003
|
-
return UInt__equals_impl_ffdoxg(this.
|
|
6914
|
+
return UInt__equals_impl_ffdoxg(this.sb_1, other);
|
|
7004
6915
|
};
|
|
7005
6916
|
function _UShort___init__impl__jigrne(data) {
|
|
7006
6917
|
return data;
|
|
@@ -7008,7 +6919,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7008
6919
|
function _UShort___get_data__impl__g0245($this) {
|
|
7009
6920
|
return $this;
|
|
7010
6921
|
}
|
|
7011
|
-
function
|
|
6922
|
+
function toString_5(_this__u8e3s4, radix) {
|
|
7012
6923
|
// Inline function 'kotlin.UByte.toInt' call
|
|
7013
6924
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(_this__u8e3s4) & 255;
|
|
7014
6925
|
return toString_2(tmp$ret$0, radix);
|
|
@@ -7052,17 +6963,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7052
6963
|
var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix);
|
|
7053
6964
|
if (digit < 0)
|
|
7054
6965
|
return null;
|
|
6966
|
+
var tmp1 = result;
|
|
7055
6967
|
// Inline function 'kotlin.UInt.compareTo' call
|
|
7056
|
-
var this_0 = result;
|
|
7057
6968
|
var other = limitBeforeMul;
|
|
7058
|
-
if (uintCompare(_UInt___get_data__impl__f0vqqw(
|
|
6969
|
+
if (uintCompare(_UInt___get_data__impl__f0vqqw(tmp1), _UInt___get_data__impl__f0vqqw(other)) > 0) {
|
|
7059
6970
|
if (limitBeforeMul === limitForMaxRadix) {
|
|
7060
6971
|
// Inline function 'kotlin.UInt.div' call
|
|
7061
6972
|
limitBeforeMul = uintDivide(limit, uradix);
|
|
6973
|
+
var tmp5 = result;
|
|
7062
6974
|
// Inline function 'kotlin.UInt.compareTo' call
|
|
7063
|
-
var this_1 = result;
|
|
7064
6975
|
var other_0 = limitBeforeMul;
|
|
7065
|
-
if (uintCompare(_UInt___get_data__impl__f0vqqw(
|
|
6976
|
+
if (uintCompare(_UInt___get_data__impl__f0vqqw(tmp5), _UInt___get_data__impl__f0vqqw(other_0)) > 0) {
|
|
7066
6977
|
return null;
|
|
7067
6978
|
}
|
|
7068
6979
|
} else {
|
|
@@ -7070,17 +6981,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7070
6981
|
}
|
|
7071
6982
|
}
|
|
7072
6983
|
// Inline function 'kotlin.UInt.times' call
|
|
7073
|
-
var
|
|
7074
|
-
result = _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(
|
|
6984
|
+
var this_0 = result;
|
|
6985
|
+
result = _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(uradix)));
|
|
7075
6986
|
var beforeAdding = result;
|
|
7076
|
-
|
|
7077
|
-
var this_3 = result;
|
|
6987
|
+
var tmp10 = result;
|
|
7078
6988
|
// Inline function 'kotlin.toUInt' call
|
|
6989
|
+
// Inline function 'kotlin.UInt.plus' call
|
|
7079
6990
|
var other_1 = _UInt___init__impl__l7qpdl(digit);
|
|
7080
|
-
result = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(
|
|
6991
|
+
result = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp10) + _UInt___get_data__impl__f0vqqw(other_1) | 0);
|
|
7081
6992
|
// Inline function 'kotlin.UInt.compareTo' call
|
|
7082
|
-
var
|
|
7083
|
-
if (uintCompare(_UInt___get_data__impl__f0vqqw(
|
|
6993
|
+
var this_1 = result;
|
|
6994
|
+
if (uintCompare(_UInt___get_data__impl__f0vqqw(this_1), _UInt___get_data__impl__f0vqqw(beforeAdding)) < 0)
|
|
7084
6995
|
return null;
|
|
7085
6996
|
}
|
|
7086
6997
|
while (inductionVariable < length);
|
|
@@ -7090,10 +7001,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7090
7001
|
protoOf(InternalHashMap).d5 = containsAllEntries;
|
|
7091
7002
|
//endregion
|
|
7092
7003
|
//region block: init
|
|
7093
|
-
Unit_instance = new Unit();
|
|
7094
7004
|
Companion_instance_0 = new Companion_0();
|
|
7095
7005
|
FloatCompanionObject_instance = new FloatCompanionObject();
|
|
7096
7006
|
DoubleCompanionObject_instance = new DoubleCompanionObject();
|
|
7007
|
+
Unit_instance = new Unit();
|
|
7097
7008
|
Companion_instance_3 = new Companion_3();
|
|
7098
7009
|
Companion_instance_5 = new Companion_5();
|
|
7099
7010
|
Companion_instance_6 = new Companion_6();
|
|
@@ -7165,8 +7076,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7165
7076
|
_.$_$.h2 = roundToInt;
|
|
7166
7077
|
_.$_$.i2 = ClosedRange;
|
|
7167
7078
|
_.$_$.j2 = coerceAtLeast;
|
|
7168
|
-
_.$_$.k2 =
|
|
7169
|
-
_.$_$.l2 =
|
|
7079
|
+
_.$_$.k2 = contains_0;
|
|
7080
|
+
_.$_$.l2 = contains_1;
|
|
7170
7081
|
_.$_$.m2 = step;
|
|
7171
7082
|
_.$_$.n2 = until;
|
|
7172
7083
|
_.$_$.o2 = joinToString_2;
|
|
@@ -7177,7 +7088,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7177
7088
|
_.$_$.t2 = encodeToByteArray;
|
|
7178
7089
|
_.$_$.u2 = hexToByteArray;
|
|
7179
7090
|
_.$_$.v2 = hexToByte;
|
|
7180
|
-
_.$_$.w2 =
|
|
7091
|
+
_.$_$.w2 = indexOf_2;
|
|
7181
7092
|
_.$_$.x2 = iterator;
|
|
7182
7093
|
_.$_$.y2 = padEnd;
|
|
7183
7094
|
_.$_$.z2 = padStart;
|
|
@@ -7193,7 +7104,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7193
7104
|
_.$_$.j3 = toInt_0;
|
|
7194
7105
|
_.$_$.k3 = toInt;
|
|
7195
7106
|
_.$_$.l3 = toString_2;
|
|
7196
|
-
_.$_$.m3 =
|
|
7107
|
+
_.$_$.m3 = toString_5;
|
|
7197
7108
|
_.$_$.n3 = toUInt;
|
|
7198
7109
|
_.$_$.o3 = trim;
|
|
7199
7110
|
_.$_$.p3 = Char;
|