@dhis2/expression-parser 1.1.0-beta.4 → 1.1.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +27 -27
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.mjs +27 -27
- package/KotlinBigInteger-bignum-js-ir.js +143 -143
- package/KotlinBigInteger-bignum-js-ir.mjs +143 -143
- package/expression-parser.d.ts +102 -118
- package/expression-parser.js +2586 -2456
- package/expression-parser.js.map +1 -1
- package/expression-parser.mjs +2586 -2456
- package/expression-parser.mjs.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +665 -417
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.mjs +666 -418
- package/kotlin-kotlin-stdlib-js-ir.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +3 -3
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.mjs +3 -3
- package/package.json +1 -2
|
@@ -107,9 +107,10 @@ setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map]);
|
|
|
107
107
|
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
108
108
|
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
109
109
|
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Collection]);
|
|
110
|
-
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection,
|
|
110
|
+
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
|
|
111
111
|
setMetadataFor(ArrayDeque, 'ArrayDeque', classMeta, AbstractMutableList);
|
|
112
|
-
setMetadataFor(
|
|
112
|
+
setMetadataFor(RandomAccess, 'RandomAccess', interfaceMeta);
|
|
113
|
+
setMetadataFor(EmptyList, 'EmptyList', objectMeta, VOID, [List, RandomAccess]);
|
|
113
114
|
setMetadataFor(EmptyIterator, 'EmptyIterator', objectMeta);
|
|
114
115
|
setMetadataFor(ArrayAsCollection, 'ArrayAsCollection', classMeta, VOID, [Collection]);
|
|
115
116
|
setMetadataFor(EmptyMap, 'EmptyMap', objectMeta, VOID, [Map]);
|
|
@@ -131,7 +132,7 @@ setMetadataFor(EnumEntriesList, 'EnumEntriesList', classMeta, AbstractList, [Lis
|
|
|
131
132
|
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
132
133
|
setMetadataFor(IntProgression, 'IntProgression', classMeta);
|
|
133
134
|
function contains(value) {
|
|
134
|
-
return compareTo_0(value, this.
|
|
135
|
+
return compareTo_0(value, this.e1()) >= 0 ? compareTo_0(value, this.f1()) <= 0 : false;
|
|
135
136
|
}
|
|
136
137
|
setMetadataFor(ClosedRange, 'ClosedRange', interfaceMeta);
|
|
137
138
|
setMetadataFor(IntRange, 'IntRange', classMeta, IntProgression, [IntProgression, ClosedRange]);
|
|
@@ -169,7 +170,7 @@ setMetadataFor(AbstractEntrySet, 'AbstractEntrySet', classMeta, AbstractMutableS
|
|
|
169
170
|
setMetadataFor(AbstractMutableMap$keys$1, VOID, classMeta, AbstractMutableSet);
|
|
170
171
|
setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map]);
|
|
171
172
|
setMetadataFor(Companion_7, 'Companion', objectMeta);
|
|
172
|
-
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, Collection,
|
|
173
|
+
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection, RandomAccess]);
|
|
173
174
|
setMetadataFor(HashCode, 'HashCode', objectMeta);
|
|
174
175
|
setMetadataFor(EntrySet, 'EntrySet', classMeta, AbstractEntrySet);
|
|
175
176
|
setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map]);
|
|
@@ -221,7 +222,7 @@ setMetadataFor(Companion_13, 'Companion', objectMeta);
|
|
|
221
222
|
setMetadataFor(Long, 'Long', classMeta, Number_0, [Number_0, Comparable]);
|
|
222
223
|
setMetadataFor(Digit, 'Digit', objectMeta);
|
|
223
224
|
setMetadataFor(Letter, 'Letter', objectMeta);
|
|
224
|
-
setMetadataFor(asList$1, VOID, classMeta, AbstractList);
|
|
225
|
+
setMetadataFor(asList$1, VOID, classMeta, AbstractList, [AbstractList, RandomAccess]);
|
|
225
226
|
setMetadataFor(IllegalArgumentException, 'IllegalArgumentException', classMeta, RuntimeException);
|
|
226
227
|
setMetadataFor(IndexOutOfBoundsException, 'IndexOutOfBoundsException', classMeta, RuntimeException);
|
|
227
228
|
setMetadataFor(IllegalStateException, 'IllegalStateException', classMeta, RuntimeException);
|
|
@@ -509,6 +510,60 @@ function toList_0(_this__u8e3s4) {
|
|
|
509
510
|
}
|
|
510
511
|
return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4));
|
|
511
512
|
}
|
|
513
|
+
function drop_0(_this__u8e3s4, n) {
|
|
514
|
+
// Inline function 'kotlin.require' call
|
|
515
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
516
|
+
if (!(n >= 0)) {
|
|
517
|
+
// Inline function 'kotlin.collections.drop.<anonymous>' call
|
|
518
|
+
var message = 'Requested element count ' + n + ' is less than zero.';
|
|
519
|
+
throw IllegalArgumentException_init_$Create$(toString_3(message));
|
|
520
|
+
}
|
|
521
|
+
if (n === 0)
|
|
522
|
+
return toList_0(_this__u8e3s4);
|
|
523
|
+
var list;
|
|
524
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
525
|
+
var resultSize = _this__u8e3s4.i() - n | 0;
|
|
526
|
+
if (resultSize <= 0)
|
|
527
|
+
return emptyList();
|
|
528
|
+
if (resultSize === 1)
|
|
529
|
+
return listOf_0(last_0(_this__u8e3s4));
|
|
530
|
+
list = ArrayList_init_$Create$_0(resultSize);
|
|
531
|
+
if (isInterface(_this__u8e3s4, List)) {
|
|
532
|
+
if (isInterface(_this__u8e3s4, RandomAccess)) {
|
|
533
|
+
var inductionVariable = n;
|
|
534
|
+
var last = _this__u8e3s4.i();
|
|
535
|
+
if (inductionVariable < last)
|
|
536
|
+
do {
|
|
537
|
+
var index = inductionVariable;
|
|
538
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
539
|
+
list.a(_this__u8e3s4.k(index));
|
|
540
|
+
}
|
|
541
|
+
while (inductionVariable < last);
|
|
542
|
+
} else {
|
|
543
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
544
|
+
var tmp1_iterator = _this__u8e3s4.l(n);
|
|
545
|
+
while (tmp1_iterator.g()) {
|
|
546
|
+
var item = tmp1_iterator.h();
|
|
547
|
+
list.a(item);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
return list;
|
|
551
|
+
}
|
|
552
|
+
} else {
|
|
553
|
+
list = ArrayList_init_$Create$();
|
|
554
|
+
}
|
|
555
|
+
var count = 0;
|
|
556
|
+
var tmp2_iterator = _this__u8e3s4.f();
|
|
557
|
+
while (tmp2_iterator.g()) {
|
|
558
|
+
var item_0 = tmp2_iterator.h();
|
|
559
|
+
if (count >= n) {
|
|
560
|
+
list.a(item_0);
|
|
561
|
+
} else {
|
|
562
|
+
count = count + 1 | 0;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
return optimizeReadOnlyList(list);
|
|
566
|
+
}
|
|
512
567
|
function asSequence(_this__u8e3s4) {
|
|
513
568
|
// Inline function 'kotlin.sequences.Sequence' call
|
|
514
569
|
return new _no_name_provided__qut3iv(_this__u8e3s4);
|
|
@@ -518,7 +573,7 @@ function toMutableList_0(_this__u8e3s4) {
|
|
|
518
573
|
}
|
|
519
574
|
function contains_3(_this__u8e3s4, element) {
|
|
520
575
|
if (isInterface(_this__u8e3s4, Collection))
|
|
521
|
-
return _this__u8e3s4.
|
|
576
|
+
return _this__u8e3s4.m(element);
|
|
522
577
|
return indexOf_2(_this__u8e3s4, element) >= 0;
|
|
523
578
|
}
|
|
524
579
|
function maxOrNull(_this__u8e3s4) {
|
|
@@ -615,7 +670,7 @@ function sorted(_this__u8e3s4) {
|
|
|
615
670
|
return tmp2_apply;
|
|
616
671
|
}
|
|
617
672
|
function firstOrNull(_this__u8e3s4) {
|
|
618
|
-
return _this__u8e3s4.
|
|
673
|
+
return _this__u8e3s4.n() ? null : _this__u8e3s4.k(0);
|
|
619
674
|
}
|
|
620
675
|
function filterNotNull(_this__u8e3s4) {
|
|
621
676
|
return filterNotNullTo(_this__u8e3s4, ArrayList_init_$Create$());
|
|
@@ -633,6 +688,24 @@ function toMutableList_1(_this__u8e3s4) {
|
|
|
633
688
|
return toMutableList_0(_this__u8e3s4);
|
|
634
689
|
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
635
690
|
}
|
|
691
|
+
function last(_this__u8e3s4) {
|
|
692
|
+
if (_this__u8e3s4.n())
|
|
693
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
694
|
+
return _this__u8e3s4.k(get_lastIndex_0(_this__u8e3s4));
|
|
695
|
+
}
|
|
696
|
+
function last_0(_this__u8e3s4) {
|
|
697
|
+
if (isInterface(_this__u8e3s4, List))
|
|
698
|
+
return last(_this__u8e3s4);
|
|
699
|
+
else {
|
|
700
|
+
var iterator = _this__u8e3s4.f();
|
|
701
|
+
if (!iterator.g())
|
|
702
|
+
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
703
|
+
var last_0 = iterator.h();
|
|
704
|
+
while (iterator.g())
|
|
705
|
+
last_0 = iterator.h();
|
|
706
|
+
return last_0;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
636
709
|
function take(_this__u8e3s4, n) {
|
|
637
710
|
// Inline function 'kotlin.require' call
|
|
638
711
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -663,7 +736,7 @@ function take(_this__u8e3s4, n) {
|
|
|
663
736
|
}
|
|
664
737
|
function indexOf_2(_this__u8e3s4, element) {
|
|
665
738
|
if (isInterface(_this__u8e3s4, List))
|
|
666
|
-
return _this__u8e3s4.
|
|
739
|
+
return _this__u8e3s4.o(element);
|
|
667
740
|
var index = 0;
|
|
668
741
|
var tmp0_iterator = _this__u8e3s4.f();
|
|
669
742
|
while (tmp0_iterator.g()) {
|
|
@@ -696,10 +769,23 @@ function first(_this__u8e3s4) {
|
|
|
696
769
|
}
|
|
697
770
|
}
|
|
698
771
|
function first_0(_this__u8e3s4) {
|
|
699
|
-
if (_this__u8e3s4.
|
|
772
|
+
if (_this__u8e3s4.n())
|
|
700
773
|
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
701
774
|
return _this__u8e3s4.k(0);
|
|
702
775
|
}
|
|
776
|
+
function single_0(_this__u8e3s4) {
|
|
777
|
+
if (isInterface(_this__u8e3s4, List))
|
|
778
|
+
return single_1(_this__u8e3s4);
|
|
779
|
+
else {
|
|
780
|
+
var iterator = _this__u8e3s4.f();
|
|
781
|
+
if (!iterator.g())
|
|
782
|
+
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
783
|
+
var single = iterator.h();
|
|
784
|
+
if (iterator.g())
|
|
785
|
+
throw IllegalArgumentException_init_$Create$('Collection has more than one element.');
|
|
786
|
+
return single;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
703
789
|
function toSet_0(_this__u8e3s4) {
|
|
704
790
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
705
791
|
var tmp;
|
|
@@ -725,23 +811,36 @@ function toSet_0(_this__u8e3s4) {
|
|
|
725
811
|
}
|
|
726
812
|
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
|
|
727
813
|
}
|
|
814
|
+
function single_1(_this__u8e3s4) {
|
|
815
|
+
var tmp;
|
|
816
|
+
switch (_this__u8e3s4.i()) {
|
|
817
|
+
case 0:
|
|
818
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
819
|
+
case 1:
|
|
820
|
+
tmp = _this__u8e3s4.k(0);
|
|
821
|
+
break;
|
|
822
|
+
default:
|
|
823
|
+
throw IllegalArgumentException_init_$Create$('List has more than one element.');
|
|
824
|
+
}
|
|
825
|
+
return tmp;
|
|
826
|
+
}
|
|
728
827
|
function _no_name_provided__qut3iv($this_asSequence) {
|
|
729
|
-
this.
|
|
828
|
+
this.p_1 = $this_asSequence;
|
|
730
829
|
}
|
|
731
830
|
protoOf(_no_name_provided__qut3iv).f = function () {
|
|
732
831
|
// Inline function 'kotlin.collections.asSequence.<anonymous>' call
|
|
733
|
-
return this.
|
|
832
|
+
return this.p_1.f();
|
|
734
833
|
};
|
|
735
834
|
function until(_this__u8e3s4, to) {
|
|
736
835
|
if (to <= IntCompanionObject_getInstance().MIN_VALUE)
|
|
737
|
-
return Companion_getInstance_3().
|
|
836
|
+
return Companion_getInstance_3().q_1;
|
|
738
837
|
return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
|
|
739
838
|
}
|
|
740
839
|
function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
741
840
|
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
742
841
|
}
|
|
743
842
|
function downTo(_this__u8e3s4, to) {
|
|
744
|
-
return Companion_getInstance_4().
|
|
843
|
+
return Companion_getInstance_4().r(_this__u8e3s4, to, -1);
|
|
745
844
|
}
|
|
746
845
|
function coerceAtMost(_this__u8e3s4, maximumValue) {
|
|
747
846
|
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
|
|
@@ -760,13 +859,13 @@ function contains_4(_this__u8e3s4, value) {
|
|
|
760
859
|
var tmp0_let = toIntExactOrNull(value);
|
|
761
860
|
// Inline function 'kotlin.contracts.contract' call
|
|
762
861
|
// Inline function 'kotlin.ranges.contains.<anonymous>' call
|
|
763
|
-
return !(tmp0_let == null) ? _this__u8e3s4.
|
|
862
|
+
return !(tmp0_let == null) ? _this__u8e3s4.s(tmp0_let) : false;
|
|
764
863
|
}
|
|
765
864
|
function toIntExactOrNull(_this__u8e3s4) {
|
|
766
865
|
var tmp;
|
|
767
866
|
var containsLower = toLong_0(IntCompanionObject_getInstance().MIN_VALUE);
|
|
768
|
-
if (_this__u8e3s4.
|
|
769
|
-
tmp = _this__u8e3s4.
|
|
867
|
+
if (_this__u8e3s4.w(toLong_0(IntCompanionObject_getInstance().MAX_VALUE)) <= 0 ? containsLower.w(_this__u8e3s4) <= 0 : false) {
|
|
868
|
+
tmp = _this__u8e3s4.v();
|
|
770
869
|
} else {
|
|
771
870
|
tmp = null;
|
|
772
871
|
}
|
|
@@ -809,7 +908,7 @@ function take_0(_this__u8e3s4, n) {
|
|
|
809
908
|
tmp = emptySequence();
|
|
810
909
|
} else {
|
|
811
910
|
if (isInterface(_this__u8e3s4, DropTakeSequence)) {
|
|
812
|
-
tmp = _this__u8e3s4.
|
|
911
|
+
tmp = _this__u8e3s4.x(n);
|
|
813
912
|
} else {
|
|
814
913
|
tmp = new TakeSequence(_this__u8e3s4, n);
|
|
815
914
|
}
|
|
@@ -817,24 +916,24 @@ function take_0(_this__u8e3s4, n) {
|
|
|
817
916
|
return tmp;
|
|
818
917
|
}
|
|
819
918
|
function _no_name_provided__qut3iv_0($this_asIterable) {
|
|
820
|
-
this.
|
|
919
|
+
this.y_1 = $this_asIterable;
|
|
821
920
|
}
|
|
822
921
|
protoOf(_no_name_provided__qut3iv_0).f = function () {
|
|
823
922
|
// Inline function 'kotlin.sequences.asIterable.<anonymous>' call
|
|
824
|
-
return this.
|
|
923
|
+
return this.y_1.f();
|
|
825
924
|
};
|
|
826
925
|
function reversed(_this__u8e3s4) {
|
|
827
|
-
return StringBuilder_init_$Create$_0(_this__u8e3s4).
|
|
926
|
+
return StringBuilder_init_$Create$_0(_this__u8e3s4).a1();
|
|
828
927
|
}
|
|
829
928
|
function slice(_this__u8e3s4, indices) {
|
|
830
|
-
if (indices.
|
|
929
|
+
if (indices.n()) {
|
|
831
930
|
// Inline function 'kotlin.collections.listOf' call
|
|
832
931
|
return emptyList();
|
|
833
932
|
}
|
|
834
933
|
var tmp$ret$1;
|
|
835
934
|
// Inline function 'kotlin.collections.copyOfRange' call
|
|
836
|
-
var tmp0_copyOfRange = indices.
|
|
837
|
-
var tmp1_copyOfRange = indices.
|
|
935
|
+
var tmp0_copyOfRange = indices.e1();
|
|
936
|
+
var tmp1_copyOfRange = indices.f1() + 1 | 0;
|
|
838
937
|
tmp$ret$1 = _ULongArray___init__impl__twm1l3(copyOfRange(_ULongArray___get_storage__impl__28e64j(_this__u8e3s4), tmp0_copyOfRange, tmp1_copyOfRange));
|
|
839
938
|
return asList_0(tmp$ret$1);
|
|
840
939
|
}
|
|
@@ -843,7 +942,7 @@ function toULongArray(_this__u8e3s4) {
|
|
|
843
942
|
var index = 0;
|
|
844
943
|
var tmp0_iterator = _this__u8e3s4.f();
|
|
845
944
|
while (tmp0_iterator.g()) {
|
|
846
|
-
var element = tmp0_iterator.h().
|
|
945
|
+
var element = tmp0_iterator.h().g1_1;
|
|
847
946
|
var tmp1 = index;
|
|
848
947
|
index = tmp1 + 1 | 0;
|
|
849
948
|
ULongArray__set_impl_z19mvh(result, tmp1, element);
|
|
@@ -870,13 +969,13 @@ function AbstractCollection$toString$lambda(this$0) {
|
|
|
870
969
|
}
|
|
871
970
|
function AbstractCollection() {
|
|
872
971
|
}
|
|
873
|
-
protoOf(AbstractCollection).
|
|
972
|
+
protoOf(AbstractCollection).m = function (element) {
|
|
874
973
|
var tmp$ret$0;
|
|
875
974
|
$l$block_0: {
|
|
876
975
|
// Inline function 'kotlin.collections.any' call
|
|
877
976
|
var tmp;
|
|
878
977
|
if (isInterface(this, Collection)) {
|
|
879
|
-
tmp = this.
|
|
978
|
+
tmp = this.n();
|
|
880
979
|
} else {
|
|
881
980
|
tmp = false;
|
|
882
981
|
}
|
|
@@ -897,13 +996,13 @@ protoOf(AbstractCollection).l = function (element) {
|
|
|
897
996
|
}
|
|
898
997
|
return tmp$ret$0;
|
|
899
998
|
};
|
|
900
|
-
protoOf(AbstractCollection).
|
|
999
|
+
protoOf(AbstractCollection).j1 = function (elements) {
|
|
901
1000
|
var tmp$ret$0;
|
|
902
1001
|
$l$block_0: {
|
|
903
1002
|
// Inline function 'kotlin.collections.all' call
|
|
904
1003
|
var tmp;
|
|
905
1004
|
if (isInterface(elements, Collection)) {
|
|
906
|
-
tmp = elements.
|
|
1005
|
+
tmp = elements.n();
|
|
907
1006
|
} else {
|
|
908
1007
|
tmp = false;
|
|
909
1008
|
}
|
|
@@ -915,7 +1014,7 @@ protoOf(AbstractCollection).i1 = function (elements) {
|
|
|
915
1014
|
while (tmp0_iterator.g()) {
|
|
916
1015
|
var element = tmp0_iterator.h();
|
|
917
1016
|
// Inline function 'kotlin.collections.AbstractCollection.containsAll.<anonymous>' call
|
|
918
|
-
if (!this.
|
|
1017
|
+
if (!this.m(element)) {
|
|
919
1018
|
tmp$ret$0 = false;
|
|
920
1019
|
break $l$block_0;
|
|
921
1020
|
}
|
|
@@ -924,7 +1023,7 @@ protoOf(AbstractCollection).i1 = function (elements) {
|
|
|
924
1023
|
}
|
|
925
1024
|
return tmp$ret$0;
|
|
926
1025
|
};
|
|
927
|
-
protoOf(AbstractCollection).
|
|
1026
|
+
protoOf(AbstractCollection).n = function () {
|
|
928
1027
|
return this.i() === 0;
|
|
929
1028
|
};
|
|
930
1029
|
protoOf(AbstractCollection).toString = function () {
|
|
@@ -934,51 +1033,51 @@ protoOf(AbstractCollection).toArray = function () {
|
|
|
934
1033
|
return copyToArrayImpl(this);
|
|
935
1034
|
};
|
|
936
1035
|
function IteratorImpl($outer) {
|
|
937
|
-
this.
|
|
938
|
-
this.
|
|
1036
|
+
this.l1_1 = $outer;
|
|
1037
|
+
this.k1_1 = 0;
|
|
939
1038
|
}
|
|
940
1039
|
protoOf(IteratorImpl).g = function () {
|
|
941
|
-
return this.
|
|
1040
|
+
return this.k1_1 < this.l1_1.i();
|
|
942
1041
|
};
|
|
943
1042
|
protoOf(IteratorImpl).h = function () {
|
|
944
1043
|
if (!this.g())
|
|
945
1044
|
throw NoSuchElementException_init_$Create$();
|
|
946
|
-
var tmp1 = this.
|
|
947
|
-
this.
|
|
948
|
-
return this.
|
|
1045
|
+
var tmp1 = this.k1_1;
|
|
1046
|
+
this.k1_1 = tmp1 + 1 | 0;
|
|
1047
|
+
return this.l1_1.k(tmp1);
|
|
949
1048
|
};
|
|
950
1049
|
function ListIteratorImpl($outer, index) {
|
|
951
|
-
this.
|
|
1050
|
+
this.o1_1 = $outer;
|
|
952
1051
|
IteratorImpl.call(this, $outer);
|
|
953
|
-
Companion_getInstance().
|
|
954
|
-
this.
|
|
1052
|
+
Companion_getInstance().p1(index, this.o1_1.i());
|
|
1053
|
+
this.k1_1 = index;
|
|
955
1054
|
}
|
|
956
|
-
protoOf(ListIteratorImpl).p1 = function () {
|
|
957
|
-
return this.j1_1 > 0;
|
|
958
|
-
};
|
|
959
1055
|
protoOf(ListIteratorImpl).q1 = function () {
|
|
960
|
-
return this.
|
|
1056
|
+
return this.k1_1 > 0;
|
|
961
1057
|
};
|
|
962
1058
|
protoOf(ListIteratorImpl).r1 = function () {
|
|
963
|
-
|
|
1059
|
+
return this.k1_1;
|
|
1060
|
+
};
|
|
1061
|
+
protoOf(ListIteratorImpl).s1 = function () {
|
|
1062
|
+
if (!this.q1())
|
|
964
1063
|
throw NoSuchElementException_init_$Create$();
|
|
965
|
-
this.
|
|
966
|
-
return this.
|
|
1064
|
+
this.k1_1 = this.k1_1 - 1 | 0;
|
|
1065
|
+
return this.o1_1.k(this.k1_1);
|
|
967
1066
|
};
|
|
968
1067
|
function Companion() {
|
|
969
1068
|
Companion_instance = this;
|
|
970
1069
|
}
|
|
971
|
-
protoOf(Companion).
|
|
1070
|
+
protoOf(Companion).t1 = function (index, size) {
|
|
972
1071
|
if (index < 0 ? true : index >= size) {
|
|
973
1072
|
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', size: ' + size);
|
|
974
1073
|
}
|
|
975
1074
|
};
|
|
976
|
-
protoOf(Companion).
|
|
1075
|
+
protoOf(Companion).p1 = function (index, size) {
|
|
977
1076
|
if (index < 0 ? true : index > size) {
|
|
978
1077
|
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', size: ' + size);
|
|
979
1078
|
}
|
|
980
1079
|
};
|
|
981
|
-
protoOf(Companion).
|
|
1080
|
+
protoOf(Companion).u1 = function (fromIndex, toIndex, size) {
|
|
982
1081
|
if (fromIndex < 0 ? true : toIndex > size) {
|
|
983
1082
|
throw IndexOutOfBoundsException_init_$Create$('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
984
1083
|
}
|
|
@@ -986,7 +1085,7 @@ protoOf(Companion).t1 = function (fromIndex, toIndex, size) {
|
|
|
986
1085
|
throw IllegalArgumentException_init_$Create$('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
987
1086
|
}
|
|
988
1087
|
};
|
|
989
|
-
protoOf(Companion).
|
|
1088
|
+
protoOf(Companion).v1 = function (startIndex, endIndex, size) {
|
|
990
1089
|
if (startIndex < 0 ? true : endIndex > size) {
|
|
991
1090
|
throw IndexOutOfBoundsException_init_$Create$('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
992
1091
|
}
|
|
@@ -994,7 +1093,7 @@ protoOf(Companion).u1 = function (startIndex, endIndex, size) {
|
|
|
994
1093
|
throw IllegalArgumentException_init_$Create$('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
995
1094
|
}
|
|
996
1095
|
};
|
|
997
|
-
protoOf(Companion).
|
|
1096
|
+
protoOf(Companion).w1 = function (c) {
|
|
998
1097
|
var hashCode_0 = 1;
|
|
999
1098
|
var tmp0_iterator = c.f();
|
|
1000
1099
|
while (tmp0_iterator.g()) {
|
|
@@ -1005,7 +1104,7 @@ protoOf(Companion).v1 = function (c) {
|
|
|
1005
1104
|
}
|
|
1006
1105
|
return hashCode_0;
|
|
1007
1106
|
};
|
|
1008
|
-
protoOf(Companion).
|
|
1107
|
+
protoOf(Companion).x1 = function (c, other) {
|
|
1009
1108
|
if (!(c.i() === other.i()))
|
|
1010
1109
|
return false;
|
|
1011
1110
|
var otherIterator = other.f();
|
|
@@ -1032,7 +1131,7 @@ function AbstractList() {
|
|
|
1032
1131
|
protoOf(AbstractList).f = function () {
|
|
1033
1132
|
return new IteratorImpl(this);
|
|
1034
1133
|
};
|
|
1035
|
-
protoOf(AbstractList).
|
|
1134
|
+
protoOf(AbstractList).o = function (element) {
|
|
1036
1135
|
var tmp$ret$1;
|
|
1037
1136
|
$l$block: {
|
|
1038
1137
|
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
@@ -1051,7 +1150,7 @@ protoOf(AbstractList).n = function (element) {
|
|
|
1051
1150
|
}
|
|
1052
1151
|
return tmp$ret$1;
|
|
1053
1152
|
};
|
|
1054
|
-
protoOf(AbstractList).
|
|
1153
|
+
protoOf(AbstractList).l = function (index) {
|
|
1055
1154
|
return new ListIteratorImpl(this, index);
|
|
1056
1155
|
};
|
|
1057
1156
|
protoOf(AbstractList).equals = function (other) {
|
|
@@ -1059,10 +1158,10 @@ protoOf(AbstractList).equals = function (other) {
|
|
|
1059
1158
|
return true;
|
|
1060
1159
|
if (!(!(other == null) ? isInterface(other, List) : false))
|
|
1061
1160
|
return false;
|
|
1062
|
-
return Companion_getInstance().
|
|
1161
|
+
return Companion_getInstance().x1(this, other);
|
|
1063
1162
|
};
|
|
1064
1163
|
protoOf(AbstractList).hashCode = function () {
|
|
1065
|
-
return Companion_getInstance().
|
|
1164
|
+
return Companion_getInstance().w1(this);
|
|
1066
1165
|
};
|
|
1067
1166
|
function AbstractMap$keys$1$iterator$1($entryIterator) {
|
|
1068
1167
|
this.y1_1 = $entryIterator;
|
|
@@ -1131,7 +1230,7 @@ function AbstractMap$keys$1(this$0) {
|
|
|
1131
1230
|
protoOf(AbstractMap$keys$1).g2 = function (element) {
|
|
1132
1231
|
return this.f2_1.j2(element);
|
|
1133
1232
|
};
|
|
1134
|
-
protoOf(AbstractMap$keys$1).
|
|
1233
|
+
protoOf(AbstractMap$keys$1).m = function (element) {
|
|
1135
1234
|
if (!(element == null ? true : isObject(element)))
|
|
1136
1235
|
return false;
|
|
1137
1236
|
return this.g2((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
@@ -1191,7 +1290,7 @@ protoOf(AbstractMap).equals = function (other) {
|
|
|
1191
1290
|
var tmp0_all = other.a2();
|
|
1192
1291
|
var tmp;
|
|
1193
1292
|
if (isInterface(tmp0_all, Collection)) {
|
|
1194
|
-
tmp = tmp0_all.
|
|
1293
|
+
tmp = tmp0_all.n();
|
|
1195
1294
|
} else {
|
|
1196
1295
|
tmp = false;
|
|
1197
1296
|
}
|
|
@@ -1219,7 +1318,7 @@ protoOf(AbstractMap).m2 = function (key) {
|
|
|
1219
1318
|
protoOf(AbstractMap).hashCode = function () {
|
|
1220
1319
|
return hashCode(this.a2());
|
|
1221
1320
|
};
|
|
1222
|
-
protoOf(AbstractMap).
|
|
1321
|
+
protoOf(AbstractMap).n = function () {
|
|
1223
1322
|
return this.i() === 0;
|
|
1224
1323
|
};
|
|
1225
1324
|
protoOf(AbstractMap).i = function () {
|
|
@@ -1257,7 +1356,7 @@ protoOf(Companion_1).p2 = function (c, other) {
|
|
|
1257
1356
|
if (!(c.i() === other.i()))
|
|
1258
1357
|
return false;
|
|
1259
1358
|
// Inline function 'kotlin.collections.containsAll' call
|
|
1260
|
-
return c.
|
|
1359
|
+
return c.j1(other);
|
|
1261
1360
|
};
|
|
1262
1361
|
var Companion_instance_1;
|
|
1263
1362
|
function Companion_getInstance_1() {
|
|
@@ -1380,12 +1479,12 @@ function Companion_getInstance_2() {
|
|
|
1380
1479
|
protoOf(ArrayDeque).i = function () {
|
|
1381
1480
|
return this.t2_1;
|
|
1382
1481
|
};
|
|
1383
|
-
protoOf(ArrayDeque).
|
|
1482
|
+
protoOf(ArrayDeque).n = function () {
|
|
1384
1483
|
return this.t2_1 === 0;
|
|
1385
1484
|
};
|
|
1386
1485
|
protoOf(ArrayDeque).y2 = function () {
|
|
1387
1486
|
var tmp;
|
|
1388
|
-
if (this.
|
|
1487
|
+
if (this.n()) {
|
|
1389
1488
|
throw NoSuchElementException_init_$Create$_0('ArrayDeque is empty.');
|
|
1390
1489
|
} else {
|
|
1391
1490
|
// Inline function 'kotlin.collections.ArrayDeque.internalGet' call
|
|
@@ -1412,7 +1511,7 @@ protoOf(ArrayDeque).a3 = function (element) {
|
|
|
1412
1511
|
this.t2_1 = this.t2_1 + 1 | 0;
|
|
1413
1512
|
};
|
|
1414
1513
|
protoOf(ArrayDeque).b3 = function () {
|
|
1415
|
-
if (this.
|
|
1514
|
+
if (this.n())
|
|
1416
1515
|
throw NoSuchElementException_init_$Create$_0('ArrayDeque is empty.');
|
|
1417
1516
|
// Inline function 'kotlin.collections.ArrayDeque.internalGet' call
|
|
1418
1517
|
var tmp0_internalGet = this.r2_1;
|
|
@@ -1424,7 +1523,7 @@ protoOf(ArrayDeque).b3 = function () {
|
|
|
1424
1523
|
return element;
|
|
1425
1524
|
};
|
|
1426
1525
|
protoOf(ArrayDeque).c3 = function () {
|
|
1427
|
-
if (this.
|
|
1526
|
+
if (this.n())
|
|
1428
1527
|
throw NoSuchElementException_init_$Create$_0('ArrayDeque is empty.');
|
|
1429
1528
|
// Inline function 'kotlin.collections.ArrayDeque.internalIndex' call
|
|
1430
1529
|
var tmp0_internalIndex = get_lastIndex_0(this);
|
|
@@ -1441,7 +1540,7 @@ protoOf(ArrayDeque).a = function (element) {
|
|
|
1441
1540
|
return true;
|
|
1442
1541
|
};
|
|
1443
1542
|
protoOf(ArrayDeque).d3 = function (index, element) {
|
|
1444
|
-
Companion_getInstance().
|
|
1543
|
+
Companion_getInstance().p1(index, this.t2_1);
|
|
1445
1544
|
if (index === this.t2_1) {
|
|
1446
1545
|
this.a3(element);
|
|
1447
1546
|
return Unit_getInstance();
|
|
@@ -1509,7 +1608,7 @@ protoOf(ArrayDeque).d3 = function (index, element) {
|
|
|
1509
1608
|
this.t2_1 = this.t2_1 + 1 | 0;
|
|
1510
1609
|
};
|
|
1511
1610
|
protoOf(ArrayDeque).j = function (elements) {
|
|
1512
|
-
if (elements.
|
|
1611
|
+
if (elements.n())
|
|
1513
1612
|
return false;
|
|
1514
1613
|
ensureCapacity(this, this.t2_1 + elements.i() | 0);
|
|
1515
1614
|
var tmp$ret$0;
|
|
@@ -1520,7 +1619,7 @@ protoOf(ArrayDeque).j = function (elements) {
|
|
|
1520
1619
|
return true;
|
|
1521
1620
|
};
|
|
1522
1621
|
protoOf(ArrayDeque).k = function (index) {
|
|
1523
|
-
Companion_getInstance().
|
|
1622
|
+
Companion_getInstance().t1(index, this.t2_1);
|
|
1524
1623
|
// Inline function 'kotlin.collections.ArrayDeque.internalGet' call
|
|
1525
1624
|
// Inline function 'kotlin.collections.ArrayDeque.internalIndex' call
|
|
1526
1625
|
var tmp0_internalGet = positiveMod(this, this.r2_1 + index | 0);
|
|
@@ -1528,7 +1627,7 @@ protoOf(ArrayDeque).k = function (index) {
|
|
|
1528
1627
|
return (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
1529
1628
|
};
|
|
1530
1629
|
protoOf(ArrayDeque).e3 = function (index, element) {
|
|
1531
|
-
Companion_getInstance().
|
|
1630
|
+
Companion_getInstance().t1(index, this.t2_1);
|
|
1532
1631
|
// Inline function 'kotlin.collections.ArrayDeque.internalIndex' call
|
|
1533
1632
|
var internalIndex = positiveMod(this, this.r2_1 + index | 0);
|
|
1534
1633
|
// Inline function 'kotlin.collections.ArrayDeque.internalGet' call
|
|
@@ -1537,10 +1636,10 @@ protoOf(ArrayDeque).e3 = function (index, element) {
|
|
|
1537
1636
|
this.s2_1[internalIndex] = element;
|
|
1538
1637
|
return oldElement;
|
|
1539
1638
|
};
|
|
1540
|
-
protoOf(ArrayDeque).
|
|
1541
|
-
return !(this.
|
|
1639
|
+
protoOf(ArrayDeque).m = function (element) {
|
|
1640
|
+
return !(this.o(element) === -1);
|
|
1542
1641
|
};
|
|
1543
|
-
protoOf(ArrayDeque).
|
|
1642
|
+
protoOf(ArrayDeque).o = function (element) {
|
|
1544
1643
|
// Inline function 'kotlin.collections.ArrayDeque.internalIndex' call
|
|
1545
1644
|
var tmp0_internalIndex = this.t2_1;
|
|
1546
1645
|
var tail = positiveMod(this, this.r2_1 + tmp0_internalIndex | 0);
|
|
@@ -1578,7 +1677,7 @@ protoOf(ArrayDeque).n = function (element) {
|
|
|
1578
1677
|
return -1;
|
|
1579
1678
|
};
|
|
1580
1679
|
protoOf(ArrayDeque).f3 = function (index) {
|
|
1581
|
-
Companion_getInstance().
|
|
1680
|
+
Companion_getInstance().t1(index, this.t2_1);
|
|
1582
1681
|
if (index === get_lastIndex_0(this)) {
|
|
1583
1682
|
return this.c3();
|
|
1584
1683
|
} else if (index === 0) {
|
|
@@ -1656,7 +1755,7 @@ protoOf(ArrayDeque).g3 = function (array) {
|
|
|
1656
1755
|
arrayCopy(tmp1_copyInto, dest, 0, tmp2_copyInto, tail);
|
|
1657
1756
|
} else {
|
|
1658
1757
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1659
|
-
if (!this.
|
|
1758
|
+
if (!this.n()) {
|
|
1660
1759
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1661
1760
|
var tmp3_copyInto = this.s2_1;
|
|
1662
1761
|
var tmp4_copyInto = this.r2_1;
|
|
@@ -1701,7 +1800,7 @@ function EmptyList() {
|
|
|
1701
1800
|
protoOf(EmptyList).equals = function (other) {
|
|
1702
1801
|
var tmp;
|
|
1703
1802
|
if (!(other == null) ? isInterface(other, List) : false) {
|
|
1704
|
-
tmp = other.
|
|
1803
|
+
tmp = other.n();
|
|
1705
1804
|
} else {
|
|
1706
1805
|
tmp = false;
|
|
1707
1806
|
}
|
|
@@ -1716,13 +1815,13 @@ protoOf(EmptyList).toString = function () {
|
|
|
1716
1815
|
protoOf(EmptyList).i = function () {
|
|
1717
1816
|
return 0;
|
|
1718
1817
|
};
|
|
1719
|
-
protoOf(EmptyList).
|
|
1818
|
+
protoOf(EmptyList).n = function () {
|
|
1720
1819
|
return true;
|
|
1721
1820
|
};
|
|
1722
1821
|
protoOf(EmptyList).l3 = function (element) {
|
|
1723
1822
|
return false;
|
|
1724
1823
|
};
|
|
1725
|
-
protoOf(EmptyList).
|
|
1824
|
+
protoOf(EmptyList).m = function (element) {
|
|
1726
1825
|
if (!false)
|
|
1727
1826
|
return false;
|
|
1728
1827
|
var tmp;
|
|
@@ -1734,9 +1833,9 @@ protoOf(EmptyList).l = function (element) {
|
|
|
1734
1833
|
return this.l3(tmp);
|
|
1735
1834
|
};
|
|
1736
1835
|
protoOf(EmptyList).m3 = function (elements) {
|
|
1737
|
-
return elements.
|
|
1836
|
+
return elements.n();
|
|
1738
1837
|
};
|
|
1739
|
-
protoOf(EmptyList).
|
|
1838
|
+
protoOf(EmptyList).j1 = function (elements) {
|
|
1740
1839
|
return this.m3(elements);
|
|
1741
1840
|
};
|
|
1742
1841
|
protoOf(EmptyList).k = function (index) {
|
|
@@ -1745,7 +1844,7 @@ protoOf(EmptyList).k = function (index) {
|
|
|
1745
1844
|
protoOf(EmptyList).n3 = function (element) {
|
|
1746
1845
|
return -1;
|
|
1747
1846
|
};
|
|
1748
|
-
protoOf(EmptyList).
|
|
1847
|
+
protoOf(EmptyList).o = function (element) {
|
|
1749
1848
|
if (!false)
|
|
1750
1849
|
return -1;
|
|
1751
1850
|
var tmp;
|
|
@@ -1759,7 +1858,7 @@ protoOf(EmptyList).n = function (element) {
|
|
|
1759
1858
|
protoOf(EmptyList).f = function () {
|
|
1760
1859
|
return EmptyIterator_getInstance();
|
|
1761
1860
|
};
|
|
1762
|
-
protoOf(EmptyList).
|
|
1861
|
+
protoOf(EmptyList).l = function (index) {
|
|
1763
1862
|
if (!(index === 0))
|
|
1764
1863
|
throw IndexOutOfBoundsException_init_$Create$('Index: ' + index);
|
|
1765
1864
|
return EmptyIterator_getInstance();
|
|
@@ -1776,16 +1875,16 @@ function EmptyIterator() {
|
|
|
1776
1875
|
protoOf(EmptyIterator).g = function () {
|
|
1777
1876
|
return false;
|
|
1778
1877
|
};
|
|
1779
|
-
protoOf(EmptyIterator).
|
|
1878
|
+
protoOf(EmptyIterator).q1 = function () {
|
|
1780
1879
|
return false;
|
|
1781
1880
|
};
|
|
1782
|
-
protoOf(EmptyIterator).
|
|
1881
|
+
protoOf(EmptyIterator).r1 = function () {
|
|
1783
1882
|
return 0;
|
|
1784
1883
|
};
|
|
1785
1884
|
protoOf(EmptyIterator).h = function () {
|
|
1786
1885
|
throw NoSuchElementException_init_$Create$();
|
|
1787
1886
|
};
|
|
1788
|
-
protoOf(EmptyIterator).
|
|
1887
|
+
protoOf(EmptyIterator).s1 = function () {
|
|
1789
1888
|
throw NoSuchElementException_init_$Create$();
|
|
1790
1889
|
};
|
|
1791
1890
|
var EmptyIterator_instance;
|
|
@@ -1829,17 +1928,17 @@ function ArrayAsCollection(values, isVarargs) {
|
|
|
1829
1928
|
protoOf(ArrayAsCollection).i = function () {
|
|
1830
1929
|
return this.o3_1.length;
|
|
1831
1930
|
};
|
|
1832
|
-
protoOf(ArrayAsCollection).
|
|
1931
|
+
protoOf(ArrayAsCollection).n = function () {
|
|
1833
1932
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
1834
1933
|
return this.o3_1.length === 0;
|
|
1835
1934
|
};
|
|
1836
|
-
protoOf(ArrayAsCollection).
|
|
1935
|
+
protoOf(ArrayAsCollection).s = function (element) {
|
|
1837
1936
|
return contains_0(this.o3_1, element);
|
|
1838
1937
|
};
|
|
1839
|
-
protoOf(ArrayAsCollection).
|
|
1938
|
+
protoOf(ArrayAsCollection).m = function (element) {
|
|
1840
1939
|
if (!(element == null ? true : isObject(element)))
|
|
1841
1940
|
return false;
|
|
1842
|
-
return this.
|
|
1941
|
+
return this.s((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
1843
1942
|
};
|
|
1844
1943
|
protoOf(ArrayAsCollection).q3 = function (elements) {
|
|
1845
1944
|
var tmp$ret$0;
|
|
@@ -1847,7 +1946,7 @@ protoOf(ArrayAsCollection).q3 = function (elements) {
|
|
|
1847
1946
|
// Inline function 'kotlin.collections.all' call
|
|
1848
1947
|
var tmp;
|
|
1849
1948
|
if (isInterface(elements, Collection)) {
|
|
1850
|
-
tmp = elements.
|
|
1949
|
+
tmp = elements.n();
|
|
1851
1950
|
} else {
|
|
1852
1951
|
tmp = false;
|
|
1853
1952
|
}
|
|
@@ -1859,7 +1958,7 @@ protoOf(ArrayAsCollection).q3 = function (elements) {
|
|
|
1859
1958
|
while (tmp0_iterator.g()) {
|
|
1860
1959
|
var element = tmp0_iterator.h();
|
|
1861
1960
|
// Inline function 'kotlin.collections.ArrayAsCollection.containsAll.<anonymous>' call
|
|
1862
|
-
if (!this.
|
|
1961
|
+
if (!this.s(element)) {
|
|
1863
1962
|
tmp$ret$0 = false;
|
|
1864
1963
|
break $l$block_0;
|
|
1865
1964
|
}
|
|
@@ -1868,7 +1967,7 @@ protoOf(ArrayAsCollection).q3 = function (elements) {
|
|
|
1868
1967
|
}
|
|
1869
1968
|
return tmp$ret$0;
|
|
1870
1969
|
};
|
|
1871
|
-
protoOf(ArrayAsCollection).
|
|
1970
|
+
protoOf(ArrayAsCollection).j1 = function (elements) {
|
|
1872
1971
|
return this.q3(elements);
|
|
1873
1972
|
};
|
|
1874
1973
|
protoOf(ArrayAsCollection).f = function () {
|
|
@@ -1933,7 +2032,7 @@ function EmptyMap() {
|
|
|
1933
2032
|
protoOf(EmptyMap).equals = function (other) {
|
|
1934
2033
|
var tmp;
|
|
1935
2034
|
if (!(other == null) ? isInterface(other, Map) : false) {
|
|
1936
|
-
tmp = other.
|
|
2035
|
+
tmp = other.n();
|
|
1937
2036
|
} else {
|
|
1938
2037
|
tmp = false;
|
|
1939
2038
|
}
|
|
@@ -1948,7 +2047,7 @@ protoOf(EmptyMap).toString = function () {
|
|
|
1948
2047
|
protoOf(EmptyMap).i = function () {
|
|
1949
2048
|
return 0;
|
|
1950
2049
|
};
|
|
1951
|
-
protoOf(EmptyMap).
|
|
2050
|
+
protoOf(EmptyMap).n = function () {
|
|
1952
2051
|
return true;
|
|
1953
2052
|
};
|
|
1954
2053
|
protoOf(EmptyMap).s3 = function (key) {
|
|
@@ -2078,7 +2177,7 @@ function EmptySequence() {
|
|
|
2078
2177
|
protoOf(EmptySequence).f = function () {
|
|
2079
2178
|
return EmptyIterator_getInstance();
|
|
2080
2179
|
};
|
|
2081
|
-
protoOf(EmptySequence).
|
|
2180
|
+
protoOf(EmptySequence).x = function (n) {
|
|
2082
2181
|
return EmptySequence_getInstance();
|
|
2083
2182
|
};
|
|
2084
2183
|
var EmptySequence_instance;
|
|
@@ -2149,7 +2248,7 @@ function TakeSequence(sequence, count) {
|
|
|
2149
2248
|
throw IllegalArgumentException_init_$Create$(toString_3(message));
|
|
2150
2249
|
}
|
|
2151
2250
|
}
|
|
2152
|
-
protoOf(TakeSequence).
|
|
2251
|
+
protoOf(TakeSequence).x = function (n) {
|
|
2153
2252
|
return n >= this.t4_1 ? this : new TakeSequence(this.s4_1, n);
|
|
2154
2253
|
};
|
|
2155
2254
|
protoOf(TakeSequence).f = function () {
|
|
@@ -2165,7 +2264,7 @@ function EmptySet() {
|
|
|
2165
2264
|
protoOf(EmptySet).equals = function (other) {
|
|
2166
2265
|
var tmp;
|
|
2167
2266
|
if (!(other == null) ? isInterface(other, Set) : false) {
|
|
2168
|
-
tmp = other.
|
|
2267
|
+
tmp = other.n();
|
|
2169
2268
|
} else {
|
|
2170
2269
|
tmp = false;
|
|
2171
2270
|
}
|
|
@@ -2180,13 +2279,13 @@ protoOf(EmptySet).toString = function () {
|
|
|
2180
2279
|
protoOf(EmptySet).i = function () {
|
|
2181
2280
|
return 0;
|
|
2182
2281
|
};
|
|
2183
|
-
protoOf(EmptySet).
|
|
2282
|
+
protoOf(EmptySet).n = function () {
|
|
2184
2283
|
return true;
|
|
2185
2284
|
};
|
|
2186
2285
|
protoOf(EmptySet).l3 = function (element) {
|
|
2187
2286
|
return false;
|
|
2188
2287
|
};
|
|
2189
|
-
protoOf(EmptySet).
|
|
2288
|
+
protoOf(EmptySet).m = function (element) {
|
|
2190
2289
|
if (!false)
|
|
2191
2290
|
return false;
|
|
2192
2291
|
var tmp;
|
|
@@ -2198,9 +2297,9 @@ protoOf(EmptySet).l = function (element) {
|
|
|
2198
2297
|
return this.l3(tmp);
|
|
2199
2298
|
};
|
|
2200
2299
|
protoOf(EmptySet).m3 = function (elements) {
|
|
2201
|
-
return elements.
|
|
2300
|
+
return elements.n();
|
|
2202
2301
|
};
|
|
2203
|
-
protoOf(EmptySet).
|
|
2302
|
+
protoOf(EmptySet).j1 = function (elements) {
|
|
2204
2303
|
return this.m3(elements);
|
|
2205
2304
|
};
|
|
2206
2305
|
protoOf(EmptySet).f = function () {
|
|
@@ -2259,19 +2358,19 @@ protoOf(EnumEntriesList).i = function () {
|
|
|
2259
2358
|
return this.w4_1.length;
|
|
2260
2359
|
};
|
|
2261
2360
|
protoOf(EnumEntriesList).k = function (index) {
|
|
2262
|
-
Companion_getInstance().
|
|
2361
|
+
Companion_getInstance().t1(index, this.w4_1.length);
|
|
2263
2362
|
return this.w4_1[index];
|
|
2264
2363
|
};
|
|
2265
|
-
protoOf(EnumEntriesList).
|
|
2364
|
+
protoOf(EnumEntriesList).s = function (element) {
|
|
2266
2365
|
if (element === null)
|
|
2267
2366
|
return false;
|
|
2268
2367
|
var target = getOrNull(this.w4_1, element.y4_1);
|
|
2269
2368
|
return target === element;
|
|
2270
2369
|
};
|
|
2271
|
-
protoOf(EnumEntriesList).
|
|
2370
|
+
protoOf(EnumEntriesList).m = function (element) {
|
|
2272
2371
|
if (!(element instanceof Enum))
|
|
2273
2372
|
return false;
|
|
2274
|
-
return this.
|
|
2373
|
+
return this.s(element instanceof Enum ? element : THROW_CCE());
|
|
2275
2374
|
};
|
|
2276
2375
|
protoOf(EnumEntriesList).z4 = function (element) {
|
|
2277
2376
|
if (element === null)
|
|
@@ -2280,7 +2379,7 @@ protoOf(EnumEntriesList).z4 = function (element) {
|
|
|
2280
2379
|
var target = getOrNull(this.w4_1, ordinal);
|
|
2281
2380
|
return target === element ? ordinal : -1;
|
|
2282
2381
|
};
|
|
2283
|
-
protoOf(EnumEntriesList).
|
|
2382
|
+
protoOf(EnumEntriesList).o = function (element) {
|
|
2284
2383
|
if (!(element instanceof Enum))
|
|
2285
2384
|
return -1;
|
|
2286
2385
|
return this.z4(element instanceof Enum ? element : THROW_CCE());
|
|
@@ -2305,7 +2404,7 @@ function mod(a, b) {
|
|
|
2305
2404
|
}
|
|
2306
2405
|
function Companion_3() {
|
|
2307
2406
|
Companion_instance_3 = this;
|
|
2308
|
-
this.
|
|
2407
|
+
this.q_1 = new IntRange(1, 0);
|
|
2309
2408
|
}
|
|
2310
2409
|
var Companion_instance_3;
|
|
2311
2410
|
function Companion_getInstance_3() {
|
|
@@ -2317,32 +2416,32 @@ function IntRange(start, endInclusive) {
|
|
|
2317
2416
|
Companion_getInstance_3();
|
|
2318
2417
|
IntProgression.call(this, start, endInclusive, 1);
|
|
2319
2418
|
}
|
|
2320
|
-
protoOf(IntRange).
|
|
2419
|
+
protoOf(IntRange).e1 = function () {
|
|
2321
2420
|
return this.a5_1;
|
|
2322
2421
|
};
|
|
2323
|
-
protoOf(IntRange).
|
|
2422
|
+
protoOf(IntRange).f1 = function () {
|
|
2324
2423
|
return this.b5_1;
|
|
2325
2424
|
};
|
|
2326
2425
|
protoOf(IntRange).d5 = function (value) {
|
|
2327
2426
|
return this.a5_1 <= value ? value <= this.b5_1 : false;
|
|
2328
2427
|
};
|
|
2329
|
-
protoOf(IntRange).
|
|
2428
|
+
protoOf(IntRange).s = function (value) {
|
|
2330
2429
|
return this.d5(typeof value === 'number' ? value : THROW_CCE());
|
|
2331
2430
|
};
|
|
2332
|
-
protoOf(IntRange).
|
|
2431
|
+
protoOf(IntRange).n = function () {
|
|
2333
2432
|
return this.a5_1 > this.b5_1;
|
|
2334
2433
|
};
|
|
2335
2434
|
protoOf(IntRange).equals = function (other) {
|
|
2336
2435
|
var tmp;
|
|
2337
2436
|
if (other instanceof IntRange) {
|
|
2338
|
-
tmp = (this.
|
|
2437
|
+
tmp = (this.n() ? other.n() : false) ? true : this.a5_1 === other.a5_1 ? this.b5_1 === other.b5_1 : false;
|
|
2339
2438
|
} else {
|
|
2340
2439
|
tmp = false;
|
|
2341
2440
|
}
|
|
2342
2441
|
return tmp;
|
|
2343
2442
|
};
|
|
2344
2443
|
protoOf(IntRange).hashCode = function () {
|
|
2345
|
-
return this.
|
|
2444
|
+
return this.n() ? -1 : imul_0(31, this.a5_1) + this.b5_1 | 0;
|
|
2346
2445
|
};
|
|
2347
2446
|
protoOf(IntRange).toString = function () {
|
|
2348
2447
|
return '' + this.a5_1 + '..' + this.b5_1;
|
|
@@ -2371,7 +2470,7 @@ protoOf(IntProgressionIterator).z3 = function () {
|
|
|
2371
2470
|
function Companion_4() {
|
|
2372
2471
|
Companion_instance_4 = this;
|
|
2373
2472
|
}
|
|
2374
|
-
protoOf(Companion_4).
|
|
2473
|
+
protoOf(Companion_4).r = function (rangeStart, rangeEnd, step) {
|
|
2375
2474
|
return new IntProgression(rangeStart, rangeEnd, step);
|
|
2376
2475
|
};
|
|
2377
2476
|
var Companion_instance_4;
|
|
@@ -2393,20 +2492,20 @@ function IntProgression(start, endInclusive, step) {
|
|
|
2393
2492
|
protoOf(IntProgression).f = function () {
|
|
2394
2493
|
return new IntProgressionIterator(this.a5_1, this.b5_1, this.c5_1);
|
|
2395
2494
|
};
|
|
2396
|
-
protoOf(IntProgression).
|
|
2495
|
+
protoOf(IntProgression).n = function () {
|
|
2397
2496
|
return this.c5_1 > 0 ? this.a5_1 > this.b5_1 : this.a5_1 < this.b5_1;
|
|
2398
2497
|
};
|
|
2399
2498
|
protoOf(IntProgression).equals = function (other) {
|
|
2400
2499
|
var tmp;
|
|
2401
2500
|
if (other instanceof IntProgression) {
|
|
2402
|
-
tmp = (this.
|
|
2501
|
+
tmp = (this.n() ? other.n() : false) ? true : (this.a5_1 === other.a5_1 ? this.b5_1 === other.b5_1 : false) ? this.c5_1 === other.c5_1 : false;
|
|
2403
2502
|
} else {
|
|
2404
2503
|
tmp = false;
|
|
2405
2504
|
}
|
|
2406
2505
|
return tmp;
|
|
2407
2506
|
};
|
|
2408
2507
|
protoOf(IntProgression).hashCode = function () {
|
|
2409
|
-
return this.
|
|
2508
|
+
return this.n() ? -1 : imul_0(31, imul_0(31, this.a5_1) + this.b5_1 | 0) + this.c5_1 | 0;
|
|
2410
2509
|
};
|
|
2411
2510
|
protoOf(IntProgression).toString = function () {
|
|
2412
2511
|
return this.c5_1 > 0 ? '' + this.a5_1 + '..' + this.b5_1 + ' step ' + this.c5_1 : '' + this.a5_1 + ' downTo ' + this.b5_1 + ' step ' + (-this.c5_1 | 0);
|
|
@@ -2564,11 +2663,11 @@ function toLongOrNull(_this__u8e3s4, radix) {
|
|
|
2564
2663
|
var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix);
|
|
2565
2664
|
if (digit < 0)
|
|
2566
2665
|
return null;
|
|
2567
|
-
if (result.
|
|
2666
|
+
if (result.w(limitBeforeMul) < 0) {
|
|
2568
2667
|
if (limitBeforeMul.equals(limitForMaxRadix)) {
|
|
2569
2668
|
// Inline function 'kotlin.Long.div' call
|
|
2570
2669
|
limitBeforeMul = limit.l5(toLong_0(radix));
|
|
2571
|
-
if (result.
|
|
2670
|
+
if (result.w(limitBeforeMul) < 0) {
|
|
2572
2671
|
return null;
|
|
2573
2672
|
}
|
|
2574
2673
|
} else {
|
|
@@ -2581,7 +2680,7 @@ function toLongOrNull(_this__u8e3s4, radix) {
|
|
|
2581
2680
|
var tmp$ret$3;
|
|
2582
2681
|
// Inline function 'kotlin.Long.plus' call
|
|
2583
2682
|
tmp$ret$3 = limit.n5(toLong_0(digit));
|
|
2584
|
-
if (tmp.
|
|
2683
|
+
if (tmp.w(tmp$ret$3) < 0)
|
|
2585
2684
|
return null;
|
|
2586
2685
|
// Inline function 'kotlin.Long.minus' call
|
|
2587
2686
|
result = result.o5(toLong_0(digit));
|
|
@@ -2600,7 +2699,7 @@ function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
|
2600
2699
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2601
2700
|
limit = limit === VOID ? 0 : limit;
|
|
2602
2701
|
if (delimiters.length === 1) {
|
|
2603
|
-
return
|
|
2702
|
+
return split_1(_this__u8e3s4, toString_1(delimiters[0]), ignoreCase, limit);
|
|
2604
2703
|
}
|
|
2605
2704
|
// Inline function 'kotlin.collections.map' call
|
|
2606
2705
|
var tmp0_map = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
@@ -2616,10 +2715,34 @@ function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
|
2616
2715
|
}
|
|
2617
2716
|
return tmp0_mapTo;
|
|
2618
2717
|
}
|
|
2718
|
+
function split_0(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
2719
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2720
|
+
limit = limit === VOID ? 0 : limit;
|
|
2721
|
+
if (delimiters.length === 1) {
|
|
2722
|
+
var delimiter = delimiters[0];
|
|
2723
|
+
// Inline function 'kotlin.text.isEmpty' call
|
|
2724
|
+
if (!(charSequenceLength(delimiter) === 0)) {
|
|
2725
|
+
return split_1(_this__u8e3s4, delimiter, ignoreCase, limit);
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
// Inline function 'kotlin.collections.map' call
|
|
2729
|
+
var tmp0_map = asIterable(rangesDelimitedBy_0(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
2730
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
2731
|
+
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
2732
|
+
var tmp0_iterator = tmp0_map.f();
|
|
2733
|
+
while (tmp0_iterator.g()) {
|
|
2734
|
+
var item = tmp0_iterator.h();
|
|
2735
|
+
var tmp$ret$1;
|
|
2736
|
+
// Inline function 'kotlin.text.split.<anonymous>' call
|
|
2737
|
+
tmp$ret$1 = substring_0(_this__u8e3s4, item);
|
|
2738
|
+
tmp0_mapTo.a(tmp$ret$1);
|
|
2739
|
+
}
|
|
2740
|
+
return tmp0_mapTo;
|
|
2741
|
+
}
|
|
2619
2742
|
function substring(_this__u8e3s4, range) {
|
|
2620
2743
|
// Inline function 'kotlin.text.substring' call
|
|
2621
|
-
var tmp0_substring = range.
|
|
2622
|
-
var tmp1_substring = range.
|
|
2744
|
+
var tmp0_substring = range.e1();
|
|
2745
|
+
var tmp1_substring = range.f1() + 1 | 0;
|
|
2623
2746
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2624
2747
|
return _this__u8e3s4.substring(tmp0_substring, tmp1_substring);
|
|
2625
2748
|
}
|
|
@@ -2647,11 +2770,21 @@ function indexOf_3(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
|
2647
2770
|
}
|
|
2648
2771
|
return tmp;
|
|
2649
2772
|
}
|
|
2773
|
+
function contains_6(_this__u8e3s4, other, ignoreCase) {
|
|
2774
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2775
|
+
var tmp;
|
|
2776
|
+
if (typeof other === 'string') {
|
|
2777
|
+
tmp = indexOf_4(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
|
|
2778
|
+
} else {
|
|
2779
|
+
tmp = indexOf_5(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
|
|
2780
|
+
}
|
|
2781
|
+
return tmp;
|
|
2782
|
+
}
|
|
2650
2783
|
function padStart(_this__u8e3s4, length, padChar) {
|
|
2651
2784
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
2652
2785
|
return toString_3(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
2653
2786
|
}
|
|
2654
|
-
function
|
|
2787
|
+
function split_1(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
2655
2788
|
requireNonNegativeLimit(limit);
|
|
2656
2789
|
var currentOffset = 0;
|
|
2657
2790
|
var nextIndex = indexOf_4(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
@@ -2682,7 +2815,7 @@ function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
|
2682
2815
|
return result;
|
|
2683
2816
|
}
|
|
2684
2817
|
function substring_0(_this__u8e3s4, range) {
|
|
2685
|
-
return toString_3(charSequenceSubSequence(_this__u8e3s4, range.
|
|
2818
|
+
return toString_3(charSequenceSubSequence(_this__u8e3s4, range.e1(), range.f1() + 1 | 0));
|
|
2686
2819
|
}
|
|
2687
2820
|
function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
2688
2821
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
@@ -2691,6 +2824,14 @@ function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, li
|
|
|
2691
2824
|
requireNonNegativeLimit(limit);
|
|
2692
2825
|
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimiters, ignoreCase));
|
|
2693
2826
|
}
|
|
2827
|
+
function rangesDelimitedBy_0(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
2828
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2829
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2830
|
+
limit = limit === VOID ? 0 : limit;
|
|
2831
|
+
requireNonNegativeLimit(limit);
|
|
2832
|
+
var delimitersList = asList(delimiters);
|
|
2833
|
+
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda_0(delimitersList, ignoreCase));
|
|
2834
|
+
}
|
|
2694
2835
|
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
2695
2836
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2696
2837
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -2737,6 +2878,61 @@ function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
|
2737
2878
|
while (!(index === last));
|
|
2738
2879
|
return -1;
|
|
2739
2880
|
}
|
|
2881
|
+
function indexOf_4(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
2882
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2883
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2884
|
+
var tmp;
|
|
2885
|
+
var tmp_0;
|
|
2886
|
+
if (ignoreCase) {
|
|
2887
|
+
tmp_0 = true;
|
|
2888
|
+
} else {
|
|
2889
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
2890
|
+
}
|
|
2891
|
+
if (tmp_0) {
|
|
2892
|
+
tmp = indexOf_5(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase);
|
|
2893
|
+
} else {
|
|
2894
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
2895
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2896
|
+
tmp = _this__u8e3s4.indexOf(string, startIndex);
|
|
2897
|
+
}
|
|
2898
|
+
return tmp;
|
|
2899
|
+
}
|
|
2900
|
+
function indexOf_5(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
|
|
2901
|
+
last = last === VOID ? false : last;
|
|
2902
|
+
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_1(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
|
|
2903
|
+
var tmp;
|
|
2904
|
+
if (typeof _this__u8e3s4 === 'string') {
|
|
2905
|
+
tmp = typeof other === 'string';
|
|
2906
|
+
} else {
|
|
2907
|
+
tmp = false;
|
|
2908
|
+
}
|
|
2909
|
+
if (tmp) {
|
|
2910
|
+
var inductionVariable = indices.a5_1;
|
|
2911
|
+
var last_0 = indices.b5_1;
|
|
2912
|
+
var step = indices.c5_1;
|
|
2913
|
+
if ((step > 0 ? inductionVariable <= last_0 : false) ? true : step < 0 ? last_0 <= inductionVariable : false)
|
|
2914
|
+
do {
|
|
2915
|
+
var index = inductionVariable;
|
|
2916
|
+
inductionVariable = inductionVariable + step | 0;
|
|
2917
|
+
if (regionMatches(other, 0, _this__u8e3s4, index, charSequenceLength(other), ignoreCase))
|
|
2918
|
+
return index;
|
|
2919
|
+
}
|
|
2920
|
+
while (!(index === last_0));
|
|
2921
|
+
} else {
|
|
2922
|
+
var inductionVariable_0 = indices.a5_1;
|
|
2923
|
+
var last_1 = indices.b5_1;
|
|
2924
|
+
var step_0 = indices.c5_1;
|
|
2925
|
+
if ((step_0 > 0 ? inductionVariable_0 <= last_1 : false) ? true : step_0 < 0 ? last_1 <= inductionVariable_0 : false)
|
|
2926
|
+
do {
|
|
2927
|
+
var index_0 = inductionVariable_0;
|
|
2928
|
+
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
|
|
2929
|
+
if (regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase))
|
|
2930
|
+
return index_0;
|
|
2931
|
+
}
|
|
2932
|
+
while (!(index_0 === last_1));
|
|
2933
|
+
}
|
|
2934
|
+
return -1;
|
|
2935
|
+
}
|
|
2740
2936
|
function padStart_0(_this__u8e3s4, length, padChar) {
|
|
2741
2937
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
2742
2938
|
if (length < 0)
|
|
@@ -2766,25 +2962,6 @@ function requireNonNegativeLimit(limit) {
|
|
|
2766
2962
|
}
|
|
2767
2963
|
return tmp;
|
|
2768
2964
|
}
|
|
2769
|
-
function indexOf_4(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
2770
|
-
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2771
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2772
|
-
var tmp;
|
|
2773
|
-
var tmp_0;
|
|
2774
|
-
if (ignoreCase) {
|
|
2775
|
-
tmp_0 = true;
|
|
2776
|
-
} else {
|
|
2777
|
-
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
2778
|
-
}
|
|
2779
|
-
if (tmp_0) {
|
|
2780
|
-
tmp = indexOf_5(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase);
|
|
2781
|
-
} else {
|
|
2782
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
2783
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
2784
|
-
tmp = _this__u8e3s4.indexOf(string, startIndex);
|
|
2785
|
-
}
|
|
2786
|
-
return tmp;
|
|
2787
|
-
}
|
|
2788
2965
|
function calcNext_1($this) {
|
|
2789
2966
|
if ($this.r5_1 < 0) {
|
|
2790
2967
|
$this.p5_1 = 0;
|
|
@@ -2857,41 +3034,69 @@ function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) {
|
|
|
2857
3034
|
protoOf(DelimitedRangesSequence).f = function () {
|
|
2858
3035
|
return new DelimitedRangesSequence$iterator$1(this);
|
|
2859
3036
|
};
|
|
2860
|
-
function
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
tmp = typeof other === 'string';
|
|
2866
|
-
} else {
|
|
2867
|
-
tmp = false;
|
|
3037
|
+
function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
3038
|
+
if (!ignoreCase ? strings.i() === 1 : false) {
|
|
3039
|
+
var string = single_0(strings);
|
|
3040
|
+
var index = !last ? indexOf_4(_this__u8e3s4, string, startIndex) : lastIndexOf(_this__u8e3s4, string, startIndex);
|
|
3041
|
+
return index < 0 ? null : to(index, string);
|
|
2868
3042
|
}
|
|
2869
|
-
|
|
3043
|
+
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_1(_this__u8e3s4)), 0);
|
|
3044
|
+
if (typeof _this__u8e3s4 === 'string') {
|
|
2870
3045
|
var inductionVariable = indices.a5_1;
|
|
2871
3046
|
var last_0 = indices.b5_1;
|
|
2872
3047
|
var step = indices.c5_1;
|
|
2873
3048
|
if ((step > 0 ? inductionVariable <= last_0 : false) ? true : step < 0 ? last_0 <= inductionVariable : false)
|
|
2874
3049
|
do {
|
|
2875
|
-
var
|
|
3050
|
+
var index_0 = inductionVariable;
|
|
2876
3051
|
inductionVariable = inductionVariable + step | 0;
|
|
2877
|
-
|
|
2878
|
-
|
|
3052
|
+
var tmp$ret$1;
|
|
3053
|
+
$l$block: {
|
|
3054
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3055
|
+
var tmp0_iterator = strings.f();
|
|
3056
|
+
while (tmp0_iterator.g()) {
|
|
3057
|
+
var element = tmp0_iterator.h();
|
|
3058
|
+
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
3059
|
+
if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) {
|
|
3060
|
+
tmp$ret$1 = element;
|
|
3061
|
+
break $l$block;
|
|
3062
|
+
}
|
|
3063
|
+
}
|
|
3064
|
+
tmp$ret$1 = null;
|
|
3065
|
+
}
|
|
3066
|
+
var matchingString = tmp$ret$1;
|
|
3067
|
+
if (!(matchingString == null))
|
|
3068
|
+
return to(index_0, matchingString);
|
|
2879
3069
|
}
|
|
2880
|
-
while (!(
|
|
3070
|
+
while (!(index_0 === last_0));
|
|
2881
3071
|
} else {
|
|
2882
3072
|
var inductionVariable_0 = indices.a5_1;
|
|
2883
3073
|
var last_1 = indices.b5_1;
|
|
2884
3074
|
var step_0 = indices.c5_1;
|
|
2885
3075
|
if ((step_0 > 0 ? inductionVariable_0 <= last_1 : false) ? true : step_0 < 0 ? last_1 <= inductionVariable_0 : false)
|
|
2886
3076
|
do {
|
|
2887
|
-
var
|
|
3077
|
+
var index_1 = inductionVariable_0;
|
|
2888
3078
|
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
|
|
2889
|
-
|
|
2890
|
-
|
|
3079
|
+
var tmp$ret$3;
|
|
3080
|
+
$l$block_0: {
|
|
3081
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3082
|
+
var tmp0_iterator_0 = strings.f();
|
|
3083
|
+
while (tmp0_iterator_0.g()) {
|
|
3084
|
+
var element_0 = tmp0_iterator_0.h();
|
|
3085
|
+
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
3086
|
+
if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) {
|
|
3087
|
+
tmp$ret$3 = element_0;
|
|
3088
|
+
break $l$block_0;
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
tmp$ret$3 = null;
|
|
3092
|
+
}
|
|
3093
|
+
var matchingString_0 = tmp$ret$3;
|
|
3094
|
+
if (!(matchingString_0 == null))
|
|
3095
|
+
return to(index_1, matchingString_0);
|
|
2891
3096
|
}
|
|
2892
|
-
while (!(
|
|
3097
|
+
while (!(index_1 === last_1));
|
|
2893
3098
|
}
|
|
2894
|
-
return
|
|
3099
|
+
return null;
|
|
2895
3100
|
}
|
|
2896
3101
|
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
2897
3102
|
if (((otherOffset < 0 ? true : thisOffset < 0) ? true : thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0)) ? true : otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
@@ -2908,6 +3113,25 @@ function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length
|
|
|
2908
3113
|
while (inductionVariable < length);
|
|
2909
3114
|
return true;
|
|
2910
3115
|
}
|
|
3116
|
+
function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
3117
|
+
startIndex = startIndex === VOID ? get_lastIndex_1(_this__u8e3s4) : startIndex;
|
|
3118
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
3119
|
+
var tmp;
|
|
3120
|
+
var tmp_0;
|
|
3121
|
+
if (ignoreCase) {
|
|
3122
|
+
tmp_0 = true;
|
|
3123
|
+
} else {
|
|
3124
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
3125
|
+
}
|
|
3126
|
+
if (tmp_0) {
|
|
3127
|
+
tmp = indexOf_5(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
|
|
3128
|
+
} else {
|
|
3129
|
+
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
3130
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3131
|
+
tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
|
|
3132
|
+
}
|
|
3133
|
+
return tmp;
|
|
3134
|
+
}
|
|
2911
3135
|
function get_indices_0(_this__u8e3s4) {
|
|
2912
3136
|
return numberRangeToNumber(0, charSequenceLength(_this__u8e3s4) - 1 | 0);
|
|
2913
3137
|
}
|
|
@@ -2924,6 +3148,25 @@ function rangesDelimitedBy$lambda($delimiters, $ignoreCase) {
|
|
|
2924
3148
|
return tmp$ret$1;
|
|
2925
3149
|
};
|
|
2926
3150
|
}
|
|
3151
|
+
function rangesDelimitedBy$lambda_0($delimitersList, $ignoreCase) {
|
|
3152
|
+
return function ($this$$receiver, currentIndex) {
|
|
3153
|
+
var tmp0_safe_receiver = findAnyOf($this$$receiver, $delimitersList, currentIndex, $ignoreCase, false);
|
|
3154
|
+
var tmp;
|
|
3155
|
+
if (tmp0_safe_receiver == null) {
|
|
3156
|
+
tmp = null;
|
|
3157
|
+
} else {
|
|
3158
|
+
var tmp$ret$1;
|
|
3159
|
+
// Inline function 'kotlin.let' call
|
|
3160
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3161
|
+
var tmp$ret$0;
|
|
3162
|
+
// Inline function 'kotlin.text.rangesDelimitedBy.<anonymous>.<anonymous>' call
|
|
3163
|
+
tmp$ret$0 = to(tmp0_safe_receiver.u3_1, tmp0_safe_receiver.v3_1.length);
|
|
3164
|
+
tmp$ret$1 = tmp$ret$0;
|
|
3165
|
+
tmp = tmp$ret$1;
|
|
3166
|
+
}
|
|
3167
|
+
return tmp;
|
|
3168
|
+
};
|
|
3169
|
+
}
|
|
2927
3170
|
function Pair(first, second) {
|
|
2928
3171
|
this.u3_1 = first;
|
|
2929
3172
|
this.v3_1 = second;
|
|
@@ -3129,7 +3372,7 @@ function UIntArray__containsAll_impl_414g22($this, elements) {
|
|
|
3129
3372
|
var tmp0_all = isInterface(elements, Collection) ? elements : THROW_CCE();
|
|
3130
3373
|
var tmp;
|
|
3131
3374
|
if (isInterface(tmp0_all, Collection)) {
|
|
3132
|
-
tmp = tmp0_all.
|
|
3375
|
+
tmp = tmp0_all.n();
|
|
3133
3376
|
} else {
|
|
3134
3377
|
tmp = false;
|
|
3135
3378
|
}
|
|
@@ -3193,16 +3436,16 @@ protoOf(UIntArray).f = function () {
|
|
|
3193
3436
|
protoOf(UIntArray).p6 = function (element) {
|
|
3194
3437
|
return UIntArray__contains_impl_b16rzj(this.o6_1, element);
|
|
3195
3438
|
};
|
|
3196
|
-
protoOf(UIntArray).
|
|
3439
|
+
protoOf(UIntArray).m = function (element) {
|
|
3197
3440
|
return UIntArray__contains_impl_b16rzj_0(this, element);
|
|
3198
3441
|
};
|
|
3199
3442
|
protoOf(UIntArray).q6 = function (elements) {
|
|
3200
3443
|
return UIntArray__containsAll_impl_414g22(this.o6_1, elements);
|
|
3201
3444
|
};
|
|
3202
|
-
protoOf(UIntArray).
|
|
3445
|
+
protoOf(UIntArray).j1 = function (elements) {
|
|
3203
3446
|
return UIntArray__containsAll_impl_414g22_0(this, elements);
|
|
3204
3447
|
};
|
|
3205
|
-
protoOf(UIntArray).
|
|
3448
|
+
protoOf(UIntArray).n = function () {
|
|
3206
3449
|
return UIntArray__isEmpty_impl_vd8j4n(this.o6_1);
|
|
3207
3450
|
};
|
|
3208
3451
|
protoOf(UIntArray).toString = function () {
|
|
@@ -3237,8 +3480,8 @@ function ULong__compareTo_impl_38i7tu($this, other) {
|
|
|
3237
3480
|
return ulongCompare(_ULong___get_data__impl__fggpzb($this), _ULong___get_data__impl__fggpzb(other));
|
|
3238
3481
|
}
|
|
3239
3482
|
function ULong__compareTo_impl_38i7tu_0($this, other) {
|
|
3240
|
-
var tmp = $this.
|
|
3241
|
-
return ULong__compareTo_impl_38i7tu(tmp, other instanceof ULong ? other.
|
|
3483
|
+
var tmp = $this.g1_1;
|
|
3484
|
+
return ULong__compareTo_impl_38i7tu(tmp, other instanceof ULong ? other.g1_1 : THROW_CCE());
|
|
3242
3485
|
}
|
|
3243
3486
|
function ULong__toString_impl_f9au7k($this) {
|
|
3244
3487
|
return ulongToString(_ULong___get_data__impl__fggpzb($this));
|
|
@@ -3249,29 +3492,29 @@ function ULong__hashCode_impl_6hv2lb($this) {
|
|
|
3249
3492
|
function ULong__equals_impl_o0gnyb($this, other) {
|
|
3250
3493
|
if (!(other instanceof ULong))
|
|
3251
3494
|
return false;
|
|
3252
|
-
var tmp0_other_with_cast = other instanceof ULong ? other.
|
|
3495
|
+
var tmp0_other_with_cast = other instanceof ULong ? other.g1_1 : THROW_CCE();
|
|
3253
3496
|
if (!$this.equals(tmp0_other_with_cast))
|
|
3254
3497
|
return false;
|
|
3255
3498
|
return true;
|
|
3256
3499
|
}
|
|
3257
3500
|
function ULong(data) {
|
|
3258
3501
|
Companion_getInstance_6();
|
|
3259
|
-
this.
|
|
3502
|
+
this.g1_1 = data;
|
|
3260
3503
|
}
|
|
3261
3504
|
protoOf(ULong).v6 = function (other) {
|
|
3262
|
-
return ULong__compareTo_impl_38i7tu(this.
|
|
3505
|
+
return ULong__compareTo_impl_38i7tu(this.g1_1, other);
|
|
3263
3506
|
};
|
|
3264
3507
|
protoOf(ULong).k6 = function (other) {
|
|
3265
3508
|
return ULong__compareTo_impl_38i7tu_0(this, other);
|
|
3266
3509
|
};
|
|
3267
3510
|
protoOf(ULong).toString = function () {
|
|
3268
|
-
return ULong__toString_impl_f9au7k(this.
|
|
3511
|
+
return ULong__toString_impl_f9au7k(this.g1_1);
|
|
3269
3512
|
};
|
|
3270
3513
|
protoOf(ULong).hashCode = function () {
|
|
3271
|
-
return ULong__hashCode_impl_6hv2lb(this.
|
|
3514
|
+
return ULong__hashCode_impl_6hv2lb(this.g1_1);
|
|
3272
3515
|
};
|
|
3273
3516
|
protoOf(ULong).equals = function (other) {
|
|
3274
|
-
return ULong__equals_impl_o0gnyb(this.
|
|
3517
|
+
return ULong__equals_impl_o0gnyb(this.g1_1, other);
|
|
3275
3518
|
};
|
|
3276
3519
|
function _ULongArray___init__impl__twm1l3(storage) {
|
|
3277
3520
|
return storage;
|
|
@@ -3335,7 +3578,7 @@ function ULongArray__contains_impl_v9bgai_0($this, element) {
|
|
|
3335
3578
|
if (!(element instanceof ULong))
|
|
3336
3579
|
return false;
|
|
3337
3580
|
var tmp = $this.z6_1;
|
|
3338
|
-
return ULongArray__contains_impl_v9bgai(tmp, element instanceof ULong ? element.
|
|
3581
|
+
return ULongArray__contains_impl_v9bgai(tmp, element instanceof ULong ? element.g1_1 : THROW_CCE());
|
|
3339
3582
|
}
|
|
3340
3583
|
function ULongArray__containsAll_impl_xx8ztf($this, elements) {
|
|
3341
3584
|
var tmp$ret$0;
|
|
@@ -3344,7 +3587,7 @@ function ULongArray__containsAll_impl_xx8ztf($this, elements) {
|
|
|
3344
3587
|
var tmp0_all = isInterface(elements, Collection) ? elements : THROW_CCE();
|
|
3345
3588
|
var tmp;
|
|
3346
3589
|
if (isInterface(tmp0_all, Collection)) {
|
|
3347
|
-
tmp = tmp0_all.
|
|
3590
|
+
tmp = tmp0_all.n();
|
|
3348
3591
|
} else {
|
|
3349
3592
|
tmp = false;
|
|
3350
3593
|
}
|
|
@@ -3361,7 +3604,7 @@ function ULongArray__containsAll_impl_xx8ztf($this, elements) {
|
|
|
3361
3604
|
var tmp_1 = _ULongArray___get_storage__impl__28e64j($this);
|
|
3362
3605
|
var tmp$ret$1;
|
|
3363
3606
|
// Inline function 'kotlin.ULong.toLong' call
|
|
3364
|
-
var tmp0_toLong = element.
|
|
3607
|
+
var tmp0_toLong = element.g1_1;
|
|
3365
3608
|
tmp$ret$1 = _ULong___get_data__impl__fggpzb(tmp0_toLong);
|
|
3366
3609
|
tmp_0 = contains_1(tmp_1, tmp$ret$1);
|
|
3367
3610
|
} else {
|
|
@@ -3408,16 +3651,16 @@ protoOf(ULongArray).f = function () {
|
|
|
3408
3651
|
protoOf(ULongArray).a7 = function (element) {
|
|
3409
3652
|
return ULongArray__contains_impl_v9bgai(this.z6_1, element);
|
|
3410
3653
|
};
|
|
3411
|
-
protoOf(ULongArray).
|
|
3654
|
+
protoOf(ULongArray).m = function (element) {
|
|
3412
3655
|
return ULongArray__contains_impl_v9bgai_0(this, element);
|
|
3413
3656
|
};
|
|
3414
3657
|
protoOf(ULongArray).b7 = function (elements) {
|
|
3415
3658
|
return ULongArray__containsAll_impl_xx8ztf(this.z6_1, elements);
|
|
3416
3659
|
};
|
|
3417
|
-
protoOf(ULongArray).
|
|
3660
|
+
protoOf(ULongArray).j1 = function (elements) {
|
|
3418
3661
|
return ULongArray__containsAll_impl_xx8ztf_0(this, elements);
|
|
3419
3662
|
};
|
|
3420
|
-
protoOf(ULongArray).
|
|
3663
|
+
protoOf(ULongArray).n = function () {
|
|
3421
3664
|
return ULongArray__isEmpty_impl_c3yngu(this.z6_1);
|
|
3422
3665
|
};
|
|
3423
3666
|
protoOf(ULongArray).toString = function () {
|
|
@@ -3454,7 +3697,7 @@ function uintDivide(v1, v2) {
|
|
|
3454
3697
|
// Inline function 'kotlin.UInt.toLong' call
|
|
3455
3698
|
tmp$ret$1 = toLong_0(_UInt___get_data__impl__f0vqqw(v2)).i6(new Long(-1, 0));
|
|
3456
3699
|
var tmp0_toUInt = tmp.l5(tmp$ret$1);
|
|
3457
|
-
return _UInt___init__impl__l7qpdl(tmp0_toUInt.
|
|
3700
|
+
return _UInt___init__impl__l7qpdl(tmp0_toUInt.v());
|
|
3458
3701
|
}
|
|
3459
3702
|
function uintRemainder(v1, v2) {
|
|
3460
3703
|
// Inline function 'kotlin.toUInt' call
|
|
@@ -3464,20 +3707,20 @@ function uintRemainder(v1, v2) {
|
|
|
3464
3707
|
// Inline function 'kotlin.UInt.toLong' call
|
|
3465
3708
|
tmp$ret$1 = toLong_0(_UInt___get_data__impl__f0vqqw(v2)).i6(new Long(-1, 0));
|
|
3466
3709
|
var tmp0_toUInt = tmp.c7(tmp$ret$1);
|
|
3467
|
-
return _UInt___init__impl__l7qpdl(tmp0_toUInt.
|
|
3710
|
+
return _UInt___init__impl__l7qpdl(tmp0_toUInt.v());
|
|
3468
3711
|
}
|
|
3469
3712
|
function ulongCompare(v1, v2) {
|
|
3470
3713
|
Companion_getInstance_13();
|
|
3471
3714
|
var tmp = v1.d7(new Long(0, -2147483648));
|
|
3472
3715
|
Companion_getInstance_13();
|
|
3473
|
-
return tmp.
|
|
3716
|
+
return tmp.w(v2.d7(new Long(0, -2147483648)));
|
|
3474
3717
|
}
|
|
3475
3718
|
function ulongDivide(v1, v2) {
|
|
3476
3719
|
// Inline function 'kotlin.ULong.toLong' call
|
|
3477
3720
|
var dividend = _ULong___get_data__impl__fggpzb(v1);
|
|
3478
3721
|
// Inline function 'kotlin.ULong.toLong' call
|
|
3479
3722
|
var divisor = _ULong___get_data__impl__fggpzb(v2);
|
|
3480
|
-
if (divisor.
|
|
3723
|
+
if (divisor.w(new Long(0, 0)) < 0) {
|
|
3481
3724
|
var tmp;
|
|
3482
3725
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
3483
3726
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(v1), _ULong___get_data__impl__fggpzb(v2)) < 0) {
|
|
@@ -3487,7 +3730,7 @@ function ulongDivide(v1, v2) {
|
|
|
3487
3730
|
}
|
|
3488
3731
|
return tmp;
|
|
3489
3732
|
}
|
|
3490
|
-
if (dividend.
|
|
3733
|
+
if (dividend.w(new Long(0, 0)) >= 0) {
|
|
3491
3734
|
return _ULong___init__impl__c78o9k(dividend.l5(divisor));
|
|
3492
3735
|
}
|
|
3493
3736
|
var quotient = dividend.e7(1).l5(divisor).f7(1);
|
|
@@ -3512,7 +3755,7 @@ function ulongRemainder(v1, v2) {
|
|
|
3512
3755
|
var dividend = _ULong___get_data__impl__fggpzb(v1);
|
|
3513
3756
|
// Inline function 'kotlin.ULong.toLong' call
|
|
3514
3757
|
var divisor = _ULong___get_data__impl__fggpzb(v2);
|
|
3515
|
-
if (divisor.
|
|
3758
|
+
if (divisor.w(new Long(0, 0)) < 0) {
|
|
3516
3759
|
var tmp;
|
|
3517
3760
|
// Inline function 'kotlin.ULong.compareTo' call
|
|
3518
3761
|
if (ulongCompare(_ULong___get_data__impl__fggpzb(v1), _ULong___get_data__impl__fggpzb(v2)) < 0) {
|
|
@@ -3523,7 +3766,7 @@ function ulongRemainder(v1, v2) {
|
|
|
3523
3766
|
}
|
|
3524
3767
|
return tmp;
|
|
3525
3768
|
}
|
|
3526
|
-
if (dividend.
|
|
3769
|
+
if (dividend.w(new Long(0, 0)) >= 0) {
|
|
3527
3770
|
return _ULong___init__impl__c78o9k(dividend.c7(divisor));
|
|
3528
3771
|
}
|
|
3529
3772
|
var quotient = dividend.e7(1).l5(divisor).f7(1);
|
|
@@ -3543,7 +3786,7 @@ function ulongToString(v) {
|
|
|
3543
3786
|
return ulongToString_0(v, 10);
|
|
3544
3787
|
}
|
|
3545
3788
|
function ulongToString_0(v, base) {
|
|
3546
|
-
if (v.
|
|
3789
|
+
if (v.w(new Long(0, 0)) >= 0)
|
|
3547
3790
|
return toString_4(v, base);
|
|
3548
3791
|
// Inline function 'kotlin.Long.div' call
|
|
3549
3792
|
var quotient = v.e7(1).l5(toLong_0(base)).f7(1);
|
|
@@ -3551,7 +3794,7 @@ function ulongToString_0(v, base) {
|
|
|
3551
3794
|
// Inline function 'kotlin.Long.times' call
|
|
3552
3795
|
tmp$ret$1 = quotient.m5(toLong_0(base));
|
|
3553
3796
|
var rem = v.o5(tmp$ret$1);
|
|
3554
|
-
if (rem.
|
|
3797
|
+
if (rem.w(toLong_0(base)) >= 0) {
|
|
3555
3798
|
// Inline function 'kotlin.Long.minus' call
|
|
3556
3799
|
rem = rem.o5(toLong_0(base));
|
|
3557
3800
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -3742,9 +3985,9 @@ function collectionsSort(list, comparator) {
|
|
|
3742
3985
|
while (inductionVariable < last);
|
|
3743
3986
|
}
|
|
3744
3987
|
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
3745
|
-
Companion_getInstance().
|
|
3988
|
+
Companion_getInstance().u1(startIndex, endIndex, source.length);
|
|
3746
3989
|
var rangeSize = endIndex - startIndex | 0;
|
|
3747
|
-
Companion_getInstance().
|
|
3990
|
+
Companion_getInstance().u1(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
|
|
3748
3991
|
if (isView(destination) ? isView(source) : false) {
|
|
3749
3992
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3750
3993
|
var subrange = source.subarray(startIndex, endIndex);
|
|
@@ -3817,17 +4060,17 @@ protoOf(IteratorImpl_0).h = function () {
|
|
|
3817
4060
|
function ListIteratorImpl_0($outer, index) {
|
|
3818
4061
|
this.w7_1 = $outer;
|
|
3819
4062
|
IteratorImpl_0.call(this, $outer);
|
|
3820
|
-
Companion_getInstance().
|
|
4063
|
+
Companion_getInstance().p1(index, this.w7_1.i());
|
|
3821
4064
|
this.q7_1 = index;
|
|
3822
4065
|
}
|
|
3823
|
-
protoOf(ListIteratorImpl_0).
|
|
4066
|
+
protoOf(ListIteratorImpl_0).q1 = function () {
|
|
3824
4067
|
return this.q7_1 > 0;
|
|
3825
4068
|
};
|
|
3826
|
-
protoOf(ListIteratorImpl_0).
|
|
4069
|
+
protoOf(ListIteratorImpl_0).r1 = function () {
|
|
3827
4070
|
return this.q7_1;
|
|
3828
4071
|
};
|
|
3829
|
-
protoOf(ListIteratorImpl_0).
|
|
3830
|
-
if (!this.
|
|
4072
|
+
protoOf(ListIteratorImpl_0).s1 = function () {
|
|
4073
|
+
if (!this.q1())
|
|
3831
4074
|
throw NoSuchElementException_init_$Create$();
|
|
3832
4075
|
var tmp = this;
|
|
3833
4076
|
this.q7_1 = this.q7_1 - 1 | 0;
|
|
@@ -3846,10 +4089,10 @@ protoOf(AbstractMutableList).a = function (element) {
|
|
|
3846
4089
|
protoOf(AbstractMutableList).f = function () {
|
|
3847
4090
|
return new IteratorImpl_0(this);
|
|
3848
4091
|
};
|
|
3849
|
-
protoOf(AbstractMutableList).
|
|
3850
|
-
return this.
|
|
4092
|
+
protoOf(AbstractMutableList).m = function (element) {
|
|
4093
|
+
return this.o(element) >= 0;
|
|
3851
4094
|
};
|
|
3852
|
-
protoOf(AbstractMutableList).
|
|
4095
|
+
protoOf(AbstractMutableList).o = function (element) {
|
|
3853
4096
|
var inductionVariable = 0;
|
|
3854
4097
|
var last = get_lastIndex_0(this);
|
|
3855
4098
|
if (inductionVariable <= last)
|
|
@@ -3863,7 +4106,7 @@ protoOf(AbstractMutableList).n = function (element) {
|
|
|
3863
4106
|
while (!(index === last));
|
|
3864
4107
|
return -1;
|
|
3865
4108
|
};
|
|
3866
|
-
protoOf(AbstractMutableList).
|
|
4109
|
+
protoOf(AbstractMutableList).l = function (index) {
|
|
3867
4110
|
return new ListIteratorImpl_0(this, index);
|
|
3868
4111
|
};
|
|
3869
4112
|
protoOf(AbstractMutableList).equals = function (other) {
|
|
@@ -3871,10 +4114,10 @@ protoOf(AbstractMutableList).equals = function (other) {
|
|
|
3871
4114
|
return true;
|
|
3872
4115
|
if (!(!(other == null) ? isInterface(other, List) : false))
|
|
3873
4116
|
return false;
|
|
3874
|
-
return Companion_getInstance().
|
|
4117
|
+
return Companion_getInstance().x1(this, other);
|
|
3875
4118
|
};
|
|
3876
4119
|
protoOf(AbstractMutableList).hashCode = function () {
|
|
3877
|
-
return Companion_getInstance().
|
|
4120
|
+
return Companion_getInstance().w1(this);
|
|
3878
4121
|
};
|
|
3879
4122
|
function AbstractMutableMap$keys$1$iterator$1($entryIterator) {
|
|
3880
4123
|
this.x7_1 = $entryIterator;
|
|
@@ -3912,7 +4155,7 @@ protoOf(SimpleEntry).equals = function (other) {
|
|
|
3912
4155
|
function AbstractEntrySet() {
|
|
3913
4156
|
AbstractMutableSet.call(this);
|
|
3914
4157
|
}
|
|
3915
|
-
protoOf(AbstractEntrySet).
|
|
4158
|
+
protoOf(AbstractEntrySet).m = function (element) {
|
|
3916
4159
|
return this.b8(element);
|
|
3917
4160
|
};
|
|
3918
4161
|
function AbstractMutableMap$keys$1(this$0) {
|
|
@@ -3928,7 +4171,7 @@ protoOf(AbstractMutableMap$keys$1).a = function (element) {
|
|
|
3928
4171
|
protoOf(AbstractMutableMap$keys$1).g2 = function (element) {
|
|
3929
4172
|
return this.c8_1.j2(element);
|
|
3930
4173
|
};
|
|
3931
|
-
protoOf(AbstractMutableMap$keys$1).
|
|
4174
|
+
protoOf(AbstractMutableMap$keys$1).m = function (element) {
|
|
3932
4175
|
if (!(element == null ? true : isObject(element)))
|
|
3933
4176
|
return false;
|
|
3934
4177
|
return this.g2((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
@@ -4039,14 +4282,14 @@ function rangeCheck($this, index) {
|
|
|
4039
4282
|
// Inline function 'kotlin.apply' call
|
|
4040
4283
|
// Inline function 'kotlin.contracts.contract' call
|
|
4041
4284
|
// Inline function 'kotlin.collections.ArrayList.rangeCheck.<anonymous>' call
|
|
4042
|
-
Companion_getInstance().
|
|
4285
|
+
Companion_getInstance().t1(index, $this.i());
|
|
4043
4286
|
return index;
|
|
4044
4287
|
}
|
|
4045
4288
|
function insertionRangeCheck($this, index) {
|
|
4046
4289
|
// Inline function 'kotlin.apply' call
|
|
4047
4290
|
// Inline function 'kotlin.contracts.contract' call
|
|
4048
4291
|
// Inline function 'kotlin.collections.ArrayList.insertionRangeCheck.<anonymous>' call
|
|
4049
|
-
Companion_getInstance().
|
|
4292
|
+
Companion_getInstance().p1(index, $this.i());
|
|
4050
4293
|
return index;
|
|
4051
4294
|
}
|
|
4052
4295
|
function ArrayList(array) {
|
|
@@ -4088,7 +4331,7 @@ protoOf(ArrayList).d3 = function (index, element) {
|
|
|
4088
4331
|
};
|
|
4089
4332
|
protoOf(ArrayList).j = function (elements) {
|
|
4090
4333
|
this.j3();
|
|
4091
|
-
if (elements.
|
|
4334
|
+
if (elements.n())
|
|
4092
4335
|
return false;
|
|
4093
4336
|
var offset = increaseLength(this, elements.i());
|
|
4094
4337
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
@@ -4119,7 +4362,7 @@ protoOf(ArrayList).f3 = function (index) {
|
|
|
4119
4362
|
}
|
|
4120
4363
|
return tmp;
|
|
4121
4364
|
};
|
|
4122
|
-
protoOf(ArrayList).
|
|
4365
|
+
protoOf(ArrayList).o = function (element) {
|
|
4123
4366
|
return indexOf(this.c_1, element);
|
|
4124
4367
|
};
|
|
4125
4368
|
protoOf(ArrayList).toString = function () {
|
|
@@ -4379,11 +4622,11 @@ protoOf(HashSet).a = function (element) {
|
|
|
4379
4622
|
var old = this.x8_1.y3(element, this);
|
|
4380
4623
|
return old == null;
|
|
4381
4624
|
};
|
|
4382
|
-
protoOf(HashSet).
|
|
4625
|
+
protoOf(HashSet).m = function (element) {
|
|
4383
4626
|
return this.x8_1.j2(element);
|
|
4384
4627
|
};
|
|
4385
|
-
protoOf(HashSet).
|
|
4386
|
-
return this.x8_1.
|
|
4628
|
+
protoOf(HashSet).n = function () {
|
|
4629
|
+
return this.x8_1.n();
|
|
4387
4630
|
};
|
|
4388
4631
|
protoOf(HashSet).f = function () {
|
|
4389
4632
|
return this.x8_1.n2().f();
|
|
@@ -4784,6 +5027,8 @@ protoOf(LinkedHashSet).j3 = function () {
|
|
|
4784
5027
|
function LinkedHashSet() {
|
|
4785
5028
|
Companion_getInstance_9();
|
|
4786
5029
|
}
|
|
5030
|
+
function RandomAccess() {
|
|
5031
|
+
}
|
|
4787
5032
|
function get_output() {
|
|
4788
5033
|
_init_properties_console_kt__rfg7jv();
|
|
4789
5034
|
return output;
|
|
@@ -4864,7 +5109,7 @@ function abs(n) {
|
|
|
4864
5109
|
return n < 0 ? -n | 0 | 0 : n;
|
|
4865
5110
|
}
|
|
4866
5111
|
function abs_0(n) {
|
|
4867
|
-
return n.
|
|
5112
|
+
return n.w(new Long(0, 0)) < 0 ? n.k5() : n;
|
|
4868
5113
|
}
|
|
4869
5114
|
function isNaN_0(_this__u8e3s4) {
|
|
4870
5115
|
return !(_this__u8e3s4 === _this__u8e3s4);
|
|
@@ -5389,15 +5634,15 @@ function StringBuilder_init_$Create$_1() {
|
|
|
5389
5634
|
return StringBuilder_init_$Init$_1(objectCreate(protoOf(StringBuilder)));
|
|
5390
5635
|
}
|
|
5391
5636
|
function StringBuilder(content) {
|
|
5392
|
-
this.
|
|
5637
|
+
this.z_1 = !(content === undefined) ? content : '';
|
|
5393
5638
|
}
|
|
5394
5639
|
protoOf(StringBuilder).g7 = function () {
|
|
5395
5640
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5396
|
-
return this.
|
|
5641
|
+
return this.z_1.length;
|
|
5397
5642
|
};
|
|
5398
5643
|
protoOf(StringBuilder).h7 = function (index) {
|
|
5399
5644
|
// Inline function 'kotlin.text.getOrElse' call
|
|
5400
|
-
var tmp0_getOrElse = this.
|
|
5645
|
+
var tmp0_getOrElse = this.z_1;
|
|
5401
5646
|
var tmp;
|
|
5402
5647
|
if (index >= 0 ? index <= get_lastIndex_1(tmp0_getOrElse) : false) {
|
|
5403
5648
|
tmp = charSequenceGet(tmp0_getOrElse, index);
|
|
@@ -5409,26 +5654,26 @@ protoOf(StringBuilder).h7 = function (index) {
|
|
|
5409
5654
|
protoOf(StringBuilder).i7 = function (startIndex, endIndex) {
|
|
5410
5655
|
// Inline function 'kotlin.text.substring' call
|
|
5411
5656
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5412
|
-
return this.
|
|
5657
|
+
return this.z_1.substring(startIndex, endIndex);
|
|
5413
5658
|
};
|
|
5414
5659
|
protoOf(StringBuilder).j5 = function (value) {
|
|
5415
|
-
this.
|
|
5660
|
+
this.z_1 = this.z_1 + new Char(value);
|
|
5416
5661
|
return this;
|
|
5417
5662
|
};
|
|
5418
5663
|
protoOf(StringBuilder).e = function (value) {
|
|
5419
|
-
this.
|
|
5664
|
+
this.z_1 = this.z_1 + toString_2(value);
|
|
5420
5665
|
return this;
|
|
5421
5666
|
};
|
|
5422
|
-
protoOf(StringBuilder).
|
|
5667
|
+
protoOf(StringBuilder).a1 = function () {
|
|
5423
5668
|
var reversed = '';
|
|
5424
|
-
var index = this.
|
|
5669
|
+
var index = this.z_1.length - 1 | 0;
|
|
5425
5670
|
while (index >= 0) {
|
|
5426
|
-
var tmp = this.
|
|
5671
|
+
var tmp = this.z_1;
|
|
5427
5672
|
var tmp0 = index;
|
|
5428
5673
|
index = tmp0 - 1 | 0;
|
|
5429
5674
|
var low = charSequenceGet(tmp, tmp0);
|
|
5430
5675
|
if (isLowSurrogate(low) ? index >= 0 : false) {
|
|
5431
|
-
var tmp_0 = this.
|
|
5676
|
+
var tmp_0 = this.z_1;
|
|
5432
5677
|
var tmp1 = index;
|
|
5433
5678
|
index = tmp1 - 1 | 0;
|
|
5434
5679
|
var high = charSequenceGet(tmp_0, tmp1);
|
|
@@ -5441,21 +5686,21 @@ protoOf(StringBuilder).z = function () {
|
|
|
5441
5686
|
reversed = reversed + new Char(low);
|
|
5442
5687
|
}
|
|
5443
5688
|
}
|
|
5444
|
-
this.
|
|
5689
|
+
this.z_1 = reversed;
|
|
5445
5690
|
return this;
|
|
5446
5691
|
};
|
|
5447
5692
|
protoOf(StringBuilder).sb = function (value) {
|
|
5448
|
-
this.
|
|
5693
|
+
this.z_1 = this.z_1 + toString_2(value);
|
|
5449
5694
|
return this;
|
|
5450
5695
|
};
|
|
5451
5696
|
protoOf(StringBuilder).tb = function (value) {
|
|
5452
5697
|
var tmp = this;
|
|
5453
|
-
var tmp_0 = this.
|
|
5454
|
-
tmp.
|
|
5698
|
+
var tmp_0 = this.z_1;
|
|
5699
|
+
tmp.z_1 = tmp_0 + (value == null ? 'null' : value);
|
|
5455
5700
|
return this;
|
|
5456
5701
|
};
|
|
5457
5702
|
protoOf(StringBuilder).toString = function () {
|
|
5458
|
-
return this.
|
|
5703
|
+
return this.z_1;
|
|
5459
5704
|
};
|
|
5460
5705
|
function isLowSurrogate(_this__u8e3s4) {
|
|
5461
5706
|
Companion_getInstance_11();
|
|
@@ -5669,8 +5914,8 @@ protoOf(Regex).ic = function (input, limit) {
|
|
|
5669
5914
|
var tmp0_iterator = matches.f();
|
|
5670
5915
|
while (tmp0_iterator.g()) {
|
|
5671
5916
|
var match = tmp0_iterator.h();
|
|
5672
|
-
result.a(toString_3(charSequenceSubSequence(input, lastStart, match.jc().
|
|
5673
|
-
lastStart = match.jc().
|
|
5917
|
+
result.a(toString_3(charSequenceSubSequence(input, lastStart, match.jc().e1())));
|
|
5918
|
+
lastStart = match.jc().f1() + 1 | 0;
|
|
5674
5919
|
}
|
|
5675
5920
|
result.a(toString_3(charSequenceSubSequence(input, lastStart, charSequenceLength(input))));
|
|
5676
5921
|
return result;
|
|
@@ -5773,7 +6018,7 @@ protoOf(findNext$1).jc = function () {
|
|
|
5773
6018
|
return this.qc_1;
|
|
5774
6019
|
};
|
|
5775
6020
|
protoOf(findNext$1).h = function () {
|
|
5776
|
-
return findNext(this.vc_1, this.wc_1, this.tc_1.
|
|
6021
|
+
return findNext(this.vc_1, this.wc_1, this.tc_1.n() ? advanceToNextCharacter(this, this.tc_1.e1()) : this.tc_1.f1() + 1 | 0, this.vc_1);
|
|
5777
6022
|
};
|
|
5778
6023
|
var STRING_CASE_INSENSITIVE_ORDER;
|
|
5779
6024
|
function concatToString(_this__u8e3s4) {
|
|
@@ -5792,7 +6037,7 @@ function concatToString_0(_this__u8e3s4, startIndex, endIndex) {
|
|
|
5792
6037
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5793
6038
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
5794
6039
|
_init_properties_string_kt__3w3j69();
|
|
5795
|
-
Companion_getInstance().
|
|
6040
|
+
Companion_getInstance().v1(startIndex, endIndex, _this__u8e3s4.length);
|
|
5796
6041
|
var result = '';
|
|
5797
6042
|
var inductionVariable = startIndex;
|
|
5798
6043
|
if (inductionVariable < endIndex)
|
|
@@ -5966,7 +6211,7 @@ function isBlank(_this__u8e3s4) {
|
|
|
5966
6211
|
var tmp0_all = get_indices_0(_this__u8e3s4);
|
|
5967
6212
|
var tmp_0;
|
|
5968
6213
|
if (isInterface(tmp0_all, Collection)) {
|
|
5969
|
-
tmp_0 = tmp0_all.
|
|
6214
|
+
tmp_0 = tmp0_all.n();
|
|
5970
6215
|
} else {
|
|
5971
6216
|
tmp_0 = false;
|
|
5972
6217
|
}
|
|
@@ -6637,14 +6882,14 @@ function Companion_getInstance_13() {
|
|
|
6637
6882
|
function Long(low, high) {
|
|
6638
6883
|
Companion_getInstance_13();
|
|
6639
6884
|
Number_0.call(this);
|
|
6640
|
-
this.
|
|
6641
|
-
this.
|
|
6885
|
+
this.t_1 = low;
|
|
6886
|
+
this.u_1 = high;
|
|
6642
6887
|
}
|
|
6643
|
-
protoOf(Long).
|
|
6888
|
+
protoOf(Long).w = function (other) {
|
|
6644
6889
|
return compare(this, other);
|
|
6645
6890
|
};
|
|
6646
6891
|
protoOf(Long).k6 = function (other) {
|
|
6647
|
-
return this.
|
|
6892
|
+
return this.w(other instanceof Long ? other : THROW_CCE());
|
|
6648
6893
|
};
|
|
6649
6894
|
protoOf(Long).n5 = function (other) {
|
|
6650
6895
|
return add(this, other);
|
|
@@ -6677,19 +6922,19 @@ protoOf(Long).e7 = function (bitCount) {
|
|
|
6677
6922
|
return shiftRightUnsigned(this, bitCount);
|
|
6678
6923
|
};
|
|
6679
6924
|
protoOf(Long).i6 = function (other) {
|
|
6680
|
-
return new Long(this.
|
|
6925
|
+
return new Long(this.t_1 & other.t_1, this.u_1 & other.u_1);
|
|
6681
6926
|
};
|
|
6682
6927
|
protoOf(Long).vd = function (other) {
|
|
6683
|
-
return new Long(this.
|
|
6928
|
+
return new Long(this.t_1 | other.t_1, this.u_1 | other.u_1);
|
|
6684
6929
|
};
|
|
6685
6930
|
protoOf(Long).d7 = function (other) {
|
|
6686
|
-
return new Long(this.
|
|
6931
|
+
return new Long(this.t_1 ^ other.t_1, this.u_1 ^ other.u_1);
|
|
6687
6932
|
};
|
|
6688
6933
|
protoOf(Long).ud = function () {
|
|
6689
|
-
return new Long(~this.
|
|
6934
|
+
return new Long(~this.t_1, ~this.u_1);
|
|
6690
6935
|
};
|
|
6691
|
-
protoOf(Long).
|
|
6692
|
-
return this.
|
|
6936
|
+
protoOf(Long).v = function () {
|
|
6937
|
+
return this.t_1;
|
|
6693
6938
|
};
|
|
6694
6939
|
protoOf(Long).nd = function () {
|
|
6695
6940
|
return toNumber(this);
|
|
@@ -6753,14 +6998,14 @@ function compare(_this__u8e3s4, other) {
|
|
|
6753
6998
|
}
|
|
6754
6999
|
function add(_this__u8e3s4, other) {
|
|
6755
7000
|
_init_properties_longjs_kt__tqrzid();
|
|
6756
|
-
var a48 = _this__u8e3s4.
|
|
6757
|
-
var a32 = _this__u8e3s4.
|
|
6758
|
-
var a16 = _this__u8e3s4.
|
|
6759
|
-
var a00 = _this__u8e3s4.
|
|
6760
|
-
var b48 = other.
|
|
6761
|
-
var b32 = other.
|
|
6762
|
-
var b16 = other.
|
|
6763
|
-
var b00 = other.
|
|
7001
|
+
var a48 = _this__u8e3s4.u_1 >>> 16 | 0;
|
|
7002
|
+
var a32 = _this__u8e3s4.u_1 & 65535;
|
|
7003
|
+
var a16 = _this__u8e3s4.t_1 >>> 16 | 0;
|
|
7004
|
+
var a00 = _this__u8e3s4.t_1 & 65535;
|
|
7005
|
+
var b48 = other.u_1 >>> 16 | 0;
|
|
7006
|
+
var b32 = other.u_1 & 65535;
|
|
7007
|
+
var b16 = other.t_1 >>> 16 | 0;
|
|
7008
|
+
var b00 = other.t_1 & 65535;
|
|
6764
7009
|
var c48 = 0;
|
|
6765
7010
|
var c32 = 0;
|
|
6766
7011
|
var c16 = 0;
|
|
@@ -6808,14 +7053,14 @@ function multiply(_this__u8e3s4, other) {
|
|
|
6808
7053
|
if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) ? lessThan(other, get_TWO_PWR_24_()) : false) {
|
|
6809
7054
|
return fromNumber(toNumber(_this__u8e3s4) * toNumber(other));
|
|
6810
7055
|
}
|
|
6811
|
-
var a48 = _this__u8e3s4.
|
|
6812
|
-
var a32 = _this__u8e3s4.
|
|
6813
|
-
var a16 = _this__u8e3s4.
|
|
6814
|
-
var a00 = _this__u8e3s4.
|
|
6815
|
-
var b48 = other.
|
|
6816
|
-
var b32 = other.
|
|
6817
|
-
var b16 = other.
|
|
6818
|
-
var b00 = other.
|
|
7056
|
+
var a48 = _this__u8e3s4.u_1 >>> 16 | 0;
|
|
7057
|
+
var a32 = _this__u8e3s4.u_1 & 65535;
|
|
7058
|
+
var a16 = _this__u8e3s4.t_1 >>> 16 | 0;
|
|
7059
|
+
var a00 = _this__u8e3s4.t_1 & 65535;
|
|
7060
|
+
var b48 = other.u_1 >>> 16 | 0;
|
|
7061
|
+
var b32 = other.u_1 & 65535;
|
|
7062
|
+
var b16 = other.t_1 >>> 16 | 0;
|
|
7063
|
+
var b00 = other.t_1 & 65535;
|
|
6819
7064
|
var c48 = 0;
|
|
6820
7065
|
var c32 = 0;
|
|
6821
7066
|
var c16 = 0;
|
|
@@ -6911,9 +7156,9 @@ function shiftLeft(_this__u8e3s4, numBits) {
|
|
|
6911
7156
|
return _this__u8e3s4;
|
|
6912
7157
|
} else {
|
|
6913
7158
|
if (numBits_0 < 32) {
|
|
6914
|
-
return new Long(_this__u8e3s4.
|
|
7159
|
+
return new Long(_this__u8e3s4.t_1 << numBits_0, _this__u8e3s4.u_1 << numBits_0 | (_this__u8e3s4.t_1 >>> (32 - numBits_0 | 0) | 0));
|
|
6915
7160
|
} else {
|
|
6916
|
-
return new Long(0, _this__u8e3s4.
|
|
7161
|
+
return new Long(0, _this__u8e3s4.t_1 << (numBits_0 - 32 | 0));
|
|
6917
7162
|
}
|
|
6918
7163
|
}
|
|
6919
7164
|
}
|
|
@@ -6924,9 +7169,9 @@ function shiftRight(_this__u8e3s4, numBits) {
|
|
|
6924
7169
|
return _this__u8e3s4;
|
|
6925
7170
|
} else {
|
|
6926
7171
|
if (numBits_0 < 32) {
|
|
6927
|
-
return new Long(_this__u8e3s4.
|
|
7172
|
+
return new Long(_this__u8e3s4.t_1 >>> numBits_0 | 0 | _this__u8e3s4.u_1 << (32 - numBits_0 | 0), _this__u8e3s4.u_1 >> numBits_0);
|
|
6928
7173
|
} else {
|
|
6929
|
-
return new Long(_this__u8e3s4.
|
|
7174
|
+
return new Long(_this__u8e3s4.u_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.u_1 >= 0 ? 0 : -1);
|
|
6930
7175
|
}
|
|
6931
7176
|
}
|
|
6932
7177
|
}
|
|
@@ -6937,13 +7182,13 @@ function shiftRightUnsigned(_this__u8e3s4, numBits) {
|
|
|
6937
7182
|
return _this__u8e3s4;
|
|
6938
7183
|
} else {
|
|
6939
7184
|
if (numBits_0 < 32) {
|
|
6940
|
-
return new Long(_this__u8e3s4.
|
|
7185
|
+
return new Long(_this__u8e3s4.t_1 >>> numBits_0 | 0 | _this__u8e3s4.u_1 << (32 - numBits_0 | 0), _this__u8e3s4.u_1 >>> numBits_0 | 0);
|
|
6941
7186
|
} else {
|
|
6942
7187
|
var tmp;
|
|
6943
7188
|
if (numBits_0 === 32) {
|
|
6944
|
-
tmp = new Long(_this__u8e3s4.
|
|
7189
|
+
tmp = new Long(_this__u8e3s4.u_1, 0);
|
|
6945
7190
|
} else {
|
|
6946
|
-
tmp = new Long(_this__u8e3s4.
|
|
7191
|
+
tmp = new Long(_this__u8e3s4.u_1 >>> (numBits_0 - 32 | 0) | 0, 0);
|
|
6947
7192
|
}
|
|
6948
7193
|
return tmp;
|
|
6949
7194
|
}
|
|
@@ -6951,15 +7196,15 @@ function shiftRightUnsigned(_this__u8e3s4, numBits) {
|
|
|
6951
7196
|
}
|
|
6952
7197
|
function toNumber(_this__u8e3s4) {
|
|
6953
7198
|
_init_properties_longjs_kt__tqrzid();
|
|
6954
|
-
return _this__u8e3s4.
|
|
7199
|
+
return _this__u8e3s4.u_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
|
|
6955
7200
|
}
|
|
6956
7201
|
function equalsLong(_this__u8e3s4, other) {
|
|
6957
7202
|
_init_properties_longjs_kt__tqrzid();
|
|
6958
|
-
return _this__u8e3s4.
|
|
7203
|
+
return _this__u8e3s4.u_1 === other.u_1 ? _this__u8e3s4.t_1 === other.t_1 : false;
|
|
6959
7204
|
}
|
|
6960
7205
|
function hashCode_0(l) {
|
|
6961
7206
|
_init_properties_longjs_kt__tqrzid();
|
|
6962
|
-
return l.
|
|
7207
|
+
return l.t_1 ^ l.u_1;
|
|
6963
7208
|
}
|
|
6964
7209
|
function toStringImpl(_this__u8e3s4, radix) {
|
|
6965
7210
|
_init_properties_longjs_kt__tqrzid();
|
|
@@ -6973,7 +7218,7 @@ function toStringImpl(_this__u8e3s4, radix) {
|
|
|
6973
7218
|
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
6974
7219
|
var radixLong = fromInt(radix);
|
|
6975
7220
|
var div = _this__u8e3s4.l5(radixLong);
|
|
6976
|
-
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).
|
|
7221
|
+
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).v();
|
|
6977
7222
|
var tmp = toStringImpl(div, radix);
|
|
6978
7223
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6979
7224
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -6988,7 +7233,7 @@ function toStringImpl(_this__u8e3s4, radix) {
|
|
|
6988
7233
|
var result = '';
|
|
6989
7234
|
while (true) {
|
|
6990
7235
|
var remDiv = rem_0.l5(radixToPower);
|
|
6991
|
-
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).
|
|
7236
|
+
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).v();
|
|
6992
7237
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6993
7238
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6994
7239
|
var digits = intval.toString(radix);
|
|
@@ -7009,15 +7254,15 @@ function fromInt(value) {
|
|
|
7009
7254
|
}
|
|
7010
7255
|
function isNegative(_this__u8e3s4) {
|
|
7011
7256
|
_init_properties_longjs_kt__tqrzid();
|
|
7012
|
-
return _this__u8e3s4.
|
|
7257
|
+
return _this__u8e3s4.u_1 < 0;
|
|
7013
7258
|
}
|
|
7014
7259
|
function isZero(_this__u8e3s4) {
|
|
7015
7260
|
_init_properties_longjs_kt__tqrzid();
|
|
7016
|
-
return _this__u8e3s4.
|
|
7261
|
+
return _this__u8e3s4.u_1 === 0 ? _this__u8e3s4.t_1 === 0 : false;
|
|
7017
7262
|
}
|
|
7018
7263
|
function isOdd(_this__u8e3s4) {
|
|
7019
7264
|
_init_properties_longjs_kt__tqrzid();
|
|
7020
|
-
return (_this__u8e3s4.
|
|
7265
|
+
return (_this__u8e3s4.t_1 & 1) === 1;
|
|
7021
7266
|
}
|
|
7022
7267
|
function negate(_this__u8e3s4) {
|
|
7023
7268
|
_init_properties_longjs_kt__tqrzid();
|
|
@@ -7057,7 +7302,7 @@ function greaterThanOrEqual(_this__u8e3s4, other) {
|
|
|
7057
7302
|
}
|
|
7058
7303
|
function getLowBitsUnsigned(_this__u8e3s4) {
|
|
7059
7304
|
_init_properties_longjs_kt__tqrzid();
|
|
7060
|
-
return _this__u8e3s4.
|
|
7305
|
+
return _this__u8e3s4.t_1 >= 0 ? _this__u8e3s4.t_1 : 4.294967296E9 + _this__u8e3s4.t_1;
|
|
7061
7306
|
}
|
|
7062
7307
|
var properties_initialized_longjs_kt_5aju7t;
|
|
7063
7308
|
function _init_properties_longjs_kt__tqrzid() {
|
|
@@ -7074,7 +7319,7 @@ function _init_properties_longjs_kt__tqrzid() {
|
|
|
7074
7319
|
function numberToInt(a) {
|
|
7075
7320
|
var tmp;
|
|
7076
7321
|
if (a instanceof Long) {
|
|
7077
|
-
tmp = a.
|
|
7322
|
+
tmp = a.v();
|
|
7078
7323
|
} else {
|
|
7079
7324
|
tmp = doubleToInt(a);
|
|
7080
7325
|
}
|
|
@@ -7388,7 +7633,7 @@ function _init_properties_void_kt__3zg9as() {
|
|
|
7388
7633
|
function fill(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
7389
7634
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
7390
7635
|
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
7391
|
-
Companion_getInstance().
|
|
7636
|
+
Companion_getInstance().u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
7392
7637
|
// Inline function 'kotlin.js.nativeFill' call
|
|
7393
7638
|
// Inline function 'kotlin.js.asDynamic' call
|
|
7394
7639
|
_this__u8e3s4.fill(element, fromIndex, toIndex);
|
|
@@ -7407,7 +7652,7 @@ function sort_0(_this__u8e3s4) {
|
|
|
7407
7652
|
function sort_1(_this__u8e3s4, fromIndex, toIndex) {
|
|
7408
7653
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
7409
7654
|
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
7410
|
-
Companion_getInstance().
|
|
7655
|
+
Companion_getInstance().u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
7411
7656
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
7412
7657
|
// Inline function 'kotlin.js.asDynamic' call
|
|
7413
7658
|
var subarray = _this__u8e3s4.subarray(fromIndex, toIndex);
|
|
@@ -7419,7 +7664,7 @@ function sort_2(_this__u8e3s4) {
|
|
|
7419
7664
|
}
|
|
7420
7665
|
}
|
|
7421
7666
|
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
|
|
7422
|
-
Companion_getInstance().
|
|
7667
|
+
Companion_getInstance().u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
7423
7668
|
// Inline function 'withType' call
|
|
7424
7669
|
// Inline function 'kotlin.js.asDynamic' call
|
|
7425
7670
|
var tmp0_withType = _this__u8e3s4.slice(fromIndex, toIndex);
|
|
@@ -7434,7 +7679,7 @@ function copyOf(_this__u8e3s4) {
|
|
|
7434
7679
|
return tmp0_withType;
|
|
7435
7680
|
}
|
|
7436
7681
|
function copyOfRange_0(_this__u8e3s4, fromIndex, toIndex) {
|
|
7437
|
-
Companion_getInstance().
|
|
7682
|
+
Companion_getInstance().u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
7438
7683
|
// Inline function 'kotlin.js.asDynamic' call
|
|
7439
7684
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
7440
7685
|
}
|
|
@@ -7598,19 +7843,19 @@ function asList$1($this_asList) {
|
|
|
7598
7843
|
protoOf(asList$1).i = function () {
|
|
7599
7844
|
return _ULongArray___get_size__impl__ju6dtr(this.ae_1);
|
|
7600
7845
|
};
|
|
7601
|
-
protoOf(asList$1).
|
|
7846
|
+
protoOf(asList$1).n = function () {
|
|
7602
7847
|
return ULongArray__isEmpty_impl_c3yngu(this.ae_1);
|
|
7603
7848
|
};
|
|
7604
7849
|
protoOf(asList$1).a7 = function (element) {
|
|
7605
7850
|
return ULongArray__contains_impl_v9bgai(this.ae_1, element);
|
|
7606
7851
|
};
|
|
7607
|
-
protoOf(asList$1).
|
|
7852
|
+
protoOf(asList$1).m = function (element) {
|
|
7608
7853
|
if (!(element instanceof ULong))
|
|
7609
7854
|
return false;
|
|
7610
|
-
return this.a7(element instanceof ULong ? element.
|
|
7855
|
+
return this.a7(element instanceof ULong ? element.g1_1 : THROW_CCE());
|
|
7611
7856
|
};
|
|
7612
7857
|
protoOf(asList$1).be = function (index) {
|
|
7613
|
-
Companion_getInstance().
|
|
7858
|
+
Companion_getInstance().t1(index, this.i());
|
|
7614
7859
|
return ULongArray__get_impl_pr71q9(this.ae_1, index);
|
|
7615
7860
|
};
|
|
7616
7861
|
protoOf(asList$1).k = function (index) {
|
|
@@ -7627,10 +7872,10 @@ protoOf(asList$1).ce = function (element) {
|
|
|
7627
7872
|
tmp$ret$0 = _ULong___get_data__impl__fggpzb(element);
|
|
7628
7873
|
return indexOf_0(tmp_0, tmp$ret$0);
|
|
7629
7874
|
};
|
|
7630
|
-
protoOf(asList$1).
|
|
7875
|
+
protoOf(asList$1).o = function (element) {
|
|
7631
7876
|
if (!(element instanceof ULong))
|
|
7632
7877
|
return -1;
|
|
7633
|
-
return this.ce(element instanceof ULong ? element.
|
|
7878
|
+
return this.ce(element instanceof ULong ? element.g1_1 : THROW_CCE());
|
|
7634
7879
|
};
|
|
7635
7880
|
function isWhitespaceImpl(_this__u8e3s4) {
|
|
7636
7881
|
// Inline function 'kotlin.code' call
|
|
@@ -7951,141 +8196,144 @@ export {
|
|
|
7951
8196
|
copyOfRange as t2,
|
|
7952
8197
|
copyOf as u2,
|
|
7953
8198
|
copyToArray as v2,
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8199
|
+
drop_0 as w2,
|
|
8200
|
+
drop as x2,
|
|
8201
|
+
emptyList as y2,
|
|
8202
|
+
emptyMap as z2,
|
|
8203
|
+
fill as a3,
|
|
8204
|
+
filterNotNull as b3,
|
|
8205
|
+
firstOrNull as c3,
|
|
8206
|
+
flatten as d3,
|
|
8207
|
+
joinToString_0 as e3,
|
|
8208
|
+
listOf_0 as f3,
|
|
8209
|
+
listOf as g3,
|
|
8210
|
+
mapCapacity as h3,
|
|
8211
|
+
mapOf as i3,
|
|
8212
|
+
maxOrNull as j3,
|
|
8213
|
+
max as k3,
|
|
8214
|
+
minOrNull as l3,
|
|
8215
|
+
min as m3,
|
|
8216
|
+
plus as n3,
|
|
8217
|
+
setOf_0 as o3,
|
|
8218
|
+
setOf as p3,
|
|
8219
|
+
slice as q3,
|
|
8220
|
+
sorted as r3,
|
|
8221
|
+
sort_0 as s3,
|
|
8222
|
+
sort_1 as t3,
|
|
8223
|
+
sum as u3,
|
|
8224
|
+
sum_0 as v3,
|
|
8225
|
+
take as w3,
|
|
8226
|
+
toDoubleArray as x3,
|
|
8227
|
+
toList_0 as y3,
|
|
8228
|
+
toList as z3,
|
|
8229
|
+
toMap as a4,
|
|
8230
|
+
toMutableList_0 as b4,
|
|
8231
|
+
toMutableMap as c4,
|
|
8232
|
+
toULongArray as d4,
|
|
8233
|
+
enumEntries as e4,
|
|
8234
|
+
getProgressionLastElement as f4,
|
|
8235
|
+
println as g4,
|
|
8236
|
+
captureStack as h4,
|
|
8237
|
+
charArrayOf as i4,
|
|
8238
|
+
charSequenceGet as j4,
|
|
8239
|
+
charSequenceLength as k4,
|
|
8240
|
+
classMeta as l4,
|
|
8241
|
+
compareTo_0 as m4,
|
|
8242
|
+
defineProp as n4,
|
|
8243
|
+
equals_0 as o4,
|
|
8244
|
+
getNumberHashCode as p4,
|
|
8245
|
+
getPropertyCallableRef as q4,
|
|
8246
|
+
getStringHashCode as r4,
|
|
8247
|
+
hashCode as s4,
|
|
8248
|
+
interfaceMeta as t4,
|
|
8249
|
+
isArray as u4,
|
|
8250
|
+
isCharSequence as v4,
|
|
8251
|
+
isDoubleArray as w4,
|
|
8252
|
+
isInterface as x4,
|
|
8253
|
+
isNumber as y4,
|
|
8254
|
+
isObject as z4,
|
|
8255
|
+
longArrayOf as a5,
|
|
8256
|
+
longArray as b5,
|
|
8257
|
+
numberRangeToNumber as c5,
|
|
8258
|
+
numberToChar as d5,
|
|
8259
|
+
numberToDouble as e5,
|
|
8260
|
+
numberToInt as f5,
|
|
8261
|
+
numberToLong as g5,
|
|
8262
|
+
objectCreate as h5,
|
|
8263
|
+
objectMeta as i5,
|
|
8264
|
+
protoOf as j5,
|
|
8265
|
+
setMetadataFor as k5,
|
|
8266
|
+
toLong_0 as l5,
|
|
8267
|
+
toString_3 as m5,
|
|
8268
|
+
abs as n5,
|
|
8269
|
+
abs_0 as o5,
|
|
8270
|
+
ClosedRange as p5,
|
|
8271
|
+
IntRange as q5,
|
|
8272
|
+
coerceAtLeast as r5,
|
|
8273
|
+
coerceAtMost as s5,
|
|
8274
|
+
contains_4 as t5,
|
|
8275
|
+
until as u5,
|
|
8276
|
+
KProperty1 as v5,
|
|
8277
|
+
emptySequence as w5,
|
|
8278
|
+
filter as x5,
|
|
8279
|
+
map as y5,
|
|
8280
|
+
toList_1 as z5,
|
|
8281
|
+
concatToString as a6,
|
|
8282
|
+
concatToString_0 as b6,
|
|
8283
|
+
contains_6 as c6,
|
|
8284
|
+
contains_5 as d6,
|
|
8285
|
+
endsWith as e6,
|
|
8286
|
+
indexOf_3 as f6,
|
|
8287
|
+
isDigit as g6,
|
|
8288
|
+
isLetter as h6,
|
|
8289
|
+
get_lastIndex_1 as i6,
|
|
8290
|
+
padStart as j6,
|
|
8291
|
+
repeat as k6,
|
|
8292
|
+
replace as l6,
|
|
8293
|
+
reversed as m6,
|
|
8294
|
+
split as n6,
|
|
8295
|
+
split_0 as o6,
|
|
8296
|
+
startsWith as p6,
|
|
8297
|
+
substring as q6,
|
|
8298
|
+
toBoolean as r6,
|
|
8299
|
+
toCharArray as s6,
|
|
8300
|
+
toDouble as t6,
|
|
8301
|
+
toInt as u6,
|
|
8302
|
+
toInt_0 as v6,
|
|
8303
|
+
toLong as w6,
|
|
8304
|
+
toString_0 as x6,
|
|
8305
|
+
Char as y6,
|
|
8306
|
+
Comparable as z6,
|
|
8307
|
+
Enum as a7,
|
|
8308
|
+
Exception as b7,
|
|
8309
|
+
IllegalArgumentException as c7,
|
|
8310
|
+
Long as d7,
|
|
8311
|
+
Pair as e7,
|
|
8312
|
+
RuntimeException as f7,
|
|
8313
|
+
THROW_CCE as g7,
|
|
8314
|
+
THROW_ISE as h7,
|
|
8315
|
+
Triple as i7,
|
|
8316
|
+
UByte as j7,
|
|
8317
|
+
UIntArray as k7,
|
|
8318
|
+
UInt as l7,
|
|
8319
|
+
ULongArray as m7,
|
|
8320
|
+
ULong as n7,
|
|
8321
|
+
UShort as o7,
|
|
8322
|
+
UnsupportedOperationException as p7,
|
|
8323
|
+
ensureNotNull as q7,
|
|
8324
|
+
isInfinite as r7,
|
|
8325
|
+
isNaN_0 as s7,
|
|
8326
|
+
noWhenBranchMatchedException as t7,
|
|
8327
|
+
throwKotlinNothingValueException as u7,
|
|
8328
|
+
toString_2 as v7,
|
|
8329
|
+
to as w7,
|
|
8330
|
+
uintCompare as x7,
|
|
8331
|
+
uintDivide as y7,
|
|
8332
|
+
uintRemainder as z7,
|
|
8333
|
+
ulongCompare as a8,
|
|
8334
|
+
ulongDivide as b8,
|
|
8335
|
+
ulongRemainder as c8,
|
|
8336
|
+
VOID as d8,
|
|
8089
8337
|
};
|
|
8090
8338
|
//endregion
|
|
8091
8339
|
|