@glandais/vcyclist-engine 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fit-kotlin-sdk.js +3734 -3734
- package/kotlin-kotlin-stdlib.js +21 -21
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +3 -3
- package/package.json +1 -1
- package/vcyclist-elevation.js +686 -685
- package/vcyclist-elevation.js.map +1 -1
- package/vcyclist-engine.js +1435 -1432
- package/vcyclist-engine.js.map +1 -1
- package/vcyclist-fit.js +187 -187
- package/vcyclist-gpx.js +1142 -1141
- package/vcyclist-gpx.js.map +1 -1
- package/xmlutil-core.js +2393 -2393
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -175,23 +175,23 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
175
175
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
|
|
176
176
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
177
177
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
178
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [
|
|
178
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [MutableIterable, KtList, Collection]);
|
|
179
179
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
180
180
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
|
|
181
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [
|
|
181
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [KtSet, MutableIterable, Collection]);
|
|
182
182
|
initMetadataForCompanion(Companion_2);
|
|
183
183
|
initMetadataForInterface(RandomAccess, 'RandomAccess');
|
|
184
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [
|
|
184
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [MutableIterable, KtList, Collection, RandomAccess]);
|
|
185
185
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
|
|
186
|
-
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [
|
|
186
|
+
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, MutableIterable, Collection]);
|
|
187
187
|
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
|
|
188
|
-
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [
|
|
188
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, MutableIterable, Collection]);
|
|
189
189
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
190
190
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
191
191
|
initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
|
|
192
192
|
initMetadataForClass(HashMapValuesDefault$iterator$1);
|
|
193
193
|
initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
|
|
194
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [
|
|
194
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [KtSet, MutableIterable, Collection]);
|
|
195
195
|
initMetadataForCompanion(Companion_3);
|
|
196
196
|
initMetadataForClass(Itr, 'Itr');
|
|
197
197
|
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
|
|
@@ -236,7 +236,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
236
236
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
237
237
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
238
238
|
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [KtMap]);
|
|
239
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [
|
|
239
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [KtSet, MutableIterable, Collection]);
|
|
240
240
|
initMetadataForInterface(Continuation, 'Continuation');
|
|
241
241
|
initMetadataForClass(InterceptedCoroutine, 'InterceptedCoroutine', VOID, VOID, [Continuation]);
|
|
242
242
|
initMetadataForClass(CoroutineImpl, 'CoroutineImpl', VOID, InterceptedCoroutine, [Continuation]);
|
|
@@ -972,20 +972,20 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
972
972
|
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
973
973
|
}
|
|
974
974
|
function coerceIn(_this__u8e3s4, minimumValue, maximumValue) {
|
|
975
|
-
if (
|
|
976
|
-
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue
|
|
977
|
-
if (
|
|
975
|
+
if (minimumValue > maximumValue)
|
|
976
|
+
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
977
|
+
if (_this__u8e3s4 < minimumValue)
|
|
978
978
|
return minimumValue;
|
|
979
|
-
if (
|
|
979
|
+
if (_this__u8e3s4 > maximumValue)
|
|
980
980
|
return maximumValue;
|
|
981
981
|
return _this__u8e3s4;
|
|
982
982
|
}
|
|
983
983
|
function coerceIn_0(_this__u8e3s4, minimumValue, maximumValue) {
|
|
984
|
-
if (minimumValue >
|
|
985
|
-
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
986
|
-
if (_this__u8e3s4 <
|
|
984
|
+
if (compare(minimumValue, maximumValue) > 0)
|
|
985
|
+
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue.toString() + ' is less than minimum ' + minimumValue.toString() + '.');
|
|
986
|
+
if (compare(_this__u8e3s4, minimumValue) < 0)
|
|
987
987
|
return minimumValue;
|
|
988
|
-
if (_this__u8e3s4 >
|
|
988
|
+
if (compare(_this__u8e3s4, maximumValue) > 0)
|
|
989
989
|
return maximumValue;
|
|
990
990
|
return _this__u8e3s4;
|
|
991
991
|
}
|
|
@@ -9375,7 +9375,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9375
9375
|
function DelimitedRangesSequence$iterator$1(this$0) {
|
|
9376
9376
|
this.hf_1 = this$0;
|
|
9377
9377
|
this.cf_1 = -1;
|
|
9378
|
-
this.df_1 =
|
|
9378
|
+
this.df_1 = coerceIn(this$0.jf_1, 0, charSequenceLength(this$0.if_1));
|
|
9379
9379
|
this.ef_1 = this.df_1;
|
|
9380
9380
|
this.ff_1 = null;
|
|
9381
9381
|
this.gf_1 = 0;
|
|
@@ -9995,7 +9995,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
9995
9995
|
var tmp$ret$0 = add(this_0, fromInt(1));
|
|
9996
9996
|
tmp = durationOfMillis(multiply(numberToLong(tmp_0), convertDurationUnitToMilliseconds(abs_0(coerceAtLeast_1(_this__u8e3s4, tmp$ret$0)), unit)));
|
|
9997
9997
|
} else {
|
|
9998
|
-
tmp = durationOfMillis(
|
|
9998
|
+
tmp = durationOfMillis(coerceIn_0(convertDurationUnit_0(_this__u8e3s4, unit, DurationUnit_MILLISECONDS_getInstance()), new Long(1, -1073741824), new Long(-1, 1073741823)));
|
|
9999
9999
|
}
|
|
10000
10000
|
return tmp;
|
|
10001
10001
|
}
|
|
@@ -10056,7 +10056,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10056
10056
|
if (equalsLong(other, new Long(-1, 1073741823)) || equalsLong(other, new Long(1, -1073741824))) {
|
|
10057
10057
|
tmp = other;
|
|
10058
10058
|
} else {
|
|
10059
|
-
tmp =
|
|
10059
|
+
tmp = coerceIn_0(add(_this__u8e3s4, other), new Long(1, -1073741824), new Long(-1, 1073741823));
|
|
10060
10060
|
}
|
|
10061
10061
|
}
|
|
10062
10062
|
return tmp;
|
|
@@ -10066,7 +10066,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
10066
10066
|
if (compare(new Long(1108857478, -1074), millis) <= 0 ? compare(millis, new Long(-1108857478, 1073)) <= 0 : false) {
|
|
10067
10067
|
tmp = durationOfNanos(millisToNanos(millis));
|
|
10068
10068
|
} else {
|
|
10069
|
-
tmp = durationOfMillis(
|
|
10069
|
+
tmp = durationOfMillis(coerceIn_0(millis, new Long(1, -1073741824), new Long(-1, 1073741823)));
|
|
10070
10070
|
}
|
|
10071
10071
|
return tmp;
|
|
10072
10072
|
}
|
|
@@ -11671,8 +11671,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
11671
11671
|
_.$_$.q8 = coerceAtLeast;
|
|
11672
11672
|
_.$_$.r8 = coerceAtMost;
|
|
11673
11673
|
_.$_$.s8 = coerceIn_1;
|
|
11674
|
-
_.$_$.t8 =
|
|
11675
|
-
_.$_$.u8 =
|
|
11674
|
+
_.$_$.t8 = coerceIn;
|
|
11675
|
+
_.$_$.u8 = coerceIn_0;
|
|
11676
11676
|
_.$_$.v8 = contains_2;
|
|
11677
11677
|
_.$_$.w8 = downTo;
|
|
11678
11678
|
_.$_$.x8 = rangeTo;
|