@glandais/vcyclist-engine 3.0.0 → 3.1.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/vcyclist-gpx.js CHANGED
@@ -19,113 +19,114 @@
19
19
  'use strict';
20
20
  //region block: imports
21
21
  var imul = Math.imul;
22
- var enumEntries = kotlin_kotlin.$_$.h4;
23
- var Unit_instance = kotlin_kotlin.$_$.t;
24
- var Enum = kotlin_kotlin.$_$.z7;
25
- var protoOf = kotlin_kotlin.$_$.a6;
26
- var initMetadataForClass = kotlin_kotlin.$_$.l5;
22
+ var Unit_instance = kotlin_kotlin.$_$.f1;
23
+ var enumEntries = kotlin_kotlin.$_$.u4;
24
+ var Enum = kotlin_kotlin.$_$.v8;
25
+ var protoOf = kotlin_kotlin.$_$.t6;
26
+ var initMetadataForClass = kotlin_kotlin.$_$.e6;
27
27
  var VOID = kotlin_kotlin.$_$.a;
28
- var toString = kotlin_kotlin.$_$.u8;
29
- var getNumberHashCode = kotlin_kotlin.$_$.h5;
30
- var getStringHashCode = kotlin_kotlin.$_$.j5;
31
- var equals = kotlin_kotlin.$_$.f5;
32
- var emptyList = kotlin_kotlin.$_$.p2;
33
- var toString_0 = kotlin_kotlin.$_$.c6;
34
- var hashCode = kotlin_kotlin.$_$.k5;
35
- var listOf = kotlin_kotlin.$_$.z2;
36
- var initMetadataForCompanion = kotlin_kotlin.$_$.m5;
37
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.x;
38
- var addAll = kotlin_kotlin.$_$.e2;
39
- var constructCallableReference = kotlin_kotlin.$_$.d5;
40
- var lazy = kotlin_kotlin.$_$.q8;
41
- var KProperty1 = kotlin_kotlin.$_$.r6;
42
- var getPropertyCallableRef = kotlin_kotlin.$_$.i5;
43
- var collectionSizeOrDefault = kotlin_kotlin.$_$.j2;
44
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.w;
45
- var checkIndexOverflow = kotlin_kotlin.$_$.i2;
46
- var getOrNull = kotlin_kotlin.$_$.t2;
47
- var isNaN_0 = kotlin_kotlin.$_$.p8;
48
- var numberToLong = kotlin_kotlin.$_$.s4;
49
- var Long = kotlin_kotlin.$_$.d8;
50
- var compare = kotlin_kotlin.$_$.l4;
51
- var roundToLong = kotlin_kotlin.$_$.e6;
52
- var add = kotlin_kotlin.$_$.k4;
53
- var roundToInt = kotlin_kotlin.$_$.d6;
54
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.r8;
28
+ var toString = kotlin_kotlin.$_$.w9;
29
+ var getNumberHashCode = kotlin_kotlin.$_$.a6;
30
+ var getStringHashCode = kotlin_kotlin.$_$.c6;
31
+ var equals = kotlin_kotlin.$_$.x5;
32
+ var emptyList = kotlin_kotlin.$_$.c3;
33
+ var toString_0 = kotlin_kotlin.$_$.w6;
34
+ var hashCode = kotlin_kotlin.$_$.d6;
35
+ var listOf = kotlin_kotlin.$_$.m3;
36
+ var initMetadataForCompanion = kotlin_kotlin.$_$.f6;
37
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i1;
38
+ var addAll = kotlin_kotlin.$_$.q2;
39
+ var constructCallableReference = kotlin_kotlin.$_$.u5;
40
+ var lazy = kotlin_kotlin.$_$.q9;
41
+ var KProperty1 = kotlin_kotlin.$_$.l7;
42
+ var getPropertyCallableRef = kotlin_kotlin.$_$.b6;
43
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.v2;
44
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h1;
45
+ var checkIndexOverflow = kotlin_kotlin.$_$.u2;
46
+ var getOrNull = kotlin_kotlin.$_$.g3;
47
+ var isNaN_0 = kotlin_kotlin.$_$.p9;
48
+ var numberToLong = kotlin_kotlin.$_$.h5;
49
+ var Long = kotlin_kotlin.$_$.z8;
50
+ var compare = kotlin_kotlin.$_$.z4;
51
+ var roundToLong = kotlin_kotlin.$_$.y6;
52
+ var add = kotlin_kotlin.$_$.x4;
53
+ var roundToInt = kotlin_kotlin.$_$.x6;
54
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.r9;
55
55
  var get_xmlStreaming = kotlin_io_github_pdvrieze_xmlutil_core.$_$.d;
56
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
57
- var Exception = kotlin_kotlin.$_$.b8;
58
- var IllegalArgumentException = kotlin_kotlin.$_$.c8;
59
- var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.m1;
56
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.z1;
57
+ var Exception = kotlin_kotlin.$_$.x8;
58
+ var IllegalArgumentException = kotlin_kotlin.$_$.y8;
59
+ var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.y1;
60
60
  var EventType_START_ELEMENT_getInstance = kotlin_io_github_pdvrieze_xmlutil_core.$_$.a;
61
- var THROW_CCE = kotlin_kotlin.$_$.i8;
62
- var isCharSequence = kotlin_kotlin.$_$.s5;
63
- var trim = kotlin_kotlin.$_$.v7;
64
- var charSequenceLength = kotlin_kotlin.$_$.b5;
65
- var isBlank = kotlin_kotlin.$_$.e7;
66
- var toDoubleOrNull = kotlin_kotlin.$_$.q7;
67
- var numberToInt = kotlin_kotlin.$_$.y5;
68
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.g1;
69
- var Companion_getInstance = kotlin_kotlin.$_$.r;
70
- var initMetadataForObject = kotlin_kotlin.$_$.r5;
71
- var firstOrNull = kotlin_kotlin.$_$.r2;
72
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.o1;
73
- var toNumber = kotlin_kotlin.$_$.u4;
74
- var toSet = kotlin_kotlin.$_$.n3;
61
+ var THROW_CCE = kotlin_kotlin.$_$.e9;
62
+ var isCharSequence = kotlin_kotlin.$_$.l6;
63
+ var trim = kotlin_kotlin.$_$.r8;
64
+ var charSequenceLength = kotlin_kotlin.$_$.s5;
65
+ var isBlank = kotlin_kotlin.$_$.z7;
66
+ var toDoubleOrNull = kotlin_kotlin.$_$.l8;
67
+ var numberToInt = kotlin_kotlin.$_$.r6;
68
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.s1;
69
+ var Companion_getInstance = kotlin_kotlin.$_$.c1;
70
+ var initMetadataForObject = kotlin_kotlin.$_$.k6;
71
+ var firstOrNull = kotlin_kotlin.$_$.e3;
72
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
73
+ var toNumber = kotlin_kotlin.$_$.k5;
74
+ var toSet = kotlin_kotlin.$_$.a4;
75
75
  var XmlDeclMode_None_getInstance = kotlin_io_github_pdvrieze_xmlutil_core.$_$.b;
76
76
  var newGenericWriter = kotlin_io_github_pdvrieze_xmlutil_core.$_$.c;
77
- var charCodeAt = kotlin_kotlin.$_$.z4;
77
+ var charCodeAt = kotlin_kotlin.$_$.q5;
78
78
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.b;
79
- var substring = kotlin_kotlin.$_$.n7;
80
- var isHighSurrogate = kotlin_kotlin.$_$.g7;
81
- var isLowSurrogate = kotlin_kotlin.$_$.h7;
79
+ var substring = kotlin_kotlin.$_$.i8;
80
+ var isHighSurrogate = kotlin_kotlin.$_$.b8;
81
+ var isLowSurrogate = kotlin_kotlin.$_$.c8;
82
82
  var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.f;
83
- var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.f1;
84
- var Pair = kotlin_kotlin.$_$.f8;
85
- var substring_0 = kotlin_kotlin.$_$.o7;
86
- var toLong = kotlin_kotlin.$_$.t7;
87
- var numberRangeToNumber = kotlin_kotlin.$_$.w5;
88
- var ClosedRange = kotlin_kotlin.$_$.g6;
89
- var isInterface = kotlin_kotlin.$_$.t5;
90
- var contains = kotlin_kotlin.$_$.l6;
91
- var convertToInt = kotlin_kotlin.$_$.m4;
92
- var NumberFormatException = kotlin_kotlin.$_$.e8;
93
- var isDigit = kotlin_kotlin.$_$.f7;
94
- var isWhitespace = kotlin_kotlin.$_$.i7;
95
- var setOf = kotlin_kotlin.$_$.g3;
96
- var toDouble = kotlin_kotlin.$_$.r7;
97
- var round = kotlin_kotlin.$_$.f6;
98
- var divide = kotlin_kotlin.$_$.n4;
99
- var equalsLong = kotlin_kotlin.$_$.o4;
100
- var modulo = kotlin_kotlin.$_$.q4;
101
- var padStart = kotlin_kotlin.$_$.j7;
102
- var longArray = kotlin_kotlin.$_$.v5;
103
- var multiply = kotlin_kotlin.$_$.r4;
104
- var isInfinite = kotlin_kotlin.$_$.o8;
105
- var charSequenceGet = kotlin_kotlin.$_$.a5;
106
- var replace = kotlin_kotlin.$_$.k7;
83
+ var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.r1;
84
+ var Pair = kotlin_kotlin.$_$.b9;
85
+ var substring_0 = kotlin_kotlin.$_$.j8;
86
+ var toLong = kotlin_kotlin.$_$.o8;
87
+ var numberRangeToNumber = kotlin_kotlin.$_$.p6;
88
+ var ClosedRange = kotlin_kotlin.$_$.a7;
89
+ var isInterface = kotlin_kotlin.$_$.m6;
90
+ var contains = kotlin_kotlin.$_$.f7;
91
+ var convertToInt = kotlin_kotlin.$_$.b5;
92
+ var NumberFormatException = kotlin_kotlin.$_$.a9;
93
+ var isDigit = kotlin_kotlin.$_$.a8;
94
+ var isWhitespace = kotlin_kotlin.$_$.d8;
95
+ var setOf = kotlin_kotlin.$_$.t3;
96
+ var toDouble = kotlin_kotlin.$_$.m8;
97
+ var round = kotlin_kotlin.$_$.z6;
98
+ var divide = kotlin_kotlin.$_$.c5;
99
+ var equalsLong = kotlin_kotlin.$_$.d5;
100
+ var modulo = kotlin_kotlin.$_$.f5;
101
+ var padStart = kotlin_kotlin.$_$.e8;
102
+ var longArray = kotlin_kotlin.$_$.o6;
103
+ var multiply = kotlin_kotlin.$_$.g5;
104
+ var isInfinite = kotlin_kotlin.$_$.o9;
105
+ var charSequenceGet = kotlin_kotlin.$_$.r5;
106
+ var replace = kotlin_kotlin.$_$.f8;
107
107
  var toString_1 = kotlin_kotlin.$_$.g;
108
108
  var Char__hashCode_impl_otmys = kotlin_kotlin.$_$.d;
109
- var getBooleanHashCode = kotlin_kotlin.$_$.g5;
110
- var get_lastIndex = kotlin_kotlin.$_$.w2;
111
- var toString_2 = kotlin_kotlin.$_$.u7;
112
- var CoroutineImpl = kotlin_kotlin.$_$.f4;
109
+ var getBooleanHashCode = kotlin_kotlin.$_$.z5;
110
+ var get_lastIndex = kotlin_kotlin.$_$.j3;
111
+ var toString_2 = kotlin_kotlin.$_$.p8;
112
+ var CoroutineImpl = kotlin_kotlin.$_$.s4;
113
113
  var LatLon = kotlin_io_github_glandais_elevation.$_$.f;
114
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.q3;
115
- var initMetadataForCoroutine = kotlin_kotlin.$_$.n5;
114
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d4;
115
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.g6;
116
116
  var ElevationSmoother_instance = kotlin_io_github_glandais_elevation.$_$.c;
117
- var until = kotlin_kotlin.$_$.n6;
117
+ var until = kotlin_kotlin.$_$.h7;
118
118
  var LatLonElevation = kotlin_io_github_glandais_elevation.$_$.e;
119
- var arrayCopy = kotlin_kotlin.$_$.f2;
119
+ var arrayCopy = kotlin_kotlin.$_$.r2;
120
120
  var Distance_instance = kotlin_io_github_glandais_elevation.$_$.a;
121
121
  var DouglasPeucker_instance = kotlin_io_github_glandais_elevation.$_$.b;
122
- var mapCapacity = kotlin_kotlin.$_$.b3;
123
- var coerceAtLeast = kotlin_kotlin.$_$.h6;
124
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.a1;
125
- var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.b1;
126
- var subtract = kotlin_kotlin.$_$.t4;
127
- var get_ONE = kotlin_kotlin.$_$.j4;
128
- var sorted = kotlin_kotlin.$_$.i3;
122
+ var Companion_instance = kotlin_kotlin.$_$.d1;
123
+ var mapCapacity = kotlin_kotlin.$_$.o3;
124
+ var coerceAtLeast = kotlin_kotlin.$_$.b7;
125
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.m1;
126
+ var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.n1;
127
+ var subtract = kotlin_kotlin.$_$.j5;
128
+ var get_ONE = kotlin_kotlin.$_$.w4;
129
+ var sorted = kotlin_kotlin.$_$.v3;
129
130
  //endregion
130
131
  //region block: pre-declaration
131
132
  initMetadataForClass(GpxPathKind, 'GpxPathKind', VOID, Enum);
@@ -165,24 +166,26 @@
165
166
  initMetadataForClass(Interpolate_0, 'Interpolate');
166
167
  initMetadataForObject(PointPerSecond, 'PointPerSecond');
167
168
  //endregion
169
+ var static_init_called;
170
+ function static_init() {
171
+ if (static_init_called)
172
+ return Unit_instance;
173
+ static_init_called = true;
174
+ GpxPathKind_TRACK_instance = new GpxPathKind('TRACK', 0);
175
+ GpxPathKind_ROUTE_instance = new GpxPathKind('ROUTE', 1);
176
+ }
168
177
  var GpxPathKind_TRACK_instance;
169
178
  var GpxPathKind_ROUTE_instance;
170
179
  function values() {
180
+ static_init();
171
181
  return [GpxPathKind_TRACK_getInstance(), GpxPathKind_ROUTE_getInstance()];
172
182
  }
173
183
  function get_entries() {
184
+ static_init();
174
185
  if ($ENTRIES == null)
175
186
  $ENTRIES = enumEntries(values());
176
187
  return $ENTRIES;
177
188
  }
178
- var GpxPathKind_entriesInitialized;
179
- function GpxPathKind_initEntries() {
180
- if (GpxPathKind_entriesInitialized)
181
- return Unit_instance;
182
- GpxPathKind_entriesInitialized = true;
183
- GpxPathKind_TRACK_instance = new GpxPathKind('TRACK', 0);
184
- GpxPathKind_ROUTE_instance = new GpxPathKind('ROUTE', 1);
185
- }
186
189
  var $ENTRIES;
187
190
  function GpxPathKind(name, ordinal) {
188
191
  Enum.call(this, name, ordinal);
@@ -194,27 +197,27 @@
194
197
  symbol = symbol === VOID ? null : symbol;
195
198
  type = type === VOID ? null : type;
196
199
  timeEpochMs = timeEpochMs === VOID ? null : timeEpochMs;
197
- this.d1q_1 = latitudeDeg;
198
- this.e1q_1 = longitudeDeg;
199
- this.f1q_1 = elevationM;
200
- this.g1q_1 = name;
201
- this.h1q_1 = description;
202
- this.i1q_1 = symbol;
203
- this.j1q_1 = type;
204
- this.k1q_1 = timeEpochMs;
200
+ this.latitudeDeg_1 = latitudeDeg;
201
+ this.longitudeDeg_1 = longitudeDeg;
202
+ this.elevationM_1 = elevationM;
203
+ this.name_1 = name;
204
+ this.description_1 = description;
205
+ this.symbol_1 = symbol;
206
+ this.type_1 = type;
207
+ this.timeEpochMs_1 = timeEpochMs;
205
208
  }
206
209
  protoOf(GpxWaypoint).toString = function () {
207
- return 'GpxWaypoint(latitudeDeg=' + this.d1q_1 + ', longitudeDeg=' + this.e1q_1 + ', elevationM=' + this.f1q_1 + ', name=' + this.g1q_1 + ', description=' + this.h1q_1 + ', symbol=' + this.i1q_1 + ', type=' + this.j1q_1 + ', timeEpochMs=' + toString(this.k1q_1) + ')';
210
+ return 'GpxWaypoint(latitudeDeg=' + this.latitudeDeg_1 + ', longitudeDeg=' + this.longitudeDeg_1 + ', elevationM=' + this.elevationM_1 + ', name=' + this.name_1 + ', description=' + this.description_1 + ', symbol=' + this.symbol_1 + ', type=' + this.type_1 + ', timeEpochMs=' + toString(this.timeEpochMs_1) + ')';
208
211
  };
209
212
  protoOf(GpxWaypoint).hashCode = function () {
210
- var result = getNumberHashCode(this.d1q_1);
211
- result = imul(result, 31) + getNumberHashCode(this.e1q_1) | 0;
212
- result = imul(result, 31) + (this.f1q_1 == null ? 0 : getNumberHashCode(this.f1q_1)) | 0;
213
- result = imul(result, 31) + (this.g1q_1 == null ? 0 : getStringHashCode(this.g1q_1)) | 0;
214
- result = imul(result, 31) + (this.h1q_1 == null ? 0 : getStringHashCode(this.h1q_1)) | 0;
215
- result = imul(result, 31) + (this.i1q_1 == null ? 0 : getStringHashCode(this.i1q_1)) | 0;
216
- result = imul(result, 31) + (this.j1q_1 == null ? 0 : getStringHashCode(this.j1q_1)) | 0;
217
- result = imul(result, 31) + (this.k1q_1 == null ? 0 : this.k1q_1.hashCode()) | 0;
213
+ var result = getNumberHashCode(this.latitudeDeg_1);
214
+ result = imul(result, 31) + getNumberHashCode(this.longitudeDeg_1) | 0;
215
+ result = imul(result, 31) + (this.elevationM_1 == null ? 0 : getNumberHashCode(this.elevationM_1)) | 0;
216
+ result = imul(result, 31) + (this.name_1 == null ? 0 : getStringHashCode(this.name_1)) | 0;
217
+ result = imul(result, 31) + (this.description_1 == null ? 0 : getStringHashCode(this.description_1)) | 0;
218
+ result = imul(result, 31) + (this.symbol_1 == null ? 0 : getStringHashCode(this.symbol_1)) | 0;
219
+ result = imul(result, 31) + (this.type_1 == null ? 0 : getStringHashCode(this.type_1)) | 0;
220
+ result = imul(result, 31) + (this.timeEpochMs_1 == null ? 0 : this.timeEpochMs_1.hashCode()) | 0;
218
221
  return result;
219
222
  };
220
223
  protoOf(GpxWaypoint).equals = function (other) {
@@ -222,38 +225,38 @@
222
225
  return true;
223
226
  if (!(other instanceof GpxWaypoint))
224
227
  return false;
225
- if (!equals(this.d1q_1, other.d1q_1))
228
+ if (!equals(this.latitudeDeg_1, other.latitudeDeg_1))
226
229
  return false;
227
- if (!equals(this.e1q_1, other.e1q_1))
230
+ if (!equals(this.longitudeDeg_1, other.longitudeDeg_1))
228
231
  return false;
229
- if (!equals(this.f1q_1, other.f1q_1))
232
+ if (!equals(this.elevationM_1, other.elevationM_1))
230
233
  return false;
231
- if (!(this.g1q_1 == other.g1q_1))
234
+ if (!(this.name_1 == other.name_1))
232
235
  return false;
233
- if (!(this.h1q_1 == other.h1q_1))
236
+ if (!(this.description_1 == other.description_1))
234
237
  return false;
235
- if (!(this.i1q_1 == other.i1q_1))
238
+ if (!(this.symbol_1 == other.symbol_1))
236
239
  return false;
237
- if (!(this.j1q_1 == other.j1q_1))
240
+ if (!(this.type_1 == other.type_1))
238
241
  return false;
239
- if (!equals(this.k1q_1, other.k1q_1))
242
+ if (!equals(this.timeEpochMs_1, other.timeEpochMs_1))
240
243
  return false;
241
244
  return true;
242
245
  };
243
246
  function GpxDocument(name, tracks, waypoints) {
244
247
  name = name === VOID ? 'noname' : name;
245
248
  waypoints = waypoints === VOID ? emptyList() : waypoints;
246
- this.l1q_1 = name;
247
- this.m1q_1 = tracks;
248
- this.n1q_1 = waypoints;
249
+ this.name_1 = name;
250
+ this.tracks_1 = tracks;
251
+ this.waypoints_1 = waypoints;
249
252
  }
250
253
  protoOf(GpxDocument).toString = function () {
251
- return 'GpxDocument(name=' + this.l1q_1 + ', tracks=' + toString_0(this.m1q_1) + ', waypoints=' + toString_0(this.n1q_1) + ')';
254
+ return 'GpxDocument(name=' + this.name_1 + ', tracks=' + toString_0(this.tracks_1) + ', waypoints=' + toString_0(this.waypoints_1) + ')';
252
255
  };
253
256
  protoOf(GpxDocument).hashCode = function () {
254
- var result = getStringHashCode(this.l1q_1);
255
- result = imul(result, 31) + hashCode(this.m1q_1) | 0;
256
- result = imul(result, 31) + hashCode(this.n1q_1) | 0;
257
+ var result = getStringHashCode(this.name_1);
258
+ result = imul(result, 31) + hashCode(this.tracks_1) | 0;
259
+ result = imul(result, 31) + hashCode(this.waypoints_1) | 0;
257
260
  return result;
258
261
  };
259
262
  protoOf(GpxDocument).equals = function (other) {
@@ -261,39 +264,39 @@
261
264
  return true;
262
265
  if (!(other instanceof GpxDocument))
263
266
  return false;
264
- if (!(this.l1q_1 === other.l1q_1))
267
+ if (!(this.name_1 === other.name_1))
265
268
  return false;
266
- if (!equals(this.m1q_1, other.m1q_1))
269
+ if (!equals(this.tracks_1, other.tracks_1))
267
270
  return false;
268
- if (!equals(this.n1q_1, other.n1q_1))
271
+ if (!equals(this.waypoints_1, other.waypoints_1))
269
272
  return false;
270
273
  return true;
271
274
  };
272
275
  function Companion() {
273
276
  }
274
- protoOf(Companion).o1q = function (name, type, points, kind) {
277
+ protoOf(Companion).invoke_a307c9_k$ = function (name, type, points, kind) {
275
278
  return new GpxTrack(name, type, listOf(new GpxSegment(points)), kind);
276
279
  };
277
- protoOf(Companion).p1q = function (name, type, points, kind, $super) {
280
+ protoOf(Companion).invoke$default_3oy1b8_k$ = function (name, type, points, kind, $super) {
278
281
  name = name === VOID ? null : name;
279
282
  type = type === VOID ? null : type;
280
283
  kind = kind === VOID ? GpxPathKind_TRACK_getInstance() : kind;
281
- return $super === VOID ? this.o1q(name, type, points, kind) : $super.o1q.call(this, name, type, points, kind);
284
+ return $super === VOID ? this.invoke_a307c9_k$(name, type, points, kind) : $super.invoke_a307c9_k$.call(this, name, type, points, kind);
282
285
  };
283
- var Companion_instance;
286
+ var Companion_instance_0;
284
287
  function Companion_getInstance_0() {
285
- return Companion_instance;
288
+ return Companion_instance_0;
286
289
  }
287
290
  function GpxTrack$points$delegate$lambda(this$0) {
288
291
  return function () {
289
292
  // Inline function 'kotlin.collections.flatMap' call
290
- var tmp0 = this$0.s1q_1;
293
+ var tmp0 = this$0.segments_1;
291
294
  // Inline function 'kotlin.collections.flatMapTo' call
292
295
  var destination = ArrayList_init_$Create$();
293
- var _iterator__ex2g4s = tmp0.i();
294
- while (_iterator__ex2g4s.j()) {
295
- var element = _iterator__ex2g4s.k();
296
- var list = element.v1q_1;
296
+ var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
297
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
298
+ var element = _iterator__ex2g4s.next_20eer_k$();
299
+ var list = element.points_1;
297
300
  addAll(destination, list);
298
301
  }
299
302
  return destination;
@@ -301,35 +304,35 @@
301
304
  }
302
305
  function GpxTrack$_get_points_$ref_4x48pr() {
303
306
  return constructCallableReference(function (p0) {
304
- return p0.w1q();
307
+ return p0.get_points_i5obn0_k$();
305
308
  }, 1, 0, 5);
306
309
  }
307
310
  function GpxTrack(name, type, segments, kind) {
308
311
  name = name === VOID ? null : name;
309
312
  type = type === VOID ? null : type;
310
313
  kind = kind === VOID ? GpxPathKind_TRACK_getInstance() : kind;
311
- this.q1q_1 = name;
312
- this.r1q_1 = type;
313
- this.s1q_1 = segments;
314
- this.t1q_1 = kind;
314
+ this.name_1 = name;
315
+ this.type_1 = type;
316
+ this.segments_1 = segments;
317
+ this.kind_1 = kind;
315
318
  var tmp = this;
316
- tmp.u1q_1 = lazy(GpxTrack$points$delegate$lambda(this));
319
+ tmp.points$delegate_1 = lazy(GpxTrack$points$delegate$lambda(this));
317
320
  }
318
- protoOf(GpxTrack).w1q = function () {
319
- var tmp0 = this.u1q_1;
321
+ protoOf(GpxTrack).get_points_i5obn0_k$ = function () {
322
+ var tmp0 = this.points$delegate_1;
320
323
  var tmp = KProperty1;
321
324
  // Inline function 'kotlin.getValue' call
322
325
  getPropertyCallableRef('points', 1, tmp, GpxTrack$_get_points_$ref_4x48pr(), null);
323
- return tmp0.i1();
326
+ return tmp0.get_value_j01efc_k$();
324
327
  };
325
328
  protoOf(GpxTrack).toString = function () {
326
- return 'GpxTrack(name=' + this.q1q_1 + ', type=' + this.r1q_1 + ', segments=' + toString_0(this.s1q_1) + ', kind=' + this.t1q_1.toString() + ')';
329
+ return 'GpxTrack(name=' + this.name_1 + ', type=' + this.type_1 + ', segments=' + toString_0(this.segments_1) + ', kind=' + this.kind_1.toString() + ')';
327
330
  };
328
331
  protoOf(GpxTrack).hashCode = function () {
329
- var result = this.q1q_1 == null ? 0 : getStringHashCode(this.q1q_1);
330
- result = imul(result, 31) + (this.r1q_1 == null ? 0 : getStringHashCode(this.r1q_1)) | 0;
331
- result = imul(result, 31) + hashCode(this.s1q_1) | 0;
332
- result = imul(result, 31) + this.t1q_1.hashCode() | 0;
332
+ var result = this.name_1 == null ? 0 : getStringHashCode(this.name_1);
333
+ result = imul(result, 31) + (this.type_1 == null ? 0 : getStringHashCode(this.type_1)) | 0;
334
+ result = imul(result, 31) + hashCode(this.segments_1) | 0;
335
+ result = imul(result, 31) + this.kind_1.hashCode() | 0;
333
336
  return result;
334
337
  };
335
338
  protoOf(GpxTrack).equals = function (other) {
@@ -337,31 +340,31 @@
337
340
  return true;
338
341
  if (!(other instanceof GpxTrack))
339
342
  return false;
340
- if (!(this.q1q_1 == other.q1q_1))
343
+ if (!(this.name_1 == other.name_1))
341
344
  return false;
342
- if (!(this.r1q_1 == other.r1q_1))
345
+ if (!(this.type_1 == other.type_1))
343
346
  return false;
344
- if (!equals(this.s1q_1, other.s1q_1))
347
+ if (!equals(this.segments_1, other.segments_1))
345
348
  return false;
346
- if (!this.t1q_1.equals(other.t1q_1))
349
+ if (!this.kind_1.equals(other.kind_1))
347
350
  return false;
348
351
  return true;
349
352
  };
350
353
  function GpxSegment(points) {
351
- this.v1q_1 = points;
354
+ this.points_1 = points;
352
355
  }
353
356
  protoOf(GpxSegment).toString = function () {
354
- return 'GpxSegment(points=' + toString_0(this.v1q_1) + ')';
357
+ return 'GpxSegment(points=' + toString_0(this.points_1) + ')';
355
358
  };
356
359
  protoOf(GpxSegment).hashCode = function () {
357
- return hashCode(this.v1q_1);
360
+ return hashCode(this.points_1);
358
361
  };
359
362
  protoOf(GpxSegment).equals = function (other) {
360
363
  if (this === other)
361
364
  return true;
362
365
  if (!(other instanceof GpxSegment))
363
366
  return false;
364
- if (!equals(this.v1q_1, other.v1q_1))
367
+ if (!equals(this.points_1, other.points_1))
365
368
  return false;
366
369
  return true;
367
370
  };
@@ -372,27 +375,27 @@
372
375
  cadence = cadence === VOID ? null : cadence;
373
376
  temperatureC = temperatureC === VOID ? null : temperatureC;
374
377
  powerW = powerW === VOID ? null : powerW;
375
- this.x1q_1 = latitudeDeg;
376
- this.y1q_1 = longitudeDeg;
377
- this.z1q_1 = elevationM;
378
- this.a1r_1 = timeEpochMs;
379
- this.b1r_1 = heartRate;
380
- this.c1r_1 = cadence;
381
- this.d1r_1 = temperatureC;
382
- this.e1r_1 = powerW;
378
+ this.latitudeDeg_1 = latitudeDeg;
379
+ this.longitudeDeg_1 = longitudeDeg;
380
+ this.elevationM_1 = elevationM;
381
+ this.timeEpochMs_1 = timeEpochMs;
382
+ this.heartRate_1 = heartRate;
383
+ this.cadence_1 = cadence;
384
+ this.temperatureC_1 = temperatureC;
385
+ this.powerW_1 = powerW;
383
386
  }
384
387
  protoOf(GpxTrackPoint).toString = function () {
385
- return 'GpxTrackPoint(latitudeDeg=' + this.x1q_1 + ', longitudeDeg=' + this.y1q_1 + ', elevationM=' + this.z1q_1 + ', timeEpochMs=' + toString(this.a1r_1) + ', heartRate=' + this.b1r_1 + ', cadence=' + this.c1r_1 + ', temperatureC=' + this.d1r_1 + ', powerW=' + this.e1r_1 + ')';
388
+ return 'GpxTrackPoint(latitudeDeg=' + this.latitudeDeg_1 + ', longitudeDeg=' + this.longitudeDeg_1 + ', elevationM=' + this.elevationM_1 + ', timeEpochMs=' + toString(this.timeEpochMs_1) + ', heartRate=' + this.heartRate_1 + ', cadence=' + this.cadence_1 + ', temperatureC=' + this.temperatureC_1 + ', powerW=' + this.powerW_1 + ')';
386
389
  };
387
390
  protoOf(GpxTrackPoint).hashCode = function () {
388
- var result = getNumberHashCode(this.x1q_1);
389
- result = imul(result, 31) + getNumberHashCode(this.y1q_1) | 0;
390
- result = imul(result, 31) + (this.z1q_1 == null ? 0 : getNumberHashCode(this.z1q_1)) | 0;
391
- result = imul(result, 31) + (this.a1r_1 == null ? 0 : this.a1r_1.hashCode()) | 0;
392
- result = imul(result, 31) + (this.b1r_1 == null ? 0 : this.b1r_1) | 0;
393
- result = imul(result, 31) + (this.c1r_1 == null ? 0 : this.c1r_1) | 0;
394
- result = imul(result, 31) + (this.d1r_1 == null ? 0 : getNumberHashCode(this.d1r_1)) | 0;
395
- result = imul(result, 31) + (this.e1r_1 == null ? 0 : getNumberHashCode(this.e1r_1)) | 0;
391
+ var result = getNumberHashCode(this.latitudeDeg_1);
392
+ result = imul(result, 31) + getNumberHashCode(this.longitudeDeg_1) | 0;
393
+ result = imul(result, 31) + (this.elevationM_1 == null ? 0 : getNumberHashCode(this.elevationM_1)) | 0;
394
+ result = imul(result, 31) + (this.timeEpochMs_1 == null ? 0 : this.timeEpochMs_1.hashCode()) | 0;
395
+ result = imul(result, 31) + (this.heartRate_1 == null ? 0 : this.heartRate_1) | 0;
396
+ result = imul(result, 31) + (this.cadence_1 == null ? 0 : this.cadence_1) | 0;
397
+ result = imul(result, 31) + (this.temperatureC_1 == null ? 0 : getNumberHashCode(this.temperatureC_1)) | 0;
398
+ result = imul(result, 31) + (this.powerW_1 == null ? 0 : getNumberHashCode(this.powerW_1)) | 0;
396
399
  return result;
397
400
  };
398
401
  protoOf(GpxTrackPoint).equals = function (other) {
@@ -400,30 +403,30 @@
400
403
  return true;
401
404
  if (!(other instanceof GpxTrackPoint))
402
405
  return false;
403
- if (!equals(this.x1q_1, other.x1q_1))
406
+ if (!equals(this.latitudeDeg_1, other.latitudeDeg_1))
404
407
  return false;
405
- if (!equals(this.y1q_1, other.y1q_1))
408
+ if (!equals(this.longitudeDeg_1, other.longitudeDeg_1))
406
409
  return false;
407
- if (!equals(this.z1q_1, other.z1q_1))
410
+ if (!equals(this.elevationM_1, other.elevationM_1))
408
411
  return false;
409
- if (!equals(this.a1r_1, other.a1r_1))
412
+ if (!equals(this.timeEpochMs_1, other.timeEpochMs_1))
410
413
  return false;
411
- if (!(this.b1r_1 == other.b1r_1))
414
+ if (!(this.heartRate_1 == other.heartRate_1))
412
415
  return false;
413
- if (!(this.c1r_1 == other.c1r_1))
416
+ if (!(this.cadence_1 == other.cadence_1))
414
417
  return false;
415
- if (!equals(this.d1r_1, other.d1r_1))
418
+ if (!equals(this.temperatureC_1, other.temperatureC_1))
416
419
  return false;
417
- if (!equals(this.e1r_1, other.e1r_1))
420
+ if (!equals(this.powerW_1, other.powerW_1))
418
421
  return false;
419
422
  return true;
420
423
  };
421
424
  function GpxPathKind_TRACK_getInstance() {
422
- GpxPathKind_initEntries();
425
+ static_init();
423
426
  return GpxPathKind_TRACK_instance;
424
427
  }
425
428
  function GpxPathKind_ROUTE_getInstance() {
426
- GpxPathKind_initEntries();
429
+ static_init();
427
430
  return GpxPathKind_ROUTE_instance;
428
431
  }
429
432
  function toGpxDocument(_this__u8e3s4, name, trackName, startTime, powerSource) {
@@ -444,29 +447,29 @@
444
447
  // Inline function 'kotlin.collections.mapIndexedTo' call
445
448
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(paths, 10));
446
449
  var index = 0;
447
- var _iterator__ex2g4s = paths.i();
448
- while (_iterator__ex2g4s.j()) {
449
- var item = _iterator__ex2g4s.k();
450
+ var _iterator__ex2g4s = paths.iterator_jk1svi_k$();
451
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
452
+ var item = _iterator__ex2g4s.next_20eer_k$();
450
453
  var _unary__edvuaz = index;
451
454
  index = _unary__edvuaz + 1 | 0;
452
455
  var i = checkIndexOverflow(_unary__edvuaz);
453
456
  var tmp$ret$2 = toGpxTrack(item, trackNames == null ? null : getOrNull(trackNames, i), type, startTime, powerSource);
454
- destination.h(tmp$ret$2);
457
+ destination.add_utx5q5_k$(tmp$ret$2);
455
458
  }
456
459
  return new GpxDocument(name, destination, waypoints);
457
460
  }
458
- var GpxPowerSource_INPUT_instance;
459
- var GpxPowerSource_COMPUTED_instance;
460
- var GpxPowerSource_COMPUTED_OR_INPUT_instance;
461
- var GpxPowerSource_entriesInitialized;
462
- function GpxPowerSource_initEntries() {
463
- if (GpxPowerSource_entriesInitialized)
461
+ var static_init_called_0;
462
+ function static_init_0() {
463
+ if (static_init_called_0)
464
464
  return Unit_instance;
465
- GpxPowerSource_entriesInitialized = true;
465
+ static_init_called_0 = true;
466
466
  GpxPowerSource_INPUT_instance = new GpxPowerSource('INPUT', 0);
467
467
  GpxPowerSource_COMPUTED_instance = new GpxPowerSource('COMPUTED', 1);
468
468
  GpxPowerSource_COMPUTED_OR_INPUT_instance = new GpxPowerSource('COMPUTED_OR_INPUT', 2);
469
469
  }
470
+ var GpxPowerSource_INPUT_instance;
471
+ var GpxPowerSource_COMPUTED_instance;
472
+ var GpxPowerSource_COMPUTED_OR_INPUT_instance;
470
473
  function GpxPowerSource(name, ordinal) {
471
474
  Enum.call(this, name, ordinal);
472
475
  }
@@ -475,10 +478,10 @@
475
478
  type = type === VOID ? 'cycling' : type;
476
479
  startTime = startTime === VOID ? null : startTime;
477
480
  powerSource = powerSource === VOID ? GpxPowerSource_INPUT_getInstance() : powerSource;
478
- var startTimeMs = startTime == null ? null : startTime.ud();
481
+ var startTimeMs = startTime == null ? null : startTime.toEpochMilliseconds_82cfls_k$();
479
482
  // Inline function 'kotlin.collections.List' call
480
483
  // Inline function 'kotlin.collections.MutableList' call
481
- var size = _this__u8e3s4.f1r_1;
484
+ var size = _this__u8e3s4.size_1;
482
485
  var list = ArrayList_init_$Create$_0(size);
483
486
  // Inline function 'kotlin.repeat' call
484
487
  var inductionVariable = 0;
@@ -486,10 +489,10 @@
486
489
  do {
487
490
  var index = inductionVariable;
488
491
  inductionVariable = inductionVariable + 1 | 0;
489
- var tmp = _this__u8e3s4.h1r(index) * 57.29577951308232;
490
- var tmp_0 = _this__u8e3s4.i1r(index) * 57.29577951308232;
492
+ var tmp = _this__u8e3s4.latitude_gb4iok_k$(index) * 57.29577951308232;
493
+ var tmp_0 = _this__u8e3s4.longitude_a9xl_k$(index) * 57.29577951308232;
491
494
  // Inline function 'kotlin.takeUnless' call
492
- var this_0 = _this__u8e3s4.j1r(index);
495
+ var this_0 = _this__u8e3s4.elevation_iziwkb_k$(index);
493
496
  var tmp_1;
494
497
  if (!isNaN_0(this_0)) {
495
498
  tmp_1 = this_0;
@@ -498,13 +501,13 @@
498
501
  }
499
502
  var tmp_2 = tmp_1;
500
503
  var tmp_3;
501
- if (isNaN_0(_this__u8e3s4.k1r(index))) {
504
+ if (isNaN_0(_this__u8e3s4.time_ryc845_k$(index))) {
502
505
  tmp_3 = null;
503
506
  } else if (!(startTimeMs == null)) {
504
- tmp_3 = add(startTimeMs, roundToLong(_this__u8e3s4.k1r(index)));
507
+ tmp_3 = add(startTimeMs, roundToLong(_this__u8e3s4.time_ryc845_k$(index)));
505
508
  } else {
506
509
  // Inline function 'kotlin.takeIf' call
507
- var this_1 = numberToLong(_this__u8e3s4.k1r(index));
510
+ var this_1 = numberToLong(_this__u8e3s4.time_ryc845_k$(index));
508
511
  var tmp_4;
509
512
  if (compare(this_1, new Long(0, 0)) > 0) {
510
513
  tmp_4 = this_1;
@@ -515,7 +518,7 @@
515
518
  }
516
519
  var tmp_5 = tmp_3;
517
520
  // Inline function 'kotlin.takeUnless' call
518
- var this_2 = _this__u8e3s4.l1r(index);
521
+ var this_2 = _this__u8e3s4.heartRate_qiaqfm_k$(index);
519
522
  var tmp_6;
520
523
  if (!isNaN_0(this_2)) {
521
524
  tmp_6 = this_2;
@@ -525,7 +528,7 @@
525
528
  var tmp0_safe_receiver = tmp_6;
526
529
  var tmp_7 = tmp0_safe_receiver == null ? null : roundToInt(tmp0_safe_receiver);
527
530
  // Inline function 'kotlin.takeUnless' call
528
- var this_3 = _this__u8e3s4.m1r(index);
531
+ var this_3 = _this__u8e3s4.cadence_h3r7af_k$(index);
529
532
  var tmp_8;
530
533
  if (!isNaN_0(this_3)) {
531
534
  tmp_8 = this_3;
@@ -535,7 +538,7 @@
535
538
  var tmp1_safe_receiver = tmp_8;
536
539
  var tmp_9 = tmp1_safe_receiver == null ? null : roundToInt(tmp1_safe_receiver);
537
540
  // Inline function 'kotlin.takeUnless' call
538
- var this_4 = _this__u8e3s4.n1r(index);
541
+ var this_4 = _this__u8e3s4.temperature_6yw0ik_k$(index);
539
542
  var tmp_10;
540
543
  if (!isNaN_0(this_4)) {
541
544
  tmp_10 = this_4;
@@ -544,15 +547,15 @@
544
547
  }
545
548
  var tmp$ret$13 = tmp_10;
546
549
  var tmp$ret$4 = new GpxTrackPoint(tmp, tmp_0, tmp_2, tmp_5, tmp_7, tmp_9, tmp$ret$13, powerAt(_this__u8e3s4, index, powerSource));
547
- list.h(tmp$ret$4);
550
+ list.add_utx5q5_k$(tmp$ret$4);
548
551
  }
549
552
  while (inductionVariable < size);
550
553
  var points = list;
551
- return Companion_instance.p1q(name, type, points);
554
+ return Companion_instance_0.invoke$default_3oy1b8_k$(name, type, points);
552
555
  }
553
556
  function powerAt(_this__u8e3s4, i, source) {
554
557
  // Inline function 'kotlin.takeUnless' call
555
- var this_0 = _this__u8e3s4.o1r(i);
558
+ var this_0 = _this__u8e3s4.pInputPower_ybhudp_k$(i);
556
559
  var tmp;
557
560
  if (!isNaN_0(this_0)) {
558
561
  tmp = this_0;
@@ -561,7 +564,7 @@
561
564
  }
562
565
  var input = tmp;
563
566
  // Inline function 'kotlin.takeUnless' call
564
- var this_1 = _this__u8e3s4.p1r(i);
567
+ var this_1 = _this__u8e3s4.pComputedPower_g6dnn4_k$(i);
565
568
  var tmp_0;
566
569
  if (!(isNaN_0(this_1) || this_1 === 0.0)) {
567
570
  tmp_0 = this_1;
@@ -570,7 +573,7 @@
570
573
  }
571
574
  var computed = tmp_0;
572
575
  var tmp_1;
573
- switch (source.o1_1) {
576
+ switch (source.ordinal_1) {
574
577
  case 0:
575
578
  tmp_1 = input;
576
579
  break;
@@ -587,13 +590,13 @@
587
590
  return tmp_1;
588
591
  }
589
592
  function GpxPowerSource_INPUT_getInstance() {
590
- GpxPowerSource_initEntries();
593
+ static_init_0();
591
594
  return GpxPowerSource_INPUT_instance;
592
595
  }
593
596
  function parseOnce($this, xml) {
594
597
  var tmp;
595
598
  try {
596
- tmp = get_xmlStreaming().f19(xml);
599
+ tmp = get_xmlStreaming().newReader$default_35lqwr_k$(xml);
597
600
  } catch ($p) {
598
601
  var tmp_0;
599
602
  if ($p instanceof IllegalArgumentException) {
@@ -627,16 +630,16 @@
627
630
  }
628
631
  }
629
632
  finally {
630
- reader.n18();
633
+ reader.close_yn9xrc_k$();
631
634
  }
632
635
  return tmp_1;
633
636
  }
634
637
  function parseDocument($this, reader) {
635
- while (reader.j()) {
636
- var ev = reader.k();
638
+ while (reader.hasNext_bitz1p_k$()) {
639
+ var ev = reader.next_20eer_k$();
637
640
  if (ev.equals(EventType_START_ELEMENT_getInstance())) {
638
- if (!(reader.a18() === 'gpx')) {
639
- throw IllegalArgumentException_init_$Create$_0('Invalid GPX file: missing gpx root element (found ' + reader.a18() + ')');
641
+ if (!(reader.get_localName_bf4zrn_k$() === 'gpx')) {
642
+ throw IllegalArgumentException_init_$Create$_0('Invalid GPX file: missing gpx root element (found ' + reader.get_localName_bf4zrn_k$() + ')');
640
643
  }
641
644
  return parseGpxRoot($this, reader);
642
645
  }
@@ -649,24 +652,24 @@
649
652
  var tracks = ArrayList_init_$Create$();
650
653
  // Inline function 'kotlin.collections.mutableListOf' call
651
654
  var waypoints = ArrayList_init_$Create$();
652
- while (reader.j()) {
653
- var ev = reader.k();
654
- switch (ev.o1_1) {
655
+ while (reader.hasNext_bitz1p_k$()) {
656
+ var ev = reader.next_20eer_k$();
657
+ switch (ev.ordinal_1) {
655
658
  case 1:
656
- switch (reader.a18()) {
659
+ switch (reader.get_localName_bf4zrn_k$()) {
657
660
  case 'metadata':
658
661
  var metaName = parseMetadataName($this, reader);
659
662
  if (!(metaName == null))
660
663
  name = metaName;
661
664
  break;
662
665
  case 'trk':
663
- tracks.h(parseTrack($this, reader));
666
+ tracks.add_utx5q5_k$(parseTrack($this, reader));
664
667
  break;
665
668
  case 'rte':
666
- tracks.h(parseRoute($this, reader));
669
+ tracks.add_utx5q5_k$(parseRoute($this, reader));
667
670
  break;
668
671
  case 'wpt':
669
- waypoints.h(parseWaypoint($this, reader));
672
+ waypoints.add_utx5q5_k$(parseWaypoint($this, reader));
670
673
  break;
671
674
  default:
672
675
  skipElement($this, reader);
@@ -684,11 +687,11 @@
684
687
  }
685
688
  function parseMetadataName($this, reader) {
686
689
  var name = null;
687
- while (reader.j()) {
688
- var ev = reader.k();
689
- switch (ev.o1_1) {
690
+ while (reader.hasNext_bitz1p_k$()) {
691
+ var ev = reader.next_20eer_k$();
692
+ switch (ev.ordinal_1) {
690
693
  case 1:
691
- if (reader.a18() === 'name' && name == null) {
694
+ if (reader.get_localName_bf4zrn_k$() === 'name' && name == null) {
692
695
  // Inline function 'kotlin.text.trim' call
693
696
  var this_0 = readElementText($this, reader);
694
697
  // Inline function 'kotlin.text.ifEmpty' call
@@ -719,11 +722,11 @@
719
722
  var type = null;
720
723
  // Inline function 'kotlin.collections.mutableListOf' call
721
724
  var segments = ArrayList_init_$Create$();
722
- while (reader.j()) {
723
- var ev = reader.k();
724
- switch (ev.o1_1) {
725
+ while (reader.hasNext_bitz1p_k$()) {
726
+ var ev = reader.next_20eer_k$();
727
+ switch (ev.ordinal_1) {
725
728
  case 1:
726
- switch (reader.a18()) {
729
+ switch (reader.get_localName_bf4zrn_k$()) {
727
730
  case 'name':
728
731
  // Inline function 'kotlin.text.trim' call
729
732
 
@@ -761,7 +764,7 @@
761
764
  type = tmp_0;
762
765
  break;
763
766
  case 'trkseg':
764
- segments.h(parseTrackSegment($this, reader));
767
+ segments.add_utx5q5_k$(parseTrackSegment($this, reader));
765
768
  break;
766
769
  default:
767
770
  skipElement($this, reader);
@@ -782,11 +785,11 @@
782
785
  var type = null;
783
786
  // Inline function 'kotlin.collections.mutableListOf' call
784
787
  var points = ArrayList_init_$Create$();
785
- while (reader.j()) {
786
- var ev = reader.k();
787
- switch (ev.o1_1) {
788
+ while (reader.hasNext_bitz1p_k$()) {
789
+ var ev = reader.next_20eer_k$();
790
+ switch (ev.ordinal_1) {
788
791
  case 1:
789
- switch (reader.a18()) {
792
+ switch (reader.get_localName_bf4zrn_k$()) {
790
793
  case 'name':
791
794
  // Inline function 'kotlin.text.trim' call
792
795
 
@@ -824,7 +827,7 @@
824
827
  type = tmp_0;
825
828
  break;
826
829
  case 'rtept':
827
- points.h(parseTrackPoint($this, reader));
830
+ points.add_utx5q5_k$(parseTrackPoint($this, reader));
828
831
  break;
829
832
  default:
830
833
  skipElement($this, reader);
@@ -843,12 +846,12 @@
843
846
  function parseTrackSegment($this, reader) {
844
847
  // Inline function 'kotlin.collections.mutableListOf' call
845
848
  var points = ArrayList_init_$Create$();
846
- while (reader.j()) {
847
- var ev = reader.k();
848
- switch (ev.o1_1) {
849
+ while (reader.hasNext_bitz1p_k$()) {
850
+ var ev = reader.next_20eer_k$();
851
+ switch (ev.ordinal_1) {
849
852
  case 1:
850
- if (reader.a18() === 'trkpt') {
851
- points.h(parseTrackPoint($this, reader));
853
+ if (reader.get_localName_bf4zrn_k$() === 'trkpt') {
854
+ points.add_utx5q5_k$(parseTrackPoint($this, reader));
852
855
  } else {
853
856
  skipElement($this, reader);
854
857
  }
@@ -863,8 +866,8 @@
863
866
  return new GpxSegment(points);
864
867
  }
865
868
  function parseTrackPoint($this, reader) {
866
- var latStr = reader.l18(null, 'lat');
867
- var lonStr = reader.l18(null, 'lon');
869
+ var latStr = reader.getAttributeValue_8yb7e2_k$(null, 'lat');
870
+ var lonStr = reader.getAttributeValue_8yb7e2_k$(null, 'lon');
868
871
  var tmp;
869
872
  // Inline function 'kotlin.text.isNullOrBlank' call
870
873
  if (latStr == null || isBlank(latStr)) {
@@ -895,11 +898,11 @@
895
898
  var elevation = null;
896
899
  var timeMs = null;
897
900
  var ext = new ExtensionsAccumulator();
898
- while (reader.j()) {
899
- var ev = reader.k();
900
- switch (ev.o1_1) {
901
+ while (reader.hasNext_bitz1p_k$()) {
902
+ var ev = reader.next_20eer_k$();
903
+ switch (ev.ordinal_1) {
901
904
  case 1:
902
- switch (reader.a18()) {
905
+ switch (reader.get_localName_bf4zrn_k$()) {
903
906
  case 'ele':
904
907
  // Inline function 'kotlin.text.trim' call
905
908
 
@@ -933,16 +936,16 @@
933
936
 
934
937
  break;
935
938
  case 2:
936
- return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.q1r_1, ext.r1r_1, ext.s1r_1, ext.t1r_1);
939
+ return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.heartRate_1, ext.cadence_1, ext.temperatureC_1, ext.powerW_1);
937
940
  default:
938
941
  break;
939
942
  }
940
943
  }
941
- return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.q1r_1, ext.r1r_1, ext.s1r_1, ext.t1r_1);
944
+ return new GpxTrackPoint(lat, lon, elevation, timeMs, ext.heartRate_1, ext.cadence_1, ext.temperatureC_1, ext.powerW_1);
942
945
  }
943
946
  function parseWaypoint($this, reader) {
944
- var latStr = reader.l18(null, 'lat');
945
- var lonStr = reader.l18(null, 'lon');
947
+ var latStr = reader.getAttributeValue_8yb7e2_k$(null, 'lat');
948
+ var lonStr = reader.getAttributeValue_8yb7e2_k$(null, 'lon');
946
949
  var tmp;
947
950
  // Inline function 'kotlin.text.isNullOrBlank' call
948
951
  if (latStr == null || isBlank(latStr)) {
@@ -976,11 +979,11 @@
976
979
  var description = null;
977
980
  var symbol = null;
978
981
  var type = null;
979
- while (reader.j()) {
980
- var ev = reader.k();
981
- switch (ev.o1_1) {
982
+ while (reader.hasNext_bitz1p_k$()) {
983
+ var ev = reader.next_20eer_k$();
984
+ switch (ev.ordinal_1) {
982
985
  case 1:
983
- switch (reader.a18()) {
986
+ switch (reader.get_localName_bf4zrn_k$()) {
984
987
  case 'ele':
985
988
  // Inline function 'kotlin.text.trim' call
986
989
 
@@ -1091,11 +1094,11 @@
1091
1094
  return new GpxWaypoint(lat, lon, elevation, name, description, symbol, type, timeMs);
1092
1095
  }
1093
1096
  function parseExtensions($this, reader, ext) {
1094
- while (reader.j()) {
1095
- var ev = reader.k();
1096
- switch (ev.o1_1) {
1097
+ while (reader.hasNext_bitz1p_k$()) {
1098
+ var ev = reader.next_20eer_k$();
1099
+ switch (ev.ordinal_1) {
1097
1100
  case 1:
1098
- var ln = reader.a18();
1101
+ var ln = reader.get_localName_bf4zrn_k$();
1099
1102
  // Inline function 'kotlin.text.lowercase' call
1100
1103
 
1101
1104
  // Inline function 'kotlin.js.asDynamic' call
@@ -1108,8 +1111,8 @@
1108
1111
  else {
1109
1112
  // Inline function 'kotlin.let' call
1110
1113
  var tmp = ext;
1111
- var tmp0_elvis_lhs = ext.t1r_1;
1112
- tmp.t1r_1 = tmp0_elvis_lhs == null ? tmp2_safe_receiver : tmp0_elvis_lhs;
1114
+ var tmp0_elvis_lhs = ext.powerW_1;
1115
+ tmp.powerW_1 = tmp0_elvis_lhs == null ? tmp2_safe_receiver : tmp0_elvis_lhs;
1113
1116
  }
1114
1117
 
1115
1118
  break;
@@ -1120,8 +1123,8 @@
1120
1123
  null;
1121
1124
  else {
1122
1125
  // Inline function 'kotlin.let' call
1123
- if (ext.q1r_1 == null)
1124
- ext.q1r_1 = numberToInt(tmp3_safe_receiver);
1126
+ if (ext.heartRate_1 == null)
1127
+ ext.heartRate_1 = numberToInt(tmp3_safe_receiver);
1125
1128
  }
1126
1129
 
1127
1130
  break;
@@ -1132,8 +1135,8 @@
1132
1135
  null;
1133
1136
  else {
1134
1137
  // Inline function 'kotlin.let' call
1135
- if (ext.r1r_1 == null)
1136
- ext.r1r_1 = numberToInt(tmp4_safe_receiver);
1138
+ if (ext.cadence_1 == null)
1139
+ ext.cadence_1 = numberToInt(tmp4_safe_receiver);
1137
1140
  }
1138
1141
 
1139
1142
  break;
@@ -1146,8 +1149,8 @@
1146
1149
  else {
1147
1150
  // Inline function 'kotlin.let' call
1148
1151
  var tmp_0 = ext;
1149
- var tmp0_elvis_lhs_0 = ext.s1r_1;
1150
- tmp_0.s1r_1 = tmp0_elvis_lhs_0 == null ? tmp5_safe_receiver : tmp0_elvis_lhs_0;
1152
+ var tmp0_elvis_lhs_0 = ext.temperatureC_1;
1153
+ tmp_0.temperatureC_1 = tmp0_elvis_lhs_0 == null ? tmp5_safe_receiver : tmp0_elvis_lhs_0;
1151
1154
  }
1152
1155
 
1153
1156
  break;
@@ -1166,14 +1169,14 @@
1166
1169
  }
1167
1170
  function readElementText($this, reader) {
1168
1171
  var sb = StringBuilder_init_$Create$();
1169
- while (reader.j()) {
1170
- var ev = reader.k();
1171
- switch (ev.o1_1) {
1172
+ while (reader.hasNext_bitz1p_k$()) {
1173
+ var ev = reader.next_20eer_k$();
1174
+ switch (ev.ordinal_1) {
1172
1175
  case 4:
1173
1176
  case 5:
1174
1177
  case 9:
1175
1178
  case 8:
1176
- sb.v5(reader.f18());
1179
+ sb.append_22ad7x_k$(reader.get_text_wouvsm_k$());
1177
1180
  break;
1178
1181
  case 1:
1179
1182
  skipElement($this, reader);
@@ -1194,8 +1197,8 @@
1194
1197
  }
1195
1198
  function skipElement($this, reader) {
1196
1199
  var depth = 1;
1197
- while (reader.j() && depth > 0) {
1198
- switch (reader.k().o1_1) {
1200
+ while (reader.hasNext_bitz1p_k$() && depth > 0) {
1201
+ switch (reader.next_20eer_k$().ordinal_1) {
1199
1202
  case 1:
1200
1203
  depth = depth + 1 | 0;
1201
1204
  break;
@@ -1210,7 +1213,7 @@
1210
1213
  function parseTimeIsoToMs($this, text) {
1211
1214
  var tmp;
1212
1215
  try {
1213
- tmp = Companion_getInstance().qd(text).ud();
1216
+ tmp = Companion_getInstance().parse_xovy9i_k$(text).toEpochMilliseconds_82cfls_k$();
1214
1217
  } catch ($p) {
1215
1218
  var tmp_0;
1216
1219
  if ($p instanceof IllegalArgumentException) {
@@ -1233,14 +1236,14 @@
1233
1236
  cadence = cadence === VOID ? null : cadence;
1234
1237
  temperatureC = temperatureC === VOID ? null : temperatureC;
1235
1238
  powerW = powerW === VOID ? null : powerW;
1236
- this.q1r_1 = heartRate;
1237
- this.r1r_1 = cadence;
1238
- this.s1r_1 = temperatureC;
1239
- this.t1r_1 = powerW;
1239
+ this.heartRate_1 = heartRate;
1240
+ this.cadence_1 = cadence;
1241
+ this.temperatureC_1 = temperatureC;
1242
+ this.powerW_1 = powerW;
1240
1243
  }
1241
1244
  function GpxParser() {
1242
1245
  }
1243
- protoOf(GpxParser).u1r = function (xml, repairOnFailure) {
1246
+ protoOf(GpxParser).parse_q3819e_k$ = function (xml, repairOnFailure) {
1244
1247
  var tmp;
1245
1248
  try {
1246
1249
  tmp = parseOnce(this, xml);
@@ -1250,7 +1253,7 @@
1250
1253
  var firstFailure = $p;
1251
1254
  if (!repairOnFailure)
1252
1255
  throw firstFailure;
1253
- var repaired = GpxXmlRepair_getInstance().x1r(xml);
1256
+ var repaired = GpxXmlRepair_getInstance().repair_iwt4xf_k$(xml);
1254
1257
  var tmp_1;
1255
1258
  try {
1256
1259
  tmp_1 = parseOnce(this, repaired);
@@ -1271,9 +1274,9 @@
1271
1274
  }
1272
1275
  return tmp;
1273
1276
  };
1274
- protoOf(GpxParser).y1r = function (xml, repairOnFailure, $super) {
1277
+ protoOf(GpxParser).parse$default_ez0f31_k$ = function (xml, repairOnFailure, $super) {
1275
1278
  repairOnFailure = repairOnFailure === VOID ? true : repairOnFailure;
1276
- return $super === VOID ? this.u1r(xml, repairOnFailure) : $super.u1r.call(this, xml, repairOnFailure);
1279
+ return $super === VOID ? this.parse_q3819e_k$(xml, repairOnFailure) : $super.parse_q3819e_k$.call(this, xml, repairOnFailure);
1277
1280
  };
1278
1281
  var GpxParser_instance;
1279
1282
  function GpxParser_getInstance() {
@@ -1286,7 +1289,7 @@
1286
1289
  var ALL_KINDS;
1287
1290
  function firstTrackAsPath(_this__u8e3s4) {
1288
1291
  _init_properties_GpxToPath_kt__pb67h9();
1289
- var tmp0_elvis_lhs = firstOrNull(_this__u8e3s4.m1q_1);
1292
+ var tmp0_elvis_lhs = firstOrNull(_this__u8e3s4.tracks_1);
1290
1293
  var tmp;
1291
1294
  if (tmp0_elvis_lhs == null) {
1292
1295
  // Inline function 'kotlin.error' call
@@ -1302,31 +1305,31 @@
1302
1305
  kinds = kinds === VOID ? get_ALL_KINDS() : kinds;
1303
1306
  _init_properties_GpxToPath_kt__pb67h9();
1304
1307
  // Inline function 'kotlin.collections.filter' call
1305
- var tmp0 = _this__u8e3s4.m1q_1;
1308
+ var tmp0 = _this__u8e3s4.tracks_1;
1306
1309
  // Inline function 'kotlin.collections.filterTo' call
1307
1310
  var destination = ArrayList_init_$Create$();
1308
- var _iterator__ex2g4s = tmp0.i();
1309
- while (_iterator__ex2g4s.j()) {
1310
- var element = _iterator__ex2g4s.k();
1311
+ var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1312
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1313
+ var element = _iterator__ex2g4s.next_20eer_k$();
1311
1314
  var tmp;
1312
- if (kinds.e1(element.t1q_1)) {
1315
+ if (kinds.contains_aljjnj_k$(element.kind_1)) {
1313
1316
  // Inline function 'kotlin.collections.isNotEmpty' call
1314
- tmp = !element.w1q().n();
1317
+ tmp = !element.get_points_i5obn0_k$().isEmpty_y1axqb_k$();
1315
1318
  } else {
1316
1319
  tmp = false;
1317
1320
  }
1318
1321
  if (tmp) {
1319
- destination.h(element);
1322
+ destination.add_utx5q5_k$(element);
1320
1323
  }
1321
1324
  }
1322
1325
  // Inline function 'kotlin.collections.map' call
1323
1326
  // Inline function 'kotlin.collections.mapTo' call
1324
1327
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
1325
- var _iterator__ex2g4s_0 = destination.i();
1326
- while (_iterator__ex2g4s_0.j()) {
1327
- var item = _iterator__ex2g4s_0.k();
1328
+ var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
1329
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
1330
+ var item = _iterator__ex2g4s_0.next_20eer_k$();
1328
1331
  var tmp$ret$6 = toPath(item);
1329
- destination_0.h(tmp$ret$6);
1332
+ destination_0.add_utx5q5_k$(tmp$ret$6);
1330
1333
  }
1331
1334
  return destination_0;
1332
1335
  }
@@ -1334,82 +1337,82 @@
1334
1337
  kinds = kinds === VOID ? get_ALL_KINDS() : kinds;
1335
1338
  _init_properties_GpxToPath_kt__pb67h9();
1336
1339
  // Inline function 'kotlin.collections.filter' call
1337
- var tmp0 = _this__u8e3s4.m1q_1;
1340
+ var tmp0 = _this__u8e3s4.tracks_1;
1338
1341
  // Inline function 'kotlin.collections.filterTo' call
1339
1342
  var destination = ArrayList_init_$Create$();
1340
- var _iterator__ex2g4s = tmp0.i();
1341
- while (_iterator__ex2g4s.j()) {
1342
- var element = _iterator__ex2g4s.k();
1343
- if (kinds.e1(element.t1q_1)) {
1344
- destination.h(element);
1343
+ var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1344
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1345
+ var element = _iterator__ex2g4s.next_20eer_k$();
1346
+ if (kinds.contains_aljjnj_k$(element.kind_1)) {
1347
+ destination.add_utx5q5_k$(element);
1345
1348
  }
1346
1349
  }
1347
1350
  // Inline function 'kotlin.collections.flatMap' call
1348
1351
  // Inline function 'kotlin.collections.flatMapTo' call
1349
1352
  var destination_0 = ArrayList_init_$Create$();
1350
- var _iterator__ex2g4s_0 = destination.i();
1351
- while (_iterator__ex2g4s_0.j()) {
1352
- var element_0 = _iterator__ex2g4s_0.k();
1353
- var list = element_0.s1q_1;
1353
+ var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
1354
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
1355
+ var element_0 = _iterator__ex2g4s_0.next_20eer_k$();
1356
+ var list = element_0.segments_1;
1354
1357
  addAll(destination_0, list);
1355
1358
  }
1356
1359
  // Inline function 'kotlin.collections.filter' call
1357
1360
  // Inline function 'kotlin.collections.filterTo' call
1358
1361
  var destination_1 = ArrayList_init_$Create$();
1359
- var _iterator__ex2g4s_1 = destination_0.i();
1360
- while (_iterator__ex2g4s_1.j()) {
1361
- var element_1 = _iterator__ex2g4s_1.k();
1362
+ var _iterator__ex2g4s_1 = destination_0.iterator_jk1svi_k$();
1363
+ while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
1364
+ var element_1 = _iterator__ex2g4s_1.next_20eer_k$();
1362
1365
  // Inline function 'kotlin.collections.isNotEmpty' call
1363
- if (!element_1.v1q_1.n()) {
1364
- destination_1.h(element_1);
1366
+ if (!element_1.points_1.isEmpty_y1axqb_k$()) {
1367
+ destination_1.add_utx5q5_k$(element_1);
1365
1368
  }
1366
1369
  }
1367
1370
  // Inline function 'kotlin.collections.map' call
1368
1371
  // Inline function 'kotlin.collections.mapTo' call
1369
1372
  var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_1, 10));
1370
- var _iterator__ex2g4s_2 = destination_1.i();
1371
- while (_iterator__ex2g4s_2.j()) {
1372
- var item = _iterator__ex2g4s_2.k();
1373
+ var _iterator__ex2g4s_2 = destination_1.iterator_jk1svi_k$();
1374
+ while (_iterator__ex2g4s_2.hasNext_bitz1p_k$()) {
1375
+ var item = _iterator__ex2g4s_2.next_20eer_k$();
1373
1376
  var tmp$ret$12 = toPath_0(item);
1374
- destination_2.h(tmp$ret$12);
1377
+ destination_2.add_utx5q5_k$(tmp$ret$12);
1375
1378
  }
1376
1379
  return destination_2;
1377
1380
  }
1378
1381
  function toPath(_this__u8e3s4) {
1379
1382
  _init_properties_GpxToPath_kt__pb67h9();
1380
- return pointsToPath(_this__u8e3s4.w1q());
1383
+ return pointsToPath(_this__u8e3s4.get_points_i5obn0_k$());
1381
1384
  }
1382
1385
  function toPath_0(_this__u8e3s4) {
1383
1386
  _init_properties_GpxToPath_kt__pb67h9();
1384
- return pointsToPath(_this__u8e3s4.v1q_1);
1387
+ return pointsToPath(_this__u8e3s4.points_1);
1385
1388
  }
1386
1389
  function pointsToPath(points) {
1387
1390
  _init_properties_GpxToPath_kt__pb67h9();
1388
- var path = new Path(points.l());
1389
- var iterator = points.i();
1391
+ var path = new Path(points.get_size_woubt6_k$());
1392
+ var iterator = points.iterator_jk1svi_k$();
1390
1393
  var index = 0;
1391
- while (iterator.j()) {
1394
+ while (iterator.hasNext_bitz1p_k$()) {
1392
1395
  var i = index;
1393
1396
  index = index + 1 | 0;
1394
- var p = iterator.k();
1395
- path.z1r(i, p.x1q_1 * 0.017453292519943295);
1396
- path.a1s(i, p.y1q_1 * 0.017453292519943295);
1397
- var tmp0_elvis_lhs = p.z1q_1;
1398
- path.b1s(i, tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs);
1399
- var tmp1_elvis_lhs = p.a1r_1;
1400
- path.c1s(i, toNumber(tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs));
1401
- var tmp2_elvis_lhs = p.e1r_1;
1402
- path.d1s(i, tmp2_elvis_lhs == null ? NaN : tmp2_elvis_lhs);
1403
- var tmp3_safe_receiver = p.b1r_1;
1397
+ var p = iterator.next_20eer_k$();
1398
+ path.setLatitude_skkzf0_k$(i, p.latitudeDeg_1 * 0.017453292519943295);
1399
+ path.setLongitude_k0bc8l_k$(i, p.longitudeDeg_1 * 0.017453292519943295);
1400
+ var tmp0_elvis_lhs = p.elevationM_1;
1401
+ path.setElevation_pv2zuv_k$(i, tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs);
1402
+ var tmp1_elvis_lhs = p.timeEpochMs_1;
1403
+ path.setTime_rfmvcd_k$(i, toNumber(tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs));
1404
+ var tmp2_elvis_lhs = p.powerW_1;
1405
+ path.setPInputPower_i1beh_k$(i, tmp2_elvis_lhs == null ? NaN : tmp2_elvis_lhs);
1406
+ var tmp3_safe_receiver = p.heartRate_1;
1404
1407
  var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver;
1405
- path.e1s(i, tmp4_elvis_lhs == null ? NaN : tmp4_elvis_lhs);
1406
- var tmp5_safe_receiver = p.c1r_1;
1408
+ path.setHeartRate_3mzzq6_k$(i, tmp4_elvis_lhs == null ? NaN : tmp4_elvis_lhs);
1409
+ var tmp5_safe_receiver = p.cadence_1;
1407
1410
  var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : tmp5_safe_receiver;
1408
- path.f1s(i, tmp6_elvis_lhs == null ? NaN : tmp6_elvis_lhs);
1409
- var tmp7_elvis_lhs = p.d1r_1;
1410
- path.g1s(i, tmp7_elvis_lhs == null ? NaN : tmp7_elvis_lhs);
1411
+ path.setCadence_ick7df_k$(i, tmp6_elvis_lhs == null ? NaN : tmp6_elvis_lhs);
1412
+ var tmp7_elvis_lhs = p.temperatureC_1;
1413
+ path.setTemperature_nno5xs_k$(i, tmp7_elvis_lhs == null ? NaN : tmp7_elvis_lhs);
1411
1414
  }
1412
- path.q1s();
1415
+ path.computeDerivedData_uoxpeo_k$();
1413
1416
  return path;
1414
1417
  }
1415
1418
  var properties_initialized_GpxToPath_kt_83hcm9;
@@ -1420,30 +1423,30 @@
1420
1423
  }
1421
1424
  }
1422
1425
  function writeDocument($this, w, document, writeExtensions) {
1423
- w.f1a('', 'http://www.topografix.com/GPX/1/1');
1424
- w.f1a('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1426
+ w.setPrefix_e36xz8_k$('', 'http://www.topografix.com/GPX/1/1');
1427
+ w.setPrefix_e36xz8_k$('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1425
1428
  if (writeExtensions) {
1426
- w.f1a('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1429
+ w.setPrefix_e36xz8_k$('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1427
1430
  }
1428
- w.h1a('http://www.topografix.com/GPX/1/1', 'gpx', '');
1429
- w.j1a(null, 'version', null, '1.1');
1430
- w.j1a(null, 'creator', null, '@glandais/vcyclist');
1431
- w.g1a('', 'http://www.topografix.com/GPX/1/1');
1432
- w.g1a('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1431
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', 'gpx', '');
1432
+ w.attribute_ruzjv8_k$(null, 'version', null, '1.1');
1433
+ w.attribute_ruzjv8_k$(null, 'creator', null, '@glandais/vcyclist');
1434
+ w.namespaceAttr_vkifxg_k$('', 'http://www.topografix.com/GPX/1/1');
1435
+ w.namespaceAttr_vkifxg_k$('xsi', 'http://www.w3.org/2001/XMLSchema-instance');
1433
1436
  if (writeExtensions) {
1434
- w.g1a('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1437
+ w.namespaceAttr_vkifxg_k$('gpxtpx', 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1');
1435
1438
  }
1436
- w.j1a('http://www.w3.org/2001/XMLSchema-instance', 'schemaLocation', 'xsi', 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd');
1437
- writeMetadata($this, w, document.l1q_1);
1438
- var _iterator__ex2g4s = document.n1q_1.i();
1439
- while (_iterator__ex2g4s.j()) {
1440
- var waypoint = _iterator__ex2g4s.k();
1439
+ w.attribute_ruzjv8_k$('http://www.w3.org/2001/XMLSchema-instance', 'schemaLocation', 'xsi', 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd');
1440
+ writeMetadata($this, w, document.name_1);
1441
+ var _iterator__ex2g4s = document.waypoints_1.iterator_jk1svi_k$();
1442
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1443
+ var waypoint = _iterator__ex2g4s.next_20eer_k$();
1441
1444
  writeWaypoint($this, w, waypoint);
1442
1445
  }
1443
- var _iterator__ex2g4s_0 = document.m1q_1.i();
1444
- while (_iterator__ex2g4s_0.j()) {
1445
- var track = _iterator__ex2g4s_0.k();
1446
- switch (track.t1q_1.o1_1) {
1446
+ var _iterator__ex2g4s_0 = document.tracks_1.iterator_jk1svi_k$();
1447
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
1448
+ var track = _iterator__ex2g4s_0.next_20eer_k$();
1449
+ switch (track.kind_1.ordinal_1) {
1447
1450
  case 1:
1448
1451
  writeRoute($this, w, track, writeExtensions);
1449
1452
  break;
@@ -1455,208 +1458,208 @@
1455
1458
  break;
1456
1459
  }
1457
1460
  }
1458
- w.m1a('http://www.topografix.com/GPX/1/1', 'gpx', '');
1461
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', 'gpx', '');
1459
1462
  }
1460
1463
  function writeWaypoint($this, w, waypoint) {
1461
- w.h1a('http://www.topografix.com/GPX/1/1', 'wpt', '');
1462
- w.j1a(null, 'lat', null, waypoint.d1q_1.toString());
1463
- w.j1a(null, 'lon', null, waypoint.e1q_1.toString());
1464
- var tmp0_safe_receiver = waypoint.f1q_1;
1464
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', 'wpt', '');
1465
+ w.attribute_ruzjv8_k$(null, 'lat', null, waypoint.latitudeDeg_1.toString());
1466
+ w.attribute_ruzjv8_k$(null, 'lon', null, waypoint.longitudeDeg_1.toString());
1467
+ var tmp0_safe_receiver = waypoint.elevationM_1;
1465
1468
  if (tmp0_safe_receiver == null)
1466
1469
  null;
1467
1470
  else {
1468
1471
  // Inline function 'kotlin.let' call
1469
1472
  writeSimpleText(GpxWriter_instance, w, 'ele', tmp0_safe_receiver.toString());
1470
1473
  }
1471
- var tmp1_safe_receiver = waypoint.k1q_1;
1474
+ var tmp1_safe_receiver = waypoint.timeEpochMs_1;
1472
1475
  if (tmp1_safe_receiver == null)
1473
1476
  null;
1474
1477
  else {
1475
1478
  // Inline function 'kotlin.let' call
1476
- writeSimpleText(GpxWriter_instance, w, 'time', Companion_getInstance().nd(tmp1_safe_receiver).toString());
1479
+ writeSimpleText(GpxWriter_instance, w, 'time', Companion_getInstance().fromEpochMilliseconds_uaz65_k$(tmp1_safe_receiver).toString());
1477
1480
  }
1478
- var tmp2_safe_receiver = waypoint.g1q_1;
1481
+ var tmp2_safe_receiver = waypoint.name_1;
1479
1482
  if (tmp2_safe_receiver == null)
1480
1483
  null;
1481
1484
  else {
1482
1485
  // Inline function 'kotlin.let' call
1483
1486
  writeSimpleText(GpxWriter_instance, w, 'name', tmp2_safe_receiver);
1484
1487
  }
1485
- var tmp3_safe_receiver = waypoint.h1q_1;
1488
+ var tmp3_safe_receiver = waypoint.description_1;
1486
1489
  if (tmp3_safe_receiver == null)
1487
1490
  null;
1488
1491
  else {
1489
1492
  // Inline function 'kotlin.let' call
1490
1493
  writeSimpleText(GpxWriter_instance, w, 'desc', tmp3_safe_receiver);
1491
1494
  }
1492
- var tmp4_safe_receiver = waypoint.i1q_1;
1495
+ var tmp4_safe_receiver = waypoint.symbol_1;
1493
1496
  if (tmp4_safe_receiver == null)
1494
1497
  null;
1495
1498
  else {
1496
1499
  // Inline function 'kotlin.let' call
1497
1500
  writeSimpleText(GpxWriter_instance, w, 'sym', tmp4_safe_receiver);
1498
1501
  }
1499
- var tmp5_safe_receiver = waypoint.j1q_1;
1502
+ var tmp5_safe_receiver = waypoint.type_1;
1500
1503
  if (tmp5_safe_receiver == null)
1501
1504
  null;
1502
1505
  else {
1503
1506
  // Inline function 'kotlin.let' call
1504
1507
  writeSimpleText(GpxWriter_instance, w, 'type', tmp5_safe_receiver);
1505
1508
  }
1506
- w.m1a('http://www.topografix.com/GPX/1/1', 'wpt', '');
1509
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', 'wpt', '');
1507
1510
  }
1508
1511
  function writeMetadata($this, w, name) {
1509
- w.h1a('http://www.topografix.com/GPX/1/1', 'metadata', '');
1512
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', 'metadata', '');
1510
1513
  writeSimpleText($this, w, 'name', name);
1511
- w.m1a('http://www.topografix.com/GPX/1/1', 'metadata', '');
1514
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', 'metadata', '');
1512
1515
  }
1513
1516
  function writeTrack($this, w, track, writeExtensions) {
1514
- w.h1a('http://www.topografix.com/GPX/1/1', 'trk', '');
1515
- var tmp0_safe_receiver = track.q1q_1;
1517
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', 'trk', '');
1518
+ var tmp0_safe_receiver = track.name_1;
1516
1519
  if (tmp0_safe_receiver == null)
1517
1520
  null;
1518
1521
  else {
1519
1522
  // Inline function 'kotlin.let' call
1520
1523
  writeSimpleText(GpxWriter_instance, w, 'name', tmp0_safe_receiver);
1521
1524
  }
1522
- var tmp1_safe_receiver = track.r1q_1;
1525
+ var tmp1_safe_receiver = track.type_1;
1523
1526
  if (tmp1_safe_receiver == null)
1524
1527
  null;
1525
1528
  else {
1526
1529
  // Inline function 'kotlin.let' call
1527
1530
  writeSimpleText(GpxWriter_instance, w, 'type', tmp1_safe_receiver);
1528
1531
  }
1529
- var _iterator__ex2g4s = track.s1q_1.i();
1530
- while (_iterator__ex2g4s.j()) {
1531
- var segment = _iterator__ex2g4s.k();
1532
- w.h1a('http://www.topografix.com/GPX/1/1', 'trkseg', '');
1533
- var _iterator__ex2g4s_0 = segment.v1q_1.i();
1534
- while (_iterator__ex2g4s_0.j()) {
1535
- var p = _iterator__ex2g4s_0.k();
1532
+ var _iterator__ex2g4s = track.segments_1.iterator_jk1svi_k$();
1533
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1534
+ var segment = _iterator__ex2g4s.next_20eer_k$();
1535
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', 'trkseg', '');
1536
+ var _iterator__ex2g4s_0 = segment.points_1.iterator_jk1svi_k$();
1537
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
1538
+ var p = _iterator__ex2g4s_0.next_20eer_k$();
1536
1539
  writeTrackPoint($this, w, p, writeExtensions);
1537
1540
  }
1538
- w.m1a('http://www.topografix.com/GPX/1/1', 'trkseg', '');
1541
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', 'trkseg', '');
1539
1542
  }
1540
- w.m1a('http://www.topografix.com/GPX/1/1', 'trk', '');
1543
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', 'trk', '');
1541
1544
  }
1542
1545
  function writeRoute($this, w, route, writeExtensions) {
1543
- w.h1a('http://www.topografix.com/GPX/1/1', 'rte', '');
1544
- var tmp0_safe_receiver = route.q1q_1;
1546
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', 'rte', '');
1547
+ var tmp0_safe_receiver = route.name_1;
1545
1548
  if (tmp0_safe_receiver == null)
1546
1549
  null;
1547
1550
  else {
1548
1551
  // Inline function 'kotlin.let' call
1549
1552
  writeSimpleText(GpxWriter_instance, w, 'name', tmp0_safe_receiver);
1550
1553
  }
1551
- var tmp1_safe_receiver = route.r1q_1;
1554
+ var tmp1_safe_receiver = route.type_1;
1552
1555
  if (tmp1_safe_receiver == null)
1553
1556
  null;
1554
1557
  else {
1555
1558
  // Inline function 'kotlin.let' call
1556
1559
  writeSimpleText(GpxWriter_instance, w, 'type', tmp1_safe_receiver);
1557
1560
  }
1558
- var _iterator__ex2g4s = route.w1q().i();
1559
- while (_iterator__ex2g4s.j()) {
1560
- var p = _iterator__ex2g4s.k();
1561
+ var _iterator__ex2g4s = route.get_points_i5obn0_k$().iterator_jk1svi_k$();
1562
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1563
+ var p = _iterator__ex2g4s.next_20eer_k$();
1561
1564
  writeTrackPoint($this, w, p, writeExtensions, 'rtept');
1562
1565
  }
1563
- w.m1a('http://www.topografix.com/GPX/1/1', 'rte', '');
1566
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', 'rte', '');
1564
1567
  }
1565
1568
  function writeTrackPoint($this, w, p, writeExtensions, localName) {
1566
1569
  localName = localName === VOID ? 'trkpt' : localName;
1567
- w.h1a('http://www.topografix.com/GPX/1/1', localName, '');
1568
- w.j1a(null, 'lat', null, p.x1q_1.toString());
1569
- w.j1a(null, 'lon', null, p.y1q_1.toString());
1570
- var tmp0_safe_receiver = p.a1r_1;
1570
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', localName, '');
1571
+ w.attribute_ruzjv8_k$(null, 'lat', null, p.latitudeDeg_1.toString());
1572
+ w.attribute_ruzjv8_k$(null, 'lon', null, p.longitudeDeg_1.toString());
1573
+ var tmp0_safe_receiver = p.timeEpochMs_1;
1571
1574
  if (tmp0_safe_receiver == null)
1572
1575
  null;
1573
1576
  else {
1574
1577
  // Inline function 'kotlin.let' call
1575
- writeSimpleText(GpxWriter_instance, w, 'time', Companion_getInstance().nd(tmp0_safe_receiver).toString());
1578
+ writeSimpleText(GpxWriter_instance, w, 'time', Companion_getInstance().fromEpochMilliseconds_uaz65_k$(tmp0_safe_receiver).toString());
1576
1579
  }
1577
- var tmp1_safe_receiver = p.z1q_1;
1580
+ var tmp1_safe_receiver = p.elevationM_1;
1578
1581
  if (tmp1_safe_receiver == null)
1579
1582
  null;
1580
1583
  else {
1581
1584
  // Inline function 'kotlin.let' call
1582
1585
  writeSimpleText(GpxWriter_instance, w, 'ele', tmp1_safe_receiver.toString());
1583
1586
  }
1584
- var hasGarminExt = !(p.b1r_1 == null) || !(p.c1r_1 == null) || !(p.d1r_1 == null);
1585
- var hasPower = !(p.e1r_1 == null);
1587
+ var hasGarminExt = !(p.heartRate_1 == null) || !(p.cadence_1 == null) || !(p.temperatureC_1 == null);
1588
+ var hasPower = !(p.powerW_1 == null);
1586
1589
  if (writeExtensions && (hasGarminExt || hasPower)) {
1587
- w.h1a('http://www.topografix.com/GPX/1/1', 'extensions', '');
1590
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', 'extensions', '');
1588
1591
  if (hasPower) {
1589
- writeSimpleText($this, w, 'power', p.e1r_1.toString());
1592
+ writeSimpleText($this, w, 'power', p.powerW_1.toString());
1590
1593
  }
1591
1594
  if (hasGarminExt) {
1592
- w.h1a('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
1593
- var tmp2_safe_receiver = p.b1r_1;
1595
+ w.startTag_pjuzbi_k$('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
1596
+ var tmp2_safe_receiver = p.heartRate_1;
1594
1597
  if (tmp2_safe_receiver == null)
1595
1598
  null;
1596
1599
  else {
1597
1600
  // Inline function 'kotlin.let' call
1598
1601
  writeNamespaced(GpxWriter_instance, w, 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'hr', 'gpxtpx', tmp2_safe_receiver.toString());
1599
1602
  }
1600
- var tmp3_safe_receiver = p.c1r_1;
1603
+ var tmp3_safe_receiver = p.cadence_1;
1601
1604
  if (tmp3_safe_receiver == null)
1602
1605
  null;
1603
1606
  else {
1604
1607
  // Inline function 'kotlin.let' call
1605
1608
  writeNamespaced(GpxWriter_instance, w, 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'cad', 'gpxtpx', tmp3_safe_receiver.toString());
1606
1609
  }
1607
- var tmp4_safe_receiver = p.d1r_1;
1610
+ var tmp4_safe_receiver = p.temperatureC_1;
1608
1611
  if (tmp4_safe_receiver == null)
1609
1612
  null;
1610
1613
  else {
1611
1614
  // Inline function 'kotlin.let' call
1612
1615
  writeNamespaced(GpxWriter_instance, w, 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'atemp', 'gpxtpx', tmp4_safe_receiver.toString());
1613
1616
  }
1614
- w.m1a('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
1617
+ w.endTag_yzukbv_k$('http://www.garmin.com/xmlschemas/TrackPointExtension/v1', 'TrackPointExtension', 'gpxtpx');
1615
1618
  }
1616
- w.m1a('http://www.topografix.com/GPX/1/1', 'extensions', '');
1619
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', 'extensions', '');
1617
1620
  }
1618
- w.m1a('http://www.topografix.com/GPX/1/1', localName, '');
1621
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', localName, '');
1619
1622
  }
1620
1623
  function writeSimpleText($this, w, localName, text) {
1621
- w.h1a('http://www.topografix.com/GPX/1/1', localName, '');
1622
- w.i1a(text);
1623
- w.m1a('http://www.topografix.com/GPX/1/1', localName, '');
1624
+ w.startTag_pjuzbi_k$('http://www.topografix.com/GPX/1/1', localName, '');
1625
+ w.text_x72pul_k$(text);
1626
+ w.endTag_yzukbv_k$('http://www.topografix.com/GPX/1/1', localName, '');
1624
1627
  }
1625
1628
  function writeNamespaced($this, w, namespace, localName, prefix, text) {
1626
- w.h1a(namespace, localName, prefix);
1627
- w.i1a(text);
1628
- w.m1a(namespace, localName, prefix);
1629
+ w.startTag_pjuzbi_k$(namespace, localName, prefix);
1630
+ w.text_x72pul_k$(text);
1631
+ w.endTag_yzukbv_k$(namespace, localName, prefix);
1629
1632
  }
1630
1633
  function GpxWriter() {
1631
- this.r1s_1 = 'http://www.topografix.com/GPX/1/1';
1632
- this.s1s_1 = 'http://www.w3.org/2001/XMLSchema-instance';
1633
- this.t1s_1 = 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1';
1634
- this.u1s_1 = 'xsi';
1635
- this.v1s_1 = 'gpxtpx';
1636
- this.w1s_1 = 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd';
1637
- this.x1s_1 = '@glandais/vcyclist';
1638
- }
1639
- protoOf(GpxWriter).y1s = function (document, writeExtensions) {
1634
+ this.NS_GPX_1 = 'http://www.topografix.com/GPX/1/1';
1635
+ this.NS_XSI_1 = 'http://www.w3.org/2001/XMLSchema-instance';
1636
+ this.NS_GARMIN_TPX_1 = 'http://www.garmin.com/xmlschemas/TrackPointExtension/v1';
1637
+ this.PREFIX_XSI_1 = 'xsi';
1638
+ this.PREFIX_GARMIN_TPX_1 = 'gpxtpx';
1639
+ this.SCHEMA_LOCATION_1 = 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd';
1640
+ this.CREATOR_1 = '@glandais/vcyclist';
1641
+ }
1642
+ protoOf(GpxWriter).write_7y52k2_k$ = function (document, writeExtensions) {
1640
1643
  var out = StringBuilder_init_$Create$();
1641
- out.v5('<?xml version="1.0" encoding="UTF-8"?>\n');
1644
+ out.append_22ad7x_k$('<?xml version="1.0" encoding="UTF-8"?>\n');
1642
1645
  var writer = newGenericWriter(get_xmlStreaming(), out, false, XmlDeclMode_None_getInstance());
1643
1646
  try {
1644
1647
  writeDocument(this, writer, document, writeExtensions);
1645
1648
  }finally {
1646
- writer.n18();
1649
+ writer.close_yn9xrc_k$();
1647
1650
  }
1648
1651
  return out.toString();
1649
1652
  };
1650
- protoOf(GpxWriter).z1s = function (paths, name, trackNames, waypoints, startTime, writeExtensions) {
1651
- return this.y1s(pathsToGpxDocument(paths, name, trackNames, waypoints, VOID, startTime), writeExtensions);
1653
+ protoOf(GpxWriter).write_jjl3rf_k$ = function (paths, name, trackNames, waypoints, startTime, writeExtensions) {
1654
+ return this.write_7y52k2_k$(pathsToGpxDocument(paths, name, trackNames, waypoints, VOID, startTime), writeExtensions);
1652
1655
  };
1653
- protoOf(GpxWriter).a1t = function (paths, name, trackNames, waypoints, startTime, writeExtensions, $super) {
1656
+ protoOf(GpxWriter).write$default_koqy5u_k$ = function (paths, name, trackNames, waypoints, startTime, writeExtensions, $super) {
1654
1657
  name = name === VOID ? 'noname' : name;
1655
1658
  trackNames = trackNames === VOID ? null : trackNames;
1656
1659
  waypoints = waypoints === VOID ? emptyList() : waypoints;
1657
1660
  startTime = startTime === VOID ? null : startTime;
1658
1661
  writeExtensions = writeExtensions === VOID ? true : writeExtensions;
1659
- return $super === VOID ? this.z1s(paths, name, trackNames, waypoints, startTime, writeExtensions) : $super.z1s.call(this, paths, name, trackNames, waypoints, startTime, writeExtensions);
1662
+ return $super === VOID ? this.write_jjl3rf_k$(paths, name, trackNames, waypoints, startTime, writeExtensions) : $super.write_jjl3rf_k$.call(this, paths, name, trackNames, waypoints, startTime, writeExtensions);
1660
1663
  };
1661
1664
  var GpxWriter_instance;
1662
1665
  function GpxWriter_getInstance() {
@@ -1687,11 +1690,11 @@
1687
1690
  var c = charCodeAt(xml, i);
1688
1691
  if (isHighSurrogate(c) && (i + 1 | 0) < n && isLowSurrogate(charCodeAt(xml, i + 1 | 0))) {
1689
1692
  var tmp0_safe_receiver = sb;
1690
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w5(c);
1693
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.append_58al37_k$(c);
1691
1694
  if (tmp1_safe_receiver == null)
1692
1695
  null;
1693
1696
  else
1694
- tmp1_safe_receiver.w5(charCodeAt(xml, i + 1 | 0));
1697
+ tmp1_safe_receiver.append_58al37_k$(charCodeAt(xml, i + 1 | 0));
1695
1698
  i = i + 2 | 0;
1696
1699
  continue $l$loop;
1697
1700
  }
@@ -1703,10 +1706,10 @@
1703
1706
  if (tmp2_safe_receiver == null)
1704
1707
  null;
1705
1708
  else
1706
- tmp2_safe_receiver.w5(c);
1709
+ tmp2_safe_receiver.append_58al37_k$(c);
1707
1710
  } else {
1708
1711
  if (sb == null)
1709
- sb = StringBuilder_init_$Create$_0(xml.length).y8(xml, 0, i);
1712
+ sb = StringBuilder_init_$Create$_0(xml.length).append_xdc1zw_k$(xml, 0, i);
1710
1713
  count = count + 1 | 0;
1711
1714
  }
1712
1715
  i = i + 1 | 0;
@@ -1726,11 +1729,11 @@
1726
1729
  if (tmp0_safe_receiver == null)
1727
1730
  null;
1728
1731
  else
1729
- tmp0_safe_receiver.w5(c);
1732
+ tmp0_safe_receiver.append_58al37_k$(c);
1730
1733
  } else {
1731
1734
  if (sb == null)
1732
- sb = StringBuilder_init_$Create$_0(xml.length + 16 | 0).y8(xml, 0, i);
1733
- sb.v5('&amp;');
1735
+ sb = StringBuilder_init_$Create$_0(xml.length + 16 | 0).append_xdc1zw_k$(xml, 0, i);
1736
+ sb.append_22ad7x_k$('&amp;');
1734
1737
  count = count + 1 | 0;
1735
1738
  }
1736
1739
  } else {
@@ -1738,7 +1741,7 @@
1738
1741
  if (tmp1_safe_receiver == null)
1739
1742
  null;
1740
1743
  else
1741
- tmp1_safe_receiver.w5(c);
1744
+ tmp1_safe_receiver.append_58al37_k$(c);
1742
1745
  }
1743
1746
  i = i + 1 | 0;
1744
1747
  }
@@ -1746,20 +1749,20 @@
1746
1749
  }
1747
1750
  function recombineSurrogatePairReferences($this, xml) {
1748
1751
  var refs = findNumericReferences($this, xml);
1749
- if (refs.l() < 2)
1752
+ if (refs.get_size_woubt6_k$() < 2)
1750
1753
  return null;
1751
1754
  var count = 0;
1752
1755
  var sb = StringBuilder_init_$Create$_0(xml.length);
1753
1756
  var copiedUpTo = 0;
1754
1757
  var i = 0;
1755
- while (i < refs.l()) {
1756
- var high = refs.m(i);
1758
+ while (i < refs.get_size_woubt6_k$()) {
1759
+ var high = refs.get_c1px32_k$(i);
1757
1760
  var low = getOrNull(refs, i + 1 | 0);
1758
- if (!(low == null) && high.c1t_1 === low.b1t_1 && isHighSurrogate_0($this, high.d1t_1) && isLowSurrogate_0($this, low.d1t_1)) {
1759
- sb.y8(xml, copiedUpTo, high.b1t_1);
1760
- var codePoint = (65536 + imul(high.d1t_1 - 55296 | 0, 1024) | 0) + (low.d1t_1 - 56320 | 0) | 0;
1761
- sb.v5('&#').a9(codePoint).w5(_Char___init__impl__6a9atx(59));
1762
- copiedUpTo = low.c1t_1;
1761
+ if (!(low == null) && high.end_1 === low.start_1 && isHighSurrogate_0($this, high.value_1) && isLowSurrogate_0($this, low.value_1)) {
1762
+ sb.append_xdc1zw_k$(xml, copiedUpTo, high.start_1);
1763
+ var codePoint = (65536 + imul(high.value_1 - 55296 | 0, 1024) | 0) + (low.value_1 - 56320 | 0) | 0;
1764
+ sb.append_22ad7x_k$('&#').append_uppzia_k$(codePoint).append_58al37_k$(_Char___init__impl__6a9atx(59));
1765
+ copiedUpTo = low.end_1;
1763
1766
  count = count + 1 | 0;
1764
1767
  i = i + 2 | 0;
1765
1768
  } else {
@@ -1768,21 +1771,21 @@
1768
1771
  }
1769
1772
  if (count === 0)
1770
1773
  return null;
1771
- sb.y8(xml, copiedUpTo, xml.length);
1774
+ sb.append_xdc1zw_k$(xml, copiedUpTo, xml.length);
1772
1775
  return new Pair(sb.toString(), count);
1773
1776
  }
1774
1777
  function NumericRef(start, end, value) {
1775
- this.b1t_1 = start;
1776
- this.c1t_1 = end;
1777
- this.d1t_1 = value;
1778
+ this.start_1 = start;
1779
+ this.end_1 = end;
1780
+ this.value_1 = value;
1778
1781
  }
1779
1782
  protoOf(NumericRef).toString = function () {
1780
- return 'NumericRef(start=' + this.b1t_1 + ', end=' + this.c1t_1 + ', value=' + this.d1t_1 + ')';
1783
+ return 'NumericRef(start=' + this.start_1 + ', end=' + this.end_1 + ', value=' + this.value_1 + ')';
1781
1784
  };
1782
1785
  protoOf(NumericRef).hashCode = function () {
1783
- var result = this.b1t_1;
1784
- result = imul(result, 31) + this.c1t_1 | 0;
1785
- result = imul(result, 31) + this.d1t_1 | 0;
1786
+ var result = this.start_1;
1787
+ result = imul(result, 31) + this.end_1 | 0;
1788
+ result = imul(result, 31) + this.value_1 | 0;
1786
1789
  return result;
1787
1790
  };
1788
1791
  protoOf(NumericRef).equals = function (other) {
@@ -1790,11 +1793,11 @@
1790
1793
  return true;
1791
1794
  if (!(other instanceof NumericRef))
1792
1795
  return false;
1793
- if (!(this.b1t_1 === other.b1t_1))
1796
+ if (!(this.start_1 === other.start_1))
1794
1797
  return false;
1795
- if (!(this.c1t_1 === other.c1t_1))
1798
+ if (!(this.end_1 === other.end_1))
1796
1799
  return false;
1797
- if (!(this.d1t_1 === other.d1t_1))
1800
+ if (!(this.value_1 === other.value_1))
1798
1801
  return false;
1799
1802
  return true;
1800
1803
  };
@@ -1809,7 +1812,7 @@
1809
1812
  if (!(end === -1)) {
1810
1813
  var value = parseNumericReferenceValue($this, substring_0(xml, i + 2 | 0, end));
1811
1814
  if (!(value === -1)) {
1812
- refs.h(new NumericRef(i, end + 1 | 0, value));
1815
+ refs.add_utx5q5_k$(new NumericRef(i, end + 1 | 0, value));
1813
1816
  }
1814
1817
  i = end + 1 | 0;
1815
1818
  continue $l$loop;
@@ -1881,20 +1884,20 @@
1881
1884
  }
1882
1885
  if (j >= n || !(charCodeAt(xml, j) === _Char___init__impl__6a9atx(59)))
1883
1886
  return -1;
1884
- return $this.v1r_1.e1(substring_0(xml, nameStart, j)) ? j : -1;
1887
+ return $this.PREDEFINED_ENTITIES_1.contains_aljjnj_k$(substring_0(xml, nameStart, j)) ? j : -1;
1885
1888
  }
1886
1889
  function isHexDigit($this, $receiver) {
1887
1890
  return isDigit($receiver) || (_Char___init__impl__6a9atx(97) <= $receiver ? $receiver <= _Char___init__impl__6a9atx(102) : false) || (_Char___init__impl__6a9atx(65) <= $receiver ? $receiver <= _Char___init__impl__6a9atx(70) : false);
1888
1891
  }
1889
1892
  function GpxXmlRepair() {
1890
1893
  GpxXmlRepair_instance = this;
1891
- this.v1r_1 = setOf(['amp', 'lt', 'gt', 'apos', 'quot']);
1892
- this.w1r_1 = 20;
1894
+ this.PREDEFINED_ENTITIES_1 = setOf(['amp', 'lt', 'gt', 'apos', 'quot']);
1895
+ this.MAX_REFERENCE_BODY_LENGTH_1 = 20;
1893
1896
  }
1894
- protoOf(GpxXmlRepair).x1r = function (xml) {
1895
- return this.g1t(xml).e1t_1;
1897
+ protoOf(GpxXmlRepair).repair_iwt4xf_k$ = function (xml) {
1898
+ return this.repairVerbose_mzqg4l_k$(xml).xml_1;
1896
1899
  };
1897
- protoOf(GpxXmlRepair).g1t = function (xml) {
1900
+ protoOf(GpxXmlRepair).repairVerbose_mzqg4l_k$ = function (xml) {
1898
1901
  // Inline function 'kotlin.collections.mutableListOf' call
1899
1902
  var repairs = ArrayList_init_$Create$();
1900
1903
  var current = xml;
@@ -1906,43 +1909,43 @@
1906
1909
  current = tmp0_safe_receiver;
1907
1910
  // Inline function 'kotlin.collections.plusAssign' call
1908
1911
  var element = 'removed leading UTF-8 BOM (U+FEFF)';
1909
- repairs.h(element);
1912
+ repairs.add_utx5q5_k$(element);
1910
1913
  }
1911
1914
  var tmp1_safe_receiver = stripIllegalControlChars(this, current);
1912
1915
  if (tmp1_safe_receiver == null)
1913
1916
  null;
1914
1917
  else {
1915
1918
  // Inline function 'kotlin.let' call
1916
- var repairedXml = tmp1_safe_receiver.qe();
1917
- var count = tmp1_safe_receiver.re();
1919
+ var repairedXml = tmp1_safe_receiver.component1_7eebsc_k$();
1920
+ var count = tmp1_safe_receiver.component2_7eebsb_k$();
1918
1921
  current = repairedXml;
1919
1922
  // Inline function 'kotlin.collections.plusAssign' call
1920
1923
  var element_0 = 'removed ' + count + ' illegal XML 1.0 control character(s)';
1921
- repairs.h(element_0);
1924
+ repairs.add_utx5q5_k$(element_0);
1922
1925
  }
1923
1926
  var tmp2_safe_receiver = recombineSurrogatePairReferences(this, current);
1924
1927
  if (tmp2_safe_receiver == null)
1925
1928
  null;
1926
1929
  else {
1927
1930
  // Inline function 'kotlin.let' call
1928
- var repairedXml_0 = tmp2_safe_receiver.qe();
1929
- var count_0 = tmp2_safe_receiver.re();
1931
+ var repairedXml_0 = tmp2_safe_receiver.component1_7eebsc_k$();
1932
+ var count_0 = tmp2_safe_receiver.component2_7eebsb_k$();
1930
1933
  current = repairedXml_0;
1931
1934
  // Inline function 'kotlin.collections.plusAssign' call
1932
1935
  var element_1 = 'recombined ' + count_0 + ' surrogate-pair numeric character reference(s)';
1933
- repairs.h(element_1);
1936
+ repairs.add_utx5q5_k$(element_1);
1934
1937
  }
1935
1938
  var tmp3_safe_receiver = escapeBareAmpersands(this, current);
1936
1939
  if (tmp3_safe_receiver == null)
1937
1940
  null;
1938
1941
  else {
1939
1942
  // Inline function 'kotlin.let' call
1940
- var repairedXml_1 = tmp3_safe_receiver.qe();
1941
- var count_1 = tmp3_safe_receiver.re();
1943
+ var repairedXml_1 = tmp3_safe_receiver.component1_7eebsc_k$();
1944
+ var count_1 = tmp3_safe_receiver.component2_7eebsb_k$();
1942
1945
  current = repairedXml_1;
1943
1946
  // Inline function 'kotlin.collections.plusAssign' call
1944
1947
  var element_2 = 'escaped ' + count_1 + " bare '&' character(s)";
1945
- repairs.h(element_2);
1948
+ repairs.add_utx5q5_k$(element_2);
1946
1949
  }
1947
1950
  return new RepairResult(current, repairs);
1948
1951
  };
@@ -1953,15 +1956,15 @@
1953
1956
  return GpxXmlRepair_instance;
1954
1957
  }
1955
1958
  function RepairResult(xml, repairs) {
1956
- this.e1t_1 = xml;
1957
- this.f1t_1 = repairs;
1959
+ this.xml_1 = xml;
1960
+ this.repairs_1 = repairs;
1958
1961
  }
1959
1962
  protoOf(RepairResult).toString = function () {
1960
- return 'RepairResult(xml=' + this.e1t_1 + ', repairs=' + toString_0(this.f1t_1) + ')';
1963
+ return 'RepairResult(xml=' + this.xml_1 + ', repairs=' + toString_0(this.repairs_1) + ')';
1961
1964
  };
1962
1965
  protoOf(RepairResult).hashCode = function () {
1963
- var result = getStringHashCode(this.e1t_1);
1964
- result = imul(result, 31) + hashCode(this.f1t_1) | 0;
1966
+ var result = getStringHashCode(this.xml_1);
1967
+ result = imul(result, 31) + hashCode(this.repairs_1) | 0;
1965
1968
  return result;
1966
1969
  };
1967
1970
  protoOf(RepairResult).equals = function (other) {
@@ -1969,9 +1972,9 @@
1969
1972
  return true;
1970
1973
  if (!(other instanceof RepairResult))
1971
1974
  return false;
1972
- if (!(this.e1t_1 === other.e1t_1))
1975
+ if (!(this.xml_1 === other.xml_1))
1973
1976
  return false;
1974
- if (!equals(this.f1t_1, other.f1t_1))
1977
+ if (!equals(this.repairs_1, other.repairs_1))
1975
1978
  return false;
1976
1979
  return true;
1977
1980
  };
@@ -1992,9 +1995,9 @@
1992
1995
  var negative = value < 0.0;
1993
1996
  // Inline function 'kotlin.math.abs' call
1994
1997
  var absValue = Math.abs(value);
1995
- var scale = toNumber($this.i1t_1[decimals]);
1998
+ var scale = toNumber($this.pow10Long_1[decimals]);
1996
1999
  var scaledLong = numberToLong(round(absValue * scale));
1997
- var whole = $this.i1t_1[decimals];
2000
+ var whole = $this.pow10Long_1[decimals];
1998
2001
  var intPart = divide(scaledLong, whole);
1999
2002
  var sign = negative && !equalsLong(scaledLong, new Long(0, 0)) ? '-' : '';
2000
2003
  var tmp;
@@ -2008,7 +2011,7 @@
2008
2011
  }
2009
2012
  function CsvNumberFormat() {
2010
2013
  CsvNumberFormat_instance = this;
2011
- this.h1t_1 = 12;
2014
+ this.MAX_AUTO_DECIMALS_1 = 12;
2012
2015
  var tmp = this;
2013
2016
  // Inline function 'kotlin.also' call
2014
2017
  var this_0 = longArray(13);
@@ -2023,9 +2026,9 @@
2023
2026
  p = multiply(p, new Long(10, 0));
2024
2027
  }
2025
2028
  while (inductionVariable <= last);
2026
- tmp.i1t_1 = this_0;
2029
+ tmp.pow10Long_1 = this_0;
2027
2030
  }
2028
- protoOf(CsvNumberFormat).j1t = function (value, decimals) {
2031
+ protoOf(CsvNumberFormat).format_whs5r8_k$ = function (value, decimals) {
2029
2032
  if (isNaN_0(value))
2030
2033
  return '';
2031
2034
  if (isInfinite(value))
@@ -2050,19 +2053,19 @@
2050
2053
  return CsvNumberFormat_instance;
2051
2054
  }
2052
2055
  function headerFor($this, field, unitsInHeader) {
2053
- return unitsInHeader ? field.m1t_1 + ' (' + field.n1t_1 + ')' : field.m1t_1;
2056
+ return unitsInHeader ? field.prop_1 + ' (' + field.unit_1 + ')' : field.prop_1;
2054
2057
  }
2055
2058
  function appendRow($this, sb, cells, options) {
2056
- var iterator = cells.i();
2059
+ var iterator = cells.iterator_jk1svi_k$();
2057
2060
  var index = 0;
2058
- while (iterator.j()) {
2061
+ while (iterator.hasNext_bitz1p_k$()) {
2059
2062
  var i = index;
2060
2063
  index = index + 1 | 0;
2061
- var cell = iterator.k();
2064
+ var cell = iterator.next_20eer_k$();
2062
2065
  if (i > 0) {
2063
- sb.w5(options.t1t_1);
2066
+ sb.append_58al37_k$(options.separator_1);
2064
2067
  }
2065
- sb.v5(escapeCsvCell($this, cell, options.t1t_1));
2068
+ sb.append_22ad7x_k$(escapeCsvCell($this, cell, options.separator_1));
2066
2069
  }
2067
2070
  }
2068
2071
  function escapeCsvCell($this, cell, separator) {
@@ -2091,35 +2094,35 @@
2091
2094
  }
2092
2095
  function CsvWriter() {
2093
2096
  }
2094
- protoOf(CsvWriter).x1t = function (path, options) {
2095
- var tmp0_elvis_lhs = options.s1t_1;
2097
+ protoOf(CsvWriter).write_p5vnh4_k$ = function (path, options) {
2098
+ var tmp0_elvis_lhs = options.fields_1;
2096
2099
  var fields = tmp0_elvis_lhs == null ? get_entries_0() : tmp0_elvis_lhs;
2097
2100
  var sb = StringBuilder_init_$Create$();
2098
2101
  // Inline function 'kotlin.collections.map' call
2099
2102
  // Inline function 'kotlin.collections.mapTo' call
2100
2103
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(fields, 10));
2101
- var _iterator__ex2g4s = fields.i();
2102
- while (_iterator__ex2g4s.j()) {
2103
- var item = _iterator__ex2g4s.k();
2104
- var tmp$ret$2 = headerFor(CsvWriter_instance, item, options.u1t_1);
2105
- destination.h(tmp$ret$2);
2104
+ var _iterator__ex2g4s = fields.iterator_jk1svi_k$();
2105
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2106
+ var item = _iterator__ex2g4s.next_20eer_k$();
2107
+ var tmp$ret$2 = headerFor(CsvWriter_instance, item, options.unitsInHeader_1);
2108
+ destination.add_utx5q5_k$(tmp$ret$2);
2106
2109
  }
2107
2110
  appendRow(this, sb, destination, options);
2108
2111
  var inductionVariable = 0;
2109
- var last = path.f1r_1;
2112
+ var last = path.size_1;
2110
2113
  if (inductionVariable < last)
2111
2114
  do {
2112
2115
  var i = inductionVariable;
2113
2116
  inductionVariable = inductionVariable + 1 | 0;
2114
- sb.v5(options.w1t_1);
2117
+ sb.append_22ad7x_k$(options.lineSeparator_1);
2115
2118
  // Inline function 'kotlin.collections.map' call
2116
2119
  // Inline function 'kotlin.collections.mapTo' call
2117
2120
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(fields, 10));
2118
- var _iterator__ex2g4s_0 = fields.i();
2119
- while (_iterator__ex2g4s_0.j()) {
2120
- var item_0 = _iterator__ex2g4s_0.k();
2121
- var tmp$ret$5 = CsvNumberFormat_getInstance().j1t(path.y1t(i, item_0), options.v1t_1);
2122
- destination_0.h(tmp$ret$5);
2121
+ var _iterator__ex2g4s_0 = fields.iterator_jk1svi_k$();
2122
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
2123
+ var item_0 = _iterator__ex2g4s_0.next_20eer_k$();
2124
+ var tmp$ret$5 = CsvNumberFormat_getInstance().format_whs5r8_k$(path.get_z3le6l_k$(i, item_0), options.decimals_1);
2125
+ destination_0.add_utx5q5_k$(tmp$ret$5);
2123
2126
  }
2124
2127
  appendRow(this, sb, destination_0, options);
2125
2128
  }
@@ -2136,21 +2139,21 @@
2136
2139
  unitsInHeader = unitsInHeader === VOID ? true : unitsInHeader;
2137
2140
  decimals = decimals === VOID ? null : decimals;
2138
2141
  lineSeparator = lineSeparator === VOID ? '\n' : lineSeparator;
2139
- this.s1t_1 = fields;
2140
- this.t1t_1 = separator;
2141
- this.u1t_1 = unitsInHeader;
2142
- this.v1t_1 = decimals;
2143
- this.w1t_1 = lineSeparator;
2142
+ this.fields_1 = fields;
2143
+ this.separator_1 = separator;
2144
+ this.unitsInHeader_1 = unitsInHeader;
2145
+ this.decimals_1 = decimals;
2146
+ this.lineSeparator_1 = lineSeparator;
2144
2147
  }
2145
2148
  protoOf(CsvOptions).toString = function () {
2146
- return 'CsvOptions(fields=' + toString(this.s1t_1) + ', separator=' + toString_1(this.t1t_1) + ', unitsInHeader=' + this.u1t_1 + ', decimals=' + this.v1t_1 + ', lineSeparator=' + this.w1t_1 + ')';
2149
+ return 'CsvOptions(fields=' + toString(this.fields_1) + ', separator=' + toString_1(this.separator_1) + ', unitsInHeader=' + this.unitsInHeader_1 + ', decimals=' + this.decimals_1 + ', lineSeparator=' + this.lineSeparator_1 + ')';
2147
2150
  };
2148
2151
  protoOf(CsvOptions).hashCode = function () {
2149
- var result = this.s1t_1 == null ? 0 : hashCode(this.s1t_1);
2150
- result = imul(result, 31) + Char__hashCode_impl_otmys(this.t1t_1) | 0;
2151
- result = imul(result, 31) + getBooleanHashCode(this.u1t_1) | 0;
2152
- result = imul(result, 31) + (this.v1t_1 == null ? 0 : this.v1t_1) | 0;
2153
- result = imul(result, 31) + getStringHashCode(this.w1t_1) | 0;
2152
+ var result = this.fields_1 == null ? 0 : hashCode(this.fields_1);
2153
+ result = imul(result, 31) + Char__hashCode_impl_otmys(this.separator_1) | 0;
2154
+ result = imul(result, 31) + getBooleanHashCode(this.unitsInHeader_1) | 0;
2155
+ result = imul(result, 31) + (this.decimals_1 == null ? 0 : this.decimals_1) | 0;
2156
+ result = imul(result, 31) + getStringHashCode(this.lineSeparator_1) | 0;
2154
2157
  return result;
2155
2158
  };
2156
2159
  protoOf(CsvOptions).equals = function (other) {
@@ -2158,78 +2161,78 @@
2158
2161
  return true;
2159
2162
  if (!(other instanceof CsvOptions))
2160
2163
  return false;
2161
- if (!equals(this.s1t_1, other.s1t_1))
2164
+ if (!equals(this.fields_1, other.fields_1))
2162
2165
  return false;
2163
- if (!(this.t1t_1 === other.t1t_1))
2166
+ if (!(this.separator_1 === other.separator_1))
2164
2167
  return false;
2165
- if (!(this.u1t_1 === other.u1t_1))
2168
+ if (!(this.unitsInHeader_1 === other.unitsInHeader_1))
2166
2169
  return false;
2167
- if (!(this.v1t_1 == other.v1t_1))
2170
+ if (!(this.decimals_1 == other.decimals_1))
2168
2171
  return false;
2169
- if (!(this.w1t_1 === other.w1t_1))
2172
+ if (!(this.lineSeparator_1 === other.lineSeparator_1))
2170
2173
  return false;
2171
2174
  return true;
2172
2175
  };
2173
2176
  function appendMeta($this, sb, path, fields, decimals, indent, nl, colon) {
2174
2177
  var inner = indent + indent;
2175
2178
  appendKeyRaw($this, sb, indent, 'meta', colon);
2176
- sb.w5(_Char___init__impl__6a9atx(123)).v5(nl);
2177
- appendKeyValueRaw($this, sb, inner, 'totalDistance', numberOrNull($this, path.j1s_1, decimals), colon);
2178
- sb.w5(_Char___init__impl__6a9atx(44)).v5(nl);
2179
- appendKeyValueRaw($this, sb, inner, 'durationMs', numberOrNull($this, path.o1s_1, decimals), colon);
2180
- sb.w5(_Char___init__impl__6a9atx(44)).v5(nl);
2181
- appendKeyValueRaw($this, sb, inner, 'elevationGain', numberOrNull($this, path.m1s_1, decimals), colon);
2182
- sb.w5(_Char___init__impl__6a9atx(44)).v5(nl);
2183
- appendKeyValueRaw($this, sb, inner, 'elevationLoss', numberOrNull($this, path.n1s_1, decimals), colon);
2184
- sb.w5(_Char___init__impl__6a9atx(44)).v5(nl);
2179
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(123)).append_22ad7x_k$(nl);
2180
+ appendKeyValueRaw($this, sb, inner, 'totalDistance', numberOrNull($this, path.totalDistance_1, decimals), colon);
2181
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44)).append_22ad7x_k$(nl);
2182
+ appendKeyValueRaw($this, sb, inner, 'durationMs', numberOrNull($this, path.durationMs_1, decimals), colon);
2183
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44)).append_22ad7x_k$(nl);
2184
+ appendKeyValueRaw($this, sb, inner, 'elevationGain', numberOrNull($this, path.elevationGain_1, decimals), colon);
2185
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44)).append_22ad7x_k$(nl);
2186
+ appendKeyValueRaw($this, sb, inner, 'elevationLoss', numberOrNull($this, path.elevationLoss_1, decimals), colon);
2187
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44)).append_22ad7x_k$(nl);
2185
2188
  appendKeyRaw($this, sb, inner, 'units', colon);
2186
- sb.w5(_Char___init__impl__6a9atx(123)).v5(nl);
2189
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(123)).append_22ad7x_k$(nl);
2187
2190
  var innerUnits = inner + indent;
2188
- var iterator = fields.i();
2191
+ var iterator = fields.iterator_jk1svi_k$();
2189
2192
  var index = 0;
2190
- while (iterator.j()) {
2193
+ while (iterator.hasNext_bitz1p_k$()) {
2191
2194
  var i = index;
2192
2195
  index = index + 1 | 0;
2193
- var field = iterator.k();
2194
- appendKeyValueRaw($this, sb, innerUnits, $this.z1t(field.m1t_1), '"' + $this.z1t(field.n1t_1) + '"', colon);
2196
+ var field = iterator.next_20eer_k$();
2197
+ appendKeyValueRaw($this, sb, innerUnits, $this.escapeJsonString_4zkd4o_k$(field.prop_1), '"' + $this.escapeJsonString_4zkd4o_k$(field.unit_1) + '"', colon);
2195
2198
  if (!(i === get_lastIndex(fields))) {
2196
- sb.w5(_Char___init__impl__6a9atx(44));
2199
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44));
2197
2200
  }
2198
- sb.v5(nl);
2201
+ sb.append_22ad7x_k$(nl);
2199
2202
  }
2200
- sb.v5(inner).w5(_Char___init__impl__6a9atx(125)).v5(nl);
2201
- sb.v5(indent).w5(_Char___init__impl__6a9atx(125));
2203
+ sb.append_22ad7x_k$(inner).append_58al37_k$(_Char___init__impl__6a9atx(125)).append_22ad7x_k$(nl);
2204
+ sb.append_22ad7x_k$(indent).append_58al37_k$(_Char___init__impl__6a9atx(125));
2202
2205
  }
2203
2206
  function appendFields($this, sb, path, fields, options, indent, nl, colon) {
2204
- sb.w5(_Char___init__impl__6a9atx(123)).v5(nl);
2207
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(123)).append_22ad7x_k$(nl);
2205
2208
  var inner = indent + indent;
2206
- var iterator = fields.i();
2209
+ var iterator = fields.iterator_jk1svi_k$();
2207
2210
  var index = 0;
2208
- while (iterator.j()) {
2211
+ while (iterator.hasNext_bitz1p_k$()) {
2209
2212
  var fi = index;
2210
2213
  index = index + 1 | 0;
2211
- var field = iterator.k();
2212
- appendKeyRaw($this, sb, inner, $this.z1t(field.m1t_1), colon);
2213
- sb.w5(_Char___init__impl__6a9atx(91));
2214
+ var field = iterator.next_20eer_k$();
2215
+ appendKeyRaw($this, sb, inner, $this.escapeJsonString_4zkd4o_k$(field.prop_1), colon);
2216
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(91));
2214
2217
  var inductionVariable = 0;
2215
- var last = path.f1r_1;
2218
+ var last = path.size_1;
2216
2219
  if (inductionVariable < last)
2217
2220
  do {
2218
2221
  var i = inductionVariable;
2219
2222
  inductionVariable = inductionVariable + 1 | 0;
2220
2223
  if (i > 0) {
2221
- sb.w5(_Char___init__impl__6a9atx(44));
2224
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44));
2222
2225
  }
2223
- sb.v5(numberOrNull($this, path.y1t(i, field), options.c1u_1));
2226
+ sb.append_22ad7x_k$(numberOrNull($this, path.get_z3le6l_k$(i, field), options.decimals_1));
2224
2227
  }
2225
2228
  while (inductionVariable < last);
2226
- sb.w5(_Char___init__impl__6a9atx(93));
2229
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(93));
2227
2230
  if (!(fi === get_lastIndex(fields))) {
2228
- sb.w5(_Char___init__impl__6a9atx(44));
2231
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44));
2229
2232
  }
2230
- sb.v5(nl);
2233
+ sb.append_22ad7x_k$(nl);
2231
2234
  }
2232
- sb.v5(indent).w5(_Char___init__impl__6a9atx(125));
2235
+ sb.append_22ad7x_k$(indent).append_58al37_k$(_Char___init__impl__6a9atx(125));
2233
2236
  }
2234
2237
  function numberOrNull($this, value, decimals) {
2235
2238
  decimals = decimals === VOID ? null : decimals;
@@ -2237,39 +2240,39 @@
2237
2240
  if (isNaN_0(value) || isInfinite(value)) {
2238
2241
  tmp = 'null';
2239
2242
  } else {
2240
- tmp = CsvNumberFormat_getInstance().j1t(value, decimals);
2243
+ tmp = CsvNumberFormat_getInstance().format_whs5r8_k$(value, decimals);
2241
2244
  }
2242
2245
  return tmp;
2243
2246
  }
2244
2247
  function appendKeyRaw($this, sb, indent, key, colon) {
2245
- sb.v5(indent).w5(_Char___init__impl__6a9atx(34)).v5(key).w5(_Char___init__impl__6a9atx(34)).v5(colon);
2248
+ sb.append_22ad7x_k$(indent).append_58al37_k$(_Char___init__impl__6a9atx(34)).append_22ad7x_k$(key).append_58al37_k$(_Char___init__impl__6a9atx(34)).append_22ad7x_k$(colon);
2246
2249
  }
2247
2250
  function appendKeyValueRaw($this, sb, indent, key, rawValue, colon) {
2248
2251
  appendKeyRaw($this, sb, indent, key, colon);
2249
- sb.v5(rawValue);
2252
+ sb.append_22ad7x_k$(rawValue);
2250
2253
  }
2251
2254
  function JsonWriter() {
2252
2255
  }
2253
- protoOf(JsonWriter).e1u = function (path, options) {
2254
- var tmp0_elvis_lhs = options.a1u_1;
2256
+ protoOf(JsonWriter).write_lwqeog_k$ = function (path, options) {
2257
+ var tmp0_elvis_lhs = options.fields_1;
2255
2258
  var fields = tmp0_elvis_lhs == null ? get_entries_0() : tmp0_elvis_lhs;
2256
2259
  var sb = StringBuilder_init_$Create$();
2257
- var indent = options.b1u_1 ? ' ' : '';
2258
- var nl = options.b1u_1 ? '\n' : '';
2259
- var colon = options.b1u_1 ? ': ' : ':';
2260
- sb.w5(_Char___init__impl__6a9atx(123)).v5(nl);
2261
- appendKeyValueRaw(this, sb, indent, 'size', path.f1r_1.toString(), colon);
2262
- sb.w5(_Char___init__impl__6a9atx(44)).v5(nl);
2263
- if (options.d1u_1) {
2264
- appendMeta(this, sb, path, fields, options.c1u_1, indent, nl, colon);
2265
- sb.w5(_Char___init__impl__6a9atx(44)).v5(nl);
2260
+ var indent = options.pretty_1 ? ' ' : '';
2261
+ var nl = options.pretty_1 ? '\n' : '';
2262
+ var colon = options.pretty_1 ? ': ' : ':';
2263
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(123)).append_22ad7x_k$(nl);
2264
+ appendKeyValueRaw(this, sb, indent, 'size', path.size_1.toString(), colon);
2265
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44)).append_22ad7x_k$(nl);
2266
+ if (options.includeMeta_1) {
2267
+ appendMeta(this, sb, path, fields, options.decimals_1, indent, nl, colon);
2268
+ sb.append_58al37_k$(_Char___init__impl__6a9atx(44)).append_22ad7x_k$(nl);
2266
2269
  }
2267
2270
  appendKeyRaw(this, sb, indent, 'fields', colon);
2268
2271
  appendFields(this, sb, path, fields, options, indent, nl, colon);
2269
- sb.v5(nl).w5(_Char___init__impl__6a9atx(125));
2272
+ sb.append_22ad7x_k$(nl).append_58al37_k$(_Char___init__impl__6a9atx(125));
2270
2273
  return sb.toString();
2271
2274
  };
2272
- protoOf(JsonWriter).z1t = function (value) {
2275
+ protoOf(JsonWriter).escapeJsonString_4zkd4o_k$ = function (value) {
2273
2276
  var sb = StringBuilder_init_$Create$_0(value.length);
2274
2277
  var inductionVariable = 0;
2275
2278
  var last = value.length;
@@ -2277,24 +2280,24 @@
2277
2280
  var c = charCodeAt(value, inductionVariable);
2278
2281
  inductionVariable = inductionVariable + 1 | 0;
2279
2282
  if (c === _Char___init__impl__6a9atx(34))
2280
- sb.v5('\\"');
2283
+ sb.append_22ad7x_k$('\\"');
2281
2284
  else if (c === _Char___init__impl__6a9atx(92))
2282
- sb.v5('\\\\');
2285
+ sb.append_22ad7x_k$('\\\\');
2283
2286
  else if (c === _Char___init__impl__6a9atx(10))
2284
- sb.v5('\\n');
2287
+ sb.append_22ad7x_k$('\\n');
2285
2288
  else if (c === _Char___init__impl__6a9atx(13))
2286
- sb.v5('\\r');
2289
+ sb.append_22ad7x_k$('\\r');
2287
2290
  else if (c === _Char___init__impl__6a9atx(9))
2288
- sb.v5('\\t');
2291
+ sb.append_22ad7x_k$('\\t');
2289
2292
  else {
2290
2293
  // Inline function 'kotlin.code' call
2291
2294
  if (Char__toInt_impl_vasixd(c) < 32) {
2292
- var tmp = sb.v5('\\u');
2295
+ var tmp = sb.append_22ad7x_k$('\\u');
2293
2296
  // Inline function 'kotlin.code' call
2294
2297
  var tmp$ret$1 = Char__toInt_impl_vasixd(c);
2295
- tmp.v5(padStart(toString_2(tmp$ret$1, 16), 4, _Char___init__impl__6a9atx(48)));
2298
+ tmp.append_22ad7x_k$(padStart(toString_2(tmp$ret$1, 16), 4, _Char___init__impl__6a9atx(48)));
2296
2299
  } else {
2297
- sb.w5(c);
2300
+ sb.append_58al37_k$(c);
2298
2301
  }
2299
2302
  }
2300
2303
  }
@@ -2309,19 +2312,19 @@
2309
2312
  pretty = pretty === VOID ? false : pretty;
2310
2313
  decimals = decimals === VOID ? null : decimals;
2311
2314
  includeMeta = includeMeta === VOID ? true : includeMeta;
2312
- this.a1u_1 = fields;
2313
- this.b1u_1 = pretty;
2314
- this.c1u_1 = decimals;
2315
- this.d1u_1 = includeMeta;
2315
+ this.fields_1 = fields;
2316
+ this.pretty_1 = pretty;
2317
+ this.decimals_1 = decimals;
2318
+ this.includeMeta_1 = includeMeta;
2316
2319
  }
2317
2320
  protoOf(JsonOptions).toString = function () {
2318
- return 'JsonOptions(fields=' + toString(this.a1u_1) + ', pretty=' + this.b1u_1 + ', decimals=' + this.c1u_1 + ', includeMeta=' + this.d1u_1 + ')';
2321
+ return 'JsonOptions(fields=' + toString(this.fields_1) + ', pretty=' + this.pretty_1 + ', decimals=' + this.decimals_1 + ', includeMeta=' + this.includeMeta_1 + ')';
2319
2322
  };
2320
2323
  protoOf(JsonOptions).hashCode = function () {
2321
- var result = this.a1u_1 == null ? 0 : hashCode(this.a1u_1);
2322
- result = imul(result, 31) + getBooleanHashCode(this.b1u_1) | 0;
2323
- result = imul(result, 31) + (this.c1u_1 == null ? 0 : this.c1u_1) | 0;
2324
- result = imul(result, 31) + getBooleanHashCode(this.d1u_1) | 0;
2324
+ var result = this.fields_1 == null ? 0 : hashCode(this.fields_1);
2325
+ result = imul(result, 31) + getBooleanHashCode(this.pretty_1) | 0;
2326
+ result = imul(result, 31) + (this.decimals_1 == null ? 0 : this.decimals_1) | 0;
2327
+ result = imul(result, 31) + getBooleanHashCode(this.includeMeta_1) | 0;
2325
2328
  return result;
2326
2329
  };
2327
2330
  protoOf(JsonOptions).equals = function (other) {
@@ -2329,28 +2332,28 @@
2329
2332
  return true;
2330
2333
  if (!(other instanceof JsonOptions))
2331
2334
  return false;
2332
- if (!equals(this.a1u_1, other.a1u_1))
2335
+ if (!equals(this.fields_1, other.fields_1))
2333
2336
  return false;
2334
- if (!(this.b1u_1 === other.b1u_1))
2337
+ if (!(this.pretty_1 === other.pretty_1))
2335
2338
  return false;
2336
- if (!(this.c1u_1 == other.c1u_1))
2339
+ if (!(this.decimals_1 == other.decimals_1))
2337
2340
  return false;
2338
- if (!(this.d1u_1 === other.d1u_1))
2341
+ if (!(this.includeMeta_1 === other.includeMeta_1))
2339
2342
  return false;
2340
2343
  return true;
2341
2344
  };
2342
2345
  function copyAllSlots($this, source) {
2343
- var out = new Path(source.f1r_1);
2346
+ var out = new Path(source.size_1);
2344
2347
  var inductionVariable = 0;
2345
- var last = source.f1r_1;
2348
+ var last = source.size_1;
2346
2349
  if (inductionVariable < last)
2347
2350
  do {
2348
2351
  var i = inductionVariable;
2349
2352
  inductionVariable = inductionVariable + 1 | 0;
2350
- var _iterator__ex2g4s = get_entries_0().i();
2351
- while (_iterator__ex2g4s.j()) {
2352
- var field = _iterator__ex2g4s.k();
2353
- out.f1u(i, field, source.y1t(i, field));
2353
+ var _iterator__ex2g4s = get_entries_0().iterator_jk1svi_k$();
2354
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2355
+ var field = _iterator__ex2g4s.next_20eer_k$();
2356
+ out.set_b3ze83_k$(i, field, source.get_z3le6l_k$(i, field));
2354
2357
  }
2355
2358
  }
2356
2359
  while (inductionVariable < last);
@@ -2358,33 +2361,33 @@
2358
2361
  }
2359
2362
  function $fixElevationCOROUTINE$(_this__u8e3s4, source, provider, resultContinuation) {
2360
2363
  CoroutineImpl.call(this, resultContinuation);
2361
- this.o1u_1 = _this__u8e3s4;
2362
- this.p1u_1 = source;
2363
- this.q1u_1 = provider;
2364
+ this._this__u8e3s4__1 = _this__u8e3s4;
2365
+ this.source_1 = source;
2366
+ this.provider_1 = provider;
2364
2367
  }
2365
- protoOf($fixElevationCOROUTINE$).p6 = function () {
2366
- var suspendResult = this.j6_1;
2368
+ protoOf($fixElevationCOROUTINE$).doResume_5yljmg_k$ = function () {
2369
+ var suspendResult = this.result_1;
2367
2370
  $sm: do
2368
2371
  try {
2369
- var tmp = this.h6_1;
2372
+ var tmp = this.state_1;
2370
2373
  switch (tmp) {
2371
2374
  case 0:
2372
- this.i6_1 = 2;
2373
- if (this.p1u_1.f1r_1 === 0)
2375
+ this.exceptionState_1 = 2;
2376
+ if (this.source_1.size_1 === 0)
2374
2377
  return new Path(0);
2375
- var size = this.p1u_1.f1r_1;
2378
+ var size = this.source_1.size_1;
2376
2379
  var list = ArrayList_init_$Create$_0(size);
2377
2380
  var inductionVariable = 0;
2378
2381
  if (inductionVariable < size)
2379
2382
  do {
2380
2383
  var index = inductionVariable;
2381
2384
  inductionVariable = inductionVariable + 1 | 0;
2382
- list.h(new LatLon(this.p1u_1.h1r(index) * 57.29577951308232, this.p1u_1.i1r(index) * 57.29577951308232));
2385
+ list.add_utx5q5_k$(new LatLon(this.source_1.latitude_gb4iok_k$(index) * 57.29577951308232, this.source_1.longitude_a9xl_k$(index) * 57.29577951308232));
2383
2386
  }
2384
2387
  while (inductionVariable < size);
2385
2388
  var coords = list;
2386
- this.h6_1 = 1;
2387
- suspendResult = this.q1u_1.s10(coords, VOID, this);
2389
+ this.state_1 = 1;
2390
+ suspendResult = this.provider_1.setElevations$default_vdh3yj_k$(coords, VOID, this);
2388
2391
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2389
2392
  return suspendResult;
2390
2393
  }
@@ -2392,47 +2395,47 @@
2392
2395
  continue $sm;
2393
2396
  case 1:
2394
2397
  var corrected = suspendResult;
2395
- var out = copyAllSlots(this.o1u_1, this.p1u_1);
2398
+ var out = copyAllSlots(this._this__u8e3s4__1, this.source_1);
2396
2399
  var inductionVariable_0 = 0;
2397
- var last = out.f1r_1;
2400
+ var last = out.size_1;
2398
2401
  if (inductionVariable_0 < last)
2399
2402
  do {
2400
2403
  var i = inductionVariable_0;
2401
2404
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
2402
- out.b1s(i, corrected.m(i).ww());
2405
+ out.setElevation_pv2zuv_k$(i, corrected.get_c1px32_k$(i).get_elevation_8fwyb8_k$());
2403
2406
  }
2404
2407
  while (inductionVariable_0 < last);
2405
- out.q1s();
2408
+ out.computeDerivedData_uoxpeo_k$();
2406
2409
  return out;
2407
2410
  case 2:
2408
- throw this.k6_1;
2411
+ throw this.exception_1;
2409
2412
  }
2410
2413
  } catch ($p) {
2411
2414
  var e = $p;
2412
- if (this.i6_1 === 2) {
2415
+ if (this.exceptionState_1 === 2) {
2413
2416
  throw e;
2414
2417
  } else {
2415
- this.h6_1 = this.i6_1;
2416
- this.k6_1 = e;
2418
+ this.state_1 = this.exceptionState_1;
2419
+ this.exception_1 = e;
2417
2420
  }
2418
2421
  }
2419
2422
  while (true);
2420
2423
  };
2421
2424
  function ElevationStep() {
2422
- this.r1u_1 = 150.0;
2425
+ this.DEFAULT_SMOOTH_WINDOW_M_1 = 150.0;
2423
2426
  }
2424
- protoOf(ElevationStep).s1u = function (source, provider, $completion) {
2427
+ protoOf(ElevationStep).fixElevation_nhpf8r_k$ = function (source, provider, $completion) {
2425
2428
  var tmp = new $fixElevationCOROUTINE$(this, source, provider, $completion);
2426
- tmp.j6_1 = Unit_instance;
2427
- tmp.k6_1 = null;
2428
- return tmp.p6();
2429
+ tmp.result_1 = Unit_instance;
2430
+ tmp.exception_1 = null;
2431
+ return tmp.doResume_5yljmg_k$();
2429
2432
  };
2430
- protoOf(ElevationStep).t1u = function (source, windowM) {
2431
- if (source.f1r_1 === 0)
2433
+ protoOf(ElevationStep).smoothElevation_ahln31_k$ = function (source, windowM) {
2434
+ if (source.size_1 === 0)
2432
2435
  return new Path(0);
2433
2436
  // Inline function 'kotlin.collections.List' call
2434
2437
  // Inline function 'kotlin.collections.MutableList' call
2435
- var size = source.f1r_1;
2438
+ var size = source.size_1;
2436
2439
  var list = ArrayList_init_$Create$_0(size);
2437
2440
  // Inline function 'kotlin.repeat' call
2438
2441
  var inductionVariable = 0;
@@ -2440,229 +2443,229 @@
2440
2443
  do {
2441
2444
  var index = inductionVariable;
2442
2445
  inductionVariable = inductionVariable + 1 | 0;
2443
- var tmp$ret$4 = source.u1u(index);
2444
- list.h(tmp$ret$4);
2446
+ var tmp$ret$4 = source.coordinatesElevationAt_ru19z1_k$(index);
2447
+ list.add_utx5q5_k$(tmp$ret$4);
2445
2448
  }
2446
2449
  while (inductionVariable < size);
2447
2450
  var coords = list;
2448
- var smoothed = ElevationSmoother_instance.nw(coords, windowM);
2451
+ var smoothed = ElevationSmoother_instance.smooth_j2mgq7_k$(coords, windowM);
2449
2452
  var out = copyAllSlots(this, source);
2450
2453
  var inductionVariable_0 = 0;
2451
- var last = out.f1r_1;
2454
+ var last = out.size_1;
2452
2455
  if (inductionVariable_0 < last)
2453
2456
  do {
2454
2457
  var i = inductionVariable_0;
2455
2458
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
2456
- out.b1s(i, smoothed.m(i).ww());
2459
+ out.setElevation_pv2zuv_k$(i, smoothed.get_c1px32_k$(i).get_elevation_8fwyb8_k$());
2457
2460
  }
2458
2461
  while (inductionVariable_0 < last);
2459
- out.q1s();
2462
+ out.computeDerivedData_uoxpeo_k$();
2460
2463
  return out;
2461
2464
  };
2462
- protoOf(ElevationStep).v1u = function (source, windowM, $super) {
2465
+ protoOf(ElevationStep).smoothElevation$default_3c035p_k$ = function (source, windowM, $super) {
2463
2466
  windowM = windowM === VOID ? 150.0 : windowM;
2464
- return $super === VOID ? this.t1u(source, windowM) : $super.t1u.call(this, source, windowM);
2467
+ return $super === VOID ? this.smoothElevation_ahln31_k$(source, windowM) : $super.smoothElevation_ahln31_k$.call(this, source, windowM);
2465
2468
  };
2466
2469
  var ElevationStep_instance;
2467
2470
  function ElevationStep_getInstance() {
2468
2471
  return ElevationStep_instance;
2469
2472
  }
2470
2473
  function GeneratedPath(size) {
2471
- this.f1r_1 = size;
2474
+ this.size_1 = size;
2472
2475
  // Inline function 'kotlin.require' call
2473
- if (!(this.f1r_1 >= 0)) {
2474
- var message = 'Negative size: ' + this.f1r_1;
2476
+ if (!(this.size_1 >= 0)) {
2477
+ var message = 'Negative size: ' + this.size_1;
2475
2478
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
2476
2479
  }
2477
- this.g1r_1 = new Float64Array(imul(this.f1r_1, 36));
2480
+ this.data_1 = new Float64Array(imul(this.size_1, 36));
2478
2481
  }
2479
- protoOf(GeneratedPath).y1t = function (i, field) {
2480
- return this.g1r_1[imul(i, 36) + field.o1_1 | 0];
2482
+ protoOf(GeneratedPath).get_z3le6l_k$ = function (i, field) {
2483
+ return this.data_1[imul(i, 36) + field.ordinal_1 | 0];
2481
2484
  };
2482
- protoOf(GeneratedPath).f1u = function (i, field, v) {
2483
- this.g1r_1[imul(i, 36) + field.o1_1 | 0] = v;
2485
+ protoOf(GeneratedPath).set_b3ze83_k$ = function (i, field, v) {
2486
+ this.data_1[imul(i, 36) + field.ordinal_1 | 0] = v;
2484
2487
  };
2485
- protoOf(GeneratedPath).h1r = function (i) {
2486
- return this.g1r_1[imul(i, 36) + 0 | 0];
2488
+ protoOf(GeneratedPath).latitude_gb4iok_k$ = function (i) {
2489
+ return this.data_1[imul(i, 36) + 0 | 0];
2487
2490
  };
2488
- protoOf(GeneratedPath).z1r = function (i, v) {
2489
- this.g1r_1[imul(i, 36) + 0 | 0] = v;
2491
+ protoOf(GeneratedPath).setLatitude_skkzf0_k$ = function (i, v) {
2492
+ this.data_1[imul(i, 36) + 0 | 0] = v;
2490
2493
  };
2491
- protoOf(GeneratedPath).i1r = function (i) {
2492
- return this.g1r_1[imul(i, 36) + 1 | 0];
2494
+ protoOf(GeneratedPath).longitude_a9xl_k$ = function (i) {
2495
+ return this.data_1[imul(i, 36) + 1 | 0];
2493
2496
  };
2494
- protoOf(GeneratedPath).a1s = function (i, v) {
2495
- this.g1r_1[imul(i, 36) + 1 | 0] = v;
2497
+ protoOf(GeneratedPath).setLongitude_k0bc8l_k$ = function (i, v) {
2498
+ this.data_1[imul(i, 36) + 1 | 0] = v;
2496
2499
  };
2497
- protoOf(GeneratedPath).w1u = function (i) {
2498
- return this.g1r_1[imul(i, 36) + 2 | 0];
2500
+ protoOf(GeneratedPath).distance_5s4s77_k$ = function (i) {
2501
+ return this.data_1[imul(i, 36) + 2 | 0];
2499
2502
  };
2500
- protoOf(GeneratedPath).x1u = function (i, v) {
2501
- this.g1r_1[imul(i, 36) + 2 | 0] = v;
2503
+ protoOf(GeneratedPath).setDistance_d14hwr_k$ = function (i, v) {
2504
+ this.data_1[imul(i, 36) + 2 | 0] = v;
2502
2505
  };
2503
- protoOf(GeneratedPath).y1u = function (i, v) {
2504
- this.g1r_1[imul(i, 36) + 3 | 0] = v;
2506
+ protoOf(GeneratedPath).setDx_uk0ky4_k$ = function (i, v) {
2507
+ this.data_1[imul(i, 36) + 3 | 0] = v;
2505
2508
  };
2506
- protoOf(GeneratedPath).k1r = function (i) {
2507
- return this.g1r_1[imul(i, 36) + 4 | 0];
2509
+ protoOf(GeneratedPath).time_ryc845_k$ = function (i) {
2510
+ return this.data_1[imul(i, 36) + 4 | 0];
2508
2511
  };
2509
- protoOf(GeneratedPath).c1s = function (i, v) {
2510
- this.g1r_1[imul(i, 36) + 4 | 0] = v;
2512
+ protoOf(GeneratedPath).setTime_rfmvcd_k$ = function (i, v) {
2513
+ this.data_1[imul(i, 36) + 4 | 0] = v;
2511
2514
  };
2512
- protoOf(GeneratedPath).z1u = function (i) {
2513
- return this.g1r_1[imul(i, 36) + 5 | 0];
2515
+ protoOf(GeneratedPath).elapsed_7307rw_k$ = function (i) {
2516
+ return this.data_1[imul(i, 36) + 5 | 0];
2514
2517
  };
2515
- protoOf(GeneratedPath).a1v = function (i, v) {
2516
- this.g1r_1[imul(i, 36) + 5 | 0] = v;
2518
+ protoOf(GeneratedPath).setElapsed_916ug_k$ = function (i, v) {
2519
+ this.data_1[imul(i, 36) + 5 | 0] = v;
2517
2520
  };
2518
- protoOf(GeneratedPath).b1v = function (i) {
2519
- return this.g1r_1[imul(i, 36) + 6 | 0];
2521
+ protoOf(GeneratedPath).dt_17uzp4_k$ = function (i) {
2522
+ return this.data_1[imul(i, 36) + 6 | 0];
2520
2523
  };
2521
- protoOf(GeneratedPath).c1v = function (i, v) {
2522
- this.g1r_1[imul(i, 36) + 6 | 0] = v;
2524
+ protoOf(GeneratedPath).setDt_sgarxs_k$ = function (i, v) {
2525
+ this.data_1[imul(i, 36) + 6 | 0] = v;
2523
2526
  };
2524
- protoOf(GeneratedPath).d1v = function (i) {
2525
- return this.g1r_1[imul(i, 36) + 7 | 0];
2527
+ protoOf(GeneratedPath).bearing_fz5vxm_k$ = function (i) {
2528
+ return this.data_1[imul(i, 36) + 7 | 0];
2526
2529
  };
2527
- protoOf(GeneratedPath).e1v = function (i, v) {
2528
- this.g1r_1[imul(i, 36) + 7 | 0] = v;
2530
+ protoOf(GeneratedPath).setBearing_in05l6_k$ = function (i, v) {
2531
+ this.data_1[imul(i, 36) + 7 | 0] = v;
2529
2532
  };
2530
- protoOf(GeneratedPath).j1r = function (i) {
2531
- return this.g1r_1[imul(i, 36) + 8 | 0];
2533
+ protoOf(GeneratedPath).elevation_iziwkb_k$ = function (i) {
2534
+ return this.data_1[imul(i, 36) + 8 | 0];
2532
2535
  };
2533
- protoOf(GeneratedPath).b1s = function (i, v) {
2534
- this.g1r_1[imul(i, 36) + 8 | 0] = v;
2536
+ protoOf(GeneratedPath).setElevation_pv2zuv_k$ = function (i, v) {
2537
+ this.data_1[imul(i, 36) + 8 | 0] = v;
2535
2538
  };
2536
- protoOf(GeneratedPath).f1v = function (i) {
2537
- return this.g1r_1[imul(i, 36) + 9 | 0];
2539
+ protoOf(GeneratedPath).grade_c4yjz5_k$ = function (i) {
2540
+ return this.data_1[imul(i, 36) + 9 | 0];
2538
2541
  };
2539
- protoOf(GeneratedPath).g1v = function (i, v) {
2540
- this.g1r_1[imul(i, 36) + 9 | 0] = v;
2542
+ protoOf(GeneratedPath).setGrade_3tur8z_k$ = function (i, v) {
2543
+ this.data_1[imul(i, 36) + 9 | 0] = v;
2541
2544
  };
2542
- protoOf(GeneratedPath).h1v = function (i, v) {
2543
- this.g1r_1[imul(i, 36) + 10 | 0] = v;
2545
+ protoOf(GeneratedPath).setRadius_p1cueq_k$ = function (i, v) {
2546
+ this.data_1[imul(i, 36) + 10 | 0] = v;
2544
2547
  };
2545
- protoOf(GeneratedPath).i1v = function (i, v) {
2546
- this.g1r_1[imul(i, 36) + 11 | 0] = v;
2548
+ protoOf(GeneratedPath).setAeroCoef_tmjifm_k$ = function (i, v) {
2549
+ this.data_1[imul(i, 36) + 11 | 0] = v;
2547
2550
  };
2548
- protoOf(GeneratedPath).j1v = function (i, v) {
2549
- this.g1r_1[imul(i, 36) + 12 | 0] = v;
2551
+ protoOf(GeneratedPath).setWindBearing_44dbry_k$ = function (i, v) {
2552
+ this.data_1[imul(i, 36) + 12 | 0] = v;
2550
2553
  };
2551
- protoOf(GeneratedPath).k1v = function (i, v) {
2552
- this.g1r_1[imul(i, 36) + 13 | 0] = v;
2554
+ protoOf(GeneratedPath).setWindAlpha_xkbtf2_k$ = function (i, v) {
2555
+ this.data_1[imul(i, 36) + 13 | 0] = v;
2553
2556
  };
2554
- protoOf(GeneratedPath).l1v = function (i, v) {
2555
- this.g1r_1[imul(i, 36) + 14 | 0] = v;
2557
+ protoOf(GeneratedPath).setPAero_mmc4mr_k$ = function (i, v) {
2558
+ this.data_1[imul(i, 36) + 14 | 0] = v;
2556
2559
  };
2557
- protoOf(GeneratedPath).m1v = function (i, v) {
2558
- this.g1r_1[imul(i, 36) + 15 | 0] = v;
2560
+ protoOf(GeneratedPath).setPGravity_tegtcu_k$ = function (i, v) {
2561
+ this.data_1[imul(i, 36) + 15 | 0] = v;
2559
2562
  };
2560
- protoOf(GeneratedPath).n1v = function (i, v) {
2561
- this.g1r_1[imul(i, 36) + 16 | 0] = v;
2563
+ protoOf(GeneratedPath).setPRollingResistance_h04uz6_k$ = function (i, v) {
2564
+ this.data_1[imul(i, 36) + 16 | 0] = v;
2562
2565
  };
2563
- protoOf(GeneratedPath).o1v = function (i, v) {
2564
- this.g1r_1[imul(i, 36) + 17 | 0] = v;
2566
+ protoOf(GeneratedPath).setPWheelBearings_djmhww_k$ = function (i, v) {
2567
+ this.data_1[imul(i, 36) + 17 | 0] = v;
2565
2568
  };
2566
- protoOf(GeneratedPath).o1r = function (i) {
2567
- return this.g1r_1[imul(i, 36) + 18 | 0];
2569
+ protoOf(GeneratedPath).pInputPower_ybhudp_k$ = function (i) {
2570
+ return this.data_1[imul(i, 36) + 18 | 0];
2568
2571
  };
2569
- protoOf(GeneratedPath).d1s = function (i, v) {
2570
- this.g1r_1[imul(i, 36) + 18 | 0] = v;
2572
+ protoOf(GeneratedPath).setPInputPower_i1beh_k$ = function (i, v) {
2573
+ this.data_1[imul(i, 36) + 18 | 0] = v;
2571
2574
  };
2572
- protoOf(GeneratedPath).p1v = function (i, v) {
2573
- this.g1r_1[imul(i, 36) + 19 | 0] = v;
2575
+ protoOf(GeneratedPath).setPCyclistProvidedOptimalPower_gha9up_k$ = function (i, v) {
2576
+ this.data_1[imul(i, 36) + 19 | 0] = v;
2574
2577
  };
2575
- protoOf(GeneratedPath).q1v = function (i, v) {
2576
- this.g1r_1[imul(i, 36) + 20 | 0] = v;
2578
+ protoOf(GeneratedPath).setPCyclistProvidedOptimalPowerWithHarmonics_tg3fol_k$ = function (i, v) {
2579
+ this.data_1[imul(i, 36) + 20 | 0] = v;
2577
2580
  };
2578
- protoOf(GeneratedPath).r1v = function (i, v) {
2579
- this.g1r_1[imul(i, 36) + 21 | 0] = v;
2581
+ protoOf(GeneratedPath).setPCyclistPowerNeeded_54po1x_k$ = function (i, v) {
2582
+ this.data_1[imul(i, 36) + 21 | 0] = v;
2580
2583
  };
2581
- protoOf(GeneratedPath).s1v = function (i, v) {
2582
- this.g1r_1[imul(i, 36) + 22 | 0] = v;
2584
+ protoOf(GeneratedPath).setPCyclistProvidedMuscular_aori9q_k$ = function (i, v) {
2585
+ this.data_1[imul(i, 36) + 22 | 0] = v;
2583
2586
  };
2584
- protoOf(GeneratedPath).t1v = function (i, v) {
2585
- this.g1r_1[imul(i, 36) + 23 | 0] = v;
2587
+ protoOf(GeneratedPath).setPCyclistProvidedWheel_ofsihz_k$ = function (i, v) {
2588
+ this.data_1[imul(i, 36) + 23 | 0] = v;
2586
2589
  };
2587
- protoOf(GeneratedPath).u1v = function (i, v) {
2588
- this.g1r_1[imul(i, 36) + 24 | 0] = v;
2590
+ protoOf(GeneratedPath).setPComputedTotalPower_wm6di_k$ = function (i, v) {
2591
+ this.data_1[imul(i, 36) + 24 | 0] = v;
2589
2592
  };
2590
- protoOf(GeneratedPath).v1v = function (i, v) {
2591
- this.g1r_1[imul(i, 36) + 25 | 0] = v;
2593
+ protoOf(GeneratedPath).setPComputedWheelPower_qplog3_k$ = function (i, v) {
2594
+ this.data_1[imul(i, 36) + 25 | 0] = v;
2592
2595
  };
2593
- protoOf(GeneratedPath).p1r = function (i) {
2594
- return this.g1r_1[imul(i, 36) + 26 | 0];
2596
+ protoOf(GeneratedPath).pComputedPower_g6dnn4_k$ = function (i) {
2597
+ return this.data_1[imul(i, 36) + 26 | 0];
2595
2598
  };
2596
- protoOf(GeneratedPath).w1v = function (i, v) {
2597
- this.g1r_1[imul(i, 36) + 26 | 0] = v;
2599
+ protoOf(GeneratedPath).setPComputedPower_c3m6yw_k$ = function (i, v) {
2600
+ this.data_1[imul(i, 36) + 26 | 0] = v;
2598
2601
  };
2599
- protoOf(GeneratedPath).x1v = function (i) {
2600
- return this.g1r_1[imul(i, 36) + 27 | 0];
2602
+ protoOf(GeneratedPath).speed_npav2n_k$ = function (i) {
2603
+ return this.data_1[imul(i, 36) + 27 | 0];
2601
2604
  };
2602
- protoOf(GeneratedPath).y1v = function (i, v) {
2603
- this.g1r_1[imul(i, 36) + 27 | 0] = v;
2605
+ protoOf(GeneratedPath).setSpeed_1slan1_k$ = function (i, v) {
2606
+ this.data_1[imul(i, 36) + 27 | 0] = v;
2604
2607
  };
2605
- protoOf(GeneratedPath).z1v = function (i) {
2606
- return this.g1r_1[imul(i, 36) + 28 | 0];
2608
+ protoOf(GeneratedPath).speedMax_mjo2cl_k$ = function (i) {
2609
+ return this.data_1[imul(i, 36) + 28 | 0];
2607
2610
  };
2608
- protoOf(GeneratedPath).a1w = function (i, v) {
2609
- this.g1r_1[imul(i, 36) + 28 | 0] = v;
2611
+ protoOf(GeneratedPath).setSpeedMax_7xvqir_k$ = function (i, v) {
2612
+ this.data_1[imul(i, 36) + 28 | 0] = v;
2610
2613
  };
2611
- protoOf(GeneratedPath).b1w = function (i, v) {
2612
- this.g1r_1[imul(i, 36) + 29 | 0] = v;
2614
+ protoOf(GeneratedPath).setSpeedMaxIncline_8l69w1_k$ = function (i, v) {
2615
+ this.data_1[imul(i, 36) + 29 | 0] = v;
2613
2616
  };
2614
- protoOf(GeneratedPath).c1w = function (i, v) {
2615
- this.g1r_1[imul(i, 36) + 30 | 0] = v;
2617
+ protoOf(GeneratedPath).setVirtSpeedCurrent_kvg8yv_k$ = function (i, v) {
2618
+ this.data_1[imul(i, 36) + 30 | 0] = v;
2616
2619
  };
2617
- protoOf(GeneratedPath).n1r = function (i) {
2618
- return this.g1r_1[imul(i, 36) + 31 | 0];
2620
+ protoOf(GeneratedPath).temperature_6yw0ik_k$ = function (i) {
2621
+ return this.data_1[imul(i, 36) + 31 | 0];
2619
2622
  };
2620
- protoOf(GeneratedPath).g1s = function (i, v) {
2621
- this.g1r_1[imul(i, 36) + 31 | 0] = v;
2623
+ protoOf(GeneratedPath).setTemperature_nno5xs_k$ = function (i, v) {
2624
+ this.data_1[imul(i, 36) + 31 | 0] = v;
2622
2625
  };
2623
- protoOf(GeneratedPath).d1w = function (i, v) {
2624
- this.g1r_1[imul(i, 36) + 32 | 0] = v;
2626
+ protoOf(GeneratedPath).setWindSpeed_ggaslh_k$ = function (i, v) {
2627
+ this.data_1[imul(i, 36) + 32 | 0] = v;
2625
2628
  };
2626
- protoOf(GeneratedPath).e1w = function (i, v) {
2627
- this.g1r_1[imul(i, 36) + 33 | 0] = v;
2629
+ protoOf(GeneratedPath).setWindDirection_86vnxv_k$ = function (i, v) {
2630
+ this.data_1[imul(i, 36) + 33 | 0] = v;
2628
2631
  };
2629
- protoOf(GeneratedPath).l1r = function (i) {
2630
- return this.g1r_1[imul(i, 36) + 34 | 0];
2632
+ protoOf(GeneratedPath).heartRate_qiaqfm_k$ = function (i) {
2633
+ return this.data_1[imul(i, 36) + 34 | 0];
2631
2634
  };
2632
- protoOf(GeneratedPath).e1s = function (i, v) {
2633
- this.g1r_1[imul(i, 36) + 34 | 0] = v;
2635
+ protoOf(GeneratedPath).setHeartRate_3mzzq6_k$ = function (i, v) {
2636
+ this.data_1[imul(i, 36) + 34 | 0] = v;
2634
2637
  };
2635
- protoOf(GeneratedPath).m1r = function (i) {
2636
- return this.g1r_1[imul(i, 36) + 35 | 0];
2638
+ protoOf(GeneratedPath).cadence_h3r7af_k$ = function (i) {
2639
+ return this.data_1[imul(i, 36) + 35 | 0];
2637
2640
  };
2638
- protoOf(GeneratedPath).f1s = function (i, v) {
2639
- this.g1r_1[imul(i, 36) + 35 | 0] = v;
2641
+ protoOf(GeneratedPath).setCadence_ick7df_k$ = function (i, v) {
2642
+ this.data_1[imul(i, 36) + 35 | 0] = v;
2640
2643
  };
2641
2644
  function Companion_0() {
2642
- Companion_instance_0 = this;
2643
- this.f1w_1 = new BoundsRad(0.0, 0.0, 0.0, 0.0);
2645
+ Companion_instance_1 = this;
2646
+ this.EMPTY_1 = new BoundsRad(0.0, 0.0, 0.0, 0.0);
2644
2647
  }
2645
- var Companion_instance_0;
2648
+ var Companion_instance_1;
2646
2649
  function Companion_getInstance_1() {
2647
- if (Companion_instance_0 == null)
2650
+ if (Companion_instance_1 == null)
2648
2651
  new Companion_0();
2649
- return Companion_instance_0;
2652
+ return Companion_instance_1;
2650
2653
  }
2651
2654
  function BoundsRad(minLat, maxLat, minLon, maxLon) {
2652
2655
  Companion_getInstance_1();
2653
- this.g1w_1 = minLat;
2654
- this.h1w_1 = maxLat;
2655
- this.i1w_1 = minLon;
2656
- this.j1w_1 = maxLon;
2656
+ this.minLat_1 = minLat;
2657
+ this.maxLat_1 = maxLat;
2658
+ this.minLon_1 = minLon;
2659
+ this.maxLon_1 = maxLon;
2657
2660
  }
2658
2661
  protoOf(BoundsRad).toString = function () {
2659
- return 'BoundsRad(minLat=' + this.g1w_1 + ', maxLat=' + this.h1w_1 + ', minLon=' + this.i1w_1 + ', maxLon=' + this.j1w_1 + ')';
2662
+ return 'BoundsRad(minLat=' + this.minLat_1 + ', maxLat=' + this.maxLat_1 + ', minLon=' + this.minLon_1 + ', maxLon=' + this.maxLon_1 + ')';
2660
2663
  };
2661
2664
  protoOf(BoundsRad).hashCode = function () {
2662
- var result = getNumberHashCode(this.g1w_1);
2663
- result = imul(result, 31) + getNumberHashCode(this.h1w_1) | 0;
2664
- result = imul(result, 31) + getNumberHashCode(this.i1w_1) | 0;
2665
- result = imul(result, 31) + getNumberHashCode(this.j1w_1) | 0;
2665
+ var result = getNumberHashCode(this.minLat_1);
2666
+ result = imul(result, 31) + getNumberHashCode(this.maxLat_1) | 0;
2667
+ result = imul(result, 31) + getNumberHashCode(this.minLon_1) | 0;
2668
+ result = imul(result, 31) + getNumberHashCode(this.maxLon_1) | 0;
2666
2669
  return result;
2667
2670
  };
2668
2671
  protoOf(BoundsRad).equals = function (other) {
@@ -2670,39 +2673,39 @@
2670
2673
  return true;
2671
2674
  if (!(other instanceof BoundsRad))
2672
2675
  return false;
2673
- if (!equals(this.g1w_1, other.g1w_1))
2676
+ if (!equals(this.minLat_1, other.minLat_1))
2674
2677
  return false;
2675
- if (!equals(this.h1w_1, other.h1w_1))
2678
+ if (!equals(this.maxLat_1, other.maxLat_1))
2676
2679
  return false;
2677
- if (!equals(this.i1w_1, other.i1w_1))
2680
+ if (!equals(this.minLon_1, other.minLon_1))
2678
2681
  return false;
2679
- if (!equals(this.j1w_1, other.j1w_1))
2682
+ if (!equals(this.maxLon_1, other.maxLon_1))
2680
2683
  return false;
2681
2684
  return true;
2682
2685
  };
2683
2686
  function copyStatsFrom($this, other) {
2684
- $this.j1s_1 = other.j1s_1;
2685
- $this.k1s_1 = other.k1s_1;
2686
- $this.l1s_1 = other.l1s_1;
2687
- $this.m1s_1 = other.m1s_1;
2688
- $this.n1s_1 = other.n1s_1;
2689
- $this.o1s_1 = other.o1s_1;
2690
- $this.p1s_1 = other.p1s_1;
2687
+ $this.totalDistance_1 = other.totalDistance_1;
2688
+ $this.minElevation_1 = other.minElevation_1;
2689
+ $this.maxElevation_1 = other.maxElevation_1;
2690
+ $this.elevationGain_1 = other.elevationGain_1;
2691
+ $this.elevationLoss_1 = other.elevationLoss_1;
2692
+ $this.durationMs_1 = other.durationMs_1;
2693
+ $this.boundsRad_1 = other.boundsRad_1;
2691
2694
  }
2692
2695
  function resetStats($this) {
2693
- $this.j1s_1 = 0.0;
2694
- $this.k1s_1 = 0.0;
2695
- $this.l1s_1 = 0.0;
2696
- $this.m1s_1 = 0.0;
2697
- $this.n1s_1 = 0.0;
2698
- $this.o1s_1 = 0.0;
2699
- $this.p1s_1 = Companion_getInstance_1().f1w_1;
2696
+ $this.totalDistance_1 = 0.0;
2697
+ $this.minElevation_1 = 0.0;
2698
+ $this.maxElevation_1 = 0.0;
2699
+ $this.elevationGain_1 = 0.0;
2700
+ $this.elevationLoss_1 = 0.0;
2701
+ $this.durationMs_1 = 0.0;
2702
+ $this.boundsRad_1 = Companion_getInstance_1().EMPTY_1;
2700
2703
  }
2701
2704
  function computeBearing($this, from, to) {
2702
- var lat1 = $this.h1r(from);
2703
- var lon1 = $this.i1r(from);
2704
- var lat2 = $this.h1r(to);
2705
- var lon2 = $this.i1r(to);
2705
+ var lat1 = $this.latitude_gb4iok_k$(from);
2706
+ var lon1 = $this.longitude_a9xl_k$(from);
2707
+ var lat2 = $this.latitude_gb4iok_k$(to);
2708
+ var lon2 = $this.longitude_a9xl_k$(to);
2706
2709
  // Inline function 'kotlin.math.cos' call
2707
2710
  var x1 = lon1 * Math.cos(lat1);
2708
2711
  var y1 = lat1;
@@ -2717,38 +2720,38 @@
2717
2720
  }
2718
2721
  function Companion_1() {
2719
2722
  }
2720
- var Companion_instance_1;
2723
+ var Companion_instance_2;
2721
2724
  function Companion_getInstance_2() {
2722
- return Companion_instance_1;
2725
+ return Companion_instance_2;
2723
2726
  }
2724
2727
  function Path(size) {
2725
2728
  GeneratedPath.call(this, size);
2726
- this.j1s_1 = 0.0;
2727
- this.k1s_1 = 0.0;
2728
- this.l1s_1 = 0.0;
2729
- this.m1s_1 = 0.0;
2730
- this.n1s_1 = 0.0;
2731
- this.o1s_1 = 0.0;
2732
- this.p1s_1 = Companion_getInstance_1().f1w_1;
2733
- }
2734
- protoOf(Path).k1w = function () {
2735
- return until(0, this.f1r_1);
2736
- };
2737
- protoOf(Path).l1w = function (i) {
2738
- return this.h1r(i) * 57.29577951308232;
2739
- };
2740
- protoOf(Path).m1w = function (i) {
2741
- return this.i1r(i) * 57.29577951308232;
2742
- };
2743
- protoOf(Path).u1u = function (i) {
2744
- return new LatLonElevation(this.l1w(i), this.m1w(i), this.j1r(i));
2745
- };
2746
- protoOf(Path).n1w = function () {
2747
- var out = new Path(this.f1r_1);
2748
- var tmp0 = this.g1r_1;
2749
- var tmp2 = out.g1r_1;
2729
+ this.totalDistance_1 = 0.0;
2730
+ this.minElevation_1 = 0.0;
2731
+ this.maxElevation_1 = 0.0;
2732
+ this.elevationGain_1 = 0.0;
2733
+ this.elevationLoss_1 = 0.0;
2734
+ this.durationMs_1 = 0.0;
2735
+ this.boundsRad_1 = Companion_getInstance_1().EMPTY_1;
2736
+ }
2737
+ protoOf(Path).get_indices_xelk8u_k$ = function () {
2738
+ return until(0, this.size_1);
2739
+ };
2740
+ protoOf(Path).latitudeDeg_i25sm6_k$ = function (i) {
2741
+ return this.latitude_gb4iok_k$(i) * 57.29577951308232;
2742
+ };
2743
+ protoOf(Path).longitudeDeg_ikk1un_k$ = function (i) {
2744
+ return this.longitude_a9xl_k$(i) * 57.29577951308232;
2745
+ };
2746
+ protoOf(Path).coordinatesElevationAt_ru19z1_k$ = function (i) {
2747
+ return new LatLonElevation(this.latitudeDeg_i25sm6_k$(i), this.longitudeDeg_ikk1un_k$(i), this.elevation_iziwkb_k$(i));
2748
+ };
2749
+ protoOf(Path).copy_1tks5_k$ = function () {
2750
+ var out = new Path(this.size_1);
2751
+ var tmp0 = this.data_1;
2752
+ var tmp2 = out.data_1;
2750
2753
  // Inline function 'kotlin.collections.copyInto' call
2751
- var endIndex = this.g1r_1.length;
2754
+ var endIndex = this.data_1.length;
2752
2755
  // Inline function 'kotlin.js.unsafeCast' call
2753
2756
  // Inline function 'kotlin.js.asDynamic' call
2754
2757
  var tmp = tmp0;
@@ -2758,11 +2761,11 @@
2758
2761
  copyStatsFrom(out, this);
2759
2762
  return out;
2760
2763
  };
2761
- protoOf(Path).q1s = function () {
2764
+ protoOf(Path).computeDerivedData_uoxpeo_k$ = function () {
2762
2765
  resetStats(this);
2763
- if (this.f1r_1 === 0)
2766
+ if (this.size_1 === 0)
2764
2767
  return Unit_instance;
2765
- var timeStart = this.k1r(0);
2768
+ var timeStart = this.time_ryc845_k$(0);
2766
2769
  var cumDist = 0.0;
2767
2770
  var minLat = Infinity;
2768
2771
  var maxLat = -Infinity;
@@ -2773,14 +2776,14 @@
2773
2776
  var gain = 0.0;
2774
2777
  var loss = 0.0;
2775
2778
  var inductionVariable = 0;
2776
- var last = this.f1r_1;
2779
+ var last = this.size_1;
2777
2780
  if (inductionVariable < last)
2778
2781
  do {
2779
2782
  var i = inductionVariable;
2780
2783
  inductionVariable = inductionVariable + 1 | 0;
2781
- var lat = this.h1r(i);
2782
- var lon = this.i1r(i);
2783
- var ele = this.j1r(i);
2784
+ var lat = this.latitude_gb4iok_k$(i);
2785
+ var lon = this.longitude_a9xl_k$(i);
2786
+ var ele = this.elevation_iziwkb_k$(i);
2784
2787
  // Inline function 'kotlin.math.min' call
2785
2788
  var a = minLat;
2786
2789
  minLat = Math.min(a, lat);
@@ -2800,109 +2803,155 @@
2800
2803
  var a_4 = maxEle;
2801
2804
  maxEle = Math.max(a_4, ele);
2802
2805
  if (i > 0) {
2803
- var prevCoord = new LatLon(this.l1w(i - 1 | 0), this.m1w(i - 1 | 0));
2804
- var curCoord = new LatLon(this.l1w(i), this.m1w(i));
2805
- cumDist = cumDist + Distance_instance.rw(prevCoord, curCoord);
2806
- var dEle = ele - this.j1r(i - 1 | 0);
2806
+ var prevCoord = new LatLon(this.latitudeDeg_i25sm6_k$(i - 1 | 0), this.longitudeDeg_ikk1un_k$(i - 1 | 0));
2807
+ var curCoord = new LatLon(this.latitudeDeg_i25sm6_k$(i), this.longitudeDeg_ikk1un_k$(i));
2808
+ cumDist = cumDist + Distance_instance.haversine_mrx4ab_k$(prevCoord, curCoord);
2809
+ var dEle = ele - this.elevation_iziwkb_k$(i - 1 | 0);
2807
2810
  if (dEle > 0)
2808
2811
  gain = gain + dEle;
2809
2812
  else
2810
2813
  loss = loss + dEle;
2811
2814
  }
2812
- this.x1u(i, cumDist);
2815
+ this.setDistance_d14hwr_k$(i, cumDist);
2813
2816
  }
2814
2817
  while (inductionVariable < last);
2815
- this.j1s_1 = cumDist;
2816
- this.k1s_1 = minEle === Infinity ? 0.0 : minEle;
2817
- this.l1s_1 = maxEle === -Infinity ? 0.0 : maxEle;
2818
- this.m1s_1 = gain;
2819
- this.n1s_1 = loss;
2820
- this.p1s_1 = new BoundsRad(minLat, maxLat, minLon, maxLon);
2821
- this.o1s_1 = this.f1r_1 >= 2 ? this.k1r(this.f1r_1 - 1 | 0) - timeStart : 0.0;
2818
+ this.totalDistance_1 = cumDist;
2819
+ this.minElevation_1 = minEle === Infinity ? 0.0 : minEle;
2820
+ this.maxElevation_1 = maxEle === -Infinity ? 0.0 : maxEle;
2821
+ this.elevationGain_1 = gain;
2822
+ this.elevationLoss_1 = loss;
2823
+ this.boundsRad_1 = new BoundsRad(minLat, maxLat, minLon, maxLon);
2824
+ this.durationMs_1 = this.size_1 >= 2 ? this.time_ryc845_k$(this.size_1 - 1 | 0) - timeStart : 0.0;
2822
2825
  var inductionVariable_0 = 0;
2823
- var last_0 = this.f1r_1;
2826
+ var last_0 = this.size_1;
2824
2827
  if (inductionVariable_0 < last_0)
2825
2828
  $l$loop: do {
2826
2829
  var i_0 = inductionVariable_0;
2827
2830
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
2828
- this.a1v(i_0, (this.k1r(i_0) - timeStart) / 1000.0);
2829
- if (this.f1r_1 <= 1)
2831
+ this.setElapsed_916ug_k$(i_0, (this.time_ryc845_k$(i_0) - timeStart) / 1000.0);
2832
+ if (this.size_1 <= 1)
2830
2833
  continue $l$loop;
2831
2834
  // Inline function 'kotlin.math.max' call
2832
2835
  var b = i_0 - 1 | 0;
2833
2836
  var im1 = Math.max(0, b);
2834
- var tmp0 = this.f1r_1 - 1 | 0;
2837
+ var tmp0 = this.size_1 - 1 | 0;
2835
2838
  // Inline function 'kotlin.math.min' call
2836
2839
  var b_0 = i_0 + 1 | 0;
2837
2840
  var ip1 = Math.min(tmp0, b_0);
2838
- this.e1v(i_0, computeBearing(this, im1, ip1));
2839
- var dDist = (this.w1u(ip1) - this.w1u(im1)) / 2.0;
2840
- var dEle_0 = (this.j1r(ip1) - this.j1r(im1)) / 2.0;
2841
+ this.setBearing_in05l6_k$(i_0, computeBearing(this, im1, ip1));
2842
+ var dDist = (this.distance_5s4s77_k$(ip1) - this.distance_5s4s77_k$(im1)) / 2.0;
2843
+ var dEle_0 = (this.elevation_iziwkb_k$(ip1) - this.elevation_iziwkb_k$(im1)) / 2.0;
2841
2844
  var grade = dDist === 0.0 ? 0.0 : dEle_0 / dDist;
2842
- this.g1v(i_0, grade);
2843
- var dTime = (this.k1r(ip1) - this.k1r(im1)) / 2000.0;
2844
- this.y1u(i_0, dDist);
2845
- this.c1v(i_0, dTime);
2846
- this.y1v(i_0, dTime === 0.0 ? 0.0 : dDist / dTime);
2845
+ this.setGrade_3tur8z_k$(i_0, grade);
2846
+ var dTime = (this.time_ryc845_k$(ip1) - this.time_ryc845_k$(im1)) / 2000.0;
2847
+ this.setDx_uk0ky4_k$(i_0, dDist);
2848
+ this.setDt_sgarxs_k$(i_0, dTime);
2849
+ this.setSpeed_1slan1_k$(i_0, dTime === 0.0 ? 0.0 : dDist / dTime);
2847
2850
  }
2848
2851
  while (inductionVariable_0 < last_0);
2849
2852
  };
2850
2853
  function PathSimplifier() {
2851
2854
  }
2852
- protoOf(PathSimplifier).o1w = function (path, toleranceM, zExaggeration) {
2853
- if (path.f1r_1 <= 2)
2854
- return path.n1w();
2855
- var coords = ArrayList_init_$Create$_0(path.f1r_1);
2855
+ protoOf(PathSimplifier).simplify_gxhj7b_k$ = function (path, toleranceM, zExaggeration) {
2856
+ if (path.size_1 <= 2)
2857
+ return path.copy_1tks5_k$();
2858
+ var coords = ArrayList_init_$Create$_0(path.size_1);
2856
2859
  var inductionVariable = 0;
2857
- var last = path.f1r_1;
2860
+ var last = path.size_1;
2858
2861
  if (inductionVariable < last)
2859
2862
  do {
2860
2863
  var i = inductionVariable;
2861
2864
  inductionVariable = inductionVariable + 1 | 0;
2862
2865
  // Inline function 'kotlin.collections.plusAssign' call
2863
- var element = new LatLonElevation(path.h1r(i) * 57.29577951308232, path.i1r(i) * 57.29577951308232, path.j1r(i));
2864
- coords.h(element);
2866
+ var element = new LatLonElevation(path.latitude_gb4iok_k$(i) * 57.29577951308232, path.longitude_a9xl_k$(i) * 57.29577951308232, path.elevation_iziwkb_k$(i));
2867
+ coords.add_utx5q5_k$(element);
2865
2868
  }
2866
2869
  while (inductionVariable < last);
2867
- var simplified = DouglasPeucker_instance.ow(coords, toleranceM, zExaggeration);
2868
- var retainedIndices = ArrayList_init_$Create$_0(simplified.l());
2870
+ var simplified = DouglasPeucker_instance.simplify_o1pnyo_k$(coords, toleranceM, zExaggeration);
2871
+ var retainedIndices = ArrayList_init_$Create$_0(simplified.get_size_woubt6_k$());
2869
2872
  var cursor = 0;
2870
- var _iterator__ex2g4s = simplified.i();
2871
- while (_iterator__ex2g4s.j()) {
2872
- var kept = _iterator__ex2g4s.k();
2873
- while (cursor < coords.l() && !(coords.m(cursor) === kept)) {
2873
+ var _iterator__ex2g4s = simplified.iterator_jk1svi_k$();
2874
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
2875
+ var kept = _iterator__ex2g4s.next_20eer_k$();
2876
+ while (cursor < coords.get_size_woubt6_k$() && !(coords.get_c1px32_k$(cursor) === kept)) {
2874
2877
  cursor = cursor + 1 | 0;
2875
2878
  }
2876
- if (cursor === coords.l()) {
2879
+ if (cursor === coords.get_size_woubt6_k$()) {
2877
2880
  // Inline function 'kotlin.error' call
2878
2881
  var message = 'PathSimplifier: retained point not found in source';
2879
2882
  throw IllegalStateException_init_$Create$(toString_0(message));
2880
2883
  }
2881
2884
  // Inline function 'kotlin.collections.plusAssign' call
2882
2885
  var element_0 = cursor;
2883
- retainedIndices.h(element_0);
2886
+ retainedIndices.add_utx5q5_k$(element_0);
2884
2887
  cursor = cursor + 1 | 0;
2885
2888
  }
2886
- var out = new Path(retainedIndices.l());
2887
- var iterator = retainedIndices.i();
2889
+ var out = new Path(retainedIndices.get_size_woubt6_k$());
2890
+ var iterator = retainedIndices.iterator_jk1svi_k$();
2888
2891
  var index = 0;
2889
- while (iterator.j()) {
2892
+ while (iterator.hasNext_bitz1p_k$()) {
2890
2893
  var dstIdx = index;
2891
2894
  index = index + 1 | 0;
2892
- var srcIdx = iterator.k();
2893
- var _iterator__ex2g4s_0 = get_entries_0().i();
2894
- while (_iterator__ex2g4s_0.j()) {
2895
- var field = _iterator__ex2g4s_0.k();
2896
- out.f1u(dstIdx, field, path.y1t(srcIdx, field));
2895
+ var srcIdx = iterator.next_20eer_k$();
2896
+ var _iterator__ex2g4s_0 = get_entries_0().iterator_jk1svi_k$();
2897
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
2898
+ var field = _iterator__ex2g4s_0.next_20eer_k$();
2899
+ out.set_b3ze83_k$(dstIdx, field, path.get_z3le6l_k$(srcIdx, field));
2897
2900
  }
2898
2901
  }
2899
- out.q1s();
2902
+ out.computeDerivedData_uoxpeo_k$();
2900
2903
  return out;
2901
2904
  };
2902
2905
  var PathSimplifier_instance;
2903
2906
  function PathSimplifier_getInstance() {
2904
2907
  return PathSimplifier_instance;
2905
2908
  }
2909
+ var static_init_called_1;
2910
+ function static_init_1() {
2911
+ if (static_init_called_1)
2912
+ return Unit_instance;
2913
+ static_init_called_1 = true;
2914
+ PointField_LATITUDE_instance = new PointField('LATITUDE', 0, 'latitude', 'radians', 'Latitude (radians)', PointFieldCategory_COORDINATES_getInstance(), true, true);
2915
+ PointField_LONGITUDE_instance = new PointField('LONGITUDE', 1, 'longitude', 'radians', 'Longitude (radians)', PointFieldCategory_COORDINATES_getInstance(), true, true);
2916
+ PointField_DISTANCE_instance = new PointField('DISTANCE', 2, 'distance', 'meters', 'Distance (meters)', PointFieldCategory_COORDINATES_getInstance());
2917
+ PointField_DX_instance = new PointField('DX', 3, 'dx', 'meters', 'dx (meters)', PointFieldCategory_COORDINATES_getInstance());
2918
+ PointField_TIME_instance = new PointField('TIME', 4, 'time', 'ms', 'Timestamp (ms since epoch)', PointFieldCategory_TEMPORAL_getInstance(), true);
2919
+ PointField_ELAPSED_instance = new PointField('ELAPSED', 5, 'elapsed', 'ms', 'Elapsed duration (ms)', PointFieldCategory_TEMPORAL_getInstance());
2920
+ PointField_DT_instance = new PointField('DT', 6, 'dt', 'ms', 'dt (ms)', PointFieldCategory_TEMPORAL_getInstance());
2921
+ PointField_BEARING_instance = new PointField('BEARING', 7, 'bearing', 'radians', 'Direction bearing (radians)', PointFieldCategory_ANGLES_getInstance(), VOID, true);
2922
+ PointField_ELEVATION_instance = new PointField('ELEVATION', 8, 'elevation', 'meters', 'Elevation (meters)', PointFieldCategory_ELEVATION_getInstance());
2923
+ PointField_GRADE_instance = new PointField('GRADE', 9, 'grade', '%', 'Road grade/slope (%)', PointFieldCategory_GRADE_getInstance());
2924
+ PointField_RADIUS_instance = new PointField('RADIUS', 10, 'radius', 'meters', 'Turn radius (meters)', PointFieldCategory_RADIUS_getInstance());
2925
+ PointField_AERO_COEF_instance = new PointField('AERO_COEF', 11, 'aeroCoef', 'aero', 'Aerodynamic coefficient', PointFieldCategory_AERO_COEF_getInstance());
2926
+ PointField_WIND_BEARING_instance = new PointField('WIND_BEARING', 12, 'windBearing', 'radians', 'Wind bearing (radians)', PointFieldCategory_CYCLIST_WIND_getInstance(), VOID, true);
2927
+ PointField_WIND_ALPHA_instance = new PointField('WIND_ALPHA', 13, 'windAlpha', 'radians', 'Wind angle (radians)', PointFieldCategory_CYCLIST_WIND_getInstance(), VOID, true);
2928
+ PointField_P_AERO_instance = new PointField('P_AERO', 14, 'pAero', 'watts', 'Aerodynamic power', PointFieldCategory_POWER_PHYSICS_getInstance());
2929
+ PointField_P_GRAVITY_instance = new PointField('P_GRAVITY', 15, 'pGravity', 'watts', 'Gravitational power', PointFieldCategory_POWER_PHYSICS_getInstance());
2930
+ PointField_P_ROLLING_RESISTANCE_instance = new PointField('P_ROLLING_RESISTANCE', 16, 'pRollingResistance', 'watts', 'Rolling resistance power', PointFieldCategory_POWER_PHYSICS_getInstance());
2931
+ PointField_P_WHEEL_BEARINGS_instance = new PointField('P_WHEEL_BEARINGS', 17, 'pWheelBearings', 'watts', 'Wheel bearings power', PointFieldCategory_POWER_PHYSICS_getInstance());
2932
+ PointField_P_INPUT_POWER_instance = new PointField('P_INPUT_POWER', 18, 'pInputPower', 'watts', 'GPX input power', PointFieldCategory_POWER_CYCLIST_getInstance());
2933
+ PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_instance = new PointField('P_CYCLIST_PROVIDED_OPTIMAL_POWER', 19, 'pCyclistProvidedOptimalPower', 'watts', 'Optimal power', PointFieldCategory_POWER_CYCLIST_getInstance());
2934
+ PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_HARMONICS_instance = new PointField('P_CYCLIST_PROVIDED_OPTIMAL_POWER_HARMONICS', 20, 'pCyclistProvidedOptimalPowerWithHarmonics', 'watts', 'Optimal power with harmonics', PointFieldCategory_POWER_CYCLIST_getInstance());
2935
+ PointField_P_CYCLIST_PROVIDED_POWER_NEEDED_instance = new PointField('P_CYCLIST_PROVIDED_POWER_NEEDED', 21, 'pCyclistPowerNeeded', 'watts', 'Power needed', PointFieldCategory_POWER_CYCLIST_getInstance());
2936
+ PointField_P_CYCLIST_PROVIDED_MUSCULAR_instance = new PointField('P_CYCLIST_PROVIDED_MUSCULAR', 22, 'pCyclistProvidedMuscular', 'watts', 'Raw cyclist power', PointFieldCategory_POWER_CYCLIST_getInstance());
2937
+ PointField_P_CYCLIST_PROVIDED_WHEEL_instance = new PointField('P_CYCLIST_PROVIDED_WHEEL', 23, 'pCyclistProvidedWheel', 'watts', 'Cyclist power transmitted to ground', PointFieldCategory_POWER_CYCLIST_getInstance());
2938
+ PointField_P_COMPUTED_TOTAL_POWER_instance = new PointField('P_COMPUTED_TOTAL_POWER', 24, 'pComputedTotalPower', 'watts', 'Power from kinetic energy change', PointFieldCategory_POWER_POST_getInstance());
2939
+ PointField_P_COMPUTED_WHEEL_POWER_instance = new PointField('P_COMPUTED_WHEEL_POWER', 25, 'pComputedWheelPower', 'watts', 'Wheel power from kinetic energy change', PointFieldCategory_POWER_POST_getInstance());
2940
+ PointField_POWER_instance = new PointField('POWER', 26, 'pComputedPower', 'watts', 'Total power (watts)', PointFieldCategory_POWER_POST_getInstance());
2941
+ PointField_SPEED_instance = new PointField('SPEED', 27, 'speed', 'm/s', 'Current speed (m/s)', PointFieldCategory_SPEED_getInstance());
2942
+ PointField_SPEED_MAX_instance = new PointField('SPEED_MAX', 28, 'speedMax', 'm/s', 'Maximum speed (m/s)', PointFieldCategory_SPEED_getInstance());
2943
+ PointField_SPEED_MAX_INCLINE_instance = new PointField('SPEED_MAX_INCLINE', 29, 'speedMaxIncline', 'm/s', 'Max speed on incline (m/s)', PointFieldCategory_SPEED_getInstance());
2944
+ PointField_VIRT_SPEED_CURRENT_instance = new PointField('VIRT_SPEED_CURRENT', 30, 'virtSpeedCurrent', 'm/s', 'Virtual current speed (m/s)', PointFieldCategory_SPEED_getInstance());
2945
+ PointField_TEMPERATURE_instance = new PointField('TEMPERATURE', 31, 'temperature', 'celsius', 'Temperature (celsius)', PointFieldCategory_ENVIRONMENTAL_getInstance());
2946
+ PointField_WIND_SPEED_instance = new PointField('WIND_SPEED', 32, 'windSpeed', 'm/s', 'Wind speed (m/s)', PointFieldCategory_ENVIRONMENTAL_getInstance());
2947
+ PointField_WIND_DIRECTION_instance = new PointField('WIND_DIRECTION', 33, 'windDirection', 'radians', 'Wind direction (radians)', PointFieldCategory_ENVIRONMENTAL_getInstance(), VOID, true);
2948
+ PointField_HEART_RATE_instance = new PointField('HEART_RATE', 34, 'heartRate', 'bpm', 'Heart rate (bpm)', PointFieldCategory_PHYSIOLOGICAL_getInstance());
2949
+ PointField_CADENCE_instance = new PointField('CADENCE', 35, 'cadence', 'rpm', 'Pedaling cadence (rpm)', PointFieldCategory_PHYSIOLOGICAL_getInstance());
2950
+ if (Companion_instance_3 == null) {
2951
+ Companion_instance;
2952
+ new Companion_2();
2953
+ }
2954
+ }
2906
2955
  var PointField_LATITUDE_instance;
2907
2956
  var PointField_LONGITUDE_instance;
2908
2957
  var PointField_DISTANCE_instance;
@@ -2940,258 +2989,201 @@
2940
2989
  var PointField_HEART_RATE_instance;
2941
2990
  var PointField_CADENCE_instance;
2942
2991
  function Companion_2() {
2943
- Companion_instance_2 = this;
2944
- this.p1w_1 = 36;
2992
+ Companion_instance_3 = this;
2993
+ this.COUNT_1 = 36;
2945
2994
  var tmp = this;
2946
2995
  // Inline function 'kotlin.collections.associateBy' call
2947
2996
  var this_0 = get_entries_0();
2948
2997
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
2949
2998
  // Inline function 'kotlin.collections.associateByTo' call
2950
2999
  var destination = LinkedHashMap_init_$Create$(capacity);
2951
- var _iterator__ex2g4s = this_0.i();
2952
- while (_iterator__ex2g4s.j()) {
2953
- var element = _iterator__ex2g4s.k();
2954
- var tmp$ret$2 = element.m1t_1;
2955
- destination.c3(tmp$ret$2, element);
3000
+ var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
3001
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3002
+ var element = _iterator__ex2g4s.next_20eer_k$();
3003
+ var tmp$ret$2 = element.prop_1;
3004
+ destination.put_4fpzoq_k$(tmp$ret$2, element);
2956
3005
  }
2957
- tmp.q1w_1 = destination;
3006
+ tmp.byPropMap_1 = destination;
2958
3007
  }
2959
- protoOf(Companion_2).r1w = function (prop) {
2960
- return this.q1w_1.k1(prop);
3008
+ protoOf(Companion_2).byProp_kdf1eo_k$ = function (prop) {
3009
+ return this.byPropMap_1.get_wei43m_k$(prop);
2961
3010
  };
2962
- var Companion_instance_2;
3011
+ var Companion_instance_3;
2963
3012
  function Companion_getInstance_3() {
2964
- PointField_initEntries();
2965
- if (Companion_instance_2 == null)
2966
- new Companion_2();
2967
- return Companion_instance_2;
3013
+ static_init_1();
3014
+ return Companion_instance_3;
2968
3015
  }
2969
3016
  function values_0() {
3017
+ static_init_1();
2970
3018
  return [PointField_LATITUDE_getInstance(), PointField_LONGITUDE_getInstance(), PointField_DISTANCE_getInstance(), PointField_DX_getInstance(), PointField_TIME_getInstance(), PointField_ELAPSED_getInstance(), PointField_DT_getInstance(), PointField_BEARING_getInstance(), PointField_ELEVATION_getInstance(), PointField_GRADE_getInstance(), PointField_RADIUS_getInstance(), PointField_AERO_COEF_getInstance(), PointField_WIND_BEARING_getInstance(), PointField_WIND_ALPHA_getInstance(), PointField_P_AERO_getInstance(), PointField_P_GRAVITY_getInstance(), PointField_P_ROLLING_RESISTANCE_getInstance(), PointField_P_WHEEL_BEARINGS_getInstance(), PointField_P_INPUT_POWER_getInstance(), PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_getInstance(), PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_HARMONICS_getInstance(), PointField_P_CYCLIST_PROVIDED_POWER_NEEDED_getInstance(), PointField_P_CYCLIST_PROVIDED_MUSCULAR_getInstance(), PointField_P_CYCLIST_PROVIDED_WHEEL_getInstance(), PointField_P_COMPUTED_TOTAL_POWER_getInstance(), PointField_P_COMPUTED_WHEEL_POWER_getInstance(), PointField_POWER_getInstance(), PointField_SPEED_getInstance(), PointField_SPEED_MAX_getInstance(), PointField_SPEED_MAX_INCLINE_getInstance(), PointField_VIRT_SPEED_CURRENT_getInstance(), PointField_TEMPERATURE_getInstance(), PointField_WIND_SPEED_getInstance(), PointField_WIND_DIRECTION_getInstance(), PointField_HEART_RATE_getInstance(), PointField_CADENCE_getInstance()];
2971
3019
  }
2972
3020
  function get_entries_0() {
3021
+ static_init_1();
2973
3022
  if ($ENTRIES_0 == null)
2974
3023
  $ENTRIES_0 = enumEntries(values_0());
2975
3024
  return $ENTRIES_0;
2976
3025
  }
2977
- var PointField_entriesInitialized;
2978
- function PointField_initEntries() {
2979
- if (PointField_entriesInitialized)
2980
- return Unit_instance;
2981
- PointField_entriesInitialized = true;
2982
- PointField_LATITUDE_instance = new PointField('LATITUDE', 0, 'latitude', 'radians', 'Latitude (radians)', PointFieldCategory_COORDINATES_getInstance(), true, true);
2983
- PointField_LONGITUDE_instance = new PointField('LONGITUDE', 1, 'longitude', 'radians', 'Longitude (radians)', PointFieldCategory_COORDINATES_getInstance(), true, true);
2984
- PointField_DISTANCE_instance = new PointField('DISTANCE', 2, 'distance', 'meters', 'Distance (meters)', PointFieldCategory_COORDINATES_getInstance());
2985
- PointField_DX_instance = new PointField('DX', 3, 'dx', 'meters', 'dx (meters)', PointFieldCategory_COORDINATES_getInstance());
2986
- PointField_TIME_instance = new PointField('TIME', 4, 'time', 'ms', 'Timestamp (ms since epoch)', PointFieldCategory_TEMPORAL_getInstance(), true);
2987
- PointField_ELAPSED_instance = new PointField('ELAPSED', 5, 'elapsed', 'ms', 'Elapsed duration (ms)', PointFieldCategory_TEMPORAL_getInstance());
2988
- PointField_DT_instance = new PointField('DT', 6, 'dt', 'ms', 'dt (ms)', PointFieldCategory_TEMPORAL_getInstance());
2989
- PointField_BEARING_instance = new PointField('BEARING', 7, 'bearing', 'radians', 'Direction bearing (radians)', PointFieldCategory_ANGLES_getInstance(), VOID, true);
2990
- PointField_ELEVATION_instance = new PointField('ELEVATION', 8, 'elevation', 'meters', 'Elevation (meters)', PointFieldCategory_ELEVATION_getInstance());
2991
- PointField_GRADE_instance = new PointField('GRADE', 9, 'grade', '%', 'Road grade/slope (%)', PointFieldCategory_GRADE_getInstance());
2992
- PointField_RADIUS_instance = new PointField('RADIUS', 10, 'radius', 'meters', 'Turn radius (meters)', PointFieldCategory_RADIUS_getInstance());
2993
- PointField_AERO_COEF_instance = new PointField('AERO_COEF', 11, 'aeroCoef', 'aero', 'Aerodynamic coefficient', PointFieldCategory_AERO_COEF_getInstance());
2994
- PointField_WIND_BEARING_instance = new PointField('WIND_BEARING', 12, 'windBearing', 'radians', 'Wind bearing (radians)', PointFieldCategory_CYCLIST_WIND_getInstance(), VOID, true);
2995
- PointField_WIND_ALPHA_instance = new PointField('WIND_ALPHA', 13, 'windAlpha', 'radians', 'Wind angle (radians)', PointFieldCategory_CYCLIST_WIND_getInstance(), VOID, true);
2996
- PointField_P_AERO_instance = new PointField('P_AERO', 14, 'pAero', 'watts', 'Aerodynamic power', PointFieldCategory_POWER_PHYSICS_getInstance());
2997
- PointField_P_GRAVITY_instance = new PointField('P_GRAVITY', 15, 'pGravity', 'watts', 'Gravitational power', PointFieldCategory_POWER_PHYSICS_getInstance());
2998
- PointField_P_ROLLING_RESISTANCE_instance = new PointField('P_ROLLING_RESISTANCE', 16, 'pRollingResistance', 'watts', 'Rolling resistance power', PointFieldCategory_POWER_PHYSICS_getInstance());
2999
- PointField_P_WHEEL_BEARINGS_instance = new PointField('P_WHEEL_BEARINGS', 17, 'pWheelBearings', 'watts', 'Wheel bearings power', PointFieldCategory_POWER_PHYSICS_getInstance());
3000
- PointField_P_INPUT_POWER_instance = new PointField('P_INPUT_POWER', 18, 'pInputPower', 'watts', 'GPX input power', PointFieldCategory_POWER_CYCLIST_getInstance());
3001
- PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_instance = new PointField('P_CYCLIST_PROVIDED_OPTIMAL_POWER', 19, 'pCyclistProvidedOptimalPower', 'watts', 'Optimal power', PointFieldCategory_POWER_CYCLIST_getInstance());
3002
- PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_HARMONICS_instance = new PointField('P_CYCLIST_PROVIDED_OPTIMAL_POWER_HARMONICS', 20, 'pCyclistProvidedOptimalPowerWithHarmonics', 'watts', 'Optimal power with harmonics', PointFieldCategory_POWER_CYCLIST_getInstance());
3003
- PointField_P_CYCLIST_PROVIDED_POWER_NEEDED_instance = new PointField('P_CYCLIST_PROVIDED_POWER_NEEDED', 21, 'pCyclistPowerNeeded', 'watts', 'Power needed', PointFieldCategory_POWER_CYCLIST_getInstance());
3004
- PointField_P_CYCLIST_PROVIDED_MUSCULAR_instance = new PointField('P_CYCLIST_PROVIDED_MUSCULAR', 22, 'pCyclistProvidedMuscular', 'watts', 'Raw cyclist power', PointFieldCategory_POWER_CYCLIST_getInstance());
3005
- PointField_P_CYCLIST_PROVIDED_WHEEL_instance = new PointField('P_CYCLIST_PROVIDED_WHEEL', 23, 'pCyclistProvidedWheel', 'watts', 'Cyclist power transmitted to ground', PointFieldCategory_POWER_CYCLIST_getInstance());
3006
- PointField_P_COMPUTED_TOTAL_POWER_instance = new PointField('P_COMPUTED_TOTAL_POWER', 24, 'pComputedTotalPower', 'watts', 'Power from kinetic energy change', PointFieldCategory_POWER_POST_getInstance());
3007
- PointField_P_COMPUTED_WHEEL_POWER_instance = new PointField('P_COMPUTED_WHEEL_POWER', 25, 'pComputedWheelPower', 'watts', 'Wheel power from kinetic energy change', PointFieldCategory_POWER_POST_getInstance());
3008
- PointField_POWER_instance = new PointField('POWER', 26, 'pComputedPower', 'watts', 'Total power (watts)', PointFieldCategory_POWER_POST_getInstance());
3009
- PointField_SPEED_instance = new PointField('SPEED', 27, 'speed', 'm/s', 'Current speed (m/s)', PointFieldCategory_SPEED_getInstance());
3010
- PointField_SPEED_MAX_instance = new PointField('SPEED_MAX', 28, 'speedMax', 'm/s', 'Maximum speed (m/s)', PointFieldCategory_SPEED_getInstance());
3011
- PointField_SPEED_MAX_INCLINE_instance = new PointField('SPEED_MAX_INCLINE', 29, 'speedMaxIncline', 'm/s', 'Max speed on incline (m/s)', PointFieldCategory_SPEED_getInstance());
3012
- PointField_VIRT_SPEED_CURRENT_instance = new PointField('VIRT_SPEED_CURRENT', 30, 'virtSpeedCurrent', 'm/s', 'Virtual current speed (m/s)', PointFieldCategory_SPEED_getInstance());
3013
- PointField_TEMPERATURE_instance = new PointField('TEMPERATURE', 31, 'temperature', 'celsius', 'Temperature (celsius)', PointFieldCategory_ENVIRONMENTAL_getInstance());
3014
- PointField_WIND_SPEED_instance = new PointField('WIND_SPEED', 32, 'windSpeed', 'm/s', 'Wind speed (m/s)', PointFieldCategory_ENVIRONMENTAL_getInstance());
3015
- PointField_WIND_DIRECTION_instance = new PointField('WIND_DIRECTION', 33, 'windDirection', 'radians', 'Wind direction (radians)', PointFieldCategory_ENVIRONMENTAL_getInstance(), VOID, true);
3016
- PointField_HEART_RATE_instance = new PointField('HEART_RATE', 34, 'heartRate', 'bpm', 'Heart rate (bpm)', PointFieldCategory_PHYSIOLOGICAL_getInstance());
3017
- PointField_CADENCE_instance = new PointField('CADENCE', 35, 'cadence', 'rpm', 'Pedaling cadence (rpm)', PointFieldCategory_PHYSIOLOGICAL_getInstance());
3018
- Companion_getInstance_3();
3019
- }
3020
3026
  var $ENTRIES_0;
3021
3027
  function PointField(name, ordinal, prop, unit, shortDescription, category, notSelectable, anglesInRadians) {
3022
3028
  notSelectable = notSelectable === VOID ? false : notSelectable;
3023
3029
  anglesInRadians = anglesInRadians === VOID ? false : anglesInRadians;
3024
3030
  Enum.call(this, name, ordinal);
3025
- this.m1t_1 = prop;
3026
- this.n1t_1 = unit;
3027
- this.o1t_1 = shortDescription;
3028
- this.p1t_1 = category;
3029
- this.q1t_1 = notSelectable;
3030
- this.r1t_1 = anglesInRadians;
3031
+ this.prop_1 = prop;
3032
+ this.unit_1 = unit;
3033
+ this.shortDescription_1 = shortDescription;
3034
+ this.category_1 = category;
3035
+ this.notSelectable_1 = notSelectable;
3036
+ this.anglesInRadians_1 = anglesInRadians;
3031
3037
  }
3032
3038
  function PointField_LATITUDE_getInstance() {
3033
- PointField_initEntries();
3039
+ static_init_1();
3034
3040
  return PointField_LATITUDE_instance;
3035
3041
  }
3036
3042
  function PointField_LONGITUDE_getInstance() {
3037
- PointField_initEntries();
3043
+ static_init_1();
3038
3044
  return PointField_LONGITUDE_instance;
3039
3045
  }
3040
3046
  function PointField_DISTANCE_getInstance() {
3041
- PointField_initEntries();
3047
+ static_init_1();
3042
3048
  return PointField_DISTANCE_instance;
3043
3049
  }
3044
3050
  function PointField_DX_getInstance() {
3045
- PointField_initEntries();
3051
+ static_init_1();
3046
3052
  return PointField_DX_instance;
3047
3053
  }
3048
3054
  function PointField_TIME_getInstance() {
3049
- PointField_initEntries();
3055
+ static_init_1();
3050
3056
  return PointField_TIME_instance;
3051
3057
  }
3052
3058
  function PointField_ELAPSED_getInstance() {
3053
- PointField_initEntries();
3059
+ static_init_1();
3054
3060
  return PointField_ELAPSED_instance;
3055
3061
  }
3056
3062
  function PointField_DT_getInstance() {
3057
- PointField_initEntries();
3063
+ static_init_1();
3058
3064
  return PointField_DT_instance;
3059
3065
  }
3060
3066
  function PointField_BEARING_getInstance() {
3061
- PointField_initEntries();
3067
+ static_init_1();
3062
3068
  return PointField_BEARING_instance;
3063
3069
  }
3064
3070
  function PointField_ELEVATION_getInstance() {
3065
- PointField_initEntries();
3071
+ static_init_1();
3066
3072
  return PointField_ELEVATION_instance;
3067
3073
  }
3068
3074
  function PointField_GRADE_getInstance() {
3069
- PointField_initEntries();
3075
+ static_init_1();
3070
3076
  return PointField_GRADE_instance;
3071
3077
  }
3072
3078
  function PointField_RADIUS_getInstance() {
3073
- PointField_initEntries();
3079
+ static_init_1();
3074
3080
  return PointField_RADIUS_instance;
3075
3081
  }
3076
3082
  function PointField_AERO_COEF_getInstance() {
3077
- PointField_initEntries();
3083
+ static_init_1();
3078
3084
  return PointField_AERO_COEF_instance;
3079
3085
  }
3080
3086
  function PointField_WIND_BEARING_getInstance() {
3081
- PointField_initEntries();
3087
+ static_init_1();
3082
3088
  return PointField_WIND_BEARING_instance;
3083
3089
  }
3084
3090
  function PointField_WIND_ALPHA_getInstance() {
3085
- PointField_initEntries();
3091
+ static_init_1();
3086
3092
  return PointField_WIND_ALPHA_instance;
3087
3093
  }
3088
3094
  function PointField_P_AERO_getInstance() {
3089
- PointField_initEntries();
3095
+ static_init_1();
3090
3096
  return PointField_P_AERO_instance;
3091
3097
  }
3092
3098
  function PointField_P_GRAVITY_getInstance() {
3093
- PointField_initEntries();
3099
+ static_init_1();
3094
3100
  return PointField_P_GRAVITY_instance;
3095
3101
  }
3096
3102
  function PointField_P_ROLLING_RESISTANCE_getInstance() {
3097
- PointField_initEntries();
3103
+ static_init_1();
3098
3104
  return PointField_P_ROLLING_RESISTANCE_instance;
3099
3105
  }
3100
3106
  function PointField_P_WHEEL_BEARINGS_getInstance() {
3101
- PointField_initEntries();
3107
+ static_init_1();
3102
3108
  return PointField_P_WHEEL_BEARINGS_instance;
3103
3109
  }
3104
3110
  function PointField_P_INPUT_POWER_getInstance() {
3105
- PointField_initEntries();
3111
+ static_init_1();
3106
3112
  return PointField_P_INPUT_POWER_instance;
3107
3113
  }
3108
3114
  function PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_getInstance() {
3109
- PointField_initEntries();
3115
+ static_init_1();
3110
3116
  return PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_instance;
3111
3117
  }
3112
3118
  function PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_HARMONICS_getInstance() {
3113
- PointField_initEntries();
3119
+ static_init_1();
3114
3120
  return PointField_P_CYCLIST_PROVIDED_OPTIMAL_POWER_HARMONICS_instance;
3115
3121
  }
3116
3122
  function PointField_P_CYCLIST_PROVIDED_POWER_NEEDED_getInstance() {
3117
- PointField_initEntries();
3123
+ static_init_1();
3118
3124
  return PointField_P_CYCLIST_PROVIDED_POWER_NEEDED_instance;
3119
3125
  }
3120
3126
  function PointField_P_CYCLIST_PROVIDED_MUSCULAR_getInstance() {
3121
- PointField_initEntries();
3127
+ static_init_1();
3122
3128
  return PointField_P_CYCLIST_PROVIDED_MUSCULAR_instance;
3123
3129
  }
3124
3130
  function PointField_P_CYCLIST_PROVIDED_WHEEL_getInstance() {
3125
- PointField_initEntries();
3131
+ static_init_1();
3126
3132
  return PointField_P_CYCLIST_PROVIDED_WHEEL_instance;
3127
3133
  }
3128
3134
  function PointField_P_COMPUTED_TOTAL_POWER_getInstance() {
3129
- PointField_initEntries();
3135
+ static_init_1();
3130
3136
  return PointField_P_COMPUTED_TOTAL_POWER_instance;
3131
3137
  }
3132
3138
  function PointField_P_COMPUTED_WHEEL_POWER_getInstance() {
3133
- PointField_initEntries();
3139
+ static_init_1();
3134
3140
  return PointField_P_COMPUTED_WHEEL_POWER_instance;
3135
3141
  }
3136
3142
  function PointField_POWER_getInstance() {
3137
- PointField_initEntries();
3143
+ static_init_1();
3138
3144
  return PointField_POWER_instance;
3139
3145
  }
3140
3146
  function PointField_SPEED_getInstance() {
3141
- PointField_initEntries();
3147
+ static_init_1();
3142
3148
  return PointField_SPEED_instance;
3143
3149
  }
3144
3150
  function PointField_SPEED_MAX_getInstance() {
3145
- PointField_initEntries();
3151
+ static_init_1();
3146
3152
  return PointField_SPEED_MAX_instance;
3147
3153
  }
3148
3154
  function PointField_SPEED_MAX_INCLINE_getInstance() {
3149
- PointField_initEntries();
3155
+ static_init_1();
3150
3156
  return PointField_SPEED_MAX_INCLINE_instance;
3151
3157
  }
3152
3158
  function PointField_VIRT_SPEED_CURRENT_getInstance() {
3153
- PointField_initEntries();
3159
+ static_init_1();
3154
3160
  return PointField_VIRT_SPEED_CURRENT_instance;
3155
3161
  }
3156
3162
  function PointField_TEMPERATURE_getInstance() {
3157
- PointField_initEntries();
3163
+ static_init_1();
3158
3164
  return PointField_TEMPERATURE_instance;
3159
3165
  }
3160
3166
  function PointField_WIND_SPEED_getInstance() {
3161
- PointField_initEntries();
3167
+ static_init_1();
3162
3168
  return PointField_WIND_SPEED_instance;
3163
3169
  }
3164
3170
  function PointField_WIND_DIRECTION_getInstance() {
3165
- PointField_initEntries();
3171
+ static_init_1();
3166
3172
  return PointField_WIND_DIRECTION_instance;
3167
3173
  }
3168
3174
  function PointField_HEART_RATE_getInstance() {
3169
- PointField_initEntries();
3175
+ static_init_1();
3170
3176
  return PointField_HEART_RATE_instance;
3171
3177
  }
3172
3178
  function PointField_CADENCE_getInstance() {
3173
- PointField_initEntries();
3179
+ static_init_1();
3174
3180
  return PointField_CADENCE_instance;
3175
3181
  }
3176
- var PointFieldCategory_COORDINATES_instance;
3177
- var PointFieldCategory_TEMPORAL_instance;
3178
- var PointFieldCategory_ANGLES_instance;
3179
- var PointFieldCategory_ELEVATION_instance;
3180
- var PointFieldCategory_GRADE_instance;
3181
- var PointFieldCategory_RADIUS_instance;
3182
- var PointFieldCategory_AERO_COEF_instance;
3183
- var PointFieldCategory_CYCLIST_WIND_instance;
3184
- var PointFieldCategory_POWER_PHYSICS_instance;
3185
- var PointFieldCategory_POWER_CYCLIST_instance;
3186
- var PointFieldCategory_POWER_POST_instance;
3187
- var PointFieldCategory_SPEED_instance;
3188
- var PointFieldCategory_ENVIRONMENTAL_instance;
3189
- var PointFieldCategory_PHYSIOLOGICAL_instance;
3190
- var PointFieldCategory_entriesInitialized;
3191
- function PointFieldCategory_initEntries() {
3192
- if (PointFieldCategory_entriesInitialized)
3182
+ var static_init_called_2;
3183
+ function static_init_2() {
3184
+ if (static_init_called_2)
3193
3185
  return Unit_instance;
3194
- PointFieldCategory_entriesInitialized = true;
3186
+ static_init_called_2 = true;
3195
3187
  PointFieldCategory_COORDINATES_instance = new PointFieldCategory('COORDINATES', 0, 'coordinates', 'Coordinates');
3196
3188
  PointFieldCategory_TEMPORAL_instance = new PointFieldCategory('TEMPORAL', 1, 'temporal', 'Temporal');
3197
3189
  PointFieldCategory_ANGLES_instance = new PointFieldCategory('ANGLES', 2, 'angles', 'Angles');
@@ -3207,97 +3199,111 @@
3207
3199
  PointFieldCategory_ENVIRONMENTAL_instance = new PointFieldCategory('ENVIRONMENTAL', 12, 'environmental', 'Environmental');
3208
3200
  PointFieldCategory_PHYSIOLOGICAL_instance = new PointFieldCategory('PHYSIOLOGICAL', 13, 'physiological', 'Physiological');
3209
3201
  }
3202
+ var PointFieldCategory_COORDINATES_instance;
3203
+ var PointFieldCategory_TEMPORAL_instance;
3204
+ var PointFieldCategory_ANGLES_instance;
3205
+ var PointFieldCategory_ELEVATION_instance;
3206
+ var PointFieldCategory_GRADE_instance;
3207
+ var PointFieldCategory_RADIUS_instance;
3208
+ var PointFieldCategory_AERO_COEF_instance;
3209
+ var PointFieldCategory_CYCLIST_WIND_instance;
3210
+ var PointFieldCategory_POWER_PHYSICS_instance;
3211
+ var PointFieldCategory_POWER_CYCLIST_instance;
3212
+ var PointFieldCategory_POWER_POST_instance;
3213
+ var PointFieldCategory_SPEED_instance;
3214
+ var PointFieldCategory_ENVIRONMENTAL_instance;
3215
+ var PointFieldCategory_PHYSIOLOGICAL_instance;
3210
3216
  function PointFieldCategory(name, ordinal, id, displayName) {
3211
3217
  Enum.call(this, name, ordinal);
3212
- this.u1w_1 = id;
3213
- this.v1w_1 = displayName;
3218
+ this.id_1 = id;
3219
+ this.displayName_1 = displayName;
3214
3220
  }
3215
3221
  function PointFieldCategory_COORDINATES_getInstance() {
3216
- PointFieldCategory_initEntries();
3222
+ static_init_2();
3217
3223
  return PointFieldCategory_COORDINATES_instance;
3218
3224
  }
3219
3225
  function PointFieldCategory_TEMPORAL_getInstance() {
3220
- PointFieldCategory_initEntries();
3226
+ static_init_2();
3221
3227
  return PointFieldCategory_TEMPORAL_instance;
3222
3228
  }
3223
3229
  function PointFieldCategory_ANGLES_getInstance() {
3224
- PointFieldCategory_initEntries();
3230
+ static_init_2();
3225
3231
  return PointFieldCategory_ANGLES_instance;
3226
3232
  }
3227
3233
  function PointFieldCategory_ELEVATION_getInstance() {
3228
- PointFieldCategory_initEntries();
3234
+ static_init_2();
3229
3235
  return PointFieldCategory_ELEVATION_instance;
3230
3236
  }
3231
3237
  function PointFieldCategory_GRADE_getInstance() {
3232
- PointFieldCategory_initEntries();
3238
+ static_init_2();
3233
3239
  return PointFieldCategory_GRADE_instance;
3234
3240
  }
3235
3241
  function PointFieldCategory_RADIUS_getInstance() {
3236
- PointFieldCategory_initEntries();
3242
+ static_init_2();
3237
3243
  return PointFieldCategory_RADIUS_instance;
3238
3244
  }
3239
3245
  function PointFieldCategory_AERO_COEF_getInstance() {
3240
- PointFieldCategory_initEntries();
3246
+ static_init_2();
3241
3247
  return PointFieldCategory_AERO_COEF_instance;
3242
3248
  }
3243
3249
  function PointFieldCategory_CYCLIST_WIND_getInstance() {
3244
- PointFieldCategory_initEntries();
3250
+ static_init_2();
3245
3251
  return PointFieldCategory_CYCLIST_WIND_instance;
3246
3252
  }
3247
3253
  function PointFieldCategory_POWER_PHYSICS_getInstance() {
3248
- PointFieldCategory_initEntries();
3254
+ static_init_2();
3249
3255
  return PointFieldCategory_POWER_PHYSICS_instance;
3250
3256
  }
3251
3257
  function PointFieldCategory_POWER_CYCLIST_getInstance() {
3252
- PointFieldCategory_initEntries();
3258
+ static_init_2();
3253
3259
  return PointFieldCategory_POWER_CYCLIST_instance;
3254
3260
  }
3255
3261
  function PointFieldCategory_POWER_POST_getInstance() {
3256
- PointFieldCategory_initEntries();
3262
+ static_init_2();
3257
3263
  return PointFieldCategory_POWER_POST_instance;
3258
3264
  }
3259
3265
  function PointFieldCategory_SPEED_getInstance() {
3260
- PointFieldCategory_initEntries();
3266
+ static_init_2();
3261
3267
  return PointFieldCategory_SPEED_instance;
3262
3268
  }
3263
3269
  function PointFieldCategory_ENVIRONMENTAL_getInstance() {
3264
- PointFieldCategory_initEntries();
3270
+ static_init_2();
3265
3271
  return PointFieldCategory_ENVIRONMENTAL_instance;
3266
3272
  }
3267
3273
  function PointFieldCategory_PHYSIOLOGICAL_getInstance() {
3268
- PointFieldCategory_initEntries();
3274
+ static_init_2();
3269
3275
  return PointFieldCategory_PHYSIOLOGICAL_instance;
3270
3276
  }
3271
3277
  function Copy(sourceIndex) {
3272
- this.w1w_1 = sourceIndex;
3278
+ this.sourceIndex_1 = sourceIndex;
3273
3279
  }
3274
3280
  protoOf(Copy).toString = function () {
3275
- return 'Copy(sourceIndex=' + this.w1w_1 + ')';
3281
+ return 'Copy(sourceIndex=' + this.sourceIndex_1 + ')';
3276
3282
  };
3277
3283
  protoOf(Copy).hashCode = function () {
3278
- return this.w1w_1;
3284
+ return this.sourceIndex_1;
3279
3285
  };
3280
3286
  protoOf(Copy).equals = function (other) {
3281
3287
  if (this === other)
3282
3288
  return true;
3283
3289
  if (!(other instanceof Copy))
3284
3290
  return false;
3285
- if (!(this.w1w_1 === other.w1w_1))
3291
+ if (!(this.sourceIndex_1 === other.sourceIndex_1))
3286
3292
  return false;
3287
3293
  return true;
3288
3294
  };
3289
3295
  function Interpolate(from, to, coef) {
3290
- this.x1w_1 = from;
3291
- this.y1w_1 = to;
3292
- this.z1w_1 = coef;
3296
+ this.from_1 = from;
3297
+ this.to_1 = to;
3298
+ this.coef_1 = coef;
3293
3299
  }
3294
3300
  protoOf(Interpolate).toString = function () {
3295
- return 'Interpolate(from=' + this.x1w_1 + ', to=' + this.y1w_1 + ', coef=' + this.z1w_1 + ')';
3301
+ return 'Interpolate(from=' + this.from_1 + ', to=' + this.to_1 + ', coef=' + this.coef_1 + ')';
3296
3302
  };
3297
3303
  protoOf(Interpolate).hashCode = function () {
3298
- var result = this.x1w_1;
3299
- result = imul(result, 31) + this.y1w_1 | 0;
3300
- result = imul(result, 31) + getNumberHashCode(this.z1w_1) | 0;
3304
+ var result = this.from_1;
3305
+ result = imul(result, 31) + this.to_1 | 0;
3306
+ result = imul(result, 31) + getNumberHashCode(this.coef_1) | 0;
3301
3307
  return result;
3302
3308
  };
3303
3309
  protoOf(Interpolate).equals = function (other) {
@@ -3305,35 +3311,35 @@
3305
3311
  return true;
3306
3312
  if (!(other instanceof Interpolate))
3307
3313
  return false;
3308
- if (!(this.x1w_1 === other.x1w_1))
3314
+ if (!(this.from_1 === other.from_1))
3309
3315
  return false;
3310
- if (!(this.y1w_1 === other.y1w_1))
3316
+ if (!(this.to_1 === other.to_1))
3311
3317
  return false;
3312
- if (!equals(this.z1w_1, other.z1w_1))
3318
+ if (!equals(this.coef_1, other.coef_1))
3313
3319
  return false;
3314
3320
  return true;
3315
3321
  };
3316
3322
  function buildPlan($this, source, minDistanceM, maxDistanceM) {
3317
- var n = source.f1r_1;
3323
+ var n = source.size_1;
3318
3324
  var plan = ArrayList_init_$Create$_0(n);
3319
3325
  // Inline function 'kotlin.collections.plusAssign' call
3320
3326
  var element = new Copy(0);
3321
- plan.h(element);
3322
- var lastAddedDistance = source.w1u(0);
3327
+ plan.add_utx5q5_k$(element);
3328
+ var lastAddedDistance = source.distance_5s4s77_k$(0);
3323
3329
  var lastAddedIndex = 0;
3324
3330
  var inductionVariable = 1;
3325
3331
  if (inductionVariable < n)
3326
3332
  $l$loop: do {
3327
3333
  var i = inductionVariable;
3328
3334
  inductionVariable = inductionVariable + 1 | 0;
3329
- var curDist = source.w1u(i);
3335
+ var curDist = source.distance_5s4s77_k$(i);
3330
3336
  var gap = curDist - lastAddedDistance;
3331
3337
  if (gap < minDistanceM)
3332
3338
  continue $l$loop;
3333
3339
  else if (gap <= maxDistanceM) {
3334
3340
  // Inline function 'kotlin.collections.plusAssign' call
3335
3341
  var element_0 = new Copy(i);
3336
- plan.h(element_0);
3342
+ plan.add_utx5q5_k$(element_0);
3337
3343
  lastAddedDistance = curDist;
3338
3344
  lastAddedIndex = i;
3339
3345
  } else {
@@ -3349,20 +3355,20 @@
3349
3355
  var j = inductionVariable_0;
3350
3356
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
3351
3357
  var targetDistance = lastAddedDistance + j * spacing;
3352
- while (index1 < (i - 1 | 0) && source.w1u(index1 + 1 | 0) < targetDistance) {
3358
+ while (index1 < (i - 1 | 0) && source.distance_5s4s77_k$(index1 + 1 | 0) < targetDistance) {
3353
3359
  index1 = index1 + 1 | 0;
3354
3360
  }
3355
- var dist1 = source.w1u(index1);
3356
- var dist2 = source.w1u(index1 + 1 | 0);
3361
+ var dist1 = source.distance_5s4s77_k$(index1);
3362
+ var dist2 = source.distance_5s4s77_k$(index1 + 1 | 0);
3357
3363
  var coef = (targetDistance - dist1) / (dist2 - dist1);
3358
3364
  // Inline function 'kotlin.collections.plusAssign' call
3359
3365
  var element_1 = new Interpolate(index1, index1 + 1 | 0, coef);
3360
- plan.h(element_1);
3366
+ plan.add_utx5q5_k$(element_1);
3361
3367
  }
3362
3368
  while (inductionVariable_0 < numSegments);
3363
3369
  // Inline function 'kotlin.collections.plusAssign' call
3364
3370
  var element_2 = new Copy(i);
3365
- plan.h(element_2);
3371
+ plan.add_utx5q5_k$(element_2);
3366
3372
  lastAddedDistance = curDist;
3367
3373
  lastAddedIndex = i;
3368
3374
  }
@@ -3371,60 +3377,60 @@
3371
3377
  return plan;
3372
3378
  }
3373
3379
  function materialize($this, source, plan) {
3374
- var out = new Path(plan.l());
3375
- var iterator = plan.i();
3380
+ var out = new Path(plan.get_size_woubt6_k$());
3381
+ var iterator = plan.iterator_jk1svi_k$();
3376
3382
  var index = 0;
3377
- while (iterator.j()) {
3383
+ while (iterator.hasNext_bitz1p_k$()) {
3378
3384
  var dstIdx = index;
3379
3385
  index = index + 1 | 0;
3380
- var op = iterator.k();
3386
+ var op = iterator.next_20eer_k$();
3381
3387
  if (op instanceof Copy) {
3382
- copyFields($this, source, op.w1w_1, out, dstIdx);
3388
+ copyFields($this, source, op.sourceIndex_1, out, dstIdx);
3383
3389
  } else {
3384
3390
  if (op instanceof Interpolate) {
3385
- interpolateFields($this, source, op.x1w_1, op.y1w_1, op.z1w_1, out, dstIdx);
3391
+ interpolateFields($this, source, op.from_1, op.to_1, op.coef_1, out, dstIdx);
3386
3392
  } else {
3387
3393
  noWhenBranchMatchedException();
3388
3394
  }
3389
3395
  }
3390
3396
  }
3391
- out.q1s();
3397
+ out.computeDerivedData_uoxpeo_k$();
3392
3398
  return out;
3393
3399
  }
3394
3400
  function copyFields($this, src, srcIdx, dst, dstIdx) {
3395
- var _iterator__ex2g4s = get_entries_0().i();
3396
- while (_iterator__ex2g4s.j()) {
3397
- var field = _iterator__ex2g4s.k();
3398
- dst.f1u(dstIdx, field, src.y1t(srcIdx, field));
3401
+ var _iterator__ex2g4s = get_entries_0().iterator_jk1svi_k$();
3402
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3403
+ var field = _iterator__ex2g4s.next_20eer_k$();
3404
+ dst.set_b3ze83_k$(dstIdx, field, src.get_z3le6l_k$(srcIdx, field));
3399
3405
  }
3400
3406
  }
3401
3407
  function interpolateFields($this, src, i1, i2, coef, dst, dstIdx) {
3402
- var _iterator__ex2g4s = get_entries_0().i();
3403
- while (_iterator__ex2g4s.j()) {
3404
- var field = _iterator__ex2g4s.k();
3405
- var v1 = src.y1t(i1, field);
3406
- var v2 = src.y1t(i2, field);
3408
+ var _iterator__ex2g4s = get_entries_0().iterator_jk1svi_k$();
3409
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3410
+ var field = _iterator__ex2g4s.next_20eer_k$();
3411
+ var v1 = src.get_z3le6l_k$(i1, field);
3412
+ var v2 = src.get_z3le6l_k$(i2, field);
3407
3413
  var v = isNaN_0(v1) || isNaN_0(v2) ? NaN : v1 + (v2 - v1) * coef;
3408
- dst.f1u(dstIdx, field, v);
3414
+ dst.set_b3ze83_k$(dstIdx, field, v);
3409
3415
  }
3410
3416
  }
3411
3417
  function PointPerDistance() {
3412
3418
  }
3413
- protoOf(PointPerDistance).a1x = function (source, minDistanceM, maxDistanceM) {
3414
- return this.b1x(source, minDistanceM, maxDistanceM);
3419
+ protoOf(PointPerDistance).compute_7vlifv_k$ = function (source, minDistanceM, maxDistanceM) {
3420
+ return this.computeOnePointPerDistance_q378hr_k$(source, minDistanceM, maxDistanceM);
3415
3421
  };
3416
- protoOf(PointPerDistance).b1x = function (source, minDistanceM, maxDistanceM) {
3422
+ protoOf(PointPerDistance).computeOnePointPerDistance_q378hr_k$ = function (source, minDistanceM, maxDistanceM) {
3417
3423
  // Inline function 'kotlin.require' call
3418
3424
  if (!(maxDistanceM > 0.0)) {
3419
3425
  var message = 'maxDistanceM must be > 0, got ' + maxDistanceM;
3420
3426
  throw IllegalArgumentException_init_$Create$_0(toString_0(message));
3421
3427
  }
3422
- if (source.f1r_1 === 0)
3428
+ if (source.size_1 === 0)
3423
3429
  return new Path(0);
3424
- if (source.f1r_1 === 1) {
3430
+ if (source.size_1 === 1) {
3425
3431
  var out = new Path(1);
3426
3432
  copyFields(this, source, 0, out, 0);
3427
- out.q1s();
3433
+ out.computeDerivedData_uoxpeo_k$();
3428
3434
  return out;
3429
3435
  }
3430
3436
  var plan = buildPlan(this, source, minDistanceM, maxDistanceM);
@@ -3435,35 +3441,35 @@
3435
3441
  return PointPerDistance_instance;
3436
3442
  }
3437
3443
  function Copy_0(sourceIndex) {
3438
- this.c1x_1 = sourceIndex;
3444
+ this.sourceIndex_1 = sourceIndex;
3439
3445
  }
3440
3446
  protoOf(Copy_0).toString = function () {
3441
- return 'Copy(sourceIndex=' + this.c1x_1 + ')';
3447
+ return 'Copy(sourceIndex=' + this.sourceIndex_1 + ')';
3442
3448
  };
3443
3449
  protoOf(Copy_0).hashCode = function () {
3444
- return this.c1x_1;
3450
+ return this.sourceIndex_1;
3445
3451
  };
3446
3452
  protoOf(Copy_0).equals = function (other) {
3447
3453
  if (this === other)
3448
3454
  return true;
3449
3455
  if (!(other instanceof Copy_0))
3450
3456
  return false;
3451
- if (!(this.c1x_1 === other.c1x_1))
3457
+ if (!(this.sourceIndex_1 === other.sourceIndex_1))
3452
3458
  return false;
3453
3459
  return true;
3454
3460
  };
3455
3461
  function Interpolate_0(from, to, coef) {
3456
- this.d1x_1 = from;
3457
- this.e1x_1 = to;
3458
- this.f1x_1 = coef;
3462
+ this.from_1 = from;
3463
+ this.to_1 = to;
3464
+ this.coef_1 = coef;
3459
3465
  }
3460
3466
  protoOf(Interpolate_0).toString = function () {
3461
- return 'Interpolate(from=' + this.d1x_1 + ', to=' + this.e1x_1 + ', coef=' + this.f1x_1 + ')';
3467
+ return 'Interpolate(from=' + this.from_1 + ', to=' + this.to_1 + ', coef=' + this.coef_1 + ')';
3462
3468
  };
3463
3469
  protoOf(Interpolate_0).hashCode = function () {
3464
- var result = this.d1x_1;
3465
- result = imul(result, 31) + this.e1x_1 | 0;
3466
- result = imul(result, 31) + getNumberHashCode(this.f1x_1) | 0;
3470
+ var result = this.from_1;
3471
+ result = imul(result, 31) + this.to_1 | 0;
3472
+ result = imul(result, 31) + getNumberHashCode(this.coef_1) | 0;
3467
3473
  return result;
3468
3474
  };
3469
3475
  protoOf(Interpolate_0).equals = function (other) {
@@ -3471,23 +3477,23 @@
3471
3477
  return true;
3472
3478
  if (!(other instanceof Interpolate_0))
3473
3479
  return false;
3474
- if (!(this.d1x_1 === other.d1x_1))
3480
+ if (!(this.from_1 === other.from_1))
3475
3481
  return false;
3476
- if (!(this.e1x_1 === other.e1x_1))
3482
+ if (!(this.to_1 === other.to_1))
3477
3483
  return false;
3478
- if (!equals(this.f1x_1, other.f1x_1))
3484
+ if (!equals(this.coef_1, other.coef_1))
3479
3485
  return false;
3480
3486
  return true;
3481
3487
  };
3482
3488
  function buildPlan_0($this, source) {
3483
3489
  var plan = LinkedHashMap_init_$Create$_0();
3484
- var n = source.f1r_1;
3490
+ var n = source.size_1;
3485
3491
  var inductionVariable = 0;
3486
3492
  if (inductionVariable < n)
3487
3493
  $l$loop_0: do {
3488
3494
  var i = inductionVariable;
3489
3495
  inductionVariable = inductionVariable + 1 | 0;
3490
- var time1 = source.k1r(i);
3496
+ var time1 = source.time_ryc845_k$(i);
3491
3497
  // Inline function 'kotlin.math.floor' call
3492
3498
  var x = time1 / 1000.0;
3493
3499
  var tmp$ret$0 = Math.floor(x);
@@ -3496,18 +3502,18 @@
3496
3502
  if (i === 0 && !equalsLong(msInSec1, new Long(0, 0))) {
3497
3503
  // Inline function 'kotlin.collections.set' call
3498
3504
  var value = new Copy_0(i);
3499
- plan.c3(epoch1, value);
3505
+ plan.put_4fpzoq_k$(epoch1, value);
3500
3506
  }
3501
3507
  if (i === (n - 1 | 0)) {
3502
3508
  if (!equalsLong(msInSec1, new Long(0, 0))) {
3503
3509
  var tmp2 = add(epoch1, new Long(1, 0));
3504
3510
  // Inline function 'kotlin.collections.set' call
3505
3511
  var value_0 = new Copy_0(i);
3506
- plan.c3(tmp2, value_0);
3512
+ plan.put_4fpzoq_k$(tmp2, value_0);
3507
3513
  }
3508
3514
  continue $l$loop_0;
3509
3515
  }
3510
- var time2 = source.k1r(i + 1 | 0);
3516
+ var time2 = source.time_ryc845_k$(i + 1 | 0);
3511
3517
  // Inline function 'kotlin.math.floor' call
3512
3518
  var x_0 = time2 / 1000.0;
3513
3519
  var tmp$ret$3 = Math.floor(x_0);
@@ -3526,7 +3532,7 @@
3526
3532
  var tmp2_0 = e;
3527
3533
  // Inline function 'kotlin.collections.set' call
3528
3534
  var value_1 = new Interpolate_0(i, i + 1 | 0, coef);
3529
- plan.c3(tmp2_0, value_1);
3535
+ plan.put_4fpzoq_k$(tmp2_0, value_1);
3530
3536
  var _unary__edvuaz = e;
3531
3537
  e = add(_unary__edvuaz, get_ONE());
3532
3538
  }
@@ -3535,15 +3541,15 @@
3535
3541
  return plan;
3536
3542
  }
3537
3543
  function materialize_0($this, source, plan) {
3538
- var sortedEpochs = sorted(plan.l1());
3539
- var out = new Path(sortedEpochs.l());
3540
- var iterator = sortedEpochs.i();
3544
+ var sortedEpochs = sorted(plan.get_keys_wop4xp_k$());
3545
+ var out = new Path(sortedEpochs.get_size_woubt6_k$());
3546
+ var iterator = sortedEpochs.iterator_jk1svi_k$();
3541
3547
  var index = 0;
3542
- $l$loop: while (iterator.j()) {
3548
+ $l$loop: while (iterator.hasNext_bitz1p_k$()) {
3543
3549
  var idx = index;
3544
3550
  index = index + 1 | 0;
3545
- var epoch = iterator.k();
3546
- var tmp0_elvis_lhs = plan.k1(epoch);
3551
+ var epoch = iterator.next_20eer_k$();
3552
+ var tmp0_elvis_lhs = plan.get_wei43m_k$(epoch);
3547
3553
  var tmp;
3548
3554
  if (tmp0_elvis_lhs == null) {
3549
3555
  continue $l$loop;
@@ -3552,40 +3558,40 @@
3552
3558
  }
3553
3559
  var data = tmp;
3554
3560
  if (data instanceof Copy_0) {
3555
- copyFields_0($this, source, data.c1x_1, out, idx);
3561
+ copyFields_0($this, source, data.sourceIndex_1, out, idx);
3556
3562
  } else {
3557
3563
  if (data instanceof Interpolate_0) {
3558
- interpolateFields_0($this, source, data.d1x_1, data.e1x_1, data.f1x_1, out, idx);
3564
+ interpolateFields_0($this, source, data.from_1, data.to_1, data.coef_1, out, idx);
3559
3565
  } else {
3560
3566
  noWhenBranchMatchedException();
3561
3567
  }
3562
3568
  }
3563
- out.c1s(idx, toNumber(multiply(epoch, new Long(1000, 0))));
3569
+ out.setTime_rfmvcd_k$(idx, toNumber(multiply(epoch, new Long(1000, 0))));
3564
3570
  }
3565
- out.q1s();
3571
+ out.computeDerivedData_uoxpeo_k$();
3566
3572
  return out;
3567
3573
  }
3568
3574
  function copyFields_0($this, src, srcIdx, dst, dstIdx) {
3569
- var _iterator__ex2g4s = get_entries_0().i();
3570
- while (_iterator__ex2g4s.j()) {
3571
- var field = _iterator__ex2g4s.k();
3572
- dst.f1u(dstIdx, field, src.y1t(srcIdx, field));
3575
+ var _iterator__ex2g4s = get_entries_0().iterator_jk1svi_k$();
3576
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3577
+ var field = _iterator__ex2g4s.next_20eer_k$();
3578
+ dst.set_b3ze83_k$(dstIdx, field, src.get_z3le6l_k$(srcIdx, field));
3573
3579
  }
3574
3580
  }
3575
3581
  function interpolateFields_0($this, src, i1, i2, coef, dst, dstIdx) {
3576
- var _iterator__ex2g4s = get_entries_0().i();
3577
- while (_iterator__ex2g4s.j()) {
3578
- var field = _iterator__ex2g4s.k();
3579
- var v1 = src.y1t(i1, field);
3580
- var v2 = src.y1t(i2, field);
3582
+ var _iterator__ex2g4s = get_entries_0().iterator_jk1svi_k$();
3583
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
3584
+ var field = _iterator__ex2g4s.next_20eer_k$();
3585
+ var v1 = src.get_z3le6l_k$(i1, field);
3586
+ var v2 = src.get_z3le6l_k$(i2, field);
3581
3587
  var v = isNaN_0(v1) || isNaN_0(v2) ? NaN : v1 + (v2 - v1) * coef;
3582
- dst.f1u(dstIdx, field, v);
3588
+ dst.set_b3ze83_k$(dstIdx, field, v);
3583
3589
  }
3584
3590
  }
3585
3591
  function PointPerSecond() {
3586
3592
  }
3587
- protoOf(PointPerSecond).g1x = function (source) {
3588
- if (source.f1r_1 === 0)
3593
+ protoOf(PointPerSecond).computeOnePointPerSecond_7sah9a_k$ = function (source) {
3594
+ if (source.size_1 === 0)
3589
3595
  return new Path(0);
3590
3596
  var plan = buildPlan_0(this, source);
3591
3597
  return materialize_0(this, source, plan);
@@ -3595,31 +3601,31 @@
3595
3601
  return PointPerSecond_instance;
3596
3602
  }
3597
3603
  //region block: init
3598
- Companion_instance = new Companion();
3604
+ Companion_instance_0 = new Companion();
3599
3605
  GpxParser_instance = new GpxParser();
3600
3606
  GpxWriter_instance = new GpxWriter();
3601
3607
  CsvWriter_instance = new CsvWriter();
3602
3608
  JsonWriter_instance = new JsonWriter();
3603
3609
  ElevationStep_instance = new ElevationStep();
3604
- Companion_instance_1 = new Companion_1();
3610
+ Companion_instance_2 = new Companion_1();
3605
3611
  PathSimplifier_instance = new PathSimplifier();
3606
3612
  PointPerDistance_instance = new PointPerDistance();
3607
3613
  PointPerSecond_instance = new PointPerSecond();
3608
3614
  //endregion
3609
3615
  //region block: exports
3610
3616
  _.$_$ = _.$_$ || {};
3611
- _.$_$.a = GpxParser_instance;
3612
- _.$_$.b = GpxWriter_instance;
3613
- _.$_$.c = CsvWriter_instance;
3614
- _.$_$.d = JsonWriter_instance;
3615
- _.$_$.e = ElevationStep_instance;
3616
- _.$_$.f = PathSimplifier_instance;
3617
- _.$_$.g = Companion_getInstance_3;
3618
- _.$_$.h = PointPerDistance_instance;
3619
- _.$_$.i = PointPerSecond_instance;
3620
- _.$_$.j = GpxPathKind_ROUTE_getInstance;
3621
- _.$_$.k = GpxPathKind_TRACK_getInstance;
3622
- _.$_$.l = PointField_TEMPERATURE_getInstance;
3617
+ _.$_$.a = GpxPathKind_ROUTE_getInstance;
3618
+ _.$_$.b = GpxPathKind_TRACK_getInstance;
3619
+ _.$_$.c = PointField_TEMPERATURE_getInstance;
3620
+ _.$_$.d = GpxParser_instance;
3621
+ _.$_$.e = GpxWriter_instance;
3622
+ _.$_$.f = CsvWriter_instance;
3623
+ _.$_$.g = JsonWriter_instance;
3624
+ _.$_$.h = ElevationStep_instance;
3625
+ _.$_$.i = PathSimplifier_instance;
3626
+ _.$_$.j = Companion_getInstance_3;
3627
+ _.$_$.k = PointPerDistance_instance;
3628
+ _.$_$.l = PointPerSecond_instance;
3623
3629
  _.$_$.m = GpxWaypoint;
3624
3630
  _.$_$.n = firstTrackAsPath;
3625
3631
  _.$_$.o = segmentsAsPaths;