@solibo/solibo-sdk 1.0.30-SNAPSHOT → 1.0.31-SNAPSHOT
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/KmLogging-logging.js +99 -99
- package/Kotlin-DateTime-library-kotlinx-datetime.js +4 -4
- package/KotlinBigInteger-bignum.js +1127 -1127
- package/MultiplatformSettings-multiplatform-settings.js +17 -17
- package/Stately-stately-concurrency.js +4 -4
- package/cryptography-kotlin-cryptography-bigint.js +28 -28
- package/cryptography-kotlin-cryptography-core.js +47 -47
- package/cryptography-kotlin-cryptography-provider-base.js +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +136 -136
- package/cryptography-kotlin-cryptography-random.js +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.js +258 -258
- package/cryptography-kotlin-cryptography-serialization-pem.js +15 -15
- package/index.d.ts +30 -0
- package/index.js +30 -0
- package/kotlin-kotlin-stdlib.js +396 -396
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +10 -10
- package/kotlinx-io-kotlinx-io-core.js +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core.js +81 -81
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +629 -614
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-auth.js +265 -265
- package/ktor-ktor-client-content-negotiation.js +139 -139
- package/ktor-ktor-client-core.js +3094 -2645
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +653 -653
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http-cio.js +331 -331
- package/ktor-ktor-http.js +1107 -1048
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +452 -344
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +123 -123
- package/ktor-ktor-serialization.js +64 -64
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +680 -680
- package/ktor-ktor-websockets.js +368 -368
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +80176 -11128
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +938 -54
- package/solibo-sdk-sdk.js +1545 -1545
- package/solibo-sdk-sdk.js.map +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -46,17 +46,6 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
46
46
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
if (typeof Math.trunc === 'undefined') {
|
|
50
|
-
Math.trunc = function (x) {
|
|
51
|
-
if (isNaN(x)) {
|
|
52
|
-
return NaN;
|
|
53
|
-
}
|
|
54
|
-
if (x > 0) {
|
|
55
|
-
return Math.floor(x);
|
|
56
|
-
}
|
|
57
|
-
return Math.ceil(x);
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
49
|
if (typeof Math.clz32 === 'undefined') {
|
|
61
50
|
Math.clz32 = function (log, LN2) {
|
|
62
51
|
return function (x) {
|
|
@@ -73,6 +62,23 @@ if (typeof Math.log10 === 'undefined') {
|
|
|
73
62
|
return Math.log(x) * Math.LOG10E;
|
|
74
63
|
};
|
|
75
64
|
}
|
|
65
|
+
if (typeof Math.trunc === 'undefined') {
|
|
66
|
+
Math.trunc = function (x) {
|
|
67
|
+
if (isNaN(x)) {
|
|
68
|
+
return NaN;
|
|
69
|
+
}
|
|
70
|
+
if (x > 0) {
|
|
71
|
+
return Math.floor(x);
|
|
72
|
+
}
|
|
73
|
+
return Math.ceil(x);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
77
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
78
|
+
position = position || 0;
|
|
79
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
80
|
+
}});
|
|
81
|
+
}
|
|
76
82
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
77
83
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
78
84
|
var subjectString = this.toString();
|
|
@@ -84,12 +90,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
84
90
|
return lastIndex !== -1 && lastIndex === position;
|
|
85
91
|
}});
|
|
86
92
|
}
|
|
87
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
88
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
89
|
-
position = position || 0;
|
|
90
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
91
|
-
}});
|
|
92
|
-
}
|
|
93
93
|
//endregion
|
|
94
94
|
(function (factory) {
|
|
95
95
|
if (typeof define === 'function' && define.amd)
|
|
@@ -135,11 +135,11 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
135
135
|
return createJsReadonlyMapViewFrom(this);
|
|
136
136
|
}
|
|
137
137
|
initMetadataForInterface(KtMap, 'Map');
|
|
138
|
-
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
139
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
|
|
140
138
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
141
139
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
142
|
-
initMetadataForInterface(
|
|
140
|
+
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
141
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
142
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
143
143
|
initMetadataForCompanion(Companion_2);
|
|
144
144
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
145
145
|
initMetadataForCompanion(Companion_3);
|
|
@@ -163,7 +163,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
163
163
|
initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
164
164
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
165
165
|
initMetadataForObject(Unit, 'Unit');
|
|
166
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
166
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
|
|
167
167
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
168
168
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
169
169
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
|
|
@@ -175,7 +175,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
175
175
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
|
|
176
176
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
|
|
177
177
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
178
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
178
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
|
|
179
179
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
180
180
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
181
181
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -629,6 +629,16 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
629
629
|
protoOf(KTypeParameterBase).hashCode = function () {
|
|
630
630
|
return imul(getStringHashCode(this.x()), 31) + getStringHashCode(this.m()) | 0;
|
|
631
631
|
};
|
|
632
|
+
function firstOrNull(_this__u8e3s4) {
|
|
633
|
+
var tmp;
|
|
634
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
635
|
+
if (_this__u8e3s4.length === 0) {
|
|
636
|
+
tmp = null;
|
|
637
|
+
} else {
|
|
638
|
+
tmp = _this__u8e3s4[0];
|
|
639
|
+
}
|
|
640
|
+
return tmp;
|
|
641
|
+
}
|
|
632
642
|
function toList(_this__u8e3s4) {
|
|
633
643
|
switch (_this__u8e3s4.length) {
|
|
634
644
|
case 0:
|
|
@@ -643,7 +653,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
643
653
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
644
654
|
if (_this__u8e3s4.length === 0)
|
|
645
655
|
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
646
|
-
return _this__u8e3s4[
|
|
656
|
+
return _this__u8e3s4[get_lastIndex_0(_this__u8e3s4)];
|
|
647
657
|
}
|
|
648
658
|
function zip(_this__u8e3s4, other) {
|
|
649
659
|
// Inline function 'kotlin.collections.zip' call
|
|
@@ -703,11 +713,14 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
703
713
|
return -1;
|
|
704
714
|
}
|
|
705
715
|
function get_indices(_this__u8e3s4) {
|
|
706
|
-
return new IntRange(0,
|
|
716
|
+
return new IntRange(0, get_lastIndex_1(_this__u8e3s4));
|
|
707
717
|
}
|
|
708
718
|
function get_indices_0(_this__u8e3s4) {
|
|
709
719
|
return new IntRange(0, get_lastIndex_2(_this__u8e3s4));
|
|
710
720
|
}
|
|
721
|
+
function contains_0(_this__u8e3s4, element) {
|
|
722
|
+
return indexOf_0(_this__u8e3s4, element) >= 0;
|
|
723
|
+
}
|
|
711
724
|
function single(_this__u8e3s4) {
|
|
712
725
|
var tmp;
|
|
713
726
|
switch (_this__u8e3s4.length) {
|
|
@@ -721,52 +734,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
721
734
|
}
|
|
722
735
|
return tmp;
|
|
723
736
|
}
|
|
724
|
-
function lastIndexOf(_this__u8e3s4, element) {
|
|
725
|
-
if (element == null) {
|
|
726
|
-
var inductionVariable = _this__u8e3s4.length - 1 | 0;
|
|
727
|
-
if (0 <= inductionVariable)
|
|
728
|
-
do {
|
|
729
|
-
var index = inductionVariable;
|
|
730
|
-
inductionVariable = inductionVariable + -1 | 0;
|
|
731
|
-
if (_this__u8e3s4[index] == null) {
|
|
732
|
-
return index;
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
while (0 <= inductionVariable);
|
|
736
|
-
} else {
|
|
737
|
-
var inductionVariable_0 = _this__u8e3s4.length - 1 | 0;
|
|
738
|
-
if (0 <= inductionVariable_0)
|
|
739
|
-
do {
|
|
740
|
-
var index_0 = inductionVariable_0;
|
|
741
|
-
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
742
|
-
if (equals(element, _this__u8e3s4[index_0])) {
|
|
743
|
-
return index_0;
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
while (0 <= inductionVariable_0);
|
|
747
|
-
}
|
|
748
|
-
return -1;
|
|
749
|
-
}
|
|
750
|
-
function toSet(_this__u8e3s4) {
|
|
751
|
-
switch (_this__u8e3s4.length) {
|
|
752
|
-
case 0:
|
|
753
|
-
return emptySet();
|
|
754
|
-
case 1:
|
|
755
|
-
return setOf(_this__u8e3s4[0]);
|
|
756
|
-
default:
|
|
757
|
-
return toCollection(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.length)));
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
function toCollection(_this__u8e3s4, destination) {
|
|
761
|
-
var inductionVariable = 0;
|
|
762
|
-
var last = _this__u8e3s4.length;
|
|
763
|
-
while (inductionVariable < last) {
|
|
764
|
-
var item = _this__u8e3s4[inductionVariable];
|
|
765
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
766
|
-
destination.e1(item);
|
|
767
|
-
}
|
|
768
|
-
return destination;
|
|
769
|
-
}
|
|
770
737
|
function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
771
738
|
separator = separator === VOID ? ', ' : separator;
|
|
772
739
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -776,18 +743,32 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
776
743
|
transform = transform === VOID ? null : transform;
|
|
777
744
|
return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_1(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
778
745
|
}
|
|
779
|
-
function get_lastIndex_0(_this__u8e3s4) {
|
|
780
|
-
return _this__u8e3s4.length - 1 | 0;
|
|
781
|
-
}
|
|
782
746
|
function toMutableList(_this__u8e3s4) {
|
|
783
747
|
return ArrayList_init_$Create$_1(asCollection(_this__u8e3s4));
|
|
784
748
|
}
|
|
749
|
+
function get_lastIndex_0(_this__u8e3s4) {
|
|
750
|
+
return _this__u8e3s4.length - 1 | 0;
|
|
751
|
+
}
|
|
785
752
|
function get_lastIndex_1(_this__u8e3s4) {
|
|
786
753
|
return _this__u8e3s4.length - 1 | 0;
|
|
787
754
|
}
|
|
788
755
|
function get_lastIndex_2(_this__u8e3s4) {
|
|
789
756
|
return _this__u8e3s4.length - 1 | 0;
|
|
790
757
|
}
|
|
758
|
+
function indexOf_0(_this__u8e3s4, element) {
|
|
759
|
+
var inductionVariable = 0;
|
|
760
|
+
var last = _this__u8e3s4.length - 1 | 0;
|
|
761
|
+
if (inductionVariable <= last)
|
|
762
|
+
do {
|
|
763
|
+
var index = inductionVariable;
|
|
764
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
765
|
+
if (element === _this__u8e3s4[index]) {
|
|
766
|
+
return index;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
while (inductionVariable <= last);
|
|
770
|
+
return -1;
|
|
771
|
+
}
|
|
791
772
|
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
792
773
|
separator = separator === VOID ? ', ' : separator;
|
|
793
774
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -817,8 +798,54 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
817
798
|
buffer.f1(postfix);
|
|
818
799
|
return buffer;
|
|
819
800
|
}
|
|
820
|
-
function
|
|
821
|
-
|
|
801
|
+
function lastIndexOf(_this__u8e3s4, element) {
|
|
802
|
+
if (element == null) {
|
|
803
|
+
var inductionVariable = _this__u8e3s4.length - 1 | 0;
|
|
804
|
+
if (0 <= inductionVariable)
|
|
805
|
+
do {
|
|
806
|
+
var index = inductionVariable;
|
|
807
|
+
inductionVariable = inductionVariable + -1 | 0;
|
|
808
|
+
if (_this__u8e3s4[index] == null) {
|
|
809
|
+
return index;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
while (0 <= inductionVariable);
|
|
813
|
+
} else {
|
|
814
|
+
var inductionVariable_0 = _this__u8e3s4.length - 1 | 0;
|
|
815
|
+
if (0 <= inductionVariable_0)
|
|
816
|
+
do {
|
|
817
|
+
var index_0 = inductionVariable_0;
|
|
818
|
+
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
819
|
+
if (equals(element, _this__u8e3s4[index_0])) {
|
|
820
|
+
return index_0;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
while (0 <= inductionVariable_0);
|
|
824
|
+
}
|
|
825
|
+
return -1;
|
|
826
|
+
}
|
|
827
|
+
function toSet(_this__u8e3s4) {
|
|
828
|
+
switch (_this__u8e3s4.length) {
|
|
829
|
+
case 0:
|
|
830
|
+
return emptySet();
|
|
831
|
+
case 1:
|
|
832
|
+
return setOf(_this__u8e3s4[0]);
|
|
833
|
+
default:
|
|
834
|
+
return toCollection(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.length)));
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
function toCollection(_this__u8e3s4, destination) {
|
|
838
|
+
var inductionVariable = 0;
|
|
839
|
+
var last = _this__u8e3s4.length;
|
|
840
|
+
while (inductionVariable < last) {
|
|
841
|
+
var item = _this__u8e3s4[inductionVariable];
|
|
842
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
843
|
+
destination.e1(item);
|
|
844
|
+
}
|
|
845
|
+
return destination;
|
|
846
|
+
}
|
|
847
|
+
function contains_1(_this__u8e3s4, element) {
|
|
848
|
+
return indexOf_1(_this__u8e3s4, element) >= 0;
|
|
822
849
|
}
|
|
823
850
|
function reversedArray(_this__u8e3s4) {
|
|
824
851
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
@@ -836,15 +863,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
836
863
|
while (!(i === lastIndex));
|
|
837
864
|
return result;
|
|
838
865
|
}
|
|
839
|
-
function contains_1(_this__u8e3s4, element) {
|
|
840
|
-
return indexOf_1(_this__u8e3s4, element) >= 0;
|
|
841
|
-
}
|
|
842
866
|
function contains_2(_this__u8e3s4, element) {
|
|
843
867
|
return indexOf_2(_this__u8e3s4, element) >= 0;
|
|
844
868
|
}
|
|
845
869
|
function contains_3(_this__u8e3s4, element) {
|
|
846
870
|
return indexOf_3(_this__u8e3s4, element) >= 0;
|
|
847
871
|
}
|
|
872
|
+
function contains_4(_this__u8e3s4, element) {
|
|
873
|
+
return indexOf_4(_this__u8e3s4, element) >= 0;
|
|
874
|
+
}
|
|
848
875
|
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
849
876
|
separator = separator === VOID ? ', ' : separator;
|
|
850
877
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -854,13 +881,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
854
881
|
transform = transform === VOID ? null : transform;
|
|
855
882
|
return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_1(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
856
883
|
}
|
|
857
|
-
function contains_4(_this__u8e3s4, element) {
|
|
858
|
-
return indexOf(_this__u8e3s4, element) >= 0;
|
|
859
|
-
}
|
|
860
884
|
function contains_5(_this__u8e3s4, element) {
|
|
861
|
-
return
|
|
885
|
+
return indexOf(_this__u8e3s4, element) >= 0;
|
|
862
886
|
}
|
|
863
|
-
function
|
|
887
|
+
function indexOf_1(_this__u8e3s4, element) {
|
|
864
888
|
var inductionVariable = 0;
|
|
865
889
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
866
890
|
if (inductionVariable <= last)
|
|
@@ -874,7 +898,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
874
898
|
while (inductionVariable <= last);
|
|
875
899
|
return -1;
|
|
876
900
|
}
|
|
877
|
-
function
|
|
901
|
+
function indexOf_2(_this__u8e3s4, element) {
|
|
878
902
|
var inductionVariable = 0;
|
|
879
903
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
880
904
|
if (inductionVariable <= last)
|
|
@@ -888,7 +912,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
888
912
|
while (inductionVariable <= last);
|
|
889
913
|
return -1;
|
|
890
914
|
}
|
|
891
|
-
function
|
|
915
|
+
function indexOf_3(_this__u8e3s4, element) {
|
|
892
916
|
var inductionVariable = 0;
|
|
893
917
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
894
918
|
if (inductionVariable <= last)
|
|
@@ -902,7 +926,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
902
926
|
while (inductionVariable <= last);
|
|
903
927
|
return -1;
|
|
904
928
|
}
|
|
905
|
-
function
|
|
929
|
+
function indexOf_4(_this__u8e3s4, element) {
|
|
906
930
|
var inductionVariable = 0;
|
|
907
931
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
908
932
|
if (inductionVariable <= last)
|
|
@@ -948,20 +972,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
948
972
|
buffer.f1(postfix);
|
|
949
973
|
return buffer;
|
|
950
974
|
}
|
|
951
|
-
function indexOf_4(_this__u8e3s4, element) {
|
|
952
|
-
var inductionVariable = 0;
|
|
953
|
-
var last = _this__u8e3s4.length - 1 | 0;
|
|
954
|
-
if (inductionVariable <= last)
|
|
955
|
-
do {
|
|
956
|
-
var index = inductionVariable;
|
|
957
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
958
|
-
if (element === _this__u8e3s4[index]) {
|
|
959
|
-
return index;
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
while (inductionVariable <= last);
|
|
963
|
-
return -1;
|
|
964
|
-
}
|
|
965
975
|
function lastIndexOf_0(_this__u8e3s4, element) {
|
|
966
976
|
var inductionVariable = _this__u8e3s4.length - 1 | 0;
|
|
967
977
|
if (0 <= inductionVariable)
|
|
@@ -975,16 +985,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
975
985
|
while (0 <= inductionVariable);
|
|
976
986
|
return -1;
|
|
977
987
|
}
|
|
978
|
-
function firstOrNull(_this__u8e3s4) {
|
|
979
|
-
var tmp;
|
|
980
|
-
// Inline function 'kotlin.collections.isEmpty' call
|
|
981
|
-
if (_this__u8e3s4.length === 0) {
|
|
982
|
-
tmp = null;
|
|
983
|
-
} else {
|
|
984
|
-
tmp = _this__u8e3s4[0];
|
|
985
|
-
}
|
|
986
|
-
return tmp;
|
|
987
|
-
}
|
|
988
988
|
function withIndex$lambda($this_withIndex) {
|
|
989
989
|
return function () {
|
|
990
990
|
return arrayIterator($this_withIndex);
|
|
@@ -1110,6 +1110,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
return result;
|
|
1112
1112
|
}
|
|
1113
|
+
function filterNotNull(_this__u8e3s4) {
|
|
1114
|
+
return filterNotNullTo(_this__u8e3s4, ArrayList_init_$Create$());
|
|
1115
|
+
}
|
|
1116
|
+
function singleOrNull(_this__u8e3s4) {
|
|
1117
|
+
return _this__u8e3s4.g1() === 1 ? _this__u8e3s4.h1(0) : null;
|
|
1118
|
+
}
|
|
1113
1119
|
function asSequence(_this__u8e3s4) {
|
|
1114
1120
|
// Inline function 'kotlin.sequences.Sequence' call
|
|
1115
1121
|
return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
|
|
@@ -1289,9 +1295,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1289
1295
|
function chunked(_this__u8e3s4, size) {
|
|
1290
1296
|
return windowed(_this__u8e3s4, size, size, true);
|
|
1291
1297
|
}
|
|
1292
|
-
function singleOrNull(_this__u8e3s4) {
|
|
1293
|
-
return _this__u8e3s4.g1() === 1 ? _this__u8e3s4.h1(0) : null;
|
|
1294
|
-
}
|
|
1295
1298
|
function toHashSet(_this__u8e3s4) {
|
|
1296
1299
|
return toCollection_0(_this__u8e3s4, HashSet_init_$Create$_1(mapCapacity(collectionSizeOrDefault(_this__u8e3s4, 12))));
|
|
1297
1300
|
}
|
|
@@ -1336,6 +1339,16 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1336
1339
|
}
|
|
1337
1340
|
return destination;
|
|
1338
1341
|
}
|
|
1342
|
+
function filterNotNullTo(_this__u8e3s4, destination) {
|
|
1343
|
+
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
1344
|
+
while (_iterator__ex2g4s.u()) {
|
|
1345
|
+
var element = _iterator__ex2g4s.v();
|
|
1346
|
+
if (!(element == null)) {
|
|
1347
|
+
destination.e1(element);
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
return destination;
|
|
1351
|
+
}
|
|
1339
1352
|
function last_1(_this__u8e3s4) {
|
|
1340
1353
|
if (isInterface(_this__u8e3s4, KtList))
|
|
1341
1354
|
return last_0(_this__u8e3s4);
|
|
@@ -1421,19 +1434,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1421
1434
|
}
|
|
1422
1435
|
return min;
|
|
1423
1436
|
}
|
|
1424
|
-
function filterNotNull(_this__u8e3s4) {
|
|
1425
|
-
return filterNotNullTo(_this__u8e3s4, ArrayList_init_$Create$());
|
|
1426
|
-
}
|
|
1427
|
-
function filterNotNullTo(_this__u8e3s4, destination) {
|
|
1428
|
-
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
1429
|
-
while (_iterator__ex2g4s.u()) {
|
|
1430
|
-
var element = _iterator__ex2g4s.v();
|
|
1431
|
-
if (!(element == null)) {
|
|
1432
|
-
destination.e1(element);
|
|
1433
|
-
}
|
|
1434
|
-
}
|
|
1435
|
-
return destination;
|
|
1436
|
-
}
|
|
1437
1437
|
function asSequence$$inlined$Sequence$1($this_asSequence) {
|
|
1438
1438
|
this.k1_1 = $this_asSequence;
|
|
1439
1439
|
}
|
|
@@ -1794,12 +1794,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
function KtMap() {
|
|
1796
1796
|
}
|
|
1797
|
-
function KtMutableList() {
|
|
1798
|
-
}
|
|
1799
1797
|
function KtMutableMap() {
|
|
1800
1798
|
}
|
|
1801
1799
|
function KtSet() {
|
|
1802
1800
|
}
|
|
1801
|
+
function KtMutableList() {
|
|
1802
|
+
}
|
|
1803
1803
|
function KtMutableSet() {
|
|
1804
1804
|
}
|
|
1805
1805
|
function MutableIterable() {
|
|
@@ -2349,9 +2349,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
2349
2349
|
}
|
|
2350
2350
|
return tmp;
|
|
2351
2351
|
}
|
|
2352
|
-
function arrayToString(array) {
|
|
2353
|
-
return joinToString(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
|
|
2354
|
-
}
|
|
2355
2352
|
function contentEqualsInternal(_this__u8e3s4, other) {
|
|
2356
2353
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2357
2354
|
var a = _this__u8e3s4;
|
|
@@ -2391,6 +2388,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
2391
2388
|
while (inductionVariable < last);
|
|
2392
2389
|
return result;
|
|
2393
2390
|
}
|
|
2391
|
+
function arrayToString(array) {
|
|
2392
|
+
return joinToString(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
|
|
2393
|
+
}
|
|
2394
2394
|
function arrayToString$lambda(it) {
|
|
2395
2395
|
return toString_1(it);
|
|
2396
2396
|
}
|
|
@@ -2637,7 +2637,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
2637
2637
|
}
|
|
2638
2638
|
function createMapFrom$lambda($$this$buildMapInternal) {
|
|
2639
2639
|
return function (value, key, _unused_var__etf5q3) {
|
|
2640
|
-
$$this$buildMapInternal.
|
|
2640
|
+
$$this$buildMapInternal.c3(key, value);
|
|
2641
2641
|
return Unit_instance;
|
|
2642
2642
|
};
|
|
2643
2643
|
}
|
|
@@ -2735,20 +2735,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
2735
2735
|
function defineProp(obj, name, getter, setter, enumerable) {
|
|
2736
2736
|
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter, enumerable: enumerable});
|
|
2737
2737
|
}
|
|
2738
|
-
function toString_1(o) {
|
|
2739
|
-
var tmp;
|
|
2740
|
-
if (o == null) {
|
|
2741
|
-
tmp = 'null';
|
|
2742
|
-
} else if (isArrayish(o)) {
|
|
2743
|
-
tmp = '[...]';
|
|
2744
|
-
} else if (!(typeof o.toString === 'function')) {
|
|
2745
|
-
tmp = anyToString(o);
|
|
2746
|
-
} else {
|
|
2747
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
2748
|
-
tmp = o.toString();
|
|
2749
|
-
}
|
|
2750
|
-
return tmp;
|
|
2751
|
-
}
|
|
2752
2738
|
function equals(obj1, obj2) {
|
|
2753
2739
|
if (obj1 == null) {
|
|
2754
2740
|
return obj2 == null;
|
|
@@ -2821,8 +2807,19 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
2821
2807
|
}
|
|
2822
2808
|
return tmp;
|
|
2823
2809
|
}
|
|
2824
|
-
function
|
|
2825
|
-
|
|
2810
|
+
function toString_1(o) {
|
|
2811
|
+
var tmp;
|
|
2812
|
+
if (o == null) {
|
|
2813
|
+
tmp = 'null';
|
|
2814
|
+
} else if (isArrayish(o)) {
|
|
2815
|
+
tmp = '[...]';
|
|
2816
|
+
} else if (!(typeof o.toString === 'function')) {
|
|
2817
|
+
tmp = anyToString(o);
|
|
2818
|
+
} else {
|
|
2819
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2820
|
+
tmp = o.toString();
|
|
2821
|
+
}
|
|
2822
|
+
return tmp;
|
|
2826
2823
|
}
|
|
2827
2824
|
function getBooleanHashCode(value) {
|
|
2828
2825
|
return value ? 1231 : 1237;
|
|
@@ -2888,6 +2885,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
2888
2885
|
hashCodeMap.set(value, hash);
|
|
2889
2886
|
return hash;
|
|
2890
2887
|
}
|
|
2888
|
+
function anyToString(o) {
|
|
2889
|
+
return Object.prototype.toString.call(o);
|
|
2890
|
+
}
|
|
2891
2891
|
function symbolIsSharable(symbol) {
|
|
2892
2892
|
return Symbol.keyFor(symbol) != VOID;
|
|
2893
2893
|
}
|
|
@@ -3782,6 +3782,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
3782
3782
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3783
3783
|
_this__u8e3s4.fill(element, fromIndex, toIndex);
|
|
3784
3784
|
}
|
|
3785
|
+
function contentEquals(_this__u8e3s4, other) {
|
|
3786
|
+
return contentEqualsInternal(_this__u8e3s4, other);
|
|
3787
|
+
}
|
|
3788
|
+
function contentHashCode(_this__u8e3s4) {
|
|
3789
|
+
return contentHashCodeInternal(_this__u8e3s4);
|
|
3790
|
+
}
|
|
3785
3791
|
function toTypedArray(_this__u8e3s4) {
|
|
3786
3792
|
return [].slice.call(_this__u8e3s4);
|
|
3787
3793
|
}
|
|
@@ -3811,14 +3817,14 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
3811
3817
|
}
|
|
3812
3818
|
return arrayCopyResize(_this__u8e3s4, newSize, null);
|
|
3813
3819
|
}
|
|
3814
|
-
function
|
|
3820
|
+
function contentEquals_0(_this__u8e3s4, other) {
|
|
3815
3821
|
return contentEqualsInternal(_this__u8e3s4, other);
|
|
3816
3822
|
}
|
|
3817
3823
|
function contentToString(_this__u8e3s4) {
|
|
3818
3824
|
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : joinToString(_this__u8e3s4, ', ', '[', ']');
|
|
3819
3825
|
return tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
3820
3826
|
}
|
|
3821
|
-
function
|
|
3827
|
+
function contentHashCode_0(_this__u8e3s4) {
|
|
3822
3828
|
return contentHashCodeInternal(_this__u8e3s4);
|
|
3823
3829
|
}
|
|
3824
3830
|
function copyOf_1(_this__u8e3s4, newSize) {
|
|
@@ -3885,12 +3891,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
3885
3891
|
array.$type$ = tmp0;
|
|
3886
3892
|
return array;
|
|
3887
3893
|
}
|
|
3888
|
-
function contentEquals_0(_this__u8e3s4, other) {
|
|
3889
|
-
return contentEqualsInternal(_this__u8e3s4, other);
|
|
3890
|
-
}
|
|
3891
|
-
function contentHashCode_0(_this__u8e3s4) {
|
|
3892
|
-
return contentHashCodeInternal(_this__u8e3s4);
|
|
3893
|
-
}
|
|
3894
3894
|
function sortWith(_this__u8e3s4, comparator) {
|
|
3895
3895
|
if (_this__u8e3s4.length > 1) {
|
|
3896
3896
|
sortArrayWith(_this__u8e3s4, comparator);
|
|
@@ -3952,8 +3952,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
3952
3952
|
var index = inductionVariable;
|
|
3953
3953
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3954
3954
|
var tmp = _this__u8e3s4.h1(index);
|
|
3955
|
-
_this__u8e3s4.
|
|
3956
|
-
_this__u8e3s4.
|
|
3955
|
+
_this__u8e3s4.g3(index, _this__u8e3s4.h1(reverseIndex));
|
|
3956
|
+
_this__u8e3s4.g3(reverseIndex, tmp);
|
|
3957
3957
|
reverseIndex = reverseIndex - 1 | 0;
|
|
3958
3958
|
}
|
|
3959
3959
|
while (!(index === midPoint));
|
|
@@ -4117,7 +4117,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4117
4117
|
var tmp_0 = _ULongArray___get_storage__impl__28e64j(this_0);
|
|
4118
4118
|
// Inline function 'kotlin.ULong.toLong' call
|
|
4119
4119
|
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(element);
|
|
4120
|
-
return
|
|
4120
|
+
return indexOf_1(tmp_0, tmp$ret$0);
|
|
4121
4121
|
};
|
|
4122
4122
|
protoOf(asList$1).s2 = function (element) {
|
|
4123
4123
|
if (!(element instanceof ULong))
|
|
@@ -4422,7 +4422,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4422
4422
|
do {
|
|
4423
4423
|
var i = inductionVariable;
|
|
4424
4424
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4425
|
-
list.
|
|
4425
|
+
list.g3(i, array[i]);
|
|
4426
4426
|
}
|
|
4427
4427
|
while (inductionVariable < last);
|
|
4428
4428
|
}
|
|
@@ -4489,7 +4489,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4489
4489
|
}
|
|
4490
4490
|
return modified;
|
|
4491
4491
|
};
|
|
4492
|
-
protoOf(AbstractMutableCollection).
|
|
4492
|
+
protoOf(AbstractMutableCollection).f3 = function () {
|
|
4493
4493
|
this.u4();
|
|
4494
4494
|
var iterator = this.t();
|
|
4495
4495
|
while (iterator.u()) {
|
|
@@ -4525,7 +4525,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4525
4525
|
var message = 'Call next() or previous() before removing element from the iterator.';
|
|
4526
4526
|
throw IllegalStateException_init_$Create$_0(toString_1(message));
|
|
4527
4527
|
}
|
|
4528
|
-
this.y4_1.
|
|
4528
|
+
this.y4_1.i3(this.x4_1);
|
|
4529
4529
|
this.w4_1 = this.x4_1;
|
|
4530
4530
|
this.x4_1 = -1;
|
|
4531
4531
|
};
|
|
@@ -4557,24 +4557,24 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4557
4557
|
Companion_instance_7.i4(this.k5_1, toIndex, this.j5_1.g1());
|
|
4558
4558
|
this.l5_1 = toIndex - this.k5_1 | 0;
|
|
4559
4559
|
}
|
|
4560
|
-
protoOf(SubList).
|
|
4560
|
+
protoOf(SubList).h3 = function (index, element) {
|
|
4561
4561
|
Companion_instance_7.e5(index, this.l5_1);
|
|
4562
|
-
this.j5_1.
|
|
4562
|
+
this.j5_1.h3(this.k5_1 + index | 0, element);
|
|
4563
4563
|
this.l5_1 = this.l5_1 + 1 | 0;
|
|
4564
4564
|
};
|
|
4565
4565
|
protoOf(SubList).h1 = function (index) {
|
|
4566
4566
|
Companion_instance_7.q4(index, this.l5_1);
|
|
4567
4567
|
return this.j5_1.h1(this.k5_1 + index | 0);
|
|
4568
4568
|
};
|
|
4569
|
-
protoOf(SubList).
|
|
4569
|
+
protoOf(SubList).i3 = function (index) {
|
|
4570
4570
|
Companion_instance_7.q4(index, this.l5_1);
|
|
4571
|
-
var result = this.j5_1.
|
|
4571
|
+
var result = this.j5_1.i3(this.k5_1 + index | 0);
|
|
4572
4572
|
this.l5_1 = this.l5_1 - 1 | 0;
|
|
4573
4573
|
return result;
|
|
4574
4574
|
};
|
|
4575
|
-
protoOf(SubList).
|
|
4575
|
+
protoOf(SubList).g3 = function (index, element) {
|
|
4576
4576
|
Companion_instance_7.q4(index, this.l5_1);
|
|
4577
|
-
return this.j5_1.
|
|
4577
|
+
return this.j5_1.g3(this.k5_1 + index | 0, element);
|
|
4578
4578
|
};
|
|
4579
4579
|
protoOf(SubList).m5 = function (fromIndex, toIndex) {
|
|
4580
4580
|
this.j5_1.m5(this.k5_1 + fromIndex | 0, this.k5_1 + toIndex | 0);
|
|
@@ -4592,10 +4592,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4592
4592
|
}
|
|
4593
4593
|
protoOf(AbstractMutableList).e1 = function (element) {
|
|
4594
4594
|
this.u4();
|
|
4595
|
-
this.
|
|
4595
|
+
this.h3(this.g1(), element);
|
|
4596
4596
|
return true;
|
|
4597
4597
|
};
|
|
4598
|
-
protoOf(AbstractMutableList).
|
|
4598
|
+
protoOf(AbstractMutableList).f3 = function () {
|
|
4599
4599
|
this.u4();
|
|
4600
4600
|
this.m5(0, this.g1());
|
|
4601
4601
|
};
|
|
@@ -4709,10 +4709,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4709
4709
|
}
|
|
4710
4710
|
return tmp;
|
|
4711
4711
|
};
|
|
4712
|
-
protoOf(AbstractMutableMap).
|
|
4713
|
-
this.l1().
|
|
4712
|
+
protoOf(AbstractMutableMap).f3 = function () {
|
|
4713
|
+
this.l1().f3();
|
|
4714
4714
|
};
|
|
4715
|
-
protoOf(AbstractMutableMap).
|
|
4715
|
+
protoOf(AbstractMutableMap).e3 = function (from) {
|
|
4716
4716
|
this.u4();
|
|
4717
4717
|
// Inline function 'kotlin.collections.iterator' call
|
|
4718
4718
|
var _iterator__ex2g4s = from.l1().t();
|
|
@@ -4722,10 +4722,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4722
4722
|
var key = _destruct__k2r9zo.m1();
|
|
4723
4723
|
// Inline function 'kotlin.collections.component2' call
|
|
4724
4724
|
var value = _destruct__k2r9zo.n1();
|
|
4725
|
-
this.
|
|
4725
|
+
this.c3(key, value);
|
|
4726
4726
|
}
|
|
4727
4727
|
};
|
|
4728
|
-
protoOf(AbstractMutableMap).
|
|
4728
|
+
protoOf(AbstractMutableMap).d3 = function (key) {
|
|
4729
4729
|
this.u4();
|
|
4730
4730
|
var iter = this.l1().t();
|
|
4731
4731
|
while (iter.u()) {
|
|
@@ -4864,7 +4864,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4864
4864
|
var tmp = this.c1_1[rangeCheck(this, index)];
|
|
4865
4865
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
4866
4866
|
};
|
|
4867
|
-
protoOf(ArrayList).
|
|
4867
|
+
protoOf(ArrayList).g3 = function (index, element) {
|
|
4868
4868
|
this.u4();
|
|
4869
4869
|
rangeCheck(this, index);
|
|
4870
4870
|
// Inline function 'kotlin.apply' call
|
|
@@ -4880,7 +4880,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4880
4880
|
this.z4_1 = this.z4_1 + 1 | 0;
|
|
4881
4881
|
return true;
|
|
4882
4882
|
};
|
|
4883
|
-
protoOf(ArrayList).
|
|
4883
|
+
protoOf(ArrayList).h3 = function (index, element) {
|
|
4884
4884
|
this.u4();
|
|
4885
4885
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4886
4886
|
this.c1_1.splice(insertionRangeCheck(this, index), 0, element);
|
|
@@ -4904,7 +4904,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4904
4904
|
this.z4_1 = this.z4_1 + 1 | 0;
|
|
4905
4905
|
return true;
|
|
4906
4906
|
};
|
|
4907
|
-
protoOf(ArrayList).
|
|
4907
|
+
protoOf(ArrayList).i3 = function (index) {
|
|
4908
4908
|
this.u4();
|
|
4909
4909
|
rangeCheck(this, index);
|
|
4910
4910
|
this.z4_1 = this.z4_1 + 1 | 0;
|
|
@@ -4924,7 +4924,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4924
4924
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4925
4925
|
this.c1_1.splice(fromIndex, toIndex - fromIndex | 0);
|
|
4926
4926
|
};
|
|
4927
|
-
protoOf(ArrayList).
|
|
4927
|
+
protoOf(ArrayList).f3 = function () {
|
|
4928
4928
|
this.u4();
|
|
4929
4929
|
var tmp = this;
|
|
4930
4930
|
// Inline function 'kotlin.emptyArray' call
|
|
@@ -4959,7 +4959,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4959
4959
|
} else {
|
|
4960
4960
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4961
4961
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4962
|
-
mergeSort(array, 0,
|
|
4962
|
+
mergeSort(array, 0, get_lastIndex_1(array), comparator);
|
|
4963
4963
|
}
|
|
4964
4964
|
}
|
|
4965
4965
|
function getStableSortingIsSupported() {
|
|
@@ -5093,8 +5093,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5093
5093
|
function HashMap_init_$Create$_1(original) {
|
|
5094
5094
|
return HashMap_init_$Init$_3(original, objectCreate(protoOf(HashMap)));
|
|
5095
5095
|
}
|
|
5096
|
-
protoOf(HashMap).
|
|
5097
|
-
this.i6_1.
|
|
5096
|
+
protoOf(HashMap).f3 = function () {
|
|
5097
|
+
this.i6_1.f3();
|
|
5098
5098
|
};
|
|
5099
5099
|
protoOf(HashMap).x2 = function (key) {
|
|
5100
5100
|
return this.i6_1.k6(key);
|
|
@@ -5124,17 +5124,17 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5124
5124
|
protoOf(HashMap).z2 = function (key) {
|
|
5125
5125
|
return this.i6_1.z2(key);
|
|
5126
5126
|
};
|
|
5127
|
-
protoOf(HashMap).
|
|
5128
|
-
return this.i6_1.
|
|
5127
|
+
protoOf(HashMap).c3 = function (key, value) {
|
|
5128
|
+
return this.i6_1.c3(key, value);
|
|
5129
5129
|
};
|
|
5130
|
-
protoOf(HashMap).
|
|
5131
|
-
return this.i6_1.
|
|
5130
|
+
protoOf(HashMap).d3 = function (key) {
|
|
5131
|
+
return this.i6_1.d3(key);
|
|
5132
5132
|
};
|
|
5133
5133
|
protoOf(HashMap).g1 = function () {
|
|
5134
5134
|
return this.i6_1.g1();
|
|
5135
5135
|
};
|
|
5136
|
-
protoOf(HashMap).
|
|
5137
|
-
return this.i6_1.
|
|
5136
|
+
protoOf(HashMap).e3 = function (from) {
|
|
5137
|
+
return this.i6_1.e3(from);
|
|
5138
5138
|
};
|
|
5139
5139
|
function HashMap() {
|
|
5140
5140
|
this.j6_1 = null;
|
|
@@ -5152,8 +5152,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5152
5152
|
protoOf(HashMapKeys).q2 = function (element) {
|
|
5153
5153
|
return this.l6_1.k6(element);
|
|
5154
5154
|
};
|
|
5155
|
-
protoOf(HashMapKeys).
|
|
5156
|
-
return this.l6_1.
|
|
5155
|
+
protoOf(HashMapKeys).f3 = function () {
|
|
5156
|
+
return this.l6_1.f3();
|
|
5157
5157
|
};
|
|
5158
5158
|
protoOf(HashMapKeys).e1 = function (element) {
|
|
5159
5159
|
throw UnsupportedOperationException_init_$Create$();
|
|
@@ -5230,8 +5230,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5230
5230
|
return false;
|
|
5231
5231
|
return this.x6((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
|
|
5232
5232
|
};
|
|
5233
|
-
protoOf(HashMapEntrySetBase).
|
|
5234
|
-
return this.v6_1.
|
|
5233
|
+
protoOf(HashMapEntrySetBase).f3 = function () {
|
|
5234
|
+
return this.v6_1.f3();
|
|
5235
5235
|
};
|
|
5236
5236
|
protoOf(HashMapEntrySetBase).y6 = function (element) {
|
|
5237
5237
|
throw UnsupportedOperationException_init_$Create$();
|
|
@@ -5278,8 +5278,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5278
5278
|
protoOf(HashMapKeysDefault).e1 = function (element) {
|
|
5279
5279
|
return this.f7((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
5280
5280
|
};
|
|
5281
|
-
protoOf(HashMapKeysDefault).
|
|
5282
|
-
return this.e7_1.
|
|
5281
|
+
protoOf(HashMapKeysDefault).f3 = function () {
|
|
5282
|
+
return this.e7_1.f3();
|
|
5283
5283
|
};
|
|
5284
5284
|
protoOf(HashMapKeysDefault).k6 = function (element) {
|
|
5285
5285
|
return this.e7_1.x2(element);
|
|
@@ -5293,10 +5293,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5293
5293
|
var entryIterator = this.e7_1.l1().t();
|
|
5294
5294
|
return new HashMapKeysDefault$iterator$1(entryIterator);
|
|
5295
5295
|
};
|
|
5296
|
-
protoOf(HashMapKeysDefault).
|
|
5296
|
+
protoOf(HashMapKeysDefault).d3 = function (element) {
|
|
5297
5297
|
this.u4();
|
|
5298
5298
|
if (this.e7_1.x2(element)) {
|
|
5299
|
-
this.e7_1.
|
|
5299
|
+
this.e7_1.d3(element);
|
|
5300
5300
|
return true;
|
|
5301
5301
|
}
|
|
5302
5302
|
return false;
|
|
@@ -5304,7 +5304,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5304
5304
|
protoOf(HashMapKeysDefault).j3 = function (element) {
|
|
5305
5305
|
if (!(element == null ? true : !(element == null)))
|
|
5306
5306
|
return false;
|
|
5307
|
-
return this.
|
|
5307
|
+
return this.d3((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
5308
5308
|
};
|
|
5309
5309
|
protoOf(HashMapKeysDefault).g1 = function () {
|
|
5310
5310
|
return this.e7_1.g1();
|
|
@@ -5370,7 +5370,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5370
5370
|
var _iterator__ex2g4s = elements.t();
|
|
5371
5371
|
while (_iterator__ex2g4s.u()) {
|
|
5372
5372
|
var element = _iterator__ex2g4s.v();
|
|
5373
|
-
$this.i7_1.
|
|
5373
|
+
$this.i7_1.c3(element, true);
|
|
5374
5374
|
}
|
|
5375
5375
|
return $this;
|
|
5376
5376
|
}
|
|
@@ -5389,10 +5389,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5389
5389
|
return HashSet_init_$Init$_3(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
5390
5390
|
}
|
|
5391
5391
|
protoOf(HashSet).e1 = function (element) {
|
|
5392
|
-
return this.i7_1.
|
|
5392
|
+
return this.i7_1.c3(element, true) == null;
|
|
5393
5393
|
};
|
|
5394
|
-
protoOf(HashSet).
|
|
5395
|
-
this.i7_1.
|
|
5394
|
+
protoOf(HashSet).f3 = function () {
|
|
5395
|
+
this.i7_1.f3();
|
|
5396
5396
|
};
|
|
5397
5397
|
protoOf(HashSet).q2 = function (element) {
|
|
5398
5398
|
return this.i7_1.k6(element);
|
|
@@ -5404,7 +5404,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5404
5404
|
return this.i7_1.n6();
|
|
5405
5405
|
};
|
|
5406
5406
|
protoOf(HashSet).j3 = function (element) {
|
|
5407
|
-
return !(this.i7_1.
|
|
5407
|
+
return !(this.i7_1.d3(element) == null);
|
|
5408
5408
|
};
|
|
5409
5409
|
protoOf(HashSet).g1 = function () {
|
|
5410
5410
|
return this.i7_1.g1();
|
|
@@ -5438,7 +5438,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5438
5438
|
}
|
|
5439
5439
|
function InternalHashMap_init_$Init$_1(original, $this) {
|
|
5440
5440
|
InternalHashMap_init_$Init$_0(original.g1(), $this);
|
|
5441
|
-
$this.
|
|
5441
|
+
$this.e3(original);
|
|
5442
5442
|
return $this;
|
|
5443
5443
|
}
|
|
5444
5444
|
function InternalHashMap_init_$Create$_1(original) {
|
|
@@ -5914,7 +5914,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5914
5914
|
protoOf(InternalHashMap).k6 = function (key) {
|
|
5915
5915
|
return findKey(this, key) >= 0;
|
|
5916
5916
|
};
|
|
5917
|
-
protoOf(InternalHashMap).
|
|
5917
|
+
protoOf(InternalHashMap).c3 = function (key, value) {
|
|
5918
5918
|
var index = addKey(this, key);
|
|
5919
5919
|
var valuesArray = allocateValuesArray(this);
|
|
5920
5920
|
if (index < 0) {
|
|
@@ -5926,11 +5926,11 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5926
5926
|
return null;
|
|
5927
5927
|
}
|
|
5928
5928
|
};
|
|
5929
|
-
protoOf(InternalHashMap).
|
|
5929
|
+
protoOf(InternalHashMap).e3 = function (from) {
|
|
5930
5930
|
this.o6();
|
|
5931
5931
|
putAllEntries(this, from.l1());
|
|
5932
5932
|
};
|
|
5933
|
-
protoOf(InternalHashMap).
|
|
5933
|
+
protoOf(InternalHashMap).d3 = function (key) {
|
|
5934
5934
|
this.o6();
|
|
5935
5935
|
var index = findKey(this, key);
|
|
5936
5936
|
if (index < 0)
|
|
@@ -5939,7 +5939,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
5939
5939
|
removeEntryAt(this, index);
|
|
5940
5940
|
return oldValue;
|
|
5941
5941
|
};
|
|
5942
|
-
protoOf(InternalHashMap).
|
|
5942
|
+
protoOf(InternalHashMap).f3 = function () {
|
|
5943
5943
|
this.o6();
|
|
5944
5944
|
var inductionVariable = 0;
|
|
5945
5945
|
var last = this.o7_1 - 1 | 0;
|
|
@@ -8239,14 +8239,13 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8239
8239
|
STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0(tmp);
|
|
8240
8240
|
}
|
|
8241
8241
|
}
|
|
8242
|
-
function
|
|
8242
|
+
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
8243
8243
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
|
|
8244
|
+
var tmp2 = new RegExp(Companion_getInstance_6().id(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
8245
|
+
// Inline function 'kotlin.text.nativeReplace' call
|
|
8246
|
+
var replacement = Companion_getInstance_6().jd(newValue);
|
|
8247
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
8248
|
+
return _this__u8e3s4.replace(tmp2, replacement);
|
|
8250
8249
|
}
|
|
8251
8250
|
function equals_0(_this__u8e3s4, other, ignoreCase) {
|
|
8252
8251
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -8273,6 +8272,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8273
8272
|
while (inductionVariable < last);
|
|
8274
8273
|
return true;
|
|
8275
8274
|
}
|
|
8275
|
+
function endsWith(_this__u8e3s4, suffix, ignoreCase) {
|
|
8276
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8277
|
+
if (!ignoreCase) {
|
|
8278
|
+
// Inline function 'kotlin.text.nativeEndsWith' call
|
|
8279
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
8280
|
+
return _this__u8e3s4.endsWith(suffix);
|
|
8281
|
+
} else
|
|
8282
|
+
return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
|
|
8283
|
+
}
|
|
8276
8284
|
function startsWith(_this__u8e3s4, prefix, ignoreCase) {
|
|
8277
8285
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8278
8286
|
if (!ignoreCase) {
|
|
@@ -8282,7 +8290,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8282
8290
|
} else
|
|
8283
8291
|
return regionMatches(_this__u8e3s4, 0, prefix, 0, prefix.length, ignoreCase);
|
|
8284
8292
|
}
|
|
8285
|
-
function
|
|
8293
|
+
function replace_0(_this__u8e3s4, oldChar, newChar, ignoreCase) {
|
|
8286
8294
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8287
8295
|
var tmp2 = new RegExp(Companion_getInstance_6().id(toString(oldChar)), ignoreCase ? 'gui' : 'gu');
|
|
8288
8296
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
@@ -8290,14 +8298,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8290
8298
|
// Inline function 'kotlin.js.asDynamic' call
|
|
8291
8299
|
return _this__u8e3s4.replace(tmp2, replacement);
|
|
8292
8300
|
}
|
|
8293
|
-
function replace_0(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
8294
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8295
|
-
var tmp2 = new RegExp(Companion_getInstance_6().id(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
8296
|
-
// Inline function 'kotlin.text.nativeReplace' call
|
|
8297
|
-
var replacement = Companion_getInstance_6().jd(newValue);
|
|
8298
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
8299
|
-
return _this__u8e3s4.replace(tmp2, replacement);
|
|
8300
|
-
}
|
|
8301
8301
|
function repeat(_this__u8e3s4, n) {
|
|
8302
8302
|
// Inline function 'kotlin.require' call
|
|
8303
8303
|
if (!(n >= 0)) {
|
|
@@ -8335,6 +8335,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8335
8335
|
}
|
|
8336
8336
|
return tmp;
|
|
8337
8337
|
}
|
|
8338
|
+
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
8339
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8340
|
+
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
|
|
8341
|
+
}
|
|
8338
8342
|
function startsWith_0(_this__u8e3s4, prefix, startIndex, ignoreCase) {
|
|
8339
8343
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8340
8344
|
if (!ignoreCase) {
|
|
@@ -8344,10 +8348,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8344
8348
|
} else
|
|
8345
8349
|
return regionMatches(_this__u8e3s4, startIndex, prefix, 0, prefix.length, ignoreCase);
|
|
8346
8350
|
}
|
|
8347
|
-
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
8348
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8349
|
-
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
|
|
8350
|
-
}
|
|
8351
8351
|
function get_REPLACEMENT_BYTE_SEQUENCE() {
|
|
8352
8352
|
_init_properties_utf8Encoding_kt__9thjs4();
|
|
8353
8353
|
return REPLACEMENT_BYTE_SEQUENCE;
|
|
@@ -9717,10 +9717,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9717
9717
|
return index < 0 ? index + $this.uf_1.length | 0 : index;
|
|
9718
9718
|
}
|
|
9719
9719
|
function incremented($this, index) {
|
|
9720
|
-
return index ===
|
|
9720
|
+
return index === get_lastIndex_1($this.uf_1) ? 0 : index + 1 | 0;
|
|
9721
9721
|
}
|
|
9722
9722
|
function decremented($this, index) {
|
|
9723
|
-
return index === 0 ?
|
|
9723
|
+
return index === 0 ? get_lastIndex_1($this.uf_1) : index - 1 | 0;
|
|
9724
9724
|
}
|
|
9725
9725
|
function copyCollectionElements($this, internalIndex, elements) {
|
|
9726
9726
|
var iterator = elements.t();
|
|
@@ -9878,7 +9878,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9878
9878
|
this.zf(element);
|
|
9879
9879
|
return true;
|
|
9880
9880
|
};
|
|
9881
|
-
protoOf(ArrayDeque).
|
|
9881
|
+
protoOf(ArrayDeque).h3 = function (index, element) {
|
|
9882
9882
|
Companion_instance_7.e5(index, this.vf_1);
|
|
9883
9883
|
if (index === this.vf_1) {
|
|
9884
9884
|
this.zf(element);
|
|
@@ -9966,7 +9966,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9966
9966
|
var tmp = this.uf_1[internalIndex];
|
|
9967
9967
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
9968
9968
|
};
|
|
9969
|
-
protoOf(ArrayDeque).
|
|
9969
|
+
protoOf(ArrayDeque).g3 = function (index, element) {
|
|
9970
9970
|
Companion_instance_7.q4(index, this.vf_1);
|
|
9971
9971
|
// Inline function 'kotlin.collections.ArrayDeque.internalIndex' call
|
|
9972
9972
|
var internalIndex = positiveMod(this, this.tf_1 + index | 0);
|
|
@@ -10058,7 +10058,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10058
10058
|
return (index_1 + this.uf_1.length | 0) - this.tf_1 | 0;
|
|
10059
10059
|
}
|
|
10060
10060
|
while (0 <= inductionVariable_0);
|
|
10061
|
-
var inductionVariable_1 =
|
|
10061
|
+
var inductionVariable_1 = get_lastIndex_1(this.uf_1);
|
|
10062
10062
|
var last_0 = this.tf_1;
|
|
10063
10063
|
if (last_0 <= inductionVariable_1)
|
|
10064
10064
|
do {
|
|
@@ -10072,7 +10072,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10072
10072
|
}
|
|
10073
10073
|
return -1;
|
|
10074
10074
|
};
|
|
10075
|
-
protoOf(ArrayDeque).
|
|
10075
|
+
protoOf(ArrayDeque).i3 = function (index) {
|
|
10076
10076
|
Companion_instance_7.q4(index, this.vf_1);
|
|
10077
10077
|
if (index === get_lastIndex_3(this)) {
|
|
10078
10078
|
return this.cg();
|
|
@@ -10139,7 +10139,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10139
10139
|
this.vf_1 = this.vf_1 - 1 | 0;
|
|
10140
10140
|
return element;
|
|
10141
10141
|
};
|
|
10142
|
-
protoOf(ArrayDeque).
|
|
10142
|
+
protoOf(ArrayDeque).f3 = function () {
|
|
10143
10143
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
10144
10144
|
if (!this.r()) {
|
|
10145
10145
|
registerModification_0(this);
|
|
@@ -10194,10 +10194,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10194
10194
|
if (length === 0)
|
|
10195
10195
|
return Unit_instance;
|
|
10196
10196
|
else if (length === this.vf_1) {
|
|
10197
|
-
this.
|
|
10197
|
+
this.f3();
|
|
10198
10198
|
return Unit_instance;
|
|
10199
10199
|
} else if (length === 1) {
|
|
10200
|
-
this.
|
|
10200
|
+
this.i3(fromIndex);
|
|
10201
10201
|
return Unit_instance;
|
|
10202
10202
|
}
|
|
10203
10203
|
registerModification_0(this);
|
|
@@ -10237,12 +10237,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10237
10237
|
}
|
|
10238
10238
|
return destination;
|
|
10239
10239
|
}
|
|
10240
|
-
function emptyList() {
|
|
10241
|
-
return EmptyList_instance;
|
|
10242
|
-
}
|
|
10243
10240
|
function listOf_0(elements) {
|
|
10244
10241
|
return elements.length > 0 ? asList(elements) : emptyList();
|
|
10245
10242
|
}
|
|
10243
|
+
function emptyList() {
|
|
10244
|
+
return EmptyList_instance;
|
|
10245
|
+
}
|
|
10246
10246
|
function get_lastIndex_3(_this__u8e3s4) {
|
|
10247
10247
|
return _this__u8e3s4.g1() - 1 | 0;
|
|
10248
10248
|
}
|
|
@@ -10436,7 +10436,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10436
10436
|
return this.jg_1.length === 0;
|
|
10437
10437
|
};
|
|
10438
10438
|
protoOf(ArrayAsCollection).lg = function (element) {
|
|
10439
|
-
return
|
|
10439
|
+
return contains_5(this.jg_1, element);
|
|
10440
10440
|
};
|
|
10441
10441
|
protoOf(ArrayAsCollection).mg = function (elements) {
|
|
10442
10442
|
var tmp$ret$0;
|
|
@@ -10556,13 +10556,13 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10556
10556
|
}
|
|
10557
10557
|
function MapWithDefault() {
|
|
10558
10558
|
}
|
|
10559
|
-
function emptyMap() {
|
|
10560
|
-
var tmp = EmptyMap_instance;
|
|
10561
|
-
return isInterface(tmp, KtMap) ? tmp : THROW_CCE();
|
|
10562
|
-
}
|
|
10563
10559
|
function mapOf_0(pairs) {
|
|
10564
10560
|
return pairs.length > 0 ? toMap_0(pairs, LinkedHashMap_init_$Create$_0(mapCapacity(pairs.length))) : emptyMap();
|
|
10565
10561
|
}
|
|
10562
|
+
function emptyMap() {
|
|
10563
|
+
var tmp = EmptyMap_instance;
|
|
10564
|
+
return isInterface(tmp, KtMap) ? tmp : THROW_CCE();
|
|
10565
|
+
}
|
|
10566
10566
|
function getValue(_this__u8e3s4, key) {
|
|
10567
10567
|
return getOrImplicitDefault(_this__u8e3s4, key);
|
|
10568
10568
|
}
|
|
@@ -10591,11 +10591,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10591
10591
|
}
|
|
10592
10592
|
return optimizeReadOnlyMap(toMap_1(_this__u8e3s4, LinkedHashMap_init_$Create$()));
|
|
10593
10593
|
}
|
|
10594
|
-
function
|
|
10594
|
+
function toMap_0(_this__u8e3s4, destination) {
|
|
10595
10595
|
// Inline function 'kotlin.apply' call
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
return this_0;
|
|
10596
|
+
putAll(destination, _this__u8e3s4);
|
|
10597
|
+
return destination;
|
|
10599
10598
|
}
|
|
10600
10599
|
function EmptyMap() {
|
|
10601
10600
|
this.tg_1 = 8246714829545688274n;
|
|
@@ -10664,11 +10663,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10664
10663
|
function EmptyMap_getInstance() {
|
|
10665
10664
|
return EmptyMap_instance;
|
|
10666
10665
|
}
|
|
10667
|
-
function toMap_0(_this__u8e3s4, destination) {
|
|
10668
|
-
// Inline function 'kotlin.apply' call
|
|
10669
|
-
putAll(destination, _this__u8e3s4);
|
|
10670
|
-
return destination;
|
|
10671
|
-
}
|
|
10672
10666
|
function toMap_1(_this__u8e3s4, destination) {
|
|
10673
10667
|
// Inline function 'kotlin.apply' call
|
|
10674
10668
|
putAll_0(destination, _this__u8e3s4);
|
|
@@ -10699,7 +10693,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10699
10693
|
inductionVariable = inductionVariable + 1 | 0;
|
|
10700
10694
|
var key = _destruct__k2r9zo.xg();
|
|
10701
10695
|
var value = _destruct__k2r9zo.yg();
|
|
10702
|
-
_this__u8e3s4.
|
|
10696
|
+
_this__u8e3s4.c3(key, value);
|
|
10703
10697
|
}
|
|
10704
10698
|
}
|
|
10705
10699
|
function putAll_0(_this__u8e3s4, pairs) {
|
|
@@ -10708,9 +10702,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10708
10702
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
10709
10703
|
var key = _destruct__k2r9zo.xg();
|
|
10710
10704
|
var value = _destruct__k2r9zo.yg();
|
|
10711
|
-
_this__u8e3s4.
|
|
10705
|
+
_this__u8e3s4.c3(key, value);
|
|
10712
10706
|
}
|
|
10713
10707
|
}
|
|
10708
|
+
function hashMapOf(pairs) {
|
|
10709
|
+
// Inline function 'kotlin.apply' call
|
|
10710
|
+
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
|
|
10711
|
+
putAll(this_0, pairs);
|
|
10712
|
+
return this_0;
|
|
10713
|
+
}
|
|
10714
10714
|
function toMap_2(_this__u8e3s4) {
|
|
10715
10715
|
return optimizeReadOnlyMap(toMap_3(_this__u8e3s4, LinkedHashMap_init_$Create$()));
|
|
10716
10716
|
}
|
|
@@ -10725,7 +10725,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10725
10725
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
10726
10726
|
var key = _destruct__k2r9zo.xg();
|
|
10727
10727
|
var value = _destruct__k2r9zo.yg();
|
|
10728
|
-
_this__u8e3s4.
|
|
10728
|
+
_this__u8e3s4.c3(key, value);
|
|
10729
10729
|
}
|
|
10730
10730
|
}
|
|
10731
10731
|
function addAll(_this__u8e3s4, elements) {
|
|
@@ -10743,17 +10743,17 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10743
10743
|
}
|
|
10744
10744
|
}
|
|
10745
10745
|
function removeFirstOrNull(_this__u8e3s4) {
|
|
10746
|
-
return _this__u8e3s4.r() ? null : _this__u8e3s4.
|
|
10746
|
+
return _this__u8e3s4.r() ? null : _this__u8e3s4.i3(0);
|
|
10747
10747
|
}
|
|
10748
10748
|
function removeLastOrNull(_this__u8e3s4) {
|
|
10749
|
-
return _this__u8e3s4.r() ? null : _this__u8e3s4.
|
|
10749
|
+
return _this__u8e3s4.r() ? null : _this__u8e3s4.i3(get_lastIndex_3(_this__u8e3s4));
|
|
10750
10750
|
}
|
|
10751
10751
|
function removeLast(_this__u8e3s4) {
|
|
10752
10752
|
var tmp;
|
|
10753
10753
|
if (_this__u8e3s4.r()) {
|
|
10754
10754
|
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
10755
10755
|
} else {
|
|
10756
|
-
tmp = _this__u8e3s4.
|
|
10756
|
+
tmp = _this__u8e3s4.i3(get_lastIndex_3(_this__u8e3s4));
|
|
10757
10757
|
}
|
|
10758
10758
|
return tmp;
|
|
10759
10759
|
}
|
|
@@ -10775,7 +10775,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10775
10775
|
if (predicate(element) === predicateResultToRemove)
|
|
10776
10776
|
continue $l$loop;
|
|
10777
10777
|
if (!(writeIndex === readIndex)) {
|
|
10778
|
-
_this__u8e3s4.
|
|
10778
|
+
_this__u8e3s4.g3(writeIndex, element);
|
|
10779
10779
|
}
|
|
10780
10780
|
writeIndex = writeIndex + 1 | 0;
|
|
10781
10781
|
}
|
|
@@ -10787,7 +10787,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10787
10787
|
do {
|
|
10788
10788
|
var removeIndex = inductionVariable_0;
|
|
10789
10789
|
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
10790
|
-
_this__u8e3s4.
|
|
10790
|
+
_this__u8e3s4.i3(removeIndex);
|
|
10791
10791
|
}
|
|
10792
10792
|
while (!(removeIndex === last_0));
|
|
10793
10793
|
return true;
|
|
@@ -11040,9 +11040,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11040
11040
|
return _this__u8e3s4;
|
|
11041
11041
|
}
|
|
11042
11042
|
}
|
|
11043
|
-
function hashSetOf(elements) {
|
|
11044
|
-
return toCollection(elements, HashSet_init_$Create$_1(mapCapacity(elements.length)));
|
|
11045
|
-
}
|
|
11046
11043
|
function EmptySet() {
|
|
11047
11044
|
this.zh_1 = 3406603774387020532n;
|
|
11048
11045
|
}
|
|
@@ -11094,6 +11091,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11094
11091
|
function EmptySet_getInstance() {
|
|
11095
11092
|
return EmptySet_instance;
|
|
11096
11093
|
}
|
|
11094
|
+
function hashSetOf(elements) {
|
|
11095
|
+
return toCollection(elements, HashSet_init_$Create$_1(mapCapacity(elements.length)));
|
|
11096
|
+
}
|
|
11097
11097
|
function checkWindowSizeStep(size, step) {
|
|
11098
11098
|
// Inline function 'kotlin.require' call
|
|
11099
11099
|
if (!(size > 0 && step > 0)) {
|
|
@@ -11415,7 +11415,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11415
11415
|
|
|
11416
11416
|
case 14:
|
|
11417
11417
|
if (this.yi_1) {
|
|
11418
|
-
this.bj_1.
|
|
11418
|
+
this.bj_1.f3();
|
|
11419
11419
|
} else
|
|
11420
11420
|
this.bj_1 = ArrayList_init_$Create$_0(this.vi_1);
|
|
11421
11421
|
this.cj_1 = this.dj_1;
|
|
@@ -14260,6 +14260,69 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14260
14260
|
return null;
|
|
14261
14261
|
return toShort(int);
|
|
14262
14262
|
}
|
|
14263
|
+
function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
14264
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14265
|
+
limit = limit === VOID ? 0 : limit;
|
|
14266
|
+
if (delimiters.length === 1) {
|
|
14267
|
+
return split_1(_this__u8e3s4, toString(delimiters[0]), ignoreCase, limit);
|
|
14268
|
+
}
|
|
14269
|
+
// Inline function 'kotlin.collections.map' call
|
|
14270
|
+
var this_0 = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
14271
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
14272
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
14273
|
+
var _iterator__ex2g4s = this_0.t();
|
|
14274
|
+
while (_iterator__ex2g4s.u()) {
|
|
14275
|
+
var item = _iterator__ex2g4s.v();
|
|
14276
|
+
var tmp$ret$0 = substring_2(_this__u8e3s4, item);
|
|
14277
|
+
destination.e1(tmp$ret$0);
|
|
14278
|
+
}
|
|
14279
|
+
return destination;
|
|
14280
|
+
}
|
|
14281
|
+
function trimStart(_this__u8e3s4, chars) {
|
|
14282
|
+
// Inline function 'kotlin.text.trimStart' call
|
|
14283
|
+
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
14284
|
+
var tmp$ret$1;
|
|
14285
|
+
$l$block: {
|
|
14286
|
+
// Inline function 'kotlin.text.trimStart' call
|
|
14287
|
+
var inductionVariable = 0;
|
|
14288
|
+
var last = charSequenceLength(tmp0) - 1 | 0;
|
|
14289
|
+
if (inductionVariable <= last)
|
|
14290
|
+
do {
|
|
14291
|
+
var index = inductionVariable;
|
|
14292
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
14293
|
+
var it = charSequenceGet(tmp0, index);
|
|
14294
|
+
if (!contains_0(chars, it)) {
|
|
14295
|
+
tmp$ret$1 = charSequenceSubSequence(tmp0, index, charSequenceLength(tmp0));
|
|
14296
|
+
break $l$block;
|
|
14297
|
+
}
|
|
14298
|
+
}
|
|
14299
|
+
while (inductionVariable <= last);
|
|
14300
|
+
tmp$ret$1 = '';
|
|
14301
|
+
}
|
|
14302
|
+
return toString_1(tmp$ret$1);
|
|
14303
|
+
}
|
|
14304
|
+
function trimEnd(_this__u8e3s4, chars) {
|
|
14305
|
+
// Inline function 'kotlin.text.trimEnd' call
|
|
14306
|
+
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
14307
|
+
var tmp$ret$1;
|
|
14308
|
+
$l$block: {
|
|
14309
|
+
// Inline function 'kotlin.text.trimEnd' call
|
|
14310
|
+
var inductionVariable = charSequenceLength(tmp0) - 1 | 0;
|
|
14311
|
+
if (0 <= inductionVariable)
|
|
14312
|
+
do {
|
|
14313
|
+
var index = inductionVariable;
|
|
14314
|
+
inductionVariable = inductionVariable + -1 | 0;
|
|
14315
|
+
var it = charSequenceGet(tmp0, index);
|
|
14316
|
+
if (!contains_0(chars, it)) {
|
|
14317
|
+
tmp$ret$1 = charSequenceSubSequence(tmp0, 0, index + 1 | 0);
|
|
14318
|
+
break $l$block;
|
|
14319
|
+
}
|
|
14320
|
+
}
|
|
14321
|
+
while (0 <= inductionVariable);
|
|
14322
|
+
tmp$ret$1 = '';
|
|
14323
|
+
}
|
|
14324
|
+
return toString_1(tmp$ret$1);
|
|
14325
|
+
}
|
|
14263
14326
|
function indexOf_5(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
14264
14327
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
14265
14328
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -14402,7 +14465,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14402
14465
|
function substring_1(_this__u8e3s4, range) {
|
|
14403
14466
|
return substring(_this__u8e3s4, range.z1(), range.a2() + 1 | 0);
|
|
14404
14467
|
}
|
|
14405
|
-
function
|
|
14468
|
+
function split_0(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
14406
14469
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14407
14470
|
limit = limit === VOID ? 0 : limit;
|
|
14408
14471
|
if (delimiters.length === 1) {
|
|
@@ -14413,7 +14476,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14413
14476
|
}
|
|
14414
14477
|
}
|
|
14415
14478
|
// Inline function 'kotlin.collections.map' call
|
|
14416
|
-
var this_0 = asIterable(
|
|
14479
|
+
var this_0 = asIterable(rangesDelimitedBy_0(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
14417
14480
|
// Inline function 'kotlin.collections.mapTo' call
|
|
14418
14481
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
14419
14482
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -14455,24 +14518,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14455
14518
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14456
14519
|
return charSequenceLength(_this__u8e3s4) > 0 && equals_1(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase);
|
|
14457
14520
|
}
|
|
14458
|
-
function split_0(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
14459
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14460
|
-
limit = limit === VOID ? 0 : limit;
|
|
14461
|
-
if (delimiters.length === 1) {
|
|
14462
|
-
return split_1(_this__u8e3s4, toString(delimiters[0]), ignoreCase, limit);
|
|
14463
|
-
}
|
|
14464
|
-
// Inline function 'kotlin.collections.map' call
|
|
14465
|
-
var this_0 = asIterable(rangesDelimitedBy_0(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
14466
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
14467
|
-
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
14468
|
-
var _iterator__ex2g4s = this_0.t();
|
|
14469
|
-
while (_iterator__ex2g4s.u()) {
|
|
14470
|
-
var item = _iterator__ex2g4s.v();
|
|
14471
|
-
var tmp$ret$0 = substring_2(_this__u8e3s4, item);
|
|
14472
|
-
destination.e1(tmp$ret$0);
|
|
14473
|
-
}
|
|
14474
|
-
return destination;
|
|
14475
|
-
}
|
|
14476
14521
|
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
14477
14522
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
14478
14523
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -14584,42 +14629,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14584
14629
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14585
14630
|
return charSequenceLength(_this__u8e3s4) > 0 && equals_1(charSequenceGet(_this__u8e3s4, get_lastIndex_4(_this__u8e3s4)), char, ignoreCase);
|
|
14586
14631
|
}
|
|
14587
|
-
function indexOf_7(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
|
|
14588
|
-
last = last === VOID ? false : last;
|
|
14589
|
-
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_4(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
|
|
14590
|
-
var tmp;
|
|
14591
|
-
if (typeof _this__u8e3s4 === 'string') {
|
|
14592
|
-
tmp = typeof other === 'string';
|
|
14593
|
-
} else {
|
|
14594
|
-
tmp = false;
|
|
14595
|
-
}
|
|
14596
|
-
if (tmp) {
|
|
14597
|
-
var inductionVariable = indices.q1_1;
|
|
14598
|
-
var last_0 = indices.r1_1;
|
|
14599
|
-
var step = indices.s1_1;
|
|
14600
|
-
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
|
|
14601
|
-
do {
|
|
14602
|
-
var index = inductionVariable;
|
|
14603
|
-
inductionVariable = inductionVariable + step | 0;
|
|
14604
|
-
if (regionMatches(other, 0, _this__u8e3s4, index, other.length, ignoreCase))
|
|
14605
|
-
return index;
|
|
14606
|
-
}
|
|
14607
|
-
while (!(index === last_0));
|
|
14608
|
-
} else {
|
|
14609
|
-
var inductionVariable_0 = indices.q1_1;
|
|
14610
|
-
var last_1 = indices.r1_1;
|
|
14611
|
-
var step_0 = indices.s1_1;
|
|
14612
|
-
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
|
|
14613
|
-
do {
|
|
14614
|
-
var index_0 = inductionVariable_0;
|
|
14615
|
-
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
|
|
14616
|
-
if (regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase))
|
|
14617
|
-
return index_0;
|
|
14618
|
-
}
|
|
14619
|
-
while (!(index_0 === last_1));
|
|
14620
|
-
}
|
|
14621
|
-
return -1;
|
|
14622
|
-
}
|
|
14623
14632
|
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
14624
14633
|
if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
14625
14634
|
return false;
|
|
@@ -14668,12 +14677,55 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14668
14677
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14669
14678
|
limit = limit === VOID ? 0 : limit;
|
|
14670
14679
|
requireNonNegativeLimit(limit);
|
|
14671
|
-
|
|
14672
|
-
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
|
|
14680
|
+
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimiters, ignoreCase));
|
|
14673
14681
|
}
|
|
14674
14682
|
function substring_2(_this__u8e3s4, range) {
|
|
14675
14683
|
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.z1(), range.a2() + 1 | 0));
|
|
14676
14684
|
}
|
|
14685
|
+
function indexOf_7(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
|
|
14686
|
+
last = last === VOID ? false : last;
|
|
14687
|
+
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_4(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
|
|
14688
|
+
var tmp;
|
|
14689
|
+
if (typeof _this__u8e3s4 === 'string') {
|
|
14690
|
+
tmp = typeof other === 'string';
|
|
14691
|
+
} else {
|
|
14692
|
+
tmp = false;
|
|
14693
|
+
}
|
|
14694
|
+
if (tmp) {
|
|
14695
|
+
var inductionVariable = indices.q1_1;
|
|
14696
|
+
var last_0 = indices.r1_1;
|
|
14697
|
+
var step = indices.s1_1;
|
|
14698
|
+
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
|
|
14699
|
+
do {
|
|
14700
|
+
var index = inductionVariable;
|
|
14701
|
+
inductionVariable = inductionVariable + step | 0;
|
|
14702
|
+
if (regionMatches(other, 0, _this__u8e3s4, index, other.length, ignoreCase))
|
|
14703
|
+
return index;
|
|
14704
|
+
}
|
|
14705
|
+
while (!(index === last_0));
|
|
14706
|
+
} else {
|
|
14707
|
+
var inductionVariable_0 = indices.q1_1;
|
|
14708
|
+
var last_1 = indices.r1_1;
|
|
14709
|
+
var step_0 = indices.s1_1;
|
|
14710
|
+
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
|
|
14711
|
+
do {
|
|
14712
|
+
var index_0 = inductionVariable_0;
|
|
14713
|
+
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
|
|
14714
|
+
if (regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase))
|
|
14715
|
+
return index_0;
|
|
14716
|
+
}
|
|
14717
|
+
while (!(index_0 === last_1));
|
|
14718
|
+
}
|
|
14719
|
+
return -1;
|
|
14720
|
+
}
|
|
14721
|
+
function rangesDelimitedBy_0(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
14722
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
14723
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14724
|
+
limit = limit === VOID ? 0 : limit;
|
|
14725
|
+
requireNonNegativeLimit(limit);
|
|
14726
|
+
var delimitersList = asList(delimiters);
|
|
14727
|
+
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda_0(delimitersList, ignoreCase));
|
|
14728
|
+
}
|
|
14677
14729
|
function State() {
|
|
14678
14730
|
this.pn_1 = 0;
|
|
14679
14731
|
this.qn_1 = 1;
|
|
@@ -14731,13 +14783,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14731
14783
|
var this_0 = this.sn_1;
|
|
14732
14784
|
return toString_1(charSequenceSubSequence(this_0, firstIndex, lastIndex));
|
|
14733
14785
|
};
|
|
14734
|
-
function rangesDelimitedBy_0(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
14735
|
-
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
14736
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14737
|
-
limit = limit === VOID ? 0 : limit;
|
|
14738
|
-
requireNonNegativeLimit(limit);
|
|
14739
|
-
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda_0(delimiters, ignoreCase));
|
|
14740
|
-
}
|
|
14741
14786
|
function padStart_0(_this__u8e3s4, length, padChar) {
|
|
14742
14787
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
14743
14788
|
if (length < 0)
|
|
@@ -14902,51 +14947,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
14902
14947
|
function lines(_this__u8e3s4) {
|
|
14903
14948
|
return toList_2(lineSequence(_this__u8e3s4));
|
|
14904
14949
|
}
|
|
14905
|
-
function trimEnd(_this__u8e3s4, chars) {
|
|
14906
|
-
// Inline function 'kotlin.text.trimEnd' call
|
|
14907
|
-
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
14908
|
-
var tmp$ret$1;
|
|
14909
|
-
$l$block: {
|
|
14910
|
-
// Inline function 'kotlin.text.trimEnd' call
|
|
14911
|
-
var inductionVariable = charSequenceLength(tmp0) - 1 | 0;
|
|
14912
|
-
if (0 <= inductionVariable)
|
|
14913
|
-
do {
|
|
14914
|
-
var index = inductionVariable;
|
|
14915
|
-
inductionVariable = inductionVariable + -1 | 0;
|
|
14916
|
-
var it = charSequenceGet(tmp0, index);
|
|
14917
|
-
if (!contains_5(chars, it)) {
|
|
14918
|
-
tmp$ret$1 = charSequenceSubSequence(tmp0, 0, index + 1 | 0);
|
|
14919
|
-
break $l$block;
|
|
14920
|
-
}
|
|
14921
|
-
}
|
|
14922
|
-
while (0 <= inductionVariable);
|
|
14923
|
-
tmp$ret$1 = '';
|
|
14924
|
-
}
|
|
14925
|
-
return toString_1(tmp$ret$1);
|
|
14926
|
-
}
|
|
14927
|
-
function trimStart(_this__u8e3s4, chars) {
|
|
14928
|
-
// Inline function 'kotlin.text.trimStart' call
|
|
14929
|
-
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
14930
|
-
var tmp$ret$1;
|
|
14931
|
-
$l$block: {
|
|
14932
|
-
// Inline function 'kotlin.text.trimStart' call
|
|
14933
|
-
var inductionVariable = 0;
|
|
14934
|
-
var last = charSequenceLength(tmp0) - 1 | 0;
|
|
14935
|
-
if (inductionVariable <= last)
|
|
14936
|
-
do {
|
|
14937
|
-
var index = inductionVariable;
|
|
14938
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
14939
|
-
var it = charSequenceGet(tmp0, index);
|
|
14940
|
-
if (!contains_5(chars, it)) {
|
|
14941
|
-
tmp$ret$1 = charSequenceSubSequence(tmp0, index, charSequenceLength(tmp0));
|
|
14942
|
-
break $l$block;
|
|
14943
|
-
}
|
|
14944
|
-
}
|
|
14945
|
-
while (inductionVariable <= last);
|
|
14946
|
-
tmp$ret$1 = '';
|
|
14947
|
-
}
|
|
14948
|
-
return toString_1(tmp$ret$1);
|
|
14949
|
-
}
|
|
14950
14950
|
function removeSurrounding(_this__u8e3s4, delimiter) {
|
|
14951
14951
|
return removeSurrounding_0(_this__u8e3s4, delimiter, delimiter);
|
|
14952
14952
|
}
|
|
@@ -15003,7 +15003,14 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
15003
15003
|
protoOf(lineSequence$$inlined$Sequence$1).t = function () {
|
|
15004
15004
|
return new LinesIterator(this.ho_1);
|
|
15005
15005
|
};
|
|
15006
|
-
function rangesDelimitedBy$lambda($
|
|
15006
|
+
function rangesDelimitedBy$lambda($delimiters, $ignoreCase) {
|
|
15007
|
+
return function ($this$DelimitedRangesSequence, currentIndex) {
|
|
15008
|
+
// Inline function 'kotlin.let' call
|
|
15009
|
+
var it = indexOfAny($this$DelimitedRangesSequence, $delimiters, currentIndex, $ignoreCase);
|
|
15010
|
+
return it < 0 ? null : to(it, 1);
|
|
15011
|
+
};
|
|
15012
|
+
}
|
|
15013
|
+
function rangesDelimitedBy$lambda_0($delimitersList, $ignoreCase) {
|
|
15007
15014
|
return function ($this$DelimitedRangesSequence, currentIndex) {
|
|
15008
15015
|
var tmp0_safe_receiver = findAnyOf($this$DelimitedRangesSequence, $delimitersList, currentIndex, $ignoreCase, false);
|
|
15009
15016
|
var tmp;
|
|
@@ -15016,13 +15023,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
15016
15023
|
return tmp;
|
|
15017
15024
|
};
|
|
15018
15025
|
}
|
|
15019
|
-
function rangesDelimitedBy$lambda_0($delimiters, $ignoreCase) {
|
|
15020
|
-
return function ($this$DelimitedRangesSequence, currentIndex) {
|
|
15021
|
-
// Inline function 'kotlin.let' call
|
|
15022
|
-
var it = indexOfAny($this$DelimitedRangesSequence, $delimiters, currentIndex, $ignoreCase);
|
|
15023
|
-
return it < 0 ? null : to(it, 1);
|
|
15024
|
-
};
|
|
15025
|
-
}
|
|
15026
15026
|
function System() {
|
|
15027
15027
|
}
|
|
15028
15028
|
protoOf(System).io = function () {
|
|
@@ -17652,7 +17652,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
17652
17652
|
// Inline function 'kotlin.UByte.toByte' call
|
|
17653
17653
|
var this_0 = element.c2_1;
|
|
17654
17654
|
var tmp$ret$1 = _UByte___get_data__impl__jof9qr(this_0);
|
|
17655
|
-
tmp_0 =
|
|
17655
|
+
tmp_0 = contains_3(tmp_1, tmp$ret$1);
|
|
17656
17656
|
} else {
|
|
17657
17657
|
tmp_0 = false;
|
|
17658
17658
|
}
|
|
@@ -17844,7 +17844,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
17844
17844
|
// Inline function 'kotlin.UInt.toInt' call
|
|
17845
17845
|
var this_0 = element.ir_1;
|
|
17846
17846
|
var tmp$ret$1 = _UInt___get_data__impl__f0vqqw(this_0);
|
|
17847
|
-
tmp_0 =
|
|
17847
|
+
tmp_0 = contains_2(tmp_1, tmp$ret$1);
|
|
17848
17848
|
} else {
|
|
17849
17849
|
tmp_0 = false;
|
|
17850
17850
|
}
|
|
@@ -18015,7 +18015,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
18015
18015
|
var tmp = _ULongArray___get_storage__impl__28e64j($this);
|
|
18016
18016
|
// Inline function 'kotlin.ULong.toLong' call
|
|
18017
18017
|
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(element);
|
|
18018
|
-
return
|
|
18018
|
+
return contains_1(tmp, tmp$ret$0);
|
|
18019
18019
|
}
|
|
18020
18020
|
function ULongArray__containsAll_impl_xx8ztf($this, elements) {
|
|
18021
18021
|
var tmp0 = isInterface(elements, Collection) ? elements : THROW_CCE();
|
|
@@ -18041,7 +18041,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
18041
18041
|
// Inline function 'kotlin.ULong.toLong' call
|
|
18042
18042
|
var this_0 = element.b2_1;
|
|
18043
18043
|
var tmp$ret$1 = _ULong___get_data__impl__fggpzb(this_0);
|
|
18044
|
-
tmp_0 =
|
|
18044
|
+
tmp_0 = contains_1(tmp_1, tmp$ret$1);
|
|
18045
18045
|
} else {
|
|
18046
18046
|
tmp_0 = false;
|
|
18047
18047
|
}
|
|
@@ -18235,7 +18235,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
18235
18235
|
// Inline function 'kotlin.UShort.toShort' call
|
|
18236
18236
|
var this_0 = element.ds_1;
|
|
18237
18237
|
var tmp$ret$1 = _UShort___get_data__impl__g0245(this_0);
|
|
18238
|
-
tmp_0 =
|
|
18238
|
+
tmp_0 = contains_4(tmp_1, tmp$ret$1);
|
|
18239
18239
|
} else {
|
|
18240
18240
|
tmp_0 = false;
|
|
18241
18241
|
}
|
|
@@ -18769,10 +18769,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
18769
18769
|
_.$_$.k6 = checkIndexOverflow;
|
|
18770
18770
|
_.$_$.l6 = chunked;
|
|
18771
18771
|
_.$_$.m6 = collectionSizeOrDefault;
|
|
18772
|
-
_.$_$.n6 =
|
|
18773
|
-
_.$_$.o6 =
|
|
18774
|
-
_.$_$.p6 =
|
|
18775
|
-
_.$_$.q6 =
|
|
18772
|
+
_.$_$.n6 = contentEquals_0;
|
|
18773
|
+
_.$_$.o6 = contentEquals;
|
|
18774
|
+
_.$_$.p6 = contentHashCode;
|
|
18775
|
+
_.$_$.q6 = contentHashCode_0;
|
|
18776
18776
|
_.$_$.r6 = contentToString;
|
|
18777
18777
|
_.$_$.s6 = copyOfRange_1;
|
|
18778
18778
|
_.$_$.t6 = copyOfRange_0;
|
|
@@ -19005,12 +19005,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
19005
19005
|
_.$_$.mf = removeSuffix;
|
|
19006
19006
|
_.$_$.nf = removeSurrounding;
|
|
19007
19007
|
_.$_$.of = repeat;
|
|
19008
|
-
_.$_$.pf =
|
|
19009
|
-
_.$_$.qf =
|
|
19008
|
+
_.$_$.pf = replace;
|
|
19009
|
+
_.$_$.qf = replace_0;
|
|
19010
19010
|
_.$_$.rf = reversed_0;
|
|
19011
19011
|
_.$_$.sf = single_2;
|
|
19012
|
-
_.$_$.tf =
|
|
19013
|
-
_.$_$.uf =
|
|
19012
|
+
_.$_$.tf = split;
|
|
19013
|
+
_.$_$.uf = split_0;
|
|
19014
19014
|
_.$_$.vf = startsWith;
|
|
19015
19015
|
_.$_$.wf = startsWith_3;
|
|
19016
19016
|
_.$_$.xf = startsWith_2;
|