@glandais/vcyclist-engine 6.1.0 → 6.2.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.
@@ -19,103 +19,103 @@
19
19
  var sinh = Math.sinh;
20
20
  var hypot = Math.hypot;
21
21
  var VOID = kotlin_kotlin.$_$.a;
22
- var protoOf = kotlin_kotlin.$_$.s7;
23
- var getNumberHashCode = kotlin_kotlin.$_$.z6;
24
- var getBooleanHashCode = kotlin_kotlin.$_$.y6;
25
- var equals = kotlin_kotlin.$_$.w6;
26
- var initMetadataForClass = kotlin_kotlin.$_$.d7;
27
- var numberToLong = kotlin_kotlin.$_$.e6;
28
- var toNumber = kotlin_kotlin.$_$.j6;
29
- var CoroutineImpl = kotlin_kotlin.$_$.l5;
22
+ var protoOf = kotlin_kotlin.$_$.g8;
23
+ var getNumberHashCode = kotlin_kotlin.$_$.n7;
24
+ var getBooleanHashCode = kotlin_kotlin.$_$.m7;
25
+ var equals = kotlin_kotlin.$_$.k7;
26
+ var initMetadataForClass = kotlin_kotlin.$_$.r7;
27
+ var numberToLong = kotlin_kotlin.$_$.s6;
28
+ var toNumber = kotlin_kotlin.$_$.x6;
29
+ var CoroutineImpl = kotlin_kotlin.$_$.z5;
30
30
  var Unit_instance = kotlin_kotlin.$_$.k1;
31
- var THROW_CCE = kotlin_kotlin.$_$.xa;
31
+ var THROW_CCE = kotlin_kotlin.$_$.mb;
32
32
  var MutableEntry = kotlin_kotlin.$_$.w2;
33
- var isInterface = kotlin_kotlin.$_$.l7;
34
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.w4;
35
- var initMetadataForLambda = kotlin_kotlin.$_$.i7;
36
- var constructCallableReference = kotlin_kotlin.$_$.t6;
37
- var emptyList = kotlin_kotlin.$_$.l3;
33
+ var isInterface = kotlin_kotlin.$_$.z7;
34
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k5;
35
+ var initMetadataForLambda = kotlin_kotlin.$_$.w7;
36
+ var constructCallableReference = kotlin_kotlin.$_$.h7;
37
+ var emptyList = kotlin_kotlin.$_$.p3;
38
38
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t1;
39
39
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n1;
40
- var toList = kotlin_kotlin.$_$.q4;
40
+ var toList = kotlin_kotlin.$_$.e5;
41
41
  var KtList = kotlin_kotlin.$_$.t2;
42
- var initMetadataForCoroutine = kotlin_kotlin.$_$.f7;
43
- var toString = kotlin_kotlin.$_$.v7;
42
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.t7;
43
+ var toString = kotlin_kotlin.$_$.j8;
44
44
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e2;
45
45
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m1;
46
- var listOf = kotlin_kotlin.$_$.y3;
47
- var numberToInt = kotlin_kotlin.$_$.q7;
48
- var Enum = kotlin_kotlin.$_$.na;
49
- var charSequenceLength = kotlin_kotlin.$_$.r6;
46
+ var listOf = kotlin_kotlin.$_$.g4;
47
+ var numberToInt = kotlin_kotlin.$_$.e8;
48
+ var Enum = kotlin_kotlin.$_$.cb;
49
+ var charSequenceLength = kotlin_kotlin.$_$.f7;
50
50
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.d;
51
51
  var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.i;
52
- var toByte = kotlin_kotlin.$_$.t7;
52
+ var toByte = kotlin_kotlin.$_$.h8;
53
53
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h2;
54
54
  var FloatCompanionObject_instance = kotlin_kotlin.$_$.d1;
55
- var floatFromBits = kotlin_kotlin.$_$.x6;
56
- var isNaN_0 = kotlin_kotlin.$_$.jb;
57
- var roundToLong = kotlin_kotlin.$_$.x7;
58
- var Long = kotlin_kotlin.$_$.sa;
59
- var coerceIn = kotlin_kotlin.$_$.f8;
60
- var convertToInt = kotlin_kotlin.$_$.w5;
61
- var initMetadataForInterface = kotlin_kotlin.$_$.h7;
62
- var coerceIn_0 = kotlin_kotlin.$_$.d8;
63
- var initMetadataForObject = kotlin_kotlin.$_$.j7;
64
- var toList_0 = kotlin_kotlin.$_$.p4;
65
- var collectionSizeOrDefault = kotlin_kotlin.$_$.c3;
66
- var get_indices = kotlin_kotlin.$_$.r3;
67
- var get_lastIndex = kotlin_kotlin.$_$.u3;
68
- var checkBuilderCapacity = kotlin_kotlin.$_$.a3;
55
+ var floatFromBits = kotlin_kotlin.$_$.l7;
56
+ var isNaN_0 = kotlin_kotlin.$_$.zb;
57
+ var roundToLong = kotlin_kotlin.$_$.m8;
58
+ var Long = kotlin_kotlin.$_$.hb;
59
+ var coerceIn = kotlin_kotlin.$_$.u8;
60
+ var convertToInt = kotlin_kotlin.$_$.k6;
61
+ var initMetadataForInterface = kotlin_kotlin.$_$.v7;
62
+ var coerceIn_0 = kotlin_kotlin.$_$.s8;
63
+ var initMetadataForObject = kotlin_kotlin.$_$.x7;
64
+ var toList_0 = kotlin_kotlin.$_$.d5;
65
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.e3;
66
+ var get_indices = kotlin_kotlin.$_$.x3;
67
+ var get_lastIndex = kotlin_kotlin.$_$.a4;
68
+ var checkBuilderCapacity = kotlin_kotlin.$_$.b3;
69
69
  var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.i2;
70
- var coerceIn_1 = kotlin_kotlin.$_$.e8;
71
- var objectCreate = kotlin_kotlin.$_$.r7;
72
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.lb;
73
- var KFunctionImpl = kotlin_kotlin.$_$.k8;
74
- var initMetadataForFunctionReference = kotlin_kotlin.$_$.g7;
75
- var getStringHashCode = kotlin_kotlin.$_$.b7;
70
+ var coerceIn_1 = kotlin_kotlin.$_$.t8;
71
+ var objectCreate = kotlin_kotlin.$_$.f8;
72
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.bc;
73
+ var KFunctionImpl = kotlin_kotlin.$_$.z8;
74
+ var initMetadataForFunctionReference = kotlin_kotlin.$_$.u7;
75
+ var getStringHashCode = kotlin_kotlin.$_$.p7;
76
76
  var Companion_instance = kotlin_kotlin.$_$.i1;
77
- var joinToString = kotlin_kotlin.$_$.s3;
78
- var initMetadataForCompanion = kotlin_kotlin.$_$.e7;
79
- var enumEntries = kotlin_kotlin.$_$.n5;
77
+ var joinToString = kotlin_kotlin.$_$.y3;
78
+ var initMetadataForCompanion = kotlin_kotlin.$_$.s7;
79
+ var enumEntries = kotlin_kotlin.$_$.b6;
80
80
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
81
81
  var Semaphore = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
82
82
  var async = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
83
83
  var awaitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
84
84
  var coroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
85
- var Exception = kotlin_kotlin.$_$.pa;
85
+ var Exception = kotlin_kotlin.$_$.eb;
86
86
  var Exception_init_$Init$ = kotlin_kotlin.$_$.b2;
87
- var captureStack = kotlin_kotlin.$_$.n6;
87
+ var captureStack = kotlin_kotlin.$_$.b7;
88
88
  var KtMap = kotlin_kotlin.$_$.u2;
89
89
  var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
90
90
  var NonCancellable_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
91
91
  var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
92
- var CancellationException = kotlin_kotlin.$_$.v4;
92
+ var CancellationException = kotlin_kotlin.$_$.j5;
93
93
  var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
94
- var contentEquals = kotlin_kotlin.$_$.d3;
95
- var contentHashCode = kotlin_kotlin.$_$.e3;
96
- var round = kotlin_kotlin.$_$.y7;
97
- var replace = kotlin_kotlin.$_$.p9;
98
- var contains = kotlin_kotlin.$_$.x8;
99
- var IllegalStateException = kotlin_kotlin.$_$.ra;
94
+ var contentEquals = kotlin_kotlin.$_$.f3;
95
+ var contentHashCode = kotlin_kotlin.$_$.g3;
96
+ var round = kotlin_kotlin.$_$.n8;
97
+ var replace = kotlin_kotlin.$_$.ea;
98
+ var contains = kotlin_kotlin.$_$.m9;
99
+ var IllegalStateException = kotlin_kotlin.$_$.gb;
100
100
  var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.g2;
101
101
  var Monotonic_instance = kotlin_kotlin.$_$.h1;
102
102
  var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
103
- var shiftLeft = kotlin_kotlin.$_$.f6;
104
- var multiply = kotlin_kotlin.$_$.c6;
103
+ var shiftLeft = kotlin_kotlin.$_$.t6;
104
+ var multiply = kotlin_kotlin.$_$.q6;
105
105
  var ValueTimeMark__elapsedNow_impl_eonqvs = kotlin_kotlin.$_$.c;
106
106
  var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.b;
107
107
  var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
108
- var promise = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
109
- var sorted = kotlin_kotlin.$_$.k4;
110
- var setOf = kotlin_kotlin.$_$.i4;
111
- var KProperty0 = kotlin_kotlin.$_$.m8;
112
- var getPropertyCallableRef = kotlin_kotlin.$_$.a7;
113
- var isCharSequence = kotlin_kotlin.$_$.k7;
114
- var trim = kotlin_kotlin.$_$.ia;
115
- var toLongOrNull = kotlin_kotlin.$_$.da;
116
- var isNumber = kotlin_kotlin.$_$.m7;
108
+ var promise = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
109
+ var sorted = kotlin_kotlin.$_$.x4;
110
+ var setOf = kotlin_kotlin.$_$.t4;
111
+ var KProperty0 = kotlin_kotlin.$_$.b9;
112
+ var getPropertyCallableRef = kotlin_kotlin.$_$.o7;
113
+ var isCharSequence = kotlin_kotlin.$_$.y7;
114
+ var trim = kotlin_kotlin.$_$.xa;
115
+ var toLongOrNull = kotlin_kotlin.$_$.sa;
116
+ var isNumber = kotlin_kotlin.$_$.a8;
117
117
  var await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
118
- var lazy = kotlin_kotlin.$_$.kb;
118
+ var lazy = kotlin_kotlin.$_$.ac;
119
119
  //endregion
120
120
  //region block: pre-declaration
121
121
  initMetadataForClass(SmoothingOptions, 'SmoothingOptions', SmoothingOptions);
@@ -137,6 +137,7 @@
137
137
  initMetadataForClass(ElevationCalculator, 'ElevationCalculator', VOID, VOID, VOID, [3, 2, 1]);
138
138
  initMetadataForObject(ElevationFunctions, 'ElevationFunctions');
139
139
  initMetadataForLambda(ElevationProvider$calculator$slambda, CoroutineImpl, VOID, [2]);
140
+ initMetadataForLambda(ElevationProvider$calculator$slambda_1, CoroutineImpl, VOID, [2]);
140
141
  initMetadataForClass(ElevationProvider, 'ElevationProvider', ElevationProvider_init_$Create$, VOID, VOID, [3, 2, 6]);
141
142
  initMetadataForFunctionReference(fetchAndDecodeTile$ref, KFunctionImpl, VOID, [1]);
142
143
  initMetadataForLambda(defaultTileFetcher$slambda, CoroutineImpl, VOID, [1]);
@@ -150,6 +151,7 @@
150
151
  initMetadataForLambda(Flux$forEachParallel$slambda, CoroutineImpl, VOID, [1]);
151
152
  initMetadataForCoroutine($forEachParallelCOROUTINE$, CoroutineImpl);
152
153
  initMetadataForObject(Flux, 'Flux', VOID, VOID, VOID, [3]);
154
+ initMetadataForClass(IgnLidarHdLayer, 'IgnLidarHdLayer', VOID, Enum);
153
155
  initMetadataForClass(Hit, 'Hit');
154
156
  initMetadataForClass(Await, 'Await');
155
157
  initMetadataForClass(Owner, 'Owner');
@@ -191,15 +193,15 @@
191
193
  function SmoothingOptions(windowSize, enabled) {
192
194
  windowSize = windowSize === VOID ? 50.0 : windowSize;
193
195
  enabled = enabled === VOID ? false : enabled;
194
- this.windowSize_1 = windowSize;
195
- this.enabled_1 = enabled;
196
+ this.dy_1 = windowSize;
197
+ this.ey_1 = enabled;
196
198
  }
197
199
  protoOf(SmoothingOptions).toString = function () {
198
- return 'SmoothingOptions(windowSize=' + this.windowSize_1 + ', enabled=' + this.enabled_1 + ')';
200
+ return 'SmoothingOptions(windowSize=' + this.dy_1 + ', enabled=' + this.ey_1 + ')';
199
201
  };
200
202
  protoOf(SmoothingOptions).hashCode = function () {
201
- var result = this.windowSize_1 == null ? 0 : getNumberHashCode(this.windowSize_1);
202
- result = imul(result, 31) + getBooleanHashCode(this.enabled_1) | 0;
203
+ var result = this.dy_1 == null ? 0 : getNumberHashCode(this.dy_1);
204
+ result = imul(result, 31) + getBooleanHashCode(this.ey_1) | 0;
203
205
  return result;
204
206
  };
205
207
  protoOf(SmoothingOptions).equals = function (other) {
@@ -207,9 +209,9 @@
207
209
  return true;
208
210
  if (!(other instanceof SmoothingOptions))
209
211
  return false;
210
- if (!equals(this.windowSize_1, other.windowSize_1))
212
+ if (!equals(this.dy_1, other.dy_1))
211
213
  return false;
212
- if (!(this.enabled_1 === other.enabled_1))
214
+ if (!(this.ey_1 === other.ey_1))
213
215
  return false;
214
216
  return true;
215
217
  };
@@ -217,17 +219,17 @@
217
219
  tolerance = tolerance === VOID ? 10.0 : tolerance;
218
220
  zExaggeration = zExaggeration === VOID ? 3.0 : zExaggeration;
219
221
  enabled = enabled === VOID ? false : enabled;
220
- this.tolerance_1 = tolerance;
221
- this.zExaggeration_1 = zExaggeration;
222
- this.enabled_1 = enabled;
222
+ this.fy_1 = tolerance;
223
+ this.gy_1 = zExaggeration;
224
+ this.hy_1 = enabled;
223
225
  }
224
226
  protoOf(FilterOptions).toString = function () {
225
- return 'FilterOptions(tolerance=' + this.tolerance_1 + ', zExaggeration=' + this.zExaggeration_1 + ', enabled=' + this.enabled_1 + ')';
227
+ return 'FilterOptions(tolerance=' + this.fy_1 + ', zExaggeration=' + this.gy_1 + ', enabled=' + this.hy_1 + ')';
226
228
  };
227
229
  protoOf(FilterOptions).hashCode = function () {
228
- var result = this.tolerance_1 == null ? 0 : getNumberHashCode(this.tolerance_1);
229
- result = imul(result, 31) + (this.zExaggeration_1 == null ? 0 : getNumberHashCode(this.zExaggeration_1)) | 0;
230
- result = imul(result, 31) + getBooleanHashCode(this.enabled_1) | 0;
230
+ var result = this.fy_1 == null ? 0 : getNumberHashCode(this.fy_1);
231
+ result = imul(result, 31) + (this.gy_1 == null ? 0 : getNumberHashCode(this.gy_1)) | 0;
232
+ result = imul(result, 31) + getBooleanHashCode(this.hy_1) | 0;
231
233
  return result;
232
234
  };
233
235
  protoOf(FilterOptions).equals = function (other) {
@@ -235,11 +237,11 @@
235
237
  return true;
236
238
  if (!(other instanceof FilterOptions))
237
239
  return false;
238
- if (!equals(this.tolerance_1, other.tolerance_1))
240
+ if (!equals(this.fy_1, other.fy_1))
239
241
  return false;
240
- if (!equals(this.zExaggeration_1, other.zExaggeration_1))
242
+ if (!equals(this.gy_1, other.gy_1))
241
243
  return false;
242
- if (!(this.enabled_1 === other.enabled_1))
244
+ if (!(this.hy_1 === other.hy_1))
243
245
  return false;
244
246
  return true;
245
247
  };
@@ -248,44 +250,44 @@
248
250
  return toNumber(asLong) === d ? asLong.toString() : d.toString();
249
251
  }
250
252
  function BatchCalculator$setElevations$slambda($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation) {
251
- this.$coordinates_1 = $coordinates;
252
- this.this$0__1 = this$0;
253
- this.$zoomLevel_1 = $zoomLevel;
254
- this.$interpolation_1 = $interpolation;
255
- this.$results_1 = $results;
253
+ this.qy_1 = $coordinates;
254
+ this.ry_1 = this$0;
255
+ this.sy_1 = $zoomLevel;
256
+ this.ty_1 = $interpolation;
257
+ this.uy_1 = $results;
256
258
  CoroutineImpl.call(this, resultContinuation);
257
259
  }
258
- protoOf(BatchCalculator$setElevations$slambda).invoke_adz50t_k$ = function (_destruct__k2r9zo, $completion) {
259
- var tmp = this.create_83s1ov_k$(_destruct__k2r9zo, $completion);
260
- tmp.result_1 = Unit_instance;
261
- tmp.exception_1 = null;
262
- return tmp.doResume_5yljmg_k$();
260
+ protoOf(BatchCalculator$setElevations$slambda).zy = function (_destruct__k2r9zo, $completion) {
261
+ var tmp = this.az(_destruct__k2r9zo, $completion);
262
+ tmp.i7_1 = Unit_instance;
263
+ tmp.j7_1 = null;
264
+ return tmp.o7();
263
265
  };
264
- protoOf(BatchCalculator$setElevations$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
265
- return this.invoke_adz50t_k$((!(p1 == null) ? isInterface(p1, MutableEntry) : false) ? p1 : THROW_CCE(), $completion);
266
+ protoOf(BatchCalculator$setElevations$slambda).w7 = function (p1, $completion) {
267
+ return this.zy((!(p1 == null) ? isInterface(p1, MutableEntry) : false) ? p1 : THROW_CCE(), $completion);
266
268
  };
267
- protoOf(BatchCalculator$setElevations$slambda).doResume_5yljmg_k$ = function () {
268
- var suspendResult = this.result_1;
269
+ protoOf(BatchCalculator$setElevations$slambda).o7 = function () {
270
+ var suspendResult = this.i7_1;
269
271
  $sm: do
270
272
  try {
271
- var tmp = this.state_1;
273
+ var tmp = this.g7_1;
272
274
  switch (tmp) {
273
275
  case 0:
274
- this.exceptionState_1 = 4;
275
- var indices = this._destruct__k2r9zo_1.get_value_j01efc_k$();
276
- this._iterator_2_yqohr2__1 = indices.iterator_jk1svi_k$();
277
- this.state_1 = 1;
276
+ this.h7_1 = 4;
277
+ var indices = this.vy_1.n1();
278
+ this.yy_1 = indices.l();
279
+ this.g7_1 = 1;
278
280
  continue $sm;
279
281
  case 1:
280
- if (!this._iterator_2_yqohr2__1.hasNext_bitz1p_k$()) {
281
- this.state_1 = 3;
282
+ if (!this.yy_1.m()) {
283
+ this.g7_1 = 3;
282
284
  continue $sm;
283
285
  }
284
286
 
285
- this.i1__1 = this._iterator_2_yqohr2__1.next_20eer_k$();
286
- this.coord0__1 = this.$coordinates_1.get_c1px32_k$(this.i1__1);
287
- this.state_1 = 2;
288
- suspendResult = this.this$0__1.calculator_1.getElevation_e117b3_k$(this.coord0__1, this.$zoomLevel_1, this.$interpolation_1, this);
287
+ this.xy_1 = this.yy_1.n();
288
+ this.wy_1 = this.qy_1.p(this.xy_1);
289
+ this.g7_1 = 2;
290
+ suspendResult = this.ry_1.bz_1.fz(this.wy_1, this.sy_1, this.ty_1, this);
289
291
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
290
292
  return suspendResult;
291
293
  }
@@ -293,136 +295,136 @@
293
295
  continue $sm;
294
296
  case 2:
295
297
  var ele = suspendResult;
296
- this.$results_1[this.i1__1] = new LatLonElevation(this.coord0__1.get_latitude_feukvp_k$(), this.coord0__1.get_longitude_asb1fq_k$(), ele);
297
- this.state_1 = 1;
298
+ this.uy_1[this.xy_1] = new LatLonElevation(this.wy_1.gz(), this.wy_1.hz(), ele);
299
+ this.g7_1 = 1;
298
300
  continue $sm;
299
301
  case 3:
300
302
  return Unit_instance;
301
303
  case 4:
302
- throw this.exception_1;
304
+ throw this.j7_1;
303
305
  }
304
306
  } catch ($p) {
305
307
  var e = $p;
306
- if (this.exceptionState_1 === 4) {
308
+ if (this.h7_1 === 4) {
307
309
  throw e;
308
310
  } else {
309
- this.state_1 = this.exceptionState_1;
310
- this.exception_1 = e;
311
+ this.g7_1 = this.h7_1;
312
+ this.j7_1 = e;
311
313
  }
312
314
  }
313
315
  while (true);
314
316
  };
315
- protoOf(BatchCalculator$setElevations$slambda).create_83s1ov_k$ = function (_destruct__k2r9zo, completion) {
316
- var i = new BatchCalculator$setElevations$slambda(this.$coordinates_1, this.this$0__1, this.$zoomLevel_1, this.$interpolation_1, this.$results_1, completion);
317
- i._destruct__k2r9zo_1 = _destruct__k2r9zo;
317
+ protoOf(BatchCalculator$setElevations$slambda).az = function (_destruct__k2r9zo, completion) {
318
+ var i = new BatchCalculator$setElevations$slambda(this.qy_1, this.ry_1, this.sy_1, this.ty_1, this.uy_1, completion);
319
+ i.vy_1 = _destruct__k2r9zo;
318
320
  return i;
319
321
  };
320
322
  function BatchCalculator$setElevations$slambda_0($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation) {
321
323
  var i = new BatchCalculator$setElevations$slambda($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation);
322
324
  return constructCallableReference(function (_destruct__k2r9zo, $completion) {
323
- return i.invoke_adz50t_k$(_destruct__k2r9zo, $completion);
325
+ return i.zy(_destruct__k2r9zo, $completion);
324
326
  }, 1);
325
327
  }
326
328
  function $setElevationsCOROUTINE$(_this__u8e3s4, coordinates, zoomLevel, interpolation, maxParallelTiles, resultContinuation) {
327
329
  CoroutineImpl.call(this, resultContinuation);
328
- this._this__u8e3s4__1 = _this__u8e3s4;
329
- this.coordinates_1 = coordinates;
330
- this.zoomLevel_1 = zoomLevel;
331
- this.interpolation_1 = interpolation;
332
- this.maxParallelTiles_1 = maxParallelTiles;
333
- }
334
- protoOf($setElevationsCOROUTINE$).doResume_5yljmg_k$ = function () {
335
- var suspendResult = this.result_1;
330
+ this.qz_1 = _this__u8e3s4;
331
+ this.rz_1 = coordinates;
332
+ this.sz_1 = zoomLevel;
333
+ this.tz_1 = interpolation;
334
+ this.uz_1 = maxParallelTiles;
335
+ }
336
+ protoOf($setElevationsCOROUTINE$).o7 = function () {
337
+ var suspendResult = this.i7_1;
336
338
  $sm: do
337
339
  try {
338
- var tmp = this.state_1;
340
+ var tmp = this.g7_1;
339
341
  switch (tmp) {
340
342
  case 0:
341
- this.exceptionState_1 = 2;
342
- if (this.coordinates_1.isEmpty_y1axqb_k$())
343
+ this.h7_1 = 2;
344
+ if (this.rz_1.q())
343
345
  return emptyList();
344
346
  var tmp_0 = this;
345
- var size = this.coordinates_1.get_size_woubt6_k$();
346
- tmp_0.results0__1 = Array(size);
347
+ var size = this.rz_1.o();
348
+ tmp_0.vz_1 = Array(size);
347
349
  var byTile = LinkedHashMap_init_$Create$();
348
- var iterator = this.coordinates_1.iterator_jk1svi_k$();
350
+ var iterator = this.rz_1.l();
349
351
  var index = 0;
350
- while (iterator.hasNext_bitz1p_k$()) {
352
+ while (iterator.m()) {
351
353
  var i = index;
352
354
  index = index + 1 | 0;
353
- var p = iterator.next_20eer_k$();
354
- var tile = ElevationFunctions_instance.toTileCoordinates_jamtrs_k$(p, this.zoomLevel_1);
355
- var key = '' + tile.z_1 + '/' + tile.x_1 + '/' + tile.y_1;
356
- var value = byTile.get_wei43m_k$(key);
355
+ var p = iterator.n();
356
+ var tile = ElevationFunctions_instance.wz(p, this.sz_1);
357
+ var key = '' + tile.zz_1 + '/' + tile.xz_1 + '/' + tile.yz_1;
358
+ var value = byTile.q1(key);
357
359
  var tmp_1;
358
360
  if (value == null) {
359
361
  var answer = ArrayList_init_$Create$();
360
- byTile.put_4fpzoq_k$(key, answer);
362
+ byTile.s3(key, answer);
361
363
  tmp_1 = answer;
362
364
  } else {
363
365
  tmp_1 = value;
364
366
  }
365
- tmp_1.add_utx5q5_k$(i);
367
+ tmp_1.k(i);
366
368
  }
367
369
 
368
- this.state_1 = 1;
370
+ this.g7_1 = 1;
369
371
  var tmp_2 = Flux_instance;
370
- var tmp_3 = byTile.get_entries_p20ztl_k$();
371
- suspendResult = tmp_2.forEachParallel_gstfa7_k$(tmp_3, this.maxParallelTiles_1, BatchCalculator$setElevations$slambda_0(this.coordinates_1, this._this__u8e3s4__1, this.zoomLevel_1, this.interpolation_1, this.results0__1, null), this);
372
+ var tmp_3 = byTile.t1();
373
+ suspendResult = tmp_2.a10(tmp_3, this.uz_1, BatchCalculator$setElevations$slambda_0(this.rz_1, this.qz_1, this.sz_1, this.tz_1, this.vz_1, null), this);
372
374
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
373
375
  return suspendResult;
374
376
  }
375
377
 
376
378
  continue $sm;
377
379
  case 1:
378
- var tmp_4 = toList(this.results0__1);
380
+ var tmp_4 = toList(this.vz_1);
379
381
  return isInterface(tmp_4, KtList) ? tmp_4 : THROW_CCE();
380
382
  case 2:
381
- throw this.exception_1;
383
+ throw this.j7_1;
382
384
  }
383
385
  } catch ($p) {
384
386
  var e = $p;
385
- if (this.exceptionState_1 === 2) {
387
+ if (this.h7_1 === 2) {
386
388
  throw e;
387
389
  } else {
388
- this.state_1 = this.exceptionState_1;
389
- this.exception_1 = e;
390
+ this.g7_1 = this.h7_1;
391
+ this.j7_1 = e;
390
392
  }
391
393
  }
392
394
  while (true);
393
395
  };
394
396
  function $getElevationsAlongCOROUTINE$(_this__u8e3s4, path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, resultContinuation) {
395
397
  CoroutineImpl.call(this, resultContinuation);
396
- this._this__u8e3s4__1 = _this__u8e3s4;
397
- this.path_1 = path;
398
- this.zoomLevel_1 = zoomLevel;
399
- this.step_1 = step;
400
- this.minDistance_1 = minDistance;
401
- this.interpolation_1 = interpolation;
402
- this.smoothingOptions_1 = smoothingOptions;
403
- this.filterOptions_1 = filterOptions;
404
- }
405
- protoOf($getElevationsAlongCOROUTINE$).doResume_5yljmg_k$ = function () {
406
- var suspendResult = this.result_1;
398
+ this.j10_1 = _this__u8e3s4;
399
+ this.k10_1 = path;
400
+ this.l10_1 = zoomLevel;
401
+ this.m10_1 = step;
402
+ this.n10_1 = minDistance;
403
+ this.o10_1 = interpolation;
404
+ this.p10_1 = smoothingOptions;
405
+ this.q10_1 = filterOptions;
406
+ }
407
+ protoOf($getElevationsAlongCOROUTINE$).o7 = function () {
408
+ var suspendResult = this.i7_1;
407
409
  $sm: do
408
410
  try {
409
- var tmp = this.state_1;
411
+ var tmp = this.g7_1;
410
412
  switch (tmp) {
411
413
  case 0:
412
- this.exceptionState_1 = 2;
413
- if (!(this.path_1.get_size_woubt6_k$() >= 2)) {
414
+ this.h7_1 = 2;
415
+ if (!(this.k10_1.o() >= 2)) {
414
416
  var message = 'Path must contain at least 2 coordinates';
415
417
  throw IllegalArgumentException_init_$Create$(toString(message));
416
418
  }
417
419
 
418
- if (!(this.step_1 > 1.0)) {
419
- var message_0 = 'Step is too small: ' + formatNumber(this._this__u8e3s4__1, this.step_1) + ' meters';
420
+ if (!(this.m10_1 > 1.0)) {
421
+ var message_0 = 'Step is too small: ' + formatNumber(this.j10_1, this.m10_1) + ' meters';
420
422
  throw IllegalArgumentException_init_$Create$(toString(message_0));
421
423
  }
422
424
 
423
- var densified = this._this__u8e3s4__1.generateCoordinatesAlong_8q0lbj_k$(this.path_1, this.step_1, this.minDistance_1);
424
- this.state_1 = 1;
425
- suspendResult = this._this__u8e3s4__1.setElevations$default_qzn313_k$(densified, this.zoomLevel_1, this.interpolation_1, VOID, this);
425
+ var densified = this.j10_1.r10(this.k10_1, this.m10_1, this.n10_1);
426
+ this.g7_1 = 1;
427
+ suspendResult = this.j10_1.s10(densified, this.l10_1, this.o10_1, VOID, this);
426
428
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
427
429
  return suspendResult;
428
430
  }
@@ -431,9 +433,9 @@
431
433
  case 1:
432
434
  var withElevation = suspendResult;
433
435
  var tmp_0;
434
- var tmp1_safe_receiver = this.smoothingOptions_1;
435
- if ((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.enabled_1) === true) {
436
- tmp_0 = withElevation.get_size_woubt6_k$() >= 3;
436
+ var tmp1_safe_receiver = this.p10_1;
437
+ if ((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.ey_1) === true) {
438
+ tmp_0 = withElevation.o() >= 3;
437
439
  } else {
438
440
  tmp_0 = false;
439
441
  }
@@ -441,14 +443,14 @@
441
443
  if (tmp_0) {
442
444
  var tmp_1 = ElevationSmoother_instance;
443
445
  var tmp_2 = withElevation;
444
- var tmp0_elvis_lhs = this.smoothingOptions_1.windowSize_1;
445
- withElevation = tmp_1.smooth_j2mgq7_k$(tmp_2, tmp0_elvis_lhs == null ? 50.0 : tmp0_elvis_lhs);
446
+ var tmp0_elvis_lhs = this.p10_1.dy_1;
447
+ withElevation = tmp_1.t10(tmp_2, tmp0_elvis_lhs == null ? 50.0 : tmp0_elvis_lhs);
446
448
  }
447
449
 
448
450
  var tmp_3;
449
- var tmp4_safe_receiver = this.filterOptions_1;
450
- if ((tmp4_safe_receiver == null ? null : tmp4_safe_receiver.enabled_1) === true) {
451
- tmp_3 = withElevation.get_size_woubt6_k$() > 2;
451
+ var tmp4_safe_receiver = this.q10_1;
452
+ if ((tmp4_safe_receiver == null ? null : tmp4_safe_receiver.hy_1) === true) {
453
+ tmp_3 = withElevation.o() > 2;
452
454
  } else {
453
455
  tmp_3 = false;
454
456
  }
@@ -456,74 +458,74 @@
456
458
  if (tmp_3) {
457
459
  var tmp_4 = DouglasPeucker_instance;
458
460
  var tmp_5 = withElevation;
459
- var tmp2_elvis_lhs = this.filterOptions_1.tolerance_1;
461
+ var tmp2_elvis_lhs = this.q10_1.fy_1;
460
462
  var tmp_6 = tmp2_elvis_lhs == null ? 10.0 : tmp2_elvis_lhs;
461
- var tmp3_elvis_lhs = this.filterOptions_1.zExaggeration_1;
462
- withElevation = tmp_4.simplify_o1pnyo_k$(tmp_5, tmp_6, tmp3_elvis_lhs == null ? 3.0 : tmp3_elvis_lhs);
463
+ var tmp3_elvis_lhs = this.q10_1.gy_1;
464
+ withElevation = tmp_4.u10(tmp_5, tmp_6, tmp3_elvis_lhs == null ? 3.0 : tmp3_elvis_lhs);
463
465
  }
464
466
 
465
467
  return withElevation;
466
468
  case 2:
467
- throw this.exception_1;
469
+ throw this.j7_1;
468
470
  }
469
471
  } catch ($p) {
470
472
  var e = $p;
471
- if (this.exceptionState_1 === 2) {
473
+ if (this.h7_1 === 2) {
472
474
  throw e;
473
475
  } else {
474
- this.state_1 = this.exceptionState_1;
475
- this.exception_1 = e;
476
+ this.g7_1 = this.h7_1;
477
+ this.j7_1 = e;
476
478
  }
477
479
  }
478
480
  while (true);
479
481
  };
480
482
  function BatchCalculator(calculator) {
481
- this.calculator_1 = calculator;
483
+ this.bz_1 = calculator;
482
484
  }
483
- protoOf(BatchCalculator).setElevations_anil9n_k$ = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) {
485
+ protoOf(BatchCalculator).v10 = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) {
484
486
  var tmp = new $setElevationsCOROUTINE$(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
485
- tmp.result_1 = Unit_instance;
486
- tmp.exception_1 = null;
487
- return tmp.doResume_5yljmg_k$();
487
+ tmp.i7_1 = Unit_instance;
488
+ tmp.j7_1 = null;
489
+ return tmp.o7();
488
490
  };
489
- protoOf(BatchCalculator).setElevations$default_qzn313_k$ = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion, $super) {
491
+ protoOf(BatchCalculator).s10 = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion, $super) {
490
492
  maxParallelTiles = maxParallelTiles === VOID ? 10 : maxParallelTiles;
491
- return $super === VOID ? this.setElevations_anil9n_k$(coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) : $super.setElevations_anil9n_k$.call(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
493
+ return $super === VOID ? this.v10(coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) : $super.v10.call(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
492
494
  };
493
- protoOf(BatchCalculator).getElevationsAlong_4qke12_k$ = function (path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
495
+ protoOf(BatchCalculator).w10 = function (path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
494
496
  var tmp = new $getElevationsAlongCOROUTINE$(this, path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
495
- tmp.result_1 = Unit_instance;
496
- tmp.exception_1 = null;
497
- return tmp.doResume_5yljmg_k$();
497
+ tmp.i7_1 = Unit_instance;
498
+ tmp.j7_1 = null;
499
+ return tmp.o7();
498
500
  };
499
- protoOf(BatchCalculator).generateCoordinatesAlong_8q0lbj_k$ = function (path, step, minDistance) {
500
- if (path.isEmpty_y1axqb_k$())
501
+ protoOf(BatchCalculator).r10 = function (path, step, minDistance) {
502
+ if (path.q())
501
503
  return emptyList();
502
- var out = ArrayList_init_$Create$_0(imul(path.get_size_woubt6_k$(), 2));
503
- var anchor = path.get_c1px32_k$(0);
504
+ var out = ArrayList_init_$Create$_0(imul(path.o(), 2));
505
+ var anchor = path.p(0);
504
506
  // Inline function 'kotlin.collections.plusAssign' call
505
507
  var element = anchor;
506
- out.add_utx5q5_k$(element);
508
+ out.k(element);
507
509
  var inductionVariable = 1;
508
- var last = path.get_size_woubt6_k$();
510
+ var last = path.o();
509
511
  if (inductionVariable < last)
510
512
  $l$loop: do {
511
513
  var i = inductionVariable;
512
514
  inductionVariable = inductionVariable + 1 | 0;
513
- var b = path.get_c1px32_k$(i);
514
- var d = Distance_instance.haversine_mrx4ab_k$(anchor, b);
515
+ var b = path.p(i);
516
+ var d = Distance_instance.x10(anchor, b);
515
517
  if (d < minDistance)
516
518
  continue $l$loop;
517
- var between = this.generateCoordinatesBetween_nqn6s8_k$(anchor, b, step, d);
519
+ var between = this.y10(anchor, b, step, d);
518
520
  var inductionVariable_0 = 1;
519
- var last_0 = between.get_size_woubt6_k$();
521
+ var last_0 = between.o();
520
522
  if (inductionVariable_0 < last_0)
521
523
  do {
522
524
  var j = inductionVariable_0;
523
525
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
524
526
  // Inline function 'kotlin.collections.plusAssign' call
525
- var element_0 = between.get_c1px32_k$(j);
526
- out.add_utx5q5_k$(element_0);
527
+ var element_0 = between.p(j);
528
+ out.k(element_0);
527
529
  }
528
530
  while (inductionVariable_0 < last_0);
529
531
  anchor = b;
@@ -531,15 +533,15 @@
531
533
  while (inductionVariable < last);
532
534
  return out;
533
535
  };
534
- protoOf(BatchCalculator).generateCoordinatesBetween_nqn6s8_k$ = function (a, b, step, distance) {
536
+ protoOf(BatchCalculator).y10 = function (a, b, step, distance) {
535
537
  if (distance <= step)
536
538
  return listOf([a, b]);
537
539
  var numSteps = numberToInt(distance / step);
538
540
  var out = ArrayList_init_$Create$_0(numSteps + 2 | 0);
539
541
  // Inline function 'kotlin.collections.plusAssign' call
540
- out.add_utx5q5_k$(a);
541
- var latDiff = b.get_latitude_feukvp_k$() - a.get_latitude_feukvp_k$();
542
- var lonDiff = b.get_longitude_asb1fq_k$() - a.get_longitude_asb1fq_k$();
542
+ out.k(a);
543
+ var latDiff = b.gz() - a.gz();
544
+ var lonDiff = b.hz() - a.hz();
543
545
  var inductionVariable = 1;
544
546
  if (inductionVariable <= numSteps)
545
547
  do {
@@ -547,12 +549,12 @@
547
549
  inductionVariable = inductionVariable + 1 | 0;
548
550
  var f = i * step / distance;
549
551
  // Inline function 'kotlin.collections.plusAssign' call
550
- var element = new LatLon(a.get_latitude_feukvp_k$() + latDiff * f, a.get_longitude_asb1fq_k$() + lonDiff * f);
551
- out.add_utx5q5_k$(element);
552
+ var element = new LatLon(a.gz() + latDiff * f, a.hz() + lonDiff * f);
553
+ out.k(element);
552
554
  }
553
555
  while (!(i === numSteps));
554
556
  // Inline function 'kotlin.collections.plusAssign' call
555
- out.add_utx5q5_k$(b);
557
+ out.k(b);
556
558
  return out;
557
559
  };
558
560
  var static_init_called;
@@ -639,26 +641,26 @@
639
641
  }
640
642
  function LatLon(latitude, longitude, elevation) {
641
643
  elevation = elevation === VOID ? null : elevation;
642
- this.latitude_1 = latitude;
643
- this.longitude_1 = longitude;
644
- this.elevation_1 = elevation;
644
+ this.z10_1 = latitude;
645
+ this.a11_1 = longitude;
646
+ this.b11_1 = elevation;
645
647
  }
646
- protoOf(LatLon).get_latitude_feukvp_k$ = function () {
647
- return this.latitude_1;
648
+ protoOf(LatLon).gz = function () {
649
+ return this.z10_1;
648
650
  };
649
- protoOf(LatLon).get_longitude_asb1fq_k$ = function () {
650
- return this.longitude_1;
651
+ protoOf(LatLon).hz = function () {
652
+ return this.a11_1;
651
653
  };
652
- protoOf(LatLon).get_elevation_8fwyb8_k$ = function () {
653
- return this.elevation_1;
654
+ protoOf(LatLon).c11 = function () {
655
+ return this.b11_1;
654
656
  };
655
657
  protoOf(LatLon).toString = function () {
656
- return 'LatLon(latitude=' + this.latitude_1 + ', longitude=' + this.longitude_1 + ', elevation=' + this.elevation_1 + ')';
658
+ return 'LatLon(latitude=' + this.z10_1 + ', longitude=' + this.a11_1 + ', elevation=' + this.b11_1 + ')';
657
659
  };
658
660
  protoOf(LatLon).hashCode = function () {
659
- var result = getNumberHashCode(this.latitude_1);
660
- result = imul(result, 31) + getNumberHashCode(this.longitude_1) | 0;
661
- result = imul(result, 31) + (this.elevation_1 == null ? 0 : getNumberHashCode(this.elevation_1)) | 0;
661
+ var result = getNumberHashCode(this.z10_1);
662
+ result = imul(result, 31) + getNumberHashCode(this.a11_1) | 0;
663
+ result = imul(result, 31) + (this.b11_1 == null ? 0 : getNumberHashCode(this.b11_1)) | 0;
662
664
  return result;
663
665
  };
664
666
  protoOf(LatLon).equals = function (other) {
@@ -666,37 +668,37 @@
666
668
  return true;
667
669
  if (!(other instanceof LatLon))
668
670
  return false;
669
- if (!equals(this.latitude_1, other.latitude_1))
671
+ if (!equals(this.z10_1, other.z10_1))
670
672
  return false;
671
- if (!equals(this.longitude_1, other.longitude_1))
673
+ if (!equals(this.a11_1, other.a11_1))
672
674
  return false;
673
- if (!equals(this.elevation_1, other.elevation_1))
675
+ if (!equals(this.b11_1, other.b11_1))
674
676
  return false;
675
677
  return true;
676
678
  };
677
679
  function Coordinates() {
678
680
  }
679
681
  function LatLonElevation(latitude, longitude, elevation) {
680
- this.latitude_1 = latitude;
681
- this.longitude_1 = longitude;
682
- this.elevation_1 = elevation;
682
+ this.d11_1 = latitude;
683
+ this.e11_1 = longitude;
684
+ this.f11_1 = elevation;
683
685
  }
684
- protoOf(LatLonElevation).get_latitude_feukvp_k$ = function () {
685
- return this.latitude_1;
686
+ protoOf(LatLonElevation).gz = function () {
687
+ return this.d11_1;
686
688
  };
687
- protoOf(LatLonElevation).get_longitude_asb1fq_k$ = function () {
688
- return this.longitude_1;
689
+ protoOf(LatLonElevation).hz = function () {
690
+ return this.e11_1;
689
691
  };
690
- protoOf(LatLonElevation).get_elevation_8fwyb8_k$ = function () {
691
- return this.elevation_1;
692
+ protoOf(LatLonElevation).c11 = function () {
693
+ return this.f11_1;
692
694
  };
693
695
  protoOf(LatLonElevation).toString = function () {
694
- return 'LatLonElevation(latitude=' + this.latitude_1 + ', longitude=' + this.longitude_1 + ', elevation=' + this.elevation_1 + ')';
696
+ return 'LatLonElevation(latitude=' + this.d11_1 + ', longitude=' + this.e11_1 + ', elevation=' + this.f11_1 + ')';
695
697
  };
696
698
  protoOf(LatLonElevation).hashCode = function () {
697
- var result = getNumberHashCode(this.latitude_1);
698
- result = imul(result, 31) + getNumberHashCode(this.longitude_1) | 0;
699
- result = imul(result, 31) + getNumberHashCode(this.elevation_1) | 0;
699
+ var result = getNumberHashCode(this.d11_1);
700
+ result = imul(result, 31) + getNumberHashCode(this.e11_1) | 0;
701
+ result = imul(result, 31) + getNumberHashCode(this.f11_1) | 0;
700
702
  return result;
701
703
  };
702
704
  protoOf(LatLonElevation).equals = function (other) {
@@ -704,21 +706,21 @@
704
706
  return true;
705
707
  if (!(other instanceof LatLonElevation))
706
708
  return false;
707
- if (!equals(this.latitude_1, other.latitude_1))
709
+ if (!equals(this.d11_1, other.d11_1))
708
710
  return false;
709
- if (!equals(this.longitude_1, other.longitude_1))
711
+ if (!equals(this.e11_1, other.e11_1))
710
712
  return false;
711
- if (!equals(this.elevation_1, other.elevation_1))
713
+ if (!equals(this.f11_1, other.f11_1))
712
714
  return false;
713
715
  return true;
714
716
  };
715
717
  function Distance() {
716
718
  }
717
- protoOf(Distance).haversine_mrx4ab_k$ = function (coord1, coord2) {
718
- var lat1Rad = coord1.get_latitude_feukvp_k$() * 0.017453292519943295;
719
- var lat2Rad = coord2.get_latitude_feukvp_k$() * 0.017453292519943295;
720
- var deltaLat = (coord2.get_latitude_feukvp_k$() - coord1.get_latitude_feukvp_k$()) * 0.017453292519943295;
721
- var deltaLon = (coord2.get_longitude_asb1fq_k$() - coord1.get_longitude_asb1fq_k$()) * 0.017453292519943295;
719
+ protoOf(Distance).x10 = function (coord1, coord2) {
720
+ var lat1Rad = coord1.gz() * 0.017453292519943295;
721
+ var lat2Rad = coord2.gz() * 0.017453292519943295;
722
+ var deltaLat = (coord2.gz() - coord1.gz()) * 0.017453292519943295;
723
+ var deltaLon = (coord2.hz() - coord1.hz()) * 0.017453292519943295;
722
724
  // Inline function 'kotlin.math.sin' call
723
725
  var x = deltaLat / 2.0;
724
726
  var sinHalfLat = Math.sin(x);
@@ -740,19 +742,19 @@
740
742
  var c = 2.0 * Math.atan2(tmp0, x_2);
741
743
  return 6371000.0 * c;
742
744
  };
743
- protoOf(Distance).cumulativeDistances_92iok5_k$ = function (points) {
744
- if (points.isEmpty_y1axqb_k$()) {
745
+ protoOf(Distance).g11 = function (points) {
746
+ if (points.q()) {
745
747
  // Inline function 'kotlin.doubleArrayOf' call
746
748
  return new Float64Array([0.0]);
747
749
  }
748
- var out = new Float64Array(points.get_size_woubt6_k$());
750
+ var out = new Float64Array(points.o());
749
751
  var inductionVariable = 1;
750
- var last = points.get_size_woubt6_k$();
752
+ var last = points.o();
751
753
  if (inductionVariable < last)
752
754
  do {
753
755
  var i = inductionVariable;
754
756
  inductionVariable = inductionVariable + 1 | 0;
755
- out[i] = out[i - 1 | 0] + this.haversine_mrx4ab_k$(points.get_c1px32_k$(i - 1 | 0), points.get_c1px32_k$(i));
757
+ out[i] = out[i - 1 | 0] + this.x10(points.p(i - 1 | 0), points.p(i));
756
758
  }
757
759
  while (inductionVariable < last);
758
760
  return out;
@@ -762,8 +764,8 @@
762
764
  return Distance_instance;
763
765
  }
764
766
  function simplifyRecursive($this, points, firstIndex, lastIndex, tolerance, out) {
765
- var first = points.get_c1px32_k$(firstIndex);
766
- var last = points.get_c1px32_k$(lastIndex);
767
+ var first = points.p(firstIndex);
768
+ var last = points.p(lastIndex);
767
769
  var maxDistance = 0.0;
768
770
  var maxIndex = -1;
769
771
  var inductionVariable = firstIndex + 1 | 0;
@@ -771,7 +773,7 @@
771
773
  do {
772
774
  var i = inductionVariable;
773
775
  inductionVariable = inductionVariable + 1 | 0;
774
- var d = points.get_c1px32_k$(i).distanceToSegment_bfq4v7_k$(first, last);
776
+ var d = points.p(i).k11(first, last);
775
777
  if (d > maxDistance) {
776
778
  maxDistance = d;
777
779
  maxIndex = i;
@@ -782,7 +784,7 @@
782
784
  if ((maxIndex - firstIndex | 0) > 1) {
783
785
  simplifyRecursive($this, points, firstIndex, maxIndex, tolerance, out);
784
786
  }
785
- out.add_utx5q5_k$(maxIndex);
787
+ out.k(maxIndex);
786
788
  if ((lastIndex - maxIndex | 0) > 1) {
787
789
  simplifyRecursive($this, points, maxIndex, lastIndex, tolerance, out);
788
790
  }
@@ -790,45 +792,45 @@
790
792
  }
791
793
  function DouglasPeucker() {
792
794
  }
793
- protoOf(DouglasPeucker).simplify_o1pnyo_k$ = function (points, tolerance, zExaggeration) {
794
- if (points.get_size_woubt6_k$() <= 2)
795
+ protoOf(DouglasPeucker).u10 = function (points, tolerance, zExaggeration) {
796
+ if (points.o() <= 2)
795
797
  return toList_0(points);
796
798
  // Inline function 'kotlin.collections.map' call
797
799
  // Inline function 'kotlin.collections.mapTo' call
798
800
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(points, 10));
799
- var _iterator__ex2g4s = points.iterator_jk1svi_k$();
800
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
801
- var item = _iterator__ex2g4s.next_20eer_k$();
802
- var tmp$ret$2 = EcefConverter_instance.toEcef_pue96q_k$(item, zExaggeration);
803
- destination.add_utx5q5_k$(tmp$ret$2);
801
+ var _iterator__ex2g4s = points.l();
802
+ while (_iterator__ex2g4s.m()) {
803
+ var item = _iterator__ex2g4s.n();
804
+ var tmp$ret$2 = EcefConverter_instance.l11(item, zExaggeration);
805
+ destination.k(tmp$ret$2);
804
806
  }
805
807
  var ecef = destination;
806
808
  // Inline function 'kotlin.collections.map' call
807
- var this_0 = this.simplifyIndices_1yk9dd_k$(ecef, tolerance);
809
+ var this_0 = this.m11(ecef, tolerance);
808
810
  // Inline function 'kotlin.collections.mapTo' call
809
811
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
810
- var _iterator__ex2g4s_0 = this_0.iterator_jk1svi_k$();
811
- while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
812
- var item_0 = _iterator__ex2g4s_0.next_20eer_k$();
813
- var tmp$ret$5 = points.get_c1px32_k$(item_0);
814
- destination_0.add_utx5q5_k$(tmp$ret$5);
812
+ var _iterator__ex2g4s_0 = this_0.l();
813
+ while (_iterator__ex2g4s_0.m()) {
814
+ var item_0 = _iterator__ex2g4s_0.n();
815
+ var tmp$ret$5 = points.p(item_0);
816
+ destination_0.k(tmp$ret$5);
815
817
  }
816
818
  return destination_0;
817
819
  };
818
- protoOf(DouglasPeucker).simplifyIndices_1yk9dd_k$ = function (points, tolerance) {
819
- if (points.get_size_woubt6_k$() <= 2)
820
+ protoOf(DouglasPeucker).m11 = function (points, tolerance) {
821
+ if (points.o() <= 2)
820
822
  return toList_0(get_indices(points));
821
823
  var lastIndex = get_lastIndex(points);
822
824
  // Inline function 'kotlin.collections.buildList' call
823
825
  // Inline function 'kotlin.collections.buildListInternal' call
824
- var capacity = points.get_size_woubt6_k$();
826
+ var capacity = points.o();
825
827
  checkBuilderCapacity(capacity);
826
828
  // Inline function 'kotlin.apply' call
827
829
  var this_0 = ArrayList_init_$Create$_0(capacity);
828
- this_0.add_utx5q5_k$(0);
830
+ this_0.k(0);
829
831
  simplifyRecursive(DouglasPeucker_instance, points, 0, lastIndex, tolerance, this_0);
830
- this_0.add_utx5q5_k$(lastIndex);
831
- return this_0.build_nmwvly_k$();
832
+ this_0.k(lastIndex);
833
+ return this_0.b4();
832
834
  };
833
835
  var DouglasPeucker_instance;
834
836
  function DouglasPeucker_getInstance() {
@@ -836,10 +838,10 @@
836
838
  }
837
839
  function EcefConverter() {
838
840
  }
839
- protoOf(EcefConverter).toEcef_pue96q_k$ = function (coordinates, zExaggeration) {
840
- var latRad = coordinates.get_latitude_feukvp_k$() * 0.017453292519943295;
841
- var lonRad = coordinates.get_longitude_asb1fq_k$() * 0.017453292519943295;
842
- var tmp0_elvis_lhs = coordinates.get_elevation_8fwyb8_k$();
841
+ protoOf(EcefConverter).l11 = function (coordinates, zExaggeration) {
842
+ var latRad = coordinates.gz() * 0.017453292519943295;
843
+ var lonRad = coordinates.hz() * 0.017453292519943295;
844
+ var tmp0_elvis_lhs = coordinates.c11();
843
845
  var elevationExaggerated = zExaggeration * (tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs);
844
846
  // Inline function 'kotlin.math.sin' call
845
847
  var sinLat = Math.sin(latRad);
@@ -863,43 +865,43 @@
863
865
  }
864
866
  function getInterpolatedElevation($this, coords, zoomLevel, $completion) {
865
867
  var tmp = new $getInterpolatedElevationCOROUTINE$($this, coords, zoomLevel, $completion);
866
- tmp.result_1 = Unit_instance;
867
- tmp.exception_1 = null;
868
- return tmp.doResume_5yljmg_k$();
868
+ tmp.i7_1 = Unit_instance;
869
+ tmp.j7_1 = null;
870
+ return tmp.o7();
869
871
  }
870
872
  function elevationFromPixel($this, pixel, $completion) {
871
873
  var tmp = new $elevationFromPixelCOROUTINE$($this, pixel, $completion);
872
- tmp.result_1 = Unit_instance;
873
- tmp.exception_1 = null;
874
- return tmp.doResume_5yljmg_k$();
874
+ tmp.i7_1 = Unit_instance;
875
+ tmp.j7_1 = null;
876
+ return tmp.o7();
875
877
  }
876
878
  function $getElevationCOROUTINE$(_this__u8e3s4, coords, zoomLevel, interpolation, resultContinuation) {
877
879
  CoroutineImpl.call(this, resultContinuation);
878
- this._this__u8e3s4__1 = _this__u8e3s4;
879
- this.coords_1 = coords;
880
- this.zoomLevel_1 = zoomLevel;
881
- this.interpolation_1 = interpolation;
880
+ this.a13_1 = _this__u8e3s4;
881
+ this.b13_1 = coords;
882
+ this.c13_1 = zoomLevel;
883
+ this.d13_1 = interpolation;
882
884
  }
883
- protoOf($getElevationCOROUTINE$).doResume_5yljmg_k$ = function () {
884
- var suspendResult = this.result_1;
885
+ protoOf($getElevationCOROUTINE$).o7 = function () {
886
+ var suspendResult = this.i7_1;
885
887
  $sm: do
886
888
  try {
887
- var tmp = this.state_1;
889
+ var tmp = this.g7_1;
888
890
  switch (tmp) {
889
891
  case 0:
890
- this.exceptionState_1 = 8;
891
- this.exceptionState_1 = 4;
892
- if (this.interpolation_1) {
893
- this.state_1 = 2;
894
- suspendResult = getInterpolatedElevation(this._this__u8e3s4__1, this.coords_1, this.zoomLevel_1, this);
892
+ this.h7_1 = 8;
893
+ this.h7_1 = 4;
894
+ if (this.d13_1) {
895
+ this.g7_1 = 2;
896
+ suspendResult = getInterpolatedElevation(this.a13_1, this.b13_1, this.c13_1, this);
895
897
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
896
898
  return suspendResult;
897
899
  }
898
900
  continue $sm;
899
901
  } else {
900
- var pixel = ElevationFunctions_instance.toPixel_iyzwlj_k$(this.coords_1, this.zoomLevel_1, this._this__u8e3s4__1.tileSize_1);
901
- this.state_1 = 1;
902
- suspendResult = elevationFromPixel(this._this__u8e3s4__1, pixel, this);
902
+ var pixel = ElevationFunctions_instance.h13(this.b13_1, this.c13_1, this.a13_1.dz_1);
903
+ this.g7_1 = 1;
904
+ suspendResult = elevationFromPixel(this.a13_1, pixel, this);
903
905
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
904
906
  return suspendResult;
905
907
  }
@@ -907,42 +909,42 @@
907
909
  }
908
910
 
909
911
  case 1:
910
- this.WHEN_RESULT2__1 = suspendResult;
911
- this.state_1 = 3;
912
+ this.g13_1 = suspendResult;
913
+ this.g7_1 = 3;
912
914
  continue $sm;
913
915
  case 2:
914
- this.WHEN_RESULT2__1 = suspendResult;
915
- this.state_1 = 3;
916
+ this.g13_1 = suspendResult;
917
+ this.g7_1 = 3;
916
918
  continue $sm;
917
919
  case 3:
918
- this.TRY_RESULT1__1 = this.WHEN_RESULT2__1;
919
- this.exceptionState_1 = 8;
920
- this.state_1 = 5;
920
+ this.f13_1 = this.g13_1;
921
+ this.h7_1 = 8;
922
+ this.g7_1 = 5;
921
923
  continue $sm;
922
924
  case 4:
923
- this.exceptionState_1 = 8;
924
- var tmp_0 = this.exception_1;
925
+ this.h7_1 = 8;
926
+ var tmp_0 = this.j7_1;
925
927
  if (tmp_0 instanceof Error) {
926
- var t = this.exception_1;
928
+ var t = this.j7_1;
927
929
  var tmp_1 = this;
928
930
  throw IllegalStateException_init_$Create$_0('Failed to get elevation: ' + t.message, t);
929
931
  } else {
930
- throw this.exception_1;
932
+ throw this.j7_1;
931
933
  }
932
934
 
933
935
  case 5:
934
- this.exceptionState_1 = 8;
935
- var own = this.TRY_RESULT1__1;
936
+ this.h7_1 = 8;
937
+ var own = this.f13_1;
936
938
  if (!isNaN_0(own))
937
939
  return own;
938
- var tmp0_safe_receiver = this._this__u8e3s4__1.fallback_1;
940
+ var tmp0_safe_receiver = this.a13_1.ez_1;
939
941
  if (tmp0_safe_receiver == null) {
940
- this.WHEN_RESULT0__1 = null;
941
- this.state_1 = 7;
942
+ this.e13_1 = null;
943
+ this.g7_1 = 7;
942
944
  continue $sm;
943
945
  } else {
944
- this.state_1 = 6;
945
- suspendResult = tmp0_safe_receiver(this.coords_1, this.interpolation_1, this);
946
+ this.g7_1 = 6;
947
+ suspendResult = tmp0_safe_receiver(this.b13_1, this.d13_1, this);
946
948
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
947
949
  return suspendResult;
948
950
  }
@@ -950,80 +952,80 @@
950
952
  }
951
953
 
952
954
  case 6:
953
- this.WHEN_RESULT0__1 = suspendResult;
954
- this.state_1 = 7;
955
+ this.e13_1 = suspendResult;
956
+ this.g7_1 = 7;
955
957
  continue $sm;
956
958
  case 7:
957
- var tmp1_elvis_lhs = this.WHEN_RESULT0__1;
959
+ var tmp1_elvis_lhs = this.e13_1;
958
960
  return tmp1_elvis_lhs == null ? 0.0 : tmp1_elvis_lhs;
959
961
  case 8:
960
- throw this.exception_1;
962
+ throw this.j7_1;
961
963
  }
962
964
  } catch ($p) {
963
965
  var e = $p;
964
- if (this.exceptionState_1 === 8) {
966
+ if (this.h7_1 === 8) {
965
967
  throw e;
966
968
  } else {
967
- this.state_1 = this.exceptionState_1;
968
- this.exception_1 = e;
969
+ this.g7_1 = this.h7_1;
970
+ this.j7_1 = e;
969
971
  }
970
972
  }
971
973
  while (true);
972
974
  };
973
975
  function $getInterpolatedElevationCOROUTINE$(_this__u8e3s4, coords, zoomLevel, resultContinuation) {
974
976
  CoroutineImpl.call(this, resultContinuation);
975
- this._this__u8e3s4__1 = _this__u8e3s4;
976
- this.coords_1 = coords;
977
- this.zoomLevel_1 = zoomLevel;
977
+ this.v11_1 = _this__u8e3s4;
978
+ this.w11_1 = coords;
979
+ this.x11_1 = zoomLevel;
978
980
  }
979
- protoOf($getInterpolatedElevationCOROUTINE$).doResume_5yljmg_k$ = function () {
980
- var suspendResult = this.result_1;
981
+ protoOf($getInterpolatedElevationCOROUTINE$).o7 = function () {
982
+ var suspendResult = this.i7_1;
981
983
  $sm: do
982
984
  try {
983
- var tmp = this.state_1;
985
+ var tmp = this.g7_1;
984
986
  switch (tmp) {
985
987
  case 0:
986
- this.exceptionState_1 = 5;
987
- this.pf7__1 = ElevationFunctions_instance.toPixelFloat_ler4xt_k$(this.coords_1, this.zoomLevel_1, this._this__u8e3s4__1.tileSize_1);
988
+ this.h7_1 = 5;
989
+ this.f12_1 = ElevationFunctions_instance.i13(this.w11_1, this.x11_1, this.v11_1.dz_1);
990
+ var fx = this.f12_1.k13_1 - 0.5;
991
+ var fy = this.f12_1.l13_1 - 0.5;
988
992
  var tmp_0 = this;
989
- var x = this.pf7__1.x_1;
990
- tmp_0.x0i8__1 = numberToInt(Math.floor(x));
993
+ tmp_0.g12_1 = numberToInt(Math.floor(fx));
991
994
  var tmp_1 = this;
992
- var x_0 = this.pf7__1.y_1;
993
- tmp_1.y0i9__1 = numberToInt(Math.floor(x_0));
994
- this.x1i6__1 = this.x0i8__1 + 1 | 0;
995
- this.y1i5__1 = this.y0i9__1 + 1 | 0;
996
- this.dx1__1 = this.pf7__1.x_1 - this.x0i8__1;
997
- this.dy0__1 = this.pf7__1.y_1 - this.y0i9__1;
998
- this.state_1 = 1;
999
- suspendResult = elevationFromPixel(this._this__u8e3s4__1, ElevationFunctions_instance.normalizePixel_364azo_k$(new Pixel(this.pf7__1.tile_1, this.x0i8__1, this.y0i9__1), this._this__u8e3s4__1.tileSize_1), this);
995
+ tmp_1.h12_1 = numberToInt(Math.floor(fy));
996
+ this.e12_1 = this.g12_1 + 1 | 0;
997
+ this.d12_1 = this.h12_1 + 1 | 0;
998
+ this.z11_1 = fx - this.g12_1;
999
+ this.y11_1 = fy - this.h12_1;
1000
+ this.g7_1 = 1;
1001
+ suspendResult = elevationFromPixel(this.v11_1, ElevationFunctions_instance.m13(new Pixel(this.f12_1.j13_1, this.g12_1, this.h12_1), this.v11_1.dz_1), this);
1000
1002
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1001
1003
  return suspendResult;
1002
1004
  }
1003
1005
 
1004
1006
  continue $sm;
1005
1007
  case 1:
1006
- this.p004__1 = suspendResult;
1007
- this.state_1 = 2;
1008
- suspendResult = elevationFromPixel(this._this__u8e3s4__1, ElevationFunctions_instance.normalizePixel_364azo_k$(new Pixel(this.pf7__1.tile_1, this.x1i6__1, this.y0i9__1), this._this__u8e3s4__1.tileSize_1), this);
1008
+ this.c12_1 = suspendResult;
1009
+ this.g7_1 = 2;
1010
+ suspendResult = elevationFromPixel(this.v11_1, ElevationFunctions_instance.m13(new Pixel(this.f12_1.j13_1, this.e12_1, this.h12_1), this.v11_1.dz_1), this);
1009
1011
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1010
1012
  return suspendResult;
1011
1013
  }
1012
1014
 
1013
1015
  continue $sm;
1014
1016
  case 2:
1015
- this.p103__1 = suspendResult;
1016
- this.state_1 = 3;
1017
- suspendResult = elevationFromPixel(this._this__u8e3s4__1, ElevationFunctions_instance.normalizePixel_364azo_k$(new Pixel(this.pf7__1.tile_1, this.x0i8__1, this.y1i5__1), this._this__u8e3s4__1.tileSize_1), this);
1017
+ this.b12_1 = suspendResult;
1018
+ this.g7_1 = 3;
1019
+ suspendResult = elevationFromPixel(this.v11_1, ElevationFunctions_instance.m13(new Pixel(this.f12_1.j13_1, this.g12_1, this.d12_1), this.v11_1.dz_1), this);
1018
1020
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1019
1021
  return suspendResult;
1020
1022
  }
1021
1023
 
1022
1024
  continue $sm;
1023
1025
  case 3:
1024
- this.p012__1 = suspendResult;
1025
- this.state_1 = 4;
1026
- suspendResult = elevationFromPixel(this._this__u8e3s4__1, ElevationFunctions_instance.normalizePixel_364azo_k$(new Pixel(this.pf7__1.tile_1, this.x1i6__1, this.y1i5__1), this._this__u8e3s4__1.tileSize_1), this);
1026
+ this.a12_1 = suspendResult;
1027
+ this.g7_1 = 4;
1028
+ suspendResult = elevationFromPixel(this.v11_1, ElevationFunctions_instance.m13(new Pixel(this.f12_1.j13_1, this.e12_1, this.d12_1), this.v11_1.dz_1), this);
1027
1029
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1028
1030
  return suspendResult;
1029
1031
  }
@@ -1031,55 +1033,55 @@
1031
1033
  continue $sm;
1032
1034
  case 4:
1033
1035
  var p11 = suspendResult;
1034
- var top = this.p004__1 * (1.0 - this.dx1__1) + this.p103__1 * this.dx1__1;
1035
- var bottom = this.p012__1 * (1.0 - this.dx1__1) + p11 * this.dx1__1;
1036
- return top * (1.0 - this.dy0__1) + bottom * this.dy0__1;
1036
+ var top = this.c12_1 * (1.0 - this.z11_1) + this.b12_1 * this.z11_1;
1037
+ var bottom = this.a12_1 * (1.0 - this.z11_1) + p11 * this.z11_1;
1038
+ return top * (1.0 - this.y11_1) + bottom * this.y11_1;
1037
1039
  case 5:
1038
- throw this.exception_1;
1040
+ throw this.j7_1;
1039
1041
  }
1040
1042
  } catch ($p) {
1041
1043
  var e = $p;
1042
- if (this.exceptionState_1 === 5) {
1044
+ if (this.h7_1 === 5) {
1043
1045
  throw e;
1044
1046
  } else {
1045
- this.state_1 = this.exceptionState_1;
1046
- this.exception_1 = e;
1047
+ this.g7_1 = this.h7_1;
1048
+ this.j7_1 = e;
1047
1049
  }
1048
1050
  }
1049
1051
  while (true);
1050
1052
  };
1051
1053
  function $elevationFromPixelCOROUTINE$(_this__u8e3s4, pixel, resultContinuation) {
1052
1054
  CoroutineImpl.call(this, resultContinuation);
1053
- this._this__u8e3s4__1 = _this__u8e3s4;
1054
- this.pixel_1 = pixel;
1055
+ this.q12_1 = _this__u8e3s4;
1056
+ this.r12_1 = pixel;
1055
1057
  }
1056
- protoOf($elevationFromPixelCOROUTINE$).doResume_5yljmg_k$ = function () {
1057
- var suspendResult = this.result_1;
1058
+ protoOf($elevationFromPixelCOROUTINE$).o7 = function () {
1059
+ var suspendResult = this.i7_1;
1058
1060
  $sm: do
1059
1061
  try {
1060
- var tmp = this.state_1;
1062
+ var tmp = this.g7_1;
1061
1063
  switch (tmp) {
1062
1064
  case 0:
1063
- this.exceptionState_1 = 2;
1064
- this.state_1 = 1;
1065
- suspendResult = this._this__u8e3s4__1.tileManager_1.getTile_c22khk_k$(this.pixel_1.tile_1, this);
1065
+ this.h7_1 = 2;
1066
+ this.g7_1 = 1;
1067
+ suspendResult = this.q12_1.cz_1.t13(this.r12_1.n13_1, this);
1066
1068
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1067
1069
  return suspendResult;
1068
1070
  }
1069
1071
 
1070
1072
  continue $sm;
1071
1073
  case 1:
1072
- return suspendResult.getElevation_exacdm_k$(this.pixel_1);
1074
+ return suspendResult.z13(this.r12_1);
1073
1075
  case 2:
1074
- throw this.exception_1;
1076
+ throw this.j7_1;
1075
1077
  }
1076
1078
  } catch ($p) {
1077
1079
  var e = $p;
1078
- if (this.exceptionState_1 === 2) {
1080
+ if (this.h7_1 === 2) {
1079
1081
  throw e;
1080
1082
  } else {
1081
- this.state_1 = this.exceptionState_1;
1082
- this.exception_1 = e;
1083
+ this.g7_1 = this.h7_1;
1084
+ this.j7_1 = e;
1083
1085
  }
1084
1086
  }
1085
1087
  while (true);
@@ -1087,15 +1089,15 @@
1087
1089
  function ElevationCalculator(tileManager, tileSize, fallback) {
1088
1090
  tileSize = tileSize === VOID ? 256 : tileSize;
1089
1091
  fallback = fallback === VOID ? null : fallback;
1090
- this.tileManager_1 = tileManager;
1091
- this.tileSize_1 = tileSize;
1092
- this.fallback_1 = fallback;
1092
+ this.cz_1 = tileManager;
1093
+ this.dz_1 = tileSize;
1094
+ this.ez_1 = fallback;
1093
1095
  }
1094
- protoOf(ElevationCalculator).getElevation_e117b3_k$ = function (coords, zoomLevel, interpolation, $completion) {
1096
+ protoOf(ElevationCalculator).fz = function (coords, zoomLevel, interpolation, $completion) {
1095
1097
  var tmp = new $getElevationCOROUTINE$(this, coords, zoomLevel, interpolation, $completion);
1096
- tmp.result_1 = Unit_instance;
1097
- tmp.exception_1 = null;
1098
- return tmp.doResume_5yljmg_k$();
1098
+ tmp.i7_1 = Unit_instance;
1099
+ tmp.j7_1 = null;
1100
+ return tmp.o7();
1099
1101
  };
1100
1102
  function formatNumber_0($this, d) {
1101
1103
  var asLong = numberToLong(d);
@@ -1103,24 +1105,24 @@
1103
1105
  }
1104
1106
  function ElevationFunctions() {
1105
1107
  }
1106
- protoOf(ElevationFunctions).degToRad_hya2pa_k$ = function (degrees) {
1108
+ protoOf(ElevationFunctions).a14 = function (degrees) {
1107
1109
  return degrees * 0.017453292519943295;
1108
1110
  };
1109
- protoOf(ElevationFunctions).isValidLatitude_gohohk_k$ = function (lat) {
1111
+ protoOf(ElevationFunctions).b14 = function (lat) {
1110
1112
  return lat >= -85.0511 && lat <= 85.0511;
1111
1113
  };
1112
- protoOf(ElevationFunctions).isValidLongitude_hbos7_k$ = function (lon) {
1114
+ protoOf(ElevationFunctions).c14 = function (lon) {
1113
1115
  return -180.0 <= lon ? lon <= 180.0 : false;
1114
1116
  };
1115
- protoOf(ElevationFunctions).isValidZoomLevel_bzars7_k$ = function (zoom) {
1117
+ protoOf(ElevationFunctions).d14 = function (zoom) {
1116
1118
  return 0 <= zoom ? zoom <= 15 : false;
1117
1119
  };
1118
- protoOf(ElevationFunctions).normalizePixel_364azo_k$ = function (pixel, tileSize) {
1119
- var x = pixel.x_1;
1120
- var y = pixel.y_1;
1121
- var tileX = pixel.tile_1.x_1;
1122
- var tileY = pixel.tile_1.y_1;
1123
- var z = pixel.tile_1.z_1;
1120
+ protoOf(ElevationFunctions).m13 = function (pixel, tileSize) {
1121
+ var x = pixel.o13_1;
1122
+ var y = pixel.p13_1;
1123
+ var tileX = pixel.n13_1.xz_1;
1124
+ var tileY = pixel.n13_1.yz_1;
1125
+ var z = pixel.n13_1.zz_1;
1124
1126
  if (x < 0) {
1125
1127
  x = x + tileSize | 0;
1126
1128
  tileX = tileX - 1 | 0;
@@ -1154,25 +1156,25 @@
1154
1156
  }
1155
1157
  return new Pixel(new TileCoordinates(tileX, tileY, z), x, y);
1156
1158
  };
1157
- protoOf(ElevationFunctions).toTileCoordinatesFloat_fctdpc_k$ = function (coords, z) {
1159
+ protoOf(ElevationFunctions).e14 = function (coords, z) {
1158
1160
  // Inline function 'kotlin.require' call
1159
- if (!this.isValidLatitude_gohohk_k$(coords.get_latitude_feukvp_k$())) {
1160
- var message = 'Invalid latitude: ' + formatNumber_0(ElevationFunctions_instance, coords.get_latitude_feukvp_k$()) + '. Must be between -85.0511 and 85.0511';
1161
+ if (!this.b14(coords.gz())) {
1162
+ var message = 'Invalid latitude: ' + formatNumber_0(ElevationFunctions_instance, coords.gz()) + '. Must be between -85.0511 and 85.0511';
1161
1163
  throw IllegalArgumentException_init_$Create$(toString(message));
1162
1164
  }
1163
1165
  // Inline function 'kotlin.require' call
1164
- if (!this.isValidLongitude_hbos7_k$(coords.get_longitude_asb1fq_k$())) {
1165
- var message_0 = 'Invalid longitude: ' + formatNumber_0(ElevationFunctions_instance, coords.get_longitude_asb1fq_k$()) + '. Must be between -180 and 180';
1166
+ if (!this.c14(coords.hz())) {
1167
+ var message_0 = 'Invalid longitude: ' + formatNumber_0(ElevationFunctions_instance, coords.hz()) + '. Must be between -180 and 180';
1166
1168
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1167
1169
  }
1168
1170
  // Inline function 'kotlin.require' call
1169
- if (!this.isValidZoomLevel_bzars7_k$(z)) {
1171
+ if (!this.d14(z)) {
1170
1172
  var message_1 = 'Invalid zoom level: ' + z + '. Must be between 0 and 15';
1171
1173
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1172
1174
  }
1173
- var lat = this.degToRad_hya2pa_k$(coords.get_latitude_feukvp_k$());
1175
+ var lat = this.a14(coords.gz());
1174
1176
  var n = 1 << z;
1175
- var xFloat = (coords.get_longitude_asb1fq_k$() + 180.0) / 360.0 * n;
1177
+ var xFloat = (coords.hz() + 180.0) / 360.0 * n;
1176
1178
  // Inline function 'kotlin.math.tan' call
1177
1179
  var tmp = Math.tan(lat);
1178
1180
  // Inline function 'kotlin.math.cos' call
@@ -1188,27 +1190,27 @@
1188
1190
  var y = coerceIn_1(numberToInt(tmp$ret$10), 0, maxTile);
1189
1191
  return new TileCoordinatesFloat(x_0, y, xFloat, yFloat, z);
1190
1192
  };
1191
- protoOf(ElevationFunctions).toTileCoordinates_jamtrs_k$ = function (coords, z) {
1192
- var tile = this.toTileCoordinatesFloat_fctdpc_k$(coords, z);
1193
- return new TileCoordinates(tile.x_1, tile.y_1, tile.z_1);
1193
+ protoOf(ElevationFunctions).wz = function (coords, z) {
1194
+ var tile = this.e14(coords, z);
1195
+ return new TileCoordinates(tile.f14_1, tile.g14_1, tile.j14_1);
1194
1196
  };
1195
- protoOf(ElevationFunctions).toPixel_iyzwlj_k$ = function (coords, z, tileSize) {
1196
- var tile = this.toTileCoordinatesFloat_fctdpc_k$(coords, z);
1197
+ protoOf(ElevationFunctions).h13 = function (coords, z, tileSize) {
1198
+ var tile = this.e14(coords, z);
1197
1199
  // Inline function 'kotlin.math.floor' call
1198
- var x = (tile.xFloat_1 - tile.x_1) * tileSize;
1200
+ var x = (tile.h14_1 - tile.f14_1) * tileSize;
1199
1201
  var tmp$ret$0 = Math.floor(x);
1200
1202
  var px = coerceIn_1(numberToInt(tmp$ret$0), 0, tileSize - 1 | 0);
1201
1203
  // Inline function 'kotlin.math.floor' call
1202
- var x_0 = (tile.yFloat_1 - tile.y_1) * tileSize;
1204
+ var x_0 = (tile.i14_1 - tile.g14_1) * tileSize;
1203
1205
  var tmp$ret$1 = Math.floor(x_0);
1204
1206
  var py = coerceIn_1(numberToInt(tmp$ret$1), 0, tileSize - 1 | 0);
1205
- return new Pixel(new TileCoordinates(tile.x_1, tile.y_1, z), px, py);
1207
+ return new Pixel(new TileCoordinates(tile.f14_1, tile.g14_1, z), px, py);
1206
1208
  };
1207
- protoOf(ElevationFunctions).toPixelFloat_ler4xt_k$ = function (coords, z, tileSize) {
1208
- var tile = this.toTileCoordinatesFloat_fctdpc_k$(coords, z);
1209
- var px = (tile.xFloat_1 - tile.x_1) * tileSize;
1210
- var py = (tile.yFloat_1 - tile.y_1) * tileSize;
1211
- return new PixelFloat(new TileCoordinates(tile.x_1, tile.y_1, z), px, py);
1209
+ protoOf(ElevationFunctions).i13 = function (coords, z, tileSize) {
1210
+ var tile = this.e14(coords, z);
1211
+ var px = (tile.h14_1 - tile.f14_1) * tileSize;
1212
+ var py = (tile.i14_1 - tile.g14_1) * tileSize;
1213
+ return new PixelFloat(new TileCoordinates(tile.f14_1, tile.g14_1, z), px, py);
1212
1214
  };
1213
1215
  var ElevationFunctions_instance;
1214
1216
  function ElevationFunctions_getInstance() {
@@ -1217,36 +1219,43 @@
1217
1219
  function ElevationProvider_init_$Init$(config, fetcher, $this) {
1218
1220
  config = config === VOID ? new ElevationProviderConfig() : config;
1219
1221
  fetcher = fetcher === VOID ? defaultTileFetcher(config) : fetcher;
1220
- ElevationProvider.call($this, config, fetcher, null);
1222
+ ElevationProvider.call($this, config, fetcher, null, false, null);
1221
1223
  return $this;
1222
1224
  }
1223
1225
  function ElevationProvider_init_$Create$(config, fetcher) {
1224
1226
  return ElevationProvider_init_$Init$(config, fetcher, objectCreate(protoOf(ElevationProvider)));
1225
1227
  }
1226
- function ElevationProvider$calculator$slambda($f, resultContinuation) {
1227
- this.$f_1 = $f;
1228
+ function ElevationProvider_init_$Init$_0(config, fetcher, keepNoData, $this) {
1229
+ ElevationProvider.call($this, config, fetcher, null, keepNoData, null);
1230
+ return $this;
1231
+ }
1232
+ function ElevationProvider_init_$Create$_0(config, fetcher, keepNoData) {
1233
+ return ElevationProvider_init_$Init$_0(config, fetcher, keepNoData, objectCreate(protoOf(ElevationProvider)));
1234
+ }
1235
+ function ElevationProvider$calculator$slambda(this$0, resultContinuation) {
1236
+ this.s14_1 = this$0;
1228
1237
  CoroutineImpl.call(this, resultContinuation);
1229
1238
  }
1230
- protoOf(ElevationProvider$calculator$slambda).invoke_pvotdo_k$ = function (coords, interpolation, $completion) {
1231
- var tmp = this.create_gsta18_k$(coords, interpolation, $completion);
1232
- tmp.result_1 = Unit_instance;
1233
- tmp.exception_1 = null;
1234
- return tmp.doResume_5yljmg_k$();
1239
+ protoOf(ElevationProvider$calculator$slambda).v14 = function (coords, interpolation, $completion) {
1240
+ var tmp = this.w14(coords, interpolation, $completion);
1241
+ tmp.i7_1 = Unit_instance;
1242
+ tmp.j7_1 = null;
1243
+ return tmp.o7();
1235
1244
  };
1236
- protoOf(ElevationProvider$calculator$slambda).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
1245
+ protoOf(ElevationProvider$calculator$slambda).x14 = function (p1, p2, $completion) {
1237
1246
  var tmp = (!(p1 == null) ? isInterface(p1, Coordinates) : false) ? p1 : THROW_CCE();
1238
- return this.invoke_pvotdo_k$(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
1247
+ return this.v14(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
1239
1248
  };
1240
- protoOf(ElevationProvider$calculator$slambda).doResume_5yljmg_k$ = function () {
1241
- var suspendResult = this.result_1;
1249
+ protoOf(ElevationProvider$calculator$slambda).o7 = function () {
1250
+ var suspendResult = this.i7_1;
1242
1251
  $sm: do
1243
1252
  try {
1244
- var tmp = this.state_1;
1253
+ var tmp = this.g7_1;
1245
1254
  switch (tmp) {
1246
1255
  case 0:
1247
- this.exceptionState_1 = 2;
1248
- this.state_1 = 1;
1249
- suspendResult = this.$f_1.getElevation_vb6cmz_k$(this.coords_1.get_latitude_feukvp_k$(), this.coords_1.get_longitude_asb1fq_k$(), this.interpolation_1, this);
1256
+ this.h7_1 = 2;
1257
+ this.g7_1 = 1;
1258
+ suspendResult = this.s14_1.a15_1.g15(this.t14_1.gz(), this.t14_1.hz(), this.u14_1, this);
1250
1259
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1251
1260
  return suspendResult;
1252
1261
  }
@@ -1255,95 +1264,157 @@
1255
1264
  case 1:
1256
1265
  return suspendResult;
1257
1266
  case 2:
1258
- throw this.exception_1;
1267
+ throw this.j7_1;
1259
1268
  }
1260
1269
  } catch ($p) {
1261
1270
  var e = $p;
1262
- if (this.exceptionState_1 === 2) {
1271
+ if (this.h7_1 === 2) {
1263
1272
  throw e;
1264
1273
  } else {
1265
- this.state_1 = this.exceptionState_1;
1266
- this.exception_1 = e;
1274
+ this.g7_1 = this.h7_1;
1275
+ this.j7_1 = e;
1267
1276
  }
1268
1277
  }
1269
1278
  while (true);
1270
1279
  };
1271
- protoOf(ElevationProvider$calculator$slambda).create_gsta18_k$ = function (coords, interpolation, completion) {
1272
- var i = new ElevationProvider$calculator$slambda(this.$f_1, completion);
1273
- i.coords_1 = coords;
1274
- i.interpolation_1 = interpolation;
1280
+ protoOf(ElevationProvider$calculator$slambda).w14 = function (coords, interpolation, completion) {
1281
+ var i = new ElevationProvider$calculator$slambda(this.s14_1, completion);
1282
+ i.t14_1 = coords;
1283
+ i.u14_1 = interpolation;
1275
1284
  return i;
1276
1285
  };
1277
- function ElevationProvider$calculator$slambda_0($f, resultContinuation) {
1278
- var i = new ElevationProvider$calculator$slambda($f, resultContinuation);
1286
+ function ElevationProvider$calculator$slambda_0(this$0, resultContinuation) {
1287
+ var i = new ElevationProvider$calculator$slambda(this$0, resultContinuation);
1279
1288
  return constructCallableReference(function (coords, interpolation, $completion) {
1280
- return i.invoke_pvotdo_k$(coords, interpolation, $completion);
1289
+ return i.v14(coords, interpolation, $completion);
1290
+ }, 2);
1291
+ }
1292
+ function ElevationProvider$calculator$slambda_1(resultContinuation) {
1293
+ CoroutineImpl.call(this, resultContinuation);
1294
+ }
1295
+ protoOf(ElevationProvider$calculator$slambda_1).v14 = function (_unused_var__etf5q3, _unused_var__etf5q3_0, $completion) {
1296
+ var tmp = this.w14(_unused_var__etf5q3, _unused_var__etf5q3_0, $completion);
1297
+ tmp.i7_1 = Unit_instance;
1298
+ tmp.j7_1 = null;
1299
+ return tmp.o7();
1300
+ };
1301
+ protoOf(ElevationProvider$calculator$slambda_1).x14 = function (p1, p2, $completion) {
1302
+ var tmp = (!(p1 == null) ? isInterface(p1, Coordinates) : false) ? p1 : THROW_CCE();
1303
+ return this.v14(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
1304
+ };
1305
+ protoOf(ElevationProvider$calculator$slambda_1).o7 = function () {
1306
+ var suspendResult = this.i7_1;
1307
+ $sm: do
1308
+ try {
1309
+ var tmp = this.g7_1;
1310
+ if (tmp === 0) {
1311
+ this.h7_1 = 1;
1312
+ return NaN;
1313
+ } else if (tmp === 1) {
1314
+ throw this.j7_1;
1315
+ }
1316
+ } catch ($p) {
1317
+ var e = $p;
1318
+ throw e;
1319
+ }
1320
+ while (true);
1321
+ };
1322
+ protoOf(ElevationProvider$calculator$slambda_1).w14 = function (_unused_var__etf5q3, _unused_var__etf5q3_0, completion) {
1323
+ var i = new ElevationProvider$calculator$slambda_1(completion);
1324
+ i.p15_1 = _unused_var__etf5q3;
1325
+ i.q15_1 = _unused_var__etf5q3_0;
1326
+ return i;
1327
+ };
1328
+ function ElevationProvider$calculator$slambda_2(resultContinuation) {
1329
+ var i = new ElevationProvider$calculator$slambda_1(resultContinuation);
1330
+ return constructCallableReference(function (_unused_var__etf5q3, _unused_var__etf5q3_0, $completion) {
1331
+ return i.v14(_unused_var__etf5q3, _unused_var__etf5q3_0, $completion);
1281
1332
  }, 2);
1282
1333
  }
1283
- function ElevationProvider(config, fetcher, fallback) {
1284
- this.config_1 = config;
1285
- this.fetcher_1 = fetcher;
1286
- this.fallback_1 = fallback;
1287
- var containsArg = this.config_1.zoomLevel_1;
1334
+ function ElevationProvider(config, fetcher, fallback, keepNoData, surfaceModel) {
1335
+ this.y14_1 = config;
1336
+ this.z14_1 = fetcher;
1337
+ this.a15_1 = fallback;
1338
+ this.b15_1 = keepNoData;
1339
+ this.c15_1 = surfaceModel;
1340
+ var containsArg = this.y14_1.r15_1;
1288
1341
  // Inline function 'kotlin.require' call
1289
1342
  if (!(0 <= containsArg ? containsArg <= 15 : false)) {
1290
- var message = 'Invalid zoom level: ' + this.config_1.zoomLevel_1 + '. Must be an integer between 0 and 15';
1343
+ var message = 'Invalid zoom level: ' + this.y14_1.r15_1 + '. Must be an integer between 0 and 15';
1291
1344
  throw IllegalArgumentException_init_$Create$(toString(message));
1292
1345
  }
1293
1346
  // Inline function 'kotlin.require' call
1294
- if (!(this.config_1.cacheSize_1 > 0)) {
1295
- var message_0 = 'Invalid cache size: ' + this.config_1.cacheSize_1 + '. Must be a positive integer';
1347
+ if (!(this.y14_1.s15_1 > 0)) {
1348
+ var message_0 = 'Invalid cache size: ' + this.y14_1.s15_1 + '. Must be a positive integer';
1296
1349
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1297
1350
  }
1298
1351
  // Inline function 'kotlin.require' call
1299
- if (!(this.config_1.tileSize_1 > 0 && (this.config_1.tileSize_1 & (this.config_1.tileSize_1 - 1 | 0)) === 0)) {
1300
- var message_1 = 'Invalid tile size: ' + this.config_1.tileSize_1 + '. Must be a positive power of 2';
1352
+ if (!(this.y14_1.u15_1 > 0 && (this.y14_1.u15_1 & (this.y14_1.u15_1 - 1 | 0)) === 0)) {
1353
+ var message_1 = 'Invalid tile size: ' + this.y14_1.u15_1 + '. Must be a positive power of 2';
1301
1354
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1302
1355
  }
1303
1356
  // Inline function 'kotlin.require' call
1304
- if (!(this.config_1.maxRequestsPerSecond_1 >= 0)) {
1305
- var message_2 = 'Invalid maxRequestsPerSecond: ' + this.config_1.maxRequestsPerSecond_1 + '. Must be 0 (no limit) or positive';
1357
+ if (!(this.y14_1.x15_1 >= 0)) {
1358
+ var message_2 = 'Invalid maxRequestsPerSecond: ' + this.y14_1.x15_1 + '. Must be 0 (no limit) or positive';
1306
1359
  throw IllegalArgumentException_init_$Create$(toString(message_2));
1307
1360
  }
1308
- this.tileManager_1 = new TileManager(this.config_1.tileUrlTemplate_1, this.config_1.cacheSize_1, this.fetcher_1);
1361
+ this.d15_1 = new TileManager(this.y14_1.t15_1, this.y14_1.s15_1, this.z14_1);
1309
1362
  var tmp = this;
1310
- var tmp0_safe_receiver = this.fallback_1;
1311
1363
  var tmp_0;
1312
- if (tmp0_safe_receiver == null) {
1313
- tmp_0 = null;
1364
+ if (!(this.a15_1 == null)) {
1365
+ tmp_0 = ElevationProvider$calculator$slambda_0(this, null);
1366
+ } else if (this.b15_1) {
1367
+ tmp_0 = ElevationProvider$calculator$slambda_2(null);
1314
1368
  } else {
1315
- // Inline function 'kotlin.let' call
1316
- tmp_0 = ElevationProvider$calculator$slambda_0(tmp0_safe_receiver, null);
1369
+ tmp_0 = null;
1317
1370
  }
1318
- tmp.calculator_1 = new ElevationCalculator(this.tileManager_1, this.config_1.tileSize_1, tmp_0);
1319
- this.batchCalculator_1 = new BatchCalculator(this.calculator_1);
1371
+ tmp.e15_1 = new ElevationCalculator(this.d15_1, this.y14_1.u15_1, tmp_0);
1372
+ this.f15_1 = new BatchCalculator(this.e15_1);
1320
1373
  }
1321
- protoOf(ElevationProvider).withFallback_7synod_k$ = function (other) {
1322
- return new ElevationProvider(this.config_1, this.fetcher_1, other);
1374
+ protoOf(ElevationProvider).y15 = function (other) {
1375
+ // Inline function 'kotlin.require' call
1376
+ if (!!this.b15_1) {
1377
+ var message = 'a raw IGN LiDAR HD layer takes no fallback: its no-data must stay NaN';
1378
+ throw IllegalArgumentException_init_$Create$(toString(message));
1379
+ }
1380
+ return new ElevationProvider(this.y14_1, this.z14_1, other, false, this.c15_1);
1381
+ };
1382
+ protoOf(ElevationProvider).z15 = function (surface) {
1383
+ // Inline function 'kotlin.require' call
1384
+ if (!(surface == null || surface.b15_1)) {
1385
+ var message = 'a surface model must keep its no-data as NaN';
1386
+ throw IllegalArgumentException_init_$Create$(toString(message));
1387
+ }
1388
+ // Inline function 'kotlin.require' call
1389
+ if (!!this.b15_1) {
1390
+ var message_0 = 'a raw IGN LiDAR HD layer carries no surface model';
1391
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
1392
+ }
1393
+ return new ElevationProvider(this.y14_1, this.z14_1, this.a15_1, false, surface);
1323
1394
  };
1324
- protoOf(ElevationProvider).get_attribution_8rpdsm_k$ = function () {
1325
- return this.config_1.attribution_1;
1395
+ protoOf(ElevationProvider).a16 = function () {
1396
+ return this.y14_1.v15_1;
1326
1397
  };
1327
- protoOf(ElevationProvider).getElevation_vb6cmz_k$ = function (latitude, longitude, interpolation, $completion) {
1328
- return this.calculator_1.getElevation_e117b3_k$(new LatLon(latitude, longitude), this.config_1.zoomLevel_1, interpolation, $completion);
1398
+ protoOf(ElevationProvider).g15 = function (latitude, longitude, interpolation, $completion) {
1399
+ return this.e15_1.fz(new LatLon(latitude, longitude), this.y14_1.r15_1, interpolation, $completion);
1329
1400
  };
1330
- protoOf(ElevationProvider).setElevations_opglu7_k$ = function (coordinates, interpolation, $completion) {
1331
- return this.batchCalculator_1.setElevations$default_qzn313_k$(coordinates, this.config_1.zoomLevel_1, interpolation, VOID, $completion);
1401
+ protoOf(ElevationProvider).b16 = function (coordinates, interpolation, $completion) {
1402
+ return this.f15_1.s10(coordinates, this.y14_1.r15_1, interpolation, VOID, $completion);
1332
1403
  };
1333
- protoOf(ElevationProvider).setElevations$default_vdh3yj_k$ = function (coordinates, interpolation, $completion, $super) {
1404
+ protoOf(ElevationProvider).c16 = function (coordinates, interpolation, $completion, $super) {
1334
1405
  interpolation = interpolation === VOID ? true : interpolation;
1335
- return $super === VOID ? this.setElevations_opglu7_k$(coordinates, interpolation, $completion) : $super.setElevations_opglu7_k$.call(this, coordinates, interpolation, $completion);
1406
+ return $super === VOID ? this.b16(coordinates, interpolation, $completion) : $super.b16.call(this, coordinates, interpolation, $completion);
1336
1407
  };
1337
- protoOf(ElevationProvider).getElevationsAlong_o6hmac_k$ = function (path, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
1338
- return this.batchCalculator_1.getElevationsAlong_4qke12_k$(path, this.config_1.zoomLevel_1, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
1408
+ protoOf(ElevationProvider).d16 = function (path, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
1409
+ return this.f15_1.w10(path, this.y14_1.r15_1, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
1339
1410
  };
1340
1411
  function defaultTileFetcher(config) {
1341
- if (config.encoding_1.equals(TileEncoding_TERRARIUM_getInstance()) && config.maxRequestsPerSecond_1 === 0) {
1412
+ if (config.w15_1.equals(TileEncoding_TERRARIUM_getInstance()) && config.x15_1 === 0) {
1342
1413
  return fetchAndDecodeTile$ref_1();
1343
1414
  }
1344
- var bytes = pacedTileBytesFetcher(config.maxRequestsPerSecond_1);
1415
+ var bytes = pacedTileBytesFetcher(config.x15_1);
1345
1416
  var tmp;
1346
- switch (config.encoding_1.ordinal_1) {
1417
+ switch (config.w15_1.v1_1) {
1347
1418
  case 0:
1348
1419
  tmp = defaultTileFetcher$slambda_0(bytes, null);
1349
1420
  break;
@@ -1359,35 +1430,35 @@
1359
1430
  function fetchAndDecodeTile$ref() {
1360
1431
  KFunctionImpl.call(this, 1, 2, 2);
1361
1432
  }
1362
- protoOf(fetchAndDecodeTile$ref).invoke_fa3hvc_k$ = function (p0, $completion) {
1433
+ protoOf(fetchAndDecodeTile$ref).h16 = function (p0, $completion) {
1363
1434
  return fetchAndDecodeTile(p0, $completion);
1364
1435
  };
1365
- protoOf(fetchAndDecodeTile$ref).invoke_qns8j1_k$ = function (p1, $completion) {
1366
- return this.invoke_fa3hvc_k$((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1436
+ protoOf(fetchAndDecodeTile$ref).w7 = function (p1, $completion) {
1437
+ return this.h16((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1367
1438
  };
1368
1439
  function defaultTileFetcher$slambda($bytes, resultContinuation) {
1369
- this.$bytes_1 = $bytes;
1440
+ this.q16_1 = $bytes;
1370
1441
  CoroutineImpl.call(this, resultContinuation);
1371
1442
  }
1372
- protoOf(defaultTileFetcher$slambda).invoke_fa3hvc_k$ = function (url, $completion) {
1373
- var tmp = this.create_99ct7z_k$(url, $completion);
1374
- tmp.result_1 = Unit_instance;
1375
- tmp.exception_1 = null;
1376
- return tmp.doResume_5yljmg_k$();
1443
+ protoOf(defaultTileFetcher$slambda).h16 = function (url, $completion) {
1444
+ var tmp = this.s16(url, $completion);
1445
+ tmp.i7_1 = Unit_instance;
1446
+ tmp.j7_1 = null;
1447
+ return tmp.o7();
1377
1448
  };
1378
- protoOf(defaultTileFetcher$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
1379
- return this.invoke_fa3hvc_k$((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1449
+ protoOf(defaultTileFetcher$slambda).w7 = function (p1, $completion) {
1450
+ return this.h16((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1380
1451
  };
1381
- protoOf(defaultTileFetcher$slambda).doResume_5yljmg_k$ = function () {
1382
- var suspendResult = this.result_1;
1452
+ protoOf(defaultTileFetcher$slambda).o7 = function () {
1453
+ var suspendResult = this.i7_1;
1383
1454
  $sm: do
1384
1455
  try {
1385
- var tmp = this.state_1;
1456
+ var tmp = this.g7_1;
1386
1457
  switch (tmp) {
1387
1458
  case 0:
1388
- this.exceptionState_1 = 3;
1389
- this.state_1 = 1;
1390
- suspendResult = this.$bytes_1(this.url_1, this);
1459
+ this.h7_1 = 3;
1460
+ this.g7_1 = 1;
1461
+ suspendResult = this.q16_1(this.r16_1, this);
1391
1462
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1392
1463
  return suspendResult;
1393
1464
  }
@@ -1395,8 +1466,8 @@
1395
1466
  continue $sm;
1396
1467
  case 1:
1397
1468
  var ARGUMENT = suspendResult;
1398
- this.state_1 = 2;
1399
- suspendResult = decodeTileBytes(ARGUMENT, this.url_1, this);
1469
+ this.g7_1 = 2;
1470
+ suspendResult = decodeTileBytes(ARGUMENT, this.r16_1, this);
1400
1471
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1401
1472
  return suspendResult;
1402
1473
  }
@@ -1405,54 +1476,54 @@
1405
1476
  case 2:
1406
1477
  return suspendResult;
1407
1478
  case 3:
1408
- throw this.exception_1;
1479
+ throw this.j7_1;
1409
1480
  }
1410
1481
  } catch ($p) {
1411
1482
  var e = $p;
1412
- if (this.exceptionState_1 === 3) {
1483
+ if (this.h7_1 === 3) {
1413
1484
  throw e;
1414
1485
  } else {
1415
- this.state_1 = this.exceptionState_1;
1416
- this.exception_1 = e;
1486
+ this.g7_1 = this.h7_1;
1487
+ this.j7_1 = e;
1417
1488
  }
1418
1489
  }
1419
1490
  while (true);
1420
1491
  };
1421
- protoOf(defaultTileFetcher$slambda).create_99ct7z_k$ = function (url, completion) {
1422
- var i = new defaultTileFetcher$slambda(this.$bytes_1, completion);
1423
- i.url_1 = url;
1492
+ protoOf(defaultTileFetcher$slambda).s16 = function (url, completion) {
1493
+ var i = new defaultTileFetcher$slambda(this.q16_1, completion);
1494
+ i.r16_1 = url;
1424
1495
  return i;
1425
1496
  };
1426
1497
  function defaultTileFetcher$slambda_0($bytes, resultContinuation) {
1427
1498
  var i = new defaultTileFetcher$slambda($bytes, resultContinuation);
1428
1499
  return constructCallableReference(function (url, $completion) {
1429
- return i.invoke_fa3hvc_k$(url, $completion);
1500
+ return i.h16(url, $completion);
1430
1501
  }, 1);
1431
1502
  }
1432
1503
  function defaultTileFetcher$slambda_1($bytes, $config, resultContinuation) {
1433
- this.$bytes_1 = $bytes;
1434
- this.$config_1 = $config;
1504
+ this.b17_1 = $bytes;
1505
+ this.c17_1 = $config;
1435
1506
  CoroutineImpl.call(this, resultContinuation);
1436
1507
  }
1437
- protoOf(defaultTileFetcher$slambda_1).invoke_fa3hvc_k$ = function (url, $completion) {
1438
- var tmp = this.create_99ct7z_k$(url, $completion);
1439
- tmp.result_1 = Unit_instance;
1440
- tmp.exception_1 = null;
1441
- return tmp.doResume_5yljmg_k$();
1508
+ protoOf(defaultTileFetcher$slambda_1).h16 = function (url, $completion) {
1509
+ var tmp = this.s16(url, $completion);
1510
+ tmp.i7_1 = Unit_instance;
1511
+ tmp.j7_1 = null;
1512
+ return tmp.o7();
1442
1513
  };
1443
- protoOf(defaultTileFetcher$slambda_1).invoke_qns8j1_k$ = function (p1, $completion) {
1444
- return this.invoke_fa3hvc_k$((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1514
+ protoOf(defaultTileFetcher$slambda_1).w7 = function (p1, $completion) {
1515
+ return this.h16((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1445
1516
  };
1446
- protoOf(defaultTileFetcher$slambda_1).doResume_5yljmg_k$ = function () {
1447
- var suspendResult = this.result_1;
1517
+ protoOf(defaultTileFetcher$slambda_1).o7 = function () {
1518
+ var suspendResult = this.i7_1;
1448
1519
  $sm: do
1449
1520
  try {
1450
- var tmp = this.state_1;
1521
+ var tmp = this.g7_1;
1451
1522
  switch (tmp) {
1452
1523
  case 0:
1453
- this.exceptionState_1 = 2;
1454
- this.state_1 = 1;
1455
- suspendResult = this.$bytes_1(this.url_1, this);
1524
+ this.h7_1 = 2;
1525
+ this.g7_1 = 1;
1526
+ suspendResult = this.b17_1(this.d17_1, this);
1456
1527
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1457
1528
  return suspendResult;
1458
1529
  }
@@ -1460,30 +1531,30 @@
1460
1531
  continue $sm;
1461
1532
  case 1:
1462
1533
  var ARGUMENT = suspendResult;
1463
- return decodeBil32Tile(ARGUMENT, this.$config_1.tileSize_1, this.url_1);
1534
+ return decodeBil32Tile(ARGUMENT, this.c17_1.u15_1, this.d17_1);
1464
1535
  case 2:
1465
- throw this.exception_1;
1536
+ throw this.j7_1;
1466
1537
  }
1467
1538
  } catch ($p) {
1468
1539
  var e = $p;
1469
- if (this.exceptionState_1 === 2) {
1540
+ if (this.h7_1 === 2) {
1470
1541
  throw e;
1471
1542
  } else {
1472
- this.state_1 = this.exceptionState_1;
1473
- this.exception_1 = e;
1543
+ this.g7_1 = this.h7_1;
1544
+ this.j7_1 = e;
1474
1545
  }
1475
1546
  }
1476
1547
  while (true);
1477
1548
  };
1478
- protoOf(defaultTileFetcher$slambda_1).create_99ct7z_k$ = function (url, completion) {
1479
- var i = new defaultTileFetcher$slambda_1(this.$bytes_1, this.$config_1, completion);
1480
- i.url_1 = url;
1549
+ protoOf(defaultTileFetcher$slambda_1).s16 = function (url, completion) {
1550
+ var i = new defaultTileFetcher$slambda_1(this.b17_1, this.c17_1, completion);
1551
+ i.d17_1 = url;
1481
1552
  return i;
1482
1553
  };
1483
1554
  function defaultTileFetcher$slambda_2($bytes, $config, resultContinuation) {
1484
1555
  var i = new defaultTileFetcher$slambda_1($bytes, $config, resultContinuation);
1485
1556
  return constructCallableReference(function (url, $completion) {
1486
- return i.invoke_fa3hvc_k$(url, $completion);
1557
+ return i.h16(url, $completion);
1487
1558
  }, 1);
1488
1559
  }
1489
1560
  function defaultTileFetcher$ref() {
@@ -1499,38 +1570,38 @@
1499
1570
  attribution = attribution === VOID ? new Attribution('Mapterhorn elevation data. See mapterhorn.com/attribution/ for details.', 'https://mapterhorn.com/attribution/') : attribution;
1500
1571
  encoding = encoding === VOID ? TileEncoding_TERRARIUM_getInstance() : encoding;
1501
1572
  maxRequestsPerSecond = maxRequestsPerSecond === VOID ? 0 : maxRequestsPerSecond;
1502
- this.zoomLevel_1 = zoomLevel;
1503
- this.cacheSize_1 = cacheSize;
1504
- this.tileUrlTemplate_1 = tileUrlTemplate;
1505
- this.tileSize_1 = tileSize;
1506
- this.attribution_1 = attribution;
1507
- this.encoding_1 = encoding;
1508
- this.maxRequestsPerSecond_1 = maxRequestsPerSecond;
1509
- }
1510
- protoOf(ElevationProviderConfig).copy_u5v3pu_k$ = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) {
1573
+ this.r15_1 = zoomLevel;
1574
+ this.s15_1 = cacheSize;
1575
+ this.t15_1 = tileUrlTemplate;
1576
+ this.u15_1 = tileSize;
1577
+ this.v15_1 = attribution;
1578
+ this.w15_1 = encoding;
1579
+ this.x15_1 = maxRequestsPerSecond;
1580
+ }
1581
+ protoOf(ElevationProviderConfig).e17 = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) {
1511
1582
  return new ElevationProviderConfig(zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond);
1512
1583
  };
1513
- protoOf(ElevationProviderConfig).copy$default_ptnzjy_k$ = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond, $super) {
1514
- zoomLevel = zoomLevel === VOID ? this.zoomLevel_1 : zoomLevel;
1515
- cacheSize = cacheSize === VOID ? this.cacheSize_1 : cacheSize;
1516
- tileUrlTemplate = tileUrlTemplate === VOID ? this.tileUrlTemplate_1 : tileUrlTemplate;
1517
- tileSize = tileSize === VOID ? this.tileSize_1 : tileSize;
1518
- attribution = attribution === VOID ? this.attribution_1 : attribution;
1519
- encoding = encoding === VOID ? this.encoding_1 : encoding;
1520
- maxRequestsPerSecond = maxRequestsPerSecond === VOID ? this.maxRequestsPerSecond_1 : maxRequestsPerSecond;
1521
- return $super === VOID ? this.copy_u5v3pu_k$(zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) : $super.copy_u5v3pu_k$.call(this, zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond);
1584
+ protoOf(ElevationProviderConfig).f17 = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond, $super) {
1585
+ zoomLevel = zoomLevel === VOID ? this.r15_1 : zoomLevel;
1586
+ cacheSize = cacheSize === VOID ? this.s15_1 : cacheSize;
1587
+ tileUrlTemplate = tileUrlTemplate === VOID ? this.t15_1 : tileUrlTemplate;
1588
+ tileSize = tileSize === VOID ? this.u15_1 : tileSize;
1589
+ attribution = attribution === VOID ? this.v15_1 : attribution;
1590
+ encoding = encoding === VOID ? this.w15_1 : encoding;
1591
+ maxRequestsPerSecond = maxRequestsPerSecond === VOID ? this.x15_1 : maxRequestsPerSecond;
1592
+ return $super === VOID ? this.e17(zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) : $super.e17.call(this, zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond);
1522
1593
  };
1523
1594
  protoOf(ElevationProviderConfig).toString = function () {
1524
- return 'ElevationProviderConfig(zoomLevel=' + this.zoomLevel_1 + ', cacheSize=' + this.cacheSize_1 + ', tileUrlTemplate=' + this.tileUrlTemplate_1 + ', tileSize=' + this.tileSize_1 + ', attribution=' + this.attribution_1.toString() + ', encoding=' + this.encoding_1.toString() + ', maxRequestsPerSecond=' + this.maxRequestsPerSecond_1 + ')';
1595
+ return 'ElevationProviderConfig(zoomLevel=' + this.r15_1 + ', cacheSize=' + this.s15_1 + ', tileUrlTemplate=' + this.t15_1 + ', tileSize=' + this.u15_1 + ', attribution=' + this.v15_1.toString() + ', encoding=' + this.w15_1.toString() + ', maxRequestsPerSecond=' + this.x15_1 + ')';
1525
1596
  };
1526
1597
  protoOf(ElevationProviderConfig).hashCode = function () {
1527
- var result = this.zoomLevel_1;
1528
- result = imul(result, 31) + this.cacheSize_1 | 0;
1529
- result = imul(result, 31) + getStringHashCode(this.tileUrlTemplate_1) | 0;
1530
- result = imul(result, 31) + this.tileSize_1 | 0;
1531
- result = imul(result, 31) + this.attribution_1.hashCode() | 0;
1532
- result = imul(result, 31) + this.encoding_1.hashCode() | 0;
1533
- result = imul(result, 31) + this.maxRequestsPerSecond_1 | 0;
1598
+ var result = this.r15_1;
1599
+ result = imul(result, 31) + this.s15_1 | 0;
1600
+ result = imul(result, 31) + getStringHashCode(this.t15_1) | 0;
1601
+ result = imul(result, 31) + this.u15_1 | 0;
1602
+ result = imul(result, 31) + this.v15_1.hashCode() | 0;
1603
+ result = imul(result, 31) + this.w15_1.hashCode() | 0;
1604
+ result = imul(result, 31) + this.x15_1 | 0;
1534
1605
  return result;
1535
1606
  };
1536
1607
  protoOf(ElevationProviderConfig).equals = function (other) {
@@ -1538,33 +1609,33 @@
1538
1609
  return true;
1539
1610
  if (!(other instanceof ElevationProviderConfig))
1540
1611
  return false;
1541
- if (!(this.zoomLevel_1 === other.zoomLevel_1))
1612
+ if (!(this.r15_1 === other.r15_1))
1542
1613
  return false;
1543
- if (!(this.cacheSize_1 === other.cacheSize_1))
1614
+ if (!(this.s15_1 === other.s15_1))
1544
1615
  return false;
1545
- if (!(this.tileUrlTemplate_1 === other.tileUrlTemplate_1))
1616
+ if (!(this.t15_1 === other.t15_1))
1546
1617
  return false;
1547
- if (!(this.tileSize_1 === other.tileSize_1))
1618
+ if (!(this.u15_1 === other.u15_1))
1548
1619
  return false;
1549
- if (!this.attribution_1.equals(other.attribution_1))
1620
+ if (!this.v15_1.equals(other.v15_1))
1550
1621
  return false;
1551
- if (!this.encoding_1.equals(other.encoding_1))
1622
+ if (!this.w15_1.equals(other.w15_1))
1552
1623
  return false;
1553
- if (!(this.maxRequestsPerSecond_1 === other.maxRequestsPerSecond_1))
1624
+ if (!(this.x15_1 === other.x15_1))
1554
1625
  return false;
1555
1626
  return true;
1556
1627
  };
1557
1628
  function Attribution(text, url) {
1558
1629
  url = url === VOID ? null : url;
1559
- this.text_1 = text;
1560
- this.url_1 = url;
1630
+ this.g17_1 = text;
1631
+ this.h17_1 = url;
1561
1632
  }
1562
1633
  protoOf(Attribution).toString = function () {
1563
- return 'Attribution(text=' + this.text_1 + ', url=' + this.url_1 + ')';
1634
+ return 'Attribution(text=' + this.g17_1 + ', url=' + this.h17_1 + ')';
1564
1635
  };
1565
1636
  protoOf(Attribution).hashCode = function () {
1566
- var result = getStringHashCode(this.text_1);
1567
- result = imul(result, 31) + (this.url_1 == null ? 0 : getStringHashCode(this.url_1)) | 0;
1637
+ var result = getStringHashCode(this.g17_1);
1638
+ result = imul(result, 31) + (this.h17_1 == null ? 0 : getStringHashCode(this.h17_1)) | 0;
1568
1639
  return result;
1569
1640
  };
1570
1641
  protoOf(Attribution).equals = function (other) {
@@ -1572,9 +1643,9 @@
1572
1643
  return true;
1573
1644
  if (!(other instanceof Attribution))
1574
1645
  return false;
1575
- if (!(this.text_1 === other.text_1))
1646
+ if (!(this.g17_1 === other.g17_1))
1576
1647
  return false;
1577
- if (!(this.url_1 == other.url_1))
1648
+ if (!(this.h17_1 == other.h17_1))
1578
1649
  return false;
1579
1650
  return true;
1580
1651
  };
@@ -1584,28 +1655,28 @@
1584
1655
  }
1585
1656
  function ElevationSmoother() {
1586
1657
  }
1587
- protoOf(ElevationSmoother).smooth_j2mgq7_k$ = function (points, windowSize) {
1588
- if (points.get_size_woubt6_k$() < 3)
1658
+ protoOf(ElevationSmoother).t10 = function (points, windowSize) {
1659
+ if (points.o() < 3)
1589
1660
  return points;
1590
1661
  // Inline function 'kotlin.require' call
1591
1662
  if (!(windowSize > 0.0)) {
1592
1663
  var message = 'Invalid window size: ' + formatWindow(ElevationSmoother_instance, windowSize) + '. Must be positive';
1593
1664
  throw IllegalArgumentException_init_$Create$(toString(message));
1594
1665
  }
1595
- var distances = Distance_instance.cumulativeDistances_92iok5_k$(points);
1666
+ var distances = Distance_instance.g11(points);
1596
1667
  var tmp = 0;
1597
- var tmp_0 = points.get_size_woubt6_k$();
1668
+ var tmp_0 = points.o();
1598
1669
  var tmp_1 = new Float64Array(tmp_0);
1599
1670
  while (tmp < tmp_0) {
1600
1671
  var tmp_2 = tmp;
1601
- tmp_1[tmp_2] = points.get_c1px32_k$(tmp_2).get_elevation_8fwyb8_k$();
1672
+ tmp_1[tmp_2] = points.p(tmp_2).c11();
1602
1673
  tmp = tmp + 1 | 0;
1603
1674
  }
1604
1675
  var elevations = tmp_1;
1605
- var smoothed = this.smoothProfile_6l6agp_k$(distances, elevations, windowSize);
1676
+ var smoothed = this.i17(distances, elevations, windowSize);
1606
1677
  // Inline function 'kotlin.collections.List' call
1607
1678
  // Inline function 'kotlin.collections.MutableList' call
1608
- var size = points.get_size_woubt6_k$();
1679
+ var size = points.o();
1609
1680
  var list = ArrayList_init_$Create$_0(size);
1610
1681
  // Inline function 'kotlin.repeat' call
1611
1682
  var inductionVariable = 0;
@@ -1613,13 +1684,13 @@
1613
1684
  do {
1614
1685
  var index = inductionVariable;
1615
1686
  inductionVariable = inductionVariable + 1 | 0;
1616
- var tmp$ret$7 = new LatLonElevation(points.get_c1px32_k$(index).get_latitude_feukvp_k$(), points.get_c1px32_k$(index).get_longitude_asb1fq_k$(), smoothed[index]);
1617
- list.add_utx5q5_k$(tmp$ret$7);
1687
+ var tmp$ret$7 = new LatLonElevation(points.p(index).gz(), points.p(index).hz(), smoothed[index]);
1688
+ list.k(tmp$ret$7);
1618
1689
  }
1619
1690
  while (inductionVariable < size);
1620
1691
  return list;
1621
1692
  };
1622
- protoOf(ElevationSmoother).smoothProfile_6l6agp_k$ = function (distanceM, elevationM, windowSize) {
1693
+ protoOf(ElevationSmoother).i17 = function (distanceM, elevationM, windowSize) {
1623
1694
  // Inline function 'kotlin.require' call
1624
1695
  if (!(distanceM.length === elevationM.length)) {
1625
1696
  var message = 'distanceM (' + distanceM.length + ') and elevationM (' + elevationM.length + ') must have the same length';
@@ -1702,9 +1773,6 @@
1702
1773
  function ElevationSmoother_getInstance() {
1703
1774
  return ElevationSmoother_instance;
1704
1775
  }
1705
- function ignWmsTemplate($this, layer, tileSize) {
1706
- return 'https://data.geopf.fr/wms-r/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=' + layer + '&STYLES=normal' + ('&CRS=EPSG:4326&BBOX={bbox}&WIDTH=' + tileSize + '&HEIGHT=' + tileSize + '&FORMAT=image%2Fx-bil%3Bbits%3D32');
1707
- }
1708
1776
  var static_init_called_0;
1709
1777
  function static_init_0() {
1710
1778
  if (static_init_called_0)
@@ -1721,33 +1789,30 @@
1721
1789
  var ElevationSource_IGN_LIDAR_HD_instance;
1722
1790
  function Companion() {
1723
1791
  Companion_instance_0 = this;
1724
- this.DEFAULT_1 = ElevationSource_MAPTERHORN_getInstance();
1725
- this.IGN_TILE_SIZE_1 = 256;
1726
- this.IGN_WMS_URL_1 = 'https://data.geopf.fr/wms-r/wms';
1727
- this.IGN_LIDAR_HD_MNT_LAYER_1 = 'IGNF_LIDAR-HD_MNT_ELEVATION.ELEVATIONGRIDCOVERAGE.WGS84G';
1792
+ this.j17_1 = ElevationSource_MAPTERHORN_getInstance();
1728
1793
  }
1729
- protoOf(Companion).get_ids_18j3qp_k$ = function () {
1794
+ protoOf(Companion).k17 = function () {
1730
1795
  // Inline function 'kotlin.collections.map' call
1731
1796
  var this_0 = get_entries();
1732
1797
  // Inline function 'kotlin.collections.mapTo' call
1733
1798
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1734
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
1735
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1736
- var item = _iterator__ex2g4s.next_20eer_k$();
1737
- var tmp$ret$2 = item.id_1;
1738
- destination.add_utx5q5_k$(tmp$ret$2);
1799
+ var _iterator__ex2g4s = this_0.l();
1800
+ while (_iterator__ex2g4s.m()) {
1801
+ var item = _iterator__ex2g4s.n();
1802
+ var tmp$ret$2 = item.n17_1;
1803
+ destination.k(tmp$ret$2);
1739
1804
  }
1740
1805
  return destination;
1741
1806
  };
1742
- protoOf(Companion).byId_8gmd94_k$ = function (id) {
1807
+ protoOf(Companion).o17 = function (id) {
1743
1808
  var tmp0 = get_entries();
1744
1809
  var tmp$ret$0;
1745
1810
  $l$block: {
1746
1811
  // Inline function 'kotlin.collections.firstOrNull' call
1747
- var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
1748
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1749
- var element = _iterator__ex2g4s.next_20eer_k$();
1750
- if (element.id_1 === id) {
1812
+ var _iterator__ex2g4s = tmp0.l();
1813
+ while (_iterator__ex2g4s.m()) {
1814
+ var element = _iterator__ex2g4s.n();
1815
+ if (element.n17_1 === id) {
1751
1816
  tmp$ret$0 = element;
1752
1817
  break $l$block;
1753
1818
  }
@@ -1757,7 +1822,7 @@
1757
1822
  var tmp0_elvis_lhs = tmp$ret$0;
1758
1823
  var tmp;
1759
1824
  if (tmp0_elvis_lhs == null) {
1760
- throw IllegalArgumentException_init_$Create$("Unknown DEM source '" + id + "' \u2014 expected one of " + joinToString(this.get_ids_18j3qp_k$()));
1825
+ throw IllegalArgumentException_init_$Create$("Unknown DEM source '" + id + "' \u2014 expected one of " + joinToString(this.k17()));
1761
1826
  } else {
1762
1827
  tmp = tmp0_elvis_lhs;
1763
1828
  }
@@ -1781,11 +1846,11 @@
1781
1846
  var $ENTRIES;
1782
1847
  function ElevationSource(name, ordinal, id) {
1783
1848
  Enum.call(this, name, ordinal);
1784
- this.id_1 = id;
1849
+ this.n17_1 = id;
1785
1850
  }
1786
- protoOf(ElevationSource).get_fallback_j7pnit_k$ = function () {
1851
+ protoOf(ElevationSource).p17 = function () {
1787
1852
  var tmp;
1788
- switch (this.ordinal_1) {
1853
+ switch (this.v1_1) {
1789
1854
  case 0:
1790
1855
  tmp = null;
1791
1856
  break;
@@ -1798,14 +1863,14 @@
1798
1863
  }
1799
1864
  return tmp;
1800
1865
  };
1801
- protoOf(ElevationSource).get_defaultZoomLevel_a8cjy1_k$ = function () {
1866
+ protoOf(ElevationSource).q17 = function () {
1802
1867
  var tmp;
1803
- switch (this.ordinal_1) {
1868
+ switch (this.v1_1) {
1804
1869
  case 0:
1805
- tmp = (new ElevationProviderConfig()).zoomLevel_1;
1870
+ tmp = (new ElevationProviderConfig()).r15_1;
1806
1871
  break;
1807
1872
  case 1:
1808
- tmp = 15;
1873
+ tmp = IgnLidarHdLayer_MNT_getInstance().q17();
1809
1874
  break;
1810
1875
  default:
1811
1876
  noWhenBranchMatchedException();
@@ -1813,18 +1878,15 @@
1813
1878
  }
1814
1879
  return tmp;
1815
1880
  };
1816
- protoOf(ElevationSource).config_nlp9c9_k$ = function (zoomLevel) {
1881
+ protoOf(ElevationSource).u17 = function (zoomLevel) {
1817
1882
  var tmp;
1818
- switch (this.ordinal_1) {
1883
+ switch (this.v1_1) {
1819
1884
  case 0:
1820
- tmp = new ElevationProviderConfig(zoomLevel == null ? this.get_defaultZoomLevel_a8cjy1_k$() : zoomLevel);
1885
+ tmp = new ElevationProviderConfig(zoomLevel == null ? this.q17() : zoomLevel);
1821
1886
  break;
1822
1887
  case 1:
1823
- var tmp3_zoomLevel = zoomLevel == null ? this.get_defaultZoomLevel_a8cjy1_k$() : zoomLevel;
1824
- var tmp5_tileUrlTemplate = ignWmsTemplate(Companion_getInstance(), 'IGNF_LIDAR-HD_MNT_ELEVATION.ELEVATIONGRIDCOVERAGE.WGS84G', 256);
1825
- var tmp6_encoding = TileEncoding_BIL32_getInstance();
1826
- var tmp7_attribution = new Attribution('\xA9 IGN \u2014 LiDAR HD MNT, Licence Ouverte Etalab 2.0', 'https://geoservices.ign.fr/lidarhd');
1827
- tmp = new ElevationProviderConfig(tmp3_zoomLevel, VOID, tmp5_tileUrlTemplate, 256, tmp7_attribution, tmp6_encoding, 20);
1888
+ var tmp_0 = IgnLidarHdLayer_MNT_getInstance();
1889
+ tmp = tmp_0.u17(zoomLevel == null ? this.q17() : zoomLevel);
1828
1890
  break;
1829
1891
  default:
1830
1892
  noWhenBranchMatchedException();
@@ -1841,23 +1903,31 @@
1841
1903
  tmp = fetcherFor;
1842
1904
  }
1843
1905
  fetcherFor = tmp;
1844
- var config = _this__u8e3s4.config_nlp9c9_k$(zoomLevel);
1906
+ var config = _this__u8e3s4.u17(zoomLevel);
1845
1907
  var primary = ElevationProvider_init_$Create$(config, fetcherFor(config));
1846
- var tmp0_elvis_lhs = _this__u8e3s4.get_fallback_j7pnit_k$();
1908
+ var tmp0_safe_receiver = _this__u8e3s4.p17();
1847
1909
  var tmp_0;
1848
- if (tmp0_elvis_lhs == null) {
1849
- return primary;
1910
+ if (tmp0_safe_receiver == null) {
1911
+ tmp_0 = null;
1912
+ } else {
1913
+ // Inline function 'kotlin.let' call
1914
+ tmp_0 = primary.y15(provider(tmp0_safe_receiver, null, fetcherFor));
1915
+ }
1916
+ var tmp1_elvis_lhs = tmp_0;
1917
+ var withFallback = tmp1_elvis_lhs == null ? primary : tmp1_elvis_lhs;
1918
+ var tmp_1;
1919
+ if (_this__u8e3s4.equals(ElevationSource_IGN_LIDAR_HD_getInstance()) && config.r15_1 === IgnLidarHdLayer_MNS_getInstance().q17()) {
1920
+ tmp_1 = withFallback.z15(provider_0(IgnLidarHdLayer_MNS_getInstance(), null, fetcherFor));
1850
1921
  } else {
1851
- tmp_0 = tmp0_elvis_lhs;
1922
+ tmp_1 = withFallback;
1852
1923
  }
1853
- var next = tmp_0;
1854
- return primary.withFallback_7synod_k$(provider(next, null, fetcherFor));
1924
+ return tmp_1;
1855
1925
  }
1856
1926
  function wmsBbox4326(tc) {
1857
- var tiles = 1 << tc.z_1;
1858
- var west = tc.x_1 / tiles * 360.0 - 180.0;
1859
- var east = (tc.x_1 + 1 | 0) / tiles * 360.0 - 180.0;
1860
- return '' + tileNorthLatitude(tc.y_1 + 1 | 0, tiles) + ',' + west + ',' + tileNorthLatitude(tc.y_1, tiles) + ',' + east;
1927
+ var tiles = 1 << tc.zz_1;
1928
+ var west = tc.xz_1 / tiles * 360.0 - 180.0;
1929
+ var east = (tc.xz_1 + 1 | 0) / tiles * 360.0 - 180.0;
1930
+ return '' + tileNorthLatitude(tc.yz_1 + 1 | 0, tiles) + ',' + west + ',' + tileNorthLatitude(tc.yz_1, tiles) + ',' + east;
1861
1931
  }
1862
1932
  function tileNorthLatitude(y, tiles) {
1863
1933
  // Inline function 'kotlin.math.sinh' call
@@ -1875,120 +1945,120 @@
1875
1945
  return ElevationSource_IGN_LIDAR_HD_instance;
1876
1946
  }
1877
1947
  function Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation) {
1878
- this.$semaphore_1 = $semaphore;
1879
- this.$action_1 = $action;
1880
- this.$item_1 = $item;
1948
+ this.d18_1 = $semaphore;
1949
+ this.e18_1 = $action;
1950
+ this.f18_1 = $item;
1881
1951
  CoroutineImpl.call(this, resultContinuation);
1882
1952
  }
1883
- protoOf(Flux$forEachParallel$slambda$slambda).invoke_d9fzmj_k$ = function ($this$async, $completion) {
1884
- var tmp = this.create_rcuf4x_k$($this$async, $completion);
1885
- tmp.result_1 = Unit_instance;
1886
- tmp.exception_1 = null;
1887
- return tmp.doResume_5yljmg_k$();
1953
+ protoOf(Flux$forEachParallel$slambda$slambda).j18 = function ($this$async, $completion) {
1954
+ var tmp = this.k18($this$async, $completion);
1955
+ tmp.i7_1 = Unit_instance;
1956
+ tmp.j7_1 = null;
1957
+ return tmp.o7();
1888
1958
  };
1889
- protoOf(Flux$forEachParallel$slambda$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
1890
- return this.invoke_d9fzmj_k$((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1959
+ protoOf(Flux$forEachParallel$slambda$slambda).w7 = function (p1, $completion) {
1960
+ return this.j18((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1891
1961
  };
1892
- protoOf(Flux$forEachParallel$slambda$slambda).doResume_5yljmg_k$ = function () {
1893
- var suspendResult = this.result_1;
1962
+ protoOf(Flux$forEachParallel$slambda$slambda).o7 = function () {
1963
+ var suspendResult = this.i7_1;
1894
1964
  $sm: do
1895
1965
  try {
1896
- var tmp = this.state_1;
1966
+ var tmp = this.g7_1;
1897
1967
  switch (tmp) {
1898
1968
  case 0:
1899
- this.exceptionState_1 = 6;
1900
- this.this0__1 = this.$semaphore_1;
1901
- this.state_1 = 1;
1902
- suspendResult = this.this0__1.acquire_kfvtdt_k$(this);
1969
+ this.h7_1 = 6;
1970
+ this.h18_1 = this.d18_1;
1971
+ this.g7_1 = 1;
1972
+ suspendResult = this.h18_1.zv(this);
1903
1973
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1904
1974
  return suspendResult;
1905
1975
  }
1906
1976
 
1907
1977
  continue $sm;
1908
1978
  case 1:
1909
- this.tmp$ret$01__1 = Unit_instance;
1910
- this.state_1 = 2;
1979
+ this.i18_1 = Unit_instance;
1980
+ this.g7_1 = 2;
1911
1981
  continue $sm;
1912
1982
  case 2:
1913
- this.exceptionState_1 = 5;
1914
- this.state_1 = 3;
1915
- suspendResult = this.$action_1(this.$item_1, this);
1983
+ this.h7_1 = 5;
1984
+ this.g7_1 = 3;
1985
+ suspendResult = this.e18_1(this.f18_1, this);
1916
1986
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1917
1987
  return suspendResult;
1918
1988
  }
1919
1989
 
1920
1990
  continue $sm;
1921
1991
  case 3:
1922
- this.tmp$ret$01__1 = Unit_instance;
1923
- this.exceptionState_1 = 6;
1924
- this.state_1 = 4;
1992
+ this.i18_1 = Unit_instance;
1993
+ this.h7_1 = 6;
1994
+ this.g7_1 = 4;
1925
1995
  continue $sm;
1926
1996
  case 4:
1927
- this.tmp$ret$01__1;
1928
- this.exceptionState_1 = 6;
1929
- this.this0__1.release_wu5yyf_k$();
1997
+ this.i18_1;
1998
+ this.h7_1 = 6;
1999
+ this.h18_1.tv();
1930
2000
  return Unit_instance;
1931
2001
  case 5:
1932
- this.exceptionState_1 = 6;
1933
- var t = this.exception_1;
1934
- this.this0__1.release_wu5yyf_k$();
2002
+ this.h7_1 = 6;
2003
+ var t = this.j7_1;
2004
+ this.h18_1.tv();
1935
2005
  throw t;
1936
2006
  case 6:
1937
- throw this.exception_1;
2007
+ throw this.j7_1;
1938
2008
  }
1939
2009
  } catch ($p) {
1940
2010
  var e = $p;
1941
- if (this.exceptionState_1 === 6) {
2011
+ if (this.h7_1 === 6) {
1942
2012
  throw e;
1943
2013
  } else {
1944
- this.state_1 = this.exceptionState_1;
1945
- this.exception_1 = e;
2014
+ this.g7_1 = this.h7_1;
2015
+ this.j7_1 = e;
1946
2016
  }
1947
2017
  }
1948
2018
  while (true);
1949
2019
  };
1950
- protoOf(Flux$forEachParallel$slambda$slambda).create_rcuf4x_k$ = function ($this$async, completion) {
1951
- var i = new Flux$forEachParallel$slambda$slambda(this.$semaphore_1, this.$action_1, this.$item_1, completion);
1952
- i.$this$async_1 = $this$async;
2020
+ protoOf(Flux$forEachParallel$slambda$slambda).k18 = function ($this$async, completion) {
2021
+ var i = new Flux$forEachParallel$slambda$slambda(this.d18_1, this.e18_1, this.f18_1, completion);
2022
+ i.g18_1 = $this$async;
1953
2023
  return i;
1954
2024
  };
1955
2025
  function Flux$forEachParallel$slambda$slambda_0($semaphore, $action, $item, resultContinuation) {
1956
2026
  var i = new Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation);
1957
2027
  return constructCallableReference(function ($this$async, $completion) {
1958
- return i.invoke_d9fzmj_k$($this$async, $completion);
2028
+ return i.j18($this$async, $completion);
1959
2029
  }, 1);
1960
2030
  }
1961
2031
  function Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation) {
1962
- this.$maxParallel_1 = $maxParallel;
1963
- this.$items_1 = $items;
1964
- this.$action_1 = $action;
2032
+ this.t18_1 = $maxParallel;
2033
+ this.u18_1 = $items;
2034
+ this.v18_1 = $action;
1965
2035
  CoroutineImpl.call(this, resultContinuation);
1966
2036
  }
1967
- protoOf(Flux$forEachParallel$slambda).invoke_pvnt3t_k$ = function ($this$coroutineScope, $completion) {
1968
- var tmp = this.create_rcuf4x_k$($this$coroutineScope, $completion);
1969
- tmp.result_1 = Unit_instance;
1970
- tmp.exception_1 = null;
1971
- return tmp.doResume_5yljmg_k$();
2037
+ protoOf(Flux$forEachParallel$slambda).x18 = function ($this$coroutineScope, $completion) {
2038
+ var tmp = this.k18($this$coroutineScope, $completion);
2039
+ tmp.i7_1 = Unit_instance;
2040
+ tmp.j7_1 = null;
2041
+ return tmp.o7();
1972
2042
  };
1973
- protoOf(Flux$forEachParallel$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
1974
- return this.invoke_pvnt3t_k$((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2043
+ protoOf(Flux$forEachParallel$slambda).w7 = function (p1, $completion) {
2044
+ return this.x18((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1975
2045
  };
1976
- protoOf(Flux$forEachParallel$slambda).doResume_5yljmg_k$ = function () {
1977
- var suspendResult = this.result_1;
2046
+ protoOf(Flux$forEachParallel$slambda).o7 = function () {
2047
+ var suspendResult = this.i7_1;
1978
2048
  $sm: do
1979
2049
  try {
1980
- var tmp = this.state_1;
2050
+ var tmp = this.g7_1;
1981
2051
  switch (tmp) {
1982
2052
  case 0:
1983
- this.exceptionState_1 = 2;
1984
- var semaphore = Semaphore(this.$maxParallel_1);
1985
- this.state_1 = 1;
1986
- var this_0 = this.$items_1;
2053
+ this.h7_1 = 2;
2054
+ var semaphore = Semaphore(this.t18_1);
2055
+ this.g7_1 = 1;
2056
+ var this_0 = this.u18_1;
1987
2057
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1988
- var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
1989
- while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
1990
- var item = _iterator__ex2g4s.next_20eer_k$();
1991
- destination.add_utx5q5_k$(async(this.$this$coroutineScope_1, VOID, VOID, Flux$forEachParallel$slambda$slambda_0(semaphore, this.$action_1, item, null)));
2058
+ var _iterator__ex2g4s = this_0.l();
2059
+ while (_iterator__ex2g4s.m()) {
2060
+ var item = _iterator__ex2g4s.n();
2061
+ destination.k(async(this.w18_1, VOID, VOID, Flux$forEachParallel$slambda$slambda_0(semaphore, this.v18_1, item, null)));
1992
2062
  }
1993
2063
 
1994
2064
  suspendResult = awaitAll(destination, this);
@@ -2000,52 +2070,52 @@
2000
2070
  case 1:
2001
2071
  return suspendResult;
2002
2072
  case 2:
2003
- throw this.exception_1;
2073
+ throw this.j7_1;
2004
2074
  }
2005
2075
  } catch ($p) {
2006
2076
  var e = $p;
2007
- if (this.exceptionState_1 === 2) {
2077
+ if (this.h7_1 === 2) {
2008
2078
  throw e;
2009
2079
  } else {
2010
- this.state_1 = this.exceptionState_1;
2011
- this.exception_1 = e;
2080
+ this.g7_1 = this.h7_1;
2081
+ this.j7_1 = e;
2012
2082
  }
2013
2083
  }
2014
2084
  while (true);
2015
2085
  };
2016
- protoOf(Flux$forEachParallel$slambda).create_rcuf4x_k$ = function ($this$coroutineScope, completion) {
2017
- var i = new Flux$forEachParallel$slambda(this.$maxParallel_1, this.$items_1, this.$action_1, completion);
2018
- i.$this$coroutineScope_1 = $this$coroutineScope;
2086
+ protoOf(Flux$forEachParallel$slambda).k18 = function ($this$coroutineScope, completion) {
2087
+ var i = new Flux$forEachParallel$slambda(this.t18_1, this.u18_1, this.v18_1, completion);
2088
+ i.w18_1 = $this$coroutineScope;
2019
2089
  return i;
2020
2090
  };
2021
2091
  function Flux$forEachParallel$slambda_0($maxParallel, $items, $action, resultContinuation) {
2022
2092
  var i = new Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation);
2023
2093
  return constructCallableReference(function ($this$coroutineScope, $completion) {
2024
- return i.invoke_pvnt3t_k$($this$coroutineScope, $completion);
2094
+ return i.x18($this$coroutineScope, $completion);
2025
2095
  }, 1);
2026
2096
  }
2027
2097
  function $forEachParallelCOROUTINE$(_this__u8e3s4, items, maxParallel, action, resultContinuation) {
2028
2098
  CoroutineImpl.call(this, resultContinuation);
2029
- this._this__u8e3s4__1 = _this__u8e3s4;
2030
- this.items_1 = items;
2031
- this.maxParallel_1 = maxParallel;
2032
- this.action_1 = action;
2099
+ this.g19_1 = _this__u8e3s4;
2100
+ this.h19_1 = items;
2101
+ this.i19_1 = maxParallel;
2102
+ this.j19_1 = action;
2033
2103
  }
2034
- protoOf($forEachParallelCOROUTINE$).doResume_5yljmg_k$ = function () {
2035
- var suspendResult = this.result_1;
2104
+ protoOf($forEachParallelCOROUTINE$).o7 = function () {
2105
+ var suspendResult = this.i7_1;
2036
2106
  $sm: do
2037
2107
  try {
2038
- var tmp = this.state_1;
2108
+ var tmp = this.g7_1;
2039
2109
  switch (tmp) {
2040
2110
  case 0:
2041
- this.exceptionState_1 = 2;
2042
- if (!(this.maxParallel_1 >= 1)) {
2043
- var message = 'maxParallel must be >= 1, got ' + this.maxParallel_1;
2111
+ this.h7_1 = 2;
2112
+ if (!(this.i19_1 >= 1)) {
2113
+ var message = 'maxParallel must be >= 1, got ' + this.i19_1;
2044
2114
  throw IllegalArgumentException_init_$Create$(toString(message));
2045
2115
  }
2046
2116
 
2047
- this.state_1 = 1;
2048
- suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.maxParallel_1, this.items_1, this.action_1, null), this);
2117
+ this.g7_1 = 1;
2118
+ suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.i19_1, this.h19_1, this.j19_1, null), this);
2049
2119
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2050
2120
  return suspendResult;
2051
2121
  }
@@ -2054,39 +2124,88 @@
2054
2124
  case 1:
2055
2125
  return Unit_instance;
2056
2126
  case 2:
2057
- throw this.exception_1;
2127
+ throw this.j7_1;
2058
2128
  }
2059
2129
  } catch ($p) {
2060
2130
  var e = $p;
2061
- if (this.exceptionState_1 === 2) {
2131
+ if (this.h7_1 === 2) {
2062
2132
  throw e;
2063
2133
  } else {
2064
- this.state_1 = this.exceptionState_1;
2065
- this.exception_1 = e;
2134
+ this.g7_1 = this.h7_1;
2135
+ this.j7_1 = e;
2066
2136
  }
2067
2137
  }
2068
2138
  while (true);
2069
2139
  };
2070
2140
  function Flux() {
2071
2141
  }
2072
- protoOf(Flux).forEachParallel_gstfa7_k$ = function (items, maxParallel, action, $completion) {
2142
+ protoOf(Flux).a10 = function (items, maxParallel, action, $completion) {
2073
2143
  var tmp = new $forEachParallelCOROUTINE$(this, items, maxParallel, action, $completion);
2074
- tmp.result_1 = Unit_instance;
2075
- tmp.exception_1 = null;
2076
- return tmp.doResume_5yljmg_k$();
2144
+ tmp.i7_1 = Unit_instance;
2145
+ tmp.j7_1 = null;
2146
+ return tmp.o7();
2077
2147
  };
2078
2148
  var Flux_instance;
2079
2149
  function Flux_getInstance() {
2080
2150
  return Flux_instance;
2081
2151
  }
2152
+ var static_init_called_1;
2153
+ function static_init_1() {
2154
+ if (static_init_called_1)
2155
+ return Unit_instance;
2156
+ static_init_called_1 = true;
2157
+ IgnLidarHdLayer_MNT_instance = new IgnLidarHdLayer('MNT', 0, 'IGNF_LIDAR-HD_MNT_ELEVATION.ELEVATIONGRIDCOVERAGE.WGS84G');
2158
+ IgnLidarHdLayer_MNS_instance = new IgnLidarHdLayer('MNS', 1, 'IGNF_LIDAR-HD_MNS_ELEVATION.ELEVATIONGRIDCOVERAGE.WGS84G');
2159
+ IgnLidarHdLayer_MNH_instance = new IgnLidarHdLayer('MNH', 2, 'IGNF_LIDAR-HD_MNH_ELEVATION.ELEVATIONGRIDCOVERAGE.WGS84G');
2160
+ }
2161
+ var IgnLidarHdLayer_MNT_instance;
2162
+ var IgnLidarHdLayer_MNS_instance;
2163
+ var IgnLidarHdLayer_MNH_instance;
2164
+ function IgnLidarHdLayer(name, ordinal, wmsLayer) {
2165
+ Enum.call(this, name, ordinal);
2166
+ this.t17_1 = wmsLayer;
2167
+ }
2168
+ protoOf(IgnLidarHdLayer).q17 = function () {
2169
+ return 15;
2170
+ };
2171
+ protoOf(IgnLidarHdLayer).u17 = function (zoomLevel) {
2172
+ var tmp1_zoomLevel = zoomLevel == null ? this.q17() : zoomLevel;
2173
+ var tmp3_tileUrlTemplate = ignWmsTemplate(this.t17_1, 256);
2174
+ var tmp4_encoding = TileEncoding_BIL32_getInstance();
2175
+ var tmp5_attribution = new Attribution('\xA9 IGN \u2014 LiDAR HD ' + this.u1_1 + ', Licence Ouverte Etalab 2.0', 'https://geoservices.ign.fr/lidarhd');
2176
+ return new ElevationProviderConfig(tmp1_zoomLevel, VOID, tmp3_tileUrlTemplate, 256, tmp5_attribution, tmp4_encoding, 20);
2177
+ };
2178
+ function provider_0(_this__u8e3s4, zoomLevel, fetcherFor) {
2179
+ zoomLevel = zoomLevel === VOID ? null : zoomLevel;
2180
+ var tmp;
2181
+ if (fetcherFor === VOID) {
2182
+ tmp = defaultTileFetcher$ref();
2183
+ } else {
2184
+ tmp = fetcherFor;
2185
+ }
2186
+ fetcherFor = tmp;
2187
+ var config = _this__u8e3s4.u17(zoomLevel);
2188
+ return ElevationProvider_init_$Create$_0(config, fetcherFor(config), true);
2189
+ }
2190
+ function ignWmsTemplate(layer, tileSize) {
2191
+ return 'https://data.geopf.fr/wms-r/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=' + layer + '&STYLES=normal' + ('&CRS=EPSG:4326&BBOX={bbox}&WIDTH=' + tileSize + '&HEIGHT=' + tileSize + '&FORMAT=image%2Fx-bil%3Bbits%3D32');
2192
+ }
2193
+ function IgnLidarHdLayer_MNT_getInstance() {
2194
+ static_init_1();
2195
+ return IgnLidarHdLayer_MNT_instance;
2196
+ }
2197
+ function IgnLidarHdLayer_MNS_getInstance() {
2198
+ static_init_1();
2199
+ return IgnLidarHdLayer_MNS_instance;
2200
+ }
2082
2201
  function Hit(value) {
2083
- this.value_1 = value;
2202
+ this.k19_1 = value;
2084
2203
  }
2085
2204
  function Await(deferred) {
2086
- this.deferred_1 = deferred;
2205
+ this.l19_1 = deferred;
2087
2206
  }
2088
2207
  function Owner(deferred) {
2089
- this.deferred_1 = deferred;
2208
+ this.m19_1 = deferred;
2090
2209
  }
2091
2210
  function LoadAbandoned() {
2092
2211
  Exception_init_$Init$('load abandoned by its cancelled owner', this);
@@ -2094,42 +2213,42 @@
2094
2213
  }
2095
2214
  function lookupOrClaim($this, key, $completion) {
2096
2215
  var tmp = new $lookupOrClaimCOROUTINE$($this, key, $completion);
2097
- tmp.result_1 = Unit_instance;
2098
- tmp.exception_1 = null;
2099
- return tmp.doResume_5yljmg_k$();
2216
+ tmp.i7_1 = Unit_instance;
2217
+ tmp.j7_1 = null;
2218
+ return tmp.o7();
2100
2219
  }
2101
2220
  function load($this, key, ours, $completion) {
2102
2221
  var tmp = new $loadCOROUTINE$($this, key, ours, $completion);
2103
- tmp.result_1 = Unit_instance;
2104
- tmp.exception_1 = null;
2105
- return tmp.doResume_5yljmg_k$();
2222
+ tmp.i7_1 = Unit_instance;
2223
+ tmp.j7_1 = null;
2224
+ return tmp.o7();
2106
2225
  }
2107
2226
  function LruCache$load$slambda(this$0, $key, resultContinuation) {
2108
- this.this$0__1 = this$0;
2109
- this.$key_1 = $key;
2227
+ this.v1a_1 = this$0;
2228
+ this.w1a_1 = $key;
2110
2229
  CoroutineImpl.call(this, resultContinuation);
2111
2230
  }
2112
- protoOf(LruCache$load$slambda).invoke_9w0nwl_k$ = function ($this$withContext, $completion) {
2113
- var tmp = this.create_rcuf4x_k$($this$withContext, $completion);
2114
- tmp.result_1 = Unit_instance;
2115
- tmp.exception_1 = null;
2116
- return tmp.doResume_5yljmg_k$();
2231
+ protoOf(LruCache$load$slambda).a1b = function ($this$withContext, $completion) {
2232
+ var tmp = this.k18($this$withContext, $completion);
2233
+ tmp.i7_1 = Unit_instance;
2234
+ tmp.j7_1 = null;
2235
+ return tmp.o7();
2117
2236
  };
2118
- protoOf(LruCache$load$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
2119
- return this.invoke_9w0nwl_k$((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2237
+ protoOf(LruCache$load$slambda).w7 = function (p1, $completion) {
2238
+ return this.a1b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2120
2239
  };
2121
- protoOf(LruCache$load$slambda).doResume_5yljmg_k$ = function () {
2122
- var suspendResult = this.result_1;
2240
+ protoOf(LruCache$load$slambda).o7 = function () {
2241
+ var suspendResult = this.i7_1;
2123
2242
  $sm: do
2124
2243
  try {
2125
- var tmp = this.state_1;
2244
+ var tmp = this.g7_1;
2126
2245
  switch (tmp) {
2127
2246
  case 0:
2128
- this.exceptionState_1 = 2;
2129
- this.this1__1 = this.this$0__1.mutex_1;
2130
- this.owner0__1 = null;
2131
- this.state_1 = 1;
2132
- suspendResult = this.this1__1.lock_ugrcvf_k$(this.owner0__1, this);
2247
+ this.h7_1 = 2;
2248
+ this.z1a_1 = this.v1a_1.e1b_1;
2249
+ this.y1a_1 = null;
2250
+ this.g7_1 = 1;
2251
+ suspendResult = this.z1a_1.rv(this.y1a_1, this);
2133
2252
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2134
2253
  return suspendResult;
2135
2254
  }
@@ -2140,71 +2259,71 @@
2140
2259
  l$ret$1: do {
2141
2260
  var tmp_0;
2142
2261
  try {
2143
- tmp$ret$0 = this.this$0__1.inFlight_1.remove_gppy8k_k$(this.$key_1);
2262
+ tmp$ret$0 = this.v1a_1.g1b_1.t3(this.w1a_1);
2144
2263
  break l$ret$1;
2145
2264
  } catch ($p) {
2146
2265
  var tmp_1;
2147
2266
  var t = $p;
2148
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2267
+ this.z1a_1.cv(this.y1a_1);
2149
2268
  throw t;
2150
2269
  }
2151
2270
  }
2152
2271
  while (false);
2153
2272
  var tmp_2 = tmp$ret$0;
2154
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2273
+ this.z1a_1.cv(this.y1a_1);
2155
2274
  return tmp_2;
2156
2275
  case 2:
2157
- throw this.exception_1;
2276
+ throw this.j7_1;
2158
2277
  }
2159
2278
  } catch ($p_0) {
2160
2279
  var e = $p_0;
2161
- if (this.exceptionState_1 === 2) {
2280
+ if (this.h7_1 === 2) {
2162
2281
  throw e;
2163
2282
  } else {
2164
- this.state_1 = this.exceptionState_1;
2165
- this.exception_1 = e;
2283
+ this.g7_1 = this.h7_1;
2284
+ this.j7_1 = e;
2166
2285
  }
2167
2286
  }
2168
2287
  while (true);
2169
2288
  };
2170
- protoOf(LruCache$load$slambda).create_rcuf4x_k$ = function ($this$withContext, completion) {
2171
- var i = new LruCache$load$slambda(this.this$0__1, this.$key_1, completion);
2172
- i.$this$withContext_1 = $this$withContext;
2289
+ protoOf(LruCache$load$slambda).k18 = function ($this$withContext, completion) {
2290
+ var i = new LruCache$load$slambda(this.v1a_1, this.w1a_1, completion);
2291
+ i.x1a_1 = $this$withContext;
2173
2292
  return i;
2174
2293
  };
2175
2294
  function LruCache$load$slambda_0(this$0, $key, resultContinuation) {
2176
2295
  var i = new LruCache$load$slambda(this$0, $key, resultContinuation);
2177
2296
  return constructCallableReference(function ($this$withContext, $completion) {
2178
- return i.invoke_9w0nwl_k$($this$withContext, $completion);
2297
+ return i.a1b($this$withContext, $completion);
2179
2298
  }, 1);
2180
2299
  }
2181
2300
  function LruCache$load$slambda_1(this$0, $key, $value, resultContinuation) {
2182
- this.this$0__1 = this$0;
2183
- this.$key_1 = $key;
2184
- this.$value_1 = $value;
2301
+ this.p1b_1 = this$0;
2302
+ this.q1b_1 = $key;
2303
+ this.r1b_1 = $value;
2185
2304
  CoroutineImpl.call(this, resultContinuation);
2186
2305
  }
2187
- protoOf(LruCache$load$slambda_1).invoke_88b81s_k$ = function ($this$withContext, $completion) {
2188
- var tmp = this.create_rcuf4x_k$($this$withContext, $completion);
2189
- tmp.result_1 = Unit_instance;
2190
- tmp.exception_1 = null;
2191
- return tmp.doResume_5yljmg_k$();
2306
+ protoOf(LruCache$load$slambda_1).v1b = function ($this$withContext, $completion) {
2307
+ var tmp = this.k18($this$withContext, $completion);
2308
+ tmp.i7_1 = Unit_instance;
2309
+ tmp.j7_1 = null;
2310
+ return tmp.o7();
2192
2311
  };
2193
- protoOf(LruCache$load$slambda_1).invoke_qns8j1_k$ = function (p1, $completion) {
2194
- return this.invoke_88b81s_k$((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2312
+ protoOf(LruCache$load$slambda_1).w7 = function (p1, $completion) {
2313
+ return this.v1b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2195
2314
  };
2196
- protoOf(LruCache$load$slambda_1).doResume_5yljmg_k$ = function () {
2197
- var suspendResult = this.result_1;
2315
+ protoOf(LruCache$load$slambda_1).o7 = function () {
2316
+ var suspendResult = this.i7_1;
2198
2317
  $sm: do
2199
2318
  try {
2200
- var tmp = this.state_1;
2319
+ var tmp = this.g7_1;
2201
2320
  switch (tmp) {
2202
2321
  case 0:
2203
- this.exceptionState_1 = 2;
2204
- this.this1__1 = this.this$0__1.mutex_1;
2205
- this.owner0__1 = null;
2206
- this.state_1 = 1;
2207
- suspendResult = this.this1__1.lock_ugrcvf_k$(this.owner0__1, this);
2322
+ this.h7_1 = 2;
2323
+ this.u1b_1 = this.p1b_1.e1b_1;
2324
+ this.t1b_1 = null;
2325
+ this.g7_1 = 1;
2326
+ suspendResult = this.u1b_1.rv(this.t1b_1, this);
2208
2327
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2209
2328
  return suspendResult;
2210
2329
  }
@@ -2215,86 +2334,86 @@
2215
2334
  l$ret$1: do {
2216
2335
  var tmp_0;
2217
2336
  try {
2218
- this.this$0__1.inFlight_1.remove_gppy8k_k$(this.$key_1);
2337
+ this.p1b_1.g1b_1.t3(this.q1b_1);
2219
2338
  var oldest = null;
2220
2339
  var tmp_1;
2221
- if (this.this$0__1.entries_1.get_size_woubt6_k$() >= this.this$0__1.maxSize_1) {
2222
- var tmp0 = this.this$0__1.entries_1;
2223
- var key = this.$key_1;
2224
- tmp_1 = !(isInterface(tmp0, KtMap) ? tmp0 : THROW_CCE()).containsKey_aw81wo_k$(key);
2340
+ if (this.p1b_1.f1b_1.o() >= this.p1b_1.b1b_1) {
2341
+ var tmp0 = this.p1b_1.f1b_1;
2342
+ var key = this.q1b_1;
2343
+ tmp_1 = !(isInterface(tmp0, KtMap) ? tmp0 : THROW_CCE()).o1(key);
2225
2344
  } else {
2226
2345
  tmp_1 = false;
2227
2346
  }
2228
2347
  if (tmp_1) {
2229
- var iter = this.this$0__1.entries_1.get_entries_p20ztl_k$().iterator_jk1svi_k$();
2230
- oldest = iter.next_20eer_k$().get_value_j01efc_k$();
2231
- iter.remove_ldkf9o_k$();
2348
+ var iter = this.p1b_1.f1b_1.t1().l();
2349
+ oldest = iter.n().n1();
2350
+ iter.s2();
2232
2351
  }
2233
- var tmp0_0 = this.this$0__1.entries_1;
2234
- var tmp2 = this.$key_1;
2235
- var value = this.$value_1;
2236
- tmp0_0.put_4fpzoq_k$(tmp2, value);
2352
+ var tmp0_0 = this.p1b_1.f1b_1;
2353
+ var tmp2 = this.q1b_1;
2354
+ var value = this.r1b_1;
2355
+ tmp0_0.s3(tmp2, value);
2237
2356
  tmp$ret$0 = oldest;
2238
2357
  break l$ret$1;
2239
2358
  } catch ($p) {
2240
2359
  var tmp_2;
2241
2360
  var t = $p;
2242
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2361
+ this.u1b_1.cv(this.t1b_1);
2243
2362
  throw t;
2244
2363
  }
2245
2364
  }
2246
2365
  while (false);
2247
2366
  var tmp_3 = tmp$ret$0;
2248
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2367
+ this.u1b_1.cv(this.t1b_1);
2249
2368
  return tmp_3;
2250
2369
  case 2:
2251
- throw this.exception_1;
2370
+ throw this.j7_1;
2252
2371
  }
2253
2372
  } catch ($p_0) {
2254
2373
  var e = $p_0;
2255
- if (this.exceptionState_1 === 2) {
2374
+ if (this.h7_1 === 2) {
2256
2375
  throw e;
2257
2376
  } else {
2258
- this.state_1 = this.exceptionState_1;
2259
- this.exception_1 = e;
2377
+ this.g7_1 = this.h7_1;
2378
+ this.j7_1 = e;
2260
2379
  }
2261
2380
  }
2262
2381
  while (true);
2263
2382
  };
2264
- protoOf(LruCache$load$slambda_1).create_rcuf4x_k$ = function ($this$withContext, completion) {
2265
- var i = new LruCache$load$slambda_1(this.this$0__1, this.$key_1, this.$value_1, completion);
2266
- i.$this$withContext_1 = $this$withContext;
2383
+ protoOf(LruCache$load$slambda_1).k18 = function ($this$withContext, completion) {
2384
+ var i = new LruCache$load$slambda_1(this.p1b_1, this.q1b_1, this.r1b_1, completion);
2385
+ i.s1b_1 = $this$withContext;
2267
2386
  return i;
2268
2387
  };
2269
2388
  function LruCache$load$slambda_2(this$0, $key, $value, resultContinuation) {
2270
2389
  var i = new LruCache$load$slambda_1(this$0, $key, $value, resultContinuation);
2271
2390
  return constructCallableReference(function ($this$withContext, $completion) {
2272
- return i.invoke_88b81s_k$($this$withContext, $completion);
2391
+ return i.v1b($this$withContext, $completion);
2273
2392
  }, 1);
2274
2393
  }
2275
2394
  function $getCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
2276
2395
  CoroutineImpl.call(this, resultContinuation);
2277
- this._this__u8e3s4__1 = _this__u8e3s4;
2278
- this.key_1 = key;
2396
+ this.e1c_1 = _this__u8e3s4;
2397
+ this.f1c_1 = key;
2279
2398
  }
2280
- protoOf($getCOROUTINE$).doResume_5yljmg_k$ = function () {
2281
- var suspendResult = this.result_1;
2399
+ protoOf($getCOROUTINE$).o7 = function () {
2400
+ var suspendResult = this.i7_1;
2282
2401
  $sm: do
2283
2402
  try {
2284
- var tmp = this.state_1;
2403
+ var tmp = this.g7_1;
2285
2404
  switch (tmp) {
2286
2405
  case 0:
2287
- this.exceptionState_1 = 8;
2288
- this.state_1 = 1;
2406
+ this.h7_1 = 8;
2407
+ this.g7_1 = 1;
2289
2408
  continue $sm;
2290
2409
  case 1:
2291
2410
  if (!true) {
2292
- this.state_1 = 9;
2411
+ this.g7_1 = 9;
2293
2412
  continue $sm;
2294
2413
  }
2295
2414
 
2296
- this.state_1 = 2;
2297
- suspendResult = lookupOrClaim(this._this__u8e3s4__1, this.key_1, this);
2415
+ this.g7_1 = 2;
2416
+ suspendResult = lookupOrClaim(this.e1c_1, this.f1c_1, this);
2298
2417
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2299
2418
  return suspendResult;
2300
2419
  }
@@ -2303,20 +2422,20 @@
2303
2422
  case 2:
2304
2423
  var lookup = suspendResult;
2305
2424
  if (lookup instanceof Hit) {
2306
- return lookup.value_1;
2425
+ return lookup.k19_1;
2307
2426
  } else {
2308
2427
  if (lookup instanceof Owner) {
2309
- this.state_1 = 7;
2310
- suspendResult = load(this._this__u8e3s4__1, this.key_1, lookup.deferred_1, this);
2428
+ this.g7_1 = 7;
2429
+ suspendResult = load(this.e1c_1, this.f1c_1, lookup.m19_1, this);
2311
2430
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2312
2431
  return suspendResult;
2313
2432
  }
2314
2433
  continue $sm;
2315
2434
  } else {
2316
2435
  if (lookup instanceof Await) {
2317
- this.exceptionState_1 = 4;
2318
- this.state_1 = 3;
2319
- suspendResult = lookup.deferred_1.await_4rdzbx_k$(this);
2436
+ this.h7_1 = 4;
2437
+ this.g7_1 = 3;
2438
+ suspendResult = lookup.l19_1.gn(this);
2320
2439
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2321
2440
  return suspendResult;
2322
2441
  }
@@ -2331,58 +2450,58 @@
2331
2450
  case 3:
2332
2451
  return suspendResult;
2333
2452
  case 4:
2334
- this.exceptionState_1 = 8;
2335
- var tmp_0 = this.exception_1;
2453
+ this.h7_1 = 8;
2454
+ var tmp_0 = this.j7_1;
2336
2455
  if (tmp_0 instanceof LoadAbandoned) {
2337
- var _unused_var__etf5q3 = this.exception_1;
2338
- this.state_1 = 5;
2456
+ var _unused_var__etf5q3 = this.j7_1;
2457
+ this.g7_1 = 5;
2339
2458
  continue $sm;
2340
2459
  } else {
2341
- throw this.exception_1;
2460
+ throw this.j7_1;
2342
2461
  }
2343
2462
 
2344
2463
  case 5:
2345
- this.exceptionState_1 = 8;
2346
- this.state_1 = 6;
2464
+ this.h7_1 = 8;
2465
+ this.g7_1 = 6;
2347
2466
  continue $sm;
2348
2467
  case 6:
2349
- this.state_1 = 1;
2468
+ this.g7_1 = 1;
2350
2469
  continue $sm;
2351
2470
  case 7:
2352
2471
  return suspendResult;
2353
2472
  case 8:
2354
- throw this.exception_1;
2473
+ throw this.j7_1;
2355
2474
  case 9:
2356
2475
  return Unit_instance;
2357
2476
  }
2358
2477
  } catch ($p) {
2359
2478
  var e = $p;
2360
- if (this.exceptionState_1 === 8) {
2479
+ if (this.h7_1 === 8) {
2361
2480
  throw e;
2362
2481
  } else {
2363
- this.state_1 = this.exceptionState_1;
2364
- this.exception_1 = e;
2482
+ this.g7_1 = this.h7_1;
2483
+ this.j7_1 = e;
2365
2484
  }
2366
2485
  }
2367
2486
  while (true);
2368
2487
  };
2369
2488
  function $lookupOrClaimCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
2370
2489
  CoroutineImpl.call(this, resultContinuation);
2371
- this._this__u8e3s4__1 = _this__u8e3s4;
2372
- this.key_1 = key;
2490
+ this.v19_1 = _this__u8e3s4;
2491
+ this.w19_1 = key;
2373
2492
  }
2374
- protoOf($lookupOrClaimCOROUTINE$).doResume_5yljmg_k$ = function () {
2375
- var suspendResult = this.result_1;
2493
+ protoOf($lookupOrClaimCOROUTINE$).o7 = function () {
2494
+ var suspendResult = this.i7_1;
2376
2495
  $sm: do
2377
2496
  try {
2378
- var tmp = this.state_1;
2497
+ var tmp = this.g7_1;
2379
2498
  switch (tmp) {
2380
2499
  case 0:
2381
- this.exceptionState_1 = 2;
2382
- this.this1__1 = this._this__u8e3s4__1.mutex_1;
2383
- this.owner0__1 = null;
2384
- this.state_1 = 1;
2385
- suspendResult = this.this1__1.lock_ugrcvf_k$(this.owner0__1, this);
2500
+ this.h7_1 = 2;
2501
+ this.y19_1 = this.v19_1.e1b_1;
2502
+ this.x19_1 = null;
2503
+ this.g7_1 = 1;
2504
+ suspendResult = this.y19_1.rv(this.x19_1, this);
2386
2505
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2387
2506
  return suspendResult;
2388
2507
  }
@@ -2395,23 +2514,23 @@
2395
2514
  try {
2396
2515
  var tmp$ret$0 = Unit_instance;
2397
2516
  l$ret$1: do {
2398
- var hit = this._this__u8e3s4__1.entries_1.remove_gppy8k_k$(this.key_1);
2517
+ var hit = this.v19_1.f1b_1.t3(this.w19_1);
2399
2518
  if (!(hit == null)) {
2400
- var tmp0 = this._this__u8e3s4__1.entries_1;
2401
- var key = this.key_1;
2402
- tmp0.put_4fpzoq_k$(key, hit);
2519
+ var tmp0 = this.v19_1.f1b_1;
2520
+ var key = this.w19_1;
2521
+ tmp0.s3(key, hit);
2403
2522
  tmp$ret$0 = new Hit(hit);
2404
2523
  break l$ret$1;
2405
2524
  }
2406
- var raced = this._this__u8e3s4__1.inFlight_1.get_wei43m_k$(this.key_1);
2525
+ var raced = this.v19_1.g1b_1.q1(this.w19_1);
2407
2526
  var tmp_1;
2408
2527
  if (!(raced == null)) {
2409
2528
  tmp_1 = new Await(raced);
2410
2529
  } else {
2411
2530
  var ours = CompletableDeferred();
2412
- var tmp0_0 = this._this__u8e3s4__1.inFlight_1;
2413
- var key_0 = this.key_1;
2414
- tmp0_0.put_4fpzoq_k$(key_0, ours);
2531
+ var tmp0_0 = this.v19_1.g1b_1;
2532
+ var key_0 = this.w19_1;
2533
+ tmp0_0.s3(key_0, ours);
2415
2534
  tmp_1 = new Owner(ours);
2416
2535
  }
2417
2536
  tmp$ret$0 = tmp_1;
@@ -2422,89 +2541,89 @@
2422
2541
  } catch ($p) {
2423
2542
  var tmp_2;
2424
2543
  var t = $p;
2425
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2544
+ this.y19_1.cv(this.x19_1);
2426
2545
  throw t;
2427
2546
  }
2428
2547
  }
2429
2548
  while (false);
2430
2549
  var tmp_3 = tmp$ret$2;
2431
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2550
+ this.y19_1.cv(this.x19_1);
2432
2551
  return tmp_3;
2433
2552
  case 2:
2434
- throw this.exception_1;
2553
+ throw this.j7_1;
2435
2554
  }
2436
2555
  } catch ($p_0) {
2437
2556
  var e = $p_0;
2438
- if (this.exceptionState_1 === 2) {
2557
+ if (this.h7_1 === 2) {
2439
2558
  throw e;
2440
2559
  } else {
2441
- this.state_1 = this.exceptionState_1;
2442
- this.exception_1 = e;
2560
+ this.g7_1 = this.h7_1;
2561
+ this.j7_1 = e;
2443
2562
  }
2444
2563
  }
2445
2564
  while (true);
2446
2565
  };
2447
2566
  function $loadCOROUTINE$(_this__u8e3s4, key, ours, resultContinuation) {
2448
2567
  CoroutineImpl.call(this, resultContinuation);
2449
- this._this__u8e3s4__1 = _this__u8e3s4;
2450
- this.key_1 = key;
2451
- this.ours_1 = ours;
2568
+ this.h1a_1 = _this__u8e3s4;
2569
+ this.i1a_1 = key;
2570
+ this.j1a_1 = ours;
2452
2571
  }
2453
- protoOf($loadCOROUTINE$).doResume_5yljmg_k$ = function () {
2454
- var suspendResult = this.result_1;
2572
+ protoOf($loadCOROUTINE$).o7 = function () {
2573
+ var suspendResult = this.i7_1;
2455
2574
  $sm: do
2456
2575
  try {
2457
- var tmp = this.state_1;
2576
+ var tmp = this.g7_1;
2458
2577
  switch (tmp) {
2459
2578
  case 0:
2460
- this.exceptionState_1 = 6;
2461
- this.exceptionState_1 = 2;
2462
- this.state_1 = 1;
2463
- suspendResult = this._this__u8e3s4__1.loader_1(this.key_1, this);
2579
+ this.h7_1 = 6;
2580
+ this.h7_1 = 2;
2581
+ this.g7_1 = 1;
2582
+ suspendResult = this.h1a_1.c1b_1(this.i1a_1, this);
2464
2583
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2465
2584
  return suspendResult;
2466
2585
  }
2467
2586
 
2468
2587
  continue $sm;
2469
2588
  case 1:
2470
- this.TRY_RESULT1__1 = suspendResult;
2471
- this.exceptionState_1 = 6;
2472
- this.state_1 = 4;
2589
+ this.l1a_1 = suspendResult;
2590
+ this.h7_1 = 6;
2591
+ this.g7_1 = 4;
2473
2592
  continue $sm;
2474
2593
  case 2:
2475
- this.exceptionState_1 = 6;
2476
- var tmp_0 = this.exception_1;
2594
+ this.h7_1 = 6;
2595
+ var tmp_0 = this.j7_1;
2477
2596
  if (tmp_0 instanceof Error) {
2478
- this.t2__1 = this.exception_1;
2479
- this.state_1 = 3;
2597
+ this.m1a_1 = this.j7_1;
2598
+ this.g7_1 = 3;
2480
2599
  var tmp_1 = NonCancellable_getInstance();
2481
- suspendResult = withContext(tmp_1, LruCache$load$slambda_0(this._this__u8e3s4__1, this.key_1, null), this);
2600
+ suspendResult = withContext(tmp_1, LruCache$load$slambda_0(this.h1a_1, this.i1a_1, null), this);
2482
2601
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2483
2602
  return suspendResult;
2484
2603
  }
2485
2604
  continue $sm;
2486
2605
  } else {
2487
- throw this.exception_1;
2606
+ throw this.j7_1;
2488
2607
  }
2489
2608
 
2490
2609
  case 3:
2491
2610
  var tmp_2;
2492
- var tmp_3 = this.t2__1;
2611
+ var tmp_3 = this.m1a_1;
2493
2612
  if (tmp_3 instanceof CancellationException) {
2494
2613
  tmp_2 = new LoadAbandoned();
2495
2614
  } else {
2496
- tmp_2 = this.t2__1;
2615
+ tmp_2 = this.m1a_1;
2497
2616
  }
2498
2617
 
2499
- this.ours_1.completeExceptionally_xyzekf_k$(tmp_2);
2618
+ this.j1a_1.kq(tmp_2);
2500
2619
  var tmp_4 = this;
2501
- throw this.t2__1;
2620
+ throw this.m1a_1;
2502
2621
  case 4:
2503
- this.exceptionState_1 = 6;
2504
- this.value0__1 = this.TRY_RESULT1__1;
2505
- this.state_1 = 5;
2622
+ this.h7_1 = 6;
2623
+ this.k1a_1 = this.l1a_1;
2624
+ this.g7_1 = 5;
2506
2625
  var tmp_5 = NonCancellable_getInstance();
2507
- suspendResult = withContext(tmp_5, LruCache$load$slambda_2(this._this__u8e3s4__1, this.key_1, this.value0__1, null), this);
2626
+ suspendResult = withContext(tmp_5, LruCache$load$slambda_2(this.h1a_1, this.i1a_1, this.k1a_1, null), this);
2508
2627
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2509
2628
  return suspendResult;
2510
2629
  }
@@ -2512,59 +2631,59 @@
2512
2631
  continue $sm;
2513
2632
  case 5:
2514
2633
  var evicted = suspendResult;
2515
- this.ours_1.complete_ixf84q_k$(this.value0__1);
2634
+ this.j1a_1.jq(this.k1a_1);
2516
2635
  if (!(evicted == null)) {
2517
- var tmp0_safe_receiver = this._this__u8e3s4__1.onEvict_1;
2636
+ var tmp0_safe_receiver = this.h1a_1.d1b_1;
2518
2637
  if (tmp0_safe_receiver == null)
2519
2638
  null;
2520
2639
  else
2521
2640
  tmp0_safe_receiver(evicted);
2522
2641
  }
2523
2642
 
2524
- return this.value0__1;
2643
+ return this.k1a_1;
2525
2644
  case 6:
2526
- throw this.exception_1;
2645
+ throw this.j7_1;
2527
2646
  }
2528
2647
  } catch ($p) {
2529
2648
  var e = $p;
2530
- if (this.exceptionState_1 === 6) {
2649
+ if (this.h7_1 === 6) {
2531
2650
  throw e;
2532
2651
  } else {
2533
- this.state_1 = this.exceptionState_1;
2534
- this.exception_1 = e;
2652
+ this.g7_1 = this.h7_1;
2653
+ this.j7_1 = e;
2535
2654
  }
2536
2655
  }
2537
2656
  while (true);
2538
2657
  };
2539
2658
  function LruCache(maxSize, loader, onEvict) {
2540
2659
  onEvict = onEvict === VOID ? null : onEvict;
2541
- this.maxSize_1 = maxSize;
2542
- this.loader_1 = loader;
2543
- this.onEvict_1 = onEvict;
2660
+ this.b1b_1 = maxSize;
2661
+ this.c1b_1 = loader;
2662
+ this.d1b_1 = onEvict;
2544
2663
  // Inline function 'kotlin.require' call
2545
- if (!(this.maxSize_1 > 0)) {
2664
+ if (!(this.b1b_1 > 0)) {
2546
2665
  var message = 'Cache size must be greater than 0';
2547
2666
  throw IllegalArgumentException_init_$Create$(toString(message));
2548
2667
  }
2549
- this.mutex_1 = Mutex();
2550
- this.entries_1 = LinkedHashMap_init_$Create$();
2668
+ this.e1b_1 = Mutex();
2669
+ this.f1b_1 = LinkedHashMap_init_$Create$();
2551
2670
  var tmp = this;
2552
2671
  // Inline function 'kotlin.collections.mutableMapOf' call
2553
- tmp.inFlight_1 = LinkedHashMap_init_$Create$();
2672
+ tmp.g1b_1 = LinkedHashMap_init_$Create$();
2554
2673
  }
2555
- protoOf(LruCache).get_27lcp2_k$ = function (key, $completion) {
2674
+ protoOf(LruCache).g1c = function (key, $completion) {
2556
2675
  var tmp = new $getCOROUTINE$(this, key, $completion);
2557
- tmp.result_1 = Unit_instance;
2558
- tmp.exception_1 = null;
2559
- return tmp.doResume_5yljmg_k$();
2676
+ tmp.i7_1 = Unit_instance;
2677
+ tmp.j7_1 = null;
2678
+ return tmp.o7();
2560
2679
  };
2561
2680
  function RawTile(width, height, rgba) {
2562
- this.width_1 = width;
2563
- this.height_1 = height;
2564
- this.rgba_1 = rgba;
2681
+ this.h1c_1 = width;
2682
+ this.i1c_1 = height;
2683
+ this.j1c_1 = rgba;
2565
2684
  // Inline function 'kotlin.require' call
2566
- if (!(this.rgba_1.length === imul(imul(this.width_1, this.height_1), 4))) {
2567
- var message = 'rgba size ' + this.rgba_1.length + ' does not match width*height*4 (' + imul(imul(this.width_1, this.height_1), 4) + ')';
2685
+ if (!(this.j1c_1.length === imul(imul(this.h1c_1, this.i1c_1), 4))) {
2686
+ var message = 'rgba size ' + this.j1c_1.length + ' does not match width*height*4 (' + imul(imul(this.h1c_1, this.i1c_1), 4) + ')';
2568
2687
  throw IllegalArgumentException_init_$Create$(toString(message));
2569
2688
  }
2570
2689
  }
@@ -2573,16 +2692,16 @@
2573
2692
  return true;
2574
2693
  if (!(other instanceof RawTile))
2575
2694
  return false;
2576
- return this.width_1 === other.width_1 && this.height_1 === other.height_1 && contentEquals(this.rgba_1, other.rgba_1);
2695
+ return this.h1c_1 === other.h1c_1 && this.i1c_1 === other.i1c_1 && contentEquals(this.j1c_1, other.j1c_1);
2577
2696
  };
2578
2697
  protoOf(RawTile).hashCode = function () {
2579
- var result = this.width_1;
2580
- result = imul(31, result) + this.height_1 | 0;
2581
- result = imul(31, result) + contentHashCode(this.rgba_1) | 0;
2698
+ var result = this.h1c_1;
2699
+ result = imul(31, result) + this.i1c_1 | 0;
2700
+ result = imul(31, result) + contentHashCode(this.j1c_1) | 0;
2582
2701
  return result;
2583
2702
  };
2584
2703
  function Tile_init_$Init$(raw, $this) {
2585
- Tile.call($this, raw.width_1, raw.height_1, raw.rgba_1);
2704
+ Tile.call($this, raw.h1c_1, raw.i1c_1, raw.j1c_1);
2586
2705
  return $this;
2587
2706
  }
2588
2707
  function Tile_init_$Create$(raw) {
@@ -2590,7 +2709,7 @@
2590
2709
  }
2591
2710
  function Companion_0() {
2592
2711
  }
2593
- protoOf(Companion_0).decodeTerrariumElevation_vmx8i4_k$ = function (r, g, b) {
2712
+ protoOf(Companion_0).k1c = function (r, g, b) {
2594
2713
  var raw = r * 256.0 + g + b / 256.0 - 32768.0;
2595
2714
  return round(raw * 100.0) / 100.0;
2596
2715
  };
@@ -2599,85 +2718,85 @@
2599
2718
  return Companion_instance_1;
2600
2719
  }
2601
2720
  function Tile(width, height, rgba) {
2602
- this.width_1 = width;
2603
- this.height_1 = height;
2604
- this.rgba_1 = rgba;
2721
+ this.u13_1 = width;
2722
+ this.v13_1 = height;
2723
+ this.w13_1 = rgba;
2605
2724
  var tmp = this;
2606
2725
  var tmp_0 = 0;
2607
- var tmp_1 = imul(this.width_1, this.height_1);
2726
+ var tmp_1 = imul(this.u13_1, this.v13_1);
2608
2727
  var tmp_2 = new Float64Array(tmp_1);
2609
2728
  while (tmp_0 < tmp_1) {
2610
2729
  tmp_2[tmp_0] = NaN;
2611
2730
  tmp_0 = tmp_0 + 1 | 0;
2612
2731
  }
2613
- tmp.cache_1 = tmp_2;
2614
- this.decodeCount_1 = 0;
2732
+ tmp.x13_1 = tmp_2;
2733
+ this.y13_1 = 0;
2615
2734
  }
2616
- protoOf(Tile).getElevation_exacdm_k$ = function (pixel) {
2617
- var containsUpper = this.width_1;
2618
- var containsArg = pixel.x_1;
2735
+ protoOf(Tile).z13 = function (pixel) {
2736
+ var containsUpper = this.u13_1;
2737
+ var containsArg = pixel.o13_1;
2619
2738
  // Inline function 'kotlin.require' call
2620
2739
  if (!(0 <= containsArg ? containsArg < containsUpper : false)) {
2621
- var message = 'Invalid x position: ' + pixel.x_1 + '. Must be between 0 and ' + (this.width_1 - 1 | 0);
2740
+ var message = 'Invalid x position: ' + pixel.o13_1 + '. Must be between 0 and ' + (this.u13_1 - 1 | 0);
2622
2741
  throw IllegalArgumentException_init_$Create$(toString(message));
2623
2742
  }
2624
- var containsUpper_0 = this.height_1;
2625
- var containsArg_0 = pixel.y_1;
2743
+ var containsUpper_0 = this.v13_1;
2744
+ var containsArg_0 = pixel.p13_1;
2626
2745
  // Inline function 'kotlin.require' call
2627
2746
  if (!(0 <= containsArg_0 ? containsArg_0 < containsUpper_0 : false)) {
2628
- var message_0 = 'Invalid y position: ' + pixel.y_1 + '. Must be between 0 and ' + (this.height_1 - 1 | 0);
2747
+ var message_0 = 'Invalid y position: ' + pixel.p13_1 + '. Must be between 0 and ' + (this.v13_1 - 1 | 0);
2629
2748
  throw IllegalArgumentException_init_$Create$(toString(message_0));
2630
2749
  }
2631
- var idx = imul(pixel.y_1, this.width_1) + pixel.x_1 | 0;
2632
- var cached = this.cache_1[idx];
2750
+ var idx = imul(pixel.p13_1, this.u13_1) + pixel.o13_1 | 0;
2751
+ var cached = this.x13_1[idx];
2633
2752
  if (!isNaN_0(cached))
2634
2753
  return cached;
2635
2754
  var byteOffset = imul(idx, 4);
2636
- var r = this.rgba_1[byteOffset] & 255;
2637
- var g = this.rgba_1[byteOffset + 1 | 0] & 255;
2638
- var b = this.rgba_1[byteOffset + 2 | 0] & 255;
2639
- var elevation = r === 0 && g === 0 && b === 0 ? NaN : Companion_instance_1.decodeTerrariumElevation_vmx8i4_k$(r, g, b);
2640
- this.cache_1[idx] = elevation;
2641
- this.decodeCount_1 = this.decodeCount_1 + 1 | 0;
2755
+ var r = this.w13_1[byteOffset] & 255;
2756
+ var g = this.w13_1[byteOffset + 1 | 0] & 255;
2757
+ var b = this.w13_1[byteOffset + 2 | 0] & 255;
2758
+ var elevation = r === 0 && g === 0 && b === 0 ? NaN : Companion_instance_1.k1c(r, g, b);
2759
+ this.x13_1[idx] = elevation;
2760
+ this.y13_1 = this.y13_1 + 1 | 0;
2642
2761
  return elevation;
2643
2762
  };
2644
2763
  function buildUrl($this, tc) {
2645
2764
  // Inline function 'kotlin.let' call
2646
- var it = replace(replace(replace($this.urlTemplate_1, '{z}', tc.z_1.toString()), '{x}', tc.x_1.toString()), '{y}', tc.y_1.toString());
2765
+ var it = replace(replace(replace($this.q13_1, '{z}', tc.zz_1.toString()), '{x}', tc.xz_1.toString()), '{y}', tc.yz_1.toString());
2647
2766
  return contains(it, '{bbox}') ? replace(it, '{bbox}', wmsBbox4326(tc)) : it;
2648
2767
  }
2649
2768
  function fetchAndDecodeTile$ref_0() {
2650
2769
  KFunctionImpl.call(this, 1, 2, 2);
2651
2770
  }
2652
- protoOf(fetchAndDecodeTile$ref_0).invoke_fa3hvc_k$ = function (p0, $completion) {
2771
+ protoOf(fetchAndDecodeTile$ref_0).h16 = function (p0, $completion) {
2653
2772
  return fetchAndDecodeTile(p0, $completion);
2654
2773
  };
2655
- protoOf(fetchAndDecodeTile$ref_0).invoke_qns8j1_k$ = function (p1, $completion) {
2656
- return this.invoke_fa3hvc_k$((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2774
+ protoOf(fetchAndDecodeTile$ref_0).w7 = function (p1, $completion) {
2775
+ return this.h16((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2657
2776
  };
2658
2777
  function TileManager$cache$slambda(this$0, resultContinuation) {
2659
- this.this$0__1 = this$0;
2778
+ this.w1c_1 = this$0;
2660
2779
  CoroutineImpl.call(this, resultContinuation);
2661
2780
  }
2662
- protoOf(TileManager$cache$slambda).invoke_m1epgk_k$ = function (tc, $completion) {
2663
- var tmp = this.create_w0r0yx_k$(tc, $completion);
2664
- tmp.result_1 = Unit_instance;
2665
- tmp.exception_1 = null;
2666
- return tmp.doResume_5yljmg_k$();
2781
+ protoOf(TileManager$cache$slambda).y1c = function (tc, $completion) {
2782
+ var tmp = this.z1c(tc, $completion);
2783
+ tmp.i7_1 = Unit_instance;
2784
+ tmp.j7_1 = null;
2785
+ return tmp.o7();
2667
2786
  };
2668
- protoOf(TileManager$cache$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
2669
- return this.invoke_m1epgk_k$(p1 instanceof TileCoordinates ? p1 : THROW_CCE(), $completion);
2787
+ protoOf(TileManager$cache$slambda).w7 = function (p1, $completion) {
2788
+ return this.y1c(p1 instanceof TileCoordinates ? p1 : THROW_CCE(), $completion);
2670
2789
  };
2671
- protoOf(TileManager$cache$slambda).doResume_5yljmg_k$ = function () {
2672
- var suspendResult = this.result_1;
2790
+ protoOf(TileManager$cache$slambda).o7 = function () {
2791
+ var suspendResult = this.i7_1;
2673
2792
  $sm: do
2674
2793
  try {
2675
- var tmp = this.state_1;
2794
+ var tmp = this.g7_1;
2676
2795
  switch (tmp) {
2677
2796
  case 0:
2678
- this.exceptionState_1 = 2;
2679
- this.state_1 = 1;
2680
- suspendResult = this.this$0__1.fetcher_1(buildUrl(this.this$0__1, this.tc_1), this);
2797
+ this.h7_1 = 2;
2798
+ this.g7_1 = 1;
2799
+ suspendResult = this.w1c_1.r13_1(buildUrl(this.w1c_1, this.x1c_1), this);
2681
2800
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2682
2801
  return suspendResult;
2683
2802
  }
@@ -2687,28 +2806,28 @@
2687
2806
  var ARGUMENT = suspendResult;
2688
2807
  return Tile_init_$Create$(ARGUMENT);
2689
2808
  case 2:
2690
- throw this.exception_1;
2809
+ throw this.j7_1;
2691
2810
  }
2692
2811
  } catch ($p) {
2693
2812
  var e = $p;
2694
- if (this.exceptionState_1 === 2) {
2813
+ if (this.h7_1 === 2) {
2695
2814
  throw e;
2696
2815
  } else {
2697
- this.state_1 = this.exceptionState_1;
2698
- this.exception_1 = e;
2816
+ this.g7_1 = this.h7_1;
2817
+ this.j7_1 = e;
2699
2818
  }
2700
2819
  }
2701
2820
  while (true);
2702
2821
  };
2703
- protoOf(TileManager$cache$slambda).create_w0r0yx_k$ = function (tc, completion) {
2704
- var i = new TileManager$cache$slambda(this.this$0__1, completion);
2705
- i.tc_1 = tc;
2822
+ protoOf(TileManager$cache$slambda).z1c = function (tc, completion) {
2823
+ var i = new TileManager$cache$slambda(this.w1c_1, completion);
2824
+ i.x1c_1 = tc;
2706
2825
  return i;
2707
2826
  };
2708
2827
  function TileManager$cache$slambda_0(this$0, resultContinuation) {
2709
2828
  var i = new TileManager$cache$slambda(this$0, resultContinuation);
2710
2829
  return constructCallableReference(function (tc, $completion) {
2711
- return i.invoke_m1epgk_k$(tc, $completion);
2830
+ return i.y1c(tc, $completion);
2712
2831
  }, 1);
2713
2832
  }
2714
2833
  function TileManager(urlTemplate, cacheSize, fetcher) {
@@ -2719,13 +2838,13 @@
2719
2838
  tmp = fetcher;
2720
2839
  }
2721
2840
  fetcher = tmp;
2722
- this.urlTemplate_1 = urlTemplate;
2723
- this.fetcher_1 = fetcher;
2841
+ this.q13_1 = urlTemplate;
2842
+ this.r13_1 = fetcher;
2724
2843
  var tmp_0 = this;
2725
- tmp_0.cache_1 = new LruCache(cacheSize, TileManager$cache$slambda_0(this, null));
2844
+ tmp_0.s13_1 = new LruCache(cacheSize, TileManager$cache$slambda_0(this, null));
2726
2845
  }
2727
- protoOf(TileManager).getTile_c22khk_k$ = function (tileCoords, $completion) {
2728
- return this.cache_1.get_27lcp2_k$(tileCoords, $completion);
2846
+ protoOf(TileManager).t13 = function (tileCoords, $completion) {
2847
+ return this.s13_1.g1c(tileCoords, $completion);
2729
2848
  };
2730
2849
  function pacedTileBytesFetcher(maxRequestsPerSecond, fetch, maxAttempts, now) {
2731
2850
  var tmp;
@@ -2754,30 +2873,30 @@
2754
2873
  retryAfterSeconds = retryAfterSeconds === VOID ? null : retryAfterSeconds;
2755
2874
  IllegalStateException_init_$Init$('Tile fetch failed for ' + url + ': HTTP ' + status, this);
2756
2875
  captureStack(this, TileFetchException);
2757
- this.url_1 = url;
2758
- this.status_1 = status;
2759
- this.retryAfterSeconds_1 = retryAfterSeconds;
2876
+ this.a1d_1 = url;
2877
+ this.b1d_1 = status;
2878
+ this.c1d_1 = retryAfterSeconds;
2760
2879
  }
2761
2880
  function monotonicMillis() {
2762
- var origin = Monotonic_instance.markNow_ns2ype_k$();
2881
+ var origin = Monotonic_instance.va();
2763
2882
  return monotonicMillis$lambda(origin);
2764
2883
  }
2765
2884
  function $awaitTurnCOROUTINE$(_this__u8e3s4, resultContinuation) {
2766
2885
  CoroutineImpl.call(this, resultContinuation);
2767
- this._this__u8e3s4__1 = _this__u8e3s4;
2886
+ this.l1d_1 = _this__u8e3s4;
2768
2887
  }
2769
- protoOf($awaitTurnCOROUTINE$).doResume_5yljmg_k$ = function () {
2770
- var suspendResult = this.result_1;
2888
+ protoOf($awaitTurnCOROUTINE$).o7 = function () {
2889
+ var suspendResult = this.i7_1;
2771
2890
  $sm: do
2772
2891
  try {
2773
- var tmp = this.state_1;
2892
+ var tmp = this.g7_1;
2774
2893
  switch (tmp) {
2775
2894
  case 0:
2776
- this.exceptionState_1 = 4;
2777
- this.this1__1 = this._this__u8e3s4__1.mutex_1;
2778
- this.owner0__1 = null;
2779
- this.state_1 = 1;
2780
- suspendResult = this.this1__1.lock_ugrcvf_k$(this.owner0__1, this);
2895
+ this.h7_1 = 4;
2896
+ this.n1d_1 = this.l1d_1.q1d_1;
2897
+ this.m1d_1 = null;
2898
+ this.g7_1 = 1;
2899
+ suspendResult = this.n1d_1.rv(this.m1d_1, this);
2781
2900
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2782
2901
  return suspendResult;
2783
2902
  }
@@ -2788,116 +2907,116 @@
2788
2907
  l$ret$1: do {
2789
2908
  var tmp_0;
2790
2909
  try {
2791
- var t = toNumber(this._this__u8e3s4__1.now_1());
2792
- var b = this._this__u8e3s4__1.nextSlotMs_1;
2910
+ var t = toNumber(this.l1d_1.o1d_1());
2911
+ var b = this.l1d_1.r1d_1;
2793
2912
  var slot = Math.max(t, b);
2794
- this._this__u8e3s4__1.nextSlotMs_1 = slot + this._this__u8e3s4__1.spacingMs_1;
2913
+ this.l1d_1.r1d_1 = slot + this.l1d_1.p1d_1;
2795
2914
  tmp$ret$0 = slot - t;
2796
2915
  break l$ret$1;
2797
2916
  } catch ($p) {
2798
2917
  var tmp_1;
2799
2918
  var t_0 = $p;
2800
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2919
+ this.n1d_1.cv(this.m1d_1);
2801
2920
  throw t_0;
2802
2921
  }
2803
2922
  }
2804
2923
  while (false);
2805
2924
  var tmp_2 = tmp$ret$0;
2806
- this.this1__1.unlock_ulcrcl_k$(this.owner0__1);
2925
+ this.n1d_1.cv(this.m1d_1);
2807
2926
  var waitMs = tmp_2;
2808
2927
  if (waitMs > 0) {
2809
- this.state_1 = 2;
2928
+ this.g7_1 = 2;
2810
2929
  suspendResult = delay(numberToLong(Math.ceil(waitMs)), this);
2811
2930
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2812
2931
  return suspendResult;
2813
2932
  }
2814
2933
  continue $sm;
2815
2934
  } else {
2816
- this.state_1 = 3;
2935
+ this.g7_1 = 3;
2817
2936
  continue $sm;
2818
2937
  }
2819
2938
 
2820
2939
  case 2:
2821
- this.state_1 = 3;
2940
+ this.g7_1 = 3;
2822
2941
  continue $sm;
2823
2942
  case 3:
2824
2943
  return Unit_instance;
2825
2944
  case 4:
2826
- throw this.exception_1;
2945
+ throw this.j7_1;
2827
2946
  }
2828
2947
  } catch ($p_0) {
2829
2948
  var e = $p_0;
2830
- if (this.exceptionState_1 === 4) {
2949
+ if (this.h7_1 === 4) {
2831
2950
  throw e;
2832
2951
  } else {
2833
- this.state_1 = this.exceptionState_1;
2834
- this.exception_1 = e;
2952
+ this.g7_1 = this.h7_1;
2953
+ this.j7_1 = e;
2835
2954
  }
2836
2955
  }
2837
2956
  while (true);
2838
2957
  };
2839
2958
  function RequestPacer(perSecond, now) {
2840
- this.now_1 = now;
2841
- this.spacingMs_1 = 1000.0 / perSecond;
2842
- this.mutex_1 = Mutex();
2843
- this.nextSlotMs_1 = -Infinity;
2959
+ this.o1d_1 = now;
2960
+ this.p1d_1 = 1000.0 / perSecond;
2961
+ this.q1d_1 = Mutex();
2962
+ this.r1d_1 = -Infinity;
2844
2963
  }
2845
- protoOf(RequestPacer).awaitTurn_n6e5s4_k$ = function ($completion) {
2964
+ protoOf(RequestPacer).s1d = function ($completion) {
2846
2965
  var tmp = new $awaitTurnCOROUTINE$(this, $completion);
2847
- tmp.result_1 = Unit_instance;
2848
- tmp.exception_1 = null;
2849
- return tmp.doResume_5yljmg_k$();
2966
+ tmp.i7_1 = Unit_instance;
2967
+ tmp.j7_1 = null;
2968
+ return tmp.o7();
2850
2969
  };
2851
2970
  function fetchTileBytes$ref() {
2852
2971
  KFunctionImpl.call(this, 1, 2, 4);
2853
2972
  }
2854
- protoOf(fetchTileBytes$ref).invoke_vut9or_k$ = function (p0, $completion) {
2973
+ protoOf(fetchTileBytes$ref).w1d = function (p0, $completion) {
2855
2974
  return fetchTileBytes(p0, $completion);
2856
2975
  };
2857
- protoOf(fetchTileBytes$ref).invoke_qns8j1_k$ = function (p1, $completion) {
2858
- return this.invoke_vut9or_k$((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2976
+ protoOf(fetchTileBytes$ref).w7 = function (p1, $completion) {
2977
+ return this.w1d((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2859
2978
  };
2860
2979
  function pacedTileBytesFetcher$slambda($pacer, $fetch, $maxAttempts, resultContinuation) {
2861
- this.$pacer_1 = $pacer;
2862
- this.$fetch_1 = $fetch;
2863
- this.$maxAttempts_1 = $maxAttempts;
2980
+ this.f1e_1 = $pacer;
2981
+ this.g1e_1 = $fetch;
2982
+ this.h1e_1 = $maxAttempts;
2864
2983
  CoroutineImpl.call(this, resultContinuation);
2865
2984
  }
2866
- protoOf(pacedTileBytesFetcher$slambda).invoke_vut9or_k$ = function (url, $completion) {
2867
- var tmp = this.create_99ct7z_k$(url, $completion);
2868
- tmp.result_1 = Unit_instance;
2869
- tmp.exception_1 = null;
2870
- return tmp.doResume_5yljmg_k$();
2985
+ protoOf(pacedTileBytesFetcher$slambda).w1d = function (url, $completion) {
2986
+ var tmp = this.s16(url, $completion);
2987
+ tmp.i7_1 = Unit_instance;
2988
+ tmp.j7_1 = null;
2989
+ return tmp.o7();
2871
2990
  };
2872
- protoOf(pacedTileBytesFetcher$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
2873
- return this.invoke_vut9or_k$((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2991
+ protoOf(pacedTileBytesFetcher$slambda).w7 = function (p1, $completion) {
2992
+ return this.w1d((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2874
2993
  };
2875
- protoOf(pacedTileBytesFetcher$slambda).doResume_5yljmg_k$ = function () {
2876
- var suspendResult = this.result_1;
2994
+ protoOf(pacedTileBytesFetcher$slambda).o7 = function () {
2995
+ var suspendResult = this.i7_1;
2877
2996
  $sm: do
2878
2997
  try {
2879
- var tmp = this.state_1;
2998
+ var tmp = this.g7_1;
2880
2999
  switch (tmp) {
2881
3000
  case 0:
2882
- this.exceptionState_1 = 9;
2883
- this.attempt2__1 = 1;
2884
- this.bytes0__1 = null;
2885
- this.state_1 = 1;
3001
+ this.h7_1 = 9;
3002
+ this.l1e_1 = 1;
3003
+ this.j1e_1 = null;
3004
+ this.g7_1 = 1;
2886
3005
  continue $sm;
2887
3006
  case 1:
2888
- if (!(this.bytes0__1 == null)) {
2889
- this.state_1 = 8;
3007
+ if (!(this.j1e_1 == null)) {
3008
+ this.g7_1 = 8;
2890
3009
  continue $sm;
2891
3010
  }
2892
3011
 
2893
- var tmp0_safe_receiver = this.$pacer_1;
3012
+ var tmp0_safe_receiver = this.f1e_1;
2894
3013
  if (tmp0_safe_receiver == null) {
2895
- this.WHEN_RESULT3__1 = null;
2896
- this.state_1 = 3;
3014
+ this.m1e_1 = null;
3015
+ this.g7_1 = 3;
2897
3016
  continue $sm;
2898
3017
  } else {
2899
- this.state_1 = 2;
2900
- suspendResult = tmp0_safe_receiver.awaitTurn_n6e5s4_k$(this);
3018
+ this.g7_1 = 2;
3019
+ suspendResult = tmp0_safe_receiver.s1d(this);
2901
3020
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2902
3021
  return suspendResult;
2903
3022
  }
@@ -2906,13 +3025,13 @@
2906
3025
 
2907
3026
  case 2:
2908
3027
  var tmp_0 = this;
2909
- tmp_0.WHEN_RESULT3__1 = Unit_instance;
2910
- this.state_1 = 3;
3028
+ tmp_0.m1e_1 = Unit_instance;
3029
+ this.g7_1 = 3;
2911
3030
  continue $sm;
2912
3031
  case 3:
2913
- this.exceptionState_1 = 5;
2914
- this.state_1 = 4;
2915
- suspendResult = this.$fetch_1(this.url_1, this);
3032
+ this.h7_1 = 5;
3033
+ this.g7_1 = 4;
3034
+ suspendResult = this.g1e_1(this.i1e_1, this);
2916
3035
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2917
3036
  return suspendResult;
2918
3037
  }
@@ -2920,65 +3039,65 @@
2920
3039
  continue $sm;
2921
3040
  case 4:
2922
3041
  var tmp_1 = this;
2923
- this.bytes0__1 = suspendResult;
2924
- tmp_1.TRY_RESULT1__1 = Unit_instance;
2925
- this.exceptionState_1 = 9;
2926
- this.state_1 = 7;
3042
+ this.j1e_1 = suspendResult;
3043
+ tmp_1.k1e_1 = Unit_instance;
3044
+ this.h7_1 = 9;
3045
+ this.g7_1 = 7;
2927
3046
  continue $sm;
2928
3047
  case 5:
2929
- this.exceptionState_1 = 9;
2930
- var tmp_2 = this.exception_1;
3048
+ this.h7_1 = 9;
3049
+ var tmp_2 = this.j7_1;
2931
3050
  if (tmp_2 instanceof TileFetchException) {
2932
- var e = this.exception_1;
2933
- if (!(e.status_1 === 429) && !(e.status_1 === 503) || this.attempt2__1 >= this.$maxAttempts_1)
3051
+ var e = this.j7_1;
3052
+ if (!(e.b1d_1 === 429) && !(e.b1d_1 === 503) || this.l1e_1 >= this.h1e_1)
2934
3053
  throw e;
2935
- this.state_1 = 6;
2936
- var tmp1_elvis_lhs = e.retryAfterSeconds_1;
2937
- suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.attempt2__1 - 1 | 0) : tmp1_elvis_lhs, new Long(1000, 0)), this);
3054
+ this.g7_1 = 6;
3055
+ var tmp1_elvis_lhs = e.c1d_1;
3056
+ suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.l1e_1 - 1 | 0) : tmp1_elvis_lhs, new Long(1000, 0)), this);
2938
3057
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2939
3058
  return suspendResult;
2940
3059
  }
2941
3060
  continue $sm;
2942
3061
  } else {
2943
- throw this.exception_1;
3062
+ throw this.j7_1;
2944
3063
  }
2945
3064
 
2946
3065
  case 6:
2947
3066
  var tmp_3 = this;
2948
- var _unary__edvuaz = this.attempt2__1;
2949
- this.attempt2__1 = _unary__edvuaz + 1 | 0;
2950
- tmp_3.TRY_RESULT1__1 = _unary__edvuaz;
2951
- this.state_1 = 7;
3067
+ var _unary__edvuaz = this.l1e_1;
3068
+ this.l1e_1 = _unary__edvuaz + 1 | 0;
3069
+ tmp_3.k1e_1 = _unary__edvuaz;
3070
+ this.g7_1 = 7;
2952
3071
  continue $sm;
2953
3072
  case 7:
2954
- this.exceptionState_1 = 9;
2955
- this.state_1 = 1;
3073
+ this.h7_1 = 9;
3074
+ this.g7_1 = 1;
2956
3075
  continue $sm;
2957
3076
  case 8:
2958
- return this.bytes0__1;
3077
+ return this.j1e_1;
2959
3078
  case 9:
2960
- throw this.exception_1;
3079
+ throw this.j7_1;
2961
3080
  }
2962
3081
  } catch ($p) {
2963
3082
  var e_0 = $p;
2964
- if (this.exceptionState_1 === 9) {
3083
+ if (this.h7_1 === 9) {
2965
3084
  throw e_0;
2966
3085
  } else {
2967
- this.state_1 = this.exceptionState_1;
2968
- this.exception_1 = e_0;
3086
+ this.g7_1 = this.h7_1;
3087
+ this.j7_1 = e_0;
2969
3088
  }
2970
3089
  }
2971
3090
  while (true);
2972
3091
  };
2973
- protoOf(pacedTileBytesFetcher$slambda).create_99ct7z_k$ = function (url, completion) {
2974
- var i = new pacedTileBytesFetcher$slambda(this.$pacer_1, this.$fetch_1, this.$maxAttempts_1, completion);
2975
- i.url_1 = url;
3092
+ protoOf(pacedTileBytesFetcher$slambda).s16 = function (url, completion) {
3093
+ var i = new pacedTileBytesFetcher$slambda(this.f1e_1, this.g1e_1, this.h1e_1, completion);
3094
+ i.i1e_1 = url;
2976
3095
  return i;
2977
3096
  };
2978
3097
  function pacedTileBytesFetcher$slambda_0($pacer, $fetch, $maxAttempts, resultContinuation) {
2979
3098
  var i = new pacedTileBytesFetcher$slambda($pacer, $fetch, $maxAttempts, resultContinuation);
2980
3099
  return constructCallableReference(function (url, $completion) {
2981
- return i.invoke_vut9or_k$(url, $completion);
3100
+ return i.w1d(url, $completion);
2982
3101
  }, 1);
2983
3102
  }
2984
3103
  function monotonicMillis$lambda($origin) {
@@ -2987,17 +3106,17 @@
2987
3106
  };
2988
3107
  }
2989
3108
  function TileCoordinates(x, y, z) {
2990
- this.x_1 = x;
2991
- this.y_1 = y;
2992
- this.z_1 = z;
3109
+ this.xz_1 = x;
3110
+ this.yz_1 = y;
3111
+ this.zz_1 = z;
2993
3112
  }
2994
3113
  protoOf(TileCoordinates).toString = function () {
2995
- return 'TileCoordinates(x=' + this.x_1 + ', y=' + this.y_1 + ', z=' + this.z_1 + ')';
3114
+ return 'TileCoordinates(x=' + this.xz_1 + ', y=' + this.yz_1 + ', z=' + this.zz_1 + ')';
2996
3115
  };
2997
3116
  protoOf(TileCoordinates).hashCode = function () {
2998
- var result = this.x_1;
2999
- result = imul(result, 31) + this.y_1 | 0;
3000
- result = imul(result, 31) + this.z_1 | 0;
3117
+ var result = this.xz_1;
3118
+ result = imul(result, 31) + this.yz_1 | 0;
3119
+ result = imul(result, 31) + this.zz_1 | 0;
3001
3120
  return result;
3002
3121
  };
3003
3122
  protoOf(TileCoordinates).equals = function (other) {
@@ -3005,26 +3124,26 @@
3005
3124
  return true;
3006
3125
  if (!(other instanceof TileCoordinates))
3007
3126
  return false;
3008
- if (!(this.x_1 === other.x_1))
3127
+ if (!(this.xz_1 === other.xz_1))
3009
3128
  return false;
3010
- if (!(this.y_1 === other.y_1))
3129
+ if (!(this.yz_1 === other.yz_1))
3011
3130
  return false;
3012
- if (!(this.z_1 === other.z_1))
3131
+ if (!(this.zz_1 === other.zz_1))
3013
3132
  return false;
3014
3133
  return true;
3015
3134
  };
3016
3135
  function Pixel(tile, x, y) {
3017
- this.tile_1 = tile;
3018
- this.x_1 = x;
3019
- this.y_1 = y;
3136
+ this.n13_1 = tile;
3137
+ this.o13_1 = x;
3138
+ this.p13_1 = y;
3020
3139
  }
3021
3140
  protoOf(Pixel).toString = function () {
3022
- return 'Pixel(tile=' + this.tile_1.toString() + ', x=' + this.x_1 + ', y=' + this.y_1 + ')';
3141
+ return 'Pixel(tile=' + this.n13_1.toString() + ', x=' + this.o13_1 + ', y=' + this.p13_1 + ')';
3023
3142
  };
3024
3143
  protoOf(Pixel).hashCode = function () {
3025
- var result = this.tile_1.hashCode();
3026
- result = imul(result, 31) + this.x_1 | 0;
3027
- result = imul(result, 31) + this.y_1 | 0;
3144
+ var result = this.n13_1.hashCode();
3145
+ result = imul(result, 31) + this.o13_1 | 0;
3146
+ result = imul(result, 31) + this.p13_1 | 0;
3028
3147
  return result;
3029
3148
  };
3030
3149
  protoOf(Pixel).equals = function (other) {
@@ -3032,26 +3151,26 @@
3032
3151
  return true;
3033
3152
  if (!(other instanceof Pixel))
3034
3153
  return false;
3035
- if (!this.tile_1.equals(other.tile_1))
3154
+ if (!this.n13_1.equals(other.n13_1))
3036
3155
  return false;
3037
- if (!(this.x_1 === other.x_1))
3156
+ if (!(this.o13_1 === other.o13_1))
3038
3157
  return false;
3039
- if (!(this.y_1 === other.y_1))
3158
+ if (!(this.p13_1 === other.p13_1))
3040
3159
  return false;
3041
3160
  return true;
3042
3161
  };
3043
3162
  function PixelFloat(tile, x, y) {
3044
- this.tile_1 = tile;
3045
- this.x_1 = x;
3046
- this.y_1 = y;
3163
+ this.j13_1 = tile;
3164
+ this.k13_1 = x;
3165
+ this.l13_1 = y;
3047
3166
  }
3048
3167
  protoOf(PixelFloat).toString = function () {
3049
- return 'PixelFloat(tile=' + this.tile_1.toString() + ', x=' + this.x_1 + ', y=' + this.y_1 + ')';
3168
+ return 'PixelFloat(tile=' + this.j13_1.toString() + ', x=' + this.k13_1 + ', y=' + this.l13_1 + ')';
3050
3169
  };
3051
3170
  protoOf(PixelFloat).hashCode = function () {
3052
- var result = this.tile_1.hashCode();
3053
- result = imul(result, 31) + getNumberHashCode(this.x_1) | 0;
3054
- result = imul(result, 31) + getNumberHashCode(this.y_1) | 0;
3171
+ var result = this.j13_1.hashCode();
3172
+ result = imul(result, 31) + getNumberHashCode(this.k13_1) | 0;
3173
+ result = imul(result, 31) + getNumberHashCode(this.l13_1) | 0;
3055
3174
  return result;
3056
3175
  };
3057
3176
  protoOf(PixelFloat).equals = function (other) {
@@ -3059,30 +3178,30 @@
3059
3178
  return true;
3060
3179
  if (!(other instanceof PixelFloat))
3061
3180
  return false;
3062
- if (!this.tile_1.equals(other.tile_1))
3181
+ if (!this.j13_1.equals(other.j13_1))
3063
3182
  return false;
3064
- if (!equals(this.x_1, other.x_1))
3183
+ if (!equals(this.k13_1, other.k13_1))
3065
3184
  return false;
3066
- if (!equals(this.y_1, other.y_1))
3185
+ if (!equals(this.l13_1, other.l13_1))
3067
3186
  return false;
3068
3187
  return true;
3069
3188
  };
3070
3189
  function TileCoordinatesFloat(x, y, xFloat, yFloat, z) {
3071
- this.x_1 = x;
3072
- this.y_1 = y;
3073
- this.xFloat_1 = xFloat;
3074
- this.yFloat_1 = yFloat;
3075
- this.z_1 = z;
3190
+ this.f14_1 = x;
3191
+ this.g14_1 = y;
3192
+ this.h14_1 = xFloat;
3193
+ this.i14_1 = yFloat;
3194
+ this.j14_1 = z;
3076
3195
  }
3077
3196
  protoOf(TileCoordinatesFloat).toString = function () {
3078
- return 'TileCoordinatesFloat(x=' + this.x_1 + ', y=' + this.y_1 + ', xFloat=' + this.xFloat_1 + ', yFloat=' + this.yFloat_1 + ', z=' + this.z_1 + ')';
3197
+ return 'TileCoordinatesFloat(x=' + this.f14_1 + ', y=' + this.g14_1 + ', xFloat=' + this.h14_1 + ', yFloat=' + this.i14_1 + ', z=' + this.j14_1 + ')';
3079
3198
  };
3080
3199
  protoOf(TileCoordinatesFloat).hashCode = function () {
3081
- var result = this.x_1;
3082
- result = imul(result, 31) + this.y_1 | 0;
3083
- result = imul(result, 31) + getNumberHashCode(this.xFloat_1) | 0;
3084
- result = imul(result, 31) + getNumberHashCode(this.yFloat_1) | 0;
3085
- result = imul(result, 31) + this.z_1 | 0;
3200
+ var result = this.f14_1;
3201
+ result = imul(result, 31) + this.g14_1 | 0;
3202
+ result = imul(result, 31) + getNumberHashCode(this.h14_1) | 0;
3203
+ result = imul(result, 31) + getNumberHashCode(this.i14_1) | 0;
3204
+ result = imul(result, 31) + this.j14_1 | 0;
3086
3205
  return result;
3087
3206
  };
3088
3207
  protoOf(TileCoordinatesFloat).equals = function (other) {
@@ -3090,21 +3209,21 @@
3090
3209
  return true;
3091
3210
  if (!(other instanceof TileCoordinatesFloat))
3092
3211
  return false;
3093
- if (!(this.x_1 === other.x_1))
3212
+ if (!(this.f14_1 === other.f14_1))
3094
3213
  return false;
3095
- if (!(this.y_1 === other.y_1))
3214
+ if (!(this.g14_1 === other.g14_1))
3096
3215
  return false;
3097
- if (!equals(this.xFloat_1, other.xFloat_1))
3216
+ if (!equals(this.h14_1, other.h14_1))
3098
3217
  return false;
3099
- if (!equals(this.yFloat_1, other.yFloat_1))
3218
+ if (!equals(this.i14_1, other.i14_1))
3100
3219
  return false;
3101
- if (!(this.z_1 === other.z_1))
3220
+ if (!(this.j14_1 === other.j14_1))
3102
3221
  return false;
3103
3222
  return true;
3104
3223
  };
3105
3224
  function Companion_1() {
3106
3225
  Companion_instance_2 = this;
3107
- this.ZERO_1 = new Vector3D(0.0, 0.0, 0.0);
3226
+ this.n1e_1 = new Vector3D(0.0, 0.0, 0.0);
3108
3227
  }
3109
3228
  var Companion_instance_2;
3110
3229
  function Companion_getInstance_1() {
@@ -3114,49 +3233,49 @@
3114
3233
  }
3115
3234
  function Vector3D(x, y, z) {
3116
3235
  Companion_getInstance_1();
3117
- this.x_1 = x;
3118
- this.y_1 = y;
3119
- this.z_1 = z;
3236
+ this.h11_1 = x;
3237
+ this.i11_1 = y;
3238
+ this.j11_1 = z;
3120
3239
  }
3121
- protoOf(Vector3D).distanceTo_53ug7b_k$ = function (other) {
3122
- var tmp0 = this.x_1 - other.x_1;
3240
+ protoOf(Vector3D).o1e = function (other) {
3241
+ var tmp0 = this.h11_1 - other.h11_1;
3123
3242
  // Inline function 'kotlin.math.hypot' call
3124
- var y = this.y_1 - other.y_1;
3243
+ var y = this.i11_1 - other.i11_1;
3125
3244
  var tmp0_0 = hypot(tmp0, y);
3126
3245
  // Inline function 'kotlin.math.hypot' call
3127
- var y_0 = this.z_1 - other.z_1;
3246
+ var y_0 = this.j11_1 - other.j11_1;
3128
3247
  return hypot(tmp0_0, y_0);
3129
3248
  };
3130
- protoOf(Vector3D).minus_de4vqf_k$ = function (other) {
3131
- return new Vector3D(this.x_1 - other.x_1, this.y_1 - other.y_1, this.z_1 - other.z_1);
3249
+ protoOf(Vector3D).p1e = function (other) {
3250
+ return new Vector3D(this.h11_1 - other.h11_1, this.i11_1 - other.i11_1, this.j11_1 - other.j11_1);
3132
3251
  };
3133
- protoOf(Vector3D).plus_e4szu7_k$ = function (other) {
3134
- return new Vector3D(this.x_1 + other.x_1, this.y_1 + other.y_1, this.z_1 + other.z_1);
3252
+ protoOf(Vector3D).q1e = function (other) {
3253
+ return new Vector3D(this.h11_1 + other.h11_1, this.i11_1 + other.i11_1, this.j11_1 + other.j11_1);
3135
3254
  };
3136
- protoOf(Vector3D).times_qz1dds_k$ = function (scalar) {
3137
- return new Vector3D(this.x_1 * scalar, this.y_1 * scalar, this.z_1 * scalar);
3255
+ protoOf(Vector3D).r1e = function (scalar) {
3256
+ return new Vector3D(this.h11_1 * scalar, this.i11_1 * scalar, this.j11_1 * scalar);
3138
3257
  };
3139
- protoOf(Vector3D).dot_o3y6jk_k$ = function (other) {
3140
- return this.x_1 * other.x_1 + this.y_1 * other.y_1 + this.z_1 * other.z_1;
3258
+ protoOf(Vector3D).s1e = function (other) {
3259
+ return this.h11_1 * other.h11_1 + this.i11_1 * other.i11_1 + this.j11_1 * other.j11_1;
3141
3260
  };
3142
- protoOf(Vector3D).distanceToSegment_bfq4v7_k$ = function (segmentStart, segmentEnd) {
3143
- var segmentVector = segmentEnd.minus_de4vqf_k$(segmentStart);
3144
- var segmentLengthSq = segmentVector.dot_o3y6jk_k$(segmentVector);
3261
+ protoOf(Vector3D).k11 = function (segmentStart, segmentEnd) {
3262
+ var segmentVector = segmentEnd.p1e(segmentStart);
3263
+ var segmentLengthSq = segmentVector.s1e(segmentVector);
3145
3264
  if (segmentLengthSq === 0.0)
3146
- return this.distanceTo_53ug7b_k$(segmentStart);
3147
- var pointVector = this.minus_de4vqf_k$(segmentStart);
3148
- var projection = pointVector.dot_o3y6jk_k$(segmentVector) / segmentLengthSq;
3265
+ return this.o1e(segmentStart);
3266
+ var pointVector = this.p1e(segmentStart);
3267
+ var projection = pointVector.s1e(segmentVector) / segmentLengthSq;
3149
3268
  var clamped = coerceIn_0(projection, 0.0, 1.0);
3150
- var closest = segmentStart.plus_e4szu7_k$(segmentVector.times_qz1dds_k$(clamped));
3151
- return this.distanceTo_53ug7b_k$(closest);
3269
+ var closest = segmentStart.q1e(segmentVector.r1e(clamped));
3270
+ return this.o1e(closest);
3152
3271
  };
3153
3272
  protoOf(Vector3D).toString = function () {
3154
- return 'Vector3D(x=' + this.x_1 + ', y=' + this.y_1 + ', z=' + this.z_1 + ')';
3273
+ return 'Vector3D(x=' + this.h11_1 + ', y=' + this.i11_1 + ', z=' + this.j11_1 + ')';
3155
3274
  };
3156
3275
  protoOf(Vector3D).hashCode = function () {
3157
- var result = getNumberHashCode(this.x_1);
3158
- result = imul(result, 31) + getNumberHashCode(this.y_1) | 0;
3159
- result = imul(result, 31) + getNumberHashCode(this.z_1) | 0;
3276
+ var result = getNumberHashCode(this.h11_1);
3277
+ result = imul(result, 31) + getNumberHashCode(this.i11_1) | 0;
3278
+ result = imul(result, 31) + getNumberHashCode(this.j11_1) | 0;
3160
3279
  return result;
3161
3280
  };
3162
3281
  protoOf(Vector3D).equals = function (other) {
@@ -3164,11 +3283,11 @@
3164
3283
  return true;
3165
3284
  if (!(other instanceof Vector3D))
3166
3285
  return false;
3167
- if (!equals(this.x_1, other.x_1))
3286
+ if (!equals(this.h11_1, other.h11_1))
3168
3287
  return false;
3169
- if (!equals(this.y_1, other.y_1))
3288
+ if (!equals(this.i11_1, other.i11_1))
3170
3289
  return false;
3171
- if (!equals(this.z_1, other.z_1))
3290
+ if (!equals(this.j11_1, other.j11_1))
3172
3291
  return false;
3173
3292
  return true;
3174
3293
  };
@@ -3205,25 +3324,25 @@
3205
3324
  tmp = null;
3206
3325
  } else {
3207
3326
  // Inline function 'kotlin.let' call
3208
- tmp = Companion_getInstance().byId_8gmd94_k$(tmp2_safe_receiver);
3327
+ tmp = Companion_getInstance().o17(tmp2_safe_receiver);
3209
3328
  }
3210
3329
  var tmp3_elvis_lhs = tmp;
3211
- var source = tmp3_elvis_lhs == null ? Companion_getInstance().DEFAULT_1 : tmp3_elvis_lhs;
3212
- var base = source.config_nlp9c9_k$(configDto == null ? null : configDto.zoomLevel);
3330
+ var source = tmp3_elvis_lhs == null ? Companion_getInstance().j17_1 : tmp3_elvis_lhs;
3331
+ var base = source.u17(configDto == null ? null : configDto.zoomLevel);
3213
3332
  var tmp6_elvis_lhs = configDto == null ? null : configDto.cacheSize;
3214
- var tmp_0 = tmp6_elvis_lhs == null ? base.cacheSize_1 : tmp6_elvis_lhs;
3333
+ var tmp_0 = tmp6_elvis_lhs == null ? base.s15_1 : tmp6_elvis_lhs;
3215
3334
  var tmp8_elvis_lhs = configDto == null ? null : configDto.tileUrlTemplate;
3216
- var tmp_1 = tmp8_elvis_lhs == null ? base.tileUrlTemplate_1 : tmp8_elvis_lhs;
3335
+ var tmp_1 = tmp8_elvis_lhs == null ? base.t15_1 : tmp8_elvis_lhs;
3217
3336
  var tmp10_elvis_lhs = configDto == null ? null : configDto.tileSize;
3218
- var cfg = base.copy$default_ptnzjy_k$(VOID, tmp_0, tmp_1, tmp10_elvis_lhs == null ? base.tileSize_1 : tmp10_elvis_lhs);
3337
+ var cfg = base.f17(VOID, tmp_0, tmp_1, tmp10_elvis_lhs == null ? base.u15_1 : tmp10_elvis_lhs);
3219
3338
  var primary = ElevationProvider_init_$Create$(cfg);
3220
- var tmp11_safe_receiver = source.get_fallback_j7pnit_k$();
3339
+ var tmp11_safe_receiver = source.p17();
3221
3340
  var tmp_2;
3222
3341
  if (tmp11_safe_receiver == null) {
3223
3342
  tmp_2 = null;
3224
3343
  } else {
3225
3344
  // Inline function 'kotlin.let' call
3226
- tmp_2 = primary.withFallback_7synod_k$(provider(tmp11_safe_receiver));
3345
+ tmp_2 = primary.y15(provider(tmp11_safe_receiver));
3227
3346
  }
3228
3347
  var tmp12_elvis_lhs = tmp_2;
3229
3348
  return tmp12_elvis_lhs == null ? primary : tmp12_elvis_lhs;
@@ -3231,8 +3350,8 @@
3231
3350
  function elevationAttribution(provider) {
3232
3351
  _init_properties_ElevationJsApi_kt__1yyas4();
3233
3352
  var o = {};
3234
- o.text = provider.get_attribution_8rpdsm_k$().text_1;
3235
- o.url = provider.get_attribution_8rpdsm_k$().url_1;
3353
+ o.text = provider.a16().g17_1;
3354
+ o.url = provider.a16().h17_1;
3236
3355
  // Inline function 'kotlin.js.unsafeCast' call
3237
3356
  return o;
3238
3357
  }
@@ -3275,13 +3394,13 @@
3275
3394
  while (inductionVariable < last) {
3276
3395
  var element = keys[inductionVariable];
3277
3396
  inductionVariable = inductionVariable + 1 | 0;
3278
- if (!allowed.contains_aljjnj_k$(element)) {
3279
- destination.add_utx5q5_k$(element);
3397
+ if (!allowed.i1(element)) {
3398
+ destination.k(element);
3280
3399
  }
3281
3400
  }
3282
3401
  var unknown = destination;
3283
3402
  // Inline function 'kotlin.collections.isNotEmpty' call
3284
- if (!unknown.isEmpty_y1axqb_k$()) {
3403
+ if (!unknown.q()) {
3285
3404
  // Inline function 'kotlin.error' call
3286
3405
  var message = 'Unknown ' + dtoName + ' key(s): ' + joinToString(unknown) + ' \u2014 expected one of ' + joinToString(sorted(allowed));
3287
3406
  throw IllegalStateException_init_$Create$(toString(message));
@@ -3305,31 +3424,31 @@
3305
3424
  return o;
3306
3425
  }
3307
3426
  function getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation) {
3308
- this.$provider_1 = $provider;
3309
- this.$latitude_1 = $latitude;
3310
- this.$longitude_1 = $longitude;
3311
- this.$interpolation_1 = $interpolation;
3427
+ this.b1f_1 = $provider;
3428
+ this.c1f_1 = $latitude;
3429
+ this.d1f_1 = $longitude;
3430
+ this.e1f_1 = $interpolation;
3312
3431
  CoroutineImpl.call(this, resultContinuation);
3313
3432
  }
3314
- protoOf(getElevation$slambda).invoke_41ewvl_k$ = function ($this$promise, $completion) {
3315
- var tmp = this.create_rcuf4x_k$($this$promise, $completion);
3316
- tmp.result_1 = Unit_instance;
3317
- tmp.exception_1 = null;
3318
- return tmp.doResume_5yljmg_k$();
3433
+ protoOf(getElevation$slambda).g1f = function ($this$promise, $completion) {
3434
+ var tmp = this.k18($this$promise, $completion);
3435
+ tmp.i7_1 = Unit_instance;
3436
+ tmp.j7_1 = null;
3437
+ return tmp.o7();
3319
3438
  };
3320
- protoOf(getElevation$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
3321
- return this.invoke_41ewvl_k$((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3439
+ protoOf(getElevation$slambda).w7 = function (p1, $completion) {
3440
+ return this.g1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3322
3441
  };
3323
- protoOf(getElevation$slambda).doResume_5yljmg_k$ = function () {
3324
- var suspendResult = this.result_1;
3442
+ protoOf(getElevation$slambda).o7 = function () {
3443
+ var suspendResult = this.i7_1;
3325
3444
  $sm: do
3326
3445
  try {
3327
- var tmp = this.state_1;
3446
+ var tmp = this.g7_1;
3328
3447
  switch (tmp) {
3329
3448
  case 0:
3330
- this.exceptionState_1 = 2;
3331
- this.state_1 = 1;
3332
- suspendResult = this.$provider_1.getElevation_vb6cmz_k$(this.$latitude_1, this.$longitude_1, this.$interpolation_1, this);
3449
+ this.h7_1 = 2;
3450
+ this.g7_1 = 1;
3451
+ suspendResult = this.b1f_1.g15(this.c1f_1, this.d1f_1, this.e1f_1, this);
3333
3452
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3334
3453
  return suspendResult;
3335
3454
  }
@@ -3338,80 +3457,80 @@
3338
3457
  case 1:
3339
3458
  return suspendResult;
3340
3459
  case 2:
3341
- throw this.exception_1;
3460
+ throw this.j7_1;
3342
3461
  }
3343
3462
  } catch ($p) {
3344
3463
  var e = $p;
3345
- if (this.exceptionState_1 === 2) {
3464
+ if (this.h7_1 === 2) {
3346
3465
  throw e;
3347
3466
  } else {
3348
- this.state_1 = this.exceptionState_1;
3349
- this.exception_1 = e;
3467
+ this.g7_1 = this.h7_1;
3468
+ this.j7_1 = e;
3350
3469
  }
3351
3470
  }
3352
3471
  while (true);
3353
3472
  };
3354
- protoOf(getElevation$slambda).create_rcuf4x_k$ = function ($this$promise, completion) {
3355
- var i = new getElevation$slambda(this.$provider_1, this.$latitude_1, this.$longitude_1, this.$interpolation_1, completion);
3356
- i.$this$promise_1 = $this$promise;
3473
+ protoOf(getElevation$slambda).k18 = function ($this$promise, completion) {
3474
+ var i = new getElevation$slambda(this.b1f_1, this.c1f_1, this.d1f_1, this.e1f_1, completion);
3475
+ i.f1f_1 = $this$promise;
3357
3476
  return i;
3358
3477
  };
3359
3478
  function getElevation$slambda_0($provider, $latitude, $longitude, $interpolation, resultContinuation) {
3360
3479
  var i = new getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation);
3361
3480
  return constructCallableReference(function ($this$promise, $completion) {
3362
- return i.invoke_41ewvl_k$($this$promise, $completion);
3481
+ return i.g1f($this$promise, $completion);
3363
3482
  }, 1);
3364
3483
  }
3365
3484
  function getElevationsAlong$slambda($path, $provider, $options, resultContinuation) {
3366
- this.$path_1 = $path;
3367
- this.$provider_1 = $provider;
3368
- this.$options_1 = $options;
3485
+ this.p1f_1 = $path;
3486
+ this.q1f_1 = $provider;
3487
+ this.r1f_1 = $options;
3369
3488
  CoroutineImpl.call(this, resultContinuation);
3370
3489
  }
3371
- protoOf(getElevationsAlong$slambda).invoke_k3oqbv_k$ = function ($this$promise, $completion) {
3372
- var tmp = this.create_rcuf4x_k$($this$promise, $completion);
3373
- tmp.result_1 = Unit_instance;
3374
- tmp.exception_1 = null;
3375
- return tmp.doResume_5yljmg_k$();
3490
+ protoOf(getElevationsAlong$slambda).t1f = function ($this$promise, $completion) {
3491
+ var tmp = this.k18($this$promise, $completion);
3492
+ tmp.i7_1 = Unit_instance;
3493
+ tmp.j7_1 = null;
3494
+ return tmp.o7();
3376
3495
  };
3377
- protoOf(getElevationsAlong$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
3378
- return this.invoke_k3oqbv_k$((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3496
+ protoOf(getElevationsAlong$slambda).w7 = function (p1, $completion) {
3497
+ return this.t1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3379
3498
  };
3380
- protoOf(getElevationsAlong$slambda).doResume_5yljmg_k$ = function () {
3381
- var suspendResult = this.result_1;
3499
+ protoOf(getElevationsAlong$slambda).o7 = function () {
3500
+ var suspendResult = this.i7_1;
3382
3501
  $sm: do
3383
3502
  try {
3384
- var tmp = this.state_1;
3503
+ var tmp = this.g7_1;
3385
3504
  switch (tmp) {
3386
3505
  case 0:
3387
- this.exceptionState_1 = 2;
3388
- var this_0 = this.$path_1;
3506
+ this.h7_1 = 2;
3507
+ var this_0 = this.p1f_1;
3389
3508
  var destination = ArrayList_init_$Create$_0(this_0.length);
3390
3509
  var inductionVariable = 0;
3391
3510
  var last = this_0.length;
3392
3511
  while (inductionVariable < last) {
3393
3512
  var item = this_0[inductionVariable];
3394
3513
  inductionVariable = inductionVariable + 1 | 0;
3395
- destination.add_utx5q5_k$(new LatLon(item.latitude, item.longitude));
3514
+ destination.k(new LatLon(item.latitude, item.longitude));
3396
3515
  }
3397
3516
 
3398
3517
  var coords = destination;
3399
- this.state_1 = 1;
3400
- var tmp0_safe_receiver = this.$options_1;
3518
+ this.g7_1 = 1;
3519
+ var tmp0_safe_receiver = this.r1f_1;
3401
3520
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.step;
3402
3521
  var tmp_0 = tmp1_elvis_lhs == null ? 10.0 : tmp1_elvis_lhs;
3403
- var tmp2_safe_receiver = this.$options_1;
3522
+ var tmp2_safe_receiver = this.r1f_1;
3404
3523
  var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.minDistance;
3405
3524
  var tmp_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
3406
- var tmp4_safe_receiver = this.$options_1;
3525
+ var tmp4_safe_receiver = this.r1f_1;
3407
3526
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.interpolation;
3408
3527
  var tmp_2 = tmp5_elvis_lhs == null ? true : tmp5_elvis_lhs;
3409
- var tmp6_safe_receiver = this.$options_1;
3528
+ var tmp6_safe_receiver = this.r1f_1;
3410
3529
  var tmp7_safe_receiver = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.smoothingOptions;
3411
3530
  var tmp_3 = tmp7_safe_receiver == null ? null : toKotlin(tmp7_safe_receiver);
3412
- var tmp8_safe_receiver = this.$options_1;
3531
+ var tmp8_safe_receiver = this.r1f_1;
3413
3532
  var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.filterOptions;
3414
- suspendResult = this.$provider_1.getElevationsAlong_o6hmac_k$(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
3533
+ suspendResult = this.q1f_1.d16(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
3415
3534
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3416
3535
  return suspendResult;
3417
3536
  }
@@ -3420,39 +3539,39 @@
3420
3539
  case 1:
3421
3540
  var results = suspendResult;
3422
3541
  var tmp_4 = 0;
3423
- var tmp_5 = results.get_size_woubt6_k$();
3542
+ var tmp_5 = results.o();
3424
3543
  var tmp_6 = Array(tmp_5);
3425
3544
  while (tmp_4 < tmp_5) {
3426
3545
  var tmp_7 = tmp_4;
3427
- var c = results.get_c1px32_k$(tmp_7);
3428
- tmp_6[tmp_7] = coordsEle(c.get_latitude_feukvp_k$(), c.get_longitude_asb1fq_k$(), c.get_elevation_8fwyb8_k$());
3546
+ var c = results.p(tmp_7);
3547
+ tmp_6[tmp_7] = coordsEle(c.gz(), c.hz(), c.c11());
3429
3548
  tmp_4 = tmp_4 + 1 | 0;
3430
3549
  }
3431
3550
 
3432
3551
  return tmp_6;
3433
3552
  case 2:
3434
- throw this.exception_1;
3553
+ throw this.j7_1;
3435
3554
  }
3436
3555
  } catch ($p) {
3437
3556
  var e = $p;
3438
- if (this.exceptionState_1 === 2) {
3557
+ if (this.h7_1 === 2) {
3439
3558
  throw e;
3440
3559
  } else {
3441
- this.state_1 = this.exceptionState_1;
3442
- this.exception_1 = e;
3560
+ this.g7_1 = this.h7_1;
3561
+ this.j7_1 = e;
3443
3562
  }
3444
3563
  }
3445
3564
  while (true);
3446
3565
  };
3447
- protoOf(getElevationsAlong$slambda).create_rcuf4x_k$ = function ($this$promise, completion) {
3448
- var i = new getElevationsAlong$slambda(this.$path_1, this.$provider_1, this.$options_1, completion);
3449
- i.$this$promise_1 = $this$promise;
3566
+ protoOf(getElevationsAlong$slambda).k18 = function ($this$promise, completion) {
3567
+ var i = new getElevationsAlong$slambda(this.p1f_1, this.q1f_1, this.r1f_1, completion);
3568
+ i.s1f_1 = $this$promise;
3450
3569
  return i;
3451
3570
  };
3452
3571
  function getElevationsAlong$slambda_0($path, $provider, $options, resultContinuation) {
3453
3572
  var i = new getElevationsAlong$slambda($path, $provider, $options, resultContinuation);
3454
3573
  return constructCallableReference(function ($this$promise, $completion) {
3455
- return i.invoke_k3oqbv_k$($this$promise, $completion);
3574
+ return i.t1f($this$promise, $completion);
3456
3575
  }, 1);
3457
3576
  }
3458
3577
  var properties_initialized_ElevationJsApi_kt_8pvyh6;
@@ -3476,45 +3595,45 @@
3476
3595
  var tmp = KProperty0;
3477
3596
  // Inline function 'kotlin.getValue' call
3478
3597
  getPropertyCallableRef('nodeWebpDecoderPromise', 0, tmp, _get_nodeWebpDecoderPromise_$ref_s562t(), null);
3479
- return tmp0.get_value_j01efc_k$();
3598
+ return tmp0.n1();
3480
3599
  }
3481
3600
  var nodeWebpDecoderPromise$delegate;
3482
3601
  function fetchAndDecodeTile(url, $completion) {
3483
3602
  var tmp = new $fetchAndDecodeTileCOROUTINE$(url, $completion);
3484
- tmp.result_1 = Unit_instance;
3485
- tmp.exception_1 = null;
3486
- return tmp.doResume_5yljmg_k$();
3603
+ tmp.i7_1 = Unit_instance;
3604
+ tmp.j7_1 = null;
3605
+ return tmp.o7();
3487
3606
  }
3488
3607
  function decodeTileBytes(bytes, sourceUrl, $completion) {
3489
3608
  sourceUrl = sourceUrl === VOID ? '' : sourceUrl;
3490
3609
  var tmp = new $decodeTileBytesCOROUTINE$(bytes, sourceUrl, $completion);
3491
- tmp.result_1 = Unit_instance;
3492
- tmp.exception_1 = null;
3493
- return tmp.doResume_5yljmg_k$();
3610
+ tmp.i7_1 = Unit_instance;
3611
+ tmp.j7_1 = null;
3612
+ return tmp.o7();
3494
3613
  }
3495
3614
  function decodeNode(url, $completion) {
3496
3615
  var tmp = new $decodeNodeCOROUTINE$(url, $completion);
3497
- tmp.result_1 = Unit_instance;
3498
- tmp.exception_1 = null;
3499
- return tmp.doResume_5yljmg_k$();
3616
+ tmp.i7_1 = Unit_instance;
3617
+ tmp.j7_1 = null;
3618
+ return tmp.o7();
3500
3619
  }
3501
3620
  function decodeBrowser(url, $completion) {
3502
3621
  var tmp = new $decodeBrowserCOROUTINE$(url, $completion);
3503
- tmp.result_1 = Unit_instance;
3504
- tmp.exception_1 = null;
3505
- return tmp.doResume_5yljmg_k$();
3622
+ tmp.i7_1 = Unit_instance;
3623
+ tmp.j7_1 = null;
3624
+ return tmp.o7();
3506
3625
  }
3507
3626
  function decodeBytesNode(bytes, sourceUrl, $completion) {
3508
3627
  var tmp = new $decodeBytesNodeCOROUTINE$(bytes, sourceUrl, $completion);
3509
- tmp.result_1 = Unit_instance;
3510
- tmp.exception_1 = null;
3511
- return tmp.doResume_5yljmg_k$();
3628
+ tmp.i7_1 = Unit_instance;
3629
+ tmp.j7_1 = null;
3630
+ return tmp.o7();
3512
3631
  }
3513
3632
  function decodeBlob(blob, sourceUrl, $completion) {
3514
3633
  var tmp = new $decodeBlobCOROUTINE$(blob, sourceUrl, $completion);
3515
- tmp.result_1 = Unit_instance;
3516
- tmp.exception_1 = null;
3517
- return tmp.doResume_5yljmg_k$();
3634
+ tmp.i7_1 = Unit_instance;
3635
+ tmp.j7_1 = null;
3636
+ return tmp.o7();
3518
3637
  }
3519
3638
  function blobOf(bytes) {
3520
3639
  _init_properties_TileFetcher_js_kt__7a2f1e();
@@ -3566,9 +3685,9 @@
3566
3685
  }
3567
3686
  function decodeWebpNode(buffer, $completion) {
3568
3687
  var tmp = new $decodeWebpNodeCOROUTINE$(buffer, $completion);
3569
- tmp.result_1 = Unit_instance;
3570
- tmp.exception_1 = null;
3571
- return tmp.doResume_5yljmg_k$();
3688
+ tmp.i7_1 = Unit_instance;
3689
+ tmp.j7_1 = null;
3690
+ return tmp.o7();
3572
3691
  }
3573
3692
  function fetchUrlBrowser(url) {
3574
3693
  _init_properties_TileFetcher_js_kt__7a2f1e();
@@ -3577,9 +3696,9 @@
3577
3696
  }
3578
3697
  function fetchTileBytes(url, $completion) {
3579
3698
  var tmp = new $fetchTileBytesCOROUTINE$(url, $completion);
3580
- tmp.result_1 = Unit_instance;
3581
- tmp.exception_1 = null;
3582
- return tmp.doResume_5yljmg_k$();
3699
+ tmp.i7_1 = Unit_instance;
3700
+ tmp.j7_1 = null;
3701
+ return tmp.o7();
3583
3702
  }
3584
3703
  function nodeWebpDecoderPromise$delegate$lambda() {
3585
3704
  _init_properties_TileFetcher_js_kt__7a2f1e();
@@ -3606,26 +3725,26 @@
3606
3725
  }
3607
3726
  function $fetchAndDecodeTileCOROUTINE$(url, resultContinuation) {
3608
3727
  CoroutineImpl.call(this, resultContinuation);
3609
- this.url_1 = url;
3728
+ this.c1g_1 = url;
3610
3729
  }
3611
- protoOf($fetchAndDecodeTileCOROUTINE$).doResume_5yljmg_k$ = function () {
3612
- var suspendResult = this.result_1;
3730
+ protoOf($fetchAndDecodeTileCOROUTINE$).o7 = function () {
3731
+ var suspendResult = this.i7_1;
3613
3732
  $sm: do
3614
3733
  try {
3615
- var tmp = this.state_1;
3734
+ var tmp = this.g7_1;
3616
3735
  switch (tmp) {
3617
3736
  case 0:
3618
- this.exceptionState_1 = 4;
3737
+ this.h7_1 = 4;
3619
3738
  if (get_isNode()) {
3620
- this.state_1 = 2;
3621
- suspendResult = decodeNode(this.url_1, this);
3739
+ this.g7_1 = 2;
3740
+ suspendResult = decodeNode(this.c1g_1, this);
3622
3741
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3623
3742
  return suspendResult;
3624
3743
  }
3625
3744
  continue $sm;
3626
3745
  } else {
3627
- this.state_1 = 1;
3628
- suspendResult = decodeBrowser(this.url_1, this);
3746
+ this.g7_1 = 1;
3747
+ suspendResult = decodeBrowser(this.c1g_1, this);
3629
3748
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3630
3749
  return suspendResult;
3631
3750
  }
@@ -3633,52 +3752,52 @@
3633
3752
  }
3634
3753
 
3635
3754
  case 1:
3636
- this.WHEN_RESULT0__1 = suspendResult;
3637
- this.state_1 = 3;
3755
+ this.d1g_1 = suspendResult;
3756
+ this.g7_1 = 3;
3638
3757
  continue $sm;
3639
3758
  case 2:
3640
- this.WHEN_RESULT0__1 = suspendResult;
3641
- this.state_1 = 3;
3759
+ this.d1g_1 = suspendResult;
3760
+ this.g7_1 = 3;
3642
3761
  continue $sm;
3643
3762
  case 3:
3644
- return this.WHEN_RESULT0__1;
3763
+ return this.d1g_1;
3645
3764
  case 4:
3646
- throw this.exception_1;
3765
+ throw this.j7_1;
3647
3766
  }
3648
3767
  } catch ($p) {
3649
3768
  var e = $p;
3650
- if (this.exceptionState_1 === 4) {
3769
+ if (this.h7_1 === 4) {
3651
3770
  throw e;
3652
3771
  } else {
3653
- this.state_1 = this.exceptionState_1;
3654
- this.exception_1 = e;
3772
+ this.g7_1 = this.h7_1;
3773
+ this.j7_1 = e;
3655
3774
  }
3656
3775
  }
3657
3776
  while (true);
3658
3777
  };
3659
3778
  function $decodeTileBytesCOROUTINE$(bytes, sourceUrl, resultContinuation) {
3660
3779
  CoroutineImpl.call(this, resultContinuation);
3661
- this.bytes_1 = bytes;
3662
- this.sourceUrl_1 = sourceUrl;
3780
+ this.m1g_1 = bytes;
3781
+ this.n1g_1 = sourceUrl;
3663
3782
  }
3664
- protoOf($decodeTileBytesCOROUTINE$).doResume_5yljmg_k$ = function () {
3665
- var suspendResult = this.result_1;
3783
+ protoOf($decodeTileBytesCOROUTINE$).o7 = function () {
3784
+ var suspendResult = this.i7_1;
3666
3785
  $sm: do
3667
3786
  try {
3668
- var tmp = this.state_1;
3787
+ var tmp = this.g7_1;
3669
3788
  switch (tmp) {
3670
3789
  case 0:
3671
- this.exceptionState_1 = 4;
3790
+ this.h7_1 = 4;
3672
3791
  if (get_isNode()) {
3673
- this.state_1 = 2;
3674
- suspendResult = decodeBytesNode(this.bytes_1, this.sourceUrl_1, this);
3792
+ this.g7_1 = 2;
3793
+ suspendResult = decodeBytesNode(this.m1g_1, this.n1g_1, this);
3675
3794
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3676
3795
  return suspendResult;
3677
3796
  }
3678
3797
  continue $sm;
3679
3798
  } else {
3680
- this.state_1 = 1;
3681
- suspendResult = decodeBlob(blobOf(this.bytes_1), this.sourceUrl_1, this);
3799
+ this.g7_1 = 1;
3800
+ suspendResult = decodeBlob(blobOf(this.m1g_1), this.n1g_1, this);
3682
3801
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3683
3802
  return suspendResult;
3684
3803
  }
@@ -3686,43 +3805,43 @@
3686
3805
  }
3687
3806
 
3688
3807
  case 1:
3689
- this.WHEN_RESULT0__1 = suspendResult;
3690
- this.state_1 = 3;
3808
+ this.o1g_1 = suspendResult;
3809
+ this.g7_1 = 3;
3691
3810
  continue $sm;
3692
3811
  case 2:
3693
- this.WHEN_RESULT0__1 = suspendResult;
3694
- this.state_1 = 3;
3812
+ this.o1g_1 = suspendResult;
3813
+ this.g7_1 = 3;
3695
3814
  continue $sm;
3696
3815
  case 3:
3697
- return this.WHEN_RESULT0__1;
3816
+ return this.o1g_1;
3698
3817
  case 4:
3699
- throw this.exception_1;
3818
+ throw this.j7_1;
3700
3819
  }
3701
3820
  } catch ($p) {
3702
3821
  var e = $p;
3703
- if (this.exceptionState_1 === 4) {
3822
+ if (this.h7_1 === 4) {
3704
3823
  throw e;
3705
3824
  } else {
3706
- this.state_1 = this.exceptionState_1;
3707
- this.exception_1 = e;
3825
+ this.g7_1 = this.h7_1;
3826
+ this.j7_1 = e;
3708
3827
  }
3709
3828
  }
3710
3829
  while (true);
3711
3830
  };
3712
3831
  function $decodeNodeCOROUTINE$(url, resultContinuation) {
3713
3832
  CoroutineImpl.call(this, resultContinuation);
3714
- this.url_1 = url;
3833
+ this.x1g_1 = url;
3715
3834
  }
3716
- protoOf($decodeNodeCOROUTINE$).doResume_5yljmg_k$ = function () {
3717
- var suspendResult = this.result_1;
3835
+ protoOf($decodeNodeCOROUTINE$).o7 = function () {
3836
+ var suspendResult = this.i7_1;
3718
3837
  $sm: do
3719
3838
  try {
3720
- var tmp = this.state_1;
3839
+ var tmp = this.g7_1;
3721
3840
  switch (tmp) {
3722
3841
  case 0:
3723
- this.exceptionState_1 = 4;
3724
- this.state_1 = 1;
3725
- suspendResult = await_0(fetchUrlNode(this.url_1), this);
3842
+ this.h7_1 = 4;
3843
+ this.g7_1 = 1;
3844
+ suspendResult = await_0(fetchUrlNode(this.x1g_1), this);
3726
3845
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3727
3846
  return suspendResult;
3728
3847
  }
@@ -3730,8 +3849,8 @@
3730
3849
  continue $sm;
3731
3850
  case 1:
3732
3851
  var res = suspendResult;
3733
- requireOk(res, this.url_1);
3734
- this.state_1 = 2;
3852
+ requireOk(res, this.x1g_1);
3853
+ this.g7_1 = 2;
3735
3854
  suspendResult = await_0(responseArrayBuffer(res), this);
3736
3855
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3737
3856
  return suspendResult;
@@ -3740,7 +3859,7 @@
3740
3859
  continue $sm;
3741
3860
  case 2:
3742
3861
  var ab = suspendResult;
3743
- this.state_1 = 3;
3862
+ this.g7_1 = 3;
3744
3863
  suspendResult = decodeWebpNode(ab, this);
3745
3864
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3746
3865
  return suspendResult;
@@ -3751,33 +3870,33 @@
3751
3870
  var ARGUMENT = suspendResult;
3752
3871
  return rawTileFromJsquash(ARGUMENT);
3753
3872
  case 4:
3754
- throw this.exception_1;
3873
+ throw this.j7_1;
3755
3874
  }
3756
3875
  } catch ($p) {
3757
3876
  var e = $p;
3758
- if (this.exceptionState_1 === 4) {
3877
+ if (this.h7_1 === 4) {
3759
3878
  throw e;
3760
3879
  } else {
3761
- this.state_1 = this.exceptionState_1;
3762
- this.exception_1 = e;
3880
+ this.g7_1 = this.h7_1;
3881
+ this.j7_1 = e;
3763
3882
  }
3764
3883
  }
3765
3884
  while (true);
3766
3885
  };
3767
3886
  function $decodeBrowserCOROUTINE$(url, resultContinuation) {
3768
3887
  CoroutineImpl.call(this, resultContinuation);
3769
- this.url_1 = url;
3888
+ this.g1h_1 = url;
3770
3889
  }
3771
- protoOf($decodeBrowserCOROUTINE$).doResume_5yljmg_k$ = function () {
3772
- var suspendResult = this.result_1;
3890
+ protoOf($decodeBrowserCOROUTINE$).o7 = function () {
3891
+ var suspendResult = this.i7_1;
3773
3892
  $sm: do
3774
3893
  try {
3775
- var tmp = this.state_1;
3894
+ var tmp = this.g7_1;
3776
3895
  switch (tmp) {
3777
3896
  case 0:
3778
- this.exceptionState_1 = 4;
3779
- this.state_1 = 1;
3780
- suspendResult = await_0(fetchUrlBrowser(this.url_1), this);
3897
+ this.h7_1 = 4;
3898
+ this.g7_1 = 1;
3899
+ suspendResult = await_0(fetchUrlBrowser(this.g1h_1), this);
3781
3900
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3782
3901
  return suspendResult;
3783
3902
  }
@@ -3785,8 +3904,8 @@
3785
3904
  continue $sm;
3786
3905
  case 1:
3787
3906
  var res = suspendResult;
3788
- requireOk(res, this.url_1);
3789
- this.state_1 = 2;
3907
+ requireOk(res, this.g1h_1);
3908
+ this.g7_1 = 2;
3790
3909
  suspendResult = await_0(res.blob(), this);
3791
3910
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3792
3911
  return suspendResult;
@@ -3795,8 +3914,8 @@
3795
3914
  continue $sm;
3796
3915
  case 2:
3797
3916
  var ARGUMENT = suspendResult;
3798
- this.state_1 = 3;
3799
- suspendResult = decodeBlob(ARGUMENT, this.url_1, this);
3917
+ this.g7_1 = 3;
3918
+ suspendResult = decodeBlob(ARGUMENT, this.g1h_1, this);
3800
3919
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3801
3920
  return suspendResult;
3802
3921
  }
@@ -3805,36 +3924,36 @@
3805
3924
  case 3:
3806
3925
  return suspendResult;
3807
3926
  case 4:
3808
- throw this.exception_1;
3927
+ throw this.j7_1;
3809
3928
  }
3810
3929
  } catch ($p) {
3811
3930
  var e = $p;
3812
- if (this.exceptionState_1 === 4) {
3931
+ if (this.h7_1 === 4) {
3813
3932
  throw e;
3814
3933
  } else {
3815
- this.state_1 = this.exceptionState_1;
3816
- this.exception_1 = e;
3934
+ this.g7_1 = this.h7_1;
3935
+ this.j7_1 = e;
3817
3936
  }
3818
3937
  }
3819
3938
  while (true);
3820
3939
  };
3821
3940
  function $decodeBytesNodeCOROUTINE$(bytes, sourceUrl, resultContinuation) {
3822
3941
  CoroutineImpl.call(this, resultContinuation);
3823
- this.bytes_1 = bytes;
3824
- this.sourceUrl_1 = sourceUrl;
3942
+ this.p1h_1 = bytes;
3943
+ this.q1h_1 = sourceUrl;
3825
3944
  }
3826
- protoOf($decodeBytesNodeCOROUTINE$).doResume_5yljmg_k$ = function () {
3827
- var suspendResult = this.result_1;
3945
+ protoOf($decodeBytesNodeCOROUTINE$).o7 = function () {
3946
+ var suspendResult = this.i7_1;
3828
3947
  $sm: do
3829
3948
  try {
3830
- var tmp = this.state_1;
3949
+ var tmp = this.g7_1;
3831
3950
  switch (tmp) {
3832
3951
  case 0:
3833
- this.exceptionState_1 = 4;
3834
- var view = this.bytes_1;
3952
+ this.h7_1 = 4;
3953
+ var view = this.p1h_1;
3835
3954
  var buffer = view.buffer.slice(view.byteOffset, view.byteOffset + view.byteLength);
3836
- this.exceptionState_1 = 2;
3837
- this.state_1 = 1;
3955
+ this.h7_1 = 2;
3956
+ this.g7_1 = 1;
3838
3957
  suspendResult = decodeWebpNode(buffer, this);
3839
3958
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3840
3959
  return suspendResult;
@@ -3842,17 +3961,17 @@
3842
3961
 
3843
3962
  continue $sm;
3844
3963
  case 1:
3845
- this.TRY_RESULT0__1 = suspendResult;
3846
- this.exceptionState_1 = 4;
3847
- this.state_1 = 3;
3964
+ this.r1h_1 = suspendResult;
3965
+ this.h7_1 = 4;
3966
+ this.g7_1 = 3;
3848
3967
  continue $sm;
3849
3968
  case 2:
3850
- this.exceptionState_1 = 4;
3851
- var tmp_0 = this.exception_1;
3969
+ this.h7_1 = 4;
3970
+ var tmp_0 = this.j7_1;
3852
3971
  if (tmp_0 instanceof Error) {
3853
- var e = this.exception_1;
3972
+ var e = this.j7_1;
3854
3973
  var tmp_1 = this;
3855
- var this_0 = this.sourceUrl_1;
3974
+ var this_0 = this.q1h_1;
3856
3975
  var tmp_2;
3857
3976
  if (charSequenceLength(this_0) === 0) {
3858
3977
  tmp_2 = '<unnamed bytes>';
@@ -3862,60 +3981,60 @@
3862
3981
  var message = 'Cannot decode tile at ' + tmp_2 + ': ' + e.message;
3863
3982
  throw IllegalStateException_init_$Create$(toString(message));
3864
3983
  } else {
3865
- throw this.exception_1;
3984
+ throw this.j7_1;
3866
3985
  }
3867
3986
 
3868
3987
  case 3:
3869
- this.exceptionState_1 = 4;
3870
- var image = this.TRY_RESULT0__1;
3988
+ this.h7_1 = 4;
3989
+ var image = this.r1h_1;
3871
3990
  return rawTileFromJsquash(image);
3872
3991
  case 4:
3873
- throw this.exception_1;
3992
+ throw this.j7_1;
3874
3993
  }
3875
3994
  } catch ($p) {
3876
3995
  var e_0 = $p;
3877
- if (this.exceptionState_1 === 4) {
3996
+ if (this.h7_1 === 4) {
3878
3997
  throw e_0;
3879
3998
  } else {
3880
- this.state_1 = this.exceptionState_1;
3881
- this.exception_1 = e_0;
3999
+ this.g7_1 = this.h7_1;
4000
+ this.j7_1 = e_0;
3882
4001
  }
3883
4002
  }
3884
4003
  while (true);
3885
4004
  };
3886
4005
  function $decodeBlobCOROUTINE$(blob, sourceUrl, resultContinuation) {
3887
4006
  CoroutineImpl.call(this, resultContinuation);
3888
- this.blob_1 = blob;
3889
- this.sourceUrl_1 = sourceUrl;
4007
+ this.a1i_1 = blob;
4008
+ this.b1i_1 = sourceUrl;
3890
4009
  }
3891
- protoOf($decodeBlobCOROUTINE$).doResume_5yljmg_k$ = function () {
3892
- var suspendResult = this.result_1;
4010
+ protoOf($decodeBlobCOROUTINE$).o7 = function () {
4011
+ var suspendResult = this.i7_1;
3893
4012
  $sm: do
3894
4013
  try {
3895
- var tmp = this.state_1;
4014
+ var tmp = this.g7_1;
3896
4015
  switch (tmp) {
3897
4016
  case 0:
3898
- this.exceptionState_1 = 3;
3899
- this.exceptionState_1 = 2;
3900
- this.state_1 = 1;
3901
- suspendResult = await_0(window.createImageBitmap(this.blob_1), this);
4017
+ this.h7_1 = 3;
4018
+ this.h7_1 = 2;
4019
+ this.g7_1 = 1;
4020
+ suspendResult = await_0(window.createImageBitmap(this.a1i_1), this);
3902
4021
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3903
4022
  return suspendResult;
3904
4023
  }
3905
4024
 
3906
4025
  continue $sm;
3907
4026
  case 1:
3908
- this.TRY_RESULT0__1 = suspendResult;
3909
- this.exceptionState_1 = 3;
3910
- this.state_1 = 4;
4027
+ this.c1i_1 = suspendResult;
4028
+ this.h7_1 = 3;
4029
+ this.g7_1 = 4;
3911
4030
  continue $sm;
3912
4031
  case 2:
3913
- this.exceptionState_1 = 3;
3914
- var tmp_0 = this.exception_1;
4032
+ this.h7_1 = 3;
4033
+ var tmp_0 = this.j7_1;
3915
4034
  if (tmp_0 instanceof Error) {
3916
- var e = this.exception_1;
4035
+ var e = this.j7_1;
3917
4036
  var tmp_1 = this;
3918
- var this_0 = this.sourceUrl_1;
4037
+ var this_0 = this.b1i_1;
3919
4038
  var tmp_2;
3920
4039
  if (charSequenceLength(this_0) === 0) {
3921
4040
  tmp_2 = '<unnamed bytes>';
@@ -3925,14 +4044,14 @@
3925
4044
  var message = 'Cannot decode tile at ' + tmp_2 + ': ' + e.message;
3926
4045
  throw IllegalStateException_init_$Create$(toString(message));
3927
4046
  } else {
3928
- throw this.exception_1;
4047
+ throw this.j7_1;
3929
4048
  }
3930
4049
 
3931
4050
  case 3:
3932
- throw this.exception_1;
4051
+ throw this.j7_1;
3933
4052
  case 4:
3934
- this.exceptionState_1 = 3;
3935
- var bitmap = this.TRY_RESULT0__1;
4053
+ this.h7_1 = 3;
4054
+ var bitmap = this.c1i_1;
3936
4055
  l$ret$3: do {
3937
4056
  var tmp$ret$0;
3938
4057
  l$ret$1: do {
@@ -3969,28 +4088,28 @@
3969
4088
  }
3970
4089
  } catch ($p_0) {
3971
4090
  var e_0 = $p_0;
3972
- if (this.exceptionState_1 === 3) {
4091
+ if (this.h7_1 === 3) {
3973
4092
  throw e_0;
3974
4093
  } else {
3975
- this.state_1 = this.exceptionState_1;
3976
- this.exception_1 = e_0;
4094
+ this.g7_1 = this.h7_1;
4095
+ this.j7_1 = e_0;
3977
4096
  }
3978
4097
  }
3979
4098
  while (true);
3980
4099
  };
3981
4100
  function $decodeWebpNodeCOROUTINE$(buffer, resultContinuation) {
3982
4101
  CoroutineImpl.call(this, resultContinuation);
3983
- this.buffer_1 = buffer;
4102
+ this.l1i_1 = buffer;
3984
4103
  }
3985
- protoOf($decodeWebpNodeCOROUTINE$).doResume_5yljmg_k$ = function () {
3986
- var suspendResult = this.result_1;
4104
+ protoOf($decodeWebpNodeCOROUTINE$).o7 = function () {
4105
+ var suspendResult = this.i7_1;
3987
4106
  $sm: do
3988
4107
  try {
3989
- var tmp = this.state_1;
4108
+ var tmp = this.g7_1;
3990
4109
  switch (tmp) {
3991
4110
  case 0:
3992
- this.exceptionState_1 = 3;
3993
- this.state_1 = 1;
4111
+ this.h7_1 = 3;
4112
+ this.g7_1 = 1;
3994
4113
  suspendResult = await_0(get_nodeWebpDecoderPromise(), this);
3995
4114
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3996
4115
  return suspendResult;
@@ -3999,8 +4118,8 @@
3999
4118
  continue $sm;
4000
4119
  case 1:
4001
4120
  var decode = suspendResult;
4002
- var resultPromise = decode(this.buffer_1);
4003
- this.state_1 = 2;
4121
+ var resultPromise = decode(this.l1i_1);
4122
+ this.g7_1 = 2;
4004
4123
  suspendResult = await_0(resultPromise, this);
4005
4124
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4006
4125
  return suspendResult;
@@ -4010,41 +4129,41 @@
4010
4129
  case 2:
4011
4130
  return suspendResult;
4012
4131
  case 3:
4013
- throw this.exception_1;
4132
+ throw this.j7_1;
4014
4133
  }
4015
4134
  } catch ($p) {
4016
4135
  var e = $p;
4017
- if (this.exceptionState_1 === 3) {
4136
+ if (this.h7_1 === 3) {
4018
4137
  throw e;
4019
4138
  } else {
4020
- this.state_1 = this.exceptionState_1;
4021
- this.exception_1 = e;
4139
+ this.g7_1 = this.h7_1;
4140
+ this.j7_1 = e;
4022
4141
  }
4023
4142
  }
4024
4143
  while (true);
4025
4144
  };
4026
4145
  function $fetchTileBytesCOROUTINE$(url, resultContinuation) {
4027
4146
  CoroutineImpl.call(this, resultContinuation);
4028
- this.url_1 = url;
4147
+ this.u1i_1 = url;
4029
4148
  }
4030
- protoOf($fetchTileBytesCOROUTINE$).doResume_5yljmg_k$ = function () {
4031
- var suspendResult = this.result_1;
4149
+ protoOf($fetchTileBytesCOROUTINE$).o7 = function () {
4150
+ var suspendResult = this.i7_1;
4032
4151
  $sm: do
4033
4152
  try {
4034
- var tmp = this.state_1;
4153
+ var tmp = this.g7_1;
4035
4154
  switch (tmp) {
4036
4155
  case 0:
4037
- this.exceptionState_1 = 5;
4156
+ this.h7_1 = 5;
4038
4157
  if (get_isNode()) {
4039
- this.state_1 = 2;
4040
- suspendResult = await_0(fetchUrlNode(this.url_1), this);
4158
+ this.g7_1 = 2;
4159
+ suspendResult = await_0(fetchUrlNode(this.u1i_1), this);
4041
4160
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4042
4161
  return suspendResult;
4043
4162
  }
4044
4163
  continue $sm;
4045
4164
  } else {
4046
- this.state_1 = 1;
4047
- suspendResult = await_0(fetchUrlBrowser(this.url_1), this);
4165
+ this.g7_1 = 1;
4166
+ suspendResult = await_0(fetchUrlBrowser(this.u1i_1), this);
4048
4167
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4049
4168
  return suspendResult;
4050
4169
  }
@@ -4052,17 +4171,17 @@
4052
4171
  }
4053
4172
 
4054
4173
  case 1:
4055
- this.WHEN_RESULT0__1 = suspendResult;
4056
- this.state_1 = 3;
4174
+ this.v1i_1 = suspendResult;
4175
+ this.g7_1 = 3;
4057
4176
  continue $sm;
4058
4177
  case 2:
4059
- this.WHEN_RESULT0__1 = suspendResult;
4060
- this.state_1 = 3;
4178
+ this.v1i_1 = suspendResult;
4179
+ this.g7_1 = 3;
4061
4180
  continue $sm;
4062
4181
  case 3:
4063
- var res = this.WHEN_RESULT0__1;
4064
- requireOk(res, this.url_1);
4065
- this.state_1 = 4;
4182
+ var res = this.v1i_1;
4183
+ requireOk(res, this.u1i_1);
4184
+ this.g7_1 = 4;
4066
4185
  suspendResult = await_0(responseArrayBuffer(res), this);
4067
4186
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4068
4187
  return suspendResult;
@@ -4073,15 +4192,15 @@
4073
4192
  var ab = suspendResult;
4074
4193
  return new Int8Array(ab);
4075
4194
  case 5:
4076
- throw this.exception_1;
4195
+ throw this.j7_1;
4077
4196
  }
4078
4197
  } catch ($p) {
4079
4198
  var e = $p;
4080
- if (this.exceptionState_1 === 5) {
4199
+ if (this.h7_1 === 5) {
4081
4200
  throw e;
4082
4201
  } else {
4083
- this.state_1 = this.exceptionState_1;
4084
- this.exception_1 = e;
4202
+ this.g7_1 = this.h7_1;
4203
+ this.j7_1 = e;
4085
4204
  }
4086
4205
  }
4087
4206
  while (true);
@@ -4098,13 +4217,13 @@
4098
4217
  function fetchAndDecodeTile$ref_1() {
4099
4218
  var i = new fetchAndDecodeTile$ref();
4100
4219
  return constructCallableReference(function (p0, $completion) {
4101
- return i.invoke_fa3hvc_k$(p0, $completion);
4220
+ return i.h16(p0, $completion);
4102
4221
  }, 1, 1, 2, 'fetchAndDecodeTile');
4103
4222
  }
4104
4223
  function fetchTileBytes$ref_0() {
4105
4224
  var i = new fetchTileBytes$ref();
4106
4225
  return constructCallableReference(function (p0, $completion) {
4107
- return i.invoke_vut9or_k$(p0, $completion);
4226
+ return i.w1d(p0, $completion);
4108
4227
  }, 1, 1, 4, 'fetchTileBytes');
4109
4228
  }
4110
4229
  //region block: init