@tuprolog/2p-full 2.0.9 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-bdd.js +21 -21
- package/2p-core.js +105 -100
- package/2p-core.js.map +1 -1
- package/2p-full.js +7 -11
- package/2p-full.js.map +1 -1
- package/2p-io-lib.js +331 -121
- package/2p-io-lib.js.map +1 -1
- package/2p-oop-lib.js +276 -141
- package/2p-oop-lib.js.map +1 -1
- package/2p-parser-core.js +11 -11
- package/2p-parser-impl.js +65 -65
- package/2p-parser-theory.js +13 -13
- package/2p-repl.js +54 -51
- package/2p-repl.js.map +1 -1
- package/2p-solve-plp.js +1 -1
- package/2p-solve-problog.js +118 -118
- package/2p-solve-problog.js.map +1 -1
- package/{2p-solve-classic.js → 2p-solve-prolog.js} +727 -703
- package/2p-solve-prolog.js.map +1 -0
- package/2p-solve.js +2484 -1305
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +54 -54
- package/2p-unify.js +22 -22
- package/2p-utils.js +42 -42
- package/README.md +1 -1
- package/clikt-clikt-mordant.js +9 -9
- package/clikt-clikt.js +129 -129
- package/colormath-root-colormath.js +29 -29
- package/kotlin-kotlin-stdlib.js +707 -645
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +70 -70
- package/markdown.js +15 -0
- package/markdown.js.map +1 -0
- package/mordant-mordant.js +81 -81
- package/okio-parent-okio-nodefilesystem.js +10 -10
- package/okio-parent-okio.js +33 -33
- package/package.json +1 -1
- package/2p-solve-classic.js.map +0 -1
- package/2p-solve-streams.js +0 -2661
- package/2p-solve-streams.js.map +0 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -149,24 +149,24 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
149
149
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
|
|
150
150
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
151
151
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
152
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [
|
|
152
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtList, Collection, MutableIterable]);
|
|
153
153
|
initMetadataForInterface(RandomAccess, 'RandomAccess');
|
|
154
154
|
initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList, [RandomAccess]);
|
|
155
155
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
156
156
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
|
|
157
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [
|
|
157
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [KtSet, Collection, MutableIterable]);
|
|
158
158
|
initMetadataForCompanion(Companion_2);
|
|
159
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [
|
|
159
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtList, Collection, MutableIterable, RandomAccess]);
|
|
160
160
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
|
|
161
|
-
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [
|
|
161
|
+
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, MutableIterable]);
|
|
162
162
|
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
|
|
163
|
-
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [
|
|
163
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection, MutableIterable]);
|
|
164
164
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
165
165
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
166
166
|
initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
|
|
167
167
|
initMetadataForClass(HashMapValuesDefault$iterator$1);
|
|
168
168
|
initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
|
|
169
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [
|
|
169
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [KtSet, Collection, MutableIterable]);
|
|
170
170
|
initMetadataForCompanion(Companion_3);
|
|
171
171
|
initMetadataForClass(Itr, 'Itr');
|
|
172
172
|
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
|
|
@@ -212,7 +212,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
212
212
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
213
213
|
initMetadataForObject(EmptyHolder, 'EmptyHolder');
|
|
214
214
|
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [KtMap]);
|
|
215
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [
|
|
215
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [KtSet, Collection, MutableIterable]);
|
|
216
216
|
initMetadataForClass(BaseOutput, 'BaseOutput');
|
|
217
217
|
initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
|
|
218
218
|
initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);
|
|
@@ -300,14 +300,14 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
300
300
|
initMetadataForClass(DropSequence, 'DropSequence', VOID, VOID, [Sequence, DropTakeSequence]);
|
|
301
301
|
initMetadataForClass(TakeSequence$iterator$1);
|
|
302
302
|
initMetadataForClass(TakeSequence, 'TakeSequence', VOID, VOID, [Sequence, DropTakeSequence]);
|
|
303
|
-
initMetadataForClass(IndexingSequence$iterator$1);
|
|
304
|
-
initMetadataForClass(IndexingSequence, 'IndexingSequence', VOID, VOID, [Sequence]);
|
|
305
303
|
initMetadataForClass(TransformingIndexedSequence$iterator$1);
|
|
306
304
|
initMetadataForClass(TransformingIndexedSequence, 'TransformingIndexedSequence', VOID, VOID, [Sequence]);
|
|
307
305
|
initMetadataForClass(TakeWhileSequence$iterator$1);
|
|
308
306
|
initMetadataForClass(TakeWhileSequence, 'TakeWhileSequence', VOID, VOID, [Sequence]);
|
|
309
307
|
initMetadataForClass(MergingSequence$iterator$1);
|
|
310
308
|
initMetadataForClass(MergingSequence, 'MergingSequence', VOID, VOID, [Sequence]);
|
|
309
|
+
initMetadataForClass(IndexingSequence$iterator$1);
|
|
310
|
+
initMetadataForClass(IndexingSequence, 'IndexingSequence', VOID, VOID, [Sequence]);
|
|
311
311
|
initMetadataForClass(DistinctSequence, 'DistinctSequence', VOID, VOID, [Sequence]);
|
|
312
312
|
initMetadataForObject(EmptySequence, 'EmptySequence', VOID, VOID, [Sequence, DropTakeSequence]);
|
|
313
313
|
initMetadataForClass(GeneratorSequence$iterator$1);
|
|
@@ -319,6 +319,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
319
319
|
initMetadataForClass(sequenceOf$$inlined$Sequence$1, VOID, VOID, VOID, [Sequence]);
|
|
320
320
|
initMetadataForClass(asSequence$$inlined$Sequence$1_2, VOID, VOID, VOID, [Sequence]);
|
|
321
321
|
initMetadataForObject(EmptySet, 'EmptySet', VOID, VOID, [KtSet]);
|
|
322
|
+
initMetadataForObject(NaturalOrderComparator, 'NaturalOrderComparator', VOID, VOID, [Comparator]);
|
|
322
323
|
initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
323
324
|
initMetadataForObject(Key, 'Key');
|
|
324
325
|
function releaseInterceptedContinuation(continuation) {
|
|
@@ -581,6 +582,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
581
582
|
}
|
|
582
583
|
return destination;
|
|
583
584
|
}
|
|
585
|
+
function contains_1(_this__u8e3s4, element) {
|
|
586
|
+
return indexOf_0(_this__u8e3s4, element) >= 0;
|
|
587
|
+
}
|
|
584
588
|
function single(_this__u8e3s4) {
|
|
585
589
|
var tmp;
|
|
586
590
|
switch (_this__u8e3s4.length) {
|
|
@@ -594,9 +598,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
594
598
|
}
|
|
595
599
|
return tmp;
|
|
596
600
|
}
|
|
597
|
-
function contains_1(_this__u8e3s4, element) {
|
|
598
|
-
return indexOf_0(_this__u8e3s4, element) >= 0;
|
|
599
|
-
}
|
|
600
601
|
function indexOf_0(_this__u8e3s4, element) {
|
|
601
602
|
var inductionVariable = 0;
|
|
602
603
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
@@ -731,12 +732,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
731
732
|
tmp = listOf(tmp_0);
|
|
732
733
|
break;
|
|
733
734
|
default:
|
|
734
|
-
tmp =
|
|
735
|
+
tmp = toMutableList_0(_this__u8e3s4);
|
|
735
736
|
break;
|
|
736
737
|
}
|
|
737
738
|
return tmp;
|
|
738
739
|
}
|
|
739
|
-
return optimizeReadOnlyList(
|
|
740
|
+
return optimizeReadOnlyList(toMutableList(_this__u8e3s4));
|
|
740
741
|
}
|
|
741
742
|
function subtract(_this__u8e3s4, other) {
|
|
742
743
|
var otherCollection = convertToListIfNotCollection(other);
|
|
@@ -756,102 +757,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
756
757
|
return _this__u8e3s4.contains_aljjnj_k$(element);
|
|
757
758
|
return indexOf_1(_this__u8e3s4, element) >= 0;
|
|
758
759
|
}
|
|
759
|
-
function single_0(_this__u8e3s4) {
|
|
760
|
-
var tmp;
|
|
761
|
-
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
762
|
-
case 0:
|
|
763
|
-
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
764
|
-
case 1:
|
|
765
|
-
tmp = _this__u8e3s4.get_c1px32_k$(0);
|
|
766
|
-
break;
|
|
767
|
-
default:
|
|
768
|
-
throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
|
|
769
|
-
}
|
|
770
|
-
return tmp;
|
|
771
|
-
}
|
|
772
|
-
function first_0(_this__u8e3s4) {
|
|
773
|
-
if (_this__u8e3s4.isEmpty_y1axqb_k$())
|
|
774
|
-
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
775
|
-
return _this__u8e3s4.get_c1px32_k$(0);
|
|
776
|
-
}
|
|
777
|
-
function last_1(_this__u8e3s4) {
|
|
778
|
-
if (_this__u8e3s4.isEmpty_y1axqb_k$())
|
|
779
|
-
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
780
|
-
return _this__u8e3s4.get_c1px32_k$(get_lastIndex_1(_this__u8e3s4));
|
|
781
|
-
}
|
|
782
|
-
function drop(_this__u8e3s4, n) {
|
|
783
|
-
// Inline function 'kotlin.require' call
|
|
784
|
-
if (!(n >= 0)) {
|
|
785
|
-
var message = 'Requested element count ' + n + ' is less than zero.';
|
|
786
|
-
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
787
|
-
}
|
|
788
|
-
if (n === 0)
|
|
789
|
-
return toList_0(_this__u8e3s4);
|
|
790
|
-
var list;
|
|
791
|
-
if (isInterface(_this__u8e3s4, Collection)) {
|
|
792
|
-
var resultSize = _this__u8e3s4.get_size_woubt6_k$() - n | 0;
|
|
793
|
-
if (resultSize <= 0)
|
|
794
|
-
return emptyList();
|
|
795
|
-
if (resultSize === 1)
|
|
796
|
-
return listOf(last_2(_this__u8e3s4));
|
|
797
|
-
list = ArrayList_init_$Create$_0(resultSize);
|
|
798
|
-
if (isInterface(_this__u8e3s4, KtList)) {
|
|
799
|
-
if (isInterface(_this__u8e3s4, RandomAccess)) {
|
|
800
|
-
var inductionVariable = n;
|
|
801
|
-
var last = _this__u8e3s4.get_size_woubt6_k$();
|
|
802
|
-
if (inductionVariable < last)
|
|
803
|
-
do {
|
|
804
|
-
var index = inductionVariable;
|
|
805
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
806
|
-
list.add_utx5q5_k$(_this__u8e3s4.get_c1px32_k$(index));
|
|
807
|
-
}
|
|
808
|
-
while (inductionVariable < last);
|
|
809
|
-
} else {
|
|
810
|
-
// Inline function 'kotlin.collections.iterator' call
|
|
811
|
-
var _iterator__ex2g4s = _this__u8e3s4.listIterator_70e65o_k$(n);
|
|
812
|
-
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
813
|
-
var item = _iterator__ex2g4s.next_20eer_k$();
|
|
814
|
-
list.add_utx5q5_k$(item);
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
return list;
|
|
818
|
-
}
|
|
819
|
-
} else {
|
|
820
|
-
list = ArrayList_init_$Create$();
|
|
821
|
-
}
|
|
822
|
-
var count = 0;
|
|
823
|
-
var _iterator__ex2g4s_0 = _this__u8e3s4.iterator_jk1svi_k$();
|
|
824
|
-
while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
|
|
825
|
-
var item_0 = _iterator__ex2g4s_0.next_20eer_k$();
|
|
826
|
-
if (count >= n)
|
|
827
|
-
list.add_utx5q5_k$(item_0);
|
|
828
|
-
else {
|
|
829
|
-
count = count + 1 | 0;
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
return optimizeReadOnlyList(list);
|
|
833
|
-
}
|
|
834
|
-
function plus_0(_this__u8e3s4, elements) {
|
|
835
|
-
if (isInterface(elements, Collection)) {
|
|
836
|
-
var result = ArrayList_init_$Create$_0(_this__u8e3s4.get_size_woubt6_k$() + elements.get_size_woubt6_k$() | 0);
|
|
837
|
-
result.addAll_h3ej1q_k$(_this__u8e3s4);
|
|
838
|
-
result.addAll_h3ej1q_k$(elements);
|
|
839
|
-
return result;
|
|
840
|
-
} else {
|
|
841
|
-
var result_0 = ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
842
|
-
addAll(result_0, elements);
|
|
843
|
-
return result_0;
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
function firstOrNull(_this__u8e3s4) {
|
|
847
|
-
return _this__u8e3s4.isEmpty_y1axqb_k$() ? null : _this__u8e3s4.get_c1px32_k$(0);
|
|
848
|
-
}
|
|
849
|
-
function toMutableList(_this__u8e3s4) {
|
|
850
|
-
return ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
851
|
-
}
|
|
852
|
-
function lastOrNull(_this__u8e3s4) {
|
|
853
|
-
return _this__u8e3s4.isEmpty_y1axqb_k$() ? null : _this__u8e3s4.get_c1px32_k$(_this__u8e3s4.get_size_woubt6_k$() - 1 | 0);
|
|
854
|
-
}
|
|
855
760
|
function count(_this__u8e3s4) {
|
|
856
761
|
if (isInterface(_this__u8e3s4, Collection))
|
|
857
762
|
return _this__u8e3s4.get_size_woubt6_k$();
|
|
@@ -864,6 +769,16 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
864
769
|
}
|
|
865
770
|
return count;
|
|
866
771
|
}
|
|
772
|
+
function first_0(_this__u8e3s4) {
|
|
773
|
+
if (_this__u8e3s4.isEmpty_y1axqb_k$())
|
|
774
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
775
|
+
return _this__u8e3s4.get_c1px32_k$(0);
|
|
776
|
+
}
|
|
777
|
+
function last_1(_this__u8e3s4) {
|
|
778
|
+
if (_this__u8e3s4.isEmpty_y1axqb_k$())
|
|
779
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
780
|
+
return _this__u8e3s4.get_c1px32_k$(get_lastIndex_1(_this__u8e3s4));
|
|
781
|
+
}
|
|
867
782
|
function slice(_this__u8e3s4, indices) {
|
|
868
783
|
if (indices.isEmpty_y1axqb_k$()) {
|
|
869
784
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -879,11 +794,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
879
794
|
function withIndex(_this__u8e3s4) {
|
|
880
795
|
return new IndexingIterable(withIndex$lambda(_this__u8e3s4));
|
|
881
796
|
}
|
|
882
|
-
function toMutableList_0(_this__u8e3s4) {
|
|
883
|
-
if (isInterface(_this__u8e3s4, Collection))
|
|
884
|
-
return toMutableList(_this__u8e3s4);
|
|
885
|
-
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
886
|
-
}
|
|
887
797
|
function sortedWith(_this__u8e3s4, comparator) {
|
|
888
798
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
889
799
|
if (_this__u8e3s4.get_size_woubt6_k$() <= 1)
|
|
@@ -896,10 +806,59 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
896
806
|
return asList(this_0);
|
|
897
807
|
}
|
|
898
808
|
// Inline function 'kotlin.apply' call
|
|
899
|
-
var this_1 =
|
|
809
|
+
var this_1 = toMutableList(_this__u8e3s4);
|
|
900
810
|
sortWith_0(this_1, comparator);
|
|
901
811
|
return this_1;
|
|
902
812
|
}
|
|
813
|
+
function sorted(_this__u8e3s4) {
|
|
814
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
815
|
+
if (_this__u8e3s4.get_size_woubt6_k$() <= 1)
|
|
816
|
+
return toList_0(_this__u8e3s4);
|
|
817
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
818
|
+
var tmp = copyToArray(_this__u8e3s4);
|
|
819
|
+
// Inline function 'kotlin.apply' call
|
|
820
|
+
var this_0 = isArray(tmp) ? tmp : THROW_CCE();
|
|
821
|
+
sort(this_0);
|
|
822
|
+
return asList(this_0);
|
|
823
|
+
}
|
|
824
|
+
// Inline function 'kotlin.apply' call
|
|
825
|
+
var this_1 = toMutableList(_this__u8e3s4);
|
|
826
|
+
sort_0(this_1);
|
|
827
|
+
return this_1;
|
|
828
|
+
}
|
|
829
|
+
function plus_0(_this__u8e3s4, elements) {
|
|
830
|
+
if (isInterface(elements, Collection)) {
|
|
831
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.get_size_woubt6_k$() + elements.get_size_woubt6_k$() | 0);
|
|
832
|
+
result.addAll_h3ej1q_k$(_this__u8e3s4);
|
|
833
|
+
result.addAll_h3ej1q_k$(elements);
|
|
834
|
+
return result;
|
|
835
|
+
} else {
|
|
836
|
+
var result_0 = ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
837
|
+
addAll(result_0, elements);
|
|
838
|
+
return result_0;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
function distinct(_this__u8e3s4) {
|
|
842
|
+
return toList_0(toMutableSet(_this__u8e3s4));
|
|
843
|
+
}
|
|
844
|
+
function single_0(_this__u8e3s4) {
|
|
845
|
+
var tmp;
|
|
846
|
+
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
847
|
+
case 0:
|
|
848
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
849
|
+
case 1:
|
|
850
|
+
tmp = _this__u8e3s4.get_c1px32_k$(0);
|
|
851
|
+
break;
|
|
852
|
+
default:
|
|
853
|
+
throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
|
|
854
|
+
}
|
|
855
|
+
return tmp;
|
|
856
|
+
}
|
|
857
|
+
function toMutableList(_this__u8e3s4) {
|
|
858
|
+
if (isInterface(_this__u8e3s4, Collection))
|
|
859
|
+
return toMutableList_0(_this__u8e3s4);
|
|
860
|
+
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
|
|
861
|
+
}
|
|
903
862
|
function minOrNull(_this__u8e3s4) {
|
|
904
863
|
var iterator = _this__u8e3s4.iterator_jk1svi_k$();
|
|
905
864
|
if (!iterator.hasNext_bitz1p_k$())
|
|
@@ -917,6 +876,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
917
876
|
return !_this__u8e3s4.isEmpty_y1axqb_k$();
|
|
918
877
|
return _this__u8e3s4.iterator_jk1svi_k$().hasNext_bitz1p_k$();
|
|
919
878
|
}
|
|
879
|
+
function firstOrNull(_this__u8e3s4) {
|
|
880
|
+
return _this__u8e3s4.isEmpty_y1axqb_k$() ? null : _this__u8e3s4.get_c1px32_k$(0);
|
|
881
|
+
}
|
|
920
882
|
function singleOrNull(_this__u8e3s4) {
|
|
921
883
|
if (isInterface(_this__u8e3s4, KtList))
|
|
922
884
|
return _this__u8e3s4.get_size_woubt6_k$() === 1 ? _this__u8e3s4.get_c1px32_k$(0) : null;
|
|
@@ -980,6 +942,61 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
980
942
|
function getOrNull_0(_this__u8e3s4, index) {
|
|
981
943
|
return (0 <= index ? index < _this__u8e3s4.get_size_woubt6_k$() : false) ? _this__u8e3s4.get_c1px32_k$(index) : null;
|
|
982
944
|
}
|
|
945
|
+
function lastOrNull(_this__u8e3s4) {
|
|
946
|
+
return _this__u8e3s4.isEmpty_y1axqb_k$() ? null : _this__u8e3s4.get_c1px32_k$(_this__u8e3s4.get_size_woubt6_k$() - 1 | 0);
|
|
947
|
+
}
|
|
948
|
+
function drop(_this__u8e3s4, n) {
|
|
949
|
+
// Inline function 'kotlin.require' call
|
|
950
|
+
if (!(n >= 0)) {
|
|
951
|
+
var message = 'Requested element count ' + n + ' is less than zero.';
|
|
952
|
+
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
953
|
+
}
|
|
954
|
+
if (n === 0)
|
|
955
|
+
return toList_0(_this__u8e3s4);
|
|
956
|
+
var list;
|
|
957
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
958
|
+
var resultSize = _this__u8e3s4.get_size_woubt6_k$() - n | 0;
|
|
959
|
+
if (resultSize <= 0)
|
|
960
|
+
return emptyList();
|
|
961
|
+
if (resultSize === 1)
|
|
962
|
+
return listOf(last_2(_this__u8e3s4));
|
|
963
|
+
list = ArrayList_init_$Create$_0(resultSize);
|
|
964
|
+
if (isInterface(_this__u8e3s4, KtList)) {
|
|
965
|
+
if (isInterface(_this__u8e3s4, RandomAccess)) {
|
|
966
|
+
var inductionVariable = n;
|
|
967
|
+
var last = _this__u8e3s4.get_size_woubt6_k$();
|
|
968
|
+
if (inductionVariable < last)
|
|
969
|
+
do {
|
|
970
|
+
var index = inductionVariable;
|
|
971
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
972
|
+
list.add_utx5q5_k$(_this__u8e3s4.get_c1px32_k$(index));
|
|
973
|
+
}
|
|
974
|
+
while (inductionVariable < last);
|
|
975
|
+
} else {
|
|
976
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
977
|
+
var _iterator__ex2g4s = _this__u8e3s4.listIterator_70e65o_k$(n);
|
|
978
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
979
|
+
var item = _iterator__ex2g4s.next_20eer_k$();
|
|
980
|
+
list.add_utx5q5_k$(item);
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
return list;
|
|
984
|
+
}
|
|
985
|
+
} else {
|
|
986
|
+
list = ArrayList_init_$Create$();
|
|
987
|
+
}
|
|
988
|
+
var count = 0;
|
|
989
|
+
var _iterator__ex2g4s_0 = _this__u8e3s4.iterator_jk1svi_k$();
|
|
990
|
+
while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
|
|
991
|
+
var item_0 = _iterator__ex2g4s_0.next_20eer_k$();
|
|
992
|
+
if (count >= n)
|
|
993
|
+
list.add_utx5q5_k$(item_0);
|
|
994
|
+
else {
|
|
995
|
+
count = count + 1 | 0;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
return optimizeReadOnlyList(list);
|
|
999
|
+
}
|
|
983
1000
|
function toCollection_0(_this__u8e3s4, destination) {
|
|
984
1001
|
var _iterator__ex2g4s = _this__u8e3s4.iterator_jk1svi_k$();
|
|
985
1002
|
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
@@ -988,6 +1005,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
988
1005
|
}
|
|
989
1006
|
return destination;
|
|
990
1007
|
}
|
|
1008
|
+
function toMutableList_0(_this__u8e3s4) {
|
|
1009
|
+
return ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
1010
|
+
}
|
|
991
1011
|
function indexOf_1(_this__u8e3s4, element) {
|
|
992
1012
|
if (isInterface(_this__u8e3s4, KtList))
|
|
993
1013
|
return _this__u8e3s4.indexOf_si1fv9_k$(element);
|
|
@@ -1002,6 +1022,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1002
1022
|
}
|
|
1003
1023
|
return -1;
|
|
1004
1024
|
}
|
|
1025
|
+
function toMutableSet(_this__u8e3s4) {
|
|
1026
|
+
var tmp;
|
|
1027
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
1028
|
+
tmp = LinkedHashSet_init_$Create$_0(_this__u8e3s4);
|
|
1029
|
+
} else {
|
|
1030
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$());
|
|
1031
|
+
}
|
|
1032
|
+
return tmp;
|
|
1033
|
+
}
|
|
1005
1034
|
function last_2(_this__u8e3s4) {
|
|
1006
1035
|
if (isInterface(_this__u8e3s4, KtList))
|
|
1007
1036
|
return last_1(_this__u8e3s4);
|
|
@@ -1275,7 +1304,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1275
1304
|
function plus_2(_this__u8e3s4, elements) {
|
|
1276
1305
|
return flatten_0(sequenceOf_0([_this__u8e3s4, elements]));
|
|
1277
1306
|
}
|
|
1278
|
-
function
|
|
1307
|
+
function distinct_0(_this__u8e3s4) {
|
|
1279
1308
|
return distinctBy(_this__u8e3s4, distinct$lambda);
|
|
1280
1309
|
}
|
|
1281
1310
|
function flatMap(_this__u8e3s4, transform) {
|
|
@@ -1308,6 +1337,13 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1308
1337
|
function any_0(_this__u8e3s4) {
|
|
1309
1338
|
return _this__u8e3s4.iterator_jk1svi_k$().hasNext_bitz1p_k$();
|
|
1310
1339
|
}
|
|
1340
|
+
function filterNot(_this__u8e3s4, predicate) {
|
|
1341
|
+
return new FilteringSequence(_this__u8e3s4, false, predicate);
|
|
1342
|
+
}
|
|
1343
|
+
function filterNotNull_0(_this__u8e3s4) {
|
|
1344
|
+
var tmp = filterNot(_this__u8e3s4, filterNotNull$lambda);
|
|
1345
|
+
return isInterface(tmp, Sequence) ? tmp : THROW_CCE();
|
|
1346
|
+
}
|
|
1311
1347
|
function take_0(_this__u8e3s4, n) {
|
|
1312
1348
|
// Inline function 'kotlin.require' call
|
|
1313
1349
|
if (!(n >= 0)) {
|
|
@@ -1326,41 +1362,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1326
1362
|
}
|
|
1327
1363
|
return tmp;
|
|
1328
1364
|
}
|
|
1329
|
-
function
|
|
1330
|
-
|
|
1331
|
-
var tmp_0 = new FilteringSequence(tmp, true, filterIndexed$lambda(predicate));
|
|
1332
|
-
return new TransformingSequence(tmp_0, filterIndexed$lambda_0);
|
|
1333
|
-
}
|
|
1334
|
-
function indexOf_2(_this__u8e3s4, element) {
|
|
1335
|
-
var index = 0;
|
|
1336
|
-
var _iterator__ex2g4s = _this__u8e3s4.iterator_jk1svi_k$();
|
|
1337
|
-
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
1338
|
-
var item = _iterator__ex2g4s.next_20eer_k$();
|
|
1339
|
-
checkIndexOverflow(index);
|
|
1340
|
-
if (equals(element, item))
|
|
1341
|
-
return index;
|
|
1342
|
-
index = index + 1 | 0;
|
|
1343
|
-
}
|
|
1344
|
-
return -1;
|
|
1345
|
-
}
|
|
1346
|
-
function plus_3(_this__u8e3s4, elements) {
|
|
1347
|
-
return flatten_0(sequenceOf_0([_this__u8e3s4, asSequence_1(elements)]));
|
|
1348
|
-
}
|
|
1349
|
-
function plus_4(_this__u8e3s4, element) {
|
|
1350
|
-
return flatten_0(sequenceOf_0([_this__u8e3s4, sequenceOf(element)]));
|
|
1351
|
-
}
|
|
1352
|
-
function none_0(_this__u8e3s4) {
|
|
1353
|
-
return !_this__u8e3s4.iterator_jk1svi_k$().hasNext_bitz1p_k$();
|
|
1354
|
-
}
|
|
1355
|
-
function filterNot(_this__u8e3s4, predicate) {
|
|
1356
|
-
return new FilteringSequence(_this__u8e3s4, false, predicate);
|
|
1357
|
-
}
|
|
1358
|
-
function filterNotNull_0(_this__u8e3s4) {
|
|
1359
|
-
var tmp = filterNot(_this__u8e3s4, filterNotNull$lambda);
|
|
1360
|
-
return isInterface(tmp, Sequence) ? tmp : THROW_CCE();
|
|
1361
|
-
}
|
|
1362
|
-
function mapIndexed(_this__u8e3s4, transform) {
|
|
1363
|
-
return new TransformingIndexedSequence(_this__u8e3s4, transform);
|
|
1365
|
+
function mapIndexed(_this__u8e3s4, transform) {
|
|
1366
|
+
return new TransformingIndexedSequence(_this__u8e3s4, transform);
|
|
1364
1367
|
}
|
|
1365
1368
|
function joinToString_1(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
1366
1369
|
separator = separator === VOID ? ', ' : separator;
|
|
@@ -1374,9 +1377,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1374
1377
|
function takeWhile(_this__u8e3s4, predicate) {
|
|
1375
1378
|
return new TakeWhileSequence(_this__u8e3s4, predicate);
|
|
1376
1379
|
}
|
|
1380
|
+
function plus_3(_this__u8e3s4, element) {
|
|
1381
|
+
return flatten_0(sequenceOf_0([_this__u8e3s4, sequenceOf(element)]));
|
|
1382
|
+
}
|
|
1377
1383
|
function toMutableList_1(_this__u8e3s4) {
|
|
1378
1384
|
return toCollection_1(_this__u8e3s4, ArrayList_init_$Create$());
|
|
1379
1385
|
}
|
|
1386
|
+
function none_0(_this__u8e3s4) {
|
|
1387
|
+
return !_this__u8e3s4.iterator_jk1svi_k$().hasNext_bitz1p_k$();
|
|
1388
|
+
}
|
|
1380
1389
|
function count_0(_this__u8e3s4) {
|
|
1381
1390
|
var count = 0;
|
|
1382
1391
|
var _iterator__ex2g4s = _this__u8e3s4.iterator_jk1svi_k$();
|
|
@@ -1452,6 +1461,18 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1452
1461
|
function distinctBy(_this__u8e3s4, selector) {
|
|
1453
1462
|
return new DistinctSequence(_this__u8e3s4, selector);
|
|
1454
1463
|
}
|
|
1464
|
+
function indexOf_2(_this__u8e3s4, element) {
|
|
1465
|
+
var index = 0;
|
|
1466
|
+
var _iterator__ex2g4s = _this__u8e3s4.iterator_jk1svi_k$();
|
|
1467
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
1468
|
+
var item = _iterator__ex2g4s.next_20eer_k$();
|
|
1469
|
+
checkIndexOverflow(index);
|
|
1470
|
+
if (equals(element, item))
|
|
1471
|
+
return index;
|
|
1472
|
+
index = index + 1 | 0;
|
|
1473
|
+
}
|
|
1474
|
+
return -1;
|
|
1475
|
+
}
|
|
1455
1476
|
function joinTo_1(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
1456
1477
|
separator = separator === VOID ? ', ' : separator;
|
|
1457
1478
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -1491,14 +1512,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1491
1512
|
function distinct$lambda(it) {
|
|
1492
1513
|
return it;
|
|
1493
1514
|
}
|
|
1494
|
-
function filterIndexed$lambda($predicate) {
|
|
1495
|
-
return function (it) {
|
|
1496
|
-
return $predicate(it.index_1, it.value_1);
|
|
1497
|
-
};
|
|
1498
|
-
}
|
|
1499
|
-
function filterIndexed$lambda_0(it) {
|
|
1500
|
-
return it.value_1;
|
|
1501
|
-
}
|
|
1502
1515
|
function filterNotNull$lambda(it) {
|
|
1503
1516
|
return it == null;
|
|
1504
1517
|
}
|
|
@@ -1511,7 +1524,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1511
1524
|
return it;
|
|
1512
1525
|
};
|
|
1513
1526
|
}
|
|
1514
|
-
function
|
|
1527
|
+
function plus_4(_this__u8e3s4, elements) {
|
|
1515
1528
|
var tmp0_safe_receiver = collectionSizeOrNull(elements);
|
|
1516
1529
|
var tmp;
|
|
1517
1530
|
if (tmp0_safe_receiver == null) {
|
|
@@ -1800,7 +1813,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
1800
1813
|
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_1(_this__u8e3s4);
|
|
1801
1814
|
return tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
1802
1815
|
}
|
|
1803
|
-
function
|
|
1816
|
+
function plus_5(_this__u8e3s4, other) {
|
|
1804
1817
|
var tmp = _this__u8e3s4 == null ? 'null' : _this__u8e3s4;
|
|
1805
1818
|
var tmp2_elvis_lhs = other == null ? null : toString_1(other);
|
|
1806
1819
|
return tmp + (tmp2_elvis_lhs == null ? 'null' : tmp2_elvis_lhs);
|
|
@@ -3357,6 +3370,11 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
3357
3370
|
sortArrayWith(_this__u8e3s4, comparator);
|
|
3358
3371
|
}
|
|
3359
3372
|
}
|
|
3373
|
+
function sort(_this__u8e3s4) {
|
|
3374
|
+
if (_this__u8e3s4.length > 1) {
|
|
3375
|
+
sortArray(_this__u8e3s4);
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3360
3378
|
function fill(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
3361
3379
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
3362
3380
|
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
@@ -3691,6 +3709,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
3691
3709
|
function setOf(element) {
|
|
3692
3710
|
return hashSetOf([element]);
|
|
3693
3711
|
}
|
|
3712
|
+
function sort_0(_this__u8e3s4) {
|
|
3713
|
+
collectionsSort(_this__u8e3s4, naturalOrder());
|
|
3714
|
+
}
|
|
3694
3715
|
function mapCapacity(expectedSize) {
|
|
3695
3716
|
return expectedSize;
|
|
3696
3717
|
}
|
|
@@ -4254,6 +4275,17 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4254
4275
|
mergeSort(array, 0, get_lastIndex(array), comparator);
|
|
4255
4276
|
}
|
|
4256
4277
|
}
|
|
4278
|
+
function sortArray(array) {
|
|
4279
|
+
if (getStableSortingIsSupported()) {
|
|
4280
|
+
var comparison = sortArray$lambda;
|
|
4281
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4282
|
+
array.sort(comparison);
|
|
4283
|
+
} else {
|
|
4284
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4285
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4286
|
+
mergeSort(array, 0, get_lastIndex(array), naturalOrder());
|
|
4287
|
+
}
|
|
4288
|
+
}
|
|
4257
4289
|
function getStableSortingIsSupported() {
|
|
4258
4290
|
var tmp0_safe_receiver = _stableSortingIsSupported;
|
|
4259
4291
|
if (tmp0_safe_receiver == null)
|
|
@@ -4351,6 +4383,9 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
4351
4383
|
return $comparator.compare(a, b);
|
|
4352
4384
|
};
|
|
4353
4385
|
}
|
|
4386
|
+
function sortArray$lambda(a, b) {
|
|
4387
|
+
return compareTo(a, b);
|
|
4388
|
+
}
|
|
4354
4389
|
function getStableSortingIsSupported$lambda(a, b) {
|
|
4355
4390
|
return (a & 3) - (b & 3) | 0;
|
|
4356
4391
|
}
|
|
@@ -6568,6 +6603,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
6568
6603
|
this.string_1 = this.string_1 + toString_0(value);
|
|
6569
6604
|
return this;
|
|
6570
6605
|
};
|
|
6606
|
+
protoOf(StringBuilder).append_g4kq45_k$ = function (value) {
|
|
6607
|
+
this.string_1 = this.string_1 + value;
|
|
6608
|
+
return this;
|
|
6609
|
+
};
|
|
6571
6610
|
protoOf(StringBuilder).append_cu3spi_k$ = function (value) {
|
|
6572
6611
|
return this.append_22ad7x_k$(value.toString());
|
|
6573
6612
|
};
|
|
@@ -6735,7 +6774,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
6735
6774
|
if (tmp0_elvis_lhs == null) {
|
|
6736
6775
|
// Inline function 'kotlin.run' call
|
|
6737
6776
|
var tmp_0;
|
|
6738
|
-
if (
|
|
6777
|
+
if (startsWith_1($this.pattern_1, _Char___init__impl__6a9atx(94)) && endsWith_1($this.pattern_1, _Char___init__impl__6a9atx(36))) {
|
|
6739
6778
|
tmp_0 = $this.nativePattern_1;
|
|
6740
6779
|
} else {
|
|
6741
6780
|
return new RegExp('^' + trimEnd(trimStart($this.pattern_1, charArrayOf([_Char___init__impl__6a9atx(94)])), charArrayOf([_Char___init__impl__6a9atx(36)])) + '$', toFlags($this.options_1, 'gu'));
|
|
@@ -8810,7 +8849,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8810
8849
|
var tmp = EmptyMap_instance;
|
|
8811
8850
|
return isInterface(tmp, KtMap) ? tmp : THROW_CCE();
|
|
8812
8851
|
}
|
|
8813
|
-
function
|
|
8852
|
+
function plus_6(_this__u8e3s4, map) {
|
|
8814
8853
|
// Inline function 'kotlin.apply' call
|
|
8815
8854
|
var this_0 = LinkedHashMap_init_$Create$_1(_this__u8e3s4);
|
|
8816
8855
|
this_0.putAll_wgg6cj_k$(map);
|
|
@@ -8836,7 +8875,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8836
8875
|
this_0.remove_gppy8k_k$(key);
|
|
8837
8876
|
return optimizeReadOnlyMap(this_0);
|
|
8838
8877
|
}
|
|
8839
|
-
function
|
|
8878
|
+
function plus_7(_this__u8e3s4, pair) {
|
|
8840
8879
|
var tmp;
|
|
8841
8880
|
if (_this__u8e3s4.isEmpty_y1axqb_k$()) {
|
|
8842
8881
|
tmp = mapOf(pair);
|
|
@@ -8916,6 +8955,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
8916
8955
|
putAll(this_0, pairs);
|
|
8917
8956
|
return this_0;
|
|
8918
8957
|
}
|
|
8958
|
+
function hashMapOf(pairs) {
|
|
8959
|
+
// Inline function 'kotlin.apply' call
|
|
8960
|
+
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
|
|
8961
|
+
putAll(this_0, pairs);
|
|
8962
|
+
return this_0;
|
|
8963
|
+
}
|
|
8919
8964
|
function toMap_3(_this__u8e3s4, destination) {
|
|
8920
8965
|
// Inline function 'kotlin.apply' call
|
|
8921
8966
|
putAll(destination, _this__u8e3s4);
|
|
@@ -9030,12 +9075,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9030
9075
|
_this__u8e3s4.put_4fpzoq_k$(key, value);
|
|
9031
9076
|
}
|
|
9032
9077
|
}
|
|
9033
|
-
function hashMapOf(pairs) {
|
|
9034
|
-
// Inline function 'kotlin.apply' call
|
|
9035
|
-
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
|
|
9036
|
-
putAll(this_0, pairs);
|
|
9037
|
-
return this_0;
|
|
9038
|
-
}
|
|
9039
9078
|
function removeAll(_this__u8e3s4, predicate) {
|
|
9040
9079
|
return filterInPlace(_this__u8e3s4, predicate, true);
|
|
9041
9080
|
}
|
|
@@ -9102,6 +9141,15 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9102
9141
|
return result;
|
|
9103
9142
|
}
|
|
9104
9143
|
}
|
|
9144
|
+
function removeLast(_this__u8e3s4) {
|
|
9145
|
+
var tmp;
|
|
9146
|
+
if (_this__u8e3s4.isEmpty_y1axqb_k$()) {
|
|
9147
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
9148
|
+
} else {
|
|
9149
|
+
tmp = _this__u8e3s4.removeAt_6niowx_k$(get_lastIndex_1(_this__u8e3s4));
|
|
9150
|
+
}
|
|
9151
|
+
return tmp;
|
|
9152
|
+
}
|
|
9105
9153
|
function removeLastOrNull(_this__u8e3s4) {
|
|
9106
9154
|
return _this__u8e3s4.isEmpty_y1axqb_k$() ? null : _this__u8e3s4.removeAt_6niowx_k$(get_lastIndex_1(_this__u8e3s4));
|
|
9107
9155
|
}
|
|
@@ -9138,15 +9186,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9138
9186
|
}
|
|
9139
9187
|
return result;
|
|
9140
9188
|
}
|
|
9141
|
-
function removeLast(_this__u8e3s4) {
|
|
9142
|
-
var tmp;
|
|
9143
|
-
if (_this__u8e3s4.isEmpty_y1axqb_k$()) {
|
|
9144
|
-
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
9145
|
-
} else {
|
|
9146
|
-
tmp = _this__u8e3s4.removeAt_6niowx_k$(get_lastIndex_1(_this__u8e3s4));
|
|
9147
|
-
}
|
|
9148
|
-
return tmp;
|
|
9149
|
-
}
|
|
9150
9189
|
function addAll_1(_this__u8e3s4, elements) {
|
|
9151
9190
|
return _this__u8e3s4.addAll_h3ej1q_k$(asList(elements));
|
|
9152
9191
|
}
|
|
@@ -9647,24 +9686,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9647
9686
|
protoOf(TakeSequence).iterator_jk1svi_k$ = function () {
|
|
9648
9687
|
return new TakeSequence$iterator$1(this);
|
|
9649
9688
|
};
|
|
9650
|
-
function IndexingSequence$iterator$1(this$0) {
|
|
9651
|
-
this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
|
|
9652
|
-
this.index_1 = 0;
|
|
9653
|
-
}
|
|
9654
|
-
protoOf(IndexingSequence$iterator$1).next_20eer_k$ = function () {
|
|
9655
|
-
var _unary__edvuaz = this.index_1;
|
|
9656
|
-
this.index_1 = _unary__edvuaz + 1 | 0;
|
|
9657
|
-
return new IndexedValue(checkIndexOverflow(_unary__edvuaz), this.iterator_1.next_20eer_k$());
|
|
9658
|
-
};
|
|
9659
|
-
protoOf(IndexingSequence$iterator$1).hasNext_bitz1p_k$ = function () {
|
|
9660
|
-
return this.iterator_1.hasNext_bitz1p_k$();
|
|
9661
|
-
};
|
|
9662
|
-
function IndexingSequence(sequence) {
|
|
9663
|
-
this.sequence_1 = sequence;
|
|
9664
|
-
}
|
|
9665
|
-
protoOf(IndexingSequence).iterator_jk1svi_k$ = function () {
|
|
9666
|
-
return new IndexingSequence$iterator$1(this);
|
|
9667
|
-
};
|
|
9668
9689
|
function TransformingIndexedSequence$iterator$1(this$0) {
|
|
9669
9690
|
this.this$0__1 = this$0;
|
|
9670
9691
|
this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
|
|
@@ -9745,6 +9766,24 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9745
9766
|
protoOf(MergingSequence).iterator_jk1svi_k$ = function () {
|
|
9746
9767
|
return new MergingSequence$iterator$1(this);
|
|
9747
9768
|
};
|
|
9769
|
+
function IndexingSequence$iterator$1(this$0) {
|
|
9770
|
+
this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
|
|
9771
|
+
this.index_1 = 0;
|
|
9772
|
+
}
|
|
9773
|
+
protoOf(IndexingSequence$iterator$1).next_20eer_k$ = function () {
|
|
9774
|
+
var _unary__edvuaz = this.index_1;
|
|
9775
|
+
this.index_1 = _unary__edvuaz + 1 | 0;
|
|
9776
|
+
return new IndexedValue(checkIndexOverflow(_unary__edvuaz), this.iterator_1.next_20eer_k$());
|
|
9777
|
+
};
|
|
9778
|
+
protoOf(IndexingSequence$iterator$1).hasNext_bitz1p_k$ = function () {
|
|
9779
|
+
return this.iterator_1.hasNext_bitz1p_k$();
|
|
9780
|
+
};
|
|
9781
|
+
function IndexingSequence(sequence) {
|
|
9782
|
+
this.sequence_1 = sequence;
|
|
9783
|
+
}
|
|
9784
|
+
protoOf(IndexingSequence).iterator_jk1svi_k$ = function () {
|
|
9785
|
+
return new IndexingSequence$iterator$1(this);
|
|
9786
|
+
};
|
|
9748
9787
|
function DistinctSequence(source, keySelector) {
|
|
9749
9788
|
this.source_1 = source;
|
|
9750
9789
|
this.keySelector_1 = keySelector;
|
|
@@ -10020,6 +10059,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10020
10059
|
var tmp = compareBy$lambda(selectors);
|
|
10021
10060
|
return new sam$kotlin_Comparator$0_0(tmp);
|
|
10022
10061
|
}
|
|
10062
|
+
function naturalOrder() {
|
|
10063
|
+
var tmp = NaturalOrderComparator_instance;
|
|
10064
|
+
return isInterface(tmp, Comparator) ? tmp : THROW_CCE();
|
|
10065
|
+
}
|
|
10023
10066
|
function compareValues(a, b) {
|
|
10024
10067
|
if (a == null)
|
|
10025
10068
|
return b == null ? 0 : -1;
|
|
@@ -10041,6 +10084,19 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10041
10084
|
}
|
|
10042
10085
|
return 0;
|
|
10043
10086
|
}
|
|
10087
|
+
function NaturalOrderComparator() {
|
|
10088
|
+
}
|
|
10089
|
+
protoOf(NaturalOrderComparator).compare_ftmrut_k$ = function (a, b) {
|
|
10090
|
+
return compareTo(a, b);
|
|
10091
|
+
};
|
|
10092
|
+
protoOf(NaturalOrderComparator).compare = function (a, b) {
|
|
10093
|
+
var tmp = (!(a == null) ? isComparable(a) : false) ? a : THROW_CCE();
|
|
10094
|
+
return this.compare_ftmrut_k$(tmp, (!(b == null) ? isComparable(b) : false) ? b : THROW_CCE());
|
|
10095
|
+
};
|
|
10096
|
+
var NaturalOrderComparator_instance;
|
|
10097
|
+
function NaturalOrderComparator_getInstance() {
|
|
10098
|
+
return NaturalOrderComparator_instance;
|
|
10099
|
+
}
|
|
10044
10100
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
10045
10101
|
this.function_1 = function_0;
|
|
10046
10102
|
}
|
|
@@ -10495,10 +10551,78 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10495
10551
|
function titlecase(_this__u8e3s4) {
|
|
10496
10552
|
return titlecaseImpl(_this__u8e3s4);
|
|
10497
10553
|
}
|
|
10554
|
+
function trimIndent(_this__u8e3s4) {
|
|
10555
|
+
return replaceIndent(_this__u8e3s4, '');
|
|
10556
|
+
}
|
|
10498
10557
|
function trimMargin(_this__u8e3s4, marginPrefix) {
|
|
10499
10558
|
marginPrefix = marginPrefix === VOID ? '|' : marginPrefix;
|
|
10500
10559
|
return replaceIndentByMargin(_this__u8e3s4, '', marginPrefix);
|
|
10501
10560
|
}
|
|
10561
|
+
function replaceIndent(_this__u8e3s4, newIndent) {
|
|
10562
|
+
newIndent = newIndent === VOID ? '' : newIndent;
|
|
10563
|
+
var lines_0 = lines(_this__u8e3s4);
|
|
10564
|
+
// Inline function 'kotlin.collections.filter' call
|
|
10565
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
10566
|
+
var destination = ArrayList_init_$Create$();
|
|
10567
|
+
var _iterator__ex2g4s = lines_0.iterator_jk1svi_k$();
|
|
10568
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
10569
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
10570
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
10571
|
+
if (!isBlank(element)) {
|
|
10572
|
+
destination.add_utx5q5_k$(element);
|
|
10573
|
+
}
|
|
10574
|
+
}
|
|
10575
|
+
// Inline function 'kotlin.collections.map' call
|
|
10576
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
10577
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
10578
|
+
var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
|
|
10579
|
+
while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
|
|
10580
|
+
var item = _iterator__ex2g4s_0.next_20eer_k$();
|
|
10581
|
+
var tmp$ret$6 = indentWidth(item);
|
|
10582
|
+
destination_0.add_utx5q5_k$(tmp$ret$6);
|
|
10583
|
+
}
|
|
10584
|
+
var tmp0_elvis_lhs = minOrNull(destination_0);
|
|
10585
|
+
var minCommonIndent = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
10586
|
+
var tmp2 = _this__u8e3s4.length + imul(newIndent.length, lines_0.get_size_woubt6_k$()) | 0;
|
|
10587
|
+
// Inline function 'kotlin.text.reindent' call
|
|
10588
|
+
var indentAddFunction = getIndentFunction(newIndent);
|
|
10589
|
+
var lastIndex = get_lastIndex_1(lines_0);
|
|
10590
|
+
// Inline function 'kotlin.collections.mapIndexedNotNull' call
|
|
10591
|
+
// Inline function 'kotlin.collections.mapIndexedNotNullTo' call
|
|
10592
|
+
var destination_1 = ArrayList_init_$Create$();
|
|
10593
|
+
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
10594
|
+
var index = 0;
|
|
10595
|
+
var _iterator__ex2g4s_1 = lines_0.iterator_jk1svi_k$();
|
|
10596
|
+
while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
|
|
10597
|
+
var item_0 = _iterator__ex2g4s_1.next_20eer_k$();
|
|
10598
|
+
var _unary__edvuaz = index;
|
|
10599
|
+
index = _unary__edvuaz + 1 | 0;
|
|
10600
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
10601
|
+
var tmp;
|
|
10602
|
+
if ((index_0 === 0 || index_0 === lastIndex) && isBlank(item_0)) {
|
|
10603
|
+
tmp = null;
|
|
10604
|
+
} else {
|
|
10605
|
+
var tmp0_safe_receiver = drop_1(item_0, minCommonIndent);
|
|
10606
|
+
var tmp_0;
|
|
10607
|
+
if (tmp0_safe_receiver == null) {
|
|
10608
|
+
tmp_0 = null;
|
|
10609
|
+
} else {
|
|
10610
|
+
// Inline function 'kotlin.let' call
|
|
10611
|
+
tmp_0 = indentAddFunction(tmp0_safe_receiver);
|
|
10612
|
+
}
|
|
10613
|
+
var tmp1_elvis_lhs = tmp_0;
|
|
10614
|
+
tmp = tmp1_elvis_lhs == null ? item_0 : tmp1_elvis_lhs;
|
|
10615
|
+
}
|
|
10616
|
+
var tmp0_safe_receiver_0 = tmp;
|
|
10617
|
+
if (tmp0_safe_receiver_0 == null)
|
|
10618
|
+
null;
|
|
10619
|
+
else {
|
|
10620
|
+
// Inline function 'kotlin.let' call
|
|
10621
|
+
destination_1.add_utx5q5_k$(tmp0_safe_receiver_0);
|
|
10622
|
+
}
|
|
10623
|
+
}
|
|
10624
|
+
return joinTo_0(destination_1, StringBuilder_init_$Create$(tmp2), '\n').toString();
|
|
10625
|
+
}
|
|
10502
10626
|
function replaceIndentByMargin(_this__u8e3s4, newIndent, marginPrefix) {
|
|
10503
10627
|
newIndent = newIndent === VOID ? '' : newIndent;
|
|
10504
10628
|
marginPrefix = marginPrefix === VOID ? '|' : marginPrefix;
|
|
@@ -10568,89 +10692,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10568
10692
|
}
|
|
10569
10693
|
return joinTo_0(destination, StringBuilder_init_$Create$(tmp2), '\n').toString();
|
|
10570
10694
|
}
|
|
10571
|
-
function getIndentFunction(indent) {
|
|
10572
|
-
var tmp;
|
|
10573
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
10574
|
-
if (charSequenceLength(indent) === 0) {
|
|
10575
|
-
tmp = getIndentFunction$lambda;
|
|
10576
|
-
} else {
|
|
10577
|
-
tmp = getIndentFunction$lambda_0(indent);
|
|
10578
|
-
}
|
|
10579
|
-
return tmp;
|
|
10580
|
-
}
|
|
10581
|
-
function prependIndent(_this__u8e3s4, indent) {
|
|
10582
|
-
indent = indent === VOID ? ' ' : indent;
|
|
10583
|
-
var tmp = lineSequence(_this__u8e3s4);
|
|
10584
|
-
return joinToString_1(map(tmp, prependIndent$lambda(indent)), '\n');
|
|
10585
|
-
}
|
|
10586
|
-
function trimIndent(_this__u8e3s4) {
|
|
10587
|
-
return replaceIndent(_this__u8e3s4, '');
|
|
10588
|
-
}
|
|
10589
|
-
function replaceIndent(_this__u8e3s4, newIndent) {
|
|
10590
|
-
newIndent = newIndent === VOID ? '' : newIndent;
|
|
10591
|
-
var lines_0 = lines(_this__u8e3s4);
|
|
10592
|
-
// Inline function 'kotlin.collections.filter' call
|
|
10593
|
-
// Inline function 'kotlin.collections.filterTo' call
|
|
10594
|
-
var destination = ArrayList_init_$Create$();
|
|
10595
|
-
var _iterator__ex2g4s = lines_0.iterator_jk1svi_k$();
|
|
10596
|
-
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
10597
|
-
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
10598
|
-
// Inline function 'kotlin.text.isNotBlank' call
|
|
10599
|
-
if (!isBlank(element)) {
|
|
10600
|
-
destination.add_utx5q5_k$(element);
|
|
10601
|
-
}
|
|
10602
|
-
}
|
|
10603
|
-
// Inline function 'kotlin.collections.map' call
|
|
10604
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
10605
|
-
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
10606
|
-
var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
|
|
10607
|
-
while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
|
|
10608
|
-
var item = _iterator__ex2g4s_0.next_20eer_k$();
|
|
10609
|
-
var tmp$ret$6 = indentWidth(item);
|
|
10610
|
-
destination_0.add_utx5q5_k$(tmp$ret$6);
|
|
10611
|
-
}
|
|
10612
|
-
var tmp0_elvis_lhs = minOrNull(destination_0);
|
|
10613
|
-
var minCommonIndent = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
10614
|
-
var tmp2 = _this__u8e3s4.length + imul(newIndent.length, lines_0.get_size_woubt6_k$()) | 0;
|
|
10615
|
-
// Inline function 'kotlin.text.reindent' call
|
|
10616
|
-
var indentAddFunction = getIndentFunction(newIndent);
|
|
10617
|
-
var lastIndex = get_lastIndex_1(lines_0);
|
|
10618
|
-
// Inline function 'kotlin.collections.mapIndexedNotNull' call
|
|
10619
|
-
// Inline function 'kotlin.collections.mapIndexedNotNullTo' call
|
|
10620
|
-
var destination_1 = ArrayList_init_$Create$();
|
|
10621
|
-
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
10622
|
-
var index = 0;
|
|
10623
|
-
var _iterator__ex2g4s_1 = lines_0.iterator_jk1svi_k$();
|
|
10624
|
-
while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
|
|
10625
|
-
var item_0 = _iterator__ex2g4s_1.next_20eer_k$();
|
|
10626
|
-
var _unary__edvuaz = index;
|
|
10627
|
-
index = _unary__edvuaz + 1 | 0;
|
|
10628
|
-
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
10629
|
-
var tmp;
|
|
10630
|
-
if ((index_0 === 0 || index_0 === lastIndex) && isBlank(item_0)) {
|
|
10631
|
-
tmp = null;
|
|
10632
|
-
} else {
|
|
10633
|
-
var tmp0_safe_receiver = drop_1(item_0, minCommonIndent);
|
|
10634
|
-
var tmp_0;
|
|
10635
|
-
if (tmp0_safe_receiver == null) {
|
|
10636
|
-
tmp_0 = null;
|
|
10637
|
-
} else {
|
|
10638
|
-
// Inline function 'kotlin.let' call
|
|
10639
|
-
tmp_0 = indentAddFunction(tmp0_safe_receiver);
|
|
10640
|
-
}
|
|
10641
|
-
var tmp1_elvis_lhs = tmp_0;
|
|
10642
|
-
tmp = tmp1_elvis_lhs == null ? item_0 : tmp1_elvis_lhs;
|
|
10643
|
-
}
|
|
10644
|
-
var tmp0_safe_receiver_0 = tmp;
|
|
10645
|
-
if (tmp0_safe_receiver_0 == null)
|
|
10646
|
-
null;
|
|
10647
|
-
else {
|
|
10648
|
-
// Inline function 'kotlin.let' call
|
|
10649
|
-
destination_1.add_utx5q5_k$(tmp0_safe_receiver_0);
|
|
10650
|
-
}
|
|
10651
|
-
}
|
|
10652
|
-
return joinTo_0(destination_1, StringBuilder_init_$Create$(tmp2), '\n').toString();
|
|
10653
|
-
}
|
|
10654
10695
|
function indentWidth(_this__u8e3s4) {
|
|
10655
10696
|
var tmp$ret$0;
|
|
10656
10697
|
$l$block: {
|
|
@@ -10674,6 +10715,21 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10674
10715
|
var it_0 = tmp$ret$0;
|
|
10675
10716
|
return it_0 === -1 ? _this__u8e3s4.length : it_0;
|
|
10676
10717
|
}
|
|
10718
|
+
function getIndentFunction(indent) {
|
|
10719
|
+
var tmp;
|
|
10720
|
+
// Inline function 'kotlin.text.isEmpty' call
|
|
10721
|
+
if (charSequenceLength(indent) === 0) {
|
|
10722
|
+
tmp = getIndentFunction$lambda;
|
|
10723
|
+
} else {
|
|
10724
|
+
tmp = getIndentFunction$lambda_0(indent);
|
|
10725
|
+
}
|
|
10726
|
+
return tmp;
|
|
10727
|
+
}
|
|
10728
|
+
function prependIndent(_this__u8e3s4, indent) {
|
|
10729
|
+
indent = indent === VOID ? ' ' : indent;
|
|
10730
|
+
var tmp = lineSequence(_this__u8e3s4);
|
|
10731
|
+
return joinToString_1(map(tmp, prependIndent$lambda(indent)), '\n');
|
|
10732
|
+
}
|
|
10677
10733
|
function getIndentFunction$lambda(line) {
|
|
10678
10734
|
return line;
|
|
10679
10735
|
}
|
|
@@ -10772,7 +10828,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10772
10828
|
return _this__u8e3s4;
|
|
10773
10829
|
}
|
|
10774
10830
|
function removePrefix(_this__u8e3s4, prefix) {
|
|
10775
|
-
if (
|
|
10831
|
+
if (startsWith_2(_this__u8e3s4, prefix)) {
|
|
10776
10832
|
return substring_0(_this__u8e3s4, charSequenceLength(prefix));
|
|
10777
10833
|
}
|
|
10778
10834
|
return _this__u8e3s4;
|
|
@@ -10787,6 +10843,11 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10787
10843
|
var index = indexOf_3(_this__u8e3s4, delimiter);
|
|
10788
10844
|
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + delimiter.length | 0, _this__u8e3s4.length);
|
|
10789
10845
|
}
|
|
10846
|
+
function substringAfterLast(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
10847
|
+
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
10848
|
+
var index = lastIndexOf_1(_this__u8e3s4, delimiter);
|
|
10849
|
+
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + delimiter.length | 0, _this__u8e3s4.length);
|
|
10850
|
+
}
|
|
10790
10851
|
function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
10791
10852
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
10792
10853
|
limit = limit === VOID ? 0 : limit;
|
|
@@ -10873,6 +10934,33 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10873
10934
|
sb.appendRange_arc5oa_k$(_this__u8e3s4, endIndex, endIndex_0);
|
|
10874
10935
|
return sb;
|
|
10875
10936
|
}
|
|
10937
|
+
function trimStart(_this__u8e3s4, chars) {
|
|
10938
|
+
// Inline function 'kotlin.text.trimStart' call
|
|
10939
|
+
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
10940
|
+
var tmp$ret$1;
|
|
10941
|
+
$l$block: {
|
|
10942
|
+
// Inline function 'kotlin.text.trimStart' call
|
|
10943
|
+
var inductionVariable = 0;
|
|
10944
|
+
var last = charSequenceLength(tmp0) - 1 | 0;
|
|
10945
|
+
if (inductionVariable <= last)
|
|
10946
|
+
do {
|
|
10947
|
+
var index = inductionVariable;
|
|
10948
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
10949
|
+
var it = charSequenceGet(tmp0, index);
|
|
10950
|
+
if (!contains_1(chars, it)) {
|
|
10951
|
+
tmp$ret$1 = charSequenceSubSequence(tmp0, index, charSequenceLength(tmp0));
|
|
10952
|
+
break $l$block;
|
|
10953
|
+
}
|
|
10954
|
+
}
|
|
10955
|
+
while (inductionVariable <= last);
|
|
10956
|
+
tmp$ret$1 = '';
|
|
10957
|
+
}
|
|
10958
|
+
return toString_1(tmp$ret$1);
|
|
10959
|
+
}
|
|
10960
|
+
function startsWith_1(_this__u8e3s4, char, ignoreCase) {
|
|
10961
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
10962
|
+
return charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase);
|
|
10963
|
+
}
|
|
10876
10964
|
function commonPrefixWith(_this__u8e3s4, other, ignoreCase) {
|
|
10877
10965
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
10878
10966
|
var tmp0 = charSequenceLength(_this__u8e3s4);
|
|
@@ -10888,6 +10976,52 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10888
10976
|
}
|
|
10889
10977
|
return toString_1(charSequenceSubSequence(_this__u8e3s4, 0, i));
|
|
10890
10978
|
}
|
|
10979
|
+
function trim(_this__u8e3s4) {
|
|
10980
|
+
// Inline function 'kotlin.text.trim' call
|
|
10981
|
+
var startIndex = 0;
|
|
10982
|
+
var endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
10983
|
+
var startFound = false;
|
|
10984
|
+
$l$loop: while (startIndex <= endIndex) {
|
|
10985
|
+
var index = !startFound ? startIndex : endIndex;
|
|
10986
|
+
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
10987
|
+
var match = isWhitespace(p0);
|
|
10988
|
+
if (!startFound) {
|
|
10989
|
+
if (!match)
|
|
10990
|
+
startFound = true;
|
|
10991
|
+
else
|
|
10992
|
+
startIndex = startIndex + 1 | 0;
|
|
10993
|
+
} else {
|
|
10994
|
+
if (!match)
|
|
10995
|
+
break $l$loop;
|
|
10996
|
+
else
|
|
10997
|
+
endIndex = endIndex - 1 | 0;
|
|
10998
|
+
}
|
|
10999
|
+
}
|
|
11000
|
+
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
|
|
11001
|
+
}
|
|
11002
|
+
function indexOf_3(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
11003
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
11004
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
11005
|
+
var tmp;
|
|
11006
|
+
var tmp_0;
|
|
11007
|
+
if (ignoreCase) {
|
|
11008
|
+
tmp_0 = true;
|
|
11009
|
+
} else {
|
|
11010
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
11011
|
+
}
|
|
11012
|
+
if (tmp_0) {
|
|
11013
|
+
tmp = indexOf_4(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase);
|
|
11014
|
+
} else {
|
|
11015
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
11016
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
11017
|
+
tmp = _this__u8e3s4.indexOf(string, startIndex);
|
|
11018
|
+
}
|
|
11019
|
+
return tmp;
|
|
11020
|
+
}
|
|
11021
|
+
function contains_6(_this__u8e3s4, char, ignoreCase) {
|
|
11022
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
11023
|
+
return indexOf_5(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
11024
|
+
}
|
|
10891
11025
|
function get_lastIndex_2(_this__u8e3s4) {
|
|
10892
11026
|
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
10893
11027
|
}
|
|
@@ -10908,10 +11042,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10908
11042
|
}
|
|
10909
11043
|
return tmp$ret$0;
|
|
10910
11044
|
}
|
|
10911
|
-
function contains_6(_this__u8e3s4, char, ignoreCase) {
|
|
10912
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
10913
|
-
return indexOf_5(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
10914
|
-
}
|
|
10915
11045
|
function State() {
|
|
10916
11046
|
this.UNKNOWN_1 = 0;
|
|
10917
11047
|
this.HAS_NEXT_1 = 1;
|
|
@@ -11008,7 +11138,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11008
11138
|
return regionMatchesImpl(_this__u8e3s4, charSequenceLength(_this__u8e3s4) - charSequenceLength(suffix) | 0, suffix, 0, charSequenceLength(suffix), ignoreCase);
|
|
11009
11139
|
}
|
|
11010
11140
|
}
|
|
11011
|
-
function
|
|
11141
|
+
function startsWith_2(_this__u8e3s4, prefix, ignoreCase) {
|
|
11012
11142
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
11013
11143
|
var tmp;
|
|
11014
11144
|
var tmp_0;
|
|
@@ -11028,31 +11158,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11028
11158
|
return regionMatchesImpl(_this__u8e3s4, 0, prefix, 0, charSequenceLength(prefix), ignoreCase);
|
|
11029
11159
|
}
|
|
11030
11160
|
}
|
|
11031
|
-
function
|
|
11032
|
-
|
|
11033
|
-
var startIndex = 0;
|
|
11034
|
-
var endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
11035
|
-
var startFound = false;
|
|
11036
|
-
$l$loop: while (startIndex <= endIndex) {
|
|
11037
|
-
var index = !startFound ? startIndex : endIndex;
|
|
11038
|
-
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
11039
|
-
var match = isWhitespace(p0);
|
|
11040
|
-
if (!startFound) {
|
|
11041
|
-
if (!match)
|
|
11042
|
-
startFound = true;
|
|
11043
|
-
else
|
|
11044
|
-
startIndex = startIndex + 1 | 0;
|
|
11045
|
-
} else {
|
|
11046
|
-
if (!match)
|
|
11047
|
-
break $l$loop;
|
|
11048
|
-
else
|
|
11049
|
-
endIndex = endIndex - 1 | 0;
|
|
11050
|
-
}
|
|
11051
|
-
}
|
|
11052
|
-
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
|
|
11053
|
-
}
|
|
11054
|
-
function indexOf_3(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
11055
|
-
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
11161
|
+
function lastIndexOf_1(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
11162
|
+
startIndex = startIndex === VOID ? get_lastIndex_2(_this__u8e3s4) : startIndex;
|
|
11056
11163
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
11057
11164
|
var tmp;
|
|
11058
11165
|
var tmp_0;
|
|
@@ -11062,11 +11169,11 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11062
11169
|
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
11063
11170
|
}
|
|
11064
11171
|
if (tmp_0) {
|
|
11065
|
-
tmp = indexOf_4(_this__u8e3s4, string, startIndex,
|
|
11172
|
+
tmp = indexOf_4(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
|
|
11066
11173
|
} else {
|
|
11067
|
-
// Inline function 'kotlin.text.
|
|
11174
|
+
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
11068
11175
|
// Inline function 'kotlin.js.asDynamic' call
|
|
11069
|
-
tmp = _this__u8e3s4.
|
|
11176
|
+
tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
|
|
11070
11177
|
}
|
|
11071
11178
|
return tmp;
|
|
11072
11179
|
}
|
|
@@ -11424,29 +11531,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11424
11531
|
while (!(index === last));
|
|
11425
11532
|
return -1;
|
|
11426
11533
|
}
|
|
11427
|
-
function lastIndexOf_1(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
11428
|
-
startIndex = startIndex === VOID ? get_lastIndex_2(_this__u8e3s4) : startIndex;
|
|
11429
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
11430
|
-
var tmp;
|
|
11431
|
-
var tmp_0;
|
|
11432
|
-
if (ignoreCase) {
|
|
11433
|
-
tmp_0 = true;
|
|
11434
|
-
} else {
|
|
11435
|
-
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
11436
|
-
}
|
|
11437
|
-
if (tmp_0) {
|
|
11438
|
-
tmp = indexOf_4(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
|
|
11439
|
-
} else {
|
|
11440
|
-
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
11441
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
11442
|
-
tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
|
|
11443
|
-
}
|
|
11444
|
-
return tmp;
|
|
11445
|
-
}
|
|
11446
|
-
function startsWith_2(_this__u8e3s4, char, ignoreCase) {
|
|
11447
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
11448
|
-
return charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase);
|
|
11449
|
-
}
|
|
11450
11534
|
function endsWith_1(_this__u8e3s4, char, ignoreCase) {
|
|
11451
11535
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
11452
11536
|
return charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, get_lastIndex_2(_this__u8e3s4)), char, ignoreCase);
|
|
@@ -11473,29 +11557,6 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11473
11557
|
}
|
|
11474
11558
|
return toString_1(tmp$ret$1);
|
|
11475
11559
|
}
|
|
11476
|
-
function trimStart(_this__u8e3s4, chars) {
|
|
11477
|
-
// Inline function 'kotlin.text.trimStart' call
|
|
11478
|
-
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
11479
|
-
var tmp$ret$1;
|
|
11480
|
-
$l$block: {
|
|
11481
|
-
// Inline function 'kotlin.text.trimStart' call
|
|
11482
|
-
var inductionVariable = 0;
|
|
11483
|
-
var last = charSequenceLength(tmp0) - 1 | 0;
|
|
11484
|
-
if (inductionVariable <= last)
|
|
11485
|
-
do {
|
|
11486
|
-
var index = inductionVariable;
|
|
11487
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
11488
|
-
var it = charSequenceGet(tmp0, index);
|
|
11489
|
-
if (!contains_1(chars, it)) {
|
|
11490
|
-
tmp$ret$1 = charSequenceSubSequence(tmp0, index, charSequenceLength(tmp0));
|
|
11491
|
-
break $l$block;
|
|
11492
|
-
}
|
|
11493
|
-
}
|
|
11494
|
-
while (inductionVariable <= last);
|
|
11495
|
-
tmp$ret$1 = '';
|
|
11496
|
-
}
|
|
11497
|
-
return toString_1(tmp$ret$1);
|
|
11498
|
-
}
|
|
11499
11560
|
function lines(_this__u8e3s4) {
|
|
11500
11561
|
return toList_2(lineSequence(_this__u8e3s4));
|
|
11501
11562
|
}
|
|
@@ -11760,6 +11821,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11760
11821
|
EmptyMap_instance = new EmptyMap();
|
|
11761
11822
|
EmptySequence_instance = new EmptySequence();
|
|
11762
11823
|
EmptySet_instance = new EmptySet();
|
|
11824
|
+
NaturalOrderComparator_instance = new NaturalOrderComparator();
|
|
11763
11825
|
Key_instance = new Key();
|
|
11764
11826
|
EmptyCoroutineContext_instance = new EmptyCoroutineContext();
|
|
11765
11827
|
Companion_instance_9 = new Companion_9();
|
|
@@ -11867,184 +11929,184 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11867
11929
|
_.$_$.f3 = copyOf;
|
|
11868
11930
|
_.$_$.g3 = copyToArray;
|
|
11869
11931
|
_.$_$.h3 = count;
|
|
11870
|
-
_.$_$.i3 =
|
|
11871
|
-
_.$_$.j3 =
|
|
11872
|
-
_.$_$.k3 =
|
|
11873
|
-
_.$_$.l3 =
|
|
11874
|
-
_.$_$.m3 =
|
|
11875
|
-
_.$_$.n3 =
|
|
11876
|
-
_.$_$.o3 =
|
|
11877
|
-
_.$_$.p3 =
|
|
11878
|
-
_.$_$.q3 =
|
|
11879
|
-
_.$_$.r3 =
|
|
11880
|
-
_.$_$.s3 =
|
|
11881
|
-
_.$_$.t3 =
|
|
11882
|
-
_.$_$.u3 =
|
|
11883
|
-
_.$_$.v3 =
|
|
11884
|
-
_.$_$.w3 =
|
|
11885
|
-
_.$_$.x3 =
|
|
11886
|
-
_.$_$.y3 =
|
|
11887
|
-
_.$_$.z3 =
|
|
11888
|
-
_.$_$.a4 =
|
|
11889
|
-
_.$_$.b4 =
|
|
11890
|
-
_.$_$.c4 =
|
|
11891
|
-
_.$_$.d4 =
|
|
11892
|
-
_.$_$.e4 =
|
|
11893
|
-
_.$_$.f4 =
|
|
11894
|
-
_.$_$.g4 =
|
|
11895
|
-
_.$_$.h4 =
|
|
11896
|
-
_.$_$.i4 =
|
|
11897
|
-
_.$_$.j4 =
|
|
11898
|
-
_.$_$.k4 =
|
|
11899
|
-
_.$_$.l4 =
|
|
11900
|
-
_.$_$.m4 =
|
|
11901
|
-
_.$_$.n4 =
|
|
11902
|
-
_.$_$.o4 =
|
|
11903
|
-
_.$_$.p4 =
|
|
11904
|
-
_.$_$.q4 =
|
|
11905
|
-
_.$_$.r4 =
|
|
11906
|
-
_.$_$.s4 =
|
|
11907
|
-
_.$_$.t4 =
|
|
11908
|
-
_.$_$.u4 =
|
|
11909
|
-
_.$_$.v4 =
|
|
11910
|
-
_.$_$.w4 =
|
|
11911
|
-
_.$_$.x4 =
|
|
11912
|
-
_.$_$.y4 =
|
|
11913
|
-
_.$_$.z4 =
|
|
11914
|
-
_.$_$.a5 =
|
|
11915
|
-
_.$_$.b5 =
|
|
11916
|
-
_.$_$.c5 =
|
|
11917
|
-
_.$_$.d5 =
|
|
11918
|
-
_.$_$.e5 =
|
|
11919
|
-
_.$_$.f5 =
|
|
11920
|
-
_.$_$.g5 =
|
|
11921
|
-
_.$_$.h5 =
|
|
11922
|
-
_.$_$.i5 =
|
|
11923
|
-
_.$_$.j5 =
|
|
11924
|
-
_.$_$.k5 =
|
|
11925
|
-
_.$_$.l5 =
|
|
11926
|
-
_.$_$.m5 =
|
|
11927
|
-
_.$_$.n5 =
|
|
11928
|
-
_.$_$.o5 =
|
|
11929
|
-
_.$_$.p5 =
|
|
11930
|
-
_.$_$.q5 =
|
|
11931
|
-
_.$_$.r5 =
|
|
11932
|
-
_.$_$.s5 =
|
|
11933
|
-
_.$_$.t5 =
|
|
11934
|
-
_.$_$.u5 =
|
|
11935
|
-
_.$_$.v5 =
|
|
11936
|
-
_.$_$.w5 =
|
|
11937
|
-
_.$_$.x5 =
|
|
11938
|
-
_.$_$.y5 =
|
|
11939
|
-
_.$_$.z5 =
|
|
11940
|
-
_.$_$.a6 =
|
|
11941
|
-
_.$_$.b6 =
|
|
11942
|
-
_.$_$.c6 =
|
|
11943
|
-
_.$_$.d6 =
|
|
11944
|
-
_.$_$.e6 =
|
|
11945
|
-
_.$_$.f6 =
|
|
11946
|
-
_.$_$.g6 =
|
|
11947
|
-
_.$_$.h6 =
|
|
11948
|
-
_.$_$.i6 =
|
|
11949
|
-
_.$_$.j6 =
|
|
11950
|
-
_.$_$.k6 =
|
|
11951
|
-
_.$_$.l6 =
|
|
11952
|
-
_.$_$.m6 =
|
|
11953
|
-
_.$_$.n6 =
|
|
11954
|
-
_.$_$.o6 =
|
|
11955
|
-
_.$_$.p6 =
|
|
11956
|
-
_.$_$.q6 =
|
|
11957
|
-
_.$_$.r6 =
|
|
11958
|
-
_.$_$.s6 =
|
|
11959
|
-
_.$_$.t6 =
|
|
11960
|
-
_.$_$.u6 =
|
|
11961
|
-
_.$_$.v6 =
|
|
11962
|
-
_.$_$.w6 =
|
|
11963
|
-
_.$_$.x6 =
|
|
11964
|
-
_.$_$.y6 =
|
|
11965
|
-
_.$_$.z6 =
|
|
11966
|
-
_.$_$.a7 =
|
|
11967
|
-
_.$_$.b7 =
|
|
11968
|
-
_.$_$.c7 =
|
|
11969
|
-
_.$_$.d7 =
|
|
11970
|
-
_.$_$.e7 =
|
|
11971
|
-
_.$_$.f7 =
|
|
11972
|
-
_.$_$.g7 =
|
|
11973
|
-
_.$_$.h7 =
|
|
11974
|
-
_.$_$.i7 =
|
|
11975
|
-
_.$_$.j7 =
|
|
11976
|
-
_.$_$.k7 =
|
|
11977
|
-
_.$_$.l7 =
|
|
11978
|
-
_.$_$.m7 =
|
|
11979
|
-
_.$_$.n7 =
|
|
11980
|
-
_.$_$.o7 =
|
|
11981
|
-
_.$_$.p7 =
|
|
11982
|
-
_.$_$.q7 =
|
|
11983
|
-
_.$_$.r7 =
|
|
11984
|
-
_.$_$.s7 =
|
|
11985
|
-
_.$_$.t7 =
|
|
11986
|
-
_.$_$.u7 =
|
|
11987
|
-
_.$_$.v7 =
|
|
11988
|
-
_.$_$.w7 =
|
|
11989
|
-
_.$_$.x7 =
|
|
11990
|
-
_.$_$.y7 =
|
|
11991
|
-
_.$_$.z7 =
|
|
11992
|
-
_.$_$.a8 =
|
|
11993
|
-
_.$_$.b8 =
|
|
11994
|
-
_.$_$.c8 =
|
|
11995
|
-
_.$_$.d8 =
|
|
11996
|
-
_.$_$.e8 =
|
|
11997
|
-
_.$_$.f8 =
|
|
11998
|
-
_.$_$.g8 =
|
|
11999
|
-
_.$_$.h8 =
|
|
12000
|
-
_.$_$.i8 =
|
|
12001
|
-
_.$_$.j8 =
|
|
12002
|
-
_.$_$.k8 =
|
|
12003
|
-
_.$_$.l8 =
|
|
12004
|
-
_.$_$.m8 =
|
|
12005
|
-
_.$_$.n8 =
|
|
12006
|
-
_.$_$.o8 =
|
|
12007
|
-
_.$_$.p8 =
|
|
12008
|
-
_.$_$.q8 =
|
|
12009
|
-
_.$_$.r8 =
|
|
12010
|
-
_.$_$.s8 =
|
|
12011
|
-
_.$_$.t8 =
|
|
12012
|
-
_.$_$.u8 =
|
|
12013
|
-
_.$_$.v8 =
|
|
12014
|
-
_.$_$.w8 =
|
|
12015
|
-
_.$_$.x8 =
|
|
12016
|
-
_.$_$.y8 =
|
|
12017
|
-
_.$_$.z8 =
|
|
12018
|
-
_.$_$.a9 =
|
|
12019
|
-
_.$_$.b9 =
|
|
12020
|
-
_.$_$.c9 =
|
|
12021
|
-
_.$_$.d9 =
|
|
12022
|
-
_.$_$.e9 =
|
|
12023
|
-
_.$_$.f9 =
|
|
12024
|
-
_.$_$.g9 =
|
|
12025
|
-
_.$_$.h9 =
|
|
12026
|
-
_.$_$.i9 =
|
|
12027
|
-
_.$_$.j9 =
|
|
12028
|
-
_.$_$.k9 =
|
|
12029
|
-
_.$_$.l9 =
|
|
12030
|
-
_.$_$.m9 =
|
|
12031
|
-
_.$_$.n9 =
|
|
12032
|
-
_.$_$.o9 =
|
|
12033
|
-
_.$_$.p9 =
|
|
12034
|
-
_.$_$.q9 =
|
|
12035
|
-
_.$_$.r9 =
|
|
12036
|
-
_.$_$.s9 =
|
|
12037
|
-
_.$_$.t9 =
|
|
12038
|
-
_.$_$.u9 =
|
|
12039
|
-
_.$_$.v9 =
|
|
12040
|
-
_.$_$.w9 =
|
|
12041
|
-
_.$_$.x9 =
|
|
12042
|
-
_.$_$.y9 =
|
|
12043
|
-
_.$_$.z9 =
|
|
12044
|
-
_.$_$.aa =
|
|
12045
|
-
_.$_$.ba =
|
|
12046
|
-
_.$_$.ca =
|
|
12047
|
-
_.$_$.da =
|
|
11932
|
+
_.$_$.i3 = distinct;
|
|
11933
|
+
_.$_$.j3 = drop;
|
|
11934
|
+
_.$_$.k3 = emptyList;
|
|
11935
|
+
_.$_$.l3 = emptyMap;
|
|
11936
|
+
_.$_$.m3 = emptySet;
|
|
11937
|
+
_.$_$.n3 = firstOrNull;
|
|
11938
|
+
_.$_$.o3 = first_0;
|
|
11939
|
+
_.$_$.p3 = first;
|
|
11940
|
+
_.$_$.q3 = flatten;
|
|
11941
|
+
_.$_$.r3 = getOrNull_0;
|
|
11942
|
+
_.$_$.s3 = getValue;
|
|
11943
|
+
_.$_$.t3 = get_indices;
|
|
11944
|
+
_.$_$.u3 = joinToString_0;
|
|
11945
|
+
_.$_$.v3 = joinToString;
|
|
11946
|
+
_.$_$.w3 = joinTo_0;
|
|
11947
|
+
_.$_$.x3 = get_lastIndex_0;
|
|
11948
|
+
_.$_$.y3 = get_lastIndex_1;
|
|
11949
|
+
_.$_$.z3 = get_lastIndex;
|
|
11950
|
+
_.$_$.a4 = lastOrNull;
|
|
11951
|
+
_.$_$.b4 = last_1;
|
|
11952
|
+
_.$_$.c4 = last_0;
|
|
11953
|
+
_.$_$.d4 = last;
|
|
11954
|
+
_.$_$.e4 = listOfNotNull;
|
|
11955
|
+
_.$_$.f4 = listOfNotNull_0;
|
|
11956
|
+
_.$_$.g4 = listOf;
|
|
11957
|
+
_.$_$.h4 = listOf_0;
|
|
11958
|
+
_.$_$.i4 = mapCapacity;
|
|
11959
|
+
_.$_$.j4 = mapOf;
|
|
11960
|
+
_.$_$.k4 = mapOf_0;
|
|
11961
|
+
_.$_$.l4 = minOrNull;
|
|
11962
|
+
_.$_$.m4 = minWithOrNull;
|
|
11963
|
+
_.$_$.n4 = minus_2;
|
|
11964
|
+
_.$_$.o4 = minus_3;
|
|
11965
|
+
_.$_$.p4 = minus_1;
|
|
11966
|
+
_.$_$.q4 = minus;
|
|
11967
|
+
_.$_$.r4 = minus_0;
|
|
11968
|
+
_.$_$.s4 = mutableListOf;
|
|
11969
|
+
_.$_$.t4 = mutableMapOf;
|
|
11970
|
+
_.$_$.u4 = mutableSetOf;
|
|
11971
|
+
_.$_$.v4 = none;
|
|
11972
|
+
_.$_$.w4 = plus_6;
|
|
11973
|
+
_.$_$.x4 = plus_1;
|
|
11974
|
+
_.$_$.y4 = plus_4;
|
|
11975
|
+
_.$_$.z4 = plus_7;
|
|
11976
|
+
_.$_$.a5 = plus_0;
|
|
11977
|
+
_.$_$.b5 = plus;
|
|
11978
|
+
_.$_$.c5 = removeLastOrNull;
|
|
11979
|
+
_.$_$.d5 = removeLast;
|
|
11980
|
+
_.$_$.e5 = requireNoNulls;
|
|
11981
|
+
_.$_$.f5 = setOf;
|
|
11982
|
+
_.$_$.g5 = setOf_0;
|
|
11983
|
+
_.$_$.h5 = singleOrNull;
|
|
11984
|
+
_.$_$.i5 = single_0;
|
|
11985
|
+
_.$_$.j5 = sliceArray;
|
|
11986
|
+
_.$_$.k5 = slice;
|
|
11987
|
+
_.$_$.l5 = sortedWith;
|
|
11988
|
+
_.$_$.m5 = sorted;
|
|
11989
|
+
_.$_$.n5 = subtract;
|
|
11990
|
+
_.$_$.o5 = sum;
|
|
11991
|
+
_.$_$.p5 = takeLast;
|
|
11992
|
+
_.$_$.q5 = take;
|
|
11993
|
+
_.$_$.r5 = toIntArray;
|
|
11994
|
+
_.$_$.s5 = toList_1;
|
|
11995
|
+
_.$_$.t5 = toList_0;
|
|
11996
|
+
_.$_$.u5 = toList;
|
|
11997
|
+
_.$_$.v5 = toMap_2;
|
|
11998
|
+
_.$_$.w5 = toMap;
|
|
11999
|
+
_.$_$.x5 = toMap_1;
|
|
12000
|
+
_.$_$.y5 = toMap_0;
|
|
12001
|
+
_.$_$.z5 = toMutableList;
|
|
12002
|
+
_.$_$.a6 = toMutableMap;
|
|
12003
|
+
_.$_$.b6 = toSet_0;
|
|
12004
|
+
_.$_$.c6 = toSet;
|
|
12005
|
+
_.$_$.d6 = withIndex;
|
|
12006
|
+
_.$_$.e6 = zipWithNext;
|
|
12007
|
+
_.$_$.f6 = zip;
|
|
12008
|
+
_.$_$.g6 = compareBy;
|
|
12009
|
+
_.$_$.h6 = compareValues;
|
|
12010
|
+
_.$_$.i6 = get_COROUTINE_SUSPENDED;
|
|
12011
|
+
_.$_$.j6 = CoroutineImpl;
|
|
12012
|
+
_.$_$.k6 = enumEntries;
|
|
12013
|
+
_.$_$.l6 = throwUninitializedPropertyAccessException;
|
|
12014
|
+
_.$_$.m6 = println;
|
|
12015
|
+
_.$_$.n6 = println_0;
|
|
12016
|
+
_.$_$.o6 = print;
|
|
12017
|
+
_.$_$.p6 = readlnOrNull;
|
|
12018
|
+
_.$_$.q6 = get_ONE;
|
|
12019
|
+
_.$_$.r6 = add_0;
|
|
12020
|
+
_.$_$.s6 = convertToByte;
|
|
12021
|
+
_.$_$.t6 = convertToInt;
|
|
12022
|
+
_.$_$.u6 = convertToShort;
|
|
12023
|
+
_.$_$.v6 = divide;
|
|
12024
|
+
_.$_$.w6 = fromInt_0;
|
|
12025
|
+
_.$_$.x6 = modulo;
|
|
12026
|
+
_.$_$.y6 = multiply_0;
|
|
12027
|
+
_.$_$.z6 = negate_0;
|
|
12028
|
+
_.$_$.a7 = numberToLong;
|
|
12029
|
+
_.$_$.b7 = shiftLeft;
|
|
12030
|
+
_.$_$.c7 = shiftRightUnsigned;
|
|
12031
|
+
_.$_$.d7 = shiftRight;
|
|
12032
|
+
_.$_$.e7 = subtract_1;
|
|
12033
|
+
_.$_$.f7 = toNumber_0;
|
|
12034
|
+
_.$_$.g7 = FunctionAdapter;
|
|
12035
|
+
_.$_$.h7 = arrayIterator;
|
|
12036
|
+
_.$_$.i7 = booleanArray;
|
|
12037
|
+
_.$_$.j7 = captureStack;
|
|
12038
|
+
_.$_$.k7 = charArrayOf;
|
|
12039
|
+
_.$_$.l7 = charArray;
|
|
12040
|
+
_.$_$.m7 = charCodeAt;
|
|
12041
|
+
_.$_$.n7 = charSequenceGet;
|
|
12042
|
+
_.$_$.o7 = charSequenceLength;
|
|
12043
|
+
_.$_$.p7 = charSequenceSubSequence;
|
|
12044
|
+
_.$_$.q7 = compareTo;
|
|
12045
|
+
_.$_$.r7 = constructCallableReference;
|
|
12046
|
+
_.$_$.s7 = defineProp;
|
|
12047
|
+
_.$_$.t7 = equals;
|
|
12048
|
+
_.$_$.u7 = extendThrowable;
|
|
12049
|
+
_.$_$.v7 = getBigIntHashCode;
|
|
12050
|
+
_.$_$.w7 = getBooleanHashCode;
|
|
12051
|
+
_.$_$.x7 = getNumberHashCode;
|
|
12052
|
+
_.$_$.y7 = getPropertyCallableRef;
|
|
12053
|
+
_.$_$.z7 = getStringHashCode;
|
|
12054
|
+
_.$_$.a8 = hashCode;
|
|
12055
|
+
_.$_$.b8 = initMetadataForClass;
|
|
12056
|
+
_.$_$.c8 = initMetadataForCompanion;
|
|
12057
|
+
_.$_$.d8 = initMetadataForCoroutine;
|
|
12058
|
+
_.$_$.e8 = initMetadataForInterface;
|
|
12059
|
+
_.$_$.f8 = initMetadataForLambda;
|
|
12060
|
+
_.$_$.g8 = initMetadataForObject;
|
|
12061
|
+
_.$_$.h8 = isArray;
|
|
12062
|
+
_.$_$.i8 = isCharSequence;
|
|
12063
|
+
_.$_$.j8 = isComparable;
|
|
12064
|
+
_.$_$.k8 = isInterface;
|
|
12065
|
+
_.$_$.l8 = isNumber;
|
|
12066
|
+
_.$_$.m8 = get_kotlin;
|
|
12067
|
+
_.$_$.n8 = numberRangeToNumber;
|
|
12068
|
+
_.$_$.o8 = numberToChar;
|
|
12069
|
+
_.$_$.p8 = numberToDouble;
|
|
12070
|
+
_.$_$.q8 = numberToInt;
|
|
12071
|
+
_.$_$.r8 = objectCreate;
|
|
12072
|
+
_.$_$.s8 = protoOf;
|
|
12073
|
+
_.$_$.t8 = toByte;
|
|
12074
|
+
_.$_$.u8 = toShort;
|
|
12075
|
+
_.$_$.v8 = toString_1;
|
|
12076
|
+
_.$_$.w8 = abs_1;
|
|
12077
|
+
_.$_$.x8 = abs_0;
|
|
12078
|
+
_.$_$.y8 = log;
|
|
12079
|
+
_.$_$.z8 = roundToInt;
|
|
12080
|
+
_.$_$.a9 = round;
|
|
12081
|
+
_.$_$.b9 = get_sign;
|
|
12082
|
+
_.$_$.c9 = withSign;
|
|
12083
|
+
_.$_$.d9 = contains;
|
|
12084
|
+
_.$_$.e9 = isEmpty;
|
|
12085
|
+
_.$_$.f9 = ClosedRange;
|
|
12086
|
+
_.$_$.g9 = IntRange;
|
|
12087
|
+
_.$_$.h9 = coerceAtLeast_0;
|
|
12088
|
+
_.$_$.i9 = coerceAtLeast;
|
|
12089
|
+
_.$_$.j9 = coerceAtLeast_1;
|
|
12090
|
+
_.$_$.k9 = coerceAtMost;
|
|
12091
|
+
_.$_$.l9 = coerceIn;
|
|
12092
|
+
_.$_$.m9 = coerceIn_0;
|
|
12093
|
+
_.$_$.n9 = contains_3;
|
|
12094
|
+
_.$_$.o9 = until;
|
|
12095
|
+
_.$_$.p9 = getKClassFromExpression;
|
|
12096
|
+
_.$_$.q9 = getKClass;
|
|
12097
|
+
_.$_$.r9 = KMutableProperty1;
|
|
12098
|
+
_.$_$.s9 = KProperty0;
|
|
12099
|
+
_.$_$.t9 = KProperty1;
|
|
12100
|
+
_.$_$.u9 = SequenceScope;
|
|
12101
|
+
_.$_$.v9 = Sequence;
|
|
12102
|
+
_.$_$.w9 = any_0;
|
|
12103
|
+
_.$_$.x9 = asIterable_0;
|
|
12104
|
+
_.$_$.y9 = asSequence_4;
|
|
12105
|
+
_.$_$.z9 = contains_4;
|
|
12106
|
+
_.$_$.aa = count_0;
|
|
12107
|
+
_.$_$.ba = distinct_0;
|
|
12108
|
+
_.$_$.ca = drop_0;
|
|
12109
|
+
_.$_$.da = emptySequence;
|
|
12048
12110
|
_.$_$.ea = filterNotNull_0;
|
|
12049
12111
|
_.$_$.fa = filterNot;
|
|
12050
12112
|
_.$_$.ga = filter;
|
|
@@ -12054,115 +12116,115 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
12054
12116
|
_.$_$.ka = flatten_0;
|
|
12055
12117
|
_.$_$.la = generateSequence;
|
|
12056
12118
|
_.$_$.ma = generateSequence_0;
|
|
12057
|
-
_.$_$.na =
|
|
12058
|
-
_.$_$.oa =
|
|
12059
|
-
_.$_$.pa =
|
|
12060
|
-
_.$_$.qa =
|
|
12061
|
-
_.$_$.ra =
|
|
12062
|
-
_.$_$.sa =
|
|
12063
|
-
_.$_$.ta =
|
|
12064
|
-
_.$_$.ua =
|
|
12065
|
-
_.$_$.va =
|
|
12066
|
-
_.$_$.wa =
|
|
12067
|
-
_.$_$.xa =
|
|
12068
|
-
_.$_$.ya =
|
|
12069
|
-
_.$_$.za =
|
|
12070
|
-
_.$_$.ab =
|
|
12071
|
-
_.$_$.bb =
|
|
12072
|
-
_.$_$.cb =
|
|
12073
|
-
_.$_$.db =
|
|
12074
|
-
_.$_$.eb =
|
|
12075
|
-
_.$_$.fb =
|
|
12076
|
-
_.$_$.gb =
|
|
12077
|
-
_.$_$.hb =
|
|
12078
|
-
_.$_$.ib =
|
|
12079
|
-
_.$_$.jb =
|
|
12080
|
-
_.$_$.kb =
|
|
12081
|
-
_.$_$.lb =
|
|
12082
|
-
_.$_$.mb =
|
|
12083
|
-
_.$_$.nb =
|
|
12084
|
-
_.$_$.ob =
|
|
12085
|
-
_.$_$.pb =
|
|
12086
|
-
_.$_$.qb =
|
|
12087
|
-
_.$_$.rb =
|
|
12088
|
-
_.$_$.sb =
|
|
12089
|
-
_.$_$.tb =
|
|
12090
|
-
_.$_$.ub =
|
|
12091
|
-
_.$_$.vb =
|
|
12092
|
-
_.$_$.wb =
|
|
12093
|
-
_.$_$.xb =
|
|
12094
|
-
_.$_$.yb =
|
|
12095
|
-
_.$_$.zb =
|
|
12096
|
-
_.$_$.ac =
|
|
12097
|
-
_.$_$.bc =
|
|
12098
|
-
_.$_$.cc =
|
|
12099
|
-
_.$_$.dc =
|
|
12100
|
-
_.$_$.ec =
|
|
12101
|
-
_.$_$.fc =
|
|
12102
|
-
_.$_$.gc =
|
|
12103
|
-
_.$_$.hc =
|
|
12104
|
-
_.$_$.ic =
|
|
12105
|
-
_.$_$.jc =
|
|
12106
|
-
_.$_$.kc =
|
|
12107
|
-
_.$_$.lc =
|
|
12108
|
-
_.$_$.mc =
|
|
12109
|
-
_.$_$.nc =
|
|
12110
|
-
_.$_$.oc =
|
|
12111
|
-
_.$_$.pc =
|
|
12112
|
-
_.$_$.qc =
|
|
12113
|
-
_.$_$.rc =
|
|
12114
|
-
_.$_$.sc =
|
|
12115
|
-
_.$_$.tc =
|
|
12116
|
-
_.$_$.uc =
|
|
12117
|
-
_.$_$.vc =
|
|
12118
|
-
_.$_$.wc =
|
|
12119
|
-
_.$_$.xc =
|
|
12120
|
-
_.$_$.yc =
|
|
12121
|
-
_.$_$.zc =
|
|
12122
|
-
_.$_$.ad =
|
|
12123
|
-
_.$_$.bd =
|
|
12124
|
-
_.$_$.cd =
|
|
12125
|
-
_.$_$.dd =
|
|
12126
|
-
_.$_$.ed =
|
|
12127
|
-
_.$_$.fd =
|
|
12128
|
-
_.$_$.gd =
|
|
12129
|
-
_.$_$.hd =
|
|
12130
|
-
_.$_$.id =
|
|
12131
|
-
_.$_$.jd =
|
|
12132
|
-
_.$_$.kd =
|
|
12133
|
-
_.$_$.ld =
|
|
12134
|
-
_.$_$.md =
|
|
12135
|
-
_.$_$.nd =
|
|
12136
|
-
_.$_$.od =
|
|
12137
|
-
_.$_$.pd =
|
|
12138
|
-
_.$_$.qd =
|
|
12139
|
-
_.$_$.rd =
|
|
12140
|
-
_.$_$.sd =
|
|
12141
|
-
_.$_$.td =
|
|
12142
|
-
_.$_$.ud =
|
|
12143
|
-
_.$_$.vd =
|
|
12144
|
-
_.$_$.wd =
|
|
12145
|
-
_.$_$.xd =
|
|
12146
|
-
_.$_$.yd =
|
|
12147
|
-
_.$_$.zd =
|
|
12148
|
-
_.$_$.ae =
|
|
12149
|
-
_.$_$.be =
|
|
12150
|
-
_.$_$.ce =
|
|
12151
|
-
_.$_$.de =
|
|
12152
|
-
_.$_$.ee =
|
|
12153
|
-
_.$_$.fe =
|
|
12154
|
-
_.$_$.ge =
|
|
12155
|
-
_.$_$.he =
|
|
12156
|
-
_.$_$.ie =
|
|
12157
|
-
_.$_$.je =
|
|
12158
|
-
_.$_$.ke =
|
|
12159
|
-
_.$_$.le =
|
|
12160
|
-
_.$_$.me =
|
|
12161
|
-
_.$_$.ne =
|
|
12119
|
+
_.$_$.na = iterator;
|
|
12120
|
+
_.$_$.oa = joinToString_1;
|
|
12121
|
+
_.$_$.pa = lastOrNull_0;
|
|
12122
|
+
_.$_$.qa = last_3;
|
|
12123
|
+
_.$_$.ra = mapIndexed;
|
|
12124
|
+
_.$_$.sa = mapNotNull;
|
|
12125
|
+
_.$_$.ta = map;
|
|
12126
|
+
_.$_$.ua = minWithOrNull_0;
|
|
12127
|
+
_.$_$.va = none_0;
|
|
12128
|
+
_.$_$.wa = onEach;
|
|
12129
|
+
_.$_$.xa = plus_3;
|
|
12130
|
+
_.$_$.ya = plus_2;
|
|
12131
|
+
_.$_$.za = sequenceOf_0;
|
|
12132
|
+
_.$_$.ab = sequenceOf;
|
|
12133
|
+
_.$_$.bb = sequence;
|
|
12134
|
+
_.$_$.cb = sum_0;
|
|
12135
|
+
_.$_$.db = takeWhile;
|
|
12136
|
+
_.$_$.eb = take_0;
|
|
12137
|
+
_.$_$.fb = toCollection_1;
|
|
12138
|
+
_.$_$.gb = toHashSet;
|
|
12139
|
+
_.$_$.hb = toList_2;
|
|
12140
|
+
_.$_$.ib = toMutableList_1;
|
|
12141
|
+
_.$_$.jb = toSet_1;
|
|
12142
|
+
_.$_$.kb = withIndex_0;
|
|
12143
|
+
_.$_$.lb = zip_1;
|
|
12144
|
+
_.$_$.mb = zip_0;
|
|
12145
|
+
_.$_$.nb = StringBuilder;
|
|
12146
|
+
_.$_$.ob = asSequence_3;
|
|
12147
|
+
_.$_$.pb = chunked;
|
|
12148
|
+
_.$_$.qb = commonPrefixWith;
|
|
12149
|
+
_.$_$.rb = concatToString;
|
|
12150
|
+
_.$_$.sb = concatToString_0;
|
|
12151
|
+
_.$_$.tb = contains_5;
|
|
12152
|
+
_.$_$.ub = contains_6;
|
|
12153
|
+
_.$_$.vb = digitToIntOrNull;
|
|
12154
|
+
_.$_$.wb = digitToInt;
|
|
12155
|
+
_.$_$.xb = drop_1;
|
|
12156
|
+
_.$_$.yb = endsWith_1;
|
|
12157
|
+
_.$_$.zb = endsWith;
|
|
12158
|
+
_.$_$.ac = first_2;
|
|
12159
|
+
_.$_$.bc = indexOf_5;
|
|
12160
|
+
_.$_$.cc = isBlank;
|
|
12161
|
+
_.$_$.dc = isDigit;
|
|
12162
|
+
_.$_$.ec = isLowerCase;
|
|
12163
|
+
_.$_$.fc = isWhitespace;
|
|
12164
|
+
_.$_$.gc = get_lastIndex_2;
|
|
12165
|
+
_.$_$.hc = lastIndexOf_0;
|
|
12166
|
+
_.$_$.ic = lineSequence;
|
|
12167
|
+
_.$_$.jc = padStart;
|
|
12168
|
+
_.$_$.kc = prependIndent;
|
|
12169
|
+
_.$_$.lc = removePrefix;
|
|
12170
|
+
_.$_$.mc = removeRange;
|
|
12171
|
+
_.$_$.nc = removeSuffix;
|
|
12172
|
+
_.$_$.oc = repeat;
|
|
12173
|
+
_.$_$.pc = replaceFirst;
|
|
12174
|
+
_.$_$.qc = replace;
|
|
12175
|
+
_.$_$.rc = replace_0;
|
|
12176
|
+
_.$_$.sc = slice_0;
|
|
12177
|
+
_.$_$.tc = split_0;
|
|
12178
|
+
_.$_$.uc = split;
|
|
12179
|
+
_.$_$.vc = startsWith;
|
|
12180
|
+
_.$_$.wc = startsWith_1;
|
|
12181
|
+
_.$_$.xc = substringAfterLast;
|
|
12182
|
+
_.$_$.yc = substringAfter;
|
|
12183
|
+
_.$_$.zc = substringBefore;
|
|
12184
|
+
_.$_$.ad = substring_0;
|
|
12185
|
+
_.$_$.bd = substring;
|
|
12186
|
+
_.$_$.cd = take_1;
|
|
12187
|
+
_.$_$.dd = titlecase;
|
|
12188
|
+
_.$_$.ed = toCharArray;
|
|
12189
|
+
_.$_$.fd = toDoubleOrNull;
|
|
12190
|
+
_.$_$.gd = toDouble;
|
|
12191
|
+
_.$_$.hd = toIntOrNull;
|
|
12192
|
+
_.$_$.id = toInt_0;
|
|
12193
|
+
_.$_$.jd = toInt;
|
|
12194
|
+
_.$_$.kd = toString_3;
|
|
12195
|
+
_.$_$.ld = toString_2;
|
|
12196
|
+
_.$_$.md = trimIndent;
|
|
12197
|
+
_.$_$.nd = trimMargin;
|
|
12198
|
+
_.$_$.od = trimStart;
|
|
12199
|
+
_.$_$.pd = trim;
|
|
12200
|
+
_.$_$.qd = ArithmeticException;
|
|
12201
|
+
_.$_$.rd = Char;
|
|
12202
|
+
_.$_$.sd = ClassCastException;
|
|
12203
|
+
_.$_$.td = Comparable;
|
|
12204
|
+
_.$_$.ud = Comparator;
|
|
12205
|
+
_.$_$.vd = Enum;
|
|
12206
|
+
_.$_$.wd = Exception;
|
|
12207
|
+
_.$_$.xd = IllegalArgumentException;
|
|
12208
|
+
_.$_$.yd = IllegalStateException;
|
|
12209
|
+
_.$_$.zd = IndexOutOfBoundsException;
|
|
12210
|
+
_.$_$.ae = NotImplementedError;
|
|
12211
|
+
_.$_$.be = NullPointerException;
|
|
12212
|
+
_.$_$.ce = NumberFormatException;
|
|
12213
|
+
_.$_$.de = Pair;
|
|
12214
|
+
_.$_$.ee = RuntimeException;
|
|
12215
|
+
_.$_$.fe = THROW_CCE;
|
|
12216
|
+
_.$_$.ge = THROW_IAE;
|
|
12217
|
+
_.$_$.he = Triple;
|
|
12218
|
+
_.$_$.ie = addSuppressed;
|
|
12219
|
+
_.$_$.je = closeFinally;
|
|
12220
|
+
_.$_$.ke = createFailure;
|
|
12221
|
+
_.$_$.le = ensureNotNull;
|
|
12222
|
+
_.$_$.me = isInfinite;
|
|
12223
|
+
_.$_$.ne = isNaN_0;
|
|
12162
12224
|
_.$_$.oe = lazy_0;
|
|
12163
12225
|
_.$_$.pe = lazy;
|
|
12164
12226
|
_.$_$.qe = noWhenBranchMatchedException;
|
|
12165
|
-
_.$_$.re =
|
|
12227
|
+
_.$_$.re = plus_5;
|
|
12166
12228
|
_.$_$.se = throwKotlinNothingValueException;
|
|
12167
12229
|
_.$_$.te = toBits;
|
|
12168
12230
|
_.$_$.ue = toList_3;
|