@glandais/vcyclist-engine 1.1.1 → 1.2.1

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.
@@ -18,64 +18,66 @@
18
18
  var imul = Math.imul;
19
19
  var hypot = Math.hypot;
20
20
  var VOID = kotlin_kotlin.$_$.a;
21
- var protoOf = kotlin_kotlin.$_$.f5;
22
- var getNumberHashCode = kotlin_kotlin.$_$.o4;
23
- var getBooleanHashCode = kotlin_kotlin.$_$.n4;
24
- var equals = kotlin_kotlin.$_$.m4;
25
- var initMetadataForClass = kotlin_kotlin.$_$.s4;
26
- var numberToLong = kotlin_kotlin.$_$.a4;
27
- var toNumber = kotlin_kotlin.$_$.c4;
28
- var CoroutineImpl = kotlin_kotlin.$_$.m3;
29
- var Unit_instance = kotlin_kotlin.$_$.g;
30
- var THROW_CCE = kotlin_kotlin.$_$.q6;
21
+ var protoOf = kotlin_kotlin.$_$.h5;
22
+ var getNumberHashCode = kotlin_kotlin.$_$.q4;
23
+ var getBooleanHashCode = kotlin_kotlin.$_$.p4;
24
+ var equals = kotlin_kotlin.$_$.o4;
25
+ var initMetadataForClass = kotlin_kotlin.$_$.u4;
26
+ var numberToLong = kotlin_kotlin.$_$.c4;
27
+ var toNumber = kotlin_kotlin.$_$.e4;
28
+ var CoroutineImpl = kotlin_kotlin.$_$.p3;
29
+ var Unit_instance = kotlin_kotlin.$_$.r;
30
+ var THROW_CCE = kotlin_kotlin.$_$.c7;
31
31
  var MutableEntry = kotlin_kotlin.$_$.z1;
32
- var isInterface = kotlin_kotlin.$_$.a5;
33
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x2;
34
- var initMetadataForLambda = kotlin_kotlin.$_$.x4;
35
- var emptyList = kotlin_kotlin.$_$.j2;
36
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
37
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
38
- var toList = kotlin_kotlin.$_$.v2;
32
+ var isInterface = kotlin_kotlin.$_$.c5;
33
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.a3;
34
+ var initMetadataForLambda = kotlin_kotlin.$_$.z4;
35
+ var constructCallableReference = kotlin_kotlin.$_$.m4;
36
+ var emptyList = kotlin_kotlin.$_$.k2;
37
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
38
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.u;
39
+ var toList = kotlin_kotlin.$_$.x2;
39
40
  var KtList = kotlin_kotlin.$_$.x1;
40
- var initMetadataForCoroutine = kotlin_kotlin.$_$.u4;
41
- var toString = kotlin_kotlin.$_$.h5;
42
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.y;
43
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
44
- var listOf = kotlin_kotlin.$_$.q2;
45
- var numberToInt = kotlin_kotlin.$_$.d5;
46
- var initMetadataForObject = kotlin_kotlin.$_$.y4;
47
- var toList_0 = kotlin_kotlin.$_$.u2;
41
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.w4;
42
+ var toString = kotlin_kotlin.$_$.j5;
43
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.j1;
44
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.t;
45
+ var listOf = kotlin_kotlin.$_$.r2;
46
+ var numberToInt = kotlin_kotlin.$_$.f5;
47
+ var initMetadataForObject = kotlin_kotlin.$_$.a5;
48
+ var toList_0 = kotlin_kotlin.$_$.w2;
48
49
  var get_lastIndex = kotlin_kotlin.$_$.o2;
49
- var checkBuilderCapacity = kotlin_kotlin.$_$.b2;
50
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.b1;
51
- var coerceIn = kotlin_kotlin.$_$.n5;
52
- var initMetadataForFunctionReference = kotlin_kotlin.$_$.v4;
53
- var getStringHashCode = kotlin_kotlin.$_$.q4;
50
+ var checkBuilderCapacity = kotlin_kotlin.$_$.c2;
51
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.m1;
52
+ var coerceIn = kotlin_kotlin.$_$.p5;
53
+ var KFunctionImpl = kotlin_kotlin.$_$.s5;
54
+ var initMetadataForFunctionReference = kotlin_kotlin.$_$.x4;
55
+ var getStringHashCode = kotlin_kotlin.$_$.s4;
54
56
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
55
57
  var Semaphore = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
56
- var collectionSizeOrDefault = kotlin_kotlin.$_$.c2;
58
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.e2;
57
59
  var async = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
58
60
  var awaitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
59
61
  var coroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
60
62
  var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
61
63
  var KtMap = kotlin_kotlin.$_$.y1;
62
64
  var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
63
- var contentEquals = kotlin_kotlin.$_$.d2;
64
- var contentHashCode = kotlin_kotlin.$_$.e2;
65
- var objectCreate = kotlin_kotlin.$_$.e5;
66
- var round = kotlin_kotlin.$_$.j5;
67
- var initMetadataForCompanion = kotlin_kotlin.$_$.t4;
68
- var isNaN_0 = kotlin_kotlin.$_$.w6;
69
- var replace = kotlin_kotlin.$_$.y5;
70
- var coerceIn_0 = kotlin_kotlin.$_$.m5;
65
+ var contentEquals = kotlin_kotlin.$_$.f2;
66
+ var contentHashCode = kotlin_kotlin.$_$.g2;
67
+ var objectCreate = kotlin_kotlin.$_$.g5;
68
+ var round = kotlin_kotlin.$_$.l5;
69
+ var initMetadataForCompanion = kotlin_kotlin.$_$.v4;
70
+ var isNaN_0 = kotlin_kotlin.$_$.i7;
71
+ var replace = kotlin_kotlin.$_$.j6;
72
+ var coerceIn_0 = kotlin_kotlin.$_$.o5;
71
73
  var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
72
74
  var promise = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
73
- var KProperty0 = kotlin_kotlin.$_$.r5;
74
- var getPropertyCallableRef = kotlin_kotlin.$_$.p4;
75
+ var KProperty0 = kotlin_kotlin.$_$.u5;
76
+ var getPropertyCallableRef = kotlin_kotlin.$_$.r4;
75
77
  var await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
76
- var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.a1;
77
- var isNumber = kotlin_kotlin.$_$.b5;
78
- var lazy = kotlin_kotlin.$_$.x6;
78
+ var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.l1;
79
+ var isNumber = kotlin_kotlin.$_$.d5;
80
+ var lazy = kotlin_kotlin.$_$.j7;
79
81
  //endregion
80
82
  //region block: pre-declaration
81
83
  initMetadataForClass(SmoothingOptions, 'SmoothingOptions', SmoothingOptions);
@@ -95,7 +97,7 @@
95
97
  initMetadataForCoroutine($elevationFromPixelCOROUTINE$, CoroutineImpl);
96
98
  initMetadataForClass(ElevationCalculator, 'ElevationCalculator', VOID, VOID, VOID, [3, 2, 1]);
97
99
  initMetadataForObject(ElevationFunctions, 'ElevationFunctions');
98
- initMetadataForFunctionReference(fetchAndDecodeTile$ref, VOID, VOID, [1]);
100
+ initMetadataForFunctionReference(fetchAndDecodeTile$ref, KFunctionImpl, VOID, [1]);
99
101
  initMetadataForClass(ElevationProvider, 'ElevationProvider', ElevationProvider, VOID, VOID, [3, 2, 6]);
100
102
  initMetadataForClass(ElevationProviderConfig, 'ElevationProviderConfig', ElevationProviderConfig);
101
103
  initMetadataForClass(Attribution, 'Attribution');
@@ -109,7 +111,7 @@
109
111
  initMetadataForClass(RawTile, 'RawTile');
110
112
  initMetadataForCompanion(Companion);
111
113
  initMetadataForClass(Tile, 'Tile');
112
- initMetadataForFunctionReference(fetchAndDecodeTile$ref_1, VOID, VOID, [1]);
114
+ initMetadataForFunctionReference(fetchAndDecodeTile$ref_0, KFunctionImpl, VOID, [1]);
113
115
  initMetadataForLambda(TileManager$cache$slambda, CoroutineImpl, VOID, [1]);
114
116
  initMetadataForClass(TileManager, 'TileManager', VOID, VOID, VOID, [1, 0]);
115
117
  initMetadataForClass(TileCoordinates, 'TileCoordinates');
@@ -128,15 +130,15 @@
128
130
  function SmoothingOptions(windowSize, enabled) {
129
131
  windowSize = windowSize === VOID ? 50.0 : windowSize;
130
132
  enabled = enabled === VOID ? false : enabled;
131
- this.fs_1 = windowSize;
132
- this.gs_1 = enabled;
133
+ this.ct_1 = windowSize;
134
+ this.dt_1 = enabled;
133
135
  }
134
136
  protoOf(SmoothingOptions).toString = function () {
135
- return 'SmoothingOptions(windowSize=' + this.fs_1 + ', enabled=' + this.gs_1 + ')';
137
+ return 'SmoothingOptions(windowSize=' + this.ct_1 + ', enabled=' + this.dt_1 + ')';
136
138
  };
137
139
  protoOf(SmoothingOptions).hashCode = function () {
138
- var result = this.fs_1 == null ? 0 : getNumberHashCode(this.fs_1);
139
- result = imul(result, 31) + getBooleanHashCode(this.gs_1) | 0;
140
+ var result = this.ct_1 == null ? 0 : getNumberHashCode(this.ct_1);
141
+ result = imul(result, 31) + getBooleanHashCode(this.dt_1) | 0;
140
142
  return result;
141
143
  };
142
144
  protoOf(SmoothingOptions).equals = function (other) {
@@ -144,9 +146,9 @@
144
146
  return true;
145
147
  if (!(other instanceof SmoothingOptions))
146
148
  return false;
147
- if (!equals(this.fs_1, other.fs_1))
149
+ if (!equals(this.ct_1, other.ct_1))
148
150
  return false;
149
- if (!(this.gs_1 === other.gs_1))
151
+ if (!(this.dt_1 === other.dt_1))
150
152
  return false;
151
153
  return true;
152
154
  };
@@ -154,17 +156,17 @@
154
156
  tolerance = tolerance === VOID ? 10.0 : tolerance;
155
157
  zExaggeration = zExaggeration === VOID ? 3.0 : zExaggeration;
156
158
  enabled = enabled === VOID ? false : enabled;
157
- this.hs_1 = tolerance;
158
- this.is_1 = zExaggeration;
159
- this.js_1 = enabled;
159
+ this.et_1 = tolerance;
160
+ this.ft_1 = zExaggeration;
161
+ this.gt_1 = enabled;
160
162
  }
161
163
  protoOf(FilterOptions).toString = function () {
162
- return 'FilterOptions(tolerance=' + this.hs_1 + ', zExaggeration=' + this.is_1 + ', enabled=' + this.js_1 + ')';
164
+ return 'FilterOptions(tolerance=' + this.et_1 + ', zExaggeration=' + this.ft_1 + ', enabled=' + this.gt_1 + ')';
163
165
  };
164
166
  protoOf(FilterOptions).hashCode = function () {
165
- var result = this.hs_1 == null ? 0 : getNumberHashCode(this.hs_1);
166
- result = imul(result, 31) + (this.is_1 == null ? 0 : getNumberHashCode(this.is_1)) | 0;
167
- result = imul(result, 31) + getBooleanHashCode(this.js_1) | 0;
167
+ var result = this.et_1 == null ? 0 : getNumberHashCode(this.et_1);
168
+ result = imul(result, 31) + (this.ft_1 == null ? 0 : getNumberHashCode(this.ft_1)) | 0;
169
+ result = imul(result, 31) + getBooleanHashCode(this.gt_1) | 0;
168
170
  return result;
169
171
  };
170
172
  protoOf(FilterOptions).equals = function (other) {
@@ -172,11 +174,11 @@
172
174
  return true;
173
175
  if (!(other instanceof FilterOptions))
174
176
  return false;
175
- if (!equals(this.hs_1, other.hs_1))
177
+ if (!equals(this.et_1, other.et_1))
176
178
  return false;
177
- if (!equals(this.is_1, other.is_1))
179
+ if (!equals(this.ft_1, other.ft_1))
178
180
  return false;
179
- if (!(this.js_1 === other.js_1))
181
+ if (!(this.gt_1 === other.gt_1))
180
182
  return false;
181
183
  return true;
182
184
  };
@@ -185,44 +187,44 @@
185
187
  return toNumber(asLong) === d ? asLong.toString() : d.toString();
186
188
  }
187
189
  function BatchCalculator$setElevations$slambda($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation) {
188
- this.ss_1 = $coordinates;
189
- this.ts_1 = this$0;
190
- this.us_1 = $zoomLevel;
191
- this.vs_1 = $interpolation;
192
- this.ws_1 = $results;
190
+ this.pt_1 = $coordinates;
191
+ this.qt_1 = this$0;
192
+ this.rt_1 = $zoomLevel;
193
+ this.st_1 = $interpolation;
194
+ this.tt_1 = $results;
193
195
  CoroutineImpl.call(this, resultContinuation);
194
196
  }
195
- protoOf(BatchCalculator$setElevations$slambda).bt = function (_destruct__k2r9zo, $completion) {
196
- var tmp = this.ct(_destruct__k2r9zo, $completion);
197
- tmp.w5_1 = Unit_instance;
198
- tmp.x5_1 = null;
199
- return tmp.c6();
197
+ protoOf(BatchCalculator$setElevations$slambda).yt = function (_destruct__k2r9zo, $completion) {
198
+ var tmp = this.zt(_destruct__k2r9zo, $completion);
199
+ tmp.i6_1 = Unit_instance;
200
+ tmp.j6_1 = null;
201
+ return tmp.o6();
200
202
  };
201
- protoOf(BatchCalculator$setElevations$slambda).k6 = function (p1, $completion) {
202
- return this.bt((!(p1 == null) ? isInterface(p1, MutableEntry) : false) ? p1 : THROW_CCE(), $completion);
203
+ protoOf(BatchCalculator$setElevations$slambda).w6 = function (p1, $completion) {
204
+ return this.yt((!(p1 == null) ? isInterface(p1, MutableEntry) : false) ? p1 : THROW_CCE(), $completion);
203
205
  };
204
- protoOf(BatchCalculator$setElevations$slambda).c6 = function () {
205
- var suspendResult = this.w5_1;
206
+ protoOf(BatchCalculator$setElevations$slambda).o6 = function () {
207
+ var suspendResult = this.i6_1;
206
208
  $sm: do
207
209
  try {
208
- var tmp = this.u5_1;
210
+ var tmp = this.g6_1;
209
211
  switch (tmp) {
210
212
  case 0:
211
- this.v5_1 = 4;
212
- var indices = this.xs_1.f1();
213
- this.at_1 = indices.i();
214
- this.u5_1 = 1;
213
+ this.h6_1 = 4;
214
+ var indices = this.ut_1.h1();
215
+ this.xt_1 = indices.h();
216
+ this.g6_1 = 1;
215
217
  continue $sm;
216
218
  case 1:
217
- if (!this.at_1.j()) {
218
- this.u5_1 = 3;
219
+ if (!this.xt_1.i()) {
220
+ this.g6_1 = 3;
219
221
  continue $sm;
220
222
  }
221
223
 
222
- this.zs_1 = this.at_1.k();
223
- this.ys_1 = this.ss_1.m(this.zs_1);
224
- this.u5_1 = 2;
225
- suspendResult = this.ts_1.dt_1.gt(this.ys_1, this.us_1, this.vs_1, this);
224
+ this.wt_1 = this.xt_1.j();
225
+ this.vt_1 = this.pt_1.l(this.wt_1);
226
+ this.g6_1 = 2;
227
+ suspendResult = this.qt_1.au_1.du(this.vt_1, this.rt_1, this.st_1, this);
226
228
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
227
229
  return suspendResult;
228
230
  }
@@ -230,138 +232,136 @@
230
232
  continue $sm;
231
233
  case 2:
232
234
  var ele = suspendResult;
233
- this.ws_1[this.zs_1] = new LatLonElevation(this.ys_1.ht(), this.ys_1.it(), ele);
234
- this.u5_1 = 1;
235
+ this.tt_1[this.wt_1] = new LatLonElevation(this.vt_1.eu(), this.vt_1.fu(), ele);
236
+ this.g6_1 = 1;
235
237
  continue $sm;
236
238
  case 3:
237
239
  return Unit_instance;
238
240
  case 4:
239
- throw this.x5_1;
241
+ throw this.j6_1;
240
242
  }
241
243
  } catch ($p) {
242
244
  var e = $p;
243
- if (this.v5_1 === 4) {
245
+ if (this.h6_1 === 4) {
244
246
  throw e;
245
247
  } else {
246
- this.u5_1 = this.v5_1;
247
- this.x5_1 = e;
248
+ this.g6_1 = this.h6_1;
249
+ this.j6_1 = e;
248
250
  }
249
251
  }
250
252
  while (true);
251
253
  };
252
- protoOf(BatchCalculator$setElevations$slambda).ct = function (_destruct__k2r9zo, completion) {
253
- var i = new BatchCalculator$setElevations$slambda(this.ss_1, this.ts_1, this.us_1, this.vs_1, this.ws_1, completion);
254
- i.xs_1 = _destruct__k2r9zo;
254
+ protoOf(BatchCalculator$setElevations$slambda).zt = function (_destruct__k2r9zo, completion) {
255
+ var i = new BatchCalculator$setElevations$slambda(this.pt_1, this.qt_1, this.rt_1, this.st_1, this.tt_1, completion);
256
+ i.ut_1 = _destruct__k2r9zo;
255
257
  return i;
256
258
  };
257
259
  function BatchCalculator$setElevations$slambda_0($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation) {
258
260
  var i = new BatchCalculator$setElevations$slambda($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation);
259
- var l = function (_destruct__k2r9zo, $completion) {
260
- return i.bt(_destruct__k2r9zo, $completion);
261
- };
262
- l.$arity = 1;
263
- return l;
261
+ return constructCallableReference(function (_destruct__k2r9zo, $completion) {
262
+ return i.yt(_destruct__k2r9zo, $completion);
263
+ }, 1);
264
264
  }
265
265
  function $setElevationsCOROUTINE$(_this__u8e3s4, coordinates, zoomLevel, interpolation, maxParallelTiles, resultContinuation) {
266
266
  CoroutineImpl.call(this, resultContinuation);
267
- this.rt_1 = _this__u8e3s4;
268
- this.st_1 = coordinates;
269
- this.tt_1 = zoomLevel;
270
- this.ut_1 = interpolation;
271
- this.vt_1 = maxParallelTiles;
272
- }
273
- protoOf($setElevationsCOROUTINE$).c6 = function () {
274
- var suspendResult = this.w5_1;
267
+ this.ou_1 = _this__u8e3s4;
268
+ this.pu_1 = coordinates;
269
+ this.qu_1 = zoomLevel;
270
+ this.ru_1 = interpolation;
271
+ this.su_1 = maxParallelTiles;
272
+ }
273
+ protoOf($setElevationsCOROUTINE$).o6 = function () {
274
+ var suspendResult = this.i6_1;
275
275
  $sm: do
276
276
  try {
277
- var tmp = this.u5_1;
277
+ var tmp = this.g6_1;
278
278
  switch (tmp) {
279
279
  case 0:
280
- this.v5_1 = 2;
281
- if (this.st_1.n())
280
+ this.h6_1 = 2;
281
+ if (this.pu_1.m())
282
282
  return emptyList();
283
283
  var tmp_0 = this;
284
- var size = this.st_1.l();
285
- tmp_0.wt_1 = Array(size);
284
+ var size = this.pu_1.k();
285
+ tmp_0.tu_1 = Array(size);
286
286
  var byTile = LinkedHashMap_init_$Create$();
287
- var iterator = this.st_1.i();
287
+ var iterator = this.pu_1.h();
288
288
  var index = 0;
289
- while (iterator.j()) {
289
+ while (iterator.i()) {
290
290
  var i = index;
291
291
  index = index + 1 | 0;
292
- var p = iterator.k();
293
- var tile = ElevationFunctions_instance.xt(p, this.tt_1);
294
- var key = '' + tile.au_1 + '/' + tile.yt_1 + '/' + tile.zt_1;
295
- var value = byTile.h1(key);
292
+ var p = iterator.j();
293
+ var tile = ElevationFunctions_instance.uu(p, this.qu_1);
294
+ var key = '' + tile.xu_1 + '/' + tile.vu_1 + '/' + tile.wu_1;
295
+ var value = byTile.j1(key);
296
296
  var tmp_1;
297
297
  if (value == null) {
298
298
  var answer = ArrayList_init_$Create$();
299
- byTile.p2(key, answer);
299
+ byTile.a3(key, answer);
300
300
  tmp_1 = answer;
301
301
  } else {
302
302
  tmp_1 = value;
303
303
  }
304
- tmp_1.h(i);
304
+ tmp_1.n(i);
305
305
  }
306
306
 
307
- this.u5_1 = 1;
307
+ this.g6_1 = 1;
308
308
  var tmp_2 = Flux_instance;
309
- var tmp_3 = byTile.j1();
310
- suspendResult = tmp_2.bu(tmp_3, this.vt_1, BatchCalculator$setElevations$slambda_0(this.st_1, this.rt_1, this.tt_1, this.ut_1, this.wt_1, null), this);
309
+ var tmp_3 = byTile.l1();
310
+ suspendResult = tmp_2.yu(tmp_3, this.su_1, BatchCalculator$setElevations$slambda_0(this.pu_1, this.ou_1, this.qu_1, this.ru_1, this.tu_1, null), this);
311
311
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
312
312
  return suspendResult;
313
313
  }
314
314
 
315
315
  continue $sm;
316
316
  case 1:
317
- var tmp_4 = toList(this.wt_1);
317
+ var tmp_4 = toList(this.tu_1);
318
318
  return isInterface(tmp_4, KtList) ? tmp_4 : THROW_CCE();
319
319
  case 2:
320
- throw this.x5_1;
320
+ throw this.j6_1;
321
321
  }
322
322
  } catch ($p) {
323
323
  var e = $p;
324
- if (this.v5_1 === 2) {
324
+ if (this.h6_1 === 2) {
325
325
  throw e;
326
326
  } else {
327
- this.u5_1 = this.v5_1;
328
- this.x5_1 = e;
327
+ this.g6_1 = this.h6_1;
328
+ this.j6_1 = e;
329
329
  }
330
330
  }
331
331
  while (true);
332
332
  };
333
333
  function $getElevationsAlongCOROUTINE$(_this__u8e3s4, path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, resultContinuation) {
334
334
  CoroutineImpl.call(this, resultContinuation);
335
- this.ku_1 = _this__u8e3s4;
336
- this.lu_1 = path;
337
- this.mu_1 = zoomLevel;
338
- this.nu_1 = step;
339
- this.ou_1 = minDistance;
340
- this.pu_1 = interpolation;
341
- this.qu_1 = smoothingOptions;
342
- this.ru_1 = filterOptions;
343
- }
344
- protoOf($getElevationsAlongCOROUTINE$).c6 = function () {
345
- var suspendResult = this.w5_1;
335
+ this.hv_1 = _this__u8e3s4;
336
+ this.iv_1 = path;
337
+ this.jv_1 = zoomLevel;
338
+ this.kv_1 = step;
339
+ this.lv_1 = minDistance;
340
+ this.mv_1 = interpolation;
341
+ this.nv_1 = smoothingOptions;
342
+ this.ov_1 = filterOptions;
343
+ }
344
+ protoOf($getElevationsAlongCOROUTINE$).o6 = function () {
345
+ var suspendResult = this.i6_1;
346
346
  $sm: do
347
347
  try {
348
- var tmp = this.u5_1;
348
+ var tmp = this.g6_1;
349
349
  switch (tmp) {
350
350
  case 0:
351
- this.v5_1 = 2;
352
- if (!(this.lu_1.l() >= 2)) {
351
+ this.h6_1 = 2;
352
+ if (!(this.iv_1.k() >= 2)) {
353
353
  var message = 'Path must contain at least 2 coordinates';
354
354
  throw IllegalArgumentException_init_$Create$(toString(message));
355
355
  }
356
356
 
357
- if (!(this.nu_1 > 1.0)) {
358
- var message_0 = 'Step is too small: ' + formatNumber(this.ku_1, this.nu_1) + ' meters';
357
+ if (!(this.kv_1 > 1.0)) {
358
+ var message_0 = 'Step is too small: ' + formatNumber(this.hv_1, this.kv_1) + ' meters';
359
359
  throw IllegalArgumentException_init_$Create$(toString(message_0));
360
360
  }
361
361
 
362
- var densified = this.ku_1.su(this.lu_1, this.nu_1, this.ou_1);
363
- this.u5_1 = 1;
364
- suspendResult = this.ku_1.tu(densified, this.mu_1, this.pu_1, VOID, this);
362
+ var densified = this.hv_1.pv(this.iv_1, this.kv_1, this.lv_1);
363
+ this.g6_1 = 1;
364
+ suspendResult = this.hv_1.qv(densified, this.jv_1, this.mv_1, VOID, this);
365
365
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
366
366
  return suspendResult;
367
367
  }
@@ -370,9 +370,9 @@
370
370
  case 1:
371
371
  var withElevation = suspendResult;
372
372
  var tmp_0;
373
- var tmp1_safe_receiver = this.qu_1;
374
- if ((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gs_1) === true) {
375
- tmp_0 = withElevation.l() >= 3;
373
+ var tmp1_safe_receiver = this.nv_1;
374
+ if ((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.dt_1) === true) {
375
+ tmp_0 = withElevation.k() >= 3;
376
376
  } else {
377
377
  tmp_0 = false;
378
378
  }
@@ -380,14 +380,14 @@
380
380
  if (tmp_0) {
381
381
  var tmp_1 = ElevationSmoother_instance;
382
382
  var tmp_2 = withElevation;
383
- var tmp0_elvis_lhs = this.qu_1.fs_1;
384
- withElevation = tmp_1.uu(tmp_2, tmp0_elvis_lhs == null ? 50.0 : tmp0_elvis_lhs);
383
+ var tmp0_elvis_lhs = this.nv_1.ct_1;
384
+ withElevation = tmp_1.rv(tmp_2, tmp0_elvis_lhs == null ? 50.0 : tmp0_elvis_lhs);
385
385
  }
386
386
 
387
387
  var tmp_3;
388
- var tmp4_safe_receiver = this.ru_1;
389
- if ((tmp4_safe_receiver == null ? null : tmp4_safe_receiver.js_1) === true) {
390
- tmp_3 = withElevation.l() > 2;
388
+ var tmp4_safe_receiver = this.ov_1;
389
+ if ((tmp4_safe_receiver == null ? null : tmp4_safe_receiver.gt_1) === true) {
390
+ tmp_3 = withElevation.k() > 2;
391
391
  } else {
392
392
  tmp_3 = false;
393
393
  }
@@ -395,89 +395,89 @@
395
395
  if (tmp_3) {
396
396
  var tmp_4 = DouglasPeucker_instance;
397
397
  var tmp_5 = withElevation;
398
- var tmp2_elvis_lhs = this.ru_1.hs_1;
398
+ var tmp2_elvis_lhs = this.ov_1.et_1;
399
399
  var tmp_6 = tmp2_elvis_lhs == null ? 10.0 : tmp2_elvis_lhs;
400
- var tmp3_elvis_lhs = this.ru_1.is_1;
401
- withElevation = tmp_4.vu(tmp_5, tmp_6, tmp3_elvis_lhs == null ? 3.0 : tmp3_elvis_lhs);
400
+ var tmp3_elvis_lhs = this.ov_1.ft_1;
401
+ withElevation = tmp_4.sv(tmp_5, tmp_6, tmp3_elvis_lhs == null ? 3.0 : tmp3_elvis_lhs);
402
402
  }
403
403
 
404
404
  return withElevation;
405
405
  case 2:
406
- throw this.x5_1;
406
+ throw this.j6_1;
407
407
  }
408
408
  } catch ($p) {
409
409
  var e = $p;
410
- if (this.v5_1 === 2) {
410
+ if (this.h6_1 === 2) {
411
411
  throw e;
412
412
  } else {
413
- this.u5_1 = this.v5_1;
414
- this.x5_1 = e;
413
+ this.g6_1 = this.h6_1;
414
+ this.j6_1 = e;
415
415
  }
416
416
  }
417
417
  while (true);
418
418
  };
419
419
  function BatchCalculator(calculator) {
420
- this.dt_1 = calculator;
420
+ this.au_1 = calculator;
421
421
  }
422
- protoOf(BatchCalculator).wu = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) {
422
+ protoOf(BatchCalculator).tv = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) {
423
423
  var tmp = new $setElevationsCOROUTINE$(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
424
- tmp.w5_1 = Unit_instance;
425
- tmp.x5_1 = null;
426
- return tmp.c6();
424
+ tmp.i6_1 = Unit_instance;
425
+ tmp.j6_1 = null;
426
+ return tmp.o6();
427
427
  };
428
- protoOf(BatchCalculator).tu = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion, $super) {
428
+ protoOf(BatchCalculator).qv = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion, $super) {
429
429
  maxParallelTiles = maxParallelTiles === VOID ? 10 : maxParallelTiles;
430
- return $super === VOID ? this.wu(coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) : $super.wu.call(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
430
+ return $super === VOID ? this.tv(coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) : $super.tv.call(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
431
431
  };
432
- protoOf(BatchCalculator).xu = function (path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
432
+ protoOf(BatchCalculator).uv = function (path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
433
433
  var tmp = new $getElevationsAlongCOROUTINE$(this, path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
434
- tmp.w5_1 = Unit_instance;
435
- tmp.x5_1 = null;
436
- return tmp.c6();
434
+ tmp.i6_1 = Unit_instance;
435
+ tmp.j6_1 = null;
436
+ return tmp.o6();
437
437
  };
438
- protoOf(BatchCalculator).su = function (path, step, minDistance) {
439
- if (path.n())
438
+ protoOf(BatchCalculator).pv = function (path, step, minDistance) {
439
+ if (path.m())
440
440
  return emptyList();
441
- var out = ArrayList_init_$Create$_0(imul(path.l(), 2));
441
+ var out = ArrayList_init_$Create$_0(imul(path.k(), 2));
442
442
  // Inline function 'kotlin.collections.plusAssign' call
443
- var element = path.m(0);
444
- out.h(element);
443
+ var element = path.l(0);
444
+ out.n(element);
445
445
  var inductionVariable = 0;
446
- var last = path.l() - 1 | 0;
446
+ var last = path.k() - 1 | 0;
447
447
  if (inductionVariable < last)
448
448
  $l$loop: do {
449
449
  var i = inductionVariable;
450
450
  inductionVariable = inductionVariable + 1 | 0;
451
- var a = path.m(i);
452
- var b = path.m(i + 1 | 0);
453
- var d = Distance_instance.yu(a, b);
451
+ var a = path.l(i);
452
+ var b = path.l(i + 1 | 0);
453
+ var d = Distance_instance.vv(a, b);
454
454
  if (d < minDistance)
455
455
  continue $l$loop;
456
- var between = this.zu(a, b, step, d);
456
+ var between = this.wv(a, b, step, d);
457
457
  var inductionVariable_0 = 1;
458
- var last_0 = between.l();
458
+ var last_0 = between.k();
459
459
  if (inductionVariable_0 < last_0)
460
460
  do {
461
461
  var j = inductionVariable_0;
462
462
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
463
463
  // Inline function 'kotlin.collections.plusAssign' call
464
- var element_0 = between.m(j);
465
- out.h(element_0);
464
+ var element_0 = between.l(j);
465
+ out.n(element_0);
466
466
  }
467
467
  while (inductionVariable_0 < last_0);
468
468
  }
469
469
  while (inductionVariable < last);
470
470
  return out;
471
471
  };
472
- protoOf(BatchCalculator).zu = function (a, b, step, distance) {
472
+ protoOf(BatchCalculator).wv = function (a, b, step, distance) {
473
473
  if (distance <= step)
474
474
  return listOf([a, b]);
475
475
  var numSteps = numberToInt(distance / step);
476
476
  var out = ArrayList_init_$Create$_0(numSteps + 2 | 0);
477
477
  // Inline function 'kotlin.collections.plusAssign' call
478
- out.h(a);
479
- var latDiff = b.ht() - a.ht();
480
- var lonDiff = b.it() - a.it();
478
+ out.n(a);
479
+ var latDiff = b.eu() - a.eu();
480
+ var lonDiff = b.fu() - a.fu();
481
481
  var inductionVariable = 1;
482
482
  if (inductionVariable <= numSteps)
483
483
  do {
@@ -485,18 +485,18 @@
485
485
  inductionVariable = inductionVariable + 1 | 0;
486
486
  var f = i * step / distance;
487
487
  // Inline function 'kotlin.collections.plusAssign' call
488
- var element = new LatLon(a.ht() + latDiff * f, a.it() + lonDiff * f);
489
- out.h(element);
488
+ var element = new LatLon(a.eu() + latDiff * f, a.fu() + lonDiff * f);
489
+ out.n(element);
490
490
  }
491
491
  while (!(i === numSteps));
492
492
  // Inline function 'kotlin.collections.plusAssign' call
493
- out.h(b);
493
+ out.n(b);
494
494
  return out;
495
495
  };
496
496
  function MathConstants() {
497
497
  MathConstants_instance = this;
498
- this.av_1 = 3.141592653589793 / 180.0;
499
- this.bv_1 = 180.0 / 3.141592653589793;
498
+ this.xv_1 = 3.141592653589793 / 180.0;
499
+ this.yv_1 = 180.0 / 3.141592653589793;
500
500
  }
501
501
  var MathConstants_instance;
502
502
  function MathConstants_getInstance() {
@@ -506,26 +506,26 @@
506
506
  }
507
507
  function LatLon(latitude, longitude, elevation) {
508
508
  elevation = elevation === VOID ? null : elevation;
509
- this.cv_1 = latitude;
510
- this.dv_1 = longitude;
511
- this.ev_1 = elevation;
509
+ this.zv_1 = latitude;
510
+ this.aw_1 = longitude;
511
+ this.bw_1 = elevation;
512
512
  }
513
- protoOf(LatLon).ht = function () {
514
- return this.cv_1;
513
+ protoOf(LatLon).eu = function () {
514
+ return this.zv_1;
515
515
  };
516
- protoOf(LatLon).it = function () {
517
- return this.dv_1;
516
+ protoOf(LatLon).fu = function () {
517
+ return this.aw_1;
518
518
  };
519
- protoOf(LatLon).fv = function () {
520
- return this.ev_1;
519
+ protoOf(LatLon).cw = function () {
520
+ return this.bw_1;
521
521
  };
522
522
  protoOf(LatLon).toString = function () {
523
- return 'LatLon(latitude=' + this.cv_1 + ', longitude=' + this.dv_1 + ', elevation=' + this.ev_1 + ')';
523
+ return 'LatLon(latitude=' + this.zv_1 + ', longitude=' + this.aw_1 + ', elevation=' + this.bw_1 + ')';
524
524
  };
525
525
  protoOf(LatLon).hashCode = function () {
526
- var result = getNumberHashCode(this.cv_1);
527
- result = imul(result, 31) + getNumberHashCode(this.dv_1) | 0;
528
- result = imul(result, 31) + (this.ev_1 == null ? 0 : getNumberHashCode(this.ev_1)) | 0;
526
+ var result = getNumberHashCode(this.zv_1);
527
+ result = imul(result, 31) + getNumberHashCode(this.aw_1) | 0;
528
+ result = imul(result, 31) + (this.bw_1 == null ? 0 : getNumberHashCode(this.bw_1)) | 0;
529
529
  return result;
530
530
  };
531
531
  protoOf(LatLon).equals = function (other) {
@@ -533,35 +533,35 @@
533
533
  return true;
534
534
  if (!(other instanceof LatLon))
535
535
  return false;
536
- if (!equals(this.cv_1, other.cv_1))
536
+ if (!equals(this.zv_1, other.zv_1))
537
537
  return false;
538
- if (!equals(this.dv_1, other.dv_1))
538
+ if (!equals(this.aw_1, other.aw_1))
539
539
  return false;
540
- if (!equals(this.ev_1, other.ev_1))
540
+ if (!equals(this.bw_1, other.bw_1))
541
541
  return false;
542
542
  return true;
543
543
  };
544
544
  function LatLonElevation(latitude, longitude, elevation) {
545
- this.gv_1 = latitude;
546
- this.hv_1 = longitude;
547
- this.iv_1 = elevation;
545
+ this.dw_1 = latitude;
546
+ this.ew_1 = longitude;
547
+ this.fw_1 = elevation;
548
548
  }
549
- protoOf(LatLonElevation).ht = function () {
550
- return this.gv_1;
549
+ protoOf(LatLonElevation).eu = function () {
550
+ return this.dw_1;
551
551
  };
552
- protoOf(LatLonElevation).it = function () {
553
- return this.hv_1;
552
+ protoOf(LatLonElevation).fu = function () {
553
+ return this.ew_1;
554
554
  };
555
- protoOf(LatLonElevation).fv = function () {
556
- return this.iv_1;
555
+ protoOf(LatLonElevation).cw = function () {
556
+ return this.fw_1;
557
557
  };
558
558
  protoOf(LatLonElevation).toString = function () {
559
- return 'LatLonElevation(latitude=' + this.gv_1 + ', longitude=' + this.hv_1 + ', elevation=' + this.iv_1 + ')';
559
+ return 'LatLonElevation(latitude=' + this.dw_1 + ', longitude=' + this.ew_1 + ', elevation=' + this.fw_1 + ')';
560
560
  };
561
561
  protoOf(LatLonElevation).hashCode = function () {
562
- var result = getNumberHashCode(this.gv_1);
563
- result = imul(result, 31) + getNumberHashCode(this.hv_1) | 0;
564
- result = imul(result, 31) + getNumberHashCode(this.iv_1) | 0;
562
+ var result = getNumberHashCode(this.dw_1);
563
+ result = imul(result, 31) + getNumberHashCode(this.ew_1) | 0;
564
+ result = imul(result, 31) + getNumberHashCode(this.fw_1) | 0;
565
565
  return result;
566
566
  };
567
567
  protoOf(LatLonElevation).equals = function (other) {
@@ -569,21 +569,21 @@
569
569
  return true;
570
570
  if (!(other instanceof LatLonElevation))
571
571
  return false;
572
- if (!equals(this.gv_1, other.gv_1))
572
+ if (!equals(this.dw_1, other.dw_1))
573
573
  return false;
574
- if (!equals(this.hv_1, other.hv_1))
574
+ if (!equals(this.ew_1, other.ew_1))
575
575
  return false;
576
- if (!equals(this.iv_1, other.iv_1))
576
+ if (!equals(this.fw_1, other.fw_1))
577
577
  return false;
578
578
  return true;
579
579
  };
580
580
  function Distance() {
581
581
  }
582
- protoOf(Distance).yu = function (coord1, coord2) {
583
- var lat1Rad = coord1.ht() * MathConstants_getInstance().av_1;
584
- var lat2Rad = coord2.ht() * MathConstants_getInstance().av_1;
585
- var deltaLat = (coord2.ht() - coord1.ht()) * MathConstants_getInstance().av_1;
586
- var deltaLon = (coord2.it() - coord1.it()) * MathConstants_getInstance().av_1;
582
+ protoOf(Distance).vv = function (coord1, coord2) {
583
+ var lat1Rad = coord1.eu() * MathConstants_getInstance().xv_1;
584
+ var lat2Rad = coord2.eu() * MathConstants_getInstance().xv_1;
585
+ var deltaLat = (coord2.eu() - coord1.eu()) * MathConstants_getInstance().xv_1;
586
+ var deltaLon = (coord2.fu() - coord1.fu()) * MathConstants_getInstance().xv_1;
587
587
  // Inline function 'kotlin.math.sin' call
588
588
  var x = deltaLat / 2.0;
589
589
  var sinHalfLat = Math.sin(x);
@@ -604,19 +604,19 @@
604
604
  var c = 2.0 * Math.atan2(tmp0, x_2);
605
605
  return 6371000.0 * c;
606
606
  };
607
- protoOf(Distance).jv = function (points) {
608
- if (points.n()) {
607
+ protoOf(Distance).gw = function (points) {
608
+ if (points.m()) {
609
609
  // Inline function 'kotlin.doubleArrayOf' call
610
610
  return new Float64Array([0.0]);
611
611
  }
612
- var out = new Float64Array(points.l());
612
+ var out = new Float64Array(points.k());
613
613
  var inductionVariable = 1;
614
- var last = points.l();
614
+ var last = points.k();
615
615
  if (inductionVariable < last)
616
616
  do {
617
617
  var i = inductionVariable;
618
618
  inductionVariable = inductionVariable + 1 | 0;
619
- out[i] = out[i - 1 | 0] + this.yu(points.m(i - 1 | 0), points.m(i));
619
+ out[i] = out[i - 1 | 0] + this.vv(points.l(i - 1 | 0), points.l(i));
620
620
  }
621
621
  while (inductionVariable < last);
622
622
  return out;
@@ -626,8 +626,8 @@
626
626
  return Distance_instance;
627
627
  }
628
628
  function simplifyRecursive($this, points, firstIndex, lastIndex, tolerance, zExaggeration, out) {
629
- var firstEcef = EcefConverter_instance.kv(points.m(firstIndex), zExaggeration);
630
- var lastEcef = EcefConverter_instance.kv(points.m(lastIndex), zExaggeration);
629
+ var firstEcef = EcefConverter_instance.hw(points.l(firstIndex), zExaggeration);
630
+ var lastEcef = EcefConverter_instance.hw(points.l(lastIndex), zExaggeration);
631
631
  var maxDistance = 0.0;
632
632
  var maxIndex = -1;
633
633
  var inductionVariable = firstIndex + 1 | 0;
@@ -635,7 +635,7 @@
635
635
  do {
636
636
  var i = inductionVariable;
637
637
  inductionVariable = inductionVariable + 1 | 0;
638
- var d = EcefConverter_instance.kv(points.m(i), zExaggeration).ov(firstEcef, lastEcef);
638
+ var d = EcefConverter_instance.hw(points.l(i), zExaggeration).lw(firstEcef, lastEcef);
639
639
  if (d > maxDistance) {
640
640
  maxDistance = d;
641
641
  maxIndex = i;
@@ -646,7 +646,7 @@
646
646
  if ((maxIndex - firstIndex | 0) > 1) {
647
647
  simplifyRecursive($this, points, firstIndex, maxIndex, tolerance, zExaggeration, out);
648
648
  }
649
- out.h(points.m(maxIndex));
649
+ out.n(points.l(maxIndex));
650
650
  if ((lastIndex - maxIndex | 0) > 1) {
651
651
  simplifyRecursive($this, points, maxIndex, lastIndex, tolerance, zExaggeration, out);
652
652
  }
@@ -654,20 +654,20 @@
654
654
  }
655
655
  function DouglasPeucker() {
656
656
  }
657
- protoOf(DouglasPeucker).vu = function (points, tolerance, zExaggeration) {
658
- if (points.l() <= 2)
657
+ protoOf(DouglasPeucker).sv = function (points, tolerance, zExaggeration) {
658
+ if (points.k() <= 2)
659
659
  return toList_0(points);
660
660
  var lastIndex = get_lastIndex(points);
661
661
  // Inline function 'kotlin.collections.buildList' call
662
662
  // Inline function 'kotlin.collections.buildListInternal' call
663
- var capacity = points.l();
663
+ var capacity = points.k();
664
664
  checkBuilderCapacity(capacity);
665
665
  // Inline function 'kotlin.apply' call
666
666
  var this_0 = ArrayList_init_$Create$_0(capacity);
667
- this_0.h(points.m(0));
667
+ this_0.n(points.l(0));
668
668
  simplifyRecursive(DouglasPeucker_instance, points, 0, lastIndex, tolerance, zExaggeration, this_0);
669
- this_0.h(points.m(lastIndex));
670
- return this_0.c3();
669
+ this_0.n(points.l(lastIndex));
670
+ return this_0.m3();
671
671
  };
672
672
  var DouglasPeucker_instance;
673
673
  function DouglasPeucker_getInstance() {
@@ -675,10 +675,10 @@
675
675
  }
676
676
  function EcefConverter() {
677
677
  }
678
- protoOf(EcefConverter).kv = function (coordinates, zExaggeration) {
679
- var latRad = coordinates.ht() * MathConstants_getInstance().av_1;
680
- var lonRad = coordinates.it() * MathConstants_getInstance().av_1;
681
- var tmp0_elvis_lhs = coordinates.fv();
678
+ protoOf(EcefConverter).hw = function (coordinates, zExaggeration) {
679
+ var latRad = coordinates.eu() * MathConstants_getInstance().xv_1;
680
+ var lonRad = coordinates.fu() * MathConstants_getInstance().xv_1;
681
+ var tmp0_elvis_lhs = coordinates.cw();
682
682
  var elevationExaggerated = zExaggeration * (tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs);
683
683
  // Inline function 'kotlin.math.sin' call
684
684
  var sinLat = Math.sin(latRad);
@@ -702,43 +702,43 @@
702
702
  }
703
703
  function getInterpolatedElevation($this, coords, zoomLevel, $completion) {
704
704
  var tmp = new $getInterpolatedElevationCOROUTINE$($this, coords, zoomLevel, $completion);
705
- tmp.w5_1 = Unit_instance;
706
- tmp.x5_1 = null;
707
- return tmp.c6();
705
+ tmp.i6_1 = Unit_instance;
706
+ tmp.j6_1 = null;
707
+ return tmp.o6();
708
708
  }
709
709
  function elevationFromPixel($this, pixel, $completion) {
710
710
  var tmp = new $elevationFromPixelCOROUTINE$($this, pixel, $completion);
711
- tmp.w5_1 = Unit_instance;
712
- tmp.x5_1 = null;
713
- return tmp.c6();
711
+ tmp.i6_1 = Unit_instance;
712
+ tmp.j6_1 = null;
713
+ return tmp.o6();
714
714
  }
715
715
  function $getElevationCOROUTINE$(_this__u8e3s4, coords, zoomLevel, interpolation, resultContinuation) {
716
716
  CoroutineImpl.call(this, resultContinuation);
717
- this.cx_1 = _this__u8e3s4;
718
- this.dx_1 = coords;
719
- this.ex_1 = zoomLevel;
720
- this.fx_1 = interpolation;
717
+ this.zx_1 = _this__u8e3s4;
718
+ this.ay_1 = coords;
719
+ this.by_1 = zoomLevel;
720
+ this.cy_1 = interpolation;
721
721
  }
722
- protoOf($getElevationCOROUTINE$).c6 = function () {
723
- var suspendResult = this.w5_1;
722
+ protoOf($getElevationCOROUTINE$).o6 = function () {
723
+ var suspendResult = this.i6_1;
724
724
  $sm: do
725
725
  try {
726
- var tmp = this.u5_1;
726
+ var tmp = this.g6_1;
727
727
  switch (tmp) {
728
728
  case 0:
729
- this.v5_1 = 5;
730
- this.v5_1 = 4;
731
- if (this.fx_1) {
732
- this.u5_1 = 2;
733
- suspendResult = getInterpolatedElevation(this.cx_1, this.dx_1, this.ex_1, this);
729
+ this.h6_1 = 5;
730
+ this.h6_1 = 4;
731
+ if (this.cy_1) {
732
+ this.g6_1 = 2;
733
+ suspendResult = getInterpolatedElevation(this.zx_1, this.ay_1, this.by_1, this);
734
734
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
735
735
  return suspendResult;
736
736
  }
737
737
  continue $sm;
738
738
  } else {
739
- var pixel = ElevationFunctions_instance.ix(this.dx_1, this.ex_1, this.cx_1.ft_1);
740
- this.u5_1 = 1;
741
- suspendResult = elevationFromPixel(this.cx_1, pixel, this);
739
+ var pixel = ElevationFunctions_instance.fy(this.ay_1, this.by_1, this.zx_1.cu_1);
740
+ this.g6_1 = 1;
741
+ suspendResult = elevationFromPixel(this.zx_1, pixel, this);
742
742
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
743
743
  return suspendResult;
744
744
  }
@@ -746,100 +746,100 @@
746
746
  }
747
747
 
748
748
  case 1:
749
- this.hx_1 = suspendResult;
750
- this.u5_1 = 3;
749
+ this.ey_1 = suspendResult;
750
+ this.g6_1 = 3;
751
751
  continue $sm;
752
752
  case 2:
753
- this.hx_1 = suspendResult;
754
- this.u5_1 = 3;
753
+ this.ey_1 = suspendResult;
754
+ this.g6_1 = 3;
755
755
  continue $sm;
756
756
  case 3:
757
- this.gx_1 = this.hx_1;
758
- this.v5_1 = 5;
759
- this.u5_1 = 6;
757
+ this.dy_1 = this.ey_1;
758
+ this.h6_1 = 5;
759
+ this.g6_1 = 6;
760
760
  continue $sm;
761
761
  case 4:
762
- this.v5_1 = 5;
763
- var tmp_0 = this.x5_1;
762
+ this.h6_1 = 5;
763
+ var tmp_0 = this.j6_1;
764
764
  if (tmp_0 instanceof Error) {
765
- var t = this.x5_1;
765
+ var t = this.j6_1;
766
766
  var tmp_1 = this;
767
767
  throw IllegalStateException_init_$Create$('Failed to get elevation: ' + t.message, t);
768
768
  } else {
769
- throw this.x5_1;
769
+ throw this.j6_1;
770
770
  }
771
771
 
772
772
  case 5:
773
- throw this.x5_1;
773
+ throw this.j6_1;
774
774
  case 6:
775
- this.v5_1 = 5;
776
- return this.gx_1;
775
+ this.h6_1 = 5;
776
+ return this.dy_1;
777
777
  }
778
778
  } catch ($p) {
779
779
  var e = $p;
780
- if (this.v5_1 === 5) {
780
+ if (this.h6_1 === 5) {
781
781
  throw e;
782
782
  } else {
783
- this.u5_1 = this.v5_1;
784
- this.x5_1 = e;
783
+ this.g6_1 = this.h6_1;
784
+ this.j6_1 = e;
785
785
  }
786
786
  }
787
787
  while (true);
788
788
  };
789
789
  function $getInterpolatedElevationCOROUTINE$(_this__u8e3s4, coords, zoomLevel, resultContinuation) {
790
790
  CoroutineImpl.call(this, resultContinuation);
791
- this.xv_1 = _this__u8e3s4;
792
- this.yv_1 = coords;
793
- this.zv_1 = zoomLevel;
791
+ this.uw_1 = _this__u8e3s4;
792
+ this.vw_1 = coords;
793
+ this.ww_1 = zoomLevel;
794
794
  }
795
- protoOf($getInterpolatedElevationCOROUTINE$).c6 = function () {
796
- var suspendResult = this.w5_1;
795
+ protoOf($getInterpolatedElevationCOROUTINE$).o6 = function () {
796
+ var suspendResult = this.i6_1;
797
797
  $sm: do
798
798
  try {
799
- var tmp = this.u5_1;
799
+ var tmp = this.g6_1;
800
800
  switch (tmp) {
801
801
  case 0:
802
- this.v5_1 = 5;
803
- this.hw_1 = ElevationFunctions_instance.jx(this.yv_1, this.zv_1, this.xv_1.ft_1);
802
+ this.h6_1 = 5;
803
+ this.ex_1 = ElevationFunctions_instance.gy(this.vw_1, this.ww_1, this.uw_1.cu_1);
804
804
  var tmp_0 = this;
805
- var x = this.hw_1.lx_1;
806
- tmp_0.iw_1 = numberToInt(Math.floor(x));
805
+ var x = this.ex_1.iy_1;
806
+ tmp_0.fx_1 = numberToInt(Math.floor(x));
807
807
  var tmp_1 = this;
808
- var x_0 = this.hw_1.mx_1;
809
- tmp_1.jw_1 = numberToInt(Math.floor(x_0));
810
- this.gw_1 = this.iw_1 + 1 | 0;
811
- this.fw_1 = this.jw_1 + 1 | 0;
812
- this.bw_1 = this.hw_1.lx_1 - this.iw_1;
813
- this.aw_1 = this.hw_1.mx_1 - this.jw_1;
814
- this.u5_1 = 1;
815
- suspendResult = elevationFromPixel(this.xv_1, ElevationFunctions_instance.nx(new Pixel(this.hw_1.kx_1, this.iw_1, this.jw_1), this.xv_1.ft_1), this);
808
+ var x_0 = this.ex_1.jy_1;
809
+ tmp_1.gx_1 = numberToInt(Math.floor(x_0));
810
+ this.dx_1 = this.fx_1 + 1 | 0;
811
+ this.cx_1 = this.gx_1 + 1 | 0;
812
+ this.yw_1 = this.ex_1.iy_1 - this.fx_1;
813
+ this.xw_1 = this.ex_1.jy_1 - this.gx_1;
814
+ this.g6_1 = 1;
815
+ suspendResult = elevationFromPixel(this.uw_1, ElevationFunctions_instance.ky(new Pixel(this.ex_1.hy_1, this.fx_1, this.gx_1), this.uw_1.cu_1), this);
816
816
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
817
817
  return suspendResult;
818
818
  }
819
819
 
820
820
  continue $sm;
821
821
  case 1:
822
- this.ew_1 = suspendResult;
823
- this.u5_1 = 2;
824
- suspendResult = elevationFromPixel(this.xv_1, ElevationFunctions_instance.nx(new Pixel(this.hw_1.kx_1, this.gw_1, this.jw_1), this.xv_1.ft_1), this);
822
+ this.bx_1 = suspendResult;
823
+ this.g6_1 = 2;
824
+ suspendResult = elevationFromPixel(this.uw_1, ElevationFunctions_instance.ky(new Pixel(this.ex_1.hy_1, this.dx_1, this.gx_1), this.uw_1.cu_1), this);
825
825
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
826
826
  return suspendResult;
827
827
  }
828
828
 
829
829
  continue $sm;
830
830
  case 2:
831
- this.dw_1 = suspendResult;
832
- this.u5_1 = 3;
833
- suspendResult = elevationFromPixel(this.xv_1, ElevationFunctions_instance.nx(new Pixel(this.hw_1.kx_1, this.iw_1, this.fw_1), this.xv_1.ft_1), this);
831
+ this.ax_1 = suspendResult;
832
+ this.g6_1 = 3;
833
+ suspendResult = elevationFromPixel(this.uw_1, ElevationFunctions_instance.ky(new Pixel(this.ex_1.hy_1, this.fx_1, this.cx_1), this.uw_1.cu_1), this);
834
834
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
835
835
  return suspendResult;
836
836
  }
837
837
 
838
838
  continue $sm;
839
839
  case 3:
840
- this.cw_1 = suspendResult;
841
- this.u5_1 = 4;
842
- suspendResult = elevationFromPixel(this.xv_1, ElevationFunctions_instance.nx(new Pixel(this.hw_1.kx_1, this.gw_1, this.fw_1), this.xv_1.ft_1), this);
840
+ this.zw_1 = suspendResult;
841
+ this.g6_1 = 4;
842
+ suspendResult = elevationFromPixel(this.uw_1, ElevationFunctions_instance.ky(new Pixel(this.ex_1.hy_1, this.dx_1, this.cx_1), this.uw_1.cu_1), this);
843
843
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
844
844
  return suspendResult;
845
845
  }
@@ -847,69 +847,69 @@
847
847
  continue $sm;
848
848
  case 4:
849
849
  var p11 = suspendResult;
850
- var top = this.ew_1 * (1.0 - this.bw_1) + this.dw_1 * this.bw_1;
851
- var bottom = this.cw_1 * (1.0 - this.bw_1) + p11 * this.bw_1;
852
- return top * (1.0 - this.aw_1) + bottom * this.aw_1;
850
+ var top = this.bx_1 * (1.0 - this.yw_1) + this.ax_1 * this.yw_1;
851
+ var bottom = this.zw_1 * (1.0 - this.yw_1) + p11 * this.yw_1;
852
+ return top * (1.0 - this.xw_1) + bottom * this.xw_1;
853
853
  case 5:
854
- throw this.x5_1;
854
+ throw this.j6_1;
855
855
  }
856
856
  } catch ($p) {
857
857
  var e = $p;
858
- if (this.v5_1 === 5) {
858
+ if (this.h6_1 === 5) {
859
859
  throw e;
860
860
  } else {
861
- this.u5_1 = this.v5_1;
862
- this.x5_1 = e;
861
+ this.g6_1 = this.h6_1;
862
+ this.j6_1 = e;
863
863
  }
864
864
  }
865
865
  while (true);
866
866
  };
867
867
  function $elevationFromPixelCOROUTINE$(_this__u8e3s4, pixel, resultContinuation) {
868
868
  CoroutineImpl.call(this, resultContinuation);
869
- this.sw_1 = _this__u8e3s4;
870
- this.tw_1 = pixel;
869
+ this.px_1 = _this__u8e3s4;
870
+ this.qx_1 = pixel;
871
871
  }
872
- protoOf($elevationFromPixelCOROUTINE$).c6 = function () {
873
- var suspendResult = this.w5_1;
872
+ protoOf($elevationFromPixelCOROUTINE$).o6 = function () {
873
+ var suspendResult = this.i6_1;
874
874
  $sm: do
875
875
  try {
876
- var tmp = this.u5_1;
876
+ var tmp = this.g6_1;
877
877
  switch (tmp) {
878
878
  case 0:
879
- this.v5_1 = 2;
880
- this.u5_1 = 1;
881
- suspendResult = this.sw_1.et_1.ux(this.tw_1.ox_1, this);
879
+ this.h6_1 = 2;
880
+ this.g6_1 = 1;
881
+ suspendResult = this.px_1.bu_1.ry(this.qx_1.ly_1, this);
882
882
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
883
883
  return suspendResult;
884
884
  }
885
885
 
886
886
  continue $sm;
887
887
  case 1:
888
- return suspendResult.ay(this.tw_1);
888
+ return suspendResult.xy(this.qx_1);
889
889
  case 2:
890
- throw this.x5_1;
890
+ throw this.j6_1;
891
891
  }
892
892
  } catch ($p) {
893
893
  var e = $p;
894
- if (this.v5_1 === 2) {
894
+ if (this.h6_1 === 2) {
895
895
  throw e;
896
896
  } else {
897
- this.u5_1 = this.v5_1;
898
- this.x5_1 = e;
897
+ this.g6_1 = this.h6_1;
898
+ this.j6_1 = e;
899
899
  }
900
900
  }
901
901
  while (true);
902
902
  };
903
903
  function ElevationCalculator(tileManager, tileSize) {
904
904
  tileSize = tileSize === VOID ? 256 : tileSize;
905
- this.et_1 = tileManager;
906
- this.ft_1 = tileSize;
905
+ this.bu_1 = tileManager;
906
+ this.cu_1 = tileSize;
907
907
  }
908
- protoOf(ElevationCalculator).gt = function (coords, zoomLevel, interpolation, $completion) {
908
+ protoOf(ElevationCalculator).du = function (coords, zoomLevel, interpolation, $completion) {
909
909
  var tmp = new $getElevationCOROUTINE$(this, coords, zoomLevel, interpolation, $completion);
910
- tmp.w5_1 = Unit_instance;
911
- tmp.x5_1 = null;
912
- return tmp.c6();
910
+ tmp.i6_1 = Unit_instance;
911
+ tmp.j6_1 = null;
912
+ return tmp.o6();
913
913
  };
914
914
  function formatNumber_0($this, d) {
915
915
  var asLong = numberToLong(d);
@@ -917,24 +917,24 @@
917
917
  }
918
918
  function ElevationFunctions() {
919
919
  }
920
- protoOf(ElevationFunctions).by = function (degrees) {
921
- return degrees * MathConstants_getInstance().av_1;
920
+ protoOf(ElevationFunctions).yy = function (degrees) {
921
+ return degrees * MathConstants_getInstance().xv_1;
922
922
  };
923
- protoOf(ElevationFunctions).cy = function (lat) {
923
+ protoOf(ElevationFunctions).zy = function (lat) {
924
924
  return lat >= -85.0511 && lat <= 85.0511;
925
925
  };
926
- protoOf(ElevationFunctions).dy = function (lon) {
926
+ protoOf(ElevationFunctions).az = function (lon) {
927
927
  return -180.0 <= lon ? lon <= 180.0 : false;
928
928
  };
929
- protoOf(ElevationFunctions).ey = function (zoom) {
929
+ protoOf(ElevationFunctions).bz = function (zoom) {
930
930
  return 0 <= zoom ? zoom <= 15 : false;
931
931
  };
932
- protoOf(ElevationFunctions).nx = function (pixel, tileSize) {
933
- var x = pixel.px_1;
934
- var y = pixel.qx_1;
935
- var tileX = pixel.ox_1.yt_1;
936
- var tileY = pixel.ox_1.zt_1;
937
- var z = pixel.ox_1.au_1;
932
+ protoOf(ElevationFunctions).ky = function (pixel, tileSize) {
933
+ var x = pixel.my_1;
934
+ var y = pixel.ny_1;
935
+ var tileX = pixel.ly_1.vu_1;
936
+ var tileY = pixel.ly_1.wu_1;
937
+ var z = pixel.ly_1.xu_1;
938
938
  if (x < 0) {
939
939
  x = x + tileSize | 0;
940
940
  tileX = tileX - 1 | 0;
@@ -956,25 +956,25 @@
956
956
  tileY = coerceIn(tileY, 0, maxTile);
957
957
  return new Pixel(new TileCoordinates(tileX, tileY, z), x, y);
958
958
  };
959
- protoOf(ElevationFunctions).fy = function (coords, z) {
959
+ protoOf(ElevationFunctions).cz = function (coords, z) {
960
960
  // Inline function 'kotlin.require' call
961
- if (!this.cy(coords.ht())) {
962
- var message = 'Invalid latitude: ' + formatNumber_0(ElevationFunctions_instance, coords.ht()) + '. Must be between -85.0511 and 85.0511';
961
+ if (!this.zy(coords.eu())) {
962
+ var message = 'Invalid latitude: ' + formatNumber_0(ElevationFunctions_instance, coords.eu()) + '. Must be between -85.0511 and 85.0511';
963
963
  throw IllegalArgumentException_init_$Create$(toString(message));
964
964
  }
965
965
  // Inline function 'kotlin.require' call
966
- if (!this.dy(coords.it())) {
967
- var message_0 = 'Invalid longitude: ' + formatNumber_0(ElevationFunctions_instance, coords.it()) + '. Must be between -180 and 180';
966
+ if (!this.az(coords.fu())) {
967
+ var message_0 = 'Invalid longitude: ' + formatNumber_0(ElevationFunctions_instance, coords.fu()) + '. Must be between -180 and 180';
968
968
  throw IllegalArgumentException_init_$Create$(toString(message_0));
969
969
  }
970
970
  // Inline function 'kotlin.require' call
971
- if (!this.ey(z)) {
971
+ if (!this.bz(z)) {
972
972
  var message_1 = 'Invalid zoom level: ' + z + '. Must be between 0 and 15';
973
973
  throw IllegalArgumentException_init_$Create$(toString(message_1));
974
974
  }
975
- var lat = this.by(coords.ht());
975
+ var lat = this.yy(coords.eu());
976
976
  var n = 1 << z;
977
- var xFloat = (coords.it() + 180.0) / 360.0 * n;
977
+ var xFloat = (coords.fu() + 180.0) / 360.0 * n;
978
978
  // Inline function 'kotlin.math.tan' call
979
979
  var tmp = Math.tan(lat);
980
980
  // Inline function 'kotlin.math.cos' call
@@ -990,91 +990,83 @@
990
990
  var y = coerceIn(numberToInt(tmp$ret$10), 0, maxTile);
991
991
  return new TileCoordinatesFloat(x_0, y, xFloat, yFloat, z);
992
992
  };
993
- protoOf(ElevationFunctions).xt = function (coords, z) {
994
- var tile = this.fy(coords, z);
995
- return new TileCoordinates(tile.gy_1, tile.hy_1, tile.ky_1);
993
+ protoOf(ElevationFunctions).uu = function (coords, z) {
994
+ var tile = this.cz(coords, z);
995
+ return new TileCoordinates(tile.dz_1, tile.ez_1, tile.hz_1);
996
996
  };
997
- protoOf(ElevationFunctions).ix = function (coords, z, tileSize) {
998
- var tile = this.fy(coords, z);
997
+ protoOf(ElevationFunctions).fy = function (coords, z, tileSize) {
998
+ var tile = this.cz(coords, z);
999
999
  // Inline function 'kotlin.math.floor' call
1000
- var x = (tile.iy_1 - tile.gy_1) * tileSize;
1000
+ var x = (tile.fz_1 - tile.dz_1) * tileSize;
1001
1001
  var tmp$ret$0 = Math.floor(x);
1002
1002
  var px = coerceIn(numberToInt(tmp$ret$0), 0, tileSize - 1 | 0);
1003
1003
  // Inline function 'kotlin.math.floor' call
1004
- var x_0 = (tile.jy_1 - tile.hy_1) * tileSize;
1004
+ var x_0 = (tile.gz_1 - tile.ez_1) * tileSize;
1005
1005
  var tmp$ret$1 = Math.floor(x_0);
1006
1006
  var py = coerceIn(numberToInt(tmp$ret$1), 0, tileSize - 1 | 0);
1007
- return new Pixel(new TileCoordinates(tile.gy_1, tile.hy_1, z), px, py);
1007
+ return new Pixel(new TileCoordinates(tile.dz_1, tile.ez_1, z), px, py);
1008
1008
  };
1009
- protoOf(ElevationFunctions).jx = function (coords, z, tileSize) {
1010
- var tile = this.fy(coords, z);
1011
- var px = (tile.iy_1 - tile.gy_1) * tileSize;
1012
- var py = (tile.jy_1 - tile.hy_1) * tileSize;
1013
- return new PixelFloat(new TileCoordinates(tile.gy_1, tile.hy_1, z), px, py);
1009
+ protoOf(ElevationFunctions).gy = function (coords, z, tileSize) {
1010
+ var tile = this.cz(coords, z);
1011
+ var px = (tile.fz_1 - tile.dz_1) * tileSize;
1012
+ var py = (tile.gz_1 - tile.ez_1) * tileSize;
1013
+ return new PixelFloat(new TileCoordinates(tile.dz_1, tile.ez_1, z), px, py);
1014
1014
  };
1015
1015
  var ElevationFunctions_instance;
1016
1016
  function ElevationFunctions_getInstance() {
1017
1017
  return ElevationFunctions_instance;
1018
1018
  }
1019
1019
  function fetchAndDecodeTile$ref() {
1020
+ KFunctionImpl.call(this, 1, 2, 2);
1020
1021
  }
1021
- protoOf(fetchAndDecodeTile$ref).ly = function (p0, $completion) {
1022
+ protoOf(fetchAndDecodeTile$ref).lz = function (p0, $completion) {
1022
1023
  return fetchAndDecodeTile(p0, $completion);
1023
1024
  };
1024
- protoOf(fetchAndDecodeTile$ref).k6 = function (p1, $completion) {
1025
- return this.ly((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1025
+ protoOf(fetchAndDecodeTile$ref).w6 = function (p1, $completion) {
1026
+ return this.lz((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1026
1027
  };
1027
- function fetchAndDecodeTile$ref_0() {
1028
- var i = new fetchAndDecodeTile$ref();
1029
- var l = function (p0, $completion) {
1030
- return i.ly(p0, $completion);
1031
- };
1032
- l.callableName = 'fetchAndDecodeTile';
1033
- l.$arity = 1;
1034
- return l;
1035
- }
1036
1028
  function ElevationProvider(config, fetcher) {
1037
1029
  config = config === VOID ? new ElevationProviderConfig() : config;
1038
1030
  var tmp;
1039
1031
  if (fetcher === VOID) {
1040
- tmp = fetchAndDecodeTile$ref_0();
1032
+ tmp = fetchAndDecodeTile$ref_1();
1041
1033
  } else {
1042
1034
  tmp = fetcher;
1043
1035
  }
1044
1036
  fetcher = tmp;
1045
- this.my_1 = config;
1046
- var containsArg = this.my_1.qy_1;
1037
+ this.mz_1 = config;
1038
+ var containsArg = this.mz_1.qz_1;
1047
1039
  // Inline function 'kotlin.require' call
1048
1040
  if (!(0 <= containsArg ? containsArg <= 15 : false)) {
1049
- var message = 'Invalid zoom level: ' + this.my_1.qy_1 + '. Must be an integer between 0 and 15';
1041
+ var message = 'Invalid zoom level: ' + this.mz_1.qz_1 + '. Must be an integer between 0 and 15';
1050
1042
  throw IllegalArgumentException_init_$Create$(toString(message));
1051
1043
  }
1052
1044
  // Inline function 'kotlin.require' call
1053
- if (!(this.my_1.ry_1 > 0)) {
1054
- var message_0 = 'Invalid cache size: ' + this.my_1.ry_1 + '. Must be a positive integer';
1045
+ if (!(this.mz_1.rz_1 > 0)) {
1046
+ var message_0 = 'Invalid cache size: ' + this.mz_1.rz_1 + '. Must be a positive integer';
1055
1047
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1056
1048
  }
1057
1049
  // Inline function 'kotlin.require' call
1058
- if (!(this.my_1.ty_1 > 0 && (this.my_1.ty_1 & (this.my_1.ty_1 - 1 | 0)) === 0)) {
1059
- var message_1 = 'Invalid tile size: ' + this.my_1.ty_1 + '. Must be a positive power of 2';
1050
+ if (!(this.mz_1.tz_1 > 0 && (this.mz_1.tz_1 & (this.mz_1.tz_1 - 1 | 0)) === 0)) {
1051
+ var message_1 = 'Invalid tile size: ' + this.mz_1.tz_1 + '. Must be a positive power of 2';
1060
1052
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1061
1053
  }
1062
- this.ny_1 = new TileManager(this.my_1.sy_1, this.my_1.ry_1, fetcher);
1063
- this.oy_1 = new ElevationCalculator(this.ny_1, this.my_1.ty_1);
1064
- this.py_1 = new BatchCalculator(this.oy_1);
1054
+ this.nz_1 = new TileManager(this.mz_1.sz_1, this.mz_1.rz_1, fetcher);
1055
+ this.oz_1 = new ElevationCalculator(this.nz_1, this.mz_1.tz_1);
1056
+ this.pz_1 = new BatchCalculator(this.oz_1);
1065
1057
  }
1066
- protoOf(ElevationProvider).vy = function (latitude, longitude, interpolation, $completion) {
1067
- return this.oy_1.gt(new LatLon(latitude, longitude), this.my_1.qy_1, interpolation, $completion);
1058
+ protoOf(ElevationProvider).vz = function (latitude, longitude, interpolation, $completion) {
1059
+ return this.oz_1.du(new LatLon(latitude, longitude), this.mz_1.qz_1, interpolation, $completion);
1068
1060
  };
1069
- protoOf(ElevationProvider).wy = function (coordinates, interpolation, $completion) {
1070
- return this.py_1.tu(coordinates, this.my_1.qy_1, interpolation, VOID, $completion);
1061
+ protoOf(ElevationProvider).wz = function (coordinates, interpolation, $completion) {
1062
+ return this.pz_1.qv(coordinates, this.mz_1.qz_1, interpolation, VOID, $completion);
1071
1063
  };
1072
- protoOf(ElevationProvider).xy = function (coordinates, interpolation, $completion, $super) {
1064
+ protoOf(ElevationProvider).xz = function (coordinates, interpolation, $completion, $super) {
1073
1065
  interpolation = interpolation === VOID ? true : interpolation;
1074
- return $super === VOID ? this.wy(coordinates, interpolation, $completion) : $super.wy.call(this, coordinates, interpolation, $completion);
1066
+ return $super === VOID ? this.wz(coordinates, interpolation, $completion) : $super.wz.call(this, coordinates, interpolation, $completion);
1075
1067
  };
1076
- protoOf(ElevationProvider).yy = function (path, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
1077
- return this.py_1.xu(path, this.my_1.qy_1, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
1068
+ protoOf(ElevationProvider).yz = function (path, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
1069
+ return this.pz_1.uv(path, this.mz_1.qz_1, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
1078
1070
  };
1079
1071
  function ElevationProviderConfig(zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution) {
1080
1072
  zoomLevel = zoomLevel === VOID ? 12 : zoomLevel;
@@ -1082,21 +1074,21 @@
1082
1074
  tileUrlTemplate = tileUrlTemplate === VOID ? 'https://tiles.mapterhorn.com/{z}/{x}/{y}.webp' : tileUrlTemplate;
1083
1075
  tileSize = tileSize === VOID ? 512 : tileSize;
1084
1076
  attribution = attribution === VOID ? new Attribution('Mapterhorn elevation data. See mapterhorn.com/attribution/ for details.', 'https://mapterhorn.com/attribution/') : attribution;
1085
- this.qy_1 = zoomLevel;
1086
- this.ry_1 = cacheSize;
1087
- this.sy_1 = tileUrlTemplate;
1088
- this.ty_1 = tileSize;
1089
- this.uy_1 = attribution;
1077
+ this.qz_1 = zoomLevel;
1078
+ this.rz_1 = cacheSize;
1079
+ this.sz_1 = tileUrlTemplate;
1080
+ this.tz_1 = tileSize;
1081
+ this.uz_1 = attribution;
1090
1082
  }
1091
1083
  protoOf(ElevationProviderConfig).toString = function () {
1092
- return 'ElevationProviderConfig(zoomLevel=' + this.qy_1 + ', cacheSize=' + this.ry_1 + ', tileUrlTemplate=' + this.sy_1 + ', tileSize=' + this.ty_1 + ', attribution=' + this.uy_1.toString() + ')';
1084
+ return 'ElevationProviderConfig(zoomLevel=' + this.qz_1 + ', cacheSize=' + this.rz_1 + ', tileUrlTemplate=' + this.sz_1 + ', tileSize=' + this.tz_1 + ', attribution=' + this.uz_1.toString() + ')';
1093
1085
  };
1094
1086
  protoOf(ElevationProviderConfig).hashCode = function () {
1095
- var result = this.qy_1;
1096
- result = imul(result, 31) + this.ry_1 | 0;
1097
- result = imul(result, 31) + getStringHashCode(this.sy_1) | 0;
1098
- result = imul(result, 31) + this.ty_1 | 0;
1099
- result = imul(result, 31) + this.uy_1.hashCode() | 0;
1087
+ var result = this.qz_1;
1088
+ result = imul(result, 31) + this.rz_1 | 0;
1089
+ result = imul(result, 31) + getStringHashCode(this.sz_1) | 0;
1090
+ result = imul(result, 31) + this.tz_1 | 0;
1091
+ result = imul(result, 31) + this.uz_1.hashCode() | 0;
1100
1092
  return result;
1101
1093
  };
1102
1094
  protoOf(ElevationProviderConfig).equals = function (other) {
@@ -1104,29 +1096,29 @@
1104
1096
  return true;
1105
1097
  if (!(other instanceof ElevationProviderConfig))
1106
1098
  return false;
1107
- if (!(this.qy_1 === other.qy_1))
1099
+ if (!(this.qz_1 === other.qz_1))
1108
1100
  return false;
1109
- if (!(this.ry_1 === other.ry_1))
1101
+ if (!(this.rz_1 === other.rz_1))
1110
1102
  return false;
1111
- if (!(this.sy_1 === other.sy_1))
1103
+ if (!(this.sz_1 === other.sz_1))
1112
1104
  return false;
1113
- if (!(this.ty_1 === other.ty_1))
1105
+ if (!(this.tz_1 === other.tz_1))
1114
1106
  return false;
1115
- if (!this.uy_1.equals(other.uy_1))
1107
+ if (!this.uz_1.equals(other.uz_1))
1116
1108
  return false;
1117
1109
  return true;
1118
1110
  };
1119
1111
  function Attribution(text, url) {
1120
1112
  url = url === VOID ? null : url;
1121
- this.zy_1 = text;
1122
- this.az_1 = url;
1113
+ this.zz_1 = text;
1114
+ this.a10_1 = url;
1123
1115
  }
1124
1116
  protoOf(Attribution).toString = function () {
1125
- return 'Attribution(text=' + this.zy_1 + ', url=' + this.az_1 + ')';
1117
+ return 'Attribution(text=' + this.zz_1 + ', url=' + this.a10_1 + ')';
1126
1118
  };
1127
1119
  protoOf(Attribution).hashCode = function () {
1128
- var result = getStringHashCode(this.zy_1);
1129
- result = imul(result, 31) + (this.az_1 == null ? 0 : getStringHashCode(this.az_1)) | 0;
1120
+ var result = getStringHashCode(this.zz_1);
1121
+ result = imul(result, 31) + (this.a10_1 == null ? 0 : getStringHashCode(this.a10_1)) | 0;
1130
1122
  return result;
1131
1123
  };
1132
1124
  protoOf(Attribution).equals = function (other) {
@@ -1134,9 +1126,9 @@
1134
1126
  return true;
1135
1127
  if (!(other instanceof Attribution))
1136
1128
  return false;
1137
- if (!(this.zy_1 === other.zy_1))
1129
+ if (!(this.zz_1 === other.zz_1))
1138
1130
  return false;
1139
- if (!(this.az_1 == other.az_1))
1131
+ if (!(this.a10_1 == other.a10_1))
1140
1132
  return false;
1141
1133
  return true;
1142
1134
  };
@@ -1147,7 +1139,7 @@
1147
1139
  startIndex = startIndex - 1 | 0;
1148
1140
  }
1149
1141
  var endIndex = index;
1150
- while (endIndex < (points.l() - 1 | 0) && distances[endIndex + 1 | 0] - current <= windowSize) {
1142
+ while (endIndex < (points.k() - 1 | 0) && distances[endIndex + 1 | 0] - current <= windowSize) {
1151
1143
  endIndex = endIndex + 1 | 0;
1152
1144
  }
1153
1145
  var totalWeight = 0.0;
@@ -1163,10 +1155,10 @@
1163
1155
  var d = Math.abs(this_0);
1164
1156
  var weight = 1.0 - d / windowSize;
1165
1157
  totalWeight = totalWeight + weight;
1166
- weightedSum = weightedSum + points.m(j).fv() * weight;
1158
+ weightedSum = weightedSum + points.l(j).cw() * weight;
1167
1159
  }
1168
1160
  while (!(j === last));
1169
- return totalWeight > 0.0 ? weightedSum / totalWeight : points.m(index).fv();
1161
+ return totalWeight > 0.0 ? weightedSum / totalWeight : points.l(index).cw();
1170
1162
  }
1171
1163
  function formatWindow($this, w) {
1172
1164
  var asLong = numberToLong(w);
@@ -1174,18 +1166,18 @@
1174
1166
  }
1175
1167
  function ElevationSmoother() {
1176
1168
  }
1177
- protoOf(ElevationSmoother).uu = function (points, windowSize) {
1178
- if (points.l() < 3)
1169
+ protoOf(ElevationSmoother).rv = function (points, windowSize) {
1170
+ if (points.k() < 3)
1179
1171
  return points;
1180
1172
  // Inline function 'kotlin.require' call
1181
1173
  if (!(windowSize > 0.0)) {
1182
1174
  var message = 'Invalid window size: ' + formatWindow(ElevationSmoother_instance, windowSize) + '. Must be positive';
1183
1175
  throw IllegalArgumentException_init_$Create$(toString(message));
1184
1176
  }
1185
- var distances = Distance_instance.jv(points);
1177
+ var distances = Distance_instance.gw(points);
1186
1178
  // Inline function 'kotlin.collections.List' call
1187
1179
  // Inline function 'kotlin.collections.MutableList' call
1188
- var size = points.l();
1180
+ var size = points.k();
1189
1181
  var list = ArrayList_init_$Create$_0(size);
1190
1182
  // Inline function 'kotlin.repeat' call
1191
1183
  var inductionVariable = 0;
@@ -1194,8 +1186,8 @@
1194
1186
  var index = inductionVariable;
1195
1187
  inductionVariable = inductionVariable + 1 | 0;
1196
1188
  var smoothed = computeSmoothedValue(ElevationSmoother_instance, index, points, distances, windowSize);
1197
- var tmp$ret$6 = new LatLonElevation(points.m(index).ht(), points.m(index).it(), smoothed);
1198
- list.h(tmp$ret$6);
1189
+ var tmp$ret$6 = new LatLonElevation(points.l(index).eu(), points.l(index).fu(), smoothed);
1190
+ list.n(tmp$ret$6);
1199
1191
  }
1200
1192
  while (inductionVariable < size);
1201
1193
  return list;
@@ -1205,122 +1197,120 @@
1205
1197
  return ElevationSmoother_instance;
1206
1198
  }
1207
1199
  function Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation) {
1208
- this.jz_1 = $semaphore;
1209
- this.kz_1 = $action;
1210
- this.lz_1 = $item;
1200
+ this.j10_1 = $semaphore;
1201
+ this.k10_1 = $action;
1202
+ this.l10_1 = $item;
1211
1203
  CoroutineImpl.call(this, resultContinuation);
1212
1204
  }
1213
- protoOf(Flux$forEachParallel$slambda$slambda).pz = function ($this$async, $completion) {
1214
- var tmp = this.qz($this$async, $completion);
1215
- tmp.w5_1 = Unit_instance;
1216
- tmp.x5_1 = null;
1217
- return tmp.c6();
1205
+ protoOf(Flux$forEachParallel$slambda$slambda).p10 = function ($this$async, $completion) {
1206
+ var tmp = this.q10($this$async, $completion);
1207
+ tmp.i6_1 = Unit_instance;
1208
+ tmp.j6_1 = null;
1209
+ return tmp.o6();
1218
1210
  };
1219
- protoOf(Flux$forEachParallel$slambda$slambda).k6 = function (p1, $completion) {
1220
- return this.pz((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1211
+ protoOf(Flux$forEachParallel$slambda$slambda).w6 = function (p1, $completion) {
1212
+ return this.p10((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1221
1213
  };
1222
- protoOf(Flux$forEachParallel$slambda$slambda).c6 = function () {
1223
- var suspendResult = this.w5_1;
1214
+ protoOf(Flux$forEachParallel$slambda$slambda).o6 = function () {
1215
+ var suspendResult = this.i6_1;
1224
1216
  $sm: do
1225
1217
  try {
1226
- var tmp = this.u5_1;
1218
+ var tmp = this.g6_1;
1227
1219
  switch (tmp) {
1228
1220
  case 0:
1229
- this.v5_1 = 6;
1230
- this.nz_1 = this.jz_1;
1231
- this.u5_1 = 1;
1232
- suspendResult = this.nz_1.nq(this);
1221
+ this.h6_1 = 6;
1222
+ this.n10_1 = this.j10_1;
1223
+ this.g6_1 = 1;
1224
+ suspendResult = this.n10_1.gr(this);
1233
1225
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1234
1226
  return suspendResult;
1235
1227
  }
1236
1228
 
1237
1229
  continue $sm;
1238
1230
  case 1:
1239
- this.oz_1 = Unit_instance;
1240
- this.u5_1 = 2;
1231
+ this.o10_1 = Unit_instance;
1232
+ this.g6_1 = 2;
1241
1233
  continue $sm;
1242
1234
  case 2:
1243
- this.v5_1 = 5;
1244
- this.u5_1 = 3;
1245
- suspendResult = this.kz_1(this.lz_1, this);
1235
+ this.h6_1 = 5;
1236
+ this.g6_1 = 3;
1237
+ suspendResult = this.k10_1(this.l10_1, this);
1246
1238
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1247
1239
  return suspendResult;
1248
1240
  }
1249
1241
 
1250
1242
  continue $sm;
1251
1243
  case 3:
1252
- this.oz_1 = Unit_instance;
1253
- this.v5_1 = 6;
1254
- this.u5_1 = 4;
1244
+ this.o10_1 = Unit_instance;
1245
+ this.h6_1 = 6;
1246
+ this.g6_1 = 4;
1255
1247
  continue $sm;
1256
1248
  case 4:
1257
- this.oz_1;
1258
- this.v5_1 = 6;
1259
- this.nz_1.hq();
1249
+ this.o10_1;
1250
+ this.h6_1 = 6;
1251
+ this.n10_1.ar();
1260
1252
  return Unit_instance;
1261
1253
  case 5:
1262
- this.v5_1 = 6;
1263
- var t = this.x5_1;
1264
- this.nz_1.hq();
1254
+ this.h6_1 = 6;
1255
+ var t = this.j6_1;
1256
+ this.n10_1.ar();
1265
1257
  throw t;
1266
1258
  case 6:
1267
- throw this.x5_1;
1259
+ throw this.j6_1;
1268
1260
  }
1269
1261
  } catch ($p) {
1270
1262
  var e = $p;
1271
- if (this.v5_1 === 6) {
1263
+ if (this.h6_1 === 6) {
1272
1264
  throw e;
1273
1265
  } else {
1274
- this.u5_1 = this.v5_1;
1275
- this.x5_1 = e;
1266
+ this.g6_1 = this.h6_1;
1267
+ this.j6_1 = e;
1276
1268
  }
1277
1269
  }
1278
1270
  while (true);
1279
1271
  };
1280
- protoOf(Flux$forEachParallel$slambda$slambda).qz = function ($this$async, completion) {
1281
- var i = new Flux$forEachParallel$slambda$slambda(this.jz_1, this.kz_1, this.lz_1, completion);
1282
- i.mz_1 = $this$async;
1272
+ protoOf(Flux$forEachParallel$slambda$slambda).q10 = function ($this$async, completion) {
1273
+ var i = new Flux$forEachParallel$slambda$slambda(this.j10_1, this.k10_1, this.l10_1, completion);
1274
+ i.m10_1 = $this$async;
1283
1275
  return i;
1284
1276
  };
1285
1277
  function Flux$forEachParallel$slambda$slambda_0($semaphore, $action, $item, resultContinuation) {
1286
1278
  var i = new Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation);
1287
- var l = function ($this$async, $completion) {
1288
- return i.pz($this$async, $completion);
1289
- };
1290
- l.$arity = 1;
1291
- return l;
1279
+ return constructCallableReference(function ($this$async, $completion) {
1280
+ return i.p10($this$async, $completion);
1281
+ }, 1);
1292
1282
  }
1293
1283
  function Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation) {
1294
- this.zz_1 = $maxParallel;
1295
- this.a10_1 = $items;
1296
- this.b10_1 = $action;
1284
+ this.z10_1 = $maxParallel;
1285
+ this.a11_1 = $items;
1286
+ this.b11_1 = $action;
1297
1287
  CoroutineImpl.call(this, resultContinuation);
1298
1288
  }
1299
- protoOf(Flux$forEachParallel$slambda).d10 = function ($this$coroutineScope, $completion) {
1300
- var tmp = this.qz($this$coroutineScope, $completion);
1301
- tmp.w5_1 = Unit_instance;
1302
- tmp.x5_1 = null;
1303
- return tmp.c6();
1289
+ protoOf(Flux$forEachParallel$slambda).d11 = function ($this$coroutineScope, $completion) {
1290
+ var tmp = this.q10($this$coroutineScope, $completion);
1291
+ tmp.i6_1 = Unit_instance;
1292
+ tmp.j6_1 = null;
1293
+ return tmp.o6();
1304
1294
  };
1305
- protoOf(Flux$forEachParallel$slambda).k6 = function (p1, $completion) {
1306
- return this.d10((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1295
+ protoOf(Flux$forEachParallel$slambda).w6 = function (p1, $completion) {
1296
+ return this.d11((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1307
1297
  };
1308
- protoOf(Flux$forEachParallel$slambda).c6 = function () {
1309
- var suspendResult = this.w5_1;
1298
+ protoOf(Flux$forEachParallel$slambda).o6 = function () {
1299
+ var suspendResult = this.i6_1;
1310
1300
  $sm: do
1311
1301
  try {
1312
- var tmp = this.u5_1;
1302
+ var tmp = this.g6_1;
1313
1303
  switch (tmp) {
1314
1304
  case 0:
1315
- this.v5_1 = 2;
1316
- var semaphore = Semaphore(this.zz_1);
1317
- this.u5_1 = 1;
1318
- var this_0 = this.a10_1;
1305
+ this.h6_1 = 2;
1306
+ var semaphore = Semaphore(this.z10_1);
1307
+ this.g6_1 = 1;
1308
+ var this_0 = this.a11_1;
1319
1309
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1320
- var _iterator__ex2g4s = this_0.i();
1321
- while (_iterator__ex2g4s.j()) {
1322
- var item = _iterator__ex2g4s.k();
1323
- destination.h(async(this.c10_1, VOID, VOID, Flux$forEachParallel$slambda$slambda_0(semaphore, this.b10_1, item, null)));
1310
+ var _iterator__ex2g4s = this_0.h();
1311
+ while (_iterator__ex2g4s.i()) {
1312
+ var item = _iterator__ex2g4s.j();
1313
+ destination.n(async(this.c11_1, VOID, VOID, Flux$forEachParallel$slambda$slambda_0(semaphore, this.b11_1, item, null)));
1324
1314
  }
1325
1315
 
1326
1316
  suspendResult = awaitAll(destination, this);
@@ -1332,54 +1322,52 @@
1332
1322
  case 1:
1333
1323
  return suspendResult;
1334
1324
  case 2:
1335
- throw this.x5_1;
1325
+ throw this.j6_1;
1336
1326
  }
1337
1327
  } catch ($p) {
1338
1328
  var e = $p;
1339
- if (this.v5_1 === 2) {
1329
+ if (this.h6_1 === 2) {
1340
1330
  throw e;
1341
1331
  } else {
1342
- this.u5_1 = this.v5_1;
1343
- this.x5_1 = e;
1332
+ this.g6_1 = this.h6_1;
1333
+ this.j6_1 = e;
1344
1334
  }
1345
1335
  }
1346
1336
  while (true);
1347
1337
  };
1348
- protoOf(Flux$forEachParallel$slambda).qz = function ($this$coroutineScope, completion) {
1349
- var i = new Flux$forEachParallel$slambda(this.zz_1, this.a10_1, this.b10_1, completion);
1350
- i.c10_1 = $this$coroutineScope;
1338
+ protoOf(Flux$forEachParallel$slambda).q10 = function ($this$coroutineScope, completion) {
1339
+ var i = new Flux$forEachParallel$slambda(this.z10_1, this.a11_1, this.b11_1, completion);
1340
+ i.c11_1 = $this$coroutineScope;
1351
1341
  return i;
1352
1342
  };
1353
1343
  function Flux$forEachParallel$slambda_0($maxParallel, $items, $action, resultContinuation) {
1354
1344
  var i = new Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation);
1355
- var l = function ($this$coroutineScope, $completion) {
1356
- return i.d10($this$coroutineScope, $completion);
1357
- };
1358
- l.$arity = 1;
1359
- return l;
1345
+ return constructCallableReference(function ($this$coroutineScope, $completion) {
1346
+ return i.d11($this$coroutineScope, $completion);
1347
+ }, 1);
1360
1348
  }
1361
1349
  function $forEachParallelCOROUTINE$(_this__u8e3s4, items, maxParallel, action, resultContinuation) {
1362
1350
  CoroutineImpl.call(this, resultContinuation);
1363
- this.m10_1 = _this__u8e3s4;
1364
- this.n10_1 = items;
1365
- this.o10_1 = maxParallel;
1366
- this.p10_1 = action;
1351
+ this.m11_1 = _this__u8e3s4;
1352
+ this.n11_1 = items;
1353
+ this.o11_1 = maxParallel;
1354
+ this.p11_1 = action;
1367
1355
  }
1368
- protoOf($forEachParallelCOROUTINE$).c6 = function () {
1369
- var suspendResult = this.w5_1;
1356
+ protoOf($forEachParallelCOROUTINE$).o6 = function () {
1357
+ var suspendResult = this.i6_1;
1370
1358
  $sm: do
1371
1359
  try {
1372
- var tmp = this.u5_1;
1360
+ var tmp = this.g6_1;
1373
1361
  switch (tmp) {
1374
1362
  case 0:
1375
- this.v5_1 = 2;
1376
- if (!(this.o10_1 >= 1)) {
1377
- var message = 'maxParallel must be >= 1, got ' + this.o10_1;
1363
+ this.h6_1 = 2;
1364
+ if (!(this.o11_1 >= 1)) {
1365
+ var message = 'maxParallel must be >= 1, got ' + this.o11_1;
1378
1366
  throw IllegalArgumentException_init_$Create$(toString(message));
1379
1367
  }
1380
1368
 
1381
- this.u5_1 = 1;
1382
- suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.o10_1, this.n10_1, this.p10_1, null), this);
1369
+ this.g6_1 = 1;
1370
+ suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.o11_1, this.n11_1, this.p11_1, null), this);
1383
1371
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1384
1372
  return suspendResult;
1385
1373
  }
@@ -1388,26 +1376,26 @@
1388
1376
  case 1:
1389
1377
  return Unit_instance;
1390
1378
  case 2:
1391
- throw this.x5_1;
1379
+ throw this.j6_1;
1392
1380
  }
1393
1381
  } catch ($p) {
1394
1382
  var e = $p;
1395
- if (this.v5_1 === 2) {
1383
+ if (this.h6_1 === 2) {
1396
1384
  throw e;
1397
1385
  } else {
1398
- this.u5_1 = this.v5_1;
1399
- this.x5_1 = e;
1386
+ this.g6_1 = this.h6_1;
1387
+ this.j6_1 = e;
1400
1388
  }
1401
1389
  }
1402
1390
  while (true);
1403
1391
  };
1404
1392
  function Flux() {
1405
1393
  }
1406
- protoOf(Flux).bu = function (items, maxParallel, action, $completion) {
1394
+ protoOf(Flux).yu = function (items, maxParallel, action, $completion) {
1407
1395
  var tmp = new $forEachParallelCOROUTINE$(this, items, maxParallel, action, $completion);
1408
- tmp.w5_1 = Unit_instance;
1409
- tmp.x5_1 = null;
1410
- return tmp.c6();
1396
+ tmp.i6_1 = Unit_instance;
1397
+ tmp.j6_1 = null;
1398
+ return tmp.o6();
1411
1399
  };
1412
1400
  var Flux_instance;
1413
1401
  function Flux_getInstance() {
@@ -1415,21 +1403,21 @@
1415
1403
  }
1416
1404
  function $getCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
1417
1405
  CoroutineImpl.call(this, resultContinuation);
1418
- this.y10_1 = _this__u8e3s4;
1419
- this.z10_1 = key;
1406
+ this.y11_1 = _this__u8e3s4;
1407
+ this.z11_1 = key;
1420
1408
  }
1421
- protoOf($getCOROUTINE$).c6 = function () {
1422
- var suspendResult = this.w5_1;
1409
+ protoOf($getCOROUTINE$).o6 = function () {
1410
+ var suspendResult = this.i6_1;
1423
1411
  $sm: do
1424
1412
  try {
1425
- var tmp = this.u5_1;
1413
+ var tmp = this.g6_1;
1426
1414
  switch (tmp) {
1427
1415
  case 0:
1428
- this.v5_1 = 12;
1429
- this.l11_1 = this.y10_1.p11_1;
1430
- this.k11_1 = null;
1431
- this.u5_1 = 1;
1432
- suspendResult = this.l11_1.fq(this.k11_1, this);
1416
+ this.h6_1 = 12;
1417
+ this.l12_1 = this.y11_1.p12_1;
1418
+ this.k12_1 = null;
1419
+ this.g6_1 = 1;
1420
+ suspendResult = this.l12_1.yq(this.k12_1, this);
1433
1421
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1434
1422
  return suspendResult;
1435
1423
  }
@@ -1442,52 +1430,52 @@
1442
1430
  l$ret$1: do {
1443
1431
  var tmp_0;
1444
1432
  try {
1445
- var tmp0_safe_receiver = this.y10_1.q11_1.q2(this.z10_1);
1433
+ var tmp0_safe_receiver = this.y11_1.q12_1.b3(this.z11_1);
1446
1434
  if (tmp0_safe_receiver == null)
1447
1435
  null;
1448
1436
  else {
1449
- var tmp0 = this.y10_1.q11_1;
1450
- var key = this.z10_1;
1451
- tmp0.p2(key, tmp0_safe_receiver);
1437
+ var tmp0 = this.y11_1.q12_1;
1438
+ var key = this.z11_1;
1439
+ tmp0.a3(key, tmp0_safe_receiver);
1452
1440
  tmp$ret$0 = tmp0_safe_receiver;
1453
1441
  break l$ret$1;
1454
1442
  }
1455
- tmp$ret$2 = this.y10_1.r11_1.h1(this.z10_1);
1443
+ tmp$ret$2 = this.y11_1.r12_1.j1(this.z11_1);
1456
1444
  break l$ret$3;
1457
1445
  } catch ($p) {
1458
1446
  var tmp_1;
1459
1447
  var t = $p;
1460
- this.l11_1.rp(this.k11_1);
1448
+ this.l12_1.kq(this.k12_1);
1461
1449
  throw t;
1462
1450
  }
1463
1451
  }
1464
1452
  while (false);
1465
1453
  var tmp_2 = tmp$ret$0;
1466
- this.l11_1.rp(this.k11_1);
1454
+ this.l12_1.kq(this.k12_1);
1467
1455
  return tmp_2;
1468
1456
  }
1469
1457
  while (false);
1470
1458
  var tmp_3 = tmp$ret$2;
1471
- this.l11_1.rp(this.k11_1);
1459
+ this.l12_1.kq(this.k12_1);
1472
1460
  var existing = tmp_3;
1473
1461
  if (!(existing == null)) {
1474
- this.u5_1 = 11;
1475
- suspendResult = existing.zh(this);
1462
+ this.g6_1 = 11;
1463
+ suspendResult = existing.si(this);
1476
1464
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1477
1465
  return suspendResult;
1478
1466
  }
1479
1467
  continue $sm;
1480
1468
  } else {
1481
- this.u5_1 = 2;
1469
+ this.g6_1 = 2;
1482
1470
  continue $sm;
1483
1471
  }
1484
1472
 
1485
1473
  case 2:
1486
- this.b11_1 = CompletableDeferred();
1487
- this.j11_1 = this.y10_1.p11_1;
1488
- this.i11_1 = null;
1489
- this.u5_1 = 3;
1490
- suspendResult = this.j11_1.fq(this.i11_1, this);
1474
+ this.b12_1 = CompletableDeferred();
1475
+ this.j12_1 = this.y11_1.p12_1;
1476
+ this.i12_1 = null;
1477
+ this.g6_1 = 3;
1478
+ suspendResult = this.j12_1.yq(this.i12_1, this);
1491
1479
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1492
1480
  return suspendResult;
1493
1481
  }
@@ -1500,113 +1488,113 @@
1500
1488
  l$ret$5: do {
1501
1489
  var tmp_4;
1502
1490
  try {
1503
- var tmp0_safe_receiver_0 = this.y10_1.q11_1.q2(this.z10_1);
1491
+ var tmp0_safe_receiver_0 = this.y11_1.q12_1.b3(this.z11_1);
1504
1492
  if (tmp0_safe_receiver_0 == null)
1505
1493
  null;
1506
1494
  else {
1507
- var tmp0_0 = this.y10_1.q11_1;
1508
- var key_0 = this.z10_1;
1509
- tmp0_0.p2(key_0, tmp0_safe_receiver_0);
1495
+ var tmp0_0 = this.y11_1.q12_1;
1496
+ var key_0 = this.z11_1;
1497
+ tmp0_0.a3(key_0, tmp0_safe_receiver_0);
1510
1498
  tmp$ret$4 = tmp0_safe_receiver_0;
1511
1499
  break l$ret$5;
1512
1500
  }
1513
- var raced = this.y10_1.r11_1.h1(this.z10_1);
1501
+ var raced = this.y11_1.r12_1.j1(this.z11_1);
1514
1502
  var tmp_5;
1515
1503
  if (!(raced == null)) {
1516
1504
  tmp_5 = raced;
1517
1505
  } else {
1518
- var tmp0_1 = this.y10_1.r11_1;
1519
- var tmp2 = this.z10_1;
1520
- var value = this.b11_1;
1521
- tmp0_1.p2(tmp2, value);
1506
+ var tmp0_1 = this.y11_1.r12_1;
1507
+ var tmp2 = this.z11_1;
1508
+ var value = this.b12_1;
1509
+ tmp0_1.a3(tmp2, value);
1522
1510
  tmp_5 = null;
1523
1511
  }
1524
1512
  tmp$ret$6 = tmp_5;
1525
1513
  break l$ret$7;
1526
- } catch ($p) {
1514
+ } catch ($p_0) {
1527
1515
  var tmp_6;
1528
- var t_0 = $p;
1529
- this.j11_1.rp(this.i11_1);
1516
+ var t_0 = $p_0;
1517
+ this.j12_1.kq(this.i12_1);
1530
1518
  throw t_0;
1531
1519
  }
1532
1520
  }
1533
1521
  while (false);
1534
1522
  var tmp_7 = tmp$ret$4;
1535
- this.j11_1.rp(this.i11_1);
1523
+ this.j12_1.kq(this.i12_1);
1536
1524
  return tmp_7;
1537
1525
  }
1538
1526
  while (false);
1539
1527
  var tmp_8 = tmp$ret$6;
1540
- this.j11_1.rp(this.i11_1);
1528
+ this.j12_1.kq(this.i12_1);
1541
1529
  var awaitInstead = tmp_8;
1542
1530
  if (!(awaitInstead == null)) {
1543
- this.u5_1 = 10;
1544
- suspendResult = awaitInstead.zh(this);
1531
+ this.g6_1 = 10;
1532
+ suspendResult = awaitInstead.si(this);
1545
1533
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1546
1534
  return suspendResult;
1547
1535
  }
1548
1536
  continue $sm;
1549
1537
  } else {
1550
- this.u5_1 = 4;
1538
+ this.g6_1 = 4;
1551
1539
  continue $sm;
1552
1540
  }
1553
1541
 
1554
1542
  case 4:
1555
- this.v5_1 = 6;
1556
- this.u5_1 = 5;
1557
- suspendResult = this.y10_1.n11_1(this.z10_1, this);
1543
+ this.h6_1 = 6;
1544
+ this.g6_1 = 5;
1545
+ suspendResult = this.y11_1.n12_1(this.z11_1, this);
1558
1546
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1559
1547
  return suspendResult;
1560
1548
  }
1561
1549
 
1562
1550
  continue $sm;
1563
1551
  case 5:
1564
- this.e11_1 = suspendResult;
1565
- this.v5_1 = 12;
1566
- this.u5_1 = 8;
1552
+ this.e12_1 = suspendResult;
1553
+ this.h6_1 = 12;
1554
+ this.g6_1 = 8;
1567
1555
  continue $sm;
1568
1556
  case 6:
1569
- this.v5_1 = 12;
1570
- var tmp_9 = this.x5_1;
1557
+ this.h6_1 = 12;
1558
+ var tmp_9 = this.j6_1;
1571
1559
  if (tmp_9 instanceof Error) {
1572
- this.f11_1 = this.x5_1;
1573
- this.h11_1 = this.y10_1.p11_1;
1574
- this.g11_1 = null;
1575
- this.u5_1 = 7;
1576
- suspendResult = this.h11_1.fq(this.g11_1, this);
1560
+ this.f12_1 = this.j6_1;
1561
+ this.h12_1 = this.y11_1.p12_1;
1562
+ this.g12_1 = null;
1563
+ this.g6_1 = 7;
1564
+ suspendResult = this.h12_1.yq(this.g12_1, this);
1577
1565
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1578
1566
  return suspendResult;
1579
1567
  }
1580
1568
  continue $sm;
1581
1569
  } else {
1582
- throw this.x5_1;
1570
+ throw this.j6_1;
1583
1571
  }
1584
1572
 
1585
1573
  case 7:
1586
1574
  l$ret$9: do {
1587
1575
  var tmp_10;
1588
1576
  try {
1589
- this.y10_1.r11_1.q2(this.z10_1);
1577
+ this.y11_1.r12_1.b3(this.z11_1);
1590
1578
  break l$ret$9;
1591
- } catch ($p) {
1579
+ } catch ($p_1) {
1592
1580
  var tmp_11;
1593
- var t_1 = $p;
1594
- this.h11_1.rp(this.g11_1);
1581
+ var t_1 = $p_1;
1582
+ this.h12_1.kq(this.g12_1);
1595
1583
  throw t_1;
1596
1584
  }
1597
1585
  }
1598
1586
  while (false);
1599
- this.h11_1.rp(this.g11_1);
1600
- this.b11_1.xk(this.f11_1);
1587
+ this.h12_1.kq(this.g12_1);
1588
+ this.b12_1.ql(this.f12_1);
1601
1589
  var tmp_12 = this;
1602
- throw this.f11_1;
1590
+ throw this.f12_1;
1603
1591
  case 8:
1604
- this.v5_1 = 12;
1605
- this.a11_1 = this.e11_1;
1606
- this.d11_1 = this.y10_1.p11_1;
1607
- this.c11_1 = null;
1608
- this.u5_1 = 9;
1609
- suspendResult = this.d11_1.fq(this.c11_1, this);
1592
+ this.h6_1 = 12;
1593
+ this.a12_1 = this.e12_1;
1594
+ this.d12_1 = this.y11_1.p12_1;
1595
+ this.c12_1 = null;
1596
+ this.g6_1 = 9;
1597
+ suspendResult = this.d12_1.yq(this.c12_1, this);
1610
1598
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1611
1599
  return suspendResult;
1612
1600
  }
@@ -1616,89 +1604,89 @@
1616
1604
  l$ret$11: do {
1617
1605
  var tmp_13;
1618
1606
  try {
1619
- this.y10_1.r11_1.q2(this.z10_1);
1607
+ this.y11_1.r12_1.b3(this.z11_1);
1620
1608
  var tmp_14;
1621
- if (this.y10_1.q11_1.l() >= this.y10_1.m11_1) {
1622
- var tmp0_2 = this.y10_1.q11_1;
1623
- var key_1 = this.z10_1;
1624
- tmp_14 = !(isInterface(tmp0_2, KtMap) ? tmp0_2 : THROW_CCE()).g1(key_1);
1609
+ if (this.y11_1.q12_1.k() >= this.y11_1.m12_1) {
1610
+ var tmp0_2 = this.y11_1.q12_1;
1611
+ var key_1 = this.z11_1;
1612
+ tmp_14 = !(isInterface(tmp0_2, KtMap) ? tmp0_2 : THROW_CCE()).i1(key_1);
1625
1613
  } else {
1626
1614
  tmp_14 = false;
1627
1615
  }
1628
1616
  if (tmp_14) {
1629
- var iter = this.y10_1.q11_1.j1().i();
1630
- var oldest = iter.k();
1631
- var oldestValue = oldest.f1();
1617
+ var iter = this.y11_1.q12_1.l1().h();
1618
+ var oldest = iter.j();
1619
+ var oldestValue = oldest.h1();
1632
1620
  iter.d2();
1633
- var tmp0_safe_receiver_1 = this.y10_1.o11_1;
1621
+ var tmp0_safe_receiver_1 = this.y11_1.o12_1;
1634
1622
  if (tmp0_safe_receiver_1 == null)
1635
1623
  null;
1636
1624
  else
1637
1625
  tmp0_safe_receiver_1(oldestValue);
1638
1626
  }
1639
- var tmp0_3 = this.y10_1.q11_1;
1640
- var tmp2_0 = this.z10_1;
1641
- var value_0 = this.a11_1;
1642
- tmp0_3.p2(tmp2_0, value_0);
1627
+ var tmp0_3 = this.y11_1.q12_1;
1628
+ var tmp2_0 = this.z11_1;
1629
+ var value_0 = this.a12_1;
1630
+ tmp0_3.a3(tmp2_0, value_0);
1643
1631
  break l$ret$11;
1644
- } catch ($p) {
1632
+ } catch ($p_2) {
1645
1633
  var tmp_15;
1646
- var t_2 = $p;
1647
- this.d11_1.rp(this.c11_1);
1634
+ var t_2 = $p_2;
1635
+ this.d12_1.kq(this.c12_1);
1648
1636
  throw t_2;
1649
1637
  }
1650
1638
  }
1651
1639
  while (false);
1652
- this.d11_1.rp(this.c11_1);
1653
- this.b11_1.wk(this.a11_1);
1654
- return this.a11_1;
1640
+ this.d12_1.kq(this.c12_1);
1641
+ this.b12_1.pl(this.a12_1);
1642
+ return this.a12_1;
1655
1643
  case 10:
1656
1644
  return suspendResult;
1657
1645
  case 11:
1658
1646
  return suspendResult;
1659
1647
  case 12:
1660
- throw this.x5_1;
1648
+ throw this.j6_1;
1661
1649
  }
1662
- } catch ($p) {
1663
- var e = $p;
1664
- if (this.v5_1 === 12) {
1650
+ } catch ($p_3) {
1651
+ var e = $p_3;
1652
+ if (this.h6_1 === 12) {
1665
1653
  throw e;
1666
1654
  } else {
1667
- this.u5_1 = this.v5_1;
1668
- this.x5_1 = e;
1655
+ this.g6_1 = this.h6_1;
1656
+ this.j6_1 = e;
1669
1657
  }
1670
1658
  }
1671
1659
  while (true);
1672
1660
  };
1673
1661
  function LruCache(maxSize, loader, onEvict) {
1674
1662
  onEvict = onEvict === VOID ? null : onEvict;
1675
- this.m11_1 = maxSize;
1676
- this.n11_1 = loader;
1677
- this.o11_1 = onEvict;
1663
+ this.m12_1 = maxSize;
1664
+ this.n12_1 = loader;
1665
+ this.o12_1 = onEvict;
1678
1666
  // Inline function 'kotlin.require' call
1679
- if (!(this.m11_1 > 0)) {
1667
+ if (!(this.m12_1 > 0)) {
1680
1668
  var message = 'Cache size must be greater than 0';
1681
1669
  throw IllegalArgumentException_init_$Create$(toString(message));
1682
1670
  }
1683
- this.p11_1 = Mutex();
1684
- this.q11_1 = LinkedHashMap_init_$Create$();
1671
+ this.p12_1 = Mutex();
1672
+ this.q12_1 = LinkedHashMap_init_$Create$();
1685
1673
  var tmp = this;
1686
1674
  // Inline function 'kotlin.collections.mutableMapOf' call
1687
- tmp.r11_1 = LinkedHashMap_init_$Create$();
1675
+ tmp.r12_1 = LinkedHashMap_init_$Create$();
1688
1676
  }
1689
- protoOf(LruCache).s11 = function (key, $completion) {
1677
+ protoOf(LruCache).s12 = function (key, $completion) {
1690
1678
  var tmp = new $getCOROUTINE$(this, key, $completion);
1691
- tmp.w5_1 = Unit_instance;
1692
- tmp.x5_1 = null;
1693
- return tmp.c6();
1679
+ tmp.i6_1 = Unit_instance;
1680
+ tmp.j6_1 = null;
1681
+ return tmp.o6();
1694
1682
  };
1695
1683
  function RawTile(width, height, rgba) {
1696
- this.t11_1 = width;
1697
- this.u11_1 = height;
1698
- this.v11_1 = rgba;
1684
+ this.t12_1 = width;
1685
+ this.u12_1 = height;
1686
+ this.v12_1 = rgba;
1699
1687
  // Inline function 'kotlin.require' call
1700
- if (!(this.v11_1.length === imul(imul(this.t11_1, this.u11_1), 4))) {
1701
- var message = 'rgba size ' + this.v11_1.length + ' does not match width*height*4 (' + imul(imul(this.t11_1, this.u11_1), 4) + ')';
1688
+ if (!(this.v12_1.length === imul(imul(this.t12_1, this.u12_1), 4))) {
1689
+ var message = 'rgba size ' + this.v12_1.length + ' does not match width*height*4 (' + imul(imul(this.t12_1, this.u12_1), 4) + ')';
1702
1690
  throw IllegalArgumentException_init_$Create$(toString(message));
1703
1691
  }
1704
1692
  }
@@ -1707,16 +1695,16 @@
1707
1695
  return true;
1708
1696
  if (!(other instanceof RawTile))
1709
1697
  return false;
1710
- return this.t11_1 === other.t11_1 && this.u11_1 === other.u11_1 && contentEquals(this.v11_1, other.v11_1);
1698
+ return this.t12_1 === other.t12_1 && this.u12_1 === other.u12_1 && contentEquals(this.v12_1, other.v12_1);
1711
1699
  };
1712
1700
  protoOf(RawTile).hashCode = function () {
1713
- var result = this.t11_1;
1714
- result = imul(31, result) + this.u11_1 | 0;
1715
- result = imul(31, result) + contentHashCode(this.v11_1) | 0;
1701
+ var result = this.t12_1;
1702
+ result = imul(31, result) + this.u12_1 | 0;
1703
+ result = imul(31, result) + contentHashCode(this.v12_1) | 0;
1716
1704
  return result;
1717
1705
  };
1718
1706
  function Tile_init_$Init$(raw, $this) {
1719
- Tile.call($this, raw.t11_1, raw.u11_1, raw.v11_1);
1707
+ Tile.call($this, raw.t12_1, raw.u12_1, raw.v12_1);
1720
1708
  return $this;
1721
1709
  }
1722
1710
  function Tile_init_$Create$(raw) {
@@ -1724,7 +1712,7 @@
1724
1712
  }
1725
1713
  function Companion() {
1726
1714
  }
1727
- protoOf(Companion).w11 = function (r, g, b) {
1715
+ protoOf(Companion).w12 = function (r, g, b) {
1728
1716
  var raw = r * 256.0 + g + b / 256.0 - 32768.0;
1729
1717
  return round(raw * 100.0) / 100.0;
1730
1718
  };
@@ -1733,91 +1721,83 @@
1733
1721
  return Companion_instance;
1734
1722
  }
1735
1723
  function Tile(width, height, rgba) {
1736
- this.vx_1 = width;
1737
- this.wx_1 = height;
1738
- this.xx_1 = rgba;
1724
+ this.sy_1 = width;
1725
+ this.ty_1 = height;
1726
+ this.uy_1 = rgba;
1739
1727
  var tmp = this;
1740
1728
  var tmp_0 = 0;
1741
- var tmp_1 = imul(this.vx_1, this.wx_1);
1729
+ var tmp_1 = imul(this.sy_1, this.ty_1);
1742
1730
  var tmp_2 = new Float64Array(tmp_1);
1743
1731
  while (tmp_0 < tmp_1) {
1744
1732
  tmp_2[tmp_0] = NaN;
1745
1733
  tmp_0 = tmp_0 + 1 | 0;
1746
1734
  }
1747
- tmp.yx_1 = tmp_2;
1748
- this.zx_1 = 0;
1735
+ tmp.vy_1 = tmp_2;
1736
+ this.wy_1 = 0;
1749
1737
  }
1750
- protoOf(Tile).ay = function (pixel) {
1751
- var containsUpper = this.vx_1;
1752
- var containsArg = pixel.px_1;
1738
+ protoOf(Tile).xy = function (pixel) {
1739
+ var containsUpper = this.sy_1;
1740
+ var containsArg = pixel.my_1;
1753
1741
  // Inline function 'kotlin.require' call
1754
1742
  if (!(0 <= containsArg ? containsArg < containsUpper : false)) {
1755
- var message = 'Invalid x position: ' + pixel.px_1 + '. Must be between 0 and ' + (this.vx_1 - 1 | 0);
1743
+ var message = 'Invalid x position: ' + pixel.my_1 + '. Must be between 0 and ' + (this.sy_1 - 1 | 0);
1756
1744
  throw IllegalArgumentException_init_$Create$(toString(message));
1757
1745
  }
1758
- var containsUpper_0 = this.wx_1;
1759
- var containsArg_0 = pixel.qx_1;
1746
+ var containsUpper_0 = this.ty_1;
1747
+ var containsArg_0 = pixel.ny_1;
1760
1748
  // Inline function 'kotlin.require' call
1761
1749
  if (!(0 <= containsArg_0 ? containsArg_0 < containsUpper_0 : false)) {
1762
- var message_0 = 'Invalid y position: ' + pixel.qx_1 + '. Must be between 0 and ' + (this.wx_1 - 1 | 0);
1750
+ var message_0 = 'Invalid y position: ' + pixel.ny_1 + '. Must be between 0 and ' + (this.ty_1 - 1 | 0);
1763
1751
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1764
1752
  }
1765
- var idx = imul(pixel.qx_1, this.vx_1) + pixel.px_1 | 0;
1766
- var cached = this.yx_1[idx];
1753
+ var idx = imul(pixel.ny_1, this.sy_1) + pixel.my_1 | 0;
1754
+ var cached = this.vy_1[idx];
1767
1755
  if (!isNaN_0(cached))
1768
1756
  return cached;
1769
1757
  var byteOffset = imul(idx, 4);
1770
- var r = this.xx_1[byteOffset] & 255;
1771
- var g = this.xx_1[byteOffset + 1 | 0] & 255;
1772
- var b = this.xx_1[byteOffset + 2 | 0] & 255;
1773
- var elevation = Companion_instance.w11(r, g, b);
1774
- this.yx_1[idx] = elevation;
1775
- this.zx_1 = this.zx_1 + 1 | 0;
1758
+ var r = this.uy_1[byteOffset] & 255;
1759
+ var g = this.uy_1[byteOffset + 1 | 0] & 255;
1760
+ var b = this.uy_1[byteOffset + 2 | 0] & 255;
1761
+ var elevation = Companion_instance.w12(r, g, b);
1762
+ this.vy_1[idx] = elevation;
1763
+ this.wy_1 = this.wy_1 + 1 | 0;
1776
1764
  return elevation;
1777
1765
  };
1778
1766
  function buildUrl($this, tc) {
1779
- return replace(replace(replace($this.rx_1, '{z}', tc.au_1.toString()), '{x}', tc.yt_1.toString()), '{y}', tc.zt_1.toString());
1767
+ return replace(replace(replace($this.oy_1, '{z}', tc.xu_1.toString()), '{x}', tc.vu_1.toString()), '{y}', tc.wu_1.toString());
1780
1768
  }
1781
- function fetchAndDecodeTile$ref_1() {
1769
+ function fetchAndDecodeTile$ref_0() {
1770
+ KFunctionImpl.call(this, 1, 2, 2);
1782
1771
  }
1783
- protoOf(fetchAndDecodeTile$ref_1).ly = function (p0, $completion) {
1772
+ protoOf(fetchAndDecodeTile$ref_0).lz = function (p0, $completion) {
1784
1773
  return fetchAndDecodeTile(p0, $completion);
1785
1774
  };
1786
- protoOf(fetchAndDecodeTile$ref_1).k6 = function (p1, $completion) {
1787
- return this.ly((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1775
+ protoOf(fetchAndDecodeTile$ref_0).w6 = function (p1, $completion) {
1776
+ return this.lz((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1788
1777
  };
1789
- function fetchAndDecodeTile$ref_2() {
1790
- var i = new fetchAndDecodeTile$ref_1();
1791
- var l = function (p0, $completion) {
1792
- return i.ly(p0, $completion);
1793
- };
1794
- l.callableName = 'fetchAndDecodeTile';
1795
- l.$arity = 1;
1796
- return l;
1797
- }
1798
1778
  function TileManager$cache$slambda(this$0, resultContinuation) {
1799
- this.f12_1 = this$0;
1779
+ this.i13_1 = this$0;
1800
1780
  CoroutineImpl.call(this, resultContinuation);
1801
1781
  }
1802
- protoOf(TileManager$cache$slambda).h12 = function (tc, $completion) {
1803
- var tmp = this.i12(tc, $completion);
1804
- tmp.w5_1 = Unit_instance;
1805
- tmp.x5_1 = null;
1806
- return tmp.c6();
1782
+ protoOf(TileManager$cache$slambda).k13 = function (tc, $completion) {
1783
+ var tmp = this.l13(tc, $completion);
1784
+ tmp.i6_1 = Unit_instance;
1785
+ tmp.j6_1 = null;
1786
+ return tmp.o6();
1807
1787
  };
1808
- protoOf(TileManager$cache$slambda).k6 = function (p1, $completion) {
1809
- return this.h12(p1 instanceof TileCoordinates ? p1 : THROW_CCE(), $completion);
1788
+ protoOf(TileManager$cache$slambda).w6 = function (p1, $completion) {
1789
+ return this.k13(p1 instanceof TileCoordinates ? p1 : THROW_CCE(), $completion);
1810
1790
  };
1811
- protoOf(TileManager$cache$slambda).c6 = function () {
1812
- var suspendResult = this.w5_1;
1791
+ protoOf(TileManager$cache$slambda).o6 = function () {
1792
+ var suspendResult = this.i6_1;
1813
1793
  $sm: do
1814
1794
  try {
1815
- var tmp = this.u5_1;
1795
+ var tmp = this.g6_1;
1816
1796
  switch (tmp) {
1817
1797
  case 0:
1818
- this.v5_1 = 2;
1819
- this.u5_1 = 1;
1820
- suspendResult = this.f12_1.sx_1(buildUrl(this.f12_1, this.g12_1), this);
1798
+ this.h6_1 = 2;
1799
+ this.g6_1 = 1;
1800
+ suspendResult = this.i13_1.py_1(buildUrl(this.i13_1, this.j13_1), this);
1821
1801
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1822
1802
  return suspendResult;
1823
1803
  }
@@ -1827,60 +1807,58 @@
1827
1807
  var ARGUMENT = suspendResult;
1828
1808
  return Tile_init_$Create$(ARGUMENT);
1829
1809
  case 2:
1830
- throw this.x5_1;
1810
+ throw this.j6_1;
1831
1811
  }
1832
1812
  } catch ($p) {
1833
1813
  var e = $p;
1834
- if (this.v5_1 === 2) {
1814
+ if (this.h6_1 === 2) {
1835
1815
  throw e;
1836
1816
  } else {
1837
- this.u5_1 = this.v5_1;
1838
- this.x5_1 = e;
1817
+ this.g6_1 = this.h6_1;
1818
+ this.j6_1 = e;
1839
1819
  }
1840
1820
  }
1841
1821
  while (true);
1842
1822
  };
1843
- protoOf(TileManager$cache$slambda).i12 = function (tc, completion) {
1844
- var i = new TileManager$cache$slambda(this.f12_1, completion);
1845
- i.g12_1 = tc;
1823
+ protoOf(TileManager$cache$slambda).l13 = function (tc, completion) {
1824
+ var i = new TileManager$cache$slambda(this.i13_1, completion);
1825
+ i.j13_1 = tc;
1846
1826
  return i;
1847
1827
  };
1848
1828
  function TileManager$cache$slambda_0(this$0, resultContinuation) {
1849
1829
  var i = new TileManager$cache$slambda(this$0, resultContinuation);
1850
- var l = function (tc, $completion) {
1851
- return i.h12(tc, $completion);
1852
- };
1853
- l.$arity = 1;
1854
- return l;
1830
+ return constructCallableReference(function (tc, $completion) {
1831
+ return i.k13(tc, $completion);
1832
+ }, 1);
1855
1833
  }
1856
1834
  function TileManager(urlTemplate, cacheSize, fetcher) {
1857
1835
  var tmp;
1858
1836
  if (fetcher === VOID) {
1859
- tmp = fetchAndDecodeTile$ref_2();
1837
+ tmp = fetchAndDecodeTile$ref_1();
1860
1838
  } else {
1861
1839
  tmp = fetcher;
1862
1840
  }
1863
1841
  fetcher = tmp;
1864
- this.rx_1 = urlTemplate;
1865
- this.sx_1 = fetcher;
1842
+ this.oy_1 = urlTemplate;
1843
+ this.py_1 = fetcher;
1866
1844
  var tmp_0 = this;
1867
- tmp_0.tx_1 = new LruCache(cacheSize, TileManager$cache$slambda_0(this, null));
1845
+ tmp_0.qy_1 = new LruCache(cacheSize, TileManager$cache$slambda_0(this, null));
1868
1846
  }
1869
- protoOf(TileManager).ux = function (tileCoords, $completion) {
1870
- return this.tx_1.s11(tileCoords, $completion);
1847
+ protoOf(TileManager).ry = function (tileCoords, $completion) {
1848
+ return this.qy_1.s12(tileCoords, $completion);
1871
1849
  };
1872
1850
  function TileCoordinates(x, y, z) {
1873
- this.yt_1 = x;
1874
- this.zt_1 = y;
1875
- this.au_1 = z;
1851
+ this.vu_1 = x;
1852
+ this.wu_1 = y;
1853
+ this.xu_1 = z;
1876
1854
  }
1877
1855
  protoOf(TileCoordinates).toString = function () {
1878
- return 'TileCoordinates(x=' + this.yt_1 + ', y=' + this.zt_1 + ', z=' + this.au_1 + ')';
1856
+ return 'TileCoordinates(x=' + this.vu_1 + ', y=' + this.wu_1 + ', z=' + this.xu_1 + ')';
1879
1857
  };
1880
1858
  protoOf(TileCoordinates).hashCode = function () {
1881
- var result = this.yt_1;
1882
- result = imul(result, 31) + this.zt_1 | 0;
1883
- result = imul(result, 31) + this.au_1 | 0;
1859
+ var result = this.vu_1;
1860
+ result = imul(result, 31) + this.wu_1 | 0;
1861
+ result = imul(result, 31) + this.xu_1 | 0;
1884
1862
  return result;
1885
1863
  };
1886
1864
  protoOf(TileCoordinates).equals = function (other) {
@@ -1888,26 +1866,26 @@
1888
1866
  return true;
1889
1867
  if (!(other instanceof TileCoordinates))
1890
1868
  return false;
1891
- if (!(this.yt_1 === other.yt_1))
1869
+ if (!(this.vu_1 === other.vu_1))
1892
1870
  return false;
1893
- if (!(this.zt_1 === other.zt_1))
1871
+ if (!(this.wu_1 === other.wu_1))
1894
1872
  return false;
1895
- if (!(this.au_1 === other.au_1))
1873
+ if (!(this.xu_1 === other.xu_1))
1896
1874
  return false;
1897
1875
  return true;
1898
1876
  };
1899
1877
  function Pixel(tile, x, y) {
1900
- this.ox_1 = tile;
1901
- this.px_1 = x;
1902
- this.qx_1 = y;
1878
+ this.ly_1 = tile;
1879
+ this.my_1 = x;
1880
+ this.ny_1 = y;
1903
1881
  }
1904
1882
  protoOf(Pixel).toString = function () {
1905
- return 'Pixel(tile=' + this.ox_1.toString() + ', x=' + this.px_1 + ', y=' + this.qx_1 + ')';
1883
+ return 'Pixel(tile=' + this.ly_1.toString() + ', x=' + this.my_1 + ', y=' + this.ny_1 + ')';
1906
1884
  };
1907
1885
  protoOf(Pixel).hashCode = function () {
1908
- var result = this.ox_1.hashCode();
1909
- result = imul(result, 31) + this.px_1 | 0;
1910
- result = imul(result, 31) + this.qx_1 | 0;
1886
+ var result = this.ly_1.hashCode();
1887
+ result = imul(result, 31) + this.my_1 | 0;
1888
+ result = imul(result, 31) + this.ny_1 | 0;
1911
1889
  return result;
1912
1890
  };
1913
1891
  protoOf(Pixel).equals = function (other) {
@@ -1915,26 +1893,26 @@
1915
1893
  return true;
1916
1894
  if (!(other instanceof Pixel))
1917
1895
  return false;
1918
- if (!this.ox_1.equals(other.ox_1))
1896
+ if (!this.ly_1.equals(other.ly_1))
1919
1897
  return false;
1920
- if (!(this.px_1 === other.px_1))
1898
+ if (!(this.my_1 === other.my_1))
1921
1899
  return false;
1922
- if (!(this.qx_1 === other.qx_1))
1900
+ if (!(this.ny_1 === other.ny_1))
1923
1901
  return false;
1924
1902
  return true;
1925
1903
  };
1926
1904
  function PixelFloat(tile, x, y) {
1927
- this.kx_1 = tile;
1928
- this.lx_1 = x;
1929
- this.mx_1 = y;
1905
+ this.hy_1 = tile;
1906
+ this.iy_1 = x;
1907
+ this.jy_1 = y;
1930
1908
  }
1931
1909
  protoOf(PixelFloat).toString = function () {
1932
- return 'PixelFloat(tile=' + this.kx_1.toString() + ', x=' + this.lx_1 + ', y=' + this.mx_1 + ')';
1910
+ return 'PixelFloat(tile=' + this.hy_1.toString() + ', x=' + this.iy_1 + ', y=' + this.jy_1 + ')';
1933
1911
  };
1934
1912
  protoOf(PixelFloat).hashCode = function () {
1935
- var result = this.kx_1.hashCode();
1936
- result = imul(result, 31) + getNumberHashCode(this.lx_1) | 0;
1937
- result = imul(result, 31) + getNumberHashCode(this.mx_1) | 0;
1913
+ var result = this.hy_1.hashCode();
1914
+ result = imul(result, 31) + getNumberHashCode(this.iy_1) | 0;
1915
+ result = imul(result, 31) + getNumberHashCode(this.jy_1) | 0;
1938
1916
  return result;
1939
1917
  };
1940
1918
  protoOf(PixelFloat).equals = function (other) {
@@ -1942,30 +1920,30 @@
1942
1920
  return true;
1943
1921
  if (!(other instanceof PixelFloat))
1944
1922
  return false;
1945
- if (!this.kx_1.equals(other.kx_1))
1923
+ if (!this.hy_1.equals(other.hy_1))
1946
1924
  return false;
1947
- if (!equals(this.lx_1, other.lx_1))
1925
+ if (!equals(this.iy_1, other.iy_1))
1948
1926
  return false;
1949
- if (!equals(this.mx_1, other.mx_1))
1927
+ if (!equals(this.jy_1, other.jy_1))
1950
1928
  return false;
1951
1929
  return true;
1952
1930
  };
1953
1931
  function TileCoordinatesFloat(x, y, xFloat, yFloat, z) {
1954
- this.gy_1 = x;
1955
- this.hy_1 = y;
1956
- this.iy_1 = xFloat;
1957
- this.jy_1 = yFloat;
1958
- this.ky_1 = z;
1932
+ this.dz_1 = x;
1933
+ this.ez_1 = y;
1934
+ this.fz_1 = xFloat;
1935
+ this.gz_1 = yFloat;
1936
+ this.hz_1 = z;
1959
1937
  }
1960
1938
  protoOf(TileCoordinatesFloat).toString = function () {
1961
- return 'TileCoordinatesFloat(x=' + this.gy_1 + ', y=' + this.hy_1 + ', xFloat=' + this.iy_1 + ', yFloat=' + this.jy_1 + ', z=' + this.ky_1 + ')';
1939
+ return 'TileCoordinatesFloat(x=' + this.dz_1 + ', y=' + this.ez_1 + ', xFloat=' + this.fz_1 + ', yFloat=' + this.gz_1 + ', z=' + this.hz_1 + ')';
1962
1940
  };
1963
1941
  protoOf(TileCoordinatesFloat).hashCode = function () {
1964
- var result = this.gy_1;
1965
- result = imul(result, 31) + this.hy_1 | 0;
1966
- result = imul(result, 31) + getNumberHashCode(this.iy_1) | 0;
1967
- result = imul(result, 31) + getNumberHashCode(this.jy_1) | 0;
1968
- result = imul(result, 31) + this.ky_1 | 0;
1942
+ var result = this.dz_1;
1943
+ result = imul(result, 31) + this.ez_1 | 0;
1944
+ result = imul(result, 31) + getNumberHashCode(this.fz_1) | 0;
1945
+ result = imul(result, 31) + getNumberHashCode(this.gz_1) | 0;
1946
+ result = imul(result, 31) + this.hz_1 | 0;
1969
1947
  return result;
1970
1948
  };
1971
1949
  protoOf(TileCoordinatesFloat).equals = function (other) {
@@ -1973,21 +1951,21 @@
1973
1951
  return true;
1974
1952
  if (!(other instanceof TileCoordinatesFloat))
1975
1953
  return false;
1976
- if (!(this.gy_1 === other.gy_1))
1954
+ if (!(this.dz_1 === other.dz_1))
1977
1955
  return false;
1978
- if (!(this.hy_1 === other.hy_1))
1956
+ if (!(this.ez_1 === other.ez_1))
1979
1957
  return false;
1980
- if (!equals(this.iy_1, other.iy_1))
1958
+ if (!equals(this.fz_1, other.fz_1))
1981
1959
  return false;
1982
- if (!equals(this.jy_1, other.jy_1))
1960
+ if (!equals(this.gz_1, other.gz_1))
1983
1961
  return false;
1984
- if (!(this.ky_1 === other.ky_1))
1962
+ if (!(this.hz_1 === other.hz_1))
1985
1963
  return false;
1986
1964
  return true;
1987
1965
  };
1988
1966
  function Companion_0() {
1989
1967
  Companion_instance_0 = this;
1990
- this.j12_1 = new Vector3D(0.0, 0.0, 0.0);
1968
+ this.m13_1 = new Vector3D(0.0, 0.0, 0.0);
1991
1969
  }
1992
1970
  var Companion_instance_0;
1993
1971
  function Companion_getInstance_0() {
@@ -1997,49 +1975,49 @@
1997
1975
  }
1998
1976
  function Vector3D(x, y, z) {
1999
1977
  Companion_getInstance_0();
2000
- this.lv_1 = x;
2001
- this.mv_1 = y;
2002
- this.nv_1 = z;
1978
+ this.iw_1 = x;
1979
+ this.jw_1 = y;
1980
+ this.kw_1 = z;
2003
1981
  }
2004
- protoOf(Vector3D).k12 = function (other) {
2005
- var tmp0 = this.lv_1 - other.lv_1;
1982
+ protoOf(Vector3D).n13 = function (other) {
1983
+ var tmp0 = this.iw_1 - other.iw_1;
2006
1984
  // Inline function 'kotlin.math.hypot' call
2007
- var y = this.mv_1 - other.mv_1;
1985
+ var y = this.jw_1 - other.jw_1;
2008
1986
  var tmp0_0 = hypot(tmp0, y);
2009
1987
  // Inline function 'kotlin.math.hypot' call
2010
- var y_0 = this.nv_1 - other.nv_1;
1988
+ var y_0 = this.kw_1 - other.kw_1;
2011
1989
  return hypot(tmp0_0, y_0);
2012
1990
  };
2013
- protoOf(Vector3D).l12 = function (other) {
2014
- return new Vector3D(this.lv_1 - other.lv_1, this.mv_1 - other.mv_1, this.nv_1 - other.nv_1);
1991
+ protoOf(Vector3D).o13 = function (other) {
1992
+ return new Vector3D(this.iw_1 - other.iw_1, this.jw_1 - other.jw_1, this.kw_1 - other.kw_1);
2015
1993
  };
2016
- protoOf(Vector3D).m12 = function (other) {
2017
- return new Vector3D(this.lv_1 + other.lv_1, this.mv_1 + other.mv_1, this.nv_1 + other.nv_1);
1994
+ protoOf(Vector3D).p13 = function (other) {
1995
+ return new Vector3D(this.iw_1 + other.iw_1, this.jw_1 + other.jw_1, this.kw_1 + other.kw_1);
2018
1996
  };
2019
- protoOf(Vector3D).n12 = function (scalar) {
2020
- return new Vector3D(this.lv_1 * scalar, this.mv_1 * scalar, this.nv_1 * scalar);
1997
+ protoOf(Vector3D).q13 = function (scalar) {
1998
+ return new Vector3D(this.iw_1 * scalar, this.jw_1 * scalar, this.kw_1 * scalar);
2021
1999
  };
2022
- protoOf(Vector3D).o12 = function (other) {
2023
- return this.lv_1 * other.lv_1 + this.mv_1 * other.mv_1 + this.nv_1 * other.nv_1;
2000
+ protoOf(Vector3D).r13 = function (other) {
2001
+ return this.iw_1 * other.iw_1 + this.jw_1 * other.jw_1 + this.kw_1 * other.kw_1;
2024
2002
  };
2025
- protoOf(Vector3D).ov = function (segmentStart, segmentEnd) {
2026
- var segmentVector = segmentEnd.l12(segmentStart);
2027
- var segmentLengthSq = segmentVector.o12(segmentVector);
2003
+ protoOf(Vector3D).lw = function (segmentStart, segmentEnd) {
2004
+ var segmentVector = segmentEnd.o13(segmentStart);
2005
+ var segmentLengthSq = segmentVector.r13(segmentVector);
2028
2006
  if (segmentLengthSq === 0.0)
2029
- return this.k12(segmentStart);
2030
- var pointVector = this.l12(segmentStart);
2031
- var projection = pointVector.o12(segmentVector) / segmentLengthSq;
2007
+ return this.n13(segmentStart);
2008
+ var pointVector = this.o13(segmentStart);
2009
+ var projection = pointVector.r13(segmentVector) / segmentLengthSq;
2032
2010
  var clamped = coerceIn_0(projection, 0.0, 1.0);
2033
- var closest = segmentStart.m12(segmentVector.n12(clamped));
2034
- return this.k12(closest);
2011
+ var closest = segmentStart.p13(segmentVector.q13(clamped));
2012
+ return this.n13(closest);
2035
2013
  };
2036
2014
  protoOf(Vector3D).toString = function () {
2037
- return 'Vector3D(x=' + this.lv_1 + ', y=' + this.mv_1 + ', z=' + this.nv_1 + ')';
2015
+ return 'Vector3D(x=' + this.iw_1 + ', y=' + this.jw_1 + ', z=' + this.kw_1 + ')';
2038
2016
  };
2039
2017
  protoOf(Vector3D).hashCode = function () {
2040
- var result = getNumberHashCode(this.lv_1);
2041
- result = imul(result, 31) + getNumberHashCode(this.mv_1) | 0;
2042
- result = imul(result, 31) + getNumberHashCode(this.nv_1) | 0;
2018
+ var result = getNumberHashCode(this.iw_1);
2019
+ result = imul(result, 31) + getNumberHashCode(this.jw_1) | 0;
2020
+ result = imul(result, 31) + getNumberHashCode(this.kw_1) | 0;
2043
2021
  return result;
2044
2022
  };
2045
2023
  protoOf(Vector3D).equals = function (other) {
@@ -2047,24 +2025,24 @@
2047
2025
  return true;
2048
2026
  if (!(other instanceof Vector3D))
2049
2027
  return false;
2050
- if (!equals(this.lv_1, other.lv_1))
2028
+ if (!equals(this.iw_1, other.iw_1))
2051
2029
  return false;
2052
- if (!equals(this.mv_1, other.mv_1))
2030
+ if (!equals(this.jw_1, other.jw_1))
2053
2031
  return false;
2054
- if (!equals(this.nv_1, other.nv_1))
2032
+ if (!equals(this.kw_1, other.kw_1))
2055
2033
  return false;
2056
2034
  return true;
2057
2035
  };
2058
2036
  function newElevationProvider(configDto) {
2059
2037
  var defaults = new ElevationProviderConfig();
2060
2038
  var tmp1_elvis_lhs = configDto == null ? null : configDto.zoomLevel;
2061
- var tmp = tmp1_elvis_lhs == null ? defaults.qy_1 : tmp1_elvis_lhs;
2039
+ var tmp = tmp1_elvis_lhs == null ? defaults.qz_1 : tmp1_elvis_lhs;
2062
2040
  var tmp3_elvis_lhs = configDto == null ? null : configDto.cacheSize;
2063
- var tmp_0 = tmp3_elvis_lhs == null ? defaults.ry_1 : tmp3_elvis_lhs;
2041
+ var tmp_0 = tmp3_elvis_lhs == null ? defaults.rz_1 : tmp3_elvis_lhs;
2064
2042
  var tmp5_elvis_lhs = configDto == null ? null : configDto.tileUrlTemplate;
2065
- var tmp_1 = tmp5_elvis_lhs == null ? defaults.sy_1 : tmp5_elvis_lhs;
2043
+ var tmp_1 = tmp5_elvis_lhs == null ? defaults.sz_1 : tmp5_elvis_lhs;
2066
2044
  var tmp7_elvis_lhs = configDto == null ? null : configDto.tileSize;
2067
- var cfg = new ElevationProviderConfig(tmp, tmp_0, tmp_1, tmp7_elvis_lhs == null ? defaults.ty_1 : tmp7_elvis_lhs, defaults.uy_1);
2045
+ var cfg = new ElevationProviderConfig(tmp, tmp_0, tmp_1, tmp7_elvis_lhs == null ? defaults.tz_1 : tmp7_elvis_lhs, defaults.uz_1);
2068
2046
  return new ElevationProvider(cfg);
2069
2047
  }
2070
2048
  function getElevation(provider, latitude, longitude, interpolation) {
@@ -2090,31 +2068,31 @@
2090
2068
  return o;
2091
2069
  }
2092
2070
  function getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation) {
2093
- this.x12_1 = $provider;
2094
- this.y12_1 = $latitude;
2095
- this.z12_1 = $longitude;
2096
- this.a13_1 = $interpolation;
2071
+ this.a14_1 = $provider;
2072
+ this.b14_1 = $latitude;
2073
+ this.c14_1 = $longitude;
2074
+ this.d14_1 = $interpolation;
2097
2075
  CoroutineImpl.call(this, resultContinuation);
2098
2076
  }
2099
- protoOf(getElevation$slambda).c13 = function ($this$promise, $completion) {
2100
- var tmp = this.qz($this$promise, $completion);
2101
- tmp.w5_1 = Unit_instance;
2102
- tmp.x5_1 = null;
2103
- return tmp.c6();
2077
+ protoOf(getElevation$slambda).f14 = function ($this$promise, $completion) {
2078
+ var tmp = this.q10($this$promise, $completion);
2079
+ tmp.i6_1 = Unit_instance;
2080
+ tmp.j6_1 = null;
2081
+ return tmp.o6();
2104
2082
  };
2105
- protoOf(getElevation$slambda).k6 = function (p1, $completion) {
2106
- return this.c13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2083
+ protoOf(getElevation$slambda).w6 = function (p1, $completion) {
2084
+ return this.f14((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2107
2085
  };
2108
- protoOf(getElevation$slambda).c6 = function () {
2109
- var suspendResult = this.w5_1;
2086
+ protoOf(getElevation$slambda).o6 = function () {
2087
+ var suspendResult = this.i6_1;
2110
2088
  $sm: do
2111
2089
  try {
2112
- var tmp = this.u5_1;
2090
+ var tmp = this.g6_1;
2113
2091
  switch (tmp) {
2114
2092
  case 0:
2115
- this.v5_1 = 2;
2116
- this.u5_1 = 1;
2117
- suspendResult = this.x12_1.vy(this.y12_1, this.z12_1, this.a13_1, this);
2093
+ this.h6_1 = 2;
2094
+ this.g6_1 = 1;
2095
+ suspendResult = this.a14_1.vz(this.b14_1, this.c14_1, this.d14_1, this);
2118
2096
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2119
2097
  return suspendResult;
2120
2098
  }
@@ -2123,82 +2101,80 @@
2123
2101
  case 1:
2124
2102
  return suspendResult;
2125
2103
  case 2:
2126
- throw this.x5_1;
2104
+ throw this.j6_1;
2127
2105
  }
2128
2106
  } catch ($p) {
2129
2107
  var e = $p;
2130
- if (this.v5_1 === 2) {
2108
+ if (this.h6_1 === 2) {
2131
2109
  throw e;
2132
2110
  } else {
2133
- this.u5_1 = this.v5_1;
2134
- this.x5_1 = e;
2111
+ this.g6_1 = this.h6_1;
2112
+ this.j6_1 = e;
2135
2113
  }
2136
2114
  }
2137
2115
  while (true);
2138
2116
  };
2139
- protoOf(getElevation$slambda).qz = function ($this$promise, completion) {
2140
- var i = new getElevation$slambda(this.x12_1, this.y12_1, this.z12_1, this.a13_1, completion);
2141
- i.b13_1 = $this$promise;
2117
+ protoOf(getElevation$slambda).q10 = function ($this$promise, completion) {
2118
+ var i = new getElevation$slambda(this.a14_1, this.b14_1, this.c14_1, this.d14_1, completion);
2119
+ i.e14_1 = $this$promise;
2142
2120
  return i;
2143
2121
  };
2144
2122
  function getElevation$slambda_0($provider, $latitude, $longitude, $interpolation, resultContinuation) {
2145
2123
  var i = new getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation);
2146
- var l = function ($this$promise, $completion) {
2147
- return i.c13($this$promise, $completion);
2148
- };
2149
- l.$arity = 1;
2150
- return l;
2124
+ return constructCallableReference(function ($this$promise, $completion) {
2125
+ return i.f14($this$promise, $completion);
2126
+ }, 1);
2151
2127
  }
2152
2128
  function getElevationsAlong$slambda($path, $provider, $options, resultContinuation) {
2153
- this.l13_1 = $path;
2154
- this.m13_1 = $provider;
2155
- this.n13_1 = $options;
2129
+ this.o14_1 = $path;
2130
+ this.p14_1 = $provider;
2131
+ this.q14_1 = $options;
2156
2132
  CoroutineImpl.call(this, resultContinuation);
2157
2133
  }
2158
- protoOf(getElevationsAlong$slambda).p13 = function ($this$promise, $completion) {
2159
- var tmp = this.qz($this$promise, $completion);
2160
- tmp.w5_1 = Unit_instance;
2161
- tmp.x5_1 = null;
2162
- return tmp.c6();
2134
+ protoOf(getElevationsAlong$slambda).s14 = function ($this$promise, $completion) {
2135
+ var tmp = this.q10($this$promise, $completion);
2136
+ tmp.i6_1 = Unit_instance;
2137
+ tmp.j6_1 = null;
2138
+ return tmp.o6();
2163
2139
  };
2164
- protoOf(getElevationsAlong$slambda).k6 = function (p1, $completion) {
2165
- return this.p13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2140
+ protoOf(getElevationsAlong$slambda).w6 = function (p1, $completion) {
2141
+ return this.s14((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2166
2142
  };
2167
- protoOf(getElevationsAlong$slambda).c6 = function () {
2168
- var suspendResult = this.w5_1;
2143
+ protoOf(getElevationsAlong$slambda).o6 = function () {
2144
+ var suspendResult = this.i6_1;
2169
2145
  $sm: do
2170
2146
  try {
2171
- var tmp = this.u5_1;
2147
+ var tmp = this.g6_1;
2172
2148
  switch (tmp) {
2173
2149
  case 0:
2174
- this.v5_1 = 2;
2175
- var this_0 = this.l13_1;
2150
+ this.h6_1 = 2;
2151
+ var this_0 = this.o14_1;
2176
2152
  var destination = ArrayList_init_$Create$_0(this_0.length);
2177
2153
  var inductionVariable = 0;
2178
2154
  var last = this_0.length;
2179
2155
  while (inductionVariable < last) {
2180
2156
  var item = this_0[inductionVariable];
2181
2157
  inductionVariable = inductionVariable + 1 | 0;
2182
- destination.h(new LatLon(item.latitude, item.longitude));
2158
+ destination.n(new LatLon(item.latitude, item.longitude));
2183
2159
  }
2184
2160
 
2185
2161
  var coords = destination;
2186
- this.u5_1 = 1;
2187
- var tmp0_safe_receiver = this.n13_1;
2162
+ this.g6_1 = 1;
2163
+ var tmp0_safe_receiver = this.q14_1;
2188
2164
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.step;
2189
2165
  var tmp_0 = tmp1_elvis_lhs == null ? 10.0 : tmp1_elvis_lhs;
2190
- var tmp2_safe_receiver = this.n13_1;
2166
+ var tmp2_safe_receiver = this.q14_1;
2191
2167
  var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.minDistance;
2192
2168
  var tmp_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
2193
- var tmp4_safe_receiver = this.n13_1;
2169
+ var tmp4_safe_receiver = this.q14_1;
2194
2170
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.interpolation;
2195
2171
  var tmp_2 = tmp5_elvis_lhs == null ? true : tmp5_elvis_lhs;
2196
- var tmp6_safe_receiver = this.n13_1;
2172
+ var tmp6_safe_receiver = this.q14_1;
2197
2173
  var tmp7_safe_receiver = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.smoothingOptions;
2198
2174
  var tmp_3 = tmp7_safe_receiver == null ? null : toKotlin(tmp7_safe_receiver);
2199
- var tmp8_safe_receiver = this.n13_1;
2175
+ var tmp8_safe_receiver = this.q14_1;
2200
2176
  var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.filterOptions;
2201
- suspendResult = this.m13_1.yy(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
2177
+ suspendResult = this.p14_1.yz(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
2202
2178
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2203
2179
  return suspendResult;
2204
2180
  }
@@ -2207,42 +2183,40 @@
2207
2183
  case 1:
2208
2184
  var results = suspendResult;
2209
2185
  var tmp_4 = 0;
2210
- var tmp_5 = results.l();
2186
+ var tmp_5 = results.k();
2211
2187
  var tmp_6 = Array(tmp_5);
2212
2188
  while (tmp_4 < tmp_5) {
2213
2189
  var tmp_7 = tmp_4;
2214
- var c = results.m(tmp_7);
2215
- tmp_6[tmp_7] = coordsEle(c.ht(), c.it(), c.fv());
2190
+ var c = results.l(tmp_7);
2191
+ tmp_6[tmp_7] = coordsEle(c.eu(), c.fu(), c.cw());
2216
2192
  tmp_4 = tmp_4 + 1 | 0;
2217
2193
  }
2218
2194
 
2219
2195
  return tmp_6;
2220
2196
  case 2:
2221
- throw this.x5_1;
2197
+ throw this.j6_1;
2222
2198
  }
2223
2199
  } catch ($p) {
2224
2200
  var e = $p;
2225
- if (this.v5_1 === 2) {
2201
+ if (this.h6_1 === 2) {
2226
2202
  throw e;
2227
2203
  } else {
2228
- this.u5_1 = this.v5_1;
2229
- this.x5_1 = e;
2204
+ this.g6_1 = this.h6_1;
2205
+ this.j6_1 = e;
2230
2206
  }
2231
2207
  }
2232
2208
  while (true);
2233
2209
  };
2234
- protoOf(getElevationsAlong$slambda).qz = function ($this$promise, completion) {
2235
- var i = new getElevationsAlong$slambda(this.l13_1, this.m13_1, this.n13_1, completion);
2236
- i.o13_1 = $this$promise;
2210
+ protoOf(getElevationsAlong$slambda).q10 = function ($this$promise, completion) {
2211
+ var i = new getElevationsAlong$slambda(this.o14_1, this.p14_1, this.q14_1, completion);
2212
+ i.r14_1 = $this$promise;
2237
2213
  return i;
2238
2214
  };
2239
2215
  function getElevationsAlong$slambda_0($path, $provider, $options, resultContinuation) {
2240
2216
  var i = new getElevationsAlong$slambda($path, $provider, $options, resultContinuation);
2241
- var l = function ($this$promise, $completion) {
2242
- return i.p13($this$promise, $completion);
2243
- };
2244
- l.$arity = 1;
2245
- return l;
2217
+ return constructCallableReference(function ($this$promise, $completion) {
2218
+ return i.s14($this$promise, $completion);
2219
+ }, 1);
2246
2220
  }
2247
2221
  function get_isNode() {
2248
2222
  _init_properties_TileFetcher_js_kt__7a2f1e();
@@ -2255,26 +2229,26 @@
2255
2229
  var tmp = KProperty0;
2256
2230
  // Inline function 'kotlin.getValue' call
2257
2231
  getPropertyCallableRef('nodeWebpDecoderPromise', 0, tmp, _get_nodeWebpDecoderPromise_$ref_s562t(), null);
2258
- return tmp0.f1();
2232
+ return tmp0.h1();
2259
2233
  }
2260
2234
  var nodeWebpDecoderPromise$delegate;
2261
2235
  function fetchAndDecodeTile(url, $completion) {
2262
2236
  var tmp = new $fetchAndDecodeTileCOROUTINE$(url, $completion);
2263
- tmp.w5_1 = Unit_instance;
2264
- tmp.x5_1 = null;
2265
- return tmp.c6();
2237
+ tmp.i6_1 = Unit_instance;
2238
+ tmp.j6_1 = null;
2239
+ return tmp.o6();
2266
2240
  }
2267
2241
  function decodeNode(url, $completion) {
2268
2242
  var tmp = new $decodeNodeCOROUTINE$(url, $completion);
2269
- tmp.w5_1 = Unit_instance;
2270
- tmp.x5_1 = null;
2271
- return tmp.c6();
2243
+ tmp.i6_1 = Unit_instance;
2244
+ tmp.j6_1 = null;
2245
+ return tmp.o6();
2272
2246
  }
2273
2247
  function decodeBrowser(url, $completion) {
2274
2248
  var tmp = new $decodeBrowserCOROUTINE$(url, $completion);
2275
- tmp.w5_1 = Unit_instance;
2276
- tmp.x5_1 = null;
2277
- return tmp.c6();
2249
+ tmp.i6_1 = Unit_instance;
2250
+ tmp.j6_1 = null;
2251
+ return tmp.o6();
2278
2252
  }
2279
2253
  function fetchUrlNode(url) {
2280
2254
  _init_properties_TileFetcher_js_kt__7a2f1e();
@@ -2288,9 +2262,9 @@
2288
2262
  }
2289
2263
  function decodeWebpNode(buffer, $completion) {
2290
2264
  var tmp = new $decodeWebpNodeCOROUTINE$(buffer, $completion);
2291
- tmp.w5_1 = Unit_instance;
2292
- tmp.x5_1 = null;
2293
- return tmp.c6();
2265
+ tmp.i6_1 = Unit_instance;
2266
+ tmp.j6_1 = null;
2267
+ return tmp.o6();
2294
2268
  }
2295
2269
  function fetchUrlBrowser(url) {
2296
2270
  _init_properties_TileFetcher_js_kt__7a2f1e();
@@ -2316,32 +2290,32 @@
2316
2290
  }();
2317
2291
  }
2318
2292
  function _get_nodeWebpDecoderPromise_$ref_s562t() {
2319
- return function () {
2293
+ return constructCallableReference(function () {
2320
2294
  return get_nodeWebpDecoderPromise();
2321
- };
2295
+ }, 0, 0, 3);
2322
2296
  }
2323
2297
  function $fetchAndDecodeTileCOROUTINE$(url, resultContinuation) {
2324
2298
  CoroutineImpl.call(this, resultContinuation);
2325
- this.y13_1 = url;
2299
+ this.b15_1 = url;
2326
2300
  }
2327
- protoOf($fetchAndDecodeTileCOROUTINE$).c6 = function () {
2328
- var suspendResult = this.w5_1;
2301
+ protoOf($fetchAndDecodeTileCOROUTINE$).o6 = function () {
2302
+ var suspendResult = this.i6_1;
2329
2303
  $sm: do
2330
2304
  try {
2331
- var tmp = this.u5_1;
2305
+ var tmp = this.g6_1;
2332
2306
  switch (tmp) {
2333
2307
  case 0:
2334
- this.v5_1 = 4;
2308
+ this.h6_1 = 4;
2335
2309
  if (get_isNode()) {
2336
- this.u5_1 = 2;
2337
- suspendResult = decodeNode(this.y13_1, this);
2310
+ this.g6_1 = 2;
2311
+ suspendResult = decodeNode(this.b15_1, this);
2338
2312
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2339
2313
  return suspendResult;
2340
2314
  }
2341
2315
  continue $sm;
2342
2316
  } else {
2343
- this.u5_1 = 1;
2344
- suspendResult = decodeBrowser(this.y13_1, this);
2317
+ this.g6_1 = 1;
2318
+ suspendResult = decodeBrowser(this.b15_1, this);
2345
2319
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2346
2320
  return suspendResult;
2347
2321
  }
@@ -2349,43 +2323,43 @@
2349
2323
  }
2350
2324
 
2351
2325
  case 1:
2352
- this.z13_1 = suspendResult;
2353
- this.u5_1 = 3;
2326
+ this.c15_1 = suspendResult;
2327
+ this.g6_1 = 3;
2354
2328
  continue $sm;
2355
2329
  case 2:
2356
- this.z13_1 = suspendResult;
2357
- this.u5_1 = 3;
2330
+ this.c15_1 = suspendResult;
2331
+ this.g6_1 = 3;
2358
2332
  continue $sm;
2359
2333
  case 3:
2360
- return this.z13_1;
2334
+ return this.c15_1;
2361
2335
  case 4:
2362
- throw this.x5_1;
2336
+ throw this.j6_1;
2363
2337
  }
2364
2338
  } catch ($p) {
2365
2339
  var e = $p;
2366
- if (this.v5_1 === 4) {
2340
+ if (this.h6_1 === 4) {
2367
2341
  throw e;
2368
2342
  } else {
2369
- this.u5_1 = this.v5_1;
2370
- this.x5_1 = e;
2343
+ this.g6_1 = this.h6_1;
2344
+ this.j6_1 = e;
2371
2345
  }
2372
2346
  }
2373
2347
  while (true);
2374
2348
  };
2375
2349
  function $decodeNodeCOROUTINE$(url, resultContinuation) {
2376
2350
  CoroutineImpl.call(this, resultContinuation);
2377
- this.i14_1 = url;
2351
+ this.l15_1 = url;
2378
2352
  }
2379
- protoOf($decodeNodeCOROUTINE$).c6 = function () {
2380
- var suspendResult = this.w5_1;
2353
+ protoOf($decodeNodeCOROUTINE$).o6 = function () {
2354
+ var suspendResult = this.i6_1;
2381
2355
  $sm: do
2382
2356
  try {
2383
- var tmp = this.u5_1;
2357
+ var tmp = this.g6_1;
2384
2358
  switch (tmp) {
2385
2359
  case 0:
2386
- this.v5_1 = 4;
2387
- this.u5_1 = 1;
2388
- suspendResult = await_0(fetchUrlNode(this.i14_1), this);
2360
+ this.h6_1 = 4;
2361
+ this.g6_1 = 1;
2362
+ suspendResult = await_0(fetchUrlNode(this.l15_1), this);
2389
2363
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2390
2364
  return suspendResult;
2391
2365
  }
@@ -2394,11 +2368,11 @@
2394
2368
  case 1:
2395
2369
  var res = suspendResult;
2396
2370
  if (!res.ok) {
2397
- var message = 'Tile fetch failed for ' + this.i14_1 + ': HTTP ' + res.status;
2371
+ var message = 'Tile fetch failed for ' + this.l15_1 + ': HTTP ' + res.status;
2398
2372
  throw IllegalStateException_init_$Create$_0(toString(message));
2399
2373
  }
2400
2374
 
2401
- this.u5_1 = 2;
2375
+ this.g6_1 = 2;
2402
2376
  suspendResult = await_0(responseArrayBuffer(res), this);
2403
2377
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2404
2378
  return suspendResult;
@@ -2407,7 +2381,7 @@
2407
2381
  continue $sm;
2408
2382
  case 2:
2409
2383
  var ab = suspendResult;
2410
- this.u5_1 = 3;
2384
+ this.g6_1 = 3;
2411
2385
  suspendResult = decodeWebpNode(ab, this);
2412
2386
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2413
2387
  return suspendResult;
@@ -2429,33 +2403,33 @@
2429
2403
  var rgba = int8;
2430
2404
  return new RawTile(width, height, rgba);
2431
2405
  case 4:
2432
- throw this.x5_1;
2406
+ throw this.j6_1;
2433
2407
  }
2434
2408
  } catch ($p) {
2435
2409
  var e = $p;
2436
- if (this.v5_1 === 4) {
2410
+ if (this.h6_1 === 4) {
2437
2411
  throw e;
2438
2412
  } else {
2439
- this.u5_1 = this.v5_1;
2440
- this.x5_1 = e;
2413
+ this.g6_1 = this.h6_1;
2414
+ this.j6_1 = e;
2441
2415
  }
2442
2416
  }
2443
2417
  while (true);
2444
2418
  };
2445
2419
  function $decodeBrowserCOROUTINE$(url, resultContinuation) {
2446
2420
  CoroutineImpl.call(this, resultContinuation);
2447
- this.r14_1 = url;
2421
+ this.u15_1 = url;
2448
2422
  }
2449
- protoOf($decodeBrowserCOROUTINE$).c6 = function () {
2450
- var suspendResult = this.w5_1;
2423
+ protoOf($decodeBrowserCOROUTINE$).o6 = function () {
2424
+ var suspendResult = this.i6_1;
2451
2425
  $sm: do
2452
2426
  try {
2453
- var tmp = this.u5_1;
2427
+ var tmp = this.g6_1;
2454
2428
  switch (tmp) {
2455
2429
  case 0:
2456
- this.v5_1 = 4;
2457
- this.u5_1 = 1;
2458
- suspendResult = await_0(fetchUrlBrowser(this.r14_1), this);
2430
+ this.h6_1 = 4;
2431
+ this.g6_1 = 1;
2432
+ suspendResult = await_0(fetchUrlBrowser(this.u15_1), this);
2459
2433
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2460
2434
  return suspendResult;
2461
2435
  }
@@ -2464,11 +2438,11 @@
2464
2438
  case 1:
2465
2439
  var res = suspendResult;
2466
2440
  if (!res.ok) {
2467
- var message = 'Tile fetch failed for ' + this.r14_1 + ': HTTP ' + res.status;
2441
+ var message = 'Tile fetch failed for ' + this.u15_1 + ': HTTP ' + res.status;
2468
2442
  throw IllegalStateException_init_$Create$_0(toString(message));
2469
2443
  }
2470
2444
 
2471
- this.u5_1 = 2;
2445
+ this.g6_1 = 2;
2472
2446
  suspendResult = await_0(res.blob(), this);
2473
2447
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2474
2448
  return suspendResult;
@@ -2477,7 +2451,7 @@
2477
2451
  continue $sm;
2478
2452
  case 2:
2479
2453
  var blob = suspendResult;
2480
- this.u5_1 = 3;
2454
+ this.g6_1 = 3;
2481
2455
  suspendResult = await_0(window.createImageBitmap(blob), this);
2482
2456
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2483
2457
  return suspendResult;
@@ -2520,32 +2494,32 @@
2520
2494
  bitmap.close();
2521
2495
  return Unit_instance;
2522
2496
  case 4:
2523
- throw this.x5_1;
2497
+ throw this.j6_1;
2524
2498
  }
2525
- } catch ($p) {
2526
- var e = $p;
2527
- if (this.v5_1 === 4) {
2499
+ } catch ($p_0) {
2500
+ var e = $p_0;
2501
+ if (this.h6_1 === 4) {
2528
2502
  throw e;
2529
2503
  } else {
2530
- this.u5_1 = this.v5_1;
2531
- this.x5_1 = e;
2504
+ this.g6_1 = this.h6_1;
2505
+ this.j6_1 = e;
2532
2506
  }
2533
2507
  }
2534
2508
  while (true);
2535
2509
  };
2536
2510
  function $decodeWebpNodeCOROUTINE$(buffer, resultContinuation) {
2537
2511
  CoroutineImpl.call(this, resultContinuation);
2538
- this.a15_1 = buffer;
2512
+ this.d16_1 = buffer;
2539
2513
  }
2540
- protoOf($decodeWebpNodeCOROUTINE$).c6 = function () {
2541
- var suspendResult = this.w5_1;
2514
+ protoOf($decodeWebpNodeCOROUTINE$).o6 = function () {
2515
+ var suspendResult = this.i6_1;
2542
2516
  $sm: do
2543
2517
  try {
2544
- var tmp = this.u5_1;
2518
+ var tmp = this.g6_1;
2545
2519
  switch (tmp) {
2546
2520
  case 0:
2547
- this.v5_1 = 3;
2548
- this.u5_1 = 1;
2521
+ this.h6_1 = 3;
2522
+ this.g6_1 = 1;
2549
2523
  suspendResult = await_0(get_nodeWebpDecoderPromise(), this);
2550
2524
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2551
2525
  return suspendResult;
@@ -2554,8 +2528,8 @@
2554
2528
  continue $sm;
2555
2529
  case 1:
2556
2530
  var decode = suspendResult;
2557
- var resultPromise = decode(this.a15_1);
2558
- this.u5_1 = 2;
2531
+ var resultPromise = decode(this.d16_1);
2532
+ this.g6_1 = 2;
2559
2533
  suspendResult = await_0(resultPromise, this);
2560
2534
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2561
2535
  return suspendResult;
@@ -2565,15 +2539,15 @@
2565
2539
  case 2:
2566
2540
  return suspendResult;
2567
2541
  case 3:
2568
- throw this.x5_1;
2542
+ throw this.j6_1;
2569
2543
  }
2570
2544
  } catch ($p) {
2571
2545
  var e = $p;
2572
- if (this.v5_1 === 3) {
2546
+ if (this.h6_1 === 3) {
2573
2547
  throw e;
2574
2548
  } else {
2575
- this.u5_1 = this.v5_1;
2576
- this.x5_1 = e;
2549
+ this.g6_1 = this.h6_1;
2550
+ this.j6_1 = e;
2577
2551
  }
2578
2552
  }
2579
2553
  while (true);
@@ -2587,6 +2561,12 @@
2587
2561
  nodeWebpDecoderPromise$delegate = lazy(nodeWebpDecoderPromise$delegate$lambda);
2588
2562
  }
2589
2563
  }
2564
+ function fetchAndDecodeTile$ref_1() {
2565
+ var i = new fetchAndDecodeTile$ref();
2566
+ return constructCallableReference(function (p0, $completion) {
2567
+ return i.lz(p0, $completion);
2568
+ }, 1, 1, 2, 'fetchAndDecodeTile');
2569
+ }
2590
2570
  //region block: init
2591
2571
  Distance_instance = new Distance();
2592
2572
  DouglasPeucker_instance = new DouglasPeucker();